id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
listlengths
768
768
http://arxiv.org/abs/2404.08888v1
http://arxiv.org/pdf/2404.08888v1
Towards Enhancing Health Coaching Dialogue in Low-Resource Settings
2024-04-13T03:23:15
2024-04-13T03:23:15
Yue Zhou, Barbara Di Eugenio, Brian Ziebart, Lisa Sharp, Bing Liu, Ben Gerber, Nikolaos Agadakos, Shweta Yadav
cs.CL
cs.CL, cs.LG
Health coaching helps patients identify and accomplish lifestyle-related goals, effectively improving the control of chronic diseases and mitigating mental health conditions. However, health coaching is cost-prohibitive due to its highly personalized and labor-intensive nature. In this paper, we propose to build a dialogue system that converses with the patients, helps them create and accomplish specific goals, and can address their emotions with empathy. However, building such a system is challenging since real-world health coaching datasets are limited and empathy is subtle. Thus, we propose a modularized health coaching dialogue system with simplified NLU and NLG frameworks combined with mechanism-conditioned empathetic response generation. Through automatic and human evaluation, we show that our system generates more empathetic, fluent, and coherent responses and outperforms the state-of-the-art in NLU tasks while requiring less annotation. We view our approach as a key step towards building automated and more accessible health coaching systems.
[ -0.2404587418, -0.6791655421, 0.5245808363, 0.1579389274, -0.1611412168, -0.001199682, -0.2353628576, -0.4429296851, 0.7814967632, 0.0759085193, -0.9712179303, -0.4027722478, -0.4971312284, 0.319927007, 0.6253682375, 0.7881180048, 0.2789875865, 0.412422359, 0.1024477854, -0.4392054081, -0.5278289318, -0.1716169119, -1.0245480537, -0.4315330386, 0.5327882767, 0.5279842615, 0.6033417583, 0.2887541652, 0.4639692008, 0.2966884673, -0.0292131361, 0.530762136, -0.2961005867, 0.4769569635, -0.0134489695, -0.367349267, -1.0937845707, -0.2138584852, -0.106297344, 0.6290128231, -0.3493267, 0.2024418861, 0.1849580854, 0.6305988431, -0.3939929008, 0.3018031716, -0.3182419837, 0.5605802536, 0.3449435532, -0.2726197541, -0.0275694449, -0.1348293275, 0.0634894967, -0.7404636741, -0.1386431903, 0.1381089687, 0.2511819601, 0.6933905482, -0.2285400778, -0.0355393589, -0.5684739351, 0.6293994784, -1.0712186098, -0.1005006656, 0.7071517706, 0.2912484407, -0.0944383144, -0.1310632229, -0.183240667, 0.2437121272, -0.3938357234, 0.6592224836, -0.1790427119, 0.4366790354, 0.354896307, 0.2056415379, -0.4192538559, 0.1002475992, 0.0589312091, 0.2392833829, 0.6807106137, 0.6593297124, 0.2259775251, -0.6158146262, 0.4075064361, 0.410258323, -0.0594623722, -0.092853114, -0.0293888263, 0.3717653155, -0.3264022171, 0.4032335281, -0.491099894, 0.4927395284, 0.2731564045, -0.6280041337, -0.0419462137, -0.1243636832, -0.3160780668, 0.2281636298, 0.5750179887, 0.8212320209, -0.2653871179, -0.2971332967, 0.1670370549, -0.0822856501, 0.6348280311, -1.0640648603, -0.1547784954, 0.5765681863, -0.8080196381, -0.2734502256, -0.4206541479, -0.7856425047, -0.2856448293, -0.2891412079, 0.0885664895, -0.4336904883, -0.1824330539, 0.0449501723, 0.0002321055, 0.134596169, 0.3811988533, -0.8703587651, 0.316172868, 0.5051754713, 0.8835641742, 0.1812186092, 0.4411664009, -0.5936650038, 0.3064220846, 0.0537770502, 0.6287893653, -0.5244714022, -0.713773191, 0.1279134601, -0.0729905218, 0.2202685922, -0.4283908308, 0.6464701891, 0.3010226786, 0.1613422632, -0.379149884, -0.4629475176, 0.5103801489, 0.6105315685, -0.2892221212, 0.5616744757, 0.3508547246, -0.7679824233, 0.2799065709, -0.8921811581, -0.6721380353, 0.4597303271, -0.2630280554, -0.2879155278, 0.3314909339, 0.3187330365, 0.3565301001, -0.5812555552, 0.0038366313, -0.4539054334, -0.2299138755, -0.1344193071, -0.1219799668, 0.4018143117, 0.2230980396, -0.4582755864, 0.0462827235, -0.683178544, 0.3618492782, -0.2746918499, -0.3628754318, -0.3204981983, 0.045779556, -0.2281279564, -0.0064397017, -0.3129437268, -0.5268594027, 0.2681837678, -0.5562796593, 0.6048339009, 0.527282238, 0.0036641534, 0.6979860067, -0.3310475945, 0.7003464699, -0.2477543056, 0.5453286767, -0.2562622428, -0.6745900512, -0.377676785, -0.6155128479, -0.3502367437, 0.5473815203, -0.6872761846, 0.8678705692, -0.1272687614, -0.4347633123, -1.0420639515, -0.0367347449, 0.4341557324, 0.9009790421, 0.5506336689, -0.4169570208, -0.2280660123, -0.726690948, -0.2457523644, -0.0953761786, -0.1497189999, 0.9673471451, 0.2184651345, -0.2583096325, 0.6686378717, -0.5568689704, -0.4966727495, -0.3422868848, -0.0032047448, 0.0311738905, 0.6237712502, 0.2796138823, -0.5183948874, -0.6332194209, -0.0241059475, -0.8310280442, -0.1327831298, 0.1089907214, -0.4261089861, -0.1352597028, 0.1198314056, -0.550458014, 0.7228794098, 0.439801842, -0.3304294944, 0.1886261702, -0.0379259698, 0.4161994159, -1.3135433197, 0.2102188617, -0.2080752254, -0.1880948246, -0.4661557078, -0.5594906807, -0.5393856168, -0.2936748266, -0.1914000213, 0.566654563, -0.0252893511, 0.2669817507, -0.1685934663, -0.3024488986, 0.0639549941, 0.5881428123, -0.0010116145, 0.0642597303, 0.4185347557, -0.2305884808, 0.6396946907, 0.7304370999, -0.1283208877, 1.433023572, -0.7392919064, 0.0476774834, 0.0064258492, 0.8768863678, -0.3889648318, -0.6652380824, 0.551689744, -0.2833636701, 0.1292490959, -0.2447997928, -0.0843717158, -0.4154630899, -0.042832084, 0.4950792789, 0.6451559067, -0.1208896935, 0.6321784854, 0.331420213, -0.3130908906, -0.3607730865, -0.7072064281, -0.0000264673, -0.2446530163, -0.5592975616, 0.2280231565, -0.1510953456, -0.2497383952, 0.3107824922, -0.2153631002, -0.1904332489, 0.067906104, 0.5076051354, -0.0579584315, -0.0286873914, 0.3618502617, 0.5553942323, -0.1748972684, 0.0700661093, -0.4848463833, 0.2316289395, -0.0514020845, -0.4236598909, -0.8370730877, 0.9591170549, 0.2775529027, -0.1143672094, 0.8860682249, 0.7334246039, -0.3637011945, -0.2218195349, -0.3339825571, -0.6220217347, -0.4053050876, 0.1500488967, 0.0073427996, -0.8782607317, 0.2273765951, -0.1808453351, 0.0056396001, -0.1744472533, 0.7862193584, -0.1983506531, 1.2255718708, 0.1708554476, 0.2249531299, 0.329267323, -0.1451866627, 0.3354057372, -0.9150532484, -0.3113745153, -0.1925526112, -0.6799486876, -0.5238764286, -0.2265758216, 0.664788425, -0.1837813109, -0.343115449, 0.0179390982, -0.8765795231, -0.0204579961, 0.4160608351, 0.7484577894, 0.0219888277, -0.6645946503, -0.1383517236, -0.305773139, -0.8431000113, -0.2523598075, 0.383702457, 0.0132230753, 0.8069362044, 0.1993933022, 0.8792858124, 0.108616598, 0.6950386763, -1.3199602365, 0.1733771265, -0.012794327, -0.5755752921, -0.2755694091, -0.4785532951, -0.6735190749, 0.1232967451, -0.4436683357, -0.5778205991, 0.121634692, 0.5064364672, -1.0007445812, 0.2881368995, -0.6036571264, 0.8501506448, -0.0710204318, -0.5022729635, -0.2060281634, -0.7957234979, 0.1602244675, 0.0525025688, 0.1746514589, -0.5463444591, 0.3702407181, 0.4130689204, -0.739105165, 0.9781097174, -0.2957055271, 0.1954711974, 0.0704116151, 0.1226791441, 0.1443297416, 0.5420666337, -0.1553307325, -0.5541049838, -0.1393562257, -0.6550036669, -0.931126833, 0.5258446932, -0.3824392259, -0.6671501994, 0.045400504, -0.4282402098, -0.6325457096, -0.002239252, 0.0072986009, 0.5426958203, -0.4615359604, 0.158110708, 0.3208976686, -0.6449049115, 0.2418438196, 0.3210855126, 0.4041016698, -0.3443885148, 0.3941698074, -0.169422701, 0.1833595783, 0.1837336868, 0.4790513217, 0.2630048096, 0.2723821402, -0.1109935567, 0.0897839889, -0.2954447269, -0.6926732063, -0.5513561368, 0.118693769, -0.6390053034, -0.408885479, -0.3272713721, -0.2014809549, -0.1082487851, -0.2027288079, 0.4491301477, 0.5167075396, -0.4035987258, 0.3885320425, -1.1475878954, -0.0108804367, 0.5434216857, 0.2263799161, 0.2964541912, -0.1917232424, -0.4848966599, -0.0472428091, -0.3192783296, -0.8690263033, 0.6524407268, 0.1222644448, 0.1682621837, 0.6419429779, 0.3210219145, 0.8125596046, -0.9097370505, 0.723631084, 0.5201345682, -0.8434717059, 0.8463580608, -0.2842991352, 0.2721693516, 0.6744630337, 0.2777839601, -0.5795734525, -0.2681932747, -0.6092794538, -0.7232147455, 0.7378102541, -0.0055245929, 0.4655597806, -0.2929705381, 0.515393734, -0.1619606912, 0.187139377, -0.0114858216, -0.0685290992, -0.4508525133, -0.4716122746, 0.3408034444, 0.0947086886, -0.660830617, -0.3494305313, 0.4324977994, -0.4857330918, 0.4901752472, 0.4523251057, 0.3892844021, -0.2286362499, 0.480039835, 0.2023792714, -0.1267619431, -0.125837341, -0.0175787602, 0.3769426346, 0.0290133245, -0.0438718386, -0.2660180628, 0.412191689, 0.0130849713, 0.4245733023, 0.8385099769, 0.6505460739, -0.4979452193, 0.3883543313, -0.1609183699, -0.088953197, 0.1542577744, 0.2487241477, 0.3591963351, 0.3907660544, -0.1381354928, 0.0204033293, 0.3354631662, -0.4546544254, 0.1181287989, 0.3991443813, -0.7601780891, -0.4993371964, 0.6678221822, 0.8026821017, -0.7862603068, 0.494702071, -0.0025245466, -0.480140537, 0.2188256681, 0.3383001685, 0.7548974156, -0.1666066051, 0.5327195525, 0.3570612371, -0.0958603323, -0.0382192694, 0.1721504033, -0.4397774935, -0.5323691368, -0.4330061674, -0.5803572536, -0.8294047117, -0.3548541665, -1.1775865555, -0.2185531706, -0.2912984788, -0.5650241971, -0.0057636066, -0.130357042, -0.8534790874, 0.3110026717, 0.1075399071, 0.5246281028, -0.6754170656, 0.5589004755, 0.5439853668, -0.4315329492, -0.8723914027, -0.0973950401, 0.1600866318, -0.9074133635, 0.614961803, 0.0929499939, -0.199312672, -0.1358670145, -0.5727357268, -0.0929809883, 1.2456777096, 0.3667667508, -0.12463402, -0.4832600355, -0.1221667752, 0.7058522105, -0.4816281199, 0.290687561, 0.3930265009, 0.5242369175, 0.0649109632, -1.025236249, 0.0981192961, -0.1485683769, -0.0853055194, -0.3013885319, -0.9137867093, 0.3027959168, -0.385340333, 0.0017066355, 0.1443519294, 0.1982415766, -0.0643536821, -0.0067434567, 0.3256301582, 0.5925714374, 0.8179977536, -0.0234095752, 1.1167969704, -0.5034453273, 0.2472314388, 1.1625020504, -0.4329148531, 0.4823649824, 0.4204974174, 0.089270331, 0.2334451079, 0.3829226792, 0.1230075434, 0.3255563676, 0.1386365741, -0.7740847468, -0.4681159854, -0.7264844179, 0.0547438189, 0.2724650204, 0.2063513398, -0.3683193326, -0.0789757967, 0.0782569647, 0.2673705518, -0.0506233163, -0.2248851508, 1.0064548254, 0.6058073044, -0.6107040644, 0.1379881203, -0.2238509804, 0.5691926479, -0.4553636611, -0.0718382522, -0.3846285939, 0.0549742728, -0.5098393559, -0.2715406418, 0.4126886427, 0.1539890021, -0.0974751115, -0.598315239, 0.4695806801, -0.4980499446, -0.2031566799, 0.4522239566, 0.8501227498, 0.0147211431, 0.2884268761, -0.8729149103, -0.2151659727, -0.2948675156, -0.262246877, 0.2750284374, 0.601287365, 0.5241856575, 0.3610852659, 0.3429801166, 0.2476698756, -0.4007090628, 0.2446305007, 0.6751053929, -0.4817052782, -0.3772518039, -0.6182299256, 0.5809509158, -0.2953331769, -0.1745062172, 0.4840400219, 0.0252423417, 0.1539980769, 0.037181735, 0.9176244736, -0.2614566982, 0.4696133435, -0.192129001, 0.7484711409, -0.7047521472, -0.2650392354, -0.2059033513, -0.3807210922, -0.5562931299, 0.8791495562, -0.0475859568, -0.0788403898, 0.6119306087, 0.6141983271, 0.1815050989, -0.0433369055, 0.5669727921, 0.1215760708, 0.5487453341, 0.6030153036, 0.5127481818, -0.0254291203, 0.3128790259, 0.0133335665, -0.3071702719, -0.1257946044, -0.6467770934, -0.8110050559, -0.1876490414, -0.2255490273, -0.6328309774, 0.0661330223, 1.3832976818, 0.8373808265, -0.5832210183, 0.0956963077, 0.2333808541, -0.1179670617, -0.0993056297, -0.1763084084, 0.2413036972, -0.4468833804, -0.8277785778, 0.2835012078, 0.5670152903, -0.3097577393, -0.016250439, -0.2488596439, 0.4636734128, 0.3317842782, 0.5400074124, 0.2735314071, -0.4194074571, -0.2800889015, 0.0144967409, -0.1441513002, 0.3336928189, 0.9954050183, -0.4064468741, 0.4123412073, -0.0359510072, 0.7497584224, 0.2179294229, 0.1108718738, 0.5350511074, -0.4286920726, 0.1662236899, 0.5735712051, 0.3559611142, 0.2822033167, -0.3544362485, 0.4976684451, 0.1511563212, -0.5804354548, -0.7239337564, 0.4297154248, -0.9552059174, -0.0045369454, 1.1501953602, -0.537042737, -0.2352783531, -0.1557669491, -0.5020939112, 0.4108932614, -0.5175777078, 0.764880538, 0.3697817028, -0.8643614054, 0.3705455065, -0.1830857694, 0.771474123, 0.5011903644, -1.1675188541, -0.1078040078, 0.3486407995, 0.1103835776, -0.162425831, 0.9198505282, 0.1797770113, -0.0338913389, 0.0197119843, -0.0953358486, 0.2137175053, 0.27386114, 0.0852532536, -0.2226112038, -0.4388243556, 0.1308765113 ]
http://arxiv.org/abs/2404.08886v1
http://arxiv.org/pdf/2404.08886v1
EIVEN: Efficient Implicit Attribute Value Extraction using Multimodal LLM
2024-04-13T03:15:56
2024-04-13T03:15:56
Henry Peng Zou, Gavin Heqing Yu, Ziwei Fan, Dan Bu, Han Liu, Peng Dai, Dongmei Jia, Cornelia Caragea
cs.CV
cs.CV, cs.AI, cs.CL, cs.IR, cs.LG
In e-commerce, accurately extracting product attribute values from multimodal data is crucial for improving user experience and operational efficiency of retailers. However, previous approaches to multimodal attribute value extraction often struggle with implicit attribute values embedded in images or text, rely heavily on extensive labeled data, and can easily confuse similar attribute values. To address these issues, we introduce EIVEN, a data- and parameter-efficient generative framework that pioneers the use of multimodal LLM for implicit attribute value extraction. EIVEN leverages the rich inherent knowledge of a pre-trained LLM and vision encoder to reduce reliance on labeled data. We also introduce a novel Learning-by-Comparison technique to reduce model confusion by enforcing attribute value comparison and difference identification. Additionally, we construct initial open-source datasets for multimodal implicit attribute value extraction. Our extensive experiments reveal that EIVEN significantly outperforms existing methods in extracting implicit attribute values while requiring less labeled data.
[ -0.1942005754, -0.598423779, 0.4152936637, 0.2635761201, -0.2755700946, -0.0900610313, 0.0233634319, -0.804279089, -0.0900461003, -0.1649799794, -0.8752687573, -0.5395040512, -0.6283592582, 0.0876227096, -0.2829685509, 0.9015919566, 0.2242994905, -0.0456178486, -0.5185979605, -0.3702502549, 0.2629042566, -0.3191666901, -0.768535614, 0.0232968591, 0.9532510638, 0.0256728567, 0.4632116854, 0.489782095, 0.4815451503, 0.3400996923, 0.0578153171, 0.5559737682, -0.4458578527, 0.2800267041, 0.2336081266, -0.1852400601, -0.7798519135, 0.1499137729, 0.0898031741, 0.195249483, -0.1506628096, 0.3024009764, -0.1495752335, 0.62142694, -1.0078474283, 0.5874727368, -0.369638741, 0.2126265615, -0.141744554, 0.0560446605, -0.328007251, -0.4633712471, 0.0385092422, -1.0233370066, 0.3504070044, 0.1414991468, 1.1200321913, 0.3713581562, -0.5511968732, -0.1863703579, -0.6927726865, 0.9062079191, -0.2701663077, 0.8543235064, 0.1733484268, -0.0013932049, 0.1753670722, -0.9577909112, -0.878092289, -0.067058526, -0.1579542309, 0.4920033514, -0.2799696922, 0.0077541745, 0.287257731, 0.2580311298, -0.4056487381, 0.0191281587, -0.2190806717, 0.1122172996, 0.5769818425, 0.0556076132, 0.1380103827, -0.2635216713, -0.5699865818, -0.4264713228, -0.8003666997, 0.1163272262, 0.2789118588, -0.1887724996, 0.0102756936, 0.4384410679, -0.2390868962, 0.5661207438, 0.1341470182, -0.656657517, 0.5525510311, -0.2922514081, -0.3490338027, -0.0834179223, 0.5877789855, 0.3558452725, -0.1114423722, -0.1419350505, -0.2333591431, -0.1778597832, 0.0276591051, -0.72054106, -0.3052574992, 0.0740978494, -0.6290512681, -0.214818269, 0.1669734269, -0.9187811613, -0.2387183011, -0.4226200879, 0.2854758203, 0.1000964865, -0.2667844296, -0.271671176, -0.2235475928, 0.6498522758, 0.7142096162, -0.825240016, -0.0629258081, 0.7337188125, 0.8166126013, -0.4183725119, 0.1090636179, -0.2505034804, 0.4696284533, -0.0589639582, 0.6368659735, -0.5258826613, -0.0751159266, -0.2356939763, 0.1793744862, 0.2123368382, -0.4610179067, 0.2420380861, -0.7995287776, -0.2055169791, 0.0521658249, -0.2989958227, -0.1826521009, 0.5107471347, -1.2407413721, 1.0452134609, -0.0381837264, -0.2437640876, 0.8147988319, -0.4995505214, -0.4170138836, 0.1207629889, -0.2558747828, -0.7858473063, 0.3101226389, 0.3928210735, 0.6130345464, -0.5135263801, -0.1579012126, -0.4536345899, 0.1419711113, 0.4110863507, -0.8894723058, 0.4884588122, 0.4091134965, -0.2801721096, -0.1331702322, -0.8493067026, 0.1350587308, 0.1646534503, -0.3496809304, -0.3319483399, -0.0966364518, 0.2899884582, 0.3288414776, 0.2771107852, -0.6726899147, 0.0164785832, 0.1271294951, -0.0342623517, 1.1855554581, -0.4422588944, 0.3972041905, -0.1534095258, 0.5307856202, -0.0365966149, 0.4091112912, -0.0519933291, -0.4265508652, -0.9794431329, -0.6999252439, 0.2096269578, 0.3049639761, -0.7744202018, 0.0779957846, -0.4284702837, -0.2405643165, -0.5396707654, 0.262932986, 0.2887316346, 0.4727438688, 0.2930580676, -0.0011962015, -0.1835917234, -0.9926367402, -0.0541333482, -0.1249275282, -0.1196221113, 0.6667636633, 0.4320868254, -0.135472998, 0.7875303626, -0.8244590759, -0.3992532492, -0.2026321888, 0.5348567367, 0.0428401232, 0.4507119656, 0.0077460716, -1.214848876, -0.4479551911, 0.1673339754, -0.7983249426, -0.125184074, -0.3488381803, -0.1489013135, 0.2463549674, 0.2213861495, -0.611019969, 0.54336375, 0.4804643691, -0.1320862472, 0.1939366162, -0.3253437877, 0.3805069029, -0.9076530933, -0.1597055793, 0.3137745559, -0.2636106014, -0.3989030719, -0.013364736, 0.3714851737, 0.1333413422, -0.8678459525, 0.3664792776, -0.5765544772, -0.0524100587, 0.1949445754, -0.0966896415, 0.4438165724, 0.5207997561, 0.1929362118, 0.6235075593, 0.0621623658, -0.7167820334, 0.9003377557, 0.2370499223, -0.3282940686, 0.9924830794, -0.4921545088, 0.2952759266, -0.4879273474, -0.0255948789, -0.7903721333, -0.025597766, 0.2993149459, 0.0307119489, 0.4554908872, -0.2633733153, -0.4971774518, 0.0698638782, -0.367652297, 0.7413065434, 0.3550290465, -0.87572366, 1.0798729658, 0.163027972, -0.2153694183, -0.5548564196, -0.5405195951, -0.1853411943, -0.2525562942, -0.6561267376, 0.5870886445, -0.2130770385, 0.0417437106, 0.0097434986, -0.0807708427, -0.1122734547, 0.0652132928, 0.228656128, 0.3719804883, 0.0952365026, 0.4323399365, 0.0446510017, -0.4184164405, -0.0598334745, 0.0115250703, -0.0823407099, -0.1610665917, -0.6100594401, -0.1807120293, 0.4312199354, 0.3421973586, -0.1180414781, 0.7747941613, 0.7585431337, -0.2916091084, -0.189936772, -0.664493978, -0.0162002482, -0.4835473597, 0.5881094337, -0.4662314951, -0.4701646864, 0.1460456103, -0.3373980224, -0.1152368486, 0.3773301244, 0.2172640413, -0.4089237154, 1.4516816139, 0.6808056235, 0.6000052691, 0.3423782289, -0.1461289674, 0.0974421576, -0.784996748, -1.0138425827, -0.2351154685, -0.526016593, -0.3631180823, -0.2848693728, 0.5800482035, -0.113413766, -0.2146632224, -0.0648294464, -0.282305032, 0.4371603131, 0.4365623295, 0.6804438829, 0.3405970335, 0.1758327335, 0.2792520523, -0.197086066, -0.341958791, -0.0680767372, 1.1203486919, 0.2330691069, 1.2441222668, 0.5549730659, 0.1100558713, 0.2085381448, 0.5779573321, -0.916844666, 0.3270530403, -0.3395996094, -0.482596755, 0.0140687414, -0.4129810035, -0.7181149125, 0.3030306995, -0.400118202, -0.3191848397, 0.4540866613, 0.1681524813, -0.4120139182, 0.2030811459, -0.7112603188, 0.7939376235, -0.8769291639, -0.747128427, 0.1402427107, -0.4481085241, -0.0347947143, -0.0628789291, -0.0509997159, -0.2788819969, -0.3792664707, 0.7689571381, -0.2921455204, 0.5551338196, 0.1264247298, -0.1617410034, -0.1761211902, -0.2068949789, 0.5499811769, 0.0653229654, 0.1870425493, 0.2153292894, -0.2614400983, -0.2581730187, -0.8487693071, 0.632532239, -0.7143011093, -0.3914287388, -0.5008057952, -0.3668908477, -0.0066543208, -0.1410193294, 0.1116881296, 0.3619523346, -0.1400614381, 0.3813601732, 0.9770820141, -0.3246877789, 0.6476302743, 0.3346810639, 0.0984483808, -0.5010968447, 1.0223287344, -0.1573158503, 0.3654280603, 0.4770238996, 0.0012354198, -0.6918515563, 0.113696672, -0.6592406034, -0.0871059969, -1.1117349863, -0.3952228427, -0.6309071183, -0.0417449288, -0.1746030897, -0.1027804837, -0.4073936641, -0.3252505958, -0.3460133076, -0.349178344, 0.6320698261, 0.8338058591, -0.1396675408, 0.2033390105, -0.6908240318, 0.4576464891, 0.9456726909, 0.1845767796, 0.0031721136, 0.1111834943, -0.1114198864, -0.0426323041, -0.2264707685, -0.8761802316, 0.5084205866, 0.5356413126, 0.7425653934, 0.8547174931, -0.1416480243, 0.9276111722, -0.1315241754, 0.6918829679, 0.469753325, -0.7442355156, 0.3067505062, 0.2658202052, 0.2211274803, 0.2426977009, 0.6076474786, -0.3305616975, 0.2942765057, -0.3221348524, -1.2195848227, 0.7067996264, 0.1668655127, 0.1388050765, 0.1002460271, 0.2191269994, 0.3705741465, 0.4119548798, -1.1365764141, -0.6515164971, -0.3571402133, -0.4670562744, 0.0028664814, -0.3270054758, -0.1573656648, -0.5836563706, 0.3263145685, -0.2023369968, 0.4386431575, 0.0846759304, -0.6827115417, 0.4398743808, 0.2745558918, 0.4348649681, 0.4684577584, -0.0746328607, 0.4037194848, 0.2247735709, -0.4238952994, 0.3547624648, 0.1494665146, -0.1453964263, -0.3717221618, 0.0365612544, 0.7743424177, 0.0338927209, -0.4982342422, 0.7177836299, -0.1911058128, -0.000319016, -0.5535026789, -0.3033105135, -0.135493651, 0.2139843255, 0.3686190248, 0.0156378262, 0.2468536198, -0.1786889881, 0.1614088267, 0.3055972457, -0.4204210341, -0.1939266026, 0.6976098418, 0.3551034331, 0.1940165013, 0.9575455785, -0.2061838657, -0.2189155668, 0.6866482496, 0.6243446469, 0.946647048, 0.0534424633, 0.3823631704, 0.1378564537, 0.2448852062, 0.183170408, 0.2167350203, -0.2789643407, -0.7536059618, -0.3332417011, -0.556889832, -0.0268022195, 0.0189262591, -0.5937252045, 0.0930759683, -0.4086248875, -0.1374030262, -0.2356173694, -0.6054925919, -1.0746052265, 0.3968396485, 0.3448834121, 0.2363879234, -0.6541628242, 0.3405592442, 0.3971292078, -0.6717818975, -0.5666386485, -0.5852719545, 0.145285964, -0.6079203486, 1.3797353506, 0.3785219193, -0.3837338686, -0.0903252661, -0.6954749823, -0.6227135062, 1.4504338503, 0.3185936213, -0.4103741944, 0.1539889425, 0.2889093757, 0.0583688319, -0.5595266819, 0.8932644129, 0.3886019588, 0.7296909094, 0.4476820827, -0.2841093242, 0.0054392428, -0.5214195848, 0.2392896861, 0.0626533702, -0.4361747205, 1.0160790682, -0.069125466, -0.3374209404, -0.1503134072, 0.6198782325, -0.0799767673, 0.3454948068, 0.5330689549, 0.8178722262, 0.7741710544, -0.3710013628, 0.8915842772, 0.1625077426, 0.2631967366, 0.7209180593, -0.2443187833, 0.7818084955, 0.4318536222, -0.072183989, 0.6172896624, 0.5758441091, -0.1487618536, 0.7341140509, -0.1931847632, -0.7295879126, -0.5426819921, -0.0340929367, -0.2773437798, 0.3775530159, 0.3644941151, -0.3690008819, -0.0071009747, 0.0779927894, -0.1124087647, -0.495141238, -0.3887053132, 1.1230851412, 0.004147708, -0.0115948813, 0.1736670136, -0.013324487, 0.7292454243, -0.5494683981, -0.4580433369, -0.142446965, 0.2488037944, -0.3848323822, -0.3918684721, -0.1812164783, -0.1062170193, -0.2467760444, -0.5838653445, 0.6353248358, -0.4895563722, -0.7599381208, 0.212320894, 0.5906543732, -0.1124080345, 0.0046355398, -0.7628044486, -0.1511023343, -0.3180843592, -0.3365919888, 0.150841862, 0.2578711212, 0.283452183, 0.8148341179, 0.8901539445, -0.0630236268, 0.2352224737, -0.0157881957, 0.7280818224, -0.7201945782, -0.2627976835, -0.9031234384, 0.7727817297, -0.4824447334, -0.2812957466, 0.6343637109, 0.4854301512, 0.9516252279, -0.1695541888, 0.5612864494, -0.0831704363, -0.0908271745, -0.7413721085, 0.8367838264, -0.8565965891, 0.3604430854, -0.2570972443, -0.9316657782, -0.321903795, 0.7942909002, 0.1119143143, 0.2924869359, 0.7118842006, 0.9930907488, -0.2126523852, -0.0662463903, 0.3644155562, -0.0686587617, 0.3814873397, 0.587767601, 0.9481745958, -0.5046399832, 0.68650949, -0.4376888573, -0.3253832161, 0.0940394849, -1.3164876699, -0.4252187014, -0.5566030145, -0.5128132105, -0.1795509309, 0.0651643202, 1.0654685497, 0.9650865793, -0.7424527407, 0.1023705676, 0.2467108071, 0.3311034739, -0.4322571158, -0.2127225995, 0.3757687807, 0.1799338311, -0.9643300176, 0.1551792771, 0.4210595191, 0.2588563263, -0.1678803116, -0.3203215003, -0.0692317635, -0.0873881653, 0.8674698472, 0.0817139298, -0.5961114764, -0.1547577679, 0.0349260643, -0.0526155792, 0.1595647782, 0.6394838691, -0.7504335046, 0.5520527363, 0.4576779008, 0.5827606916, 0.6486173868, -0.0452907495, 0.522556603, -0.8323820829, 0.1568690091, -0.0841987133, 0.179683879, 0.3222847283, -0.3185347319, 0.276917547, 0.3291608691, -0.1479068398, -0.2862106562, 0.5179179311, -1.0087473392, -0.1074841991, 1.1518378258, -0.4610678256, -0.4087172449, -0.1749179065, -0.0201769806, 0.0481411777, -0.4399618506, 0.6374419928, 0.2117430121, -0.0779743493, -0.6894806623, -0.1453672498, 0.4802761078, 0.1787005514, -1.0363718271, -0.5029329062, 0.6111286283, 0.0331581309, -0.1402388811, 0.2034170777, -0.0856560692, 0.2463832349, -0.118030414, 0.2845255733, -0.4187399149, -0.4571680129, -0.2699173391, 0.3011237681, -0.0477510467, -0.1539976597 ]
http://arxiv.org/abs/2404.08885v1
http://arxiv.org/pdf/2404.08885v1
Is Next Token Prediction Sufficient for GPT? Exploration on Code Logic Comprehension
2024-04-13T03:11:07
2024-04-13T03:11:07
Mengnan Qi, Yufan Huang, Yongqiang Yao, Maoquan Wang, Bin Gu, Neel Sundaresan
cs.PL
cs.PL, cs.CL, cs.LG
Large language models (LLMs) has experienced exponential growth, they demonstrate remarkable performance across various tasks. Notwithstanding, contemporary research primarily centers on enhancing the size and quality of pretraining data, still utilizing the next token prediction task on autoregressive transformer model structure. The efficacy of this task in truly facilitating the model's comprehension of code logic remains questionable, we speculate that it still interprets code as mere text, while human emphasizes the underlying logical knowledge. In order to prove it, we introduce a new task, "Logically Equivalent Code Selection," which necessitates the selection of logically equivalent code from a candidate set, given a query code. Our experimental findings indicate that current LLMs underperform in this task, since they understand code by unordered bag of keywords. To ameliorate their performance, we propose an advanced pretraining task, "Next Token Prediction+". This task aims to modify the sentence embedding distribution of the LLM without sacrificing its generative capabilities. Our experimental results reveal that following this pretraining, both Code Llama and StarCoder, the prevalent code domain pretraining models, display significant improvements on our logically equivalent code selection task and the code completion task.
[ -0.1528123021, -0.4863443673, 0.6773506999, -0.1134484336, -0.4570453763, 0.3328671455, -0.2237515897, -0.4341112375, -0.0101461234, 0.3837286234, -0.5178479552, -0.3562340438, -0.7552760243, 0.1709655672, -0.429751426, 1.0630344152, -0.0652943477, 0.0985749587, -0.4400739074, 0.2048002779, -0.772667408, -0.8845155835, -0.5543177724, -0.5064215064, 0.2106408328, -0.0032934092, 0.5950266123, 0.5398067236, 0.524510026, 0.2516745627, 0.0204093233, -0.2461162806, -0.2647719383, -0.1669700891, -0.0051124864, -0.9230870605, -0.3602427542, 0.0707672462, 0.2307944596, 0.4797753096, 0.0749260113, 0.1696520001, -0.0681551322, 0.5131111145, -0.3464998901, 0.4208764732, -1.2465457916, 0.2560594678, 0.0365712643, -0.3600935042, -0.4492507577, -0.227690056, -0.0462593213, -0.5591786504, 0.1828267276, 0.2168223858, 0.6519589424, 0.4827234745, -0.3746707141, -0.1795092225, -0.4317093492, 0.4172091186, -0.5368617773, 0.3307903409, 0.4365518093, 0.1920027882, 0.0920720249, -1.0089131594, -0.8924173117, -0.4730725288, -0.1509488076, 0.1125495136, -0.1906956583, 0.1719292998, 0.3559044302, 0.1520429254, -0.6251860857, 0.0212139655, -0.3633784056, -0.4566754103, 0.1069923341, 0.0982327387, 0.2503874302, -0.0593192987, -0.4273632467, 0.0237640794, -0.9835714698, -0.0004300001, 0.1297620386, -0.0901791081, 0.2679264545, 0.6190564632, 0.0010520678, 0.6491200924, -0.1112860143, 0.1506211609, 0.4615523517, -0.3829486668, -0.4625020623, -0.0387635417, 0.4288092256, 0.2353372872, 0.6001548767, -0.1996596009, -0.3722496927, 0.4963099062, 0.4507846832, -0.7782020569, -0.5559056997, -0.0395277627, -0.4977763891, -0.266027391, 0.1847731769, -0.2700256407, -0.1747513413, -0.5987922549, 0.3336210251, -0.3047070801, -0.2106003016, 0.1842491329, -0.1030681804, 0.2510075271, 0.0700094774, -0.7654067278, 0.1608037651, 0.79263556, 0.7695649266, -0.1022047028, -0.4251925647, -0.6309686303, -0.025626827, -0.3976698816, 0.7976008654, -0.8416227698, -0.4325018823, -0.1388897449, -0.0996911898, -0.3189042509, -0.4916948974, 0.5340073109, -0.916115284, -0.0454375893, -0.354539603, -0.6569254398, 0.0177633222, 0.1730925739, -0.4311241806, 0.4856719971, 0.2764951289, -0.818883419, 0.6491556764, -0.5349030495, -0.483886838, -0.0086041838, -0.4237559438, -0.2546099722, 0.1925923973, 0.4043267667, 0.4980863929, 0.0128129199, 0.3855139613, -0.1857548356, -0.7390714884, 0.2810714841, -0.3991008997, 0.3484578133, 0.2633009851, -0.5423967242, 0.2877832353, -0.3021514118, 0.1880996525, 0.0095444536, -0.0939646959, 0.1644333452, -0.016589541, -0.2051669508, 0.4394088387, 0.1144970581, -0.2598024607, 0.3310475051, -0.409011662, 0.6132825613, 1.144004941, -0.3028270304, 0.5078252554, -0.1829807609, 0.9013208151, -0.1515074521, 0.1125932783, -0.2526687086, -0.521887362, -0.5345886946, -0.029338453, 0.2863039374, 0.6266936064, -0.9793756008, 0.4481225908, -0.5430304408, -0.1147929281, -0.0594654344, 0.1733985245, 0.5006476641, 0.4222712815, 0.4830872118, -0.25855726, -0.784889698, -0.5093636513, -0.4835799634, -0.4925102293, -0.0346706323, 0.0256417748, 0.4965381324, -0.479424566, 0.8861854076, -0.6052076221, -0.3370124698, -0.5151321888, -0.1798914075, 0.3968026042, 0.3748503625, 0.3825088143, -0.7721712589, -0.3283227086, -0.0656364635, -0.4387620091, 0.0953381434, -0.0386301577, 0.031323269, 0.2312771976, 0.9653797746, -0.5536077023, 0.3749572635, 0.6051458716, -0.5237163901, 0.5974105597, -0.2074825615, -0.166576162, -0.7905772924, 0.0213816427, -0.38299793, -0.2843934298, -0.4434937537, -0.0266612936, 0.181554094, -0.0394867398, -0.209032625, 0.5472818017, -0.392809093, -0.2600223124, -0.4750786722, -0.1433439106, -0.1853209585, 0.5193721652, 0.1431750506, 1.1382762194, 0.6193574667, -0.3664058447, 0.1267906278, 0.2846531272, -0.5600961447, -0.1195135191, -0.8004201055, 0.3198028505, -0.083681494, 0.5172284842, -0.895432055, 0.0743053779, 0.1035356894, -0.6199039817, 0.2661964297, -0.118610248, -0.5754411221, -0.6044352055, -0.0833320618, 0.4683594704, 0.9456870556, -0.5759458542, 0.3495975435, 0.1921076626, -0.1301808506, -0.6360529661, -0.7053087354, 0.0934419036, -0.1606663316, -0.2339956164, 0.1827640086, -0.0278167594, 0.0768273547, 0.0117199486, -0.3357145488, 0.1511873156, -0.0210483316, 0.1487115473, 0.6038934588, -0.1165785193, 0.2281869352, -0.1670104116, -0.4042892754, 0.334305495, -0.9757837653, 0.6688504219, -0.1210673526, -0.5068007112, -0.1707002372, -0.2429764569, 0.1994167566, -0.4543711841, 0.4829057753, 0.8181524277, -0.128883332, -0.0792602897, -0.5202234983, -0.1181922182, -0.5037401319, 0.6066219211, -0.5606935024, -1.1555533409, 0.372433126, -0.0324124806, -0.2435697615, 0.3895379901, 0.3949899971, 0.2014652342, 1.0256251097, 0.8052881956, -0.4429334104, 0.5314795375, -0.2245085835, 0.3109385073, -0.6327298284, -0.2932649255, -0.4209215939, -0.0168886147, -0.2963487804, -0.5940748453, 0.2438409626, 0.1768877655, -0.4127649665, 0.3579337597, -0.5011953115, 0.7343856692, 0.3439643085, -0.0322727524, 0.2764194608, 0.1040720791, -0.087484993, 0.1200799197, -0.5939375162, -0.2998707592, 1.5351109505, 0.153770715, 0.4841991365, -0.3704351485, 0.6245532632, 0.1494563222, 0.5745996833, -0.4955730736, 0.3838228285, -0.1134196594, -0.3636803627, -0.0953941494, -0.5242586732, -0.7859792113, 0.2105584294, 0.026690254, -0.8129737973, -0.1374011636, 0.2233540863, -0.2612836063, 0.338103652, -0.7482761741, 0.9340684414, -0.2124494314, 0.2240186185, -0.1499453187, -0.6138521433, 0.2975544333, -0.3462708294, 0.2897080481, 0.0281508937, -0.2430779934, 0.6282740235, -0.4025803506, 0.6272579432, -0.2730016112, 0.034209244, 0.2321585715, 0.0182828289, 0.8111749291, 0.1487720907, -0.0220547859, -0.1431913674, -0.1399878412, -0.4589347541, -0.8367497325, 0.4429595172, -0.692710042, -0.8574947715, -0.1694022268, -0.2750148177, -0.442506671, 0.1872514784, 0.4515051842, 0.4180700779, 0.1660594493, -0.0944901109, 0.6306033134, 0.0058507356, 0.3694798946, -0.0947880894, -0.3205145001, -0.3993973434, 0.8914809823, -0.3346505463, 0.2282800227, 0.506203413, 0.0562336035, -0.6116076708, -0.943041563, -0.2378191203, -0.027707383, -0.8355181813, -0.4346944094, -0.8455582261, -0.096278362, -0.2870495021, -0.146510914, 0.0446464382, -0.2039008588, -0.2223248035, -0.4440519512, 0.2424046397, 0.7984437346, 0.3220050037, 0.1719037294, -0.8231672049, 0.2459571362, 0.1493050903, 0.3726326823, -0.1089001074, -0.7940114141, -0.2728556395, -0.1419583559, -0.0501810312, -0.430110693, 0.2729830444, 0.1000416726, 0.6708313823, 0.2433969229, -0.1464920491, 0.7839943171, -0.7258543372, 0.7094814181, 0.4341591001, -1.1380485296, 0.4832994342, -0.1259971112, 0.1593158096, 0.6670291424, 0.19231686, -0.2724097967, -0.3957118988, -0.7015402913, -0.5850001574, 0.3844509423, 0.2482181191, 0.4954297841, -0.0625998825, 0.5333460569, 0.1747649908, 0.440335393, -0.9184370041, -0.0427367836, -0.4144482017, -0.0761790723, -0.551158011, -0.0870250687, 0.4198805988, -0.5471680164, 0.3258839846, -0.3137039244, 0.6078641415, 0.1032374129, -0.1603714824, 0.0297287907, 0.0293239895, 0.2285341471, 0.9970389009, 0.1134508401, -0.0041893586, 0.3420108855, -0.6247819662, 0.1555539072, 0.0709249452, 0.2261604071, -0.1762292534, 0.7003497481, 0.8228312135, -0.0064404029, -0.84209764, 0.8057197332, -0.0697716102, -0.3735657334, -0.4714262187, 0.1856318116, -0.0598961823, 0.2754725218, 0.4560805261, 0.4267411828, 0.0303001199, -0.6778005362, 0.3626362383, 0.4391849935, -0.3330764174, -0.2587596476, 0.9454519153, -0.0309129413, 0.0319898725, 0.6724537611, -0.3344071209, -1.0013798475, 0.7286784053, 0.6265969872, 0.9001053572, 0.2206055671, 0.0336012132, 0.0919645429, 0.3029472232, -0.1488715857, 0.2053288519, -0.0403099768, -0.7933901548, -0.9090282917, -0.6648774147, 0.0583890527, -0.0898855254, -0.3403531015, 0.1970659494, -0.3885954916, 0.0029472429, -0.5667651296, 0.0700530559, -0.8591415882, 0.356975317, 0.1326171756, 1.0571864843, -0.5817093849, 1.2482446432, 0.7413820624, -0.2833227515, -1.0872823, 0.3668609858, -0.3703158796, -1.0980423689, 0.88098979, 0.3200604618, 0.121164307, 0.067577906, -0.3723914325, -0.8057907224, 1.1762633324, 0.4884371459, -0.5873679519, -0.2882173061, 0.0226259939, 0.5181441307, -0.3886960447, 0.3554695547, 0.6450684071, 0.4237758219, 0.1532955319, -0.8015518188, 0.2302244455, -0.3298265636, 0.1929708868, 0.0890905261, -0.2498746365, 0.9188793302, -0.501763761, -0.057995934, 0.1466644406, 0.7027154565, 0.1731198877, 0.0994496122, 0.74964571, 0.3343659341, 0.7844190001, -0.0024201528, 1.2552329302, -0.3849434555, 0.2462588549, 0.9734042883, -0.2331651598, 0.8407407403, 0.3745147586, -0.492287457, 0.464640379, 0.7060275078, 0.0339052007, 0.5977502465, 0.505395472, -0.0885891914, -0.3505830765, 0.3610884845, -0.6330858469, 0.3396856487, 0.1430422217, -0.2951068282, 0.2068505734, 0.0642877072, -0.2223598808, 0.0121609233, -0.4111958444, 0.7514141798, 0.1542801261, -0.6948450804, 0.6037399769, -0.184885785, 0.8124632835, -0.5326077938, 0.0818557888, -0.2455498427, 0.1826301217, -0.1471631229, -0.5143402815, 0.366489917, -0.0726299807, 0.1243916824, -0.236331284, 0.8852593899, -0.0735035464, -0.439950794, 0.2876626551, 0.6099944711, -0.0035967757, -0.4433369339, -0.6414099336, 0.0312729627, 0.185943827, -0.1789980233, 0.3677310944, 0.4710849822, 0.0690662339, 0.71895504, 0.8996344805, 0.1424680203, 0.1308169365, 0.1851985306, 1.1866116524, -0.6449993253, -0.6865436435, -0.9663360119, 0.2442285568, 0.1863572299, -0.1711245179, 0.4920413792, 0.4159331024, 1.1463868618, -0.1792006195, 0.9612281919, 0.1881187111, 0.0571751706, -0.8821452856, 0.5205824375, -0.3610016108, 0.4711617529, -0.4204597771, -1.1542308331, -0.2896695137, 0.4290946126, -0.4641275704, 0.133148849, 1.065782547, 0.6153089404, 0.0748415366, 0.1809495538, 0.3329873681, -0.0878153443, 0.3561634123, 0.7338613868, 0.9783956409, -0.202605024, 0.8837119937, 0.1759245247, -0.0664384589, 0.0976764187, -0.811983645, -1.1576834917, -0.554007113, 0.0591391623, -0.2514133751, 0.2108080238, 0.9407060146, 0.5089945793, -0.6148836613, 0.1226754189, -0.7015848756, 0.0527684242, -0.0512293838, -0.0958387032, 0.4238875806, -0.7449283004, -0.419945389, 0.1225466803, -0.0259428583, -0.0114380158, 0.1130958498, -0.2303883433, 0.421230495, -0.3046883643, 0.6980309486, -0.0935744047, -0.7133730054, -0.3896333575, 0.1175639033, 0.090782851, 0.0293139759, 1.2893264294, -1.1752533913, 0.1151078716, 0.3276560307, 0.9688835144, 0.3866361082, -0.0256125703, 0.6799416542, -0.4144809544, 0.1708067507, 0.2637678385, 0.5570296645, -0.0208808165, -0.3800568581, 0.4752454758, 0.3130464554, -0.4488340318, -0.5893517137, 0.3152613342, -0.560454309, -0.4357348084, 1.2130265236, -0.2328004092, -0.0741426647, -0.152098015, -0.2274716049, 0.0994958282, -0.2284503877, 0.476839453, 0.4493771493, -0.0445564874, -0.0913725048, -0.5920680165, 0.658231914, 0.6206547618, -0.7594286203, 0.0030966457, 0.2670116425, 0.1704993099, -0.1343384683, 0.9678258896, -0.1002302393, 0.2814471424, -0.0163076222, -0.2632211745, -0.2799649537, -0.388564527, -0.2717789412, -0.0738549605, 0.2806431055, 0.005170993 ]
http://arxiv.org/abs/2404.08877v1
http://arxiv.org/pdf/2404.08877v1
Aligning LLMs for FL-free Program Repair
2024-04-13T02:36:40
2024-04-13T02:36:40
Junjielong Xu, Ying Fu, Shin Hwei Tan, Pinjia He
cs.SE
cs.SE, cs.CL, cs.LG
Large language models (LLMs) have achieved decent results on automated program repair (APR). However, the next token prediction training objective of decoder-only LLMs (e.g., GPT-4) is misaligned with the masked span prediction objective of current infilling-style methods, which impedes LLMs from fully leveraging pre-trained knowledge for program repair. In addition, while some LLMs are capable of locating and repairing bugs end-to-end when using the related artifacts (e.g., test cases) as input, existing methods regard them as separate tasks and ask LLMs to generate patches at fixed locations. This restriction hinders LLMs from exploring potential patches beyond the given locations. In this paper, we investigate a new approach to adapt LLMs to program repair. Our core insight is that LLM's APR capability can be greatly improved by simply aligning the output to their training objective and allowing them to refine the whole program without first performing fault localization. Based on this insight, we designed D4C, a straightforward prompting framework for APR. D4C can repair 180 bugs correctly in Defects4J, with each patch being sampled only 10 times. This surpasses the SOTA APR methods with perfect fault localization by 10% and reduces the patch sampling number by 90%. Our findings reveal that (1) objective alignment is crucial for fully exploiting LLM's pre-trained capability, and (2) replacing the traditional localize-then-repair workflow with direct debugging is more effective for LLM-based APR methods. Thus, we believe this paper introduces a new mindset for harnessing LLMs in APR.
[ -0.1789239496, -0.3465377986, 0.7118119597, 0.2367167771, -0.0306854621, 0.3771627843, -0.1714636385, -0.5066776276, 0.1496682316, 0.3731521666, -0.842330873, -0.4632348716, -0.3056926131, 0.1813554764, 0.0434090383, 1.117489934, -0.4977647066, -0.1641015261, -0.2596007288, 0.0184871275, -0.7882474661, -0.262519002, -0.8414255977, -0.1112516448, 0.3427643478, 0.7156795263, 0.396510005, 0.8197566271, 0.620433569, 0.3277656734, 0.4089955986, 0.1633964181, -0.3323571682, -0.0419375151, 0.2490087897, -0.7685709, -0.6330171824, -0.1091345474, 0.3856430054, 0.2384034693, 0.0518537275, -0.1504292637, 0.127036646, 0.793771565, -0.4020748138, 0.0748301372, -0.6630609632, -0.0071260352, -0.171422258, -0.3236539364, -0.1094725505, -0.299695909, -0.4245571792, -0.7537754178, 0.2026717216, 0.1204069331, 0.7426853776, 0.6624601483, -0.2205008864, 0.0156106213, -0.45437029, 0.7933986783, -0.9014332891, 0.0394922495, 0.113697052, 0.279381901, -0.4163321853, -0.0840804055, -0.358295083, 0.1381240487, 0.180837363, 0.1070424169, 0.0053637936, 0.1680879742, 0.2438598722, 0.4798472226, -0.381906569, 0.4254695475, -0.1422792971, -0.5799435973, 0.6094997525, 0.0967354774, 0.2192531973, 0.4434172809, -0.7333284616, 0.2839791179, -1.0067521334, 0.0345707722, 0.4437840581, 0.2000874877, -0.0925296471, 0.2829101384, 0.0531459525, 0.8563343883, 0.2167645842, -0.3446237147, 0.269838661, -0.3934653699, -0.0795117393, 0.3133580387, 0.5282871723, 0.3608331382, 0.1599265933, -0.0416161381, -0.5754793286, -0.0509673096, 0.1993827671, -0.388299793, -0.078893505, 0.2734315097, 0.0247606486, -0.3726540208, 0.1491904259, -0.4415768087, -0.4634246528, -0.4179275334, 0.2800680399, -0.3379580081, -0.2390694767, 0.0212775618, 0.1960590482, 0.2118154764, 0.1938286424, -0.9272485971, -0.0616997257, 0.8782036901, 0.8047654033, -0.1546908468, -0.3028347492, -0.8050842881, 0.2121109366, -0.5272092819, 0.9455043077, -0.3592519164, -0.0667771101, 0.1015450731, -0.0059142141, -0.0231284443, -0.4016332328, 0.2675974965, -0.3866701126, -0.0622362904, -0.6139863729, -0.4049816728, 0.2285200506, 0.4623610377, -0.4796834588, 1.0117908716, 0.2602446675, -0.7855104804, 0.216222629, -0.5704847574, -0.1327466965, -0.4012919962, -0.1502606869, -0.5476955771, -0.0578991584, 0.6159502864, 0.1681403518, 0.0953348875, 0.1009058654, -0.2939771414, -0.6846836805, 0.2111758292, -0.262437731, 0.5041287541, 0.1318755895, -0.6973847151, 0.3596203923, -0.5446192026, -0.1498576403, -0.2216970921, -0.3347431123, -0.1639153212, -0.1753015667, -0.6678951383, 0.2289257646, 0.4310343564, -0.8607273698, 0.4591422379, -0.9412855506, 0.2042770386, 1.1630538702, -0.0712623373, 0.6338490844, -0.4612978101, 0.838958919, 0.1598877311, 0.0807608962, -0.2764894366, -0.19896245, -0.7323451638, -0.5159642696, -0.0903395563, 0.4193475544, -0.6020584702, 0.3483972847, -0.1250072867, -0.098807551, -0.4312250912, 0.2632324994, 0.4167742729, 0.8261735439, 0.264944613, -0.089983359, -0.8013273478, -0.5701092482, -0.2259778231, -0.1014712974, 0.0635801256, -0.1473203152, 0.0259099007, -0.161522001, 0.9217579961, -0.434070915, -0.7249312401, -0.2549495101, -0.325337559, 0.3792962432, 0.3259950578, 0.22702384, -0.2139962167, -0.6213449836, -0.1270678788, -0.3961614966, -0.4515466988, -0.1130836681, -0.1061192304, 0.7391620278, 0.7094504237, -0.4153793156, 0.3463415802, 0.6716761589, -0.3306168318, 0.3475135267, -0.165184781, 0.2218735367, -0.9355030656, -0.0519527458, -0.2323126048, -0.2818955183, -0.387509644, -0.1954893321, 0.2069564909, -0.0479484051, -0.2974881232, 0.5311146379, -0.8262060285, -0.2476054281, -0.5101501942, 0.1499532163, 0.0171872657, 0.4171216786, -0.2638497651, 0.859829545, 0.4675680697, -0.2338549793, 0.1588817835, 0.0646069646, -0.0262310784, 0.452068001, -0.3509556353, 0.1942031682, -0.0923354551, 0.3711348772, -1.1795884371, -0.0834654272, 0.3356713057, -0.2754833996, 0.5111922026, -0.0269013979, -0.1148111522, -0.324539721, -0.6147227287, 0.4239230156, 0.2717642486, -0.605245769, 0.3637244999, 0.1194769517, -0.0770686343, -0.8410432339, -0.5264155865, -0.1068711653, -0.440921098, -0.6352232099, 0.5133510232, -0.1729926169, -0.0707709417, -0.1841965169, -0.7235053182, 0.0263347756, 0.2157256007, 0.3902947903, 0.4557500184, -0.3554970026, -0.0029850255, -0.1753953397, -0.4431824088, -0.1840149611, -0.3419052362, 0.4309911132, -0.1994177252, -0.6748856306, -0.0944844037, 0.0653412044, 0.4428494275, -0.5539667606, 0.3801678419, 0.5618194938, -0.115553692, -0.0335811637, -0.750173986, -0.1999382377, -0.4828639925, 0.218035534, -0.2268047482, -0.9008900523, 0.4781342447, 0.0831849054, 0.3436757028, 0.2107056677, 0.2805519402, -0.0603654645, 0.9705471396, 0.906347692, -0.4676676691, 0.4143839478, 0.077763088, 0.6388203502, -0.8723124862, -0.1094806939, -0.4267675877, -0.479450047, 0.1482919455, -0.305575788, 0.2729288042, 0.290866673, -0.3288776875, 0.1852143854, -0.6439744234, 0.652982831, 0.2893288136, -0.0040533245, 0.2967996001, 0.0200788993, -0.165625155, -0.0578664392, -0.5111727118, -0.3542298675, 0.976028204, 0.4964320064, 0.5240588188, 0.0155880954, 1.1977901459, -0.1664723307, 0.4186334014, -0.6478178501, 0.370026648, 0.0889414698, -0.1961960196, -0.3867486715, -0.1336565316, -0.9321911335, -0.269300133, 0.1772206575, -0.5142143965, -0.0397339426, 0.5506154895, -0.4776549935, 0.3766583502, -0.3738161027, 0.8379471302, -0.4354378283, -0.0518169925, -0.0310614705, -0.5151542425, 0.4053693414, -0.2546314299, 0.4098065495, -0.3168205619, -0.2555615604, 0.4329940677, -0.7707538009, 0.8169409037, -0.4981364906, -0.4992695451, 0.0780777559, -0.002001822, 0.7491165996, -0.0249904953, -0.0621919334, 0.0254059024, -0.0390553139, -0.2795826197, -0.5106198788, 0.9509122372, -0.6356365681, -0.7525972724, -0.6181976795, -0.7849874496, -0.4154869318, 0.1774561703, 0.0207139887, 0.2282348573, 0.2413130254, -0.383867681, 0.6032737494, -0.0248035993, 0.6632493734, 0.7539686561, -0.1836965084, -0.2192848623, 0.8725170493, -0.2306497097, 0.0296405144, 0.4223264456, 0.0582081079, -0.1881826371, -0.6266528368, -0.2390747219, 0.2939272523, -0.6228068471, -0.734138608, -0.2390226573, 0.0006601677, -0.275049448, -0.3801007867, -0.3117057681, -0.2116573751, -0.3734950423, -0.2070216537, 0.4814769328, 0.3617756963, -0.13990587, 0.2232681215, -0.8444145322, 0.165143922, -0.1811813265, 0.6053429842, -0.2953854501, -0.3175452352, -0.2728029191, 0.237232089, -0.3502502441, -0.7503834367, 0.2322903275, 0.2355908602, 0.5365943909, 0.2430202365, 0.0833308324, 0.9481664896, -0.5507908463, 0.7656724453, 0.1898124665, -0.8492513299, 0.5404171348, -0.2487463355, 0.1614127159, 0.594381392, 0.1270157993, -0.3203108013, -0.5806214809, -0.3200417757, -0.7522416711, 0.6258257627, -0.2850884497, -0.1469765902, -0.2203795761, 0.5159132481, 0.0462007895, -0.0642013475, -0.4515554607, 0.0833129659, -0.2997523248, -0.6892846227, -0.0747115538, -0.0773959383, -0.1568782032, -0.0805122778, 0.8791479468, -0.4704054594, 0.431237787, 0.2906807959, -0.1319541037, -0.4729544818, 0.0539535098, 0.7718999982, 0.6978569627, 0.0315562971, 0.0871916413, 0.1151193753, -0.1014962569, 0.2920930088, -0.0983075649, 0.1931529194, -0.2182535827, 0.351506412, 0.629971981, 0.315556407, -0.6926673055, 0.7312986255, 0.1430812478, -0.1408433616, -0.2918209732, 0.1898097694, 0.061702475, 0.3783369064, 0.3379961252, 0.2545708418, -0.3414575458, -0.3264372945, 0.3039210141, 0.7053542733, -0.5245885253, -0.3380086422, 0.7236250639, 0.1698476076, -0.1455820352, 0.711122632, 0.1589236856, -0.5259718895, 0.7097120881, 0.697883606, 0.7159169316, -0.2811979353, 0.0984475985, 0.3453911245, 0.2368482053, -0.1904069483, 0.3029133677, 0.1724622995, -0.6671996117, -0.6362685561, -0.6176700592, -0.0066894377, 0.0550349019, -0.1333220899, 0.5106927156, -0.4633440077, 0.1231809556, -0.5386615992, 0.0193109103, -0.3965276182, 0.0351942144, 0.0076664253, 0.9592252374, -0.8572970033, 0.8031210899, 0.5063790083, -0.4041198492, -1.2464692593, 0.191998899, 0.2431274354, -1.0454982519, 0.3629842401, 0.4365218282, 0.2573647499, 0.1427875757, -0.2878431082, -1.199495554, 1.1491552591, 0.5759425759, -0.7612518668, -0.0825636908, 0.1112607345, 0.3093138933, -0.3864920139, 0.0002346757, 0.4763783813, 0.5555114746, -0.0004617615, -0.916539073, 0.3310492635, -0.0547428392, -0.1999327987, 0.5302946568, -0.4609062672, 0.5448633432, -0.3892706633, -0.022361856, 0.0752027258, 0.5110250115, 0.4216750264, 0.1427549869, 0.5712550282, 0.6070010066, 0.6725648046, -0.2523508668, 0.9311784506, -0.4278837144, -0.0011480467, 0.9610207081, -0.2130072117, 0.4117934108, 0.7596883178, -0.1549560428, 0.4812446833, 0.8315612078, -0.0577445365, 0.5758179426, 0.2443410158, -0.1554382592, 0.0296452586, 0.317281574, -0.2642491162, 0.1927229315, -0.0011565537, -0.0302063748, -0.1942497194, 0.0064097592, 0.0918937624, -0.0088667599, -0.3718094826, 0.7943892479, 0.0900058001, -0.9238055348, 0.7252241373, -0.0074040177, 0.6634126902, -0.6087151766, -0.0107082641, -0.5361086726, 0.3448578715, -0.6749081016, -0.5156754255, 0.7507745624, -0.0658088401, -0.1680259109, -0.1346709579, 0.6454237103, -0.5038847327, -0.2682800591, -0.0518847108, 0.0152338538, 0.0350726806, -0.260369271, -0.4514211714, 0.3937678039, 0.3943682015, -0.1185351014, 0.5713540316, 0.3587391376, -0.3840769231, 0.4598097503, 0.6132703424, 0.2605978549, 0.1483457834, -0.0434289388, 0.7552554011, -0.3809551299, -0.2941674888, -0.9168956876, 0.7927936316, 0.1342365891, 0.0490140915, 0.7168304324, 0.4361143112, 0.5301182866, 0.0678032637, 0.7524983287, 0.1454161108, 0.342177242, -0.575545013, 0.2388532907, -0.4148814976, 0.7713406682, -0.2485217154, -1.1642535925, -0.4549793601, 0.5712510347, -0.2125364691, -0.1564239413, 0.6178779602, 1.0766375065, 0.0448965356, -0.3236707747, 0.0680110753, 0.1570509225, 0.5690379143, 0.642365098, 0.6320599914, -0.1880379915, 0.6177476645, -0.1661857516, -0.5022608638, -0.0213086121, -1.143512845, -0.5896267295, -0.2593215704, -0.4754354656, -0.12328206, -0.0590682514, 0.8065767288, 0.2557163239, -0.693389535, 0.1444267482, -0.5128329992, 0.0794626325, -0.4272699654, -0.1962587088, 0.2930073142, -0.8380092382, -0.4581246078, 0.7959983945, 0.3925391734, -0.0408873223, -0.1427481025, -0.3696265519, 0.1453990042, -0.2009686232, 0.2057060748, 0.4265848994, -0.7563408017, -0.6505386829, 0.2180430442, 0.085022971, 0.324629128, 0.8665203452, -0.7489165664, 0.2395582646, 0.2709012628, 0.8240221739, 0.1848304719, 0.0681422874, 0.9121354818, -1.0786752701, 0.052984111, 0.1233537272, 0.4554203153, 0.4113318026, -0.6349318027, 0.3359173834, -0.1121864766, -0.7431529164, -0.8085663319, 0.2992539704, -0.6401451826, -0.1524917781, 1.0516833067, -0.2266329825, -0.0393390879, -0.1534847617, -0.5109450817, 0.3861828446, -0.1572263092, 0.7637414932, 0.4560489058, -0.255807817, -0.2095314562, -0.1410167813, 0.5775811672, 0.3996224701, -0.5848093629, 0.0405598246, 0.5252765417, 0.6572465301, -0.0649778321, 0.9875751138, -0.329454124, 0.0947438106, -0.3875533938, 0.1513578445, -0.4882561266, -0.2775224745, -0.5745624304, -0.2146918327, 0.3647427261, -0.1841197163 ]
http://arxiv.org/abs/2404.08865v1
http://arxiv.org/pdf/2404.08865v1
LLM In-Context Recall is Prompt Dependent
2024-04-13T01:13:59
2024-04-13T01:13:59
Daniel Machlab, Rick Battle
cs.CL
cs.CL, cs.LG
The proliferation of Large Language Models (LLMs) highlights the critical importance of conducting thorough evaluations to discern their comparative advantages, limitations, and optimal use cases. Particularly important is assessing their capacity to accurately retrieve information included in a given prompt. A model's ability to do this significantly influences how effectively it can utilize contextual details, thus impacting its practical efficacy and dependability in real-world applications. Our research analyzes the in-context recall performance of various LLMs using the needle-in-a-haystack method. In this approach, a factoid (the "needle") is embedded within a block of filler text (the "haystack"), which the model is asked to retrieve. We assess the recall performance of each model across various haystack lengths and with varying needle placements to identify performance patterns. This study demonstrates that an LLM's recall capability is not only contingent upon the prompt's content but also may be compromised by biases in its training data. Conversely, adjustments to model architecture, training strategy, or fine-tuning can improve performance. Our analysis provides insight into LLM behavior, offering direction for the development of more effective applications of LLMs.
[ -0.076643914, -0.8025575876, 0.7313440442, 0.0486673415, -0.1319790483, -0.2342917174, -0.0754101127, -0.5922678113, 0.0999097899, 0.3118239343, -0.3022820652, -0.3741262853, -0.4905418456, 0.4332772791, -0.5943928361, 0.5522850752, -0.0090012588, 0.040438436, -0.4623572826, 0.0518514663, -1.0371932983, -0.8348887563, -0.4192972481, -0.2071063519, 0.5189906359, 0.5768020153, 0.1636224836, 0.7064928412, 0.369294256, 0.2542251945, -0.4257663488, 0.0225648191, -0.6503804326, 0.2624749541, -0.1769553721, -0.537935555, -0.2025592178, 0.031206483, 0.9784318209, 0.5867403746, -0.2387892753, -0.049106326, 0.16051884, 0.4485856891, -0.6985068321, -0.200602904, -0.9203598499, -0.2456852794, -0.0265456606, -0.3058544397, -0.5610214472, -0.3338027, 0.4252168536, -0.4767004251, 0.0301249884, 0.0861489177, 0.7734769583, 0.074454017, -0.4106824994, -0.5572097301, -0.5464583039, 0.5667243004, -0.7315503359, 0.0667644292, 0.5154643059, 0.1398898512, -0.2992171049, -0.496819824, -0.2165309191, -0.2955662012, -0.252633214, -0.1189004853, 0.2332056463, -0.1372269243, 0.5549296737, 0.2293594629, -0.1974171549, 0.3156788051, -0.2245544046, -0.1319992691, 0.1807236075, 0.605630815, 0.2484440207, -0.32540676, -0.4980033338, 0.179977268, -1.0554924011, 0.2910733819, -0.1472018808, 0.4511294365, -0.019536715, 0.4356444776, -0.1490620375, 0.6901861429, 0.0338318795, -0.2779922485, 0.0038230997, -0.3959222734, -0.111125797, 0.0507029183, 0.4128893316, 0.1573299468, 0.1306023747, -0.1066424996, -0.6004292369, -0.4300194383, 0.4516287744, -0.7739418745, 0.3220653236, 0.041159343, -0.3316404521, 0.1239288002, 0.1789946109, -0.2707680762, -0.5565215945, -0.2899032533, 0.6654769778, -0.5794565082, 0.0534872189, 0.0378425494, -0.1777760386, 0.1703367084, 0.3256791234, -0.9030347466, 0.0711853877, 0.8957439065, 1.1139591932, -0.366410017, -0.339703083, -0.7107334733, 0.2625887096, -0.3324650228, 0.7538899183, -0.6156606674, -0.5998936892, 0.332003653, 0.1383164078, -0.2468383461, -0.8369396329, 0.3756897449, -0.4971126914, 0.0080212681, -0.7887017131, -1.0379025936, -0.2803752422, 0.2416734248, -0.8163421154, 0.9513838291, -0.0382891037, -0.686653316, 0.5144806504, -0.0260405876, -0.3959704936, 0.0194517374, -0.2314970493, -0.2359931767, 0.3481529951, -0.04321732, 0.6985886097, -0.2923827469, 0.2727241516, -0.0578547306, -1.1385827065, 0.6033909917, -0.3407032192, 0.5046896338, -0.2700684369, 0.0307906121, 0.0517633371, -0.7788863182, -0.5251927376, -0.0126566133, -0.6401794553, -0.6085269451, -0.0797622427, -0.2500855029, 0.1083833054, 0.1656431705, -0.3750066757, 0.0867114514, -0.3342466354, 0.2793733478, 0.8144234419, 0.1987979114, 0.3072615266, -0.5547584891, 0.4997042716, -0.143989861, -0.1181774288, -0.7737181187, -0.0293393806, -0.7277315259, -0.4834487438, 0.1633007824, 0.5140054226, -0.4918288887, 0.2558320165, 0.0110615678, -0.2611326873, -0.0284004789, 0.0168875363, 0.4185228646, 0.7541828156, 0.0024828846, -0.2761752307, -0.4571943879, -0.7906973362, -0.3659024835, -0.0506331511, -0.0300486125, 0.5572769642, 0.3856140971, -0.1026012003, 0.9153678417, -0.0681707859, -0.1753917187, -0.2499670535, -0.1961860359, 0.6241261363, 0.1846928, 0.319057405, -0.3139730096, -0.273588568, -0.3420554399, -0.8608890176, -0.1078955308, -0.2902756333, -0.0204048567, 0.4060786963, 0.6269373298, -0.5473044515, 0.3363172114, 0.2254661918, -0.4553938806, 0.7247985005, -0.3626587689, 0.0261647869, -0.6452142, 0.4495465755, -0.2790324688, -0.0762327909, -0.6387882829, -0.2762561142, 0.4642757773, 0.2923574448, -0.6060586572, 0.7595691681, -0.4634374082, -0.1503479332, -0.1722931117, 0.1433436573, -0.0417706631, 0.1488839239, 0.0714705586, 1.259427309, 0.4136603475, -1.0702254772, -0.1149296463, 0.0642077699, -0.7397342324, 0.5697099566, -0.610116601, 0.1878374815, -0.0017972451, 0.1334522665, -1.0682297945, -0.2727997303, -0.0698016509, -0.0591958985, 0.3994067311, 0.1454770565, -0.5559359193, -0.0545871519, -0.1902610213, 0.2411192954, 0.3985266089, -0.6092998981, 0.5820471048, 0.3323446512, -0.0430278257, -0.5318321586, -0.241118595, -0.0136358896, -0.5856263638, -0.1628130376, 0.0660070553, 0.0981666297, -0.101401709, -0.5230773687, -0.1667277068, 0.1991108954, 0.433345437, 0.3112887442, 0.4574064314, 0.1019686162, 0.5419697762, -0.3658091724, -0.1495938599, 0.2587345839, 0.0746203065, 0.473778218, 0.0097253025, -0.1458912939, -0.4136406481, 0.1853602082, 0.3931828737, 0.1749262065, 0.7353582382, 0.0055660205, -0.3557669818, -0.1119017154, -0.7005854845, -0.3955047131, -0.4424378276, 0.4958277643, -0.4499873221, -0.9080082178, 0.6218953729, -0.0339961685, -0.06080091, 0.0896393433, 0.554291904, -0.3572376072, 0.5275113583, 0.61310184, -0.091499649, 0.7513148189, -0.0260672551, -0.3000694215, -1.0435563326, -0.3412199616, -0.3604876697, -0.1373447776, -0.0166357141, -0.2056958675, 0.5192012787, 0.1376479864, -0.2100503743, 0.1487877816, -0.0704870075, 0.5521756411, 0.5736293793, 0.0027427701, 0.4909139276, -0.0783475861, -0.388699621, 0.0484421924, -0.8620579243, -0.8384665251, 1.0275019407, 0.384582907, 0.6332902908, -0.0512570292, 0.47230196, -0.1154346168, 0.1397090852, -0.8072696328, 0.6011603475, 0.0304640718, -0.5805001855, -0.3168845177, -0.1346237063, -1.101947546, 0.2998162508, -0.1846002936, -0.7652797699, -0.0489183962, 0.1955170929, -0.492511034, 0.0523802303, -0.6239107251, 0.5279445052, -0.1746880114, -0.3834749758, -0.1672317684, -0.4238793254, 0.3633087277, -0.3128938973, 0.0302509572, -0.1613307446, -0.2117218971, 0.5754052401, -0.1514754593, 1.020539999, 0.0708347037, -0.1925352365, 0.2849601507, 0.248565495, 0.6030864716, -0.0102323489, -0.1893711984, 0.2394471169, 0.0806854963, -0.0834546164, -0.4959355295, 0.5300136209, -0.4772516191, -0.7809303999, -0.3293909431, -0.4581488371, -0.3170394897, -0.0050414773, 0.1169335172, 0.5758682489, -0.5042930245, 0.2114970833, 0.8551191688, -0.445877403, 0.6040101051, 0.7006340623, -0.2325882018, 0.0086400909, 0.7408897877, 0.2889525294, 0.3661194444, 0.4622170329, 0.2066123337, -0.164291352, -0.3925850987, -0.3291373551, 0.3946663439, -0.8255913258, -0.2217695266, -0.5362051725, -0.0554031171, 0.1189686134, -0.0833713636, -0.1277801245, -0.2053127289, -0.6142523289, 0.0101392576, 0.5871289968, 0.9449541569, 0.1759659648, 0.3312970102, -0.6707441807, -0.0214087255, 0.3036186099, 0.4998469353, 0.316955626, -0.7214844823, -0.4476942122, -0.2834724188, -0.0441486351, -0.7794837356, 0.1107517928, 0.0828693062, 0.7011188269, 0.205180794, -0.2679775655, 0.5241203904, -0.5978218913, 0.659455061, -0.0976347104, -0.8779301047, 0.4715476036, -0.3983807862, 0.6259236336, 0.4179409742, 0.2453421354, -0.8367296457, -0.2809921205, -0.3420647681, -0.9370366335, 0.8580105305, -0.1103779376, 0.0703032687, -0.2893351018, 0.6945762634, 0.2650673389, 0.062019825, -0.2951548696, 0.1229171753, 0.2377791256, 0.039026089, -0.0033484655, -0.6391344666, 0.0105762156, -0.1053583845, 0.4290369749, 0.0008351069, 0.1121100932, 0.1279437095, -0.3171529472, 0.2949354947, 0.0395611078, 0.5866390467, 0.8965055943, -0.3544518948, 0.067061305, 0.5021784902, -0.444896996, -0.0233172774, -0.5452225804, -0.3074334264, -0.0513363853, 0.6077866554, 0.6572745442, 0.5084400773, -1.0644518137, 0.5028681159, -0.0609775335, 0.2965604961, -0.3325717747, 0.3172638714, 0.1162340716, 0.2173124403, 0.355866313, -0.430278033, 0.2461184859, -0.6287862659, 0.1975040138, 0.6009297371, -0.3191343546, -0.1534592807, 0.2347321212, 0.096549578, -0.42892766, 0.6156489253, 0.2337878346, -0.37114501, 0.7913615108, 0.7139770389, 0.7161873579, -0.1860866249, -0.1343457848, 0.612298727, 0.0586833097, -0.2727976143, 0.1804577708, 0.1667115241, -0.4529725611, -0.1835285723, -0.2391821891, -0.2285354733, 0.039205499, -0.6664128304, 0.3063602746, -0.5519393682, -0.3037688136, -0.6053190231, -0.1535516828, -0.6975346804, 0.1079440042, -0.0017598324, 1.0404348373, -0.5755724907, 0.7874150276, 0.3354610205, -0.2078609169, -0.7221811414, -0.0530932359, 0.1492431462, -0.9033527374, 0.5083227754, 0.51300776, -0.236580804, -0.3194097579, -0.4358065724, -1.2094813585, 1.3291319609, 0.1828221977, -0.719281137, 0.1959508955, -0.2350660563, 0.4770764112, -0.5977309346, 0.5230494142, 0.8763250709, 0.0650476143, 0.2307575494, -1.0645701885, 0.2475762069, 0.1309810877, 0.3993651271, -0.0464428291, -0.5884554982, 0.8288679719, -0.3357408047, -0.5084661841, 0.2683651149, 0.392714411, 0.7604299784, 0.0523581691, 0.2912756205, -0.0143336337, 1.0782734156, 0.1755991727, 1.1394467354, -0.0422835983, 0.0711885318, 1.1334291697, -0.2788626552, 1.1860135794, 0.6525992155, 0.1604054719, 0.406236887, 0.576187253, 0.2282258272, 0.3962978721, 0.2176112235, 0.0169146862, -0.216210112, -0.2206007093, -0.2104852051, 0.4144489765, 0.5482373238, -0.5021930337, 0.1155038849, -0.1043179259, 0.0325863585, 0.0941920131, -0.2613646984, 0.9414631724, 0.1273031384, -0.6505895853, 0.8047237396, -0.2235658914, 0.6444507837, -0.4711562991, -0.1442732364, -0.4098139703, 0.0734779239, 0.1721408367, -0.5657660961, 0.076771386, -0.102122806, -0.3717483282, -0.0459483825, 0.5495221615, -0.257039696, -0.2769524753, 0.3127077818, 0.3989837766, 0.1682538986, 0.0927345976, -0.3046362102, 0.3732883632, -0.2996887267, -0.2508410513, 0.3738279045, 0.4777835906, -0.1580988318, 0.8878828883, 0.2598400712, 0.1242132485, -0.0353914201, 0.0098398551, 0.6771051288, -0.9855030775, -0.3746530414, -1.0056481361, 0.346273452, -0.0166104492, -0.3948113024, 0.8403056264, 0.5612962246, 0.7296522856, -0.0196477193, 0.5829443932, 0.3670405149, 0.9249603748, -0.9286214709, 0.5339028239, -0.4707579613, 0.6601201892, -0.2006064057, -0.7199326754, -0.1163286716, 0.6792632937, -0.2393188626, 0.1349542737, 0.8282095194, 0.76696527, 0.2567125857, -0.0476369746, 0.4036852419, 0.3566743135, 0.1929632276, 0.8610366583, 1.2305880785, -0.295755893, 0.1622842997, 0.1892646551, -0.1709770262, -0.555334866, -1.0280145407, -1.086304903, -0.5328924656, 0.0704692081, -0.2252223045, -0.0356506072, 0.8622688651, 0.4651241899, -0.5185275674, -0.6608537436, 0.3450608253, 0.3010932803, -0.0645510703, -0.131834209, 0.3625901937, -0.5759310126, -0.5067639947, 0.3631453812, 0.4352087975, 0.1391882747, -0.1268655062, -0.0583027974, -0.2295456231, 0.2034777254, 0.5988805294, 0.1695587188, -0.9209937453, -0.3095249832, 0.1413146555, -0.3443615735, 0.0610109195, 0.9478347898, -1.1081879139, 0.5208767056, 0.4019819796, 0.5588877201, 0.2355621755, 0.1346100718, 0.6682367921, -0.6095674634, 0.0918810517, 0.0239742808, 0.3329042196, 0.3623598814, -0.3681534231, 0.2484513819, 0.0930628181, -0.5046642423, -0.7210224271, 0.0286189299, -0.5473745465, -0.5591720939, 1.5619168282, -0.0125539508, -0.0969593525, -0.2089701444, -0.3559130728, -0.0625922456, -0.3769407868, 0.9294084907, 0.9642380476, 0.0023974113, -0.0548283868, -0.6545442939, 0.507856369, 0.4079414904, -0.4711191356, 0.1488519907, 0.6378218532, 0.4372724593, -0.2435251623, 0.8044047952, 0.140393123, 0.1579353362, -0.2937631905, -0.2587381303, 0.0717360973, -0.5109796524, -0.7263213992, 0.0938269123, 0.2181507498, 0.055189535 ]
http://arxiv.org/abs/2404.08856v1
http://arxiv.org/pdf/2404.08856v1
On Speculative Decoding for Multimodal Large Language Models
2024-04-13T00:02:36
2024-04-13T00:02:36
Mukul Gagrani, Raghavv Goel, Wonseok Jeon, Junyoung Park, Mingu Lee, Christopher Lott
cs.CL
cs.CL, cs.AI, cs.LG
Inference with Multimodal Large Language Models (MLLMs) is slow due to their large-language-model backbone which suffers from memory bandwidth bottleneck and generates tokens auto-regressively. In this paper, we explore the application of speculative decoding to enhance the inference efficiency of MLLMs, specifically the LLaVA 7B model. We show that a language-only model can serve as a good draft model for speculative decoding with LLaVA 7B, bypassing the need for image tokens and their associated processing components from the draft model. Our experiments across three different tasks show that speculative decoding can achieve a memory-bound speedup of up to 2.37$\times$ using a 115M parameter language model that we trained from scratch. Additionally, we introduce a compact LLaVA draft model incorporating an image adapter, which shows marginal performance gains in image captioning while maintaining comparable results in other tasks.
[ -0.1725218296, -0.6169975996, 0.6659001112, 0.3544896841, -0.5313061476, 0.2056154013, -0.1637837142, -0.6855527759, 0.3963467479, 0.7091255784, -0.3256375194, -0.0964580774, -0.474337399, 0.0202186573, -0.3455364704, 0.3959702551, 0.0518760458, -0.040664617, -0.1513326615, 0.1922422498, -0.198817715, -0.5243518949, -0.5400384068, 0.2709745765, 0.6513378024, 0.1317930818, 0.540186584, 0.6301445961, 0.3407150805, 0.3303823769, -0.0663124174, 0.5166525245, -0.6904129982, 0.3734368682, 0.0347024612, -0.8419926167, -0.3391485512, -0.382956624, 0.8507744074, 0.2615974844, 0.0759455413, 0.0730755851, -0.5226964951, 0.5554000139, -0.9809634089, 0.3925478458, -0.8396803141, -0.2381081134, -0.4424135685, -0.4379295409, -0.980465889, 0.0148053635, -0.372271955, -0.6940760612, 0.2516696155, 0.6789585352, 0.7073003054, 0.1278049946, -0.2954500914, -0.0200799685, -0.6339431405, 0.7798268795, -0.8466548324, 0.5738898516, 0.4380955398, 0.3813127279, -0.277846843, -0.7158041596, -0.8751224279, -0.2483645082, 0.0488467216, 0.0264067706, -0.062845163, 0.2048134506, 0.38059479, 0.1331085712, -0.3238390088, 0.0521691032, -0.5134937763, -0.548894763, 0.5073408484, 0.3242067695, -0.0558183379, -0.2094844878, -0.2193762511, -0.0885285884, -0.5696671605, 0.0064946208, 0.4959818125, 0.0644757822, -0.0559942946, 0.5785989761, -0.216385901, 0.6974733472, 0.0015805913, -0.5187945366, 0.2443620414, -0.1634870917, -0.1076729, -0.2195732445, 0.4245858192, 0.6327083707, -0.1092882156, -0.3762358129, -0.2457897961, 0.556507051, 0.0981710106, -0.8328137994, -0.2424398363, 0.2549116015, -0.7573280931, -0.0556849875, -0.4205441177, -0.6978903413, -0.4904676378, 0.0183611959, -0.0386259966, -0.5237470269, -0.3402220011, 0.3742471635, -0.3795228899, 0.2661955357, 0.6070679426, -0.9742072821, -0.0643497854, 0.233611688, 0.6500127316, -0.1742086262, -0.3630174398, -0.5246919394, 0.3434522152, -0.5727958083, 1.3467466831, -0.8111943007, -0.287214309, -0.2233326435, -0.0992948189, -0.1969438791, -0.0795434713, 0.6576559544, -0.9849292636, -0.41715312, -0.2520670295, -0.6252679825, -0.1518887728, 0.2192620784, -0.9015365243, 0.506590426, -0.2964577079, -0.8683921695, 0.5143765807, -0.2915333807, -0.1999627352, -0.09421058, -0.0218979008, 0.0491965897, 0.3094245195, 0.5769524574, 0.5505509377, -0.3483954072, 0.2039033473, -0.60044837, -0.7730615735, 0.3270200789, -0.8869869709, 0.2253405303, 0.5884846449, 0.1983523518, 0.0113062738, -0.5928888321, -0.0854637399, 0.0127404369, -0.4679175019, -0.2443936169, -0.0452015884, 0.2345105112, -0.1351768821, 0.0106724286, -0.4896357656, 0.421182394, -0.2882902622, 0.1513879448, 0.6436257362, -0.142125845, 0.400821954, -0.2733106911, 0.5253783464, 0.2085704803, 0.0813487396, -0.633800745, -0.4057224393, -0.9105828404, -0.585259378, 0.3626250029, 0.2429812998, -1.4337587357, -0.3756052256, -0.2615870237, -0.3665933013, -0.8093669415, 0.0206707362, 0.289082408, 0.1802669615, 0.1255108416, 0.0195390843, -0.6288266182, -1.0246111155, -0.3029498756, -0.1672077924, 0.3577256203, 0.245817706, 0.0844555199, -0.1740349382, 0.3246316612, -0.3330039084, 0.3066074252, -0.5358638763, -0.0693208277, 0.2884310484, 0.3423479199, 0.76926893, -0.6886406541, -0.2487534732, -0.2297770381, -0.7095449567, 0.2471208423, -0.2536760867, -0.3207378387, 0.4869198501, 0.6731843948, -0.9600322843, 0.3320937157, 0.6600030065, -0.3775990903, 0.6479516029, -0.2889475524, 0.4567601085, -0.932534039, -0.0302189663, -0.3349324763, -0.139041692, -0.581880033, 0.3439202309, 0.3270095289, 0.2070555836, -0.6204730868, 0.6601402164, -0.7671967149, 0.0902827829, -0.4324592948, -0.1780163199, 0.1959366649, 0.3172976077, 0.2218366712, 0.883913815, 0.7628697157, -0.3824210763, 0.1327636838, -0.2225307524, -0.4176962376, -0.0901620686, -0.230610162, 0.1617078185, -0.5124365091, 0.5247476101, -0.9202222824, -0.4008429646, 0.1114045903, -0.0769762248, 0.4290274084, -0.2528552711, -0.6952067614, -0.4913513958, -0.3143907487, 0.7158960104, 0.4653149545, -0.4428442419, 0.9107604027, 0.201694712, 0.2721838355, -0.8821677566, -0.7251890302, 0.2665073872, -0.0464367531, -0.5716579556, 0.0724403113, -0.0626213998, -0.0803169012, -0.0533783585, 0.1631760001, -0.0025540881, -0.1418160945, 0.2331796139, 0.4060764611, -0.347809881, 0.1011692435, 0.2924799025, -0.0476813093, -0.084274292, -0.3215483129, 0.4950399101, -0.2453365326, -0.3298259676, -0.3232871294, 0.4480931163, 0.7860171795, 0.0735728294, 0.7356745601, 0.5945833921, -0.055133231, -0.1266875565, -1.1474192142, -0.0761713013, -0.4954074025, 0.301176995, -0.6430844069, -0.818698287, 0.6671863794, -0.1171195209, -0.0537948646, 0.4092310667, 0.6260301471, 0.0264667645, 0.5671214461, 0.6310638785, 0.0421623103, 0.2799613476, -0.2510500848, 0.0294407029, -0.6471309066, -0.2713015378, -0.123770237, -0.1705647707, -0.3032799661, -1.0560992956, -0.0572173558, 0.0951676816, 0.2889883816, -0.0552192517, -0.0003354257, 0.7136785388, 0.4566465616, 0.2580532134, 0.3852478564, 0.2186257988, -0.247877866, -0.0287067052, -0.9743972421, -0.2854409218, 1.1547677517, 0.2674458921, 1.234172225, 0.0833266377, 0.3738388121, 0.270855993, 0.4328329563, -0.5476731658, 0.4876112938, -0.2349255532, -0.7281616926, 0.046262484, -0.1705467254, -0.7192720771, 0.5314544439, -0.3942323625, -0.6629744768, 0.4512594342, 0.5903601646, -0.2483093739, 0.6599710584, -1.0093755722, 0.4161664844, 0.0268308558, -0.5784267187, -0.3813301623, -0.3759063184, 0.8571861982, -0.03339779, 0.1982166618, -0.1276900768, 0.0334431343, 0.5308326483, 0.0589601658, 0.996522069, -0.2168715745, 0.025107678, 0.4474492669, 0.2330971658, 0.6377037168, 0.1223998889, -0.3955155313, 0.0895602927, 0.1353926212, -0.6621569395, -0.6770771742, 0.6249830127, -0.6376799941, -0.7333075404, -0.1422950476, -1.0010368824, -0.3208352625, 0.0485278703, 0.1642991006, 0.4071024358, 0.2305564433, 0.0004541336, 0.5387641191, -0.1883280873, 0.6139340997, 0.3662284315, -0.3022079766, -0.1427190006, 0.9678380489, -0.1921494752, 0.3710891008, 0.5041528344, -0.1029363051, -0.5103079081, -0.8041170239, -0.6499618888, 0.2903203666, -0.962331593, -0.2359075695, -0.8650570512, 0.0548040867, -0.3176255226, -0.1582115889, -0.4210550785, -0.5322034359, -0.1387804598, -0.0097115673, 0.541665256, 0.5491578579, 0.144580543, 0.3247302473, -0.8591857553, 0.3970022798, -0.1946236491, 0.2107564211, 0.435264498, -0.6618126035, -0.274094224, -0.1724175513, 0.1557005495, -0.5649724603, 0.5081995726, 0.0295353029, 0.6688606143, 0.5532391667, 0.0884034038, 0.9452379942, -0.4721981883, 0.621956408, 0.2028115094, -0.6639169455, 0.0371947326, -0.3342188597, 0.3682782054, 0.3048277497, 0.1282609105, -0.1241210327, -0.5341546535, -0.2265421748, -0.7780745029, 0.4495511651, 0.0563659482, 0.3722270429, -0.1613702327, 0.3850078583, 0.3402474225, 0.1692063212, -0.6213703752, -0.1490783691, -0.2222552896, 0.1830945164, -0.1169038117, -0.7889770865, 0.1320783347, -0.2255544811, 0.2446038127, -0.2831397951, 0.4499190152, 0.1001884043, -0.1977450848, 0.0140486863, 0.3528401852, 0.7374617457, 0.3986415565, -0.2090650648, 0.3364762068, 0.1508597285, -0.4771821201, 0.1387347579, -0.037405137, -0.0414724238, -0.0279903598, 0.6819337606, 1.1463499069, 0.1719359607, -0.8559458256, 0.170274958, -0.3370435238, -0.2147278935, 0.0825063139, 0.0018281147, 0.3079492152, 0.5181664824, 0.3898431659, 0.418104142, 0.3011524975, -0.4003722966, 0.0418187492, 0.3048130572, 0.3125805557, -0.2148410231, 0.6943634748, 0.0869327784, 0.3182947636, 0.4784478545, -0.2267507315, -0.111791864, 0.4937214553, 0.9102609754, 0.5011433363, 0.200992167, -0.0269605033, 0.1407051533, 0.3692270815, -0.1212770268, 0.5529175401, 0.0311588068, -0.7224733233, -0.9125518799, -0.9085945487, -0.200247854, -0.1575414091, -0.3421902359, -0.1131969541, -0.433322072, -0.2273520231, -0.1623792648, -0.4956714511, -0.7387140393, -0.0674599633, 0.3332336545, 1.0957559347, -0.4855804741, 1.0869133472, 0.4429737926, 0.0145727536, -0.9342816472, -0.0688708499, -0.2919232845, -0.7970534563, 0.8579770923, 0.1159953102, -0.3486673832, -0.2198724896, -0.343354404, -1.1746537685, 0.918489635, 0.7321568131, -0.8265939355, -0.1411508024, -0.2990023792, 0.4500105977, -0.4572090507, 0.4262346625, 0.2979548872, 0.4229998887, 0.3984950483, -0.6927983165, 0.2263931185, -0.4614595771, 0.1750133783, -0.1587561369, -0.7239085436, 0.9828773141, -0.6505428553, -0.1539916098, 0.2519962192, 0.8935358524, 0.3644171655, 0.1993581504, 0.4413054883, 0.3214602768, 0.6774194837, 0.3188141584, 1.4484928846, -0.4285516143, 0.024184335, 0.7322548628, -0.2033479959, 1.0466582775, 0.6893658638, 0.0183525607, 0.393089205, 0.5321205854, 0.1675664485, 0.5773025751, -0.0242359545, -0.2652576268, -0.6599028111, -0.0964808539, -0.3210009336, 0.3720343709, 0.6501774788, -0.4202948213, -0.1540471315, 0.1510150433, -0.2214746922, -0.1387528628, -0.4042557776, 0.264768213, 0.1029445454, -0.5269075036, 0.8883071542, 0.089365229, 0.7926322818, -0.5214536786, 0.0013976109, -0.1293621808, 0.1443751454, 0.1347059757, -0.5419498086, 0.1750428677, -0.2666952908, -0.3325603604, -0.0079265796, 0.8508693576, -0.3221696317, -0.8460508585, 0.2289136648, 0.4755338728, 0.2230612189, 0.0433615334, -0.4000468552, 0.6440051198, -0.0858417377, -0.2645801902, 0.1959354877, 0.4492419362, -0.189814657, 0.9775801301, 1.011915803, 0.0665182993, 0.2262343913, 0.130854398, 1.2639322281, -0.6864122748, -0.5365012884, -0.8212544918, 0.3841800392, 0.1265228838, 0.0409894474, 0.7389163375, 0.375028342, 0.4180725813, -0.5578445196, 0.736137569, 0.1004372388, 0.0254757348, -1.1110391617, 0.6607112288, -0.4348908365, 0.3786108792, -0.1011146829, -0.5449592471, -0.2016198784, 0.1361011267, -0.252502352, -0.2071885467, 0.7374922633, 0.9755970836, -0.0583938994, -0.1423399448, 0.7280853987, 0.4317748547, 0.1933936626, 0.4308028221, 0.9971524477, -0.2645498812, 0.4539686441, -0.1886691898, 0.063095428, -0.2675995827, -0.917748332, -1.2715587616, -0.3204404414, 0.2614219189, -0.3960527778, 0.3318292499, 0.6083464622, 0.7488040328, -0.512996912, -0.1265941262, 0.3581525087, -0.0439753346, -0.041662734, -0.198714301, 0.3729613423, -0.3462966979, -0.594478786, 0.5141214132, 0.2715193331, 0.0961999819, -0.2917284369, 0.0564227849, -0.1828782111, 0.294727236, 0.8637084961, 0.0691654757, -1.1721919775, 0.0301131774, 0.1449006349, 0.149287641, -0.2212562114, 1.0018024445, -0.8812416196, 0.5026792288, 0.3387161791, 0.6741840839, 0.8158220053, -0.0417893343, 0.5896685123, -0.2643177509, 0.8703248501, 0.0778359696, 0.605553925, 0.1621648371, -0.5556886792, -0.1549270302, 0.3347944319, -0.1686926484, -0.7721950412, 0.0717645735, -1.1084573269, -0.4849574566, 1.1639196873, -0.1246078685, -0.6548554897, -0.0908523053, -0.4134407341, -0.2767954767, -0.7113768458, 0.696378231, 0.484057337, -0.0934443399, -0.6194502115, -0.5167655349, 0.3483462632, 0.2155596912, -0.5440458655, 0.1737051904, 0.5791273713, 0.0016800978, 0.0541836098, 0.831749022, 0.1312064081, 0.4057326615, 0.7560552955, -0.0569485836, -0.223860532, -0.3576048911, 0.2274641097, 0.2436702996, 0.3243954182, 0.2044004053 ]
http://arxiv.org/abs/2404.08846v2
http://arxiv.org/pdf/2404.08846v2
Experimental Design for Active Transductive Inference in Large Language Models
2024-04-12T23:27:46
2024-05-31T02:37:10
Subhojyoti Mukherjee, Anusha Lalitha, Aniket Deshmukh, Ge Liu, Yifei Ma, Branislav Kveton
cs.LG
cs.LG, cs.CL
One emergent ability of large language models (LLMs) is that query-specific examples can be included in the prompt at inference time. In this work, we use active learning for adaptive prompt design and call it Active In-context Prompt Design (AIPD). We design the LLM prompt by adaptively choosing few-shot examples from a training set to optimize performance on a test set. The training examples are initially unlabeled and we obtain the label of the most informative ones, which maximally reduces uncertainty in the LLM prediction. We propose two algorithms, GO and SAL, which differ in how the few-shot examples are chosen. We analyze these algorithms in linear models: first GO and then use its equivalence with SAL. We experiment with many different tasks in small, medium-sized, and large language models; and show that GO and SAL outperform other methods for choosing few-shot examples in the LLM prompt at inference time.
[ 0.0349419639, -1.1247160435, 0.716978848, 0.3518352807, -0.2932211757, -0.1924068034, -0.3354270458, -0.3329977691, -0.1490055621, 0.0928846151, -0.5882645249, -0.2350265235, -0.1762008965, 0.1135038435, -0.1556693465, 0.5479230285, -0.1823385954, 0.0403160974, 0.2589336932, -0.2273202688, -0.431504488, 0.0462749898, -1.1061016321, 0.0791943297, 0.4950416982, 0.356800884, 0.6062496901, 0.5128272772, 0.103320241, 0.2484470457, -0.3053766191, 0.2667143345, -0.067810595, 0.4189734459, -0.2251806706, -0.6195055246, -0.1616254002, 0.0223600511, 0.8261017203, 0.8492587805, 0.1147228628, -0.066336371, -0.0905395001, 0.0251036286, -0.6904431581, -0.0167314727, -0.5850530267, 0.091997534, 0.2050356567, -0.0238001216, -0.7159372568, -0.3668714166, 0.1021004245, -0.5289726853, 0.097127974, 0.3327325881, 0.4137664735, 0.238553673, -0.3115122914, -0.2985855043, -0.8558638096, 0.8497871161, -0.8759101033, 0.3327693939, 0.2887397408, 0.2726570666, -0.3442238867, -0.7872538567, -0.4892605543, -0.2967313528, -0.0448390506, 0.0934554711, -0.3459630907, 0.0417843163, 0.3642298877, -0.1168038175, -0.60778898, 0.4175544381, -0.1755238622, -0.0763716847, 0.4551497102, 0.012595553, 0.1644072384, 0.0131375436, -0.2470924109, 0.0163401943, -0.8085561395, 0.2664097548, 0.0307320002, 0.5586506724, -0.0894031227, 0.5113751888, -0.0036749421, 1.0863375664, 0.2014458776, 0.045182582, 0.0905470476, -0.3189877272, -0.2859844863, -0.0528229438, 0.8777101636, -0.177250579, 0.1665458083, -0.105462715, -0.3807716072, -0.3281902373, 0.0861147866, -0.4658082426, -0.051940728, 0.2275742739, -0.3403620422, -0.0165760536, -0.2631895542, -0.55788064, -0.293982923, -0.151553899, 0.6447714567, -0.3926315308, -0.0326817967, -0.1540693194, -0.0481301881, 0.2273727953, 0.4903508127, -0.7720480561, 0.1834174842, 0.3462219834, 0.8926786184, -0.525246799, -0.3522382975, -1.0703245401, 0.1863460988, -0.5185030699, 0.9101670384, -0.9096787572, -0.3923934698, 0.0083160447, 0.1415242851, -0.1011116281, -0.3566676974, 0.64306885, -0.6680545211, 0.4284386635, -0.0855006874, -0.4673700929, -0.1895510107, 0.0322305709, -0.609413743, 1.0320103168, 0.1473414898, -0.5561518669, 0.4432983398, -0.8665810823, -0.3645267189, 0.0743222833, -0.1586539447, -0.3939158022, 0.4078655541, 0.2358547747, 0.3692194223, -0.0649208352, 0.0224237759, -0.3641827404, -0.4595252275, 0.4343479276, -0.4657019377, 0.9629075527, 0.2221248299, -0.4328267574, 0.4228393137, -0.664023459, 0.1689458489, 0.0937154591, -0.4203572571, -0.5647582412, 0.0483054928, -0.3523875475, -0.0423312336, -0.233031556, -0.2935488224, 0.4027714431, -0.4056966007, 0.2347579151, 0.9630317688, 0.319462955, 0.6809142828, -0.0832519084, 0.719174087, -0.0640490651, 0.0847181007, -0.1454860419, -0.4796254635, -0.8169665337, -0.4641119838, 0.5504626632, 0.5009264946, -0.791330874, 0.2303224206, 0.1487236023, -0.2392398119, -0.4311327338, 0.0321519263, 0.1845862567, 0.4172032475, 0.2053937018, 0.1187874824, -0.3088378608, -0.785071075, -0.3949759305, -0.5411768556, -0.2196957171, 0.3869836032, 0.2934313715, 0.1551706046, 0.9051049948, -0.444452107, 0.4765351415, -0.3779230416, 0.2471465468, 0.4065158367, 0.2176447511, 0.6903486848, -0.609265089, -0.5397539735, -0.4697245657, -0.4397832155, -0.4690041244, -0.2739674449, -0.3083601892, -0.0054239957, 0.4123800695, -0.4803348184, 0.3260782957, 0.1770959496, -0.6077369452, 0.3297978044, -0.0821123496, -0.0669908151, -0.8792852759, -0.2133814394, -0.0618486106, -0.2805948257, -0.7475041151, 0.0980500057, 0.2766817212, -0.2343415916, -0.645940125, 1.1936962605, -0.729498744, -0.1540512592, -0.4332498014, -0.1116559356, -0.0763286725, 0.5475363135, 0.2663466036, 0.9528141618, 0.7212589979, -1.0922626257, 0.3939017653, 0.1067373231, -0.57495749, 0.1384246796, -0.7954612374, 0.2293581367, -0.2703867853, 0.2870856524, -1.4575793743, -0.1082797498, 0.3438442945, -0.2130096406, 0.3563450873, 0.016129382, -0.2685075998, -0.3036924303, -0.2283533514, 0.4234710932, 0.5720261931, -0.7548286915, 0.6744534969, 0.0266930666, -0.435169667, -0.4003432691, -0.6513447762, -0.1447807401, -0.3275294006, -0.3000835478, 0.0916354656, -0.316806823, -0.4520552456, -0.1222445965, 0.0726918653, -0.0486850105, 0.3642877042, 0.0679737553, 0.1980788559, -0.1682732403, 0.3663499355, 0.1596263796, 0.0925196707, -0.0941545442, -0.1581871063, 0.3848082125, 0.1924405992, -0.5302157998, -0.3501525223, 0.4307117164, 0.3450355232, -0.1363495886, 0.537165761, 0.2742423415, -0.3733282983, -0.8199588656, -0.2889495194, -0.2359138578, -0.4435899556, 0.1548948437, -0.4316078722, -0.5312043428, 0.4219908416, -0.0631463453, 0.6598202586, 0.0417580344, 0.7314344645, 0.0719751045, 0.9095097184, 0.4994469285, 0.2102078646, 0.9166260958, -0.0990668908, 0.0718977079, -0.6646049023, 0.1103172675, -0.5785832405, -0.4120905399, -0.0887102187, -0.6075754762, 0.5198607445, 0.030945573, -0.2534021437, 0.0776284412, -0.1857663244, 0.2993017137, 0.7083359957, 0.1701779813, 0.2635499835, 0.0758742914, -0.3790780604, 0.1743461341, -0.862701416, -0.2946510613, 0.8666579723, 0.2838894129, 1.1012957096, 0.4300861955, 0.2470775098, 0.2606877089, 0.2753208578, -0.9957016706, 0.6137827039, 0.1779451966, -0.7175387144, -0.3801162243, -0.1617918313, -0.9648874402, 0.1664346457, 0.0080888998, -0.5213027596, 0.3930398524, 0.1847873777, -0.6100106835, -0.0051884763, -0.8450933695, 0.4855142832, -0.3196382821, -0.6822593212, 0.1274401844, -0.4604442716, 0.3161590695, -0.1223987564, -0.0030277262, 0.13460581, -0.3927237689, 0.6772015691, -0.1174761355, 0.9466762543, -0.3517701328, -0.0928622261, 0.5744497776, 0.2098033577, 0.824246645, 0.1357119977, -0.5985198617, -0.5615984201, -0.6590710878, -0.4049332142, -0.6499499083, 0.4253056645, -0.6059730649, -0.6734591722, -0.2497581542, -0.5427546501, -0.4635782242, 0.0474040583, 0.1160144731, 0.4798626602, -0.1195043847, -0.0102220364, 0.7165645957, -0.3000889719, 1.0053220987, 0.9380817413, -0.0059436238, -0.0363457948, 0.3484160006, -0.0391897336, 0.4842405319, 0.3469846547, 0.3561026156, -0.4852761328, -0.7709697485, -0.6179582477, 0.2415736616, -0.7799276114, -0.129021436, -0.6360836625, -0.0613317564, -0.4471413791, -0.1344057918, -0.1252534986, -0.4080654979, -0.3867028058, -0.1152243987, 0.4130121768, 0.2624107897, 0.0195789356, 0.3767417371, -0.5039822459, 0.4077560604, 0.6010531187, 0.1569568515, 0.0219314229, -0.9763903022, 0.1242652535, -0.0854681358, -0.0436234102, -0.8685210943, 0.2019473612, 0.3783519566, 0.9248918295, 0.5993751884, 0.264226824, 0.3905400038, -0.5723523498, 0.8601194024, -0.0987940133, -0.6079896092, 0.7244381309, -0.1493590921, 0.5248407125, 0.5837827325, 0.5383673906, -0.3549837172, -0.3034572601, -0.4301576316, -0.4345908463, 0.7012653351, 0.0043303431, 0.0884041116, -0.0918209627, 0.3529553115, 0.4033754766, -0.110930495, -0.8562958837, -0.0911982954, 0.2229381949, -0.1904454529, 0.1626392752, -0.3483991623, -0.2387054265, -0.0863309801, 0.8131853938, -0.4139229357, 0.4876304269, 0.0505965948, -0.1315594912, -0.2093982399, 0.3212291002, 0.4946319461, 0.9194165468, -0.0675726458, 0.346955359, 0.3553667068, -0.213347137, 0.4574008584, -0.0215416662, -0.5217411518, 0.2519263327, 0.5987747312, 1.2821390629, 0.0449263938, -0.6649233699, 0.427701205, -0.2700505853, -0.0164237525, -0.166900903, 0.4749473035, -0.0370009392, 0.4575094283, 0.4920558333, -0.420912236, -0.0022901299, -0.808390975, -0.0143681187, 0.6101928353, -0.293607682, -0.3233752251, 0.7450645566, 0.2014804482, -0.6444227099, 0.4345463514, -0.331994921, -0.321769774, 0.4303050339, 0.7823818326, 0.8624216914, -0.4843755662, 0.1983030438, 0.2449082136, 0.0051022209, -0.1577737927, 0.4420711994, -0.0209022015, -0.6595010757, -0.538151145, -0.5466963649, -0.5210553408, 0.2863974571, -0.2144905329, 0.5154588819, -0.3983027339, 0.0680030361, -0.0008817386, -0.0289906953, -0.3288089037, 0.1771483868, 0.0859190151, 1.0695568323, -0.9933521152, 0.6585968733, 0.9554921985, 0.0328805186, -0.6788123846, 0.1008888707, -0.1364667416, -0.9523745179, 0.5404312611, -0.2758535445, 0.2502446473, 0.0121859647, -0.7308043242, -0.7804836035, 0.8695979714, 0.2030588984, -0.4492307603, -0.2033199668, -0.3729322553, 0.1829325408, -0.3619002998, 0.4935001433, 0.377500385, 0.4786081314, 0.3562562168, -0.6376730204, 0.1072553098, -0.0840074793, -0.0967793763, 0.1760509014, -0.7009549737, 0.8210823536, -0.35712412, -0.2281880528, 0.0844125897, 0.8411498666, 0.7051872015, 0.2367890477, 1.0039203167, 0.1185873523, 0.7273234725, 0.1080482751, 0.9048140049, -0.0029838406, -0.0582255125, 1.1782953739, -0.2007207423, 0.5490496755, 0.5073621273, -0.2721503079, 0.1782480329, 1.0184502602, 0.0835764483, 0.7691969872, 0.1659710109, -0.6079075336, -0.2237581015, -0.0849851295, -0.119095467, 0.3800976872, 0.3031698465, -0.4641501009, -0.2765719295, 0.183848232, 0.0219819732, -0.3686386049, -0.3803810775, 0.7718900442, -0.0594463907, -1.0202343464, 0.5972490311, 0.109240517, 0.4264730215, -0.7108963728, -0.0395257771, -0.4748206735, 0.0189179592, 0.174836129, -0.6200425029, -0.1313792914, 0.011307775, -0.0058512236, -0.2402333617, 0.7609520555, -0.3934959173, -0.6874135137, 0.0082356781, 0.6588130593, 0.2611455023, 0.2100992799, -0.7449324131, -0.0365965627, 0.0611760169, -0.7308155894, 0.0864804536, 0.6763911843, -0.3416371942, 0.631855309, 0.42200315, 0.3464260697, 0.3102477789, 0.0767645463, 0.9274657965, -0.6738190055, -0.557112515, -0.8394799829, 0.4259227514, 0.062597096, -0.2516590357, 0.5593014359, 0.4299094379, 0.2710656524, -0.0326789878, 0.8723654151, -0.0363411494, 0.6427509785, -0.7980601192, 0.0869328454, -0.5686171055, 0.3572006822, -0.0630106702, -1.0856711864, -0.14567554, 0.6939105988, -0.1414675862, 0.0522055887, 0.8277395368, 0.7756015062, -0.3204125762, -0.1324469298, 0.0946584195, 0.316542238, 0.4880268276, 0.6579502225, 0.8429898024, -0.1047865376, 0.4063840806, -0.1293144971, -0.3485254347, -0.2264391929, -1.0315662622, -0.9895190001, -0.3983810544, -0.2112205178, -0.2313385904, 0.0004029455, 0.9151747823, 0.5914870501, -0.7001433969, -0.0199806206, -0.0746896639, 0.3358930647, -0.2670818865, -0.1861235052, 0.4833317697, -0.4389610589, -1.0768208504, 0.8310114145, 0.0496750586, 0.2636527419, -0.2058153898, 0.1186523959, -0.5553161502, 0.1166669577, 0.4367719889, 0.3332989514, -0.4808286726, -0.4655879736, 0.0835642517, 0.028867485, -0.1458587497, 0.9154381156, -0.930927515, 0.3340437412, 0.7100480199, 0.7397358418, 0.352058351, 0.2015764862, 0.7322502136, -0.6864314079, 0.4703040123, 0.3622508943, 0.3580873907, 0.0012652088, -0.1495284289, 0.7419563532, 0.1509295404, -0.3133617342, -1.0317659378, 0.2800693214, -0.9164125919, -0.6931070685, 1.6027296782, -0.307517767, -0.4182231724, -0.1337105185, -0.1077796966, 0.2494270056, -0.3689114451, 0.5367142558, 0.6536881328, -0.4288247228, -0.3092190623, -0.6374144554, 0.3592647314, 0.4710028172, -0.7874474525, 0.2243891507, 0.490860045, 0.1610043198, -0.0670442507, 0.5805539489, 0.3459035158, 0.3255919814, -0.2314537168, -0.3174346685, -0.0827835053, -0.4165783226, -0.4725388587, 0.2486162484, 0.2835109532, -0.2362535596 ]
http://arxiv.org/abs/2404.08836v1
http://arxiv.org/pdf/2404.08836v1
BERT-LSH: Reducing Absolute Compute For Attention
2024-04-12T22:35:00
2024-04-12T22:35:00
Zezheng Li, Kingston Yip
cs.CL
cs.CL, cs.AI, cs.LG
This study introduces a novel BERT-LSH model that incorporates Locality Sensitive Hashing (LSH) to approximate the attention mechanism in the BERT architecture. We examine the computational efficiency and performance of this model compared to a standard baseline BERT model. Our findings reveal that BERT-LSH significantly reduces computational demand for the self-attention layer while unexpectedly outperforming the baseline model in pretraining and fine-tuning tasks. These results suggest that the LSH-based attention mechanism not only offers computational advantages but also may enhance the model's ability to generalize from its training data. For more information, visit our GitHub repository: https://github.com/leo4life2/algoml-final
[ -0.4193285108, -1.0023735762, 0.7689352036, -0.2574599981, -0.1026248261, -0.3692900836, -0.1614133567, -0.8127223849, 0.1451477706, 0.411793083, -0.8820393085, -0.3476355672, -0.1492343247, -0.3164116144, -0.5868466496, 0.9699983001, 0.111600697, -0.144719094, -0.1689397544, 0.2174405009, 0.0524168126, -0.4942086339, -0.644982636, -0.2525230646, 0.8788970113, 0.2886661291, 0.614349246, 0.8135496378, 1.1091195345, 0.1927371323, 0.0754878521, -0.3066049218, -0.7836294174, 0.1162126362, -0.0011922533, -0.3477468491, -0.6331429482, -0.3253701329, 0.8559542894, 0.6241859198, -0.0824260861, 0.5451248288, -0.1632873565, 0.9996797442, -1.0578255653, -0.0270825494, -0.8027075529, 0.1125170887, -0.3130535483, 0.1236168519, -0.3821455836, -0.1478322297, 0.2569556832, -0.665497601, 0.6515920758, -0.0592728667, 0.8764752746, 0.6865450144, 0.0989060923, 0.1052888855, -0.3897259533, 0.8552007675, -0.7569066286, 0.368090421, 0.6341140866, 0.0149354478, 0.2428327501, -0.9049386978, -0.2989188433, -0.057565365, 0.0410975665, 0.1687808782, -0.0370979793, 0.4989542961, 0.299808681, 0.5529285073, -0.2567496002, 0.0204707086, -0.2807077467, -0.1847400218, 0.21448192, 0.1312106401, -0.0316350274, -0.2149563581, -0.3559230864, 0.1226500794, -0.8979789615, 0.1538038552, 0.1192178875, 0.5232698917, -0.0004410243, 0.1968062818, -0.158965081, 0.8227459788, 0.3329596519, 0.3404219151, 0.0019500373, -0.0609418601, -0.4848654568, 0.1395554841, 0.4087366164, 0.2306965739, -0.1008852944, -0.0503666848, -0.0993716642, -0.1529280096, 0.7832126617, -0.9136663079, -0.3792485297, 0.5312911868, -0.7953894138, -0.5195984244, -0.2224999815, -0.2437987626, -0.0216748249, -0.1367116421, 0.6598976254, -0.5130941868, 0.1970329583, -0.3348869085, 0.2355999202, 0.4036516845, 0.2706865966, -1.1480264664, 0.39031142, 0.6944856644, 0.8736203313, -0.2278009057, -0.1962949485, -0.4395755827, 0.3605092764, -0.3643101752, 0.5455792546, -0.1181312948, -0.182664454, -0.1037139222, -0.2775167525, 0.2229867578, -0.542331636, 0.6390657425, -0.6576460004, -0.1006945372, -0.8359851837, -0.646751523, -0.1553986222, 0.1808064133, -0.9797992706, 1.0094614029, 0.2347318381, -0.834262073, 0.0867475346, -1.1129939556, -0.4736370444, 0.2033886909, 0.0803425163, -0.5375833511, 0.285823971, 0.1505482048, 0.449578166, -0.0825374126, -0.1044527888, -0.4926595688, -0.8474799395, -0.0926115215, -0.0513187461, 0.6813317537, 0.4739921987, -0.4505860209, 0.4318007529, -0.4400275946, 0.4809860289, 0.1260592341, -0.1688390821, -0.2701719403, 0.0718330815, 0.1725177914, -0.1378538609, 0.6540407538, -0.4052644074, 0.0747493431, -0.531468153, 0.4304371178, 1.1455295086, -0.2462559938, 0.4514043927, -0.3243212104, 0.0447421931, -0.5099244118, 0.5180238485, -0.1069639847, -0.2080070376, -0.8345976472, -0.5314043164, 0.7507559061, 0.3362611234, -0.2341746539, 0.565694809, -0.0805465877, -0.1687013656, -1.2014635801, 0.0258347634, 0.5325295329, 0.5061129332, 0.2566202283, -0.5684236288, -0.4057607651, -1.3537149429, 0.104754515, -0.1733835936, 0.0816218778, 0.3855755329, 0.1604361534, -0.1815624386, 0.8370494843, -0.2997640371, -0.2265900522, -0.0271019842, 0.0807640404, 0.2299104929, 0.33885023, 0.6902070045, -0.5649448037, -0.8536983728, -0.0244584903, -0.6676572561, -0.0042768866, -0.004129542, -0.3029171228, 0.2781953514, 0.3738763034, -0.7547297478, 0.6817246675, 0.3426176012, 0.0298578851, 0.5976601243, -0.1946915686, 0.3110068142, -0.6259863377, 0.5396140218, -0.5601925254, -0.3315101862, -0.7912450433, 0.8364473581, 0.4256243706, -0.0636805445, -0.4669301212, 0.4813640118, -0.4923022687, -0.3643880188, -0.261226356, -0.2586776614, -0.2921657562, 0.7385598421, -0.0541818477, 0.9742825627, 0.5959649086, -0.5340294838, 0.3150622547, 0.1105356589, -0.5560858846, 0.2764135897, -0.8422960639, 0.3934262097, 0.0919430628, -0.0762308165, -0.8608164787, -0.3383026719, 0.0505596735, -0.5928536057, 0.3904211223, 0.2813003659, -0.5809771419, -0.4653390944, -0.8642709851, 0.4732945859, 0.7186892033, -0.5783330798, 0.4520623088, 0.038897004, -0.1704162359, -0.6532605886, -0.8442314863, -0.1273944974, 0.0139313461, -0.3747185171, 0.7935263515, -0.3769616187, -0.3594901562, 0.2775740325, -0.1498388648, -0.3152239919, 0.158432126, 0.0971563384, 0.1293817014, -0.0664017275, 0.3534634411, -0.059765134, 0.1058759913, 0.156796366, 0.045802664, 0.5365579128, -0.0447781868, -0.5053379536, -0.7214295864, 0.6519722939, 0.5935628414, 0.0030396271, 0.7180473208, 0.6541760564, -0.3601920903, -0.077542752, -0.6415123343, -0.4782537818, -0.5349814296, 0.6141778231, -0.2940401733, -0.7069761157, 0.8583498597, 0.4357393086, 0.1748433709, 0.4515389204, 0.872667551, -0.6209211946, 0.7895802259, 0.688809216, -0.4505519271, 0.9208292365, -0.0443871357, 0.1597388238, -0.9364175797, 0.3510777652, -0.2083999515, -0.5613113046, -0.2834683359, -0.333701551, 0.4537044466, -0.2225075662, -0.5943741202, -0.1759445816, -0.8280784488, 0.6476264596, 0.9669605494, 0.5133312941, -0.1962712854, 0.0894624591, 0.2159429789, -0.1711402684, -0.7501941919, 0.1209822968, 1.3199328184, 0.2222218215, 0.5647183061, 0.098584339, 0.9164636731, 0.7988144755, 0.1636061668, -0.8439290524, 0.5784198046, -0.0911889151, -0.9979660511, -0.5554243922, -0.5340678096, -0.9396367669, -0.0649779737, 0.1319337785, -0.5288822055, -0.2113014907, 0.2406633198, -0.6595195532, 0.4207684696, -0.9344199896, 0.7407881618, -0.2055313885, -0.7193661928, -0.5656057596, -0.9097299576, 0.1330109835, -0.309599191, 0.2152353674, -0.0310001839, 0.0238488521, 0.5857508183, -0.5976321697, 0.9295313358, -0.2813884616, -0.1544757783, 0.3344629407, -0.0132744638, 0.776283741, -0.4440588653, -0.0126590319, 0.0299083982, -0.4084181488, -0.8708763719, -0.3023126721, 0.9658688903, -0.9551766515, -0.394502461, -0.0812639445, -0.7598639131, -0.1227891445, 0.3583918512, 0.3135541379, 0.114555791, -0.1533308327, 0.1282081902, 0.9919216037, 0.1034653187, 0.4254682064, 0.3756457567, -0.0368544646, -0.2656794488, 0.5888327956, 0.1498069465, 0.5761665106, 0.4918048978, -0.1417532414, -0.1169860139, -0.5548297167, -0.1044943631, 0.2134162337, -0.794350028, -0.1920945644, -0.2440544665, -0.4059592783, -0.4574061334, -0.3873689771, -0.5271597505, -0.3388601243, -0.2210866362, 0.0054532271, 0.3143455386, 0.5519176722, -0.2077286094, 0.4045331478, -0.4788880646, 0.5715174079, 0.7763135433, 0.7168490887, 0.3083091974, -0.6311635375, -0.6375973821, -0.1297604442, -0.1356097758, -0.6462780237, 0.0220257621, 0.2616725266, 0.7106399536, 0.3209229112, 0.0960058123, 0.8682326078, -0.5306127071, 0.6317980289, 0.2560208738, -1.2666891813, 0.6262144446, -0.6832564473, 0.7528322935, 0.7927151918, 0.0367303528, -0.1360932291, -0.165281415, -0.6602184176, -1.0445231199, 0.8364807963, 0.4803232253, -0.0672428235, 0.1162922829, 0.6573870778, 0.0108752847, 0.1869070679, -0.922893405, -0.4736848176, 0.2125027031, -0.3883371651, 0.3191607296, -0.6089631319, -0.1247056574, -0.505623877, 0.7366273403, 0.156005159, 0.9651661515, 0.3349996507, -0.0767010972, -0.4535306692, -0.0649225712, 0.3773205578, 0.3520168662, -0.782569766, -0.0213543829, 0.3583143353, -0.6279082298, -0.281067431, -0.0249739699, -0.3915711641, -0.0705790967, 0.5842645168, 0.6369787455, 0.3112666607, -0.4570485353, 0.2215162218, 0.1740972251, -0.3377557397, -0.0229501389, -0.0436019972, 0.0157388337, -0.0455025434, 0.3373574018, -0.0715773925, 0.5740875006, -0.5716823339, 0.1880542785, 0.4368140996, -0.5162758827, -0.0755170286, 0.5796840787, 0.349332422, -0.2076938301, 0.5808129907, 0.0304101016, -0.4289887846, 0.8499984741, 0.3847151697, 0.9214925766, -0.4778270423, -0.3251666427, 0.3276368082, 0.3987390101, 0.2031500041, 0.3659252226, -0.7057417035, -0.3691424727, -0.578093946, -0.246435523, -0.6216680408, 0.1550857276, -1.0018596649, 0.0769090876, -0.6623015404, -0.3962247372, 0.0183760356, 0.0907677561, -0.6175062656, 0.1484894156, 0.357237488, 0.4777074754, -0.2243832201, 1.1120675802, 0.6929774284, 0.1046587601, -0.354336828, 0.1999478936, -0.2649004459, -0.9614749551, 0.2640826404, 0.2525758147, -0.2673402131, 0.0719313174, -0.8384108543, -1.1488829851, 1.0032817125, 0.4011462033, -0.9045153856, -0.0557549745, -0.2812436521, 0.4584558606, 0.2278897613, 0.0345243067, 0.3417069912, 0.4168192446, -0.2078980803, -1.0620256662, -0.1569119841, -0.4128469825, -0.2177257985, 0.6219952703, -0.8434861898, 1.097730279, -0.456071347, -0.1469779015, 0.1618535966, 0.4321193993, 0.2302118987, 0.0927666351, 0.3144275248, 0.7635689378, 0.8125709295, 0.026407633, 1.0658195019, -0.5484452248, 0.71850878, 1.198543787, -0.385156095, 0.9096564651, 0.6076388955, -0.5016573071, 0.4049416184, 0.7002238035, 0.2395352423, 1.0958404541, 0.16545856, -0.2088114023, -0.3482950032, -0.0113292495, -0.7719299793, 0.0127789974, 0.162698701, -0.4332088828, 0.0505285151, -0.4258694649, -0.3569704592, -0.2451826036, -0.7518820763, 0.7394083142, -0.1810336709, -0.3059859574, 0.7193622589, -0.1373759061, 0.7654758096, -1.0606387854, 0.102569513, 0.006645943, 0.2727441788, -0.0242435969, -0.5014041662, 0.2819277048, -0.069462955, -0.7487933636, -0.1187537983, 0.8954690099, -0.1108152121, -0.417401433, 0.3661310673, 0.2419365048, 0.1113744453, -0.2357308716, -0.866288662, 0.1514748186, 0.2619313002, -0.388800025, 0.5520969629, 0.3130452633, 0.1545535326, 0.6553153396, 0.754304111, 0.0014714823, -0.0684997514, 0.0966694579, 0.7476962209, -0.933375895, -0.786662519, -0.8517518044, 0.1518281251, -0.1118310988, 0.1105729342, 0.5037030578, 0.4257349074, 0.6109261513, -0.2926313579, 0.916122973, -0.1713056415, 0.7040867209, -0.3734011948, 0.976025641, -0.6927886605, 0.0190578103, -0.1897450536, -0.7920827866, -0.1639352888, 0.7955393791, -0.056326773, 0.3103123307, 0.6940352321, 0.3069969416, -0.0289486777, -0.2492313385, 0.4633824825, 0.3348594606, -0.0097802719, 0.8657577038, 0.4431578517, -0.3485169113, 0.1770333648, -0.5173335671, -0.0968338549, -0.4296728969, -0.6926947832, -0.9105567336, -0.4487833977, -0.016972566, 0.100702472, 0.4026226401, 0.7825935483, 1.0077453852, -0.9621020555, -0.0772518367, -0.0861583054, -0.1552951187, -0.3310698867, -0.2062484771, 0.6857318878, -0.574488163, -0.4496757686, 0.0763466656, 0.1757294089, -0.043247208, -0.3259524405, 0.0583404675, -0.1634903848, 0.1951524913, 0.5731777549, 0.0876494497, -0.9412615895, -0.2592935562, 0.0117602972, -0.3922460973, 0.0567893386, 0.6758851409, -0.7946738601, 0.5056182742, 0.2227919996, 0.5289384127, 0.7666937113, 0.1308781803, 0.2678154409, -0.854613483, 0.233926937, 0.2780399621, 0.1338858306, 0.2090412378, -0.7761182189, 0.5797088146, -0.0295472499, -0.834666431, -0.9319891334, 0.2340657264, -1.1296530962, -0.5016249418, 0.8579645157, 0.0236913003, -0.6166742444, 0.0700635388, -0.2226283997, 0.0310029835, -0.6100307703, 1.2035987377, 0.8964204192, -0.1662825346, -0.1997200996, -0.6310427189, 0.5643258095, 0.9696252942, -0.7557193041, 0.3633674383, 0.38049981, 0.1086039841, 0.0904059261, 0.8849703074, 0.1979441941, 0.8450857997, -0.0385798477, 0.6724863648, 0.034629073, -0.3125412464, -0.1686282158, 0.1934148818, 0.1243000031, -0.2890909016 ]
http://arxiv.org/abs/2404.08821v1
http://arxiv.org/pdf/2404.08821v1
Constrained C-Test Generation via Mixed-Integer Programming
2024-04-12T21:35:21
2024-04-12T21:35:21
Ji-Ung Lee, Marc E. Pfetsch, Iryna Gurevych
cs.CL
cs.CL
This work proposes a novel method to generate C-Tests; a deviated form of cloze tests (a gap filling exercise) where only the last part of a word is turned into a gap. In contrast to previous works that only consider varying the gap size or gap placement to achieve locally optimal solutions, we propose a mixed-integer programming (MIP) approach. This allows us to consider gap size and placement simultaneously, achieving globally optimal solutions, and to directly integrate state-of-the-art models for gap difficulty prediction into the optimization problem. A user study with 40 participants across four C-Test generation strategies (including GPT-4) shows that our approach (MIP) significantly outperforms two of the baseline strategies (based on gap placement and GPT-4); and performs on-par with the third (based on gap size). Our analysis shows that GPT-4 still struggles to fulfill explicit constraints during generation and that MIP produces C-Tests that correlate best with the perceived difficulty. We publish our code, model, and collected data consisting of 32 English C-Tests with 20 gaps each (totaling 3,200 individual gap responses) under an open source license.
[ -0.8030427694, -0.5648726225, 0.5737165213, 0.3750843108, -0.1352627724, 0.1150996238, -0.2133387029, -0.4969885349, -0.1715619564, 0.1135610268, -0.7832986712, -0.3182872832, -0.0776536092, 0.3095088005, 0.2073268294, 0.8006578088, -0.4655008912, 0.128247112, -0.2545670271, 0.1812203825, -0.6192263961, -0.2702844143, 0.019311469, -0.0357807577, 0.2803494036, 0.803534925, 0.5799093843, 0.3376669288, 0.4822517931, 0.1392715871, 0.0478659011, 0.1162276864, -0.3189512789, -0.0716415569, 0.1050610617, -0.143490538, 0.1731421202, -0.0333560966, 0.4825634956, 0.8159387112, -0.3800629377, -0.0348789468, -0.0170216467, 0.2079410404, -0.8686221838, -0.2263271213, -0.8535875678, 0.1502728015, -0.3483729362, 0.0671937689, -0.2267077267, -0.5582743287, -0.1188689098, -0.5230972171, 0.5129693747, 0.1806787997, 0.7590693831, 0.4528476, -0.3107124865, -0.6188590527, -0.4337208867, 0.6695592999, -0.7411965728, 0.4185674787, 0.0337724425, -0.0270373821, -0.4667398036, -0.4882488251, -0.7071861029, -0.6426666379, 0.2657474577, 0.2693189979, 0.4139857292, 0.2750390768, 0.4847446978, 0.6824275851, -0.9408938289, -0.0118762562, -0.8074685931, -0.322984159, 0.7386508584, 0.1491747499, 0.5727683902, 0.2358252257, -0.3726503253, 0.1076985151, -0.832223475, 0.2564060688, 0.5543903708, -0.0109414058, 0.105521746, 0.8276972771, -0.1617590189, 0.7019143701, 0.122655265, -0.037270125, 0.1937136054, -0.21645841, 0.0202276167, -0.1441090703, 0.5222766399, 0.2183296233, 0.1697573215, 0.1239768788, -0.2143922299, 0.3526284993, 0.0169875212, -0.8693432212, -0.2151008993, 0.0528101586, 0.0920209289, -0.0212266762, -0.0329811946, -0.7344741821, 0.0117475148, -0.1270135641, 0.042702198, -0.4244452417, 0.0250371099, 0.3313490748, -0.1426294595, 0.082495831, -0.2144123763, -0.9081227779, 0.3841473162, 0.247788012, 0.8760287762, -0.4458521605, -0.3525613248, -0.3858533502, -0.0168343149, -0.3208965063, 0.5817416906, -0.4121789336, -0.773144722, -0.1443376243, -0.6217204332, -0.3940852582, -0.5310189128, 0.3835901022, -0.1995722055, 0.4460798502, -0.0171328112, -0.5619891882, 0.3577155769, 0.2190030366, -0.3606591225, 1.2474271059, 0.5242862701, -0.7935449481, 0.290754348, -0.7034949064, -0.1362568587, 0.312671572, -0.5736597776, -0.3793432713, 0.1456698924, 0.1333171129, -0.0126093701, -0.1068153754, 0.0431369059, -0.5043251514, -0.5800927281, 0.2447484434, 0.004021971, 0.5780621767, 0.2423995882, -0.5289768577, -0.2101164013, -0.4635773003, 0.4397458732, -0.0375122055, -0.5743722916, 0.0625212193, -0.0876398459, -0.4217135012, 0.2330497801, 0.2356023043, -0.8917039633, 0.4522681534, -0.5439857841, 0.1865613759, 0.7677608728, 0.4463763833, 0.2739885151, -0.1946502328, 0.9931175113, -0.2261799127, 0.4140334427, 0.2985590994, -0.7083390355, -0.511946857, -0.1539844573, 0.1914863288, 0.7834357023, -0.7038547397, 0.0664731339, 0.2058658153, -0.4205681086, -0.2500194311, 0.2546261251, 0.2036756426, 0.2088523358, 0.1663705111, -0.3213025331, -0.0762779489, -0.8816030025, -0.0981095806, -0.0430244952, -0.0403331593, 0.4367819428, 0.5582555532, -0.0671331584, 0.6328259706, -1.1201963425, 0.1716524661, -0.1742161065, -0.0046137292, 0.22319749, 0.4723803997, 0.3080270588, -0.8321163654, -0.6838458776, -0.1259905845, -0.0998599604, -0.4388379753, -0.3095963597, 0.1070802659, -0.041741658, 0.3173695207, -0.5474312305, 0.651863277, 0.6626130342, -0.2167011797, 1.0490329266, -0.1034212783, -0.017382998, -0.5535238385, -0.2368872464, -0.1803307682, 0.1079990119, -0.2373020351, 0.3090772927, -0.0137538724, -0.6914564371, -0.4218009114, 0.3190754652, -0.8084258437, 0.2256018221, 0.0157950092, -0.1559991837, -0.3583430648, 0.6945464015, -0.0996097103, 1.001067996, 0.3859004974, -0.6068171859, -0.2051001936, 0.0289138295, -0.3416630328, 0.1539359093, -0.6764342785, 0.4595957398, 0.1869222522, 0.0260505788, -0.8397256732, -0.4708052278, 0.2042550445, -0.4933305681, 0.1853480935, 0.1526084244, 0.0176190939, -0.6890081763, -0.4423699379, 0.8129738569, 0.4437869787, -0.242459923, 0.0192457456, 0.125856027, -0.4019711912, -0.4368018508, -0.549135685, -0.2854089439, -0.1755039394, -1.0281900167, 0.6069566607, -0.8494310975, 0.1314235479, -0.4463379979, -0.1762268096, -0.3710238636, -0.0013949786, 0.2440816462, 0.0743405074, -0.107069999, -0.3596189022, -0.0131464833, 0.1368652284, -0.2129404396, -0.1075088903, 0.4661355019, -0.3005068898, -0.5487946272, -0.0921624675, 0.8493441939, 0.3070409, -0.3593598902, -0.0240623467, 0.283886075, -0.4249820411, -0.5659176111, -0.2566578984, 0.0679715723, -0.5170645714, 0.0852858201, -0.5065855384, -1.044696331, 0.2920371592, -0.1675947607, 0.1159915552, -0.0184209943, 0.7490950227, 0.2158181071, 1.2162884474, 0.4990371168, 0.3592579961, 0.3848851323, -0.1885931939, 0.562182188, -0.6597818732, 0.0237504821, -0.4392305017, -0.1766140759, -0.7111679912, -0.4134811759, 0.7859677076, 0.3077838123, -0.3217298687, 0.0761068761, -0.8574286103, 0.6997670531, 0.6392031908, 0.0352246128, -0.1658465117, -0.3816521168, -0.6829636693, -0.2789839506, -0.6388356686, -0.0404354446, 0.8140179515, -0.0822058395, 0.4125981629, 0.1930772662, 1.0738482475, 0.0633847266, 0.4271009266, -0.6062034965, 0.4058030546, 0.3853332698, -0.7432934642, -0.2150825262, -0.4567802548, -0.8642277718, 0.1246688142, -0.0812455118, -1.0710275173, 0.1580096483, 0.3498798609, -0.4525376856, -0.0032850213, -0.819765985, 0.6747307181, -0.3358231485, -0.3678690195, 0.129968524, -0.5483645201, 0.8150516748, 0.0520574115, 0.2577642202, -0.0250969492, 0.1246120781, 0.2663366199, -0.6046110988, 0.4279259741, -0.3637281656, 0.3138563037, 0.5963822603, 0.2416487485, 0.3735655546, 0.1999561042, 0.1336385012, -0.272421509, 0.0053311386, -0.5700218678, -0.3820050359, 0.7085667849, -0.4754751623, -0.5544560552, -0.7160422802, -0.7517796755, -0.3045325577, 0.3817232847, 0.6036615968, 0.1713097095, -0.2336593121, -0.1586776525, 0.5333836675, -0.3461593986, 0.4562908709, 0.2468308061, 0.1224250942, -0.6351305246, 0.7687736154, 0.0270281266, 0.4557150602, 0.0385010689, 0.4076471627, -0.3565658331, -1.0962823629, -0.5064516664, 0.1266613007, -0.1612520218, -0.1531817019, 0.0231947619, -0.1331358403, -0.4509809315, -0.6200514436, -0.2455668002, -0.3755130172, 0.0657591969, 0.0125577739, -0.4413558543, 0.5361453295, -0.4543041587, 0.4624284506, -0.4720736444, 0.3367664218, 0.1571427882, 0.255048722, -0.3694835901, 0.2015761137, -0.1389009058, -0.0875410438, -0.9366226196, -1.2488912344, 0.2510021627, -0.0518341884, 0.3556747139, 0.1967803985, 0.101701878, 0.6365735531, -0.4429861009, 1.1188000441, 0.4936798513, -0.9695205688, 0.2461098582, -0.5573348403, 0.212267831, 0.7760229111, 0.1826879382, -0.4414888024, -0.4971230924, -0.7768135667, -1.0225037336, 0.1193254665, 0.5804281831, -0.2719526887, -0.1769183278, 0.417437166, -0.0740105957, 0.0805189908, -0.9800478816, 0.1366485655, -0.0306582972, -0.2995996475, 0.3184415698, 0.0450354479, 0.165055722, -0.0330032222, 0.6428077817, -0.1124022678, 0.1603456438, 0.6302212477, -0.1492884755, 0.1056097001, 0.318603158, 0.8346008658, 0.9066593647, -0.3716988564, -0.1782007664, 0.254622072, -0.6263210773, 0.1199714467, 0.1863987297, -0.5887756944, -0.076662384, 0.0100354906, 0.2948152423, -0.1074283421, -0.6381870508, 0.5317579508, 0.0457678176, -0.3983420134, -0.561860323, 0.3252535462, 0.1032651961, -0.1102333292, 0.1415427029, -0.2144714445, 0.2845623493, -0.2119099945, 0.5216088891, 0.2962417901, -0.1740003973, -0.0771928579, 0.7618995905, 0.2042571604, -0.4639258087, 0.5748316646, -0.638868928, -0.6383641362, 0.6900456548, 0.7658666372, 0.4031976759, -0.4089547098, 0.2243559211, 0.5649920106, 0.4497393072, 0.01967673, 0.7266095281, -0.0677173734, -0.6461462975, -0.4041466713, -0.2573002279, -0.5741202235, 0.1385131329, -0.6146381497, 0.2477401346, -0.5795635581, 0.0195858162, -0.1917466223, 0.3170731068, -0.8955169916, 0.3644421697, 0.4126390815, 0.8660147786, -0.550021708, 0.2092662454, 0.383259207, -0.430826962, -0.9192014933, -0.0576646775, -0.0621530972, -0.8912594318, -0.2114719152, 0.3918645382, 0.0371224061, 0.0733163878, -0.7064532638, -0.6775939465, 1.0311046839, 0.2105618119, -0.5719382763, -0.0239087921, 0.3213642836, 0.0489076748, -0.3873039186, 0.2345113009, 0.4494946897, 0.5380810499, -0.0175105296, -0.621437192, 0.0109107392, -0.2445160896, 0.0253569409, 0.6867257953, -0.7472409606, 0.7105478644, -0.520542562, -0.3671197593, 0.2672882676, 0.6083911657, 0.8134170175, 0.7008823156, 0.8003775477, 0.7059061527, 1.0655457973, 0.1617842317, 0.9808497429, -0.2458518744, 0.3286392093, 1.0021914244, -0.3882518709, 0.5668258071, 0.5693520904, -0.115255557, 0.5209155083, 1.1946150064, 0.0694106519, 0.5374119282, 1.1094747782, -0.4493426383, -0.0603623129, -0.0896724612, -0.3466018736, 0.1459764689, 0.3408804536, 0.1372021139, -0.181418553, -0.4107803404, 0.0384433046, -0.0022472134, -0.1182897463, 0.1892363429, 0.0717259571, -0.9706377387, 0.5857053995, 0.0697075874, 0.4364010692, -0.5810257196, -0.0294263288, -0.3730379343, 0.0497596413, -0.1808502972, -0.5107187033, 0.2505193353, 0.062320549, -0.0272324122, -0.1016733199, 0.5726037025, -0.5231114626, -0.6026753783, -0.0050163325, 0.4556985199, 0.3470751941, -0.1147294343, -0.6872375011, -0.203622818, 0.5935996175, -0.2533347905, 0.1066842601, 0.2822407484, -0.0765982941, 0.3051596582, 0.8436847329, 0.1900409609, 0.4717526138, -0.032132525, 0.742597878, -0.7291745543, -0.7105898857, -0.6812539697, 0.7198603153, -0.0315416194, -0.7488241196, 0.1180693805, 0.9041686654, 0.8889994621, 0.0800041705, 1.1197638512, -0.1808060557, 0.2539182603, -0.6042283773, -0.0986011624, -0.4231645167, 0.0045691766, -0.0506851599, -0.803634882, -0.217948094, 0.1829968244, -0.086546883, -0.2136443853, 1.1287962198, 1.036948204, -0.2267919183, -0.2275575846, 0.1161643639, -0.293489635, 0.4603862464, 1.3819997311, 1.0522520542, 0.0588755123, 0.6322265267, -0.4672110975, -0.6013301611, 0.1694413871, -0.6673898697, -0.7308399081, -0.3817596734, -0.2060651332, -0.2382727414, -0.3006732166, 0.5302000046, 0.4790555239, -0.4473232925, -0.1956260949, -0.3569262624, 0.2721437216, -0.0927792713, -0.3063617349, 0.1626535952, -0.2378689349, -0.599445343, 0.4791841209, 0.001606548, 0.2667876184, -0.1729801148, -0.149368912, -0.0316425338, 0.1207172871, -0.0773769096, 0.474809587, -0.3267941177, -0.3856014311, 0.387353152, 0.2710438073, 0.0651465282, 1.2733603716, -0.1714032888, 0.2492476404, 0.5442503691, 0.5257180929, 0.7977064848, 0.3217398822, 0.8565680981, -0.7622715831, 0.181624949, 0.6995537281, 0.3301611543, 0.2921232581, -0.6391625404, 0.6587807536, 0.341750145, -0.8574939966, -0.8654473424, 0.6413384676, -0.9627870917, -0.3488227427, 1.1916356087, 0.0141174989, -0.0395060591, -0.0285314471, -0.0663126186, 0.1503006369, -0.3246861994, 0.7576064467, 0.9517349601, -0.8387091756, 0.1719781011, -0.6909059286, 0.4266231358, 0.4241791964, -0.689817369, -0.4031814039, 0.7635981441, 0.3431989551, 0.1925943643, 0.9620227814, 0.2212143689, 0.384103179, 0.1247151792, 0.4382532239, 0.0246673897, -0.1533387452, 0.1178324893, 0.1366909146, 0.120329693, -0.3983587325 ]
http://arxiv.org/abs/2404.08819v2
http://arxiv.org/pdf/2404.08819v2
The Illusion of State in State-Space Models
2024-04-12T21:30:06
2024-06-04T22:05:45
William Merrill, Jackson Petty, Ashish Sabharwal
cs.LG
cs.LG, cs.CC, cs.CL, cs.FL
State-space models (SSMs) have emerged as a potential alternative architecture for building large language models (LLMs) compared to the previously ubiquitous transformer architecture. One theoretical weakness of transformers is that they cannot express certain kinds of sequential computation and state tracking (Merrill & Sabharwal, 2023), which SSMs are explicitly designed to address via their close architectural similarity to recurrent neural networks (RNNs). But do SSMs truly have an advantage (over transformers) in expressive power for state tracking? Surprisingly, the answer is no. Our analysis reveals that the expressive power of SSMs is limited very similarly to transformers: SSMs cannot express computation outside the complexity class $\mathsf{TC}^0$. In particular, this means they cannot solve simple state-tracking problems like permutation composition. It follows that SSMs are provably unable to accurately track chess moves with certain notation, evaluate code, or track entities in a long narrative. To supplement our formal analysis, we report experiments showing that Mamba-style SSMs indeed struggle with state tracking. Thus, despite its recurrent formulation, the "state" in an SSM is an illusion: SSMs have similar expressiveness limitations to non-recurrent models like transformers, which may fundamentally limit their ability to solve real-world state-tracking problems.
[ -0.0771032944, -0.5136439204, 0.9202710986, -0.0729382038, -0.3485182524, 0.5918830633, -0.0803086311, -0.1965177357, 0.59896034, 0.3442543149, -0.8030495644, -0.119000338, -0.5572667718, 0.0146516105, -0.7384966016, 0.6825138927, -0.1600956172, -0.0308866594, -0.1723134667, -0.0031971389, -0.2989418805, -0.6408249736, -0.0504589751, -0.3921916485, 0.1175781414, -0.1791436225, 0.8256968856, 0.3452837169, 0.4393436015, 0.3747230172, -0.0776299611, 0.1869287938, -0.6832503676, 0.1764078885, -0.1233303472, -1.0276777744, -0.2216567099, 0.0315702409, 0.9233544469, 0.5815392137, -0.2780068815, 0.114569813, -0.1012440398, 0.8768208623, -0.6847608089, 0.1543191224, -0.5931150913, 0.3145394027, -0.3042922616, -0.0369304307, -0.3500517905, -0.1909480989, -0.0014756918, -0.6550240517, -0.022314867, 0.1791285574, 1.1701476574, 0.4670088887, -0.1920894682, -0.0079442542, -1.2765362263, 0.73124367, -0.4799877703, 0.3667913973, -0.1082703993, 0.4306220412, -0.3297083378, -0.4614734948, -0.9066143036, -0.3056415915, -0.0363579281, 0.3480971456, -0.5952623487, -0.0758764446, 0.5059172511, 0.5135729909, -0.1777081043, 0.0314318612, -0.3796943426, -0.2822224498, 0.2512620389, 0.5794593096, 0.2581347525, -0.5188170671, -0.7441379428, 0.0197436344, -0.6059536934, 0.2182739675, 0.2426108718, 0.1518540829, -0.0374873392, 0.673907876, 0.1037957743, 0.70798558, 0.2234355509, 0.1331819445, -0.1949126571, -0.0571550168, -0.1848491281, -0.1483912468, 0.8264473081, -0.0048522763, -0.0372951813, -0.3623711169, -0.1926593035, 0.5491530895, 0.7778083086, -0.36738047, 0.0672702119, 0.0447189622, -0.3888496757, -0.0859622955, 0.3375751376, -0.5023081899, -0.5381033421, -0.2307630777, 0.758761704, -0.4076809585, -0.4927313328, 0.112132363, -0.1100864932, 0.3977274895, 0.1360466331, -0.6447662711, 0.5292198062, 0.9169334173, 1.013449192, -0.2793326676, -0.0153979752, 0.2106739432, -0.1106954217, -0.799212575, 0.5740492344, -0.7490826845, -0.4943689704, -0.2881742716, 0.0350743942, -0.203453809, -0.4268075526, -0.0868647248, -0.453602165, -0.0859696344, -0.1799189448, -0.7278285623, 0.0419225134, -0.0897978097, -0.8177608848, 0.8967956901, 0.1294023395, -0.1564563364, 0.2980168164, -0.4197067618, -0.4685528278, -0.0279163029, -0.4786576331, -0.3301829398, 0.7386090159, -0.3405241072, 0.4122940004, -0.0413857289, 0.1958141327, -0.3125983179, -0.7598491311, 0.54512012, -0.2649780512, 0.3604469895, 0.4096138477, -0.3154001832, -0.0476034358, -0.684010148, -0.2061754912, 0.1980845779, -0.3087771833, -0.3728678524, 0.4648411572, -0.6574226022, 0.3863525391, 0.2676706016, -0.7324619293, 0.1999884397, -0.5482627749, 0.578722775, 0.8879441023, -0.2626122534, 0.7782851458, -0.2563729584, 0.9660771489, 0.0984462649, -0.0678860545, -0.1437295526, -0.1864427924, -0.7528321743, -0.3494356573, 0.1080930531, 0.4951770902, -0.78416574, 0.3646990955, -0.5269914269, -0.6333902478, -0.7177786231, -0.2784400284, 0.2966715395, 0.2182400078, 0.2014344037, -0.0972418264, -0.4353211224, -1.0843806267, -0.5562270284, 0.1640013903, 0.0622855052, 0.1693743467, 0.5305062532, 0.6234624982, 0.9089746475, -0.3357783258, -0.2445870042, -0.2370218635, -0.3500190377, 0.2473887056, 0.4572282135, 0.1877288222, -0.6333642006, -0.002019716, -0.3006133139, -0.7138605118, 0.3361883163, -0.200192377, 0.0119196055, 0.2015096396, 0.347448796, -0.9517418146, 0.6710245013, 0.4779655039, -0.2114543319, 0.3219046891, -0.0063164015, 0.1130591258, -0.9566115141, -0.0012639649, -0.0122778285, -0.0038616543, -0.7379158735, 0.1300667822, 0.0766309649, -0.3978556693, -0.4207601547, 0.3191458285, -0.477250427, -0.3470071554, -0.3593420684, 0.3191165924, -0.2331569791, 0.6564801335, 0.1209834218, 0.4434295297, 0.5054353476, -0.7485767603, 0.1728831828, -0.1319746971, -0.7988909483, 0.7149100304, -0.2611220181, -0.0964981839, -0.2785790265, 0.6449236274, -1.1110467911, 0.0721950755, 0.1301990151, -0.3159320056, 0.5555433035, 0.0328851268, -0.3793687522, -0.4342980683, -0.0968881845, 0.0212556515, 0.6977595091, -0.4127578139, 1.0419650078, 0.2701250017, 0.4597769678, -0.5723395348, -0.9361417294, 0.0337398238, -0.1081513539, -0.2772839963, 0.1260686517, 0.3656407297, -0.1940026283, 0.1805744171, -0.6702399254, 0.2035916895, 0.4602689147, 0.4750581086, 0.5030933619, -0.183142513, 0.0976873264, 0.05455897, -0.0835830942, 0.1094544008, -0.2585387826, 0.4787390232, -0.2519067526, -0.5701488256, -0.7768942118, 0.1475267559, 0.6299122572, -0.1114839464, 0.805995822, 0.0671852157, -0.4957529604, -0.3290123641, -0.2319848984, -0.111581333, -0.5006856918, 0.4383227825, -0.6084264517, -1.0135523081, 0.3590793908, -0.1615389287, 0.1178019494, 0.6453367472, 0.3133182526, -0.5270719528, 1.1647293568, 0.3965578675, -0.0618000552, 0.4212119281, -0.2908733487, 0.1481003463, -1.0853638649, -0.3523161113, -0.5172122121, -1.0128563643, -0.84561795, -0.3151422739, 0.2398883998, -0.0083265686, -0.254937917, 0.5128192306, -0.4681642652, 0.3828552365, 0.2393289506, 0.1514900923, 0.1035616696, 0.0514461882, -0.031718038, -0.3575302958, -0.9916267991, -0.4500736594, 0.930885613, 0.2532734871, 1.2290402651, 0.2379212677, 0.5031670928, 0.0633480102, 0.1008178517, -0.896219492, 0.8199422956, -0.4073859155, -0.8068854809, -0.2646954954, -0.4553926587, -0.8181899786, 0.4188977778, -0.392868042, -0.9115574956, 0.3240312636, 0.2607059181, -0.3835837245, 0.654964149, -0.3650734723, 0.5818274021, -0.0914300233, -0.2115366459, -0.4488847852, -0.5266073942, 0.4816560447, 0.0295047686, 0.0956222937, -0.2254468948, -0.2088608593, 0.5217069387, -0.6112289429, 0.9149746895, -0.3461672962, -0.0630082637, 0.2763771415, 0.624774456, 0.4885749221, -0.5753407478, 0.1611439735, 0.1558539867, -0.1351023316, -0.3271210492, -0.8046184182, 0.7882810235, -0.5065348744, -0.8228427768, -0.5243231654, -0.3825706542, -0.2470408231, -0.1065304428, 0.2239092141, 0.4384455085, -0.1834613383, 0.1240897402, 0.5648338795, -0.0828612149, 0.3481125236, 0.6179596782, -0.4349420965, 0.1500130743, 1.033724308, 0.3460874557, 0.4584682584, 0.5646637678, 0.0440397337, -0.4156057239, -0.0295546651, -0.4623456001, 0.1941555291, -0.5148220062, 0.2152069807, -0.1264494061, -0.1865939349, 0.2226081342, -0.006275313, -0.5819868445, -0.9418365955, -0.2215180546, -0.1167633459, -0.0164491199, 0.9039259553, 0.1825366467, 0.2193639725, -0.3200606704, 0.4251128435, 0.078477256, 0.6272126436, 0.1307742894, -0.8066602945, -0.2067305595, -0.1872339398, -0.1891361624, -0.7543388605, -0.1215274706, -0.0290443487, 0.4049752057, 0.317140162, -0.1938147545, 0.9633982778, -0.811080277, 1.14234519, 0.2698470354, -1.0225436687, 0.3120328486, 0.0795389265, 0.5422505736, 0.0149092404, 0.3555629253, -0.389909029, -0.8801993728, -0.6912673116, -0.4528515339, 0.9136181474, 0.0420338474, 0.3295297623, 0.0553988889, 0.5141325593, -0.1204725727, 0.343531549, -0.5022829175, -0.6120117903, -0.5290590525, -0.0080713723, -0.1278997958, -0.0152453873, 0.0893030763, 0.0216154624, 0.643307507, 0.3166564703, 0.470967561, 0.2868602574, -0.1800032407, -0.277540952, 0.3532536328, 0.855614841, 0.6018286943, 0.2219821513, 0.2130260468, 0.1477902979, -0.1142735034, 0.3861835897, -0.1131291166, -0.3342112899, 0.0921081305, 0.135426268, 1.1360350847, 0.4911418557, -0.2148555219, 0.3871721029, 0.281558007, -0.2476184964, -0.3649237156, 0.3951090872, 0.2321700305, 0.316152662, 0.3752767146, 0.390142411, -0.1794686317, -0.5218803883, -0.2368762046, 0.8005261421, -0.7779919505, -0.5314377546, 0.9747370481, -0.2229048461, -0.6812221408, 0.4016970396, 0.1670830101, -0.4836626649, 0.6127153039, 0.5443194509, 0.8323238492, -0.3196953833, -0.029079685, 0.2645839751, 0.5476512909, -0.1713655442, 0.2775385976, -0.132666111, -0.7545784712, -0.5638150573, -0.6167037487, -0.3173214793, 0.1644987166, -0.8860124946, -0.0452144668, -0.6529572606, -0.4446702302, -0.0368519612, -0.2944653928, -0.4610060155, -0.1250475794, 0.2579039037, 0.9433683753, -0.6612954736, 0.6359907389, 0.5403791666, -0.0878645033, -0.8178218007, -0.2593310773, 0.1537727863, -0.6841346025, 0.3553380966, 0.0384643525, -0.5030639768, -0.1638999432, -0.8003723621, -0.8762331009, 0.9868286848, 0.3604056239, -0.754448235, -0.0111525152, 0.1359462738, 0.7827913761, -0.0384759568, -0.3132039607, 0.5636523366, 0.4435418248, -0.2525704503, -0.8666219711, 0.1022157818, 0.0934885815, 0.1779749393, 0.724352181, -1.0633780956, 0.6606507897, -0.1341209263, -0.6438092589, 0.334626019, 0.8875423074, 0.0537121631, -0.1909697503, 0.5235027671, 0.7157164216, 0.4565428495, -0.3639391363, 1.199198246, -0.2298093438, 0.2510766685, 1.0104851723, -0.5346997976, 0.7649959326, 0.426192075, -0.4506371021, 0.8139653206, 0.0432738587, -0.2555232644, 0.2720110416, 0.5284466743, -0.070853509, -0.5161299109, 0.3228182793, 0.0014164393, 0.5016260743, 0.5244438648, -0.2270794213, -0.0435071252, -0.0185147617, 0.100489229, 0.4382154644, -0.426655829, 0.5091782212, 0.244549498, -0.6411288381, 0.2146466821, -0.2961731851, 0.4383372366, -0.975101769, -0.0289273001, -0.0907965377, 0.0464311838, -0.1383575201, -0.6435442567, 0.1847350001, 0.0478273891, -0.0831079856, -0.0657549202, 0.5339187384, -0.1755447388, -0.3551122546, -0.0385146551, 0.3478071094, 0.3484281003, 0.2155534923, -0.5856953859, -0.0606146678, -0.3161537051, -0.4772547185, 0.2689869702, 0.1189819947, -0.0423553735, 1.0150827169, 0.3477275968, 0.3065918982, 0.2155280411, -0.2795768678, 0.4174776971, -0.7913031578, -0.4902549088, -0.9572176933, 0.1932240129, 0.2058449984, -0.0479680859, 0.7468340397, 0.6683864594, 0.7091810703, -0.0951100811, 0.6384779215, -0.0733473673, 0.6230642796, -0.6553812027, 0.8632711768, -0.7003597021, 0.3369609714, -0.1331610233, -0.7602683306, 0.0799071118, 0.5153842568, -0.2590406835, 0.003152211, 0.8059622645, 0.6122482419, 0.023975689, 0.0913102031, 0.5019712448, 0.5908330679, -0.0363907255, 0.5935575962, 1.4214352369, -0.183846131, 0.5715239048, -0.2316997349, 0.0709937438, 0.1429063827, -0.5813024044, -0.5406641364, -0.7320889235, -0.0874980241, -0.3813071847, -0.2790922225, 0.5473022461, 0.7012609839, -0.6468865871, -0.2849741876, 0.1523851156, 0.1452647746, -0.3863791823, -0.2789598703, 0.3301745355, -0.0785909295, -0.7930152416, 0.7749174833, 0.3933804631, 0.082882978, -0.7297953367, 0.1457755268, -0.0587595813, 0.282563597, 0.5146673322, 0.4100949168, -1.0275614262, -0.3030277491, 0.0680024475, -0.2098507583, 0.0937596336, 0.8680374026, -1.0497610569, 0.6260869503, 0.1086809486, 0.436480552, 0.628395915, 0.0365322046, 0.4048415422, -0.5099380612, -0.0610301197, 0.1642998457, 0.4130090177, -0.0089147696, -0.1715201735, 0.1427203417, 0.2919527888, -0.2164120525, -0.5921120644, 0.455021292, -0.8595448732, -0.4911957979, 0.7557000518, 0.0811264291, -0.4529047012, 0.2435892671, 0.1889294386, 0.1106484458, -0.2228379995, 0.7613666058, 0.9435328245, -0.2845141888, 0.295304805, -0.5990812182, 0.4980955422, 0.5066924691, -0.3334195912, -0.1131639853, 0.4994686246, 0.29073295, 0.4208481014, 0.3995142877, -0.1857286394, 0.2415884882, 0.0217677336, -0.1562296599, -0.152283594, -0.3502982557, -0.7803892493, 0.2035401613, -0.3037192523, -0.3262739182 ]
http://arxiv.org/abs/2404.08817v2
http://arxiv.org/pdf/2404.08817v2
Revisiting Code Similarity Evaluation with Abstract Syntax Tree Edit Distance
2024-04-12T21:28:18
2024-06-03T11:56:38
Yewei Song, Cedric Lothritz, Daniel Tang, Tegawendé F. Bissyandé, Jacques Klein
cs.CL
cs.CL, cs.PL, cs.SE
This paper revisits recent code similarity evaluation metrics, particularly focusing on the application of Abstract Syntax Tree (AST) editing distance in diverse programming languages. In particular, we explore the usefulness of these metrics and compare them to traditional sequence similarity metrics. Our experiments showcase the effectiveness of AST editing distance in capturing intricate code structures, revealing a high correlation with established metrics. Furthermore, we explore the strengths and weaknesses of AST editing distance and prompt-based GPT similarity scores in comparison to BLEU score, execution match, and Jaccard Similarity. We propose, optimize, and publish an adaptable metric that demonstrates effectiveness across all tested languages, representing an enhanced version of Tree Similarity of Edit Distance (TSED).
[ -0.0584056042, -0.5566496253, 0.4287136495, 0.2669785917, -0.180993408, 0.5291270614, -0.4026810825, -0.7127931714, 0.1533667743, -0.125197053, 0.0365843922, -0.8021025658, -0.6071417928, 0.2642466724, -0.6817363501, 0.6684892178, -0.3097454309, -0.4031525254, -0.1876842827, -0.3037704825, -0.2253046781, -0.2329296619, -0.3983189762, 0.3012191355, 0.3229287565, 0.1640311927, 0.884482801, 0.9015830159, 0.5669199824, 0.3138745129, -0.0942331925, -0.1874545068, 0.0393253341, -0.1295653284, -0.1281251907, -0.3466999531, -0.5620764494, -0.3307055533, 0.9350271821, 0.7301464081, 0.2691516578, 0.3068278134, 0.0523595139, 1.0212450027, -0.4273045063, 0.0968236476, -0.6079396605, 0.1128322929, -0.349237442, -0.3177505136, -0.0023300762, -0.8814054132, -0.0091191754, -0.3831674457, 0.2746152878, -0.1818502843, 0.7918602824, 0.2768601477, -0.1431431621, -0.5655861497, -0.4755239487, 0.3077485561, -0.7228556275, 0.4538494349, -0.1468297243, 0.2566230893, 0.1564913988, -0.6815477014, -0.3894150555, -0.3132335544, 0.0104662254, -0.0091429809, -0.4873665273, 0.3319080174, 0.5623780489, 0.6444858313, -0.5613363385, -0.0449693315, -0.5624165535, -0.0966843441, 0.5118130445, 0.017594859, 0.4559377134, -0.0068708714, 0.0433915928, 0.1003115773, -0.7292865515, 0.2919295132, 0.5516270995, 0.024057718, 0.0613355748, 0.4503785968, -0.3643477857, 0.7516224384, -0.2952138484, 0.3391978443, 0.4703177512, -0.3954024017, -0.2034194618, -0.19586429, 0.745372355, 0.7173800468, 0.2869999707, -0.2180889398, -0.2404869646, 0.1944420189, 0.2821293473, -0.632843256, -0.7057349086, -0.1699159294, -0.7337540388, -0.1407726109, 0.317143023, -0.5603684187, -0.0794166848, -0.2123127431, 0.0755753592, -0.475638479, -0.101060912, 0.0587097071, -0.3273229897, 0.2704767585, 0.534514904, -0.4465881586, 0.2850617766, 0.9630697966, 1.2001650333, -0.2607389688, -0.4768488705, -0.2379122525, -0.362087369, -0.2768114507, 0.5807745457, -0.976937592, -0.5609194636, -0.3043252528, -0.3729957044, -0.004538958, -0.5507931709, 0.1682419479, -0.4477476478, -0.2819692194, -0.0407737643, -0.5055103302, -0.3552696109, 0.2839372456, -0.4109361768, 1.0761178732, 0.503722012, -0.7791846395, 0.2827822864, -0.8619216084, -0.4409787655, -0.248049736, -0.1463879347, -0.4621900022, 0.3301080465, -0.1111698821, -0.1304209381, 0.142872408, -0.20175457, -0.2401753813, -0.5755962133, 0.1153224409, -0.3427881598, 0.813685298, 0.2342632115, -0.2312322855, 0.5417201519, -0.6943078041, 0.3987220526, -0.3960381448, -0.5142607689, -0.4702736139, -0.1656063348, -0.1742264032, 0.0778887421, 0.2585932314, -0.5512499213, 0.5804323554, -0.2975844741, 0.4826513827, 0.6853733063, -0.0186435748, 0.0561429672, -0.2535817325, 0.9052781463, -0.3656225801, -0.0596942604, -0.0726944059, -0.4637394845, -0.3030160069, -0.1306221783, 0.6908066869, 0.6328883171, -0.4671241343, 0.3478461802, -0.3809565604, -0.6841725111, -0.5173693895, -0.0498136207, 0.7389580607, 0.0849911496, 0.2025492489, -0.9271007776, -0.5607951283, -0.5929669738, -0.9418742657, -0.2632737756, -0.0108599933, 0.2555283606, 0.3637290299, -0.3821874261, 0.79710567, -0.6619503498, 0.4355638623, 0.1832950413, -0.186425209, 0.1288047135, 0.6202489138, 0.7330334187, -0.2084793299, -0.9490047693, 0.3093245327, -0.3536980152, -0.3574619889, 0.0836532637, 0.2565896213, 0.1105680689, 0.7167235613, -0.4235526919, 0.6375336647, 0.4728093445, -0.6327966452, 0.9704911113, -0.1638481766, 0.8088487983, -0.7442250848, 0.3010995686, -0.3094343543, -0.3740716577, -0.0752398372, 0.5513121486, 0.2568994164, -0.0133025106, -0.2965635359, 0.1242832467, -0.3923521638, -0.7705723047, 0.1184700131, -0.0592752621, -0.2139048129, 0.2648336887, -0.2763217092, 0.9009177089, 0.5667891502, -0.1520207971, 0.3927624226, 0.0224117003, -0.5401315093, 0.3354729116, -0.6323130727, 0.5603812933, 0.3364159763, 0.1289603412, -1.0528000593, 0.4245440066, -0.0667250827, -0.7358082533, 0.184153378, -0.2291022688, -0.4565195739, -0.1908840835, -0.791364789, 0.7566302419, 0.5373145342, -0.3699551225, -0.0574080199, -0.2142640948, -0.234490186, -0.5883656144, -0.4291262031, 0.2067401111, -0.2739094198, -0.4583551884, 0.2872635424, -0.0394135639, -0.4224323928, 0.1951472014, -0.5268418193, 0.0956006274, 0.2373143584, 0.2667001188, -0.208692506, -0.6115355492, -0.1454439461, 0.2228819579, -0.1663219333, 0.0476491041, -0.297939539, 0.1877090484, -0.5019654632, -0.6548733711, -0.2296491861, 0.2365267128, 0.4075763226, -0.3493620455, 0.1500103623, 0.1481992453, -0.3300832808, 0.196024254, -0.2015371025, 0.2430682629, -0.4330863953, 0.4797513485, -0.6432593465, -1.1607550383, 0.4992845654, -0.1318761855, 0.2552011907, 0.2811860442, 0.0810777023, 0.1553826779, 0.4743116498, 0.4700953662, -0.1958761215, 0.6140711904, -0.145600155, 0.1128708944, -0.7957683802, 0.1171199009, -0.9562579393, -0.5220618248, -0.6245951653, -0.6696734428, 0.0665047765, 0.4277954102, -0.1586719155, 0.5942761898, -0.4803724885, 0.9514181018, 0.3999224305, -0.2077062279, 0.6602305174, -0.2752125859, 0.1206123009, -0.0413120314, -0.3265127838, -0.415979296, 0.9561134577, 0.3121465147, 0.416556865, 0.2128396779, 0.8127054572, 0.4053335786, 0.107044898, -0.4685588479, 0.3913105428, -0.2732449472, -0.0195133593, -0.3715772629, -0.3696831167, -0.7352985144, 0.0682469606, 0.4469156861, -0.8551493287, -0.0370642953, 0.3249929249, -0.4129304886, 0.3579992652, -0.9529692531, 1.1465002298, 0.0491742007, 0.1740076244, -0.4444172382, -0.6603829265, 0.0186098963, 0.1363188028, -0.0378255844, 0.2720809579, -0.2336360365, 0.6102261543, -0.6433590055, 0.4656252265, -0.0644878, 0.1184395626, 0.2693026066, 0.5156025887, 0.0885552764, 0.1616776586, -0.173982054, 0.3757989705, 0.2696110904, -0.3718628287, -0.7587665915, 0.893889308, -0.434224844, -0.409578681, -0.2804020345, -0.4294121563, -0.0055298042, 0.2801725566, 0.0692251548, 0.5689325929, -0.2012738287, 0.0124179348, 0.0596416444, -0.3892374933, 0.6168162227, 0.3435395956, -0.251971513, -0.2260348052, 0.6803580523, -0.0706204921, 0.4579145312, 0.5485418439, 0.0558977015, -0.2935549319, -0.8406590223, -0.6482630372, -0.288974911, -0.6330640912, -0.416066587, -0.5189629793, -0.1521215588, -0.0964517444, -0.7681458592, -0.357555002, -0.8126578331, 0.3908383548, -0.2148805112, 0.8871213198, 0.9054538012, -0.0592288524, -0.0486312248, -0.7476118803, 0.0154124219, -0.060311839, 0.7876322865, 0.1955382079, -0.1710973531, -0.1147599891, -0.1687122285, -0.4421820939, -0.8455919623, -0.0346790478, 0.3223001659, 0.0728081316, -0.1851596385, -0.1680439413, 0.9940351844, -0.4814645648, 0.8170405626, -0.054882925, -1.288928628, 0.6445268989, -0.294556886, 0.5573435426, 0.8642342091, -0.0680718198, -0.6676953435, -0.7015116811, -0.7328825593, -0.6679140925, 0.4911455512, 0.356978178, -0.211238727, 0.0478627458, 0.2882519662, 0.1136582047, 0.1656601131, -0.5107111335, -0.3155383766, -0.1073797792, -0.1312048584, 0.1400213093, 0.1788680255, 0.523638308, -0.5626045465, 0.1812400073, 0.0854902416, 0.3795392215, 0.0752395019, -0.1345244348, -0.1541765928, 0.4268561304, 0.4347267151, 0.87759161, -0.0923071802, 0.2280522287, 0.4084343612, -0.6144018769, -0.1655324101, -0.0122443493, 0.0406588726, 0.1784236729, 0.6806252003, 0.3118431866, 0.1783864349, -0.7277797461, 0.4531765878, 0.0817257687, 0.1147331744, 0.0457379892, 0.0474464186, 0.0482163951, 0.1027388945, -0.3652919531, 0.5012543797, 0.540116787, -0.6782078743, 0.5492828488, 0.2582614422, -0.6169760823, -0.4272198379, 0.2928669453, 0.2723972201, -0.9206463099, 0.6471562386, -0.5062857866, -0.8479884863, 0.9439279437, 0.4597738385, 0.9635074139, -0.2751067281, -0.2223941684, 0.4715058804, 0.2141539305, 0.2453036606, 0.1512484252, -0.4001939893, -0.1450294703, -0.5794810057, -0.4576002657, -0.101130642, -0.3627424538, -0.4583502412, 0.3655852079, -0.7964488268, 0.5282580853, -0.0986795425, 0.1108314842, -0.4133405089, -0.1631169617, -0.4265293777, 1.0802843571, -0.7043988109, 0.9822805524, 0.8649888039, -0.1489900649, -0.8610959053, 0.1680118293, 0.1600307226, -0.5086271763, 0.0916448906, 0.2845604718, -0.0812156796, -0.0734501258, 0.121316947, -0.5283443928, 0.8705350161, 0.2008447647, -0.5821897984, -0.0048756422, -0.0943025798, 0.8077756763, -0.1189871952, 0.6229002476, 1.1510130167, 0.1278789788, -0.2833316326, -1.3675711155, 0.1351242959, -0.6093566418, 0.1225509867, 0.7239038944, -0.4219012558, 0.5471174121, -0.3433620334, -0.2496098578, 0.2418110222, 0.2841972709, 0.1746115386, 0.3909780383, 0.4993923604, 0.6025981903, 0.4645467401, 0.1056734696, 0.9332424402, -0.2249269038, 0.5009993315, 1.1897490025, 0.0969500542, 0.6906906366, 0.1069639102, -0.7109995484, 0.586643517, 0.491733104, 0.1196309701, 0.2474161834, 0.4030276239, 0.0380884372, 0.3444577754, 0.3681398928, -0.6407284737, 0.0777293593, 0.2627535462, -0.3845218122, -0.2931647897, -0.5335606933, 0.1078250259, 0.6017825007, -0.1668563634, 0.6826787591, 0.2177075893, -0.3140285015, 0.457331717, 0.1717857271, 0.6051421165, -0.2669507861, -0.1635129154, -0.1496712714, -0.0374218524, -0.46762079, -1.1370222569, 1.0143754482, 0.385833323, -0.0266412888, -0.1429460347, 0.2894012034, -0.2675589919, -0.1731740236, 0.1449439377, 0.249307707, 0.1500962377, -0.195093751, -0.9705661535, 0.1062845364, 0.3952434063, 0.1751184762, 0.1003569737, 0.7191907167, -0.1137364507, 0.3189521134, 0.3461710215, 0.1544097513, 0.050199531, 0.0541776493, 0.6170813441, -0.9391528368, -0.7717828155, -1.1321780682, 0.2529366314, -0.0435907915, -0.6410437226, 0.9598673582, 1.1104151011, 1.162964344, -0.3659366965, 0.5998360515, -0.4508613348, 0.4041584432, -0.4702974856, 0.4487511814, -0.267516017, 0.5445267558, -1.0616958141, -1.4359910488, -0.4136830866, 0.5598348975, -0.2671992779, -0.0808615685, 1.0325324535, 0.9013628364, -0.1113807335, 0.0551096089, 0.1368121356, 0.1302823275, 0.3650154769, 1.0151612759, 0.9335810542, -0.4268798828, 0.2848104835, -0.0335742384, -0.2147889137, -0.0282202754, -0.8324602246, -0.6796183586, -0.6401877403, -0.7112952471, -0.2356435955, 0.3703045249, 1.1348969936, 0.2366488278, -0.7598428726, -0.1790915728, -0.1845897883, 0.3287271857, -0.624653697, -0.2096190155, 0.6603674889, 0.0367027968, -0.3486670554, 0.0398431942, 0.4625807405, -0.1032692567, 0.3287422657, -0.0591840409, 0.188475281, -0.3171928227, 0.6705842614, 0.5422583818, -0.7453936338, -0.7678638697, -0.1950258017, -0.0037681418, 0.2745031416, 1.0486121178, -0.7049404383, 0.5266568065, 0.7688925862, 0.7829486132, -0.0531990863, 0.2250955403, 0.5498356819, -0.8830065131, -0.0674871281, 0.1563347727, 0.247358501, 0.271553129, -0.1292718202, 0.801697135, 0.1369002759, -0.4093410969, -0.7955461144, 0.3116353452, -1.0546069145, 0.0235022157, 1.1737569571, -0.3607880771, 0.1733773053, -0.2482106537, -0.5457567573, 0.0149505083, -0.4759169221, 0.8045822382, 0.5163464546, -0.2391870618, -0.0060638511, -0.3516105413, 0.7783480883, 0.0936284736, -0.8368096948, 0.1409499794, 0.4764275253, 0.4663142264, 0.1211438328, 0.6265195012, -0.5037142634, 0.6008896828, 0.1173753962, -0.0050346358, -0.0708602816, -0.1011321172, -0.6294720769, -0.1337825507, 0.711499095, -0.1421875507 ]
http://arxiv.org/abs/2404.08816v1
http://arxiv.org/pdf/2404.08816v1
Evaluating the Quality of Answers in Political Q&A Sessions with Large Language Models
2024-04-12T21:16:53
2024-04-12T21:16:53
R. Michael Alvarez, Jacob Morrier
cs.CL
cs.CL, econ.EM
This paper presents a new approach to evaluating the quality of answers in political question-and-answer sessions. We propose to measure an answer's quality based on the degree to which it allows us to infer the initial question accurately. This conception of answer quality inherently reflects their relevance to initial questions. Drawing parallels with semantic search, we argue that this measurement approach can be operationalized by fine-tuning a large language model on the observed corpus of questions and answers without additional labeled data. We showcase our measurement approach within the context of the Question Period in the Canadian House of Commons. Our approach yields valuable insights into the correlates of the quality of answers in the Question Period. We find that answer quality varies significantly based on the party affiliation of the members of Parliament asking the questions and uncover a meaningful correlation between answer quality and the topics of the questions.
[ -0.5828014016, -0.9511565566, 0.9540962577, -0.2495505065, -0.3703328669, 0.0574531555, -0.1149588004, -0.1083804518, 0.3920613527, 0.5781291723, -0.4666306376, -0.315744549, -0.7041831613, -0.1546946764, -0.5921196938, 0.4391382635, 0.3604840338, 0.117547296, -0.2588787675, -0.3066663742, -0.3536410034, -0.6020256877, -0.5876987576, -0.2079053223, 0.6418586373, 0.3520473838, 1.0956312418, 0.7486066222, 0.5855402946, 0.2834066749, -0.2530011833, 0.2432087064, -0.6439200044, -0.0133377789, -0.3763064742, -0.5484907627, -0.1530021727, 0.2241418362, 0.6010748744, 0.812048912, -0.1816446483, 0.2471267283, -0.0149249667, 0.4907782674, -0.5282065868, 0.0831866115, -0.9616569877, -0.2881467044, 0.0158617962, -0.538631618, -0.290695101, -0.4719469249, 0.0715345591, -0.4290973246, 0.0602476969, 0.0246920921, 1.053532958, -0.1116617918, -0.5025686026, -0.5247433186, -0.5038379431, 0.5798688531, -0.7613392472, 0.2364973873, 0.3787711859, 0.2882112861, -0.1229353622, -0.6184701324, -0.7670859694, -0.2028970867, -0.4444496036, 0.0787314847, -0.0090802675, -0.0855159461, -0.0624689572, 0.4690342546, -0.6998832226, -0.1790811867, -0.2289482206, -0.1826505363, 0.754509151, 0.5235304832, 0.4141557515, -0.2647616565, 0.0461322255, -0.3276728094, -0.2174889296, 0.3151904643, 0.5953837633, 0.455080092, 0.221269846, 0.7651053667, -0.2211573422, 0.697308898, 0.0241741501, 0.3481784463, -0.532928884, -0.9024441242, 0.2297451645, -0.32269454, 0.6420126557, 0.2641990483, 0.0765203312, 0.0020008238, -0.2352490574, 0.0369142517, 0.087971352, -0.8855389953, -0.2172494382, 0.4747044742, -0.5483373404, 0.2077415884, 0.3967894614, -0.6123961806, -0.2328500748, -0.6162797213, 0.4468371272, -0.2359982878, -0.5564156175, 0.1884785146, -0.1174794585, 0.4694575965, 0.3464286923, -0.6867559552, 0.3261386454, 1.1227405071, 0.590210259, -0.0946386904, 0.0634618923, -0.9658868313, -0.4934004545, -0.6870017648, 0.8792400956, -0.6208045483, -0.214250803, 0.1652013212, -0.0092255259, 0.1045392677, -0.5879520178, 0.1154780537, -1.1003371477, 0.4955556691, -0.6599540114, -0.8114310503, 0.0508293658, 0.3892199695, -0.5085023046, 0.7872722745, 0.1794548631, -0.7236681581, 0.5282628536, -0.6497065425, 0.0862260237, -0.0240266994, 0.0805121735, 0.0715484247, 0.1658790559, 0.3197256625, 0.2596936226, -0.179948166, 0.3203287423, -0.416872263, -0.233782053, 0.8727282882, -0.1584706455, 0.8534616828, 0.0306243598, 0.2127142847, 0.4176430702, -0.7358653545, 0.430665344, -0.2793672681, -0.1252585649, -0.4091876745, -0.0119969919, -0.1472153068, 0.2708267868, 0.2684175968, -0.8040283322, -0.1706143171, -0.7416139841, 0.4867907465, 0.5972969532, 0.3621592522, 0.4700887799, -0.3327529728, 0.244171083, -0.2890131772, 0.2388299406, 0.1149501801, -0.3020035625, -0.5773636699, 0.0242133271, 0.6467616558, 0.3679175377, -0.5151876807, 0.3152398765, -0.314386636, -0.4976660907, -0.6139924526, -0.0246310141, -0.0181992315, 0.0981193706, 0.2177389264, -0.4966641366, -0.142241925, -0.7252885699, -0.3742033243, -0.7475053072, -0.1891222745, 0.584890604, 0.6662142277, 0.3552091122, 1.0551891327, -0.46990031, 0.4479783475, 0.0415853485, 0.3404449821, 0.3805895746, 0.1304332018, 0.3310903907, -0.769392848, -0.2948735654, -0.0533601604, -0.3351433575, -0.0235876311, 0.1906373799, -0.6076834798, -0.0944777429, 0.3592872918, -0.3102152646, 0.0878800303, 0.513122499, -0.7057635784, 0.2478546649, -0.1068087593, 0.569298327, -1.0307543278, 0.2887129486, -0.5560994744, -0.0888707414, -0.4924209118, 0.2609916925, 0.0797378793, -0.1752961576, -0.5957496166, 0.7313953638, -0.0864618495, -0.1182267517, -0.3266208172, 0.4345366359, 0.1281128228, 0.1199498475, -0.2075781226, 0.8876381516, 0.0780992061, -0.541138351, 0.4052552581, 0.4365539253, -0.537026763, 0.6984444857, -0.8474710584, 0.494019717, -0.4260846376, -0.2288401425, -1.6370607615, -0.4910112917, -0.1105815545, -0.8099954724, 0.0152206803, -0.0768480077, -0.6923300028, -0.1026142463, -0.0362799205, 0.2945850492, 0.2158711106, -0.3653581142, 0.1909993142, 0.5357206464, -0.2027400136, -0.3862081766, -0.1596893072, -0.0254582707, -0.0446270332, -0.864354372, 0.0021050349, -0.1384116262, -0.5592107177, 0.2359360009, -0.1924000829, -0.501775682, -0.0066621336, -0.2658273578, 0.0968550816, -0.5246477723, 0.276322633, -0.2549630404, 0.0026760807, 0.1872176528, 0.0104854107, 0.8679634929, 0.0678544641, -0.2984657884, -0.5036690235, 0.6402180195, 0.8358482122, -0.7590867877, 0.9011868238, 0.1883438379, -0.1844099909, 0.3794749379, -0.6178668141, -0.5084374547, -0.4554057419, 0.3725028932, 0.0313031599, -1.1000249386, 0.9748725891, 0.3290394545, 0.1917266846, 0.6509657502, 0.4589983523, -0.2583468258, 1.1239073277, 0.5392130017, 0.1896505952, 0.3185388744, 0.0389857292, 0.3925585747, -0.3573260307, -0.2763264775, -1.000156641, -0.2826813459, -0.5894845128, -0.2707141638, 0.3233731389, -0.0151584176, -0.6473361254, 0.1856004447, -0.5129960775, 0.2629642487, 0.4855106771, 0.1940476, 0.0024405743, -0.4401404262, 0.45455423, -0.1177976727, -0.4895240068, -0.576910615, 0.7437908053, 0.2381049097, 0.5639907718, 0.1558074355, 0.4980799854, -0.0560946651, 0.3826038837, -0.6921499968, 0.5546697378, 0.0719433352, -0.776864171, -0.9576493502, -0.700900197, -0.9403445125, 0.3628080785, -0.1804099679, -0.5683459044, 0.1913909912, -0.0960752219, -0.5390902758, 0.1869944036, -0.0572117642, 0.9854037166, -0.2874938846, -0.1751236916, -0.1478369087, -0.4816197753, 0.2162932903, 0.2271493524, 0.029896535, -0.4415332377, -0.1935085356, 0.9923398495, -0.21960482, 0.3197622299, -0.0741904378, -0.0882503986, 0.6263949871, -0.0328526609, 0.1318849772, 0.4746232629, -0.2960607409, -0.229038462, 0.6824730635, -0.5253830552, -0.9063008428, 0.6616715789, -0.7851473689, -0.68407619, -0.1835271865, -0.5215531588, -0.0471113101, 0.0891686529, 0.1228154674, 0.5471966267, -0.2779897451, 0.5574074388, 0.5658746362, -0.2861795127, 0.2874869406, 0.6049278975, -0.1288972646, -0.4225062728, 0.2730918229, 0.3654747307, 0.3342584372, 0.613137424, 0.3714767396, -0.7746119499, -0.2305108458, -0.2596756518, 0.3220848739, -0.6635392904, -0.2671984136, -0.6303124428, -0.1299785823, -0.1566220671, 0.1950806379, -0.4590073526, -0.2738179266, -0.2619436681, 0.1276591867, 0.2556145787, 0.3742341399, 0.1554997414, 0.2536376417, -0.638605535, 0.208477512, 0.6602669954, 0.5261984468, -0.3666666746, -0.740854919, 0.0609482713, 0.2554831207, -0.2384231836, -1.2380832434, 0.1704643667, 0.2423530072, 0.3509026468, 0.0404804349, 0.414513886, 0.5589256287, -0.254175663, 1.2899068594, -0.0633663908, -0.7421408296, 0.7985021472, -0.2660221756, 0.3261031806, 0.8628608584, 0.1704942882, -0.5335798264, -0.7247915268, -0.4777249396, -0.8125804663, 0.2524998486, 0.0454864167, 0.7525869012, -0.2392617464, 0.5635327697, -0.1183004305, 0.2390801162, -0.3120777607, -0.0510669574, 0.0223014411, 0.3311879933, -0.1454376876, -0.4734205306, -0.1932906359, -0.2372464836, 0.4149599969, -0.091019541, 0.1979503483, 0.1625947952, 0.2826288939, -0.2736855745, 0.5432682037, 0.3302361071, 1.3444287777, -0.2329733074, -0.0030027123, 0.1160019934, 0.1199434474, 0.1958912611, -0.3976293206, 0.1383127123, 0.4636359513, 0.1777173877, 0.2960357368, -0.1208069026, -0.4079247415, 0.6451715827, -0.2204878479, -0.242069751, -0.2038646042, 0.0843546465, 0.0940520167, -0.1020540297, 0.1656766385, -0.4228252769, 0.0679916069, -1.1305993795, 0.5247328281, 0.8227086663, -0.5834849477, -0.1444398016, 0.6007841229, -0.033036571, -0.6200433969, 0.7361639142, 0.0298392437, -0.396251291, 0.651743114, 0.1383884549, 0.4248149097, -0.3583498299, 0.2493688762, 0.6547952294, 0.3654751182, 0.2139708102, 0.5412265062, 0.3012354076, -0.6069530249, -0.7725991607, -0.6369513869, -0.689289391, 0.3788742721, -0.8830841184, -0.0500462987, -0.2922835946, -0.3691673577, 0.0561818965, 0.3810311854, -0.7296786308, 0.2473183274, -0.258248359, 0.9541267753, -0.8990206718, 0.3029569387, 0.4529806972, -0.202885285, -0.7614526749, 0.0223504677, -0.4284626842, -0.4975006282, 0.4297936261, -0.1245218888, 0.0151887927, -0.2531521618, -0.7520697117, -0.8356437683, 0.7108543515, 0.6037940979, -0.2148895264, 0.2341144234, 0.2872450352, 0.6963757873, -0.0297290664, 0.4405977726, 0.7819958329, 0.4644882083, -0.1384321302, -0.911872685, -0.2505148351, -0.1398103088, -0.103311263, 0.4414059222, -0.4702849984, 0.7313264608, 0.2783692479, -0.3700104654, 0.159113571, 0.9335893989, -0.1496842802, 0.3724777699, 0.5441818833, -0.0069937771, 0.8308207393, -0.4276122153, 1.0855175257, -0.6949647665, 0.4146968424, 0.6704011559, -0.0572302267, 1.1014065742, 0.698251605, -0.0731020048, 0.0202613398, 0.6028153896, 0.5390259027, 0.5258154869, 0.7375568151, -0.1946419179, -0.629275322, -0.1911502481, -0.1115322113, 0.6580572724, 0.3415527344, 0.0411051661, -0.2620892525, -0.1058662683, -0.1446786672, 0.7311925888, -0.2346155494, 1.0287078619, -0.1181088835, -1.0106118917, 0.4912798405, -0.0335398652, 0.2163574398, -0.3743433356, -0.0696334764, -0.5465730429, -0.2637378573, 0.0923677757, -1.3725099564, 0.5955916643, -0.0660615861, -0.166885674, -0.015956521, 0.0761632696, -0.4467170238, -0.4032476544, 0.2094698548, 0.8105329871, 0.1533723623, -0.0234293565, -0.4300411642, 0.0171719585, -0.5257086158, -0.2524433732, 0.3107948899, 0.6143660545, 0.4388149977, 0.3524016142, 0.4965205193, 0.0232917927, -0.0636672229, -0.3237178028, 0.8945581913, -0.0938867256, -0.5155274868, -0.7681575418, 0.576936245, -0.3215274215, -0.5531643033, 0.4015605748, 0.5376549959, 0.8729662299, 0.3761664927, 0.32754758, -0.0093730204, 0.7825536728, -0.4720442891, 0.8161384463, -0.6825406551, 0.1225415096, -0.0013251406, -0.966193974, -0.2314859629, 0.6309203506, -0.4611421525, -0.3246421516, 0.5406776667, 1.1960804462, -0.3267259896, -0.0872747526, 0.5425444841, -0.0734363198, 0.4206291139, 0.1747615784, 1.1121407747, -0.2787711024, 0.6177216172, -0.122247465, -0.1125534698, 0.0394027941, -0.5621720552, -0.6019435525, -0.8630138636, -0.3782743514, -0.5741479397, 0.291790545, 0.7004557848, 0.6125898361, -0.7923622727, -0.4102991223, 0.4073258936, -0.1500445306, -0.0540697426, -0.2219497412, 0.6767960191, -0.5644356608, -0.4659502506, 0.0603832379, 0.0669125468, -0.5716302991, -0.19105272, 0.2719134092, -0.1027712375, 0.5953164697, 0.5832585096, 0.0376571007, -0.8248189092, -0.9900191426, 0.4987352192, -0.2898443639, 0.1539195329, 0.8676126599, -0.148187831, 0.5915850997, 0.7472515702, 0.773165822, 0.176112175, 0.310955137, 0.3760217726, -0.6953787208, -0.2078357935, 0.5898633003, 0.0350869857, 0.3137626648, -0.1726303101, 0.27483657, -0.3466280699, -0.7610234022, -0.7352780104, 0.2391750216, -0.8981392384, -0.1019533128, 1.1115065813, -0.1518549174, -0.0860699266, -0.1115720645, -0.3636983931, 0.1531795859, -0.1933044344, 0.7958409786, 1.0148912668, -0.0150594423, -0.395437181, -0.8717651963, 0.2217254043, 0.2152641714, -0.6802580357, 0.1589767635, 0.2852218449, 0.2415195704, 0.1268483847, 0.8483783603, -0.3863899112, 0.4611695409, -0.2666273117, -0.4494611621, 0.4399927855, -0.1882727444, -0.0851079375, 0.5332654715, 0.2752881944, -0.3222889304 ]
http://arxiv.org/abs/2404.08806v1
http://arxiv.org/pdf/2404.08806v1
CreativEval: Evaluating Creativity of LLM-Based Hardware Code Generation
2024-04-12T20:41:47
2024-04-12T20:41:47
Matthew DeLorenzo, Vasudev Gohil, Jeyavijayan Rajendran
cs.CL
cs.CL
Large Language Models (LLMs) have proved effective and efficient in generating code, leading to their utilization within the hardware design process. Prior works evaluating LLMs' abilities for register transfer level code generation solely focus on functional correctness. However, the creativity associated with these LLMs, or the ability to generate novel and unique solutions, is a metric not as well understood, in part due to the challenge of quantifying this quality. To address this research gap, we present CreativeEval, a framework for evaluating the creativity of LLMs within the context of generating hardware designs. We quantify four creative sub-components, fluency, flexibility, originality, and elaboration, through various prompting and post-processing techniques. We then evaluate multiple popular LLMs (including GPT models, CodeLlama, and VeriGen) upon this creativity metric, with results indicating GPT-3.5 as the most creative model in generating hardware designs.
[ -0.4553246498, -0.7643780708, 0.692515254, 0.4167010188, -0.5210250616, 0.426276803, -0.1600887179, -0.304749012, -0.0359890945, 0.1379550397, -0.6384881735, -0.4222534299, -0.2631946802, 0.0296634231, -0.1633665413, 0.769269228, -0.2682902813, -0.3385764062, -0.3087689579, 0.1354978085, -0.6514078975, -0.3166552186, -0.0206792131, -0.1385589689, 0.386110872, 0.2842569649, 0.3472212553, 0.2289608121, 0.7499825954, 0.3983990252, -0.1519555151, 0.2273824215, -0.4449129999, 0.3306959271, -0.1933771521, -0.4552966356, -0.5630571842, -0.0924674943, 0.3305442035, 0.2338886559, -0.1188097596, 0.5058526397, -0.0558888577, 0.5258496404, -0.2310153395, -0.0866672471, -0.8524653912, 0.2458717376, -0.4656066895, -0.5328038931, -0.2986354828, -0.9472202659, -0.4226489663, -0.5954436064, 0.2388765216, -0.2342977524, 0.3295092285, 0.3869321644, 0.0520347692, -0.6623930931, -0.9117666483, 0.6332624555, -0.7289595008, 0.2286921889, -0.2357444763, 0.4221896529, -0.1792421639, -0.9060059786, -0.6942994595, -0.0377717838, 0.7238230109, 0.0495870411, -0.1745851487, -0.1967336535, 0.3447732627, 0.7905681729, -0.6512146592, 0.1227374077, -0.2180868089, 0.1456259787, 0.6562803984, 0.2175278068, 0.3435981274, 0.0930463523, -0.4257929325, 0.194016993, -0.9299783707, 0.1159313396, 0.4822095037, -0.0798959434, 0.1909133345, 0.6005962491, -0.0648575276, 0.6191439033, 0.0105811395, -0.4009134471, 0.3596278429, -0.5053467155, -0.2443044931, -0.2561876178, 0.4800212681, 0.1736923605, -0.022313619, -0.20468162, -0.7093763351, 0.0179082714, 0.4309982955, -0.829018414, -0.1675013006, 0.2411373705, -0.5011057854, -0.6234853864, 0.0168775078, -0.2912233174, -0.3588099778, -0.3336352408, 0.4165973067, -0.0798012763, -0.3051509261, 0.134729892, -0.3982195556, 0.0046615936, 0.1423559934, -0.5798550844, -0.2754037976, 0.7891908288, 0.494164139, -0.3416962624, 0.0560627952, -0.411224246, -0.1948276907, -0.5963160396, 0.7784461975, -0.2487380654, -0.42019099, -0.2350542694, -0.302223742, 0.415823251, -0.6743887067, 0.3739047647, -1.0027221441, -0.1335391104, -0.5382583141, -0.5207808018, 0.0770566165, 0.0767663345, -0.5334621668, 0.7204282284, 0.2254755795, -0.4762013257, 0.6511846185, -0.4379112124, -0.4180210233, 0.7755494714, -0.3921000957, -0.2916047275, 0.7263559699, -0.1341125071, 0.0999267623, -0.4352436066, 0.391274035, -0.3663049042, -0.4166811407, 0.8201702833, -0.5563951731, 0.6694719791, 0.5192794204, -0.4307022393, 0.2128251195, -0.8847103119, 0.289152801, 0.0817599222, -0.4598097503, 0.0706385598, -0.2249716222, -0.0629988164, 0.382950753, 0.440077275, -0.7688229084, 0.2742869258, -0.2897850573, 0.4746796787, 0.7337424755, 0.1737405807, 0.0119310906, -0.4954791367, 0.9286731482, -0.4811572433, 0.03393659, -0.0441042334, -0.6632336974, -0.4311359823, -0.312220335, 0.0712154359, 0.5029245019, -0.8907122016, 0.2145833671, 0.1492969543, -0.7404071689, -0.4414531291, 0.4770580232, 0.2183442861, 0.4095691442, -0.0106094191, -0.2714739144, -0.4034269154, -0.7190647125, -0.2576010823, -0.1173873618, -0.1674682349, 0.2281263918, 0.1997537613, -0.2555027008, 0.6822234988, -0.1665791124, 0.1870332211, -0.2608059347, 0.4771307111, 0.5190196037, 0.3467440009, 0.5595348477, -0.3887237608, -0.3133570552, 0.0617844574, -0.7995054126, -0.4989079833, -0.2276872694, 0.0197341889, 0.2575467527, 0.1698659509, -0.6801624894, 0.4727234244, 0.2379730046, -0.0047776164, 0.7693339586, -0.1063226759, 0.4181911945, -0.8373958468, 0.1832147837, -0.5007502437, 0.0555338152, -0.2558895051, 0.3353935182, -0.1543799341, -0.0180562511, -0.6126310229, 0.3940107822, -0.4031612277, -0.276769489, -0.4573251009, 0.0956304967, -0.048368793, 0.1346675605, -0.1730989218, 1.0231668949, 0.3499375582, -0.3590072989, 0.8276381493, -0.1488152891, -0.6079084873, 0.4963913262, -0.96483922, 0.418335557, 0.1104005352, -0.3105815649, -1.2193604708, -0.1293694675, -0.4850204289, -0.3937783241, 0.1832814217, 0.1310776025, -0.711622715, -0.7665494084, -0.0937007442, 0.6919999719, 0.7794390321, -0.4707591832, 0.1964241266, 0.4206590056, -0.4593143463, -0.1216076091, -0.971157968, 0.0542120598, -0.3324145377, -0.9372867942, 0.6911169887, -0.5837954879, -0.2945543528, -0.0164287146, 0.0176390484, 0.1373333335, 0.1652453095, 0.0743404478, 0.2908163071, -0.5017515421, -0.0323164873, -0.1081078798, 0.0094666574, 0.1147919968, -0.3493250012, 0.4090717137, -0.6043783426, -0.526045084, -0.2656743824, 0.1473410577, 0.526244998, -0.2121276855, 0.2138091773, 0.5999706984, -0.1668022573, -0.7297705412, -0.5422794223, 0.2489228547, -0.6183558106, 0.2426719069, -0.4996751845, -0.9385511279, 0.7612918019, 0.1358200163, 0.2373209, 0.2803689241, 1.0699173212, 0.1235797256, 0.8496698141, 0.5384591818, 0.4760861993, 0.255725503, -0.0743096992, 0.4396046102, -0.5817955732, -0.3638675511, -0.1327993274, -0.4602812231, -0.5748007894, -0.5040768981, 0.1891687512, 0.0778921545, -0.2005859613, 0.1506338269, -0.7175738215, 0.6477259398, 0.4317390323, -0.3056470156, 0.2130506039, 0.1731860638, -0.4032084942, -0.1507583857, -0.7792106271, -0.5095815063, 0.8161716461, 0.4537130892, 0.9098951817, 0.2914378941, 0.7805302143, 0.238436684, 0.505971849, -0.7768009901, 0.5302345753, -0.1544500887, -0.2874388993, 0.0070710466, -0.5824425817, -0.5734614134, -0.3570980728, 0.2418813705, -0.4345427454, 0.0966427848, -0.0053838077, -0.6896449327, 0.4072544873, -0.3348450065, 0.5711405873, -0.6066756248, -0.6270199418, -0.1564141214, -0.0008859753, 0.6341745257, -0.3885243833, 0.1601289511, 0.1044611707, -0.0450150333, 0.5264964104, -0.4123658538, 0.4120666385, 0.0204650704, -0.3385060132, 0.7379209995, 0.403655231, 0.0628811121, 0.1373885274, -0.2652860582, -0.2705214024, -0.2420196831, -0.0236821864, -0.5642493963, 0.9245508909, -0.5654430985, -0.5211476684, -0.0220928788, -0.6803474426, -0.2571971714, 0.3074306548, 0.4698174, 0.5332057476, -0.2578276992, 0.3701322675, 0.6111491919, -0.5740823746, 0.58238554, 0.256816268, -0.2258723527, -0.6514568925, 1.1026984453, 0.1175848469, 0.1057075858, -0.0702326819, 0.0859062374, -0.4715884626, -0.591322422, -0.557700336, -0.0097190831, -0.7339476347, -0.3313418627, 0.0208501723, -0.5131647587, -0.1966214925, -0.4528050721, -0.4193855226, -0.655039072, -0.4392612576, -0.0034562885, 0.2319640815, 1.092530489, -0.0372312777, -0.004617746, -0.6869551539, 0.3056593835, 0.600564003, 0.5599192381, 0.1041876152, -0.6912028193, 0.0655245408, -0.1995108575, -0.6463627219, -0.8270888329, 0.4701760113, -0.0277294908, 0.8463588357, 0.1832634062, -0.1887149662, 0.5506920815, -0.2009793818, 0.9778818488, 0.3445608318, -0.8566027284, 0.695507586, -0.2649743557, 0.4237164259, 0.3309094012, 0.0467297435, -0.0446147025, -0.1008626521, -0.748462081, -0.6183297634, 0.0563527942, 0.1438839436, 0.0044057015, -0.1255353987, 0.1956672519, 0.1940408349, 0.4821510017, -0.5963807106, 0.3246401846, -0.1666735709, -0.2944606245, 0.5395466685, -0.0833298862, -0.0242331661, -0.0773085803, 0.4458399415, 0.1009147242, 0.3473041356, 0.0512495637, 0.0531677455, -0.1339456737, 0.3462761641, 0.8208632469, 0.7979364991, 0.1005109027, 0.2365451604, -0.0106472261, -0.1292740107, 0.232736215, -0.133190006, -0.0401471891, -0.121817641, 0.2078557312, 0.6592284441, -0.2218929082, -0.6588489413, 0.5244860649, -0.2248594612, -0.2206138372, -0.1209585965, 0.3420562744, 0.1724051535, 0.3515217006, 0.2352569848, 0.2388085425, 0.1150691956, -0.3952647448, 0.3696555197, 0.5540277958, -0.0441047028, -0.5164115429, 0.7361998558, 0.1026259959, -0.6492423415, 0.5997475982, -0.7183846831, -0.3965013623, 0.7917440534, 0.8296259046, 1.1697188616, 0.003701987, 0.0986368209, 0.2193822861, 0.3241100311, 0.303213805, 0.8256186247, -0.0928212851, -0.4286157787, -0.5998310447, -0.8516134024, -0.0986708701, 0.2027976066, -0.3215910196, 0.2539311051, -0.5753923655, -0.5496430397, -0.1654595733, -0.1194692925, -0.9025079012, -0.0721603483, 0.2963736355, 0.800607264, -0.4846934974, 0.5934227109, 0.6456129551, -0.3736260831, -0.7616037726, -0.5828782916, 0.054375235, -0.7901420593, 0.7054761648, -0.1398241818, -0.1197661459, -0.1375302225, -0.4894467592, -0.6722461581, 0.946197629, 0.223055467, -0.5330293775, 0.227404952, 0.3316859305, 0.6013386846, -0.5828694701, -0.0100955004, 0.3598293662, 0.1344288439, 0.5244796276, -0.6916496754, -0.0837097019, -0.6650847793, 0.2437891215, -0.1203917712, -0.3804729283, 0.6705029607, -0.5092702508, -0.1266360581, 0.3950446546, 0.5135568976, 0.969424367, 0.2603870928, 0.0480789095, 0.5752317309, 1.0034977198, -0.0220937096, 0.8295946717, -0.4859446585, -0.0463524684, 0.8112140298, -0.2157880068, 0.8004751801, 0.2794278562, 0.0811086223, 0.4503054023, 0.5268032551, -0.1932381839, 0.489493072, 0.4909290075, -0.3168680966, -0.1851792783, 0.0971467495, -0.4348859787, 0.1228689104, 0.3868402243, -0.3629937172, 0.103435725, 0.1288477629, -0.3680515587, -0.2215622514, -0.1918341219, 0.6647318602, 0.192426011, -0.7162731886, 0.7365798354, -0.0939056799, 0.4580356181, -0.1427231878, -0.0025574993, -0.3328793943, 0.266359657, -0.2100607008, -1.2203727961, 0.5177230835, 0.3023355007, -0.116326198, -0.3851534724, 0.6845294237, -0.2033665925, -0.6571573615, -0.3603809178, 0.3192393184, 0.2041847408, 0.2156290263, -0.5538697839, 0.445821017, 0.0456673279, -0.0465900823, -0.0122431526, 0.9614272118, 0.1995528042, 0.5176802874, 0.7084975243, 0.400762856, 0.1964406967, 0.1914649904, 0.8055167198, -0.5706085563, -0.5274963975, -0.6030435562, 0.6934967637, 0.153895691, -0.78114748, 0.914192915, 0.5249869227, 0.568721354, -0.2508825362, 0.8499757051, 0.0988399163, -0.0133074736, -0.3600029945, 0.5042288899, -0.5484811068, 0.7998057008, -0.4168959558, -0.9737091064, -0.2426943183, 0.6572304964, -0.269487232, 0.0781090036, 0.3004542589, 0.8662207127, -0.0957268551, 0.2747125924, 0.2040289938, 0.0851466358, 0.4623511136, 0.6805577874, 1.3792772293, -0.1223008931, 0.115125522, -0.0180964228, -0.5732328892, -0.0453537554, -1.1921648979, -0.5405935049, -0.3292057216, -0.4349519312, -0.1778299809, -0.371776998, 0.5483297706, 0.6053340435, -0.5254666805, -0.221349448, -0.5769779086, 0.0084368242, -0.0378583074, -0.2062902302, 0.0042390698, -0.5451865196, -0.0553835146, 0.5687069893, 0.4051099718, 0.107419759, -0.4986453652, -0.0127494223, 0.7357215881, 0.4011253715, 1.0086427927, 0.2116566747, -0.7834735513, 0.2233864665, 0.5020887256, -0.098585099, -0.2134794593, 0.8309346437, -0.668748498, 0.4977637529, 1.1550312042, 0.8132891059, 0.3048238158, 0.0284815878, 0.4271682799, -0.497304976, -0.1387702972, 0.4964887202, 0.061182484, 0.385235399, -0.1925124079, 0.0877461582, 0.3928343058, -1.0630546808, -0.7554824352, 0.1642989814, -0.8493387103, -0.350585252, 1.1486486197, 0.0339203849, -0.2911213934, 0.1656567007, -0.0783182159, -0.0820492655, 0.0914800018, 0.7244071364, 0.508156538, -0.4250492752, -0.0236884616, -0.5247308612, 0.4921976924, 0.1538631916, -0.6213797331, -0.0003061618, 0.3573586047, 0.3443135023, 0.2467626184, 0.6145350933, -0.2638056278, 0.5348786116, 0.1756563336, 0.1254309267, -0.214630425, -0.4092442393, -0.1296297312, 0.5232328773, 0.5158340335, 0.1456499994 ]
http://arxiv.org/abs/2404.08801v2
http://arxiv.org/pdf/2404.08801v2
Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Length
2024-04-12T20:28:14
2024-04-16T07:27:58
Xuezhe Ma, Xiaomeng Yang, Wenhan Xiong, Beidi Chen, Lili Yu, Hao Zhang, Jonathan May, Luke Zettlemoyer, Omer Levy, Chunting Zhou
cs.LG
cs.LG, cs.CL
The quadratic complexity and weak length extrapolation of Transformers limits their ability to scale to long sequences, and while sub-quadratic solutions like linear attention and state space models exist, they empirically underperform Transformers in pretraining efficiency and downstream task accuracy. We introduce Megalodon, a neural architecture for efficient sequence modeling with unlimited context length. Megalodon inherits the architecture of Mega (exponential moving average with gated attention), and further introduces multiple technical components to improve its capability and stability, including complex exponential moving average (CEMA), timestep normalization layer, normalized attention mechanism and pre-norm with two-hop residual configuration. In a controlled head-to-head comparison with Llama2, Megalodon achieves better efficiency than Transformer in the scale of 7 billion parameters and 2 trillion training tokens. Megalodon reaches a training loss of 1.70, landing mid-way between Llama2-7B (1.75) and 13B (1.67). Code: https://github.com/XuezheMax/megalodon
[ -0.4464759529, -0.2885893881, 0.6005917788, 0.4198326468, -0.3419944346, -0.165308252, -0.1383532882, -0.4064755738, 0.315541178, 0.3676376343, -0.5501361489, -0.1177593991, -0.6989864707, 0.0271156263, -0.4082031846, 0.9528155327, 0.465613842, 0.0731782392, -0.1087522954, -0.2398150116, -0.1667631865, -0.4691911042, -0.5446440578, -0.4449115098, 1.0343718529, 0.2493721396, 0.7055814266, 0.9367983341, 0.3421061337, 0.3566044569, -0.1994959712, 0.2129265964, -0.4895707965, -0.2061986327, -0.1857230812, -0.4532243311, -0.8713795543, -0.2006760836, 0.5272041559, 0.7906216383, 0.057014212, 0.3364016116, -0.0749704093, 0.5680595636, -0.7276419401, -0.0070348196, -0.4977874458, 0.2300946414, 0.0714199841, -0.1899435818, -0.4299711287, -0.303509146, 0.4539280534, -0.6084159613, -0.0735667869, 0.0134361191, 0.4535237551, 0.6961761713, -0.5502766371, -0.3270520866, -0.6489996314, 0.7248712182, -0.5346902013, 0.5427658558, -0.0376911685, 0.1225111634, 0.1774953902, -1.0408449173, -0.5736524463, -0.1802880913, 0.0405172221, 0.2369036824, -0.1164359674, 0.2931598127, 0.5754310489, 0.099708721, -0.4646975696, 0.3252548873, -0.3009439111, -0.0956668556, 0.4233552814, 0.1874649376, -0.2855627537, -0.1711799651, -0.5646808147, -0.0763490275, -0.7388353944, -0.1360670775, 0.5167179108, -0.2686304748, 0.1415911019, 0.238079533, -0.0246847831, 0.5745152831, -0.0170150585, -0.2274421602, 0.1971095204, 0.0663549379, -0.3226352632, 0.0708902925, 0.6780108809, 0.1893105209, 0.1944805235, -0.1783606857, -0.0690040439, -0.2581519186, 0.4545779526, -0.818038702, -0.1197119281, 0.2611057758, -0.1923697591, 0.1118289232, -0.1685845554, -0.9818087816, -0.2235873044, -0.4566401839, 0.6743083, -0.3387051523, 0.1373183876, 0.0706637874, 0.2434565574, 0.333088249, 0.1148790866, -1.1274311543, 0.09193746, 0.6444178224, 0.8571848869, -0.1299340278, -0.4777888656, -0.3607197404, 0.0588179976, -0.3748589456, 0.6819143295, -0.0361831672, -0.3423547447, -0.273625493, -0.1796817034, -0.1610885262, -0.6691111922, 0.3308205009, -0.7995828986, -0.2734636664, 0.283945173, -0.2956265211, -0.3946664333, 0.058223173, -0.7064861059, 0.6293048859, 0.1467626095, -0.3374685049, 0.1928825378, -0.7342464328, -0.4568420947, -0.0770739168, 0.085489586, -0.2307111174, 0.1901163012, 0.1489223689, 0.3882324994, -0.4114939868, 0.1697927415, -0.2110696733, -0.4650259018, 0.0242259186, -0.4137918055, 0.5731277466, 0.1264370382, -0.5058220029, 0.3484649062, -0.6400909424, 0.1586239189, -0.088910915, -0.3438116908, -0.0265969969, -0.0442736745, -0.207265377, 0.2009217292, 0.2263604701, -0.1880145967, 0.2870170176, -0.47500664, 0.6404903531, 0.8562108278, -0.3655338883, 0.4961938858, -0.1533261091, 0.4425879419, 0.0105520608, 0.4109592736, -0.3189654052, -0.1346887797, -0.9327734113, -0.4160798192, 0.6695355177, 0.599075377, -0.6265664101, 0.6632258296, -0.7581069469, -0.3780100644, -0.1402220726, 0.2033097595, 0.375200063, 0.3128447533, 0.4168297946, -0.2285218835, -0.754491806, -0.9776690006, 0.3064901829, 0.3282985985, -0.2684170604, 0.3337495327, 0.6047203541, -0.5832967758, 0.7043002248, -0.3562078178, -0.0590306669, -0.3795687258, -0.05606452, 0.5546956062, 0.3415605426, 0.3887218535, -0.7379241586, -0.1879746616, -0.12484321, -0.6148029566, 0.004160725, -0.226796627, -0.1026226729, -0.1080003977, 0.2836155891, -0.9734633565, 0.237100929, 0.7155460119, 0.1203689799, 0.4397737384, -0.1612218022, -0.3152681291, -1.1188004017, 0.1773937047, -0.2868264019, -0.0352861322, -0.6574682593, -0.0435687117, 0.3595190346, -0.0290289205, -0.5410358906, 0.3401542008, -0.1837888062, -0.4919491112, -0.3280914426, 0.1350812763, -0.1570099145, 0.7730987668, -0.2190608829, 0.8225291967, 0.3379044831, -0.7546024919, 0.5036274195, 0.1384685636, -0.4109174311, 0.1485716403, -0.8417716026, 0.3658305109, -0.0329092443, 0.5481238961, -0.6858005524, -0.2914711535, -0.0972573236, -0.394241631, 0.3264665604, 0.0145415077, -0.4534335434, -0.6272097826, -0.3506639898, 0.6655138731, 0.6114302874, -0.845676899, 0.8675866723, 0.1082747579, 0.0844145939, -0.9397534728, -0.4842143655, 0.0278629456, -0.2368502468, -0.4390678704, 0.2944088876, -0.1434929967, 0.1339845955, -0.2585942447, -0.3396139145, -0.0356124938, -0.0090103988, 0.4789983034, 0.3059423864, -0.1973819733, 0.1298892945, -0.0291515738, -0.3414759338, 0.2249704599, -0.6512504816, 0.9085450768, 0.0466038212, -0.1709222049, -0.4556401968, 0.2250795811, 0.9401637912, 0.021093823, 0.4010839462, 0.4479596913, -0.1289883852, -0.4803012609, -0.3901124001, -0.1105127111, -0.4994846582, 0.6215925813, -0.2140126377, -0.7306398153, 0.3438353837, -0.3564731479, -0.0975037068, 0.4308826327, 0.6147304177, 0.0940274298, 1.0940239429, 0.5994197726, -0.266492188, 0.3322615623, -0.7108129859, 0.3402019143, -1.202193141, -0.3003003597, -0.0686515346, -0.70672369, -0.3257508278, -0.4002554417, 0.3688012958, 0.1849634051, -0.376691699, 0.5294442177, -0.2261587977, 0.5900893807, 0.6893952489, 0.2655985653, -0.0689127669, -0.2775379717, -0.1048915684, 0.1718784422, -0.9467270374, -0.3824681342, 1.253860116, 0.2728136778, 0.6955311298, 0.0419986658, 0.3408300281, 0.2112180442, 0.5093801022, -1.1345553398, 0.729165554, 0.0271665566, -0.576551497, -0.275831908, -0.463357389, -0.8074140549, 0.2162462771, -0.0134018539, -0.6894800067, 0.0585409328, 0.3753563762, -0.8518317342, 0.4279404879, -0.6162237525, 0.6397336721, -0.4537111223, -0.4036382437, -0.3438718319, -0.7316389084, 0.3706121743, -0.4717326164, -0.2074899226, 0.033097107, -0.4129083157, 0.5769194961, -0.3134342134, 0.5730742812, 0.0736610964, 0.1287488788, 0.1870904714, -0.2483283579, 0.3486459553, 0.2480014563, -0.0429242663, 0.3641320169, -0.4605051577, -0.4689257741, -0.7790820599, 0.6573744416, -0.842197001, -0.6271587014, -0.1651183069, -0.9650779963, -0.2994478047, 0.1875587702, 0.4360353053, 0.4925311506, 0.2821979225, 0.5559344292, 0.922459662, -0.2231738418, 0.745241046, 0.0609682426, 0.0606206097, -0.6825373769, 0.4844674766, 0.192249164, 0.1837093532, 0.3850221932, 0.0447493456, -0.484834224, -0.641248703, -0.5501980186, 0.0964653865, -0.7706696987, -0.3478592038, -0.7784509063, -0.3463662863, -0.2925049365, -0.0833604857, -0.3606669009, -0.2150028497, -0.0661144108, -0.1747670025, -0.0827325955, 0.6500372887, -0.2041949481, 0.5645715594, -0.7666963935, 0.3161390424, 0.8502089977, 0.1503489017, 0.3542292118, -0.7838767171, -0.3745502532, -0.2203066051, -0.3156481087, -0.4761819839, 0.3620463014, 0.1591449082, 0.4625233114, 0.5730837584, -0.3127835095, 0.833183825, -0.7675454021, 0.6038284898, 0.3579407036, -0.9274167418, 0.2346661687, -0.1076973081, 0.417355746, 0.1395044923, 0.7817915678, -0.0764201134, 0.3832963705, -0.5543570518, -1.1190723181, 0.5289070606, -0.0681156591, 0.3602447212, -0.0533199385, 0.4162597954, -0.0937781706, 0.1865370572, -0.6974685192, -0.0328665078, -0.2232290804, -0.1894636303, -0.317638129, -0.4889223576, -0.2066486478, -0.5003975034, 0.4349645376, -0.2315024585, 0.4756632745, 0.2836701572, -0.3569661379, 0.3330379426, -0.0158080012, 0.9825939536, 0.875457406, 0.0647452101, 0.3307777047, 0.8791182041, -0.5610666275, 0.3264473379, 0.0575742945, 0.1633045673, -0.193317607, 0.5875221491, 0.7275748849, 0.4854897559, -0.7705392241, 0.3767579198, 0.2377205491, -0.3153915107, -0.3786574304, 0.2373835146, 0.2386521548, 0.5667004585, 0.5079658031, 0.0318417922, -0.0098546958, -0.3842281401, 0.1662336588, -0.0329826809, -0.2494985014, -0.3388410807, 0.8298167586, 0.1341797262, -0.3241652548, 0.5465480685, 0.0062509631, -0.5172946453, 0.966216445, 0.5003350377, 0.7427960038, -0.2323921919, -0.3313253224, 0.3447185755, 0.1932767779, -0.0609557517, -0.1371970773, -0.2608930171, -0.4573289752, -0.7835142612, -0.7369374633, -0.3608195782, 0.2735924125, -0.449069947, -0.1600740105, -0.851696372, -0.2722901106, 0.128871426, -0.1704994291, -0.4938744605, 0.2721837759, 0.3664109111, 0.970946312, -0.306984514, 1.0701131821, 0.4895362258, 0.1268356293, -0.8406199217, -0.0395242199, -0.0041626729, -0.7339445949, 0.976883769, 0.5894757509, -0.2915588319, 0.370105356, -0.4364944696, -0.9296997786, 1.4573552608, 0.3314070106, -0.7760378122, -0.1080996618, 0.1678687185, 0.4232866168, -0.354169786, 0.3371707797, 0.6978465319, 0.23539038, 0.0858582184, -0.6104912162, -0.2771548629, -0.0272185393, 0.2534930706, 0.3648732901, -0.8385335207, 0.8128020167, -0.4480552077, 0.1144158021, 0.3937706947, 0.6393054724, 0.0955858007, 0.1629859656, 0.7446801662, 0.9644345045, 0.4239959717, -0.1622096747, 1.074840188, -0.4674093723, 0.3793119192, 1.0830562115, -0.277390331, 0.4986738861, 0.2108276784, -0.0460604466, 0.3848789632, 0.6269905567, 0.0382518247, 0.4640036225, 0.2372139096, -0.4183761477, -0.1729435176, 0.0535873473, -0.1930973083, 0.4687021375, 0.3644725382, -0.5422046185, 0.0305332076, 0.084298268, -0.0679368675, -0.473795414, -0.5191855431, 0.5700064301, 0.0872092322, -0.6597899795, 0.5024495125, -0.4461994767, 0.6130717993, -0.8152526021, 0.1316629052, -0.4315588474, 0.398832649, -0.2056611925, -0.3658839762, 0.0699976012, -0.2489098758, -0.2475641221, -0.0962844044, 0.3404408991, 0.0373489, 0.0226008799, 0.5648959875, 0.1308564395, -0.0369180366, -0.0511245877, -0.4469988942, -0.0628583133, -0.2140817493, -0.5600416064, 0.2656641006, 0.2832151651, 0.2179899663, 0.8043782711, 0.6837483048, -0.0816418529, 0.3465416729, 0.0108745638, 0.8006650209, -0.7239301801, -0.2967039049, -0.8419674039, 0.3006935716, -0.1457786411, -0.5223538876, 0.6016539335, 0.4207268655, 0.8708389401, -0.1714959592, 0.2677897513, -0.1074160784, 0.0276353322, -0.5243163109, 0.4304071665, -0.3732086718, 0.0888360888, 0.287861079, -1.2984509468, -0.3895402551, 0.4195548594, -0.3918361068, 0.1208161116, 0.7737147212, 0.6740202904, -0.2125556618, -0.1835881919, 0.6510458589, 0.3248117566, 0.0110073416, 1.0281671286, 0.8478598595, -0.2590220273, 0.8334637284, -0.2612562776, -0.156417191, -0.3305684924, -0.700450778, -0.7855983973, -0.1311792284, 0.2190427482, -0.0028769011, 0.0090099256, 0.9307319522, 1.2351596355, -0.5802385211, -0.1214996576, 0.0910443738, -0.0192134622, -0.0610407032, -0.1235514283, 0.2546678782, -0.3967423737, -0.8632912636, 0.4216566682, 0.4976602495, -0.0856419653, -0.3546297848, -0.0944310874, -0.1433886439, 0.1136085242, 1.0159716606, 0.269377321, -0.5279586911, -0.495701164, -0.1116656885, -0.1673042923, 0.1320866048, 0.842086494, -0.6644240022, 0.1673922688, 0.3288309872, 0.8701446652, 0.5219367743, 0.005350342, 0.3265925646, -0.4646296501, 0.4856885076, 0.4086015522, 0.441596061, 0.0071466044, -0.1368707716, 0.7604672909, 0.2552199364, -0.88063097, -0.3953823149, 0.2847112417, -0.9846665263, -0.2412366271, 0.9241000414, -0.2404721975, -0.46533373, 0.2033555955, -0.0370784439, 0.2563381493, 0.0846531987, 0.73132056, 0.3091231287, -0.1937544048, -0.1637405008, -0.9094871879, 0.1891032308, 0.6263567209, -0.7690526247, -0.3355623186, 0.2684826553, 0.1956218779, 0.4988757968, 0.1252215207, 0.0971128866, 0.5313948989, 0.0414520465, 0.0189917907, -0.1077693924, -0.8492766619, -0.4380915463, 0.2127571702, -0.3446739614, -0.1618530899 ]
http://arxiv.org/abs/2404.08793v1
http://arxiv.org/pdf/2404.08793v1
JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Models
2024-04-12T19:54:42
2024-04-12T19:54:42
Yingchaojie Feng, Zhizhang Chen, Zhining Kang, Sijia Wang, Minfeng Zhu, Wei Zhang, Wei Chen
cs.CR
cs.CR, cs.CL, cs.HC
The proliferation of large language models (LLMs) has underscored concerns regarding their security vulnerabilities, notably against jailbreak attacks, where adversaries design jailbreak prompts to circumvent safety mechanisms for potential misuse. Addressing these concerns necessitates a comprehensive analysis of jailbreak prompts to evaluate LLMs' defensive capabilities and identify potential weaknesses. However, the complexity of evaluating jailbreak performance and understanding prompt characteristics makes this analysis laborious. We collaborate with domain experts to characterize problems and propose an LLM-assisted framework to streamline the analysis process. It provides automatic jailbreak assessment to facilitate performance evaluation and support analysis of components and keywords in prompts. Based on the framework, we design JailbreakLens, a visual analysis system that enables users to explore the jailbreak performance against the target model, conduct multi-level analysis of prompt characteristics, and refine prompt instances to verify findings. Through a case study, technical evaluations, and expert interviews, we demonstrate our system's effectiveness in helping users evaluate model security and identify model weaknesses.
[ -0.3455619514, -1.0842456818, 0.6386088729, 0.522988081, -0.1972060055, 0.3036203682, -0.154680416, -0.4591557086, 0.2326800972, 0.726578474, -0.6461775899, -0.5930283666, -0.6397340894, 0.1805625558, -0.4775559902, 0.5798465014, -0.0696137547, -0.0033021886, -0.2514861822, 0.0453689545, -0.9688996673, -0.3467561901, -0.4962455928, 0.4048066139, 0.3867643476, 0.4776149988, 0.4892491996, 0.3405423164, 0.6718539596, 0.429417938, -0.1715055853, -0.2408321798, -0.3759997785, 0.5625382662, -0.0512941368, -0.2646835148, -0.413934797, -0.1459050626, 0.2057443112, 0.3194047511, 0.1075451598, 0.3123417199, -0.2029372007, 0.680367291, -0.6335786581, -0.0564726591, -0.620806694, 0.0624929555, -0.4911938608, 0.1743309796, -0.4379841983, -0.3216329813, 0.0344056264, -0.1905240566, 0.0157964025, 0.2903555334, 0.4432235956, 0.2240857631, -0.1066830903, -0.1442930698, -0.1845975369, 0.4937978983, -0.7940776348, 0.1941250265, 0.1355294138, 0.5953306556, -0.2830978334, -0.3995546997, -0.1874603778, -0.7805115581, 0.0907571539, -0.3821136057, -0.5484604836, 0.1024522856, 0.5067576766, 0.1012634858, -0.8356853127, 0.3800302148, -0.4523100257, -0.2899403274, 0.6529755592, 0.4333419502, 0.7697668076, -0.2790216506, -0.473448813, 0.1242863759, -0.7607503533, 0.0063611432, 0.3848031759, 0.3677605987, -0.3010155857, 0.6427104473, -0.0633589849, 1.0129301548, -0.2615681291, -0.1825869679, 0.1125737429, -0.1259307116, -0.2338044196, -0.0607825629, 0.9531321526, 0.5225394964, 0.3620249927, -0.1965522617, -0.2997036278, -0.2206981182, 0.2121732831, -1.0452276468, -0.235956654, 0.3417537212, -0.5578505993, -0.5401570201, -0.0042602029, -1.193415761, -1.1664862633, 0.0181352552, 0.0487537272, -0.4164314866, -0.1026850343, -0.202582866, -0.2799686193, -0.0969634652, 0.3030715287, -0.6875420213, 0.2986216247, 0.4456880093, 1.0231109858, -0.2442491353, -0.2541193664, -0.6624059677, -0.0373707376, -0.0674021989, 0.8627502322, -0.5027807951, -0.5598872304, -0.1351360232, -0.1377781183, -0.1249754205, -0.6434921026, 0.22605066, -0.5395753384, -0.5294832587, -0.2059215307, -0.6572403312, 0.0597024933, 0.3918572962, -1.0580378771, 0.4514080584, -0.1025456712, -0.8912522197, 0.077775605, -0.5133565664, -0.2648813128, 0.2597491443, -0.2699266672, -0.3295932412, 0.3127800822, 0.371922642, 0.4870156646, -0.1992934942, 0.2232728004, -0.5545161366, -0.2886560559, 0.3138400316, -0.2414279133, 0.920401752, 0.3726003468, -0.3064646721, 0.5563642979, -0.846970439, -0.2195524275, 0.4427290857, 0.0156201534, -0.3962127864, 0.0903309435, 0.0834256634, -0.1618325114, 0.4355332255, -0.4245277345, 0.4644920528, -0.2368305176, 0.5019929409, 0.7781306505, 0.0258673672, 0.1850134581, 0.3211769462, 0.9451620579, -0.1631344259, 0.4222293794, -0.4275543392, -0.3609820902, -0.3374711275, -0.410243392, 0.1778067201, 0.8193760514, -0.4766694605, 0.1582888216, 0.0910385996, -0.6357405782, -0.166871205, 0.4912369549, 0.4258788824, 0.441811651, 0.2204362601, -0.16694884, -0.6931267977, -0.9704003334, -0.5650510788, -0.2463013083, 0.177584216, 0.1418105513, 0.5010784864, -0.2616820335, 0.8878805041, -0.4408791065, 0.0071634981, -0.5694235563, -0.078943707, 0.0015365453, 0.3622738123, 0.9103562236, -0.4519566298, -0.2377963513, -0.2979083061, -0.8584054708, -0.5974605083, -0.0237365738, 0.1660156846, -0.069294773, 0.9291892648, -0.4845194817, 0.5243570209, 0.5040762424, -0.8575087786, 1.0276994705, 0.0994179919, -0.0177452825, -0.6254057288, -0.005228017, 0.1687451005, -0.1614925563, -0.5715455413, 0.2340150326, 0.1374645531, -0.3873796463, -0.4785874188, 0.7378076315, -0.4620099068, -0.1975126565, -0.0830515325, 0.2023932189, -0.0611529648, -0.0503806286, -0.3958928287, 0.8912561536, 0.4990332127, 0.0176728368, 0.8121805787, 0.0194044467, -0.5219077468, 0.3108796179, -0.8074985743, -0.0030875765, 0.1155847982, -0.2510704398, -1.1092377901, -0.3491795063, 0.2610086799, -0.2591493726, 0.2748803198, -0.3250475824, -0.536247611, -0.4225890338, -0.4385208786, 0.1805045903, 0.1558407247, -0.4888702333, 0.4623319209, 0.2832668424, -0.4349312782, -0.4612297714, -0.3820039034, 0.5261135101, -0.489649564, -1.0305559635, -0.0202251561, 0.0143161723, -0.8700511456, -0.1297195554, 0.1649964154, -0.0305194743, 0.5592139363, 0.5031274557, 0.5930461884, 0.0492847078, -0.2834338546, -0.0693218037, 0.0397342704, 0.3216986954, 0.0470477603, 0.4460619092, -0.2765753269, -0.220114544, -0.4575813711, 0.2840947807, 0.9021581411, -0.3856074512, 0.6770467758, 0.1218717098, -0.0198281147, -0.2392700315, -0.6564487219, 0.1712723821, -0.4883872271, 0.3874485493, -0.4276309013, -0.9948211908, 0.7470918894, -0.1108242497, -0.2177240252, 0.0581820495, 0.425299108, 0.0364119895, 0.9086009264, 0.9083406925, -0.3119253516, 0.7362033129, 0.0267370213, -0.027259659, -0.4990074039, -0.40897578, -0.4372708201, -0.1290469766, -0.1752358228, -0.0231951661, 0.1830494404, 0.3767323792, -0.245687142, 0.3766196966, -0.2163211703, 0.5670048594, 0.1782170981, -0.1290984303, 0.1705911607, -0.0903289914, -0.263920933, -0.0380598754, -0.3486580849, -0.6240157485, 0.8619599938, 0.558054924, 1.0257747173, 0.1753773838, 0.6047664881, 0.5346369147, 0.1732856333, -0.8035548329, 0.801114738, 0.0858298093, -0.3764099479, -0.0861239284, -0.4933696985, -0.6276758909, 0.1070480347, 0.0009249134, -1.1254826784, 0.0095017245, 0.2261462063, -0.5388156772, 0.2600605488, -0.9795825481, 1.270491004, -0.5666514039, -0.2693554163, -0.0327083282, -0.6186259389, 0.818695724, -0.0385046452, 0.4206222892, -0.1979669333, 0.1254394501, 0.762878418, -0.9269872904, 1.1071404219, -0.4763401747, -0.1203002408, 0.3749324977, 0.5345071554, 0.449308008, 0.0855050683, 0.1696735471, 0.0514397696, -0.1759540737, -0.1345798373, -0.7113494277, 0.7598705888, -0.4332748353, -0.83139503, -0.0751214921, -0.4430772066, -0.1569405049, 0.1280536056, 0.0923415497, 0.2702096701, -0.2497499585, -0.3577073216, 0.5279548168, -0.4362820685, 0.5133460164, 0.1877540499, -0.6727121472, -0.4610589743, 0.6473954916, -0.021343451, -0.0162036475, -0.1131189093, 0.1073795781, -0.0769600496, -0.9777039886, -0.6955607533, 0.0692825392, -0.6081402898, -0.354503423, -0.0988791585, -0.0202680361, -0.3693469167, -0.1574191898, -0.1281228662, -0.3544828296, -0.1518396586, -0.179066211, 0.7309426069, 0.7493386269, 0.1501192749, 0.5090523958, -1.0391556025, 0.3377185762, 0.31642887, 0.2982381284, 0.0639260858, -0.3619075119, -0.1131141484, -0.6289299726, -0.2217275649, -1.4471802711, 0.4684701264, -0.2230491191, 0.5404418707, 0.5887641311, -0.1106537208, 0.5949115157, -0.8027472496, 0.8053155541, 0.3646118641, -1.1605129242, 1.0054260492, -0.3081892729, -0.1607253551, 0.7421295047, -0.0746990666, -0.266769886, -0.4294210672, -0.3278452158, -0.9059929252, 0.4145579338, 0.0664749369, -0.0590293743, 0.0190810971, 0.3291344643, -0.070691593, 0.1552601308, -0.5124809742, -0.0995989367, -0.1662426591, -0.0866211429, 0.2440777123, -0.4203663468, -0.0400289074, -0.1447504908, 0.1618499756, 0.2730927169, -0.2027396709, -0.0802275762, -0.4561499357, 0.1399518251, 0.3880404532, 0.5839607716, 0.7395950556, -0.1587591171, 0.0723205954, 0.1044976786, -0.5834722519, 0.1621322632, 0.1289617121, -0.130457744, -0.0377796218, 0.6681237221, 0.9376448989, -0.0812698752, -1.211643815, 0.7992787957, -0.1697829217, 0.2182227373, -0.3175292611, 0.1882954687, -0.0642780587, 0.5770805478, 0.1302945465, -0.0155920386, 0.2131765485, -0.3652330339, 0.1076381505, 0.5199609399, -0.3361562192, -0.2910626829, 0.6019389033, 0.3245033026, -0.4745942354, 0.648927331, -0.0064478, -0.6543395519, 0.8600105643, 0.4882683158, 1.0513361692, -0.4303973317, 0.0188799705, 0.079614982, 0.6458407044, 0.092520088, 0.2554413974, 0.0387330167, -0.434091866, -0.5468619466, -0.5064357519, -0.3392845988, 0.1370754987, -0.5526522994, 0.3572758436, -0.8658102751, -0.2313366681, -0.2286168039, -0.3586063683, -0.3017154336, -0.0228870623, 0.4245533645, 1.3470523357, -0.8191081882, 0.5262064934, 0.4722182751, -0.3049771488, -0.536670506, -0.3408876956, 0.4128290713, -0.5853384733, 0.9941626787, 0.4290160537, -0.0541577563, -0.429941386, -0.8785796165, -0.5460207462, 0.7973517776, 0.5875858068, -1.01692307, 0.0615905263, -0.1313441992, 0.1734896451, -0.3012523353, 0.1191539243, 0.9084727764, 0.6023423076, -0.2383270562, -0.8634921312, 0.2362804264, -0.4314037561, 0.0505418517, 0.196049571, -0.3612127602, 0.7141507864, -0.5605084896, -0.0323414952, 0.3553508222, 0.4682105482, 0.6532253027, 0.2356099635, 0.5186647773, 0.6674870849, 0.6053202748, 0.0934012979, 1.0101356506, -0.2362537831, 0.0842921212, 1.1734366417, -0.2101406455, 0.7954597473, 0.6324723959, -0.0705889165, 0.5073561668, 0.4512265921, -0.4102756977, 0.4922190607, 0.6254850626, -0.1406392306, -0.1989589632, 0.2516076565, -0.2124245912, 0.2674433291, 0.471349448, -0.3950771093, -0.3004912138, 0.409616679, 0.2423104346, 0.0118896272, -0.5136793256, 0.627466917, 0.0858560875, -0.0510377325, 0.3539620936, 0.126646772, 0.5076562166, -0.5629782677, 0.1029561087, -0.2132699341, -0.0740167126, -0.2156995684, -0.646486938, 0.1766640097, 0.6919563413, -0.002538512, 0.0930329114, 0.8436561227, 0.1532898247, -0.4468147457, 0.5319920182, 0.549597621, 0.0731107593, -0.1967694014, -0.8457624912, 0.7041320801, -0.0343133472, -0.4835553467, 0.2822577059, 0.2198878378, -0.1657586843, 0.8522231579, 0.3737593591, 0.2296575159, 0.2249779999, 0.2970015705, 1.013092041, -0.8440310955, -0.2626294196, -1.4895031452, 0.5881062746, -0.3628616631, -0.1751857996, 1.0185821056, 0.4168839753, 0.4231010079, -0.0976845324, 0.8399211168, -0.0378743149, 0.223799035, -0.6909805536, 0.8960479498, -0.2943594754, 0.7960315943, -0.5076112747, -0.7303315997, -0.4310698807, 0.4119829237, -0.5440478325, -0.2397696227, 0.3706210554, 0.6876943707, 0.1594717801, -0.0977685899, 0.1846221238, 0.4131939113, 0.4393287003, 0.3635957241, 1.3109810352, -0.022669958, 0.4527991712, -0.0610062033, -0.3579461575, -0.234955132, -0.8882272243, -1.3486725092, -0.0776110664, -0.2796545029, -0.251537174, 0.1170130447, 0.7774804831, 0.452942282, -0.754812479, -0.3720872402, -0.0512862168, 0.1715610474, 0.2482242286, -0.2287983149, 0.2340775579, -0.5058791041, -0.2334825546, 0.8792017102, 0.3855744898, 0.0546829253, -0.4121055901, 0.2539158762, 0.4318560958, -0.0326699242, 0.6340922117, 0.368865788, -0.6832235456, -0.0953627601, -0.1084975004, -0.0436830781, -0.1955073476, 0.9201593995, -0.7814754844, 0.4861282408, 0.549244523, 0.6088953018, 0.0598263256, -0.0025019655, 0.4164074957, -0.668746233, 0.320214957, -0.0153314229, 0.636549592, 0.3063560724, -0.2880927622, 0.112968713, 0.2657670081, -0.2684806287, -1.0003225803, 0.3331088126, -0.8753635287, -0.7020112872, 1.0397219658, -0.2689230144, -0.4438230097, -0.1059830785, -0.3639501333, -0.3071261048, -0.444837302, 0.5780569315, 0.6587836742, -0.049469769, -0.2382873297, -0.7744386792, 0.4468365908, -0.0575690307, -0.8632433414, 0.3710409999, 0.713077426, 0.3840599358, 0.1244996339, 0.2359205931, -0.2341090143, 0.1414072365, -0.080133684, 0.0008207041, -0.4546979666, -0.5401400924, -0.6951729655, 0.387716502, 0.1991270036, 0.0547277778 ]
http://arxiv.org/abs/2404.08763v2
http://arxiv.org/pdf/2404.08763v2
CATS: Contextually-Aware Thresholding for Sparsity in Large Language Models
2024-04-12T18:42:18
2024-04-27T00:01:02
Je-Yong Lee, Donghyun Lee, Genghan Zhang, Mo Tiwari, Azalia Mirhoseini
cs.LG
cs.LG, cs.CL
Large Language Models (LLMs) have dramatically advanced AI applications, yet their deployment remains challenging due to their immense inference costs. Recent studies ameliorate the computational costs of LLMs by increasing their activation sparsity but suffer from significant performance degradation on downstream tasks. In this work, we introduce a new framework for sparsifying the activations of base LLMs and reducing inference costs, dubbed Contextually Aware Thresholding for Sparsity (CATS). CATS is relatively simple, easy to implement, and highly effective. At the heart of our framework is a new non-linear activation function. We demonstrate that CATS can be applied to various base models, including Mistral-7B and Llama2-7B, and outperforms existing sparsification techniques in downstream task performance. More precisely, CATS-based models often achieve downstream task performance within 1-2% of their base models without any fine-tuning and even at activation sparsity levels of 50%. Furthermore, CATS-based models converge faster and display better task performance than competing techniques when fine-tuning is applied. Finally, we develop a custom GPU kernel for efficient implementation of CATS that translates the activation of sparsity of CATS to real wall-clock time speedups. Our custom kernel implementation of CATS results in a ~15% improvement in wall-clock inference latency of token generation on both Llama-7B and Mistral-7B.
[ -0.4800741374, -1.0271539688, 0.4153442383, 0.6287286282, -0.451665163, -0.2095701396, -0.2095919847, -0.5747445226, 0.28979972, 0.5562996268, -0.3783633113, -0.1980999261, -0.5829607248, 0.0799715891, -0.1833695769, 0.618530035, 0.2079200447, -0.1302001178, -0.0795338228, -0.0357031301, -0.5879496932, -0.4245915413, -0.6223347783, -0.3673465252, 0.2632721663, 0.0899160579, 0.4054943323, 0.840075314, 0.4903862178, 0.2045530528, -0.4464168251, 0.071094051, -0.4687796235, 0.2532795072, 0.0817463323, -0.136868462, -0.4766513407, -0.5724120736, 0.8063387871, 0.5676589608, -0.1294062883, 0.03294513, 0.2487868071, 0.5760443807, -0.9317330718, -0.0645413473, -0.8549224734, 0.1207137406, -0.0769094154, -0.4433867633, -0.7146806717, 0.1695161611, -0.2178069055, -0.8067216873, 0.0822588652, -0.3255916834, 0.8185655475, 0.7419139147, -0.4645678997, 0.0769292936, -0.345962733, 0.8253993988, -0.5461416841, 0.8030604124, 0.3105760217, -0.0913778022, -0.4773957133, -0.6343069077, -0.369033277, -0.4160777032, -0.0372519717, -0.1482630968, -0.3835543692, 0.1117478311, 0.4470466971, 0.314053297, -0.5313560963, -0.0342438519, 0.1720463485, -0.1222473085, 0.1569601595, 0.173184216, 0.1657014191, 0.1015225351, -0.6507677436, 0.030542165, -0.65354985, 0.388541013, -0.201871559, 0.4323243201, -0.1357976198, 0.2057124823, -0.382101506, 0.7022374868, 0.4350299537, 0.0859023333, 0.2400030941, -0.0974692628, -0.326020807, -0.1543983072, 0.3412912786, 0.1329447031, -0.0711186305, -0.1906632036, -0.3509035707, 0.2104421109, 0.0652196631, -0.954198122, 0.0417047366, 0.0469162315, -0.1908952296, -0.2678572536, -0.5104845166, -0.4893170893, -0.3683025241, -0.2425812185, 0.2797504067, -0.15646635, -0.5162134767, 0.3092733324, 0.038120538, 0.3083022237, 0.2284904271, -0.8727573752, 0.49707219, 0.6806601882, 0.8400904536, -0.2143104821, -0.1189850345, -1.1412495375, 0.1452415586, -0.5506995916, 0.7492216229, -0.7298604846, -0.4315057397, -0.3989413381, -0.0087389043, -0.0015120913, -0.4915471077, 0.3059388995, -0.6920349002, -0.530031383, -0.2492909282, -0.1776903272, -0.1229119971, 0.4119275808, -0.7694509625, 1.5453950167, -0.3751962185, -0.601721704, 0.5448046327, -0.7157860398, -0.6191174984, 0.251770407, 0.3537480533, -0.3804781437, 0.2352923453, 0.3391668499, 0.6554219723, -0.0229797885, 0.712198019, -0.3962340057, -0.4624724686, 0.1648473591, -0.3338235319, 0.5923029184, 0.0964341387, -0.505939126, 0.2042442709, -0.6644194722, -0.0367656089, -0.2498435676, -0.3159862757, -0.6121870279, 0.0031470915, 0.2172726393, 0.1094380468, 0.2999690473, -0.2085088044, -0.0228590947, -0.3639622629, 0.4651060998, 0.6740608811, 0.0864973068, 0.3330001235, -0.0844140872, 0.3351923525, 0.0610632189, 0.0862241313, 0.0031501779, -0.5514175296, -0.7165533304, -0.6432031989, -0.1007449776, 0.3611661196, -0.6149104834, 0.5014278293, -0.2972314954, -0.4307590425, 0.2602590024, 0.256965369, 0.5676159263, 0.529128015, 0.4404067397, -0.4869318902, -0.5516842008, -0.7902065516, -0.1539234966, -0.051609762, 0.1924340576, 0.2754246891, 0.4516589344, -0.2214934975, 0.8785076737, -0.2328983098, -0.1905424595, -0.2422108501, 0.1068738326, 0.0939535648, 0.6682322621, 0.2585513294, -0.649507165, -0.344791472, 0.0939107537, -0.2828243375, -0.3108711243, -0.117078796, -0.3212817907, 0.0876001716, 0.551636219, -0.5606532693, 0.3743852675, 0.549130857, -0.2870222032, 0.238367036, 0.0285112001, -0.0839839205, -1.0350955725, 0.4726181626, 0.2560185492, -0.3745262027, -0.9255490899, -0.105651319, 0.038452398, 0.0527115054, -0.4105609655, 0.844522059, -0.5051739812, -0.1638165861, -0.2256560922, -0.2310403883, -0.0249158833, 0.8728408217, 0.4458347261, 0.7974963188, 0.5332593322, -0.848190248, -0.4397414327, 0.0449619293, -0.1122075543, 0.2543622851, -0.5411344171, -0.0672540665, 0.1334680915, 0.5202502608, -0.8190037608, -0.1500268131, 0.1537271291, -0.4197903275, 0.1117515042, -0.1738866866, -0.1583934873, 0.1738771945, -0.2204974741, 0.7080820203, 0.3554730117, -0.6258840561, 0.7648183703, 0.6820818782, 0.1675679535, -1.0890688896, -0.5612775087, 0.2986424267, -0.2304748893, -0.2937222719, 0.2855070829, 0.0777375251, 0.0031447152, -0.0134366807, -0.0721535906, -0.3222847879, 0.4729198217, 0.4501633346, 0.0660546869, -0.3426077962, 0.091489628, 0.1554273814, -0.2564266026, -0.213836059, -0.2237392813, 0.5322993994, -0.2081019878, -0.1038051844, -0.5172392726, 0.0656587705, 0.5610584021, -0.3876984119, 0.3807481825, 0.6818671227, -0.7201203704, -0.4718468487, -0.7603031397, -0.3362094164, -0.4819023311, 0.5636872649, -0.5799309611, -1.2072168589, 0.4556488395, 0.0644671693, 0.0700453147, 0.2547632754, 0.8473972678, 0.561512351, 1.08837533, 0.8265302181, -0.1026092321, 0.791128397, -0.0127046257, 0.2126626074, -0.9682475924, 0.0115767065, -0.254221946, -0.0849721357, -0.1499369889, -0.6783436537, 0.4480878413, 0.0662280545, -0.1772337109, 0.2652011812, -0.5706014633, 0.6182633638, 0.1562713236, 0.1716997176, 0.3367656171, 0.3145333827, 0.0254541859, 0.0260613374, -0.7123461366, -0.3871923983, 0.7414647937, 0.4960539043, 0.6109306812, -0.1167976558, 0.1107797772, 0.5524676442, 0.7356113791, -0.7492988706, 0.691382885, -0.1807525456, -0.7407155633, -0.4737755358, -0.3389872909, -0.9306291342, 0.4486988187, -0.2339194715, -0.8655711412, 0.3916396499, 0.440238446, -0.3433936536, 0.3978540301, -0.5505630374, 0.7302066684, 0.0792963207, -0.8520680666, -0.2773010731, -0.2616459429, 0.5441718698, 0.1388990283, -0.0143233202, -0.365049392, -0.2405529916, 0.5835262537, -0.2189939916, 1.2078311443, -0.3363367319, -0.0200432222, 0.2344933897, 0.2553502917, 0.5475139022, 0.1320773065, -0.0667388067, 0.226879403, -0.1497641802, -0.2429516166, -0.3542611897, 0.7342758775, -0.3742660284, -0.6213194132, -0.2076563686, -0.5823732018, -0.3954848349, 0.1909328401, -0.0565876476, 0.5554126501, -0.1863942146, 0.3323065639, 0.6113008261, 0.0760521963, 0.3430841863, 0.4022345841, 0.0589440875, -0.4989183545, 0.9435352087, -0.3335238695, 0.0929012448, 0.5634638071, 0.0523266755, -0.5106737018, -0.3793377876, -0.7381411195, 0.1340740919, -0.61242944, -0.2408515513, -0.7015565634, -0.1035926566, -0.1860288978, -0.4143020213, -0.3990296125, -0.1929932833, -0.2968055308, 0.047391735, 0.3735280335, 0.4395482242, -0.2507974207, 0.436693579, -0.4816032052, 0.2410230935, 0.1854175329, 0.6126698256, 0.2704648077, -0.4908056855, -0.3057984114, -0.1730049551, -0.155771479, -0.5940246582, 0.4220072627, 0.2060260773, 0.4420724809, 0.4759465456, -0.0738807842, 1.0018390417, -0.2984535694, 0.6654509902, 0.2994301617, -1.4001041651, 0.0534033142, -0.1450766921, 0.0435580835, 0.3757798076, -0.0888750106, -0.5541105866, -0.2725546658, -0.023491418, -0.8926719427, 0.5915288329, 0.1015123054, 0.254003495, -0.0682396665, 0.2438888103, 0.072616905, -0.1636194736, -1.0670150518, 0.2535386086, 0.0127359703, 0.0965993032, -0.1180629209, -0.4099462926, 0.1323670745, -0.0887266845, 0.7855058908, -0.2175150216, -0.0513856784, 0.4032714963, -0.4433084428, -0.3236014843, 0.2097519338, 0.7397174835, 0.3717814386, -0.0321516283, 0.1778285056, 0.6331459284, -0.6016175747, 0.2610531151, -0.2581601739, -0.0694456249, -0.0440218449, 0.3075762093, 0.9566120505, 0.3495515883, -0.7805535793, 0.4337033927, -0.0609228723, -0.1488700509, -0.1020991802, 0.0459674746, -0.1526310593, 0.1484164447, 0.2396039516, -0.1267779171, 0.2929598689, 0.1194906309, 0.2945046425, 0.7652623057, -0.5928664804, -0.280666858, 0.716470778, 0.3105816543, 0.0694045499, 0.0530550778, -0.1067063585, -0.5727678537, 0.7593916655, 0.6607672572, 1.0912963152, -0.2019311041, -0.1248581111, 0.559794426, 0.3437441289, -0.1193654686, 0.0418100618, -0.6528823972, -0.6920295954, -0.6878496408, -0.7960431576, -0.3592932224, 0.3102668822, -0.5060398579, 0.282981813, -0.4587150216, -0.5214162469, -0.1753245592, -0.2829361558, -0.1559234113, 0.2980239093, 0.185495168, 0.8503746986, -0.8516219854, 0.6361944675, 0.702521503, 0.207014963, -0.4997066557, -0.1072605923, -0.3668062687, -0.7078163624, 0.8529934883, 0.3724166751, -0.6922228932, 0.0842547789, -0.3942559659, -0.8345713615, 0.7122136354, 0.1542046368, -0.4926419854, 0.2617377937, 0.1443011165, 0.4436742663, -0.3003886044, 0.078945376, 0.4338111877, 0.436360687, 0.072477214, -0.7992213368, 0.343878448, -0.6531193256, 0.3006244898, 0.378346324, -0.4173436165, 0.7066221833, -0.0448799878, -0.347653091, 0.0885198563, 0.483309865, 0.3368679285, 0.4251939654, 0.9022353888, 0.6942915916, 0.4126246274, -0.0163204651, 0.6370700598, -0.7703434825, 0.1321920902, 0.6241156459, -0.2855421603, 1.0309965611, 0.6773042679, 0.2634428442, 0.1217397004, 0.6507591009, 0.1763569564, 0.3629134893, 0.2319466174, -0.3683124781, -0.7988599539, -0.3963987529, -0.4471965432, 0.1179752424, 0.6206008792, -0.0776697248, -0.1420384198, -0.0006307267, -0.0684398264, -0.2301809639, -0.2883379161, 0.7603620291, -0.0235390551, -0.7923957109, 1.047403574, 0.0839302614, 0.6808690429, -0.5195840597, -0.085095264, -0.2438704371, 0.2796070278, -0.1503030658, -0.5099672675, 0.2214625627, 0.2984743714, -0.171857968, -0.1783698648, 0.7415989041, -0.2833716571, -0.3482759893, 0.3303964436, 0.3423722982, 0.0027590778, -0.1248584986, -0.4736506343, 0.310644865, -0.1956797838, -0.4012943208, 0.0866863057, 0.2442718744, -0.5036718845, 0.8393348455, 1.0301659107, -0.0289939102, 0.1791318059, -0.1325635016, 1.0055003166, -0.5409080982, -0.7916227579, -0.7519055605, 0.6034687161, 0.1659081429, -0.5026828051, 0.3680497408, 0.6952311993, 0.4769168496, -0.0186655317, 0.4866639078, 0.1988700926, 0.1553992927, -0.6266699433, 0.5902685523, -0.9162982106, 0.305156976, -0.1786011457, -0.6612452865, -0.7189635038, 0.4912415445, -0.487039268, -0.1290980726, 0.3805062175, 1.2765427828, -0.1863762736, -0.2449129075, 0.5221467614, 0.1086025313, 0.2533985674, 0.7422605157, 0.9665018916, -0.0313866958, 0.4434214532, -0.2573030293, -0.2874351144, -0.425845325, -0.8571502566, -1.0067352057, -0.6931500435, -0.2047865689, -0.3264456689, 0.2677790523, 0.7649302483, 1.0190864801, -0.7169798017, -0.4067398608, -0.2505552471, 0.0591860898, -0.1595855057, -0.2417717129, 0.2502464056, -0.6067869067, -0.5211376548, 0.3040677905, 0.5115163326, -0.1904406399, -0.114701964, -0.2102801949, 0.0283532925, 0.1918812543, 0.6871278882, 0.4827670753, -0.8544523716, -0.0639063269, 0.1155856922, -0.2595813274, 0.3198112249, 0.9076897502, -0.720623076, 0.2710015774, 0.4091715813, 0.8600266576, 0.4952399433, 0.0552362651, 0.2022121102, -0.5066738129, 0.4552993476, 0.123960413, 0.2770814896, 0.2881674469, -0.4337396622, 0.2624301612, 0.2820251882, -0.2332105786, -1.1862270832, 0.1371237189, -1.1419537067, -0.1382247955, 1.039167881, 0.1386402845, -0.4711703956, -0.1840806752, -0.0766626, 0.1483197659, -0.581948638, 0.6989417076, 0.4736816287, 0.006387841, -0.0296640396, -0.3865745366, 0.655346334, 0.8048917651, -0.70832479, 0.3131405115, 0.4796048999, 0.2843115628, -0.1436142027, 0.6415897608, 0.0722439885, 0.4173240066, 0.0942588896, 0.3685668111, -0.1200498343, -0.2634680271, -0.4195945263, 0.1025574282, -0.0381779261, -0.1148850769 ]
http://arxiv.org/abs/2404.08760v2
http://arxiv.org/pdf/2404.08760v2
The Generation Gap:Exploring Age Bias in the Underlying Value Systems of Large Language Models
2024-04-12T18:36:20
2024-05-13T22:11:02
Siyang Liu, Trish Maturi, Bowen Yi, Siqi Shen, Rada Mihalcea
cs.CL
cs.CL, cs.AI
In this paper, we explore the alignment of values in Large Language Models (LLMs) with specific age groups, leveraging data from the World Value Survey across thirteen categories. Through a diverse set of prompts tailored to ensure response robustness, we find a general inclination of LLM values towards younger demographics. Additionally, we explore the impact of incorporating age identity information in prompts and observe challenges in mitigating value discrepancies with different age cohorts. Our findings highlight the age bias in LLMs and provide insights for future work.
[ -0.385648936, -0.5054036975, 0.4390116036, 0.0654564053, 0.2608479857, 0.3129514754, 0.1990713179, -0.6690711379, -0.2119026482, 0.1432100981, -0.8429892659, -0.0852145255, -0.6007748246, -0.1095660403, 0.1760527939, 0.5746744275, 0.3060109615, 0.0743446425, -0.4404497445, -0.0601780042, -0.3646545708, -0.4609681368, -0.5924340487, -0.5476448536, 0.4788070619, 0.584423244, 0.6847364902, 0.5047392845, 0.2243706733, 0.1678648293, -0.5118430257, 0.0631811842, -0.4851206541, 0.5833931565, -0.316061765, -0.2824404836, -0.5519385934, -0.0268911626, 0.3933057785, 1.0440317392, 0.3376123011, 0.2352232486, -0.0816167668, 0.9091336727, -0.5891678333, 0.0769018307, -0.6634131074, -0.00044943, -0.5142541528, -0.1460291892, -0.3476822376, -0.5751568079, 0.1800474972, -0.2372926921, 0.1925471723, 0.1616540104, 1.0448511839, -0.004856139, -0.6776347756, -0.1591887772, -0.5033779144, 1.0860790014, -0.7636643648, 0.2789052427, 0.2840456665, 0.1669169813, -0.2095948011, -0.0651115403, -0.4431731701, 0.1660480499, 0.4005418718, -0.1414466202, -0.150091663, -0.2688649595, 0.0649531111, 0.635964036, -0.4725052714, 0.8389502764, -0.5146201253, -0.0355149992, 0.5818165541, 0.4798136353, 0.4421252906, -0.0814220905, -0.3031798601, -0.1597701907, -1.3723945618, 0.4651774466, 0.9127243757, 0.5998641253, -0.2141232938, 0.8836364746, -0.2905584574, 0.7562183142, 0.3057799637, -0.249241963, 0.3258377314, -0.2332529575, 0.0725695789, 0.1434117407, 0.6954413652, 0.7286415696, 0.7646503448, 0.1433156729, -0.1349638253, -0.0409136489, -0.1997369975, -0.6513626575, 0.3618074059, 0.0862778276, -0.5859779716, -0.2867150605, -0.1359934211, -1.2096908092, -0.7106527686, -0.1975810677, -0.0888615549, -0.015856551, -0.2443235517, 0.1174044088, -0.2200118303, 0.3249047101, 0.312799871, -1.432394743, 0.061274875, 0.3509514332, 0.5647678375, -0.1451302469, 0.0978741124, -0.4413715005, 0.1560472399, -0.3630403876, 0.7450953722, -0.8576683402, -0.540789783, 0.1342687756, 0.0613083988, 0.1972783357, -0.7359178066, 0.2411141843, -0.7788804173, 0.5069366693, -0.2475328892, -0.4023407698, 0.334074676, 0.0269146673, -0.6701835394, 1.207498908, 0.2258781791, -0.7252298594, 0.770524025, -0.3275542855, -0.0844215527, 0.270404011, -0.2416657358, -0.2665481567, 0.0770752132, 0.3788516223, 0.3262599111, -0.4808984399, 0.4058863223, -0.6268727779, -0.1997201443, 0.3654167652, -0.8280118704, 0.8526086211, 0.5570142269, -0.2693960369, 0.1130827144, -0.693305254, 0.0460398383, 0.2912793159, -0.2563660443, -0.5480322838, -0.0958304927, -0.1855790317, 0.3356306851, 0.5059555769, -0.440697372, 0.6300059557, -0.0820654482, 0.537568748, 0.8289364576, -0.1618320793, 0.4938850999, -0.4250999689, 0.8008373976, 0.1031150371, 0.0015677356, -0.1843867302, -0.4572949111, -0.4320374727, 0.2377991378, 0.1811053902, 0.529504776, -0.3291912377, 0.5361306071, -0.470411092, -0.1905849576, -0.4733804464, 0.2694431245, -0.215683341, 0.1205430999, 0.0373087637, -0.0581718311, -0.6227369905, -0.9835634232, -0.1054174006, -0.6578685045, -0.3045639098, 0.1859998554, 0.0663024858, -0.1694269925, 0.8865081668, -0.4488271773, 0.2151955813, -0.1896423399, 0.0403729677, 0.0849878937, 0.4765071273, -0.0041053551, -0.6722587347, -0.1067827642, -0.1138745844, -0.4133559167, -0.7566321492, 0.0303127058, 0.1930205971, 0.1201710626, 0.7101425529, -0.3657109737, 0.1912597418, 0.8609061241, -0.6180740595, 0.3144418001, 0.1602362394, 0.1603672951, -1.0090311766, 0.0263823494, 0.4587726891, 0.1113894433, -0.4107556939, -0.4409839213, 0.0286652856, 0.0783120692, -0.3140416741, 0.6493802667, -0.7030034661, 0.1186705232, -0.0654480159, 0.1451244652, 0.1546346098, -0.3082149625, -0.1675658822, 1.0027648211, -0.0411592759, -0.4302519858, 0.2520540655, 0.1913826764, -0.3652121127, 0.9471176863, -0.4764989614, 0.1102216989, -0.3993166089, 0.403039217, -1.0442684889, -0.0955684111, 0.0363675356, -0.5982747674, 0.2536716163, -0.291497916, -0.1117191911, -0.3157916069, -0.3469734788, 0.7569660544, 0.5751442313, -0.2177323848, 0.2672350109, 0.5153561831, -0.8088207245, -0.7670618892, -0.5847697258, 0.1903066188, -0.6585561633, -0.8692073226, 0.3767596781, -0.1602175683, -0.6608693004, -0.0265440531, -0.0660794899, 0.079130441, -0.1680169106, 0.2749118209, 0.500138402, -0.3408100307, 0.2391853034, -0.0093344394, -0.0269770287, -0.1266324073, -0.2385112196, 0.8719667196, -0.0905631855, -0.109242022, 0.2703794539, 0.1588626206, 0.8310834169, -0.1145344377, 0.8833805323, 0.1231973469, -0.2505016029, -0.1649661511, -0.7493671179, 0.2220200747, -0.5105016828, -0.1417999417, -0.2712328434, -1.3941267729, 0.7200190425, 0.1755748093, -0.2873233259, 0.6760888696, 0.8334773183, 0.281586647, 1.0761328936, 0.6039962769, -0.0166616999, 0.4972625673, 0.1167764962, 0.3387501538, -1.0206800699, -0.5826405287, -0.696841538, -0.2127392441, -0.6324078441, -0.21425955, 0.0750471354, 0.2242280245, -0.5816475749, -0.2540840805, -0.3859519362, 0.4818705022, 0.4344991744, -0.2315067351, 0.2976720631, -0.4302969575, -0.0413101986, -0.2752601504, -0.7546545267, -0.749540627, 0.9111276269, 0.6539894342, 1.2852655649, 0.0794561878, 0.3050895631, 0.322632581, 0.267785579, -0.694299221, 0.392727077, -0.0092178397, -0.8905332088, -0.5892356038, -0.5598760843, -1.371168375, 0.0899175331, 0.0774670392, -0.959338069, 0.4622684717, -0.2143610716, -0.4833028316, 0.3191953599, -0.5393289328, 0.76994133, -0.1841113716, -0.5785691142, 0.3259787858, -0.8083708882, 0.6232350469, 0.1047147289, 0.4048580527, -0.7524930239, -0.0675776079, 0.5274071693, -0.2681466937, 0.8869059682, -0.051381886, -0.5918293595, 0.2331152409, -0.0381516851, 0.0867567062, -0.1371731907, -0.0227407161, -0.1943955421, 0.0877053514, -0.5813957453, 0.0054912153, 1.0919029713, -0.6798325777, -0.7692738771, -0.6456716657, -0.8672274351, -0.3630752563, 0.0939049348, 0.1495536864, 0.2457848489, -0.2558877468, 0.2427038103, 0.9816512465, -0.7337762713, 0.4379939139, 0.3382567763, -0.2756899595, -0.2069997936, 0.3397302628, 0.2952384651, 0.8325513601, 0.3386750519, 0.2022037506, -0.6261075735, -0.1377685964, -0.6679625511, 0.0549106747, -0.8049057126, -0.1243150234, -0.4547261596, -0.1343512088, -0.758199513, -0.2406903505, 0.1267039627, -0.1926820725, 0.0326975137, -0.2021138668, 0.3587965071, 0.7409614325, -0.0407014154, -0.0145000527, -0.9188778996, 0.1212318465, 0.5204668641, 0.4069859385, 0.1542675048, -0.3607538939, 0.0197428204, 0.0141318599, -0.2893026471, -0.8738849163, 0.2598488629, -0.0936300829, 0.7222043276, 0.363309294, -0.0190948676, 0.3290610611, -0.3195784688, 1.3189375401, 0.0709858835, -1.0652937889, 0.3249311149, -0.6588654518, 0.7265175581, 0.5179328918, 0.206130892, -1.0443843603, -0.039333988, -0.6358138919, -1.0473719835, 0.3114998937, -0.3390061557, 0.2055175602, 0.0711619779, -0.0646617264, 0.1816590577, 0.094230555, -0.8543316722, -0.0988630354, 0.1574618369, -0.6826232076, 0.139890179, -0.2717806399, -0.1322367936, 0.0356168747, 0.4043108523, -0.2298405319, 0.0565060601, -0.1885400116, 0.0639767721, -0.7950546145, 0.7723520398, 0.6842803359, 1.0004581213, -0.077729404, 0.5247735977, 0.362413764, -0.0951214433, 0.8319108486, -0.0048397579, 0.0167493131, -0.4115692079, 0.3094068468, 0.6114655137, -0.0907919109, -0.8562043309, 0.4290695786, 0.1260068119, 0.1192379445, -0.1043383479, -0.1629169732, 0.3368589878, 0.1093739718, 0.6164951921, -0.4619134068, -0.3523499966, -0.715718329, -0.1208105758, 0.5012885928, -0.2995261848, -0.0867287293, 0.8942244053, 0.0815270245, -0.2835879326, 0.4925127327, 0.0748935565, -0.3724687994, 0.6123477817, 0.4690166712, 0.6716986299, -0.4262150228, 0.1053405702, -0.14235726, 0.4268894792, -0.1021116823, 0.135268271, 0.394136101, -0.9207181334, -0.8426963687, -0.3376009166, -0.2750245631, 0.2899554968, -0.6106212735, 0.2487876862, -0.0327595472, -0.2193220854, -0.0958803147, -0.2038122416, -0.8162181973, 0.410808146, 0.4618150592, 0.7541103363, -1.1726806164, 0.6036108136, 0.3438150287, -0.3520101011, -0.5480194092, -0.0396096557, 0.3874616623, -1.0042908192, 1.047119379, 0.2243008763, -0.0693562031, -0.3159631491, -0.6028997302, -0.9495761991, 0.8465502262, 0.024671156, -0.6339120865, -0.248855561, 0.2399337739, 0.3988017738, -0.4463767409, 0.0730408207, 0.6126568317, 0.5029135346, 0.085827589, -0.8441182971, -0.0908996165, -0.4139754176, 0.2306171656, 0.5642427206, -0.7784202099, 0.7401130199, 0.003995934, -0.0885006711, 0.0230800081, 0.4918499887, 0.5214706659, 0.6329491138, 0.6231113076, 0.6391667128, 0.5116396546, -0.2153208405, 0.6656145453, -0.2766414881, 0.026828099, 0.5523142815, -0.2859941423, 0.3045847714, 0.5914880037, -0.4782272875, 0.4166406691, 0.9918454885, 0.0552537031, 0.1525756568, 0.5177143216, -0.329646796, -0.033900626, -0.358998239, -0.6676323414, -0.0636803582, 0.5683529973, -0.362587899, 0.1316905022, -0.284391433, 0.3937096894, -0.0271215942, -0.3282020986, 0.5765908957, 0.3355549574, -0.604767859, 0.4199842811, -0.2027620077, 0.9104098082, -0.7693037391, 0.200074181, -0.2630137205, 0.0043691169, -0.1821432412, -0.9040205479, -0.1676131934, 0.0595200062, -0.3604561985, -0.3291001022, 0.6458319426, -0.6800810695, -0.4298551679, 0.0107103474, 0.7675154805, -0.2346927971, 0.4605358541, -0.39417696, 0.4068976641, -0.1024060994, -0.1199535728, 0.3958930373, 0.8127536178, -0.3114619255, 0.7894676328, 0.3579160273, 0.2509929836, 0.3095901012, 0.1387396008, 0.4796612561, -0.7868183851, -0.342854768, -1.0368145704, 0.7181867957, -0.1579376161, -0.8669373989, 0.9425318837, 0.4981278181, 0.8169696331, 0.2575245798, 0.9542090893, -0.0028435972, 0.3966826797, -0.6683914065, 0.2078076154, -0.3168540895, 0.4405687153, -0.4586600363, -1.084174037, -0.1409011483, 0.3320843875, -0.5199990273, 0.3312014043, 0.3467983603, 0.6781336069, 0.4020778239, -0.1355987787, 0.1975576431, -0.4169174135, 0.6655269861, 0.6835867167, 1.4019914865, -0.0216461346, 0.1302451789, 0.2940685451, -0.138761431, -0.3335843682, -1.0691735744, -0.4452198446, -0.2689840496, -0.0668234304, -0.6299937963, 0.0372320674, 1.063508749, 0.4135596454, -0.8169545531, -0.3723649383, 0.3322200477, -0.1184086353, -0.0410916321, -0.2959529459, 0.0459490493, -0.2089151889, -0.9242789745, 0.3526209295, 0.1547501236, 0.5188500285, -0.6728981733, 0.0479071103, 0.0343009233, 0.2426400185, 0.2694313228, 0.2073444724, -0.687235415, -0.5523567796, 0.2504837215, -0.2687214017, 0.21392937, 1.0050177574, -0.427190423, 0.3819129467, 0.567537725, 0.6780521274, 0.3618730903, 0.1744706035, 0.8687998652, -0.4422370493, 0.0676899254, 0.3092209399, 0.2781095207, 0.8300839663, -0.4144566953, 0.394425422, 0.2612914741, -0.9303560257, -0.8171522617, 0.3917916417, -0.8603880405, -0.3711129427, 1.2085344791, 0.3266671002, 0.3277250528, -0.264064908, -0.0842432007, 0.1060470417, -0.3692279458, 0.8876571655, 1.2099055052, 0.0544910356, -0.4205446541, -0.6122503281, 0.2575336099, 0.5451439619, -0.8566694856, 0.0770282373, 0.7713317871, 0.2001677006, -0.145901829, 0.3504325151, -0.3308073878, -0.3365511298, -0.0315717459, 0.0635509491, 0.3054437041, -0.0316062197, -0.6631926894, 0.2306665033, 0.5257613659, 0.1923271865 ]
http://arxiv.org/abs/2404.08634v1
http://arxiv.org/pdf/2404.08634v1
Pre-training Small Base LMs with Fewer Tokens
2024-04-12T17:53:34
2024-04-12T17:53:34
Sunny Sanyal, Sujay Sanghavi, Alexandros G. Dimakis
cs.CL
cs.CL, cs.AI, cs.LG
We study the effectiveness of a simple approach to develop a small base language model (LM) starting from an existing large base LM: first inherit a few transformer blocks from the larger LM, and then train this smaller model on a very small subset (0.1\%) of the raw pretraining data of the larger model. We call our simple recipe Inheritune and first demonstrate it for building a small base LM with 1.5B parameters using 1B tokens (and a starting few layers of larger LM of 3B parameters); we do this using a single A6000 GPU for less than half a day. Across 9 diverse evaluation datasets as well as the MMLU benchmark, the resulting model compares favorably to publicly available base models of 1B-2B size, some of which have been trained using 50-1000 times more tokens. We investigate Inheritune in a slightly different setting where we train small LMs utilizing larger LMs and their full pre-training dataset. Here we show that smaller LMs trained utilizing some of the layers of GPT2-medium (355M) and GPT-2-large (770M) can effectively match the val loss of their bigger counterparts when trained from scratch for the same number of training steps on OpenWebText dataset with 9B tokens. We analyze our recipe with extensive experiments and demonstrate it efficacy on diverse settings. Our code is available at https://github.com/sanyalsunny111/LLM-Inheritune.
[ -0.5052306056, -0.4923972189, 0.2766534984, -0.0021291021, -0.4667310119, -0.0872401521, -0.2744581699, -0.3188661933, 0.2116272599, 0.3331916332, -0.5124338865, -0.0911056772, -0.6137142181, -0.2012968659, -0.0682220608, 0.8844232559, 0.024238199, 0.2753276229, 0.1007452458, -0.1636630446, -0.4318740964, -0.2790474594, -0.940208137, -0.511910975, 0.5497757196, 0.6250611544, 0.3906925917, 0.8069059253, 0.2466006577, 0.1084112972, -0.2590789199, 0.1206904873, -0.7255949378, -0.5732266307, 0.1923935562, -0.6684196591, -0.3085246682, -0.1982728392, 0.7309868932, 0.8384791017, 0.0910854042, 0.3650746346, 0.2517387271, 0.84570539, -0.6241977811, -0.0423850603, -0.7081497312, 0.1505462676, -0.2530534565, 0.088427864, -0.6753440499, -0.1755236685, -0.0758655891, -0.3459184766, 0.1600274593, 0.2626428604, 0.6025787592, 0.0500653051, -0.3856340945, 0.045838587, -0.7213472724, 0.6725691557, -0.6157749295, 0.4974869788, 0.1825623512, 0.216150403, -0.0078022033, -0.8000875711, -0.4171874225, -0.2489335984, -0.1852575839, -0.0325165205, -0.3224195838, -0.1168174595, 0.4857713878, 0.3807460368, -0.6652573347, 0.3746815622, -0.4103720486, -0.1230275184, -0.0519441068, 0.1836562902, 0.0691386238, -0.0281773359, -0.4072550237, -0.0474451706, -1.3678591251, -0.1009695232, 0.29953897, 0.5477229953, -0.3062635958, 0.3603127897, -0.0923238471, 0.4658517838, 0.3229115903, -0.121762231, 0.2104878426, -0.5280213356, -0.422090888, 0.1456305236, 0.5895419717, 0.0260862522, 0.2246970087, -0.100464195, -0.0904132128, -0.0589455329, 0.0709836334, -1.1980423927, -0.5039235353, -0.2200853974, -0.6269750595, -0.1883606315, -0.140221417, -0.2661143243, -0.3781377077, -0.4604215622, 0.52458781, -0.46698457, -0.1729154289, -0.196675539, 0.0450696535, 0.548645854, 0.3191728592, -1.2440195084, 0.6233368516, 0.6789567471, 0.8956599236, -0.2510968447, -0.1751866341, -0.8549028635, -0.0823830143, -0.3563570976, 0.4353606403, -0.1561847478, -0.5813062191, -0.3572463393, -0.0562917851, -0.1350078583, -0.7078362107, 0.3634251058, -0.3637121916, 0.0907483697, -0.3375589848, -0.4539699852, 0.224247992, 0.0221667495, -0.8929718733, 0.9814970493, 0.16828233, -0.630903244, 0.5466384888, -0.5256741047, -0.5712652802, -0.0502451211, -0.1739716977, -0.4281697273, 0.456464529, 0.2443815321, 0.098374851, -0.2950849831, -0.6668658257, -0.1892640591, -0.5840066671, -0.4069079459, -0.4235627055, 0.6391583681, 0.2168921232, -0.462094605, 0.0697710812, -0.6838271618, 0.1441311687, 0.1243547127, -0.2951891124, -0.3857237995, -0.3959984183, 0.08747188, 0.0701803789, -0.0328604952, -0.3218103349, 0.3069407344, -0.6497661471, 0.2252682745, 0.7608565688, -0.1516325921, 0.9635549188, -0.3376280367, 0.3992620111, 0.1312600076, 0.1484325975, -0.1283942014, -0.4347352386, -1.062197566, -0.3759946823, 0.5600684881, 0.2138573974, -0.4948731363, 0.4733411968, -0.4955911636, -0.4395081401, -0.6407338381, 0.3735301793, 0.3826504052, 0.3267106116, 0.3082668483, -0.3918403685, -0.8405162096, -1.0887881517, -0.0790879056, 0.111958988, -0.0104881786, 0.2152455598, 0.5860427618, -0.3447226286, 1.0218012333, -0.2315180302, -0.1219320968, -0.6337291002, 0.065636009, 0.1739325225, 0.7151605487, 0.7423077822, -0.5589295626, -0.6974235773, 0.1177611873, -0.2746168673, 0.1551086903, 0.1597581953, -0.1658545882, 0.1771883965, 0.2415807247, -0.5956760645, 0.3117616177, 0.4829941094, -0.071045056, 0.5078180432, -0.0064311149, -0.2191518694, -1.3309112787, 0.0438592434, -0.2899741232, -0.4691895545, -0.661781311, -0.1436914951, 0.1282284707, -0.0252935532, -0.6255479455, 0.7162348032, -0.5630594492, -0.1157371178, -0.4449174702, -0.4131762981, -0.2273459882, 0.5163185, -0.0109003, 0.7043763995, 0.3283706903, -0.4561827183, 0.013665542, -0.0469026864, -0.3050154746, 0.2336017042, -0.6744602323, 0.3511277437, -0.0334318727, 0.2332103699, -0.7837727666, 0.1040037796, 0.4023014009, -0.0831708089, 0.4142343402, -0.5132377744, -0.4836831093, -0.2899450958, -0.3956405818, 0.2706744373, 0.9042541385, -0.9195403457, 0.5978714228, -0.0056679449, -0.1585499644, -0.4699352682, -0.7700543404, -0.0597058386, -0.3105880916, -0.3675278723, 0.1542775333, -0.330661267, -0.0143855056, 0.0804680362, -0.2171357274, 0.1415310502, 0.1675433367, 0.4039311707, 0.0616883822, -0.6401154995, -0.0221704487, 0.0467358939, -0.2112706453, -0.1440680027, -0.6260391474, 0.8161551952, -0.6307190657, -0.4618083537, -0.203014642, -0.0437893495, 0.3210683465, 0.0790078193, 0.9176059365, 0.5381796956, -0.4790019095, -0.4223168194, -0.3301724195, -0.2436516136, -0.4581910074, 0.2836581469, -0.5172848105, -0.7409000993, 0.5013719797, -0.1117342338, -0.0781828016, 0.5366030335, 0.7058838606, 0.050765764, 0.6897212267, 0.6613122821, -0.4772180021, 0.5930460691, -0.4654604793, -0.2126939893, -0.6494232416, 0.102395311, -0.2396700233, -0.3698734939, -0.4593646526, -0.6237603426, 0.0755345747, 0.2842523158, -0.296179235, 0.3794871867, -0.2077995241, 0.762801528, 0.6980621815, 0.2961415946, 0.3394163251, 0.1957322806, -0.1271670163, 0.0016094749, -0.996874094, -0.4975186884, 1.2971395254, 0.5327835083, 0.9561393857, -0.0316326655, 0.9701206684, 0.2206656784, 0.74537009, -0.7890976667, 0.288095355, -0.2260388732, -0.4718759954, -0.3235060871, -0.6818208694, -0.7430075407, 0.4411222041, -0.2035725117, -0.3214319646, -0.0925390646, 0.459663868, -0.2566711903, 0.4899876714, -0.9917906523, 1.0336546898, -0.4934879541, -0.2942934632, 0.0274129063, -0.7037140727, 0.2941983044, -0.2426597476, 0.1539840996, 0.1645860821, 0.2169535905, 0.7124093175, -0.6969809532, 0.8987016082, -0.3409937918, 0.1021716446, 0.1767825186, -0.1863743812, 0.6456320286, -0.0582732819, 0.1456184238, -0.0640572682, -0.2576557696, -0.5188760161, -0.5381426215, 0.615534544, -0.8097087741, -0.2602818906, -0.0444977731, 0.0649800673, -0.1158667058, 0.5049964786, 0.6151738167, 0.3135255277, -0.4067389965, 0.5863619447, 0.6260131598, 0.2207303643, 0.356998831, 0.2966175377, -0.0804413185, -0.3082368374, 0.6837213039, -0.1186763495, 0.3842916787, 0.4457753599, 0.5559710264, 0.0019291603, -0.6444368362, -0.6943187118, 0.093798086, -0.6654213667, -0.1753241122, -0.235950157, -0.1520638913, -0.1569659561, 0.1746282727, -0.7426157594, -0.3701917827, -0.18132779, -0.1629888415, 0.134855777, 0.6800097823, 0.0450999886, 0.7640015483, -0.6793686748, 0.1317611635, 0.2282857448, 0.4574092925, 0.1838154942, -0.7680572867, -0.4603677392, 0.2844396234, 0.0251416937, -0.3467566967, 0.0916325226, 0.2762599587, 0.7437071204, 0.4936314821, -0.248885721, 0.6121509075, -0.8332431316, 0.5337554216, 0.463575542, -0.8730362058, 0.5290712714, -0.0418438017, 0.307934612, 0.8031166196, 0.411085546, -0.2852062285, 0.013281526, -0.6190107465, -0.6009711623, 0.6289954782, 0.2559292912, 0.1326175779, 0.3114464283, 0.3596900403, 0.4781539738, -0.0210001878, -1.0358679295, -0.5399651527, -0.0686333477, -0.2458302528, -0.194591105, -0.272714138, -0.2297826558, -0.3039458692, 0.546151042, -0.0906871483, 0.3111161292, -0.3493536413, -0.481641531, -0.1178077683, 0.1610371768, 0.5985135436, 0.5161197782, -0.2392017841, 0.3258790672, 0.5597240329, -0.5141093135, 0.1506992877, -0.0738829449, -0.1010178849, -0.042411942, 0.4434605241, 1.2589341402, 0.307911247, -0.2185331136, 0.4331028163, -0.1019252017, -0.231229499, -0.1249137968, -0.0141068259, 0.3534243405, 0.0816023201, 0.3125255406, 0.0470823534, -0.1957392842, -0.5799443722, 0.3299499452, 0.3557736278, -0.2032336742, -0.3212760985, 0.520257771, 0.1791737527, -0.1092322171, 0.5332472324, -0.1619899422, -0.3134560585, 0.5768065453, 0.7275324464, 0.7762211561, 0.1182331741, -0.1753844321, -0.0257666204, 0.6863412261, -0.2766326964, -0.1051527783, -0.0347837061, -0.7487058043, -0.2193514705, -0.6253532767, -0.5064612627, 0.2996949255, -0.4525081813, 0.285846442, -0.6496847868, 0.0435166284, -0.0509055294, 0.0127590112, -0.9112969637, 0.2207955867, 0.4780880213, 0.9209213853, -0.9806668758, 1.0061882734, 0.6470716596, -0.422303617, -0.8908486366, -0.1016547456, -0.2716454268, -0.9177119732, 1.0272454023, 0.1412281543, -0.1643657833, -0.0269505456, -0.397094667, -0.6628202796, 1.0268437862, 0.39668715, -0.614230752, -0.0678318515, 0.2438899875, 0.4692068398, -0.4872198403, 0.1098484471, 0.5735166073, 0.2571766973, 0.1881716549, -0.8962515593, 0.0799694881, -0.1397706419, -0.1290712059, 0.269374162, -0.458691597, 0.8112534285, -0.2380225807, -0.1807343662, 0.2753540874, 0.5636788607, 0.1793707162, 0.2738340795, 0.6761555672, 0.6772096753, 0.5586006045, -0.033360213, 0.9154292941, -0.2830934227, 0.3866647184, 1.2754893303, -0.1341827363, 0.8424589634, 0.4300538003, -0.2629891634, 0.3266859651, 0.5840493441, 0.0756716505, 0.6039388776, 0.4465592206, -0.1582591683, -0.0354305096, 0.4559637606, -0.6133673191, 0.1900861114, 0.1501331329, -0.4403814077, -0.1562208384, 0.1734385788, -0.0199414976, -0.4770280123, -0.5591550469, 0.7367293239, 0.3219898045, -0.2390184104, 0.5769970417, -0.000381247, 0.6528530121, -0.8226815462, 0.3132375777, -0.5872081518, 0.298065275, -0.1314992905, -0.1516381502, 0.0609580763, -0.0758541003, -0.2332609743, -0.2630539238, 0.8636805415, -0.2282450199, -0.538703382, 0.0314650312, 0.6400232315, -0.0160971116, -0.0941793099, -0.3459400237, -0.0794191808, -0.1648170799, -0.4206912816, 0.5708448887, 0.2593347728, -0.11632853, 0.398886621, 0.5990782976, 0.311758101, 0.2709057331, 0.2622181475, 1.038651824, -0.5086460114, -0.4938996136, -0.956194818, 0.1511150002, 0.0260405876, -0.243646279, 0.8417598605, 0.9932150841, 0.8103731275, -0.4360387921, 0.7847537994, 0.1733347327, 0.3522855937, -0.6394745708, 0.5617244244, -0.4990139604, 0.3384263515, -0.1490822136, -1.2207973003, -0.1264564693, 0.582783103, -0.2211968452, 0.2755416334, 0.5943291783, 0.5274232626, -0.3699855506, -0.1387918442, 0.2204658687, -0.0617789924, 0.1829827279, 0.6343492866, 1.016554594, -0.3489865959, 0.5868896246, -0.2866286337, -0.310272485, -0.4813639522, -0.8434298635, -0.919985652, 0.1180103496, 0.0847293288, -0.126773566, 0.1680092812, 1.1186977625, 0.9527798295, -0.7927134037, -0.2011898905, -0.1543654203, -0.0232091527, -0.1739830077, -0.114229843, 0.3357234299, -0.0690048859, -0.5504879355, 0.3856252134, 0.0296459682, 0.2106428891, 0.0424918979, -0.39930439, 0.1680627465, -0.2320200205, 0.8095030189, 0.3728962541, -0.4105203152, -0.4623301029, -0.0368356518, -0.315184921, 0.0931864157, 0.9817644954, -0.6263255477, 0.1583425999, 0.4300602376, 0.8097218871, 0.876159966, 0.0577505194, 0.4914032519, -1.1606439352, 0.1756790429, 0.081091769, 0.4528805017, 0.1384695321, -0.0534403957, 0.5407540798, 0.4649460614, -0.1352175623, -0.7207077146, 0.2904590368, -1.0856249332, -0.2411538661, 1.0528668165, 0.2380100787, 0.1071980968, 0.4420914948, -0.2679876983, 0.0672414526, -0.1006316468, 0.318828702, 0.4497424364, -0.1113494411, -0.2537811399, -0.3913214505, 0.6196299195, 0.5522118211, -0.831769824, 0.0872075409, 0.1799121052, 0.5424946547, -0.0041549136, 0.8577668667, 0.0520663932, 0.3293774128, 0.3497635126, 0.0190978013, -0.2501969039, -0.3222980201, -0.3880619705, 0.0147907427, 0.4314682782, -0.3194621801 ]
http://arxiv.org/abs/2404.08627v1
http://arxiv.org/pdf/2404.08627v1
Is ChatGPT Transforming Academics' Writing Style?
2024-04-12T17:41:05
2024-04-12T17:41:05
Mingmeng Geng, Roberto Trotta
cs.CL
cs.CL, cs.AI, cs.DL, cs.LG
Based on one million arXiv papers submitted from May 2018 to January 2024, we assess the textual density of ChatGPT's writing style in their abstracts by means of a statistical analysis of word frequency changes. Our model is calibrated and validated on a mixture of real abstracts and ChatGPT-modified abstracts (simulated data) after a careful noise analysis. We find that ChatGPT is having an increasing impact on arXiv abstracts, especially in the field of computer science, where the fraction of ChatGPT-revised abstracts is estimated to be approximately 35%, if we take the output of one of the simplest prompts, "revise the following sentences", as a baseline. We conclude with an analysis of both positive and negative aspects of the penetration of ChatGPT into academics' writing style.
[ -0.3628818095, -0.8296474814, 0.338244766, 0.2346249968, -0.2492904067, 0.1823077351, -0.1727502197, -0.4682394564, 0.3716772795, 0.3481678665, -0.3588870168, -0.3546093702, -0.8801496029, 0.3857527375, -0.7896701694, 1.6127841473, 0.0406754129, 0.0307188984, -0.1042294502, 0.0412374735, 0.0018550395, -0.4089691937, -0.8647251725, -0.2530519962, 0.7232003212, 0.2643114328, 0.5199005604, 0.4364401996, 0.7424297929, 0.20032309, -0.0732436925, -0.318557173, -0.5510308743, 0.115708448, 0.1435628682, -0.4243236482, -0.5836309791, 0.0358372182, 0.8783277869, 0.6789362431, -0.2456929684, 0.0812428966, 0.3382770717, 0.9236063361, -0.2477442026, 0.1933444738, -0.6185799837, -0.0980647802, -0.3433667421, -0.520855546, -0.5983216763, -0.3694759905, 0.357727766, -0.3914470375, 0.3739014566, 0.3674739599, 0.5781899691, -0.0865352973, -0.252853483, -0.1352563649, -0.6298882961, 0.4372538328, -0.4850258231, 0.2256848663, -0.200448215, 0.0442168936, -0.4216527641, -0.9150599837, -0.6091348529, -0.0607516877, 0.039962206, 0.2234923244, -0.448658824, -0.0373349041, 0.0719273537, 0.2595918477, -0.5680509806, -0.4814985394, -0.8165150285, 0.1466035247, 0.5823873281, -0.0185004249, 0.6132381558, 0.3561371863, -0.0764072761, -0.3180367053, -0.6848176718, -0.1478909701, 0.4518254399, 0.1970462203, 0.1461772323, 0.4785865247, -0.0519123301, 0.4364399016, -0.2173296213, 0.0167714432, 0.0212197993, -0.3282626569, 0.0600095615, 0.4077318013, 0.8905128837, 0.5836035013, 0.3849706948, -0.0030890829, -0.0372270197, -0.1918018162, 0.4864002764, -0.8536014557, -0.7301647663, -0.0853486061, -0.5277359486, -0.499705106, -0.001733996, -0.8621876836, -0.6630353332, -0.0879728869, 0.2275046706, -0.7182311416, -0.249526605, 0.1061110124, -0.2274278104, 0.3031845987, 0.4948741496, -0.8439847231, 0.3725099564, 0.7987787127, 1.1353617907, -0.3982105851, -0.2804073989, -0.1525229365, -0.3650377691, -0.2770861089, 1.452753067, -0.5858172774, -0.8664367199, -0.0717638358, -0.2711913884, -0.3049576879, 0.0652257577, 0.6058058143, -0.3343521953, 0.3872216642, -0.1787551492, -0.1549902856, -0.0755017549, 0.1427465677, -0.3033225834, 0.8558046222, 0.0941161066, -0.6937459707, 0.4824689925, -0.9253367186, -0.3991351426, 0.0146180624, 0.2984992266, -0.6891725659, -0.3133987784, -0.0001576434, 0.1540864557, 0.2503274083, -0.094013676, -0.0237419177, -0.4724796712, 0.5822476745, -0.4016361237, 0.4067716599, 0.3141305745, 0.0826896727, -0.1210544109, -0.8814455867, -0.0491214581, -0.353277266, -0.2881394327, -0.1899471581, 0.2160862684, 0.2468261868, -0.0657368302, 0.0071405745, -0.6669238806, 0.5911175609, -0.3460263014, 0.7025357485, 0.6309844255, 0.4842152596, 0.3037179708, -0.6515666246, 0.6179289222, -0.5263893604, 0.0194013733, -0.0897139162, -0.7986688018, -0.5396152139, -0.1847563684, 0.3499099016, 0.4447067976, 0.0040377304, -0.1174807698, -0.2224074155, -0.850207448, -0.3034570515, -0.5184592009, 0.0268459637, 0.5536991954, 0.5257176161, -0.4088980258, -0.485368669, -0.5972415805, -0.72126019, -0.3137092292, 0.1780428737, -0.0890417397, 0.67420578, -0.1781502217, 0.5748907924, -0.3151009381, -0.0585524999, -0.1316554695, 0.7828726768, -0.0215539001, 0.5135183334, 0.270821929, -0.6186698675, -0.8819049001, -0.0063964953, -0.0903211981, -0.4428691566, -0.4209071696, -0.0467193089, 0.1476880461, 0.7624964714, -0.2077893466, 0.5004629493, 0.4381343722, -0.4985898733, 1.0098050833, 0.0186589863, 0.6326568127, -0.6818552017, 0.0051283883, 0.1573605984, 0.1889036447, -0.5825682878, -0.1747954935, -0.1102927178, -0.3218021393, -0.1097752824, 0.3929532766, -0.3812889457, 0.283580631, -0.2796095014, 0.1805714369, 0.0168379527, 0.135685727, -0.132891655, 1.3509525061, 0.3461170495, -0.3984293342, -0.0919726044, 0.4028474092, -0.470695287, 0.5590763092, -0.8220265508, 0.0860099345, -0.109866403, 0.4314968586, -1.4349651337, -0.0933271572, 0.2124810666, -0.6313961148, 0.2352660596, -0.4182769656, -0.3929899335, 0.1844952255, -0.3492474556, 0.0802574232, 0.6456364393, 0.0153404297, 0.6077545881, 0.0119634448, -0.7802955508, -0.4684563279, -0.5808092952, 0.6228114367, -0.0427086093, -0.7481845617, 0.4940548837, -0.0885094032, -0.6893567443, -0.0489652902, 0.0463656373, -0.0168041606, -0.1195787638, 0.0187106784, 0.2990626991, -0.1052106544, 0.1336348206, 0.1554981619, 0.2097505182, 0.2372513264, -0.1474633366, 0.7988244295, -0.3616779447, -0.1402469575, -0.4167363346, 0.2740829289, 0.4536766708, -0.3691646159, 0.7868736386, 0.5562842488, 0.4164846838, 0.0509552285, -0.3901970387, -0.1861073226, -0.4629479647, 0.5014787316, -0.0437151045, -0.500595212, 0.4825805426, 0.003649798, 0.2794855535, 0.603969872, 0.352837503, -0.1748349369, 0.8389189243, 0.7393383384, 0.4200256467, 0.7964025736, -0.0188462436, 0.30304721, -0.8268195987, -0.2555308342, -0.6990600228, -0.3233763576, -0.7352513075, 0.126821965, 0.5608401299, -0.4046166837, 0.0026183303, 0.1549142897, -0.9911980629, 0.5366758704, 0.369405508, -0.0531261563, 0.2714629769, 0.1427303404, 0.4401332736, -0.1585710049, -0.4637604654, -0.6803890467, 1.2146292925, 0.1476592422, 0.6106929779, 0.1146607995, 0.6686640978, 0.5449441671, 0.3721595407, -0.7974291444, 0.589561522, -0.052299168, -0.098787874, -0.2704950273, -0.0088794576, -1.0976365805, 0.1776778102, -0.3961330056, -0.6304509044, 0.2607392371, -0.0055553718, -0.1419431418, 0.4057016969, -0.7255901694, 0.4364954531, 0.4167994857, -0.2626049519, -0.1463392973, -0.4601100683, 0.0999312326, -0.00207121, 0.056113828, -0.1846957505, -0.035979908, 1.1673933268, -0.3660045564, 0.7768386006, 0.2290208787, -0.0496364869, 0.3691806793, 0.3900868893, 0.5791642666, 0.1185081676, -0.2053873092, 0.0441675335, 0.4563328922, -0.3783402741, -0.5127108693, 0.5541267395, -0.7122892141, -0.4458609819, -0.9210701585, -0.452691108, -0.1384313852, 0.2153827399, 0.4465520978, 0.7348687649, -0.4623494446, 0.1901012063, 0.7069752216, 0.0695692524, 0.2867269218, 0.28155002, -0.0993383005, -0.1454571486, 0.7349022031, 0.3831327558, 0.3158417046, 0.2081719041, 0.200897634, 0.0107551739, -0.8112871647, -0.2940983772, 0.0933104977, -0.4948932827, 0.3195854723, -1.1020284891, -0.1288044453, -0.8727099895, -0.5169050694, 0.0038952802, -0.7898014188, -0.1882903576, 0.3635406494, 0.7115667462, 0.6555809975, 0.1092336476, 0.7349879742, -0.4508516788, -0.3757594526, 0.1580623388, 0.3368307352, -0.3480243683, -0.8231471181, 0.0761742666, -0.1195293367, -0.4014037251, -0.7124443054, 0.6134521961, 0.3830980361, 0.035093382, 0.0685705841, -0.3037433624, 0.2400705367, -0.728497088, 1.0128344297, -0.0555026978, -0.4892670512, 0.298137635, -0.7002331614, 0.334744215, 0.6387355328, 0.3040862679, -1.2753176689, -0.4478074014, -0.8795391917, -0.7263679504, 0.3560396433, 0.0888673961, 0.3473987579, 0.027799964, 0.3969229162, 0.1156627387, 0.1843877584, -0.5317384601, -0.3119918406, -0.4007593989, -0.0265355241, 0.2341968268, -0.5593415499, -0.1674315482, -0.224406749, 0.7501015663, 0.218434602, 0.7673603892, 0.2273492068, 0.4060995281, 0.2474804074, 0.737329483, 0.9225639105, 0.9129659534, -0.3898254335, 0.0502521247, -0.0342390053, -1.0045015812, -0.2604964972, 0.0691028684, -0.1802695692, 0.0963325724, 0.3997569084, 0.3273578584, 0.0073668458, -0.282017827, 0.3999952078, -0.0885750875, -0.5589717031, -0.5244160295, 0.3814693987, -0.4188907146, -0.1764655709, 0.5475127697, 0.6669176817, 0.5149987936, -0.6145575047, 0.2224985808, 0.2834254205, -0.5927526951, -0.4326873422, 0.6279934049, 0.1321778446, -0.385266453, 0.2995752096, -0.2298856676, -0.3811691999, 0.4751222432, 0.6683502793, 0.8767596483, -0.0469439067, 0.279148072, 0.4078018367, 0.2566470504, -0.2184077948, 0.08001104, 0.2852161825, -0.5058482289, -0.4214653373, -0.410053432, -0.705706656, -0.0883980319, -0.3284338713, 0.6523270607, -0.5022933483, 0.0163744055, 0.3034983575, -0.2254092395, 0.0412953123, 0.0302056968, -0.3485431969, 0.6882474422, -0.555516839, 0.4252412021, 0.828777194, -0.2331250012, -0.2845465839, 0.1152314246, 0.3178187609, -0.7247062325, 0.3805244267, -0.151300177, -0.3721513152, 0.3220123351, -1.0312423706, -0.7435529232, 0.7324114442, -0.3908969462, -0.2337406576, 0.2121561766, -0.0632855296, 0.8536271453, -0.164810136, 0.2401235551, 0.4167313874, 0.4171063304, -0.15334405, -0.7430287004, -0.4311540425, -0.5546586514, -0.3849299848, 0.6029642224, -0.6572367549, 0.9995522499, -0.0247872733, -0.4590842724, -0.2822061479, 0.5699868202, -0.0297064018, 0.1155121922, 0.0370802656, 0.0410798118, 0.6539795399, -0.1694747061, 1.0114929676, -0.4711244702, -0.0102863004, 0.6993685365, -0.0139436908, 0.8376874328, 0.555919826, -0.4113803208, 1.088706851, 0.2113649547, -0.3197567463, 0.2647360861, 0.0677505061, -0.6155033112, 0.1365086734, -0.0615455657, -0.6034330726, 0.316459775, 0.4872240126, -0.3032774031, -0.176996544, 0.137381047, 0.8190204501, 0.2653957307, -0.2789499164, 0.762720108, 0.0128259873, -0.6692939997, 0.4809544086, 0.1063684896, 0.6817904115, -0.5292399526, -0.1677437574, -0.0508419387, -0.0698191673, -0.2863288522, -1.146846652, 0.326292634, -0.0862033069, -0.1007362157, -0.5276763439, 0.8694622517, -0.3651453853, -0.3966969848, -0.6455589533, 0.2334083915, 0.2528338432, -0.1738785207, -0.4922770262, -0.1632644236, 0.0508737601, -0.1978750527, 0.5409317613, 0.5586990714, 0.0513727702, 0.7465233803, 0.6081579924, 0.1848767549, -0.1043753102, -0.2358243316, 0.6177542806, -0.2384181768, -0.4606323242, -0.9212210774, 0.1582149416, -0.1821058989, -0.6370726824, 0.724983871, 0.42937693, 0.3874961138, -0.0254041106, 0.9977176785, -0.183281064, 0.4910026193, -0.4152027667, 1.1528697014, -0.1240530908, 0.1274184585, -0.4370961785, -0.7686264515, -0.366928339, 0.4325058162, -0.7666017413, -0.1112484559, 0.7941461205, 0.6813147664, 0.1256031841, 0.3560377061, -0.0468727835, 0.0385295749, 0.3571950197, -0.0978846028, 0.4627770185, -0.4823070467, 0.9010945559, -0.3480281532, -0.3028901517, -0.3103950918, -1.0306971073, -0.6434798241, -0.7899352312, -0.7779065371, -0.5503020883, 0.2503367066, 0.7104831338, -0.0065738866, -0.6563791037, -0.0528126061, -0.0620602779, -0.3178884685, -0.3705372214, -0.2960933447, 0.5278801918, -0.4626325667, -0.5974795222, 0.1035867557, 0.3312776685, 0.2122820914, 0.1165939867, 0.5173051953, -0.1877298951, 0.3058283627, 0.802077651, 0.4339132607, -0.0862227082, -0.4593114555, 0.2225262821, -0.2183273882, 0.3969745934, 0.8175193667, -0.4332284629, 0.3450624645, 0.6484138966, 0.2210701853, 0.2857029736, 0.1682635248, 0.4710851312, -0.6147867441, -0.2076559961, 0.1812936962, 0.3503090739, 0.0623389333, -0.3564465642, 0.5635384321, 0.4001270235, -1.1808056831, -0.9202656746, -0.2581303716, -1.048470974, -0.2060334384, 1.3387178183, 0.3623085618, -0.2291245013, -0.3266091943, -0.6896025538, -0.0827367231, -0.7106781602, 1.13022089, 1.0221129656, -0.5376335979, -0.3568556011, -0.8372916579, 0.8303234577, 0.2148724943, -0.5606462359, 0.2099932879, 0.2657210529, 0.274684608, 0.1767129898, 0.7898799181, -0.4500912428, 0.2622190118, 0.239866063, 0.3715678751, -0.0051175486, 0.0436059944, 0.0779431388, -0.0456342287, 0.1949066073, 0.4853444695 ]
http://arxiv.org/abs/2404.08617v1
http://arxiv.org/pdf/2404.08617v1
Synthetic Dataset Creation and Fine-Tuning of Transformer Models for Question Answering in Serbian
2024-04-12T17:27:54
2024-04-12T17:27:54
Aleksa Cvetanović, Predrag Tadić
cs.CL
cs.CL
In this paper, we focus on generating a synthetic question answering (QA) dataset using an adapted Translate-Align-Retrieve method. Using this method, we created the largest Serbian QA dataset of more than 87K samples, which we name SQuAD-sr. To acknowledge the script duality in Serbian, we generated both Cyrillic and Latin versions of the dataset. We investigate the dataset quality and use it to fine-tune several pre-trained QA models. Best results were obtained by fine-tuning the BERTi\'c model on our Latin SQuAD-sr dataset, achieving 73.91% Exact Match and 82.97% F1 score on the benchmark XQuAD dataset, which we translated into Serbian for the purpose of evaluation. The results show that our model exceeds zero-shot baselines, but fails to go beyond human performance. We note the advantage of using a monolingual pre-trained model over multilingual, as well as the performance increase gained by using Latin over Cyrillic. By performing additional analysis, we show that questions about numeric values or dates are more likely to be answered correctly than other types of questions. Finally, we conclude that SQuAD-sr is of sufficient quality for fine-tuning a Serbian QA model, in the absence of a manually crafted and annotated dataset.
[ -0.4634726346, -0.6431990266, 0.2971990407, 0.1104277149, -0.2002553046, 0.5910291672, 0.0117020626, -0.390670687, 0.332475841, 0.37386024, -1.1861437559, -0.4356081784, -0.1568651795, 0.3411015272, -0.1930300295, 1.2168363333, -0.2526167035, 0.4733363986, -0.1037850529, -0.1838434935, -0.4860693514, -0.3941280246, -0.3506984115, -0.1398422122, 0.4016094506, 0.6106203794, 0.6541824341, 0.180672884, 0.5887656808, 0.2776937783, 0.2353251576, 0.1397300065, -0.5899074674, 0.3270634413, -0.1988649517, -0.6466512084, -0.1130451709, -0.072388649, 0.6414383054, 0.2203344703, -0.0108450977, 0.7852317691, -0.5779107809, 0.4853987396, -0.178710252, 0.252905041, -0.7316266298, -0.1048100516, 0.1556334049, 0.0137593541, -0.3350818753, -0.5218757391, 0.1945054829, -0.7120611072, 0.5051300526, 0.0638180524, 1.0949006081, 0.299854517, -0.3544705808, -0.1414757073, -0.9477872252, 0.7114363909, -0.5029059052, 0.1681429297, 0.0668693483, 0.7213125229, -0.1263099313, -0.58805269, -0.6041007638, 0.1749157757, -0.0865394846, 0.4048798084, -0.284940362, -0.1420277357, 0.2318517268, 0.1517352015, -0.9018929601, -0.2441071421, -0.7411273122, -0.1302362978, 0.7126095891, 0.2139641494, 0.5469616055, -0.2429361939, -0.0587307736, -0.1717246324, -0.7483744025, 0.3609636426, 0.758047998, 0.3904971182, 0.2121733278, 0.8892785907, -0.5343199372, 0.5374096632, 0.1266541481, 0.254327029, 0.0493936166, -0.6292904615, -0.1354330927, -0.0108050508, 0.5971992016, 0.1564760804, 0.5597599745, -0.3885074854, 0.0899352878, 0.413128525, 0.6257540584, -0.8227114081, -0.3600145578, 0.2113966495, 0.002568681, -0.1747916043, 0.3048606217, -0.5020136237, 0.3979832828, -0.44709149, 0.401463896, -0.3756359816, -0.0633697361, 0.174594447, 0.003926734, 0.5648617148, -0.0587376133, -0.56220752, 0.2927226722, 0.4436158538, 0.3725642562, -0.1438779384, 0.0770607591, -0.3897399008, -0.3139785826, -0.3739394248, 1.0257220268, -0.4241296947, -0.0752981827, -0.0202596057, 0.3030637205, -0.2064483017, -0.4395754933, 0.5580718517, -0.9303461909, 0.4150952399, -0.2214928865, -0.3209459782, -0.0661663562, 0.3692992926, -0.576946795, 1.1114119291, 0.5124748349, -0.5179767609, 0.296626389, -0.4218491316, -0.4081834853, 0.1274333894, 0.1248075962, -0.3516068757, -0.0129218688, 0.340117842, 0.0371857099, -0.2423008531, 0.4145677686, -0.0145055382, -0.2452813834, 0.4392372072, -0.0387024879, 0.6343919635, 0.1248850375, 0.0593582764, 0.1915497184, -0.7550712228, 0.6488655806, -0.0846491382, -0.1233869269, 0.016106043, -0.1903180927, 0.0349738225, 0.6631794572, 0.0496120192, -0.9422745109, 0.1517919153, -0.6068059802, 0.3576271236, 0.3101834953, 0.0368891396, 0.3730455935, -0.5191376209, 1.2795331478, -0.0529173538, 0.1567060053, 0.009150777, -0.5311991572, -0.482308805, -0.1768584847, 0.5780915618, 0.8111843467, -1.1962884665, 0.2662981749, -0.2533892691, -0.6557235718, -1.098652482, -0.0963825285, 0.4809302688, 0.5975229144, 0.3973574936, 0.1738706678, -0.9710456729, -1.1233570576, -0.0924569145, -0.3360956609, -0.0883248076, 0.2852264047, 0.5626581311, 0.0946235731, 1.1629757881, -0.6257128716, -0.096165508, -0.6645277143, 0.0240172315, 0.3027138114, 0.5051318407, 0.4892120957, -0.9372902513, -0.6082695723, -0.2698816359, -0.4777294993, -0.11755272, -0.0663650706, -0.4416870475, 0.2080366611, 0.1070075408, -0.6270543337, 0.2020761073, 0.6557388902, -0.3849848211, 0.7696793675, -0.1044953689, 0.4433151186, -1.4438979626, 0.0963681787, 0.0252081193, -0.2162430584, -0.8951417804, 0.2875337005, 0.2142176479, -0.2283228785, -0.6940511465, 0.4624323547, -0.1597903222, 0.0201398395, 0.0090409322, -0.0001861317, 0.1897444427, 0.426792413, -0.0648455992, 1.1919343472, 0.2635806799, -0.2089082748, 0.4418470263, 0.8341285586, -0.6033369899, 0.4259931743, -1.0769946575, 0.0362262465, -0.3537720442, 0.2374209017, -1.3054002523, -0.2776539326, 0.2821997404, -0.5697757602, 0.2959050536, -0.5259671211, -0.6243252754, -0.5734371543, 0.0611019731, 0.6268268824, 0.5682904124, -0.2829246521, 0.4121832252, 0.3326996565, -0.3981987238, -0.3446961045, -0.3828998208, -0.1723359376, -0.0808964595, -0.9899331331, 0.3339381218, -0.3371798098, -0.049661845, -0.3003966212, -0.2357593775, -0.3456811607, -0.1322982907, 0.1666508764, 0.7267939448, -0.371834904, 0.1215542704, 0.2337237746, -0.0518436879, 0.0675633177, -0.1119761169, 0.6530115008, -0.1789619625, 0.0385392755, -0.4559651017, 0.4836498201, 0.4717453122, -0.3655431569, 0.7952299714, 0.4309456944, -0.0296122245, 0.0663052946, -0.4886139333, -0.1779743284, -0.4147023857, 0.1859903485, -0.6305166483, -0.7148548961, 0.9072424173, 0.2759716213, -0.1912409067, 0.4385640621, 0.3860054314, -0.3606941104, 1.3377642632, 0.3695904315, 0.0433901101, 0.252478689, -0.4737797678, 0.2710018754, -0.7502353787, -0.4346222281, -0.7812008262, -0.4366317689, -0.8372270465, -0.1502074897, 0.4663386047, -0.2511801422, -0.1065232605, 0.5495898128, -0.3661431372, 0.58317101, 0.5570144057, 0.1949501634, 0.1388319433, -0.2985860705, 0.2389991432, -0.1707466543, -0.8632412553, -0.5308690071, 1.0302757025, -0.1344209462, 0.7075746655, 0.0303645339, 0.4606369138, -0.1025520787, 0.0296948347, -0.6844140887, 0.3263379633, 0.0351237208, -0.872027576, -0.3103039861, -0.4528515339, -0.7143552303, 0.0308183506, -0.3366718888, -0.312001735, 0.0540779941, -0.0407975018, -0.5105133653, -0.1505084187, -0.8972056508, 1.0045173168, 0.0856684968, 0.0618685707, 0.1560638547, -0.8718969226, 0.4187033176, 0.0086108278, -0.229288727, -0.1906607598, 0.3355968893, 0.6418723464, -0.0814712197, 0.3470429778, -0.0344729908, -0.0860316679, 0.2610865831, 0.0452254899, 0.397810787, 0.4472169876, -0.1827133298, -0.1559043676, 0.6588308811, -0.6533489823, -0.8447219133, 0.4692310989, -0.9291439056, -0.5253953934, -0.3065115511, -0.9380334616, -0.3103967905, 0.1152725965, 0.4737093151, 0.6058230996, -0.3977282047, 0.1015809029, 0.731444478, -0.2650653124, -0.0471272543, 0.7942820191, 0.0334505066, -0.2907484174, 0.6256235838, 0.2069996744, 0.4568018913, 0.2780981362, -0.1949531287, -0.4821914732, -0.3959681094, -0.8128963113, 0.3301880658, -0.2377711684, -0.5580801368, -0.5723417401, -0.4291161001, -0.6483725905, 0.1117911115, -0.245907262, -0.6802565455, -0.2698812187, -0.1268992573, 0.2785660625, 0.3765100539, 0.5139883161, 0.3097620606, -0.7362086177, 0.7990601063, -0.0231104698, 0.2686898112, -0.7016475797, -0.650853157, -0.1369041204, 0.5118629336, -0.164785713, -0.8079941869, 0.6283426881, 0.1763209552, 0.3875905275, -0.1672359854, 0.5020142794, 0.6616230607, -0.5178057551, 0.6993663907, -0.2980823815, -0.6795950532, 0.7130389214, -0.4401722252, 0.6138681173, 0.9110748768, 0.5577096939, -0.3254369795, -0.6879609823, -0.7086167932, -0.5220094919, 0.9694274068, 0.4227606058, 0.3298665285, -0.1050257087, 0.4973082542, 0.1869531572, 0.1587748677, -0.3487364352, -0.1983677447, -0.1946172118, -0.4144613743, -0.0243969094, -0.0539378524, -0.0478815772, -0.5056269765, 0.9683468938, -0.3572317362, 0.2018926591, 0.1170332953, -0.2822729349, -0.2294211239, 0.4053918719, 0.721193254, 0.7775972486, -0.2952418029, -0.3609652221, 0.1546304971, -0.3424715102, 0.4161985219, 0.0043834974, -0.4922042191, 0.0973339304, -0.1746616811, 0.5863265991, 0.0415076502, -0.9014880061, 0.2149408162, -0.387180537, -0.2452991456, -0.4715338647, 0.1445225477, -0.2978603244, 0.2565201521, 0.3896906674, 0.0738534406, 0.0188899562, -0.7116423249, 0.2714016736, 0.5553681254, -0.3140515089, -0.5985403061, 0.3848353326, -0.2024873346, -0.3138911128, 0.792879045, -0.028618725, -0.7435581684, 0.7894281745, 0.6262599826, 0.4134869277, -0.2393143475, 0.8391190767, 0.4578415751, 0.2119045854, -0.0827288851, 0.7552666664, 0.1244127154, -0.7981411219, -0.5213760734, -0.5439549088, -0.3815846741, -0.1992670298, -1.134770155, 0.1107937843, -0.0816675425, -0.0797632635, -0.0577912964, 0.4195222855, -0.7201594114, 0.4016283751, -0.4896183908, 0.9481261373, -0.9160788655, 0.8488388658, 0.7480930686, -0.4964533448, -0.8274314404, -0.3160735369, -0.5819159746, -0.7431342602, 0.7663081288, -0.044503998, 0.1021082178, 0.3205725551, -0.5062422752, -0.988947928, 0.9427562952, 0.474632293, -0.2096831501, -0.2947076261, 0.4195177555, 0.9517019987, -0.4632145464, 0.2525810301, 0.8695734143, 0.3821786046, 0.3176451921, -0.5688593388, -0.1289251447, -0.5051180124, -0.0775890648, 0.2393041849, -0.494651407, 0.3525497615, -0.1905983388, -0.3283579946, 0.5948384404, 0.5455030799, 0.1653773487, 0.0098216543, -0.0545708649, 0.3351418674, 0.4043786824, -0.441077441, 0.9906918406, -0.3284530044, 0.1307332963, 1.0846068859, -0.3259964883, 0.7044271231, 0.5201884508, -0.0950208753, 0.5701473355, 0.4152237177, -0.1735182106, 0.4793212712, 0.3062308133, -0.0285252817, -0.4229296148, 0.0188066922, -0.0849732161, 0.5210704803, -0.0496832803, -0.1004045308, -0.238213256, 0.2065292895, -0.4161601067, 0.1028728187, 0.0067027891, 1.0357028246, -0.37275666, -1.0872933865, 0.4758097231, -0.15598014, 0.206098333, -0.5814660192, 0.1803259701, -0.3651588559, 0.0192829762, 0.0117857978, -0.8747295141, 0.5377550125, 0.095304966, -0.6860778332, -0.3122596741, 0.4090841711, -0.751008451, -1.0274840593, -0.2906836569, 0.5237381458, 0.0009024875, -0.097393848, -0.5863769054, -0.2156481147, -0.1218940169, 0.2680540681, 0.3055526018, 0.2781855464, 0.015832385, 0.7784941196, 0.6142980456, 0.2681285739, 0.247110799, 0.0749775469, 0.8088648319, -0.3737092912, -0.3676248491, -0.4152748287, 0.5802432299, 0.1336193979, -0.3400243521, 0.6522672772, 0.6750725508, 0.8496174216, -0.4002298713, 0.5999714136, 0.1259604245, 0.8127104044, -0.414930135, 0.6403920054, -0.0624838434, -0.0894315466, -0.2233711779, -0.8381972313, -0.2493886054, 0.4411009252, -0.1905022115, -0.2795711756, 0.3884702921, 1.0462136269, -0.108877413, 0.1869321764, 0.3023414612, 0.0061013633, 0.3828895092, 0.5016763806, 0.9265358448, -1.1041477919, 0.816861093, -0.1764392704, 0.1663869172, 0.1144678667, -0.3507699668, -0.7928847671, -0.7015417218, -0.3587233126, -0.3319469988, 0.0994341895, 0.8274828792, 0.6413552165, -1.1679060459, 0.0083417427, 0.0814832076, 0.033903338, -0.1204738393, -0.2694170475, 0.0786172152, -0.5206679106, -0.7204780579, 0.3872355521, -0.1731535941, 0.162849009, -0.0873984918, 0.1542318016, -0.3356928527, 0.1986896396, 0.4723763466, 0.3508194089, -0.5841061473, -0.3561473191, 0.7444442511, 0.1111499295, 0.2354034781, 0.9462367892, -1.0865387917, 0.4453607202, 0.6499763131, 0.5257946849, 0.4325979054, 0.4443677962, 1.0247768164, -0.8288068175, -0.14031142, 0.3665889204, 0.1921949238, 0.2068208009, -0.2250606269, 0.3354194164, -0.2231920213, -0.5306005478, -0.753723681, 0.2292218506, -1.0619536638, -0.0182810575, 1.0659729242, -0.1922421455, -0.1978651285, -0.3960321844, -0.5919021964, 0.4471101761, -0.3040079474, 1.0503205061, 0.7333987355, 0.04503645, -0.0249245334, -0.3552084565, 0.5656713247, 0.3413584828, -1.0281152725, -0.0615404546, 0.4692385495, 0.3945625424, -0.0293513872, 0.0745213106, -0.0757525712, 0.5685316324, -0.5482732654, -0.209555313, -0.0406130664, -0.5537650585, -0.1806842238, 0.0667243749, -0.4333574772, -0.1174493358 ]
http://arxiv.org/abs/2404.08727v1
http://arxiv.org/pdf/2404.08727v1
Can LLMs substitute SQL? Comparing Resource Utilization of Querying LLMs versus Traditional Relational Databases
2024-04-12T16:44:28
2024-04-12T16:44:28
Xiang Zhang, Khatoon Khedri, Reza Rawassizadeh
cs.DB
cs.DB, cs.AI, cs.CL, 68-04, H.2.m
Large Language Models (LLMs) can automate or substitute different types of tasks in the software engineering process. This study evaluates the resource utilization and accuracy of LLM in interpreting and executing natural language queries against traditional SQL within relational database management systems. We empirically examine the resource utilization and accuracy of nine LLMs varying from 7 to 34 Billion parameters, including Llama2 7B, Llama2 13B, Mistral, Mixtral, Optimus-7B, SUS-chat-34B, platypus-yi-34b, NeuralHermes-2.5-Mistral-7B and Starling-LM-7B-alpha, using a small transaction dataset. Our findings indicate that using LLMs for database queries incurs significant energy overhead (even small and quantized models), making it an environmentally unfriendly approach. Therefore, we advise against replacing relational databases with LLMs due to their substantial resource utilization.
[ -0.0857658535, -0.8138335347, 0.790625453, 0.2393405139, -0.2072283775, 0.0469182134, -0.2271333337, -0.6311814189, 0.0606264845, 0.9659875631, -0.383172214, -0.3840712607, 0.2353215814, 0.3674277067, -0.4093765318, 0.3298959136, -0.1747432798, 0.1783663929, -0.4285645783, -0.1077300012, -0.5748336911, -0.7074822187, -0.3705049455, -0.3405612111, 0.3457310796, 0.1042950153, 0.9229738116, 0.5609542131, 0.6788199544, 0.3411272764, -0.1101244017, 0.1508036107, -0.3507976532, 0.2298934311, -0.2946249247, -0.4778677225, -0.45041278, -0.0270521306, 0.5816820264, 0.8398476243, -0.4717530012, 0.3557176292, 0.1048208401, 1.1097457409, -0.6379620433, 0.4155254662, -0.9839843512, 0.1936440468, -0.3648509085, -0.1193351075, -0.5914834142, -0.3843954802, -0.1353857666, -0.5441603065, -0.0907289088, 0.4368413985, 0.5801483989, 0.4431654215, -0.3478860855, -0.3001639843, -1.012675643, 1.0136735439, -0.8454089165, 0.3301831484, 0.2685718238, 0.2752601206, -0.3495335579, -0.3700665236, -0.6042886376, -0.4320753217, -0.4069001973, -0.1077677533, -0.0716448203, 0.4074244499, 0.5260697007, 0.3350138366, -0.6257371902, 0.4506434798, -0.1780381054, -0.0106628444, 0.7047585249, 0.6384913325, 0.1603659093, -0.4348627925, -0.2700305581, 0.1928972602, -0.9319253564, -0.2692978084, 0.0482131727, 0.4759828448, 0.2539704442, 0.7875474095, -0.0717437118, 1.1404935122, -0.3981436491, -0.1586327255, -0.1130437404, -0.4814158976, -0.6963207126, -0.0379410982, 0.911973238, 0.4292893112, 0.2320562452, -0.2708391249, -0.2854177356, -0.0508650318, 0.1297742128, -0.4698710144, -0.0839207843, 0.2285051793, -0.3862330914, 0.0057062618, -0.2047520429, -0.5031529665, -0.6194271445, -0.4198421836, 0.2433651537, -0.3639058173, -0.1928774118, -0.0444532037, 0.2561038733, 0.3350209594, 0.2876396477, -0.6276007891, 0.5439076424, 0.4651817083, 0.8583233356, -0.225592196, 0.0646334141, -0.0487635806, 0.2930549979, -0.4890030324, 0.6364663243, -0.4798957407, -0.7642108798, -0.3228403628, -0.1774570048, -0.0868951976, -1.0514916182, 0.2495423704, -0.7175438404, 0.0387509502, -0.4918206036, -0.7272258997, -0.0456310511, -0.2162588835, -1.0431649685, 1.1177477837, 0.1513718367, -0.268755734, 0.2447193265, -0.5838290453, -0.3001514375, 0.0286417473, -0.1411576122, -0.3042984605, 0.0285025965, -0.0151929567, 0.35014081, -0.8393745422, 0.0262642335, -0.3140133619, -0.6909819841, 0.560002923, -0.2305425256, 0.6762645841, 0.4077984691, -0.0470749177, -0.4323722124, -0.6787102222, 0.214984253, 0.130779162, -0.443920821, -0.3772762418, 0.3351318538, -0.0211421028, 0.0450681895, 0.1482523978, -0.389516294, 0.188558042, -0.44090873, 0.3244301081, 0.5660315752, 0.0194026548, 0.6283772588, -0.2435430437, 0.4730921984, -0.2329928726, 0.0804520547, 0.1765343994, -0.0949444696, -0.4802481234, -0.0574756712, 0.1452269405, 0.6771059632, -0.6136778593, 0.2336802781, -0.1616306603, -0.5427937508, -0.2124477774, 0.4377623796, 0.12145219, 0.2676332295, 0.3671744466, 0.1860360354, -0.7817893624, -0.7667272091, -0.7444697022, -0.3509352207, -0.0950382799, 0.7642700672, 0.242093578, 0.1081845388, 1.0027632713, -0.2000309676, -0.3052481115, 0.054431051, -0.362261951, 0.5692355633, 0.3152829707, 0.5444725752, -0.5283990502, -0.6295344234, 0.0141472388, -1.1298466921, -0.2159108818, -0.3661926687, -0.0211790055, 0.7113315463, 0.4534963071, -0.8705347776, -0.0134387044, 0.4325286746, -0.0958043709, 0.5046315193, -0.0216522478, 0.1535043269, -0.6325958371, 0.069335945, 0.0409633107, 0.0217748452, -0.466160506, 0.072553128, 0.1011557057, -0.2062528729, -0.505898416, 0.3535045683, -1.0490701199, -0.4882626534, 0.0341654569, 0.1063938886, 0.0463078134, 0.0212432984, -0.1402714103, 1.0510547161, 0.3831705749, -0.7437172532, 0.584394753, -0.0507837795, -0.5185310841, 0.5201630592, -0.5690888166, 0.2784507275, -0.0459023975, 0.097879611, -0.6681790352, -0.0640096441, -0.0019278103, -0.0058948798, 0.2104200274, -0.2082723975, -0.8564302325, -0.2546656728, -0.2829370201, -0.1471074969, 0.5979651809, -0.4456453919, 0.6692618132, 0.2635275424, -0.0491960309, -0.3706222773, -0.9720217586, 0.4240902066, -0.2620508075, -0.5902722478, 0.3327546418, 0.3696861565, -0.5424695015, 0.139860779, -0.2175422758, -0.0053587314, 0.1932400614, 0.1347548515, 0.499935776, -0.4003666639, 0.2432675958, -0.3080257773, 0.1830283403, 0.2837534249, -0.0350827463, 0.3694083691, 0.1405247748, -0.5891976953, -0.4645449221, 0.1550575644, 0.6170065403, 0.0903542638, 1.169377923, 0.0336354077, -0.3937114477, 0.053906098, -0.7212972045, -0.1534306109, -0.4916577339, 0.2288364023, -0.1502643675, -0.5869981647, 0.4552946091, -0.0036257899, 0.1385075003, 0.4116345346, 0.2554565668, -0.4131688476, 0.7167797089, 0.2375103086, -0.0613514595, 0.5190903544, -0.1605142951, 0.1210192069, -0.696325779, -0.1462029368, -0.5668865442, -0.1961818486, -0.6591039896, -0.5882140994, 0.4865507185, 0.1198594943, -0.2868757248, 0.3088431954, -0.3790631294, 0.6702232957, 0.1566238254, 0.0189665277, 0.5250530839, 0.2987817228, 0.352448374, -0.2697393, -0.5916975737, -0.7106518745, 1.0414705276, -0.0408664383, 1.1996650696, 0.3446300328, 0.5500039458, 0.1269402206, 0.3795756996, -0.5275326967, 0.8423348665, -0.1283162534, -0.5607095361, -0.5221950412, -0.7325250506, -0.9255123734, 0.4327291548, -0.209673062, -0.5772290826, -0.0302269626, 0.1502299756, -0.1934565306, 0.602386117, -0.834292531, 0.6824668646, -0.4367201924, -0.3609901667, -0.4328227937, -0.1190729588, 0.3246833384, -0.2216967344, 0.2111391127, -0.199834004, -0.2922586203, 0.6154034734, -0.5075146556, 0.7242853642, -0.2840976119, 0.0026172092, 0.4887964725, 0.2931878269, 0.7545837164, -0.2584069967, -0.701077342, 0.142226398, 0.0339354835, -0.2906502485, -0.6890000701, 0.8131873608, -0.449570328, -0.7518084049, -0.6304659843, -0.3724295497, -0.3407167196, 0.028628625, -0.1519982517, -0.0338836648, -0.2734594643, 0.1905456483, 0.4089227021, -0.3466629684, 0.4257548153, 0.752225697, -0.2888844609, 0.2278568447, 0.7999204993, 0.4962427616, 0.3324619234, 0.3493959904, 0.0198780969, -0.5236932039, -0.6144666076, -0.3010383844, 0.4483658671, -0.3476122022, -0.4482801557, -0.5800994039, -0.0292146411, -0.1264247298, 0.0032045792, -0.3993180096, -0.2481855899, -0.4869478047, 0.0351971835, 0.613085568, 0.7259289622, 0.379472971, 0.1627053171, -0.9399282932, -0.033825051, 0.0911568776, 0.5292526484, -0.0201074649, -0.2704255879, -0.1452981383, 0.0559001118, -0.0980679244, -1.0265043974, 0.2591081262, 0.2505248189, 0.8452784419, -0.2610153258, 0.1578689516, 0.5937542915, -0.3678991497, 0.777561605, -0.0047172047, -0.8316345811, 0.486867696, -0.2324985415, 0.1069736257, 0.2896510959, 0.3963947594, -0.4312418103, -0.1809872985, -0.3069035411, -0.7126587033, 0.7036969662, 0.2390624583, -0.001341481, 0.1943507195, 0.5697036386, -0.2723109722, 0.3158511221, -0.6839914322, -0.279201746, 0.3188443482, 0.1575319767, 0.1204493567, -0.3274525106, 0.1889485121, -0.0200141333, 0.5364895463, -0.0000663882, 0.1520656049, -0.1652151793, -0.2613976598, -0.1266618073, 0.3449681401, 0.0694866925, 0.7483659983, -0.3283944726, -0.1250932217, 0.575450182, -0.133820042, 0.03192316, -0.0930932313, 0.0313004181, 0.1869419217, 0.0482734293, 0.4760434926, 0.0525556244, -0.7491013408, -0.1984812021, 0.1822150052, 0.1888527721, -0.3413428664, 0.1587443501, 0.4300406873, 0.1443604529, 0.1852344126, -0.2111805677, 0.15002428, -0.6281324029, -0.3913064003, 0.7376612425, 0.060531199, 0.1065358892, 0.5692724586, 0.1487050503, -0.1628908366, 0.7330950499, -0.0037667532, 0.1028922424, 0.4402888417, 0.3109571338, 0.3396661878, -0.3120644391, -0.0657766834, 0.2236855328, 0.4457618296, -0.1097459868, 0.4804961979, 0.2387006283, -0.6226165891, -0.7848552465, -0.6822924614, -0.6972421408, 0.0129035609, -0.5670239329, 0.0771310925, -0.6304246187, -0.264631331, 0.072164312, 0.0015695062, -0.5418590903, -0.1032879204, -0.0347282588, 0.8552122712, -0.6409891844, 0.7795313597, 0.9435590506, -0.3743568063, -0.7184330821, -0.4689779282, 0.2482385188, -0.6463745832, 0.5966444612, -0.4025855362, -0.1607982963, -0.3085569441, -0.3493520916, -0.9568788409, 1.2852218151, 0.6565990448, -0.7434281111, -0.0472228564, 0.4450573325, 0.6572238207, 0.006509169, 0.0831726044, 0.6831082106, 0.3776017129, -0.1149590239, -1.0618792772, 0.1811900288, 0.2643887997, 0.469165653, 0.3673432767, -0.5301741362, 0.8941743374, -0.2415231615, -0.5564098954, 0.0094788605, 0.5101780891, 0.3833959699, 0.019524537, 0.5318764448, 0.1233894825, 0.8428502083, 0.0372878127, 1.1423023939, -0.4863502979, 0.4207539856, 0.7416269183, -0.9382793307, 0.7931284904, 0.7405427694, -0.9219636321, 0.2877037823, 0.5347624421, 0.1069941074, 0.0080528548, 0.2631720304, -0.3286747932, -0.1451718807, -0.0161804166, -0.3119437099, 0.2191975862, 0.551422298, -0.1934912205, -0.1587463766, -0.4057510793, -0.0034622659, 0.2239304334, -0.1155617908, 0.6635846496, 0.3555167317, -0.3543218076, 0.7985360622, 0.0653304011, 0.4879074395, -0.3500099778, 0.014608711, -0.2756565213, 0.0254829321, -0.400893867, -0.8987945914, 0.4703097939, 0.0310307499, 0.0151520586, -0.3071546853, 0.7272200584, -0.0330844894, -0.4153606594, 0.2149459571, 0.6890333891, 0.1733811498, -0.3739046752, -0.866340518, 0.0625939816, -0.1452116519, -0.3200070262, 0.5166116953, 0.3583499789, 0.1010171548, 0.7947416902, 0.6285390854, 0.3272252977, -0.1544400454, -0.0216552857, 0.7347016931, -0.8794907331, -0.2227776647, -0.9867336154, -0.0429448187, -0.129520461, 0.3098589182, 0.9069898725, 0.6020824909, 0.5115178227, -0.0137834074, 0.6007667184, 0.1320551485, 0.6376368403, -1.0592166185, 0.4600910246, -0.3799746037, 0.9251775146, -0.3634211719, -1.354593873, -0.0846927539, 0.5672022104, -0.3134916127, 0.1386142224, 0.6204057932, 1.0912652016, 0.1849951148, 0.1151907742, 0.3066314459, 0.4408617616, 0.1969233751, 0.3309549093, 0.8678366542, -0.1317657083, 0.4523071945, -0.0569662638, 0.1164140105, -0.3591560721, -0.7681373954, -0.4268025458, -0.0680021495, -0.227627337, -0.5244658589, 0.134624362, 0.8997731209, 0.2784588039, -0.8119951487, -0.7909746766, 0.1296125352, 0.2372309864, -0.1775345057, -0.2660703659, 0.1882630289, -0.287185967, -0.4810461104, 0.4330649376, 0.2870640159, 0.093933247, -0.5204569697, 0.0783497766, -0.1553042978, -0.0991113931, 0.7066146135, 0.2271246314, -0.6502155066, -0.1724385619, 0.4219974875, -0.4698907137, 0.0833904892, 0.8163447976, -0.7931773067, -0.0256990734, 0.3290844262, 0.4486504495, 0.4774059653, -0.1317562759, 0.4351499379, -0.5823766589, 0.0015404613, 0.3086386323, 0.4906714857, 0.397903055, -0.4817237556, 0.623298347, 0.3488506079, -0.6358503103, -0.9057697058, 0.1018559635, -0.9727370143, -0.3148448169, 1.233946681, 0.2354082614, -0.3116040826, -0.2021193355, -0.1349455714, -0.238188073, -0.236188367, 0.411218524, 0.5321484208, -0.6732766032, -0.151696533, -0.8030794859, 0.4655317366, 0.5318547487, -0.7419918776, 0.2208350003, 0.7476908565, 0.3060328066, -0.0089216651, 0.7954059839, -0.1780753285, 0.0601417981, -0.023270525, 0.0796928927, 0.1404281408, 0.3363664746, -0.1633427441, -0.1013820544, 0.2581795752, 0.1308855563 ]
http://arxiv.org/abs/2404.08579v1
http://arxiv.org/pdf/2404.08579v1
Small Models Are (Still) Effective Cross-Domain Argument Extractors
2024-04-12T16:23:41
2024-04-12T16:23:41
William Gantt, Aaron Steven White
cs.CL
cs.CL, cs.AI, cs.LG
Effective ontology transfer has been a major goal of recent work on event argument extraction (EAE). Two methods in particular -- question answering (QA) and template infilling (TI) -- have emerged as promising approaches to this problem. However, detailed explorations of these techniques' ability to actually enable this transfer are lacking. In this work, we provide such a study, exploring zero-shot transfer using both techniques on six major EAE datasets at both the sentence and document levels. Further, we challenge the growing reliance on LLMs for zero-shot extraction, showing that vastly smaller models trained on an appropriate source ontology can yield zero-shot performance superior to that of GPT-3.5 or GPT-4.
[ -0.3776775002, -0.7000951171, 1.0104877949, -0.5391254425, -0.2535180449, -0.2287788838, 0.056561213, -0.5866033435, -0.1941508949, 0.3690330386, -0.5227375031, -0.2145224214, -0.6775854826, 0.1341937035, -0.5573502779, 1.0369235277, -0.0106880441, -0.2082129121, -0.1591094136, -0.1251724511, -0.4043897688, -0.4138838947, -0.9448742867, -0.2529402673, 0.6514453888, 0.656416595, 0.2834240794, 0.6914284229, 0.3271921873, 0.0123232054, 0.2288554907, -0.1047083884, -0.3356334567, -0.0896513462, -0.6178088188, -0.561054647, -0.3904811144, 0.1218672842, 0.4014530778, 0.3808993995, 0.086146906, 0.3409517705, -0.2104276121, 0.0689268708, -0.8608430624, -0.1505748034, -0.8331964612, 0.1438550353, -0.3572612405, -0.143347308, -0.5408369899, 0.0136227272, 0.4291875362, -0.613391757, 0.1283153296, -0.0757064447, 1.1108459234, -0.0177888554, -0.4189151525, -0.2697908878, -0.7503112555, 0.8519877791, -0.9702954292, -0.0923070237, 0.0894776955, 0.1537565142, 0.1239784434, -1.0042970181, -0.7780262828, 0.2619462311, 0.1135562882, 0.1705643535, -0.7357380986, -0.0449351817, 0.3558428288, -0.0631258935, -0.6044203639, 0.2252514064, -0.3011362851, -0.0028189574, 0.6184357405, 0.1745280027, 0.3830420077, -0.4914848804, -0.3459836543, -0.0351487547, -0.8138546944, -0.1645497084, -0.0552752726, 0.3006320894, 0.0317124575, 0.5842934251, 0.0523235314, 0.7142577767, 0.2116463184, -0.0425972156, -0.6373050213, -0.571972847, -0.4849335253, -0.1274447441, 0.6333515644, 0.2226257771, 0.2758304477, -0.4947740436, 0.2631319761, -0.1658954918, 0.2371903807, -0.9932634234, -0.0604169518, 0.2754670382, -0.4681702554, -0.2139519006, 0.061242383, -0.9435606003, -0.2304824144, 0.0590032674, 0.6916840672, -0.319716543, 0.1335045099, 0.1223236099, -0.5009563565, 0.6432583928, 0.4756594598, -0.5831931829, 0.2254348546, 0.7057042122, 0.7780664563, -0.2630479634, 0.1681892574, -0.8130661845, 0.4619404078, -0.4602690637, 1.3745210171, -0.5953053236, -0.28377074, 0.0196144618, -0.2150248736, -0.1786648631, -0.402751416, 0.7706261873, -0.3406791687, 0.5464786887, -0.3542821109, -0.9677348137, -0.2416381389, 0.2330605239, -0.3144483268, 0.721247673, 0.0614683665, -0.2581633627, 0.4989497364, -0.8049364686, -0.1958368123, 0.1071915329, -0.3908670247, -0.149379611, 0.3613429666, 0.2332470566, 0.5747698545, -0.5950959325, -0.5451807976, -0.4648844004, -0.1759998053, -0.0281029455, -0.3063874841, 0.6342138648, 0.1665425897, -0.3986648619, -0.2944434285, -0.8751312494, 0.054092098, 0.2908077538, 0.1087840572, -0.3311942518, -0.2752568722, -0.3826093674, 0.5671529174, -0.2543278635, -0.9696147442, 0.5228572488, -0.4353093207, 0.4152402878, 0.3410334289, 0.2507369518, 0.7514737248, -0.4205808342, 0.763843298, 0.0575146452, -0.167473048, -0.1814740002, -0.5850734115, -0.7283979654, -0.2576633692, 0.4794493318, 0.5455484986, -1.0054805279, -0.0815788507, -0.2755780518, -0.5186665058, -0.5496852994, -0.1079559326, 0.1488390267, 0.6086817384, 0.3361378312, -0.0022190076, -0.2575611472, -0.6489115953, -0.3831850886, -0.3565011322, -0.1593849212, 0.3294931948, 0.3422938585, 0.407282263, 1.1342978477, -0.4619237483, -0.4381401837, -0.4942535758, 0.402276516, 0.0104809785, 0.1317116618, 1.062641263, -0.2782199681, -0.7649251819, 0.1166018993, -0.8632631302, -0.271849215, -0.5027229786, -0.1864174604, 0.1762984693, 0.3975343704, -0.8789672852, 0.6806126833, 0.1619231403, -0.4165565968, 0.2612120211, 0.2488662302, 0.0585734658, -1.2168569565, -0.192043215, 0.0591107607, -0.491181463, -0.7874997258, -0.0570259094, -0.0247853026, -0.0214419086, -0.8075191975, 0.9527171254, -0.4981468618, 0.2016756386, -0.5281387568, 0.6407680511, 0.3507238925, 0.1759221703, -0.0020394186, 0.5193226337, 0.484570235, -0.1975750178, 0.1387773454, 0.4603127837, 0.0654034019, 0.8659146428, -0.4524260461, 0.5127481818, -0.0105076302, 0.0994144008, -0.9258566499, 0.1611033231, 0.3968984187, -0.1527110785, 0.4335838854, -0.7020815611, -0.161131382, -0.0322300419, -0.5155044794, 0.1515153944, 0.5982379913, -0.5003415942, 0.7026236057, 0.0728617087, -0.3537587523, -0.3016162515, -0.6236718893, 0.2568703294, -0.4503946602, -0.5829837322, 0.3913760781, 0.1537765712, -0.2466448843, 0.2812462449, -0.0628699437, -0.0297104362, -0.2522165179, -0.0751011819, 0.3491810858, -0.5952283144, 0.1147871912, -0.0993547887, -0.0066287201, -0.1008689627, -0.3629011512, 0.0526301786, 0.1959109753, -0.3905229568, -0.4575106502, 0.7570872307, 0.290217936, 0.232247591, 0.8372308016, 0.3089395165, -0.3998185098, -0.5052369237, -0.4847485125, -0.3527047634, -0.3235484958, 0.207090646, -0.5436472297, -0.7892667055, 0.4191502631, 0.005304384, 0.3202877343, 0.8046323061, 0.3876037002, -0.1894827932, 0.7106818557, 0.6220980287, 0.1913107038, 0.5257124901, -0.302874893, 0.3189540505, -0.7314969301, 0.2040345967, -0.7734473944, -0.0516696051, -0.1989599168, -0.5367091298, 0.0647360459, 0.2546083331, 0.0284565557, 0.385030061, -0.1372830719, 0.4223522842, 0.0036000763, -0.5141585469, 0.3216457665, 0.1470091045, 0.161003232, -0.0907161832, -1.196557641, -0.7235512137, 1.0750280619, 0.2647570372, 0.5569447875, 0.1373892426, 0.5880540013, 0.2110521495, 0.4781577587, -0.948214829, 0.4046463072, -0.5393958688, -0.6451131701, -0.4206227958, -0.2729078531, -0.8321294188, 0.5555315018, -0.3451697528, -1.1677418947, 0.6267022491, -0.162349999, -0.8097319007, 0.6724395156, -0.6279588342, 0.8517409563, 0.2452077121, -0.2943067253, 0.1272611022, -0.3163129389, 0.1180646792, -0.2753139734, 0.0028331589, -0.277477175, 0.0844410732, 0.838409245, -0.340361774, 0.592689395, 0.0906736255, -0.2322448492, 0.6353974938, 0.2083741874, 0.5503211021, -0.0695169792, -0.2905034721, 0.2650561929, 0.4855731726, -0.4848405719, -0.8924535513, 0.4197581708, -0.5191244483, -0.7571895719, -0.3465021551, -0.3200802505, -0.2671340108, 0.1100250483, 0.436568141, 0.5709336996, -0.2167595625, 0.3094631135, 0.4111821353, 0.0843700394, 0.7621612549, 0.7676515579, 0.1131516397, -0.0449761599, 0.7525376081, 0.5076314807, 0.3568787873, 0.1927873939, 0.2327290773, -0.232570678, -0.5540849566, -0.8002628088, 0.2199681848, -0.8178156018, -0.5163588524, -0.8565058708, -0.3404359818, -0.4633419812, -0.3838202953, -0.5056298375, -0.866060853, -0.4190529287, -0.1106186137, 0.2104123533, 0.6648290157, -0.120097667, 0.3204607368, -1.2429354191, 0.2570406795, 0.2182743251, -0.1648195833, -0.007134777, -0.8378999829, -0.0842074752, -0.1465813965, -0.3769466579, -0.9670699239, 0.2710479796, 0.4719962478, 0.5266510248, 0.3164657652, 0.3104195595, 0.8391929865, -0.4262752831, 1.0894087553, 0.1282960773, -0.8827946186, 0.4120841622, -0.0410207175, 0.0967378989, 0.4191813767, 0.4031785727, -0.3311213851, -0.279753089, -0.8417112231, -0.5736026764, 0.7570393085, 0.2071323097, -0.0000745142, -0.0818265378, 0.7824646831, 0.3010621369, -0.1545931697, -0.5219559073, 0.1197635233, 0.2519008517, -0.118735984, 0.3039734662, -0.1587869674, -0.2652102411, 0.1311077178, 0.3992122114, -0.4479388893, 0.2665721774, 0.4431732595, -0.0876168907, -0.3155488074, 0.4498129785, 0.3559571207, 0.4658424854, -0.0270977076, 0.1216545105, 0.3976739347, -0.1046214402, 0.2487552017, -0.0834161267, -0.3771176636, -0.0367460363, 0.7115587592, 0.6647277474, -0.0874734893, -0.3073116839, 0.7195504308, -0.2345398664, -0.3405025005, 0.0579590052, 0.00927471, -0.1969053447, 0.4461241364, 0.1741382629, -0.2779824138, 0.124175109, -0.7559705973, 0.2039405107, 0.5366277099, -0.5836174488, -0.4645460248, 0.5872581005, 0.0570363998, -0.053929776, 0.3777016997, 0.0713473856, -0.0058307024, 0.4544025064, 0.6173265576, 0.9392746687, 0.4339783192, 0.3707627952, 0.0857333019, 0.1540255845, 0.2275552452, 0.1585582346, 0.0181521587, -0.8715043068, -0.5828434229, -0.4825135767, -0.4746957123, 0.0912144631, -0.691924572, 0.1149041578, -0.1853898615, -0.1531645805, 0.4141614139, 0.1484858096, -0.7296295762, -0.0332157761, 0.2707946897, 1.0690290928, -0.858964622, 0.9794859886, 0.6876155138, -0.7405275702, -0.8162708879, 0.1497379541, 0.0355183557, -0.2849876583, 0.4965790808, -0.3975192904, -0.1529479772, 0.028408695, -0.5103129745, -0.6727933288, 0.962143302, 0.5593072772, -0.3164365888, -0.1036215201, 0.1589773148, 0.4957873225, -0.6837527752, 0.2044031918, 0.6770846844, 0.3966660798, 0.2689912021, -0.7586439848, 0.1589075625, 0.1927123815, -0.1450618804, -0.1211012676, -0.5968723297, 0.6998851895, -0.1281613261, -0.3833179176, 0.2452510446, 0.7010873556, 0.0037752707, 0.3917933702, 0.1867197603, 0.4631509781, 0.4451118112, 0.0220891442, 1.3649412394, 0.1601202637, 0.2635059655, 1.056935668, -0.8025943637, 1.1289275885, 0.5804151893, 0.0395545289, 0.4501243532, 0.4056280255, 0.152260974, 0.4744236767, -0.245304063, -0.0238694306, -0.5190537572, -0.1506555378, -0.0695291609, 0.6449497938, 0.1868255436, -0.0016183032, -0.5705054998, -0.0209130999, 0.1609936357, -0.219549939, -0.1227084324, 1.1137535572, 0.3744935095, -0.4865883291, 0.206364125, -0.0401257351, 0.4020112455, -0.4991078973, -0.2361370027, -0.3275836408, 0.1026325822, -0.0949360579, -0.8270666003, 0.532271564, 0.229696095, -0.1308948696, -0.1194904968, 1.2038025856, -0.2456357628, -0.2305864692, 0.4539654553, 0.9459512234, 0.2190552205, -0.0377826095, -0.4754672647, -0.4111922681, -0.0937346369, -0.3237798214, 0.6375144124, 0.7942609191, -0.2184336036, 0.2746680379, 0.5543704033, 0.4266535938, 0.2283638418, -0.266495645, 0.7063981295, -0.6417885423, -0.1067230701, -1.0054899454, 0.4255054593, -0.2139796913, -0.2956819832, 0.8916873932, 0.1770592481, 0.6615483165, -0.0566992946, 0.833545804, -0.0125542488, 0.4367911816, -0.4504226744, 0.5196668506, -0.7022466063, 0.068886295, -0.1215140149, -0.8285170794, -0.4185674787, 0.4891210794, -0.2897305787, -0.2363636196, 0.7203370333, 0.486700803, -0.0513078086, 0.0492974408, 0.8316178322, 0.0425184816, 0.6586104631, 0.5718753934, 0.8243350983, -0.7296204567, 0.7560817003, -0.0306749847, -0.1805358976, -0.2581721246, -1.2911707163, -0.8352054358, -0.1057231426, -0.665725708, -0.2491489649, 0.0637608618, 0.7591428757, 0.9281433225, -0.950815022, 0.0309062116, 0.3325412571, -0.0946154445, -0.0855359286, -0.1576805264, 0.366622746, -0.2050495446, -0.6253163218, 0.4982169569, 0.6090807915, -0.0815877244, 0.1490340978, 0.3851768076, -0.3632982075, 0.9145266414, 0.8872437477, 0.6023210287, -0.6290842891, -0.8845019937, -0.150861606, -0.0828433037, 0.1280128062, 0.9222900271, -0.6089963913, 0.2748118341, 0.6490910053, 0.6891074777, 0.593695879, 0.0805658475, 0.6651474833, -0.7455178499, 0.1125498712, 0.0930651352, 0.375295788, 0.0740106404, -0.2974050045, 0.6735371947, 0.2772650719, -0.422858566, -0.7376824617, 0.0866854042, -1.0261797905, -0.4638707638, 1.2367925644, -0.4493554533, -0.2906155288, -0.254704237, -0.1933432221, 0.1921349913, -0.0382813998, 0.58477211, 0.9453408718, -0.5832136273, -0.4110047221, -0.6154161692, 0.4715197384, 0.4481421113, -1.0886297226, -0.0399786122, 0.2941102087, 0.425796181, 0.2877664864, 0.6661912203, -0.2446154356, 0.2447343767, 0.2332444191, -0.0179662332, 0.0855509564, -0.3138258159, -0.5356151462, 0.6445350051, 0.0737991706, -0.1081920639 ]
http://arxiv.org/abs/2404.08559v1
http://arxiv.org/pdf/2404.08559v1
MoPE: Mixture of Prefix Experts for Zero-Shot Dialogue State Tracking
2024-04-12T15:57:41
2024-04-12T15:57:41
Tianwen Tang, Tong Zhu, Haodong Liu, Yin Bai, Jia Cheng, Wenliang Chen
cs.CL
cs.CL
Zero-shot dialogue state tracking (DST) transfers knowledge to unseen domains, reducing the cost of annotating new datasets. Previous zero-shot DST models mainly suffer from domain transferring and partial prediction problems. To address these challenges, we propose Mixture of Prefix Experts (MoPE) to establish connections between similar slots in different domains, which strengthens the model transfer performance in unseen domains. Empirical results demonstrate that MoPE-DST achieves the joint goal accuracy of 57.13% on MultiWOZ2.1 and 55.40% on SGD.
[ -0.5036216974, -0.6484971046, 0.8239114285, -0.1684383005, -0.281301707, 0.5110257864, 0.1915826946, -0.4183417261, 0.4407812059, 0.4962846041, -0.852062881, -0.224589318, -0.7283527851, -0.4313042462, -0.156350866, 0.8137988448, 0.1957730502, -0.1079504266, -0.0705174804, -0.0278583858, -0.700074017, -0.6014249325, -0.3895705938, -0.2863160372, 0.0322147347, 0.2265489995, 0.404091537, 0.1588076055, 0.1841392815, 0.1590535194, 0.0515565053, 0.3201654255, -0.3882163465, 0.1978868544, -0.4218150973, -0.4143248498, -0.8915036321, -0.0626696944, 0.150064081, 0.5112333298, -0.268858552, -0.089970164, -0.2660989463, 0.3145018518, -0.7391673923, -0.0497965962, -0.7191839218, 0.0036267326, -0.1267374456, -0.5483695269, -0.1462692618, 0.0506126396, 0.2637831271, -0.5725300908, 0.3811802268, -0.1925872713, 0.5448773503, 0.3638609946, -0.90268296, 0.2114479542, -0.7821173668, 0.8121525049, -0.8193417192, 0.1657223552, 0.3335139453, 0.2298686355, -0.3090953529, -0.3469528556, -0.7575581074, 0.1111417264, 0.3673652411, 0.3559408188, -0.0446924008, 0.1733312309, 0.2782610953, 0.4108854234, -0.1344814599, -0.1333034784, -0.4211367071, -0.296248883, 0.7668921351, 0.2819474638, 0.2729026377, 0.0751493201, -0.7550438643, 0.2180296034, -0.4659152925, -0.1105921268, 0.1389163882, 0.3142648339, 0.0422209054, 0.4545997381, -0.4475754201, 0.9033797383, 0.2545092106, -0.4642830491, 0.0878245682, -0.4993014634, -0.2498995066, -0.099876985, 0.6219261289, 0.520796597, -0.0339445844, -0.1118261442, -0.2438476384, 0.0057678097, 0.0983640775, -0.6717162132, -0.2555882931, 0.0883527994, 0.1318516731, -0.0844711587, -0.0191457029, -0.7047104239, -0.3482157588, -0.4570764303, 0.7210250497, -0.7837606668, -0.613940239, 0.3239907026, -0.4034963846, 0.0756440908, 0.8076206446, -0.9149804115, 0.4567238986, 0.6509974599, 1.0145708323, -0.4329710305, -0.0377419293, -0.43024382, 0.3463117778, -0.1650999337, 1.1229627132, -0.4248075485, -0.6973531842, -0.3498722613, -0.2636214197, -0.6206763983, -0.0297923032, 0.3488070667, -0.2263345867, 0.2927599549, -0.0508140735, -0.9674162269, -0.3109028935, 0.3994054198, -0.1204851344, 1.09202075, 0.2151207179, -0.1530314237, 0.298854202, -0.7261045575, -0.3117373288, 0.3322032392, -0.2136375159, 0.2884408832, 0.2560567856, 0.183220312, 0.3912048638, -0.0894717053, 0.1410465986, -0.1996086836, -0.2440048903, 0.071999453, -0.5117155313, 0.6581454873, -0.0467212349, -0.2350719422, -0.1937380284, -0.9418757558, 0.2269395292, -0.2537078559, 0.1086215302, -0.5905354619, -0.3050727546, -0.2517275214, 0.4451904297, -0.0270425901, -0.6060174108, 0.5175103545, 0.0091869729, 0.2345767021, 0.7557592988, 0.4764253199, 0.3568322957, -0.3144497573, 0.8797408938, 0.1633345783, -0.0942260623, -0.3233170807, -0.8760026097, -0.7456896305, -0.3815340698, 0.3038325012, 0.56197083, -1.024541378, 0.4814318717, -0.1030180827, -0.6757293344, -0.3900276721, -0.1682845652, 0.3478249013, 0.6832711101, 0.4029757977, -0.5817204714, 0.032383278, -0.7666199207, 0.01868462, -0.072844401, -0.083571054, 0.2169707566, 0.4558880329, 0.2279290408, 0.9975836277, -0.8166239858, -0.4258070886, -0.0322269537, 0.3342073858, -0.0481523946, 0.5028881431, 0.7822452784, -0.6672250628, -0.8431301117, -0.094033815, -0.2895492613, -0.0408973396, -0.0979845971, -0.0794584006, 0.0187649075, 0.0632135347, -0.7736396194, 0.5686687827, 0.6587439179, -0.4351069927, 0.5367068648, 0.1722027361, 0.542514503, -1.3793722391, -0.1455433071, 0.0348653942, -0.4765329063, -0.961574018, -0.2186885029, -0.0896310955, -0.2447864413, -0.7014926672, 0.6185203791, -0.4577938616, 0.0174404252, -0.2767793536, 0.2282418013, -0.0423798636, 0.9118087292, 0.0664772168, 1.2195738554, 0.7949165106, -0.692438066, 0.4461148977, 0.4115529954, -0.3414519131, 1.0468991995, -0.3762615621, 0.4607385993, 0.5102984309, 0.1768607795, -0.9642254114, -0.0252122283, 0.1217996255, -0.6206757426, 0.1906262338, -0.6176911592, -0.0568384565, 0.0251492634, -0.0889817923, 0.3463453352, 0.5935513973, 0.1155896112, 0.5473065972, 0.5016463399, -0.1856158972, -0.4772037566, -0.4307773113, 0.1438695341, 0.1299054325, -0.609913528, 0.514714241, -0.0342277065, 0.0720151365, 0.0612899847, -0.658405602, -0.4432953894, -0.0038827583, 0.2113883048, 0.3761356473, -0.3274869323, -0.1008716822, -0.1430284828, -0.3505459726, -0.261564225, -0.2891893089, 0.6864833832, 0.2050049901, -0.7094605565, -0.6803100109, 0.5247836709, 0.7985802889, -0.0053817448, 0.7080458403, 0.23720406, -0.163808763, -0.304276526, -0.6132793427, -0.0879735202, -0.4303884506, 0.0762899593, -0.7460256815, -0.6787020564, 0.3602939546, -0.2002274394, 0.0254419763, 0.5416851044, 0.2364873737, -0.0820443705, 0.9376031756, 1.0428427458, 0.0498761982, 0.5062596202, -0.1471018791, 0.2351574153, -0.995608449, -0.206000343, -0.2371571064, -0.2382298559, 0.0580746979, -0.6722639799, 0.4275971055, 0.257683754, 0.1149861664, 0.6847333908, -0.2848901451, 0.540099442, 0.8792081475, 0.0782661662, 0.5167084932, -0.0271481685, 0.1015957817, -0.1089667454, -0.5931825042, -0.0474522635, 0.843878746, -0.1462374777, 0.6706987023, 0.134777531, 0.4732986689, 0.6172673702, -0.3889347613, -1.0313751698, 0.8136822581, 0.0020890334, -0.6580935121, -0.2046934366, -0.1748488098, -0.3049263954, 0.2790771723, -0.2351337224, -1.008072257, 0.369651109, -0.0088234264, -0.6546878815, 0.5303974152, -0.5520891547, 0.4296291471, 0.0109527372, -0.0245485902, -0.4124590456, -0.5132790208, 0.4448141456, -0.2535050511, -0.445299983, -0.6695399284, -0.0441593751, 0.6370081902, -0.4893528521, 0.7841626406, -0.2336871624, -0.1314006895, 0.2792375386, 0.3438836336, 0.3834157288, -0.3039321601, -0.0580295995, 0.3722265959, 0.1475572139, -0.6032684445, -0.8091154099, 0.3371636569, -0.5565716624, -0.8368574977, -0.5300331116, -0.5957639217, -0.7197042704, 0.1808880717, 0.2193704247, 0.5958198905, -0.0964215547, 0.133677125, 0.6536937356, 0.1781347394, 0.1999027282, 1.0205593109, 0.1820402592, -0.3042502999, 0.7246634364, 0.1477311552, 0.8245978355, 0.2753756344, -0.2687572539, -0.1071892083, -0.4514038563, -0.5875949264, -0.0445809439, -0.442710042, -0.5087280869, -0.645167768, -0.6499432325, -0.5459174514, -0.2380180061, -0.5982025862, -0.877214551, 0.0501477346, -0.1176600978, 0.4859613478, 0.384582907, -0.0195259862, 0.5115826726, -0.9286450744, 0.4950994253, 0.4557041526, 0.1882236004, -0.4095957577, -0.7441478372, 0.0010726684, 0.3944383264, -0.391489625, -0.8993317485, 0.2380832136, 0.2701839507, 0.5877495408, 0.3391253352, 0.1850030422, 1.199794054, -0.2799526155, 1.1459696293, 0.6322937608, -1.2360357046, 0.712528348, -0.6218730211, 0.1817357093, 0.435900718, 0.2916144729, -0.7081544995, -0.378726691, -0.7876605988, -0.419923991, 1.0902885199, 0.2223632485, 0.0555894971, 0.2714007199, 0.0222161673, 0.2957173884, 0.3476127386, -0.1012075618, -0.2755980194, 0.1773984134, 0.1980983466, 0.2398692966, -0.2209816873, -0.3982987702, -0.1470959187, 0.8717114925, -0.2644500732, 0.3975510597, 0.1999470592, -0.0092391865, -0.166894719, 0.2940964103, 0.8960626125, 0.8358520865, -0.3129953742, -0.1479220837, 0.1587386578, -0.4920104742, 0.4276614785, -0.2384142131, -0.345659852, 0.0376392901, 0.2439139634, 1.0396273136, 0.087983042, -0.395195961, 0.7616642118, 0.2116835266, -0.5307604671, -0.0876730159, 0.5206656456, -0.3069716394, 0.1838070005, 0.5045357347, 0.7696493268, 0.104382433, -0.5777148008, 0.3197966814, 0.3272463381, -0.5465749502, -0.659137249, 0.5264573693, 0.6364170909, -0.4231086075, 0.4627584219, -0.1046360359, -0.6421861053, 0.670969367, 0.5778104663, 0.9020590782, -0.3897797167, 0.4565913677, 0.0624219626, -0.0867012665, -0.2333965003, 0.1586472392, -0.1832695603, -0.9879111648, -0.6174501777, -0.260607034, -0.8493569493, 0.1558542997, -0.7923621535, 0.4809603989, -0.201797694, -0.2686630487, -0.017783992, 0.0514214598, -0.4898602962, 0.0769377425, 0.2592844665, 0.9705069065, -0.9197745323, 1.1301956177, 0.6226186156, -0.3254523873, -0.6217707992, 0.0590192676, 0.3264278471, -1.0677319765, 0.3554593623, -0.1635163724, -0.4289592206, 0.1601013988, -0.3072322309, -0.8237625957, 1.0574775934, 0.3345413804, -0.5155684352, 0.1097354516, -0.1586460322, 0.4055809081, -0.2054885775, 0.271643728, 0.5411789417, 0.1533932686, 0.5388523936, -1.2579621077, -0.1785483509, -0.1873542219, -0.4327732027, 0.5506165624, -0.9252793193, 0.8212824464, -0.0438508615, -0.3676792085, -0.0145352436, 0.396551609, 0.033307381, 0.4182367921, 0.6343836784, 0.5384990573, 0.7172092199, -0.0072323424, 0.5898318887, -0.3874313533, 0.2487931848, 1.2668204308, -0.5256418586, 0.6447133422, 0.3727254868, -0.3242044747, 0.4404085875, 0.3904014528, -0.1115787774, 0.7542892098, -0.4836868644, -0.6750642061, -0.3872647583, -0.2460103333, -0.4878405035, 0.3549311161, 0.4719651341, 0.2375004292, -0.1853867322, -0.1086447015, -0.1146521941, -0.2336512655, -0.1367717087, 0.90368402, 0.0701892525, -0.7710029483, 0.2360287756, -0.2485029548, 0.6760994792, -0.8739638925, -0.1183058098, -0.4138815403, 0.0627649426, -0.0849482566, -0.7621765733, 0.1275186092, -0.1749043018, -0.102088213, -0.2668714523, 0.8742297292, -0.6064150333, -0.2621183395, 0.0854707211, 0.9176567197, 0.2249534428, -0.2487758249, -0.657233417, -0.6529399753, 0.2936321795, -0.143912062, 0.4452162683, 0.5024591088, 0.0012191659, 0.742133975, 0.6807788014, 0.3526854217, 0.1894797385, -0.1664892435, 0.8553675413, -0.8431292176, -0.5411508679, -0.685248673, 0.5302510262, -0.2832001746, -0.5169948936, 0.7902660966, 0.3324395716, 0.5771192312, -0.0611104816, 0.8645004034, -0.4088803828, 0.5791009665, -0.5317150354, 0.3606112301, -0.5033505559, 0.0390795879, -0.0702755973, -1.1034930944, 0.1350849271, 0.146744892, -0.0279415809, -0.2936964035, 0.7138023973, 0.7293463349, -0.4262364805, 0.0974414274, 0.7887026668, -0.0863758102, 0.344878763, 0.6845796704, 0.8830692768, -0.5540286303, 0.3068037033, -0.4560132325, -0.1509970576, -0.147789821, -0.7530745864, -0.8761945367, -0.627471149, -0.687174201, 0.1318038255, -0.0711579621, 0.866055429, 1.1731544733, -0.8002053499, 0.0370073617, 0.1140447855, -0.2064153999, -0.351665467, -0.308786124, 0.193491146, -0.2277938724, -0.9134563804, 0.843876183, 0.5653409958, 0.1757662445, -0.1625145823, 0.1877700984, -0.2181456387, 0.2766600549, 0.4847141802, 0.3042839468, -0.6446059942, -0.2099498361, -0.1269153655, -0.0429135896, 0.0104517033, 1.0511699915, -0.7598247528, 0.4100438356, 0.5797148943, 0.5203647017, 0.5770552754, 0.4009770751, 1.0731465816, -0.8999313712, 0.4107889235, 0.2626327276, 0.3383975327, 0.0322746299, -0.3739369214, 0.9466257691, 0.7215865254, -0.4122825563, -0.7396977544, 0.2141838074, -1.2688038349, -0.1413352042, 1.1007615328, -0.2909084857, 0.2015485913, -0.3487367928, -0.2418419868, -0.0617923178, -0.7292878032, 0.5284678936, 0.8035433292, -0.4064975977, -0.1967657506, -0.814399302, 0.4577445686, 0.4428026974, -0.6669822335, -0.329025805, 0.4218844473, 0.3560673296, 0.2437366694, 1.0913099051, 0.2094587833, 0.0699939281, 0.2577956617, 0.0831937343, -0.2421409339, -0.2482727915, -0.0294849239, 0.009042603, -0.5123569965, -0.5075384378 ]
http://arxiv.org/abs/2404.08555v2
http://arxiv.org/pdf/2404.08555v2
RLHF Deciphered: A Critical Analysis of Reinforcement Learning from Human Feedback for LLMs
2024-04-12T15:54:15
2024-04-16T00:22:16
Shreyas Chaudhari, Pranjal Aggarwal, Vishvak Murahari, Tanmay Rajpurohit, Ashwin Kalyan, Karthik Narasimhan, Ameet Deshpande, Bruno Castro da Silva
cs.LG
cs.LG, cs.AI, cs.CL
State-of-the-art large language models (LLMs) have become indispensable tools for various tasks. However, training LLMs to serve as effective assistants for humans requires careful consideration. A promising approach is reinforcement learning from human feedback (RLHF), which leverages human feedback to update the model in accordance with human preferences and mitigate issues like toxicity and hallucinations. Yet, an understanding of RLHF for LLMs is largely entangled with initial design choices that popularized the method and current research focuses on augmenting those choices rather than fundamentally improving the framework. In this paper, we analyze RLHF through the lens of reinforcement learning principles to develop an understanding of its fundamentals, dedicating substantial focus to the core component of RLHF -- the reward model. Our study investigates modeling choices, caveats of function approximation, and their implications on RLHF training algorithms, highlighting the underlying assumptions made about the expressivity of reward. Our analysis improves the understanding of the role of reward models and methods for their training, concurrently revealing limitations of the current methodology. We characterize these limitations, including incorrect generalization, model misspecification, and the sparsity of feedback, along with their impact on the performance of a language model. The discussion and analysis are substantiated by a categorical review of current literature, serving as a reference for researchers and practitioners to understand the challenges of RLHF and build upon existing efforts.
[ -0.2711676657, -0.714546144, 0.5241858959, 0.0888578296, -0.1247302666, 0.2068469375, -0.2842206955, -0.7277628183, -0.0653814152, 0.7730336785, -0.8369380832, -0.2374446541, -0.6589260101, 0.1438443214, -0.0149132423, 0.8978864551, -0.0779525191, 0.1325480491, -0.2035324126, -0.1339218765, -0.4039792717, -0.776596725, -0.5904186964, -0.7752543688, 0.7730981112, 0.4985894263, 0.5317887068, 0.6480602026, 0.4080673158, 0.2174078077, -0.2020353824, 0.0698678419, -0.7567175031, 0.1920048594, 0.1561904401, -0.474263519, -0.0562621653, -0.0026829366, 0.564229846, 0.7594797015, -0.4669176638, -0.0021065422, 0.084580794, 0.9033260345, -0.6100438833, 0.3776811361, -0.2223765701, 0.4299987853, 0.1290654391, -0.2406068444, -0.7102565765, -0.2417185754, 0.267668277, -0.6011273861, 0.0086756591, -0.0078073544, 0.5293322802, 0.3786747456, -0.258712858, -0.3229884803, -0.8130833507, 0.7763685584, -0.5996271372, 0.389511168, 0.4861846864, 0.3751267791, -0.3825863004, -0.3685521483, -0.1958561987, -0.8507652283, -0.1613670439, -0.0715460554, 0.3634694815, 0.3978118896, 0.3222591877, 0.3026141524, -0.2575282753, 0.2342390865, -0.3143425286, -0.144287914, 0.5234795213, 0.1834302247, 0.19317846, -0.071174033, -0.476754576, -0.3813013136, -0.8169437051, 0.482065469, 0.4228850007, 0.2189546973, -0.0434592143, 0.3230210245, -0.1102134734, 0.5418961048, -0.1436049789, -0.2393196374, 0.0199000649, 0.1183175668, -0.0183434431, -0.1199876294, 0.5463247895, 0.2190174013, 0.2944267392, -0.3804329038, -0.475331068, -0.1105383784, 0.4572950006, -0.7651362419, -0.0761616901, 0.0851257071, -0.6859399676, -0.5408371687, 0.1022633091, -0.4463520348, -0.6784902215, -0.260907203, 0.1242545396, -0.1592072248, -0.4715867341, 0.0877598301, -0.0880930349, 0.1915944368, 0.296867013, -1.0701365471, 0.486142844, 0.873808682, 0.4027661085, -0.3376019001, -0.5752597451, -0.5809213519, -0.2152857631, -0.2663474977, 0.7413547635, -0.5599281788, -0.6326410174, 0.1773539782, -0.0075577246, -0.0760767907, -0.7167879939, 0.5391284227, -0.688008368, -0.0684700385, -0.3524533212, -0.4771819115, -0.3040103912, 0.2977388203, -0.7884072065, 0.7309166789, 0.1036479473, -0.6784512997, 0.1851729006, -0.4957863688, -0.309158951, -0.0457166545, -0.2430824786, -0.2966962457, 0.2062210292, -0.0352394506, 0.203892976, -0.2029017061, 0.2523521781, -0.3769244254, -0.5447422862, 0.7154998779, -0.4062470496, 0.4062506557, 0.0947647467, -0.2774120867, 0.4873260558, -0.5312352777, -0.0974014774, 0.1912870854, -0.6497152448, -0.0029365597, 0.1547346711, 0.1323728412, 0.0537208542, 0.0121156378, -0.3484508097, -0.0285465475, -0.5659447908, 0.5466006398, 0.8578844666, 0.1182435006, 0.4419832528, -0.348528415, 0.8577904701, -0.330045253, 0.3511402309, -0.1007514969, 0.0503320396, -0.4814143181, -0.1181700528, 0.4097150266, 0.4098156691, -0.4462991357, 0.1210038289, 0.0553758778, -0.117621921, -0.510193646, 0.1541943103, 0.5790905356, 0.2431288809, 0.2215991467, -0.3217287362, -0.5228298903, -0.8964582682, -0.2568082511, -0.3406967521, 0.233499378, 0.2318946123, 0.4769606292, -0.2012687474, 0.7005311251, -0.2833099961, -0.1383385807, -0.5243495703, 0.1462941319, -0.0454252101, 0.2668879628, 0.0141703896, -0.4736928642, -0.0571279712, -0.1293736845, -0.5404770374, 0.1339461952, -0.1262088269, 0.0812350512, 0.1267017126, 0.5417304635, -0.3730344176, 0.3764808476, 0.3350262642, -0.228819117, 0.7640359402, -0.3265165091, -0.1374504715, -0.2659642398, -0.0133903651, -0.248648718, -0.3120151758, -0.425653547, 0.2982479334, -0.0785591155, 0.0775611624, -0.3106104434, 0.5518274307, -0.3527953625, -0.0946388617, -0.7299809456, -0.0133281508, -0.3813411593, 0.8455829024, 0.3411113024, 0.5256579518, 0.0050211973, -0.5579344034, 0.3291554749, 0.0419441126, -0.2432073653, 0.2403301597, -0.722738564, 0.0784637183, -0.0037195592, 0.3098578751, -0.6696618795, -0.1223523915, 0.4673214853, -0.5055934787, 0.2138020992, -0.0288220495, -0.3840578198, -0.1249685138, -0.3491638303, 0.3433032036, 0.3983668387, -0.5598827004, 0.4568427205, 0.669451654, 0.1185146347, -0.7587109208, -0.2924893796, -0.0935624242, -0.160782069, -0.2315073609, 0.2614944577, -0.0390388183, -0.2382431477, -0.158096239, -0.1812572777, 0.1113728285, 0.5005835295, 0.4079499245, 0.2621950507, 0.2834571898, 0.0904087424, -0.4128122628, -0.3572562039, 0.5542007089, 0.0827870741, 0.3474840522, -0.2081230879, -0.3946092427, -0.1967060864, 0.0697533488, 0.4689491987, -0.1431405097, 0.4144476354, 0.5169814229, -0.157900244, -0.454525888, -0.2463512123, -0.6221464276, -0.4139672518, 0.5530973673, -0.1451285183, -0.9392707348, 0.3644544184, -0.1464367509, 0.1230896711, 0.0203862302, 0.4716781676, -0.0492700525, 0.9407036901, 0.7649167776, -0.1010932475, 0.5470796227, -0.1140986234, -0.06888327, -0.8097586036, -0.4531559944, -0.2728388309, -0.2189804018, -0.5485659242, -0.2450131774, 0.109848462, -0.0668310896, -0.1907632053, -0.101275228, -0.2654066086, 0.4761347473, 0.5586724877, 0.2819088101, 0.3210989833, -0.0647003353, -0.1508465409, -0.0988047943, -0.7333790064, -0.2938852906, 0.9368492365, 0.8655113578, 1.0181405544, -0.0105660995, 0.737025857, 0.4432943761, 0.2883668244, -1.0582079887, 0.3864400089, 0.3446291089, -0.246831879, -0.4801367521, -0.3672054112, -1.0097817183, 0.536482811, -0.2075790912, -0.4242582023, -0.0706432089, 0.1605820656, -0.2939106226, 0.0805772245, -0.4824342728, 0.8787904978, -0.3962233961, -0.3571437895, -0.5691393018, -0.7840569019, 0.534963131, 0.427538693, 0.3576071858, 0.0274470728, 0.2229888886, 1.0146577358, -0.4021819234, 1.0751473904, -0.2764428258, -0.3402690887, 0.1226586178, 0.132701382, 0.5340029001, 0.068827875, 0.3896916807, -0.2816683352, 0.2151681185, -0.3229091465, -0.6349931359, 0.3964997828, -0.8770416975, -0.5809522271, -0.4873363078, -0.4438303113, -0.4973464012, -0.164493382, -0.1029701605, 0.336252749, -0.3669849336, 0.0403652787, 0.9554949999, -0.1924432665, 0.1744835973, 0.4196450114, -0.5361315012, -0.4991470277, 0.8930422664, -0.3752737045, 0.304315865, 0.4505667984, 0.1446561813, -0.520891428, -0.4755939841, -0.2677328289, 0.5631079674, -1.0021928549, 0.2988078296, -0.1807789356, -0.0983879119, 0.0729550794, 0.1953285486, -0.3237537146, -0.1572052687, -0.3438927233, -0.204145357, 0.0532235019, 1.1487524509, -0.0178565998, 0.0420180596, -0.7314051986, 0.2230486274, 0.4450575411, 0.4052156806, 0.4083974063, -0.5755959153, -0.4248771071, -0.076767303, -0.0712334961, -0.9383663535, 0.1235343665, -0.2622351944, 0.7736179233, 0.2450782061, 0.121083118, 0.3958550692, -0.2391913235, 0.5629470944, 0.216083616, -0.7007656097, 0.1948571652, -0.0553819835, 0.1171369031, 0.5515193343, -0.0251622144, -0.8588959575, -0.1875931174, -0.6474083066, -0.6443416476, 0.7330778837, -0.2775216401, -0.1336279958, 0.2163237333, 0.3631877005, 0.250761807, 0.14512375, -0.9534755945, -0.1544824094, -0.0106082596, -0.0034127063, 0.1192178056, -0.4561874866, -0.3392979503, -0.1164116338, 0.5082909465, -0.1297925264, 0.2816838026, 0.0727288797, -0.4250983894, -0.2588225305, 0.3688673675, 0.8064528108, 0.6543908715, -0.316953361, 0.1975168139, 0.0808007121, -0.3715453744, 0.1884921938, -0.1469666213, 0.0707730055, -0.2933523953, 0.6835602522, 1.0605179071, 0.4543176889, -1.1642023325, 0.3733761609, -0.2141262591, -0.3360477388, -0.3142662048, 0.1989126951, 0.0361020826, 0.2954870164, 0.3141290247, -0.1050188318, -0.0303253178, -0.5062335134, 0.1466782838, 0.501294136, -0.8036237359, -0.3343214989, 0.2701784968, 0.3127010465, -0.3688727021, 0.5061939359, -0.0553823076, -0.7665552497, 0.5516968966, 0.2995386124, 0.9485651255, 0.0737229288, 0.5143216252, 0.1639664322, 0.3239358068, -0.2386996001, -0.0239893459, -0.3884198368, -0.6248313189, -0.5746532083, -0.5056259632, -0.7876331806, 0.1702505946, -0.8019432425, -0.1847384274, -0.5585301518, 0.0160905812, -0.4763504565, 0.0181404743, -0.2775055468, -0.0411252305, 0.2491512895, 0.6988167763, -0.6059200168, 0.6666126847, 0.5200557113, -0.4711159468, -0.8377874494, -0.0026094401, -0.1901979893, -0.9949411154, 0.8976703286, 0.0044445647, -0.357657969, -0.2102725357, -0.4224219024, -0.5338846445, 0.8959211707, 0.1798705757, -0.4298493266, -0.1704975367, 0.0885768458, 0.4909410477, -0.4072232246, 0.3467846811, 0.8777894974, 0.4495360255, 0.1034485698, -0.8848923445, 0.2089966983, -0.0476294309, 0.1366966516, -0.0372322276, -0.3528460264, 0.4638165534, -0.4885986745, -0.2463755757, -0.0683655813, 0.5942155123, 0.5393508673, -0.0805334821, 0.6215264797, 0.3149378598, 0.6949301958, 0.2064939588, 0.9903738499, -0.0420218967, 0.4892196655, 0.9361412525, -0.1046700254, 0.9490681887, 0.6498400569, -0.414131999, 0.4832595289, 0.8819397688, 0.3029919267, 0.7120977044, 0.6710843444, -0.0592316613, -0.264451772, -0.0369008482, -0.3833985329, 0.0414202698, 0.315181613, -0.2647821903, -0.2589646578, 0.0852990299, -0.1454089135, 0.1178586781, -0.2534070909, 0.8710575104, 0.1509134918, -0.863247931, 0.8526269197, 0.0266502202, 0.6066611409, -0.4106600285, -0.2758271098, -0.1323650926, 0.2228373736, -0.0688061863, -0.5934396982, 0.0289681293, -0.3066730797, -0.0877126083, -0.3429596126, 0.6399108171, -0.3591326177, 0.051139798, 0.4784504175, 0.3824310303, -0.0500675887, -0.0246712621, -0.8447074294, 0.3586034477, 0.1635801941, -0.2256546915, 0.4873804748, -0.016480051, 0.2307567745, 0.8475430608, 0.4778096378, 0.2248131484, -0.2034376264, 0.0501525402, 0.6070683599, -0.8954613805, -0.5806329846, -0.8149266243, 0.2187430114, 0.250875473, -0.1825767756, 0.2411158234, 0.0704873726, 0.7850450873, -0.2753371596, 0.8162166476, 0.4738486409, 0.5091258287, -0.7651191354, 0.508592248, -0.2984122634, 0.4862971306, 0.1617771089, -0.5355958939, -0.1373775154, 0.7016515732, -0.3843308687, 0.0368968844, 0.8770759106, 0.7342302799, 0.3605264723, 0.1602288038, 0.3024532199, 0.0429975875, 0.3359014094, 0.5869506598, 1.3496258259, -0.0166750699, 0.6133434176, -0.2336700857, -0.143448934, -0.483340919, -0.5817392468, -0.9503401518, -0.4917155802, -0.1028578356, -0.4208008647, 0.0781213418, 1.1298692226, 0.6518159509, -0.6318472624, -0.6644302607, -0.298697561, 0.6114934087, -0.359010607, -0.2111215293, 0.2517522573, -0.461199671, -0.3840406835, 0.390755862, 0.1214504838, -0.0764978081, -0.7364974022, -0.7126723528, 0.1357240826, -0.1482095867, 0.4838241935, 0.6956778169, -1.0882300138, -0.1998031139, 0.0377513655, -0.1095411032, -0.0125525314, 1.0702747107, -0.8197917342, 0.2148106396, 0.386875689, 0.8908161521, 0.3910069466, -0.0454258546, 0.5561880469, -0.4733935297, 0.0071530659, 0.2542763948, 0.1342205554, 0.2854727209, -0.2696420848, 0.3698469996, 0.3628626764, -0.573556304, -1.056340456, 0.5683650374, -0.7836704254, -0.5668969154, 1.0762403011, 0.0629385859, -0.3971886337, -0.1280257851, -0.3904930353, -0.063638337, -0.4746167362, 0.9880696535, 0.7341837883, -0.2570596039, -0.5238122344, -0.5185223222, 0.8450988531, 0.5108720064, -0.6668990254, 0.4483994544, 0.4597369432, 0.2390766293, -0.1821704358, 0.7982373834, 0.0278752763, 0.5252135992, -0.2503885329, 0.1233438775, -0.1955944598, -0.2796937525, -0.5436835289, 0.2941742539, 0.8024147749, -0.0859884769 ]
http://arxiv.org/abs/2404.08538v1
http://arxiv.org/pdf/2404.08538v1
VertAttack: Taking advantage of Text Classifiers' horizontal vision
2024-04-12T15:32:17
2024-04-12T15:32:17
Jonathan Rusert
cs.CL
cs.CL, I.2.7
Text classification systems have continuously improved in performance over the years. However, nearly all current SOTA classifiers have a similar shortcoming, they process text in a horizontal manner. Vertically written words will not be recognized by a classifier. In contrast, humans are easily able to recognize and read words written both horizontally and vertically. Hence, a human adversary could write problematic words vertically and the meaning would still be preserved to other humans. We simulate such an attack, VertAttack. VertAttack identifies which words a classifier is reliant on and then rewrites those words vertically. We find that VertAttack is able to greatly drop the accuracy of 4 different transformer models on 5 datasets. For example, on the SST2 dataset, VertAttack is able to drop RoBERTa's accuracy from 94 to 13%. Furthermore, since VertAttack does not replace the word, meaning is easily preserved. We verify this via a human study and find that crowdworkers are able to correctly label 77% perturbed texts perturbed, compared to 81% of the original texts. We believe VertAttack offers a look into how humans might circumvent classifiers in the future and thus inspire a look into more robust algorithms.
[ -0.1123006195, -0.7806107402, 0.4390352964, -0.0134149743, -0.2159913033, 0.181460008, -0.1285626739, -0.781247139, 0.1843540519, 0.8543043733, -0.6052592397, -0.4809873402, -0.7154625058, 0.1818449497, -0.6135632992, 1.2243065834, -0.0539007448, -0.0717457384, -0.1072614491, 0.0016147682, -0.6122360826, -0.7124553919, -0.4261163473, -0.4140084982, 0.7009496689, 0.6229904294, 0.6160927415, 0.5556653738, 0.6706574559, 0.4110169113, -0.1161125451, -0.1962862015, -0.7926751375, 0.3044012785, 0.1100603938, -0.7309237719, -0.0153279183, 0.1128556058, 0.7455220819, 0.2593967021, -0.1608457863, 0.2195030153, 0.2642022073, 0.8839632273, -0.5525882244, -0.1317314208, -0.7158326507, 0.2911543548, -0.654173851, -0.1934018284, -0.4544487596, -0.4478898644, 0.2054803371, -0.481436491, 0.1454130262, -0.0053388593, 1.2301521301, 0.5132787228, -0.0979987532, -0.1272889525, -0.6389431357, 0.7311118245, 0.0845191255, 0.1995038986, 0.5103429556, 0.804731071, 0.0294965599, -1.0685843229, -0.5678341985, -0.1207875386, 0.0281308424, 0.4524469674, -0.3601468205, -0.276661098, 0.1964779347, 0.2143885791, -0.3687115312, 0.1275065839, -0.6925019622, -0.1882529259, 0.4016895294, 0.3328078687, 0.2419904172, -0.4049382806, -0.9634029865, -0.2816888988, -0.5292384624, 0.2098067105, 0.5242810249, -0.0615015589, 0.3694365323, 0.6476981044, 0.1202953905, 0.570941925, -0.1028616056, 0.0088377856, 0.1033839807, -0.1337225288, -0.5576670766, 0.1706853062, 0.4711710215, 0.3091824055, 0.0939957723, 0.0314044729, 0.0661522895, 0.1687083095, 0.8270904422, -0.4941150248, -0.2477030009, -0.1345794797, -0.4871142805, -0.6026493311, -0.0060012718, -0.8723956347, -0.9363466501, -0.3038530648, 0.6406408548, -0.3706371188, 0.1809239239, 0.215641126, -0.4090963006, 0.2147922516, 0.4654799402, -0.572874248, 0.1153254807, 0.7987185717, 0.7175550461, 0.0915653259, -0.5307365656, -0.3156448901, -0.0617379546, 0.0464687422, 0.9496098161, -0.4042170942, -0.4730326533, -0.0840482712, -0.0823079944, 0.1518499255, -0.2697171569, 0.6630288959, -0.2307804674, 0.4113080502, -0.3805724084, -0.3663398325, -0.1663392037, 0.3512220085, -0.5431225896, 0.9171789885, -0.0759458169, -1.2783002853, 0.5265750289, -0.2005717903, -0.3860256374, 0.2013424337, -0.1998740286, -0.7228529453, 0.1799355894, -0.2781665325, 0.2549461126, -0.1916629225, -0.2317833006, -0.1003542244, -0.1815168113, 0.1721269041, -0.4233244658, 1.1078971624, 0.0717062056, -0.3902173042, 0.0246977303, -0.4176895618, -0.0384804308, -0.013110593, -0.4762819707, -0.6686733961, 0.0447971486, 0.2812696397, -0.1889471859, 0.1739633381, -0.59409374, 0.1582216769, -0.1488818824, 0.1679210961, 0.9066005945, -0.4597128332, 0.2825517356, -0.3834147453, 0.5434904099, -0.5020747185, 0.2378953099, 0.2612643242, -0.6488021016, -0.6196994185, -0.6228730083, 0.2400114089, 0.7572456598, -0.7655480504, 0.12275628, -0.3073813319, -0.8236416578, -0.3385549188, 0.2066333741, 0.5338666439, 0.7067064643, 0.1665990651, -0.2691285312, -0.9311943054, -0.867480278, -0.6737371087, -0.284368664, -0.1995724291, -0.0256511867, 0.3819557726, -0.4181547761, 0.8167268038, -0.4968851507, -0.6928922534, -0.2653407156, 0.2188146859, -0.0316160396, 0.2158017009, 0.3388391733, -0.8243535757, -0.3398948312, 0.1062753275, -0.7939673662, -0.0406525172, -0.0228336267, -0.237465173, 0.3950266242, 0.5524286032, -0.1613674015, 0.8719888926, 0.5903202891, -0.4916569889, 0.5256409645, -0.523637414, -0.0719774663, -0.8694680333, -0.1174236536, 0.1459659338, -0.1762462407, -0.8336219788, -0.1619099826, 0.1990978271, 0.118021816, -0.2817200422, 0.1852205992, -0.2940427959, 0.1166389585, -0.295702666, 0.092512846, -0.0431749448, 0.0151218874, 0.0823360384, 0.4483868778, 0.1497142911, -0.2520537972, 0.1299972534, 0.2039152682, -0.5180383325, 0.8791714907, -0.5343930125, 0.0290112197, -0.3483659327, 0.401569128, -1.0134449005, -0.2546949089, 0.0308849607, -0.5621527433, 0.3410422206, 0.1414188892, -0.4945652485, -0.4882144332, -0.5494038463, -0.0053922227, 0.5135295391, -0.7416226268, 0.790453136, 0.8865224123, 0.0770288631, -0.7144252062, -1.0428398848, 0.4772303402, -0.5116283894, -0.6129826307, 0.1163774505, 0.409919858, -0.1115150154, -0.3543079793, -0.0134299956, -0.1943389624, 0.2823539078, 0.6462239027, 0.2794322371, 0.2080097347, 0.2631271482, -0.1465808153, -0.3399082422, 0.0967260599, -0.2190242708, 0.3372357488, -0.4587286413, -0.0598415583, -0.6598489881, 0.07707946, 0.3413356245, -0.0214442797, 0.5903619528, 0.5528510809, -0.456853658, -0.0008529778, -0.5506070852, -0.1770547032, -0.4927757382, 0.4043816626, -0.419632107, -0.7948380113, 0.3809038997, 0.276668489, 0.0239206888, 0.3029593229, 0.5873805285, -0.5177152157, 0.678702414, 0.8250953555, -0.203480944, 0.580131948, -0.1646968573, 0.1383602619, -0.4235148728, -0.4450015724, -1.0552176237, -0.4008097351, -0.7068881392, -0.1951398253, 0.2381206453, -0.2296309322, -0.0005376262, 0.576533556, -0.7767583132, 0.4835455716, 0.7511669993, 0.2913346291, 0.1628273278, 0.3234212697, 0.2192414701, -0.3503056765, -0.4616872966, -0.6343548298, 0.8737127185, 0.5915956497, 0.7493789792, -0.0517759658, 0.8194672465, 0.3008930087, 0.5281819105, -0.5147880912, 0.400475353, -0.307451278, -0.8439593911, -0.4855072498, -0.2592727542, -1.061796546, 0.088982299, -0.2542770505, -0.920704186, 0.1000871435, 0.2645234764, 0.0266382955, 0.4509555697, -0.8300718069, 0.8644033074, -0.1524597108, -0.4343755841, -0.2246053219, -0.6546343565, 0.3733251393, -0.1261862963, 0.2222382277, 0.3448746204, 0.0854812041, 0.6117041707, -0.5781635642, 1.1614502668, -0.2733523846, -0.2178232968, 0.3998178244, -0.058870092, 0.3671671748, -0.0564601272, 0.137444213, 0.4863654971, 0.0131263798, -0.4303682148, -0.3900373876, 0.4103628993, -0.7353525162, -0.6260079145, -0.4647147655, -0.0955196247, 0.27409482, 0.2325588167, 0.5436248779, 0.3444776833, -0.1969666332, 0.4564977288, 0.4445888102, -0.0745910928, 0.0086825099, -0.0362693295, -0.346773237, -0.4288857579, 0.8488886356, 0.3106970787, 0.0330020078, 0.4040608704, 0.5057039857, -0.4099392891, -0.2989957929, -0.2702921331, -0.1540061384, -0.6644871831, -0.2793903351, -0.5844090581, 0.0004056377, 0.0930867344, -0.3589376211, -0.1134955809, -0.3369742334, 0.0257799849, -0.1933472157, 0.4159151018, 0.6403749585, -0.1402221471, 0.3739669621, -0.5226843953, 0.0749264136, 0.6052730083, 0.0717514753, -0.4512288868, -0.4993165731, -0.1386909783, -0.1583198756, -0.1812393665, -0.8169577718, 0.2753351033, -0.2578914762, 0.3788136542, 0.2494579107, -0.0577771813, 0.6699476242, -0.5182971954, 0.4428742528, 0.3274462819, -1.0931559801, 0.4788312614, -0.1682123393, 0.2555250525, 0.8654717803, 0.0714511871, -0.5175657272, -0.7531680465, -0.5589573979, -0.6605899334, 0.4772459865, 0.4158144295, 0.0444814824, 0.4106809795, 0.3061871231, 0.3030716479, 0.0339624509, -0.4977759123, 0.0053557209, -0.6923767328, -0.3267144561, -0.1614745259, -0.3302774727, 0.0142023768, -0.2156998515, 0.2712704241, 0.1319013834, 0.1459473222, 0.3437444568, -0.0931182429, 0.0920677036, 0.056819167, 0.6768471599, 0.3338955343, -0.0761591122, 0.5149770379, 0.4860221744, -1.0261816978, -0.0183353703, -0.0619759001, -0.2816129327, -0.0037037644, 0.3705944121, 0.5418218374, 0.0904604197, -0.563352406, 0.3331307769, -0.5288076401, -0.4472840428, -0.6123641729, -0.0287305806, -0.1242874712, 0.3093192577, 0.4185700119, 0.2771534324, 0.1526058614, -0.440847218, 0.0762344077, 0.3375015855, -0.6437528133, -0.2214279771, 0.609882772, -0.0640178546, -0.7141779661, 0.1569576561, 0.2733124197, -0.8208696842, 0.6414048076, 0.2349720001, 0.8904140592, -0.1365201473, 0.1706383526, 0.1104474589, 0.6018922329, -0.22517699, 0.1694608331, -0.2071359456, -0.4822360873, -0.2164780945, -0.2971697152, -0.5173940659, -0.1913040429, -0.6464502811, 0.3635667562, -0.6484457254, -0.4137243927, 0.2014175057, 0.261452198, -0.648041904, 0.1426070631, 0.0806185007, 0.7942973375, -0.7197340727, 0.9313470125, 0.9855416417, -0.1825455427, -0.645268023, 0.0070468956, 0.2585085332, -0.6658915877, 0.875898242, 0.5127004385, -0.5087768435, -0.0717088282, -0.6941934824, -0.4790989459, 0.9996335506, 0.0734480992, -0.3980697095, 0.2174527794, -0.0317525864, 0.8684718013, 0.1371516883, 0.1239035204, 0.4876514971, 0.8250786662, -0.2626306117, -0.7651842237, -0.1039536595, -0.1146525517, 0.0870472193, 0.0936180279, -0.5214003325, 0.7344734073, 0.0946351141, -0.5560313463, 0.0522154793, 0.637473762, 0.1581811607, 0.4885757565, 0.6479438543, 0.5309258699, 1.0174834728, -0.1261236072, 1.2187113762, 0.2802354991, 0.3609775603, 0.8895546198, -0.2883082926, 0.9299088717, 0.5710752606, -0.0672678351, 0.6696078181, 0.1084503382, -0.0097666066, 0.4904251695, 0.3927209079, -0.0934963971, -0.3045030236, 0.2365467548, -0.195990175, 0.8681999445, 0.1384715736, 0.0729221329, -0.2095600814, 0.2714937925, 0.2588542998, 0.5604948401, -0.0738164932, 0.5127032399, -0.0611178279, -0.4416494966, 0.5785264969, -0.1188487485, 0.568097651, -0.224766627, 0.3000907004, -0.1466877908, 0.7226889729, -0.1660164297, -0.7958294153, 0.3563709855, 0.2360717803, -0.1665357947, -0.5508355498, 1.0085766315, 0.0010590677, -0.5642703176, 0.2053389847, 0.0853086784, 0.1192567572, 0.1445932686, -0.4526190758, 0.0695402995, 0.0969012529, -0.1746791452, 0.2242212594, 0.663220346, -0.0387672521, 0.708296895, 0.4012885094, -0.0913684815, 0.1788923293, -0.1435303539, 0.7237672806, -0.7075263858, -0.5097258687, -0.8152735233, 0.4435253143, -0.4537802041, -0.437805891, 1.1015663147, 0.44255054, 0.7559156418, -0.036169447, 0.6904404163, 0.1538007259, 0.7725280523, -0.454472363, 0.9487084746, -0.6306447983, 0.1301107705, -0.3293410838, -0.5198212266, -0.5848315358, 0.7220110893, -0.4692973495, -0.3667842448, 0.6868770719, 0.5169432759, 0.2252791822, 0.3316547275, 0.2404664159, 0.169813931, 0.3034830391, 0.3994946182, 1.1291846037, -0.3423959315, 0.8341304064, -0.0801689327, -0.4368650615, -0.5823510289, -0.657799542, -1.2991427183, -0.5586046576, -0.1375141889, -0.4465722144, 0.3060009778, 0.1386023611, 0.3875885606, -0.4284816086, -0.1699024439, -0.1877217144, 0.2720763981, -0.1189294532, -0.1515524387, 0.2428739518, -0.3287344277, -0.4510262609, 0.0865957066, 0.2779141963, -0.0289476253, -0.420206815, 0.0500109717, 0.1428375989, -0.1798351556, 0.441614747, 0.3268125653, -0.4383297563, -0.6070988774, -0.0128969839, -0.4058018923, 0.0419854671, 0.7652218342, -0.9095981121, 0.5158346891, 0.8225666881, 0.7612451911, 0.5967170596, 0.0890837088, 0.3496508598, -0.3713119626, 0.1051109657, 0.1544599831, 0.0904743075, 0.1428168416, -0.2754580379, 0.3504630029, 0.2187316567, -0.559533, -1.0144113302, 0.1845543683, -0.5845277309, -0.3540783525, 0.8037161827, -0.0241281092, -0.6717605591, -0.1986408532, -0.574146688, 0.0697906911, -0.1385526061, 1.1108158827, 0.497166276, 0.3434431553, -0.0010659507, -0.6449696422, 0.4056709707, 0.5621818304, -0.9073230028, -0.0247323308, 0.4579588771, 0.1321001053, 0.4383770823, 0.4197703302, 0.0391381681, 0.3171143532, 0.1843025237, 0.0895225629, 0.0587141328, -0.4862455726, -0.4617322683, 0.3599370718, -0.2404528409, -0.3734695911 ]
http://arxiv.org/abs/2404.08517v1
http://arxiv.org/pdf/2404.08517v1
Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forward
2024-04-12T14:55:16
2024-04-12T14:55:16
Xuan Xie, Jiayang Song, Zhehua Zhou, Yuheng Huang, Da Song, Lei Ma
cs.SE
cs.SE, cs.AI, cs.CL, cs.CR, cs.LG
While Large Language Models (LLMs) have seen widespread applications across numerous fields, their limited interpretability poses concerns regarding their safe operations from multiple aspects, e.g., truthfulness, robustness, and fairness. Recent research has started developing quality assurance methods for LLMs, introducing techniques such as offline detector-based or uncertainty estimation methods. However, these approaches predominantly concentrate on post-generation analysis, leaving the online safety analysis for LLMs during the generation phase an unexplored area. To bridge this gap, we conduct in this work a comprehensive evaluation of the effectiveness of existing online safety analysis methods on LLMs. We begin with a pilot study that validates the feasibility of detecting unsafe outputs in the early generation process. Following this, we establish the first publicly available benchmark of online safety analysis for LLMs, including a broad spectrum of methods, models, tasks, datasets, and evaluation metrics. Utilizing this benchmark, we extensively analyze the performance of state-of-the-art online safety analysis methods on both open-source and closed-source LLMs. This analysis reveals the strengths and weaknesses of individual methods and offers valuable insights into selecting the most appropriate method based on specific application scenarios and task requirements. Furthermore, we also explore the potential of using hybridization methods, i.e., combining multiple methods to derive a collective safety conclusion, to enhance the efficacy of online safety analysis for LLMs. Our findings indicate a promising direction for the development of innovative and trustworthy quality assurance methodologies for LLMs, facilitating their reliable deployments across diverse domains.
[ -0.2784176767, -0.8079466224, 0.6269223094, 0.1360678077, -0.2388041019, 0.316739589, -0.1058079004, -0.699578464, -0.1581349522, 0.1601748168, -0.3115396202, -0.5875480771, -0.6320125461, 0.1153000295, -0.4672545195, 0.6742205024, -0.2320330441, 0.1196839735, -0.3585242033, 0.0610930696, -0.2419346571, -0.6590831876, -0.687508285, 0.1257646382, 0.3224656582, -0.0737554729, 0.4022451341, 0.5282642841, 0.7042303085, 0.3388413489, -0.3374285698, 0.2121510208, -0.6628909111, 0.1139101759, 0.0322270133, -0.2681634724, -0.7943429351, -0.061233487, 0.5934303999, 0.5843035579, -0.3707311451, 0.1485195756, 0.1882079691, 0.3987374008, -0.8774371147, -0.0636638403, -0.6988081932, 0.181414783, -0.181941092, -0.1945920736, -0.3491798639, -1.0542666912, -0.0367860943, -0.3543433547, -0.130925715, 0.0869474337, 0.6923294663, 0.0519840159, -0.3953983188, -0.3811442852, -0.7348966599, 0.8966428638, -0.8821343184, 0.4075300992, 0.3151468337, 0.5617225766, -0.3438172638, -0.6811382174, -0.4921385944, -0.1838175952, 0.2336864173, 0.0709366351, -0.1523593813, 0.0304866973, 0.0931293964, 0.338257134, -0.6386320591, 0.4301306307, -0.1130128354, -0.4615502656, 0.6842355728, 0.1564116627, 0.3874361217, 0.0943077952, -0.4951908886, 0.0876286253, -0.9753303528, -0.1590370089, 0.4933224916, 0.064965412, -0.329980135, 0.3781355917, -0.2159212828, 0.4747797251, -0.2791680992, -0.4451862872, 0.2634612024, -0.6223811507, 0.0350175947, -0.0941446796, 0.9850977659, 0.7067964077, 0.2589773834, -0.2482292056, -0.2832573354, 0.0707108825, 0.1954244673, -0.6110962629, 0.2983640134, 0.4651425779, -0.6616879702, -0.5097030997, 0.0889058337, -1.0062471628, -0.5898736119, 0.0132015729, 0.3252566755, -0.0942770839, -0.4837601781, -0.0272937007, 0.2863104641, 0.2864658237, 0.0375959091, -0.4491565526, 0.2939446568, 0.8007667661, 0.9228916168, -0.553999424, -0.0790349469, -0.6553854942, 0.2002430707, -0.2464489639, 0.7868536115, -0.047064431, -0.4241438806, 0.4181348085, -0.2381747067, 0.0526143499, -0.4504667521, 0.6388837099, -0.6372608542, -0.0392392464, -0.0345411338, -0.7390396595, 0.0722703263, 0.4718621671, -0.5526269674, 0.9192821383, -0.2011370957, -0.8878864646, 0.475150764, -0.3786524832, -0.3222927153, -0.1320951432, -0.1946903467, -0.6399327517, 0.1111746207, 0.0414435789, 0.5338047147, -0.2427715957, 0.3550742567, -0.6268409491, -0.3030011058, 0.5939967036, -0.4352473319, 0.7422657609, 0.1957338154, -0.4121643305, 0.2661284208, -0.9117688537, 0.3417598009, 0.2094261646, -0.4434946179, 0.0205637217, 0.1971769929, 0.0730480328, 0.2787636817, 0.3460496962, -0.8140181899, -0.3630768955, -0.3224632442, 0.2586108148, 0.6325752139, 0.2417760044, -0.0371880345, -0.2532032728, 0.5614416599, -0.2589897215, 0.5421808362, 0.1085247993, -0.4646551907, -0.5616730452, -0.0248414986, 0.2857013345, 0.5930136442, -0.5284777284, 0.7432920933, -0.2453643829, -0.4703527391, -0.3069748878, 0.2377209365, 0.6473770738, -0.0111650592, 0.0768914819, -0.4678766429, -0.5557248592, -0.6495665908, -0.2760375738, -0.2193544358, -0.0011628985, -0.1697616428, 0.1309077144, -0.3474396765, 0.9718508124, -0.220645532, 0.0188438408, -0.4209447801, 0.187606439, -0.1515700072, 0.3189445734, 0.378914535, -0.4839510024, -0.3253515065, -0.0936820358, -0.9819819331, -0.1577186137, 0.0652652979, -0.0356901325, 0.1851806045, 0.5008220077, -0.356394887, 0.2135256082, 0.7890526652, -0.0934947804, 0.3881373405, -0.2542703748, 0.0575454161, -0.9116740823, -0.0035930341, 0.066717349, -0.3424549699, -0.7837197185, 0.3539778292, 0.0230713189, 0.1018775031, -0.8419594765, 0.137350291, -0.4632499218, -0.3537208438, -0.3018543124, 0.2456580698, -0.2217171937, -0.0274047572, -0.2375299931, 0.6283623576, 0.4599023163, -0.3538345098, 0.2465454638, -0.0621659234, -0.6005234122, 0.3384314179, -0.5618641376, 0.3111712933, 0.0617068931, 0.0732434392, -0.7850704789, -0.2049582601, 0.2158509195, -0.2806939185, 0.159998849, 0.055349499, -0.7725162506, -0.0206105728, -0.4974955916, 0.1487044543, 0.5210874081, -0.3114164472, 0.5556703806, 0.7146884203, -0.3070480227, -0.2262177765, -0.3978373706, 0.0126844067, -0.3386470973, -0.6800351143, -0.0220756494, -0.1033159196, -0.7622721791, -0.2171950787, -0.1022756174, -0.3398507237, 0.5678104162, 0.3346260488, 0.4711670578, -0.1458750665, -0.3660838008, 0.1410894394, -0.3283177316, 0.1837322861, 0.2460174412, 0.3092689216, -0.1646004617, -0.5467672944, -0.4950591028, 0.1956428885, 0.4480855465, -0.1290390491, 0.7524031997, 0.5025330782, -0.5443341136, -0.2003529817, -0.6762124896, 0.067531772, -0.5439888835, 0.0731312409, -0.0196244679, -0.8394360542, 0.2920512557, -0.2131136805, 0.2623876035, 0.2580621243, 0.4640161097, -0.2484582365, 0.7391974926, 0.5980743766, 0.1091097593, 0.1301616132, 0.2557345033, 0.2698952556, -0.2845082581, -0.3887542486, -0.469604671, 0.1765818298, -0.4609872103, -0.5186174512, 0.5282714963, 0.2440520674, 0.0996678919, 0.1193079501, -0.042265743, 0.5477109551, 0.1186643466, -0.1507054865, 0.6328441501, 0.0069240644, -0.1071224213, -0.0460557453, -0.3202652037, -0.8559830785, 1.2046524286, 0.672264576, 0.5621828437, 0.3004311323, 0.648211658, 0.1994978637, 0.5084314942, -0.4700510502, 0.7177557945, 0.1223221496, -0.620767653, -0.1877270937, -0.7181572318, -0.7842608094, 0.3037678003, -0.4756959975, -0.8422875404, -0.3192521632, 0.0954293385, -0.5339761376, 0.349258244, -0.6051156521, 0.662732482, -0.7796100974, -0.3606244028, -0.2914927602, -0.5887565613, 0.6360105872, -0.5441538692, 0.5363891125, -0.3183800876, -0.1272745281, 0.5318338275, -0.2438583821, 0.8614475131, -0.0114446748, -0.3202827871, 0.3359322846, 0.1922855675, 0.5269828439, -0.3458429575, -0.1955127418, 0.5076127648, 0.046831321, -0.0565170161, -0.3118620813, 0.9112363458, -0.6346564293, -0.2729434669, -0.4789136946, -0.2517677844, -0.6625596881, 0.1907660067, 0.0442131832, 0.2801249027, -0.2330239117, 0.1554629505, 0.6549277306, -0.5348936915, 0.673717916, 0.5133290291, -0.2887401879, -0.4423403442, 1.047571063, 0.0188932028, 0.5422798991, 0.2742937803, 0.2773205042, -0.4561904669, -1.1941531897, -0.2784490883, 0.0456470586, -0.8960185647, 0.0698402375, -0.527562201, -0.1911684871, -0.2266200483, 0.0334243588, -0.3825442195, -0.2223258168, -0.0686031058, -0.1775907278, -0.0712074339, 0.9487625957, 0.1415165216, 0.1975537091, -1.0904785395, 0.1668113768, 0.2036330849, 0.6331617236, 0.0143491989, -0.0276976414, -0.015245555, -0.3434512019, -0.4444588125, -0.7932039499, -0.0073145023, -0.0736000463, 0.8657745123, 0.6183724403, 0.0360964835, 0.2293200344, -0.3923130929, 0.7047693729, 0.3375297487, -0.8705132008, 0.2799137831, -0.4496602714, -0.2819332182, 0.6000066996, 0.4278521538, -0.224742949, -0.3585242331, -0.3548596799, -0.8881645203, 0.244340241, 0.5802379251, -0.2298624963, 0.2617882192, 0.039042335, 0.2912294269, 0.1605833024, -0.796751678, -0.1574892849, 0.0897587612, -0.1573749334, 0.1084426269, -0.2364190817, -0.2180297077, 0.2015031576, 0.5360881686, 0.0013950053, 0.0606597327, -0.3597936034, -0.1164767817, -0.2317770422, 0.4486439228, 0.4838450849, 1.065267086, -0.2614137828, 0.2318840474, 0.3977070451, -0.2675325572, 0.2219961137, 0.0549874716, -0.1360789239, -0.0844544992, 0.526766479, 0.384409219, 0.2347529382, -0.9655727744, 0.7233843207, -0.1754953265, 0.1528803706, -0.3583166599, 0.0599427596, 0.1197434664, 0.00279177, 0.2626542747, -0.3466000259, 0.0409061685, -0.441516459, 0.1562730819, 0.4301670492, -0.2414719909, -0.1979050189, 0.4917514622, 0.5089321733, -0.1012612507, -0.028471712, -0.2478445023, -0.2706964016, 0.568140924, 0.3159670532, 1.0732676983, -0.0175867863, 0.1479258388, 0.1764875203, 0.5774774551, -0.1017384976, 0.3106794655, 0.4239650667, -0.6266773939, -0.4133836031, -0.7964391112, -0.6751127839, 0.2284483165, -0.5029786825, -0.0392800421, -0.7047400475, -0.2783029675, -0.4121749103, -0.246092394, -0.2205361426, 0.1865679771, 0.3307041824, 0.6947953701, -0.7856966257, 0.523737371, 0.4602677226, -0.128034696, -0.5510125756, 0.3348192573, 0.3458116651, -0.6628658772, 0.3169426322, 0.2405070215, -0.4035480917, -0.2486843765, -0.2040184885, -0.9541500807, 1.1060571671, 0.3197071552, -0.8733902574, 0.2200755924, 0.4210928679, 0.5071639419, -0.0404691063, 0.2949468493, 0.5627539754, 0.3320844471, -0.1331243962, -1.0556385517, 0.3232340813, 0.0261551253, 0.0389730483, 0.1609920114, -0.3602056801, 0.5302045345, 0.07418897, -0.5005162954, 0.2445522994, 0.4795511663, 0.4491263032, 0.4311676919, 0.6198548079, 0.3273645937, 0.627142787, -0.077928409, 1.2254332304, -0.4164375663, 0.3654922247, 1.020270586, -0.4832733274, 1.0840770006, 0.538957417, -0.4667139649, 0.2336051017, 0.5632234216, 0.2085677534, 0.3916581869, 0.3649421334, -0.37384516, -0.3663474619, -0.1553952843, -0.4370680153, 0.0062822071, 0.1369530857, -0.2777810693, -0.2657070458, -0.1985698789, -0.0708455667, 0.0053792312, -0.2552217543, 0.780954659, 0.1656755656, -0.3386490047, 0.2659867406, 0.1414842308, 0.6266556382, -0.547614038, 0.1514462531, -0.0868465379, 0.3552374244, -0.2219671011, -0.7488072515, 0.2515035272, 0.3173215091, 0.494467169, -0.2390236855, 0.8438436985, -0.0054808599, -0.4213464856, 0.5422273278, 0.7151184678, 0.1378568858, 0.1511048824, -0.3992138207, 0.5919264555, -0.3016068935, -0.0679189414, 0.5577120185, -0.0012399565, -0.0351949371, 0.6872774363, 0.6792199016, 0.2601190507, 0.4876929522, -0.0123185487, 0.7471126914, -0.4182184339, -0.4180333614, -0.7884082198, 0.7294273973, -0.203216061, -0.3218745291, 0.8886542916, 0.460260272, 0.8321725726, 0.120090194, 1.0033717155, 0.0586836301, 0.5275737643, -0.7375104427, 0.9585077763, -0.320974797, 0.3717098832, -0.3796621263, -0.9857364893, -0.3230842948, 0.295266211, -0.2024905384, -0.1267657578, 0.7935653329, 0.7253303528, 0.0187752601, 0.2695269287, 0.3809750676, 0.0341988653, 0.3603583276, 0.288125515, 1.3450487852, -0.2049033791, 0.7529900074, -0.2947674692, -0.3204829395, -0.1067576036, -1.2233660221, -1.0982121229, -0.0373413004, -0.3592050672, -0.3586911559, 0.1626550704, 1.007856369, 0.5043569803, -0.9640612602, -0.3805672824, 0.0137472721, -0.1375295371, -0.0594110526, -0.1266250014, 0.0595037267, -0.01869132, -0.4351344109, 0.7645796537, 0.2164769322, 0.139339447, -0.5194757581, -0.2165842801, 0.0301410276, 0.0374913476, 0.5663729906, 0.1742476821, -0.8126665354, -0.3296357095, -0.376134783, -0.2711235583, -0.0994629115, 0.8322188258, 0.0157591272, 0.4621113539, 0.6456311941, 0.9219319224, 0.1818979532, -0.0065299906, 0.6046069264, -0.5045313239, -0.2446962744, 0.1616753191, 0.5179485083, 0.4955249727, -0.1734118611, 0.3515858352, 0.1597084701, -0.3857322335, -0.9813241363, 0.1235978007, -0.8514608741, -0.0732291564, 1.3986251354, -0.5420738459, 0.2102080435, -0.4272728562, 0.1166741028, 0.3811236024, -0.1674604863, 0.8700092435, 0.590231657, -0.0634054095, 0.0726602376, -0.684347868, 0.2894199193, 0.1878133565, -1.5316287279, -0.1547868699, 0.4961209595, 0.4528773427, 0.1147318855, 0.3390009105, -0.2312937975, 0.0776122138, -0.2074947655, 0.0583580881, -0.0298703816, -0.2762076855, -0.5465545058, 0.5370802283, 0.2228708565, -0.2030352801 ]
http://arxiv.org/abs/2404.08511v1
http://arxiv.org/pdf/2404.08511v1
Leveraging Multi-AI Agents for Cross-Domain Knowledge Discovery
2024-04-12T14:50:41
2024-04-12T14:50:41
Shiva Aryal, Tuyen Do, Bisesh Heyojoo, Sandeep Chataut, Bichar Dip Shrestha Gurung, Venkataramana Gadhamshetty, Etienne Gnimpieba
cs.AI
cs.AI, cs.CL
In the rapidly evolving field of artificial intelligence, the ability to harness and integrate knowledge across various domains stands as a paramount challenge and opportunity. This study introduces a novel approach to cross-domain knowledge discovery through the deployment of multi-AI agents, each specialized in distinct knowledge domains. These AI agents, designed to function as domain-specific experts, collaborate in a unified framework to synthesize and provide comprehensive insights that transcend the limitations of single-domain expertise. By facilitating seamless interaction among these agents, our platform aims to leverage the unique strengths and perspectives of each, thereby enhancing the process of knowledge discovery and decision-making. We present a comparative analysis of the different multi-agent workflow scenarios evaluating their performance in terms of efficiency, accuracy, and the breadth of knowledge integration. Through a series of experiments involving complex, interdisciplinary queries, our findings demonstrate the superior capability of domain specific multi-AI agent system in identifying and bridging knowledge gaps. This research not only underscores the significance of collaborative AI in driving innovation but also sets the stage for future advancements in AI-driven, cross-disciplinary research and application. Our methods were evaluated on a small pilot data and it showed a trend we expected, if we increase the amount of data we custom train the agents, the trend is expected to be more smooth.
[ -0.7291160226, -0.5251035094, 0.7142137289, -0.2335656285, 0.3123354614, 0.7475667, -0.054341957, -0.6434755325, 0.0673064366, 0.1104719415, -0.5129292011, -0.478289336, -0.6548770666, -0.059825398, -0.0265658088, 0.55385077, -0.0170631893, -0.1104558408, -0.7287197113, -0.4408276081, -0.5777415633, -0.4535506368, -0.4404153526, -0.7427694201, 0.4860488176, 0.3058763444, 0.7570564747, 0.3350923061, 0.4384828508, 0.3820065558, 0.3770891428, 0.7208915949, -0.0506863147, 0.0556863472, -0.3503706753, -0.3245338202, -0.4362714589, 0.0092107654, 0.0192982163, 0.6288068891, 0.056440834, -0.0860887095, -0.1296801269, 0.4515322149, -0.5745893717, 0.3476745784, -0.4412104189, 0.2631725073, -0.2647562623, -0.2646563351, -0.1249793321, 0.1081169322, 0.6516010165, -0.8126196861, 0.3692358732, 0.0783948824, 0.5121911764, 0.5471968055, -0.3566661775, 0.0364919715, -0.8788419962, 0.6199833155, -0.4827630222, 0.2204217017, -0.1515853256, 0.7579603195, 0.0207238477, -0.6593402028, -0.5897623897, 0.0316400193, -0.0291232727, -0.0368172936, -0.0967039019, -0.3028644919, -0.2380901873, 0.0719118416, -0.7557575703, 0.1011207029, -0.0127624907, -0.4119106233, 0.8504791856, 0.2452217042, 0.3257519305, 0.6885970831, -0.3795413673, -0.1268791407, -0.3529596031, 0.0493601002, -0.0229907986, 0.6193859577, 0.0444649719, 0.4259973764, -0.4160256982, 0.235627681, -0.142642647, -0.1420371383, 0.5460345745, -0.6496455669, -0.0422672033, -0.2758618593, 0.6380389333, -0.0380827673, -0.0402777381, -0.5330360532, -0.02456793, -0.0598604679, 0.3802711964, -0.2937310934, -0.0305142328, 0.037455257, -0.2409649044, 0.1279553026, 0.0170221776, -0.5242469907, -0.6377827525, -0.4040783644, 0.5567941666, -0.4195249379, -0.412450254, -0.1878524721, -0.7600767612, 0.0364460908, 0.645616293, -0.27938658, 0.066081278, 0.7404872775, 0.5604079962, -0.2494990081, -0.9528239369, -0.029092975, 0.3157222569, -0.138910234, 1.0071358681, -0.6805886626, -0.0881120637, 0.0230888985, -0.1913704276, -0.4203483164, -0.5610699058, 0.1664788872, -0.6966008544, -0.1466060728, -0.2787245214, -0.4659953117, -0.4248292148, 0.4602918625, -0.698025763, 0.612762332, 0.1328774244, -0.4073114097, 0.6641952991, -0.9925355315, -0.4127129912, 0.3694919944, -0.4437245131, -0.387721628, -0.3988267481, 0.1423116475, 0.4242391884, -0.5590965152, 0.1394417882, -0.2715711594, -0.1062676981, 0.0582327396, -0.1243374571, 0.4700474441, -0.0079691578, -0.6711965203, 0.172027424, -0.3669698238, -0.0129855759, 0.058963757, 0.06415914, -0.5079550147, -0.2321601957, -0.2926973403, 0.2500242591, 0.2547404468, -0.297616899, 0.2362831086, 0.1088584512, 0.1230100021, 0.5661692619, 0.0455098674, 0.7162882686, -0.8704153299, 0.522597611, 0.2904098034, 0.3492774367, 0.0768864527, -0.7436209321, -0.2553580105, -0.2426231652, 0.0661999285, 0.3592994809, -0.8591182828, 0.355216831, -0.1069808453, -0.7267782092, -0.7140436769, 0.0772621781, 0.158372432, 0.4169091284, 0.4615804255, -0.2838219404, -0.1472526193, -0.624427259, -0.2255028337, 0.0282387231, 0.2696727812, 0.7612563372, 0.6402168274, -0.7813183665, 0.9686191678, -0.1757889539, -0.4897884727, -0.265455246, 0.2049881071, -0.2716934681, 0.3835045993, 0.5240662694, -1.1447954178, -0.6090396047, 0.3832688332, -0.9960383177, 0.3568847477, -0.0046009137, -0.4083276987, 0.0621619783, 0.0267291889, -0.8153248429, 0.6386601329, -0.0011041582, -0.2913565934, 0.2986131907, -0.0557238609, 0.3653835654, -0.7541597486, 0.1055811718, -0.1144879907, 0.1730236113, -0.7697249651, 0.0250694677, -0.3575781882, 0.0934214592, -0.2112393975, 0.503750205, -0.4099374413, -0.0862201899, -0.1501993984, 0.1410079598, 0.1997281611, 0.599342525, 0.0974881351, 0.7904052734, 0.761236012, -0.6165745258, 0.2656221092, 0.5088570714, 0.2702288926, 0.3778737783, -0.3369400203, 0.2705387771, -0.0136174895, 0.1873048246, -0.4300837219, 0.0754434317, 0.3590678275, -0.5603214502, -0.3061522245, 0.0014110814, -0.3463698626, -0.2276940048, -0.2713732421, 0.7175174952, 0.1095398739, -0.5208126903, 1.0312815905, 0.7729034424, -0.0689920336, -0.8301517963, -0.2791350484, 0.1303896606, -0.0296901949, -0.8938549757, 0.4444202483, -0.11474742, -0.3558724523, 0.2071005702, -0.0550573915, -0.2537691891, 0.0099284453, 0.394284606, -0.0535641052, -0.2885417342, 0.0648743585, 0.1206948981, 0.0268452559, -0.0161640681, -0.6894075871, 0.3435697556, -0.1103660166, -0.5671724677, -0.330937475, 0.5105992556, 0.8222141266, -0.7904235721, 0.7742344141, 0.7194135189, -0.5677616, -0.6206854582, -0.3635044098, -0.1250988096, -0.4154381752, -0.1263913959, -0.3977980316, -0.6581671834, 0.5291396379, -0.5510097146, 0.057988964, 0.6221744418, 0.5947767496, 0.2379726917, 0.9082656503, 0.942630291, -0.2016408145, -0.0326205567, -0.6864905357, 0.3451690376, -0.5704682469, -0.7977072597, -0.6532217264, -0.058140222, -0.2419686615, -0.6216711402, 0.606012404, -0.6638492942, -0.156009838, -0.0893813446, -0.3600455225, 0.0991437063, 0.948985517, -0.0348384008, 0.4547957778, -0.3777211905, -0.1185379028, 0.429520309, -0.8601192236, -0.4403178394, 1.1198569536, 0.0145713082, 0.447052896, -0.0391848609, 0.6694251299, 0.8847410679, -0.0436317697, -0.5296109915, 0.2532112002, 0.309954226, -0.4780985415, -0.7081057429, -0.3599971831, -0.9503080845, 0.2795267701, -0.2501119375, -0.156550467, 0.3364214003, -0.2370344102, -0.3679240048, 0.4352239072, -0.4663232565, 0.9594336748, -0.31221506, -0.2262602299, -0.4119788706, -0.6795683503, -0.053274326, -0.1244232655, 0.1605353653, -0.1245607957, 0.0918364599, 0.504945457, -0.4189606309, 0.5267035365, -0.2770088017, 0.0097774258, 0.5500438809, -0.3469253182, 0.2244578153, 0.162768051, -0.0586918853, 0.415736258, -0.4346619844, -0.3654955626, -0.5526897311, 0.4711538553, -1.2266482115, -0.4684775174, -0.4344753027, -0.7755681276, -0.4089277089, 0.3156792521, -0.1489975154, 0.3297325671, -0.3683406413, -0.3140942454, 0.4033358395, 0.1070764661, 0.3901576102, 0.6064356565, 0.6018835902, 0.0065378686, 0.9382093549, 0.1032323018, -0.1733432859, 0.5601055622, -0.041904632, -0.2565397918, -0.6989846826, -0.3852497041, 0.0106172794, -0.3866015971, -0.3318387866, -0.6504591703, -0.1370818168, -0.663173914, -0.0691747442, -0.3349531889, -0.0991967767, -0.043609146, 0.1603678912, 0.1497644484, 0.8925766945, -0.2457602173, -0.0791890174, -0.9118459821, 0.2197368443, 0.3706946075, 0.1747218966, 0.3136489689, 0.1428082585, -0.6995409131, 0.1253261715, -0.331046164, -0.4175749421, 0.3404506445, 0.1709295213, 1.0714833736, 0.2977581024, 0.2834876776, 0.4113526046, -0.2197782695, 0.5242459774, -0.4091592431, -0.684894681, 0.3620993495, -0.0840048939, 0.0517267361, 0.5316517353, 0.5494299531, -0.285330981, -0.4346859753, -0.7117550373, -0.7982237339, 0.6170880795, 0.20306997, -0.4545290172, 0.6775932312, 0.1398994774, 0.7308256626, 0.3844017982, 0.2289342135, -0.4088054299, -0.0884305835, -0.0430243239, -0.1411495358, 0.758690238, -0.5016339421, -0.1101331487, 0.7090579867, -0.4028520882, 0.3874421418, 0.1493124664, -0.3441833258, -0.0031845632, 0.0245654956, 0.1952806115, 1.0148050785, 0.1806092262, -0.0324495211, -0.1103431657, -0.2538015246, 0.0392215922, 0.4719063044, -0.1314562261, -0.0530689768, 0.5349273682, 0.5525383949, -0.6302306056, -0.8761177063, 0.3708659708, -0.3233394921, -0.2718552351, -0.312780112, 0.2547728121, -0.2582733929, 1.0612519979, 0.6898726821, 0.6520636678, 0.384891957, -0.7464850545, 0.4059620798, 0.568112731, 0.1933106929, -0.2207235247, 0.6491839886, 0.3670966029, -0.4188532233, 0.4559474885, -0.1884752363, -0.6260758042, 0.953055501, -0.0989829823, 0.7981480956, 0.1234928817, 0.5138768554, -0.4325031042, 0.0451805182, 0.2363203913, 0.0816273764, -0.4155045152, -1.1138733625, -0.0081038084, 0.0352973007, -0.8497985601, -0.2645389736, -0.3221175373, -0.3017952144, -0.057207007, -0.175144583, 0.3357265294, 0.3428780735, -1.0266878605, 0.1780927181, 0.1360338032, 0.6678433418, -0.7418453097, 0.6395169497, 0.9050391316, -0.5438033938, -0.6155764461, 0.0930487961, 0.1594225764, -0.913937211, 0.168796882, -0.0088084815, -0.278341651, -0.2818104923, -0.3078060746, -0.5271700621, 1.4188381433, -0.0199618749, -0.0608354546, 0.1416022778, 0.4165232182, 0.7684672475, -0.8223717809, 0.4389051497, 0.651492238, 0.5418807268, 0.0887367278, -0.8829624057, 0.0490543656, -0.4350048006, -0.3460977376, 0.0058429064, -0.8002891541, 0.9126454592, -0.4650425017, 0.1463208944, -0.272472769, 0.6709736586, 0.1858418584, 1.2138026953, 0.403993547, 0.462692529, 1.0813221931, 0.294126451, 0.3784967661, -0.335508585, 0.1462090164, 0.55137676, -0.5739501715, 0.3555523157, 0.1291885674, 0.0267810188, 0.5879058838, 0.3486791849, -0.0320184976, 0.5802218318, -0.2064890265, -0.3944038153, -0.2632044852, -0.4647361338, -0.3511658609, 0.3223136663, 0.2285025865, 0.1696712673, 0.0805322453, 0.2982040048, -0.2284844518, -0.0232645236, -0.2607451379, 0.9159325361, -0.2253867686, -0.7018915415, 0.1390094906, -0.2079104483, 0.4104236066, -0.2324489057, -0.3757557869, -0.3199490607, 0.3353218734, -0.0581055358, -0.5612955689, 0.0316992477, -0.3734235168, -0.2757935226, -0.136373207, 0.6717541814, -0.3170098364, 0.191010341, 0.5986966491, 1.3211963177, -0.1172937304, -0.2329217643, -0.5944168568, -0.1684069335, -0.3500773013, 0.2950717807, 0.1948373914, 0.7976760864, -0.0587630309, 0.8908492327, 0.4681935012, -0.2100898474, 0.0950854942, 0.2986141741, 0.9392296672, -0.5895244479, -0.274150908, -0.3626785278, 0.4373590648, -0.1332053244, -0.2651830018, 0.5469734669, 0.5233553648, 0.9285687208, -0.0399114005, 1.4816035032, -0.2305054963, 0.4073548615, 0.0821551979, 0.8700941205, -0.711304009, 0.2217666507, -0.0447102003, -0.3130524158, -0.0824680477, 0.0163187999, 0.1605972946, 0.1949964464, 0.5384584069, 0.6421528459, 0.1307481527, 0.2087325901, 0.089504391, -0.0064469697, 0.432972163, 0.6143904924, 1.0048931837, -0.2530991435, 0.3900599778, -0.2877537012, -0.3091705143, -0.1233185306, -0.0813901052, -1.1253106594, -0.864633739, -0.2387935519, 0.2353400886, 0.2741696537, 0.8283296824, 0.8337679505, -0.5676640868, -0.0601010434, 0.1010720283, 0.5180428028, -0.6203276515, -0.1665686965, 0.1985229403, -0.2375952005, -0.701788187, 0.7434772253, 0.2282883078, -0.0574866422, -0.3805215657, -0.4332547784, -0.2851989567, 0.1687958241, 0.3782135844, 0.4171446562, -0.1966317296, 0.0124340178, 0.1177106798, -0.0167322494, -0.0482087359, 0.9303481579, -0.954859972, 0.0633665621, 0.4759873748, 1.1917893887, 0.3529858291, -0.044463113, 0.6439237595, -0.5284215212, -0.1060709581, 0.3647480011, 0.1393645108, 0.1454472542, -0.553494215, 0.5069253445, 0.526297152, -0.678313911, -0.4798502326, -0.161926195, -0.8307335973, -0.2961781025, 0.4678125978, -0.1765370816, 0.1038916707, -0.4512342215, 0.0123850619, 0.2294920832, -0.671339035, 0.9205108285, 0.2289813161, -0.792757988, 0.1170609891, -0.099904947, 0.4755473137, 0.2300302982, -1.0218816996, -0.3232076764, 0.2937240899, -0.1037918255, 0.4293958843, 0.4719138741, 0.4078193903, 0.3044828475, 0.2521052957, -0.0326593742, -0.2404161841, -1.036618948, 0.0609767847, 0.4479200244, -0.0016894577, -0.2323726416 ]
http://arxiv.org/abs/2404.08509v1
http://arxiv.org/pdf/2404.08509v1
Efficient Interactive LLM Serving with Proxy Model-based Sequence Length Prediction
2024-04-12T14:46:15
2024-04-12T14:46:15
Haoran Qiu, Weichao Mao, Archit Patke, Shengkun Cui, Saurabh Jha, Chen Wang, Hubertus Franke, Zbigniew T. Kalbarczyk, Tamer Başar, Ravishankar K. Iyer
cs.DC
cs.DC, cs.CL, cs.LG
Large language models (LLMs) have been driving a new wave of interactive AI applications across numerous domains. However, efficiently serving LLM inference requests is challenging due to their unpredictable execution times originating from the autoregressive nature of generative models. Existing LLM serving systems exploit first-come-first-serve (FCFS) scheduling, suffering from head-of-line blocking issues. To address the non-deterministic nature of LLMs and enable efficient interactive LLM serving, we present a speculative shortest-job-first (SSJF) scheduler that uses a light proxy model to predict LLM output sequence lengths. Our open-source SSJF implementation does not require changes to memory management or batching strategies. Evaluations on real-world datasets and production workload traces show that SSJF reduces average job completion times by 30.5-39.6% and increases throughput by 2.2-3.6x compared to FCFS schedulers, across no batching, dynamic batching, and continuous batching settings.
[ -0.2931549251, -0.702262342, 0.9052217007, 0.3459780216, -0.3715743423, 0.173039943, -0.0022414199, -0.5595759749, 0.4326035082, 0.6829115152, -0.9712306857, -0.2192521691, -0.5178724527, 0.0799262673, -0.4591270089, 0.5931353569, 0.2768413723, -0.0192716829, -0.2931432426, 0.3348428309, -0.0570532009, 0.1207865477, -0.8893559575, -0.1424672008, 0.7072770596, 0.533770442, 1.2354255915, 1.2443939447, 0.3361084461, 0.2736471891, 0.1377688199, 0.4494863451, -0.6410391927, 0.307744354, 0.0761131421, -0.5986841917, -0.24640055, -0.1418503374, 0.6749215126, 1.050209403, -0.1575927585, 0.2941126823, -0.1943132728, 0.7239893675, -0.4313731194, 0.1115707979, -0.7192443013, 0.2701993883, -0.5787962675, -0.2516302466, -0.5206862092, -0.1211397052, 0.0696404949, -0.7631883025, 0.1600057483, 0.4411679506, 0.625177145, 0.4810670316, -0.3841381669, 0.356924206, -0.8244460225, 0.5299652219, -0.811024189, 0.4864891171, 0.1451752931, 0.4787689745, -0.5307913423, -0.7851287723, -0.587231636, -0.2791334093, -0.1324436516, 0.2171260118, 0.1616137773, 0.2561864257, 0.3721239865, 0.2236802727, -0.7610364556, 0.4159011245, -0.144896701, 0.2207904458, 0.4171318114, 0.6190658212, -0.0882518664, 0.1084583849, -0.5427515507, 0.1093980521, -0.6815392971, 0.0323696211, 0.5645134449, 0.1162360758, -0.1091395393, 0.5583058596, -0.5426997542, 0.7300496101, 0.0119941905, -0.0360074304, -0.4484722316, 0.2197823822, -0.2032806575, -0.1608361751, 0.8300684094, 0.4099212289, 0.006476331, -0.3633598983, -0.1095390618, -0.0855026469, 0.2307212651, -0.9376369119, -0.0518299267, 0.0779414028, -0.2085714787, -0.1957449466, 0.1717097014, -0.6910842061, -0.490766257, -0.0065108663, -0.0630852133, -0.2668610811, 0.1392377764, -0.3793397546, 0.1653216779, 0.1258938015, 0.3680819571, -0.7370399237, 0.4170875847, 0.736374557, 1.0471564531, -0.4348088801, -0.1690073311, -1.1611740589, 0.4068995118, -0.3351847529, 0.5563435555, -0.4498073161, -0.5088514686, -0.120304279, 0.1463559866, 0.0462167114, -0.148365289, 0.329854995, -0.858463943, -0.3216249049, 0.0571146086, -0.901275754, 0.2551638484, -0.2328614742, -0.8818199039, 0.9007889032, 0.0524744876, -0.5518021584, 0.2875371575, -0.4616834819, -0.6697971225, 0.5107148886, -0.2004503161, -0.1861781925, 0.0406218916, 0.1354314536, 0.6233190298, -0.4455600381, 0.355689913, -0.5239996314, -0.7688066363, 0.1194308177, -0.5955270529, 0.3362610638, 0.4345737398, -0.2624904811, 0.2388248444, -0.5508722663, 0.0020566517, 0.2778634429, -0.1467490792, 0.0926256254, 0.3261287212, 0.0963483304, -0.0541986004, 0.1431391537, -0.4996962845, 0.3723478615, -0.5234764218, 0.089026019, 0.9237020016, -0.2807226479, 0.3403513432, -0.4486705661, 0.899628818, -0.246464327, 0.5150920749, -0.3536840677, -0.41162467, -0.7046405673, -0.389497906, 0.0983605534, 0.5805875063, -1.3295779228, -0.0661380142, -0.4999776483, -0.6891340017, -0.4546208382, 0.2405135781, 0.4885276854, 0.4040052593, 0.1109008119, -0.1138115749, -0.39631477, -1.0130523443, -0.3128439784, -0.2019622624, 0.0593599565, 0.2940267622, 0.0065161223, -0.1151886657, 0.8540950418, -0.6043995619, 0.0776167512, -0.2208835781, -0.0216306001, 0.846817255, 0.1711271852, 0.4365932047, -0.6214868426, -0.7930181026, -0.3256013095, -0.3647401631, -0.2894102931, -0.3958268464, -0.2024856657, 0.3380229473, 0.3082337379, -0.6611594558, 0.4083494246, 0.6709648371, -0.386438489, 0.3920578957, -0.0473135449, 0.079504475, -0.6803286076, -0.2419815063, -0.099582985, -0.5698351264, -0.6423310041, -0.1231492981, -0.1039040908, -0.0141531443, -0.718216598, 0.7816133499, -0.4453618824, -0.3118008375, -0.5028119683, -0.0402308851, 0.0161001328, 0.3140539527, 0.0444156602, 1.0072954893, 0.353993386, -0.6778520346, 0.0490849391, -0.0051495042, -0.2830592394, -0.0026514689, -0.5801413059, 0.1929494441, 0.1731297523, 0.3013644218, -0.8785491586, -0.223240748, 0.2614159286, 0.0396849476, 0.1314458996, -0.5488917828, -0.665147543, -0.4672021568, -0.0167875215, 0.3520983756, 0.4782425463, -0.8462311625, 0.4431107342, 0.0538869761, -0.1581573784, -0.5347076058, -0.6745298505, -0.0026919863, 0.0316197053, -0.7946979403, 0.8757998347, -0.0960573405, 0.0600187667, -0.2301295698, -0.1950230896, 0.0287394803, 0.3209046125, 0.5511953235, 0.6580135226, -0.0182478242, -0.5165355802, 0.2205000073, 0.0477347523, -0.0355092958, -0.1252776235, 0.5494084954, 0.0469218343, -0.6877682209, -0.4165944755, 0.3427585363, 0.7366393209, 0.3223765492, 0.8585451841, 0.7150580287, -0.0895144716, -0.1997042, -0.6861495972, -0.1793460101, -0.5180880427, 0.1413076967, -0.1969489008, -0.8582077026, 0.4341838658, -0.0655188337, 0.0902320519, 0.1704445928, 0.1119468883, -0.1003607139, 1.0216879845, 0.3352034688, 0.019322997, 0.5885801911, 0.0074207573, 0.0676509365, -0.4760186374, -0.0298916362, 0.1616838574, -0.171784386, -0.6515744925, -0.5938498974, 0.5966365337, 0.1414810866, -0.0489638075, 0.0939464048, -0.1313899904, 0.584546864, 0.5747187734, 0.0734120756, 0.2491430342, -0.2803552151, -0.1682743281, 0.1101428717, -0.6745772362, -0.4620611072, 0.7311191559, 0.1510167867, 0.7135090828, 0.0967479572, 0.599807322, 0.4228050113, 0.3360991776, -0.5024909377, 0.7667649984, -0.2698290646, -0.1637782454, -0.4919315577, -0.4004737139, -0.6960514188, 0.266769141, -0.1713359207, -0.4540357888, -0.2726772428, 0.2790881991, -0.4324008524, 0.5520538688, -0.4272245765, 0.3515469432, -0.4217743576, -0.8963544369, 0.0197934918, -0.6816403866, 0.5416162014, 0.1329734623, 0.0872563198, -0.3121002316, -0.1082691103, 0.5264486074, -0.6764896512, 0.7490720749, -0.419467628, 0.2111436278, 0.0148389544, 0.205308184, 0.9467343092, 0.3921211362, -0.297091037, 0.1781005263, 0.165348351, -0.3546461463, -0.557721138, 0.6518194675, -0.4621199965, -0.9130731821, -0.621157527, -0.3417833745, -0.2945491672, 0.245062381, 0.1215559915, -0.1165294573, -0.298853159, -0.1411223263, 0.4340684712, -0.1676777303, 0.6853669286, 0.6530225873, -0.6973257661, -0.0894062966, 0.4811422229, 0.0524353832, 0.2730947435, 0.3552252352, -0.0916859582, -0.2827913463, -0.4991413057, -0.7836662531, -0.0835608393, -0.4098463655, -0.2046036124, -0.6517291069, -0.2106433511, -0.2990121543, -0.1444779485, -0.5288312435, -0.3822718561, -0.3365955949, 0.15361844, 0.697706461, 0.4676190913, 0.249226287, 0.5952870846, -0.7419291735, 0.3422483206, -0.0134084104, 0.5843185186, 0.0293439291, -0.4218954742, -0.2493715882, -0.2085720748, -0.0289747212, -0.6468733549, 0.5705407262, 0.1105325297, 0.541274488, 0.6525189281, 0.1139110848, 0.7945075035, -0.9265655875, 0.8116745353, 0.2579253912, -0.6054192185, 0.2321486622, -0.3975204527, 0.3675897121, 0.4135907888, 0.5398712754, -0.4927206337, -0.2939321995, -0.3011019826, -1.0696264505, 0.7531931996, 0.1188764647, -0.0880367383, -0.3687546551, 0.4503791034, 0.4857805669, 0.1384879202, -0.2989845276, -0.5188775659, -0.0213095583, 0.10429167, -0.0081438115, -0.1558066607, 0.2712215483, -0.2092682868, 0.7461326122, -0.4104455411, 0.5724782944, -0.0572637096, -0.1230799183, -0.1231749281, 0.0572495125, 0.4581292868, 0.6296592355, -0.2219216824, 0.1394405216, 0.2805927694, -0.1980628669, 0.0010207362, 0.304251045, -0.1267196238, -0.0034628995, 0.1305390447, 0.869626224, 0.1595263779, -0.8045971394, 0.4301586449, -0.047671847, 0.1239148155, -0.8797277212, 0.4883767068, 0.2240946591, 0.4977857471, 0.4266249239, -0.1860149205, 0.2967692912, -0.2403756231, 0.0490508489, 0.4207761586, -0.1846461892, 0.2064217925, 0.9677416086, -0.1135154441, -0.2344979942, 0.7448499203, -0.2380862236, -0.1818877906, 0.6815478802, 0.4388790429, 0.7312161922, -0.0682465211, 0.1301837116, -0.1435927898, -0.1014070436, -0.1406621635, 0.3178687394, 0.1591062248, -0.2921455204, -0.5771746635, -0.8937033415, -0.7603708506, 0.0474480428, -0.5423731804, 0.2123433352, -0.5801210403, -0.158934921, -0.1697937697, -0.1592727602, -0.9103899002, -0.0258272681, 0.3544654548, 0.8726047873, -0.5280159116, 1.0319191217, 0.3826466501, -0.1318609416, -0.3723371923, -0.1269391179, 0.0129364049, -0.6609005928, 0.5362262726, 0.2467977554, -0.3737854958, 0.0140682366, -0.5015413761, -1.1200329065, 1.4788212776, 0.5875921249, -1.0054206848, -0.1036869884, 0.4706056416, 0.3048067093, -0.4979885817, 0.6972124577, 0.2705100179, 0.5276882648, 0.1548847258, -0.4355439842, 0.2665270865, -0.3150790334, 0.5196585655, -0.050988052, -0.9346232414, 0.5178127289, -0.187355727, -0.1720333844, 0.4396556616, 1.19549191, 0.4213325977, 0.3579028547, 0.817974627, 0.2145462334, 0.7185925245, -0.125921011, 1.2507945299, -0.4689498842, -0.2328360826, 1.2585219145, -0.7510300279, 0.6036413312, 0.7196139097, -0.2339533269, 0.4003029764, 0.8533317447, -0.2330850065, 0.5848220587, 0.3672135472, -0.1610826403, -0.2967665493, -0.253041774, 0.0268646423, 0.0827946588, 0.0885144398, -0.2357620448, 0.1494688392, 0.0188886952, -0.0908655822, -0.033914607, -0.1594620347, 0.3606217206, 0.0312475916, -0.9631300569, 0.3148936927, 0.1274344623, 0.7516877055, -0.3142062128, -0.2497351021, -0.3230236769, -0.1461693943, -0.034403149, -0.5583918691, 0.1858785301, -0.0700018331, -0.5124124289, -0.2873865068, 0.5138678551, -0.3257151544, -0.2957921028, 0.5469739437, 0.4527604878, 0.0141663365, 0.0983435959, -0.4989818931, 0.1304418892, -0.3120371699, -0.5097842216, 0.4972642362, -0.0668665916, -0.0608692355, 0.8258087039, 0.8212888241, -0.0456263907, 0.5291838646, 0.1281371266, 0.7564865351, -0.5692566633, -0.5838329792, -0.8690017462, 0.2391180843, 0.0263779424, 0.0430174805, 0.2000758499, 0.5064886212, 0.8035339117, -0.2573395669, 0.525657773, 0.1193553954, 0.3877189159, -0.8078756928, 0.5804884434, -0.5710303783, 0.5432338715, -0.1223309934, -0.8829783797, 0.1398700178, 0.1323183924, -0.1610331088, 0.0513025597, 0.4519825578, 0.7455491424, -0.1917632371, 0.2920968533, 0.4690068364, 0.1147916168, 0.1702611595, 0.3904485404, 0.8631545901, 0.0352679789, 0.3720872402, -0.6811814308, -0.0242701937, -0.4221021831, -0.9609004855, -0.7266285419, -0.2929687202, -0.1822077781, -0.0620632246, 0.2921986282, 1.1523557901, 0.6577092409, -0.4855853915, -0.2748539448, -0.1935515106, -0.1720969677, -0.5095267892, -0.3579679132, 0.2286147028, -0.2498885691, -0.7393475175, 0.9999992251, 0.188458994, -0.0645196959, -0.1468076408, -0.1897596121, -0.3664959669, 0.2360585034, 0.4033318162, 0.186490342, -0.9250241518, -0.1440342963, 0.0253018104, -0.1308246255, -0.1996501386, 0.3897109926, -0.5823286176, 0.0878127664, 0.323823452, 0.9591214061, 0.9035722017, -0.1782573164, 0.5675798655, -0.6293408275, -0.0617604442, 0.1724068373, 0.5826297402, -0.0436657295, -0.9383749962, 0.7367553711, 0.1153528616, -0.3059201241, -0.6971746087, 0.3138612211, -0.9970241189, -0.1951334476, 0.8888248801, -0.2790402174, -0.3759967685, 0.2321484238, 0.3329933286, 0.5582299232, -0.4332032204, 0.5186907053, 0.302498132, -0.5385579467, -0.2687665224, -0.7678657174, 0.2298870683, 0.6260997057, -0.5523243546, -0.0459268615, 0.4042331576, 0.0583549254, -0.2832909226, 0.5025437474, 0.2038585246, 0.1597911865, -0.3305501044, -0.1107145548, -0.492970854, -0.4758762419, 0.1473497599, 0.0579915829, 0.031604927, 0.1441029012 ]
http://arxiv.org/abs/2404.08495v3
http://arxiv.org/pdf/2404.08495v3
Dataset Reset Policy Optimization for RLHF
2024-04-12T14:25:49
2024-04-16T17:36:39
Jonathan D. Chang, Wenhao Zhan, Owen Oertell, Kianté Brantley, Dipendra Misra, Jason D. Lee, Wen Sun
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning (RL) from Human Preference-based feedback is a popular paradigm for fine-tuning generative models, which has produced impressive models such as GPT-4 and Claude3 Opus. This framework often consists of two steps: learning a reward model from an offline preference dataset followed by running online RL to optimize the learned reward model. In this work, leveraging the idea of reset, we propose a new RLHF algorithm with provable guarantees. Motivated by the fact that offline preference dataset provides informative states (i.e., data that is preferred by the labelers), our new algorithm, Dataset Reset Policy Optimization (DR-PO), integrates the existing offline preference dataset into the online policy training procedure via dataset reset: it directly resets the policy optimizer to the states in the offline dataset, instead of always starting from the initial state distribution. In theory, we show that DR-PO learns to perform at least as good as any policy that is covered by the offline dataset under general function approximation with finite sample complexity. In experiments, we demonstrate that on both the TL;DR summarization and the Anthropic Helpful Harmful (HH) dataset, the generation from DR-PO is better than that from Proximal Policy Optimization (PPO) and Direction Preference Optimization (DPO), under the metric of GPT4 win-rate. Code for this work can be found at https://github.com/Cornell-RL/drpo.
[ -0.3906689882, -0.3882642984, 0.2281635106, -0.4480006397, -0.1382340193, -0.1152099818, -0.3839248717, -0.1598052233, 0.2065424919, 0.5523059368, -1.0377620459, 0.0154571319, -0.1016899124, 0.1939922124, 0.3202145398, 1.4790426493, -0.1088723019, -0.2695418, -0.1970904171, -0.1020199731, -0.417642206, -0.3111608028, -0.6694734693, -0.7946129441, 0.503539145, 0.4639137387, 0.7750086784, 0.6338890791, 0.2357037216, 0.2122973651, 0.2140804678, 0.5419322252, -1.1216495037, -0.0218669251, -0.1917886585, -0.4128144681, -0.2096097767, 0.0296910238, 0.5101964474, 0.2876164913, -0.581738174, -0.1408933401, 0.0111407982, 1.025878191, -0.7487332821, 0.2132629901, -0.4986759722, 0.4038429856, 0.2695023715, -0.6160767674, -0.4426654577, -0.8004866838, 0.0941142663, -0.994519949, 0.1404819936, 0.1205219477, 0.9376872182, 0.4388978779, -0.1616235524, 0.065762572, -0.7897532582, 0.9658027887, -0.4601266384, 0.1249442622, 0.5627949238, 0.4088383317, -0.4605160952, -0.5016759634, -0.617185235, -0.2680817246, 0.0461382307, 0.3950079083, 0.0975204259, 0.134891063, 0.2096449882, 0.4716905355, -0.4109565318, 0.0058548814, -0.1206403375, -0.2612291873, 0.6465167999, 0.183314532, -0.2377462089, -0.0369075313, -0.4284759462, -0.5255371332, -0.857375741, 0.3662292063, 0.4735763073, 0.3262657523, -0.0496240668, 0.2306173891, -0.2942779958, 0.7744358778, 0.1439680606, -0.3025653064, 0.4958296716, -0.1725173444, 0.0337727442, -0.0206973627, 0.347751826, 0.6139211059, 0.4891449809, -0.0079767043, -0.5214361548, -0.2671598196, 0.4074445069, -0.5424233675, -0.3251996636, 0.2568682134, -0.4618606567, -0.5174270272, 0.1774828881, -0.6453319788, -0.5118184686, -0.4385384917, 0.3545636833, -0.0991718993, -0.4895859659, 0.2025656998, 0.0322056264, 0.1064823344, 0.2754737437, -0.9509729743, 0.2223473042, 0.5925014615, 0.4094959795, -0.2087433487, -0.3504572511, -0.7621999383, -0.0986857712, -0.3678494692, 0.4203277528, -0.4028806388, -0.5577014685, 0.2037162483, 0.0291220266, -0.108649388, -0.7073035836, 0.5406730175, -0.6664314866, 0.3057293296, -0.5332682729, -0.5825133324, -0.1645439565, 0.5408298373, -0.8351979852, 0.8662247658, 0.1715045273, -0.803556025, 0.5882937312, -0.765309751, -0.2789657116, -0.222120896, -0.0979541317, -1.0821120739, -0.3245892525, 0.0277391635, 0.1220704615, 0.0287808776, 0.4769302309, -0.477063477, -0.4037995338, 0.0724518448, -0.1926217228, 0.5333406329, 0.0137440581, -0.3647196591, 0.4859746099, -0.6001093388, 0.1639375389, 0.246414274, -0.6918125153, 0.0374017879, 0.1478486061, -0.109816812, 0.193315208, 0.0310099442, -0.7184872031, 0.3916573524, -0.3938936889, 0.6283005476, 1.0054033995, 0.3609770238, 0.2761228979, -0.6051946282, 0.5338451862, -0.3295360208, 0.3152964413, 0.0220674872, -0.3100504875, -0.4043443501, -0.1972916126, 0.1560261399, 0.5208459496, -0.9169418216, 0.5196589231, -0.2097415179, 0.0190960988, -0.2432456911, -0.2542487979, 0.6015175581, 0.7906182408, 0.4103879035, 0.1048117056, -0.4561707377, -0.8779115677, -0.0509906709, -0.0858757049, 0.0979358032, 0.6404049397, 0.5023198128, 0.0538203418, 1.2082208395, -0.672064364, -0.4225737751, -0.2649158835, 0.0848097429, 0.2010884881, 0.2112701386, 0.3284749985, -0.7915520072, -0.2415779084, -0.3115943968, -0.5273157954, 0.2104885578, -0.0257480461, 0.0633130148, 0.2621690631, -0.0058243801, -0.161052838, 0.3648253381, 0.2358768731, -0.1856444776, 0.5938678384, -0.8195346594, 0.2608618438, -0.6384016871, 0.1386975348, -0.3477231562, -0.4345762432, -0.5098463297, -0.1360437274, -0.0517710745, -0.2373197675, -0.5103497505, 0.5417217016, -0.1139083877, -0.1377478391, -0.3870320916, -0.1560227275, -0.099789001, 0.7616743445, 0.2487014085, 0.6609066725, 0.1688973159, -0.7599576116, 0.3564810157, 0.3130196929, -0.0800302699, 0.4362545311, -0.4537929893, 0.027015904, -0.3809994459, 0.6216611862, -0.4647266567, -0.2297036797, 0.4566317499, 0.0174251441, 0.286215961, 0.1522943228, -0.2008795589, -0.3132790029, -0.5413680077, 0.3184233606, 0.4009021223, -0.7527987957, 0.2673563361, 0.3971802592, 0.4321640134, -0.7576441169, -0.1367029399, -0.4243139029, -0.3504803479, -0.082513772, 0.3918559253, -0.0053057005, 0.0700396821, -0.0268225297, 0.0198561382, 0.30054003, 0.0048872153, 0.1433207095, 0.369610846, 0.4638898373, 0.1179557443, -0.3463519514, -0.397256732, -0.1544875801, -0.3635231853, 0.4213977456, -0.1737398058, -0.2060807347, -0.4035998285, -0.0721497461, -0.0020626965, -0.1394744664, 0.3390780389, 0.3984638751, -0.2700306177, -0.3157404661, 0.0032415288, -0.6653025746, -0.4061356187, 0.3521324992, -0.3824629784, -0.5868795514, 0.1860060096, 0.1707573682, 0.3085002303, 0.2145431936, 0.2935056984, -0.0754442662, 0.6475741863, 0.4633830786, -0.2400121838, 0.4525080025, -0.4340849817, 0.116868265, -0.4345145822, -0.344438076, -0.0739592016, -0.378239274, -0.6948497295, -0.0332182348, 0.5595197678, 0.05278017, -0.3986077309, 0.106928952, -0.534181118, 0.4292502105, 0.7248696089, 0.568500042, 0.2334694415, 0.203239888, 0.0424978994, 0.0073037413, -0.7160690427, 0.0097024813, 1.2095282078, 0.2529353797, 0.7362989783, -0.2298541367, 0.8166127205, 0.5638654828, 0.1813983023, -0.6234698296, 0.3164359629, -0.1305115223, -0.3377243578, -0.5844352245, -0.6508321166, -0.9861218333, 0.0284698214, -0.3721389174, -0.4436580539, 0.363090843, 0.8991619945, -0.3811440468, 0.4114959836, -0.2391082793, 0.5845713615, -0.1903579086, -0.4617544413, -0.4880334437, -0.7415665388, 0.3408456147, 0.0406258143, 0.0475361384, -0.2245091349, 0.215536952, 0.8338806033, -0.5351930261, 0.5793423653, -0.7736648321, -0.0603195243, 0.1619548947, -0.2288179994, 0.8351483345, 0.0647112429, -0.08996737, -0.1167483926, -0.0088226805, -0.2729522586, -0.56350106, 0.4410307109, -0.9208961725, -0.2349801958, -0.4607683122, -0.436136663, -0.3634827137, 0.1511593312, 0.3240502477, 0.5059658289, -0.1464709789, -0.0237558037, 0.9180400372, -0.3631327152, 0.3459113538, 0.5180683732, -0.2800991237, -0.6287657022, 1.2454532385, -0.2808836102, 0.3312691748, 0.6163098216, 0.4571388662, -0.4917339087, -0.0447605513, -0.5129315257, 0.0560915843, -0.6109679341, -0.2453337908, -0.1819984317, 0.0248076078, 0.189745307, -0.0233896542, -0.4321744442, -0.4312914312, -0.122330755, -0.0658952296, 0.4567397237, 0.4324284196, -0.4250979125, 0.010789617, -0.3600671589, 0.6153715849, 0.2515676022, 0.4680741131, -0.2086409181, -0.4050869346, -0.0693075284, 0.3643571436, -0.2101382464, -0.5218450427, 0.1142201349, 0.5452673435, 0.4995246828, 0.6325123906, 0.478893131, 0.335029155, -0.4075083137, 0.1928306073, 0.231863454, -0.268507421, 0.4093203247, -0.3641448021, 0.1917223781, 0.7982022166, 0.3121102154, -0.4691172838, 0.2110743821, -0.5757830739, -0.6968838573, 0.8336754441, 0.0362864397, -0.2092136145, 0.2465052456, 0.5338776112, 0.2483630031, 0.4028272629, -0.4685300887, -0.4437309802, -0.5071213245, 0.0692472234, -0.1187442765, -0.0949556902, -0.3804801404, -0.0099372379, 0.9728441834, -0.1393865049, 0.2397352755, -0.0362555385, 0.1792840511, -0.2405765355, 0.2562904358, 0.5789783001, 0.6581626534, -0.6151205897, -0.1845198274, -0.1660109162, -0.3914491534, 0.3825244606, 0.1113820449, -0.7095527649, -0.4720884562, 0.1254478246, 1.0598731041, 0.2656615078, -0.7061775923, 0.3813130856, -0.0523205809, -0.4567336142, -0.3395892978, 0.2444399148, -0.3898312747, -0.1818413436, 0.1926667988, 0.015637435, -0.0284956284, -0.4150690436, 0.556866169, 0.385016799, -0.3415724933, -0.15378654, 0.5602157116, 0.2188330293, -0.1534356773, 0.8081911206, -0.3635183573, -0.6533662081, 0.5483597517, 0.5118695498, 0.5973411202, 0.0043125642, 0.5570263267, 0.6375909448, -0.0825034678, -0.2832912803, 0.585596621, -0.0348242261, -1.0087044239, -0.0200533904, -0.5784384012, -0.5367509127, 0.2130686641, -0.8096879721, 0.0692176223, -0.4109056294, -0.1593800634, -0.3108257651, 0.1890664101, -0.5433138013, 0.437413156, -0.3065841198, 0.5309536457, -0.8268640041, 0.7761507034, 0.4821264744, -0.3434926569, -0.7160346508, -0.0288793538, 0.0638073385, -0.9908096194, 0.3640834689, -0.0019762411, -0.1817360222, 0.2663518786, -0.145553425, -0.7608389258, 1.0037090778, 0.2492215335, -0.5832260251, 0.1829978526, 0.1131950617, 0.1970180273, -0.2163075656, 0.1411924511, 0.7160360813, 0.7108396888, -0.1100097522, -0.7762584686, 0.0349303484, 0.065749459, -0.1209663302, 0.3942602277, -0.498696357, 0.4289270639, -0.5976743102, 0.0204218403, -0.2723104954, 0.3768219352, 0.6549419165, 0.0281647574, 0.9975830317, 0.7131527066, 0.7898288369, -0.1253092438, 1.0700588226, -0.1576351821, 0.5888598561, 1.2352004051, -0.2932232618, 0.8108863235, 0.3385686874, -0.3849706352, 0.2206709087, 0.9796671867, -0.1727230549, 1.0652457476, 0.4182294905, -0.2605684102, -0.1677633375, -0.23749879, -0.3755041659, 0.1614820361, -0.2753069103, -0.0328510404, -0.3672040105, 0.316233784, -0.0831926689, 0.1316584647, -0.346388191, 0.894156754, -0.2829053402, -1.0146664381, 0.8114411235, 0.0882467404, 0.3796363771, -0.519724071, -0.2175059766, -0.2676646709, 0.4734506011, -0.3444141448, -0.6422634721, 0.165042907, -0.5089521408, -0.3751935959, -0.3081735969, 0.5741134882, -0.4442970753, 0.010594354, 0.1266508698, -0.036213778, 0.0169672351, 0.2397677451, -0.7011486888, -0.2386363745, 0.275202632, -0.4248396158, 0.4101004303, -0.2957275808, -0.0960677341, 0.8682362437, 0.4852997661, 0.1754888892, -0.3019945621, 0.1310305148, 0.7149757147, -0.3306835294, -0.8157934546, -0.4480918348, 0.2704287469, 0.0197523683, -0.2350550443, 0.1733471602, 0.5276012421, 0.8883298039, -0.2031554282, 0.9314722419, -0.0927774459, 0.7008901238, -0.6120476127, 0.5701470971, -0.547937274, 0.0196803492, 0.2158609331, -0.7352865934, 0.1905840188, 0.5222129822, -0.3885724247, 0.2052381337, 0.5067132711, 0.8575450182, -0.0306390654, 0.0774767399, 0.1949063092, -0.2698960602, 0.1755212396, 0.6896349788, 0.4974476099, -0.101131402, 0.4556862414, -0.5304422975, -0.4759894907, -0.2393829823, -1.1042771339, -0.5155408382, -0.4099673033, -0.1830045432, -0.4660532475, 0.4218152165, 0.9692447186, 0.6315222979, -0.8902660608, 0.0165316314, -0.2524036467, 0.0568525866, -0.5880789161, -0.2465609759, 0.555599153, -0.2261784673, -0.3547722995, 0.3738936782, 0.1090232283, -0.3539717197, -0.287057966, -0.6748808026, -0.0360649489, -0.2620006204, 0.1976829022, 0.7891804576, -0.5350573063, -0.2740453482, -0.3811272085, 0.2837582827, 0.2277168781, 1.0286009312, -0.8474456668, 0.6595074534, 0.4269029498, 0.7584697008, 0.6177531481, 0.287995249, 0.7268069983, -0.6186537147, 0.0106109232, 0.106704466, 0.2369155437, 0.3487794399, -0.4540329576, 0.4219943881, 0.2591147423, -0.6658746004, -0.6436055899, 0.5219272971, -0.462084651, -0.1697246134, 1.0068106651, -0.337148726, 0.0833753049, -0.0411793329, -0.049652651, 0.2523084581, -0.573829174, 1.0338813066, 0.1912607253, -0.4407573342, -0.1527144909, -0.3719906211, 1.1105061769, 0.3888686299, -0.9330557585, 0.2263394296, 0.4944297671, 0.3501368165, -0.3423627019, 0.8789605498, 0.2530791759, 0.2273339033, -0.4085279703, -0.0044857212, -0.4818539023, -0.4532419443, -0.3299817741, 0.0662850738, 0.0180274472, -0.3533288538 ]
http://arxiv.org/abs/2404.08491v1
http://arxiv.org/pdf/2404.08491v1
Mitigating Language-Level Performance Disparity in mPLMs via Teacher Language Selection and Cross-lingual Self-Distillation
2024-04-12T14:19:16
2024-04-12T14:19:16
Haozhe Zhao, Zefan Cai, Shuzheng Si, Liang Chen, Yufeng He, Kaikai An, Baobao Chang
cs.CL
cs.CL, cs.AI
Large-scale multilingual Pretrained Language Models (mPLMs) yield impressive performance on cross-language tasks, yet significant performance disparities exist across different languages within the same mPLM. Previous studies endeavored to narrow these disparities by supervise fine-tuning the mPLMs with multilingual data. However, obtaining labeled multilingual data is time-consuming, and fine-tuning mPLM with limited labeled multilingual data merely encapsulates the knowledge specific to the labeled data. Therefore, we introduce ALSACE to leverage the learned knowledge from the well-performing languages to guide under-performing ones within the same mPLM, eliminating the need for additional labeled multilingual data. Experiments show that ALSACE effectively mitigates language-level performance disparity across various mPLMs while showing the competitive performance on different multilingual NLU tasks, ranging from full resource to limited resource settings. The code for our approach is available at https://github.com/pkunlp-icler/ALSACE.
[ -0.6701015234, -0.4155759513, 0.3274360895, 0.3747351468, -0.162135303, 0.3382614553, -0.3197417259, -0.2784875929, -0.1080974638, 0.447599858, -0.3753527105, -0.3070304394, -0.9704424143, 0.1099117547, -0.0686704442, 1.0952416658, 0.0967958942, 0.18474935, -0.2639043927, -0.3047748804, -0.2142621279, -0.8300840855, -0.7053349018, -0.7265184522, 0.6787140369, 0.5391994715, 0.3060908914, 0.3873803616, 0.2455841601, 0.2631488442, 0.0229401663, 0.1120859906, -0.6724800467, -0.1297445148, -0.2284982949, -0.2230742127, -0.4137344062, -0.1360147893, 0.8261653185, 0.5162854195, -0.3656975329, 0.1718965173, 0.5201081038, 0.9114385843, -0.8245945573, 0.1516287327, -0.5389936566, 0.1423470825, -0.4849775434, -0.0857601762, -0.3666809201, -0.0706198737, -0.0492359176, -0.3734977841, 0.1795444638, -0.2603811324, 0.6362059712, 0.4376681447, -0.5020474195, 0.1618185341, -0.7227405906, 0.8583645225, -0.6337602735, 0.647030592, 0.7111161351, 0.3719614148, 0.1732023656, -0.487688601, -0.1978491843, -0.0701801702, -0.4054235518, 0.0324912369, -0.2401803136, -0.2207630277, 0.3336080015, 0.0900179744, -0.7526004314, 0.4481146336, -0.2517327666, -0.1861795634, 0.6273049712, -0.0784546435, 0.1650296599, 0.3538184762, -0.2175693065, -0.0888760611, -0.6985062361, 0.1395654231, 0.5414949656, 0.3943605721, -0.0267810859, 0.2786331475, -0.2905137539, 0.6101272106, -0.1985203922, -0.2183910161, 0.399761796, -0.1315026879, 0.0028997136, 0.1295088679, 0.6275982261, 0.0476090871, 0.5241184831, -0.0696353763, -0.5323404074, -0.0704630762, -0.1363243014, -0.9137698412, -0.732357502, -0.2237101793, -0.1847021431, 0.219044745, -0.2834049761, -0.8936417103, -0.1203551814, -0.3338738382, 0.3634606004, -0.1356092691, -0.3927046657, -0.1191538349, -0.1290459335, -0.3203222454, 0.0576960482, -1.2133899927, 0.3331041634, 0.3916496933, 0.5775089264, -0.2040911913, -0.8683977723, -0.7015776634, 0.2823891342, -0.0905198231, 0.5284073353, -0.6762341261, -0.4490664601, -0.1526175141, -0.1526720673, -0.1694548726, -0.6450644732, 0.146730721, -0.3263475597, 0.1991029084, -0.249756217, -0.4354527295, 0.0960010439, 0.182730481, -0.7558790445, 1.3344968557, 0.1046286002, -0.7024719119, 0.6009165645, -0.3183248043, -0.7038174868, -0.1095205396, -0.1394322366, -0.511007607, 0.0425337069, 0.6414347291, 0.3611713946, -0.1548465043, 0.2008829862, 0.2171839029, -0.240940541, -0.3769450486, -0.59732306, 0.5181812048, 0.118500486, -0.361571312, 0.0295345522, -0.824647665, -0.0216403548, 0.1052941754, -0.4522432685, -0.321449101, 0.0617805347, -0.1189564615, 0.3957691491, 0.2714369595, -0.2793818116, 0.2005243003, -0.0766208246, 0.1348212659, 0.7133548856, -0.4054661393, 0.5141020417, -0.1236475557, 0.5817195177, 0.1601892859, 0.3170296252, 0.1278117001, -0.2882189751, -0.7032435536, -0.4654941857, 0.5045528412, 0.4843666255, -0.9265245795, 0.1844448745, -0.0945121497, -0.6243821383, -0.6986726522, 0.5543608665, 0.4435568452, 0.5054735541, 0.7081923485, -0.3104617298, -0.0842680037, -1.1208585501, -0.2329832613, 0.1270765066, 0.210744977, 0.1751865596, 0.2093323767, -0.1861998886, 0.5801493526, -0.5897158384, -0.5204947591, -0.4121468663, 0.1854591668, 0.1216541156, 0.6285511851, 0.8029252887, -0.8677367568, -0.8039925694, -0.0077375635, -0.2279963493, -0.3179447353, 0.2016376108, -0.2081908286, 0.4100694656, 0.5998517871, -0.1266292036, 0.1469696909, 0.9135729671, -0.2169088721, 0.4212559462, -0.4898063838, 0.144348368, -0.6814575195, 0.0789905787, -0.0054717665, -0.3499625027, -0.5099144578, -0.2775300145, 0.0712096021, -0.0170402639, -0.3738913238, 0.3931525052, -0.502997458, 0.1264394969, -0.1729758829, 0.0841059834, 0.0708475038, 0.529196322, 0.2783034444, 0.6269161105, 0.7129973769, -0.5632995367, -0.0005020162, 0.0096309008, -0.4362010062, 0.260381937, -0.3484536409, -0.0993709043, -0.1378814131, 0.0919184089, -0.5561657548, 0.1157984287, -0.0026892868, -0.0696489513, 0.529109776, -0.4518297911, -0.4267293513, -0.1734209508, 0.257990092, 0.7241050005, 0.606959343, -0.6566716433, 0.4271110594, 0.4653818309, -0.283063978, -0.8373810649, -0.8068891168, -0.0753525943, -0.2427212, -0.1268527657, 0.0421862826, -0.0007164924, -0.0169193428, -0.1034078076, -0.0564093441, -0.2938564122, 0.26155141, -0.1934805065, -0.0037541757, -0.1155200377, 0.3557439148, 0.1326987445, -0.3328555226, -0.1630911678, -0.3518372178, 0.735152185, 0.1477466375, -0.5658254027, -0.1057522818, 0.3766935468, 0.4182363451, -0.8125457764, 1.0470255613, 0.7405318022, -0.1124479249, -0.5626820326, -0.5071471334, -0.325927943, -0.4429452717, 0.3313976526, -0.5659580827, -0.9259850979, 0.2769906521, -0.1309794337, -0.1348296553, 0.3029253185, 0.4778431952, 0.1627364159, 1.0334994793, 0.7734423876, -0.4528940022, 0.5289103389, -0.146626249, 0.294072032, -0.3731107116, -0.1238789707, -0.5745555162, -0.3441339433, -0.6772298217, -0.4354304969, 0.4076150954, 0.2923223078, -0.0349669419, 0.2259085923, -0.4165592492, 0.7025379539, 0.8332952857, -0.1758366078, 0.2742660046, -0.0783109739, -0.2471488416, -0.1533949971, -1.0694741011, -0.4045247734, 0.8308033347, 0.1788990349, 0.6969942451, 0.1832704693, 0.9430612326, 0.0875501856, 0.0427795127, -0.1766116172, 0.3092872202, -0.4579316676, -0.4422832727, -0.5854525566, -0.7067494988, -0.8042859435, 0.5127502084, -0.1494971514, -0.6282518506, 0.0184979942, 0.4448426962, -0.0336202607, 0.3263465464, -0.762975812, 1.2799762487, -0.5443526506, -0.2903643847, -0.3921890855, -0.473649323, -0.0830564126, -0.5277360678, 0.3712010682, -0.462792784, 0.3404493332, 0.3473240435, -0.2105022222, 0.7755577564, -0.4030844271, -0.3657101989, 0.0624160618, 0.1218767613, 0.5561813116, -0.0452458225, -0.1376121044, 0.4309490025, -0.0228640232, -0.6176367998, -0.5465492606, 0.837995708, -0.7063674331, -0.6465727687, -0.2015931904, -0.4698849618, -0.3822777271, 0.2432206869, 0.4337788522, 0.5078988671, -0.147861138, -0.1025347114, 0.4725389183, -0.1971216053, 0.4559182823, 0.6310196519, -0.344376713, -0.0977617353, 1.3458672762, 0.3428038061, 0.4468316734, 0.536552608, 0.3093366027, -0.4227727056, -0.5351256728, -0.4992018342, 0.0098770652, -0.5999225974, 0.0129745994, -0.4672842324, -0.0578745864, -0.5174372792, 0.0733881667, -0.5182855129, -0.4180926979, -0.1228080392, 0.0418447405, -0.0373315103, 0.7042815089, -0.3609191775, 0.0897534192, -0.9232548475, 0.1989034861, 0.3273318112, 0.4888449609, 0.1113178506, -0.3704668581, -0.4941397905, 0.1615975499, -0.209144339, -0.3511824608, 0.3057464957, 0.4540397525, 0.8193282485, 0.0319087282, 0.2329418659, 0.5943624377, -0.8751171231, 0.6018072367, 0.1338768899, -0.9967642426, 0.6390166283, -0.0616600551, 0.5984094143, 0.526574254, 0.5858437419, -0.5098202825, -0.5188661218, -0.2599304914, -1.0351427794, 0.7819082141, 0.1864476055, 0.0261945035, 0.1247760355, -0.1846578419, 0.1743403822, 0.2058912665, -0.9786763191, -0.3107079566, -0.2588231564, -0.0562157482, -0.7823466659, -0.2392884493, -0.2861639559, -0.4395250976, 0.861468792, -0.2158132046, -0.3577472866, 0.12352328, -0.2848322093, -0.0625209436, 0.2902477682, 0.511732161, 0.942538619, 0.2572926879, 0.2828900516, 0.3857840002, -0.1557259858, 0.3301862776, 0.2644197941, 0.2409519702, -0.2110548615, 0.5350145698, 0.8739659786, 0.0295448955, -0.581430912, 0.2675901353, -0.0660326257, 0.0184828937, 0.0832059681, 0.1523690522, 0.0956381634, 0.3539108634, 0.2204445601, -0.1943211108, -0.098115474, -0.2816720903, 0.3109649122, 0.1481814831, -0.2096341848, -0.0282922331, 0.5277042985, 0.4058100879, -0.23150374, 0.5424221754, -0.0392752551, -0.6212695837, 0.4565445185, 0.43274647, 0.5726809502, -0.5178456903, 0.2561562359, 0.2381466329, 0.4377836585, -0.1000038832, 0.0185224172, -0.2561379075, -0.6134381294, -0.4188686609, -0.7088656425, -0.0170232747, -0.0456600413, -0.7277536988, 0.219358027, -0.1180845946, -0.0583295114, -0.0992238298, -0.301176995, -0.657104075, 0.3065009415, 0.2560613155, 0.8607547879, -0.8968339562, 1.2279244661, 0.4829527736, -0.0808391571, -0.7549829483, 0.2253823131, -0.1907321513, -0.5735036135, 0.7674678564, -0.0498332046, -0.293430239, 0.1670975387, 0.1594600528, -0.649331212, 0.6275317073, 0.688488543, -1.1626447439, 0.3429608047, 0.5843340755, 0.6312769651, -0.0915678889, 0.0298136156, 0.6634511948, 0.4917542338, -0.0833100975, -1.2949948311, -0.4866328835, 0.0214716829, -0.3238794208, 0.6420922279, -0.6543284059, 0.7306615114, 0.0142217148, 0.058057297, -0.482499361, 0.3056236804, -0.0494243465, 0.3011336923, 0.5087723136, 0.763389647, 0.7330100536, -0.1737891734, 0.8589608669, -0.505617857, 0.4284623265, 1.335490346, -0.3822361827, 0.7731230855, 0.4433723092, -0.0127898268, 0.2706189752, 0.4976336658, 0.0884912834, 0.7423382401, 0.1992508173, -0.4400007129, -0.6108702421, -0.0978840888, -0.4532056451, 0.6488992572, 0.0872961059, -0.072614491, -0.4314454794, 0.2171482891, -0.1933800578, 0.2807050347, -0.3373914361, 0.82325387, 0.0450726263, -0.7217294574, 0.7118667364, -0.2284797877, 0.4588989615, -0.7020461559, -0.1720027924, -0.2125436515, 0.2799269855, -0.0834374502, -0.8232265711, 0.2248773277, 0.001654778, -0.1903847456, -0.5498921275, 0.591093123, -1.0364784002, -0.547226429, 0.8683283925, 0.7463986874, 0.00560776, -0.0454636775, -0.6160415411, 0.0294037368, 0.0102469437, -0.131538853, 0.537627995, 0.6166558266, 0.1155942306, 0.7522284985, 0.3547460735, 0.2247337103, 0.0290713031, 0.4136977494, 0.879189074, -0.1257572919, -0.5152940154, -1.1346657276, 0.4706278145, -0.0446056165, -0.4725114107, 0.8343859315, 0.7366575599, 1.3376909494, -0.054463882, 0.6271958947, 0.2275030315, 0.4595686793, -0.5549208522, 1.0452848673, -0.878171742, 0.1059514135, -0.2052133381, -1.0293759108, -0.0946347788, 0.3795736134, -0.2706151009, 0.0467602834, 0.3272438943, 0.6621090174, -0.2254737616, -0.3968706131, 0.6635278463, 0.0304208882, 0.3526961207, 0.5232715607, 0.7419216037, 0.1044340581, 0.4124207199, -0.4934208691, -0.1735744029, 0.135192588, -0.8762239218, -1.0432533026, -0.6299403906, -0.2886586189, 0.1459442824, 0.1859852225, 0.6410260797, 0.8365390301, -0.832557261, -0.3713312447, 0.1329420954, 0.262583673, -0.0642022043, -0.1206341311, 0.1660875529, -0.3942053616, -0.9382258058, 0.4569352865, 0.0908221453, 0.2416038662, -0.2122066319, -0.2579920292, -0.3353486061, -0.2339254618, 0.536575973, 0.1830805391, -0.4223123789, 0.0619809367, -0.5871393085, -0.118477948, 0.0424080268, 0.9866124392, -0.6212713122, 0.4502004683, 0.2574276328, 0.5004385114, 0.5100939274, -0.1603342742, 0.6619513631, -1.22488904, 0.4393260181, 0.3941567838, 0.3625105321, 0.3163907528, -0.3067640662, 0.4675352275, 0.0878542364, -0.6460074186, -0.7841600776, 0.1388389766, -0.2280973047, -0.5327255726, 0.991057992, -0.2594192028, 0.2615606487, 0.1123745218, -0.2317827493, 0.1584244668, -0.166458264, 0.717546761, 0.9734162092, -0.1212095544, -0.317062676, -0.3653039038, 0.8278791308, 0.5980753303, -0.734657824, 0.1651017517, 0.3138267696, 0.1638579965, -0.0979531482, 0.6414490938, 0.3015139103, 0.0836482272, -0.1612068713, 0.0430810265, 0.0695048794, -0.799387157, -0.318230778, -0.0583112091, 0.275975436, -0.0862347037 ]
http://arxiv.org/abs/2404.08488v1
http://arxiv.org/pdf/2404.08488v1
Thematic Analysis with Large Language Models: does it work with languages other than English? A targeted test in Italian
2024-04-12T14:10:09
2024-04-12T14:10:09
Stefano De Paoli
cs.CL
cs.CL
This paper proposes a test to perform Thematic Analysis (TA) with Large Language Model (LLM) on data which is in a different language than English. While there has been initial promising work on using pre-trained LLMs for TA on data in English, we lack any tests on whether these models can reasonably perform the same analysis with good quality in other language. In this paper a test will be proposed using an open access dataset of semi-structured interviews in Italian. The test shows that a pre-trained model can perform such a TA on the data, also using prompts in Italian. A comparative test shows the model capacity to produce themes which have a good resemblance with those produced independently by human researchers. The main implication of this study is that pre-trained LLMs may thus be suitable to support analysis in multilingual situations, so long as the language is supported by the model used.
[ -0.2789089978, -0.7446406484, 0.6379208565, 0.2535771728, -0.4496649802, 0.0691119507, -0.4794453681, -0.7283792496, 0.6906163692, 0.3223913908, -0.5572049022, -0.6704446673, -0.4632240236, 0.5552206635, -0.5945855975, 0.8437846899, -0.2039934844, 0.7258855104, -0.1993852407, -0.4661003053, -0.5202645063, -0.483181417, -1.0402094126, -0.2342101187, 0.6930329204, 0.3811815679, 0.1364392191, 0.0382864513, 0.5369154811, 0.3091098964, -0.0952649936, 0.0615714565, -0.4014793634, -0.0302198194, -0.4945159256, -0.722538054, -0.218448326, 0.0935409293, 0.7034491301, 0.6905457973, 0.0967527628, 0.272175312, 0.0513205007, 0.4067642689, -0.2711997032, 0.2595371008, -0.7026669383, 0.1109643504, -0.2165371031, -0.0759648755, -0.3506036997, -0.3881894052, -0.1442420334, -0.0885172412, -0.0174029712, 0.2531713247, 0.9379069805, 0.0072342642, -0.5517206788, -0.2947225571, -0.9703948498, 0.7155621648, -0.6029108763, 0.1733376831, 0.4081636667, 0.2991456687, -0.0434593894, -0.659683466, -0.4124076962, -0.5819484591, 0.0590335019, 0.1571860015, -0.2218143344, -0.2976796925, 0.1421626061, 0.4678343236, -0.5435090065, 0.4512723684, -0.2159205377, 0.0123096732, 0.6475651264, 0.2875252962, 0.3834192157, 0.0782860667, -0.2950468957, 0.2411327809, -1.1101225615, -0.0219162218, 0.4486913979, 0.5161269903, -0.1936358809, 0.871948123, 0.0445238575, 0.384221673, -0.334228456, -0.1297542155, 0.0739014298, -0.5206145048, 0.161016643, 0.0408986546, 0.8892390728, 0.2491470277, 0.770047307, 0.045158118, -0.2627205849, -0.2085014582, -0.0625331402, -0.5522556901, 0.1109911501, 0.0275077634, -0.3048125505, 0.1774473637, 0.1186840162, -0.8189604878, -0.1475093812, -0.2598876357, 0.0540685244, -0.3490123749, -0.2510044873, 0.2479596585, 0.2931786776, 0.2173441499, 0.2106433809, -0.4690829515, 0.0543659776, 0.5276625752, 0.9310068488, -0.3175338507, -0.3944606185, -0.3068834543, 0.0613232069, -0.3922303319, 0.8799039721, -0.6983755827, -0.4631582499, 0.2027863711, 0.2404354215, -0.1057743058, -0.2945503891, 0.2964333594, -0.3685832024, 0.5940931439, -0.2202603668, -0.4707652628, 0.0400104783, 0.4988685846, -0.7188101411, 1.1847550869, -0.0336817428, -0.8554556966, 0.2190455347, -0.6192780733, -0.4765297472, -0.1187669858, -0.4306680858, -0.3780468404, 0.2197839469, 0.009620822, 0.2652074695, -0.7092260718, 0.683144033, -0.3820397258, -0.2989037037, 0.4341034591, -0.2847556472, 0.7370629907, 0.2731521726, -0.4981030822, -0.0395326018, -0.8065932989, -0.1287120134, 0.3171673417, -0.0825751722, -0.5281172991, 0.1978112757, 0.2162538469, 0.1051718444, 0.1555079222, -0.8264325261, 0.2766365707, -0.3736833632, 0.2916446328, 0.4935338497, -0.1078917682, 0.0146305198, -0.1277759224, 0.9542862177, 0.0485684946, -0.4056016207, -0.1341466606, -0.4338552654, -0.8224049807, -0.5359840989, 0.5787709951, 0.6368611455, -0.9487258792, 0.5219119787, -0.3725216687, -0.4132754207, -0.3233599365, -0.2698809505, 0.2615735233, 0.1473042369, -0.0262903608, -0.5751827955, -0.6737368703, -0.9629876018, -0.3114734888, -0.3734293878, 0.0033848153, 0.2600133121, 0.9065204859, 0.1361228824, 1.0180573463, -0.3290519118, -0.2905206978, -0.5732290745, 0.212507084, 0.379830718, 0.3491441309, 0.7999093533, -0.5717164278, -0.3983524144, 0.147032544, -0.6559374332, -0.1795095354, 0.1429840773, 0.2381015569, -0.0186559651, 0.4541923106, -0.5861829519, 0.3854125142, 0.4867822826, -0.3685899079, 0.3612204492, -0.2578834593, 0.3107974231, -1.494030118, 0.2127020508, 0.2838797867, -0.0831263289, -0.4769113064, 0.0286181308, -0.267649889, -0.5535168648, -0.6407444477, 0.9454889894, -0.4048778713, -0.1907723844, -0.1517104954, -0.2232800871, -0.1309635341, 0.158240214, 0.403878808, 0.9979500175, 0.4568148255, -0.1847707778, 0.1102946699, 0.0517165288, -0.7732358575, 0.5962080359, -0.7205092311, 0.1077285036, -0.206908375, 0.0548855588, -1.2363941669, -0.0892620459, 0.1437926441, -0.2984101176, 0.1124122068, 0.0497293696, -0.5648846626, -0.2935898304, -0.1053705141, 0.4557828605, 0.2255921215, -0.3288921118, 0.401161164, 0.2345689535, -0.4648301303, -0.2897396982, -0.7799780369, 0.0893255621, -0.8077622056, -0.4211834073, -0.0492591411, -0.0542355403, -0.5783904195, -0.2552873194, 0.2553460896, -0.6822231412, 0.2623846233, -0.2200270146, 0.0897387639, -0.573300004, 0.102356866, -0.1506825536, -0.0348628201, 0.0867155716, -0.4695251584, 0.6035448313, 0.0913054869, -0.6111141443, -0.5405551195, 0.4642244577, 0.5341089964, -0.6203853488, 0.7834248543, 0.5022398233, -0.2705812156, 0.0472360924, -0.4693353176, -0.0372373648, -0.3990264237, 0.4880453348, -0.5180723667, -0.9882593751, 0.7344718575, -0.0363989659, -0.1948673874, 0.411082238, 0.7746922374, -0.331841141, 0.841594696, 0.7578995824, -0.4570698738, 0.6184931993, -0.1255968213, 0.3202166557, -0.2040221095, -0.171098277, -1.2177326679, -0.3919740915, -0.798469007, -0.1798770875, 0.4252453446, -0.3068161607, 0.0056220321, 0.0026940666, 0.074200578, 0.7060781121, 0.2762001455, -0.0534083955, 0.4522859752, 0.1982882172, -0.0069138934, -0.2939138114, -0.4804365635, -0.6052105427, 0.8340275288, 0.1832221001, 0.66143471, -0.0494519472, 0.5273502469, -0.0451740623, 0.1173551977, -0.8157708049, 0.4887427986, -0.1542691439, -0.74472785, -0.2283811569, -0.3548883498, -1.2710710764, 0.1688300371, 0.0391210727, -0.7543377876, 0.1911717057, -0.3467641771, 0.0430172719, 0.4102076888, -0.5077353716, 0.5837328434, -0.2935031652, -0.1380758286, -0.1166462749, -0.2977616191, 0.2693777382, -0.217481941, 0.3741755188, -0.2847364545, 0.0125830788, 0.7936521769, 0.0659368932, 0.9816922545, -0.0455255918, -0.2438367903, 0.311378181, 0.0280117821, 0.2581169009, 0.2199887931, -0.254888773, 0.3401737511, 0.0591264591, -0.5206076503, -0.5452690125, 0.3651800454, -0.6349851489, -0.7588207126, -0.5005735159, -0.7262619138, -0.3998698592, 0.215140745, 0.0549671538, 0.314253062, -0.4173723161, 0.3676208258, 0.4965365231, -0.1634296179, 0.3497935832, 0.9828464389, -0.1761078984, -0.1093714461, 0.6199077964, 0.0609953031, -0.0179702565, 0.3599281013, 0.2967224717, -0.0508726351, -0.9365873933, -0.2903354466, 0.3425585032, -0.2027635872, 0.042562373, -0.1307049841, -0.0025429272, -0.0981346518, 0.2495806664, -0.4140520096, -0.2173312306, -0.1356510371, -0.2393220812, 0.3746806085, 0.803919971, 0.1526935846, 0.0733624101, -0.8001986146, -0.1055920124, -0.1417174637, 0.0371120982, -0.3308889866, -0.3909491599, -0.4336969256, 0.1675633937, -0.0625094101, -0.9446729422, 0.3843692541, 0.204095751, 0.4463200271, 0.3711721003, -0.1649321914, 0.6837975979, -0.7663196921, 0.9177814126, 0.1735419184, -0.7707983851, 0.5997961164, -0.6849786639, 0.1752753705, 1.0197826624, 0.9228103161, -0.3744005561, -0.8056569099, -0.4242299199, -0.4838881791, 0.7524086833, 0.2210896313, 0.387258172, -0.1818266362, 0.527077198, 0.2283329666, 0.30447945, -0.9368225932, -0.1044439748, 0.4533909559, -0.4825263917, -0.5609906912, -0.2548337579, -0.2290595472, -0.3520895541, 0.2185657024, -0.0528781377, 0.3220286369, 0.0513629988, 0.1124908254, 0.0611969195, 0.335493207, 0.3033021092, 0.9436869621, 0.1042123213, -0.0040783971, 0.2955355644, -0.3109553158, 0.4515792429, -0.1311299056, -0.1406879276, 0.1243162304, 0.7946372628, 0.7395884991, 0.2655341029, -0.7450249195, 0.3767920434, -0.1706976295, -0.0637001693, -0.4142836332, -0.1718528122, 0.0855849683, 0.320189029, 0.1491977274, -0.5054109097, -0.1181886271, -0.9986088276, 0.108445704, 0.5074692965, -0.3213615716, -0.5174181461, 0.3574541807, 0.2822508812, -0.518073082, 0.6214766502, -0.0737635344, -0.358789593, 0.888494432, 0.6957314014, 0.8014395833, -0.4556617439, 0.2045882791, 0.1585041732, 0.4797844887, 0.1021054313, 0.590167284, 0.1909060627, -0.848402679, -0.5341315866, -0.4571497142, -0.4647041857, 0.1003431529, -0.9829953909, 0.4550786316, -0.1103616133, 0.1654370576, -0.3293988109, 0.151239872, -0.4883026183, 0.3710560799, -0.0907201692, 1.036824584, -1.2538605928, 1.2358349562, 1.0297863483, -0.3803715408, -0.7054371834, 0.0502548479, -0.1645368636, -1.0000860691, 0.7943986058, 0.1029950753, -0.0447270684, -0.0058929049, -0.3740025163, -0.8175123334, 0.9908460379, 0.7016646266, -0.4949496388, -0.1072171852, 0.4787463546, 0.9058883786, -0.6996312737, 0.6702404618, 0.574729085, 0.5424143076, 0.1754671037, -0.9946809411, -0.4526215196, -0.2019300312, -0.0346762463, 0.2836672068, -0.7356439829, 0.7754007578, 0.2915677726, -0.1727204323, 0.4148158431, 0.8274483085, 0.1870690882, 0.5447791219, 0.50739187, 0.4708655477, 0.7245109677, -0.2796197832, 1.2240463495, -0.4333670139, 0.5660665035, 0.9789690971, -0.7018837333, 0.8680312037, 0.5602985024, -0.3450097442, 0.6202367544, 0.9608228803, 0.1983876228, 0.4540601075, 0.1932352185, -0.1266107708, -0.0747990534, -0.5221982002, -0.4760283828, 0.8358379006, 0.0518413819, -0.1712478697, -0.3486407101, 0.3016315997, 0.1940141022, 0.1796209961, -0.3703297079, 0.6714636087, 0.0990467891, -0.5774284005, 0.1901615858, 0.1794981807, 0.306279242, -0.9052230716, 0.2413743883, -0.7331759334, -0.1006395072, 0.0431343503, -0.6485832334, 0.5922092795, 0.4300966561, 0.0475124121, -0.1286097318, 0.4256059229, -0.6334432364, -0.9550803304, 0.4167546332, 0.9002688527, 0.4338229895, 0.1493596584, -0.6571449041, 0.0149091789, 0.0548627526, -0.2174703777, 0.4662249982, 0.5787683725, -0.2279020548, 0.5197778344, 0.3681468666, 0.3538146317, -0.2333236486, 0.1471533477, 0.7397249341, -0.8147149086, -0.5129069686, -0.9507763386, 0.4906887412, 0.0664352402, -0.335878253, 0.8909575939, 0.6093221307, 0.8581926823, 0.052671548, 0.3535734117, 0.0221700985, 0.3878789842, -1.0123157501, 0.388768971, -0.8474630117, 0.1089426726, -0.1657494754, -1.2449749708, -0.1446468234, 0.474141866, -0.4457394481, 0.1696788371, 1.2596236467, 0.731910944, -0.0838148519, 0.1590742022, 0.3688279688, 0.2704318762, 0.1070311591, 0.5851553679, 1.2839856148, 0.1056784466, -0.0239210688, 0.0409887731, -0.0582336672, 0.4102532268, -0.8012611866, -1.3187355995, -0.4932527244, -0.0919516385, -0.137102589, 0.0673687011, 0.7838852406, 0.3290461898, -0.9960145354, -0.6370397806, 0.3500218391, 0.0345181264, 0.2200322002, -0.1515477747, 0.2845580578, -0.091031462, -1.1912180185, 0.5940136313, 0.1644162387, -0.1943144202, -0.4501245916, 0.2875789106, -0.4156179428, 0.0259088725, 0.3612054586, 0.0434028432, -0.5332274437, -0.4955217242, -0.0696273595, 0.1256488562, 0.222591266, 1.3292120695, -0.3924949765, 0.2986437082, 0.369554162, 0.7317075133, 0.4853722155, -0.1587194502, 0.6834958792, -0.7894316912, 0.6486068964, 0.2777711749, 0.7455426455, 0.0877131522, -0.2901009321, 0.6474406123, 0.1712020934, -0.1532342434, -0.7753209472, 0.3176775277, -0.6310293674, -0.2106662691, 1.2550312281, -0.665034771, -0.1104383394, -0.0601873957, -0.1610423923, 0.0324886739, -0.0057791807, 0.7798332572, 1.1524927616, 0.059828233, 0.0439892188, -0.3287896812, -0.1849375963, 0.6119237542, -1.1877148151, -0.5059787631, 0.2200680077, 0.2768952847, -0.0199803077, 0.6554747224, -0.142028302, 0.0946224183, -0.5086990595, 0.0193080734, 0.0690598562, -0.4842101932, -0.7078205347, 0.1020938754, 0.3286990225, 0.0652233958 ]
http://arxiv.org/abs/2404.08480v1
http://arxiv.org/pdf/2404.08480v1
Decoding AI: The inside story of data analysis in ChatGPT
2024-04-12T13:57:30
2024-04-12T13:57:30
Ozan Evkaya, Miguel de Carvalho
cs.LG
cs.LG, cs.CL, stat.CO
As a result of recent advancements in generative AI, the field of Data Science is prone to various changes. This review critically examines the Data Analysis (DA) capabilities of ChatGPT assessing its performance across a wide range of tasks. While DA provides researchers and practitioners with unprecedented analytical capabilities, it is far from being perfect, and it is important to recognize and address its limitations.
[ -0.3029977679, -1.0880637169, 0.3610663712, 0.1475406736, 0.0149969421, 0.5313408971, 0.1530847549, -0.6078084111, -0.2369395494, 0.1724940091, -0.4697937667, -0.2189383805, -0.8665322065, 0.093430303, -0.7568045855, 1.262575388, 0.0499718152, 0.1184697673, -0.3848073483, 0.025041068, -0.7686100602, -0.8386674523, -1.1834614277, 0.0255348831, -0.1144624501, 0.6726768613, 0.8773249984, 0.4040739238, 1.027007699, 0.2341129035, 0.075234957, 0.1107021272, -0.6573283672, 0.3443262577, 0.435677886, -0.7093257308, -0.5048994422, -0.065718621, 0.8034793139, 0.8661797643, -0.0685494095, -0.079823263, 0.1098571569, 1.0387142897, -0.2685491145, 0.9551705122, -0.4797599912, 0.164911896, -0.5253655314, -0.2092822045, -0.2629337311, -0.4226866364, 0.4495724738, -0.4728145301, 0.5472223163, -0.0178920813, 0.5239825845, 0.6361442804, -0.4607573152, -0.6271968484, -1.0609002113, 0.5685122013, -0.4450004995, 0.2709751129, 0.4560401142, 0.6100190878, -0.2324509472, -0.8609690666, -0.6305636764, -0.2070642859, 0.1526951343, 0.2248969823, -0.5552058816, 0.1829278469, 0.2399781644, 0.9382058978, -0.5846251845, -0.1033384725, -0.5936124325, 0.1010900885, 0.8924888968, 0.6499570608, 0.578395009, 0.0771328062, -0.0384128466, -0.2057336718, -0.459408015, -0.1388976872, 0.2147476524, 0.0037205869, -0.1911576837, 0.5758214593, -0.2080095559, 0.5466273427, -0.3656732142, 0.4059037566, 0.0762024969, -0.3621255457, -0.3204312921, 0.0160688534, 0.6552394032, 0.4083992839, 0.1217652783, -0.3996300697, 0.1264113188, 0.116148524, 0.3713830113, -0.6694689989, -0.7687602639, 0.2924701869, -0.5463628769, -0.2016143203, 0.0674787685, -1.1110675335, -0.7039917707, -0.1806605309, -0.0073138387, -0.6155754328, -0.3479017317, 0.132239446, -0.366127491, 0.6371501088, 0.222370699, -0.8062009811, 0.4281225801, 0.7665396929, 1.0135115385, -0.2686848342, -0.1839371324, -0.2066743523, -0.3532731831, -0.5152863264, 1.0154144764, -0.5900269151, -0.642003417, -0.2444800735, -0.3031537235, -0.46843642, -0.356785953, 0.64133811, -0.7216370702, -0.0103315711, -0.2559995055, -0.8277792335, -0.3893841803, 0.200819701, -0.8568702936, 0.8081373572, 0.1803289205, -0.8641633391, 0.698626101, -1.170771718, -0.1541928798, 0.0912540108, -0.2526501715, -0.5889678597, 0.1021315679, 0.2670866251, 0.2927751839, -0.2594701052, -0.1155324727, -0.0452587716, -0.5128346086, 0.6210237741, -0.8660671115, 0.9281183481, 0.5441009998, -0.179749772, 0.0551498197, -0.8404996991, -0.036059618, 0.1781776696, -0.1881176978, 0.2072880566, 0.4209587276, -0.1612953842, -0.365152061, -0.3682552576, -0.3542784154, 0.3748452663, -0.4112403095, 0.6347042322, 0.3971281648, 0.0972834453, 0.3424316049, -0.2397837192, 0.9510495067, -0.2295236439, -0.1029377356, -0.2485574633, -0.7911394835, -0.6695002913, -0.1232055724, 0.5279906392, 0.6942840219, -0.9078752398, 0.1069400758, -0.2857938409, -0.3593951762, -0.9091022611, -0.2904688716, -0.0185320172, 0.1278668046, 0.224378258, -0.277970016, -0.510776937, -0.6025128365, -0.0085420031, -0.1932414621, 0.0089936228, 0.0773392916, 0.3200520873, -0.2535172403, 0.9347431064, -0.5903072953, -0.2714374959, -0.4614720345, 0.2010342181, 0.0969303027, 0.234477818, 0.4985097945, -0.8827040792, -0.6531897187, 0.1999244839, -0.877619803, 0.1071211919, -0.2145317197, 0.1774621755, -0.0929327831, 0.64668715, -0.6570747495, 0.8759739399, 0.426692605, -0.4244046807, 0.536937952, -0.2678990364, 0.3970811665, -0.689427495, 0.0799060762, -0.3732985556, 0.1771928668, -0.8454071879, -0.1442813426, -0.1667839587, -0.4868673086, 0.2886502147, 0.1038170755, -0.4015266001, -0.2052280754, -0.6875253916, -0.3523194194, -0.2939482629, 0.0464079529, -0.2239973247, 0.9265992045, 0.9076450467, -0.5073606372, 0.7780265212, 0.5278980732, -0.5892949104, 0.4447899163, -0.5781463981, 0.4575357735, -0.3861887455, 0.3056900203, -1.376686573, -0.501830101, 0.5116130114, -0.7207168937, 0.1317608356, -0.3723737895, -0.6145522594, -0.2009491622, -0.0130169392, 0.6403978467, 0.5829344988, -0.5124747753, 0.2257414907, 0.4521315694, -0.2168516666, -0.3287602365, -0.5616976023, 0.4019194245, -0.5711545944, -0.7275422812, 0.1741385013, -0.1794863492, -0.6447402239, 0.0515061729, 0.1103420556, -0.4186772406, 0.1939472854, 0.1283258647, 0.1045987979, -0.0065672463, 0.1005769297, -0.1887633502, -0.4830649495, 0.3506610096, 0.1558161676, 0.5112327933, -0.0808618814, -0.3471625745, -0.6895290017, 0.3212778866, 0.5872901082, -0.2452386767, 0.6050996184, 0.5542854071, -0.0414155722, -0.168375507, 0.0212290138, 0.1620399654, -0.4299752116, 0.3709692061, -0.4368881583, -0.2247533649, 0.6041066647, 0.2819343209, -0.0386630893, 0.5057495832, 0.3405932188, -0.2057848424, 1.097315073, 0.6629246473, -0.2736022174, 0.5522616506, -0.4084665775, 0.4884205163, -0.4591318369, -0.176840961, -0.6046169996, -0.1069397032, -0.7148296833, -0.00655453, 0.5683057308, -0.1448108554, 0.0773332566, -0.251698643, -0.6391893029, 0.5054033399, 0.5606386662, -0.0652652234, 0.4199046791, -0.0248280838, 1.0472216606, -0.0345399864, -0.7334964871, -0.2612416446, 1.3457767963, 0.5070470572, 0.7493101954, 0.0630695969, 0.2175812274, 0.661967814, -0.0286575295, -1.0353080034, 0.2895447314, -0.0783123523, -0.386460036, -0.2032174915, -0.5172672868, -1.2398797274, 0.1252253205, 0.0465716049, -0.5069797635, 0.1549484432, -0.0813757181, -0.2373054773, 0.3551979363, -1.0530651808, 0.6569223404, 0.1497084498, 0.4361893535, -0.177191332, -0.464805454, 0.187011838, 0.0892231688, -0.021924559, -0.0072582858, 0.3397740424, 0.9107427597, -0.2823653817, 0.7325957417, -0.218835324, -0.0274593495, 0.5512505174, 0.1427577287, 0.2517296672, 0.0324710682, -0.1957057863, 0.2257657349, 0.4080915749, -0.6405052543, -0.7466708422, 0.2165959179, -0.5202435255, -0.5057157874, -0.6084611416, -0.7498227358, -0.3558034599, -0.2133705467, 0.2989966273, 0.2985759377, -0.3577517271, 0.2186319232, 0.5405474901, -0.1128845215, 0.4255355597, -0.0785757005, 0.2127128392, 0.0183988828, 1.0508028269, 0.1311096102, -0.0103834877, 0.0574901924, -0.0803103819, -0.1190596819, -1.0018354654, -0.6203162074, -0.3979599178, -0.6091788411, -0.0169660803, -0.4192119241, -0.4261542261, -0.2023599893, 0.1831962466, -0.3231585026, -0.3112250865, -0.1117029786, -0.1684981883, 0.5515844226, 1.0958477259, -0.0751711875, 0.4682794213, -0.645806849, 0.308650285, 0.1290767938, 0.3560860455, 0.0136200478, -0.0537150986, -0.2135952115, 0.1733071804, -0.3370393515, -0.9011741877, 0.3217935264, 0.0347016975, 0.5418489575, 0.3339688778, -0.1275927275, 0.5582913756, -0.0434460528, 0.8777035475, -0.3622234166, -0.7840742469, 0.4514888227, -0.2243864238, 0.0344800428, 0.300644964, 0.2202404141, -0.5985642076, -0.0240530316, -0.6561686993, -0.6059427857, 0.8951355815, 0.6459816694, 0.2538069189, 0.2276724726, 0.4100482166, 0.4403512776, -0.0253757667, -0.3259422183, -0.2945923209, -0.2485291958, -0.2102892101, -0.0603973605, -0.2236445993, 0.0552910045, -0.3620791733, 0.1767942607, -0.0246460028, 0.7815240622, -0.0033100958, 0.017108744, 0.3670980632, 0.1534381807, -0.0914908275, 0.7782974839, -0.0558072776, -0.1888758093, 0.0634358898, -0.7221133709, -0.2761887014, 0.3225399256, 0.0878016055, -0.1817151904, 0.7472689748, 0.7187966108, -0.3827253282, -0.7059400678, 0.3370640278, -0.2641798854, -0.0961835533, -0.2699577808, 0.4070057869, -0.5532693863, 0.2705535889, 0.4571987391, -0.1173337996, 0.5197685957, -0.7396402359, 0.0980163962, 0.3355664909, -0.3159539104, -0.4040979147, 0.5150520802, 0.0269906931, -0.0721284449, 1.4357506037, -0.2024926692, -0.4464299679, 1.1077024937, 0.3929857016, 0.9898408651, -0.2034229934, 0.177599296, -0.0213405509, 0.1848973036, 0.3396703005, 0.3794253767, -0.2838845849, -0.8211168051, -0.2742586434, -0.1127701178, -0.6465176344, 0.0159395449, -0.6750315428, -0.2141051143, -0.0833729655, 0.0793490633, 0.2308625132, 0.2265477628, -0.7021466494, 0.3566461802, -0.1725406647, 0.5607799888, -0.4269717932, 0.6722017527, 0.3203049302, -0.4216476679, -0.0402933545, 0.2292747498, 0.1378069967, -0.8012206554, 0.5343942642, -0.086624451, 0.1137641519, 0.0247975048, -0.6825382113, -0.7490386963, 1.0421421528, 0.2025776356, 0.0932648554, -0.0455152132, 0.3567997515, 0.7081944942, -0.069748722, 0.3472344875, 1.189375639, 0.4501760006, -0.1392129362, -0.9742165208, -0.5060352087, -0.3120992184, -0.3235554397, 0.0571737327, -0.4621686041, 0.9143344164, -0.0819072872, -0.8051758409, 0.0315786637, 0.5561602116, -0.3093359172, 0.5895704627, 0.2084458917, 0.2744615972, 0.9540311098, -0.2748101056, 1.3343573809, 0.0548364297, 0.2871735096, 0.7602074146, 0.0824183375, 0.3318419456, -0.0300632138, -0.6284700632, 0.2020889372, 0.749699533, -0.3097414672, 0.484059304, 0.0547889359, -0.2225399762, 0.2657584548, 0.2390535772, -0.4335574806, 0.8289380074, 0.7599220872, -0.0910511017, -0.222411871, 0.1600731313, -0.2132335156, -0.3261736929, -0.1967968196, 1.0731878281, -0.1066355333, -0.1617233455, 0.196334064, -0.2378789037, 0.2036969811, -0.3546219766, -0.4137990475, -0.3042545021, 0.0596028492, -0.2693350017, -1.180036068, 0.9061633945, 0.0621802434, 0.0427711867, -0.0060193082, 0.6038609743, -0.0114535093, -0.1169908717, 0.0352320485, 0.5876737237, 0.4353823662, -0.3401402533, -0.5601530075, 0.3952159584, 0.1347729713, -0.0641949028, -0.0653199404, 0.4838388264, -0.0197258815, 0.9795582294, 0.5067996383, -0.186352998, 0.1377297193, -0.1635852456, 0.6933168173, -0.9905099869, -0.5210795403, -0.9323043227, 0.3296353221, -0.0989097655, -0.3353114426, 0.9334241152, 0.6594166756, 0.7338693738, 0.09533941, 1.0927270651, -0.4569716752, 0.2731374502, -0.6579403281, 0.7774445415, -0.0248561557, 0.2639509141, -0.087405093, -0.875952363, -0.302554518, 0.2803694606, -0.4884791374, 0.04678322, 0.4901217222, 0.3967072368, -0.0767196715, 0.6192362309, 0.2600907087, 0.2086066008, 0.6991987228, 0.414729178, 1.2296469212, -0.4903828204, 0.6768401265, -0.0945467055, -0.3558219671, 0.0240555424, -0.2743582129, -0.8564273119, -0.8959317207, -0.2772795558, -0.1983500272, 0.0163679738, 0.1469385624, 0.7175838351, -0.7523143291, -0.1235797778, -0.4130441248, 0.1223048046, -0.4254359007, -0.3166997731, 0.9343028069, -0.6435373425, -1.1128495932, 0.6274889112, -0.0664761513, 0.0451220088, -0.0535802878, 0.1763129532, 0.4457305074, -0.1041408405, 0.6542681456, 0.4139827192, -0.0791986212, -0.0821212232, -0.3303226233, 0.2055415362, 0.3475142121, 0.9761962891, -0.661141634, 0.7889983654, 0.6364845037, 1.0752372742, 0.6762753129, 0.0735582411, 0.7768744826, -0.4297405481, -0.1335958242, 0.2606176138, 0.1073330194, 0.278766036, -0.5995777249, 0.7199141979, 0.0410411954, -0.8756101131, -0.775824666, -0.0016505832, -0.9796732068, -0.2843514383, 0.8277540803, 0.0423989408, 0.1271210164, -0.5807289481, -0.6390302181, 0.0736595243, -0.1548005641, 1.1360350847, 0.987264514, -0.9023276567, -0.1388536692, -1.0188853741, 0.973652482, 0.2469197065, -1.0772628784, 0.2845436931, 0.3685397804, 0.0728304386, -0.259411335, 0.7687317729, -0.1935357898, 0.2548799515, 0.6212204099, -0.4711642861, 0.1030294821, -0.2750686407, -0.4075590372, 0.1959588528, 0.1115860045, -0.6409842372 ]
http://arxiv.org/abs/2404.08417v1
http://arxiv.org/pdf/2404.08417v1
AdapterSwap: Continuous Training of LLMs with Data Removal and Access-Control Guarantees
2024-04-12T12:06:02
2024-04-12T12:06:02
William Fleshman, Aleem Khan, Marc Marone, Benjamin Van Durme
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) are increasingly capable of completing knowledge intensive tasks by recalling information from a static pretraining corpus. Here we are concerned with LLMs in the context of evolving data requirements. For instance: batches of new data that are introduced periodically; subsets of data with user-based access controls; or requirements on dynamic removal of documents with guarantees that associated knowledge cannot be recalled. We wish to satisfy these requirements while at the same time ensuring a model does not forget old information when new data becomes available. To address these issues, we introduce AdapterSwap, a training and inference scheme that organizes knowledge from a data collection into a set of low-rank adapters, which are dynamically composed during inference. Our experiments demonstrate AdapterSwap's ability to support efficient continual learning, while also enabling organizations to have fine-grained control over data access and deletion.
[ -0.3866021633, -0.5635024905, 0.4568828642, 0.0762340948, 0.0221754462, 0.0173699986, -0.2359477431, -0.5354736447, -0.158566758, 0.670078218, -0.7533603907, -0.317830056, -0.7542823553, -0.0684650466, -0.7379077077, 0.8833169341, -0.3753567636, -0.3698136508, -0.5274160504, -0.2282746583, -0.5561168194, -0.29561463, -0.7814449072, -0.4654089212, 0.6285344958, 0.6553236842, 0.5422107577, 0.7689881921, 0.4044218659, 0.2505849302, -0.1440694779, 0.1571601033, -0.5817693472, 0.3696898222, -0.2458529025, -0.7744861841, -0.2767622173, -0.1171401814, 0.7858003974, 0.9252767563, -0.5556743145, 0.1124751717, 0.2175954729, 0.8021228909, -0.7062331438, 0.0881107152, -0.9445760846, 0.0917163938, 0.1283898801, -0.1565272957, -0.4309542477, -0.4359854758, 0.1970760822, -0.5743377805, 0.0868494436, -0.0667429268, 0.8378683329, 0.2430950254, -0.2204446346, -0.5732189417, -0.9194599986, 0.7328602672, -0.3235494494, 0.4046488702, 0.4357191324, 0.308524698, -0.4843631089, -1.0068793297, -0.637644887, 0.0594327487, 0.0994874164, 0.1911593825, -0.0751430392, -0.0494390018, 0.300862968, 0.3133374453, -0.15963386, 0.3293444812, -0.46000278, 0.1653790623, 0.3058934212, 0.1665811539, 0.2850192785, 0.2181909978, -0.250769347, 0.1481385082, -1.0205258131, -0.2417760044, -0.0146665806, -0.0547232144, -0.1886970252, 0.5536708236, -0.415135771, 0.6964515448, -0.1834143996, -0.0682474002, 0.0616213009, 0.2240950465, -0.3047230244, -0.0918913633, 0.2321398109, 0.0330475606, 0.43023628, -0.4988846779, -0.4008734226, -0.0814608112, 0.2832136154, -0.4742753208, -0.2200060487, 0.2158903778, -0.5248633027, -0.2749481499, -0.2153711766, -0.6437729597, -0.4881967604, -0.5823124647, 0.3967163563, -0.4148778021, -0.1468048543, 0.0334066078, -0.1772384495, 0.3783167601, 0.5265678763, -1.1206279993, 0.4904324412, 0.5037377477, 0.7365197539, -0.5625936389, -0.3125588, -0.4855262041, 0.6382325888, -0.1776487082, 0.673568964, -0.7373555303, -0.4325344563, 0.1367844343, 0.1900464296, -0.305157423, -0.7703114152, 0.2388064861, -0.8860560656, 0.1195132509, -0.0864347294, -0.8783174157, 0.0130497338, 0.191648066, -0.3538793623, 0.7205273509, 0.270262301, -0.4802148044, 0.4750090241, -0.6367462873, -0.2484360337, 0.0593487509, -0.149718374, -0.4196449816, 0.2181984186, -0.0068695871, 0.3189596236, -0.1855169237, 0.0968498364, -0.5382346511, -0.0874720365, 0.1292079836, -0.3987008035, 0.3542842567, 0.359239608, -0.1062937975, 0.0072742742, -0.9794766307, -0.1672253758, 0.2442586869, -0.7620300651, -0.3673477173, 0.4119074941, -0.2751390934, 0.1491304189, 0.1869800836, -0.2618685365, 0.3441981971, -0.1237881631, 0.475789994, 1.0193315744, 0.1084205806, 0.531548202, -0.532949388, 0.4447193146, -0.0376712382, 0.3531219661, -0.198633492, -0.2187363058, -1.047591567, -0.2891811728, -0.097707957, 0.5261697769, -0.7526550293, 0.4348572493, -0.3582462966, -0.3271057308, -0.0862803385, 0.3219634295, 0.0528788567, 0.4963580072, 0.4842284322, -0.0116749592, -0.523444593, -0.6369796991, -0.1551495939, 0.0848331675, -0.4263323247, 0.1621662974, 0.2362260669, -0.4644844234, 0.9578781128, -0.4939379096, -0.1048465967, -0.2759671211, -0.1355837584, 0.1159072891, 0.5846056938, 0.340028733, -0.8131605983, -0.1880473495, -0.1869734228, -0.8899639845, -0.1993533373, -0.1965960562, -0.1142228916, 0.0480466448, 0.8216189742, -0.4256288111, 0.2965011299, 0.6259690523, -0.0489367023, 0.4014565647, -0.2851279676, -0.2181307077, -0.9868410826, 0.0940890014, -0.3078379631, -0.5314525366, -0.4587210715, -0.0013278249, 0.0591770336, -0.0582102798, -0.2596917152, 0.6396517158, -0.426643759, -0.0681238398, -0.4467576444, 0.191566959, -0.1651969999, 0.2442560792, 0.3459902704, 0.5461637974, 0.4495997727, -1.1292033195, 0.2865842879, 0.3774065971, -0.4249838293, 0.4206393361, -0.4196849763, 0.040774554, -0.2326351553, 0.1800645888, -0.8264606595, -0.2349251956, 0.0579204075, -0.0388789549, 0.2761687934, -0.268841207, -0.3604887128, -0.3570852876, 0.0702024996, -0.071567513, 0.6398931146, -0.8672325015, 0.5961661339, 0.4721080065, -0.4056344926, -0.4291012287, -0.5776471496, -0.093921043, -0.3579052985, -0.0330598131, 0.0794628486, -0.1219194755, -0.080728665, -0.0566504113, -0.3094760478, -0.240400508, 0.3289156854, 0.4662282467, 0.2788864076, 0.1184900329, 0.2991825044, 0.2574994266, -0.0514382459, 0.1231481433, -0.3191363811, 0.7177064419, 0.2760852873, -0.567741394, -0.308816582, -0.0793425739, 0.6179018021, 0.1991920322, 0.9235072136, 0.3209043741, -0.3583519757, -0.2088599056, -0.6867983937, -0.1096954644, -0.5704452395, 0.2874352932, -0.3430551291, -0.7621504664, 0.4755889177, -0.4367564619, 0.6006110907, 0.3716037869, 0.4331916273, -0.3442721665, 0.6734416485, 0.6659161448, -0.2344702482, 0.9341959953, 0.0260476898, -0.3121314645, -0.8344277143, -0.3254628778, -0.4343333542, -0.3837127984, -0.3315517902, -0.1411637515, 0.0912740752, 0.3184443414, -0.2273302078, 0.1656729132, -0.2589486539, 0.5460050702, 0.3440487683, 0.2914069593, 0.2957208455, 0.1190600842, 0.1961164474, 0.2855707407, -0.7040379047, -0.3181290329, 1.2846703529, 0.4651804268, 0.9506745934, 0.0611257255, 0.6989790797, 0.3676584661, 0.5396264195, -0.5635382533, 0.3973311186, -0.0238094423, -0.3687264621, -0.2735500932, -0.544651866, -1.0408406258, -0.0675973147, -0.2642191648, -0.820156157, 0.3053425848, 0.5697331429, 0.0427490063, 0.3942850828, -0.6111570597, 0.3712443113, 0.0148792826, -0.346981436, -0.6216032505, -0.3875387311, 0.3354204297, -0.300643295, 0.2065385729, -0.2436607778, -0.1133101061, 0.8695876002, -0.4049898386, 0.8710685968, -0.4347300529, 0.0916717499, 0.2085260302, 0.0744135827, 0.8408360481, 0.0874671265, -0.1939097047, -0.1575404853, 0.2455173135, -0.6133880615, -0.2774698734, 0.5779656172, -0.6667631269, -0.4341121316, -0.1633259803, -0.6965423226, -0.3982709944, 0.2705945075, -0.0152870044, 0.2171700597, -0.0610228814, 0.4029239118, 0.8391456008, -0.3673952818, 0.4294148386, 0.7447142005, -0.2830843329, -0.0149501432, 0.8047844172, 0.0741706118, 0.7044674158, 0.3422752023, 0.2171755582, -0.1471440643, -0.9212409258, 0.0079725487, 0.0486396067, -0.9302840829, 0.0627562925, -0.5541149378, -0.3247572184, -0.1077808142, -0.1576796472, -0.1715066582, -0.3662656844, -0.2109647989, 0.058778692, 0.5872119665, 0.6234012246, -0.022778172, 0.6721282601, -0.8037640452, 0.5535069108, 0.3526990414, 0.5733015537, -0.0727581158, -0.8383238316, -0.3307407498, -0.2465276867, -0.1840518266, -0.2602102458, 0.2471199483, 0.2967274487, 0.7054945827, 0.4391124547, 0.0378664881, 0.5104601383, -0.4917067587, 0.469937861, 0.0608280227, -0.6097676158, 0.4993672967, -0.4012323916, 0.3366481662, 0.7100304961, 0.3498717248, -0.7470092773, -0.4028957486, -0.5081376433, -0.9391799569, 0.5866921544, -0.2666811347, 0.2770791054, -0.031980373, 1.039283514, 0.1443167478, 0.4305469394, -0.5503762364, -0.0021484587, 0.3335221112, -0.3270586729, 0.2000710368, -0.3398650587, -0.0918866768, -0.0250056349, 0.6462771893, 0.0342911184, 0.1591947824, -0.1487118751, -0.3206183612, 0.1169881001, 0.1910864562, 0.3407505155, 0.9953531027, -0.2265818864, 0.0033680329, 0.5267427564, -0.8046851754, 0.0613269322, -0.3412847817, -0.287918359, -0.2901953161, 0.3049742281, 0.6047700644, 0.2457506657, -0.7057664394, 0.109070003, -0.0841109976, -0.1295135617, -0.5473145843, 0.5246661305, 0.0868157744, -0.0012982896, 0.3070709705, 0.1008034945, -0.1839886159, -0.4923258126, 0.4097017348, 0.2279079258, -0.4839150608, -0.1162457913, 0.4866984785, 0.1207600012, -0.0362622626, 0.7841218114, 0.2720789909, 0.0485434346, 0.4685302079, 0.5411807895, 0.5208061934, -0.405780822, -0.1731737852, 0.0485514477, 0.2389802784, -0.347669214, 0.1743874252, -0.0731420591, -0.8343594074, -0.1495008022, -0.734284699, -0.7228546143, 0.4113857746, -0.8236848712, 0.3463934362, -0.6793678999, 0.2826437652, -0.1831600368, -0.4404637516, -0.8501929641, 0.2901976705, 0.0737814978, 1.1756159067, -0.8800476193, 1.2889192104, 0.1104838401, -0.2307416946, -0.427449584, -0.0112060644, 0.0145215625, -1.1586509943, 0.4467478395, -0.0239583105, 0.0685461387, 0.1520473212, -0.381788969, -0.9224677086, 0.9478342533, 0.3754838705, -0.9386456013, -0.1897925884, -0.0436429493, 0.1569495797, -0.2122570723, -0.1251537204, 0.9611113071, 0.4546047151, 0.0252810419, -0.4523184597, -0.2752591372, 0.0859284997, -0.321952045, 0.091300495, -0.2986911237, 0.5456123948, 0.0900453329, -0.086978741, 0.0859482959, 0.6655516624, 0.3430988193, 0.1984198391, 0.7891308665, 0.3064934909, 0.9434843063, -0.0472075082, 1.0812320709, -0.2422938645, 0.0958702043, 1.5142399073, -0.2925560772, 1.0197016001, 0.5910603404, -0.2634657621, 0.5099290013, 0.69579041, 0.0390957892, 0.4766444266, 0.2110624164, -0.4863308072, -0.0158461723, 0.1505128294, -0.0808751136, 0.2144605368, 0.6528543234, -0.367382139, -0.0150769977, 0.1600567251, -0.0392089002, -0.0415413342, -0.3710295856, 1.0546183586, 0.0539354868, -0.6284950376, 0.5114028454, -0.2429402322, 0.4871354997, -0.9784149528, 0.2109585404, -0.1714268178, 0.3109226227, -0.3509946764, -0.7773696184, 0.5580255389, -0.1474351436, -0.3755300641, -0.0841002762, 0.5336956978, -0.4183879793, -0.1554388106, 0.4633514583, 0.2679014802, 0.2337265611, 0.1062732413, -0.6141375303, 0.1331630051, -0.1391645074, -0.614646852, 0.6043696404, 0.2589763999, -0.2061445266, 0.9409889579, 0.6404619217, 0.4346043169, 0.2859664261, 0.297945112, 1.0495449305, -0.2317143828, -0.3557486534, -0.7012610435, 0.0962148458, -0.2601486146, 0.088057436, 0.3757880032, 0.5194522142, 0.5410704017, 0.0574632846, 1.1388869286, -0.0379832089, 0.6790785193, -0.8260967731, 0.6925008297, -0.4571248889, 0.4577583671, 0.0869927034, -1.0254216194, -0.1704180688, 0.4514148235, -0.4458256066, 0.0144774187, 0.439676553, 0.5360860825, -0.2942428887, -0.2363953888, 0.1129764691, 0.1217067093, 0.5739099979, 0.467492789, 0.6202985048, -0.0877214298, 0.5245052576, 0.0051074214, -0.3466021121, -0.1044503227, -0.8968571424, -0.658233583, -0.5034675598, -0.2306497544, -0.3123935759, 0.1102521196, 0.9595720172, 0.6657506824, -0.9132370353, -0.2115113884, -0.4291642904, 0.1895252615, -0.2008224428, -0.1735365987, 0.3387750983, -0.6259865761, -0.5793358088, 0.5602983236, 0.3357297778, 0.2044040859, -0.0774464682, -0.1540145427, -0.0309820622, 0.2001876235, 0.5275306702, 0.7505587339, -0.3690038323, -0.4896667302, -0.4742473662, 0.0319455825, -0.0283648074, 0.7698550224, -0.7793465257, 0.4717676044, 0.3903647661, 0.7529695034, 0.7451809049, -0.163048327, 0.7416461706, -0.7704280615, 0.4058821797, -0.2098926306, 0.4615698159, 0.1059046164, -0.2116393894, 0.4230672717, 0.2467491627, -0.5943959355, -0.872153759, 0.3449251652, -0.7390001416, -0.3863357604, 0.9621664286, -0.2365088016, -0.2289162129, -0.3743123114, 0.0852185786, 0.2196799219, -0.0669539943, 1.1042730808, 0.4536910355, -0.0264312513, -0.4702951014, -0.8693606853, 0.6235477328, 0.1371434778, -1.2524051666, 0.4988516271, 0.2772236168, 0.649821043, -0.131450206, 0.655061543, -0.1321736574, 0.1360952407, -0.1923871934, 0.1997476667, 0.0481258035, -0.3975892663, -0.2776123881, 0.2295351475, 0.4216487706, -0.3108080626 ]
http://arxiv.org/abs/2407.00743v1
http://arxiv.org/pdf/2407.00743v1
AIMDiT: Modality Augmentation and Interaction via Multimodal Dimension Transformation for Emotion Recognition in Conversations
2024-04-12T11:31:18
2024-04-12T11:31:18
Sheng Wu, Jiaxing Liu, Longbiao Wang, Dongxiao He, Xiaobao Wang, Jianwu Dang
cs.MM
cs.MM, cs.AI, cs.CL, eess.AS
Emotion Recognition in Conversations (ERC) is a popular task in natural language processing, which aims to recognize the emotional state of the speaker in conversations. While current research primarily emphasizes contextual modeling, there exists a dearth of investigation into effective multimodal fusion methods. We propose a novel framework called AIMDiT to solve the problem of multimodal fusion of deep features. Specifically, we design a Modality Augmentation Network which performs rich representation learning through dimension transformation of different modalities and parameter-efficient inception block. On the other hand, the Modality Interaction Network performs interaction fusion of extracted inter-modal features and intra-modal features. Experiments conducted using our AIMDiT framework on the public benchmark dataset MELD reveal 2.34% and 2.87% improvements in terms of the Acc-7 and w-F1 metrics compared to the state-of-the-art (SOTA) models.
[ -0.6992362738, -0.6367039084, 0.4316831529, -0.0018708197, -0.119773671, -0.1160715148, -0.5853133202, -0.607714057, 0.4980358183, 0.0617848523, -0.5757500529, -0.3569675386, -0.4664604962, 0.0132007841, -0.249334529, 0.6272855401, -0.2589990795, 0.0713879541, -0.3828123808, -0.4440705776, -0.3394017518, -0.2887453735, -0.3557690978, 0.0674313009, 0.6542127728, 0.6391968131, 0.3108758926, 0.0567461215, 0.809007287, 0.4140963256, 0.146018967, 0.5601495504, -0.4984671474, 0.4192314446, 0.137531206, -0.1460365355, -0.4891336858, 0.114851132, 0.4901198745, 0.392203182, 0.084573254, -0.1090548187, 0.1423504353, 0.4435664117, -0.8015844226, 0.2447057664, -0.3713829219, 0.1045638397, 0.0098370491, -0.2693010867, -0.3095101416, -0.1208287999, 0.054776527, -0.2929078639, -0.19133991, 0.3236014247, 0.559110105, 0.2100575417, -0.6413684487, -0.072246097, -0.8161925077, 0.4489567578, -0.6592303514, 0.4970367253, 0.2532153428, 0.3004184663, 0.285892874, -0.4742324948, -1.0112259388, -0.2077647895, -0.3466267586, 0.206897527, -0.2597169876, 0.3182696104, 0.1775986701, 0.4809729457, -0.4842877686, -0.1246720403, -0.1059817821, -0.0967902094, 0.5605765581, 0.2638078928, 0.2953428328, -0.467110157, -0.4514980316, -0.3540475667, -0.2185019553, 0.1502296627, 0.2502753735, 0.1482327133, -0.2786359489, 0.4861786067, -0.2167850584, 0.4606513381, 0.029336106, 0.0860335678, 0.5400691628, -0.5230886936, -0.1875985861, 0.0977621675, 0.8981586099, 0.405339092, -0.2582353055, 0.3317873478, 0.0138908131, 0.1189691424, 0.2935096622, -0.6458162665, 0.0638514981, 0.232347101, -0.6031332016, -0.2706793547, 0.1510085166, -0.9561047554, -0.377065897, -0.4293161035, 0.6260389686, -0.5872235894, -0.5231423378, -0.095965825, 0.1900986135, 0.2283092439, 0.4173950553, -0.6311129928, 0.016344022, 0.4180395305, 0.8193240166, -0.0269508138, -0.3050002754, -0.1896104366, -0.0864463076, -0.0676203668, 0.6691477895, -0.9650675654, -0.3271808922, -0.1282753944, -0.006533307, -0.2167416364, -0.1916142106, 0.5103157759, -0.0750048757, 0.425286293, -0.1890311837, -0.1945889443, -0.3378019631, 0.6009300947, -0.7200268507, 0.7916575074, 0.1093698591, -0.7730746269, 0.1380954385, -1.093167901, -0.3704243004, -0.1279973239, 0.0356028937, -0.1489212364, 0.2321066409, 0.2238639891, 0.5417780876, -0.2341764271, 0.0382852592, -0.5305834413, -0.1440968066, 0.5066587925, -0.6748808622, 0.0117442152, 0.3961153924, -0.3720979393, 0.4303918481, -0.8974579573, -0.1085795835, -0.2974179983, -0.0729073808, -0.479814887, -0.1835021228, 0.2890322208, 0.4670572877, 0.108047314, -0.7899243236, -0.0815950036, -0.3218125105, 0.4610850811, 0.6299452782, -0.1512467265, 0.5173401833, -0.0323120877, 0.3780009747, 0.5153191686, 0.1380485892, -0.4867376387, -0.0853956938, -0.960375905, -0.3804983199, 0.1324848682, 0.2971493602, -0.7460429072, 0.4027409554, -0.2027776986, -0.3508898318, -0.6855880022, -0.0898028836, 0.533503294, 0.5366674066, 0.3546257317, -0.4295693338, -0.5801852345, -1.0927426815, -0.0022809904, -0.3053977191, 0.0562228449, 0.7801570892, 0.1462205201, -0.4035390913, 0.8904828429, -0.2189984024, -0.470823139, -0.2377268523, 0.5481870174, -0.1585762799, 0.5302706361, 0.4042394459, -1.0557326078, -0.528265655, 0.2697891593, -0.8018664122, -0.0020517828, -0.0630925894, -0.1911145598, 0.1033256054, 0.39733392, -0.4504239857, 0.4775113463, 0.7138501406, -0.426967144, -0.1568264365, -0.0025158825, 0.9019779563, -1.3562222719, 0.1150109544, 0.2305566072, -0.2270163596, -0.7599239945, -0.4430352151, 0.2755355239, -0.4079286754, -0.5777947307, 0.4558312595, -0.3803423345, 0.0425639898, -0.0559216142, 0.2143196166, 0.2061877847, 0.7172391415, -0.1748948991, 0.5470814705, 0.4271705151, -0.2918782234, 0.6297043562, 0.4868419766, -0.1930533797, 1.2821583748, -0.2803456485, 0.0731936917, -0.2610381842, 0.1575422585, -1.2319433689, -0.5315330029, 0.3010190427, -0.4734895229, 0.4410052299, 0.3206678927, -0.0137290414, -0.0960069746, -0.2671484351, 0.713496685, 0.2921064794, -0.4958845675, 1.1787098646, 0.2566623986, -0.2814150751, -0.303113997, -0.5097787976, 0.1920509934, -0.1870032102, -0.9501002431, 0.3732223213, -0.1802313775, -0.1489655823, 0.0109286355, 0.249033615, 0.1141396537, -0.1667991132, 0.5533440709, -0.0180000216, -0.113660872, 0.3696114719, 0.1795132756, -0.0696989521, -0.1167038903, 0.4494459033, 0.5355213284, -0.3167063892, -0.7294819951, -0.5761607885, 0.7649502754, 0.9027968049, -0.4828992784, 0.5940969586, 1.0005520582, -0.3782340884, 0.1155789942, -0.7694950104, -0.2709298432, -0.4345271885, 0.5868731141, -0.3399081528, -1.0283488035, 0.5000451803, -0.155048281, -0.1207762733, 0.3503961265, 0.5068353415, -0.2569366693, 1.2710601091, 0.5211853385, 0.0873302072, 0.7625114918, -0.021949295, 0.5066327453, -1.2416616678, -0.4590851665, -0.1257283986, -0.9608956575, -0.1278688312, -0.44888255, 0.7418442965, -0.3274758458, 0.0786022395, 0.2651740909, -0.1320095658, 0.1323872209, 0.3856328428, 0.5233729482, -0.0031203658, -0.1644190997, 0.2065342218, -0.3504195809, -0.3833280802, -0.0209720414, 0.7068554759, 0.4859393835, 0.8977923393, 0.1862324625, 0.5353929996, 0.2574255466, 0.3133202493, -0.8140630722, 0.7094306946, 0.1052264869, -0.3108883798, -0.1425015479, -0.5225235224, -0.4903711379, 0.1539968252, -0.6026024818, -0.544238925, 0.7186151743, 0.0902835503, -0.1339122802, 0.2423750609, -0.8696208596, 0.8427346945, -0.3534903228, -0.3499043882, -0.4510369897, -0.6297341585, 0.3390174806, 0.0707208887, 0.1775895208, -0.209137395, 0.2553681135, 0.4864054918, -0.2229511142, 0.8534796834, -0.1314323992, 0.0447268672, -0.0041842484, 0.2441463321, 0.3388432562, 0.0685564876, 0.1032252908, 0.244077906, -0.3966341913, 0.182006374, -0.6854736805, 0.7391337156, -0.5292849541, -0.2159123272, -0.1155044511, -0.7802051902, -0.4094518423, -0.1745822281, -0.1286454052, 0.759301424, -0.3728196323, 0.6041352749, 0.5581268072, -0.0112032266, 0.6643622518, 0.257193476, 0.2616975307, -0.5178670883, 0.9465425611, -0.3170681894, 0.2587798238, 0.3551721573, 0.0303140283, -0.0734252632, 0.0236406177, -0.1094363779, 0.0090699699, -0.7092170715, -0.432780236, -0.9105397463, -0.1787336171, -0.5056604147, -0.0479325503, -0.4589004219, -0.2093505114, -0.4368320107, -0.0962747559, 0.4347639382, 0.3664441109, -0.3794693351, 0.1734759361, -0.8699602485, 0.1993207783, 0.5523561835, 0.4105464518, -0.2237010896, -0.4421417415, -0.2678817809, 0.2667492926, -0.1798842996, -0.8503088951, 0.6348384619, 0.6249616146, 0.3819815516, 0.7403888106, 0.0704754367, 0.7426339388, -0.2366149127, 0.6257998943, 0.5370381474, -1.181252718, 0.5734351873, -0.0646784455, 0.1172527969, 0.5019248724, 0.4444547892, -0.8089050651, -0.0478411913, -0.4220906198, -0.7806275487, 0.7586764693, 0.2046445012, 0.2691387832, -0.0002978615, 0.0494351014, -0.110714227, 0.3755068779, -0.5929768682, 0.0174795389, -0.2080529779, -0.7935840487, 0.1015297696, -0.5635464191, -0.3607589602, -0.1610362232, 0.3023844957, -0.4244911969, 0.4873066545, 0.3092394173, -0.1862091273, -0.2582426071, 0.3471468389, 0.6277657151, 0.3293807209, -0.1478551775, 0.2303112894, 0.0823900029, -0.1210036874, -0.0980168581, 0.1768109649, 0.5357952118, -0.1613765359, 0.3269992173, 1.310128808, 0.568798542, -0.6280460358, 0.6833395362, -0.3350863159, -0.2426181436, -0.0060297032, -0.0454780012, -0.2476071268, 0.7709906697, 0.1130979061, 0.2380275428, 0.3413934708, -0.6827824116, 0.1591733098, 0.5014785528, -0.8102374673, -0.4151286781, 0.5036857724, 0.6080647707, -0.2544292212, 0.4065275192, 0.1336094141, -0.6827451587, 0.2905647159, 0.2458707094, 0.9692857862, -0.4376625419, 0.2654075325, 0.3604706228, -0.0690155476, 0.3293571174, 0.3423027098, -0.3210250735, -0.7763309479, -0.1714336723, -0.5585139394, -0.5973713994, -0.4080059826, -0.5332339406, 0.161538884, -0.1456391215, -0.1430512071, -0.2722937465, -0.589603126, -0.6493109465, 0.0635369048, 0.4052723646, 0.3743539751, -0.9191995263, 0.4358074963, 0.654271543, -0.4161499441, -0.6067378521, -0.3614037633, 0.0953686386, -0.5720127821, 0.6551725864, 0.3582755923, -0.0614762269, -0.0668815821, -0.5299009681, -0.7771797776, 1.1556622982, 0.1508513838, -0.5849838257, 0.121803537, 0.0198557898, 0.3544393778, -0.8134288788, 0.6593060493, 0.2057270557, 0.522279501, 0.30689767, -0.9882892966, -0.1198115945, -0.5694246888, 0.0329468921, 0.3110085726, -0.6423111558, 0.7925784588, 0.0855287388, -0.211089462, -0.4003250003, 0.614046216, -0.1500006765, 0.3088848889, 0.7989328504, 0.5833031535, 0.379918009, -0.2914483845, 0.5902144313, -0.5164314508, 0.3158415258, 0.632167697, -0.4845257998, 0.8923151493, 0.5218299031, 0.1643543392, 0.593337357, 0.4669368565, 0.3407750726, 0.3396529555, -0.3375529349, -0.3894584477, -0.4355887771, -0.3111706376, -0.3196823001, 0.7649155855, 0.5977279544, -0.3234981596, 0.0316158421, 0.6996505857, -0.1271615475, -0.1749053895, -0.2089740634, 1.0369200706, -0.0318689533, -0.2794760466, 0.2132742852, -0.2560833395, 0.7997173667, -0.6861313581, -0.3021799624, -0.3548195064, 0.1107978672, -0.2826487124, -0.6236224174, 0.2022013366, -0.3061472476, -0.11940106, -0.2925693393, 0.7910279632, -0.9825696349, -0.3761838675, 0.22229819, 0.2388026416, -0.2257323712, -0.1613488495, -0.4557540119, 0.3947902322, -0.2445747703, -0.3886512518, 0.3680955768, 0.5578293204, 0.3610143661, 0.5049080253, 0.5650951862, -0.1631389111, -0.2887015641, -0.0193268284, 1.1800321341, -0.6277798414, -0.4663113654, -0.6635330915, 0.8060986996, -0.2977191806, -0.2600964606, 0.5139167309, 0.0636416897, 0.6114524603, 0.1236317679, 0.4759590328, -0.4178825021, 0.3735399842, -0.5705880523, 0.5898127556, -0.9652704, -0.0228306185, -0.3771876991, -0.9939931035, -0.1430660784, 0.6944711208, -0.0433692113, 0.1321326196, 0.8758520484, 0.8290610313, -0.2848417461, 0.0843431726, 0.5540038347, 0.3347358406, 0.4303196967, 0.7039334774, 0.8143362999, -0.3084713817, 0.4397727847, -0.3899531066, -0.2454939783, -0.4365356863, -0.7697692513, -0.6982027292, -1.0081590414, -0.2640171051, -0.3236893415, -0.2691598535, 1.133767724, 0.7307834029, -0.637575984, 0.0699109435, 0.324547708, -0.2267108262, -0.0231703017, -0.2616976798, 0.2003344297, -0.2698044181, -0.8687773347, 0.5911471844, 0.7552695274, -0.1515730768, -0.5626135468, -0.1630717218, -0.2284019887, 0.0118828779, 0.6729912758, 0.1305751652, -0.4791916013, -0.5811195374, -0.0935899019, -0.0315284245, 0.3247979283, 1.0371339321, -0.6130284667, 0.8208590746, 0.6436555982, 0.6629528403, 0.2214914709, -0.0149228135, 0.6208924651, -0.7293316722, 0.2426550537, 0.2494290471, 0.6199194193, 0.3402151167, -0.2676857114, 0.3095110655, 0.2632592022, -0.4389324188, -0.8339797854, 0.4354327321, -1.3464608192, 0.1275124848, 1.1093244553, -0.071908623, -0.3268001974, 0.227949366, -0.6203379631, -0.0185656063, -0.4420044124, 0.5615985394, 0.4869407713, -0.1871139854, -0.7154437304, 0.0186630301, 0.2103325725, 0.4437240064, -1.0439836979, 0.0380246118, 0.7357987761, -0.2544893026, 0.3628986478, 0.4070382714, -0.0467402451, 0.0649143383, -0.1269698739, 0.2916600406, -0.282690227, -0.5535839796, -0.3581397533, 0.2322101891, -0.3333086967, -0.0364715755 ]
http://arxiv.org/abs/2404.08403v1
http://arxiv.org/pdf/2404.08403v1
Learning representations of learning representations
2024-04-12T11:30:16
2024-04-12T11:30:16
Rita González-Márquez, Dmitry Kobak
cs.CL
cs.CL, cs.DL, cs.LG
The ICLR conference is unique among the top machine learning conferences in that all submitted papers are openly available. Here we present the ICLR dataset consisting of abstracts of all 24 thousand ICLR submissions from 2017-2024 with meta-data, decision scores, and custom keyword-based labels. We find that on this dataset, bag-of-words representation outperforms most dedicated sentence transformer models in terms of $k$NN classification accuracy, and the top performing language models barely outperform TF-IDF. We see this as a challenge for the NLP community. Furthermore, we use the ICLR dataset to study how the field of machine learning has changed over the last seven years, finding some improvement in gender balance. Using a 2D embedding of the abstracts' texts, we describe a shift in research topics from 2017 to 2024 and identify hedgehogs and foxes among the authors with the highest number of ICLR submissions.
[ -0.2411542088, 0.3390775919, 0.1690400094, -0.1772090644, 0.0362467058, 0.4669655859, -0.0535464659, -0.5102647543, -0.1769036651, 0.1639961153, -0.2392704338, -0.525095582, -1.095667243, 0.4266139865, -0.71204108, 1.2107175589, 0.2529355288, 0.3611966968, -0.5351447463, -0.5916800499, -0.2979761362, -0.6506509185, -0.168341428, -0.5833985806, 0.6302366257, 0.2048331946, 0.432251215, 0.540050447, 0.6310091019, 0.1618320644, -0.2617720366, 0.1833385378, -0.3042990267, -0.2422305048, -0.3497355878, -0.4657171667, -0.1631866097, 0.0417521335, 0.8558686376, 1.0178003311, -0.2176482975, 0.1503016353, 0.3831157386, 0.6117016077, -0.7202305794, 0.3809593022, -0.7878989577, 0.3314099908, -0.2359863967, 0.1757227629, -0.746851325, 0.0676028356, 0.0270794872, -0.3417294025, 0.1419954449, 0.0790728852, 0.7650883198, 0.0628743395, -0.3920616508, -0.4787643552, -0.6359006166, 0.9305933118, -0.3964377642, 0.2818628252, 0.3049467802, 0.1360169798, -0.1355659962, -0.7448370457, -0.1897382587, -0.0843137652, -0.1219786406, -0.1672457159, -0.5831882954, -0.1393189877, 0.1998768449, 0.1017241701, -0.4431387186, 0.1687809378, -0.441472739, -0.0891202837, 0.7335842252, 0.1430966556, 0.3164429665, 0.1533804387, -0.0761185661, -0.2482297868, -0.5988799334, -0.2047268152, 0.2485644072, 0.4773463905, -0.0540502109, 0.6984206438, 0.1979063451, 0.5741127133, 0.1148122922, 0.144835338, 0.2429929972, -0.1624536514, 0.0946652442, 0.2437510341, 0.9008167386, 0.4062871635, -0.0346750095, -0.1794783622, -0.0835125893, -0.3438154459, 0.11921864, -0.6976213455, -0.1595048904, -0.2883222699, -0.6734530926, -0.3843446374, 0.3965866268, -0.7336621284, -0.4656617641, -0.269831866, -0.0700970888, -0.0852852836, -0.3323900998, 0.1575312465, -0.0992030278, 0.4193630219, 0.1145455763, -0.8969419003, 0.5314905047, 0.6538686752, 0.7936775088, -0.3014501631, 0.0049858456, -0.210023433, 0.0618437268, -0.5081939101, 0.5399198532, -0.9020578265, -0.4488246441, -0.0667141527, -0.0147165572, -0.1052269638, -0.7218725085, 0.4507694542, -0.2630847096, 0.3139458895, -0.4119867086, -0.5843856931, -0.166012466, 0.1015337929, -0.6066899896, 0.7701463103, -0.1484838128, -1.0644791126, 0.4739366472, -0.7914894819, -0.0296549611, 0.1841315776, -0.5647288561, -0.6177444458, 0.1766707897, 0.2171958089, 0.3350643218, -0.021999523, 0.3918197453, -0.2314021587, -0.3358832002, 0.5355347395, -0.067277357, 0.9013117552, 0.1863718927, -0.0127725573, 0.0463510416, -0.7105448246, -0.2466166615, 0.1603918672, -0.1152951494, -0.0522312522, 0.3488276601, 0.1190735698, 0.2354743481, 0.0139912246, -0.6296642423, 0.3599312603, -0.333433032, 0.9025676847, 0.590857625, -0.3753423989, 0.4366024137, -0.3472132087, 0.4763007164, 0.4471788704, -0.2282778174, -0.265313834, -0.5113537312, -0.57615453, -0.0146973012, 0.6556648016, 0.2260059416, -0.2816476524, 0.4162119627, -0.292291522, -0.4107599556, -0.6873876452, -0.3118666708, 0.1334973276, 0.2739368081, 0.3242837787, 0.0560206883, -0.7538043857, -0.9202510118, -0.4195120931, -0.3064104021, 0.1300160438, 0.1415053606, 0.6899439692, -0.2301760316, 0.8300250173, -0.3520953655, -0.2866294086, -0.4081377089, 0.5453591347, -0.0295316093, 0.6236716509, 0.5415531397, -0.7876169086, -0.3173582554, 0.1425147504, -0.683069706, 0.1867016852, 0.0818278715, 0.2044132799, 0.2881584466, 0.6954773664, -0.485168457, 0.4223808348, 0.5053073764, -0.239046663, 0.2247011214, 0.0281853154, -0.0816971809, -0.884241879, 0.2634215355, -0.0926621258, -0.3385837674, -0.2078842521, -0.0500673205, -0.0769675747, -0.2852064371, -0.2185458541, 0.398974061, -0.2718153596, -0.2873674333, -0.1266438216, -0.2163178623, -0.1332316846, 0.1065464318, -0.2602301836, 0.8693447709, 0.4729089141, -0.3545245826, -0.2855626643, 0.4783644676, -0.4298881888, -0.0472674742, -0.5478912592, 0.4207261801, -0.6734285355, 0.3973828256, -1.0412023067, -0.0783582106, 0.3427037597, -0.510471344, 0.4948301613, -0.0945353732, -0.567065835, -0.3258861601, -0.1323664188, 0.3695483804, 0.3712930977, -0.3201516569, 0.6417413354, 0.4556610882, 0.0339171626, -0.8715685606, -0.8495809436, 0.4877844155, -0.0088437442, 0.0737393051, 0.6824150681, -0.0366295874, -0.2263545096, 0.3030464649, 0.1668733507, 0.1537359506, -0.0286382139, 0.1910260469, 0.0704269186, -0.1315991879, 0.2789235711, -0.0722564831, -0.2335392833, 0.081775628, -0.5473281741, 0.5262187719, -0.2550629377, -0.3319226503, -0.3669464588, 0.4762273431, 0.5175421238, -0.2454315573, 0.7891783118, 0.469797045, -0.4285335541, 0.0234622397, -0.0491243303, -0.0354257226, -0.3710093796, 0.5245895982, -0.1097282171, -0.98193717, 0.3477481306, -0.0037734245, 0.3301962018, 0.7815551758, 0.3270081878, -0.3785657287, 1.6003546715, 0.9250617623, -0.2521729171, 0.2923812568, -0.1504754573, 0.2781760097, -0.6847727299, -0.5125271678, -0.8712354302, -0.5811187625, -0.7815046906, -0.1402868181, 0.0710404068, 0.0153473988, -0.2153375149, 0.1241103336, -0.7193817496, 0.3677839041, 0.2375451624, -0.008702701, 0.2387074083, 0.0109909987, -0.1805932522, -0.4446255565, -0.6471836567, -0.6526520848, 1.0513753891, 0.2892300785, 0.4959574044, -0.1958958507, 0.4249097705, 0.6415733099, 0.2135245353, -0.5305221677, 0.6989015937, -0.5916627049, -0.3923717141, 0.2509470582, -0.3138402998, -0.9551267624, 0.2124104202, -0.1000395417, -0.4308539629, 0.2210979462, -0.2095396072, 0.0331233479, 0.6740632653, -0.141427353, 0.3150278628, -0.0298441835, 0.2034888864, -0.0794579387, -0.6799538732, 0.1224308759, 0.1489936858, 0.1162616313, -0.2610285282, -0.2291600406, 1.0958609581, -0.1846202463, 0.8250175714, -0.0900821239, 0.1832224578, 0.1384853423, -0.2477317154, 0.151454255, -0.2441519797, -0.2029144466, 0.4448983073, -0.0679031685, -0.2849935889, -0.3470052779, 0.395876199, -0.8296429515, -0.27810812, -0.7398936152, -0.3914113641, 0.1740055531, 0.1271213889, 0.4315379262, 0.5364117026, -0.159006238, 0.3774761856, 0.6132927537, -0.3576571941, 0.6110393405, 0.0509575307, -0.5654840469, -0.4349260628, 0.78292799, 0.342382282, -0.1871082038, 0.6070989966, 0.2615985274, -0.1162748933, -0.7671503425, -0.4688074887, 0.0760068074, -0.8471163511, -0.4203830659, -1.1298230886, -0.5140538216, -0.2493149638, 0.0426530354, -0.1060504168, -0.4244885147, -0.7259572148, -0.2190841734, 0.1374177337, 1.122656703, -0.0884299949, 0.1186195016, -0.495066613, -0.1083842441, 0.0636061057, 0.1045277566, 0.0226205159, -0.3464272022, -0.1864139736, 0.0296273977, -0.4337460101, -0.4912818968, 0.4160225093, 0.5741932988, 0.4942063689, 0.2177188396, 0.027903555, 0.5352710485, -0.3351216912, 0.9485021234, 0.3484235704, -0.8022540808, 0.4803157151, -0.3396912515, 0.4283750057, 0.5368065238, 0.6118105054, -0.4915059507, -0.3214375377, -0.6063640118, -0.5222067237, 0.6851866245, 0.0166463964, 0.4466293156, 0.0385499671, 0.5492756963, 0.2862490416, 0.306820184, -0.7324803472, -0.468310982, -0.108125031, -0.6353203058, 0.167077899, -0.29167521, 0.1140878499, -0.4398222268, 0.4829122126, -0.4054839909, 0.5573179722, -0.0608523861, -0.065975666, -0.0567918532, 0.1422498673, 0.6877935529, 0.8884549737, -0.0236076787, 0.2396409959, 0.2250704616, -0.4528927505, 0.0754455924, -0.0347625054, -0.2618791163, 0.2656825185, 0.729490757, 0.5510740876, 0.2453395277, -0.7360432744, 0.6711006761, -0.2898919582, -0.5261689425, -0.2117680609, -0.0785082281, -0.0346818008, 0.0432079546, 0.6530213356, 0.5367293954, 0.324852705, -0.4556237459, 0.3318651915, 0.2757022679, -0.9509876966, -0.5009125471, 0.6319186687, -0.1791172624, -0.0595383272, 0.6603211164, -0.2369248569, -0.7245184779, 0.3976762891, 0.5110980272, 0.8308342099, -0.0187920965, 0.2454465181, 0.5973736048, 0.2462780178, 0.012895749, 0.0201060716, 0.2282675803, -0.5781288147, -0.4720932543, -0.3703621626, -0.3864404261, 0.1728427857, -0.8407862186, 0.5849621892, -0.4618552625, 0.0309625138, 0.1481291205, 0.0869614035, -0.4734686315, -0.2789663374, 0.430799067, 0.9196830988, -0.6294990778, 0.5878753066, 0.9194430113, -0.2632004321, -0.1687803864, -0.0902862176, -0.0794900432, -0.5004378557, 0.9343645573, 0.3562770188, -0.1014460176, -0.0939357355, -1.1481435299, -0.8479196429, 0.8512607813, 0.5472856164, -0.7584164143, -0.2027675062, 0.4775840044, 0.3069548607, -0.5710806847, 0.1241448969, 0.1700256616, 0.3160701692, 0.0562038049, -0.531470716, -0.3880564868, -0.2505969107, 0.0405750275, 0.1792455912, -0.4405925572, 0.8108825088, -0.0604247749, -0.4086077809, -0.0242186636, 0.9270173907, 0.2641578615, 0.25476861, 0.3683791161, 0.4353072941, 0.9111874104, -0.291805774, 0.7206495404, 0.1211969331, 0.2911141515, 1.015357852, -0.2978469431, 0.8500416875, 0.2070399225, -0.33174178, 0.6582202315, 0.4328970909, -0.2089842856, 0.662961185, 0.3841113746, -0.1920549423, -0.2429160178, -0.3590265512, -0.3127893507, 0.7170531154, 0.5454853177, -0.3570273817, -0.5029166937, 0.7099250555, -0.0020709641, 0.2608297765, -0.3444394767, 1.1274923086, 0.1576803178, -0.2578608692, 0.1916817278, 0.0156136351, 0.7843706012, -0.3670857847, -0.3347108066, -0.0566920862, 0.2289957553, -0.246481657, -0.9092532992, 0.5389609933, -0.1823132038, -0.4187661409, -0.4707461298, 0.9926592708, -0.5302355289, -0.8653864861, 0.2436993569, 0.0359442607, 0.164437294, 0.231303975, -0.8988165855, 0.2498264313, -0.0809653625, 0.3556617796, 0.5252278447, 0.3822129071, -0.0924529359, 0.7293229699, 0.2333341986, -0.1929228604, 0.0677865744, -0.2113123834, 0.9034525752, -0.6203071475, -0.1920026094, -0.8816065788, 0.3809987605, -0.101616919, -0.3910927176, 0.3524190784, 0.6750195622, 0.887039721, 0.1695912331, 0.8144504428, -0.1892657131, 0.6282539368, -0.2767679691, 0.7716439962, -0.4035315514, -0.003679567, 0.059242744, -0.3464865685, -0.6017948389, 0.4586381316, 0.1071026176, 0.1209288612, 0.2660335004, 0.4052774012, -0.0020591319, 0.3275340497, 0.2158968449, -0.0981061533, 0.4119631052, 0.3244963884, 1.1985191107, -0.7855712175, 0.4482606649, -0.1272454858, 0.2334885001, -0.5104416609, -1.2173615694, -0.675685823, -1.0722306967, -0.8097074628, -0.1477067024, 0.0504868925, 1.1210290194, 0.7905917168, -1.0087845325, -0.1745693684, -0.1197716594, 0.1534096748, -0.2983213365, -0.1493456066, 0.2309742123, -0.4950642288, -0.4409357607, 0.12678653, 0.1625807285, 0.0497676209, -0.2878808081, 0.0779748037, -0.2484213561, -0.3298828304, 0.7176448107, -0.0733626708, -0.7151976824, -0.1650364399, -0.0123892017, -0.2249394953, 0.3307266533, 0.8224554658, -0.7772275209, 0.2355719209, 0.3210752904, 0.7535447478, 0.4710650444, -0.4771230221, 0.6308617592, -0.6579850912, -0.2140788138, 0.6018040776, 0.3614100218, 0.4737788141, -0.1878075153, 0.4360102117, 0.0736104473, -0.4308639169, -1.001196146, -0.1459922045, -0.8685573339, -0.4313106239, 0.6817447543, -0.1297280043, -0.0419998169, -0.1991093159, -0.078216359, 0.1219455749, -0.2610006928, 0.5696350336, 0.9000966549, -0.0554438755, -0.6605495214, -0.6064471006, 0.4299436212, 0.2405608743, -0.6964763403, 0.0547542572, 0.0644767508, 0.0173529796, 0.2017987221, 0.1787410825, -0.5387101173, -0.1878469884, -0.4238076806, 0.1652749181, 0.0802864954, -0.4890000522, -0.5442982316, 0.2002991438, 0.153071925, -0.0972896069 ]
http://arxiv.org/abs/2404.08720v1
http://arxiv.org/pdf/2404.08720v1
Exploring Contrastive Learning for Long-Tailed Multi-Label Text Classification
2024-04-12T11:12:16
2024-04-12T11:12:16
Alexandre Audibert, Aurélien Gauffre, Massih-Reza Amini
cs.LG
cs.LG, cs.CL, cs.IR
Learning an effective representation in multi-label text classification (MLTC) is a significant challenge in NLP. This challenge arises from the inherent complexity of the task, which is shaped by two key factors: the intricate connections between labels and the widespread long-tailed distribution of the data. To overcome this issue, one potential approach involves integrating supervised contrastive learning with classical supervised loss functions. Although contrastive learning has shown remarkable performance in multi-class classification, its impact in the multi-label framework has not been thoroughly investigated. In this paper, we conduct an in-depth study of supervised contrastive learning and its influence on representation in MLTC context. We emphasize the importance of considering long-tailed data distributions to build a robust representation space, which effectively addresses two critical challenges associated with contrastive learning that we identify: the "lack of positives" and the "attraction-repulsion imbalance". Building on this insight, we introduce a novel contrastive loss function for MLTC. It attains Micro-F1 scores that either match or surpass those obtained with other frequently employed loss functions, and demonstrates a significant improvement in Macro-F1 scores across three multi-label datasets.
[ -0.6493458152, -0.3982500732, 0.3887264431, 0.2929989994, -0.2344419062, 0.1295833737, -0.1907135248, -0.4398859739, 0.3573259115, 0.2604497969, -0.55106318, -0.6427170038, -0.7159144878, 0.2145650089, -0.3180736899, 1.2704068422, -0.0575653501, -0.2427141666, -0.1173581779, -0.6795759201, -0.2538225949, -0.8478007317, -0.6159097552, -0.5702013969, 1.0268435478, 0.0871501565, 0.4367194176, 0.2835434973, 0.4944134057, 0.1919559538, -0.1612007022, 0.0631421953, -0.5411263704, 0.0009071236, -0.0605567843, -0.3599029183, 0.1202548891, -0.0346272439, 0.8401678205, 0.8029226065, -0.0803908557, -0.3095840812, 0.6201927066, 0.8754701614, -0.7878719568, 0.2228150964, -0.3725674152, 0.409374088, -0.2020855993, -0.3249319494, -0.7355498672, 0.0504070967, 0.2379210889, -0.6983477473, 0.0351585522, 0.0938727558, 0.8241682053, 0.2834563255, -0.9624065161, -0.3240654469, -0.3331571817, 1.0982960463, -0.1870996058, 0.5184540749, 0.1817782074, 0.1675336063, 0.0498536676, -0.4462020397, -0.2440092862, -0.0689488351, -0.3425952196, 0.4045105875, -0.1676707417, 0.0018238835, -0.1140485257, 0.3359568417, -0.3897762895, 0.4154281616, -0.0726084635, -0.2040051818, 0.1306026727, 0.1614348292, -0.3545987606, 0.0488379449, -0.5708426237, -0.3321757317, -0.4774335623, -0.0434491225, 0.2612222433, 0.5452637076, -0.2072893679, 0.3066541553, 0.108484894, 0.5283790827, -0.0009330646, 0.015677128, 0.3755290508, -0.2618944347, -0.1430549622, 0.0960673541, 0.8138673306, 0.4434415698, 0.0733827502, 0.1390517354, -0.0566753671, -0.3348204792, -0.012019746, -1.1755540371, -0.3854902983, 0.0213815216, -0.5914025903, -0.5487576723, 0.1567516029, -0.6765801907, -0.7149192095, -0.2401426733, 0.4685524702, -0.3932950497, -0.3126475513, 0.1216683909, -0.0955977142, 0.1405017227, 0.3168209791, -0.8536152244, 0.3590810299, 0.3416083455, 0.8971533179, -0.4103518128, -0.1779221594, -0.5285382271, 0.1674111187, -0.3690081239, 0.5734810829, -0.4799777269, -0.2150552571, 0.0776333809, -0.12151815, -0.0679721907, -0.5897464752, 0.3970543742, -0.4827283323, 0.1590044051, 0.1076183394, -0.5282613039, -0.3272480369, 0.4476468861, -0.8364462852, 0.7277930975, 0.1602830291, -1.2137787342, 0.4422511458, -0.4940541983, -0.4461841583, -0.3582389951, -0.0577692203, -0.9138293862, -0.018883517, 0.1836587042, 0.871773541, 0.0755630657, 0.0189869646, -0.4730193317, -0.4201217592, 0.4447173178, -0.3890725672, 0.8577743769, 0.0094475765, -0.1840135008, 0.0662541762, -0.8090913892, -0.2042105794, -0.1009044796, -0.2894977331, -0.8094268441, -0.1643290818, 0.2085877657, 0.1552668363, -0.2225549221, -0.3086692393, 0.0661644861, -0.2165258825, 0.1099581718, 0.7193892002, 0.0648268685, 0.4297069907, -0.1408546865, 0.1617312878, 0.5640470982, -0.2209257036, -0.3060495853, -0.4283321798, -0.6956981421, -0.3059102297, 0.467011869, 0.4851049781, -0.7753344774, 0.3236597776, 0.0916437358, -0.3268363476, -0.5141870975, 0.0530770496, 0.2051648498, 0.5407506227, 0.7863300443, 0.076726526, -0.2876623869, -1.1030784845, 0.0829123259, 0.2608684897, -0.0594122447, 0.145503521, 0.6053736806, -0.5846731663, 0.5284841061, -0.6448423862, -0.7651960254, -0.0699897781, 0.4477764368, 0.3589981198, 0.6138654351, 0.6010699272, -1.0254399776, -0.5799392462, 0.2017103136, -0.6639735699, 0.0785905123, -0.4568830729, 0.0818462372, 0.2995667458, 0.5399748087, -0.3364993334, 0.4088312984, 0.6291515827, -0.1214476749, 0.6957628131, -0.2522784472, 0.2104090601, -0.8205650449, -0.118692562, 0.414732635, 0.0039247377, -0.436978966, 0.0113981524, 0.3001344204, 0.0353582725, -0.3065100014, 0.4281511307, -0.1837294698, 0.2997144461, -0.1006072387, -0.0644596741, 0.1573531479, 0.5447545052, 0.0984877497, 0.6662561893, 0.5458365679, -0.8164541721, -0.1045293733, 0.0335912332, -0.0509214029, 0.8458390236, -0.324436903, -0.3176526427, -0.2266695946, 0.3673380017, -1.0634412766, 0.0050433665, 0.3040371537, -0.2408056557, 0.620775044, 0.1097893342, -0.5561933517, -0.0564444661, -0.6323319674, 0.426607132, 0.1211383194, -0.752509892, 0.4960550964, 0.0335223228, 0.139920041, -0.8426678181, -0.9867817163, -0.165618822, -0.5121523142, -0.1700549275, 0.6375463605, -0.0262717474, 0.0200570244, -0.1192305386, -0.1818026304, -0.107462965, 0.0603356548, 0.0445500016, -0.1968199611, -0.1111557633, 0.5299520493, 0.2385653257, -0.3474436998, 0.1091665775, -0.0720188916, 0.3798648417, -0.3172446489, -0.1799176633, -0.4956692755, 0.5076867342, 0.099566564, -0.0507939197, 0.9999116659, 1.0512127876, -0.1932990253, -0.2956593335, -0.3075338602, -0.1224223375, -0.4740496874, 0.5614922643, -0.4843358397, -0.8530290723, 0.6147301197, -0.0149567062, -0.171771571, 0.7696229219, 0.2754786611, -0.5135262012, 0.8723840714, 0.9297302365, 0.1084923744, 0.4494980276, -0.2556274533, -0.1333377808, -0.7388617992, -0.3355644345, -0.437438637, -0.2457481474, -0.9098892212, -0.2351721525, 0.2683365345, 0.0213726349, -0.425653547, 0.0427664369, -0.6145300865, 0.3687966168, 0.5519382954, 0.4329488873, 0.2321293652, -0.0498897955, -0.1029444858, -0.3999503255, -0.5008189678, -0.0341758579, 1.0372689962, 0.3690420389, 0.7443196774, 0.0822587758, 1.2259333134, 0.313356936, 0.6342054009, -0.7961062789, 0.2169355601, -0.5417952538, -0.1866159439, -0.0898971483, -0.7310709953, -1.0717179775, 0.5523440838, -0.585114181, -0.3487380743, 0.2258612812, 0.2038082778, -0.0475900322, 0.3130756319, -0.7218284011, 1.009685874, -0.1990167499, -0.4896640778, -0.1884346902, -0.8584824204, 0.4830653667, -0.3133903146, 0.1875630319, 0.2002256811, -0.2281665951, 0.8930021524, 0.0390332639, 0.8253925443, -0.1622534096, -0.1142269522, 0.0261158105, -0.0420223922, 0.2134232372, -0.0464881323, -0.1397081316, -0.0346570574, -0.1298897713, -0.4938515723, -0.5278865099, 0.6174009442, -0.5044170618, -0.1640436053, -0.5907440782, -0.3191556334, -0.1682635248, 0.3377014995, 0.102732636, 0.2592117786, -0.0928941518, 0.5441410542, 0.9480998516, -0.5282552242, 0.167244643, -0.0648994893, -0.3118626177, -0.5540015697, 1.1815276146, 0.0556368046, 0.1700185835, 0.8237583637, 0.5160866976, -0.4883348346, -0.5449765325, -0.101213932, 0.249825567, -1.0386366844, -0.4088029861, -0.5004220009, -0.0575287342, 0.1438864321, -0.3095979989, -0.019908756, -0.3027053177, -0.6759097576, -0.0468536764, -0.0248875041, 0.5887835622, -0.083095111, 0.4463199377, -0.5601650476, 0.3416751921, 0.1847655624, 0.550573647, 0.0686544105, -0.307577014, -0.333070159, -0.1857916415, -0.4650921226, -0.8691045046, 0.210093841, 0.368476063, 0.5343341231, 0.5707095861, 0.2993068397, 0.6394361258, -0.2608782053, 0.2990228236, 0.5901684165, -0.6366305947, 0.193652302, -0.1386525035, 0.3668920994, 0.7274256945, 0.7314232588, -0.2531233132, -0.4591794312, -0.4546028376, -0.8881413937, 0.3337569535, 0.2039051652, 0.0401169062, -0.0035783257, 0.1052853912, 0.2554936707, 0.1700803638, -1.306784153, -0.5307509899, -0.5293143988, -0.3723372519, -0.107175298, -0.1718058884, 0.1161336452, -0.1679866314, 0.5450422168, -0.1328597069, 0.1516667753, 0.0581950545, -0.0382145159, 0.5592000484, 0.4241920412, 0.53422153, 0.0487842932, -0.5376927257, 0.408482492, -0.0030534184, -0.233547017, 0.1500298381, 0.4066354036, 0.1052410901, -0.0384865105, 0.4281725287, 0.3765765131, 0.3215411305, -0.3802793026, 0.5392180681, 0.1091481224, -0.4682391584, 0.0411284454, -0.34949103, 0.1970835775, 0.0001888461, 0.550538063, 0.1864209771, 0.4855535626, -0.3315287232, 0.4709789455, 0.354073137, -0.6789643168, 0.2018311024, 0.4186277688, 0.1758774221, 0.2188703269, 0.7163006663, -0.354175508, -0.5340989828, 0.5847423077, 0.6499657631, 0.6069183946, -0.1396542192, 0.1981512755, 0.5657148957, 0.2498034537, 0.0740613863, -0.4599548876, -0.1937411875, -0.4775523841, -0.4439182281, -0.3972951472, -0.6506868601, -0.0020207167, -0.8048849702, 0.1975058019, -0.3327313066, -0.0976626799, 0.2340967655, 0.0105391871, -0.5203970671, 0.1932427883, 0.164399296, 0.6738167405, -0.7149323225, 0.6659703851, 0.3395815492, -0.3824960291, -0.2717511654, 0.0429301634, -0.0916943774, -0.4149922132, 0.8819186687, 0.9123889208, -0.3798114359, -0.1485570222, -0.3469184041, -0.3874237537, 0.7416414022, 0.0255185459, -0.4769667983, 0.2910563052, 0.1640574336, 0.6363680363, -0.3917275071, 0.0666759014, 0.3749022484, 0.4842914343, -0.1589356661, -0.4169652462, -0.0262817256, 0.0258853976, -0.2641021013, 0.5185564756, -0.4998284876, 0.7257556319, -0.2861492038, -0.1936915964, -0.1333578229, 0.762229681, 0.3154081106, 0.5739927292, 0.3990698457, 0.3757677972, 0.6109890938, -0.1906589866, 0.9016830921, 0.1248348951, 0.6149516106, 0.912812233, 0.0265490692, 0.9730328321, 0.7296071649, -0.2309536636, 0.4954401851, 0.6871196628, -0.0441851243, 0.6838236451, 0.595312953, -0.2102573663, -0.1512914449, -0.021199299, -0.2782786489, 0.1620586812, 0.5866422653, -0.2908633649, -0.3826264143, 0.3240965605, -0.1778457612, 0.2319853008, -0.4078729749, 0.6239404678, 0.2086160332, -0.033668559, 0.7449218035, -0.1292158067, 1.1978271008, -0.5617146492, -0.304813236, -0.0919574425, 0.3889820576, -0.3579829931, -1.1630331278, 0.4040667415, -0.6207722425, -0.1969026327, -0.2468604594, 0.506008029, -0.694213748, -0.408711195, 0.667488277, 0.113750726, -0.0417406633, -0.1994594038, -0.892378211, 0.0467378497, -0.0832737684, -0.2458444536, 0.5590561628, 0.5229757428, 0.1917823851, 0.7617021799, 0.2905304432, -0.3365198374, -0.2672387362, 0.1077272296, 0.7181020379, -0.777635932, -0.5135176182, -0.810775876, 0.4822409451, -0.1652579159, -0.2639966607, 0.4830882549, 0.6008324623, 0.6662707329, -0.2239815146, 0.487444967, 0.2595452964, 0.4829409719, -0.5808756948, 0.6915674806, -0.8642798662, 0.0703140125, -0.476444751, -0.7987257242, -1.0670739412, 0.6521814466, 0.0823348761, -0.0428395867, 0.851462245, 0.4353503585, -0.1050002947, -0.2966583967, 0.3604605794, -0.0206534453, 0.3576649427, 0.7254587412, 0.7718048692, -0.5940926671, 1.0011495352, -0.5711081028, -0.1452736259, -0.2984157205, -1.0980573893, -1.021443367, -0.7506029606, -0.3853875995, -0.3562319279, 0.0404313058, 0.6666092277, 0.4913632572, -0.8269858956, -0.0510337949, 0.1925155818, 0.3147430718, -0.4739091396, -0.2922548056, 0.8726081848, -0.3738592267, -0.5418230891, -0.0778709948, 0.2287352681, 0.4213830829, -0.0661302805, -0.1821482331, -0.2016610205, -0.4109733403, 0.9131290913, 0.1076716781, -0.4660035968, -0.1588069648, -0.2836420536, -0.1779524535, 0.3017621338, 0.6468244195, -0.8160438538, 0.3151758909, 0.0319188274, 1.0007485151, 0.7284131646, -0.0720493197, 0.1984983683, -0.9925403595, 0.1113789529, 0.3063679338, 0.3221892416, 0.5044233799, -0.0330352113, 0.4849095941, 0.0564115159, -0.3852844238, -0.7707582712, 0.2172279954, -1.3475739956, -0.3885352015, 0.832698524, 0.0445722789, 0.1487150341, -0.1857271194, -0.2940790653, -0.010919462, -0.4386422634, 0.6390157938, 0.7402847409, -0.3414779007, -0.5235908031, -0.3133984804, 0.4743999243, 0.382973969, -0.7084298134, 0.1725844741, 0.3179210424, 0.0498643219, 0.4480433464, 0.3762734532, 0.1575905085, 0.0607642308, 0.0977218747, -0.1707513928, -0.1063733101, -0.3767228723, -0.3702831268, 0.4619284272, -0.1709024608, -0.157507062 ]
http://arxiv.org/abs/2404.08382v1
http://arxiv.org/pdf/2404.08382v1
Look at the Text: Instruction-Tuned Language Models are More Robust Multiple Choice Selectors than You Think
2024-04-12T10:36:15
2024-04-12T10:36:15
Xinpeng Wang, Chengzhi Hu, Bolei Ma, Paul Röttger, Barbara Plank
cs.CL
cs.CL, cs.AI
Multiple choice questions (MCQs) are commonly used to evaluate the capabilities of large language models (LLMs). One common way to evaluate the model response is to rank the candidate answers based on the log probability of the first token prediction. An alternative way is to examine the text output. Prior work has shown that first token probabilities lack robustness to changes in MCQ phrasing, and that first token probabilities do not match text answers for instruction-tuned models. Therefore, in this paper, we investigate the robustness of text answers. We show that the text answers are more robust to question perturbations than the first token probabilities, when the first token answers mismatch the text answers. The difference in robustness increases as the mismatch rate becomes greater. As the mismatch reaches over 50\%, the text answer is more robust to option order changes than the debiased first token probabilities using state-of-the-art debiasing methods such as PriDe. Our findings provide further evidence for the benefits of text answer evaluation over first token probability evaluation.
[ -0.2378623635, -0.8919523954, 0.5451802015, -0.1154474393, -0.3419831395, 0.046493385, -0.0275461841, -0.1913801134, -0.0647404268, 0.367064029, -0.4220443666, -0.4352029562, -0.6809449196, 0.1693933159, -0.281465292, 1.0611687899, 0.2903156877, 0.0902016982, -0.4067801833, -0.198682487, -0.3399631083, -0.8486917615, -0.7608004212, -0.0511408001, 0.541103065, 0.3290375769, 1.0206540823, 0.6548579335, 0.6289061308, 0.3671288788, -0.2683893442, 0.0915084705, -0.2745323479, 0.2706671953, -0.1353594065, -0.5381428599, -0.4771662056, 0.0754825473, 0.4366413057, 0.2433891594, 0.1293070912, 0.360699743, 0.157982111, 0.3103493154, -0.6035622954, -0.1952936351, -1.1367195845, -0.2711689472, -0.1442016065, -0.4767095149, -0.6475787163, -0.2315954119, -0.1052217409, -0.0928468257, -0.0687501207, 0.0894081444, 0.683267355, 0.4992437661, -0.45768857, -0.3358373046, -0.4411422312, 0.9525985122, -0.7134701014, 0.183911711, 0.5400984287, 0.2275286317, -0.0985936821, -0.4542114139, -0.489646107, -0.3129227757, 0.0036159204, 0.1148773506, 0.0302986056, 0.0952760279, 0.0890980959, 0.4197575748, -0.5265855193, 0.3705777824, 0.1878350228, -0.4870833755, 0.5452115536, 0.2351898402, 0.2196962535, -0.2723469734, -0.4954473078, -0.4574618936, -0.1725371778, 0.4331153929, 0.6873794198, 0.3761084974, 0.2762257159, 0.8239489198, 0.1157964841, 0.8719573021, 0.1419667006, -0.5120407343, -0.1458623111, -0.6380467415, -0.2470329851, 0.0049912333, 0.699793756, 0.2856368423, 0.2961361706, 0.0171568915, -0.0810553655, -0.1742489785, 0.3394840062, -0.7344894409, -0.0253053438, 0.4178789556, -0.5874608159, -0.6069934368, 0.1485288739, -0.610141933, -0.1478077769, 0.0970652327, 0.3962697089, -0.3714295626, -0.0274443589, 0.052272208, 0.0134406732, 0.2470932305, 0.0990431905, -1.0916121006, 0.1086469218, 0.9158124328, 0.5904209018, -0.4505914152, -0.2287288159, -0.7712390423, -0.3616784215, -0.3221005499, 0.7180421352, -0.6932024956, -0.3214970231, -0.2126000971, -0.146847263, -0.2779892087, -0.4474493861, 0.921662569, -0.6454545259, 0.1872482151, -0.1794100255, -0.5362871885, 0.2867906988, 0.3632414639, -0.6301863194, 1.0800154209, 0.0826031342, -1.2203879356, 0.5147357583, -0.0901062042, -0.3071883619, -0.3542259037, -0.1046133488, -0.5427253842, 0.0856013373, 0.3697568774, 0.2590227425, 0.1692228615, 0.0901331976, -0.6246274114, -0.4280478954, 0.8539364338, -1.0697385073, 0.8602135181, 0.1052887514, -0.117542021, -0.0043156487, -0.6969833374, 0.5149531364, -0.3750601411, -0.9402872324, -0.3362774849, 0.0209107343, -0.1498238742, 0.2843821049, 0.0616474003, -0.3118105531, 0.0430972055, -0.5751375556, 0.1614653915, 1.1378164291, -0.1114171967, 0.2867111862, -0.5502372384, 0.6562057734, 0.2111199349, 0.1420844793, -0.1480764896, -0.6981201172, -0.4037199914, -0.2466924191, 0.5319935679, 0.7116599679, -0.5879457593, 0.2688506544, -0.2255108654, -0.5245198011, -0.5957686901, 0.0332025588, 0.4747703969, 0.4957258999, 0.2906703949, -0.101238139, -0.363121897, -0.8696940541, -0.7935008407, -0.6501083374, -0.0258395318, 0.2973160148, 0.2995561361, 0.1083982438, 0.7292292714, -0.2922341526, 0.3884240985, -0.0962867662, -0.0521955751, 0.2820020318, 0.4127791524, 0.5767996907, -0.8521504402, -0.4299222529, -0.1233611926, -0.129671514, 0.0721382871, -0.052852843, -0.412612766, 0.3552958667, 0.196159631, -0.599560678, 0.3600841165, 0.4702866375, -0.5012695789, 0.6767034531, 0.1354114562, 0.3774585426, -1.1184561253, 0.0148008, -0.3354700208, -0.2817159891, -0.3913879991, 0.0768491924, -0.1235179156, 0.2612141073, -0.4392789304, 0.5290488601, 0.0562333204, -0.0983780921, -0.0462322868, 0.1613204926, -0.0793471262, 0.1516216546, -0.3784027398, 1.0801420212, 0.3567478955, -0.7293760777, -0.0241006818, 0.3798328936, -0.3341248035, 0.3236072063, -0.5117894411, 0.2784291208, -0.1652259529, -0.2308018357, -1.3488687277, -0.2192516923, -0.0898429304, -0.7961345911, 0.3601790667, 0.0326295719, -0.3719680905, -0.3526269794, -0.49700436, 0.1684415787, 0.156613037, -0.4037311971, 0.3044173717, 0.2485808432, -0.227442205, -1.0987378359, -0.8625905514, -0.1386507154, -0.1242941618, -0.363688767, 0.1744311154, -0.5661228895, -0.3530288637, -0.2280578017, -0.5674845576, -0.213327229, 0.6037163138, -0.0750318021, 0.3894841075, -0.3409559429, 0.2134179324, 0.10552077, -0.008085303, -0.0921056867, -0.2201954722, 0.5216588974, -0.0099938409, -0.5772325993, -0.2008890063, 0.2991351485, 0.7708229423, -0.1228610426, 0.8997021914, 0.4131866395, -0.1400885433, 0.1057936177, -0.3182213008, -0.0884010196, -0.4979606569, 0.4774580598, -0.458820045, -1.0404828787, 0.2969047725, 0.5085684061, 0.2477687895, 0.4738057256, 0.7734022737, -0.0372532904, 1.3816241026, 0.4605565965, 0.0789547414, 0.3537087142, 0.5098003745, 0.2344106287, -0.4673832357, -0.0216618143, -0.9681997299, -0.4130881727, -0.8480492234, -0.2277161479, 0.2170279771, 0.2597828209, -0.3242255449, 0.1689338386, -0.6195534468, 0.4979654253, 0.6629505754, 0.0921872705, 0.3834716678, 0.1353435814, -0.5290824175, -0.1662375331, -0.7057456374, -0.9651281238, 1.2167844772, 0.2308915108, 0.7383025885, 0.1651396304, 0.5758787394, 0.0229931064, 0.3421477973, -0.7264407277, 0.549392581, -0.3708005846, -0.8343017101, -0.4597252011, -0.3998797536, -0.7549664378, 0.2364270985, -0.4326105416, -0.9227819443, -0.053508874, 0.2053339183, -0.3895013332, 0.2597578168, -0.5051510334, 0.749027133, -0.423635751, -0.2890980244, 0.3949016929, -0.4160124063, 0.2468458563, -0.0806565285, 0.0631872565, 0.1929107606, -0.1362406164, 0.6559804082, -0.1427008361, 0.5366618037, 0.2765184939, -0.1887095869, 0.3734391928, 0.1241116151, 0.2813566327, 0.3117969334, -0.6716402173, -0.3403238356, 0.2082575262, -0.3763352334, -0.5688319802, 0.7904633284, -0.67342484, -0.8369743824, -0.142191723, -0.316503495, -0.2496436238, 0.2237318456, 0.5349240303, 0.5477128625, 0.0735025704, 0.2880534232, 0.6554239392, -0.3697283864, 0.7023074627, 0.1381168067, -0.2238722593, -0.5209193826, 0.360632956, 0.1137693971, 0.425015837, 0.5970410705, 0.2977491915, -0.4763596356, -0.4517436028, -0.4894745946, -0.2282816172, -0.9722031951, -0.3279303908, -0.741904974, -0.129215911, -0.357114166, -0.0782593265, -0.0942244008, -0.5248598456, -0.3500921428, -0.4573994577, 0.0363307744, 0.3762319088, 0.3947423398, 0.0114074629, -0.7133898735, 0.1378553361, 0.5828940272, 0.4615482092, -0.1528369039, -0.5417475104, -0.0042914231, 0.0785259604, -0.4293551147, -1.1104457378, -0.0693862513, 0.2690293491, 0.7191726565, 0.3360815644, 0.1307521462, 0.6388193965, -0.2462540269, 0.9559932947, -0.1670920104, -0.7449479103, 0.518176198, -0.0484827831, 0.4026367068, 0.9657000899, 0.2856151164, 0.1367236972, -0.6652742624, -0.5712963343, -0.532410264, 0.6058526635, 0.2100926936, 0.4985510409, -0.4299108684, 0.4262583256, 0.2720469832, 0.3004177213, -0.8396750689, -0.4032340944, -0.1388365328, -0.3795983493, -0.0940468013, -0.3988266885, 0.2273800671, -0.1315860152, 0.66080302, -0.1743478626, 0.2403843552, 0.2074763328, 0.1033977717, -0.0332067907, 0.5877507329, 0.5974946022, 0.4472297132, -0.0703469962, 0.4001162052, 0.1888189912, -0.641081512, 0.1578766257, -0.1672392786, -0.3019563556, 0.1960976571, 0.5151299238, 0.7472800612, 0.2214562148, -0.600392282, 0.5866894722, -0.2568020225, -0.0389408097, 0.2748641372, 0.3780720234, -0.1297968179, -0.0588651337, 0.3529404402, 0.3377797604, 0.0317484848, -0.636003077, 0.380029887, 0.6694688797, -0.4585589468, -0.0303794406, 0.9274976254, -0.1901952624, -0.6383881569, 0.3707197905, -0.0619653389, -0.7878227234, 0.7685793638, 0.7228147984, 0.6577687263, -0.1974402219, 0.3242521882, 0.4749051034, 0.5025903583, 0.0063687856, 0.4682878852, 0.0919084921, -0.5424208045, -0.4705237746, -0.8781272173, -0.2728289068, 0.153289184, -0.5659359694, 0.3743341863, -0.3180834055, -0.6134859324, -0.1666460633, -0.0580141507, -0.5511399508, 0.3539509773, -0.0567105003, 0.972878933, -0.6316853762, 0.4743553698, 0.9297095537, -0.1069775522, -0.899301827, 0.3089651763, -0.3797152042, -0.6201147437, 0.2969783247, 0.3036295474, -0.1600704789, 0.0418512449, -0.6841602921, -0.8645459414, 0.8579028845, 0.6421247125, -0.2451105863, 0.2511936128, 0.1704989225, 0.5427950621, -0.1650724858, 0.5712850094, 0.4573718607, 0.3834711611, -0.0650495514, -0.873695612, -0.128714785, -0.0489309616, -0.0648785383, 0.0848616809, -0.5088925958, 0.931332469, -0.3471702337, -0.2781942189, 0.2033007592, 0.4645560384, 0.2988691926, 0.2876783907, 0.4262372553, 0.4310570359, 0.8733922839, -0.1374895722, 1.1887533665, -0.3458403945, 0.415943265, 1.0660099983, -0.0226565991, 1.1387845278, 0.6060439944, -0.2887011766, 0.5145048499, 0.7479408979, 0.3689244986, 0.4213404059, 0.1511199772, -0.0148166586, -0.6726930737, 0.2861050963, -0.061741855, 0.7273003459, -0.127899766, -0.3801444471, 0.0071196989, -0.17376481, 0.0838586241, 0.2943687439, -0.3149593771, 0.7577987909, -0.0484580696, -1.0896242857, 0.5330415368, 0.0058256965, 0.6038626432, -0.314468503, 0.1863623559, -0.2650471628, 0.0661354885, -0.1727188528, -0.9870218039, 0.2391950786, 0.1539756805, -0.2941530049, 0.0650178269, 0.8264045119, -0.1734625846, -0.6390033364, -0.0696281269, 0.4965211153, -0.0600106381, 0.2271535993, -0.6285169721, -0.1104957983, -0.0599472858, -0.3806936741, 0.4030354023, 0.2339118123, 0.1030060947, 0.7589331865, 0.5817633867, -0.2154903859, 0.2672572136, -0.3114809394, 0.621458292, -0.2404117733, -0.4207509756, -1.2434573174, 0.6420212984, -0.093672134, -0.5648722649, 0.730820179, 0.3887455463, 0.6888860464, -0.0449415296, 0.6298223734, 0.1262183487, 0.4346141517, -0.6162643433, 0.520164609, -0.4475601912, 0.4264369011, -0.3747863173, -0.8217920065, -0.2519803345, 0.4168900549, -0.082892172, 0.1558845937, 0.6518267393, 0.6826642752, 0.0469078645, -0.1430291682, 0.3994392753, 0.0073343609, -0.0524341762, 0.4167118967, 0.6753066778, -0.5327480435, 0.8104344606, 0.0997935012, -0.1087377593, -0.1029343978, -0.9869342446, -1.0468691587, -0.4152435362, -0.1915438473, -0.3902843595, -0.1549590975, 0.749371171, 0.380078882, -0.9532173872, 0.2543596625, 0.1309372336, 0.4806683064, -0.2658082545, -0.2267859727, 0.3299511373, -0.3289074004, -0.6487236619, 0.1958616972, 0.2230614275, 0.1289348006, -0.0460032113, 0.1215660274, -0.1726513505, 0.5150696039, 0.4497324526, -0.1989838481, -0.6083804965, -0.6168458462, 0.4855618477, -0.3960679471, 0.0989829153, 0.5164561868, -0.6695239544, 0.4467990398, 0.3633304536, 0.8869627118, -0.1556524783, 0.3729652762, 0.2968470156, -0.8709955812, -0.0853932127, 0.1858970374, 0.1669613123, 0.2515074313, -0.4527752697, 0.170514971, -0.2666003108, -0.7480259538, -0.9339435101, 0.353656739, -0.8029144406, -0.2264702022, 1.1588834524, -0.0557236299, -0.1259783357, -0.0342662483, -0.3002707362, 0.2532526553, 0.0163112581, 0.7953171134, 1.1652618647, 0.0808639824, -0.0925223231, -0.5013119578, 0.432475239, 0.5448429585, -0.6617597342, -0.1390745193, 0.091493614, 0.195890069, 0.0735682696, 0.678224206, -0.1240410432, 0.2108004987, -0.0577544197, -0.7633405328, 0.0825649872, -0.1727685779, -0.3538055122, 0.3552581072, 0.5232661963, -0.1826974601 ]
http://arxiv.org/abs/2404.08368v1
http://arxiv.org/pdf/2404.08368v1
ASR advancements for indigenous languages: Quechua, Guarani, Bribri, Kotiria, and Wa'ikhana
2024-04-12T10:12:38
2024-04-12T10:12:38
Monica Romero, Sandra Gomez, Iván G. Torre
cs.CL
cs.CL
Indigenous languages are a fundamental legacy in the development of human communication, embodying the unique identity and culture of local communities of America. The Second AmericasNLP Competition Track 1 of NeurIPS 2022 proposed developing automatic speech recognition (ASR) systems for five indigenous languages: Quechua, Guarani, Bribri, Kotiria, and Wa'ikhana. In this paper, we propose a reliable ASR model for each target language by crawling speech corpora spanning diverse sources and applying data augmentation methods that resulted in the winning approach in this competition. To achieve this, we systematically investigated the impact of different hyperparameters by a Bayesian search on the performance of the language models, specifically focusing on the variants of the Wav2vec2.0 XLS-R model: 300M and 1B parameters. Moreover, we performed a global sensitivity analysis to assess the contribution of various hyperparametric configurations to the performances of our best models. Importantly, our results show that freeze fine-tuning updates and dropout rate are more vital parameters than the total number of epochs of lr. Additionally, we liberate our best models -- with no other ASR model reported until now for two Wa'ikhana and Kotiria -- and the many experiments performed to pave the way to other researchers to continue improving ASR in minority languages. This insight opens up interesting avenues for future work, allowing for the advancement of ASR techniques in the preservation of minority indigenous and acknowledging the complexities involved in this important endeavour.
[ -0.2331155092, -0.3926075399, 0.1582751274, 0.2915724814, -0.0653109029, 0.2916309834, -0.4039464891, -0.7273224592, -0.1416210681, 0.4722118974, -0.0984190032, -0.3602177501, -0.6180208325, 0.3410517275, -0.5231271982, 0.526327908, 0.218813315, -0.1274639219, 0.2047841549, -0.3866927028, -0.4597094357, -0.4775373638, -0.7243857384, -0.4041684568, 0.4301307797, 0.3014857769, 0.8170339465, 0.7831299901, 0.5700987577, 0.2673071325, -0.5064350963, -0.0641298741, 0.1065766588, 0.1360691786, -0.1260291487, -0.4305116534, -0.1272659898, -0.2600659132, 0.7415762544, 0.6146655679, -0.4426470399, 0.0904900432, -0.1118823066, 0.314604789, -0.6926189661, 0.1793440878, -0.6520390511, 0.0240751896, -0.4173015654, -0.0336877517, -0.0946920365, -0.6042811871, 0.3948295116, -0.3572342098, 0.2265751213, -0.1896117181, 0.8227710724, 0.3611133099, -0.1879931986, -0.3270890117, -0.8214051723, 0.6955401897, -1.0733363628, 0.6603056192, 0.4721732438, 0.3127326667, 0.0234187935, -0.6010318398, -0.4917884171, -0.1370960176, 0.1886534393, 0.0006147123, -0.6006858945, -0.0707794353, 0.1491266489, 0.2848121226, -0.7356739044, 0.5441834927, -0.6361971498, -0.3507925868, 0.6431104541, 0.1104378775, 0.2706714869, -0.0091597429, -0.1145170778, -0.0879571065, -0.4689154923, 0.154915303, 0.3681479394, 0.5979240537, -0.2063280791, 0.4796015322, -0.5036045313, 0.8148109317, -0.183468923, -0.3409759402, 0.2851281464, -0.1611907184, 0.1947147399, 0.0942450091, 0.830266118, 0.0387579761, 0.1256974936, -0.3043032587, -0.0003817362, 0.3796061873, -0.1652089655, -0.5128171444, -0.2574287057, 0.1206607297, -0.4056643844, 0.0938514099, -0.3016584218, -0.6815103889, -0.1334931552, -0.3940047026, 0.4365989566, -0.415655911, -0.4130968153, 0.172309503, -0.2520676553, 0.3284725845, 0.1601640284, -0.8370978832, 0.4604097009, 0.5974778533, 0.8376438618, -0.2455950826, -0.4936705828, -0.5065663457, 0.0365453921, -0.1857856214, 0.8127783537, -0.9360013008, -0.3863086402, 0.1262423694, -0.2780240774, -0.2160058469, -0.7350386977, 0.7801008821, -0.6694869995, -0.1849059016, -0.3857374489, -0.1578709632, -0.3239559829, -0.0334172845, -0.4971401095, 0.9281467795, -0.0976058245, -0.4669400752, 0.3100528419, -0.6481661797, -0.4894514382, 0.2127426863, 0.0660162568, -0.3709415197, 0.097450234, 0.166540429, 0.0507895388, -0.4828208387, 0.1531486362, -0.0691445842, -0.4289846718, 0.2706044912, -0.4844874144, 0.7750359774, 0.3681736588, -0.3444449306, -0.0852238908, -0.8865358233, 0.1944880933, -0.1367234886, -0.7671962976, -0.1682565957, 0.0510689691, 0.1190002561, 0.079793185, 0.0650499091, -0.696506083, -0.1531381458, -0.3118030131, 0.6791732311, 0.2596185207, -0.0120775728, 0.2107440978, 0.049146533, 0.4245987833, -0.0725158602, 0.1334884316, -0.1726417542, -0.667232275, -0.6578819156, -0.0732055977, 0.6315210462, 0.4951249063, -0.2677800357, 0.2328969985, -0.2687236965, -0.5650818348, -0.6639273763, -0.1771726459, 0.4844990969, 0.5088564157, 0.4492898583, -0.5290722251, -0.6265508533, -0.6700190306, -0.1310175061, -0.3995988369, -0.086105749, 0.0800897628, 0.1799635887, -0.4972567558, 0.9164968729, -0.2449442297, -0.1148819104, -0.0420398824, 0.2816522121, 0.1489895284, 0.4837792516, 0.2100318223, -0.7700733542, -0.4775263369, 0.2242154777, -0.4078890085, -0.1580275893, 0.362036109, 0.2832931876, 0.2839019597, 0.2290430218, -0.4788604081, 0.5393958092, 0.5430496335, -0.01739797, 0.4950904548, -0.2152513266, 0.1605130583, -0.4894175828, 0.2040664852, -0.0186613761, 0.2612659335, -0.7282387018, 0.3375449181, 0.1967542619, -0.3651696444, -0.1073397696, 0.3828288019, -0.3653434515, -0.1232595742, -0.4297374785, -0.1682011187, -0.4648654163, 0.2869931757, 0.5171328783, 0.583278358, 0.6395769715, -0.752045393, 0.2386874557, 0.4203158319, -0.1507568955, 0.2105845958, -0.938472867, 0.3884648383, -0.017474195, 0.0526402742, -0.7113710642, -0.1480176598, 0.16546233, -0.7684903145, 0.2332806587, -0.4866221547, -0.5125545859, -0.4479315877, 0.2590466738, 0.3123207986, 0.5316225886, -0.4887101948, 0.5001406074, 0.472142458, -0.5256317258, -0.5646440387, -0.6060914397, 0.3744777441, -0.4162092209, -0.4416306019, 0.1189432219, -0.036294274, -0.2071082741, -0.3034661412, -0.0400880277, -0.1430755109, -0.1627544463, 0.1568388641, 0.0644510016, -0.349434942, -0.2187547833, 0.1363493353, -0.3280837834, -0.032731317, -0.3739388883, 0.7574405074, -0.2161126137, -0.2596427202, -0.5207415223, 0.3181609809, 0.4148481488, -0.8639056087, 0.3131799102, 0.6991871595, -0.5387157798, 0.3659399748, -0.9764143229, 0.0892428234, -0.4324396849, 0.1612769216, -0.4021041691, -0.695330143, 0.7621175647, 0.1932621002, -0.1058729514, 0.1764877737, 0.4243385792, 0.4831972122, 0.922726512, 0.5380999446, -0.3657311499, 0.236132741, -0.2389050126, 0.095036298, -0.9914278984, -0.3489550948, -1.0104153156, -0.001413792, -0.7753766179, -0.4472266138, 0.4274811447, -0.2679793835, -0.0426393524, 0.6503169537, -0.3196868598, 0.3318920434, 0.9007478952, -0.0595904216, 0.4049448371, 0.0544165596, 0.0565460585, -0.1489356458, -0.6310287118, -0.3753498197, 0.9958644509, 0.3672380447, 0.7128545642, 0.152170375, 0.6083881259, 0.1732222885, -0.1653756052, -0.5871753097, 0.3125698566, -0.1227822378, -0.5847023129, -0.4759489, -0.3010934293, -1.0124171972, 0.2055949271, 0.0970081314, -0.8978031874, 0.6925387383, -0.0094748288, -0.6186134815, -0.0066352794, -0.321390003, 0.5274092555, -0.0574676022, -0.2318805158, -0.2116191238, -1.0226073265, -0.1060800776, 0.0980883986, 0.0963258669, -0.1328697801, -0.0985016972, 0.5876713991, -0.1141527221, 0.4827546775, -0.2039244473, 0.0300241951, 0.4068180919, -0.0049486537, 0.4151340723, -0.0228473656, -0.5153259039, 0.2935302258, -0.067353107, -0.3106445074, -0.3174591362, 0.5064386129, -0.6660596132, -0.2184650451, -0.3721713424, -0.54493922, -0.0881746784, 0.2027845085, 0.3117763996, 0.5357893109, 0.1237671524, 0.232952863, 0.5861895084, -0.1585053504, 0.5481677055, 0.9446246028, 0.1906425208, -0.5338948965, 1.0289419889, 0.3560604751, 0.1375318766, 0.304661274, 0.3501451313, -0.5254708529, -1.129093051, -0.4176500738, 0.1302571148, -0.4585169554, -0.289735496, -0.8882942796, -0.1666851938, -0.5888060331, 0.0855473503, -0.2299015075, -0.4568900168, -0.1657520831, 0.0482988916, 0.1719363183, 0.4483034909, -0.4265094101, 0.3405429721, -0.7185465693, 0.1966452748, 0.3536831737, 0.1628508717, 0.1086217165, -0.7923508286, -0.134117648, 0.1232026219, -0.1848412454, -0.5952353477, 0.7787712216, 0.5053519011, 0.5791087151, 0.362518698, 0.0108551625, 0.8220509291, -0.3922142088, 0.4807037711, -0.045537468, -0.8003494143, 0.73494941, -0.5026600957, 0.3818689883, 0.5088695288, 0.3616344035, -0.6392959356, -0.4446729422, -0.4388709962, -0.9288046956, 0.5623995662, 0.1433143765, 0.1531162262, 0.0639805198, 0.346783638, 0.2752710879, 0.2060209662, -0.436201781, -0.0768495202, -0.0537843928, 0.0683626607, 0.0828571767, -0.0239523109, 0.2079467326, -0.2452812195, 0.5436241031, -0.1313888282, 0.0415545888, 0.1869791448, -0.1041278392, -0.2337001115, 0.1951311231, 0.231394738, 0.6128422022, -0.1309786886, -0.0641282722, 0.2744688094, -0.5968433022, 0.0227707233, 0.5423571467, -0.5162584782, 0.092406489, 0.1386014968, 0.8252196908, 0.1589119136, -0.7518606782, -0.0467247739, -0.0154986652, 0.2066569328, -0.4129822254, 0.0870905221, -0.1068473235, 0.3238200843, 0.7466984987, 0.3374661803, 0.6528596282, -0.7143969536, -0.0025308952, 0.249616757, -0.4259752333, -0.4757715762, 0.8087781072, 0.0712700188, -0.5631665587, 0.7453612685, -0.1361918151, -0.6579647064, 0.5241751671, 0.7886399627, 0.5689188838, -0.5741144419, 0.123367101, 0.6101886034, 0.2506171465, -0.253918469, 0.159484759, -0.1736436337, -0.5340352654, -0.2301143706, -0.7447357178, -0.6950288415, -0.0203159675, -0.9141277671, 0.2871803343, -0.1892117709, -0.2174106836, 0.1082744375, 0.1572986543, -0.5657992363, 0.427215457, 0.3713746369, 0.7639828324, -0.85032022, 0.5998821259, 0.5491642356, -0.3539053798, -0.597011745, 0.0680019781, -0.0251378026, -0.6030141711, 0.2323386073, -0.0595698953, 0.0186438262, 0.1192401126, -0.2563031018, -1.3967963457, 0.8896459937, 0.2654865682, -0.462536782, -0.1518405229, 0.2526080608, 0.7639707327, -0.1481016576, 0.3176065683, 0.9391874075, 0.4004816115, 0.1455099881, -1.2833129168, -0.2081456035, -0.3638735414, 0.2795969546, 0.0930778235, -0.7980372906, 0.5637239218, -0.5303911567, -0.1899935603, 0.5473714471, 0.7914406061, 0.5436463952, 0.4787765145, 0.0964269936, 0.4940012693, 0.5947185755, -0.1527844965, 0.7914627194, -0.0875566602, -0.0872273818, 1.1110383272, -0.2204765677, 1.1199252605, 0.15159145, -0.5548917651, 0.3548581302, 0.5764599442, -0.0605503023, 0.3323056996, 0.0963121206, -0.2498611361, 0.0553347804, -0.3744509518, -0.4983978271, 0.8029999137, 0.4494558871, -0.0313135497, 0.1753899902, 0.0141594587, 0.00790253, 0.1428902298, -0.184944585, 0.5411164761, -0.1629329622, -0.6038477421, 0.5890752077, 0.1236439198, 0.8524294496, -0.64851439, 0.1751683056, -0.2236407995, -0.010639051, -0.2890465558, -0.3199978471, 0.2557775974, 0.18624641, -0.0245629642, 0.471309185, 0.6145887375, -0.5012569427, -0.4944547117, 0.2941111326, 0.215457648, 0.2006756365, -0.122640565, -0.33049348, 0.5162465572, -0.2413977087, 0.2371263802, 0.1409201771, 0.1460032463, -0.0702485591, 0.8452076316, 0.7176356912, 0.3355938196, 0.4372093379, 0.1991254836, 0.7223282456, -0.4789911509, -0.3753607869, -0.4960072339, 0.4776312709, 0.1205683947, -0.3102864325, 0.8061481118, 0.881064117, 0.7871133089, 0.0364107527, 0.8207933903, -0.1301657856, 0.8429958224, -0.2853457034, 0.5596146584, -0.0492076315, 0.0834457129, -0.5218387246, -0.8719736934, -0.2965095639, 0.440962255, -0.2895636857, -0.1747910678, 0.173985675, 0.6962295771, -0.0359394029, -0.0127549171, 0.1353168041, 0.0917459279, 0.1910613924, 0.207840845, 0.8048739433, -0.7137172222, 0.8106948733, -0.3411003947, -0.1394987553, -0.032202784, -0.4011112452, -0.2690478265, -0.6279925704, -0.6610430479, -0.0476998463, 0.3618717492, 0.7863302827, 0.6774843335, -1.0279058218, -0.4911156893, 0.0021990496, -0.1466313004, -0.3082212806, -0.1845303923, 0.1571516395, -0.1079383492, -0.9131629467, 0.6240975261, 0.2890334427, 0.0827135965, 0.0577971451, -0.2653952539, -0.0827828422, -0.080952473, 0.5299116969, 0.8911283612, -0.8172218204, -0.1488956511, 0.0980531648, 0.3104630709, 0.0999093577, 0.5836427808, -0.8261753917, 0.5426515341, 0.3183038533, 0.3798844218, 0.509542644, 0.0189816318, 0.6703993678, -0.2318056971, 0.1989991665, 0.4902909398, 0.169585973, 0.5191456079, 0.0300364383, 0.6668272614, 0.1072222143, -0.5770971179, -1.1475834846, 0.139398098, -0.6384435296, 0.348377347, 1.0172089338, -0.1294179708, 0.2232110649, -0.4205403924, -0.1319880635, 0.3203984797, -0.5385270119, 0.8055074215, 0.2400436848, -0.2056056112, -0.272177726, -0.4594046474, 0.2723232508, 0.3129291236, -0.4527804554, -0.0537820533, 0.4458427727, 0.2934860587, 0.3959679008, 0.4467557371, -0.3178089857, 0.4665218592, 0.0868691951, -0.1287195235, 0.2723117173, -0.381155163, -0.5747559667, -0.0088351071, 0.3200954199, -0.0768146366 ]
http://arxiv.org/abs/2404.08359v1
http://arxiv.org/pdf/2404.08359v1
Improving Health Question Answering with Reliable and Time-Aware Evidence Retrieval
2024-04-12T09:56:12
2024-04-12T09:56:12
Juraj Vladika, Florian Matthes
cs.CL
cs.CL, cs.AI, cs.IR
In today's digital world, seeking answers to health questions on the Internet is a common practice. However, existing question answering (QA) systems often rely on using pre-selected and annotated evidence documents, thus making them inadequate for addressing novel questions. Our study focuses on the open-domain QA setting, where the key challenge is to first uncover relevant evidence in large knowledge bases. By utilizing the common retrieve-then-read QA pipeline and PubMed as a trustworthy collection of medical research documents, we answer health questions from three diverse datasets. We modify different retrieval settings to observe their influence on the QA pipeline's performance, including the number of retrieved documents, sentence selection process, the publication year of articles, and their number of citations. Our results reveal that cutting down on the amount of retrieved documents and favoring more recent and highly cited documents can improve the final macro F1 score up to 10%. We discuss the results, highlight interesting examples, and outline challenges for future research, like managing evidence disagreement and crafting user-friendly explanations.
[ -0.1988434643, -0.6983158588, 1.0863801241, -0.1587453336, -0.3702879846, -0.0686431378, 0.1768142283, -0.7002393007, 0.4325547814, 0.2691841424, -0.2545157075, -0.3213781118, -0.7005217075, 0.2449677736, -0.0462616533, 0.8828068972, -0.0529165454, 0.0834822208, -0.4012218714, -0.3059650362, -0.0217824578, -0.3630577922, -0.5006009936, -0.2251375765, 0.7452248931, 0.3530268073, 0.7617860436, 0.5212346911, 0.844976306, 0.0801881105, -0.1191306487, 0.3113850653, -0.5803450346, 0.3196115792, -0.2050795853, -0.3357416689, -0.3818908036, -0.0824066699, 0.3276310861, 0.6758982539, 0.1543166786, 0.393524617, -0.2033632845, 0.7394483685, -0.7591028214, -0.0200645346, -0.421335578, -0.0598603785, -0.3149927557, -0.6029497385, -0.2379440218, -0.5985417962, 0.5109229088, -0.9324705005, 0.1225563213, -0.0915464982, 0.9349433184, 0.1178088039, -0.6994158626, -0.1514827609, -0.6812781096, 0.3454660475, -0.7883504033, 0.3754473925, 0.3746773303, 0.2997532785, -0.0284521189, -0.8975508809, -0.2530352473, 0.4266540408, -0.2516071796, 0.1763471067, -0.1811028719, -0.0549367741, 0.2798676491, 0.3482115865, -0.6218962669, -0.3037275672, -0.437214613, -0.316219151, 0.5127198696, -0.0222779736, 0.2116028666, -0.11404147, -0.013442398, -0.0390110575, -0.8790566325, 0.2002713978, -0.1995552033, -0.0320739448, 0.4269775152, 0.57611233, -0.44338727, 0.5865439177, 0.0607143603, 0.0300644599, 0.3901469409, -0.5852131844, -0.1008531973, -0.1556660533, 0.2735857964, 0.5802339315, -0.050575316, -0.2033745795, 0.2064324915, -0.3248273432, 0.4282245338, -1.0602426529, -0.1547095925, 0.7225294113, -0.7103305459, 0.1091793552, 0.1773024201, -0.9252055287, -0.1954624951, 0.0092401356, 0.5355347991, -0.4209887385, -0.1960044503, 0.1179704145, -0.3780408204, 0.2111504972, 0.4012660086, -0.4257309437, 0.2448767871, 0.5388939381, 0.6859722137, 0.0572664998, 0.3167533576, -0.9330421686, 0.0484485067, -0.3774282634, 0.912997067, -0.4555150867, -0.4295409918, 0.1434910148, 0.303308636, -0.1040693671, -0.6857395172, 0.5634945035, -0.808014214, 0.5684776902, -0.5927592516, -0.533364594, -0.0004572623, 0.1699035764, -0.7113311887, 0.4726552069, -0.0099136876, -0.8730970621, 0.486202836, -0.674836278, -0.596473515, -0.060514167, -0.0497453399, -0.4175776243, 0.2033909857, 0.6012578607, 0.1730384231, -0.1333735585, 0.0856277421, -0.2450747937, -0.2938342392, 0.0575508699, -0.1209063604, 0.7355895042, 0.4513871372, -0.3301700354, -0.0890789777, -0.5433350801, 0.3399494588, 0.0333837084, -0.3172913194, -0.6777530909, 0.0169902593, -0.2599270046, 0.1911679357, 0.0458855964, -0.8571835756, -0.0588156581, -0.3819144666, 0.485340476, 0.3861789405, 0.548579514, 0.1093713269, -0.8211721182, 0.4455344081, 0.0922209322, 0.2845637798, -0.2422638088, -0.8021202087, 0.0302446168, -0.1184018031, 0.3675842285, 0.2850963473, -0.7914646268, -0.0596593432, -0.4328194857, -0.2015011907, -0.9306767583, -0.0889567137, 0.2263743579, 0.7792743444, 0.6548102498, -0.4147081375, -0.238827154, -0.7210856676, -0.4580120146, -0.3248002529, -0.2441602349, 0.5605419874, 0.4283640683, -0.0553098656, 0.9016541839, -0.8546219468, -0.0445591174, 0.2669141889, 0.1439753324, 0.0727432147, 0.225429222, 0.5115768909, -1.0220739841, -0.2180232406, -0.2430163175, -0.6300659776, -0.1601426005, 0.1929182708, -0.2534717321, -0.2190773785, 0.2819841504, -0.6367899179, 0.2830283046, 0.1828083843, -0.4664993584, 0.1580791622, -0.0238249861, 0.5812783837, -0.9485939741, 0.4690641463, -0.2001837194, -0.3008306324, -0.4685403705, 0.0872146562, 0.1670248061, -0.1906873137, -0.3961523771, 0.5990895033, -0.4228028953, 0.2087040544, 0.0246167425, 0.1315876245, 0.4447462857, -0.0156272575, -0.0727384016, 0.7670565844, -0.0533353314, -0.2486284077, -0.2867947221, 0.3522210419, -0.2930032611, 0.4968361557, -0.7243875265, 0.2599484324, -0.4065378904, 0.2371367067, -0.7882376313, -0.4400536716, 0.1258196682, -0.4125055373, 0.1928076744, 0.0723195374, -0.2287974805, -0.4144801795, -0.395031482, 0.2445995659, 0.3368579447, -0.2638849318, 0.3189351559, 0.5815636516, -0.4359179735, -0.6598649621, -0.2577742934, -0.2290761769, 0.0113385953, -0.437692076, 0.3244180977, -0.151104331, -0.3898880482, 0.2883526981, -0.5708178282, -0.3983272314, 0.1287716776, 0.0861014649, -0.0822477192, -0.2745033801, 0.4417226911, 0.0803720802, 0.315520227, 0.2836483419, -0.2342730612, 0.0347648561, 0.0597415976, -0.326867938, -0.1248071417, 0.7452403307, 0.6657141447, -0.4406634867, 0.6264678836, 0.3939322233, -0.5516597033, 0.2863294482, -0.4821421206, -0.4174441099, -0.3112679124, 0.0733232051, -0.0656703413, -1.0644954443, 0.2913964689, -0.111457102, 0.4784196615, 0.5708646774, 0.2687995434, -0.3086239994, 0.7891434431, 0.2129060179, 0.1293445975, 0.1777713299, -0.0204503834, 0.1980830878, -0.6315943003, -0.2992565036, -0.5894121528, -0.1418120563, -0.263435632, -0.6082744002, 0.874994576, 0.0101803653, 0.0295571331, -0.0771686137, -0.4376663268, 0.1303170919, 0.5494929552, 0.7894288301, 0.5865356922, -0.444901973, -0.1426930726, 0.1674091965, -0.6563456059, -0.3422379494, 1.3987175226, 0.2740927637, 0.4157236814, 0.1741121411, 0.6527006626, 0.1152747497, 0.2823751569, -0.3338593841, 0.1280295998, 0.0422766171, -1.1879065037, -0.3454552293, -0.4988171756, -1.10658288, 0.1009504646, -0.3606992364, -0.3433444202, 0.2608284652, 0.1845133305, -0.7414160371, 0.0717929155, -0.682040751, 0.8281786442, -0.2087086141, -0.3743501604, -0.0813269317, -0.8737745881, 0.0691534206, -0.0588096231, 0.1219276935, -0.002886065, 0.087924242, 0.6211553216, -0.4419462085, 0.2756307721, -0.1563451886, 0.1381145418, 0.4680983126, -0.2319576889, 0.3084880114, 0.4186914265, -0.2262508273, -0.0806235597, 0.6050262451, -0.6976625919, -0.738357842, 0.5168081522, -0.6238141656, -0.8923599124, -0.4544816017, -0.2565951049, -0.356808126, 0.3954886198, 0.18447496, 0.5029292107, -0.4206043184, 0.4033991694, 0.9675906301, -0.1913853586, 0.0338061154, 0.5409085155, -0.0377487056, -0.3218066096, 0.4181413054, 0.2429036498, 0.1895330846, 0.7856669426, 0.2493934184, -0.3176248968, -0.5934846401, -0.3930136561, 0.190571472, -0.572999835, -0.2796843052, -0.8906158209, -0.2027805746, -0.8185853362, 0.1527288705, -0.03399086, -0.517205596, -0.3947690427, -0.1913142055, 0.3397179544, 0.3701055348, -0.0101971393, -0.2725650072, -1.0216161013, 0.5610303283, 0.6142570972, 0.4782670736, -0.2664021552, -0.2165681124, -0.2075263411, -0.0466648787, -0.1802066267, -1.0098974705, 0.0651059225, 0.2323348671, 0.6790218949, 0.4422793984, 0.5340899229, 0.5227797627, -0.4440398514, 0.7090310454, -0.210895136, -0.369876653, 0.7818974257, -0.2711170912, 0.6280754209, 0.9314177036, 0.9068151712, -0.2537700534, -0.1755695939, -0.5484345555, -0.8324840069, 0.0345510468, 0.2232806534, -0.2809925079, -0.2593563795, 0.3992021382, 0.2025339603, 0.2740355134, -0.2140930593, -0.0468786024, -0.3272646666, -0.071081087, 0.0536100864, -0.1933562905, -0.5052189231, -0.1864626259, 0.5119364262, -0.3298262656, 0.3665308356, 0.8384600878, -0.0925710797, -0.3334739506, 0.6684728861, 0.3714779317, 0.9231324792, -0.5975317955, 0.1996769756, -0.2154134065, -0.6779444814, 0.1327074766, 0.2980391681, -0.3148139119, 0.2122239918, 0.3656684458, 0.2014530748, 0.0362847932, -0.8530275822, 0.5179467797, -0.0541900694, -0.2002271116, 0.0962474123, -0.100480929, 0.1263293475, 0.1946744323, 0.5508244634, -0.1587392986, 0.3822439313, -0.5567939878, 0.5213208795, 0.3636827469, -0.5095015168, -0.1744145006, 0.8398378491, 0.3176777363, -0.0342265293, 0.4990583658, 0.3636355102, 0.0301038418, 0.4170838296, 0.3210377097, 0.3743160367, -0.0173720103, 0.4294271767, 0.3560527861, 0.2032624632, -0.1334474087, 0.5822971463, 0.1921726018, -0.3045378625, -0.3836592734, -0.37742275, -0.5877802372, 0.1649476886, -0.7629263401, -0.308955431, -0.2206550539, -0.4777285457, 0.137873739, 0.2495422065, -0.6897423267, 0.3630796075, -0.3160493076, 1.1533139944, -0.6619250178, 0.5896404982, 0.8539170623, -0.5380949974, -0.6393238902, 0.2296968251, -0.0749467537, -0.3646535575, 0.0927576721, -0.0138035556, 0.1480909735, -0.1056045592, -0.4772055447, -0.8423427939, 1.1937282085, 0.3168843687, -0.2697474658, -0.334341079, -0.2182293683, 0.7394539714, -0.2077930719, 0.4235429764, 0.3657005429, 0.4233916402, -0.0735734627, -0.8602963686, 0.0746064261, -0.4002249539, -0.4448255599, 0.0393476114, -0.6054104567, 0.5450606942, -0.4770185649, -0.236189574, -0.0295831226, 0.5148769021, 0.2227131277, 0.9062036276, 0.3840783238, 0.6245453954, 0.9745795131, -0.153020218, 0.9634262323, -0.1362991631, -0.0408297107, 1.0482960939, -0.3285179734, 0.8619889021, 0.6486718655, -0.0719007924, 0.5551917553, 0.7222941518, 0.56766361, 0.7544389367, 0.0686782897, -0.2932287455, -0.2237929255, -0.2571309507, -0.6041710377, 0.0809533447, 0.2047289759, -0.6066297293, -0.2258390188, 0.053537216, 0.17612423, 0.0028620814, -0.1728703231, 0.7576726675, 0.1334979832, -0.8797652125, 0.3884097338, -0.5310080051, 0.0708224401, -0.4974704683, -0.2326114327, -0.333427906, -0.2000789344, -0.1483358145, -0.7983992696, 0.3141187429, -0.0858564824, -0.4666057825, -0.1822183579, 0.7128667831, -0.2577105463, -0.0804943889, 0.1423083395, 0.8949980736, 0.1267234832, -0.1394261718, -0.3654332757, -0.1652653962, -0.3446144462, -0.3627111614, 0.3900670409, 0.6158699989, 0.0927892029, 0.4733166993, 0.7198926806, 0.3393103778, -0.0402177237, -0.3092224598, 0.9994820952, -0.3825938106, -0.2745767832, -0.1711023003, 0.2484330982, -0.3070873022, -0.3465642929, 0.542139709, 0.4293635488, 0.7692973614, 0.0511205196, 0.5598652363, -0.0531903803, 1.1150671244, -0.4943110943, 0.8723543882, -0.7760457993, -0.0013213818, -0.1819501072, -0.4690132737, -0.3082030714, 0.2155769467, -0.2297240347, -0.2515931129, 0.8914845586, 0.4667101502, 0.2149285525, 0.1421962231, 0.0219270494, 0.2925119698, 0.4517845213, 0.6530558467, 0.2563994527, -0.5293848515, 0.5262931585, -0.1343289912, -0.1636557132, -0.264752388, -0.8306159377, -0.4690867364, -0.4547850192, -0.2809441686, -0.5400303602, 0.6477189064, 0.7971143126, 0.6680690646, -0.8866672516, 0.4413764179, 0.3950923085, 0.2572229505, -0.5657451153, -0.1811378747, 0.3938596547, -0.1380693913, -0.3205932379, 0.4979215264, 0.1999696046, -0.2964934707, 0.3090371788, 0.1709211022, -0.6484615207, 0.0675476566, 0.4649321735, 0.6559206843, -0.2569212615, -0.474124819, 0.4884453118, -0.2717164159, 0.3677451909, 0.8799267411, -0.8680654764, 0.7474964857, 0.6923886538, 1.0960292816, 0.5010071993, 0.4242284, 0.6829488873, -0.2268860489, -0.6322106123, 0.5079970956, 0.1562211514, 0.1181175932, -0.5363277793, 0.5785381198, 0.3407324255, -0.7298305035, -0.6121297479, -0.1601924151, -0.9032166004, -0.5509596467, 0.8910155892, -0.3677143157, -0.233775124, -0.5442126989, 0.0383184291, 0.176174432, -0.3404073715, 0.9642355442, 0.6173482537, -0.2607747614, -0.1259503961, -0.5894398093, 0.571829319, 0.4765332937, -1.1211915016, -0.0749716014, 0.64706707, 0.4286259413, 0.1085347757, 1.2023290396, -0.4487498999, 0.6506895423, -0.3498112857, -0.4508477151, 0.0420197956, -0.4769417942, -0.1635054201, 0.4702653289, -0.0188269559, -0.1239304245 ]
http://arxiv.org/abs/2404.08354v3
http://arxiv.org/pdf/2404.08354v3
Gaining More Insight into Neural Semantic Parsing with Challenging Benchmarks
2024-04-12T09:48:58
2024-05-07T21:15:40
Xiao Zhang, Chunliu Wang, Rik van Noord, Johan Bos
cs.CL
cs.CL
The Parallel Meaning Bank (PMB) serves as a corpus for semantic processing with a focus on semantic parsing and text generation. Currently, we witness an excellent performance of neural parsers and generators on the PMB. This might suggest that such semantic processing tasks have by and large been solved. We argue that this is not the case and that performance scores from the past on the PMB are inflated by non-optimal data splits and test sets that are too easy. In response, we introduce several changes. First, instead of the prior random split, we propose a more systematic splitting approach to improve the reliability of the standard test data. Second, except for the standard test set, we also propose two challenge sets: one with longer texts including discourse structure, and one that addresses compositional generalization. We evaluate five neural models for semantic parsing and meaning-to-text generation. Our results show that model performance declines (in some cases dramatically) on the challenge sets, revealing the limitations of neural models when confronting such challenges.
[ -0.3462707102, -0.6110418439, 0.6481122971, 0.2371815294, -0.2902418077, -0.1432870477, -0.2504867613, -0.4764244258, -0.0315979272, 0.5274939537, -0.6415033937, -0.3719991148, -0.7704473138, 0.2634154558, -0.3089242578, 0.953805685, 0.1126490533, 0.0961795673, -0.5738717914, -0.1934136748, -0.740558207, -0.4202208817, -0.490416944, -0.451536864, 0.5445548892, 0.1442878246, 0.6616426706, 0.8758437037, 0.6855769753, 0.3344418108, -0.3504869938, 0.1256801635, -0.0721197948, 0.1912169009, -0.5271277428, -0.5029637814, -0.3172552586, -0.0701670349, 0.6383923292, 1.1777982712, -0.0290341657, 0.0920230597, -0.1914167851, 0.5613845587, -0.6238779426, 0.2350015342, -0.7159382701, -0.1961505711, -0.3187536001, 0.0952599123, -0.4550556839, 0.0563325621, 0.2032982111, -0.1585395038, 0.3665004373, 0.2211401612, 1.0341647863, 0.2552089989, -0.4367040098, -0.1534280181, -0.3978912532, 0.8496229053, -0.6247959733, 0.2066426873, 0.3448725939, 0.3535948694, -0.0370153449, -0.7278627753, -0.5291948318, -0.3038542867, 0.0314062238, -0.0454176962, -0.0482084639, 0.0360675827, 0.3183290958, 0.3261985481, -0.3305478692, 0.0093087787, -0.295598805, -0.1626161784, 0.4073588252, 0.5287855268, 0.1321787089, -0.5831864476, -0.4905381799, -0.4078710377, -0.4287542105, 0.0595163405, 0.5348459482, 0.3622475564, 0.4573464096, 0.6247007251, -0.2247471511, 0.8928184509, -0.3809407353, 0.078091599, 0.1032116786, -0.4429811239, -0.1944940686, -0.0571785606, 0.4830552042, 0.3016482592, 0.1314494163, -0.2104688734, -0.4247144461, 0.2893317044, 0.2823811471, -0.7147853971, -0.3093131483, 0.1384769082, -0.5758856535, -0.0597481988, -0.1933559924, -0.5752400756, -0.2487185299, -0.6196861863, 0.1862713993, -0.7295786738, -0.2824341953, 0.3365299106, -0.4779630005, 0.3349882364, 0.1783957779, -1.0981605053, 0.6307196617, 0.9743195176, 0.5750880241, 0.0155851208, -0.3599074781, -0.1878935248, -0.0027119205, -0.1045998409, 1.0402369499, -0.5536642075, -0.0980216935, -0.3178329766, -0.438418597, -0.5821355581, -0.8543922305, 0.5398648977, -0.4920716584, 0.0101183783, -0.6390844584, -0.8015338778, 0.1040633991, 0.498675853, -0.6190361381, 0.6165583134, 0.122262314, -0.7196451426, 0.1474976838, -0.4189765155, -0.3250539899, -0.1190752313, -0.1720450073, -0.01993775, 0.4198927581, 0.12374264, 0.243518874, -0.6522617936, 0.4208503366, -0.2691738009, -0.0443856791, 0.2483907044, -0.2514511645, 0.6529167295, 0.1025188118, -0.2515200377, 0.0101859709, -1.049176693, 0.163661465, 0.0776058361, -0.1078978255, -0.2896848321, 0.3559544981, 0.191205591, 0.3147225976, 0.1273976266, -0.7425674796, -0.2558283806, -0.4449373186, 0.5109504461, 1.0452882051, -0.3555619121, 0.2109942734, -0.2622186244, 0.0829192698, 0.3653382659, 0.0038546501, -0.2180387825, -0.4564255476, -0.8782464862, -0.0969654322, 0.6739186645, 0.4338503778, -0.3438754678, 0.3150678575, -0.3389045894, -0.1907829642, -0.5877773166, 0.1493042111, 0.4772435427, 0.885661006, 0.6213440299, -0.3329139352, -0.2899274528, -1.2712908983, -0.377828747, -0.1046019047, -0.0758663714, 0.2912368178, 0.4535286725, 0.1257333457, 0.969681263, -0.5590717196, -0.0086176582, -0.2461276501, 0.1790966541, 0.2187308073, 0.4762786031, 0.1491071135, -0.9130836725, 0.0337726027, -0.2666340172, -0.5886058211, -0.0724292547, -0.0107065216, -0.1136005819, 0.0535441786, 0.4207527637, -0.804402709, 0.1385406405, 0.3946845233, -0.501036942, 0.4980318546, -0.0753182694, -0.3938602805, -1.0891137123, -0.0706277266, -0.2729961276, -0.0814986378, -0.3606572151, 0.0842573717, 0.1788965762, -0.0375897437, -0.2128718793, 0.2401904166, -0.2250531316, -0.0339194238, -0.4805042744, 0.0944640934, 0.1095734462, 0.3582548797, -0.0963194445, 0.197018519, 0.2310093194, -0.3011278808, 0.5007889271, 0.3125557601, -0.4816268981, 0.5104643703, -0.7168821096, 0.1228731796, -0.322614789, 0.146654889, -1.0404856205, -0.1615237594, -0.0803239048, -0.2905444205, 0.1660213768, 0.366968751, -0.7310948968, -0.1323856264, 0.0461034738, 0.5371774435, 0.468765676, -0.5900384784, 0.5345109105, -0.0358122252, 0.1215918809, -0.4957710505, -0.7311552167, 0.1648995429, -0.0398477875, -1.1877931356, 0.5498262644, 0.2436409146, -0.4283489287, 0.3366329074, -0.3106685281, -0.0736606643, 0.1433432251, 0.0866783708, 0.2221874148, -0.4456662536, 0.2579400539, -0.1116621569, -0.3504031301, 0.4019012451, -0.3371875286, 0.4838492274, -0.1431414783, -0.1565996855, -0.2118130475, 0.5468382835, 0.1051924229, -0.483266443, 1.0448924303, 0.1460527778, -0.2705884278, -0.3601002097, -0.5343433022, -0.0148595804, -0.4686858654, 0.2178666741, -0.5652992725, -0.8486915231, 0.4753147662, -0.1259423047, -0.1890266687, 0.504604876, 0.4618797004, 0.0002505889, 0.8227142096, 0.4408450723, 0.3495709598, 0.1190496907, 0.057715375, 0.2951954007, -0.6702797413, -0.183673948, -0.48085922, -0.4953130782, -0.517056942, -0.1973803341, -0.1224391684, 0.0213847831, 0.0808629096, 0.3563937247, -0.2650749683, 0.6372177005, 0.6532075405, 0.1878185868, 0.1390045732, -0.3924577534, -0.3830444217, 0.0331857093, -0.4395470023, -0.294445008, 1.0142862797, 0.1015997231, 0.2309368849, -0.0541707128, 0.6552250385, -0.2501669228, 0.1054767594, -0.4830177128, 0.6862694621, -0.2713504136, -0.6358463764, -0.0005749854, -0.5068168044, -0.7672348619, 0.5369204283, 0.1170469224, -0.6119977832, 0.0737759173, -0.1333498359, -0.4075394571, 0.141519174, -0.9578999877, 1.2091511488, 0.1501866877, -0.2719264328, -0.1435296983, -0.8378171325, 0.5243273973, 0.0250783376, -0.0253363941, -0.4974675775, -0.0768894032, 0.5975095034, -0.7336782813, 0.6311503649, -0.1590366066, 0.3196599185, 0.264242202, -0.2619189322, 0.2941784561, -0.0484119505, 0.0071828547, -0.1021548212, -0.002625617, -0.8332742453, -0.6446375847, 0.5885720253, -0.6485738158, -0.6678469777, -0.3345275223, -0.8619309068, -0.4389549494, 0.1041618288, 0.109185487, 0.3467355371, 0.056407962, 0.1635138988, 0.5240589976, -0.0687723607, 0.532592833, 0.0706921443, 0.1118361726, -0.5044124126, 0.7358265519, 0.1271503121, 0.2761960626, 0.3795602322, 0.3050732911, -0.3658902347, -0.8212771416, -0.2333036661, 0.1723653674, -0.6759568453, -0.0833866149, -0.5655426383, -0.0108420905, -0.5843804479, 0.210735023, -0.4079256058, -0.5811824799, -0.0563573427, -0.1916777939, -0.0277564712, 0.3414033055, 0.0546822101, 0.2664833069, -0.7713882923, 0.2870374322, 0.2676884234, 0.193219319, -0.0976056606, -0.0937193856, -0.1451758444, -0.3014679253, -0.3163861334, -0.8666756749, 0.1668553501, -0.0898054987, 0.2520914078, 0.1274341345, -0.0616171882, 0.7387099266, -0.6616594791, 0.6397785544, 0.0795462132, -0.9999322295, 0.4026720524, -0.3706698716, 0.4512600601, 0.673828423, 0.2511999905, -0.4544707239, -0.2296563089, -0.7275848985, -0.9396281838, 0.7697585821, 0.2692255378, 0.3666476607, -0.298499763, 0.3457090855, 0.0612952225, 0.1423321813, -0.4967797697, -0.0514874384, -0.1438300163, -0.3333798647, -0.1541399062, -0.3508166671, -0.0417115577, -0.2518236935, 0.2754128873, -0.0521227047, 0.0162171423, 0.0901843011, -0.1323800385, 0.2390737832, 0.2251833975, 0.3782095015, 0.6378748417, -0.15610829, 0.2865946889, -0.143484652, -0.1174794808, -0.0299100932, 0.3607751131, -0.0505293123, -0.0315371193, 0.405685842, 0.9123805165, 0.3363527656, -0.897367239, 0.5393694639, -0.03102188, -0.3692921996, -0.1640727669, 0.0095421625, 0.3896382153, 0.3598818183, -0.0787096769, 0.2836594582, 0.0030217224, -0.3124963045, 0.2352894098, 0.1145925671, 0.0140144471, -0.2955809534, 0.4997165203, -0.0543403365, -0.2415037155, 1.079990387, -0.1442649812, -0.3339775205, 0.6974970102, 0.6649433374, 0.8928737044, -0.01659148, 0.0604749396, 0.1018950492, 0.2023749202, -0.2052385509, 0.1377459913, -0.3829064369, -0.8392543793, -0.650898397, -0.9768029451, -0.4560770988, -0.0554721244, -0.7754219174, 0.1896386445, -0.6079390049, -0.1898806691, 0.3766511977, -0.2644194663, -0.519910872, 0.2865206599, 0.2254127562, 0.9133919477, -0.57614398, 0.760442853, 0.6087726355, -0.2465444952, -0.781021893, -0.2280917764, -0.2983140349, -0.5438227057, 0.7709803581, 0.5263117552, 0.5306896567, -0.1737906635, -0.1315744221, -0.8117669225, 0.7185723186, 0.5375540257, -0.287471056, -0.4227418005, 0.5675726533, 0.6469473839, -0.1017735973, 0.2960424423, 0.8617118597, 0.4075798988, 0.0576639697, -0.7071530223, 0.1548028737, -0.3142772615, 0.2191159725, 0.4479420781, -0.7792802453, 1.2539277077, 0.2581969798, -0.0242796112, 0.143752709, 0.7686875463, 0.1614025831, 0.2873690724, 0.4698467553, 1.1116919518, 0.6397105455, -0.1477157027, 1.1955964565, 0.1003474444, 0.1829530448, 1.2666344643, -0.3119049072, 1.0027884245, 0.6339030862, -0.0474032573, 0.5580000877, 0.6264370084, -0.162651062, 0.4420108795, 0.589787364, -0.2821370363, -0.5183908939, -0.1407422274, -0.1173418313, 0.7512634397, 0.1050544381, -0.5767616034, -0.7888391018, -0.0063049528, -0.199730292, 0.3242973089, -0.0966130793, 0.5127344728, 0.17703861, -0.8047519326, 0.3887072504, 0.3329727054, 0.3106558621, -0.5083824992, 0.1646790802, -0.1226147637, 0.5325103998, 0.0847827122, -0.2628799975, 0.7855271101, -0.0163457971, -0.3357219994, -0.5380041003, 0.7729541659, 0.0555095673, -0.4015182257, 0.4651398659, 0.5441222787, 0.0143934367, -0.2986295521, -0.6083338261, -0.019937383, -0.2474992722, -0.4164257646, 0.6877449751, 0.406390965, 0.098925896, 0.1045371592, 0.6405027509, -0.2229237258, 0.5233134031, -0.0108539565, 0.8021261692, -1.0569058657, -0.2879222035, -1.08641994, 0.2310602814, -0.1606709808, -0.6378068328, 0.6611586809, 0.4887217581, 1.1239478588, 0.1877375692, 0.2579494119, -0.0668924451, 0.2814126313, -0.5664414763, 0.407048732, -0.4179580212, 0.1164390743, -0.0775044933, -0.9165689349, -0.3456029594, 0.1447946727, -0.4179598689, -0.2360403687, 1.1466082335, 0.5617826581, 0.1289230585, 0.5089018941, 0.3756965995, 0.0280868728, 0.2378031462, 1.0035700798, 1.0361680984, -0.5181280375, 0.6640278101, -0.5111916065, 0.0419230945, 0.4420523942, -0.6945039034, -0.8759951591, -0.316372782, -0.1105777398, -0.3991205394, 0.0308215357, 0.7159926295, 0.4483901858, -0.5738281012, -0.2554129064, -0.5389372706, -0.0090312194, -0.2098082006, -0.1847057492, 0.313439548, -0.9141512513, -0.8240829706, 0.4270587564, 0.1234592721, -0.342835933, 0.1282196939, 0.3716474175, -0.1699671447, 0.220195204, 0.3680829704, -0.1107825264, -0.5165768862, -0.2850591242, 0.0124250269, -0.1732832193, 0.0523479916, 0.8074328303, -0.7070990205, 0.1530432999, 0.697380662, 1.272048831, 0.5432374477, -0.074987106, 0.4218074381, -0.5259569883, 0.0409688763, 0.4009345472, 0.448338151, 0.2731929719, 0.0296494272, 0.2624530196, 0.6471082568, -0.3806210458, -0.8308947086, 0.2016445547, -0.9815214276, -0.5191903114, 0.9350908995, -0.1499446929, -0.9295642376, 0.0989490673, 0.1804761738, 0.0370848402, 0.0390320159, 0.5763170719, 1.1837918758, -0.3577743471, 0.0436714515, -0.3832426071, 0.1855083853, 1.2116773129, -0.6335227489, 0.0633583665, 0.5649225116, 0.2538156807, 0.3398704827, 0.4963051379, -0.2151370943, 0.2554464936, 0.5075705051, -0.3009274006, -0.1270381212, -0.355648011, -0.2362435311, 0.7107207179, -0.1325922608, -0.1830213219 ]
http://arxiv.org/abs/2404.08345v1
http://arxiv.org/pdf/2404.08345v1
FastSpell: the LangId Magic Spell
2024-04-12T09:21:29
2024-04-12T09:21:29
Marta Bañón, Jaume Zaragoza-Bernabeu, Gema Ramírez-Sánchez, Sergio Ortiz-Rojas
cs.CL
cs.CL
Language identification is a crucial component in the automated production of language resources, particularly in multilingual and big data contexts. However, commonly used language identifiers struggle to differentiate between similar or closely-related languages. This paper introduces FastSpell, a language identifier that combines fastText (a pre-trained language identifier tool) and Hunspell (a spell checker) with the aim of having a refined second-opinion before deciding which language should be assigned to a text. We provide a description of the FastSpell algorithm along with an explanation on how to use and configure it. To that end, we motivate the need of such a tool and present a benchmark including some popular language identifiers evaluated during the development of FastSpell. We show how FastSpell is useful not only to improve identification of similar languages, but also to identify new ones ignored by other tools.
[ -0.3936099708, -0.595980823, -0.0094735613, 0.2923972309, -0.2307023704, 0.4765818417, -0.360563606, -0.5496073961, 0.3178473711, 0.3522880077, -0.2985623181, -0.6059973836, -0.7460387349, 0.3033187091, -0.5015258193, 1.1042431593, -0.1814469248, -0.4227578044, 0.047034204, -0.4835813642, -0.2307537496, -0.3830067813, -0.5142903924, -0.1962002069, 0.9979479909, 0.3769161999, 1.2173771858, 0.9569978714, 0.3864843547, 0.416967988, 0.0421919115, 0.4007124901, -0.1904217899, 0.0462462828, -0.3326268792, -0.3767211735, -0.1379895955, 0.0546102002, 0.3058532476, 0.5804591179, -0.0521672256, 0.6132585406, 0.0286448877, 0.5389966965, -0.8519871235, -0.02158265, -0.5949616432, 0.1204209849, -1.0927408934, -0.1497821212, -0.255130887, -0.8129857183, 0.1970267147, -0.6125397086, 0.2408296168, 0.4920439124, 0.9339078665, 0.0717887878, -0.4442591965, -0.6610291004, -0.7138825059, 0.7104204893, -0.4387602508, 0.4006908536, 0.2083433121, 0.5913328528, -0.0602588505, -0.6982043982, -0.8119366169, 0.0220431071, -0.3271589279, -0.4320383668, 0.2337233722, -0.1153915897, 0.2816343009, 0.1660137028, -0.7945867181, 0.2415425926, -0.2884021103, -0.6735718846, 0.4419988394, -0.0383261032, 0.4826290905, 0.1142895669, -0.0752451271, 0.0447520316, -0.5844165087, -0.2727044225, 0.5152368546, 0.523753345, 0.1140369773, 0.401085943, 0.0280186702, 0.6952698827, -0.025239028, -0.3998368382, 0.4814629555, 0.1250701398, -0.1536671072, 0.2209315598, 0.7100996375, 0.0996410847, 0.6525339484, -0.1180052981, -0.029837491, 0.0017877982, -0.1789836735, -0.8127989173, 0.0080700014, -0.0022791212, -0.475905478, -0.0537839681, 0.0052451915, -0.8611764312, -0.6630678773, -0.2161289454, 0.2981803119, -0.1812616736, -0.4249862731, -0.2534787059, -0.0905832276, -0.1007177979, 0.1674347073, -0.8665602207, 0.4028319418, 0.9153513312, 0.5700891614, -0.4144068062, -0.9436078072, -0.3686803579, -0.0993879139, -0.5032032132, 0.7366836071, -0.3774828017, -0.1349026561, 0.2831863463, 0.2426891923, -0.1414685547, -0.7944393158, 0.4863978922, -0.7352343202, 0.2522667944, 0.0200188048, -0.4831779003, -0.0504942872, -0.1015055329, -0.906332314, 1.1693706512, 0.0552970283, -0.8521981835, 0.6011177301, -0.2470779866, -0.8577061296, 0.4459320605, 0.1762041748, -0.4850741327, 0.240670085, -0.1750044376, 0.2472548932, -0.4408240616, 0.0440165922, -0.3229159415, -0.5888307691, 0.2751688063, -0.3416835368, 0.6745391488, 0.4873881638, -0.3085780144, -0.1864005029, -0.8916369677, 0.3102865815, 0.0578764603, -0.0598314293, -0.8966016173, 0.0771250203, 0.1422564983, 0.1129074469, 0.4638243914, -0.3245417476, -0.027088942, -0.5218363404, -0.1090071425, 0.6135879755, -0.3342560232, 0.2715329826, 0.1000499427, 0.4312867522, -0.2986133397, 0.2723272741, -0.0137675479, -0.1592285037, -0.5858163834, -0.4346010685, 0.5634056926, 0.6574707031, -0.6983783245, 0.2514947057, -0.1052838862, -0.6780019403, -0.7738955021, 0.4567372501, 0.6666491032, -0.0484895706, 0.0949216187, -0.0925843045, -0.6355348825, -0.8946566582, -0.9951152802, 0.1542447507, 0.220740065, 0.1217280626, 0.3010039032, -0.2824271321, 0.7183651924, -0.3368238807, -0.2540869415, -0.1374146938, 0.235561505, 0.4936913252, 0.0146602476, 0.5936623216, -0.7517635822, -1.0762027502, 0.2906075418, -0.5348741412, -0.1889449358, 0.2691352367, -0.0356152281, 0.0325119644, 0.2189023942, -0.3660856485, 0.4207294881, 0.6568679214, -0.4657839835, 0.8001716733, -0.4981336296, 0.4242565334, -0.6132388115, 0.2000908405, -0.0435801484, 0.345166713, -0.7718348503, 0.2087078989, 0.2625881732, -0.281236589, -0.7235190272, 1.1393532753, -0.5476933718, -0.0099499533, -0.3056700826, 0.0216423087, -0.2399967909, 0.2088263929, -0.1891475022, 1.0448745489, 0.4756934941, -0.4550921023, 0.373919487, 0.1202974021, -0.7535351515, 0.6436032057, -0.3495076895, 0.1791847497, -0.0716327354, -0.0957731381, -0.6481675506, -0.0493542328, -0.1879797131, 0.0114367995, -0.0299429279, -0.0814897716, -0.6640722156, -0.969537735, 0.0463020019, 0.5126569271, 0.4398100972, -0.8801178932, 0.6065446138, 0.3900684416, -0.150160864, -0.8275935054, -0.3922471404, -0.0508223251, -0.2913458347, -0.2108741999, 0.2155982256, -0.0625045523, -0.4293952286, -0.2121746689, -0.061327897, -0.7211614847, 0.1390862763, 0.4584889412, 0.0203672703, -0.0879049376, 0.0638690218, 0.1846052557, -0.329716444, -0.3822034299, -0.1035504118, 0.1412532479, 0.1392281651, -0.4097841978, -0.5583127141, 0.4678063095, 1.0956017971, -0.4926228225, 0.5502003431, 0.5872458816, -0.1834916919, -0.6614935994, -0.6171415448, 0.0439389311, -0.5201678276, 0.1931043714, -0.6693725586, -0.5826506615, 0.4366257787, -0.2742225826, 0.0951158851, 0.2763393521, 0.6030799747, 0.0341268703, 0.950992167, 0.5524970889, -0.1683548093, 0.3581665456, 0.3803703487, 0.5676839352, -0.1234844476, 0.0644335523, -0.8395283818, -0.2441349179, -0.4355767965, -0.1458838135, -0.1007169411, 0.1308626235, 0.0214650184, 0.6648236513, -0.5469702482, 0.6838153601, 0.6547005773, -0.3246188462, -0.0981304646, 0.088534683, -0.425798744, -0.3461035788, -0.3017973006, -0.3710761964, 0.749350369, 0.0124491891, 0.4580745995, -0.0232658498, 0.7564812303, 0.6583860517, 0.5860525966, -0.478574425, 0.7145106196, -0.5286858678, -0.7369868159, -0.1149510294, 0.0575031638, -1.0030099154, 0.5416376591, -0.2070972025, -0.3918810487, -0.0274619013, 0.372677654, -0.4221357703, -0.0336353146, -0.9187812209, 1.0795257092, -0.4313776791, -0.2942712307, -0.3972207904, -0.2157401294, 0.1068710014, -0.2271844149, 0.7039294839, -0.3868457377, 0.3465177417, 0.842954874, -0.8140749931, 0.5894018412, -0.2827506065, -0.0313656814, 0.4942761362, 0.3365214765, 0.6230078936, -0.5463362336, -0.3156252503, 0.3073551357, 0.3550222516, -0.1678978354, -0.7421867251, 0.7836095095, -0.5208185315, -0.3328036964, -0.3390323818, -0.2241017967, 0.03452117, 0.4768604934, -0.0895326436, 0.654301703, -0.0737152547, -0.1987987012, 0.3618052304, -0.2859728336, 0.4399781823, 0.8976753354, -0.2966122329, -0.414768815, 1.2198687792, 0.1886330098, -0.1530779898, 0.2802120745, 0.4576768875, -0.2042241096, -0.3276699185, -0.2198033482, 0.4158712029, -0.5713279843, 0.0926084593, -0.2464756519, -0.0139850806, -0.2437594533, -0.2210233957, -0.3142366409, -0.073823683, 0.1555700004, 0.1080670282, 0.2006054819, 0.3949782252, 0.0596635565, 0.1729667634, -0.6504315734, 0.3732915521, 0.5518315434, 0.3440444171, -0.1320598722, -0.0755364001, -0.4375849068, -0.3528366983, 0.4748801291, -0.8415685892, 0.2930503786, 0.3550002575, 0.6101709604, 0.5379248261, 0.0696927086, 0.8244835138, -0.9700533152, 0.4717327058, 0.0489313975, -0.8585674763, 0.3385714591, 0.2583301961, 0.2218239307, 0.6653727889, 0.4612571001, -0.9197657108, -0.4264581203, -0.3071221709, -0.5877668262, 0.116093494, -0.3827023208, -0.1446451098, -0.4484607875, 0.1328996122, 0.4719901085, 0.3684673607, -0.2904846966, -0.3301680982, 0.1879510731, -0.5161885023, -0.077897191, -0.4727321565, -0.1156560853, -0.0658537447, 0.3331066966, -0.2740968466, -0.057210777, -0.4991950691, -0.5608499646, 0.1721340269, 0.3886470497, 0.4133486152, 0.5282353163, 0.1664753556, 0.4036065936, 0.189198032, -0.663477242, 0.0293980446, 0.1200054884, -0.0762202516, 0.2491852343, 0.5855097175, 0.7145603895, 0.3855527341, -0.7271782756, 0.6738678813, 0.2147634178, -0.1442315876, -0.0437867492, -0.0220994614, -0.583229661, 0.0659634694, 0.376116842, 0.0512947924, -0.1057273597, -0.3167932928, 0.2609373927, 0.4310715199, -0.3076334596, -0.439286679, 0.349216938, 0.5000501871, -0.8897464275, 0.2396019995, -0.1935214549, -0.7685329318, 0.4650497139, 0.3689829111, 1.0082697868, -0.5384066701, 0.1969272196, 0.1455696076, 0.2705745697, -0.0278352778, 0.1646079272, -0.2110724896, -0.651681304, -0.4903893173, -0.7618074417, -0.2075662464, -0.4041875601, -0.4479072392, 0.2822448909, -0.3444982469, -0.0735458359, 0.1167072058, 0.3000964522, -1.0034912825, 0.2265723944, 0.1224051714, 1.0702767372, -1.2628488541, 1.3507096767, 0.2316360623, 0.2814097703, -0.602730453, -0.1629295349, 0.4325876534, -0.7739504576, 1.0414835215, 0.0836868063, -0.2588998675, -0.0228360333, 0.0040552579, -0.8461377621, 0.747146666, -0.1664745957, -0.7007756233, 0.2160004675, 0.080257073, 0.6325508356, -0.1109562889, 0.5566066504, 0.7953035235, 0.870003581, -0.1731345356, -1.3026564121, -0.077437982, -0.1004621461, -0.0103115542, 0.3857061565, -0.1829487979, 0.6320791245, -0.3526566029, -0.6404469013, 0.2632237077, 0.6161757708, 0.0551756285, 0.4001910985, 0.8070607781, 0.2490506321, 1.0453213453, -0.1140199974, 0.7731740475, -0.5500398278, 0.2096407413, 1.078106761, -0.7654348016, 0.841082871, 0.3968225718, -0.3000365198, 0.6063948274, 0.3788197339, 0.1204677522, 0.7286069393, 0.3142057061, -0.2596251369, 0.2465206236, 0.0351506285, -0.298712343, 0.0886505023, 0.3971523345, -0.1016014814, -0.2783115804, 0.4331072867, 0.2707984447, 0.415663451, -0.1219195873, 0.4844398797, -0.3557843566, -0.8438873291, 0.571228981, -0.1820877939, 0.7956982851, -0.7568926811, 0.199295029, -0.2137687653, 0.6095809937, -0.1841000915, -0.6398581266, 0.3002010882, -0.3193615079, -0.1477088928, -0.3184092343, 0.5855383277, -0.7660076618, -0.1149664968, 0.3053649068, 0.3557898402, 0.1892282218, 0.1972612441, -0.834859252, 0.4421939552, -0.3036030829, -0.0406975858, 0.1114800796, 0.5263751745, -0.2322157472, 0.6482765079, 0.5803416967, 0.3221339583, 0.2315339148, 0.2916990221, 0.1097668558, -0.4550667703, -0.5957769156, -0.807790637, 0.117295593, -0.1679778695, -0.5173203945, 1.2234377861, 0.5080202222, 0.3510726094, -0.2318091393, 0.6492422819, -0.1773418039, 1.1974803209, -0.0801741704, 0.7529423833, -0.4189954698, -0.2785658538, -0.2794495821, -0.9145244956, -0.5347443223, 0.2490396649, -0.1570043117, -0.4697039127, 1.2531679869, 1.0109937191, 0.1572353989, -0.074664019, 0.3693835437, 0.1615514159, 0.093149215, 0.1772920936, 0.5514300466, -0.198741436, 0.484011054, -0.1679497212, -0.2782149613, -0.3893871605, -0.9412246346, -1.0208580494, -0.6801990271, -0.4946262538, -0.4680807292, 0.3866027296, 0.9042723775, 0.8109773397, -1.001647234, -0.4109939635, 0.4327810407, 0.5184610486, -0.9238847494, -0.1533864588, 0.5307360291, -0.0912283808, -0.805414319, 0.4883688688, 0.4016509354, -0.0409516022, -0.3217836022, -0.0963141248, 0.0322658196, 0.1437942833, 0.5706490874, 0.9100648761, -0.8197524548, -0.3080587685, -0.3319217265, -0.3109004796, -0.571197331, 1.0810194016, -0.7041773796, 0.4784192443, 0.3651701808, 0.5305603147, 0.2418805659, -0.4494111836, 0.3766876459, -0.5174111724, 0.6160903573, -0.1225537956, 0.1082386374, 0.011080225, 0.0774367377, 0.1649082601, 0.2943352163, -0.4236778319, -0.7882845998, 0.1081372797, -0.249839291, -0.1729012132, 0.946587503, -0.0007109796, -0.5571803451, -0.290718168, -0.2170938402, -0.3934758902, 0.0831802562, 0.4470176399, 0.6303229928, 0.5892374516, -0.0458935425, -0.3492305577, 0.8282960057, 0.1720178425, -0.6805475354, 0.0805726498, 0.2320242822, 0.3896819651, 0.2801809311, 0.6096214056, 0.2327548265, 0.1686978042, -0.3081765473, 0.3071615696, 0.1197781488, -0.6117599607, 0.1363679618, 0.6675370932, 0.0269552283, -0.2093731314 ]
http://arxiv.org/abs/2404.08335v1
http://arxiv.org/pdf/2404.08335v1
Toward a Theory of Tokenization in LLMs
2024-04-12T09:01:14
2024-04-12T09:01:14
Nived Rajaraman, Jiantao Jiao, Kannan Ramchandran
cs.CL
cs.CL, cs.LG
While there has been a large body of research attempting to circumvent tokenization for language modeling (Clark et al., 2022; Xue et al., 2022), the current consensus is that it is a necessary initial step for designing state-of-the-art performant language models. In this paper, we investigate tokenization from a theoretical point of view by studying the behavior of transformers on simple data generating processes. When trained on data drawn from certain simple $k^{\text{th}}$-order Markov processes for $k > 1$, transformers exhibit a surprising phenomenon - in the absence of tokenization, they empirically fail to learn the right distribution and predict characters according to a unigram model (Makkuva et al., 2024). With the addition of tokenization, however, we empirically observe that transformers break through this barrier and are able to model the probabilities of sequences drawn from the source near-optimally, achieving small cross-entropy loss. With this observation as starting point, we study the end-to-end cross-entropy loss achieved by transformers with and without tokenization. With the appropriate tokenization, we show that even the simplest unigram models (over tokens) learnt by transformers are able to model the probability of sequences drawn from $k^{\text{th}}$-order Markov sources near optimally. Our analysis provides a justification for the use of tokenization in practice through studying the behavior of transformers on Markovian data.
[ -0.2218761146, -0.5733504891, 0.5504036546, -0.1958436966, -0.4506059587, -0.0437390693, -0.2335314453, -0.2136389464, 0.1628075391, 0.3381779492, -0.4144990742, -0.2732001841, -0.6891614795, -0.1243911535, -0.7560238838, 1.0452717543, 0.0310868379, 0.1919979453, 0.0853688344, 0.1337815672, -0.3314994872, -0.8180701733, -0.5471820235, -0.4404378235, 0.5962990522, 0.1971524358, 0.6733836532, 0.7378298044, 0.3662434518, 0.260430485, -0.0110668568, -0.2935696542, -0.4493661523, 0.1741774529, 0.0555161387, -1.0992625952, -0.0769444928, 0.1114182249, 0.6757746339, 0.9622926712, -0.2247586399, 0.1675513536, -0.0381866172, 0.3495172262, -0.1943932474, 0.048549775, -0.9681952, 0.2498841435, -0.4867225885, -0.4820863307, -0.6781698465, 0.1404138505, -0.2836219668, -0.2680404186, 0.3334756196, 0.2758782506, 0.5824669003, 0.1411120445, -0.4470512271, -0.1786170006, -1.0377596617, 0.8228154778, -0.6167792082, 0.4623031616, 0.2353662699, 0.2972213626, -0.2612511516, -0.8420755863, -0.6707653999, -0.1327283829, -0.0926094651, -0.0319234692, -0.4211505651, 0.1117070541, 0.284360677, 0.3284146786, -0.114478901, 0.3324485421, -0.4472649693, -0.1746980101, 0.1518102288, 0.5373765826, 0.2384925634, -0.3238232136, -0.5530498028, 0.018782435, -0.7018902302, 0.1489109546, 0.5025823712, 0.4571759701, 0.0188138653, 0.9497427344, 0.2990441024, 0.3037121892, 0.0590348803, 0.0866251141, -0.1838657558, -0.3776758313, -0.2605285347, -0.0618451796, 0.6096890569, 0.0786142498, 0.390933603, -0.5327953696, -0.3843944073, 0.1825931072, 0.3842234313, -0.6309921741, -0.1645249128, 0.1731521636, -0.6563155055, -0.4978679419, 0.1932546049, -0.3042377234, -0.1412788033, -0.358451277, 0.3335523009, -0.3340958357, -0.1810942143, -0.0521574244, -0.128992185, 0.2395946085, -0.0560001731, -1.1035480499, 0.3735580444, 0.7450516224, 0.825538218, -0.5201610327, -0.416595459, -0.3654423654, 0.2611862719, -0.3703380823, 0.7722042799, -0.5733485222, -0.4700714052, -0.0490958653, -0.0658644736, -0.0825763121, -0.3393860757, 0.2670298815, -0.637067616, 0.0160387382, -0.0107934372, -0.7048515081, 0.1178630963, -0.1441836208, -0.5206858516, 0.8731837273, -0.0481121279, -0.8783131242, 0.6935064793, -0.5957092047, -0.3710562289, -0.2066467255, -0.0339673348, -0.230621919, 0.6728664041, -0.1933780164, 0.5391837358, -0.225394398, 0.3922365606, -0.1565444767, -0.4782144725, 0.6747579575, -0.7877222896, 0.6454583406, 0.1989894509, -0.3343689144, 0.0863866955, -0.7674403191, -0.1316397488, 0.0958904251, -0.5434516668, -0.2341179103, 0.1836667657, 0.205744192, 0.0854679719, -0.2087763995, -0.5194672942, 0.3017865717, -0.4954539835, 0.3843306899, 1.1240483522, -0.0675304085, 0.8458474874, -0.3088746965, 0.5213964581, 0.4709522724, 0.2222266197, -0.3610593379, -0.4696912467, -1.0100567341, -0.3042812943, 0.4407748282, 0.3014501333, -0.5390063524, 0.3243937492, -0.1888566613, -0.2927718163, -0.347892344, -0.1367873847, -0.0129207326, 0.298256278, 0.2368061841, -0.4384593666, -0.7978307605, -0.7556299567, -0.3607281744, -0.4281219542, -0.2747828662, -0.0843377113, 0.2623583674, -0.3720984161, 1.1391384602, -0.2121125162, -0.0851470754, -0.3240109086, 0.0778718591, 0.4866356552, 0.5929425955, 0.1457176805, -0.4462885857, -0.0759790018, -0.1093217656, -0.4840938747, 0.0389609672, -0.1919878423, 0.0615908839, 0.4824346006, 0.5836020708, -0.8108463287, 0.6859278083, 0.257245034, -0.2786387503, 0.4071880877, -0.1516419649, -0.3627806902, -1.2829781771, 0.0763611794, -0.1980011165, -0.255451411, -0.9842313528, -0.1491058618, -0.3423740864, 0.0038994499, -0.4887940884, 0.4951674044, -0.3090863824, -0.2598162591, -0.3284190297, -0.2374677658, -0.3752990663, 0.6158694029, -0.1177677065, 0.5213034153, 0.6159514189, -0.6701791286, 0.0305729751, -0.072351642, -0.3243298531, 0.4264189303, -0.655156374, -0.0296052117, -0.2918082178, 0.1719295681, -1.1212935448, 0.0712567046, 0.4133404493, -0.4940421879, 0.4664031863, -0.3661154509, -0.6969518661, -0.0432966053, -0.0588832982, 0.5768431425, 0.8364992142, -0.5923959613, 0.5653145313, 0.4794919193, 0.3177811503, -0.392095387, -0.7945159674, 0.1626116037, -0.4366842508, -0.4209394157, 0.2279494107, -0.0767034739, -0.2206182331, -0.1355169117, -0.0078590931, 0.139646858, 0.220885396, 0.3576405048, 0.2503736615, -0.0819566026, 0.208788693, -0.2559292018, -0.5319989324, 0.1827791184, -0.5219450593, 0.7147846818, 0.0739892125, -0.6510157585, -0.456479013, 0.0688571259, 0.4142720103, 0.2873852849, 0.8691741228, 0.7755591869, -0.3986610174, -0.2468929887, -0.3488763869, -0.3137284815, -0.5108002424, 0.2129213214, -0.4774908721, -0.7697866559, 0.7653723359, -0.0440624394, -0.0069463728, 0.5167763233, 0.8286816478, -0.242032975, 0.9876343012, 0.7345929742, -0.0051381337, 0.5034220219, -0.3852567971, 0.4706456959, -0.7069174051, -0.2963285446, -0.3930777013, -0.3762355745, -0.8856500983, -0.6046514511, 0.3009018004, 0.1499640197, -0.0584794246, 0.3037858009, -0.2457373142, 0.5021303892, 0.6323530078, -0.3086336851, 0.3255540133, 0.2469757497, -0.438613236, -0.0409700572, -0.9482924938, -0.5288661122, 1.1062577963, 0.4721286297, 1.034870863, -0.0064368579, 0.8259162903, 0.3912035823, 0.3015603721, -0.8098651171, 0.5007546544, 0.1755079776, -0.572514534, -0.4727734327, -0.3400036991, -1.3056231737, 0.2080911547, -0.1007896885, -0.8078950644, 0.2003438771, 0.0291986, 0.1103361323, 0.75614959, -0.4839700758, 0.5968872309, 0.0161849838, 0.1226461157, -0.1022360697, -0.5795837641, 0.4536007941, -0.2299338132, 0.2308107764, -0.0193885043, -0.2203579992, 0.6878452301, -0.6297301054, 1.0587762594, -0.1934656799, -0.0543609969, 0.3734787107, 0.173523277, 0.6635776162, -0.0292656235, 0.1627044231, 0.335370183, 0.0226509571, -0.5324985385, -0.5623142123, 0.3287861347, -0.6813027263, -0.4793421924, -0.3973324895, -0.377248913, 0.0150847584, 0.0662679002, 0.4581430256, 0.3437463939, -0.1622572988, -0.1996282935, 0.291977793, -0.0116806515, 0.7130888104, 0.2835254073, -0.3045853972, -0.2667993009, 0.9532349706, 0.2064424455, 0.2660222948, 0.1850987524, 0.1539409459, -0.2524269223, -0.6420546174, -0.3556351662, 0.1639684439, -0.9412459135, -0.181837827, -0.4700562954, -0.2461116463, -0.0405380838, 0.0208693296, -0.2712273002, -0.7117141485, -0.5138356686, -0.2562369704, 0.1019039601, 0.8225538135, -0.1875086278, 0.4029644132, -0.8139258027, 0.1059857607, 0.1636278629, 0.3786112368, 0.3834220767, -0.8151538968, -0.449362725, -0.1098796502, -0.1386554539, -0.6518647075, 0.2032074481, -0.099921234, 0.6568507552, 0.493404448, -0.141329363, 0.6842328906, -0.8348833323, 0.8120492697, 0.355014354, -1.1573258638, -0.0005346927, -0.2635145783, -0.0389039367, 0.3149921, 0.1021560654, -0.8679774404, -0.4966452718, -0.8132464886, -0.8061175942, 0.6665967703, 0.3957439661, 0.556671679, -0.2957211137, 0.2393532991, 0.3457504511, 0.2236977816, -0.7192072272, -0.4145777822, -0.1138564572, -0.1077996343, -0.1441816539, -0.2582511306, 0.2634700537, -0.2172868699, 0.575755477, -0.0523736253, 0.6362066865, -0.1788204014, -0.2668144405, -0.2657503188, 0.2329630107, 0.6145555973, 0.510532558, 0.0428303853, 0.4933094382, 0.1175916046, -0.1451868862, 0.3242456913, -0.3456034064, -0.2282740772, 0.1761022508, 0.2743372917, 0.8327621818, 0.2712196112, -0.3899382651, 0.4916768372, 0.0189583581, 0.2086767554, -0.314435482, -0.04354522, 0.0245645549, 0.341486305, 0.5655327439, 0.2689831257, -0.0950520113, -0.6730036139, 0.4472304881, 0.6918331385, -0.3784178793, -0.7692618966, 0.8073151708, -0.0947227851, -0.5490150452, 0.6650799513, 0.0044079679, -0.3952969611, 0.4969941974, 0.6417202353, 1.0027195215, 0.0497651659, 0.1097370014, 0.1040890813, 0.448160857, -0.1042370647, -0.0297409352, -0.1210068017, -0.7417120934, -0.3848639429, -0.7604042292, -0.2049822658, -0.2873361707, -0.455809623, 0.3004301488, -0.3524595797, -0.4662303627, -0.1913172007, -0.4983764589, -0.7256532907, -0.1270766258, 0.2267921865, 0.7997320294, -0.8782740831, 0.8170734644, 0.1934878081, -0.3298921883, -0.5237832069, 0.112269409, -0.3561738133, -1.1740809679, 0.7543360591, 0.0744762719, 0.2025275528, 0.0434662886, -0.4173540175, -1.0104862452, 0.9656767845, 0.2796889246, -0.0981829986, -0.1317047328, 0.5648311973, 0.6278887987, -0.3590970933, 0.1681493968, 0.541377306, 0.3986111581, 0.0587826744, -0.6099302173, -0.0207513385, -0.0755828246, 0.2787234783, 0.5080937743, -0.4058211744, 0.8756147623, -0.3949363828, -0.6085309386, 0.16466555, 0.7087054849, 0.0213647727, 0.2279088795, 0.4414438903, 0.4773454964, 0.5096075535, -0.0245564021, 1.0783121586, -0.3157074451, 0.4445319474, 0.6782515049, -0.0340000167, 0.7249037027, 1.0577242374, -0.4923239946, 0.4009732902, 0.5284513235, -0.082909517, 0.4846475422, 0.5840539932, 0.0078791212, -0.1810177863, -0.1311040223, 0.1626657844, 0.3431343436, -0.0079258224, -0.476116389, -0.0790487379, 0.0593670011, -0.1750719249, -0.3307924569, -0.2123276293, 0.7487184405, 0.2863590717, -0.3145496845, 0.5359302163, 0.2879441082, 0.6414681077, -0.4033594429, 0.2512435913, -0.2407184243, -0.157483086, -0.0914776102, -0.4554427564, 0.4140574038, 0.0789480656, -0.2491014004, -0.3272390068, 0.6459675431, -0.2970736921, -0.7391350269, 0.0478581749, 0.5954123735, 0.4116833806, 0.3739844561, -0.2689833641, -0.0884520859, -0.2524254024, -0.4818454683, 0.4869551361, 0.3554728627, 0.0488517992, 0.5992688537, 0.8330934644, 0.1716358364, 0.3863839805, 0.0700342506, 0.6183765531, -0.7346595526, -0.4367821515, -1.1988984346, 0.7194748521, 0.3256037533, 0.0242917724, 0.5301273465, 0.5710221529, 0.9187301397, -0.0979466662, 0.6525372863, 0.165600419, 0.1308852285, -0.6521264911, 0.5052528381, -0.3026976585, 0.4129886925, -0.0433194228, -1.0041501522, -0.3558358848, 0.3046947718, 0.1759041101, 0.0936710387, 0.7062668204, 0.7736990452, -0.1727564782, -0.188490808, 0.6359124184, 0.0807306543, 0.2640071809, 0.3364842832, 1.0400521755, -0.5131066442, 0.5177178383, -0.077436313, 0.2328863889, -0.0751098469, -0.7108564973, -1.0887262821, -0.7956165671, 0.113135919, -0.309358269, -0.2669781744, 0.9391286969, 0.4214739203, -0.6269699335, -0.3796288073, -0.2891553044, 0.1963971853, 0.0610908642, -0.1960663795, 0.2481078804, -0.5728827119, -0.6611955166, 0.2616255283, 0.3414827883, 0.4444126487, -0.5279626846, -0.1756023467, 0.1996438503, 0.4980270267, 0.4258907437, 0.0526479445, -0.8430772424, -0.3395463824, 0.038619101, -0.0769897103, 0.3718772531, 1.2607290745, -0.8451474905, 0.1512164772, 0.3663168848, 0.6135920882, 0.5810655951, -0.1431635469, 0.5597711205, -0.8265432715, 0.0594864227, -0.0179115534, 0.468847096, 0.1641989797, -0.1915952712, 0.4365355968, 0.4922524691, -0.3311747015, -1.2349047661, 0.4254937768, -0.7192023993, -0.1467430294, 0.9744217396, 0.2304692119, -0.1958385557, 0.0265336242, 0.0183028746, 0.5338513255, -0.1654642522, 0.9148232341, 0.6782213449, -0.1308748126, -0.0070887897, -0.1730006039, 0.4340410233, 0.5618540645, -0.5350093246, 0.1906799972, -0.0306744166, 0.2523460686, 0.0454118364, 0.5916604996, 0.0709217042, 0.0122507066, -0.1283981502, -0.1196020991, 0.0324206166, -0.2264957279, -0.609993577, 0.1029279307, 0.2885513902, -0.0380345769 ]
http://arxiv.org/abs/2404.08313v1
http://arxiv.org/pdf/2404.08313v1
The Integration of Semantic and Structural Knowledge in Knowledge Graph Entity Typing
2024-04-12T08:17:44
2024-04-12T08:17:44
Muzhi Li, Minda Hu, Irwin King, Ho-fung Leung
cs.CL
cs.CL, cs.AI
The Knowledge Graph Entity Typing (KGET) task aims to predict missing type annotations for entities in knowledge graphs. Recent works only utilize the \textit{\textbf{structural knowledge}} in the local neighborhood of entities, disregarding \textit{\textbf{semantic knowledge}} in the textual representations of entities, relations, and types that are also crucial for type inference. Additionally, we observe that the interaction between semantic and structural knowledge can be utilized to address the false-negative problem. In this paper, we propose a novel \textbf{\underline{S}}emantic and \textbf{\underline{S}}tructure-aware KG \textbf{\underline{E}}ntity \textbf{\underline{T}}yping~{(SSET)} framework, which is composed of three modules. First, the \textit{Semantic Knowledge Encoding} module encodes factual knowledge in the KG with a Masked Entity Typing task. Then, the \textit{Structural Knowledge Aggregation} module aggregates knowledge from the multi-hop neighborhood of entities to infer missing types. Finally, the \textit{Unsupervised Type Re-ranking} module utilizes the inference results from the two models above to generate type predictions that are robust to false-negative samples. Extensive experiments show that SSET significantly outperforms existing state-of-the-art methods.
[ -0.3097121418, -0.7101029158, 0.5773146152, 0.062148083, -0.2168997973, 0.4115940034, 0.1411578208, -0.4605948031, 0.9002087712, 0.3666586578, -0.1695913076, -0.9676811099, -0.5634537935, -0.0278358124, -0.2579958439, 0.6758021116, -0.2672243714, -0.1420284808, -0.292075634, -0.1263580322, -0.3838564157, -0.2170368135, -0.2544784546, -0.225900501, 0.4921897352, 0.1968197823, 0.5268935561, 0.5246505141, 0.2159317881, 0.2008752674, 0.0028578208, 0.1393379271, -0.3385493457, 0.0738476664, -0.2568523884, -0.5430612564, -0.6423982978, -0.056766443, 0.5604088902, 0.6849048734, 0.0371533409, 0.0647675246, -0.0903831944, 0.6112092137, -0.4658668637, 0.4076963365, -0.9183200598, 0.3316110075, -0.350468576, -0.3377185464, -0.5266093016, -0.3068898916, 0.0161176194, -0.7695996165, 0.1663071662, 0.1304308027, 0.8464682102, 0.4162452817, -0.9016119242, -0.1662276685, -0.3298921585, 0.1696266532, -0.3415095806, 0.7147234082, 0.5239536762, 0.2474021465, -0.1680270135, -0.4286877513, -0.314897716, -0.2673529685, -0.2185145468, 0.3689085543, 0.1313307732, 0.3514989913, -0.0547335483, 0.2720027268, -0.4444126189, 0.1421757042, -0.4209803939, -0.581656754, 0.2240352184, -0.2502400875, 0.4989625514, -0.577868402, -0.2443229407, 0.3261477053, -0.9661195278, -0.2247431278, 0.2834984362, 0.4544469118, -0.0611581914, 1.0529356003, -0.3566733003, 0.6348881125, 0.0758612528, 0.0488328747, 0.4400630891, -0.1087873653, -0.3466456831, 0.2425603718, 0.3502243459, 0.0520899147, 0.049379576, -0.6736151576, 0.025824124, 0.5221713185, 0.2432165444, -0.5610824823, -0.2470906228, 0.3571102321, -0.2988086641, -0.4930439293, -0.3692330122, -0.5549404025, -0.3796857595, -0.1700237542, 0.7950295806, -0.6950320005, -0.5264440775, -0.2499012947, -0.6309043765, -0.2064911574, 0.1657239199, -0.4823298752, -0.1548877954, 0.4465595186, 0.7184337378, 0.2522183359, 0.0052670129, -0.5181819797, 0.6525346041, -0.2448082864, 0.8139646649, -0.7042216063, -0.3355293572, -0.140267238, -0.3531824946, -0.3132005036, -0.1251247227, 0.4650821984, -0.8550438285, -0.0331600569, -0.2575648427, -0.934682548, -0.3438866436, 0.513358295, -0.6371403933, 1.0166867971, 0.511672616, -1.0853625536, 0.6129792929, -0.6752761602, -0.6429111362, 0.242017895, -0.3287228048, -0.3878240585, -0.0182589088, -0.0619218312, 0.4788699448, 0.0520440601, 0.1050221622, -0.9751236439, -0.0571357459, -0.186207369, 0.3229928315, 0.4867952466, -0.1673579365, -0.2449113578, -0.3236972094, -1.1633538008, 0.2191271484, -0.0865366012, -0.2599614263, -0.7693386674, -0.090532735, -0.6797908545, 0.2078436315, 0.1121019796, -0.9140725732, 0.1494226307, -0.3774877489, 0.5516216159, 0.7212557197, 0.2346833646, 0.4262571335, 0.0821401849, 0.3567131162, 0.1102290601, -0.2092296928, 0.5800822377, -0.3222424686, -0.5765790939, -0.4516305923, 0.3253309429, 0.5930616856, -1.382617116, 0.3074662387, -0.4294964373, -0.8689123988, -0.1277267337, -0.1341281384, 0.5999472141, 0.9006723166, 0.6641134024, -0.0400076471, -0.4830114543, -0.7392637134, -0.4898543656, -0.2187773734, 0.13173756, 0.4342105687, 0.5030002594, -0.1821319312, 1.0287531614, -0.7507417798, -0.3314415514, -0.0863876343, 0.2429417968, -0.1138616279, 0.5196083188, 0.4856158793, -0.9588122964, -0.5421201587, -0.0368385278, -0.8145512342, 0.2003445029, 0.3878912628, -0.3807186186, 0.0495121069, 0.2153668404, -0.7964578867, 0.4649428427, 0.4080968797, -0.5540009737, 0.6700513363, 0.1653179824, 0.0509714037, -1.2937790155, -0.1882444024, -0.010741991, -0.0926680416, -0.5836889744, -0.1403227746, 0.2313270569, -0.2197021842, -0.1019497141, 0.4895726442, -0.3205106258, -0.3589724302, 0.2706466913, 0.3553979099, 0.1209948361, 0.6866307259, 0.190455243, 0.4778109193, 0.5480340719, -0.7500686049, 0.0330813564, 0.5363509655, -0.0020340215, 0.8761020303, -0.4180691838, 0.0364344046, -0.2838307619, 0.2355121672, -1.0686210394, -0.3013507128, 0.2065136582, -0.7254688144, 0.5527178049, -0.7296333909, -0.2851783037, -0.6194376349, -0.2509644032, 0.2477098852, -0.0242301971, -0.2581171989, 1.1519277096, 0.3334421217, 0.1332841665, -0.6523076296, -0.8526688814, -0.0831479281, -0.1347731501, -0.8462092876, 0.4409400821, 0.2613434196, 0.2241967171, 0.5778568387, -0.4759903848, -0.3951511681, 0.2295957655, 0.273855865, 0.389452219, -0.456240207, 0.5172632933, 0.5136424899, -0.2765236795, -0.2997011244, -0.6704086065, 0.3161919415, 0.0600274615, -0.5621834397, -0.1735500395, -0.1746698916, 0.5087935328, -0.3216332197, 0.6698215604, 0.4599126577, -0.4510370493, -0.0336003862, -0.4887849689, 0.0721638352, -0.4387390614, 0.6511777043, -0.6474032998, -0.9127762318, 0.449118495, 0.0465739816, -0.2333354205, 0.5968838334, 0.0848163292, -0.1352879256, 0.5738494992, 0.4168946445, 0.1739487797, 0.2988313735, -0.232565701, 0.4423251152, -0.8598423004, -0.0319268554, -0.4261620045, -0.0937667042, -0.7234218717, -0.1831209958, 0.510224402, 0.0603428259, -0.3194970489, 0.828325212, -0.3194422126, 0.1943703145, 0.42448318, 0.3029173911, 0.1694950014, 0.017769305, -0.678212285, 0.0944530964, -0.6574849486, -0.0052735624, 1.2166669369, 0.0288499035, 0.2294920236, 0.043481186, 1.0390392542, 0.6017733216, 0.494655937, -0.7349523902, 0.5257171392, -0.1957022548, -0.7685305476, -0.4542823434, -0.7278547883, -0.3730314076, 0.2625412345, -0.0604064539, -0.841155231, 0.2610371411, 0.5587002039, -0.2392845899, 0.5044546127, -1.0570375919, 0.8528904915, 0.2513127327, 0.072154507, -0.2603067756, -0.5782747865, 0.2316543907, 0.0471070111, 0.0368517041, -0.0532984138, 0.3179649711, 0.6183491945, -0.3380708098, 1.0188187361, -0.6079282165, -0.0187107325, 0.3911605477, 0.4760038555, 1.0527267456, 0.0117450701, -0.0577782243, 0.0369409882, -0.0582003295, -0.4407154918, -0.7638517022, 0.3406219482, -0.717215538, -0.3833403885, 0.1457178146, -0.2619672716, -0.7248462439, 0.4452984929, 0.2852582932, 0.8715884089, 0.0076009948, 0.0349782221, 0.6035875678, 0.0442160033, -0.0406907946, 0.5644687414, 0.1707843393, -0.7001675963, 1.4677624702, 0.6957479715, 0.3739718795, 1.0960379839, 0.0306028835, -0.4202923477, -0.3692273498, -0.4704773426, 0.3465188146, -0.9483938217, -0.4590992033, -0.9297550321, -0.3246958256, -0.427511096, -0.3668015301, -0.5097669959, -0.8728628755, -0.0244353767, -0.6689744592, 0.3031044006, 0.422044009, 0.0686758831, 0.0427752994, -0.8278487921, 0.2228739262, 0.2549208701, 0.4964942336, 0.1705045551, -0.1568258554, -0.1177307293, -0.0769641697, -0.0670854077, -0.9112716913, 0.0156460255, -0.0788787752, 0.581094861, 0.3379372656, 0.1528896093, 0.4758269787, -0.1530300379, 0.4822576046, 0.0947825834, -0.7764915824, 0.3605568707, -0.4193292856, -0.391413331, 0.5173985362, 0.5006129742, -0.7176942229, -0.7306603789, -0.6676826477, -0.5560092926, 0.4354248941, 0.4588557482, -0.4120426476, -0.0712429062, 0.258607924, 0.0164829697, 0.4727680981, -0.8621405363, -0.2776863873, -0.6658633351, -0.4441108108, 0.4686601758, -0.3575249016, -0.0404240228, 0.03932878, 0.9852725863, -0.1088507175, 0.5704834461, 0.3162843287, -0.5034114122, 0.1477147192, 0.2533579469, 0.3866793513, 0.4012441933, -0.3136202097, 0.4159242511, 0.1128727049, -0.474350363, 0.0105077084, 0.2060958296, -0.4692748785, -0.1846454442, 0.3620707095, 0.5465362668, 0.2740967572, -0.0004328882, 0.1770159602, 0.3933136761, -0.2543486059, -0.3091770113, -0.1407649219, 0.1719841361, 0.1419526488, 0.1875897348, 0.2873898745, 0.0233824737, 0.0204982832, 0.195481196, 0.2938429117, -0.6527224183, -0.5327734351, 0.3874394298, 0.4257227778, -0.0591907129, 0.3585001528, -0.6851403117, -0.9344678521, 0.737891376, 0.5658150911, 0.7675966024, -0.080555357, 0.5974546075, 0.2779732645, 0.2422249168, 0.4385814369, 0.227099672, -0.2717650831, -1.1231787205, -0.3238708377, -0.4985002875, 0.0660491809, -0.2709386349, -0.2918823659, 0.2401269823, -0.2954876423, 0.0422192514, -0.0397320278, 0.085411109, -0.5330933332, 0.2437985092, -0.0463352762, 1.102609992, -0.9862174392, 0.7038772106, 0.7729195952, -0.7396073341, -0.9059388638, -0.1214414164, 0.0245700814, -1.2060757875, 0.7879570723, 0.0962329283, -0.2142213732, 0.3860615194, 0.0004021035, -1.2895333767, 1.2003314495, 0.1482782662, -0.0763087943, -0.4081717432, 0.1943711787, 0.2359916568, -0.1904492676, 0.1530900449, 0.2187297642, 0.7054266334, 0.2046773881, -0.5962385535, 0.3586091399, -0.0291555077, -0.1023728102, 0.5878726244, -0.8864783645, 0.279337585, 0.0499039255, -0.2782310843, -0.2373591065, 0.7830404639, 0.0357650034, 0.2877982855, 0.6136411428, 0.9879345298, 0.8320611715, 0.1151692867, 0.7751314044, -0.5041288733, 0.4420571625, 1.1019976139, -0.1876932979, 0.4662740827, 0.1745325178, -0.1705561727, 0.6224474907, 0.6334918737, -0.0088883685, 0.6490109563, -0.2126191556, -0.0136795659, -0.4649473727, 0.0224716291, -0.5959031582, 0.4372091293, 0.4476947486, -0.3001188636, -0.3772533834, -0.2513077557, 0.1635168493, -0.3170163631, -0.2244943082, 0.2974030077, -0.0303270277, -0.4037249982, 0.2279578149, -0.0632759407, 0.2227611095, -0.6062533855, 0.0444676913, -0.1308939606, -0.2205272317, -0.3357613087, -0.5384091139, 0.3714717329, -0.6768071055, -0.2345169634, 0.2202152759, 1.1070028543, -0.4633069634, -0.299138993, 0.3125356436, 0.3335700929, -0.189237684, -0.1918937415, -0.257883817, -0.5773393512, -0.1073335558, -0.1455155313, 0.0614494123, 0.7449614406, -0.0979208201, 0.6832745075, 0.3448436558, -0.0753765851, 0.0297241453, 0.0765322819, 0.981741786, -0.4439929128, -0.7921016812, -0.5143965483, 0.4052785635, -0.279776752, -0.0934531167, 0.8218553066, 0.5689326525, 0.5229680538, -0.0713329762, 0.8466360569, -0.5279229283, 0.5752184987, -0.5406574011, 0.6679448485, -0.5065817833, -0.2515740395, -0.5713703036, -0.6498621702, -0.1574037224, 0.0567743443, -0.6835727096, -0.0941920653, 0.8915390968, 0.7979040742, -0.0860483423, 0.0956808478, 0.2319672555, 0.6379439831, 0.2560926974, 0.444429338, 0.5471411347, -0.2124388218, 0.6596170068, -0.0602941625, -0.0930292904, -0.3590630591, -0.8401719332, -0.8823956847, -0.6022363305, -0.2917417586, -0.5628780127, -0.0795235187, 0.8358073235, 0.6002654433, -0.5780109167, 0.5637491345, -0.398828119, 0.5715472102, -0.0383836962, -0.2880854905, 0.6554360986, -0.2015924305, 0.1281873733, 0.389818877, 0.457596004, 0.1934285164, 0.0024614448, 0.1287595481, -0.076525338, -0.0762373209, 0.6841150522, 0.2619735003, -0.3589604199, -0.7002125978, -0.0443158709, 0.1347762793, 0.1166803613, 0.8085628748, -0.5663327575, 0.2758691013, 0.4871095121, 0.8065516949, 0.5867140293, -0.1753365695, 0.4948348403, -1.0207288265, 0.0312075336, 0.237993598, 0.5437728167, 0.2066139728, -0.735329926, 0.5758897662, 0.9742076993, -0.0345718525, -0.651350677, 0.5473678708, -0.7615135312, -0.0456438698, 1.0125031471, -0.1969735324, -0.3273511827, -0.2968656719, 0.2492175102, 0.462803334, -0.4152139723, 0.8871654868, 0.6669996977, -0.0004481349, 0.4126576185, -0.0317710638, 0.3358913958, 0.1885778755, -0.642843008, -0.1950622797, 0.3702262044, 0.5057994723, 0.3566053212, 0.6715014577, 0.0081482818, 0.1393959969, 0.2537028193, 0.1561497748, -0.4055047929, -0.3932724595, 0.6651525497, 0.4057877958, -0.1539729387, -0.1482553333 ]
http://arxiv.org/abs/2404.08309v1
http://arxiv.org/pdf/2404.08309v1
Subtoxic Questions: Dive Into Attitude Change of LLM's Response in Jailbreak Attempts
2024-04-12T08:08:44
2024-04-12T08:08:44
Tianyu Zhang, Zixuan Zhao, Jiaqi Huang, Jingyu Hua, Sheng Zhong
cs.CR
cs.CR, cs.AI, cs.CL
As Large Language Models (LLMs) of Prompt Jailbreaking are getting more and more attention, it is of great significance to raise a generalized research paradigm to evaluate attack strengths and a basic model to conduct subtler experiments. In this paper, we propose a novel approach by focusing on a set of target questions that are inherently more sensitive to jailbreak prompts, aiming to circumvent the limitations posed by enhanced LLM security. Through designing and analyzing these sensitive questions, this paper reveals a more effective method of identifying vulnerabilities in LLMs, thereby contributing to the advancement of LLM security. This research not only challenges existing jailbreaking methodologies but also fortifies LLMs against potential exploits.
[ -0.5174215436, -1.1090043783, 0.7689311504, -0.0971757248, -0.3658177257, 0.0446413495, -0.0042440915, -0.3654132187, 0.3482285142, 0.6124456525, -0.6557696462, -0.28531304, -0.6793860793, 0.2801309824, -0.3323890865, 1.061173439, 0.0200747177, -0.1872703582, -0.1640391648, -0.2083570212, -0.6240817308, -0.6807758808, -0.3493523002, 0.0005937736, 0.6537407041, 0.3407616615, 0.528799355, -0.1870571226, 0.6809251308, 0.3012126386, -0.4323242009, -0.3614810705, -0.2268794179, 0.3650832772, -0.4857809246, -0.8624042869, -0.2316388786, -0.1373624057, 0.0089593446, 0.2172835618, 0.0618103519, 0.1864534467, -0.246295765, 0.783831358, -0.5690734982, -0.3936952055, -0.8952658772, 0.0736630857, -0.164497301, -0.1582275629, -0.5486517549, -0.2945161462, -0.1561773419, -0.1209420189, 0.028557511, -0.0599580966, 0.3553850353, 0.2786540389, -0.4174804688, -0.2781654298, -0.4028502703, 0.748978138, -0.8649993539, 0.2009056509, 0.2810732126, 0.0901899934, -0.154026404, -0.2835625708, -0.133913666, -0.5722875595, 0.193801105, -0.1612530351, -0.2726701796, -0.1893905401, 0.2321612388, 0.3169946373, -0.5008535981, 0.0901968405, -0.2047934234, -0.2185373306, 0.7020475864, 0.3158195317, 0.4887776673, -0.0305460505, -0.3374789059, 0.1948313415, -1.0124361515, 0.1083657816, 0.6162153482, 0.3647761643, -0.0945709273, 0.7903614044, -0.0070582363, 0.4376181066, 0.2876553833, -0.0437272228, -0.1431570649, -0.3584021926, -0.0212663524, -0.0948133841, 0.5717823505, 0.4636157751, 0.3460794389, -0.0395826139, -0.073797293, -0.5065244436, 0.4362330735, -0.73535496, 0.0976832286, 0.6857833266, -0.2974181175, -0.6592666507, -0.0155076124, -0.7656407356, -0.9925704598, 0.1977140754, 0.2014214098, -0.2888463736, -0.4486156702, -0.0940032899, -0.0261985697, 0.563460052, 0.263863802, -0.9466285706, 0.135875389, 0.6994267702, 0.9253922105, -0.1941930354, 0.1489703059, -0.2229949534, 0.0187444985, -0.2396431267, 0.5831516981, -0.4978892207, -0.7027475238, -0.0418112874, -0.0638142899, 0.1375886053, -0.6547918916, 0.2785038352, -0.8681508899, -0.1761695743, -0.5206207037, -0.366907537, 0.1109771878, 0.7406687737, -0.5767546892, 0.7495514154, 0.0965703726, -1.1545211077, -0.0699073374, -0.4584165514, -0.3424802721, -0.0849804133, 0.0394799113, -0.3133649826, 0.2487715334, 0.407664597, 0.1582860351, -0.2725816965, 0.3258964717, -0.3190217614, -0.0105134659, 0.7764134407, -0.1985987574, 0.7902185321, 0.3006545007, -0.3494113684, 0.2005873621, -0.2787343562, -0.1940614134, 0.3316152096, -0.4300559461, -0.6346593499, -0.0350196362, -0.3537544012, 0.0545560643, 0.5825737715, -0.8153830171, 0.4620930552, -0.4580031037, 0.5774234533, 0.9549171329, 0.2494871914, 0.4590215683, 0.0586215593, 0.8748250008, 0.0943708271, 0.5038889647, 0.0132208401, -0.3414981067, -0.5694279671, 0.1417194307, 0.0845598429, 0.8747386932, -0.5790092945, 0.0666958243, 0.1987407058, -0.6732919812, -0.2745188177, 0.3315544426, 0.4146857858, 0.6035937667, 0.5990870595, -0.0936211944, -0.5821461678, -0.8168040514, -0.6921218634, -0.5650176406, 0.1527919322, 0.4268218279, 0.6069549918, -0.1443456709, 0.9150806069, -0.5750344396, 0.2156840563, -0.8423057795, -0.1863010973, 0.2826891541, 0.4099541306, 0.6121769547, -0.9059966207, -0.4047729969, -0.2250391394, -0.7589245439, -0.3568768501, 0.1043243855, 0.2716078758, -0.0485615768, 1.0527435541, -0.6058831215, 0.1726237386, 0.3153993189, -0.4151849747, 0.7375733852, 0.1934993565, 0.0268298909, -1.0760269165, -0.4167717993, 0.0378785729, 0.1209606007, -0.7132732868, 0.5427675247, -0.0079950383, -0.0675396845, -0.8685629964, 0.6608823538, -0.236244753, 0.0894976109, -0.2491052598, -0.1488470137, -0.2898764312, 0.0600089692, -0.145966962, 0.8101598024, 0.5420789719, -0.4495818615, 0.5639466643, 0.0157571621, -0.1416561306, 0.4460630119, -0.999569118, 0.4625526369, -0.023944784, 0.0524932668, -1.2128289938, -0.1493988782, 0.2329661399, -0.3893639147, 0.2400577813, -0.4196044207, -0.2521642447, -0.2267301679, -0.5605874658, 0.5681573153, 0.4025544822, -0.2752969563, 0.5122005939, 0.3709178269, -0.5138798952, -0.5859184861, -0.5952423811, 0.1676241755, -0.6656724811, -0.6851255894, -0.0224063266, -0.1134940609, -0.7591308951, -0.3602967262, -0.1642953157, 0.1955695003, 0.3324821591, 0.1080774739, 0.3836603165, -0.1104718298, -0.2884266675, 0.1609231383, -0.0733195543, 0.3882904053, -0.019495558, 0.6034449935, -0.2544845641, -0.254433006, -0.0256079398, 0.4217062294, 0.5339245796, -0.2706566155, 0.764138937, -0.0118254786, 0.1265510619, 0.1205754504, -0.4387805462, -0.2204810977, -0.5797336698, 0.4289319515, -0.4459114373, -1.1921746731, 0.7339007258, -0.3202043772, -0.0890994146, 0.013652565, 0.8277111053, -0.0390977375, 0.8222735524, 0.8278326392, -0.4109568, 0.5749621391, 0.1133349091, 0.2243329138, -0.9362906218, -0.2556462884, -0.490472585, -0.1295322031, -0.5039742589, -0.3136618733, 0.4735360444, -0.0265463702, -0.0327056088, 0.6565675735, -0.1710558236, 0.4848284721, 0.0585136712, 0.1340507716, 0.2809201777, -0.5387939811, -0.3694910407, 0.1103697941, -0.2157603949, -0.4555999041, 1.0643206835, 0.6562899351, 1.1776754856, 0.4638773203, 0.6857225299, 0.189714238, 0.2872194648, -0.8661575913, 0.8421058059, 0.3848409057, -1.2247703075, -0.4354347289, -0.2277916521, -0.7230545282, 0.2309514135, 0.1551434696, -0.9974416494, 0.1520114541, 0.0902687237, -0.3191870451, 0.4738212228, -0.6565448642, 0.665086925, -0.3018016219, -0.3131095171, 0.2486648262, -0.81021595, 0.5379472375, -0.0510204323, 0.5021944046, -0.1394575834, -0.2681685686, 0.5936356187, -0.5214224458, 1.0791498423, -0.3792595863, -0.5852566361, 0.5409936309, 0.4145422876, 0.6382474899, 0.423042655, -0.1573776454, -0.1017936692, -0.2475551665, -0.2781581879, -0.5708573461, 0.4966830015, -0.5493143797, -1.0988892317, -0.1738618016, -0.7426634431, -0.4465650022, 0.022128731, 0.3505808413, -0.0096561927, -0.2161426693, -0.0727872923, 1.0152752399, -0.5956277251, 0.4705529511, 0.5625982285, -0.2633549273, -0.1383230537, 0.4694908261, -0.0711061433, 0.4546509683, 0.5095416903, 0.3258237839, -0.3454226255, -0.8834657073, -0.2847859859, 0.0734443814, -0.5888162255, -0.2303147912, -0.5159494877, -0.1132971942, -0.7283428311, -0.2496763617, -0.4555425644, -0.201918304, -0.0866730139, -0.540574193, 0.6775545478, 0.4063847661, 0.0359692946, 0.1597453505, -0.764460206, 0.3845020235, 0.4691642821, -0.2039748728, -0.3642021418, -0.857119441, -0.0022596898, -0.3522344232, -0.1760892421, -1.4280757904, 0.3251612186, -0.2931225896, 0.4005890489, 0.1876200885, 0.3471913934, 0.1711370796, -0.3495666981, 0.7868446112, 0.145792976, -0.9087301493, 1.1562975645, -0.5239700675, -0.0117121525, 0.809450686, 0.6006832123, -0.3318605721, -0.7629266977, -0.4789297283, -1.0776375532, 0.227475673, -0.0659584254, 0.5864850879, 0.1074829996, 0.6377788186, 0.1442594081, 0.1824211031, -0.9755312204, -0.2644730508, -0.0628289878, 0.0454405323, 0.0188780632, -0.4063358307, -0.1911932826, -0.3821232617, 0.2845337093, -0.0012967229, -0.0463973023, 0.2679736316, -0.266438514, 0.1605307758, 0.9691823721, 0.3666717112, 0.3969212174, -0.3607730567, 0.3475117087, 0.4796641469, -0.7592477202, 0.642080605, -0.4161934853, -0.5222020745, -0.3511450887, 0.4538756907, 0.4155910313, -0.2095802277, -0.7598590255, 0.5042607784, 0.0354479589, -0.0317707509, -0.1472999454, 0.3818022311, 0.0815275833, 0.3427481353, 0.3005513251, -0.3354226649, -0.0413832217, -1.0065602064, 0.109679535, 0.4209216833, -0.7053455114, -0.316798836, 0.457000643, 0.2500099242, -0.2652209401, 0.4580037892, -0.0095002791, -0.7163541317, 0.6881946921, 0.7652412057, 0.8858147264, -0.4795427024, 0.2296887934, 0.1666408032, 0.8423615694, 0.4036820531, 0.4435885847, 0.0951649323, -0.8409276009, -0.3631430864, -0.3615684807, -0.601788938, 0.1655931026, -0.8316081166, 0.0155314514, -0.8399037719, -0.2785752714, -0.3290792108, -0.2842101455, 0.2539270222, 0.1901227683, 0.0104699302, 1.1356670856, -0.9160229564, 0.7444367409, 0.8359282017, -0.3216453791, -0.4985169768, 0.1415998936, 0.2420842052, -0.7388481498, 0.5495160222, -0.0180660523, 0.069655247, -0.1487628967, -1.0656206608, -0.6430586576, 0.7839112282, 0.4720537961, -0.623593986, 0.1129449829, 0.2734309137, 0.3079118431, -0.1820115, 0.0740859658, 0.9707807899, 0.5334544182, -0.0571280159, -0.6330627203, 0.4334268272, -0.371534884, -0.2512170374, 0.3803558946, -0.6812639236, 0.9740722775, -0.7299920321, 0.2992842793, 0.0250116456, 0.5253332257, 0.5341143012, 0.2543886006, 0.5164238811, 0.5392385125, 0.3997411132, -0.0988278314, 1.1403995752, 0.1202043742, 0.2751658559, 0.9647933245, -0.366717577, 0.6667145491, 1.0423523188, -0.3913017809, 0.5839289427, 0.6181465387, 0.020227069, 0.6699718833, 0.514791429, -0.3034992218, -0.3183992803, -0.0305992309, -0.5130962133, 0.1496755928, 0.3151184618, -0.0616149455, -0.2053464055, 0.3697407842, 0.2282499373, 0.0464639999, -0.5507233739, 0.841709137, 0.2494146824, -0.3832341135, 0.0947931334, 0.3809116483, 0.8776714802, -0.5567978621, 0.4181769788, -0.5398542881, -0.100639455, -0.1940574348, -0.9009942412, 0.3521912098, 0.5420266986, 0.0578946285, 0.0521230996, 1.061413765, 0.2615003288, -0.3431052864, 0.3889855444, 0.4313211143, 0.1238558516, -0.2968937457, -0.8913354874, 0.1588805616, -0.0259768777, -0.459861666, 0.7258421183, 0.2124554366, 0.0490976535, 0.8154855371, 0.6026105285, -0.1261443645, 0.2453092933, 0.0496300124, 1.2012642622, -0.8818764091, -0.2979875803, -1.2549577951, 0.548822999, 0.1389009804, -0.3385584354, 0.9433547854, 0.2083489597, 0.6502833366, -0.045686435, 0.8281303644, -0.394439429, 0.367788136, -0.6896808147, 0.3323509395, -0.2852573395, 0.6827790141, -0.5674654245, -0.5377117991, 0.0763061866, 0.358189404, -0.6989963651, 0.0619380064, 0.5797761679, 0.7877440453, 0.3215161264, -0.1512011886, 0.1769679189, 0.3043046594, 0.4172162414, 0.7349745035, 1.3788235188, -0.3345371187, 0.4934104085, -0.1933367401, -0.0756755918, -0.26255849, -0.8102672696, -1.0481258631, -0.1624501795, -0.3054489195, -0.3972774148, -0.0295753703, 0.6645491123, 0.2081252635, -0.8509181738, -0.0530510508, -0.3134835064, 0.5066142678, 0.1345224828, -0.2584064603, -0.0226435568, -0.154514879, -0.4966390431, 0.5553388596, 0.2219540775, 0.1791055202, -0.3453018665, 0.1294697225, -0.2732865512, 0.4018209875, 0.613592267, 0.3260909617, -0.3277205229, -0.3768540621, 0.2655002773, -0.0945810005, -0.1113063768, 1.0390563011, -0.4280746281, -0.0817803741, 0.4500208795, 0.5383785367, 0.2148303688, 0.2035287023, 0.2986732423, -0.8204330206, 0.3454506397, 0.3655064106, 0.2450359613, 0.0933143944, -0.552998662, 0.3955481052, 0.0995428339, -0.2757866085, -0.9876164198, 0.7161509991, -0.9412346482, -0.6450553536, 1.4018832445, -0.3073684275, -0.2202931941, -0.4864372611, -0.3193598688, -0.1878361106, -0.1534704268, 0.7056537271, 0.7395194173, -0.3737462759, -0.2610360682, -0.4679669738, 0.1491923481, 0.5253405571, -1.0045911074, 0.143003583, 0.0819792673, 0.5284411907, 0.1942203045, 0.6530536413, -0.5681331158, 0.055060342, -0.101967372, -0.3741162717, -0.0461081304, -0.4495871961, -0.2722723186, 0.4119992256, 0.3300677538, 0.1972398162 ]
http://arxiv.org/abs/2404.08263v1
http://arxiv.org/pdf/2404.08263v1
Relational Prompt-based Pre-trained Language Models for Social Event Detection
2024-04-12T06:23:07
2024-04-12T06:23:07
Pu Li, Xiaoyan Yu, Hao Peng, Yantuan Xian, Linqin Wang, Li Sun, Jingyun Zhang, Philip S. Yu
cs.CL
cs.CL, cs.AI, cs.LG, cs.SI
Social Event Detection (SED) aims to identify significant events from social streams, and has a wide application ranging from public opinion analysis to risk management. In recent years, Graph Neural Network (GNN) based solutions have achieved state-of-the-art performance. However, GNN-based methods often struggle with noisy and missing edges between messages, affecting the quality of learned message embedding. Moreover, these methods statically initialize node embedding before training, which, in turn, limits the ability to learn from message texts and relations simultaneously. In this paper, we approach social event detection from a new perspective based on Pre-trained Language Models (PLMs), and present RPLM_SED (Relational prompt-based Pre-trained Language Models for Social Event Detection). We first propose a new pairwise message modeling strategy to construct social messages into message pairs with multi-relational sequences. Secondly, a new multi-relational prompt-based pairwise message learning mechanism is proposed to learn more comprehensive message representation from message pairs with multi-relational prompts using PLMs. Thirdly, we design a new clustering constraint to optimize the encoding process by enhancing intra-cluster compactness and inter-cluster dispersion, making the message representation more distinguishable. We evaluate the RPLM_SED on three real-world datasets, demonstrating that the RPLM_SED model achieves state-of-the-art performance in offline, online, low-resource, and long-tail distribution scenarios for social event detection tasks.
[ -0.1805684865, -1.1361274719, 0.608075738, 0.202476576, -0.6921491027, 0.1456069648, -0.36301139, -0.1408891231, 0.5781100392, 0.1755055338, -0.6609098911, -0.9152769446, -0.3817175329, 0.0800285339, -0.0879461467, 0.7681907415, 0.1376440525, -0.1433331072, -0.3957077265, -0.1674333066, -0.1301406175, -0.8481976986, -0.7686216831, -0.1066633016, 0.4069433808, 0.2865273356, 0.5322318077, 0.2989401817, 0.2313682735, 0.2599028945, -0.1034695059, 0.4216271341, -0.5689858198, 0.1773882955, -0.0083240289, 0.0531343594, -0.1243380681, -0.049138546, 0.8491736054, 0.646089077, -0.1932840347, 0.0389481224, 0.1303327829, 0.375304848, -0.5151058435, 0.4552975297, -0.3898384273, -0.0201553944, -0.078724362, -0.2750919163, -0.5223240852, -0.3822198212, -0.1277490705, -0.5890995264, 0.0231818389, -0.0644667223, 0.6894040704, -0.1250112355, -0.3518198133, -0.0974420384, -0.4152026176, 0.5059195757, -0.4496724308, 0.4148229957, 0.1744475961, 0.1533793956, -0.2764644325, -0.5862032771, -0.4762152731, 0.0012947487, -0.0749666765, -0.0062366836, 0.1145835444, -0.0112435156, 0.1178077981, -0.2634979784, -0.7433418036, 0.099818483, 0.1369503289, -0.0469379872, 0.6468744874, 0.2201200128, 0.4169101417, -0.421878159, -0.3511003852, -0.034694396, -0.5568618178, 0.0133711929, 0.1995538026, 0.5728917718, -0.5140157938, 0.0113047929, -0.1955568194, 0.3910502493, -0.067058742, -0.0878309011, 0.2376132607, -0.4982168078, 0.1594679952, -0.136124149, 1.0822052956, 0.3012268245, 0.3858299851, -0.0420562848, 0.0880525112, 0.2741309404, -0.3252660036, -0.7097997069, -0.2087045312, -0.1337351501, -0.8762426376, -0.4433003366, -0.0007648369, -0.6848713756, -0.5835471153, -0.2721046805, 0.1829739213, -0.3579820096, -0.5534635186, 0.0707023814, 0.1547880024, 0.0791190937, 0.444277674, -0.3868470788, 0.1387031525, 0.6428853869, 0.8890030384, -0.1463743448, -0.3582632244, -0.7761129737, -0.0629567206, -0.0079209376, 0.8722657561, -0.5146645308, -0.4029413462, 0.1607760936, 0.1404237598, -0.2180647105, -0.1132974401, 0.3212501109, -0.6217186451, -0.0291319489, -0.3293115497, -0.6104509234, 0.2199587971, 0.2761487663, -0.373572886, 0.6737570167, -0.160687983, -0.8659568429, 0.2800685763, -0.2499257475, -0.6844816804, 0.3181091547, -0.4428180754, -0.6928780675, -0.1284131408, 0.3869077563, 0.67527318, -0.1090853438, 0.5352270007, -0.8007827997, -0.2883788049, 0.3209336698, -0.2498734891, 0.7399281859, 0.068151474, 0.0893397033, 0.4935283363, -0.8628953099, -0.083788991, 0.3562267721, -0.0268410314, -0.3012637794, 0.2098302245, 0.0595019758, 0.3371074796, 0.1143297628, -0.374145925, -0.1097864881, -0.1801604033, 0.5237970948, 0.8427938819, 0.3321522176, 0.3977568746, -0.0410938449, 0.5493966341, 0.2895205021, 0.3146190345, -0.5169576406, -0.5496422052, -0.2324925959, 0.0444591194, -0.0377719291, 0.7268163562, -0.9477807283, 0.5970323682, -0.0306835398, -0.0799692795, 0.0638299286, -0.0071748663, 0.2191133648, 0.34455809, 0.1652305871, -0.1342571676, -0.5399065614, -0.3651209176, -0.4074304402, -0.539609313, 0.386449337, 0.3317449093, 0.2988092899, -0.0493624844, 0.7690545321, -0.3991279006, -0.2115096301, -0.6529666185, 0.1087750047, 0.2607331574, 0.2995363772, 0.4263111949, -0.736880362, -0.6589034796, -0.1161669716, -0.8518155813, -0.203333959, -0.1859141737, 0.1662462205, 0.1251642555, 0.6961809397, -0.5399734378, 0.5744629502, 0.1986824274, -0.4961365759, 0.5218812823, -0.1891480237, 0.0512936413, -1.1477304697, -0.4552888572, 0.0848929733, -0.4816735983, -0.8054427505, -0.1723064184, 0.2171932012, -0.411634326, -0.6104568839, 0.5595065355, -0.5893383622, -0.2215417176, -0.2038217187, 0.4268360436, -0.0646514744, 0.4306651354, 0.2554173172, 0.3532004952, 0.5512701869, -0.5564736128, 0.4819067121, 0.3021032512, -0.3755219281, 0.5852184296, -0.5052078962, 0.1705895662, -0.5331605673, 0.3618359864, -0.9964331388, -0.0706654638, 0.5088632107, -0.553044498, 0.182499513, -0.3295736015, -0.6260510087, -0.3654384613, -0.2279144228, 0.3128872514, 0.3483769596, -0.6708943844, 0.7439683676, 0.4020235538, -0.2209024131, -0.2647361755, -0.2351623923, 0.000067326, -0.236001119, -0.9838677049, 0.1469171792, 0.2654360533, 0.0706433505, 0.0982703716, 0.1288289428, 0.0375502445, 0.1666710228, 0.2920006216, 0.330126524, -0.0313479751, 0.2368497699, -0.1759517938, -0.3369499147, 0.2152242213, -0.1885539889, 0.6391969323, -0.1302670836, -0.4840681553, -0.7360929251, 0.5772373676, 0.1449955851, -0.2989339828, 1.0938624144, 0.81368047, -0.3257446289, -0.0677652359, -0.4606412947, -0.4485872984, -0.4287882745, 0.3081128895, -0.1160715744, -1.0153625011, 0.7264192104, -0.1887899935, -0.5090337396, -0.1732888222, 0.079272151, -0.0683464333, 1.0649979115, 0.2673002481, -0.0696980059, 0.8471449018, 0.0364334248, 0.2522081435, -0.4720446765, -0.0740624592, -0.4987303913, 0.0390820615, -0.3157678246, -0.4322816432, 0.328366369, 0.2730670273, -0.1415375024, -0.0501300581, -0.1798147559, 0.5740932226, 0.3827581704, 0.3581785262, 0.2082537711, -0.0314959809, 0.0183317661, 0.0044603921, -0.893140316, -0.3393371701, 0.8410628438, 0.122618109, 0.7385815382, -0.1818925142, 0.957398653, 0.1635916531, 0.1418036222, -0.1989546418, 0.7770511508, -0.0660806075, -0.0403410047, -0.312895, -0.627140224, -0.8084653616, 0.1710619777, -0.3976415992, -0.7155585885, 0.2608835399, 0.0414340831, -0.4542651176, 0.304399997, -0.603027463, 1.171916604, -0.1008422226, -0.2753913701, -0.1506742537, -0.8287909627, 0.0545871742, 0.2618131042, 0.6410182714, -0.2545601726, 0.3249692917, 0.7025646567, -0.3079273403, 1.0912111998, -0.4753106833, 0.4430063963, 0.5011011958, -0.1861195415, 1.2744572163, 0.4517678618, 0.2866449654, -0.1637285203, -0.1054228619, -0.2259076834, -0.4420226812, 0.6058177352, -0.7541819811, -0.4798366129, -0.2226381004, -0.1912306547, 0.0226235427, 0.0272494219, 0.1239769384, 0.6703271866, -0.4435711503, 0.1633509248, 0.5828809142, -0.67918998, 0.4812885523, 0.45686391, -0.5006916523, -0.4453586936, 0.8524291515, -0.0896308869, 0.0906789079, 0.2842930555, 0.1520815939, -0.4305208921, -0.4615414739, -0.2558267415, 0.4567827284, -0.9166588783, -0.1325054914, -1.0713838339, -0.0478637889, -0.7369123697, -0.0687094107, -0.2094995975, -0.0957755595, -0.8262279034, -0.1180683002, 0.3851171732, 0.3261367381, -0.2999263406, 0.4624421, -0.8805695176, 0.4861883819, 0.1161764041, 0.2634473741, -0.0702216849, -0.1073831618, 0.0054978449, -0.0994530991, 0.1245964095, -1.2150872946, 0.3829878569, 0.3058855534, 0.509790957, 0.5147676468, 0.4428629875, 0.2754299343, -0.3123258054, 0.3891054988, 0.2510671616, -0.6969317198, 0.7456356883, -0.3805651665, 0.0335947759, 0.2724616826, 0.3166165054, -0.7841938138, -0.0093718898, -0.6647703648, -0.6333481669, 0.8492110968, -0.0380401388, 0.0017116615, -0.4552108347, 0.4167808294, -0.267481178, 0.0661111251, -0.8717327118, -0.2923612297, -0.2059655786, -0.1323963255, 0.0183002353, -0.426915437, 0.3644598126, 0.0144705605, 0.4907274246, -0.1364115328, 0.0739567131, 0.0848956779, -0.2433809638, -0.0052104024, 0.326454252, 0.3000934422, 0.576010704, -0.0966511816, 0.0997868404, 0.1325652152, -0.064428553, 0.235688746, 0.2473473251, -0.1354159415, -0.0046809623, 0.3199081719, 0.9389090538, 0.1824494451, -0.3978289664, 0.8750513196, -0.3271674514, 0.1604174376, -0.3150101602, -0.233675763, 0.246381402, 0.2231920511, 0.1827609688, -0.3230143487, -0.0802399069, -0.5928791761, 0.2967801988, 0.6012875438, -0.354752481, -0.4540559351, 0.5084228516, 0.3048909307, -0.3347955644, 0.5243974924, -0.7595407963, -0.740427196, 0.7352932096, 0.5699986219, 0.5767951608, -0.3671555221, 0.6958952546, 0.2305305749, 0.2576231062, 0.025181286, 0.637432456, 0.0063820053, -1.0946886539, -0.5991088748, -0.5102328062, -0.1793996394, 0.1419072896, -0.5548444986, 0.3921955228, -0.4534055591, -0.198882103, -0.183812499, -0.1853894591, -0.5906446576, -0.1801931411, 0.0840357989, 0.4797262251, -1.1573075056, 0.6549110413, 0.7432768941, -0.0651531667, -0.721848309, -0.5507917404, 0.0975117013, -0.4616053402, 0.4652594924, 0.3237761557, 0.3482282162, 0.1423139572, -0.2084314972, -0.6509430408, 0.7313331962, 0.1095513925, -0.4322426021, -0.0219716746, 0.1088872403, 0.2737222016, -0.5788280964, 0.1293516308, 0.1782147288, 0.3424764574, 0.0365277752, -0.4121709466, 0.1099668294, -0.1019855216, 0.1080130413, 0.4159888625, -0.3751619458, 0.9098416567, -0.1055251211, -0.6056161523, -0.1541732997, 0.7455048561, 0.5441551208, 0.6042068601, 0.4833548665, 0.2916718125, 0.7282585502, -0.1542244703, 0.985676825, -0.2598042786, 0.3474009335, 1.0896724463, -0.6184999347, 0.3768572807, -0.0189074147, -0.1486489773, 0.490149647, 0.6561102867, 0.490093559, 0.536362946, 0.0938791707, -0.4375173748, -0.739775598, -0.3258161247, -0.5205484033, -0.0390545465, 0.5756201148, -0.2224405706, -0.3659249842, 0.2454219311, -0.2655763924, 0.353428334, -0.3374324143, 0.8038380742, 0.1924190074, -0.2001934946, 0.0844272971, -0.1589924842, 0.5546301603, -0.3314603865, 0.1321182996, -0.1569533497, 0.086312227, 0.0151528008, -0.4645751715, 0.1781140715, -0.4034338593, 0.0022952324, -0.1640570164, 1.4986299276, -0.4126037359, -0.351665765, 0.5905396342, 0.7445058227, 0.0701343864, -0.3339762688, -0.7056191564, 0.3180825114, -0.2804284692, -0.1239809319, 0.3149751723, 0.7216567993, -0.1511401683, 0.5635403395, 0.7893352509, 0.0147869242, -0.0576613955, 0.5853743553, 0.8334928155, -0.6761866212, -1.1569523811, -0.97309798, 0.0811321586, -0.3304265738, 0.1924538314, 0.4840188026, 0.1354248822, 0.5691385865, 0.0561194047, 0.6515999436, 0.3286553323, 0.6670767665, -0.5056582689, 0.4596028626, -0.1101830006, 0.1927322745, -0.5092727542, -0.6273052096, -0.3591711521, 0.7544255853, -0.3032621443, 0.0960744619, 0.5460686684, 0.7146393061, 0.1911887079, 0.3181274533, 0.2000847906, -0.0550701767, 0.391803056, 0.593526721, 1.3747791052, -0.0580190904, 0.4737755358, -0.1199887991, -0.2890360653, -0.422210753, -1.0896891356, -1.2414900064, -0.599263072, -0.5415050983, -0.3003793657, 0.3582797647, 1.1990329027, 0.601049304, -0.6473010182, -0.0287579671, -0.1234894693, 0.4827852845, -0.0957989097, -0.2433436811, 0.4790428877, -0.4370520711, 0.0087202052, 0.4557594359, 0.3830232322, 0.1473948956, 0.1170607209, -0.1192677021, -0.4677648246, -0.3373978436, 0.67314744, 0.2080542892, -0.3956747651, -0.4466146529, -0.088011317, 0.0487789623, -0.0781686604, 0.62866956, -0.8287225962, -0.0733734593, 0.6276974082, 0.5872839689, 0.4435052276, 0.0737797394, 0.3220057786, -1.0217101574, 0.322142154, -0.0531673208, 0.4819011688, 0.3941126168, -0.5370149016, 0.3337811232, 0.5509750247, -0.4867655933, -0.798048079, 0.4241127074, -0.8198519349, -0.3373839259, 1.1956356764, -0.1886900663, -0.3332600892, -0.4046944082, 0.0407795161, 0.452334404, -0.582937181, 0.4404779673, 0.4581820369, 0.0485639386, -0.5391840935, 0.0209771115, 0.3947328627, 0.1423723996, -0.8468176126, 0.1613478661, 0.6191493273, 0.0451358072, 0.0172110163, 1.0389975309, 0.1682944447, 0.4364954531, -0.3694876134, -0.0597464778, -0.2967167497, -0.4340358377, -0.3001003563, 0.2358065695, -0.2447467148, 0.0876272395 ]
http://arxiv.org/abs/2404.08262v2
http://arxiv.org/pdf/2404.08262v2
Pretraining and Updating Language- and Domain-specific Large Language Model: A Case Study in Japanese Business Domain
2024-04-12T06:21:48
2024-04-16T02:24:00
Kosuke Takahashi, Takahiro Omi, Kosuke Arima, Tatsuya Ishigaki
cs.CL
cs.CL, cs.AI, 68T50
Several previous studies have considered language- and domain-specific large language models (LLMs) as separate topics. This study explores the combination of a non-English language and a high-demand industry domain, focusing on a Japanese business-specific LLM. This type of a model requires expertise in the business domain, strong language skills, and regular updates of its knowledge. We trained a 13-billion-parameter LLM from scratch using a new dataset of business texts and patents, and continually pretrained it with the latest business documents. Further we propose a new benchmark for Japanese business domain question answering (QA) and evaluate our models on it. The results show that our pretrained model improves QA accuracy without losing general knowledge, and that continual pretraining enhances adaptation to new information. Our pretrained model and business domain benchmark are publicly available.
[ -0.2542914152, -0.9724683762, 0.6033149362, 0.2070212662, -0.4866055548, 0.2160701156, -0.1965716183, -0.6327933669, -0.0052137314, 0.93596977, -0.5979311466, -0.5024650693, -0.3517659605, 0.1549952328, 0.0530226454, 0.8560678959, -0.1946460456, 0.1475111246, -0.3044425845, -0.2352719009, -0.9120886326, -0.9217098951, -1.0426843166, -0.3331165612, 0.2304195464, 0.1082269847, 0.6082835197, 0.2809709311, 0.4386992455, 0.2571776807, 0.2715077996, -0.1482803226, -0.4006974399, 0.0300584733, -0.2631796002, -0.755872786, -0.5134987831, -0.0273909513, 0.6786527634, 0.950494349, -0.2548322082, 0.2145107538, -0.3041599393, 0.5266088843, -0.4216676354, 0.3280224502, -0.7251757383, -0.3161565065, -0.0922655389, -0.2255727351, -0.424347192, -0.2552212477, 0.2350414246, -0.8025969863, 0.065447472, 0.1794864088, 1.1053080559, 0.1682373285, -0.3133565784, -0.0997688696, -0.642241776, 0.564915061, -0.6929201484, 0.4886895716, 0.4373269081, 0.2917965055, -0.1466005594, -0.8954290748, -0.2762254179, -0.2560155988, 0.215684399, 0.1286671907, -0.063135609, -0.0563265905, 0.418615967, 0.1797780395, -0.5001934767, 0.4199711382, -0.1612083018, 0.2108115554, 0.6906681657, 0.023355335, 0.5239654779, 0.3228006661, -0.1528490037, -0.0949732661, -0.8750733733, -0.0918587893, 0.1830507666, 0.1208116487, 0.155266583, 0.1601439714, -0.3797387183, 0.6188722253, -0.1438819617, -0.0890590698, 0.1726121753, -0.1809384525, -0.3979317248, -0.037786711, 0.5383796096, 0.0750704035, 0.627533555, -0.2689131498, -0.1380262375, -0.2565919757, 0.3248924613, -0.8012630939, -0.1259936094, 0.1034106463, -0.2824855447, 0.1927915812, -0.1652338952, -0.5218161345, -0.262242645, -0.3144161105, 0.6326448321, -0.0435422324, -0.3607104421, 0.4136136472, -0.0126920892, 0.4984494448, 0.3030258119, -0.7687367201, 0.1699612886, 0.4685766995, 0.3317468166, 0.023040995, -0.4094547927, -0.1424717754, 0.2924216688, -0.6151833534, 0.6449303031, -0.5430507064, -0.358599782, 0.146863848, 0.1576580703, -0.0971200615, -0.857373476, 0.1724426448, -1.1373542547, 0.2969042361, -0.0916394889, -0.6668404937, -0.120316036, 0.3076235056, -0.6137657166, 0.7366790771, 0.2656408548, -0.4407608807, 0.4775164127, -0.5121688843, -0.5432174802, 0.4711727798, -0.0723436028, -0.4924355447, -0.019965902, 0.1570161134, 0.384167552, -0.3472338617, 0.4044198394, -0.3150770962, -0.0751712695, 0.4936986566, -0.1838083416, 0.6670306921, 0.0424166471, -0.0618951917, -0.172967419, -0.8465868831, 0.1894239485, 0.3391403854, -0.3316521645, -0.4544546008, -0.2840575874, -0.2767224312, 0.1564711928, 0.7194146514, -0.2718844414, 0.1834909171, -0.3011458516, 0.1793105006, 0.5764665604, 0.376570493, 0.0742710084, -0.2627988458, 0.8694178462, 0.1185180992, 0.0987803787, -0.2768176794, -0.5010376573, -0.7072470188, -0.1062965468, 0.4518727362, 0.4230098724, -0.7503681779, 0.2695282102, -0.3630589545, -0.4339633286, -0.642169714, 0.1610347182, 0.2605058551, 0.2360425889, 0.3527197838, -0.5708165765, -0.4582623541, -0.6804246306, -0.3940636814, 0.0281659253, -0.0495864972, 0.2927404344, 0.2610620856, -0.4347509742, 0.7754814029, -0.6726262569, -0.1528715193, -0.5119428635, 0.1874292046, 0.4244279265, 0.2217743248, 0.4469073713, -0.7377815843, -0.7053999305, 0.1010524556, -0.4944734871, -0.0532870293, -0.1175903454, -0.2827018201, 0.2079996169, 0.4903990924, -0.6991148591, 0.2259088606, 0.3090994358, -0.1332862824, 0.5815751553, -0.4734922349, 0.2304845005, -1.3871471882, 0.1542680562, 0.0171484593, -0.4341546595, -0.7772890925, 0.1869263351, 0.0131603265, -0.5790212154, -0.3875293732, 0.6822334528, -0.6442219615, -0.2832688391, -0.5691509843, 0.1173765436, 0.1722978354, 0.6155340075, 0.4387205839, 0.8929264545, 0.6482274532, -0.9238682389, 0.3021215498, 0.3599718809, -0.6679275632, 0.3155281842, -0.6885088682, 0.2461044788, -0.111606054, -0.0453828275, -0.6573703289, -0.1562967896, -0.116440624, -0.2200753093, 0.4888958037, -0.1131578609, -0.5432374477, -0.3505774736, 0.2547720075, 0.1445736736, 0.7637707591, -0.3974480629, 0.5687889457, 0.3813930452, -0.6575203538, -0.254336834, -0.4758928418, 0.0341269076, -0.1169438809, -0.4049413204, 0.2132963687, -0.1392311454, -0.0078739673, -0.0610802025, -0.1325965673, -0.6664613485, 0.4635693133, -0.2072664499, 0.2930574715, -0.4493505061, -0.1898886412, -0.22727938, -0.1157491654, 0.258620739, -0.2726613879, 0.6166216731, 0.1636204869, -0.129825592, -0.5992377996, 0.0575760715, 0.3860616386, -0.3099809289, 0.7819346786, 0.0703516826, -0.4026417732, -0.2478443235, -0.5824510455, -0.0432010368, -0.5169381499, 0.7697019577, -0.5358060002, -0.8177395463, 0.4217783511, -0.3468650281, -0.1321789026, 0.3795451224, 0.5712593198, -0.0129819876, 0.8988724351, 1.0301382542, -0.3651040494, 0.4393721819, 0.0073755975, 0.5379449725, -0.435574472, -0.1097651124, -0.6053734422, 0.0820419118, -0.4762049019, -0.2681346834, 0.0523900017, 0.1980632097, -0.184566617, 0.3720279038, 0.1909098178, 0.6065474749, 0.4404960573, -0.1757362932, 0.2671553791, -0.1433623731, 0.1541771293, 0.1017897353, -0.6169297695, -0.4607366621, 1.1553134918, 0.2977662683, 0.813932538, 0.0394304283, 0.3306822777, 0.0317929089, 0.4376365542, -0.535338819, 0.4089624882, -0.2870253325, -0.8414230943, -0.2269007117, -0.5100666285, -0.9571747184, -0.0060379901, 0.0640215874, -0.4572159946, -0.101260893, 0.0552740954, -0.163767308, 0.1569845229, -0.7153294683, 1.1017251015, -0.5010015965, -0.1932780743, -0.2378677428, -0.3791828156, -0.0232253745, -0.6474429369, 0.1749854684, -0.1116047874, -0.0190223772, 0.7971616387, -0.1124850512, 0.7636964917, -0.2407969981, -0.2100495398, 0.1583368629, -0.286783129, 0.4447031617, -0.0494289994, -0.0347372591, 0.0718591362, -0.0234883297, -0.5142709613, -0.7531306148, 0.3200840652, -0.9455683827, -0.9602032304, -0.2964843214, -0.4441042244, -0.892388165, 0.5071209669, 0.1660355926, 0.2965256572, -0.3643241525, 0.2469488829, 0.8756995201, -0.3971930742, 0.0463071167, 1.0425502062, -0.2824280262, -0.2374243438, 0.6606414914, 0.0621536486, 0.3025039732, 0.5644536614, -0.0005585154, -0.4979070127, -0.6157941818, -0.2672027647, 0.5173865557, -0.5599477887, -0.0121614924, -0.5617091656, -0.3058380187, -0.4823479056, 0.0668693408, -0.3032593727, 0.0202176105, -0.1800960451, 0.0489165187, 0.1183713302, 0.7274618745, 0.6507978439, 0.3491127789, -0.8541893959, 0.4057877362, 0.315420419, 0.4874130785, -0.207287699, -0.7389782071, -0.7007413507, 0.2196934074, -0.1764064431, -0.5781627297, 0.4230597317, 0.1548254341, 0.7903300524, 0.2174651176, -0.1163487881, 0.6362776756, -0.5345361829, 0.8287132978, 0.1854426414, -0.8930866122, 0.5810483098, -0.2665588558, 0.4142070711, 0.6002749801, 1.0711599588, -0.5775928497, -0.3099367917, -0.6887748837, -0.6144811511, 0.5810703039, -0.4171189964, 0.5270655155, 0.1660249233, 0.704875648, 0.1742699891, 0.5692949295, -0.7734891176, -0.0765798539, 0.1000771075, -0.2475546151, -0.3543630242, -0.3630691171, 0.2712778449, -0.0160352364, 1.0656869411, -0.0463939048, 0.0954841897, -0.2050176859, -0.3526847959, 0.1724123806, 0.3214673698, 0.1837702245, 1.1443662643, -0.0025235228, -0.3217487633, 0.235490799, -0.5042675138, 0.2029556334, 0.0503797643, -0.1393054873, -0.0916662216, 0.1611753404, 1.0325706005, 0.1300997436, -0.8504133224, 0.5249239802, 0.0025000952, -0.3905908167, -0.2052683681, 0.0215254761, 0.1123175919, 0.0432686508, 0.2558173835, -0.5049676299, -0.2229814976, -0.8248720169, 0.016760746, 0.2676642239, -0.121717602, -0.3115904927, 0.6313077211, 0.1682551205, -0.0943069011, 0.6180157661, -0.0258920044, -0.6409007907, 0.5115461946, 0.7500319481, 0.817933023, -0.2757998407, 0.0951914117, 0.0669502541, 0.1949176043, -0.1336900145, 0.4036415815, 0.2264366895, -0.9940983057, -0.5273501873, -0.5121186972, -0.89033252, 0.5736231804, -0.6699370742, 0.2375079393, -0.7471795082, -0.2393269688, -0.1950297654, 0.5316202641, -0.7287268043, 0.7088451982, -0.1234382018, 0.7692730427, -0.7276496887, 1.0673300028, 0.9377703071, -0.5255748034, -0.8466516137, 0.0633376464, -0.8296716213, -0.8653013706, 0.7321823835, 0.063676171, 0.0709277764, 0.3057119846, -0.3842787743, -0.930193603, 0.9009868503, 0.3866905868, -0.6682914495, 0.1439223737, 0.3955645561, 0.6704823375, -0.3753468096, -0.1326866448, 0.5204588175, 0.2033948004, -0.2832826674, -0.6820807457, -0.2208531201, -0.2877268791, 0.2092527449, 0.1639222503, -0.7615150213, 0.4684818387, 0.0906651244, -0.1518302411, 0.0277163461, 0.6572480798, 0.1654254347, 0.2187565416, 0.2547205985, 0.6190956235, 1.0685961246, -0.0356046408, 0.922647357, -0.6169359088, -0.0339939371, 1.2808995247, -0.8657081723, 1.0638746023, 0.0721664429, -0.2330375612, 0.7198671699, 0.6108260155, -0.1113957986, 0.4305111468, 0.1372403055, -0.2240275145, -0.2647387087, -0.051220566, -0.4793540835, 0.2464092821, 0.1183258072, -0.0505470298, 0.2858979702, 0.12419568, 0.149906829, -0.1560343802, -0.3891252875, 0.8993368745, 0.1412537396, -0.8054820299, 0.383486867, 0.2640480101, 0.3906463981, -1.0137723684, 0.5472556353, -0.3360599875, 0.1257546395, 0.1864417791, -0.5184763074, 0.1787160188, 0.2394049615, -0.1596754044, -0.2871911228, 0.6380275488, -0.5303262472, -0.1790411025, 0.1804310977, 0.3434272707, 0.2157945782, -0.1803848445, -0.6548585892, -0.0911465138, -0.1577347368, -0.2618401945, 0.4001675546, 0.5656984448, -0.0534657687, 0.7262275815, 0.6419190168, 0.1954865158, 0.194471404, 0.6071767211, 0.6918408275, -0.8372266293, -0.7474851608, -0.2821480334, 0.1350706071, -0.0578528307, -0.3500938416, 0.7869826555, 0.5593464375, 1.1272230148, -0.3106081784, 0.8603698015, 0.5325389504, 0.4172339439, -0.7298458815, 0.7184409499, -0.7250883579, 0.103076458, 0.0570029356, -1.021263361, -0.0568054244, 0.4481995106, -0.5108216405, 0.4467589855, 0.8908832073, 0.66184479, 0.1884969324, 0.0931046084, 0.5506125689, 0.4540412724, 0.244584322, 0.556143105, 0.7812110186, -0.4113403857, 0.2573726773, -0.0561988726, -0.0515255406, -0.0911575183, -0.8433052301, -0.7991254926, -0.3738608658, -0.8412249088, -0.1139690578, 0.0476243161, 0.6362389922, 0.5541892052, -0.6582630873, -0.4403239489, 0.1202615872, -0.2274283171, -0.1110221818, -0.2067531943, 0.0412768163, -0.6437974572, -0.5212031603, 0.3847979307, 0.2800542414, 0.2439533621, -0.112774156, 0.0822401345, -0.2350918949, 0.3472650647, 0.5606338382, 0.2303942889, -0.1072408333, 0.0549781844, 0.0363591164, -0.0239336584, 0.1053230315, 0.8071270585, -0.4218931496, 0.1954908967, 0.2804936469, 1.1571803093, 0.6608229876, -0.0567979664, 0.7982077599, -0.6142539382, 0.0292384289, 0.0450078696, 0.3834043145, 0.4824074507, -0.3365314007, 0.2252991498, 0.3800930381, -0.4930799007, -0.4677985013, 0.2718707025, -0.668507278, -0.5384866595, 0.9601494074, -0.2571027577, -0.4157138169, -0.3546269834, 0.0087469602, 0.1633802354, 0.1543512195, 0.5494046807, 0.8624883294, 0.3672337532, -0.0771607459, -0.4050605297, 0.3643516004, 0.4047307074, -1.1905215979, 0.0952486917, 0.2892476916, 0.5787032843, -0.2473143339, 1.0712651014, -0.0085126432, 0.4238905907, -0.1839205772, 0.1338976473, 0.1071234196, -0.3904154897, -0.378703773, 0.1250016838, 0.6323599815, 0.0429374799 ]
http://arxiv.org/abs/2404.08259v1
http://arxiv.org/pdf/2404.08259v1
Investigating Neural Machine Translation for Low-Resource Languages: Using Bavarian as a Case Study
2024-04-12T06:16:26
2024-04-12T06:16:26
Wan-Hua Her, Udo Kruschwitz
cs.CL
cs.CL
Machine Translation has made impressive progress in recent years offering close to human-level performance on many languages, but studies have primarily focused on high-resource languages with broad online presence and resources. With the help of growing Large Language Models, more and more low-resource languages achieve better results through the presence of other languages. However, studies have shown that not all low-resource languages can benefit from multilingual systems, especially those with insufficient training and evaluation data. In this paper, we revisit state-of-the-art Neural Machine Translation techniques to develop automatic translation systems between German and Bavarian. We investigate conditions of low-resource languages such as data scarcity and parameter sensitivity and focus on refined solutions that combat low-resource difficulties and creative solutions such as harnessing language similarity. Our experiment entails applying Back-translation and Transfer Learning to automatically generate more training data and achieve higher translation performance. We demonstrate noisiness in the data and present our approach to carry out text preprocessing extensively. Evaluation was conducted using combined metrics: BLEU, chrF and TER. Statistical significance results with Bonferroni correction show surprisingly high baseline systems, and that Back-translation leads to significant improvement. Furthermore, we present a qualitative analysis of translation errors and system limitations.
[ -0.4397405684, -0.553996861, 0.5844734311, 0.2295611203, -0.290299654, 0.0698631033, -0.6250048876, -0.3642666638, 0.059290424, 0.1756676137, -0.3925800025, -0.3882125318, -0.6778317094, 0.4021064341, -0.3096000254, 0.8575626612, -0.2038780004, 0.4943081439, 0.1028774828, -0.5365693569, -0.4968354404, -0.8069904447, -0.6746585369, -0.5439711213, 0.7209977508, 0.2893002629, 0.6374419332, 0.6222205162, 0.5824445486, 0.3079938591, -0.1067903936, 0.1014384553, -0.2961649001, 0.0615476146, -0.1513851434, -0.3209606707, -0.3514475226, -0.4294314384, 0.8105108738, 0.9189472795, 0.2408341318, 0.2527408004, 0.2050669491, 0.5750569105, -0.7043016553, 0.0950479209, -0.4761542082, 0.234890148, -0.2021474242, -0.1151236147, -0.3120596707, -0.202337712, 0.0065860893, -0.2942835689, 0.3933197856, -0.0607769825, 0.6505603194, 0.3600936234, -0.4491652846, -0.0445113331, -0.8955439925, 0.7988954782, -0.7137425542, 0.5322211981, 0.2550861239, 0.1468142867, -0.0395827107, -0.4661231935, -0.369507879, -0.1933800578, -0.2742600441, 0.0678825676, -0.516143024, -0.3709059656, 0.0636501089, 0.0708612874, -0.6092784405, 0.3398933709, -0.2101880163, -0.2496273071, 0.3880842328, 0.1915623844, -0.015631346, -0.059835054, -0.0641985908, -0.3720968068, -0.2900160253, -0.0312935412, 0.3166430295, 0.5244635344, -0.0706647485, 0.4183064699, -0.2081375867, 0.6871965528, -0.1436559111, 0.3743868172, 0.3785955608, -0.5968272686, -0.0496428087, 0.1103424802, 0.8165880442, 0.0307717193, 0.0911349878, -0.4901342094, -0.4842848778, -0.1646366268, 0.2014729679, -0.8252514601, 0.0512286648, -0.1250709444, -0.649235189, -0.0966149569, -0.3758610785, -0.6076933146, -0.1969112158, -0.1550189406, 0.2766839564, -0.6457047462, -0.1510312557, -0.0086580627, 0.0573116429, -0.0278591011, 0.1217075884, -0.9514921904, 0.2496457547, 0.2468896061, 0.9865692258, -0.2939973474, -0.4946233332, -0.4574595988, -0.0565455444, -0.5574694872, 0.6424403191, -0.134777233, -0.3325600624, 0.0111960052, 0.0306180026, -0.0844386518, -0.6554541588, 0.507674396, -0.6668637991, -0.1214568019, -0.0735195577, -0.1621205807, -0.0897141844, 0.1916629225, -0.7131763101, 0.7728891373, 0.078359805, -0.5352248549, 0.1206007525, -0.5286444426, -1.0563181639, -0.0256540384, 0.0788142458, -0.2331162244, 0.5279160142, 0.0748003498, 0.2703764141, -0.3731423318, 0.0056168493, -0.082975626, -0.4017904699, 0.4300157726, -0.8169463873, 0.6471783519, 0.2841824591, -0.3455842137, 0.0502547584, -0.6555075645, 0.3163400292, 0.179455027, -0.5814039707, -0.2871620059, -0.4413726926, 0.3214742243, 0.2620086968, 0.3532575369, -0.2553702295, -0.1122216806, -0.3759556115, 0.5554141402, 0.4026623368, -0.2216208279, 0.7128572464, -0.0645367652, 0.4929721355, 0.106693469, -0.1795605719, 0.0294469502, -0.2105408013, -0.8738362193, 0.0599470139, 0.6452681422, 0.6779469252, -1.0104519129, 0.3395176828, -0.4038790762, -0.3424793482, -0.8504697084, 0.2016716748, 0.44233796, 0.5090329647, 0.5582157969, -0.4375162423, -0.2005327493, -1.192995429, -0.1156819239, 0.057232406, -0.0936044529, 0.2308105528, 0.3246878088, -0.1366584003, 0.3571836054, -0.2327895015, -0.2212460935, -0.0951707736, 0.190820545, 0.1519223601, 0.5601923466, 0.5205824971, -0.6849454641, -0.2589799464, 0.4098204076, -0.8109419942, 0.1671352834, -0.0080959452, -0.1795619279, 0.6470755339, 0.3447482586, -0.5796992779, 0.1247439384, 0.6943282485, 0.0462802872, 0.2801000774, -0.5471247435, 0.2881306112, -0.9484189749, 0.4165067971, -0.0593471937, -0.1198775992, -0.5784553289, -0.0640267581, 0.0132235074, -0.2536525726, -0.6075308323, 0.5305680633, -0.3072131276, -0.2227512151, -0.3580566645, -0.0287928507, -0.2198038995, 0.635679543, -0.021752378, 0.6664019823, 0.1879395694, -0.5591109395, 0.409267813, 0.1011611372, -0.0397045612, 0.5841426253, -0.2049036771, 0.2116719633, 0.060120482, -0.0266756807, -0.593886137, -0.1135652438, 0.4334231019, -0.5717482567, 0.3439128995, -0.1201381013, -0.8210799098, -0.1813772321, 0.3714708984, 0.5481638312, 0.5468947291, -0.1277551651, 0.3051606715, 0.0685969964, -0.3016178012, -0.3057225645, -0.9857860208, 0.3054821193, -0.16262272, -0.4591936469, 0.3029460311, 0.1812940091, -0.1964597404, 0.3213890493, -0.1035790592, -0.4185622633, 0.1893461347, -0.2406646162, 0.1055083573, -0.452406913, 0.4359205663, 0.0513854958, -0.240804702, -0.1398570687, -0.7541022301, 0.5798729062, -0.5285666585, -0.3321540952, -0.445422411, 0.4023967683, 0.302387774, -0.3006654382, 0.707269311, 0.8731339574, -0.5756815672, 0.0799164101, -0.2976593971, -0.4571979046, -0.3849460185, 0.5816915631, -0.5264143348, -0.6792711616, 0.3745266795, -0.1153731048, -0.1276327074, 0.5677446723, 0.7073574662, -0.1717630625, 1.0698831081, 0.7116978765, 0.0225721393, 0.4146809578, -0.1257842034, 0.1814487725, -0.2112725675, 0.0467605852, -0.6414383054, -0.6287533045, -0.8160111904, -0.217181474, 0.1565202624, 0.1744426936, -0.0095671564, 0.7161542773, -0.2606031895, 0.198391661, 0.7744193673, -0.0668425709, 0.4734027982, 0.1534437537, -0.1764168441, -0.1876037717, -1.1536928415, -0.5341556072, 0.7030708194, -0.0233771987, 0.2703323066, -0.079165034, 0.7347384095, 0.2671970427, 0.3821181059, -0.8774715066, 0.3096354008, -0.4386054575, -0.4974595308, -0.5241566896, -0.7361865044, -0.9714718461, 0.3879604936, -0.3832882047, -0.2551528811, 0.0863584056, 0.1595138013, -0.3156786263, 0.2790322304, -0.8431142569, 0.9640977979, -0.7078897953, -0.3921696544, -0.4021390676, -0.6512485147, -0.054954119, -0.438609302, 0.1649587601, 0.1879074574, 0.0098762559, 0.3619365096, -0.0507289134, 0.5740557313, 0.114236258, -0.1303942651, -0.0653093234, 0.150925383, 0.2593111992, -0.2555055916, -0.2319738418, 0.5291230083, -0.0970758572, -0.5889335871, -0.6637482047, 0.7038677335, -0.6014523506, -0.4159601033, -0.2555877566, -0.7186142802, -0.223622486, 0.6394833326, 0.4820818305, -0.1629560739, -0.2481791973, 0.1241323873, 0.3709739149, -0.1949513108, 0.588316679, 0.5191756487, 0.1956593841, -0.3669551313, 1.0888041258, 0.315523535, -0.0342250057, 0.1286769658, -0.0711411908, -0.1173003986, -0.5960022807, -1.1189444065, 0.1142778844, -0.4884512126, -0.1439605951, -0.4379077256, -0.1606183797, -0.2694595754, -0.0878364518, -0.4843057394, -0.4518760145, -0.2299467325, 0.2023869604, -0.0460904241, 0.4927855432, -0.097542733, 0.3726455569, -1.1292382479, -0.0145506244, -0.192049861, 0.2193553448, 0.2042492181, -0.3209467828, -0.8348701596, 0.0228551365, -0.4459775388, -0.7809711099, 0.5246905088, -0.1564616859, 0.4883251786, -0.1240040064, 0.0679513142, 0.3778728843, -0.6573300958, 0.1939966232, 0.2065057158, -0.8536743522, 0.2394462377, -0.1353315264, 0.3253332973, 0.5298221111, 0.2787885964, -0.6797497869, -0.1953321546, -0.5465158224, -0.7524041533, 0.7004537582, 0.5058629513, 0.3388833106, 0.332290709, 0.2587154806, 0.1226657629, 0.3876912296, -0.4299171567, -0.0902744234, -0.1152286828, -0.0805082768, -0.3426485956, 0.4268788695, -0.087163806, 0.1199012995, 0.6203549504, -0.1279643178, 0.0350151248, -0.0072464668, -0.2728225291, -0.2184937447, 0.5293163657, 0.479147017, 0.3296019733, 0.1402565688, 0.1190611124, 0.6967537999, -0.0367814936, 0.4858007133, 0.4911163449, -0.3002495468, 0.1334210485, 0.4048726261, 0.7999060154, 0.0808309689, -0.4212819636, 0.2175802737, -0.0270781144, -0.0287708491, -0.1073477492, -0.2935701013, 0.2861592472, 0.4404267669, 0.3057011068, 0.4647966623, 0.043831978, -0.3326533735, 0.0833392665, 0.2723041177, -0.5537223816, -0.3807197213, 0.3856686056, 0.2507812679, -0.5292162299, 0.7665575147, -0.30816257, -0.3984395564, 0.5160340667, 0.5025767088, 0.7813785076, 0.0575700365, 0.1240559965, 0.112150006, 0.4151349962, -0.0410008356, 0.0315213911, -0.0716772228, -0.5967053771, -0.4830271006, -0.5445314646, -0.2219285667, 0.1843160689, -0.6157298684, 0.2385539263, -0.246822983, -0.6234096289, -0.2132325321, -0.1230466813, -0.880669415, -0.0074264286, 0.1809195876, 0.6837161183, -0.7884042859, 0.895144999, 0.8349813223, -0.421634078, -0.3503287733, 0.1901131421, -0.3236129284, -0.5979914665, 0.8182522655, -0.0900584385, -0.3929968774, 0.2243495733, -0.0332841948, -0.5853443742, 0.6899738908, 0.7837093472, -0.48882851, -0.2192816883, 0.1786757857, 1.001680851, -0.0598746836, -0.2826005518, 0.5821866989, 0.6256476641, -0.2149222046, -0.7848688364, 0.0428221188, -0.244448036, -0.0567727722, 0.2238753736, -0.7243786454, 0.6252825856, -0.1426882595, -0.2513869405, 0.206283018, 0.6008068919, -0.1031272039, 0.3893645704, 0.2334502637, 0.4694582224, 0.5201538205, -0.0337733328, 0.9572486877, -0.4857726097, 0.2091518939, 1.0121139288, -0.2917301953, 0.7984588742, 0.6672180891, 0.1747572422, 0.0339418463, 0.5761583447, -0.1293100566, 0.5295088887, 0.3297805786, -0.2731550932, -0.3437823057, -0.4548119903, -0.3405998647, 0.462015599, 0.0089263385, -0.3500299156, -0.2401942164, 0.0982541218, -0.0452568121, 0.0989117622, -0.032962434, 0.64130795, 0.2174113989, -0.6892367601, 0.8163244128, 0.3546947539, 0.5014632344, -0.3990330696, 0.0207862761, -0.3636433184, 0.3597409725, 0.0082837027, -0.5012918711, 0.4454915822, 0.1802217364, -0.2152982354, -0.4329471588, 0.5717048645, -0.3202062547, -0.5680975914, 0.638333261, 1.0057715178, 0.2003852576, 0.0328289792, -0.4585994184, -0.1387711912, -0.2436492443, -0.0361482799, 0.4248738885, 0.6198337078, -0.1685239971, 0.3618671, 0.5875540376, 0.4109603465, -0.0663606301, -0.0499555878, 0.6353800893, -0.6249466538, -0.4143893421, -0.9057172537, 0.029451428, 0.1838134527, -0.3928025067, 0.6284486651, 0.5894358158, 1.2320798635, -0.1297237873, 0.8612295985, 0.218734026, 0.0390660502, -0.4937354624, 1.0813385248, -0.6650818586, -0.2264743745, 0.0056898915, -1.0354079008, -0.3639519215, 0.3472193182, -0.233266443, -0.0445988439, 0.7042400837, 0.4851489365, -0.1315326691, -0.2623355985, 0.5555492043, 0.0812253878, -0.0785087571, 0.6743150949, 0.7622491717, -0.3278806806, 1.0677753687, -0.3180209696, -0.0275920387, -0.2611409426, -0.6060978174, -0.5009645224, -0.4643178582, 0.0265075583, -0.4368554354, 0.2872830927, 0.7119134665, 0.6542652845, -0.9244922996, -0.433557719, 0.0880243778, 0.0405588187, -0.2958056331, -0.0898885578, 0.3313271999, -0.5361389518, -0.8307339549, 0.533639729, 0.0877265856, 0.3516992331, -0.183735922, -0.2927850485, 0.0232363157, -0.2624846995, 0.4238426089, 0.234732464, -0.4276632667, -0.0730402842, 0.359087646, -0.47707057, 0.1493635178, 1.0007106066, -0.5605344176, 0.1297438592, 0.5434451699, 1.1682249308, 0.6393321753, -0.2801571488, 0.6855234504, -0.7622801065, 0.2155365646, 0.3286039531, 0.3560171425, 0.6054782867, -0.2256251574, 0.3714462519, 0.2762424052, -0.1954132318, -0.5853511691, 0.3140469491, -0.2608193457, -0.2957698405, 0.7169595361, -0.213001281, -0.1045113131, 0.1305610836, -0.0091860648, 0.8001554608, -0.363450706, 0.7923412919, 1.0636079311, -0.1621718109, 0.0697982684, -0.5621010661, 0.1935934871, 0.7831630707, -0.6375700831, -0.0300479885, 0.477170825, -0.0138824973, 0.3706635535, 0.348572433, 0.0402891487, 0.2213601619, 0.0662381724, 0.0266919341, 0.0703135058, -0.2450721264, -0.846647501, 0.0218339711, 0.0071694329, -0.261850208 ]
http://arxiv.org/abs/2404.08191v1
http://arxiv.org/pdf/2404.08191v1
Measuring Cross-lingual Transfer in Bytes
2024-04-12T01:44:46
2024-04-12T01:44:46
Leandro Rodrigues de Souza, Thales Sales Almeida, Roberto Lotufo, Rodrigo Nogueira
cs.CL
cs.CL
Multilingual pretraining has been a successful solution to the challenges posed by the lack of resources for languages. These models can transfer knowledge to target languages with minimal or no examples. Recent research suggests that monolingual models also have a similar capability, but the mechanisms behind this transfer remain unclear. Some studies have explored factors like language contamination and syntactic similarity. An emerging line of research suggests that the representations learned by language models contain two components: a language-specific and a language-agnostic component. The latter is responsible for transferring a more universal knowledge. However, there is a lack of comprehensive exploration of these properties across diverse target languages. To investigate this hypothesis, we conducted an experiment inspired by the work on the Scaling Laws for Transfer. We measured the amount of data transferred from a source language to a target language and found that models initialized from diverse languages perform similarly to a target language in a cross-lingual setting. This was surprising because the amount of data transferred to 10 diverse target languages, such as Spanish, Korean, and Finnish, was quite similar. We also found evidence that this transfer is not related to language contamination or language proximity, which strengthens the hypothesis that the model also relies on language-agnostic knowledge. Our experiments have opened up new possibilities for measuring how much data represents the language-agnostic representations learned during pretraining.
[ -0.4670728147, -0.3770285249, 0.4645553827, 0.2352141291, -0.0465889275, 0.0128844986, -0.1664988846, -0.7334746718, 0.496268183, 0.2697278559, -0.3968533278, 0.0498431399, -0.6644887924, 0.0716892481, -0.5066693425, 0.8241750002, -0.3458721936, 0.2487346828, -0.1372909844, -0.3106150925, -0.2779607475, -0.5284873247, -0.1353937536, -0.4909856319, 0.3944895267, 0.2227512896, 0.5629956126, 0.5506402254, 0.365149349, 0.2351612747, 0.3717277348, -0.5845743418, -0.3884276152, -0.3941041231, -0.5566552281, -0.7757974267, -0.2288490534, 0.0750607997, 0.9319366813, 1.1530739069, 0.0977604166, 0.3763794005, -0.0321529806, 0.4694057107, -0.6264032722, -0.0712652877, -0.6202523708, 0.3333132565, -0.3307724595, -0.1370046288, -0.5734497309, -0.1396449804, 0.2461971343, -0.8919871449, 0.2169596851, -0.0275111143, 0.7570369244, -0.158924073, -0.6681472063, -0.3718299568, -0.783646524, 0.7785295248, -0.2938455045, 0.6747634411, 0.3449833393, 0.1357972771, 0.3714187443, -0.4966272712, -0.5102667809, -0.2533611953, -0.1940099448, -0.0269073751, -0.4060155153, -0.2012746334, 0.20475927, 0.194256708, -0.4962156713, -0.0138826938, -0.5251477361, -0.5260341763, 0.4159111381, -0.1242917925, 0.6483748555, 0.1921866685, -0.5823627114, -0.2895491719, -0.6462430954, 0.1007823199, 0.4004439116, 0.346026063, -0.3008430898, 0.4150445461, -0.0085536661, 0.5882575512, 0.016387675, -0.0043185828, 0.3796510398, -0.8002272844, 0.1842451841, 0.3301301897, 0.7432694435, 0.1067200527, 0.7157608271, -0.4474437237, 0.0716108233, 0.0616693273, 0.2369076461, -1.0875011683, -0.1938581318, -0.4053348005, -0.4298840165, 0.0901526064, -0.1072090939, -0.5292879343, -0.1444263756, -0.1854951084, 0.6311271191, -0.5695214272, -0.7820101976, 0.2377769053, -0.0474625416, 0.2045902908, 0.0452445224, -1.3554564714, 0.3281976581, 0.2908731997, 0.6606550217, -0.3725248873, -0.7208281159, -0.2556006312, 0.17149131, -0.4125751257, 0.7611867785, -0.6610117555, -0.2463310063, -0.0729158148, 0.0541372746, -0.3239783347, -0.3907489181, -0.2674054503, -0.4175758958, -0.0479270406, -0.6062855124, -0.5068950057, -0.2421935946, 0.2075624168, -0.5921624899, 0.6049697399, 0.2210198939, -0.6562604308, 0.6137682796, -0.3131600618, -0.6140048504, -0.0369529054, -0.254894942, 0.0963542759, 0.2613067031, -0.1724360734, 0.2056150734, -0.1954725534, 0.012356828, -0.5227968693, -0.2197899967, 0.2606805563, -0.365545243, 0.8000044227, 0.1432228535, -0.2944181263, -0.0966701582, -0.7171394825, 0.1999585927, 0.000076897, -0.3095690012, -0.5505832434, -0.4709632695, -0.1240626499, 0.192991212, 0.3624500036, -0.7173116207, 0.2595151663, -0.0189181734, 0.18314372, 0.48068887, -0.3318663836, 0.8746660948, -0.1085728332, 0.6448235512, 0.268522799, -0.1816473305, -0.3241938651, -0.1214319319, -0.551805675, 0.013083946, 0.3705997765, 0.3988149166, -0.5170425177, -0.0401369072, -0.6103585958, -0.4424870014, -0.7530955672, 0.0989063755, 0.3587961197, 0.3338892162, 0.3564774394, -0.5958102345, -0.3108793795, -1.0545794964, -0.5035107732, -0.3319260478, 0.0783041716, 0.0899371654, 0.4199842513, -0.249792546, 0.7432686687, -0.0720237419, -0.0102263046, -0.1996633261, 0.2988381386, -0.0851049125, 0.6027128696, 0.9382682443, -0.656953156, -0.8333883286, 0.4146930277, -0.5767406821, -0.0752088428, -0.0622809008, -0.1439266205, 0.0647462979, 0.4472615421, -0.4358265102, 0.2862430811, 0.7193032503, -0.6203872561, 0.7738286853, -0.2401242107, 0.4049604237, -0.8252902627, 0.3539948165, -0.3112772703, -0.3271716833, -0.8969879746, -0.1119868606, 0.3833296895, 0.0509223081, -0.5964633226, 0.756462574, -0.6402956247, -0.4229650795, -0.1706023067, -0.2103391141, 0.0215377323, 0.2963397801, 0.3000217676, 0.9119881392, 0.7551656961, -0.6242527962, 0.1022792757, 0.0235863533, -0.4136961997, 0.5913977027, -0.5247706771, 0.0777669474, 0.074265562, -0.173275426, -1.0066462755, 0.0805683583, 0.0144090224, -0.4339237809, 0.314180702, -0.3044720292, -0.215756759, 0.1350096017, 0.1502382755, 0.8184928298, 0.399066925, -0.2772978246, 0.5452163219, 0.378970623, -0.1972056776, -0.5836946964, -0.9968219995, -0.2430411428, -0.2371874601, -0.5655453801, 0.2895630896, -0.1147208959, -0.0659621507, 0.2218184322, -0.2388077527, -0.2318744659, 0.1234440431, -0.1398936659, 0.0955572724, -0.408207655, 0.0143424673, -0.1043646932, 0.0401473641, 0.4860687852, -0.4926840663, 0.6053366065, -0.2634220123, -0.6043663025, 0.0580930412, 0.2613307536, 0.6310727, -0.3621347249, 0.8133084774, 0.743555069, -0.2363500893, 0.0257799923, -0.3589499891, -0.0736519247, -0.4136307836, 0.5729481578, -0.7647252679, -0.6887496114, 0.9530624747, 0.0197653901, -0.2249584198, 0.341942817, 0.3448253572, 0.33704862, 0.8079288006, 0.9266211987, -0.1056660563, 0.5802681446, 0.0515284576, 0.0479032621, -0.4742271006, -0.0031300313, -0.5667652488, -0.238128081, -0.4880666733, -0.2930886447, 0.0096262991, 0.2061235309, -0.1616786867, 0.531627357, 0.059522137, 0.6046229005, 0.3416679502, -0.3285022676, 0.2103241682, 0.3226979375, -0.4449883699, -0.0325712897, -0.732147336, -0.062770009, 1.2250759602, 0.2576600909, 0.7444834709, 0.118534714, 0.5159066916, 0.0761591047, 0.4012932181, -0.5124889016, 0.3205788732, -0.2297302186, -0.7947012782, -0.2898347676, -0.7164910436, -1.0022007227, 0.4069860876, -0.1299932301, -0.7792956829, 0.2406632155, -0.0413412265, 0.0187482741, 0.4490657449, -0.7549039721, 1.1109758615, -0.3671536446, -0.4144567847, -0.372399509, -0.5269970894, 0.0965893716, -0.3612161279, 0.2839850485, 0.0210070834, 0.1646752059, 0.8787254095, -0.058830075, 0.5380831957, -0.1557913125, -0.2942026258, 0.213702634, 0.5152922869, 0.1988321096, -0.3824530542, -0.0094309114, 0.3584106565, 0.3268269002, -0.6595568061, -0.4508184195, 0.370310843, -0.8901068568, -0.2984320223, -0.2280227244, -0.6485242844, -0.1838612258, 0.7661978006, 0.3567712903, 0.1607827693, -0.2103049606, 0.1527111381, 0.6481348872, -0.0893626809, 0.2316221744, 1.049597621, -0.6035995483, 0.1487112343, 1.0181758404, 0.3296445012, 0.7278280854, 0.4860236943, 0.1484504193, -0.3057180941, -0.6033775806, -0.6830649376, 0.219205752, -0.734536469, 0.2967372537, -0.5492693782, -0.0315521993, -0.5576322675, -0.1454818547, -0.7375871539, -0.2821889818, -0.0554286465, -0.0863441899, -0.0390135013, 0.6190463305, -0.2453431934, 0.1098557189, -1.0125608444, 0.217989713, 0.1926919371, 0.3814191818, 0.0069133448, -0.6777454615, -0.440636456, 0.2248615474, 0.2046990544, -1.0562033653, 0.3452092707, 0.1910920143, 0.754085362, 0.3379392326, -0.1357170343, 0.8054007888, -0.4847695529, 0.4838801324, 0.4722477794, -1.1798396111, 0.1615729779, -0.2150850743, 0.384480685, 0.7538079023, 0.7670868039, -0.6286558509, -0.1450915933, -0.4084782004, -0.4742135108, 0.7554141283, -0.2337182313, 0.1458494663, 0.1702144295, 0.0979522541, 0.4059722722, 0.229688853, -0.8737767935, -0.1644337922, -0.1824011505, 0.0533304363, -0.2300328165, 0.0507742278, 0.2413458526, -0.2243694663, 0.2765903771, -0.1918659508, 0.1118821502, 0.1367768794, -0.5431140065, -0.2837908268, 0.2808369994, 0.2765423059, 0.7257112265, 0.0526980273, 0.5486040711, 0.2429335266, -0.8914169669, 0.5546293855, -0.0087461919, -0.2103088051, -0.1400290877, 0.5091082454, 0.8448165059, 0.1764122099, -0.5632995367, 0.4678365886, -0.0631986707, -0.094500564, -0.105631128, -0.0662512332, 0.1509845257, -0.0278883372, 0.1807779521, 0.1325596571, 0.0774631724, -0.8636425734, 0.3120420277, 0.4305970669, -0.3796259165, -0.8975459933, 0.4536404908, 0.0433184728, 0.1134524718, 0.6479984522, -0.2624437809, -0.5486658812, 0.5988473892, 0.7966212034, 0.4956635237, -0.5341754556, 0.2204594463, 0.3806967437, 0.5147090554, -0.0960806981, 0.0440884158, -0.196751982, -1.035420537, -0.4822511077, -0.6151255965, -0.0832524002, -0.0441007726, -0.950660646, 0.087279439, 0.0175819993, 0.0319261961, 0.1735428572, 0.0783033073, -0.988473475, -0.0585630275, 0.35151124, 0.8712981343, -1.2171541452, 1.0089108944, 0.8860125542, -0.2939991653, -0.8537916541, -0.1976894438, -0.3232759535, -1.0150185823, 0.7687978745, 0.2499833107, -0.1250710934, -0.0600741766, -0.041133251, -1.1095331907, 0.7112022042, 0.7698674798, -0.5744719505, -0.0350379348, 0.7277703285, 0.5542451739, -0.4435546696, 0.3991759717, 0.4771721661, 0.5092697144, -0.0618573688, -1.2551068068, 0.1711869687, -0.3687725663, -0.3484123945, 0.2512537241, -0.4744330347, 1.2237222195, -0.2039522976, -0.4068168998, -0.4892810881, 0.5578879118, -0.0614097938, 0.2074565142, 0.5412703156, 0.515896678, 0.7244718075, 0.2751998007, 1.0163345337, -0.4816854, 0.138586849, 0.7779583335, -0.4476532042, 0.6078759432, 0.6169896126, -0.3706980944, 0.4235338569, 0.2650960684, 0.1956164986, 0.4998681545, 0.2637544572, -0.0859221816, -0.3048523366, -0.1489072591, -0.4243521392, 0.3516851962, 0.2392365932, -0.140480265, -0.3090922534, 0.2684593499, 0.1408237666, -0.1927839667, -0.4145880044, 0.5801908374, -0.0320584029, -0.9451488256, 0.7324960828, -0.2801546156, 0.6775404215, -0.9516008496, 0.1648984998, -0.2156840414, 0.2331087887, -0.1102359965, -0.8376265168, 0.52772367, -0.0129046375, -0.26610744, -0.5385263562, 0.9436120391, -0.7160838842, -0.2605300546, 0.7358607054, 0.6970700622, 0.5291230679, -0.0132607063, -0.335768044, 0.024272237, 0.3778749406, -0.1930382699, 0.8566262722, 0.6075792313, -0.056410253, 0.5259800553, 0.4802526236, 0.4729126692, 0.5651452541, -0.1791509688, 0.5457994342, -0.5198942423, -0.6487345099, -0.7302790284, 0.1829766482, 0.3652633131, -0.1795901507, 1.058874011, 0.5093359351, 1.1789799929, -0.1553738564, 0.8988754749, -0.1395890117, 0.1314316392, -0.3776789606, 0.7916304469, -0.6414422989, -0.1117456034, 0.0339828469, -0.9485933185, 0.3123478293, 0.5393579006, -0.2939461768, -0.0408947691, 0.6582992077, 0.3814470172, -0.4970723391, -0.0828021243, 0.2807332873, 0.0766290128, 0.1641318947, 0.6972970963, 0.6391220093, -0.211294353, 0.6359663606, -0.1663153321, -0.1656323075, 0.0253801253, -0.8092225194, -0.7102001905, -0.6211416125, -0.3516167104, -0.1324505955, -0.1040032655, 0.3804522157, 0.8444677591, -0.6979575157, -0.467151016, -0.1795688868, -0.2078333497, -0.2113601267, -0.1379156113, 0.1448542327, -0.3635273874, -0.4216746688, 0.3333638012, -0.1272354871, 0.2898362279, -0.4004510343, 0.001644088, -0.116489239, 0.0111395605, 0.4166719019, 0.4272703826, -0.1027215049, -0.2977193594, 0.2027144432, -0.1689382941, -0.0404745489, 0.8919466734, -0.721965909, 0.4496432245, 0.7342066169, 0.6878598928, 0.7111231685, -0.3739514649, 0.5952280164, -0.86829108, 0.3353273869, -0.0609659478, 0.2865525484, 0.1534760445, -0.0843603015, 0.3001284301, 0.2738873065, -0.2539806068, -0.8664188385, 0.3487533629, -0.6499592066, -0.3981516957, 1.1265909672, -0.4458324015, -0.2250314653, 0.0827674344, 0.3775881827, 0.2269787639, 0.0149562182, 0.4483624995, 1.0491911173, 0.0251278561, 0.0395005122, -0.575340271, 0.2692768574, 0.6863651872, -0.6815299392, 0.1654711068, 0.1972774714, 0.6216881275, 0.6504454017, 0.8113541603, -0.1698162556, 0.1251060963, 0.4122785032, 0.2402001917, 0.0885562003, -0.5077133775, -0.2720289826, 0.0781091154, -0.0913003236, -0.0394139104 ]
http://arxiv.org/abs/2404.08189v1
http://arxiv.org/pdf/2404.08189v1
Reducing hallucination in structured outputs via Retrieval-Augmented Generation
2024-04-12T01:42:09
2024-04-12T01:42:09
Patrice Béchard, Orlando Marquez Ayala
cs.LG
cs.LG, cs.AI, cs.CL, cs.IR
A common and fundamental limitation of Generative AI (GenAI) is its propensity to hallucinate. While large language models (LLM) have taken the world by storm, without eliminating or at least reducing hallucinations, real-world GenAI systems may face challenges in user adoption. In the process of deploying an enterprise application that produces workflows based on natural language requirements, we devised a system leveraging Retrieval Augmented Generation (RAG) to greatly improve the quality of the structured output that represents such workflows. Thanks to our implementation of RAG, our proposed system significantly reduces hallucinations in the output and improves the generalization of our LLM in out-of-domain settings. In addition, we show that using a small, well-trained retriever encoder can reduce the size of the accompanying LLM, thereby making deployments of LLM-based systems less resource-intensive.
[ -0.4958263338, -0.6109318733, 0.4883593619, 0.0910803527, -0.1792256385, 0.1467960924, -0.2599955201, -0.6248944998, 0.5698543191, 0.6948142648, -0.2720242441, -0.2922245562, -0.5049561858, 0.3443404138, -0.5094768405, 1.0249606371, 0.1264091879, -0.3005467057, -0.1404800415, 0.0940305889, -0.4940921962, -0.5264963508, -0.7715987563, -0.6050103903, 0.396299243, 0.2402402908, 0.8171631694, 0.406868428, 0.7288633585, 0.2930024266, -0.0347114503, 0.570526123, -0.6665160656, 0.4691128731, -0.0941537172, -0.2570971847, -0.4598306417, -0.3526667953, 0.5977615714, 0.759340167, -0.4607824981, 0.0726175234, 0.1711589098, 0.8938542604, -0.7530230284, 0.0699422583, -0.4658923149, 0.1930439472, -0.1115331203, -0.4064162374, -0.63014853, -0.1159608662, -0.1516230851, -0.790151298, 0.4191304445, 0.1755024046, 0.9686338902, 0.5363076925, -0.0374058373, -0.1992037594, -1.2406215668, 0.5869429708, -0.6064774394, 0.3665871918, 0.3990991712, 0.2796050012, -0.471165359, -0.7407612801, -0.5671601892, -0.1520235389, -0.3330987692, 0.0181760099, -0.0076885638, 0.2314439565, 0.4828872681, 0.4825914204, -0.8653313518, -0.0111771654, -0.4864078164, -0.0981745794, 0.583943665, 0.2864406705, 0.1791623533, -0.2505482435, 0.135153681, -0.054857377, -0.6581630111, -0.5628724098, 0.1419819146, 0.2552170753, 0.3539709747, 0.7247041464, -0.2744099498, 0.6031056046, 0.130970642, -0.1236524209, 0.414301604, 0.0220384877, -0.527962923, -0.1037324592, 0.6269278526, 0.0282647256, 0.1391190886, -0.4783614576, -0.4205082953, 0.1513033509, 0.6947914362, -0.9116210938, -0.1249949187, 0.0837581828, -0.5038256049, -0.0783526078, 0.0661207363, -0.8040133119, -0.6828681231, -0.3910195231, 0.3229703605, -0.5079808235, -0.0295622423, -0.2909681201, -0.2692898214, 0.4048627317, 0.284699142, -0.9467512369, 0.299598366, 0.8192492127, 0.8850170374, -0.1002847999, 0.0172059834, -0.9134622216, 0.3981601298, -0.4866765738, 0.6533458233, -0.7207999825, -0.4779877961, -0.0867326111, -0.1936578453, -0.0141297802, -1.1067401171, 0.3189299107, -0.601223588, 0.1198826581, 0.261346072, -0.4150927067, -0.0311399885, 0.157577768, -0.6094684601, 0.8985144496, 0.118768692, -0.3946645856, 0.3941215277, -0.5913597941, -0.6716684699, 0.3936502934, -0.3926510215, -0.3335783482, 0.4229951203, 0.1243252307, 0.3558166921, -0.3169446588, 0.2878635228, 0.0746522471, -0.698255837, -0.2442224324, -0.2093866616, 0.4028686583, 0.4969202876, -0.435256362, 0.0203127246, -0.9648205638, -0.1982881278, 0.1052005887, -0.3428596258, -0.4497359991, 0.0170932095, -0.18592906, -0.1260192245, 0.0415108278, -0.3155654669, 0.2269455492, -0.7008287311, 0.0218110085, 0.5798944831, 0.0349984877, 0.7222108841, -0.2557834685, 0.6063578129, -0.1386607587, 0.0463127941, 0.1882134229, -0.3921481669, -0.8307138681, -0.4971560538, -0.1196291894, 0.4830849469, -1.2079149485, 0.3659217358, -0.3076263964, -0.2367372811, -0.6328014135, 0.3696075976, 0.3759542108, 0.5913003683, 0.1960448474, -0.2388372123, -0.7282668948, -0.9095537663, 0.0907988623, -0.2365799397, -0.4552682936, 0.2948461473, 0.4281964302, -0.6852225065, 0.6840711832, -0.3671866059, -0.602229178, -0.3724384606, 0.461160481, 0.3375183642, 0.3484959006, 0.1781933159, -0.8805719018, -0.2991809547, 0.0604847558, -0.9244622588, -0.1717812568, -0.2674634159, -0.2741616368, 0.6219832301, 0.2965910435, -0.7605172396, 0.7160133123, 0.5087001324, -0.2630865574, 0.4278720021, -0.4654991925, 0.1460441202, -1.1979558468, 0.2465500087, -0.1937929243, -0.164109692, -0.654430151, 0.2104430944, -0.2653113306, -0.2873303294, 0.0417051129, 0.323790282, -0.5011854172, -0.2634077668, -0.2994827032, 0.132004112, 0.3433280289, 0.442619592, 0.1302586794, 1.1312074661, 0.2716838419, -0.8992527127, 0.2175798118, 0.6480924487, -0.059778478, 0.4760972559, -0.4769735038, 0.2503735423, -0.4717111886, 0.1546438485, -0.4439879358, -0.5223690271, 0.3133668005, -0.4245058596, 0.4538793266, 0.0545584708, -0.5101908445, -0.2637754381, -0.1793022901, 0.0005353802, 0.8926087022, -0.8230006099, 0.9212577939, 0.2263715565, 0.1009430662, -0.3434595168, -0.7907239199, 0.3800088763, -0.1017414853, -0.5889706612, 0.5218054056, 0.0651523024, -0.2829973698, -0.1196534261, 0.0286939647, -0.0310491435, 0.06824705, 0.3631872833, 0.2301903218, -0.087790072, 0.1335831136, -0.1120443419, 0.1024604812, 0.0980890766, -0.1173000708, 0.5186315775, 0.0627608076, -0.2605099976, -0.3691542149, 0.4373468161, 0.546795249, -0.1748947799, 1.0276814699, 0.6376584768, -0.5637080669, -0.5210514069, -0.4960685074, -0.257081151, -0.506604135, 0.2922749221, -0.3653610945, -0.7930445671, 0.5154585242, -0.0512957722, -0.0962048545, 0.3526345789, 0.4380654693, -0.103272073, 1.1462554932, 0.5890003443, 0.0494151823, 0.3642466068, -0.4773786962, 0.4927342534, -1.1753386259, -0.3869753182, -0.5542320013, -0.1126558781, -0.5736652017, -0.3348073363, 0.4287845194, -0.0034812323, -0.2534840405, 0.120856978, -0.862908721, 0.3011180758, 0.5987550616, 0.0360533334, 0.2623077631, 0.1752818972, 0.1928091943, 0.0182180032, -0.6350201368, -0.6984730959, 0.7311367989, 0.1196651235, 0.8631893992, 0.2565563321, 1.1015449762, 0.5229471922, 0.3852235675, -0.6202180982, 0.6173149347, -0.3358098269, -0.3187693655, -0.5229153633, -0.7734578848, -1.0353627205, 0.1102984697, -0.0948340744, -0.6321511865, 0.3018328249, 0.1995747834, -0.416213274, 0.3413135707, -0.6118695736, 0.5800476074, 0.0968576223, -0.3039339185, -0.1576427817, -0.2522743642, 0.3200986385, -0.1105896905, 0.0986729413, 0.2127769738, 0.257604003, 0.6007153988, -0.7197713852, 0.6701259017, -0.2408652157, -0.107709296, 0.376986593, 0.2373104692, 0.7513151765, -0.1341249794, -0.1283382326, -0.1518231928, -0.4198068976, -0.1455620378, -0.8620480299, 0.5320090652, -0.559145987, -0.6896138787, -0.3764634728, -0.5463804603, -0.1562055051, -0.0803864822, 0.3817675114, 0.4069926143, -0.2286134809, 0.1135248616, 0.7808653712, -0.3649557531, 0.3200326264, 0.056229163, -0.3545656204, -0.373018235, 1.0398800373, 0.0639663413, 0.1369671226, 0.285903275, -0.0540666021, -0.1053476781, -0.5856032968, -0.4196233451, 0.1958001703, -0.5797353983, -0.3431374431, -0.4999889731, -0.3392012119, -0.6661701798, -0.1242386624, -0.1625163704, -0.2709780335, -0.669331491, 0.1271615177, 0.351939559, 0.9437970519, -0.0211789235, 0.2165894955, -0.7679151893, 0.7442399859, 0.331215471, 0.5871440172, 0.022559505, -0.9432002306, -0.3312596381, -0.0584896766, -0.0958054587, -0.6789783239, 0.8670570254, 0.4996030927, 0.3923606873, 0.3911690414, 0.1315428317, 0.8694779873, -0.5419695377, 0.6052882671, -0.106344372, -0.6909586191, 0.5782572031, -0.1613035351, 0.0630438179, 0.4790565073, 0.054957971, -0.368455857, -0.5570504665, -0.2190152854, -0.8383612037, 0.5458180904, 0.3390895724, 0.1582878977, -0.2595039606, 0.4819180965, 0.0099169025, 0.1210657805, -0.3561415374, 0.0012383903, -0.1469056755, -0.1713047624, 0.0574082136, -0.3957020938, 0.0071196295, -0.151665017, 0.9898196459, -0.0963540822, 0.3961230814, 0.3321320117, -0.2450704277, -0.134290114, 0.2815715969, 0.4317238331, 0.563228488, -0.2469881624, 0.0809115022, -0.0198678244, -0.5313482285, -0.0050417148, -0.0002817641, -0.5982934833, 0.2243454605, 0.1709392667, 0.9293212891, -0.2677940428, -0.651137352, 0.1744433492, 0.0676376969, -0.1543149054, -0.5426677465, 0.1697635502, -0.2575238347, 0.3364113271, 0.5191637874, -0.0017168918, 0.5485351086, -0.4870193899, 0.074840866, 0.3823737204, -0.0795006603, 0.0063183978, 0.7654391527, 0.1656870693, -0.663931489, 0.9542885423, -0.6045740247, -0.3177957535, 0.4362213314, 0.7031438351, 1.2133694887, 0.0073665022, 0.4152614474, 0.2671105266, 0.4623118341, -0.1413949132, 0.2734871209, 0.126920253, -0.5085725784, -0.693967402, -0.8655725121, -0.4813629091, 0.1308316141, -0.69163692, -0.1218612716, -0.4264041483, -0.1773980558, -0.3811301291, -0.278116256, -0.6041864753, 0.0016812959, 0.4151437581, 0.5421661735, -0.5845234394, 0.6400539279, 0.6780019403, -0.6713638306, -0.647927165, -0.0887475237, -0.4121184349, -0.3135739863, 0.7458056211, 0.1658488363, -0.1491998583, -0.1853494495, -0.4837056398, -0.6918919683, 1.0088613033, 0.27874735, -0.5971640944, -0.0566455126, 0.2237099707, 0.9167336822, -0.3807007074, -0.0717904493, 0.6768240333, 0.4369084537, 0.1841624826, -0.8704094291, 0.0635726601, -0.4359950721, 0.3355855048, 0.2691690326, -0.2084631622, 0.5044112802, -0.2023747116, -0.4769282639, 0.079817079, 0.7798832059, 0.5193822384, 0.4639185965, 0.2539733052, 0.6487050056, 0.8746798635, 0.0131244874, 1.1472206116, -0.0880752578, -0.083948113, 1.2272071838, -0.5549029112, 0.8478896618, 0.7127205729, 0.1282529533, 0.7213982344, 0.2329356521, -0.0173993837, 0.3137308955, 0.2076065093, -0.2866938114, -0.087774314, -0.338675499, -0.1168615595, 0.2703669071, 0.3653451502, -0.433121264, 0.1737902015, 0.3499158323, -0.231372416, 0.3695383966, -0.2669603229, 1.0854718685, -0.0101752942, -0.7269158959, 0.8515373468, -0.2258685678, 0.6397781968, -0.2954424322, -0.5253822803, -0.5373904705, 0.1203291565, -0.3821842372, -0.2743532956, 0.6899876595, 0.1851662546, -0.2995402515, -0.3945360482, 0.7351130247, -0.3033762872, -0.3883568048, 0.4494797289, 0.3386108577, 0.4543662965, -0.2649777234, -0.1589083374, 0.0455725975, -0.2392102182, -0.3892630339, 0.2417334318, 0.5685116649, -0.0856100693, 0.6799551249, 0.5288593769, 0.2878617644, 0.1499944329, 0.4871222377, 0.8795895576, -0.5419293642, -0.2007892877, -0.5493943095, 0.1702960581, -0.162614271, 0.1433644742, 0.4631189108, 0.635204196, 0.6634764671, -0.1935670376, 0.7352765799, -0.2808358073, 0.5239505768, -0.397084564, 0.7980363369, -0.6418296695, 0.5349498987, -0.1969398707, -1.0772894621, -0.454341352, 0.6571679711, -0.0148964254, 0.0794499964, 0.596763432, 1.0698080063, 0.1385763884, -0.3176159561, 0.5124566555, 0.1906056553, 0.2807846963, 0.3523857594, 0.7261176705, -0.3409465253, 0.6573655605, -0.3408046663, -0.1781053096, -0.2317881882, -0.6811057329, -0.8970953226, -0.4820175171, -0.2498446107, -0.5509892106, 0.2952231467, 0.9048277736, 0.4679970443, -0.9515537024, -0.1714647114, -0.2118068039, 0.0537852198, -0.1003391892, -0.2686932385, 0.2357419282, -0.6851534843, -0.5590183735, 0.4713321328, 0.408046186, -0.0235710945, -0.3847156167, -0.4693521559, -0.1125940159, 0.1137221903, 0.7098886967, 0.3372943997, -0.6121650338, -0.3008859754, 0.142261833, -0.2485925257, 0.1287616342, 0.5547938943, -0.9948933721, 0.4354828298, 0.6685039401, 0.8004012704, 0.4538389444, 0.0621000603, 0.5867581367, -0.8532758951, 0.0788924322, 0.4181993008, 0.2628896832, 0.3797044754, -0.6009940505, 0.8810285926, 0.1576321423, -0.5634263754, -0.829028368, 0.0824081525, -0.4918340147, -0.1524837166, 1.0935264826, 0.2940343022, -0.3300020695, -0.1337868571, -0.1914665848, 0.3130729496, -0.3170930445, 1.2110487223, 0.2914250493, -0.1872056276, -0.0615634322, -0.4549239278, 0.6051030755, 0.5221296549, -0.9596261382, 0.1274871677, 0.802724719, -0.3619783223, 0.3832190633, 0.5856521726, 0.0830974355, 0.1387944371, -0.1123216748, 0.5529879332, -0.0226219054, -0.6540483236, -0.4057182074, 0.1317826211, 0.1066122875, -0.1428563893 ]
http://arxiv.org/abs/2404.08164v2
http://arxiv.org/pdf/2404.08164v2
Language Model Prompt Selection via Simulation Optimization
2024-04-12T00:03:56
2024-05-20T02:34:42
Haoting Zhang, Jinghai He, Rhonda Righter, Zeyu Zheng
stat.ML
stat.ML, cs.AI, cs.CL, cs.LG
With the advancement in generative language models, the selection of prompts has gained significant attention in recent years. A prompt is an instruction or description provided by the user, serving as a guide for the generative language model in content generation. Despite existing methods for prompt selection that are based on human labor, we consider facilitating this selection through simulation optimization, aiming to maximize a pre-defined score for the selected prompt. Specifically, we propose a two-stage framework. In the first stage, we determine a feasible set of prompts in sufficient numbers, where each prompt is represented by a moderate-dimensional vector. In the subsequent stage for evaluation and selection, we construct a surrogate model of the score regarding the moderate-dimensional vectors that represent the prompts. We propose sequentially selecting the prompt for evaluation based on this constructed surrogate model. We prove the consistency of the sequential evaluation procedure in our framework. We also conduct numerical experiments to demonstrate the efficacy of our proposed framework, providing practical instructions for implementation.
[ -0.6275912523, -0.9505966306, 0.8022886515, 0.7715519071, -0.3475818932, -0.1420627087, -0.2417100668, 0.2252441645, -0.1229434311, 0.3071154058, -0.9832600355, -0.2470359653, 0.0041074706, 0.4843609333, -0.19804883, 0.7586547732, 0.1408808976, 0.0418902338, -0.5981028676, 0.4825140536, -0.8697255254, -0.2542294264, -1.0426280499, -0.2022175342, 0.5156861544, 0.4067675173, 0.4794303477, 0.6739093661, 0.0907133594, 0.298874706, -0.2602037787, -0.1053664908, -0.3622711003, 0.4574040174, -0.020768512, -0.2630123198, 0.2586234808, 0.0401440375, 0.7509772182, 0.7309771776, -0.1108843163, 0.0995468646, -0.0048980722, 0.3583492041, -0.4625730813, -0.1064065546, -0.2821636498, 0.100623399, 0.0336227641, -0.3070755005, -0.6486632824, -0.6902848482, 0.1208842024, -0.4577480257, 0.2327046245, 0.2605137825, 0.544849813, 0.0413691513, -0.1526164263, -0.1849613786, -0.6745052934, 0.838939786, -0.3101842701, 0.2541376054, 0.2596797645, 0.5760480762, -0.2546221912, -0.6758593321, -0.5108305216, -0.8486326933, 0.2183816284, 0.1547539234, -0.1714346409, 0.1591001153, 0.5098668933, 0.0622229129, -0.9576464295, 0.2774868011, -0.2842928171, -0.295286864, 0.3843555152, 0.4958983362, 0.5044921041, -0.3488885164, -0.5269093513, -0.2320673168, -0.6846418381, 0.1641164124, 0.62333709, 0.4514054656, -0.0824932531, 0.3679457009, -0.210872978, 0.8797689676, -0.0866207331, -0.1253462881, 0.0107134292, -0.2540742755, 0.0567724667, -0.2154745609, 0.8936773539, 0.3695444167, 0.2504281402, 0.0310254451, -0.4599686861, 0.3564197123, 0.3332151771, -0.8471343517, 0.1119363159, 0.2432136834, -0.5934565067, -0.4569250643, -0.2301402539, -1.0096117258, -0.339456737, -0.3566134572, 0.1973405331, -0.2410894632, -0.1336392164, 0.0242764689, -0.1692969054, -0.1145851463, 0.398142606, -0.9268106222, 0.2001589239, 0.4904649854, 0.7763258815, -0.2798427641, -0.1988448352, -0.6957697868, -0.3795441985, -0.5609443784, 0.881026566, -0.9143882394, -1.0638189316, 0.0746269599, -0.3500433266, -0.0197172388, -0.3363839686, 0.8881994486, -0.6568822861, 0.4172077477, -0.4582140148, -0.4989865124, 0.0210993178, 0.0376805253, -0.8339679837, 1.0703054667, 0.4158058763, -0.5769791603, 0.2106759399, -0.6251152754, -0.3368758857, 0.3273350596, -0.3150990605, -0.1243031844, 0.0741485581, 0.1170447692, 0.1997719109, -0.6899781823, 0.2997259796, 0.0150303366, -0.4736013114, 0.0968058929, -0.5486930013, 0.9426957369, 0.4572153687, -0.0558173433, 0.241085574, -0.4828361869, -0.0662564337, 0.061997667, -0.5783483386, 0.0154473186, -0.0783238485, 0.0417874344, 0.1519344151, 0.0334592685, -0.3963940442, 0.3745438159, -0.2494145483, 0.0281838924, 0.7250588536, 0.3835372925, 0.5057653189, -0.2749742866, 1.3816577196, -0.2511931658, 0.3605165184, -0.3791123033, -0.5631090999, -0.3784285188, -0.0790359899, 0.4842422903, 0.7634009719, -1.009388566, 0.3018626869, 0.0880813673, -0.2937995493, -0.3976074159, -0.1634712219, 0.4911004603, 0.6685917974, 0.1765303761, 0.0651027486, -0.5251533389, -0.8034828901, -0.0097007258, -0.4168101549, 0.0080893999, 0.2594410777, 0.1454779059, -0.0062882272, 1.1007660627, -0.6130280495, 0.2376928926, -0.6591474414, 0.3158625066, 0.3940915763, 0.5159487724, 0.822699368, -0.7988016605, -0.4307071865, -0.2769230604, -0.4338181317, -0.5849047899, -0.5415971279, -0.2054919899, -0.052631449, 0.546806097, -0.6394271851, 0.3243336976, 0.3381288648, -0.2168888301, 1.0515364408, -0.1820711344, 0.1807984561, -0.9378348589, 0.156630069, 0.0682250187, -0.09945333, -0.5652186275, -0.0575703867, -0.0666276813, -0.3311460316, -0.2944985628, 0.9146538377, -0.3321641982, 0.1266158521, -0.2276034057, 0.1511170715, 0.1099950746, 0.3804777861, 0.0593301579, 1.1533472538, 0.6114971042, -0.7493012547, 0.4858804345, 0.2024744004, -0.5128597617, 0.3857651353, -0.918946445, 0.1055908352, -0.3772151172, 0.0637706146, -0.9909080863, -0.0147633953, 0.2986190319, -0.433703661, 0.1768074036, -0.1205551028, -0.5300834775, -0.4909290075, -0.1729058474, 0.4275156558, 0.7976486683, -0.3718499839, 0.4331515729, 0.1099083722, -0.564040184, -0.2705145478, -0.1079452261, -0.0733944252, -0.1599737555, -0.3982743919, 0.202442959, -0.4840894043, -0.1753359139, -0.1858238727, 0.2811983526, 0.3468409181, 0.1615003943, 0.0686527565, 0.4552832544, -0.0261976756, 0.0794266835, 0.4567097723, -0.3748485744, 0.2126756459, -0.1414108723, 0.7495558858, 0.2658230364, -0.3758858442, -0.3345312476, 0.6659682393, 0.1036360189, -0.2458202839, 0.4245935082, 0.3465411961, -0.3491108119, -0.4597311616, -0.4322043955, -0.3067890704, -0.5265497565, 0.3139423728, -0.5436872244, -0.5961249471, 0.368530035, -0.2308855057, 0.0103024766, 0.1148205847, 0.6198456883, 0.2623796761, 1.4853700399, 0.4192468226, 0.2034911066, 0.682287693, -0.0154333152, 0.0119912755, -0.7332566381, -0.2868235707, -0.8894718885, 0.0904829428, -0.275421083, -0.4398222864, 0.5831774473, 0.3659659922, -0.081627287, 0.1416281164, -0.313064605, 0.6215921044, 0.8046043515, -0.0583775192, -0.2055108994, 0.003550204, -0.953640759, -0.0979060158, -0.6712796092, -0.8033100367, 0.3796855211, 0.19414033, 0.5460091829, -0.0719923526, 0.522916913, 0.2869587243, 0.1804460734, -0.5418841839, 0.8013641238, 0.0407488197, -0.5142248869, -0.3808524013, -0.5691392422, -0.9969103932, 0.2509683967, -0.1082913727, -0.9370709062, 0.046876736, 0.0716698766, -0.7119731307, -0.3290942907, -0.6746074557, 1.0668935776, -0.012835701, -0.0726340935, -0.0798097998, -0.5798289776, 0.1531645507, -0.0830319226, 0.1255055219, -0.0801319256, 0.0185490493, 0.4907541871, -0.3902571201, 0.8040972948, -0.3662652671, 0.0803516731, 0.4703837633, 0.2663551867, 0.4166477621, 0.2777578235, -0.4367205203, -0.4558909833, -0.1292748451, -0.0882914588, -0.8635525703, 0.3583877981, -0.622790575, -0.7438411117, -0.0971843526, -0.1902038753, -0.2564065456, 0.1868485212, 0.387104094, 0.7008799314, -0.3662810326, -0.1995824426, 0.4849134982, -0.6891511679, 0.5489052534, 0.262729764, -0.5676938891, -0.3019764721, 0.9125442505, -0.2730814815, 0.2577472925, 0.3413933218, 0.615624249, -0.5775640011, -0.4087266028, -0.7565751076, 0.0158120561, -0.8820963502, -0.2329442054, -0.5708637238, -0.0929966494, -0.2623755038, -0.2299858332, 0.0984710455, -0.1756531, -0.5047718883, -0.179329887, 0.164783746, 0.4895994663, -0.0591075234, 0.3320949078, -0.7862017155, 0.4221878648, 0.3757594228, 0.1150174513, 0.0711176246, -0.4589830935, 0.144690752, -0.0220729336, -0.1712618768, -1.0192351341, 0.2618530393, -0.0461076796, 0.8826868534, 0.4666920006, 0.2157655805, 0.3673679829, -0.7943948507, 0.897559166, 0.2552490234, -0.9657600522, 0.9162163138, -0.3549256921, 0.4337417185, 0.5470893383, 0.3458896279, -0.7433025241, -0.2993611991, -0.3619143665, -0.651440084, 0.7040570974, 0.1819850653, 0.5586315989, -0.516115427, 0.3782660365, 0.3228088021, 0.1496044695, -0.3722781539, -0.252459079, 0.099869214, -0.0709425583, 0.2833547294, -0.4968593419, 0.1056293398, -0.0096350005, 0.5683941245, -0.0956755504, 0.3056015968, -0.1044548303, 0.1434531361, -0.1848552823, 0.0701595545, 0.7253200412, 0.6243937612, 0.2138325423, -0.2595518827, 0.0348907523, -0.5176852942, 0.1538562179, 0.0977447629, -0.5948114991, 0.3003075123, 0.3354736567, 1.2570217848, 0.1570141613, -0.7650865316, 0.6135804653, -0.2627744079, 0.0052987337, -0.2156048864, 0.2842380404, -0.1360706836, 0.2980511189, 0.2743598819, -0.057662487, 0.2703238428, -0.1962503344, 0.1609896123, 0.2218239456, -0.0474751666, -0.1566639245, 0.8331679106, 0.2284606695, -0.6989572048, 0.8367512822, -0.6851955056, -0.5922117233, 0.7235246897, 0.6818069816, 0.8963793516, -0.48184973, 0.6341401339, 0.5768091679, 0.0207095016, -0.2652888, 0.8127959371, 0.1376025081, -0.6615784168, -0.4607077539, -0.9099392891, -0.336959511, -0.1884976327, -0.6442225575, 0.5946358442, -0.3228901625, -0.3477877378, -0.1941647381, -0.0108702956, -0.7410455346, 0.3287766576, 0.2383893877, 1.1240034103, -0.8298169374, 0.5751979351, 0.6748406887, -0.5524870157, -0.9504519105, -0.0409684703, -0.0830846652, -0.7090127468, 0.6416109204, 0.2104531527, 0.0449337512, 0.2447631359, -0.427146852, -0.573892355, 0.8028142452, 0.5766271353, -0.5117361546, -0.0497005917, -0.1576494575, 0.4700096846, -0.5181689262, 0.4151021242, 0.363730371, 0.3766022325, 0.5000899434, -0.720533669, 0.1610808522, -0.2248958796, 0.7579659224, -0.0804438516, -0.2309427857, 0.8861109614, -0.3557080328, -0.4697600603, 0.4225046337, 0.6972916722, 0.7181919217, -0.121588327, 0.7501170039, 0.0829679742, 0.6733776927, 0.0583956465, 1.3367865086, -0.2752265334, 0.2655907869, 0.6960549355, -0.2322266847, 0.6256106496, 0.4066489637, -0.3274991512, 0.5528666377, 1.017390728, 0.0084126629, 0.7255814672, 0.5565101504, -0.5004359484, -0.3040511012, -0.4675029516, -0.2927378118, 0.2497275025, 0.1840502471, -0.2941921055, -0.2249774784, 0.0848842859, -0.1086284369, 0.0086236112, -0.1554530859, 0.6605305076, 0.008956599, -1.1195443869, 0.4366919398, 0.199742347, 0.079153657, -0.4783483446, -0.2457549572, -0.3466138244, -0.5250096321, 0.2131965607, -0.5980316997, -0.0611804053, 0.129013896, -0.2377776057, -0.480416894, 0.6353729963, -0.4794145226, -0.5807445049, 0.0076124431, 0.4860461652, 0.2208169252, 0.0176336188, -0.6932886839, 0.4668664634, -0.1484327167, -0.4749901295, -0.0314556435, 0.4854117334, -0.2533829212, 0.6185926199, 0.7709778547, 0.128051728, -0.1419564039, 0.725301981, 1.0047149658, -0.385222733, -1.0071972609, -0.949202776, 0.740868032, -0.1395814121, -0.3793243468, 0.3169518113, 0.4226872027, 0.4662878215, -0.2633988857, 1.0068073273, -0.052716624, 0.4853007793, -0.7165673971, 0.2960019708, -0.3085545301, 0.3301998973, -0.3619722724, -1.180544138, -0.128053844, 0.732052505, -0.2726881206, 0.4217203557, 0.6739143729, 0.9850281477, 0.3289986849, 0.2138229609, 0.3987753987, -0.3342300653, 0.0655336305, 0.33303532, 1.1550328732, 0.0825032443, 0.2906339467, -0.1699850261, -0.4055911303, -0.3066973388, -1.0076367855, -1.1214632988, -0.7579045296, -0.2374473959, -0.2183880657, -0.046486903, 1.2565610409, 0.5651021004, -0.5855110884, -0.1915681064, -0.1231121942, 0.1720711291, -0.2669233382, -0.2509422302, 0.1166775897, -0.6744633317, -0.744261086, 0.5284149647, 0.2306942493, 0.1888817102, -0.5049782395, -0.102043353, 0.0576228872, 0.0754546672, 0.441672653, 0.0997806489, -0.6119938493, -0.2432038039, 0.1645570099, -0.2808356583, -0.305603236, 1.0131200552, -0.8261409402, 0.5478648543, 0.7346887589, 0.7204793096, 0.0818849951, 0.1986535788, 1.0247460604, -1.0621587038, 0.1109693274, 0.3849578798, 0.2514611781, 0.2642461658, -0.4776861072, 0.2605338693, 0.0287881009, -0.3566505611, -0.8194617629, 0.5374922156, -0.7136439681, -0.3724836409, 1.5085996389, -0.072822012, -0.0154135628, -0.0159199983, -0.5752652287, 0.1916353106, -0.4393807054, 0.675133884, 0.5964204669, -0.0834921226, -0.4262268841, -0.7231815457, 0.6524602771, 0.2935851216, -0.7416819334, -0.1675880253, 0.6153168678, -0.0873255655, -0.0178882312, 0.7222509384, 0.0991917923, 0.4331538379, 0.1615383625, -0.1360563189, 0.1096882522, -0.4432821572, -0.4213919342, 0.1092690378, 0.1762264073, -0.2121718824 ]
http://arxiv.org/abs/2404.08156v1
http://arxiv.org/pdf/2404.08156v1
Multimodal Contextual Dialogue Breakdown Detection for Conversational AI Models
2024-04-11T23:09:18
2024-04-11T23:09:18
Md Messal Monem Miah, Ulie Schnaithmann, Arushi Raghuvanshi, Youngseo Son
cs.CL
cs.CL
Detecting dialogue breakdown in real time is critical for conversational AI systems, because it enables taking corrective action to successfully complete a task. In spoken dialog systems, this breakdown can be caused by a variety of unexpected situations including high levels of background noise, causing STT mistranscriptions, or unexpected user flows. In particular, industry settings like healthcare, require high precision and high flexibility to navigate differently based on the conversation history and dialogue states. This makes it both more challenging and more critical to accurately detect dialog breakdown. To accurately detect breakdown, we found it requires processing audio inputs along with downstream NLP model inferences on transcribed text in real time. In this paper, we introduce a Multimodal Contextual Dialogue Breakdown (MultConDB) model. This model significantly outperforms other known best models by achieving an F1 of 69.27.
[ -0.6758363247, -1.0893945694, 0.7478843331, 0.2246163636, 0.0105235502, 0.1256134808, 0.009804978, -0.4283973277, 0.1497066319, 0.54417032, -1.0918936729, -0.3171248734, -0.4112644792, -0.223275438, -0.2803666592, 0.7928221822, 0.3594559431, 0.2073754519, -0.3198153675, -0.4482008219, -1.0390607119, -0.6180984378, -0.8552514911, -0.2409954071, 0.3045785725, 0.3919444382, 0.7445417643, 0.0765852183, 0.2781667709, 0.3702963293, 0.0420086011, 0.2349956781, -0.1260160059, 0.5027822256, 0.1937985867, -0.2931750715, -0.4617226422, -0.1997985095, 0.4898756742, 0.5333686471, -0.4456513524, -0.2610853612, -0.0934364945, 0.3074014485, -0.4409135878, 0.2146154642, -0.3027701974, 0.0812168643, 0.1310547888, -0.255733043, -0.4844594896, -0.0528805293, 0.0626675561, -0.275002569, 0.1364314705, -0.2026408613, 0.5942829847, 0.4234849215, -0.6297746301, -0.2707064748, -0.7216255069, 0.5501844883, -0.6986770034, 0.747405529, 0.2302075028, 0.3885557353, -0.0912112966, -0.7529729605, -0.6923090816, -0.5182729363, -0.196700573, 0.0168752223, -0.1402344257, 0.3201884329, 0.2846421897, 0.1785219908, -0.4036893249, 0.0500459261, -0.1153364703, -0.1331601441, 0.0525842682, 0.3429299295, 0.4311443269, -0.4477702975, -0.3377280533, -0.1025302261, -0.3124677837, 0.061994087, -0.0470060147, -0.1223493665, -0.1469275653, 0.0508671962, -0.1033507884, 0.6863795519, -0.0356212631, -0.5272421241, 0.2492365837, -0.8092283607, -0.353068471, 0.216916576, 0.9747174978, 0.4162602425, -0.1732267737, 0.2076825052, -0.0398657285, -0.1612248421, 0.1086941063, -0.7805079222, -0.1922642589, 0.4461710155, -0.4460283816, -0.244138062, -0.274304837, -0.4536400139, -0.3080520928, -0.2682147026, -0.085706383, -0.6471502185, -0.5091923475, -0.3625421226, -0.0116908504, -0.0788508952, 0.4081264436, -0.7500709891, -0.1188603789, 0.3275096714, 1.0384759903, 0.0916127041, -0.0974650458, -0.8059495687, -0.1750824302, -0.0968683064, 0.8010852933, -0.4460525811, -0.5207707286, -0.2585952282, 0.1065985262, -0.3577478528, -0.4850691557, 0.6706950068, -0.0705087483, 0.2219058126, 0.2965016961, -0.378346771, -0.1504041702, 0.4631648064, -0.9004696608, 0.722781539, 0.0418984406, -0.6377381682, 0.3700074553, -1.076343298, -0.296310991, -0.0387266502, -0.2230997235, -0.4164607823, -0.0337242633, 0.4610136449, 0.5035825968, -0.2941631973, 0.8165994883, -0.5313534141, -0.0541970395, 0.4450362325, -1.0615481138, 0.9745263457, 0.3050780594, -0.3701604009, 0.2343630344, -0.9129605889, 0.0471142232, -0.1852207035, -0.2546088398, -0.2243222743, 0.0395606682, 0.4149864316, 0.4708323479, -0.3859822452, -0.4108563364, 0.0566497445, -0.3043768406, 0.5117207766, 0.4683376849, 0.1126228198, 0.1025618091, -0.2517598271, 0.7318195701, 0.266908437, 0.0983524919, -0.7072317004, -0.5421501398, -0.6764931083, -0.6166055202, 0.2713489234, 0.6192253828, -0.6332411766, 0.2774111032, -0.008108397, -0.5834873915, -0.6353037953, -0.173589468, 0.3704071939, 0.9266620874, 0.2741039395, -0.1000942811, -0.29608953, -0.9169338942, 0.0507558584, -0.0575608239, -0.12544249, 0.5087854266, 0.2751486003, -0.5417788029, 0.8399167657, -0.3503109515, -0.397159338, -0.4364867806, 0.3742890656, 0.2015763968, 0.6174988151, 0.4940328896, -0.9059630036, -0.1561970711, -0.1398269087, -0.8142095208, 0.0552167706, -0.4247456193, 0.0344208553, 0.2657839954, 0.7842960358, -0.654740274, 0.5847794414, 0.774911046, -0.3576557636, 0.8373070359, -0.2189241499, 0.4454229176, -1.162229538, 0.1578301638, -0.0977986604, -0.4745933414, -0.7474510074, -0.364816606, 0.0007654523, -0.2445369065, -0.6095961928, 0.2685803175, -0.3328869045, 0.0639712662, 0.1423367709, 0.0351982154, 0.2687851787, 0.6935084462, 0.2005464584, 0.5599644184, 0.3209886849, -0.4810878932, 0.626110673, 0.3360734284, -0.6112794876, 0.7675930858, -0.6776016355, -0.103206493, 0.1655567437, 0.7264887094, -1.1417089701, -0.3936525881, 0.124030441, -0.3344318867, 0.147929877, -0.0972453356, -0.2291756868, 0.152294144, -0.092368789, 0.6040890217, -0.2590605319, -0.4277430475, 0.807574451, 0.4829428792, -0.3775036335, -0.4623638093, -0.8220648766, 0.0135848271, 0.0193057116, -1.1244927645, 0.1361529529, -0.1883508712, -0.2493355572, -0.2978151739, 0.1370077431, -0.2356484234, 0.2445311695, 0.6069269776, 0.3578957021, -0.2964017093, 0.2803280652, 0.2353454232, -0.0774878487, 0.139329493, 0.1259430498, 0.7607005239, -0.0909291804, -0.5906935334, -1.0103330612, 0.650519371, 1.080922842, -0.3649686277, 0.9339798689, 0.6123010516, -0.3208276629, 0.1461604536, -0.4896867871, -0.3163220584, -0.4126616716, 0.4179206491, -0.3606409132, -0.597874105, 0.4579996169, 0.0669582859, -0.0439179763, 0.3109757006, 0.7839692235, -0.2150853276, 1.3912911415, 0.4311101735, 0.1753665656, 0.5765480995, -0.1671831906, 0.3574925363, -0.6017565727, -0.3940102756, -0.4009205103, -0.0403890796, -0.5496452451, -0.1903291047, 0.6835850477, 0.014881473, 0.2489210069, -0.3038237393, -0.3251957595, 0.2741944492, 0.7918645144, 0.1958119422, 0.4494077265, -0.14010638, -0.4109202325, 0.1047039628, -0.6675985456, -0.1552002132, 0.6460603476, 0.4621013701, 0.7085858583, 0.2041860819, 0.2699545026, 0.5860286951, 0.410861522, -0.8017647862, 0.0965430513, 0.3308018446, -0.8541819453, -0.3291501999, -0.204847455, -0.6203215122, 0.3864531219, -0.2303381413, -0.6930985451, 0.2726635039, 0.2873980105, -0.5500833988, 0.0362360068, -0.8881527781, 1.3303930759, -0.1593535095, 0.0376761518, -0.2307493538, -0.7834516764, 0.6775344014, 0.1783658862, 0.4959434867, -0.143900305, 0.6013419032, 0.5988978148, -0.6534506679, 0.7151665688, -0.3295219541, 0.0307054762, 0.1643274426, 0.1734918654, 0.2223428488, 0.3283424675, 0.2646449506, 0.2331351787, 0.2828277051, -0.2684343755, -0.4838210642, 0.6581760049, -0.439492166, -0.2348941565, -0.3851605952, -0.5712942481, -0.4603499472, -0.0125953937, 0.4022890627, 0.9062188268, -0.3885233104, 0.3077657223, 0.463971138, -0.1676338911, 0.5159762502, 0.1962809563, -0.2088048011, -0.3707965314, 0.7207148671, -0.0651293918, 0.4287894666, 0.0574042983, -0.1292946935, -0.5009655356, -0.3173510432, -0.6805210114, 0.1173264533, -0.8710383177, -0.1405154765, -0.9562385678, -0.1646434516, -0.3792563975, -0.0499346592, -0.3009234667, -0.3783694506, -0.2557987869, -0.258264631, -0.1696060151, 0.521984756, -0.0038707182, 0.3440189064, -1.1693735123, 0.2833829224, 0.340891093, 0.0438601896, -0.0691702813, -0.1250009239, -0.1074583083, 0.1373964548, -0.4551982582, -0.9346116781, 0.4373409152, 0.2988098264, 0.422688067, 0.5864082575, -0.0714658722, 0.5958272815, -0.3439899683, 0.8228234649, 0.5919591784, -0.8716407418, 0.5572188497, -0.3325930834, 0.5170037746, 0.5015740395, 0.1224725917, -0.9096477032, -0.4826805592, -0.6059861779, -0.7565037012, 0.8593353033, -0.0305817127, -0.2800610662, -0.0308677368, -0.3965720832, -0.0289425142, 0.1593588591, -0.4524859488, -0.2705077827, -0.2354823202, -0.1625783592, -0.0788531229, -0.3453042209, -0.2276281714, -0.0010010487, 0.3660405874, -0.2345820814, 0.2872826159, 0.252068758, -0.4453893602, 0.2015609741, 0.4610251188, 1.0089784861, 0.8969295025, -0.4159694612, -0.1108312011, 0.0029663243, -0.2950216532, 0.3006866574, 0.2050753534, 0.061544016, 0.3792029619, 0.468254745, 0.8232963085, 0.228599593, -1.0499558449, 0.5948488712, -0.5089678168, -0.0146818627, -0.4197882414, 0.0205923077, 0.1671562344, 0.2779879272, 0.22125341, 0.4496937692, 0.3989984691, -0.6593387127, 0.5019176006, 0.2332473397, -0.6596089005, -0.0081042051, 0.6629493833, 0.4572792053, -0.3467028141, 0.8250924945, 0.1315380335, -0.4372980893, 0.7187163234, 0.2948082685, 0.8114717007, -0.4322197735, 0.2440672964, 0.0789874941, 0.0004069027, 0.2949409187, -0.1197892651, -0.201946944, -0.8053827286, -0.5303131938, -0.5751529336, -0.5957680345, 0.2488061339, -0.7209138274, 0.040710561, -0.4400759935, -0.2468562424, 0.2924768925, -0.6116080284, -0.6353358626, 0.3727204204, 0.2730620205, 0.5772618055, -0.5375532508, 0.8823475242, 0.1852648258, -0.3769493401, -0.522816956, -0.1544851661, 0.2989994287, -0.4603453875, 0.7142342925, 0.5255240798, -0.2789696157, -0.3614958823, -0.3350545466, -0.2926304042, 0.7803613544, 0.495557934, -0.7252100706, -0.1918346733, -0.1414398402, 0.2869485915, -0.5184342861, 0.7021897435, 0.8516511321, 0.4285999537, -0.0193014275, -1.1356472969, -0.0904725343, -0.1197542325, -0.3102969825, 0.2651292086, -0.4681816101, 0.8589966893, 0.0468804799, -0.0849197209, -0.169672668, 0.2405558974, 0.2677333355, 0.6521220803, 0.787285924, 0.5001989007, 0.8084527254, -0.1671728939, 1.1352261305, -0.3271927238, 0.2849126756, 1.2347253561, 0.1398617327, 0.5521769524, 0.248870492, 0.1476255357, 0.4464734495, 0.5801608562, 0.3329633176, 0.4365286231, -0.4102934897, -0.4738706052, -0.3925868869, -0.3057943583, -0.2941746712, 0.74814713, 0.749522984, -0.4488446414, -0.1364565343, 0.5242164731, 0.2905186713, -0.4660808444, -0.0057918038, 0.8852972984, -0.1370829344, -1.12867558, 0.8806060553, -0.1664048284, 0.4058960676, -0.5791000128, -0.197397247, -0.3005848527, 0.340931654, -0.241198808, -0.3639203906, 0.3244291544, -0.2187590748, -0.3124959171, -0.2580476999, 0.580124855, -0.5205513239, -0.3880704343, 0.4132312834, 0.4589824378, 0.0397902131, -0.419379741, -0.9031633735, 0.110993959, 0.2895383537, -0.2840785086, 0.1405863762, 0.2179381698, 0.1758390963, 0.7950633764, 0.8849205375, -0.3785252273, 0.0979027823, 0.1071135104, 0.7759478092, -0.7636612654, -0.5202590823, -0.8439764977, 0.8613344431, -0.2359220833, -0.3923714757, 0.3202302158, 0.3479910493, 0.4218701422, 0.2221100032, 0.8442100883, -0.0837348625, 0.4661685228, -0.6248321533, 0.7637807727, -0.5956157446, 0.1967548579, -0.0881385729, -0.5649498701, -0.227571547, 0.4344175756, 0.2370240092, -0.3094874322, 0.7867622972, 0.8055137396, -0.1303674579, 0.1606478989, 0.4943434894, 0.2081167549, 0.8519589305, 0.2184122205, 0.8536851406, -0.0453247055, 0.7225481272, -0.2589027882, -0.4054994285, -0.5128949881, -0.6396435499, -0.6733190417, -0.5649344325, -0.1512909383, -0.6170781851, -0.3015623093, 0.9465373755, 0.9615689516, -0.9719198942, -0.0540236011, 0.1246163622, 0.2754057944, -0.3059498966, -0.3034663498, 0.1299079061, -0.4602918625, -0.7717360854, 0.7821726203, 0.5894015431, -0.1925715357, -0.407047987, -0.0796885416, -0.4977229834, -0.1295597702, 0.6605345011, 0.1236799359, -0.7125327587, -0.0805560052, -0.3415745795, -0.1601841897, 0.3443551362, 0.8938009143, -0.6679286957, 0.7563174367, 0.4516409636, 0.4643687904, 0.5893186331, -0.0587572232, 0.598628819, -0.6946405768, 0.3590648472, 0.5520052314, 0.5208159685, 0.3005955815, -0.2226352543, 0.3451918662, 0.4191493392, -0.6290153265, -0.8581625819, 0.2043777108, -0.9069022536, -0.362537384, 0.600804925, -0.132224679, -0.1836944222, -0.374990195, -0.526971221, 0.0175613668, -0.6707350612, 0.2895411551, 0.8254532814, -0.5659729838, -0.3877494931, -0.664883852, 0.5364418626, 0.4122999609, -0.7242604494, -0.0926880017, 0.8246557713, 0.0542931221, 0.5215572119, 0.8034210205, 0.2349873185, 0.3909080923, 0.0175404865, -0.0723932832, 0.0762209669, -0.3451229036, -0.1531143039, 0.5444276333, -0.252966553, -0.3298674226 ]
http://arxiv.org/abs/2404.08155v1
http://arxiv.org/pdf/2404.08155v1
Graph Integrated Language Transformers for Next Action Prediction in Complex Phone Calls
2024-04-11T22:47:50
2024-04-11T22:47:50
Amin Hosseiny Marani, Ulie Schnaithmann, Youngseo Son, Akil Iyer, Manas Paldhe, Arushi Raghuvanshi
cs.CL
cs.CL
Current Conversational AI systems employ different machine learning pipelines, as well as external knowledge sources and business logic to predict the next action. Maintaining various components in dialogue managers' pipeline adds complexity in expansion and updates, increases processing time, and causes additive noise through the pipeline that can lead to incorrect next action prediction. This paper investigates graph integration into language transformers to improve understanding the relationships between humans' utterances, previous, and next actions without the dependency on external sources or components. Experimental analyses on real calls indicate that the proposed Graph Integrated Language Transformer models can achieve higher performance compared to other production level conversational AI systems in driving interactive calls with human users in real-world settings.
[ -0.3855251968, -0.795055747, 0.3722780645, 0.1254931688, 0.0895962343, 0.5690339208, 0.1600474864, -0.9535643458, -0.0033046883, 0.7056126595, -0.7091159225, -0.1728182733, -0.4371719956, -0.1531758457, -0.3796789944, 0.5327080488, 0.1204641238, 0.2038961202, -0.0868440047, 0.015050686, -0.7749816775, -0.4302913845, -0.9164386392, -0.7819418311, 0.2282000631, 0.3633497655, 1.2293378115, 0.1657278538, 0.3664100468, 0.4525979757, 0.0586233027, 0.214247793, -0.2679959536, 0.0802656859, 0.1626597792, -0.6408256888, -0.4860949516, -0.04786909, 0.3046314418, 0.6868023276, 0.0331572406, -0.0115294037, -0.0618262775, 0.3390787244, -0.1309315711, 0.8621791005, -0.3429110646, 0.208026737, 0.2442851216, -0.157581076, -0.5988092422, -0.5631513, 0.4953038394, -0.2616702914, -0.1031770483, -0.0402262025, 0.7099288106, 0.2789486051, -0.2326228172, -0.3573401272, -1.2409676313, 0.2897595763, -0.7118110657, 0.443520844, 0.1785497665, 0.5128954053, -0.3009411693, -0.9735661149, -0.686426878, -0.2521431148, -0.5353531241, 0.2948638797, -0.4545849562, 0.4446235299, 0.2343818396, -0.1636637449, -0.1746766269, 0.3180656433, -0.4363813698, -0.235460192, 0.4367215037, 0.4399398863, 0.4310187399, 0.0020377368, 0.1297504902, -0.0583100282, -0.6368631721, 0.2885110974, 0.5267156363, 0.4501152933, -0.0128751295, 0.4684942365, -0.0379005894, 0.869024694, 0.2488322407, -0.0620467216, 0.1683841944, -0.1132564694, -0.1641293913, 0.3106347024, 0.8521488309, 0.2657450736, 0.6394538879, -0.2084295601, 0.1967572868, 0.1104392633, 0.3734649718, -0.9212622046, -0.2728040814, 0.2860896587, -0.1517012119, -0.2670275271, -0.0168769695, -0.4902460873, -0.2028169185, -0.5358319283, 0.0901743621, -0.5633886456, -0.2772069871, -0.1709245294, 0.084258981, 0.2623203993, 0.2990785837, -0.7013620734, 0.5703950524, 0.6262145042, 0.791205883, -0.0092304554, -0.254507333, -0.9142670035, 0.1511262208, -0.3376579285, 0.962488234, -0.8366287351, -0.5316946507, 0.1085180417, 0.0342415646, -0.2801758647, -0.6669544578, 0.4130504429, -0.5955045819, 0.3276038468, 0.294436723, -0.3118215501, -0.4018529356, -0.0713407248, -0.5656808019, 0.9292644858, 0.409496218, -0.4174090624, 0.2336709946, -0.9811640978, -0.7510394454, 0.4476256669, -0.1976871938, -0.445584178, -0.2499522567, 0.2101305276, 0.3787555695, -0.005455764, 0.3690884411, -0.166432932, -0.6025503278, 0.311866045, -0.2231914997, 0.6819053888, -0.0793814659, -0.4596754014, 0.4023413062, -0.4881808162, 0.0174278338, -0.2482558936, -0.096386224, 0.2019971907, 0.1087440103, -0.1198338419, 0.4920271933, -0.1182823703, -0.2909078598, -0.0409088247, -0.4933083653, 0.5273513198, 0.6905444264, -0.2436065674, 0.5701689124, -0.0257643666, 0.8126443624, 0.1366623938, 0.16287902, -0.276691258, -0.7089267969, -0.8998774886, 0.0935061499, 0.2891454399, 0.9279215336, -0.4792715311, 0.499992013, -0.5387691259, -0.5153417587, -0.4576041102, 0.009721769, 0.2598638237, 0.7205467224, 0.1549499184, -0.412620306, -0.5529899001, -0.6307823062, -0.1480050981, -0.5198207498, -0.0770843551, 0.5596547127, -0.126995191, -0.5150517225, 1.3282163143, -0.4777005315, -0.126862824, -0.3957185447, 0.2248190343, 0.2458569854, 0.0471921526, 0.4397224188, -0.8366173506, -0.6476982236, 0.1862980127, -0.4786870182, -0.1041276604, -0.0781525373, -0.0118626626, 0.0021338621, 0.7684645057, -0.628739357, 0.4439712465, 0.7923436761, -0.0980903208, 0.3145413995, -0.0139211109, -0.2645191848, -0.926469624, -0.2489039153, 0.0295995902, -0.3748222888, -0.8768794537, -0.6783412695, -0.2468193471, -0.5591096282, -0.341176331, 0.2909551561, -0.2281277925, -0.5042597055, -0.0290026627, 0.1096597016, -0.4496150613, 0.6303365231, -0.1167159304, 0.933352232, 0.5709486008, -0.7673045993, 0.4555377662, 0.5033318996, -0.3275542557, 0.3504965901, -0.6068838239, 0.1753493845, 0.0440320596, 0.5259529352, -1.3023087978, -0.1718408912, 0.2190548033, -0.4882468879, 0.268242687, -0.266564548, -0.4708095789, -0.6594623327, 0.222160548, -0.0280354675, 0.5496805906, -0.3541603982, 1.03956604, 0.4702020586, -0.4835119545, -0.3522336781, -0.5682106018, 0.1905470788, -0.0036225659, -0.8362210393, 0.08638414, 0.0352650136, -0.2344455123, -0.0237658769, 0.1300638765, -0.0172198489, -0.0751931891, 0.6246358156, 0.3814327717, -0.0725098774, -0.0996241793, 0.0238335878, -0.4771955907, 0.2296096832, -0.3608459532, 0.9629298449, 0.016134385, -0.4085754156, -0.9869756699, 0.30386585, 0.9143673778, -0.1020855159, 0.4529038966, 0.7102487087, 0.0519864559, 0.323330164, -0.3268572688, -0.1889424324, -0.5432909727, 0.5737406015, -0.4313297868, -0.6900365353, 0.5410761833, -0.6486929059, 0.0258240253, 0.1205755472, 0.4965543449, -0.1987657547, 1.6730645895, 0.518966496, -0.1914016306, 0.9133828282, -0.3784654737, 0.8018831611, -0.6045606732, -0.2857234776, -0.1506098658, -0.3870845139, -0.7337736487, -0.1684013307, 0.3599118292, -0.1018704921, -0.3931683302, 0.5770304203, -0.1848864555, 0.2216142565, 0.5308004618, 0.0159133766, 0.248534292, -0.0005587853, 0.1903900504, 0.0785307065, -0.8273351789, -0.3794014454, 0.6255339384, 0.2983581722, 0.6433939338, 0.0176091474, 0.3020950258, 0.2145114392, 0.548630774, -1.1170381308, 0.499936074, 0.133969143, -0.0822013542, -0.3486588299, -0.1607266366, -0.9789910913, -0.0006924852, -0.1898511797, -0.9567988515, -0.052597452, 0.1714383215, -0.3666457236, 0.0810148716, -1.0863864422, 0.4194743037, -0.0474972017, 0.1346390843, -0.2209626734, -0.7061704397, 0.0546756126, 0.1483578235, 0.308398366, 0.0067894002, 0.528765738, 0.5039682984, -0.5074335337, 1.1566672325, -0.0909674838, -0.1576368511, 0.561475575, 0.0995537862, 1.004927516, -0.2324523926, 0.0012547377, 0.2030541897, -0.5507745743, -0.1769984514, -0.5846108794, 0.4840163291, -0.718390286, -0.6373722553, 0.0798133984, -0.6193409562, -0.4743918478, 0.239988789, 0.2374738008, 0.6180182099, -0.0501424856, -0.1293893456, 0.2062248141, 0.1212378144, 0.6996685266, 0.3215934932, -0.1120394021, -0.2483519763, 0.7529836297, 0.2272606939, 0.3378896713, 0.186690703, 0.1110504195, -0.3395061195, -0.4510350525, -0.6128893495, 0.0530887619, -0.5320770144, -0.2561565936, -1.1081461906, -0.2289612591, -0.5780792236, -0.1229431927, -0.1883611977, -0.2967932224, -0.1011394486, -0.3722603023, 0.3451475799, 0.8667278886, 0.3511922956, 0.7583217025, -0.9435142875, 0.0732245371, 0.4663838744, 0.4701051116, 0.0133132804, -0.2657132149, -0.3088527918, 0.0374504998, -0.464207828, -0.7973690033, 0.4268678129, 0.0885883197, 0.4504517913, 0.3146665394, -0.2136124372, 0.9415838718, -0.7026951313, 0.6254157424, 0.3753065765, -1.0257285833, 0.3710380495, -0.2184953541, 0.3052948713, 0.0765087157, 0.130953908, -0.6989515424, -0.4713288248, -0.6581528187, -0.7339282632, 0.9738274217, 0.2035728544, 0.3893003762, 0.2820336819, 0.0583637692, -0.1802334487, -0.1211521327, -0.3199324012, -0.2777872384, -0.0230170824, -0.0814772472, 0.0184997395, -0.0368596613, 0.0141020957, -0.3020785153, 0.2519742846, -0.4198556244, 0.333150655, -0.1313679218, -0.024817545, -0.3569966257, -0.0115577206, 0.3339920044, 0.7126227617, 0.0062854276, -0.3292224407, 0.4176696241, -0.4668166935, -0.0972747877, 0.0390850082, 0.1791125238, 0.2030713707, 0.3399653435, 0.9822192788, 0.3612733483, -0.672840476, 0.2639452517, -0.0471448712, 0.0701389909, -0.742506206, 0.2100075036, 0.2584958076, 0.3986317515, 0.2870651186, 0.4191193283, 0.1590303183, -0.852940917, 0.2682541907, 0.2766419947, -0.9476780295, -0.3712525964, 0.3725454509, 0.4561834335, -1.0003783703, 0.7081884146, 0.0976874977, -0.8957576156, 0.5605137348, 0.6517881751, 0.8277519345, -0.527145505, 0.3132526278, 0.2180030793, -0.1016482338, 0.1598522663, -0.0163768884, 0.1112437993, -0.8585925698, -0.7488052845, -0.1366472393, -0.7348767519, -0.0936769247, -0.273167789, 0.6127799153, -0.2055961639, -0.151630044, 0.0224214587, -0.2394279838, -0.6353484988, 0.176314652, 0.1005026102, 0.5756388307, -0.7060117722, 0.7777268887, 0.3364140987, -0.2413651943, -0.785533905, -0.0384429321, -0.281568706, -0.8044365048, 0.9551618695, 0.2065522224, -0.6420017481, 0.1591739208, -0.3411941528, -0.6866292357, 1.0812063217, 0.447917819, -0.3962397277, -0.0572010428, 0.3993405998, 0.5687487125, -0.5452638268, 0.6262537241, 0.672164619, 0.4990147352, 0.4029220939, -0.9609217644, -0.1288797706, -0.133564651, -0.0328022465, 0.5407329798, -0.7368022799, 0.7043781281, -0.2649749517, -0.4165055156, -0.2191310674, 0.7018350959, -0.3383164108, 0.1497639269, 0.7188929915, 0.0896175951, 0.6798511147, -0.1053955033, 1.0266816616, -0.3752692938, 0.1339515746, 1.2268030643, -0.1764870137, 0.6932379007, 0.1615804434, -0.2573890388, 0.9467193484, 0.541916728, 0.1284358054, 0.2289496958, 0.0021590942, -0.3075144887, -0.1058013588, -0.1483840644, -0.0532771796, 0.788431108, 0.66131109, -0.2458373308, -0.0642394423, -0.2719561458, 0.0137890503, -0.1405853629, 0.0541964918, 1.1086065769, -0.1804433167, -0.8327405453, 0.3699465692, -0.4397400022, 0.4099362493, -0.3948547542, -0.2590897381, -0.0611526221, 0.2363850623, -0.4029490352, -0.8576613665, 0.4965125024, -0.2286740988, 0.1670599729, -0.1014639214, 0.6363298893, -0.3805631995, -0.2245052457, 0.6521294117, 0.3042627871, -0.0559578203, -0.0266835857, -0.662963748, -0.1499604732, -0.0043415567, 0.0055399905, 0.0379017778, 0.253903687, -0.1937499642, 1.0066976547, 0.7495964766, -0.2497728169, -0.0194209963, 0.2621345818, 0.8925124407, -0.5275474191, -0.5118626356, -0.689822197, 0.5010188222, -0.3757936656, -0.0509063974, 0.3976278305, 0.6181178093, 0.6664779186, 0.1718868464, 0.9361262321, 0.1947678626, 0.1326253712, -0.2531035841, 0.365236789, 0.2763676643, 0.0725080371, -0.3739555776, -0.8542384505, -0.3451174796, 0.3495382369, -0.4069479108, -0.1948610842, 0.5347453952, 0.6869218946, -0.2181841582, 0.314910531, 0.3470079899, 0.2518659532, 0.7616772056, 0.2238229662, 0.8192721009, -0.4121164978, 0.9124751687, -0.0266526081, -0.0783039778, -0.4611988664, -0.4075210392, -0.7905953526, -0.5263676047, -0.195555523, -0.5268122554, -0.2719452679, 0.6469174027, 0.8687279224, -0.9094904065, -0.4461343884, -0.4098120928, 0.0036724727, -0.3346509337, -0.3301270604, 0.1274217367, -0.5950446725, -1.2983884811, 0.2490270734, 0.4881486595, 0.1126433089, -0.1702646464, -0.2711285353, 0.1910455674, 0.0117743928, 0.8726137877, 0.227039516, -0.6733894348, -0.4736818373, -0.1091876477, 0.1382164657, 0.4193674326, 1.1465491056, -0.9243969321, 0.5033732057, 0.4844409823, 0.5197490454, 0.6821337938, -0.0609239936, 1.1760692596, -0.3684532642, 0.404735148, 0.3055897951, 0.3465574682, 0.3619878888, -0.5412317514, 0.5576920509, 0.0118238404, -0.229094997, -0.4414027631, 0.7102985382, -0.8383398652, 0.0417762212, 0.7391931415, -0.1793445945, 0.0020046898, -0.5129445195, -0.553884685, 0.4804640114, -0.5627579689, 0.4658761024, 0.5497205853, -0.7881247401, -0.2809860706, -0.384801209, 0.3505465686, 0.1487897336, -0.7639135718, 0.1410392076, 0.3451633453, -0.2043705136, 0.4992204309, 0.3724255264, -0.1239844561, -0.0437498838, -0.1200226396, -0.4311943948, 0.1962901652, -0.0585048608, -0.0219124183, 0.0347497277, -0.2039968669, -0.1976045966 ]
http://arxiv.org/abs/2404.08148v1
http://arxiv.org/pdf/2404.08148v1
Distilling Algorithmic Reasoning from LLMs via Explaining Solution Programs
2024-04-11T22:19:50
2024-04-11T22:19:50
Jierui Li, Raymond Mooney
cs.CL
cs.CL
Distilling explicit chain-of-thought reasoning paths has emerged as an effective method for improving the reasoning abilities of large language models (LLMs) across various tasks. However, when tackling complex tasks that pose significant challenges for state-of-the-art models, this technique often struggles to produce effective chains of thought that lead to correct answers. In this work, we propose a novel approach to distill reasoning abilities from LLMs by leveraging their capacity to explain solutions. We apply our method to solving competitive-level programming challenges. More specifically, we employ an LLM to generate explanations for a set of <problem, solution-program> pairs, then use <problem, explanation> pairs to fine-tune a smaller language model, which we refer to as the Reasoner, to learn algorithmic reasoning that can generate "how-to-solve" hints for unseen problems. Our experiments demonstrate that learning from explanations enables the Reasoner to more effectively guide program implementation by a Coder, resulting in higher solve rates than strong chain-of-thought baselines on competitive-level programming problems. It also outperforms models that learn directly from <problem, solution-program> pairs. We curated an additional test set in the CodeContests format, which includes 246 more recent problems posted after the models' knowledge cutoff.
[ -0.5124713778, -0.5849853158, 0.9028184414, -0.0303316545, -0.1597928554, 0.363627702, -0.4637761116, -0.1047068238, -0.0397184268, 0.3427712023, -0.8443540335, -0.2141840011, -0.6085178256, 0.0951067135, -0.1325520128, 1.0601644516, -0.2829758823, -0.2734492421, -0.360335201, 0.1376166791, -0.5643702149, -0.0935919434, -0.5510321856, -0.6480728388, 0.5107017159, 0.597391367, 0.4407922626, 0.7634804845, 0.499712199, 0.3646244407, -0.0488644429, 0.3523136973, -0.601000011, 0.221372053, -0.3884842694, -0.8226026893, -0.0691656619, -0.1054736748, 0.1095914766, 0.9115107059, -0.3287611902, 0.2844659388, 0.0567732938, 0.753723979, -0.4935666323, 0.1698978394, -1.0167638063, -0.1385749876, 0.0532940067, -0.5665742755, -0.4564398229, -0.139424473, -0.0500196926, -0.6298210621, 0.1625887007, -0.0275024194, 0.568051517, 0.6194346547, -0.0900109485, -0.6007553935, -0.8599590063, 0.6797923446, -0.5626972318, -0.12409015, 0.0111847566, 0.6059356332, -0.3875381649, -0.5785332918, -0.4801802635, 0.0554376282, 0.1469723582, 0.0466755293, -0.312579304, -0.0881534368, 0.3881850839, 0.356723249, -0.4055239558, -0.047251869, -0.5830238461, 0.0996134207, 0.7667070031, 0.0473983362, 0.0961191133, 0.3454211056, -0.2240246534, 0.1837812215, -0.6352583766, 0.1810217053, 0.0767615288, -0.0010638669, 0.1229780093, 0.4210889637, 0.0077500027, 0.7199236751, 0.2469492853, -0.1697308272, -0.0541511439, -0.0604838468, -0.0964377001, 0.163775593, 0.3580033481, 0.1727523804, 0.3882434964, -0.1970741153, -0.3401090503, 0.0747861639, 0.2239269763, -0.5193264484, -0.5416648984, 0.2814423442, -0.4112555385, -0.2920305133, -0.2266596109, -0.6580969691, -0.6211226583, -0.4934491813, 0.305881381, -0.1172041446, -0.2366116047, 0.3571306765, -0.4855217934, 0.2202119976, 0.119170785, -0.756116271, 0.1530796289, 0.6977354884, 0.6641021967, 0.1312878132, -0.0319413021, -0.6258591413, 0.0559364483, -0.4713948667, 0.7688038349, -0.5888501406, -0.0222272314, -0.2857146859, -0.440962702, 0.1146394014, -0.8170621395, 0.2133456469, -0.4254384935, -0.0150883738, -0.3232642412, -0.5323714018, 0.1092771664, 0.3269424736, -0.2792176604, 0.7992017865, -0.3347070813, -0.6271399856, 0.1019354463, -0.6360698938, -0.2403606474, 0.2323421538, -0.4335146248, -0.1449235976, 0.3769325614, 0.5515386462, 0.2982385159, -0.217343539, 0.2923184633, -0.25045982, -0.4074810147, 0.2233179659, -0.2744160295, 0.8201841712, 0.2733874619, -0.4922113121, 0.0899986252, -0.5518756509, 0.0443405807, 0.5322105885, -0.2065105438, -0.2682465911, 0.2079817355, -0.9813166261, 0.403331846, 0.2321425378, -0.1802073121, 0.2633892894, -0.4955632687, 0.7335950732, 0.9985055923, 0.0938011333, 0.1633865535, -0.3779968917, 0.7649546862, -0.1678543985, 0.0504957438, -0.2817558646, -0.4482480884, -0.9129117727, -0.007424877, -0.089412421, 0.3798691928, -0.9343467951, 0.0999299511, -0.1080462411, -0.5592854023, -0.7388588786, 0.3089854717, 0.4842593074, 0.5656837821, 0.4086978137, 0.3141739964, -0.396856755, -0.7531549931, -0.4889723063, -0.1336851418, -0.0104249874, 0.3426511586, 0.5995413065, 0.0867306814, 0.7203601599, -0.7483155727, 0.2673186362, -0.6764858365, 0.0791526437, 0.4809937775, 0.2390395403, 0.182866931, -0.6428810358, -0.3920671344, -0.1053632945, -0.6357825994, -0.3786346614, -0.4051751792, -0.1858457327, -0.1939464957, 0.6891627312, -0.2142340541, 0.079924345, 0.3861024082, -0.2882206738, 0.7631960511, -0.5675208569, -0.2337010056, -0.8483924866, -0.0958463401, 0.0990116522, -0.1791385859, -0.3112128377, 0.3745471239, -0.4457070529, -0.0991616696, -0.0547556765, 0.1578641683, -0.663122952, 0.0638876706, -0.3120940626, 0.5480234027, 0.1254494488, 0.5927227736, -0.1286889017, 0.5171852708, 0.6299604177, -0.4598896801, 0.6815653443, -0.035599824, -0.1797206998, 0.2846085727, -0.8285607696, 0.356058538, -0.4102346301, 0.0750457868, -1.0687565804, 0.2015660405, -0.0542522334, -0.3731820285, 0.0392751321, -0.375022471, -0.3098511994, -0.7029649615, -0.0935297981, 0.3682333529, 0.654084146, -0.831058085, 0.3704404831, 0.2667174935, -0.0667809844, -0.4313533306, -0.5539429784, -0.0227703173, -0.4700244069, -0.5190461874, 0.3979535699, -0.3632442951, -0.4971098602, -0.1590578854, -0.5439084768, -0.1230890602, 0.4620163143, 0.0956906676, 0.2542731464, -0.0983049646, 0.2025791407, 0.0112993428, -0.3581455648, 0.5329917073, -0.5388864279, 0.3661300838, -0.1835754514, -0.3717327714, -0.2235586792, 0.2839994729, 0.4589674771, -0.4659334421, 0.7874053121, 0.180637762, -0.1702004075, -0.7676460743, -0.432798177, -0.2956345081, -0.4939164221, 0.1803810298, -0.7452682257, -0.7909772396, 0.5264545679, -0.5335946679, 0.1354202181, 0.1725608855, 0.5310944915, -0.122508429, 1.2741883993, 0.4133221507, -0.0134146186, 0.1177269518, -0.3871896863, 0.6167960763, -0.4805680513, -0.4249328673, -0.424464196, -0.4455434978, -0.3133100867, -0.4955238998, 0.4240756631, 0.5112947822, -0.134777382, 0.1040686592, -0.7580647469, 1.0935071707, 0.5008589625, 0.1233049333, 0.3063952029, -0.1229173467, -0.2757277191, 0.1530314535, -0.9924052954, -0.4252366126, 0.8067907691, 0.3601275086, 0.5677875876, 0.015755387, 1.0888576508, -0.0146479774, -0.0117851477, -0.6034620404, 0.3791903257, -0.0190600529, -0.4391608238, -0.1270229369, -0.5977591872, -0.5815941095, 0.2194111347, -0.0998983458, -0.616443038, -0.102861017, 0.4561143517, -0.4185293317, 0.229659453, -0.5132853389, 0.9743994474, -0.3358364403, -0.3452416956, -0.3707006574, -0.4950200915, 0.3702832758, 0.231837675, 0.5268152356, 0.0974621698, 0.1912335306, 0.5378172398, -0.6121117473, 0.544154346, -0.1386280358, -0.244464457, 0.3829378188, 0.2627978027, 0.6784214973, -0.0488579497, -0.0381328687, -0.2349740267, -0.2005778253, -0.3806859553, -0.9438797832, 0.616564095, -0.3163782358, -1.0397529602, -0.0277211834, -0.5858305097, -0.0082818652, 0.0078987656, 0.0779754296, 0.5098541975, 0.3977783322, -0.0986235365, 0.8189578056, -0.143543154, 0.2567777932, 0.2167826444, 0.0073832003, 0.0825305134, 0.9579437971, -0.242560938, 0.3596066833, 0.1659938097, 0.4260714948, -0.1857061088, -0.8598576188, -0.208253786, 0.2156349421, -0.8464213014, -0.0692093819, -0.1130189002, -0.1496246308, 0.2399681211, -0.4249674976, -0.2182671279, -0.3239807487, 0.0713117197, -0.1775883734, 0.1073354781, 0.6339717507, -0.0620669313, -0.0153118242, -0.4512600899, 0.4254762828, 0.3228453696, 0.2630462646, 0.2238093466, -0.4850718975, -0.2784689069, 0.2368798107, -0.210161984, -0.9701923132, 0.1939786822, 0.0212555602, 0.7687940598, 0.4577037096, 0.2057439834, 0.9573094249, -0.3542708158, 0.6835451722, 0.0306686647, -1.0024044514, 1.0043832064, -0.1169733033, 0.2524635792, 0.509239614, 0.327260077, -0.2481515557, -0.5706779957, -0.4602473378, -0.7836633325, 0.5887573361, 0.3076371849, -0.2360679805, -0.2239875346, 0.7442016006, 0.051604446, -0.0556729697, -0.7748912573, -0.3808574975, 0.1490359008, -0.2900269926, 0.0693734586, -0.0582048446, -0.2538321018, -0.2774757445, 0.8206633925, -0.1755801588, -0.0872855112, 0.0824747831, -0.1850675344, 0.0516601019, 0.3849197924, 0.3746737838, 0.9787431955, 0.0253346451, 0.7078031301, -0.0548978895, 0.1420908868, 0.0081107831, 0.0331484862, 0.1561708301, -0.197992444, 0.586828649, 0.5556846261, -0.2423937321, -0.9685668945, 0.4245049357, 0.0907947645, -0.2983509004, 0.0413368195, 0.2322843373, 0.4562999904, 0.5876296759, 0.2286687195, -0.0095967241, 0.1627631485, -0.4904085398, -0.0298916791, 0.4898048043, -0.2871370614, -0.1218151376, 0.5656727552, 0.2909561396, -0.2861216962, 0.5514618754, -0.4614101648, -0.8622692227, 0.8649814725, 0.7606126666, 0.4969236851, 0.1598902643, 0.2393610328, 0.2098220885, 0.2186590135, -0.2055954933, 0.2397531867, -0.4100229144, -0.6164213419, -0.665845871, -0.3175306618, -0.0833236724, 0.1141689718, -0.579867959, -0.0906703398, -0.2923494875, 0.2614210546, 0.2325013131, -0.0892879143, -0.4185193479, -0.2601745725, 0.4210920334, 0.8193221688, -0.8577498198, 0.4025842845, 0.660584867, -0.4666726887, -1.0645809174, -0.1267694384, -0.048402708, -0.8919534087, 0.6863789558, 0.1278743744, -0.2990307808, -0.0166139267, -0.5715315342, -0.5406000614, 1.102653265, 0.5574146509, -0.9106761217, 0.0609528534, 0.0443208292, 0.3996516168, -0.4648864865, 0.1908241063, 0.7002533078, 0.3028739095, 0.261471808, -0.7721412778, 0.1915208548, -0.3901010752, -0.1616629064, 0.3182632923, -0.2029831856, 0.5862064362, -0.7161743045, -0.1025338247, -0.3054871261, 0.3051201403, 0.7272980213, 0.3185202181, 0.520925045, 0.5018857121, 0.9195873737, 0.1356024891, 0.7905802131, -0.2424606234, 0.3006576896, 1.2698185444, -0.0475775674, 0.5518270135, 0.7983505726, -0.1235092878, 0.9407907128, 0.4921667576, 0.0749070719, 0.5045716763, 0.8614602685, -0.0565725267, -0.7527505159, 0.048401691, -0.1052608564, 0.3727757931, 0.2161778957, -0.346280396, -0.3717861474, -0.0915473029, -0.0953379422, 0.6059799194, -0.5510392189, 0.7428410053, 0.1332131177, -0.9165176153, 0.7673200369, -0.0263135973, 0.4751866162, -0.2741746604, -0.3567796946, -0.1536914408, 0.4967684448, -0.1190347821, -0.7985906005, 0.3564995825, 0.2432260215, -0.3130406439, -0.3595083952, 0.5391747952, -0.5170729756, -0.4929384291, 0.2166487277, 0.6040709019, 0.3223215044, -0.1308407933, -0.8214433789, -0.0515090637, 0.1455226392, 0.1879483312, -0.0083631147, 0.6918991804, 0.1585878581, 1.0516829491, 0.4528605938, 0.1656923443, 0.0619617552, 0.1523889601, 1.0259404182, -0.3727629781, -0.4995805025, -1.3152672052, 0.5343905687, -0.1433044523, 0.0746008679, 0.5533837676, 0.4690020084, 0.7123816013, 0.0021989553, 0.7581598759, 0.1080706567, 0.2003411353, -0.5504674315, 0.3453422785, -0.5030611157, 0.8392393589, 0.0222149286, -0.6051964164, -0.0806493759, 0.6559115648, -0.3885724247, -0.0747439936, 0.6535693407, 0.6390105486, -0.0492566191, -0.1838937998, -0.1452597231, 0.3211635947, 0.5170558691, 1.1595898867, 0.8918187022, -0.0093621472, 0.8096838593, -0.2717119157, -0.5310795307, 0.0861370042, -1.0460830927, -1.1540060043, -0.322295785, -0.5264334083, -0.2058167607, 0.2281490415, 0.8553435802, 0.5471338034, -0.4818587303, -0.1769186556, -0.6721970439, 0.5759004951, -0.6231091022, -0.2030643374, 0.1456086934, -0.537894845, -0.1795651615, 0.4443531036, 0.1844995916, -0.4143771231, -0.2896391153, -0.2085774541, 0.0660872981, 0.2385397404, 0.2860156894, 0.1359361559, -0.7884938121, -0.0803459361, -0.0725794435, 0.4380105138, -0.037907239, 0.8960936069, -0.8529654741, 0.6087007523, 0.3496347964, 0.5077647567, 0.4825109243, -0.0747407228, 0.6279509068, -0.7381864786, -0.1724920571, 0.1353893727, 0.3541510701, 0.0288414676, -0.2946354151, 0.2763145566, 0.0497003496, -0.4687586129, -0.8025906086, 0.4199030399, -0.7225598097, -0.6651095748, 0.9346566796, -0.3199653327, -0.1151274741, -0.0977842808, -0.0833161622, 0.1711149812, -0.1358163655, 1.0182654858, 0.5954174995, -0.3537072837, -0.3651710451, -0.2815882862, 0.4974026978, 0.1142460778, -0.7737125754, 0.4486775696, 0.3311433792, 0.2899007201, 0.1237286255, 0.5424472094, 0.0488947481, 0.1647130251, -0.0001133435, -0.2598291337, -0.5196225643, -0.4809119999, -0.2767175138, 0.1456543654, 0.2677366734, -0.1483681649 ]
http://arxiv.org/abs/2404.08134v1
http://arxiv.org/pdf/2404.08134v1
Extending Translate-Train for ColBERT-X to African Language CLIR
2024-04-11T21:31:02
2024-04-11T21:31:02
Eugene Yang, Dawn J. Lawrie, Paul McNamee, James Mayfield
cs.IR
cs.IR, cs.CL
This paper describes the submission runs from the HLTCOE team at the CIRAL CLIR tasks for African languages at FIRE 2023. Our submissions use machine translation models to translate the documents and the training passages, and ColBERT-X as the retrieval model. Additionally, we present a set of unofficial runs that use an alternative training procedure with a similar training setting.
[ -0.2902216017, -0.1611400992, 0.2864091098, 0.1632141471, -0.1310844272, 0.0438091047, -0.3963636458, -0.4848159552, 0.4013017714, 0.7193965912, -0.3287853301, -0.1543707699, -0.7086400986, 0.2428910881, -0.7791135907, 0.9803743958, -0.4858363867, -0.0719289035, 0.1989777684, -0.2666722238, -0.1246596649, -0.9193376899, -0.5329206586, -0.3160587549, 0.7112511396, 0.6632862687, 0.7368583083, 0.6407549381, 0.6129156351, 0.1991348267, 0.0445832163, -0.3253522813, -0.7619141936, -0.1099172309, -0.2431864738, -0.3805261552, -0.2288450748, -0.0336612388, 0.5735364556, 0.4155372381, -0.1094141454, -0.0079462146, -0.1875594556, 0.5088192225, -0.7383565903, -0.1178138256, -0.5853784084, -0.0922160819, -0.145408541, -0.1588558853, -0.4932004809, -0.4306152463, 0.2112606913, -0.592676878, 0.3735948503, 0.2139530629, 0.8891448975, -0.2381969839, -0.5478503704, -0.7745890021, -0.4978240728, 0.8724218607, -0.4172810614, 0.5715404749, 0.3795929253, 0.4149979651, 0.1262627989, -1.1626591682, -0.7448234558, -0.1710144877, -0.0842922851, 0.0109756924, 0.0380355641, 0.0148167042, 0.0403086171, 0.6194841862, -0.4723980129, -0.2704211473, -0.6395449042, -0.2953301072, 1.1787518263, 0.1376749873, 0.0334916338, 0.0044003557, -0.391358763, -0.3588071167, -0.485157758, -0.0212608706, 0.6018921137, 0.1636796892, -0.4631241858, 0.3366112411, -0.353526026, 0.6814000607, -0.32619524, 0.1082566008, 0.3906785846, -0.096433118, -0.0624506958, 0.3312436044, 0.7020870447, 0.1184004471, 0.2892086804, -0.3020884693, -0.3986950815, -0.1694371551, 0.2950794399, -0.9085415006, -0.4939176738, -0.0049443664, -0.3273155987, -0.4080925882, -0.203662619, -0.8037090302, -0.128285557, -0.2631310523, 0.4428595603, -0.3557120264, -0.2295042425, 0.1385030299, -0.1964796633, 0.2989915013, 0.2782205641, -0.7406978607, 0.3203340471, 0.3410719633, 0.6643826962, 0.0616049655, -0.2764178514, -0.8591880202, -0.0650076792, 0.0496130101, 0.2890348732, -0.6996715069, -0.6999931931, 0.5101649761, 0.327847451, -0.3531793356, -0.1853909343, 1.2732633352, -0.8081151843, -0.1165843979, -0.6494600773, -0.298630774, -0.4774136841, 0.1369167864, -0.5702214241, 0.9487555027, 0.3900334537, -0.672064662, 0.0251063891, -0.6093466282, -0.6958175302, -0.029260017, 0.1985041052, -0.4826777577, -0.0716406405, 0.3396067321, 0.1354469657, -0.1008208022, -0.0992382839, -0.2508192062, -0.3056029975, 0.0205911119, 0.1534153372, 1.1065459251, 0.5523073673, -0.4777981639, -0.0916909277, -0.9040178061, 0.2091761082, 0.0346925817, -0.3831769824, 0.009684464, -0.2611856163, 0.6219087243, 0.471016854, 0.050120756, -1.0139838457, 0.3232826889, 0.1096013114, 0.4625258744, 0.0709059909, -0.2473184019, 0.5956320167, -0.3175634146, 0.8385717273, -0.2549066544, -0.0425483026, -0.2122732103, -0.460380435, -0.8958218098, -0.114968963, 0.3672439754, 0.8215973377, -0.7478982806, -0.0351880826, -0.3186647296, -0.5957810879, -0.6704095006, 0.3389033973, 0.2192571014, 0.4571631253, 0.5162517428, -0.329900533, -0.9463940263, -0.6787842512, -0.0014040179, 0.034884762, 0.7047793865, 0.1611042619, 1.0405151844, -0.4747867584, 0.4112247229, -0.2101121098, -0.4599890411, -0.6495890021, 0.2057477385, -0.0808487609, 0.6592188478, 0.6627126336, -0.79861027, -0.8510733247, 0.5220239162, -0.6669648886, 0.0234396234, 0.0513636358, -0.1186280474, 0.0243246779, 0.6178743839, -0.1480510086, 0.8934314251, 0.5429227352, -0.0351159796, 0.3883086145, 0.0029842341, 0.2234344333, -0.9396802783, 0.221825853, -0.4008056521, -0.5986961126, -0.607281208, 0.3860947788, 0.184211269, -0.4249058664, -0.5707832575, 0.8828062415, -0.4878438115, 0.0972059444, -0.4295004904, 0.0854797065, 0.0579345226, 0.2974961102, 0.5013716221, 0.7152912021, 0.5289419293, -0.5625652671, 0.4357608557, 0.8887813091, -0.5313413143, 0.4267196357, -0.7127174735, 0.3851585686, 0.0314999521, 0.3212644756, -0.7107827663, -0.2674648762, -0.0333406664, -0.4513143301, 0.3875331581, -0.1092527658, -0.3480963707, -0.5778598785, 0.1565383971, 0.3276243508, 0.5897363424, -0.6144111753, 0.2751689851, -0.0428583175, -0.1219364926, -0.8521624207, -0.741756618, 0.4830031395, -0.0656688213, -0.6743699312, 0.3185868561, 0.0195693206, -0.1804255098, -0.1795835644, 0.4190052152, -0.2136370242, 0.0648701862, 0.0397803038, -0.4114804566, -0.286929518, -0.37909621, -0.057488963, 0.3813028038, 0.0569333918, -0.1646678597, 0.4893368781, -0.1803845018, 0.1921395808, -0.4940734804, 0.7465686202, 0.2516744435, -0.5428386331, 0.9598432779, 0.8115274906, 0.0702615529, 0.15459764, -0.6099228263, -0.0528296232, -0.4334390759, 0.1656950116, -0.4611501694, -0.8236723542, 0.6120558977, 0.1419990063, 0.0491625182, 0.2124330103, 0.6394514441, -0.3638684452, 0.7099490762, 0.9042106867, -0.0228274409, 0.4412864745, -0.8220598102, -0.0397749618, -1.0395627022, -0.0459794365, -0.6587047577, -0.4924803674, -0.330485791, 0.1221942678, 0.1754877716, 0.0992618278, -0.0103026815, 0.9842634797, -0.1842788756, 0.1459005326, 0.401468873, -0.0636083633, 0.0903389826, 0.0788097233, -0.205632031, 0.2110677212, -0.7159075141, -0.4903902709, 1.2052836418, 0.1762667298, 0.5260493159, 0.1304793954, 1.0638619661, 0.4192819893, 0.7831475735, -0.5535371304, 0.2570783198, 0.0839241296, -1.0259094238, -0.2319687009, -0.0548273437, -1.0366309881, 0.1666574627, 0.0701340362, -0.6306818128, 0.7618934512, 0.1472887099, 0.018034162, 0.4205798209, -0.4945600331, 0.9406293631, -0.40965271, -0.3842844665, -0.3389077187, -0.9097854495, 0.3211054504, -0.224307552, 0.1812046021, 0.380880475, 0.3352095485, 0.6863545775, -0.5759738684, 0.4594867826, -0.171704188, -0.2119876295, 0.6792454123, 0.215287149, 0.6521331668, 0.0524572358, -0.7745761871, 0.1372629404, -0.0389047526, -0.6364721656, -0.1939167082, 0.5299429297, -0.9377118945, -0.4132752419, -0.6013051867, -0.882932663, 0.1973877996, 0.2418195605, 0.6723101735, 0.5912911296, -0.3746850789, 0.2557317317, 0.1685935259, 0.1056985557, 0.6509925127, 0.210946545, -0.2480906397, -0.7891682982, 0.7039183974, -0.1175789163, 0.4723736942, 0.5885239244, -0.2585951984, -0.3538760543, -0.6549617648, -0.498209089, 0.2807630599, -0.7774620056, 0.0286840908, -0.8042672873, -0.1670716852, -0.5932078362, -0.5819576383, 0.0250860136, -0.5368090868, -0.2575457394, 0.038461592, 0.1568912417, 0.6644559503, -0.3787808716, 1.2361639738, -0.7004984021, -0.0739937127, 0.1716594547, -0.2401741147, -0.307916671, -1.1614329815, -0.7841082215, 0.1923887283, -0.804616034, -0.7077535987, 0.8702007532, 0.5314837694, 0.3684721291, 0.1762688905, 0.125276193, 0.5357198119, -0.5703089237, 0.5837127566, 0.3498361111, -0.9320792556, 0.5952364206, -0.2392614484, -0.1551219076, 0.9841884375, 0.7889038324, -0.3294758797, 0.0302166343, -0.5374538302, -0.2167365402, 0.6033177972, 0.6042779088, 0.182555452, -0.1394288391, 0.3366841078, 0.180569157, 0.3602033854, -0.7076258659, -0.0860919356, -0.5059010386, 0.1724880189, -0.2288402468, -0.2617777586, -0.0691663548, -0.4419045746, 0.7858065963, -0.0510544032, 0.3187898993, 0.5696522593, -0.6601967812, -0.1211689413, 0.4596105516, 0.9110648632, 0.8413009644, -0.4147410095, -0.3219762146, 0.0821516961, -0.5761632323, 0.4157269597, 0.1172384545, -0.0312103517, 0.2235596031, 0.393355459, 1.0379008055, -0.0203480404, -0.3360646665, 0.7047119737, 0.0728600845, -0.5120241046, -0.8270817399, -0.0846374556, -0.195555985, -0.0434847102, 0.1382452101, 0.1768722832, 0.1940652281, -0.7654693127, 0.2871189117, 0.1494728476, -1.0645067692, -0.6477639675, 0.9270656109, 0.7697575092, -0.2881840467, 0.8504810333, -0.5648715496, -1.006331563, 0.4478716552, 0.5260536671, 0.8356285095, -0.354914248, 0.0302650444, 0.658554852, 0.5394541025, 0.1255577654, 0.9101002216, -0.1710642427, -0.5155717731, -0.3447263837, -0.4562158585, -0.2263495773, 0.1676624715, -1.080601573, 0.6328813434, -0.0399682745, -0.119866617, -0.4079480469, -0.1017591953, -0.9156173468, 0.4867452681, 0.3405550718, 1.3774534464, -0.6447327137, 1.2959774733, 0.7491028309, -0.2953644991, -0.3122705221, -0.2820660472, -0.3137093484, -0.8428209424, 1.0650428534, -0.0283112898, 0.2389330864, 0.1684441715, -0.5470821857, -0.6743821502, 0.8772304058, 0.3226214051, -0.8326345086, -0.0111369798, 0.279337436, 0.1909703761, -0.5743017197, 0.3370694816, 0.6275743246, 0.484678179, 0.0217238441, -1.2094460726, -0.4078125656, -0.184258312, -0.2042652667, 0.1719662398, -0.7319684625, 0.6839537024, -0.6095123887, -0.1265532523, 0.7255715728, 1.0707587004, -0.2641935945, 0.296058476, 0.4716882706, 0.8362348676, 0.5361558795, 0.0454970635, 1.4304286242, -0.4762688577, 0.4469542801, 1.1919668913, -0.5154852867, 0.9301282763, 0.3548617065, 0.0259610843, 0.8829076886, 0.4741432071, 0.3199343085, 0.6158864498, 0.323674649, -0.3093235195, -0.3063995242, -0.203690052, -0.59661448, 0.3947930038, 0.5001116395, -0.4935000539, -0.1118695065, 0.27729702, 0.2445011139, 0.1864168793, -0.3612672985, 0.3062434494, 0.3588285148, -0.6870184541, 0.9627961516, -0.0599388741, 0.3154316545, -0.5651002526, 0.0629123598, -0.1286699176, 0.3934098184, -0.2998814881, -0.8052148223, 0.3140955269, -0.326936841, -0.0576020218, -0.1620409638, 0.3428297639, -0.6202568412, -0.6777925491, 0.2886300385, 0.0732532218, 0.2624038756, -0.1158549041, -0.6790083051, 0.2256837785, 0.3116431236, 0.2133910507, 0.0495195389, 0.401240617, -0.1799307764, 0.5672906041, 0.372674644, 0.1503778845, 0.4852725863, -0.2497112304, 0.5944224, -0.5483314991, -0.6535003185, -0.3955853581, 0.2402358502, -0.1701458842, -0.6128483415, 0.5994644165, 0.8366763592, 0.8288343549, -0.367792815, 1.1452823877, -0.339074105, 0.4599507153, -0.2208117992, 0.6608583927, -0.4232540131, -0.3263425827, -0.0554106273, -1.0351383686, 0.1474094987, 0.3714800775, -0.33376351, -0.3120369911, 1.0405818224, 0.5799590945, -0.3291413486, 0.1740641445, 0.374609381, -0.0408747084, 0.3814817369, 0.6490927339, 0.8503878117, -0.9976899624, 0.9594398737, -0.6053041816, 0.1086119413, -0.4322748184, -0.8541097045, -1.0327701569, -0.7538942695, -0.4529718459, -0.4964313507, 0.0745696723, 0.7440240979, 0.8782842755, -1.1573418379, -0.5849257112, 0.3077166378, -0.1628211588, -0.3243767023, -0.1562872082, 0.3201049864, -0.4379065335, -0.6042835116, 0.4867297411, -0.1803825051, -0.0123183755, -0.0589383356, -0.3942439258, -0.5254397988, -0.1745029688, 0.7203688025, 0.6876986027, -0.5470168591, -0.3145558834, 0.083895117, -0.0165806878, 0.1474715322, 1.1037688255, -0.7197802067, 0.3838233054, 0.518642664, 0.8576062918, 0.7672843933, -0.2496880591, 0.8323414326, -0.5729733706, 0.4031597376, 0.0858246088, 0.6045020223, 0.5912813544, -0.3292374313, 0.7713780999, 0.3718696833, -0.6364206076, -0.7513227463, 0.1188502386, -1.3128986359, 0.5048822761, 1.3544459343, -0.3021319211, -0.3522063196, -0.4261838794, -0.3674135208, -0.0771860406, -0.3000323176, 0.4446450174, 0.7243516445, 0.3571436703, -0.2564922273, -0.8125060797, 0.4137833714, 0.2975506485, -0.540176928, -0.3081323504, -0.1601549983, 0.1574373692, 0.189184621, 0.3498932123, -0.0363615528, 0.5977496505, -0.315020591, 0.4297707379, 0.1825396568, -0.2390114218, -0.1579607576, -0.0614823736, -0.2516805828, -0.1751874983 ]
http://arxiv.org/abs/2404.08118v1
http://arxiv.org/pdf/2404.08118v1
HLTCOE at TREC 2023 NeuCLIR Track
2024-04-11T20:46:18
2024-04-11T20:46:18
Eugene Yang, Dawn Lawrie, James Mayfield
cs.CL
cs.CL, cs.IR
The HLTCOE team applied PLAID, an mT5 reranker, and document translation to the TREC 2023 NeuCLIR track. For PLAID we included a variety of models and training techniques -- the English model released with ColBERT v2, translate-train~(TT), Translate Distill~(TD) and multilingual translate-train~(MTT). TT trains a ColBERT model with English queries and passages automatically translated into the document language from the MS-MARCO v1 collection. This results in three cross-language models for the track, one per language. MTT creates a single model for all three document languages by combining the translations of MS-MARCO passages in all three languages into mixed-language batches. Thus the model learns about matching queries to passages simultaneously in all languages. Distillation uses scores from the mT5 model over non-English translated document pairs to learn how to score query-document pairs. The team submitted runs to all NeuCLIR tasks: the CLIR and MLIR news task as well as the technical documents task.
[ -0.4442420304, -0.5270503163, 0.4790556729, 0.1576455981, -0.3119465411, 0.3928782046, -0.2158273011, -0.628395617, 0.2968634963, 0.5356506109, -0.4906789362, -0.5084820986, -0.6744984984, 0.4706001878, -0.514331162, 1.2329577208, -0.3023874164, 0.2471392602, 0.1753733158, -0.2072149664, -0.3050121963, -0.3378490508, -0.7050560713, -0.5582415462, 0.8831532001, 0.5690347552, 0.3360058665, 0.3519236743, 0.6921883821, 0.2679772973, -0.2541752756, -0.2344522774, -0.6169170737, 0.1986847818, -0.3308016062, -0.3915242553, -0.5072804093, 0.3854953647, 0.5885359645, 0.2950454056, -0.1990689635, 0.0692581981, 0.1930890977, 0.4081998169, -0.5028484464, -0.0878532603, -0.5955725312, 0.1174923182, -0.3088505566, -0.3912781179, -0.689637363, -0.4342651963, 0.0639103949, -0.814637959, 0.3423339725, 0.3967269957, 1.0719301701, 0.0059860498, -0.8405778408, -0.6917577386, -0.4802900255, 1.0860536098, -0.386410296, 0.7313435674, 0.3860109448, 0.3771153092, 0.116122134, -1.05597651, -0.463086009, -0.1594091952, 0.0328331701, 0.3149892092, 0.0912861973, -0.0471705906, -0.0372672528, 0.2906119525, -0.4398975074, 0.0746442825, -0.7631364465, -0.2019701004, 0.5767115355, 0.2184280306, -0.1800867766, -0.159583196, -0.5784501433, -0.3304078877, -0.4339830279, -0.3273792863, 0.3712622821, 0.0930536091, -0.3680161536, 0.2964019477, -0.0168872941, 0.5001918674, 0.2861829102, 0.0692375973, 0.2676531672, -0.5242626071, -0.3431449234, 0.2469961792, 0.9144851565, -0.0328055397, 0.1306029409, -0.2368344963, -0.4959542155, -0.7361503243, 0.3177456558, -0.6922748685, -0.2913166583, 0.0024887109, -0.4137972295, -0.3974445164, -0.2154389024, -0.8974945545, -0.0489532426, -0.42698434, 0.5347465277, -0.4557286203, -0.2828455567, -0.1458876729, -0.3212623, 0.3905703127, 0.4534867406, -0.770830214, 0.2010158449, 0.51458323, 0.7197239995, -0.2615063488, -0.7119360566, -0.9395157099, 0.140675962, -0.2434784919, 0.6123008728, -0.4888349473, -0.4632223248, 0.0013253281, 0.3860270083, -0.2945549786, -0.2919669449, 0.9019658566, -0.678707242, 0.5977525115, -0.5468579531, -0.2449931055, -0.1347236037, 0.3394246399, -0.8142769933, 1.1912105083, 0.2161946297, -0.896225512, 0.3787399828, -0.7199630737, -0.5930072665, -0.0857704878, 0.5026038885, -0.4309641421, 0.112079747, -0.002047179, 0.2458915412, -0.3011249006, 0.2404994667, -0.0101527432, -0.3917571902, -0.1201122478, -0.1445736289, 0.9680113196, 0.5346127748, -0.3373172879, -0.0358305462, -0.4635917544, -0.1666778922, -0.2199809104, -0.8756445646, -0.1057215109, -0.5037076473, 0.6737684608, 0.4005172551, 0.1646213084, -0.6897090673, -0.0067907418, 0.0552345179, 0.6522250772, 0.4391146898, -0.0387358405, 0.6010294557, -0.2975750566, 0.6448897123, 0.0658622533, 0.2947385013, 0.1171477661, -0.5669304132, -0.8061479926, -0.0092858961, 0.730312407, 0.5141732097, -0.9788600802, -0.2152729034, -0.2359418273, -0.4825860858, -0.6339686513, -0.0079193451, 0.4054308236, 0.6004843116, 0.6149662733, -0.0174023695, -0.6436361074, -0.8256376982, 0.0172552075, 0.0207999386, 0.380305022, -0.1920721233, 1.0110762119, 0.0436756238, 0.3005078435, -0.0429969653, -0.3208707869, -0.5334791541, 0.5817331672, 0.2853588462, 0.6350191236, 0.4875822663, -0.8345194459, -0.8195489049, 0.2601478696, -0.5345100164, -0.0453786962, 0.1506522596, -0.3902674019, 0.4161813855, 0.6662521958, -0.2378001511, 0.3959369063, 0.641567111, -0.0702665821, 0.4132100046, -0.2917612493, 0.6380754113, -1.4395684004, 0.012661932, -0.116207391, -0.392831862, -0.469024092, 0.1038716957, 0.3022231758, -0.0869385898, -0.7769572139, 0.4403166771, -0.6649500728, 0.0794083253, 0.0132662645, 0.1501452774, 0.3698191941, 0.3112930954, 0.1988830864, 0.626411438, 0.2531818748, -0.5874893069, 0.407584548, 0.3334284425, -0.1368382722, 0.7790248394, -0.6241973042, 0.2327758968, 0.1493133903, 0.0196201149, -0.9624853134, -0.0915150121, -0.1625836045, -0.6120421886, 0.686414063, -0.2559376955, -0.2956612408, -0.5466125607, -0.1358097643, 0.2837233841, 0.4399833679, -0.4583528638, 0.7218316197, 0.3200129867, 0.1340879053, -0.5554575324, -1.0781904459, 0.4081725478, -0.4230652452, -0.4981697798, 0.5516127944, 0.0454644412, -0.1470508426, 0.0564855784, 0.1870087534, -0.4166954756, -0.0049932655, -0.1442524493, 0.0876988098, -0.301815033, -0.0913455635, -0.0512064695, 0.084463194, -0.1235034168, -0.4114982784, 0.6136534214, -0.0032517931, -0.0047370372, -0.6240412593, 0.3643602431, 0.6832740307, -0.3926689029, 0.6939283013, 0.8949306607, -0.0634725019, 0.1116225421, -0.7971417904, -0.1980728954, -0.4258723557, 0.2956844866, -0.6535412073, -0.7420765758, 0.5254661441, 0.3025574684, 0.2138097733, 0.5286543965, 0.6118701696, -0.4924149513, 0.5776014924, 0.6470085382, -0.0706765503, 0.5349857211, -0.4118908048, -0.0324968696, -0.9721625447, -0.4515454471, -0.9143106341, -0.5170413256, -0.8490307927, -0.2229070812, 0.3838933706, -0.1260307282, -0.1308339387, 0.9349495173, -0.4202208221, 0.3791697919, 0.84294945, -0.1049705967, 0.367900908, -0.0574148111, -0.3605590463, -0.1677098572, -0.7680030465, -0.2589577436, 1.1899939775, 0.2841201723, 0.6789989471, 0.1219875365, 1.1739364862, 0.1284334213, 0.5079033971, -0.7033486962, 0.2116210312, -0.2002816796, -0.7949095368, -0.3236660659, -0.2669625282, -0.9163451791, 0.0182594322, -0.1764659584, -0.2399135381, 0.5104593635, -0.0313167125, 0.1000374556, 0.3003683686, -0.537863791, 0.7521088719, -0.3659358919, -0.8195812702, -0.2092052847, -0.4921387732, 0.3915962875, -0.2547994852, 0.3400755525, 0.282669425, 0.1772518456, 0.9173232913, -0.0660813227, 0.3782260716, -0.1005879417, -0.1961993575, 0.2379119247, 0.3903930783, 0.6182688475, 0.0347485095, -0.6465249658, 0.0134803914, 0.0568575636, -0.4257697463, 0.013328407, 0.6092916727, -0.683994174, -0.5871104002, -0.490716666, -0.5068966746, 0.086927101, 0.3584882319, 0.6378955841, 0.3919824064, -0.4056696594, 0.485958606, 0.5515395403, -0.0474595465, 0.7975251675, 0.5685073733, -0.0207747538, -0.7486078739, 0.5887234211, -0.1655733883, 0.4594652951, 0.7695162296, 0.0334959961, -0.6448999047, -0.8024157286, -0.3128916621, 0.2717115283, -0.6314569116, -0.025925478, -0.7308475375, -0.1166467369, -0.5835095644, -0.2408133894, -0.3084395528, -0.4067094028, -0.1138549894, -0.0104703251, -0.0243418012, 1.0523833036, -0.2099657953, 0.4442597628, -0.6227794886, 0.0503359064, 0.2604313791, -0.0587159321, -0.5167176127, -0.9952439666, -0.5482878089, 0.0334342495, -0.6754471064, -0.8314210176, 0.5439212918, 0.1615509391, 0.6493886709, -0.1568819731, -0.0954830945, 0.6533861756, -0.4110001326, 0.5846807361, 0.4071523547, -1.0159202814, 0.6528373957, -0.4259600043, 0.1227964908, 0.9882988334, 0.4801973403, -0.5571236014, -0.4317546785, -0.4143400192, -0.3605638444, 0.8599444032, 0.2630885243, -0.0631731525, -0.0878534988, 0.0137572912, 0.007136568, 0.2764298618, -0.8896868229, 0.3422841132, -0.4621495008, -0.08989764, -0.0510903783, -0.2271943092, -0.0523405485, -0.2825540006, 0.747163713, 0.0086582508, -0.0321843512, 0.3289606273, -0.2477346808, 0.0071074096, 0.3963269293, 0.7372872233, 0.7138208747, -0.4209785461, 0.104111664, 0.2559910119, -0.6520935893, 0.1027492657, -0.0900470093, 0.0242614821, 0.2482556999, 0.5497656465, 0.7534020543, 0.3140511513, -0.0976557657, 0.401545614, -0.0776854679, -0.7928058505, -0.245997414, -0.2363346964, 0.2866131961, 0.0927676335, 0.250938952, -0.1476751864, 0.1440348327, -0.6937666535, 0.2797508836, 0.0476282313, -0.9543374181, -0.3537838757, 1.0084477663, 0.6620822549, -0.2653006315, 0.8689210415, -0.3133568466, -0.6691224575, 0.6762068272, 0.4530808628, 1.0342515707, -0.481657356, 0.2222980559, 0.7187026739, 0.5935300589, -0.1451304406, 0.3451770246, -0.101344347, -0.4176644981, -0.2361002266, -0.7351139188, -0.3918092549, 0.0273662284, -0.9073141813, 0.6794842482, 0.0353142507, -0.2248004079, -0.1045558602, 0.1406370848, -0.81053406, 0.1952493042, -0.0773439407, 1.1414541006, -0.7017874122, 1.2726743221, 0.7008740902, -0.4635525346, -0.7423831224, -0.0043259701, -0.1656221747, -0.6870099902, 1.2625205517, -0.2809773386, 0.0653311387, 0.2343239188, -0.2672333419, -0.6472919583, 1.2625184059, 0.1218626648, -0.802275598, -0.0785578936, 0.1854634285, 0.3799987137, -0.4210321307, 0.3990601897, 0.5283563733, 0.7424213886, 0.4457524419, -1.4274897575, -0.3824391961, -0.0743194818, -0.3787856698, 0.2270337492, -0.5675193667, 1.1614238024, -0.3081804812, -0.117339097, -0.1051887944, 0.4090454876, 0.1270199567, 0.4762201011, 0.2832708955, 0.7347412109, 0.681392312, -0.2529320419, 1.0741378069, -0.3777175844, 0.5104060769, 1.3540832996, -0.3638861477, 0.8309873939, 0.6933010221, 0.0043415586, 0.3877846301, 0.7448941469, 0.1685848236, 0.659211874, 0.0204332452, -0.0674218014, -0.296892494, -0.262824595, -0.2900692523, 0.6040124297, 0.1577849388, -0.4814419746, -0.2616594434, 0.0877556279, 0.0915058777, 0.0257715452, -0.1418213248, 0.681193769, 0.1500140578, -0.9621449709, 0.8367784619, 0.1330216974, 0.6444994807, -0.402687192, 0.1550283432, -0.4617727995, 0.1843357086, -0.0835864469, -1.0270578861, 0.4314494133, -0.1616478711, 0.0452245995, -0.5651932955, 0.1248578653, -0.5825105309, -0.6209241748, 0.4246726036, 0.4101211727, 0.1521105617, 0.0739543065, -0.6717143655, -0.0008929868, 0.1529688835, -0.2339522988, 0.101738438, 0.8515684605, -0.1462244689, 0.4752114713, 0.3969047666, 0.0274336841, 0.2198333442, 0.1994126588, 0.7178204656, -0.7226493955, -0.3819270134, -0.6588700414, 0.2607349455, -0.2564911246, -0.5733925104, 0.5735241175, 1.0231589079, 0.710036993, -0.1506781131, 0.6173561215, -0.1677326411, 0.2416651696, -0.6356714964, 0.6821337342, -0.7315564752, -0.0859994069, -0.0737432986, -0.9540672302, 0.2353533655, 0.2385600358, -0.3383424878, -0.130412519, 1.382978797, 0.5923002958, -0.2732605636, 0.0233547091, 0.3383938968, 0.1722635925, 0.3506388664, 1.0592281818, 0.8702040315, -0.7354182005, 0.907313168, -0.3786597848, 0.1896836311, -0.1184950843, -0.9414700866, -1.0860689878, -0.9221109152, -0.2067395598, -0.4139628112, 0.1658999771, 0.493342787, 0.7916132808, -0.8985272646, -0.4867149889, 0.0140470006, 0.2829479277, 0.2196976691, -0.2714553177, 0.0930450708, -0.4335087538, -1.1677165031, 0.3287840486, 0.3441366553, 0.1771818846, -0.064850159, -0.172536701, -0.6083137393, -0.3487749696, 0.4094111323, -0.0642807335, -0.4849419296, -0.1530563533, 0.3472021222, -0.3558909595, 0.2071267813, 0.8825187683, -0.5492252707, 0.1654184759, 0.8106119633, 0.2537551522, 1.0522990227, -0.2160973549, 0.7469838858, -0.4243685305, 0.3220661581, 0.3546206057, 0.3732810616, 0.3492395282, -0.1884649843, 0.7215370536, 0.3585039675, -0.5416849852, -0.7682237029, -0.0723910034, -0.9351826906, -0.0422652252, 1.0294357538, 0.0810696781, -0.4341820478, -0.5193173289, -0.0250318684, 0.201849848, -0.323838383, 0.598739624, 0.9126371741, 0.268458724, -0.3138215244, -1.0051625967, 0.4057105482, 0.1427435577, -0.6346939802, -0.3508148193, 0.126606673, 0.5219987631, 0.0567725524, 0.7142205834, -0.2987490892, 0.2782229483, -0.1544620842, 0.2881053984, -0.1030269414, -0.3376366794, 0.0666920021, 0.1410553753, -0.132660985, -0.2615319788 ]
http://arxiv.org/abs/2404.08111v1
http://arxiv.org/pdf/2404.08111v1
S3Editor: A Sparse Semantic-Disentangled Self-Training Framework for Face Video Editing
2024-04-11T20:25:26
2024-04-11T20:25:26
Guangzhi Wang, Tianyi Chen, Kamran Ghasedi, HsiangTao Wu, Tianyu Ding, Chris Nuesmeyer, Ilya Zharkov, Mohan Kankanhalli, Luming Liang
cs.CV
cs.CV, cs.AI, cs.CL
Face attribute editing plays a pivotal role in various applications. However, existing methods encounter challenges in achieving high-quality results while preserving identity, editing faithfulness, and temporal consistency. These challenges are rooted in issues related to the training pipeline, including limited supervision, architecture design, and optimization strategy. In this work, we introduce S3Editor, a Sparse Semantic-disentangled Self-training framework for face video editing. S3Editor is a generic solution that comprehensively addresses these challenges with three key contributions. Firstly, S3Editor adopts a self-training paradigm to enhance the training process through semi-supervision. Secondly, we propose a semantic disentangled architecture with a dynamic routing mechanism that accommodates diverse editing requirements. Thirdly, we present a structured sparse optimization schema that identifies and deactivates malicious neurons to further disentangle impacts from untarget attributes. S3Editor is model-agnostic and compatible with various editing approaches. Our extensive qualitative and quantitative results affirm that our approach significantly enhances identity preservation, editing fidelity, as well as temporal consistency.
[ 0.1032446697, -0.7006185651, 0.7087279558, 0.2795426548, 0.1283556223, 0.1542143375, -0.1156893, 0.0274258833, 0.1221462339, 0.3526828587, -0.9483245015, -0.3478921056, -0.7459390163, 0.2379091382, -0.4771048725, 1.2135962248, -0.3836665452, -0.0683218762, -0.3500480652, -0.1563571393, -0.4058967829, 0.0697697625, -0.4632945657, 0.120739989, 0.4641664922, 0.102773726, 0.7660350204, 0.8469898701, 0.3115601838, 0.4193765521, -0.2871733606, 0.1844631135, -0.4192405343, 0.066166386, -0.3743127882, 0.0167185199, -0.7061196566, 0.1029513329, 0.6094809771, 0.5083437562, -0.1955883652, 0.3729413748, 0.163411051, 0.8230307698, -0.9055646062, -0.1719094366, -0.6198345423, 0.2726031244, -0.191054076, 0.1688706279, 0.1661572307, -0.0354049727, -0.2647977173, -0.8567588329, 0.5026687384, -0.5172675848, 0.5815448165, 1.0036211014, -0.0439447016, 0.2676106989, -0.5721821189, 0.3888400197, -0.0913317427, 0.4210025668, 0.2930668294, 0.4970378876, -0.0480704568, -0.7044318318, -0.6859001517, 0.4822439849, 0.3051532209, 0.2491419464, -0.2983261049, 0.2423012704, 0.2584125102, 0.3917910159, -0.3450408578, 0.1744664013, 0.0776228607, -0.1753121316, 0.6573601365, 0.1566646993, 0.2684671283, -0.2355375886, -0.2122357935, 0.1456710249, -0.5487697721, -0.1564101279, 0.6821908355, -0.1929097325, 0.2003605515, 0.2789946496, -0.5552095771, 0.5771695971, 0.4063522518, -0.291680336, 0.1157300323, 0.0208140966, -0.2528819144, 0.2227445394, 0.6893160343, 0.5247924328, -0.3217985332, -0.3021101654, -0.2010218054, 0.0736931711, 0.4793047607, -0.7673432231, -0.3551979661, 0.4077095687, -0.5308312774, -0.7638600469, -0.2524791062, -0.7764621973, -0.4718612134, -0.1334500164, 0.7386207581, -0.1520632654, -0.283177346, 0.3437591791, -0.2174715996, -0.3669879735, 1.0275967121, -1.2428667545, 0.2754472196, 0.4439282715, 0.7648454905, -0.3039520085, -0.6492802501, -0.4593159556, 0.4091596007, -0.0624466203, 0.4523437619, -0.0801312849, 0.0086151045, 0.050860744, -0.1290281862, 0.1681289673, -0.3906621337, -0.0864805281, -0.6460386515, -0.3583995998, 0.140446797, -0.2361066937, 0.1857532114, 0.1776116341, -0.7978439927, 1.2220124006, 0.244247511, -0.5231217146, 0.3851976097, -0.3497293591, 0.0543345399, -0.0472915806, -0.1818951517, -0.6802942753, 0.1523123831, 0.304076463, 0.5726566911, 0.2312544286, 0.3931787908, -0.2190077901, -0.2023729086, 0.034259446, -0.2058036625, 0.6403348446, 0.0217837784, -0.265696913, -0.0108326199, -0.938552618, -0.3642047346, 0.0073846905, -0.0247267019, 0.0478938743, -0.0947744176, -0.2168141901, 0.1573366672, 0.301931411, -1.0777671337, 0.3646346033, 0.1901176423, 0.5509985685, 1.0917505026, 0.1165237948, 0.3425518572, 0.0243633352, 0.1457016915, 0.0140592689, 0.4839513898, 0.2806513608, 0.0709443465, -0.6200095415, -0.5350338221, 0.0319797657, 0.2801876068, -0.8124163151, 0.1440352499, -0.359233737, -0.343259871, -0.6091011763, 0.7479377389, 0.229462415, 0.4798633456, 0.4958364666, 0.0556144975, -0.1247552037, -0.8934068084, -0.6227226257, 0.2986211479, -0.1070624441, -0.0980277061, 0.563837707, -0.3968304098, 0.9537864327, -0.524335444, -0.7277060747, -0.2365021706, -0.0247871056, 0.0341503732, 0.6911919713, 0.45933339, -0.5252637267, -0.4043276906, -0.3418894708, -0.9105352759, -0.1232847422, -0.5032762289, -0.3622861207, -0.2287184447, 0.6415727735, -0.6499429345, 0.6943652034, 0.3661708236, 0.26755777, 0.2969005406, 0.0150038768, 0.1012971029, -0.7051502466, -0.2070748061, -0.1429542303, -0.3120366335, -0.6245530248, -0.3369663656, 0.2470245659, -0.3692702651, -0.5113605261, 0.3183358908, -0.1856795847, 0.0474814139, -0.0712761953, 0.1501397043, 0.1643960029, 0.8556599617, 0.1758610457, 0.6332303286, 0.4830814302, -0.3536208868, 0.4765670002, 0.6603363752, -0.2354708761, 1.0281534195, -0.6704154611, 0.2022320777, -0.3456556201, 0.0312729329, -0.6116910577, -0.4579910934, 0.0098651778, -0.3195594549, 0.3329045177, -0.3943511248, -0.6542109847, 0.0289860126, -0.5361165404, 0.447401762, -0.0480000749, -0.9527326822, 0.7698857188, 0.2881450355, 0.0676125363, -0.5396670699, -0.6211114526, 0.1596768051, -0.1474451274, -0.6928760409, 0.8263549209, 0.078366071, 0.2401054502, 0.1073342413, -0.572915256, -0.1684764922, 0.1495741308, 0.3397529721, 0.2943370938, 0.4380962253, -0.1409050226, 0.3521232605, -0.2133768499, -0.0569760799, 0.1323264986, -0.3971537948, -0.0599652044, -0.2107029706, -0.9030290246, 0.4792452455, 0.2171065658, -0.1371278316, 0.3840434849, 0.4281452, -0.3110709786, -0.2803806067, -0.6521826982, 0.2733807862, -0.5638954639, 0.5357214808, -0.3772954941, -1.0912451744, 0.5068600178, -0.4638858438, -0.1320772767, 0.3612127006, 0.3575921655, -0.3624198735, 1.0871045589, 0.5180829167, 0.3260189891, 0.6598311067, -0.4487656057, -0.0832265913, -1.1289590597, -0.138367936, 0.084881857, -0.2417677194, -0.4397568107, -0.0137078119, 0.7945924401, 0.0108065642, -0.4190658927, 0.3762786984, -0.502227664, 0.6640718579, 0.2350095361, 0.3230800033, 0.0394873843, -0.3210094869, 0.4710420966, -0.205220446, -0.5835903883, -0.1933492124, 0.7884036899, 0.479218632, 0.9824458957, 0.4586894512, 0.7793803811, 0.4367929101, -0.0450808443, -0.335247159, 0.4105043709, -0.1039911807, -0.5377118587, -0.2930342257, -0.2773282528, -0.3855884969, 0.066425018, -0.349047929, -0.9120377302, 0.3086085021, 0.5527695417, -0.48987782, 0.3963981271, -0.2537487149, 1.4290351868, -0.2572846115, -1.071125865, -0.1316276938, -0.7322888374, 0.2623153031, 0.0051145097, -0.2371163219, -0.1354677081, 0.0594690181, 0.5231887102, -0.7970606685, 0.919365406, -0.3673034012, 0.2552773952, 0.0486291237, 0.4256941378, 0.4770391285, 0.4635899961, 0.4028282166, 0.3843321502, 0.1329070479, -0.1213070527, -1.051746726, 0.650632143, -0.9139426947, -0.611128211, -0.5728695989, -0.0834729224, -0.3569687903, 0.2131034285, 0.0371778011, 0.3469890058, -0.1963680685, 0.1282259971, 0.7825053334, -0.1754068434, 0.3614525199, 0.2073526978, 0.2027745098, -0.6575738192, 0.9537425041, -0.2383142412, 0.3632394075, 0.0993375033, -0.1077809185, 0.0752848536, -0.4010205567, -0.9089933634, 0.0156478286, -0.6681155562, -0.6360728145, -0.6692946553, -0.3474965692, -0.3733561635, -0.3862302303, -0.8499733806, -0.4498220384, -0.3926355839, -0.038398277, 0.5686967969, 0.5346700549, -0.3084880412, 0.795335114, -0.5644800663, 0.5537888408, 0.6938282847, 0.8271089196, -0.2475723177, -0.3054920137, -0.3977838457, -0.3252506852, -0.3898162246, -0.9201904535, 0.0247763433, 0.4612743258, 0.4056150913, 0.1399624199, -0.2753945589, 0.8809699416, -0.6860591769, 0.823628068, 0.0723705813, -1.2338240147, 0.7357423902, -0.321950376, 0.1733169556, 1.0319888592, 0.1088867337, -0.5605124235, -0.2535554171, -0.5702484846, -0.4668569565, 0.9505184293, 0.1749067456, 0.1778306812, 0.0796770751, 0.3809891343, 0.171784237, 0.4824705124, -0.6388744116, -0.0948090106, -1.0241891146, -0.1200329214, 0.4987952411, -0.3579233289, -0.2149497569, -0.2002487183, 0.5587874651, -0.1130956337, 0.1744333953, 0.3318410218, -0.4371731579, 0.0056772302, -0.1412548572, 0.2359608412, 0.2083406448, -0.5402114391, -0.0518800654, 0.2508850992, -0.6683900952, 0.197358042, -0.1470455378, -0.1596581191, -0.2102343291, 0.3508697152, 0.9756681323, 0.2368842661, -0.2759474814, 1.1258406639, -0.1606975943, -0.4373354614, -0.2400009036, 0.1104822084, -0.4719017446, 0.1110809594, 0.0407186933, 0.3004225791, 0.5549997687, -0.0943852141, 0.00195498, 0.1411486715, -0.1518438458, -0.2999384999, 1.1123197079, 0.2513216436, -0.004069461, 0.433382839, -0.0459591784, -0.3909533024, 0.0787800029, 0.1712049097, 1.1394456625, -0.1123282686, 0.3043285906, 0.3363837004, 0.1780344695, 0.0047490201, -0.1310810298, -0.4934012294, -0.5355718136, -0.2253021151, -0.6404822469, -0.1736416668, 0.1200732589, -0.7597791553, 0.2553384006, -0.7942091823, 0.0258267969, 0.2476549447, -0.325771749, -0.6503540874, 0.3115661442, -0.2061179131, 0.818192184, -0.8439891934, 0.4330970347, 0.3186610937, -0.4156779051, -0.4800337851, -0.3229500353, 0.5011212826, -0.5180202723, 0.6570484042, 0.0998454913, -0.4354199469, -0.038096793, -0.3787253201, -0.7779815197, 1.1307467222, 0.3077941537, -0.2121752501, 0.1712717712, 0.0178822875, 0.4038400352, -0.1389459819, -0.1070801094, 0.5809832215, -0.1087913439, 0.182623893, -0.5866031051, -0.2340990156, -0.262093395, 0.4325657487, 0.0397882946, -0.8556647897, 0.5780648589, 0.1991527975, -0.127533555, 0.0436729826, 0.6833876967, -0.3427208364, 0.0137757966, 0.5453256965, 0.7301153541, 0.1427720934, 0.0619675182, 0.5388981104, -0.2252877206, 0.1269539446, 1.225127697, -0.209037438, 0.3947862685, 0.5589771867, -0.0216993485, 0.4598096013, 0.566149652, -0.032151334, 0.8673242927, -0.2278676331, -0.5600753427, -0.3960882127, 0.2232268453, -0.0113482056, 0.9171251059, 0.0313811265, -0.1839179993, -0.3527820706, 0.1170625836, 0.2656456828, 0.2738295794, -0.3451119065, 1.0884979963, -0.5836675763, -0.3197650909, 0.0862084106, -0.0742624179, 0.1735178232, -0.4872586727, -0.3134147227, -0.2471464723, 0.047863882, -0.4259707034, -0.8152033687, 0.4464696348, 0.3473345339, -0.0214319583, -0.7231017947, 0.5383558869, -0.3982146978, -0.2525050342, -0.1752408892, 0.0947421342, -0.0972011164, -0.0291757155, -0.6675307751, 0.4345684052, -0.2396586984, -0.2173410505, 0.4489110112, 0.5460363626, 0.1338983029, 0.278460592, 0.4422104657, 0.1207552552, -0.368245244, 0.0082177306, 1.106910944, -0.3714215159, -0.4624569714, -0.7949675322, 0.6621198058, -0.4171661139, -0.4180169702, 0.7122129798, 0.5270298719, 0.8264468908, -0.1963350177, 0.5693415403, -0.0035482107, 0.4442902207, -0.6774495244, 0.6678020954, -0.5824157596, 0.0934214517, -0.6110618114, -0.8931147456, -0.3504801989, 0.6997737288, 0.0773117915, -0.1354449242, 0.2773251832, 0.9204768538, -0.1578266323, -0.1386023313, 0.061521437, -0.0634445921, 0.17657426, 0.2966438532, 0.743778646, -0.5198234916, 0.134463191, -0.4831010401, -0.4767895341, -0.1223842502, -1.0437116623, -0.943893075, -0.4912987947, -0.564261198, -0.2779861689, 0.2059284747, 0.6337217689, 0.5418371558, -0.1939579248, 0.0933214724, -0.0430564359, -0.0014460956, -0.3416406512, -0.0969349965, 0.3905471265, -0.0625921115, -0.5335870385, 0.2378514409, 0.6699670553, -0.0900440738, -0.2551842332, 0.1295014918, 0.0512665585, -0.2340297848, 0.4475526512, 0.4304402769, -0.4874947965, -0.6479278207, -0.2465049028, -0.0321816467, -0.1500822157, 0.4883007407, -0.5096731782, 0.9546709657, 0.1093373001, 0.836366117, 0.7181327939, -0.0028699243, 0.1873250157, -1.0854204893, 0.2079989463, -0.0774680898, 0.1186483353, 0.4873081744, -0.6230995655, 0.4895046055, 0.3094856143, -0.5947716236, -0.915887773, 0.1504555047, -1.0165153742, 0.1426405758, 0.7026084065, -0.0796998888, -0.4694158137, 0.3758885562, -0.249394238, 0.3257926106, -0.0585780554, 0.9503600001, 0.5516358614, -0.57348454, -0.2726431787, -0.6768420935, 1.2392431498, 0.3071310222, -0.5787316561, 0.3359556496, 0.7368105054, 0.2981496155, -0.1381824464, 0.5381521583, -0.1650879532, 0.8321768045, 0.1046875194, 0.2527261972, -0.4819313288, -0.626853168, -0.5310195684, -0.3726729155, -0.1609281451, -0.3141376078 ]
http://arxiv.org/abs/2404.16053v1
http://arxiv.org/pdf/2404.16053v1
Human Latency Conversational Turns for Spoken Avatar Systems
2024-04-11T20:20:48
2024-04-11T20:20:48
Derek Jacoby, Tianyi Zhang, Aanchan Mohan, Yvonne Coady
cs.HC
cs.HC, cs.AI, cs.CL
A problem with many current Large Language Model (LLM) driven spoken dialogues is the response time. Some efforts such as Groq address this issue by lightning fast processing of the LLM, but we know from the cognitive psychology literature that in human-to-human dialogue often responses occur prior to the speaker completing their utterance. No amount of delay for LLM processing is acceptable if we wish to maintain human dialogue latencies. In this paper, we discuss methods for understanding an utterance in close to real time and generating a response so that the system can comply with human-level conversational turn delays. This means that the information content of the final part of the speaker's utterance is lost to the LLM. Using the Google NaturalQuestions (NQ) database, our results show GPT-4 can effectively fill in missing context from a dropped word at the end of a question over 60% of the time. We also provide some examples of utterances and the impacts of this information loss on the quality of LLM response in the context of an avatar that is currently under development. These results indicate that a simple classifier could be used to determine whether a question is semantically complete, or requires a filler phrase to allow a response to be generated within human dialogue time constraints.
[ -0.6171808243, -1.0270744562, 0.6854106784, 0.1876719147, -0.1888459474, 0.2878508568, 0.0243398398, -0.7070011497, 0.2493554205, 0.5056121349, -0.7630169988, 0.0394064859, -0.1200813651, 0.1746562272, -0.269800812, 0.6711900234, 0.1670857966, -0.0264691524, -0.4367204607, 0.0503987968, -0.5629150867, -0.762417376, -0.9349604249, -0.5641149879, 0.396928966, 0.3282439709, 0.9746183157, 0.2780720294, 0.2893593311, 0.2244636416, -0.2817663252, -0.111421071, -0.4519739449, 0.1612540036, 0.0986146405, -0.5474812984, -0.3089971244, -0.0085148271, 0.6047525406, 0.7630031109, -0.3509633839, 0.0391104892, -0.1845830679, 0.4181288481, -0.4052575529, 0.1290773302, -0.2943712771, 0.4806876779, -0.1931543499, -0.2993397415, -0.2106034309, -0.251532346, 0.3481102586, -0.6413661838, 0.3408492208, 0.0994381458, 0.611667037, 0.3047337234, -0.1754067689, -0.1201528758, -1.175232172, 0.5145813227, -0.8478240371, 0.3421472311, 0.4723432362, 0.4229899347, -0.3917108476, -0.4618701041, -1.156820178, -0.324234128, 0.0062401406, 0.2098434418, 0.0074022505, 0.3272867501, 0.4106189907, 0.4309558868, -0.5756661296, -0.1637513191, -0.1445838064, -0.3606836796, 0.4865012765, 0.463011086, 0.3642690778, -0.2868893445, 0.0137056792, -0.2100960016, -0.5784879923, 0.0903418884, 0.5132302046, -0.0713458061, -0.0093657076, 0.6112338305, -0.2718673944, 0.7600561976, 0.2332130373, -0.1439736634, 0.0468551666, -0.5916555524, -0.0617063753, -0.0584566966, 0.6927219629, 0.4435904622, 0.1542510688, -0.1250917763, -0.2107883096, 0.1730374396, 0.3256313503, -0.7119258642, 0.0620496161, 0.32404688, -0.1012205705, 0.0629864335, -0.3771021664, -0.330455929, -0.0237616207, -0.3377978206, 0.2391687483, -0.2023821622, -0.247850582, 0.0601264164, 0.0577626079, 0.7260092497, 0.4076294005, -0.7657461762, 0.3757157326, 0.4948841631, 0.9221343994, -0.0883031487, 0.1746929735, -0.8536626697, -0.0540263094, -0.4384869039, 0.8078608513, -0.5670680404, -0.5283724666, -0.1305999756, -0.1157221794, 0.0157841817, -0.4671489894, 0.2880726457, -0.8079867363, 0.5723090768, -0.1274893433, -0.3901950419, -0.1006276235, 0.3417437375, -0.3786710501, 0.6967372894, 0.0022014393, -0.6863201261, -0.0421202406, -0.7046900392, -0.4705675542, 0.3498975337, -0.3138196766, -0.1698043942, 0.0027182745, 0.2808895707, 0.4019190371, -0.0892911702, 0.0817415416, -0.0301940683, -0.6294701099, 0.489903599, -0.2726757228, 0.3125327826, 0.2317975909, -0.2627008557, -0.1337851584, -0.4826634824, 0.1655078828, 0.1819081306, -0.4699376523, 0.0369099602, 0.2015592605, 0.0446030721, 0.062129464, -0.0446840078, -0.6589848995, 0.0396357477, -0.5045149326, 0.5912135839, 0.6486282349, 0.1879613698, 0.2830545604, -0.3215109706, 0.7497208714, -0.1731836498, 0.2323312312, -0.3317455947, -0.6834865808, -0.7873607874, 0.2803815305, 0.079924114, 0.7378783226, -0.9773610234, 0.1057105958, -0.1851747781, -0.2067842931, -0.394785732, -0.2252151668, 0.582429111, 0.5205276012, 0.1022218317, -0.7272571325, -0.2326361686, -0.7577856183, -0.1587177962, -0.62596488, -0.4214725196, 0.7268858552, 0.0593957081, -0.2536432147, 1.0614401102, -0.596766293, 0.1043175459, 0.0453810543, 0.4055138528, 0.0453604273, 0.0550732203, 0.2475651801, -0.8876282573, -0.1043039188, -0.1393214762, -0.8688171506, -0.1300816238, -0.192814827, 0.1142225936, 0.1688506603, 0.4876576364, -0.6271983981, 0.5301222205, 0.3758089244, -0.283631891, 0.5406919718, -0.0580343492, 0.219293505, -0.7314627767, -0.0632923916, -0.3190391064, -0.3927532136, -0.7906961441, -0.2302601635, -0.3794992566, -0.352118969, -0.7187926769, 0.7310126424, -0.3798495829, -0.5400930643, -0.2359588742, 0.2919510305, -0.1430829912, 0.6378301978, 0.1320603192, 1.1084434986, 0.0231192484, -0.9406784773, 0.4850070179, 0.5400169492, -0.2080068141, 0.6835811734, -0.8938080668, 0.7013534904, -0.3353739083, 0.3591066301, -1.0846674442, -0.5405502319, 0.4710574448, -0.7292121053, 0.0237674564, -0.2294977158, -0.2958765626, -0.4389579892, 0.1025460139, 0.5877183676, 0.4130978584, -0.1923933476, 0.6062366366, 0.344900161, -0.6331377625, -0.3589369655, -0.5706361532, 0.4164140224, 0.0264688972, -0.8734340668, 0.3032046854, -0.4389873445, -0.2182686776, -0.2058983147, 0.2145110965, 0.0351419449, 0.037393894, 0.3213098645, 0.1114871427, -0.0872435048, 0.053335242, -0.2326468527, -0.0361502692, 0.0238442142, -0.042421598, 0.7026254535, -0.1100446209, -0.4582514465, -0.6851425767, 0.4752488732, 0.6174548268, 0.1328114569, 0.3332514763, 0.530678153, -0.3005916774, 0.836856246, -0.728674233, -0.2773469985, -0.3813582063, 0.188856855, -0.2849946916, -0.7768180966, 0.8565791845, 0.5036872029, -0.02171118, 0.1207544059, 0.5653944016, -0.1015870497, 1.244166851, 0.581602335, -0.0478797033, 0.93016541, -0.0812439099, 0.1742527038, -0.8953781128, -0.3630591929, -0.233440876, -0.1448661983, -0.406018585, -0.4243214428, 0.5313898325, -0.1882541627, -0.2160677016, 0.0169682708, -0.238830179, 0.3888351619, 0.5513102412, -0.148563385, 0.346922785, -0.0530076995, -0.0103148604, 0.0062246677, -0.5600228906, -0.4350143075, 0.6284722686, 0.324421674, 0.8472723961, 0.1856945455, 0.2866263986, 0.4552575946, 0.0228985026, -0.8362737894, 0.6225063801, 0.5277904272, -0.5226911306, -0.5876792669, -0.3559779823, -0.7885115147, 0.0623349883, -0.1886728555, -0.5479862094, -0.0972864702, 0.1154893488, -0.6543546915, -0.0966350138, -0.6970284581, 0.4044406116, -0.2225640714, -0.3220686316, -0.1240973696, -0.9217961431, 0.1391673833, 0.0727691129, 0.0633845255, -0.1279827505, 0.2974899113, 0.9267233014, -0.4375789464, 0.763028264, -0.3628941476, -0.1063153893, 0.4216150939, 0.0123952562, 0.3704819679, 0.2333426028, 0.3872104287, 0.0385101512, -0.0884380043, -0.4812878668, -0.6686397195, 0.3288946748, -0.8580128551, -0.6393777728, -0.4710068703, -0.2389800847, -0.2379293889, -0.1098250374, 0.3528833687, 0.2845647931, -0.2810621262, -0.3777527511, 0.6675754786, -0.3487741649, 0.5163587332, 0.5527676344, -0.2908407152, -0.2866214514, 0.5640584826, 0.1122272015, 0.3351677656, 0.1490936279, -0.0367600247, -0.3448182344, -0.3050763607, -0.7156276703, 0.3676797748, -0.4022105038, -0.0234137792, -0.6206097007, -0.3397260308, -0.3748678267, 0.1004409119, -0.3055415452, -0.3319628537, -0.2599830031, 0.0184249077, 0.2789727747, 0.9643720388, 0.1858146042, 0.6635139585, -0.9057461023, 0.4585278332, 0.6314904094, 0.2323291898, 0.0507772155, -0.6816752553, -0.0932792276, 0.3555368781, -0.3280094564, -0.5496079326, 0.311236918, 0.3070536852, 0.446923852, 0.4302725494, -0.1744748354, 0.740508914, -0.5282825232, 1.1456961632, 0.2560194135, -0.7664524317, 0.5612848401, -0.3248418868, 0.7257336378, 0.0015588307, 0.1657368988, -1.3561298847, -0.2765413821, -0.4938777983, -0.8830230236, 0.6667916179, 0.429713279, 0.2963401675, -0.1060694382, 0.655013144, -0.0996276066, 0.1950776428, -0.3713713884, 0.0095881792, -0.1992195547, 0.4472841918, -0.1857334822, -0.3886655569, 0.0608947463, 0.1811679006, 0.3074170649, -0.262929827, 0.672984004, 0.3066807091, -0.0690804869, -0.2976135612, 0.338054657, 0.7652762532, 0.5563943982, -0.4097851813, -0.1579629928, 0.0808169618, -0.5213628411, 0.1629310846, -0.2157000005, -0.13921386, -0.1007006019, 0.3558377028, 0.7968071103, -0.0341262557, -0.6217426062, 0.5443049073, -0.555988431, 0.1000692695, -0.6148228049, -0.0006407154, -0.0674023256, 0.162035808, 0.6996996999, -0.118981488, 0.1090650707, -0.6089676023, 0.0907209218, 0.3390473127, -0.3789939582, -0.5216866732, 0.6234943271, 0.2668834031, -0.578271389, 0.9339818358, -0.1464047581, -0.6272636056, 0.3378556967, 0.4371765852, 0.7496580482, -0.3268445432, 0.2406018525, 0.0879583806, -0.2738319635, 0.0220993254, 0.2644796968, -0.2694275975, -0.6738567948, -0.9045137167, -0.5324470401, -0.7613859177, 0.1153986454, -0.5996610522, -0.1894704103, -0.4511675239, -0.4646941423, -0.1783812195, -0.1665771455, -0.7414337993, 0.2290402353, 0.4208891392, 0.4182542861, -0.800922215, 0.0604146458, 0.6359208822, -0.3828867078, -0.5469662547, 0.0609856471, -0.2324017584, -0.7546467781, 0.6204589009, 0.0131247714, -0.476593852, -0.2290892452, -0.8296059966, -0.7511054277, 0.8372477889, 0.3361661732, -0.5711004734, -0.3224728107, 0.2116424441, 0.6679829955, -0.1914824098, 0.6086794138, 0.6599627137, 0.2072686702, 0.5360682011, -1.1501243114, -0.1938578933, -0.1977985203, 0.2526286542, 0.1125007048, -0.6356868148, 0.7928717732, -0.2417417318, -0.3402408659, 0.1542870104, 0.7385904193, -0.0793004408, 0.4724174738, 0.458445549, 0.468983978, 0.7936106324, 0.028533699, 1.0795366764, 0.0247271527, 0.1324365437, 0.7510739565, -0.1163905337, 0.8875905871, 0.4637362063, -0.3474908769, 0.2610961795, 0.91730088, 0.6240581274, 0.4173018038, 0.2592157125, -0.4872383475, -0.4117618799, -0.26427719, -0.5235924721, 0.5873569846, 0.4664695859, 0.3631272614, 0.1566775441, 0.3467922509, -0.0644829273, -0.2534121573, -0.165851295, 0.9655985236, 0.0646965727, -0.8646123409, 0.811999917, -0.3009328842, 0.5662858486, -0.1703510582, -0.1801486015, -0.6600895524, -0.131612584, -0.1964942068, -0.8015890718, 0.2621343732, -0.1338751763, -0.3735870123, 0.1549039036, 0.386916548, -0.2800565362, -0.212761119, 0.1258834451, 0.5116165876, 0.546602428, -0.2438011765, -0.2950980067, -0.060421586, -0.0730058178, -0.1916624457, 0.183485508, 0.1444273889, -0.1982045025, 1.0771530867, 0.6078569889, -0.0288079716, 0.1330281645, 0.0000328534, 0.895531714, -0.8267902732, -0.5375711918, -0.5219250321, 0.0915767103, 0.1314442456, 0.001150056, 0.3215604722, 0.3285500705, 0.7624708414, 0.0057281861, 0.9873811007, 0.0622738115, 0.578990519, -0.7121173739, 0.3763659596, -0.3703275919, 0.2822112441, -0.1767900139, -1.0072380304, -0.1916973293, 0.6734704375, -0.3461668193, 0.0115139242, 0.351129055, 0.6359885335, 0.1117012948, -0.059727408, 0.4683999419, 0.0694302097, 0.6442241073, 0.5659371018, 1.1329234838, -0.3246720731, 0.6712572575, 0.2311246693, -0.1214805096, -0.5465789437, -0.6778166294, -0.6918259859, -0.4905709624, -0.287715584, -0.3625802994, 0.1673297584, 0.6337119341, 0.6763045192, -0.6171652079, -0.165875867, 0.1516035944, 0.0009003264, 0.0694432333, -0.2593666911, 0.0308371242, -0.1772849262, -0.718552947, 0.3212020397, 0.3501696885, 0.3965314329, -0.3075272441, -0.2928923965, -0.0598766282, 0.1455334872, 0.5238967538, 0.6524755359, -0.7880315185, -0.6433286667, 0.2617287636, 0.134930253, 0.3232083619, 0.8219385743, -1.0613012314, 0.6925634742, 0.3432744741, 0.487557888, 0.8049678206, 0.2440416068, 0.7965313196, -0.7538332939, 0.0358765647, 0.4829537272, -0.0754633322, 0.6538035274, -0.4657517076, 0.3760023117, 0.3673376143, -0.7280989885, -0.531532824, 0.4333208203, -0.8930917978, 0.2946469486, 0.9485649467, 0.0046972199, -0.3280492723, -0.333444953, -0.3894090652, 0.2723791599, -0.5662673116, 0.5890468359, 0.8367541432, -0.6088931561, -0.1874652803, -0.5518632531, 0.4024133682, 0.3774524033, -0.501355052, -0.0387467593, 0.5948874354, 0.1715230495, 0.5394539833, 0.9969137311, 0.1123278141, 0.2712974548, -0.0852650255, 0.0539374948, 0.2323650122, -0.1149096265, -0.1681219786, -0.2020713538, 0.2829035819, -0.3403436542 ]
http://arxiv.org/abs/2404.16859v1
http://arxiv.org/pdf/2404.16859v1
Rumour Evaluation with Very Large Language Models
2024-04-11T19:38:22
2024-04-11T19:38:22
Dahlia Shehata, Robin Cohen, Charles Clarke
cs.CL
cs.CL, cs.SI
Conversational prompt-engineering-based large language models (LLMs) have enabled targeted control over the output creation, enhancing versatility, adaptability and adhoc retrieval. From another perspective, digital misinformation has reached alarming levels. The anonymity, availability and reach of social media offer fertile ground for rumours to propagate. This work proposes to leverage the advancement of prompting-dependent LLMs to combat misinformation by extending the research efforts of the RumourEval task on its Twitter dataset. To the end, we employ two prompting-based LLM variants (GPT-3.5-turbo and GPT-4) to extend the two RumourEval subtasks: (1) veracity prediction, and (2) stance classification. For veracity prediction, three classifications schemes are experimented per GPT variant. Each scheme is tested in zero-, one- and few-shot settings. Our best results outperform the precedent ones by a substantial margin. For stance classification, prompting-based-approaches show comparable performance to prior results, with no improvement over finetuning methods. Rumour stance subtask is also extended beyond the original setting to allow multiclass classification. All of the generated predictions for both subtasks are equipped with confidence scores determining their trustworthiness degree according to the LLM, and post-hoc justifications for explainability and interpretability purposes. Our primary aim is AI for social good.
[ -0.2946631014, -0.8677563071, 0.6857848167, 0.467219919, -0.1831661165, 0.2580963671, -0.4755574763, -0.6072131395, 0.4639617801, 0.1900141239, -0.695184648, -0.4595638812, -0.6722416878, -0.0525460728, -0.4695932567, 1.1090465784, 0.0848687366, -0.0383308604, 0.118773669, 0.1520862281, -0.5197224617, -0.3878724575, -0.7843881249, -0.1357445717, 0.6840477586, 0.5002455115, 0.7974482775, 0.0726200491, 0.1146175712, 0.218474701, -0.0009221671, 0.2123466581, -0.4651963711, 0.3139414787, -0.0538428128, -0.4537808001, -0.1671272367, 0.2675160468, 0.327565223, 0.3679705262, -0.3795937896, 0.2527848184, 0.0671288818, 0.3631385267, -0.4771052599, 0.2833423316, -1.0939356089, -0.1834334284, -0.0951050594, -0.2136056423, -0.5086871386, -0.6292474866, 0.2520693839, -0.3391096592, 0.0503035635, 0.3806066215, 0.8290303349, -0.0397336408, 0.2161286175, -0.4535503983, -0.7049412727, 0.8021062016, -0.6526854634, 0.1316883564, 0.469686836, 0.5434852839, -0.0499737859, -0.3517206013, -0.5289128423, -0.4916930199, 0.0124634691, 0.2104228884, -0.4106525481, -0.1754971445, 0.2746506631, -0.0074230977, -0.4739863575, 0.091275312, -0.2938200533, -0.4498234391, 0.5284131169, -0.1473669708, 0.0839681998, -0.1959527582, -0.2156942785, 0.21052742, -0.6715722084, -0.2810748518, 0.4110378921, 0.2655932605, -0.1946181953, 0.519130826, -0.3401014805, 0.1569002271, 0.390370369, -0.3342206478, 0.1321792156, -0.0731205419, -0.0159728732, 0.392647475, 0.7292019725, 0.5077604651, 0.451656431, -0.1109289303, -0.2977100909, 0.2354324013, 0.0347829722, -0.4094113708, 0.0279018749, 0.2715117037, -0.4548295736, -0.4948320091, 0.0428788811, -0.7543801665, -0.7636904716, -0.2263829708, 0.4129958451, -0.6584972739, -0.2498618364, -0.0115699274, -0.1281407923, 0.2371556014, 0.8639442325, -0.5494135618, -0.0515248962, 0.7603570223, 0.7214831114, -0.0167002641, -0.2804764509, -0.5419999957, 0.3018232882, -0.4592574239, 0.9145182967, -0.584895134, -0.2012253106, 0.2422517389, -0.2562460303, 0.0947593227, -0.3672848344, 0.8445977569, -0.6599000692, 0.4186648428, -0.2508727014, -0.332829833, -0.3443556726, 0.5425715446, -0.5243251324, 0.9041411281, 0.054735709, -0.9993107915, 0.3405600786, -0.5225497484, -0.4882302284, 0.0343552567, -0.0774113461, -0.1571896374, 0.2273224592, 0.4991480112, 0.5918369889, -0.558942914, 0.5071161985, -0.2306116819, -0.2963317633, 0.3350024223, -0.9672863483, 0.5202289224, 0.2545346022, -0.4754183888, 0.0498852357, -0.3709534407, -0.1557857394, -0.1394294053, -0.0027877714, -0.1774939001, -0.297546953, -0.3115701973, 0.1872781664, 0.1899399906, -0.3769495487, 0.0927635431, -0.2471685708, 0.1970571131, 0.7205482125, 0.106076926, 0.0572074726, -0.7602530718, 0.5560515523, 0.0392928645, 0.2279071361, -0.1965937465, -0.5888866782, -0.6528977752, -0.2308386713, 0.2824717164, 0.6488991976, -0.9235346913, 0.1307283044, -0.228537336, -0.6255688071, -0.6062086225, -0.183561936, 0.1074959189, 0.4754257798, 0.2022970319, 0.2415399849, -0.6785094142, -0.9213212132, -0.3936853409, -0.7419835925, 0.0542500317, 0.033505857, -0.0171220433, -0.1332107931, 0.8056023717, -0.1470288187, 0.0495574586, -0.511282444, 0.4647530913, 0.3847280145, 0.0382282212, 0.4970046878, -0.4497633576, -0.6614196897, -0.1475180089, -0.455650121, -0.1822891533, -0.154507786, 0.1678148955, 0.5945394635, 0.0880191997, -1.02739501, 0.4078934193, 0.4081853926, -0.0079324795, 1.0333783627, 0.1880732626, 0.4185473621, -0.9350543022, -0.3263640702, 0.1250086427, -0.2479735613, -0.5182185173, -0.455498904, -0.1455122083, 0.17467843, -0.4142799973, 0.4661996365, -0.3559478223, 0.1432797909, -0.3116346896, 0.0935063064, -0.2809091508, -0.0018966664, 0.0072175325, 0.5961574912, 0.8827644587, -0.5313342214, 0.3996367753, -0.1228029802, -0.2394317687, 0.593041122, -0.4776978195, 0.0071320641, -0.3290671706, 0.448505789, -1.0659863949, -0.4829390943, 0.492320776, -0.7551890612, 0.2289249152, -0.2215281725, -0.681325376, -0.5720385313, -0.6485581398, -0.257627815, 0.692691505, -0.6407747269, 0.5378622413, 0.1460747421, -0.4406864345, -0.5720446706, -0.5506188273, 0.2896192968, -0.5618177652, -0.6189641953, -0.0958418995, 0.0046458719, -0.5351238847, -0.195558697, -0.1529566944, 0.1451806426, -0.2730176747, 0.2662545145, 0.6013277769, -0.1885810494, 0.0798007548, -0.0999406502, -0.1676660478, 0.2678358555, -0.381470412, 0.5274018645, -0.0977265909, -0.2392022014, -0.5189457536, 0.0482731126, 0.582973063, 0.1049541682, 0.8606554866, 0.7526919842, -0.4293963015, -0.2657700181, -1.2507635355, -0.2180302441, -0.4703940451, 0.1533896923, -0.2142255306, -0.7497091293, 0.3655268252, -0.1972154528, 0.0855358094, 0.4804101586, 0.5543287992, -0.0662895069, 0.7884423137, 0.2775042653, -0.4312158823, 0.0657097995, 0.0322892964, 0.1336970031, -0.2130933106, -0.0829089805, -0.4175803363, 0.0197754763, -0.4292773604, -0.601593554, 0.1287626475, -0.0217590276, 0.151586026, 0.2037419826, -0.2161193192, 0.3691199422, 0.2096866518, -0.0942203328, 0.4501817226, 0.3253640831, -0.0318784341, -0.0713916197, -0.7063496113, -0.69737041, 0.8321518302, 0.6733470559, 0.9133155942, -0.039974425, 0.4903922081, 0.453879714, 0.827925086, -0.8617840409, 0.6103637218, 0.1420093477, -0.6911044717, -0.32707268, -0.3352668583, -0.4159421623, -0.0396691263, -0.259995997, -0.9274184108, -0.2285812646, 0.1268550903, -0.3601085544, 0.3316011131, -0.5207012892, 0.0770142525, -0.241441831, -0.1012458205, -0.5537939668, -0.4649270773, 0.5603072047, -0.2604129612, 0.5932879448, -0.2936975956, 0.0809036791, 0.6237088442, -0.1196507812, 1.0342025757, -0.258913368, -0.1678471267, 0.5694740415, 0.00533013, 0.9322615266, 0.2064405829, -0.5528376698, 0.1860767007, -0.1753707677, -0.0377666689, -0.4787062705, 0.7120509744, -0.6329921484, -0.7810434103, -0.3793659806, -0.5229930282, -0.5775863528, -0.046890907, 0.4100376964, 0.180063948, -0.19815135, 0.1287008375, 0.6730773449, -0.317289561, 0.3861119747, 0.5816271901, -0.3928774893, -0.2564438283, 0.8118706942, 0.0854832008, 0.1087119728, 0.2902772129, 0.5428699851, -0.5074186325, -0.5936192274, -0.2285401225, 0.2312612832, -0.6774695516, -0.3188838065, -0.5896990299, -0.5669641495, -0.4277185202, -0.1241161674, -0.2327811867, -0.3989432454, 0.0620039776, -0.3393314481, 0.6069737673, 0.933808744, -0.1161978096, 0.4053658843, -0.6465534568, 0.1788578629, 0.1766088903, 0.2926239967, 0.0812355429, -0.7894929647, -0.1183487102, 0.0687832907, -0.0582793057, -0.9277120829, 0.3034811318, -0.1753665656, 0.6622938514, 0.5109906197, 0.2294559032, 0.6245020628, -0.4215323627, 0.7128216624, 0.5128114223, -0.6822457314, 0.5008907914, -0.5787966847, -0.1303944737, 0.6247209311, 0.6063691378, -0.4997052848, -0.5845873952, -0.9271173477, -0.602894187, 0.5709815621, 0.1727997959, 0.0831326097, -0.1361821145, 0.2486321926, 0.4667102098, 0.2288152277, -0.5033481121, -0.2884660363, -0.0576337054, -0.0615422316, 0.2423650324, -0.5093408823, -0.0310424715, -0.1732256711, 0.89174366, -0.0517089441, 0.0669711828, -0.0546264388, 0.0157607459, -0.2290622741, 0.5496279597, 0.2735346556, 0.899443686, -0.0754994601, 0.0709835738, 0.4434225559, -0.4443583488, 0.1237124279, 0.1696204841, -0.3524583578, 0.4195899069, 0.2991343439, 0.666844964, -0.0557008758, -0.384169668, 0.3743911684, -0.1434938163, -0.3312036693, -0.5114281774, -0.121255435, 0.2287099808, 0.2248485833, 0.5831635594, 0.0579255559, 0.1095124111, -0.6536480784, 0.1276814342, 0.4926648736, -0.3051256239, -0.3824601769, 0.3909530044, 0.0571369343, -0.0700756535, 0.2363886237, -0.4528877437, -0.4785987735, 0.2684812248, 0.5210962892, 0.8128548861, -0.3568389118, 0.711533308, 0.3750111163, 0.4799277484, -0.4144523442, 0.1699573249, 0.3745419979, -0.6893578768, -0.547467351, -0.5232174993, -0.5092382431, 0.5935906172, -0.2192591578, 0.4727541506, -0.5083387494, -0.1245490685, -0.0645381287, 0.0039438857, -0.4673432112, 0.0949066654, 0.3390295208, 1.0819753408, -0.6177285314, 0.7448962331, 0.7438158989, -0.1090347841, -1.1459107399, 0.6694662571, 0.248751685, -0.8476228118, 0.37111184, 0.3598864675, -0.0781245455, -0.2769919634, -0.8614257574, -0.826474905, 0.9787634611, 0.5568246245, -0.7938207388, 0.125145793, 0.1184809655, 0.2718387544, -0.3854729533, 0.444486171, 0.559099853, 0.8266820908, 0.6302682757, -1.1188545227, 0.1129917949, 0.2070178539, -0.2481385767, -0.311207056, -0.6721529961, 0.4713941813, -0.2401040196, -0.1280292124, 0.0324212089, 0.773568213, 0.7105372548, 0.3416653275, 0.7638596296, 0.079629533, 1.0489400625, -0.0154800229, 0.9031403661, -0.4155779481, -0.0016338546, 1.019697547, -0.3290020227, 0.6297769547, 0.3403236568, -0.1024032831, 0.4620656669, 0.627887547, 0.207233876, 0.2416562736, 0.285246104, -0.2016067952, -0.1714521348, -0.3167288899, -0.3731285334, 0.2678622305, 0.6866284609, -0.0900344998, -0.3095498085, -0.1123018488, 0.2435794771, -0.1287817806, -0.4221471548, 0.4078809321, 0.1104167551, -0.7703019977, 0.3289593458, -0.0024232774, 1.0174922943, -0.7027400136, 0.0378090218, -0.0705047101, -0.1980792731, -0.1814227253, -0.7748135924, 0.2808806002, 0.0591191389, -0.1303321272, -0.1316495389, 1.1732459068, -0.404853195, -0.5498653054, 0.1880226135, 0.6444875002, 0.1817705929, -0.3394541144, -0.7516394854, 0.2185867578, 0.0496183336, -0.2686165273, 0.0559847914, 0.8509767056, -0.2457654476, 0.7336292863, 0.4992439449, 0.3287109435, -0.2419135273, 0.2647442818, 1.0892877579, -0.6129214168, -0.4984922707, -0.8977305889, 0.2152047455, -0.0802535415, 0.0997580737, 1.024078846, 0.3990179002, 0.281884253, 0.0261105578, 1.2418230772, -0.0410066918, 0.879599154, -0.504881084, 0.7275568843, 0.0582132712, 0.6372156143, -0.4530688524, -0.920799911, -0.0527394228, 0.4283183217, -0.5570002198, 0.0404894426, 0.7074280977, 0.7818626165, 0.2022026032, 0.3577274978, 0.26271981, 0.5189140439, 0.1085261106, 0.1115508676, 1.2927478552, 0.1026973575, 0.7001801729, -0.0875187293, -0.3317040801, -0.3180983961, -0.9952149987, -1.0421333313, -0.1762682796, -0.3732740879, -0.6005040407, 0.3299304843, 0.9599560499, 0.6904447079, -0.8421934247, 0.0300430823, 0.2067242116, 0.1293911636, 0.0414384864, -0.2664499581, 0.1437261254, -0.305262357, -0.2897892892, 0.3679579198, 0.2125470638, 0.0060571623, -0.446806401, -0.127881974, -0.0112338047, 0.3518046737, 0.6937047839, 0.058867503, -0.7571487427, -0.3500836194, -0.011460742, 0.0556989387, -0.1672184318, 0.5735992789, -0.7997524738, -0.135996893, 0.2170825303, 0.5126128793, 0.2142546773, 0.2241578698, 0.6267614365, -0.7216806412, 0.0398019888, 0.2316540629, 0.2432277203, 0.4472865164, -0.6199118495, 0.3397443593, 0.0838006958, -0.285476476, -0.4523284137, -0.018108286, -0.7556406856, -0.1926125288, 1.5410208702, 0.1269572824, -0.2637043595, -0.3161803186, -0.3888536692, 0.0138714164, -0.9399167299, 1.0279172659, 0.9850794673, -0.0222951751, -0.1770055443, -0.7145130038, 0.4875771999, 0.2312718481, -0.7658831477, 0.256264329, 0.5651692748, 0.3772595227, 0.2509518266, 0.7299161553, -0.1151381508, 0.1727133095, -0.1463488787, -0.2249998897, 0.091075927, -0.4496186972, -0.1114186496, 0.181742534, 0.2563497126, 0.1447449774 ]
http://arxiv.org/abs/2404.08092v1
http://arxiv.org/pdf/2404.08092v1
Data-Augmentation-Based Dialectal Adaptation for LLMs
2024-04-11T19:15:32
2024-04-11T19:15:32
Fahim Faisal, Antonios Anastasopoulos
cs.CL
cs.CL, cs.AI
This report presents GMUNLP's participation to the Dialect-Copa shared task at VarDial 2024, which focuses on evaluating the commonsense reasoning capabilities of large language models (LLMs) on South Slavic micro-dialects. The task aims to assess how well LLMs can handle non-standard dialectal varieties, as their performance on standard languages is already well-established. We propose an approach that combines the strengths of different types of language models and leverages data augmentation techniques to improve task performance on three South Slavic dialects: Chakavian, Cherkano, and Torlak. We conduct experiments using a language-family-focused encoder-based model (BERTi\'c) and a domain-agnostic multilingual model (AYA-101). Our results demonstrate that the proposed data augmentation techniques lead to substantial performance gains across all three test datasets in the open-source model category. This work highlights the practical utility of data augmentation and the potential of LLMs in handling non-standard dialectal varieties, contributing to the broader goal of advancing natural language understanding in low-resource and dialectal settings. Code:https://github.com/ffaisal93/dialect_copa
[ -0.3304915726, -0.4908342063, 0.5019817948, 0.2438297421, -0.456527859, 0.0883729011, -0.4612597227, -0.506967485, 0.0648284256, 0.8993762136, -0.6142359972, -0.4509423077, -0.1943872422, 0.3409743309, 0.0505642295, 0.6993127465, 0.1754095852, 0.3948324919, -0.4616681933, 0.0468026474, -0.2917915881, -0.7336499691, -0.2630686164, -0.2778547108, 0.1563921422, 0.7247260809, 0.5081421733, 0.3782490492, 0.3420175314, 0.2037410438, 0.0174380857, 0.4507741034, -0.345598042, 0.2434843332, -0.202404812, -0.6142886281, -0.6273978949, -0.3178116381, 0.6012488008, 0.7457404733, -0.0831287652, -0.0554666929, 0.0702298805, 0.5733591914, -0.2474757582, 0.2909374237, -0.9415197968, -0.2399863452, -0.183954373, 0.0635641292, -0.3104357719, -0.2230932564, 0.0550740361, -0.6034821868, 0.1784332097, 0.4037206173, 0.582683742, -0.0069162599, -0.1786173433, -0.1536812633, -0.5213436484, 0.8588526249, -0.9813191891, 0.5313791037, 0.3317089975, 0.2919982374, -0.3471360207, -0.2063894719, -0.4418340921, -0.2548827529, 0.1382056773, 0.1348451674, -0.3099550307, 0.2600242496, -0.0304496828, 0.4089638889, -0.3270344138, 0.2118201554, -0.4921191931, -0.1410877556, 0.63689816, 0.3845360279, -0.1920198649, -0.2387288362, -0.1442809105, 0.4173676968, -0.7107809782, -0.2747417986, 0.5961721539, 0.8175453544, -0.2772034407, 0.7167860866, -0.2685149014, 1.1006211042, 0.2360501438, 0.2286029905, 0.317034483, -0.7283540964, -0.3426539898, -0.2604124844, 0.3835295141, 0.3526618183, 0.2481925339, -0.314370364, -0.1916205138, -0.300009042, 0.1708541662, -0.3030001223, -0.0362529866, 0.1088802069, -0.1740372479, -0.4762670398, -0.2694627643, -1.2266983986, -0.6242269278, -0.6214146614, 0.236969471, -0.5972912312, -0.1220408827, 0.2280876935, 0.1083197519, 0.2331611216, 0.4862457514, -0.9257258177, 0.5927195549, 0.7986522913, 0.7881680131, -0.3932075202, -0.2242876291, -0.5673826337, 0.0532901883, -0.3881952465, 0.6300218701, -0.8549956679, -0.2506230474, 0.0180565342, 0.1619284302, -0.2555608451, -0.8805531859, 0.5380163789, -0.3483114839, 0.0987352505, -0.2730937302, -0.4842989743, -0.1474169046, -0.024838306, -0.5835359693, 1.1128405333, 0.4791564345, -0.4782434404, 0.2965369225, -0.5848876238, -0.2022033483, -0.0138581833, 0.0946954861, -0.149691388, 0.4397115111, 0.189863801, 0.3422595561, -0.4930999577, 0.2159387171, -0.5584061742, -0.2808348238, 0.2737303078, -0.2878913283, 0.6923366785, 0.1486145109, 0.0132924486, 0.2510966063, -0.7984099388, -0.1867447048, -0.1811215878, -0.1363042444, -0.2290394455, -0.1895464063, 0.1600182652, 0.2057009339, 0.1955447048, -0.5698487163, 0.2649947703, -0.5445201397, 0.2851526439, 0.7830243707, -0.0575338304, 0.5476368666, -0.4594590664, 0.5335704684, 0.1176064014, 0.2242667824, 0.186875701, -0.2393543422, -1.1090756655, -0.3563568294, 0.5554426312, 0.5640076399, -1.0539103746, 0.5718325973, -0.4592801929, -0.4348593354, -0.6326595545, 0.2154646069, -0.0505856797, 0.4161277115, 0.3016487062, -0.3663561344, -0.9134166241, -0.9430646896, -0.0207137167, -0.076786533, -0.0731176287, 0.6587011218, 0.4414212406, -0.0603828132, 0.7980314493, -0.0521878749, 0.0377447419, -0.5988504887, -0.0386618972, 0.2563664615, 0.334253341, 0.5347799063, -0.4753117263, -0.2944518626, 0.1630752087, -0.3259476423, -0.5851362944, 0.0355904847, 0.0760788843, 0.5097293854, 0.1710199118, -0.2161692232, 0.1296822429, 0.8773590922, -0.2710641921, 0.9219704866, -0.217362538, 0.2407319844, -0.9574354887, -0.2316484302, -0.1425065845, -0.3329445422, -1.1058006287, -0.0455222763, -0.0367639437, -0.1376973838, -0.4445271194, 0.4330446422, -0.3644480109, -0.4920336902, -0.2567195594, -0.0262828376, -0.1076201946, 0.3192912936, 0.158214435, 1.1128672361, 0.6974393129, -0.4970403612, 0.450006932, -0.1618777514, -0.3035874069, 0.6190313101, -0.4555827975, 0.2521515191, 0.0165609084, -0.018386215, -0.797770977, -0.3698325455, 0.3321254253, -0.3803023398, 0.0566188134, -0.5400454998, -0.4154899716, 0.0472721271, -0.1507988423, 0.11325638, 0.2150420547, -0.5697831511, 0.70924896, 0.3257458508, -0.4499846101, -0.1736019552, -0.7563025951, 0.3722748756, -0.4492775202, -0.8124769926, 0.226682663, 0.0891232044, -0.4733602703, -0.1102075651, -0.0238256529, -0.2448250353, -0.0667859316, -0.039379973, 0.6678072214, -0.1919902712, 0.1436958015, -0.0827029049, 0.1258026809, -0.2251235694, -0.4540041685, 0.761952281, -0.4987381697, -0.2486910969, 0.0276896469, 0.3013797104, 0.6269438863, 0.0172908213, 0.6312475801, 0.4283687174, -0.1756290793, -0.0188638419, -0.6175600886, -0.0191535354, -0.4539812207, 0.1769744456, -0.3784999251, -1.0683903694, 0.5598093271, -0.2389358133, -0.2130722702, 0.1623048931, 0.4502313137, -0.1686294079, 0.4233742952, 0.5357391238, -0.2506731153, 0.3774605393, -0.0505193919, -0.0322871916, -1.1096469164, -0.1129946932, -0.4428950846, 0.1461346895, -0.6366000772, -1.1087201834, 0.3334708512, -0.1669305414, 0.0394128226, 0.3218770027, 0.0591796637, 0.1398838311, 0.3320783079, 0.1980128735, 0.2869994342, 0.0675874054, 0.0545247942, -0.2272945195, -0.7530350089, -0.3813197911, 1.1677899361, -0.0182088651, 0.8278488517, 0.1197012886, 0.6570717096, 0.4467868209, -0.2115179747, -0.6888424158, 0.5627526045, -0.402115196, -0.3719307184, -0.3320887983, -0.4024371803, -0.6810618043, 0.3477802873, -0.3411173522, -0.7401206493, 0.5232890248, 0.0416172221, -0.0551580973, 0.1059585288, -0.4533857703, 0.4977984726, -0.3024485409, -0.5224115252, -0.2754934728, -0.4664461613, 0.2732768655, -0.2705036104, 0.4901373386, -0.125897646, -0.3087799251, 0.3400147259, -0.0940845609, 0.9031257629, -0.3151525557, 0.1216938421, 0.0787602141, -0.0846288204, 0.6619418263, -0.1279808283, -0.4760330915, 0.3219943643, -0.1973315626, -0.4771644771, -0.7368764281, 0.533241868, -0.4724790752, -0.6066772938, -0.331507802, -0.9042961001, -0.4908623993, -0.0064148055, -0.1962456554, 0.2900143266, -0.2670892775, 0.2712669671, 0.6375687718, -0.1412118226, -0.0090502519, 0.6337293983, -0.3272716403, -0.6762963533, 0.8193780184, -0.1237031445, 0.7003946304, 0.08003252, 0.085986197, -0.1985530853, -0.9836077094, -0.6363030076, 0.2158887088, -0.3919107616, 0.0365551189, -0.220462054, -0.0725159273, -0.6118175387, -0.1125124618, -0.2432823032, -0.8414863348, -0.3269498348, 0.0702218115, 0.3672246337, 0.4993422925, -0.1608785987, 0.2910133898, -0.4708505571, 0.0109122721, 0.0491862744, 0.1201293319, -0.5334004164, -0.8975747824, -0.2225773782, 0.090097867, 0.2506439984, -0.8425135612, 0.5402141213, 0.3190887272, 0.697755456, -0.1086411774, -0.0366022922, 0.7514470816, -0.283036083, 0.9153705239, -0.1075479314, -1.0379202366, 0.4053514898, -0.5314366221, 0.0740449652, 0.6395606995, -0.0513435788, -0.5951516628, -0.3914659619, -0.4196988642, -0.7327593565, 0.7337984443, 0.1277226359, 0.0442550853, 0.4930498302, 0.3746880889, 0.3585783541, 0.248682037, -0.4018780887, 0.0744141638, -0.1706904918, -0.2295879275, -0.1063335687, -0.1359363645, -0.045786269, -0.3967665732, 0.7393801808, -0.3914967477, 0.2267230451, -0.0148180956, -0.2753291428, 0.1012608334, 0.6333550811, 0.6651211977, 0.4742492139, -0.1702859402, 0.1163742989, 0.5819633007, -0.2664368451, 0.0560101308, 0.1686517298, -0.2336883992, -0.0466665402, 0.2136870772, 0.994964242, 0.2966663241, -0.5785534382, 0.2498588115, 0.1894435883, -0.243641898, -0.0981460065, 0.1486511976, 0.0395333506, 0.2195053697, 0.2068401128, 0.114706032, 0.2031363696, -0.6431501508, 0.1864134669, 0.2257977277, -0.4138968885, -0.3772377968, 0.0683305189, 0.21480079, -0.0843807831, 0.3333134353, -0.0559973791, -0.537342906, 0.5196338892, 0.7307146788, 0.712746501, -0.2654857337, 0.181422919, 0.1572302282, 0.4196965694, 0.3271666169, 0.4881567061, 0.0468389355, -0.7244982123, -0.3285553753, -0.5330129862, -0.6521045566, 0.2802969813, -0.6245868206, 0.3633213937, -0.20548217, 0.1056553647, -0.0832424685, 0.1334846765, -0.5583533049, 0.0073083225, 0.0174605008, 1.0952720642, -1.117244482, 0.9523759484, 0.5458413363, 0.0035517726, -0.1499836892, 0.08952301, 0.1725142449, -0.8788422942, 0.2628599703, -0.3660831153, -0.1731345654, -0.2433422506, -0.3699939549, -0.902533412, 0.9135988355, 0.5232074261, -0.5620048046, 0.1509491801, 0.4812710285, 0.6294349432, -0.7741656899, -0.0214763377, 0.9004837275, 0.6905918121, 0.165567413, -0.9817236662, -0.0733526349, -0.0448066033, 0.1302602142, -0.0699319616, -0.5006024837, 0.5918364525, -0.0453514308, 0.1821301281, 0.2386726439, 0.6631006002, 0.3387739658, 0.2926121056, 0.6163933873, 0.3367756307, 0.8368019462, -0.1759254187, 0.6795741916, -0.2554066777, 0.0226018094, 1.2890002728, -0.2881751657, 0.6040732265, 0.6416989565, -0.3712575138, 0.4083680212, 0.6419355273, -0.1264716834, 0.6061849594, 0.1838529706, -0.4760470986, -0.3388698995, -0.3055627942, -0.133826226, 0.684319675, 0.6622058749, -0.2739209235, -0.0741861239, 0.0171548445, -0.0553624183, 0.0173757747, -0.2925563157, 0.7790125608, -0.2234851867, -0.5410188437, 0.5248036385, -0.1550147384, 0.6141805053, -0.4788708389, 0.1047183052, -0.236518696, 0.0045852242, -0.1252257824, -0.7201049328, 0.5083819628, 0.1595318913, -0.0933560058, 0.1199031174, 0.9972699881, -0.7041634917, -0.6979572177, 0.144258976, 0.4803647995, 0.3058941662, 0.1781124622, -0.6418271661, 0.2974355817, 0.1008343026, 0.3133284152, 0.4279640913, 0.3663149476, -0.031774357, 0.5448037982, 0.570294857, 0.5777401328, 0.1957135946, 0.2936719358, 0.9560571313, -0.3874926567, -0.1710564196, -0.5142691731, 0.2249077111, -0.2414056957, 0.0079482691, 0.9180889726, 0.8100662231, 0.6845897436, -0.130033344, 1.0646277666, -0.0600763261, 0.4343598783, -0.6650009155, 0.1559872031, -0.428622961, 0.3786859512, -0.1433535069, -0.6954662204, -0.2260311544, 0.2680911422, -0.478479296, -0.1421694309, 0.2946177721, 1.007583499, -0.0893921852, 0.2466175258, 0.4689284563, 0.1417632401, 0.1101410538, 0.5070675611, 0.7834746838, -0.0879589543, 0.4214257896, -0.373295933, -0.3058050275, -0.2029627711, -0.8730877042, -0.6898255944, -0.5900261998, 0.0787010789, -0.1561889052, 0.6546601653, 0.9733349085, 0.7009505033, -0.9745889306, -0.4651760459, -0.2121144384, 0.0433216691, -0.2300996333, -0.2451893985, -0.0064544966, -0.5120685101, -0.8369717598, 0.8347835541, 0.3944116831, -0.0091200555, -0.1771676838, -0.1605048031, -0.0791322887, 0.3351267576, 0.4655419588, -0.0635892153, -0.8256770968, -0.5009192824, 0.167519182, 0.2563366592, 0.2023052424, 0.8894588351, -0.5625578761, 0.7086094618, 0.5005211234, 0.3745011687, 0.5776206255, 0.0956163108, 0.8035423756, -0.638494432, 0.1166989505, 0.319917351, 0.4077967405, 0.5625568628, -0.3267886043, 0.7203651667, 0.3982877135, -0.5013621449, -0.8334586024, 0.227920264, -1.0215859413, -0.0815840662, 1.3270761967, -0.1089207381, -0.189520672, -0.654251039, -0.1377627999, 0.0387086347, -0.4803071618, 0.6424818635, 0.9006050229, -0.3986211717, -0.3102159798, -0.6608863473, 0.3758261204, 0.2449629158, -0.9895175099, 0.6286963224, 0.6512588859, 0.3158015907, -0.2126776874, 0.3989613354, -0.1584592611, 0.337656945, 0.029174149, -0.0899218321, -0.249113977, -0.3944024742, -0.7879456878, -0.3552258313, -0.0402698368, 0.0084558772 ]
http://arxiv.org/abs/2404.08080v1
http://arxiv.org/pdf/2404.08080v1
Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Models
2024-04-11T18:35:49
2024-04-11T18:35:49
Tanmay Gautam, Youngsuk Park, Hao Zhou, Parameswaran Raman, Wooseok Ha
cs.LG
cs.LG, cs.AI, cs.CL, math.OC
Fine-tuning language models (LMs) has demonstrated success in a wide array of downstream tasks. However, as LMs are scaled up, the memory requirements for backpropagation become prohibitively high. Zeroth-order (ZO) optimization methods can leverage memory-efficient forward passes to estimate gradients. More recently, MeZO, an adaptation of ZO-SGD, has been shown to consistently outperform zero-shot and in-context learning when combined with suitable task prompts. In this work, we couple ZO methods with variance reduction techniques to enhance stability and convergence for inference-based LM fine-tuning. We introduce Memory-Efficient Zeroth-Order Stochastic Variance-Reduced Gradient (MeZO-SVRG) and demonstrate its efficacy across multiple LM fine-tuning tasks, eliminating the reliance on task-specific prompts. Evaluated across a range of both masked and autoregressive LMs on benchmark GLUE tasks, MeZO-SVRG outperforms MeZO with up to 20% increase in test accuracies in both full- and partial-parameter fine-tuning settings. MeZO-SVRG benefits from reduced computation time as it often surpasses MeZO's peak test accuracy with a $2\times$ reduction in GPU-hours. MeZO-SVRG significantly reduces the required memory footprint compared to first-order SGD, i.e. by $2\times$ for autoregressive models. Our experiments highlight that MeZO-SVRG's memory savings progressively improve compared to SGD with larger batch sizes.
[ -0.5236191154, -0.7757996917, 0.0710587502, 0.1024671793, -0.1440881789, -0.1341582388, -0.5387138724, -0.0895014554, -0.232496649, 0.4308211505, -0.7848911881, -0.5938298702, -0.2052963674, -0.3179357648, 0.147560671, 0.8284963965, 0.032110218, 0.1540376544, -0.0179054886, -0.0887564942, -0.2749222815, -0.1610697955, -0.6692311168, -0.2773254216, 0.7185698152, 0.7979034781, 0.4797817171, 0.7464338541, 0.1166346669, 0.1746708453, 0.0007017271, 0.1943658441, -0.6991022229, 0.1520784199, -0.2114400268, -0.4816954732, -0.5017283559, -0.0202369392, 0.2684545219, 0.6906399131, -0.5169360638, 0.2888265252, -0.1334715337, 0.7216656804, -1.1979618073, -0.0279761404, -0.4107845128, 0.1356770843, -0.1777002513, -0.2309132814, -0.3667311072, -0.2393735796, -0.1550520509, -0.3502122164, 0.5351647735, -0.1245684922, 0.7866949439, 0.4745744467, 0.3215729892, 0.1181382537, -0.880507946, 0.9214832783, -1.1570346355, 0.543461442, 0.359010756, 0.2969126403, -0.3180928826, -0.3022789955, -0.4725677371, -0.0565823652, 0.5902251005, 0.1916717142, -0.0776025653, 0.5041923523, 0.1933220625, 0.6078703403, -0.527970612, 0.5181664228, -0.3644163013, -0.1211302727, 0.54220891, 0.2835737467, -0.0322110131, 0.285658747, -0.0721186474, -0.3870840073, -0.7067968249, 0.1956271678, 0.2511784136, 0.574696064, 0.2839117348, 0.2891320586, -0.4891436696, 0.8265115023, 0.3644435704, -0.1853444874, 0.1750469953, -0.2678560913, -0.5660937428, -0.2868142128, 0.7359868288, 0.316537261, 0.2164471298, -0.1381497979, -0.1240060925, -0.1521049291, 0.3220697343, -1.0868035555, -0.1357316077, 0.0458265208, -0.3236243725, -0.0482031517, -0.3372527361, -0.8274533749, -0.0120385773, -0.1655826569, 0.4419418573, -0.3983871043, 0.086684145, 0.3645710945, 0.1811405867, 0.1545450985, 0.7041575313, -1.1502462626, 0.4291042387, 0.5199928284, 0.7395594716, 0.0881915912, -0.4085136652, -0.7898792028, -0.1374411732, -0.8163872361, 0.32214728, -0.4381000102, -0.178737998, -0.0649658591, -0.2414697856, -0.1423542202, -0.6396135092, 0.4764699936, -0.3401278257, 0.0651433691, -0.2388038337, -0.4892741144, -0.2484769374, 0.0005282418, -0.2362846583, 1.2727434635, 0.2248046398, -0.0954706296, 0.1814426184, -0.1393284798, -0.3280740082, -0.4821323156, -0.0721155629, -0.4506154656, 0.3982696533, -0.0485447384, 0.7890510559, -0.4528003931, -0.1250402629, -0.5922300816, -0.4990258515, -0.4624032378, -0.386374265, 0.3752414584, 0.327783674, -0.464207381, 0.0425238758, -1.0015428066, 0.0568059869, -0.2321315557, -0.2019802183, -0.4556148946, 0.0603979416, -0.272022754, 0.392906785, 0.0160044227, -0.5222462416, 0.1454413831, -0.5672557354, 0.2479044199, 0.5935028791, -0.0944112763, 0.6587045193, -0.0902142823, 0.355212003, -0.0609076209, 0.2282100469, -0.1770499945, -0.2988828421, -0.990903914, -0.2961667776, 0.2006296366, 0.5942318439, -0.5541028976, 0.2793405354, -0.179229036, -0.6315943599, -0.5222281218, 0.2980133295, 0.6432822943, 0.5312811732, 0.6257576346, -0.1221258491, 0.1028259024, -0.8774927855, -0.0919394344, 0.0844484791, -0.2775323689, 0.5721466541, 0.1491757035, -0.0616617352, 0.575761795, -0.5930299759, -0.1055720225, 0.1390921772, 0.467877537, 0.2832782865, 0.6340802312, 0.7314078212, -0.2286438048, -0.5228098035, 0.2048751861, 0.0209688861, -0.2306022048, -0.1783432811, 0.0384069048, 0.335023284, 0.5479453206, -0.5092869401, 0.4012196958, 0.3638381362, -0.2051197439, 0.505231142, -0.6454438567, 0.0954550952, -0.850150764, -0.2548078001, -0.0814667642, -0.1753322482, -0.878412962, -0.0754617676, 0.2181414962, 0.091699779, -0.1419593692, 0.5783798695, -0.5524650216, -0.0455742814, -0.187008813, -0.1409144402, -0.0617267974, 0.7535998225, -0.4431960583, 0.8527449369, 0.4245183468, -0.8402203321, -0.0233987011, -0.1831666827, -0.2123480737, 0.2627358437, -0.4257034957, 0.1037725955, -0.0231832508, -0.3978806138, -1.0088133812, 0.2295632511, 0.3253182769, -0.4205960333, 0.840017736, -0.0098566543, -0.4200442135, -0.2641553879, -0.4828111827, 0.1707016826, 0.4935775995, -0.5080725551, 0.3831296265, -0.0332981609, -0.2861715853, -0.7746254206, -0.6417267323, -0.1900097132, -0.012499786, -0.2709712982, 0.4053629637, -0.2132509649, -0.1397490054, -0.3823091388, -0.4119318128, -0.18284069, 0.273938477, -0.1261025965, 0.0615549237, -0.4466273189, 0.1572446823, 0.4292613864, -0.0994919986, -0.4841880798, -0.2083919793, 0.5279530287, -0.1541534066, -0.2177346945, -0.1864908487, 0.2571065426, 0.7160395384, -0.0347906053, 0.7984235883, 0.7819023728, -0.1746878773, -0.6561354995, -0.6726327538, -0.1378429383, -0.4762704372, 0.357063055, -0.330966562, -1.2300262451, 0.7068391442, -0.0621524826, 0.1529388875, 0.2691406608, 0.7868785262, -0.0252125189, 0.6750233769, 0.4607109427, -0.2934309244, 0.7829897404, -0.1066831872, 0.3535211086, -0.5647382736, 0.2279514074, -0.5534891486, -0.20933792, -0.3967681229, -0.9273602366, -0.1451713443, 0.462453872, -0.2585224807, 0.188371703, -0.2095250487, 0.5056526065, 0.471516639, 0.0647554323, 0.003303536, -0.0659406036, -0.0423295572, -0.1429957449, -0.7435511351, 0.0072358581, 0.8039520979, 0.1549148411, 0.8414882421, -0.2152026892, 0.5164423585, 0.2048383206, 0.0227445513, -0.6331003308, 0.3376194537, -0.4440661967, -0.2124676853, -0.656072557, -0.4011884034, -0.583935082, 0.5400702953, -0.0723170266, -0.7963765264, 0.455411613, 0.2266270965, -0.7507533431, 0.2175286412, -0.5367608666, 0.5299735665, 0.0673079342, -0.7020618916, -0.6285250783, -0.4930885732, 0.105813086, 0.2161730826, 0.0503358357, -0.4127059579, -0.0353195108, 0.2813728154, -0.803057313, 0.6840983629, -0.3047029674, -0.3619301319, 0.0059630955, 0.1272682548, 0.5113429427, -0.2146053314, -0.2408810705, 0.2058968395, -0.2050545514, -0.3809246421, -0.8039367199, 0.8057729602, -0.5574746132, -0.5501969457, 0.1875673681, -0.7208141088, -0.2886137962, 0.2875632644, 0.138977617, 0.4524808824, -0.1806062162, 0.086952202, 0.8657147288, -0.2624740303, 0.6552042365, 0.5045382977, 0.1799875051, -0.450581938, 0.9379258156, 0.4778031707, 0.4564258754, 0.4060545266, 0.0547363609, 0.1388484836, -0.8988626599, -0.6179664731, 0.0833593607, -0.4107363522, -0.3046479821, -0.3352026939, 0.0892299265, -0.2082866728, -0.2996322513, -0.9566944242, -0.57290411, -0.4121014476, -0.0030923942, 0.345074296, 0.0887579769, -0.0932867154, 0.3458367586, -0.6754443049, 0.170081988, 0.1890002042, 0.5287650824, 0.0643829182, -0.391291976, -0.5153377652, 0.1584405303, 0.0873548165, -0.5399672389, 0.369466126, 0.4336659908, 0.5973598361, 0.7162511349, 0.1997652948, 1.2074147463, -0.7734367251, 0.5332717896, 0.0475254878, -0.9909638166, 0.2804320157, -0.7011779547, -0.0268260278, 0.7235811949, 0.0145800766, -0.2467531711, -0.3056590557, -0.4297251999, -0.9154205918, 0.7408052087, 0.1547403187, 0.1424310058, 0.1252905279, 0.8336033821, 0.2368082702, 0.4004044235, -0.090754956, -0.5577285886, 0.0086131841, -0.1323332936, -0.4792338014, -0.2787964642, 0.2283935398, -0.4407305121, 0.5578986406, -0.2835230231, 0.1367992163, 0.1033440158, -0.0657705069, -0.2052989155, 0.3254513144, 1.0377447605, 0.5049946904, -0.3808242083, -0.0569920056, 0.3905844688, -0.3619046211, -0.0049560927, 0.025944462, -0.2900635004, 0.171473965, -0.1455380917, 1.0243326426, 0.5805833936, -0.5529257655, 0.3386364579, 0.0288419481, -0.2718420625, 0.2667102218, 0.4785570502, -0.080039829, 0.5229415298, 0.2242317498, 0.161173135, 0.2376439422, -0.1947147697, 0.1196959689, 0.5187138319, -0.3383235037, -0.3308039904, 0.4468836784, -0.1782229245, -0.3227691948, 0.1503506154, -0.0299523398, -0.0909353346, 0.5046583414, 0.4936365187, 0.8614083529, -0.6479672194, 0.1098399535, 0.4930665195, 0.1457166672, -0.4673416913, 0.299896121, -0.5224342942, -0.7373076677, -0.2658040226, -0.560080409, -0.5665258765, 0.1399100572, -0.980997324, -0.0010439656, -0.8528786898, 0.0323663466, -0.1070339978, 0.1008777469, -0.2466762662, 0.3135532141, 0.1487766504, 0.8284048438, -0.5914798379, 0.97016716, 0.2952743769, -0.050549861, -0.547509551, 0.0767050982, -0.2956838608, -0.6233413219, 0.0740557313, -0.0320676342, -0.4360312819, 0.2630198002, -0.5316805243, -0.9021010399, 1.0698992014, 0.5934201479, -0.7610834241, 0.2036108822, -0.2799794674, 0.7073749304, -0.3365049362, 0.1520151645, 0.5001882911, 0.1142363548, 0.3089352846, -0.7988307476, -0.061984729, -0.2242937833, 0.32938537, 0.3767240345, -0.8345932961, 1.2880148888, -0.3724211454, -0.1310163587, 0.0529325753, 0.6758230925, 0.1444704384, 0.1445015967, 0.2010110617, 0.5683717728, 0.9955148697, 0.0311984364, 0.7090474367, -0.2980774045, 0.5668521523, 1.1682275534, -0.1455885768, 0.9966261983, 0.5631562471, -0.1257479787, 0.4761559665, 0.8162270784, -0.0316630751, 0.7239950895, 0.2990282774, -0.0028728985, -0.3150371313, 0.2176637501, -0.316323936, 0.0808603391, 0.4199713767, -0.0012895697, -0.4210471511, -0.0537950471, 0.2921682, -0.1414873749, -0.6538052559, 0.5337517262, 0.0124769351, -0.428740412, 0.9800031781, 0.0581553914, 0.6308652759, -0.309101522, 0.0380821191, -0.4113470614, 0.6465005279, 0.0396869816, -0.1309994906, 0.2035766095, -0.2721765339, -0.3815214038, -0.1908671111, 0.60192734, -0.689792335, -0.3141678274, 0.5249193907, 0.4378124774, -0.1519301981, 0.0965780988, -0.5623538494, -0.3725741506, -0.1503458321, -0.5252007246, 0.5338765383, 0.4104228616, -0.0448252968, 0.7521795034, 0.6774919033, 0.1989063919, 0.2541581988, 0.1794588119, 0.777349174, -0.6152247787, -0.4711609781, -0.9919092655, 0.1970217079, 0.2136923671, -0.1008596271, 0.8636387587, 0.3226093948, 0.898360312, -0.2230925113, 0.5226709247, 0.1897809505, 0.3980682194, -0.5955536962, 0.7158098221, -0.8461338878, 0.0533793457, -0.3481113017, -0.6111091971, -0.4927322567, 0.8692187071, -0.2005342841, 0.05296202, 0.252377063, 0.7954870462, -0.0124802077, -0.2812187672, 0.577183187, 0.3379603326, 0.0149842491, 0.4890957177, 0.4554601312, -0.5524284244, 0.0594891496, -0.3807374835, -0.2294329405, -0.3698230386, -0.6151362062, -1.0748933554, -0.2736012638, -0.129302457, -0.214835465, 0.2246004641, 0.8911674619, 0.633257091, -1.1072140932, -0.3067993224, -0.2568186522, 0.0839805901, -0.2364272922, -0.1351975799, 0.1639869958, -0.6842722893, -0.7706241608, 0.3960230947, 0.8147789836, -0.1447739601, -0.0790958256, -0.2439332902, -0.1041478068, 0.2751055658, 0.4212232828, 0.4521577656, -0.6558868885, -0.2216861099, 0.1867191643, -0.1178743839, 0.327565074, 0.5726528764, -0.408615768, 0.4535131156, 0.7005272508, 0.5150642395, 0.7020913363, 0.0839641169, 0.8136123419, -0.5142677426, 0.2542383373, 0.1435807347, 0.1338608116, -0.0654532984, -0.3172065616, 0.4345062971, 0.0974943191, -0.3266372979, -0.7803806663, -0.0113408342, -0.7548863292, -0.3353644907, 0.9484754205, -0.2529562414, -0.2887281775, -0.0512560084, 0.0655521527, 0.2994530797, -0.4179786146, 0.7948169708, 0.642460227, -0.1673125327, -0.4313566387, -0.6184991002, 0.7374526858, 0.6730411053, -0.5417927504, 0.4035490751, 0.5807837844, 0.3040541112, 0.1094566062, 0.6925960779, 0.1529087424, 0.3968876004, -0.1479419023, 0.2378004193, -0.1610872298, -0.4606482089, -0.4925732315, 0.0024921647, -0.1422053874, -0.2553198636 ]
http://arxiv.org/abs/2404.08078v1
http://arxiv.org/pdf/2404.08078v1
SQBC: Active Learning using LLM-Generated Synthetic Data for Stance Detection in Online Political Discussions
2024-04-11T18:34:11
2024-04-11T18:34:11
Stefan Sylvius Wagner, Maike Behrendt, Marc Ziegele, Stefan Harmeling
cs.CL
cs.CL, cs.AI, cs.LG
Stance detection is an important task for many applications that analyse or support online political discussions. Common approaches include fine-tuning transformer based models. However, these models require a large amount of labelled data, which might not be available. In this work, we present two different ways to leverage LLM-generated synthetic data to train and improve stance detection agents for online political discussions: first, we show that augmenting a small fine-tuning dataset with synthetic data can improve the performance of the stance detection model. Second, we propose a new active learning method called SQBC based on the "Query-by-Comittee" approach. The key idea is to use LLM-generated synthetic data as an oracle to identify the most informative unlabelled samples, that are selected for manual labelling. Comprehensive experiments show that both ideas can improve the stance detection performance. Curiously, we observed that fine-tuning on actively selected samples can exceed the performance of using the full dataset.
[ -0.5668489933, -1.0651884079, 0.4549131393, -0.1399786025, -0.5335478187, 0.1727184951, -0.3747453988, -0.3503672183, 0.6573562026, 0.4326387048, -0.4489877522, -0.6242787242, -0.3900889456, -0.0434668176, -0.2409050465, 0.8435989022, 0.2025119662, 0.2402999401, -0.0463004708, -0.3581104577, -0.126450628, -0.3814638257, -0.6362883449, -0.1332656741, 0.5826810002, 0.4585064054, 0.7394968867, 0.7538211346, 0.093239449, 0.3311742842, -0.1549783796, 0.5474798083, -0.6098764539, 0.331229955, -0.0756680369, -0.7653861046, -0.4076401293, 0.2039399743, 0.7266164422, 0.32284832, -0.0509976856, -0.1707380116, -0.2687685788, 0.5535347462, -0.6076408029, 0.1028258353, -0.9222462773, 0.1656442583, -0.1683785319, -0.1257905662, -0.4966709614, -0.4353639185, -0.4539316893, -0.6404229999, 0.3864593804, 0.1155322492, 0.5995902419, 0.0578915104, -0.5777310133, -0.3149115741, -0.6800131798, 0.5587289333, -0.718321979, 0.3617385924, 0.2011428624, 0.2961764634, -0.2172957808, -0.8216525316, -0.9339798689, -0.0891313404, -0.0231837761, 0.2649178803, -0.3064005971, 0.1655460894, 0.1878708154, 0.2972171605, -0.3395486176, 0.1108200997, -0.2110736221, -0.2886537015, 0.7756423354, 0.0274489336, -0.1402082592, -0.4698006809, -0.4958928525, -0.1638887525, -0.7017428875, -0.0009500819, 0.726195097, 0.5647772551, 0.264526546, 0.7069350481, -0.3001134396, 0.5910905004, 0.6081555486, 0.3031025231, -0.0790871829, -0.1788663119, -0.1476794779, 0.0377581194, 0.8604761958, 0.0226164721, -0.1618655771, 0.188515678, -0.3340187371, 0.0745606869, 0.3195476234, -0.7069413662, -0.381405741, 0.2254238278, -0.4060646892, -0.4313775897, 0.4567778409, -0.5968597531, -0.7892284393, -0.7117071152, 0.2674699426, -0.1618583947, -0.2472224832, -0.2233986855, 0.0564665124, 0.3801324964, 0.5317288637, -0.4405920208, 0.0768977329, 0.8248612881, 0.6293416023, -0.5586862564, 0.3165004253, -0.7019959688, -0.0128963469, -0.4953980446, 1.0339423418, -0.6590610743, -0.2408481985, 0.0980806276, 0.1443182975, 0.2865323722, -0.8736935854, 0.409676075, -0.5997390151, 0.1515999585, -0.2668316066, -0.7418663502, 0.0618536919, 0.5658401251, -0.9776711464, 1.1668021679, -0.2680647671, -0.5991309285, 0.5941596627, -0.5194320083, -0.3649917245, -0.014570483, -0.3061302006, -0.7040772438, -0.0470573381, 0.207845062, 0.5443825126, 0.2916213572, 0.3110234439, -0.4369550049, -0.1832274497, 0.5605369806, -0.290543139, 0.7532047629, 0.1116941795, -0.4280346632, 0.6393297911, -0.7927223444, -0.140404731, -0.1578966975, -0.4278335571, -0.2566696107, 0.1721823812, -0.2303874344, 0.1465926319, 0.0298910309, -0.410077244, 0.3858093023, -0.433044672, 0.0166320205, 0.8426023126, 0.2106628716, 0.5587517619, -0.1519830078, 0.4641910195, 0.0074636484, 0.030445464, 0.1639133841, -0.3529939353, -1.019053936, -0.3691821992, 0.352283448, 0.3819314539, -0.6695969105, 0.3803444803, 0.0551182069, -0.4249811471, -0.5485829115, 0.1323851049, 0.0027955512, -0.0703987107, 0.380346477, -0.1173333526, -0.6301371455, -0.6939762831, -0.5530924201, -0.4100283384, 0.0390734375, 0.3889630735, 0.2388755679, -0.0371460803, 0.9943757653, -0.4090086818, -0.0919394419, -0.339722842, 0.4439471364, -0.1554767489, 0.0440903008, 0.2249037474, -0.9015131593, -0.5370561481, -0.1009938195, -0.3596661687, -0.0432436205, -0.4780298769, -0.2760214508, 0.2567658126, 0.5016698837, -0.8503379226, 0.4160611928, 0.1584675014, -0.2496867478, 0.2549919188, 0.205555737, 0.0894349962, -1.1037881374, -0.2305931598, 0.0919996053, -0.6850195527, -0.7037608027, 0.0002838341, 0.1350550205, -0.1207185164, -0.7535475492, 0.4878880978, -0.416451335, 0.1234444007, -0.5975152254, 0.2524214983, -0.2390343994, 0.345854193, 0.2880292833, 0.4361463189, 0.3007899225, -0.5247965455, 0.5462561846, 0.1671066284, -0.1096471325, 0.3662655354, -0.2837386131, 0.3907054961, -0.0593617447, 0.5360470414, -1.2888629436, -0.3266986012, 0.4669322371, -0.427674979, 0.4578722715, -0.2494588345, -0.3903130293, -0.0542797036, -0.4851903915, 0.090339385, 0.1378774792, -0.6459205151, 0.5958769321, 0.6907345653, 0.1944692731, -0.5142151713, -0.2979119122, -0.0820712, -0.3143186271, -0.3163233995, 0.364920944, 0.3597790003, -0.391848594, -0.2136180997, -0.3058072925, 0.1338829845, -0.3179725409, 0.3697332144, 0.0129143, -0.1484149545, 0.218788743, 0.0357779972, -0.0475888923, 0.1858585179, -0.134790659, 0.3258837461, -0.0009611308, -0.460119307, -0.5373569131, 0.1733749956, 0.4854021072, -0.0381915197, 0.7004191875, 0.8027368784, -0.2738843262, -0.6498701572, -0.4113977551, -0.5196832418, -0.5184383392, 0.1372430176, 0.2517243028, -0.7533694506, 0.2927069366, -0.4530621171, 0.1360033751, 0.2522257566, 0.8579758406, -0.4005103707, 1.0013023615, 0.4557945728, 0.002138735, 0.6128417253, -0.3347672522, 0.2192439139, -0.1352880299, -0.2668958008, -0.3824950755, -0.6323415637, -0.6403005719, -0.8109386563, 0.2574732304, -0.2060768902, -0.0374434032, 0.151398927, -0.459218055, 0.3776195645, 0.2472388446, 0.296214819, 0.1599613279, 0.0065838583, 0.2488701344, -0.1020026356, -0.5732418895, -0.4126625955, 0.8027122021, 0.1295623779, 0.7207596302, 0.0362090617, 0.4320251048, 0.5329079628, 0.3601585925, -1.2633212805, 0.8967954516, 0.0897438973, -0.6809348464, -0.2379487902, -0.4765431285, -1.0608519316, 0.3648611307, -0.5094102025, 0.0594999306, 0.1655819118, 0.2998883426, -0.025396049, 0.4969771802, -0.2026311457, 0.7549870014, -0.366804719, -0.5052545071, -0.482337445, -0.6415171623, 0.096053198, 0.1056903377, 0.005055015, -0.019684786, -0.105957672, 0.7667787671, -0.2433468252, 1.2794376612, -0.6162193418, -0.0418352522, 0.5677886605, -0.10970781, 0.8407282233, 0.3167913556, -0.1421948671, -0.1788392216, -0.5449745655, -0.2545322478, -0.5592913032, 0.5208680034, -0.7792784572, -0.7604692578, -0.4145898521, -0.4127853811, -0.2480081618, 0.0176442992, -0.0238946546, 0.0820352435, -0.5251229405, 0.5092976093, 0.7177946568, -0.0196788311, 0.1672917455, 0.5184762478, 0.025718553, -0.3109103143, 0.6732997298, 0.1437029839, 0.0419250689, 0.4143250883, 0.2494693995, -0.5962408781, -0.4481232762, -0.1506822258, 0.1778251827, -0.7438021898, -0.5333268046, -0.4803150892, -0.0061705802, -0.2398799509, -0.0753580406, -0.5504515767, -0.8670899272, -0.4136033952, -0.3847013712, 0.3834166229, 0.607385993, -0.0340825953, 0.4862787127, -0.2760005593, 0.5395091772, 0.337472111, 0.0746719018, -0.5395450592, -0.4743859172, -0.0089504765, 0.2502942085, -0.7455633879, -1.1743835211, 0.3388932943, 0.3054390252, 0.642657876, 0.719830513, 0.4926104844, 0.624678731, -0.0246635582, 0.7223905325, -0.0855981261, -0.6447304487, 0.7335540652, -0.3904530406, -0.1306063533, 0.3850511312, 0.6474134326, 0.0040966123, -0.6823141575, -0.6201687455, -0.9368169308, 0.7246830463, 0.2271323502, 0.3261604011, -0.0738160163, 0.3942243159, 0.2360564172, 0.1474719048, -0.8026788235, -0.2362508029, -0.3603989482, 0.0590270758, 0.4242078662, 0.1311800927, -0.286893338, -0.4430055916, 0.811781764, -0.3894996345, 0.1845608205, -0.1083219871, -0.1452646852, -0.2724364996, 0.1722608358, 0.227846846, 0.3949861825, 0.070637539, 0.1769355685, 0.4016720057, -0.2472263426, 0.0716288164, -0.1712415814, -0.1325742602, 0.2797541916, 0.0153235169, 0.9766584039, -0.0109216748, -0.3130041957, 0.4782375991, 0.015924694, -0.2131969631, -0.4130383134, 0.2500397563, 0.2083539069, 0.3211070299, 0.3046259284, 0.0496919826, -0.025974296, -0.8667191267, 0.482881695, 0.7919772863, -0.4553818107, -0.3545594215, 0.5633372664, 0.1666993797, -0.2229174823, 0.3894710839, -0.1471279413, -0.5249916315, 0.6184616089, 0.5174247622, 0.4061364532, -0.2618377209, 0.4226496816, 0.4358761013, -0.0220622327, 0.1036472693, 0.2277448773, -0.1645516455, -0.6784465313, -0.2670786977, -0.3346168697, -0.6271349192, 0.2896560729, -0.6930390596, 0.7189133763, -0.5620866418, -0.4482583106, 0.0429891124, 0.4847429395, -0.2302586287, 0.1478537768, 0.2224475741, 0.6225330234, -0.957226634, 0.8669323325, 0.9441603422, 0.128718257, -0.5788807869, 0.2007561028, 0.2127758712, -0.5253686905, 0.1322298199, 0.0657837912, -0.1041503102, -0.112119399, -0.7652189136, -0.276366055, 1.0039442778, 0.4620355368, -0.408744663, 0.3303852379, 0.3353812099, 0.5340790153, -0.2816430032, 0.159044072, 0.1953035146, 0.6868566275, 0.1773196757, -0.170649603, 0.0937542766, -0.1123811156, -0.5316551924, 0.3674857318, -0.913217485, 0.5907511115, 0.1071761847, -0.3199501932, -0.3678242564, 1.0671383142, 0.3781469464, 0.5183122158, 0.6829488873, 0.2726812065, 0.9280495644, -0.08552064, 0.569126308, -0.0932506174, 0.2716206312, 0.6408566236, -0.3128241897, 0.9070543051, 0.4355466366, -0.043427106, 0.3213657737, 0.737275362, -0.1418286711, 0.2759551108, 0.1897228658, -0.51111871, -0.6609145403, 0.1104599386, 0.0629921034, 0.5305611491, 0.6542273164, -0.1241734102, -0.045482263, -0.028057782, -0.0403881371, 0.2315201014, -0.3130241632, 1.0475971699, 0.0656940714, -0.6643870473, 0.5464651585, 0.0267019495, 0.5207477808, -0.490205884, -0.1222720593, -0.3755114079, 0.1187951267, -0.3719319403, -0.8146779537, 0.3816837668, -0.0235293489, 0.0058187358, -0.2881082892, 1.0411975384, -0.529625535, -0.3089852631, 0.0144782541, 0.5651241541, 0.0822684988, 0.0222815592, -0.8479596972, -0.024689747, 0.0626720041, -0.5803570151, 0.447324872, 0.6230813265, -0.3225833178, 0.4257976413, 0.9507914782, 0.1423868984, -0.0139712859, -0.1259074956, 1.2492333651, -0.5187183022, -0.4047974646, -0.6372672319, 0.4327758253, -0.3177537024, 0.0297244266, 0.7963799834, 0.750445962, 0.774153471, 0.0878466517, 0.8255283237, -0.0767440796, 0.3865706325, -0.4557104111, 0.7585398555, -0.5073367357, 0.3525006175, 0.252802819, -0.8825105429, -0.477897644, 0.9201695919, -0.140838176, -0.1592431217, 0.4064427018, 1.1536335945, -0.5892272592, 0.117276378, 0.1240083575, 0.2682496011, 0.304264456, -0.0399616584, 1.0065498352, -0.1057514474, 0.6462789178, -0.2300632894, 0.0715183094, -0.3073126972, -0.7924725413, -1.1048375368, -0.4786470234, -0.5318440795, -0.4497417212, 0.0056963186, 1.035744071, 0.8002489209, -1.0451023579, -0.1185410619, -0.0338291228, 0.0589871146, -0.0990128666, -0.2096703947, 0.4324863851, -0.2070750445, -0.7406539321, 0.6220271587, -0.1662011743, -0.1754425019, -0.1586717367, -0.1249849126, -0.2617973089, 0.4156495035, 0.5052595735, 0.4102963507, -0.7410097718, -0.1925172955, 0.0772018284, -0.0057551777, 0.3963367641, 1.1178774834, -0.9519250393, 0.4726920724, 0.662879765, 0.5468843579, 0.7943229079, 0.5521456003, 0.392296195, -1.1446354389, 0.2415428907, 0.4652310908, 0.1475809067, 0.3564324677, -0.3671354949, 0.2898652852, 0.3281169534, -0.4359768331, -0.7737822533, 0.1884366274, -1.2024023533, -0.4443799257, 1.4555145502, 0.0165576525, -0.1118659973, -0.2932541966, -0.4998548329, 0.7283934951, -0.5326682925, 0.8123852015, 0.2600202858, -0.3237775266, -0.0542369187, -0.3952191472, 0.5488994122, 0.3203955293, -0.7847560644, 0.2201896906, 0.6926802993, 0.0707587451, -0.1356954128, 0.4353713393, 0.0707241595, 0.0996087492, -0.2228940725, -0.2637877464, -0.1437766999, -0.3707194328, -0.0719879568, 0.3270782232, -0.1876698434, -0.0638960153 ]
http://arxiv.org/abs/2404.08066v1
http://arxiv.org/pdf/2404.08066v1
MSciNLI: A Diverse Benchmark for Scientific Natural Language Inference
2024-04-11T18:12:12
2024-04-11T18:12:12
Mobashir Sadat, Cornelia Caragea
cs.CL
cs.CL
The task of scientific Natural Language Inference (NLI) involves predicting the semantic relation between two sentences extracted from research articles. This task was recently proposed along with a new dataset called SciNLI derived from papers published in the computational linguistics domain. In this paper, we aim to introduce diversity in the scientific NLI task and present MSciNLI, a dataset containing 132,320 sentence pairs extracted from five new scientific domains. The availability of multiple domains makes it possible to study domain shift for scientific NLI. We establish strong baselines on MSciNLI by fine-tuning Pre-trained Language Models (PLMs) and prompting Large Language Models (LLMs). The highest Macro F1 scores of PLM and LLM baselines are 77.21% and 51.77%, respectively, illustrating that MSciNLI is challenging for both types of models. Furthermore, we show that domain shift degrades the performance of scientific NLI models which demonstrates the diverse characteristics of different domains in our dataset. Finally, we use both scientific NLI datasets in an intermediate task transfer learning setting and show that they can improve the performance of downstream tasks in the scientific domain. We make our dataset and code available on Github.
[ -0.187863633, -0.372970134, 0.1578003317, 0.5145526528, 0.0613180511, 0.3038055003, -0.383715868, -0.7795166373, -0.083070226, 0.3754165471, -0.6340413094, -0.4467895031, -0.6354804635, 0.6955653429, -0.0216232818, 1.0460150242, 0.2081129998, 0.1948840022, -0.274695456, -0.1511052996, -0.0752022862, 0.0402172059, -0.4037491083, -0.116593115, 0.6087363958, 0.2560213804, 0.403960526, 0.4108195901, 0.6856129169, 0.1591086239, -0.0812877938, 0.474447459, -0.4773584008, 0.0145984869, -0.24297598, -0.5861179829, -0.0671264008, -0.0472863391, 0.7934364676, 1.1858887672, 0.3709056675, 0.1829303503, 0.0642558411, 0.5839545131, -0.6529160142, 0.0901783183, -0.731893003, -0.0147490771, -0.3360809982, -0.04016966, -0.747820437, -0.3637740016, 0.3197008073, -0.8242923617, 0.2478723079, 0.0815774277, 0.8071207404, 0.3338427544, -0.5646802783, 0.010582014, -0.4810776114, 1.2214910984, -0.9301887155, 0.3766816556, 0.173101306, 0.272017628, -0.2254929841, -0.6320303679, -0.4499933124, -0.4212552011, -0.0050305072, 0.0818497241, -0.1478257775, -0.2576879263, 0.1388527006, -0.0624136925, -0.7791742086, 0.1863502115, -0.5478689075, 0.1900826544, 0.7337268591, -0.0069142906, 0.1681396961, 0.0537487417, 0.0207478628, -0.1087583825, -0.8109559417, -0.1459033936, 0.202631548, 0.5817371607, 0.0969161987, 0.5427829623, -0.080961369, 0.8349815011, -0.1981259137, -0.0406255648, 0.4876914024, -0.6789280772, -0.2684980333, 0.206036821, 0.7636290789, 0.469504118, 0.3277001679, -0.2827347815, 0.3644522429, 0.1984176338, 0.16393812, -0.6882833242, -0.1508307606, -0.0804088339, -0.3010333776, -0.1436251402, 0.1708123982, -0.5670551062, -0.1570989192, -0.3889257312, -0.1285417378, -0.5222019553, -0.1275114864, -0.0867782161, -0.0397642255, -0.0964133963, 0.0949270278, -0.5583691597, 0.4450813234, 0.8166220784, 0.943682909, -0.7255370021, -0.3448938727, -0.2592011094, 0.2948492169, -0.1509772837, 0.5430770516, -0.693162322, -0.3736365736, -0.2511206865, 0.0617394894, -0.7039903402, -0.5658953786, 0.6744362116, -0.3873600662, 0.1838955581, -0.2350444794, -0.6954136491, -0.0723810345, -0.1319584697, -0.7322196364, 1.0376977921, -0.1051254347, -1.1657705307, 0.3880259097, -0.9497672915, -0.4757568836, 0.0691913068, 0.203590855, -0.0986594632, 0.108555004, -0.1097307429, 0.1340024173, -0.2527555525, 0.7386817932, -0.6027139425, -0.1971717179, 0.3335259855, -0.345069468, 0.8875077963, 0.5429484248, -0.2186061591, -0.0757925734, -1.0387314558, 0.0397282727, -0.3918016851, -0.0056580538, -0.6131705046, 0.0301406235, 0.3979153931, 0.1987207532, -0.0496401042, -0.8597192764, 0.1199142337, -0.5666013956, 0.4812257886, 0.3322534561, 0.0400835536, 0.2634709477, -0.0923098847, 0.0793224126, 0.0075855246, 0.099320218, 0.390955925, -0.7923990488, -0.331181258, -0.3632176816, 0.4129801691, 0.6363713741, -0.6030796766, 0.396589458, -0.4802695215, -0.4128292799, -0.9366681576, -0.0434037037, 0.1523179412, 0.5426071882, 0.3880091608, 0.1774578243, -0.6757435799, -1.1127890348, -0.5377230644, -0.0112010697, -0.1813315153, 0.2010915875, 0.7000581622, -0.2375739366, 1.1722067595, -0.2373658717, 0.2100888342, -0.0205520429, 0.563729167, 0.5104577541, 0.5349618196, 0.5451012254, -0.9944357276, -0.5454117656, 0.25506863, -0.7902941704, -0.2702344954, -0.155412972, -0.2305436283, 0.0330868252, 0.2538003027, -0.5693336725, 0.231416598, 0.5195521116, -0.335098654, 0.5357240438, 0.1363032758, 0.3087749779, -1.0659842491, 0.4081479013, 0.3729764521, -0.011223454, -1.0121423006, 0.0285561178, -0.1421666294, 0.397305429, -0.5681576729, 0.4206043482, -0.1810062677, 0.0603260286, -0.2826316357, -0.0814093053, -0.1284121126, 0.0943357348, 0.1396558881, 0.8893329501, 0.45145154, -0.5928938985, -0.4018437564, 0.197742641, -0.311761409, 0.1897773594, -0.6839305758, -0.22720249, 0.0769286007, 0.1549106836, -0.7047373652, 0.0058159884, -0.0728570223, -0.2170006186, 0.1722759306, 0.2747348845, -0.3734966218, -0.3383069634, -0.1192251742, 0.4577848911, 0.067463778, -0.4897915721, 0.2267488837, 0.1593342721, -0.2338139266, -0.6073897481, -0.7392563224, 0.335364759, -0.2250187546, -0.5056337714, 0.548202455, -0.3985367119, -0.5589939952, 0.114720732, -0.0780102909, -0.2765887678, 0.150671646, 0.2845684886, 0.4248546064, -0.4471646249, -0.1405244619, 0.3126366436, 0.141471684, 0.1769526005, -0.3990600109, -0.2099448293, -0.1843895465, -0.0752107725, -0.361458838, 0.4311867952, 0.5929268599, 0.0613456629, 0.6937006712, 0.4203869998, -0.3413999081, -0.0353162475, -0.326431632, 0.0094507542, -0.3761588037, 0.3337830901, -0.4265143871, -1.1862767935, 0.1391253471, -0.2492362857, 0.3372119963, 0.635607183, 0.2254676372, 0.0741631836, 0.9618420601, 0.6344433427, -0.2334973365, -0.0669252649, -0.1235677153, 0.2667826414, -0.6964356899, -0.0713139996, -0.7771620154, -0.1299067885, -0.6421666741, -0.4833272398, 0.146464631, 0.0431608744, -0.1246492192, 0.3361183703, -0.4048906565, 0.4738025367, 0.4676364362, -0.1741681546, 0.4184840918, 0.0015840397, -0.0588813722, -0.4077312946, -0.7093420625, -0.6622906923, 0.8823282123, 0.1237578914, 0.3236157894, -0.0319890268, 0.5044202209, 0.2990982234, 0.6549893022, -0.2829577923, 0.4209372401, -0.509147644, -0.3434745073, -0.2417804897, -0.6759949923, -0.7533146143, 0.3903672099, -0.1500433087, -0.6595208645, 0.4200661182, -0.2916765511, -0.0526781268, 0.2521205842, -0.6534264684, 0.7637873292, -0.0991187543, -0.3392320871, -0.1421317905, -1.031370759, 0.6963058114, -0.2129247934, 0.3508715928, -0.3999049366, 0.1640591025, 0.6534978151, -0.0996313021, 0.9752679467, -0.00430523, 0.2039539516, 0.0294079725, -0.0639344156, 0.1274546683, 0.2421046942, -0.5238286257, 0.2749456465, 0.1053510979, -0.4133855104, -0.4691875279, 0.9395444989, -0.7760198116, -0.2210672945, -0.4448964, -0.7810799479, -0.3110361397, 0.1416783482, 0.3009688258, -0.1499340832, -0.5250407457, 0.0382544138, 0.6624422669, 0.0444008037, 0.5648964643, 0.3967986405, 0.2697152793, -0.2526461184, 0.8182995915, -0.2469617277, 0.1791745424, 0.4712110758, 0.0120724319, -0.2029911131, -0.6227518916, -0.1475795209, 0.3329143226, -0.4025740623, -0.1429853141, -0.8959076405, -0.2016238719, -0.5026813149, -0.1702296436, -0.1961841136, -0.5913926959, -0.5731929541, -0.1275764853, 0.414655596, 0.7318860888, 0.177821666, -0.1159983501, -0.7514360547, 0.0643238127, -0.0912167504, -0.0769492164, -0.2857017815, -0.5079370737, -0.0719608441, 0.136953488, 0.1632844508, -0.581605494, 0.6512461901, 0.921004355, 0.627278626, 0.4023409486, 0.103786245, 0.7123319507, -0.7041178346, 0.7665223479, 0.2878581882, -0.7143231034, 0.4589163959, -0.1013383195, 0.4829175174, 1.062440753, 0.7815093398, -0.3948494196, -0.8481160998, -0.3103326261, -0.6700887084, 0.2859974205, 0.2009848803, -0.2784516513, -0.1785462946, 0.2421992719, 0.6157456636, 0.174639225, -0.6191611886, -0.1252863109, -0.1703667194, -0.4239101112, -0.2945201695, 0.1951782107, -0.1397564411, -0.5416728854, 0.7088060975, -0.5257634521, 0.0014104826, 0.2166510075, -0.4080868959, 0.0756446049, 0.1785563529, 0.8331412077, 0.8570626974, -0.2370150238, 0.2892587483, 0.262300998, -0.5957872868, -0.2175267339, 0.1914804727, -0.1819170564, 0.3014836609, 0.6049038768, 0.9342061281, 0.4431222379, -0.749828577, 0.0958628953, 0.0433419347, -0.4232010841, 0.2411928773, -0.0992023945, -0.0059269047, 0.0024579491, 0.552044034, 0.4376361668, 0.4877721667, -0.1964306235, 0.5094802976, 0.136832878, -0.2484037727, -0.5971759558, 0.7739127278, -0.0823207125, -0.0148791773, 0.442971468, -0.1189951226, -0.1427962929, 0.5217308998, 0.7386610508, 0.7084514499, -0.2056546509, 0.5021626353, 0.4830829799, 0.1953680962, 0.0169350822, 0.089807637, 0.1134248599, -0.5506640673, -0.8128811717, -0.6416702271, -0.400945127, -0.1708736569, -0.7394662499, -0.0773970708, -0.0830815583, -0.0199386403, 0.5486539602, 0.0362453461, -0.4802801609, -0.0208190903, 0.1166922301, 1.1048241854, -1.1938780546, 1.1436675787, 0.5707451701, 0.1136369258, -0.1489893943, -0.2422050089, 0.0413123667, -0.2644622028, 1.1464189291, 0.2285199612, -0.2242105454, -0.1516441405, -0.7542722225, -0.8880172968, 0.7651885152, 0.3099264801, -0.7501246929, 0.1735507399, 0.3274267316, 0.8049640059, -0.7922824621, 0.326924026, 0.7513942719, 0.6428876519, 0.1416504234, -0.7480335832, 0.0426559784, -0.562918067, 0.1179512516, -0.1199918017, -0.2267380059, 0.6181827784, -0.1212771386, -0.1124570593, 0.1276534796, 0.9354090095, 0.6775191426, 0.6537191868, 0.4695519507, 0.2881635427, 0.93273139, 0.0346498601, 0.8420589566, -0.2633368075, 0.0953156278, 1.0698685646, -0.83387357, 1.0146850348, 0.7821759582, -0.0910925046, 0.5006956458, 0.7405958176, -0.2995063663, 0.6063358188, 0.2264035046, -0.5074378252, -0.0700308904, -0.4297610819, -0.2857834101, 0.0903538913, 0.4145086706, -0.1571200043, -0.1852179468, 0.3787633777, -0.090904668, 0.0949402824, 0.0954423472, 0.3634485304, 0.0533150323, -0.6911253333, 0.4803337753, -0.2424183786, 0.7466551661, -0.5269588232, -0.165283516, -0.0641975626, -0.0438393094, -0.2568172812, -0.5200551748, 0.4002156258, 0.0012790461, -0.419285506, -0.0786134973, 0.5150034428, -0.5659627318, -0.7653342485, 0.228766039, 0.2634908259, 0.2294198871, 0.2776796818, -0.7684546709, -0.1018358245, 0.1502517909, -0.1485901475, 0.377142936, 0.2387349904, -0.3795583248, 0.5510313511, 0.74164325, 0.0725694969, 0.2997833788, 0.335146457, 0.7558392286, -0.4389335215, -0.2459366173, -0.4930236936, 0.2558714449, -0.4109437168, -0.5682501197, 0.9584288597, 0.7927666903, 0.5202733874, -0.371647656, 0.8140112758, 0.0020628672, 0.4376112819, -0.3940903842, 0.5197799802, -0.214708969, 0.0292158239, -0.1371278018, -0.8003048897, -0.810305357, 0.3053937554, -0.0927998349, -0.2948767841, 0.925396502, 0.6925700307, -0.0214617718, 0.5224146247, 0.051571276, 0.2674735487, 0.1093668491, 0.5301645398, 0.6424638629, -0.2551950812, 0.0925597847, -0.094073005, -0.1720140278, 0.0993214324, -0.8815250993, -0.7381035686, -0.3135468066, -0.825653851, 0.0608627796, 0.4431084394, 0.8152865767, 0.8632382751, -1.4096425772, -0.4375846982, -0.3310669661, -0.0144958179, -0.6403076053, -0.281870991, 0.2994960546, -0.3847221434, -0.7787476778, 1.1124615669, 0.2630080283, -0.2968711853, 0.0922677964, 0.023967037, -0.8302429318, -0.0796102062, 0.5753543973, 0.4662103653, -0.7415181994, -0.066601187, 0.2688584328, -0.0073048975, 0.0052135824, 0.7934161425, -0.4378940761, 0.1185918078, 0.3834356964, 0.7995998263, 0.5143474936, -0.2711703479, 0.6577585936, -0.8285964131, -0.0259267185, 0.2812023461, 0.0554035455, 0.2260170579, -0.2686452568, 0.7700711489, 0.3554189801, -0.4693684578, -0.9904613495, -0.1526391953, -1.0550404787, -0.5397344232, 0.822496295, -0.1244955733, -0.5595018864, -0.3843399286, 0.2111352682, 0.0682124421, -0.1648201197, 0.4694449306, 0.5811885595, -0.1129899174, -0.1091402769, -0.8256306648, 0.5987485051, 0.5608054399, -0.8515617251, -0.1383886933, 0.2154125273, 0.1937743872, 0.3268800974, -0.0221508685, 0.0648966953, 0.0705547929, -0.1829985678, 0.1820300668, 0.1586644351, -0.4247133732, -0.2736921608, 0.2327984869, -0.2366369814, -0.0004538365 ]
http://arxiv.org/abs/2404.07989v2
http://arxiv.org/pdf/2404.07989v2
Any2Point: Empowering Any-modality Large Models for Efficient 3D Understanding
2024-04-11T17:59:45
2024-05-31T01:36:53
Yiwen Tang, Ray Zhang, Jiaming Liu, Zoey Guo, Dong Wang, Zhigang Wang, Bin Zhao, Shanghang Zhang, Peng Gao, Hongsheng Li, Xuelong Li
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.SD, eess.AS
Large foundation models have recently emerged as a prominent focus of interest, attaining superior performance in widespread scenarios. Due to the scarcity of 3D data, many efforts have been made to adapt pre-trained transformers from vision to 3D domains. However, such 2D-to-3D approaches are still limited, due to the potential loss of spatial geometries and high computation cost. More importantly, their frameworks are mainly designed for 2D models, lacking a general any-to-3D paradigm. In this paper, we introduce Any2Point, a parameter-efficient method to empower any-modality large models (vision, language, audio) for 3D understanding. Given a frozen transformer from any source modality, we propose a 3D-to-any (1D or 2D) virtual projection strategy that correlates the input 3D points to the original 1D or 2D positions within the source modality. This mechanism enables us to assign each 3D token with a positional encoding paired with the pre-trained model, which avoids 3D geometry loss caused by the true projection and better motivates the transformer for 3D learning with 1D/2D positional priors. Then, within each transformer block, we insert an any-to-3D guided adapter module for parameter-efficient fine-tuning. The adapter incorporates prior spatial knowledge from the source modality to guide the local feature aggregation of 3D tokens, compelling the semantic adaption of any-modality transformers. We conduct extensive experiments to showcase the effectiveness and efficiency of our method. Code and models are released at https://github.com/Ivan-Tang-3D/Any2Point.
[ -0.2545390427, -0.5189247727, 0.8575849533, 0.0498043634, -0.2916218638, -0.789159894, 0.0507409461, -0.4060533047, -0.0504699461, 0.6049991846, -0.1963684708, -0.5428756475, -0.3789396882, -0.1318159103, -0.3122444153, 0.3862935603, -0.0532321781, -0.081791319, -0.0686648041, -0.1611590236, -0.2941778302, -0.2205939144, -0.7070037127, -0.1417935193, 0.363303721, 0.6589455605, 0.7359646559, 1.0391572714, 0.1300709993, 0.3089188933, 0.0639111996, -0.0848199725, -0.7735759616, 0.0052334336, -0.4661512077, -0.6436623335, -0.4024124742, -0.1594979465, 0.6806713343, 0.8885139227, -0.0338619985, 0.0699725002, -0.1042199209, 0.5438243747, -0.7200021744, -0.0574108735, -0.6088855267, 0.3355067074, 0.0540787727, -0.1730117351, -0.2274426371, -0.1240134388, 0.3050718606, -1.0586431026, 0.3882904947, -0.0350030921, 0.5581238866, 0.3730420768, -0.652336657, 0.2849578857, -0.6618337035, 0.6253910661, -0.1909147799, 1.0019484758, 0.2101397663, 0.6684235334, 0.0694414899, -0.6965450048, -0.4661512077, 0.1371849626, -0.0804561004, 0.4389180839, -0.0419130251, -0.0322288275, 0.1805678904, 0.0390603915, -0.6779330969, 0.1796206087, -0.2318861485, 0.0414903834, 0.3346918225, 0.0038134276, -0.2064064443, -0.5685808063, -0.6970730424, -0.470549345, -0.4940141141, 0.1378500611, -0.116552569, 0.2615422606, -0.4689469934, 0.686932385, 0.1217495278, 1.0003101826, 0.2894687057, -0.1514734477, -0.1399273872, -0.2280312181, -0.2466466725, -0.063765958, 0.4285466671, 0.1640661061, -0.0929716378, -0.093006596, -0.0730525181, -0.4296155274, 0.4651151299, -0.9186102152, -0.3898300827, 0.0517586656, -0.5514068007, -0.0347505659, 0.080863446, -0.7037313581, -0.8387423754, -0.3074040413, 0.5378085971, -0.4215477407, -0.56388551, 0.3036514819, -0.2494834214, 0.4099302292, 0.5200889707, -0.8844287992, -0.1496463418, 0.4806749225, 0.8854108453, -0.1021884009, -0.1802278459, -0.1577900946, 0.4758269191, -0.5266245008, 0.8039906621, -0.3274866939, -0.6035758257, -0.0860997587, -0.3728247881, -0.2286427319, -0.3860752881, 0.4315243661, -0.3314578831, 0.2344007045, -0.1232282072, -0.2245629579, -0.5806564093, 0.2923953831, -0.685793817, 0.477922976, 0.6278225183, -0.3359553218, 0.3767211139, -0.8662701845, -0.2324587554, -0.244052574, -0.6361867189, -0.2261816561, 0.3394702077, 0.1790477484, 0.5794866085, -0.4950911105, -0.1476017237, -0.2453694493, -0.0891197771, -0.1969901919, -0.4982272387, 0.6208859682, -0.02553818, -0.2658491433, 0.1244321018, -0.8827975988, -0.3530524671, 0.3294003606, -0.1563467234, -0.0174036734, -0.1227372959, 0.3207193911, 0.3790440559, 0.0680447444, -0.3372336924, 0.0883656591, -0.3278588951, 0.3088886142, 0.4748632908, -0.1740119308, 0.9254618883, -0.1452467144, 0.4893577397, -0.1604493111, 0.1706613302, -0.3238019049, -0.2784962058, -0.4765164256, -0.8072521091, -0.0117063113, 0.2920490503, -0.734906435, 0.4911625683, -0.799916923, -0.4416972399, -0.2374488115, 0.0336781107, 0.0909213424, 0.7300068736, 0.3722376823, 0.1291974038, -0.5041754246, -0.7561481595, 0.1289509535, -0.1571504921, -0.8289753199, 0.3426300883, 0.1656231433, 0.2003064454, 1.1522666216, -0.3920695484, -0.7074322701, -0.1701435745, -0.3216799498, 0.2536514699, 0.5919815898, 0.7124709487, -1.0616544485, -0.2287193537, 0.1186828911, -0.874748826, 0.2300181389, -0.1775502861, -0.2908757925, -0.031273704, 0.5152271986, -0.6593204141, 0.3535169363, 0.72002244, -0.722471118, -0.0074065998, 0.1384395063, 0.0682461485, -1.178935647, 0.2958391905, -0.1174310222, -0.2536555231, -0.7322645783, -0.0360569656, -0.0073225065, -0.4655866027, -0.5668563843, 0.6892870069, -0.2299658954, -0.0317440256, -0.053614933, 0.6319631934, 0.49635607, 0.4782259166, 0.5393199921, 0.0820471272, 0.6208981872, -0.3529833555, 0.2346623689, 0.5975959897, -0.3464883268, 0.9101874232, -0.5145602822, 0.0648929775, 0.0603458621, 0.4340285063, -1.0157583952, -0.1243638769, 0.1780842096, -0.4231154919, 0.2565872669, -0.3632218242, -0.1900212765, 0.0985066369, -0.2280175537, 0.7188248634, 0.0791994333, -1.1447793245, 1.4300777912, 0.0102668041, 0.2725437284, -0.0961873531, -0.5860459208, -0.0970575437, -0.0615719818, -0.8891088367, 0.4330216944, 0.2182421684, 0.1463638693, 0.0588735268, -0.4658869803, 0.1069691852, -0.1508946121, 0.4190684855, 0.2037488222, -0.3504427671, -0.1508131176, -0.0449559949, -0.5238305926, -0.0529492162, -0.3726677597, 0.3329340518, 0.2542400956, -0.4157207608, -0.2216338217, 0.4748917222, 0.8601570129, -0.0770055205, 0.4084276855, 0.6176403761, -0.4233336747, -0.2056083828, -0.5669334531, -0.1589156538, -0.4922624826, 0.8152559996, -0.8780961037, -0.841065228, 0.3076372445, -0.2215413302, 0.1229426265, 0.230238378, 0.2396534532, 0.1406801641, 1.4326014519, 0.9092389941, 0.1387181431, 0.4579087794, -0.6049592495, 0.4350149632, -0.8444536328, -0.5553842187, -0.3669424951, -0.4442468584, -0.0363968052, -0.7930764556, 0.699295938, 0.53606534, -0.4169378281, 0.4249122143, -0.4424830079, 0.3351449966, 0.2455522269, 0.0817453489, 0.192937538, -0.0152991964, -0.080171667, 0.2292494625, -1.1671191454, -0.0887399763, 0.773254931, 0.4352196753, 0.3719502985, 0.2765575945, 0.04474191, -0.2527030408, -0.0150581012, -0.885438323, 0.3731001616, -0.112005733, -0.722638309, -0.5773001909, -0.3779467344, -0.6610131264, 0.6104568839, -0.4932923019, -0.7449510694, 0.9311435223, 0.2816820741, -0.4916435182, 0.7160807848, -0.5625136495, 1.004478097, -0.1970774829, -0.2469488382, -0.1085390598, -0.4732248485, 0.3042796254, -0.2458328754, -0.09975335, -0.0735613853, -0.287166059, 0.4059736729, -0.10750743, 0.6208561063, -0.3549209237, -0.4089600742, -0.1211627796, 0.5058552027, 0.4149694741, 0.6066922545, -0.3442083299, 0.5785734653, 0.1392247826, -0.4713230431, -0.9484480023, 0.6738032699, -0.893899262, -0.3946987092, 0.0982386023, -0.7244695425, -0.3614679873, 0.1399689764, 0.5485647321, 0.5526561141, 0.0316088423, 0.4203248322, 0.2329721749, 0.0364568867, 0.1649656892, 0.7598366737, -0.1126186252, -0.2441647798, 0.8448969126, -0.3707653284, 0.0764465705, 0.7788210511, 0.1345583349, -0.4836077988, -0.2914569676, -0.57470119, 0.0702883601, -0.7648276091, -0.4692622125, -0.4470074773, -0.0717370063, -0.3733724058, -0.9146748781, -0.884737432, -0.6123027802, -0.2505995035, -0.2032362968, 0.2929191291, 0.4530600607, -0.4531320035, 0.2218679637, -0.5073212385, 0.7353278995, 0.5612560511, 0.5121430755, -0.0011755712, -0.8043009639, -0.0998509973, 0.0326516889, -0.1242874414, -0.4922946393, 0.0197788905, 0.2096958756, 0.2856736481, 1.2024798393, -0.0419729762, 0.8122192025, -0.4117071629, 0.7777119875, 0.502684772, -1.0301640034, 0.4288133383, -0.1950326115, 0.3669351637, 0.5082170963, 0.4975244999, -0.2455849499, 0.2278689891, -0.2524009347, -0.7840410471, 0.8428490758, 0.0507098176, -0.0256962236, 0.3039398491, 0.5720232129, 0.0889380202, -0.2856985927, -0.3256495595, -0.273240149, -0.8641253114, 0.0846471339, -0.1925123185, -0.0997036546, -0.3453302979, -0.4424141049, 0.218522653, -0.1750533432, 0.3463658988, 0.1907917708, -0.0259301644, -0.2509761453, -0.2208230197, 0.414383918, 0.9392749667, -0.1377729326, 0.2656344771, 0.2893611491, -0.3521053791, -0.0364213958, 0.2198556215, -0.0083299614, 0.0457464755, 0.390832305, 0.9333108068, 0.3586621583, -0.4001387954, 0.669077754, 0.0737700909, -0.5687910914, -0.1496380121, -0.145171687, -0.2916660905, 0.590872407, 0.4403983653, 0.2581680119, 0.0881137177, -0.21204862, -0.0208862387, 0.22309196, -0.7290964127, -0.4183297753, 0.8673282862, 0.2703556418, -0.1005330458, 0.6485096216, 0.2603449523, -0.3047454059, 0.2176838517, 0.7297357321, 0.7857402563, -0.3567075729, 0.1366336793, 0.4080478847, -0.0518976748, 0.1294659078, -0.123696208, -0.4589556456, -1.0018639565, -0.4291574657, -0.4828953743, -0.2392189652, 0.0985876694, -0.6237451434, 0.3981511295, -0.4100437164, 0.137761265, -0.1904908866, -0.4111485779, -0.739982307, 0.2755545378, 0.2967835665, 1.0003726482, -0.6862398982, 0.6348424554, 0.6703386903, -0.0386805236, -0.7024724483, -0.4218474329, 0.1230361387, -0.8679561019, 0.2937306762, -0.0665484518, -0.3749314547, 0.326498121, -0.2564814687, -1.0132828951, 1.2603331804, 0.4284700453, -0.4369271398, -0.0648237094, 0.368175, 0.0665395111, -0.2391543835, 0.312563926, 0.6939825416, 0.7626311779, 0.4979937375, -0.5373881459, 0.2838279307, -0.3247153163, 0.2924722731, 0.1994946301, -0.1542315185, 0.3880622983, -0.2951721549, -0.2613607347, 0.2273920774, 0.6293718815, 0.2721161842, -0.1207874939, 1.0246486664, 0.3655959368, 0.1267958581, -0.0659642816, 0.9584984183, -0.4087875783, -0.0147112254, 0.7587695718, -0.061535757, 0.7960829735, 0.5054109097, 0.2348093241, 0.0868589804, 0.3502485454, -0.1287167966, 0.6347193122, 0.0490069687, -0.0272879712, -0.6536893249, -0.0426892079, -0.3886265755, 0.8827788234, 0.3944679797, -0.0264199171, -0.3534202874, 0.3055893183, -0.1540488899, 0.1242995933, -0.1729134768, 0.5574741364, 0.1873509139, -0.2056609988, 0.8715811968, 0.0443815999, 0.3509567976, -0.8194382787, -0.2201480418, -0.310208261, 0.016064046, -0.365873009, -0.3150237203, 0.133814618, -0.2733975649, -0.419139266, -0.2719537616, 0.0767877698, -0.3268388808, -0.4415612817, 0.324059695, 0.2784034312, -0.093271248, -0.4477170706, -0.4845322967, 0.004870702, -0.2859167457, -0.3390358984, 0.2721832097, 0.5491149426, 0.1248435229, 0.3243218064, 0.638276577, -0.0125948852, -0.2638878822, 0.1115170121, 0.7841690779, -0.3959392011, -0.3913999796, -0.2353874594, 0.5229182243, 0.0567334816, -0.4801175892, 0.6953417063, 0.5939671993, 0.92160815, 0.0550522804, 0.4577545822, -0.1566248089, 0.373953253, -0.572879374, 0.6930227876, -0.8595141768, 0.2820050418, 0.0385058522, -1.4350858927, -0.7064699531, 1.0011632442, -0.2679850757, 0.0920693725, 0.61423105, 0.8834100366, -0.358684212, -0.133313179, 0.82916224, 0.3833112121, 0.3353056312, 0.4944576025, 0.6645827293, -0.2925016284, 0.9126651883, -0.3920864761, -0.312862128, -0.0616107732, -0.8174472451, -0.8364318609, -0.5139437318, -0.0862377286, -0.1312815845, -0.1063955277, 0.7461583614, 1.0929011106, -0.6932972074, -0.1931156218, 0.0023574308, -0.0673929453, -0.2608956397, -0.1443327218, 0.7310857773, 0.1829633713, -0.7028957605, 0.7417712808, 0.4007810354, -0.2938257754, -0.155014053, 0.0488268547, 0.2033227235, 0.0222417675, 0.9120977521, 0.4432208538, -0.5428084135, -0.5387219787, -0.0359762907, 0.1959063113, 0.0536410511, 0.9437128305, -0.5761595368, 0.6390656233, 0.5320546031, 0.3346426487, 0.7069213986, 0.1324805319, 0.7861047983, -0.4308263063, 0.3350587189, 0.1895061731, 0.2937701046, 0.4068253934, -0.078900516, 0.4841042757, -0.1457790732, -0.2040277719, -0.4565922618, 0.3992110491, -1.1530920267, -0.3708082438, 1.173196435, -0.0953572839, -0.0101105496, -0.2170925587, -0.2110523432, 0.1270171702, -0.036538735, 0.9168072939, -0.3615045547, -0.0667969286, -0.2093993574, -0.4045525491, 0.5747861266, 0.3911350071, -0.433591187, -0.2335474491, 0.3196366131, -0.0176335517, 0.2253000736, 0.1961409152, -0.3184859157, 0.3206051886, 0.0542058013, 0.0900654495, -0.324555248, -0.5799818039, -0.5921971202, 0.3454722762, -0.2692815363, -0.2183182836 ]
http://arxiv.org/abs/2404.07982v3
http://arxiv.org/pdf/2404.07982v3
Language Imbalance Can Boost Cross-lingual Generalisation
2024-04-11T17:58:05
2024-05-13T13:30:35
Anton Schäfer, Shauli Ravfogel, Thomas Hofmann, Tiago Pimentel, Imanol Schlag
cs.CL
cs.CL, cs.LG, I.2.7
Multilinguality is crucial for extending recent advancements in language modelling to diverse linguistic communities. To maintain high performance while representing multiple languages, multilingual models ideally align representations, allowing what is learned in one language to generalise to others. Prior research has emphasised the importance of parallel data and shared vocabulary elements as key factors for such alignment. In this study, we investigate an unintuitive novel driver of cross-lingual generalisation: language imbalance. In controlled experiments on perfectly equivalent cloned languages, we observe that the existence of a predominant language during training boosts the performance of less frequent languages and leads to stronger alignment of model representations across languages. Furthermore, we find that this trend is amplified with scale: with large enough models or long enough training, we observe that bilingual training data with a 90/10 language split yields better performance on both languages than a balanced 50/50 split. Building on these insights, we design training schemes that can improve performance in all cloned languages, even without altering the training data. As we extend our analysis to real languages, we find that infrequent languages still benefit from frequent ones, yet whether language imbalance causes cross-lingual generalisation there is not conclusive.
[ -0.4691127241, -0.3771201074, -0.0865515769, 0.6103087664, -0.0866766721, 0.4286817014, -0.1550199687, -0.6227182746, 0.6800587177, 0.2519651651, -0.2434764057, 0.1274887174, -0.6946397424, 0.0689422414, -0.2399821132, 0.8435375094, -0.0216421634, 0.6420431137, -0.1561489701, -0.9938026071, -0.5633193254, -0.7506004572, -0.3271176517, -0.8599762917, 0.4901284277, 0.3050283194, 0.8920086026, 0.7496180534, 0.1116284281, 0.2522999048, 0.1428546309, 0.1399965882, -0.6483812332, -0.0294904411, -0.2207089812, -0.6977192163, -0.4294283986, -0.3076516092, 1.0099204779, 1.0813189745, -0.1514784545, -0.1296376437, 0.2367918193, 0.6135928035, -0.5765371323, -0.153112188, -0.6712676883, -0.0405793078, -0.42883268, -0.1403146833, -0.016462544, 0.2744393349, -0.0186142046, -0.8103737831, 0.2448901832, 0.1015604958, 0.9065542221, -0.1287193596, -0.3635319173, -0.1372805089, -0.5504655242, 0.9571756124, -0.4011578262, 0.4238092005, -0.0916014612, -0.0031505493, 0.4448142946, 0.0400526896, -0.5517941117, 0.0938002244, -0.1019741893, -0.1016011164, -0.1499951929, -0.2495923787, 0.2575063407, 0.4903304279, -0.6614249349, 0.4431233406, -0.2978476882, -0.2426095456, 0.2688845396, 0.0608678721, 0.869758606, 0.2516421676, -0.3618158996, -0.1843320429, -0.8896806836, -0.0018709406, 0.7051767111, 0.3214564621, -0.2532331347, 0.5613183975, 0.0047819857, 0.7503612638, 0.1081977263, -0.0608021989, 0.556722343, -0.6018064022, 0.2201389223, 0.2142800391, 0.5801181197, 0.4397284389, 0.876124084, -0.1940055192, -0.0231805071, 0.0879113749, 0.1503428072, -0.6344573498, -0.050177414, -0.1722131371, -0.0644960403, -0.1253232956, 0.1156306565, -0.5052449703, -0.0111860186, -0.3198829591, 0.183982268, -0.3338824213, -0.7041031718, 0.1308532953, -0.3912891746, 0.2206593305, 0.0016221137, -1.3535279036, 0.2508564591, 0.8133078814, 0.7729136348, -0.3773878813, -0.8810327649, -0.4005010128, 0.3048399389, -0.4401392937, 0.5313661695, -0.5320141912, -0.0725696161, -0.0322973244, 0.1340976059, -0.328315258, -0.9215363264, -0.090488784, -0.3540017605, 0.2940064073, -0.4136035442, -0.22295928, 0.0651693791, 0.1336181164, -0.7954300642, 0.9016466141, 0.1725142002, -0.9703463912, 0.8013215661, -0.1025530994, -0.7397672534, -0.0067933579, -0.2182405591, -0.4108218551, 0.1453073919, 0.2431821227, -0.0054626297, -0.1733842343, 0.1702639163, -0.5357010365, -0.4214739501, 0.1384580731, -0.2757020295, 0.8351231217, 0.0757186636, -0.3680326045, -0.2064923942, -0.2129187435, 0.0026640706, -0.0297050327, -0.1491289735, -0.8258687854, -0.3672751188, 0.0927240327, 0.2487460077, 0.2028592676, -0.5527777076, 0.1437760293, -0.4196662605, 0.0811474472, 0.4812216163, -0.3483920693, 0.8543756604, -0.6808332801, 0.6826372147, 0.4311598539, -0.2801655829, -0.0070302994, -0.5367677808, -0.5472260714, -0.3642574549, 0.3790794611, 0.7740114927, -0.4961905181, -0.0321274251, -0.7034118176, -0.0996676385, -1.0748487711, 0.7794461846, 0.5552492142, 0.0514954515, 0.2166195661, -0.5390226245, -0.4250472784, -1.2464878559, -0.5720992684, 0.0885523483, 0.0992381349, 0.1430399716, -0.0080486666, -0.3496317863, 0.8025273681, 0.0182861034, -0.1130777225, -0.5040883422, 0.1854407042, -0.1608572602, 0.7017685771, 0.9694967866, -0.8381091952, -0.7462697029, 0.5479562879, -0.7261609435, -0.4596484303, -0.1448498368, -0.0497913063, 0.328181535, 0.4177417755, -0.2920260429, -0.065605022, 0.7824739218, -0.0274610817, 0.1536793262, -0.2582935691, 0.0991116837, -0.8666424751, 0.0497527197, -0.1054036841, -0.1458998919, -0.579026103, 0.1209078431, 0.2070987523, -0.0246393289, -0.3601679206, 0.7193075418, -0.5803009868, -0.0133572705, -0.3574090004, 0.088244848, 0.005068609, 0.2977314591, -0.0900610983, 0.6773602962, 0.7107753158, -0.3042025864, 0.1085023135, -0.1320109814, -0.1660789698, 0.6471720338, -0.5577311516, -0.4034463763, -0.1354177892, -0.1530581713, -0.8098962903, -0.2370204777, -0.1789246202, -0.2697055042, 0.7038709521, -0.0988458991, -0.4229727387, -0.2519137263, -0.1563146859, 0.9600942135, 0.2765141129, -0.6741303802, 0.5944917798, 0.5133075714, -0.0705305338, -0.900847435, -0.9943485856, -0.1226913854, -0.3564476073, -0.7288938761, 0.2721128762, 0.0810425058, -0.5375580788, -0.0123309968, -0.2383785099, 0.0193345733, 0.1542834938, 0.0096484786, -0.1252601743, -0.3750676811, -0.0258708708, 0.0930027962, 0.0345557369, -0.1694268584, -0.5087421536, 0.7550150752, -0.0234871209, -0.4554671645, -0.0648894086, 0.6267673373, 0.9351797104, -0.0998146906, 0.7385316491, 0.42132622, -0.1013611332, -0.2927462757, -0.525822103, 0.0940380245, -0.4082247913, 0.4146167338, -0.4750818908, -0.8485158682, 0.7845382094, 0.2575269639, -0.0393256731, 0.3569052219, 0.5874909163, 0.1507558376, 1.0799325705, 0.7449157238, -0.6043689847, 0.6148411036, 0.1065542549, 0.0704998672, -0.4407230318, 0.0041011428, -0.2039852738, -0.3370863497, -0.7871825099, -0.5098145604, 0.0774497613, 0.1375601739, 0.1347814947, 0.1988641918, -0.037868686, 0.6413528919, 0.5891854763, -0.1502465457, 0.3243499994, 0.3524849713, -0.5531538725, -0.0815376639, -1.0714088678, -0.1088048518, 1.1868219376, 0.1421470493, 0.8719379902, 0.0325819701, 0.6705370545, -0.0077102166, 0.3020071089, -0.455901593, 0.1027695239, -0.3664124906, -0.6520518661, -0.2378500998, -0.5058780909, -0.943092227, 0.6464554667, -0.1013655663, -0.2197912931, 0.224764511, 0.3294725418, 0.0479704589, 0.3707476556, -0.8089319468, 1.0050514936, -0.4908585846, -0.6265447736, -0.462362498, -0.4247508049, 0.4032463431, -0.4219231009, 0.4238260388, 0.1107040197, 0.0950824469, 0.4033824801, -0.4302230179, 0.7249602675, 0.018878879, -0.2771631181, 0.010413399, -0.0881558582, 0.1421880573, -0.0688657612, 0.1612960696, 0.3208660483, -0.106821619, -1.1286488771, -0.5169119239, 1.0610785484, -0.8910833597, -0.568936646, -0.3394864798, -0.7634170055, -0.2651225626, 0.1445201784, 0.4393730164, 0.2398179173, -0.2973076403, 0.149326697, 0.5579375029, -0.0360820033, 0.1638520211, 0.4566180408, -0.4675383866, -0.4527974129, 1.1147779226, 0.2172964811, 0.8829677701, 0.5099923015, 0.000889448, 0.0759330988, -0.1278021485, -0.6703443527, 0.31333974, -0.3779582381, 0.2223333567, -0.7870542407, 0.2037493736, -0.5039601326, -0.289945215, -0.2885529399, -0.7335059643, 0.169377476, -0.0911719799, -0.1370503157, 0.5598368645, -0.4230352938, 0.4605884552, -0.4486557543, 0.4048776329, 0.4849858284, 0.1846770942, 0.1206277311, -0.300529778, -0.4670424759, 0.3108822703, -0.2330336124, -0.5322941542, 0.3323374093, 0.3485125601, 0.883143723, 0.4947661161, -0.5302129984, 0.8079622984, -0.3405747414, 0.4276621938, 0.2234433591, -0.7911798358, -0.1826441586, -0.4531227052, 0.6450977921, 0.4190101326, 0.3549505174, -0.8428352475, -0.7601923347, -0.5057732463, -0.778711915, 0.6577746272, -0.0268943384, 0.1707487404, 0.0743590891, -0.2307387143, 0.223579362, 0.1499260962, -0.9665485024, -0.2689545453, -0.3299012184, -0.1110104322, -0.3305808902, -0.2057615221, -0.2313607186, -0.2632770836, 0.4319844246, -0.1823015958, -0.0992396325, -0.2924502194, -0.4743263721, -0.4759731293, 0.1314201504, 0.5281472802, 0.6740176082, 0.0930419415, 0.1370538622, 0.2203382552, -0.4192277193, 0.1757578999, -0.0539003871, -0.1346418262, 0.1022956967, 0.521830976, 0.6212911606, 0.4582818747, -0.6030748487, 0.5099737048, 0.2203285098, -0.0647675842, 0.2224029303, -0.0425017215, 0.2019053698, -0.0034931428, 0.3205618858, 0.2258538753, -0.4340600669, -0.7139796615, 0.3192961514, 0.7963843942, -0.0564898998, -0.3716619611, 0.552425921, 0.1414833963, 0.0520345792, 0.4861190021, -0.0094736852, -0.8344346285, 0.756868124, 0.7186784744, 0.6928178072, -0.3382393718, 0.0517532341, 0.1922243387, 0.5460492373, -0.2248304486, 0.269993633, -0.1303905547, -0.9249334335, -0.3117018938, -0.7150998116, -0.2787780166, -0.2556169033, -0.6828701496, 0.302058816, -0.0339052528, 0.1488679796, -0.1658346653, -0.404340595, -0.5493990779, -0.0951030329, 0.348924309, 0.5829303265, -1.2154836655, 1.0772982836, 0.7498303056, -0.0539227836, -0.601369679, 0.06315393, -0.0743448138, -1.0163775682, 0.7519847155, 0.2217234671, 0.0139356237, -0.3298857808, -0.0690689906, -0.7946565747, 0.5478909612, 0.5161391497, -0.6879302859, -0.1413282901, 0.77372998, 0.7152360082, -0.6348212361, 0.0112565169, 0.2446174026, 0.2427540123, -0.1090720817, -1.1879688501, -0.1575615555, -0.3320156634, -0.1224507391, 0.5092908144, -0.6253535151, 1.0143932104, -0.0954206064, 0.001299905, -0.1131722406, 0.4277408719, 0.2506456077, 0.2379560769, 0.3506598175, 0.8920987844, 0.6388410926, 0.0185930394, 0.9124340415, -0.5963668823, 0.0517821349, 1.1169910431, -0.2369536757, 0.4497999847, 0.6949948072, 0.1660476774, 0.431004107, 0.2302044034, -0.0227889307, 0.4777725041, 0.0336582251, -0.1504819393, -0.3691617548, 0.0585354082, -0.5804277062, 0.3481370807, 0.2749068439, -0.377337873, -0.4475951791, 0.3819927871, 0.0224343948, 0.0998017937, -0.3648753762, 0.4902403355, -0.0660971403, -0.9149697423, 0.8400753736, -0.3317196965, 0.9873877764, -0.6213824153, 0.2834377587, -0.4518812895, 0.4431488812, -0.165250659, -0.599647522, 0.3850469589, -0.3364345133, -0.3333588839, -0.6562970281, 0.2371156961, -0.9507140517, -0.3390524387, 0.7608018517, 0.6261777878, -0.1169358268, -0.0012641703, -0.5313044786, -0.1373216063, 0.1483477056, 0.3594762087, 0.7491961718, 0.7351267934, -0.4285936058, 0.5836443901, 0.4103654623, 0.3225349486, 0.5388746262, 0.0681358427, 0.7503959537, -0.3818588853, -0.3976539969, -0.8692990541, 0.1878738105, -0.0093668373, -0.3857452571, 0.9396129847, 0.9110314846, 1.3290193081, -0.0857830793, 0.6934556365, 0.1265248507, 0.4489764273, -0.2351320386, 0.6615108252, -0.9631006122, 0.191046834, -0.2135557085, -0.7928063273, -0.2241039574, 0.1481567323, -0.169160381, -0.1849129945, 0.557218194, 0.8727385998, -0.3937235773, -0.3327708244, 0.300599277, 0.04845725, 0.0585409403, 0.4457974136, 0.7017316818, -0.2067666352, 0.4811722338, -0.3025106788, -0.1965186596, -0.0812230259, -0.5294377208, -0.9055569768, -0.3235836029, -0.1600067616, -0.2042755485, 0.0983110592, 0.6067364812, 0.5274167657, -0.9426230192, -0.755848527, -0.0926903561, 0.2448653877, -0.397102356, -0.2011769265, -0.3150991499, -0.5175098181, -0.928557694, 0.1071173474, 0.2404063791, 0.2338056564, -0.1365582198, -0.0976567715, -0.3417201936, -0.1867056042, 0.3442560732, 0.6552324295, -0.6764827967, 0.2204580307, 0.0457648709, -0.3744621873, 0.2129927576, 1.0786082745, -0.5881496668, 0.5845192671, 0.5503892899, 0.6493359208, 0.380789876, 0.053605549, 1.1428931952, -0.8864257336, 0.564268589, -0.0752064511, 0.5082028508, 0.5685743093, -0.1160401627, 0.2685631514, 0.4985509217, -0.2291004658, -0.8102756739, 0.098753199, -0.8112592697, -0.2919321358, 1.1455640793, 0.1084128842, -0.1146353483, -0.0343578458, -0.019711582, 0.0899274424, -0.1386829168, 0.5923541784, 1.0706630945, 0.1397016346, 0.1268817186, -0.2954609394, 0.333073467, 1.0183392763, -0.3013782501, 0.1598006189, 0.2518357337, 0.5076277852, 0.3444249332, 0.2459866554, -0.0988622606, 0.2270891815, -0.076201342, -0.1128879637, 0.4590287209, -0.2336185873, -0.4621076882, 0.2029790878, 0.0750954598, 0.0257563181 ]
http://arxiv.org/abs/2404.07981v1
http://arxiv.org/pdf/2404.07981v1
Manipulating Large Language Models to Increase Product Visibility
2024-04-11T17:57:32
2024-04-11T17:57:32
Aounon Kumar, Himabindu Lakkaraju
cs.IR
cs.IR, cs.AI, cs.CL
Large language models (LLMs) are increasingly being integrated into search engines to provide natural language responses tailored to user queries. Customers and end-users are also becoming more dependent on these models for quick and easy purchase decisions. In this work, we investigate whether recommendations from LLMs can be manipulated to enhance a product's visibility. We demonstrate that adding a strategic text sequence (STS) -- a carefully crafted message -- to a product's information page can significantly increase its likelihood of being listed as the LLM's top recommendation. To understand the impact of STS, we use a catalog of fictitious coffee machines and analyze its effect on two target products: one that seldom appears in the LLM's recommendations and another that usually ranks second. We observe that the strategic text sequence significantly enhances the visibility of both products by increasing their chances of appearing as the top recommendation. This ability to manipulate LLM-generated search responses provides vendors with a considerable competitive advantage and has the potential to disrupt fair market competition. Just as search engine optimization (SEO) revolutionized how webpages are customized to rank higher in search engine results, influencing LLM recommendations could profoundly impact content optimization for AI-driven search services. Code for our experiments is available at https://github.com/aounon/llm-rank-optimizer.
[ -0.12699157, -0.7013043165, 0.8517113924, 0.5692034364, -0.4182513356, 0.3593006134, -0.3326210678, -0.7054623961, 0.2896111012, 0.7256013155, -0.4404454231, -0.7011860013, -0.7373954654, -0.1572075486, -0.5852330923, 1.0560895205, 0.3561058044, -0.1146848202, -0.2096307725, 0.0215873439, -0.5488596559, -0.513363421, -0.7338498235, -0.1924452037, 0.9400894046, 0.3896501362, 1.0918587446, 0.7718474269, 0.6730453372, 0.4351756573, -0.2758057714, 0.2985027432, -0.6960168481, 0.6551870704, -0.3331096768, -0.6935346127, -0.3484784067, -0.3156282008, 0.7839644551, 0.687967062, 0.0188971199, -0.0521194674, 0.5387969017, 0.6976937652, -0.6081598401, 0.0206080247, -0.773989141, -0.1888190061, -0.1691803336, -0.3544039428, -0.8441643715, -0.2315997928, 0.2996133566, -0.7601940632, -0.1395926625, 0.3121986985, 0.9248859882, 0.2266526669, -0.3102433383, -0.2354287654, -1.2970175743, 0.8370062709, -0.5882109404, 0.3800491095, 0.126358673, 0.2362716198, -0.411485672, -0.7044907212, -0.1786893904, -0.184825018, -0.2128764689, 0.0406502895, -0.3767465055, 0.0319116451, 0.2327778637, 0.2015636414, -0.5613661408, 0.1768407375, -0.3159600198, 0.0928180367, 0.6777197719, 0.0189824942, 0.1994664073, 0.1998187453, -0.2017024606, -0.0032646055, -0.6729499102, -0.1557103395, 0.2123584002, 0.2722133398, 0.2128186673, 0.8059581518, -0.3020918071, 0.6199020743, 0.2662519813, -0.018023178, 0.1296850741, -0.3210437894, -0.240453124, 0.3024870753, 0.6497778893, 0.4541706145, 0.1049515754, -0.055903282, -0.3148614764, -0.2453256845, 0.4645000398, -0.8745450974, 0.0720882416, -0.0965832546, -0.5869809985, -0.4097975791, 0.4474005401, -0.4578542709, -0.6530449986, -0.2227478623, 0.6393231153, -0.1674348414, 0.2172823548, 0.2604779303, -0.3048990965, 0.0193895772, 0.0935994312, -0.7610635161, 0.2976688743, 0.9167419672, 1.0149048567, -0.2379415482, 0.1103674322, -0.3800477684, 0.5976305604, -0.4983066022, 0.8018184304, -0.7830632329, -0.6590197682, 0.2506771684, 0.0838390067, 0.2700264156, -0.8606446385, 0.626554966, -0.8774623871, 0.2949564457, -0.3128968477, -0.4928708375, -0.0932175517, 0.094661653, -0.5971139669, 0.8266630173, -0.4169770479, -0.4749651253, 0.3367895782, -0.5543083549, -0.9865555167, 0.1242978424, 0.0512480885, -0.3121537864, 0.1902579218, 0.3017659187, 0.4251818359, -0.0131562138, 0.0446311124, -0.332998842, -0.3733095825, 0.3604759872, -0.3878787756, 0.2911957502, 0.1260403991, -0.3123313487, 0.4164223969, -0.6580148935, -0.1554461718, 0.2411902696, -0.6149331331, -0.6676180363, 0.1235911399, -0.1210279018, -0.0660497919, 0.4997840226, -0.0159966927, 0.2498400509, -0.7238268256, 0.2797011137, 0.979293406, 0.3588925302, 0.5908200145, -0.4115720689, 0.626748383, -0.2077064365, 0.2965088487, -0.3492791057, -0.7064294815, -0.9977582097, -0.0729613379, 0.257350415, 0.3574906588, -0.5223154426, 0.4528740346, -0.2883886695, -0.4397535622, -0.4358028769, 0.1753048599, 0.2635372579, 0.1251524985, 0.1963737309, -0.2147181332, -0.5366978049, -1.0086624622, -0.7424702048, -0.0485555157, -0.1624662429, 0.5919413567, -0.1757743657, -0.3429683447, 0.690390408, -1.005987525, -0.3497867882, -0.3351054192, -0.0054251947, 0.7208759785, 0.0226320662, 0.2817575932, -0.6418557167, -0.6265158653, -0.0776152387, -0.2405889481, -0.2732678056, -0.1776020825, -0.3851216435, 0.0680992231, 0.4360546172, -0.5679456592, 0.2263441086, 0.4347046614, -0.2215257138, 0.4939783216, -0.4930588007, 0.1206586882, -1.0436030626, -0.3022980094, 0.3249380887, -0.1433737874, -0.3646266758, -0.0462566726, -0.2543843389, -0.0475128479, -0.2938380837, 0.5547720194, -0.1715293974, -0.2693417966, -0.325502038, 0.2344402969, 0.4132370353, 0.1573615223, -0.2420327514, 0.8017571568, 0.3061921, -0.9008101821, -0.0950206369, 0.2416875809, -0.5946457386, 0.2687872946, -0.8351715803, -0.04321393, -0.1068315133, 0.2843229473, -1.1034083366, -0.0052669588, 0.0669607148, -0.2117292434, 0.1632105559, 0.061456982, -0.7720057368, -0.05838212, -0.2111240476, 0.1831808239, 0.3694280386, -0.62909621, 0.4115083516, 0.2898774445, -0.341722399, -0.2937628329, -0.7250069976, 0.3319830596, -0.2887426019, -0.7629784346, 0.8910407424, -0.4164388776, -0.3072791994, -0.194080025, -0.0476814918, 0.407586813, 0.1408662349, 0.4632892609, 0.3505415618, -0.0884833336, 0.3685240448, -0.0371037163, -0.1066416726, 0.0888317376, -0.6972094178, 0.7450168133, -0.0753506497, -0.2839080095, -0.4823956788, 0.1242197976, 0.455833286, -0.2191566825, 0.7519785166, 0.4132884741, -0.2120182812, -0.2899259329, -0.3855869472, -0.2822047472, -0.6707339883, 0.3574649394, -0.0259373877, -0.790329814, 0.10770192, -0.1205584109, -0.1235336885, 0.41811499, 0.6635088325, -0.2599666715, 1.6971554756, 0.7371741533, -0.1649761796, 0.8359728456, -0.0865415186, 0.4938280284, -0.5493490696, -0.3002203107, -0.569644928, -0.7202113271, -0.8800005913, -0.3573097289, 0.4707347155, -0.0711135194, -0.2129067034, 0.2493268996, -0.5397723913, 0.5957095027, 0.6808441877, 0.3622035086, 0.5726615191, 0.1902243346, -0.2704768181, -0.0708625019, -0.5849367976, -0.4476246238, 0.8359125257, 0.3787327409, 0.788198173, 0.1524119675, 0.4951289296, 0.5966764688, -0.0200369433, -0.8614463806, 0.7884305716, -0.4952056408, -0.3417737186, 0.0019801487, -0.1586645395, -1.0023692846, -0.1141639426, -0.2880924046, -0.4634485841, 0.0577422939, -0.1916706711, -0.3642420769, -0.1327188313, -0.5093177557, 0.4319474101, -0.7319673896, -0.6136084795, -0.7075208426, -0.176572606, -0.0350981914, -0.05393181, 0.2349297553, 0.1334891617, -0.1232521236, 0.7944576144, -0.3079682291, 0.6888124943, 0.2563225329, -0.2496804148, -0.1179680154, 0.1693540514, 0.7625890374, -0.0254281722, -0.0594596602, -0.0109275747, -0.5179736018, -0.1901692748, -0.7803880572, 0.9802911878, -0.5313692689, -1.1947615147, -0.2719172835, -0.3356962502, -0.2708619237, 0.5647934079, 0.1003720462, 0.1757404357, -0.1898421794, 0.5402044654, 0.7186123729, -0.5384236574, 0.4002490938, 0.4233975112, -0.5151445866, -0.4016946554, 0.8782368302, 0.0114118457, 0.2872733772, 0.6560034752, 0.5029290318, -0.3696018159, -0.6417661309, 0.0134913018, 0.2363559455, -0.816329658, 0.0221328139, -0.6646193862, -0.2422916442, -0.3550767899, -0.1699867547, -0.0320828781, -0.5200380087, -0.3904981315, -0.2202316821, 0.2112214118, 0.9863567352, 0.2564341724, 0.6675022244, -0.6198387742, 0.1181193292, 0.2413123101, 0.5356661081, -0.144616127, -0.604126215, -0.4150764942, -0.1130418852, -0.3888485134, -0.6558353901, 0.4162303805, 0.1345320642, 0.5240061283, 0.8959754705, -0.0945612937, 0.6630012393, -0.5683150887, 0.6688348651, -0.0269396007, -0.6796867251, 0.6446706057, -0.574205935, 0.5128584504, 0.291218251, 0.4745059311, -0.4913799465, -0.4831282496, -0.3563033342, -0.947881639, 0.4940532744, 0.0336428881, 0.3757436872, 0.0366931185, 0.1775767058, -0.0611700714, 0.3277705908, -0.3987461925, -0.2941786349, 0.314273268, 0.022232309, -0.1366358101, -0.4658011198, 0.122570008, -0.0221372209, 1.0443781614, 0.2291840166, -0.068385087, -0.0317879766, 0.1548649371, -0.0179736596, 0.2268010378, 0.5826656222, 0.5859744549, -0.0441939831, -0.0653681681, -0.2611545622, -0.1687790155, -0.2627511621, -0.0990256742, -0.3209492564, 0.1274543107, 0.0833075047, 0.696346581, 0.497912854, -0.5840899944, 0.2028675228, -0.0784123689, 0.1020178124, -0.043317154, 0.1736217141, 0.1594338119, 0.5191397667, 0.3935992718, 0.0626105219, 0.3598328233, -0.6616349816, 0.2657927275, 0.6290171146, -0.3652383685, 0.0546161048, 0.6074565649, 0.1372856349, -0.769225657, 0.2871238589, 0.322316736, -0.633138299, 0.3309598863, 0.6985359788, 0.8276605606, -0.2412782609, 0.3107889593, 0.1763676405, 0.3186299503, -0.1765143722, -0.2549555302, 0.1935291141, -0.5669355989, -0.3123832643, -0.6169335246, -0.3831197321, 0.035930533, -0.3704654276, 0.6124056578, -0.7641004324, -0.4134034514, 0.3553599119, 0.00569352, -0.5061252713, 0.1205811948, 0.2261399478, 0.7097104192, -0.2786445618, 0.5027087927, 0.4813296497, -0.2303365469, -0.3663183451, 0.3483627439, -0.1118637025, -0.812309742, 0.5328676701, 0.3197863996, -0.2965056598, -0.1909126043, -0.608155787, -0.9661602974, 0.9879250526, 0.2286720574, -0.7698993087, 0.0892195702, 0.453235656, 0.6444787383, -0.5564882755, 0.2071787417, 0.2633693814, 0.6446861029, 0.1904273182, -0.6311095953, 0.1395510435, -0.0481440201, 0.0949619934, 0.1244038418, -0.6334664822, 0.1812245846, -0.3170014918, -0.2944873869, 0.144255951, 0.4161867201, 0.5126709938, 0.2405140996, 0.4901800156, 0.3321487904, 0.6332962513, 0.1886236817, 0.9923398495, -0.2645094395, -0.0713725239, 1.1919759512, -0.4655238986, 1.1129155159, 0.3153191805, 0.0837978572, 0.8060703874, 0.562022984, -0.3004055917, 0.7222581506, 0.1564169675, -0.2379282117, -0.2621613443, -0.4448428154, -0.2892356515, 0.391627878, 0.4504151344, -0.9535501003, 0.037331406, -0.1789017916, -0.056268204, 0.1144540012, -0.1978656948, 0.9240115285, 0.1362325251, -0.748852849, 0.4672636986, 0.3814737797, 0.5684534311, -0.5284693837, -0.0385447964, -0.0688149631, 0.4367612898, -0.2546871603, -0.7828012705, 0.0857245475, -0.1539776921, -0.3835178316, -0.5404288173, 1.0583766699, -0.3560620546, -0.7830696106, 0.5088742375, 0.2840931416, -0.2052827775, -0.2850560248, -0.7224254608, 0.2061060667, -0.0092424117, -0.2888256013, 0.3610703349, 0.0914789811, 0.0597559921, 0.721473515, 0.9958068132, -0.0958776176, -0.0868890285, 0.1929885298, 0.8501799107, -0.5727218986, -0.6456555724, -0.9700811505, 0.2247240543, -0.2806161344, 0.3130069375, 0.9038800597, 0.7176145911, 0.7725135684, 0.0849637613, 0.7795706391, 0.5277287364, 0.1468196362, -0.3887783587, 0.9923545718, -0.6382053494, 0.8900296092, -0.1233471259, -1.1903070211, -0.3311288059, 0.1143623069, -0.4229357541, 0.1429084986, 0.4380861819, 0.9059051275, 0.1178957969, 0.0073477263, 0.3949284554, 0.7663538456, 0.3756354153, 0.1928518414, 0.6996814013, -0.1303815842, 0.9082949162, -0.0447564572, -0.119663462, -0.3638725579, -1.0308037996, -0.6816576719, -0.3737016022, -0.3558134735, -0.5288022757, 0.536074996, 0.6100766659, 0.6768476367, -0.6680149436, -0.1888820082, 0.1113157645, 0.3347890973, -0.2359613478, -0.2657386363, 0.1900910884, -0.2221706659, -0.668037951, 0.761241436, 0.5991299152, -0.0761001855, -0.3199366033, -0.0127297994, -0.1812944263, 0.2913465798, 0.7826291919, -0.2852559388, -0.6938388348, -0.0378619432, 0.3273737431, 0.0748952329, 0.2339446545, 0.8549749255, -0.8299561143, 0.3659084141, 0.5877370834, 0.5742000341, 0.5143148303, 0.099668853, 0.8179601431, -0.8252496123, -0.1938298047, -0.0617161319, 0.2628171742, 0.2640906274, -0.6549592018, 0.1739149094, -0.0208657365, -0.5127601027, -0.5095888972, 0.3158272803, -0.7712512612, -0.4152252674, 1.603087306, 0.1800715774, -0.0451140925, 0.1804807186, -0.2977429926, 0.0961538628, -0.6548633575, 1.011425972, 0.7501212358, 0.0386746228, 0.0974988192, -0.5839663148, 0.2426580936, 0.5550543666, -0.5764992237, -0.1671736389, 0.2077759951, 0.1828030199, 0.2691106796, 0.1181037575, 0.0012427722, -0.1464789063, -0.6818597913, -0.6109273434, 0.1065949127, -0.573756814, -0.3578495681, 0.0339886062, 0.2662255466, -0.1231493652 ]
http://arxiv.org/abs/2404.07979v1
http://arxiv.org/pdf/2404.07979v1
LLoCO: Learning Long Contexts Offline
2024-04-11T17:57:22
2024-04-11T17:57:22
Sijun Tan, Xiuyu Li, Shishir Patil, Ziyang Wu, Tianjun Zhang, Kurt Keutzer, Joseph E. Gonzalez, Raluca Ada Popa
cs.CL
cs.CL, cs.AI, cs.LG
Processing long contexts remains a challenge for large language models (LLMs) due to the quadratic computational and memory overhead of the self-attention mechanism and the substantial KV cache sizes during generation. We propose a novel approach to address this problem by learning contexts offline through context compression and in-domain parameter-efficient finetuning. Our method enables an LLM to create a concise representation of the original context and efficiently retrieve relevant information to answer questions accurately. We introduce LLoCO, a technique that combines context compression, retrieval, and parameter-efficient finetuning using LoRA. Our approach extends the effective context window of a 4k token LLaMA2-7B model to handle up to 128k tokens. We evaluate our approach on several long-context question-answering datasets, demonstrating that LLoCO significantly outperforms in-context learning while using $30\times$ fewer tokens during inference. LLoCO achieves up to $7.62\times$ speed-up and substantially reduces the cost of long document question answering, making it a promising solution for efficient long context processing. Our code is publicly available at https://github.com/jeffreysijuntan/lloco.
[ -0.305849582, -0.9101534486, 0.7035239935, 0.1121221259, -0.4638582766, -0.1023327857, -0.5226153135, -0.7036632299, 0.1417995542, 0.4272123277, -0.6252236366, -0.3070100248, -0.2611406744, 0.2470102757, -0.3042658567, 0.8854638338, -0.0224489011, -0.2226733416, -0.3023252189, -0.0099306982, -0.2819931507, -0.364169538, -0.8478465676, -0.0384856425, 0.6238459945, 0.6182173491, -0.1513194442, 0.6677363515, 0.0792339295, 0.3327333331, -0.2243520319, 0.4652041197, -1.0507105589, 0.4130503833, 0.0173289049, -0.4985641539, -0.3624148667, -0.3488092422, 0.594332397, 0.5116274357, -0.1443602294, 0.1722103357, 0.2161308527, 0.5803416371, -0.7248867154, 0.138051793, -0.9285036922, -0.096593909, -0.1311386526, -0.4758677483, -0.3937431276, 0.0125047797, 0.1140999645, -0.8016249537, -0.0685899556, 0.0505872406, 0.587949872, 0.5660796165, -0.502959013, -0.4663309157, -0.4341312349, 0.8509581685, -0.4929974973, 0.2615965009, 0.5321708918, 0.3774885833, -0.1958849281, -1.0183489323, -0.4751562774, 0.1101530492, 0.2183765173, 0.0304664094, 0.1182238981, 0.0610222369, 0.151014775, 0.3993363976, -0.0726795495, 0.2779720128, -0.5348299742, -0.1127961501, 0.3357533216, -0.082112357, -0.1772340089, -0.1662700921, -0.5094907284, 0.2071677297, -0.9439518452, 0.1904232651, 0.139762044, 0.3189812303, 0.0120028071, 0.2025853992, -0.337680757, 0.7408791184, 0.1166344061, -0.3672081828, -0.112834692, -0.0863700956, -0.4265139699, 0.0889207274, 0.4134466648, 0.242668286, -0.0515889786, -0.2860756814, -0.1888705343, -0.4850313365, 0.0434446968, -0.9798955321, 0.3185628653, 0.3608354628, -0.0210791491, -0.1247523576, -0.1746611446, -0.9213936329, -0.0690367594, -0.4683689475, 0.1868707687, -0.0340191685, 0.5129850507, -0.1434876174, 0.2283416688, 0.2163130492, 0.6104184389, -0.8781318069, 0.2911813557, 0.6492471099, 0.9707602859, -0.2222449481, -0.1136746407, -1.1926760674, 0.1936145574, -0.0233787615, 0.7396116257, -0.2879087925, -0.1857886016, 0.0605016239, 0.2340958118, 0.2482407689, -0.4524284601, 0.4578123093, -0.6637110114, 0.1661520749, -0.2138884515, -0.6356295347, 0.0103954487, 0.2207126617, -0.585790813, 1.1557272673, 0.2390105128, -0.5123974681, 0.1483627707, -0.5511876345, -0.4858929813, 0.1467922628, -0.2690982819, -0.1690903604, -0.0166280605, 0.3049197793, 0.7259500027, -0.3551561534, 0.2248317152, -0.1344651431, -0.6194550991, -0.1066734567, -0.1856371611, 0.6461228132, 0.2945334613, -0.4431376159, 0.0769757032, -0.7825837135, -0.0527797192, 0.1371817589, -0.7109665871, -0.3217923939, -0.0747783482, -0.0208343752, 0.121056281, 0.421805352, -0.5189163685, 0.2704353034, -0.4543856382, 0.9815514088, 0.7808442712, -0.2375775427, 0.4961579144, -0.0398826078, 0.2664875686, -0.145805344, 0.0008943274, -0.356571883, -0.2848420739, -0.8911134601, -0.4173013866, 0.047445178, 0.4324241579, -0.6877880692, 0.406026125, -0.3447142541, -0.1201852337, -0.3133156598, 0.6381053329, 0.3307432234, 0.8831543326, 0.5314348936, 0.0583904646, -0.6614094973, -0.5978873372, 0.1427728087, 0.1133583263, -0.1244593114, 0.7257174253, 0.5200176239, -0.4899038076, 1.0861541033, -0.5893806815, -0.5630851388, -0.2467686087, 0.0370854251, 0.0784858689, 0.1553730518, 0.3197173178, -0.7645384073, -0.4372534752, 0.0493595526, -0.5528318882, -0.1009730324, -0.0223013796, 0.0879564211, 0.5198780298, 0.8820923567, -0.3838782609, 0.0815718919, 0.612557888, 0.1100956053, 0.0210367106, -0.3767967224, -0.1160228848, -1.3985573053, 0.2189000845, -0.2946541011, -0.705175221, -0.5011401772, 0.203449294, 0.2085137963, -0.0787897408, -0.9381029606, 0.8179547787, -0.5727026463, -0.0831622034, -0.2717085481, 0.401771605, 0.1559604108, 0.7242082953, -0.028464213, 0.9385581017, 0.3833504319, -0.6219893694, 0.3152893484, 0.0153191416, -0.6491433382, 0.1998290271, -0.5513970256, 0.469915092, -0.3595473468, 0.6874241233, -0.9164475203, -0.4912829101, -0.0541155748, 0.0289134104, 0.2755107284, -0.3313134909, -0.3538985252, -0.0165227577, -0.2599622309, 0.6129903197, 0.4534216225, -0.7943563461, 0.444126308, 0.4499866068, -0.0492689423, -0.7641963959, -0.6733350754, 0.006859492, -0.5759363174, -0.238007471, 0.4701659381, -0.1700750887, -0.118321836, -0.551258564, 0.0134309987, -0.2667776644, 0.1739349812, 0.2209084332, -0.1707171798, 0.0074555045, 0.2965818644, 0.1661535501, 0.1514447182, -0.2037376165, -0.2796276212, 0.6206036806, -0.1833168268, 0.2615340054, -0.3997153044, 0.3828713894, 0.5449795127, 0.1085731164, 0.6107726693, 0.1971074194, -0.4066900015, -0.4699930847, -0.511377275, -0.1228988394, -0.5329676867, 0.2765746117, -0.3040015996, -1.364866972, 0.6800982952, -0.2197608203, -0.0343134701, 0.1780253947, 0.4313829541, -0.2167433649, 0.4459696412, 0.6733503938, -0.260281235, 0.6048204899, -0.366637975, 0.0905083045, -0.8862720728, -0.0836044922, -0.1274623275, -0.0652784407, -0.2915175259, -0.6826459169, 0.3545334637, 0.4583826959, -0.029825082, 0.3822960556, -0.2099723965, 0.7901517153, 0.2223292142, 0.2400961071, 0.319898814, 0.0983126312, 0.1530192941, 0.3368331492, -0.5945373774, -0.2873831391, 0.9879419804, 0.4230901003, 0.5764454603, 0.0896240398, 0.7560381889, 0.1915292591, 0.2065852433, -1.0641149282, 0.4913712144, 0.1250693947, -0.4608296752, -0.5769520998, -0.4895274043, -0.9333105087, -0.0192565266, 0.1189778447, -0.9088532925, 0.0463044159, 0.3358515501, -0.6428231597, 0.1850795895, -0.4755994976, 0.5884066224, -0.1234657988, -0.680647254, -0.1022428572, -0.7939241529, 0.1933438778, -0.461312443, 0.2458363175, 0.0132480552, -0.2017692029, 0.622644484, -0.3635788858, 1.0618542433, 0.0342201181, -0.5502257347, 0.5174220204, -0.119056955, 0.6820347905, 0.4608463049, -0.1242144853, 0.1448473781, 0.0332690589, -0.344699949, -0.6296662688, 0.981919229, -0.5746183991, -0.5368834138, -0.1981474161, -0.5178375244, -0.0843677893, 0.323851198, 0.4750349224, 0.6114114523, -0.0291394405, 0.3428242207, 0.5544461608, -0.0189961549, 0.6342608333, 0.228130132, 0.0519760475, -0.4268566072, 0.6448271275, 0.1450843364, 0.2495575249, 0.6272798777, 0.2225701958, -0.3733299971, -0.2681397498, -0.4508523345, 0.1368636191, -1.1158994436, -0.3465111256, -0.4839198887, 0.0622244738, -0.3132645786, -0.2986141741, -0.3663361371, -0.2598411143, -0.5746083856, 0.1193937436, 0.3405188024, 0.4515532255, 0.2320891023, 0.4283358157, -0.5111558437, 0.1268823147, 0.5666299462, 0.2022243142, 0.0475723222, -0.5703251958, -0.2310959548, 0.104573153, -0.1749747396, -0.5383265615, 0.2966913581, 0.6601639986, 0.0796699077, 0.7217453718, 0.3155199587, 1.0906863213, -0.7554802895, 0.6027218103, -0.1470500827, -1.0573233366, 0.5253704786, -0.336514473, 0.2589729428, 0.8709493876, 0.5489007235, -0.3989334404, -0.0225756224, -0.220154658, -1.0575091839, 0.5483133197, 0.050509613, 0.2954617739, -0.2533235848, 0.8380066752, 0.2067645639, 0.0736468136, -0.8581130505, 0.0277757049, 0.0420421436, -0.0304877162, -0.2983745337, -0.3616806567, -0.2663240731, -0.3417772651, 0.3288061023, -0.6942812204, 0.3481566906, 0.4653048217, -0.4364557266, -0.0805043876, 0.3194738626, 1.0077867508, 0.8769509196, -0.3134392202, 0.208227098, 0.6728251576, -0.1087501645, -0.0802395195, -0.1377107799, 0.1801737994, -0.4483183324, 0.4121205211, 0.7262434363, 0.4732168019, -1.0302546024, 0.5531121492, -0.1823707372, -0.0947367251, -0.6531931758, -0.0209078416, -0.0357584991, 0.2230757177, 0.4340458512, -0.5909506679, 0.1267228127, -0.848885119, 0.1715911627, 0.236606583, -0.4445918798, -0.0629396439, 0.4915437996, 0.3863104284, -0.0390285738, 0.6071847677, -0.0322322957, -0.3231502771, 0.5582066774, 0.7806988955, 0.4144205749, 0.0757362917, -0.1987960339, 0.2586286366, -0.377748251, -0.0934278071, 0.1697800457, -0.7754410505, -0.3155986667, -0.5984494686, -0.6415688992, -0.3274191022, 0.3565506935, -0.55477494, 0.3007167876, -0.5098488331, 0.1398792863, -0.3588550687, 0.1037671119, -0.3656629026, 0.2073259354, 0.1154613346, 0.8108064532, -0.4386105835, 1.1309918165, 0.3720602691, -0.0454930551, -0.4392912388, 0.0021188995, -0.1832281798, -0.7395388484, 0.9011387825, 0.6450887918, -0.4151494205, 0.2931413949, -0.5642405152, -0.9097445607, 1.31311059, 0.368100673, -0.8885688782, -0.1667919606, 0.0435374789, 0.4839451313, -0.4642631114, 0.2054719031, 0.3751411438, 0.0942454934, 0.1597213745, -0.7684118152, 0.0634382963, 0.0924583077, -0.2797032595, 0.1653387547, -0.8289362788, 0.6316432357, -0.2380079627, -0.3677853346, 0.1769157052, 0.780382812, 0.1810298264, 0.2874109745, 0.5560982227, 0.4033631086, 0.9083295465, 0.0955057889, 0.9692809582, -0.4858634174, 0.556829989, 1.1774379015, -0.234225899, 1.154871583, 0.8018995523, 0.2500556707, 0.4800119102, 0.8487679362, 0.4968415499, 0.6742844582, 0.3366683424, -0.4116244018, -0.3252408206, -0.0572069138, -0.1210465282, 0.4841380417, 0.2380707562, -0.1635478139, -0.1799215674, -0.0186422672, 0.1660831124, -0.1342729032, -0.3555968106, 0.7199423313, 0.3656966686, -0.8771012425, 0.8981333971, -0.0172877125, 0.7045105696, -0.5235624909, -0.0132394796, -0.4591157436, 0.2794154584, -0.0908653736, -0.4027849436, 0.1885218024, 0.035547588, -0.052709341, -0.3242713809, 0.2944597304, -0.5009256601, -0.2497001588, 0.4596475363, 0.1156812608, 0.2921593785, -0.0339783728, -0.3418183625, -0.0042433455, -0.2251906991, -0.2806563079, 0.4322645366, 0.3449533284, -0.233793661, 0.8327723742, 0.5984346867, -0.1774820983, -0.0393277518, -0.1056893393, 1.05938375, -0.4773944616, -0.692404151, -0.7812281251, 0.3018464148, -0.0028152613, -0.5147917271, 0.4474588633, 0.5535552502, 1.0232414007, 0.1146320328, 0.3194404542, 0.0528822057, 0.2306674421, -0.7911980748, 0.5686466694, -0.9196596146, 0.2872423232, -0.0096820574, -0.8579083085, -0.2586916089, 0.5624711514, -0.2987200916, -0.1735649258, 0.7124404311, 0.5524018407, -0.3524957895, -0.3346063197, 0.2543394268, 0.0251012594, 0.3004069626, 0.8009422421, 0.6820602417, -0.5342805982, 0.5089334846, -0.2843855619, -0.1337728351, -0.3633529842, -1.1825959682, -1.1224607229, -0.7180762887, 0.0339574702, 0.0285261441, 0.1551688313, 1.103724122, 0.9927114844, -0.5741923451, -0.3236600757, -0.1862035245, -0.0100700036, 0.1080828011, -0.157565847, 0.4512090981, -0.4803155065, -0.9241338968, 0.8014551401, 0.1942787617, -0.1201721132, -0.1555505693, -0.2007238567, -0.0842593983, -0.0106183551, 0.9218821526, 0.461138308, -0.8553327918, -0.2864513099, -0.1288934797, -0.0288638081, 0.3571630418, 0.8085374236, -0.8384305835, 0.3112810552, 0.5604950786, 0.7952969074, 0.6505351067, 0.2596719265, 0.4291388392, -0.9107804894, 0.3833156228, 0.0393651538, 0.4098141789, 0.2921251655, -0.7073038816, 0.3549815714, -0.0728735626, -0.6371073723, -0.8828875422, 0.2242510021, -1.1172627211, -0.5065549016, 1.256480813, -0.2953233719, -0.5225356221, -0.0687997937, -0.1921577156, 0.2602220476, -0.4571075737, 0.8937206864, 0.338822484, -0.1179416329, -0.2872547209, -0.7272328138, 0.6272871494, 0.2669123411, -0.9794515371, 0.1188616231, 0.337648809, 0.3704055548, -0.0247012191, 0.4862027466, 0.301366955, 0.0135828285, -0.6650883555, -0.2661963403, -0.2387923151, -0.6403061152, -0.3742838502, 0.2445848137, -0.2197640687, 0.1901063472 ]
http://arxiv.org/abs/2404.07972v2
http://arxiv.org/pdf/2404.07972v2
OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments
2024-04-11T17:56:05
2024-05-30T08:55:12
Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, Tao Yu
cs.AI
cs.AI, cs.CL
Autonomous agents that accomplish complex computer tasks with minimal human interventions have the potential to transform human-computer interaction, significantly enhancing accessibility and productivity. However, existing benchmarks either lack an interactive environment or are limited to environments specific to certain applications or domains, failing to reflect the diverse and complex nature of real-world computer use, thereby limiting the scope of tasks and agent scalability. To address this issue, we introduce OSWorld, the first-of-its-kind scalable, real computer environment for multimodal agents, supporting task setup, execution-based evaluation, and interactive learning across various operating systems such as Ubuntu, Windows, and macOS. OSWorld can serve as a unified, integrated computer environment for assessing open-ended computer tasks that involve arbitrary applications. Building upon OSWorld, we create a benchmark of 369 computer tasks involving real web and desktop apps in open domains, OS file I/O, and workflows spanning multiple applications. Each task example is derived from real-world computer use cases and includes a detailed initial state setup configuration and a custom execution-based evaluation script for reliable, reproducible evaluation. Extensive evaluation of state-of-the-art LLM/VLM-based agents on OSWorld reveals significant deficiencies in their ability to serve as computer assistants. While humans can accomplish over 72.36% of the tasks, the best model achieves only 12.24% success, primarily struggling with GUI grounding and operational knowledge. Comprehensive analysis using OSWorld provides valuable insights for developing multimodal generalist agents that were not possible with previous benchmarks. Our code, environment, baseline models, and data are publicly available at https://os-world.github.io.
[ -0.5423713923, -0.7780068517, 0.6463454366, 0.1908960491, 0.2402221262, 0.1584337354, -0.05042338, -0.7574473619, -0.0018959326, 0.2773359716, -0.7127553821, -0.3118162751, -0.2846421301, 0.0379457921, 0.0559335127, 0.7282149792, -0.0821489245, -0.4567578137, -0.9092305899, -0.5216497183, -0.2492033839, -0.3862043023, -0.3509987295, -0.195275858, 0.3960918784, 0.3814944923, 0.9528635144, 0.4241410196, 0.5619946718, 0.3678741455, 0.3535946012, 0.4217121899, -0.3857614696, 0.5193302631, -0.2503960431, -0.0388443135, -0.7006207108, 0.2230498344, 0.3976405859, 0.3995758295, 0.0182203967, 0.2608745694, -0.2264518291, 0.2684749365, -1.0195473433, 0.2409067899, -0.1775132418, 0.2849590182, 0.039298676, -0.0348000787, -0.2816591561, -0.0927382633, -0.0274196677, -1.1204303503, -0.021292191, 0.1195324212, 0.4719951749, 0.1794549525, -0.5101100802, -0.0499479659, -0.7059360147, 0.8951676488, -0.2686311603, 0.4827474654, -0.062834464, 0.5476096272, -0.3226223886, -0.7156646252, -0.5203314424, -0.6845777035, 0.2092629075, 0.2444872409, -0.4328729212, 0.1808341593, 0.4924055934, 0.1963535398, -0.5645937324, -0.1764469892, -0.1400049776, -0.3911678493, 0.4295315742, 0.3280170262, 0.5560448766, 0.4619687796, -0.4918472171, -0.518437326, -0.2020119578, 0.4053636789, 0.3295525014, 0.3210246265, -0.1603264958, 0.5209273696, -0.7047752142, 0.5513274074, -0.443495363, -0.5334260464, 0.4649390876, -0.2590579093, -0.1930268854, -0.4696963727, 0.6107866168, 0.6225309372, 0.0829483271, -0.3897578418, -0.4338183403, 0.3875804543, 0.5781759024, -0.6805017591, 0.1523577273, 0.2935782969, -0.2599129081, -0.1997230649, -0.0133569101, -0.4605943263, -0.4465631247, -0.3628506362, 0.6489611268, -0.2353152782, -0.3184432685, -0.326611191, -0.3765873909, -0.0135566955, 0.6270881891, -0.1449373066, 0.6941519976, 0.5693818331, 0.9466190934, -0.4283990264, -0.4435356259, -0.8663980961, -0.0338875875, -0.1738658249, 0.7167633772, -0.4967864454, -0.2227318883, -0.1280347705, 0.0447740555, 0.1644235402, -0.5305747986, 0.2354450971, -0.3262897134, -0.2161897719, 0.0396687873, -0.0121140433, -0.0355710238, 0.7824258208, -0.6294463277, 1.0742146969, 0.2297956347, -0.3400667608, 0.2348755747, -0.9739357233, -0.3520716429, 0.0460915379, -0.0965593904, -0.128702119, 0.1354988515, 0.0148738762, 0.2748914957, -0.3576132059, -0.1591000408, -0.5365114808, -0.3714286387, 0.0426988192, -0.2877975106, 0.5715042353, 0.3521352708, -0.2694737911, 0.2833296955, -0.7067271471, 0.4172476232, 0.048489552, -0.1668778062, -0.344856739, -0.0943587497, 0.3371138573, 0.2956989706, 0.323025763, -1.0115833282, 0.5104506612, 0.3252747655, 0.1521728635, 0.6719301343, -0.3097934425, 0.0818878859, -0.3933807909, 0.7655550241, 0.0230141245, 0.6256886125, -0.1112534776, -0.4380713999, -0.1888517886, -0.541029036, -0.1834238321, 0.5493749976, -0.8935587406, -0.2328733951, -0.3586046696, -0.6250958443, -0.1726889759, 0.1016304716, 0.63264817, 0.3214141428, 0.3169988394, -0.5397006273, -0.2503249049, -1.0067529678, -0.1536407322, -0.1225272864, -0.0332019925, 0.3919044733, 0.5768861771, -0.6969712973, 1.2605721951, -0.3394374549, -0.2598317564, -0.0357842408, 0.1234020665, -0.1017024294, 0.288474828, 0.3908387721, -0.7957723737, -0.4695160091, 0.3147982061, -0.9906257391, -0.1426175833, 0.0605766363, -0.0889057741, -0.0103242779, 0.3575287759, -0.3999277949, 0.2417660505, 0.6177811027, -0.1610718817, 0.6364821792, -0.5964404941, 0.2031908631, -0.5879572034, 0.2879019976, -0.0083118547, -0.5738474131, -0.4974318147, 0.5381850004, 0.2521503568, -0.4107908607, -0.4595291317, 0.7207944989, -0.5134724379, -0.4235425889, -0.1790208668, 0.1335813552, -0.1029640138, 0.5515491366, -0.1567305326, 0.974778831, 0.48340711, -0.5522265434, 0.5945979357, -0.1915286928, -0.1350929886, 0.8048937917, -0.5780374408, 0.2694141567, 0.1187944189, 0.3065163791, -0.830391109, -0.2296546102, 0.1065509245, -0.1821137667, -0.3595245183, 0.2254814804, -0.6073576212, -0.3254351616, -0.4851514995, 0.3439870775, 0.4836440384, -0.466997683, 0.7261873484, 0.3523281217, 0.1317228824, -0.7262205482, -0.2785009444, 0.1580117196, 0.2314229161, -0.6132586002, 0.2096443623, -0.3797135055, -0.5901899934, 0.0244874377, -0.3165377676, -0.0358488187, 0.3963870704, 0.7710396647, 0.0590478554, -0.2147971243, -0.1157963723, 0.0127756149, -0.1467300206, -0.1713370085, -0.1701701283, 0.0126760136, -0.3975649476, -0.4702335, -0.2626487911, 0.2503136992, 1.0364385843, -0.10526485, 0.3651885688, 0.5104669333, -0.4125508368, -0.2728452384, -0.5365809798, 0.2451320589, -0.4439200461, 0.2304745913, -0.5663041472, -0.5398544073, 0.3196555674, -0.3952533603, 0.4282971919, 0.2180347443, 0.2063560635, 0.0981857702, 1.0732798576, 0.8204442263, 0.0280050244, 0.4147347808, -0.1158670485, -0.2242847532, -0.7819694877, -0.0585552119, -0.152869314, -0.297940731, -0.3772441745, -0.5279780626, 0.8159685135, -0.3524231613, -0.073603116, 0.3466076851, -0.4325387478, 0.4940040708, 0.6323002577, 0.1253333241, 0.2408207357, -0.0114469426, -0.3595484197, 0.3252720535, -0.2452693284, -0.5088098049, 0.9899717569, 0.2728796601, 0.7157151103, 0.1918841153, 0.3775477409, 1.0332090855, 0.579903245, -0.5181716681, 0.6358669996, 0.2598218322, -0.6149035692, -0.5467524529, -0.2449790835, -0.8537169099, 0.7059018612, -0.1875324249, -0.7455087304, -0.0667533875, 0.073876597, -0.2990432382, 0.1734817624, -0.60865587, 1.1480664015, -0.2459379137, -0.7414368987, -0.2886683941, -0.599804759, 0.064813368, 0.2805784643, 0.4230507016, -0.2803869545, -0.3890163302, 0.3675972223, -0.4686245322, 0.6380593777, -0.4289503396, -0.0108181899, 0.0794542283, 0.1077897325, 0.3850508332, -0.1944615841, -0.1129397526, 0.0828223303, 0.1753903627, -0.4804694355, -0.3994983137, 0.8101443648, -1.0374757051, -0.1775095165, -0.7042999268, -0.6659652591, -0.5167507529, 0.2238428295, -0.1899912953, 0.7387478352, -0.5813564658, 0.1902175844, 0.5165627003, -0.1138527021, 0.2954126298, 0.8085042238, -0.2525263131, -0.2465135157, 1.0042247772, -0.0419323146, 0.3560835719, 0.3917533457, -0.0501836091, -0.010639878, -0.2897400856, -0.7388983369, -0.2181675136, -0.6502168775, -0.0649728104, -0.699732542, 0.2490407676, -0.3956129551, -0.2248784304, -0.4636294544, -0.1189426333, 0.2700917125, 0.2615026236, -0.071459271, 0.8654592037, -0.1863621473, 0.2485091388, -0.5125412345, 0.6405041814, 0.5349363089, 0.3785892129, -0.1307985038, 0.1042079553, -0.3080044091, -0.0259279516, -0.6994893551, -0.4424089789, 0.2452469319, 0.1742312908, 0.9371340275, 0.4767656624, 0.2779504955, 0.6617233753, -0.2461731434, 0.8359257579, 0.1271775216, -0.9352759719, 0.424597472, -0.1660624146, 0.3864803016, 0.6222846508, 0.3487435877, -0.5813159347, -0.4505749047, -0.403111726, -0.7022430897, 1.0023548603, 0.2220340818, -0.1317531765, 0.1075582132, -0.1049073413, 0.3506118357, 0.2624783516, -0.8124717474, -0.1460819095, -0.0123306094, 0.0629329979, -0.3018917441, 0.1215538457, -0.2334618121, 0.1275212765, 0.6827713251, -0.4226557016, 0.2610863745, 0.2695198357, -0.6480824947, -0.1706601381, 0.052611772, 0.746373415, 0.854863584, -0.3690078557, 0.3201707304, 0.0822186545, -0.5449718833, 0.1941218525, 0.0571495928, 0.0787778944, -0.3416326344, 0.4941816032, 0.5649552345, 0.0411247201, -1.2801436186, 0.5582101941, -0.3473333716, 0.0609805025, -0.3346791267, 0.3276949525, -0.1778543741, 0.3369993269, 0.454277277, 0.1886667758, 0.29926759, -1.0215529203, -0.0508964621, 0.5170894861, -0.592952311, -0.2493616045, 0.6695404053, 0.3378344774, -0.3611376286, 0.5881963968, -0.3263554871, -0.1477244347, 0.8520848751, 0.3745549023, 0.941591084, -0.0270291753, 0.1155184507, 0.0852634385, 0.4894352257, 0.0016696745, 0.2438815087, -0.6786376238, -0.4157751501, 0.0277006049, -0.5373304486, -1.0112450123, -0.2224729806, -0.538857162, -0.2842509449, -0.4314336181, -0.1835969985, -0.0652590841, 0.0679928735, -0.6426324844, 0.3479680717, 0.2808531523, 0.9069462419, -0.792121172, 0.6410797834, 1.0860235691, -0.2049847096, 0.0272958893, 0.0122076301, 0.098046869, -0.6216008663, 0.4900398254, 0.4707000554, -0.4609314203, -0.4726095498, -0.4905192554, -0.6873585582, 1.2556587458, 0.2285722345, -0.3491671085, 0.2270610482, 0.2046444267, 0.641911149, -0.2915037274, 0.9253548384, -0.1074455157, 0.586496532, -0.359023571, -1.1072432995, 0.104071781, -0.680529058, 0.1682174206, 0.0443076715, -0.6756163836, 1.0223281384, -0.1119484156, -0.0336228572, 0.13384597, 0.4665722549, 0.1383843571, 0.8382211328, 0.9624341726, 0.4285323918, 0.4909425378, 0.0175109394, 1.1641966105, -0.2712608576, 0.1024181396, 0.5746012926, -0.5445526838, 0.6718260646, 0.2598456442, -0.2038323879, 0.4531904161, 0.3212609291, 0.540533483, 0.4318937063, 0.0519212, -0.3486407697, -0.4478022754, -0.2183873653, -0.1886349469, 0.1793215722, 0.1836233735, 0.233906731, -0.234441936, 0.5349212885, -0.2694143057, -0.0128280865, -0.2377694547, 0.7302815914, -0.3218969703, -0.8053584099, 0.2564654648, 0.0424464494, 0.7482584119, -1.0144928694, -0.1842787266, -0.1717481017, 0.3958859146, -0.0026154511, -0.5242525935, -0.1439702064, -0.0225727763, -0.1669754833, -0.5932419896, 0.6256053448, 0.1316438466, -0.1535774171, 0.4048029184, 0.4249111712, 0.2571396828, -0.3461581767, -0.456697762, 0.361289531, -0.3222964406, -0.3040097952, 0.6507829428, 0.3111458719, -0.4148510993, 1.0051726103, 0.6722532511, -0.3576153815, -0.199669674, -0.4151217341, 0.8053247333, -0.5349598527, -0.6109183431, -0.4228527248, 0.3464933336, -0.2160987258, -0.4723991156, 0.7662189603, 0.8724470735, 0.7340630293, -0.1604590565, 0.9252815843, -0.3899499178, 0.2635504007, 0.0745345876, 0.4125898182, -1.0079286098, -0.3497538567, -0.2896310389, -0.7935992479, 0.143071577, 0.3655285537, -0.0116720507, 0.0388493612, 0.3897414505, 0.6787557602, -0.4693646431, -0.0831388384, 0.7410477996, 0.0789464787, 0.3473921418, 0.396605134, 0.9574228525, -0.1340575963, 0.5720888376, -0.4855147004, -0.5608004332, -0.4008316994, -0.8805074692, -0.5781470537, -0.4557929337, -0.3290533423, -0.0850670859, 0.4249782562, 1.0935052633, 0.9695495367, -0.549298048, -0.4001473486, 0.2042115182, -0.0196900014, -0.8465228081, -0.1628911942, -0.3492195308, -0.2216124088, -0.7388074994, 0.6484392881, 0.413053751, -0.3509231806, -0.3955515623, -0.1781003475, 0.173061192, 0.0167427044, 0.8839138746, 0.6059419513, -0.6654053926, -0.2428554744, -0.0294532906, -0.3833058178, -0.2458179146, 0.6691111326, -1.0569245815, 0.707416594, 0.2576148808, 0.4007826149, 0.2310047001, 0.1001937166, 0.3750493526, -0.7836783528, 0.0682510659, 0.1393321902, 0.1271178126, 0.0337818339, -0.1016680747, 0.7465324998, 0.2563612461, -0.4232045412, -1.0117155313, -0.0972890109, -1.2557208538, -0.3486476243, 0.7813376784, -0.2094278485, -0.1815037429, -0.099229224, -0.2996290922, -0.1027548164, -0.4821071625, 0.4741477072, 0.3770864904, -0.3809223473, 0.2969013453, -0.7656782269, -0.0688396618, 0.0262187645, -1.0381747484, 0.0672532097, 0.6906096935, 0.1763920933, 0.400274843, 0.7293556929, 0.3956525624, 0.4650060833, 0.3521810472, 0.5433380604, -0.5586284399, -0.5326506495, 0.1251011789, 0.4987304807, -0.0842328295, -0.4289649129 ]
http://arxiv.org/abs/2404.07965v2
http://arxiv.org/pdf/2404.07965v2
Rho-1: Not All Tokens Are What You Need
2024-04-11T17:52:01
2024-05-23T06:57:07
Zhenghao Lin, Zhibin Gou, Yeyun Gong, Xiao Liu, Yelong Shen, Ruochen Xu, Chen Lin, Yujiu Yang, Jian Jiao, Nan Duan, Weizhu Chen
cs.CL
cs.CL, cs.AI
Previous language model pre-training methods have uniformly applied a next-token prediction loss to all training tokens. Challenging this norm, we posit that ''Not all tokens in a corpus are equally important for language model training''. Our initial analysis examines token-level training dynamics of language model, revealing distinct loss patterns for different tokens. Leveraging these insights, we introduce a new language model called Rho-1. Unlike traditional LMs that learn to predict every next token in a corpus, Rho-1 employs Selective Language Modeling (SLM), which selectively trains on useful tokens that aligned with the desired distribution. This approach involves scoring pretraining tokens using a reference model, and then training the language model with a focused loss on tokens with higher scores. When continual pretraining on 15B OpenWebMath corpus, Rho-1 yields an absolute improvement in few-shot accuracy of up to 30% in 9 math tasks. After fine-tuning, Rho-1-1B and 7B achieved state-of-the-art results of 40.6% and 51.8% on MATH dataset, respectively - matching DeepSeekMath with only 3% of the pretraining tokens. Furthermore, when pretraining on 80B general tokens, Rho-1 achieves 6.8% average enhancement across 15 diverse tasks, increasing both efficiency and performance of the language model pre-training.
[ -0.1703873575, -0.7039110065, 0.1311506033, 0.0650448501, -0.4939387143, 0.1819670498, 0.0409431756, -0.306871742, 0.3170709014, 0.4785535038, -0.665489614, -0.669876039, -0.8259602189, -0.0954056308, -0.4731629491, 1.0261977911, 0.0876453966, 0.328795284, -0.1787454337, -0.2984631658, -0.4227512479, -0.6777029634, -0.6015765667, -0.3972326815, 0.7131965756, 0.3365250826, 0.4209284186, 0.844019115, 0.6351577044, 0.1013942808, 0.0417406149, -0.0977500454, -0.658236742, 0.0228109322, 0.0660938993, -0.7236269116, -0.4378000796, 0.0828833506, 0.628064394, 0.815613389, -0.3895635307, 0.3934381306, -0.2602488697, 0.5898829103, -0.7737800479, -0.1638805568, -0.9735229611, 0.2144770324, -0.6044248343, -0.1804837883, -0.5448114276, -0.1918826699, 0.0568417124, -0.7119210362, 0.2438081801, 0.3855203986, 0.7094358206, 0.2987893522, -0.0652437508, -0.1237090304, -0.206964165, 0.9339114428, -0.6321942806, 0.5806942582, 0.4972990453, 0.0857375041, 0.0939746574, -0.6795739532, -0.2836702764, -0.1321531981, 0.0467632785, 0.1336655915, -0.1072484925, 0.1328128874, 0.0434828885, 0.0227607507, -0.453032583, 0.2689500451, -0.3579510748, -0.4963961542, 0.0802552626, 0.3145215809, 0.1571810544, 0.1032180786, -0.3866344988, -0.1660716236, -0.6199620962, 0.062167231, 0.396304369, 0.5296013951, -0.0464648642, 0.3753288686, 0.2755726576, 0.6994489431, -0.1853888333, -0.3290162385, -0.0824120417, -0.1806087196, -0.151082024, 0.0672055557, 0.6413857341, -0.0037068427, 0.4178692997, -0.2363622338, -0.1850622147, 0.1871380955, 0.3232196271, -0.8487736583, -0.157742545, 0.02483977, -0.5270264149, -0.3403953314, 0.0846536681, -0.4894346297, -0.2688125372, -0.2213404328, 0.1232648566, -0.3920972645, -0.5048550367, 0.086972706, -0.019659983, 0.1270122677, 0.235247314, -0.9832808375, 0.6413916945, 0.8551082611, 0.9110801816, -0.6076558232, -0.7279774547, -0.7734140754, -0.4372982383, -0.8279533982, 0.8688469529, -0.6780647635, -0.3192206919, 0.123208195, -0.2981494665, -0.1575532407, -0.5520219803, 0.2737810016, -0.5672012568, 0.0028284958, -0.0347907171, -0.6132049561, 0.1333302855, 0.1585902572, -0.588183105, 1.1236203909, 0.17861256, -0.8106298447, 0.7470117211, -0.3743464053, -0.427280575, -0.0552528612, -0.0487052277, -0.4935340583, 0.3654023409, 0.0309073497, 0.2152194083, -0.20037283, 0.1477519274, -0.4678728282, -0.4335478842, 0.1754378527, -0.1849604994, 0.4509871304, 0.1337553263, 0.0067253886, 0.3009547293, -0.8783602118, 0.2402085066, -0.0005961445, -0.3700611889, -0.1528769583, -0.2948428392, 0.220850721, 0.1226561517, 0.0974424779, -0.5197041631, 0.1389728636, -0.6335554123, 0.1558376998, 0.8892706037, -0.3419041634, 0.7197762132, -0.1919471174, 1.0767726898, 0.2390240878, 0.1141507551, -0.2611552775, -0.3520502448, -0.7372705936, -0.3709359765, 0.5356476307, 0.5781193376, -0.1908131689, 0.2717786133, -0.2176046669, -0.5427584052, -0.8253147602, 0.1824462265, 0.6772637367, 0.5880562663, 0.2840759158, -0.3548325598, -0.9267870784, -0.8060820699, -0.4767521322, -0.0674867034, 0.4363130033, -0.1731717587, 0.4313902259, -0.1632143408, 1.2454767227, -0.1757219583, -0.2874164581, -0.489017874, 0.1113369688, 0.1042023078, 0.3953021467, 0.4918326139, -0.3326403499, -0.4437471926, 0.0618686751, -0.4822507203, -0.0223986767, 0.0758306086, -0.0691443607, 0.2854653597, 0.4623709023, -0.2026190609, 0.5328990221, 0.6558246017, -0.0833457112, 0.3549546897, -0.2033921331, -0.3849745393, -0.8541298509, 0.1851765811, -0.3119334877, -0.2768525183, -0.5441426039, -0.0294651184, 0.1374394447, -0.2800726891, -0.6572023034, 1.1707005501, -0.2150339335, -0.1879943013, -0.3538402319, 0.1120225936, -0.1187166944, 0.7659354806, -0.0166261885, 0.8180218339, 0.9006568789, -0.6704151034, -0.1269657612, 0.1765265018, -0.4159394801, -0.0252723657, -0.6330103874, 0.3267927766, -0.3184078038, 0.0468580313, -0.9066018462, 0.1114828289, 0.0851489902, -0.5996121168, 0.4186200798, 0.0185381714, -0.2689862251, -0.1762945354, -0.2260580659, 0.4331690669, 0.4876555502, -0.2619993985, 0.62738657, 0.3822947145, -0.0502264798, -1.0163021088, -0.8784249425, -0.2005560994, -0.101044476, -0.1580849737, 0.1002833024, 0.0341278091, -0.126555115, -0.0158321615, -0.3675545454, -0.1185590252, 0.2839249969, 0.2527409494, 0.2045114189, -0.030978376, 0.2417557538, -0.1531687677, -0.5029634833, -0.1764010638, -0.3902322054, 0.7758169174, 0.0039449255, -0.4662216902, -0.6114695668, 0.273863703, 0.4835257828, -0.3224278986, 0.9063998461, 0.5646682978, -0.2845745385, -0.1078139991, -0.5178077221, -0.2110907882, -0.3376158178, 0.7609440684, -0.6248386502, -0.8066795468, 0.8541343212, 0.0966863856, 0.1887284964, 0.3363316655, 0.3883647919, 0.2217971385, 1.0519658327, 0.8058732152, -0.2243372351, 0.8246868849, -0.2017227709, 0.2095278502, -0.6428573132, -0.1263510138, -0.4956868887, -0.1289770305, -0.4224945605, -0.0568659604, 0.0809744671, 0.3327254653, -0.2494158745, 0.2288248688, -0.3957193494, 0.4917687178, 0.6350685954, 0.0449117646, -0.0040965066, 0.1881238222, -0.2793171108, -0.1786150038, -1.1509364843, -0.394852221, 1.3363486528, 0.4955204427, 0.9409829974, -0.1737450659, 0.9333528876, 0.1330484599, 0.6983017921, -0.9451306462, 0.4554605186, -0.1107732356, -0.7548083663, -0.5018422008, -0.3968296051, -1.130086422, 0.2014617622, -0.2677108943, -0.3089311421, -0.1877294481, 0.2057766914, -0.3999553025, 0.2436110675, -0.5545606017, 0.8729040027, -0.1096425876, -0.2379558235, -0.2062990665, -0.5653469563, 0.1419161111, -0.2590969503, 0.4010866284, -0.1759586781, -0.1417212635, 0.9016897082, -0.5776150227, 0.8005331755, -0.1617638022, -0.0096113337, 0.4830264151, 0.2228484899, 0.5234314799, -0.1652372628, -0.2026771754, 0.2038058639, 0.0682214424, -0.722884953, -0.5955959558, 0.2659786046, -0.8196797967, -0.3719364405, -0.4953231514, -0.1725015342, 0.0276408419, 0.2446301132, 0.4968295693, 0.7643452883, -0.2557608783, 0.2074202299, 0.4646907747, -0.0788946226, 0.2240381092, 0.258605659, -0.4546326101, -0.6269612908, 0.751232028, -0.006697536, 0.4463804066, 0.6088995934, 0.3933726847, -0.4863271415, -0.6745572686, -0.2986207604, 0.1936276704, -1.0838209391, -0.2575004101, -0.6766939759, 0.0277479254, -0.735304594, -0.0459698811, -0.5166698694, -0.223506704, -0.2326809764, -0.2508427799, 0.3060715497, 0.5786904097, -0.0375377461, 0.474347055, -0.7828601599, 0.1066775471, 0.3877803981, 0.5137919188, 0.0833244175, -0.8392386436, -0.2794629633, -0.0723811015, 0.1598145515, -0.607927084, 0.3684219718, 0.2887989581, 0.7512055635, 0.2168828547, -0.3046206832, 0.8725796938, -0.5835042596, 0.5902665854, 0.5627906322, -0.9173613191, 0.5056130886, -0.184067741, 0.2701426744, 0.8495021462, 0.0341847576, -0.4667401016, -0.1480964571, -0.6074281335, -0.5053117275, 1.0174511671, -0.0424055047, 0.2548140883, -0.2831406295, 0.454623282, 0.2701698542, 0.2356302887, -0.9087279439, -0.441275984, -0.4162712395, -0.244566828, 0.0205784794, -0.1589444876, 0.1311038584, -0.251850754, 0.6041560769, -0.1394922435, 0.0875400603, 0.0134384334, -0.283913523, -0.2589096427, 0.0488467589, 0.643496871, 0.93361485, -0.1584014595, 0.0359001383, 0.3770353198, -0.6483194232, -0.0663176998, -0.3128339052, 0.16603975, 0.1858822256, 0.7783033848, 1.1605706215, 0.5306153297, -0.778768003, 0.46234411, 0.0844800025, -0.226477921, -0.1104963496, -0.0052901227, -0.1947051138, -0.3133181036, 0.3816046417, 0.0722404271, -0.4320557117, -0.8899520636, 0.2316145599, 0.3765597939, -0.4194940329, -0.2399645299, 0.5763222575, 0.062948823, -0.6181874871, 0.547539711, -0.2656028271, -0.6068975925, 0.6486216784, 0.6943287849, 0.835741818, -0.2024451941, 0.0635087267, 0.5936477184, 0.1944463402, -0.214505434, 0.1218566373, 0.0497267544, -0.7236379981, -0.4450751543, -0.9950317144, -0.5306460261, -0.1483015269, -0.7102559209, 0.4971308708, -0.6060820222, -0.1229802817, -0.2593331933, -0.0327659175, -0.8577535748, 0.2463149726, -0.146200344, 0.8951313496, -0.6151576638, 1.0708191395, 0.6296620369, -0.3360154629, -0.7122183442, -0.4582208395, -0.4632350504, -1.2278072834, 0.8669931293, 0.0420151837, -0.0914102793, 0.3676959872, -0.4091598392, -1.0216310024, 0.87825948, 0.3834224045, -0.7816922665, -0.0709168315, 0.2057997137, 0.3794079125, -0.5442304611, 0.3079153001, 0.3788674474, 0.2630790472, 0.0590523146, -0.8564462662, -0.3564816415, -0.062132705, 0.0229201298, 0.473204881, -0.3712295294, 1.0114269257, -0.2504221499, -0.3771730661, 0.0759223327, 0.5844739676, 0.5168263912, 0.3170104623, 0.5524197817, 0.6172840595, 0.7443552017, 0.1382787079, 1.1406302452, -0.4238031209, 0.3682783842, 1.106931448, -0.1316112578, 0.900650084, 0.3741624057, -0.3894760609, 0.4052747488, 0.6315966845, 0.4063853025, 0.5382870436, 0.2819212973, 0.0690060779, -0.6099542379, 0.1442715377, -0.3480522037, 0.407189548, 0.1498533934, -0.0179871395, -0.2372971773, 0.2848660946, -0.0534863658, 0.2431878, -0.2767850757, 0.6635893583, 0.1375835538, -0.794672668, 0.6078357697, -0.1589461565, 0.8707121611, -0.9953249097, 0.218727529, -0.43219468, 0.1658844203, -0.0232033283, -0.3098293841, 0.3581448793, -0.0393157154, -0.0528757982, -0.4113386869, 0.632019043, -0.2286531031, -0.5886534452, 0.312027365, 0.6959845424, 0.3102597594, -0.1198714972, -0.7208932638, 0.1752643585, -0.2086883038, -0.1959319115, 0.5079988241, 0.3568374217, 0.0705004036, 0.7023084164, 0.8110738993, 0.1829029471, 0.3440316021, 0.4757814407, 0.6380832195, -0.7265409231, -0.4336142838, -0.8073112369, 0.3219940662, 0.1893496364, -0.7905968428, 0.5265327692, 0.5288593769, 0.7558444738, 0.0061218706, 0.6114361882, 0.3242016137, 0.7377447486, -0.4899202287, 0.3763973713, -0.6027033329, -0.0557037294, -0.0645491555, -0.9219651222, -0.4526044428, 0.7851623297, 0.0625444055, -0.0332699232, 0.911266923, 0.7767118812, 0.2082612365, -0.2552069724, 0.581686914, -0.157426253, 0.2073881626, 0.3002856076, 0.7577930093, -0.6476085782, 0.6961404681, -0.0589869432, -0.1055069193, -0.2148873508, -0.7461662292, -1.0656886101, -0.4642407596, -0.2223494053, -0.1500530243, -0.0276212152, 0.9995684624, 0.9296744466, -0.7955979109, -0.1364287287, -0.4841679633, -0.0192414578, -0.2655336261, -0.1459079981, 0.1970745325, -0.8189353347, -0.6324064732, 0.2615211308, 0.197750479, 0.0388763361, -0.4403100908, -0.0996403173, -0.1432900578, -0.021698989, 0.4826157689, 0.2251279354, -0.9383410215, -0.1165720895, 0.4798559844, -0.186090216, 0.0676969364, 0.9856695533, -0.9117337465, 0.4080150723, 0.4213913679, 0.6967141628, 0.5380558372, -0.1236806139, 0.3221721351, -0.7364202738, 0.4986851215, 0.3553613722, 0.3103280067, 0.1481654048, 0.0308595691, 0.4807884693, 0.2394569516, -0.3579456508, -1.0390474796, 0.2805310488, -0.9114308357, -0.341611445, 1.0025355816, -0.0529516563, -0.273471266, -0.1154261529, -0.1623093337, 0.3485518098, -0.3320607245, 0.5883435607, 0.9469397068, 0.1190874651, -0.216014266, -0.3615172505, 0.4417966306, 0.7874774933, -0.6135166883, 0.1821867526, 0.0509526581, 0.2540459335, 0.2255553007, 0.9283466935, 0.0845106244, 0.1397580951, 0.2848788798, 0.1107021645, -0.1242725179, -0.5340439677, -0.3423880041, 0.1673448086, 0.2368394434, -0.3102351725 ]
http://arxiv.org/abs/2404.08707v4
http://arxiv.org/pdf/2404.08707v4
Large Language Model Can Continue Evolving From Mistakes
2024-04-11T17:44:56
2024-06-17T11:32:29
Haokun Zhao, Haixia Han, Jie Shi, Chengyu Du, Jiaqing Liang, Yanghua Xiao
cs.LG
cs.LG, cs.AI, cs.CL
As world knowledge evolves and new task paradigms emerge, Continual Learning (CL) is crucial for keeping Large Language Models (LLMs) up-to-date and addressing their shortcomings. In practical applications, LLMs often require both continual instruction tuning (CIT) and continual pre-training (CPT) to adapt to new task paradigms and acquire necessary knowledge for task-solving. However, it remains challenging to collect CPT data that addresses the knowledge deficiencies in models while maintaining adequate volume, and improving the efficiency of utilizing this data also presents significant difficulties. Inspired by the 'summarizing mistakes' learning skill, we propose the Continue Evolving from Mistakes (CEM) method, aiming to provide a data-efficient approach for collecting CPT data and continually improving LLMs' performance through iterative evaluation and supplementation with mistake-relevant knowledge. To efficiently utilize these CPT data and mitigate forgetting, we design a novel CL training set construction paradigm that integrates parallel CIT and CPT data. Extensive experiments demonstrate the efficacy of the CEM method, achieving up to a 17% improvement in accuracy in the best case. Furthermore, additional experiments confirm the potential of combining CEM with catastrophic forgetting mitigation methods, enabling iterative and continual model evolution.
[ -0.0162173994, -0.7413511872, 0.4955199063, 0.2983920872, -0.2376855314, 0.3587453365, -0.6600763202, -0.0085389968, -0.2929733694, 0.4695749879, -0.664604485, -0.423458457, -0.5702502728, -0.1605423987, -0.029166704, 0.9162835479, -0.1042401493, 0.1657817662, -0.3025101721, -0.2371107042, -1.0652729273, -0.5019119978, -1.120079875, -0.1773960739, 0.4193170965, 0.7564789653, 0.3881402314, 0.7559633851, 0.2684789002, 0.2584632039, -0.0565426573, 0.4710658491, -0.7876669765, 0.0623171329, -0.4839155972, -0.4426169395, -0.2478980124, -0.307103157, 0.9460599422, 0.8457064033, -0.3689934909, 0.0091852089, 0.3476783037, 0.7777662277, -0.5608423352, 0.2889679968, -0.9385274053, -0.1282370985, -0.1788113117, -0.2891088128, -0.5459192991, -0.2672218978, 0.1469253153, -0.4188205898, 0.2732027471, -0.0996519476, 0.6200842857, 0.3951022029, 0.1958520412, -0.3834378719, -0.6926090717, 0.9853330255, -0.7666687965, 0.4480781853, 0.1478712112, 0.1538141072, -0.2063809931, -0.522185266, -0.4563787282, -0.2952601016, 0.2973715961, 0.1678168476, 0.3232091963, -0.3474928737, 0.0787581131, 0.1230331734, -0.5996834636, 0.1832460463, -0.3540014625, -0.0272708312, 0.4737730026, 0.1229969338, 0.404180944, 0.584610641, -0.3146902025, -0.3544147611, -1.1190826893, -0.1413873732, -0.0394470505, 0.3057534695, -0.1240520626, -0.0065292288, 0.202438578, 0.7398249507, -0.0731097534, -0.2854397893, 0.3048499823, -0.2748252451, -0.1369163692, -0.0134341419, 0.5425401926, 0.0465560704, 0.4397277236, -0.1547899544, -0.1618747562, -0.0796250403, 0.4600337148, -0.2709112167, -0.5249210596, -0.1029090881, -0.1092450693, 0.0245917384, -0.188570708, -0.5899896622, -0.1121328399, -0.6966798902, 0.3021807671, -0.7056652904, -0.2292809784, 0.2417124659, 0.084844999, 0.0703414455, 0.2504313588, -0.6946088076, 0.0366828777, 0.5892285109, 0.8146755099, -0.2004777789, -0.5977749825, -0.5646926165, 0.2033686042, -0.6523481607, 0.703535378, -0.3228730559, -0.5180629492, -0.0083562704, 0.0917412266, -0.491997093, -0.8214187026, 0.3596189022, -0.4911845922, -0.0148328142, -0.531422019, -0.643640995, -0.0812642127, 0.444218725, -0.3672825992, 0.7690290809, 0.1800842434, -0.5861893296, 0.3774624169, -0.4511114359, -0.1767715663, 0.1549533159, -0.0955641344, -0.849899292, 0.1809277087, 0.2142461985, 0.3344775736, -0.0433222689, 0.289372474, -0.3525929153, -0.2871362269, -0.0442179628, -0.3542379737, 0.612985909, -0.223543033, -0.3202341199, -0.2076048255, -0.5070335269, -0.0644170791, 0.263355732, -0.4558415413, -0.2569394112, 0.3068473041, -0.4478799403, 0.4201916754, 0.408819288, -0.4350000918, 0.1552767754, -0.2353422046, 0.1712446958, 0.8599416018, 0.2588487267, 0.1046852618, -0.8400635719, 0.2731253803, 0.2961096168, 0.1207514703, -0.4468041956, -0.0482546426, -1.1900111437, 0.1604036689, 0.0620621629, 0.7171400189, -0.8121262789, 0.4020345509, -0.6928008795, -0.6678573489, -0.0056127966, 0.4465534985, 0.6178575158, 0.4868232906, 0.6197798848, -0.1794728041, -0.6266489029, -0.5222480893, -0.1822789311, -0.1245138347, 0.2494129837, 0.0541851185, 0.4218812585, -0.2478609085, 0.79832232, -0.2309329361, -0.0476710796, -0.2581255436, 0.0841787905, 0.0304132458, 0.8703606725, 0.3029369414, -0.4553053379, -0.5754480958, 0.0649960488, -0.849948585, 0.1663237661, -0.4980410039, -0.1308775991, 0.1596793681, 0.6006708145, -0.3478961289, -0.0210016277, 0.3754312694, -0.0976165533, 0.7482160926, -0.3537363112, -0.0125699919, -0.8849598169, -0.2022700906, -0.3530447185, -0.2480958104, -0.3324581087, -0.1516294926, 0.3685542345, 0.1747709811, -0.3663413227, 0.4788413644, -0.641623497, 0.231130749, -0.3310931027, 0.0179550759, -0.3860371113, 0.5534595847, 0.1213143915, 0.6724969149, 0.7667797804, -0.8672690988, -0.011782567, 0.2600673735, -0.1476776898, 0.4585596025, -0.2542147636, 0.3079606295, -0.2291961461, -0.0466959365, -0.4845224023, -0.0291255973, -0.0399250425, -0.3932481706, 0.682636261, 0.0538783409, -0.5085759759, -0.3577939868, -0.1043903753, 0.1723450571, 0.6539365649, -0.869807899, 0.3750325739, 0.1255768687, -0.5583214164, -0.6153857112, -0.3598228097, 0.0671750978, -0.1867130995, -0.4803493321, 0.1684824377, -0.3695489466, -0.0086418083, -0.2625493705, -0.2884290516, 0.2190968245, -0.0603393354, -0.0841680169, 0.312852025, -0.1146976203, 0.3975665867, -0.012354115, -0.0055712913, -0.040363688, -0.5732826591, 0.6913397908, -0.088030383, -0.2033597082, -0.2636311948, 0.1432669163, 0.5006127954, -0.0768645778, 0.7847946882, 0.1407615095, -0.301045686, -0.5872613192, -0.7598397732, -0.0292349569, -0.4451679289, 0.4991767108, -0.2617628872, -0.8440904021, 0.3973419964, -0.2521105111, 0.5506900549, 0.2983699143, 0.4578022063, -0.3528294861, 0.5812715888, 0.8805627823, -0.2289226055, 0.4866409898, -0.1150304899, 0.0258624423, -0.7173451185, -0.0879633725, -0.2659485042, -0.0404430553, -0.0846254081, -0.3883918524, 0.3243062198, 0.4625852704, -0.611675024, 0.3417725563, -0.2857609987, 0.4547921717, 0.2445280552, 0.393684864, 0.2589607537, 0.0385154337, 0.0174260419, 0.0068500373, -0.8875626326, -0.2578499615, 1.2190511227, 0.2880335152, 0.5444949865, -0.0779802427, 0.7006568313, 0.1436801255, 0.6028368473, -0.245723024, 0.3218070567, -0.1310037225, -0.037426088, -0.2615363896, -0.5120613575, -0.6855081916, -0.0688540041, 0.2282124609, -0.6350866556, 0.0813256651, 0.7561281323, -0.1614194512, 0.4395217896, -0.4347051084, 0.7754701972, -0.3479319215, -0.345176965, -0.3292532563, -0.4675631821, 0.3461757898, -0.5623438954, 0.2829820514, 0.1583523899, -0.0503719337, 0.7025315166, -0.5477539897, 0.9464001656, -0.122836329, -0.0271248072, 0.4587163329, 0.0275627896, 0.7499634624, 0.0845445395, 0.1288862228, 0.1907069385, -0.2275268286, -0.6345083714, -0.4621863365, 0.735988915, -0.663898468, -0.4270804822, -0.2430139035, -0.5713461041, -0.5771335363, 0.001058046, 0.4783031344, 0.3391576111, -0.0827315301, 0.2346509546, 0.9812641144, -0.3073031902, 0.6446175575, 0.4639092982, 0.1979489326, -0.4116320312, 1.0707029104, 0.1927429289, 0.4842091799, 0.156086579, 0.1801487058, -0.1689945757, -0.7892974019, -0.2736010551, 0.3528333306, -0.7132291198, -0.3188960254, -0.6538117528, -0.2351098359, -0.1657700241, -0.4676989615, -0.6251555085, 0.2692221105, -0.0147628291, 0.0381936021, 0.2080774307, 0.3142841458, -0.2332279682, 0.467697531, -1.0926766396, -0.2225423157, 0.243392244, 0.1962366402, 0.0515899993, -0.6017560959, -0.5889007449, 0.1509559005, -0.3832538128, -0.5932964683, 0.4522459507, 0.3333017528, 0.5173633099, 0.0526219197, -0.2968715131, 0.7900345922, -0.5851832628, 0.7592895627, 0.2787590921, -0.6934243441, 0.4588919282, -0.4461988807, 0.7065476179, 0.7152299285, 0.205698967, -0.6087840796, -0.3129479885, -0.6980993748, -0.7107053995, 0.5061071515, -0.0840058103, 0.074617587, -0.2256389409, 0.4613697231, 0.1397829354, 0.1269216239, -0.685485065, 0.0658335909, -0.0932163894, -0.3210150898, -0.2444141507, -0.1620631516, 0.1040802822, -0.2020216286, 1.0507297516, -0.1616829783, 0.1625767499, -0.1233007908, -0.515088439, 0.1258527786, 0.163498044, 0.5436306, 0.9802426696, 0.1723522693, -0.1518940628, 0.6604870558, -0.5583464503, -0.0012477543, -0.2848125398, -0.0707325637, 0.0169305205, 0.4309469461, 0.5927051902, 0.4522370398, -0.9473239183, 0.3695040643, 0.236633271, -0.1629770547, -0.8991257548, 0.2202453315, 0.3486305773, 0.0475765169, 0.1038345322, 0.1289044619, -0.5173213482, -0.4304458201, 0.4696969688, 0.1215421855, -0.4064682424, -0.0457448103, 0.2465738654, -0.1884635091, -0.1689482778, 0.920160234, -0.2072202414, -0.5622939467, 0.6843115091, 0.6864328384, 0.6894196868, -0.4970130026, -0.0412761047, 0.6719183326, 0.2746728361, -0.7501031756, 0.2907589376, -0.1180950552, -0.7889804244, -0.4545323253, -0.7365639806, -0.325783819, 0.3005128205, -0.4228254855, 0.3566757143, -0.7024083734, 0.4070638716, -0.5787117481, -0.4148025215, -0.7440336943, 0.377946645, -0.0391082279, 0.7844238281, -0.5622654557, 0.9711544514, 0.405362606, -0.2210793644, -0.9482426643, 0.0106838411, 0.1018644124, -0.5978727341, 0.5409814715, 0.0548902303, 0.0579087809, 0.1242284253, -0.5632370114, -1.0208051205, 1.0845803022, 0.1631553918, -1.3068010807, -0.0894024074, -0.0755189955, 0.2599945664, -0.373612076, -0.1710996628, 0.8307608366, 0.293056637, 0.1122786626, -0.8143542409, -0.2453392297, -0.1025245935, 0.0359174795, 0.3333151937, -0.6313269734, 0.8399839997, -0.2589921057, -0.2541128993, 0.0410538204, 0.4925355017, 0.6013250351, 0.068530418, 0.5996882319, 0.8733440042, 0.7807790637, -0.1552644819, 0.6456062794, -0.2422656864, 0.4937725067, 1.6889992952, -0.0665729791, 0.8028230071, 0.1061825603, 0.0936184898, 0.4258586168, 0.7627025247, -0.1970579177, 0.5208954811, 0.3300255537, -0.5228792429, -0.401824832, 0.5599917173, -0.3155804276, 0.2605164945, 0.6200852394, -0.2837014794, -0.4268755317, 0.3304703534, 0.3661398888, 0.1546553224, -0.4981935918, 0.7796109319, 0.1620293558, -0.826947093, 0.7331749797, -0.2285977155, 0.6767858267, -0.6097685695, -0.0275053903, -0.1758346558, 0.3770308197, 0.1330711842, -0.2842004299, 0.4934500158, -0.104811959, -0.2578373551, -0.1953987926, 0.3606148064, -0.5525816083, -0.508433044, 0.18150343, 0.3779885173, 0.0526758954, 0.0516422763, -0.7127480507, 0.2393016666, 0.0933442712, -0.0148314247, 0.2651574314, 0.1946235448, -0.2153760344, 0.6843631268, 0.6289461255, 0.135799244, 0.1812909693, -0.0689158812, 0.793002069, -0.7173293233, -0.5542010069, -0.9172808528, 0.6885575652, -0.2464823425, -0.5312556624, 0.340675205, 0.4322380424, 1.1455415487, -0.2226377428, 0.9768092632, 0.198046878, 0.6721416712, -0.7083963752, 0.7356974483, -0.3188534081, 0.3681481183, -0.0396358073, -1.027848959, -0.149015829, 0.399020046, -0.2742619216, 0.0733085647, 0.9643886089, 0.6900380254, 0.031978, -0.0643294603, 0.3989827931, 0.3768187463, 0.3380323946, 1.001984477, 0.5119128823, -0.2671343088, 0.3560319543, -0.0821851641, -0.3861037195, 0.1838749051, -0.7043076158, -0.8472260833, -0.5859656334, -0.5265569687, -0.1890442967, 0.3999764323, 0.7886815667, 0.6479921937, -0.7279197574, 0.0216497742, -0.5512024164, -0.2036059946, -0.4407047331, -0.1274946779, 0.5116629004, -1.080699563, -0.6844733357, 0.6795166731, 0.306487143, -0.0855193138, -0.0688600913, -0.2348641902, -0.0828650072, -0.0390587077, 0.4885209799, 0.7191332579, -0.3447037637, -0.5399059057, -0.1079362184, 0.1834540218, 0.1032821685, 0.7326120138, -0.7850934267, 0.5962821841, 0.1117440239, 1.0885730982, 0.459692508, -0.2918364406, 0.729737103, -0.7308466434, -0.1352199465, 0.2321401834, 0.5217766166, 0.6027387977, -0.3859607279, 0.3618556559, 0.3983798921, -0.70032686, -0.5710018873, 0.18827115, -0.8607660532, -0.3116339743, 0.7926107645, -0.4053961337, -0.0460286811, -0.3418619931, 0.0470345803, 0.2998234034, 0.0320737362, 0.9393334389, 0.6878606677, 0.0629138872, -0.4882132113, -0.5707265735, 0.5068004727, 0.5475010872, -0.9815036058, 0.1426699758, 0.3896959722, 0.7730413079, 0.079223685, 0.5626344085, -0.385261029, 0.5031765699, 0.0511459075, 0.0455320552, -0.0105687352, -0.5964611173, -0.1754175574, 0.1445325911, 0.1331668943, -0.2207103372 ]
http://arxiv.org/abs/2404.07922v5
http://arxiv.org/pdf/2404.07922v5
LaVy: Vietnamese Multimodal Large Language Model
2024-04-11T17:09:28
2024-05-26T10:27:51
Chi Tran, Huong Le Thanh
cs.CL
cs.CL, cs.CV, cs.LG
Large Language Models (LLMs) and Multimodal Large language models (MLLMs) have taken the world by storm with impressive abilities in complex reasoning and linguistic comprehension. Meanwhile there are plethora of works related to Vietnamese Large Language Models, the lack of high-quality resources in multimodality limits the progress of Vietnamese MLLMs. In this paper, we pioneer in address this by introducing LaVy, a state-of-the-art Vietnamese MLLM, and we also introduce LaVy-Bench benchmark designated for evaluating MLLMs's understanding on Vietnamese visual language tasks. Our project is public at https://github.com/baochi0212/LaVy
[ -0.2770880759, -1.0660768747, 0.7406666279, 0.2911621332, -0.1721417457, 0.1185351536, -0.3605679274, -0.3670833409, -0.1535812467, 0.719319582, -0.2498703003, -0.5173401237, -0.5111566186, -0.1178891957, -0.4229352474, 0.5430611968, -0.2242859453, 0.1974143088, -0.2941347063, -0.4169356823, -0.136839956, -0.5393693447, -0.4812058508, -0.2556905746, 0.73647964, 0.2045139372, 0.3989672959, 0.635148406, 0.5769007206, 0.3319604099, -0.0303544998, 0.3820131421, -0.7417439222, 0.267670691, -0.0588195063, -0.6545429826, -0.466678381, -0.3180595636, 0.7336966991, 0.3776839674, 0.0787387937, 0.3303456008, -0.2906875014, 0.6659846902, -0.7718935609, 0.4229251146, -0.5557707548, -0.2598620057, -0.1949251145, -0.1760651767, -0.2952531278, -0.03212744, 0.0367694199, -0.5455862284, -0.0967165232, -0.087342307, 0.5865897536, 0.4158963561, -0.7273898721, 0.1215429455, -0.3158114851, 0.9644352198, -0.5483046174, 0.6091362834, 0.2552032173, 0.4990933239, -0.2029326409, -0.8960028291, -0.550194025, -0.6419793367, 0.1441905648, 0.1758759022, 0.0026100948, -0.0517084263, 0.1446320713, 0.1908975393, -0.6389217377, 0.1435081959, -0.4642829299, -0.025922196, 0.7164551616, 0.3077346087, 0.1664505005, -0.0787619352, -0.5962482691, 0.2544378936, -0.4821341336, 0.0431702733, 0.071991764, 0.3572060764, -0.1402689219, 0.8636453152, -0.3876409531, 1.0449054241, -0.5046603084, -0.6102743745, 0.3625486195, -0.5141236782, -0.4358318746, -0.2949980497, 0.7061192989, 0.5888794661, 0.3594363928, 0.2469173819, -0.3562074006, 0.2215306759, -0.0182027128, -0.3594063818, 0.1878480911, 0.4039544761, -0.563931644, -0.1403750926, -0.046823401, -0.6077514887, -0.7046283484, -0.3938786387, 0.4791463614, -0.1488409936, -0.6498519778, 0.1907248199, -0.1270321161, 0.4045360982, 0.607863009, -0.4853240848, -0.1302697212, 0.7963936925, 0.8784564137, -0.4773561358, -0.5014494061, -0.7557208538, 0.1965997517, -0.18150042, 0.7274606228, -0.4973013699, -0.2273387611, 0.4153312147, 0.1168690696, 0.1356186867, -0.6052668691, 0.407440722, -0.303958565, -0.1296153963, 0.0078540454, -0.4069933891, -0.2223190814, 0.4496409297, -0.7837015986, 1.1163159609, 0.3377330601, -0.5345678926, 0.0838045701, -0.4654121995, -0.0816136748, 0.1592656374, -0.0491112471, -0.0803380832, 0.2142968476, 0.09130916, 0.7515129447, -0.4331942201, 0.3455104828, -0.3868382275, -0.3407793343, 0.4348386526, -0.3409481347, 0.8121234775, 0.4810117781, 0.0128827943, 0.588983357, -0.8968773484, 0.0341363512, 0.2321809679, -0.4862667024, -0.316452235, -0.4856852889, 0.6515859962, 0.2498963922, 0.6070005894, -0.0761472955, 0.2732508779, 0.1753010303, 0.5120625496, 0.590541482, -0.312966913, 0.3694796562, -0.1979717314, 0.4584441483, -0.0013241738, 0.1633415669, -0.4913324416, -0.3678433597, -1.0792491436, -0.6877838969, -0.091143623, 0.6761777997, -0.9727574587, -0.0130622601, -0.0913297981, -0.6190295815, -0.63366431, 0.383839339, 0.3942565024, 0.0389599502, 0.2353896797, -0.0765559003, -0.5148183703, -0.9168467522, -0.3668275177, -0.2385079563, 0.0370954759, 0.1177522466, 0.5062722564, -0.5745816827, 0.5336267948, -0.2413644642, -0.2215463668, -0.453519851, -0.094743982, 0.2062229663, 0.1064269617, 0.6402552724, -0.9113191962, -0.5572133064, 0.0657574236, -0.9160649776, -0.2428441048, 0.0919460133, -0.0368627794, 0.3291299641, 0.8915818334, -0.752004683, 0.280411154, 0.7716279626, -0.4738054872, 0.6916512847, -0.3268767297, 0.1094008461, -0.8724222183, -0.1179368123, 0.147407487, -0.4917280078, -0.7691563368, 0.5151785612, 0.1026888639, 0.2574110329, -0.8881451488, 0.9767790437, -0.5511496067, -0.0993034989, -0.185677588, 0.3860242665, -0.143207714, 0.2582440376, -0.0048523024, 0.5267095566, 0.5445445776, -0.4375664294, 1.0211845636, -0.1995384991, -0.4909478724, 0.8108691573, -0.5594331026, -0.1998214424, -0.2075732946, 0.066226691, -0.8144196272, -0.3202413917, 0.0408103056, -0.1067520604, 0.114820689, -0.1234708875, -0.3906566501, -0.3411923349, -0.236651361, 0.3195728362, 0.2865888476, -0.4770109057, 0.5547234416, 0.4865927398, 0.0382677764, -0.7527288198, -0.5086680651, 0.140593648, -0.423327446, -0.3847420812, -0.1683201641, -0.1580749899, -0.7457444668, -0.1563512385, 0.2466367334, -0.1937464923, -0.2558068633, 0.1100209132, 0.2537635863, -0.4330023229, 0.3139887452, -0.6368767619, -0.1527633667, -0.1579907984, -0.2831368148, 0.563893497, -0.4973570406, -0.3924046159, -0.3140385747, 0.1555280536, 0.9995360374, -0.4061779678, 0.6829618812, 1.0567278862, -0.1656185538, 0.0372950621, -0.8896739483, 0.5290510654, -0.4134509861, 1.0204766989, -0.4547198415, -1.0655641556, 0.1906737387, -0.067918241, -0.0083256308, 0.2176280469, 1.0024086237, -0.0024119043, 0.6017818451, 0.6922313571, -0.0506424606, 0.6657614112, -0.2049732953, -0.1595731527, -0.6081346869, -0.2228716612, -0.2786664963, 0.0361766145, -0.7475998998, -1.1344345808, 0.207740739, 0.1046273559, -0.4493104517, 0.0539846048, -0.1587095559, 0.1778254211, 0.67203933, -0.0631349459, 0.5581195951, -0.0680828094, 0.1092853323, 0.1189331114, -0.4945761859, -0.5440480709, 1.1642363071, 0.4394592941, 0.9935606122, 0.0796439499, 0.5061756968, 0.1285132915, 0.0989445597, -0.8609393239, 0.6987205744, -0.1588683128, -0.4255212247, -0.4624938071, -0.4323525131, -0.8147414923, 0.5276377201, -0.3298329115, -0.6646245718, -0.3660337925, 0.058401227, 0.1289450526, 0.243382439, -0.6558305025, 0.857299149, -0.7743264437, -0.5316645503, -0.3245974183, -0.2882831991, 0.5653985739, -0.1487082094, 0.4417198896, -0.4230087996, -0.5159553289, 0.4277535379, -0.1267754585, 0.548021853, -0.1885289103, -0.2147104293, 0.4207274914, -0.1245689765, 0.412425369, 0.3233226836, 0.230487287, 0.1878717393, 0.0626513064, -0.5308309793, -0.4901505411, 1.0268679857, -0.8213767409, -0.5601370931, -0.376408577, -0.724268496, -0.0964155942, 0.3971668184, -0.1810716838, 0.0732276663, -0.2540772259, 0.2516023517, 0.6697851419, -0.4812193215, 0.3767769635, 0.5061789751, -0.8182418346, -0.4891741872, 0.9873434305, 0.0347337909, 0.3652128577, 0.4984938204, 0.0137404157, -0.2561525106, -0.4938972592, -0.2499485761, 0.4220880866, -0.8509963751, 0.0622487478, -0.6382281184, -0.2899350822, -0.1261065453, -0.065447472, -0.5517956018, -0.4660590887, -0.1169878915, 0.2235319912, 0.391533196, 1.0241057873, 0.2405172884, 0.1355741769, -0.7948638201, 0.7144126296, 0.5245177746, 0.3490335047, -0.1653832346, -0.4860221148, -0.2735883594, -0.1498006433, 0.1430455297, -0.3456526697, 0.3155588508, -0.0379395001, 0.9280470014, 0.3712105453, -0.2293403298, 0.7213067412, -0.3424133062, 0.7716631293, 0.3387027085, -0.6932890415, 0.3092928529, -0.498020798, 0.7397797704, 0.132834807, 0.1310557574, -0.5379047394, -0.3118390441, -0.2682811916, -0.7920081019, 0.1017811969, -0.0359922647, -0.118763186, 0.4321785569, 0.129721418, 0.1215584949, 0.307510674, -0.962667644, -0.2165439725, -0.215997383, -0.256608367, -0.525447607, -0.481164366, 0.0158698205, -0.2217734158, 0.4833892286, -0.2023551166, 0.0746223256, -0.128098011, -0.3609353602, 0.0407819115, 0.3039130569, 0.9086475372, 0.8371733427, -0.1212065741, 0.300237596, 0.2548772991, -0.450648427, 0.2277874053, -0.0820423216, 0.0423367247, -0.0085164644, 0.8119530082, 0.7413604259, 0.0166300461, -1.1285965443, 0.430903703, -0.1205759421, -0.0254570767, -0.4404814541, 0.0762304813, 0.4002851546, 0.6644791961, 0.2861948013, -0.2119659185, -0.3031810224, -0.5517297387, -0.0772539675, 0.5706069469, -0.5676056743, -0.0737565681, 0.5341554284, 0.2120495588, -0.1950701922, 0.3558671176, 0.2063803375, -0.4153165221, 0.3335328996, 0.4172588289, 0.5924502015, -0.1878219992, 0.0055310517, 0.4639036059, 0.3959854245, -0.2532280087, 0.4596198499, 0.2070667893, -0.5004104376, -0.4556494057, -0.7659384012, -0.1466871351, 0.4216140211, -0.4605310261, 0.4660621881, -0.1743405461, -0.2215327919, -0.3209707141, -0.037227001, -0.7730972171, 0.1194756925, 0.3285516798, 1.0576598644, -0.5449244976, 1.0294612646, 0.8848830462, -0.3023562431, -0.1030541807, -0.2631702721, 0.1470237225, -1.0851655006, 0.777923286, 0.2892567515, -0.1167344898, -0.2645990849, -0.5520800352, -0.9392709732, 0.9674922228, 0.4528829753, -0.6456725597, 0.1778946817, 0.2145579606, 0.5444108844, -0.4622358382, 0.1530924588, 0.6536861658, 0.683699429, -0.0952986926, -1.2279529572, -0.277241081, -0.2690501213, 0.1259609312, -0.0893650874, -0.9663870335, 0.9853880405, -0.4108746648, 0.2126926929, 0.1993408203, 0.6998791099, 0.4528676271, 0.282941252, 0.5612677336, 0.3080088794, 0.6735146046, -0.0963460729, 0.750138998, 0.0466512702, 0.2881593704, 1.0660346746, -0.1962248236, 1.1719107628, 0.6791183949, -0.2564465702, 0.1247011349, 0.5190194845, 0.0871048123, 0.3309964836, 0.310623616, -0.2608919144, -0.4737844467, -0.324637413, -0.4240650237, 0.7343569398, 0.5325738788, -0.169199571, 0.2678498328, 0.1015081033, -0.0802021846, 0.0667468831, -0.5783688426, 0.5280604959, 0.1802153587, -0.5216866732, 0.8600990176, -0.2553355396, 0.6759576797, -0.6157000661, -0.0894539654, -0.0706314072, 0.4292658567, -0.077447623, -0.8251382113, -0.1997162849, -0.160766691, -0.0446727835, -0.090047963, 0.6317387819, -0.744265914, -0.6147034168, 0.610604465, 0.8376452327, 0.000187242, 0.0203878954, -0.6299419403, 0.4994252026, -0.1206362993, -0.4039843678, 0.2591202557, 0.5763852596, -0.2089770287, 1.0734270811, 0.4796691239, 0.1250414252, 0.1505325437, 0.2127284706, 0.7480958104, -0.8422518373, -0.3797787428, -0.8266488314, 0.608510077, -0.0970370248, -0.1471322179, 0.8579387665, 0.4801819324, 0.9442366362, -0.3000137508, 1.0171197653, 0.1221064329, 0.2796964645, -0.5527507663, 0.7007929087, -0.9052155018, 0.1038610265, -0.276037395, -0.9617029428, -0.52050668, 0.548001349, 0.1566701978, -0.0054025357, 0.6812570095, 0.7074052095, 0.0901420563, -0.4598105848, 0.7744681239, 0.5621446967, 0.2980762422, 0.6118443012, 1.3012996912, -0.1947864592, 0.6814647913, 0.0190683622, -0.3708292842, -0.503911972, -0.9036265612, -1.3284153938, -0.7220857739, -0.0204157904, -0.2691766024, 0.0049840859, 0.8855156302, 0.5953669548, -0.6506856084, -0.7013263106, 0.3517793417, 0.1332855523, -0.1394884437, -0.1557176262, 0.1938336045, -0.1625852883, -0.776792109, 0.3957378864, 0.4689439237, 0.1400307417, -0.7438486814, -0.3650434911, -0.4121363163, -0.197989285, 0.96454072, 0.058076635, -1.2142658234, -0.1195531711, -0.0082070297, -0.3223991394, -0.1188237369, 0.854118824, -0.753549993, 0.7428713441, 0.4841500819, 0.3196167648, 0.5539622307, -0.3788706958, 0.569034934, -0.2673031688, 0.6552915573, -0.2157453895, 0.6424232125, 0.4544376433, 0.0389109515, 0.7448684573, 0.1441507488, -0.5230949521, -0.9505041838, 0.2355762422, -1.1832021475, -0.2262214422, 1.3332307339, -0.1151823923, -0.3343992531, -0.2300573438, -0.5615394711, 0.2710415423, -0.2120503783, 0.3990228474, 0.5751456022, -0.0007836857, -0.5238410234, -1.0530107021, 0.2310533673, -0.0948192403, -0.8737257719, 0.2255185097, 0.4632806778, -0.0418423302, 0.0590249561, 0.6595628262, 0.1864570975, 0.2764243186, 0.0613518469, -0.1385174692, -0.1892031133, -0.3100888431, -0.2107169777, 0.1164465174, 0.2659989893, 0.2384600639 ]
http://arxiv.org/abs/2404.07921v2
http://arxiv.org/pdf/2404.07921v2
AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs
2024-04-11T17:05:50
2024-05-02T01:08:37
Zeyi Liao, Huan Sun
cs.CL
cs.CL
As large language models (LLMs) become increasingly prevalent and integrated into autonomous systems, ensuring their safety is imperative. Despite significant strides toward safety alignment, recent work GCG~\citep{zou2023universal} proposes a discrete token optimization algorithm and selects the single suffix with the lowest loss to successfully jailbreak aligned LLMs. In this work, we first discuss the drawbacks of solely picking the suffix with the lowest loss during GCG optimization for jailbreaking and uncover the missed successful suffixes during the intermediate steps. Moreover, we utilize those successful suffixes as training data to learn a generative model, named AmpleGCG, which captures the distribution of adversarial suffixes given a harmful query and enables the rapid generation of hundreds of suffixes for any harmful queries in seconds. AmpleGCG achieves near 100\% attack success rate (ASR) on two aligned LLMs (Llama-2-7B-chat and Vicuna-7B), surpassing two strongest attack baselines. More interestingly, AmpleGCG also transfers seamlessly to attack different models, including closed-source LLMs, achieving a 99\% ASR on the latest GPT-3.5. To summarize, our work amplifies the impact of GCG by training a generative model of adversarial suffixes that is universal to any harmful queries and transferable from attacking open-source LLMs to closed-source LLMs. In addition, it can generate 200 adversarial suffixes for one harmful query in only 4 seconds, rendering it more challenging to defend.
[ -0.2257749587, -0.8783822656, 0.4983566105, -0.0057993452, -0.1891511679, 0.2510311604, -0.2313551605, -0.2537412047, -0.0301796049, 0.4608452022, -0.6116550565, -0.7523061037, -0.7660256028, -0.1903292835, -0.5023272634, 1.0630989075, 0.1781524867, 0.0440718606, 0.1553575099, -0.0439107716, -0.4619267881, -0.6444613338, -0.7317190766, 0.0681118146, 0.1080549583, 0.3488147259, 0.9759389758, 0.8909773231, 0.4587981999, 0.2670258284, -0.1242208704, 0.2894074023, -0.6429689527, -0.1236590073, -0.1039869338, -0.3462809026, -0.2430239171, -0.0125401067, 0.2435826659, 0.4122338295, -0.3548001647, -0.1184012741, -0.0462515131, 0.5860714912, -0.6346980929, -0.4034045339, -1.0797643661, 0.0964616984, -0.3196914792, 0.0218013618, -0.3790364563, -0.5204980373, -0.2487720847, -0.8190158606, 0.2912019491, 0.1479712129, 0.8150529861, 0.3520735204, -0.2808149159, -0.2599396706, -0.5303397775, 0.4576176107, -0.3238969445, 0.1264518648, 0.1186335459, 0.1278981119, -0.6603499651, -0.7815212607, -0.3598726392, -0.4748950303, 0.2757434845, 0.0582486279, -0.3492822349, 0.4105541408, 0.2027263641, 0.5945945382, -0.6243517399, 0.282897085, -0.3497670889, -0.2835113108, 0.5502007008, 0.1279204935, 0.6954675913, 0.0032172964, -0.7653058767, 0.193549484, -1.1468846798, -0.275419414, 0.6357758641, 0.2103365958, -0.0655616075, 0.3426840007, 0.1515886933, 0.6856051087, 0.0389593691, 0.1720927358, -0.0967276543, -0.2275970131, -0.0671899244, -0.0752407983, 1.0188627243, 0.1737043113, 0.3544407189, -0.591743052, 0.1013041958, 0.1263805479, 0.5168433785, -0.61868155, -0.2914907038, 0.0610580035, -0.033889927, -0.4051198065, 0.2088159025, -0.6327593923, -0.6288952231, -0.1547483206, 0.2294019014, -0.7180433273, 0.0913384929, 0.0921367034, -0.0525817461, 0.2435081452, 0.0118120322, -1.1302531958, 0.238519147, 0.9487752914, 1.1446464062, -0.1851455569, -0.2708014846, -0.8528764844, 0.2825204432, -0.3698094487, 0.5533508062, -0.2805356979, -0.6325692534, -0.1766219288, -0.0530326329, -0.2059391141, -0.2826344967, 0.6974617839, -0.6190938354, -0.2119877934, 0.0070629898, -0.7642400265, -0.049910102, 0.1426843107, -0.5747051835, 0.475710392, -0.0586636998, -0.689483285, 0.3566609919, -0.4258544445, -0.3969162405, 0.1745923012, -0.0734188333, -0.4744206071, 0.232374981, 0.3375715315, 0.2528984249, -0.1822050512, 0.2531353831, -0.5842158794, -0.3965207636, 0.0296695158, -0.3691142797, 0.9044155478, 0.3071487844, -0.1564184725, 0.4418308437, -0.4136264026, -0.1157107502, 0.1887410879, -0.1910897046, -0.2981087267, 0.0176067147, -0.2581671178, -0.0663551092, 0.0218595807, -0.5613641143, 0.6208212972, -0.5494353771, 0.464056462, 1.0117824078, -0.0771278068, 0.4547435343, 0.0072629587, 0.6198612452, -0.4718303382, 0.4874279499, 0.2339318693, -0.353735894, -0.5847463012, -0.5674669147, 0.5224211812, 0.6747572422, -0.6461185813, 0.5608700514, -0.2278880775, -0.3326054513, -0.5368067026, 0.3812901676, 0.3842588961, 0.170165658, 0.161344409, -0.2783489823, -0.5993536115, -0.6366417408, -0.3880497515, -0.1337818205, 0.0482573584, 0.1198657602, 0.3470127285, -0.172401607, 0.4873231351, -0.668630302, -0.3564377725, -0.1772029698, -0.0920582563, -0.0506158955, 0.3824047744, 0.6222175956, -0.7061270475, -0.4735172391, 0.0902650431, -0.7694326639, 0.0707009509, -0.1038364917, -0.3796605468, 0.0231332909, 0.7642071247, -0.7728324533, 0.3461504281, 0.46448192, -0.320869565, 0.8197054863, -0.1597716957, -0.0753354356, -1.0473704338, -0.1117568836, -0.230503425, -0.3074035347, -0.7658125758, 0.6694995761, 0.0531184822, -0.0282009244, -0.552503407, 0.5628530979, -0.5452842116, 0.2115646005, -0.3851093352, 0.0423881188, -0.4362396896, 0.3487731516, -0.4747602344, 1.0506429672, 0.8407977223, -0.4410901666, 0.5132082105, 0.2872013152, -0.1405905187, 0.1885879636, -0.5156548619, 0.2885720432, 0.1068666875, -0.1176291332, -0.7364307046, -0.3266628087, 0.4220291078, -0.5320035815, 0.4946701825, -0.5126662254, -0.5436677933, -0.2332463861, -0.3593532145, 0.1018978208, 0.5989050269, -1.0256246328, 0.4142094553, 0.4467042685, 0.1726906747, -0.656177938, -0.2769145072, 0.236769706, -0.5612741709, -0.6866930723, 0.4956758618, 0.0677361116, -0.0809457749, -0.0166075788, -0.1139168441, 0.313652575, 0.4262623489, 0.3335033059, 0.5292642713, 0.0955203101, 0.0121535733, -0.2465594262, -0.1032648236, 0.0338925719, -0.6399132609, 0.465297699, -0.3657310903, -0.380794853, 0.2222546786, 0.2050522417, 0.3805890679, -0.0105282236, 1.0778169632, 0.645563364, -0.2019951046, -0.2482190579, -0.3259278834, 0.0920060501, -0.5202388167, 0.3897707164, -0.2878390253, -1.1153845787, 0.5476109982, -0.1332232207, -0.0461130887, 0.3903099895, 0.3129238486, 0.4541333318, 1.1898937225, 0.8779379725, -0.4931484759, 0.4486452937, -0.1211175397, 0.238797769, -0.8772037029, -0.1523660868, -0.0978794023, 0.1330851018, -0.7093806863, -0.2197897285, 0.3655685782, 0.6256075501, -0.2335860878, 0.2690756321, -0.5747793317, 0.6987240314, 0.3471140862, 0.0644029006, 0.0962122679, 0.0909286514, -0.2130982131, 0.1835680455, -0.5657106638, -0.3292870224, 1.3537592888, 0.1688441634, 0.8253188133, 0.3931178451, 0.6028167605, 0.26670295, 0.5797443986, -0.727257967, 0.5351464748, -0.6143966913, -0.40167436, 0.0753092393, -0.5492423773, -0.8746601939, 0.22506468, 0.022441119, -1.0840111971, -0.3725810051, 0.1802828014, -0.3642488718, 0.651932478, -0.6561176181, 0.8465343714, -0.4023720026, -0.2785962224, -0.0782811046, -0.6250694394, 0.9222701788, 0.0355209671, 0.0682903826, -0.0362187251, 0.0616853647, 0.4475877881, -0.6985155344, 0.5247167349, -0.10105896, 0.1272139996, 0.3043157756, 0.0540423878, 0.6124643087, -0.0184401255, 0.2087155282, 0.1586143225, -0.5517597795, -0.2861684561, -0.5237995982, 0.940898478, -0.8278009892, -0.9909223318, -0.4682273269, -0.3993037045, -0.1160246581, 0.0254042186, 0.4865999818, 0.0676492751, -0.4384334385, -0.0729920939, 0.7737669349, -0.1378849894, 0.2255872339, 0.2275616378, -0.2292852253, -0.4626355767, 0.9915011525, -0.1626451015, 0.4070131183, -0.0447931997, 0.0816576779, -0.3114751279, -0.7769510746, -0.6302232742, 0.0988163725, -0.6735582352, -0.4083844125, -0.5693340898, -0.5522837639, -0.328160882, -0.2468221188, -0.115162462, -0.3399551511, -0.5129973292, -0.2760238051, 0.656935215, 0.4639803767, -0.3980911374, 0.5383775234, -0.7053849697, 0.3933441341, 0.2560028732, 0.3871897459, -0.1207055375, -0.6071872115, 0.0868757218, -0.2412685007, -0.4898103476, -1.0742635727, 0.3870629668, 0.3400729299, 0.4208023846, 0.536911726, -0.1849209517, 0.6666722298, -0.6281806827, 0.6510186195, 0.3837021291, -0.980234623, 0.4743984342, -0.54573071, -0.053031534, 0.4958486855, 0.3556837738, -0.4450212717, -0.2529157102, -0.5191398263, -1.2023671865, 0.6571758986, 0.1558233947, 0.1477879435, -0.144072175, 0.5654520392, 0.1153058484, -0.026703041, -0.6172757149, -0.3413012326, -0.0855604932, -0.1142125502, 0.2163412273, -0.1168124676, -0.2124753892, -0.07118617, 0.8800140023, -0.2037157863, 0.1777412742, -0.2126828283, -0.0566252097, 0.3250524104, 0.3964354694, 0.3730677068, 0.0034431501, -0.0867179036, 0.1121401712, 0.2004887015, -0.7110369802, 0.3568191826, 0.4068958759, -0.2484067976, -0.5280934572, -0.0005664463, 0.8692024946, -0.2824763358, -0.5870808363, 0.5662663579, -0.1815594882, -0.1818747222, -0.362522155, 0.385918051, -0.1401530504, -0.0890868083, 0.2304246426, 0.1841541827, 0.1713967919, -0.4754324257, 0.2484028041, 0.9069346189, -0.3517642021, -0.1291803867, 0.9214465022, -0.0999412537, -0.0499061868, 0.6328415871, -0.5459054708, -0.7812336087, 0.5446497202, 0.5526735187, 1.1985980272, -0.1996881366, 0.1055497155, 0.217295453, 0.4299557209, -0.313147068, -0.0137643022, 0.1420245618, -0.5694113374, -0.3844166994, -0.6807364225, -0.2059941292, 0.3150801063, -0.3614282012, 0.1552723795, -0.7403391004, -0.0966409594, -0.0980631635, -0.3087300062, -0.4302112758, -0.0101516386, 0.2563189566, 0.713978827, -0.7256112695, 0.4641181827, 0.4681458175, -0.2283609957, -0.7814323902, 0.0490110405, 0.2922587097, -0.9626031518, 0.2409251183, 0.2915381193, -0.2296042889, 0.0810881108, -0.8487544656, -1.0250507593, 0.7856823802, 0.5138361454, -0.4821009934, 0.029765062, 0.0146418083, 0.3232828081, -0.1329130083, 0.0181945134, 0.7451320887, 0.1807506979, 0.2697869837, -0.5269801021, 0.3103759587, -0.3061977029, -0.0277549569, 0.5756500363, -0.6833297014, 0.5582761168, -0.4441198409, -0.5549870729, 0.5131316781, 0.639170289, 0.371722877, -0.1750608683, 0.2732217312, 0.9064701796, 0.6256940365, -0.4595615268, 1.2993427515, -0.2347277701, 0.1612104923, 0.8738737702, 0.0091419853, 0.4476906657, 0.2680943012, -0.0613078624, 0.1678001583, 0.5265265703, -0.2858631909, 0.7636958361, 0.5757809281, -0.5858493447, -0.1247785836, -0.0696327314, -0.2090879977, 0.2378073186, 0.6037803292, -0.1558751613, -0.1579248011, 0.1583425403, 0.3194661438, -0.0074292431, -0.5489295125, 0.808416605, 0.1274864972, -0.6850424409, 0.6826363206, 0.3418176472, 0.8084179163, -0.7636194229, 0.2206733972, -0.1264980882, 0.2455766499, -0.3214952648, -0.58934623, 0.3228748143, 0.2876501381, 0.0472483449, 0.2026299834, 0.8416288495, -0.1969664246, -0.3425664604, 0.3568389118, 0.0494488142, 0.1241026148, -0.1316414624, -0.5957804918, -0.073354423, 0.1088445485, -0.0098755518, 0.4469501674, 0.1234417185, -0.0362057798, 0.7005681396, 0.9143064618, 0.3601121306, 0.2924827337, 0.0814846233, 1.0030218363, -0.5522290468, -0.5251306891, -1.2163507938, 0.3205428421, -0.0852718279, -0.1303427666, 0.8927006721, 0.4350285828, 0.6143421531, 0.1771529317, 1.0322765112, -0.1530985385, -0.0692332909, -0.8431301117, 0.6564000845, -0.2831606269, 0.468582809, -0.0274995174, -0.6881365776, -0.3343691528, 0.2410779297, -0.4374829531, -0.1269789934, 0.3724653125, 0.8171632886, -0.0688500777, 0.0079368418, 0.2841423452, -0.0080562541, 0.5104158521, 0.7885469198, 0.967004478, -0.3536930978, 0.671310544, 0.1378139555, -0.2786380351, -0.0354592428, -0.7363908291, -0.9506801367, -0.0882687271, -0.2906787694, -0.4311795533, 0.5177659988, 0.7461201549, 0.6021941304, -0.5586695075, 0.2083063275, -0.6451158524, 0.1361228228, 0.0690772086, -0.2343577147, 0.4585348964, -0.3567326963, -0.3181856573, 0.5988870859, 0.2294763327, 0.1794081926, -0.1068762988, 0.0017570538, -0.0035297023, -0.0123296911, 0.2464653403, 0.5944423079, -0.7292646766, -0.3560739756, -0.0022521063, -0.0777047724, 0.0061825984, 0.6378551126, -0.4516109526, 0.3421468735, 0.102941446, 0.7519662976, 0.2734968662, 0.3305282891, 0.6183523536, -1.0924665928, 0.0457255989, -0.0712141767, 0.390006572, 0.4969474971, -0.606775701, 0.534889102, 0.2404465973, -0.6464186907, -0.7008963227, 0.5042583942, -0.5842847824, -0.4864449799, 1.3500572443, -0.2479768097, -0.1506077349, 0.0196124855, -0.1121470854, 0.34632954, -0.1790393144, 0.8398239017, 0.4899790287, 0.0448420979, 0.084637709, -0.4943985343, 0.8263162971, 0.2860525548, -0.8598120213, 0.0473721102, 0.4337665141, 0.3954497874, 0.000789899, 0.4135732949, -0.1997730881, 0.3583064377, 0.0628559142, -0.0227319933, -0.2250879407, -0.3332877755, -0.6058160067, 0.2541755736, 0.105065465, -0.3849986792 ]
http://arxiv.org/abs/2404.07917v1
http://arxiv.org/pdf/2404.07917v1
DesignQA: A Multimodal Benchmark for Evaluating Large Language Models' Understanding of Engineering Documentation
2024-04-11T16:59:54
2024-04-11T16:59:54
Anna C. Doris, Daniele Grandi, Ryan Tomich, Md Ferdous Alam, Hyunmin Cheong, Faez Ahmed
cs.AI
cs.AI, cs.CL
This research introduces DesignQA, a novel benchmark aimed at evaluating the proficiency of multimodal large language models (MLLMs) in comprehending and applying engineering requirements in technical documentation. Developed with a focus on real-world engineering challenges, DesignQA uniquely combines multimodal data-including textual design requirements, CAD images, and engineering drawings-derived from the Formula SAE student competition. Different from many existing MLLM benchmarks, DesignQA contains document-grounded visual questions where the input image and input document come from different sources. The benchmark features automatic evaluation metrics and is divided into segments-Rule Comprehension, Rule Compliance, and Rule Extraction-based on tasks that engineers perform when designing according to requirements. We evaluate state-of-the-art models like GPT4 and LLaVA against the benchmark, and our study uncovers the existing gaps in MLLMs' abilities to interpret complex engineering documentation. Key findings suggest that while MLLMs demonstrate potential in navigating technical documents, substantial limitations exist, particularly in accurately extracting and applying detailed requirements to engineering designs. This benchmark sets a foundation for future advancements in AI-supported engineering design processes. DesignQA is publicly available at: https://github.com/anniedoris/design_qa/.
[ -0.601031661, -0.5829082727, 0.6613872647, 0.4408052564, -0.1527790874, 0.3753240108, 0.2737115622, -0.4493406117, -0.2404161841, 0.3383825719, -0.6400012374, -0.5941537619, -0.2351879627, -0.0691289976, -0.3365296125, 0.2692608237, -0.695340991, -0.1186520532, -0.4691665173, -0.1194007173, -0.556212306, -0.4265288711, -0.3692188859, -0.1450550109, 0.5567994118, 0.0358931795, 0.5231381655, 0.201790601, 0.5499628186, 0.2470371574, -0.1034458578, 0.3340698779, 0.0581030436, 0.3642607927, 0.2335419655, -0.18163158, -0.5260903239, 0.1861913651, 0.6422194839, 0.4337495267, 0.0917110592, 0.395509243, 0.2026323825, 0.6375101805, -0.6421329379, 0.6235848069, -0.0057259621, 0.0534440242, -0.0506945625, -0.1413021088, -0.525633812, -0.2780270875, -0.133919403, -0.9553750157, -0.0965158716, 0.2595492601, 1.1773741245, 0.3299992383, -0.914727211, -0.4237059355, -0.2711825371, 0.6071221232, -0.5148821473, 1.1129900217, 0.2635123134, 0.5309398174, -0.2409703881, -0.9021587372, -0.5126183033, -0.5005361438, 0.0627799481, 0.0819021463, -0.060647998, 0.2071149945, 0.4727425873, 0.3388630152, -0.851477325, 0.039172709, -0.5648143291, -0.4435834885, 0.4804893732, 0.0642878413, 0.4094775915, -0.2874037027, -0.3092259467, -0.1574994326, -0.4780828357, 0.2150393277, 0.1169584021, -0.1586968005, -0.2376523465, 0.4407016933, -0.2872540355, 0.4530765116, -0.3870021403, -0.0229887534, 0.7221497297, -0.4396236241, -0.314147234, -0.5256189704, 0.6500651836, 0.2240418196, 0.1515301764, -0.122345984, -0.456371516, -0.192975983, 0.3126007617, -0.6162057519, -0.3320803046, -0.0058497703, -0.6214759946, 0.0192410275, -0.342653811, -0.6583499312, -0.5436216593, -0.6325634122, 0.650801301, 0.033602424, -0.2998748124, -0.0685253441, -0.4363940954, 0.3199292719, 0.2973003983, -0.4866429865, -0.2005437613, 0.6316256523, 0.8424551487, 0.0558638088, -0.2997326255, -0.3731802702, -0.0851940513, -0.3431906402, 0.8782730103, -0.3676145971, -0.4438354671, -0.130217582, -0.0423372574, 0.0146799022, -0.4845966101, 1.0875231028, -0.6134742498, -0.170699805, -0.1188349947, -0.1717541516, -0.2941044271, 0.3315491378, -1.0245295763, 1.0087002516, 0.3143504262, -0.4930541813, 0.6087765098, -0.846761167, -0.1852672994, 0.1258758456, -0.5215824246, -0.3496408463, 0.1038183421, 0.0619055107, -0.0225406699, -0.4717178047, 0.2868136764, -0.4804475904, -0.1047852263, 0.0576082021, -0.4234805405, 0.7486550212, 0.432897687, -0.1930665225, 0.3332313895, -0.8197064996, 0.4128320217, -0.061946325, -0.6008318663, -0.2355707139, -0.1066666096, 0.2549625039, 0.62740767, 0.0720641166, -0.5444067717, 0.120317176, -0.0665116087, 0.5170197487, 0.6942360997, -0.1835948676, 0.3458192348, -0.3951175213, 0.7087031007, -0.2036407292, 0.3058918118, -0.1897927523, -0.4670560062, -0.8084165454, -0.3282088935, 0.4070468843, 0.2272553593, -0.8236740232, -0.1586732566, 0.0528878197, -0.453360796, -0.7535015345, 0.3051270247, 0.333601892, 0.3253412843, 0.3136991262, -0.2551964521, -0.6414324045, -1.2305151224, -0.1469546854, -0.327460736, -0.4105526209, 0.1939742863, 0.5835620165, -0.155838415, 0.4508433044, -0.1562948376, -0.1825148463, 0.0108988462, 0.7473236918, 0.0754771233, 0.2908011377, 0.5990150571, -1.0009278059, -0.4622009993, -0.0853204876, -1.0388047695, -0.2510866225, -0.2173280269, -0.2102743089, -0.0215514619, 0.4806788564, -0.8145385385, 0.5035235286, 0.4430257082, -0.297273308, 0.6183996797, -0.0787356272, 0.3094807863, -0.7419759631, 0.1565952897, -0.0321754217, 0.0708993077, -0.4060688019, 0.4775164723, 0.6962583661, -0.1587243527, -0.4790632427, 0.7535828352, -0.737146914, -0.0078152297, -0.0996479988, 0.1370428652, 0.5409053564, 0.4699363708, -0.2650044858, 0.8596404195, 0.2309839129, -0.3074241281, 0.2673361003, 0.3030737042, -0.666434586, 0.6752803326, -0.694881022, 0.1931578219, -0.1814207435, 0.2866937816, -0.9727445245, 0.0888038129, -0.0955679938, -0.260299325, 0.1901026666, 0.0957798585, -0.7194404006, -0.5993555784, -0.3216601908, 0.5296331048, 0.2780015171, -0.2823459506, 1.0400301218, 0.3635794222, -0.2420324087, -0.327342689, -0.4360264242, 0.283254534, 0.0441405848, -0.8436979651, 0.3472749889, -0.4788502455, -0.4262650013, -0.1870451421, -0.3316309452, -0.475875169, 0.2858942151, 0.558403492, 0.1451591849, -0.3695572317, 0.281221509, 0.0139832515, -0.0299727935, 0.392445296, -0.0708199516, 0.1875394732, 0.0189367253, -0.5551066995, -0.7510077357, 0.6972891092, 0.9970927238, -0.3091929257, 0.2223941684, 0.4441274703, -0.4338757396, -0.1587462425, -0.6421827078, 0.1346925944, -0.4770960808, 0.3542831838, -1.0142157078, -0.4377290606, 0.2789615989, 0.0344838127, 0.5811914206, 0.6089122295, 0.316886276, -0.4888973534, 1.1053500175, 0.721242249, 0.1022494212, 0.2770748436, -0.0122101596, 0.0349875949, -0.8048849702, -0.3631818891, -0.7765507102, -0.2662765086, -0.1792862862, -0.3008392453, 0.3856803179, -0.0735685006, -0.4076158404, 0.15252994, -0.1521372348, 0.2647157609, 0.6300414205, 0.0421176478, 0.4278039038, -0.2436132133, -0.6370785832, -0.0702820122, -0.3618266284, -0.5587958694, 0.9421218634, 0.6843019128, 0.8629182577, 0.1721747816, 0.3202689588, 0.5851656795, 0.3724391162, -0.8076868057, 0.2513786852, 0.1705633402, -0.6060627699, -0.1385586262, -0.3256858587, -0.5700252652, 0.3582814038, -0.0567774363, -0.2123144269, 0.1673638076, 0.0018923881, -0.2540230155, 0.0161716491, -0.796788156, 0.9457746148, -0.5839634538, -0.073245354, -0.2119389325, -0.1788735241, 0.3660722077, -0.4098111987, 0.4903558195, -0.1919729263, -0.0812127218, 0.7072635889, -0.108499147, 0.5317331553, -0.1144679785, -0.3949443996, 0.025898505, 0.0698174462, 0.3867911696, -0.1502107382, -0.4240564406, -0.0707608834, 0.260363102, -0.5440577269, -0.6087582707, 0.4923566282, -0.6281187534, -0.6821150184, -0.2005491257, -0.5633539557, -0.3779439032, 0.2600910068, -0.0279477313, 0.4375789464, -0.178147465, 0.4163996875, 0.4547724128, -0.2212746888, 0.2980255783, 0.6138724685, -0.0346395113, -0.2028607875, 0.5692613125, 0.1016084105, 0.1363338679, 0.428465724, -0.1909436285, -0.7217254043, -0.6764782071, -0.9186275601, 0.1043218523, -1.1082601547, -0.020722596, -0.5967662334, -0.5525246859, -0.130743131, 0.0985783488, -0.0779856518, -0.4006714821, -0.1306481957, 0.0901528075, -0.2746073902, 1.0879710913, 0.3741087019, -0.2899361849, -0.7581161857, 0.3541885614, 0.4553427398, 0.5033916235, -0.0137229208, -0.7205067277, -0.0835948661, -0.0761502236, -0.7377278209, -0.686316669, -0.0548451729, 0.1002645567, 1.2269932032, -0.0639825314, 0.1528109014, 0.3416693807, -0.3929757476, 0.5317528248, -0.000289567, -0.7958388925, 0.3497363627, -0.2352948338, 0.5838272572, 0.4816642106, 0.3485342562, -0.4796641171, -0.1884063631, -0.1450061053, -0.585490346, 0.0810972229, 0.21568878, -0.1028495431, 0.4854954183, 0.1629722416, -0.0495329872, 0.1720369756, -0.6358602047, 0.1324181408, -0.1967768073, -0.3778301179, 0.2805171311, -0.3905043602, -0.0756177977, 0.1072818786, 0.4127309918, -0.1204113066, 0.0248911846, -0.1358118951, -0.4406302273, 0.1765561104, 0.3425107002, 0.8539126515, 1.0366511345, -0.0100574763, 0.1513157338, 0.146817416, -0.3483872414, 0.1473401189, 0.1768942624, -0.090278998, 0.2330640405, 0.3469091952, 0.4293422401, 0.3039468825, -0.6710191369, 0.4274111092, -0.3616975844, -0.7481976748, -0.2290296853, -0.3119525015, 0.1497660726, 0.4074764848, 0.56254071, -0.2516937256, 0.2738884985, -0.2309294939, 0.3742655814, 0.3937336206, -0.2946831882, -0.3317344785, 0.9068133235, 0.5937079787, -0.3218524754, 0.3350973129, -0.1036290303, -0.2184046805, 0.8204904199, 0.2060712725, 0.9859890342, 0.1428714544, 0.2623187304, 0.3352083564, 0.4196018577, 0.2633359134, 0.6130398512, -0.2361451238, -0.038623888, -0.3378775418, -0.7666608691, -0.4974669814, 0.0973974317, -0.2986460328, 0.3309524357, -0.4070212543, -0.0609554201, 0.309420526, -0.0906137973, -0.8466358781, 0.0650104582, 0.1252963394, 1.2562217712, -0.5186586976, 0.6977930665, 0.59966892, -0.5929138064, -0.6308377981, -0.1551994085, 0.4447980225, -0.5707445145, 1.0642342567, 0.2182599604, -0.1704080403, -0.2608315945, 0.030770801, -0.7005173564, 1.0435432196, 0.1990134269, -0.632732749, -0.4407717586, 0.1357388496, 0.392808497, -0.1187633052, 0.4579801559, 0.1781883985, 0.5867031813, -0.138872236, -1.3978379965, 0.0094489269, -0.7038452625, -0.2369350195, 0.2861893177, -0.6312055588, 0.8943864107, 0.167639479, -0.4058720469, 0.2925131023, 0.4183405638, 0.2789047658, 0.495488286, 0.6179506779, 0.3427734971, 0.7270717621, -0.0641110912, 0.5599730015, -0.3117571175, 0.0805221349, 0.9572411776, -0.0880236477, 0.963630259, 0.4099898338, -0.1309243888, 0.5122947693, 0.7339817882, 0.1827929914, 0.1556570083, 0.3298665583, -0.2925754786, -0.3013585806, -0.2572689056, -0.6584886909, 0.409230262, 0.2559550107, -0.5255696177, -0.274962306, 0.0431562029, -0.345100224, -0.0353022702, -0.197173804, 0.61064744, 0.1499622762, -0.5101684332, 0.880364418, -0.2407687455, 0.180926919, -0.3804187775, -0.2337447703, -0.2600156963, 0.1276845783, -0.0307476334, -0.9920148253, 0.045883514, -0.1282274127, -0.2170435339, -0.3928134739, 0.1750714183, -0.0234679356, -0.4921022356, 0.1849826276, 0.4276855886, 0.0675972626, -0.1928007752, -0.7614536285, 0.2172452211, -0.1023656875, -0.0848755091, 0.1957269162, 0.4240514338, -0.3073408306, 0.8682758212, 0.3359568417, -0.3974027634, -0.0282400306, 0.4528565109, 1.0423225164, -0.6377221942, -0.3567635119, -0.4858300686, 0.6443097591, -0.117663078, -0.322665751, 0.6558558345, 0.7290835977, 0.715149641, -0.0160139222, 0.9935442805, 0.2616862953, 0.2391881049, -0.6449543238, 0.7888271809, -0.8914805651, 0.1313185543, -0.1210676283, -0.6376271248, -0.200192064, 0.1680069268, -0.0079472633, -0.0000633529, 0.7827209234, 0.8217516541, -0.1226358861, 0.0900013596, 0.3051364124, -0.03192994, 0.6613463759, 0.7309235334, 1.1677113771, -0.4025232494, 0.9716095924, 0.0369742326, -0.3095231652, -0.0928169489, -0.7918326855, -0.9324675798, -0.8451305628, -0.0191745162, -0.0558232963, -0.0855919719, 0.6570264697, 0.7863402963, -0.6766268015, -0.0187205467, 0.3472556174, 0.1218655407, 0.0283960346, -0.0992123932, 0.2004609257, -0.3209353387, -0.5596321821, 0.5207260847, 0.3306756616, 0.218792215, -0.6083627939, -0.1332586408, -0.079981789, -0.0630715936, 0.7373434305, 0.3190721273, -0.9509221911, -0.1041551009, 0.2638289928, -0.3232483268, 0.1466836929, 0.7836818099, -0.4750101864, 0.6863065958, 0.8628592491, 0.7168118358, 0.4068448842, -0.1002028883, 0.5683506131, -0.4765365422, -0.1623368859, -0.0489927381, 0.4171382487, 0.1217008084, -0.0538954735, 0.384870857, 0.0322393179, -0.5941188931, -0.7379912734, 0.2338921726, -0.7147798538, -0.1947484612, 0.8572416306, -0.1579032987, 0.0312113483, -0.6017080545, -0.5205386281, -0.1779378504, -0.2365643978, 0.8613003492, 0.8664280176, -0.0308938716, -0.4852165282, -1.2018067837, 0.3863170445, 0.3014534712, -0.9196359515, 0.0557506792, 0.5490783453, 0.0515220016, 0.0484022982, 0.430811882, 0.1015279144, 0.7190539241, 0.0537745319, 0.0291786995, -0.187609762, -0.3306336105, 0.0596796758, 0.4511535466, 0.4673687816, -0.1963067949 ]
http://arxiv.org/abs/2404.07904v1
http://arxiv.org/pdf/2404.07904v1
HGRN2: Gated Linear RNNs with State Expansion
2024-04-11T16:43:03
2024-04-11T16:43:03
Zhen Qin, Songlin Yang, Weixuan Sun, Xuyang Shen, Dong Li, Weigao Sun, Yiran Zhong
cs.CL
cs.CL
Hierarchically gated linear RNN (HGRN,Qin et al. 2023) has demonstrated competitive training speed and performance in language modeling, while offering efficient inference. However, the recurrent state size of HGRN remains relatively small, which limits its expressiveness.To address this issue, inspired by linear attention, we introduce a simple outer-product-based state expansion mechanism so that the recurrent state size can be significantly enlarged without introducing any additional parameters. The linear attention form also allows for hardware-efficient training.Our extensive experiments verify the advantage of HGRN2 over HGRN1 in language modeling, image classification, and Long Range Arena.Our largest 3B HGRN2 model slightly outperforms Mamba and LLaMa Architecture Transformer for language modeling in a controlled experiment setting; and performs competitively with many open-source 3B models in downstream evaluation while using much fewer total training tokens.
[ -0.2280891985, -0.6346741915, 0.2183241993, 0.2821302414, -0.1367881149, -0.1123497039, -0.3505474627, -0.6253589392, -0.1512739956, 0.1355304867, -0.3740208745, -0.0380469561, -0.6709121466, -0.2324268371, -0.1270902753, 0.9819527864, -0.0042953375, -0.0228973813, 0.1306924969, 0.0235380176, 0.0186939966, -0.2177435756, -0.8880435228, -0.7975215316, 0.9939227104, 0.006771198, 0.752953887, 1.0182423592, 0.7084907293, 0.3062491119, -0.1952015162, -0.139261663, -0.9004144669, -0.0399319343, -0.0022246721, -0.2982619107, -0.4919835925, -0.2731525302, 0.6474122405, 0.421212554, -0.2275373638, 0.3625049889, 0.1541735232, 0.7009055614, -0.599527359, 0.499543041, -0.5266245604, 0.1967973113, -0.182598263, 0.2179232538, -0.3013214171, -0.3182608187, 0.3144420385, -0.4793586433, 0.1542510688, 0.1396100223, 0.9562261701, 0.2744452357, -0.1261475235, 0.1769628227, -0.7680978179, 0.7727799416, -0.6773554087, 0.6129295826, -0.0706623346, 0.3256888688, -0.1619814783, -0.8320189118, -0.4363003671, 0.0175279006, -0.0703305304, 0.0852209702, -0.5770584345, 0.5276690125, 0.4211608171, 0.3838402033, -0.5871114731, 0.0194907561, -0.6184229255, -0.0495946109, 0.2541882396, -0.1497372389, 0.049359791, -0.1727037728, -0.7756199241, 0.0866725072, -0.6929228902, -0.0732664913, 0.1360947937, 0.3078457415, -0.037563242, 0.5205601454, -0.2009391189, 0.6974619031, -0.0366826653, -0.149349764, 0.1692131162, -0.112018913, -0.3795609772, -0.0345549472, 0.7385962605, 0.1554981619, -0.0824682191, -0.2814935148, -0.3657440543, 0.0113242054, 0.1086986661, -0.9297879934, -0.1566537321, 0.0256537739, -0.7965295315, -0.1338064969, -0.1159057468, -0.9299687147, -0.3637201488, -0.2757678628, 0.5561059713, 0.2464963198, -0.3110100627, 0.212516889, -0.233252123, 0.2320985049, 0.0829153508, -1.1198006868, 0.6203265786, 1.027305007, 0.9487659931, -0.3337737918, 0.0739614516, -0.4863587618, -0.3321226537, -0.4345372617, 0.4614481032, -0.2529589832, 0.0930004045, -0.0704231635, -0.1103183106, 0.1795060337, -0.5144513845, 0.0454838835, -1.0249106884, 0.0836105868, -0.1849374473, -0.0466034822, -0.1130937338, 0.0878657401, -0.6736013889, 1.1374821663, 0.5431225896, -0.572276473, 0.076579161, -0.5600519776, -0.1569741219, 0.0341615044, -0.3183410168, -0.4237621129, 0.0308923163, -0.1571249962, -0.0907662585, -0.5046955347, 0.1448623836, -0.3375667632, -0.1539226323, -0.0635967329, -0.3139055967, 0.3937223554, 0.3491264284, -0.4437133074, 0.1603837907, -0.4212667644, 0.0880234912, 0.0403081179, -0.5228840709, -0.0607090741, -0.2874398232, -0.0474199653, 0.5251333117, 0.2565168142, -0.7660204768, 0.103115879, -0.7291149497, 0.2813673317, 0.7098269463, 0.0032594437, 0.6528160572, -0.2034254074, 0.7692381144, -0.1239312738, 0.1402679086, -0.0101344762, -0.6607083082, -0.8579866886, -0.1584254205, 0.6126073599, 0.4346949756, -0.6927190423, 0.2906942368, -0.4229923189, 0.0177187212, -0.5337718129, 0.2314943969, 0.6760863066, 0.3462069631, 0.0760229528, -0.3336100578, -0.6875793338, -1.1343233585, -0.1761319786, -0.2281474769, 0.0434563607, 0.2985103726, 0.371801585, -0.2091599554, 0.8932520151, -0.3702133298, -0.3358294964, -0.6071644425, 0.2536591589, 0.3028255701, 0.2767840326, 0.0375599712, -0.2196684629, -0.2716253698, 0.3520753384, -0.4879908264, -0.0487023219, -0.1587931514, -0.2258809954, 0.1851421595, 0.4244812131, -0.5724402666, 0.512925446, 0.6803573966, 0.0802984089, 0.0485768095, -0.1063273475, -0.4130176902, -1.0853593349, -0.1701664478, 0.1896508932, -0.3293801546, -0.5954164267, 0.1857133806, -0.0429718569, -0.1712421328, -0.3141172826, 0.754463613, -0.6461189985, -0.5382215381, -0.651796639, 0.2583907843, -0.1943549961, 0.8184595704, -0.0384736918, 0.5591656566, 0.3024521172, -0.3305497766, 0.5738084912, 0.0857716799, -0.4581177831, -0.3097188771, -0.8678785563, 0.0028344295, -0.3885128498, 0.358097136, -0.8108756542, -0.0909656957, 0.3284196854, -0.3574416041, 0.2954342663, -0.3074524999, -0.3905538321, -0.6379030347, -0.0933647901, 0.563303411, 0.8870245218, -0.8821171522, 0.4943038523, 0.1556901485, -0.225179702, -0.5080674887, -0.8889325857, 0.0808701888, 0.1855318397, -0.4514220357, 0.1703063846, 0.4773025215, -0.2735459208, 0.1887277365, -0.2522903383, 0.1848857254, -0.2017479539, 0.1036006436, 0.0397552922, -0.645973146, 0.2464947701, -0.1636226773, -0.3439041376, 0.148106426, -0.7569339871, 0.4934239686, -0.2394460589, -0.1307557821, -0.554659009, 0.2378169298, 0.267039299, -0.3102842569, 0.4503127038, 0.403467983, -0.6885159612, -0.5066985488, -0.2539465427, -0.3239391148, -0.5036152005, 0.7187786698, -0.3098275363, -0.8242905736, 0.1787765473, 0.0133245355, -0.0018434414, 0.4183841348, 0.590899229, 0.1885523051, 0.8397526145, 0.434730202, -0.1056381688, 0.5779182315, -0.1541129798, 0.4575808644, -1.0365698338, -0.2173860073, -0.2685252428, -0.636207521, -0.7295372486, -0.7736622691, 0.3241616189, -0.0271981079, -0.2915461361, 0.3731547296, -0.2354501933, 0.4804483652, 0.4964514077, 0.3148501217, 0.0676312298, 0.321796447, 0.0827358365, -0.1423414797, -0.9102010131, 0.0200719107, 0.8216241002, 1.0670551062, 1.400318861, 0.2902623415, 0.3830463588, 0.1099871546, 0.4336155951, -1.1763317585, 0.2467278391, -0.1715031713, -0.7229821682, -0.3948971629, -0.4667425454, -0.8469717503, 0.3877936304, 0.0504377708, -0.6409617066, 0.4045166075, 0.3274633288, -0.687545836, 0.3544184268, -0.5772677064, 0.6232537031, -0.3432131112, -0.5650844574, -0.0614675954, -0.5347715616, 0.3698652685, 0.1814267039, -0.0986115411, 0.2009256482, -0.1256582737, 0.6525430679, -0.4101804793, 0.7485830784, -0.1745580286, -0.284432888, 0.2732164264, 0.0280493759, 0.6974102259, -0.0176226944, 0.106334202, -0.0050435928, -0.7233585119, -0.4020512998, -0.9928538203, 0.7153493762, -0.6357566118, -0.657366097, -0.3927756846, -0.4319678843, -0.1338295788, 0.2152217627, -0.0296790153, 0.7312963009, 0.1345231384, 0.566824913, 0.9004004598, 0.0246787462, 0.4858080745, 0.1598851234, -0.6121636033, -0.522642374, 0.7520760894, -0.1484193057, 0.7158759832, 0.367528528, 0.4650105536, -0.4978690445, -0.1741593182, -0.5296672583, 0.2541708648, -0.6210927963, -0.0931801274, -0.80991745, -0.5767374635, -0.2087756991, 0.3102042377, -0.4840797484, -0.4984254539, -0.044460021, -0.1997557133, 0.3733537495, 1.0186921358, -0.2417341322, 0.6027418375, -0.2701494098, 0.689588666, 0.7061132193, 0.7040518522, 0.2605124712, -0.7467883825, -0.2761518061, -0.0225731079, -0.0866833925, -0.5685446858, 0.1757646203, 0.2125718892, 0.4228651822, 0.6954959035, -0.4598109424, 0.5617712736, -0.6686709523, 0.5813227892, 0.4564915001, -0.5692656636, 0.09537182, -0.5052843094, 0.4983378947, 0.1413168162, 0.1019142121, -0.5372856855, 0.10950353, -0.3938879967, -0.5824005604, 0.8747661114, 0.0909896865, 0.1093682796, 0.075558722, 0.353707552, -0.0914979875, 0.0363285393, -0.8370863199, -0.2973461151, -0.0577781089, -0.1171928421, 0.0928498209, -0.4071955979, -0.165760994, -0.2676337361, 0.7453991175, -0.0646759048, 0.7350484729, 0.1797770113, 0.1322956383, -0.1359898299, 0.1455230117, 0.5453867912, 0.2897634804, -0.1040881798, 0.2852742374, 0.0816378072, -0.2225896716, 0.1568915546, 0.0411721617, -0.1253053397, 0.0925679728, 0.1468286663, 1.2506057024, 0.2783840597, -0.0872220695, 0.5423064232, 0.0628019199, -0.428735882, 0.0948229656, -0.0497381687, 0.2126134932, 0.3384414017, 0.0032427602, 0.2609674633, 0.2055159062, -0.4410316348, 0.3412043452, 0.2606039047, -0.8722959757, -0.1493480355, 0.6404989362, 0.3144648075, -0.3618117273, 0.3470634222, -0.5075718164, -0.6420913935, 0.5741630793, 0.9634557366, 0.9978359342, 0.0547655933, 0.0963565186, 0.674172163, 0.6909776926, -0.3902974129, 0.3766731024, -0.0713860691, -0.6756469607, -0.3850801289, -0.3974304795, 0.0264613926, 0.3580596447, -0.5880127549, -0.0815418139, -0.5878300071, -0.4252862334, -0.2810434997, -0.1835609227, -0.3635116518, 0.1532998383, 0.398810178, 0.8773120642, -0.3993943334, 0.8800132275, 0.2106719017, -0.0473605953, -0.4172488451, -0.1244501248, 0.06018259, -0.6364201903, 0.9077361226, 0.0715943202, -0.4579292834, 0.0425206162, -0.4132048786, -1.1801056862, 0.8899583817, -0.0726111904, -0.7857007384, -0.1674628407, 0.124767445, 0.7274199724, -0.3303950131, -0.0502976961, 0.5314770341, 0.3146294057, -0.0150781041, -0.6356348395, -0.0654638559, -0.3398126364, 0.5900542736, 0.2736546099, -0.6514550447, 0.7522819638, -0.4169292152, -0.439506799, 0.3038522601, 0.9966506362, 0.0832372159, -0.0989651084, 0.5753707886, 0.6437428594, 0.4467211366, -0.3818646073, 1.0038986206, -0.1315779686, 0.4548222125, 1.4708237648, -0.2968190312, 0.8707678318, 0.3867699504, -0.082591638, 0.4763237238, 0.4137630463, -0.0063754623, 0.5849101543, 0.7497555614, -0.3071917593, -0.1171240732, -0.2710136473, -0.4524964988, 0.2108406574, 0.2516593337, -0.4061055183, -0.3775323033, -0.1262785792, -0.1032274589, -0.1167410538, -0.2036369145, 0.8086767197, 0.2412819862, -0.560575068, 0.3883455992, 0.1674234867, 0.6542605758, -0.5487459302, -0.0020386796, -0.1750018299, 0.4537136257, -0.1272997856, -0.4586352408, -0.0225857589, 0.0139732827, -0.14735277, -0.3191055059, 0.6627374887, -0.766428709, -0.374763906, 0.4970692396, 0.1782133877, -0.2331691831, 0.2709613442, -0.6031416655, -0.0404864252, -0.2185108811, -0.2661056221, 0.0620107614, 0.2163551301, -0.0923824832, 0.6635053158, 0.4468359947, 0.1853133291, 0.384208113, 0.3280743361, 0.7257352471, -0.4019208848, -0.3758628368, -0.5271782875, 0.2059014887, -0.0939182192, -0.2830066085, 0.4869302809, 0.7765054703, 0.5929933786, -0.0898074433, 0.9560486078, 0.0710115135, 0.3248072565, -0.4674925506, 0.7186213732, -0.407699734, -0.0659868866, 0.1972920746, -0.6751763821, -0.1512004733, 0.4016621709, -0.27354756, 0.2767451704, 0.7333894372, 1.1112835407, -0.055221431, -0.099265486, 0.2864309251, 0.3662490249, 0.2297486663, 0.6192640066, 0.7915938497, -0.7350834608, 0.3704045713, -0.2331914008, -0.3651542962, -0.1345339566, -0.7330203056, -0.8785535693, -0.2671545148, -0.2310402095, -0.5731063485, 0.21810624, 1.0397495031, 0.949900806, -0.7618464828, -0.231394574, -0.1779542565, 0.0821955949, -0.0644766241, -0.2189587355, 0.0151428506, -0.4198159873, -0.3932926357, 0.3369830847, 0.4020369649, -0.0397617891, -0.4195907712, -0.1506894678, -0.0408533439, 0.062331222, 0.7639313936, 0.470715493, -0.941364646, -0.0079150759, 0.2087802291, -0.4461396635, 0.056676615, 0.78160429, -0.5692331791, 0.6647132039, 0.809258759, 1.0176582336, 0.5151841044, 0.3011134565, 0.7384014726, -0.6850557923, 0.1463574618, -0.1380726397, 0.1020843908, 0.0356363989, -0.1925384104, 0.161618188, 0.0660538152, -0.4846281409, -0.2739475667, 0.3266298473, -0.8308380246, 0.0691624582, 1.6809602976, 0.0474355929, -0.5029942989, 0.0336012691, -0.1933508217, 0.1788238585, -0.4719101787, 0.6006971598, 0.3756772578, 0.0666826963, -0.2967878878, -0.6482892036, 0.7005025744, 0.1918033808, -0.8939911127, 0.0944589376, 0.2175285518, -0.088040933, 0.0857269019, 0.4191715419, -0.311334312, 0.4862321913, 0.0244578011, 0.2659958303, -0.0137417382, -0.6709693074, -0.7407957315, 0.0052867481, 0.0593323112, -0.4165617526 ]
http://arxiv.org/abs/2404.07900v2
http://arxiv.org/pdf/2404.07900v2
High-Dimension Human Value Representation in Large Language Models
2024-04-11T16:39:00
2024-06-25T12:23:00
Samuel Cahyawijaya, Delong Chen, Yejin Bang, Leila Khalatbari, Bryan Wilie, Ziwei Ji, Etsuko Ishii, Pascale Fung
cs.CL
cs.CL, cs.AI
The widespread application of Large Language Models (LLMs) across various tasks and fields has necessitated the alignment of these models with human values and preferences. Given various approaches of human value alignment, ranging from Reinforcement Learning with Human Feedback (RLHF), to constitutional learning, etc. there is an urgent need to understand the scope and nature of human values injected into these models before their release. There is also a need for model alignment without a costly large scale human annotation effort. We propose UniVaR, a high-dimensional representation of human value distributions in LLMs, orthogonal to model architecture and training data. Trained from the value-relevant output of eight multilingual LLMs and tested on the output from four multilingual LLMs, namely LlaMA2, ChatGPT, JAIS and Yi, we show that UniVaR is a powerful tool to compare the distribution of human values embedded in different LLMs with different langauge sources. Through UniVaR, we explore how different LLMs prioritize various values in different languages and cultures, shedding light on the complex interplay between human values and language modeling.
[ -0.1691755354, -0.1897168159, 0.3343650997, 0.2706061602, -0.0483643711, 0.3661662936, -0.4716905355, -0.4781096876, 0.2228725851, 0.6051233411, -0.2082307637, -0.3920207322, -0.3893529773, -0.3017095327, -0.0690618679, 0.7507817745, 0.0774952397, 0.146221891, -0.4065295458, -0.4602273405, -0.2888040841, -1.1166403294, -0.0684836134, -0.6618853211, 0.535710156, 0.4320304692, 0.8292006254, 0.4757395983, 0.2925672531, 0.2451613247, -0.1983573586, 0.1031504646, -0.3495342135, -0.0159006938, -0.1468510032, -0.1689263582, -0.5212350488, 0.2715834975, 0.6915701032, 1.0558274984, -0.1212512404, 0.3194809556, 0.1068437099, 0.6072604656, -0.4446305931, 0.2830093503, -0.2337278277, -0.0239648335, -0.4589444101, 0.0324515924, -0.393024534, -0.2976305485, -0.2028028518, -0.461897254, -0.2715555727, 0.084160164, 1.0845284462, 0.2289886773, -0.7163262963, 0.468794167, -0.6059502959, 1.1539171934, -0.5859405994, 0.3838328719, 0.241099149, 0.4180108607, -0.2754375935, 0.0006227139, -0.3598882258, 0.1446231455, -0.1949228197, -0.0989506841, 0.0259722229, -0.0443013869, -0.1692917049, 0.3111941814, -0.246646896, 0.6334300637, -0.0701905265, -0.1607721448, 0.784288168, 0.1623838395, -0.000758377, -0.3003178835, -0.4377270639, -0.4262243807, -0.8029001951, 0.3166138828, 0.5113984942, 0.538166821, -0.1063853651, 0.5793358684, -0.1795364618, 0.6521787643, -0.2064071149, -0.2406202555, 0.5247097015, 0.0549272522, -0.1797394454, -0.1500386596, 0.9891651273, 0.26171875, 0.5298622847, -0.0559327714, -0.1964188814, -0.2485002726, 0.1485239863, -0.7057521939, 0.1568605453, -0.0597276986, -0.6275398731, -0.578773737, -0.1456083655, -0.9414219856, -0.4728586674, -0.5212564468, 0.1101802811, -0.0475793965, -0.2734089494, 0.010235331, 0.2197213322, 0.2272743881, 0.3330681026, -1.277769804, 0.0412027091, 0.4145433903, 0.3679443598, -0.2935585082, -0.5115583539, -0.4048085809, 0.0698914975, -0.3914780915, 0.9181604385, -0.6962658167, -0.133972764, -0.0031214035, -0.1648098081, 0.3858968914, -0.595503211, 0.5008242726, -0.6175707579, 0.0131876068, -0.5435642004, -0.4218259752, -0.2897218466, 0.0481270105, -0.5780995488, 1.2535551786, 0.4413652718, -0.6630981565, 0.5021247268, -0.6718015075, -0.3525186777, 0.1608017683, -0.6804347038, -0.3538201451, 0.2234144658, 0.1314499378, 0.7700317502, -0.7932447195, 0.3730733395, -0.3188012838, -0.129362002, 0.5048983693, -0.7858221531, 0.8189611435, 0.1219656765, -0.1448410004, 0.4133415818, -0.7255190611, 0.2128293663, 0.1601594836, -0.6009662747, -0.318253696, -0.0941876397, 0.4553413689, 0.1889408827, 0.2819359303, -0.4017451704, 0.4230052829, -0.0483192876, 0.3836333156, 0.789198041, -0.2796326876, 0.5032489896, 0.0003802422, 0.519131422, 0.1559064835, 0.0982517526, 0.1659072042, -0.3087261021, -0.3301668465, -0.4774024487, 0.5115855336, 0.3155488074, 0.0981937423, 0.4059141874, -0.1889482886, -0.1661810577, -0.831710577, 0.1417042315, 0.26584813, 0.1276724935, 0.1957136095, -0.0966652557, -0.4315665364, -1.1154475212, -0.0921566486, -0.2204550505, -0.196751371, 0.0963618532, 0.2502086759, -0.2958783209, 0.9845710993, -0.5417820215, -0.3574408591, -0.263281554, 0.4682882428, 0.0661590844, 0.1369692534, 0.6032242179, -0.7035223842, -0.2888388336, 0.3083205521, -0.688193202, -0.248776257, 0.0790969357, -0.2637678683, 0.3577567935, 0.1858456135, -0.2951707542, 0.3817788064, 0.6660621762, -0.4067046344, 0.4589861035, -0.4340234101, 0.3468586504, -1.1186630726, 0.1935251057, -0.2042743713, -0.285538286, -0.3754878342, -0.143790096, 0.2290990502, 0.1130309477, -0.39689821, 0.6626108885, -0.466837883, -0.5889366865, -0.129585892, -0.1127414703, 0.0891412646, 0.534476459, 0.1464868933, 0.8691610098, 0.0983766913, -0.2585919499, 0.5224812627, 0.3969636858, -0.4729223251, 0.8232150674, -0.4876265824, -0.2450783849, -0.2662006021, -0.0249765441, -0.6794925332, -0.4375781417, -0.2515946031, -0.3709160089, 0.1071560904, -0.1846615523, -0.6455435157, 0.0658026785, -0.1633912027, 0.6570909023, 0.700445056, -0.6134916544, 0.4677699804, 0.8835234642, 0.0371372998, -0.5397350192, -0.5227842927, 0.0417823307, -0.4800548851, -0.4563817978, 0.1281265616, 0.1484402567, -0.3135233223, -0.1256169677, 0.5274718404, -0.1382015795, 0.1621365845, 0.3141773939, 0.2076812983, -0.0598113984, 0.2748985887, -0.150984779, -0.168636322, -0.1492647082, -0.3532952666, 0.4362158477, -0.121191524, -0.5482723713, -0.1279551834, 0.5464374423, 0.8107358217, -0.4878373146, 0.6938800812, 0.4593345523, -0.4321557581, 0.0985684171, -0.4276232719, 0.1525541693, -0.3472160697, 0.3741417825, -0.2000540197, -0.760855794, 0.5429620743, -0.0911081061, 0.1642309129, 0.5278725028, 0.713732481, -0.1798255742, 1.1363531351, 0.6751592755, -0.4259961843, 0.2208906412, -0.1376265287, 0.0924748033, -0.9642842412, -0.4679315686, -0.4718413055, -0.3666022718, -0.3590053916, -0.6597256064, 0.31045416, 0.3012056649, -0.6060493588, 0.098422341, -0.331415087, 0.4659230113, 0.4961247146, -0.4496316314, 0.3086791337, 0.1570535153, -0.2490950376, -0.3342060447, -0.5213195086, -0.7282655835, 1.0319722891, 0.5190953612, 1.0336254835, 0.223792091, 0.4283301532, 0.0712806582, 0.4681532681, -0.7406868339, 0.2139156461, -0.308898896, -0.3862430453, -0.7024743557, -0.4471545219, -1.0748480558, 0.5438730717, -0.2271303833, -0.8001878262, 0.3223542869, 0.1721988767, -0.5804254413, 0.4318339825, -0.4295327961, 1.1005241871, -0.753608644, -0.1136238873, -0.0759975314, -0.4933228195, 0.172421962, -0.0608034059, 0.4706510305, -0.4436078966, 0.230546996, 0.6638736129, -0.1517667472, 0.9243371487, 0.072141543, -0.2766424417, -0.0787446573, -0.0127433194, 0.208520472, -0.0421997681, -0.1032587811, 0.3809821606, -0.000140466, -0.6093867421, -0.2955696881, 0.6168200374, -1.2046240568, -0.4198252261, -0.6407182813, -0.8342895508, -0.1781380326, 0.1527473181, 0.135607481, 0.2157097757, -0.4302946329, 0.0556947328, 0.6373414993, -0.4388150275, 0.1372252703, 0.2248273492, -0.5874693394, -0.3611733317, 0.732662797, -0.0084530106, 0.4775282145, 0.5886049867, 0.3077196181, -0.4464969337, -0.0814865306, -0.7281668782, 0.1957414746, -0.7298797369, -0.2817995548, -0.3697651625, -0.1032978371, -0.3347125351, -0.1801433712, -0.5400070548, -0.2680231333, -0.3784627318, -0.0605187826, 0.7375506163, 1.0372036695, -0.0511844717, 0.1021709591, -0.7211298943, 0.0302698426, 0.3981922567, 0.4803696275, 0.0731447786, -0.5433318019, -0.2743204832, 0.3336440921, -0.2754276693, -0.6738672256, 0.534208715, -0.0226277206, 0.5790656209, 0.5987224579, 0.0094584236, 0.7065711617, -0.4226699471, 0.5794863105, 0.2170722485, -0.8661152124, -0.0440462194, -0.2716480494, 0.2236329615, 0.4460529983, 0.15377675, -1.0144753456, 0.1581922174, -0.2832565308, -0.7499708533, 0.6157548428, -0.198495701, 0.1122062877, 0.1072186902, 0.1734844297, 0.0575007983, 0.2125844061, -0.664124608, -0.0208095349, -0.2071665972, -0.3978769481, -0.233609587, -0.3489474952, -0.1026233807, -0.3127500713, 0.2805611789, -0.2418442965, 0.2342328131, -0.3666486442, -0.1054111347, -0.4175046086, 0.4410734475, 0.5102371573, 0.5472925305, -0.1652052701, 0.3439808488, 0.1351957917, 0.1409421265, 0.5663200021, -0.1904509366, 0.0630599633, -0.4019436836, 0.2904870808, 0.8673746586, 0.4788346589, -0.7331516147, 0.6805174351, 0.1985320151, -0.1036863402, -0.3539196551, -0.3324170709, 0.5212447047, 0.1829242408, 0.1107444316, -0.1516828835, -0.2233838737, -0.8305072784, -0.0478072464, 0.4731081426, -0.3732596636, -0.4211900532, 0.7574915886, 0.2396999002, -0.1534276903, 0.8484824896, -0.269600451, -0.7483696938, 0.2659273148, 0.2103663087, 0.6292165518, -0.3229854703, 0.3612345457, 0.0092727998, -0.0012939863, -0.1970095336, 0.28921175, 0.3271764815, -0.7018387914, -0.5753134489, -0.8823177814, -0.1766616255, 0.1226420626, -0.6332163811, 0.1131838784, -0.0166007541, 0.0778157562, 0.1312165856, -0.118260704, -0.6643612385, -0.1828224361, 0.0993877873, 0.480265379, -1.1569256783, 0.9859240651, 0.8119659424, -0.5196649432, -0.7210499644, -0.0162019432, 0.0715066716, -0.8116238117, 1.2762085199, -0.0229289513, 0.0044873781, -0.3305704594, -0.0862704217, -1.0126750469, 1.0154647827, 0.6882869005, -0.3575619161, 0.1540593803, 0.6513072252, 0.5624987483, -0.470268786, 0.2677320242, 0.5002564788, 0.6197214127, 0.1905311346, -0.8383271694, -0.1927936226, 0.1341391653, 0.3533020318, 0.5949031115, -0.7674383521, 0.9184001088, -0.2535755932, -0.0987737849, -0.2106059045, 0.7489972711, 0.1557835042, -0.3120289743, 0.4240394831, 0.5211553574, 0.86137712, 0.1338611245, 0.8262211084, -0.0248545222, 0.3353197277, 0.7947279215, -0.4494685531, 0.9601582885, 0.5011738539, -0.440613538, 0.1684625298, 0.8299493194, 0.2377378792, 0.2953785062, 0.4417396188, 0.0090142386, -0.5777063966, -0.2587471604, -0.0027622289, 0.4830124676, 0.0317281783, 0.0187028032, -0.2662007213, -0.0430626497, 0.1285620928, 0.3610950708, -0.05584912, 0.6158374548, -0.0115568768, -0.6091561913, 0.8006040454, 0.0270751566, 0.5174475312, -0.2763910294, -0.151201576, -0.2855860591, 0.3076025546, -0.1910447329, -0.9793234468, 0.1387293339, 0.0731417611, -0.3374666572, -0.4273421466, 0.0146436989, -0.7288858891, -0.62736094, 0.5744008422, 0.1811994314, 0.2954503596, -0.0879418626, -0.4448474944, 0.0562564023, -0.0795267448, -0.2729524076, 0.731148541, 0.5597278476, -0.6844547391, 0.5749896169, 0.4609993696, 0.1716109067, -0.0792243481, 0.3269950151, 0.5757389069, -0.6931843162, -0.2800820172, -0.6935817599, 0.4443007708, -0.0607758127, -0.4199144244, 0.4353247285, 0.4587870836, 0.8232371211, 0.1352388561, 0.7193797231, 0.2848109007, 0.4556495845, -0.3129969239, 0.6953580379, -0.5579761863, 0.2994502783, -0.086809054, -0.7614614964, -0.3497386277, 0.6797315478, -0.055777777, -0.0515876673, 0.3434709609, 0.387911886, -0.016352959, -0.415792793, 0.6147029996, 0.0268523823, 0.381457746, 0.4422770441, 0.8552576303, -0.0266666058, 0.1853736937, -0.0283807348, -0.4614397883, -0.4179464877, -0.9486302137, -0.8508139253, -0.6890607476, -0.0443268456, 0.0428317487, -0.2930476964, 1.3982150555, 0.7566856146, -0.8114600778, -0.732863009, 0.3786515296, -0.042476356, -0.3329644203, -0.1253363937, 0.535918951, -0.2322523892, -0.5123927593, 0.0787860751, 0.4274794161, 0.1960285604, -0.6583847404, -0.261465162, -0.1387142986, 0.1319188327, 0.6742459536, 0.21877563, -0.7732850909, -0.5430802107, -0.1037620381, -0.165579319, 0.2622873187, 0.750534296, -0.6413609385, 0.1160568297, 0.4117698967, 0.7921674848, 0.1827175319, -0.0569033735, 0.7253397703, -0.7616369128, 0.1837195158, 0.0799609125, 0.5493665934, 0.4818688035, -0.4644816816, 0.1321805865, -0.0684789568, -0.7175083756, -0.7271947861, 0.5238968134, -0.7520609498, -0.2701096535, 1.2205281258, -0.0854878724, -0.1663003415, 0.0044401204, -0.1549534351, 0.037730664, -0.5034922957, 0.8314898014, 0.6465593576, -0.0435012467, -0.1352401376, -0.6336004138, 0.4575280547, 0.4336729646, -1.0301789045, 0.697514832, 0.4011234343, 0.1425992996, -0.0117642563, 0.3986574411, -0.3515877724, -0.1746180058, -0.6658746004, 0.7485439777, 0.2447333485, -0.1711357981, -0.4619901478, -0.0211789627, 0.6474464536, -0.1068010181 ]
http://arxiv.org/abs/2404.07879v1
http://arxiv.org/pdf/2404.07879v1
Analyzing Toxicity in Deep Conversations: A Reddit Case Study
2024-04-11T16:10:44
2024-04-11T16:10:44
Vigneshwaran Shankaran, Rajesh Sharma
cs.CL
cs.CL, cs.CY, cs.SI
Online social media has become increasingly popular in recent years due to its ease of access and ability to connect with others. One of social media's main draws is its anonymity, allowing users to share their thoughts and opinions without fear of judgment or retribution. This anonymity has also made social media prone to harmful content, which requires moderation to ensure responsible and productive use. Several methods using artificial intelligence have been employed to detect harmful content. However, conversation and contextual analysis of hate speech are still understudied. Most promising works only analyze a single text at a time rather than the conversation supporting it. In this work, we employ a tree-based approach to understand how users behave concerning toxicity in public conversation settings. To this end, we collect both the posts and the comment sections of the top 100 posts from 8 Reddit communities that allow profanity, totaling over 1 million responses. We find that toxic comments increase the likelihood of subsequent toxic comments being produced in online conversations. Our analysis also shows that immediate context plays a vital role in shaping a response rather than the original post. We also study the effect of consensual profanity and observe overlapping similarities with non-consensual profanity in terms of user behavior and patterns.
[ -0.2386611402, -1.307481885, 0.5153976679, 0.2392528802, -0.3553064466, 0.0561353937, -0.1134183556, -0.6647585034, 0.1047187373, 0.4755155444, -0.5160012841, -0.5251877904, -0.8141798377, -0.0552824102, -0.7807056308, 1.1438481808, 0.3893322051, -0.2124976814, -0.0682646781, -0.2474277467, -0.5026086569, -0.7008474469, -0.9191490412, 0.1415768415, 0.8787817955, 0.3417725861, 0.6723259687, 0.397136569, 0.6340494156, 0.3987491131, -0.3525545299, -0.197619617, -0.9730407, 0.4671219587, -0.3847990632, -0.1014645547, -0.1434863061, -0.1779695004, 0.2318031341, 0.3347782493, 0.0453056097, 0.176667586, 0.0258034319, 0.3438130617, -0.5080510974, -0.1341350079, -0.7162888646, 0.2220398039, -0.3022044897, -0.2793259621, -0.1938814074, -0.4799604118, 0.1384837925, -0.4024864137, -0.0934489742, -0.2956314981, 0.5593789816, 0.185261637, -0.6293053031, -0.6401244402, -1.07627666, 0.8312746882, -0.7518063784, 0.106861271, 0.3443617225, 0.1053370535, 0.0998416841, -0.6469696164, -0.6106775403, -0.1812581122, -0.6257530451, -0.0036810632, -0.3118144274, 0.1359509379, 0.1489876062, 0.226141274, -0.2421706021, -0.0235397927, -0.4512812793, -0.1483028382, 0.9325328469, 0.3192880154, 0.6249628663, -0.1319964528, -0.1793179065, 0.0900563374, -0.2145219147, -0.2188325077, 0.3978689611, 0.0957930014, 0.0466532893, 0.3607092798, 0.124679625, 0.3073491752, -0.3188689351, 0.0503147319, -0.1024010703, -0.5222030878, 0.0502618887, -0.0090136295, 0.9148180485, 0.9755861759, 0.6824559569, 0.2415002286, 0.3222611845, 0.4316677749, 0.5332095623, -1.0008499622, -0.3708588779, 0.1144725308, -0.5163963437, -0.5380772948, -0.2537613213, -1.1459743977, -1.0830962658, 0.0111111607, 0.0827822834, -0.0679211915, -0.4479775131, -0.2778960764, -0.1279443204, -0.2329392731, 0.150894329, -0.5310232043, 0.3640313447, 0.4441770911, 0.8047710657, -0.2065867931, 0.0416240133, -0.1889157891, 0.1470521539, -0.1671636254, 0.611025691, -0.8545868993, -0.371955514, 0.2976083755, -0.0971924216, 0.3261045814, -0.5137717724, 1.0410984755, -0.4106775224, 0.2752044201, -0.2102690637, -0.2407972664, -0.5174329281, 0.3855026066, -0.2874858975, 0.5066617727, -0.2028097063, -1.0422033072, 0.1952600926, -0.7814559937, -0.7396782041, 0.1621053815, -0.1132838801, -0.4066864252, -0.0797075778, -0.1935662478, 0.3467719257, 0.2431481332, 0.0396079719, -0.5229138732, -0.3572202027, 0.3931876421, -0.452455759, 0.6939728856, 0.4235274792, -0.5676528811, 0.426034987, -0.2430209965, -0.1271804571, 0.047506053, -0.1683880836, -0.7691414356, 0.2976987958, 0.0650730059, 0.2518221438, -0.1799502075, -0.6652007699, -0.6087210774, -0.4840389788, 0.8995605111, 0.5314743519, 0.5501149297, 0.0535517, -0.3327147365, 0.1446095705, 0.2038394362, 0.5187433362, 0.153715834, -0.2991171777, -0.5506557822, 0.2892426848, -0.2957004309, 0.3861342371, -0.1929692924, 0.0886562616, -0.0146373138, -0.468562454, -0.2708521783, -0.0302769467, 0.5313577652, 0.4190166891, 0.4180273116, -0.6014957428, -0.5637466311, -0.9016510844, -0.402467221, -0.2991692126, 0.0471380726, 0.6986502409, 0.2122926116, -0.3243524432, 0.6728859544, -0.5226805806, -0.5545346737, 0.2521033883, 0.1810522377, -0.2295299619, 0.3558157682, 0.5093801618, -0.7491349578, -0.8155882955, 0.0566595308, -0.6121062636, -0.0536411963, -0.0089143598, -0.2626928687, -0.2179761678, 0.5549656749, -0.3030014932, 0.3733876944, 0.4446524978, -0.3710228503, 0.1983408034, 0.1675387919, 0.4487519562, -0.6399052739, 0.1257366687, 0.0786648989, 0.1581255049, -1.0528026819, -0.1091610491, -0.5910651684, -0.0202831682, -0.6476233006, 0.2967056334, -0.0461578593, 0.2840106785, -0.1460670531, 0.271740973, -0.1739345044, 0.3266972601, 0.0240796413, 0.6095634103, 0.1919648498, -0.5128586292, 0.16414617, 0.25270769, -0.1955051571, 0.5028432608, -0.4697322547, 0.1529720873, -0.3952269256, 0.2392660379, -0.9678441286, -0.3064109683, 0.4893584847, -0.5625065565, -0.3175399601, 0.0497796237, -0.3236168325, -0.3319005966, -0.4446853995, 0.5229640603, 0.1200654879, -0.005600011, 0.2520041466, 0.9209036231, -0.4520660043, -0.39695099, -0.6123006344, 0.1496071368, -0.5997849107, -0.4689103663, 0.1678357273, -0.4110732973, -0.7387315035, -0.1304498613, 0.0643661991, -0.3259194493, 0.3229970336, 0.3214453161, -0.4416969419, 0.1591669023, 0.1698754728, 0.1748132259, 0.3443714976, 0.6131557822, 0.6324936748, 0.616823256, -0.1567700058, 0.1669534594, -0.6120141745, 0.6196029782, 0.7524617314, -0.0268362891, 0.6251016259, 0.3612546027, -0.3636140227, -0.1373572201, -0.3227877021, -0.4601100981, -0.4949088693, 0.362555027, 0.2949826419, -0.8930037618, 0.4539689124, 0.0612565354, 0.1922036111, 0.1382523924, 0.6359593868, -0.3379175961, 1.1466010809, 0.2853395343, 0.0523202643, 0.6846066713, 0.1110192016, 0.4056617618, -0.2136958539, -0.1659763455, -0.2789561749, -0.406524837, -0.4276930094, -0.1034772694, 0.2448656708, -0.2422618866, -0.5008718371, 0.1558211446, -0.7142803073, 0.7433153987, 0.2176814079, 0.1885424703, 0.448099792, 0.0701676682, 0.3141753078, -0.2688552737, -0.3127179146, -0.5511153936, 0.5498094559, 0.5623127222, 0.4409368038, 0.3054087758, 0.2078707069, 0.695146203, 0.8247998953, -0.7243098021, 0.5485922694, -0.2053913474, -1.1497377157, -0.2950106263, -0.3122769594, -0.9326624274, 0.1670356393, -0.4030728638, -0.6701946259, -0.1791408062, 0.1398515552, -0.6433443427, 0.2504745126, -0.8010548949, 0.7744912505, -0.2537112534, -0.5949960351, -0.3960569501, -0.873121202, 0.5811644793, -0.0125112589, 0.6438471675, -0.0754202232, 0.2476986796, 0.9278849363, -0.0418137014, 1.1389644146, -0.1518965364, -0.1643107086, 0.6013929248, 0.1787388921, 0.0710676014, 0.0912838504, 0.0447028689, 0.2125046551, 0.0339450501, -0.0361464098, -0.2624920607, 0.8424866796, -0.7483525872, -0.483173877, -0.1480165124, -0.2031221241, -0.1618323475, 0.2939985096, 0.055791568, 0.02882245, -0.2855698764, 0.3099592626, 0.6754118204, -0.4990423024, 0.3159188926, 0.2619761825, -0.100477621, -0.2467784286, 0.8403833508, 0.0011113103, 0.1228439659, 0.0243830178, 0.6398336887, -0.1583214104, -0.6258645654, -0.0989686772, 0.3200153112, -0.7001655698, -0.1841527671, -0.6779767275, -0.2692327797, -0.2997522652, -0.1248483583, -0.0816560686, 0.1155479997, -0.2277650237, -0.2196459472, 0.3055207729, 0.9975513816, 0.0975036621, 0.4720085263, -0.8137627244, -0.2104074955, 0.6039298177, 0.4612867534, 0.2613296211, -0.3303364813, 0.1973864138, 0.1352520734, -0.3935297132, -1.279740572, 0.3743677437, 0.0536227264, 0.1423766166, 0.5930090547, 0.3611667752, 0.6631464362, -0.2081193328, 0.7581298351, -0.0177156478, -0.5770453215, 0.6484776139, -0.5850842595, -0.167435661, 0.7955052853, 0.6692525148, -1.103394866, -0.793158114, -0.5401201248, -0.8068149686, 0.3748792708, 0.3895861208, 0.8510105014, -0.3116799593, 0.130095914, 0.0366815999, 0.2454453111, -0.8735265136, -0.4124308825, -0.215174064, -0.0635584742, 0.1305634826, -0.5475184321, -0.6360898614, -0.3409363627, 0.4374252856, 0.3520712852, 0.1047775224, 0.0067309453, -0.1059927344, -0.3538418114, 0.3414191902, 0.8883641958, 0.4809986949, -0.2235899568, 0.3640946448, 0.2128892541, -0.6227378249, -0.1628758013, -0.4426158965, -0.1179918423, -0.2096120715, 0.258864522, 0.394697696, 0.2319016159, -0.760730803, 0.7281179428, -0.1561424881, -0.0971161649, -0.2989350855, 0.0820953175, 0.2134548128, 0.2036397904, -0.0142716058, -0.1330630034, 0.230101943, -0.8392007351, 0.5238533616, 0.3473663032, -0.6750041842, -0.2650875747, 0.6762260795, 0.6920876503, -0.4190729558, 0.4125675261, 0.0727434307, -0.5496279597, 0.2648590803, 0.2213375717, 0.5886287689, -0.1600483358, 0.4099576473, 0.6443242431, 0.1191378832, 0.7455376387, -0.064361304, -0.001293266, -0.6964603662, -0.2199959606, -0.6958193779, -0.2020447105, 0.643971324, -0.1517370939, -0.1751936376, -0.8224239349, -0.2604467571, 0.1068435758, 0.0847987905, -0.1549345404, 0.1845036596, 0.1991766542, 0.3257252574, -1.2633953094, 0.366912663, 0.4022862911, -0.4095939696, -0.3065191507, 0.2248134762, 0.289026469, -0.5881333947, 0.3885228634, 0.3034182191, -0.2351244986, 0.0228227582, -0.671611011, -0.5536577702, 0.655192852, -0.0087236706, -0.3411796689, 0.2469814122, 0.225322023, 1.1495341063, 0.0064901211, 0.444250226, 0.642873466, 0.3964252472, 0.1965542287, -0.5286790133, 0.2320341766, -0.2623842359, -0.0481186882, 0.2163069397, -0.6732344627, 0.5148081183, 0.1068789363, -0.9490712285, -0.2582889199, 0.5539348125, -0.0184055101, 0.3683508635, 0.5810560584, 0.1502503753, 0.4841425717, 0.3433920145, 0.5714128017, -0.2437541932, 0.2816776931, 1.0367697477, -0.0253702328, 0.8459580541, 0.377466917, -0.0344741233, 0.6060256362, 0.472260952, 0.1938503832, 0.3329800665, 0.5362282991, -0.6587320566, -0.0624111071, -0.5612401366, -0.3428940773, 0.1958075613, 0.5077789426, -0.5633741021, -0.3586142063, -0.043863602, 0.584857583, 0.5827736259, -0.3426197767, 0.9492518306, -0.0008863598, -0.6451290846, 0.0667731762, -0.057902012, 0.8530809283, -0.2274870425, -0.0404684395, -0.3792999387, 0.1576232761, -0.4698195755, -1.0985697508, 0.7848953605, 0.0926358998, 0.3767675459, -0.2560550869, 1.0051816702, -0.5052503347, -0.108437255, 0.4433154166, 0.307094276, 0.2761529088, -0.1426517069, -0.7585737705, 0.1669247597, -0.2212938815, -0.1011501774, 0.3062188029, 0.3251487911, -0.1500240564, 0.5018084049, 0.6221534014, -0.2165088058, 0.075639829, 0.0064740656, 0.9683302045, -0.4741253257, -0.1595433801, -1.0332152843, 0.5028392673, -0.4623829126, -0.5504992008, 0.7436609864, 0.2864225507, 0.8890483379, 0.223093152, 0.508267343, -0.1518181115, 0.627636373, 0.1159787625, 1.2883456945, -0.2415016145, 0.0040051718, -0.4423922598, -0.7047078609, -0.7334695458, 0.7182255983, -0.3986181915, -0.0801534876, 0.5745742917, 0.8729744554, 0.1896637976, 0.2018845081, 0.2507345974, 0.7046049237, 0.3250334263, 0.284247458, 1.0475800037, -0.1313180923, 0.9215289354, -0.3541334271, -0.1768268645, -0.1546446979, -0.7093559504, -0.8925666213, -0.394567132, -0.2824454904, -0.3408112824, 0.0291140378, 0.3686744273, 0.3197148144, -0.8264053464, -0.1915090978, -0.1653314978, 0.2568745911, -0.0216341037, -0.3515957594, -0.0074158111, 0.0634246543, -0.7092084885, 0.1200923026, 0.1472866833, -0.2200772166, -0.1865077764, -0.0091676312, -0.3515912294, 0.2504527867, 1.1101346016, 0.2201969624, -0.5058845878, -0.7216064334, -0.238372609, -0.10298343, 0.0565673634, 0.7814512849, -0.3132399023, 0.433798641, 0.6261076331, 0.3588790894, 0.3865073025, 0.378867805, 0.2527074516, -0.7745590806, -0.4225753546, 0.5317510366, -0.2899101675, 0.155658856, -0.4209269583, 0.2188526839, 0.3540426493, -0.5616621375, -0.8871395588, 0.3328579366, -0.8029749393, -0.5913375616, 1.3121358156, 0.160055995, -0.0372639745, -0.3653080165, -0.5526379943, 0.2980620265, -0.6022104621, 1.0560946465, 0.8123007417, -0.1633809805, -0.0751954243, -0.6823471785, 0.8173501492, 0.2032140046, -1.029530406, 0.4888470173, 0.5880300403, 0.3144289553, 0.330928117, 0.791682899, -0.0698967874, -0.0432266109, -0.1715481132, -0.4136044681, 0.3420698941, -0.3013647497, -0.1532366276, 0.5868987441, -0.2091876864, 0.0936637148 ]
http://arxiv.org/abs/2404.07851v1
http://arxiv.org/pdf/2404.07851v1
Guiding Large Language Models to Post-Edit Machine Translation with Error Annotations
2024-04-11T15:47:10
2024-04-11T15:47:10
Dayeon Ki, Marine Carpuat
cs.CL
cs.CL, cs.AI
Machine Translation (MT) remains one of the last NLP tasks where large language models (LLMs) have not yet replaced dedicated supervised systems. This work exploits the complementary strengths of LLMs and supervised MT by guiding LLMs to automatically post-edit MT with external feedback on its quality, derived from Multidimensional Quality Metric (MQM) annotations. Working with LLaMA-2 models, we consider prompting strategies varying the nature of feedback provided and then fine-tune the LLM to improve its ability to exploit the provided guidance. Through experiments on Chinese-English, English-German, and English-Russian MQM data, we demonstrate that prompting LLMs to post-edit MT improves TER, BLEU and COMET scores, although the benefits of fine-grained feedback are not clear. Fine-tuning helps integrate fine-grained feedback more effectively and further improves translation quality based on both automatic and human evaluation.
[ -0.2051974982, -0.5627430677, 0.6644976735, 0.3153876066, -0.4066048265, 0.0429016091, -0.5738657117, -0.2798760235, 0.1243530214, 0.7177750468, -0.464931041, -0.5836142898, -0.8278856277, 0.5281444788, -0.0986520201, 1.2187244892, -0.3256630599, 0.2668854892, 0.1484003067, -0.0448889062, -0.6916954517, -0.5674571395, -0.7173014879, -0.2790288329, 0.9182389379, 0.4368188679, 1.0484449863, 0.6842826605, 0.5610656142, 0.2174999565, -0.1415252984, 0.9265368581, -0.1802384108, 0.0149724549, -0.1986661255, -0.6606301665, -0.8074139357, -0.0601020977, 0.6765790582, 0.6600955129, -0.0073361499, 0.2555340528, 0.5637003779, 0.5878198147, -0.2404988557, 0.1372653693, -0.5202035308, 0.0246965494, -0.1417304873, -0.4320386648, -0.6202178597, -0.3280871809, -0.3214775324, -0.5846154094, -0.1822896898, 0.0813165829, 0.8053156137, 0.6916329265, -0.3264361024, -0.1145645455, -0.6857457757, 0.7815306783, -0.7927188873, 0.2574147582, 0.6163386703, 0.0440490097, -0.4167754948, -0.2583050728, -0.3667413294, -0.1249001771, -0.2129071802, 0.0580337793, 0.0178731065, 0.0225427262, 0.1346600503, 0.1460885555, -0.2163038254, 0.5038067102, -0.2322056442, -0.1378221661, 0.5481284261, 0.1590732187, -0.0136139691, -0.0905644521, 0.0494885221, -0.1339388788, -0.795971334, 0.1314448714, 0.2818884254, 0.4298154712, -0.1021906957, 0.8194065094, -0.3031076789, 0.6073619127, 0.0709505379, -0.0047437665, 0.2739171088, -0.3066521883, -0.1981372535, -0.2505460083, 0.9051174521, 0.8022895455, 0.1472399533, -0.1205153316, -0.6308764219, -0.2219054103, 0.1806186587, -0.5608403683, -0.1916803718, 0.2814432979, -0.5315770507, -0.2137369066, -0.0060232948, -0.5510692, -0.46414572, -0.6204715371, 0.5493258834, -0.2310719788, 0.0160092302, 0.1022316515, 0.1042057648, -0.0656413585, 0.8114923239, -0.9411993623, -0.1270456463, 0.6632773876, 0.9224722981, 0.0096995775, -0.4070959389, -1.152074337, 0.1725232899, -0.6885154247, 0.7577905059, -0.4572912753, -0.2750707269, 0.026016254, 0.2314728647, 0.1679717898, -0.609841466, 0.6180045009, -0.4697592854, 0.1699533165, -0.4143973887, -0.2242187858, -0.3315437138, 0.3593462408, -0.3066629767, 0.9988051057, 0.1330066025, -0.5098692179, 0.4046074748, -0.6325269938, -0.37063393, -0.1369615942, 0.27156353, -0.3795375824, 0.5735929012, 0.6452764273, 0.5454224348, -0.1681288332, 0.3724794388, -0.1923283488, -0.161842823, 0.2040845007, -0.21775271, 0.3046223521, 0.0215968955, -0.0853206813, 0.5452712178, -0.6174658537, -0.0418597199, -0.1067486331, -0.6998959184, -0.1375229657, 0.0056273881, -0.1255440116, 0.3832007945, 0.0893859118, -0.1912209988, 0.5141295791, -0.2700819671, 0.3987969756, 0.6794862747, -0.0773338005, 0.2778477371, -0.3890366852, 0.4341914058, -0.0543497987, 0.1375800818, -0.3584726751, -0.4889562428, -0.7811483145, 0.027911365, 0.5415238738, 0.6284386516, -0.9517352581, 0.5015823841, -0.202087149, -0.3548264205, -1.0569933653, 0.6030198336, 0.3007661998, 0.1210832521, 0.615989089, -0.3520676196, -0.4649150968, -0.6391277909, -0.058738295, -0.0968472958, -0.2691173851, 0.0224766266, 0.3831090927, -0.591715157, 0.3616682887, -0.028112866, -0.4291637838, -0.1396159828, 0.1677947193, 0.1746055931, 0.5710304976, 0.1129231378, -0.2980094254, -0.3616804481, 0.1646918952, -0.5649999976, -0.4323005974, -0.2368695885, -0.2582501173, 0.2329889387, 0.462002635, -0.619972527, 0.0810556263, 0.7733052373, -0.052539248, 0.6116064787, -0.5555400848, 0.4958994687, -0.9685596824, -0.1709130406, -0.1655341238, -0.3081136942, -0.3263781667, 0.024519762, 0.1078508422, 0.4032754898, -0.3064928651, 0.234473139, -0.1755361855, -0.0406352729, -0.4967350364, 0.3494835496, 0.112537384, 0.3322587311, -0.0175355542, 0.5634857416, 0.2051276565, -0.5616149306, 0.3390521705, 0.3360943794, -0.1081286743, 0.624861598, -0.6153103113, 0.1239714921, -0.1078203246, 0.3764863014, -0.9518622756, -0.3897881806, 0.2886410356, -0.4792411625, 0.3567405939, -0.2446330935, -0.9625188112, -0.2282194793, -0.2892196476, -0.1274865121, 0.2016055435, -0.5586504936, 0.3153067231, 0.0272642002, -0.223633945, -0.2727760077, -0.8289418817, 0.4045157135, -0.0718925297, -0.4647365212, 0.1162310392, -0.0071418905, -0.2057119906, -0.1822285354, 0.3661799729, 0.1632804126, 0.2778893709, 0.2819467187, 0.2541230023, -0.2133021504, 0.2702891529, 0.3807319403, -0.3938252032, -0.0222570766, -0.4406490028, 0.4252584577, 0.1150967628, -0.2139669061, -0.7356230021, 0.1236728504, 0.4075242281, -0.4235996008, 0.7632928491, 0.7507835031, -0.2703554332, -0.0073624668, -0.5114803314, -0.4199376106, -0.3552066386, 0.2299270332, -0.3482818604, -1.0135452747, 0.3013032675, -0.0873472393, 0.3298375905, 0.6230614185, 0.6998309493, -0.3583019674, 1.3869735003, 0.517659843, 0.0201977566, 0.2862919569, -0.0744011477, -0.0741488934, -1.1617882252, 0.0137493527, -0.5539799929, -0.451796174, -0.5979759693, -0.5190346241, 0.2437855303, 0.463391453, -0.029542597, 0.1987322271, -0.3265115321, 0.2834922373, 0.6064327359, 0.1168620735, 0.3987639248, -0.1406159997, -0.1799906939, -0.2315006107, -0.6428126097, -0.8197475076, 0.9479650259, 0.5231101513, 0.5382167101, -0.0189171042, 0.5644985437, 0.0364086889, 0.5255406499, -0.607809782, 0.1290961057, -0.2495267987, -0.2460336983, -0.1575156003, -0.4328438044, -0.6738592386, 0.3652274013, -0.4048133194, -0.5319033265, -0.2751327753, 0.5455325246, -0.6301486492, 0.2346414626, -0.642858088, 0.8478440642, -0.3187490106, -0.2093200386, -0.2726897895, -0.6160572767, 0.2601675689, -0.3761672378, 0.5321495533, -0.0558898859, -0.1666547656, 0.5317764878, -0.4431527853, 0.8403437734, -0.1536053121, -0.3559096456, 0.1215633526, 0.3255060613, 0.82632339, 0.0003724763, -0.1573423296, 0.0306246374, -0.0567692704, -0.1603971571, -0.531041503, 0.4817721248, -0.7084115744, -0.6974540949, 0.197162047, -0.5332304835, -0.151099354, 0.1553240567, 0.2707458138, 0.0839471817, 0.5222631097, 0.2913279235, 0.3429492712, -0.4109647572, 0.2673140764, 0.4890912771, -0.5340511799, -0.5142036676, 0.6633552909, 0.246819824, 0.3441957831, 0.3493865728, 0.3864942789, -0.2256690711, -0.8447538614, -0.9289208651, 0.2208079398, -0.6205257773, -0.4244551063, -0.6336221099, 0.090448156, -0.0667102635, -0.1675775796, -0.4123802781, -0.2918596864, -0.3500611186, -0.2394974083, 0.4604101777, 0.8371935487, -0.1965499967, 0.7867574096, -1.2548162937, 0.0423822403, -0.0833695456, 0.3352228403, -0.1672338396, -0.9762994051, -0.5824816227, 0.2005395144, -0.3244549334, -0.627540946, 0.3183903992, 0.0464429855, 0.153452754, 0.0789104626, -0.1919445246, 0.6739475727, -0.5492326021, 0.9835700393, -0.0495889112, -0.9038943648, 0.7707045078, -0.416156888, 0.5017948151, 0.3201442957, 0.1128655374, -0.660738647, -0.7677605152, -0.1511124969, -0.6317065358, 0.5912514329, -0.1156970188, 0.1122346818, 0.0816998109, 0.49621889, 0.2057659775, 0.3119156659, -0.7581005096, 0.0207407679, -0.0040487298, -0.1809536815, -0.2067655474, -0.265262723, -0.0347878411, -0.0498343073, 0.8177984953, -0.2437456697, -0.3625923395, 0.2153078616, -0.2382636964, -0.574573338, 0.2602113485, 0.6700852513, 0.5919641852, -0.0182456262, 0.220087707, 0.5382743478, 0.0506952368, 0.0900965258, -0.0693887174, -0.3281781077, 0.0220620334, 0.4539607465, 0.7069456577, 0.0520073362, -0.2767975032, 0.1221896112, 0.0413619019, -0.1217509806, 0.1939727366, -0.028656844, -0.0379794501, 0.348400712, 0.2080422938, 0.1789343953, -0.1211890057, -0.1574791223, 0.1399223953, 0.2687698007, -0.5269418359, -0.4099994004, 0.8065365553, 0.1518039554, -0.4188973606, 0.2418815941, -0.2188016474, -0.5861341953, 0.0132684652, 0.2096467018, 0.5047552586, -0.3861859143, 0.0904080123, 0.3897279501, 0.7338032126, -0.401963532, 0.0760719478, 0.2567265332, -0.3766061962, -1.1177197695, -0.6245440841, -0.4876312912, 0.0128881643, -0.3678895235, 0.4800842702, -0.4122957885, -0.2873408496, -0.1158733219, -0.1568333954, -0.6091688871, 0.3383023143, 0.1182864979, 0.6007448435, -0.5651947856, 0.9281541109, 0.5972743034, -0.4763881862, -0.8471879363, -0.1726468354, 0.140216887, -0.6585745215, 0.7046213746, 0.2096193433, -0.1127403304, -0.0186374057, -0.3868929744, -0.7939665318, 0.6307370663, 0.3215905726, -0.8174647093, 0.2046844959, 0.2019664347, 0.6583726406, -0.1516157538, 0.2246562541, 0.5627806783, 0.7164897919, -0.2070517242, -1.1348706484, -0.0673929676, 0.0537334122, -0.0266041197, 0.2877957821, -0.5705169439, 0.5000186563, -0.2601076066, 0.1481752247, 0.0772396624, 0.6450666785, -0.1097917035, 0.0043522413, 0.5367922187, 0.4970759749, 0.6966702342, -0.2521823049, 1.078263998, -0.0882968605, 0.0698209628, 1.2937449217, 0.0614991635, 1.2224771976, 0.5659025908, -0.0946626365, 0.2563148141, 0.894071877, -0.0438273735, 0.1847756654, 0.2320296168, 0.2907971144, -0.1676877886, -0.3006440997, -0.2943871319, 0.3218657374, 0.4394402802, -0.5477861166, 0.0620331615, 0.0084677823, 0.167639479, 0.0683295429, -0.486145556, 0.8291009665, 0.1584799439, -0.9216095805, 0.5386829972, 0.2374695241, 0.6837752461, -0.2912046611, -0.0265836492, -0.2346087545, 0.0987099335, -0.5083730817, -0.884514451, 0.5628572106, 0.128034994, -0.2720564306, -0.2445046753, 0.0861730948, -0.6448420286, -0.5418695211, 0.454372704, 0.4055503309, 0.0624050274, -0.2529640198, -0.4720606208, 0.305868566, 0.0481152907, -0.1886312068, 0.0583048053, 0.676325202, -0.1038470566, 0.5023388267, 0.8042605519, 0.3645664454, -0.0315240696, 0.1995677799, 0.525414288, -0.5288833976, -0.2076360136, -1.0751982927, 0.7238399982, 0.2187262177, -0.2989705205, 0.8392142057, 0.2516321838, 1.0381062031, -0.0215653274, 0.6383505464, 0.4457779527, 0.5987374783, -0.7063549757, 0.4255060554, -0.6444414854, 0.2752113044, -0.1878267974, -1.1344704628, -0.7740243077, 0.3993209004, -0.3340348601, -0.2210553735, 0.5165998936, 0.8025076985, 0.1864508837, -0.3221219778, 0.2544432878, 0.3555681407, 0.4657758474, 0.3716782928, 0.8905372024, -0.3746473491, 0.6364687681, -0.0415090956, -0.113174051, -0.4560129344, -0.7853475213, -0.7275905013, -0.272883445, -0.5104634166, -0.5252190232, -0.0661911145, 1.2744704485, 0.6452404261, -0.9061818719, -0.0622884221, 0.2727139592, 0.1662558764, -0.1737545431, -0.1022884101, 0.3091885149, -0.7064944506, -0.6997868419, 0.2912808657, 0.4637559652, 0.1565185636, -0.1407018304, -0.2732488513, 0.1904481053, -0.131366834, 0.7052466273, -0.3278201818, -1.0206019878, -0.4621319771, -0.2691889405, -0.2698913813, 0.189812243, 0.5210745335, -0.1818849295, 0.514134407, 0.2530816197, 0.7586849928, 0.0553176403, -0.0715853646, 0.8369777203, -0.6518464684, 0.0250230115, -0.0796378404, 0.489902854, 0.7178442478, -0.2697610259, 0.4835375547, -0.0474937521, -0.6897761822, -0.6856880188, -0.102396898, -0.4811682105, 0.0187844709, 1.2702393532, -0.2375732511, -0.0890980512, 0.108962968, -0.7330272198, 0.3442740738, -0.2480985075, 0.84098351, 0.9834868908, 0.2294655144, -0.3985921443, -0.829929471, 0.6370580196, 0.5956340432, -0.8415631652, 0.1205274165, 0.490231663, -0.1865256429, 0.1109675616, 0.1729276776, -0.0498959385, 0.3130345643, -0.4095028043, -0.0474432632, -0.0135219898, -0.3697820306, -0.5550393462, -0.2582514882, 0.5601884127, -0.0548378006 ]
http://arxiv.org/abs/2404.07840v2
http://arxiv.org/pdf/2404.07840v2
On Training Data Influence of GPT Models
2024-04-11T15:27:56
2024-04-16T10:05:27
Qingyi Liu, Yekun Chai, Shuohuan Wang, Yu Sun, Qiwei Peng, Keze Wang, Hua Wu
cs.CL
cs.CL, cs.LG
Amidst the rapid advancements in generative language models, the investigation of how training data shapes the performance of GPT models is still emerging. This paper presents GPTfluence, a novel approach that leverages a featurized simulation to assess the impact of training examples on the training dynamics of GPT models. Our approach not only traces the influence of individual training instances on performance trajectories, such as loss and other key metrics, on targeted test points but also enables a comprehensive comparison with existing methods across various training scenarios in GPT models, ranging from 14 million to 2.8 billion parameters, across a range of downstream tasks. Contrary to earlier methods that struggle with generalization to new data, GPTfluence introduces a parameterized simulation of training dynamics, demonstrating robust generalization capabilities to unseen training data. This adaptability is evident across both fine-tuning and instruction-tuning scenarios, spanning tasks in natural language understanding and generation. We will make our code and data publicly available.
[ -0.1998293251, -1.0081771612, 0.4305306971, 0.0441260599, 0.075156495, -0.0405551903, -0.1692404598, -0.2837601006, -0.4164815545, 0.2192977965, -0.3789033592, -0.1879748255, -0.5892718434, -0.280081749, -0.4801748693, 1.4080379009, -0.1383876204, 0.033192154, -0.255936861, -0.1071077213, -0.3672166467, -0.7874534726, -0.5094474554, -0.4004275799, 0.1879501194, -0.2148135155, 0.6561985016, 0.3946128488, 0.1696772277, 0.2794364095, 0.080970794, -0.4398030043, -0.8159519434, -0.0544750765, -0.0911061093, -0.6838455796, 0.0274352357, 0.2839930058, 1.064602375, 0.5321820974, -0.3322803676, -0.079641819, 0.4172578752, 0.3075849116, -0.3579009771, 0.4964370131, -0.5779643655, 0.0131481821, -0.0152474558, -0.1127012968, -0.1898642629, -0.3220135272, 0.4314198792, -0.5107632279, 0.9584419131, -0.2376058847, 0.6795427799, 0.2149734199, -0.1908936352, -0.1698924452, -0.9427663684, 0.5743433237, -0.4781061113, 0.7522257566, 0.1642771065, 0.3020407557, -0.3334406018, -0.8903474212, -0.3686664402, -0.4934717715, -0.0254581571, 0.0816536248, 0.0608314313, 0.3245442212, 0.4516506791, 0.522537291, -0.5388393402, -0.230717048, -0.3419029713, 0.0327966996, 0.4163610041, 0.1559478641, 0.3604722321, 0.3456927836, -0.0555359088, -0.372264713, -0.5046080351, 0.2019157112, 0.4592250586, 0.3953045905, -0.2838184536, 0.2224077582, -0.2341060787, 0.5494378209, -0.10786549, 0.0480816588, -0.062179666, -0.3341811001, -0.5032842755, -0.1224156767, 0.7307624817, -0.0168762244, 0.1630260199, -0.7013685107, 0.0575616434, -0.0823815539, 0.4806587398, -1.0770363808, -0.7356217504, -0.3343160152, -0.0557558872, -0.3515401483, 0.0338455327, -0.6973050833, -0.3090907037, -0.3468719721, 0.4103288054, -0.6105970144, -0.3214378059, 0.1085424051, -0.0092560966, 0.2544878125, 0.322503984, -1.2571913004, 0.2063600123, 0.9006632566, 0.9332447648, 0.0468047597, -0.5329222083, -0.5693506002, 0.1186207533, -0.1016683877, 0.5235326886, -0.7584002614, -0.4697591662, -0.1522739232, 0.041182816, -0.5759485364, -0.2476365119, 0.430771172, -0.4502270818, 0.1865133494, -0.2528949082, -0.8109164238, -0.3090424836, 0.0873624682, -0.7610579133, 1.0407538414, 0.2541951835, -0.6617797613, 0.8377844691, -0.8001976013, -0.3679794669, 0.1551655829, -0.4802547693, -0.535513103, 0.5156525373, 0.0782157183, 0.416334033, -0.1194012687, 0.3608929217, -0.3594079912, -0.3299539983, -0.1187219843, -0.6065095067, 0.4785471559, -0.1696987301, -0.4371543229, -0.03437756, -0.7527603507, 0.0771781802, 0.0383310542, -0.3973387182, -0.2844614983, 0.1106862426, 0.0100986576, 0.0300791729, -0.4134515822, -0.3120004237, 0.4756076336, -0.2852198482, 0.3640762866, 0.5400522947, 0.2930228412, 0.2441378236, -0.0346075408, 0.8494258523, -0.2961019576, 0.1347320676, 0.1641881466, -0.7051689625, -0.2252461165, -0.0767288655, 0.4620766044, 0.1906069368, -0.6453054547, -0.3376307487, -0.3364057541, -0.2828974724, -0.4569498301, 0.1924740374, 0.1603004336, 0.4947158992, 0.2676072717, -0.1044191495, -0.3382149935, -0.62320292, -0.3024125099, -0.3286221623, -0.1082123667, -0.009570553, 0.5172076225, 0.0236600917, 0.8955084085, -0.2348825932, 0.1591270417, -0.2992204726, 0.5030866265, -0.0781779289, 0.6740691066, 0.9307702184, -0.5692640543, -0.2004857957, -0.0704850107, -0.5974981785, 0.2130628526, -0.3553202748, -0.0825319514, -0.0743351281, 0.1665056348, -0.3286848068, 0.395650208, 0.7956385612, -0.3715272248, 0.6780723929, -0.2687541842, 0.3511942625, -0.6828393936, 0.0782527849, 0.0127367834, 0.1113002822, -0.8094614148, 0.1758900732, -0.0498646833, -0.0914978608, -0.2144461423, 0.1612032801, -0.2544089258, 0.005839278, 0.0627075732, -0.5051876307, -0.0660223141, 0.2914010584, 0.0157706589, 1.3626601696, 0.5789211988, -0.4109034836, 0.1321709752, 0.2400442213, -0.5302283764, 0.2308942974, -0.6828999519, 0.2346401066, -0.0017032595, -0.0065867268, -0.9056645036, -0.2849117517, -0.0036191489, -0.2222803533, 0.3453043699, -0.7308258414, -0.6775800586, -0.1247094944, -0.0501695871, 0.3544600904, 0.4000464678, -0.5448938012, 0.5583998561, 0.0413442664, -0.0225593057, -0.1733546257, -0.5356505513, 0.065978758, -0.4491348863, -0.444227308, 0.037386667, -0.0254138019, 0.1536131203, -0.280683428, 0.0183564387, -0.1088225618, 0.5187619925, 0.3012524247, 0.1292536557, -0.2889818549, 0.2352036089, 0.0401684195, 0.2335803062, 0.3336912096, -0.4441820085, 0.5339902043, -0.4124003351, -0.3819311857, -0.3540819287, -0.0005329198, 0.3878284395, -0.0472827405, 1.0608978271, 0.7576672435, -0.1424148381, -0.3410059214, -0.3372460306, -0.1109586135, -0.5045279264, 0.6565701962, -0.2842743993, -0.7761053443, 0.5105682015, 0.1040859297, -0.0489932857, 0.1822204441, 0.5829131007, 0.1106003821, 1.1221323013, 0.762460649, -0.358561933, 0.7217352986, -0.4719241261, -0.022587467, -0.5309216976, -0.1244349107, -0.2254342884, -0.1741795093, -0.6194421053, -0.4254825711, 0.2004363835, 0.4426698387, -0.0451120809, 0.1137854084, -0.3078187704, 0.4821104109, 0.322694689, -0.0590043031, 0.233422488, 0.0818826854, -0.1359137744, -0.0966680646, -0.7522292137, -0.3483510613, 1.2564690113, 0.3064226508, 0.7241848707, -0.0212235693, 0.4169218242, 0.0778289735, 0.7822475433, -0.6663228273, 0.2693917751, 0.0513417423, -0.4482306242, -0.2530472577, -0.6394415498, -0.8053130507, 0.0939581692, -0.0858494714, -0.7987047434, -0.2413508147, 0.2672418654, -0.161047861, 0.4921339154, -0.7878759503, 0.9689887762, -0.328315258, -0.4252144992, -0.0505398773, -0.1953613162, 0.3452889025, -0.0527335741, -0.2166695595, -0.0386378542, 0.1928724349, 0.7706264853, -0.356661886, 0.7984377742, -0.4432819486, -0.2441882938, 0.2052091956, -0.0681061149, 0.6867709756, 0.2080715597, -0.0813664272, 0.1104903594, -0.0128279626, -0.3321369886, -0.9931384921, 0.5594171286, -0.5748134255, -0.4410458505, 0.0964137316, -0.7751269341, -0.7268339992, 0.0026179072, 0.2378506362, 0.5302020311, -0.4553260505, 0.0904223025, 0.5087938905, -0.0023600322, 0.2557109594, 0.2240020484, -0.1322603673, -0.2659684718, 1.0090417862, 0.1668860465, 0.4073959291, 0.0923470408, 0.32507357, -0.4279865026, -0.9718902707, -0.6286356449, 0.1117501929, -0.5187779069, 0.1721056104, -0.5266351104, 0.0150724715, -0.3291226923, -0.0251153316, -0.2204318345, -0.2181728929, -0.1133346558, -0.397842437, 0.6318711638, 0.9124843478, 0.2478538603, 0.4654797316, -0.5934406519, -0.1010261402, 0.5316474438, 0.8570770025, -0.0099588996, -0.3798983991, -0.4222599268, 0.1644451618, -0.3022792637, -0.5703341365, 0.1330189705, 0.5679395795, 0.8979747891, 0.3595516086, -0.2918117046, 0.7251996398, -0.3378959894, 0.7791355848, 0.033987388, -0.7754024267, 0.6183928847, -0.5876253843, 0.1439928412, 0.8529458642, 0.3296212256, -0.2584433258, -0.5794634223, -0.7305114865, -0.4465938807, 0.6085451245, 0.3815231919, 0.1877352148, 0.2108042985, 0.541703701, 0.1016325951, 0.1185939834, -0.3397607207, 0.018806912, -0.374458313, -0.1766849309, -0.1969652176, 0.0682629347, 0.0446668416, -0.4966072738, 0.4353200495, -0.199723199, 0.3831081986, -0.1862739474, -0.1689381152, 0.2015563995, 0.0587122217, 0.6611968875, 0.459107101, -0.092775099, -0.1579586565, 0.3922666609, -0.9621195793, 0.2113005966, 0.254653573, -0.1522323787, -0.0199879371, 0.4559341669, 1.0716184378, 0.5111761689, -0.3663642406, 0.2162871808, -0.2273965925, -0.5474460721, 0.2382818311, 0.526730597, -0.0462299176, 0.3363879621, 0.2543121874, -0.220916748, 0.1300463527, -0.4916871786, 0.4819241166, 0.3160004914, -0.6010578871, -0.7597672343, 0.9787020683, -0.1186824366, 0.0232571941, 0.7192049623, -0.1336267292, -0.5362542868, 0.5690466166, 0.4173319936, 0.9113680124, -0.448818475, 0.2364943624, 0.2470196784, 0.1557793468, -0.3283283412, -0.0578740649, -0.1422933191, -0.4729570746, -0.611225307, -0.6631122828, -0.2874733508, 0.4341825545, -0.8046092391, -0.0917190835, -0.5068292022, -0.1332173347, -0.0984464809, -0.055551637, -0.8675486445, 0.1473523378, 0.0863463879, 0.6450917125, -0.9536375999, 1.1634503603, 0.845808804, -0.31229949, -0.9081839323, 0.430776, -0.094905436, -0.8509525061, 0.5527485013, 0.1939167678, -0.0961478204, 0.2065631747, -0.4066109359, -0.6525065899, 1.0540180206, 0.7380341291, -0.1843883246, -0.1835277677, 0.5363965631, 0.7962870598, -0.0277884975, 0.1365264356, 0.9477118254, 0.2209227681, 0.0552285463, -0.8609343171, -0.1238483861, -0.1005024835, 0.2017463595, 0.2883075178, -0.3878933787, 0.5562084317, -0.1542057693, -0.5416033864, -0.1462672502, 0.5432232022, 0.0876456872, -0.0276195034, 0.2558455765, 0.5328251719, 0.675280869, -0.1576682776, 1.3117979765, -0.2648685277, 0.8116756678, 1.1832779646, 0.0815179572, 0.4809350371, 0.2780178189, -0.6326993704, 0.1239743978, 0.3603639901, -0.2589203715, 0.7175271511, 0.3536030054, -0.3660653234, -0.0713131949, 0.1627827436, -0.5975666046, 0.4645839036, 0.1715347469, -0.3437200487, -0.4476791322, 0.2513813078, -0.092960991, -0.2853435278, -0.1955229193, 0.5788077116, -0.3491096795, -0.2538250089, 0.7366352677, -0.3220687807, 0.4553846717, -0.6701864004, -0.1345141679, -0.1385739595, 0.1527752876, 0.0537246764, -0.6004475951, 0.3116750419, -0.0951781943, 0.0068304348, -0.2101319283, 0.4137271047, -0.4175071418, -0.5721210837, 0.2275526524, 0.3202041686, -0.1026665866, -0.233739838, -0.6945587993, -0.0560654029, -0.0764947087, -0.4830610156, 0.7173472047, 0.4645558894, 0.1477065086, 0.5830882788, 0.4499327242, -0.0071707098, 0.2571495771, 0.2025890499, 0.8445798159, -0.4685301483, -0.5332970023, -0.7588447332, 0.2503575385, 0.0926866382, -0.4681675732, 0.6702249646, 0.6510945559, 0.8622152805, -0.1135467067, 0.9310793281, 0.058204934, 0.1145606935, -0.6129388213, 0.985989511, -0.2884260118, 0.1265288293, -0.3449959457, -0.621062994, -0.0743712708, 0.4764384329, -0.676633954, 0.1963111758, 0.3074063957, 0.6830348969, -0.1804285347, 0.5666504502, 0.4223787487, 0.0555891171, 0.5113243461, 0.3957905769, 0.8950765729, -0.4499069154, 0.5034297109, -0.3036414385, 0.0043192115, -0.0441249348, -0.7904913425, -0.8670472503, -0.6654859781, -0.344666332, -0.0214125216, 0.2404911369, 0.4428207278, 0.6949052215, -0.9631527066, 0.0448038988, -0.6237385869, -0.2561813593, -0.3647371233, -0.3031101823, 0.3270775378, -0.5255880952, -0.5893675685, 0.4300053418, -0.1577301323, 0.486217469, -0.1105064973, -0.0836791024, 0.1037836447, -0.3328497708, 0.4846099913, 0.2516752779, -0.3927225471, -0.5775689483, -0.3945918977, 0.2173685431, 0.0509213991, 1.2346664667, -0.8821020722, 0.4302138984, 0.2421855628, 0.8186517954, 0.6333389878, 0.1670718193, 0.8393422365, -0.9043552279, 0.1466569155, 0.0457871705, 0.1088157743, 0.0550071225, -0.4517308176, 0.7236653566, 0.476320684, -0.5068153143, -0.8336221576, -0.0728606954, -0.5545241237, 0.0919188187, 0.9146639109, -0.2811902165, 0.2543794811, -0.2656680346, 0.2088428885, 0.2058981359, -0.2590540946, 0.988334775, 0.7917596102, -0.3458580971, -0.3279723525, -1.278293848, 0.8257035613, 0.2571893036, -0.8172757626, 0.4074093699, 0.443929404, 0.5834850073, -0.3457866013, 0.2872750163, 0.1624902189, 0.0802775323, 0.2170814425, -0.2565745413, -0.3038178086, -0.1285870075, -0.5355882049, 0.2343263924, -0.0805773735, -0.0848303139 ]
http://arxiv.org/abs/2404.07839v1
http://arxiv.org/pdf/2404.07839v1
RecurrentGemma: Moving Past Transformers for Efficient Open Language Models
2024-04-11T15:27:22
2024-04-11T15:27:22
Aleksandar Botev, Soham De, Samuel L Smith, Anushan Fernando, George-Cristian Muraru, Ruba Haroun, Leonard Berrada, Razvan Pascanu, Pier Giuseppe Sessa, Robert Dadashi, Léonard Hussenot, Johan Ferret, Sertan Girgin, Olivier Bachem, Alek Andreev, Kathleen Kenealy, Thomas Mesnard, Cassidy Hardin, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Armand Joulin, Noah Fiedel, Evan Senter, Yutian Chen, Srivatsan Srinivasan, Guillaume Desjardins, David Budden, Arnaud Doucet, Sharad Vikram, Adam Paszke, Trevor Gale, Sebastian Borgeaud, Charlie Chen, Andy Brock, Antonia Paterson, Jenny Brennan, Meg Risdal, Raj Gundluru, Nesh Devanathan, Paul Mooney, Nilay Chauhan, Phil Culliton, Luiz GUStavo Martins, Elisa Bandy, David Huntsperger, Glenn Cameron, Arthur Zucker, Tris Warkentin, Ludovic Peran, Minh Giang, Zoubin Ghahramani, Clément Farabet, Koray Kavukcuoglu, Demis Hassabis, Raia Hadsell, Yee Whye Teh, Nando de Frietas
cs.LG
cs.LG, cs.AI, cs.CL
We introduce RecurrentGemma, an open language model which uses Google's novel Griffin architecture. Griffin combines linear recurrences with local attention to achieve excellent performance on language. It has a fixed-sized state, which reduces memory use and enables efficient inference on long sequences. We provide a pre-trained model with 2B non-embedding parameters, and an instruction tuned variant. Both models achieve comparable performance to Gemma-2B despite being trained on fewer tokens.
[ -0.3912487924, -0.9694865942, 0.2585865259, 0.0168238748, -0.0635022968, -0.0247383304, -0.2085240036, -0.4157564938, 0.0375873037, 0.547504425, -0.4357765317, -0.3449825048, -0.6582948565, -0.1724629253, -0.5454394221, 0.7032832503, -0.0552719869, -0.0040056766, 0.0712605044, -0.347602576, -0.1421987414, -0.6330808401, -0.7183285952, -0.5292349458, 0.44020468, 0.3181650639, 0.8527146578, 0.6997997761, 0.2161879838, 0.2836965621, -0.2457901537, -0.0084222369, -0.6734068394, 0.0264556371, -0.2569395006, -0.5696802735, -0.193978563, 0.0996918529, 0.7977460623, 0.6355879307, -0.2343755364, 0.2960330844, 0.0612583272, 0.6988523006, -0.5647764802, 0.414403677, -0.5886681676, 0.3433853686, -0.0728671402, -0.1212235838, -0.5824885964, -0.4699026942, 0.0616482757, -0.5108463168, 0.3291329443, 0.0643132329, 0.7627347708, 0.3464582562, -0.0294591747, -0.2121431977, -0.7184838653, 1.0481061935, -0.3370065987, 0.6051440835, 0.1436777115, 0.2047742754, -0.5205296874, -1.4144561291, -0.4166081548, -0.222234562, 0.1660553068, 0.0209238157, -0.7073805332, -0.1030184627, 0.3062928617, 0.819016695, -0.450687319, -0.1930631399, -0.329438448, -0.0194770135, 0.0211294908, 0.112804465, 0.2757147849, 0.357717067, -0.3646551371, 0.3136586845, -0.7172183394, 0.3336527646, 0.1402492374, 0.4582329988, 0.1325331181, 0.6269261837, -0.0129390033, 0.7290653586, 0.7356137037, -0.0236711297, 0.1563090235, 0.1070265323, -0.4323610961, 0.0198387876, 0.4013994932, -0.2156640291, 0.3269658983, -0.6129127145, 0.1597898006, 0.0273741689, 0.6341468692, -0.9021302462, -0.2993210256, 0.0859954134, -0.7388176918, 0.0007086762, 0.0210931338, -0.7460049987, 0.0234966818, -0.2844717503, 0.3615402877, -0.4201235175, -0.2082524896, 0.4703657627, 0.1754119992, 0.3527104855, 0.0710633397, -1.2700639963, 0.5125570297, 1.0037010908, 0.9478684068, 0.140828684, -0.2927173674, -1.1816823483, -0.048652716, -0.3451882005, 0.6111830473, -0.9237844944, -0.3097313046, 0.0900631472, 0.333666116, -0.1870583296, -0.585295856, 0.3571303487, -0.4781733751, 0.3847221136, 0.0913151875, -0.6763257384, -0.6983417869, -0.0901121497, -0.7348707914, 1.4202179909, 0.4227294922, -0.6712729335, 0.3547376692, -0.7888987064, -0.3803918958, 0.0016944576, 0.1497934908, -0.3977912664, 0.2560388446, 0.2191920727, 0.2365905046, -0.1877232194, 0.0974555761, -0.2738081813, -0.4407651722, -0.2309527248, -0.0287369248, 0.5495170355, 0.4214687049, -0.4894278049, 0.3435951471, -0.5916852355, -0.0723970458, 0.0233002398, -0.3374724388, -0.0990198255, 0.1340670735, -0.389906764, 0.018766921, 0.2892932594, -0.6363912225, 0.4260635972, -0.4678145945, 0.6726115942, 0.3151951134, -0.3425979614, 0.7177621126, -0.3750665784, 0.7443276048, 0.0531231463, 0.1434103698, -0.338834703, -0.8401913047, -0.745452404, -0.5616313815, 0.2586972713, 0.4950164557, -0.5767270327, 0.2645423114, 0.0463170633, -0.4388563037, -0.81074965, 0.1414752603, 0.3376655579, 0.3485878408, 0.4771696329, -0.4591845274, -0.5196091533, -0.757538259, -0.2233109623, -0.1832103282, -0.1697181016, 0.2342346907, 0.1323613673, -0.3732866645, 0.9498035312, -0.4388449788, -0.0374281444, -0.6498224139, 0.4801448882, 0.3340798616, 0.2013641894, 0.6683795452, -0.2696720064, -0.2525536716, 0.1040355116, -0.4862118363, -0.1057808325, -0.0556137599, -0.0832006782, 0.5685032606, 0.5130352974, -0.882573843, 0.435361743, 0.663669765, -0.1981221288, 0.2546161115, -0.095298782, 0.0238428898, -1.0973116159, 0.0806298777, -0.0058999793, -0.4994492531, -0.6290330291, 0.5342697501, -0.0080892742, -0.2063774168, -0.6004911661, 0.7268868089, -0.6524143815, -0.3892126381, -0.3923380971, 0.1614321321, -0.2755366564, 0.6505095363, 0.1325695068, 1.0788093805, 0.7268691659, -0.6827613711, 0.2361349016, 0.326197505, -0.6701882482, -0.221043393, -0.4705444872, 0.2372529209, -0.1634621471, -0.0033720669, -0.8375049829, 0.1890078783, 0.396253258, -0.4928362668, 0.5102720261, -0.3120574653, -0.438367933, -0.5436351299, -0.1170535684, 0.2948902249, 0.6811845899, -1.0194727182, 0.6555438042, 0.5029286742, -0.3823154867, -0.5556303859, -0.4442351162, -0.0043865233, -0.1528176963, -0.6439219713, 0.2519706488, 0.3352930248, -0.2380073965, 0.0194891039, 0.0741626695, -0.1094849408, -0.0141579872, 0.0912550017, -0.1115895584, -0.5428122878, 0.1548907012, -0.2498939782, -0.1132695302, -0.1679396182, -0.4143222868, 0.8734551072, -0.4275232255, -0.0853273273, -0.6420578361, 0.3955996931, 0.6500545144, -0.3180527687, 0.7165263891, 0.6014146805, -0.2124550939, -0.2172966599, -0.2315811068, -0.0931747928, -0.481857121, 0.3064078093, -0.3541859388, -1.2938272953, 0.5166395903, -0.0165653788, 0.2939210534, 0.1930817664, 0.9388257265, 0.2623364925, 0.8555445671, 0.553121388, -0.3877564669, 0.6506584287, -0.0454340614, 0.5517960191, -0.6524551511, -0.1410718858, -0.6378189921, -0.1042106897, -0.6582516432, -0.6080434918, -0.3661925197, 0.4113496244, -0.629875958, 0.6143172979, -0.4392223656, 0.1749936491, 0.9302598238, -0.1875761449, 0.0583613031, 0.1042139456, -0.2860019803, 0.0653981566, -0.9641119838, -0.6229794025, 0.9418242574, 0.6940799952, 1.1435731649, 0.2378461063, 0.472935766, 0.2291499376, 0.3945163488, -1.0899249315, 0.5444720984, -0.2850614488, -0.3570058048, -0.2683353126, -0.2765271068, -1.3287385702, 0.1635972857, 0.0005055143, -0.9184195399, -0.2809139788, 0.2421309501, -0.282502234, 0.7087251544, -0.5575315356, 0.5579767227, 0.2474153042, -0.4120052755, -0.1594275981, -0.0906862915, 0.4432947338, 0.1832076311, -0.3338025212, 0.1960308403, 0.2450008094, 0.2608391643, -0.4148819149, 0.7360950112, -0.0527669415, -0.0607006513, 0.6242291927, 0.1136706322, 0.6579121351, -0.1708974391, 0.1201711819, 0.4077201188, -0.4162647724, -0.4127182662, -0.5446637273, 0.709636569, -0.5649384856, -0.8431527615, -0.3521617353, -0.3880495429, -0.0962430835, 0.0302709062, 0.1478826553, 0.6420353651, -0.0549757034, 0.4002280235, 0.5664471388, -0.4390932918, 0.5756642818, 0.4153369963, -0.5616956949, -0.3094314337, 0.4310110807, -0.0612329841, 0.1325980276, 0.490311116, 0.0960771143, -0.5933647752, -0.5300735831, -0.4680343866, 0.16131033, -0.3388768137, 0.1899498105, -0.7762601376, -0.3645114005, -0.4019213915, 0.0310843717, -0.5140011311, -0.601379931, -0.3883947432, -0.1321470737, 0.3359149992, 0.719374299, -0.0086300597, 0.1974824071, -1.0852353573, 0.4978629053, 0.4446030855, 0.622859478, 0.1418414414, -0.7607744336, -0.2153233588, -0.0907669961, -0.6042492986, -0.3804964721, 0.4786130786, 0.091296345, 0.9433214664, 0.5828664899, -0.1549715102, 0.7052242756, -0.8154933453, 0.9834975004, 0.2496819794, -1.0050053596, 0.1589446366, -0.2910093963, 0.5824722648, 0.1493336558, 0.2645365596, -0.3705441952, -0.5675157309, -0.4251531065, -0.4572768509, 0.64435637, 0.1511273235, 0.1043508649, -0.6321845055, 0.3786673844, 0.2625778615, 0.0501939766, -0.4816970825, -0.2864159346, -0.3969680369, -0.0460998639, -0.0081227981, -0.4569026232, 0.1649911851, -0.1974723488, 0.7252286077, 0.0403402112, 0.7606014609, 0.0158536043, -0.1734003127, -0.287954241, 0.1754884422, 1.0382637978, 0.5009338856, -0.0945991874, -0.2422448397, -0.0934331641, -0.5749557018, -0.0500426702, -0.0767414197, -0.1906284839, 0.2029100358, 0.2562997341, 0.8536791205, 0.5297002196, -0.3376333416, 0.2284703106, -0.0055258176, -0.3399464488, -0.478308022, 0.0558297522, 0.1849360913, 0.5042710304, 0.2023322582, -0.1770906895, 0.0173567124, -0.7639907598, 0.5768226981, 0.3765232563, -0.6174461246, -0.2555825114, 0.8542524576, 0.1938871741, -0.6060945988, 0.5653403997, -0.0110320291, -0.377486527, 0.4166735709, 0.6917976141, 1.2218488455, -0.374649018, 0.1894544661, 0.6348930597, 0.171138674, -0.3565369546, 0.4734033346, -0.0331391916, -0.6467912793, -0.6203300953, -0.6583488584, -0.3402681947, 0.4842746854, -1.0519263744, 0.1407676637, -0.6516755819, -0.3161257505, -0.1830020845, -0.0970348045, -0.3063707054, -0.2043003291, 0.0236878935, 1.3431981802, -0.1408718228, 1.1263478994, 0.5209572315, -0.0784971863, -0.4602276087, -0.0577076189, -0.1465228945, -0.8823768497, 0.7515019178, 0.4498758912, -0.6339748502, 0.1507209688, -0.4672596455, -0.9147500992, 0.9235099554, 0.2698713839, -0.7875826359, 0.2117200792, -0.220915094, 0.4664810002, -0.5720900893, -0.2389661372, 0.6306382418, 0.2399730533, 0.1686225086, -0.6916712523, -0.354290545, -0.151812464, -0.1439273506, 0.7254812717, -0.726926446, 1.0440683365, -0.4390678108, -0.6677306294, 0.7593569756, 0.7805605531, 0.0028183465, 0.1921158433, 0.1076876596, 0.9688252211, 0.7657673955, -0.2575007081, 1.2114902735, -0.6546266675, 0.6112943888, 1.4303972721, -0.2976383269, 0.9292638302, 0.2826247215, -0.1784943342, 0.5924464464, 0.5456030369, 0.0277010221, 0.6508278847, 0.3665952086, -0.449554503, -0.2965311408, 0.2758179009, -0.3781497478, 0.5380588174, 0.1940570921, -0.5676503778, -0.3843436539, -0.2383689731, 0.0188526157, 0.242062971, -0.6887346506, 0.7845547199, -0.0184942875, -0.8587727547, 0.6628020406, 0.1286265105, 0.4087632596, -0.4703975916, -0.0915290862, -0.3675529361, 0.3229183853, 0.072380051, -0.6509997845, 0.4209100604, 0.0134807471, -0.2993222177, 0.0505044684, 0.4599015117, -0.5975773931, -0.4617529213, 0.5338394642, 0.178746745, 0.1227196679, 0.0378108434, -0.6313089728, -0.3360534608, -0.2047730386, -0.2517451942, 0.2469756454, 0.3164023161, 0.0496833362, 1.0700879097, 0.6107069254, -0.0969808847, 0.3695129156, 0.1648491025, 0.6657927632, -0.933268249, -0.5060300231, -0.6351134181, 0.0879046768, 0.2357757241, -0.059687227, 0.6173906922, 0.5701354742, 0.7723981738, -0.2494716495, 0.742890954, 0.3107135594, 0.7312787175, -0.6613618135, 0.4883268178, -0.3571298122, -0.1065047979, 0.0067251148, -1.0588786602, -0.3907712698, 0.7042323947, -0.1942325085, -0.0941105559, 0.6583763361, 0.8711727262, 0.0480171219, 0.1630856395, 0.5279388428, 0.1963941306, 0.0816676691, 0.6672899127, 0.8578339219, -0.176513806, 0.4665835202, 0.2813699841, -0.2040768564, -0.2342210114, -0.804263711, -1.1715455055, -0.322787106, -0.1008547768, -0.1549828798, -0.0458177514, 0.9230059981, 0.5742869973, -0.8807671666, 0.0070933416, -0.1726094633, -0.1406231225, -0.2871118188, -0.2587475479, 0.1862254441, -0.7892599106, -1.0213986635, 0.4181388915, 0.6418805122, -0.051385276, -0.2526379228, -0.1435160041, -0.1155557781, 0.3955092728, 0.9037039876, 0.8118057251, -1.0094382763, -0.5902062058, -0.1430150121, -0.0362215415, 0.3309159577, 1.0636813641, -0.7904865742, 0.4743400812, 0.3975571096, 0.8782300949, 0.601863265, 0.3232124448, 0.7052617669, -0.2110116184, 0.3931915462, -0.0948581696, 0.6337154508, 0.1274641752, -0.1208271086, 0.4336928725, 0.0091860546, -0.4455294907, -0.3432892561, 0.4795888364, -0.8495463133, -0.3700621128, 1.1865448952, -0.4604997337, -0.1751360297, -0.469273895, -0.0275695734, 0.1256413162, -0.3579288423, 1.0593975782, 0.8730481267, -0.0878455266, -0.4575818777, -0.4177060127, 0.4221515954, 0.1863534003, -0.4674125612, 0.0322005861, 0.3050855994, 0.2700453997, 0.1229357794, 0.4253326952, -0.4340526462, 0.4496680796, 0.1250284761, 0.0861533135, -0.2962801158, -0.7464753389, -0.3859887719, 0.4436903894, 0.0604694821, -0.6527448297 ]
http://arxiv.org/abs/2404.07836v1
http://arxiv.org/pdf/2404.07836v1
Question Generation in Knowledge-Driven Dialog: Explainability and Evaluation
2024-04-11T15:24:50
2024-04-11T15:24:50
Juliette Faille, Quentin Brabant, Gwenole Lecorve, Lina M. Rojas-Barahona, Claire Gardent
cs.CL
cs.CL
We explore question generation in the context of knowledge-grounded dialogs focusing on explainability and evaluation. Inspired by previous work on planning-based summarisation, we present a model which instead of directly generating a question, sequentially predicts first a fact then a question. We evaluate our approach on 37k test dialogs adapted from the KGConv dataset and we show that, although more demanding in terms of inference, our approach performs on par with a standard model which solely generates a question while allowing for a detailed referenceless evaluation of the model behaviour in terms of relevance, factuality and pronominalisation.
[ -0.5900392532, -0.8625782132, 0.8084718585, -0.0899883956, -0.1197456643, -0.3510434628, 0.2204324603, -0.0664234161, -0.1079979613, 0.5916843414, -0.8509960175, -0.153760612, -0.1640427113, 0.0464481115, -0.4884981513, 0.9634456635, 0.0910628736, -0.0240142085, -0.8794753551, -0.1795056909, -0.5172747374, -0.385486722, -0.5556711555, -0.4223311245, 0.2912096977, 0.5375593901, 0.7323453426, 0.2324266434, -0.1464587003, 0.2577011287, -0.2151266187, 0.0965355784, -0.4607940316, 0.3309885263, 0.0622477792, -0.7372764945, 0.1593104005, 0.142214939, 0.3612288237, 1.1871939898, -0.0634362847, 0.2262342721, -0.2104030401, 0.4740394056, -0.4977197647, 0.1024523005, -0.492626667, 0.0607135966, 0.5742021203, -0.3186247647, -0.3259934187, -0.7018615007, 0.5039479136, -0.511084497, 0.3516295254, 0.1016009748, 0.5146254301, -0.0463642292, -0.7039920092, -0.7667772174, -0.7394083738, 0.3535449207, -0.6474505663, 0.4499942958, 0.1714343131, 0.5810502172, -0.0326516703, -0.9562543035, -0.6597074866, -0.2743700445, -0.1416949481, 0.3897562623, 0.0567157455, -0.0619687848, 0.4933932722, 0.4152406454, -0.6137725711, -0.4192533791, -0.3565412164, -0.1292424798, 0.4960365295, 0.3854860663, 0.1115611494, -0.4462196529, -0.1104853973, 0.170657292, -0.6246210933, 0.2421697527, 0.4429499209, -0.1404578984, 0.2646227479, 0.5133374333, -0.609112978, 0.6543533802, 0.3958447278, -0.1616592705, -0.3003654182, -0.6463932395, -0.1452063471, 0.0793130919, 0.4689995944, 0.6800647974, 0.3038358092, -0.2341067791, 0.2583149672, -0.156915307, 0.1899322122, -0.9817290902, -0.2103285342, 0.5018701553, -0.2196388543, -0.7186482549, -0.016846437, -0.5200495124, -0.2985416353, -0.253839761, 0.3300749063, -0.2139661908, -0.5421774387, 0.0784647986, -0.2059358805, 0.4186564982, 0.3591697514, -0.6931492686, 0.0525060557, 0.387578398, 0.0471841544, 0.2147484273, -0.1169668585, -0.1126749143, 0.1327796578, -0.4670552015, 0.8016812205, -0.298836112, -0.7832839489, -0.0315448716, -0.0095478017, -0.0974204168, -0.6962673068, 0.0792498738, -0.5191030502, 0.7808177471, -0.6564247608, -0.5902075171, -0.51025635, 0.5377970934, -0.2482860386, 0.9072764516, 0.1940161884, -0.7344770432, 0.6207403541, -0.5363734365, -0.2981626093, 0.0962513238, -0.2392721176, 0.0737905353, -0.0184651874, 0.1588581651, 0.4310340285, -0.5064659119, 0.7595635653, -0.0078983549, 0.0929700807, 0.3951297998, -0.2811959982, 0.5372864604, 0.3068658412, -0.0368199721, 0.0138438633, -0.7470340133, 0.4314434826, 0.096926704, -0.0431780554, -0.0046860557, 0.0654466972, -0.620249033, 0.328974992, 0.018046191, -0.3707586527, 0.0144070191, -0.3568501174, 0.256763339, 0.3388439417, 0.6753237247, 0.3034671545, -0.3521496356, 0.84427917, 0.0875099227, 0.2194910645, -0.5738947392, -0.5338736773, -0.7487686872, 0.3186207116, 0.2405626774, 0.5112011433, -0.8565668464, -0.0423824526, 0.0697869584, -0.7035638094, -0.154103145, -0.1713630408, 0.4004621208, 1.0650360584, -0.1797161549, -0.0503655076, -0.3963906169, -0.8208617568, -0.0760654137, -0.6793090105, -0.0007282437, 0.6297976971, 0.5102724433, 0.2737674117, 1.1488702297, -0.9273588657, 0.7846524715, -0.7042450309, 0.593090117, 0.0806780085, 0.2846117616, 0.3418985605, -1.1738810539, -0.1839561015, -0.2262035012, -1.0051572323, -0.3327340484, -0.2514252067, -0.0519891232, -0.2109370828, 0.564950943, -0.9326816201, 0.3181569576, -0.0258913562, -0.4136970639, 0.9250048399, 0.0866434723, 0.2985819578, -1.3702975512, 0.1269036084, -0.6158831716, -0.2796248198, -0.8882433772, -0.0742028281, -0.2782286406, -0.4929025471, -0.6446627975, 0.4710583687, -0.0739154592, -0.0322805792, -0.2027882487, 0.1641977429, 0.2874383032, 0.4160510004, -0.2848876715, 0.6905742288, 0.2784543037, -1.0482604504, 0.3353526294, 0.5542795658, -0.6361098886, 0.4385657609, -0.9135864973, 0.1145941913, -0.4596095681, 0.1062870324, -1.208065629, -0.3888014257, 0.1039200127, -0.6937254667, -0.0263533499, -0.0729143471, -0.4266303778, -0.3490683734, 0.0765529871, 0.3875911534, 0.6610524654, -0.380574286, 0.4573530555, 0.1015584767, -0.5328692794, -0.2168966979, -0.1987559199, -0.3511220515, -0.2425969988, -0.893885076, -0.1572742164, -0.362662077, -0.5317171812, -0.0761039034, -0.2024278939, -0.0182924531, 0.3024685085, 0.3200631142, -0.0112629123, -0.2190430462, 0.1472344398, 0.0887237936, -0.0077203419, 0.4838502705, -0.110123083, 0.461512357, 0.1580162048, -0.3035638332, -0.1695320308, 0.5254638195, 0.5913917422, -0.0321381092, 0.4202314913, 0.0468961447, -0.1122211069, -0.0907310024, -0.4845389128, -0.1168686822, -0.4440215528, 0.2494870871, -0.4676840007, -0.7659778595, 0.7205293179, -0.3060462773, -0.0161635354, 0.5891993642, 0.6034395099, -0.2347065359, 1.3187571764, 0.4743269384, 0.4588343799, -0.0149985682, -0.1987935454, 0.227420494, -0.3587253392, -0.399192661, -0.272369951, 0.2624299824, -0.3359560966, -0.2346121222, 0.4361857772, 0.3961914778, 0.1209608838, 0.0926887468, 0.1178853661, 0.4591446519, 0.3502453268, -0.243425265, 0.2642341852, -0.5874079466, -0.4565917253, 0.1781445444, -0.9897842407, -0.4956336617, 1.0517919064, -0.0377942175, 0.2223144919, -0.1384923607, 0.4314152002, 0.1282524616, 0.3281615973, -0.711817205, 0.6492879391, 0.6924874783, -0.7669442892, -0.3448143601, -0.4722958803, -0.6873990893, 0.3441656828, 0.0044673756, -0.5175176263, -0.0916168392, 0.1792090535, -0.6899888515, 0.0224198196, -0.9416235685, 0.8396004438, 0.0383689404, -0.0646534339, 0.0986697376, -0.6926860809, 0.6775200963, 0.0470835567, 0.0062495801, -0.0371514037, 0.5829905868, 0.8821330667, -0.5660660267, 0.3977684975, -0.4395060837, -0.0174667574, 0.8924106956, 0.1040799394, 0.1885029227, 0.2934059203, 0.1464722902, -0.6077311635, 0.236031428, -0.1053491011, -1.1382781267, 0.1996385604, -0.3486908674, -0.9742041826, 0.0692923218, -0.8789379597, -0.4870743752, 0.2492263615, 0.2430854142, 0.7864263058, -0.4379352629, -0.0139817791, 0.8376556039, -0.5449570417, 0.1546602845, 0.7294285893, -0.668192625, -0.3161926568, 0.6812257171, 0.234927237, 0.6131283641, 0.1360919625, 0.3575862646, -0.327144146, -0.3665950298, -0.4016817808, -0.0238990095, -0.8476982117, 0.0775385648, -0.8060836196, -0.312877655, -0.551928103, -0.094437629, -0.2335633188, -0.7367248535, 0.0275243223, -0.582047224, 0.1428272426, 0.9232969284, 0.239980042, 0.3202435672, -0.4181353152, 0.4332793653, 0.92710042, -0.1415515244, -0.0834503695, -0.3431939483, 0.0860862732, 0.143736124, -0.5627064705, -0.853959322, 0.1457019597, -0.2023676932, 0.3948410153, 0.6370908022, 0.1866222024, 0.5516527891, -0.2982264459, 1.1350406408, 0.117907472, -0.6098763347, 0.7778859735, -0.4120627344, 0.5751183629, 0.7844381332, 0.3783655167, -0.4772939086, -0.3679879606, -1.0653529167, -0.7002158761, 0.4613159895, 0.2937519848, 0.0357985683, -0.0994625911, 0.4309617281, 0.5928838849, 0.493088603, -0.1900547147, -0.3561966717, -0.137160033, 0.0982993394, -0.0403844863, -0.7104692459, -0.1402540207, -0.2634264529, 0.4284428954, -0.1155363992, 0.3990799189, 0.3259533644, -0.1309397966, 0.0848160535, 0.3934392333, 0.7290585637, 1.1237213612, -0.3104249239, -0.0840427727, 0.2673329115, -0.042319756, 0.096421808, 0.0058602276, -0.5156827569, 0.0559753589, 0.1840393394, 0.7443175316, 0.1349405646, -0.6138854623, 0.4220398664, -0.1290065646, -0.7815321088, -0.3318619728, 0.0420130901, 0.1330557466, 0.1797566414, 0.1419558376, -0.1899860948, 0.1103970632, -0.6864545941, 0.3026848435, 0.1927778274, -0.2829109728, -0.4530978799, 0.8448494673, 0.1555525959, -0.0644761473, 0.516651094, -0.3231562972, -0.6686069965, 0.8214407563, 0.4185785353, 0.8270991445, -0.0960787237, 0.5654737949, 0.386816591, 0.0489118509, 0.3521584272, 0.9035649896, -0.5697424412, -0.9257986546, -0.3327592015, -0.2549966872, -0.7346417904, 0.2761245966, -0.8429082036, 0.0294975508, -0.2362474054, 0.1434705257, 0.0293743536, -0.1804284602, -0.5321285725, 0.5420995355, -0.1434574425, 1.0264556408, -0.8285596371, 0.3368084431, 0.4174707234, -0.3904305398, -0.808126688, 0.0993846953, -0.3142304718, -0.7081881166, 0.5244514942, 0.3192049563, 0.2307871431, -0.0183070265, -0.6645025015, -0.7073990703, 1.4682956934, 0.1654384285, 0.1672675312, -0.0507576801, 0.4004759192, 0.3319544792, -0.3171764612, 0.372969538, 0.6283825636, 0.3994886577, 0.4095093608, -0.5959279537, -0.0586865619, -0.2832853496, -0.2229484469, 0.0994497389, -0.4800109863, 0.5062067509, -0.41834113, -0.2940201461, 0.0642039552, 0.7289896011, 0.1215672791, 0.5519116521, 0.6239254475, 0.5079174042, 0.7533515692, -0.0786438435, 1.2667415142, -0.3891296983, 0.0080442093, 1.1066992283, -0.1567943841, 0.2288545817, 0.3845089376, -0.1103280485, 0.2808165252, 0.5147940516, 0.2915553153, 0.5341591835, 0.2871116996, -0.1545198262, -0.2460304052, -0.3955569267, -0.3560279012, 0.6279784441, 0.1821116209, -0.2850085795, -0.332911849, -0.0653462708, 0.070190385, -0.2219700515, -0.2903893292, 0.9691186547, -0.1510636955, -1.2170674801, 0.3728235662, -0.2803928554, -0.3820897937, -0.7853155136, -0.0920538232, -0.3641589582, -0.34080562, 0.1411154866, -0.7362568378, 0.2321268916, -0.0576735921, -0.436295867, -0.4072675109, 0.7107946277, -0.4180112779, -0.4592198133, -0.3343093097, 0.8140937686, 0.3562986255, -0.0289615765, -0.2330923676, -0.6955476403, 0.2816854715, -0.5007929802, 0.1304541677, 0.5496504307, 0.1524857432, 0.911337316, 0.4487190247, -0.3898128271, 0.1755827814, 0.1007363945, 0.8774192333, -0.6537955999, -0.6248033047, -0.4090162814, 0.8057519197, 0.1144059524, -0.4706578851, 0.800624609, 0.5039775372, 0.4713764191, -0.0550967492, 1.0705214739, -0.2412299067, 0.5400154591, -0.5708453655, 0.6018122435, -0.2159575373, -0.1187160537, -0.1934999824, -0.5594526529, 0.2444504648, 0.0617218688, -0.3679668009, -0.0271415748, 0.7585517764, 0.7764613628, 0.3399507105, 0.5650972724, 0.5651205778, 0.2170603424, 0.102069959, 0.3539433181, 1.2117795944, -0.3643367589, 0.519517839, -0.4100465775, 0.0190740544, 0.2294379324, -0.719615221, -0.8723617792, -0.6169300079, -0.3214626908, -0.1432337314, -0.3239605129, 0.4501048326, 0.4743924737, -0.6814132333, 0.1022165343, -0.2894105315, 0.2687385082, 0.0626619235, -0.3027134538, 0.0456055515, -0.2951928377, -0.2685631216, 0.4249252379, -0.0601894408, 0.1042159274, -0.2979344428, 0.0526940823, -0.087637119, 0.2343284786, 0.7126839757, 0.1704153717, -0.3999246359, -0.2864576578, -0.0996760502, 0.5533163548, -0.2358686626, 0.9858607054, -0.8570845723, 0.6448699832, 0.3824498057, 0.5289607644, 0.4499517679, 0.2855012715, 0.9907962084, -0.7319452763, -0.0823488608, 0.2215455025, 0.0753713176, 0.1531274468, -0.3528781533, 0.4062543809, 0.2652742267, -0.4444579482, -0.7034592032, 0.5393810272, -0.7118373513, -0.057505209, 1.0940568447, -0.0489114821, 0.1475775093, -0.1000790596, -0.2778434753, 0.1876104921, 0.1635751128, 0.511649847, 0.9746494293, -0.319044739, -0.0687816292, -0.8847458363, 0.5177823901, 0.6062896252, -0.7644996643, 0.2010706216, 0.4282704592, 0.3598695993, 0.0058373115, 0.6255264878, -0.0808461607, 0.3743321896, 0.0877133757, -0.1894049346, -0.2139817476, -0.2799249589, 0.208475247, 0.5703965425, 0.0302983299, -0.0011793093 ]
http://arxiv.org/abs/2404.07824v1
http://arxiv.org/pdf/2404.07824v1
Heron-Bench: A Benchmark for Evaluating Vision Language Models in Japanese
2024-04-11T15:09:22
2024-04-11T15:09:22
Yuichi Inoue, Kento Sasaki, Yuma Ochi, Kazuki Fujii, Kotaro Tanahashi, Yu Yamaguchi
cs.CV
cs.CV, cs.CL
Vision Language Models (VLMs) have undergone a rapid evolution, giving rise to significant advancements in the realm of multimodal understanding tasks. However, the majority of these models are trained and evaluated on English-centric datasets, leaving a gap in the development and evaluation of VLMs for other languages, such as Japanese. This gap can be attributed to the lack of methodologies for constructing VLMs and the absence of benchmarks to accurately measure their performance. To address this issue, we introduce a novel benchmark, Japanese Heron-Bench, for evaluating Japanese capabilities of VLMs. The Japanese Heron-Bench consists of a variety of imagequestion answer pairs tailored to the Japanese context. Additionally, we present a baseline Japanese VLM that has been trained with Japanese visual instruction tuning datasets. Our Heron-Bench reveals the strengths and limitations of the proposed VLM across various ability dimensions. Furthermore, we clarify the capability gap between strong closed models like GPT-4V and the baseline model, providing valuable insights for future research in this domain. We release the benchmark dataset and training code to facilitate further developments in Japanese VLM research.
[ -0.3454665244, -0.2666265666, 0.6203930378, -0.0126570705, -0.4323966205, -0.222403422, -0.0572314449, -0.6539554596, -0.2859682441, 0.5540506244, -0.5518350005, -0.5457950234, -0.400818646, -0.050651677, 0.0333631746, 0.3880400658, -0.1818697453, 0.4004944265, -0.2494357228, -0.6314947605, -0.6237702966, -0.0874265507, -0.3889220655, -0.0663817152, 0.3810892999, 0.1943740845, 0.4847836494, 0.7518389225, 0.6130328178, 0.2725772262, 0.3784757555, 0.0314879976, -0.2767741978, 0.2020028979, -0.0809648558, -0.5683782101, -0.2081553787, -0.1075936407, 1.0472444296, 0.8330718279, 0.1560859233, 0.3000901341, -0.1731925607, 0.7425413728, -1.1135377884, 0.5200924873, -0.50782305, 0.3483160138, -0.5324311852, 0.0662845522, -0.2446728647, -0.0550839752, 0.1389998794, -0.8035268784, 0.1220088899, -0.0486300439, 0.8486148715, 0.2930571735, -0.2336443067, 0.4469143152, -0.3551754057, 0.9405607581, -0.6051102281, 0.6737291217, 0.387264967, 0.8350066543, 0.3871881664, -0.7274960876, -0.2605923712, -0.2887113988, 0.1974105686, 0.4948071539, -0.0467395559, -0.0311258994, 0.4132672846, 0.2768680155, -0.6709347963, 0.0036086119, -0.3938363492, -0.1131043211, 0.4442175031, 0.3187022507, 0.2264450043, -0.3124471903, -0.2666312456, -0.3833532035, -0.3530759811, 0.1487773657, 0.0399965197, 0.3034976125, -0.0481807031, 0.6439741254, -0.459287852, 1.1092147827, -0.6295884252, -0.1999861896, 0.2769742608, -0.373829335, -0.2194868922, -0.200454995, 0.7175691724, 0.7162194848, 0.212041378, 0.0295153167, -0.2622706294, 0.2938468754, 0.2580833137, -0.5309683681, 0.1404159218, -0.258852154, -0.469935298, -0.1158892661, 0.1481696665, -0.6136630177, -0.2276870459, -0.1290447712, 0.4719768465, -0.41384992, -0.3317838311, 0.0913678631, -0.4134504795, 0.7093761563, 0.1785737574, -0.5168610215, 0.2495752871, 0.5972711444, 0.8324155211, -0.0300448705, -0.4762051702, -0.5083267093, 0.1082771719, -0.5873152018, 0.3781181574, -0.6535941362, -0.3964623213, -0.06465251, -0.0355127528, -0.093452394, -0.4173030555, 0.2993845046, -0.1746127158, 0.1849651188, -0.3261695802, -0.360245049, -0.141912967, 0.2362191379, -0.5779155493, 0.7599516511, 0.4034776986, -0.6504803896, 0.3647015095, -0.4251427054, -0.0584351569, 0.6656411886, -0.6379243135, -0.4177936018, 0.4304985404, 0.2162777483, 0.157934159, -0.4434621036, 0.0170843918, -0.6833227873, -0.4010778964, 0.2698677182, -0.5388979316, 0.7234801054, 0.158907637, -0.347446382, -0.1207620054, -0.7509381771, 0.6147325635, 0.0077799982, 0.1187213436, -0.7146475911, -0.2026675045, 0.1516753435, -0.0668625683, 0.2945965827, -0.4904051423, -0.0519721434, -0.1612206548, 0.2044998109, 0.6443420649, -0.2006338835, -0.0567308925, -0.2063178867, 0.7190886736, -0.1216419712, 0.5943330526, -0.4499978125, -0.5701203942, -0.7989092469, -0.2346355766, 0.0027065184, 0.2367297262, -0.9825707078, -0.1526294798, -0.2970772982, -0.544937849, -0.8843407631, 0.0018245024, 0.9594659805, 0.6496161819, 0.1963331848, -0.7439182401, -0.5320893526, -1.106986165, -0.3688463867, -0.2086257935, 0.1663199961, 0.5369131565, 0.2166477591, -0.0100615229, 0.7559857368, -0.2220868915, -0.0810594484, -0.0023546547, 0.0183342677, 0.0655458719, 0.2633701861, 0.6238722801, -0.9255450368, -0.6029245257, 0.1803236157, -1.0618081093, -0.092393592, 0.2945931256, -0.0359117426, 0.0797612816, 0.3307654858, -0.240539968, 0.5410460234, 0.5573142171, -0.2490537763, 0.5832131505, -0.0640843436, 0.2883939743, -0.866925776, 0.3007464409, 0.2158832699, -0.2555888295, -0.4356682599, 0.5309886336, 0.4278624952, -0.2943133712, -0.4760382175, 0.4594290853, -0.5420509577, -0.8348437548, -0.090486519, -0.0532392077, 0.0145695712, 0.2778966427, 0.2611402869, 0.8705332875, 0.6977511644, -0.4023108184, 0.4096367955, 0.0880423784, -0.6413552761, 0.863905251, -0.783280313, 0.0018196892, 0.027067896, -0.3261300623, -0.9284282327, -0.1606523991, 0.1343622953, -0.2611769438, 0.1460880488, -0.4109413326, -0.0100202132, -0.473388344, -0.349127084, 0.440169394, 0.5279531479, -0.2770022452, 0.3765355349, 0.2308694273, 0.0387292877, -0.8430460095, -0.7751072049, 0.0987637267, -0.0691407472, -0.4294562042, 0.3567995429, -0.077096276, -0.3758566678, 0.2119027227, -0.1725019962, -0.118893072, -0.0071822372, 0.1662915051, 0.4708948433, -0.8577859402, -0.2203605026, -0.4419281185, -0.4213861227, -0.1322705448, -0.5040081739, 0.2404617518, -0.5523124933, -0.5927175283, -0.3910441697, -0.0014489623, 0.9460859299, -0.5258458853, 0.4211830497, 0.5491620302, -0.1762949973, 0.0344162509, -0.5764713287, 0.1065007001, -0.4220891595, 0.6177711487, -0.6914665103, -0.5020148754, 0.1961174607, 0.1271469444, -0.01304531, 0.2535590529, 0.1008384079, 0.0235645063, 1.0455583334, 0.8809649348, 0.0393243358, 0.5607028008, -0.2107653767, -0.2310111821, -1.1465611458, -0.0706163347, -0.2270847708, -0.1337033361, -0.5108843446, -0.5060405731, 0.5159084201, -0.1051833704, 0.0087070772, 0.208951503, -0.222537145, 0.5982966423, 0.4767993391, -0.0603550375, 0.2398100942, -0.0677618831, -0.2837447226, -0.4390018284, -0.6897870302, -0.1383654028, 1.2370743752, 0.0545964949, 0.4589370489, 0.0555984452, 0.3765549958, 0.0710425004, 0.0102935238, -0.6339824796, 0.5971837044, -0.2866058648, -0.3158610165, -0.4451974332, -0.4624041319, -0.792993784, 0.6473702788, 0.0720536038, -0.5726515651, 0.0059350277, -0.1729906797, -0.1084233001, 0.0761905015, -0.6072854996, 1.233930707, -0.5645015836, -0.7710694075, -0.136707291, -0.458622545, 0.5110701919, -0.0126889395, 0.1713505387, -0.1976074278, -0.31642887, 0.4421131313, -0.5024850965, 0.6616113186, -0.3673676252, 0.2199570686, -0.1744243205, -0.29927513, -0.0227891691, 0.0283047874, -0.0474062152, -0.0076669981, 0.1201000363, -0.609262228, -0.528142333, 0.5630409718, -0.987585783, -0.3587560952, -0.4146844745, -0.3671422899, -0.5490112305, 0.3607817888, 0.3083794117, 0.6769446135, -0.0961005464, 0.3776659667, 0.500169456, -0.2090910077, 0.3522049189, 1.0455011129, -0.4031646252, -0.3384181857, 0.8276821971, 0.2334574908, 0.2560482323, 0.2909047306, 0.1791476607, -0.3740276396, -0.7041413784, -0.605332315, 0.1295905113, -0.7272788882, -0.0175986309, -0.1126172543, -0.324432075, -0.2903775573, 0.0567041896, -0.6384323835, -0.1578659415, 0.4016705751, 0.1941358745, 0.1165140793, 0.6577458382, 0.2046165317, -0.0780040845, -0.6568476558, 0.4379551113, 0.4978500903, 0.7489526868, -0.2179477513, -0.4171124101, -0.2510790527, -0.0168602318, 0.04246144, -0.6845383048, 0.2772915065, 0.1089246944, 0.9217426181, 0.2508215904, -0.0369554199, 1.0948326588, -0.221870929, 0.6978910565, 0.3874685466, -0.7750830054, 0.7516046762, -0.3867075443, 0.7466519475, 0.6423256993, 0.1633021384, -0.6557692289, -0.4464768469, -0.5061405897, -0.7305062413, 0.6642439961, 0.0220397022, -0.1457197368, 0.4969224334, 0.2612042725, 0.1639498472, 0.2290949374, -0.7145146132, -0.0145374713, -0.4486446083, -0.182638973, -0.3311210573, -0.061464835, 0.1759546995, -0.3086289465, 0.4317117631, -0.2587449551, -0.1940514594, -0.0196529478, -0.2855154276, -0.1200186312, -0.0024115192, 0.3133563697, 0.8612213731, -0.0920097232, 0.0007415108, 0.0524786413, -0.5689799786, -0.1663940102, 0.0765169635, -0.4467287362, 0.0429832526, 0.5261119008, 1.1806118488, 0.3949192464, -0.7732762098, 0.5163966417, -0.385920614, -0.0406073742, -0.3304632008, 0.2447974533, -0.2400478125, 0.2012245953, 0.2980840206, 0.0615748838, 0.0816065297, -0.5773707032, 0.1569415778, 0.4055260718, -0.625849247, -0.0824246258, 0.4504234195, 0.0511543341, -0.1458616704, 0.615051806, 0.0982476026, -0.3324064612, 0.6296317577, 0.3749142587, 0.8505817056, -0.1848233193, 0.2506037652, 0.4657880068, 0.3900740743, 0.0384040624, 0.3677326441, -0.2847559154, -0.7476831079, -0.2231191844, -0.6182104945, -0.5418335795, 0.4974027872, -1.0430417061, 0.1542335004, -0.5453488231, -0.1815890074, -0.0353854522, 0.1271554679, -0.7467985153, 0.0798272938, 0.4141833782, 0.6929635406, -0.735516727, 0.9313309193, 0.8739911318, -0.4948478639, -0.4960386157, -0.1013029963, 0.0964014083, -1.014477849, 0.4888342023, 0.4259211421, -0.3286517262, 0.0007817315, -0.29269889, -0.7817815542, 1.1404557228, 0.3855939806, -0.7355831265, 0.3489548564, 0.2122813761, 0.5442290902, -0.3484178185, 0.3287968636, 0.3775355816, 0.5709531903, -0.1144655645, -0.8557452559, -0.3621274531, -0.6872550249, 0.6396088004, -0.0894368067, -0.7865229845, 0.7442405224, 0.0046133753, -0.0806604624, 0.338293463, 0.4243683219, 0.3520858586, 0.2773058414, 0.4365972281, 0.4958156347, 0.6074483395, -0.1342643052, 1.1046648026, -0.2803673446, -0.0446681418, 0.965808928, -0.4397469461, 0.9985904098, 0.4776314497, -0.1837330312, 0.2869370282, 0.2663777173, -0.1430990994, 0.5888656378, -0.0578915961, -0.1153459027, -0.3596507311, -0.1512531042, -0.556150198, 0.7051297426, 0.3158670366, -0.045992922, -0.0116381831, 0.3350214064, -0.5026999116, 0.2379352897, -0.4541340172, 0.596718967, 0.022403378, -0.8685099483, 0.6036670804, -0.0299361944, 0.4628429711, -1.0595499277, 0.1295608878, -0.3213780224, 0.4972516596, 0.1931542158, -0.8401159048, 0.1073983535, 0.1912766546, -0.0720777661, -0.1806083322, 0.5835724473, -0.1894377619, -0.5388094187, 0.2873046398, 0.4100051522, 0.1093790084, 0.2266140282, -0.8533617854, 0.4467003942, -0.054221075, -0.0780474171, 0.2928573787, 0.3661703467, -0.0687608868, 0.6825814247, 0.4309481978, 0.1874854565, 0.0921681598, 0.3792188168, 0.4685932696, -0.6649097204, -0.4412676096, -0.6559238434, 0.4461458623, -0.3623614013, -0.5823529363, 1.0010530949, 0.6560158134, 0.9630219936, -0.1491581947, 1.0828059912, 0.2079553753, 0.2177999616, -0.6592717171, 0.5699320436, -0.8637320995, 0.131739974, -0.2367068082, -0.8476734161, -0.1023597419, 0.8477916121, -0.3661675453, 0.1707101911, 0.5565912127, 0.6293169856, -0.2707929909, -0.0485305898, 0.7987413406, 0.2313685715, 0.0367877036, 0.8587380648, 1.0052863359, -0.4801546633, 0.3167375624, -0.3511530459, -0.3023039699, -0.1611370593, -0.7431052923, -0.6724612117, -0.667062223, -0.3569544554, 0.1424482614, 0.3807472587, 0.2134828418, 0.8099500537, -0.5149405599, -0.5103099346, -0.2006565183, -0.2095549256, -0.5030277967, -0.1671585441, 0.0182575304, -0.4429423511, -0.5719108582, 0.3467847109, 0.5624191165, 0.1295700222, -0.5992816091, -0.3175348938, 0.3538679481, -0.2856027782, 0.3737646043, 0.5219391584, -0.878241539, -0.1276336908, 0.0218956564, -0.2023822814, -0.1710537225, 0.5485562682, -0.9009233117, 0.992315948, 0.2982882559, 0.5686500669, 0.8197334409, -0.451252073, 0.9087772369, -0.6595593095, 0.3493135273, 0.1437026709, 0.6102458239, 0.6044275761, 0.2413409054, 0.6441609859, 0.4078569114, 0.085563533, -0.8419008255, 0.2966795564, -0.865467608, -0.3226213455, 0.7925642133, -0.2378993332, -0.5057174563, -0.0090850499, -0.0897822678, 0.0322865844, 0.3449578881, 0.4889819622, 0.6596568227, 0.3066357672, -0.5274882317, -0.817651391, 0.3156790435, 0.4831923544, -0.623678863, 0.2269774079, 0.5034923553, 0.0900009722, -0.065851137, 0.7532157898, -0.3254274428, 0.81216681, 0.2756639719, -0.1983861327, -0.3182296455, -0.3001607358, -0.2632500231, 0.0686723888, 0.2531577945, -0.3385951519 ]
http://arxiv.org/abs/2404.07814v1
http://arxiv.org/pdf/2404.07814v1
MultiLS-SP/CA: Lexical Complexity Prediction and Lexical Simplification Resources for Catalan and Spanish
2024-04-11T14:57:19
2024-04-11T14:57:19
Stefan Bott, Horacio Saggion, Nelson Peréz Rojas, Martin Solis Salazar, Saul Calderon Ramirez
cs.CL
cs.CL
Automatic lexical simplification is a task to substitute lexical items that may be unfamiliar and difficult to understand with easier and more common words. This paper presents MultiLS-SP/CA, a novel dataset for lexical simplification in Spanish and Catalan. This dataset represents the first of its kind in Catalan and a substantial addition to the sparse data on automatic lexical simplification which is available for Spanish. Specifically, MultiLS-SP is the first dataset for Spanish which includes scalar ratings of the understanding difficulty of lexical items. In addition, we describe experiments with this dataset, which can serve as a baseline for future work on the same data.
[ -0.4299943745, -0.3914702833, 0.3908772171, 0.8129518628, -0.2547253668, 0.1906186193, -0.0237913653, -0.3261216879, 0.4702152312, 0.1059452221, -0.8914412856, -0.4023417234, -0.7080524564, 0.2156861126, -0.2434736788, 1.0430018902, 0.1094212532, 0.3966158032, 0.1204880551, -0.1286024898, -0.2512465715, -0.6485372782, -0.5416662097, -0.0985661373, 0.8359428644, 0.4573968947, 1.1947710514, 0.6241422296, 0.5704814792, 0.2924130559, -0.2931803465, 0.5197046995, -0.3912789226, -0.2213800102, -0.0967587903, -0.2610960305, -0.5218963027, -0.6110848188, 0.6240698695, 0.9776989818, -0.0822123066, 0.0924158469, 0.024210263, 0.9355223775, -0.5483529568, 0.5756905079, -0.5856571794, 0.2381798029, -0.2243618816, -0.5537609458, -0.1821248382, -0.3921278417, 0.0765471905, -0.6642534733, 0.6244703531, 0.0592896678, 0.339497, 0.8578590155, -0.5604405403, -0.7410068512, -0.7601260543, 0.6918004155, -0.0205486193, 0.4714074135, 0.1440718621, 0.2367663234, -0.4233582318, -0.7598657012, -0.3733474016, -0.1875853091, -0.0740126371, -0.1584937274, -0.0451421812, 0.1519894451, 0.2110996544, 0.4355561435, -0.5368483067, -0.2467162758, -0.9860085249, -0.4765785038, 0.4645521343, 0.2984135747, 0.2261814773, 0.1169190109, -0.3161480129, -0.0149127394, -0.8363382816, 0.1862791032, 0.336189419, 0.5239627361, 0.1490993202, 0.7573221326, -0.0909250975, 0.4924588799, -0.4059537649, -0.2351115942, 0.7550932765, -0.5075358152, -0.1435410082, 0.2679032981, 0.4456378818, -0.123795934, 0.3165709674, 0.0941564068, -0.0428722091, 0.2143948525, -0.1244690791, -0.363989085, -0.2646854818, 0.0000440848, -0.2063692957, -0.0003050617, 0.2481185794, -0.5449507833, -0.4771293104, -0.3538651764, 0.1390604824, -0.1691885591, -0.0716648549, 0.5619738698, -0.0044097346, -0.1788091511, 0.5482980013, -0.4050725102, 0.7643979192, 0.4513049126, 0.7377612591, -0.2687787414, -0.7524440289, -0.2758898437, -0.2062431127, -0.258125037, 0.6632840037, -0.1850731671, -0.0961668938, -0.5025592446, 0.1944067329, 0.0213854909, -0.1977048069, 0.9305892587, -0.1284382492, -0.3264034688, -0.4454239011, -0.2125983983, -0.0296054035, -0.2337350249, -1.229321599, 1.4343436956, -0.3713790774, -1.037974, 0.282150954, -0.373316139, -0.4328307509, -0.0636067837, -0.0000312811, -0.1185604185, 0.2662561238, 0.2474257052, 0.3282310069, -0.2985369265, 0.2104344517, -0.1463987976, -0.2436756939, 0.1930843145, -0.755621016, 0.512545228, 0.4569098353, -0.0918321237, -0.2883666158, -0.9069446921, -0.0924745873, 0.1345014125, -0.1799332798, -0.2847737372, 0.2631973028, -0.0374328531, 0.5549252033, 0.7869685888, -0.5109795928, -0.1291540414, -0.4495218694, -0.0952903703, 0.3903872073, -0.1662406027, 0.2195643336, -0.3648207784, 0.5923614502, 0.0560956188, 0.3178034425, -0.3029717207, -0.816224277, -0.6784691215, -0.2371946722, 0.0991770774, 0.6238380671, -0.6532432437, 0.2667526901, -0.2354041785, -0.7406342626, -0.4935094118, 0.1828944534, 0.4325119555, 0.0919683501, 0.5718246102, -0.0758950859, -0.6483858228, -0.6849595308, 0.0145804603, -0.0297150053, 0.2710705698, 0.0833491907, 0.3719709814, 0.1853904277, 0.7603106499, -0.4941700697, -0.4120238125, -0.2312103212, 0.1515838951, 0.171862781, 0.3851143718, 0.4366549551, -0.8883512616, -0.3850140572, -0.0819923803, -0.3909648955, -0.0457995757, 0.107984148, 0.503049314, -0.1466367394, 0.6696639657, 0.0732077807, 0.6432088614, 0.7959334254, -0.400441736, 0.5010012984, -0.9064173102, -0.0582358837, -0.6177258492, -0.1943961084, -0.061212711, -0.0062035755, -0.8356705308, -0.2223752439, 0.0605637245, 0.0353621505, -0.8890389204, 0.4967749119, -0.6058426499, -0.3443719149, 0.2229442, -0.3957797885, -0.1167304143, 0.6297718883, 0.2574094832, 0.8547638655, 0.6595730782, -0.632805109, 0.3652477562, -0.2642242312, -0.2990410626, -0.0943438932, -0.8472136259, -0.1885249019, -0.5964989066, 0.2907007039, -1.2925995588, -0.058309637, -0.1983529329, -0.2200524956, -0.3712016046, 0.1855517477, -0.7352256775, -0.5342092514, -0.361089468, 0.9684686661, -0.2433626205, -0.5511757135, 0.3275268674, 0.3649106324, -0.3787674606, -0.8875151873, -1.0174449682, 0.0240840539, 0.0276966672, -0.4149986804, 0.3653378189, -0.6417746544, 0.0178901367, -0.174697578, 0.0937516913, -0.4199657738, -0.1910620779, 0.3651923537, 0.079450056, -0.1373270005, 0.3959226608, 0.3302696645, -0.0806142911, -0.2879959941, 0.2530106604, 0.7100741863, -0.6406676173, -0.7373403311, -0.5009247065, 0.1086490005, 0.8502592444, -0.086893402, 0.5764945149, 0.3685605228, -0.5911262631, -0.0773004293, -0.5697164536, 0.2633395195, -0.4329887927, 0.3664726913, -0.9097363353, -0.4216454029, 0.783013463, -0.0109326653, -0.0476410165, 0.6220446825, 0.7400755286, 0.2748931348, 1.1527580023, 0.6156921387, 0.0403009281, 0.0552874953, -0.0627028197, 0.0347288586, -0.005606527, -0.6807678938, -0.7228403687, -0.1808306426, -0.4578514695, -0.6129572392, 0.3278191388, -0.2491094172, -0.1328365207, 0.267881602, -0.4647791684, 0.9853220582, 0.2103217244, 0.1461722255, 0.6431605816, 0.0616539344, -0.3048990965, -0.3310459554, -0.8087214231, -0.2485523373, 1.1234519482, 0.6192458272, 1.0479512215, 0.2183004916, 0.5433262587, 0.4623669088, -0.3865348995, -0.8672752976, 0.2652400136, -0.6036892533, -0.3209824264, -0.3668189049, -0.3850449324, -0.9173306823, 0.2835909128, -0.2917731702, -0.3707751334, 0.4714911878, -0.0553363487, -0.3870528638, 0.1848734766, -0.9933148026, 0.5233920217, -0.2264777869, 0.1424899995, -0.2030708492, -0.604419589, 0.1658998281, -0.1950026602, 0.6060679555, -0.0542464405, -0.3665372133, 0.5625116229, -0.5400629044, 0.7218698859, -0.0644955635, -0.0047871694, 0.1922900528, 0.1216099858, 0.3041714728, 0.0052111009, -0.3095508218, -0.0752863586, 0.2539590895, -0.3209096491, -0.3928615749, 0.6915427446, -0.7832770944, 0.2271264642, -0.6242685318, -0.6922883391, 0.0581282862, -0.0178911835, 0.1602505594, 0.5992501974, -0.511285305, 0.1268076301, 0.6816919446, -0.2545210421, 0.2346491665, 0.3743671477, 0.1167823672, -0.3535864651, 1.0516443253, 0.242075488, 0.0118251033, 0.1107751578, 0.2324175388, -0.6177917123, -0.3349516094, -0.3470070064, 0.3102481961, -0.8372858763, -0.196661219, -0.5815565586, -0.3735541999, -0.2800545096, -0.1121130288, -0.5745863914, -0.896936357, -0.4077737331, -0.0770352855, 0.1423242092, 1.2207970619, -0.0715840012, 0.3511051238, -0.4327792227, 0.5022124052, 0.1053777859, 0.164205417, -0.0703179166, -0.3187241852, 0.002170186, -0.1274549365, 0.1496534646, -1.0166662931, 0.5823194385, 0.6243356466, 0.5289749503, 0.4057047069, -0.1164854988, 0.8752277493, -0.5015004873, 0.5464179516, 0.287150979, -0.9837725163, 0.3117438555, 0.1310908943, 0.2256809026, 0.6320909858, 0.5106609464, -0.3288207352, -0.3940128386, -0.8126263618, -0.7594310641, 0.8754811883, 0.173447594, -0.1687261164, 0.0725943074, 0.3079282045, 0.2841805518, 0.2677761912, -0.9694184065, -0.7237487435, -0.084209308, -0.4852975905, -0.4623819888, -0.3972405791, 0.2965078056, -0.5044068694, 0.6001640558, -0.076612629, -0.054073751, 0.2079674155, -0.1838022918, 0.0020621312, 0.1901829094, 0.650485754, 0.6531820297, -0.0304364637, 0.4300994873, 0.6260787845, -0.5670269728, 0.0921807662, -0.0673630834, 0.3979925513, 0.1844966561, 0.2007893771, 0.6378074884, 0.2455391735, -0.8228160739, 0.6661508679, -0.1229448467, -0.1475475729, -0.4910621345, -0.2380913347, -0.0845149904, -0.0419683233, 0.422088474, 0.0954488739, 0.404530853, -0.5277646184, 0.1863407791, -0.0588146634, -0.1380449533, -0.2754507959, 0.2249287814, -0.3340591788, 0.0614082664, -0.0964036509, -0.5431877375, -0.5265623927, 0.9153363705, 0.5296087265, 0.1631641686, -0.3907303214, 0.2608676255, 0.5355188847, 0.5231227875, -0.5437472463, 0.7069006562, -0.0306920651, -0.6164599657, -0.2776144147, -0.6748416424, -0.5391916633, -0.1249476448, -0.5517037511, 0.7155991197, -0.5794123411, 0.1616527885, 0.1434101462, 0.0766041651, -0.894073844, 0.2267034054, 0.1019100845, 1.0300267935, -1.3630379438, 1.0749387741, 0.6184833646, -0.2550848424, -0.6490955949, -0.4908684194, 0.2479211986, -0.946256578, 0.771721065, -0.1425238103, -0.7161561251, -0.2090480328, -0.1517918557, -1.0775405169, 1.0218235254, 0.4023483694, -0.2048386633, -0.1482281834, 0.6776291728, 0.847890079, -0.4604285359, 0.3959456384, 0.6636713743, 0.4921302497, 0.5586943626, -1.1396448612, -0.2033347338, -0.3144777417, -0.1053004786, 0.079555735, -0.3343724906, 1.2879490852, -0.3116747439, -0.170562461, 0.1197154075, 0.694190979, 0.0013565037, 0.5274144411, 0.5933167338, 0.4916186333, 0.9871337414, -0.0605699271, 0.3634984791, -0.2924422622, 0.4844369292, 1.4009011984, 0.0875497609, 0.6604213715, 0.500223279, -0.2521423697, 0.4250213504, 0.6509090662, 0.1209019721, 0.3944991529, 0.389395088, -0.3474493623, 0.0984357595, -0.167205736, -0.4518589079, 0.4778152108, 1.0349886417, -0.1805077046, -0.4848763943, 0.0598141551, -0.2080150843, -0.0104918219, -0.6132989526, 0.7765154839, -0.3294970393, -0.3815799654, 0.5663346648, 0.0957986638, 0.6335036159, -0.6001598835, 0.0748734623, -0.0137990778, 0.1182407811, -0.444557786, -1.0067592859, 0.6233336329, -0.0551914163, -0.0180258024, -0.0659549832, 0.6285676956, -0.5387499928, -0.794282198, 0.4421987832, 0.8957111239, 0.6331273913, -0.1498786956, -0.8313057423, -0.0970514417, 0.0727938414, 0.2130961567, -0.0998623371, 0.8250522614, -0.0469684191, 0.920314312, 0.4746088982, 0.4390371144, 0.7878148556, 0.2225012332, 0.8736357093, -0.5830219388, -0.7810596824, -0.5326528549, 0.1501619369, 0.3457992077, -0.3343523741, 0.3429109454, 0.6940146685, 0.5907275677, 0.0322489887, 0.4981755018, -0.0254342649, 0.4961234629, -0.2248409241, 0.2430230528, -0.7811213136, 0.2500429153, -0.3259116709, -0.8350937963, -0.6604625583, 0.3148838878, 0.1980885863, -0.2033486664, 1.0401417017, 1.2784844637, -0.3816016614, 0.1469224989, 0.2965166867, -0.0735914111, -0.0697918981, 0.6821510196, 0.5477858186, -0.3888818026, 0.9154739976, -0.5986323953, -0.4216465056, 0.1469982713, -0.7608519793, -0.6878346205, -0.9793128371, 0.1929405183, -0.1609966606, -0.0805474892, 1.2275114059, 0.2824737132, -0.9650142193, -0.3622329235, -0.3915225565, 0.1511915475, -0.2108854502, -0.1311965287, 0.6568459272, -0.6124082804, -0.808363378, 0.5195189118, 0.0163435359, 0.2306367308, -0.4388189018, -0.2183686048, 0.0159556624, 0.0765608102, 0.4428639412, 0.4972903132, -0.820050776, 0.1153291836, -0.0576029941, -0.1748155206, 0.1240578964, 0.9043563008, -0.7925472856, 0.6079043746, 0.6078333259, 0.4660357237, 0.3619320989, -0.3410366476, 0.0117110079, -0.9866207838, 0.5465512276, -0.017120827, 0.7245168686, 0.0708784685, -0.3229301274, 0.3935670555, 0.1582957506, -0.2132950723, -0.4521287382, 0.1568072736, -1.2123761177, -0.2057365626, 1.0004355907, 0.0572049208, 0.0609647371, -0.6758121252, -0.4772465229, 0.0147717921, -0.3970756829, 0.482270509, 0.6793537736, 0.0134391347, 0.0119673144, -0.3026416004, 0.7282388806, 0.5626577735, -0.6622196436, 0.100898318, 0.4759514332, -0.0354397371, 0.3103723824, 0.6930390596, -0.2745595276, 0.4240670204, -0.1255381554, 0.067182295, 0.0302485246, -1.1571029425, -0.6038674116, 0.4704779088, 0.1683160365, 0.1758297682 ]
http://arxiv.org/abs/2404.07792v1
http://arxiv.org/pdf/2404.07792v1
Nostra Domina at EvaLatin 2024: Improving Latin Polarity Detection through Data Augmentation
2024-04-11T14:35:23
2024-04-11T14:35:23
Stephen Bothwell, Abigail Swenor, David Chiang
cs.CL
cs.CL, cs.LG
This paper describes submissions from the team Nostra Domina to the EvaLatin 2024 shared task of emotion polarity detection. Given the low-resource environment of Latin and the complexity of sentiment in rhetorical genres like poetry, we augmented the available data through automatic polarity annotation. We present two methods for doing so on the basis of the $k$-means algorithm, and we employ a variety of Latin large language models (LLMs) in a neural architecture to better capture the underlying contextual sentiment representations. Our best approach achieved the second highest macro-averaged Macro-$F_1$ score on the shared task's test set.
[ -0.7179579139, -0.2804841101, 0.6102548242, 0.3329425156, -0.6293691397, 0.2518694103, -0.2832440138, -0.6691724658, 0.8335859179, 0.461199373, -0.6822514534, -0.9111058116, -0.5918614268, 0.3946002424, -0.2572585046, 1.2816632986, -0.0540143289, 0.3255823553, -0.2958473563, -0.693831563, -0.1424599737, -0.5627153516, -0.3454280198, -0.4070895314, 0.8073074222, 0.5596672297, 0.3346870542, -0.0791021511, 0.4505102038, 0.2561329603, 0.0314488076, 0.1311330795, -0.2526295781, 0.4590523541, -0.0426403098, -0.6376040578, -0.9371207952, 0.1867070347, 0.4305929244, 0.3189982176, 0.4786601961, 0.064676404, -0.3933621645, 0.796559155, -0.3698599637, 0.2630694509, -0.4109100997, 0.0218653399, -0.0951479226, -0.3253701031, -0.2927779853, -0.2748832405, -0.0939567462, -0.2948877215, 0.1045914888, 0.0745857805, 0.5750089288, 0.4362982512, -0.6311573386, -0.0254850145, -0.6075849533, 0.9552509189, -0.5803646445, 0.2617732286, 0.1038932428, -0.0425584652, 0.1621424556, -0.1931079477, -0.6066319942, -0.0323254503, 0.1263555288, 0.2994441688, -0.3997119367, -0.0450581238, 0.0915683582, 0.1623755246, -0.3184277415, -0.160144195, -0.2561247945, 0.1269990653, 0.823058486, 0.1105736569, 0.433118701, -0.2513152361, -0.3750167191, -0.0252166707, -0.7147663236, -0.099327825, 0.8261417747, 0.1094114482, -0.360627532, 0.4731044471, -0.1962679774, 0.4117266536, -0.0729554147, 0.5820055008, 0.5164309144, -0.3474742472, 0.0510049202, -0.0539102145, 0.6575513482, 0.61314255, -0.0320356861, 0.1071189716, -0.3485671282, 0.4328156114, 0.2695083916, -0.5950633287, -0.1890795976, 0.5094689727, -0.1039181501, -0.4384393394, 0.0157884005, -1.2423112392, -0.5948198438, -0.8026976585, -0.0466989502, -0.381265521, -0.2987271249, 0.0634237304, -0.1762375534, 0.2326575071, 0.5319841504, -0.5410343409, 0.3739640713, 0.9677786827, 0.646848619, -0.2790280581, 0.0697698966, -0.6298149824, -0.6315433979, -0.13159661, 1.1704210043, -0.5964372754, -0.0929273739, -0.1475720704, 0.0603699461, -0.1502231359, -0.4145638645, 0.8711686134, -0.4983246326, 0.2581655383, -0.4222140014, -0.4266488254, -0.2601742148, 0.1622437388, -0.707279563, 1.1321918964, 0.3761484325, -0.9104460478, 0.0549113229, -0.6738282442, -0.2031249702, 0.2477955222, -0.0831710324, -0.5086377263, 0.4152747095, 0.055421792, 0.2822042108, -0.1595599204, 0.2449569702, -0.536169529, -0.1370572895, 0.4220379889, 0.0392118394, 0.7087524533, -0.0614081994, -0.8145298362, 0.3541424572, -0.62602669, -0.2271777838, -0.0856388733, 0.1129039377, -0.2732429802, -0.2215597034, 0.3070489764, 0.3432801962, 0.3432755172, -0.8615003228, 0.1415319741, -0.5626423955, 0.261190176, 0.7799125314, -0.1250037849, 0.663932085, -0.0793992579, 0.9016447663, -0.0632976517, 0.1365903616, 0.176309675, -0.6431818604, -0.9626820683, -0.2848975956, 0.2219093293, 0.6548258662, -0.622971952, 0.5162061453, -0.2240214795, -0.5174808502, -0.6441690326, 0.2530133724, 0.1669671088, 0.4519639611, 0.4931162, -0.3160223961, -0.930295527, -0.9806967378, -0.0205436461, -0.1203274801, 0.2562079132, 0.3140039742, 0.6677741408, -0.3352027535, 0.556062758, -0.2670609653, -0.1040278599, -0.4579322934, 0.6698631048, 0.1952002943, 0.2026484311, 0.7579036355, -0.772636354, -0.797501862, 0.1968484074, -0.5776423216, -0.5280245543, 0.3399581313, -0.1663437337, 0.4605509639, 0.1607141644, -0.4236348569, 0.3557554781, 0.6718382239, -0.5682538152, 0.3835693002, 0.13880831, 0.3968046606, -0.763070941, -0.0863720626, 0.1505265385, -0.398789525, -0.8969732523, -0.2034387589, 0.180526197, -0.0256011859, -0.4718003869, 0.4627153873, -0.2851088345, 0.0128802098, -0.6321112514, 0.2077808082, 0.2682186663, 0.4871293604, 0.0919735432, 0.6650426388, 0.6428312659, 0.0843753219, 0.5995076299, 0.0694494769, 0.0799272656, 1.1309691668, -0.5355221033, 0.1513229907, -0.6113887429, 0.3138605058, -1.0604143143, -0.0797574222, 0.3224699199, -0.6083973646, 0.1855655313, -0.1842915416, -0.2327774912, -0.3129980266, -0.5981114507, 0.5905910134, 0.359867692, -0.3751198351, 0.8283264041, 0.3742749393, -0.4632633924, -0.3420594633, -0.289465934, 0.3428654671, -0.4018210173, -0.7240775824, 0.2678514123, -0.1549689919, -0.4148703516, -0.1474301964, 0.2433909774, 0.1910767108, -0.0177848712, 0.472094357, 0.5687820315, -0.0501889698, 0.154098168, 0.1164986417, -0.1364440173, 0.2482845485, -0.0341892317, 0.7553706169, -0.4118048847, -0.1430366784, -0.6606711745, 0.5576441288, 0.8094510436, -0.3238452971, 0.6456261873, 0.5933160782, -0.2289304733, -0.1844883561, -0.6129618287, -0.126965642, -0.3809874356, -0.0496897697, 0.1027544141, -0.7187207341, 0.7417435646, 0.1399836987, -0.3638147712, 0.4022605717, 0.4414743781, -0.2690654993, 1.0830293894, 0.5154415369, -0.498291105, 0.601231873, -0.490601182, 0.5052117705, -1.0582993031, -0.1527710259, -0.4958803356, -0.4698860049, -0.3959887326, -0.6913561225, 0.4524677992, -0.4957862496, 0.2312344164, 0.4008096159, -0.4151840806, 0.2692909241, 0.4442659616, 0.0885758027, -0.0526455678, -0.1322945952, 0.2716944516, -0.2454976439, -0.27171579, -0.2831285298, 1.2361352444, 0.3132802248, 0.0738176554, -0.1417472064, 0.8623456955, 0.4130266905, 0.7569665313, -0.8120434284, 0.55621171, -0.1188791618, -0.3266327977, 0.0930762067, -0.1577021778, -0.61436975, 0.0615796149, -0.2570508718, -0.4697758257, 0.4057601392, -0.0186885651, -0.2677311301, 0.0370803997, -0.4826462865, 0.7408956289, -0.1700419486, -0.3888191283, -0.1446170956, -0.4483089447, 0.1994343102, 0.188578099, 0.3916194439, -0.27784127, -0.1943543851, 0.7676271796, -0.1148756966, 0.8968068361, -0.3809105456, 0.0368059799, 0.3743874431, -0.1498524249, 0.7100759149, 0.1585445106, -0.2488383353, 0.2266326696, -0.4317465127, -0.4242176116, -0.7257886529, 0.8003800511, -0.6378659606, -0.3284759521, -0.4875160754, -0.4775729775, -0.0213439874, -0.2555520236, 0.1403746456, 0.4343101382, -0.1218885407, 0.1599761993, 0.6552473903, -0.0327318236, 0.2853777111, 0.3861624002, 0.0723963678, -1.0330736637, 0.9805468917, -0.0592566803, 0.0033127558, 0.1191565394, 0.0242214166, -0.3990443945, -0.4712383151, -0.2961759567, 0.4462868273, -0.5585966706, -0.4768688083, -0.9149551988, 0.2241929621, -0.6653959155, -0.3192062974, -0.585739255, -0.4578900039, -0.4122604132, -0.441893518, 0.6111646295, 0.6749905348, -0.1370576918, 0.4421713352, -0.4305523932, 0.173610568, 0.0708423927, 0.0805048868, -0.4641905427, -0.4510359466, -0.1382660419, -0.1184815541, -0.2740242779, -1.1395998001, 0.8616970778, 0.0507335328, 0.194093883, 0.4430701435, 0.1648761779, 0.1730442196, -0.2038424313, 0.7862686515, 0.1385941058, -1.0772609711, 0.7463303208, -0.6290398836, 0.1038342342, 0.6904990077, 0.4177519679, -0.4599490762, -0.8627323508, -0.8145874143, -0.9537946582, 0.5411225557, 0.3784886599, 0.1174367443, 0.0055839103, 0.2864536345, 0.1432961375, 0.3506466448, -0.9559697509, -0.4029404521, -0.2303605229, -0.6059647202, -0.2393221557, -0.3740845621, -0.3100731671, -0.6289232373, 0.7238786817, -0.2634089887, 0.5019129515, 0.2457584888, 0.1499428898, -0.2819975317, 0.4049830735, 0.8335987329, 0.2274576128, -0.3343557715, 0.3730282485, 0.1493475586, -0.2163059264, 0.0618823096, 0.155056715, -0.2112670243, 0.2024121135, 0.3694418073, 1.0656425953, 0.1382983178, -0.6125946045, 0.7318040133, -0.1317050904, -0.23696962, -0.6411552429, -0.134431541, 0.0003683294, 0.3732972741, 0.1501260698, 0.1256105155, 0.3172802329, -0.5217418075, 0.155036509, 0.6577988863, -0.7641434669, -0.9284026623, 0.4594211578, 0.1980579644, -0.2800656855, 0.016954435, -0.5525084138, -1.2209966183, 0.7911052108, 0.1907448769, 0.9735231996, -0.3158138394, 0.6634923816, 0.3789399266, 0.1392109096, 0.105167605, 0.8285701275, -0.0943661854, -0.6813149452, -0.1775968522, -0.5216255784, -0.5075297356, -0.0794868991, -0.590747714, 0.497176677, -0.3870978057, -0.1954844594, -0.088186115, 0.1318496317, -0.600764811, 0.1528232843, 0.3326712847, 0.3249075711, -1.3997391462, 0.5194911361, 0.8060162067, -0.2459270656, -0.1574654728, -0.5622749329, 0.0386546403, -0.4761146903, 0.751806736, 0.3004640341, -0.1669944227, -0.3461844623, -0.7272284031, -0.6809023023, 0.9079527855, 0.2078173161, -0.2187406719, 0.5426039696, 0.2620114982, 1.053103447, -0.8431161046, 0.3626459837, 0.5757569671, 0.7284381986, -0.0775886774, -0.2175151259, -0.1091503799, -0.5889692307, -0.4163529277, 0.3486265242, -0.6275044084, 0.9335100651, 0.3633197546, -0.1380120069, -0.2374861836, 0.7149588466, -0.0351910852, 0.8104299903, 0.5837603807, 0.8596152663, 0.6100728512, -0.0738151893, 0.8234205246, -0.5947734118, 0.2234931439, 1.1180417538, -0.4252820909, 0.7561144829, 0.668015182, -0.0865701288, 0.8461222053, 0.362672776, 0.0918331221, 0.2453926057, -0.0245062616, -0.7713605762, -0.3452727795, -0.5445260406, -0.0905443877, 0.3375302553, 0.332906872, -0.3496097624, -0.0906945989, 0.2839949727, 0.0539637357, 0.1531079561, -0.2128930092, 0.6440148354, 0.0743166655, -0.7406365275, 0.3765200377, -0.1631649435, 0.6423806548, 0.1877963394, 0.0904218778, -0.4196691811, -0.1913917214, -0.3170321584, -0.542517364, 0.4316450953, 0.1911754757, -0.1231498495, -0.441865176, 0.8150442243, -0.426758498, -0.802411139, 0.8056821227, 0.3098649383, -0.0176586732, -0.3355605602, -0.4331422448, 0.239569962, -0.0948675126, -0.121249184, 0.1481341124, 0.4682154655, 0.1380975842, 0.4047490656, 0.3636234403, 0.418754369, 0.0964764729, 0.33245942, 1.1734116077, -0.5527998209, -0.1998714954, -0.6723884344, 0.6241376996, -0.372385323, -0.1351945549, 0.6339166164, 0.3789090216, 0.4513131976, -0.0579812862, 0.5796841979, 0.145702526, 0.3405888677, -0.0893703848, 0.2926774919, -0.5748089552, 0.1037457362, -0.3388820589, -0.9124888182, -0.379852742, 0.3253868222, -0.733721137, -0.5022522211, 0.7303823233, 0.8429971933, 0.0144000323, 0.3173403144, 0.0818191841, 0.0161989927, 0.1610014141, 0.5424211621, 0.777143836, -0.602512598, 0.0205518417, -0.6143729091, -0.3234131336, -0.3486471474, -0.7529035211, -0.821424067, -0.5966832638, -0.6785106063, -0.3050503135, -0.2569217384, 1.0833511353, 0.2973546684, -1.1508535147, -0.0475336686, -0.3453944921, 0.4227505326, 0.1488639265, -0.2660074234, 0.0204098094, -0.2740910053, -0.9892759919, 0.4329836965, 0.686050415, -0.0087837595, -0.2900498211, 0.0184385851, -0.1697952449, 0.2450025976, 0.5283520222, 0.1137898043, -0.3375645578, -0.4269376993, 0.0841023475, 0.1292678416, 0.4141195416, 0.8840074539, -0.4977926612, 0.3502110243, 0.7479875684, 0.4514726698, 0.1873705089, 0.1789315641, 0.4971308112, -0.5025977492, 0.2860870361, 0.6383214593, 0.5058173537, 0.5411996841, -0.5216939449, 0.4216794074, 0.4977039993, -0.5765523911, -0.8675735593, 0.2514180839, -1.2968010902, 0.1752390563, 1.1254136562, -0.1256563514, -0.6800123453, -0.2358247042, -0.2112554312, 0.0709957033, -0.6774039268, 0.7740321755, 0.6922234297, -0.4223123491, -0.2560465336, -0.4345697165, 0.4621584117, 0.7968612313, -0.9879798889, -0.0510810204, 0.562722981, 0.039584484, 0.2699247897, 0.6394203901, -0.1095122099, 0.2220751494, -0.3788129091, 0.3303417563, 0.3313147724, -0.6380773783, -0.689971149, 0.1133254692, -0.1756823063, 0.1634949893 ]
http://arxiv.org/abs/2404.07775v1
http://arxiv.org/pdf/2404.07775v1
Discourse-Aware In-Context Learning for Temporal Expression Normalization
2024-04-11T14:13:44
2024-04-11T14:13:44
Akash Kumar Gautam, Lukas Lange, Jannik Strötgen
cs.CL
cs.CL, cs.AI, cs.LG
Temporal expression (TE) normalization is a well-studied problem. However, the predominately used rule-based systems are highly restricted to specific settings, and upcoming machine learning approaches suffer from a lack of labeled data. In this work, we explore the feasibility of proprietary and open-source large language models (LLMs) for TE normalization using in-context learning to inject task, document, and example information into the model. We explore various sample selection strategies to retrieve the most relevant set of examples. By using a window-based prompt design approach, we can perform TE normalization across sentences, while leveraging the LLM knowledge without training the model. Our experiments show competitive results to models designed for this task. In particular, our method achieves large performance improvements for non-standard settings by dynamically including relevant examples during inference.
[ 0.2318292111, -0.831325531, 0.7613083124, 0.2697263062, -0.4895076752, -0.1063091457, -0.3664311767, -0.3199029565, -0.1284586042, 0.3248612583, -0.3605318666, -0.6999266744, -0.4091948569, 0.2094261497, -0.1731412411, 0.7283809185, -0.0456885844, 0.0831685886, -0.0429274291, -0.2601504326, -0.4639229178, -0.2929780185, -0.6669050455, -0.24668549, 0.2474379539, 0.4436431229, 0.1423443854, 0.5856221318, -0.1442015469, 0.2653225958, -0.3216026723, 0.2225096524, -0.4921669364, 0.3107705116, -0.080592148, -0.3285219371, -0.2326299846, 0.0943243876, 0.9958862662, 0.9163247347, -0.0187842883, 0.2550460398, 0.1103428751, 0.0534368306, -0.5963535309, 0.5194569826, -0.6917306185, 0.2976238132, -0.0944457874, -0.1784294248, -0.6594956517, -0.6955431104, 0.1460609287, -0.7196272016, -0.1329486966, 0.0957006365, 0.8955547214, 0.1209186912, -0.7938973904, -0.0045162891, -0.7106562853, 0.8926566243, -0.9537763, 0.2030844092, 0.0105587803, 0.4213579595, -0.029767571, -0.8493254185, -0.367934078, -0.2042549402, -0.291359961, 0.0774492621, -0.2644405663, 0.0619542338, 0.5743706226, 0.1661045104, -0.3760361373, 0.3458274901, -0.0852161571, 0.1705417782, 0.0240708441, 0.2354272902, 0.1456536055, -0.1966521591, -0.3823480308, 0.3213616908, -0.6964319944, 0.2508201897, -0.1963862032, 0.4853410423, -0.0808564052, 0.5123569965, -0.2147832811, 0.8516674638, 0.0923867747, -0.2051272541, 0.1691789329, 0.0247446671, -0.6787475348, -0.216236189, 0.4779453278, 0.3092564344, 0.0921090096, -0.4402923584, -0.2991504073, -0.1047700718, -0.182495743, -1.045861125, 0.4679002464, -0.0838311166, -0.3803623617, -0.0523374565, -0.0867014974, -0.7046553493, -0.2273510247, -0.5872789621, 0.3683937192, -0.3768914342, 0.0588477887, 0.0182821453, -0.0886737108, 0.3069222271, 0.4965596795, -0.391551137, 0.3196680546, 0.4126338065, 0.696891427, -0.0793454573, 0.1057734489, -1.0196875334, 0.5086931586, -0.3952879012, 0.4281926155, -0.7260175943, -0.4368689954, 0.1119931489, 0.1373545229, -0.1000332162, -0.5624028444, 0.4485600889, -0.7107917666, 0.6110352874, -0.0023355128, -0.8261057138, -0.0966095924, 0.1134394258, -0.3641616106, 0.9571126699, 0.2387446016, -0.6314843893, 0.3639872074, -0.8942758441, -0.5111829042, 0.1830491275, -0.2860427797, -0.3627356887, 0.2591024935, 0.3178917766, 0.6052010059, -0.2135675251, 0.6644317508, -0.1266794801, -0.5028652549, 0.0635121092, -0.2928622961, 0.9052904248, 0.3617171943, -0.4909716249, 0.2444402575, -0.6626784205, -0.0981182754, -0.0012605662, -0.3636060059, -0.3510865271, -0.2822421491, 0.0506232269, 0.3134618998, 0.0941868946, -0.7052815557, 0.2258876115, -0.4836168289, 0.5595766306, 0.8071286082, 0.1672266424, 0.5399945974, -0.2443573475, 0.5619619489, 0.1071080118, 0.0818796307, -0.3423719704, -0.2911767066, -0.5141397715, -0.4594186246, 0.3055184782, 0.6187224984, -0.7656373978, 0.4559907019, -0.4327708483, -0.2604009807, -0.2364532351, -0.2015043646, 0.3813396692, 1.2495033741, 0.4110305309, 0.11595276, -0.3355654478, -0.9657461643, -0.3458094895, 0.2074599713, -0.4746606052, 0.5296242237, 0.0640466884, -0.1894093901, 1.1505404711, -0.4250334501, -0.0224868748, -0.1149142459, 0.3769952357, 0.1940875202, 0.1262783557, 0.4923506975, -0.5160904527, -0.3933728337, -0.1791762561, -0.8276588917, -0.5146971345, -0.2046924531, 0.306363523, 0.300885886, 0.8663694263, -0.1705897599, 0.4850102365, 0.2285582572, -0.3442471027, 0.0439541861, -0.1479353011, 0.0431921966, -1.3813992739, 0.0766678751, 0.3181556165, -0.5859966278, -0.5784237385, -0.1157876998, 0.2466033846, -0.4403403401, -0.7645591497, 0.7828316689, -0.4518969655, -0.0058603734, -0.0489137918, 0.1767421812, 0.0524196513, 0.5580578446, 0.0449315943, 0.6789342165, 0.3479102254, -0.6107468009, -0.171152249, -0.097343646, -0.4498871267, 0.3918160796, -0.6941477656, 0.1116039902, -0.3414471745, 0.4436549544, -0.7531390786, -0.1803676933, 0.0840506032, 0.0133887697, 0.3665436208, -0.2127643079, -0.6880019903, 0.276055187, -0.1040049046, 0.3776105642, 0.6491853595, -0.6440506577, 0.8297969103, 0.3681096435, -0.090347819, -0.4616967142, -0.5709201694, 0.1678902358, -0.5452994108, -0.4824478924, 0.688996613, 0.1516404897, -0.3970299363, -0.2156034112, -0.014796285, 0.0411245935, 0.1995718479, 0.1782230586, 0.245069325, -0.1106356382, 0.501552701, 0.4601145089, 0.1662127376, -0.2783378661, -0.294213742, 0.2589204311, -0.1576935947, -0.1000078395, -0.6802799702, 0.6285035014, 0.4953869879, -0.1657647043, 0.5685003996, 0.4054899216, -0.7160314918, -0.3480314016, -0.426877141, -0.2468109876, -0.4680796266, 0.0282190517, -0.1840283573, -1.3808535337, 0.2133518606, -0.4984792471, 0.1933206171, 0.1575553417, 0.3608994484, -0.0478046536, 0.7811089754, 0.6635628343, 0.1087936759, 0.842703402, -0.0093951235, 0.1785307974, -0.6937090158, -0.0203108937, -0.3642361462, -0.3899969757, -0.4841056764, -0.3525775671, 0.6758443713, -0.1233781204, -0.5470756292, 0.0604256652, -0.2925761938, 0.5334444642, 0.3811634183, 0.2102905512, 0.3708924949, -0.1815095842, -0.2418692261, -0.1775904298, -0.5981599092, -0.6379419565, 0.7814357281, 0.2448171973, 0.5622048378, -0.0068827211, 0.4922697842, 0.1615611315, 0.4533018172, -0.6425411701, 0.6740451455, -0.2708483338, -0.1878418922, -0.3635852039, -0.5371915698, -1.0276844501, -0.0926268846, -0.1017205343, -0.9121139646, 0.1950059831, -0.1016988009, -0.5137978792, 0.1995221674, -0.8699758053, 0.7926552296, 0.1131771654, -0.2401925176, 0.0381735824, -0.8166114092, 0.1036068201, 0.0494386405, 0.266382277, -0.1169997156, -0.3616948128, 0.4854759276, -0.1227984577, 1.2904677391, -0.335863173, 0.1313528717, 0.1718967408, 0.031426765, 0.4996339381, 0.2286460549, -0.0906863362, -0.209281683, -0.3256157041, -0.3919414282, -0.6824910641, 0.6402643919, -0.5285375118, -0.6158593297, -0.2604797781, -0.5560645461, -0.3901681304, 0.1357670575, 0.2629273832, 0.4746346772, -0.3608941734, 0.3376564085, 0.8828133345, -0.2488696724, 0.7396773696, 0.6904593706, -0.1659733057, -0.0376298428, 0.482911706, 0.1765518785, 0.0348216109, 0.7315487862, 0.4292910695, -0.1935536414, -0.392744571, -0.2860321701, 0.1556752473, -0.6701554656, -0.2340690047, -0.6809338927, 0.0345465168, -0.5635254979, -0.1186408401, 0.0314092375, -0.6327430606, -0.6532859802, -0.105659008, 0.2671618462, 0.4330727756, 0.4637487531, 0.2626649141, -0.6811801791, 0.2475073338, 0.448979944, 0.2355917096, -0.2500410974, -0.6731084585, -0.0897421911, -0.2876698673, -0.3158607483, -0.936526835, 0.3323809505, 0.2825433314, 0.3822127283, 0.424779892, 0.0861433372, 0.3302853107, -0.6161843538, 0.9298560619, -0.2075637579, -1.1260348558, 0.722571075, -0.4861347377, 0.4779795408, 0.2105167061, 0.3757294714, -0.7734374404, -0.3373734653, -0.590718329, -0.7334118485, 0.4389741421, -0.1798944771, 0.1151366606, -0.1406187117, 0.5320174098, 0.1885886937, 0.19905141, -0.7168800831, 0.1883258969, 0.0205175374, -0.2044647485, 0.0824739039, -0.0135635948, -0.2005932182, -0.271424979, 0.4066712856, -0.3787533045, 0.1597048044, 0.0694522932, -0.2704463601, 0.087249428, 0.6456225514, 0.4967452288, 0.6639220119, -0.020392539, -0.1144465357, 0.4292733967, 0.2134179771, 0.0306853559, 0.1991249323, -0.4337144196, 0.1135118082, 0.0350623429, 0.7004467249, 0.4851203263, -0.7017249465, 0.556663692, -0.1828323454, 0.0988347083, -0.3189052641, -0.1660229713, 0.0998744443, 0.4164687395, 0.1983424872, -0.2390065789, 0.1896939874, -0.4957778752, 0.0177415609, 0.3470995426, -0.3249107003, -0.1721875221, 0.6262230277, -0.0058548274, -0.2709324956, 0.6034300327, -0.27614218, -0.062787123, 0.4576569498, 0.6242037416, 0.9489648342, -0.1880692244, 0.1210191697, 0.1467498094, 0.000631196, 0.0613933392, 0.3279599547, 0.0287052188, -0.4194846749, -0.5463556051, -0.3380175829, -0.4871777296, 0.1672468781, -0.4982536733, 0.561350286, -0.5561031699, -0.2599309087, -0.2382158339, -0.2807863057, -0.6686661839, 0.1861893535, 0.0232603978, 0.9359411597, -0.9357293844, 1.0349316597, 0.5936377048, -0.1663000733, -0.6735543013, 0.2167838663, -0.0918667093, -0.4024534225, 0.6086480618, 0.2268070281, -0.0742119774, -0.2241217643, -0.5559846759, -0.5113677979, 1.3280262947, 0.851142168, -0.4299713075, -0.381662339, -0.2078264207, 0.6536944509, -0.7857536077, 0.1486280113, 0.3741635382, 0.3690994978, -0.1026439741, -0.7135469913, 0.1835455447, -0.1947204471, 0.3827151954, 0.1338668764, -0.5866604447, 0.8391990662, 0.1170230433, -0.5429531336, -0.1264107823, 0.8184699416, -0.0024966595, 0.4411779344, 0.5414417982, 0.4878781438, 0.8104515672, -0.0098352106, 0.89211303, -0.1818660945, -0.0844373107, 1.4577111006, -0.2990637124, 0.6438897252, 0.492038995, 0.3508979678, 0.4791849852, 0.6614227891, 0.2593216896, 0.2995359302, 0.2949572802, -0.5782324672, -0.1078376547, -0.5073236227, -0.0658921227, 0.3259861469, 0.4735859334, -0.4963959754, -0.4444162846, 0.1637396514, 0.3287979066, 0.3271537125, -0.2704709172, 0.9000357389, -0.0311147533, -0.557690084, 0.4206922352, 0.1418995261, 0.6869101524, -0.4730030298, -0.096907936, -0.1744784862, -0.1583830714, 0.021867821, -0.4248183966, 0.4129747152, 0.1501065195, -0.0455112085, -0.5010988712, 0.5505541563, -0.390630424, -0.3525381386, 0.1881850064, 0.6049938798, -0.0917917117, 0.0884159282, -0.2707405984, -0.3119311035, -0.2392418385, -0.3085395992, 0.4515402615, 0.7888965011, -0.465158999, 0.4496878088, 0.1043176055, -0.1336719245, -0.0577994473, 0.1330687106, 1.0216515064, -0.4397416413, -0.5428506732, -0.6809931993, 0.5035883784, -0.2915945053, -0.3793054223, 0.5174115896, 0.5477129817, 0.7056599855, -0.0221323986, 0.5904063582, 0.391831696, 0.7674765587, -0.5907623172, 0.4284079373, -0.5788616538, 0.3801210821, -0.0945544541, -0.7584337592, -0.5333727598, 0.1622919887, -0.4162300527, -0.0705974698, 0.7245762348, 0.6983817816, -0.1338062137, 0.1075771675, 0.3906764984, 0.1924434006, 0.426874578, 0.6391482949, 0.4962238073, 0.055881612, 0.4457642138, -0.11575903, -0.6959847212, -0.1298002303, -1.3456770182, -0.9431357384, -0.6618843079, -0.2232955694, -0.0709783211, 0.0875174701, 1.2674068213, 0.6130331755, -0.5330209732, -0.2556732297, 0.2737374008, -0.0101109836, -0.1616643816, -0.2062366903, 0.2964542508, -0.5339012742, -0.8608059883, 0.6499425769, 0.2314278483, 0.1375622302, 0.2608115971, 0.3646903336, -0.1316906363, 0.2037210315, 0.7637457848, 0.205365777, -0.5784041882, -0.4615912735, 0.1805054098, -0.1146750599, 0.2144508362, 1.0716398954, -0.9691919088, 0.3557153344, 0.4617831111, 0.7897319198, 0.6167417169, -0.1744712144, 0.610915184, -1.1157512665, 0.2520078719, 0.6906163692, 0.6840603948, 0.3189381659, -0.4393430948, 0.3361934125, 0.162049517, -0.5257299542, -0.6014142632, 0.4721725285, -0.9305247068, -0.5224156976, 1.1386518478, -0.3547450602, -0.165436253, 0.0246282853, -0.1033430323, 0.5135923624, -0.6560292244, 0.9272036552, 0.4027765989, -0.2073787302, -0.1006646082, -0.3570195138, 0.437135905, 0.2155803889, -0.9314302802, 0.1666553319, 0.6184358597, 0.2639960349, -0.1221102104, 0.4988953173, -0.2751669586, 0.0462258086, -0.623713553, -0.2881152332, -0.1333669424, -0.2123903036, -0.5737295747, 0.3090618253, -0.1147839352, 0.0666395277 ]
http://arxiv.org/abs/2404.07768v3
http://arxiv.org/pdf/2404.07768v3
Using Letter Positional Probabilities to Assess Word Complexity
2024-04-11T14:06:39
2024-04-30T07:03:19
Michael Dalvean
cs.CL
cs.CL, I.2.7; J.4
Word complexity is defined in a number of different ways. Psycholinguistic, morphological and lexical proxies are often used. Human ratings are also used. The problem here is that these proxies do not measure complexity directly, and human ratings are susceptible to subjective bias. In this study we contend that some form of 'latent complexity' can be approximated by using samples of simple and complex words. We use a sample of 'simple' words from primary school picture books and a sample of 'complex' words from high school and academic settings. In order to analyse the differences between these classes, we look at the letter positional probabilities (LPPs). We find strong statistical associations between several LPPs and complexity. For example, simple words are significantly (p<.001) more likely to start with w, b, s, h, g, k, j, t, y or f, while complex words are significantly (p<.001) more likely to start with i, a, e, r, v, u or d. We find similar strong associations for subsequent letter positions, with 84 letter-position variables in the first 6 positions being significant at the p<.001 level. We then use LPPs as variables in creating a classifier which can classify the two classes with an 83% accuracy. We test these findings using a second data set, with 66 LPPs significant (p<.001) in the first 6 positions common to both datasets. We use these 66 variables to create a classifier that is able to classify a third dataset with an accuracy of 70%. Finally, we create a fourth sample by combining the extreme high and low scoring words generated by three classifiers built on the first three separate datasets and use this sample to build a classifier which has an accuracy of 97%. We use this to score the four levels of English word groups from an ESL program.
[ -0.1750812232, -0.690859437, 0.7650048137, 0.2925685346, -0.1018165648, 0.2315727919, -0.0843151584, -0.5712261796, -0.0823488384, -0.1290267855, -0.2534597814, -0.5776241422, -0.894100368, -0.0673309937, -0.0437037162, 0.5453998446, 0.0314403586, 0.0701629966, -0.1586243659, -0.1668245643, -0.3984973431, -0.4877696335, -0.3945385218, -0.4569919109, 0.6175057292, 0.4503007531, 0.9636849165, 0.4470162988, 0.6429004669, 0.4027929306, -0.3017941117, -0.0588402227, -0.3248642385, -0.0942380428, -0.0609864816, -0.7153460979, -0.3458534777, 0.1925919354, 0.3153838515, 1.3343725204, -0.2049330175, -0.1698648334, 0.0782334432, 0.9394577742, -0.6308728456, 0.2028450072, -0.426951319, 0.3298671544, -0.3739793897, -0.2409578711, -0.224626258, -0.3401564062, 0.4603859484, -0.4947555363, 0.2246910036, 0.2570486069, 0.5062265992, -0.1746750176, -0.2142499834, -0.7808458805, -0.8478988409, 0.8137603998, -0.4521462619, 0.2727496326, 0.4743180275, -0.0358421057, -0.5235975981, -0.34788692, -0.699954927, -0.4319325387, 0.020748321, 0.2157312483, -0.2143794298, 0.2936857641, 0.4168950319, 0.5883662701, -0.7687420845, 0.2127538472, -0.3817252815, -0.1805309206, 0.5302344561, 0.065166384, 0.41099599, -0.1228189841, -0.0723119676, -0.2621519864, -0.4926804006, 0.7033330202, 0.9296098948, 0.4182689488, 0.3016340733, 0.9638678432, -0.0740937889, 0.6160017252, -0.0245747436, -0.4233708084, 0.3496809602, -0.0292461775, -0.0733838305, 0.1996347755, 0.6380844116, 0.2552170753, 0.2798094749, -0.1123173758, -0.2114126682, 0.2455579191, -0.0044656205, -0.316124469, -0.3456254601, 0.2449091524, -0.2508054972, -0.2128993273, 0.3646623492, -0.2271055877, -0.3691028953, -0.1384438276, 0.6389006376, -0.5607914329, 0.158178255, 0.5333973765, -0.0569074601, 0.146469593, 0.1392202526, -0.6392426491, 0.2475452423, 0.6523264647, 0.8168234229, -0.2906892002, -0.5224861503, -0.1610729694, 0.0156766009, -0.3610582054, 0.8545660973, -0.6387028098, -0.421933949, 0.0270453561, 0.0823097527, 0.1587569416, -0.5582308769, 0.8716552854, -0.2743424773, 0.4822673202, -0.112228319, -0.8530887365, -0.1055587381, 0.0758502707, -0.6901810169, 0.9936484694, 0.0305740517, -0.9289146066, 0.4060819447, -0.0706209764, -0.6893354058, 0.1128763855, -0.1232808456, -0.2963347137, 0.224973321, -0.1151779518, 0.5196909308, 0.0138031235, -0.138240844, -0.2021275908, -0.6179355383, 0.3585169911, -0.3907812238, 0.3510855436, -0.1380131096, -0.3096692264, -0.2789735496, -0.8130834103, 0.1244907305, -0.02503548, -0.7340219617, -0.625056982, 0.1398663968, -0.1168332249, 0.0985894278, 0.2817252874, -0.4842138588, 0.4061235487, -0.6894439459, 0.200939849, 0.4424861073, -0.0700214356, 0.6471951604, -0.5148420334, 0.5834252238, 0.0947787091, -0.1226347983, 0.377633363, -0.8215296268, -0.4111151695, 0.012725207, 0.3872298002, 0.868884325, -0.5781425834, 0.6971969008, -0.2208250463, -0.804063499, -0.2583059967, 0.0171711445, 0.4765807092, 0.1696891785, 0.2438363433, -0.3794823885, -0.2255026549, -0.7574118376, -0.3867354393, -0.5170511603, -0.4608122706, 0.1011027023, 0.240060553, 0.1264320165, 0.5853824615, -0.7617797852, -0.3317229748, -0.0790309981, 0.5385180712, 0.5388104916, 0.2915664911, 0.2114705741, -0.4556553662, -0.1349896342, -0.5400443673, -0.419118464, -0.1153215915, 0.1646034122, 0.0736271441, -0.0583159439, 0.4092901051, -0.3893217146, 0.435721457, 0.4022240639, -0.446898669, 0.517113626, -0.6328900456, -0.0596652292, -0.6512544751, -0.2277214676, 0.0703124478, 0.1883454919, -0.6547698379, -0.2138668001, -0.3725913465, 0.1631127447, -0.3582534492, 0.1102713645, -0.5596072674, -0.0860851407, -0.0084592765, 0.0745613351, -0.2186980993, 0.4210558832, -0.0467236452, 0.4855102301, 0.3047531545, -0.4938601255, 0.1036145911, -0.3809936941, -0.8247766495, 0.4515049756, -0.6719603539, -0.1235993579, -0.304741621, -0.1205892488, -1.5097807646, -0.1129855216, -0.0078610666, -0.1570648253, 0.2034172714, 0.3915964663, -0.3479733467, -0.491168648, -0.3191094398, 0.2663796544, 0.2865927219, 0.0901284441, 0.3474897444, 0.6326195598, -0.2665385008, -0.6387858987, -0.6919807792, -0.1004172415, -0.0746801049, -0.5041787624, 0.4513038695, -0.3812633157, -0.3491447866, -0.0522834249, -0.3448858261, 0.0149866045, -0.091133371, 0.5688985586, -0.1473186314, -0.0817001835, 0.2443508059, -0.077765435, 0.1403104514, -0.1401384175, 0.0170521624, 0.5716701746, -0.4741256833, -0.3498075306, -0.1843783408, 0.2573256493, 0.7318015695, 0.2676329613, 0.548848331, 0.385809958, -0.5394644737, -0.0167994238, -0.2653572559, 0.1189642102, -0.437189728, 0.408390373, -0.6887251735, -0.6540641189, 0.5727840066, 0.2941594124, -0.1556842029, 0.3143924475, 0.4403123558, -0.3871645033, 0.979896009, 0.4316944778, 0.1367572099, 0.4272353053, -0.261269182, 0.3116742373, -0.3861169815, -0.3345884979, -0.2570125759, -0.6478577852, -0.8632514477, -0.4004687667, 0.2021360993, 0.3978903592, 0.0604150146, 0.2208389491, -0.3920811117, 0.6290795803, 0.6040138602, 0.2955650091, 0.2497431934, 0.1822554171, -0.1954535693, -0.2309113145, -0.6364349127, -0.6334426999, 0.9021984339, 0.5204590559, 0.7271270752, 0.5511268973, 0.5527364612, 0.4289061129, 0.1412458718, -1.3606874943, 0.6899787188, -0.6557757854, -0.1998445094, -0.7254459262, -0.1123111844, -1.2977333069, -0.0715473071, -0.4858999848, -0.4464358985, 0.3450750411, -0.2137561738, -0.4139662683, 0.1323183179, -0.6063290238, 0.2343248129, 0.0161507893, -0.4238775969, 0.0905339718, -0.5920271873, 0.2402619421, 0.0629387796, 0.4766514599, -0.1130265817, -0.1277404279, 1.0674312115, -0.678406775, 0.5534896851, 0.0245452914, -0.30091995, 0.3369272053, 0.1974292994, 0.3377307653, -0.3644215167, -0.1775728762, -0.0305874925, 0.0499209799, -0.3863186836, -0.586773634, 0.4595668018, -0.9842363596, -0.5400128365, -0.768075943, -0.5128275752, -0.2008154094, 0.1368051618, 0.4833258986, 0.5218786001, 0.0103182178, 0.4282638729, 0.5174138546, -0.116372183, 0.3597545326, 0.4882622063, 0.2619993985, -0.2776817083, 0.9195362329, 0.8658879995, 0.0474906377, 0.5922961235, 0.7047566772, -0.3970057666, -0.7065787911, 0.2078867406, 0.0347090885, -0.7005441785, 0.1669293344, -0.4090930223, -0.23558411, -0.3082992733, -0.3061545789, -0.0079872534, -0.4179247618, -0.0210033022, -0.0809339806, -0.1303756535, 0.893789649, -0.012710169, 0.4284618199, -0.363003701, 0.2269323468, 0.6689586639, 0.1723751724, -0.1263560951, -0.6408127546, 0.1874019355, -0.3302279413, -0.1053694412, -1.1456938982, 0.2548612058, 0.4836616814, 0.6881811619, 0.5698570609, 0.0774033815, 0.4834681451, -0.5163089633, 0.894898653, 0.2475572675, -0.9357461929, 0.3076179624, -0.1856127083, 0.3813060224, 0.6375982165, 0.5642140508, -0.254057765, -0.6515069604, -0.8421038985, -0.9986718297, 0.3711958528, 0.267926544, -0.2549049556, 0.0175459608, 0.5473935008, -0.1853381842, 0.1509486437, -0.5998775959, -0.3141953647, 0.1780447215, -0.4838752151, -0.2327314913, -0.438313812, 0.0482222624, -0.1092242822, 0.3239658773, 0.1145519018, 0.1315519959, 0.265712589, -0.078689985, -0.0800106376, 0.4789399803, 0.7790462375, 0.664206624, -0.512593329, 0.6499245763, 0.1546229273, -1.0836793184, 0.5116837621, -0.1974301189, 0.0517178513, -0.0231054593, 1.0224875212, 0.439034462, 0.3684515059, -0.5369668007, 0.7471324801, -0.1208369881, -0.2190502882, -0.3203791678, 0.0766021609, 0.0749842227, 0.1475730985, 0.263843894, 0.0329608731, 0.3413508832, -0.9366064072, 0.1771528423, 0.057883542, -0.382383734, -0.269138068, 0.1533281356, 0.0034412518, -0.5740399957, 0.3048576415, -0.5581426024, -0.5904454589, 0.6052863598, 0.4901106656, 0.6105794907, -0.3058376908, 0.1494164914, 0.4943384826, 0.446706444, -0.5337765217, 0.6997313499, 0.2721157968, -0.8149836063, -0.129440546, -0.8788095117, -0.6089359522, 0.3271077573, -0.5093093514, 0.1928049177, -0.5610995889, -0.2438160777, 0.0630692691, 0.3758758008, -0.6756336093, 0.296238482, 0.2860481143, 0.6639595628, -1.2026906013, 0.5520670414, 1.0242317915, -0.1951411366, -0.9794416428, 0.2166436911, -0.170102641, -0.5993211865, 0.8735317588, 0.3096287251, -0.5204648376, -0.1694235206, -0.3553689122, -0.5531449318, 0.9919627905, -0.1031324863, -0.9622200727, -0.1253246218, 0.3172146082, 0.8275467157, -0.1881698668, 0.2745909393, 0.398057729, 0.3580622375, 0.3500648439, -0.5409656763, -0.0929245651, -0.1128053218, 0.1025559306, -0.1667601764, -0.1019520462, 0.9426726103, -0.3602298498, -0.3954046369, -0.1316783875, 0.723013401, 0.4828519225, 0.3847284913, 0.9845247269, 0.5511830449, 1.1625250578, -0.1450590193, 0.7243466973, -0.4828693569, 0.2253710777, 1.0833451748, 0.0357774012, 1.1811634302, 0.3979432881, -0.7316622734, 0.4966810048, 0.7072640657, 0.1596584022, 0.4286610782, 0.7783028483, -0.3536619842, -0.2791604996, 0.0028262651, -0.1563033015, 0.6419428587, 0.6110264659, -0.2040818781, 0.1547959, -0.0507302992, -0.1167312711, 0.1923214197, -0.3926855326, 0.4698106945, 0.0864153355, -0.5917382836, 0.3112637401, 0.114904739, 0.7413446903, -0.4887901843, 0.2066914141, -0.0167618021, 0.1120887846, -0.2677814066, -1.5483733416, 0.0952745527, -0.3058006763, -0.2917965353, 0.144286409, 0.7504025698, -0.6346127391, -0.7333154082, 0.0640547425, 0.6124651432, 0.4082670808, 0.1276644617, -0.4425447285, -0.2279150933, -0.4761795402, -0.4971162975, -0.0906538144, 0.6977081895, 0.1276878864, 0.5398952365, 0.4684765935, 0.5223227739, -0.0027242303, 0.1210164949, 0.3896602988, -0.528606534, -0.5893883705, -0.7967050672, 0.015337605, 0.1686681956, -0.4638930857, 0.5359535217, 0.3233833909, 0.6269018054, -0.0788180456, 0.6174641848, 0.0192297529, 0.3075858653, -0.5180581212, 0.3967633247, -0.5314590931, 0.3730415404, -0.5361636281, -0.942052424, -0.5604308248, 0.863250792, -0.6288428307, -0.1827052236, 0.672221005, 0.7000638843, 0.1320565343, -0.1054400653, 0.5182723403, 0.2173614502, 0.1721137762, 0.7856844068, 0.7016462088, -0.4548010528, 0.3223666549, -0.3082973063, -0.4766225219, -0.2276844978, -0.9010045528, -0.8414826393, -0.6831336021, -0.2079695612, -0.5445846319, -0.1090911552, 0.9293689132, 0.2507115304, -0.6933587193, -0.1693066359, -0.0745270327, 0.2341227531, -0.2744274437, -0.2191708088, 0.6449964046, 0.0922162309, -0.7362472415, 0.1288509965, 0.1422679424, 0.3238474429, -0.3640826643, 0.1710535437, -0.1825295091, 0.1923137009, 0.9508882761, 0.1581940204, -0.75151968, -0.7413755059, 0.0366532914, -0.3219226003, -0.1027331278, 0.5666951537, -0.4276355505, 0.3777157962, 1.0535625219, 0.1338758022, -0.1644022614, 0.0199354347, 0.2698730826, -0.8304530978, 0.0143007077, 0.1434525102, 0.369590193, 0.2975986302, -0.2230715752, 0.4287338257, 0.5828217268, -0.4988589287, -0.6855526567, 0.3643345535, -1.1245536804, -0.4083424807, 1.1508154869, -0.1229577139, -0.2654111981, -0.3230913281, -0.1784857213, 0.153534025, -0.2191119939, 0.7829889655, 1.0947284698, -0.2818372846, 0.1470103264, -0.3043264449, 0.5714075565, 0.2759104371, -0.4191769361, -0.2830800116, 0.0656934604, 0.2731280923, 0.652608633, 0.5147899985, 0.0338581391, -0.2610238492, -0.0426882207, 0.0314262249, 0.2430315465, -0.3868522942, -0.3618199527, 0.8202987313, 0.2171991616, 0.0334483944 ]
http://arxiv.org/abs/2404.07765v1
http://arxiv.org/pdf/2404.07765v1
AnnoCTR: A Dataset for Detecting and Linking Entities, Tactics, and Techniques in Cyber Threat Reports
2024-04-11T14:04:36
2024-04-11T14:04:36
Lukas Lange, Marc Müller, Ghazaleh Haratinezhad Torbati, Dragan Milchevski, Patrick Grau, Subhash Pujari, Annemarie Friedrich
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Monitoring the threat landscape to be aware of actual or potential attacks is of utmost importance to cybersecurity professionals. Information about cyber threats is typically distributed using natural language reports. Natural language processing can help with managing this large amount of unstructured information, yet to date, the topic has received little attention. With this paper, we present AnnoCTR, a new CC-BY-SA-licensed dataset of cyber threat reports. The reports have been annotated by a domain expert with named entities, temporal expressions, and cybersecurity-specific concepts including implicitly mentioned techniques and tactics. Entities and concepts are linked to Wikipedia and the MITRE ATT&CK knowledge base, the most widely-used taxonomy for classifying types of attacks. Prior datasets linking to MITRE ATT&CK either provide a single label per document or annotate sentences out-of-context; our dataset annotates entire documents in a much finer-grained way. In an experimental study, we model the annotations of our dataset using state-of-the-art neural models. In our few-shot scenario, we find that for identifying the MITRE ATT&CK concepts that are mentioned explicitly or implicitly in a text, concept descriptions from MITRE ATT&CK are an effective source for training data augmentation.
[ -0.3899573684, -1.0884693861, 0.1329753101, -0.2183209062, -0.261393249, 0.3657409549, -0.2167192698, -1.0297361612, 0.3926252723, 0.4368298352, -0.4070370495, -0.5530132651, -0.4536722004, 0.2430789918, -0.6537329555, 1.4234070778, 0.1604323685, -0.4036870897, -0.2107593864, 0.24112688, -0.535382688, -0.6539103985, -0.744720757, 0.1146374419, 0.3778206706, 0.2284045517, 0.4286783934, 0.5303291678, 1.0724672079, 0.2953849733, 0.085331507, 0.0868087709, -0.2141931802, 0.0101968981, 0.0703902543, -0.2512471378, -0.4160964191, -0.070648849, 0.1570430249, 0.2698713541, 0.13909325, 0.2438153177, -0.0493030883, -0.0530801006, -0.5899953246, -0.0205408223, -0.9283049107, -0.0527933687, -0.4058338702, -0.4300665855, -0.5377539992, -0.3213616014, 0.5076296926, -0.8706843257, 0.0904922187, 0.2926388383, 0.4217689633, 0.2822541893, -0.2755203247, -0.4347048998, -0.5182008743, 0.3925589621, -0.3670161664, 0.0725010261, 0.486820668, 0.4339503944, 0.1386220902, -0.7388463616, -0.3897671103, -0.2219666094, -0.3948854506, -0.2544602156, -0.555065155, 0.0157262981, 0.2000181377, -0.0087960325, -0.4849867821, 0.1063301116, -0.6459656954, -0.5363751054, 0.7058392167, 0.1692025363, 0.2861412466, -0.1401195079, -0.8645282984, 0.0896359682, -0.4696766436, -0.1493297815, 0.4290153384, 0.4765045047, -0.4552934766, 0.4403736293, -0.0897525772, 0.7911661267, -0.0020998428, -0.2098568827, 0.130273208, -0.482092768, -0.0817751065, 0.6741803288, 0.6826643348, 0.3532119393, 0.3113414347, -0.2848290801, -0.2789497375, 0.2442252338, 0.7785940766, -0.561689496, -0.522781074, -0.1135027334, -0.1473665386, -0.6271235943, 0.2036973238, -0.8279480934, -0.5619576573, -0.4995310903, 0.2453145385, -0.5548937321, -0.0295683835, -0.2880883813, -0.1272552907, -0.1787228435, 0.2982264459, -0.3926469088, 0.6467441916, 0.6060197949, 0.6782177091, -0.2784928083, 0.0389401317, -0.4221743345, 0.004734138, -0.1931092888, 1.085275054, -0.6996503472, -0.0165263209, 0.1562658399, -0.3469195366, 0.0644074157, -0.2224504352, 0.4389618933, -0.6575266719, 0.0292007793, 0.0603689589, -0.3842688203, -0.289531976, 0.6266050339, -0.667276144, 0.844065547, 0.0303407144, -1.0456410646, 0.51853019, -0.9456638098, -0.599478364, 0.3101876676, -0.1154444218, -0.1560466886, -0.1820846796, 0.0658056065, 0.2263174504, -0.486704886, 0.0185755137, -0.0188511107, 0.0071371067, 0.4073688984, -0.2527095377, 0.6052750945, 0.1102292165, -0.2454464138, 0.1059735045, -0.6809124351, -0.0345875621, -0.0177638531, 0.0359739959, -0.5943201184, -0.0579222888, 0.1261696517, 0.0980618596, 0.2424791604, -0.6466875672, 0.0843157545, -0.2330592424, 0.3161652386, 0.5443201065, 0.3058350384, 0.3083865047, -0.2889096141, 0.3972205222, 0.1663870662, 0.4165333509, -0.1993101388, -0.2598510981, -0.5893968344, -0.3167467415, 0.0725350156, 0.7437687516, -0.9137477875, 0.1714917123, -0.2675490379, -0.4552392364, -0.4927832484, -0.0066745351, 0.2506815195, 0.8078268766, 0.7793979645, -0.0081782453, -0.7070084214, -0.9285587668, -0.0972438678, -0.2623873055, 0.1034438908, -0.0087499563, 0.6162821651, -0.0729941502, 1.0862234831, -0.6264255047, -0.4483183324, -0.1827236265, 0.6210530996, -0.1940903515, 0.2078876048, 0.6059736609, -0.9689659476, -0.4629427493, 0.109456934, -0.6748820543, -0.0844300464, -0.3281528354, 0.1555905491, 0.1376483738, 0.5562782884, -0.3259911537, 0.6432368159, -0.0922389328, -0.220171243, 0.3534513414, 0.1820778847, 0.2458366305, -0.9963520765, 0.0939027965, 0.0734510049, -0.131447807, -0.9962005019, -0.0287733171, -0.2514820099, 0.0617320426, -0.680734694, 0.4079955518, -0.1031953841, 0.0986530632, -0.2241845429, 0.3500904441, -0.1916618794, 0.2539038658, 0.1299372315, 0.5240407586, 0.5045699477, -0.7329673171, 0.5064231157, 0.4233168066, -0.1457064301, 0.8522247672, -0.6027597785, 0.3002175987, 0.0614772551, 0.1059084013, -0.63107723, -0.3182660341, 0.4787507355, -0.6678129435, 0.3105817139, -0.0138182659, -0.5441184044, -0.178657636, -0.4333036244, 0.4164168537, -0.1499808431, -0.2996404767, 0.5116968155, 0.5219234824, -0.1130573899, -0.5546589494, -0.8866487145, 0.2652348578, -0.2973650992, -0.3879592419, 0.4204783142, -0.0430523865, -0.4551587403, 0.0252085775, 0.1270999312, -0.3558468819, 0.2444561869, 0.385103792, 0.5955951214, -0.040403042, 0.0563577302, -0.4712972641, -0.1181304753, 0.283634603, -0.2887110412, 0.3794178963, 0.1195780486, -0.151708737, -0.4905768633, 0.231163308, 0.1079679206, -0.1853265911, 0.6716070771, 0.6869772077, -0.5636048913, 0.0240611974, -0.4436689019, -0.4791590273, -0.3882561624, 0.0521735363, 0.1263801903, -0.8256446719, 0.3746719658, 0.2540115416, 0.2236589491, 0.5017701387, 0.0943480507, -0.0238435008, 0.3531468809, 0.6924817562, -0.3726476133, 0.4170770943, -0.1235928982, 0.4084017873, -0.6591883898, -0.4091999531, -0.4600171447, -0.3024024367, -0.6770942211, 0.0043138475, 0.3161039352, -0.3703425825, -0.3253076971, 0.7957063317, -0.6763477921, 0.2303491086, 0.3143037856, 0.1385264844, 0.2918844223, 0.0079271644, 0.0446514748, 0.0970065594, -0.4798686802, -0.4662991762, 1.0311430693, 0.2333253324, 0.5988637805, 0.0057674544, 0.5708436966, 0.7308692932, 0.3632923067, -0.653321445, 0.5441307425, 0.1107426137, -0.8112312555, -0.0654966757, -0.3579312861, -0.6847205758, -0.4151604772, -0.5573946238, -1.0332251787, -0.0659752116, 0.1528656632, -0.5440862179, 0.3061217666, -0.2216886133, 0.5098665357, -0.2251045257, -0.1592872143, -0.0841929987, -0.7562589645, 0.2250084281, -0.4052509069, 0.2015750408, 0.12556988, -0.0745488703, 0.685770154, -0.2690575719, 1.0923266411, 0.2105274647, 0.2559292316, 0.75604707, -0.0100672124, 0.5238590837, 0.1146675572, 0.1189845651, 0.1858856827, -0.3709118664, 0.1349040717, -0.224610284, 0.3759971559, -0.4819582403, -0.1757092327, -0.613450408, -0.4066180587, 0.2188984305, 0.1913895905, 0.5160107613, 0.6286937594, -0.3302378953, 0.1302180439, 0.5645659566, -0.0994312391, 0.4485598803, 0.3765470684, 0.2709743381, -0.5435316563, 0.691311717, 0.1298725009, 0.3053931594, 0.8331428766, -0.1743252277, -0.136189431, -0.5140629411, 0.0689411983, -0.317982465, -0.6745497584, -0.8978242874, -0.6605628133, -0.3490873277, -0.3379360437, -0.450266391, -0.0141674336, -0.2958474457, -0.1946669072, -0.33882761, 0.995863378, 0.7548583746, 0.0673752353, 0.773626864, -0.4618113637, 0.3163854182, 0.0555820353, -0.1592084318, -0.3021553755, -0.3050855398, -0.2015199959, 0.2315661609, -0.2563765943, -0.8052523136, 0.4083586633, 0.0527357385, 0.3797856271, 0.2562334836, 0.4167664349, 0.4551663399, -0.2402248681, 0.7659758925, 0.2447923124, -0.7162168622, 0.6787434816, -0.2371921688, 0.0527038388, 0.8073506951, 0.6477633119, -0.3259263635, -0.1813220233, -0.7574175, -0.8314780593, 0.6599154472, 0.231134668, -0.1159783527, -0.3227206767, 0.1066198796, -0.1417284012, 0.3866909146, -0.6334118843, -0.2588955164, -0.0005668901, -0.1484491527, 0.3572780192, 0.024261497, -0.2380401045, -0.0273339339, 0.5715528131, -0.2278048694, 0.5927339792, 0.0999664217, -0.4129363298, 0.0021734633, 0.1155361831, 0.514703691, 0.3941988647, -0.0962896794, 0.3774701059, 0.5556120276, -0.7098795176, -0.1921295226, 0.1788072437, -0.1703033894, 0.0981957018, 0.7611516118, 0.5859901309, 0.6052597761, -0.5122024417, 0.6113097668, 0.1355458796, 0.065907307, -0.7090126872, -0.0632175058, -0.4500763416, 0.1114976034, 0.5292075276, 0.1991880238, 0.301854223, -0.4807301164, 0.5615664721, 0.3181906641, -0.5685427785, -0.4011010826, 0.5464751124, 0.0619097278, -0.2476190776, 0.717343986, -0.1336418539, -0.8313798308, 0.5817600489, 0.4057195485, 0.7687159181, -0.1424204707, 0.1659043729, 0.3420365453, 0.703989923, 0.3025460541, 0.0419037752, -0.0150139304, -0.3694937527, -0.1730354875, -0.4425116777, -0.1198453084, 0.1860676259, -0.5550290942, 0.6579646468, -0.8653464913, -0.3452391326, 0.531421423, -0.0158059169, -0.8040056229, 0.164317444, 0.3012872338, 0.9954742789, -0.7390446067, 0.4386044741, 0.6338275075, -0.5065877438, -0.5002158284, -0.1976339072, 0.5156589746, -0.4598928988, 0.8087132573, 0.2442217916, 0.0668687448, -0.3418869078, -0.6038400531, -0.701790452, 1.0203318596, 0.1642846316, -0.3120066524, 0.0150442189, 0.5096254945, 0.5269411206, -0.7715246677, 0.3806331456, 0.4689673781, 0.5974590778, -0.1271199882, -0.8788715601, -0.0136305979, -0.1490626037, -0.5491140485, 0.610157907, -0.2526452839, 0.7067682147, -0.043598488, -0.1330423206, -0.3955676854, 0.5072988868, -0.2827924788, 0.5541836023, 0.394344002, 0.3861345053, 0.4342933595, -0.1248058528, 0.9592399597, -0.1781472266, -0.051177185, 1.346683383, -0.0101220822, 0.8250493407, 0.1852575541, 0.2432617992, 0.4856949151, 0.503785491, -0.2510842383, 0.5019898415, 0.0007289361, -0.3148171008, -0.1178574786, -0.6256992221, -0.0512510836, 0.4771358371, 0.4903808832, -0.442379266, -0.3431258202, 0.0713641644, 0.2448019683, 0.0467736572, -0.2612756491, 1.1236341, 0.0173509195, -0.2183917016, 0.1481997073, -0.1980220377, 0.6705662012, -0.6760357618, -0.0247848071, 0.3489411771, -0.1488649994, -0.4607329965, -0.6735289097, 0.4950467348, 0.2443857789, -0.0216959585, 0.1372693032, 0.9146701097, -0.3491347432, -0.3763515651, 0.2304157317, -0.0442112312, -0.0009253334, -0.002003399, -0.5306514502, 0.0234412439, -0.1023095027, 0.0970775336, 0.1746944338, 0.3261472285, -0.2499263883, 0.5348202586, 0.7100002766, -0.0112489257, -0.1201464906, -0.3837921917, 1.0717409849, -0.2603481114, -0.4812045693, -0.8667237759, 0.6116368175, -0.5853184462, -0.6594051719, 0.4772824943, 0.6000220776, 0.847271502, 0.252158314, 0.7558863163, -0.2780798376, 0.4046251774, -0.301649332, 0.4497433305, -0.0196108706, 0.4420309961, -0.3442662656, -0.7727313638, -0.2274319679, 0.4110126495, -0.4394220412, -0.3148818016, 0.6512879729, 0.5867031217, -0.0722787008, 0.2982088625, -0.0644581169, 0.0616511479, 0.1290339231, 0.261685133, 0.632001102, -0.4435393512, 0.5385813713, -0.5040318966, -0.0007866997, -0.4113749266, -1.0269200802, -1.0564768314, -0.5448306203, -0.6607560515, 0.0764978155, 0.2847391367, 1.2039377689, 0.6352477074, -0.8385630846, 0.312504977, 0.1393406689, -0.1699055582, -0.0471080355, -0.2084274441, 0.1818136722, -0.341809839, -0.0315651558, 0.2370917201, 0.182342425, 0.0676167607, -0.0035339147, 0.3843011558, -0.547988236, 0.0501053333, 0.5313199759, 0.1128355861, -0.3340125382, -0.5837248564, 0.1180566177, -0.0409219339, -0.1162451655, 0.833753109, -0.7206014395, 0.3370001614, 0.3429295123, 0.7934525013, 0.0404172018, -0.0763937309, 0.4236827195, -1.1034474373, 0.1143542826, 0.5069749355, 0.1290263236, 0.4958363175, -0.801247716, 0.7312881351, -0.0078787301, -0.1328131258, -0.7620543838, -0.1507021487, -0.9269465208, -0.2268347442, 0.7871505618, 0.0164690465, -0.1762383878, -0.3435061276, -0.1091278419, 0.2334816754, -0.5486413836, 0.6585874557, 0.4704278708, 0.1153404787, 0.130341962, -0.8791893125, 0.7682042122, -0.3551698029, -1.1898441315, 0.2377438396, 0.4473908246, -0.0670184046, 0.6538940668, 0.1330265105, 0.091756247, 0.3098720312, -0.0074921432, -0.1962997168, -0.2015784681, -0.7714613676, 0.0898292288, 0.0727872923, -0.3028073609, -0.1127133816 ]
http://arxiv.org/abs/2404.07738v1
http://arxiv.org/pdf/2404.07738v1
ResearchAgent: Iterative Research Idea Generation over Scientific Literature with Large Language Models
2024-04-11T13:36:29
2024-04-11T13:36:29
Jinheon Baek, Sujay Kumar Jauhar, Silviu Cucerzan, Sung Ju Hwang
cs.CL
cs.CL, cs.AI, cs.LG
Scientific Research, vital for improving human life, is hindered by its inherent complexity, slow pace, and the need for specialized experts. To enhance its productivity, we propose a ResearchAgent, a large language model-powered research idea writing agent, which automatically generates problems, methods, and experiment designs while iteratively refining them based on scientific literature. Specifically, starting with a core paper as the primary focus to generate ideas, our ResearchAgent is augmented not only with relevant publications through connecting information over an academic graph but also entities retrieved from an entity-centric knowledge store based on their underlying concepts, mined and shared across numerous papers. In addition, mirroring the human approach to iteratively improving ideas with peer discussions, we leverage multiple ReviewingAgents that provide reviews and feedback iteratively. Further, they are instantiated with human preference-aligned large language models whose criteria for evaluation are derived from actual human judgments. We experimentally validate our ResearchAgent on scientific publications across multiple disciplines, showcasing its effectiveness in generating novel, clear, and valid research ideas based on human and model-based evaluation results.
[ -0.1829611361, -0.5749592185, 0.7133776546, 0.2056442946, -0.1669335514, 0.4341079593, -0.2112291306, -0.3303237557, 0.5611714125, 0.445464164, -0.1274873763, -0.3099203408, -0.2359363884, 0.1483008713, -0.3750249147, 1.1952233315, -0.0980726257, -0.0392545573, -0.2693214715, 0.4230288565, -0.1652329713, -0.0489312261, -0.7835169435, -0.6159441471, 0.7784553766, 0.5929150581, 0.5440095067, 0.4150596261, 0.6287146807, 0.3967557847, 0.2924931645, 0.1454137117, -0.455222249, 0.3069129288, -0.412918061, -0.3111248016, -0.4616729617, -0.1447713077, 0.460290283, 0.3853399456, -0.1628754884, 0.1909463108, -0.2571056485, 0.3672281206, -0.3773162961, 0.1033341065, -0.6238027215, 0.0353356898, -0.0683890805, -0.3901717067, -0.4058448076, -0.6212615371, 0.1892264485, -0.7305150032, 0.4925656021, 0.1594103128, 0.8145055175, -0.0199470948, 0.0884875581, -0.3198512793, -0.8085573912, 0.5554854274, -0.8200281262, -0.2701644003, 0.0600609221, 0.2581144869, -0.266754061, -0.8820651174, -0.6620433927, -0.642642796, 0.0671918914, 0.0395975262, -0.2307816595, -0.2163887471, -0.0209444035, -0.0460593887, -0.7286875844, -0.3089822829, -0.4560099244, -0.0030078976, 0.7291967273, 0.1294620335, 0.2140651792, -0.0051393723, 0.0515824407, -0.2068062276, -0.2857623696, -0.1525371075, 0.3234181404, 0.1038408428, 0.6636526585, 0.6990749836, -0.0703409463, 0.224472627, -0.051863838, 0.0648506805, 0.1607601941, -0.3907900155, 0.1108464897, 0.1890868843, 0.8671369553, 0.1817738414, -0.0323915519, -0.4747051895, -0.309490025, 0.2729695737, 0.6062915325, -1.0459133387, -0.3638065755, 0.2347059548, -0.0657956824, -0.6780766249, 0.1160262525, -0.5843895674, -0.6016147137, -0.0502758846, 0.4420523047, -0.4774402976, -0.7406146526, 0.1481205225, -0.5572407842, -0.1236624867, 0.3828623891, -0.2314003259, 0.3195617199, 0.5479617715, 0.7952592969, -0.1509863138, -0.6192852855, -0.0354838148, 0.180480659, -0.5508116484, 1.1402542591, -0.6592018604, -0.4962441623, -0.2892785668, -0.2229221016, -0.0812037066, -0.1329734623, 0.5476771593, -0.6138525009, 0.0478420295, -0.1240407452, -0.4110461175, 0.2038889676, 0.2502394617, -0.8102545142, 0.9290829897, -0.0378169864, -1.0765545368, 0.3448932767, -1.1278370619, -0.4883005619, 0.3385373652, -0.148515448, -0.5971133113, 0.0479078554, -0.222513631, 0.0211238004, -0.7193723321, 0.4708405137, -0.0222681649, -0.0506396629, 0.4820767045, 0.0477274917, 0.3494126201, 0.4080296159, -0.4786754251, 0.496361196, -0.8520976305, 0.1419938356, 0.4901946485, -0.0475231744, -0.4355431795, -0.1360652745, 0.1300504804, -0.1552788913, 0.0245876051, -1.1005172729, 0.4481384754, -0.1730433851, 0.7352412343, 0.4882361591, 0.2874229252, 0.4756796658, -0.5579500198, 0.6742148995, -0.3929286003, -0.2546964288, -0.0651181862, -0.3478051126, -0.6991308928, -0.0250424054, 0.3387115002, 0.1907451153, -0.7739349008, 0.157458961, -0.2161438316, -0.8599076271, -0.6768991351, -0.1231167912, 0.1528016478, 0.5750674009, 0.0377936885, -0.212278828, -0.389077574, -0.6951586008, -0.3483832777, -0.1466101408, 0.0989154056, -0.0523962565, 0.8642976284, -0.1618728936, 1.1408813, -0.6112589836, -0.2431745529, -0.3666982651, 0.7238827944, -0.0934591517, 0.5008434057, 0.206110388, -0.7717305422, -0.3790060878, 0.2589528263, -0.5698335767, -0.1896783412, 0.097953558, -0.4123931825, -0.0442934446, 0.2173302472, -0.9613230228, 0.2983900607, -0.2856686413, -0.5378673077, 0.7272693515, -0.278557092, 0.4242250919, -1.2464990616, 0.4868839085, -0.155537039, 0.1888178885, -0.6896303892, -0.1716954112, 0.000277166, -0.5308842659, 0.0319215208, 0.6234021187, -0.36658144, 0.3628294766, -0.7344138622, 0.0771447644, 0.3938703835, -0.1333822161, 0.1360097528, 0.7527100444, 0.0973142087, -0.2007495761, 0.1576835662, 0.0940034017, -0.1183489338, 0.1771808565, -0.8345861435, 0.4962340593, -0.3651872277, 0.2782984376, -0.7282221317, -0.3145078719, -0.0795985684, -0.4276169837, 0.1629235297, 0.3278454244, -0.5958382487, -0.6548571587, -0.3608568609, 0.2433633357, 0.1358947456, -0.0459856465, 0.5890128016, 0.2378680706, -0.6361422539, -0.5442985296, -0.4453372061, 0.4711202979, -0.1058534235, -0.7447828054, 0.4400791824, -0.1573967785, -0.6021131873, 0.7319751978, 0.3573728204, -0.153606534, -0.256111294, 0.0402222462, 0.1304942369, -0.0100760674, 0.4015351534, -0.0762749687, -0.1208719313, 0.2068724483, -0.4458708167, 0.2069970816, -0.1424265653, -0.207194984, 0.2178732604, 0.5756446123, 0.5395990014, -0.3644938767, 0.1617921144, 0.6192566156, -0.2112828493, -0.6219800115, -0.5339156389, -0.4292710423, -0.4214865565, 0.5496340394, -0.5623780489, -0.7619221807, 0.3125427365, 0.0059543736, 0.4393506646, 0.2879990935, 0.4585452378, 0.1246156618, 0.7953676581, 0.7991767526, 0.1891655028, 0.293533206, -0.3923880458, 0.3271634877, -0.4287316799, 0.0025062752, -0.8213135004, -0.1194851995, -0.0941576138, -0.5413916707, 0.2330380231, -0.3291917741, -0.135559991, 0.2121850401, -0.8975737691, 0.5522134304, 0.6333512664, -0.0253418218, 0.3991159797, -0.0089093558, -0.2323134392, 0.0104183527, -0.82173419, -0.7551010251, 0.9679827094, 0.0997867733, 1.0749417543, -0.1313623786, 0.7254704237, 0.5769749284, 0.6076160669, -0.7193073034, 0.3973203599, 0.4593643844, -0.6736797094, -0.2509635985, -0.2445851862, -0.9605892301, 0.256469965, 0.0928159282, -0.5139558315, 0.1166337579, 0.1119994819, -0.2211497426, 0.2312528044, -0.5573680997, 0.7041569948, -0.3356797993, -0.7354956865, -0.4080865383, -0.2988416255, 0.3292169571, -0.1655338854, 0.0279396325, 0.1100379452, 0.1691787988, 0.8781635761, -0.5909904242, 0.6746972203, -0.1939509362, -0.0178387538, 0.7481437922, 0.3352709115, 0.6082599163, -0.0077078259, -0.2596996427, -0.3785560429, -0.1418821961, -0.2837466598, -0.3540967405, 0.7464305758, -0.9280685186, -0.7244539857, -0.4609553814, -0.9224478602, 0.0010053819, 0.2738778889, 0.3092443347, 0.1562647969, -0.3901264966, -0.0804640353, 0.3830958009, 0.0439059623, 0.2877705395, 0.6403526068, -0.1876727045, -0.4414976835, 1.102571249, 0.1386021823, 0.0828151479, 0.324227035, 0.3366958201, -0.0753959045, -0.5282443166, -0.3740803003, 0.2428385466, -0.7314359546, -0.1480873525, -0.7956516743, -0.1601900756, -0.4251259267, -0.251870513, -0.4382879436, -0.507671535, -0.1170915067, -0.0623872727, 0.5266457796, 1.1114490032, -0.060047064, -0.0105051324, -0.5360196233, 0.0970367789, 0.2956487834, -0.0436200686, 0.1987446845, -0.3737756908, -0.3116315007, -0.2231333554, -0.4861190617, -0.7075825334, 0.6590108275, 0.0991205052, 0.4193180501, 0.2438832223, 0.0294453949, 0.332806468, -0.6727824211, 0.5348898768, 0.1355935484, -0.4689025879, 0.5671483874, -0.3826974034, 0.1447875202, 0.699056983, 0.2959398031, -0.2445938587, -0.4447810054, -0.5689515471, -0.7783250213, 0.3186421096, 0.2905719578, -0.3015595078, 0.1911555082, 0.1250924468, 0.2931081355, 0.4683557451, -0.5993769169, 0.3899806738, -0.5339567065, -0.1137945056, 0.2098324597, 0.0127564138, -0.5454258323, -0.0923606902, 0.9521521926, -0.3441330791, 0.4430691302, 0.4944025874, -0.1492480338, -0.5478096604, 0.6016107202, 0.6311393976, 1.1201037169, -0.1828570366, 0.3190510571, -0.3454858959, -0.5379545093, 0.3996727765, 0.5805248022, -0.5590961576, 0.0357690789, 0.0888049379, 0.552490592, -0.2048939019, -0.6640358567, 0.1471511573, -0.4273523986, -0.4542284012, -0.3299940526, 0.0774004385, 0.4122288227, 0.2685079873, 0.6664093137, 0.2533762455, 0.1772890091, -0.3582161367, 0.091898486, 0.4235611856, -0.2097848058, -0.5697673559, 0.5864994526, 0.2198318392, -0.5702455044, 0.0639960319, -0.5178965926, -0.4700887799, 0.9177557826, 0.843670547, 1.1458125114, 0.1373081952, 0.557048738, 0.1373961717, 0.4918744266, 0.0144140217, 0.4147482812, 0.1269744486, -0.7042952776, -0.4808756411, -0.7272852063, -0.4821558595, 0.2527775764, -0.1207078397, 0.1153822839, -0.2026065737, -0.3498141468, 0.3592907488, 0.1298729926, -0.5722224116, -0.3536653519, -0.3752619624, 0.816647172, -0.7213662863, 0.8275197744, 1.2306351662, -0.636172235, -0.9059494138, -0.2835548818, -0.151611194, -0.3072537184, 0.6525048018, -0.0229216367, -0.359661907, 0.2449249923, -0.5390565395, -0.8879819512, 1.2582962513, 0.1283112466, -0.5457535386, -0.0917420834, 0.0487614162, 0.7187424898, -0.7561463714, 0.3444343209, 0.2615767121, 0.7129212618, 0.1962052882, -0.7986693382, 0.0298270453, -0.8719406724, -0.2191335857, 0.080811657, -0.538843751, 0.8267896771, -0.5293101668, 0.0736135319, 0.2245913297, 0.4392946661, 0.4778713286, 0.371342212, 0.2695571184, 0.567240715, 0.781252861, 0.3490998447, 0.8689754605, -0.2726283073, 0.1136026308, 1.1155067682, -0.5780118704, 0.3583351374, 0.3631807268, 0.1835523993, 0.4068317115, 0.3217380047, -0.148351863, 0.3801718652, 0.2454635054, -0.3376214504, 0.0066094962, -0.5395814776, -0.2425888032, 0.1432618499, 0.2124182284, -0.4067239463, -0.2436438352, 0.3422342837, 0.2474747002, 0.2648996711, -0.0853045061, 0.5996038914, 0.0303308833, -0.8999475241, 0.2786414027, -0.1378899068, 0.2809333503, -0.7079731822, -0.1677114069, 0.1464817077, 0.2908104658, -0.1042415872, -0.6437469125, -0.2083936036, 0.1370839179, -0.3046764135, 0.0220513865, 1.2714965343, -0.3733851314, -0.6498839259, 0.0242820736, 0.69815588, 0.085277006, 0.0910708532, -0.6908636689, 0.0707828701, -0.2740543783, -0.616953671, -0.0138641857, 0.6854614019, -0.22525841, 0.6895704865, 0.5063564777, 0.5856097937, -0.1412252933, 0.2803722322, 1.13859272, -0.7772243619, -0.5008246303, -0.5271523595, 0.3763993382, -0.4236353636, -0.259521991, 0.7035055161, 0.3768088222, 0.3478297591, -0.1479247212, 1.3754888773, -0.2686029971, 0.499946475, 0.270488441, 0.9092763662, -0.145813778, -0.0367228761, -0.3778378069, -0.8506957889, -0.0918269083, 0.6420408487, -0.2937699854, 0.0001713196, 1.013900876, 0.7443550825, 0.0778608993, 0.0612667352, 0.0036415081, 0.3189088404, 0.8005413413, 0.0937687308, 0.9434566498, 0.0712223724, 0.550134778, -0.2424757779, -0.361099422, -0.0345878415, -0.8088070154, -1.0293639898, -0.4246858656, -0.196749568, -0.3066853285, 0.178486228, 0.9445642829, 0.5443308949, -0.5259509087, -0.4417414963, -0.5727413893, -0.1776134521, -0.0864658579, -0.3514755666, 0.4189899564, -0.4854578078, -0.4568252563, 0.3710567951, 0.19389835, -0.4092739224, -0.657063663, -0.0711943209, -0.3247454762, 0.3091646731, 0.4643617868, 0.3579798341, -0.3515014052, -0.1022839695, 0.1872724295, -0.1902203262, -0.1930813789, 1.214614749, -0.6275674105, 0.7319573164, 0.495718956, 0.8296127915, 0.6994791031, -0.0713895783, 0.7209894061, -0.3614507318, 0.1298282444, 0.8103479743, 0.193893075, 0.4544517696, -0.3018800616, 0.5745245218, 0.1618183255, -1.0325707197, -0.8595454097, 0.1274117678, -0.6718036532, -0.4515934885, 1.0724585056, 0.0269369353, -0.6484036446, -0.1080777198, -0.5717899203, 0.1368686855, -0.8490555286, 1.0898054838, 0.4701586664, -0.2688871622, 0.0027330983, -0.420119673, 0.5497107506, 0.3556344807, -0.9990270734, 0.0667256713, 0.3534923196, 0.2256516814, 0.6902452111, 0.8048791289, 0.0667021126, 0.3523308039, 0.3380248547, 0.8344815969, -0.1825409681, -0.3040485084, 0.3930698931, 0.4985414445, 0.5313211083, 0.3371142447 ]
http://arxiv.org/abs/2404.07720v2
http://arxiv.org/pdf/2404.07720v2
Automatic Generation and Evaluation of Reading Comprehension Test Items with Large Language Models
2024-04-11T13:11:21
2024-05-20T19:08:00
Andreas Säuberli, Simon Clematide
cs.CL
cs.CL
Reading comprehension tests are used in a variety of applications, reaching from education to assessing the comprehensibility of simplified texts. However, creating such tests manually and ensuring their quality is difficult and time-consuming. In this paper, we explore how large language models (LLMs) can be used to generate and evaluate multiple-choice reading comprehension items. To this end, we compiled a dataset of German reading comprehension items and developed a new protocol for human and automatic evaluation, including a metric we call text informativity, which is based on guessability and answerability. We then used this protocol and the dataset to evaluate the quality of items generated by Llama 2 and GPT-4. Our results suggest that both models are capable of generating items of acceptable quality in a zero-shot setting, but GPT-4 clearly outperforms Llama 2. We also show that LLMs can be used for automatic evaluation by eliciting item reponses from them. In this scenario, evaluation results with GPT-4 were the most similar to human annotators. Overall, zero-shot generation with LLMs is a promising approach for generating and evaluating reading comprehension test items, in particular for languages without large amounts of available data.
[ -0.4130364358, -0.7832401395, 0.7888774872, -0.083087638, -0.338857621, -0.2521820962, -0.0568889529, -0.618662715, -0.165250957, 0.3548397124, -0.4610289931, -0.2447972149, -0.4976249933, 0.6119645834, -0.5320120454, 0.9937896729, -0.3938613534, -0.130917415, -0.2748830318, -0.0726463944, -0.3686026335, -0.296538204, -0.501211226, -0.6090769768, 0.5913992524, 0.4446609616, 0.6368124485, 0.682952702, 0.5649405122, 0.2836344242, 0.1198622584, 0.0675740242, -0.2813647687, 0.2649486959, -0.0800271109, -0.3890999258, -0.3278500736, 0.1557918042, 0.6960374117, 0.3980165124, 0.0019324111, 0.4256079495, 0.0726634786, 0.492308557, -0.3646008074, 0.0871117637, -0.525375843, 0.1244132221, 0.053405907, -0.2951886654, -0.5034972429, -0.3368533552, 0.3119645417, -0.5432064533, 0.2148652077, 0.1655275077, 0.9084263444, 0.3101090789, -0.5138265491, -0.6393045187, -0.4827333093, 0.6474326849, -0.7596572042, 0.3289774358, 0.6266428828, 0.3495189548, 0.146370098, -0.5622792244, -0.8682019114, -0.5460852981, 0.0772100389, 0.2415782809, -0.0777285546, -0.2263351232, 0.2694567144, 0.225438565, -0.8457422256, 0.0798419565, -0.2493569106, 0.010132934, 0.7260267138, 0.2485236526, 0.2618256211, -0.3759274781, -0.2544476986, -0.2216087133, -0.6835268736, -0.106658265, 0.4850915968, -0.0247877184, 0.1532991529, 0.94485569, -0.3330851793, 0.9003475904, -0.025088165, -0.304204911, 0.31354478, -0.6417541504, -0.2660194039, -0.2387970686, 0.7044579983, 0.3915456235, 0.4223662913, -0.1222305, -0.4437758327, -0.0675881803, 0.118370153, -0.864392817, -0.0489725359, 0.3275262117, -0.4404043555, -0.4646847248, -0.1263483316, -0.4568147361, -0.189929679, -0.2965028286, 0.6438777447, -0.4701622725, 0.0566401221, 0.2622043192, -0.0915394723, 0.4777862728, 0.1693969816, -0.8256873488, -0.0458282866, 0.2567981184, 0.7890930772, -0.2281111479, -0.4974951744, -0.6221713424, 0.15118137, -0.4133621752, 1.1570409536, -0.4471351206, -0.2399920225, -0.0626530424, -0.1877244115, -0.0269837081, -0.3616660833, 0.4507674575, -0.7030616999, 0.4281135201, -0.2736823857, -0.8018918633, -0.1737032533, 0.5690993667, -0.6393201351, 0.9691733718, 0.2806711197, -0.7543811798, 0.5006730556, -0.7487367392, -0.4808465838, 0.2837213278, 0.0588752814, -0.3778244257, -0.0838969126, 0.349532038, 0.5463138223, -0.4499177039, 0.1107624844, -0.3959332705, -0.5848664045, 0.4837303758, -0.6708328128, 0.4751618803, 0.0068289912, -0.3142483234, -0.0790868625, -0.5373567343, 0.1850851774, 0.2856748998, -0.5643735528, 0.01028038, -0.1042758599, -0.132006824, 0.2546780109, 0.2178373486, -0.5373973846, 0.0650799274, -0.369078666, 0.3792586923, 0.6910483241, 0.315838486, 0.361956805, -0.6218155622, 0.7354635596, -0.2004818469, 0.1830859631, -0.3978497684, -0.4788585603, -0.8553689122, 0.0154577065, 0.3424153924, 0.7530019879, -0.9605346322, 0.5602096915, -0.0706838667, -0.6871634126, -0.300096184, 0.1340999305, 0.2608108521, 0.5820112228, -0.0070031364, -0.070012413, 0.0796765983, -0.6278702617, -0.0637478083, -0.3809633255, -0.2259948552, 0.3772878647, 0.6719566584, -0.2626133561, 0.6976466775, -0.5271117091, -0.0363096334, -0.1122164801, -0.0215190165, 0.1026783958, 0.0346660614, 0.5659484863, -0.365332067, -0.3217306137, -0.0697937831, -0.7490116954, -0.3278921545, -0.0337175094, -0.1249651536, 0.2772942781, 0.1957554072, -0.4540389478, 0.1135106981, 0.5313077569, -0.4814653099, 0.8769578338, -0.164259389, 0.1732160151, -0.9999831319, 0.053489577, 0.0443669073, -0.2905996442, -0.4683459699, 0.2135054916, 0.1541609466, -0.0558720715, -0.4890092909, 0.8576359749, -0.3567757308, -0.1719910949, -0.1830613762, 0.3359244168, 0.2204015702, 0.1447492391, -0.0096975239, 0.7100415826, 0.4511378706, -0.5536975861, 0.4308823943, 0.3217174411, -0.533385098, 0.700551033, -0.7531297803, 0.1181673855, -0.2817800045, 0.2967228591, -1.0111819506, -0.4013174176, 0.2834748328, -0.3760397434, 0.024381306, 0.2278830558, -0.7586789727, -0.4496478736, -0.2725717127, 0.316742152, 0.4956952035, -0.4498669207, 0.2210171521, 0.0824551806, -0.4544002116, -0.4581949711, -0.7504596114, -0.0940633416, -0.2284095585, -0.6346193552, -0.2294389755, -0.5462466478, -0.1333803684, -0.1193389073, 0.0517571568, -0.0488387868, 0.0531315841, 0.0004077029, 0.4105775058, -0.1395776123, 0.2689188421, 0.2705466449, -0.2418293208, -0.1470353305, -0.1919120401, 0.4235661626, -0.1751846224, -0.7606359124, -0.3715668917, 0.3312467337, 0.2973341942, -0.3066879213, 0.2823911607, 0.5727683902, -0.2282238901, -0.2600781024, -0.6254262924, -0.3627399802, -0.4900656641, 0.2364633232, -0.4351506233, -0.9024156928, 0.3184767365, 0.3332628906, 0.2479626685, 0.4179255664, 0.7335788608, -0.2128831595, 1.0038958788, 0.2362262309, 0.1546617746, 0.2748437524, -0.0515522398, 0.1411298662, -0.6603043675, 0.0323512591, -0.4707465768, -0.0701315403, -0.162238881, -0.3859468102, 0.3862511218, -0.0038961431, -0.3148019612, 0.1217533648, -0.5396306515, 0.6872202754, 0.5616717935, 0.0082660951, 0.6903503537, 0.1971214563, -0.14344199, 0.2413937896, -0.5016806722, -0.9536405206, 1.3169080019, 0.3644230068, 0.4596512318, -0.0160203576, 0.7397688627, 0.2742866278, 0.5343622565, -1.0796422958, 0.4728137255, 0.1476507038, -0.4751549959, -0.603043735, -0.3760506511, -0.9461145997, 0.2685805261, 0.0335625596, -0.5225259066, -0.0722581968, -0.0734611228, -0.4386435449, -0.0472378321, -0.8031209707, 0.6298800111, -0.213071987, 0.1588515341, 0.2255511433, -0.3559480906, 0.4698644876, -0.5726991296, -0.0266758222, -0.2793157697, -0.2615590096, 0.6976319551, -0.0683908314, 0.4743331373, 0.0843540654, -0.3422363102, 0.4789976478, 0.337143451, 0.3844240606, 0.2273928225, -0.546110332, 0.0649703294, 0.2968328297, -0.4009914994, -0.4457929432, 0.4284092486, -0.7662674785, -0.4072402716, -0.5050674677, -0.6724963784, -0.2091932446, 0.4955390692, 0.2871190012, 0.4338011146, -0.0980376825, -0.096630916, 0.4494871497, -0.1809718311, 0.6524759531, 0.8596266508, 0.017559424, -0.2824772, 0.8737894297, 0.1629011333, 0.4212089777, 0.1196608618, 0.1398236603, -0.5444609523, -0.6682732701, -0.7491781712, 0.3067546189, -0.736661315, -0.2414923161, -0.3163517416, -0.2164499611, -0.1198161542, -0.2308453918, 0.145636797, -0.1617790908, -0.3391631246, -0.2504580915, 0.1463172734, 0.975178957, -0.0229035635, 0.2841931581, -0.8025218248, 0.3116608262, 0.3481810391, 0.312930882, 0.0360970236, -0.5823762417, -0.0958114862, -0.1175391451, -0.3702618182, -0.9876096249, 0.2432373613, 0.013558751, 0.31733796, 0.4726187289, 0.0349496119, 0.2778697014, -0.6408954859, 0.8946425915, -0.0130451377, -0.9040910006, 0.1730588078, -0.4452755749, 0.4360414743, 0.4856606126, 0.1369710863, -0.5289068818, -0.46460253, -0.4948605299, -0.564874649, 0.6522820592, 0.2494116277, 0.1772243232, -0.0724945664, 0.3627306521, 0.3325729072, 0.0848591253, -0.7784909606, 0.0269661844, -0.0520801842, -0.2322338372, -0.2402535677, -0.3704728782, -0.0710120499, 0.0601309314, 0.6498271823, -0.2146260887, 0.2252286971, 0.2334980518, -0.0844718739, -0.1106368974, 0.2743361294, 0.415576309, 0.7944487929, 0.0655050352, -0.0434478745, 0.2515195012, -0.3439371586, 0.5029714704, 0.1597108394, -0.5088295937, -0.1031254157, 0.5275355577, 0.7390531301, -0.2341642082, -0.8496358395, 0.5603545308, -0.1226762086, -0.4047980309, -0.370326072, 0.0743263885, 0.1035438627, 0.2978316247, 0.2483032048, -0.3997825086, 0.0950855315, -0.2156497985, 0.3462965786, 0.2771478891, -0.0726577863, -0.0378633179, 0.4242045581, 0.1397153437, -0.1751121283, 0.5802263021, -0.5459122062, -0.1180797145, 0.5199858546, 0.6536699533, 0.5773432851, -0.2438715398, 0.6484194994, 0.2091085762, 0.6172923446, -0.0403633602, 0.44761765, -0.0453033634, -0.8181542754, -0.6267977953, -0.7867854238, -0.5358718634, 0.24123092, -0.4944169819, 0.0311032273, -0.0829045922, -0.0276206248, -0.1227168441, 0.0909978822, -0.8416627049, 0.2653222084, 0.0194650721, 0.8018438816, -0.9421200156, 0.6487969756, 0.6037717462, -0.4822766781, -0.8963277936, 0.227296859, -0.2441033274, -0.8508254886, 0.3064385653, 0.1965190768, 0.2243739665, 0.0584117286, -0.1762023419, -0.9782284498, 1.0680239201, 0.4038690925, -0.5375887752, -0.1359445453, 0.3301424086, 0.4992416203, -0.0908577442, 0.6231759191, 0.7838452458, 0.7803894877, 0.0284159835, -0.7995852828, 0.085291788, -0.1463621408, -0.0828469098, 0.0487745255, -0.4749643207, 0.6290076971, -0.1143931448, -0.1012077183, 0.1851948053, 0.3525423706, 0.5769449472, 0.2452085167, 0.4982343018, 0.5667357445, 0.8855700493, 0.0452726632, 1.3211779594, -0.1252185553, 0.2929910719, 0.9855145216, -0.5471401811, 0.9921961427, 0.2108855546, -0.0466991812, 0.2951305509, 0.8844631314, -0.1840843409, 0.1751340777, 0.240591526, -0.2374858558, -0.2411971092, 0.099591516, -0.1675540209, 0.4832210839, 0.0440063067, -0.3387328088, -0.3853752911, 0.0896306559, -0.0586462207, -0.3395476937, -0.0635737106, 0.8638081551, 0.0190500002, -0.809135139, 0.6779366136, 0.0179909002, 0.3830757737, -0.4644379616, 0.1773621589, -0.1691599637, -0.1152278855, -0.0205437187, -1.2095832825, 0.1652366668, 0.2436838299, -0.1090269089, -0.0389987417, 0.6793153882, -0.3736362755, -0.7263140082, 0.1122503951, 0.7762625217, 0.4601536691, -0.0910771489, -0.6824460626, -0.1552980691, -0.0159431007, -0.784741044, 0.2427156419, 0.344845444, 0.1763976365, 0.7078153491, 0.7604183555, 0.0998648778, 0.0091120433, 0.162884295, 0.4146939516, -0.4530386627, -0.3302274048, -0.8696778417, 0.4046554565, 0.0662584007, -0.3170546889, 0.6991205812, 0.3536275625, 0.7471551299, -0.0563166179, 1.1154776812, 0.1706987321, 0.3776050508, -0.3823957741, 0.8223429322, -0.4812405109, -0.0346235111, -0.2684334219, -1.1835899353, -0.2684726715, 0.4719150662, -0.2627389729, 0.1068485975, 0.8821357489, 0.6047516465, -0.0365280174, -0.0002100072, 0.3827491999, 0.0354122408, 0.290407002, 0.6145697236, 0.762301743, -0.3911549449, 0.7543761134, 0.0324781127, -0.3915082514, -0.036480546, -0.9616695642, -0.9992977381, -0.7046704888, -0.1111593768, -0.2635855675, -0.1388644874, 0.4772684872, 0.4981927574, -0.463473171, -0.1321432143, 0.0714367926, 0.0657041371, 0.0565767586, -0.2215113044, 0.3906976283, -0.3286789358, -0.7966096997, 0.3645879328, 0.2676335573, 0.2951864004, -0.4290399849, -0.0453852415, 0.1672904193, 0.3797329366, 0.794382453, 0.0052037588, -0.6193900108, -0.4315662682, 0.0290122721, 0.0717132464, -0.1754032075, 0.3746943772, -0.5789472461, 0.4617056251, 0.6927081347, 0.6682927608, 0.4265535772, 0.0772340223, 0.4578957558, -0.353622973, -0.1636579782, 0.3426401317, 0.3482870758, 0.3624376953, -0.2393267304, 0.4823032916, -0.1759567857, -0.9161002636, -0.885907948, 0.3673819304, -0.7345196009, -0.0480750799, 1.4666368961, -0.0960195214, -0.182319507, 0.0023179748, -0.323620975, 0.2007976919, -0.3103231788, 0.7609737515, 0.9436217546, -0.1582849771, -0.1038942412, -0.710352838, 0.2146530747, 0.3612073362, -1.1965370178, -0.0842703134, 0.55887115, 0.5212925673, -0.0795422792, 0.6229464412, -0.0232695509, 0.3541088998, -0.1206976771, -0.002519035, -0.0794913992, -0.224439621, -0.2306300253, 0.1613176018, 0.0807549208, -0.0454199575 ]
http://arxiv.org/abs/2404.07677v2
http://arxiv.org/pdf/2404.07677v2
ODA: Observation-Driven Agent for integrating LLMs and Knowledge Graphs
2024-04-11T12:16:16
2024-06-04T07:16:14
Lei Sun, Zhengwei Tao, Youdi Li, Hiroshi Arakawa
cs.CL
cs.CL, cs.AI
The integration of Large Language Models (LLMs) and knowledge graphs (KGs) has achieved remarkable success in various natural language processing tasks. However, existing methodologies that integrate LLMs and KGs often navigate the task-solving process solely based on the LLM's analysis of the question, overlooking the rich cognitive potential inherent in the vast knowledge encapsulated in KGs. To address this, we introduce Observation-Driven Agent (ODA), a novel AI agent framework tailored for tasks involving KGs. ODA incorporates KG reasoning abilities via global observation, which enhances reasoning capabilities through a cyclical paradigm of observation, action, and reflection. Confronting the exponential explosion of knowledge during observation, we innovatively design a recursive observation mechanism. Subsequently, we integrate the observed knowledge into the action and reflection modules. Through extensive experiments, ODA demonstrates state-of-the-art performance on several datasets, notably achieving accuracy improvements of 12.87% and 8.9%.
[ -0.2719565332, -0.933831811, 1.1065292358, -0.0151431151, -0.0474586189, 0.2588977218, -0.0095180869, -0.4835346341, 0.3660584986, 0.61485219, -0.6362899542, -0.6633706093, -0.5488812327, 0.0521564037, -0.1930906475, 0.7085943818, -0.2453707606, -0.1578568518, -0.4267801344, -0.0706896409, -0.1932590157, 0.0014615135, -0.9786537886, -0.644746244, 0.604426384, 0.2263320982, 0.6665478945, 0.707887888, 0.1348986179, 0.3774481416, 0.2654077113, 0.9422756433, -0.4157731533, 0.2765741646, -0.4218535423, -0.6873645186, -0.7849909067, 0.0750244409, 0.5329607725, 0.7910710573, -0.2381447852, -0.1360530406, -0.1767112762, 0.5152756572, -0.634961307, 0.9835935831, -0.166049853, 0.0485056266, 0.1816882342, -0.0307622403, -0.3188352883, -0.408151418, 0.0806187615, -0.9833356142, -0.2794531286, -0.0445224606, 0.2703090608, 0.5762370229, -0.4366264343, -0.4267973602, -0.7249144316, 0.5821899176, -0.5679644346, 0.4205672443, 0.169312939, 0.451841563, -0.4505634606, -0.9032635689, -0.8701362014, -0.1066875309, -0.0960416645, 0.1627276987, -0.1854835749, 0.0501335934, -0.0477077439, 0.0196477063, -0.3371166587, 0.057535097, 0.0684959441, 0.0030960154, 0.6862874627, 0.5157283545, 0.1349138319, 0.0145538002, -0.2227104157, 0.2064915001, -0.3583760262, -0.1361512095, 0.2721188068, 0.3439129889, -0.067318514, 0.5229686499, -0.694306314, 0.8900530934, -0.1227554008, -0.1952095032, 0.3243884742, -0.2253676951, -0.3361927867, 0.0290768985, 0.7112070322, 0.2321068496, 0.2414126247, -0.3207397759, -0.1676428914, 0.3114322722, 0.2897926569, -0.6163614988, -0.1345697194, 0.2363262177, -0.1249632239, -0.4527004659, 0.0760378167, -0.6772828698, -0.9466651082, -0.3587494493, 0.2829497457, -0.4163288474, -0.4253277481, 0.1972477436, -0.0094113937, 0.1286156625, 0.6067124605, -0.4452811778, 0.2978926897, 0.8198069334, 0.5405774117, -0.0790940449, -0.5721750259, -0.76505059, 0.2357498556, -0.544142127, 0.8341271281, -0.7317438126, -0.2011825144, 0.049276486, -0.1747598797, -0.2389736474, -0.4049315453, 0.2717783749, -0.9482272267, -0.0609385855, -0.1243432537, -0.4856459796, -0.4030659199, 0.5198858976, -0.4197356105, 1.0021377802, 0.3517743945, -0.3362150788, 0.5039208531, -1.141076088, -0.3591455221, 0.1106163561, -0.405138284, 0.0138267055, -0.2141347826, 0.3827649951, 0.300483793, -0.3144116104, 0.2561022639, -0.1220817044, -0.0905249864, 0.126636073, -0.1685376912, 0.5724918246, 0.3216577768, -0.2110878676, 0.2608680427, -0.9137361646, 0.1959910989, 0.2666636109, -0.4118448198, -0.2420350164, 0.3367816508, -0.6364987493, -0.1811479777, 0.2937394679, -0.5562700033, 0.6277992725, -0.3900744319, 0.6303654909, 0.7120053172, 0.1285517961, 0.4307434559, -0.1887267232, 0.5906813145, -0.0070422417, 0.1821845621, -0.1096523777, -0.5061815381, -0.7313996553, -0.2992581725, -0.1023615301, 0.2089119405, -1.2315673828, 0.2985214293, -0.4267439544, -0.4083332419, -0.6470285654, 0.1963387579, 0.3453394175, 0.6773976684, 0.1078170463, -0.1987671256, -0.373134613, -0.5643364191, -0.2324958146, -0.4337429404, 0.1807376891, 0.4036917984, 0.5059679747, -0.6000418663, 1.2965004444, -0.8571642637, -0.3618255854, -0.3983704746, 0.2618386149, 0.3374631405, 0.1787311733, 0.4682876468, -0.7447535992, -0.5046064258, 0.2804694176, -1.1925477982, -0.2960478961, 0.1526105255, -0.1900915205, 0.4458188713, 0.6845911145, -0.64276582, 0.4404987991, 0.232515648, -0.4580455124, 0.3180740476, -0.2035708278, -0.0022121994, -0.8282018304, -0.1216358691, -0.3607582152, -0.4364381135, -0.7260603309, 0.2649004459, -0.1760766059, 0.2455597073, -0.2394486666, 0.6064938903, -0.3772602975, -0.371625185, -0.433396697, 0.4722533226, 0.0579932556, 0.6233215332, 0.053635817, 0.5887051821, 0.5571048856, -0.6786185503, 0.770678997, 0.2422459573, -0.6195967197, 0.7092524171, -0.2499510646, 0.4483822286, -0.4129647613, 0.0300897043, -0.6032032967, -0.3241921961, 0.6186795831, -0.5141863823, 0.0949528888, 0.0697876364, -0.5712637901, -0.1512796581, -0.1599434316, 0.2232012302, 0.1627116799, -0.70368433, 1.2936987877, 0.1154095903, 0.0737653375, -0.5981844664, -0.489612788, -0.0747468397, 0.3016193807, -0.5637859702, -0.0719266534, 0.1531020105, -0.6063916087, 0.497492522, -0.0727935955, 0.2636830509, -0.006300116, 0.1811689585, 0.0446548723, -0.2729468346, 0.1204364374, -0.1250203103, -0.1670838147, 0.1827530414, -0.7085869312, 0.6960701942, -0.0092801834, -0.6790469289, -0.3256162703, 0.0981188864, 0.7513484359, -0.2388246506, 0.8728861213, 0.1498793215, -0.2791911364, -0.6487217546, -0.3411227763, 0.1677920967, -0.4792656004, 0.4895391762, -0.3343774974, -0.3176388144, 0.4008194208, 0.0143009359, 0.0104786502, 0.2782258987, 0.2345068902, -0.2188237309, 1.1247214079, 0.6374002099, -0.3408251107, 0.5435379744, -0.4888366461, 0.1636619866, -0.895830214, -0.4343771935, -0.2416862696, -0.20942761, -0.2940783501, -0.5241628885, 0.5361682773, -0.057490591, -0.5486313701, -0.2089410722, -0.2399027348, 0.3903243244, 0.5612607002, 0.2220738977, 0.6329290271, -0.4458830953, 0.0790764838, 0.5032951236, -0.8028407693, -0.4033839703, 0.9707326889, 0.0211524013, 0.8357682824, 0.0846125111, 0.5169159174, 0.5521059036, 0.5423361063, -0.758237958, 0.8365385532, 0.2443542182, -0.2428314537, -0.5875359178, -0.4854079187, -0.8527057767, 0.2655955255, 0.0974140391, -0.7769499421, 0.1174897999, 0.0083203465, -0.0782926828, 0.3149383664, -0.651566565, 0.6683755517, -0.1475057453, -0.0571881048, -0.2404656112, -0.4026489854, 0.1412079483, 0.0757408366, 0.3167192042, 0.1406027377, -0.0968693942, 0.4510969222, -0.749029398, 1.1326402426, -0.4470973313, -0.206858024, 0.5570774674, -0.0477163047, 1.0129086971, -0.1056264713, 0.0822928697, -0.1161868349, -0.3491897881, -0.2767598629, -1.0339961052, 0.5900985599, -0.8634145856, -0.7086473107, -0.517326951, -0.8150455952, -0.216122061, 0.3457722962, -0.2477609813, 0.2554024756, -0.1399196982, -0.2677614093, 0.3349222243, 0.0295362175, 0.2429062873, 1.09284091, -0.7061960101, -0.3597258031, 0.9059028625, 0.0731131583, 0.4713501036, 0.3743848503, 0.0994270667, -0.2253525108, -0.5328606963, -0.3520496786, 0.238732785, -0.862531364, -0.0211183969, -0.6154851317, -0.1467986405, -0.479698211, -0.1020976827, -0.2245327979, 0.0110906046, -0.0782660916, -0.3199906647, 0.4143073261, 1.1107831001, 0.1261194646, 0.124525927, -0.3488689065, 0.4692312777, 0.4713260233, 0.4107249975, 0.2498591095, -0.0751135498, -0.23679775, -0.0057390109, -0.1438419372, -0.6460294127, 0.3243350685, 0.0263945572, 0.7247962356, 0.7490349412, 0.1407999843, 0.4696935117, -0.2005742192, 0.525760293, -0.24516581, -0.8133569956, 0.5390866995, -0.3435666263, 0.3170206845, 0.1197666898, 0.0735526606, -0.4769724905, -0.6696934104, -0.3433413804, -0.4484107494, 0.9925329685, 0.0952431336, -0.4035345018, 0.0241623875, 0.4919474721, 0.0586448163, 0.4955252707, -0.2153581232, -0.2853118479, -0.1057337672, -0.1304163039, -0.3250355422, 0.0671690702, -0.1358167529, -0.0325736254, 0.58878088, -0.5060203075, 0.1158096865, 0.4004446566, -0.1784894019, -0.0898707286, 0.0093634306, 0.3514950573, 0.6493691206, -0.0335652269, 0.1990640461, 0.0823156983, -0.6599909067, -0.1302420944, 0.1083933562, -0.4899520874, -0.410954088, 0.6519056559, 0.6630771756, 0.0392792858, -0.8087512851, -0.0288616233, 0.2327085286, -0.0987024456, -0.3783985376, 0.336139828, 0.2510602772, 0.9265803695, 0.3230897486, 0.0033170916, -0.1363695711, -1.0055636168, -0.2222993821, 0.4139343202, -0.2718386352, -0.3298233151, 0.6823276281, 0.1492649019, -0.4951239228, 0.7130390406, -0.4515219629, -0.6108496785, 0.9662594795, 0.2268725932, 0.7517131567, -0.0857843757, 0.3046388328, -0.1524277478, 0.3355995417, 0.1423778683, 0.7964740992, -0.1532786936, -1.2925087214, -0.3341099024, -0.4538071454, -0.5953356624, -0.1982413232, -0.6455114484, -0.0852882043, -0.16320315, 0.1376514882, 0.1005792841, 0.1205807403, -0.6132582426, 0.2031643391, -0.1590885222, 0.9293522239, -0.6090660095, 1.0071183443, 0.8726465106, -0.4928857982, -0.5773461461, -0.1723152548, -0.1001614034, -1.1154623032, 0.6752547026, -0.0476879291, -0.4652662873, 0.0768987462, -0.5523739457, -0.7005919218, 1.4502447844, 0.4486557245, -0.2070448846, 0.1871058941, 0.205280751, 0.6713262796, -0.6914857626, 0.0528429821, 0.9213241339, 0.7745366693, 0.0444333926, -0.5740994811, -0.0983589962, -0.0980189815, -0.3823255002, 0.4372016788, -0.8111615181, 0.7655645609, -0.3996795416, -0.1037757695, 0.0521384254, 0.7646320462, 0.0907728523, 0.7722740769, 0.6976861954, 0.6254980564, 0.9934029579, 0.0629132465, 1.1939018965, -0.1216511354, 0.0788061991, 1.1699185371, -0.6878618598, 0.4145442545, 0.3448244929, -0.2567718029, 0.6468820572, 0.0253218357, 0.1876801997, 0.6318693161, -0.0383240618, -0.4213949442, -0.2363412231, -0.4070432782, 0.0553563461, 0.367892772, 0.3339477479, -0.3173229694, -0.1929714084, -0.031362094, 0.0512435474, 0.3700911105, -0.5816817284, 0.8915492892, -0.1444051117, -0.8774690032, 0.0784047768, -0.1236447096, 0.1615223289, -0.7139422894, -0.2830587924, -0.2584350705, 0.333789438, -0.2250269949, -0.7486431003, 0.2134345025, -0.069148846, -0.2752346992, -0.2722569406, 0.5572968125, -0.181168884, -0.3169520199, 0.5207701325, 0.6601031423, 0.1043733582, -0.0606615208, 0.0623084344, -0.0318985879, -0.1545006484, -0.3208571672, 0.2589325607, 0.655731976, -0.1242232099, 0.9980185628, 0.4136072397, 0.0784865916, -0.1137559116, 0.090760991, 1.1613664627, -0.5927712917, -0.5131601095, -0.688991487, 0.2252109498, -0.1172771677, -0.1456421316, 0.5561125875, 0.4987811744, 0.800550282, 0.1460896879, 1.0276949406, -0.1588695943, 0.526725769, -0.6441200972, 0.7264301181, -0.397136271, 0.262403667, 0.0694274083, -0.7045322657, 0.0999918655, 0.4116583169, -0.4886730909, 0.0422241054, 0.5685183406, 0.6877582073, 0.246514082, 0.1699743569, 0.2673282027, 0.7169555426, 0.5799201131, 0.5193331242, 0.9225218296, 0.0302862022, 0.5035930276, -0.0623654202, -0.2465476245, 0.0188457724, -0.8662036061, -0.9533886909, -0.4050193727, -0.2995220125, -0.0349153243, 0.1150152609, 0.8223326206, 0.4142885506, -0.5617134571, 0.0205139443, -0.3647434711, 0.4134616256, -0.5479200482, -0.269752413, 0.370900929, -0.3721337318, -0.9233670235, 0.7758434415, 0.2603858113, -0.4408921599, -0.5128096938, -0.3190663457, -0.0542439073, 0.2429197431, 0.5851171613, 0.3794408143, -0.5924216509, -0.4509927332, -0.163070038, 0.0748433098, -0.0095337126, 0.6365267634, -1.1197544336, 0.7396368384, 0.3956587911, 0.5813730359, 0.6627444029, -0.0747195706, 0.6979819536, -0.518114686, -0.0372503176, 0.209627986, 0.3734128475, -0.0860674977, -0.3490143418, 0.8519150615, 0.2472164184, -0.343039006, -0.9031737447, 0.3458372653, -0.8367952704, -0.1638647914, 0.9030045867, -0.2204630524, -0.1899272799, -0.1984535456, -0.2658398747, 0.1718951464, -0.5152376294, 0.8104070425, 0.5293558836, -0.4454613328, -0.0709489882, -0.565824151, 0.1404604763, -0.0278283786, -1.0769455433, -0.0659011751, 0.4221141338, 0.0332416221, 0.3044024706, 0.7589102387, 0.1519753337, 0.1867763102, 0.1569498479, 0.0666331053, -0.6266277432, -0.3452156782, -0.0950658619, 0.3089782, 0.0310656149, -0.3813880682 ]
http://arxiv.org/abs/2404.07673v1
http://arxiv.org/pdf/2404.07673v1
Curated Datasets and Neural Models for Machine Translation of Informal Registers between Mayan and Spanish Vernaculars
2024-04-11T12:09:47
2024-04-11T12:09:47
Andrés Lou, Juan Antonio Pérez-Ortiz, Felipe Sánchez-Martínez, Víctor M. Sánchez-Cartagena
cs.CL
cs.CL, cs.LG
The Mayan languages comprise a language family with an ancient history, millions of speakers, and immense cultural value, that, nevertheless, remains severely underrepresented in terms of resources and global exposure. In this paper we develop, curate, and publicly release a set of corpora in several Mayan languages spoken in Guatemala and Southern Mexico, which we call MayanV. The datasets are parallel with Spanish, the dominant language of the region, and are taken from official native sources focused on representing informal, day-to-day, and non-domain-specific language. As such, and according to our dialectometric analysis, they differ in register from most other available resources. Additionally, we present neural machine translation models, trained on as many resources and Mayan languages as possible, and evaluated exclusively on our datasets. We observe lexical divergences between the dialects of Spanish in our resources and the more widespread written standard of Spanish, and that resources other than the ones we present do not seem to improve translation performance, indicating that many such resources may not accurately capture common, real-life language usage. The MayanV dataset is available at https://github.com/transducens/mayanv.
[ -0.1591891348, -0.2192509621, 0.2748037875, 0.282194078, -0.2525519729, 0.1725621223, -0.5643500686, -0.4725419283, 0.0701378435, 0.4928525388, -0.4028722644, -0.7229523659, -0.6420091391, 0.3455685079, -0.3225671649, 0.907957077, -0.0487984344, 0.2411394864, -0.1493869126, -0.4250614345, -0.1100662351, -0.3778616786, -0.2593250573, -0.1503907144, 0.5438959002, 0.0355577618, 0.8408750296, 1.1452902555, 0.3820471168, 0.2953068614, -0.1953141689, 0.3043660223, -0.4243784845, 0.1364545375, -0.16849868, -0.3281820118, -0.3637977839, -0.1357649267, 0.4737091064, 0.9281599522, 0.0493890941, 0.4071799517, -0.0371872149, 0.1783329993, -0.6200667024, 0.4881931245, -0.4260048866, 0.0875288919, -0.5357412696, -0.0936873928, -0.0623627752, -0.76540941, 0.2185339183, -0.3134054244, 0.4524135292, -0.0360449776, 0.5371760726, 0.3431963027, -0.6025642753, -0.3314441741, -0.7349563837, 0.6927930117, -0.625425756, 0.3075188994, 0.4425162673, 0.1761030108, -0.2350433171, -0.6951121688, -0.3282518387, -0.3251469135, -0.0158572663, 0.091384761, -0.3994372785, 0.0351867527, -0.2021661103, 0.4706420898, -0.5195180774, 0.1543531865, -0.6030459404, -0.21952492, 0.4906850755, 0.3973638415, 0.1744688898, -0.1587140709, -0.1269640177, -0.1380368769, -0.8171582222, -0.1473510861, 0.6447172165, 0.6079319119, -0.0804240853, 0.7387201786, -0.1470558941, 0.9911753535, -0.4302300811, -0.1869832128, 0.2755385935, -0.7318425775, -0.1771748066, -0.1356869489, 0.7777434587, 0.0718509331, 0.1178418621, -0.4706231356, -0.5046923161, -0.0217828676, 0.1900338978, -0.4287537932, -0.1091664061, -0.0869081989, -0.4008375406, -0.2732012272, -0.0014443597, -0.5846376419, -0.4226457775, -0.6337210536, -0.0133907143, -0.0301582459, -0.3445468843, 0.0573396534, 0.0626374781, -0.0006455395, 0.2584438622, -0.605512619, 0.6255191565, 0.6560925245, 1.1452571154, -0.2506830096, -0.0585650019, 0.0869672447, -0.3020466566, -0.5086346865, 0.4271368086, -0.3557210863, -0.3242912889, 0.3211349249, 0.0762901083, -0.0151240723, -0.6838139296, 0.2695246935, -0.6826563478, -0.026892161, -0.1733074188, 0.0195424519, -0.0013066409, 0.0921384543, -0.8422520757, 1.0446389914, 0.2844073772, -0.347350657, 0.0755442753, -0.1663683653, -0.4263363183, -0.1931308508, 0.0404024459, 0.038801454, 0.2227216661, 0.0624997728, 0.5601127744, -0.5239101052, 0.3761620522, -0.0967091098, -0.1211403161, 0.3246158659, -0.4849704802, 0.8164209127, 0.5914032459, -0.2835980058, -0.0724983364, -0.6918409467, -0.3368338346, -0.0566050522, -0.1755502671, -0.6047475934, -0.2362580299, 0.3591988385, 0.3764488399, 0.3600324094, -0.4577531815, 0.3351732194, -0.3950174749, 0.1464202851, 0.6896274686, -0.3091808259, 0.6454409361, -0.2939837575, 0.5300350189, 0.1365717649, -0.1121954843, -0.0579236411, -0.4830701649, -0.7232614756, -0.1849990636, 0.3728747964, 0.3343784809, -0.5215876698, 0.1366921365, -0.786773324, -0.3734739125, -0.7699593902, 0.1604677439, 0.4372641444, 0.5493394732, 0.4246400595, -0.2533668578, -0.6398528814, -0.8313549757, 0.4059851468, -0.1453751922, -0.2256305665, 0.4311076105, 0.2805961668, -0.0309698209, 0.8623912334, -0.3073581755, -0.3316011727, 0.0275829677, 0.1409304589, 0.1461259127, 0.4281846881, 0.420147568, -0.5103501678, -0.0166508351, 0.4375886917, -0.5459821224, -0.3402627707, -0.1017840877, 0.1751963347, 0.2990513146, 0.532841742, -0.0662093908, 0.3406613469, 0.7747218609, -0.0559045486, 0.2502302527, -0.2031888366, 0.0099115223, -1.3049141169, 0.3129695952, -0.1142044812, -0.2238765061, -0.4544979036, 0.0103175342, -0.0582193993, 0.1402234137, -0.5998183489, 0.7316888571, -0.6907584071, -0.1941629499, -0.1770263016, -0.0166660938, -0.1603363901, 0.3243589401, 0.3897524476, 0.8310710788, 0.167368561, -0.576222837, 0.6531947851, 0.0877534226, -0.3369172513, 0.0826392546, -0.6825877428, 0.3453306556, -0.1328844577, 0.1220193282, -0.6560764909, -0.2341103554, 0.4463327825, -0.2110916227, 0.2763251066, -0.5041126013, -0.4497064054, -0.053242974, 0.0115928799, 0.5150421858, 0.2455343157, -0.3353073895, 0.2127756774, 0.4184194505, -0.3305484951, -0.7911541462, -0.9681246281, 0.2116044909, 0.1121840253, -0.735140264, 0.2501442432, 0.362421602, -0.5157080889, 0.2692389488, -0.110512875, -0.2350558937, -0.1585854292, 0.1994368583, 0.4351311624, -0.7577975988, 0.1457596719, 0.0211179331, 0.2299733162, -0.0143648591, -0.8430719972, 0.4925597906, -0.3843100965, -0.177783981, 0.0410972498, 0.1324331909, 0.5336126685, -0.2186396718, 1.018196702, 0.40840891, -0.5245414972, -0.0462297425, -0.7103337049, 0.0978480577, -0.3288392723, 0.2580361366, -0.4524202645, -0.5364286304, 0.8564833403, -0.0915297195, -0.1380368322, 0.3075312674, 0.7642781138, 0.2414846569, 0.4814423919, 0.4048832357, -0.1386007816, 0.4218485057, -0.5151708722, -0.2192294002, -0.8072014451, -0.6106209159, -0.8090426922, -0.3093398213, -0.6813154817, -0.8055868745, 0.1512283832, -0.4313199818, 0.1066595986, 0.7304646373, -0.1267476827, 0.5000674725, 0.6448082328, -0.1710141152, 0.4199132919, -0.2115862221, -0.2629683018, -0.0979162976, -0.6654467583, -0.6704276204, 1.1182855368, 0.0083128335, 0.8176407814, 0.2763870358, 0.4544173479, 0.402105391, 0.2022396326, -0.84734267, 0.1269434988, -0.1635397673, -0.3793677688, -0.049354028, -0.4786444306, -1.2478274107, 0.1267434061, 0.0603787787, -0.3762926161, 0.6993009448, -0.2088935524, -0.3343344927, 0.1815863997, -0.5719996691, 0.9384846091, -0.0019999424, -0.3491519988, 0.0373109132, -0.7287042737, 0.290245384, 0.0181074776, -0.0474172272, -0.0082148938, -0.4761937559, 0.3032705188, -0.3365823328, 0.9279892445, 0.3971807957, -0.0161741115, 0.264780283, 0.3754235506, 0.3307286203, 0.0402123258, -0.2031112313, 0.5293294787, 0.0683646798, -0.504311204, -0.4423526525, 0.6059542298, -1.1369707584, -0.1960770637, -0.7188641429, -0.4811568856, 0.1698280275, 0.0410720967, 0.2963889241, 0.5052037835, -0.6919972301, 0.0408650562, 0.5156536102, 0.051202815, 0.3087471128, 0.3265147209, 0.1514980197, -0.2294512242, 0.8239912987, 0.2729263902, 0.1600595564, 0.1517003328, 0.1009314209, -0.4891607165, -0.6746537685, -0.6323607564, 0.0277239271, -0.7406451702, -0.3288003206, -0.6302708983, -0.0953743383, -0.7441783547, -0.1197507158, -0.5304504633, -0.6649166346, -0.3972917497, -0.049626898, 0.0941227227, 0.9536116123, -0.0924249291, 0.0908895731, -0.6343827248, 0.0425248966, 0.1017289087, -0.022415759, -0.0327350385, -0.5771083832, -0.2172234952, 0.101298824, 0.2402124852, -0.7863325477, 0.666097343, 0.0834395885, 0.4369160831, 0.4051263928, 0.0722911358, 0.7136478424, -0.403422147, 0.5060938597, -0.2086714804, -0.7126840949, 0.3368269801, -0.5065445304, 0.3245843947, 0.5140143037, 0.3834729791, -1.223954916, -0.5040057898, -0.4407333732, -1.0113816261, 0.9266482592, 0.2913038135, 0.5256621838, -0.2085836679, 0.0610155575, 0.2851174772, 0.2723700702, -0.4706889689, -0.2697222531, -0.4152830243, -0.2703525126, 0.1348925084, 0.3023000062, -0.0874133706, -0.1125394776, 0.4967676699, -0.0679612979, 0.0341768228, 0.150374651, -0.4445506632, 0.1760706007, 0.0139196264, 0.624071002, 0.5548185706, -0.1317371875, 0.5122898817, 0.0658617467, -0.8176466227, 0.0501405001, 0.1291077584, -0.4669036865, 0.1410805583, 0.3180482388, 0.726187408, 0.1026575342, -0.337610811, 0.3912189007, 0.010236782, 0.4658295512, -0.489141643, -0.1580263823, 0.1276768744, 0.1240140125, 0.179999426, 0.6429001093, 0.1326546967, -0.507801652, -0.2339016497, -0.1027064696, -0.2964921892, -0.5366249681, 0.5602022409, 0.2930178344, -0.1854677498, 0.7141996622, -0.3354313672, -0.2298431098, 0.6725144386, 0.4808509946, 0.8707555532, 0.0384753682, 0.2727904916, 0.5026831627, 0.4267349839, -0.390699178, -0.2569815516, -0.1924307048, -0.6493157148, -0.216839835, -0.6066468954, -0.3464649022, 0.2385089993, -0.5751374364, 0.2475811541, -0.2967250049, -0.149590984, -0.2494303435, -0.0523906238, -0.8646227121, -0.1280943602, 0.3156429827, 0.6567950249, -0.8626651764, 0.8432663679, 0.4774404764, -0.667073071, -0.1908283681, -0.1210215613, 0.2922328413, -0.7130967975, 0.7978435755, -0.3876253963, -0.3279173076, -0.1242398396, -0.2756260335, -1.026501894, 0.9137766957, 0.4827795625, -0.2902640104, 0.0057692532, 0.3704141378, 0.9172499776, -0.4204734266, 0.2936505973, 0.4791380167, 0.3315401673, 0.1072928905, -0.8187214136, 0.0172484163, -0.4407459199, 0.4415249228, -0.0203834418, -0.4209328592, 0.6347622871, -0.0537051409, -0.3044005632, 0.2484162599, 0.7449153662, -0.2175872624, 0.1335467398, -0.0929822773, 0.0422644913, 0.8837231398, -0.3407841921, 1.0299171209, -0.0375206992, -0.1388354301, 1.326084137, -0.0616922528, 0.6177791953, 0.4441745281, 0.0141533362, 0.2084565908, 0.7851894498, -0.1545436978, 0.3441808224, 0.4753289819, -0.74839288, -0.0434280187, -0.591031611, -0.3848290741, 0.6048662663, 0.2940019071, -0.5154546499, -0.0633156821, -0.173476547, 0.3220693469, 0.1588707864, -0.2969833612, 0.5636880994, 0.0794838294, -0.8081601858, 0.4298600256, 0.2853306532, 0.5393883586, -0.5591455102, 0.2404962927, -0.6845007539, 0.1481559724, -0.1303813159, -0.4640572071, 0.5790727735, 0.1851359159, -0.0663074031, -0.3203632534, 0.571495235, -0.56550771, -0.460836798, 0.1216970235, 0.9720585942, 0.2059418708, 0.1456060261, -0.2872947454, -0.2032175511, -0.4422504306, -0.2014969736, 0.1209832355, 0.5754821897, -0.5521492362, 0.4271569848, 0.7897626758, 0.5832733512, 0.5749272108, 0.3302393258, 0.7939056754, -0.4224314094, -0.1789921522, -0.7123988271, 0.0824643224, 0.0237744115, -0.6454409361, 0.6283411384, 0.7463132143, 1.2149882317, -0.2747880816, 0.4748772383, -0.0364563093, -0.2668023705, -0.4308487773, 0.8702808619, -0.2238020897, 0.2165825367, -0.0996799916, -0.9616851807, -0.5155338049, 0.4824305475, -0.1206806824, -0.1769111753, 0.6273280978, 0.9286258221, -0.3594261408, -0.2151192725, 0.3293139637, 0.1763724685, -0.048370067, 0.1891436577, 0.7071712613, -0.3323742449, 0.9069871902, -0.4284080863, 0.1290815324, -0.106044814, -0.8316937685, -0.6561840177, -0.8488587737, -0.223380819, -0.5011013746, 0.192006588, 1.3284307718, 0.6066328883, -0.9177473187, -0.4917840362, 0.0667115673, 0.2375005037, -0.2251859158, -0.1037987545, 0.3945622146, -0.2943566442, -1.1110956669, 0.4812799096, 0.2076003551, 0.2892176807, -0.5002334118, -0.0629882514, -0.0494598374, -0.0858307183, 0.2856506705, 0.432495743, -0.6439062953, 0.0085828723, 0.6513504982, -0.6477529407, 0.1609798968, 0.8762812018, -0.8450117111, 0.6433039308, 0.8059468865, 0.5788211823, 0.5231586695, -0.2902629972, 0.6872489452, -1.1150645018, 0.4587994516, 0.5987782478, 0.397660315, 0.5810599327, -0.0855852813, 0.7273783088, 0.4876465797, -0.150227204, -0.5215439796, -0.0144645842, -0.7470598221, 0.0459634066, 1.3121132851, -0.2927086949, -0.5329448581, -0.7700334191, -0.065055497, 0.6385547519, -0.3278155625, 0.9024448395, 0.7100153565, 0.4481550455, 0.2555119693, -0.4970164001, 0.52161479, -0.0328977518, -0.3778761029, 0.0212311372, 0.6604246497, 0.1542938948, 0.3049170375, 0.6531509161, -0.358387202, 0.2370290905, 0.1338902861, 0.0978557765, -0.3444673419, -0.2130499035, -0.5225208402, -0.206264779, -0.2536999285, -0.1145390645 ]
http://arxiv.org/abs/2404.07654v1
http://arxiv.org/pdf/2404.07654v1
rollama: An R package for using generative large language models through Ollama
2024-04-11T11:37:18
2024-04-11T11:37:18
Johannes B. Gruber, Maximilian Weber
cs.CL
cs.CL
rollama is an R package that wraps the Ollama API, which allows you to run different Generative Large Language Models (GLLM) locally. The package and learning material focus on making it easy to use Ollama for annotating textual or imagine data with open-source models as well as use these models for document embedding. But users can use or extend rollama to do essentially anything else that is possible through OpenAI's API, yet more private, reproducible and for free.
[ -0.3584130406, -0.9933851957, 0.322721988, -0.130324766, -0.2598654032, 0.1678925902, 0.0106383255, -0.3957378566, 0.5610744953, 1.0667027235, -0.2377079278, -0.723976016, -0.4324044585, -0.1815434396, -0.2226856202, 1.1862475872, -0.4108825624, -0.1351871789, 0.0475202166, -0.5853508115, -0.422270447, -0.2866337895, -0.3856791258, -0.3443782032, 0.8430615664, 0.5133022666, 1.0712066889, 0.4754900634, 0.9494906664, 0.2482446581, 0.0585159436, 0.2920219302, -0.2920069098, 0.1579811126, -0.1178895608, -1.0274888277, -0.6797764897, -0.0322698727, 0.6529948115, 0.305865705, -0.3316288292, 0.6129656434, -0.6246370673, 0.7221102118, -0.9725047946, -0.0958778113, -0.2889168561, 0.105098471, -0.5390146375, -0.2724401653, -0.3084772527, -0.7942215204, -0.1879999936, -0.6657853127, -0.0979244411, 0.2993905842, 0.9263987541, 0.4752811193, -0.1875267774, -0.986042738, -0.9516401887, 0.7882512212, -0.6677696109, -0.2132889181, 0.5330664515, 0.6995880008, -0.3569273055, -0.4410318434, -0.6798859835, -0.3415434361, 0.1259194911, 0.0874408409, 0.0876454189, -0.0712720603, 0.2934383154, 0.9634607434, -0.896966815, 0.3887298703, -0.8109203577, 0.5403539538, 0.6002696157, 0.2260594517, 0.9982004166, 0.0331496969, -0.8138775229, -0.2994022071, -0.8947008252, -0.4238083363, 0.7671046257, 0.2708998322, -0.5294568539, 1.0771632195, 0.3122984171, 0.7546485066, -0.7479158044, -0.3177727461, 0.5027669668, 0.1999937147, -0.5629924536, -0.0614885874, 0.7763857245, -0.0349016301, 0.2084680647, 0.1009895355, -0.268550545, 0.3383327425, 0.3198435307, -0.6068582535, -0.1404554099, 0.7009925246, -0.699020505, -0.0893074498, 0.3084523976, -1.2349381447, -0.3127333522, -0.2852987349, 0.4466555119, -0.3789605498, -0.5818519592, 0.2387352586, -0.0180814918, 0.2746518254, 0.0063911602, -0.6528177261, 0.1852073371, 0.7727339268, 1.2886977196, -0.2240772694, -0.2603339553, -0.8686219454, 0.3411506712, -0.5285525918, 1.0068057775, -0.7440671325, -0.6438233852, 0.4274796844, -0.2008519322, -0.0616290905, -0.7570020556, 0.538076818, -0.6744953394, 0.4055211544, 0.2162059098, -0.5181257129, -0.6168680191, -0.1046804935, -0.9030508995, 1.079600215, 0.2998310328, -0.487136662, 0.3303618729, -1.2728968859, -0.1640038043, 0.3137204647, -0.0367307067, -0.5324676037, 0.2054904103, -0.080094628, 0.4369905293, -0.2126316726, 0.2925560474, -0.4953155816, -0.4042564332, 0.4553746283, 0.1670728773, 0.957819581, 0.6969742775, -0.0365328491, 0.5048367381, -1.0064707994, -0.1144155562, 0.1108399481, -0.2458086461, -0.8204062581, -0.2547185123, 0.2267347276, -0.0550669357, -0.0639718249, -0.2431540191, 0.8222657442, -0.2066576183, 0.2397470921, 0.5265088677, -0.3381726742, 0.5134900808, -0.3236247003, 1.0373374224, 0.1864868999, -0.0367716514, -0.3995749056, -0.8226878643, -0.8506974578, -0.6810448766, 0.0948790461, 0.6666461825, -0.9711951613, 0.1941663325, -0.1590561569, -0.502946198, -0.9660505056, 0.3800271749, 0.4379755259, -0.1046818346, 0.5333728194, -0.2172358334, -0.5482718945, -0.7708476186, 0.4615716636, -0.0192479864, -0.2850527763, -0.3883303106, 0.9663212895, -0.6871384382, 1.0936414003, -0.9173250794, -1.0624984503, -0.2297978103, 0.6276690364, 0.1944336742, 0.2404599041, 0.6797292829, -0.8035112619, -0.3172045648, 0.2041198462, -0.9260417223, -0.0917691737, 0.0992389098, -0.0154999159, 0.6699718833, 0.1394366175, -0.6251596212, 0.4978385866, 1.1193087101, -0.2707463801, 0.3708196878, -0.5762938261, -0.0736450329, -1.416446805, 0.2487199157, -0.2504208684, -0.0055670114, -0.5397635698, 0.6114891768, -0.305563122, -0.193209067, -0.29780671, 0.8893620372, -0.6204701066, -0.2786002457, -0.5384945273, 0.24881652, -0.3293439448, 0.2507666945, 0.011577867, 1.0365281105, 0.4211224616, -0.6607317924, -0.0064041964, 0.4107817113, -0.5754361749, 0.6616171002, -0.5116539598, 0.4719041586, -0.2908803821, 0.1933354586, -0.7197878957, -0.4804798365, 0.6016450524, -0.2525322437, 0.0660648346, 0.0376453847, -0.1431177855, -0.3494670391, -0.56528157, 0.3230586052, 0.6391099095, -0.6955319047, 1.1349278688, 0.8130620122, 0.2135428041, -0.5570896864, -0.846717, -0.0030679882, -0.5737649798, -0.2864604294, 0.0424925722, -0.2129414827, -0.7063595057, 0.1120701134, 0.7507206202, -0.1566805094, -0.2390125841, 0.8017234802, 0.4271687567, -0.5006265044, -0.0384540185, -0.3504649997, -0.3945347071, -0.314563036, 0.2318784595, 0.7527124286, -0.0998262987, -0.2742339373, -0.1599934399, 0.4351262152, 0.3534668088, -0.3761879504, 1.0018970966, 0.8048840761, -0.166780889, -0.680758059, -0.4488671124, 0.4652062356, -0.4819386303, -0.0605080985, -0.3126941919, -0.8501513004, 0.711301744, 0.3629683256, 0.1714280099, 0.2224681824, 0.7382226586, 0.0162287746, 0.4634260535, 0.5741178393, -0.3203107417, 0.1877381206, -0.4163456261, 0.1296507269, -1.0825805664, -0.064874135, -0.9182218313, -0.1887135059, -0.4114532471, -1.0744650364, 0.0586023703, 0.1183355004, -0.2831761241, 0.2364059687, -0.5898096561, 0.2908318639, 0.6937417984, -0.3164151609, 0.5656530261, -0.0193741471, 0.4614220858, 0.3671925366, -0.4375505149, -0.8571089506, 1.0946758986, 0.5646023154, 1.2501918077, 0.3188037574, 0.6575418711, 0.3147816658, 0.7488562465, -0.8951864243, 0.6477528811, -0.3411297202, -0.4470852613, 0.0610814653, -0.4016676545, -1.164948225, -0.018183995, 0.0832740366, -0.7899551392, -0.005238798, 0.0457982793, -0.2578722537, 0.6889999509, -0.6906657219, 0.4263164103, 0.0237338897, 0.4330791235, -0.214552924, -0.1643226147, 0.7720836997, 0.1684577316, 0.379046917, -0.3321572542, -0.2488185465, 0.7367444634, -0.2456848025, 0.9043565989, -0.1436549276, -0.4622634053, 0.6890284419, 0.2021278143, 0.1696477383, -0.0816249922, 0.1736836582, 0.4605124295, -0.196133703, -0.0950932428, -0.5529391766, 0.7195796371, -0.8389849067, -0.2797904313, -0.610175252, -0.6372825503, 0.2398289591, -0.100315772, -0.1236684471, 0.4329837561, 0.0714023039, 0.2166229486, 0.6581822038, -0.462013334, 0.3452925086, 0.5009655356, -1.0886365175, -0.5104771256, 0.9258663654, 0.2225807458, 0.289354682, 0.484937638, 0.1765816361, -0.1913285702, -0.5384991765, -0.5408915877, 0.2420940548, -0.7934775352, -0.2616710961, -0.6407296062, -0.1045664027, 0.1327657849, -0.3940709829, -0.2397592068, -0.1607886702, -0.2015624344, -0.0259707235, 0.5705487132, 1.1694988012, 0.0306086168, 0.4870944917, -0.7576862574, 0.7966218591, 0.1766634881, 0.3380119205, -0.1397739351, -0.2354032397, -0.0691579655, -0.0190569069, 0.0001925992, -0.6907128692, 0.4042084813, 0.1608726233, 0.3984474242, 0.4890622199, -0.0685006529, 0.5978386402, -0.2131969482, 0.8987507224, 0.0882404298, -0.6484153271, 0.6733537912, -0.526552856, 0.4916899502, 0.2375437021, 0.6794720888, -0.2227650732, -0.3725261688, -0.1278092861, -0.778539598, 0.442446053, -0.096506387, 0.0952751711, -0.048895631, 0.1362162828, 0.2920831442, -0.0486206934, -0.6362611055, -0.1533326358, 0.0726073533, -0.3712419271, -0.1473243386, -0.5987452865, -0.4517793059, 0.4806503952, 0.7809132338, -0.3636525869, 0.2217148989, -0.0789721832, -0.1630904675, -0.2823414207, 0.1219405979, 0.8238790631, 0.7737525105, -0.2586515844, 0.0771637633, -0.0679428354, -0.8460264802, 0.1404070705, -0.275777638, -0.5434233546, -0.0043908055, 0.3198189437, 1.0203896761, 0.2382074147, -0.8781548142, -0.1387409568, 0.2546110451, 0.0557764657, -0.6316287518, 0.3735404015, -0.005814217, 0.0752360597, 0.4842269719, -0.3621531427, -0.0854826048, -0.8102265, -0.2024396956, 0.3557677567, -0.1745064408, -0.2754837871, 0.6902848482, -0.1381321996, -0.7473270297, 0.4069575965, -0.0295051169, -0.1511334628, 0.5902563334, 0.5719402432, 1.0797930956, -0.6503727436, 0.8957275152, 0.4418182671, 0.1942203492, -0.1008677557, 0.5074383616, 0.4482342601, -0.680532515, -0.3357447088, -0.9697432518, -0.7320370078, 0.1456948668, -0.7304239273, 0.488761574, -0.3423691988, -0.0460071266, -0.0341517217, -0.3555845916, -0.4004949331, 0.1553767025, 0.1260898709, 0.8472749591, -0.4350399375, 1.0529508591, 0.8934083581, -0.8703870773, -0.7392638922, -0.185939759, 0.0428751484, -0.8643758893, 0.7895367742, 0.2954837084, -0.4686009884, -0.5375599861, -0.2897757292, -0.8083356023, 0.9237943888, 0.0879450068, -0.2619251609, 0.1529870182, 0.5243901014, 0.6115142703, -0.5500277281, 0.407979697, 0.1118956581, 0.4536840618, 0.1707499027, -0.711032331, -0.1657553017, 0.1258478314, 0.4197176993, 0.352263093, -0.6181410551, 0.9821731448, -0.2328339219, -0.4036910534, 0.2761726975, 0.8826717734, 0.4538590908, 0.3548625708, 0.30523628, 0.7812963128, 0.804444015, -0.0705894455, 1.1076335907, 0.0076284874, 0.4024344087, 1.3566485643, -0.7026266456, 1.3590072393, 0.2552650571, -0.3207065761, 0.8926689625, 0.125240609, 0.0539495721, 0.1154393777, 0.0593175888, -0.1802074164, 0.3841917515, 0.1527319998, -0.5786293745, 0.6792176366, 0.4854671657, -0.0880487859, -0.0983456448, 0.4566428363, 0.3274482787, 0.1790083498, -0.6251410246, 0.5029848814, 0.3256763816, -0.6701014638, 0.4705764651, -0.2209694982, 0.9480725527, -0.9734217525, -0.150599882, -0.1984193325, 0.4931670725, -0.3224981129, -1.0254667997, 0.8958188295, -0.2156967521, 0.0581133328, 0.1235934496, 0.7751096487, -0.4880190194, -0.488203615, 0.526655376, 0.0550398603, 0.1673141122, 0.3177952766, -0.55131495, 0.418056637, -0.3978114128, -0.5055345893, 0.405818522, -0.1118154675, -0.1691921204, 1.2533665895, 0.7669621706, -0.0353836343, 0.0099601913, 0.0530877784, 0.7273850441, -0.5886188149, -0.4310897887, -0.6202809811, 0.5263114572, 0.0416676924, -0.6057514548, 0.9373857975, 0.5866243839, 0.6150093079, -0.6792379618, 0.4545832574, -0.3732184172, 0.5783064365, -0.9461035728, 0.7766470313, -0.5204266906, -0.0711557716, -0.0206446201, -1.1967734098, -0.3777538538, 0.6759274602, -0.2650107741, -0.2257534862, 0.583347559, 0.9701417089, -0.035416685, 0.1954302639, 0.3217812777, 0.1259822696, 0.3143481612, 0.2964330316, 0.7429189682, -0.150065735, 0.1632125974, 0.1074601561, -0.3552102745, -0.1774029136, -0.824572742, -1.3613091707, -0.8429051042, -0.3617938757, -0.34398368, 0.0356902592, 0.9444985986, 0.5557287335, -1.1028394699, -0.5044053197, 0.3738824129, 0.0702605173, -0.0240529962, -0.2805906534, 0.4598881006, -0.3895645142, -1.033233881, 0.4959729612, 0.5880071521, -0.0542874001, -1.0469144583, -0.1261703074, -0.3757073581, 0.1046715677, 0.4663251936, 0.6059427261, -0.5027285218, -0.2168083936, -0.4776429236, 0.0007065539, 0.1684414148, 0.8125864267, -0.6630028486, 0.4295985401, 0.5076851845, 0.4317336082, 0.2704983652, -0.1547585726, 0.6730994582, -0.2435484976, 0.6906293035, 0.0734572783, 0.2372389585, 0.1991381347, -0.1780674905, 1.0244458914, -0.3937534392, -0.7737488747, -1.0573513508, 0.1457914263, -1.3201197386, -0.1167895868, 1.3358217478, -0.4353240132, -0.5822039247, -0.1803471297, -0.5339108109, -0.2168445587, -0.0374650769, 0.8978091478, 0.4600355923, 0.4493394792, -0.2159939706, -1.1075357199, 0.4866224825, -0.0372017734, -1.3230768442, -0.3580557704, 0.2661198974, 0.0237501841, 0.6615840197, 0.8210942149, -0.0905477554, -0.0073787076, -0.0297883675, 0.2448385805, -0.1982408315, -0.4257707, -0.2266146988, 0.5523298979, -0.2326349169, -0.3845642805 ]
http://arxiv.org/abs/2404.07647v1
http://arxiv.org/pdf/2404.07647v1
Why do small language models underperform? Studying Language Model Saturation via the Softmax Bottleneck
2024-04-11T11:10:36
2024-04-11T11:10:36
Nathan Godey, Éric de la Clergerie, Benoît Sagot
cs.CL
cs.CL
Recent advances in language modeling consist in pretraining highly parameterized neural networks on extremely large web-mined text corpora. Training and inference with such models can be costly in practice, which incentivizes the use of smaller counterparts. However, it has been observed that smaller models can suffer from saturation, characterized as a drop in performance at some advanced point in training followed by a plateau. In this paper, we find that such saturation can be explained by a mismatch between the hidden dimension of smaller models and the high rank of the target contextual probability distribution. This mismatch affects the performance of the linear prediction head used in such models through the well-known softmax bottleneck phenomenon. We measure the effect of the softmax bottleneck in various settings and find that models based on less than 1000 hidden dimensions tend to adopt degenerate latent representations in late pretraining, which leads to reduced evaluation performance.
[ -0.595764637, -0.4932099581, 0.6533599496, 0.0484213457, -0.1174043491, -0.046839986, -0.3335402608, -0.3480267823, -0.3107666671, 0.4309704602, -0.4823771119, 0.0307935774, -0.6578469276, -0.0824178532, -0.12160106, 0.8231861591, 0.1395708919, 0.1230858639, -0.5270221829, -0.3233003616, -0.6953061223, -0.510563612, -0.3696924448, -0.7287270427, 0.3565328121, 0.573723495, 0.9115018845, 0.5791380405, 0.2844929099, 0.2624249756, -0.1904943883, -0.2009714991, -0.7559891343, -0.0171577297, 0.1998928785, -0.6502447724, -0.255235523, 0.2762925327, 0.7720307112, 1.3598208427, 0.0706121996, 0.1366180927, 0.3459884524, 0.6040047407, -0.7753407359, 0.0135238748, -0.7988097668, -0.0276273396, -0.2078576535, 0.1893378794, -0.2017520666, -0.1136722118, 0.3130097687, -0.240587607, 0.3971511722, -0.002779298, 0.5165287852, 0.2645837069, -0.2201686949, -0.1510765553, -0.8957565427, 0.923873961, -0.6925094724, 0.2273893803, 0.2334086448, 0.210776329, 0.2077994943, -0.3687334657, -0.5375723243, -0.4127648473, -0.0658662096, -0.443443507, -0.3574594259, -0.1004272401, 0.4557539523, 0.3685891628, -0.6483256817, 0.3611073792, -0.4466485977, 0.0465524867, 0.417689085, 0.2241524756, -0.0677416101, 0.0472082011, -0.1420010477, -0.099577181, -0.9712733626, -0.0132193565, 0.3274837136, 0.6999163628, 0.1224041358, 0.475304693, -0.0130259646, 0.4170017838, -0.0944016054, -0.0257046018, 0.4769351184, -0.110790126, -0.396825701, -0.1045048237, 0.5710120201, 0.0381930619, 0.6026834846, 0.0319473296, -0.3414580524, -0.0567479841, 0.117018722, -0.9349428415, -0.0244929269, 0.0699547529, -0.5468825102, -0.2529557943, -0.304890126, -0.536477983, -0.4066559076, -0.1350010931, 0.523735702, -0.0267102588, -0.4002483487, 0.0591062903, -0.0810175985, -0.1790863574, 0.0791102126, -0.6459789872, 0.5092118979, 0.4795438051, 0.8380106091, -0.1506952941, -0.2630412579, -0.1805103272, -0.3518899977, -0.5359251499, 0.5413961411, -0.5846443176, -0.4067108035, 0.0267392676, -0.1585472375, -0.3725881875, -1.0367689133, 0.2726157904, -0.2163886279, 0.0913513973, -0.1886904389, -0.3013502061, 0.2008530498, -0.1732661277, -0.7823287249, 0.8898531795, 0.103209205, -0.6009944081, 0.3479521871, -0.1895580739, -0.2419879138, 0.0385804474, -0.2489648759, -0.3664646745, 0.6455368996, -0.168408215, 0.4152118266, -0.4729912877, -0.2555611432, -0.2841760814, -0.8316279054, 0.4292781651, -0.551148057, 0.6296550035, 0.1959103197, -0.4063759446, -0.1298479885, -0.7393066883, 0.3066424131, 0.3320342004, -0.2673137486, -0.6441800594, -0.1732995361, -0.0142847067, 0.3412290812, 0.0175190959, -0.0679092258, 0.2395184636, -0.6748213768, 0.3752095103, 0.5351451635, -0.2350143641, 0.6571875811, -0.0951008499, 0.6665580869, 0.1465812624, 0.0231421292, 0.1701025516, -0.3376470804, -0.8568693995, 0.1925737411, 0.4515897334, 0.4464691579, -0.2863988876, -0.2330261767, -0.431665659, -0.5852770805, -0.521283567, 0.5351125002, 0.5380500555, 0.1554946601, 0.1551795751, -0.4022760987, -0.2492698282, -1.1678454876, -0.2848255634, 0.0387932137, -0.1655537486, 0.3629090786, 0.5595847368, -0.4462874234, 0.7191525102, -0.4689157009, -0.4055699408, -0.7241441607, 0.3045147061, 0.2646236122, 0.6813440323, 0.583771646, -0.7059738636, -0.3363156319, -0.3469483256, -0.2563837469, -0.0931696072, 0.0830404684, 0.334418714, 0.1844322383, 0.4863151014, -0.6739195585, 0.3959815502, 0.5893175602, -0.1188970506, 0.5762109756, -0.3064424694, -0.4855696857, -0.4603714645, -0.0279702507, -0.0245680045, -0.1370142847, -0.4596622884, -0.2089413404, -0.1566736698, -0.3934997916, -0.2777035534, 0.2528381944, -0.5651609302, -0.1676457971, -0.4492067099, 0.3819817901, 0.1097030118, 0.4891879261, -0.2613812983, 0.7526908517, 0.3673766553, -0.5131850839, -0.0156778917, -0.0238424037, -0.3931544721, 0.2053708732, -0.7940484881, 0.0571261756, -0.1022052392, -0.0199880451, -0.7382400632, 0.0875811055, -0.3118371069, -0.2343740016, 0.5372328162, -0.2142575085, -0.40321666, -0.3741408587, -0.19081828, 0.5857409835, 0.5767661333, -0.0981882513, 0.0423812009, 0.3768912256, -0.0633429512, -0.6337840557, -1.04357481, -0.2798081934, -0.0375537463, -0.4920778573, 0.1648341417, -0.1831611246, -0.3792518973, 0.0207076557, -0.2378362417, -0.1668756455, 0.1378215551, 0.3780959845, -0.202381283, -0.7094796896, 0.1975656003, -0.2472039014, -0.2362292409, -0.0485837236, -0.2311155945, 0.6101124287, -0.6379771233, -0.0798472315, -0.1679921448, 0.3500671387, 0.5839478374, 0.1450183541, 1.1280063391, 0.3232125044, -0.4326789975, -0.5009617805, -0.4386446178, -0.1132643521, -0.4700550139, 0.3250640035, -0.4458048046, -0.7972946763, 0.4354086816, -0.0075527797, -0.4316202402, 0.6220773458, 0.5324609876, 0.1227738634, 1.2135019302, 1.0145493746, 0.2409439832, 0.2956809402, -0.5688625574, 0.0829572156, -0.7140551805, 0.0174351651, -0.5348896384, -0.040066883, -0.956310153, -0.3961941004, 0.1011569425, 0.3351118863, -0.2120761573, 0.3649910986, -0.2342187166, 0.7167190909, 0.5059356689, -0.3781470656, 0.2077239454, -0.0973276272, -0.3274694085, -0.2931601405, -1.1315096617, -0.674182713, 0.8795658946, 0.6050226092, 0.8039591908, -0.1523674279, 0.2813091874, 0.291885525, 0.1820886284, -0.624206543, 0.3841779828, -0.2362158448, -0.7333877087, -0.3934629858, -0.5866321921, -1.0608592033, 0.4534166455, -0.1537239254, -0.6950762272, 0.5942025781, 0.4110344648, -0.5198346376, -0.0821635276, -0.8907328844, 1.5519090891, -0.1360010803, -0.4247274697, -0.303933233, -0.3701269031, 0.2098966092, -0.1110440791, 0.3414966166, -0.1762464792, 0.189341411, 0.5679129958, -0.5823293924, 0.6764625311, -0.2474668473, 0.1232057661, 0.2405532151, 0.3048585057, 0.347061336, 0.0348210149, 0.0900401101, 0.1772468835, 0.0613554753, -0.5273212194, -0.4258520305, 0.8558029532, -0.7818316817, -0.573882401, -0.4686772823, -0.1746685356, -0.4815070033, 0.0883946121, 0.6085340381, 0.5876255631, -0.0722353756, 0.4429947436, 0.6119580269, -0.3178052902, 0.3267066181, 0.230967924, 0.0162590966, 0.135180369, 0.947445631, 0.4909019768, 0.5023472309, 0.0058791256, 0.2321785539, -0.0500736162, -0.6389757395, -0.1422104836, 0.1893442124, -0.780518055, -0.0616827682, -0.3681618869, -0.21407561, -0.5620023608, 0.0838285461, -0.8084563613, -0.4622323513, -0.2385850698, 0.0777043626, -0.3611938059, 0.8893768787, -0.2431871146, 0.5745217204, -0.3505403697, 0.0302545205, 0.4025967717, 0.5770587921, 0.292200774, -0.5173216462, -0.5985901952, -0.1659734249, -0.2594769001, -0.6848523021, 0.3734509945, 0.3272868395, 0.5725771785, 0.4358962774, -0.2246211618, 0.4731547832, -0.6126906872, 0.4704422951, -0.0127031924, -0.9345868826, 0.2532799542, -0.0365499184, 0.5792803168, 0.6525541544, 0.3434876502, -0.3464436531, -0.2470812351, -0.7000479698, -0.9331336021, 0.6438663602, 0.2813113034, 0.315182507, 0.2274088562, 0.1698373407, 0.2860348821, 0.4383805096, -1.056427598, -0.335023433, -0.1671697944, 0.1074132249, -0.3886955976, -0.7330431342, 0.2267891467, -0.0724769831, 0.5225936174, -0.1571340412, 0.3093482256, -0.1892476678, -0.3637873232, -0.440998286, 0.220601365, 0.6362300515, 0.801014781, -0.2962697744, 0.1657937467, 0.2545130253, -0.2600519657, -0.1226465479, 0.0686000884, -0.0070201205, 0.1318198889, 0.5318947434, 1.0438028574, 0.4016709328, -0.7835543156, 0.8320662975, -0.156997785, 0.172876671, -0.4759966731, 0.1686288863, -0.0097409189, 0.2985291779, 0.6793936491, 0.2152130306, 0.0194891319, -0.7628402114, -0.0358419046, 0.5331162214, -0.4436267912, -0.119905062, 0.6318116784, 0.1113974527, -0.1314103007, 0.5311150551, -0.1352112591, -0.639113903, 0.6070459485, 0.2331974357, 0.5928747654, 0.0638939068, 0.0482947566, 0.1425383985, 0.6390968561, -0.1269292235, -0.064635776, 0.0818544105, -0.5281714201, -0.4964199662, -0.8332006335, -0.0511396825, 0.692525506, -0.4544519782, -0.0312037654, -0.3701835871, -0.3174307644, -0.066818431, 0.2647944093, -1.0480561256, 0.4395554364, 0.3973900974, 0.7653006315, -0.8895305395, 0.7180646658, 0.1201668158, -0.4778524041, -0.5982112885, 0.1598635763, -0.2408049256, -0.5027102828, 0.8736146688, 0.4407244623, -0.0987236127, -0.1848379374, -0.3300852776, -0.865355134, 0.4939610958, 0.412997961, -0.6611994505, -0.120056048, 0.4794762135, 0.869189918, -0.7256406546, 0.1021865308, 0.5755624771, 0.1404378861, -0.1958534122, -1.0763539076, 0.0413980745, -0.0380538069, 0.3629370332, -0.1226204336, -0.4726580977, 1.2366633415, -0.2850418687, -0.3273364902, 0.1050691009, 0.3672081232, 0.0716607347, 0.375372082, 0.5628521442, 0.3496148884, 0.3973196447, -0.130086109, 1.1365886927, -0.0746203139, 0.4904222786, 0.9459481239, -0.2132627964, 0.9420443773, 0.2600277066, -0.0194640458, 0.4958408773, 0.5522717834, 0.0520947315, 0.5283128619, 0.3590943813, 0.1229101941, -0.4512787163, 0.2007738203, -0.475353092, 0.5110888481, 0.4335716069, -0.405698061, 0.0560772754, 0.2584106922, -0.2325146794, 0.0617118701, -0.432687819, 0.4173193574, 0.3199560046, -0.447471112, 0.9998005033, -0.0408021882, 0.5056374073, -0.2989415228, 0.2891696692, -0.302840054, 0.4791924059, -0.0008129164, -0.4057574868, 0.3288556635, -0.179547593, -0.2557287216, -0.3466895819, 0.8617258072, -0.2860747278, -0.3606817126, 0.4482542872, 0.8944766521, 0.2262632549, -0.3253867924, -0.7221263647, 0.2580877542, -0.4924801886, -0.4360024035, 0.3599265516, 0.5645625591, 0.1016165763, 0.6082063317, 0.2808686495, 0.1934791654, -0.0515217036, 0.1703558564, 0.7093789577, -0.4962490499, -0.2800626755, -0.8187918067, 0.1933151931, 0.0321018882, -0.4550240636, 0.7095699906, 0.6487352252, 1.031535387, -0.2893715203, 0.5961347818, 0.2242341191, 0.5846144557, -0.2473941147, 0.8262719512, -0.9066597819, 0.3763602674, -0.0976908356, -1.1145223379, -0.0278712306, 0.5468907952, -0.5488182902, 0.3360458016, 0.5421136618, 0.6119983196, -0.1307312995, -0.4862314165, 0.609306097, 0.5562365651, -0.140327096, 0.6986159682, 0.6700496674, -0.3399092257, 0.7262860537, -0.3209527135, 0.0161630623, -0.686714828, -0.780251801, -1.0432981253, -0.5493206382, -0.2641403377, -0.410120517, 0.0133644985, 0.5755557418, 0.9103038311, -0.8213945031, -0.2661573887, -0.2008821666, 0.1692523509, 0.0311235785, -0.2652953267, 0.0568115413, -0.1514958888, -0.7124341726, 0.3908002973, 0.0694785938, 0.1966108382, -0.6646383405, 0.1509867609, 0.1031548753, 0.2526028752, 0.3538960218, 0.4664201438, -0.421238333, -0.0806751251, -0.3330248296, -0.5322403312, -0.0041782027, 0.9922484756, -1.0297343731, 0.0610234961, 0.3691810369, 0.3348974586, 0.5779806972, -0.3960334957, 0.6515489817, -1.1226816177, 0.5023190975, 0.3149109483, 0.2366233468, 0.5483339429, -0.1424843222, 0.2136770785, 0.5419083834, -0.4023392498, -1.2230026722, 0.1973169595, -0.5098581314, -0.7547246814, 1.0067760944, 0.1846212298, -0.2774097919, 0.1040396169, 0.1298822612, -0.0245019123, 0.0691406056, 0.5871838331, 0.6981742978, -0.062557444, -0.0264539588, -0.9125772119, 0.7909680009, 0.5830081701, -0.2035584003, 0.1524708122, 0.2418489605, 0.3155534863, 0.3646015227, 0.3586381376, 0.3383128643, 0.1124278307, 0.383042872, -0.5233160853, 0.162992239, -0.3138965666, -0.4019628465, 0.4880667329, 0.3171444535, 0.2332082689 ]
http://arxiv.org/abs/2404.07622v1
http://arxiv.org/pdf/2404.07622v1
Multi-Image Visual Question Answering for Unsupervised Anomaly Detection
2024-04-11T10:16:44
2024-04-11T10:16:44
Jun Li, Cosmin I. Bercea, Philip Müller, Lina Felsner, Suhwan Kim, Daniel Rueckert, Benedikt Wiestler, Julia A. Schnabel
cs.CV
cs.CV, cs.CL
Unsupervised anomaly detection enables the identification of potential pathological areas by juxtaposing original images with their pseudo-healthy reconstructions generated by models trained exclusively on normal images. However, the clinical interpretation of resultant anomaly maps presents a challenge due to a lack of detailed, understandable explanations. Recent advancements in language models have shown the capability of mimicking human-like understanding and providing detailed descriptions. This raises an interesting question: \textit{How can language models be employed to make the anomaly maps more explainable?} To the best of our knowledge, we are the first to leverage a language model for unsupervised anomaly detection, for which we construct a dataset with different questions and answers. Additionally, we present a novel multi-image visual question answering framework tailored for anomaly detection, incorporating diverse feature fusion strategies to enhance visual knowledge extraction. Our experiments reveal that the framework, augmented by our new Knowledge Q-Former module, adeptly answers questions on the anomaly detection dataset. Besides, integrating anomaly maps as inputs distinctly aids in improving the detection of unseen pathologies.
[ -0.4448645115, -0.9985027313, 0.776991725, -0.2445930392, -0.47730878, -0.1397839785, 0.2734079957, -0.5027753711, 0.2184632272, 0.827717185, -0.8426833749, -0.4521678984, -0.6116345525, -0.0972269848, -0.3733622432, 0.6618489027, -0.0243154578, 0.3841696382, -0.5352999568, -0.3940803111, -0.5171123743, 0.0130205657, -0.377766192, 0.0244512968, 0.1812099963, 0.3536003232, 0.6675879359, 0.5689063668, 0.88509202, 0.3074215949, 0.2499355078, 0.1680428982, -0.1031530499, -0.0361167006, 0.0819966421, -0.6046229601, -0.3312205374, -0.4300203025, 0.4973649681, 0.785908699, 0.058251515, -0.0426684357, -0.5035164952, 0.4731919765, -0.384876579, -0.0532058775, -0.5643045306, 0.2290657908, -0.1577464491, -0.4536133409, 0.0657929704, -0.048620794, 0.3539008498, -0.8602525592, 0.4067836106, -0.164088577, 0.7143309116, 0.3753374815, -0.3397659957, -0.1078138873, -0.5072713494, 0.350694418, -0.2582440972, 0.2336522788, 0.1393802315, 0.5506267548, -0.1906394213, -1.009631753, -0.5825752616, 0.1545703858, -0.0844003335, 0.3041309714, -0.5341554284, -0.2506395876, 0.0776125565, 0.341393888, -0.974611938, 0.0693531036, -0.5327462554, -0.3218854964, 0.4368670583, 0.4437113702, 0.9206646681, -0.095261775, -0.528352499, 0.1138913855, -0.6382824183, 0.3066438735, 0.0592897646, -0.2962773442, -0.1327063888, 0.4207540751, -0.1566132456, 0.752869308, -0.2580195367, -0.0028141274, 0.1370811909, -0.1873729527, 0.0939761549, -0.2921173275, 0.5023518801, 0.778978169, 0.1648951322, -0.0094429879, 0.0571149252, 0.1772226691, 0.1902911961, -0.6205611825, -0.7511149645, 0.1619594991, -0.6634168029, -0.2685252726, 0.1475586146, -1.0267243385, -0.7517672777, 0.0843668655, 0.5481100678, -0.2939198315, -0.6839746237, 0.263476491, -0.5899240375, 0.1939203143, 0.6017161608, -0.4590052664, 0.111614868, 0.014999616, 0.2714892924, -0.0627127215, -0.3634272218, -0.5955369473, 0.0466666482, -0.4416174591, 1.1495764256, -0.5131406188, -0.2169658542, -0.0004124382, 0.4914645851, -0.0000561102, -0.5297822952, 0.0466109961, -0.5220469832, 0.2613541782, -0.5419204235, -0.2976230085, -0.5498365164, 0.2953539789, -0.450655818, 0.5408462882, 0.2151252031, -0.7153373957, 0.3277859092, -0.8669022322, -0.099577181, 0.328253448, -0.2747934759, -0.3252885938, 0.1779004782, 0.7142601013, 0.2937817574, -0.3693478703, -0.0039043033, -0.469789654, -0.2029146701, 0.5401060581, -0.4001146257, 0.5088320374, -0.0062325899, -0.0905369371, 0.1185222268, -0.4785528183, 0.1376750618, 0.6100126505, 0.2061784118, -0.3543309867, -0.3452197909, -0.0956723765, 0.0106803589, 0.2356729507, -0.5576925278, 0.0693490505, -0.1376797855, 0.1591289043, 0.4053949118, 0.544308424, 0.1905064136, -0.1059298664, 0.8222248554, 0.7596226931, 0.3240697682, -0.5764223933, -0.9681151509, -0.5216349363, -0.4688090682, -0.0981158689, 0.5737563968, -0.8517956734, -0.04529728, -0.1076455563, -0.215890646, -0.796497941, 0.0951546952, 0.3880990446, 0.8640663028, 0.5721283555, -0.3098199964, -0.297341913, -0.9246944785, -0.3322040737, 0.1313617378, 0.2439700365, 0.3014457524, 0.5693987012, -0.2896027565, 0.6270193458, -0.9140063524, -0.2710642815, -0.2381242365, 0.2845162749, 0.0463866852, 0.4038611948, 0.7969224453, -1.1231861115, -0.1728128046, -0.0355704427, -0.9978621006, -0.0762705803, -0.1231277213, 0.1884440184, -0.1726385206, 0.5408534408, -0.3258472383, 0.7972863913, 0.251865536, -0.1987711042, 0.3673162758, -0.4355597794, 0.4653289318, -1.0849584341, -0.1078621969, 0.0462257378, -0.2609618008, -0.7723067999, 0.2227941602, 0.2134172469, -0.2252027094, -0.4769852161, 0.3489059508, -0.4641212225, -0.1850662827, -0.0953410193, -0.1027354002, 0.2089307755, 0.4234744906, 0.0090445159, 0.5432878733, 1.3987878561, -0.3208716512, 0.4870771468, 0.1858218163, -0.1907247156, 0.6486907601, -0.5509547591, 0.0604778081, -0.7090448737, -0.0703007951, -1.3547327518, -0.5633144975, 0.25819695, -0.5542309284, 0.261067152, -0.4226347804, -0.1452688277, -0.6508052349, -0.129486829, 0.4680321217, 0.3736256957, -0.6728721261, 0.3645746708, 0.4283737242, 0.2279595733, -0.5117101073, -0.9013345242, 0.0023862717, -0.3556127548, -0.5934140682, -0.142641753, -0.0278378837, -0.15226762, 0.4115851223, 0.0851802304, -0.7025622129, 0.1755382866, 0.1715717763, 0.3581162393, -0.5738191605, 0.0960872248, 0.0614586659, 0.1597849727, -0.042197533, -0.0984979421, 0.3563909233, -0.3319330812, -0.8512125015, -0.5728846788, 0.804528296, 0.7391151786, -0.5145296454, 0.3369708061, 0.6477831006, -0.6792675257, 0.2732602358, -0.29250893, -0.1653651744, -0.4457861781, 0.6090377569, -0.2973454595, -0.5469663143, 0.7713622451, -0.0636220127, -0.3083400726, 0.27652812, 0.2888926566, -0.4429214597, 1.2992305756, 0.5238078833, 0.3403905332, 0.0471796654, -0.3155473769, 0.224308759, -0.6877830625, -0.3327989578, 0.0624054298, -0.118525438, -0.4684683681, -0.3475665152, 0.8077042699, 0.1526994556, 0.3862678707, 0.0332031213, -0.5034321547, 0.6686196923, 0.3430956006, 0.3659133911, 0.1173851714, -0.1118840352, 0.2421342283, -0.1420148313, -0.8392537832, -0.0110257557, 1.0925775766, 0.0067461054, 0.6616334915, 0.1702342927, 0.4187327027, 0.1824467778, 0.1321848333, -0.454672277, 0.2583195269, -0.0956823677, -0.5696712732, -0.3287367523, -0.1488824338, -1.0380961895, 0.2733021379, -0.5233386159, -0.9652662873, 0.4653911591, 0.4493611157, -0.4179844856, 0.422167331, -0.8940492868, 1.159545064, -0.3078295588, 0.1159359366, 0.1563605219, -0.8522256017, 0.7583523393, 0.154680565, 0.2788037956, 0.3212979436, 0.0949847773, 0.1849933416, -0.1684026718, 0.648557961, -0.2399821877, 0.3398125172, 0.3229045868, -0.0174984522, -0.0456982739, 0.2707237601, 0.6619378328, 0.1428597122, 0.1855586171, -0.4795321524, -0.9102407098, 0.4853440523, -0.4812400639, -0.5641334057, -0.1337359399, -0.7957710028, -0.141361028, 0.1215456128, 0.4489119053, 0.7629600167, -0.0507660173, 0.0118681062, 0.8035422564, -0.5422409177, 0.4389216304, 0.3822548985, -0.1816699952, -0.0767242685, 0.9544243813, -0.1823086292, 0.010433672, 0.4368542433, 0.2576660514, -0.3862784803, -0.5628141761, -0.7693135142, 0.0770286545, -0.8377605677, -0.0996697173, -0.7832063437, -0.0496736802, -0.5348008275, 0.1197413057, -0.1266083866, -0.4545193911, -0.3411178887, 0.3417009711, 0.4568094313, 0.5689433813, -0.1085517928, 0.2313288599, -0.9970472455, 0.6810115576, 0.5879087448, 0.0787314102, -0.2868953049, -0.3843069375, 0.1490543336, 0.1327808201, -0.172536388, -1.3354879618, 0.3090316057, 0.2154897153, 0.6286721826, 0.7674637437, -0.1286154538, 0.8588554263, -0.1261256188, 0.6893744469, 0.4522345066, -0.3558951318, 0.6995508671, -0.3893158138, 0.3807442784, 0.213992089, 0.3570444584, -0.3532487452, -0.347245723, -0.7346675396, -0.5556778312, 0.4696426094, -0.1140541881, -0.0815776512, 0.1437067538, 0.4019191861, -0.0314951017, 0.1919193715, -0.5423526764, -0.3926755488, -0.4800159931, 0.045650579, -0.1050511971, 0.0303120632, -0.4766798317, -0.3976766467, 0.0017710022, -0.3006874621, 0.4169150591, 0.3673461676, -0.4822496772, -0.1836372167, 0.1685060114, 0.6843929887, 0.6895914078, -0.022484608, 0.3887782693, 0.1475379914, -0.5493473411, -0.2027344108, 0.0940670967, 0.1247091889, -0.0283975266, 0.4656476378, 0.6674070954, -0.2357786447, -0.7809923291, 0.8605301976, -0.3242910504, -0.2132700384, -0.2707818747, 0.1222143769, 0.1808346808, 0.3556708992, 0.3437824845, 0.3735077977, 0.4167044461, -0.5776134729, 0.3878863454, 0.7097447515, -0.5974329114, -0.400696516, 0.495862484, -0.2062170058, -0.07964205, 0.4991384149, 0.0341534913, -0.6338490248, 0.988881886, 0.4675872624, 0.3400308788, -0.1860201508, 0.3777213395, -0.0626541898, 0.5621962547, 0.2736514211, 0.7306075692, 0.2536124885, -0.8366829753, 0.0247455146, 0.0470886491, -0.0556600355, 0.4922336042, -0.7595513463, 0.0409251638, -0.1692005843, 0.1294439584, 0.1482302099, -0.7050033808, -0.7126168609, 0.4955371618, 0.0180462748, 0.5837163329, -1.1317584515, 0.5162473917, 1.1744126081, -0.4252817929, -0.5499700308, 0.0031928199, -0.0179172438, -1.1032104492, 0.1281050295, 0.0860304236, 0.2500434518, 0.0145490076, -0.5506406426, -0.614546895, 0.7577300072, 0.4170688093, 0.0105846897, 0.4467867911, 0.1711399108, 0.609208107, -0.4373947084, 0.2866064608, 0.518533051, 0.4358575642, 0.096117273, -0.3062443137, -0.0865709782, -0.313272208, -0.2361683697, 0.3962186277, -0.0813365132, 0.6428280473, -0.7879588604, 0.0600414015, 0.0023196163, 0.2652509809, 0.0288787764, 0.6264214516, 0.5903831124, 0.6588441133, 0.8374823928, -0.243405804, 1.1642649174, -0.2957803011, -0.0894996375, 0.7393125296, 0.2140648216, 0.1882802397, 0.5125399232, 0.1462414861, 0.3096645176, 0.7803450823, 0.0328421779, 0.6041879058, -0.0846703798, -0.0781485289, -0.7223360538, -0.1632758379, -0.6641938686, 0.7054256797, 0.2390510142, -0.1206286922, -0.4133414626, 0.2404846251, -0.5616112947, -0.0757211819, -0.3713408709, 0.7699192762, -0.1689223349, -0.4271547496, 0.4167748988, -0.3776319325, 0.0786410645, -0.3372977078, -0.4288558662, -0.3310199678, -0.0779268816, -0.0979312584, -0.9764909744, 0.1989264637, -0.1765884459, -0.1664920598, 0.2789185047, 0.7477571368, -0.5556719303, -0.5563523173, -0.1877454221, 0.8438737392, 0.4354515374, 0.051838614, -0.6487026811, -0.5019736886, -0.1710340679, 0.1697372794, 0.3451697826, 0.7837649584, -0.4629476964, 0.7138447165, 0.6744381785, -0.0486804843, 0.1919110715, 0.0401927754, 0.8507089019, -0.2064608037, -0.6002851129, -0.3367164135, 0.828250289, -0.2256299704, -0.468131274, 0.4491589665, 0.2084891945, 0.3739839196, -0.471960187, 0.5330854058, 0.1767351925, 0.3035111725, -0.390409112, 0.7534072399, -1.3085894585, 0.1491071135, -0.3044981956, -0.4214840829, -0.4352542162, 0.3361222744, 0.0646201521, -0.321446836, 0.840491116, 1.1110258102, -0.2695933878, 0.0106601873, 0.5382549763, 0.0159142185, 0.0001104217, 0.4707627594, 1.1485984325, -0.4093285501, 0.4693846405, -0.1974007487, -0.3349116445, -0.0413928963, -0.6655480862, -0.8715831637, -0.6839740276, -0.4243292809, 0.0437032543, 0.1059037149, 0.406804949, 0.7199838758, -0.6875520349, 0.3196601272, -0.2083796263, 0.3552750051, -0.3456947803, -0.1829111576, 0.5393610597, 0.0477389097, -0.3911344707, 0.3337648809, 0.4727143943, 0.3509192169, -0.1333847791, 0.2773301005, -0.0549092218, -0.3230446577, 0.0643040463, 0.4226709604, -0.4811534882, -0.0443857759, 0.1608172655, 0.2208831012, 0.3332761228, 1.0091696978, -0.5767678022, 0.7679584026, 0.4376799464, 0.6850030422, 0.3655150235, -0.0997690558, 0.3413920403, -0.4756909907, 0.4076059163, 0.117338419, 0.5380626917, 0.3775858283, -0.7158544064, -0.0169345401, 0.4494520724, -0.0877408013, -0.9139789343, 0.5248345137, -0.9511973858, -0.4608393013, 0.7452555895, -0.3982527852, -0.2097734213, -0.408437252, -0.0222032052, 0.106754519, -0.0226484258, 0.741151154, 0.192508772, -0.540127337, -0.6583226919, -0.3610097468, 0.3151138425, 0.4846204817, -1.1201922894, -0.3621197939, 0.4360631108, 0.3769566417, -0.0292637497, 0.6676853895, -0.2600830495, 1.0523093939, -0.2866966128, -0.1337445527, -0.2121105939, -0.4940960109, -0.4467050135, 0.0696299076, -0.1669130474, -0.7297766805 ]
http://arxiv.org/abs/2404.07616v1
http://arxiv.org/pdf/2404.07616v1
Audio Dialogues: Dialogues dataset for audio and music understanding
2024-04-11T10:08:34
2024-04-11T10:08:34
Arushi Goel, Zhifeng Kong, Rafael Valle, Bryan Catanzaro
cs.CL
cs.CL, cs.SD, eess.AS
Existing datasets for audio understanding primarily focus on single-turn interactions (i.e. audio captioning, audio question answering) for describing audio in natural language, thus limiting understanding audio via interactive dialogue. To address this gap, we introduce Audio Dialogues: a multi-turn dialogue dataset containing 163.8k samples for general audio sounds and music. In addition to dialogues, Audio Dialogues also has question-answer pairs to understand and compare multiple input audios together. Audio Dialogues leverages a prompting-based approach and caption annotations from existing datasets to generate multi-turn dialogues using a Large Language Model (LLM). We evaluate existing audio-augmented large language models on our proposed dataset to demonstrate the complexity and applicability of Audio Dialogues. Our code for generating the dataset will be made publicly available. Detailed prompts and generated dialogues can be found on the demo website https://audiodialogues.github.io/.
[ -0.5787309408, -0.6794225574, 0.8336067796, 0.2645850778, -0.1481852829, 0.1155828834, -0.3673664629, -0.4085250497, 0.2097709924, 0.8223454356, -1.1402355433, -0.705552578, -0.1093384251, 0.1527028531, -0.5232698917, 0.8861694932, 0.2416340262, 0.4179622531, -0.3750773668, -0.4060968459, -0.6743657589, -0.2220612317, -0.7868252993, -0.1210215166, 0.3983410597, 0.6987440586, 0.4942709804, 0.0378753804, 0.3237268329, 0.3383177519, 0.0715151429, 0.1659941226, -0.2308142185, 0.3984434307, 0.331405133, -0.3374019861, -0.0523093939, 0.1363321394, 0.4733645022, 0.6815522313, -0.1536384225, 0.3555576205, -0.4103495479, 0.6871286631, -0.1436197162, 0.4709044695, -0.4264093637, 0.0930205286, 0.0410987735, -0.2963045537, -0.3570597172, -0.2636649311, 0.2163847387, -0.9398854375, 0.091590412, 0.1749791652, 0.2601038516, 0.273984164, -0.0999974236, -0.6529349685, -1.008636713, 0.7614657879, -0.5179188848, 0.2862911522, 0.6548662782, 0.703591764, 0.006950696, -0.4578744471, -0.822764039, -0.0968965739, 0.2020663619, 0.2103457749, -0.0147233009, 0.0587016568, 0.2683669329, 0.7413821816, -0.4513698816, -0.1824472696, -0.2783662379, -0.0093717463, 0.7566001415, 0.2936164737, 0.5700037479, -0.2901198268, 0.0040739798, -0.0753059089, -0.5362451673, 0.1279064566, 0.6027778983, 0.4167199135, -0.2487663627, 0.5549793839, 0.0565266646, 0.8682993054, -0.0364173539, -0.2555350065, 0.3515286744, -0.8986837268, -0.1453267038, 0.1856063008, 0.8663039804, 0.3671769202, 0.3502295017, -0.1735432744, -0.0547078848, -0.2182800025, -0.0096480828, -0.4383545518, -0.3109439015, 0.6930222511, -0.2933758795, -0.2435542345, -0.0152275693, -0.7842029333, -0.6976184249, -0.7015027404, 0.5597733259, -0.383541882, -0.2102827579, 0.2899469435, -0.2377654761, 0.1545322835, 0.4686055779, -0.8123802543, 0.4879898727, 0.4411670864, 0.761939764, -0.0977862775, -0.0735550523, -0.7357189655, 0.032901749, -0.0821934342, 0.7197283506, -0.5971788168, -0.5085366964, 0.0598455109, -0.0553169549, 0.0715174526, -0.6687108874, 0.4873827696, -0.2462967783, 0.3083164096, -0.0523322858, -0.4319759011, -0.2651796341, -0.0356478989, -0.9857863784, 0.6825304627, -0.1420851499, -0.5639921427, 0.1819409579, -1.0520653725, -0.3941298723, -0.1284453124, -0.2288209647, -0.2780792415, -0.0725386143, 0.6608344913, 0.1227835566, -0.3120691478, 0.2316206843, -0.1955961436, -0.4900527596, 0.5909250379, -0.425331831, 0.6497908235, 0.2963501811, 0.1047252044, 0.2676207721, -0.7661896944, -0.3664407432, 0.1887925714, -0.1537285596, 0.0514374003, 0.0217567272, 0.2671833634, -0.1175189391, -0.1746228635, -0.7037052512, 0.3049688637, -0.1584151387, 0.8345098495, 0.3986655176, 0.2211221904, 0.392062664, -0.353705585, 0.6103721261, 0.1023793966, 0.1411090642, -0.8681459427, -0.5406139493, -0.4233525693, -0.2093163729, 0.2984932065, 0.6806854606, -0.5848496556, 0.2519460917, -0.1720561832, -0.1423732191, -0.9899426103, 0.1983804852, 0.1696507931, 0.3295035064, 0.376221925, -0.1652567834, -0.6913311481, -0.8050965071, 0.0201603267, -0.2170021981, -0.3358145654, 0.6898877621, 0.1774663776, -0.056062907, 0.9168202877, -0.2420064807, -0.0993439481, -0.4189814031, 0.3722855747, 0.4815936983, 0.3019571006, 0.3161009252, -0.7433973551, -0.1493947953, -0.3788712323, -0.4500575662, -0.0277713053, -0.3850910068, 0.0595446154, -0.3329058588, 0.6128122211, -0.6558744907, 0.0766413286, 0.6264522076, 0.0774202645, 0.4467202723, 0.470697552, 0.4831604958, -1.0249937773, -0.2484063059, -0.1136499569, -0.2675732076, -0.6782140732, -0.6628042459, -0.5647425652, -0.4227739275, -0.3982564509, 0.2668237984, -0.2665127516, -0.4702175558, -0.0547305085, 0.3408531249, 0.1336939037, 0.6103611588, 0.2027629316, 0.969598949, 0.7105208039, -0.361541599, 0.6933660507, 0.7397328019, -0.78498739, 0.5598080158, -0.5379681587, 0.3846499622, 0.0134223374, 0.3346377909, -1.3077501059, -0.3449164629, 0.0909986794, -0.5723231435, 0.2745756805, -0.4159460962, -0.547480762, -0.2223442048, -0.1679476053, 0.5854558349, 0.1323407143, -0.6503042579, 0.6081034541, 0.5363987088, -0.6747264862, -0.2111105472, -0.4925629795, 0.1950332969, -0.2858112156, -0.7906228304, -0.133302778, -0.4542502165, -0.54605335, -0.1852714568, 0.0571994968, -0.1781338155, -0.2592460513, 0.4426678717, 0.2376247495, -0.200312078, 0.3768914342, -0.0195023585, -0.0720984712, 0.1356453151, -0.3251110315, 0.4372291863, -0.118407689, -0.5073069334, -0.5599372387, 0.6056422591, 0.7722716331, -0.2080186754, 0.2212860137, 0.3730483651, 0.077343367, 0.2261644006, -0.5022574663, -0.1989454776, -0.4199649096, 0.2167197913, -0.3470640779, -0.9136710763, 0.5289546847, -0.0478745587, 0.3015621006, 0.0415056609, 0.5711759329, -0.5128151774, 1.1897349358, 0.0870587751, -0.193731159, 0.5648508072, -0.2136053592, 0.090873234, -0.7509889603, -0.2441165745, -0.4921077788, -0.1862508506, -0.4803729951, -0.2737132609, 0.257966578, -0.3579770029, -0.1503079534, 0.2497130781, -0.3143315911, 0.6215427518, 0.6844639778, 0.1121085882, 0.5071465373, -0.0444217399, 0.0497620143, 0.1017905995, -0.4833526611, -0.1967196465, 1.1494810581, 0.4209867716, 0.7418674827, 0.1435462236, 0.4857574403, 0.2919124961, -0.2684484422, -1.1573630571, 0.240047276, 0.3310719728, -0.7172474265, -0.5680174828, -0.4575157166, -0.7445239425, -0.185694918, -0.2316447049, -0.6991765499, -0.0361337587, -0.1030585766, -0.4283011258, 0.1578761339, -0.769045651, 0.6121803522, -0.2262018472, -0.0630728975, -0.0373639651, -0.6428399682, 0.2683091164, 0.1987859756, 0.6298245788, -0.1666921526, 0.6256703138, 0.7599907517, -0.1486494541, 0.5068200827, -0.2291491181, -0.025061436, 0.5610336661, 0.078157343, 0.0619730055, 0.4731592536, 0.1027464122, 0.1033049822, 0.0526457056, -0.197573632, -0.7268815041, 0.5503362417, -0.6662550569, -0.4252026975, -0.0601793379, -0.8977620006, -0.5863123536, -0.1094279438, 0.090406023, 0.7299178839, 0.0171171352, 0.2177956104, 0.7692755461, -0.4762920439, 0.4307079613, 0.5824848413, -0.4066307545, -0.6941041946, 0.8070047498, -0.3540982306, 0.2415066659, 0.1276708245, 0.0153692327, -0.4520357847, -0.5831502676, -0.6994895339, 0.1728986204, -0.5945903659, 0.0832763016, -0.5461337566, 0.1067907065, -0.2687908113, 0.2590768039, -0.2824103534, -0.6838948131, 0.0087503577, -0.4125280678, 0.7971695065, 1.0230654478, -0.172503233, 0.1961340457, -0.8964250684, 0.6799268126, 0.6007634997, 0.4105849266, -0.285521239, -0.4819815755, -0.335495472, -0.0296843722, -0.0233385805, -1.0695943832, 0.0893209726, 0.1224780604, 0.3451514542, 0.3309625685, -0.2005109191, 0.443500191, -0.6119328141, 0.9336699247, 0.2984401584, -0.9520252347, 0.7509467602, -0.4637268186, 0.3994911313, 0.9114043117, 0.1645001769, -0.7110548615, -0.3809649646, -0.4032604098, -0.6551559567, 0.7944805026, 0.501999259, 0.101117447, 0.3150331378, 0.0556551255, 0.292167604, 0.3870676458, -0.5218969584, -0.4105321169, -0.4499473274, -0.3390617669, -0.3049007654, 0.0006214213, -0.4144321978, -0.3924250603, 0.4622424245, -0.0425799266, 0.3867076933, 0.1174586266, -0.0343835577, -0.0778069347, 0.4913639426, 0.5404137969, 0.3856345117, -0.2805528939, -0.1027655378, -0.0168217719, -0.5411758423, 0.1069352627, 0.0485698655, 0.222639963, 0.1082814112, 0.4274602234, 1.0466040373, 0.2775392234, -0.7538794279, 0.2984491587, -0.4238726795, -0.2095007747, -0.5886406302, 0.0557504632, 0.4372488856, -0.0838241726, 0.2922558784, -0.1387886554, 0.5453107357, -0.7111759186, 0.2804072797, 0.0410423204, -0.7171344161, -0.100394614, 0.2984449565, 0.2870357633, -0.3024710417, 0.9354165196, 0.1546921432, -0.1788510829, 0.608006835, 0.1409292519, 0.9626689553, 0.0913156644, 0.253585577, 0.4873771369, 0.0442579947, 0.345969975, 0.4481641054, -0.59813869, -0.6049124002, -0.6875839829, -0.5388193727, -1.0169422626, 0.5203233957, -0.7439488173, 0.1218252182, -0.2262001336, 0.0835766643, 0.2938093245, -0.1921881437, -0.4780168235, -0.0207514502, 0.2280327678, 0.8340314627, -1.021659255, 0.4911634028, 0.4355823696, -0.710247457, -0.6378903985, -0.0826006755, 0.1091242582, -0.4261333346, 0.2919105589, 0.2956300974, -0.1897518486, -0.2138363123, -1.0862052441, -0.4016979635, 0.7946389318, 0.1615422815, -0.6406604648, 0.3646713197, 0.312161535, 0.3142985106, -0.5318976045, 0.4230736494, 0.8013341427, 0.7402419448, 0.4450218081, -0.8529613018, -0.5812667608, -0.5118629932, -0.5105755329, 0.090494439, -0.2470649183, 0.5218707323, -0.2190928459, -0.0354155079, 0.1924276501, 0.511995554, 0.3608465493, 0.656826973, 0.7518968582, 0.4176907539, 0.5436676741, -0.3750329912, 1.0208138227, -0.0485300571, -0.0035926392, 1.4428099394, -0.0905465111, 0.4848778248, 0.4965062439, -0.2639153004, 0.4794952571, 0.8086239696, 0.102799207, 0.4270264804, 0.3733139038, -0.4811603129, -0.5880593061, -0.1964962482, -0.1708412915, 0.5162600279, 0.4343107045, -0.0245114844, 0.2372106463, 0.2364983261, -0.3946403563, -0.0622447468, -0.1518319696, 1.162869215, 0.0859428123, -0.4531281292, -0.0241233427, -0.6441364288, 0.2042557895, -0.4179987907, -0.4965026975, -0.0693788603, -0.5210530162, -0.180061698, -1.1681377888, 0.0581026897, 0.0721221492, -0.38851282, -0.0845279843, 0.1862326711, -0.7290381789, -0.3695426285, 0.2334056199, 0.2504181564, 0.2691307962, -0.1186318025, -0.6090724468, 0.1328539401, -0.0734617114, -0.0322973691, -0.06820786, 0.4297275841, 0.3326016665, 0.590188086, 0.6958294511, -0.0268766358, -0.016477963, 0.6606733799, 0.6307421327, -0.4945434034, -0.4617247581, -0.2626226246, 0.4438612759, -0.0093405889, -0.0233631898, 0.5098572373, 0.6043605804, 0.642388165, -0.1878186166, 1.0272051096, 0.2735713124, 0.8191631436, -0.8638789058, 0.2327910066, -0.516361773, 0.3314386606, -0.3969846368, -0.744636178, -0.0279723108, 0.4810192287, -0.2439315766, 0.0335426703, 0.3898065984, 0.6751328111, -0.1833544523, 0.7562488317, 0.1810063124, 0.0906410366, 0.2081169635, 0.5415787697, 1.2339606285, -0.3581120372, 0.7837461829, -0.1780938804, -0.0363385268, 0.0418554693, -0.5639828444, -0.8321870565, -0.8037558794, -0.2824493349, -0.2797379494, -0.142664969, 0.8313294053, 0.7344086766, -1.2938379049, -0.4182591736, -0.1948270053, 0.1968465596, -0.0681855083, -0.2428150326, 0.1350642592, -0.160218209, -1.0958285332, 0.9808201194, 0.3634310067, -0.0239182003, -0.4408028126, -0.2855246663, -0.047965724, 0.2966549098, 0.3139426708, 0.4583028555, -0.4709501266, -0.1631025523, 0.0797820613, 0.3494927287, 0.3962594271, 1.1891169548, -0.4715742171, 0.9390284419, 0.5097523928, 0.3680332005, 0.8508048654, -0.1250049323, 0.746378541, -0.6163438559, 0.0007236076, 0.2110151798, 0.296012938, 0.571810782, -0.0717777982, 0.3628213406, -0.0991740748, -0.5000891089, -0.632917583, 0.4706435204, -1.3493349552, -0.0551034547, 1.0417488813, -0.0053759357, -0.015214731, -0.5191377997, -0.5104553103, 0.2662913501, -0.6528090835, 0.3782412112, 0.9601646066, -0.3593512475, -0.4076006413, -0.7475219965, 0.575843513, 0.2248399705, -0.7893844843, 0.2070928514, 0.7141780853, -0.0520032458, 0.3225954771, 0.4897220731, -0.3451050818, 0.4597334862, -0.1278279424, 0.0529834889, -0.2689006627, -0.6200273037, -0.503082931, -0.0559506789, -0.0791247562, -0.4241994023 ]
http://arxiv.org/abs/2404.07613v1
http://arxiv.org/pdf/2404.07613v1
Medical mT5: An Open-Source Multilingual Text-to-Text LLM for The Medical Domain
2024-04-11T10:01:32
2024-04-11T10:01:32
Iker García-Ferrero, Rodrigo Agerri, Aitziber Atutxa Salazar, Elena Cabrio, Iker de la Iglesia, Alberto Lavelli, Bernardo Magnini, Benjamin Molinet, Johana Ramirez-Romero, German Rigau, Jose Maria Villa-Gonzalez, Serena Villata, Andrea Zaninello
cs.CL
cs.CL, cs.AI, cs.LG
Research on language technology for the development of medical applications is currently a hot topic in Natural Language Understanding and Generation. Thus, a number of large language models (LLMs) have recently been adapted to the medical domain, so that they can be used as a tool for mediating in human-AI interaction. While these LLMs display competitive performance on automated medical texts benchmarks, they have been pre-trained and evaluated with a focus on a single language (English mostly). This is particularly true of text-to-text models, which typically require large amounts of domain-specific pre-training data, often not easily accessible for many languages. In this paper, we address these shortcomings by compiling, to the best of our knowledge, the largest multilingual corpus for the medical domain in four languages, namely English, French, Italian and Spanish. This new corpus has been used to train Medical mT5, the first open-source text-to-text multilingual model for the medical domain. Additionally, we present two new evaluation benchmarks for all four languages with the aim of facilitating multilingual research in this domain. A comprehensive evaluation shows that Medical mT5 outperforms both encoders and similarly sized text-to-text models for the Spanish, French, and Italian benchmarks, while being competitive with current state-of-the-art LLMs in English.
[ -0.263966918, -0.4039847553, 0.7748000622, 0.2371726483, -0.3301556408, 0.0017145615, -0.4110643566, -0.6235843301, 0.1268652976, 0.5169324279, -0.3102194071, -0.9261436462, -0.9272599816, 0.6769367456, -0.1090647355, 0.8963468671, -0.2794368863, 0.6220292449, -0.4535241127, -0.6682135463, -0.2729007006, -0.9411469698, -0.4681212902, -0.279289037, 0.8332448602, 0.2122325003, 0.3961496055, 0.7343315482, 0.8983556032, 0.249959439, 0.2922676802, 0.2908377945, -0.234491691, -0.0114978468, -0.0870290399, -0.3110391498, -0.7043580413, -0.2247290015, 0.6677951217, 0.7030693293, -0.1561365426, 0.1279750466, -0.2583827078, 0.5884443521, -0.3767813742, 0.1358640641, -0.4150772989, 0.0259711817, -0.4114146531, -0.4772010744, -0.508649826, -0.3106921315, -0.0749473646, -0.5238502622, 0.0095568029, 0.0082839774, 0.6337031722, 0.3636217713, -0.5705379248, -0.4684677124, -0.4653632045, 0.6262210608, -0.7043488026, 0.7338936925, 0.3943192661, 0.4281344414, -0.0300745592, -1.0458345413, -0.4288145602, -0.1978218406, 0.2146667242, 0.1628538072, 0.0064772139, -0.0733360946, -0.0980765149, 0.2368153632, -0.6182525158, 0.2241705656, -0.4940389097, 0.100575082, 0.2767530084, 0.1373334527, 0.4447594881, 0.2130177319, -0.2257924974, 0.1246702299, -0.9987915754, -0.5643541217, -0.0772858635, 0.1495069712, -0.2435556799, 0.5886155963, 0.2489603013, 0.5063833594, -0.3000672162, -0.438680917, 0.6598918438, -0.5210026503, -0.2065973878, -0.0814733282, 1.0543670654, 0.3657726645, 0.235850215, -0.2100154907, -0.014204694, 0.0350331664, 0.4464829862, -0.9929908514, -0.1464653462, 0.3795755506, -0.6372933388, -0.171343118, -0.4129920304, -0.4301994145, -0.2313426435, -0.0453375578, 0.1484496146, -0.6292021871, -0.0104597071, 0.2790186405, 0.2599450052, -0.2123220116, 0.2262004316, -0.7607837319, 0.2713070512, 0.3279450536, 0.715660274, -0.4740182757, -0.4724434316, -0.391097337, 0.3147131801, -0.353831619, 0.8607780337, -0.4715457857, -0.5134748816, -0.0082071181, 0.1513666809, 0.0159143209, -0.7967505455, 0.7696149349, -0.2600427866, 0.5390530229, 0.0096189957, -0.326613009, -0.0913988128, 0.3902797699, -0.7079012394, 0.7243984342, -0.0012835814, -0.693336904, 0.362403959, -1.0444021225, -0.5947329998, 0.0798324272, -0.3066114187, -0.7055188417, 0.0008052864, 0.4342833757, 0.4789973795, -0.7434036136, 0.3579810858, -0.2799289823, -0.0634663552, 0.2800360322, -0.3631034791, 0.4830613434, 0.2923855782, 0.075848572, 0.3597228229, -0.8133029938, -0.1394643039, 0.230430007, -0.566482842, -0.2721881866, 0.1117836088, 0.116600886, 0.2438660115, 0.2677538991, -0.5006556511, 0.0533698201, -0.525491178, 0.4150304794, 0.3247960806, -0.1957253069, 0.0315409191, -0.2815103829, 0.4691052437, 0.2248435616, 0.1878947169, -0.4080191851, -0.4643028975, -0.3031114042, -0.6614556313, 0.6412491202, 0.5231361985, -0.8671805263, 0.0853881091, -0.386457026, -0.1875663698, -1.0016109943, 0.0820965618, 0.3299281895, 0.4042896628, 0.5900235772, -0.2654545605, -0.5046391487, -0.8422790766, -0.1857999861, 0.1763372272, 0.0013701507, 0.1874869913, 0.4457632899, -0.601847887, 0.393353194, -0.221028477, -0.4180721343, -0.3562359214, -0.1385895759, 0.1530151814, 0.3392585814, 0.7532212734, -0.6088960171, -0.4993339479, 0.3531614244, -0.8948625326, -0.055572167, 0.3104661703, 0.1188514531, 0.2050148398, 0.1918775737, -0.3311672211, 0.0292643197, 0.8982492089, -0.0396021232, 0.2480623871, -0.7696685791, 0.299880147, -1.5786808729, 0.4513789117, -0.0014661029, -0.391123265, -0.5941810608, 0.1092709824, 0.2354634106, 0.0121771088, -0.618413806, 0.6939823627, -0.5826460719, 0.0556111112, -0.203656584, -0.0114418967, -0.173776567, 0.1020490378, 0.0503514148, 0.7402409315, 0.4158479869, -0.5295743346, 0.3234907091, 0.3864911795, -0.2507503629, 0.6757507324, -0.5406630635, 0.1291084737, -0.1193321794, 0.096628651, -0.4940011501, -0.3056392968, 0.1586462259, -0.6631392837, 0.2289570272, -0.0389528237, -0.7416984439, -0.4291815758, -0.170798704, 0.5075471401, 0.456458807, -0.4654654562, 0.3366717398, 0.6659213901, -0.2789649069, -0.5216478109, -0.7977564931, 0.2608991563, -0.0770033449, -0.4514032006, 0.2630099356, -0.2855965495, 0.0962425098, -0.1043306142, 0.2432334274, -0.3557292223, -0.1106270552, 0.0285696797, 0.3408212662, -0.3794772029, 0.2353500128, 0.1166202798, -0.2474295944, -0.0069131698, -0.3877345622, 0.4220090508, 0.20852907, -0.5636617541, -0.2492955476, 0.4280488193, 0.7548912764, -0.4654788375, 0.8245106936, 0.416680187, -0.4556598663, 0.1211351603, -0.4556515217, 0.0992993563, -0.3828364909, 0.5830913782, -0.4851449132, -0.819435358, 0.242697075, -0.3561784029, 0.2563815713, 0.5146598816, 0.9861537218, -0.0592176653, 1.1607165337, 0.6924241781, 0.1396636367, 0.0110763041, 0.2581197917, -0.0957943052, -0.6005892158, -0.2830545306, -0.6001964211, -0.0733607337, -0.4953354001, -0.6016583443, 0.7118373513, -0.4604478776, 0.0448348746, 0.0397796445, -0.4155071974, 0.3439605236, 0.2615667582, -0.0327810831, 0.5551867485, 0.1052102074, -0.5790599585, -0.0903804824, -0.8148964047, -0.5618604422, 1.4196732044, 0.4597734511, 0.561188519, 0.084739022, 0.5219704509, -0.1372278482, 0.6849011183, -0.5871345997, 0.2227672487, -0.6993688345, -0.5716734529, 0.1366890371, -0.4967945218, -1.2937464714, 0.2619017959, -0.2746492028, -0.1270835251, -0.366351217, 0.0940397084, -0.187011987, 0.3250238895, -0.610132575, 1.0414890051, -0.4631252885, -0.1907478273, -0.1667007804, -0.7590200305, 0.2020189613, -0.3861811459, 0.5237306952, -0.0348568596, -0.1966500133, 0.435315907, -0.3385217488, 0.6187025905, 0.049352739, -0.0923237279, -0.1382194906, -0.2890854776, 0.0379745327, -0.0784165114, -0.0184156671, 0.4559607506, 0.3428452909, -0.4134106636, -0.181593135, 0.601067245, -0.7694245577, -0.0943846628, -0.4491781592, -0.4161877632, -0.3671196699, 0.4870917201, 0.2882097363, 0.4987142682, -0.5236460567, 0.1715915352, 0.6169881821, -0.7233710885, 0.107799381, 0.7268174887, -0.5063723326, -0.6748014688, 0.8684269786, -0.037485633, 0.2084070146, 0.5380064845, 0.1164235845, -0.3696711361, -0.8875391483, -0.8693531752, 0.5520454645, -0.5406198502, -0.0635349825, -0.7022148371, -0.063359201, -0.3447710276, 0.0578302369, -0.4069086611, -0.1128613725, -0.1152125001, 0.039390862, 0.2164434493, 0.893304646, 0.2398415804, 0.1275265366, -1.1812198162, 0.5185234547, -0.3416284621, 0.6211604476, -0.4929671884, -0.1741873026, -0.5234167576, -0.086896047, -0.2226177007, -0.7424567938, 0.5194113851, -0.0320418179, 0.6088804603, 0.3053633273, -0.2971610129, 0.3877669275, -1.0321747065, 0.5334385037, 0.5038172603, -0.5174018145, 0.3251909614, -0.2549130023, 0.5073133111, 0.4829781353, 0.4955420494, -0.6208171844, -0.2810505629, -0.4282187521, -0.6057878137, 0.4843936563, -0.0050079753, -0.0008769092, -0.1557332277, 0.0897351205, 0.3661824763, 0.432163924, -0.6565567851, -0.1871572286, -0.006490645, -0.8425219059, -0.1546245664, -0.0876863152, -0.299521178, -0.0866017044, 0.3796828389, -0.3112247586, 0.5483828187, 0.0505273603, -0.1466483325, 0.0740147009, 0.2641184032, 0.8824603558, 0.637411356, 0.0515746586, 0.1339847296, 0.3588499725, -0.7459716797, 0.0357696265, 0.2266364247, 0.1929851919, 0.1948688924, 0.3358124495, 0.7122502327, 0.0732438043, -0.9230992198, 0.5290195942, -0.1185569763, -0.341147989, -0.1628457308, -0.4182218611, 0.2926599383, -0.030691877, -0.0532481447, 0.0685512722, -0.0226536803, -0.5598832369, 0.1875880808, 0.294580549, -0.3010011017, -0.4795898795, 0.8751435876, 0.4283139706, -0.0642980859, 0.2901566923, 0.1691411287, -0.2991316915, 0.2654572427, 0.6163859367, 0.5794827342, -0.5112704635, -0.2346022427, 0.2561469078, 0.3155448735, -0.1223478094, 0.5280718207, 0.4624490142, -0.6220958233, -0.6317346692, -0.4118623734, -0.4719002843, 0.042141933, -0.1964695305, 0.4735024273, -0.2866071463, -0.3032771349, 0.0494031906, -0.3197396696, -0.6256046295, 0.3859598935, 0.0392039567, 0.7857141495, -0.1918919384, 1.294731617, 0.9136214852, -0.4273060262, -0.3648423254, -0.251593411, -0.1410651058, -1.0274730921, 0.5103472471, 0.0055228416, -0.0727187619, -0.0482542887, -0.320661515, -0.4579335153, 0.9055690169, 0.6211368442, -0.4392005503, -0.2458565682, 0.4546797872, 0.7042898536, -0.5309396982, 0.2966160774, 0.2209891528, 0.3616538346, -0.0006144795, -1.2188622952, -0.0778416619, -0.3096966743, -0.3455195725, 0.3320053518, -0.5487041473, 0.6046843529, -0.3078910112, 0.044008024, 0.083067365, 0.3290296495, 0.2054781467, 0.3690542877, 0.0139776394, 0.4600912929, 0.715913415, -0.1104361862, 1.2614566088, -0.739977479, 0.1040177122, 0.8563330173, -0.5056726933, 0.9399905801, 0.3068171144, -0.1241810098, 0.2114168257, 0.5163316727, 0.1450076848, 0.3439619839, 0.0175413862, -0.437125206, 0.1085740626, 0.071976915, -0.571141839, 0.2131304592, 0.5050694346, -0.6341060996, 0.0622300543, 0.1986966282, 0.1915857345, -0.0616242774, -0.1534006, 0.8709971309, 0.2910214067, -0.4785020053, 0.6344425082, 0.3294427395, 0.4914360344, -0.8097102642, 0.0751159489, -0.0009529497, 0.3178414702, -0.1612268984, -0.5676475167, 0.3646761775, 0.2593114972, -0.1347879022, -0.2855762541, 0.592941761, -0.6228640079, -0.5890259743, 0.2871749401, 0.688831985, 0.3411305547, 0.2190656513, -0.5067604184, 0.1475490481, -0.1594088525, 0.0720486119, 0.4152094722, 0.6122071147, 0.0203830861, 0.7014586926, 0.7825545669, 0.394772768, -0.0481785536, 0.2157487571, 0.7018142343, -0.6655842662, -0.3659449518, -0.9318796992, 0.3360258043, 0.0718583241, -0.2731228471, 0.4417991936, 0.8019157052, 0.5871599913, -0.142985478, 0.9982911944, 0.3736647666, 0.920201838, -0.5671780705, 0.9467511177, -0.7530242205, 0.1323764473, 0.0596311651, -0.5467932224, -0.7350678444, 0.4556960166, 0.0069240276, 0.0908061117, 1.164019227, 0.3646050692, -0.005515446, -0.1779528409, 0.5969874263, 0.29599154, 0.1496492475, 0.6898577213, 0.5495910645, -0.2297748774, 0.4947400093, 0.2771783471, -0.0976850986, -0.1564605087, -0.7265203595, -0.9682263136, -0.4041024446, -0.087320812, -0.2768731117, 0.2169209719, 1.1650161743, 0.6382799149, -0.7391776443, -0.2884839177, 0.3805521727, -0.1733111739, -0.0326350145, 0.0166348778, 0.1876998693, -0.2031743973, -0.8678901196, 0.5944868922, 0.6631891131, 0.0417273454, -0.3050814867, -0.2251243889, -0.0628783256, 0.0378869548, 0.7314373851, 0.0775730833, -0.5687890649, -0.0480869673, 0.1747911274, -0.4519925117, 0.6273251176, 0.832644999, -0.6295542121, 0.5207642913, 0.1541173756, 0.8939589858, 0.4493407309, -0.3071140349, 0.8236552477, -0.4701946378, -0.0568606816, 0.240059644, 0.4547466338, 0.4592434168, 0.0208800416, 0.6072036624, 0.3316390216, -0.4661130309, -0.7411026359, -0.0118048377, -0.7701172829, -0.3566531539, 0.9551643133, -0.1149586439, -0.0880308896, -0.1160804927, -0.3656537235, 0.4065470099, -0.0815092251, 0.5680624843, 0.6922801137, -0.0158532094, -0.1316755414, -1.0847226381, 0.3786107004, 0.3166500032, -1.3227219582, -0.3548205793, 0.3611760139, 0.3991596699, -0.0700803399, 0.973175168, -0.4952379167, 0.2253448367, -0.3125887513, 0.3628355861, -0.0126312757, -0.3480773568, -0.256963104, 0.3233964145, 0.2555175126, -0.224093318 ]
http://arxiv.org/abs/2404.07611v2
http://arxiv.org/pdf/2404.07611v2
NoticIA: A Clickbait Article Summarization Dataset in Spanish
2024-04-11T09:59:01
2024-05-31T15:19:18
Iker García-Ferrero, Begoña Altuna
cs.CL
cs.CL, cs.AI
We present NoticIA, a dataset consisting of 850 Spanish news articles featuring prominent clickbait headlines, each paired with high-quality, single-sentence generative summarizations written by humans. This task demands advanced text understanding and summarization abilities, challenging the models' capacity to infer and connect diverse pieces of information to meet the user's informational needs generated by the clickbait headline. We evaluate the Spanish text comprehension capabilities of a wide range of state-of-the-art large language models. Additionally, we use the dataset to train ClickbaitFighter, a task-specific model that achieves near-human performance in this task.
[ -0.0679972619, -0.3863344193, 0.2858346403, 0.7897758484, -0.2410185337, 0.2072457075, 0.0107801734, -0.4079674482, 0.3847534657, 0.5997114778, -0.5421091318, -0.6645143628, -0.5884797573, 0.4883061945, -0.7629538178, 1.4469468594, 0.2124814987, -0.017113639, -0.3786299825, 0.0291980244, -0.1205979362, 0.1560250372, -0.5508754849, -0.0770581067, 0.5919177532, 0.4237468243, 0.6617844105, 0.4416297674, 0.3342995048, 0.1765846312, 0.0327790827, 0.0427499972, -0.8217448592, -0.3561547995, -0.5104279518, -0.5297403932, -0.4828894436, -0.1231615394, 0.40698874, 1.0036457777, 0.0337044187, 0.2771495283, -0.1398514658, 0.9103310704, -0.338291347, 0.1174790412, -0.519107461, -0.2317543775, -0.0908309221, -0.2938378453, -0.4274370372, -0.6925637722, 0.2689472735, -0.6382091641, 0.5297264457, 0.299546212, 0.8692669272, 0.8600580096, -0.6981897354, -0.3846130967, -0.3053990901, 0.5534070134, -0.363101989, 0.3858807683, 0.6123213768, -0.0408497006, -0.1234756485, -0.3406835794, -0.1349911094, -0.3443240225, -0.0457115434, 0.2650023401, -0.4484380782, -0.1167487353, 0.0572469085, 0.2764383256, -0.8661536574, -0.021621624, -0.8233434558, -0.0123187499, 0.7143217921, 0.1013602614, 0.3711578846, -0.2741323709, -0.2931065559, 0.1343366653, -0.6793135405, -0.1356750876, 0.8018245697, 0.0710458905, -0.2382278442, 0.4625827074, -0.48351717, 0.7786706686, 0.0815123767, -0.3205801249, 0.3690565228, -0.1481663287, -0.4703191519, 0.1079885662, 0.7663822174, 0.5726972222, 0.319114089, -0.6720517278, 0.1008646041, -0.0921254084, 0.4629520178, -0.5501938462, -0.1911971271, 0.6803114414, -0.4973427057, -0.816383183, 0.2697132826, -0.9616057277, -0.3478192091, 0.0170540251, 0.4155621827, -0.2319280505, -0.2024370432, 0.5029408336, -0.4712925553, -0.1779824346, 0.0881889313, -0.8186819553, 0.1689544767, 0.1185506508, 0.6332720518, -0.3910717368, -0.6210663915, -0.2485460788, 0.1602683216, -0.3810103536, 1.0026960373, -0.2660228014, -0.2483886927, -0.2642698586, 0.1256041527, -0.5583972335, -0.4147006273, 0.6631668806, -0.7737264037, 0.3061772287, -0.3520809412, -0.1790847033, -0.6427170038, 0.104607217, -1.1251734495, 0.8892498612, 0.1076241434, -0.9724259973, 0.3151710629, -0.8199189305, -0.8860225677, -0.2391889989, 0.2792404294, -0.1181008592, 0.2721118927, 0.2859885395, 0.3609279096, -0.2893046439, 0.4829897881, 0.2693945467, -0.2220997214, 0.2878412604, -0.3180379868, 0.7500597835, -0.0149344141, -0.3014127314, 0.035490714, -0.757153213, -0.5842769742, 0.0759834573, -0.683668375, -0.2311639637, -0.1661347151, 0.2820365131, 0.2189620435, 0.5941524506, -0.3656071723, -0.0321160182, -0.4728039205, 0.1779769063, 0.1368840188, 0.0754342824, 0.3886376023, -0.5588614941, 0.6927890182, -0.2107981592, 0.1317259669, -0.4090532362, -0.2199846506, -0.5636436343, 0.1199127659, 0.4867808819, 0.755351603, -1.0664845705, 0.0324194841, -0.4855474234, -0.4667359293, -0.2758434713, 0.166045323, 0.5038251281, 0.6975695491, 0.3654800653, 0.2504946887, -0.6269597411, -0.7269412875, -0.3667576611, 0.0384523757, -0.0783358067, 0.0322714671, 0.9597896338, 0.3289532959, 0.8280957341, -0.4048018157, -0.6811203957, -0.6658785939, 0.4644248784, 0.4437630475, -0.0789254382, 0.7583462, -1.1068668365, -0.3477132022, -0.2367202193, -0.9961746931, -0.2563434839, -0.2640130818, 0.287360847, 0.0712506473, 0.6335666776, -0.1623822302, 0.2908048928, 0.8238489032, -0.5082552433, 0.5100415349, -0.4594619274, 0.4926117063, -1.0410654545, 0.4356767237, 0.242260173, -0.236690104, -0.6144556999, -0.1961528957, 0.217561245, 0.127074942, -0.7898490429, 0.3434724212, -0.4030641913, -0.181655407, -0.4671550691, -0.0369229764, 0.1535433829, 0.3834238946, 0.3821522892, 1.0253624916, 0.3559799194, -0.6483256817, 0.3355942667, 0.4915548861, -0.2919275463, 0.6355271935, -1.0566936731, -0.4522126317, -0.6615985632, 0.3629446328, -1.0502715111, -0.7722872496, -0.1983630955, -0.6319483519, -0.1358044147, -0.1341572851, -0.5972523689, -0.416441977, -0.6348888874, 0.2445510328, 0.081914492, -0.4828639925, 0.3612143099, 0.4509800971, -0.1420847178, -0.591408968, -0.7164714336, 0.3813494146, -0.3366989493, -0.4758966267, 0.3758134842, 0.1184040457, -0.0452665947, 0.1355189532, 0.0432487465, -0.1007438377, 0.0682852566, 0.1515260041, 0.0822827369, -0.0160330702, 0.2015272826, 0.312219739, -0.1554656774, 0.064412035, -0.2127104998, 0.4981566966, 0.3537791669, -0.0271091405, -0.5581350923, 0.2494663298, 0.7408923507, -0.3472351432, 0.9059084058, 0.1747777313, -0.2173503041, -0.0385972746, -0.4559650421, 0.1030865461, -0.3481199741, 0.3706024587, -0.2152071744, -0.4388087094, 0.4916778505, 0.0977438316, 0.1206766441, 0.5980252028, 0.4176474214, -0.2059294134, 0.8464587927, 0.6881771088, -0.3091213703, 0.1882452965, -0.3694460988, -0.1664792597, -0.4772135019, -0.5478876829, -0.4173561931, -0.4768228233, -0.1010378152, -0.2543037832, 0.4121439457, -0.3590734005, 0.3178328872, 0.475646466, -0.0212144088, 0.8893525004, 0.5391157866, 0.1236271784, 0.7588196993, -0.1674201936, 0.4982881248, 0.1168706119, -0.6214499474, -0.4682886302, 1.1757676601, 0.1634084582, 0.9973644614, 0.2278203368, 0.3201467693, 0.6250193715, -0.1184640229, -0.6519846916, 0.1782887131, -0.3361557424, -0.6746433377, -0.1667793989, -0.2940172255, -1.1720505953, 0.3238127232, -0.131549716, -0.6172312498, 0.1546610147, 0.020229185, -0.4735963047, 0.2139496803, -0.5947211385, 0.8658364415, -0.1690877676, 0.0478794239, -0.2047897428, -0.5902411938, 0.3250493705, -0.0227283314, 0.2827256322, -0.0240859911, -0.5922820568, 1.0501996279, 0.0104625262, 0.8305472136, 0.2576210797, 0.0296027213, -0.0502149425, 0.0365814939, 0.2894806266, -0.0203228574, -0.0965568423, -0.0222360119, -0.1511410028, -0.5851262808, -0.1174529567, 0.4674675763, -0.5485432744, -0.0137447054, -0.4000922143, -0.6747655272, -0.1241886541, 0.2367473543, 0.5840649605, 0.4410240352, -0.5125905871, 0.1522426307, 0.8854364157, -0.1046651304, 0.6513231993, 0.6559482813, 0.0265354719, -0.3784709871, 1.0858368874, 0.0777637139, -0.1232878417, 0.4751516581, -0.2372767329, -0.590010643, -0.8798702359, -0.6441121101, 0.6063244939, -0.2978734076, -0.1043097451, -0.994599402, 0.11741025, -0.2789550722, -0.1543812454, -0.1513472944, -0.2906672955, -0.5322173834, -0.3794535995, 0.2674144506, 1.1219259501, 0.1232483685, 0.5383375883, -0.7588235736, 0.6229894161, -0.0329503417, 0.1994194835, -0.0568822175, -0.5572162271, -0.3195519745, -0.3325175643, -0.1336461008, -1.369784236, 0.4763513505, 0.0755164251, 0.4548433423, 0.6042702198, 0.1373877376, 0.1852450669, -0.0692215189, 0.6601996422, -0.1093618721, -0.7383593917, 0.6377114058, -0.9482157826, 0.3034263253, 0.9563884139, 0.7872216702, -0.2765666246, -0.4857223928, -0.7021003962, -0.7496200204, 0.8637809753, 0.3538864553, 0.1719446033, -0.020239586, -0.0605766103, 0.3538494408, 0.7007990479, -0.6708316803, -0.1794599295, -0.0550508685, -0.4299499989, -0.0324492641, -0.416769594, 0.2164718062, 0.0382731408, 0.7907469869, -0.0187686402, -0.3454211056, -0.0161929093, -0.760938406, 0.1046320796, 0.0225818716, 0.7805302143, 1.1228291988, -0.236998722, -0.1340726465, 0.1807925105, -0.5871149898, -0.1295648664, 0.0558798648, -0.2742320895, 0.1931974739, 0.4887173176, 0.6852494478, 0.7611138821, -0.8687804937, 0.644298315, -0.0928777009, -0.4408710599, -0.1726144105, -0.0617980473, -0.0250012223, 0.1769382656, 0.815973103, -0.1763619334, 0.4832573533, -0.3528894186, 0.1369774789, -0.081283778, -0.2329842299, -0.4634338319, 1.0909754038, 0.452152282, 0.22878699, 0.1439058632, -0.1882250458, -0.4244988263, 0.8694625497, 0.4072518349, 0.4574300349, -0.037445154, 0.7797527313, 0.4377920926, 0.4137111604, -0.4786410332, 0.3802185655, 0.0334108248, -0.3781640232, -0.6115605831, -0.4225251377, -0.4626618326, 0.1647638679, -0.605222106, 0.1632920355, -0.1396041363, 0.1819736063, 0.0703008696, -0.0757156834, -0.3414592445, 0.328551501, -0.2831281424, 1.2024496794, -1.3833050728, 0.4588102698, 0.8502981067, -0.8353521824, -0.1150984019, 0.1773793548, -0.1179099753, -0.6079775095, 0.2886401415, 0.0548209399, -0.0331036896, 0.2545469105, -0.4112967849, -0.8121177554, 0.9808869362, 0.5615996122, -0.0508020595, -0.506223917, 0.0356903635, 0.4619575739, -0.1040807515, 0.2243548036, 0.9392783642, 0.567506671, 0.2997536063, -1.0766897202, -0.302264154, -0.099814333, -0.3688339889, 0.218620494, -0.8981317282, 0.7477900386, -0.3382816613, -0.000544928, -0.0763578862, 0.7080498338, -0.1596891284, 0.5073916316, 0.3698650301, 0.6009577513, 0.7184295654, -0.0553023927, 1.0601276159, -0.0506759323, 0.3227359653, 1.1531221867, 0.3775214553, 0.5915153027, 0.3428007662, -0.1630222946, 0.3904167712, 0.6298672557, -0.0587336496, 0.6440132856, -0.3427616656, -0.0371623263, -0.190006569, -0.3710385859, -0.1178072914, 0.6795947552, 0.1562595516, -0.5124283433, -0.7321434021, 0.3491978049, 0.3903984427, 0.2299493849, -0.5531086922, 0.9444454908, -0.3435060084, -0.6814631224, 0.1809026748, 0.0489105769, 0.686999917, -0.2208506912, 0.3163970709, -0.2211667448, -0.3114962578, -0.5618207455, -0.6735622287, 0.4580952227, 0.3161750436, -0.4890565872, -0.0590391532, 0.3919778764, -0.3637623489, -0.5860009193, 0.0211984385, 0.5998669863, 0.5009624958, -0.4844060242, -0.5046671629, 0.0291632935, 0.111178875, -0.1487778574, 0.0112595186, 0.0936026126, -0.1286160797, 0.5549798012, 0.6319132447, 0.1389361471, 0.0213836487, 0.3557703197, 0.7496540546, -0.7236993313, -0.8356873393, -0.835072577, 0.5630435348, -0.2378931642, -0.2880494893, 0.6777223945, 0.8994489908, 0.4835291803, -0.2679450214, 0.885940671, -0.1075391471, 0.4733379781, -0.439445287, 0.8871275783, -0.5837781429, -0.2956853211, 0.0390898138, -0.7242955565, -0.3380348384, 0.3096141219, -0.5150501728, -0.0315168761, 0.7153525352, 0.4402578473, -0.2504180372, 0.0663305745, 0.3746411204, 0.2513018847, -0.1777882725, 0.6905422211, 0.5182979703, -0.4833012819, 0.9054728746, -0.0143779851, -0.2883550227, -0.5723592043, -1.0106130838, -1.4434323311, -0.6864645481, -0.3179334104, 0.0013930713, 0.0251463652, 0.6502590775, 0.511803925, -0.7616475224, -0.0591221154, 0.0154398577, 0.4263220131, 0.1040774062, -0.2078822404, 0.4387144446, -0.252383858, -1.088830471, 0.5373568535, 0.235225454, -0.0057614008, -0.2839968204, 0.3516821563, -0.0726870969, 0.1759018898, 0.4652175903, 0.4605304301, -0.2882091999, 0.2386179715, 0.0511668921, 0.068781741, -0.0495714583, 0.6725130081, -0.9850962162, 0.1570062488, 0.6967823505, 0.4266882539, 0.4197436869, 0.3146072328, 0.3455488682, -0.7704719901, 0.3412718475, -0.0692402646, 0.1787489355, 0.3740313649, -0.421154201, 0.4519574046, -0.1062919274, -0.1763512194, -0.696171999, -0.0509686433, -0.9384093285, -0.1624549329, 0.9974434972, 0.226886332, -0.5309020281, -0.5336698294, -0.3588711917, -0.0076495539, -0.6757376194, 0.9004297853, 0.5047723651, -0.0074619246, -0.1447377801, -0.7216832638, 0.5568588972, 0.038498912, -1.0255304575, -0.2041117847, 0.3845426142, 0.5190881491, -0.0085589206, 0.6830648184, -0.0526354685, 0.661816895, -0.1350760758, -0.2277035117, -0.3557325304, -0.6907073259, -0.2294508219, 0.4630883038, -0.3275904953, -0.3276929855 ]
http://arxiv.org/abs/2404.07584v1
http://arxiv.org/pdf/2404.07584v1
UltraEval: A Lightweight Platform for Flexible and Comprehensive Evaluation for LLMs
2024-04-11T09:17:12
2024-04-11T09:17:12
Chaoqun He, Renjie Luo, Shengding Hu, Yuanqian Zhao, Jie Zhou, Hanghao Wu, Jiajie Zhang, Xu Han, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL
Evaluation is pivotal for honing Large Language Models (LLMs), pinpointing their capabilities and guiding enhancements. The rapid development of LLMs calls for a lightweight and easy-to-use framework for swift evaluation deployment. However, due to the various implementation details to consider, developing a comprehensive evaluation platform is never easy. Existing platforms are often complex and poorly modularized, hindering seamless incorporation into researcher's workflows. This paper introduces UltraEval, a user-friendly evaluation framework characterized by lightweight, comprehensiveness, modularity, and efficiency. We identify and reimplement three core components of model evaluation (models, data, and metrics). The resulting composability allows for the free combination of different models, tasks, prompts, and metrics within a unified evaluation workflow. Additionally, UltraEval supports diverse models owing to a unified HTTP service and provides sufficient inference acceleration. UltraEval is now available for researchers publicly~\footnote{Website is at \url{https://github.com/OpenBMB/UltraEval}}.
[ -0.0029430105, -0.5914044976, 0.4917344451, 0.4924405217, -0.2342114002, 0.2582198679, -0.4588665366, -0.2154841274, -0.0358823277, 0.3467389345, -0.2366456091, -0.54332757, -0.1149522066, -0.1541461498, -0.6188880205, 0.8795168996, -0.0078821601, 0.2339156568, -0.2830414772, -0.2862794697, 0.0344757438, -0.4215973914, 0.0052513457, -0.5689106584, 0.1831894219, 0.432218045, 0.6956812143, 0.4912549257, 0.8044814467, 0.3234917223, -0.1451637149, -0.1154193953, -0.6052609682, 0.3932348788, -0.3159038126, -0.2107526958, -0.5085699558, -0.2947001159, 0.7211503386, 0.9459596872, -0.4394682646, 0.6212007999, 0.2303976864, 0.6463322639, -0.8324176669, -0.2059232295, -0.5857810378, -0.0895129517, -0.2199642658, -0.0068853823, -0.39852795, -0.266694963, 0.1136095002, -0.2823641896, -0.1325612217, 0.0615812019, 0.2509271204, -0.1020138785, -0.251369983, 0.1244683936, -0.7057661414, 0.8328106999, -0.6315698624, 0.6135435104, -0.2632894814, 0.5326895118, -0.1131004244, -1.0088694096, -0.3239346147, -0.5281350017, 0.3572342992, -0.0653194413, -0.2748179734, 0.1091231406, -0.1588089466, 0.4249245822, -0.4420191646, 0.2180413455, 0.0837681293, -0.1560512036, 0.2379410863, 0.5121164322, 0.2892505825, -0.4067613482, -0.4272085428, 0.3740861416, -0.7233712077, -0.0373330228, 0.0368015803, 0.6482123137, -0.1905901879, 0.6435810328, -0.3317373693, 0.3655364513, -0.3284671307, 0.0293768551, 0.3212186396, -0.3093800247, -0.4646466076, -0.3501789272, 0.9474532008, 0.1716884226, -0.2750276923, -0.0835292935, -0.6560189724, -0.1303016692, 0.0927887857, -0.8716555834, -0.1708286107, 0.1309150904, -0.9180409908, -0.4328898489, -0.0889066085, -0.8300487399, -0.563792944, -0.1448949724, 0.3687770665, -0.0347356126, -0.2307154685, 0.094022736, 0.2759349644, -0.0401418582, 0.3180215359, -0.8035274148, 0.358861804, 0.6197255254, 0.7969408631, -0.2725756168, -0.2735908329, -0.4821237624, -0.0230649021, -0.2194580734, 0.7919480205, -0.7616074681, -0.5991134048, 0.0692614242, -0.1209142134, 0.0701812729, -0.4243195355, 0.9158656597, -0.4786196649, -0.2917955518, -0.0248158295, -0.4262726307, 0.1111602709, 0.0403740518, -0.4961007833, 1.3226280212, 0.3592498302, -0.7057341933, 0.0994487256, -0.8737869263, -0.2203630954, 0.7059870362, -0.0976409316, 0.0122999176, 0.3837191164, 0.0918533206, 0.5119994283, -0.5861669779, 0.2818842828, -0.5689896941, -0.5557413697, 0.1207078844, -0.4238135219, 0.7256425023, 0.3798250258, -0.5407548547, 0.4747343659, -0.824657321, 0.1165247038, 0.0242904481, -0.5637255311, -0.3127701283, -0.0481488556, 0.6164656281, -0.1998543441, 0.3823592961, -0.5476102829, 0.1518966556, -0.1458431482, 0.2084937394, 0.7708700299, -0.2789949179, 0.235670343, 0.1490505785, 0.6575828195, -0.5109390616, 0.4682565033, 0.0139081115, 0.0418392271, -0.7689116001, -0.5269715786, 0.5525185466, 0.5223553181, -0.4770025909, 0.5234047771, -0.4052684307, -0.7513127923, -0.7558594942, 0.502556324, 0.5569945574, 0.5074602365, 0.0897253081, 0.0065490608, -0.7694280148, -0.7902561426, -0.0826850384, -0.2935969234, -0.2629792988, 0.1664257944, 0.6417478323, -0.6107699871, 0.6550828218, -0.0906697214, 0.065054737, -0.6793551445, 0.1019546688, 0.147108689, 0.4451690316, 0.3321906626, -0.4816507399, -0.258924067, 0.0710425973, -0.8175336123, -0.2553567588, 0.2109549642, -0.020487437, -0.0859235153, 0.2273332924, -0.3342109621, 0.0232510995, 0.435980022, -0.1141318977, 0.7318227291, -0.1448213458, 0.0844544172, -0.8635446429, 0.316552788, -0.2051491737, -0.3541350365, -0.3690744936, 0.4770497978, 0.1072833538, -0.1153971329, -0.6062909961, 0.5737355351, -0.4458377063, -0.2658093572, -0.0315290168, 0.3534606695, -0.050939288, -0.2794266939, -0.1990566999, 0.7934705615, 0.7312605977, -0.2915207744, 0.5567513704, 0.1693459153, -0.693307519, 0.5429077744, -0.8181822896, 0.1323705167, 0.3137665987, 0.163239494, -0.7945764065, -0.1091706678, -0.2904365361, -0.2624565661, -0.0688283667, -0.1620472819, -0.5125082731, -0.3162923753, -0.6777715683, 0.2269904017, 0.4874660969, -0.810340941, 0.5325186849, 0.4583466053, -0.1529776454, -0.5962489843, -0.648935616, 0.2816041708, -0.0172459986, -0.528698504, -0.0668328628, -0.1985572577, -0.370552361, -0.0263705384, -0.0842982009, 0.1136140898, 0.2476289868, 0.2399365157, 0.6323370337, -0.3774577677, 0.0084484071, -0.2425463945, -0.0796044841, -0.2682261765, -0.2358306199, 0.3011002243, -0.6467180252, -0.522270143, -0.4783367515, 0.1350273788, 0.7460352182, -0.1273843944, 0.2450628132, 0.3618741333, -0.2929835916, -0.3067615032, -0.7100747228, 0.2204449624, -0.483772397, 0.428314656, -0.4285230935, -0.985550344, 0.5667777658, -0.3195694089, 0.1510979682, 0.3966184556, 0.8170217872, -0.079749532, 1.0930775404, 0.8106561899, -0.0103989094, 0.2542897463, -0.291238308, 0.0618085824, -1.2877001762, -0.5863446593, -0.8602982163, -0.0584212132, -0.2530559897, -0.4617682397, 0.2354230732, 0.2334858477, -0.0653423518, 0.1204522401, -0.5311464071, 0.5224368572, -0.0093289381, -0.3698998392, 0.4444763362, -0.1594406068, -0.5894738436, -0.1056542471, -0.4907563925, -1.0234516859, 1.3458646536, 0.4109159708, 1.2737826109, -0.0021751537, 0.6052761078, 0.3795987368, 0.4919023514, -0.740013063, 0.7147376537, -0.1858796775, -0.52115798, -0.1618141532, -0.5322930813, -0.7066252828, 0.4631028771, -0.3084769547, -0.9663488269, 0.0521397069, -0.1550582796, -0.5507889986, 0.3410151303, -0.529029429, 0.7182924151, -0.5318362117, -0.3360265493, -0.1849202961, -0.4876862168, 0.4100866616, -0.0461564474, 0.3535606861, -0.1449708641, -0.2657596171, 0.8889071345, -0.3292899728, 0.496483624, -0.1948009729, 0.267781049, 0.0565310344, 0.3850225806, 0.1523150057, 0.3407019377, -0.4148167074, -0.1866809726, 0.1073386818, -0.3125976324, -0.669038415, 1.1046762466, -0.5973808765, -0.1429566443, -0.1210144088, -0.5942722559, -0.3443697691, 0.3047530055, -0.2431995273, 0.5929602385, -0.597509563, 0.5249263048, 0.6767044067, 0.0342679545, 0.5581549406, 0.804328382, -0.6699022651, -0.3741625547, 0.7299443483, -0.3877029121, 0.0376140848, 0.2314541489, 0.3548792005, -0.5765527487, -0.9503406882, -0.5605858564, -0.1688001752, -0.796992898, -0.1368105561, -0.5319074988, 0.1857818663, -0.2768253088, -0.3093343377, -0.6297261715, -0.6619849205, -0.1615752876, -0.2510323822, -0.0287568513, 0.9644827843, -0.0687763095, 0.3512187302, -0.8822072148, 0.2907847464, 0.2414058894, 0.571536243, 0.0755963549, -0.5877589583, -0.1701131016, -0.2103119791, -0.11913573, -0.3830138445, -0.0594115444, 0.2134466767, 0.8172587752, 0.5534397364, -0.0560144186, 0.6854507923, -0.2765930295, 0.8844292164, 0.2498993278, -1.0785859823, 0.3744081259, -0.2917791903, 0.0099465037, 1.1979702711, 0.2473696321, -0.3208686709, -0.0569876879, -0.391597122, -0.9243226051, 0.2018893659, -0.0874729827, 0.3554205596, 0.2309734225, 0.2562649846, 0.1784520149, 0.2195944786, -0.7359374166, -0.0104081025, -0.0266924128, -0.038286645, 0.1576977521, -0.5283024907, -0.2942244411, -0.4529932439, 0.5984690189, -0.1232901737, -0.0244089589, 0.0105931256, -0.4277874529, -0.0025404701, 0.510078609, 0.0480341017, 0.9621468782, -0.4769727588, 0.134635523, 0.1513827145, -0.2097972482, 0.1772228926, 0.1762351096, -0.2021819055, -0.032195352, 0.6690072417, 0.6363556385, 0.5577731729, -0.9404655099, 0.656811893, -0.0802677721, 0.0964640528, 0.2024769634, -0.2943058312, 0.1785301864, 0.248695761, 0.4249852896, -0.1758240312, 0.5273901224, -0.6983721852, 0.1876677871, 0.4798057675, -0.6275628805, -0.3096881509, 0.5590882897, 0.6412982941, -0.1665421724, 0.4916716516, -0.127610907, -0.4916575253, 0.0156722926, 0.6063122153, 1.1370856762, -0.4066164494, 0.3406163156, -0.2522488832, 0.3519342244, 0.0108837076, 0.5837255716, -0.0375855118, -0.1705306321, -0.3288368285, -1.1212972403, -0.5468302965, -0.1335020661, -0.4882429242, 0.0970851779, -0.3628685176, 0.0933052003, -0.120305866, -0.0414156355, -0.2631813884, 0.0617851801, 0.0223034993, 1.2141257524, -0.7292475104, 0.6641945243, 0.9329687953, -0.308504492, -0.680680573, -0.2524797022, 0.1767310649, -0.7244886756, 0.5130909085, 0.0459126346, -0.4945282042, -0.3629724979, -0.3477739394, -0.4025844038, 0.9358412623, 0.6124938726, -0.5566408634, 0.1736668199, 0.0727090761, 0.6677815318, -0.7166071534, 0.844502151, 0.6220800281, 0.5059399605, 0.171625644, -1.0214432478, 0.1288114637, -0.2833603024, 0.3075520098, -0.0019960965, -0.5700464845, 0.5088858604, -0.2593905032, 0.0480955727, 0.2953175604, 0.4766223729, 0.2516850233, 0.0386020131, 0.3893300891, 0.4598504603, 0.8490320444, 0.1370601654, 1.0706005096, -0.2582324445, 0.4995085299, 1.0003453493, -0.605294466, 1.090367794, 0.3497016728, -0.2513203919, 0.5839732885, 0.4588890374, -0.0407947712, 0.2275999784, 0.2970920205, -0.3301691413, -0.3809635937, -0.393835187, -0.2343749702, 0.4608578682, 0.0794153064, -0.0226350334, -0.4509394467, -0.1124813408, -0.0831609294, 0.14959611, -0.2916275263, 0.3715184033, 0.0803235322, -0.0412206836, 0.6083612442, 0.1060678735, 0.7276446819, -0.7800298929, 0.1481249183, -0.2390460074, 0.2575686574, -0.5700576305, -0.6524535418, 0.1089238599, 0.2168651372, 0.1446407288, -0.1205616295, 0.7206963301, 0.0985425785, -0.6803790927, 0.6945962906, 0.5969774127, 0.2362362295, 0.1157357469, -0.9039999843, 0.4379988611, -0.0894407555, -0.6386612654, 0.4115324318, 0.1490164548, -0.170394063, 1.0302673578, 0.8185548782, 0.2321626246, -0.0951073021, 0.525859952, 0.9858205914, -0.5587297082, -0.1116171703, -0.8375817537, 0.5614420176, 0.1304062307, -0.2431622297, 0.771872282, 1.0067374706, 0.1814890802, 0.2319402993, 0.8886722922, -0.15141128, 0.5143680573, -0.2364422977, 0.7861937881, -0.601724267, 0.5867917538, -0.5371809006, -1.133005619, -0.4371864796, 0.2371483743, 0.1514929086, -0.022808956, 0.7500529289, 0.5991917849, -0.269241035, 0.0208141711, 0.3504188955, 0.1630345285, 0.3167395294, 0.3144164085, 1.0392532349, 0.0276565365, 0.8017821312, -0.1793354005, -0.6630479693, -0.2917630672, -1.0132136345, -0.809666276, -0.2194419503, -0.0444909856, 0.0063603511, 0.2440234721, 1.0243582726, 0.8410312533, -0.7118076086, -0.7383072972, 0.308948487, 0.1142818183, 0.0749570057, -0.2099285424, 0.3160347044, -0.2779652178, -0.4733619392, 0.9226224422, 0.6191037297, -0.2692829669, -0.5587694049, -0.0166525021, -0.11861635, 0.1628746688, 0.5476933122, 0.0667898953, -0.5559106469, 0.0140633397, -0.1105043218, -0.0560164526, -0.1355682313, 0.8826235533, -0.7152540088, 0.6244156361, 0.5350703597, 0.7992243767, 0.2667204738, -0.0901511088, 0.456264168, -0.2535923421, 0.0339502245, 0.3188748956, 0.5216186047, 0.6569281816, -0.1253173202, 0.5618282557, 0.0788844526, -0.6711230278, -1.3291219473, -0.0110235177, -0.9279560447, -0.04382037, 0.8977347016, -0.3475318849, -0.0478583463, -0.0866323039, 0.0442671329, -0.1482854187, -0.433378756, 0.4666206539, 0.495496124, -0.369656533, 0.0694186166, -0.7328249812, 0.0824680775, 0.5609121323, -0.8462542892, 0.3693957031, 0.4747832417, 0.4494773448, 0.042669218, 0.5769725442, -0.3636640906, 0.2078509778, -0.2338953763, 0.2606083453, -0.0330278426, -0.4012992978, -0.7578561306, 0.2028297186, 0.4250389934, 0.1040422991 ]
http://arxiv.org/abs/2404.07549v1
http://arxiv.org/pdf/2404.07549v1
Comments as Natural Logic Pivots: Improve Code Generation via Comment Perspective
2024-04-11T08:30:46
2024-04-11T08:30:46
Yijie Chen, Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu, Jie Zhou
cs.CL
cs.CL
Code generation aims to understand the problem description and generate corresponding code snippets, where existing works generally decompose such complex tasks into intermediate steps by prompting strategies, such as Chain-of-Thought and its variants. While these studies have achieved some success, their effectiveness is highly dependent on the capabilities of advanced Large Language Models (LLMs) such as GPT-4, particularly in terms of API calls, which significantly limits their practical applicability. Consequently, how to enhance the code generation capabilities of small and medium-scale code LLMs without significantly increasing training costs is an appealing challenge. In this paper, we suggest that code comments are the natural logic pivot between natural language and code language and propose using comments to boost the code generation ability of code LLMs. Concretely, we propose MANGO (comMents As Natural loGic pivOts), including a comment contrastive training strategy and a corresponding logical comment decoding strategy. Experiments are performed on HumanEval and MBPP, utilizing StarCoder and WizardCoder as backbone models, and encompassing model parameter sizes between 3B and 7B. The results indicate that MANGO significantly improves the code pass rate based on the strong baselines. Meanwhile, the robustness of the logical comment decoding strategy is notably higher than the Chain-of-thoughts prompting. The code is publicly available at \url{https://github.com/pppa2019/Mango}.
[ -0.6395007968, -0.5922850966, 0.4476606846, 0.1915799975, -0.6206642985, 0.0994865447, -0.3902750611, -0.2963207662, 0.1260724515, 0.7893169522, -0.5992890596, -0.1599970907, -0.1871185601, 0.501464963, -0.0985808, 1.3588088751, 0.2000127286, -0.020638505, -0.1322065145, 0.0942546204, -0.365347296, -0.6280000806, -0.4442528486, -0.1454489827, 0.2294233292, 0.382358849, 0.3795557916, 0.2714501023, 0.4559619427, 0.2655059695, 0.2781278193, 0.5308716893, -0.2768008709, 0.081463173, -0.1474689394, -0.7087541819, -0.2666999698, -0.2310221046, 0.1928438246, 0.3177100122, 0.022456063, 0.2057581544, 0.1591612995, 1.1205871105, -0.5120604634, 0.6625363231, -0.7812764645, 0.2049674541, -0.0801948383, -0.3372136652, -0.5874245167, -0.7555568814, -0.5355218649, -0.2063374519, -0.0343467444, -0.1545487493, 0.5075683594, 0.4719936252, -0.063809216, -0.1810368299, -0.5649546385, 0.7007921934, -1.0781832933, -0.0251792837, 0.1728169769, 0.3637393415, -0.1691685617, -0.644672811, -0.6618238688, -0.2989807129, 0.0376048125, -0.1254326701, -0.0203996878, -0.1651209295, 0.5964661837, 0.3026077449, -0.0050140014, -0.531837225, -0.1905344129, -0.0208440758, 0.6296898723, 0.11403732, 0.2177617252, -0.3822000325, 0.0889367536, 0.5877696276, -0.8899148107, 0.0925586522, 0.2645738125, 0.4565514326, -0.1718767136, 0.4834684432, -0.4049058259, 0.9340571165, 0.1603107303, -0.1693835855, 0.4243210256, -0.5228725076, -0.0330655202, -0.3003054857, 0.7124183178, 0.7641369104, 0.6105288863, -0.0146768326, -0.0542717092, 0.2131601423, 0.4994094372, -1.0528331995, -0.5571583509, -0.1634251773, -0.3563660085, -0.4482627511, 0.1427580267, -0.8890194893, -0.5331721306, -0.5686231852, -0.0952491388, -0.4296667874, -0.2192162126, -0.2363651842, 0.1856611669, 0.4267641008, 0.4520951211, -0.7938513756, 0.4211385846, 0.7182198167, 0.5995872021, 0.2394637614, 0.100652881, -0.8829400539, -0.0268382449, -0.3183251023, 0.6335750222, -0.6574042439, -0.3152704835, -0.1200070754, -0.3613251448, -0.1230337843, -0.5723395944, 0.4076711535, -0.4075490236, 0.0846200287, -0.3327006698, -0.21440804, -0.0894453824, 0.3137467802, -0.3830033243, 0.8696836233, 0.0545188971, -1.2377740145, 0.2192691416, -0.8219432235, -0.7794901133, 0.1315232962, -0.6562849283, -0.4064667821, 0.2897874415, 0.4772230685, 0.4155164659, -0.4607590735, 0.1017492637, -0.0925182998, -0.1452063471, 0.5758997202, -0.063784197, 0.3964817226, 0.5267651677, -0.643065989, -0.0467490181, -0.6248258948, 0.402189523, 0.068924062, -0.5742468834, 0.1205733642, 0.1447222531, -0.4173437655, 0.4104087949, -0.0435015522, -0.3960248828, 0.2729080915, -0.6189693809, 0.5348735452, 0.4691390395, 0.459482193, 0.2960519195, -0.0506802723, 0.3710694015, 0.0943811461, 0.151470378, -0.4049001336, -0.8280131817, -0.7419484854, -0.2163971514, 0.1939084232, 0.3944613039, -1.2749974728, 0.210468486, -0.2112960815, -0.0116204396, -0.4570378363, 0.6336459517, 0.5353725553, 0.756429255, 0.1765721589, -0.6245427132, -0.8925293684, -0.8527337909, -0.3607312739, -0.104820177, -0.1033885702, 0.2751264572, 0.3689466715, -0.2541385889, 1.2723660469, -0.7075812221, 0.1587733477, -0.4338858426, -0.0747417435, 0.442863822, 0.3703845143, 0.2849004865, -0.7297175527, -0.7622677684, -0.0468131639, -0.4881776869, -0.2688411474, 0.1209213287, -0.217494294, 0.42206043, 0.3747039437, -0.6203601956, 0.4069186449, 0.0346485339, 0.2173360735, 0.3370166123, 0.0300777983, 0.1705003381, -1.0484384298, 0.0320437774, -0.0474200584, -0.2821990848, -0.5298733711, 0.2941212058, 0.1248567775, -0.1468619257, -0.443285346, -0.0770482197, -0.3262881637, 0.0830156282, -0.397043556, -0.1932149231, -0.0340043046, 0.8348711729, 0.0374705754, 0.7766187787, 0.2274442166, -0.6261594296, 0.1683624089, -0.234045729, -0.1471943259, 0.6110752225, -0.3325434923, 0.4211569428, 0.212258026, 0.3521583378, -0.7189177275, -0.261097163, 0.4222548008, -0.5187341571, 0.2794445753, -0.3607320487, -0.7167828679, -0.5414879322, -0.8347325325, -0.0048479447, 0.8080493808, -0.3289060891, 0.3406881988, 0.4044832885, -0.2724950016, -0.2006190866, -0.8256482482, 0.2711841762, 0.0783906356, -0.5193836689, -0.3472543657, -0.1959425062, -0.2028895319, -0.183592245, -0.1833470017, 0.1082622409, -0.0898272172, 0.3477537632, 0.275416851, -0.2628412545, -0.1524270624, -0.3123137355, -0.1967655867, 0.3474043906, -0.5082203746, 0.5460526943, -0.3984183371, -0.1315250546, 0.0703360662, 0.163578704, 0.385343641, -0.601573348, 0.5285041928, 0.0972293466, -0.2064260244, -0.4399856925, -0.5982837677, -0.0313083082, -0.4551626444, 0.1358137876, -0.3760919273, -0.5750390291, 0.2324613929, -0.1634562314, 0.0920669064, 0.2125443965, 0.8649914265, 0.1739179343, 1.1243885756, 0.6405155063, -0.1401664913, 0.2532834709, -0.330306828, 0.6346720457, -0.927323103, -0.2455450445, -0.5348646045, 0.1631182283, -0.5018405318, -0.92882061, 0.0479719155, -0.076759778, -0.3516733646, 0.0613258965, -0.7569415569, 0.7185481191, 0.45266065, 0.2087750137, 0.2832361162, 0.0871983171, -0.4029625058, -0.1762341857, -0.7296335101, -0.5143194199, 1.2033629417, 0.2522117496, 0.7059471607, -0.0211522896, 0.8968670964, 0.1033535153, 0.6623128653, -0.5965715051, 0.8152534962, -0.0434602313, -0.2669980824, 0.1858882755, -0.7110471725, -0.3828589022, 0.0807246417, 0.0887532458, -0.5870385766, -0.1221650019, 0.2065794915, -0.2044844031, 0.3398250341, -0.8867923617, 0.5962542295, -0.1942864209, -0.7447219491, 0.0625137687, -0.7593057752, 0.5378153324, -0.0662906989, 0.572719872, 0.0901468322, -0.0409635343, 0.4640462697, -1.0710510015, 1.0711733103, -0.4333952963, -0.1103394404, 0.6970527768, 0.1550617516, 0.4372447431, 0.0872923806, -0.0643466115, -0.3686904311, -0.6958545446, -0.2054228187, -0.4849824607, 0.7080407143, -0.5928716063, -0.4909624159, 0.0119862985, -0.3539557457, -0.5111575723, 0.2251028717, 0.3320054412, 0.3802637756, 0.3639909923, -0.0828672498, 0.585577786, 0.1276843101, 0.4878638983, 0.3574452698, -0.457252115, -0.6690056324, 1.0372350216, -0.0566572808, 0.2060968876, 0.3025863469, 0.0476047471, -0.2323741764, -0.376267761, -0.3230868578, 0.2531771362, -0.8538173437, -0.6687415242, -0.5443130732, -0.1677299887, -0.17908369, -0.0629241392, -0.2511135936, -0.6131485105, 0.1515557766, -0.1842156202, 0.5624927878, 0.7376580834, 0.3183021843, -0.1429916322, -0.6594253778, 0.6109819412, 0.3663814664, 0.6257175803, 0.2008259892, -0.2593983412, -0.5099236965, 0.1480319053, -0.286309123, -0.9017353654, 0.2704106569, 0.0086514736, 0.2921829224, 0.161998868, 0.2561553419, 0.4463911951, -0.6566565037, 0.7485375404, 0.4554644227, -0.9558916688, 0.86026752, -0.1968536824, 0.3379285634, 0.7586756945, -0.1531518251, -0.1090189293, -0.7045347095, -0.4316163659, -0.7486505508, 0.6304812431, 0.3204114735, 0.1492992342, -0.1516907662, 0.2480273545, 0.0946109369, 0.721586585, -1.0672876835, 0.1056292355, -0.5472687483, -0.1520386934, 0.1259419024, -0.0671041608, -0.0457357578, -0.3669419885, 0.4061366618, -0.3998100162, 0.2027328759, -0.0275404286, -0.0679313317, -0.1259029657, 0.5003113747, 0.4301624, 0.4866388738, -0.0586192459, 0.4219287634, 0.1088762581, -0.5186501145, 0.0468217731, -0.1881951243, -0.2497821748, -0.1353695542, 0.1676907092, 0.574346602, 0.3805741966, -0.3992838562, 0.3291394114, 0.0029666738, -0.1269486994, 0.1140493676, 0.4673784673, 0.308124572, -0.1065348238, 0.1729774028, 0.5044201016, 0.0572487861, -0.742983222, 0.1905909628, 0.084385559, -0.1645787358, -0.235850051, 0.7018253207, 0.7275063992, -0.3460040987, 0.5252257586, -0.4086032808, -0.8440872431, 0.5486332178, 0.5228476524, 1.0330067873, 0.1582743078, 0.0690709725, 0.1651209146, 0.4017094672, 0.0813077316, 0.410525322, -0.4762018919, -0.4096687138, -0.7396611571, -0.5410376787, -0.5234927535, -0.3738569915, -0.3480041921, 0.2695758343, -0.8509213328, -0.1058657989, -0.2810892463, 0.2361422628, -0.5287775993, 0.1222114563, 0.4310485423, 0.920809865, -0.6129930019, 1.139616251, 0.8583146334, -0.7895507812, -0.9179075956, 0.3016901314, -0.1544298679, -0.4866222739, 0.5937815905, 0.5558680296, -0.3407539129, -0.2554148138, -0.6776902676, -0.2165939063, 0.4973060787, 0.4964098632, -0.3436916769, 0.291351974, 0.4966228306, 0.7329851985, -0.6420055032, 0.1954093575, 0.6010047197, 0.32057482, 0.0418491624, -0.6634957194, 0.2425755709, -0.8363807201, 0.1822449416, 0.330249995, -0.5230209827, 0.6695014238, -0.4551725388, 0.1839833856, -0.1495245844, 0.2685346305, 0.4837260544, 0.3329875469, 0.3661342859, 0.4306205511, 0.4183975756, 0.0270499606, 1.3295989037, -0.4849458635, 0.1708062589, 1.0281903744, -0.5754542947, 0.9780362248, 0.7874763012, -0.4304746091, 0.7218697667, 0.222367987, 0.1647839695, 0.5281705856, 0.4446550906, -0.0786015093, -0.0165585782, 0.2152434736, -0.5213394165, -0.1842137128, 0.2930039167, -0.086672239, -0.0056721629, -0.2278398126, 0.2273976058, 0.4578055143, -0.4450937212, 0.8084129095, 0.2508148253, -0.8439090848, 0.5956138372, 0.0096461494, 0.7134414911, -0.5280084014, -0.2407580912, -0.5503094792, 0.2858510613, -0.62495327, -0.6116162539, 0.2760900259, 0.5892940164, -0.2323133945, -0.0977273285, 0.6821070313, -0.1093431935, -0.5889724493, 0.02822892, 0.0885274932, -0.2175788879, -0.1188537255, -0.5734640956, 0.1257501245, 0.3869537711, -0.2146318704, 0.1544776857, 0.5741805434, 0.0841621011, 0.4626606703, 0.6540291309, -0.0586981624, 0.228675276, 0.0111753829, 1.1706397533, -0.6799147725, -0.805457592, -0.9200707078, 0.6624025702, -0.4318727553, 0.1067561135, 0.9701652527, 0.707709074, 0.572583735, -0.4377846122, 0.9547380805, -0.111241959, 0.707103014, -0.6078633666, 0.3268160522, -0.0460843779, 0.8961241841, -0.5667183995, -0.9840565324, -0.3022758067, 0.6365813017, -0.6015667319, 0.1834307462, 0.5994779468, 0.7162125111, -0.0432340875, 0.1399638206, -0.0817029998, 0.2408694178, 0.3757825196, 0.7824519873, 0.9459990263, -0.1125778779, 0.5510151982, -0.3641111255, -0.2075374275, -0.4203487635, -0.9502770305, -0.9219714999, -0.0020411483, -0.5233361721, -0.3890253305, -0.2285548002, 0.8167463541, 0.6108452678, -0.7564621568, -0.2631630301, -0.5863070488, 0.2460794747, 0.1190560162, -0.257204026, 0.0306903347, -0.6160420775, -0.2527750432, -0.0870940611, 0.4843975902, -0.4775223732, -0.0346038751, -0.3941521049, 0.074596256, 0.3606097698, 0.6803321838, 0.463727057, -0.4764159024, -0.059704911, -0.1341950893, -0.0818810388, 0.2723886669, 1.0733622313, -1.0270162821, 0.4730591178, 0.4270380735, 0.6391046643, 0.5886083841, 0.000280058, 0.5976448059, -0.8495445848, 0.344394803, 0.166726172, 0.3143294156, 0.4657293558, -0.1529350579, 0.7118708491, 0.183978498, -0.280444175, -0.8539819717, 0.3985103369, -0.6278476715, -0.1488138735, 0.8213005662, -0.0540490933, -0.2239219397, 0.0290875565, -0.6649660468, -0.0324904658, -0.3324760795, 0.4511535764, 0.2368597686, -0.452991426, -0.2186500281, -0.6598039269, 0.5712069869, 0.4025647044, -1.1349802017, 0.0664183721, 0.487595886, 0.2474749833, 0.1890334785, 0.9345722795, -0.4267241359, 0.5611575246, 0.0893157721, 0.121656552, -0.1229804158, -0.0591793843, -0.2170962691, 0.2466387302, 0.4807855487, -0.1789752841 ]
http://arxiv.org/abs/2404.07546v1
http://arxiv.org/pdf/2404.07546v1
Decomposing Label Space, Format and Discrimination: Rethinking How LLMs Respond and Solve Tasks via In-Context Learning
2024-04-11T08:20:10
2024-04-11T08:20:10
Quanyu Long, Yin Wu, Wenya Wang, Sinno Jialin Pan
cs.CL
cs.CL
In-context Learning (ICL) has emerged as a powerful capability alongside the development of scaled-up large language models (LLMs). By instructing LLMs using few-shot demonstrative examples, ICL enables them to perform a wide range of tasks without updating millions of parameters. However, the precise contributions of demonstrations towards improving end-task performance have not been thoroughly investigated in recent analytical studies. In this paper, we empirically decompose the overall performance of ICL into three dimensions, label space, format, and discrimination, and we evaluate four general-purpose LLMs across a diverse range of tasks. Counter-intuitively, we find that the demonstrations have a marginal impact on provoking discriminative knowledge of language models. However, ICL exhibits significant efficacy in regulating the label space and format which helps LLMs to respond in desired label words. We then demonstrate this ability functions similar to detailed instructions for LLMs to follow. We additionally provide an in-depth analysis of the mechanism of retrieval helping with ICL and find that retrieving the most semantically similar examples notably boosts model's discriminative capability.
[ -0.3225449324, -0.6778640151, 0.516315639, 0.0104313977, -0.2956835032, 0.0247805174, -0.3428657949, -0.4668772519, -0.4084429145, 0.2644359171, -0.2263042778, -0.5082042217, -0.4785856307, 0.0698108003, -0.4635054469, 1.1207153797, -0.0813880861, -0.1306847036, -0.6228326559, -0.1455200762, -0.3484414816, -0.6849840283, -0.4147650301, -0.5092716813, 0.2346966416, 0.6806817055, 0.1504637897, 0.6041968465, 0.223476842, 0.2490503788, -0.2343154401, 0.1002766415, -0.675516367, 0.0525678582, 0.0385176614, -0.452552408, 0.0182545763, 0.2492648661, 0.8839085102, 0.965395987, -0.0607794002, 0.244372502, 0.6512570977, 0.4087867141, -0.6573408246, 0.2636674941, -0.7038001418, -0.0883137137, -0.1282313168, -0.0942052826, -0.7902664542, -0.0674008206, 0.1208876669, -0.6058291793, 0.0954872817, 0.1152622402, 0.5969309807, 0.2361639738, -0.5987561345, -0.5376471281, -0.7847416401, 0.8064028025, -0.6721323133, 0.4835732579, 0.3648858368, 0.2833158076, -0.1637142599, -0.8947538733, -0.3950576186, -0.3970354795, -0.3150512576, -0.0164695419, -0.1104138717, -0.0422075875, 0.5105543137, 0.0960934013, -0.2368679941, 0.4502718747, -0.2381370366, -0.0151196122, 0.3523320556, 0.1280766726, 0.2834290862, 0.2462819815, -0.5195189714, -0.0967764482, -1.0205127001, 0.3161665797, 0.0015321956, 0.2995088696, -0.1041129902, 0.2950371504, -0.0943078771, 0.8775019646, 0.0894308239, -0.3832193911, 0.0396205671, -0.031014381, -0.3377847075, 0.0472940877, 0.498573631, 0.1669806838, -0.0362106785, -0.2760048211, -0.3063333333, -0.1533974558, 0.1148294955, -0.8034396172, -0.0166408364, -0.1092251316, -0.4727516174, 0.1849743277, -0.2869199216, -0.281044662, -0.2457495928, -0.5225813985, 0.5627636909, -0.4484726489, 0.036161676, 0.1367177069, -0.0578694604, 0.2929573059, 0.2928244472, -0.7569468617, 0.6018556952, 0.6606137753, 0.5376235843, -0.3532134295, -0.1550630033, -0.488060087, 0.3445279896, -0.2891283035, 0.6246798635, -0.5763405561, -0.3122311831, 0.070750773, -0.1639358401, -0.0407256745, -1.1053212881, 0.1534993649, -0.5403623581, 0.1049091741, -0.3543891907, -0.7202997208, -0.1501813531, 0.3298967481, -0.5644301772, 0.828880012, -0.0197693035, -0.4889546633, 0.6364811659, -0.8008592129, -0.2984034717, 0.2539367676, -0.3211375177, -0.2891302705, 0.186070621, -0.0533055738, 0.7056601048, -0.1281239539, 0.1860626042, -0.223884806, -0.670365572, 0.4675893486, -0.3125171065, 0.5673668981, 0.1515022963, -0.3919577897, -0.0231508687, -0.704900682, -0.2021286339, -0.0618124492, -0.6202389002, -0.4661897421, 0.1209162474, -0.2608494163, 0.375697881, -0.0536148213, -0.6029058695, 0.0057622758, -0.4090351462, 0.4164435565, 0.4699172378, -0.2048828453, 0.518304348, -0.0750730112, 0.4518134296, 0.0853507444, -0.0103113782, -0.0932507515, -0.1223641708, -0.4939438701, -0.3554524481, -0.0517568365, 0.0727821961, -0.7350560427, -0.2320299, -0.1713798195, -0.2073472887, -0.3296273947, 0.1936424524, 0.6807425618, 0.705014348, 0.3459880352, -0.1302216053, -0.2299234718, -1.033737421, -0.2302891314, -0.2063259482, -0.1285880655, 0.3062060177, 0.532965064, 0.1083215475, 0.9592761397, -0.2013324201, -0.2397543341, -0.3408468962, -0.0669939741, -0.0216231048, 0.2037074566, 0.5523246527, -0.6984114647, -0.5611258149, 0.0845075473, -0.6304674149, -0.1625540107, 0.0851913542, 0.1857102811, 0.1673578471, 0.8670199513, -0.1143920645, 0.4899031222, 0.234024331, -0.2192011178, 0.5690146685, -0.202035144, -0.2294310331, -0.6487342715, -0.1615905762, 0.1081064716, -0.1226014644, -0.7114661932, 0.2260051221, 0.3408069015, 0.0805607811, -0.735703826, 0.6505689025, -0.5011441112, -0.2123301923, -0.414291352, 0.3638868928, -0.1320301741, 0.466139704, 0.01204638, 0.826925993, 0.2969594002, -0.8375880122, -0.2269497663, -0.0051642247, -0.5396055579, 0.3857209682, -0.4148834348, 0.1135813221, -0.3851970434, 0.3526310623, -1.2837218046, -0.1549452245, 0.0984764844, 0.0725819543, 0.4572383761, -0.0080020037, -0.6523134708, -0.0268717594, -0.1330838203, 0.6174529195, 0.4561954737, -0.8482971191, 0.2935575843, 0.3516112864, 0.2307388037, -0.4166742563, -0.5773835182, -0.1184810475, -0.63346982, -0.0339836441, 0.6026029587, -0.2491523027, -0.5847161412, -0.3130761385, -0.0599460788, 0.1183276325, 0.4153769612, 0.1617972404, -0.0991539508, 0.0750611499, 0.3086048067, -0.0424761511, 0.0923754945, 0.1276624054, -0.2345850766, 0.3166111708, -0.2524445951, -0.505259037, -0.30129987, 0.2920437455, 0.3985396922, -0.0671338663, 0.6565338969, 0.308406353, -0.410135299, -0.4152142704, -0.2382908612, -0.1535437554, -0.458424598, 0.3874218166, -0.4627247155, -1.0100238323, 0.4142549634, -0.3329829872, 0.1644804776, 0.0348226167, 0.545265615, -0.2199206799, 0.9257155657, 0.8630979061, 0.1995102763, 0.5133558512, -0.3530748487, 0.2486773282, -1.105255723, -0.6757075191, -0.4301043153, -0.5238719583, -0.2524339855, -0.2045385689, 0.4216345549, 0.3242418468, -0.353014797, 0.1650846601, -0.3952618837, 0.5913063884, 0.4537837803, 0.1639088094, 0.1929978281, -0.0307686068, -0.3288897276, -0.1407383829, -0.6378059983, -0.7081260085, 0.8006954789, 0.3156488836, 0.7681001425, 0.262702316, 0.6514378786, -0.0692459419, 0.6961847544, -0.8227057457, 0.6448213458, -0.2615002394, -0.3105230629, -0.1003990173, 0.1397055537, -0.8588301539, 0.4172471464, 0.1584425718, -0.9492476583, 0.1291846484, 0.1950598955, -0.135949403, 0.3064555228, -0.7974604964, 0.6440366507, -0.1528502703, -0.3163458407, -0.0130800297, -0.5324063897, 0.3643442988, -0.090003483, 0.2675298154, 0.103840664, -0.163321048, 0.7498495579, -0.1775849462, 1.2371199131, -0.1990465224, -0.4663146734, 0.1645597667, 0.2830360234, 0.2466155142, -0.1174038053, -0.0469103195, -0.3230092227, -0.1003939509, -0.2590126693, -0.875469625, 0.6518357396, -0.648373723, -0.6494267583, 0.1614569277, -0.6709271669, -0.2777351141, -0.2428723574, 0.19795084, 0.7025697231, -0.0587532185, 0.409096241, 0.80037117, -0.169009164, 0.6875779629, 0.5805985332, -0.1991759837, 0.1336781383, 0.708840847, 0.1598563194, 0.5350118279, 0.5737810135, 0.0801361054, -0.468433708, -0.6038383842, -0.1063364893, 0.0970313549, -1.0576967001, -0.1353610009, -0.5686776638, 0.0641365722, -0.1094427109, -0.2149714381, -0.0485823713, -0.2157852501, -0.4411839247, -0.2018530518, -0.0516671427, 0.9532204866, 0.0560016148, 0.4593569636, -0.1493535936, 0.0405277424, 0.3579487503, 0.2544655204, 0.2278313339, -0.7430767417, -0.3820349574, -0.0885844305, -0.4443740249, -0.7961593866, 0.2511372566, 0.361762464, 0.814774096, 0.3961841464, -0.0270632654, 0.8257313371, -0.5173166394, 0.9377683997, -0.1369445771, -0.9401643276, 0.4328778088, 0.0917721316, 0.3420293927, 0.0849510282, 0.5489925742, -0.4775937796, -0.4340375364, -0.407738626, -0.8394873142, 0.7192159891, -0.1477841288, 0.084361285, -0.2094308287, 0.5905296206, 0.3099416196, -0.0290193744, -0.8374116421, -0.2247285694, -0.0409674384, -0.1288224161, -0.1859561056, -0.4804831743, -0.2526660562, -0.3640779853, 0.43827492, -0.4072127342, 0.3027046621, -0.0242795683, -0.4757567346, 0.3476921022, 0.3771710694, 0.7191066742, 0.6925598979, 0.1017176136, 0.3496077359, 0.275765568, -0.0497532263, 0.2676456869, -0.1417986751, -0.0169171132, -0.253362745, 0.5509181619, 0.8628324866, 0.5392696261, -0.7106409669, 0.309558779, 0.006297444, -0.2545223534, -0.0348175354, 0.0325413086, -0.0653438792, 0.2538967431, 0.4130426943, -0.3927038312, 0.3211580217, -0.6355727911, 0.2544274926, 0.5826709867, -0.4635559916, -0.3172022402, 0.7226323485, -0.2720068097, -0.4392525852, 0.5299746394, -0.1377668083, -0.3974885345, 0.5506639481, 1.2560915947, 0.6645192504, 0.1315934658, 0.2274037153, 0.1267837882, 0.0242606252, 0.1619058549, -0.1265001148, -0.4971865118, -0.7527772784, -0.4576969445, -0.4017593861, -0.2387773097, 0.2621535361, -0.7352617383, -0.0802268535, -0.3614711463, 0.1632114053, -0.1243726611, -0.0674106777, -0.7532914281, 0.1064196751, 0.3389608562, 0.9276531339, -0.8889098167, 0.7520676851, 0.8794093728, -0.1842636168, -0.8452310562, 0.2078993469, 0.0206342414, -0.5934253335, 1.2126010656, 0.28334409, -0.2505804598, 0.0098243933, -0.9204863906, -0.812713623, 1.0846112967, 0.5468914509, -0.2364955693, 0.2412692159, 0.1897298545, 0.6468824744, -0.6897491813, 0.3642886281, 0.6135668755, 0.0235619061, -0.0734186694, -0.8853994608, 0.0324118026, -0.0501042232, 0.2722020447, -0.0812332183, -0.50650841, 0.543156147, -0.1442965865, -0.3988657594, -0.0492001437, 0.6158571839, 0.564501822, 0.2592965066, 0.4490303397, 0.2359566987, 0.6547637582, -0.1404991895, 1.1092250347, 0.0140797701, 0.1597578675, 1.0141714811, -0.3830603957, 0.9240477681, 0.720046699, -0.0295667201, 0.6792265177, 0.5931052566, 0.5510573983, 0.6535197496, 0.3816705048, -0.4042464495, -0.2219318002, -0.3494853079, 0.0375816785, 0.5617421269, 0.7413670421, -0.1723817736, -0.486230582, 0.5534697175, -0.1152864248, 0.4018290341, -0.2526041567, 0.9127798676, 0.0346984603, -0.5468956828, 0.6038616896, -0.1818025261, 0.6787808537, -0.3561591506, -0.3175098896, -0.2691763341, 0.2002299726, 0.0460990407, -0.8710139394, 0.1193298176, -0.278416425, -0.2113284618, -0.5246656537, 0.6713092327, -0.5566139817, 0.0525254868, 0.4445770979, 0.2264001667, 0.3571316004, 0.255916059, -0.3907938302, 0.1921913624, -0.1065270752, 0.0286840424, 0.6088305712, 0.538521409, -0.334210217, 0.9970264435, 0.2921616733, -0.3358862102, 0.0552263744, 0.0515862517, 0.7957593203, -0.3738382161, -0.2551271319, -0.9649244547, 0.4938764572, 0.117381312, -0.1831666827, 0.7259280682, 0.5991874337, 1.5208134651, -0.1450324655, 0.5050674081, 0.1358779669, 0.338899374, -0.5893821716, 0.4092386365, -0.7354674339, 0.4838674366, -0.1544270366, -0.4814499319, -0.5318437815, 0.350250572, -0.3392433524, 0.0373888202, 0.5630354881, 0.6690177321, -0.0758893415, -0.2823902071, 0.5404077768, 0.1175242439, 0.642074883, 0.4952636659, 1.0808019638, -0.1529287696, 0.5054758787, -0.3699777424, -0.1490212828, -0.2121848911, -0.7731041312, -0.8166841269, -0.8223868608, -0.3474811912, -0.0596455671, -0.1802031547, 0.8525059819, 0.7245220542, -0.4647311568, -0.5088905692, 0.3216557205, 0.1095172837, -0.3669822812, -0.2356867045, 0.3549261093, -0.5716401935, -0.810053885, 0.5460545421, 0.3746627569, 0.0611089543, -0.034545783, -0.1842107326, -0.0036605448, -0.3714629412, 1.1056578159, 0.320199728, -1.0384594202, -0.2798761427, -0.1665777862, -0.07748124, -0.0881627351, 0.921364367, -1.1597858667, 0.3367584646, 0.1850240678, 0.6762579083, 0.38783288, -0.1422555745, 0.3976749182, -1.0510166883, 0.1240462363, 0.0355188996, 0.3796430826, 0.2678405643, -0.2094482929, 0.3292559683, -0.0580486841, -0.5017929673, -0.8720462322, 0.3708758652, -0.5496022701, -0.5433781743, 1.1803866625, -0.129078418, -0.1734199077, -0.1284402609, -0.1897698045, 0.1330150664, -0.0495932996, 0.7038971782, 0.5683489442, -0.3957521617, -0.1803195477, -0.5305208564, 0.6038448811, 0.295557946, -0.5755312443, 0.0769312456, 0.4388443232, 0.4270681739, -0.0162913278, 0.6136361957, -0.1433042139, 0.0443012081, -0.4877967834, -0.1686846614, -0.0234343503, -0.454082191, -0.5414661169, 0.3105803728, 0.2848263681, -0.2063651681 ]
http://arxiv.org/abs/2404.07544v2
http://arxiv.org/pdf/2404.07544v2
From Words to Numbers: Your Large Language Model Is Secretly A Capable Regressor When Given In-Context Examples
2024-04-11T08:12:43
2024-04-30T07:40:57
Robert Vacareanu, Vlad-Andrei Negru, Vasile Suciu, Mihai Surdeanu
cs.CL
cs.CL, cs.AI
We analyze how well pre-trained large language models (e.g., Llama2, GPT-4, Claude 3, etc) can do linear and non-linear regression when given in-context examples, without any additional training or gradient updates. Our findings reveal that several large language models (e.g., GPT-4, Claude 3) are able to perform regression tasks with a performance rivaling (or even outperforming) that of traditional supervised methods such as Random Forest, Bagging, or Gradient Boosting. For example, on the challenging Friedman #2 regression dataset, Claude 3 outperforms many supervised methods such as AdaBoost, SVM, Random Forest, KNN, or Gradient Boosting. We then investigate how well the performance of large language models scales with the number of in-context exemplars. We borrow from the notion of regret from online learning and empirically show that LLMs are capable of obtaining a sub-linear regret.
[ -0.2033372521, -0.8951355815, 0.6408666372, 0.3585006595, -0.1038950607, -0.0056162858, -0.3365479112, -0.406755507, 0.1269141585, 0.3734655976, -0.4535912871, -0.1440890133, -0.7033870816, 0.0250222608, -0.6996189952, 1.1541247368, 0.067879729, 0.4048459828, -0.37921682, -0.040405225, -0.4269166291, -0.7567153573, -0.6841372252, -0.2909267247, 0.5998811126, -0.0332637504, 0.6761910319, 0.4519492686, 0.356902957, 0.3397176266, 0.183584556, -0.0212770626, -0.8260785341, 0.0900000706, 0.1348851323, -0.6114663482, -0.1704491377, 0.2002824396, 0.5589560866, 0.7145226002, -0.0666122362, 0.0464885831, 0.2859395742, 0.6355965137, -0.3230903745, 0.3071486056, -0.6334391832, -0.2383893728, -0.0772337094, 0.1178079993, -0.6581352949, -0.7074459791, 0.2149608284, -0.5382641554, 0.0882733762, -0.1910814792, 0.8020543456, 0.378536433, -0.257384032, -0.591046989, -0.9214795232, 0.9892264009, -0.8204060793, 0.3426548243, 0.6217771769, 0.2001388967, -0.1821195483, -0.9775545597, -0.3132137358, -0.3104576468, -0.138677448, -0.104282029, -0.256526202, -0.0588838831, 0.5684934258, 0.2293371409, -0.3201018274, 0.0122953607, -0.3095353544, -0.0608160682, 0.4799550772, -0.2506999075, 0.0332444534, 0.4336982965, -0.2575647831, -0.2906778753, -0.7324371934, -0.0088574011, 0.2956331074, 0.3224672675, 0.1337809563, 0.4243660569, 0.1318302602, 0.876653254, -0.2521829307, -0.2376211882, 0.1864448935, -0.1647174954, -0.325121671, -0.3329146504, 0.61819309, 0.0054725083, 0.6682791114, -0.3211347461, -0.3905495107, 0.1214853004, 0.0871648341, -0.7256137729, -0.1892302334, -0.0798587874, -0.3680558503, -0.3207384348, 0.0521228798, -0.8034827113, -0.4186939001, -0.1451695561, 0.815382123, -0.3164160848, 0.1405477673, 0.0773596019, -0.021693049, 0.1647412181, 0.3492122591, -0.7287032008, 0.5875768065, 0.7714178562, 0.9189339876, 0.3158331513, -0.2222118974, -0.7704765797, -0.3480115235, -0.6145007014, 0.4255080521, -0.5582200885, -0.2903016508, 0.2693081796, -0.1815416366, 0.0874332413, -0.4222607315, 0.2200216055, -0.5162603259, 0.4162920713, -0.3757384717, -0.6544992924, -0.2965720892, -0.0176046472, -0.6616690755, 1.0146805048, 0.0629477277, -0.4391503036, 0.3611865938, -0.3144472539, -0.3402155638, -0.0325206071, -0.1074586064, -0.4430892169, 0.5572136045, 0.0142575093, 0.5383355021, -0.3487442136, 0.5801007748, -0.5288336277, -0.4698745608, 0.4483571351, -0.4825274944, 0.6682562828, -0.022376677, -0.4187696576, 0.0039775358, -0.6224014759, 0.0236604773, 0.0535025746, -0.2914712429, -0.5616109967, 0.385104835, -0.0488162637, 0.457475245, 0.2044553161, -0.4195374846, 0.3132829964, -0.2148121297, 0.4537783563, 0.7576642036, -0.3968805969, 0.2099823058, -0.3350706697, 0.5086285472, -0.4994554222, -0.1329470426, -0.1932680905, -0.712356627, -0.9075955153, -0.3940876126, 0.3710342944, 0.3535876274, -0.693614006, 0.2562868595, -0.3288862705, -0.5602920651, -0.3775047064, 0.2555102408, 0.4298134744, 0.3577423096, 0.3639142513, 0.0556069091, -0.4821418822, -0.9309820533, -0.4541484118, -0.178886652, -0.0955895931, 0.4408146441, 0.3459986448, -0.0713648722, 0.953972578, -0.4106980562, -0.371830076, -0.2049668878, 0.3608526289, 0.1975187957, 0.0744689554, 0.5434629321, -0.6995880008, -0.4010339379, -0.1497136056, -0.843237102, -0.2929284573, -0.1536239833, 0.4594300091, 0.2444878966, 0.8291591406, -0.2559151351, 0.2898302972, 0.9058941007, -0.3217618763, -0.0866310745, -0.3700354993, -0.422735095, -1.1247295141, -0.1227794141, 0.256616354, -0.3627135158, -0.7207896709, -0.059560556, 0.070071727, 0.0171333235, -0.144011423, 0.3734134138, -0.393414855, -0.0981370509, -0.2534036934, -0.1622840166, -0.2598087192, 0.200921908, -0.0201942418, 0.6331256628, 0.6771922708, -0.3079200387, 0.1802170575, -0.0497706756, -0.580786407, -0.1717902124, -0.7222821116, 0.0954948664, -0.3682893515, 0.3450451195, -1.2190375328, -0.2284302711, -0.2505100965, -0.282784462, 0.3663935661, -0.1511377394, -0.5392799377, -0.4815666974, -0.3219671547, 0.1245919093, 0.7926626205, -0.4694185257, 0.3699708283, 0.2639170885, -0.2696341574, -0.6818599701, -0.8767254949, 0.1037025154, -0.4839355648, -0.1750261039, -0.0672000498, -0.0671254843, -0.5494866967, -0.1906726956, 0.2700509429, -0.0740513429, 0.1749227941, 0.2795772851, 0.3590593934, -0.1912054569, 0.383358866, -0.5113606453, -0.0155704627, 0.0403452143, -0.4196762145, 0.6417997479, -0.3113978505, -0.0980923474, 0.0710033923, 0.2076361328, 0.5364313126, -0.066912666, 0.7526479959, 0.5087268949, -0.5491630435, -0.197078526, -0.6040236354, -0.2666930556, -0.4517093301, 0.5274885893, -0.2263014317, -1.0959795713, 0.3727138937, -0.0278216545, -0.002869173, 0.1842562109, 0.569968164, 0.1874126643, 1.0359205008, 0.8269357085, -0.2474811524, 0.5307213068, -0.172428444, 0.3053258955, -0.399060756, -0.0319567472, -0.393425107, -0.3728202581, -0.960814774, -0.5676080585, 0.0895173699, 0.3358236849, -0.1156419665, 0.3398040235, -0.0350379348, 0.4378407896, 0.4536336958, -0.1794825047, 0.0690951124, 0.0899247155, 0.276869148, -0.1952109486, -0.5733388066, -0.4754697382, 1.0910099745, 0.4043960273, 0.9840490818, 0.1367853582, 0.6059978008, 0.0365668014, 0.882897377, -1.0808143616, 0.3583905399, -0.3145051599, -0.5338435173, -0.4828401804, -0.4967294931, -0.8898249865, 0.1610791385, -0.1968180835, -0.9502609968, 0.3234185576, 0.143130213, -0.2224921137, 0.311925739, -0.6677314043, 0.4526965022, -0.2444575876, -0.4587258101, 0.0090792477, -0.535353303, 0.3448462486, -0.7347733378, 0.4198262691, 0.1308266371, -0.2262538821, 0.7743755579, -0.4114643633, 0.903704226, -0.1083501875, -0.2639960051, 0.2104205042, 0.1811830252, 0.7539942265, -0.1735235006, -0.1612926424, 0.2133260369, -0.3670627177, -0.3477235436, -0.7015387416, 1.0107613802, -0.7466510534, -0.4933457971, -0.4104444385, -0.5341857076, -0.4998168349, 0.1559562534, 0.3827894926, 0.5626464486, -0.0181579906, 0.5038820505, 0.4035831094, -0.3414863646, 0.833881557, 0.3222556412, -0.4629939795, -0.3857318461, 1.0778813362, 0.542042613, 0.3880176246, 0.5128884315, 0.5142550468, -0.4138328731, -0.3471770883, -0.0367176607, 0.3635155857, -0.4976865053, -0.1734962612, -0.5643978119, 0.0031111699, -0.211353749, -0.2106899321, -0.3458635807, -0.3076043129, -0.0391125232, -0.2486641258, 0.3390040398, 1.4702532291, -0.1865516603, 0.2811619043, -0.5100777149, -0.002599712, 0.6699815989, 0.253816843, 0.0509127639, -0.4719843864, -0.249199912, 0.0892531127, 0.0432229899, -0.6746947169, 0.7157978415, 0.2453081757, 0.211746186, 0.5080698133, -0.2046502531, 0.8075963259, -0.5396593213, 0.7283726335, -0.0216826741, -1.0062016249, 0.1594021171, -0.4690419436, -0.1592120379, 0.3119532168, 0.5788733959, -0.3085623085, -0.2003804892, -0.6833361387, -0.9256115556, 0.611566186, 0.0459055677, 0.3119397461, -0.0782309696, 0.2437504232, 0.0530161783, 0.3457315862, -1.0700355768, -0.1791151315, -0.1663139313, -0.0264625866, -0.6233322024, -0.4101938307, 0.0675263479, -0.0314683132, 0.492827028, -0.2595950961, 0.2384298891, 0.002938295, -0.0056836084, -0.0490521416, 0.0891510472, 0.8908666372, 0.6899593472, -0.2473310381, 0.1122327596, 0.2115992755, -0.2029442638, 0.0970950574, -0.0104255285, -0.1581755579, -0.0963875875, 0.686537981, 0.7388502955, 0.2337914854, -0.5048996806, 0.6143468618, -0.0894280374, -0.2767263651, -0.3739729226, -0.3354385495, 0.0976954475, 0.0539547689, 0.4374866188, 0.0149390269, -0.0121813975, -0.5938210487, 0.2916453779, 0.4449454248, -0.8388088346, -0.4108997881, 0.5546836257, -0.1243028119, -0.4054612219, 0.5261596441, 0.0344949029, -0.3655161858, 0.4290126562, 0.9807834625, 0.7463544607, -0.1280268282, 0.2030608207, 0.2191141397, 0.3054011762, -0.6360211968, 0.2021119595, 0.2662406862, -0.7356735468, -0.7857865095, -0.5871841908, -0.0551071241, 0.5772957802, -0.7983012795, 0.1726341546, -0.3044349551, -0.1302235126, -0.0655555576, -0.1303514987, -0.5121178627, 0.222561866, 0.2071669996, 0.8399285674, -1.0046540499, 0.9830662012, 0.5787951946, -0.2612550259, -0.809615016, 0.1934241951, -0.1029834077, -0.9204806685, 0.8749600053, 0.234029308, -0.085144043, 0.1470234692, -0.6234742999, -1.005834341, 0.7926546335, 0.5010347366, -0.6669583321, -0.1063963026, 0.0226503406, 0.7611348033, -0.2257244289, 0.1454835236, 0.2052588612, 0.4437112212, -0.0999453664, -0.7509540319, -0.1788272113, -0.0322210044, 0.0102263642, 0.258520782, -0.8178904057, 1.1784023046, -0.2611398101, 0.037956439, 0.2905426025, 0.5000785589, -0.0602393635, -0.0258711651, 0.4358697534, 0.5626080632, 0.7943288684, -0.2211095095, 1.4402492046, -0.2016007751, 0.3963435292, 0.9811173081, -0.2548681498, 1.0089646578, 0.5455931425, -0.2137190998, 0.4137769938, 0.5145019889, 0.1098701507, 0.5009289384, 0.4683815241, -0.1438413709, -0.4151595533, -0.0506631508, -0.2094634324, 0.47113958, 0.5331450701, -0.5013523102, -0.0976303816, 0.0007688104, 0.2324777693, 0.0709468424, -0.2308768332, 0.8044192195, 0.201762557, -0.6006174088, 0.3882081211, -0.2154591382, 0.6199831367, -0.7564867735, -0.1478673965, -0.1368539631, 0.4134855866, -0.0118480446, -0.5455086231, 0.1485438049, -0.1640367359, 0.0906642079, -0.4458340406, 0.5618399978, -0.4684434831, -0.8365005255, 0.5422216654, 0.7405475974, 0.176241532, 0.0585494488, -0.2692783773, -0.1624582708, 0.0845525637, -0.3254380226, 0.4659321308, 0.4044038951, -0.2205344886, 0.8322224617, 0.6293390989, 0.3380318284, -0.0033229277, 0.1251806617, 0.6871061921, -0.5924226046, -0.0923775584, -1.1986789703, 0.0870204568, 0.0417552516, -0.3009953201, 0.8822678328, 0.6263938546, 0.9338763952, -0.2018097192, 0.9047780037, 0.1223302707, 0.4226061702, -0.3100404143, 0.4789492786, -0.4770509005, 0.1497855932, -0.367667377, -0.9067369699, -0.4874711931, 0.9100897908, -0.4519187212, 0.1525700688, 0.6066182852, 0.6982387304, 0.2653180361, -0.1557830423, 0.7742313743, 0.4801184833, 0.369029969, 0.2970763743, 0.8352859616, -0.4043623209, 0.4269842207, -0.0430321805, -0.3287082016, -0.1309362501, -0.9641314745, -0.916628778, -0.6021841764, 0.0331627131, -0.5670439005, -0.057923954, 0.8291724324, 0.6855970025, -0.7911446095, -0.4342891574, -0.1849608719, -0.0399236381, -0.0498436093, -0.2005352974, 0.1652925462, -0.4381356239, -0.8322229981, 0.4689022005, 0.1162892357, 0.2904798985, -0.3856202066, 0.0765018538, -0.013340096, 0.2314445525, 0.7935557961, 0.1167033613, -0.6539278626, -0.3629499972, 0.0898324922, 0.0302866139, -0.1892337203, 1.0387958288, -0.9911746979, 0.3335541785, 0.59898597, 0.6489567161, 0.4833520353, 0.071892418, 0.8834613562, -0.6820338964, 0.1197186261, 0.1060055196, 0.5533371568, 0.3730483353, -0.019335743, 0.6252088547, 0.1725427955, -0.4953253567, -0.8224490881, 0.2087860405, -0.5685015917, -0.1634437144, 1.3883374929, -0.2448802143, 0.0369407944, -0.1084450632, 0.0044603096, 0.0666239187, -0.3173778057, 0.866361022, 0.8971623182, -0.073827453, 0.0883384943, -0.6926742792, 0.7802442312, 0.2827252448, -0.6034092903, 0.2792870998, 0.2801508904, 0.0707340986, 0.2815732956, 0.3817727566, -0.0558528081, -0.3549954295, 0.0116310827, -0.2266192138, 0.0653245598, -0.2619562745, -0.5082461238, 0.1385308504, 0.229747206, 0.1305568069 ]
http://arxiv.org/abs/2404.08705v1
http://arxiv.org/pdf/2404.08705v1
Introducing L2M3, A Multilingual Medical Large Language Model to Advance Health Equity in Low-Resource Regions
2024-04-11T07:39:22
2024-04-11T07:39:22
Agasthya Gangavarapu
cs.CL
cs.CL, cs.AI, cs.LG
Addressing the imminent shortfall of 10 million health workers by 2030, predominantly in Low- and Middle-Income Countries (LMICs), this paper introduces an innovative approach that harnesses the power of Large Language Models (LLMs) integrated with machine translation models. This solution is engineered to meet the unique needs of Community Health Workers (CHWs), overcoming language barriers, cultural sensitivities, and the limited availability of medical dialog datasets. I have crafted a model that not only boasts superior translation capabilities but also undergoes rigorous fine-tuning on open-source datasets to ensure medical accuracy and is equipped with comprehensive safety features to counteract the risks of misinformation. Featuring a modular design, this approach is specifically structured for swift adaptation across various linguistic and cultural contexts, utilizing open-source components to significantly reduce healthcare operational costs. This strategic innovation markedly improves the accessibility and quality of healthcare services by providing CHWs with contextually appropriate medical knowledge and diagnostic tools. This paper highlights the transformative impact of this context-aware LLM, underscoring its crucial role in addressing the global healthcare workforce deficit and propelling forward healthcare outcomes in LMICs.
[ 0.2667208612, -0.2367055714, 0.7491154671, 0.0227149427, -0.1817388237, 0.0528713986, -0.1195324808, -0.7314323187, 0.0225086622, 0.7095416188, -0.38109833, -0.2395614982, -0.8305737972, 0.1147600785, 0.0485066175, 0.7377951741, -0.156855762, 0.2772355974, 0.1224365532, -0.3065682352, -0.2563471794, -0.2629123032, -0.4038725197, -0.5425195694, 0.7309954762, 0.8103790283, 0.9864991903, 0.893996954, 0.3779432774, 0.1243031323, -0.05140616, 0.2469871193, -0.6210600138, -0.293378979, -0.0512329377, -0.6570622325, -0.5884152055, -0.2624425292, 0.4243994355, 0.8309779763, -0.1704038531, 0.1202035993, 0.2960572541, 0.7447265983, -0.357018888, 0.1288001239, -0.6412751675, 0.1433410645, -0.2436858565, 0.0944325104, -0.0212272573, -0.0657189637, -0.1234564707, -0.2832722664, -0.2618514895, -0.1267320663, 0.3879805207, 0.3505706787, -0.6647685766, -0.1726755351, -0.4781897962, 0.8260836005, -0.8593505025, 0.3062574267, 0.4124063849, 0.3580778539, -0.3222446144, -0.8814503551, -0.3690636456, 0.4898536503, -0.1371771544, 0.2414296716, -0.1127549112, -0.0555554368, -0.2343564928, 0.185882777, -0.4494391978, 0.5533412695, -0.6727807522, 0.0452651829, 0.2962086201, 0.3211859167, 0.2956635654, -0.345654577, -0.3155718148, 0.4624246657, -0.9538736343, -0.0531781651, -0.1972213835, 0.5144370198, -0.6162917018, 0.4868420064, -0.1790588796, 0.3348453045, -0.4807533324, -0.7731215954, 0.3311328888, -0.2205281705, -0.2655228376, -0.0739939287, 0.5847420692, 0.3836360574, -0.2445793599, 0.0251011793, -0.0858807266, -0.3960589767, -0.0682955757, -0.843547523, 0.058874432, 0.4128772914, -0.8037996888, -0.1961368471, -0.3881955743, -0.650288403, -0.8146209121, -0.2360138148, -0.0369861014, -0.0247096289, -0.2803839743, 0.3383232653, 0.4366143942, -0.1146862805, 0.3201642931, -0.7640528679, 0.0319395252, 0.8432471752, 1.0903021097, -0.0424702987, 0.0042042062, -0.296245575, 0.3316087723, -0.2623288333, 0.2503362596, -0.1836223006, -0.4174675941, 0.2126943767, 0.3365777731, 0.1384133101, -0.6984578967, 0.3282173574, -0.2324512303, -0.0104939835, -0.1772987992, 0.1048214063, -0.0550086834, 0.2369609922, -0.6316268444, 0.8539908528, 0.3942677379, -0.6192318797, 0.0603550225, -0.7068375945, -0.4819916785, 0.3197828233, -0.260323137, -0.4713808894, 0.2042738795, 0.1640217006, 0.4074999988, -0.7335953712, 0.3649051785, -0.2952432334, -0.231232971, 0.0526115857, -0.3301386237, 0.9011240602, 0.2798044682, -0.210895732, 0.1754864156, -0.2823711336, -0.1270214766, 0.2139898986, -0.4217301905, -0.2100102305, 0.2325210571, 0.1732433736, 0.4670500159, 0.3078198433, -0.1361621916, -0.0762913451, -0.6029679179, 0.7791051865, 0.3750098944, -0.047579594, 0.301320821, -0.3387739658, 0.4768132567, 0.1081301719, 0.5811573267, -0.0647850931, -0.5905587673, -0.3630775511, -0.4553994536, -0.1002074182, 0.7552578449, -0.9050987363, 0.216509074, -0.2817125022, -0.4378784001, -0.9346514344, 0.3540864587, 0.0397485569, 0.7744784355, 0.3983030617, 0.0928543881, -0.4261081815, -1.1017295122, -0.0786372572, -0.1880544871, -0.0902689248, 0.2135577053, 0.4377968907, -0.6730954051, 0.5747184753, -0.3326797187, -0.3295696676, -0.6348046064, -0.3262168467, 0.44613114, 0.488509506, 0.2751025558, -0.8660626411, -0.2817542851, 0.2742819786, -0.8189842105, -0.0776067674, 0.2340977192, -0.2524133325, -0.0044342093, 0.3352136016, -0.0732031092, 0.1112296134, 0.9506517053, 0.0037065984, 0.1037097275, -0.1967439801, -0.1537428647, -1.4354326725, 0.2135128826, -0.1199067533, -0.2383606583, -0.729844451, 0.1094871312, 0.2324160188, -0.428517133, -0.6876772046, 0.7646952271, -0.3886217475, 0.1709746569, -0.4235099852, -0.052558668, -0.0898381695, -0.033196032, 0.0083052572, 0.531339705, 0.2009074837, -0.1873859465, 0.0754234716, 0.0894083977, -0.4804245532, 0.5235697031, -0.560851872, -0.0144752562, -0.0253874883, 0.4201708436, -0.3176512718, -0.4357990921, 0.1764363199, -0.1300058216, -0.1247837543, -0.1366040856, -0.7947596312, -0.6729979515, 0.0451860987, 0.5057166219, 0.620488286, -0.3343128562, 0.1979689896, 0.706692636, -0.4897810817, -0.5323724151, -1.0859372616, 0.2119144946, -0.2515617311, -0.6726694703, 0.0584948733, 0.1542106271, -0.3178789914, -0.2778201401, -0.0097006876, -0.2333420366, 0.5251735449, 0.0410637073, 0.3722198904, -0.2249859869, 0.1474626958, 0.0806719661, -0.2539829612, -0.086555928, -0.5170598626, 0.2683260143, -0.00767165, -0.3554819822, -0.2916624248, 0.6689353585, 0.7169108391, -0.1696460992, 0.8085075617, 0.6647330523, -0.9387804866, 0.3216720819, -0.4467348754, -0.0372872427, -0.4294100106, 0.850602746, 0.1118913069, -1.2362283468, 0.3748690188, -0.2879070342, 0.0658764765, 0.1999563277, 0.8088015318, -0.0284174625, 0.7832401395, 0.7777594924, -0.1056006476, 0.0066180616, 0.0687701404, 0.4386588335, -0.8151425719, -0.4509296417, -0.4200121462, -0.2013830841, -0.7120449543, -1.0100473166, 1.1576142311, 0.2327192277, -0.1878522038, -0.0690905079, -0.20502159, 0.1923477352, 0.2957486808, 0.3873048425, 0.3328881264, -0.3510522842, 0.0595610291, -0.237091586, -0.8366892934, -0.6024473906, 0.7286099792, 0.7784592509, 0.4928207099, 0.4074449539, 0.5473337173, 0.28187114, 0.6349822879, -0.7733284831, -0.0087297894, -0.2737913728, -0.5589795709, -0.2478066832, -0.2576295137, -0.8107428551, 0.3519071937, -0.3362535238, -0.5865740776, 0.100247331, 0.0613535233, -0.4951936603, 0.443484813, -0.3277261257, 0.7645303011, -0.4540133178, -0.5233896971, -0.2654292881, -0.7238286734, 0.488386333, -0.4595298767, 1.0785614252, -0.5370886326, -0.3195022047, 0.4052515626, -0.6002507806, 1.0298117399, -0.2154355198, -0.3436797559, 0.1610726416, -0.1211690009, 0.4642541111, 0.1419742256, -0.3234241307, 0.3057355583, -0.2537039518, -0.7986275554, 0.030940501, 0.6371260881, -0.7511876225, -0.5025109053, 0.0130224386, -0.6388404965, -0.3945070207, 0.4181804657, -0.1404394507, 0.2296755016, -0.1430476159, 0.0818745717, 0.4151328206, -0.6429033875, 0.280962497, 0.5963426232, -0.0262858719, -0.4858108461, 0.4695366621, 0.0456402898, 0.4083454311, 0.1927133948, 0.2567958236, -0.0497676283, -0.4257307649, -0.4690203965, 0.3320592344, -0.7690398097, -0.5238683224, -0.6353747845, -0.0646362454, -0.3985524774, -0.5572645068, -0.2636882365, 0.0356927067, -0.2139165252, -0.1200597063, 0.1020249128, 0.9643954039, -0.3643046916, 0.4042311907, -0.8279169202, 0.2560525239, 0.1168644875, 0.297676295, 0.0365965962, -0.4112547636, -0.8110429049, -0.0302686282, -0.0856593177, -0.9450694323, 0.6217960119, -0.4025118649, 0.293750912, 0.297570914, -0.0766906366, 0.5610234141, -0.8281849623, 0.7732887268, 0.7008183002, -0.7890479565, 0.4237780869, -0.5692027211, 0.5407782197, 0.5151993632, 0.1721113324, -0.8616175652, -0.1763636768, -0.0720696375, -1.2240425348, 0.4649936259, -0.2128148228, 0.0278319158, -0.2180193067, 0.0057525923, 0.2442739457, -0.0283751246, -0.8900557756, 0.0809508413, 0.0219484512, -0.4452055693, 0.102059342, -0.3451703191, -0.4302215278, -0.0278168898, 0.5305023789, -0.4544928074, 0.0511818938, 0.20024544, -0.0754284188, -0.2705314159, 0.6097128987, 0.6180102229, 0.568705678, 0.0446721055, 0.2032826394, 0.4127755165, -0.2521188557, 0.206473276, -0.0189490952, 0.0886034891, -0.1406616867, 0.4900249243, 0.6323537827, 0.4133128226, -0.6366969943, 0.5058506131, 0.3304799199, 0.0635212064, -0.1914340109, -0.2742742598, 0.6213385463, 0.3894507587, 0.5459409356, -0.0617956668, 0.0718264729, -0.5123789907, -0.0457658134, -0.001163984, -0.5747981668, -0.1045487896, 0.7716950178, 0.5314948559, -0.1409292519, 0.302685529, 0.2193309069, -0.2715797424, 0.576053679, 0.598615706, 0.4276258349, -0.2455737889, -0.077398859, 0.3266366124, 0.6523393393, -0.4990074337, 0.2846123278, 0.590111196, -0.4472368956, -0.5434491634, -0.3062362969, -0.3265393972, 0.2011233121, -0.7471365929, 0.3252387047, -0.137792021, 0.0010275836, -0.4502836168, -0.2799618542, -0.9106177092, 0.1616840363, 0.4197262228, 0.8752959967, -0.8865976334, 1.0175683498, 0.3849770725, -0.1088642627, -0.4992802143, 0.1864477396, 0.3401810825, -1.3438078165, 0.3187275529, 0.2719346285, -0.0067102723, -0.2457229048, -0.33415097, -0.8372941613, 1.409740448, 0.465175122, -0.8405751586, -0.0640257448, 0.3972587883, 0.3414719999, -0.5195131898, 0.0732307434, 0.4968600571, 0.5547679067, -0.4026800096, -1.3146013021, 0.1707265377, 0.0428235754, 0.1632617265, -0.1282876879, -0.8211312294, 0.6930093169, -0.5777053237, -0.1034188196, 0.1487650126, 0.5813546181, 0.2945477068, 0.2119523883, 0.2798525691, 0.1620356888, 0.9037321806, -0.0682829469, 1.2146151066, -0.4577231109, 0.1786953658, 0.9622471929, -0.5851265192, 0.7840789557, 0.385573864, -0.214293018, 0.2921427488, 0.4888705313, 0.4545464218, 0.5098429918, 0.3785062432, -0.526370883, -0.0843856409, -0.5643962026, -0.3576423824, 0.4218939841, 0.547759831, -0.505848527, -0.0156278666, 0.1322511733, 0.5574956536, 0.2837023139, -0.6597307324, 0.6260178089, 0.4188614786, -0.3370642066, 0.4459018409, 0.3280812204, 0.6515398622, -0.4470750988, 0.022617083, -0.2731728852, 0.1581412703, -0.3609844744, -0.6080100536, 0.409873873, -0.0418266766, -0.4171801209, -0.3472472727, 0.4977487326, -0.5753645897, -0.693957448, 0.6644374132, 0.8651054502, -0.0140742566, 0.3520014584, -0.7026939988, 0.2857783437, -0.0346590914, 0.4531867802, 0.3578291535, 0.6108057499, -0.0428041704, 0.3916750848, 0.3824271858, 0.3121656477, -0.4029574394, 0.0817817971, 0.5933368206, -0.4996757805, -0.5537782907, -0.8489438891, 0.7245372534, 0.0317820348, -0.0083663175, 0.1595055163, 0.5475509167, 0.4038417339, 0.0012799957, 1.2403948307, 0.1321322173, 0.7291332483, -0.3265807927, 0.8252661228, -0.7949828506, 0.0545647033, 0.0369506516, -0.1344187111, -0.4084119797, 0.1756861508, -0.207491979, -0.2968977392, 0.5303212404, 0.6728079319, 0.0213716943, -0.4638917148, 0.5898905396, 0.370906949, 0.3029440045, 0.6596658826, 0.3638392091, -0.2998171747, 0.3300321996, 0.2111445367, -0.2504511476, -0.2979179919, -0.7782090902, -0.4685279727, -0.0967748538, -0.0573875085, -0.5614401102, 0.156707108, 1.0353919268, 0.6864875555, -0.6801199913, -0.3340344429, 0.4806458652, 0.1156023219, -0.0196177885, -0.1699116081, 0.1641094834, 0.2229900807, -0.4926066101, 0.6339508295, 0.7009906173, 0.0215758849, -0.4400862753, -0.2229770124, 0.0425827168, 0.0330603272, 0.6377879381, 0.2436899394, -0.9333596826, -0.0046210052, -0.1895508319, -0.4689172804, 0.1840472519, 0.5910267234, -0.3882902265, 0.2599374652, -0.0170091987, 0.5802372694, 0.0831044987, -0.4185728431, 0.579323411, -0.32595855, 0.4624859989, 0.3375317156, 0.6694294214, 0.7371003032, -0.3555253148, 0.6969820261, 0.2799189389, -0.3340686858, -0.8094957471, 0.3992305994, -0.5104343295, -0.3477598727, 1.2606178522, -0.1819092482, 0.0355676338, -0.2884857357, 0.0351371244, 0.4240225554, -0.1308448762, 0.7658610344, 0.2993485034, -0.0000268652, -0.0213278104, -1.0304636955, 0.1741242856, 0.337982893, -1.1255098581, 0.0643131807, 0.3157333434, 0.3122966588, -0.2492498308, 1.1219992638, -0.4477317929, 0.1511818022, -0.4343882203, 0.382768631, 0.3579924703, -0.0815498009, -0.3361083269, 0.0553358719, 0.2296778262, 0.2862379253 ]