id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2407.03321v1
http://arxiv.org/pdf/2407.03321v1
Planetarium: A Rigorous Benchmark for Translating Text to Structured Planning Languages
2024-07-03T17:59:53
2024-07-03T17:59:53
Max Zuo, Francisco Piedrahita Velez, Xiaochen Li, Michael L. Littman, Stephen H. Bach
cs.CL
cs.CL, cs.AI, cs.LG
Many recent works have explored using language models for planning problems. One line of research focuses on translating natural language descriptions of planning tasks into structured planning languages, such as the planning domain definition language (PDDL). While this approach is promising, accurately measuring the quality of generated PDDL code continues to pose significant challenges. First, generated PDDL code is typically evaluated using planning validators that check whether the problem can be solved with a planner. This method is insufficient because a language model might generate valid PDDL code that does not align with the natural language description of the task. Second, existing evaluation sets often have natural language descriptions of the planning task that closely resemble the ground truth PDDL, reducing the challenge of the task. To bridge this gap, we introduce \benchmarkName, a benchmark designed to evaluate language models' ability to generate PDDL code from natural language descriptions of planning tasks. We begin by creating a PDDL equivalence algorithm that rigorously evaluates the correctness of PDDL code generated by language models by flexibly comparing it against a ground truth PDDL. Then, we present a dataset of $132,037$ text-to-PDDL pairs across 13 different tasks, with varying levels of difficulty. Finally, we evaluate several API-access and open-weight language models that reveal this task's complexity. For example, $87.6\%$ of the PDDL problem descriptions generated by GPT-4o are syntactically parseable, $82.2\%$ are valid, solve-able problems, but only $35.1\%$ are semantically correct, highlighting the need for a more rigorous benchmark for this problem.
[ -0.1374062002, -0.4880059958, 0.7610638738, 0.579472661, -0.1027806774, -0.1581508964, -0.2889823318, -0.1674367189, -0.4048946202, 0.6825239062, -0.5390270352, -0.579167366, -0.4275631607, 0.2447920293, -0.4655014873, 0.996126771, -0.6269275546, -0.0322759449, -0.3194834888, -0.0918887332, -0.1581470221, -0.2656856179, -0.0289979093, -0.3797526956, 0.0252848826, 0.0395554565, 0.7198724151, 0.6317831278, 0.8235626221, 0.2432964593, -0.0212208796, 0.3407067955, -0.43779549, -0.3166810274, -0.2675293088, 0.0327813514, -0.4636404216, 0.0962187648, 0.7572167516, 1.2692831755, -0.3547745049, 0.3127967715, 0.0091512399, 0.7475038767, -0.464908421, 0.4158693254, -0.3525331318, 0.0806793869, -0.0952516869, -0.2832230926, -0.3696952164, -0.5292488337, 0.2343942225, -0.7183585167, 0.1834739596, -0.018763274, 1.0079940557, 0.4785479903, -0.2501850724, -0.5321332216, -0.9755353332, 0.6925345659, -0.5864483118, 0.352707535, 0.4522074163, 0.3506960869, -0.3572288156, -0.7399354577, -0.8210494518, -0.3947596252, 0.080632247, 0.0224288553, -0.0600082688, 0.0570686832, 0.4534374177, 0.2566137612, -0.9221386909, -0.2878853679, -0.3965334892, -0.051783625, 0.4830156267, 0.1604950577, 0.2058357894, -0.545630753, -0.4116447866, -0.1545077413, -0.6678007245, -0.0029976866, 0.5567693114, 0.097605437, -0.0853472203, 0.6549462676, -0.3702900112, 0.7190887332, -0.0914521813, -0.3029653728, 0.1239519566, -0.7627450228, -0.4172486365, -0.3062084615, 0.4491960704, 0.6541019678, 0.2453475446, -0.4887896776, -0.323864013, 0.3524515033, 0.4650287032, -0.8687182665, -0.6436992288, 0.1616337597, -0.221325621, -0.0530209057, -0.1977778971, -0.4718469381, -0.1196558923, -0.2263743132, 0.1350390762, -0.5048789978, -0.1471091658, 0.2009842992, 0.1196405739, 0.2159395963, 0.3337144256, -0.6589619517, 0.5697006583, 0.7924996614, 0.6490930319, -0.0843154341, -0.3571219146, -0.367874831, 0.068546623, -0.707498014, 0.9710943103, -0.1451479644, -0.5752159357, -0.1432429403, -0.0701243877, 0.0032446529, -0.6000014544, 1.0167950392, -0.1849008203, 0.3682891726, -0.4091025889, -0.5504646897, 0.0559062213, 0.4829944074, -0.4003861547, 1.0018786192, 0.4372925162, -0.4237089157, 0.8303489089, -0.4041738808, -0.1631043404, 0.3260867596, -0.3376001716, -0.261204958, -0.2098170966, 0.0535589457, 0.1681939662, -0.3457900286, 0.7828829288, 0.1014886424, -0.0921519548, 0.072447449, -0.1919073015, 0.4701577425, 0.2225362659, -0.290641427, 0.2526422441, -0.8310627937, 0.2109148204, -0.0857414305, -0.5715315938, 0.0378280729, 0.4523899555, 0.321606636, 0.0878181756, 0.3993313611, -0.5151101351, 0.1589241028, -0.5767390728, 0.1361391842, 0.7376351357, -0.2870571315, 0.5318447351, -0.3377128243, 0.4383893013, -0.3805365264, -0.0495021865, 0.1099885777, -0.3460890651, -0.3922911286, 0.0760225505, 0.1403089315, 0.3826149702, -0.9814979434, 0.4690220356, -0.5167856216, -0.7455452085, -0.1423559934, 0.11235293, 0.6208620667, 0.6264540553, 0.2465681881, -0.4206031263, -0.3822262287, -0.6898712516, -0.1695457548, -0.3685879707, -0.0447713174, 0.6248187423, 0.5184197426, -0.121157892, 0.9069135189, -0.412702024, -0.1898867786, -0.1726180166, 0.2227248698, 0.5683626533, 0.4700030684, 0.5613375306, -0.8068036437, -0.5775136948, 0.1041486561, -0.6741061807, -0.3595331013, -0.2867834568, -0.0063578859, 0.1000169367, -0.1134923026, -0.6380380988, 0.3730641901, 0.6251761913, -0.5220834017, 0.9546299577, -0.5602278709, 0.1965819746, -0.9021998644, 0.5917675495, -0.0053674122, -0.1431993842, -0.6275703311, 0.3705955148, 0.2886691391, -0.2655777931, -0.2530709803, 0.4199329913, -0.4123219848, -0.4116286933, -0.256855756, 0.254874438, -0.0667960942, 0.3300059438, 0.138996318, 0.9032887816, 0.5026343465, -0.58514148, 0.5603428483, 0.3964845538, -0.7004133463, 0.6977302432, -0.5303241611, -0.016927911, -0.0101246526, 0.4016337097, -0.8679300547, -0.2383738607, 0.0796031952, -0.1269239485, -0.1458923519, -0.1568047255, -0.6641657948, -0.555670023, 0.0160902515, 0.2842199504, 0.3775100708, -0.5015805364, 0.3279842138, 0.1877062917, -0.2086101621, -0.4816752076, -0.3638553619, 0.2847100496, 0.162864849, -0.6148804426, 0.8025225997, -0.1889348775, -0.2048782855, 0.1077098101, -0.4396642148, -0.221089974, -0.0538680479, 0.1928000301, 0.3026907444, -0.0793610811, -0.1847745627, -0.2364251614, -0.2794688046, 0.2961634696, -0.313241452, 0.7397802472, 0.1056675985, -0.1935232431, -0.2811191082, 0.0486096293, 0.4773414433, -0.1587960273, 0.4702157378, 0.2766058445, -0.5318655968, -0.3218166828, -0.2664726675, 0.3364574909, -0.4278589785, 0.3383285105, -0.6986964345, -0.0787501484, 0.2910030186, -0.2436002493, 0.2200821042, 0.1233703345, 0.4517564178, 0.2998248637, 0.8147684336, 0.7628892064, 0.2943537235, -0.0381481722, -0.2251350433, 0.2240861356, -0.7357165813, -0.1932990551, -0.6187517643, -0.0498686209, -0.4260559082, -0.7560011148, 0.1595133543, 0.04345854, 0.146140039, 0.9153200984, -0.6491554976, 0.4939772189, 0.1002349555, -0.3121517599, 0.2659780681, -0.3592207134, -0.2047348619, -0.2312370241, -0.1969173849, -1.042743206, 1.1509462595, 0.0718401968, 0.6243861318, 0.2169478983, 0.5529539585, 0.1133987233, 0.2510144711, -0.2548660338, 0.6887414455, -0.2103060931, -0.4869301319, -0.1603084654, -0.692330718, -0.6491850615, 0.1054189503, -0.0331025608, -0.6783341765, 0.1729827374, -0.0470966846, -0.1759334207, 0.1399337649, -0.5552793145, 1.0918675661, -0.3652055562, -0.3244591057, -0.3212720752, -0.2261315882, 0.0951414779, -0.2632499337, 0.1653692275, -0.5047804713, 0.0457630791, 0.6893421412, -0.2912812233, 0.2184143662, -0.2139657438, -0.1870511025, -0.1971284896, 0.2685938179, 0.4415226281, 0.0145836482, -0.2955271304, -0.2132113278, 0.3260139823, -0.5727470517, -0.2514454424, 0.784309864, -0.8741769791, -0.1742527485, -0.2773711979, -0.7632411122, -0.1100400835, 0.2725728452, 0.0720463246, 0.6131294966, -0.6243091226, -0.2610637248, 0.2066533267, -0.420332104, 0.2731875479, 0.5706116557, -0.325208813, -0.1251121461, 0.8550838232, 0.1111136377, 0.3555901349, 0.3364749253, -0.1552597284, -0.4008393586, -0.8369309306, -0.648094058, 0.0421901867, -0.7400537729, 0.0407585949, -0.5152285695, -0.1023450717, -0.4472149611, -0.3247557878, -0.3714851141, -0.3104845881, 0.0286203455, 0.031230785, -0.3078311086, 0.7948557138, 0.1413196176, -0.0386154167, -0.3051191866, 0.4803245068, -0.0161819719, 0.4590815008, -0.5730829239, -0.1140832305, 0.0326038636, -0.0793408677, -0.4559078813, -0.7430423498, 0.7737845778, 0.1183505952, 0.568529129, 0.2810436189, 0.2377603203, 0.8650376201, -0.7782226205, 0.7195058465, 0.0399017744, -0.9703261256, 0.634196341, -0.2479483932, 0.1635177881, 0.5947384238, 0.3418544829, -0.4441089034, -0.246693328, -0.7180895805, -0.6819290519, 0.6480670571, 0.4496495724, -0.0436661504, 0.0102586802, 0.2861563861, 0.1577693373, 0.3815278113, -0.8565866947, -0.0403738692, -0.1574333906, -0.0389569253, -0.3354627788, -0.0257410612, -0.1939006448, 0.0429062806, 0.3336387873, -0.1803004593, 0.2527003884, 0.1928737015, -0.154124409, -0.4463894665, 0.3397488892, 0.6126437783, 1.2928718328, -0.5139180422, 0.2236853689, 0.0391175039, -0.3388869464, -0.0789852515, 0.6182696819, -0.1230756938, 0.0055356775, 0.2291339487, 0.438241899, 0.2016249597, -1.0347985029, 0.5311392546, 0.0342390984, -0.3245352507, -0.3369782567, -0.1173637211, -0.0974585712, -0.0574641787, 0.3906679153, 0.2967810333, 0.1355834454, -0.552328527, 0.2263598293, 0.366959244, -0.3081456423, -0.4813592732, 0.7133068442, 0.4247137308, -0.5040127039, 0.3985363543, -0.504137218, -0.5484246016, 0.6305356622, 0.5906284451, 0.5421167016, 0.1773964614, 0.4631055892, 0.4731556177, 0.3782324195, 0.1056810021, 0.3915156722, -0.3439899385, -0.6762056947, -0.5912745595, -0.857116878, -0.7335945368, -0.4071440399, -0.4627927542, -0.0239989161, -0.6201292276, 0.0504994802, -0.0443543643, 0.4373735785, -0.6226233244, 0.0078235874, 0.1450734437, 0.971372664, -0.7328998446, 0.907969296, 0.8131223321, -0.2408060282, -0.8570216298, 0.013592409, -0.1441965401, -0.5855512023, 0.7659829259, 0.2657074928, 0.0522422493, -0.063452132, -0.2528044879, -0.6975525022, 1.1794860363, 0.1052709371, -0.4095878005, -0.2030889541, 0.3256496191, 0.6258280277, -0.2565781772, 0.0315336697, 0.551592648, 0.5635435581, 0.0153772952, -1.494545579, 0.1273332387, -0.255217284, -0.0564383827, 0.4334287643, 0.0074856062, 0.9313165545, -0.1585574746, -0.6659067869, 0.5723177791, 0.4269502759, 0.3183865845, 0.3450608253, 0.4534553885, 0.6018713713, 0.838531971, -0.4381927848, 1.1386461258, -0.485847801, 0.4946135283, 0.6748452187, -0.8390488625, 0.9137739539, 0.4408188164, -0.5405166149, 0.4650815725, 0.3196531832, -0.0417335518, 0.74046278, 0.2093032151, -0.1771703511, -0.0339888483, -0.1666960269, -0.2374513745, 0.1600569487, 0.2790790796, -0.0269213729, -0.5450983047, -0.1364455223, -0.2322966158, 0.545701921, 0.0720308274, 0.5634248257, -0.2245112956, -0.9980309606, 0.4577567875, 0.1941315085, 0.4043634832, -0.4448806643, 0.0265139956, 0.0191043615, 0.4258632362, -0.1285500824, -0.9649931192, 0.4951167107, 0.2116065323, 0.0214638542, -0.6564888358, 0.2936687469, -0.366705209, -0.4378609359, 0.112272948, 0.4489729106, 0.2273503095, 0.1107956469, -0.6871154308, -0.0293159336, 0.0493435413, 0.1817050725, 0.0865580738, 0.361733824, 0.2234731168, 0.7624228597, 0.8056685925, 0.4306825995, -0.0502588376, -0.0751340911, 0.9186760783, -0.5728848577, -0.6946285367, -0.4049599171, 0.2587836683, -0.1345347464, -0.5905306339, 0.6610800624, 0.6266598105, 0.8457688689, -0.0290581882, 0.2318401188, -0.3976481259, 0.4822927117, -0.494877249, 0.5063673258, -0.1751881689, 0.4324560761, -0.4481827617, -1.0989941359, -0.129634589, 0.7943672538, -0.7142273188, -0.2552621663, 0.7862161994, 0.7927704453, 0.0373163186, -0.2497025728, 0.3530655205, -0.057856787, 0.6349723339, 0.7742714882, 0.8419440389, -0.3452380896, 0.7922320366, -0.5379626155, -0.3448704779, -0.0021513456, -0.9224809408, -0.6661065817, -0.6170862317, -0.3937939107, -0.3184168339, 0.1770900637, 0.7362262607, 0.8294574618, -0.5674876571, -0.4621977508, -0.3968929052, -0.0396916643, -0.3319680989, -0.2443616688, 0.4451303184, -0.222653091, -0.708573997, 0.4167811275, 0.3704238832, -0.2557979226, -0.3663256764, -0.4057957232, 0.0511422344, -0.1225729659, 0.2694348395, 0.21244964, -0.8960314393, -0.3135430217, -0.0086507592, -0.3929925859, -0.1637706161, 0.6020640731, -0.8871313334, 0.5157272816, 0.3332835734, 0.3732297719, 0.4908517301, 0.1073704064, 0.7112851739, -0.8650183082, 0.0545651615, 0.3432597816, 0.4329487979, 0.4222045541, -0.0188808739, 0.6961708069, 0.1223831177, -0.8550893664, -0.9678491354, 0.3180086613, -1.2496333122, -0.1379670352, 0.8746216297, -0.2076934874, -0.1361434907, -0.077501677, -0.2466598004, -0.0887309983, 0.0216384642, 0.7933037877, 0.5569743514, -0.0448608622, -0.0139157986, -0.6080878973, 0.6678193808, 0.2442957461, -0.8715844154, 0.2604995668, 0.6031805873, 0.168799296, 0.5572533607, 0.7998042107, -0.0439048484, 0.5578680634, 0.05829693, 0.1307851672, 0.22034356, -0.192125842, 0.2182053626, 0.2343194634, 0.283644557, 0.1146337464 ]
http://arxiv.org/abs/2407.03320v1
http://arxiv.org/pdf/2407.03320v1
InternLM-XComposer-2.5: A Versatile Large Vision Language Model Supporting Long-Contextual Input and Output
2024-07-03T17:59:21
2024-07-03T17:59:21
Pan Zhang, Xiaoyi Dong, Yuhang Zang, Yuhang Cao, Rui Qian, Lin Chen, Qipeng Guo, Haodong Duan, Bin Wang, Linke Ouyang, Songyang Zhang, Wenwei Zhang, Yining Li, Yang Gao, Peng Sun, Xinyue Zhang, Wei Li, Jingwen Li, Wenhai Wang, Hang Yan, Conghui He, Xingcheng Zhang, Kai Chen, Jifeng Dai, Yu Qiao, Dahua Lin, Jiaqi Wang
cs.CV
cs.CV, cs.CL
We present InternLM-XComposer-2.5 (IXC-2.5), a versatile large-vision language model that supports long-contextual input and output. IXC-2.5 excels in various text-image comprehension and composition applications, achieving GPT-4V level capabilities with merely 7B LLM backend. Trained with 24K interleaved image-text contexts, it can seamlessly extend to 96K long contexts via RoPE extrapolation. This long-context capability allows IXC-2.5 to excel in tasks requiring extensive input and output contexts. Compared to its previous 2.0 version, InternLM-XComposer-2.5 features three major upgrades in vision-language comprehension: (1) Ultra-High Resolution Understanding, (2) Fine-Grained Video Understanding, and (3) Multi-Turn Multi-Image Dialogue. In addition to comprehension, IXC-2.5 extends to two compelling applications using extra LoRA parameters for text-image composition: (1) Crafting Webpages and (2) Composing High-Quality Text-Image Articles. IXC-2.5 has been evaluated on 28 benchmarks, outperforming existing open-source state-of-the-art models on 16 benchmarks. It also surpasses or competes closely with GPT-4V and Gemini Pro on 16 key tasks. The InternLM-XComposer-2.5 is publicly available at https://github.com/InternLM/InternLM-XComposer.
[ -0.4668864906, -0.3163359165, 0.5753115416, 0.415705502, -0.4497039914, 0.0997665152, -0.2562676966, -0.8836399913, -0.2879029512, 0.5051370263, -0.2309232652, -0.4949454367, -0.5116050839, -0.0933528841, -0.7582387924, 0.8420797586, -0.1784165949, -0.0343088843, -0.5035299659, -0.3674701154, -0.6324746013, -0.4150693119, -0.8506236076, -0.1398094296, 0.8153602481, 0.6346225142, 0.4708096683, 0.4953856766, 0.7452837229, 0.2746771872, -0.0449535996, 0.0739577487, -0.4936390221, 0.052142594, -0.3061444759, -0.3589322865, -0.5203057528, -0.2188358307, 0.8828015327, 0.3050705492, 0.1174200997, 0.0871967822, 0.1679632515, 0.7769604325, -0.6063861847, 0.4471461177, -0.7512278557, -0.1801071763, -0.0237916745, 0.0430452079, -0.4291644692, 0.3068993092, 0.2376987189, -0.562790513, -0.2964710593, 0.2256680429, 0.6843274236, 0.4106692672, -0.4701890349, -0.110727571, -0.5605096817, 0.6132207513, -0.386454016, 0.3355464637, 0.2370937169, 0.5706298351, 0.4355058968, -1.337968111, -0.7940504551, -0.3453804553, -0.0352616832, 0.3507239223, -0.1887802482, 0.0520174466, 0.2439947426, 0.3862400353, -0.5561226606, 0.1653862894, -0.4958987236, 0.3302116394, 0.3655519783, 0.3267082274, 0.307844907, 0.096960105, -0.4278143048, -0.1736421883, -0.8306452036, 0.1934384853, -0.0006595165, -0.3012202084, -0.3030925691, 0.5492070913, -0.1505332887, 0.7559818029, -0.2745412588, 0.131717056, 0.0774857998, -0.4414300025, -0.0822391063, -0.1083256826, 0.510630548, 0.6156231165, -0.0832856968, 0.2731659114, -0.3804774284, 0.0999772102, 0.2867617905, -0.7628023624, -0.1539867818, 0.0224557221, -0.4085813761, -0.3062716722, -0.0390396453, -0.4653999507, -0.0640832186, -0.5063061714, 0.4310925901, -0.3781657219, 0.1227371991, -0.0437525101, -0.1256314516, 0.4921295345, 0.4899846315, -0.7436841726, 0.4737938941, 0.6907545924, 1.0288164616, -0.7254749537, -0.2892043889, -0.6186911464, 0.1944112033, -0.349732697, 0.7240933776, -0.4562214315, -0.230624795, 0.0514760502, -0.0208045971, 0.2139962465, -0.4846684635, 0.5469514132, -0.5644876957, 0.2139181346, 0.0856434405, -0.3867203593, -0.1270561814, 0.5405187011, -0.6001116037, 1.0745515823, 0.5146909952, -0.8224882483, 0.1503071785, -0.85203439, -0.4324414432, 0.2300012559, -0.3384948969, -0.3435957432, -0.0703162327, -0.1231462061, 0.1469416916, -0.5136093497, 0.0784578547, -0.1064020917, -0.5803999901, 0.3054745495, -0.4031498134, 0.5187631249, 0.1028818116, -0.4524249732, 0.3758901954, -0.8871056437, 0.0148455566, -0.0759041384, -0.2483471334, -0.2343009263, 0.1167415977, 0.3035034239, 0.6572407484, 0.2776571214, -0.5860919952, 0.0036525873, -0.2856659591, 0.609269619, 0.6079214215, -0.5712811947, 0.3177050948, -0.1426407993, 0.5503165126, 0.1265965104, 0.2200717032, -0.5765935779, -0.4300518632, -1.0751324892, -0.3937595785, -0.056172017, 0.6161191463, -0.9504520893, 0.1968729794, -0.5031350851, -0.5082435012, -0.0227125119, -0.1429506242, 0.5213921666, 0.7743117213, 0.4482887685, -0.0638831556, -0.5542559624, -0.9304602742, 0.1886078864, -0.2146263868, 0.0597637817, 0.4247043431, 0.5774396658, -0.2759981155, 1.00261271, -0.6689227223, -0.5390062332, -0.4541557133, -0.018468868, 0.1576215625, 0.4600377083, 0.5719535947, -0.9725912809, -1.072348237, 0.4661759138, -0.6380303502, 0.0525787622, -0.0007595827, 0.0718549937, 0.5080693364, 0.8148335218, -0.5993593931, 0.4893549979, 0.8087995648, -0.4043923616, 0.7356423736, -0.3387043774, -0.1660097092, -1.0166969299, 0.2073593587, -0.0414260216, -0.5600194931, -0.4841149449, 0.2052423954, 0.3961090147, -0.0183471106, -0.7012709379, 0.9114088416, -0.30355075, -0.005413929, -0.5961350799, 0.0067194197, 0.0971817523, 0.4144469202, 0.18615821, 0.9381788969, 0.8151955605, -0.289111495, 0.3766715527, 0.2719451189, -0.7223773003, 0.4585155845, -0.9633854032, 0.0642161518, -0.1366588771, 0.3773272932, -1.0116267204, -0.2576808035, 0.3367986679, -0.3125602305, 0.2889159918, -0.0343676321, -0.3782092929, -0.463016659, -0.413105458, 0.412052989, 0.6473068595, -0.708802104, 0.636895299, 0.150045827, -0.4514300227, -0.4878075123, -0.7968791127, 0.4713584483, -0.0334532373, -0.7598767281, 0.5794006586, -0.2730893791, -0.252207607, 0.0049468521, 0.2159157544, -0.0023777687, -0.3572465181, 0.356487602, 0.6484618187, -0.1766775548, -0.0531257018, 0.0999983028, -0.3783219755, 0.0246445555, -0.3284224868, 0.4063357115, -0.179637298, -0.1556940526, -0.0914059728, 0.7219077349, 0.7230583429, -0.3462371528, 0.5505155325, 0.5657179952, -0.0921018347, 0.0394061282, -0.428699404, 0.1213809848, -0.5094354153, 0.810234189, -0.4611804485, -1.0406247377, 0.3411242366, 0.3389519751, 0.1917056143, 0.2097119242, 0.5573686957, -0.254101336, 1.2738857269, 0.6574339271, 0.1630954444, 0.6063938737, -0.3832692504, 0.2607100308, -1.1720594168, -0.1786017716, -0.1863756329, -0.3768292665, -0.2579745352, -0.6211843491, 0.5500011444, -0.4884650409, -0.1950841695, 0.0830548629, -0.311757952, 0.513836205, 0.7644664645, -0.1187464073, 0.3443483114, 0.0215807837, 0.0974104404, 0.0417983383, -0.4808954, -0.3280926347, 0.7456136942, 0.2890949845, 0.8611559868, -0.0909016058, 0.0406757854, -0.0090079615, 0.1943192184, -0.8119800091, 0.6142249703, -0.5700445175, -0.5189788342, -0.2157124281, 0.0541803688, -0.5552759171, 0.3454764187, 0.1779953092, -0.7634610534, 0.2092966884, 0.3139123023, -0.2528126836, 0.3018040657, -0.5545390844, 0.8640868664, -0.3307699561, -0.584836781, -0.3362362087, -0.9865849018, 0.2437790036, -0.1409700066, -0.2511371076, -0.0436839424, -0.4024276137, 0.263900429, -0.2823171616, 0.7323533297, 0.1607356966, -0.1321641356, 0.306191951, -0.2915833294, 0.6357057095, 0.2267988026, -0.1365537196, 0.1920430213, 0.0504078865, 0.0125829764, -0.5496887565, 0.8896178603, -0.7368644476, -0.5730774403, -0.5348978043, -0.582719624, 0.010505354, 0.2196795195, 0.5415077209, 0.6357774734, -0.1127517521, 0.7007409334, 0.4938383698, -0.161294058, 0.5965444446, 0.4171516001, -0.3800269663, -0.5245124698, 1.0365462303, 0.0412841178, 0.3913644254, 0.5968099833, -0.1058433726, -0.2629426122, -0.6128125191, -0.4445296824, -0.0823182389, -0.9267296791, -0.251560539, -0.8859623075, -0.4230546653, -0.1575980932, -0.332841754, -0.4124691784, -0.270277977, -0.4543742537, 0.1593114883, 0.0587399974, 0.3144672215, 0.0666788816, 0.4260851741, -0.6945889592, 0.5250979066, 0.404527247, 0.4402742386, -0.2101612836, -0.6125312448, -0.4798039794, -0.1940809339, -0.248240754, -0.326081872, 0.3417746425, 0.3416635096, 0.127216056, 0.417801857, -0.173530668, 0.5275822282, -0.5626007318, 0.8487901092, 0.4495908916, -0.8825520277, 0.1301076561, -0.3150582612, 0.7657756805, 0.5081837773, 0.130473718, -0.796344161, -0.2762543857, -0.0511350073, -0.9297064543, 0.9524742961, 0.2643062174, 0.3153438568, -0.0243502967, 0.2549600899, 0.2061593235, -0.0072008409, -0.8729891777, -0.1534930468, -0.4388517141, -0.2915283442, 0.0081613697, -0.6502521634, 0.0929767042, -0.4892035425, 0.6988051534, -0.4869623184, 0.1449112445, 0.26228109, -0.1752924323, 0.2028158903, -0.0132325199, 0.5709306598, 0.9627346992, 0.1195915937, 0.2639974952, 0.1116693839, -0.542426765, 0.1069372594, 0.1780550629, -0.3992147148, -0.1616782397, 0.2978619039, 1.1817111969, 0.1369435042, -0.9676120281, 0.5914512873, -0.2731600702, -0.3020629883, -0.7291076779, 0.1603310257, 0.1071864143, 0.1298698932, 0.2651470006, 0.0719068497, 0.2453203648, -0.4407986403, -0.0231515225, 0.3652088642, -0.7431242466, -0.3397664428, 0.7125192285, 0.1436911821, 0.1154027954, 0.7229393721, -0.0999806002, -0.4067740142, 0.612154305, 0.8036661148, 0.6822997928, 0.1603612155, 0.1206464767, 0.3730436265, 0.0740863979, 0.1708493233, 0.4336645007, -0.0012400338, -0.5500638485, -0.5755031109, -0.3004765511, -0.3501273692, -0.0651567578, -0.3711251616, 0.6334975362, -0.1681697071, 0.1135988235, -0.130090028, -0.2382973135, -0.5022035837, 0.2492333055, 0.333450228, 1.1752481461, -0.208909601, 1.1851468086, 0.829390347, -0.1538469344, -0.6123765111, -0.3750477731, -0.220530659, -0.6809208393, 0.8200213313, 0.3432672322, -0.1686360836, 0.1100467071, -0.6952751875, -0.8530187011, 1.240571022, 0.2433013022, -0.798625946, -0.1132731587, 0.3306774497, 0.4613527358, -0.4900143445, 0.182620883, 0.4929203391, 0.5901730657, 0.3149296641, -0.643240273, -0.188386634, -0.4604407549, 0.2370907813, -0.0024133422, -0.7715633512, 0.7727282643, -0.221129179, 0.0345411077, 0.5532206893, 0.7862856388, 0.1415626407, 0.2936484218, 0.6025802493, 0.4197567105, 0.137012735, -0.0578728803, 1.1199612617, -0.3877236545, -0.0022147957, 1.612959981, -0.490873158, 0.9234696031, 0.5934960842, 0.2114446908, 0.5228278041, 0.3278347552, -0.020986801, 0.5512616038, -0.0695104077, -0.5535587072, -0.0114018414, -0.0992585421, -0.2692910135, 0.6027346253, 0.4157258272, -0.3236533701, 0.143941626, 0.2897544801, -0.2285390049, -0.3116213977, -0.1965111494, 0.7632235885, 0.2655636966, -1.0301887989, 0.2891934514, -0.034005899, 0.537016809, -0.8435781598, -0.1984338164, -0.1623582989, 0.4713049233, -0.0075852638, -1.3039171696, 0.2878013551, -0.0399581417, -0.1655010432, -0.0909005404, 1.0013200045, -0.4854887724, -0.5713171959, 0.3251402974, -0.0016966969, -0.1672206223, -0.4684283137, -0.4227574468, 0.3873550594, -0.0236459989, -0.0352254398, 0.2217206508, 0.1528815031, -0.2776230574, 0.7429994345, 0.4583272338, -0.1717069596, 0.0206375178, 0.0404516198, 1.0761846304, -0.6027233005, -0.5513272285, -0.7081371546, 0.7133411169, -0.2810817659, -0.4364573658, 0.4550851285, 0.7450171113, 0.7902276516, -0.2404872328, 0.8253285885, -0.1877689064, 0.1454254091, -0.3302724361, 0.5105367899, -0.8093261719, -0.1070447639, 0.0313513204, -1.1129237413, -0.5552662611, 0.2862203121, -0.1013882235, -0.1833155453, 0.8827295899, 0.6806223392, -0.1769312322, -0.1502594054, 0.5766559839, 0.2188869417, 0.5995898247, 0.3627815247, 1.0432881117, -0.2916250825, 0.8809688091, -0.1928690672, -0.3126034439, -0.2980695069, -0.7569810748, -0.7948740125, -0.7356926203, -0.3212442696, 0.1581384391, 0.0149722034, 0.7277662754, 0.9323319197, -0.4338180125, -0.1703565866, -0.0886784866, -0.175129801, -0.159230873, -0.1705566496, 0.1915849894, -0.2744365335, -0.954317987, 0.2599169016, 0.9579006433, -0.0051254784, -0.4018312395, -0.3084461689, 0.0354341678, -0.0280067921, 1.2087612152, 0.2573226094, -0.6667651534, -0.2644509077, 0.1501957029, -0.1912317723, 0.4768823385, 0.766748786, -0.8125372529, 0.3640305996, 0.6803690791, 0.3259928823, 0.6777399182, -0.399487406, 0.4800221324, -0.4572671354, 0.2272549123, 0.1261015981, 0.5729444623, 0.3171446919, -0.130315125, 0.6071371436, -0.2789001167, -0.4983650446, -0.4866865277, 0.1581928134, -1.3449639082, -0.2722213566, 1.1675890684, -0.1278399527, -0.2311962098, 0.0154685788, -0.8287779093, -0.0538006052, -0.1371556818, 0.5964169502, 0.5476793051, 0.036146868, -0.4885262549, -0.4676901698, 0.0168700498, 0.3064385951, -1.0965744257, -0.0451208688, 0.4554024637, 0.0112822847, -0.0418906808, 0.6689115167, -0.4351533055, 0.5917307138, -0.2251980603, 0.0062827757, -0.0545977578, -0.540853858, -0.0677359775, 0.0156987831, 0.0685071722, -0.0928457007 ]
http://arxiv.org/abs/2407.03314v1
http://arxiv.org/pdf/2407.03314v1
BACON: Supercharge Your VLM with Bag-of-Concept Graph to Mitigate Hallucinations
2024-07-03T17:55:27
2024-07-03T17:55:27
Zhantao Yang, Ruili Feng, Keyu Yan, Huangji Wang, Zhicai Wang, Shangwen Zhu, Han Zhang, Jie Xiao, Pingyu Wu, Kai Zhu, Jixuan Chen, Chen-Wei Xie, Chaojie Mao, Yue Yang, Hongyang Zhang, Yu Liu, Fan Cheng
cs.CV
cs.CV, cs.CL, cs.DB
This paper presents Bag-of-Concept Graph (BACON) to gift models with limited linguistic abilities to taste the privilege of Vision Language Models (VLMs) and boost downstream tasks such as detection, visual question answering (VQA), and image generation. Since the visual scenes in physical worlds are structured with complex relations between objects, BACON breaks down annotations into basic minimum elements and presents them in a graph structure. Element-wise style enables easy understanding, and structural composition liberates difficult locating. Careful prompt design births the BACON captions with the help of public-available VLMs and segmentation methods. In this way, we gather a dataset with 100K annotated images, which endow VLMs with remarkable capabilities, such as accurately generating BACON, transforming prompts into BACON format, envisioning scenarios in the style of BACONr, and dynamically modifying elements within BACON through interactive dialogue and more. Wide representative experiments, including detection, VQA, and image generation tasks, tell BACON as a lifeline to achieve previous out-of-reach tasks or excel in their current cutting-edge solutions.
[ -0.523280561, -0.6351943016, 0.328253001, -0.2114418149, -0.4863075912, 0.3374719322, 0.1306114197, -0.8614577055, 0.5475854874, 0.8507409692, -0.6537365913, -0.1721277088, -0.4019176364, -0.1597521901, -0.6345955133, 1.4236900806, 0.4497324228, -0.241848886, -0.3291467726, 0.1389360279, -0.2241683751, -0.623804152, -0.3223303556, -0.1663570106, 0.8712570071, 0.1301806718, 0.6363689303, 0.4952452183, 0.3904103339, 0.2920275629, -0.0602154545, 0.4816070199, -0.7878087759, 0.2135520726, -0.1974054873, 0.0509307943, -0.385194391, -0.4097711146, 0.3240791261, 0.4675886333, 0.2875662744, 0.1542418301, -0.1080366746, 0.4856721163, -0.5615131259, 0.0309945587, -1.0098026991, -0.0409104787, 0.0374630652, -0.2765431106, -0.3447584808, 0.0126545364, 0.1855826974, -0.8009584546, 0.1483547539, 0.2311909795, 1.2015588284, 0.3115522265, 0.0268515777, -0.0948407203, -0.7427835464, 0.6210701466, -0.1660597473, 0.3445511162, 0.2509061396, 0.3226366043, -0.0483941063, -1.0390793085, -0.7098118663, -0.3590676486, -0.3108038008, 0.044081714, 0.0059025711, -0.0882253572, 0.5026631355, 0.1113214269, -0.5518798232, -0.2952240407, -0.5343534946, -0.2391404808, 0.5859430432, 0.1726295352, 0.5657693744, -0.1922898293, -0.4865567684, -0.104875192, -0.2911309302, -0.1671663076, 0.1559253633, 0.1982115507, 0.3382445574, 0.5675650835, -0.4954733849, 0.9250401855, -0.4773789644, -0.098464705, 0.1973675489, -0.3764453232, -0.2687040567, -0.0480547622, 0.3924622536, 0.6869140267, 0.3726628721, -0.2321413606, -0.179123342, 0.2718142867, 0.5183140635, -0.9148145318, -0.597607255, 0.1125953197, -0.2292112559, -0.2379104048, 0.1364215612, -0.8413577676, -0.5292391777, -0.1122341082, 0.3757713139, -0.303651154, -0.3358552456, 0.304928422, -0.53094244, 0.343778342, 0.4297430813, -0.6878343225, 0.3538086414, 0.481754899, 0.8804261684, -0.0573485605, -0.0979735479, -0.654475987, 0.258900106, -0.1676721424, 0.9783633947, -0.7123998404, -0.4992864132, -0.0669810176, 0.1432611197, 0.28391698, -0.3501623869, 0.6694941521, -0.2760577798, -0.1026088148, -0.6098756194, -0.2578924, -0.0947449282, 0.4190610647, -0.6398302317, 1.0518224239, 0.0415754057, -1.0033643246, 0.2232726216, -0.8111693859, -0.2954215407, 0.8148844838, -0.3816595376, -0.1794683337, 0.2307860255, 0.2336072028, 0.5849972963, 0.2968243957, 0.0139956474, -0.2938937545, -0.2111088485, 0.3563709557, 0.0973391458, 0.5859323144, 0.3061999977, -0.1440479755, 0.2937515378, -0.7015316486, 0.2762134671, 0.2051979303, 0.2974407375, -0.5922635198, 0.0031688218, 0.3942996562, 0.1696435511, -0.0255742352, -0.5575787425, 0.2824966908, -0.3366239667, 0.7809230685, 0.6203600764, -0.1503203213, 0.0203892179, -0.3051049113, 0.1869298816, -0.0512292124, 0.336404264, -0.2522631586, -0.6671764851, -0.7740982771, -0.3430966139, 0.0578992106, 0.409316808, -1.241927743, 0.2954311371, -0.2307901233, -0.4262807965, -0.2170854807, -0.1959594786, 0.3583764732, 0.7935114503, 0.3842737079, -0.2395978719, -0.4503133297, -0.8813177347, 0.0831154138, -0.1587009728, -0.07014063, 0.1369072199, 0.8294354677, -0.244700402, 0.7359434366, -0.6902279854, -0.2921088338, -0.3040316403, -0.240277797, -0.1109542251, 0.4486733973, 0.3927600384, -1.1364037991, -0.0493935272, 0.1511667669, -0.4976815283, 0.0102663059, -0.0259825177, -0.4956380427, 0.1571535319, 0.2721982896, -0.5662176013, 0.8137108088, 0.1575716585, -0.6220964789, 0.7774996758, -0.1028174087, -0.1574173719, -0.796867013, 0.0202613194, -0.0884984136, -0.2940230668, -0.6434108019, 0.3284406066, -0.2358217686, -0.0792730674, -0.6067785025, 0.7297571301, -0.1864386946, -0.0816018656, -0.1331136227, 0.10000512, 0.3459064364, 0.3736381829, 0.3443658352, 0.3433124423, 0.7051190138, -0.5206738114, 0.3642792702, 0.3167622089, -0.2356475145, 0.4837162793, -0.6766451597, 0.2522234917, -0.1348648369, 0.1151950359, -1.2403866053, -0.1953758001, 0.4931668937, -0.5168837905, 0.068682529, 0.204172492, -0.3131640851, -0.5296350121, -0.4727524519, 0.1874085069, 0.4607979059, -0.6069746017, 0.7279174924, 0.2167638242, 0.3057834506, -0.4915952384, -0.8220610619, 0.3031508327, -0.1922755241, -0.4118519723, 0.5441109538, -0.4059436917, -0.1401767284, 0.2899636328, -0.1297963411, 0.182510972, 0.0045640348, 0.3625906408, 0.4598976076, 0.1937411726, 0.244210735, -0.3273172379, -0.144117713, -0.0408285558, -0.8227885365, 0.5680656433, -0.1612346321, -0.1085545048, -0.1377409697, 0.5595602989, 0.6024371386, -0.3291994333, 0.5037457347, 0.8629478812, -0.6771668196, -0.4185469449, -0.4269093871, -0.3463187814, -0.4780367613, 0.4838630855, -0.6166869402, -0.7123304009, 0.5362667441, 0.1608156413, -0.0880724341, -0.0131826829, 0.5649222136, -0.2167703956, 0.9419741631, 0.7016032934, 0.3051660359, 0.6262310743, -0.6920583248, 0.4368797839, -0.9167398214, -0.495783627, -0.3917141557, -0.3708967865, -0.5094412565, -0.403382808, 0.2905322313, -0.0010171068, -0.0811373144, -0.0200955644, -1.1286689043, 0.7702689767, 0.6116396189, 0.3881063163, 0.1446481347, 0.3393042088, -0.1689816862, 0.0029856726, -0.6443349719, -0.5333913565, 0.7956520915, 0.1603742093, 0.6460661888, -0.4519935846, 0.6537808776, 0.2822422385, 0.0720504746, -1.0318367481, 0.7887865305, -0.2416723222, -0.3494741619, -0.4049747288, -0.1004773304, -0.4608868062, 0.161857456, -0.2187237889, -1.3505166769, 0.1013276875, 0.131675452, -0.53622365, 0.4037064612, -0.6656414866, 0.7589663863, -0.3263936341, -0.6449309587, 0.2887872159, -0.531748414, 0.3292236924, 0.2568502724, 0.0180461872, 0.2469024956, -0.044133991, 0.7353224158, -0.4041273296, 0.8208838701, -0.0204545241, 0.0816949978, 0.2061493099, 0.1613188088, 0.5184667706, 0.0971001014, 0.1412255019, 0.0782950222, 0.1913105994, -0.3898106813, -0.8419958353, 0.6789960861, -0.6706625223, -0.5639919639, -0.299172312, -0.6010689735, -0.0428164266, 0.0191430748, 0.4480356872, 0.6205146313, 0.3398199379, 0.1520608962, 0.724454999, -0.2553512454, 0.376668632, -0.009140294, -0.7792608142, -0.4674262106, 1.3025044203, 0.3971175253, 0.2232931405, 0.1418534517, 0.2713163197, -0.5174744129, -0.61809659, -0.3735554516, 0.245893389, -0.766939044, -0.2000462115, -1.2085148096, -0.3761301637, -0.3280192614, -0.3374820054, -0.0549713634, -0.3514837325, -0.2307081223, -0.3749025762, 0.5366835594, 0.6757495999, 0.0579800755, 0.1415574998, -0.3463614285, 0.6258475184, 0.5753875375, 0.2131831497, -0.0826209113, -0.216684863, -0.1850969493, -0.0782600939, -0.1619748473, -0.6829174161, 0.5921583176, 0.1658027768, 0.4192383587, 0.2608552873, 0.4028306305, 0.9819307327, -0.2333221883, 1.0540610552, 0.3385518789, -0.9642406702, 0.5838637352, -0.1422639042, 0.0391136892, 0.0950727761, 0.2442995459, -0.3921453357, -0.573348105, -0.6221593618, -0.9673168659, 0.3161521554, 0.290771246, 0.2612333, 0.2085497975, 0.2322261781, 0.0541620068, 0.2502526343, -0.8319016099, 0.0465987176, -0.7024128437, 0.0733524188, 0.1481760442, -0.3274601102, -0.3322814107, -0.8372660279, 0.5501962304, -0.3568406403, 0.3192110956, 0.5318979025, 0.3700895011, 0.0844537318, -0.2262253016, 0.6484690309, 0.6711652279, -0.1826487333, 0.4111979604, -0.012014972, -0.5821060538, -0.1769839823, -0.2566659153, -0.2312275469, 0.0058334032, 0.3864460886, 0.9590641856, -0.2738822401, -0.7449225783, -0.0384867974, -0.1166541874, -0.2693076134, -0.2046162337, 0.2752078772, 0.0220871083, 0.312622577, 0.4005119503, -0.2534667253, 0.399551928, -0.586800456, 0.4550966322, 0.5463653803, -0.3733203411, -0.1669805795, 0.5741654038, 0.0816520825, -0.5230257511, 0.431670934, -0.6116853952, -0.9192931652, 0.6317190528, 0.6914155483, 0.9398705959, 0.222379908, 0.6714996099, 0.1128378659, 0.5193492174, 0.1856786907, 0.4810186625, -0.1065002903, -0.9180207253, -0.3262349367, -0.8506896496, -0.2028333098, 0.5593240261, -0.4788643122, 0.2762370408, -0.2461375892, -0.0497485064, 0.0422213785, 0.2156721205, -0.6816042066, 0.3101695478, 0.3936128318, 0.7486135364, -0.615622282, 1.1323155165, 0.7995657325, -0.2650493085, -0.7952639461, -0.0835511386, -0.3979796171, -0.7070214748, 0.8960763216, 0.3474071026, -0.2765607238, 0.2317013592, -0.8370044231, -0.4441326857, 0.7025808692, 0.2907042503, -0.7284284234, -0.0603299513, -0.0803282708, 0.5871334672, -0.6561985612, 0.3495033979, 0.5569576025, 0.5072456598, 0.7328090668, -0.5267378092, 0.0310749989, -0.4709788263, 0.2457032949, 0.0042565721, -0.2867486477, 0.8031640649, -0.3807675242, -0.3248175681, -0.1374650449, 0.3480516374, 0.1670010984, 0.4532835484, 0.6542130709, 0.6439275146, 0.8094490767, -0.1215293705, 0.9229263067, -0.148113355, 0.1595925093, 1.1086161137, -0.3961589336, 0.6983323693, 0.7109840512, 0.2899573743, 0.4219993651, 0.6069296598, 0.1076082364, 0.6377024055, 0.4904452264, -0.0374576785, -0.4442906678, -0.6093944311, -0.5085850954, 0.2684706151, 0.5932007432, -0.1283861101, -0.1526340544, 0.404833287, -0.1687146574, 0.034536723, -0.2122660428, 0.7393232584, -0.0532124825, -0.1132547259, 0.8032491803, -0.8318721652, 0.4947957993, -0.5382454991, -0.3996000886, -0.1668535024, -0.1895181388, -0.2941776812, -0.6757507324, 0.4062549472, 0.0053103273, -0.005583941, -0.2925104201, 1.0911251307, -0.2560415268, -0.9572300911, 0.5524849296, 0.4794893563, 0.3591785729, -0.1831561625, -0.6580638885, 0.7103801966, -0.0793128684, -0.2815716267, 0.0869776607, 0.5425245166, -0.108629778, 0.7148375511, 0.6646409631, 0.3046274185, 0.0150739588, -0.0728518814, 1.364580512, -0.7509692311, -0.6832330227, -0.9407829046, 0.8254927397, -0.4287137985, -0.1966045201, 0.4690776467, 0.284211725, 1.1524868011, -0.2603408098, 0.8338532448, -0.1992689222, -0.0514505096, -0.5610769987, 0.6696540117, -0.7719010115, 0.12088231, -0.457565546, -0.821663022, -0.3064018488, 0.7096108198, -0.2426819056, -0.2901242077, 0.7574279308, 0.974085629, 0.1390582919, -0.0309470296, 0.8415768743, 0.1626540869, 0.4324610233, 0.6307553649, 1.1835621595, -0.167930454, 0.4068306684, -0.3348798752, -0.2797442675, -0.2774011791, -1.0924415588, -1.0005751848, -0.934510231, -0.6391259432, -0.3360016644, 0.0282397177, 0.6583268642, 1.1079947948, -0.6993452907, -0.1031424478, -0.0462414138, 0.3593684137, -0.2908449769, -0.2615959644, 0.1448080838, -0.3241367042, -0.5463050604, -0.1092007309, 0.5299206972, 0.0757256895, -0.6176464558, 0.0060199276, 0.0793864876, 0.1106656492, 0.9478908181, -0.0791968182, -0.9434337616, -0.6204084754, -0.0521513596, 0.2203933597, -0.194697991, 0.8565436602, -1.1791632175, 0.7231385112, 0.4106971323, 0.5898063779, 0.3185805976, -0.1581909209, 0.0131180845, -0.5284844637, 0.2851155996, 0.2888346314, 0.2401299775, 0.1327596605, -0.7290497422, 0.5553081036, 0.4896401763, -0.2362290323, -1.325348258, 0.5069357157, -1.2748167515, -0.4098753333, 0.9725469947, -0.0285473205, -0.6707653999, -0.1568652093, -0.8000468016, 0.036401134, -0.3136537075, 0.8479464054, 0.6493187547, -0.1964392066, -0.2804329693, -0.6789820194, 0.7089260221, 0.0464994535, -0.9491229653, 0.1292330176, 0.4641354382, -0.1173370555, 0.5156440735, 0.4562654495, 0.2186909914, -0.173256889, -0.0453580581, 0.002179716, -0.4323693812, -0.8134653568, 0.1035943851, 0.3193962872, -0.1868068129, -0.5168917775 ]
http://arxiv.org/abs/2407.03302v1
http://arxiv.org/pdf/2407.03302v1
A Review of the Applications of Deep Learning-Based Emergent Communication
2024-07-03T17:43:54
2024-07-03T17:43:54
Brendon Boldt, David Mortensen
cs.CL
cs.CL, I.2.7; I.6.m
Emergent communication, or emergent language, is the field of research which studies how human language-like communication systems emerge de novo in deep multi-agent reinforcement learning environments. The possibilities of replicating the emergence of a complex behavior like language have strong intuitive appeal, yet it is necessary to complement this with clear notions of how such research can be applicable to other fields of science, technology, and engineering. This paper comprehensively reviews the applications of emergent communication research across machine learning, natural language processing, linguistics, and cognitive science. Each application is illustrated with a description of its scope, an explication of emergent communication's unique role in addressing it, a summary of the extant literature working towards the application, and brief recommendations for near-term research directions.
[ -0.3607913852, -1.2271102667, 0.5139337778, 0.4643360674, 0.0669512674, 0.8316808343, -0.2489608824, -0.9190762639, 0.0936839357, 0.1776867658, -0.3712475598, -0.020009242, -0.2595457137, -0.2265309095, -0.6540619731, 0.4862512946, 0.2362904251, -0.1465959698, 0.1656921208, 0.2325868011, -0.2626852691, -0.3447332382, -1.2896097898, -0.7704874277, 0.5328048468, 0.413995266, 0.5573548079, 0.0871000886, 0.5561813116, 0.3812950253, -0.2361063808, 0.1077272519, -0.2600151896, 0.4231828153, -0.1999558806, -0.5591307878, 0.0621134713, 0.1098321155, 0.9810013771, 0.9182739258, -0.1098189428, -0.2541337907, 0.2283638865, 0.6685655713, -0.3990976214, 0.0235881358, -0.2327681184, 0.245278433, -0.1176381186, -0.310775429, -0.4998622239, -0.3286903501, 0.4447189867, -0.255425334, -0.0912231132, -0.1387574375, 0.4798272848, -0.0727163181, -0.5606297255, -0.5368674994, -1.556055069, 0.5926142335, -0.5461025834, 0.34108302, -0.2526421249, 0.5380308032, -0.4441967607, -0.7287603617, -0.5465514064, -0.1677562892, 0.2394457161, 0.256521821, -0.2286679596, 0.3339719474, -0.3864335418, 0.4917728603, -0.3880669177, 0.5353693962, -0.2050649822, 0.1980843544, 0.3460576534, 0.1480190903, 0.3858439326, 0.4074949324, -0.3578459024, -0.068468608, -0.5609936118, 0.148828119, 0.269834578, 0.3701069057, -0.0652096793, 0.2193802744, -0.1268806756, 0.7435148954, -0.0495053455, 0.3106172085, 0.1749168634, -0.2796466649, -0.1248932779, -0.0241176356, 0.8564653993, -0.0690163448, 0.0243000872, -0.1549566388, 0.1000216529, -0.1212642789, 0.2855394781, -0.4206291735, -0.3391554058, 0.148843497, -0.5672980547, -0.5885397196, -0.130241558, -0.5709181428, -0.5369740129, -0.1411257982, -0.0123477057, -0.3589378893, -0.904286623, -0.0572766811, -0.1780290455, 0.3950073719, 0.1848197728, -0.9496851563, 0.3492748141, 0.647751987, 0.7157301307, 0.0418920927, -0.582495451, -0.0137392152, -0.0532353856, -0.5542673469, 0.8770301342, -0.5530579686, -0.1384264529, 0.1034769416, -0.2145596445, -0.0943738818, -0.4066396952, 0.5515251756, -0.7000243068, -0.2296921611, 0.1208032295, -0.3228636682, -0.1491768509, 0.0563849062, -0.6130182743, 0.6433657408, -0.0862789303, -0.4456926584, 0.4451655149, -1.0062475204, -0.6833463311, 0.4503595829, -0.0663696751, -0.4012506306, 0.1733068973, -0.1607199758, 0.497385323, -0.0497395173, -0.0076722554, -0.0616586022, -0.235393554, 0.510866344, -0.4799145758, 0.7787734866, 0.6884174347, -0.6874143481, 0.0653721541, -0.635345757, 0.2953180969, 0.1611618698, -0.5005112886, -0.3924582899, 0.1970226914, 0.0207656045, 0.3172348142, 0.1734935939, -0.5173590183, -0.0578894541, -0.6457906365, 0.8816070557, 0.4362620711, 0.0127118416, 0.659404099, -0.0394080989, 0.1660187989, 0.2887125015, 0.0695849955, -0.4914417863, -0.3462506533, -0.6718488336, 0.1002186909, 0.1734227389, 0.4994786978, -0.8931177258, 0.2156490386, 0.1671115011, -0.8293105364, -0.9282027483, -0.0602772497, 0.1898032874, -0.167254582, 0.1131636649, 0.0261630174, -0.9843150377, -0.7552396655, -0.4502824545, -0.2470368296, 0.397110492, 0.3313266635, 0.1235939041, -0.3833328784, 0.8228383064, -0.1505729109, 0.1578206718, -0.3263772428, 0.5869165659, -0.0054212417, 0.5245517492, 0.472312212, -0.8128367662, -0.4723531008, 0.3172161281, -0.8473949432, 0.5175054073, -0.3206531405, 0.4655924141, -0.0173221081, 0.7073394656, -0.5553317666, 0.0926635638, 0.6640309691, -0.1589915156, 0.402189821, -0.3287186921, 0.3249241114, -0.9856430888, -0.1288975477, -0.3118765056, -0.0757956356, -1.0028139353, 0.1519577205, -0.2739362419, -0.1269789338, -0.4959802032, 0.2755790055, -0.6762212515, -0.1243371069, -0.7794762254, -0.124722749, -0.4830040336, -0.0934529677, 0.2092433721, 0.6086916924, 0.7215251923, -0.813565433, 0.4517481625, 0.0219963603, -0.3695909977, 0.2533764243, -0.5529795289, 0.1447574049, -0.003536972, 0.2109738141, -0.8758108616, 0.2059713453, 0.1964620203, -0.6316444874, 0.0873878673, 0.0778843835, -0.4796407223, -0.6710349321, 0.053533446, 0.3569321036, 0.4201678038, -0.4440628886, 0.0409351066, 0.5402197838, -0.1816640496, -0.4007925689, -0.7492469549, 0.5021367669, -0.0621502921, -0.2544172704, 0.0241438188, -0.1743799299, -0.2957466245, -0.0311002117, 0.3636277318, -0.1074818969, 0.6185907722, 0.1751351357, -0.3050146103, -0.4480744302, 0.0421436541, 0.036620494, 0.0368953496, 0.3392094672, -0.6320443749, 0.6160860658, -0.6412785053, -0.3261376023, 0.1211375073, 0.5725575089, 0.4269005358, -0.0119872903, 0.8903345466, 0.8483341932, -0.2388290465, -0.2293849289, -0.3308384418, -0.3738600314, -0.4760361612, 0.256663233, -0.1929124445, -1.04304111, 0.25096187, -0.6570460796, 0.0005041852, 0.4216096699, 0.3511228561, -0.390449971, 0.7743347883, 1.0630698204, 0.2002770305, 0.9424653649, -0.2806648612, 0.6530795693, -0.8655679226, -0.2756175995, -0.3942724764, -0.1466580331, -0.6774168015, -0.1560388207, 0.0096334657, 0.047350876, -0.1923845559, 0.4730391502, -0.3962717056, 0.3905730247, 0.4803154469, -0.1935715377, 0.3180665374, -0.1660879105, -0.1655772328, 0.1573491991, -0.8767233491, -0.5995850563, 0.9812530279, 0.5035686493, 0.7251764536, -0.0111587513, 0.7365217209, 0.535076201, 0.2277514338, -0.5841645598, 0.2959332764, 0.1887426972, -0.5826820731, -0.5424288511, -0.4706364274, -1.4798679352, 0.1972920299, -0.2923371792, -0.7478049397, 0.150200516, -0.1310222596, -0.3380916715, 0.4474464059, -0.7296571732, 0.4073796868, -0.3949098587, -0.0340423062, -0.3500515223, -0.7562853694, 0.2395660877, 0.195901826, 0.2507061362, 0.1426310986, 0.185164839, 0.7305807471, 0.4132048786, 1.0016638041, 0.1237815842, -0.3070690334, 0.7687559128, -0.2124431133, 0.2274152189, 0.0187497288, 0.2443499416, 0.0730266348, -0.2415186018, -0.1893434376, -0.4129665494, 0.6412408948, -0.7131996751, -0.2149252445, -0.5268368125, -0.411765635, -0.2017631531, 0.540317893, -0.0660930276, -0.0136964656, -0.7983637452, 0.1384449303, 0.9996548891, -0.1097054407, 0.7281847596, 0.818785429, -0.1844584048, -0.1861983836, 1.0718928576, -0.292147249, 0.3857583106, 0.5002081394, 0.0714288279, 0.0181341451, -0.7945849299, -0.2732157409, -0.1410620958, -0.4644907713, 0.1721259356, -0.8298334479, -0.7343419194, -0.2950876057, -0.1664133817, -0.5050327182, -0.0893698558, -0.1958355159, -0.1804089695, 0.0451036915, 1.1632794142, -0.3609081209, 0.2686703205, -0.6571422815, -0.0217155293, 0.3142397404, 0.3876933753, 0.3191891015, 0.0619906373, -0.499817431, 0.4180792868, -0.3550104797, -0.6172881126, 0.1538360715, 0.2595186234, 0.8706575036, 0.35003829, -0.4037614167, 0.1735468358, -0.4156192541, 0.7107346654, 0.2667499185, -0.517185688, 0.7236040831, -0.4306083322, 0.2520540655, 0.2310667187, 0.4093312025, -0.6881150007, -0.4735628366, -0.9396679997, -0.9098345637, 0.2402780354, 0.2160782814, 0.1820269674, 0.0512142368, -0.0818354413, -0.0440628901, 0.3004257679, -0.3514829874, -0.4136576355, 0.132884115, 0.2195810676, -0.451338917, -0.1320067495, -0.2664454877, -0.0548450239, 0.2927535176, -0.1844576597, 0.492931962, 0.1147980839, -0.048554454, -0.1543511748, 0.7131806612, 0.754696548, 0.3594087958, 0.0407891609, 0.2576954663, -0.2222405821, -0.5598597527, 0.3338117599, 0.0320617706, -0.2420236915, -0.1121354699, 0.1704016477, 0.444109112, 0.2898989618, -0.6618350744, 0.0942347571, -0.0458601154, -0.0883958116, -0.32602337, -0.1975264996, 0.4179333746, 0.4860265255, 0.5212865472, 0.4361093044, 0.3480227292, -1.0383250713, 0.3697918057, 0.5203415155, -0.7696260214, -0.3011587858, 0.4874098003, 0.5828515291, -0.3720582724, 0.5196310878, -0.0659735426, -0.2894321382, 0.5871354342, 0.7062395215, 0.9222909212, -0.2176727355, 0.3710244894, -0.0947142914, 0.5305448771, 0.2012623549, 0.3908916712, -0.0778935105, -0.7807046175, -0.3221883476, -0.3996065557, -0.3523415923, 0.2429434806, -0.0302996915, -0.219311744, -0.4050118327, -0.2017845362, 0.409617573, 0.1120380983, -0.6799042225, -0.0045083375, 0.5640023947, 0.7846239209, -0.9358522296, 0.4098807871, 0.9741943479, -0.3679671884, -0.4356246591, -0.2413841635, -0.0840368047, -0.5866138935, 0.6337931752, -0.1515684426, -0.2268597037, 0.1996064633, -0.5136212111, -0.9903850555, 0.9454292655, -0.0456787832, -0.2393274903, 0.1889769584, 0.1065725014, 0.7908378243, -0.5742602348, 0.6456932425, 0.5345220566, 0.3555263281, 0.0321454592, -0.9801658988, -0.0551146269, -0.3009183705, -0.0813624337, 0.1907246262, -0.8647203445, 0.593744278, -0.4655263126, -0.3202069104, 0.1387355179, 1.0095481873, -0.1114806309, 0.3806666136, 0.1146568507, 0.1825971305, 0.6135545373, -0.0201138295, 0.5014581084, -0.0672455579, 0.1341090947, 0.9699662328, -0.1141786948, 0.5846874118, 0.2780280113, -0.1097203642, 0.8053511381, 0.5674294233, 0.1654950082, 0.4322189391, 0.3112556338, -0.3850133419, 0.2169905305, -0.2877701223, -0.2726219594, 0.2405912578, 0.8818123341, -0.2611799836, -0.2544062734, 0.1949695796, -0.2920389473, -0.0022377539, -0.2656663358, 0.9235506058, 0.304487288, -0.3948207498, 0.225516513, -0.2948611677, 0.5439971685, -0.3454498947, -0.3686672747, 0.3102371693, 0.4105260074, -0.2592290342, -1.1508306265, 0.2783579528, -0.5975214839, 0.0205136333, -0.4342877567, 1.0940756798, -0.5104314089, 0.141371578, 0.3040760458, 0.7602386475, 0.225018084, 0.1122408956, -1.031060338, -0.0513029285, -0.5335599184, -0.1047581807, 0.1129996479, 0.489051193, 0.1538340002, 1.1366415024, 0.6726387739, 0.2085386813, 0.2807220519, 0.1983573288, 0.8831989169, -0.7621669769, -0.4181324244, -0.6637574434, 0.3810828328, -0.1517841965, -0.3256723881, 0.8264433146, 0.4401866794, 0.6300135255, 0.0484351814, 1.0903974771, -0.2555779517, 0.1466489732, -0.2663226426, 0.7114903331, 0.1923824698, 0.0121029429, -0.3079326749, -0.6189234257, 0.1094065607, 0.060157489, -0.0842467844, 0.1881034374, 0.7147161961, 0.0464919806, 0.09029679, 0.1208662689, 0.239328295, 0.232215628, 0.3931587636, 0.5808498263, 1.3943623304, -0.3483575284, 0.4605377614, 0.0744907781, -0.2729965746, -0.5001606941, -0.6351926923, -0.8087140322, -0.9042292833, 0.0052998122, -0.1489681304, 0.2176052332, 0.6103748083, 0.8434203863, -0.5769973993, -0.2891004086, -0.4308998585, 0.1914750487, -0.9196972251, -0.2817080021, -0.0942767859, -0.5513581038, -0.4239748716, 0.7910186648, 0.3985705972, 0.4004342556, -0.684450686, 0.0536427572, -0.5907096267, -0.0398569889, 0.8139529228, 0.9034615755, -0.3103819788, -0.0013301951, 0.0121956905, -0.1226236895, -0.0517022237, 1.2545469999, -0.7859427929, 0.2892519236, 0.4064754844, 0.8561761379, 0.3819497526, -0.3390004337, 0.8095676303, -0.4586285651, 0.0045918133, 0.5941252112, -0.2345970571, 0.5641333461, -0.4706552923, 0.2572545111, 0.1556299925, -0.6525871158, -0.6229993701, 0.619119525, -0.6224156022, -0.3446409106, 0.9605734348, 0.0904761776, -0.0968239754, -0.6321787834, 0.0380243957, 0.2858989239, -0.3964160681, 0.7131130695, 0.4911035001, -0.0742370412, -0.4684453607, -0.6723849177, 0.6728094816, 0.251581341, -0.7657696605, -0.1654744595, -0.311200738, 0.0792371407, 0.441539824, 0.6840862632, 0.1845370531, 0.1241702214, 0.1326664984, 0.082599856, 0.1808363944, -0.4573934972, -0.2932202518, -0.1072096229, 0.2872707248, -0.1474272609 ]
http://arxiv.org/abs/2407.03282v1
http://arxiv.org/pdf/2407.03282v1
LLM Internal States Reveal Hallucination Risk Faced With a Query
2024-07-03T17:08:52
2024-07-03T17:08:52
Ziwei Ji, Delong Chen, Etsuko Ishii, Samuel Cahyawijaya, Yejin Bang, Bryan Wilie, Pascale Fung
cs.CL
cs.CL
The hallucination problem of Large Language Models (LLMs) significantly limits their reliability and trustworthiness. Humans have a self-awareness process that allows us to recognize what we don't know when faced with queries. Inspired by this, our paper investigates whether LLMs can estimate their own hallucination risk before response generation. We analyze the internal mechanisms of LLMs broadly both in terms of training data sources and across 15 diverse Natural Language Generation (NLG) tasks, spanning over 700 datasets. Our empirical analysis reveals two key insights: (1) LLM internal states indicate whether they have seen the query in training data or not; and (2) LLM internal states show they are likely to hallucinate or not regarding the query. Our study explores particular neurons, activation layers, and tokens that play a crucial role in the LLM perception of uncertainty and hallucination risk. By a probing estimator, we leverage LLM self-assessment, achieving an average hallucination estimation accuracy of 84.32\% at run time.
[ -0.3613550663, -0.594722867, 0.8801425099, -0.013494079, -0.0096639404, -0.1409017742, -0.2344546318, -0.7192806602, 0.2029727697, 0.392234832, -0.7738067508, -0.2571787536, -0.5203883648, 0.3508423269, -0.369330436, 0.5968109369, 0.2151330709, 0.0645741671, -0.4197933972, 0.3396064341, -0.5171323419, -0.7981677651, -0.4961077869, -0.3467724621, 0.4237803817, -0.0070370613, 0.3852858245, 0.1314318627, 0.3973890245, 0.2967095971, 0.0118390061, 0.0801132023, -0.5994532108, 0.3898610175, 0.100638859, -0.8671918511, -0.1034658998, -0.1056987643, 0.4614410698, 0.6602339149, -0.1134431884, 0.0441427417, 0.2169821262, 0.8329897523, -0.6294939518, -0.120456256, -1.1791766882, 0.3445338309, 0.0065432801, -0.484667182, -0.4549895525, -0.3241276741, 0.1918116212, -0.0811574608, 0.2967198491, 0.0977515653, 0.5653969646, 0.6960501671, -0.3113839924, -0.4864575565, -0.6028746367, 0.3108254373, -0.5091129541, 0.474894315, 0.69784832, 0.1751060933, -0.6125981212, -0.5256518722, -0.5063929558, -0.716894865, -0.2589713037, -0.1442018151, -0.0353862047, 0.1506433487, 0.2545250952, 0.4351067543, -0.5380187631, 0.0617673323, -0.4099128842, -0.4644635916, 0.4728015065, 0.1892159432, 0.2209815234, -0.4114025831, -0.4173405468, 0.1411463171, -0.672853291, -0.1197545603, 0.5270911455, 0.2271087319, 0.2368157506, 0.8291787505, 0.0163899772, 0.4445686042, 0.1756366193, 0.1397772729, 0.0637038648, -0.2447380275, -0.3939816058, 0.5098437667, 0.9923519492, 0.1281739324, 0.2621635795, -0.4977605939, -0.3469633758, 0.0257481951, 0.8709064722, -0.5595270395, -0.0075761117, 0.4890037477, -0.0331192985, -0.2269642055, 0.0609192662, -0.5328527093, -0.8623099327, -0.1321433634, 0.6387217641, -0.4158335626, -0.2615467608, 0.0522852205, 0.2451503575, 0.2614071667, 0.1028271317, -0.6694129705, 0.423453629, 0.4257835448, 0.7171933651, -0.4541069865, -0.3376651108, -0.3760485947, -0.1374722868, -0.5271514058, 0.8722977042, 0.063868992, -0.4672980905, -0.1364792883, 0.1260886937, -0.0979335755, -0.6985659599, 0.3779898584, -0.3969373107, -0.1539667547, -0.3347476423, -0.6918659806, -0.2424041331, 0.2510660589, -0.6369305253, 1.1372386217, -0.2636683285, -0.907286942, 0.5147165656, -0.0588589944, -0.2753627896, -0.0238409005, -0.4949426055, -0.3046795726, 0.5934593678, 0.1513134986, 0.6050918698, -0.0487246811, 0.1874144375, -0.3101535439, -0.3388195634, 0.8408221006, -0.4594067037, 0.5181848407, -0.0306427516, -0.4831182063, 0.3444302678, -0.5451524258, 0.0063311206, 0.1098967567, -0.0599000789, -0.2027544975, -0.0089763384, -0.5664613843, 0.2509431541, 0.1462883502, -0.3082483113, -0.0432562046, -0.5502285957, 0.0600723475, 1.0497233868, 0.312507242, 0.2406146824, -0.1979026794, 0.443824321, 0.0242987536, -0.0745188892, 0.234719336, -0.4360969663, -0.7885935307, 0.0952946022, -0.1806843281, 0.3053041697, -0.1699978113, 0.6426366568, -0.0300364289, -0.4047458768, -0.5573926568, 0.0703627244, 0.2389685512, 0.4291965365, 0.221384123, 0.0713623464, -0.5175566077, -0.9206540585, -0.2406822145, -0.2917204797, -0.0907083675, 0.3003253341, 0.6176474094, -0.1939710081, 0.8095021844, -0.3993408978, -0.380895853, -0.1502520889, 0.089505136, 0.004578393, 0.200921759, 0.1914828867, -0.3158408999, -0.0396216884, -0.2366873175, -1.1205579042, 0.0994099975, -0.4160794616, -0.1735007465, 0.5196912885, 0.6708777547, -0.6646107435, 0.5734745264, 0.4700796902, -0.1826528758, 0.6050793529, -0.4309118688, -0.0595026799, -0.9036774635, -0.2466540486, -0.0395381302, 0.0487126, -0.4591322839, -0.140686363, 0.0914185494, 0.2677679658, -0.2732037902, 0.5277491808, -0.8034408689, -0.4981736243, -0.3245771825, 0.2399105877, -0.3498626053, 0.3612665534, 0.0197409987, 0.8670489192, 0.7188466191, -0.899948597, -0.0296483729, -0.0575835109, -0.7277784944, 0.2144381404, -0.5177795291, 0.4239655435, -0.2086426765, 0.1080753207, -1.193867445, -0.3435255587, 0.3749305308, -0.5851987004, 0.2440701425, 0.1992430389, -0.4358994663, -0.4063484967, -0.1284271032, 0.1705738157, 0.2518678308, -0.573384285, 0.5978320241, 0.4915749729, 0.2053782344, -0.5255625248, -0.8659062386, 0.2142665684, -0.1829500049, -0.4928542972, 0.0442993231, -0.2594437301, -0.3186797798, -0.1941214204, -0.4222883582, 0.0973169133, 0.2773701549, 0.8591575623, 0.0768829808, 0.0901107639, 0.2965499759, -0.0485116392, 0.0844051316, 0.7519572973, -0.0405937657, 0.7889925838, -0.1488088369, -0.648157239, -0.6080585718, -0.0110285943, 0.2201325893, 0.0344608799, 0.8173005581, 0.3226574659, -0.7129460573, -0.3203885257, -0.6803771853, -0.6949549317, -0.482300669, 0.2464042902, -0.5503914356, -0.4776143432, 0.6037329435, 0.3960985839, -0.3918428123, 0.4046043456, 0.7375237942, -0.1688867658, 0.701331079, 0.3296257854, 0.0535152331, 0.005799667, -0.0661703795, 0.2110767215, -0.8443831801, -0.5369516015, -0.3963643014, -0.286486119, -0.6956658959, -0.4061581194, 0.5426986217, -0.0674775988, 0.045750387, 0.0406194851, -0.5625729561, 0.3157864809, 0.4398611784, 0.3843611181, 0.2784188986, 0.0329416543, -0.09804786, -0.2059278339, -0.2763632536, -0.2927451134, 1.1715193987, 0.4196148217, 1.0507439375, -0.0095511703, 0.9139794707, 0.1273677498, 0.1682064235, -0.9205191135, 0.6359461546, 0.6308413744, -0.8304879665, -0.5775379539, -0.4519830942, -0.8729462624, 0.1406012326, -0.3357073963, -0.8871985078, 0.127960667, -0.0541203022, -0.4508586824, 0.2583800852, -0.4061192274, 0.3338784277, -0.5316525698, -0.3159785569, -0.0807597786, -0.5912176967, 0.6081116199, -0.2524077296, -0.1279772669, -0.3250209093, 0.0458490886, 0.5805422664, -0.0034724469, 1.0765349865, 0.068244487, -0.3051440716, 0.456467241, 0.3833127022, 0.6254855394, 0.1564368457, -0.2554534674, 0.1293180585, -0.548430562, 0.1798476428, -0.4567271769, 0.7252314091, -0.6620698571, -0.7702363133, -0.765065968, -0.5305165052, -0.2352487892, -0.1040499583, 0.6018020511, -0.0199447274, -0.1803854704, 0.1241174042, 0.6982679963, -0.2949992716, 0.4100328088, 0.115524672, -0.319868356, -0.2214626074, 0.6289227605, 0.2362610549, 0.3034586906, 0.0682198331, 0.2573180199, -0.6426499486, -0.6707384586, -0.0740919858, 0.3875084221, -0.8227216601, -0.1988287717, -0.8953871727, -0.5711331964, -0.416135937, 0.1244595572, -0.3579679728, -0.0300567914, -0.4893444777, -0.588950932, 0.3266673386, 0.9823444486, -0.0566820987, 0.0053529409, -0.4181036651, 0.2813411057, 0.5122070312, 0.2821080685, -0.0054918374, -0.6637250185, 0.0442769714, -0.0364294164, -0.0076439721, -0.9628616571, 0.4593458474, 0.0082841758, 0.8777102828, 0.5081621408, 0.2412486821, 0.601269722, -0.4024501443, 0.8246741295, 0.0344223455, -0.7051058412, 0.4610036314, 0.0023813848, 0.0354788341, 0.6013928652, 0.6477940083, -0.2478493005, -0.5778746605, -0.3905829191, -0.6455236673, 0.4002545774, 0.2018351108, 0.226863578, -0.3826574981, 0.5565115213, 0.1989902109, 0.1034354866, -1.0791097879, -0.1812672168, -0.1040586457, 0.283855468, 0.0605163164, -0.4710382521, -0.1521034986, -0.213504076, 0.4175690711, -0.2187854499, 0.4978611469, 0.4033006132, -0.3167533278, -0.2806959152, -0.0063193212, 0.8015685678, 0.5883082151, -0.5594445467, 0.3318211734, 0.2782902718, -0.3099057376, 0.178895101, -0.355974257, 0.1293854564, -0.2109576315, 0.3276915252, 0.7818867564, 0.1826071292, -0.6312160492, 0.3240398765, -0.2252904028, -0.2610619664, -0.7748656869, 0.1524426639, 0.0623703972, 0.0535196215, 0.4100688994, -0.1900026798, 0.1799429208, -0.4782879353, 0.3844076991, 0.6893180609, -0.5648605824, -0.321680963, 0.8314009905, -0.172265932, -0.3101966977, 0.6110517383, -0.2395336777, -0.4170246422, 0.5453941226, 0.7514507174, 1.3246308565, -0.260296315, 0.1097663119, 0.6776835322, 0.6761795878, -0.0997547954, 0.2544909418, 0.3692861795, -0.8629492521, -0.1738882214, -0.8544633985, -0.1968511492, 0.4319182038, -0.6324668527, -0.0118269222, -0.2730159163, -0.3866145611, -0.4525046349, -0.202063784, -0.5727002025, 0.271927774, 0.4234359264, 0.5931725502, -0.5811218619, 0.6917843223, 0.1311935484, -0.2483980656, -0.6287295818, 0.4350496829, 0.0191772524, -0.982463479, 0.7583363652, 0.4843843579, -0.4302060008, -0.2179371119, -0.3468862474, -0.9120861292, 0.8546812534, 0.3554774523, -0.4088014364, -0.2695030868, 0.3550284505, 0.4498557746, -0.2771595418, 0.0604363233, 0.586618185, 0.3389117718, 0.0885453299, -0.5489546657, 0.3532495201, 0.1713493615, -0.1294688582, 0.1224188134, -0.1849028915, 0.8030273318, -0.6091282964, -0.4420936108, -0.1387913376, 0.818692565, 0.2572590709, -0.0619579926, 0.6451686025, 0.4141198099, 0.9446187019, 0.0630249307, 1.2014372349, -0.4940782189, -0.125900954, 1.3592051268, -0.2175762206, 0.8457066417, 0.6315813065, -0.0188349076, 0.120569557, 0.8513204455, 0.1337505132, 0.4018009305, 0.6152462959, -0.2321472764, -0.232760191, 0.0208886974, -0.3934020996, 0.5317006707, 0.592546165, -0.3900528848, 0.111899659, -0.0721788481, -0.1399049759, -0.1718101948, -0.1378021389, 0.9010296464, 0.2573311329, -0.7900308371, 0.7020058036, -0.6892871857, 0.5313061476, -0.505330801, 0.198878631, -0.393098563, -0.060474772, -0.2005406022, -0.8019738793, 0.3051010668, -0.3004711568, 0.1893841624, 0.1054746881, 0.662173748, -0.2736281157, -0.5768151879, 0.6088221669, 0.5624939203, 0.4116221368, -0.6048095822, -0.3197043836, -0.0277872179, -0.0495190397, -0.5108763576, 0.5257043839, 0.5917393565, 0.1492763609, 0.904102385, 0.4772737622, 0.2302166969, 0.5553812981, -0.0587850735, 0.6792879105, -0.7405745387, -0.0569294319, -0.8951848149, 0.3369068801, 0.0167436674, -0.319955945, 0.7165679932, 0.3885505795, 0.7669963241, 0.0033150932, 0.6694131494, 0.3736508787, 0.1199434623, -0.7372704148, 0.9965785146, -0.6490156054, 0.3099744618, -0.0318714306, -0.8735430241, -0.0951417908, 0.6172350049, -0.3129935265, -0.0585235991, 0.8089039326, 1.0075112581, 0.3553542197, -0.0950494111, 0.5700961351, 0.295951277, 0.0844306126, 0.3256759942, 0.9776759744, -0.1152563319, 0.4328598082, -0.5466306806, 0.2436442226, -0.2265837789, -0.8951379061, -1.1100293398, -0.6841856241, -0.0378262848, -0.5350908041, -0.3154294789, 0.8947883844, 0.3874897957, -0.6751051545, -0.4113924503, -0.1830932647, 0.0068739951, -0.026165057, -0.2122078687, 0.3929884732, -0.63234061, -0.438839674, 0.6628166437, 0.1628364772, 0.3055821061, -0.6077674031, 0.0201853625, -0.135265708, 0.2494434118, 0.3746229708, -0.0096053872, -1.0350314379, -0.3616402447, 0.1534900367, -0.4198876321, 0.2490045726, 0.6332190633, -0.7952440381, 0.4796216488, 0.2969226241, 0.6636285186, 0.429377228, -0.2742826641, 0.4977733195, -0.7163790464, 0.0585861951, 0.2984201908, 0.311532855, 0.2623826563, -0.8084936738, 0.6672358513, -0.0321680196, -0.6250168681, -1.0155245066, 0.1174829975, -0.8418552876, -0.2619126439, 1.0995254517, 0.279867053, -0.3504045904, 0.1335535347, -0.026996674, 0.2009686977, -0.1656337082, 1.2320201397, 0.7112429142, -0.3755107224, -0.1081988886, -0.9192891121, 0.8782215118, 0.1816479862, -1.0506550074, 0.2283192128, 0.3746284544, 0.1449023038, 0.2524413168, 0.6604741812, 0.2282151282, -0.0095246648, 0.0937421173, 0.2426786572, 0.2253910154, -0.4838756919, -0.2872593403, 0.1987803876, 0.0500984527, -0.18798922 ]
http://arxiv.org/abs/2407.03277v1
http://arxiv.org/pdf/2407.03277v1
Evaluating Automatic Metrics with Incremental Machine Translation Systems
2024-07-03T17:04:17
2024-07-03T17:04:17
Guojun Wu, Shay B. Cohen, Rico Sennrich
cs.CL
cs.CL
We introduce a dataset comprising commercial machine translations, gathered weekly over six years across 12 translation directions. Since human A/B testing is commonly used, we assume commercial systems improve over time, which enables us to evaluate machine translation (MT) metrics based on their preference for more recent translations. Our study confirms several previous findings in MT metrics research and demonstrates the dataset's value as a testbed for metric evaluation. We release our code at https://github.com/gjwubyron/Evo
[ -0.2850033343, -0.4901518822, 0.4770789742, 0.553162694, -0.2161684781, 0.0719054267, -0.08679647, -0.5312691331, -0.086774148, 0.3715837598, -0.7219107747, -0.5468970537, -0.6240292192, 0.7332700491, -0.6059014201, 0.8666214347, -0.4239881039, 0.2343561947, -0.1285460889, -0.6753054261, -0.8942477703, -0.2382385135, -0.730162859, -0.3251984119, 0.2012057751, 0.6900625229, 0.750646174, 0.8219135404, 1.0276492834, 0.2897513807, 0.3758850694, 0.1203723997, 0.0138245663, 0.1761878431, 0.0202435236, -0.2832087874, -0.46017766, 0.1195508167, 0.9573988318, 0.6908009052, -0.0534173623, 0.5912328959, -0.2746948004, 0.7577884197, -0.1764073521, -0.0225862209, -0.6848629117, 0.2794164717, 0.0458104126, -0.423528105, -0.4303544164, -0.634655416, 0.1508305967, -0.4623438418, 0.0319252051, 0.3842556477, 1.0383639336, 0.2397321314, -0.5578130484, -0.5073859692, -0.6746647954, 0.9157155156, -0.5424772501, 0.546949327, 0.203735441, 0.5628648996, -0.1815060973, -0.6271539927, -0.4536872804, -0.6197265387, -0.0365833715, 0.3446596265, -0.0672258958, -0.3684713244, 0.1471997052, 0.6054037213, -0.808442235, 0.2315326333, -0.4169916809, -0.0175127126, 0.7396107912, 0.6652383804, 0.4194512665, 0.0080051459, -0.5367626548, -0.2955499887, -0.6960712075, -0.1580760926, 0.3928636312, -0.0769782513, 0.0668839365, 0.8447114229, -0.1044501811, 0.6778869033, -0.0844447315, 0.2119779438, 0.6820887327, -0.794426024, -0.4289631546, -0.0412086323, 0.9635648727, 0.5565512776, 0.0005737058, -0.31132707, -0.4783881307, 0.1420321167, 0.5499848127, -0.6180276871, 0.0871259719, 0.2368524224, -0.4186924994, -0.2532593906, 0.0178322271, -0.5188267231, -0.1865230948, -0.5785753131, 0.5371965766, -0.5685862899, 0.1442986429, 0.0610747933, -0.4120154679, 0.2735934854, 0.3399137259, -0.3263427913, 0.3035442829, 0.4594234228, 0.9888040423, -0.3911676407, -0.592404604, -0.5228105187, -0.2621598244, -0.6873751879, 0.7856595516, -0.425298661, -0.4386796951, -0.0883522779, 0.4026565552, -0.1206623614, -0.9443492293, 0.5886297226, -0.4382734895, 0.3916428685, 0.1160347313, -0.4015933275, -0.2423375696, 0.4236453772, -0.4265208244, 1.2000851631, 0.3427457511, -0.2675742805, 0.6760592461, -1.0114690065, -0.3963956237, 0.0598137975, 0.1260206252, -0.6940842271, 0.086486347, 0.0979680642, 0.1515292376, -0.4405435622, 0.0916263014, -0.2090526074, -0.3494968712, 0.3873152137, -0.245346278, 0.7374384403, 0.6052181721, -0.3734392524, 0.3799261749, -0.721822679, -0.1765057147, 0.0969182476, -0.3773765266, -0.3120951951, 0.0193454381, -0.0637734681, 0.1539209932, 0.4211691618, -0.577281177, 0.1674072444, -0.3880048394, 0.4743728638, 0.6626093984, 0.008384685, 0.4186424911, -0.2012762427, 0.7773685455, 0.0973884538, 0.4622307122, -0.3918210268, -0.541169107, -0.8248576522, -0.013624439, 0.3211673498, 0.6944753528, -0.582313478, 0.9064100981, -0.6469190717, -0.2996139824, -0.8218291998, 0.2726446092, 0.3346479237, 0.2330538779, 0.387781471, -0.8281998634, -0.420317173, -1.1617130041, -0.2368799895, 0.04081285, -0.2488364577, 0.088097766, 0.6395493746, -0.3996077478, 0.5815054774, -0.1468178481, -0.290412873, -0.1703119874, 0.3545308113, 0.2328332365, 0.4323868752, 0.5670531392, -0.4101678729, -0.658837676, 0.3810517788, -0.7216572165, -0.0461368039, -0.1978263557, -0.2982805371, 0.0790056214, 0.2594964504, -0.1857473552, 0.4362598658, 0.6925520301, -0.4971806109, 0.3961618245, -0.3996486366, 0.6481852531, -0.8606963158, 0.2835786939, 0.0585839078, -0.5029115677, -0.0721857697, 0.1204436794, 0.1351545751, -0.0610603094, -0.3002385795, 0.3203388751, -0.4622208178, -0.4504637718, -0.0090709301, 0.1924823672, -0.0170966536, 0.0375240706, -0.3780297935, 0.9162828326, 0.1134381592, -0.730533123, 0.5123184323, 0.2527275681, -0.6235955954, 0.7625950575, -0.7221913934, 0.3411751688, 0.0668421462, 0.0976715535, -1.2681164742, -0.0786952972, 0.3363653123, -0.7543545365, 0.2482738346, 0.0341735147, -0.9045956731, -0.719039917, -0.2737547755, 0.109445028, 0.4104809165, -0.4371683896, 0.1129719391, 0.4707635939, -0.0522983298, -0.2331170589, -0.5243563652, 0.4164642692, -0.4632348716, -0.3737805784, -0.0664539412, -0.1528760195, -0.2140452564, 0.0260289311, 0.0060186647, -0.0800156444, 0.2972631454, -0.0014905285, 0.2131298631, -0.0520874523, 0.071356006, 0.1601020247, -0.1778818965, 0.1493059546, -0.6432211995, 0.4760843813, -0.170978412, -0.1853618771, -0.6242374182, 0.2277778387, 0.7306244969, -0.174516052, 0.6540960073, 0.4802537262, -0.2364604026, 0.2367814481, -0.4553767741, 0.2497929335, -0.4368248284, 0.4710342288, -0.5230033398, -0.4227370918, 0.5783991814, 0.0039953524, 0.3597251475, 0.8986352086, 0.6262549162, -0.1103594378, 1.3422831297, 0.3912396133, -0.086848259, 0.5757732391, -0.3099445701, -0.1010802835, -0.8683978915, -0.1761865318, -0.6458665133, -0.5175100565, -0.7221835256, -0.1659190506, 0.4001279175, -0.318246752, -0.4311928153, 0.7860782146, -0.7069943547, 0.2300545573, 0.4563426673, -0.0148189785, 0.5150553584, -0.076094389, -0.2283419818, -0.1560033113, -0.4532323182, -0.5742636919, 1.2181489468, 0.5392505527, 0.3783385754, -0.0904819369, 0.2733625472, 0.6366831064, 0.9664592147, -0.9711667299, 0.2766919136, -0.2221943289, -0.6643497944, -0.3869667649, -0.5770369768, -1.2055549622, 0.1544564068, 0.1968880892, -0.3075837791, 0.0046832841, 0.1123142466, 0.0447329693, -0.0935597122, -0.8892367482, 1.0013155937, -0.4857997596, 0.0901955515, -0.3968914747, -0.7172982097, -0.0529990755, -0.0461443216, 0.1925109476, -0.1303761154, -0.0762479007, 0.706256032, -0.27246961, 0.3068595529, -0.1270005256, -0.0280603301, 0.1998947859, 0.1220429912, 0.3547217846, -0.1599643826, -0.2069000751, 0.2363142222, -0.0036086561, -0.3755193055, -0.4071668983, 0.688906312, -0.6660504937, -0.0859315917, -0.4037123919, -0.6349807978, -0.0122323055, 0.1841263771, 0.1834384948, 0.2247280926, -0.2994323969, 0.2178489268, 0.20924519, -0.40366292, 0.18886666, 0.7228214145, -0.3912480175, -0.8053684235, 0.7234203219, 0.1414417475, 0.3228921294, 0.4364418685, 0.1909407377, -0.4755455852, -0.5450433493, -1.2184220552, 0.1221833304, -0.5660719275, -0.1851654947, -0.4066157937, 0.2335737944, -0.3497909307, -0.0273903292, -0.5228016973, -0.449496448, 0.2340141982, -0.1129753292, 0.325892508, 1.0256761312, 0.2209629565, 0.2134446502, -0.9715365767, -0.0033088466, -0.3110851645, 0.258457154, -0.3248946965, -0.8692529202, -0.606254518, 0.0353838243, -0.5155869722, -0.7318775058, 0.6891781092, -0.085768044, 0.5694471002, 0.0823303536, -0.3920131922, 0.8517642617, -0.8059536219, 0.8243401051, 0.3270165026, -1.0025599003, 0.7160231471, -0.2400946319, 0.5564517975, 0.7864872217, 0.4624221921, -0.6308149099, -0.5552524328, -0.518656671, -0.9921754599, 0.3745994568, 0.1885932386, -0.0284970161, 0.1349688917, 0.4931640029, 0.4118313491, 0.4665725827, -0.2682476938, -0.3530305028, 0.0735770464, -0.382001847, -0.4324704409, 0.1897034049, -0.1576512307, -0.4471561015, 0.4734191895, 0.0234522242, 0.4673091173, 0.1094418243, -0.3060489297, -0.300521791, 0.1630387306, 0.5071890354, 0.919680059, -0.3410391808, -0.1810827106, 0.3768824339, -0.5115665793, 0.3478375077, 0.0210453141, -0.187355727, 0.2887907624, 0.0499379784, 0.7866579294, -0.0899379253, -0.35350582, 0.2767510414, -0.0054088696, -0.2197414786, -0.6602467895, -0.3210294843, -0.2822547257, -0.1433062106, 0.1983214617, 0.0745985582, 0.4160287082, -0.6457439065, 0.3129455447, 0.1493665874, -0.7718781233, -0.5871166587, 0.682533443, 0.3110203445, -0.3568074405, 0.718837142, -0.3428300023, -0.4713414907, 0.7420272231, 0.413992852, 1.1675294638, -0.3710607588, -0.0348559506, 0.4742721319, 0.7307035923, -0.1001799479, 0.1800788343, 0.0856797099, -0.3742925823, -0.4532139599, -0.592792809, -0.5264736414, 0.110619463, -0.6521188617, 0.4734221697, -0.1480295658, -0.338168323, -0.2171618789, 0.169833824, -1.1478667259, 0.4522533715, -0.1836042553, 0.905002892, -0.8925939202, 0.7176871896, 1.2371519804, -0.4427861869, -0.1588969678, -0.2468343079, -0.1090499684, -0.9281921387, 0.8144878745, 0.271594286, -0.2256076783, 0.1402502656, -0.3714699447, -0.6487039328, 1.3088728189, 0.0064877067, -0.5764708519, 0.394082427, 0.1805028468, 0.7352448702, -0.4126446545, 0.2586452067, 0.7297090292, 0.6573559642, -0.1919982135, -1.2279926538, -0.0699684694, -0.3108038604, 0.0436535142, 0.4751351774, -0.538339138, 0.3222520649, 0.1026039869, -0.3480916023, 0.1639736295, 0.4748581052, -0.2539411485, 0.6050824523, 0.6781314611, 0.8051199913, 0.5732620358, -0.1049266905, 1.3614054918, -0.3312593997, 0.3770213425, 1.0807081461, -0.078084074, 0.7737638354, 0.4316870272, -0.4743023515, 0.3734893203, 0.8284005523, -0.1431973428, 0.4658808112, 0.2437268198, 0.1059009805, -0.0543907844, -0.0023252054, -0.3731826544, 0.0620045401, 0.4717762768, -0.5589186549, 0.0297962055, -0.0422563776, -0.037158899, -0.1943507642, 0.0278686546, 0.7025694847, 0.0868312567, -0.7687040567, 0.498744607, 0.0311270691, 0.3330543339, -0.5887589455, 0.1172656417, -0.3070908189, 0.5036908984, 0.0000285249, -0.8329675794, 0.5974606872, 0.0066727218, 0.0873232558, -0.5169929862, 0.124716647, -0.2570714355, -0.6018579602, 0.2942992449, 0.3455604017, 0.2908352613, 0.1751340181, -0.8305581212, 0.0233526118, -0.1335679889, -0.203998968, 0.2750294507, 0.6266368628, -0.0706008896, 0.7910920978, 0.549131453, 0.0022477163, 0.1734675318, 0.1333604306, 0.575543046, -0.777669251, -0.220899418, -0.7684091926, 0.4853886962, -0.0715037584, -0.6446883082, 1.2411481142, 0.9345928431, 0.9934643507, -0.0340978839, 0.8537577391, -0.0418489166, 0.4655187428, -0.2870896459, 0.3988836408, -0.7369491458, 0.230436638, 0.0515356436, -0.9751002789, -0.4443423748, 0.4761737585, -0.34270069, -0.4684380889, 0.8905540109, 0.4493352473, 0.0916287526, -0.1395306438, 0.1600928605, 0.1616639346, 0.2787171006, 0.1382060647, 1.0562427044, -0.8089266419, 0.5651498437, -0.0721703395, -0.2734450102, -0.2232639492, -0.7767587304, -0.5031396151, -0.3781232238, -0.3846462071, -0.4873217344, 0.2256262749, 0.9641608596, 0.2798048556, -1.0367350578, -0.6542341113, -0.0900400057, -0.0918141827, -0.5398306251, -0.278254658, 0.113136135, -0.6898152828, -1.0719746351, 0.3743092716, 0.5078607798, -0.1203210428, -0.4066458046, -0.050558269, -0.0464710928, -0.0818719193, 0.685066402, -0.0818064138, -0.2604032755, -0.4442972839, 0.3631107807, -0.1572777629, 0.3837481141, 0.8020724058, -0.4659208059, 0.7136172056, 0.6817631721, 0.5879182816, 0.3631367981, 0.0377260633, 1.0077773333, -0.3794305921, 0.0019841795, 0.0762758926, 0.2779438198, 0.4645121992, -0.1831854433, 0.8101224899, 0.3527799249, -0.8345333934, -0.7301065326, 0.0433266945, -0.6499265432, 0.2031171471, 0.9943732619, -0.3538953364, -0.152472809, -0.1682106256, 0.0178728495, 0.1407041252, -0.3245715797, 0.9266949296, 0.7332469225, -0.0595703945, 0.3998815119, -0.9896557927, 0.0807059184, 0.3004687726, -0.9056457281, -0.394977659, 0.5128816962, 0.3449589908, 0.1675170362, 0.5278127789, -0.5684065819, 0.1096954346, -0.0019300372, 0.1344047189, 0.3152382672, -0.3967478573, -0.3817587197, -0.4200566113, 0.1005450785, -0.6343919635 ]
http://arxiv.org/abs/2407.03255v1
http://arxiv.org/pdf/2407.03255v1
How Similar Are Elected Politicians and Their Constituents? Quantitative Evidence From Online Social Network
2024-07-03T16:36:26
2024-07-03T16:36:26
Waleed Iqbal, Gareth Tyson, Ignacio Castro
cs.SI
cs.SI, cs.CL
How similar are politicians to those who vote for them? This is a critical question at the heart of democratic representation and particularly relevant at times when political dissatisfaction and populism are on the rise. To answer this question we compare the online discourse of elected politicians and their constituents. We collect a two and a half years (September 2020 - February 2023) constituency-level dataset for USA and UK that includes: (i) the Twitter timelines (5.6 Million tweets) of elected political representatives (595 UK Members of Parliament and 433 USA Representatives), (ii) the Nextdoor posts (21.8 Million posts) of the constituency (98.4% USA and 91.5% UK constituencies). We find that elected politicians tend to be equally similar to their constituents in terms of content and style regardless of whether a constituency elects a right or left-wing politician. The size of the electoral victory and the level of income of a constituency shows a nuanced picture. The narrower the electoral victory, the more similar the style and the more dissimilar the content is. The lower the income of a constituency, the more similar the content is. In terms of style, poorer constituencies tend to have a more similar sentiment and more dissimilar psychological text traits (i.e. measured with LIWC categories).
[ -0.6456020474, -0.0886597633, 0.6980634332, 0.0360191166, -0.3763068914, 0.474922359, -0.2023361325, -0.3163867295, 0.7776471376, 0.479773134, -0.3080276549, -0.2439191192, -0.5807975531, 0.1190457791, -0.1965193301, 0.5095032454, 0.6449040771, 0.2619742751, -0.320053041, -0.2109255195, 0.0769693926, -0.5983146429, -0.3431814611, -0.3622858226, 0.6559243798, -0.0095191142, 0.6679509282, 0.3391412199, 0.3529128134, 0.3517505527, 0.1372708976, -0.2515254617, -1.1223669052, -0.0486529954, -0.4529729187, -0.3674834669, 0.0248794872, 0.2526605427, 0.2580466866, 0.8004282713, 0.2959789038, -0.0615777858, 0.4276056886, 0.8286031485, -0.7750505805, 0.2347296476, -0.8911880851, -0.2195289582, -0.1307745874, -0.4525883496, -0.2601500154, -1.1875517368, -0.1107255295, -0.2621288002, 0.2204752862, -0.1363314986, 0.9075103998, -0.2682562172, -0.6716828942, -0.3166863024, -0.3187654316, 0.4595950246, -0.5995867848, 0.3092750907, 0.1337539554, 0.3856676221, -0.0543780252, -0.6305746436, -0.4660146534, -0.1948108822, -0.1727119684, 0.3990608454, -0.1839104891, -0.0419499725, -0.0104735019, 0.2595438361, -0.5882186294, -0.0727685094, -0.3741631508, -0.2833960056, 0.5124656558, 0.0004406122, 0.0528166182, -0.5645452142, -0.5401704311, -0.1860640198, -0.7864378691, 0.232925415, 0.8799694777, 0.6461437345, -0.0146351466, 0.4503284693, 0.0139908465, 0.496920079, 0.2025664747, 0.2165375501, 0.0182847884, -0.4145592451, 0.4381578565, 0.1200821921, 1.0401405096, 0.7039475441, 0.7222617865, 0.0004640781, 0.0149230603, 0.2077392936, 0.0974144563, -0.7607696652, -0.0676909834, 0.1262985021, -0.7277405262, -0.0162452776, 0.705814898, -0.4276506603, -0.8761153817, -0.1992800236, 0.162375778, -0.058487609, -0.4193226993, -0.5550761819, -0.2675123513, 0.225008443, 0.2000014931, -0.7138212323, 0.192659989, 1.2301777601, 0.9541367888, -0.1647086442, 0.0690372586, -0.3924408257, -0.1424198449, -0.6454774737, 0.8625848889, -0.6316244006, -0.1359955519, 0.1790285408, -0.0699717477, 0.007476232, -0.9174382091, -0.2989172339, -0.4872605205, 0.1892604828, -0.6772443056, -0.6987373233, 0.2683517933, 0.1845934838, -0.8823081851, 0.4969822466, 0.2998041213, -0.6918913126, 0.7101149559, -0.3021458089, 0.0565545261, -0.2237044424, -0.3941692114, -0.0602945127, 0.3126236498, -0.1345581561, 0.7741775513, 0.0894910172, 0.060104616, -0.79904145, -0.393099755, 0.6132444739, -0.0011176913, 0.9585592151, -0.008254868, -0.1535887271, 0.053295318, -0.6676849127, -0.1770398617, -0.3629359603, 0.1894176006, -0.2729415596, 0.0083038062, 0.0956289619, 0.4296385348, 0.1722200811, -0.9187743068, 0.1275987774, -0.3992887735, 0.8787628412, 0.8973389864, 0.3893489242, 0.4584673345, -0.5624577999, 0.3151831925, 0.0301468764, -0.0463849455, 0.2958782315, -0.6499655247, -0.1059773713, -0.1147499457, 0.6154910922, 0.2858921587, -0.2149653435, 0.1829264164, -0.6083788276, -0.4303316176, -0.4149439633, -0.4621123672, -0.2227739394, 0.0075276922, -0.2151315361, -0.3408814371, -0.2992936373, -0.9731951356, -0.8011402488, -0.6520526409, -0.2406566739, 0.4079014361, 0.6076869965, 0.22842969, 1.0437318087, -0.1389021128, -0.0484143049, 0.0960817337, 0.1622833461, 0.0757511556, 0.1308983862, 0.5483821034, -0.6327639818, -0.5715433359, 0.3341083229, -0.2683494985, -0.0923651382, -0.0661270469, 0.0535088591, -0.0219894107, 0.301279664, -0.1790440232, 0.3800005019, 0.4037154913, -0.4302830994, -0.0072886767, 0.1810754389, 0.5067719817, -1.3631216288, 0.0545868389, -0.1159883291, -0.5878041983, -0.2566161156, 0.0302864183, -0.1251719445, -0.0226887763, -0.348926127, 0.339525342, -0.4286460578, -0.5504175425, 0.0214620139, 0.2694706917, -0.1509428173, -0.0572268777, -0.3481078744, 0.8141795993, 0.2800606489, 0.0263874903, 0.5217571855, -0.1783761531, -0.7935806513, 0.8277559876, -0.5359543562, 0.2354539782, -0.1514277756, 0.2243351638, -1.4656001329, -0.4404607117, 0.0476612784, -0.583537221, -0.0768621042, -0.0842851996, -0.3333963156, -0.3609835804, -0.3347756267, -0.1147840843, 0.4926688075, -0.2061550617, 0.5654310584, 0.5813795328, -0.3972349763, -0.2404588759, -0.6419817209, 0.1673432887, -0.3248391151, -0.5112398267, 0.3096808791, 0.5132881403, -0.665435195, 0.4217144847, 0.0996861607, -0.2572267056, -0.3915940225, 0.2922903299, -0.3105420768, -0.1896492988, 0.0233107973, -0.463886261, -0.0272919293, 0.0479391627, 0.0224079378, 0.5547825694, 0.0526345856, -0.2611627579, -0.4748112857, 0.5772296786, 0.4696981907, 0.0438033938, 0.8731792569, 0.3999254107, -0.1963516921, 0.1535061151, -0.4829910994, -0.4117022753, -0.4424711764, 0.1980754137, -0.3482810259, -0.8429273963, 1.0605549812, 0.213042587, 0.3352809548, 0.6453083158, 0.5218268633, -0.1969671994, 0.6872674227, 0.205303967, -0.008590878, 0.3205074668, -0.3092187345, 0.1710661054, -0.1247736812, -0.4061981738, -0.71959126, -0.6301782727, -1.0268802643, -0.2592083514, 0.0406233259, -0.104958564, -0.3880103827, 0.3635528684, -0.6345332265, 0.3895311654, 0.4615702331, 0.1507285386, -0.175811559, 0.2615600228, 0.3959479332, -0.3885959387, -0.4376130998, -0.3847623467, 0.9011970758, -0.1337673217, 0.4600434899, 0.2271362394, 0.8512769938, 0.5368702412, 0.4215388, -0.5666453838, 0.421493113, -0.0283845961, -0.520757556, -0.0275502186, -0.7504380345, -1.1631442308, 0.1173841953, -0.2390447557, -0.7294896841, 0.5857175589, 0.0178775284, -0.2515527904, 0.7345687151, -0.2191495597, 0.65251863, 0.0688607767, -0.3776433766, -0.2788915038, -0.8897109032, -0.1340341568, 0.1904605031, 0.2129619122, -0.2902410626, -0.073451139, 0.8842830658, -0.5438681245, 0.4994972944, -0.258621186, 0.2483355403, 0.3667992055, -0.3087949455, 0.2706223428, -0.3494505882, -0.2356987894, 0.1014186889, 0.3675812185, -0.5922630429, -0.749756813, 0.9099223018, -1.0363823175, -0.4633329809, -0.6020974517, -0.1553281397, 0.0641209632, -0.0353787802, 0.4639910161, 0.7861169577, -0.5947647691, 0.7091134787, -0.0631236583, 0.4538356066, 0.5815460086, -0.2334977984, -0.1513661146, -0.6588150859, 1.0166704655, 0.5990924239, 0.3608236313, 0.5945078731, 0.3845027387, -0.6259928346, 0.0283633415, -0.1276086569, 0.1272591352, -0.4449824691, -0.0948982984, -0.5456428528, -0.0288717113, -0.446891278, -0.2278963178, -0.3356587589, -0.5829793811, -0.350876689, 0.2132258266, 0.2467099875, 1.3368967772, -0.186588034, 0.218984589, -0.1598632336, 0.0270629488, 0.6396435499, 0.2980951965, -0.1391395926, -0.3738552332, 0.1662031561, 0.1758451611, -0.4645527303, -1.5399669409, -0.2336373776, 0.4563809633, 0.2740421295, 1.0497757196, 0.3235639632, 0.7095760703, -0.1978041083, 1.1278357506, 0.2758891284, -0.5203381181, 0.0605121963, -0.3776601851, -0.0307592973, 0.9460907578, 0.5429109931, -0.2401480824, -0.4111289978, -0.7192883492, -0.5037001371, 0.2419636697, 0.3704443276, 0.321102947, 0.0062419595, 0.2125436366, 0.2186268419, 0.3342941403, -0.5886238813, -0.2219737172, -0.451032728, -0.0357591771, -0.0477221161, -0.1059760228, 0.0657915995, -0.014314645, 0.0376398228, -0.078268528, 0.4413360357, 0.0506304614, 0.5834074616, -0.0745568797, 0.265576154, 0.2586183846, 1.2560943365, -0.4524768293, 0.1746976972, -0.2150238603, -0.2221998125, 0.2670935094, -0.292709291, 0.1597145349, 0.2615717351, 0.7323063016, 0.5266427398, -0.1022451743, -0.080708243, 0.7476863861, 0.0379419215, -0.3538352847, -0.2046367079, -0.2205078304, 0.5816380382, -0.0337046646, 0.564751029, 0.2395242453, 0.0062487465, -1.3809225559, 0.1452246457, 0.7129184604, -0.7202208638, -0.5614020824, 0.4645934701, 0.4353176057, -0.8867433071, 0.0799003541, -0.3127567768, -0.5876330733, 0.6848995686, 0.3427171409, 0.5414190292, -0.1448470205, 0.2407807708, 0.2597406507, 0.1080954671, 0.3210247755, 0.3200906217, 0.2447035909, -0.4119533598, 0.0632533953, -0.3454738855, -0.2773555517, 0.1512491554, -0.877839148, -0.0349196345, -0.5238472223, -0.6770867109, 0.1217659861, 0.5169584751, -0.5447170138, 0.05802406, -0.3298762441, 0.526170671, -1.1180428267, 0.0228144582, 0.633389473, -0.0007873151, -0.8180104494, 0.30155164, -0.1107778698, -0.4569404125, 0.0790707469, 0.4356014132, 0.1366572976, -0.2564598918, -0.2132433504, -0.3495915234, 0.6711137295, 0.7079362869, -0.8205094934, -0.1065033153, 0.450032711, 0.4494947195, -0.647012949, 0.6227993965, 0.1241962835, 0.3621118069, 0.0349748842, -0.6256715059, -0.1256539971, 0.0089907805, -0.0795508996, 0.2897488475, -0.9450100064, 0.85190624, 0.1568479091, -0.4450106621, -0.1109044179, 0.6220481992, 0.0625493079, 0.4120959938, 0.6946313381, 0.1771275848, 0.5819080472, -0.2174945176, 0.9991288185, -0.7740008831, 0.1830883622, 0.689026475, -0.3137055933, 0.8762567639, 0.5908236504, -0.4689076841, 0.6830627918, 0.7368605137, 0.2555837333, 0.6552859545, 0.3445223272, -0.0176384356, -0.3309080899, -0.2927906513, -0.5775486231, 0.4241251945, -0.0049142046, -0.2628445029, -0.0979019403, -0.1514343917, -0.2193128616, 0.6817151308, -0.3418361545, 0.9328900576, 0.3171367943, -0.5490036011, 0.0791384056, -0.6781200767, 0.0434486084, -0.2866414487, 0.001304218, -0.2001497149, -0.0863627419, -0.1474102587, -1.2407847643, 0.3019005358, -0.1115528047, 0.0048210253, -0.1077113375, 0.3806691468, -0.1773615479, -0.485991925, 0.5275222659, 0.6709040403, 0.313370049, -0.2420806438, -0.6565744877, 0.1600135565, 0.0360795334, -0.3471702635, 0.065173611, 0.3922074437, 0.2025060058, 0.506244421, 0.363676101, 0.6881348491, -0.0262722, 0.1848992556, 0.9670545459, -0.3637055755, -0.6077651978, -0.6651009917, 0.2815020084, -0.6609349251, -0.6683419347, 0.6749005318, 0.8006248474, 0.8651928902, 0.0882009566, 0.532853663, -0.2061060816, 0.6494699717, -0.1460965574, 0.941021204, -0.6667075157, -0.2018102705, -0.094146654, -1.3889403343, 0.2015609294, 0.7027459145, -0.4580961466, 0.2651817501, 0.4167507589, 1.0214312077, -0.5078096986, -0.1290340573, 0.3244633675, 0.0701848343, -0.0791915655, 0.2163569182, 1.127643466, -0.026214784, 0.4416753948, -0.0904259682, 0.1800656915, -0.2549414039, -0.5343465209, -1.0659793615, -0.8407500982, -0.2635914087, -0.5309417844, 0.295157671, 1.0459655523, 0.8645487428, -0.9024691582, -0.2908639312, 0.1191936657, -0.0900694802, 0.0522860475, -0.2864770591, 0.4026343226, 0.4526928961, -0.5929533243, -0.3177747428, 0.2457851321, -0.4550934434, -0.370947063, 0.1711436957, 0.0758723095, 0.2934631109, 0.3075265586, -0.0763013959, -1.0955219269, -0.6022980213, -0.1402081847, -0.5264424682, 0.3343145251, 0.8919640183, -0.718229115, 0.4265996516, 0.970273912, 0.0729111582, 0.3106823564, 0.620310843, 0.368656069, -0.5209233761, -0.018477561, 0.358872056, 0.0154131101, 0.6724094748, -0.0702585727, 0.4729807079, 0.2605471015, -0.5890042782, -0.6806553006, 0.3926356435, -1.0594749451, -0.081023626, 0.8090432286, -0.2160364836, 0.0133078108, -0.0699204654, -0.0272067878, 0.2398637831, -0.6055782437, 0.6485225558, 0.4088083804, 0.0120040691, -0.3327424526, -0.2363737524, 0.2469702661, -0.1583675295, -0.5972815752, -0.1762617677, 0.0734186321, 0.1749069393, 0.2402948141, 0.7054660916, 0.2572605014, 0.1094841287, 0.3151804507, -0.5413035154, 0.1982656866, -0.3195747733, -0.0013471439, 0.6015052199, -0.3636337817, -0.0482704192 ]
http://arxiv.org/abs/2407.03253v1
http://arxiv.org/pdf/2407.03253v1
STF: Sentence Transformer Fine-Tuning For Topic Categorization With Limited Data
2024-07-03T16:34:56
2024-07-03T16:34:56
Kheir Eddine Daouadi, Yaakoub Boualleg, Oussama Guehairia
cs.CL
cs.CL
Nowadays, topic classification from tweets attracts considerable research attention. Different classification systems have been suggested thanks to these research efforts. Nevertheless, they face major challenges owing to low performance metrics due to the limited amount of labeled data. We propose Sentence Transformers Fine-tuning (STF), a topic detection system that leverages pretrained Sentence Transformers models and fine-tuning to classify topics from tweets accurately. Moreover, extensive parameter sensitivity analyses were conducted to finetune STF parameters for our topic classification task to achieve the best performance results. Experiments on two benchmark datasets demonstrated that (1) the proposed STF can be effectively used for classifying tweet topics and outperforms the latest state-of-the-art approaches, and (2) the proposed STF does not require a huge amount of labeled tweets to achieve good accuracy, which is a limitation of many state-of-the-art approaches. Our main contribution is the achievement of promising results in tweet topic classification by applying pretrained sentence transformers language models.
[ -0.6572132111, -0.9692801237, 0.3194382787, 0.3296204209, -0.6156793237, 0.1724786609, -0.4535619318, -0.0570020676, 0.2967122495, 0.5681683421, -0.7545052171, -0.3828319609, -0.9313421249, 0.0218619928, -0.5763369799, 1.2262767553, -0.102616705, -0.3354783356, 0.105640538, 0.0598888472, -0.6365661025, -0.0114136403, -0.5692379475, -0.0964424238, 0.4264183939, 0.897840023, 0.5616580248, 0.5132929087, 0.6987880468, 0.2413194925, 0.0574607737, 0.2132515013, -0.623246789, 0.0776541904, -0.3257490396, -0.2237793505, -0.0790735632, -0.0845818892, 0.4649761319, 0.4636127949, -0.1238007918, 0.1837723702, -0.0327860527, 0.2958129644, -0.3722681105, -0.0190785956, -0.7268764377, 0.1311559081, -0.2863157988, -0.6361382604, -0.2640148997, -0.2756764889, 0.1776554435, -0.2485743016, 0.7197754383, 0.1237037703, 1.2884327173, 0.4703564048, -0.5016334057, -0.0447873957, -0.7247257829, 0.6651631594, -0.2991171181, 0.2288556248, 0.2294318825, 0.3592219949, 0.0535475276, -0.9646157622, -0.4624640942, 0.0729413554, -0.1530237645, -0.032332018, -0.4050972462, 0.0609585568, 0.2436645925, 0.3634341359, -0.690155983, 0.1706464142, -0.308364749, -0.0953656584, 0.4794983864, 0.1291529089, 0.0806640238, -0.2963708937, -0.1328253001, 0.1337610036, -0.1937368065, -0.1478564143, 0.0983627066, 0.5586313605, -0.0416765586, 0.4488546848, -0.4416795671, 0.394887656, 0.2255701721, 0.2804714739, 0.0926531702, -0.2120915353, -0.1794723719, -0.068417348, 0.8730204701, 0.3971859515, 0.4027208686, -0.2521967888, -0.1957900375, 0.1698468328, 0.5587943196, -1.219555378, -0.3371121883, -0.0119123021, -0.5656960607, -0.4663632214, 0.2592251003, -0.6420015097, -0.2088378668, -0.1641783863, 0.4948457778, -0.3082818389, -0.1820996106, 0.1564971358, -0.0864439607, -0.2679573596, 0.3064523041, -1.0087518692, 0.0327058882, 0.7528434992, 0.7799375057, -0.2181287259, -0.1940828413, -0.7052880526, -0.1497377157, -0.2739741504, 1.1466144323, -0.6863892078, -0.13457717, 0.0621386059, 0.0556594953, -0.0318225846, -0.3292063177, 0.9235320091, -0.4295945466, 0.0759437606, 0.0556126907, -0.6424709558, 0.5479243398, 0.0386664607, -0.3910042644, 0.8314387202, 0.0109334681, -1.0120691061, 0.6851089001, -0.7361791134, -0.7364171743, 0.0324256904, 0.1234176755, -0.422267437, 0.3174681962, 0.3208139539, 0.8125100732, -0.3153108358, 0.7844223976, -0.1210982352, -0.5682746172, 0.0068081897, -0.4632219076, 0.1912939996, 0.494371295, -0.0510715842, 0.5377904177, -0.4700789154, -0.1359090358, -0.0454548337, -0.0650148168, -0.0325089507, 0.0351325758, 0.255166322, 0.103383109, 0.0695507377, -0.4855008125, 0.1846798509, -0.3969415724, 0.8512172699, 0.4856955409, 0.2126293033, 0.6360848546, -0.289645344, 0.326094538, 0.0751537979, 0.1506787091, -0.1271500587, -0.3316498995, -0.9531582594, 0.0211978741, 0.4834081233, 0.3767628968, -0.7907819748, 0.8986849785, -0.4155103266, -0.6480770707, -0.4539863765, -0.1338317245, -0.1886806786, 0.3743709624, 0.435244143, 0.1555510461, -0.4959833622, -0.9725928903, -0.3579805493, -0.0368685238, -0.2908203602, 0.0443135202, 0.4470430613, -0.1730109006, 0.8961707354, -0.7746184468, -0.4089114964, -0.3038267195, 0.6053473949, 0.0805345401, 0.4111185074, 0.3725916147, -0.9712236524, -0.3556909859, -0.1989370435, -0.1696173698, -0.2693207562, -0.0537329875, -0.1766389459, -0.1001436487, 0.6948016286, -0.6761572957, 0.4529033005, 0.0985200331, -0.3959271014, 0.1678151339, 0.0216426887, 0.042196963, -1.2377873659, -0.2863095999, 0.2401429862, -0.3166334331, -0.8045498133, -0.2577960491, 0.3360561728, -0.2278372943, -0.3521461189, 0.2946807742, 0.3351858556, 0.4944697022, -0.7503445148, -0.097021386, -0.2389419228, 0.2434532046, 0.1413744092, 0.6292014122, 0.4305369258, -0.5954381227, 0.2544389963, 0.3799434602, -0.3235442936, 0.2440293282, -0.5050294995, -0.0022737039, -0.1354198307, 0.1966485679, -0.9976763129, -0.2592409849, 0.2217201293, -0.4381061792, 0.2791651785, 0.0394875593, -0.7732150555, -0.479034245, -0.1004693806, -0.0962407663, 0.4002673924, -0.4318705499, 0.3160719573, 0.2409782708, -0.1835250854, -0.2434032857, -0.5184120536, 0.0356947295, -0.3396746814, -0.5577145815, 0.5562077165, 0.1720331609, 0.3185576797, 0.069644399, -0.3480447531, -0.1615248024, 0.1239476725, 0.1154620051, -0.1360101551, -0.2137824148, 0.7225266099, 0.2842403948, -0.3846211731, -0.3720960617, -0.2653571963, 0.6766422987, -0.2461745888, 0.1258738935, -0.5493266582, 0.1997834146, 0.2625836432, -0.4784898162, 0.6430575848, 1.0858464241, -0.4873825908, -0.5211892128, -0.5069642067, -0.3943579495, -0.5027651787, 0.4275332391, -0.3654938638, -1.3909381628, 0.1356136352, -0.2262020111, -0.1987994909, 0.6529894471, 0.2045346797, -0.2232878357, 0.614674747, 0.9622647762, -0.1178071946, 0.6915953755, -0.1348211467, 0.4525159597, -0.2095244825, 0.2408845723, -0.7991107106, -0.4702517986, -0.8446909785, -0.2315751314, -0.1777392626, 0.1531202048, -0.4257392585, 0.5710861087, -0.7574549913, 0.5075893998, 0.5440806746, 0.2179256678, 0.0413847081, 0.0011667705, 0.5759253502, -0.1731163114, -0.5004202127, -0.6828400493, 0.6583839059, 0.478971839, 0.6934878826, -0.2380339354, 0.4740606546, 0.3425870538, 0.3314223588, -0.7322313786, 0.5145368576, -0.7696262002, -0.4376495779, -0.5652548075, -0.4679553509, -0.641262114, -0.0325564146, -0.3195513487, -0.7619712949, 0.0582685024, -0.116239734, -0.3201982379, 0.3064453006, -0.7916634679, 1.1872237921, -0.0467881635, 0.014979858, -0.2169740796, -0.5442217588, -0.0378061421, -0.2767190933, -0.3426820636, -0.5301095247, 0.0079435203, 0.8996194005, -0.1755659282, 0.6048773527, -0.3500315249, 0.054153081, 0.0146018779, -0.301021874, 0.3825748861, 0.346513629, -0.0711747482, -0.0424313843, -0.0677140206, -0.3080852032, -0.4780784845, 0.5793007612, -0.5669028163, -0.776586473, -0.1928134114, -0.4200264812, -0.4270763099, 0.4051338136, 0.6294754148, 0.0713969097, -0.245839268, 0.5953861475, 0.4892627895, -0.1136561632, 0.5194598436, 0.3156078458, 0.1124951765, -0.0523809828, 0.8896282911, 0.0418641791, -0.2036995739, 0.7997178435, 0.1970234066, -0.1766956896, -0.8331408501, -0.1075109318, -0.1049613282, -0.3976606429, -0.5445402861, -0.8236382008, -0.3832810521, -0.3695906997, -0.0647332221, -0.4347254634, -0.2920328677, -0.7885165215, -0.2657095194, 0.4306761026, 0.3441328108, 0.3293028176, 0.7617459297, -0.781476438, 0.7718583941, 0.098252207, 0.6812700629, -0.4214872122, -0.7742462754, -0.0993885845, -0.0875928774, -0.5750421286, -0.5787993073, 0.2253343612, 0.4259286225, 0.2054326236, 0.6117265224, 0.6488727331, 0.7498698235, -0.4871204197, 0.4922718406, 0.0702808648, -1.0283565521, 1.0118461847, -0.4163344502, 0.2227808386, 0.7566598654, 0.1300739497, -0.5017179251, -0.5655214787, -0.4685367048, -0.7042348385, 1.0442270041, 0.4635100663, 0.5722353458, 0.0496383943, 0.3780400157, 0.3062999845, 0.3606974483, -0.2115153521, -0.0468036458, -0.4067459106, -0.3554145098, -0.3779271245, -0.2308413535, 0.2659131587, -0.2582653463, 0.2927627563, -0.1535221189, 0.4166205227, -0.1070356742, -0.1643724144, -0.487852037, 0.4149361849, 0.5321233869, 0.4910754561, -0.3700048625, 0.1349030286, 0.2091969699, -0.3379142284, 0.0992277935, 0.4480151534, -0.1336106956, 0.0413437001, 0.2710805535, 1.0620223284, 0.1211499348, -0.4025560319, 0.526204288, -0.2672795653, -0.3155198395, -0.1141955033, 0.3605512083, 0.13556014, 0.2999450862, 0.5394573212, 0.4140594304, 0.0088322731, -0.2298700958, 0.6163881421, -0.0017707581, -0.4817137122, -0.1591077894, 0.6170354486, 0.2613287568, -0.4332778752, 0.4473794103, -0.2522977591, -0.5278760195, 0.6374461651, 0.2850893736, 1.0044964552, -0.1371863335, 0.495492816, 0.115568094, 0.3707299531, -0.191544801, 0.0967546701, -0.1156875193, -0.8874230385, -0.3691335917, -0.7808719277, -0.2625721395, 0.3450427651, -0.5458997488, 0.6079941392, -0.4495748281, -0.305880636, 0.5154666305, 0.182240203, -0.5785313845, 0.3772244453, -0.1033725813, 1.1061770916, -0.8960248232, 0.8787851334, 0.7627421618, -0.107926853, -0.5138679743, 0.5962246656, -0.6240375638, -0.1808401197, 0.6254646778, 0.3893930912, 0.1782233566, 0.1255520582, -0.4920023382, -0.446995765, 0.7873811722, 0.4653877914, -0.4382834136, 0.0454281345, 0.2824020684, 0.6807941198, -0.4128568172, -0.029659804, 0.5075849295, 0.4463734329, 0.1153633595, -1.0466595888, -0.0013261583, -0.2611071169, 0.058325734, 0.4133688211, -0.7411193848, 0.4746284783, 0.0968044326, -0.2163247466, 0.0061882744, 0.8624600768, -0.1475231946, 0.6510440111, 0.4750333428, 0.3468524516, 0.6432313919, -0.6542329788, 0.6591846347, -0.0769170225, 0.643889606, 0.8134368062, -0.0944115445, 0.777515173, 0.314291656, -0.0645278171, -0.1946741939, 0.943295598, -0.3078274727, 0.7635647655, 0.2390210927, 0.2082823217, -0.4795383513, -0.3426108658, -0.2198199034, 0.3231162131, 0.4470924437, -0.1421329528, -0.2442391366, 0.5361329317, -0.3120296299, 0.0309873912, -0.237928316, 0.6541898251, 0.0205501914, -0.5591410398, 0.3769633174, 0.1844391674, 1.0365048647, -0.3092825115, 0.2953491509, -0.1821285784, 0.2727087438, -0.1809481978, -0.8257683516, 0.5262960196, 0.1287233382, -0.1485136002, -0.5363084078, 1.2495676279, -0.2793678343, -0.3651103079, 0.16267398, 0.2433750927, -0.2429264039, -0.3944909573, -0.38711676, -0.0260175634, 0.0137860654, -0.2868104875, -0.0716936737, 0.7181980014, 0.0826766416, 0.7003353834, 0.2905322015, -0.2116469443, -0.2557187378, 0.1309365332, 0.7628603578, -0.8449169397, -0.7046648264, -0.6393575072, 0.2646850049, -0.0346587114, -0.6202694774, 0.3657425344, 0.4146088362, 0.8104935288, -0.2859340012, 0.7145082951, 0.0213931501, 0.7796192169, -0.3423999846, 0.8246997595, -0.6672267318, 0.2142242789, -0.1377660036, -0.8349041939, -0.5582319498, 0.5153514743, -0.4252393246, 0.0588134862, 0.7701599002, 0.5802969337, -0.3526560664, 0.5667555928, 0.2925143242, 0.0104444409, 0.39229545, 0.3946127594, 1.0580121279, -0.405569762, 0.7805589437, -0.4502915144, 0.1470670551, -0.6202561259, -0.5832333565, -1.1927640438, -0.6935001612, -0.4761776328, 0.0358288065, 0.0619385988, 0.7849126458, 0.7862375975, -1.0420652628, 0.2262919396, -0.491150558, -0.0308986157, 0.2066510916, -0.2718107402, 0.5756005049, -0.4832372963, -0.6328551769, 0.0502155982, 0.0952014476, -0.0278195478, 0.2904177308, 0.1812284738, -0.0981694683, -0.1732158512, 0.5107480288, -0.0778451338, -0.5551996231, -0.6025975943, 0.1116387323, -0.1976408064, -0.0236626398, 1.0023200512, -0.4343181849, -0.0505767167, 0.6090795398, 0.6137760878, 0.760756135, 0.1016761884, 0.2255914509, -0.974506259, 0.057928253, 0.3875970542, 0.1897949278, 0.0784462541, -0.3083107471, 0.3749112785, -0.0094550895, -0.4212145805, -0.8497688174, 0.1830025017, -0.9138795733, -0.3502115309, 0.9401468635, 0.3647196293, 0.2519075274, -0.1210706383, -0.2574784458, 0.6303482056, -0.6179469824, 0.841769278, 0.6804547906, 0.0470008887, -0.4616906047, -0.6046037674, 0.5092493296, 0.342541486, -0.8197034597, 0.01392073, -0.0058372673, 0.0666196719, 0.2118664384, 0.4665599465, 0.4346567988, 0.2083452344, -0.4227145612, -0.3224761784, -0.0158592071, -0.4954298139, -0.1816474795, 0.501288414, -0.2035774589, -0.4082501233 ]
http://arxiv.org/abs/2407.03236v1
http://arxiv.org/pdf/2407.03236v1
CATT: Character-based Arabic Tashkeel Transformer
2024-07-03T16:05:20
2024-07-03T16:05:20
Faris Alasmary, Orjuwan Zaafarani, Ahmad Ghannam
cs.CL
cs.CL
Tashkeel, or Arabic Text Diacritization (ATD), greatly enhances the comprehension of Arabic text by removing ambiguity and minimizing the risk of misinterpretations caused by its absence. It plays a crucial role in improving Arabic text processing, particularly in applications such as text-to-speech and machine translation. This paper introduces a new approach to training ATD models. First, we finetuned two transformers, encoder-only and encoder-decoder, that were initialized from a pretrained character-based BERT. Then, we applied the Noisy-Student approach to boost the performance of the best model. We evaluated our models alongside 11 commercial and open-source models using two manually labeled benchmark datasets: WikiNews and our CATT dataset. Our findings show that our top model surpasses all evaluated models by relative Diacritic Error Rates (DERs) of 30.83\% and 35.21\% on WikiNews and CATT, respectively, achieving state-of-the-art in ATD. In addition, we show that our model outperforms GPT-4-turbo on CATT dataset by a relative DER of 9.36\%. We open-source our CATT models and benchmark dataset for the research community\footnote{https://github.com/abjadai/catt}.
[ -0.2488677949, -0.7159472108, 0.1889295727, -0.0544370189, -0.6737225652, 0.6458414793, -0.0008428904, -0.4635220468, -0.0817852318, 0.5574676991, -0.364687562, -0.7348193526, -0.587027967, 0.244432807, -0.5568024516, 1.2376668453, -0.3155485392, 0.1250857562, 0.7110809684, 0.0367112756, -0.2566083968, -0.6161769032, -0.5580588579, -0.1596306711, 0.1965269893, 0.4445647299, 0.8449980617, 0.7183308005, 0.7604920864, 0.2046814412, -0.0736277476, 0.109610334, 0.0260632429, 0.1908839196, 0.1861379296, -0.1891971081, -0.3359777331, -0.3144677281, 0.7065608501, 0.3858575225, -0.2352318317, 0.0924437642, 0.0109000821, 0.4698070586, -0.4702484906, 0.0003483709, -0.5987176299, 0.1679436564, -0.4449149966, 0.0866500884, -0.5717798471, -0.7596934438, 0.0174081195, -0.4568212032, 0.3572289348, -0.0265367404, 0.9378954768, 0.4168257415, -0.6697734594, -0.048710797, -0.7677228451, 0.8489023447, -0.5994977951, 0.8094665408, 0.4058048427, 0.4079471529, 0.1841896325, -0.8583112359, -0.5237208009, -0.208703503, 0.1726061702, 0.2620967925, -0.0022562235, 0.344319433, 0.1864280999, 0.5415190458, -0.5840291381, -0.0959967226, -0.2211054564, -0.0807143152, 0.2762306333, 0.0613513626, 0.319299072, -0.1541455537, -0.5464966297, -0.3866325915, -0.453196913, 0.2094585299, 0.1033520401, 0.3084270954, -0.1555390358, 0.4782358706, -0.0640772134, 0.1683052927, 0.2644121945, 0.1095619351, 0.136327967, -0.3301904798, -0.2119874209, 0.1312539428, 0.6598910689, -0.2088183165, 0.5278016329, -0.213209644, -0.3933410645, -0.044935625, 0.4583830833, -1.1740044355, -0.4229356945, -0.0985872373, -0.6110505462, -0.6202577949, -0.0051088873, -0.469504267, -0.1870097518, -0.0738875195, 0.3641139269, -0.6428689957, -0.2695741355, 0.183525309, 0.1440401226, 0.0385588706, 0.1737859249, -0.9668557048, 0.55797261, 0.2124541104, 0.9807393551, -0.3422497809, 0.0122783696, -0.1968142539, 0.1352964193, -0.456284374, 0.792306006, -0.6093662977, -0.5563439131, 0.0627243295, -0.3155469894, -0.0763657913, -0.2734747231, 0.8620636463, -0.7653817534, -0.0789489597, -0.1701450199, -0.1858237535, -0.3567824364, 0.1435805857, -1.0554372072, 1.1518993378, 0.1729327589, -1.003013134, 0.3831029534, -1.2219375372, -0.3888011277, 0.1232398972, 0.2645665109, -0.9816149473, 0.0480027311, 0.6121332049, 0.2043073922, -0.2031529397, 0.3216118515, -0.0211230908, -0.511768043, 0.3494758606, -0.6763939261, 0.9307343364, 0.4453811347, -0.1550204158, -0.0135863479, -0.7774362564, 0.2257513255, -0.038241379, -0.5262714624, -0.2044728547, -0.1028614193, 0.5476410985, 0.0439085476, 0.0607118942, -0.7299501896, 0.1643905342, -0.5246382952, 0.5209300518, 0.5944163799, 0.1490190476, 0.0391454473, -0.3218336701, 0.7705549598, 0.1187235564, 0.3133070171, -0.0648632571, -0.3368701637, -0.7947076559, -0.3973464966, 0.5927770138, 0.3596328497, -1.15992558, 0.0705932826, -0.3431514204, -0.5230153799, -0.6399149895, -0.3305852115, 0.5902440548, 0.312297821, 0.6353259087, -0.5283352137, -0.5972512364, -0.8070975542, -0.2655220926, -0.5297724605, 0.1892029345, -0.2757600844, 0.4871590436, -0.087376684, 0.969391942, -0.1139587462, -0.0829807222, -0.3046523035, 0.3311903775, -0.0179712698, 0.452249527, 0.3213344216, -0.8218932748, -1.1001127958, 0.184213236, -0.1433887333, -0.1900673062, 0.189759776, -0.0301561635, 0.139371112, 0.1734842956, -0.4605669081, 0.8877573013, 0.3240893781, -0.2541597188, 0.8989945054, 0.2128465325, 0.5398846269, -1.3404787779, 0.0881261528, -0.1791397184, -0.4417446256, -0.9442625642, 0.1561021507, 0.2758179307, -0.3120951056, -0.48156932, 0.3212246597, -0.2385615855, 0.1817926317, -0.2814159989, -0.6525862217, -0.0711559951, 0.6844914556, 0.241618067, 1.3301459551, 0.0896516815, -0.4199980199, 0.1202822924, 0.6230598092, -0.4749570191, 0.0696498826, -0.6989452243, 0.1326668262, 0.3359183967, 0.325145632, -0.9919670224, 0.04508112, 0.1911016107, -0.4450826943, 0.2470028102, -0.0005853069, -0.6911154985, -0.4848794043, -0.4347930849, 0.9387305379, 0.6085047722, -0.6213417649, 0.595584929, 0.024393782, -0.0597379468, -0.5357528329, -0.7926135063, -0.0578233488, -0.3277362287, -0.3979421258, 0.6163696051, -0.0472932234, 0.064332664, -0.3213878274, -0.0985762179, -0.7344138622, 0.1961413771, 0.1259163022, 0.0835072547, -0.272374332, 0.1804988533, 0.0322440229, -0.1836657524, -0.092513822, -0.2185816169, 0.5469655395, 0.0146871889, -0.5388972759, -1.0151693821, 0.2503068745, 0.475902766, -0.6056523919, 0.5101662278, 0.8183093071, -0.2984928787, -0.0744716749, -0.4014072418, -0.4163240194, -0.5189940929, 0.7404100895, -0.5280686021, -0.5394051075, 0.5278796554, 0.1598931253, 0.3202574849, 0.3023996949, 0.6329407692, 0.1239306554, 1.3214519024, 0.9987620711, -0.1251588464, 0.7294703126, 0.0516973548, 0.3448244333, -0.6262729764, 0.0736858249, -0.6761482954, 0.0050602374, -0.6029389501, -0.2132212222, 0.4215380549, -0.1366315037, -0.6925370097, 0.3934007883, -0.582515955, 0.5484591126, 0.356916368, 0.3010168374, 0.4956707954, 0.4108270705, -0.2099588662, -0.3407518268, -0.4938510358, -0.7041947842, 1.4042370319, 0.5195791721, 0.7749762535, 0.2895783484, 0.5701677799, 0.695792675, 0.3312750161, -0.7163517475, 0.2032209784, -0.2975009084, -0.5986071229, -0.2741984427, 0.0294216499, -0.6733613014, 0.0555547737, 0.0733619258, -0.6948682666, 0.0091875279, 0.0732446387, -0.4849427044, 0.6143248081, -0.6864036918, 0.4531519413, 0.1997435689, -0.1150565147, -0.0470090806, -0.4451937377, 0.503095746, -0.4964217544, -0.076795809, 0.3511680365, 0.1062225699, 1.0113096237, -0.7047054768, 0.7210394144, -0.103114374, -0.1864151359, 0.3756242096, 0.1657403409, 0.5243779421, -0.0828449503, -0.3544381559, 0.1882544756, 0.0826755613, -0.2260141522, -0.4578347206, 0.0878350362, -1.0873525143, -0.4801124632, -0.399592936, -0.4881364703, -0.1466482878, -0.0274441168, 0.1920123249, 0.6355196834, -0.1274532229, 0.1513136923, 0.7518453598, 0.032969404, 0.5494836569, 0.4671087563, -0.2152344584, -0.436052531, 0.6934188604, -0.0880426094, 0.3770023584, 0.4590323269, -0.1029692665, -0.4993886948, -0.5837398767, -0.5612848997, 0.0068099997, -0.7988114953, -0.4134851694, -0.6716389656, -0.7294828296, -0.0491733551, 0.010919706, -0.5935924649, -0.4950808585, -0.1921122223, 0.1046565175, 0.5461818576, 0.7195614576, 0.3831493556, 0.740134418, -0.7123057246, 0.2001983523, 0.0500256494, 0.2507262528, 0.2636219859, -0.9364044666, -0.6681171656, 0.0552665293, -0.8398762941, -0.8959770203, 0.4483590722, 0.2249137014, -0.0502164811, 0.3619724512, 0.1988478005, 0.7410311103, -0.6473602653, 0.8256548047, 0.1250532717, -1.1157574654, 0.2505542934, -0.1904900521, 0.3609368801, 0.5042707324, 0.2487631291, -0.6157966852, -0.4381490052, -0.3362392187, -0.3396655917, 0.8046893477, 0.585804224, -0.1067671403, 0.052077394, 0.2288526893, 0.2824285328, -0.0260074083, -0.8356086612, -0.066453822, -0.4406294525, -0.6019057035, 0.4093509018, -0.4023204744, 0.4811772406, -0.3520139754, 0.9566189051, 0.0782172233, 0.3940739632, 0.104236424, -0.3512629569, -0.0917364359, 0.2603013515, 0.3248554766, 0.2022776753, -0.2238277644, 0.0281722154, 0.306609571, -1.2055443525, 0.400923878, 0.0420837887, -0.1294015795, 0.1929295808, 0.3520898521, 0.7048175335, 0.0459391177, -0.3392564654, 0.5226675868, -0.1756251305, -0.2772545516, -0.1888953596, -0.1054824442, -0.4703051448, 0.2252124995, 0.4345073104, -0.0232948326, 0.2647130489, -0.0846159309, 0.2821463346, 0.3386721313, -0.446342051, -0.5760065913, 0.8412995338, 0.2551889122, -0.3864260316, 0.6640969515, 0.1938107163, -1.0754411221, 0.5265030861, 0.6771511436, 1.0553251505, -0.5785031319, 0.1804510951, 0.2832140028, 0.2545052469, 0.1985997409, 0.2944692969, -0.3396411538, -0.5996130109, -0.4492713213, -0.7325949073, -0.3802020848, 0.0998916775, -0.5827409029, 0.5281775594, -0.4595893323, -0.3411649466, -0.0152774276, 0.5250624418, -0.6024048924, 0.2669218481, -0.163465485, 0.7372219563, -0.8425151706, 1.2426793575, 0.6930676103, -0.5037316084, -0.7880940437, 0.2329056859, -0.2813152373, -0.8354003429, 0.7506404519, 0.1774015427, -0.0459339619, 0.5611715317, -0.3616782427, -1.012603879, 0.8944576979, 0.0140979001, -0.4863991141, -0.050773602, 0.5304669142, 0.3821161687, -0.1151182726, 0.8169646263, 0.5180798173, 0.4577535093, -0.1762979776, -1.085906148, -0.0389187522, -0.2809997499, 0.3932991922, 0.3103857636, -0.6200145483, 0.9907594323, -0.0529648885, -0.5078523755, 0.4034543633, 0.5408201814, 0.1009009928, -0.3050972819, 0.3464324176, 0.3316507936, 0.483453691, -0.016767405, 0.7597080469, -0.3449246287, 0.2732370794, 0.6376521587, -0.0734059513, 0.6580432653, 0.3521665335, -0.2836160958, 0.6495953202, 0.9518565536, -0.0190577284, 0.8058796525, -0.0736386329, -0.3919817209, -0.3482839763, -0.2485849708, -0.435259223, 0.4274723828, -0.0253501497, -0.4043633938, -0.4057225287, 0.2499375194, -0.2702487111, 0.3140636384, -0.0439254604, 0.724039197, -0.1638181359, -0.1003056094, 0.9873699546, 0.4341848493, 0.580200851, -0.4999825656, -0.0227459744, -0.2527700663, 0.0863978192, 0.0156785063, -0.4877957702, 0.2348464876, 0.3341465294, -0.4276480079, -0.1461271495, 0.5983863473, -0.3802286386, -0.5544803143, -0.3289085031, 0.3080627918, 0.2796496451, -0.0604691543, -0.6537982821, 0.165401876, 0.3312682211, -0.2862226665, -0.1892598867, 0.457690984, -0.7047790289, 0.6597302556, 0.520241797, -0.1171903163, -0.0991484597, 0.2328038067, 0.8239099383, -0.7318711281, -0.6894942522, -1.0155981779, 0.5496460795, 0.1793587953, -0.2877255976, 0.5031802058, 0.5493026376, 0.4711812437, -0.0775922537, 0.8154199719, 0.4368161559, 0.5920577049, -0.5483702421, 1.1164402962, -0.3608889282, 0.096385628, -0.2427372038, -1.0477477312, -0.3747733235, 0.5143202543, -0.1173559353, 0.2554286122, 0.9800928831, 0.6035436988, -0.2372982651, 0.5120353699, 0.297072053, -0.0162889827, 0.7010211945, 0.6605689526, 0.7722949386, -0.7572470903, 0.5512986779, -0.1633858383, -0.0124536669, -0.204029426, -0.5553202629, -1.2622767687, -0.8134570122, -0.253557235, -0.0109157655, 0.3610405326, 1.0496379137, 0.7856018543, -0.7410915494, -0.0781683698, -0.2759059668, -0.1802190095, -0.1565301865, -0.152496174, 0.7500450611, -0.3199415803, -0.8014116287, -0.0562523976, -0.1585084498, 0.4993834794, -0.1273796558, -0.0709065646, -0.0116760852, 0.1410943568, 0.338596642, -0.0539290421, -0.8612817526, -0.2464049608, -0.3177240789, -0.2113120109, 0.3090215921, 0.5868619084, -0.889954567, 0.4362270236, -0.1102208793, 0.7768762112, 0.5850678086, 0.3390869796, 0.372929275, -0.7105519176, 0.2108443528, 0.228068307, -0.1520412117, 0.3122106791, -0.2445128113, 0.3376108706, 0.0180969071, -0.4579039812, -0.9207802415, 0.1816948801, -0.5479282737, 0.0982220918, 0.8356186748, -0.0433200747, -0.1819852889, -0.3353898823, -0.2806710303, 0.7289310098, -0.574072063, 1.097312212, 0.8439936638, 0.4772481322, -0.1609358937, -0.5718202591, 0.777805388, 0.5079458356, -0.5357373357, 0.1479789466, -0.0879003853, 0.1423005313, -0.1564076394, 0.4143432379, -0.0903698057, 0.3755755723, -0.151463747, 0.4862832725, -0.2648344934, -0.2436241359, -0.1482823342, -0.1908013374, 0.166060403, -0.3833018541 ]
http://arxiv.org/abs/2407.03234v1
http://arxiv.org/pdf/2407.03234v1
Self-Evaluation as a Defense Against Adversarial Attacks on LLMs
2024-07-03T16:03:42
2024-07-03T16:03:42
Hannah Brown, Leon Lin, Kenji Kawaguchi, Michael Shieh
cs.LG
cs.LG, cs.CL, cs.CR
When LLMs are deployed in sensitive, human-facing settings, it is crucial that they do not output unsafe, biased, or privacy-violating outputs. For this reason, models are both trained and instructed to refuse to answer unsafe prompts such as "Tell me how to build a bomb." We find that, despite these safeguards, it is possible to break model defenses simply by appending a space to the end of a model's input. In a study of eight open-source models, we demonstrate that this acts as a strong enough attack to cause the majority of models to generate harmful outputs with very high success rates. We examine the causes of this behavior, finding that the contexts in which single spaces occur in tokenized training data encourage models to generate lists when prompted, overriding training signals to refuse to answer unsafe requests. Our findings underscore the fragile state of current model alignment and promote the importance of developing more robust alignment methods. Code and data will be made available at https://github.com/Linlt-leon/Adversarial-Alignments.
[ -0.3383045793, -0.702206254, 0.4474856555, -0.2400186807, 0.1848542243, 0.0552521311, 0.2136728019, -0.2043955028, -0.1950378865, 0.3878508508, -0.5807387233, -0.3242537677, -0.607126534, -0.1278470606, -0.8072533607, 1.2343792915, 0.0213062987, 0.0975857228, -0.311223954, -0.0862595886, -0.42999053, -0.7563772798, -0.3004038334, 0.1507209241, 0.616481483, -0.0501158908, 1.0734372139, 0.9075754285, 0.7532393932, 0.3032819331, 0.0811703801, -0.1083281562, -0.4089800715, 0.2936869562, -0.2721000314, -0.2984258235, -0.5199186802, 0.312169224, 0.5412917733, 0.4520807564, 0.0893519074, 0.2181424648, 0.1622816473, 0.6142482162, -0.7668938041, -0.5586470962, -0.7340765595, 0.1499418169, -0.3665333688, 0.0973415449, -0.4334517717, -0.3113307059, -0.0648684055, -0.3325887918, 0.0383160859, -0.0310127325, 0.7681545615, 0.4127414823, -0.3624174595, -0.4508219957, -0.499307245, 0.5060164928, -0.6076108217, 0.0763395503, 0.1275711805, 0.3410228789, -0.4025323391, -0.4586825669, -0.2122398466, -0.3096393943, -0.0492589734, 0.0105696553, -0.5644393563, 0.1463141888, 0.2619070411, 0.143415764, -0.7353936434, 0.3015154898, -0.6574476361, -0.1974292547, 0.7054966688, 0.1636756212, 0.6561764479, -0.1494230479, -0.7670246959, -0.1205575243, -1.0162488222, -0.0439508855, 0.9680131674, 0.2687308788, 0.0924593359, 0.8823958039, 0.1857407689, 0.6086016893, 0.1066489369, 0.471151948, -0.33013466, -0.2577572167, -0.2719976604, -0.1120284498, 1.0938885212, 0.2995871305, 0.2261427939, -0.2775503397, -0.2816238105, 0.2967836559, 0.8896191716, -0.6252626181, -0.0923294425, 0.3699735403, -0.3013045192, -0.905726254, 0.1237770021, -0.467153579, -0.6915612221, 0.2153176963, 0.566003561, -0.228018254, 0.2013680041, -0.0118084727, -0.0998611599, -0.1135457829, 0.0501882061, -0.6126309633, 0.4457889497, 0.5916314721, 0.6940073371, -0.0759609416, -0.4389680624, -0.5387353897, -0.0937813371, -0.603969574, 0.4849792719, 0.0446646847, -0.5602557659, -0.2529989183, -0.2166747749, 0.0735227913, -0.5546159744, 0.3918297887, -0.534492135, 0.3522739112, -0.1943012476, -0.5047010183, 0.0487187505, 0.2740800679, -0.4951233864, 0.7699530721, -0.0822845548, -0.832837522, 0.1430681646, -0.6516648531, -0.2720734179, -0.2947350144, -0.319729954, -0.5366939306, 0.1583127379, 0.2012441605, 0.4984906316, 0.0409924425, 0.1866273433, -0.9026888013, -0.1333170533, 0.7679858804, -0.5799856186, 0.8432711363, 0.5809465647, -0.393091023, 0.4843454361, -0.6490415335, 0.0771374777, 0.4402385652, -0.1627500802, -0.3459025323, -0.0578256361, -0.5567807555, 0.2749215364, 0.3416915536, -0.2984099984, 0.3470121324, -0.5362485647, 0.2445374429, 1.1257081032, -0.0192871485, 0.4950100482, -0.4378569722, 0.6604967713, -0.1250243038, 0.362926811, -0.051928062, -0.2532719374, -0.4478592873, -0.026996633, 0.2618923187, 0.3341577947, -0.2590589523, 0.3329752088, 0.0358522348, -0.5431295037, -0.6164507866, 0.4631129205, 0.5818393826, 0.374609679, 0.1109544411, -0.2138521224, -0.5870209336, -0.9455073476, -0.4620741308, -0.2074233741, 0.1316649765, 0.1020181105, 0.5968626738, -0.08448679, 0.6497337818, -0.2959028482, -0.0006049337, 0.1902892143, -0.2212653011, -0.0914358646, 0.4987646043, 0.6528059244, -0.5314868093, -0.1217594221, -0.4010077119, -1.0610080957, 0.0526191592, -0.1507269144, -0.3918951452, -0.3256365657, 0.3318023086, -0.4641036987, 0.4715374112, 0.4359056056, -0.4837049842, 0.5193033218, -0.0172954816, -0.1012261659, -1.0031335354, -0.0687956735, -0.1593589187, -0.1674269736, -0.6549586654, 0.4428542256, 0.0482440665, -0.2816823423, -0.5899391174, 0.5474876165, -0.3754166961, -0.1862651706, -0.30184865, 0.1408550143, 0.1389179528, 0.0969855934, -0.4599435925, 0.9223559499, 0.4374315739, -0.5437608361, 0.1528289616, 0.2533454001, -0.2263810337, 0.4378686845, -0.7009242773, 0.3949921131, 0.158578679, 0.0180616006, -1.0132998228, -0.2164072245, 0.4482533932, -0.60743016, 0.3761796653, -0.118805863, -0.1362713724, -0.3893552423, -0.5994256139, 0.3521821499, 0.2210487574, -0.7553784251, 0.1743180454, 0.4569605887, 0.2889519632, -0.9938553572, -0.7125136852, 0.1085007191, -0.556627214, -0.8025221825, 0.0385343172, -0.2987951934, -0.4170646071, -0.0163988546, -0.0880481601, 0.1394711882, 0.8642713428, 0.4814025164, 0.4004464149, -0.0291599613, -0.1371988058, -0.4253282845, 0.0597282238, 0.4048503041, -0.2198860496, 0.2356170863, -0.1318211108, -0.8331199288, -0.2359674424, 0.3063296378, 0.605591774, -0.0426570922, 0.6430466771, 0.3289366961, -0.4571443796, -0.1431466192, -0.2666243613, -0.1006170139, -0.5260227919, 0.4031239152, -0.2057286799, -0.7567635179, 0.3543240428, 0.1811715961, 0.2253825814, 0.5538604856, 0.6247259378, -0.3556990325, 1.2153462172, 0.3508158326, -0.1513608843, 0.1818233877, -0.2172830552, 0.1713994741, -0.9139894843, -0.0264312141, -0.3785591722, -0.3264217079, -0.3775144815, -0.3078697026, 0.3407275975, 0.1573117524, -0.3955043852, 0.4028717279, -0.8258039951, 0.2954002023, 0.4600894749, 0.0083838878, -0.1307863593, -0.1881455928, -0.0338492021, -0.0856933668, -0.6952825785, -0.6639785171, 1.3278917074, 0.7561708689, 1.2206591368, 0.3410841525, 0.8780035973, 0.5261348486, 0.3972266018, -0.6796346903, 0.4137882292, 0.0098629529, -0.9206626415, -0.20749183, -0.2915137112, -1.0210385323, 0.196338892, -0.0013138417, -0.6425350904, 0.1368338168, 0.2129470706, -0.6101052165, 0.3722077906, -0.6564971805, 0.8683046103, -0.833828032, -0.3558978438, 0.2064740211, -0.4402779937, 0.6257939339, -0.1198691353, 0.3270504177, -0.088290453, 0.0783869326, 0.811488688, -0.5980389118, 1.104472518, -0.1728450656, -0.2131828219, 0.4987788498, 0.5143774152, 0.5318344831, -0.2085197419, 0.104414925, 0.0084898192, -0.13364847, -0.1905673146, -0.658714354, 0.6714490056, -0.9691569209, -0.9194844961, -0.4290520549, -0.4645623267, 0.1370674819, 0.1471206248, 0.456207335, 0.1600984633, -0.4104807973, 0.1362674385, 0.4914556444, -0.1522456408, 0.1794184446, 0.2621724606, -0.2020824999, -0.5136195421, 0.7629410625, 0.2695285976, 0.5329506397, -0.1989317685, 0.0848837122, -0.3287290335, -0.582513392, -0.4951145053, -0.1412914097, -0.8725028634, -0.416579634, -0.5209694505, -0.3857832253, -0.5726361871, -0.264169693, -0.5295085907, -0.5177028179, -0.2592335343, -0.2965012193, -0.1502105743, 1.1515128613, -0.0352319665, 0.2409317195, -0.55148983, -0.0475474633, 0.2863604426, 0.0504024066, -0.1151062921, -0.6138840318, -0.2243140638, -0.1133647934, -0.6530218124, -1.0179200172, 0.2509225309, -0.1997950077, 0.5960784554, 0.4242460132, 0.1140425131, 0.5191940665, -0.3942285478, 0.7005197406, 0.1847007126, -0.8095756173, 0.7074782848, -0.40892151, 0.0483106151, 0.2584582269, 0.3564524651, -0.0936759561, -0.398678273, -0.7839654088, -0.5963065028, 0.4273072481, 0.2669825852, 0.1991586983, -0.0728094205, 0.3866238296, -0.1738819033, 0.100107342, -1.0127725601, -0.2848790288, -0.2770552933, -0.155332163, 0.3211464584, -0.4915425479, -0.6752573848, 0.3308267891, 0.7255862355, -0.1203213111, 0.1644742489, 0.1950043589, -0.0759062544, -0.2197128236, 0.4595676661, 0.4858323336, 0.2526558936, -0.0396388099, 0.2397511154, 0.1998547167, 0.0327140577, 0.5886670947, -0.0598382279, -0.1477265358, -0.5496150255, 0.2875943184, 0.4456434548, 0.1542499661, -0.3235382438, 0.7666662931, -0.1642270833, -0.181056276, -0.2636271715, 0.3241760731, -0.1590794325, 0.2035494447, -0.0276939049, 0.2574343681, 0.2733559012, -0.426918745, 0.2837306857, 0.9406837225, -0.4444652796, -0.3687028587, 0.93643713, -0.096836254, -0.2449157983, 0.3388983905, -0.0450038612, -0.5557945967, 0.5898110271, 0.532613039, 0.9994466901, -0.2669553757, -0.0243293867, 0.208318308, 0.6274781823, 0.1542435288, 0.0793943927, 0.0230084006, -0.768801868, 0.0957052633, -0.3887330294, -0.394043535, 0.1914014071, -0.7019230723, 0.152706176, -0.9674645662, -0.3481094539, -0.2419767529, -0.3165404499, -0.5044560432, 0.2025868446, 0.4631180465, 0.7059165835, -0.6784415841, 0.4465949833, 0.4946743548, -0.3275628984, -0.6339125037, -0.194936648, 0.4752033353, -0.8008751273, 0.5525891185, 0.1346640438, -0.10477826, -0.5371243358, -0.6504673362, -1.1135226488, 0.7752664685, 0.5000220537, -0.3888675272, -0.243832171, -0.0725313723, 0.3588082194, -0.3651368022, 0.0452014804, 0.1644966751, 0.3150364757, -0.3917235136, -0.4629043043, 0.2945041955, -0.336982429, -0.0984656811, 0.1104837283, -0.7711564302, 0.8170408607, -0.3511554897, -0.3241810799, 0.3399282694, 0.690520227, 0.2837962508, 0.0835413486, 0.4479138255, 0.5777596831, 0.7638910413, 0.0001222345, 1.2050427198, -0.3759351671, 0.0456481576, 1.3191943169, -0.1837012172, 0.6176999807, 0.1737726331, -0.1594388038, 0.270080775, 0.6048564911, -0.4692088366, 0.4138381779, 0.3142586946, 0.054131493, 0.0188354477, 0.1986264139, -0.3291325271, 0.544033587, 0.2744812369, -0.5179511905, -0.2211036831, -0.2256163359, 0.0942179114, 0.1023366973, 0.0985173956, 0.6640383005, 0.0767208934, -0.600066483, 0.4845871031, -0.1108066663, 0.520314157, -0.6975888014, 0.2440168113, 0.187131092, 0.2230359614, -0.4226231277, -0.6712548733, 0.3318811953, 0.2525556087, -0.0695478395, -0.1048492938, 0.8986225128, 0.1140674278, -0.3011179864, 0.5133576393, 0.5488012433, 0.0813554674, 0.1363810897, -1.0283528566, -0.0903488323, 0.0549859889, -0.5656394958, 0.6889060736, 0.0932475701, -0.0079647182, 0.7070475817, 0.8116784096, 0.0021176932, 0.1904290617, 0.0232517738, 0.8386426568, -0.5114704967, -0.2594617903, -1.2352259159, 0.5999879837, 0.015979914, -0.1892828047, 1.0653094053, 0.5788785815, 0.9037845135, 0.2717176676, 1.0213400126, 0.2032878101, 0.2709764838, -0.3896006942, 0.8220258355, -0.5543789268, 0.5584954619, -0.1609236747, -0.4661227763, -0.131499052, 0.4006074667, -0.3431501389, 0.1552994549, 0.3298666179, 0.7739990354, 0.0305030793, -0.3458446562, 0.5223212242, 0.2743023038, 0.6240571141, 0.2418037951, 1.3161716461, -0.5441052914, 0.7013437748, -0.4291335642, -0.0997582749, 0.1360054314, -0.7909424901, -0.9338348508, -0.3320222199, -0.253678292, -0.8521957994, 0.1301785707, 0.7332857847, 0.6859304309, -0.6993821263, -0.2264982015, 0.1528620124, 0.1130567119, 0.2001988739, -0.1985985935, 0.2325980216, -0.4280281663, -0.3305175304, 0.9201824069, 0.2659853995, 0.408991307, -0.7533184886, -0.032158874, -0.0821046904, 0.2412751615, -0.1540044546, 0.3384083211, -0.8239703774, -0.296481967, 0.0210571866, -0.4401757419, 0.085718967, 0.4673215747, -0.507332325, 0.6090216041, 0.1392346472, 0.8172293901, -0.2897026241, 0.0864554569, 0.8729755878, -0.7752623558, -0.2495574653, 0.0598216653, 0.6861122847, 0.5017049313, -1.0258014202, 0.6808288097, -0.0136245117, -0.725366354, -1.0238837004, 0.1882186085, -0.324205339, -0.3798149526, 0.764734745, -0.3214333951, -0.4825105071, 0.3379232287, -0.1550608277, 0.2427040488, -0.1024520174, 0.9859696627, 0.8277772665, -0.1053194553, 0.5090884566, -0.419842422, 0.4530982673, 0.5554691553, -0.6891592145, 0.0998723209, 0.3380936086, 0.4433375895, 0.2105779052, 0.3918022811, -0.2428925335, 0.4640933275, 0.0261738431, -0.0045768744, -0.2130919397, -0.3912312686, -0.7806206346, 0.3530215919, 0.3074319959, -0.3136337399 ]
http://arxiv.org/abs/2407.03232v1
http://arxiv.org/pdf/2407.03232v1
Single Character Perturbations Break LLM Alignment
2024-07-03T16:03:10
2024-07-03T16:03:10
Leon Lin, Hannah Brown, Kenji Kawaguchi, Michael Shieh
cs.LG
cs.LG, cs.CL
When LLMs are deployed in sensitive, human-facing settings, it is crucial that they do not output unsafe, biased, or privacy-violating outputs. For this reason, models are both trained and instructed to refuse to answer unsafe prompts such as "Tell me how to build a bomb." We find that, despite these safeguards, it is possible to break model defenses simply by appending a space to the end of a model's input. In a study of eight open-source models, we demonstrate that this acts as a strong enough attack to cause the majority of models to generate harmful outputs with very high success rates. We examine the causes of this behavior, finding that the contexts in which single spaces occur in tokenized training data encourage models to generate lists when prompted, overriding training signals to refuse to answer unsafe requests. Our findings underscore the fragile state of current model alignment and promote the importance of developing more robust alignment methods. Code and data will be available at https://github.com/hannah-aught/space_attack.
[ -0.2229539007, -0.8056173325, 0.5288962722, -0.1808469743, -0.0502491817, 0.0979020596, 0.2474002093, -0.2246283591, -0.0736899897, 0.8394993544, -0.7517547011, -0.5765880942, -0.5452747941, -0.0404128022, -0.6000980735, 1.0689958334, 0.0128630353, 0.0798732266, -0.3466865718, -0.1264410615, -0.6415551901, -0.9650163054, -0.2851379216, 0.3424409032, 0.8324463367, 0.3887418509, 1.1894118786, 0.8702808619, 0.9167262316, 0.2383383512, -0.1132197008, 0.0069292323, -0.5373197198, 0.38590765, 0.1751991659, -0.4181668162, -0.5306661129, 0.0193677079, 0.8341023922, 0.7344751954, 0.1250907779, 0.0531811491, 0.0236346275, 0.4765874743, -0.5086607933, -0.5308265686, -0.6777040362, 0.0331835821, -0.5322852135, 0.049330499, -0.5311511755, -0.2064027041, -0.3741278648, -0.6601521373, 0.049515672, 0.0684364438, 0.9261700511, 0.5526738167, -0.3409597576, -0.2733881176, -0.5925895572, 0.6225699782, -0.8113588095, 0.149519816, 0.1815840155, 0.1035487503, -0.5664968491, -0.4748716056, -0.4667947888, -0.1823175699, -0.045786459, -0.2089348286, -0.2677742243, 0.3244558871, 0.6197587848, -0.0339572616, -0.5006238222, 0.5046583414, -0.6136417985, -0.1109427214, 0.6101407409, 0.2670612335, 0.7606098056, -0.1270686984, -0.7300658226, -0.2162054628, -1.2257424593, 0.0395597778, 1.1571407318, 0.5752086043, -0.0511679202, 1.0343599319, 0.4939416349, 0.499211669, 0.0916554704, 0.418690145, -0.4382652938, -0.3955542445, -0.0377906524, 0.0542549118, 1.0398091078, 0.217122823, 0.103554219, -0.0641318709, -0.0232342482, 0.1966232955, 0.6366097331, -0.6157519221, 0.0317613259, 0.391700387, -0.0258222744, -0.57803303, 0.3102786243, -0.5117120147, -0.8523518443, 0.1825509667, 0.1662551016, -0.4308530092, 0.1490510553, 0.2543337941, -0.0971016213, -0.0175186954, 0.0813022479, -0.742523849, 0.3432391882, 0.6358332038, 0.6170700788, 0.0538422726, -0.3452785015, -0.4581079483, -0.1020840555, -0.4490627646, 0.7208721042, -0.2178887278, -0.7250965238, -0.2027272135, -0.3342478275, 0.1148738712, -0.4904759526, 0.4813036919, -0.4215750396, 0.1682078689, -0.454016149, -0.4879231453, 0.1160096973, 0.0060926666, -0.6944087148, 0.5407165885, -0.2349953651, -0.9234461188, 0.3251862228, -0.5181949735, -0.2622002661, -0.2337509394, -0.3839250803, -0.5160660744, 0.234719187, 0.1717466861, 0.3145059049, 0.1805824041, -0.0878243446, -0.8207651377, -0.3585270345, 0.7540605068, -0.392852366, 0.8524675965, 0.2167894393, 0.1081996411, 0.5174692869, -0.7600457072, -0.0174749959, 0.3695831895, -0.3193966746, -0.3102825284, 0.1541319191, -0.2404545397, 0.1785222739, 0.0996940583, -0.5180764198, 0.6107094884, -0.4037396014, 0.2963976264, 0.8911070824, 0.2307423502, 0.4893124104, -0.4386039078, 0.6453977227, -0.0743278563, 0.0653647482, -0.3781201839, -0.3603626192, -0.29956007, -0.3884646297, 0.154558152, 0.3152967095, -0.2449958473, 0.2135165632, -0.0361857004, -0.3650254011, -0.7104091644, 0.1804199219, 0.4505785108, 0.4364393353, 0.1901211739, -0.1796949655, -0.6913118958, -0.659691751, -0.6155214906, -0.3062002957, 0.072180815, -0.0301639158, 0.3312197626, -0.1241346225, 0.7820703983, -0.2508820891, -0.0992843509, 0.1298795342, -0.1742965281, 0.1812881827, 0.639052093, 0.4057503939, -0.620349884, -0.1710631698, -0.4419778287, -0.8208453059, 0.0451543182, -0.2751688659, -0.2007098496, -0.0181659386, 0.4145688117, -0.6168146133, 0.5833992362, 0.3757229149, -0.7870871425, 0.7145329118, 0.0410134047, -0.0426128358, -1.0565663576, -0.0861678645, -0.1219026297, -0.1284201145, -0.7242302299, 0.4396719038, -0.0386120901, -0.3072544634, -0.7362796664, 0.461356312, -0.3109496534, -0.0938592479, -0.1092016697, -0.030785827, -0.0566241294, 0.2270545512, -0.3546529412, 0.6819331646, 0.2897221744, -0.4214630723, -0.0169596989, 0.6809574962, -0.1055379659, 0.3001081049, -0.6426389813, 0.5564789176, 0.0112977214, 0.1346912235, -1.3244148493, -0.4376612306, 0.2871990204, -0.6483044624, 0.5885924101, -0.2136611938, -0.5175426602, -0.2224264443, -0.4890191853, 0.3955795169, 0.2240845859, -0.5492239594, 0.0908267945, 0.3704787791, 0.2149069011, -0.907869935, -0.864993751, 0.0467531309, -0.4405618012, -0.8987072706, 0.0421126299, -0.3334069252, -0.3801897466, -0.0653403252, -0.3948595524, 0.0915603563, 0.6612065434, 0.5897398591, 0.5143575072, -0.080240339, -0.3504250348, -0.1322696209, 0.0782946572, 0.1434500068, -0.0653134584, 0.3919391036, 0.1167208627, -0.89972049, -0.5967665315, 0.3621962667, 0.9577951431, -0.0065098619, 0.8194314241, 0.1368974447, -0.4390384555, -0.0236176997, -0.2047654241, -0.2308695912, -0.5346724391, 0.5521897078, -0.247345835, -0.9995001554, 0.5213707089, 0.2637327909, 0.4005567431, 0.3551537395, 0.2836352885, -0.458499372, 1.3030234575, 0.5133087635, 0.0260377843, 0.2960008085, 0.0877438486, 0.2262639254, -0.7514925003, -0.0791366696, -0.6401308179, -0.4031840265, -0.5162470937, -0.4255177975, 0.3956088126, 0.322028935, -0.4865052998, 0.4205565453, -0.647726059, 0.4553628564, 0.1988173276, -0.0646362156, 0.097379148, 0.1417570263, -0.2035935819, -0.1792553067, -0.7493975163, -0.7566283345, 1.1711919308, 0.7148285508, 1.2521259785, 0.2767401934, 0.8403373957, 0.239054203, 0.0751210675, -0.6166962385, 0.5010718703, -0.131322071, -0.7941746712, -0.2794851959, -0.3260263503, -0.8561035395, 0.0689234063, -0.1877823174, -0.8504968882, 0.1890673637, 0.1911756247, -0.6978645921, 0.557682693, -0.5906069279, 0.8032114506, -0.5260519981, -0.4223755598, 0.2333113104, -0.5400532484, 0.5556064248, -0.0985169783, 0.3160145283, -0.1177693233, -0.0767819434, 0.6523191929, -0.5214625001, 1.1767684221, -0.1325491965, -0.2866134346, 0.2708975375, 0.3940505981, 0.5036839247, -0.0589456335, 0.0104054334, 0.2151125669, -0.0976565853, -0.4599886835, -0.4135590494, 0.5700173378, -0.9213436246, -0.772279501, -0.2472073734, -0.6446745992, -0.0790126324, 0.1442545503, 0.6553704739, 0.1108064875, -0.2509917319, 0.1407554001, 0.7068760991, -0.391918242, 0.1864703, 0.2622177601, -0.3365451396, -0.3716637492, 0.5319288969, 0.2479010522, 0.4714784026, 0.0392709784, -0.203233853, -0.1516159177, -0.5043779016, -0.2597086132, 0.1860353202, -0.7659407258, -0.241721034, -0.4711944163, -0.256166786, -0.5539928675, -0.2985185087, -0.504109025, -0.6557043791, -0.4026147425, -0.2585275173, -0.2249405384, 1.0172243118, 0.2640320063, 0.3874780536, -0.9109438658, -0.1192587838, -0.0720830709, 0.1810680181, -0.3759297431, -0.6716020703, -0.1424408555, -0.147667408, -0.5361760855, -1.1446285248, 0.1360833496, -0.2906004786, 0.3488574028, 0.4255057275, 0.0153158875, 0.6281788349, -0.5628852248, 0.804782033, 0.2956677079, -0.8172658682, 0.4183618426, -0.5667962432, 0.3832479417, 0.310765177, 0.317053467, -0.4132187665, -0.5607984662, -0.5838830471, -0.7932026386, 0.6819702983, 0.0341094136, 0.3074801862, 0.0508505888, 0.6204511523, 0.0901623815, 0.0944774449, -0.773004055, -0.3047476113, -0.0140692173, -0.2322547883, 0.3744445443, -0.5833693743, -0.2477234751, 0.2236688435, 0.6192640662, -0.0489965677, 0.3087768555, 0.1239243522, -0.0237383656, -0.4700812101, 0.3057869375, 0.714828968, 0.2072949111, -0.0142804915, 0.1346267909, -0.0328027569, -0.2231582403, 0.3425042629, -0.0001821012, -0.1130571887, -0.3497152627, 0.4143508375, 0.7291050553, 0.3507508039, -0.4912458062, 0.3785318732, -0.2114633471, -0.2059196085, -0.1310093403, 0.2542845607, -0.1271926761, 0.1036980972, 0.0925482661, 0.2815200984, -0.3246441483, -0.3352506459, 0.2260009795, 0.7828376293, -0.4661957026, -0.6036288142, 0.936848104, -0.17216371, -0.3408823311, 0.6091167927, 0.2472479045, -0.4541715682, 0.627886951, 0.5974378586, 0.6988376379, -0.3543884754, -0.1069762632, 0.3762473762, 0.715120852, 0.0377610512, 0.2436255515, 0.2250664234, -0.9289644957, -0.1805694699, -0.416981101, -0.5195242763, 0.1852541119, -0.5078362226, 0.4645333588, -1.0909376144, -0.2839799821, -0.2561409175, -0.2733885944, -0.4404909909, -0.1389321387, 0.6959027052, 0.7087036371, -0.6245694757, 0.5160224438, 0.9085018039, -0.5790781975, -0.7807264924, -0.0356686264, 0.5220797062, -0.5473636389, 0.3113617301, 0.111265704, 0.1320441365, -0.3398965299, -0.9564788938, -1.2199218273, 0.6477460265, 0.6957033873, -0.6411514878, -0.396322459, 0.2558354437, 0.2714008689, -0.1616858393, -0.1916096061, 0.1628947407, 0.5035936236, -0.3161444664, -0.5084525347, 0.2787597477, -0.0957463905, -0.2806904018, 0.2863289714, -0.6906260848, 0.9063382745, -0.4434101284, -0.5470222831, 0.454117924, 0.7045642734, 0.5684551001, 0.0407153293, 0.2545236647, 0.6623740792, 0.9085264206, -0.0581664406, 1.1831288338, -0.1469243169, 0.0905933082, 1.2751557827, -0.4768132269, 0.6833593845, 0.5468547344, -0.1511272043, 0.378028661, 0.4703501165, -0.262199223, 0.1718519777, 0.2470487952, 0.0533905439, -0.0209954493, 0.2322151065, -0.0832141414, 0.4301572144, 0.3453090489, -0.1545123458, -0.0770842284, -0.0765507445, 0.2891669869, 0.1790385246, 0.0689682662, 0.5507712364, 0.1037003621, -0.5026096106, 0.4529310763, -0.078391999, 0.5815270543, -0.8248227835, 0.1130955443, -0.032207448, 0.1417420357, -0.5248102546, -0.5540402532, 0.2808146477, 0.3344516456, -0.2360118628, -0.1899873316, 0.8902936578, -0.139532879, -0.2495190203, 0.2041354477, 0.3498394489, 0.0141861448, 0.0384504795, -0.5492331386, 0.2107800543, 0.1093910784, -0.4557111859, 0.6635173559, 0.0461612046, -0.0081376527, 0.3683441579, 0.8345031142, -0.0228346847, 0.3684866726, -0.2510415316, 0.79285115, -0.5718206763, -0.2236627638, -1.0953804255, 0.8652508855, 0.127932623, -0.1687033623, 1.0732624531, 0.4820247591, 0.9375344515, 0.2714292109, 0.8768176436, 0.2251971811, 0.220936805, -0.4744012952, 0.9344190955, -0.452113688, 0.8032997251, -0.1419379115, -0.7541680932, -0.4771391451, 0.1562015116, -0.1442156881, -0.0780173466, 0.6274856925, 0.7174767852, 0.0819788352, -0.1959359497, 0.5848522782, 0.3600223362, 0.6370286942, 0.2143478245, 1.2232629061, -0.4321509004, 0.4767833948, -0.0804768503, 0.0968372002, 0.1675094664, -0.8031429648, -0.7965328097, -0.3495978117, -0.351459831, -0.7547345757, -0.0089542689, 0.8366470933, 0.5976855755, -0.6771404147, -0.1919074953, 0.0296955835, 0.1664485186, 0.1450165659, -0.1823500246, 0.2044990212, -0.469321996, -0.4056784809, 0.9483613372, 0.2136092037, 0.2054032981, -0.3396289647, 0.0391070992, -0.1846383363, 0.3758365214, -0.2624622583, 0.5072352886, -0.7550550699, -0.2598637044, 0.0801369622, -0.3729074299, 0.1628078818, 0.7581778765, -0.4815402627, 0.3969384432, 0.1539534926, 0.7858911753, -0.1470190585, 0.0661571622, 0.6227014065, -1.1149238348, 0.0014769282, 0.2021592706, 0.5794616938, 0.4508407116, -1.0091543198, 0.3718759418, 0.1902275234, -0.6366512179, -1.2008378506, 0.25084126, -0.5211501718, -0.4982016385, 1.0250254869, -0.1650970429, -0.4797313213, 0.3714725971, -0.2789101303, 0.3427608311, -0.2808713019, 0.6371189356, 0.913775444, -0.1284412295, 0.4453372955, -0.3201232255, 0.3660146892, 0.6673540473, -0.5842633247, 0.1973745823, 0.6176063418, 0.3242562115, 0.2784256339, 0.3420669734, -0.3041074574, 0.3567461073, 0.0256192591, 0.1365051717, -0.3559229672, -0.375199765, -0.8827226758, 0.5149078965, 0.3086314201, -0.1883844435 ]
http://arxiv.org/abs/2407.03227v1
http://arxiv.org/pdf/2407.03227v1
Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning
2024-07-03T15:55:14
2024-07-03T15:55:14
Zhili Shen, Pavlos Vougiouklis, Chenxin Diao, Kaustubh Vyas, Yuanyi Ji, Jeff Z. Pan
cs.CL
cs.CL, cs.AI, cs.DB
We focus on Text-to-SQL semantic parsing from the perspective of Large Language Models. Motivated by challenges related to the size of commercial database schemata and the deployability of business intelligence solutions, we propose an approach that dynamically retrieves input database information and uses abstract syntax trees to select few-shot examples for in-context learning. Furthermore, we investigate the extent to which an in-parallel semantic parser can be leveraged for generating $\textit{approximated}$ versions of the expected SQL queries, to support our retrieval. We take this approach to the extreme--we adapt a model consisting of less than $500$M parameters, to act as an extremely efficient approximator, enhancing it with the ability to process schemata in a parallelised manner. We apply our approach to monolingual and cross-lingual benchmarks for semantic parsing, showing improvements over state-of-the-art baselines. Comprehensive experiments highlight the contribution of modules involved in this retrieval-augmented generation setting, revealing interesting directions for future work.
[ -0.1014772877, -0.8430169225, 0.6562018394, 0.1856765449, -0.4413840473, 0.0569938794, -0.4522264898, -0.521948874, 0.2595024407, 0.6012467146, -0.5702194571, -0.5145930648, -0.5071428418, 0.2430232018, -0.5785383582, 0.6377001405, 0.3138048649, 0.0382320248, -0.3250630796, -0.1573375165, -0.515450716, -0.6131774187, -0.3259916008, 0.0397306718, 0.2087716609, 0.6068313122, 0.5838499665, 0.8379033208, 0.5566079021, 0.2513256371, -0.2265413105, 0.0003750378, -0.4483679533, 0.4353900552, -0.670104146, -0.2909547389, -0.2273183465, -0.3630470335, 0.8694596887, 1.1835055351, -0.3660761416, 0.1297260821, -0.1132446826, 0.6220818162, -0.4875858724, 0.2135462463, -1.1149166822, -0.2973649204, -0.2783568203, -0.0483795144, -0.6844189763, -0.0629710332, 0.1392005384, -0.6088370085, 0.1670956314, 0.3535704315, 1.0098236799, -0.0245699864, -0.5662142634, -0.3563212156, -0.3363075554, 0.9004883766, -0.4567223787, 0.5208717585, 0.0996403471, 0.4726410508, -0.1906619072, -1.0642050505, -0.1415031701, -0.3641449809, -0.2302011251, -0.1006718427, 0.289575547, 0.0814625621, 0.4488525391, 0.43855986, -0.3765735924, -0.1676417589, -0.1415805072, 0.0930870473, 0.658611834, 0.1692774594, 0.2086444944, -0.2493682802, -0.3032360375, -0.0755491629, -0.8817749023, -0.2118977755, 0.1088571623, 0.6528992653, 0.7713596821, 0.7988572717, -0.5742457509, 0.9928717017, -0.2151166797, 0.3704011738, -0.0401034467, -0.6961193681, -0.217050299, 0.0273872688, 0.4866176844, 0.2390400022, -0.0527835786, -0.4912396967, -0.3227042854, 0.2339381725, 0.2323413193, -0.7883375287, -0.2913351655, -0.0356690809, -0.2859306633, -0.0218754373, -0.0562453568, -0.8496050835, -0.1949689239, -0.4373472631, 0.517137289, -0.7110736966, -0.0209751949, 0.0755947381, -0.2523499727, 0.2568409443, 0.3203472495, -0.8067637086, 0.710668385, 0.6937487721, 0.4703056514, -0.1264706701, -0.2680517733, -0.4942696393, 0.6019124389, -0.2817836404, 0.930038929, -0.6590722799, -0.4392800629, -0.1165976897, -0.101123102, -0.0480465367, -0.8242281079, 0.6522459984, -0.5361533761, -0.0603743643, -0.593824923, -0.7636316419, 0.1737855226, 0.2591116428, -0.4607082307, 1.1428134441, 0.0637796968, -0.6045008898, 0.5782833695, -0.5489029884, -0.5710799694, 0.1403329074, -0.3245399296, -0.0170276053, 0.2318952829, 0.2093960196, 0.094851613, -0.5955432057, 0.2326445878, 0.027931802, -0.3188687265, -0.3749542832, -0.0340291485, 0.7668763399, 0.1053321138, -0.1250284165, 0.1949774474, -0.8742181659, 0.2074833363, 0.3315023482, -0.2951644063, -0.4941560626, 0.2045337856, 0.0674083456, 0.2212088704, 0.3424144983, -0.785387516, 0.1638658941, -0.8233838677, 0.4447615743, 0.3666167557, 0.040664088, 0.4982250631, 0.1672701836, 0.0513838232, -0.0591377355, 0.0306098107, -0.2454621792, -0.2199169844, -0.7756645083, -0.4436434209, 0.4060907662, 0.452068001, -0.9089800715, 0.3310728073, -0.6791520715, -0.363853097, -0.3795023561, 0.0505439714, 0.3009576201, 0.461769551, 0.5374960303, -0.2974631488, -0.3146112561, -0.9341526628, -1.0083829165, -0.0996956751, -0.2511978447, 0.3624283075, 0.2541457117, 0.21114932, 1.2729860544, -0.5858789682, -0.3462081254, -0.2437794954, -0.1553416699, 0.1357634366, 0.3955893517, 0.2986694872, -0.8791464567, -0.674058497, 0.1562627703, -0.6468904614, 0.0717544854, 0.3543636501, -0.1771879494, 0.0894813836, 0.725325048, -0.9093310833, 0.2854520977, -0.2953508496, -0.6108943224, 0.3565396369, -0.1036846861, -0.0566933528, -0.8787385225, -0.014509216, -0.1520377994, -0.4651242197, -0.4498975873, 0.4830039144, 0.2785511613, -0.4587199986, -0.3770520985, 0.3185802996, -0.5054676533, -0.3297253251, 0.0505271219, 0.1982171685, 0.1923131049, 0.2589920461, 0.1522048563, 0.7764823437, 0.3032723367, -0.2510677278, 0.2862018347, 0.3014013767, -0.5036832094, 0.5054910779, -0.5248785019, -0.0737394243, -0.1008027419, 0.266380161, -0.7414944172, -0.1959364116, -0.2367270291, -0.3140274584, 0.3944806457, -0.3075855672, -0.9351913333, -0.0484502167, -0.2442858368, 0.2348387241, 0.3425304294, -0.7181719542, 0.7194714546, 0.3662757576, -0.2689093053, -0.42793715, -0.5654762387, 0.2787388563, -0.1563601494, -0.6868898869, 0.5699752569, 0.3504601717, -0.3138219714, 0.0701752007, -0.1112868562, -0.0036500082, -0.0354942381, -0.2569622695, 0.1277939081, -0.2809382081, 0.154555127, 0.1250449717, -0.0462144576, 0.1199733317, -0.3534165919, 0.4475162625, -0.224684149, -0.3033086658, -0.0867725685, 0.6389510036, 0.1778973788, -0.5098844767, 0.8668949604, -0.0395565256, -0.4200073183, -0.2516781688, -0.4470538795, -0.3433161378, -0.4704806209, 0.4492118657, -0.5802220702, -0.6088597775, 0.3392762244, -0.2517957389, 0.0847587585, 0.6597625613, 0.2260402292, -0.0393263213, 0.989513278, 0.4801104963, 0.289129585, 0.4910499752, -0.0574169308, 0.2927529812, -0.3808414936, -0.1087730005, -0.6468755007, 0.1541438252, -0.43086797, -0.3953009844, 0.0833789334, 0.082735233, -0.2939887047, 0.5383799076, -0.4879092276, 0.7140543461, 0.4424507618, 0.1991342902, 0.610615015, 0.1716822088, -0.0662362128, -0.1684686691, -0.7643692493, -0.1567439437, 0.7878441811, 0.0948645324, 0.3749704063, 0.293848604, 0.567533195, -0.0676418468, 0.1757343709, -0.7631657124, 0.7367334366, -0.3136947751, -0.5900854468, -0.3910806775, -0.482082665, -0.6465039253, 0.4770572782, -0.0961235985, -0.6989036202, 0.1755218357, -0.0265367273, -0.007540172, -0.1104716137, -1.064011097, 1.0358303785, 0.1586165428, -0.5632798672, -0.3565795422, -0.8663714528, 0.1073414981, 0.1228791103, 0.0202547126, -0.1187390015, -0.1530712694, 0.5001242161, -0.7523498535, 0.3749732673, -0.3354069293, 0.3302260339, 0.2307354063, 0.020507535, 0.6197955608, -0.0783743709, -0.3708872497, -0.1158852875, 0.2664504051, -0.7559866309, -0.7808192968, 0.7963383198, -0.2367477417, -0.701741755, -0.3500444591, -0.5855594277, -0.5127789378, 0.2901315689, 0.1085832044, 0.4791764915, -0.0291169416, 0.3794024587, 0.5868365169, -0.0880723596, 0.2335739434, 0.3197170794, -0.2184783816, -0.1756482273, 1.0106143951, 0.4832963049, 0.3136112094, 0.4066757858, -0.0112742987, -0.4757091701, -0.5366683602, -0.6425969005, 0.3800704479, -0.8882248998, -0.3399862349, -0.7331981659, -0.051661633, -0.3759623766, -0.0542470142, -0.4157191515, -0.7748985887, 0.007868968, -0.0978414491, 0.5521760583, 0.4505886436, 0.6596693397, 0.2916288376, -0.5086827278, -0.0418415293, -0.0307534114, 0.5498349667, -0.151739791, -0.2426928431, -0.1747669876, -0.3038731515, -0.134297967, -0.7956391573, 0.2926827967, 0.399905175, 0.3893874586, -0.1963245571, 0.1414532363, 0.9016930461, -0.788969636, 0.8374400735, -0.1777267158, -0.9303360581, 0.7187551856, -0.495147258, 0.0835995302, 1.0647983551, 0.1844849437, -0.127001062, -0.0701464638, -0.6872699857, -1.2941924334, 0.9081462622, 0.3286132812, 0.0047268481, -0.2453130335, 0.4599082768, -0.0907978565, 0.3085209131, -0.400151372, -0.1738443822, -0.0691039786, -0.4332669377, 0.0840277746, -0.4314002097, 0.1521110833, -0.4296729267, 0.6368426085, -0.1095128804, 0.0609501451, 0.017226385, -0.4696759582, 0.3193878531, 0.0765232816, -0.0670689344, 0.8439923525, -0.2351532876, -0.0497425869, 0.2787258029, -0.2317828089, -0.2446413338, 0.3310906291, -0.0226632822, 0.2743038833, -0.0896858796, 0.4552232921, 0.3069391251, -1.0762183666, 0.7228418589, -0.0879492015, 0.1828276962, -0.171483472, -0.275219202, 0.0020947619, -0.053615775, 0.3834094107, -0.2189993709, 0.4880822003, -0.6691712141, 0.4417105317, 0.5416539907, -0.3180687726, 0.0491158441, 0.5783109069, 0.1280462593, -0.2580600381, 0.751603961, 0.010376934, -0.3415557742, 0.4610622227, 0.7006767988, 0.3183006942, -0.2042300552, -0.2816262245, 0.2066040933, 0.1521797776, -0.1219329834, 0.2923928201, -0.3587421775, -0.3111770451, -0.4547214806, -0.7358343005, -0.3798763454, -0.5798305869, -0.700607419, 0.7226523757, -0.3181592822, 0.1700069308, 0.1404804587, 0.2006497979, -0.3615323603, 0.2054527104, -0.4430122972, 1.4199591875, -0.6738636494, 1.0530731678, 0.8129940629, -0.5770190358, -0.6889623404, -0.019865863, -0.4950641692, -0.3707275987, 0.3136081994, 0.052159261, 0.1092343479, 0.3421751857, -0.159325242, -0.8899325728, 0.9560645819, 0.7148330212, -0.2222258598, -0.3528312445, 0.2305673659, 0.595415473, -0.2364261001, 0.2798552811, 0.9403529763, 0.1036214009, 0.1681955755, -0.8395559788, -0.0656693578, -0.1198448166, 0.1487724632, 0.508415401, -0.4196974337, 0.6328924298, 0.3078528643, -0.2411842346, 0.108536087, 0.8465099335, 0.3498606384, 0.2557499707, 0.3887896538, 0.4848378301, 0.4397367537, -0.0250902642, 1.2571104765, -0.3778984845, 0.3936854601, 1.2795654535, -0.3589833975, 1.1781890392, 0.7196041346, -0.1286698878, 0.3806872368, 0.5415402055, 0.3596660197, 0.5292600989, 0.0421041697, -0.2929550707, -0.1627509892, -0.4151622653, -0.1510630399, 0.243430078, 0.7429876328, -0.412684232, -0.5468117595, -0.0415659808, -0.1813616306, 0.4547771811, -0.2571986914, 0.942956984, 0.0554116704, -0.462204963, 0.4408887327, 0.0851927847, 0.3207657933, -0.5859566927, -0.0121574365, -0.0363881364, 0.0912714228, -0.0947301611, -0.727170229, 0.6517392993, -0.1348080486, -0.1303206086, -0.3319421709, 0.8838084936, -0.5251333714, -0.5373466611, 0.4010812342, 0.3336449265, 0.1520496756, -0.3065183163, -0.477902472, 0.008448232, -0.1684037, -0.2464569509, 0.6086173654, 0.6252217293, -0.3187563419, 0.3990332782, 0.3460656404, -0.0609992594, 0.2176854163, -0.0454086363, 1.1459611654, -0.802971065, -0.5518029332, -0.7176591754, 0.3161489367, -0.4409242868, 0.1460147202, 0.7462672591, 0.8823234439, 0.9052169323, 0.0930578709, 0.306730777, -0.1121277437, 0.9091819525, -0.3461851776, 0.6031306982, -0.6279013157, 0.5395237207, -0.2471300513, -1.2273522615, -0.3336896598, 0.3239415586, -0.4175746739, -0.2279363126, 0.700063765, 0.7915986776, -0.1318021715, 0.1686713547, 0.365965277, 0.1993034631, 0.1288155913, 0.1837840676, 0.6874788404, -0.5552070737, 0.5966640711, -0.2864692509, -0.1052529216, -0.0573735088, -0.5934252739, -0.3954285681, -0.5173199177, -0.0854634717, -0.4380438924, 0.4024111032, 1.2118560076, 0.3944966197, -0.654464066, -0.2571831048, -0.2011802644, -0.0245287549, -0.0949425027, -0.1986721158, 0.480487138, -0.6032791734, -0.7306915522, 0.5661994219, 0.3325428069, -0.5195695162, 0.164291054, 0.4723136425, -0.524235189, 0.1268858016, 0.9780495167, -0.0045108292, -0.5509107709, -0.2724065781, -0.0142477229, -0.0622330792, 0.1032093763, 0.7130496502, -1.0601379871, 0.2695996761, 0.5085200071, 0.9701328278, 0.5593623519, 0.335044235, 0.5352705717, -0.9614664912, 0.1952131242, 0.4604715407, 0.1889445037, 0.4115112424, -0.3268468678, 0.5820680857, 0.4215854406, -0.4040609896, -1.0404400826, 0.2729455531, -0.7118076682, -0.3669692278, 1.0374035835, -0.0174099151, -0.5301862955, -0.2282004505, -0.2017200142, -0.0780275688, -0.388895452, 0.3890495002, 0.5720692873, -0.1261785775, 0.0401664637, -0.4005383849, 0.6029568315, 0.7862593532, -0.6363862157, 0.4994982183, 0.5264877677, 0.2013173252, -0.1068460867, 0.5001820922, -0.3459135294, 0.1577597708, 0.0500005037, -0.2401069701, 0.3446833193, -0.2751168609, -0.3041540086, 0.326033026, 0.3600771427, 0.05892298 ]
http://arxiv.org/abs/2407.03211v1
http://arxiv.org/pdf/2407.03211v1
How Does Quantization Affect Multilingual LLMs?
2024-07-03T15:39:40
2024-07-03T15:39:40
Kelly Marchisio, Saurabh Dash, Hongyu Chen, Dennis Aumiller, Ahmet Üstün, Sara Hooker, Sebastian Ruder
cs.CL
cs.CL, cs.LG
Quantization techniques are widely used to improve inference speed and deployment of large language models. While a wide body of work examines the impact of quantized LLMs on English tasks, none have examined the effect of quantization across languages. We conduct a thorough analysis of quantized multilingual LLMs, focusing on their performance across languages and at varying scales. We use automatic benchmarks, LLM-as-a-Judge methods, and human evaluation, finding that (1) harmful effects of quantization are apparent in human evaluation, and automatic metrics severely underestimate the detriment: a 1.7% average drop in Japanese across automatic tasks corresponds to a 16.0% drop reported by human evaluators on realistic prompts; (2) languages are disparately affected by quantization, with non-Latin script languages impacted worst; and (3) challenging tasks such as mathematical reasoning degrade fastest. As the ability to serve low-compute models is critical for wide global adoption of NLP technologies, our results urge consideration of multilingual performance as a key evaluation criterion for efficient models.
[ -0.1217389628, -0.6402501464, 0.5247799158, 0.5447517633, -0.2360682189, 0.0601081699, -0.1772345603, -0.6703780293, -0.1198885664, 0.3207080662, -0.1477380693, -0.4292456806, -0.6534701586, 0.3843726814, -0.156290397, 0.8337664008, 0.0629452318, 0.4157149494, -0.5989502668, -0.3168210387, -0.2730635405, -1.0145870447, -0.7363705039, -0.3396351933, 0.5935391784, 0.1557576805, 0.8995796442, 0.3951569796, 0.6510456204, 0.401838243, -0.2081507444, -0.1952434629, -0.1022991091, 0.1512995213, 0.2017662972, -1.1430548429, -0.5334678888, -0.0022943972, 0.9526351094, 0.8023709059, -0.2108823061, 0.2706057429, 0.0919164717, 0.739146471, -0.7978010178, -0.0377690904, -0.2382207215, 0.10519813, -0.2668018043, -0.1136101335, -0.2502193451, -0.2712040544, -0.085881047, -0.5700526237, -0.0963862985, -0.0765147284, 0.3947055936, 0.412124902, -0.7819603086, -0.2919301391, -0.7327329516, 1.0062222481, -0.4564141035, 0.4907194674, 0.456553638, 0.006066449, 0.2270695716, -0.539105773, -0.0880681574, -0.2617484033, -0.0571476705, 0.069441393, -0.3211095631, 0.2501555085, 0.638125062, 0.5696470141, -0.5393899679, 0.2278478742, -0.2909672856, -0.2326897979, 0.5445109606, 0.2720847428, 0.2783693969, -0.2781088948, -0.1574175209, 0.0316862166, -0.6670422554, 0.0590850785, 0.5702943802, 0.0506676137, -0.0030481112, 0.579554975, -0.2746739686, 0.5751143694, -0.4339400828, -0.2582484782, 0.0016256131, -0.6668750644, -0.170309335, -0.2270548791, 0.8603987098, 0.2648396194, 0.3874393106, -0.1524481922, -0.171591714, 0.2216221839, -0.0089345342, -0.8476292491, -0.0309082884, 0.0019735631, -0.2062663287, 0.068898499, -0.3240422606, -0.3880267143, -0.2940083444, -0.1035379469, 0.2801285684, -0.3215497136, -0.0318592265, 0.2626433671, -0.0674444884, -0.0342435651, 0.1542817056, -0.6832457781, 0.2964083552, 0.5171737075, 0.7372662425, 0.0080296788, -0.1835996211, -0.3787564039, -0.0172427166, -0.3041776717, 0.7752581239, -0.200635314, -0.5410882831, -0.1822112352, -0.1150878668, 0.0493046343, -0.7084666491, 0.4004849792, -0.4247265756, 0.1650933325, -0.1862412095, -0.4671163857, -0.0159943048, -0.0740479454, -0.8784624934, 0.6009726524, -0.2084934413, -0.4918501377, 0.4931895733, -0.366761297, -0.6351278424, 0.0691670626, 0.14932248, -0.3746193051, 0.2703000903, 0.1306610256, 0.2852023244, -0.2831741571, 0.3067731559, -0.279799819, -0.5168044567, 0.4995150864, -0.9606255889, 0.8084827065, 0.178192243, -0.1725188494, -0.0825487152, -0.7471239567, 0.2400810421, -0.0828361809, -0.4888903499, -0.5321999788, -0.0417589471, 0.0041840146, 0.165693596, 0.0764218643, -0.2015475482, 0.0776976272, -0.5381566286, 0.393363148, 0.5127829313, 0.164148733, 0.4583975375, -0.2629872859, 0.9800313115, -0.1591911763, 0.3529451191, -0.2132663727, -0.5740548968, -0.6737037897, -0.3296271861, 0.5028350949, 0.59449476, -0.7033692002, -0.1098769307, -0.166077584, -0.2283278257, -0.7070167065, 0.0752908587, 0.6818572283, -0.2706248164, -0.0115868011, -0.189575851, -0.1325981766, -1.0073299408, -0.6285033822, -0.0057297628, -0.2075731307, -0.2103815228, 0.4775764644, -0.021986926, 0.623968184, -0.384501487, -0.159634009, 0.0843291283, 0.307304889, 0.0029218041, 0.2453162372, 0.3030485511, -0.6925441027, -0.4802553654, -0.1607972533, -0.5222799778, -0.1973496079, -0.0681179538, 0.0636953637, 0.4665267467, 0.321298182, -0.5909568667, 0.3948587775, 0.5882207751, -0.256141454, 0.6192331314, -0.2587836385, 0.4175545871, -0.8343182206, -0.106998831, 0.3848691583, -0.3459572196, -0.4288055599, 0.2844542265, 0.2892475724, -0.0196904633, -0.7743355632, 0.5346146822, -0.3327804804, -0.3840829432, -0.0538567863, 0.1724856198, 0.38551566, 0.2527003288, -0.1790654957, 1.0183639526, 0.2756638527, -0.651911974, 0.330860436, -0.2378886789, -0.4809327722, 0.696157515, -0.5888438821, -0.097440213, 0.0427212641, -0.0551042892, -0.7746365666, 0.1615717858, 0.0480597541, -0.4312999249, 0.2177209109, -0.0727838427, -0.9639331102, -0.0466024503, -0.4411735833, 0.5687199235, 0.2153082341, -0.2098451406, 0.2407142967, 0.2924177945, 0.0992368609, -0.3824769258, -0.8537580371, 0.1497722417, -0.5297217965, -0.5503336191, 0.121576272, -0.1818034947, -0.743098855, -0.1626905203, -0.2682505548, -0.2587522864, 0.5922309756, 0.0579130575, -0.0584852435, 0.0537970103, 0.2768985033, 0.0075316024, -0.2636909485, 0.3027196527, -0.1263507009, 0.2674208879, -0.3167274892, -0.3257068396, -0.5287887454, 0.2884973586, 0.4462312162, -0.3381702304, 0.7377464175, 0.6709376574, -0.3309012949, 0.1662710309, -0.3832890987, -0.0395923443, -0.4708429575, 0.6296226382, -0.6557862163, -0.8727496862, 0.5238754749, -0.0521326102, -0.3414275646, 0.4553689063, 0.5400881171, -0.3542710841, 1.3165972233, 0.5037891269, -0.0046696849, 0.3893715143, -0.3068319559, 0.0775582567, -0.7621586919, 0.0750178248, -0.6082751155, -0.0251277518, -0.9892603755, -0.4087687433, 0.6170437932, 0.3461253643, 0.1353035867, -0.0043191747, -0.1039289683, 0.5459771156, 0.4805525541, -0.0560615249, 0.6460548639, -0.1219614893, 0.1551135927, -0.3298447728, -0.8070522547, -0.5669782162, 1.2165189981, 0.2785343528, 0.8077290058, 0.3268193305, 0.6010301709, 0.395665735, 0.2243577093, -0.9379957914, 0.3719741702, -0.2422993481, -0.5745126605, -0.4962393343, -0.6685506701, -1.1990646124, 0.580439508, -0.0825173557, -0.452288717, -0.1914810091, 0.0077086356, -0.5321643949, -0.0397729389, -0.7829264402, 0.9124750495, -0.4841061831, -0.3411486447, -0.5829972029, -0.4394301176, 0.5637803674, -0.336776793, 0.6913216114, -0.1990287751, -0.2810814679, 0.7790170908, -0.0791492909, 0.8529962897, 0.0437000319, -0.4936378896, 0.0716170818, 0.0019285156, 0.1819979399, 0.3870429695, -0.163061738, 0.5843116641, 0.4031583965, -0.4964211285, -0.6665458083, 0.5999235511, -0.7255998254, -0.646473825, -0.4660045207, -0.6185169816, -0.2410556972, -0.1580400914, 0.30256778, 0.3629049361, -0.1088239476, -0.1366275698, 0.473559767, -0.4201720059, 0.4755000472, 0.6555508375, -0.0797391534, -0.639672637, 0.9695391059, 0.4067929387, 0.7357312441, 0.4996924996, 0.179025799, -0.3658303916, -0.2404217869, -0.4007063806, 0.3819807172, -0.927265048, -0.0965777859, -0.3087881804, 0.2708765268, -0.4493200481, 0.1849377453, -0.2332110703, -0.6806368232, -0.3746259511, 0.1506436169, 0.0519313104, 0.5650660396, 0.0461857058, 0.4541528821, -0.915230751, 0.4241821468, 0.3294759989, 0.3580484092, -0.2405611277, -0.472432673, -0.7861420512, 0.0946169943, -0.2380475253, -0.6353022456, 0.1782748252, 0.3939828575, 0.4227356613, 0.2395647019, -0.0802198499, 0.8418188691, -0.4122387171, 0.6460745335, 0.1238310114, -1.1769256592, 0.3158800602, -0.0236479342, 0.7139077187, 0.3261925876, 0.557472229, -0.907245338, -0.6556461453, -0.3544453979, -0.8189908862, 0.6624436975, -0.0844561011, 0.135961026, -0.2028769553, 0.3262653649, -0.0252700616, 0.4653339088, -1.0026723146, -0.4175985754, 0.3697187901, 0.1775837094, -0.2642162442, -0.4429197907, 0.2089842558, -0.2615583837, 0.3798767328, -0.0588902198, 0.0706151575, -0.1265779138, -0.4744515717, -0.1868282706, 0.3212502897, 0.6492378116, 0.6209372878, 0.1421924382, 0.0777711868, 0.1995632201, -0.1171910167, 0.3962588012, -0.1447869241, -0.1372236907, 0.0309060197, 0.6256392598, 0.7753538489, 0.5598475933, -0.5752704144, 0.3677514493, -0.0823498517, -0.1068734005, -0.2830403447, -0.1166509688, 0.0104498053, 0.2434713989, 0.1819274127, 0.0002797803, 0.2494404316, -0.5872427225, 0.0373809934, 0.6795011759, -0.0442514792, -0.3919864595, 0.6519327164, 0.0845798925, -0.3460724056, 0.4594362974, -0.2745974064, -0.5080718398, 0.7118983269, 0.3510467708, 0.7138658762, -0.5155523419, 0.086799562, 0.1868395954, 0.5323606133, 0.001209987, 0.2637065947, -0.0980317891, -0.5648527145, -0.9573111534, -0.6118736267, -0.3737255037, -0.1957755834, -0.749859035, 0.0811190605, -0.0371978544, -0.587702632, -0.1370014697, 0.1131212339, -0.5819607377, 0.2041338086, 0.472812891, 0.2857686579, -0.9129793644, 0.7830026746, 0.6740351319, -0.1006291062, -0.3300107718, 0.0467491448, -0.1419026405, -0.7284286022, 0.7241802812, 0.0392320082, 0.0007295921, 0.2358052582, 0.1121737808, -1.096779108, 0.7305995822, 0.5726410151, -0.5175769925, 0.2446988523, 0.7151728272, 0.8187499642, 0.334190011, 0.5464625359, 0.6230068803, 0.5660274029, -0.3836260438, -1.1482977867, -0.2741924524, 0.0933394507, 0.2199401855, 0.5323793888, -0.7377915978, 0.6530083418, -0.2701081336, -0.5057169199, -0.0408383273, 0.2691310048, 0.0947488099, 0.2938255966, 0.3148828745, 0.6146609187, 0.6809484959, -0.0438611656, 1.3680413961, -0.4303405881, 0.3114337623, 0.6374880672, -0.2714238167, 0.6796005964, 0.5552074313, -0.7921584845, 0.0407767296, 0.6684626937, 0.2164316922, 0.3699187636, 0.5835533142, -0.4206427634, -0.1507965177, -0.1607894003, 0.0300890375, 0.4207825065, 0.2912890911, 0.1583037525, -0.001411096, 0.5862025023, 0.0111220106, 0.0825164393, -0.4332395792, 0.6937894821, 0.2973635197, -0.5177258253, 0.7902396917, 0.3725439906, 0.8309620023, -0.3869460225, 0.1893973649, -0.4115205407, -0.0432186499, -0.1776934713, -0.482019037, 0.5017255545, 0.0446531251, -0.1398269087, -0.4354139566, 0.2662494183, -0.4218936265, -0.6316677332, 0.4052112699, 0.836161375, 0.3098705709, -0.4556000531, -0.5748608708, 0.074153617, -0.0819533095, -0.4336664677, 0.6120448709, 0.5099812746, -0.4135719538, 0.8117477298, 0.4106233418, 0.088278614, 0.1548916847, 0.334246099, 0.3028152585, -0.7961859703, -0.1027039737, -1.0937815905, 0.381873399, 0.4673716724, -0.1557000875, 0.9618442655, 0.7302576303, 0.9914585948, 0.0696583241, 0.4226951301, 0.4337759912, -0.027990371, -0.64336133, 0.5982944369, -0.7877847552, 0.4978843033, -0.1364118159, -0.9197382331, -0.4917190075, 0.2899675071, -0.2292796075, 0.0957319662, 0.9781408906, 0.3062287569, 0.5000482202, -0.3410609365, 0.770006597, 0.0168850906, 0.0918810517, 0.4268539846, 1.119905591, -0.4922122359, 0.534723103, -0.6838950515, 0.0287677925, 0.0897203162, -0.6220273376, -0.5676906109, -0.3645989597, -0.6422322989, 0.1531520486, 0.0838223025, 0.4487003684, 0.4684500098, -0.510850668, -0.5701975822, 0.2420646548, 0.4408239424, -0.1697071493, -0.2931052148, 0.1729329228, -0.503072679, -1.0598994493, 0.2256361246, 0.3547419906, -0.0921153501, -0.3747247458, 0.0464454703, 0.0775262937, -0.2171465456, 0.8155636191, -0.2797028422, -0.9162775874, 0.0704491585, 0.1084641814, -0.3618836701, 0.0741026253, 0.7521026134, -0.7638195753, 0.3129171729, 0.1342937797, 0.1859391034, 0.3281413913, -0.0494934097, 0.4996920824, -0.9052123427, 0.2934741974, 0.2497914732, 0.3114511669, 0.2156569511, -0.4231013954, 0.4559083581, 0.4128444493, -0.58988446, -0.8480863571, 0.0946151689, -0.3102819622, -0.4046650827, 1.096323967, -0.1543549001, -0.1480881274, 0.0041870112, 0.1607079059, 0.2769981623, -0.0996440649, 0.5392156839, 0.888348341, -0.0532501824, -0.227700606, -0.826333046, 0.3202427328, 0.6565753222, -0.6921409369, 0.0110830748, 0.5288148522, 0.1272389144, -0.0737066567, 0.5976982713, 0.0892323405, 0.3166312575, -0.141394034, 0.4014106989, 0.2874926329, -0.0699940771, -0.9543725848, -0.0376497731, 0.4343562722, 0.0061283894 ]
http://arxiv.org/abs/2407.03192v1
http://arxiv.org/pdf/2407.03192v1
CiteAssist: A System for Automated Preprint Citation and BibTeX Generation
2024-07-03T15:18:29
2024-07-03T15:18:29
Lars Benedikt Kaesberg, Terry Ruas, Jan Philip Wahle, Bela Gipp
cs.DL
cs.DL, cs.CL
We present CiteAssist, a system to automate the generation of BibTeX entries for preprints, streamlining the process of bibliographic annotation. Our system extracts metadata, such as author names, titles, publication dates, and keywords, to create standardized annotations within the document. CiteAssist automatically attaches the BibTeX citation to the end of a PDF and links it on the first page of the document so other researchers gain immediate access to the correct citation of the article. This method promotes platform flexibility by ensuring that annotations remain accessible regardless of the repository used to publish or access the preprint. The annotations remain available even if the preprint is viewed externally to CiteAssist. Additionally, the system adds relevant related papers based on extracted keywords to the preprint, providing researchers with additional publications besides those in related work for further reading. Researchers can enhance their preprints organization and reference management workflows through a free and publicly available web interface.
[ -0.4746416211, 0.066913873, 0.6050801277, 0.411872983, -0.4286413491, 0.3159381449, 0.3681822419, -0.5667465925, 0.4595788419, 0.1901826262, -0.2778881192, -0.2869272828, -0.3939405084, 0.3823363483, -0.2254343927, 1.0441749096, -0.0279081203, 0.1403115243, -0.0122844269, 0.1147548631, -0.2602724433, -0.2121133953, -0.3786058724, -0.4389464557, 0.9449033737, 0.1720614135, 0.6993360519, 0.5641174912, 0.7636457682, 0.1732863337, 0.4166144729, -0.0193981733, 0.0598312505, 0.5366891623, -0.9905350208, -0.0904538333, -0.3398757577, -0.0888376534, 0.4092481434, 0.5757525563, 0.5434994698, 0.5385730267, -0.1622653902, 0.3392370641, -0.8687271476, -0.1846465468, -0.428676635, -0.4621218443, -0.3815985322, -0.7091901302, -0.3626758158, -0.9423006773, 0.0105126249, -0.6235466003, 0.2853014469, 0.3536710739, 0.9495212436, 0.1829648912, -0.2242204547, -0.2736394405, -0.5131903887, 0.4126878083, -0.1211591139, 0.1655659974, 0.2381390333, 0.238151744, -0.3197887838, -1.1361252069, -0.3993113041, 0.0487394594, -0.5273064971, -0.0356255583, -0.0346826427, -0.0590494499, -0.0412817933, 0.0565864183, -0.7521592975, -0.2913143933, -0.4189760387, -0.2539091706, 0.5886839628, -0.3676217496, 0.4540015459, -0.5223346949, -0.4811922014, -0.1018204242, -0.6544317603, -0.4559192955, 0.6010215878, 0.295462817, 0.4334250391, 0.504615128, -0.0019476382, 0.0530263744, -0.1465928257, 0.4224553704, 0.3048314154, -0.137380898, -0.0094496524, 0.4990218282, 0.809828043, 0.0483173504, -0.0075756595, -0.3482338786, -0.0272737369, -0.3086961508, 0.14813146, -0.8443645239, -0.9559191465, 0.5940296054, -0.2363630384, -0.3691765666, 0.2729881406, -0.670927465, -0.5914736986, -0.4520379901, 0.6598664522, -0.6477484703, -0.2031903714, -0.774711132, -0.722098887, -0.0805031657, 0.4249185324, -0.5069311261, 0.1789358556, 0.4084790051, 1.0924483538, -0.2402105331, -0.299082458, -0.4979904294, 0.8458399177, -0.292314142, 1.2775361538, -0.4702391028, -0.4872079492, -0.0676915944, 0.1132860035, 0.1183965951, -0.2671952248, 0.4669317305, -0.7992439866, -0.2548606098, -0.4415107369, -0.4248485863, -0.0495254323, 0.1283118576, -0.8163506389, 0.9901562929, 0.0497153215, -0.9145208001, 0.3729591072, -1.1441320181, -0.1968406588, 0.6898997426, 0.0097438209, 0.1209631935, 0.0248829834, -0.0435608737, 0.1303225905, -0.1013633013, 0.2152998447, -0.3058783412, -0.1185021996, 0.2128154039, 0.2295520604, 0.9886184335, 0.6232119203, -0.0449602939, 0.2489096224, -0.7291650772, 0.1648817211, 0.2390630692, -0.1744482815, -0.7995243073, -0.0800972506, 0.5586695671, -0.1511125416, 0.4784820378, -0.7183660865, 0.388068378, -0.0941635668, 0.0316176638, 0.9581680894, 0.5627590418, 0.0033227315, -0.121001564, 0.347977072, -0.365566045, -0.0780448467, -0.5091862082, -0.1422857195, -0.3100775182, -0.5602158308, 0.8364511132, 0.5016672611, -0.3821862936, 0.3772426844, -0.5854224563, -0.6292740703, -0.0503213555, 0.2841176391, 0.124345772, 0.0136632333, 0.4163013995, -0.2847677767, -0.6964140534, -0.7196858525, -0.460201174, -0.2680091262, -0.3334346712, -0.3313650489, 0.7430058718, -0.2614204288, 1.1389548779, -0.5215008855, -0.1383777857, 0.1782439053, 0.7216345668, -0.2203165442, 0.8374227881, 0.6531462669, -1.1060664654, -0.5769374371, -0.0739508718, -0.6292875409, -0.5649053454, -0.0194370821, -0.662248373, 0.0024874792, 0.56971246, -0.3189652562, 0.4960294366, -0.0465560779, -0.1224586144, 0.6254406571, -0.0373173617, 0.0909382626, -1.2481690645, 0.7772464156, -0.486231029, -0.1463475525, -0.2226593792, -0.0440439023, -0.0044309641, -0.3378959298, -0.0293034147, 0.6593968272, -0.5643042922, -0.1527804434, -0.3327531815, 0.1782080233, 0.1587957144, 0.1600815505, 0.1649565548, 0.6168339252, 0.062648572, -0.4168200493, 0.2535873353, 0.3111054897, 0.1155040488, 0.7334875464, -0.7015897632, 0.102441594, 0.0006371482, 0.3100094199, -1.1604003906, -0.6769086719, 0.4726944566, -0.5904324651, 0.1841191798, -0.2576935887, -0.996229887, -0.0360619687, -0.3602290154, 0.270521313, -0.1049390212, -0.5979397297, 0.6890919209, 0.1498394608, -0.8088433743, -0.3422206044, -0.2023410648, 0.2461661249, 0.1911687404, -0.1562690139, 0.4815820158, -0.1953075975, -0.3339963257, 0.2880243361, 0.0532090291, 0.0250929873, -0.1558069289, 0.5069789886, 0.3064724505, 0.376935333, 0.5859951973, 0.4025633633, -0.2393238842, 0.0575257502, -0.4258354306, 0.5712665319, 0.0060473965, -0.4904333353, -0.2889313102, 0.6744216681, 0.3031425774, -0.3387750983, 0.1928462088, 0.4898511767, -0.3761379421, 0.280134052, -0.3835507631, 0.0125558926, -0.4595933855, -0.1738192588, -0.4547505379, -0.0622930415, 0.5277582407, -0.5408082604, 0.5372136235, 0.5256730318, 0.2253389508, -0.1528784335, 0.4815317392, 0.4565476775, 0.4051722586, 0.5801686049, 0.0611997284, 0.113456741, -0.8088510633, -0.2636845708, -0.8562555313, -0.4876330495, -0.2655462325, -0.0116319098, 0.0219703205, 0.2319846302, -0.6587792039, 0.4978145361, -0.9708721042, 0.3802231848, 0.8800936341, -0.2470360696, 0.1478967816, 0.1580529511, -0.1955339909, 0.1320656985, -0.0729871169, -0.8270802498, 1.1098726988, -0.0967024267, 0.5120092034, 0.466765821, 1.281227231, 0.7981560826, 0.8974803686, -0.4218200147, 0.5056146383, 0.7594498992, -1.1703726053, -0.0372686237, 0.0638260916, -0.9320019484, 0.0983312353, 0.0039019024, -0.970689714, 0.7354069948, 0.1635762304, -0.2299868315, 0.0552460551, -0.6435342431, 0.6078808904, -0.3033715189, -0.6404471397, 0.0955668017, -0.8401663303, -0.035096664, -0.3322799206, 0.0694506317, -0.1061780155, -0.2568806112, 0.8297722936, -0.6998310089, 0.4047476947, -0.3362779915, 0.3605723381, 0.3000276983, 0.4465560615, 0.5125769377, 0.0572474599, -0.0520062931, 0.0909516141, 0.4714514613, -0.6631932259, -0.3621421456, 0.7831730843, -0.6307615638, -0.1770376116, -0.9342923164, -0.3980199099, -0.0628618076, 0.8080886602, 0.3479881585, 0.1609939635, -0.1380146295, 0.0238648988, 0.4928013384, 0.1683047414, 0.5413672924, 0.2787729502, -0.2569596469, -0.9463785887, 0.9548450708, 0.2878589928, -0.0114864483, 0.5335683227, 0.0579417907, -0.3480971456, -0.6918882132, -0.4470653832, 0.2511331439, -0.9416484833, -0.3330681026, -0.7474048138, 0.177876994, -0.8708773255, -0.4063345492, -0.0011146485, -0.4824579954, -0.1672417074, -0.1341733932, 0.5327703953, 0.5016559958, -0.4237547517, 0.4688686132, -0.722504437, 0.3450761437, 0.0528063998, 0.2763720453, -0.2739959359, -0.1157767251, -0.303098321, -0.4927692711, -0.5533409715, -1.3234070539, 0.2580187023, 0.1202357337, 0.4931001663, 0.4927526116, 0.4434902072, 0.4982587397, -0.4265101552, 0.6995941401, 0.2923007011, -0.7721021771, 0.8547819257, -0.6178915501, 0.1204010099, 0.9694048166, 0.9092648625, 0.1455427706, -0.0401798561, -0.7084609866, -1.2387812138, 0.3313210607, 0.2124992311, -0.3451708555, 0.0571301356, 0.1764076203, 0.1478820741, 0.2334212363, -0.6685926318, -0.1545299888, -0.56375283, -0.4251146615, 0.2403253317, -0.205965206, -0.4698099196, -0.0216796827, 1.1087821722, -0.2060184181, 0.1575921029, 0.5933018923, -0.2539149523, -0.0538765825, 0.1625311971, 0.3163892031, 0.934292078, -0.6902987361, 0.3870379627, -0.3805592656, -0.6674206853, 0.0845312402, 0.6045296788, -0.3238452077, 0.4900420606, 0.1717394739, -0.0116750225, 0.1551462412, -0.6361429095, 0.2057724446, 0.211145252, 0.0318918377, -0.8813474178, -0.2998680174, -0.042111326, 0.1517695487, 0.9517442584, 0.2532408535, 0.3851532936, -0.3147015572, 0.1251946986, 0.0662167296, -0.27831164, -0.4818542004, 0.7832597494, 0.1862027645, -0.4078435004, -0.1663050056, -0.2498513758, -0.2991224825, 0.0536592267, 0.2848282158, 1.1125308275, -0.2263775021, -0.0106477216, 0.3373980224, 0.402944386, 0.2686079443, 0.1565358043, -0.3181372881, -0.158531487, -0.005788757, -0.938002944, -0.6201832891, -0.1440556496, -0.4677764773, 0.1746833473, -0.7201684713, -0.3094924092, 0.5211059451, 0.2087583989, -0.4910572469, 0.1672278941, -0.0940249339, 0.9506168365, -0.6345621347, 0.7342576385, 1.0483158827, -0.9663475156, -0.5083813071, 0.0700336769, -0.0472958498, -0.1181112975, 1.0564609766, -0.0422062762, -0.4149137735, 0.1158466116, -0.6637710333, -0.8570364714, 1.1134623289, 0.3578187227, 0.0959312394, 0.110017404, -0.1586394608, 0.3665561378, -0.2101746947, 0.4091938734, -0.0151768755, 0.8062354922, 0.2098097056, -0.4687960446, 0.3205252886, -0.7553486824, -0.0133506181, 0.1847615838, -0.254011929, 0.5571931601, 0.0745214671, -0.2006734163, 0.1788259149, 0.7632986307, 0.3427231908, 0.5782666802, 0.3580231369, 0.1746299267, 0.8194123507, -0.0133673763, 0.7100020647, -0.3422235847, -0.0631628335, 1.3227344751, -0.3210256696, 0.8688604832, 0.8824456334, -0.099673897, 0.9817752838, 0.8713053465, -0.1743237376, 0.4039339423, 0.0206145011, -0.2932030261, -0.1557395905, -0.2194809169, -0.4318273962, -0.2419100255, 0.3152777851, -0.626470983, -0.1740194857, 0.0321352035, 0.1693899333, 0.0145104397, -0.1838373244, 0.6128349304, -0.1640313119, -0.6046816707, 0.0683179572, -0.2656185627, 0.2030145526, -0.7430430055, 0.0564573519, 0.2115687132, 0.0063524153, -0.5624116063, -0.4072639644, 0.279586494, -0.0237547196, -0.3322210908, -0.0823408067, 0.9235889316, 0.0403423235, -0.360805124, 0.1420195103, 0.1978973448, 0.5453873277, -0.0152515098, -0.4609735608, -0.0258763395, -0.3712644279, -0.4359603226, 0.2756078243, 0.374437809, -0.1473652571, 0.4986677468, 1.1289498806, 0.2363777459, 0.1959646344, -0.1946715713, 0.7789607048, -0.5167070627, -0.5135398507, -0.4637141228, 0.295150131, -0.6931585073, -0.2366159558, 0.7074422836, 0.8650481105, 0.5235612392, -0.1264218688, 1.2869780064, -0.4997439384, 0.81121701, 0.2935375869, 0.8034582734, -0.5477628112, 0.0103124632, -0.5701574683, -0.9444433451, -0.4363920987, 0.162039876, -0.5887362957, -0.0911588147, 0.5935479999, 0.5512211323, -0.0846770182, -0.1053098589, -0.1734223962, -0.447224915, 0.549852252, -0.30343467, 0.2792085111, -0.479054004, 0.6904041171, -0.0807799548, -0.1246286258, -0.5333563685, -0.9019600749, -0.536575079, -0.514336288, -0.433028549, -0.2270964682, 0.0151734287, 1.0776664019, 0.3383277953, -0.9421643019, 0.0525973663, -0.1580478251, 0.0438836366, -0.1145341024, -0.3498573899, 0.8103628159, -0.4972667396, -0.8354255557, 0.042271059, 0.2623622119, 0.0397521853, -0.2082631588, 0.0674600899, -0.6663528085, 0.3799113631, 0.1472138017, 0.6951625943, -0.2696274221, -0.2438673824, -0.3067751527, -0.1529303491, -0.2898175418, 0.9117455482, -0.5719035268, 0.53647542, 0.8629398942, 0.4381822348, 0.1217285022, 0.2479484826, 0.36977157, -0.434383899, 0.0398040004, 0.2325998098, 0.3436435163, 0.3360410929, -0.1440780461, 0.6691176891, 0.4427435696, -0.6790434122, -1.2923184633, 0.1529369056, -0.9992714524, -0.3305787444, 0.5713566542, -0.2843571305, -0.3064451516, -0.4390147626, -0.2483253926, 0.3522729874, -0.4335293174, 0.5052288771, 0.3615423143, -0.0996701792, 0.0634288192, -0.3428995013, 0.4631413221, 0.0432969406, -0.8367052078, -0.0531113036, 0.4768532217, 0.4190958738, 1.0241680145, 0.5217601061, -0.1100261062, 0.3959834874, 0.1976267397, 0.6915242672, -0.2332166582, -0.1870592386, 0.3760994375, 0.6405960917, 0.0310279429, -0.299431622 ]
http://arxiv.org/abs/2407.03181v1
http://arxiv.org/pdf/2407.03181v1
Fine-Tuning with Divergent Chains of Thought Boosts Reasoning Through Self-Correction in Language Models
2024-07-03T15:01:18
2024-07-03T15:01:18
Haritz Puerto, Tilek Chubakov, Xiaodan Zhu, Harish Tayyar Madabushi, Iryna Gurevych
cs.CL
cs.CL
Requiring a Large Language Model to generate intermediary reasoning steps has been shown to be an effective way of boosting performance. In fact, it has been found that instruction tuning on these intermediary reasoning steps improves model performance. In this work, we present a novel method of further improving performance by requiring models to compare multiple reasoning chains before generating a solution in a single inference step. We call this method Divergent CoT (DCoT). We find that instruction tuning on DCoT datasets boosts the performance of even smaller, and therefore more accessible, LLMs. Through a rigorous set of experiments spanning a wide range of tasks that require various reasoning types, we show that fine-tuning on DCoT consistently improves performance over the CoT baseline across model families and scales (1.3B to 70B). Through a combination of empirical and manual evaluation, we additionally show that these performance gains stem from models generating multiple divergent reasoning chains in a single inference step, indicative of the enabling of self-correction in language models. Our code and data are publicly available at https://github.com/UKPLab/arxiv2024-divergent-cot.
[ -0.4315840006, -0.7390443683, 0.5408032537, -0.0676733851, -0.3224761486, 0.2535070181, -0.4092847705, -0.2936156094, -0.1544497311, 0.5530329347, -0.8468897939, -0.6048763394, -0.455817461, 0.0977762565, -0.2517473996, 0.9786075354, -0.0028896558, -0.0084190639, -0.1469759941, -0.0060061328, -0.50535357, -0.1869137585, -0.7710745931, -0.2434520125, 0.5443288088, 0.7108317614, 0.6604338884, 0.7550459504, 0.5577473044, 0.2935774028, -0.15701814, 0.8320789337, -0.5320367217, 0.2223834842, -0.5633682609, -0.7747691274, -0.5164588094, -0.1824085265, 0.5026178956, 0.5067936778, -0.1558022797, 0.0948757604, -0.0085164709, 1.0734609365, -0.806401968, -0.1639623344, -0.781406641, -0.1384532303, 0.0122906463, -0.3612377048, -0.4836573601, -0.3663152754, -0.005288803, -0.2608101368, 0.6322003007, -0.066907689, 0.3954847753, 0.5375910401, -0.4185239077, -0.3412495852, -0.7741287351, 0.726611197, -0.8981004357, 0.3637116849, 0.1481756419, 0.0383630544, -0.2409231067, -0.5522053838, -0.4127858281, 0.0300448854, -0.02830204, -0.0152986115, -0.0452373698, 0.3521541953, 0.3910943568, 0.5020396709, -0.1254957318, 0.3209614456, -0.3723916411, -0.0524257049, 0.801217258, 0.3421170413, -0.0003460396, 0.1769950241, -0.2232504487, -0.2423757762, -0.825414598, -0.148292914, 0.5073395371, 0.6276211143, -0.249770537, 0.47436288, -0.453668505, 0.7019098401, 0.3481644392, -0.0550164878, -0.010043784, -0.4236342311, -0.120679386, 0.1357127726, 0.3743626177, 0.2097097188, 0.4099296331, 0.0801349878, -0.3106847405, 0.0114597064, 0.1919126362, -0.8457236886, -0.6358556151, 0.1503335983, -0.0355237089, -0.0945061594, -0.2794039249, -0.4346568882, -0.2983768582, -0.6249800324, 0.119676128, -0.3522667289, -0.2939275205, 0.3778866231, -0.068143867, 0.0478091501, 0.5761247873, -0.9565819502, 0.3402528763, 0.6994886398, 0.8190687895, -0.2534801066, -0.2538065612, -0.5905940533, -0.0020460919, -0.7014166117, 1.0773559809, -0.5785472989, -0.1605866402, -0.2144102603, -0.2377699614, -0.0971860439, -0.5211628675, 0.4807400107, -0.5879222751, -0.0351609625, -0.5679003, -0.8269206285, -0.0001020939, 0.2536742389, -0.667358458, 0.907545507, -0.1805600971, -0.770101428, 0.311514169, -0.4442205727, -0.4688616097, -0.1622951776, -0.2293901294, -0.3633697927, 0.2687675059, 0.4334414005, 0.2983618379, -0.2435505241, -0.0810335353, -0.2912909985, -0.4223482907, -0.0994312316, -0.6086081266, 0.6130725145, 0.133521691, -0.3648326397, 0.1460600048, -0.6819283366, 0.3037375212, -0.2011866421, -0.3761225343, -0.3139243722, 0.0345980935, -0.7619518638, 0.1685607433, -0.0205407478, -0.2167100012, 0.4781303704, -0.4786757529, 0.2928520739, 0.9764477611, 0.007348517, 0.2899152935, -0.1759205163, 0.4617955089, 0.3246293068, -0.0196360815, -0.1132029891, -0.3417695165, -1.0628221035, -0.4966927171, 0.4387551546, 0.1779194772, -0.5161346197, 0.3374486566, 0.0374964327, -0.355996877, -0.7875171304, 0.1574853063, 0.3830221593, 0.3942887485, 0.662509799, -0.157578513, -0.37843436, -0.7156310678, -0.434803158, -0.0842911005, 0.2103732675, 0.3985275626, 0.33653602, -0.2764056921, 0.7049558759, -0.4987972677, 0.1288089007, -0.0875340626, 0.2579378784, 0.1800785959, 0.5578898787, 0.1294004917, -0.2708047032, -0.3153047264, 0.0146856131, -0.3847936392, 0.0102279484, -0.1918134838, -0.4461274743, 0.3230774403, 0.5557019711, -0.5170997977, 0.2870185077, 0.383032769, -0.3172128797, 0.7711603045, -0.4552779496, 0.139007166, -0.6375385523, -0.4632078707, -0.3616530895, -0.4110473096, -0.3287199736, 0.1491722167, 0.3570889533, 0.61086303, -0.2923472524, 0.3079452813, -0.6171997786, 0.1027893126, -0.4442019165, 0.3399297893, 0.0899678469, 0.3040342331, -0.1447515637, 0.9673146009, 0.6483117938, -0.985511899, 0.1790670753, 0.0175387487, -0.2480740845, 0.3382524252, -0.5102680326, 0.3488070369, -0.0369075537, 0.0952700227, -0.9322920442, 0.025682468, -0.1613815278, 0.0629922152, 0.3532132208, -0.1647650748, -0.5637459755, -0.4429178834, -0.236750111, 0.4970671833, 0.2403750867, -0.9727824926, 0.2884616554, -0.0407419316, 0.1077745035, -0.6898226142, -0.6113045812, -0.2783176303, -0.0130288983, -0.393150568, 0.2589183152, -0.2061579525, -0.1373290867, -0.1612714231, -0.5236224532, 0.2507570088, 0.1345219165, -0.2440662384, 0.2026453614, -0.2549474239, 0.6768578887, 0.6794994473, 0.0654581785, 0.0531840324, -0.4534504116, 0.5311637521, -0.4491170347, -0.4331709146, -0.3092664778, -0.0526801124, 0.2945379615, -0.2558799982, 0.6284282804, 0.3649652898, -0.0497907139, -0.7077012062, -0.6035823226, -0.4327739477, -0.5324073434, 0.0337201171, -0.5861285925, -0.9266954064, 0.3905593157, -0.5497601032, -0.0647901073, 0.5329440236, 0.7482222319, 0.0775378719, 1.035381794, 0.7297071218, 0.2614959478, 0.3571352363, -0.4962203503, 0.3311609626, -0.9073781967, -0.0612014495, -0.2987424731, -0.3152077198, -1.0378047228, -0.7666165233, 0.0990964025, 0.4584758282, -0.3813875318, 0.1660096943, -0.6302478313, 1.0185688734, 0.5720199347, 0.2222315818, 0.6773398519, -0.1288836747, -0.6267952919, 0.3221325278, -0.905081749, -0.5262951851, 1.0025805235, 0.1484844089, 1.1218640804, 0.074828051, 0.9389707446, 0.2343106568, 0.1349306852, -0.5935827494, 0.3991203904, -0.2847776115, -0.5692974925, -0.249162823, -0.5705899, -0.7289115191, 0.3563245833, 0.0321677215, -0.5707512498, 0.4403946996, 0.2723782063, -0.5034434199, 0.413934052, -0.8810603023, 0.6205940247, -0.3557674885, -0.6107022166, -0.6733441353, -0.4678910673, 0.4347241819, 0.1138405129, -0.1351965815, -0.4246608615, -0.0230746586, 0.3498208821, -0.3482705355, 0.8176897764, 0.1529824138, -0.3572908938, 0.401457876, 0.3370592296, 0.6644821763, 0.3964690566, -0.1754561514, 0.2359853834, 0.0767425224, -0.4699803889, -0.5992510319, 0.9798618555, -0.8094308972, -0.9337855577, -0.2470107526, -0.8156209588, -0.2668500543, 0.3231948018, -0.0041531338, 0.2979997396, 0.096948579, -0.0936018899, 0.7906490564, 0.0373211689, 0.4416380227, 0.4426122308, -0.0134046637, -0.2503009737, 0.4386257231, -0.0264006387, 0.7108253241, 0.3643273413, 0.2150005996, -0.3785640001, -0.3910386264, -0.4403636158, 0.3207598031, -0.9243946075, -0.5354724526, -0.4727668762, -0.216154173, -0.2004501522, -0.0583789125, -0.8438583016, -0.7383529544, -0.2152866125, -0.2577520609, 0.5790657401, 0.7617072463, -0.280364722, 0.0910091326, -0.4196522832, 0.285107553, 0.4320775568, 0.6493748426, 0.1204836443, -0.4183266759, -0.3096104264, 0.3384171128, -0.4630876482, -0.3551647663, -0.0045115035, 0.145060882, 0.43345204, 0.3190736771, 0.2594024539, 1.1047947407, -0.4978497326, 0.3890314996, -0.0112331286, -1.0926868916, 0.7610760331, -0.1781172901, 0.5083496571, 0.5827804208, 0.2816426158, -0.1302617341, -0.5387868881, -0.545820117, -0.7693820596, 0.7097935081, 0.2081870288, 0.0438603573, -0.2805033028, 0.5417743921, 0.1654205918, 0.1773172468, -0.3183797002, -0.2511624694, 0.1794937104, -0.140805915, 0.0543003306, -0.0490062088, -0.3021980822, -0.5543510318, 0.6448506713, -0.4464007616, 0.0352386869, 0.4211018384, 0.0400595069, -0.3823108971, 0.167056933, 0.4997997284, 0.7572878003, -0.1203294024, 0.4118109345, 0.4376948178, -0.1566582769, 0.0661330596, -0.1560491174, -0.0387818888, -0.263687253, 0.4296352863, 0.8180578947, -0.0151896449, -0.5305493474, 0.1499674767, -0.3364850283, 0.003560558, 0.2041419446, 0.5732316375, 0.1075614393, 0.61019665, -0.1097643301, 0.389799118, 0.1661751121, -0.3904175758, 0.1337795258, 0.4194587171, -0.0665175542, -0.0355946682, 0.4358696938, 0.2021538615, -0.2513649762, 0.8214194775, -0.2025591135, -0.3131791949, 0.6297317743, 0.6310946941, 0.9434056282, -0.1365060508, 0.2289293706, 0.5401992798, 0.3894130588, -0.278685987, 0.2251093537, -0.3796700239, -0.7387666106, -0.5766631365, -0.6016278267, -0.5164913535, -0.2520319819, -0.6109204888, 0.3472862244, -0.4087471664, -0.0218631942, -0.1152847707, 0.0763293579, -0.8308933973, 0.2985505164, 0.2580910921, 0.8764029741, -0.4470122159, 0.8913395405, 0.3034421504, -0.2292841673, -0.8408472538, 0.4057957232, -0.3740502, -0.5924495459, 0.3234830797, 0.2244306207, -0.6867723465, 0.0576033108, -0.4447816312, -1.1188790798, 0.988845408, 0.616669178, -1.1588517427, 0.1315757632, -0.015650589, 0.7681823373, -0.5733371973, 0.3802405596, 0.9513474107, 0.0495117232, 0.0076365559, -0.6236432791, 0.204373464, 0.0887891948, 0.0550659671, 0.2794466615, -0.7880125046, 0.9515525699, -0.8183492422, -0.2951680422, -0.1173366457, 0.6604815125, 0.5068831444, 0.0133617651, 0.4561187923, 0.5422874689, 1.2615454197, 0.0445172302, 1.006264925, -0.5002062917, 0.6312384605, 1.4903258085, -0.0806853548, 0.7792879343, 0.3548007905, -0.1489088982, 0.9652932882, 0.6283308864, 0.2172161341, 0.6073746085, 0.2715761662, -0.1874666959, -0.6628362536, 0.2476441413, -0.3324782848, 0.301320821, 0.3386395872, -0.2206728309, -0.1706395149, -0.3240686655, -0.1775381714, 0.1378993839, -0.49484393, 0.744063437, 0.097790435, -0.8750929236, 0.9598044157, -0.0469330475, 0.362261802, -0.171378687, -0.1155062467, -0.423430711, 0.6658907533, -0.2182291746, -0.747613728, 0.260946095, 0.0313703828, -0.2144863009, 0.1112775728, 0.6181899309, -0.480224371, -0.6966086626, 0.4873428643, 0.5656887889, -0.0632951558, 0.1716304719, -0.6330040693, -0.0687889084, -0.1393359154, -0.1817928851, -0.0919091702, 0.816701889, -0.0948976725, 0.7544595003, 0.5062855482, 0.0444448851, 0.2155735046, 0.4945162833, 1.1691212654, -0.7579668164, -0.3937025368, -1.1157746315, 0.4093501568, -0.1176302433, -0.353562206, 0.7672860026, 0.6452540755, 1.2589644194, 0.074457556, 0.6565627456, 0.2393500954, 0.3612306416, -0.6141378284, 0.2458837777, -0.4531854987, 0.6701328158, -0.0863845572, -0.4972654283, -0.1929877996, 0.5223410726, -0.5966303945, 0.1420442015, 0.8970397115, 0.9461435676, -0.1388907731, 0.0974610075, 0.2062475383, 0.4174900055, 0.3082578182, 0.3490408957, 0.8129498959, -0.483805716, 0.2227275819, -0.5300232768, -0.106994085, -0.0586024858, -0.7297391295, -1.2400797606, -0.0543722697, -0.4831673205, -0.2466701567, 0.3685327768, 0.9572548866, 0.7407414317, -0.9423663616, -0.2344405353, -0.7164490819, 0.5848863721, -0.5595608354, -0.1655017436, 0.2978692651, -0.9324781895, -0.6507821679, 0.3915657699, 0.3820806146, -0.2507667243, -0.2125735283, -0.0490529239, -0.4143834114, 0.5952951312, 0.6093909144, -0.2383033037, -0.8940625787, -0.3134002686, -0.2465951145, -0.0185079835, 0.185201481, 0.9050979614, -0.7803995609, 0.7061865926, 0.4719276726, 0.4019401968, 0.7459629178, 0.1001483575, 0.5397247672, -0.9212783575, -0.0812129155, 0.2181190252, 0.1991677433, 0.3359270096, -0.6526859403, 0.558750391, 0.0540305227, -0.6316165924, -0.7921785712, 0.4132398665, -0.7013429403, -0.3699412644, 0.9504281282, -0.008709576, -0.0928953215, 0.2256246656, -0.2490854561, 0.3838763833, -0.3143080473, 1.0906666517, 0.5194612741, -0.3841332197, -0.2015750706, -0.1569208652, 0.573249042, 0.5255226493, -0.8029759526, 0.4489901364, 0.181265533, 0.3458845019, -0.1397065371, 0.3910209239, 0.1132939532, 0.3452036977, 0.0951910689, -0.0950028375, 0.2029996216, -0.6217820644, -0.2343665063, -0.2324164212, 0.1999005675, 0.0254673436 ]
http://arxiv.org/abs/2407.03169v1
http://arxiv.org/pdf/2407.03169v1
Investigating Decoder-only Large Language Models for Speech-to-text Translation
2024-07-03T14:42:49
2024-07-03T14:42:49
Chao-Wei Huang, Hui Lu, Hongyu Gong, Hirofumi Inaguma, Ilia Kulikov, Ruslan Mavlyutov, Sravya Popuri
cs.CL
cs.CL, cs.SD, eess.AS
Large language models (LLMs), known for their exceptional reasoning capabilities, generalizability, and fluency across diverse domains, present a promising avenue for enhancing speech-related tasks. In this paper, we focus on integrating decoder-only LLMs to the task of speech-to-text translation (S2TT). We propose a decoder-only architecture that enables the LLM to directly consume the encoded speech representation and generate the text translation. Additionally, we investigate the effects of different parameter-efficient fine-tuning techniques and task formulation. Our model achieves state-of-the-art performance on CoVoST 2 and FLEURS among models trained without proprietary data. We also conduct analyses to validate the design choices of our proposed model and bring insights to the integration of LLMs to S2TT.
[ -0.0079984032, -0.5385002494, 0.760417223, 0.1501087397, -0.6418059468, -0.2322626263, -0.3789441884, -0.5164246559, -0.0749732405, 0.8720627427, -0.3650006354, -0.3523032963, -0.9982864857, 0.1279884428, -0.553399384, 0.9475830197, 0.0752611607, 0.0305327177, -0.0081988806, 0.3072410226, -0.3898194134, -0.429171741, -0.5031015277, -0.2952955067, 0.3118867278, 0.3246167302, 0.4484385848, 0.7925134897, 0.3190180659, 0.1197288111, -0.3533623815, 0.360142231, -0.6385976672, 0.1513718516, -0.4508817196, -0.4129734337, -0.5475242734, -0.3812949657, 0.7020637989, 0.3448044658, -0.0391315818, 0.1154047996, 0.1699623466, 0.1727814227, -0.4677891135, 0.2999457419, -0.7581370473, -0.1419015825, -0.1371073574, -0.3069140315, -0.8103721738, 0.0011206705, 0.0349998176, -0.1727088094, -0.19376719, -0.1356836408, 0.3990937173, 0.5242753625, -0.7187390924, -0.2922934294, -0.8000069261, 0.6508694887, -0.6492821574, 0.6525508761, 0.2377278954, 0.1169224679, -0.1319981366, -0.5930987597, -0.2977341413, -0.0820003673, 0.0435227938, 0.0088495174, -0.4088101089, 0.0449502021, -0.0433015525, 0.120123148, -0.6481459737, 0.258569926, -0.1703346521, 0.0557583645, 0.4290213585, 0.0789040029, 0.232437551, -0.1696684808, -0.3796478212, 0.2735863626, -0.5270522237, -0.1735507995, -0.1845895052, 0.6353380084, -0.3787673414, 0.8803699613, 0.0426824503, 0.5435575843, 0.0780966058, 0.0895444527, -0.0847402737, -0.3819844127, -0.3371806741, 0.1414136291, 0.8285256624, -0.1071923152, 0.1913460791, -0.6498274803, -0.399621129, -0.0580804348, 0.0440916009, -0.9495671391, 0.1620323807, 0.1638958007, -0.1487178504, -0.2819959819, -0.5152583122, -0.4031248391, -0.2920233607, -0.1374656409, 0.3919285834, -0.1490164846, -0.4649558365, 0.3828225136, 0.0026400534, 0.2754084766, 0.2123717368, -0.9726474881, 0.3460454643, 0.8140611053, 0.8011292219, -0.3235078454, -0.0220085513, -0.8407485485, 0.5841538906, -0.4800105691, 0.7862651348, -0.438477546, -0.3837300539, 0.104241617, -0.1188415512, 0.0378683396, -0.3392566741, 0.7242270708, -0.7297092676, -0.4096822441, -0.2455171049, -0.6264766455, 0.0637496561, 0.0483938903, -0.4649598897, 0.6897032261, -0.0356976725, -0.6322077513, -0.214296788, -0.5765669346, -0.6718263626, 0.138722688, -0.2634364367, -0.140635699, 0.3033161759, 0.2125927061, 0.5491328239, -0.5765965581, 0.4005748928, 0.1300859004, -0.4583501518, 0.1931362301, -0.3959727585, 0.4910010695, 0.247733593, -0.1823888868, 0.1119517162, -0.3669208884, 0.013767655, 0.3311143219, -0.5187231898, 0.0091088964, 0.0947927535, 0.3829650879, 0.0717236102, 0.4171236753, -0.4410137236, 0.2843706608, -0.4778953493, 0.7947384119, 0.461026907, -0.2259448767, 0.6234221458, -0.1002899483, 0.2959168255, -0.0926312655, -0.3963521719, -0.1688928753, -0.2984697521, -0.6027700901, -0.4989280403, 0.3297432959, 0.6641283035, -0.6403187513, 0.3269757628, -0.7127216458, -0.382633388, -0.4159214199, 0.0651937872, 0.3476061821, 0.2588025331, 0.4027126431, 0.281907618, -0.4172587097, -0.7843670845, -0.2890163362, 0.2693993151, -0.1473671943, 0.0266288593, 0.4826265574, -0.485667944, 0.6273492575, -0.1446310282, -0.3285753131, -0.6631593704, -0.2407730371, -0.0536298864, 0.4450680315, 0.1448529363, -0.5078966618, -0.307220906, 0.3222551048, -0.5831440091, -0.0682643354, -0.0454262905, 0.0030013961, 0.1792454422, 0.5955227613, -0.7312169075, 0.2659246624, 0.8306013942, -0.1890813708, 0.3371368349, -0.4143164456, -0.061554119, -1.1973514557, 0.1199681982, -0.05127481, -0.5323569775, -0.8982778192, 0.1427142024, 0.2584044933, -0.3582736552, -0.4923404455, 0.5787615776, -0.2776379585, -0.3276608586, -0.4287673533, 0.3054138422, 0.0278066248, 0.4894770384, 0.2293643057, 1.0524791479, 0.4319608808, -0.4576708376, 0.0546775311, 0.5574720502, -0.4938815534, 0.1285004765, -0.7603061795, 0.514413178, -0.0754742697, 0.3585335314, -0.9269125462, -0.2735339701, 0.2532604635, -0.3639217913, 0.2737515569, -0.1960247904, -0.7538899183, 0.2108133286, 0.0648379028, 0.4618583918, 0.4884465039, -0.6040654778, 0.6678587794, 0.2121916413, -0.4076263905, -0.1417496651, -1.131665349, 0.3896202147, 0.1982610822, -0.7247025967, 0.5406135321, 0.1217718348, 0.0733859241, -0.2286348939, -0.2003041506, -0.0357116349, -0.267085135, -0.0783572644, -0.0479104035, -0.241463691, 0.0812107325, 0.5689436793, -0.1616214663, -0.2191689312, -0.4141403735, 0.5275508761, 0.089557007, -0.1299976408, -0.8706214428, 0.7671751976, 0.8099178076, -0.7214784622, 0.5796422362, 0.2175240666, -0.1521243304, -0.3044603765, -0.4790894687, -0.0430652834, -0.4588211775, 0.7896948457, -0.6641629338, -1.0437372923, 0.2342655212, -0.2067893296, 0.0378395692, 0.1304153651, 0.5888267159, -0.0457020588, 1.171618104, 0.4573330581, 0.1131050214, 0.4253719449, -0.2430687994, 0.2811962068, -1.0750271082, -0.1972071528, -0.5286692977, -0.0055992045, -0.4561750293, -0.7630221844, 0.2053637505, -0.1204658225, -0.3000403643, 0.3256749809, -0.3431965113, 0.268581003, 0.1338034123, 0.1212482527, 0.3345497549, 0.2711992562, 0.302927345, 0.124548167, -0.7460023761, -0.5767292976, 0.8254722953, 0.476965487, 0.5955150723, 0.2476288229, 0.6236467361, 0.2100486904, -0.1651672721, -0.998404026, 0.6516628861, -0.740516603, -0.3327222466, -0.1974942535, -0.4436014593, -0.7447619438, 0.3988684714, -0.051711347, -0.5810399652, 0.0169518776, -0.085009113, -0.0817957371, 0.2191570848, -0.439938277, 0.7269799113, -0.3737155497, -0.3355246782, -0.2736326754, -0.2551723719, 0.1936094761, -0.1387216598, 0.370174855, 0.0268325694, -0.2428841293, 0.5272995234, 0.0109071657, 0.7258412242, 0.046139203, -0.5474684238, 0.1396382749, 0.2804275453, 0.9648259282, -0.1180768833, -0.3547924161, 0.3018057346, 0.186986357, -0.355258584, -0.4549972117, 0.6277078986, -0.7895213962, -0.6146734357, -0.2128114849, -0.7807552814, -0.2830990255, 0.2995419204, 0.1471172273, 0.5509948134, -0.0161934551, 0.2396136373, 0.8570816517, -0.0728520453, 0.0742882341, 0.4615094066, -0.1751474291, -0.4194273949, 0.813796103, -0.0226895902, 0.5129352808, 0.6754569411, 0.1698100269, -0.541315496, -0.8385273814, -0.6262621284, 0.3845083416, -0.7567123175, -0.0290164687, -0.7095109224, -0.162580058, -0.5279256701, -0.0597177707, -0.5053355098, -0.1044105217, -0.559807837, -0.0651681647, 0.1551126689, 0.6371528506, 0.0722389445, 0.4211951196, -0.7827830315, 0.4839091599, 0.2874096334, 0.2201788872, -0.1422793865, -0.8549439907, -0.2994435132, 0.2051234245, 0.0434841886, -0.7378925085, 0.208338663, 0.1361290216, 0.1939265132, 0.1600053459, -0.0014970921, 0.5520634651, -0.7685054541, 0.6757590175, 0.1440429091, -1.0947123766, 0.4485624433, -0.6282707453, 0.3501315415, 0.1595202833, -0.2043751627, -0.424810797, -0.273863703, 0.150996089, -0.4852456152, 0.8965525031, 0.2759244144, 0.4897243083, -0.0449797958, 0.5951473117, -0.1232222989, -0.0381388031, -0.4771754444, 0.1534522027, -0.0829569623, -0.3516084552, -0.2190646976, -0.6194758415, 0.1717505008, 0.0000487895, 0.40896222, 0.0926684737, 0.2900831401, -0.0289646182, -0.2767579257, -0.1230920106, 0.5782980323, 0.7827907205, 0.232362926, -0.1033882946, 0.2595971227, 0.1933786124, -0.204682678, 0.0957851708, -0.0267042704, -0.1669525504, -0.1370035112, 0.2713124156, 0.9020525813, 0.5501440763, -0.6713632345, 0.4913005233, 0.101130873, -0.2863109708, -0.0184600726, -0.0282320436, 0.4037300646, 0.5129377842, 0.1535880119, 0.1109817922, -0.0028186096, -0.3967609406, 0.0661125481, 0.3942127824, -0.3142927885, -0.336972177, 0.7632953525, 0.3766818047, -0.4811595678, 0.3406660557, -0.0223806817, -0.2947297096, 0.2463805676, 0.8691952229, 0.8586269021, -0.2477488816, -0.0607017688, 0.017078843, 0.3103559315, -0.3111353219, 0.2489156425, -0.1574345827, -0.4342791438, -0.6884602904, -0.5891759396, -0.1883795112, 0.2133587003, -0.6064988971, 0.3164850473, -0.0275935065, -0.0465739183, -0.2622826099, -0.2331343293, -0.4750595987, 0.2293334901, 0.3604581356, 1.0456869602, -0.4905280471, 1.2321088314, 0.3843432963, -0.2198237628, -0.6986215711, 0.0849189758, -0.4051907659, -0.79583776, 0.5721977353, -0.1134403571, -0.6474640965, 0.3931732178, -0.2808062434, -0.7786421776, 0.8698072433, 0.904872179, -0.8506676555, -0.2993158698, 0.5219768882, 0.2977625132, -0.2456267029, -0.131052509, 0.5951233506, 0.2924093604, 0.3329654038, -0.9908269644, 0.009879075, -0.0415348448, 0.3646002412, 0.1069195345, -0.4949952364, 0.5266969204, -0.241501227, -0.1850184649, 0.3661270142, 0.6021732688, 0.0231657177, -0.116672866, 0.1476771981, 0.2093279809, 0.4820924401, 0.1716861576, 1.0900037289, -0.2061326504, 0.2675010264, 1.2314670086, -0.2529558837, 1.2241697311, 0.5917007923, 0.1453906298, 0.0384100229, 0.2954288125, 0.1709046513, 0.8916332126, 0.0974264592, -0.3105505109, -0.5187360644, -0.1842902899, -0.3678806722, 0.7218326926, 0.3744689226, -0.3118481934, -0.2516019344, -0.0121446149, -0.0597547181, 0.1087885872, -0.3578110933, 0.8749066591, 0.2422115207, -0.4198219776, 0.7593007684, 0.3631028831, 0.6892474294, -0.6426856518, 0.1831376404, -0.0214225762, 0.1437317878, -0.2212871313, -0.5138738155, 0.3844408095, 0.335084796, -0.2585973442, -0.361821115, 0.4786659181, -0.7115282416, -0.4685047567, 0.3440113664, 0.4156628549, 0.1556827277, -0.2703486383, -0.2495302409, 0.6228622794, 0.0347197913, -0.1720387489, 0.3481808901, 0.4031751752, 0.2742372751, 0.4730010927, 0.4316585958, 0.1071548015, -0.0332809128, -0.0543445572, 0.535587132, -0.5050466657, -0.5853557587, -0.8629374504, 0.5704891682, 0.4456880391, 0.2134696394, 0.420630008, 0.6501305699, 0.3911240995, -0.1316616982, 1.0737317801, 0.3579806685, 0.3750141859, -0.5393523574, 0.7524983883, -0.6973391771, 0.2393938601, 0.0880770087, -0.547018826, -0.127922371, 0.4985347986, -0.472856909, -0.3129678369, 0.3359879553, 0.714363873, -0.1980021298, 0.1499333084, 0.5107116103, 0.2281909883, 0.5996067524, 0.6411798596, 0.6277239919, -0.5669722557, 0.842145443, 0.3961500823, -0.1344877928, -0.3960795701, -0.7255001664, -0.9203701615, -0.4044214487, -0.2848903835, -0.2472127974, 0.1886922121, 0.8410528898, 0.5248203874, -0.6206369996, -0.3720012009, -0.2355685234, -0.1395770758, 0.0829350576, -0.0181604922, 0.3867676556, -0.3022271693, -0.8501572609, 0.7127213478, 0.4032197297, -0.0137728713, -0.0195628274, -0.181194365, 0.186578989, 0.4263678193, 0.8371709585, -0.1411169022, -0.9952747226, -0.2214367241, 0.1327918321, -0.2647756636, 0.1163172945, 0.6689751148, -0.3210311532, 0.404406786, 0.3480804563, 0.9727504253, 0.7728693485, -0.3246979415, 0.4374178052, -0.5395181179, 0.1805193126, 0.2146424949, 0.1671369374, 0.2126379609, -0.2045629919, -0.0258090012, -0.2702051401, -0.3843382001, -1.0019496679, 0.4902993143, -1.0342156887, -0.1683875024, 1.433324337, -0.0230424087, 0.0330795683, 0.1395583004, -0.2593696415, 0.4995521307, -0.4270225763, 0.3782582879, 0.3834854066, 0.0778056905, -0.4727611244, -0.6132080555, 0.25750494, 0.3013458252, -0.6330489516, 0.4705617428, 0.1847174317, 0.4813402295, -0.3021884859, 0.5726264119, 0.0003076595, 0.1786250919, -0.1388119757, -0.1880500317, -0.3494481146, -0.1100874841, -0.3224164248, 0.1081806496, 0.0519401766, -0.1338097453 ]
http://arxiv.org/abs/2407.03160v1
http://arxiv.org/pdf/2407.03160v1
SOS! Soft Prompt Attack Against Open-Source Large Language Models
2024-07-03T14:35:16
2024-07-03T14:35:16
Ziqing Yang, Michael Backes, Yang Zhang, Ahmed Salem
cs.CR
cs.CR, cs.CL, cs.LG
Open-source large language models (LLMs) have become increasingly popular among both the general public and industry, as they can be customized, fine-tuned, and freely used. However, some open-source LLMs require approval before usage, which has led to third parties publishing their own easily accessible versions. Similarly, third parties have been publishing fine-tuned or quantized variants of these LLMs. These versions are particularly appealing to users because of their ease of access and reduced computational resource demands. This trend has increased the risk of training time attacks, compromising the integrity and security of LLMs. In this work, we present a new training time attack, SOS, which is designed to be low in computational demand and does not require clean data or modification of the model weights, thereby maintaining the model's utility intact. The attack addresses security issues in various scenarios, including the backdoor attack, jailbreak attack, and prompt stealing attack. Our experimental findings demonstrate that the proposed attack is effective across all evaluated targets. Furthermore, we present the other side of our SOS technique, namely the copyright token -- a novel technique that enables users to mark their copyrighted content and prevent models from using it.
[ -0.0628806204, -0.7022198439, 0.3211164474, 0.3505946696, -0.4433809221, -0.0710090473, -0.1798151881, -0.1353822052, 0.0048350496, 0.723306179, -0.4932492673, -0.4426887929, -0.6076072454, 0.2549571991, -0.5405421257, 0.9742196202, 0.2392655313, 0.3123812973, 0.1149104759, -0.2628940046, -0.2545898557, -0.6203974485, -0.805634141, 0.3491671085, 0.5720653534, 0.1784074754, 0.6099350452, 0.5178123116, 0.3528598845, 0.2725039423, -0.2796384394, -0.5727513433, -0.4626547098, 0.4053193927, -0.1949443221, -0.4116413891, -0.4710454643, -0.243435055, 0.6561612487, 0.2481294423, -0.037856631, 0.3793393672, -0.0065439637, 0.6254669428, -0.7972316146, -0.1772177666, -0.7324465513, 0.0359929465, -0.6503149867, 0.0436551049, -0.5467718244, -0.3906385005, -0.2144605517, -0.4509536624, -0.0396750979, -0.0089831473, 0.525300622, 0.0818014443, 0.0173688661, -0.1814600676, -0.2741830051, 0.8364804387, -0.8402690887, 0.2446937412, 0.0765048936, 0.433270514, -0.3928391635, -0.6003970504, -0.6064266562, -0.3027594984, 0.3153009117, -0.1729268879, -0.3976230919, -0.0415937714, 0.6195389032, 0.1458709985, -0.5303826928, 0.5337970257, -0.350994885, -0.2430869192, 0.5226481557, 0.0694400296, 0.5294069648, -0.2581384182, -0.7900055051, 0.2533127964, -1.2106814384, 0.0447593629, 0.4600047767, 0.651337862, -0.213086009, 0.7298853993, -0.0358001105, 0.5217670202, -0.1911530942, 0.0582093298, -0.0238411389, -0.0610389411, -0.165879786, 0.0895178542, 1.1515028477, 0.0311794803, 0.2523853183, -0.0885126665, -0.397867173, -0.1835023612, -0.2178719938, -0.8636722565, 0.3975377083, 0.3091961145, -0.4226613641, -0.4749082029, -0.0156788211, -0.8117796183, -0.6855259538, 0.1321466565, 0.2508599758, -0.3595272303, -0.2134467065, 0.0218954552, -0.0754024237, 0.102458179, 0.1819500327, -0.8797572851, 0.0661545396, 0.7267439961, 0.9499309659, 0.0629843026, -0.2150178701, -1.0076789856, 0.3416835964, -0.2936278284, 0.4429828227, -0.3759227097, -0.5928869843, -0.0108677773, -0.1481756121, 0.3056248724, -0.2568429112, 0.1225977391, -0.9744668603, -0.0411208458, -0.2572272718, -0.347886622, 0.4393229187, 0.3170978427, -0.9516084194, 0.8477434516, 0.0290318932, -0.8739414215, -0.0075446321, -0.5682157874, -0.4517277181, 0.2020528018, -0.4437169135, -0.2068926394, 0.2067667246, 0.0037324494, 0.4847902358, -0.2176905274, -0.0068179253, -0.4569714963, -0.2604059875, 0.5675373077, -0.3502029479, 1.0509251356, 0.5738735199, -0.2656117678, 0.1673927903, -0.7550384998, -0.1672429591, 0.5321670771, -0.3330897987, -0.4309954643, -0.1583678871, -0.1499347091, 0.1197809279, 0.5755849481, -0.6348156333, 0.4797497988, -0.43323493, 0.6371213198, 1.0033972263, -0.0905510709, 0.4142768085, 0.0752275139, 0.7108601332, -0.3074799776, 0.5289850235, -0.3223117888, -0.3111339509, -0.1472180635, -0.6179642081, 0.420130223, 0.4578612149, -0.7029514313, 0.2075875551, -0.1240263283, -0.601231873, -0.2759981453, 0.1940430254, 0.5400943756, 0.0281546153, 0.1948557645, -0.1933096945, -0.346542567, -0.3861117661, -0.6670960784, 0.0039265775, -0.3642909229, 0.2028345615, 0.3469242454, -0.0222017318, 0.986084938, -0.4489319324, -0.3651271462, -0.372636497, -0.0622787625, 0.115195848, 0.5257432461, 0.6974516511, -0.4679228365, -0.4715384245, -0.4478736222, -0.6752318144, -0.2652074099, 0.0441394895, 0.2537585795, 0.362557739, 0.9387209415, -0.6491254568, 0.3506219089, 0.4615818262, -0.4712040424, 0.7801312804, -0.0416072682, -0.1665752083, -0.9286288619, 0.014504211, -0.2307730317, -0.0258374624, -0.4647547305, 0.4142419696, -0.0525071323, -0.5772712827, -1.0485782623, 0.7517066598, -0.1628094614, -0.0091473479, 0.13902165, 0.198882401, -0.1007706895, 0.1262877882, -0.2947922647, 0.7711191773, 0.6622259021, -0.3322423995, 0.1851356626, 0.0890876651, -0.2625190318, 0.6000886559, -0.8047552109, 0.5235145092, 0.0378337763, 0.2342730314, -0.7043148279, 0.0773194656, 0.3883754313, -0.5319600105, 0.4293100536, -0.3088316023, -0.6763139367, 0.0267277583, -0.5008212924, 0.1309801191, 0.2884850204, -0.4147947431, 0.6238822341, 0.1816372573, -0.4345410466, -0.7663880587, -0.6940799952, 0.3259339631, -0.1163647249, -0.5778936744, 0.0914163142, -0.1556071639, -0.2892333269, -0.1004455984, -0.1142902598, 0.0704017058, 0.5355759263, 0.1064646095, 0.3491905332, -0.2339029461, -0.2912393808, -0.1892194748, -0.3062418997, 0.0412048325, -0.4709472954, 0.5550632477, -0.0667842403, -0.5027791858, -0.568767488, 0.5649783015, 0.8946824074, -0.2863943875, 0.7958469391, 0.2880634367, -0.3481454551, -0.2003542036, -0.3966293931, -0.2738876343, -0.5310049057, 0.3804609179, -0.2646259665, -1.0937978029, 0.2754335105, -0.0364329256, 0.3227796555, 0.189258635, 0.3710361719, -0.1186848283, 1.1469247341, 0.3450304866, -0.2488020658, 0.7253246307, -0.2027063221, 0.1244687289, -0.3916309476, -0.3427616656, -0.9159044027, -0.1414907575, -0.2876299024, -0.0579854809, 0.1349087656, 0.1882975549, -0.4079579711, 0.2727438211, -0.2170895636, 0.6426487565, 0.5630894303, -0.1735408753, 0.2580585778, 0.0112881903, -0.06427975, -0.0186997596, -0.6718986034, -0.6167120934, 1.1486920118, 0.4145978093, 0.9970348477, 0.1587107778, 0.7570830584, 0.5047534704, -0.0208898224, -0.4615703821, 0.9302903414, -0.334097147, -0.6176331639, -0.4372353852, -0.4482808709, -0.9415794015, -0.0913449526, -0.1022371575, -0.711111784, -0.1809975356, 0.0847848132, -0.6412245631, 0.4895977974, -0.572276175, 0.8588559031, -0.3589686453, -0.2651414871, -0.1912121922, -0.7003922462, 0.1008157209, -0.1686078906, 0.6146995425, -0.157301724, -0.0252029691, 0.8972525001, -0.7321318984, 0.9609934688, -0.4459815919, -0.0153843323, 0.3517847061, 0.4533822238, 0.7314223051, 0.061320357, -0.0104908487, 0.5503942966, -0.0069887051, -0.5316806436, -0.5546889305, 0.5800369382, -0.6093997359, -0.7119908333, -0.4869902432, -0.0663232356, 0.1253885329, 0.3427653611, 0.3201049864, 0.4684886038, -0.0146001903, 0.2041713148, 0.5669704676, -0.2695697546, 0.406309396, 0.6879043579, -0.1381291598, -0.4937734306, 1.119597435, 0.1117001548, 0.5491929054, -0.0003322152, 0.4721408188, -0.1476350427, -0.7240185142, -0.4747786522, 0.2812895477, -0.6310042143, -0.3426486552, -0.4341872633, -0.2278457731, -0.698620975, -0.2706464231, -0.4498945475, -0.5966765881, -0.4807412028, 0.1482417732, 0.3518907726, 0.780947566, 0.2178712636, 0.4932779074, -1.1396961212, 0.134611547, 0.3755115867, 0.4150761068, -0.1769129336, -0.4963442981, -0.1824784726, -0.2981868982, -0.3359033167, -0.9626435637, 0.0707663596, -0.1081733257, 0.4068316519, 0.5918951035, 0.2509618402, 0.0431052931, -0.5891065001, 1.0975131989, 0.5257120132, -1.1628624201, 0.5241162181, -0.204346031, 0.1531404257, 0.5300514698, 0.292622149, -0.3653262258, -0.5062485933, -0.6713935733, -0.8013120294, 0.757630229, 0.0459529981, 0.3188270032, 0.018906232, 0.1842175126, 0.1245069802, 0.405883491, -0.654484868, -0.1629317403, -0.2427874655, -0.2390246838, 0.4256571829, -0.4703984261, 0.0027438328, 0.3444429636, 0.6905069351, 0.0467217825, -0.2005059421, -0.1219561473, -0.0497183762, 0.0344887897, 0.6438954473, 0.326105088, 0.1297565997, 0.1625095308, 0.1569067538, 0.2777160108, -0.5795013309, 0.1064011678, 0.0201964937, -0.4006108344, -0.0427243523, 0.1207096353, 0.5365332961, 0.3541063666, -0.8869722486, 0.9726465344, -0.1112781391, 0.0641551986, -0.1810008138, 0.0783339888, -0.0654963627, 0.5055103302, 0.2013984323, 0.1139589772, -0.2337386459, -0.2589616776, -0.1614887863, 0.5990110636, -0.4704325795, -0.5036462545, 0.5564888716, 0.1777228266, -0.5730853677, 0.3922889531, -0.1562153548, -0.679527998, 0.4130112827, 0.6250677109, 0.8185171485, -0.5501557589, -0.17456536, -0.0574691407, 0.4062429667, -0.1017466784, 0.5710742474, 0.0071158479, -0.3185705245, -0.2335750461, -0.5666890144, -0.4740836918, 0.4013752937, -0.4828467965, 0.7383669019, -1.0560048819, -0.2203797102, -0.3969196081, -0.3598735631, -0.2741137743, 0.0533113629, 0.3042525053, 1.2242690325, -0.6901162863, 0.5969297886, 0.2984766066, -0.2343440354, -0.6296215057, -0.1833939701, 0.1459906101, -0.6475458741, 0.7263118029, 0.0919736475, -0.0703645721, 0.1680776924, -0.8377933502, -0.8519416451, 0.7332165241, 0.8398304582, -0.6887104511, -0.1721007675, 0.135529846, 0.0017728349, 0.0869699642, -0.1750869155, 0.5183581114, 0.3187209964, 0.0491681844, -0.4818015397, 0.2448649406, -0.0945831388, -0.3170670271, 0.0908404887, -0.6327400804, 0.8239282966, -0.2797581851, -0.4660629332, 0.1053031906, 0.7070406675, 0.7017149329, 0.2640115023, 0.8379387856, 0.3364140093, 0.5687339902, 0.0609389544, 0.7885292768, -0.286634773, 0.0371458419, 1.0013623238, -0.4398460388, 0.967253089, 0.6436783671, -0.2097664326, 0.3450537324, 0.2714719772, -0.1394996345, 0.4753429592, 0.4534253776, -0.2767545879, -0.0032048051, -0.0940333754, -0.6793304086, 0.1591585279, 0.3328690827, -0.1389714181, -0.0735859126, 0.1761138737, 0.490753442, -0.0063241674, -0.3465657532, 0.6915839314, 0.3845439553, -0.2503803372, 0.3736827374, 0.1164780408, 0.5911045074, -1.0427330732, 0.3920425773, 0.0316551775, -0.0291549079, -0.2494617701, -0.4570613205, 0.0201271381, 0.4610579014, 0.0812548324, -0.1744133234, 0.6034324765, -0.1217790246, -0.1411064118, 0.2369966507, 0.0510654002, 0.0426195413, -0.1902570128, -0.706061244, 0.4711226821, -0.2595230639, -0.5959173441, 0.5529529452, 0.2414132655, -0.186760366, 0.5857340693, 0.8481732607, 0.4564144313, 0.1001300961, 0.265619427, 0.9009764194, -0.6025758982, -0.9380782843, -1.2166134119, 0.2650559843, -0.0738655999, -0.0405719765, 0.9810794592, 0.5097566843, 0.7148013711, -0.008921925, 1.0130730867, 0.2023705393, 0.293623209, -0.8013772964, 0.9343684912, -0.5087059736, 0.6036838293, -0.4026818573, -0.5169613957, -0.4239828289, 0.0072549158, -0.2842262387, -0.084374696, 0.6114287376, 0.7144653201, 0.3374495208, 0.3055721521, 0.0704284161, 0.2634455264, 0.6163645983, 0.1788526326, 1.1646949053, 0.0315762013, 0.7625632882, 0.1872839779, -0.4563313425, -0.373630017, -1.0839908123, -1.07389009, -0.1253318638, -0.2231342345, -0.6836296916, 0.0269910153, 1.1076915264, 0.4328967631, -0.9276547432, -0.1558244377, 0.097991854, -0.0840666294, -0.0792965516, -0.1252371371, 0.4703577459, -0.329697907, -0.4123425484, 0.6377470493, 0.3070460856, 0.2207579464, -0.52916646, 0.0324218385, 0.0561638176, 0.287389636, 0.1854119748, 0.4702842534, -0.604336679, -0.0449895635, 0.3241047263, -0.4039574265, -0.2586524487, 1.058822155, -0.4993308485, 0.3076527417, 0.5854582191, 0.6641954184, 0.0863150954, -0.4124410152, 0.3427014053, -0.8933519721, 0.2464466393, 0.2916497588, 0.4790512025, 0.4377569854, -0.4040917456, 0.032555718, 0.6056389213, -0.2176733166, -1.1887493134, 0.2860215306, -0.6453027725, -0.5397241116, 1.0681204796, -0.3936749995, -0.557097733, -0.1625917703, -0.2452385128, 0.177247569, -0.4847916961, 0.6263642311, 0.2839306891, 0.5808345079, 0.5668938756, -0.4386736453, 0.3201275766, 0.3998931348, -0.5720723867, 0.2428463101, 0.1361088753, 0.3446939886, 0.0742212534, 0.5659204125, -0.4067738652, 0.2902498245, -0.1993311048, -0.0104112988, -0.4881193936, -0.4402728677, -0.7323350906, 0.4436719716, 0.110699065, -0.20583722 ]
http://arxiv.org/abs/2407.03157v1
http://arxiv.org/pdf/2407.03157v1
Let the Code LLM Edit Itself When You Edit the Code
2024-07-03T14:34:03
2024-07-03T14:34:03
Zhenyu He, Jun Zhang, Shengjie Luo, Jingjing Xu, Zhi Zhang, Di He
cs.CL
cs.CL, cs.AI, cs.LG, cs.SE
In this work, we investigate a typical scenario in code generation where a developer edits existing code in real time and requests a code assistant, e.g., a large language model, to re-predict the next token or next line on the fly. Naively, the LLM needs to re-encode the entire KV cache to provide an accurate prediction. However, this process is computationally expensive, especially when the sequence length is long. Simply encoding the edited subsequence and integrating it to the original KV cache meets the temporal confusion problem, leading to significantly worse performance. We address this efficiency and accuracy trade-off by introducing \underline{\textbf{Positional \textbf{I}ntegrity \textbf{E}ncoding} (PIE). Building upon the rotary positional encoding, PIE first removes the rotary matrices in the Key cache that introduce temporal confusion and then reapplies the correct rotary matrices. This process ensures that positional relationships between tokens are correct and requires only a single round of matrix multiplication. We validate the effectiveness of PIE through extensive experiments on the RepoBench-C-8k dataset, utilizing DeepSeek-Coder models with 1.3B, 6.7B, and 33B parameters. Our evaluation includes three real-world coding tasks: code insertion, code deletion, and multi-place code editing. Results demonstrate that PIE reduces computational overhead by over 85% compared to the standard full recomputation approach across all model sizes and tasks while well approximating the model performance.
[ -0.1136759594, -0.5884665251, 0.4037024975, 0.4770443738, -0.4604808986, 0.2949925959, -0.1851796508, -0.5850118399, 0.2763015926, 0.5742639899, -0.5134972334, -0.4391111135, -0.2978859246, -0.0055733453, -0.4254090786, 0.4208619595, -0.1944399923, -0.0099964319, -0.1517905742, 0.1520121694, -0.6692349315, -0.6272522211, -0.2826244533, -0.0063937879, 0.2448273897, 0.621922791, 0.6977340579, 0.8747900128, 0.4854627848, 0.3025825918, -0.0079437476, 0.2763427794, -0.4013994634, 0.3344466984, -0.0271382127, -0.7062094808, -0.7034053802, -0.2461821437, 0.405643791, 0.2388466448, -0.1347283125, 0.0808700845, -0.3152391016, 0.939699173, -0.8563400507, 0.1023182943, -0.7665338516, 0.2368007898, -0.1733910888, -0.2712560892, -0.710419178, -0.3657580912, -0.4819423556, -0.55379498, 0.2155717313, -0.247134015, 0.500107348, 0.5844633579, 0.1131858677, -0.2580033839, -0.8660827279, 0.4669842124, -0.6682453752, 0.6242658496, 0.2812834382, 0.1336761266, -0.2245494723, -0.7452055812, -0.6523453593, -0.1416956484, 0.128104791, 0.2335322499, -0.2561342716, 0.1344313771, 0.2752725184, 0.2216863632, -0.284884572, 0.3270093501, -0.4864886701, -0.1954059005, 0.5353401303, 0.3396987617, 0.2194209844, -0.1772776097, -0.0197878871, -0.0204329807, -0.9505329728, 0.0402721539, 0.3064971566, 0.0067853746, -0.0157806091, 0.8459888101, -0.1566708386, 0.5464400649, 0.6164491177, 0.120357357, 0.1058606058, -0.3904492855, -0.5446939468, 0.2967458367, 0.429769069, 0.4061996043, 0.1891219169, -0.1754756868, -0.0792178735, 0.1568049192, 0.7506297827, -0.6888330579, -0.4872176945, 0.3316269219, -0.1521833986, -0.2759564221, 0.024554994, -0.5498356819, -0.2149531394, -0.4866033196, -0.075034149, -0.2808857858, 0.1354593635, 0.2403410971, 0.267927587, 0.1005442888, 0.3866061568, -0.6076284647, -0.1705971062, 0.6975839734, 0.5996866822, 0.125933513, -0.2973128557, -0.6150721312, 0.1245115027, -0.628197372, 0.4754618704, -0.6501657367, -0.610540688, -0.3812116385, -0.082008794, 0.0664437413, -0.4456920624, 0.0657004938, -0.9363142252, -0.1823372096, -0.2353655845, -0.420578897, 0.2260014862, -0.1288562566, -0.7266684175, 1.0053178072, 0.1241535246, -0.5970340967, 0.5971409082, -0.4117109776, -0.3573448658, -0.3906407058, -0.1165918857, -0.6670070887, 0.3917455375, 0.6041585207, 0.313898474, 0.0526809357, 0.2003779858, -0.1924774051, -0.5788337588, 0.3138306439, -0.2752021849, 0.5204648972, 0.3438617587, -0.2812667787, 0.0274736099, -0.5530971289, -0.025019493, -0.221849069, -0.6691427231, 0.0617235117, -0.1982749104, -0.3584844768, 0.3613804877, 0.1285645068, -0.6104729176, 0.7052862644, -0.5213675499, 0.2925049067, 0.9580196142, 0.0425290912, 0.6646724939, -0.1136863306, 0.880449295, 0.154463172, 0.3383950591, -0.2556838989, -0.2632267177, -0.9620287418, -0.2241815478, 0.5273332596, 0.5603140593, -0.8205513954, 0.1620519906, -0.4174854457, -0.5175557137, -0.7818706632, 0.3057786822, 0.5996809006, 0.1958698779, 0.4420742095, -0.3987394273, -0.8559407592, -0.6224429607, -0.2281141728, -0.150302887, 0.1830327362, 0.1207000092, 0.1437166482, -0.2672082782, 1.0268852711, -0.3206557631, 0.2724705935, -0.1144435778, 0.0663361102, 0.1530799866, 0.7202603221, 0.1431303769, -0.401453048, -0.5439879894, -0.0100334203, -0.6361692548, -0.2661991417, -0.4751780927, -0.2510162592, 0.6260056496, 0.8112275004, -0.6986840367, 0.8519293666, 0.3774710596, 0.0247423779, 0.6941665411, -0.489310056, 0.2688126862, -0.7566812038, -0.027375469, -0.6020030379, -0.2107944787, -0.3103881776, 0.2861019671, 0.4835737646, 0.0291781276, -0.63108778, 0.2825552225, -0.6952136159, -0.3266221583, -0.170437336, -0.1129945368, 0.0270237885, 0.5768051744, -0.1563158482, 1.0827219486, 0.0789305866, -0.6021586061, 0.1735358387, -0.0017690473, -0.4321228564, 0.2275080085, -0.5100655556, 0.453202337, -0.2163406014, 0.2885169685, -0.6885535717, 0.0383357108, 0.1110954061, -0.5711518526, 0.5398051143, -0.416779995, -0.54170084, -0.2777324319, -0.1521036029, 0.5379871726, 0.3576506078, -0.5813415051, 0.5220235586, 0.1945892423, 0.0553879142, -0.9276254177, -0.8146793246, 0.2425728738, 0.0305112023, -0.6004955769, 0.4003189504, 0.0747736469, -0.1600145847, -0.0388048142, -0.4237204492, 0.0317167379, 0.0414403193, 0.4002303183, 0.2090617269, -0.1227044538, 0.2002960294, 0.2764759958, -0.5484717488, -0.2199449688, -0.1924508512, 0.4898507297, 0.219407931, -0.6753643155, -0.5348349214, 0.1140486673, 0.8235645294, -0.2605271637, 0.3990200758, 0.3477479517, -0.1442543417, -0.0317349434, -0.6590678692, 0.1530499905, -0.4791220129, 0.3947821558, -0.5160750747, -0.7402441502, 0.4924233258, 0.132216081, 0.1280667782, 0.2921165526, 0.5025049448, -0.2413372546, 0.6860331893, 0.7285220623, -0.2849403918, 0.5151578784, -0.3576350808, 0.346940726, -0.8440715075, -0.2222192138, -0.4417352676, -0.3707472086, -0.5688750744, -1.0065004826, 0.1599179953, 0.5138824582, -0.2377246916, 0.5931833386, -0.5372946262, 0.7294073105, 0.3877896667, 0.1703193039, 0.2850661874, -0.1710465401, -0.2659771442, -0.2730736434, -0.8600369692, -0.2384409755, 1.0919480324, 0.1053087339, 1.0890930891, 0.0463036448, 0.748360455, 0.3892859817, 0.2796033025, -0.3723918796, 0.4175113142, -0.1208193153, -0.3192107379, -0.0844973326, -0.2039277405, -0.7626399398, -0.0019052177, 0.0472517274, -0.5291835666, 0.5224692822, 0.5528789163, -0.4458974898, 0.4799753726, -0.8132750392, 0.6247056723, -0.1311032623, -0.3940752149, -0.3530237377, -0.4637056589, 0.1746255606, -0.220454067, -0.0057715927, 0.2409095317, -0.0186547898, 0.3195889294, -0.7557540536, 0.9982427955, -0.1310677379, 0.0758326277, 0.3565507829, 0.6014708281, 0.8908238411, 0.1945729852, -0.1946684867, 0.0800695568, -0.3374726474, -0.4059732556, -0.6919180155, 0.7804356813, -0.7058223486, -0.56621629, -0.1195307374, -0.2338647991, 0.0380854681, -0.0160992444, 0.3312767148, 0.4628204703, 0.0222843587, 0.1848952919, 0.3837382197, -0.4605790973, 0.551730752, 0.3083380461, -0.1719681174, -0.2058463842, 0.5745916367, 0.0173461307, 0.421918869, 0.6997802854, -0.1331321597, -0.1906353831, -0.4609676003, -0.6230245829, 0.122952424, -0.8190717697, -0.3360167146, -0.7987082005, -0.0671808869, -0.2644047141, -0.773131609, -0.8418647647, -0.6752434969, -0.2150478959, -0.3037315905, 0.3636333644, 0.6387503147, -0.2754952312, 0.4028555155, -0.9160506725, 0.1478138566, 0.139986068, 0.3175585568, 0.060877461, -0.3578947186, -0.5531494617, 0.1046283171, -0.1660705358, -0.6780745983, 0.3875392377, -0.0988960713, 0.3806726933, -0.1166265607, -0.092824325, 1.2836595774, -0.4738164246, 0.769847095, 0.0848629326, -1.2634922266, 0.4439894855, 0.0699332878, 0.6059565544, 0.5618037581, -0.1971591264, -0.6590137482, -0.5005453825, -0.4508422315, -0.9077702761, 0.6543384194, 0.2157752514, -0.0444870964, -0.0666911528, 0.5721585155, -0.030572651, 0.1700148433, -0.4876244962, -0.0945331156, -0.2495357841, 0.0203811266, 0.1296123117, -0.4686043561, 0.453856796, -0.2069736272, 0.4705142379, 0.0582840815, 0.6837946773, 0.3929848671, -0.5758066773, -0.3852026761, 0.2475709915, 0.7421634197, 1.0329283476, 0.011235931, 0.0179455169, 0.3201301098, -0.5189141035, 0.0679278299, -0.4462260306, 0.1150877476, -0.0262947567, 0.561953783, 0.4256696105, 0.4949234724, -0.5456023812, 0.2485681176, 0.0879977793, 0.2033866048, -0.2503142953, 0.0830582306, 0.1591589451, 0.274047792, -0.0187859144, 0.2245848626, -0.2463227659, -0.208121255, 0.4069743752, -0.0015982152, -0.2422487438, -0.3090913594, 0.6603300571, 0.1006451696, -0.4585822225, 0.9822105169, -0.0939683393, -0.5688884854, 0.8284381032, 0.240515396, 1.0640361309, -0.2425391674, -0.0991893634, 0.5007337332, 0.4595635831, 0.3168550432, 0.2208375186, -0.1274313778, -0.6006745696, -0.846675992, -0.4774205089, -0.1551864147, -0.3495541215, -0.4883825481, 0.3127845824, -0.6529139876, -0.026483601, -0.1604331583, -0.2678307593, -0.8569297791, 0.0135576939, -0.1909717768, 0.9028262496, -0.398124069, 1.1618624926, 0.3259604573, -0.2471202016, -0.602450788, -0.2289689481, 0.0211046245, -1.0370594263, 0.6994222403, -0.023020247, -0.2351712137, -0.3467470109, -0.4853650928, -0.7839144468, 1.0218926668, 0.2306529433, -0.961491406, -0.121153295, -0.0307857245, 0.4610925615, -0.3016315103, 0.008972506, 0.4393300116, 0.2664575875, 0.0460488796, -0.9388055801, -0.0982376412, -0.25327456, 0.0763947219, 0.5493075848, -0.4310654998, 0.7936038375, -0.5086951852, -0.2262939811, 0.0693965554, 0.4945970476, 0.0992297232, -0.0741260722, 0.274771899, 0.5817588568, 0.5878523588, 0.1411380023, 1.0735994577, -0.5957916379, 0.1894666255, 1.4368667603, 0.0650390163, 0.6499676108, 0.6040228009, -0.2504330277, 0.3384748101, 0.6091009974, 0.2572393119, 0.4208108485, 0.1747003645, 0.0709547549, -0.389126122, 0.57666713, -0.5240229368, 0.5413523316, 0.2584484518, -0.3923866749, 0.0251761898, -0.3756606281, 0.1703315228, -0.0479164235, -0.0583789237, 0.5273640752, 0.0128483744, -0.5774747133, 0.4360100627, 0.2453105003, 0.5061992407, -0.2656996846, -0.101213716, -0.4302458763, 0.1936120987, -0.1217593327, -0.6217830181, 0.6548631191, -0.0119748311, -0.2623688281, -0.174089849, 0.4911452532, -0.2138565779, -0.6196864843, 0.0564222038, 0.2864689231, -0.0514281578, 0.0806395933, -0.6926501393, 0.3414188921, 0.2491960227, -0.0423549674, 0.1404036582, 0.3766429126, -0.0317175984, 0.7906582355, 0.8467453122, 0.0398235843, 0.3353963196, -0.0544593409, 0.9601982236, -0.8657992482, -0.8147075772, -0.8546794653, 0.5971645117, 0.1696130037, -0.289547205, 0.675224781, 0.5464479327, 0.9374816418, -0.1001530513, 0.4254283905, 0.1143060029, -0.0141286496, -0.8836557865, 0.3908376396, -0.2642607689, 0.6631876826, -0.5591279864, -0.8243690133, -0.3577391505, 0.5665984154, -0.4421232343, -0.0363669507, 0.507986784, 0.9893398881, -0.0289338864, -0.0059895162, 0.2135552913, 0.3067797124, 0.4480529428, 0.6874660254, 0.7451306581, -0.2729563415, 0.2790239453, -0.5410574675, 0.1679566652, -0.4021030366, -0.9169843197, -0.4264474809, -0.2774749994, -0.2786121368, -0.3475761116, 0.2473665476, 0.9688276649, 0.7276571989, -0.5642766356, -0.1418493986, -0.125444293, 0.2502957284, -0.3170212209, -0.1851886362, 0.3766973913, -0.1693570614, -0.4997509718, 0.4190946519, 0.4879078269, -0.1225935817, -0.1940769702, -0.1832589209, 0.037311554, -0.0172458533, 0.5582430959, 0.2834032476, -0.8207370639, -0.2923187315, 0.2268012613, -0.0623796806, 0.3415766954, 1.1584712267, -0.7472475171, 1.0881237984, 0.3853432834, 0.7949450016, 0.7341290712, 0.0851932392, 0.7084324956, -0.701077044, 0.1376085877, 0.1495361626, 0.2867409587, 0.1650019288, -0.8292071819, 0.458114475, 0.0652883947, -0.5361436605, -0.6063159108, 0.2399681658, -0.8667060137, -0.2802642882, 0.7249356508, -0.0695261732, -0.2735725045, -0.2346008122, -0.1525651366, 0.2128271759, -0.4579873979, 0.8506780267, 0.4839972258, -0.2803086042, -0.2447502613, -0.2547467351, 0.40871948, 0.2551714778, -0.3965402246, 0.220752269, 0.5164418221, 0.1905199289, -0.0130594661, 0.761015594, -0.2889131606, 0.7258133888, 0.1075205132, 0.4152680933, -0.4464738965, -0.5065194368, -0.4212535322, -0.0673262179, 0.047092516, -0.2273682356 ]
http://arxiv.org/abs/2407.03145v1
http://arxiv.org/pdf/2407.03145v1
Enhancing Translation Accuracy of Large Language Models through Continual Pre-Training on Parallel Data
2024-07-03T14:23:36
2024-07-03T14:23:36
Minato Kondo, Takehito Utsuro, Masaaki Nagata
cs.CL
cs.CL
In this paper, we propose a two-phase training approach where pre-trained large language models are continually pre-trained on parallel data and then supervised fine-tuned with a small amount of high-quality parallel data. To investigate the effectiveness of our proposed approach, we conducted continual pre-training with a 3.8B-parameter model and parallel data across eight different formats. We evaluate these methods on thirteen test sets for Japanese-to-English and English-to-Japanese translation. The results demonstrate that when utilizing parallel data in continual pre-training, it is essential to alternate between source and target sentences. Additionally, we demonstrated that the translation accuracy improves only for translation directions where the order of source and target sentences aligns between continual pre-training data and inference. In addition, we demonstrate that the LLM-based translation model is more robust in translating spoken language and achieves higher accuracy with less training data compared to supervised encoder-decoder models. We also show that the highest accuracy is achieved when the data for continual pre-training consists of interleaved source and target sentences and when tags are added to the source sentences.
[ -0.1580069661, -0.6991791725, 0.7857959867, 0.5170477033, -0.5448797345, -0.0377507024, -0.5719202161, -0.2179607451, -0.0544954538, 0.5364291072, -0.3548179269, -0.5159033537, -0.8784534931, 0.3217944801, -0.4505263269, 0.6898593903, -0.550128758, 0.5693714619, -0.2687458992, -0.067425929, -0.5449116826, -0.4925881922, -0.6372824907, -0.2827711701, 0.5428920388, 0.4922850728, 0.6861171722, 0.7962384224, 0.4775279462, 0.1891943067, 0.3315437138, 0.2238821834, -0.6541035771, 0.0077301404, -0.0597911254, -0.7189841866, -0.394076854, 0.0687389746, 1.065535903, 0.8012928963, -0.0001326962, 0.1412183493, 0.4389745891, 0.5006210208, -0.3025708199, 0.5155174732, -0.4924788177, -0.1706788093, -0.6209061146, -0.1884367168, -0.5346852541, -0.3229310513, -0.2794317007, -0.7108605504, 0.0730588362, 0.2072190493, 0.8676179647, 0.3611654937, -0.3282816708, -0.033226952, -0.8226471543, 0.7762266397, -0.9195805192, 0.6036835313, 0.4862903059, 0.0621950999, -0.2466401756, -0.6659831405, -0.6041772366, -0.312679559, -0.0453596897, 0.2232004553, 0.3315210938, 0.0005135352, 0.2651011944, 0.0822377652, -0.6581228971, 0.3241923451, -0.072535716, 0.0953993052, 0.5556176305, 0.2103949785, 0.3030165732, 0.2442678809, -0.1506035179, -0.2058440745, -0.9512709975, -0.1093003154, 0.2773162425, 0.3649307489, -0.1475951225, 0.5257373452, -0.2436740249, 0.6987581849, 0.074419938, -0.2914914787, 0.3593606055, -0.7649434805, 0.1682054698, -0.1641670316, 0.9273172021, 0.2038476765, 0.5422644019, -0.3413576186, -0.1839293391, -0.0516012423, 0.1714952439, -0.7246832848, 0.0125135854, 0.0676975623, -0.2863569856, -0.0377935022, -0.0315879956, -0.4452529848, 0.3290282488, -0.6774814725, 0.4476066828, -0.1989106387, -0.050337825, 0.2072370201, 0.4044342041, 0.0862792879, 0.1899812371, -0.6427924037, 0.3805508912, 0.5427705646, 0.9024221897, -0.3099752665, -0.8409869671, -0.5547837019, 0.4462876022, -0.6583552957, 0.5542824268, -0.4166932404, -0.148957029, -0.0705885515, 0.0890259296, -0.2460981458, -0.5219579935, 0.2831089497, -0.3348418772, 0.024180619, -0.2319172621, -0.5669113398, 0.087980859, 0.0879595727, -0.3814550638, 0.7881825566, -0.0936556682, -0.5397286415, 0.2460099757, -0.1725669503, -0.5703889132, -0.0711397529, -0.0903119743, -0.4946493804, 0.1540281326, 0.4997931719, 0.5809474587, -0.3906507492, 0.5734425783, -0.3843276501, -0.3079687059, 0.1159328967, -0.3619986475, 0.2752419114, -0.020656053, -0.2709321678, -0.037096668, -0.3353754282, -0.1837440133, 0.3681276739, -0.3019942343, -0.134305194, 0.0475810878, -0.0722013786, 0.2372370362, 0.4331986904, -0.5138286352, 0.089227654, -0.397946924, 0.050996583, 0.5261215568, -0.1761049032, 0.34535712, -0.3049335182, 0.4708932638, 0.1922435611, 0.1476705223, -0.2504183352, -0.3401659727, -0.905815661, 0.0507666878, 0.4203545451, 0.7280089855, -0.7573489547, 0.5082095265, -0.71254915, -0.3082816899, -0.4456564486, 0.3041687608, 0.4896198511, 0.6412715912, 0.5957704782, -0.4723949432, -0.3060151339, -0.6401724815, -0.1465705931, 0.0602520667, 0.0852490291, -0.0917399302, 0.3713355064, -0.1337750554, 0.5567061901, -0.3651277423, -0.0548540205, -0.3666893542, 0.2850990891, 0.2303223163, 0.7357495427, 0.2427807599, -0.6106415391, -0.7904820442, 0.1257537901, -0.8284337521, -0.1876898259, -0.220025003, -0.2265873402, -0.0692193806, 0.6801233888, -0.6774001718, 0.278326869, 0.5793639421, 0.2892516255, 0.4891605079, -0.3911025822, 0.2750478685, -1.2935605049, 0.0786518231, -0.1087817699, -0.5445153713, -0.7933001518, 0.0988189206, 0.2107180506, -0.0256395303, -0.3135493696, 0.4332299232, -0.4634357989, -0.0041612918, -0.3772397637, -0.0004189618, -0.0842581987, 0.2961727977, 0.1342230439, 0.9512832761, 0.3669053018, -0.4385413826, 0.2067154795, 0.267604351, -0.5078759789, 0.2972184122, -0.6459669471, 0.388114959, -0.2329465002, 0.4128714204, -0.7281649709, -0.3124579787, 0.3108540177, -0.1889285594, 0.6995859742, -0.0191997122, -0.8479132652, -0.2947989404, 0.2428757697, 0.4025047421, 0.5635995269, -0.4401669502, 0.2052712888, 0.0401377641, -0.6152692437, -0.4608953297, -0.6663866043, -0.0332077332, -0.0263622347, -0.3899129331, 0.1851512194, -0.0840836167, 0.1514707208, -0.0993049815, -0.1173982248, -0.0510082096, -0.0579720065, 0.0469727479, 0.1482520103, -0.1655438244, -0.0685979724, 0.1903695762, -0.2792243659, -0.0486337431, -0.5389142036, 0.7409534454, 0.1432217062, -0.3145256639, -0.6527212858, 0.4595220983, 0.4407889247, -0.3655994236, 0.8711156845, 0.3307839632, -0.2325508296, 0.1106161699, -0.6788867712, 0.0236588512, -0.3642469049, 0.4710954428, -0.6477741003, -0.6505823135, 0.2754520774, -0.1162201315, 0.0466603972, 0.1963879317, 0.423984766, -0.4219980836, 1.2831923962, 0.4755916297, -0.2905779183, 0.3795363009, 0.0341758952, 0.1199360341, -0.5525078773, -0.1298007071, -0.4727220833, -0.1260571778, -0.2197385728, -0.5964925289, 0.222624898, 0.6641066074, -0.1917393506, 0.4629935324, 0.17032969, 0.383820802, 0.2963796556, 0.4042670429, 0.2785291672, 0.0444096029, 0.1083600894, -0.134253934, -0.6184453964, -0.3458610177, 1.315776825, 0.4268123806, 0.6112970114, -0.1343354136, 0.7215363979, -0.3410966396, 0.3930846751, -0.4461894333, 0.3187366724, -0.422147274, -0.2347424328, -0.2783748806, -0.5651266575, -0.787576139, 0.1056604609, 0.0300721135, -0.226289928, -0.0299768094, 0.3290568292, 0.0224109944, 0.018449042, -0.6038230658, 0.9407989383, -0.5888624191, -0.2740502954, -0.4306842685, -0.6848582029, 0.129078269, -0.5990074873, 0.2091384381, -0.1535205245, -0.0321202874, 0.5595499873, -0.3787766099, 0.6292263269, -0.0581255257, 0.1046509147, -0.0727218166, -0.2115198076, 0.87547791, 0.041258812, 0.1329948157, 0.5807682276, -0.182269752, -0.8376006484, -0.6127867699, 0.3520331383, -0.7434546947, -0.7146981359, -0.2198604196, -0.9573019147, -0.5321173668, 0.320571214, 0.3365293443, 0.2960749269, 0.0091517307, 0.2722974718, 0.5383105874, -0.0353347883, 0.1259963661, 0.4981333911, -0.2024716735, -0.4047933817, 0.7376070023, 0.1586941332, 0.5929515362, 0.5281040072, 0.1297366917, -0.3892265558, -1.0770624876, -0.4802955389, 0.5624206662, -0.3933459222, 0.0174505506, -0.6217488647, 0.0003722518, -0.6493088007, 0.0070498218, -0.5666056275, 0.0663437471, -0.2175626904, 0.1109597534, 0.0256208032, 0.519394815, -0.00057873, 0.6037498116, -0.9826438427, 0.294475764, 0.0116519602, 0.0354602598, -0.4410355091, -0.791947782, -0.5083358288, 0.2140782028, 0.1966875046, -0.8178365231, 0.5005584359, 0.1053692922, 0.5180957913, 0.0279500298, -0.4329319298, 0.9983657598, -0.918161571, 0.4420301914, 0.3100612164, -0.8672459722, 0.5619183779, -0.4945339561, 0.654137671, 0.8163355589, 0.730992794, -0.2127400637, -0.5018036366, -0.1607670933, -0.5328726172, 0.7038265467, 0.158777386, 0.1073784605, 0.1645030528, 0.5831021667, 0.0897412449, 0.2820489109, -0.5884059072, -0.1401433051, -0.1859577894, -0.5277565718, -0.7617331743, -0.2690588534, 0.1068779528, -0.2898464501, 0.6189725995, -0.1582979262, -0.1641183943, -0.1486373991, -0.3468847275, 0.0991547704, 0.1211537644, 0.4308532178, 0.7824514508, -0.1983468086, -0.2091084421, 0.2289354503, -0.6188638806, 0.3803839087, 0.3283306956, -0.3324875236, 0.0513364337, 0.3011584282, 0.8446397185, 0.2499666661, -0.2761826813, 0.4987133741, 0.2066523433, 0.0526456609, -0.2821372151, -0.336392343, 0.1343105733, 0.138103053, -0.1120144352, 0.0059929057, -0.2959711552, -0.3350122273, 0.2398561686, -0.0309700184, -0.0044421353, -0.3696110249, 0.67455405, 0.1356797367, 0.0671936423, 0.7366995811, -0.0405659601, -0.2735186517, 0.3063766062, 0.9032366276, 0.6270897985, -0.4982044995, 0.0097146574, 0.5069196224, 0.4271609783, -0.9093413353, 0.1708579212, -0.0062979935, -0.7538398504, -0.8647685051, -0.7063012123, -0.3416671455, 0.1817215383, -0.8502216339, 0.2420409769, -0.2876040339, 0.0685515553, -0.4142589867, -0.239525497, -0.7134007215, 0.1946023554, 0.0968476236, 0.6499190331, -0.8976423144, 1.4694734812, 0.4326663315, -0.5499747396, -0.9506895542, 0.2588722408, -0.3328302205, -0.6548370123, 0.7237746119, 0.2111998647, -0.0235766023, 0.4359422922, -0.4556512237, -1.2142779827, 0.8832737207, 0.6799891591, -1.2073254585, 0.0003394207, 0.4199456871, 0.3603403568, -0.3718429208, -0.047681991, 0.6570934653, 0.3332848549, -0.1608154774, -1.0659064054, -0.1841472983, -0.1284775436, 0.243014127, 0.2326344848, -0.3980232477, 0.6549681425, 0.2166403383, -0.1405957788, 0.1740486175, 0.900627017, 0.2705903649, 0.1518115848, 0.552754879, 0.6341508627, 0.4900888205, -0.1925329864, 1.1154934168, -0.3242353499, 0.2282334864, 1.522462368, -0.3805380166, 1.1211214066, 0.3615445197, -0.167253539, 0.2562544048, 0.460965693, 0.0527203605, 0.5069937706, -0.0932780057, -0.166006282, -0.3765133917, -0.0211789533, -0.3577310443, 0.1865935773, 0.3984812498, -0.1519798934, 0.0141434921, 0.4060451984, 0.2052215189, 0.2244194001, -0.210945785, 0.4302536547, 0.327773422, -0.8230002522, 0.5854864717, -0.0823839456, 0.5238620043, -0.7190290689, 0.273322612, -0.400685519, 0.1438661069, 0.076985769, -0.5799254775, 0.2361933291, 0.1323453039, -0.1645451486, -0.5217476487, 0.2545220852, -0.746540606, -0.5685325265, 0.2060281038, 0.3609371483, 0.4781851768, -0.1604234129, -0.6585537791, 0.0996275917, -0.1683660597, -0.1649732739, 0.3890033364, 0.0234704297, 0.1185961738, 0.3512247801, 0.7766320705, 0.4426981509, 0.3254308701, 0.2623862028, 0.5901967883, -0.5230352879, -0.3624561131, -0.6269943118, 0.2985493541, -0.0086879674, -0.1334404945, 0.8036503792, 0.4487248659, 1.3427124023, -0.0335541628, 0.624081254, 0.3455320895, 0.539172709, -0.8912382722, 0.4313718975, -0.5282713175, 0.0390454605, 0.108072862, -1.1561486721, -0.3572993279, 0.3643533885, -0.4329115748, -0.0036773337, 0.9062675238, 0.9632791281, -0.0914933532, -0.3673793674, 0.3406861424, 0.4006623328, 0.2178806067, 0.5979388356, 0.7031713128, -0.5191705227, 0.41717574, -0.3921200633, -0.0814146847, 0.1536800563, -0.4661012888, -0.8055059314, -0.3560236096, -0.2025634944, -0.2932054102, 0.2004565448, 0.7513238192, 0.6777633429, -0.9451519251, -0.4060038328, -0.3841672242, -0.507781148, -0.1634005904, -0.0364819169, 0.1389132291, -0.7681548595, -1.0398651361, 0.8178904653, 0.2858398259, 0.1225884855, -0.1428439766, -0.245324403, -0.23756513, -0.1048085466, 0.4748845398, 0.1912100762, -0.7835986018, -0.2641385198, -0.1583988518, -0.2768358886, 0.0571944825, 0.6244409084, -0.3064672053, 0.5617147684, 0.5462310314, 0.8302957416, 0.9448246956, 0.2873370945, 0.9962349534, -0.5702455044, 0.4389570057, -0.0323449038, 0.2986850441, 0.3790667057, -0.2417150289, 0.3409832716, 0.2829635739, -0.5583035946, -0.6328290701, 0.1992129385, -0.833795011, -0.1437801421, 1.0846246481, -0.5952599645, -0.0410062596, -0.0916967615, 0.1590910405, 0.5347027183, 0.0588618144, 0.321637243, 0.6845469475, 0.1156449094, -0.2855133116, -0.8203212023, 0.1620103121, 0.7568208575, -1.0273447037, -0.2311624736, 0.3025453985, 0.3498220146, -0.1035224721, 0.6472966075, -0.2699294984, 0.0657867789, 0.0107810069, -0.0904755667, 0.0053994418, -0.5508059859, -0.5287387967, -0.1181562021, 0.2367318124, -0.2389676869 ]
http://arxiv.org/abs/2407.03132v1
http://arxiv.org/pdf/2407.03132v1
Speaker- and Text-Independent Estimation of Articulatory Movements and Phoneme Alignments from Speech
2024-07-03T14:13:04
2024-07-03T14:13:04
Tobias Weise, Philipp Klumpp, Kubilay Can Demir, Paula Andrea Pérez-Toro, Maria Schuster, Elmar Noeth, Bjoern Heismann, Andreas Maier, Seung Hee Yang
cs.SD
cs.SD, cs.AI, cs.CL, cs.LG, eess.AS
This paper introduces a novel combination of two tasks, previously treated separately: acoustic-to-articulatory speech inversion (AAI) and phoneme-to-articulatory (PTA) motion estimation. We refer to this joint task as acoustic phoneme-to-articulatory speech inversion (APTAI) and explore two different approaches, both working speaker- and text-independently during inference. We use a multi-task learning setup, with the end-to-end goal of taking raw speech as input and estimating the corresponding articulatory movements, phoneme sequence, and phoneme alignment. While both proposed approaches share these same requirements, they differ in their way of achieving phoneme-related predictions: one is based on frame classification, the other on a two-staged training procedure and forced alignment. We reach competitive performance of 0.73 mean correlation for the AAI task and achieve up to approximately 87% frame overlap compared to a state-of-the-art text-dependent phoneme force aligner.
[ 0.0149072446, -0.6642263532, 0.4305365086, -0.2918905616, -0.3575121462, -0.1117757708, 0.0747872517, -0.4657887816, 0.6249033809, 0.2134588808, -0.5884836316, -0.2232501805, -0.5052976608, -0.0868359432, -0.3295865357, 0.5574380755, 0.2459285259, 0.3453605771, 0.1109877154, -0.3290570676, -0.8009421229, -0.1097728088, -0.4185982645, -0.3651171625, 0.2268636078, 0.3727608919, 0.7879395485, 0.8399052024, 0.3253732324, 0.3367855847, 0.1711093932, -0.0884821787, 0.3277980089, 0.0487729423, 0.0324179456, -0.395349741, -0.5833852887, 0.2432629168, 0.6138625145, 0.7457185388, -0.2804721892, 0.0246465933, -0.2536067367, 0.6990988851, -0.8549100161, 0.0704664811, -0.2555414438, 0.0069797323, -0.2419245392, -0.1413326859, -0.1511189789, -0.0185611211, 0.2602950335, -0.6608996987, -0.2982852161, -0.3027099669, 0.5661394596, 0.5349709988, -0.5494577885, -0.3273750246, -0.571320951, 0.6878625751, -0.575373292, 0.7595533133, 0.2560144663, 0.1481830776, -0.0443267189, -0.3432677686, -0.6151130795, 0.1624812633, 0.1626370698, 0.4122748375, -0.2098903656, 0.1297818571, -0.1407818198, 0.1152987853, -0.6834634542, 0.2327543348, -0.0853753835, -0.006987025, 0.7096282244, -0.3345595598, 0.389439702, -0.160357058, -0.4960502088, -0.4056794345, -0.3484916985, 0.3124370873, 0.471360147, 0.3180906475, -0.4002711475, 0.5090399384, 0.190067783, 0.6594310403, 0.3638112545, -0.3758036196, 0.5215485096, -0.3531460166, -0.3326483965, 0.5546953678, 1.0426757336, -0.0910171717, -0.0303968694, -0.4449738562, 0.0631439611, 0.1793579161, -0.0534036271, -0.2306823879, -0.1157492474, 0.3374814093, -0.2731607854, -0.0664103925, 0.2038457841, -0.7392852306, -0.440108031, -0.6195246577, 0.7424117327, -0.3302747905, -0.5487654209, -0.2952320874, -0.0648280233, 0.4736860991, 0.0450569913, -1.0213183165, 0.2058726847, 0.718470037, 0.8257807493, -0.2512789965, -0.5910715461, -0.9302431941, 0.2610980868, -0.5128862262, 0.7493548393, -0.6004726887, -0.2120084912, -0.2848747373, 0.0405168533, -0.7222997546, -0.1496325284, 0.6560582519, -0.2482002378, 0.4664346874, 0.2281884402, -0.4450578988, -0.2429554611, -0.3123997748, -0.7127420306, 0.7529112697, -0.2400661409, -0.765517652, 0.169937551, -0.365007937, -0.4009144902, -0.3901085854, -0.3521082699, -0.4186514914, 0.1512129903, 0.134509936, 0.2549322546, -0.0154724913, 0.1707413048, -0.3449248672, -0.4348406196, 0.2709162235, -0.5254151225, 0.9056750536, 0.1179534197, -0.4845653176, 0.1705857366, -0.9757812023, -0.0546283163, -0.3740914762, -0.1784204692, -0.4974829555, 0.0433495715, -0.4485795796, 0.0659538954, 0.1110524461, -0.5540574789, 0.0504495725, -0.8277859688, 0.2866546214, 0.4094658494, -0.2850794792, 0.7850066423, -0.2577582896, 0.4126471281, -0.0796145499, -0.14259547, -0.0455700122, -0.7336938381, -0.0698276907, -0.2234649062, 0.4205268621, 0.9044812322, -0.5659196377, 0.3493542373, -0.5019832253, -0.5220991373, -0.7386663556, -0.0784975141, 0.4338873327, 0.5202586651, 0.0871587843, -0.5520498753, -0.5804234147, -0.4378353655, -0.3577038646, -0.7382270098, -0.0385429747, -0.0043886416, -0.0603169911, 0.2069005817, 0.8811623454, 0.077646926, -0.2499053329, 0.0783008784, 0.4724665284, 0.0893207788, 0.5740526915, 0.4420388043, -0.7370135784, -0.2067445815, -0.028726751, -0.3713889718, -0.2586845756, -0.1333209723, -0.1894718111, 0.1361512989, 0.2276653498, -0.8465147614, 0.4943441749, 0.816937685, -0.3414341509, 0.3442920148, -0.1033616811, 0.3282843828, -1.2209025621, 0.2132681757, 0.1285251379, -0.1434507519, -1.2178019285, -0.1603133678, 0.1379145235, -0.1932286471, -0.3670282662, 0.4038386047, -0.7453053594, -0.5045992732, -0.5321211219, 0.455467999, -0.0043183323, 0.6068596244, 0.3060550094, 0.9461562634, 0.8367339969, -0.4044688642, 0.0487428308, 0.4132986665, -0.1405969262, 0.4526489973, -0.4465087056, 0.446723491, -0.0522265397, 0.0160550643, -1.2207733393, -0.1082791388, 0.4460237026, -0.6721034646, 0.4720592797, -0.1284447312, 0.256152451, -0.0468217582, -0.1366661489, 0.6381895542, 0.3795691431, -0.4028612971, 1.123916626, 0.7504807711, -0.2034775317, -0.9601743817, -0.6426926851, 0.1426033229, -0.4991832078, -0.2906050384, 0.2478126884, 0.2134982347, -0.3244953454, -0.3937320411, -0.2490791082, -0.494135648, -0.0526267327, 0.6364675164, 0.131372571, -0.1392099112, 0.1437363327, 0.0915142372, -0.0551999174, 0.061146576, -0.1139808223, 0.1139583662, 0.2625166178, -0.5449071527, -1.1786026955, 0.4803685844, 0.6307311058, -0.3756271303, 0.0389518924, 0.5979508162, -0.0980030745, 0.7274291515, -0.56951648, 0.0299538337, -0.3506774604, 0.265478909, -0.2867839634, -0.1401457638, 0.2200944275, 0.0311656669, 0.1211490855, 0.2912754118, 0.238844052, -0.0840855911, 1.3061696291, 0.6660599709, -0.2534767389, 0.6227092147, -0.1101025045, 0.1583105177, -0.6768794656, -0.0378716178, -0.7903786302, -0.429712683, -0.3938435614, -0.2664043605, 0.331267029, 0.1657445282, 0.0035495483, 0.4693256319, -0.1928863227, -0.0296075996, 0.6368302107, 0.1506021023, 0.2271682173, 0.0930065885, 0.1332342029, 0.2867023647, -0.5038458705, -0.3897121847, 0.9441618919, 0.2753225863, 0.2851459384, 0.2340744734, 0.7397264242, -0.0950559825, 0.0117071765, -1.0303344727, 0.4635468125, -0.2249427438, -0.2587049901, -0.6026749611, -0.2792111635, -0.9950026274, 0.3004416525, 0.0940669328, -0.9237501025, 0.6917066574, 0.160399422, -0.3812231719, 0.2650282383, -1.0260083675, 0.7355421782, -0.1777755171, -0.0530405454, -0.3444945216, -0.9688931108, 0.1550793797, -0.0554894768, 0.5953981876, -0.4331719279, -0.2815254927, 0.7220950127, -0.1940246373, 0.9683647752, -0.4698603153, -0.2617191076, 0.5284327269, -0.298066169, 0.4089704752, -0.3145577013, -0.2647269368, 0.340998888, 0.1792409271, -0.1768035293, -0.5219413638, 0.5407829881, -0.7164672613, -0.501288414, -0.2903214693, -0.657654345, -0.3555264771, 0.036452096, -0.0647173673, 0.5847099423, -0.3745954037, -0.1252836585, 0.2682598531, 0.3530205488, 1.0893417597, 0.4443668425, 0.423589468, -0.7407377958, 0.8430269957, -0.1146454141, 0.1476524472, 0.699175179, 0.317582041, -0.4324204028, -0.5516652465, -0.681297183, 0.2924654782, -0.211505428, 0.0717613921, -0.3645389378, 0.3699611127, -0.7371101975, 0.4564876854, -0.3876874149, -0.9716317058, -0.4647908211, 0.2378358096, -0.1445018798, 0.2476964444, -0.2896950543, 0.5255118608, -0.8035728335, 0.2410774827, 0.5229085684, -0.0227375589, -0.3383093476, -0.7158342004, -0.0857266411, 0.47730726, -0.3801006079, -1.281869173, 0.3656652272, 0.6929242611, 0.4345737398, 0.5982381105, 0.0687792748, 1.0315113068, -0.5041038394, 0.8024844527, 0.6064950228, -1.003179431, 0.5586579442, 0.0032829081, 0.4054658413, 0.4897606671, 0.210903883, -0.2303836048, -0.2271413952, -0.4808900654, -0.7127826214, 0.6628175974, 0.3268053532, -0.0933191031, 0.223581478, 0.3756388128, 0.2293538302, 0.2392288595, -0.5101723671, -0.1884534508, -0.3288458288, -0.5519247651, -0.1033340842, 0.1110800728, -0.3571105003, -0.1474835724, 0.9052292109, -0.3469349146, 0.5665486455, 0.2902228832, -0.0824047178, -0.4134813547, 0.3249015808, 0.5939382911, 0.7329633236, 0.1835967153, 0.0843646675, 0.0444695689, -0.6229868531, 0.2958309054, 0.4640325904, 0.0608033128, 0.3945936859, 0.3405274153, 1.2108362913, 0.2308937311, -0.6451102495, 0.791228056, -0.0535440184, -0.2374437004, -0.3996882737, -0.1376608163, -0.2416379601, 0.490221113, 0.4394654632, 0.125759095, 0.1157233492, -0.4183007181, 0.2101050615, 0.5343010426, -0.5893068314, -0.7314736843, 0.8943443894, 0.0844582543, -0.5494447947, -0.0379111096, 0.1979437321, 0.2367676944, 0.5933653116, 0.1155836135, 1.3437411785, -0.831500113, 0.1368250102, 0.1922652125, -0.3202550411, 0.0273227412, 0.4279783964, -0.4061989784, -0.7114800811, -0.6993851662, -0.1618105471, -0.3751295805, -0.1737518013, -0.7894852161, 0.2219055891, 0.3529981971, -0.3011925519, 0.2366037518, -0.1271833628, -0.1151002124, 0.0979001373, 0.1073196605, 0.6492025256, -1.0121876001, 1.0370106697, 1.0410565138, -0.0465919934, -0.9205334187, 0.3208425045, 0.1146755368, -0.7882525325, 0.2837956846, 0.2062009573, -0.2691858113, 0.0019291942, -0.1627588868, -0.9522784352, 1.0652971268, 0.4572367072, -0.6799532175, -0.3515830636, 0.1389356107, 0.138651222, -0.2390537709, 0.4556663334, 0.5500172973, 0.3514137566, 0.0148022156, -1.2623562813, -0.3795696497, -0.1318234652, -0.2563160658, 0.3942521214, -0.67715168, 0.2568353415, -0.0099057602, -0.3485896289, 0.4801629782, 0.7896774411, 0.2840176225, 0.590922296, 0.9522916079, 0.635001123, 0.6481047869, -0.075712055, 0.4596206844, -0.6766233444, -0.0800931901, 1.2055149078, -0.0225443915, 0.8824345469, 0.842507422, 0.0448762327, 0.3801785409, 0.4544739723, 0.4438909888, 0.732565105, -0.5389139652, -0.3306292295, -0.2136316299, 0.1029931381, -0.1507337838, 1.0481746197, 0.1615737081, -0.1341448426, -0.04182145, 0.2431259751, -0.2921441197, -0.2023471296, -0.2437939197, 1.0139102936, -0.1472998261, -0.9722129703, 0.5716153383, -0.3707539737, 0.2240607142, -0.4850096405, 0.0749013871, 0.0624486022, -0.0488579199, 0.07421197, -0.3889741004, 0.2442219853, -0.3998261094, 0.1327524483, -0.1984842271, 0.4923042655, -0.7145476937, -0.0939057246, -0.0150919789, 0.5021627545, 0.5726591349, 0.189830035, -0.8113271594, -0.1527955979, -0.0150373559, -0.2821187079, 0.3040580451, 0.4580200315, 0.1596214771, 0.3958524466, 0.0692074597, 0.1297951192, 0.123114273, 0.1352243125, 0.3761158288, -0.1714784801, -0.58435601, -0.5096639991, 0.3852872252, 0.1541680992, -0.4204808176, 0.4682385325, 0.4259551764, 0.4000414312, 0.1740591377, 0.5314077139, 0.0007074313, 0.6365625858, -0.6609855294, 0.0908758193, -0.5158730149, 0.0764575377, -0.5462635756, -0.7331740856, 0.0103891641, 0.5427881479, -0.1591172963, -0.0367026962, 0.6138255, 0.6686874628, -0.0385573208, 0.3562354445, 0.1481256038, -0.0591617748, 0.0420569256, 0.4008508325, 0.3865880668, -0.7396790981, 0.701400578, -0.5556440353, -0.3611958623, 0.3012686372, -0.8098204136, -0.3846100271, -0.6949709654, -0.7908082008, 0.1189982668, 0.1731523126, 0.7863485217, 0.9036486149, -0.9481856227, -0.7059195638, -0.2923916578, -0.0417374037, -0.9172410369, -0.1234886721, 0.7181147933, -0.0854018629, -1.1875472069, 1.0508724451, 0.0797091648, 0.3740583658, 0.1348334402, -0.0581650324, -0.2859663963, -0.103942357, 0.1248828024, 0.693423748, -0.7479601502, -0.405148387, -0.1907190979, 0.2632990479, 0.2873626351, 0.8793976307, -0.8135321736, 0.5308547616, 0.4100190401, 0.5216506124, -0.022672262, 0.3931010067, 0.6752902269, -0.8018164635, 0.4541507661, -0.0648709089, 0.256233573, 0.1215602756, -0.1828992516, 0.4002018571, 0.3213512003, -0.657207191, -0.7540827394, 0.2511552274, -1.1157668829, -0.2394217402, 0.9038626552, 0.1627473086, -0.3595631421, -0.1372340471, -0.1010301858, 0.8047273159, -0.3547682762, 0.733377099, 0.4106742442, -0.4497174621, -0.3894747496, -0.4844616055, 0.3502338231, 0.684779942, -0.4613169134, -0.1133825183, 0.5471252799, -0.1442467272, 0.3824307024, 0.41601789, -0.0274059009, 0.2887076735, -0.3245438337, 0.1822708696, 0.2273342013, -0.3181366026, -0.6057353616, 0.3031509519, -0.2500499189, -0.9302101135 ]
http://arxiv.org/abs/2407.03129v1
http://arxiv.org/pdf/2407.03129v1
Social Bias Evaluation for Large Language Models Requires Prompt Variations
2024-07-03T14:12:04
2024-07-03T14:12:04
Rem Hida, Masahiro Kaneko, Naoaki Okazaki
cs.CL
cs.CL
Warning: This paper contains examples of stereotypes and biases. Large Language Models (LLMs) exhibit considerable social biases, and various studies have tried to evaluate and mitigate these biases accurately. Previous studies use downstream tasks as prompts to examine the degree of social biases for evaluation and mitigation. While LLMs' output highly depends on prompts, previous studies evaluating and mitigating bias have often relied on a limited variety of prompts. In this paper, we investigate the sensitivity of LLMs when changing prompt variations (task instruction and prompt, few-shot examples, debias-prompt) by analyzing task performance and social bias of LLMs. Our experimental results reveal that LLMs are highly sensitive to prompts to the extent that the ranking of LLMs fluctuates when comparing models for task performance and social bias. Additionally, we show that LLMs have tradeoffs between performance and social bias caused by the prompts. Less bias from prompt setting may result in reduced performance. Moreover, the ambiguity of instances is one of the reasons for this sensitivity to prompts in advanced LLMs, leading to various outputs. We recommend using diverse prompts, as in this study, to compare the effects of prompts on social bias in LLMs.
[ -0.1715931892, -1.0104727745, 0.6908055544, 0.3609234989, -0.0826185793, 0.1411603391, -0.4495347142, -0.1756308526, 0.1437500566, 0.2737608254, -0.7168363929, -0.4274683595, -1.0848770142, 0.3123842478, 0.1008216962, 0.9082355499, 0.1365081817, 0.2564185262, -0.0632842705, -0.0489214882, -0.7401991487, -0.4942360222, -0.7910301685, -0.3505304456, 0.8085595965, 0.3821353018, 0.6773863435, 0.2306093872, 0.2389300615, 0.2697620094, -0.4336210489, -0.0235035829, -0.7686781287, 0.4612830281, -0.2120246589, -0.3880611956, -0.059675727, -0.1351618171, 0.7159541249, 0.7234590054, 0.4980535507, 0.4287925661, 0.4360331297, 0.6345176101, -0.6746790409, 0.2510957718, -0.6368032098, -0.1932971478, -0.3544702232, -0.1334148198, -0.4616049826, -0.4535421431, 0.11203105, -0.1983450502, 0.19915995, -0.041489888, 0.4488902986, 0.2027927786, -0.5134148002, -0.1831438094, -0.5938595533, 0.8921294212, -0.7491194606, 0.043999657, 0.1210473254, 0.3465546072, -0.2059230655, -0.1010025665, -0.1207054704, -0.4568313658, 0.2262254506, -0.2577784359, -0.0489845015, 0.0149659161, 0.7256358862, -0.1288206875, -0.2352410257, 0.3573379517, -0.2393115312, -0.2330789715, 0.5739246011, 0.5101179481, 0.2534727454, -0.1960336715, -0.0139443064, -0.049724523, -0.9333425164, 0.4118801653, 0.7517405152, 0.5397105217, -0.2842312753, 0.5475915074, -0.3860260844, 0.6432380676, 0.2651430964, -0.1478735209, 0.2035415918, -0.0805435479, 0.0854319558, -0.0156698674, 0.6026862264, 0.7681727409, 0.4866057932, 0.1549732983, -0.2763288021, 0.2284349352, -0.0825693756, -0.6720036268, 0.3295755386, -0.1145300716, -0.522533536, -0.2914708555, -0.3886279762, -0.7695269585, -0.9508920312, -0.3239962459, 0.1299151927, 0.0124766389, 0.0458440855, -0.0331890583, -0.1581427157, 0.0599566698, 0.5154651999, -0.8658648729, 0.2769587338, 0.5949719548, 0.9108580351, -0.4813398123, -0.2924445271, -0.9183720946, -0.1185833961, -0.1872013807, 0.443680197, -0.8988060951, -0.5152832866, 0.2133856714, 0.0021858634, -0.1057310998, -0.4122718871, 0.4938314259, -0.3164183497, -0.0470262542, -0.9460552335, -0.4027488232, 0.1743044853, -0.0808288902, -0.5970636606, 0.9168712497, -0.0486915931, -0.9344563484, 0.4116735756, -0.4176461995, -0.5461563468, -0.0396066308, -0.4045324028, 0.1117194146, 0.2283353508, 0.1490245759, 0.4535693228, -0.4735009372, 0.4720414877, -0.5261115432, -0.6891800165, 0.3205351233, -0.5094261169, 0.9504283667, 0.0397845358, -0.675060451, 0.3210795224, -0.4914509952, -0.5018846393, 0.0090146102, -0.3487064838, -0.6067993641, 0.0284922067, -0.2936921418, 0.1573068649, 0.1725990921, -0.5984399915, 0.1562388241, -0.2145608664, 0.2686350644, 1.3023012877, -0.0176117569, 0.408660382, -0.4805547595, 0.7196080089, -0.1090003848, 0.2416019589, 0.1561440676, -0.6475999355, -0.5480107069, -0.1702986211, -0.0472899191, 0.3967321515, -0.6886981726, 0.1052482575, -0.1151609793, -0.4864484966, -0.3731870949, 0.1900962442, 0.2669103444, 0.2203663886, -0.1200770661, -0.0702034608, -0.2690159082, -0.9561959505, -0.6732486486, 0.0874429792, 0.0431405827, 0.5108309984, 0.4061887562, -0.0512686335, 0.7644229531, -0.4769260585, 0.1472038478, -0.3812440634, 0.044088833, 0.3663303852, 0.1680485755, 0.5747712255, -0.3327460289, -0.4411869049, -0.537088573, -0.2235064805, -0.5598313212, -0.1096467227, -0.0682881922, 0.3106259406, 0.4399466813, -0.6309206486, 0.2341682762, 0.554689765, -0.4531561434, 0.6700690389, 0.1716165245, 0.2077910155, -0.7661690116, -0.192270264, 0.2975348532, 0.0480181649, -0.4050886333, -0.2376148999, -0.1580703408, 0.186229825, -0.4694574475, 0.7728015184, -0.4352928996, -0.2010857463, -0.1139143333, 0.2235537767, -0.0271813888, 0.2592728436, -0.1302040964, 0.6889850497, 0.6439310312, -0.687179029, 0.3714223504, -0.1431092769, -0.5348814726, 0.2940436006, -0.9734691381, 0.2684198022, -0.3142723441, 0.278539747, -1.2401248217, -0.0534046553, 0.3493344784, -0.2365374416, 0.1934503913, -0.0387814529, -0.3751374483, -0.2458313555, -0.640634954, 0.2886563838, 0.3948412836, -0.2461678386, 0.1874655038, 0.1599386781, -0.4612730145, -0.7003312707, -0.3357935846, -0.1294163167, -0.3613882065, -0.6548871994, -0.0027833239, -0.2310733497, -0.5342469215, -0.3472570777, -0.0282788947, 0.5178689957, 0.216130808, 0.4349058867, 0.3137559891, 0.0000207592, 0.1535717994, 0.2387975603, 0.2633280456, 0.3405726552, 0.2582373023, 0.7958962321, 0.2114565223, -0.3270722628, 0.0141385626, 0.2952889204, 0.5147792101, -0.0104841692, 0.7090995312, 0.314209193, -0.2137756199, -0.0476359837, -0.7578774691, -0.400577724, -0.517162621, 0.3396810293, -0.2844937444, -1.1890364885, 0.6737548709, 0.0964614898, 0.1189159676, 0.2994786501, 0.8472519517, 0.3612969518, 1.0922063589, 0.2893160582, -0.1195807457, 0.6249337792, 0.3215612769, 0.0295211487, -0.897716701, -0.0284619685, -0.8341962099, -0.3289104998, -0.6970744729, -0.3683166802, 0.1778919697, -0.3554512858, -0.3387828469, -0.1186906025, -0.2472703755, 0.4570024908, 0.4702328146, 0.0903015733, 0.1101568341, -0.038850408, -0.0789031386, -0.0834095553, -0.594012022, -0.8163333535, 1.0200697184, 0.4658867121, 1.057072401, 0.0573319755, 0.4852559268, 0.6026060581, 0.1368818283, -0.5207486153, 0.6406731009, -0.0288844611, -0.7474048734, -0.4340876341, -0.355556339, -0.8372862339, 0.1503834724, -0.1389938891, -0.9271047115, 0.2867386937, 0.0836842954, -0.5299252868, -0.0261255223, -0.7116009593, 0.6165447831, -0.0015608664, -0.6486266255, 0.0285072681, -0.5739438534, 0.1541331857, -0.0208792519, 0.2361056954, -0.3905501068, 0.1080441251, 0.6603288651, -0.060093116, 1.5179034472, -0.3219432831, -0.2940602601, 0.086681217, 0.1161622182, 0.8714658618, 0.0946777761, -0.4051214159, 0.1010275781, -0.1913145483, -0.33537817, -0.454395771, 0.9399671555, -0.8593616486, -1.0642709732, -0.2590633333, -0.7753415704, -0.2413258255, -0.1008320302, 0.4864608347, 0.4952958822, -0.1572242379, 0.0114670619, 0.5627204776, -0.6272221208, 0.277138561, 0.4423829615, -0.1228744909, 0.1450884491, 0.2862853706, 0.3390224874, 0.6031911373, 0.0299054142, 0.3678490818, -0.2427666336, -0.2654877305, -0.5354269743, 0.1772463173, -0.887814045, 0.0181991644, -0.5870774388, 0.2403819114, -0.8935912251, -0.2352050692, 0.029889198, -0.2801876664, -0.3243908286, -0.2120506316, 0.4545196593, 0.8950632811, 0.1311874986, 0.2140195072, -0.4940830469, 0.044772733, 0.2096949667, 0.0831001773, 0.1374838054, -0.7577847242, 0.0078040794, 0.0205324925, -0.1243850142, -1.1339970827, 0.007207626, -0.2017053068, 0.6505900621, 0.2557217181, 0.2655646503, 0.1852446496, -0.4630749822, 0.9689502716, 0.0592817664, -1.0522745848, 0.4787970185, -0.5546680689, 0.4779148102, 0.436078161, 0.3247711658, -0.5551379919, -0.6237860322, -0.2342309505, -0.833837688, 0.7864334583, -0.154338032, 0.415887177, -0.213884607, 0.2817802131, 0.3339111805, 0.2387372106, -0.7239254713, -0.501185596, 0.1543665379, 0.0796224922, -0.1170456782, -0.7035839558, -0.1231662333, -0.1643590331, 0.4637542367, 0.0240634494, -0.1261727512, 0.034127906, -0.0423464477, -0.2684987187, 0.4972126186, 0.6690250039, 0.6835850477, 0.0110373842, 0.1561270207, 0.3954900205, -0.2467301041, 0.2383537591, -0.1821980178, -0.5720193982, 0.1897816956, 0.3587206006, 1.2247060537, 0.0725955963, -0.4640051425, 0.4477318227, 0.1355734468, 0.1657053679, 0.0289891381, 0.2393579483, 0.0909265429, 0.3932870924, 0.2097232789, -0.0904008895, 0.3706204295, -0.6175106764, -0.3867220283, 0.4853182733, -0.2519074082, -0.1398852021, 0.4726494253, 0.38927719, -0.4262948036, 0.1705716699, -0.2554159462, -0.4146291614, 0.8028367758, 0.6104949117, 0.7649816871, -0.4624121785, 0.3580521941, 0.179507792, 0.5121389627, 0.1134201437, 0.326083988, 0.2385608554, -0.598277688, -0.6190748215, -0.4044189453, -0.3728335202, 0.1470694691, -0.570032239, 0.4055897892, -0.3095891476, -0.4953227937, -0.0229173191, -0.2008751333, -0.7521415949, -0.1571061462, 0.1560580283, 0.7411365509, -1.0658627748, 0.407907486, 0.8733134866, -0.006581841, -0.6157496572, 0.0569096096, 0.1694056988, -0.7262273431, 1.0006759167, 0.2686505616, -0.2422406226, -0.3149082959, -0.474824518, -0.8116182089, 0.5998533964, 0.7600284219, -0.8277497292, 0.041476693, 0.3014713824, 0.4938113093, -0.4986281693, 0.4480445683, 0.5107352138, 0.5412416458, -0.1432468593, -0.7941414118, 0.5024054646, 0.0302101094, 0.3395744562, -0.1661947817, -0.6468427181, 1.0411450863, -0.2706486881, -0.173960939, -0.2933922112, 0.1308659464, 0.5483579636, 0.4294253588, 0.6279122829, -0.2778251469, 0.5562463999, -0.0593315698, 1.032910943, -0.2014491558, 0.0956137031, 1.1530429125, -0.7818686962, 0.2121861428, 0.5723558068, -0.1273889691, 0.3740905225, 0.6971107721, 0.2204697579, 0.2684574425, 0.7400124073, -0.2656211555, -0.2673080862, -0.4007669389, -0.3250974715, 0.1038040295, 0.1552757472, -0.415160507, -0.0783712193, 0.0290766954, 0.286945492, -0.0022659576, -0.3639200032, 0.4091089964, 0.1151015684, -0.8308704495, 0.5040841103, -0.1430672407, 0.9285899401, -0.4777376652, 0.0881695226, -0.3244817555, -0.0472885408, -0.1713634878, -0.5177301764, -0.0664842874, 0.130016163, -0.3146404326, 0.0060681538, 0.9071169496, -0.1184317619, -0.4023501873, 0.493950963, 0.4511484504, 0.0603269562, -0.1701714098, -0.4923844635, 0.531104207, 0.1585853249, -0.5738207698, 0.3222594559, 0.5355716348, -0.1841989607, 0.5330663323, 0.5061604977, 0.153943643, 0.2441428304, 0.4455495179, 0.9571738839, -0.3715802729, -0.2489798069, -1.1572599411, 0.2450124621, -0.1772383898, -0.4102402925, 0.9374932647, 0.2968333066, 0.5896198153, -0.1784791946, 0.8762995005, 0.1638935208, 0.5252785087, -0.4279970527, 0.4203245342, -0.3230092227, 0.4652723074, -0.6920233965, -0.9880064726, 0.1236803159, 0.3622572124, -0.7368177772, 0.2421452254, 0.5005378127, 0.831069231, 0.391335398, -0.0776501074, 0.4007799923, 0.2299582809, 0.1829464138, 0.3860901296, 1.025002718, 0.1696871668, 0.2006574273, -0.0316880271, -0.3220691085, -0.3863000274, -0.9186352491, -1.091782093, -0.341293931, -0.3340857625, -0.4679894149, 0.4544376135, 1.1255866289, 0.286634475, -0.6228826642, -0.3366544247, 0.3694308102, 0.363304913, -0.0052487506, -0.2708475888, 0.2400028408, -0.3909276724, -0.8884916902, 0.1313476264, 0.0693167076, -0.1566421688, -0.3310800195, -0.0699878633, -0.0181265809, 0.266305536, 0.732098043, -0.1850622296, -0.6843056679, -0.5619051456, 0.2466432303, -0.2573838234, -0.221457243, 0.7456285954, -0.3852239847, 0.1341747493, 0.7234820724, 0.3787659109, 0.0336173438, -0.1924008131, 0.6569712162, -0.739443481, -0.0134361358, 0.0304169822, 0.4885544479, 0.4215537906, -0.6288116574, 0.2292093337, 0.1114290729, -0.7010856867, -0.7059157491, 0.3909492195, -0.7333970666, -0.2530564368, 1.9616030455, -0.0927465111, 0.0146688092, -0.1207000762, -0.5567942858, 0.3583124578, -0.8564717174, 0.9260457754, 1.1305695772, 0.1379645765, 0.0373662524, -0.6207225919, 0.4491197169, 0.6335133314, -0.4888195395, 0.2980419099, 0.8141599298, 0.3885689676, -0.1035868973, 0.7013728619, 0.0281367935, 0.0368225984, -0.3253757656, -0.0710683167, 0.2639483213, -0.1185187176, -0.5335452557, -0.1223204285, 0.4016284943, 0.0704293773 ]
http://arxiv.org/abs/2407.03104v1
http://arxiv.org/pdf/2407.03104v1
KeyVideoLLM: Towards Large-scale Video Keyframe Selection
2024-07-03T13:41:44
2024-07-03T13:41:44
Hao Liang, Jiapeng Li, Tianyi Bai, Chong Chen, Conghui He, Bin Cui, Wentao Zhang
cs.CV
cs.CV, cs.CL, cs.MM
Recently, with the rise of web videos, managing and understanding large-scale video datasets has become increasingly important. Video Large Language Models (VideoLLMs) have emerged in recent years due to their strong video understanding capabilities. However, training and inference processes for VideoLLMs demand vast amounts of data, presenting significant challenges to data management, particularly regarding efficiency, robustness, and effectiveness. In this work, we present KeyVideoLLM, a text-video frame similarity-based keyframe selection method designed to manage VideoLLM data efficiently, robustly, and effectively. Specifically, KeyVideoLLM achieves a remarkable data compression rate of up to 60.9 times, substantially lowering disk space requirements, which proves its high efficiency. Additionally, it maintains a 100% selection success rate across all video formats and scales, enhances processing speed by up to 200 times compared to existing keyframe selection methods, and does not require hyperparameter tuning. Beyond its outstanding efficiency and robustness, KeyVideoLLM further improves model performance in video question-answering tasks during both training and inference stages. Notably, it consistently achieved the state-of-the-art (SoTA) experimental results on diverse datasets.
[ -0.498380959, -0.7688074112, 0.3195319474, 0.1413912326, -0.6622065902, 0.0011198744, -0.4569113553, 0.1225995123, -0.1293328106, 0.500199616, -0.3996109068, -0.6827844977, -0.7899292707, -0.1604470164, -0.5757899284, 0.5472589135, -0.0496963114, 0.1104902327, -0.4366791844, -0.288749218, -0.307300508, -0.2328177243, -0.4002549648, -0.0062892721, -0.1202198267, 0.413310945, 1.0168397427, 0.9874926805, 0.8772164583, 0.2899386585, -0.3288710117, 0.1238009706, -0.5095361471, 0.3514361382, -0.0195513144, -0.3691833317, -0.2254238725, -0.2456498146, 0.7939432859, 0.2242653966, 0.1538369507, 0.6468505859, -0.0644427463, 0.5807182789, -0.8229447603, 0.3080968261, -0.8131422997, 0.3720749319, 0.0536021106, -0.1852463782, -0.0812551081, -0.4646836221, 0.0731298774, -0.4776889682, 0.444544673, 0.145815596, 0.6959879994, 0.516189456, -0.0451833345, 0.2044601142, -0.5116608739, 0.4317457676, -0.5990032554, 0.7214862704, 0.5631456971, 0.368162632, 0.1757294238, -0.5423778296, -0.5184693933, 0.1204348207, 0.5547146797, -0.1773097515, 0.0427005626, 0.2239899635, 0.4925970435, 0.3885011375, -1.1296284199, 0.1511536539, -0.2911141813, -0.1380118281, 0.2860233784, 0.2339094132, 0.263736546, -0.3148696125, -0.1476053745, -0.5504310727, -0.5866821408, -0.1266871244, 0.2142660916, 0.0294850525, 0.1475881785, 0.5035275817, -0.2232575864, 0.780493021, -0.2220492512, -0.426020354, 0.1769658327, 0.0074237757, -0.8062554002, 0.008266462, 0.6797614694, 0.9036154151, 0.1932203621, -0.0911185294, 0.3975292742, 0.2105498612, 0.0969721153, -1.3411277533, -0.2156961113, 0.2321129739, -0.7455459237, -0.0286522619, 0.2382508814, -1.0341771841, -0.225301221, 0.0394286253, 0.4700083137, -0.4123781025, -0.2116355747, 0.032724645, -0.2345011681, 0.4879753292, 0.3510152698, -0.8073328137, 0.1662586778, 0.6527500749, 0.8448303938, -0.4395167232, -0.1740027368, -1.0193185806, 0.0988521948, -0.450140059, 0.2421882451, -0.7437541485, -0.1334505975, 0.2149413675, -0.1597333401, 0.026538413, -0.7975504994, 0.18163459, -0.9011417627, -0.0990408733, 0.1701143533, -0.6776672602, -0.2672500312, 0.4666880071, -0.8150750399, 0.9493094087, -0.2895619273, -0.487146616, 0.5498444438, -0.0211254675, -0.262963295, 0.0066078394, -0.2454979122, -0.8035511374, 0.0067728306, 0.3053421676, 0.7483971715, -0.4545600116, 0.3073537052, -0.6491640806, -0.2573028505, 0.1856363714, -0.6472781897, -0.0639483407, 0.3289620876, -0.207103774, -0.1102878526, -0.6399187446, 0.1678427309, -0.3114399612, -0.0537565239, -0.2758332789, -0.2000903338, 0.3009888232, 0.16487284, -0.0880675986, -0.2992153168, -0.0179674812, 0.0313439891, 0.7784432769, 0.4891294539, -0.1772736013, 0.445576787, 0.0097544324, 0.8454928994, -0.2418357432, 0.2491312176, -0.3496814668, -0.2167527825, -0.1539917886, -0.1175924242, 0.2039274871, 0.2905425131, -0.6295127273, 0.0763868019, -0.3414324522, -0.1240396798, -0.2741139829, 0.4668152332, 0.3776928484, 0.2174831033, 0.322953254, -0.2163702399, -0.3305740058, -0.5040016174, 0.0027976723, -0.2832747996, -0.081092447, 0.3302845359, 0.2604700327, 0.016521018, 0.9296024442, -0.8953250647, -0.3074838817, -0.1796440035, 0.092922017, 0.0525580347, 0.3171583712, 0.3561094999, -1.3492048979, -0.5406212807, -0.1821959466, -0.7047643065, 0.2819307148, -0.1996386349, 0.0820899457, -0.3686277568, 0.8874490261, -0.6343691349, 0.3210708201, 0.475507766, -0.1541569382, 0.3185152113, -0.1551549882, 0.4047057629, -1.0949983597, -0.0568109415, -0.0915070549, -0.5041060448, -0.115647465, 0.153482303, 0.1609992385, -0.283341825, -0.7781533003, 0.4154084027, -0.2834410965, -0.3051411211, -0.0493861549, 0.1651647985, -0.1831433028, 0.4898607433, 0.3391349018, 0.8308521509, 0.781152606, -0.5604692101, 0.4598579109, 0.5794765949, -0.4117369652, 0.5003505945, -0.4009889364, -0.0496788993, -0.4442490041, -0.2014584541, -1.1411578655, -0.3816586435, -0.3362483978, -0.3889087439, 0.2774859369, -0.2984483838, -0.2404062152, -0.3077820539, -0.5332739949, 0.4037421942, 0.5081411004, -0.5500664115, 0.4297623336, 0.4816613793, -0.3298426569, -0.4367894232, -0.3562780321, 0.2377998978, -0.6155434847, -0.5136305094, 0.3959561586, -0.1366545856, -0.0267501324, 0.0545870885, -0.5960702896, -0.4238967597, -0.0918632522, 0.487636894, 0.2890031338, -0.2232554555, 0.207398206, 0.0189436655, 0.0895888805, 0.0266836397, -0.1576807201, 0.3373953402, 0.0886618495, 0.0066785277, -0.0730695277, 0.1581425369, 0.747140348, -0.3330791295, 0.3825189173, 0.8172431588, -0.2496845871, -0.3113869131, -0.7081185579, -0.1777092814, -0.4213801026, 0.8224653006, -0.2224986255, -1.2154836655, 0.2209495455, -0.1170456335, -0.1190439463, -0.1335506588, 0.476788938, -0.0539722592, 0.8245972991, 0.266046375, -0.2384010851, 0.777679503, -0.5226147771, -0.2407547981, -0.5939851999, -0.0675463751, -0.2582434118, -0.1931569129, -0.2139424831, -0.9023312926, 0.4739081562, 0.1314790696, -0.2839649022, 0.5296239853, 0.0232167542, 0.8600697517, 0.0512381122, 0.1638480723, 0.2886552513, 0.0590808801, 0.1175756454, -0.1859846264, -0.6372360587, -0.3965123296, 1.2965204716, 0.3033913672, 1.0996245146, 0.2126176208, 0.1277679205, 0.3737865686, -0.2339203209, -0.6754444242, 0.7155559659, -0.4400082827, -0.2973277867, -0.4727419019, -0.2951516509, -0.7668347359, 0.2669948936, -0.205830425, -0.6100263, -0.4410510063, 0.1425067484, -0.7028624415, 0.3269931674, -0.2404311895, 1.0818302631, 0.0235252958, -0.6198782325, -0.5329137444, -0.8551679254, 0.2517979741, 0.0405237935, 0.0632389858, -0.1238393784, 0.1064639166, 0.7906996608, -0.5457979441, 0.2969304621, 0.0720993951, 0.3886621594, 0.3858217299, 0.1637057066, 0.2318062633, 0.5105695128, 0.3465086222, -0.2374574542, -0.0035384737, 0.112381056, -0.7763528824, 0.5812167525, -0.529941082, -0.6032164097, -0.1293068081, -0.3728890717, -0.3313430846, 0.0798023939, 0.0372953862, 0.6685933471, -0.3133580387, 0.9066717625, 1.1878561974, -0.3234453499, 0.7257538438, 0.2289401144, -0.3284488022, -0.6187779307, 0.7526547313, -0.3338037729, 0.4037950039, 0.739792943, -0.1426836848, -0.5359101892, -0.5733605027, -0.477489233, -0.1329285651, -0.495863378, -0.5778307915, -0.6239567995, -0.1826436967, -0.372486949, 0.1361735016, -0.4256664515, -0.2658919692, -0.2345837355, -0.5288796425, 0.6225494742, -0.1455904245, 0.2462721169, 0.365490526, -0.9689672589, 0.8946751952, 0.849052608, 0.3242774308, -0.1874968112, -0.6027823091, -0.2235989869, -0.4306735396, -0.3803970516, -0.7111577392, 0.4596216977, 0.7147849798, 0.3391286731, 0.5780434012, -0.1365022361, 0.9165472388, -0.4931827486, 0.7574386597, 0.2050022632, -0.6969538331, 0.4148879051, -0.063739486, 0.3437571526, 0.6820816994, 0.412843734, -0.544773221, -0.3281523883, -0.3042828739, -0.8021013141, 0.4007843137, 0.3419546783, 0.2045877278, 0.1767675281, 0.08911293, 0.1006564572, 0.3996930718, -0.2671861947, -0.0322252549, -0.2409430742, -0.1036672145, -0.0437848791, 0.1605439186, 0.2698668242, 0.0089671193, 0.3788027763, -0.5142102242, -0.0296707936, 0.2190842479, -0.6968500614, -0.1911385655, 0.3065572083, 0.2099319547, 0.6062832475, -0.4732569456, 0.1616920084, 0.1604029983, -0.8552717566, 0.2912447453, -0.0590789951, -0.1245918125, 0.1406754851, 0.2707137764, 1.1392321587, 0.3379023969, -1.1246242523, 0.7714266777, -0.0709026754, -0.2351258546, -0.1065786257, 0.2624407113, -0.2407180518, 0.5149513483, 0.4652884007, -0.1402849704, 0.1923016161, -0.6421582103, 0.4383000731, 0.6766396165, -0.1775267273, -0.1651691794, 1.1683471203, -0.0385564119, -0.2687652707, 0.6887165904, 0.0178088751, -0.4775532782, 0.7701865435, 0.0044643139, 0.9248327017, -0.0512478203, 0.6096760035, 0.3429011405, -0.0357897766, -0.5346696377, 0.3041210175, -0.289278388, -0.5805472732, -0.6579822898, -0.7905339599, -0.4618314803, 0.4375038743, -0.9331002831, 0.3361575902, -0.3921608329, -0.3161835968, -0.202880457, -0.2316293418, -0.853931427, 0.4580672383, 0.4929920435, 1.2193992138, -0.9294218421, 0.910580039, 0.4263724685, -0.1913222373, -0.6713686585, -0.1952051669, -0.0986388847, -0.57908535, 0.578291893, 0.1835888177, 0.346862793, -0.1155969277, -0.2337277383, -0.8254476786, 1.1806139946, 0.3618356884, -0.600256145, -0.3682868779, 0.4572073519, 0.2970315218, -0.1795323193, 0.3458885252, 0.5304926634, 0.180473581, 0.5311327577, -0.8282290101, -0.2112865895, 0.041857142, 0.4184871614, 0.2671407163, -0.7342276573, 0.4532619715, -0.1684231758, 0.2631215155, 0.063972421, 0.8434249759, 0.1496001184, 0.2463457733, 0.4829972386, 0.5872959495, 0.2741782069, 0.2673721611, 0.1771698892, -0.2870241106, 0.4325869083, 1.1910716295, -0.191357553, 0.981618464, 0.6730204821, -0.3706918657, -0.014372265, 0.6254882812, -0.2388631254, 0.6697912216, -0.0997712091, 0.092445977, -0.6003688574, 0.2901150882, -0.3257692456, 0.6346327662, 0.1817127168, -0.4419554174, -0.2726568878, 0.383055687, -0.1734511107, 0.052174408, -0.8118963242, 0.7424536943, 0.0599011071, -0.6041615009, 0.3628025055, -0.3116500676, 0.4835990369, -0.6208884716, 0.0236828402, -0.2352953702, 0.0326650701, -0.154466778, -0.7563913465, 0.2819587588, 0.3700947464, -0.103402786, -0.3348173797, 0.5316653252, -0.7448279858, -0.2484755516, -0.1944285482, 0.212881431, 0.088349551, -0.3956416845, -0.4598037601, 0.4504058659, -0.301384151, -0.0558065772, 0.5103498101, 0.0586977899, -0.0849551335, 0.6456958055, 0.408243686, 0.1258719265, 0.0536463745, -0.1934942156, 0.6645442843, -0.6032633781, -0.6718256474, -1.0189077854, 0.0555742867, -0.1031692848, -0.2249049544, 0.8108347058, 0.9196780324, 0.8347731829, -0.2750881314, 0.6466076374, -0.0287489723, 0.0771595687, -0.8662672043, 0.2723412812, -0.2811419666, -0.0331855081, -0.6128581166, -1.2041175365, -0.3466803133, 0.5735461116, -0.1615618765, -0.3945031166, 0.6786477566, 0.9476837516, -0.2623744607, 0.1155712008, 0.4556676745, 0.1614732444, 0.1537495852, 0.6611995101, 0.5925173759, -0.571279943, 0.9984487295, 0.1946609318, 0.0855177566, -0.3043670952, -0.9729067683, -1.0033892393, -0.5512985587, -0.7097373605, -0.1148933917, 0.1403789669, 1.1830486059, 0.9914693832, -0.6501784921, -0.2625287473, 0.0902012587, 0.1775068343, -0.3447496891, -0.1700993478, 0.3611589074, 0.1654662043, -0.656537056, 0.1252899468, 0.5330618024, -0.1819486022, -0.231812492, -0.2176172435, 0.274306953, -0.2049229294, 0.6546282172, 0.3581722975, -0.3815450966, -0.0856121778, 0.2392228395, 0.1525413692, 0.2899264097, 0.9670323133, -0.7076530457, 0.5070611238, 0.7016328573, 0.9317522049, 1.1880934238, 0.0510679744, 0.3065988719, -0.4664463699, 0.2355230153, 0.1635929346, 0.2260999233, 0.2909193337, -0.1210856065, 0.3353046179, 0.0374449268, -0.3824943602, -0.9022648931, -0.0074075721, -0.9557055235, -0.3579353094, 1.4088983536, -0.1482988, -0.2508675754, 0.2130635828, -0.2957802415, 0.1344086826, -0.2846031189, 0.7316995263, 0.6359220743, 0.2712057829, -0.5669016242, -0.5010821819, 0.6908100843, 0.3853268921, -0.6028892398, 0.095132418, 0.35105744, 0.3366007805, -0.4572083056, 0.2660237253, 0.1044866145, 0.527402699, -0.3692996204, -0.3850424588, -0.1121176109, -0.4514491856, -0.4363747239, 0.7158715725, -0.0898924246, -0.4472389817 ]
http://arxiv.org/abs/2407.03103v1
http://arxiv.org/pdf/2407.03103v1
Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theory
2024-07-03T13:41:31
2024-07-03T13:41:31
Suyeon Lee, Sunghwan Kim, Minju Kim, Dongjin Kang, Dongil Yang, Harim Kim, Minseok Kang, Dayi Jung, Min Hee Kim, Seungbeen Lee, Kyoung-Mee Chung, Youngjae Yu, Dongha Lee, Jinyoung Yeo
cs.CL
cs.CL
Recently, the demand for psychological counseling has significantly increased as more individuals express concerns about their mental health. This surge has accelerated efforts to improve the accessibility of counseling by using large language models (LLMs) as counselors. To ensure client privacy, training open-source LLMs faces a key challenge: the absence of realistic counseling datasets. To address this, we introduce Cactus, a multi-turn dialogue dataset that emulates real-life interactions using the goal-oriented and structured approach of Cognitive Behavioral Therapy (CBT). We create a diverse and realistic dataset by designing clients with varied, specific personas, and having counselors systematically apply CBT techniques in their interactions. To assess the quality of our data, we benchmark against established psychological criteria used to evaluate real counseling sessions, ensuring alignment with expert evaluations. Experimental results demonstrate that Camel, a model trained with Cactus, outperforms other models in counseling skills, highlighting its effectiveness and potential as a counseling agent. We make our data, model, and code publicly available.
[ -0.2571332753, -0.8062899709, 0.5563747883, 0.7901142836, -0.0187910628, 0.1126500368, -0.650175631, -0.4514189363, 0.075426735, 0.3674600124, -1.1496480703, -0.7832489014, -0.3691298068, -0.1200649813, -0.2438969612, 1.1214891672, 0.2413743287, 0.3649760187, -0.0043503297, -0.022499796, -0.7877680063, -0.3200066984, -0.6854589581, -0.1851644814, 0.4694884419, 0.326182574, 1.0614783764, 0.4066081643, 0.1586147845, 0.1806934774, 0.114294149, -0.0135433776, -0.7438952327, -0.0689839944, -0.0932223052, -0.4030502737, -0.3770022392, 0.2368995249, 0.346541822, 0.7418063283, -0.6450609565, -0.0345453545, -0.0355414264, 0.2354047596, -0.5593042374, 0.3625262082, -0.7749108076, 0.2972089946, 0.0367277563, 0.0764927194, -0.6446398497, -0.6589829326, 0.3677289188, -0.906230092, 0.2937744558, -0.1571843624, 0.4654923975, 0.3314022422, -0.4666786194, -0.2575182617, -0.976893127, 0.723985672, -0.5725888014, 0.464014709, 0.7042241693, 0.254470408, -0.6309550405, -0.5417153239, -0.4673175812, -0.4103199542, -0.0715289488, 0.234938249, -0.0741043165, 0.0968661085, 0.1952004284, 0.3029035032, -0.2320892066, -0.1716780365, -0.1841577739, -0.2151296139, 0.5721823573, 0.5304899812, 0.1571993083, 0.4281070232, -0.1283595115, -0.0236866809, -0.4714548886, 0.3950992525, 0.2463686466, 0.295148313, -0.0482222624, 0.3989872038, 0.1386531293, 0.5838568807, -0.1237670183, -0.3817531168, -0.3814285696, -0.0240812413, -0.0845603794, 0.2136324793, 0.8730363846, 0.4068478942, 0.1980883926, -0.2647012174, 0.4204338491, 0.3063863218, 0.6670566201, -0.7155332565, -0.3898501992, 0.3013832271, -0.3184719086, -0.2300311178, -0.1768196672, -0.6137563586, -0.4955067039, -0.4603867829, -0.3632434905, -0.6789230704, -0.3064167798, 0.095452942, 0.0946072713, 0.3623072207, 0.4015062749, -0.6717824936, 0.8031113744, 0.8810588121, 0.8014314771, -0.1773550212, -0.322527349, -0.4600696266, 0.4003850818, -0.4663493335, 0.6580472589, -0.8627243042, -0.7454283834, 0.2114371955, 0.0376959331, 0.0849569216, -0.1125911698, 0.5033947825, 0.0380994044, 0.215004459, -0.4757674038, -0.3318716586, 0.2730685771, 0.5728830695, -0.2436469495, 0.8801150322, 0.2096778303, -0.7734143138, 0.4381114542, -0.7659632564, -0.3013925552, 0.0084246472, -0.3357170224, -0.3494376242, -0.2049437612, 0.1275679767, 0.0627377331, -0.3521134555, 0.2052325308, -0.6907510161, -0.4686513543, 0.7338556051, -0.3688239455, 0.6174379587, 0.3054838479, 0.0184073783, 0.1400870532, -0.7697047591, 0.1489740163, 0.0441913493, -0.42807585, -0.2944674492, 0.0376169421, -0.038665805, -0.0561337173, -0.0636577234, -1.0980110168, 0.4011841714, -0.422380507, 0.5495490432, 0.5548616052, -0.0147615876, -0.0169527251, -0.2135772258, 0.4506540298, 0.0331848599, 0.5536885858, 0.0496244952, -0.5946013331, -0.4422298968, -0.4172593057, -0.2766142786, 0.4001021981, -0.423271656, 0.2874722183, 0.0657139271, -0.8960127234, -0.5947012305, 0.0930799842, 0.5038785338, 0.4141010642, 0.2956252992, -0.5640739202, -0.0174249709, -0.6125830412, -0.3401653469, -0.1599453688, 0.1157176644, 0.4408875108, -0.0090012765, -0.1227330118, 1.4277296066, -0.9577209353, -0.3748613, -0.1175084561, 0.210772112, 0.1114211082, 0.5953475237, 0.4562824667, -0.3715892434, -0.3969419301, -0.2350569218, -0.6218891144, 0.1267626733, -0.1450559348, -0.350243479, -0.2346553355, 0.0525211282, -0.5623407364, 0.7704698443, 0.2289282233, -0.2444692105, 0.6140856147, -0.4248279035, -0.1149136573, -0.746303618, -0.2114981264, 0.1337568462, -0.054396335, -0.64411062, -0.31977579, 0.0243463982, -0.484402746, -0.6094874144, -0.0106639406, -0.2376871109, -0.1983148605, -0.1955352575, -0.1168019846, -0.3471364081, 0.8959722519, 0.3903553188, 0.8669442534, 0.4804495275, -0.4881231487, 0.5373040438, 0.7855078578, -0.0757208914, 0.990804553, -0.5955443382, 0.3400610983, -0.019234661, 0.7610721588, -0.7557538152, -0.035404332, 0.4162333608, -0.0433716848, -0.0660735145, -0.1271397322, -0.1799293607, -0.3515930474, -0.4109332263, 0.5174299479, 0.1157214642, -0.4744053483, 0.1266888976, 0.1729088128, -0.2422358245, -0.6766986847, -0.4537532628, 0.2777110636, -0.1008877084, -0.4606900811, 0.2750754356, -0.4077887833, -0.0658933818, -0.0982460827, 0.2519636452, -0.1077733636, -0.0476325937, 0.521251142, 0.2225259393, 0.0591086559, 0.2908832729, 0.2157329172, -0.3048241735, 0.2339846045, -0.3296764195, 0.6005862951, -0.4786397517, -0.6952088475, -0.5447725654, 0.2222441882, 0.2709153593, -0.5123564005, 0.8933078051, 0.6751762629, -0.3529943526, -0.068694368, -0.4885063767, 0.0573177673, -0.4476437867, -0.0202905666, -0.1863362044, -0.5368977785, 0.2267736346, -0.0543201156, 0.3993681371, -0.3497292697, 0.631786406, 0.0853127763, 1.1754798889, 0.7182509303, 0.0393678248, 0.679718554, -0.2386576384, 0.2761118114, -0.7501606345, -0.2483204901, -0.3047799468, -0.1235536858, -0.3421178162, -0.0359530114, 0.3776338995, -0.251806885, -0.4283978045, 0.4631376863, -0.8176550269, 0.3226580918, 0.4503835738, 0.3870091736, 0.5157987475, -0.3668864071, -0.101948984, -0.4336899221, -0.2985713184, -0.5435724854, 0.820766449, 0.3961013258, 0.9152656198, 0.2060450763, 0.3072863221, 0.1626846939, 0.7782341242, -0.9919531941, 0.4831450284, 0.3683125079, -0.6226423383, -0.2974984348, -0.085874781, -1.1453291178, 0.252420634, -0.3019535244, -1.0204911232, 0.1993606389, -0.0608706512, -0.2361840904, 0.0030302627, -0.3058850467, 0.8312120438, -0.1653512567, -0.4845099151, -0.4561370313, -0.6820569038, 0.6145331264, -0.072620526, 0.2581332326, -0.3611736298, 0.2194305807, 0.5302835107, -0.9330695271, 0.9885440469, -0.1015899256, -0.2764190137, 0.3881749511, 0.3416979909, 0.3252623081, 0.3253795803, -0.0282663312, -0.1969129294, 0.734926641, -0.5179974437, -0.5503259301, 0.6615479589, -1.1516187191, -0.4497063756, -0.3974412382, -0.7581263781, -0.6087443233, 0.0169454869, -0.0111958152, 0.3507186472, -0.7182965279, -0.08513695, 0.2355787009, -0.4955672622, 0.0437159352, 0.809342742, -0.160563454, -0.4257806242, 0.890663743, -0.0852460265, 0.1649682522, -0.3757431507, 0.2819850743, -0.0975870937, -0.102795057, -0.0577540956, 0.4049522579, -0.8331028819, 0.0759770349, -0.5931159258, 0.0198200755, -0.5622376204, -0.0786808357, -0.4604644179, -0.1123487577, -0.1929945201, -0.1868681163, 0.5723322034, 0.810674727, 0.1479417533, 0.726805687, -0.7814995646, 0.1112198755, 0.2136501521, 0.4953575134, 0.1191192195, 0.1898851693, -0.1166559681, 0.3596410751, -0.8494189382, -1.0745995045, 0.4775448143, 0.0530851483, 0.4387404025, 0.5664672852, 0.2745739818, 1.0393162966, -0.1602149904, 0.860789001, 0.2493552864, -0.9257244468, 0.7590389252, -0.5105670691, -0.1780724823, 0.6642202139, 0.2560415864, -0.7943086028, -0.6470682025, -0.63203758, -0.3673879802, 1.0630789995, 0.3189644814, 0.1202515438, -0.212415576, 0.5235673785, 0.2306089699, 0.3261849582, -0.7053588629, 0.0710358694, -0.5838915706, -0.4338066876, 0.1771374047, 0.2396279126, -0.4434296489, -0.2248962075, 0.6768657565, -0.256149143, 0.3795231879, 0.2891947925, 0.176149562, -0.3089823723, 0.2211891264, 0.2698478401, 0.5011442304, -0.1293514073, -0.0828091279, 0.4729311764, -0.5494586825, 0.0876530036, -0.244546622, 0.40285182, -0.3454389572, 0.0928922743, 0.3137337267, 0.2275828868, -0.6195029616, 0.6865891814, -0.6125823259, -0.0193520375, -0.69575423, 0.3571940958, 0.1323045045, 0.0871931985, -0.2386263758, -0.2931232154, 0.0395691656, -0.8359381557, -0.1771077663, 0.5187441111, -0.9893954992, -0.2656071186, 0.5635190606, 0.0311931986, -0.6524219513, 1.0182765722, 0.322950989, -0.0281312354, 0.4709109664, 0.7454642057, 0.3775959015, 0.0851426795, 0.2834540606, 0.0264574494, -0.050193429, -0.1336935759, 0.0969309807, -0.4985399246, -0.6259701848, -0.1676249504, -0.2603195608, -1.0467803478, 0.0046299836, -1.0424700975, 0.3692857325, -0.7902239561, -0.3096763194, -0.2610899508, -0.0597362332, -0.7384312749, 0.0227371156, 0.0169228408, 0.9744757414, -0.6480856538, 1.0850895643, 0.5089325309, -0.5331290364, -0.8132042289, -0.1568851024, 0.151647225, -0.9389473796, 0.0979801044, 0.1775189191, -0.2655187249, -0.0761352256, -0.9667986631, -0.5625752211, 1.3060519695, 0.5610886812, -0.1756236851, 0.0677193999, 0.4336091578, 0.7985142469, -0.4764334857, 0.5089557171, 0.9091726542, 0.462657243, 0.3350798488, -0.6839548349, 0.0432642177, -0.2475118935, 0.0420004725, -0.0764202103, -0.9359423518, 0.529394269, -0.1939497888, -0.1784504801, 0.3634760082, 0.6719020605, 0.330344528, 0.2682230175, 0.548979938, 0.1634728014, 1.0111510754, -0.0211546589, 0.9701966047, -0.5364845395, 0.2884892523, 1.1597644091, -0.5365134478, 0.5270732045, 0.2075532824, -0.2575686276, 0.5231645107, 0.8129577637, -0.1001209766, 0.3044425547, 0.2983258665, -0.2945144176, -0.3863747418, -0.6443116069, -0.3522463441, 0.2169667929, 0.7648281455, -0.0089037567, 0.0685934275, 0.0380071774, 0.0836627036, 0.1521110237, 0.0808041245, 0.8680922389, 0.3186555505, -0.8063560724, 0.2473558187, -0.0874211937, 0.2776327431, -0.6966990829, -0.1083719358, -0.0819205195, 0.373583734, -0.4006025791, -0.8574371934, 0.2651586831, 0.1281723231, 0.4045959115, -0.2644595802, 0.691819787, -0.3902161717, -0.5312632322, 0.2807233334, 0.3299566805, 0.4577997029, 0.0238473173, -0.6571530104, -0.0783959404, -0.4958982468, -0.1136953458, 0.2711005807, 0.4005307257, -0.1165650412, 0.9010130167, 1.0134841204, 0.0966268629, -0.2655127645, 0.1173227876, 1.0607827902, -0.8321914673, -0.776127398, -0.664665103, 0.063577354, -0.04362721, -0.4890915453, 0.4749527574, 0.2289489657, 0.4163878858, 0.3036554158, 0.6199790239, 0.3236305714, 0.4274154007, -0.10568811, 0.383087486, -0.0237872563, 0.4044642448, -0.3933147788, -0.9762638807, -0.1295885444, 0.7232977152, -0.6077920198, -0.2344248593, 0.5263427496, 0.7521761656, -0.0637367591, 0.7698931098, 0.1271918565, 0.2724330723, 0.9676631093, 0.6696654558, 1.3638226986, 0.1145634428, 0.8238033652, -0.3027915359, -0.2623991966, 0.1516461372, -0.7860184908, -0.8224726319, -0.1426095963, -0.1766002178, -0.3249045312, -0.1919698417, 1.3321708441, 0.6304674149, -0.4106302857, -0.3234539032, -0.2276812643, -0.2117989957, -0.3766222, -0.1692424715, 0.0296969805, -0.2358759791, -0.3053914607, 0.4424335063, 0.1807065755, -0.0925690606, -0.4755907655, -0.2570402026, 0.2818724215, 0.2097350508, 0.2850623429, 0.2213407308, -0.6800668836, -0.325563103, -0.2262475193, -0.1211858168, 0.4019693434, 1.1814733744, -0.8763405085, 0.273137629, -0.2671286166, 0.3795974553, 0.889383316, 0.0711082891, 0.843977809, -0.5607088208, 0.2396380603, -0.031002596, 0.2588505745, 0.2484635264, -0.6581519246, 0.5993466973, -0.0222967882, -0.3397143781, -0.6375080943, 0.2983369529, -1.0842583179, -0.2893149853, 0.8835254312, -0.5929392576, -0.2201562673, -0.5893092752, -0.8773471117, 0.4737125039, -0.5764314532, 0.8508011699, 0.7517315149, -0.4450037181, 0.1460348368, -0.2176852226, 0.4785964489, 0.323941201, -0.8206349611, 0.4062459767, 0.3297896981, 0.4169790447, 0.1233259067, 0.9044916034, -0.0721958727, 0.1454511881, -0.1262240112, -0.0641883761, -0.2270143926, -0.0685063228, 0.027394427, 0.0014355491, 0.2444280833, 0.1321243197 ]
http://arxiv.org/abs/2407.03076v1
http://arxiv.org/pdf/2407.03076v1
A Case Study on Context-Aware Neural Machine Translation with Multi-Task Learning
2024-07-03T12:50:49
2024-07-03T12:50:49
Ramakrishna Appicharla, Baban Gain, Santanu Pal, Asif Ekbal, Pushpak Bhattacharyya
cs.CL
cs.CL
In document-level neural machine translation (DocNMT), multi-encoder approaches are common in encoding context and source sentences. Recent studies \cite{li-etal-2020-multi-encoder} have shown that the context encoder generates noise and makes the model robust to the choice of context. This paper further investigates this observation by explicitly modelling context encoding through multi-task learning (MTL) to make the model sensitive to the choice of context. We conduct experiments on cascade MTL architecture, which consists of one encoder and two decoders. Generation of the source from the context is considered an auxiliary task, and generation of the target from the source is the main task. We experimented with German--English language pairs on News, TED, and Europarl corpora. Evaluation results show that the proposed MTL approach performs better than concatenation-based and multi-encoder DocNMT models in low-resource settings and is sensitive to the choice of context. However, we observe that the MTL models are failing to generate the source from the context. These observations align with the previous studies, and this might suggest that the available document-level parallel corpora are not context-aware, and a robust sentence-level model can outperform the context-aware models.
[ -0.1699221134, -0.8300498128, 0.5171169043, 0.0991419852, -0.2651541531, -0.3437479734, -0.3737733662, -0.1913589835, -0.4175254107, 0.3211901784, -0.6298329234, -0.2904509306, -0.8130289912, 0.3528014421, -0.4259931147, 0.9363980889, -0.2233092636, 0.2050265521, -0.2788867354, -0.2776373625, -0.8343483806, -0.8198713064, -0.8888441324, -0.2140550017, 0.5943291187, 0.0840978026, 0.2256397456, 0.4293301702, 0.3375240564, 0.2301799953, -0.0740617141, 0.4145166874, -0.1807993054, 0.3345077932, 0.0726559982, -0.4039034247, -0.3147583902, -0.086521104, 0.4325471818, 0.6557590365, -0.0102115376, -0.0103939129, 0.3639340103, 0.2453378588, -0.4886384308, 0.1008240059, -0.7877605557, 0.0480068699, -0.0913899615, -0.3296956718, -0.7171153426, 0.4673697054, -0.0152920792, -0.3973995745, 0.2725985944, 0.1823605001, 0.5299383402, 0.5444893837, -0.9580174088, -0.4498794377, -0.5629544854, 0.6838494539, -0.6222847104, 0.4445593953, 0.2575246096, 0.1777282059, -0.0055088615, -0.6047406793, -0.3777990639, -0.0871098563, -0.2612521648, 0.3042991161, 0.0341980904, -0.2888641953, 0.2308065742, 0.0564095043, -0.4556107521, -0.1228990853, -0.3976159394, -0.0503593944, -0.2309553325, 0.1184784099, 0.058152549, -0.4469344914, -0.5851877332, 0.0566081591, -0.6125584841, 0.0895463303, -0.0091545852, 0.4955944121, -0.1226551458, 0.4387177229, 0.219124347, 0.8590720296, 0.2477089167, -0.061202392, 0.2799525261, -0.5916045308, -0.2408316284, 0.0273295734, 0.678358674, 0.181446895, -0.1631899774, -0.4170814157, -0.4029973745, -0.0053992392, 0.6253324747, -0.705296278, 0.4304313958, 0.3569757044, -0.3727958798, 0.005902674, -0.3056871295, -0.0762687549, 0.0026421687, -0.478869617, 0.4199567437, -0.719935894, -0.1133448929, -0.0731950775, -0.1379751265, -0.0896100849, 0.1341399997, -0.6091356277, 0.1366985291, 0.4709689617, 0.8303565979, -0.1994577497, -0.7139034271, -0.6547366977, 0.3761869371, -0.2667991817, 0.44766289, -0.2096895128, -0.117606841, -0.0300031789, 0.1229833141, -0.529085815, -0.3865347207, 0.6979587674, -0.4387002885, 0.2414423972, -0.3202823102, -0.2430523634, -0.0892552957, 0.4634230733, -0.5234948397, 0.8282913566, 0.208081454, -0.852419138, 0.4296068549, -0.8661805391, -0.7785955071, -0.3081284463, 0.0180228669, -0.1951535195, 0.2992120087, 0.3127492666, 0.6158466339, -0.0984450802, 0.7433416843, 0.1819208413, -0.173913464, 0.2991231978, -0.6597953439, 0.6714739203, 0.3700128794, -0.3416630924, 0.2504991889, -0.397795558, -0.4042728245, -0.0155781955, -0.5954074264, -0.5016946197, 0.0094326995, 0.3686827123, 0.8332546353, 0.1802221984, -0.4732304513, -0.0923942775, -0.1436539441, 0.7699337602, 0.4374646842, -0.1665480882, 0.4497037232, -0.3342168927, 0.1683149189, 0.5480382442, -0.0565775558, -0.2972092927, -0.2537386715, -0.5647426844, -0.1161684543, 0.2944735885, 0.4369059801, -0.8799291849, 0.1245672405, -0.3267747164, 0.0780531317, -0.6113990545, -0.0056557441, 0.4546257854, 0.9637426734, 0.5081483126, -0.2018224001, -0.4182839096, -0.828514576, -0.2021912634, 0.427749902, 0.0404422618, 0.4222119749, 0.5651729703, -0.243699044, 0.6952537894, 0.0627842769, -0.3350971639, -0.1559275389, 0.3248137236, -0.014202171, 0.6031505466, 0.5069813728, -0.9871907234, -0.3830496371, 0.0231723692, -0.9360043406, 0.2579421699, -0.164066121, -0.0395717211, 0.3487278223, 0.4745806754, -0.7772491574, 0.0083395699, 0.682195127, -0.1204417124, 0.1683588922, -0.6214107275, 0.1918386966, -1.6639022827, 0.2390197068, -0.0621342808, -0.275339067, -0.8562983871, 0.2520162463, 0.4903481007, -0.2129700184, -0.5677612424, 0.1954035014, -0.5530689955, -0.1016771048, -0.4327691197, 0.0240128487, 0.0230656434, 0.6109417677, 0.18631652, 0.7761656642, 0.4807268083, -0.582248807, -0.2100147903, 0.0747204721, -0.0368116014, 0.8940191269, -0.3854637146, 0.2174978554, -0.2864032984, 0.4737671018, -0.6914299726, -0.2043859661, 0.2580689788, -0.2683718503, 0.4845611751, 0.0139801614, -0.6389141083, -0.2357824743, 0.2206515819, 0.3994652629, 0.1215618774, -0.3748688996, 0.5163317323, 0.1370831132, 0.0746588483, -0.6758075356, -0.961565733, 0.2937432528, -0.377407521, -0.4752818346, 0.5064923763, -0.1006342247, 0.2356867492, 0.1135535538, -0.2881196141, -0.2144669592, 0.2834035754, 0.370959729, 0.0738270357, -0.1973477006, 0.0390408821, 0.1412001848, -0.0118144099, 0.0034695219, -0.6699569821, 0.4671219289, -0.1075834408, -0.3153739572, -0.1318292767, 0.7170062065, 0.6924977899, -0.3966692984, 0.9686179161, 0.884186089, -0.5389151573, -0.1753590852, -0.2212593108, -0.2001771182, -0.3728477657, 0.3921508789, -0.789516151, -0.7675336599, 0.2881059945, -0.1381884813, 0.0593247898, 0.5607008934, 0.5979712605, -0.0551026911, 0.8925325274, 0.5136492252, 0.1142015383, 0.2939976752, -0.1933406293, 0.1021105722, -1.2395578623, -0.034674298, -0.4123005271, -0.3202205896, -0.252417475, -0.3975307345, 0.4227083325, -0.0140633695, -0.0915630385, 0.7611712217, -0.4969261289, 0.0738510638, 0.8098757267, 0.102594927, 0.2721019983, -0.0469127484, -0.3762066066, 0.1205082238, -0.9704639912, -0.4502307177, 1.0941810608, -0.091613479, 0.1115803197, 0.0132672517, 0.5258797407, 0.0114698028, 0.2800609767, -0.3806509674, 0.135989204, -0.2804625034, -0.7653369904, -0.1318967342, -0.5349684954, -1.0294859409, 0.5058972239, 0.0049961866, -0.3519012928, 0.0016893585, -0.0384723134, -0.2071444541, 0.1111649349, -0.5937803984, 1.1472027302, -0.2880014479, -0.2098728418, -0.1541502625, -0.7975550294, 0.3343275189, -0.3326144814, 0.483318001, 0.2440456897, -0.0552219711, 0.394017607, -0.0241281651, 0.8880262375, -0.0614313148, -0.1090173945, 0.0725092217, 0.0085729267, 0.4551514983, -0.1017200425, -0.1434292197, 0.0561333485, -0.1297790557, -0.3028778732, -0.1910914183, 0.81493783, -0.6939617395, -0.5396221876, -0.2371843159, -1.0952823162, -0.1849495023, 0.2926882505, 0.6254583597, 0.7387075424, -0.0172015298, 0.2090435922, 0.393522203, 0.0559126697, 0.7049161196, 0.504946053, 0.4247470498, -0.1994745284, 0.6592442393, 0.3272175491, 0.2634389997, 0.4961342514, -0.0708571896, -0.1073468179, -0.5053956509, -0.7477920055, -0.2597275972, -0.7561860681, -0.0276687015, -0.8594462276, -0.155666098, -0.2925451398, -0.1973484904, -0.1980329305, -0.1562884599, -0.1167536899, 0.0875763297, -0.2649376094, 0.5020048022, 0.1166476756, 0.2696382999, -0.6171141267, 0.4348568618, 0.0763074681, 0.0075361719, -0.0797793418, -0.4051886201, -0.4078652561, 0.1133697703, -0.2873088419, -0.9194125533, 0.5123220086, 0.03065712, 0.6202214956, 0.0778878257, 0.1218323261, 0.3599549234, -0.8367965221, 0.6440554261, 0.1036936939, -0.8295728564, 0.3993954062, -0.3963083327, 0.6157903075, 0.4065852165, 0.2746253014, -0.6636611223, -0.613420248, -0.4389612675, -0.6624258161, 0.8102959394, 0.1471974105, 0.2890489995, -0.2375406921, 0.1060562655, 0.364588201, 0.4873065948, -0.8197390437, -0.231532827, -0.3742287755, -0.2797351778, -0.3095345795, -0.0952448472, -0.2068897933, 0.0748279989, 0.2948118746, -0.1576002836, 0.2977375686, 0.2496057898, -0.5178554654, -0.0301596038, 0.5123180151, 0.9181839824, 0.5546826124, -0.2992298007, 0.5254523754, 0.127380535, -0.1033112705, 0.0311769433, 0.2432786375, -0.3090177476, 0.183163017, 0.2464730442, 0.9896754622, 0.46905756, -0.2943072021, 0.4851490557, 0.0517282858, -0.3294143975, 0.0144513361, -0.416092813, 0.399833858, 0.1159951091, 0.4802443385, 0.7513766885, 0.0971262679, -0.5171334147, 0.1231676266, 0.3338599801, -0.4966747463, -0.3218353093, 1.0409705639, 0.2014158815, -0.2617688775, 0.4147718549, -0.243274495, -0.5251127481, 0.6303041577, 0.9086008072, 0.7464157343, -0.0080702929, -0.0830024853, 0.2690916061, 0.5237024426, -0.1369407028, -0.035012953, -0.131549418, -0.5609184504, -0.5085715055, -0.3697079718, -0.2018967122, 0.0587306023, -0.4839612544, -0.0929931477, 0.1663256586, -0.3143005669, -0.1055689678, -0.4563422203, -0.8910368681, 0.032614924, 0.0727310106, 0.6777160764, -0.6966997385, 1.1102490425, 0.720811367, -0.2776252031, -0.4706988037, 0.106106326, -0.0905767456, -0.4371041656, 0.7315026522, 0.456784457, 0.0910233632, 0.0825297758, -0.0352182239, -0.5978596807, 1.2252286673, 0.5103576779, -0.3592507541, -0.1512470841, 0.1134869903, 0.3332979977, -0.6818625927, -0.0573674925, -0.0150970528, 0.3293963373, -0.2179924399, -0.9411013126, 0.2874544263, -0.1640820354, 0.0806623325, 0.1028287038, -0.5079677701, 1.183386445, 0.0383397117, -0.2416554093, -0.2782827318, 0.3211626709, -0.0116716763, 0.3840123117, 0.4546630085, 0.3792573214, 0.5812520385, 0.0054704123, 1.2845977545, -0.669509232, 0.0937185064, 1.2430909872, -0.2275411934, 0.8918050528, 0.6872723699, 0.4287454486, 0.1136710271, 0.5527224541, 0.2350663245, 0.8149623275, -0.1211469993, -0.1403190792, -0.1766238809, -0.213836357, -0.332516104, 0.2353526503, 0.1631488055, -0.4335344434, -0.272382617, 0.4394409359, -0.0874710828, -0.1550532132, -0.2174937278, 0.5635206103, 0.3550956547, -0.9253988862, 0.6045780778, 0.3765238822, 0.7699535489, -0.4354520738, 0.3369062245, -0.1104234159, 0.1211570725, 0.1654441059, -0.2848695517, 0.5626271963, -0.0876318663, -0.3935718834, -0.6025264859, 0.7187853456, -0.6877273917, -0.3405839205, 0.3059004247, 0.9320289493, -0.1417291909, -0.2836218774, -0.4904791415, -0.1998903751, -0.4132557213, -0.1750345528, 0.5503202677, 0.6130176783, 0.0254463293, 0.3257135749, 0.5907326937, -0.3083801866, 0.2438680679, -0.0457381643, 0.4772796035, -0.3926392794, -0.3871610463, -0.7463579774, 0.498390317, 0.0103898961, -0.3793444037, 0.7942865491, 0.5313669443, 0.8253538013, -0.3704486787, 0.7017583847, -0.0821133405, 0.0411427617, -0.4670675993, 0.6080178618, -0.6640579104, 0.0113516767, 0.1133862659, -0.7129203081, -0.0511419401, 0.1485610008, -0.1408697516, -0.2028143555, 1.1563231945, 0.5194278955, -0.3387864232, -0.2005728185, 0.427731812, -0.0781677216, -0.2128055245, 0.8914496303, 0.6895714998, -0.5489634871, 0.711628139, -0.1657083929, 0.155182153, -0.0771867633, -0.8279771805, -0.8830269575, -0.8337224126, -0.1471352577, -0.1809034944, 0.1972194165, 0.6146669984, 0.9099004269, -0.6496560574, -0.0639263391, -0.2174679488, 0.0297532603, -0.7499884963, -0.1109529808, 0.3347463906, -0.6983907223, -0.923148632, 0.7393977046, 0.1204430312, -0.2468430847, 0.0463052876, -0.2068019658, -0.2312908173, -0.0542154759, 0.6311652064, -0.261549294, -0.8648046851, -0.1897943169, 0.0913882107, -0.6514283419, 0.2343681455, 0.7663542032, -0.4562774599, 0.1878347099, 0.24382779, 0.7651228905, 0.5809948444, -0.1864312589, 0.6669757962, -1.0871126652, 0.049965702, -0.2784121037, 0.5395966172, 0.4191334546, -0.3734079897, 0.4623958468, 0.1613909453, -0.3048663437, -0.5752866864, 0.0866288766, -0.930238843, -0.5962795019, 0.9986850023, -0.1662930846, -0.1784091592, -0.0503235273, -0.1548487693, 0.5117815733, -0.2316461504, 0.5141413808, 0.7742263675, 0.242496267, -0.1950510889, -1.1253612041, 0.1947059184, 0.49064821, -0.5245358944, -0.0958570167, 0.395430088, 0.2546584904, 0.293569684, 0.3772283494, 0.1913279593, 0.2164516449, 0.1540037096, -0.20353432, -0.5205860734, -0.2784661353, -0.361081481, 0.6162013412, -0.1051064208, -0.3466059864 ]
http://arxiv.org/abs/2407.03061v1
http://arxiv.org/pdf/2407.03061v1
ALTER: Augmentation for Large-Table-Based Reasoning
2024-07-03T12:34:45
2024-07-03T12:34:45
Han Zhang, Yuheng Ma, Hanfang Yang
cs.CL
cs.CL
While extensive research has explored the use of large language models (LLMs) for table-based reasoning, most approaches struggle with scalability when applied to large tables. To maintain the superior comprehension abilities of LLMs in these scenarios, we introduce ALTER(Augmentation for Large-Table-Based Reasoning)-a framework designed to harness the latent augmentation potential in both free-form natural language (NL) questions, via the query augmentor, and semi-structured tabular data, through the table augmentor. By utilizing only a small subset of relevant data from the table and supplementing it with pre-augmented schema, semantic, and literal information, ALTER achieves outstanding performance on table-based reasoning benchmarks. We also provide a detailed analysis of large-table scenarios, comparing different methods and various partitioning principles. In these scenarios, our method outperforms all other approaches and exhibits robustness and efficiency against perturbations.
[ -0.3542472422, -1.2564958334, 0.6038104296, 0.1180287674, -0.2040271759, 0.1079939306, -0.1774283946, -0.6432365775, 0.2431063652, 0.8238037229, -0.4792116582, -0.1389887631, -0.1731830388, 0.0934288576, -0.3433663249, 0.7781712413, -0.0397427455, 0.0043025818, -0.3625265658, -0.210385263, -0.5090554357, -0.337181896, -0.3809392154, -0.2418617308, 0.6905447245, 0.6770553589, 1.0896730423, 0.7041981816, 0.5851914287, 0.2877339423, -0.1820133775, 0.3840577602, -0.3567830026, 0.3989236653, -0.4373240769, -0.7411081195, -0.5523767471, -0.3791458011, 0.781340003, 1.0021185875, 0.0530150235, -0.1574147493, -0.2613951862, 0.7209995985, -0.6288222671, 0.1675475389, -1.1447241306, -0.0117106782, -0.2125004679, -0.0335714631, -0.5269310474, -0.2429467291, -0.0512296967, -0.6921954751, -0.0113696838, 0.2725997269, 0.4547843337, 0.4849360883, -0.3556222022, 0.2327405363, -0.8913815618, 0.4391700625, -0.6627668142, 0.7987356782, 0.1646902412, 0.3577851653, -0.444414109, -0.8905228376, -0.9403195381, -0.441601634, -0.4025075138, -0.2454982251, -0.0822278708, 0.2216893733, 0.7538083792, 0.7186991572, -0.5761636496, 0.1772317439, -0.1553935111, -0.1879515946, 0.5037183166, 0.2757848501, 0.399127841, 0.0537944175, 0.0897486582, -0.1223909408, -0.9594656229, -0.1421887875, 0.0875782669, 0.3207941055, 0.36977911, 1.0261765718, -0.4140669405, 1.2285860777, 0.0615741201, 0.0630921349, 0.0884821266, -0.4036126137, -0.3479392529, 0.0436274968, 0.2721605301, 0.2497039437, -0.4241654277, -0.2906583548, -0.2685450315, 0.1611178815, 0.0330044962, -0.7020556927, -0.1945481449, 0.2391782999, -0.0466114692, -0.0310671944, -0.0482626148, -0.7616377473, -0.6087909937, -0.5291956663, 0.7208116055, -0.3622111082, 0.2039380372, -0.0709056109, -0.0060837199, 0.4242122173, 0.6928396821, -0.8852678537, 0.1632665396, 0.7648627758, 0.5406048298, -0.3679172993, -0.212417677, -0.7616026402, 0.4798924029, -0.5938765407, 0.7742913365, -0.8691462874, -0.344032228, -0.085000284, 0.1259683222, 0.3117049336, -0.6218019128, 0.7577373981, -0.6719402671, 0.1699008942, -0.5068247914, -0.4835934937, -0.0311811678, 0.4117216468, -0.9652747512, 0.8829960227, 0.2483718991, -0.5838195086, 0.5487490296, -0.9648411274, -0.604532361, 0.0629544184, 0.0737611279, -0.2917681336, 0.1627350897, 0.6240593195, -0.0479953624, -0.2586304545, 0.1022536531, -0.2688445747, -0.2221428752, 0.4464577734, -0.5002082586, 0.4810169637, -0.0112531409, 0.0056843273, 0.4668033421, -0.9083464742, -0.0607188456, -0.0497505404, -0.3423570991, -0.2001286447, 0.0304814931, -0.2150575966, 0.0979450494, 0.1865014285, -0.6309292912, 0.5288844705, -0.8130975366, 0.4747665524, 0.4857852161, 0.2772677541, 0.8384439945, -0.2705332041, 0.2030424178, 0.0600878187, 0.0846599415, -0.1404438764, 0.0094676577, -0.8940669298, -0.0532912016, 0.4335465133, 0.5063900352, -1.2500460148, 0.3239865601, -0.2315551639, -0.4675071239, -0.3873652816, -0.157211408, -0.0723987296, 0.7524547577, 0.7789050937, 0.1658904999, -0.6796876192, -0.9392179847, -0.56346488, -0.0924525857, -0.1070387736, 0.0953066871, 0.3626012206, -0.358355701, 0.8915432692, -0.5465828776, 0.0139086721, -0.2928587496, -0.0539780296, 0.2615641952, 0.5037298203, 0.1274799556, -0.650791347, -0.3525865972, 0.0909723639, -0.2748641968, -0.2036113888, -0.3824534118, -0.2993229926, 0.2865801752, 0.6024920344, -0.6721251011, 0.5462360382, 0.0307225026, -0.3005852699, 0.7029854059, -0.1327945292, 0.1361032873, -0.7220479846, -0.2270614654, -0.4164428413, -0.0866272673, -0.6565592289, 0.1299215108, 0.1053794473, -0.0401511155, -0.2136740386, 0.6096758246, -0.5797495842, -0.2506734133, -0.1064611003, -0.2002815902, 0.2568938136, 0.1362903565, -0.0675490648, 1.1207877398, 0.1878687888, -0.4779394567, 0.3932317793, 0.5209084749, -0.3558566272, 0.6491172314, -0.6968061328, 0.1842233986, -0.096843265, 0.4223099947, -0.935616076, -0.4080412388, 0.2246734202, -0.1546123028, 0.3586824834, 0.017286608, -0.4691859186, -0.3991505802, -0.2158275843, 0.0886662826, 0.1045714617, -0.8812627196, 0.9665184617, 0.2522468865, -0.1364462972, -0.7517629266, -0.9130576849, 0.3809340298, -0.1180412322, -0.6795407534, 0.8545462489, -0.1518891603, -0.6241518259, -0.0529310405, -0.273812443, -0.0588031933, -0.2485453337, 0.1178955883, 0.3352843821, -0.1741314083, 0.2852630913, 0.4500705898, -0.083500348, -0.0433044173, -0.2390847355, 0.4969009161, -0.1588106751, -0.4483085871, -0.1111468896, 0.1780706495, 0.5453469157, -0.4737630486, 0.8407796025, 0.3557069302, -0.3861072958, -0.2048108727, -0.8104326725, -0.3834716082, -0.4798178971, 0.5018460155, -0.5124050975, -1.1263170242, 0.7060945034, 0.1396924853, 0.2945533693, 0.546105504, 0.4925635457, 0.145300135, 0.7755061388, -0.0137721151, 0.1525311172, 0.4765145779, 0.0128870727, 0.1601160318, -0.8528379798, -0.1675824076, -0.6736726165, -0.2800069451, -0.359205842, -0.7773302197, 0.4311382174, -0.2523118556, -0.3811798096, 0.054364875, -0.4508724511, 0.6351715326, 0.308152467, 0.2571617365, 0.5220655799, -0.0290944036, 0.1858249605, -0.1081493646, -0.351002425, -0.1266303957, 0.9236407876, 0.1278951019, 0.8501262665, 0.2146354318, 0.2830525041, 0.2533855736, 0.2921281159, -0.7653718591, 0.6834898591, 0.1768490076, -0.7716594934, -0.7217962146, -0.5899757147, -0.8630987406, 0.4684146643, -0.4713139236, -0.6948311329, 0.2048508823, 0.1160789654, -0.0435422882, 0.3707704544, -0.7147869468, 0.689237237, -0.3906628191, -0.8081441522, -0.0692158192, -0.6365351081, 0.2583829761, -0.1149410456, -0.0716968179, 0.240669474, -0.3182690442, 0.4732105732, -0.9002890587, 0.4039415717, -0.3150751889, 0.0249266382, 0.3053894639, 0.2619183362, 0.8255810142, 0.337546587, -0.3353111744, -0.1492283791, -0.1004200056, -0.1568821818, -1.1358853579, 0.6142371893, -0.4259210825, -0.9174072742, -0.2215780467, -0.9527910352, -0.785658896, 0.1188296378, -0.1491825432, 0.3138955534, -0.1325022131, 0.4720077217, 0.5273058414, -0.2756801546, 0.3522679508, 0.4780716598, -0.3899518549, -0.5531361103, 0.5172675848, 0.3247489631, 0.2542627156, 0.7527331114, 0.2343522608, -0.8397316933, -0.6911552548, -0.5617921948, 0.0257872716, -0.5799372792, -0.2126677334, -0.5974600911, -0.0760876089, -0.1661994457, -0.1521180272, -0.0296022762, -0.7679484487, -0.1069069207, -0.4187996984, 0.4633574784, 0.2387283295, -0.1554128081, 0.3834175467, -0.7367514968, 0.3039024174, 0.5603418946, 0.3790128827, -0.160700351, -0.7446795702, 0.1851312518, -0.0411590673, 0.0200761072, -1.1455262899, 0.164506197, 0.1458426714, 0.6173816323, 0.2214739323, 0.0681499839, 0.8088496327, -0.4333510697, 0.6943746805, 0.0676603243, -0.9907236099, 0.4663166702, -0.3985754251, 0.2839597166, 0.8578538895, 0.0215564519, -0.3122614324, 0.0126206409, -0.4933353961, -0.9626268744, 0.4811951518, -0.0517869778, 0.0295844413, 0.3250361979, 0.5580068231, 0.2597743869, 0.1222811565, -0.9300782084, 0.0715095252, 0.0672427937, 0.1628054231, 0.18860659, -0.3716761768, 0.1393392086, -0.7425861359, 0.7138707042, -0.0352410898, 0.1643465012, 0.1842780709, -0.3188517392, -0.1380985379, 0.5689706206, 0.5065135956, 1.0315382481, -0.0705201551, 0.1362698972, 0.6884357333, -0.2306830138, 0.0104536666, 0.316305548, -0.2902765274, -0.1097091287, 0.1833403111, 0.9140495062, 0.0753429085, -0.4992402792, 0.0352478884, 0.1052314788, -0.1084986702, 0.0211343355, 0.141416356, 0.1021352857, 0.2038703561, 0.3612939417, -0.2729403675, 0.1798899025, -0.6148071289, 0.3197244108, 0.4741508365, -0.3226437569, -0.0078396397, 0.6072018147, -0.1246948987, -0.3730687499, 0.5404030681, -0.1809578985, -0.378734529, 0.2435783446, 0.7329357266, 0.3290068507, -0.3970572948, 0.1167171374, 0.3096709847, 0.5045075417, 0.153965801, 0.411698401, 0.0306307171, -0.7374044061, -0.8868415356, -0.5890823603, -0.6885074973, 0.3089508712, -0.2831657231, 0.0915870294, -0.3956701458, 0.1871328503, 0.3333997726, -0.1093021184, -0.3384679258, 0.1816290766, -0.3577052653, 0.9177733064, -0.6175112724, 0.5278404951, 0.8062013388, -0.4574689567, -1.039075017, -0.1064782664, -0.3791390657, -0.570874989, 0.1415682435, -0.1817595959, 0.3337467015, -0.1507959217, -0.6994616985, -0.7049645782, 0.6910035014, 0.4744133949, -0.6728926897, -0.0073791631, 0.595937252, 0.5588094592, -0.1027028188, 0.2865018249, 0.9160273671, 0.9572600126, 0.4721233547, -0.6487063169, 0.0618522428, 0.118293345, -0.1465583593, 0.554510951, -0.0360110402, 0.6830181479, -0.1432332397, 0.2451675981, -0.2079402506, 0.9430034161, 0.1234148666, 0.3361557722, 0.6930841208, 0.8097823262, 0.8818668723, -0.4786718786, 0.8130557537, 0.0284169372, -0.1955429763, 1.2995202541, -0.326462388, 0.7860774994, 0.5615156889, -0.4733514786, 0.5016893148, 0.5093548298, 0.0495226867, 0.1225930005, 0.2286508828, -0.2943964601, -0.175570786, -0.0386661068, -0.4679424167, 0.6807794571, 0.8013978601, -0.1200334802, -0.2302760184, -0.0633716062, 0.0382178351, 0.0148185641, -0.6449379921, 0.9503733516, -0.2718513012, -0.6817318201, 0.4340288043, -0.0483879708, 0.1001897603, -0.3439756036, -0.246354714, -0.1300868392, -0.0932091773, -0.4610048532, -0.8631433845, 0.7362194061, -0.3396857977, -0.0411900803, 0.0154956523, 0.9766258597, -0.3925429583, -0.501783967, -0.2512822449, 0.7196158171, -0.1811399907, -0.3208478391, -0.5905804634, 0.1183066666, 0.0478443205, -0.1008668616, 0.2370047271, 0.5131415129, -0.2264406532, 0.3301748037, 1.004229188, 0.0930739343, -0.0991555899, 0.1351127177, 1.2108449936, -0.6025500298, -0.532268405, -0.8307616711, 0.6032671332, -0.3576799631, 0.0967184231, 0.5110983849, 0.781837523, 0.4276145101, -0.0850935429, 0.4892085493, -0.0193561744, 0.5764452219, -0.5522075295, 0.4885491729, -0.541572988, 0.343506664, -0.3936564028, -1.3845719099, -0.662201941, 0.5308635831, -0.8497670293, -0.1961456239, 0.5736875534, 0.9865439534, 0.1485488564, 0.2800199091, 0.2628884912, 0.5245632529, 0.368732959, 0.2209409028, 1.0829833746, -0.0485552922, 0.4608886838, -0.0033866321, -0.2407287657, -0.1264157742, -0.7989694476, -0.6139392853, -0.4999726117, -0.0676728413, -0.4329428077, 0.1119013503, 0.8923894763, 0.2311500609, -0.6918649077, 0.2366826385, -0.2510311007, 0.3667918742, 0.0365408249, -0.2742823362, 0.4585346878, -0.1764230281, -0.5461868644, 0.6877362728, 0.4583868086, -0.1790543497, -0.2397322506, 0.3097409606, -0.2006496936, 0.0749548972, 0.8311218023, 0.3274026811, -0.6243876815, -0.5863649845, 0.002619195, 0.3064582348, 0.3710223734, 0.6886292696, -0.7924403548, 0.4369380772, 0.7322954535, 1.1042058468, 0.6489792466, 0.3094340861, 0.3097299933, -0.587300241, 0.1759593636, 0.5186800957, 0.4750979543, 0.4188381433, -0.332444042, 0.5856941342, -0.0732554346, -0.6698654294, -0.9531821609, 0.3908790648, -1.2144100666, -0.2819333673, 1.1680586338, 0.4514518678, -0.3615604639, -0.242211476, -0.4531045854, 0.0915592909, -0.2753307223, 0.663433671, 0.4669815302, -0.3336440325, -0.4449177086, -0.2360599637, 0.4187526405, 0.4846512675, -1.2767535448, 0.1633504182, 1.1110595465, -0.0969940349, 0.1623183489, 0.3174952269, -0.3248123825, 0.1291464418, 0.0059282961, -0.0832040757, -0.2431504428, -0.2653707266, -0.0789769366, 0.3623148203, 0.2416712642, 0.2700198889 ]
http://arxiv.org/abs/2407.03051v1
http://arxiv.org/pdf/2407.03051v1
Improving Conversational Abilities of Quantized Large Language Models via Direct Preference Alignment
2024-07-03T12:19:06
2024-07-03T12:19:06
Janghwan Lee, Seongmin Park, Sukjin Hong, Minsoo Kim, Du-Seong Chang, Jungwook Choi
cs.CL
cs.CL
The rapid advancement of large language models (LLMs) has facilitated their transformation into conversational chatbots that can grasp contextual nuances and generate pertinent sentences, closely mirroring human values through advanced techniques such as instruction tuning and reinforcement learning from human feedback (RLHF). However, the computational efficiency required for LLMs, achieved through techniques like post-training quantization (PTQ), presents challenges such as token-flipping that can impair chatbot performance. In response, we propose a novel preference alignment approach, quantization-aware direct preference optimization (QDPO), that aligns quantized LLMs with their full-precision counterparts, improving conversational abilities. Evaluated on two instruction-tuned LLMs in various languages, QDPO demonstrated superior performance in improving conversational abilities compared to established PTQ and knowledge-distillation fine-tuning techniques, marking a significant step forward in the development of efficient and effective conversational LLMs.
[ 0.0589477383, -0.762619555, 0.562135756, 0.0102833873, -0.3815466166, 0.3413342237, -0.5507273674, 0.0685457289, -0.0207272414, 0.6240658164, -0.3269482851, -0.4759513736, -0.5775816441, -0.1803781688, 0.0249249768, 0.9205015898, 0.3015965223, 0.0675927028, -0.3193030059, 0.0450200886, -0.5002233982, -0.6161201, -0.8210651278, -0.0745862871, 0.3975074291, 0.4569275379, 1.160543561, 0.7353854179, 0.4539666772, 0.3621402383, -0.0101019042, 0.2531964779, -0.5283248425, 0.1161983311, 0.0970140398, -0.6071285605, -0.984649539, -0.2220123857, 0.6050074697, 0.6588082314, -0.3314606249, -0.1406313628, 0.1307578683, 0.8636998534, -0.5512858033, 0.1687093973, -0.8232559562, -0.005285901, 0.0598382615, -0.4113145471, -0.4280683696, -0.7013888955, 0.3731268346, -0.8302149177, -0.084064655, -0.1287236959, 0.7183258533, 0.558643043, -0.6016474962, 0.0961848348, -0.5697816014, 0.8873439431, -0.7384480834, 0.4922628105, 0.2790861428, 0.1867109984, -0.1884497255, -0.2284343988, -0.4513584673, -0.0660263151, 0.2362248302, -0.0909641385, -0.1637401283, 0.4799769819, 0.1834847778, 0.2652098835, -0.5548911691, 0.3124324083, 0.1782214791, -0.1738390774, 0.5502200723, 0.1483632177, 0.0026127265, 0.0678744614, -0.0696056709, -0.3518359661, -0.6065403819, 0.3028741777, 0.4626793265, 0.342312783, -0.0903026685, 0.5482352376, -0.4709081948, 0.8073955178, 0.5058196187, -0.158853665, 0.1897184253, -0.2745329142, -0.2375081033, 0.1394594908, 0.8491413593, 0.434345752, 0.4572221339, -0.1205802113, 0.0565792806, -0.15672867, 0.1558376253, -0.9619378448, -0.2972024977, 0.4164678454, -0.0704524592, -0.4843519628, -0.2718620896, -0.4753561318, -0.4619386196, -0.4844848514, 0.3872814476, -0.4335620105, -0.2482174486, 0.344368577, 0.036818482, 0.1645337194, 0.4396495223, -1.2096041441, -0.0631491318, 1.0682570934, 0.5537112355, -0.0147300651, 0.143524155, -0.7071751952, 0.2067976296, -0.3857988715, 0.5362061858, -0.7307148576, -0.4800047576, -0.0067049684, -0.282502681, 0.1539877206, -0.5144132972, 0.5422765017, -0.6317825317, 0.1814457625, -0.0359526239, -0.4941634536, 0.2182558924, 0.185031414, -0.2867898941, 0.6617124081, -0.0858108178, -0.5571000576, 0.2533318996, -0.3780571222, -0.2507836521, -0.0591023751, -0.0706375912, -0.4214522839, 0.1226952374, 0.3030767441, 0.4268765748, -0.1218987182, 0.6147139072, -0.3296533227, -0.3140393496, 0.6127231717, -0.546523869, 0.5350664258, -0.2124962658, -0.2036703229, 0.6655758619, -0.6219105124, 0.3045577407, -0.0592605434, -0.2907187939, -0.3418519497, 0.1182497814, -0.5314277411, -0.0285681058, 0.6828702092, -0.2327928841, 0.514103353, -0.6992625594, 0.59875983, 1.0440223217, -0.3746791184, 0.9275848269, -0.0574155487, 0.4372909069, -0.0443696342, 0.370196104, 0.0150862318, -0.1876994967, -0.9238965511, -0.3519198895, 0.4999289215, 0.4500537217, -0.7167770863, 0.8801097274, -0.7633847594, -0.2466901541, -0.6438564658, 0.0449913032, 0.4891548753, 0.4805246294, 0.0155291473, -0.2586415708, -0.4019369185, -1.0634697676, -0.1198108643, -0.1736847013, -0.1231263354, 0.4008491635, -0.2548326254, -0.0902648121, 1.0180927515, -0.5882815719, 0.0988534987, 0.1769954562, -0.0906603634, 0.1997289658, 0.4797456563, 0.0275705885, -0.776256144, -0.7298449874, 0.1966727525, -0.3068107963, -0.0735420659, 0.2294190675, -0.5645651817, 0.3637866378, 0.1847630143, -0.5760347247, 0.1000273153, 0.6386732459, -0.1974384934, 0.31096223, -0.1408253014, 0.2083896697, -0.9910191894, -0.157063365, -0.2202136368, -0.2639058828, -0.591519773, -0.4110762179, 0.2382753938, -0.2116960883, -0.2456026673, 0.5439190865, -0.1496013701, 0.0972372517, -0.3019978702, 0.1969962865, 0.0252606608, 0.5935447812, 0.3165849745, 0.9296328425, 0.5578536987, -0.5858044028, 0.1735758632, 0.3544694185, -0.0383052565, 0.6576655507, -0.6305363774, 0.4352009594, 0.0770769119, 0.2103951722, -1.0320310593, -0.0666808262, 0.1312337071, -0.464925617, 0.4215483367, -0.2854007185, -0.2780976892, 0.0088118762, -0.3104939759, 0.5803925395, 0.6189469099, -0.3682545125, 0.4362466037, 0.2292083651, -0.2210849077, -0.7494857311, 0.1345983595, -0.0550499484, -0.3573323488, -0.5858326554, 0.3861602545, -0.0590969324, -0.1728668362, -0.5356578827, -0.1473717839, 0.0801312998, 0.1327116638, 0.1948218942, 0.3612392545, 0.006502552, 0.2204601616, 0.1362087429, -0.2722392082, -0.2265126258, -0.3207415938, 0.9108214974, -0.0592986904, 0.0163622703, -0.6121573448, -0.0350155495, 0.3897411525, -0.3203475475, 0.5109139681, 0.2478091866, 0.1527906656, 0.1653741896, -0.54753232, -0.288082242, -0.5309473872, 0.4628204107, -0.4910411239, -1.1818392277, 0.0210815147, -0.0908643827, -0.0284667015, -0.010637844, 0.3915886283, -0.1111715958, 1.4006575346, 0.6068120599, -0.1551042646, 0.7966122627, 0.0538631007, 0.4262913465, -0.8203646541, 0.1269259602, -0.4108225107, -0.2158729434, -0.7152516246, -0.475099355, 0.4367425144, 0.2325481474, -0.5481938124, 0.3061003089, -0.4831501245, 0.3672362566, 0.6748350859, 0.2844991982, 0.2894929945, -0.0336726941, 0.3316767514, -0.1561101079, -0.556322515, -0.5798239708, 1.4107179642, 0.2453312278, 0.4800478518, 0.0457171611, 0.6499666572, -0.0213530026, -0.0491304323, -0.9655441046, 0.5725099444, -0.2165123671, -0.14096421, -0.6268803477, -0.5605807304, -0.8541075587, 0.1991352737, -0.2447950244, -0.6247875094, -0.0554438978, 0.3205746412, -0.5033435225, -0.1393930316, -0.7412819266, 0.9628767967, -0.5615407228, -0.4178238511, -0.4902182817, -0.572059691, 0.2838883698, 0.0198564008, -0.0524603911, -0.3848550022, -0.162441358, 0.5069023967, -0.2198373079, 0.7848392129, -0.1502620131, -0.567895174, -0.141683951, 0.1202968955, 0.5067425966, 0.0459237359, -0.063236028, 0.2595374286, 0.0492592156, -0.4732946754, -0.8722869158, 0.5403053761, -0.9076468349, -0.9423992038, -0.0471599661, -0.6112149358, -0.6007298231, -0.0865066946, -0.1088836268, 0.2338183671, -0.3424277902, 0.1695553064, 0.8026593328, -0.2926742136, 0.2563827038, 0.6008033156, -0.0982192531, -0.7356714606, 0.8824566007, -0.2377385199, 0.4787610471, 0.9094913602, 0.2846010327, -0.3487985432, -0.445209235, -0.36366117, 0.1402370483, -0.2024854869, -0.2999739051, -0.559530139, 0.0320248939, -0.6273012757, -0.1760641336, -0.417436868, -0.5742233396, -0.3214083016, 0.0795961469, 0.3214495182, -0.1396162659, 0.1698054373, 0.5333055854, -0.8583695292, 0.1840033531, 0.6570233703, 0.3084400594, -0.1538493782, -0.7523775697, -0.1795986891, 0.4911717772, -0.4119152427, -0.4441569149, 0.3193254769, 0.1550001502, 0.1481932253, 0.7192328572, 0.0716493502, 0.9394634366, -0.5042362809, 0.4325211346, 0.2536400259, -1.1811876297, 0.7216975689, -0.5240819454, 0.2088621259, 0.5521872044, 0.2621715367, -0.5527356267, 0.0960558951, -0.4404525161, -0.6988299489, 0.6727862954, 0.0966725349, 0.4764587283, 0.0218810569, 0.2418284565, 0.0212588329, 0.5275206566, -0.461486876, 0.0576665625, -0.0590594001, -0.3440132737, -0.1917358041, -0.3611991704, -0.2914059162, -0.2466482222, 0.6714616418, -0.4855836332, 0.1826250702, -0.2903083861, 0.207092151, -0.1030424163, 0.3378793001, 0.5070900917, 0.5247890949, -0.2954690158, -0.1033320427, -0.2064827085, -0.0366906412, 0.229893595, 0.0069745835, 0.0528365597, -0.5528556705, -0.1426088363, 0.9525043368, 0.4622871876, -0.9075543284, 0.6506950259, -0.1144315898, 0.0622912161, -0.0647862554, 0.3855787516, 0.031255465, 0.3737047613, 0.1751196533, -0.324991852, 0.0517150685, -0.4867918193, -0.1179312989, 0.931661725, -0.3616710305, -0.2692828178, 0.4559654593, 0.5029217005, -0.576481998, 0.6056892872, 0.0502936132, -0.4711280465, 0.4926883578, 0.4565604925, 0.9028186202, -0.1768538207, 0.2903550863, 0.2760145068, -0.3163339198, 0.0154330153, -0.1109591797, -0.5519294739, -1.0997011662, -0.4308202565, -0.5777749419, -0.5760224462, -0.3184639513, -0.6325570345, 0.3153427243, -0.3396244645, -0.3302755654, -0.1043139398, 0.0216776505, -0.3603172302, -0.0210020617, 0.1252957731, 0.248038739, -0.3142301142, 1.0465897322, 0.490016222, 0.0298244581, -0.5704711676, -0.0532279983, -0.431753099, -0.9963616133, 0.7380982637, -0.0352616459, 0.0242139213, 0.3786284924, -0.5113987327, -0.934946537, 1.0378143787, 0.4865311086, -1.0591202974, -0.0604577102, 0.3231680691, 0.5124841332, -0.0772659332, 0.3712799549, 0.6865057945, 0.2221149057, 0.0833238438, -1.2250996828, -0.1183802783, -0.0526502319, 0.1772717685, 0.5824948549, -0.9277824759, 0.3311340809, -0.0527094826, -0.158070296, 0.1070910171, 0.6685378551, 0.3524164855, 0.0076325545, 0.4608371258, 0.6903884411, 0.8054314852, -0.2443081141, 0.7242161632, -0.4476083219, -0.0448079184, 1.0486725569, -0.5088025928, 0.9644665122, 0.571934402, -0.4118068814, 0.1780664325, 0.490940541, 0.429882288, 0.5687957406, 0.1249343306, -0.3983075917, -0.4869215488, -0.0403115042, -0.2028536946, 0.6146015525, 0.2415862679, -0.0872547552, 0.3300510645, -0.1268565655, -0.0212336015, 0.136849761, -0.2060204446, 1.0843561888, -0.1600975841, -0.7806201577, 0.922085464, -0.1527936161, 0.9580927491, -0.4862677157, 0.0526122004, -0.2364652455, 0.1316055804, 0.0312915593, -0.5451852679, -0.0642576888, -0.1565071493, -0.1792408675, -0.2869178653, 0.2517859638, -0.5446118712, -0.1463910043, -0.1171598434, 0.3386354446, -0.1125627086, -0.3625442386, -0.504861474, -0.0083046863, 0.249293074, 0.057093747, 0.6317536831, 0.5291326046, -0.0778407007, 0.5969590545, 0.6603341103, -0.1195583716, -0.1669472903, 0.064325504, 0.6691017747, -0.6630574465, -0.2927816212, -0.9097443819, 0.4373884201, -0.1223088875, -0.3096758425, 0.629237473, 0.6672084332, 0.7514505982, 0.0209585428, 0.6081342101, 0.2734051347, 0.2325578928, -0.6254668236, 0.370917201, -0.1836002916, 0.1296457797, -0.1438820511, -1.0202592611, -0.103980951, 0.6031268239, -0.6252993941, -0.1983430982, 0.3178817332, 0.9134706855, 0.2591497004, -0.260982722, 0.557723105, 0.0113136722, 0.4286529124, 0.7358017564, 0.8890278339, -0.2892388403, 0.5156053901, -0.3658408821, -0.2530355155, -0.2645835876, -0.8160071969, -0.8231812716, -0.5607982874, -0.5727751255, -0.231891036, 0.1561211795, 0.9175785184, 0.7518206239, -0.5732480288, -0.3138751388, -0.1657148004, 0.0586929619, 0.0413695425, -0.3013294339, 0.3659006655, -0.3915260732, -1.1644817591, 0.1757464558, 0.4752447307, 0.2215624899, 0.0273672696, -0.1581474543, 0.2883580029, 0.0416411236, 0.7638878822, 0.1321455687, -0.7710738182, -0.2399976104, 0.1622394323, -0.2805134952, 0.3852966428, 0.8301807642, -0.6801372766, 0.4826177657, 0.3276489377, 0.6447167993, 0.2243959755, 0.3784903884, 0.8064964414, -0.6728951335, 0.2497064471, 0.3456898034, 0.0235108566, 0.293689847, -0.437189728, 0.2838219106, -0.1898397654, -0.807867825, -0.7917758226, 0.1881640404, -1.2111030817, -0.1172786579, 1.218421936, 0.144794777, -0.0822879374, 0.3142802715, -0.6056975126, 0.4071266651, -0.7376738191, 0.9813644886, 0.4716724157, -0.183995977, -0.1602239907, -0.078209579, 0.7364903092, 0.7409639955, -0.6864272952, 0.2681736052, 0.6382856965, 0.0874219835, -0.1787182093, 0.765594542, -0.0631559715, 0.1274242997, -0.5156890154, 0.2792966068, 0.1338418722, -0.0670955107, -0.5289776325, -0.1607569605, 0.3708342016, -0.2790974379 ]
http://arxiv.org/abs/2407.03045v1
http://arxiv.org/pdf/2407.03045v1
JailbreakHunter: A Visual Analytics Approach for Jailbreak Prompts Discovery from Large-Scale Human-LLM Conversational Datasets
2024-07-03T12:10:41
2024-07-03T12:10:41
Zhihua Jin, Shiyi Liu, Haotian Li, Xun Zhao, Huamin Qu
cs.HC
cs.HC, cs.CL, cs.LG
Large Language Models (LLMs) have gained significant attention but also raised concerns due to the risk of misuse. Jailbreak prompts, a popular type of adversarial attack towards LLMs, have appeared and constantly evolved to breach the safety protocols of LLMs. To address this issue, LLMs are regularly updated with safety patches based on reported jailbreak prompts. However, malicious users often keep their successful jailbreak prompts private to exploit LLMs. To uncover these private jailbreak prompts, extensive analysis of large-scale conversational datasets is necessary to identify prompts that still manage to bypass the system's defenses. This task is highly challenging due to the immense volume of conversation data, diverse characteristics of jailbreak prompts, and their presence in complex multi-turn conversations. To tackle these challenges, we introduce JailbreakHunter, a visual analytics approach for identifying jailbreak prompts in large-scale human-LLM conversational datasets. We have designed a workflow with three analysis levels: group-level, conversation-level, and turn-level. Group-level analysis enables users to grasp the distribution of conversations and identify suspicious conversations using multiple criteria, such as similarity with reported jailbreak prompts in previous research and attack success rates. Conversation-level analysis facilitates the understanding of the progress of conversations and helps discover jailbreak prompts within their conversation contexts. Turn-level analysis allows users to explore the semantic similarity and token overlap between a singleturn prompt and the reported jailbreak prompts, aiding in the identification of new jailbreak strategies. The effectiveness and usability of the system were verified through multiple case studies and expert interviews.
[ -0.2650904953, -1.0520080328, 0.5310864449, 0.4359449446, -0.1099863499, 0.5203589201, -0.1271009296, -0.1989150047, 0.4791678488, 0.7193830609, -0.8264228702, -0.917288661, -0.5302320719, -0.0415523574, -0.3511671424, 0.7409271002, 0.1242579594, -0.193311736, -0.125413999, -0.0610874221, -1.0841845274, -0.5311697125, -0.5119022727, 0.2671361268, 0.5160149336, 0.6466789842, 0.3872374594, 0.426758796, 0.4778428972, 0.3657953441, -0.200434804, 0.1416680515, -0.7317813635, 0.5904225707, 0.1461308897, -0.3465953171, -0.2897005975, -0.1565136462, -0.0313974693, 0.2912611663, -0.3836370409, 0.1170832366, -0.1616909504, 0.6745356917, -0.5869448185, 0.1316066235, -0.6919566393, 0.02377351, -0.5292847753, -0.2219746262, -0.4459753931, -0.3903517425, 0.1475609094, -0.2130082995, 0.1386758238, 0.110285677, 0.3939170837, 0.0678636208, -0.140806973, -0.1106301993, -0.4037507176, 0.4055691659, -0.6892853379, -0.1246567816, 0.166818887, 0.559233427, -0.6587541103, -0.3509750366, -0.2631333768, -0.3120986223, -0.09970247, -0.1833558679, -0.593311429, 0.0173750389, 0.2481927425, -0.0060511813, -0.6994223595, 0.2974270582, -0.4012027383, -0.3085788488, 0.6467390656, 0.6240494251, 0.5658627152, -0.2399055511, -0.2566435933, -0.006162493, -0.7507944703, 0.1435494572, 0.4740667045, 0.3594793677, -0.3918724954, 0.4377605915, -0.2998148799, 0.8539344072, -0.1833029985, -0.1625518352, 0.1641254574, -0.3101240098, 0.0525106974, 0.1352330148, 1.1477152109, 0.5244387984, 0.4476117194, -0.1155592352, 0.1496570557, -0.2383958101, 0.2866978943, -0.9083256721, -0.373701334, 0.3047151268, -0.411662668, -0.7404568791, 0.0711775795, -1.1815154552, -1.4013947248, 0.1732221544, -0.0402777642, -0.1951299906, -0.153397575, -0.2061077356, -0.2236911952, 0.1399885416, 0.3157837987, -0.6623284817, 0.0600571111, 0.6059463024, 1.0164650679, -0.2806061804, -0.2539646626, -0.766677618, -0.1014491394, -0.2536940575, 0.7222046256, -0.4755541682, -0.4059201181, -0.0748028979, -0.0881026015, 0.0208549257, -0.6622806787, 0.2302867621, -0.4338213503, -0.2297268063, -0.1130338758, -0.2206331342, -0.1138214618, 0.4355356693, -0.6107256413, 0.5353594422, -0.2546346486, -0.8305727243, 0.279166311, -0.6321595311, -0.350802958, 0.0971955284, -0.205186829, -0.5271701217, 0.0128276544, 0.4709568024, 0.7212984562, -0.2792641521, 0.4881255925, -0.6674664021, -0.3001751602, 0.3147163689, -0.2771934569, 0.8067279458, 0.1746886224, -0.4265919924, 0.465334475, -0.6848335862, -0.3994059861, 0.3783192933, 0.0939483121, -0.3794859052, 0.2014800608, -0.2191497386, -0.1015440002, 0.0870388523, -0.6812815666, 0.4804581404, -0.1449648589, 0.4881930947, 0.6549107432, 0.3079198897, 0.0039800042, 0.2135918587, 0.7364071012, 0.2554445565, 0.2531742156, -0.5938416719, -0.531289041, -0.3322966695, -0.3366405368, -0.123824358, 1.0128314495, -0.3864096701, 0.2650403678, -0.0790099055, -0.6630026698, -0.4628481567, 0.3444810212, 0.3498884141, 0.4846946001, 0.1875047684, -0.1325066835, -0.6383939385, -0.8930899501, -0.6696249843, -0.1878441125, 0.1433094442, 0.2651854753, 0.2341789603, -0.3798389435, 0.9254160523, -0.7067012787, -0.1827964336, -0.5756277442, 0.2907774746, 0.3456031978, 0.2806718051, 0.5540991426, -0.4223210216, -0.3048600256, -0.1539541632, -0.9597484469, -0.459782064, -0.2904164791, 0.0792380497, -0.2746258974, 0.8327307701, -0.3652372062, 0.6674419045, 0.4388329089, -0.7591849566, 0.6539260745, 0.1960320622, 0.1767078936, -0.9036784172, -0.2629529238, 0.1431246698, -0.2087925673, -0.7510593534, -0.247105509, -0.102762036, -0.3583191037, -0.3115778565, 0.4425400496, -0.4376685023, -0.090810515, -0.0334613845, 0.3085136414, -0.2540086806, 0.3649850786, -0.2981345654, 0.8629276156, 0.5892089605, 0.0635526851, 0.7798438072, 0.2719153762, -0.3554157317, 0.3418405652, -0.6762532592, 0.2062734067, -0.2388274968, -0.014384008, -1.2580810785, -0.2644467056, 0.254137814, -0.4077901542, 0.016981164, -0.5357847214, -0.3790375292, -0.1696531624, -0.5154516101, -0.0100270445, 0.1103865877, -0.5721896887, 0.5494408011, 0.4945067465, -0.5457243919, -0.4015689194, -0.3062996268, 0.652173996, -0.6556526423, -1.0559846163, -0.1293708682, 0.0630978569, -0.6090174913, -0.521697104, 0.1272907257, 0.1257219613, 0.414966166, 0.6386207342, 0.6727314591, 0.1048953831, -0.5263915062, -0.2011619806, 0.0033572523, 0.4057178795, 0.1059426293, 0.5857425928, -0.24587816, 0.0313541666, -0.6038373709, 0.1923325211, 0.7665481567, -0.1638586223, 0.7271376848, 0.4441495836, 0.1452481896, -0.0824760422, -0.648644805, 0.0481689386, -0.4908437729, 0.2002042681, -0.2575942874, -0.8574799299, 0.6324426532, -0.1173475832, 0.0258559063, -0.1645405442, 0.4909718633, -0.0043538627, 1.1722204685, 0.497569859, -0.5168150067, 0.6588715911, -0.1114375815, 0.1065397486, -0.5307607055, -0.4922308028, -0.3287813365, -0.2587115765, -0.4978495538, -0.0844108388, 0.3796640337, 0.0840638205, -0.0578160509, 0.403413564, -0.2613510787, 0.5793684125, 0.3167279363, -0.0170651004, 0.360791415, -0.1592619568, 0.0368313566, -0.0300099868, -0.2677201331, -0.287630409, 0.9888138771, 0.3941788971, 1.0008429289, 0.2068947554, 0.7902546525, 0.553388238, 0.2039546967, -0.8253802657, 0.6535459757, 0.2409806252, -0.2944241762, -0.2240568846, -0.5411474705, -1.0897916555, 0.3373035491, -0.1294215918, -1.1837311983, -0.0467190184, 0.1836797446, -0.2605679333, 0.1587879211, -0.8865245581, 1.1888519526, -0.3517291844, -0.2041795999, -0.0469366536, -0.7205105424, 0.6699370742, 0.1175007299, 0.4322371185, -0.1495295912, 0.3985609114, 0.8061853647, -0.6909518838, 1.1333161592, -0.6207684278, 0.0313075073, 0.4096605182, 0.3918122053, 0.915641427, 0.2745584846, 0.374611944, 0.0277456772, -0.1712170541, -0.118482694, -0.5321215391, 0.6439893842, -0.4576449692, -0.7258549333, -0.2893585861, -0.3638752699, -0.3037657142, 0.0841849297, 0.200423032, 0.3089709878, -0.1822563857, 0.0012077722, 0.4978460968, -0.4654956758, 0.2907957435, 0.2732668221, -0.4053317904, -0.3846742511, 0.7830930948, -0.3203893006, -0.1485287845, -0.0424000993, 0.2885478437, 0.0401761644, -0.9129620194, -0.5182452202, 0.1204789802, -0.4137491882, -0.269542098, -0.380746305, 0.1197345555, -0.2381964922, -0.0166385788, -0.0774402842, -0.026347246, -0.1637760401, -0.2251119167, 0.800549686, 0.5840525627, 0.2024337798, 0.5023941994, -0.8808237314, 0.3588948548, 0.228297919, 0.0938638225, -0.0483111627, -0.2339534909, -0.0295243878, -0.2021844089, -0.248770088, -1.3002030849, 0.5014885068, -0.22534208, 0.4137349725, 0.4223684669, -0.1173294708, 0.731236577, -0.3642720878, 0.6544845104, 0.3323868811, -0.7992193103, 0.8571701646, -0.6584833264, -0.0068034781, 0.8048407435, -0.0703912824, -0.6307148933, -0.4503431618, -0.3814699352, -1.0283806324, 0.5953040123, 0.0887104943, -0.0711553171, 0.1422893703, 0.0736554638, -0.1143728346, 0.273345232, -0.4253197014, -0.3011825681, -0.095852986, -0.1531482935, 0.1141424775, -0.0306188129, -0.1723835319, -0.1703848392, 0.1571489275, -0.0192817356, -0.1556318253, -0.1836526245, -0.2563972771, 0.3611026704, 0.4589604139, 0.3110330701, 0.6466234326, -0.3026453853, -0.0620315969, 0.0600913092, -0.6438118815, 0.0863227397, -0.0060016359, 0.1240813434, -0.0874870643, 0.4508529603, 0.9015525579, -0.1040677428, -1.1500778198, 0.9138455391, -0.2713945508, 0.1164531112, -0.4040426314, 0.1606819481, 0.0375978835, 0.4974513948, 0.2990231514, -0.0923756436, 0.3288276792, -0.5883842111, -0.0644590631, 0.4869693816, -0.4137668312, -0.2621691227, 0.4421817064, 0.3028561175, -0.2926971316, 0.8455145359, -0.0093275551, -0.5091872811, 0.6424584985, 0.2907291055, 1.0883506536, -0.0302240867, 0.2888299823, 0.0460451841, 0.3147511184, 0.147048533, 0.2571073771, 0.0129594794, -0.5746254921, -0.4482698143, -0.2448821068, -0.2818469107, 0.2622193098, -0.7211943865, 0.2811145186, -0.5405690074, -0.0510002635, 0.0986043885, -0.536177516, -0.4438570142, -0.2253450155, 0.2781629264, 0.9668854475, -0.7716861963, 0.4820633829, 0.3434434235, -0.0822800845, -0.5395970345, -0.326852411, 0.6926951408, -0.742379725, 0.5051226616, 0.3906942308, -0.1251024157, -0.3484477997, -0.911903739, -0.4352033734, 1.0242483616, 0.3095422089, -0.7984705567, 0.0742316991, -0.1595436633, 0.3477400541, -0.3947749734, -0.0310606044, 1.1337137222, 0.4675153196, 0.105097726, -0.6114894152, 0.1867074966, -0.3597541153, -0.0874049962, 0.5792318583, -0.3244631886, 0.3916314542, -0.6461544633, -0.0002858833, 0.0080898125, 0.399110496, 0.6489959359, 0.4480009079, 0.4958662689, 0.3609273434, 0.6601128578, -0.1386905462, 0.7298209071, -0.0201122556, 0.098086074, 1.0878914595, -0.1575696617, 0.5498332977, 0.5571068525, 0.0133244004, 0.6876764894, 0.5275577903, -0.3957228959, 0.4714841545, 0.5388039351, -0.0879744887, -0.1940942854, 0.2063788474, -0.0919693485, 0.4563421905, 0.4918707013, -0.1706517935, -0.1124391556, 0.3690130711, 0.5694839358, -0.1456775069, -0.332216084, 1.0963027477, -0.1715414673, -0.3814426064, 0.5663014054, -0.0630700365, 0.7270517945, -0.4800821841, 0.00243904, -0.3852864206, -0.0315612219, -0.3212400973, -0.7163826227, 0.0745726228, 0.5192579031, 0.0895591527, -0.0184599161, 0.6708825827, -0.1195010841, -0.0910392031, 0.3788785636, 0.4208680987, 0.2236105204, -0.3368536532, -0.5906096101, 0.3864879906, 0.140565455, -0.3931161761, 0.2697427571, 0.2121357471, -0.129182294, 0.8850220442, 0.676422894, 0.1649490297, 0.1271822751, 0.2022704184, 0.9985821843, -0.9899327755, -0.5221485496, -1.2680376768, 0.6811572313, -0.4759254158, -0.2847280502, 0.9086592197, 0.4607245028, 0.2433157861, 0.1231053397, 0.889547348, -0.0376050435, 0.4255874753, -0.5806256533, 0.5698890686, -0.0925899521, 0.8708759546, -0.5423354506, -0.5656504631, -0.1530292928, 0.2623493373, -0.5274073482, -0.3553144634, 0.2464854568, 0.8855733275, 0.1634265929, 0.1444797516, -0.0279512722, 0.2731006145, 0.5394120216, 0.2976952493, 1.2017552853, 0.0518856458, 0.8526252508, 0.1619103849, -0.4978000522, -0.316834867, -0.779304564, -1.2227400541, -0.2063806802, -0.1668784767, -0.4522530437, 0.0814979002, 0.7355562449, 0.5815343261, -0.7518620491, -0.4365613461, -0.1321597695, 0.0981039405, 0.0185389034, -0.2981045842, -0.0115520777, -0.2063774914, -0.1796451211, 1.0035945177, 0.4004051685, -0.1039560959, -0.2901823521, 0.2080405205, 0.1800819486, -0.1111843884, 0.6448521614, 0.4245861769, -0.4841145277, 0.0922225863, -0.1024027169, 0.1044521257, 0.1158608943, 1.1324739456, -0.8224437833, 0.5845122337, 0.517936945, 0.5990230441, 0.7625359297, 0.1831151247, 0.6367923021, -0.9402029514, 0.2052574158, -0.0173223037, 0.3798522055, 0.3624558151, -0.4140302539, 0.3435526192, 0.1437049955, -0.3111536503, -0.8992669582, 0.1605297029, -0.8611474037, -0.5096061826, 1.0159270763, -0.1871548295, -0.1636352092, -0.3389249444, -0.5072034001, -0.3159141243, -0.7067264915, 0.80814147, 0.5906946659, -0.3530039191, -0.1524000019, -0.6376513839, 0.3982028067, -0.2372795641, -1.1400626898, 0.6007446647, 0.5965553522, 0.2854628265, 0.2353884429, 0.2298987806, -0.1705741733, 0.0121815167, -0.2060700506, -0.2061466575, -0.397595942, -0.4903670251, -0.4257243574, 0.2341649383, -0.1163362935, -0.1704175919 ]
http://arxiv.org/abs/2407.03040v1
http://arxiv.org/pdf/2407.03040v1
Raw Text is All you Need: Knowledge-intensive Multi-turn Instruction Tuning for Large Language Model
2024-07-03T12:04:10
2024-07-03T12:04:10
Xia Hou, Qifeng Li, Jian Yang, Tongliang Li, Linzheng Chai, Xianjie Wu, Hangyuan Ji, Zhoujun Li, Jixuan Nie, Jingbo Dun, Wenfeng Song
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
Instruction tuning as an effective technique aligns the outputs of large language models (LLMs) with human preference. But how to generate the seasonal multi-turn dialogues from raw documents for instruction tuning still requires further exploration. In this paper, we present a novel framework named R2S that leverages the CoD-Chain of Dialogue logic to guide large language models (LLMs) in generating knowledge-intensive multi-turn dialogues for instruction tuning. By integrating raw documents from both open-source datasets and domain-specific web-crawled documents into a benchmark K-BENCH, we cover diverse areas such as Wikipedia (English), Science (Chinese), and Artifacts (Chinese). Our approach first decides the logic flow of the current dialogue and then prompts LLMs to produce key phrases for sourcing relevant response content. This methodology enables the creation of the G I NSTRUCT instruction dataset, retaining raw document knowledge within dialoguestyle interactions. Utilizing this dataset, we fine-tune GLLM, a model designed to transform raw documents into structured multi-turn dialogues, thereby injecting comprehensive domain knowledge into the SFT model for enhanced instruction tuning. This work signifies a stride towards refining the adaptability and effectiveness of LLMs in processing and generating more accurate, contextually nuanced responses across various fields.
[ -0.001378641, -0.6531884074, 0.5433681011, -0.1738870889, -0.2420649529, 0.050089702, -0.5580390096, -0.1558682323, -0.1952509135, 0.7560941577, -0.9205945134, -0.6739428043, -0.297405839, -0.1109198481, -0.1357016712, 1.2286658287, 0.2667304575, 0.1491830498, -0.1119637191, -0.058705397, -0.2087299228, -0.173244074, -0.493296504, -0.2613033354, 0.4777659774, 0.7149378657, 0.5817055106, 0.7641875148, 0.1378093958, 0.2388596535, 0.3356073201, 0.7016887069, -0.614248991, 0.2914962769, -0.2798829079, -0.4965135753, -0.3928068876, 0.0652228966, 0.5721627474, 0.1496642977, -0.3168480694, 0.2475111187, -0.0175551269, 0.6275010705, -0.3925431371, 0.1784938723, -1.0292258263, -0.2186079323, -0.0443038009, -0.5262712836, -0.9068946838, -0.3468765616, -0.1475965679, -0.7278179526, 0.5284585953, 0.0535180494, 0.8399984241, 0.2278344333, -0.3515010476, -0.3717654049, -0.6080148816, 0.8687086701, -0.8948267698, 0.3798449934, 0.2415558994, 0.1083160937, -0.2388986498, -0.6177507043, -0.4649095535, 0.0941881537, -0.0842493623, 0.1927724183, 0.3843992352, 0.1286312044, 0.0975769684, 0.2993969917, -0.430273056, 0.1277522445, -0.224385947, -0.1001375765, 0.5969930291, 0.2772370577, 0.3345761895, 0.0534800999, -0.3743972778, -0.1909402013, -0.7627528906, -0.0843753442, 0.630222261, 0.4688104093, -0.170355618, 0.5932096243, -0.015320993, 0.8077093363, -0.0020188219, -0.4776076674, -0.1810549051, -0.4970534742, 0.0487329811, -0.0569322631, 0.7596237659, 0.547598958, 0.4037715197, -0.2601650953, -0.1763546169, -0.1596342027, 0.5480623841, -1.0988259315, -0.2670292854, 0.0007915232, -0.2122026235, -0.1292165071, 0.0191514995, -0.8952653408, -0.3299019337, -0.7473006845, -0.0211440194, -0.5215343833, -0.217743054, -0.0534430146, 0.0121285887, 0.4470981956, 0.2433500588, -1.1199291945, 0.1761575341, 0.8107373714, 0.7264252901, -0.0842599496, -0.119264923, -0.8047549725, 0.3403318822, -0.3883683681, 0.8422906399, -0.8520071507, -0.239060238, 0.2244613767, 0.053564813, -0.3507016897, -0.3828583956, 0.5118327737, -0.7244185209, 0.1449695379, 0.060964901, -0.5094265342, -0.0194715764, 0.0903717503, -0.4919897616, 1.0117493868, 0.1477026641, -0.5354986787, 0.0566417575, -0.4981269836, -0.7566002011, -0.0897514746, -0.2166864872, -0.359972626, 0.0879785642, 0.2899686098, 0.2489218712, -0.4670294523, 0.2200914025, -0.0097484561, -0.2588561475, 0.2627887726, -0.5067718029, 0.32335639, 0.0594174452, -0.1774777323, 0.2941464186, -0.8448294997, 0.4869858325, -0.1159077212, -0.6176236272, -0.126883775, 0.3131068647, -0.0299432483, 0.0526314788, 0.1396808624, -0.3461625874, 0.468175143, -0.4814482927, 0.6673837304, 0.7398383021, 0.0213606097, 0.4490827024, -0.0213312563, 0.4627630413, -0.0618206002, 0.0497570783, -0.6175723672, -0.4270964563, -0.9042246938, -0.2261629105, 0.1129887626, 0.6750811338, -0.6855618358, 0.344506681, -0.2665916979, -0.2109324783, -0.9125813246, 0.4422717988, 0.5408531427, 0.4480115175, 0.5097846389, 0.1873003393, -0.4781316221, -0.8285316825, -0.218747139, 0.1216890812, -0.175944671, 0.4334517717, 0.0238704383, -0.1755522043, 0.7952284217, -0.6991530657, -0.2499145865, -0.1507505029, 0.3339227438, 0.073422268, 0.2028797865, -0.038447246, -0.6103501916, -0.442075789, 0.1565359235, -0.5471694469, 0.0536488146, -0.1266589761, -0.3801172078, 0.5707939863, 0.6306690574, -0.4093647897, 0.0874125659, 0.455884397, -0.0710463226, 0.3896050453, -0.2745208144, 0.1054948568, -1.245595336, -0.0444491357, 0.0185748301, 0.0090295635, -0.3980973959, 0.2702254057, 0.1930578798, -0.0869605169, -0.1559052169, 0.3578003943, -0.527718246, 0.0256192461, -0.2762204111, 0.3168792129, 0.1734092534, 0.68891114, 0.1902024895, 1.1249029636, -0.025694143, -0.6127178669, 0.2869900167, 0.2433168292, -0.5342231393, 0.3502149582, -0.5401441455, 0.4239107668, 0.1098812222, 0.3053993881, -0.75766927, -0.2107074261, 0.1129518896, -0.2299414277, 0.5794270635, -0.4810190201, -0.4516969323, -0.0985312611, -0.1828337312, 0.0897990689, 0.4022329152, -0.4890506566, 0.7364218235, 0.1390854716, -0.3974769413, -0.47851336, -0.256659627, -0.0020899565, 0.1158776656, -0.7069731951, 0.3398212194, -0.2089709789, 0.0548601933, -0.1503278613, -0.1346479505, 0.0507624485, -0.1611027718, 0.0756692514, 0.4415502846, -0.4857986271, 0.1106982082, 0.342083782, -0.1093451828, 0.0630913004, -0.5312367082, 0.4928078651, 0.0691483393, -0.302387774, -0.2762417197, 0.3587430418, 0.6183116436, -0.3651112914, 0.5667158365, 0.751650095, 0.1605072618, -0.5782868862, -0.6276608706, -0.4438385367, -0.4636956751, 0.4234964848, -0.2964682877, -0.8741261959, 0.1065711379, -0.2629449069, 0.4695264995, 0.2325531691, 0.632871747, 0.0726659968, 1.1433215141, 0.5052183867, 0.1011555493, 0.3375748396, -0.19320485, 0.4418827295, -1.1360659599, -0.3661952615, -0.5933614373, -0.1007978246, -0.551055491, -0.6703335643, 0.4636602402, 0.0207681861, -0.255723983, 0.0270302519, -0.502158463, 0.6453230381, 0.57981354, 0.1511319578, 0.3187997043, 0.1957907677, -0.1647430807, -0.1089194119, -0.7821485996, -0.7210813761, 1.0593150854, 0.1187923998, 0.8770906925, -0.0197633486, 0.3256615698, 0.1252076924, 0.2584012747, -0.9516245723, 0.4612492323, -0.2997488379, -0.4372766018, -0.36566782, -0.3667692542, -0.6303375363, 0.1211980954, -0.135687083, -0.504494071, -0.4792310894, 0.0487683155, -0.2127875537, 0.228119716, -0.8642929196, 0.6746370792, -0.2873803377, -0.7260494232, -0.3739596903, -0.6919235587, 0.4471919835, 0.234844625, 0.3841454685, -0.004618234, 0.0539806522, 0.5647069812, -0.3717671931, 1.0707546473, -0.0761237219, -0.5455358624, 0.4389492273, -0.0055422811, 0.5908838511, 0.3104571998, -0.1423599869, -0.1558000445, -0.1117218435, -0.2432047278, -0.634380877, 0.9007413387, -1.0171886683, -0.7145068645, -0.1359156221, -0.5715331435, -0.3935874701, 0.1637610793, 0.1655276567, 0.6071899533, -0.1804377288, 0.0192170776, 1.0444024801, -0.226919651, 0.1323109865, 0.8719633818, 0.06342417, -0.4268214107, 1.1748394966, -0.2069593668, 0.3543781042, 0.6205357909, 0.1249866635, -0.3659259379, -0.190308094, -0.9841209054, 0.15739353, -0.6251204014, -0.4422792196, -0.5795299411, -0.4005072713, -0.5271608829, -0.0327164829, -0.2901807427, -0.0860812142, -0.3798268735, -0.0723071992, 0.6093249917, 0.8208111525, 0.2246406376, 0.1101851463, -1.0212832689, 0.5559160709, 0.375552088, 0.4890769422, 0.0880256593, -0.7202513814, -0.4784730673, 0.451792717, -0.3923778534, -0.5300945044, 0.1619716287, 0.4928223193, 0.4166555405, 0.468262881, 0.151293695, 0.5132473707, -0.9365639091, 0.7221895456, 0.0071485993, -0.7704039812, 0.5332053304, -0.3662551045, 0.2492684722, 0.4432147443, 0.2054088265, -0.4461808205, -0.218480885, -0.2319281101, -1.0729901791, 1.0993285179, -0.2869590223, 0.2878681421, 0.0065474268, 0.277277112, 0.2529725432, 0.1805846393, -0.2947457135, -0.0247780848, -0.3252334595, -0.3727403879, -0.0070810509, -0.2621102929, -0.3786486089, -0.1413105875, 0.9380027056, -0.5397402048, 0.0328070745, -0.1914676875, -0.0587946177, -0.248380959, 0.4615206122, 0.6769340038, 0.457262665, -0.0964248851, -0.0039108894, -0.1367687434, -0.4617015421, 0.036917109, -0.2030915916, -0.3053458631, -0.2542035878, 0.4284210205, 0.9839823246, 0.5372027159, -0.6337251663, 0.2237918675, 0.0692856163, -0.1213723943, -0.1042072251, 0.440100193, 0.3944280446, 0.0252277311, 0.2495333403, -0.08980795, -0.1528860927, -0.6219335198, 0.0513280891, 0.3842972517, -0.1260693669, -0.1869966686, 0.3441420794, 0.5700215101, -0.3585555851, 1.0736498833, -0.0093278838, -0.507527113, 0.4208361506, 0.6869162917, 0.6676818728, -0.0419525616, 0.3717272282, 0.5604906082, 0.2777172029, 0.0522062518, 0.0268580522, -0.1256479025, -0.6149434447, -0.6764132977, -0.8579772711, -0.4929407835, 0.3340471983, -0.8631406426, 0.2292731851, -0.3929522336, 0.1990904212, -0.1814310253, -0.1151298657, -0.4630545974, 0.1571698636, -0.0301092006, 0.8109315038, -0.6744753122, 0.8940963745, 0.5926824212, -0.2054346055, -0.8552134633, 0.0892102197, -0.0960962474, -1.0394501686, 0.3705006838, 0.0743782222, -0.4370056689, 0.1440852731, -0.7494655252, -0.5470983982, 0.9379908442, 0.2121012658, -0.7861707211, -0.1152340546, 0.1509733796, 0.459160924, -0.4639474452, 0.3720555007, 0.6745422482, 0.5472631454, 0.3878289461, -0.3543349504, -0.0857576132, -0.317168653, -0.0184765067, 0.2888817787, -0.8285160065, 0.4414752722, -0.4059486091, -0.3787351251, 0.0727922022, 0.5937559605, 0.1202622354, 0.198435545, 0.1653129309, 0.5520760417, 0.6725151539, -0.0865451097, 0.8329366446, -0.5868336558, -0.1150173098, 1.3836523294, -0.4668110311, 0.9013749361, 0.261403352, -0.036073003, 0.6868889332, 0.3226873279, -0.0105021512, 0.4812601805, 0.2079309225, -0.3049018085, -0.5208060145, -0.1123908088, -0.421967864, 0.3037020564, 0.6627485752, -0.1283873171, -0.0670288503, -0.2725934982, 0.121283561, 0.4032293558, -0.0824623182, 1.1823016405, 0.0027237721, -1.0485599041, 0.6098638773, 0.3946830034, 0.5158680081, -0.8665223718, -0.2593955994, -0.2661492527, 0.2329623401, -0.1828352362, -0.623636961, 0.0457625538, 0.2346231341, -0.6177587509, -0.2469581217, 0.4913770854, -0.7106324434, -0.566890955, 0.1506915838, 0.2223574817, -0.140032351, 0.216605708, -0.4583660662, 0.1704841405, 0.1520439684, -0.3274669349, 0.5802344084, 0.7290303111, 0.0829388797, 0.432066381, 0.814442873, -0.0505966395, 0.0402064174, 0.2550810575, 0.923091054, -0.4427326918, -0.2067591548, -0.5367085934, 0.4962896705, -0.0455559045, -0.3794859052, 0.4674899876, 0.6792940497, 0.8013811111, -0.1386208236, 0.9606301188, 0.188023746, 0.5567010045, -1.0034246445, 0.5925434828, -0.4186075628, 0.1603464782, 0.1925816834, -0.8501348495, 0.3428288102, 0.5792400837, -0.0571838282, -0.062395744, 0.6610463858, 1.0623201132, -0.1285324842, 0.2440506071, 0.0496992357, 0.2585488856, 0.1717137098, 0.368866235, 0.4892020822, -0.3952803016, 0.5934208632, 0.1812768728, -0.252789706, -0.2666951418, -0.9004500508, -0.9704238176, -0.535543859, -0.1772704571, -0.3649991751, 0.194069162, 0.915668726, 0.6827475429, -0.8253448606, -0.2934248149, 0.0567401908, 0.1182842627, -0.1800056696, -0.3032191098, 0.2329199314, -0.8234152198, -0.7592408061, 0.747944355, 0.3310448229, -0.3954518139, -0.2064417005, -0.1986356378, -0.2134067416, 0.3588449955, 0.6671907306, 0.1006975174, -0.6335683465, -0.0538978167, 0.1542079449, -0.1930151582, -0.0667159259, 1.2438329458, -0.4704656601, 0.4101611674, 0.1471505016, 0.5939834118, 0.4763968289, 0.0156419482, 0.7116820812, -0.8693478703, -0.0017484559, 0.1054898649, -0.0814056396, 0.4257456362, -0.3549772799, 0.4346145391, 0.0702482462, -0.4760678113, -0.5428254604, 0.4442740083, -0.7971189618, -0.297301501, 1.4256801605, -0.1612088382, -0.0795562565, 0.1041898429, -0.3638625741, 0.4501938224, -0.5731818676, 0.749386847, 0.7394583225, 0.176523596, -0.1565713733, -0.5027544498, 0.5025689006, 0.1820985377, -0.8005068302, 0.4631759822, 0.6206777096, 0.1673609912, 0.0030190465, 0.2876344621, -0.0297637656, -0.0354676805, -0.0911672339, 0.0497810394, -0.2467552572, -0.578329742, 0.233078748, 0.026523741, 0.130506739, 0.1609877646 ]
http://arxiv.org/abs/2407.03038v1
http://arxiv.org/pdf/2407.03038v1
On the Client Preference of LLM Fine-tuning in Federated Learning
2024-07-03T12:02:24
2024-07-03T12:02:24
Feijie Wu, Xiaoze Liu, Haoyu Wang, Xingchen Wang, Jing Gao
cs.CL
cs.CL, cs.DC, cs.LG
Reinforcement learning with human feedback (RLHF) fine-tunes a pretrained large language model (LLM) using preference datasets, enabling the LLM to generate outputs that align with human preferences. Given the sensitive nature of these preference datasets held by various clients, there is a need to implement RLHF within a federated learning (FL) framework, where clients are reluctant to share their data due to privacy concerns. To address this, we introduce a feasible framework in which clients collaboratively train a binary selector with their preference datasets using our proposed FedBis. With a well-trained selector, we can further enhance the LLM that generates human-preferred completions. Meanwhile, we propose a novel algorithm, FedBiscuit, that trains multiple selectors by organizing clients into balanced and disjoint clusters based on their preferences. Compared to the FedBis, FedBiscuit demonstrates superior performance in simulating human preferences for pairwise completions. Our extensive experiments on federated human preference datasets -- marking the first benchmark to address heterogeneous data partitioning among clients -- demonstrate that FedBiscuit outperforms FedBis and even surpasses traditional centralized training.
[ -0.744381249, -0.3120645881, 0.163433224, 0.4735101163, 0.1490367502, 0.2215207666, -0.5649428964, -0.5151192546, 0.290779382, 0.5231894255, -0.9670165777, -0.5134874582, -0.1525409073, 0.2248543501, 0.1208044887, 1.111847043, 0.0246226676, 0.0927268639, -0.4463205636, -0.3797872066, -0.1298073828, -0.3805218637, -0.3109036684, -0.9430394173, 0.723942101, 0.7778795362, 0.7226974964, 0.4744631052, 0.4302298427, 0.2538065612, 0.386749655, 0.3686158061, -0.7384901047, 0.1610128582, -0.3527884781, -0.5725809932, -0.3702617288, 0.2764544487, 0.4907344282, 0.9161053896, -0.4664593637, 0.1170669049, -0.2684721649, 0.9552537799, -0.611446321, 0.3479941189, -0.3316730261, 0.5629707575, -0.0937379599, -0.3169677854, -0.6847007275, -0.4908038676, 0.3623607755, -0.6074736714, 0.3316844106, 0.5078017712, 0.7699587345, 0.1972939372, -0.0503247306, 0.1460845321, -0.5749006271, 0.7688470483, -0.3832780421, 0.5636125803, 0.6030970216, 0.291208744, -0.3087906837, -0.4815508127, -0.1132054776, -0.0969045162, -0.3269678354, -0.0196529273, 0.0500432849, 0.395517081, 0.0785340592, 0.4628795981, -0.4037179947, 0.4698912203, -0.0063653351, -0.3392556608, 0.718129456, 0.1787434816, 0.0556010492, 0.2101580501, -0.3606751263, -0.1790703833, -0.6249726415, 0.360565871, 0.4967134595, 0.6091814041, 0.0638106987, 0.1142046079, -0.7935922146, 0.7238406539, 0.5918402076, -0.1822567433, 0.5543348193, 0.0919726714, -0.3213231266, 0.1066043153, 0.7994810939, 0.3334936798, -0.0292271413, -0.7112007737, -0.4787065387, -0.099796094, 0.1564453691, -0.8938230872, -0.3872754872, 0.2191571295, -0.2963252962, -0.3622998893, 0.1308600157, -0.3464532793, -0.1761973649, -0.3917557001, -0.0335281976, -0.1740694642, -0.2478240579, 0.1585634947, 0.0659057647, 0.13501288, 0.2878130078, -1.5799325705, 0.5473896861, 0.9546834826, 0.3569824696, -0.0656047538, -0.6991042495, -0.9895941019, -0.0372264236, -0.0841143206, 0.7815512419, -0.584405005, -0.2665768564, 0.0461795479, -0.0687950104, 0.2232479304, -0.5663070679, 0.1186268255, -0.6736758947, 0.3323606253, -0.701222837, -0.6539257765, 0.0260542221, 0.2610574961, -0.4076916873, 0.4034763277, 0.230498746, -0.7503142357, 0.7499555349, -0.4970436692, -0.4749136865, 0.2303112596, -0.4282341301, -0.6215776205, -0.1918248683, 0.2794391513, 0.6365430951, 0.0008310276, 0.2781314254, -0.8780138493, -0.5318447948, 0.1634073704, 0.1054763272, 0.4892452359, 0.087281473, -0.142734915, 0.2658840418, -0.441352874, 0.2165481001, -0.0601152219, -0.626501441, -0.1395000517, -0.0692217276, 0.1054001153, -0.0443352833, 0.2735360861, -0.6363677382, 0.3411939442, -0.6051046848, 0.437420398, 0.8909831047, -0.1316009313, 0.8379753828, -0.6489990354, 0.4152255356, -0.1891291738, 0.2655918002, 0.3690930903, -0.0413439013, -0.416500777, -0.2997358441, 0.3007960021, 0.0025560413, -0.3776602447, 0.4097170532, -0.2447091937, -0.261197418, -0.5139920712, 0.3023094833, 0.5681639314, 0.291952461, 0.0679246485, -0.4638285935, -0.4270210266, -0.8665409684, 0.2228727788, -0.131718725, 0.1243066713, 0.7104774714, -0.0369494371, -0.4713644385, 1.292200923, -0.4142350852, -0.3940993547, -0.1442835927, 0.2206617147, -0.0277592018, 0.4016169906, 0.6893556118, -0.6932937503, -0.500651896, -0.0052534305, -0.4261934459, -0.1149472296, 0.1438617259, -0.1732990593, 0.2929736078, 0.017872842, -0.1013599113, 0.0233482234, 0.520359695, -0.1683625281, 0.61765939, -0.3363056183, 0.1395970583, -0.680285871, -0.148068428, -0.2799068689, -0.5536244512, -0.2441716045, 0.136705637, -0.0218248926, 0.0866430849, -0.3166160285, 0.2672880888, -0.3753179312, -0.5985984206, -0.201207608, -0.005977944, -0.1281481385, 0.8136241436, 0.1241354346, 0.8098405004, 0.3418917656, -0.3654384017, 0.607855618, 0.6030425429, 0.0381042771, 0.6782279015, -0.3290145099, 0.0323459096, 0.048796501, 0.5228684545, -0.6341976523, -0.5877885818, 0.1729059964, -0.3321484923, 0.2389461994, 0.0039106417, -0.4743956029, -0.1970610023, -0.2461161017, 0.2642597854, 0.1714458615, -0.9131890535, 0.2776882648, 0.2825612724, 0.2446516156, -0.9047269821, -0.7209243774, -0.3201589882, 0.155362159, -0.5985999703, 0.2658444047, -0.1335426718, 0.0731180534, -0.0365141407, -0.0414500274, 0.0487351418, 0.1934225559, 0.7422139049, 0.1185299307, -0.0275360197, 0.0585128479, 0.0514433868, -0.1777193099, 0.0484535098, -0.212656185, 0.5544247031, -0.6803332567, -0.3987363279, -0.2625585198, 0.1343564838, 0.1835487783, -0.3758994341, 0.5424090028, 0.7903633714, 0.0753714293, -0.5778642297, -0.5448676944, -0.4649940133, -0.4570474923, 0.0741234273, -0.2317956686, -1.3215192556, 0.4808463454, 0.0327319466, 0.3460105956, -0.2519952953, 0.475360781, -0.0251931641, 0.7182915211, 0.7263020277, -0.5616775155, 0.7146399617, -0.1375849247, -0.0545347966, -0.5185370445, -0.1107618138, -0.2403474748, -0.5398967266, -0.6920973063, 0.155011639, 0.0334647186, -0.1562771499, -0.233432427, 0.1998622268, -0.3937780261, 0.6624072194, 0.7479839921, 0.5329121947, 0.2430991381, 0.1212271079, -0.4786409438, 0.1606373936, -0.6315489411, 0.1150309369, 0.967553556, 0.2962412536, 0.8160912395, 0.0298327785, 1.3372752666, 0.3000922203, 0.5517772436, -0.6769403219, 0.3926123679, 0.0805668756, -0.5332232118, -0.3561208844, -0.5869019032, -0.7296946645, 0.1881272644, -0.4563246369, -0.6055837274, 0.2413737029, 0.3244952261, -0.6741786599, 0.1606817394, -0.5860547423, 0.6506906748, -0.0415952578, -0.738089323, -0.4272281826, -0.8208078742, 0.4584963918, 0.332041055, -0.1438035965, -0.1104633436, 0.3229742646, 0.6169350147, -0.5922107697, 0.8038653731, -0.272515893, 0.2657010853, -0.2751327753, -0.0326252058, 0.3345432878, 0.4140749574, 0.0598831512, -0.0839784145, -0.131979838, -0.6138281226, -0.3636799455, 0.8486338854, -1.1908023357, -0.5129331946, -0.3938984275, -0.6008615494, -0.6784665585, 0.3014565706, -0.0346642584, 0.4832133949, -0.2267522216, 0.1572839618, 0.723764658, -0.0317431092, 0.2426688671, 0.8062889576, -0.6191841364, -0.5384719372, 0.8539421558, -0.3430382013, 0.2992998958, 0.4942245781, 0.0440948494, -0.1659299582, -0.4862241149, -0.2246682048, 0.3787264824, -0.5690449476, -0.1546203494, -0.4246435463, -0.0948976353, -0.2094113976, -0.4442266226, -0.4946945012, 0.0565582737, -0.3746460676, -0.2959544957, 0.175370574, 0.3699423075, -0.3525801599, 0.3229040802, -0.6910722852, 0.0060410858, 0.5144598484, 0.8482332826, -0.1084140018, -0.0009753651, -0.3372882605, 0.075766772, -0.0435636714, -0.2063573748, 0.1586107165, -0.0587788709, 0.5369123816, 0.7478151917, 0.3196053505, 0.6558112502, -0.2600545585, 0.2452545166, 0.2442315221, -0.4539299011, 0.2338784933, -0.4217663705, 0.0034610948, 1.0859867334, 0.1513544768, -0.4705435336, -0.2272221446, -0.6064571142, -0.3730296493, 1.1619751453, -0.2198355347, -0.3225949705, 0.2305538505, 0.2875393629, 0.359269321, 0.360572964, -0.4480867982, -0.3348098993, -0.0067310762, 0.1179334521, -0.0716284066, -0.0640198514, -0.3509765565, -0.1680346727, 0.6308525801, -0.128899768, 0.1717291325, -0.0125541454, -0.0174066592, -0.6122155786, 0.2928056717, 0.364315033, 0.5553026795, -0.7506168485, -0.2088704705, -0.2097912878, -0.1716858298, 0.1696650684, 0.2831106186, -0.3133260906, -0.3494500518, 0.1369864941, 0.9228495359, 0.3922448456, -0.5162292719, 0.5866438746, -0.4624589086, -0.6221730709, -0.0845427215, 0.3450318575, 0.0353073813, 0.3258934915, 0.0833361596, 0.4011491537, -0.0123715848, -0.4380422831, 0.4761924148, 0.5075548887, -0.4631348252, -0.3280975819, 0.3318202496, 0.4468464255, -0.0826384872, 0.6480379701, -0.2741629779, -0.4595220089, 0.072554484, 0.292986095, 0.7554747462, 0.0262379553, 0.5884869695, -0.0112854382, -0.0988957807, -0.3205325603, -0.0350195989, -0.6987173557, -0.9301354289, -0.122362569, -0.7935122848, -0.7865380049, -0.2145223916, -0.9652438164, -0.063798815, -0.8986434937, -0.0112530524, -0.0965761766, 0.556374073, -0.7370814681, -0.078340292, 0.2126823217, 0.6534100175, -0.8203561902, 1.0203692913, 0.6987365484, -0.4962285161, -0.9504593611, -0.0971262977, -0.134052515, -0.7659272552, 0.5076317787, 0.1819175333, -0.0084204134, -0.0838777199, -0.4923417568, -0.4995424747, 1.2360041142, 0.2365029454, -0.7149814963, -0.1103477404, 0.219511196, 0.5059061646, -0.4585127234, 0.2412764281, 0.6311969757, 0.3169097602, 0.0676513463, -0.9001325369, -0.1250690818, 0.1502218097, -0.093076773, 0.2333650142, -1.0672398806, 0.5818391442, -0.2435601056, -0.0284554288, -0.3156825006, 0.8405935168, 0.2422304749, 0.2866668701, 0.6494729519, 0.6102210879, 0.9285983443, -0.0033640219, 0.6415329576, -0.1104525477, 0.5897812843, 1.4138201475, -0.4965207577, 0.7175278068, 0.4147120416, -0.3092692792, 0.3383227289, 0.78506428, 0.0832282007, 0.8347099423, 0.0516129471, -0.2074528933, -0.4919350147, -0.1161668077, -0.2931524515, 0.3281956315, 0.1833085865, -0.1518291086, -0.3966012299, 0.0599143356, -0.213804692, 0.1748972386, -0.1814982742, 0.9555508494, -0.0709105879, -0.7254109979, 0.6269238591, 0.0385614559, 0.8863247633, -0.5510075688, 0.356092751, -0.5520127416, 0.365411222, -0.5616172552, -0.45463413, 0.0735615194, -0.3910667002, -0.4425738752, -0.4283645749, 0.4099651575, -0.560061574, 0.0929300785, 0.4062264562, 0.2018108368, -0.2768784165, 0.1931411773, -0.7109983563, -0.0208408497, 0.1668695956, -0.1467608064, 0.7668249011, 0.17708987, 0.2769984305, 0.7707093954, 0.5713379979, 0.1133202687, -0.2163395137, 0.2247143239, 0.9925715327, -0.3368014097, -0.8139206171, -0.4229110479, -0.1779098809, 0.0524742119, -0.0198081117, 0.604806602, 0.3547838628, 1.271671772, -0.0260969736, 0.7149059176, 0.0815468132, 0.4579552412, -0.2099422216, 0.7728908062, -0.3174847066, 0.2744717598, -0.0429008082, -0.612041235, -0.1251241416, 0.4643547535, -0.5513963699, -0.3229945898, 0.357236892, 0.9276652932, -0.2602030337, 0.3320658803, 0.3130766153, -0.1271113455, 0.3874484599, 0.8167628646, 0.4962293208, -0.0233008061, 0.2241817564, -0.7195171714, -0.2815083861, -0.6104044318, -0.5667802095, -1.0872614384, -0.4589431584, -0.1378202885, -0.1487051547, 0.071199812, 1.5835907459, 0.86340487, -0.9138711691, -0.2030201405, -0.1028550491, 0.1440659761, -0.3257478178, -0.2286925316, -0.0435842015, -0.5692991614, -0.3886069357, 0.1713351458, 0.2528618574, -0.225777626, -0.57000947, -0.5289049745, -0.1610664576, -0.4774563611, 0.198506251, 0.4160216749, -0.739099741, -0.3596161008, -0.255586952, -0.3872760236, 0.1573703438, 0.7569879889, -0.7886544466, 0.4340620935, 0.4397192001, 0.935208559, 0.5092586279, 0.2028053403, 0.5955125093, -0.9801023006, 0.2896870375, 0.1133064106, 0.3602130413, 0.3326491117, -0.4562408328, 0.2590495348, 0.25801754, -0.8219407797, -0.6601412892, 0.1423479021, -0.9882101417, -0.1187212616, 0.8553090692, -0.4405738413, -0.4036250114, 0.2252873629, 0.0081515489, -0.0597064942, -0.9185461998, 0.7083434463, 0.5542194247, -0.1752843708, -0.0327546634, 0.025952518, 0.794962883, 0.4494973123, -0.5804611444, 0.2991574109, 0.8317832351, 0.4021461904, -0.1171750277, 0.8645938635, 0.3067437708, 0.426315099, -0.3254568279, 0.0484544709, -0.5459678173, -0.3894119263, -0.1790860891, 0.2494051605, 0.2765243649, -0.1193200871 ]
http://arxiv.org/abs/2407.03032v1
http://arxiv.org/pdf/2407.03032v1
Strategies for Arabic Readability Modeling
2024-07-03T11:54:11
2024-07-03T11:54:11
Juan Piñeros Liberato, Bashar Alhafni, Muhamed Al Khalil, Nizar Habash
cs.CL
cs.CL
Automatic readability assessment is relevant to building NLP applications for education, content analysis, and accessibility. However, Arabic readability assessment is a challenging task due to Arabic's morphological richness and limited readability resources. In this paper, we present a set of experimental results on Arabic readability assessment using a diverse range of approaches, from rule-based methods to Arabic pretrained language models. We report our results on a newly created corpus at different textual granularity levels (words and sentence fragments). Our results show that combining different techniques yields the best results, achieving an overall macro F1 score of 86.7 at the word level and 87.9 at the fragment level on a blind test set. We make our code, data, and pretrained models publicly available.
[ -0.4377833009, -0.9364706278, 0.1894024014, 0.3048777878, -0.4518010616, 0.1131107509, 0.0468163714, -0.7851843834, -0.1393131763, 0.2163215727, -0.2739881277, -0.905056417, -0.8176446557, 0.313324064, -0.7619042397, 0.871540904, -0.448417604, -0.3329874873, 0.0590291955, -0.2686540186, -0.4401358068, -0.4132756293, -0.1990511268, -0.0360321216, 0.4413113296, 0.4503092468, 1.2794047594, 0.6881548762, 0.5124003887, 0.242463842, -0.329979986, 0.0723668709, 0.0912965164, -0.2673959732, -0.0588669404, -0.0421639085, -0.5817893744, -0.0428148732, 0.3968755305, 0.6709201932, -0.0168446451, -0.0137998397, -0.0509689003, 0.560708344, -0.781226635, -0.1694793403, -0.1405905038, 0.2038497925, -0.16562666, 0.1054032147, -0.3673357666, -0.3876311779, 0.4677135944, -0.2881143391, 0.0619617067, 0.1312725097, 0.6944203377, 0.0614653155, -0.6983023286, -0.8224435449, -0.6880988479, 0.6833782792, -1.0020884275, 0.5093970299, 0.8098906279, 0.1362573504, 0.3836080134, -0.5695289969, -0.5691744685, -0.6155239344, -0.148079142, -0.1850152314, -0.128605321, -0.0527253523, -0.0349836163, 0.4369465411, -0.4873510897, -0.1376815587, -0.0174859706, -0.3311156332, 0.6681131124, -0.095861055, 0.7193048, -0.235964492, -0.1294176728, -0.102837123, -0.4430716634, -0.0981044918, 0.4326679409, 0.1867515445, -0.2152931094, 0.6962595582, -0.1955628693, 0.6710064411, -0.3351944685, -0.1498467326, 0.2615942955, -0.6923459768, -0.1274625063, -0.1600436866, 0.3677306175, -0.0589059331, 0.3279240727, -0.2108065635, -0.4889397919, -0.4570584893, 0.5836075544, -0.9905024767, -0.1106718853, 0.3009613156, -0.7245821357, -0.158528477, -0.0164387506, -0.6861551404, -0.3171601295, -0.3420481384, 0.8931735158, -0.7833678722, -0.1728079766, 0.1797857881, 0.2306379676, 0.3774064481, 0.5550134778, -0.8372742534, 0.4038160741, 0.3646472692, 1.0704818964, -0.2313260287, -0.0308205951, -0.1258330345, -0.1412881464, -0.2323089689, 0.6223632693, -0.4486103952, -0.5005563498, 0.1961408108, -0.5434803367, -0.38682127, -0.5858530998, 0.6126035452, -0.6860579848, -0.3219558001, 0.2517742217, -0.5921998024, -0.6028721929, 0.3033175766, -0.7538667321, 0.6567362547, 0.3102240264, -0.7674511075, 0.4037493765, -0.7386139631, -0.7006703615, -0.1214430779, 0.2919256985, -0.3565282524, 0.1130160466, 0.295920074, 0.2146234512, 0.3290030658, -0.0778274089, 0.0132989651, -0.4017444551, 0.1745028943, -0.6590685844, 0.4109605849, 0.278316021, -0.6525660753, 0.2521524131, -0.8682480454, 0.4145269394, -0.4005812109, -0.3926064074, -0.0640894175, 0.1795867234, 0.5816035271, 0.1947852075, 0.0475564077, -0.1428185403, 0.0615686253, -0.4641022682, 0.0702196658, 0.3265441358, -0.3204537034, 0.2098703831, -0.4690079689, 0.698928833, 0.1864647716, 0.0779586509, -0.0173779931, -0.1580538899, -0.7657731175, -0.612195313, 0.6898980141, 0.6897462606, -0.4580567777, 0.5365809202, 0.2646318376, -0.9425860047, -0.4775743783, 0.174951151, 0.5938899517, 0.062718533, 0.4177665412, -0.3731815815, -0.0100160828, -0.5799564123, -0.5376700759, -0.1591330171, 0.1275918037, 0.5206350088, 1.0280072689, -0.715937376, 0.6381645799, -0.3064363599, 0.0250939857, -0.3862815499, 0.3157128096, 0.1074783653, 0.4552809596, 0.5601680875, -0.7793486714, -0.5834150314, 0.1496215463, -0.349206239, -0.0448409729, 0.3713661432, 0.051275637, 0.1773939133, 0.4374805391, -0.0929050967, 1.0094560385, 0.530647397, -0.7215890288, 0.7050780058, -0.2473271042, 0.1982372254, -0.7238419652, 0.1529745758, -0.1430078894, -0.606430769, -0.6505880952, 0.4742927849, 0.0688332766, -0.0348124206, -0.7161763906, 0.6267561913, -0.4337932169, -0.063763693, -0.3713787794, -0.3031742871, -0.1504486501, -0.0181627441, 0.0001706652, 1.0731635094, 0.3516583145, -0.7070729136, -0.1860035211, 0.4121645689, -0.8341814876, 0.0746893883, -1.0879437923, 0.1245516241, -0.0663617998, -0.0813051984, -0.9597198367, -0.1738688499, 0.2066735774, 0.0182114765, 0.1994060129, 0.3444084227, -0.5057008266, 0.341853708, 0.0385973118, 0.8824502826, 0.3554448485, -0.4307254255, 1.0200971365, 0.182850346, -0.4730704725, -0.5514937639, -0.1365692019, -0.2309026867, -0.0949206874, -0.7140381336, 0.392298907, -0.2338068634, -0.4060247838, -0.2726112902, -0.1197030991, -0.5758255124, 0.3137929738, 0.480669111, -0.0063525718, -0.1763641685, -0.0222066268, -0.1176661402, 0.1675553471, -0.1315543801, 0.1339179873, 0.615064621, -0.4089828432, -0.2133268267, -0.4850203395, 0.4751239121, 0.3759074509, -0.4882753193, 1.0068887472, 0.7400974035, -0.358266592, -0.1993569881, -0.1434681118, 0.2520162165, -0.4637106657, 0.4838250577, -0.4273617566, -0.5753568411, 0.3912741244, -0.1580981463, 0.1779963225, 0.3405714035, 0.7063544393, -0.0916425586, 1.0501316786, 1.0164901018, -0.0252238549, 0.3761941195, -0.125298053, 0.1920064539, -0.2192577422, -0.1540040374, -0.7834544182, -0.1999932081, -0.37880674, -0.598472476, 0.3331532776, 0.3943564594, -0.0838403851, 0.1259791702, 0.174262315, 0.5669538379, 0.4168576896, 0.227969408, 0.5869932175, -0.0909185261, -0.6503815055, 0.1174401641, -0.3924388289, -0.919413209, 0.9578193426, 0.3315178752, 0.484760046, 0.5250402689, 0.5481051207, 0.6233618259, 0.5262989402, -0.9179852009, 0.3193413913, -0.0243614595, -0.6389472485, -0.3444734216, -0.3214503825, -0.6961628795, 0.2854134738, -0.3469188213, -0.5129581094, -0.130466342, 0.0716564953, -0.2813587785, -0.114873901, -0.6919993162, 1.1052311659, -0.0605057813, 0.0971760079, -0.1341300607, -0.6727170944, 0.0233142413, -0.3826655447, 0.479565382, -0.0111042913, -0.2647464871, 0.7452097535, -0.5736805797, 0.6809437275, 0.1958109736, -0.1467446536, 0.3828154802, 0.2205755264, 0.1705103666, 0.1823685169, -0.2571532726, 0.2519698739, 0.4360184371, -0.7218036652, -0.5629867911, 0.0618826821, -1.2438372374, -0.2835615277, -0.6728318334, -0.7375033498, -0.2817498744, 0.4013819993, 0.0177332554, 0.6232309937, -0.5879314542, -0.1803715527, 0.3555873036, -0.2131967545, 0.5091772676, 0.7952983975, -0.3469103575, -0.2676745951, 0.634528935, 0.0019303407, 0.1663086265, 0.204960987, -0.0015358118, -0.4212377369, -0.9989994764, -0.3926368654, 0.086482048, -0.45996961, 0.2376608551, -0.3042368293, -0.382374078, -0.2770335972, -0.0936043188, -0.0915306211, -0.2353717983, -0.3164353371, 0.0144910924, -0.0474535599, 0.8555193543, 0.0489588641, 0.5395269394, -0.9458879232, 0.210649088, 0.0781378821, 0.3073978722, -0.0919254869, -0.9172059894, -0.3797772825, -0.1062764302, -0.3716395795, -0.8903698921, 0.5250006318, 0.1961201131, -0.0770592317, 0.5410114527, -0.0133210998, 0.5209813118, -0.8275164962, 0.3544003069, -0.3013025522, -1.3530567884, 0.4921451509, -0.2090161294, 0.3958616555, 0.8778556585, 0.7331873775, -0.334523201, -0.2460644692, -0.3550430834, -0.8127479553, 0.2249553502, 0.4565211833, 0.2554522157, 0.1663375348, 0.5596175194, 0.3540641963, 0.1653490365, -0.4020367563, -0.0575218983, -0.0929845795, -0.4781555831, -0.328749299, -0.4132283926, 0.1393657327, -0.2255606353, 0.5636032224, 0.1053698659, -0.0654000044, 0.0729958639, -0.5105937123, 0.2881444097, 0.3705969155, 0.61997509, 1.206233263, -0.423188895, 0.1660303324, -0.0660943016, -1.0193394423, 0.4203657508, 0.2371332347, -0.4877200425, 0.1600346267, 0.807392776, 0.4654679894, -0.0478332527, -1.0143769979, 0.5459133983, -0.1925540119, -0.1483761668, -0.2535884678, 0.2006631792, -0.0934550464, 0.1713562161, -0.0187305696, 0.0264133755, 0.1507293731, -0.545866549, 0.3122289181, 0.1341383904, -0.4615570307, -0.201356262, 0.3028851449, 0.3078994155, -0.2985335886, 0.7203149796, -0.03141734, -0.2091997862, 0.6105251908, 0.5567707419, 0.3913749754, -0.3149974644, 0.5792554021, 0.119745858, 0.3769200444, 0.1409672052, 0.4903192222, 0.0170566645, -0.903241396, -0.2547768354, -0.7860117555, -0.653780818, -0.1899244785, -0.6231725812, -0.1342471987, -0.3916452229, -0.052181907, 0.1817241162, 0.4609180391, -0.691024363, 0.6572861671, -0.3422047198, 1.1343816519, -0.8543663025, 0.4367229044, 0.6009944677, -0.5537855029, -0.7799536586, 0.221666649, -0.1274297535, -0.7274587154, 0.4622886777, 0.4622362852, 0.1097459942, 0.0453716554, -0.2257474065, -0.892942667, 0.8324195743, 0.0627163351, -0.4409635663, -0.1098854989, 0.0740580708, 0.4108272791, -0.0573014356, 0.7489515543, 0.7746278644, 0.5437259078, -0.057716094, -0.8772387505, -0.075133346, -0.3009523451, -0.1967631876, 0.1316628158, -0.260297358, 0.726123631, -0.2463587523, -0.0791401789, 0.3478866816, 1.0396311283, -0.0138442842, 0.5510392785, 0.7092215419, 0.5710715055, 0.8166605234, 0.2982932031, 1.0872408152, -0.3149545193, 0.1159108132, 0.7524384856, -0.2156648487, 1.1767215729, 0.1070824489, -0.2398561239, 0.6377824545, 0.5758653283, 0.307865113, 0.4916784763, 0.3701997399, -0.5775916576, -0.0476992726, -0.2219773531, -0.2498648465, 0.6923843026, 0.0088172499, -0.4620418549, -0.1820611805, 0.090408206, 0.221969381, 0.1147660613, -0.4482229948, 0.5503894687, 0.0318872407, -0.306304574, 0.436555326, 0.5198279023, 0.3271547556, -0.3603023887, 0.0171422809, -0.1925346702, 0.2274943441, -0.175865382, -0.4663656056, 0.597563982, 0.371327728, -0.3123977184, 0.1006277055, 0.6993361115, -0.227945894, -0.7166434526, 0.035175167, 0.9481650591, 0.4436856508, -0.0592181794, -0.5772979259, 0.0489052422, -0.1974759549, -0.2072352618, 0.3352974653, 0.2608065903, 0.1496257931, 0.5267385244, 0.3792951405, -0.0000174847, 0.0397829451, 0.0684103817, 0.5898624659, -0.8196222782, -0.348667711, -0.868370831, 0.2355634719, 0.3522050977, -0.6306727529, 0.7577528358, 0.385931462, 0.5825875998, 0.0421866365, 0.6690388918, 0.1055419818, 0.3255988657, -0.5172982216, 0.9052734375, -0.4757625461, -0.1336626112, -0.3802568913, -0.834135294, -0.4136650264, 0.870855391, -0.213259533, 0.5385556221, 0.7914296389, 0.6144044399, -0.0120145399, 0.186291635, 0.241134122, 0.2081335187, 0.0654606298, 0.4169217348, 0.7177211046, -0.2687831223, 0.3935434818, 0.0051820101, -0.3473453224, -0.2947219014, -0.9355369806, -1.140742898, -0.2585987747, -0.3881115913, -0.5287762284, 0.2571521103, 0.7577693462, 0.7171326876, -0.7768219113, -0.2202580422, -0.0821282566, -0.0216734353, -0.295999825, -0.1532031596, 0.6758695245, -0.074946709, -0.5655887723, 0.1122365147, -0.0660836771, 0.3142835796, -0.0639801621, 0.1655689329, -0.2575049698, 0.4254963696, 0.5783987641, 0.2515713274, -0.3763263822, -0.2685762942, -0.220396623, -0.2476545572, -0.1944165975, 0.3893062472, -0.7004855275, 0.2530940175, 0.4654895663, 0.9094269276, 0.3176531494, 0.2641015649, 0.4773450792, -0.3800664544, 0.0261771884, 0.4437791407, 0.1005656868, 0.1145035625, 0.0220072996, 0.5539776683, -0.26193887, -0.5969877243, -0.5335490704, 0.283100158, -0.8474849463, -0.0953510553, 0.874440372, -0.5205584764, -0.3201175034, -0.2638808489, -0.4145019352, 0.185956791, 0.0126009416, 0.942789197, 0.976557672, 0.020639671, 0.0092267413, -0.5954067707, 0.4709756374, 0.7328253388, -1.0810871124, -0.4328889251, 0.3113204241, 0.3455139101, -0.0001023744, 0.6592882276, 0.0382466316, 0.3624297678, -0.0266533848, -0.1281273961, -0.0065330705, -0.6597841978, -0.3791095912, 0.1160602719, 0.2044772357, 0.1826164275 ]
http://arxiv.org/abs/2407.03020v1
http://arxiv.org/pdf/2407.03020v1
Exploiting Dialect Identification in Automatic Dialectal Text Normalization
2024-07-03T11:30:03
2024-07-03T11:30:03
Bashar Alhafni, Sarah Al-Towaity, Ziyad Fawzy, Fatema Nassar, Fadhl Eryani, Houda Bouamor, Nizar Habash
cs.CL
cs.CL
Dialectal Arabic is the primary spoken language used by native Arabic speakers in daily communication. The rise of social media platforms has notably expanded its use as a written language. However, Arabic dialects do not have standard orthographies. This, combined with the inherent noise in user-generated content on social media, presents a major challenge to NLP applications dealing with Dialectal Arabic. In this paper, we explore and report on the task of CODAfication, which aims to normalize Dialectal Arabic into the Conventional Orthography for Dialectal Arabic (CODA). We work with a unique parallel corpus of multiple Arabic dialects focusing on five major city dialects. We benchmark newly developed pretrained sequence-to-sequence models on the task of CODAfication. We further show that using dialect identification information improves the performance across all dialects. We make our code, data, and pretrained models publicly available.
[ -0.5291833282, -0.6109440327, 0.3727308512, 0.2589184642, -0.5364415646, -0.0482554808, -0.5131684542, -0.5435132384, 0.5030563474, 0.6441833973, -0.1879175603, -1.0439332724, -0.6788066626, 0.3562387824, -0.5145472884, 0.8954012394, 0.1910378337, -0.1606678367, 0.2623904049, -0.4338613153, -0.4117010236, -0.860252738, -0.6495723128, 0.0979998484, 0.3876523972, 0.4897882938, 0.9350547791, 0.6414174438, 0.1826680601, 0.3894255161, -0.0992231146, 0.0656248331, -0.4868477583, -0.0635558069, 0.053443972, -0.2554056644, -0.3386504352, -0.431542784, 0.6955923438, 0.9651519656, -0.0745530352, 0.3175551593, -0.1391587108, 0.9351135492, -0.6585903764, 0.2845415771, -0.7012434602, -0.286758393, -0.550529182, 0.3857445419, -0.0137680434, -0.7546823025, 0.1066639498, -0.2478670478, 0.3118360937, -0.3406645954, 0.932287991, -0.2442746609, -0.7348005772, -0.3256498277, -0.7180529833, 0.5664739013, -0.9689925909, 0.2510534525, 0.3406384587, 0.2864069343, 0.2735976279, -0.6596066356, -0.5846478939, 0.0522680841, -0.1356593817, -0.1957095563, 0.0617905706, 0.1541807801, 0.0582746044, 0.2054941952, -0.4104470015, -0.1549405903, -0.4431585968, -0.1140771136, 0.7426156402, -0.0593470037, 0.2792008221, -0.1094925851, -0.1991583109, 0.0405093133, -0.47021088, 0.1152534187, 0.4460896254, 0.6259377599, -0.2385911196, 0.1842731088, -0.4145117104, 0.6780160666, -0.0811998099, 0.109681204, 0.6086426377, -0.3044735193, -0.2284571081, 0.0984975025, 0.6561384797, 0.2951417863, 0.8190708756, -0.0072286297, -0.3838598728, -0.2915864885, 0.4156792462, -0.6478744745, -0.1280627847, 0.1114010066, -0.421957016, -0.2652472258, 0.3501818776, -0.7906028628, -0.2971220016, -0.2286448628, 0.2043861598, -0.4991829395, -0.3186306953, 0.0752377585, -0.0437467061, 0.1794806272, 0.1361186355, -1.1679697037, 0.487829864, 0.5758089423, 0.7654141784, -0.0603953041, -0.2455011308, 0.1229243279, 0.1788084209, -0.5891522765, 0.5403251648, -0.489962846, -0.4085222483, 0.507139504, -0.1530476809, -0.143129617, -0.8888209462, 0.5851225853, -0.7619618177, -0.3566420674, -0.2274966836, -0.1270585954, -0.5168969631, -0.0371635668, -0.9224805236, 0.8673323989, 0.0765717104, -0.4269372523, 0.1767650247, -0.400485158, -0.755091548, -0.0853425413, 0.0184102133, -0.5060247183, 0.2295895815, 0.4119041562, 0.3235852122, -0.0564393252, 0.3958132863, -0.0171722453, -0.3518759906, -0.005940835, -0.2263987362, 0.8575755358, 0.2404611558, -0.2411621511, 0.096662648, -0.8921456933, 0.0477460921, 0.0559868068, -0.1211212948, -0.3990663886, 0.0397435389, 0.4078823328, -0.1218460351, 0.3028689921, -0.3524604142, 0.0039626346, -0.6889640689, 0.176232338, 0.553160429, 0.0758804604, 0.4103905559, -0.5605504513, 0.3864507377, -0.0336978771, -0.1668257117, -0.0449997, -0.6235503554, -0.7843505144, -0.4820435047, 0.5582211018, 0.369912833, -0.2517139316, 0.4225958884, -0.3898044825, -0.4931696653, -0.4585860074, 0.2288990021, 0.2071245164, 0.1718692183, 0.418107003, -0.6508539319, -0.7090126872, -0.9165791273, -0.32191208, -0.0968901217, -0.0200539809, 0.0734314919, 0.0627722517, -0.4488560557, 0.9904197454, -0.2162436694, -0.348826766, -0.4588703811, 0.531878531, 0.2686826289, 0.2159846276, 0.790201664, -0.678286314, -0.6405655742, -0.0563931614, -0.3879496753, -0.6561203599, -0.2372296751, 0.0568915755, 0.2886191308, 0.4592612982, -0.1134105474, 0.4654040039, 0.6178966761, -0.0840363503, 0.4947367609, 0.081744805, 0.1831642389, -1.0270568132, 0.0680859312, -0.2343683392, -0.3855419159, -0.8498873711, 0.1689046025, -0.0313634463, -0.2149431556, -0.130889833, 0.4170921445, -0.4760493338, 0.1191733778, -0.2443227619, -0.0720308423, -0.1803246737, 0.3200238049, 0.2530064881, 0.6022282243, 0.336806953, -0.2851654291, 0.1147659197, 0.1095290259, -0.319348067, 0.0256003086, -0.545320034, 0.4228593707, -0.211308822, 0.109400481, -1.2163299322, -0.1646889895, 0.0539475344, -0.2215221375, -0.158608228, -0.1911919266, -0.2850092351, 0.2284954488, -0.2205285132, 0.7040559649, 0.4629296064, -0.4120859504, 0.7512446642, 0.3598693013, -0.5093643665, -0.3166431487, -0.2888380885, 0.1806287318, -0.1895897239, -0.6495762467, 0.3006810248, 0.3693463206, -0.4229610562, -0.328774631, -0.004328785, -0.5399241447, 0.0221242532, 0.4941675663, 0.0971259475, -0.3782271445, 0.1064971164, 0.1413271725, 0.0941027626, 0.089973934, 0.0061510457, 0.6971090436, -0.1247205958, -0.291475594, -0.6220288873, 0.7805551291, 0.3987233043, -0.3329545557, 0.6912276745, 0.6116998792, -0.2318624109, -0.2329823375, -0.7765632868, -0.0850289911, -0.5220221281, 0.282176137, -0.4396045208, -0.5357363224, 0.5263557434, -0.2863677144, -0.218529284, 0.3239150941, 0.4949579239, 0.0521538369, 0.5170137882, 0.6353902817, -0.6307367086, 0.4298777878, 0.0212407038, 0.1809832454, 0.0346046723, 0.1815228015, -0.6586507559, -0.3772857785, -0.3969953656, -0.4489881992, 0.5199649334, 0.0283097532, -0.1755874306, 0.3520611525, 0.0241671149, 0.4638301432, 0.6374527812, 0.1140328869, 0.4379172027, 0.1011673287, 0.06497816, 0.069659248, -0.3946781456, -0.6876240373, 1.2759128809, 0.0274496134, 0.394859165, 0.3370045125, 1.185781002, 0.4658125937, 0.2747061253, -0.6291487217, 0.5211970806, -0.1572203189, -0.4397217631, -0.2622635663, -0.1160441414, -0.9452648759, -0.037709035, -0.1671797037, -0.6898365021, 0.3412616849, -0.0331650488, -0.4097185433, -0.1153494418, -0.688185811, 0.8168327808, 0.1489036232, 0.2727024853, -0.3628157675, -0.8586938977, 0.0321430452, -0.3638711572, 0.571262002, 0.0487529933, -0.0146295996, 0.5928900838, -0.5460573435, 1.0625699759, 0.0715480447, 0.0467656404, 0.2618802786, -0.0768367797, 0.3272258639, 0.0009743047, -0.2869773805, 0.6881473064, 0.2958049774, -0.6466417909, -0.4546518624, 0.4746594131, -0.8723167181, -0.5808677673, -0.3020872474, -0.2557106912, -0.4397066832, 0.325181514, 0.0416007563, 0.609392941, -0.5805281997, -0.068249844, 0.2035178393, 0.1197141632, 0.4652263224, 0.4028505683, -0.1498168707, -0.400544852, 0.75414747, 0.0012891579, 0.365457356, 0.069226712, 0.0568276756, -0.0654198229, -0.8311901689, -0.4977892935, 0.2075843215, -0.7421575785, 0.0846573636, -0.32684654, -0.2762646079, -0.7805763483, -0.3419081867, -0.2509005368, -0.4825682342, -0.0111377407, -0.0553330891, -0.0380254872, 0.8812690973, -0.1511335522, 0.2534266114, -0.9459588528, 0.5243002176, 0.3201495409, -0.1302231401, -0.1626261771, -0.4321888089, -0.2976042628, 0.0091536613, 0.0683144629, -1.3250222206, 0.4266647398, 0.5413432121, 0.1660011113, 0.6958108544, 0.21989654, 0.5916111469, -0.6336202025, 0.689032495, -0.2286460251, -1.1726741791, 0.227922976, -0.2743353546, 0.4133448303, 0.9334260821, 0.5369499326, -0.780158937, -0.4478729665, -0.307692498, -1.1527311802, 0.3342840672, 0.1329601407, 0.5591993332, -0.2197118998, 0.2027166486, 0.071214579, 0.3861977458, -0.4691018164, -0.1047933549, -0.200954169, -0.4093292356, -0.1755465269, -0.5327503681, -0.3841640055, -0.2454794496, 0.4420695007, -0.1273916662, 0.1117214039, 0.1690666527, -0.3506378233, 0.1152547076, 0.2020658106, 0.2970846295, 0.6578390598, -0.2175508738, 0.1059741676, 0.0982334316, -0.5046436191, 0.0317357816, 0.1139537692, -0.1972291172, 0.4750674367, 0.6576562524, 0.3958425224, 0.0362942331, -0.7041291595, 0.5902407765, 0.30464679, 0.0119966865, -0.444062233, -0.2204107344, 0.0283708032, 0.15233621, 0.3195510507, 0.0753284544, 0.2876381874, -0.6231327653, 0.1713875979, 0.3632840216, -0.2457050681, -0.2359400988, 0.3000649512, 0.3632439375, -0.402123183, 0.4636756778, 0.0200476032, -0.6301788688, 0.8267244697, 0.4126086533, 0.9603456259, -0.1745845228, 0.2836764753, 0.3274382353, 0.2698073685, 0.2834545672, 0.4052088857, -0.3234998286, -1.0256476402, -0.0531838685, -0.712608397, -0.3284193277, -0.2419539094, -0.7648203969, 0.2457160801, -0.6251894236, -0.1927425414, 0.133158356, -0.3633872867, -0.4612703323, 0.2730090618, 0.4929157495, 0.7537327409, -1.1370018721, 1.0824110508, 0.6495751739, -0.1708917767, -0.8598307967, 0.4898586273, 0.3088298142, -0.6764965057, 0.7052980065, 0.1869781464, -0.4092980921, 0.1235490143, -0.2815450132, -0.6171464324, 0.5552166104, 0.1625696123, -0.2520312965, 0.1026357263, 0.5699026585, 0.6124484539, -0.3811020553, 0.2542583644, 0.5625401139, 0.5421375036, -0.1886011511, -0.9070524573, 0.17005077, -0.2582215965, 0.3276547492, -0.0039928434, -0.5606000423, 0.722360909, 0.0186195597, -0.2815418541, 0.3340064883, 0.6806148291, -0.3240374327, 0.2120191604, 0.5766626596, 0.3624594808, 0.5718659759, -0.00338444, 0.6170338988, -0.5102314353, 0.1192378402, 1.0009105206, -0.3474391997, 0.924354732, 0.4588693976, -0.0649196208, 0.7803161144, 0.3970545232, 0.3923523724, 0.5327237844, 0.1885818541, -0.6907920241, -0.034960717, 0.1043532938, -0.4301942587, 0.5744335651, 0.1776456833, -0.4092665017, -0.290995717, -0.2227978557, 0.1709903479, 0.5256969333, -0.1342697144, 1.0193821192, -0.2715494633, -0.4331621826, 1.1291829348, 0.3384095728, 0.4128382802, -0.7417535186, 0.0983854458, -0.3588064313, -0.0008999789, -0.1702201068, -0.007824067, 0.6546924114, -0.2014618367, -0.0643491372, -0.1897208393, 0.5178993344, -0.6556584239, -0.4303220809, 0.2211731076, 0.3647881448, 0.0005979979, -0.3467727304, -0.2318705022, 0.1182370782, -0.0414010286, -0.0180474296, 0.196770668, 0.4392825663, -0.0834845006, 0.1684552133, 0.4940416217, 0.246609807, 0.1924010068, 0.2394319922, 0.8587531447, -0.7182846069, -0.2927927673, -0.8598352075, 0.121395871, -0.0966487527, -0.4082700312, 0.8111276031, 0.5737701654, 0.7885797024, -0.3670370579, 0.8465260267, 0.0126206158, 0.504573226, -0.4668984115, 0.8348823786, -0.3677281439, 0.2002962679, -0.3147227764, -0.7037870884, -0.3295516074, 0.4838523865, -0.3321600854, -0.2166733146, 0.7000786066, 0.9923233986, -0.0976042747, 0.2782307565, 0.2959539592, 0.251747936, -0.0893939957, 0.3207616508, 0.3312464952, -0.0735505894, 0.2864911854, -0.3767479658, -0.2107402086, -0.2550358474, -0.7056099176, -1.0095143318, -0.5811359882, 0.0204433016, -0.3752143979, 0.5871127844, 1.1260873079, 0.7057337761, -1.2578682899, -0.8663038611, 0.115263775, 0.0608547106, -0.5113688707, -0.1482222229, 0.1652679443, -0.519411087, -0.943446219, 0.4035237432, 0.0048917122, -0.2230364233, 0.107896544, 0.4216879308, -0.3422755003, 0.3014459312, 0.3593046665, 0.4221765995, -0.4081873, -0.2963463068, -0.5919377804, -0.2602041364, 0.2327921242, 0.8912129402, -0.659229815, 0.5053157806, 0.3767948151, 0.7549822927, 0.4300360382, 0.4487897158, 0.8638343215, -0.8920974731, 0.4310064614, 0.2737230361, 0.2117712647, 0.2105268836, -0.0056756972, 0.398167789, 0.3680597544, -0.2811561823, -0.3307549655, 0.2895671725, -0.9184502959, -0.136041671, 1.1584004164, -0.2078499049, -0.0637720525, -0.5029968023, -0.450006485, 0.091210708, -0.474014461, 0.9773494601, 0.7543998957, 0.444235146, 0.1400913447, -0.4112667143, 0.6995913982, 0.5990992785, -0.5724666715, -0.2046763599, 0.3654302955, 0.2909221947, -0.0058964049, 0.9616592526, 0.1504354775, 0.0410239585, -0.2386820614, 0.0379148237, 0.1349071115, -0.32271716, -0.559704423, 0.4166817069, 0.1238693222, -0.2064545006 ]
http://arxiv.org/abs/2407.03007v1
http://arxiv.org/pdf/2407.03007v1
What Affects the Stability of Tool Learning? An Empirical Study on the Robustness of Tool Learning Frameworks
2024-07-03T11:06:05
2024-07-03T11:06:05
Chengrui Huang, Zhengliang Shi, Yuntao Wen, Xiuying Chen, Peng Han, Shen Gao, Shuo Shang
cs.CL
cs.CL, cs.AI
Tool learning methods have enhanced the ability of large language models (LLMs) to interact with real-world applications. Many existing works fine-tune LLMs or design prompts to enable LLMs to select appropriate tools and correctly invoke them to meet user requirements. However, it is observed in previous works that the performance of tool learning varies from tasks, datasets, training settings, and algorithms. Without understanding the impact of these factors, it can lead to inconsistent results, inefficient model deployment, and suboptimal tool utilization, ultimately hindering the practical integration and scalability of LLMs in real-world scenarios. Therefore, in this paper, we explore the impact of both internal and external factors on the performance of tool learning frameworks. Through extensive experiments on two benchmark datasets, we find several insightful conclusions for future work, including the observation that LLMs can benefit significantly from increased trial and exploration. We believe our empirical study provides a new perspective for future tool learning research.
[ -0.3043348789, -0.693723619, 0.5134311318, -0.1188199669, -0.265686363, 0.2717529237, -0.3412882388, -0.5923262835, -0.4353045821, 0.0017160074, -0.3093191683, -0.402438134, -0.7398679256, 0.1071427688, -0.4198252261, 0.733384788, 0.0381246656, 0.3063470721, -0.5479916334, -0.471183598, -0.5472281575, -0.6392798424, -0.7046205997, -0.4847409427, 0.5980605483, 0.561047256, 0.7473880649, 0.8042291999, 0.5433280468, 0.2548991144, -0.176769197, -0.2311773598, -0.7159009576, 0.4641624093, -0.1488459706, -0.9444648623, -0.0225161202, -0.0072984924, 0.6313280463, 0.8235353827, -0.1149081513, 0.0876726955, 0.4499901533, 0.1989982277, -0.539280951, 0.020235816, -0.6740506291, -0.1807641685, -0.2627196908, 0.139285773, -0.3936119378, -0.2746613026, 0.3262856603, -0.4887933135, 0.2561956048, -0.124130778, 0.6268378496, 0.2400670946, -0.3403074741, -0.3591859341, -0.7826513052, 0.82845819, -0.6668804288, 0.7607374191, 0.2328116745, 0.3589220345, -0.5251122117, -0.6441972852, -0.0664073452, -0.1142238602, 0.1601764709, -0.2013964504, 0.4305440784, -0.1988164335, 0.5333948731, 0.2705476582, -0.1389633119, 0.7721843719, -0.4458066821, -0.2519909143, 0.4098854363, 0.2697542608, 0.010885166, 0.35346964, -0.1473123133, -0.5219426751, -1.0785138607, 0.5180795193, 0.4618607759, 0.5091457963, -0.2043472975, 0.3705339134, 0.3015875816, 0.4298071563, -0.0300861951, -0.7454405427, 0.34634009, -0.1602237374, -0.0920145512, -0.2059398293, 0.5714920759, 0.2318066508, 0.0562178493, -0.4130345285, -0.3265598416, -0.1216367781, 0.340885222, -0.885173142, -0.0375645608, 0.1499831229, -0.335377723, -0.391546905, 0.1037716046, -0.4940235913, -0.6710732579, -0.2499456257, 0.2750721872, -0.1709862649, -0.4554315507, -0.2158970982, -0.1303134561, 0.1959052682, 0.4331895113, -0.5759726763, 0.3192926049, 0.6010268331, 0.9892085195, -0.5210533738, -0.274718076, -0.8714693785, -0.239062205, -0.4917959273, 0.3865182102, -0.525256753, -0.7913960814, 0.106591247, 0.2115875185, 0.0923704058, -0.7362311482, 0.2951158881, -0.5530058742, 0.0683012232, -0.6421268582, -0.3907262683, -0.2545566261, 0.0523949377, -0.6731929183, 1.2551162243, 0.0002067535, -0.7631835938, 0.9866496921, -0.276868403, -0.4732220769, -0.2770778239, -0.346323818, -0.6646310687, 0.4408403933, -0.1628445536, 0.5522444248, -0.3255766928, 0.217973724, -0.9604091644, -0.5452013016, 0.3828209639, -0.2977881134, 0.720089972, 0.0450265221, -0.4184125364, 0.258431673, -0.7187316418, -0.3483394682, 0.0894059241, -0.4090512395, -0.1278776973, 0.2717710435, -0.0640253127, 0.573181808, -0.2395001948, -0.6519728899, 0.0848677978, -0.5905709863, 0.1988653541, 0.9328308105, 0.007454107, 0.4111923873, -0.156330511, 0.8230896592, 0.2693775892, -0.1151129529, -0.1028040797, -0.0653251931, -0.5406417251, 0.1771961153, 0.5804941058, 0.3448781967, -0.5216057301, -0.1597900093, -0.1022316813, -0.5547102094, -0.2355071902, 0.6733899713, 0.2151463032, 0.3798332512, -0.037557207, -0.4956652224, -0.2718054652, -0.6120744348, -0.0861496553, -0.2369006276, 0.006813942, 0.1503048539, 0.4747632146, 0.1059584841, 0.9016430378, 0.079387404, -0.1149813756, -0.3750392497, -0.0356115103, 0.0664843321, 0.3745173514, 0.8007764816, -0.6661680937, -0.4035707414, -0.0382816195, -0.5774895549, 0.0524824485, -0.1211739033, 0.1311862171, 0.2319119424, 0.7245923877, -0.3143029213, 0.484644413, 0.4117427468, 0.0159800928, 0.5258696079, -0.0409971811, -0.3561661541, -0.9288988113, 0.0843961835, 0.2340845019, -0.2540350556, -0.2091845423, -0.1445619017, 0.174347192, 0.1581753641, -0.6913124919, 0.4812372923, -0.4203608334, -0.2228040844, -0.2932699323, 0.2744933963, -0.2088221312, 0.1540971249, -0.2959127426, 1.1841242313, 0.7952369452, -0.6895890236, -0.0207209084, -0.1146240905, -0.2507342696, 0.5161309838, -0.7969707847, -0.0187943876, 0.1490562409, -0.1278933436, -0.6599606276, -0.1147484332, 0.014208111, -0.2119757831, 0.6154252291, -0.1384452879, -0.8899843693, -0.032213755, -0.3007754982, -0.0721001849, 0.3558068275, -0.5166378021, 0.6522443891, 0.3200572431, 0.0506228432, -0.717051506, -0.2931193709, -0.1664670855, -0.5336506963, -0.2681262195, -0.2774342299, -0.0365961492, -0.4269488752, -0.2876422107, -0.555537641, 0.2792220116, 0.7429893017, 0.6152322292, 0.0337518938, -0.1191534474, 0.4811520875, -0.0226545129, -0.0481809378, 0.3416242599, 0.0221229587, 0.2520142198, -0.1365253478, -0.6365248561, 0.0725869462, -0.1402959526, 0.8377297521, -0.1160455868, 1.0439566374, 0.7178866863, -0.1422270387, -0.3092012405, -0.5119420886, -0.3330511153, -0.549241066, 0.4011696875, -0.367112875, -0.8117367029, 0.7428634167, -0.4916646779, 0.5451455116, 0.1901151538, 0.5902561545, -0.2102824301, 1.2020757198, 1.0055297613, -0.1726711839, 0.6117378473, -0.1997407973, -0.153679803, -0.7970561385, -0.1145362556, -0.5148724914, -0.3139778376, -0.4498965144, -0.0477928109, 0.3561390638, 0.2915088832, -0.0873030946, 0.0119909849, -0.0333361924, 0.3831979036, 0.371819675, -0.0853324458, 0.1690190285, -0.0484933183, -0.6285818219, -0.0317359641, -0.8365152478, -0.6197621822, 1.3593759537, 0.6435592771, 0.8722705245, 0.1304120123, 0.3983681798, 0.0117484676, 0.2569254041, -0.7313041091, 0.3656399846, 0.2880759239, -0.4388835132, -0.111377202, -0.1673113108, -0.9898943305, 0.3099134266, -0.3212385178, -0.8006269932, 0.3355222344, 0.1267402768, 0.0091516199, 0.2826171815, -0.7525069714, 0.7957786918, -0.6026816964, -0.9983377457, -0.0401515886, -0.6882048845, -0.0654041991, -0.3295013905, 0.3820729554, -0.1560126543, -0.0667096302, 0.660915494, -0.0789605379, 1.1605198383, -0.2898427546, -0.3514793813, 0.0052427598, 0.2583547831, 0.5411536694, 0.2370721847, -0.3635957837, 0.0087781036, 0.0741502196, -0.1422318071, -0.6067828536, 0.7109526396, -0.7190034389, -0.7722926736, -0.3880805969, -0.4003723264, -0.476560086, 0.4175593555, 0.1031794176, 0.6971227527, -0.0967614576, 0.7171723843, 0.7230529785, -0.0085696783, 0.5232431293, 0.3279889226, -0.4876892865, -0.0746367797, 0.7003824115, 0.3940554857, 0.6597308517, -0.2431695759, 0.0222838633, -0.1654039621, -0.9413315058, -0.5001282692, 0.1605115682, -0.9716709852, -0.177438125, -0.2238855064, 0.163647458, 0.1226610839, -0.2329920828, -0.3673345447, -0.1371780634, -0.4870743454, -0.4442827404, 0.2862967551, 0.9170091748, 0.0658905953, 0.3703730702, -0.5695067048, -0.3200497925, -0.0888292044, 0.7415738106, -0.0244436674, -0.1960261762, -0.6308060288, 0.0197629258, -0.3965964913, -0.6737083793, -0.2280682474, 0.2795006335, 0.9454439878, 0.5980160832, 0.0963506475, 0.4994715154, -0.0716834888, 0.6795710921, -0.1698592603, -0.6207990646, 0.2520159483, -0.3763662577, 0.4416627288, 0.7654829025, 0.344639957, -0.0894883648, -0.5679444075, -0.4143360853, -0.7396785021, 0.7349017859, -0.0217376016, 0.0256124996, 0.4573979974, 0.534047842, 0.4809009135, 0.1734906584, -0.604988277, -0.1186427772, 0.0057587666, 0.0261637811, -0.1280199289, -0.1571521908, -0.1093443632, -0.218928352, 0.6338859797, -0.2663689256, -0.155226931, -0.4043205678, -0.3066359162, -0.1942020208, 0.0267513525, 0.3643141389, 1.0792541504, -0.1614200473, 0.0821511969, 0.5537672043, -0.5641702414, 0.1517062932, -0.293918699, -0.0535818264, -0.2506654859, 0.3554731905, 0.7718961239, 0.4512397051, -0.8524634838, 0.344281733, -0.1041149497, -0.0836229101, -0.2752220333, 0.4573952854, 0.1590297222, 0.2643482089, 0.2381864488, 0.0641844794, -0.1479478627, -0.4185949266, 0.0303310268, 0.5485527515, -0.4955649376, -0.3694511652, 0.5743948221, 0.1985279918, -0.2700994313, 0.4755243063, 0.0407212414, -0.4157966375, 0.4577257037, 0.5174051523, 0.6493605971, 0.0218928009, -0.1090297177, 0.1437861919, 0.5017818213, -0.1528450996, -0.0851256996, -0.0499031805, -0.4951031804, -0.3833358288, -0.5384130478, -0.4941444099, 0.0135142766, -0.6290752888, 0.3767653108, -0.5144870281, -0.5310521722, -0.6714065075, -0.0558888242, -0.8355712891, 0.1362485588, -0.1772810519, 0.9785889387, -0.7955701947, 0.9421386719, 0.7750082016, -0.208738938, -0.7403641343, -0.058186464, 0.3877261877, -0.3827894926, 0.4695053101, 0.3225830495, -0.5851994157, -0.173505038, -0.395218879, -1.2054008245, 1.0155590773, 0.6100309491, -0.2690597475, -0.0112298336, 0.0626130775, 0.571323216, -0.1880932152, 0.0570384637, 0.4303713143, 0.0775525942, 0.167858243, -1.2349501848, -0.0765729547, -0.2633334696, -0.0427160412, 0.19306916, -0.3270322382, 0.3728585839, -0.2734896243, -0.5206824541, -0.2854792178, 0.4157546461, 0.2524981797, 0.0318814851, 0.5481839776, 0.4132333696, 0.5095322132, -0.1784716845, 0.9292602539, -0.3157454133, 0.1987467855, 0.9512444735, -0.2627439797, 0.943680346, 0.5689362884, -0.1764998287, 0.5395656228, 0.8665230274, -0.0605522655, 0.2599725127, -0.0190003179, 0.2035883367, -0.3057667613, 0.1143619269, -0.4027280509, 0.4719058275, 0.482262522, -0.4116643369, -0.0724501684, 0.1833975017, 0.0339297727, -0.1831741184, -0.0090325167, 0.8151397705, 0.1270826757, -0.3338526487, 0.3211600184, -0.2808343768, 0.5775833726, -0.7250971198, 0.0057221763, 0.2325821519, 0.4573928416, -0.1896283031, -0.5179395676, 0.2300904691, -0.3070948422, 0.107673049, -0.0231521018, 0.6997928619, 0.1019971594, -0.4985542595, 0.4461356997, 0.7906178832, -0.18802616, 0.4425537884, -0.6073638201, 0.5335552692, -0.4469203055, -0.4034638703, 0.8108680844, 0.4179840088, 0.1027529314, 0.9172096848, 0.6313464642, -0.0885118246, 0.048617132, -0.2554169297, 0.8865127563, -0.1016592681, -0.3199607134, -0.7065306902, 0.7163621783, -0.1705847085, -0.295199573, 1.3100597858, 0.4828176796, 1.2086282969, 0.3052743673, 0.6532377005, 0.0955476537, 0.5359731317, -0.4483389854, 0.7008085251, -0.6492292285, 0.7290021777, -0.2115857303, -0.8410587907, -0.2494153231, 0.5105876327, -0.5300282836, 0.2991414666, 0.4581225216, 0.5635994077, -0.1428335905, -0.1889077425, 0.1557103097, -0.0290276576, 0.5186716318, -0.1493044347, 0.5889078975, 0.0070401421, 0.4724371731, -0.5941557288, 0.2168916166, -0.2951537967, -0.9175696373, -1.0679906607, -0.5546532273, -0.17596744, -0.3798857033, -0.031723775, 0.9631827474, 0.6737236977, -0.7129094601, -0.4378881752, -0.0353169404, 0.3218100369, -0.2577311695, -0.1963580102, 0.3143934309, -0.4185046554, -0.4707312584, 0.3189512789, 0.0875526369, 0.0643528476, -0.4490405023, -0.1513108611, 0.0838986859, -0.1922658533, 0.4700499177, 0.4031185508, -0.7718852162, -0.3554828763, 0.1313524842, 0.150470525, 0.2311356217, 0.8290071487, -0.9722472429, 0.6733273864, 0.0829078257, 0.7104380727, 0.3205426037, -0.2001354545, 0.8951719999, -0.6824671626, 0.1454637349, -0.1705433428, 0.4427631199, 0.377438277, -0.1724623144, 0.4731802642, 0.0657323599, -0.5781688094, -1.2721084356, 0.1649695039, -0.3725591302, -0.1022627279, 1.0128772259, -0.1430935562, 0.0414415933, -0.6284660101, -0.1865248233, 0.1002938151, -0.2876334786, 0.6795567274, 0.7738831639, -0.1771077067, -0.3319328427, -0.7268602252, 0.4320764244, 0.3013234437, -0.4504740238, 0.1693059355, 0.4017521143, 0.6208478212, 0.0270377696, -0.0726139098, 0.0677905753, 0.3326065838, -0.020856116, -0.3808574378, -0.3229786158, -0.4419761896, -0.4481579959, 0.4311169684, 0.7798668146, 0.2122208327 ]
http://arxiv.org/abs/2407.03005v1
http://arxiv.org/pdf/2407.03005v1
Human-like Linguistic Biases in Neural Speech Models: Phonetic Categorization and Phonotactic Constraints in Wav2Vec2.0
2024-07-03T11:04:31
2024-07-03T11:04:31
Marianne de Heer Kloots, Willem Zuidema
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
What do deep neural speech models know about phonology? Existing work has examined the encoding of individual linguistic units such as phonemes in these models. Here we investigate interactions between units. Inspired by classic experiments on human speech perception, we study how Wav2Vec2 resolves phonotactic constraints. We synthesize sounds on an acoustic continuum between /l/ and /r/ and embed them in controlled contexts where only /l/, only /r/, or neither occur in English. Like humans, Wav2Vec2 models show a bias towards the phonotactically admissable category in processing such ambiguous sounds. Using simple measures to analyze model internals on the level of individual stimuli, we find that this bias emerges in early layers of the model's Transformer module. This effect is amplified by ASR finetuning but also present in fully self-supervised models. Our approach demonstrates how controlled stimulus designs can help localize specific linguistic knowledge in neural speech models.
[ -0.1793739498, -0.4100429118, 0.2095708549, 0.0956020728, 0.0743083432, -0.279640615, -0.2554010749, -0.6149644256, 0.0624535196, 0.6823256016, -0.5544080138, -0.1213783175, -0.142436251, -0.1376253664, -0.0226785336, 0.5981504917, 0.3708896339, 0.371928215, -0.0259622186, -0.2071036547, -0.5324645042, -0.8851473927, -0.3697817922, -0.7975862026, 0.4538661242, 0.3278733194, 0.6603338718, 0.545968771, 0.2207637727, 0.1844058484, -0.3230774105, -0.1156221554, -0.0584156811, 0.1987843812, -0.2319810987, -0.517075181, -0.1958300918, -0.0433251075, 0.4505950809, 0.8121858239, -0.3431739211, -0.0521277897, 0.2130333781, 0.3272953928, -0.3353768289, -0.0665561557, -0.6417620778, 0.2871446311, -0.2558849156, -0.0772162303, -0.3517337441, 0.0793279707, 0.2953566909, -0.4987317324, 0.4431757629, -0.2462245971, 0.5993748903, 0.5713561773, -0.5141690969, -0.181445837, -0.8556933403, 0.661403656, -0.4382527769, 0.832392931, 0.5855628848, -0.0171315372, -0.1150186807, -0.508497715, -0.3731942773, -0.1550434381, -0.1492279172, 0.0303073656, -0.2333126366, 0.3311854601, 0.0689525306, 0.1367809027, -0.6378720403, 0.528434217, -0.4658061266, -0.5740860701, 0.3977423608, -0.1310850978, 0.1563162506, -0.4095076621, -0.2675431371, -0.1032828838, -0.5437794328, 0.2653594911, 0.5600528121, 0.2166361511, -0.0258450247, 0.6794244051, 0.1179307774, 0.4696800113, 0.1376580298, 0.0972798467, 0.2394524664, -0.0636691749, 0.0004031738, 0.2782934904, 0.6788629889, 0.1471645534, 0.4188181162, -0.0702055097, -0.2333363444, 0.2162533998, 0.1729786992, -0.3964064717, -0.3232405186, 0.0750290379, -0.4405795336, -0.1731246263, -0.1665321738, -0.3743356764, -0.6605762243, -0.4245197177, 0.3414379954, -0.1605323553, -0.4562480152, 0.0643247813, -0.1896533817, 0.1065862998, -0.1877640933, -1.2196458578, 0.5250530243, 0.517060101, 0.2720139921, 0.0161690898, -0.3459343016, -0.4057384431, -0.1434113234, -0.2457331568, 0.6148594618, -0.4725550711, -0.4763940275, 0.0337622352, -0.0327404588, 0.3225902319, -0.9159342647, 0.494122684, -0.3976181746, 0.0370599926, -0.353844285, -0.3598659039, 0.0758601949, -0.3527362645, -0.5555816889, 0.8052366972, 0.0114703858, -0.5112325549, 0.3296724558, -0.2073121369, -0.6221238375, -0.1818265468, -0.5222164989, -0.225920096, 0.3016571105, -0.096988976, 0.0983617008, -0.163080737, 0.1466683447, -0.067342937, -0.104194127, 0.5879387856, -0.4377423227, 0.776053071, 0.3108053803, -0.2506297231, 0.2442868352, -0.8761875629, -0.0209733956, 0.0151904486, -0.4200025797, -0.4004353285, 0.1192776039, 0.1465194374, 0.1510983706, 0.0961407274, -0.4654239416, 0.1190074831, -0.4073232412, 0.8923365474, 0.3613933623, 0.1428567469, 0.8893536925, -0.0108140744, 0.2229540199, 0.0516439304, 0.1212039441, 0.070923999, -0.4631866813, -0.7589100003, 0.2260833979, 0.2532991469, 0.529553175, -0.0735376179, 0.3732249439, 0.2465381026, -0.0312571675, -0.8389903307, 0.0676334798, 0.4082771838, 0.4596834481, 0.3965325654, -0.487516135, -0.6345000267, -1.2980400324, -0.1143568009, -0.1758528799, -0.579285264, 0.3661078811, -0.0475793704, -0.0904120952, 0.9432961345, -0.1435297877, -0.6077468395, 0.0696272925, 0.0843715966, -0.1292110234, 0.622235477, 0.2098576725, -0.7774218917, 0.2181979418, -0.1027187333, -0.4426262379, -0.3078921735, -0.0256853011, 0.1837554574, 0.149502039, 0.5556413531, -0.5792034864, 0.3031907082, 0.2312126905, -0.3839179575, 0.2904632986, -0.1912366599, -0.3400059044, -0.5662632585, -0.2832847834, 0.1681656837, -0.0632814243, -0.8176717162, -0.252929002, 0.0836567283, -0.0467247888, -0.2714404464, 0.4011690021, -0.4949275255, -0.3720524311, -0.2206440419, 0.0791962892, 0.0769036859, 0.5821048617, 0.4977881908, 0.2909699976, 0.3657191396, -0.5771961212, 0.1371890306, 0.2320867777, -0.1993896514, 0.1851304471, -0.763430953, 0.4813958108, -0.0069065602, 0.3751653135, -0.890367806, -0.1172354221, 0.2467418313, -0.7719326615, 0.3195554614, -0.3873468637, -0.1345019788, -0.2204210013, 0.1931552589, 0.7504339218, 0.8221719861, -0.4958028793, 0.4011286795, 0.7477111816, 0.1938950121, -0.2750718296, -1.2177624702, -0.1234112605, -0.0973106995, -0.3398265243, 0.2455193996, 0.0566272065, -0.5345025063, -0.0161899496, -0.2590896785, -0.2900494635, -0.0947152749, 0.3896006048, -0.0960114002, -0.2905998826, 0.0174362287, -0.0103922784, -0.0759119242, 0.2215781808, -0.7956577539, 0.5251270533, 0.2422335297, -0.1436880678, -0.8463903666, 0.1629590243, 0.3679138422, -0.4877182841, 0.1166273803, 0.4605460465, -0.4891238809, -0.2419808954, -0.6410038471, -0.5453761816, -0.4239399135, 0.5045576096, -0.6484177709, -0.8280064464, 0.5083981156, 0.4701324403, -0.3637653291, 0.2101824582, 0.7663052678, -0.0588920712, 0.9483450651, 0.1539812237, 0.0083736712, 0.3095744848, -0.1130861863, -0.1114525124, -0.8986068368, -0.476254642, -0.5168406963, -0.198437348, -0.7567695379, -0.3099142015, -0.021786388, -0.0561968423, -0.0985895842, 0.195326224, -0.7944024205, 0.5911461711, 0.6183933616, 0.0690307319, -0.0667235032, -0.0211589374, -0.1602010727, -0.3358900249, -0.746073842, -0.0614228025, 0.7254564762, 0.6934366226, 0.5541988015, 0.0488601029, 0.3721588552, 0.2529019415, -0.4653831124, -0.9647568464, 0.2377339453, -0.139012605, -0.6191391349, -0.2658797503, -0.1734532565, -0.8931677938, 0.2607699037, -0.1982165724, -0.8919201493, 0.6237392426, 0.2928799987, -0.5588940978, 0.0693834722, -0.6164857149, 0.6400542259, -0.1458686888, -0.317181766, -0.3271767795, -0.8137278557, 0.1115123034, 0.2245692164, 0.2216484398, -0.0327575319, 0.0358482152, 0.5911752582, -0.2686246634, 0.888253212, -0.31821087, -0.2439667135, 0.4305625558, 0.5188065171, 0.1814763546, -0.0403389782, 0.0529513694, 0.2795028389, -0.2358431965, -0.3187872171, -0.347768873, 0.6833806634, -0.9701609612, -0.512193501, -0.1590030044, -0.5722848773, -0.3029843271, 0.0827589706, 0.54949224, 0.6141970754, -0.1027190015, 0.0079965172, 0.8155053854, -0.1164611876, 0.164454028, 0.3496219218, -0.100249283, -0.1539321095, 0.8098740578, 0.3288499117, 0.2729146183, 0.4223599732, 0.3727701604, -0.4533045292, -0.5525730252, -0.2380861491, 0.0918201953, -0.6195293069, 0.1832083613, -0.4015265107, -0.2844973803, -0.4434493184, 0.201127857, -0.4965860248, -0.6330348849, -0.4353736043, -0.0883462653, -0.0509112775, 1.2193491459, -0.3178873658, 0.1782915145, -0.3573595583, 0.3725148737, 0.5880323648, 0.2778604925, 0.1106013507, -0.7898522019, -0.1057271659, 0.0854599923, 0.129437089, -0.8281681538, 0.1220124513, 0.0151193626, 0.2813747227, 0.3808147609, -0.1893474311, 0.1554800868, -0.6493243575, 0.8517338634, 0.1230023205, -0.853339076, 0.4221229851, -0.4827746451, 0.3514521718, 0.2121636868, -0.1291032732, -0.646663487, -0.3489480019, -0.5553833246, -0.7610750198, 0.7067804933, 0.2459339052, 0.1325065643, 0.0254346542, 0.561291039, 0.0264505446, -0.0749402493, -0.5970243216, -0.3662583828, -0.3618609011, 0.0901131406, 0.0959313512, -0.5890900493, 0.0027971203, -0.2590050101, 0.3969434798, 0.3493567407, 0.0659001097, 0.4859213531, -0.2292703539, -0.1551588327, 0.1708499789, 0.7677162886, 0.3903467655, -0.0954886079, 0.5327249765, 0.1010322273, -0.357526511, 0.260931462, -0.0430717357, -0.06906569, -0.0031317498, 0.2844896615, 0.9088056087, 0.2574578822, -0.2132958472, 0.1709181815, -0.1017239615, -0.1613425165, -0.4893279672, 0.141277045, 0.1397643834, 0.4694622159, 0.3721047342, 0.3159948587, 0.1797348112, -0.4019434452, 0.3098990023, 0.1733386368, -0.64218539, -0.5986375213, 1.1245023012, 0.2535105646, -0.7418928146, 0.6046091318, -0.1023445129, -0.5308286548, 0.6865153909, 0.5451481938, 0.8673629165, -0.5654686093, -0.2654166818, 0.4180378914, 0.2347742617, 0.0518140905, 0.0024547093, -0.2727152407, -0.9995086193, -0.1723329574, -0.4792479873, -0.1267879456, 0.3893224597, -0.8733721972, 0.2853701711, -0.5109600425, -0.1600478739, 0.5147312284, -0.3430682719, -0.5587841272, 0.1701626033, 0.6578306556, 0.5917633176, -0.708628118, 1.1472048759, 0.5270082355, -0.2915107012, -0.9014750719, 0.0954257697, 0.310603261, -0.7880343795, 0.581638217, -0.0699007735, -0.2351831794, 0.0571914092, -0.2313519567, -0.5825445652, 0.5198605061, 0.0881702006, -0.7195453644, 0.0632364899, 0.3655131459, 0.5592790842, -0.1794156134, 0.0115281092, 0.9018785954, 0.4151283801, -0.0720600188, -1.0351939201, -0.2281311899, -0.1533566117, -0.044353798, 0.1464359462, -0.615408361, 0.7699044943, -0.161872223, 0.0111324182, 0.0001833858, 0.6571996212, -0.0442593209, 0.06602671, 0.6459056139, 0.408208549, 0.7636213303, 0.0571388192, 0.9066307545, 0.0596602522, 0.2090303749, 1.2793006897, -0.2118231803, 0.6177741885, 0.4319139123, -0.1931598634, 0.1299134642, 0.7970614433, -0.0008406719, 0.5172836781, 0.4492419064, -0.1412075758, -0.1792471558, -0.5354586244, -0.2350304276, 0.7838729024, 0.320517689, 0.0073651094, 0.3118985593, 0.0761580542, 0.0420619175, 0.1685616672, -0.3101915717, 0.8006933928, 0.1989618987, -0.7228690982, 0.5095070601, -0.1388353705, 0.5542518497, -0.5512468219, 0.1795843691, -0.2146791965, 0.2122273892, -0.4198395908, -0.7491573095, 0.1796829402, -0.2825613022, -0.5054567456, -0.1132522672, 0.6989811659, -0.8167819381, -0.0847867057, 0.4396276474, 0.2110675871, 0.0934511796, -0.017633602, -0.4225850105, 0.0133320736, 0.2151617259, -0.3733412623, 0.2841429114, 0.2964795828, -0.151160717, 0.3307341337, 0.419988215, 0.3248250782, 0.1552648991, 0.6531838775, 0.3135900795, -0.4321927726, -0.5843151808, -0.7511966825, 0.2776982188, 0.4211322963, -0.2878332734, 0.3867557943, 0.5084542036, 0.8852196932, 0.0351891853, 0.6306604147, 0.1724978536, 0.3363767564, -0.5311757922, 0.8226578236, -0.4852633476, 0.1837667972, 0.231849432, -0.8429460526, -0.3368045092, 0.6332471371, -0.0970191285, -0.2142932415, 0.4818518162, 0.7572488189, -0.0189046413, -0.0501007661, 0.3867852092, 0.4613636434, -0.0562027395, 0.3841753006, 1.0318011045, -0.0093664667, 0.36055848, -0.5216421485, 0.035081204, 0.0506212898, -0.2685943246, -0.7194928527, -0.9067519903, -0.1683003008, -0.4995484352, -0.1144736186, 1.1302832365, 0.8349608183, -0.9281272292, -0.530256331, -0.158408612, 0.1652886719, 0.143224746, -0.2377176136, 0.2440088838, -0.1177255884, -0.5884856582, 0.6303140521, -0.0038108896, 0.1922704726, -0.4418503642, -0.125518173, 0.2500114143, 0.0565061457, 0.2669359148, 0.4443469942, -0.9461964369, -0.3156488538, 0.02790628, -0.0932928324, 0.2860560417, 1.1342178583, -0.7697017789, 0.4720606506, 0.3657715619, 0.2215359807, 0.4684563279, -0.1903481334, 0.5756483674, -0.9631826878, 0.7115302086, 0.4580028355, 0.233071968, 0.3670962751, -0.3837454021, 0.2814128697, 0.2227924019, -0.6622604132, -0.7887384295, 0.4578891397, -0.9222000241, -0.3912191093, 1.3431700468, 0.4136684239, -0.0375040174, -0.0097633526, -0.1877015233, 0.4367424548, -0.3104580939, 0.4571222365, 0.5810397267, -0.1720547527, -0.0599511005, -0.6075011492, 0.7839164734, 0.4958029985, -0.0024458903, 0.1859330088, 0.5094848275, 0.3222108483, 0.0634243786, 0.4503520727, 0.18167907, 0.280882448, 0.1208229065, 0.4537298083, -0.0116212713, -0.404106617, -0.8206539154, -0.0326313786, 0.2895842493, -0.2748175859 ]
http://arxiv.org/abs/2407.03004v1
http://arxiv.org/pdf/2407.03004v1
SemioLLM: Assessing Large Language Models for Semiological Analysis in Epilepsy Research
2024-07-03T11:02:12
2024-07-03T11:02:12
Meghal Dani, Muthu Jeyanthi Prakash, Zeynep Akata, Stefanie Liebe
cs.CL
cs.CL, cs.AI
Large Language Models have shown promising results in their ability to encode general medical knowledge in standard medical question-answering datasets. However, their potential application in clinical practice requires evaluation in domain-specific tasks, where benchmarks are largely missing. In this study semioLLM, we test the ability of state-of-the-art LLMs (GPT-3.5, GPT-4, Mixtral 8x7B, and Qwen-72chat) to leverage their internal knowledge and reasoning for epilepsy diagnosis. Specifically, we obtain likelihood estimates linking unstructured text descriptions of seizures to seizure-generating brain regions, using an annotated clinical database containing 1269 entries. We evaluate the LLM's performance, confidence, reasoning, and citation abilities in comparison to clinical evaluation. Models achieve above-chance classification performance with prompt engineering significantly improving their outcome, with some models achieving close-to-clinical performance and reasoning. However, our analyses also reveal significant pitfalls with several models being overly confident while showing poor performance, as well as exhibiting citation errors and hallucinations. In summary, our work provides the first extensive benchmark comparing current SOTA LLMs in the medical domain of epilepsy and highlights their ability to leverage unstructured texts from patients' medical history to aid diagnostic processes in health care.
[ -0.2567770779, -0.9415586591, 1.0766874552, 0.1678567827, -0.210996896, -0.1133059114, -0.3835765719, -0.7238808274, 0.2031696141, 0.4067684412, 0.0130895907, -0.4882651567, -0.5587312579, 0.2849438488, -0.6958070397, 0.4227067232, -0.2409305573, 0.2737722695, -0.2892681658, 0.0440586396, -0.0790524259, -0.7980199456, -0.5358083248, -0.1938583702, 0.0031270571, -0.0376590639, 0.3746106327, 0.1169366017, 0.3882218301, 0.1481567174, -0.4529979825, 0.1644931287, -0.242447421, 0.1101991013, -0.0213930234, -0.0836069882, -0.4200282693, -0.3067534864, 0.7169669867, 0.9570912719, -0.3717594743, -0.0163822249, 0.0571817197, 0.1786545962, -0.3744969368, -0.1588379294, -0.2631243765, 0.2576418817, -0.0351493917, -0.364033401, -0.4889554083, -0.3557553291, 0.378583163, -0.4138500094, 0.1828444153, 0.1832831353, 0.8075341582, 0.0533668324, -0.5050956607, -0.2738050818, -0.6834914088, 0.4431300163, -0.6580398083, 0.6543308496, 0.5350103974, 0.2005234957, -0.2295053601, -1.1237101555, -0.4350832403, -0.4846627712, 0.0638910979, -0.028107848, -0.2274222225, 0.1975149512, 0.3883495629, 0.2222596556, -0.5459243059, 0.2282146662, -0.44358024, -0.5888978839, 0.2932702005, 0.221555382, 0.4637058973, -0.1076513678, -0.6295961738, 0.4616133273, -0.7591817379, -0.2332550436, -0.0022169489, 0.009006015, -0.0059261615, 0.6386470795, 0.1221854687, 0.6084227562, -0.0362243019, 0.1118546724, 0.1086600572, -0.3708868921, -0.1973168105, 0.3036617637, 0.6447451711, 0.6493326426, 0.1362190843, -0.5082139969, -0.1245041937, -0.1906759888, 0.3061948121, -0.9237161875, -0.2380448729, 0.451411128, -0.548345089, -0.0130965263, -0.4676191807, -0.8044911027, -0.8072590232, -0.1597468108, 0.5594030619, -0.549826324, -0.1566241682, 0.4466210604, -0.0974637643, 0.0412610173, 0.3781354427, -0.610839963, 0.4986528456, 0.2541032732, 0.8075947762, -0.3057674766, -0.1195399463, -0.258633554, 0.0152435303, -0.2488562465, 0.9517393112, -0.3262757063, -0.3948474526, 0.1503782868, 0.0964679495, -0.3990552127, -0.7212395668, 0.8645215631, -0.4017378688, -0.0748007074, -0.2598049045, -0.8874832392, -0.1701893955, 0.0712605044, -0.4090701044, 0.7726221681, -0.0372411944, -0.6581282616, 0.5025061369, -0.2553639114, -0.4856161177, 0.2205827236, -0.3036854863, -0.2890554667, 0.247873202, 0.0803274065, 0.6694304943, -0.6604790092, 0.4048060775, -0.2465824485, -0.1553679258, 0.3757908046, -0.1567141861, 0.6358161569, 0.1494354904, 0.0154656321, -0.1383528709, -0.7386687994, -0.0156163955, 0.2260750532, -0.0649042353, -0.5108200908, 0.0028876364, 0.0901351348, -0.0542769469, 0.360594064, -0.5921527147, -0.0878406093, -0.3257390559, 0.4720385075, 0.3094924092, 0.3144892752, -0.0257205218, -0.2350407839, 0.4277195632, 0.03638101, 0.1692199409, -0.0352552235, -0.5761556029, -0.4024030566, -0.4059430659, 0.5983210802, 0.1964015365, -0.359356612, 0.3372265995, -0.1559670568, -0.1864866912, -0.2702796459, -0.3021166027, 0.0878145024, 0.6490690708, 0.5250711441, -0.1983679831, -0.4616333246, -1.0272077322, -0.2657358944, 0.0036902744, -0.1413398981, 0.0890614018, 0.4938928783, -0.1209789291, 0.4896084964, -0.1915719062, -0.1071752831, -0.2419592887, 0.0823695138, 0.0010611173, 0.0058231591, 0.3624095321, -0.5934425592, -0.2025550753, 0.1836719513, -1.0046830177, -0.1016584709, 0.1010905877, 0.3297232389, -0.0861312002, 0.2869621515, -0.5861554742, 0.2982401848, 0.1752361506, -0.6882904768, 0.5464430451, -0.5689937472, 0.431160897, -0.9296181202, -0.0148915891, 0.2636517584, -0.4016488791, -0.7033532858, -0.0793309361, 0.3147760332, 0.0940776765, -0.2379690111, 0.4391081631, -0.3709128797, -0.0546610318, 0.0400505215, 0.1848104596, -0.1902234554, 0.0871453658, -0.0569603816, 0.7231858969, 0.5364898443, -0.5869005919, -0.0297269858, 0.2077251822, -0.4684751332, 0.2538408339, -0.778963685, 0.0845846981, 0.174198553, -0.2065372914, -0.9076601863, -0.2757318914, -0.4061491787, -0.3065562248, 0.4008381963, -0.2162688971, -0.8551276326, -0.0961674079, -0.260733068, 0.2284953147, 0.6679093242, -0.4288010001, 0.6055264473, 0.6683380008, -0.2762885392, 0.0142313987, -0.4723196328, 0.203636229, -0.1583789885, -0.6159231067, 0.4321642816, 0.3178688288, -0.2497812957, -0.1780567914, -0.2428305596, -0.0770611465, 0.1916842908, -0.1249339134, 0.2580541968, -0.1174282655, 0.123417668, 0.2737486362, 0.1584571153, 0.2659311891, -0.2012965679, 0.5308914185, 0.0323403515, -0.324601531, -0.3416140378, 0.0842105523, 0.4561000466, 0.0796047896, 0.6796712279, 0.0038980856, -0.8369323611, -0.4278737307, -0.463530153, -0.1697663665, -0.3212008774, 0.3336170912, -0.3998822868, -1.0357314348, 0.6082242727, -0.3823251128, -0.3069535494, 0.3613853455, 0.7842939496, -0.2048088312, 1.0143582821, 0.3357982039, 0.5928075314, -0.0810609087, -0.0869176537, 0.3989823759, -0.8845185637, -0.2964721918, -0.5678068399, 0.1282360852, -0.4322318733, -0.3261696994, 0.6823989153, 0.1186300516, -0.0862144083, 0.0821452513, -0.4071969688, 0.1970518678, -0.1600410342, 0.1219705418, 0.4135332108, 0.2714240551, -0.5846782327, -0.0919951797, -0.5327665806, -0.8742094636, 1.390720129, 0.4383277297, 0.7313944101, -0.0001991959, 0.348798126, 0.5500351787, -0.1205645874, -0.6910967827, 0.6948875189, -0.1651718915, -0.4771159887, -0.0542640835, -0.2548858821, -0.7850536704, 0.325624913, -0.0398573652, -1.2038515806, 0.2780756056, -0.1653569192, -0.6489909887, 0.1688111126, -0.7834790945, 0.820232451, -0.223749727, -0.3509374261, -0.1803907305, -0.3601135314, 0.3582885563, -0.3886931241, -0.1109927967, 0.1082059592, -0.2025213987, 1.1452027559, -0.2594437599, 0.7363522649, -0.1492181569, -0.1445618421, 0.1894217879, 0.1676251739, 0.3560383916, 0.0276694614, -0.0390884504, 0.4652761519, 0.5154317021, -0.1036461592, -0.4300708175, 0.7159880996, -0.6463118792, -0.3362810016, -0.5747811794, -0.1634196937, -0.7308934331, 0.137216121, 0.1683826596, 0.7024772167, -0.1948788166, 0.1187150031, 1.0614290237, -0.1117986962, -0.0275314711, 0.5400474668, -0.3789629638, -0.2653761208, 0.5292413831, 0.2649893761, 0.1174135059, 0.2450939864, 0.2171926647, -0.603549242, -1.1880012751, -0.4273259044, 0.2141390741, -0.8055861592, 0.1312150657, -0.7505565882, -0.2321249247, -0.1950133592, 0.2565208077, -0.1985850781, -0.5834150314, 0.0524481311, -0.2099516392, 0.1714928597, 0.593840003, 0.3880152404, -0.09590213, -0.778799057, 0.2651236355, -0.0551552102, 0.1173680425, -0.0383045524, -0.8023947477, -0.2613368332, -0.1004665717, -0.0804790705, -1.0042740107, 0.1164500266, -0.0170585979, 0.62880826, 0.2471250445, 0.0251574777, 0.4435046315, -0.4301522374, 0.7872794867, 0.1976348013, -0.5924956799, 0.385104686, -0.1629028618, -0.3604319096, 0.4161465466, 0.6680603623, -0.1697047055, -0.1622222364, -0.5687971115, -0.6894545555, 0.4249198437, 0.3531132638, -0.3903125823, -0.0278049354, 0.4568319917, 0.1939288676, 0.0137395924, -0.0676629171, -0.1380388886, 0.2434513271, -0.3260519803, 0.0215403717, -0.4496266246, -0.3550593257, -0.4118781388, 0.3648854494, -0.1753454953, 0.6490691304, 0.5039505363, -0.2132825255, -0.0621005036, 0.269316107, 0.5063596368, 0.9752682447, -0.1416122615, 0.3810415566, 0.4888966084, -0.6934024692, 0.1538767964, 0.4374676645, -0.2981230319, -0.0320202149, 0.4338419139, 0.5415897369, 0.0851984471, -0.8302201033, 0.5105645061, -0.2366592139, -0.1776217818, -0.322016269, -0.212814182, 0.1709549129, 0.2305561155, 0.4017534852, -0.0021741041, 0.3590019643, -0.3406471312, 0.1241848171, 0.3329082429, -0.1886724979, -0.7477538586, 0.7013799548, 0.0216232575, -0.055277504, 0.322178334, -0.2250615954, -0.5312986374, 0.5539367199, 0.7676156163, 0.9107717276, 0.1363455355, -0.0470261425, 0.2525420785, 0.4500143826, -0.2129184455, 0.5467246175, 0.0791255087, -0.7822391391, -0.3855261803, -0.7894818187, -0.2599830627, 0.3363339603, -0.480437398, 0.249333173, -0.4877635837, -0.4254860282, 0.1598989069, -0.099631831, -0.4586217999, 0.2375700176, 0.0713862553, 0.9616622925, -0.5935349464, 0.5902332664, 1.1771259308, -0.3983593285, -0.5681062937, 0.2925860286, -0.2996021807, -0.7153841853, 0.3172499835, -0.112772271, -0.0648099706, 0.0150194187, -0.4491504133, -0.3765838146, 0.8839687109, 0.3311587274, -0.548094213, -0.0857059583, 0.0300090611, 0.7822140455, -0.2334141433, 0.3847401738, 0.6360360384, 0.2973418236, -0.0793302804, -1.1107829809, 0.3705386519, -0.0233964827, -0.0936490372, 0.3323070407, -0.367788583, 0.4998221993, -0.1978606731, -0.390520066, 0.0083891377, 0.4395201504, 0.2674101591, 0.4667813182, 0.2067648768, 0.6054862142, 1.0224841833, -0.0840535238, 1.2101840973, -0.5174797177, 0.4603303671, 0.7400217056, -0.7193306684, 0.7812442183, 0.5585749745, -0.4911436141, 0.0307929981, 0.744265914, 0.2716012001, 0.4988928139, 0.0193957854, -0.335914433, -0.6346819997, -0.266715467, -0.3770712316, -0.0128131881, 0.3715966344, -0.4050538242, -0.2220597267, 0.0607367754, -0.1149920449, -0.0317260586, -0.113693215, 0.6015489101, 0.3530165255, -0.2115830034, 0.6313024759, 0.0941318497, 0.2095391899, -0.5464642644, -0.0059831524, -0.0865441039, 0.187393859, -0.13766177, -0.7145851254, 0.069096528, 0.3066523969, 0.1776294708, 0.0902123079, 0.8796864748, 0.0102447663, -0.4053208828, 0.4367288351, 0.518969357, 0.3200135231, 0.121978797, -0.2577077746, -0.0505131856, -0.1784672588, -0.2793684304, 0.5419484973, 0.5453752875, -0.2788657844, 0.5944871902, 0.2887083292, 0.3901492953, 0.1578074396, 0.3062425554, 0.7438482642, -0.6223915815, -0.191500634, -0.7609292865, 0.1776964664, -0.195452854, -0.4031228423, 0.716817677, 0.6477527022, 0.6673119664, 0.1104922742, 0.9038304687, -0.0904141217, 0.5199543238, -0.6649710536, 0.7031018138, -0.5814852715, 0.2522433102, 0.341489315, -0.5681553483, -0.2487862259, 0.4800350368, -0.3359520435, 0.1924956739, 1.1699918509, 0.5753299594, -0.1368060857, 0.436558187, 0.5687499046, 0.6133934259, 0.1091239601, 0.4229490459, 1.2345592976, -0.3180049658, -0.053430289, -0.0632320568, -0.2205756903, -0.1533750445, -0.583302319, -1.105532527, -0.5263713598, -0.3252793849, -0.343259275, 0.3475047052, 0.9563186169, 0.4107635319, -0.825725019, 0.0517868772, 0.218779847, -0.1563392282, -0.2306958139, -0.0903982967, 0.5285004973, -0.1888055503, -0.3288572431, 0.5829597712, 0.3951041698, -0.0324681886, -0.2784132063, 0.0792141557, -0.0135006895, -0.0010576809, 0.6631115675, -0.1235949397, -0.6261385083, -0.173874259, 0.0380588435, -0.0986847356, -0.186561659, 0.7829749584, -0.565859437, 0.4678195119, 0.5111210942, 0.7274144292, 0.5064457059, -0.1231175214, 0.3506945074, -0.0201259367, -0.3476593196, 0.4458763897, 0.7014403939, 0.2213986963, -0.2891559601, 0.4053120911, 0.2489568293, -0.5913042426, -0.9587310553, -0.2490152419, -0.8640710711, -0.1368581951, 1.1376658678, -0.2050921768, -0.3089842498, -0.4695357382, -0.1139717996, 0.0216246508, -0.1998478025, 0.7624512911, 0.7303106189, -0.3021613657, 0.1763642579, -0.9554412365, 0.4393447936, 0.3377566636, -0.7023245692, -0.0699175373, 0.3939059079, 0.3611313701, -0.0369940959, 0.6615145206, -0.2993522882, 0.3288004398, -0.0917957425, 0.1309292763, -0.0225825123, -0.3477132618, -0.5702281594, 0.3855031431, 0.2798151374, 0.0025753377 ]
http://arxiv.org/abs/2407.03000v1
http://arxiv.org/pdf/2407.03000v1
VIVA: A Benchmark for Vision-Grounded Decision-Making with Human Values
2024-07-03T10:59:06
2024-07-03T10:59:06
Zhe Hu, Yixiao Ren, Jing Li, Yu Yin
cs.CL
cs.CL, cs.CV
This paper introduces VIVA, a benchmark for VIsion-grounded decision-making driven by human VAlues. While most large vision-language models (VLMs) focus on physical-level skills, our work is the first to examine their multimodal capabilities in leveraging human values to make decisions under a vision-depicted situation. VIVA contains 1,062 images depicting diverse real-world situations and the manually annotated decisions grounded in them. Given an image there, the model should select the most appropriate action to address the situation and provide the relevant human values and reason underlying the decision. Extensive experiments based on VIVA show the limitation of VLMs in using human values to make multimodal decisions. Further analyses indicate the potential benefits of exploiting action consequences and predicted human values.
[ -0.4538733363, -0.2820119262, 0.6815068722, 0.2275590748, -0.2351345569, 0.0177386869, 0.1175061986, -0.5275124311, 0.2182807922, 0.4597543478, -0.4819062352, -0.2989924252, -0.1860355884, -0.2407245189, -0.2832880914, 0.3674309552, 0.4427984059, 0.0500851609, -0.3914426863, -0.406352818, -0.7193117738, -0.3937609792, -0.2544253469, -0.1238476709, 0.8436165452, 0.4117945731, 0.6754273772, 0.4146048725, 0.2875083089, 0.2343109995, -0.1026964933, 0.1997266412, -0.4024038315, -0.1123862267, -0.3476957083, -0.3011287451, -0.5708556771, 0.2609510124, 0.6056839824, 0.5099685788, 0.0833159834, 0.5764632821, -0.2735421062, 0.6955862641, -0.9367341399, 0.2119314522, -0.5739355683, 0.0753681809, -0.0921803415, -0.0850999132, -0.3603756726, -0.7162534595, 0.1221851408, -0.5012613535, -0.1562947631, -0.0295900349, 1.4224277735, 0.5548196435, -0.6969040036, 0.5362066627, -0.8291174173, 0.7311037183, -0.1241892129, 0.5982707739, 0.3464920223, 0.7470582724, 0.2285418957, -0.6742342114, -0.5530084968, 0.1589879096, 0.2923056781, 0.3355096579, 0.1252104789, 0.1033082455, 0.3478019536, -0.1285379082, -0.0024001652, -0.0678487122, -0.7481684089, -0.0309053343, 0.6816049814, 0.4222697318, -0.0462898649, -0.2375661731, -0.7152818441, -0.6538103223, -0.8554525971, 0.7282980084, 0.0686424747, 0.000807498, 0.3552102149, 0.6473392248, -0.6235334277, 0.8423936963, -0.3871398866, -0.4386620522, 0.296544373, -0.3535484672, -0.3426469564, -0.1096881554, 0.1201984584, 1.1389733553, 0.5466368794, 0.2319719195, -0.0505710579, 0.3823660612, 0.5498530865, -0.7496538758, 0.1461599916, -0.165056482, -0.6335421205, -0.4305253327, 0.1335605085, -1.2399638891, -0.5425266623, -0.6265866756, 0.704862833, -0.3820012808, -0.0322375409, 0.2101009786, -0.3227841854, 0.8712014556, 0.7167204022, -0.474417001, 0.2108457536, 0.3974526227, 0.4189170003, 0.0771845281, -0.546219945, -0.6508424282, -0.1898515671, -0.5743554831, 1.0150039196, -0.5385327935, -0.3403226137, -0.1152651981, -0.2779178619, -0.0093740271, -0.5050259829, 0.9723772407, -0.3650771081, -0.2847521603, -0.9465108514, -0.1275893152, -0.6507991552, 0.1957101822, -0.6079381704, 1.0554652214, 0.1713948846, -0.3234905899, 1.4361764193, -0.4807113409, -0.2424327284, 0.2999892235, -0.3986543417, -0.4407693744, 0.2716646492, -0.2194630951, 0.3288012743, -0.3284001052, 0.2488382459, -0.3763051331, -0.3129802048, 0.3687113822, -0.635751009, 0.4652062356, 0.0893025771, -0.3163189888, 0.4310300648, -0.8594856858, 0.3533923924, -0.1135980859, -0.4876424074, -0.369120419, 0.514119029, 0.2188564688, 0.869775176, -0.0432953276, -0.4353032112, 0.0110377669, 0.0975243747, -0.0258526802, 0.6999010444, -0.287188381, -0.114414148, -0.2246385068, 0.3358105123, -0.0861917958, 0.5192632079, -0.2621749043, -0.754916966, -0.9000347257, -0.5024008155, 0.2122027725, 0.5377501845, -0.5549489856, 0.0310623217, -0.3487545252, -0.3442361951, -0.8124502301, -0.1547397524, 0.3499441445, 0.808529675, 0.4309020042, -0.1053956524, -0.5048566461, -1.2141214609, -0.1070255712, -0.2682961226, 0.1964998096, 0.5649797916, 0.5997484326, -0.2655540109, 1.3824023008, -0.5027046204, -0.2608611286, 0.1323781013, 0.3291325271, -0.1251225471, -0.0474223532, 0.7588412762, -1.3715239763, -0.2094311267, -0.0663511679, -0.7590377331, -0.0459478758, -0.1156699583, 0.0040241634, 0.0195669625, 0.1734283119, -0.2707570195, 1.2278840542, 0.1591120362, -0.8855545521, 0.7083043456, -0.3968428373, 0.6341357827, -0.5795459151, 0.3793884516, -0.0264659356, -0.4197999239, -0.5428745747, -0.1890099645, 0.4222187102, -0.1535225958, -0.8742443323, 0.69554317, -0.0492004864, -0.6653969288, -0.1733525693, -0.3679314554, 0.2040127367, 0.2145428658, 0.5117553473, 0.8380767703, 0.3581988513, -0.8453050256, 0.4808417559, 0.2809688449, -0.4549940228, 1.291287899, -0.6195949316, -0.3993953466, -0.3119827509, -0.1668494344, -0.7348173261, -0.299698621, -0.3175081015, -0.3099699318, -0.4205311835, -0.1288847476, -0.3683935106, -0.594958663, -0.3114066422, 0.3521260023, 0.6513471007, -0.4363430142, 0.8807294965, 0.4344345927, 0.2037359774, -0.5030781627, -0.4201042056, 0.3896161914, -0.6100688577, -0.7733688354, 0.2525099814, -0.1348648667, -0.5013977289, -0.1222842634, 0.2112955004, -0.1161343157, 0.1144813597, 0.7293048501, 0.4043484628, 0.020280702, -0.1747678369, -0.1199377775, -0.4066114426, -0.0973608419, -0.0865378901, 0.2191461027, -0.6311323643, -0.4665313065, -0.3168412447, 0.2808519304, 1.0759190321, -0.4680238068, 0.562425375, 0.5205583572, -0.3906707764, 0.1176356003, -0.7672052979, 0.0142067485, -0.4582087696, 0.0448955186, -0.4449403882, -0.2983784676, 0.4758075476, -0.2331133336, -0.1347848922, 0.2660750151, 0.6261861324, -0.330650121, 0.8534981012, 0.5302425027, 0.334739238, 0.3171070516, 0.0122892978, -0.1961030066, -0.6732759476, -0.631837368, -0.252268225, -0.4977647662, -0.1102178022, -0.6848258376, 0.8011817932, -0.2128439099, -0.129599005, 0.0953952596, -0.2504069209, 0.3066357672, 0.8713464141, 0.1882926077, 0.0806568116, -0.4790772498, -0.2845998704, -0.2054328918, -0.3787488937, -0.4719521701, 0.8273286223, 0.202102527, 0.5922726989, -0.1831526607, 0.2914550006, 0.3287357986, 0.1536597162, -0.7266451716, 0.7639980912, 0.2804706395, -0.7170288563, -0.074169673, -0.1028624251, -1.0406612158, 0.5992165208, -0.622379601, -0.5958256125, 0.5906934738, 0.0730274618, -0.7911973596, 0.2351752222, -0.6672317982, 1.0469346046, -0.6470019817, -0.7384577394, -0.4644185901, -0.7465161681, 0.1915431023, 0.1584023833, 0.2520188391, -0.1962553412, -0.0349130407, 0.5128836036, -0.0470972322, 0.8339713812, -0.2742235363, 0.3913213611, 0.3771088421, -0.0283689518, 0.0603943802, -0.040204592, 0.0218187161, -0.1570150256, 0.1217174977, -0.248042047, -0.0804140493, 0.2607065439, -0.5518890023, -0.1273662597, -0.6268138289, -0.1582353264, -0.1921430975, 0.3084037304, 0.0660768077, 0.4334747493, -0.6415028572, 0.3962518871, 0.7253162265, -0.4897324741, 0.6439375281, 0.523231864, -0.5905243158, -0.5650305152, 0.8706862926, 0.1604249924, 0.264003545, 0.0396748446, 0.26672557, -0.3937910795, -0.2297628969, -0.4405381083, -0.1004689261, -0.8123297095, -0.1806158572, -0.2449048162, 0.0510853417, 0.0415335633, -0.3146985769, -0.6355476379, -0.0036031685, -0.0358485505, -0.2588982284, 0.2592477202, 0.5760672092, -0.0799113214, -0.292165488, -0.6813291907, 0.6641042233, 0.9882042408, 0.5111284852, -0.4303009212, -0.0203158539, -0.1992165893, 0.0575150885, -0.1291422546, -0.7960796356, 0.5175136328, 0.0102920057, 0.7152092457, 0.664044559, 0.0467193089, 0.9171453118, -0.4318574965, 0.6050382257, 0.0516695417, -0.8714343905, 0.7811973095, -0.4409252405, 0.0664305985, 0.9892269373, -0.0527054295, -0.4642844498, 0.5370733738, -0.6027975678, -0.7380698919, 0.477799505, 0.0074718432, -0.1930790395, 0.1318347454, 0.171537891, -0.0081864782, 0.4664297998, -0.625118494, 0.0932426378, -0.3788650632, 0.2979669869, 0.0794724077, -0.2826877832, -0.1607734263, -0.6966741085, -0.0678005144, -0.396615684, 0.0874736831, 0.2611096799, -0.0735493973, -0.0641190037, 0.1055574417, 0.8464394212, 0.8142852783, -0.4001384079, 0.1759179235, 0.5062143207, -0.1341902167, 0.0443553589, -0.2319148928, -0.2273153365, -0.4222905338, -0.0815613642, 0.841678977, 0.4508506656, -1.1454875469, 0.6749801636, 0.0585792288, -0.1188027784, -0.3581451476, 0.0833973959, -0.156984061, 0.3606528938, 0.3788321316, 0.3688899875, 0.1614593565, -0.6676765084, 0.3499533832, 0.2885716259, -0.6265406013, -0.4633813202, 0.9182758927, 0.3638762236, -0.1382103711, 0.5147060752, -0.1865738332, -0.6293882132, 0.4524440467, 0.0133433696, 0.8281953335, -0.0420028083, 0.4868406951, 0.3204374015, 0.2113078684, -0.2118600011, 0.7079427242, -0.0267655123, -0.7204292417, -0.2640574276, -0.5901216269, -0.6379283667, -0.3762857318, -0.8223249316, 0.5190910697, -0.4641627967, -0.2667673826, -0.1372895986, -0.1379112601, -0.9752828479, 0.7110193372, 0.5990207195, 0.8193014264, -0.9860546589, 1.0233359337, 0.5719909072, -0.5239240527, -0.3203099668, -0.3411425352, 0.1414252967, -0.6727766395, 1.1981253624, 0.2140390873, -0.5088056922, -0.2896817923, -0.3126888573, -0.6953602433, 1.3751387596, 0.3893095255, 0.0875729993, 0.0795712769, 0.1033016369, 0.465728581, -0.2534154654, 0.164223969, 0.6059887409, 0.9042873383, 0.2948031127, -1.052249074, -0.4464768469, -0.1640756726, -0.0318388343, -0.0075002508, -0.786026001, 1.0440727472, -0.2648411989, -0.1110204533, -0.2595178485, 0.5293985605, 0.2381157875, 0.4685277939, 0.6571506262, 0.6514469981, 0.8130205274, -0.2038212717, 1.1212277412, 0.1006534025, 0.0623850711, 0.5804230571, -0.616330862, 1.0279201269, 0.2956630886, -0.1212599203, 0.4440638721, 0.4424343407, 0.0067115519, 0.6337311268, -0.3071863353, -0.1451258808, -0.7703858018, -0.1712168306, -0.201412335, 1.0066885948, 0.505137682, -0.0392602794, -0.1495241523, 0.0713115409, -0.1377533525, 0.1176945046, -0.3687858284, 0.6784656644, -0.23474814, -0.8238834143, 0.4069174826, -0.1071075127, 0.3054460585, -0.4959812164, -0.155832991, 0.332095474, 0.3374571502, -0.0348059498, -1.2011185884, 0.3890794516, -0.1510882229, -0.1828021556, -0.7079276443, 0.8830200434, 0.0682502314, -0.4525093138, 0.4856387079, 0.3161999583, -0.1192345396, -0.3520468473, -0.4366518259, 0.0708755031, -0.3701940477, -0.1003611535, 0.3066875637, 0.4097023904, -0.3109022975, 0.9545480609, 0.6092438698, -0.0744590163, 0.2752944827, -0.1316965967, 0.8392314315, -1.1807188988, -0.5687999129, -0.7052949667, 0.8340674043, -0.3271207511, -0.6594805717, 0.5758535266, 0.6279686689, 0.3317822516, 0.0001869496, 0.6737763286, -0.0170260984, 0.3341985643, -0.50046736, 0.4738653898, -0.6812036633, -0.1086862981, -0.2942812741, -0.6258984208, -0.2791317999, 0.847135365, -0.2717722654, -0.0553678833, 0.2751184106, 0.3891184032, 0.1057810485, -0.2470805496, 0.7665830255, -0.3011423349, 0.2225131094, 0.4562416971, 0.9953778982, -0.1689835638, 0.2732507586, -0.0510897748, -0.3763958216, -0.6963375211, -1.0817482471, -0.9271434546, -0.7726457715, -0.0969099104, -0.3230548203, -0.0819451064, 1.0319875479, 1.1300239563, -0.3817054629, -0.156064555, 0.3545943201, 0.1395996213, -0.7148444057, -0.1082082987, 0.0854132175, -0.0348645113, -0.3871831894, 0.5710426569, 0.695782423, -0.0504534207, -0.2759627402, -0.1510889381, -0.2676295638, 0.366314888, 0.8988156915, 0.5632964373, -0.7917522192, -0.5631808639, 0.1071880832, -0.0004511726, 0.3454414606, 0.6987535954, -1.3957630396, 0.7195897102, 0.5137593746, 0.3553682566, 0.6694048047, 0.2272895873, 0.4846601486, -0.3813611865, 0.1820956618, 0.3408772647, 0.5471307039, 0.1712662131, 0.2090482712, 0.4631696939, 0.4041208923, -0.3399330974, -0.680452168, 0.222737357, -1.3357390165, -0.0862887651, 1.1879122257, 0.0826598033, -0.3221418858, -0.044119928, -0.5816165805, -0.3272201419, -0.1093617752, 0.7623207569, 0.4654838443, 0.0601965338, -0.3498699367, -0.7256755233, 0.5107723475, 0.2135999054, -1.084000349, -0.0187512655, 0.7979984283, 0.0112192445, 0.0509272702, 0.2824918032, 0.0008919435, 0.6409558058, 0.2414384335, 0.2765029967, -0.020481877, -0.8952776194, -0.1454243809, 0.3632484376, 0.1615370214, -0.303640008 ]
http://arxiv.org/abs/2407.02996v1
http://arxiv.org/pdf/2407.02996v1
Are Large Language Models Consistent over Value-laden Questions?
2024-07-03T10:53:54
2024-07-03T10:53:54
Jared Moore, Tanvi Deshpande, Diyi Yang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) appear to bias their survey answers toward certain values. Nonetheless, some argue that LLMs are too inconsistent to simulate particular values. Are they? To answer, we first define value consistency as the similarity of answers across (1) paraphrases of one question, (2) related questions under one topic, (3) multiple-choice and open-ended use-cases of one question, and (4) multilingual translations of a question to English, Chinese, German, and Japanese. We apply these measures to a few large ($>=34b$), open LLMs including llama-3, as well as gpt-4o, using eight thousand questions spanning more than 300 topics. Unlike prior work, we find that models are relatively consistent across paraphrases, use-cases, translations, and within a topic. Still, some inconsistencies remain. Models are more consistent on uncontroversial topics (e.g., in the U.S., "Thanksgiving") than on controversial ones ("euthanasia"). Base models are both more consistent compared to fine-tuned models and are uniform in their consistency across topics, while fine-tuned models are more inconsistent about some topics ("euthanasia") than others ("women's rights") like our human subjects (n=165).
[ -0.1214300767, -0.839900136, 0.8422325253, 0.1917989403, -0.1741250455, -0.2298758477, -0.3017170727, -0.656211257, 0.2417072505, 0.6586334109, -0.1955197006, -0.0826981664, -0.7192474604, 0.18386437, -0.4351214468, 1.0823037624, -0.191853106, 0.2413399816, -0.2334973663, -0.4990748763, -0.1797179282, -0.734459579, -0.3608675301, -0.3458948135, 0.6223216057, 0.0735916942, 0.9888748527, 0.6568718553, 0.47403723, 0.2024573237, -0.4101863503, 0.0619702004, -0.5933128595, 0.2162566036, -0.2706727684, -0.4538505971, -0.425227493, 0.2364855409, 0.6261011958, 1.0095211267, -0.2050772011, 0.1143642962, 0.1143071279, 0.3563602865, -0.5421950817, -0.058282461, -0.8913353682, -0.2971470952, -0.0138614979, 0.1808603108, -0.2671906948, -0.5955729485, -0.0123242373, -0.4006391168, -0.2320727408, -0.1683180332, 1.2379233837, 0.1817778051, -0.5904790759, -0.3309225738, -0.7507349253, 1.0506893396, -0.9713983536, 0.2692452371, 0.5472517014, 0.0177684687, -0.2407347262, -0.3988094628, -0.6373574734, -0.3935123384, 0.1487425566, 0.0332108177, -0.2420934737, -0.0121273668, 0.4619787931, 0.4632808864, -0.407335192, 0.2927633524, -0.1763310283, -0.0455953665, 0.7304427028, 0.4217099249, 0.3431813717, -0.2282547802, -0.3222266138, 0.0417218804, -0.9283502102, 0.2125884295, 0.3885050416, 0.2720575333, -0.0054290569, 0.8933564425, -0.1736017913, 0.6891053915, 0.1268404275, -0.4608897567, 0.1457003355, -0.5330325365, -0.1594897211, -0.2903901041, 0.7968386412, 0.5546747446, 0.7771356702, 0.0055167014, -0.2809498608, -0.0604358837, 0.2059544921, -0.7176347971, 0.0027125678, 0.363509059, -0.3252690732, -0.0848076642, -0.0610682741, -0.2698740959, -0.2024637759, -0.3396845758, 0.4472829998, -0.081714116, -0.3320235312, 0.233674407, 0.2580651343, 0.2960501015, 0.4584654868, -1.0480332375, 0.1820690632, 0.6876847744, 0.6347601414, -0.5270463228, -0.3612182736, -0.2822615206, 0.0560217611, -0.5728658438, 0.7505785823, -0.6286609173, -0.4462808669, 0.0230015106, 0.0859786943, 0.0852691531, -0.6741464138, 0.1675610691, -0.596878767, 0.0848328173, -0.8688108921, -0.7489563823, 0.1502634734, 0.7656725049, -0.6636312604, 0.9446485639, 0.0657531694, -0.6795659065, 0.358769387, -0.0984103531, -0.088252008, -0.3091053665, -0.4586479664, -0.3264767528, 0.0496242717, -0.2152234018, 0.3470860124, -0.4785093665, 0.5259029269, -0.5990329385, -0.5057070851, 0.5571017265, -0.6725301147, 0.7307189107, 0.1925635487, -0.2260484546, -0.1097240075, -0.5635069609, 0.1967213303, 0.1057074368, -0.3717469871, -0.3517825305, -0.1444384754, 0.0097611547, 0.3352722824, 0.3416808248, -0.583406806, 0.3635855615, -0.1279124022, 0.3429986835, 0.7518473268, 0.0798549801, 0.3246087432, -0.6484345794, 0.5512131453, 0.116361782, -0.0812420025, -0.0025330766, -0.6376943588, -0.4567946792, -0.0915209875, 0.1835817397, 0.4200273156, -0.0972399339, 0.1648003757, -0.3719103038, -0.4549476802, -0.2517676055, -0.0549623221, 0.207375437, 0.3941967785, 0.3786637187, -0.0353798643, -0.1646460295, -0.9422740936, -0.2712622285, -0.4645786881, -0.0603970028, 0.2219003588, 0.6005758047, -0.1492725611, 0.7646391988, -0.370413065, 0.2690489292, -0.1103011519, 0.0553204492, 0.2827979028, 0.3563788831, 0.3931081295, -0.8011363745, -0.6848837733, -0.0270065889, -0.677488327, -0.2412220538, 0.0904578269, 0.0624188669, 0.2262106389, 0.2389439642, -0.5606663227, 0.0796508491, 0.7473204136, -0.1287631392, 0.4080538452, -0.1962611377, 0.2690590322, -1.373821497, 0.1174103692, -0.1068479642, -0.0416813716, -0.7066115141, -0.1142323762, 0.1975458562, 0.4306787252, -0.4819561243, 0.7145892382, -0.1066852957, 0.014686727, -0.4846767783, -0.0459806174, 0.1990906596, 0.0465884693, -0.0261700414, 0.9169738889, 0.2636248469, -0.6003553271, 0.3729964495, 0.1048063934, -0.2056206465, 0.8102940321, -0.9306141138, 0.1013261825, -0.1010611579, 0.3213571906, -0.838776648, -0.2315711975, 0.0822375268, -0.1384652108, -0.0793555304, -0.0633447543, -0.4252785146, 0.1601302177, -0.1755213886, 0.5444456339, 0.7568959594, -0.3083027005, 0.5174635053, 0.4260165095, -0.2320302725, -0.7530135512, -0.5235492587, -0.1288879514, -0.196235761, -0.5225198269, 0.065664418, -0.3236644566, -0.6942564249, 0.0682729483, -0.1858772635, -0.3213660121, 0.0285827313, 0.1408942938, 0.2574499846, -0.2365726233, 0.2129786909, -0.2817282379, 0.2822567821, -0.0363833681, -0.2274150997, 0.5360353589, -0.1430559754, -0.6831762195, -0.0159674324, 0.4418967068, 0.8734103441, -0.1655808091, 0.6702008843, 0.1503043175, -0.4395008087, 0.1878602058, -0.8544628024, -0.0635756403, -0.4200422168, 0.2387519926, -0.6430748701, -1.2789912224, 1.0684425831, 0.4379616976, 0.241117239, 0.6108058691, 0.7504453659, -0.234337002, 1.1879684925, 0.5293796659, -0.117127426, 0.1309857368, 0.1108969897, -0.0371393487, -0.6565246582, -0.2195381522, -0.5990021229, -0.1881396472, -0.8409367204, -0.2580532432, 0.3484332263, 0.1285428405, -0.5500032306, 0.0016834988, -0.0873766765, 0.464228332, 0.3396168351, -0.1817560792, 0.4083083272, -0.1115709245, 0.0231825523, -0.246751979, -0.5851442218, -0.7151303887, 1.2599976063, 0.2984423637, 1.0610673428, 0.0083321687, 0.5305043459, -0.1682003587, 0.5182276964, -0.5545165539, 0.2532222867, -0.0001172668, -0.8008908629, -0.5228156447, -0.5927550793, -1.1167596579, 0.3329713345, -0.0794912428, -0.6505452394, 0.02834999, 0.1023873687, -0.2616880238, 0.5188941956, -0.1827669442, 0.7994963527, -0.4691627026, -0.4156003296, 0.1132353097, -0.5202662945, 0.4254253507, -0.2628169656, 0.0897327289, -0.3844535351, 0.0336424075, 0.6269629002, -0.2916549146, 0.6812278032, 0.2574195564, -0.505343616, 0.330660224, -0.042950891, 0.5313793421, 0.0510527045, -0.1747582257, 0.310503751, 0.4044618011, -0.7665330768, -0.6767973304, 0.650396049, -0.9134448767, -0.8698098063, -0.5330421925, -0.8284246922, -0.1716202796, 0.1245279089, 0.1121950597, 0.1586321443, -0.108711496, 0.3405032456, 1.0084042549, -0.0931223929, 0.0685708225, 0.641694963, -0.1540950984, -0.2218012959, 0.4913426042, 0.3601255715, 0.7741397023, 0.291836679, 0.3079804778, -0.2656483352, -0.3887037039, -0.6245840788, 0.381506145, -0.6538995504, -0.0047098463, -0.8186452389, -0.2474873066, -0.2567934096, -0.1124912053, -0.6274514198, -0.0750088841, -0.2136131376, -0.0435752124, 0.3861306906, 0.8313028812, 0.2424353361, -0.1686450094, -0.9492806196, 0.4081900418, 0.3540164828, 0.3547737002, -0.1966045052, -0.9063292146, -0.122612305, 0.3818414807, -0.0436205491, -0.9883552194, 0.0006730588, -0.263053894, 0.6302740574, 0.4381933212, 0.088084586, 0.7246098518, -0.5942633748, 1.0661246777, 0.0942291766, -0.894043982, 0.076666601, -0.4699341357, 0.4050334096, 0.6688874364, 0.6733475327, -0.894417882, -0.6232209206, -0.7601283789, -0.5781764388, 0.3395408094, -0.1550045907, 0.6899020672, -0.208113417, 0.463870585, 0.0744512901, 0.3085736632, -1.0451977253, -0.0066588093, -0.083731167, -0.2210702449, -0.0239305552, -0.3959087431, -0.2176316082, 0.030625388, 0.3113624454, -0.1510231346, -0.1982892156, -0.1072736457, 0.2445529699, -0.4075751305, 0.4061728716, 0.9062601328, 1.0402882099, -0.2080639154, 0.3159680068, 0.4804881513, -0.4501280189, 0.5033144355, -0.1937036067, -0.3236595094, -0.1266565174, 0.2842217386, 0.5326982141, 0.1913154125, -0.8556571007, 0.6572269797, 0.1405138224, -0.1897135079, -0.3779408038, -0.0434096903, 0.2477963716, 0.1462127715, 0.077992551, -0.2823630869, -0.2516332865, -0.8811966777, 0.0393278487, 0.7486065626, -0.260010004, -0.2495546937, 0.7689836621, -0.1494528204, -0.0067040985, 0.5609256029, -0.0325513743, -0.5567628145, 0.681075573, 0.4711525142, 0.5758336782, -0.3300360739, -0.0638628975, 0.2220469564, 0.5206150413, -0.7220861316, 0.6256841421, 0.3310695887, -0.9668629766, -0.5103245378, -0.6066473126, -0.8585235476, 0.4826972485, -0.7732148767, 0.0534097925, -0.0405123942, 0.0865330249, -0.3576036096, -0.075646393, -0.3905948997, 0.3926613331, -0.0631467849, 0.6885706186, -1.0570707321, 0.9986019731, 0.6982918382, -0.713173151, -1.1378195286, 0.0714514554, -0.290708214, -0.6328328252, 0.582272768, -0.1854235232, 0.0115780178, -0.3358702362, -0.4967058301, -1.2695075274, 0.9394100904, 0.3555484414, -0.3745283186, 0.0612479821, 0.4281512201, 0.7575379014, -0.3562161028, 0.3760141432, 0.3520262241, 0.5486201644, 0.1612847596, -1.3092886209, -0.088692598, -0.0918296948, 0.0794943571, 0.0697341189, -0.6886369586, 1.1721997261, -0.1125622392, 0.1968823671, 0.0031419392, 0.5975734591, 0.6076166034, 0.2658179402, 0.423684746, 0.5377452374, 0.7855847478, -0.1173687875, 1.0955623388, -0.4094781876, 0.3933683932, 0.8423585296, -0.6763224006, 0.9630818367, 0.6119086742, -0.3085795641, 0.0264008176, 0.7079020143, -0.0275824424, 0.1718841493, 0.2977398932, -0.0398578532, -0.3671866059, -0.1244523525, -0.5375342369, 0.4234237373, 0.0581203848, -0.3259657919, -0.064967297, -0.1784617454, 0.3875308037, 0.1219751462, -0.0992385522, 0.6357244849, 0.1896476895, -0.8534604311, 0.8880435228, 0.1467278898, 0.4694183469, -0.7482715845, 0.0672141165, -0.4879877865, -0.0734233633, 0.0101250755, -0.9366931915, 0.2255670875, 0.2446743846, -0.4091360867, -0.2860294878, 0.2654903531, -0.6760653257, -0.3833916187, -0.0135981767, 0.8679930568, 0.2735036314, 0.0005544313, -0.4568019509, 0.3228180707, -0.0264214352, -0.3703932762, 0.5126200914, 0.3783973455, -0.2355287522, 0.648168385, 0.4796541631, 0.2842437625, 0.2039260864, -0.0678245798, 0.5969434977, -0.5650492907, -0.3098119795, -0.9695690274, 0.4389545321, 0.0127436426, -0.4998425543, 0.8623954058, 0.5039781928, 1.0605937243, 0.1462306678, 0.736361444, 0.3399801552, 0.3831734657, -0.6211382151, 0.457739532, -0.7377983332, 0.2601628602, -0.2970264256, -1.1881917715, -0.1068767756, 0.5977858901, -0.4341782331, 0.3620078564, 0.6595726013, 0.5882941484, -0.1598310024, -0.1176974699, 0.6627453566, 0.0768367946, 0.3101907969, 0.5596219301, 1.114597559, -0.2460339218, 0.4527169466, 0.1021090001, 0.0274045579, -0.186754033, -0.8007002473, -0.5761402845, -0.3302722275, -0.2653326988, -0.5392571092, -0.0051077204, 1.1007761955, 0.4321103096, -0.9220530391, -0.560783565, 0.1013055742, 0.0029058377, -0.1290492564, -0.1295179129, 0.2691369951, -0.1447105557, -0.9269863963, -0.103553988, 0.3099460602, 0.0475697927, -0.3617609441, 0.0044796597, -0.0831582397, 0.502666533, 0.3694358468, 0.2531808019, -1.125579834, -0.6330319643, 0.3360720873, -0.6987445951, 0.1579007059, 0.5275897384, -0.1952794045, 0.3264526427, 0.4967311919, 0.8093711138, 0.2148384452, 0.205995515, 0.3686912656, -0.2762337029, -0.1501386017, 0.2884343565, 0.5483766198, 0.2859736085, -0.1032357365, 0.1771877557, 0.0892528668, -0.7329176068, -0.8458508849, 0.7040931582, -1.0192929506, -0.1888488829, 1.5618047714, -0.3171481192, 0.1522235423, 0.0730639175, 0.0895924568, -0.0098281186, -0.0241510086, 0.8949486017, 1.0948402882, -0.2201115936, -0.1490180045, -0.7920641303, 0.2581816912, 0.6219233871, -0.8246670365, 0.0693870634, 0.6304193735, 0.5562192202, 0.1348566413, 0.7412401438, -0.1633874178, 0.221075505, -0.2137959003, -0.0837536454, 0.3497847915, -0.0813452452, -0.3237524331, 0.1971190274, 0.4180153608, 0.1939220876 ]
http://arxiv.org/abs/2407.02987v1
http://arxiv.org/pdf/2407.02987v1
LoRA-Guard: Parameter-Efficient Guardrail Adaptation for Content Moderation of Large Language Models
2024-07-03T10:38:40
2024-07-03T10:38:40
Hayder Elesedy, Pedro M. Esperança, Silviu Vlad Oprea, Mete Ozay
cs.LG
cs.LG, cs.AI, cs.CL
Guardrails have emerged as an alternative to safety alignment for content moderation of large language models (LLMs). Existing model-based guardrails have not been designed for resource-constrained computational portable devices, such as mobile phones, more and more of which are running LLM-based applications locally. We introduce LoRA-Guard, a parameter-efficient guardrail adaptation method that relies on knowledge sharing between LLMs and guardrail models. LoRA-Guard extracts language features from the LLMs and adapts them for the content moderation task using low-rank adapters, while a dual-path design prevents any performance degradation on the generative task. We show that LoRA-Guard outperforms existing approaches with 100-1000x lower parameter overhead while maintaining accuracy, enabling on-device content moderation.
[ -0.5131704211, -0.7646387219, 0.5788227916, 0.1475985199, -0.5507257581, 0.1448717117, -0.0525563173, -0.1300230175, 0.4644030631, 0.8729019761, -0.2139936239, -0.602180779, -0.6349231005, -0.3982207477, -0.310566932, 0.8202631474, -0.3317738771, -0.2520214319, 0.0734674037, -0.1881229728, -0.3732338846, -0.4287260473, -0.8084937334, -0.1331981122, 0.9286201, 0.303167671, 0.4571393132, 0.6879929304, 0.6593431234, 0.1446496397, -0.1419117898, 0.3547559381, -0.4788126945, 0.3394325972, -0.5460863113, -0.2423195392, -0.7142225504, -0.3783034384, 0.4219571352, 0.3614300191, -0.223249808, -0.0341714025, 0.189717561, 0.7329520583, -0.8996779323, -0.0766831338, -0.746760428, -0.0998573899, -0.244063139, -0.4009534121, -0.4529657662, -0.4282367527, -0.1902706027, -0.5640260577, -0.3309905231, 0.1540720463, 0.6107028127, 0.3839888871, -0.6345730424, -0.0103353439, -0.8654444218, 0.7113697529, -0.3186460137, 0.2462066561, 0.6128684282, 0.3911339343, -0.2052781731, -0.5464072227, -0.3249748647, 0.2235904783, 0.3061742187, 0.030698048, -0.2676674426, 0.0105309989, 0.0027197299, -0.1011661962, -0.2272014171, 0.4082025886, -0.2405259609, -0.1021375731, 0.5385292172, 0.0940971747, 0.1211225316, -0.1289445013, -0.4504871666, -0.1021016687, -1.1945155859, 0.1065560281, 0.2978706062, 0.3543404937, -0.2578672171, 0.3032883406, -0.2321822345, 0.6441841722, 0.1595669538, -0.3585571647, -0.2030237913, -0.1601609737, 0.0343114585, 0.3009008467, 0.8542925119, 0.4731945992, -0.1647848636, -0.0662107468, -0.1684437841, -0.0950978696, 0.3822838664, -0.9833729267, -0.1414667964, -0.1153532192, -0.3922766149, -0.2982795537, -0.0632901415, -1.0134562254, -0.9736405015, 0.0987564996, 0.5911066532, -0.0907089189, 0.0056926277, 0.3919023275, 0.1151944622, 0.4554891288, 0.559063375, -1.1181086302, 0.4212062657, 0.7200194001, 1.1358348131, -0.4311273396, -0.0797184855, -0.8892934322, 0.547873795, -0.1390523165, 0.9549630284, -0.3787274361, -0.4793189466, -0.0504340529, 0.0019989002, -0.278870225, -0.2411239147, 0.9702190757, -1.0665367842, -0.0420096256, -0.2074940801, -0.1594506353, -0.1824744642, 0.017078856, -0.7696517706, 0.5973969102, 0.1180367693, -0.775380075, 0.2547622025, -0.7047383785, -0.5785664916, -0.1897350699, -0.038027484, -0.4201225936, -0.1041784286, 0.2983138859, 0.2111775428, -0.3298203945, -0.0247446764, -0.4016070664, -0.2997457981, 0.011890633, -0.4826387465, 0.6244971156, 0.425550431, -0.1049521863, 0.2396909446, -0.2264508605, -0.0846442282, -0.0849251747, -0.6464098096, -0.4280593693, 0.5360736251, -0.0707961619, 0.1432098895, 0.291824013, -0.3899126351, 0.1739722788, -0.1069184244, 0.4598561525, 1.0032955408, 0.159569934, 0.452750355, -0.5482942462, 0.6744062901, -0.189815253, 0.3012259603, 0.2166554481, -0.3213515282, -0.8227007985, -0.407894671, 0.4122487605, 0.4103634655, -0.792940557, 0.6412864327, -0.5782897472, -0.8643266559, -0.1711065173, 0.5017453432, 0.2891292274, 0.1611975878, 0.1028399467, -0.6560932398, -0.4950966537, -0.4165142179, -0.0630737916, -0.3031252027, 0.3040166497, -0.1064868495, 0.3252493739, -0.0498994626, 0.8934739828, -0.4550055265, -0.4273108244, -0.3831015229, -0.2143789083, 0.1916437298, 0.3905631602, 0.6552792788, -0.5097613335, -0.7839685082, 0.245113045, -0.5175278783, -0.1183756366, 0.1207245365, -0.4454653263, 0.0017028445, 0.668397069, -0.4869858027, 0.1926635951, 0.9756185412, -0.4650673568, 0.2567451894, -0.1886648089, -0.0319113769, -1.2965282202, -0.0630225092, -0.1907506287, -0.5086395741, -0.6341282129, -0.0562437512, -0.0599535331, 0.1539296359, -0.3846772313, 0.7847702503, -0.1158080921, -0.0110525517, -0.4418898225, 0.5233471394, 0.3338429332, 0.2627553046, 0.1064178571, 0.6195420027, 0.6120657325, -0.6924447417, 0.4608824849, 0.3644877374, -0.5617647767, 0.7332389355, -0.3756833971, 0.1904742718, 0.0720077157, 0.4015986621, -0.3843752742, -0.3588215411, 0.2485167682, 0.1817997247, -0.1642061025, -0.7792925835, -0.3895970285, 0.059308026, -0.6090492606, 0.201887697, 0.6547912955, -0.710152328, 0.7958930731, 0.8027920723, -0.3056996167, -0.2953899205, -0.4462190866, 0.1352963597, -0.7612073421, -0.5611923933, 0.5713701248, -0.1683765203, -0.2948755026, -0.30857867, -0.2112429589, -0.1433555782, 0.3918427825, 0.3132463992, 0.0321058817, -0.3278057575, -0.0014991735, 0.1994616389, 0.1331659406, 0.0119016198, -0.0191355459, 0.8540440202, 0.2253969312, -0.6590066552, -0.3253393471, 0.2826729417, 0.6103739738, -0.2874496579, 1.0019599199, 0.3017630875, -0.1432449818, -0.4347568154, -0.2882460952, -0.0049889153, -0.5898604989, 0.193250984, -0.2363324016, -0.8919500709, 0.4761457145, -0.0057921247, 0.1594852954, 0.1525753886, 0.203323409, -0.0999841616, 1.0364831686, 0.6736758351, -0.2622092962, 0.9655027986, 0.2560473084, 0.2546565831, -0.8403477669, -0.0616142079, -0.5430746078, -0.3435336053, -0.5945721269, -0.3658325076, 0.6133615971, 0.3139564693, -0.4347573817, 0.4749118686, -0.1169024706, 0.3712614775, 0.4856214821, 0.296716094, 0.6075358391, 0.2318763584, 0.3745672405, 0.1610885262, -0.6206668019, -0.6330993176, 1.0121049881, 0.3526767194, 1.3361178637, 0.6552780271, 0.5778442621, 0.5714950562, 0.1845708638, -0.7232515216, 0.6788042188, -0.5539668798, -0.3555275798, -0.0601674095, -0.3888716102, -0.862113893, 0.267957896, -0.1750458926, -0.8692248464, 0.1605905443, 0.1964862645, -0.6622606516, 0.6349126101, -0.7097928524, 0.6973851919, -0.4826422334, -0.5106521249, -0.3057563901, -0.0909886584, 0.2242291272, -0.5783469081, 0.0982751846, -0.0663643405, -0.1389109641, 1.0332394838, -0.3634993434, 0.9096729755, -0.3990515769, -0.4469788671, 0.3275811076, 0.2811340094, 0.7687181234, 0.0079327086, -0.2167635709, -0.3255428672, 0.0664364174, -0.1328341216, -0.7286218405, 0.8200036883, -0.7764305472, -0.8371236324, -0.2617346346, -0.2446494251, -0.3996640444, 0.2259084433, -0.1579016745, 0.2718879282, -0.1830075085, 0.5224441886, 0.9365085959, -0.0965096727, 0.4335527718, 0.4732491076, -0.6385316253, -0.2576342225, 0.7671458721, -0.1509091854, 0.3817227185, 0.3361846209, 0.1300247312, -0.228972137, -0.7430695891, -0.5963933468, -0.0442413129, -0.8190755844, -0.1015192792, -0.535133779, -0.5369311571, -0.111655876, -0.4129881263, -0.3690403998, -0.5353220105, -0.1295741498, -0.0098934881, 0.9524821639, 0.5188772082, 0.0672419444, 0.9781467319, -0.5569924712, 0.3741620183, 0.459153682, 0.4009501636, -0.5159400702, -1.0675231218, -0.1766267121, -0.2387058437, -0.3291684985, -0.5391629934, 0.1008377969, 0.162204802, 0.4112664759, 0.679969728, 0.2854224443, 0.4700060785, -0.2163963765, 0.5506840944, 0.0257818121, -0.7897092104, 0.3229352534, -0.534313798, 0.0656644255, 0.6045701504, 0.0110649494, -0.6410773993, 0.2279467881, 0.0524498299, -0.5888909698, 0.6609452367, -0.0954470709, 0.4312905669, 0.4640437961, 0.0249289572, -0.1236989722, -0.1810958385, -0.8726523519, 0.2608808577, -0.2826201022, -0.3066140413, 0.1335919797, -0.2063821405, -0.4317332208, 0.1378492415, 0.7435228825, -0.3121015131, 0.0806673318, -0.1607854217, -0.1867274791, -0.054208979, 0.5313411355, 0.5129505992, 0.4459718466, -0.1782870591, 0.5585318208, 0.3313060999, -0.5445814133, 0.1343056113, -0.0573292896, -0.5025637746, -0.2995188832, 0.1595033854, 0.9060818553, -0.0303418003, -0.5892011523, 0.4988862574, -0.0700841844, 0.0464626066, -0.1404423565, 0.5256320238, 0.0624896027, 0.0971558765, -0.257311821, -0.0072845821, -0.4250669181, -0.4222702384, -0.0174232796, 0.5238357186, -0.6208845377, -0.2451281399, 0.5876473784, 0.5051575303, -0.1789999604, -0.1208620965, 0.0468022935, -0.2895284891, 0.1905859858, 0.4749877751, 0.7427332401, -0.2814858258, 0.3047138751, 0.089274019, 0.2498432249, -0.1888108402, 0.313814491, 0.0452125669, -0.7809204459, -0.2816988826, -0.7539387345, -0.4355135858, -0.0022577047, -0.3811900318, 0.333109647, -0.8955993056, -0.2838586271, -0.3502856791, -0.2945947945, -0.0854066461, -0.2231380045, -0.0794796199, 1.1175334454, -0.7370973825, 1.0975161791, 0.3812517524, -0.2031778544, -0.6119555235, 0.0420609452, -0.1562573463, -0.6032337546, 0.2483000308, -0.2455515563, -0.7115602493, -0.0062672077, -0.1729779691, -0.8882529736, 1.0630625486, 0.3773924708, -0.2508716881, -0.1425631642, 0.3341707885, 0.4648417234, -0.237034753, -0.1700629741, 0.393479377, 0.5136032701, -0.2674178183, -0.7855437994, 0.0765050203, 0.0774988905, -0.1138212532, 0.0893818289, -0.9168964028, 0.5047708154, 0.3696157932, -0.1032496393, 0.1740794033, 0.3498505056, 0.3579408228, -0.0166501887, 0.7097952962, 0.2386096865, 0.5201348066, 0.0469943099, 0.7052361369, -0.3492210209, -0.022047244, 1.1817679405, -0.5627484322, 1.0978394747, 0.6362304091, 0.0175265409, 0.7694244385, 0.3615859449, 0.2549585104, 0.8429762125, -0.1487334818, -0.8126428723, -0.2652597129, -0.4699692428, -0.1551557332, 0.601755321, 0.3102143705, -0.4701801538, -0.2321597636, -0.2211680561, 0.4931412041, 0.0768579692, -0.6232445836, 0.6886625886, 0.1512742192, -0.7651580572, 0.5110735893, 0.3856251538, 0.5650631785, -0.9148406386, 0.3392581046, -0.2830086946, 0.2195281982, -0.1796098799, -0.8200380206, 0.1954402924, 0.4517837167, -0.0040503968, -0.5358247161, 0.6365330219, -0.0634613261, -0.2335118651, 0.4724573195, 0.4888923764, -0.2055027336, -0.0129701588, -0.3297951818, 0.3113159835, -0.161379993, -0.2175653875, 0.5004423261, 0.0516611263, -0.4719641209, 0.7513790727, 0.4971207976, 0.1282829344, 0.2360668629, 0.0437181965, 1.0166110992, -0.4397011101, -0.5170094371, -0.7494280934, 0.2441187948, -0.0476179942, -0.0599362589, 0.6927623153, 0.4687641561, 0.5538897514, 0.1365614682, 1.0513017178, -0.3103498518, 0.3037299812, -0.9501273632, 0.9907575846, -0.3792770803, 0.5185981393, -0.1632526815, -0.9477180839, -0.2846032083, 0.4151286781, -0.4866695702, -0.0743927881, 0.5501702428, 1.1434329748, -0.4727395177, -0.269860208, 0.2629112005, -0.0671053976, 0.4659349918, 0.5566587448, 0.8563491106, -0.1873998046, 0.7734400034, -0.1577392519, 0.0437905826, -0.1920520514, -1.0116639137, -0.9877184033, -0.3614912629, -0.1076540872, -0.339897275, 0.245228827, 0.8286027312, 0.9599972963, -0.815256834, -0.2234807163, 0.0698075369, 0.3234836161, 0.0233490765, -0.098166883, 0.5657326579, 0.3743599951, -0.4045106173, 0.668531239, 0.1791187823, -0.2027813494, -0.3885281384, -0.335773617, 0.1413451731, 0.2926817238, 0.4999208748, 0.4764487445, -0.520611763, -0.5719546676, -0.3203062117, -0.222471416, 0.1976668984, 0.6052009463, -0.3521739841, 0.1973705739, 0.5425119996, 0.6999099255, 0.4217337668, 0.1768571585, 0.384046644, -0.5563547015, 0.0724869147, -0.3074149787, 0.6332964897, 0.2534359992, 0.115993686, 0.3300424814, -0.0319875255, -0.4405169487, -0.6849803329, 0.6162241697, -1.3173201084, -0.0009307583, 1.3262341022, -0.2098811716, -0.2397305518, -0.3479368389, -0.4739774466, -0.035531763, -0.321598053, 1.0008192062, 0.2931014895, 0.0898449495, -0.3584956229, -0.5347794294, 0.5788522959, 0.2346227467, -1.3033977747, 0.2114207298, 0.2517643273, 0.395742625, 0.0753065497, 0.5070255399, -0.0928953364, 0.1683261991, -0.2988865077, -0.0437992848, 0.2189217061, -0.2227108777, -0.3137403727, 0.1702995449, 0.6765233874, 0.132021606 ]
http://arxiv.org/abs/2407.02978v1
http://arxiv.org/pdf/2407.02978v1
Mast Kalandar at SemEval-2024 Task 8: On the Trail of Textual Origins: RoBERTa-BiLSTM Approach to Detect AI-Generated Text
2024-07-03T10:22:23
2024-07-03T10:22:23
Jainit Sushil Bafna, Hardik Mittal, Suyash Sethia, Manish Shrivastava, Radhika Mamidi
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have showcased impressive abilities in generating fluent responses to diverse user queries. However, concerns regarding the potential misuse of such texts in journalism, educational, and academic contexts have surfaced. SemEval 2024 introduces the task of Multigenerator, Multidomain, and Multilingual Black-Box Machine-Generated Text Detection, aiming to develop automated systems for identifying machine-generated text and detecting potential misuse. In this paper, we i) propose a RoBERTa-BiLSTM based classifier designed to classify text into two categories: AI-generated or human ii) conduct a comparative study of our model with baseline approaches to evaluate its effectiveness. This paper contributes to the advancement of automatic text detection systems in addressing the challenges posed by machine-generated text misuse. Our architecture ranked 46th on the official leaderboard with an accuracy of 80.83 among 125.
[ -0.199960798, -0.9305770397, 0.4367542565, 0.0811414644, -0.2184342593, 0.1654488742, -0.1542001218, -0.6715299487, -0.3524992168, 0.5249713063, -0.2389401793, -0.4030583203, -0.9212850332, 0.5466805696, -0.5702355504, 1.1623755693, 0.0281177945, -0.1125303879, -0.1431567371, -0.2022449523, -0.5078111291, -0.7320629954, -0.5101611614, -0.2352440357, 0.4138040841, 0.2459238619, 0.2041365057, 0.1596561968, 0.4631300569, 0.373714745, 0.0146370195, 0.4811939597, -0.1916911453, 0.3334333599, -0.2024944723, -0.1889340132, -0.2943371832, -0.006165314, 0.5199988484, 0.0210506804, -0.054854326, 0.342096895, 0.1042357087, 0.3008615375, -0.5127343535, -0.0596349388, -0.6815160513, -0.2517701387, -0.5274064541, -0.6020011902, -0.6669553518, -0.1747475863, 0.1167573258, -0.1371752769, 0.2405562401, 0.1940658838, 0.863701582, 0.2354062647, -0.7296534181, -0.7695867419, -0.7270177603, 0.769941628, -0.4869609177, 0.3081028461, 0.4463039339, 0.4208959639, 0.0232138839, -0.6058271527, -0.579691112, 0.1367305964, 0.1286620498, 0.1207362786, -0.189289555, -0.4145813584, -0.0178348813, 0.1465292126, -0.9453869462, 0.0331921354, -0.5870602727, -0.2507835925, 0.6025180817, 0.1800065488, 0.5479598641, -0.4161562026, -0.3723302186, 0.2944574356, -0.6768602133, -0.1547212452, 0.3881587684, 0.3210836351, -0.025601713, 0.6891764998, 0.0948977172, 0.5971772671, -0.113535367, -0.1460926533, 0.2883673012, -0.5358363986, -0.2103132457, 0.1588768661, 0.8429028392, 0.0038954262, 0.4128601253, -0.0948701501, -0.1781601757, 0.2265443802, 0.4759843051, -0.6667896509, -0.1893991977, -0.155214861, -0.4646199942, -0.5303235054, 0.0336007848, -0.6952801347, -0.4727163613, -0.0453355797, 0.4351422787, -0.4182625413, 0.0233248677, -0.0958488062, 0.0035477872, 0.2442970425, 0.4929531813, -0.5403648615, -0.1041735262, 0.4519758821, 0.5477289557, -0.3778125048, -0.165195629, -0.4950214922, 0.2568647265, -0.0540362783, 1.0219413042, -0.4879879951, -0.3158403337, -0.0418630838, 0.145113498, 0.2096286267, -0.4404847026, 0.8360318542, -0.6592757702, 0.5796484947, 0.1814915538, -0.4489322007, -0.3656919301, 0.3926087618, -0.472812891, 1.2261416912, 0.0195035357, -0.7906508446, 0.3734698892, -0.6022017002, -0.6296095848, 0.3682343364, -0.0397973396, -0.8593821526, -0.159071669, 0.1129262522, 0.3536632657, -0.407155931, 0.513430059, 0.0693456307, -0.3258459568, 0.2682899535, -0.863406539, 0.8931185603, 0.2740101218, -0.5177727342, 0.0676443577, -0.9003846049, -0.1372181475, 0.1153848544, -0.6786565185, -0.5567217469, -0.097470507, 0.2863355577, 0.2243860662, 0.2611856163, -0.4310971797, -0.1694972366, -0.2463837713, 0.1782772243, 0.8186739683, 0.1996802092, 0.3286129236, -0.2819742858, 0.5829004645, -0.0039955131, -0.1868968606, -0.4792706072, -0.6975566745, -0.7632558942, -0.2210514694, 0.3750171661, 0.6439138055, -0.6539381146, 0.4652291536, 0.144189164, -0.5111404061, -0.2485256344, 0.1371206194, 0.414557904, 0.2796485424, 0.4346752167, 0.063388668, -0.6847596765, -0.7214139104, -0.3486168981, -0.0136923529, 0.2065878361, 0.1966517419, 0.7100924253, -0.4302924275, 0.5344177485, -0.0544231534, -0.0674346387, -0.1893625855, 0.4525177479, -0.2294217944, 0.4088445306, 0.4457766414, -0.9794191122, -0.6195992231, -0.0888553336, -0.9331020713, -0.48192361, -0.035260275, -0.1377836019, 0.6647456884, 0.3876338899, -0.4603801072, 0.7017837763, 0.4175935984, -0.4693077803, 0.5663931966, -0.1326812506, 0.2927312851, -1.2555856705, 0.1557180882, -0.0698034987, -0.3891634047, -0.6191780567, -0.0600850917, 0.2318338305, -0.2329829633, -0.2111518979, 0.391967833, -0.4587628841, 0.0281554759, -0.4222424328, 0.0971087962, 0.1220652312, 0.1411947459, -0.2133059502, 0.9927093387, -0.0072984574, -0.6249950528, 0.1260709614, 0.27746135, -0.2170575857, 0.7980318666, -0.6046744585, 0.1186217219, -0.2234388292, 0.1914436519, -1.0309250355, -0.0422062278, 0.3870371878, -0.6838425398, 0.2857177556, -0.0241169669, -0.6450927854, -0.3253611326, -0.1308043748, 0.4111602306, 0.3386435509, -0.3876424432, 0.4640820026, 0.4438093305, -0.4591530859, -0.486043334, -0.6501014829, 0.4221142828, -0.3354100883, -0.4541075528, 0.1011688635, -0.1961876005, -0.1822028607, -0.0308965687, 0.1273413152, -0.0209234264, 0.273108989, 0.2867506742, 0.4903033078, -0.256396383, 0.1677962244, 0.1463339031, -0.2577327788, -0.0120029273, -0.1566085815, 0.7115725875, 0.0694717318, -0.2838619649, -0.5842625499, 0.4102299213, 0.695523262, -0.5709400177, 0.5271128416, 0.7246902585, -0.2750564814, -0.2779251039, -0.4703676999, 0.1825458556, -0.4441291392, 0.1645616144, -0.2063731253, -0.8573396206, 0.0250023603, 0.0245608836, -0.1747885197, 0.6130005717, 0.8654187918, -0.0388816483, 1.0352296829, 0.6341533065, 0.1187771857, 0.2675597966, -0.1314088553, 0.2819859684, -0.7334077358, -0.2986719608, -0.95960778, -0.0918920636, -0.6419599056, -0.3474040926, 0.2523141801, -0.3134096563, -0.3403750956, 0.4406329691, -0.6796623468, 0.2726199329, 0.5538078547, -0.2599853277, 0.4429787397, -0.0807678103, 0.0884259343, 0.0922230557, -0.3325461745, -0.8367519975, 1.2204122543, 0.100597173, 0.4929940999, 0.3096504509, 0.7594331503, 0.6621640325, 0.408611834, -0.4265259504, 0.358813405, -0.08815559, -0.8228045106, -0.0966311842, -0.2228930146, -1.0649079084, 0.2642756104, -0.2113689333, -0.5005405545, -0.0701674968, -0.2393836379, -0.0522052981, 0.0407687686, -0.4106007814, 0.787735343, -0.4812439978, -0.1801867038, -0.0472762361, -0.5561218858, 0.3403931856, -0.3683233261, 0.4136919379, -0.1285533756, -0.0471780822, 0.5708953142, -0.1447362453, 0.6167449355, -0.1123098731, -0.130270943, 0.4374348223, 0.1117575541, 0.4295783043, -0.1218223423, -0.1694449633, 0.0242823493, -0.1988721043, -0.2733163834, -0.0841033086, 0.4286823869, -0.7693234086, -0.2930474579, -0.7716834545, -0.3824110031, 0.0324796326, 0.4701183736, 0.4639060497, 0.6350525618, -0.1357982308, 0.3442963064, 0.4294216335, -0.4959976673, 0.4522120357, 0.6279942393, -0.2120833546, -0.4059582055, 0.9265059233, -0.0251439922, -0.1553999186, 0.2412418425, 0.1450287849, -0.2593408823, -0.7831189036, -0.770052433, -0.0427060984, -0.4852078557, -0.5168108344, -0.7537282109, -0.3320173323, -0.3495326638, -0.1807377785, 0.1474295557, -0.2164488435, -0.5136477351, 0.0678705573, -0.0165980402, 0.8676636815, 0.4097394049, 0.2147279382, -0.8727429509, 0.2302605063, 0.0373641327, -0.1219040677, -0.18246077, -0.7211186886, -0.1243274063, -0.0201756172, -0.5413916707, -0.7858003974, 0.6315069795, 0.1065458804, 0.5840291977, 0.175257206, 0.0409360006, 0.3455272019, -0.4530748725, 0.8040864468, -0.1075025126, -0.7600405216, 0.6986005902, -0.3453668952, 0.3539094031, 0.3992196918, 0.3933229148, -0.325866133, -0.6394902468, -0.5260580182, -0.592135787, 0.6576455832, 0.2782038748, 0.1685775667, -0.0060007423, 0.1166034639, 0.3375695646, 0.32916224, -0.7399471998, -0.0254067369, -0.0722298175, -0.538629353, -0.138455376, -0.3817310929, 0.3098423779, 0.1594721228, 0.8336624503, 0.1412073225, 0.1377463788, -0.0405455641, -0.5573209524, -0.0222975072, 0.4111365378, 0.7145996094, 0.3820316792, 0.2027784288, 0.3142316341, 0.0683534667, -0.4092049003, 0.195172891, 0.140875116, -0.6602143049, 0.0101510696, 0.2747372389, 0.4770147204, 0.1500948668, -0.7755092382, 0.4970556796, 0.0394503325, 0.0219427329, -0.5850817561, -0.0466751941, -0.1055100784, 0.2472505569, 0.5206509829, 0.2884857953, 0.4323010445, -0.6402733922, 0.3642426729, 0.4720562696, -0.2355328798, -0.4359506965, 0.718341589, 0.2979616225, -0.6839903593, 0.2906618714, -0.4064905941, -1.0043460131, 0.5768684149, 0.8294785023, 0.7257805467, -0.3022508621, 0.1687324345, 0.2616440654, 0.187664032, 0.3024794161, 0.1708266139, -0.1393919885, -0.6889027357, -0.1593790501, -0.786559701, -0.0463522151, 0.081110619, -0.2299653888, 0.525865972, -0.2594720721, -0.1017946154, 0.2881475687, 0.1249858961, -0.5044002533, 0.0826878175, 0.232359156, 0.6205745339, -0.602753818, 0.6555957794, 0.8553239107, -0.4863876104, -0.4576173425, 0.0122011118, 0.4567638934, -0.6126041412, 0.7760515809, 0.4042696655, -0.2152651548, 0.050417196, -0.3794270754, -0.615717113, 1.0702269077, -0.3471386433, -0.1789692491, 0.0691193864, 0.0964665711, 0.5700283647, -0.1742019802, 0.0787466913, 0.2459087074, 0.5873756409, -0.1610009521, -0.8561046124, -0.2265691459, -0.4525327981, -0.0782839805, 0.3971731961, -0.5029063821, 0.9865036607, 0.2220821083, -0.3067982495, 0.4611947536, 0.297341764, 0.2066351175, 0.6901708245, 0.2231806368, 0.5583366156, 0.7279910445, 0.0417005494, 0.7687690258, -0.1946972609, 0.3059591949, 0.9704232216, -0.4489026666, 0.6731928587, 0.0146957664, -0.1958159059, 0.7419637442, 0.4081432819, -0.1775652617, 0.3516568542, 0.0502083786, -0.4371314049, 0.0549936146, -0.0519019552, -0.1527627558, 0.874964118, 0.4166996777, -0.4271511734, -0.2981553674, 0.3049898744, 0.048704017, 0.2768532038, -0.1182838902, 0.9215240479, -0.1561680734, -0.7256423235, 0.2207785249, 0.4319362342, 0.8049111366, -0.3730562329, -0.0161387399, 0.1253334731, 0.3270120323, -0.0310201366, -0.6326531768, 0.3522070348, 0.359924823, -0.2031263411, -0.2077755034, 1.2610383034, -0.5766760707, -0.5350008607, 0.0896638408, 0.6411170363, 0.1424908936, -0.0119244559, -0.5594217181, 0.2872238457, -0.1742323637, -0.0840482563, 0.1699381918, 0.7147095799, -0.308445245, 0.5450787544, 0.7581117749, -0.1554653198, 0.1604416668, -0.0671850592, 0.3647496104, -0.5040746331, -0.4711269736, -0.9165180922, 0.2669587731, -0.1395614147, -0.2528452575, 0.9593690038, 0.7499674559, 0.5664162636, 0.0077006095, 1.0296117067, -0.1804499179, 0.7248630524, -0.266132772, 0.7790212035, -0.632017374, 0.2122910023, -0.3189947009, -0.8948602676, -0.2443843484, 0.6647684574, -0.1125790179, 0.068202965, 0.5852783918, 0.6102954745, 0.0698953941, 0.2379698157, 0.1648656279, -0.0193736535, 0.3254122734, 0.3470046222, 1.0332005024, -0.486345917, 0.6506322622, 0.1067439839, -0.1639799625, -0.5413176417, -0.6329833865, -0.9649368525, -0.7278707623, -0.048811648, -0.2529527545, 0.1755712479, 0.7261047363, 0.4717176259, -0.9634278417, -0.0084801149, 0.0303727947, 0.021139387, 0.2729143202, -0.2356370687, 0.1934936047, -0.3709839582, -0.8313500285, 0.2165332288, 0.5700809956, 0.1353083253, -0.3991752565, -0.1203205287, -0.6595988274, 0.1883772612, 0.9154655933, -0.0563426465, -0.6110566258, -0.6443053484, 0.0035918248, -0.4235061407, -0.0781357586, 0.7721546888, -0.6676912904, 0.3986160457, 0.6288810968, 0.7972117662, 0.4560520053, 0.2452311069, 0.3143044412, -0.5098031759, 0.0251981579, 0.3616470695, 0.1924895197, 0.4638077319, -0.3797504902, 0.5895598531, 0.4815511107, -0.815187633, -0.9579532743, 0.1071893945, -0.8080950379, -0.4075500667, 0.9489471316, 0.0594425462, -0.1816897094, -0.543099463, -0.4352984726, 0.3713059723, -0.2520993948, 0.741107583, 0.7164986134, 0.0582489818, -0.3305759132, -0.6115874648, 0.2321314663, 0.1836037189, -1.0075039864, -0.110879682, 0.6464706063, 0.2318370491, 0.2731620371, 0.657504499, -0.3235660195, 0.3406691253, -0.1491277069, -0.0290107001, -0.0740542263, -0.5734058619, -0.1907501817, 0.2467111498, -0.1063495725, -0.0279457681 ]
http://arxiv.org/abs/2407.02977v1
http://arxiv.org/pdf/2407.02977v1
Large Language Models as Evaluators for Scientific Synthesis
2024-07-03T10:21:27
2024-07-03T10:21:27
Julia Evans, Jennifer D'Souza, Sören Auer
cs.CL
cs.CL, cs.AI, cs.IT, math.IT
Our study explores how well the state-of-the-art Large Language Models (LLMs), like GPT-4 and Mistral, can assess the quality of scientific summaries or, more fittingly, scientific syntheses, comparing their evaluations to those of human annotators. We used a dataset of 100 research questions and their syntheses made by GPT-4 from abstracts of five related papers, checked against human quality ratings. The study evaluates both the closed-source GPT-4 and the open-source Mistral model's ability to rate these summaries and provide reasons for their judgments. Preliminary results show that LLMs can offer logical explanations that somewhat match the quality ratings, yet a deeper statistical analysis shows a weak correlation between LLM and human ratings, suggesting the potential and current limitations of LLMs in scientific synthesis evaluation.
[ -0.4959231019, -0.3701954782, 0.8786961436, 0.211850673, -0.1608321816, 0.1073380336, -0.3907757699, -0.6421817541, 0.1138003469, 0.2546696365, 0.0053444412, -0.38746804, -0.4352256656, 0.7182839513, -0.7759977579, 1.2050710917, -0.2042054087, 0.2731731534, -0.3387266397, 0.2284824699, 0.1116652042, -0.6460882425, -0.4818241298, -0.3828254044, 0.6320226789, -0.2474726886, 0.7229254246, 0.3765023053, 0.641695261, 0.3597191274, -0.2061032504, 0.0177974422, -0.4338995218, 0.2738904953, -0.2511040568, -0.2620779872, -0.6309686899, 0.2969810367, 0.7116543651, 0.6239051223, 0.110288918, 0.2538561225, -0.0038879092, 0.6000742912, -0.1949618459, 0.2262874395, -0.5593049526, -0.0366320796, 0.0316269025, -0.120277606, -0.2448587567, -0.6552145481, 0.3011016846, -0.4019140005, 0.5779294372, -0.0238020997, 0.7026842833, 0.0942265391, -0.0245264973, -0.3139131367, -0.709225297, 0.7169356346, -1.2074301243, 0.4254147708, 0.2766882777, 0.2606782615, -0.3514412344, -0.8806979656, -0.7511733174, -0.5862669945, 0.0710985586, 0.21679914, -0.2562049925, 0.0523363911, 0.2463657558, 0.4409822822, -0.6311150193, -0.0931060389, -0.8051002622, -0.2492116094, 0.7312261462, 0.2673826814, 0.2453365475, -0.1958617121, -0.1328925043, 0.1143609732, -0.8160116076, -0.2936671078, 0.2922677994, 0.0998578593, 0.243098557, 0.7523154616, -0.0602720715, 0.7248387337, -0.217121914, -0.1095693111, -0.0098329559, -0.8218080401, -0.1693490297, -0.0810556114, 1.2164741755, 0.569756031, 0.1735161096, 0.0103913657, -0.4631159008, 0.1795745045, 0.0249422733, -1.0122648478, -0.2629154623, 0.139478147, -0.3528541028, -0.4048330188, 0.103097856, -0.4938413501, -0.2204007655, -0.3786753714, 0.2897352874, -0.0800062194, -0.2675834596, 0.064869687, -0.3396132588, -0.1653992832, 0.5567371845, -0.7425053716, 0.3946389556, 0.6482781768, 1.0139205456, -0.3249085546, -0.4925694466, -0.1655383259, -0.0827977657, -0.6564465761, 0.8332832456, -0.3462238908, -0.5265728831, -0.3586648703, -0.2929626405, 0.1979771256, -0.5190142989, 0.3893246651, -0.431633383, 0.5116583705, -0.5120444894, -0.4249295592, -0.2282830477, 0.0325546823, -0.777243793, 0.7749328613, 0.2593545318, -0.761230886, 0.3638558686, -0.6415920854, -0.2579504251, 0.0808137655, -0.1457241029, -0.0823695213, 0.270833075, 0.1206009239, 0.3565822542, -0.7112708092, 0.4875036478, -0.2161219418, -0.2137763947, 0.7541989088, -0.4880854487, 0.27878353, 0.4548791051, -0.1520454139, 0.2487230599, -0.4953086972, -0.0934646428, -0.0906475261, -0.441632092, -0.2855948508, -0.0485662818, 0.1363520175, 0.2307983637, 0.163804248, -0.4620569646, 0.1342158914, -0.3672890961, 0.8220828176, 0.5318354368, 0.2642761171, 0.114892751, -0.2903677225, 0.5832149982, -0.4357088506, -0.0553073697, -0.1204861626, -0.5640117526, -0.4500309229, -0.3030622303, 0.4526158273, -0.0806433931, -0.4289957285, 0.263690263, -0.2424222231, -0.7073292136, -0.5336309075, 0.0159386378, 0.2977074087, 0.3190120757, 0.0633417889, -0.2517761886, -0.5383217931, -0.8132784367, -0.3155359626, -0.4280689955, -0.2176518887, -0.1380582303, 0.8532685637, -0.129396677, 1.0006564856, -0.2985366881, 0.1744099259, -0.1468038708, 0.1420961767, 0.3671788275, 0.0251179319, 0.4873591363, -0.5650673509, -0.4234370887, 0.065106675, -0.7327268124, -0.4079521596, 0.1496966183, 0.2520654202, 0.0859818608, 0.441688925, -0.9225587249, 0.1099907607, 0.6691094637, -0.1549918503, 1.0016995668, -0.1761949658, 0.5511851907, -0.8548946977, 0.2525530457, 0.018507883, -0.091759935, -0.7264915705, -0.0742023513, -0.2530271113, -0.1535423249, -0.308721602, 0.6360529661, -0.4866534472, -0.2350282222, -0.3969028592, 0.2322622985, 0.1550824344, -0.1252880543, 0.1334153414, 0.8941693902, 0.266359061, -0.4731350541, 0.2966101468, 0.1407250613, -0.5937700868, 0.1203751713, -1.1375411749, -0.1619958282, -0.089547947, 0.5216549635, -1.0430217981, -0.6623862982, -0.0793379545, -0.4827873111, 0.0578131527, -0.0080907373, -0.5208134055, -0.526497066, -0.3994118869, 0.3199389875, 0.4780462086, -0.3170724511, 0.3805354834, 0.1885873824, -0.6818850636, -0.083114475, -0.6929881573, 0.2424277067, -0.1425617486, -0.5500872135, 0.1103448793, -0.2596328259, -0.5882242322, 0.1207958832, -0.2565120459, -0.0301557109, -0.062962383, 0.2975132763, 0.3626581728, -0.2472015768, -0.1237297356, 0.0469485484, -0.057003323, 0.2454848886, 0.0475619473, 0.2270494401, -0.122014299, -0.4405020475, -0.3044484556, -0.0052203969, 0.9502798915, -0.1951448172, 0.3301214576, 0.3152466714, -0.191094473, -0.0166162737, -0.6450100541, -0.2999663055, -0.4042186439, 0.4185162187, -0.2517282665, -1.0683465004, 0.5076557994, 0.1467885226, 0.1411343962, 0.6423495412, 0.894885242, 0.2129694074, 1.1267994642, -0.0671364367, 0.045574028, 0.2510236204, -0.0112850368, 0.2214584798, -0.9160866737, 0.0279590301, -0.6296044588, 0.0931335986, -0.442068994, -0.423153758, 0.7284652591, 0.1285691112, -0.2868971527, 0.0058740112, -0.6257245541, 0.4945892394, 0.1940511614, -0.324154824, 0.388476491, 0.0711458325, 0.109685339, 0.109978348, -0.4110279977, -0.8724294305, 1.0602464676, 0.6037080288, 0.8523233533, 0.0928177983, 0.5893817544, 0.1167249382, 0.7505316734, -0.6490572691, 0.4700807929, 0.169748202, -0.7544890046, -0.3774701655, -0.6853008866, -0.7209985256, 0.6683485508, -0.103952907, -0.4175113142, -0.2020042092, -0.103196837, -0.2625152171, -0.0109154424, -0.6591998339, 0.5348259211, -0.2755737901, -0.0952167138, -0.0306427963, -0.3637053668, 0.8187075853, -0.5297177434, 0.4033225179, -0.2378575355, 0.0476879925, 0.9647780657, -0.3640025854, 0.661331296, 0.0226837806, -0.1580429673, 0.4074412584, 0.2997629642, 0.0970035642, 0.1047568694, -0.2822107971, 0.367328167, 0.2053575367, 0.0373180136, -0.5360514522, 0.9145188332, -0.8470366001, -0.813831687, -0.6184037328, -0.5602758527, -0.0150824487, 0.2490473688, 0.3246791363, 0.250610888, -0.369817704, 0.0522542819, 0.1206197739, -0.2056957036, 0.246284768, 0.57258147, -0.4689211249, -0.7179239392, 0.6211640239, 0.0218441579, 0.481256783, 0.1038077772, 0.4694922268, -0.2040938139, -0.8249900341, -0.3456477225, 0.5120121241, -0.7225427628, -0.1009855196, -0.5436923504, -0.3153235018, -0.2963813841, 0.0832505003, -0.2979706526, -0.6026027799, -0.1888951361, -0.2457490563, 0.2241757512, 1.2615439892, 0.0657437891, -0.0796842724, -0.7516151667, 0.2178640813, 0.2494603544, 0.1376779675, 0.1401132196, -0.5778340697, -0.1270335019, 0.0432340279, -0.2661547363, -0.7601217031, 0.4604551196, -0.0457818843, 0.4694405496, 0.2476881891, -0.3144606054, 0.4355331957, -0.6579312086, 1.3518483639, 0.4260444939, -0.9785141945, 0.2255241722, -0.4012923837, 0.2316060066, 0.3103988767, 0.5438401103, -0.2236829698, -0.7543501258, -0.2512489557, -0.6526710391, 0.370568037, 0.3707572818, -0.0957924277, -0.1159823537, 0.2723624706, 0.3195696771, 0.2182939798, -0.6713451743, 0.115831539, -0.2980966568, -0.0718031749, -0.2904680669, -0.2836766243, -0.2247545719, -0.1716339737, 0.5648244619, 0.0686690211, 0.0657109693, 0.2983896434, 0.2134798169, -0.334797442, 0.4182750583, 0.889293611, 1.1655168533, -0.2606322765, 0.2677847147, -0.0694683865, -0.4032970965, 0.1640997976, 0.0739939213, -0.2009176016, 0.1842288822, 0.6995670795, 0.6163834333, 0.0320768394, -0.5856044292, 0.47657305, -0.1940058619, -0.4086110592, -0.1070177704, 0.0880805403, 0.1884398162, 0.090364635, 0.381940335, 0.0665815249, 0.2736333609, -0.4551970363, -0.1179188713, 0.4182074964, -0.0372511223, -0.8816344142, 0.7971789837, 0.0278049912, 0.0110879382, 0.2574492693, 0.0523556322, -0.6443613768, 0.3025217652, 0.5624160171, 0.752127409, -0.4087985456, 0.1429872513, 0.3937727213, 0.3621834219, -0.4696171284, 0.3049583733, 0.1578272432, -0.3930513859, -0.8043992519, -0.8551996946, -0.6029818654, 0.1828373522, -0.4352008104, 0.0688770264, -0.1982003897, -0.4615759552, 0.5110176206, -0.4361153841, -0.5153269768, -0.0960601196, -0.117928043, 0.6371459961, -0.9934213758, 0.5230874419, 0.6280103326, -0.7601292729, -0.8200359941, -0.2811838984, -0.0564786717, -0.1801517457, 0.9013986588, -0.2158044726, 0.0170080997, -0.2572875321, -0.5063391328, -1.0148440599, 0.8950429559, 0.4158750176, -0.513294518, -0.1019422337, 0.0036882351, 1.02871418, -0.2076435685, 0.5573937893, 0.5728780627, 0.7207821608, 0.088404566, -1.3874309063, 0.1397993416, -0.2126537859, 0.0381521136, 0.1600345075, -0.3737740219, 1.0296347141, -0.2297717482, -0.1702508181, 0.3850027025, 0.5854596496, 0.4857212305, 0.3338983953, 0.0639409646, 0.1445999295, 0.5498136878, -0.0832952484, 1.2892369032, -0.2299640924, 0.3415728807, 0.7991455793, -0.4964371026, 0.8227162957, 0.5933651328, -0.5042299628, 0.3335983157, 0.5087014437, -0.1126758978, 0.3819221854, 0.4595424831, -0.2437562793, -0.0069687408, 0.0247364268, -0.4402992725, 0.2335126847, 0.3791878223, -0.6005107164, -0.150708124, -0.1701273024, -0.0203680582, -0.1782689691, -0.1423381865, 0.732077837, 0.345192343, -0.8144851923, 0.9064592123, -0.0175788384, 0.2347151488, -0.6234819293, -0.1610297114, -0.0801189989, -0.189620927, -0.4527788162, -0.9014196992, 0.0190693587, 0.2269142568, -0.2108349502, 0.1216246933, 0.354542017, -0.4313785732, -0.3615942597, -0.1794160604, 0.5275465846, 0.5848501325, -0.0025807526, -0.3331046999, 0.2161972821, 0.0108413035, -0.5306969881, 0.2307240516, 0.4556455016, -0.3115859032, 0.6100651622, 0.9601814747, 0.5478731394, -0.1714401096, 0.1987815499, 0.8712713718, -0.699714601, -0.2308261693, -0.9803312421, 0.222521171, 0.2175420672, -0.1560362726, 1.0047578812, 0.5750107765, 0.5165541172, -0.2992911041, 1.1587439775, 0.1451146752, 0.3526455164, -0.4704631269, 0.8467007279, -0.104417704, 0.3477734923, -0.5096784234, -1.2859903574, -0.2887748182, 0.4462831914, -0.2769656181, 0.2590087354, 0.8975427747, 0.6311082244, -0.0386880971, 0.2091896832, 0.3742029667, 0.5253399611, 0.7840400338, 0.2177092284, 1.1979364157, 0.0046444703, 0.1787270457, 0.2803246081, -0.3526020646, -0.0063258861, -0.9644708037, -1.0393887758, -0.6272621751, -0.0982128978, -0.2737480998, -0.2281137407, 0.9021846056, 0.3677624464, -0.7611149549, -0.2308386564, 0.0050851321, -0.0716422647, 0.0500279963, -0.2217725217, 0.5822398663, -0.0251661334, -0.5826027989, 0.5663626194, 0.3209454119, 0.0902678967, -0.7036237121, -0.1218259484, 0.4126687348, 0.2520831823, 0.8199523091, -0.026697088, -1.2154089212, -0.193185702, -0.1327421814, -0.0637526661, -0.3903717101, 0.7802659869, -0.4625836015, 0.5201348662, 0.7473497987, 0.3906327188, 0.4243528545, 0.1173135489, 0.7477124929, -0.2348669618, -0.3471806645, 0.2528544068, 0.4549945891, 0.5562642813, 0.039117936, 0.4975587428, 0.0142234312, -0.8988127112, -1.039227128, -0.0071310475, -0.9118978381, -0.1154481992, 1.3916529417, -0.060513746, -0.2117073387, 0.0509604588, -0.392726928, -0.0713451579, -0.4311724305, 0.8270404935, 0.8607220054, -0.3302136362, 0.1698552519, -0.7171721458, 0.5332596302, -0.0442256965, -0.8476117849, 0.1306056678, 0.7903860807, 0.591427803, 0.405918926, 0.5600176454, -0.3775269389, 0.441159308, -0.127448231, 0.2201418877, -0.3257727921, -0.0024411979, -0.2217478156, 0.0489529744, 0.5297375917, 0.5855839252 ]
http://arxiv.org/abs/2407.02964v1
http://arxiv.org/pdf/2407.02964v1
FSM: A Finite State Machine Based Zero-Shot Prompting Paradigm for Multi-Hop Question Answering
2024-07-03T10:01:01
2024-07-03T10:01:01
Xiaochen Wang, Junqing He, Zhe yang, Yiru Wang, Xiangdi Meng, Kunhao Pan, Zhifang Sui
cs.CL
cs.CL
Large Language Models (LLMs) with chain-of-thought (COT) prompting have demonstrated impressive abilities on simple nature language inference tasks. However, they tend to perform poorly on Multi-hop Question Answering (MHQA) tasks due to several challenges, including hallucination, error propagation and limited context length. We propose a prompting method, Finite State Machine (FSM) to enhance the reasoning capabilities of LLM for complex tasks in addition to improved effectiveness and trustworthiness. Different from COT methods, FSM addresses MHQA by iteratively decomposing a question into multi-turn sub-questions, and self-correcting in time, improving the accuracy of answers in each step. Specifically, FSM addresses one sub-question at a time and decides on the next step based on its current result and state, in an automaton-like format. Experiments on benchmarks show the effectiveness of our method. Although our method performs on par with the baseline on relatively simpler datasets, it excels on challenging datasets like Musique. Moreover, this approach mitigates the hallucination phenomenon, wherein the correct final answer can be recovered despite errors in intermediate reasoning. Furthermore, our method improves LLMs' ability to follow specified output format requirements, significantly reducing the difficulty of answer interpretation and the need for reformatting.
[ -0.3732975125, -1.2503499985, 0.9587570429, 0.0456497334, -0.2795998454, 0.0940294862, 0.0000693021, -0.2583713233, 0.1538809389, 0.2156812549, -0.9605999589, -0.2511276603, -0.1705121547, 0.5663727522, -0.2090350538, 0.5844376087, -0.1924107671, -0.1531204134, -0.1574127376, 0.1895868778, -0.6051745415, -0.3746759593, -0.7234628201, -0.500146389, 0.6379915476, 0.3263307512, 0.5898663998, 0.4884423018, -0.1914368421, 0.3426295221, -0.052975215, 0.504797101, -0.1923552901, 0.5936937928, -0.2451119572, -0.7111650705, -0.2379713804, -0.2196221948, 0.6871030927, 0.4750005305, 0.0868050307, 0.1593449414, -0.2172404677, 0.5160341859, -0.6808975935, 0.1315902323, -0.8935373425, 0.1304159909, 0.1166298985, -0.6447781324, -0.6321149468, -0.2798517644, -0.0624891669, -0.4536242187, -0.083160989, 0.1035821065, 0.4784168601, 0.6061840653, -0.3107842505, -0.0080619715, -0.6730251908, 0.6631049514, -0.5357035398, 0.4556775391, 0.2137146443, 0.3260131776, -0.4036093056, -0.125690639, -0.9003710151, -0.1751067489, 0.2464066595, -0.0630501285, -0.0963064656, 0.1371392757, 0.4996753931, 0.3166446686, -0.5347590446, -0.3286145926, -0.0795257688, -0.4426935613, 0.4250912964, 0.3194315135, 0.2291341424, -0.174721688, -0.2849212587, -0.2629621625, -0.6675812006, 0.3046424091, 0.0530301034, 0.5739355087, 0.1922459453, 0.5814699531, -0.5369043946, 0.9714253545, 0.1354964525, -0.2136865854, 0.1799779534, -0.0716771558, -0.3758986294, 0.0295629855, 0.647862196, 0.0926259905, 0.2883473933, -0.0471145846, -0.1246820018, -0.0551097766, 0.1742220521, -0.5901041627, -0.0390019156, 0.6880566478, -0.0691197142, 0.0509122312, -0.0277605373, -0.7141771317, -0.2140026242, -0.3969853222, 0.9288365245, -0.6883839965, -0.277905941, 0.2371988595, -0.0615400374, 0.4838835299, 0.5568192601, -0.6834446788, -0.080352664, 0.6164914966, 0.937543273, 0.079113856, -0.4469134212, -0.91804564, 0.0192607734, -0.5724027753, 0.7863487005, -0.4435830116, -0.2597838938, -0.1364019662, 0.0408842526, -0.393178165, -0.2896173596, 0.1197468415, -0.646827817, -0.033830408, -0.461001426, -0.531789422, -0.358689785, 0.5736507773, -0.5026860237, 0.9784280658, -0.0047603892, -0.5465805531, 0.0484051071, -0.7512907982, -0.3483866751, -0.1527116001, -0.3546159565, 0.0668033808, 0.0372853056, 0.5306758285, 0.5772217512, 0.0098683853, 0.1767295897, -0.2112486064, -0.5003206134, 0.2736817002, -0.5801414251, 0.6356663108, 0.2420858145, -0.3618941307, 0.1674164981, -0.4356074035, 0.3577031791, 0.2753407359, -0.2020406276, -0.1156665534, -0.2551239729, -0.6799865961, 0.4077837467, -0.0080657164, -0.6128045321, 0.2588759363, -0.5588991046, 0.2793532312, 0.7965357304, 0.327739805, 0.2678691745, -0.6184167266, 0.7395068407, 0.024431888, -0.0032903408, -0.7199289203, -0.5600782037, -0.6290435791, -0.1579139829, -0.0287037604, 0.79029423, -1.1159543991, 0.3402730525, 0.1561393142, -0.3300625682, -0.6444500685, -0.1563326567, 0.3884581923, 0.5586407185, 0.6144226789, 0.3368090689, -0.2993587255, -0.3880068064, -0.1721883416, -0.1018884927, -0.0093803685, 0.1458883733, 0.4420026839, -0.1273496449, 1.0892469883, -0.4236192405, 0.124977164, -0.0924061537, 0.1853203326, 0.3282585442, 0.3230145574, 0.084065862, -0.4307861328, -0.066143848, -0.3712088466, -0.7287626266, 0.0904970616, -0.2928494513, -0.201715827, 0.2764724493, 0.2856450677, -0.7381588817, 0.1198515743, 0.3360415399, -0.2596137524, 0.7358002067, -0.0459292829, 0.5735586882, -0.9775012136, 0.0561874248, -0.3555196524, -0.1354278326, -0.6163620353, 0.0993988886, -0.0107998746, -0.1165729463, -0.4940095842, 0.5835497975, -0.3415087163, 0.0489969142, -0.2651737332, -0.0135930181, 0.0691715479, 0.5013098717, 0.0173510406, 0.920584321, 0.5740846992, -0.8836435676, 0.3648982346, 0.2913536429, 0.0183911808, 0.4300607741, -0.4350140095, 0.4762901068, -0.4203214049, 0.45515576, -1.1623493433, -0.1935191453, 0.2630299628, -0.6462584734, 0.1394294798, 0.035646975, -0.4503960609, -0.6009953618, -0.3204489946, 0.2527860701, 0.136274308, -0.4409898221, 0.5574213862, -0.1332244426, -0.0373813994, -0.688675344, -0.5314461589, -0.0830702409, 0.086126931, -0.4844344258, -0.0195165519, -0.4074089825, -0.1253865659, -0.3399298787, -0.5121335387, -0.0639079586, 0.03309986, 0.0609945022, 0.4028631151, -0.3021127582, 0.3132730126, 0.4643643498, -0.2495531142, 0.2318458259, -0.4087150693, 0.7648390532, -0.2563198507, -0.4145759344, -0.854338944, 0.3998476267, 0.6906121969, -0.2025961429, 0.4379165769, 0.1704065502, -0.387439698, -0.3173787296, -0.3237681985, -0.6233195066, -0.466450721, -0.2464211434, -0.8549520969, -1.3035783768, 0.126063779, -0.2103188932, 0.4225383997, 0.2594359219, 0.5034708381, -0.0398124009, 0.9885002375, 0.1620665342, -0.0124654798, 0.1064322814, -0.195047155, 0.2617043257, -0.5441231728, -0.3555957675, -0.6629920006, -0.0641176254, -0.0046803756, -0.7939899564, 0.3549420238, 0.0845703334, -0.3793815672, 0.0930867866, -0.5480819941, 0.4727788866, 0.3268187642, 0.1417791843, 0.4342101812, 0.0429769121, -0.652638793, 0.1483347416, -0.7244919538, -0.4137032628, 0.6764684319, 0.2342259735, 0.855448246, -0.0893079787, 0.9329587817, 0.1937119365, -0.0588066205, -1.1241855621, 0.5310422182, 0.4187622368, -0.7502455115, -0.7546418905, -0.3997930884, -0.6644381881, 0.4541534185, -0.3821534812, -0.847386241, -0.1661377698, 0.4695688188, -0.8983557224, 0.3959062099, -0.2536380887, 0.4537691772, -0.0294000451, -0.1451678723, -0.0602577887, -0.5949009061, 0.399307102, -0.0343842842, 0.1301391125, -0.3611833751, -0.039565932, 0.420195967, -0.4198450148, 0.5499268174, -0.3344245851, -0.3403879106, 0.4614421725, 0.5235798955, 0.5330766439, -0.0537921079, -0.3987541199, -0.0643773228, 0.2465587109, -0.118575573, -0.8332576156, 0.551769793, -0.4731391668, -0.7510855198, -0.3411398232, -0.7838249207, -0.6274375916, 0.1456996799, 0.1169110388, 0.4384963512, 0.3305318654, 0.0834114105, 0.9491044283, -0.1664147824, 0.4981257319, 0.389916569, -0.3235915303, -0.5576310158, 0.6218960881, -0.1583351046, 0.3318353593, 0.5928071737, 0.459872365, -0.8086717129, -0.0966111943, -0.9576602578, 0.2090859115, -0.5823735595, -0.3589921296, -1.0099790096, -0.199204728, -0.3725551963, -0.3306780457, -0.2040145695, -0.2814380527, 0.0858515203, -0.0644575804, 0.6648700833, 0.3758895099, 0.0709621981, 0.1566727161, -0.9810744524, 0.5692428946, 0.4592337608, 0.2791010439, 0.2652257085, -0.4781732261, 0.3191037178, 0.114198193, -0.1103566661, -1.0785442591, -0.240362972, 0.0473785475, 0.578289032, 0.43646878, 0.3722630143, 0.9406869411, -0.5412293077, 0.7346154451, 0.2720594108, -1.1916145086, 0.7984723449, -0.4195950925, 0.5560472012, 0.6274330616, 0.5465562344, -0.584151268, -0.5440268517, -0.4023721516, -0.5691797733, 0.6775333285, 0.0579882041, 0.2228453904, -0.1711835861, 0.5390242338, 0.1115703434, 0.1735936701, -0.4782486856, -0.3022142053, -0.1252088249, 0.0435609184, 0.2442223877, 0.0060775564, 0.032955166, -0.3839653134, 0.8345115185, -0.5317976475, 0.4308334589, 0.5843833685, -0.1133027971, -0.3566115797, 0.5677343011, 0.5234581232, 0.6266553998, 0.0811103433, 0.1678168625, 0.5095487237, 0.0098321326, 0.5834997296, -0.310048759, -0.3891879618, 0.0537077375, 0.0723731071, 0.5491208434, 0.0530041605, -0.5535032153, 0.2767293751, 0.1265870333, -0.5439022183, 0.0377692096, 0.4891531169, 0.0242334343, 0.3431016207, 0.559535563, -0.2662124038, 0.0113688726, -0.4128404856, 0.440407306, 0.2943419814, -0.3513810337, 0.072962068, 0.6527351141, -0.0337039344, -0.3501866758, 0.5673853755, -0.0549594648, -0.4291898608, 0.3773124516, 0.842264235, 0.6558873653, -0.5775029063, 0.4211747646, 0.6376376748, 0.4113985896, -0.1365041733, 0.8240619898, -0.3517338336, -0.7234276533, -0.7839031816, -0.7935883999, -0.6035064459, 0.2818467021, -0.3860445321, -0.0176104289, -0.7477673888, 0.0325805172, -0.1068612412, -0.0287767686, -0.1290581226, 0.3947303295, 0.2634189129, 1.1992059946, -0.7750996947, 0.7044193745, 0.6040998697, -0.2529720664, -1.2307109833, 0.2075223774, 0.3411740065, -0.5957168937, -0.0315162465, 0.482331574, -0.7225934863, 0.2029885799, -0.5727604032, -0.7812883854, 1.003662467, 0.3644133806, -0.4996173978, 0.2304467112, 0.0513047352, 0.1780988872, -0.2832704186, 0.0545705333, 0.5303598642, 0.6074607372, 0.5958468914, -0.6083857417, 0.4587134421, -0.0599844716, -0.119196929, 0.2713936865, -0.4507851601, 0.774179399, -0.5552175641, -0.1291562021, 0.1758518964, 0.6811460257, 0.9462688565, 0.3975655735, 0.9561722279, 0.1712966561, 1.2033286095, -0.0534861609, 0.5810336471, -0.1774666309, 0.0942825526, 1.1126172543, -0.3474270105, 0.9410003424, 0.5686159134, -0.1203106046, 0.6769217253, 0.7055222392, 0.2239725292, 0.0928334966, 0.3391855061, -0.3966116309, -0.6145048141, 0.1646607667, -0.3045068085, 0.5352161527, 0.2547149658, 0.045106791, -0.3970043063, 0.0444573984, 0.260363847, -0.0396915711, -0.2905583382, 0.5772185326, 0.1590652913, -0.9550704956, 0.7049151063, -0.1809210628, 0.4458430409, -0.6169190407, -0.2135688066, -0.1658768058, -0.1759138703, -0.184670642, -0.7295414805, 0.4427023828, 0.1083764285, -0.3266226053, -0.158478111, 0.5642780066, -0.3916255236, -0.1121066585, 0.2887651026, 0.7308143377, 0.3999474049, -0.3076467514, -0.9171848893, 0.0191267114, -0.1259373277, -0.0850075781, -0.1601594388, 0.4546695352, -0.1816923171, 0.7618641257, 0.9046109319, -0.2293961495, 0.0318560489, 0.1506945044, 0.7141375542, -0.8128759861, -0.63065207, -0.9007419944, 0.5169620514, 0.1356056035, 0.0150666032, 0.6337397695, 0.3137059212, 0.4959216714, -0.089448981, 0.6780392528, -0.0952444077, 0.4415028095, -0.6677423716, 0.5878750682, -0.6381592751, -0.1111267731, -0.3631981611, -0.808242023, -0.327729702, 0.6520730853, -0.0912270993, -0.0456569158, 0.868068397, 0.9713089466, 0.2783968747, 0.2642932236, 0.6046700478, 0.0954119712, 0.0846512243, 0.5629242659, 1.0922161341, -0.1931716502, 0.5325635076, -0.0673654154, -0.343110323, -0.1096081883, -0.7753627896, -0.7823851109, -0.5101591349, -0.1724811494, -0.3569399416, -0.0586636961, 1.3080676794, 0.6767039895, -0.9310647249, 0.0107129896, 0.0679859892, 0.3299664557, -0.4401302934, -0.2214608341, 0.0324369706, -0.6695004106, -0.5555115342, 0.8327714801, 0.5435479283, -0.0612696186, -0.2657088339, -0.0898360014, -0.4042066336, 0.3806405962, 0.8046227098, 0.2719046474, -0.9263732433, -0.407743603, 0.379082799, 0.2471289188, 0.0395084582, 0.878492415, -0.7302517891, 0.5965444446, 0.4877924621, 0.8602278233, 0.1792325675, 0.0259373635, 0.4612253606, -0.4847328663, -0.0885688365, 0.1447139829, 0.2113338411, 0.1508080065, -0.5990613103, 0.1964144558, 0.1561951339, -0.3138567507, -0.4615649581, 0.2545228302, -0.7966636419, -0.474631995, 1.0635230541, -0.1354179382, -0.4097055495, -0.4063311219, -0.2957811058, 0.3233525455, -0.4875181615, 0.6040021777, 0.538261652, -0.377936691, -0.262670964, -0.4694728851, 0.3983766735, 0.4442329407, -0.9409158826, 0.064765133, 0.6309164166, 0.367883563, 0.0966768786, 0.8562219739, -0.1277472526, 0.4184812605, -0.078587316, -0.1436789036, -0.1617645174, -0.8599420786, -0.6059627533, 0.2653208673, 0.0154301086, -0.2810078263 ]
http://arxiv.org/abs/2407.02960v1
http://arxiv.org/pdf/2407.02960v1
ObfuscaTune: Obfuscated Offsite Fine-tuning and Inference of Proprietary LLMs on Private Datasets
2024-07-03T09:54:08
2024-07-03T09:54:08
Ahmed Frikha, Nassim Walha, Ricardo Mendes, Krishna Kanth Nakka, Xue Jiang, Xuebing Zhou
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
This work addresses the timely yet underexplored problem of performing inference and finetuning of a proprietary LLM owned by a model provider entity on the confidential/private data of another data owner entity, in a way that ensures the confidentiality of both the model and the data. Hereby, the finetuning is conducted offsite, i.e., on the computation infrastructure of a third-party cloud provider. We tackle this problem by proposing ObfuscaTune, a novel, efficient and fully utility-preserving approach that combines a simple yet effective obfuscation technique with an efficient usage of confidential computing (only 5% of the model parameters are placed on TEE). We empirically demonstrate the effectiveness of ObfuscaTune by validating it on GPT-2 models with different sizes on four NLP benchmark datasets. Finally, we compare to a na\"ive version of our approach to highlight the necessity of using random matrices with low condition numbers in our approach to reduce errors induced by the obfuscation.
[ -0.3208703995, -0.9886344075, 0.4542903006, -0.1521807909, -0.4414469898, -0.0038881451, -0.179403618, -0.4124160409, -0.0442008786, 1.0133520365, -0.5864673853, -0.5449175239, -0.3352235258, -0.3918824196, -0.4324970543, 1.1013576984, 0.3089125752, -0.0786947459, -0.1044218913, -0.0908338204, -0.1225366443, -0.5390976071, -0.4498741031, -0.1189501584, 0.0177761093, 0.47764799, 1.0612637997, 0.9110388756, 0.6105302572, 0.2449868917, 0.0221123919, 0.5623545647, -0.9435731173, 0.0139978817, -0.4524485767, -0.670671761, -0.3460661769, -0.2075955421, 0.3257783353, 0.5383101702, -0.4150463939, 0.5218296647, 0.432801187, 0.52425915, -1.1598988771, -0.230909273, -0.9707826376, 0.1863425821, -0.2087548524, -0.1692069322, -0.385962069, -0.601713419, -0.2378985137, -0.6975952387, 0.4094422758, 0.315718621, 0.9142063856, 0.7746329904, 0.0474151298, 0.3057561815, -0.919598937, 0.9756091833, -0.5372559428, 0.1542436928, 0.746047914, 0.2990182042, -0.1482542604, -0.7476411462, -0.0568601936, 0.0463366546, 0.0121615622, 0.0797092244, -0.2237834781, 0.1055015251, 0.0986330211, 0.6956053972, -0.2375817448, 0.4150591195, -0.2244561464, 0.0404193997, 0.6732645631, 0.0708769411, -0.1718358696, 0.2024066299, -0.4964882433, 0.2011309862, -1.0623317957, -0.1581645906, 0.6709255576, 0.020841321, 0.1006394997, 0.735945344, -0.2162756175, 0.406486541, 0.1404365301, 0.0807840377, -0.1954395175, -0.1291720867, -0.7756359577, 0.1373747438, 0.6260784864, 0.3321152925, -0.074308373, -0.6968411803, -0.0708584264, -0.2765928805, 0.2351308316, -0.7297499776, -0.4821635187, 0.4769862592, -0.4062660038, -0.4923347533, 0.1487507522, -0.8359780908, -0.807705462, -0.3124446273, 0.553373456, -0.0946621895, -0.0457125306, 0.1376897842, -0.0274579152, -0.0890422165, 0.2874546945, -0.668078959, 0.526797235, 0.9427816868, 0.8838754296, -0.1378803998, 0.0187753495, -0.5903422236, 0.4711537361, -0.1244989485, 0.427154541, -0.1375944763, -0.5232053995, -0.3402261138, 0.0962373391, 0.3382716477, -0.5052472353, 0.6095685959, -0.3081177771, -0.0924701616, -0.0112770144, -0.5074366927, -0.2888599336, -0.0576368719, -0.7212551236, 0.9525333047, -0.137995556, -0.5001405478, 0.0854649991, -0.4223038554, 0.1804882139, 0.0659966096, -0.0220222659, -0.9844691157, 0.4401345551, 0.3595568836, 0.365991056, -0.4573554695, 0.3686646521, -0.7724081874, -0.4115933776, 0.1819350719, -0.2433673739, 0.9973250628, 0.1889837086, -0.3613235056, -0.1451283842, -0.6434494853, 0.3705158234, 0.2797802985, 0.301745981, -0.7403944731, -0.0339883156, -0.116222918, -0.2848109901, 0.3362420499, -0.6568937898, 0.2834662795, -0.5491156578, 0.6385500431, 0.730211556, 0.1287694126, 0.5484250188, -0.5163112879, 0.3940214515, -0.3240061998, 0.6159958839, 0.2175254375, -0.5540130734, -0.5545184612, -0.644949019, 0.3676477969, 0.5124019384, -0.4850776196, 0.2319698036, -0.1416069269, -0.7643501759, -0.8627232909, 0.1984142512, 0.6557827592, 0.3301056921, 0.448961705, 0.0465130471, -0.4139549732, -1.1262065172, -0.4778081775, 0.5504389405, -0.0793360323, 0.3724321723, 0.3048515618, 0.035765212, 1.0518928766, -0.5576253533, -0.6632689834, 0.0064385077, -0.026714528, 0.0580293946, 0.8058914542, 0.5682622194, -0.6281786561, -0.1463274211, 0.0274102446, -0.6273052692, -0.1673792303, 0.0641008541, -0.2488322407, 0.0023393936, 0.6155717373, -0.2961431146, 0.538831234, 0.7182614803, -0.0726541504, 0.2607741356, -0.49507007, -0.0264654122, -0.8171585798, 0.0979982764, -0.4724348783, -0.5409317613, -0.473429203, 0.3968623877, -0.0950594693, -0.1124545634, -0.5272973776, 0.3481686711, -0.6131054163, -0.0425385758, -0.2212614119, 0.0481967032, 0.2084827572, 0.4371718466, -0.1080941558, 0.5633151531, 0.2824926972, -0.4654992819, -0.0926508531, 0.3879499435, -0.2737409174, 0.3265632391, -0.686024487, 0.3712315261, 0.0466500409, -0.1344332993, -0.6166657805, -0.0854088739, 0.3482376933, -0.0669784844, 0.0776145905, -0.5241505504, -0.7808621526, 0.1816379428, -0.3290303648, 0.2206296474, 0.6633009911, -0.6979985833, 0.5225534439, 0.5958558917, 0.2309640497, -0.500561595, -1.1396170855, -0.1927147359, -0.5131365657, -0.3082498312, 0.554225564, 0.0800814927, -0.3053625822, 0.0881362036, -0.0331899934, -0.4628069699, 0.4493765235, 0.7666019201, 0.0873568058, -0.2113912404, -0.2160369009, 0.4504529834, -0.0803805441, -0.0570822321, -0.2565694153, 0.1528824568, -0.0512703583, -0.5503919125, -0.4966629148, 0.2031600773, -0.155886054, -0.1604361087, 0.8348901272, 0.3896848559, -0.4461481571, -0.4825660884, -0.5812808275, -0.3616472483, -0.5327199697, -0.0257051308, -0.1522249579, -0.5919472575, 0.5040035844, -0.1538955271, 0.1902169287, 0.1289642304, 0.2938864827, 0.1774622649, 0.7187015414, 0.6186997294, 0.1211485267, 0.2697539926, -0.4346666038, 0.194240272, -0.687312305, -0.0768272951, -0.5046105981, -0.3278592229, -0.6629291773, -0.380525291, 0.2922415733, 0.5670513511, -0.1810804605, 0.369182229, -0.7097908854, 0.8189891577, 0.667396903, 0.6934658885, 0.8095924258, 0.0976406336, 0.2025185227, -0.0478646383, -0.5975042582, -0.4402154982, 1.1613177061, 0.2649289072, 0.6387164593, 0.2756648958, 0.7738390565, 0.1076945215, 0.3946711123, -0.4587536156, 0.3463895917, -0.2894081175, -0.8167976141, -0.2676448822, -0.3425924778, -0.8984043002, 0.3379957676, -0.2490334064, -1.1280032396, 0.369718045, 0.6102231145, -0.4830200076, 0.5232332349, -0.7508379221, 0.6056811213, 0.0424227268, -0.8708155155, -0.0370364487, -0.5295115709, 0.7343152761, -0.3256924748, 0.2556340694, -0.2085880041, -0.2986728549, 0.2518478036, -0.8214427829, 0.7911413908, -0.197784707, 0.0665988401, 0.1970056146, 0.3666854799, 0.7097705603, 0.4084890187, -0.2377817631, 0.6738584042, 0.2039771676, -0.140510425, -0.6159407496, 0.8019317389, -0.6894862056, -0.622576952, -0.2199843377, -0.3663498759, -0.2903623879, 0.3017602563, 0.4020300806, 0.200287044, -0.0993486196, 0.612220943, 0.6794542074, -0.1552926153, 0.3203390837, 0.6184379458, -0.0371880345, -0.4596360922, 0.7999278903, -0.0054840324, 0.4438176155, 0.3642299175, 0.4781318009, -0.2697997093, -0.7765203118, -0.2539609075, 0.0971512422, -0.6064612865, -0.4161309898, -0.5079219341, -0.0677833557, 0.1374352872, -0.1855210811, -0.7225672007, -0.6558102369, -0.4018422067, 0.2132080197, 0.5535414815, 0.3663566113, -0.1572166532, 0.6771506071, -0.5962825418, 0.341211468, -0.3047784269, 0.3780572414, -0.2805856168, -0.3643395007, -0.0428551063, 0.4044918418, -0.481635958, -0.5032939911, 0.3769671023, 0.4745996892, 0.5357018709, 0.5211516023, 0.5611753464, 0.7610974312, -0.2328572571, 0.6504330635, -0.2142389119, -1.1043504477, 0.4075315595, -0.2669667602, 0.0566128939, 0.8232888579, 0.1926852763, 0.227654025, -0.7886092067, -0.7769643068, -0.9069845676, 0.8251758814, 0.6654211283, -0.2883179784, 0.5353859663, 0.4032840431, 0.3572836816, 0.5716321468, -0.5425955653, -0.4685974121, -0.314196229, -0.068199873, -0.2186708003, -0.0556928739, -0.340195328, 0.0844919235, 0.7184522748, 0.0512320325, 0.1409276873, 0.1068666354, -0.1853231639, 0.2829077244, -0.0244697779, 0.3566303551, 0.4449241459, -0.3715287149, 0.0453682132, 0.1973352432, -0.6558554769, -0.2118671387, 0.2272288054, -0.372094363, -0.0730273649, -0.206210196, 0.3836309314, 0.2949767709, -0.4582373202, 0.4810037911, -0.0032499817, -0.1572686732, -0.2962124944, 0.2684043944, -0.1830082238, 0.2145725787, -0.0073556616, 0.0462589748, 0.5704818964, -0.0444242209, -0.1338130385, 0.5744649172, -0.2866981328, 0.001766938, 0.9962006211, -0.1431043744, 0.076215744, 0.4141355157, -0.1213449761, 0.1118935198, 0.5891547799, 0.2396053821, 0.9295220971, -0.1975670308, -0.1619620472, -0.0080650896, 0.5801770091, -0.2888124585, 0.2668748796, -0.2361236364, -0.3855366111, -0.250218153, -0.4859921634, -0.5489002466, 0.4490918219, -0.8169264793, 0.4031016529, -0.7031274438, -0.1193716452, 0.0212808903, -0.3256651163, -0.5635615587, -0.0278495252, -0.1759138852, 0.5918156505, -0.3444969654, 0.8576523662, 0.2077509165, -0.1505407691, -0.5506208539, -0.3830872774, 0.072329089, -0.7926872373, 0.1268354654, -0.1063287482, -0.2227107435, 0.2929359972, -0.5767140985, -0.8050715923, 1.0448433161, 0.6972264647, -0.7586987019, 0.1900919974, 0.2870153189, 0.3094942868, 0.204435721, 0.2526335418, 0.3620764017, 0.4049371183, -0.3712466061, -0.8856087327, 0.2364091426, 0.1917258501, 0.019672513, 0.4222622514, -0.5365952849, 0.4486127198, -0.1808731258, -0.2448465824, 0.4937065542, 0.3155606389, 0.1357923001, 0.3456835151, 0.2918946743, 0.5452843904, 0.7097314596, -0.1508447528, 0.8430432081, -0.4337974489, 0.6990629435, 1.6136735678, -0.0769955739, 0.5848992467, 0.4219650328, 0.1194215044, -0.1522191912, 0.4618266821, -0.3053539097, 0.8929416537, 0.1111816466, 0.0064951028, -0.2365065664, -0.0423115492, -0.4602257907, 0.4554964602, 0.230512768, -0.4840135276, -0.3624268174, 0.0316220112, 0.2159506828, -0.0722223073, -0.5413874984, 0.7095032334, 0.2225186974, -0.3378472328, 0.6210824847, 0.1246601567, 0.1782012135, -0.3952878714, 0.1635993123, 0.042776566, 0.6167305112, -0.5194102526, -0.5208110213, 0.641874671, -0.2622780502, 0.1505867839, -0.316804409, 0.4896097779, -0.1396426708, -0.2143338621, -0.0322019085, 0.2501904368, 0.242800191, -0.4527302384, -0.5809412003, -0.1104536504, -0.1991639435, -0.2156393826, 0.2617106736, 0.3031120002, -0.1042138785, 0.5937175155, 0.7425812483, -0.0721776932, -0.1050860956, -0.1736760288, 0.7940019965, -0.1998178065, -0.6599683762, -0.9858929515, 0.3466424346, -0.1498492509, -0.5009844303, 0.9506421089, 0.8411736488, 0.5497452021, -0.1879247278, 0.6314156651, 0.401183635, 0.418758899, -0.7029752731, 0.9133249521, -0.529250741, 0.335161984, -0.0892876387, -0.7310522795, -0.2701829076, 0.2142707705, -0.3254889846, -0.3395985067, 0.5547546744, 0.9552613497, -0.4320974946, 0.4004799128, 0.3248288929, 0.1727777421, 0.0921437591, 0.449889183, 0.6433332562, -0.3919956088, 0.5691179633, -0.8113358617, -0.2451190054, -0.2287353426, -1.0971745253, -0.9977174401, -0.1769884527, -0.4541068673, -0.2557601929, 0.2941204309, 0.4914110303, 0.7556812763, -0.7129518986, 0.1719360352, -0.5632690787, 0.0893156752, -0.4714589715, -0.164389804, 0.2963789701, 0.2771804631, -0.7535420656, 0.3130458891, 0.1193865091, 0.1148257703, -0.4996230602, 0.4279776216, 0.4116162658, 0.1040939018, 0.1172676906, 0.2761992514, -0.7929360867, 0.0679252222, -0.2536031902, 0.0919198021, -0.1314806938, 0.7602784634, -0.5822018981, 0.2583115101, 0.1874363124, 0.6932842135, 0.7218933105, 0.2861987948, 0.4075118303, -0.7498833537, 0.4401174188, 0.2710157037, 0.2439564019, 0.1574231386, -0.7797519565, 0.5275610685, -0.0709091276, -0.7729727626, -1.1286988258, 0.1866968423, -0.9481648207, -0.3175631166, 1.1156189442, -0.3794799447, -0.3814764321, -0.3063758016, -0.1992305964, -0.0254172925, -0.41307953, 0.827647686, 0.0983848423, 0.0218270309, -0.0847243965, -0.7294820547, 0.7243632674, 0.1837876439, -0.8607208133, 0.0904674307, 0.1745158583, 0.2165705264, -0.177098304, 0.1028752998, -0.050120905, 0.0731600896, -0.1280368119, -0.0714008212, -0.7242276073, -0.0551770888, -0.286129266, 0.2699038088, -0.1685802042, -0.4288698435 ]
http://arxiv.org/abs/2407.02956v1
http://arxiv.org/pdf/2407.02956v1
IncogniText: Privacy-enhancing Conditional Text Anonymization via LLM-based Private Attribute Randomization
2024-07-03T09:49:03
2024-07-03T09:49:03
Ahmed Frikha, Nassim Walha, Krishna Kanth Nakka, Ricardo Mendes, Xue Jiang, Xuebing Zhou
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
In this work, we address the problem of text anonymization where the goal is to prevent adversaries from correctly inferring private attributes of the author, while keeping the text utility, i.e., meaning and semantics. We propose IncogniText, a technique that anonymizes the text to mislead a potential adversary into predicting a wrong private attribute value. Our empirical evaluation shows a reduction of private attribute leakage by more than 90%. Finally, we demonstrate the maturity of IncogniText for real-world applications by distilling its anonymization capability into a set of LoRA parameters associated with an on-device model.
[ 0.2637817562, -0.887288928, 0.6547300816, 0.2658162415, -0.0762802362, 0.2749393284, 0.0931891203, -0.8677687049, 0.1509217322, 0.8240092993, -0.7880269289, -0.6616372466, -0.5336010456, -0.0527874157, -0.650767982, 1.3071993589, 0.1039523184, -0.1664184332, -0.321059525, -0.1686255336, -0.0754657686, -0.6255268455, -0.5990751386, -0.0342810266, 0.5400247574, 0.5884587765, 0.7596403956, 0.8192488551, 0.8328176141, 0.2962808013, -0.1240376383, 0.027452847, -0.6462691426, 0.3896018267, -0.1574731171, -0.6073377132, -0.3534424007, 0.1937586218, 0.5981505513, 0.0290032662, -0.0003180824, 0.2593519986, -0.0926247835, 0.336966306, -0.8748232126, -0.2514804304, -0.6784616709, 0.3269718885, -0.2364845723, -0.3614627421, -0.2752650082, -0.5124513507, 0.2545963824, -0.6429724097, 0.2023130804, 0.5420458913, 0.8624423742, 0.288104564, -0.2032666951, -0.0988890454, -0.8165479302, 0.9191256166, -0.6406481862, 0.0047487048, 0.8012731671, -0.0106661981, 0.1846037507, -0.8062870502, -0.5552664399, -0.3818321824, -0.4248536229, 0.099316597, 0.1141623035, 0.0939592049, 0.1842841804, 0.5958395004, -0.3381776214, 0.1864957809, -0.1313917041, -0.4819000959, 0.9139739275, 0.1836505979, 0.3644044697, 0.0248141289, -0.6753229499, 0.0666555166, -0.6521984935, 0.1299550533, 0.8606442809, -0.2672719359, -0.1643081605, 0.8119977713, -0.425873816, 0.309820056, 0.1712646633, -0.6529972553, -0.0555525981, -0.5811601281, -0.2652148604, 0.3831339478, 0.7167791724, -0.0348396674, -0.1808577925, -0.550110817, 0.119896099, -0.2131395787, -0.1542665958, -0.9845501184, -0.3467191458, 0.404194355, -0.5397267342, -0.7184430361, -0.0517593138, -0.7057831287, -0.9494202137, 0.0861661285, 0.545712471, -0.3892332613, 0.2370966673, -0.134888202, -0.0190390088, -0.111660935, 0.3112165034, -0.9361451268, 0.5382344127, 0.4765800834, 0.5256035328, -0.2862917185, -0.2088333666, -0.3425754011, 0.5652888417, 0.2454225421, 0.6357020736, -0.6485567093, -0.3182682395, -0.3972048759, -0.1812731326, 0.2335260957, -0.0656931251, 0.2375947833, -0.3289656341, 0.4757579565, 0.2309879959, -0.5069712996, -0.2851811051, 0.1772542447, -0.7212930322, 0.8268490434, -0.2367241532, -0.8913593888, 0.1802930832, -0.4877913892, -0.3232273459, 0.0410360545, -0.1406636983, -0.731091857, 0.1759924144, 0.0896456316, 0.2942205667, -0.0851491243, 0.0239049699, -0.2705500424, -0.1312437803, 0.6746985316, -0.583864212, 0.81988132, 0.2598949969, -0.2378921807, -0.0587686449, -0.8947735429, 0.1465700716, -0.1130374372, -0.0777984485, -0.5916509628, 0.0178838074, -0.2717550695, -0.1395488679, 0.9995936155, -0.9095568061, -0.1189009845, -0.4523532689, 0.2365026176, 0.7996441126, 0.1291261762, 0.8645285368, -0.2080598176, 0.4660672545, -0.2046452463, 0.3091446161, -0.3107540607, -0.5533981323, -0.5378069282, -0.7441122532, 0.3948341906, 0.8912189603, -0.2487839907, -0.1553533524, 0.1414100528, -0.2489433289, -0.5604667664, 0.3682318032, 0.8683859706, 0.4559597969, 0.0613893755, -0.1071743369, -0.4846262634, -0.9807698131, -0.6679779887, -0.092649959, 0.0069119465, 0.5712744594, -0.0279641114, -0.0098372614, 0.9407213926, -0.5500128865, -0.6361796856, -0.1377406269, 0.0914117247, -0.1832608879, 0.5407728553, 0.2787835598, -0.9376139045, -0.5828136802, 0.0878718719, -0.8008297086, -0.1801699549, -0.0751692355, -0.150245741, 0.0835506991, 0.496517539, -0.4913403988, 0.8506196141, 0.8733603954, -0.7140684128, 0.1319713891, -0.4641510546, 0.1669147611, -0.8935510516, -0.0609741807, -0.0744203404, -0.5604686141, -0.5572027564, 0.1488638222, -0.0424611643, -0.3090198934, -0.5631712079, 0.8326439261, -0.5486347675, 0.3073845804, -0.1532987505, 0.0357268713, 0.1384423822, 0.350990355, 0.0032268621, 0.7723144889, 0.0186615046, -0.4017066956, 0.1126752719, 0.3429316282, -0.1107150763, 0.5772711635, -0.3167322576, 0.3219634593, -0.1824327856, -0.0794520378, -0.8984897137, -0.4361954629, 0.3445897996, -0.4942191541, 0.1572577953, 0.1129500195, -0.7763260603, 0.3132217824, -0.5829075575, 0.4211535454, 0.2189699262, -0.4482485056, 0.6976689696, 0.5462935567, -0.3043146729, -0.5252437592, -0.7861186862, 0.4385788143, -0.3189273477, -0.7225340009, 0.7277917862, -0.3064596951, -0.3403893709, 0.3980081975, -0.0915810689, -0.6375476122, 0.246283114, 0.409539938, 0.2304523736, 0.2316750288, 0.1142716259, 0.1298462003, -0.2707823515, -0.1609147489, -0.0356753916, -0.1153301522, 0.213124305, 0.1131404117, -0.9157397747, 0.5682827234, -0.418023169, -0.1069489941, 1.0855851173, 0.291690588, -0.2241507471, -0.2476579398, -0.6471751332, -0.2528696656, -0.5353167057, 0.1269334853, -0.1502775997, -1.1213464737, 0.4429750144, 0.2502194047, -0.0775823742, -0.1397440732, 0.2822686136, -0.2264821827, 0.8492391706, 1.1459901333, -0.149289161, 0.502214551, 0.1130171418, 0.5111940503, -0.4261429012, -0.3289653361, -0.3298603594, -0.3767157793, -0.9631050825, 0.0666424856, 0.0858095065, -0.332221508, -0.0678429827, 0.260343343, -0.6443913579, 0.7373134494, 0.8048692346, 0.5067309737, 0.7273795009, 0.0794146881, 0.3949578404, -0.264275223, -0.2914535403, -0.3617482483, 1.0898965597, 0.2952616215, 1.0244363546, 0.1184375435, 0.8455832005, 0.4951555729, 0.6764476895, -0.3104551733, 0.6607287526, -0.2182292938, -0.9541469812, -0.4569537938, -0.4454863966, -0.5391190052, 0.1551775336, -0.2380141467, -1.3884423971, 0.2120220065, 0.4708532095, -0.3786530495, 0.2870424688, -0.7465004325, 0.6255224347, -0.1795355678, -0.591930151, 0.0646396354, -0.6081476212, 0.6340181231, -0.1753854007, 0.1031554118, -0.2867266834, -0.521071732, 0.5798063278, -0.6454462409, 0.8613075614, 0.1048379168, -0.0635317862, 0.1644992381, 0.1192663237, 0.8852658272, 0.341917932, 0.0030918398, 0.1874372661, -0.0088208206, -0.1020209044, -0.6036142707, 0.8182804585, -0.3101650476, -0.6238114238, -0.4564930201, -0.6016431451, -0.1755781621, 0.2199699581, 0.5536387563, 0.0647820532, 0.0028803733, 0.4443234801, 1.048391223, -0.3682518005, 0.5177587867, 0.5078948736, 0.0552061833, -0.5490113497, 1.0089432001, -0.061500676, 0.1769692898, 0.7707576156, 0.2346836627, -0.2322160006, -0.4752443731, -0.0456205793, 0.2384488136, -0.6064378023, -0.4108036458, -0.7667620778, -0.3583281338, -0.0950890034, -0.1532188505, -0.0469538197, -0.7713682652, -0.4740837812, -0.2705515027, 0.7112750411, 0.4026203752, 0.0241115186, 0.5519458652, -0.4537043571, 0.444198668, 0.1645708829, 0.2943771482, -0.4360497594, -0.3735402822, -0.2005409151, -0.1180291995, -0.1799289435, -0.7814474106, 0.5091320276, 0.3109669387, 0.2214892358, 0.1821006685, 0.2243938148, 0.4173273146, -0.5043643117, 0.6506291032, 0.2172943652, -0.8601567149, 0.4161553681, -0.1217881888, 0.0522755869, 0.7271256447, -0.2147200257, -0.1467488855, -1.0214412212, -0.7278723121, -0.9742057323, 0.6828663349, 0.5751469731, 0.4578984082, 0.5841982961, 0.3345366716, 0.220248729, 0.5697266459, -1.1558318138, -0.5385975838, -0.1314616352, -0.497413069, 0.0882869437, -0.8357630372, -0.1406724006, 0.034728691, 0.499548763, 0.3708427846, 0.269669205, 0.1831465662, -0.1333133131, 0.3323739767, 0.2697159052, 0.5889607668, 0.4060055912, -0.2303915769, 0.1830818653, 0.1313423365, -0.9124004245, 0.4204558432, 0.2070758641, -0.6136972308, 0.0279688071, 0.059137322, 0.4877296686, 0.1356100887, -0.3894906938, 0.6278783679, -0.2064736933, -0.0641719326, -0.4364587665, 0.2601301968, -0.2327851355, 0.0386873335, 0.3692104816, -0.3505383432, 0.4774870872, -0.2629421353, -0.0243961718, 0.4056295156, -0.3791676164, -0.3040190339, 0.9779722691, 0.1436420232, -0.4758247733, -0.1315204352, -0.0906435922, -0.023915777, 0.5325627327, 0.5263443589, 1.1763273478, -0.5049540401, 0.1138932556, -0.1500219405, 0.5553687215, 0.1736141592, 0.2562688589, -0.2865761817, -0.4279204905, -0.1153259948, -0.3591165543, -0.6485144496, 0.3633811772, -0.2665326297, -0.0621290319, -0.8278484941, -0.1379221231, -0.0614889413, -0.0425703228, -0.5588057637, 0.4965848625, -0.1513686329, 0.5648651123, -0.1794475764, 0.7312896252, 0.3666950166, -0.1422372609, -0.5571494102, 0.1164405644, 0.1678960323, -0.4187369049, 0.6384090781, 0.1051853225, -0.2357668728, -0.0034027027, -0.8879062533, -1.049285531, 1.1848868132, 0.4585448503, -0.3503747284, -0.0103359967, 0.2846228778, 0.4258746505, -0.2886453569, -0.1839385182, 0.1836598814, 0.4500741661, -0.464808017, -0.5347384214, 0.3100897074, -0.098908402, 0.1808788031, -0.0023725368, -0.6277545094, 0.8181654811, -0.0676081851, -0.4213985801, 0.5264835954, 0.8303763866, -0.1410967261, 0.5996155143, -0.0053584646, 0.4485854208, 0.7010473013, 0.2290388942, 1.1468324661, -0.2553941309, 0.2503245473, 1.3953979015, -0.2165098935, 0.5287629366, 0.3168538213, 0.138036564, 0.5729420185, 0.2988671362, 0.1963400096, 0.9264201522, 0.058719229, -1.0116511583, 0.0966327563, -0.0628390834, -0.1232699901, 0.3646223843, 0.1974741518, -0.6006563902, 0.0272126663, 0.1106805652, 0.5049235821, 0.2513009906, -0.2729380429, 0.8507554531, 0.1361324787, -0.2600997984, -0.2074093968, 0.2441887707, 0.5568578243, -0.6288362145, 0.0631844178, -0.3092284203, 0.4177310169, -0.3608606756, -0.5040583014, 0.0895274058, 0.1609888375, -0.303488791, -0.4094627798, 1.0131694078, -0.3594844341, -0.5390108824, -0.0430436768, 0.0225421991, -0.0547814965, 0.2082857788, -0.4737116992, -0.2029094994, -0.1407742798, -0.3131914735, 0.4884277582, 0.5177078247, 0.1577124894, 1.0164409876, 0.6042248607, -0.0983540118, -0.0241561364, -0.5035375953, 0.6252192855, -0.7701869011, -0.8129570484, -1.1329349279, 0.4312686324, -0.4526799023, -0.3236915171, 1.4519308805, 0.5962216854, 0.5835725069, 0.2059812844, 0.8623263836, 0.0903300866, 0.7440024018, -0.7539955974, 0.9063641429, -0.3210091591, 0.6312831044, -0.1185660958, -0.6299359798, -0.2179730088, 0.2938986123, -0.202563405, -0.1970930994, 0.7946472168, 0.7823799849, 0.0266483352, -0.0664611682, 0.3211571872, -0.0183817353, -0.0224162098, 0.3147388697, 0.7044577003, -0.3104621768, 0.6847535372, -0.5020532608, -0.2959180772, -0.0464667417, -1.181963563, -0.9167654514, -0.1040363684, -0.4053164721, -0.4967516363, 0.3385004699, 0.0293398369, 0.6369479299, -0.607593894, -0.0764252245, 0.0006431291, 0.4147664905, 0.0806385502, -0.1922090799, 0.1272589713, 0.0721640587, -0.5232006907, 0.1792533696, 0.5397635698, 0.1914750487, -0.5279510021, 0.1220013723, 0.1014015824, 0.5860486627, 0.407206893, 0.5440413952, -0.4648596644, -0.3515049815, -0.1008613631, -0.2932977676, 0.0180008579, 0.7204859853, -0.7135888338, 0.3564259708, 0.378903538, 0.4889112413, 0.5175138116, 0.2978436053, 0.3605742753, -0.9985563755, 0.5483958721, 0.1495009065, -0.0674074963, 0.2920237482, -1.0010063648, 0.3339724243, 0.0355494544, -0.4008809626, -1.0047312975, 0.2510572374, -0.6211091876, -0.2170482427, 1.0736441612, -0.331605047, -0.4423407912, -0.1209316477, -0.2519565225, -0.3753081858, -0.5439698696, 0.983981967, 0.405412823, 0.0249301456, -0.3540962636, -0.4738358259, 0.9192977548, 0.1080437303, -1.0808706284, -0.3762756884, 0.2431706041, 0.2876795828, -0.1112066358, 0.9915542603, -0.0242043082, 0.2663508952, -0.2064961642, -0.2733165026, -0.1279797703, -0.2724845111, -0.0736125633, 0.182375297, -0.2136442363, -0.2942359149 ]
http://arxiv.org/abs/2407.02943v1
http://arxiv.org/pdf/2407.02943v1
PII-Compass: Guiding LLM training data extraction prompts towards the target PII via grounding
2024-07-03T09:20:04
2024-07-03T09:20:04
Krishna Kanth Nakka, Ahmed Frikha, Ricardo Mendes, Xue Jiang, Xuebing Zhou
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
The latest and most impactful advances in large models stem from their increased size. Unfortunately, this translates into an improved memorization capacity, raising data privacy concerns. Specifically, it has been shown that models can output personal identifiable information (PII) contained in their training data. However, reported PIII extraction performance varies widely, and there is no consensus on the optimal methodology to evaluate this risk, resulting in underestimating realistic adversaries. In this work, we empirically demonstrate that it is possible to improve the extractability of PII by over ten-fold by grounding the prefix of the manually constructed extraction prompt with in-domain data. Our approach, PII-Compass, achieves phone number extraction rates of 0.92%, 3.9%, and 6.86% with 1, 128, and 2308 queries, respectively, i.e., the phone number of 1 person in 15 is extractable.
[ -0.4487362206, -0.3212064505, 0.5347777605, 0.1694760174, -0.2188580781, -0.0562609732, -0.1126523539, -0.2958686948, -0.2078606188, 0.2960999906, -0.5737328529, -0.7030718327, -0.5223813057, 0.1170171499, -0.0660549104, 0.8906826377, 0.6160993576, 0.3996012211, 0.0708560795, 0.1411821246, -0.611166656, -0.8935325742, -0.4503469169, -0.4019805789, 0.4192196131, 0.9539135098, 0.4384479523, 0.7590552568, 0.6921105385, 0.1613554806, -0.0929711014, 0.0618694499, -0.6033039093, -0.0375167876, -0.3171118796, -0.5036208034, -0.6141498089, 0.4925349355, 0.6292846799, 0.6787052751, 0.2740666568, 0.1865450293, -0.2038734257, 0.8833245039, -0.5882615447, -0.0014091796, -0.9189768434, -0.0233197678, -0.2147086412, -0.4482038617, -0.5942208171, -0.11096894, 0.2910945415, -0.519420743, 0.265045017, 0.2468205541, 1.0087935925, -0.030645689, -0.1176001802, -0.3516531289, -0.5532084703, 0.7418039441, -0.3611381948, 0.2924083769, 0.7234525681, 0.4361605644, -0.080933623, -0.3560278118, -0.0996451527, -0.0424296148, 0.0932767615, 0.1535609066, 0.2213326991, -0.1608225256, 0.8375900388, 0.4970474541, -0.0526899733, 0.1072399244, -0.5765365958, 0.1614107341, 0.9033029675, 0.0839597806, 0.2441163957, 0.0431147516, -0.1747273654, 0.0505348369, -1.2472279072, 0.2381351143, 0.3694071174, 0.4735607207, 0.0053564068, 0.6363025904, -0.3851219714, 0.4651916623, 0.7217464447, -0.2267313749, 0.2512547672, -0.0310973674, -0.1010883078, 0.2880569696, 0.6632050276, 0.4927939177, 0.3399660587, -0.6994515061, -0.0225016307, -0.3465490043, 0.1768959463, -0.9699243307, -0.2622031868, 0.2694917321, -0.3019824922, -0.5725746751, 0.8377228975, -0.8913516998, -0.6130902171, -0.2789518833, -0.132445991, -0.5818920732, -0.3176292479, -0.0805332288, -0.106819652, 0.6689582467, 0.3783918023, -0.9010596275, 0.2524294555, 0.9400353432, 0.8695456386, -0.7371800542, 0.1561143398, -0.9255290627, -0.0286621228, -0.2184810489, 0.4377525151, -0.5215091109, -0.7776964307, -0.3719704449, 0.1557600796, -0.2034606934, -0.935431838, 0.3264565468, -0.6737892032, 0.2480252534, -0.4935627878, -0.4848113954, -0.0386259779, 0.1188551635, -0.478943795, 1.0276950598, 0.007933923, -0.7166262865, 0.2205444872, -0.5887706876, -0.2387067527, 0.0386143699, -0.2089680135, -0.7472270131, 0.2705773711, 0.3022077382, 0.7366183996, -0.6560773253, 0.4396660328, -0.3699125648, -0.565302074, 0.4216527939, -0.2585071027, 0.9267497063, 0.4245001376, -0.6562544107, -0.3840888143, -1.1766064167, 0.1523397863, -0.0421379097, -0.3145802319, -0.3794007897, -0.445366025, -0.6973390579, 0.2153508067, -0.031018585, -0.5395492315, 0.0538540259, -0.457082212, 0.1168483645, 0.5489498377, 0.2450421751, 0.8674297333, -0.3435043991, 0.2748081684, 0.1421583742, -0.3249026239, -0.4089438617, -0.523080647, -0.5930554867, -0.7311580777, 0.2085934281, 0.5947390795, -0.3348919153, 0.7307958007, -0.6674250364, -0.6150863171, -0.1064058021, 0.0534370318, 0.5035158396, 0.7005631328, 0.0446026511, -0.1436487883, -0.2739371359, -0.5861320496, -0.6129761934, -0.0171713661, -0.1424252838, 0.5363391638, 0.1277629882, 0.1155900657, 1.3986430168, -0.3966000676, -0.0920210704, -0.2265471667, 0.0100930361, 0.6275724173, 0.7115410566, 0.2152021229, -1.1688129902, -0.6718906164, 0.0610391758, -0.9710980058, -0.3569319248, -0.4523116052, -0.4250631034, -0.5472981334, 0.0569816418, -0.6294335723, 0.7558043003, -0.1892262697, -0.2696790397, 0.2213590294, 0.0688534379, -0.0650594905, -0.8890511394, 0.1911297292, 0.1890008301, -0.2288657576, -0.8548464775, -0.1869898289, 0.3473088741, -0.4195257723, -0.5905777216, 0.2922052145, -0.8994800448, -0.4088226259, -0.1235364676, -0.075937368, -0.0757056326, 0.4468329847, 0.01678719, 1.2613122463, 0.5753187537, -0.904219389, 0.0541677624, 0.121077247, 0.0510063805, 0.5815894008, -0.4492748082, 0.53485322, -0.0519996099, -0.2268209755, -0.8385161757, -0.3027645648, 0.5381753445, -0.4383637905, 0.3899425864, -0.4172504246, -0.004933448, 0.0655821189, -0.3297429979, 0.2538582087, 0.5539107919, -0.8736107349, 0.7024394274, 0.5009148121, -0.092757076, -0.2097333968, -0.1612091362, -0.0300622806, -0.8056723475, -0.3851137459, 0.2961792648, 0.0954184979, -0.4381715357, -0.6696836948, -0.1691240072, -0.2834504545, 0.3914357126, 0.9015538692, 0.3631851077, 0.0561725423, 0.0597141534, -0.2239862829, -0.4797797203, 0.3713592291, -0.1483054757, 0.4515231848, -0.2728539407, -0.3489823341, -0.8814195395, 0.4132873416, 0.6545567513, -0.247477144, 0.4947330356, 0.1278804541, -0.3850985765, 0.1855827868, -0.6347039342, -0.1078284532, -0.5124832392, -0.0337909348, -0.7937740088, -0.1738238633, 0.3249816895, -0.8578326106, -0.0578136072, 0.3226052225, 0.3246860206, 0.0489779897, 0.9299492836, 0.6706720591, -0.3213964403, 0.621496737, -0.5291872025, 0.1402148902, -1.0098856688, -0.4068588614, -0.3674868643, 0.2451549321, -0.0648141652, 0.0039200052, 0.5332787633, 0.3504876792, -0.1745777875, 0.2236530781, -0.5755876303, 0.5755721927, 0.6093886495, 0.3890308738, 0.3382506967, 0.4326845407, 0.2485482842, -0.3614807129, -0.4016720355, -0.6853649616, 1.3290508986, 0.5478668213, 0.5951702595, -0.0189796761, 0.854506433, 0.0911843255, 0.63302809, -0.8225898743, 0.4207667112, 0.2150113434, -0.5230462551, -0.1777882725, -0.3671601117, -0.6457175612, 0.4454435706, -0.2439670414, -0.7963160276, 0.5055695176, -0.0186681934, -0.5582420826, 0.1138617545, -0.8140302896, 0.3264881074, -0.4138481617, -0.5781298876, 0.3462924063, -0.6780871153, 0.2768999338, -0.2701222897, 0.2148885578, -0.4574910104, 0.1573569775, 0.6786477566, -0.6105046272, 0.9215786457, -0.4486286342, -0.0105341915, 0.3793318272, -0.2408997267, 0.7392622232, 0.1925284415, -0.4744172096, 0.4237575829, -0.4278232455, -0.0839107782, -0.5919468403, 0.3908255696, -0.7401710749, -0.6495551467, -0.3379577696, -0.2445141822, -0.2642767131, 0.2722829282, 0.6705216765, 0.3879114985, -0.0941319168, 0.1162493974, 0.9038023353, -0.0089636557, 0.335172683, 0.3914498985, 0.3212429583, -0.6276775002, 1.0988086462, 0.0580971874, 0.0843667686, 0.0154294036, 0.2571987808, -0.1441687644, -0.4736323059, -0.3778538108, 0.4954190254, -0.6739090085, -0.3283374608, -0.5335956216, -0.1226421595, -0.378990382, -0.1872303486, -0.3990595043, -0.3789156079, -0.841381669, -0.1101991162, 0.1657481343, 0.5268182755, 0.1277014762, 0.7811532021, -0.7712029219, 0.1633723527, 0.0211017039, -0.1351659, -0.3107296228, -0.6181137562, -0.154488042, 0.107226111, -0.1970741749, -0.9137505293, 0.5722708106, 0.2826119065, 0.2991937399, 0.5994570851, 0.3168879449, 1.2086603642, -0.5469210148, 0.562164247, 0.503036499, -0.8750736117, 0.5913955569, -0.2313970178, -0.075001739, 0.7357982993, 0.5371052027, -0.165948987, 0.1246411726, -0.7810561061, -0.7161506414, 0.667779386, -0.0035088134, -0.1929361671, 0.1137173846, 0.8764848113, 0.0545629039, 0.0943331644, -0.4957267344, -0.2060179263, 0.073798731, -0.2665427327, 0.2319315672, -0.4648658335, -0.2040065676, -0.242391482, 0.5506911278, -0.1378544718, 0.4113139212, 0.4683864117, -0.3248960376, 0.097893469, -0.0283725895, 0.2226070613, 0.6830431819, -0.1221961081, 0.1048967764, 0.2940719128, -0.6279640198, 0.2177025676, -0.2287813723, -0.2583535016, -0.0819303989, 0.2588894069, 0.3073725402, 0.0453335419, -0.5265612006, 0.9666625261, -0.1728519201, -0.1161903217, -0.7580297589, 0.2670328319, -0.5464727283, 0.0664677694, 0.7335997224, -0.1860213131, 0.165834263, -0.1527067721, 0.409475714, 0.6060842276, -0.2601231933, -0.4708701968, 0.5666575432, 0.2244663686, -0.4883105755, 0.6722359061, 0.0047754226, -0.496206373, 0.4787454903, 0.6251138449, 0.7345764041, -0.092711471, -0.1407765001, 0.5381579995, -0.1808436066, -0.202250421, 0.1726039201, -0.178016454, -0.5176208615, 0.2119830847, 0.1449410021, -0.4297067225, -0.1903921068, -1.1468936205, 0.5182281733, -0.8586652875, -0.2188779861, -0.124757193, 0.2274378687, -0.6238071322, 0.3659003675, 0.2714776099, 0.8225902319, -0.6326472759, 0.8776497841, 0.3864411712, 0.0293155797, -0.875067234, -0.1517121792, 0.075376384, -0.7604497671, 1.0263590813, 0.6966231465, -0.3194985986, 0.1319551617, -0.8448378444, -1.0438491106, 1.3310775757, 0.2068748474, -0.5145455003, -0.0369915701, 0.2905243039, 0.036439985, -1.0074294806, 0.2790440619, 0.7127206922, 0.1634456366, 0.2233857214, -0.4058605731, 0.0223345384, -0.3051923513, -0.0395441018, -0.3769215643, -0.4646563232, 0.7961509824, -0.2424250394, -0.7482051253, 0.1227114648, 0.5767297149, 0.2559199631, 0.5761383176, 0.4956569672, 0.3363029957, 1.2861731052, -0.1614818871, 0.8877862096, -0.435329318, 0.1182683185, 1.03013134, -0.3631337285, 0.5133755803, 0.4948960543, 0.2164621949, 0.0447604619, 0.7858288884, -0.0253402982, 0.78395015, 0.125673607, -0.3070282638, -0.168302834, 0.2168422639, -0.2661132216, 0.3065106869, 0.518881321, -0.5033364892, -0.0873662531, 0.0127359526, 0.239012152, -0.2267246991, -0.255106926, 1.0111733675, 0.0194783285, -0.5942058563, 0.7686563134, 0.0014538956, 0.4841753542, -0.2350177467, -0.2214093655, -0.1899553835, 0.1498152316, -0.3446155488, 0.0342470706, 0.04827087, 0.2673475742, -0.184201017, -0.3823902905, 0.7255062461, -0.2752803862, -0.2884564102, -0.2629707456, 0.4861605763, 0.6217167377, -0.4952028096, -0.6397922039, 0.0810928196, 0.1315675974, -0.1552767009, 0.3741556704, 0.5118528008, 0.0295612682, 0.7633350492, 1.0011074543, 0.1606721431, 0.2569358349, -0.3880178332, 1.2794251442, -0.9854655266, -0.4345932603, -1.092777729, 0.5430067778, -0.7001358271, -0.3779661059, 0.9487490654, 0.6936181188, 0.483379811, 0.1172146499, 0.718845427, 0.1936944723, 0.7951511145, -0.4525996745, 0.424189806, 0.120250456, 0.8095993996, -0.0496382639, -0.6616558433, -0.3986913562, 0.7906970978, -0.7229913473, -0.4609555602, 0.4351229668, 0.875102222, 0.0276401825, 0.1532324553, 0.3249912262, -0.3392045498, 0.5735582709, 0.3922014534, 0.887948513, -0.7016218901, 0.0974351987, -0.450987637, -0.5349624157, 0.0001111485, -0.8615864515, -1.2442902327, 0.0483676121, -0.3055465221, -0.332454741, -0.0723148584, 0.8467845917, 0.9973934889, -0.7776560187, -0.2094113082, -0.1167900264, 0.1971070617, 0.0552699417, -0.1793623418, 0.3897231817, -0.3265728354, -0.7619162202, 0.6421427131, 0.0404402316, 0.2628885806, 0.2181514651, -0.127009511, 0.2603652477, -0.5259697437, 0.2627170086, 0.4364498258, -0.4391860366, -0.092730552, 0.0861507356, -0.1453263909, 0.3629682064, 1.1547347307, -0.6682577729, 0.2238490433, -0.0769590959, 0.9400518537, 0.2554709911, 0.8304326534, 0.8199959397, -0.5559472442, 0.3102420568, 0.0320949741, 0.1040785238, 0.3169771433, -1.0606808662, 0.7411133051, 0.4509158731, -0.2622780502, -0.739526093, -0.0379181579, -0.6667792797, 0.0988030359, 1.3231304884, -0.6405303478, -0.4321846962, -0.227543965, -0.346994698, -0.1025232524, -0.3759577572, 0.6450486183, 0.5354431868, -0.1258810461, -0.0939070582, -0.099394016, 0.4154655337, 0.2653388083, -0.6480220556, 0.1726655066, 0.4496639967, 0.4114350379, 0.2328012288, 0.6971974969, -0.4411411583, 0.1390408576, -0.2869163454, -0.2432444394, -0.2951849997, -0.6248195767, -0.7691589594, 0.3338487446, -0.1502075046, -0.4255668521 ]
http://arxiv.org/abs/2407.02937v1
http://arxiv.org/pdf/2407.02937v1
Probing the Feasibility of Multilingual Speaker Anonymization
2024-07-03T09:12:53
2024-07-03T09:12:53
Sarina Meyer, Florian Lux, Ngoc Thang Vu
cs.CL
cs.CL, cs.SD, eess.AS
In speaker anonymization, speech recordings are modified in a way that the identity of the speaker remains hidden. While this technology could help to protect the privacy of individuals around the globe, current research restricts this by focusing almost exclusively on English data. In this study, we extend a state-of-the-art anonymization system to nine languages by transforming language-dependent components to their multilingual counterparts. Experiments testing the robustness of the anonymized speech against privacy attacks and speech deterioration show an overall success of this system for all languages. The results suggest that speaker embeddings trained on English data can be applied across languages, and that the anonymization performance for a language is mainly affected by the quality of the speech synthesis component used for it.
[ -0.2757652104, -0.7858366966, 0.2392558455, 0.2007929385, 0.0823692232, 0.2713479996, -0.4595433772, -0.8064942956, 0.4186906219, 0.4102732241, -0.2270980179, -0.3910630047, -0.4946784675, 0.3247236013, -0.4887938499, 0.6124583483, 0.4022251368, 0.3880366385, 0.1794949323, -0.3334237933, -0.362378031, -0.8755196929, -0.4290946722, -0.1272620708, 0.3524030745, 0.2565459311, 0.8708038926, 0.760663569, 0.1185335889, 0.3665434122, -0.0079719108, 0.1299277395, -0.3322458863, 0.208289966, -0.3130105138, -0.3517761528, -0.2747952342, 0.0309095439, 1.0132079124, 0.7569946051, -0.1648085713, -0.1317364722, -0.0000755906, 0.2378969193, -0.6470832825, 0.2071215361, -0.4843946993, 0.0439235047, -0.477943033, -0.1214936599, -0.5216078758, -0.378741771, -0.0951564908, -0.2278348655, 0.1437849104, 0.1193961203, 0.6691122055, -0.147412613, -0.3535988629, -0.2356535792, -1.1718574762, 0.7063423991, -0.5788071752, 0.7519674301, 0.5144945383, 0.4568684697, 0.1511664689, -0.2285175025, -0.4423571229, -0.222663492, -0.2511266768, -0.1132582873, -0.0478587113, -0.055899635, 0.0184156932, 0.3352514207, -0.4375031888, 0.1640016288, -0.2800654769, -0.5352804065, 0.7925643325, -0.2959444225, 0.7249874473, 0.1041029915, -0.2733426988, -0.1626112312, -0.5957033634, -0.0864423364, 0.7767286301, 0.5533117056, -0.0325438567, 0.3861102164, -0.1047767997, 0.4900936484, -0.2570462227, -0.6606758237, 0.3357998431, -0.3768223822, 0.2795528173, 0.3699216545, 0.7026517391, -0.0032567207, 0.1136291921, -0.4136348963, 0.0386088043, 0.0856798738, -0.0859468058, -0.5197501779, -0.2369550616, 0.2000738531, -0.1872082055, 0.1899487376, 0.0621568412, -0.5703263879, -0.4493061602, 0.1250851005, 0.4897282124, -0.5299200416, -0.5308221579, 0.1838267446, -0.0342450328, -0.0129472818, 0.057879068, -0.9868792892, 0.3497608304, 0.590403676, 0.5173648596, -0.1076651216, -0.7024470568, -0.349173665, 0.3879854083, -0.386289984, 0.5611037612, -0.7800577283, -0.4135640562, 0.1866485626, 0.2922996283, -0.212542966, -0.3214151859, -0.1331689209, -0.2486462891, 0.396368891, -0.161863178, -0.4885288775, -0.1094122007, 0.2272816896, -0.6525948048, 0.454731524, -0.3886836767, -0.8309537172, 0.0072706509, -0.2951343358, -0.617408812, -0.0398529284, -0.2339320332, -0.371106118, -0.0092198942, 0.1357369721, 0.3043808937, 0.0413986407, 0.1694789976, -0.150331676, -0.1211046949, 0.4923064411, -0.521584928, 0.9012690187, 0.1575415879, -0.1878538281, -0.3806446493, -0.8769203424, -0.3228721321, -0.0100883618, -0.3146395683, -0.2700375021, 0.0825155675, -0.0471584685, -0.1620702147, 0.3369280696, -1.0832751989, -0.0569617227, -0.5928655267, 0.3943907917, 0.4284220636, 0.1859256625, 0.4947893322, -0.243156448, 0.6946141124, -0.1953117549, 0.0252108276, -0.5476776361, -0.5775229931, -0.5294175148, -0.4443853796, 0.6061037779, 0.789814651, -0.5136483908, -0.0820380002, -0.2814977467, -0.2876229882, -0.7809532881, -0.0148228453, 0.5299821496, 0.2162578106, 0.1889983267, -0.2806692123, -0.4219887853, -1.1011064053, -0.5038133264, -0.2142439932, 0.0258447919, 0.251824528, -0.018975107, -0.004862186, 0.6215934753, -0.1070385724, -0.3404931128, -0.0831461623, -0.3854569793, -0.0453770757, 0.6295592189, 0.5994320512, -0.7276899815, -0.698541522, 0.4064386487, -0.5278862715, 0.1743684113, -0.2107401788, 0.1187835336, -0.0180184282, 0.4250953496, -0.1604736149, 0.4526746869, 0.8748010397, -0.1904118508, 0.2286185175, -0.4500776827, 0.2491583675, -1.0869538784, -0.0439849868, -0.4114040732, -0.3410934806, -1.104516983, -0.0170185585, 0.0603600293, -0.52038908, -0.5666946769, 0.5602978468, -0.5904262066, -0.0223270338, -0.1697560996, -0.0737159625, -0.1405736804, 0.2161249816, -0.0258362498, 0.6813564897, 1.0869158506, -0.3905197978, 0.1709625721, 0.2752896249, -0.216609627, 0.5041610599, -0.2738093436, 0.3222871721, -0.3272669017, -0.191757381, -1.093203187, -0.3410828412, -0.0293291248, -0.6426779628, 0.6371947527, -0.1916470081, -0.2874090672, 0.4273523688, -0.2103212476, 0.3608643115, 0.1473244131, -0.7078273892, 0.5078709126, 0.7585994005, -0.5601549149, -0.5850657225, -0.9309847355, 0.6529093981, -0.2563416958, -0.5642735362, 0.3503951132, -0.1153017282, -0.2688920796, -0.0332963578, 0.2239396423, -0.3475053012, -0.0058011152, -0.127509445, -0.2401294857, 0.101669617, 0.1957299411, -0.0599172413, -0.2578451037, -0.1174232066, -0.1255487055, 0.3792924285, 0.2519241273, -0.4069536626, -0.7398285866, 0.9875437617, 0.3637145162, -0.5072467923, 0.8366588354, 0.3740485013, -0.4899433255, -0.2487157285, -0.7818472981, -0.0675616562, -0.4595932961, 0.3049885035, -0.5200729966, -0.8984335065, 0.6626995802, -0.0187194645, 0.1021048874, -0.0151962824, 0.1949000359, 0.1993717551, 1.0523878336, 0.8579523563, -0.2696031928, 0.3692120016, 0.2277119458, 0.4553358555, -0.1735944897, -0.2812575102, -0.8287730813, 0.0140997656, -1.1881942749, -0.1719891131, 0.3796286583, -0.3976154029, 0.2075686008, 0.3241561055, -0.3485075533, 0.6184671521, 0.4896932542, 0.0939194933, 0.3019492924, 0.2289541662, 0.1265993863, -0.0872614384, -0.4165464938, -0.3992201388, 0.7532064319, 0.3481878638, 0.6423060894, 0.3316113055, 0.8713080883, 0.1649375409, -0.1599658132, -0.4943404794, 0.3379253745, -0.2743184566, -0.7374864221, -0.6110218167, -0.3435008824, -1.0786366463, 0.4349665046, 0.0135357389, -1.0573017597, 0.392496258, 0.1144258305, 0.1037215963, 0.2472324967, -0.7362471819, 0.5092057586, -0.0322841741, -0.1276561469, -0.2194131017, -0.5553189516, 0.0037356778, -0.225246042, 0.7984706163, -0.1220753491, 0.1550604105, 0.7392455935, -0.2498873919, 0.7915961742, -0.2976810932, -0.1105976403, -0.1360439807, 0.0993019119, 0.265315026, 0.2082308233, -0.2846595943, 0.3694724739, -0.109091185, -0.6350057721, -0.4423224628, 0.779835999, -0.4945109487, -0.7040334344, -0.0333767906, -0.3858003914, -0.4739895165, 0.2667466104, 0.0447446071, 0.3329430223, -0.2258578092, 0.2980102003, 0.3894788325, -0.3804115653, 0.6963781118, 0.5758122206, 0.020249024, -0.5849487185, 1.0262545347, 0.3756334484, 0.0450926982, 0.3770171106, 0.425455749, -0.343590945, -0.4637108147, -0.389601171, 0.4453336, -0.6534565091, 0.2285514325, -0.4847365916, -0.0126980534, -0.5398495793, -0.0234916769, -0.6665104628, -0.8479097486, 0.095249109, -0.3166525364, -0.0422717594, 0.9244915843, -0.2763715684, 0.001839526, -0.617531836, 0.1983629018, 0.4796302915, 0.1484688222, -0.255825758, -0.4116632938, -0.3346177042, 0.0262614116, 0.1288920194, -1.106341958, 0.3888032734, 0.7021923661, 0.7207432985, 0.1101666242, -0.0442898087, 0.5820671916, -0.890576005, 0.8359024525, 0.1467074752, -0.9413664937, 0.6337564588, -0.1137847453, 0.2725842595, 0.3138101697, 0.2316266745, -0.4392969608, -0.806804359, -0.515710175, -0.7237567306, 0.7269616723, 0.1866860092, 0.5596066117, 0.2927247882, 0.0633004457, 0.3868064284, 0.1523694247, -0.5780516863, -0.5904451609, -0.1990037113, 0.2388398796, -0.5432950258, -0.2035090476, -0.0951663852, -0.1164035574, 0.4977481663, 0.2391298562, 0.1505833864, 0.0458039492, -0.0984611511, 0.3385819197, 0.6143074036, 0.5018937588, 0.7104511261, 0.1825753748, 0.4144234359, -0.0318900682, -0.3402295411, 0.4573061764, 0.2257142216, -0.3657115102, 0.4169750512, 0.2995726168, 0.6440352798, -0.0804828256, -0.180212602, 0.4159259796, -0.0794341788, -0.0600108057, -0.1477072388, -0.1278928518, 0.1123274639, -0.0282001961, 0.274353236, -0.1134280488, 0.0925941467, -0.6362735629, 0.2883802056, 0.2465960085, -0.0467996821, -0.6944527626, 0.7926011682, 0.0414428785, -0.7332903147, 0.0068165404, -0.2049506456, -0.3325243294, -0.0220496375, 0.7271444201, 0.7501013279, -1.1191130877, 0.2880572379, 0.2413196266, 0.3950707912, 0.0859899223, 0.4410402179, -0.0647900477, -0.763692081, -0.2573626637, -0.3275909722, -0.6671695113, -0.1258273721, -0.7518514395, -0.1700377911, -0.3126467168, -0.1735523492, 0.1708262861, -0.4566116035, -0.5482267737, 0.0473388657, 0.3462325931, 0.278287679, -1.0826981068, 1.0285919905, 0.8502779603, 0.2195239216, -0.4882594645, -0.1055853292, 0.0381910279, -0.6290711164, 0.1288840175, 0.0265018623, -0.1296684444, -0.1442856044, -0.1221820712, -0.893584013, 0.5485717058, 0.9440605044, -0.3751567602, 0.3854312599, 0.7489415407, 0.5259072185, -0.1925985217, -0.1424314827, 0.4758377373, 0.4010118246, -0.3957919776, -1.337890625, -0.089194715, -0.164102897, 0.0223540384, -0.0079975286, -0.8046374321, 0.852037847, 0.1055135429, -0.4570049047, -0.305554688, 0.3753404021, -0.2082977146, -0.0142191574, 0.3525034487, 0.1342706233, 0.9895666242, 0.0988775939, 0.7338072658, -0.6662675142, 0.2419939041, 0.9317176938, -0.2157766521, 0.7832735777, 0.4342789948, -0.1018450782, 0.3360190094, 0.1017091349, 0.2663103938, 0.5876345038, -0.0400009118, -0.4239095747, -0.1162626222, -0.4070748985, -0.3781036735, 0.8135784268, 0.3535631895, -0.117635414, -0.0995532349, 0.5863957405, 0.3958094716, 0.2557667792, 0.1132231802, 0.7219362259, -0.128616631, -0.3614474833, 0.7044586539, 0.1211358607, 0.3586663902, -0.5891953111, 0.0408422649, -0.3150340021, 0.1667198241, -0.1814646423, -0.1107141972, 0.0987831652, -0.060119193, 0.121198684, -0.6007371545, 0.581120193, -0.6605163813, -0.4429107606, 0.3463854492, 0.5148833394, 0.3485633433, 0.3085953593, -0.2869606614, 0.2079015076, 0.2225133479, -0.3158795536, 0.5694853663, 0.1840264201, 0.2559334338, 0.694724381, 0.248263225, 0.4281165898, 0.2861950099, 0.102286838, 0.533208251, -0.5881044865, -0.8792647719, -0.8309034705, 0.3932284415, -0.0826445222, -0.0747326389, 1.4416316748, 0.6569120288, 1.2369542122, 0.1315857768, 0.9389381409, 0.2571700513, 0.8417409062, -0.4518786669, 0.7001233101, -0.2946113646, 0.3739284873, -0.1574264914, -0.8312366009, -0.4194099605, 0.4434713721, 0.278278172, -0.3526507914, 0.6131302118, 0.9770049453, 0.0814738795, 0.0277463254, 0.7238952518, 0.1712284684, 0.4213261306, 0.0604094788, 0.5625823736, -0.2811913788, 0.4483782947, -0.7338145971, -0.1880360246, 0.3061575592, -0.5842525363, -0.8088697791, -0.4608463943, -0.4952920079, 0.0700602531, 0.3362659216, 0.2411227375, 0.8160049915, -1.0721739531, -0.528002739, 0.5855714679, -0.1754062772, -0.1131047681, -0.0985202715, 0.5299597979, -0.100790143, -1.0345191956, 1.1550139189, 0.3535862863, 0.1208902597, -0.4427299201, 0.022399636, -0.043653816, 0.0721053332, 0.2901927531, 0.4349839687, -0.671251893, -0.5814399719, -0.0431423932, 0.2635346651, 0.0608548857, 0.6593914032, -0.3464333415, 1.0599788427, 0.4023057222, 0.7737358809, 0.4149928391, 0.1485721469, 0.5608062148, -1.3345015049, 0.422780633, 0.1733227074, 0.476960659, 0.4525657296, -0.2485214919, 0.0881312788, 0.0993364602, -0.4082194269, -0.9212043285, 0.17003043, -0.5452731848, -0.2834821939, 1.1907743216, -0.5316724777, 0.052291356, -0.3433049321, -0.0427938476, -0.0100862812, -0.2974862456, 0.6897096038, 0.7808335423, -0.1532009691, -0.1291243583, -0.5485351682, 0.369487226, 0.441901803, -0.5081949234, -0.0387177393, 0.2081422657, 0.2721941173, 0.4912414551, 0.77984339, -0.2805123031, 0.0901989415, 0.1814960539, -0.0352180935, -0.0439409316, -0.4855175018, -0.5214412808, 0.5114296079, 0.1822652519, -0.6862781048 ]
http://arxiv.org/abs/2407.02936v1
http://arxiv.org/pdf/2407.02936v1
GraCoRe: Benchmarking Graph Comprehension and Complex Reasoning in Large Language Models
2024-07-03T09:12:38
2024-07-03T09:12:38
Zike Yuan, Ming Liu, Hui Wang, Bing Qin
cs.AI
cs.AI, cs.CL
Evaluating the graph comprehension and reasoning abilities of Large Language Models (LLMs) is challenging and often incomplete. Existing benchmarks focus primarily on pure graph understanding, lacking a comprehensive evaluation across all graph types and detailed capability definitions. This paper presents GraCoRe, a benchmark for systematically assessing LLMs' graph comprehension and reasoning. GraCoRe uses a three-tier hierarchical taxonomy to categorize and test models on pure graph and heterogeneous graphs, subdividing capabilities into 10 distinct areas tested through 19 tasks. Our benchmark includes 11 datasets with 5,140 graphs of varying complexity. We evaluated three closed-source and seven open-source LLMs, conducting thorough analyses from both ability and task perspectives. Key findings reveal that semantic enrichment enhances reasoning performance, node ordering impacts task success, and the ability to process longer texts does not necessarily improve graph comprehension or reasoning. GraCoRe is open-sourced at https://github.com/ZIKEYUAN/GraCoRe
[ -0.4423774183, -0.792509079, 0.7265850902, 0.3050054908, 0.00095273, 0.262619555, -0.3874807358, -0.7386764288, -0.360457629, 0.5256100297, -0.3147814572, -0.6883140206, -0.840495944, 0.2371994704, -0.3267280757, 0.6446037889, -0.3960173428, 0.0141092939, -0.6203538179, -0.3928364217, -0.206885308, -0.298292011, -0.6408151388, -0.649338603, 0.7489749789, 0.061047446, 0.4605838656, 0.523786664, 0.4436142743, 0.31765607, -0.3319480419, 0.5071223378, -0.6571896672, 0.0616970658, -0.2842963338, -0.0700608417, -0.4092784822, -0.1517121047, 0.6610816121, 0.9625545144, 0.0630591363, 0.1265070438, 0.2192981988, 0.4748067856, -0.8610142469, 0.5260709524, -0.5643814206, -0.3769071698, 0.0834328458, 0.1235804632, -0.4221577942, -0.6681048274, 0.1152464151, -0.7988292575, 0.1139958575, -0.004430051, 0.9584493041, 0.1099492833, -0.5405213237, -0.3805147707, -0.3772616982, 0.5446158648, -0.5847024918, 0.605669558, 0.3084376156, 0.6246113181, -0.1974404603, -1.3004273176, -0.4055190086, -0.3487260044, -0.2541744113, -0.059636645, -0.3472315371, 0.3503057659, 0.3032783866, 0.4554079473, -0.6094611883, -0.0073529077, -0.1512042433, -0.3371982872, 0.3872384429, 0.1952292174, 0.3634738326, 0.142205447, -0.0826240405, -0.3485618234, -0.4953597486, 0.0487237573, 0.4964611232, 0.3538349569, 0.2841852605, 0.5241969824, -0.5039697289, 1.0659757853, -0.5023311973, -0.345492512, 0.4712221324, -0.2036948204, -0.272022754, -0.2031911761, 0.6771971583, 0.12944749, 0.3969844878, -0.4630690217, -0.3359415531, 0.113144733, -0.0992155597, -0.8448691964, -0.2034094483, 0.1435888708, -0.098158814, 0.1501426995, -0.1254696846, -0.6838436127, -0.4307694435, -0.1639876813, 0.337600708, -0.4148812294, 0.2356311381, 0.5804389119, -0.4696313739, -0.0653512031, 0.3147338927, -0.7642410398, 0.5964453816, 1.0072190762, 0.7948121428, -0.0272423625, -0.7365402579, -0.6130002141, 0.1922634542, -0.1108239517, 1.1141335964, -0.6479786634, -0.2329309434, -0.0406786613, 0.3457451463, -0.5679343939, -0.5436703563, 0.8244463205, -0.5058790445, 0.0017267764, -0.3717716634, -0.6007067561, -0.4554636478, 0.5391500592, -0.6758116484, 1.0050054789, 0.4945487082, -0.7366458178, 0.4699427187, -0.3525353074, -0.6324448586, 0.3540750146, -0.3035291135, -0.0686887652, -0.3325172961, 0.3593250811, 0.1084998846, -0.5860264897, 0.209650591, -0.4658122659, -0.470264852, -0.1499075592, -0.0569263697, 0.5465368629, 0.0568419173, -0.141119048, 0.0286308397, -0.5733914971, 0.4279277623, 0.1365806311, -0.370097965, -0.2754704952, 0.0292359553, -0.133427158, -0.0097108269, 0.3247371316, -0.539083302, 0.1626134813, -0.1905866712, 0.8140603304, 0.5098406076, -0.0263186228, 0.1363059282, -0.2340156585, 0.3592011929, -0.7462430596, 0.1489246786, 0.0675872266, -0.4379619658, -0.5410565138, -0.7089149356, 0.3164116442, 0.4366343617, -0.4028294086, 0.3450386524, -0.57467556, -0.7419733405, -0.2841168046, 0.1990045756, 0.4555521905, 0.6132443547, 0.4367305338, -0.2084001154, -0.1061430946, -0.9215566516, -0.4675477445, -0.262157172, -0.0697035715, 0.6801610589, 0.5350733995, -0.5753896832, 0.6616231203, -0.4907147586, -0.002820411, -0.2693329155, 0.3522714078, 0.1645575762, 0.0416844673, 0.6258245707, -0.3688492179, -0.233335942, 0.3025973141, -0.6265965104, -0.3924238086, 0.3767486513, 0.041978281, -0.0872680172, 0.4342515171, -0.5274852514, -0.0224772226, 0.8202890754, -0.3122603893, 0.390127331, -0.3040115237, 0.3190960288, -0.3648569882, 0.3306160867, -0.1909402162, -0.2481058538, -0.3404718935, 0.1839778125, 0.0735243931, -0.0321411118, -0.2920592129, 0.7062123418, -0.4108822644, -0.5154615045, -0.0249540843, 0.3960306346, 0.4166837037, 0.2365429848, -0.2121272385, 0.9331741929, 0.4293825924, -0.4595583975, 0.3216521442, 0.2656753659, -0.8995409608, 0.1653907001, -1.1173936129, 0.1633532047, 0.073924534, 0.2867818177, -1.2523938417, -0.36682266, -0.0599107742, -0.1294779927, -0.0907557383, -0.2785899043, -0.7532978058, -0.5109241605, 0.0129132969, 0.3737229407, 0.2538335323, -0.600371778, 0.8731470108, 0.3075477183, -0.2071475983, -0.4672009051, -0.5601658821, -0.0570983887, 0.0435823761, -0.8857697248, 0.2167703062, 0.0820617452, -0.2619231045, 0.1132272482, -0.1595568359, -0.117921181, 0.1025413275, -0.004843832, -0.1348362714, -0.0821030959, 0.0093455082, 0.1085688472, -0.1662644297, -0.0547740571, -0.1792822629, 0.7790418267, -0.3055240214, -0.4754666984, 0.111920245, -0.0722510293, 0.7349787354, -0.4311484694, 0.3663747609, 0.2778040469, -0.1452800781, -0.2087123692, -0.4079019725, 0.1843748242, -0.4769837856, 0.4418056905, -0.358340472, -1.1590423584, 0.676209867, -0.1766570359, -0.1096100658, 0.3529437482, 0.4913779199, 0.3086608946, 1.1649370193, 0.1730484813, -0.0363406017, 0.1553880423, -0.226833716, 0.2804147899, -0.6307718158, -0.4569852054, -0.8004911542, 0.0488421209, -0.4154365063, -0.4094476402, 0.1807482094, 0.1682989895, -0.6120415926, 0.317244947, -0.3491070569, 0.6006513238, 0.2379472554, -0.0628309399, 0.5006247759, -0.0885730311, -0.1023461744, 0.3705209792, -0.4709711671, -0.7265753746, 0.6837781668, 0.3380087912, 0.7787566185, -0.1550711691, 0.194362998, 0.2334681302, 0.3086569607, -0.7681723237, 0.7307313085, -0.2210081667, -0.3766426444, -0.2702348828, -0.6234713793, -1.008836031, 0.470384866, 0.0214110911, -1.1197334528, 0.1781725436, -0.1331329644, 0.1771486253, 0.159049347, -0.6364966631, 1.131593585, -0.270653069, -0.0565963164, -0.1006440967, -0.2106788158, 0.3148578703, 0.075732328, 0.0729961023, -0.424081862, -0.1569732428, 0.6890410185, -0.3788473308, 0.3267875314, 0.0425133705, -0.0525872819, 0.1987725049, 0.2041829973, 0.5763567686, -0.0092323404, -0.2012794018, 0.2268357277, 0.049343884, -0.5568057299, -0.6295138597, 0.7872799635, -0.8066553473, -0.4494497478, -0.146307677, -0.7582833171, -0.6876605749, 0.5443968177, 0.2587108016, 0.4718300402, -0.2320539951, 0.2375694066, 0.5055642724, 0.0215407703, 0.0461661927, 0.3226407468, -0.2827989161, -0.7135087252, 0.7410640121, 0.0918512866, 0.4791311622, 0.2739515603, 0.0395096466, -0.3253271282, -0.6982889175, -0.3115412891, 0.2316543013, -1.0785239935, 0.2429310828, -0.9219754338, 0.0548741147, -0.3449339271, -0.0973340422, -0.2066643238, -0.2841150463, 0.290470928, -0.0871548131, 0.1321465224, 0.6780749559, 0.2707536221, 0.1745220274, -0.6376882195, 0.169401601, 0.7255142927, 0.3687165082, 0.0870212391, -0.2904337943, 0.0017298806, -0.14962098, 0.0055380845, -0.3870434463, -0.070997797, -0.0121481912, 0.9982617497, 0.254861325, -0.2665773928, 0.5878241658, -0.1605843008, 0.6775336862, -0.055252932, -1.0292346478, 0.1628353149, -0.548558712, 0.037002854, 0.9516566396, 0.2334754467, -0.3667166829, -0.4109537303, -0.3610237539, -0.9296444654, 0.3006240726, 0.1043039486, -0.1543147564, 0.0078033837, 0.166797623, 0.0326103568, 0.1993790418, -0.4187886715, 0.0685945824, -0.102373533, 0.0090407897, -0.4245434403, -0.0757152289, -0.2842716277, -0.3154738545, 0.3662945628, -0.2891996503, -0.0367902257, 0.1277952194, -0.1509967595, 0.1463977993, 0.1792920381, 0.366476953, 1.0825989246, -0.2751039863, 0.2233368903, 0.4074595273, -0.423976481, -0.0289886985, 0.3954484463, 0.100630112, -0.2352331132, 1.0044487715, 0.7038555741, 0.049709592, -1.0420831442, 0.5316821933, -0.1599850655, -0.4200382233, 0.3938668072, 0.2553281784, 0.2734802067, 0.1237401292, 0.1713961214, -0.5762006044, 0.1711209565, -0.4809463918, 0.0288442113, 0.1457893848, -0.438742429, 0.0697847679, 0.4439834952, -0.0339308344, 0.0417745784, 0.6085253954, -0.2511368692, -0.5306902528, 0.7659999728, 0.5365466475, 0.7001690269, 0.2946050465, 0.1125496998, 0.3434946835, 0.4541984499, -0.0709403232, 0.3067964017, 0.018319672, -0.6608771086, -0.6732043028, -0.2359852493, -0.7024459839, 0.0580544285, -0.556373477, 0.0550321117, -0.3229753077, -0.0098129343, 0.0154091427, 0.1365486979, -0.4480055273, 0.2015441507, -0.1734510809, 1.2851651907, -0.9897753, 0.4596349299, 0.9074449539, -0.3034163415, -0.696419239, -0.096631512, -0.4290142357, -0.9377365112, 0.4568957686, 0.1744816154, -0.4175608158, -0.163116619, -0.4328427911, -0.4506210387, 1.1965171099, 0.6386586428, -0.4620029628, 0.1921948045, 0.161121875, 0.6448501945, -0.3460202813, 0.4121810496, 0.9190440774, 0.814204514, 0.079100661, -0.7685290575, 0.0097511187, -0.1753189266, -0.0389126465, 0.3149843812, -0.6265243888, 1.0294302702, 0.1264484674, -0.2881795764, 0.0361793153, 0.2291639298, 0.4589765668, 0.3988482356, 0.7349707484, 0.8597721457, 1.0912965536, -0.2806444764, 1.3137931824, -0.3755379319, 0.5176943541, 1.0781857967, -0.5888062716, 0.3988473713, 0.1333710402, -0.0334046707, 0.7178405523, 0.7747519612, 0.1479361355, 0.6504215002, 0.2538533211, -0.1949592978, -0.5311760306, -0.3740499616, -0.4612026513, 0.1528012007, 0.1952301115, -0.0898235664, -0.6226412654, -0.2569745481, 0.0365860797, 0.1500278264, -0.3067961335, 0.618208468, -0.1328975111, -0.614584446, 0.6662707925, -0.2361342013, -0.0950626358, -0.7751798034, 0.1050825119, -0.1673842221, 0.2679235637, -0.1323438734, -1.0673596859, -0.0962974206, -0.1889566481, 0.0909764767, 0.1925450116, 0.8286798596, -0.0571180992, -0.228444308, 0.9664096832, 0.5103348494, -0.0915954486, 0.003506646, -0.578630507, 0.2248063385, -0.3167996407, -0.3839216232, 0.2130504698, 0.6345446706, -0.0622363426, 0.9133600593, 0.5302891135, -0.0268425979, -0.3317544758, 0.4952778816, 1.1733504534, -0.3581704497, -0.396613121, -0.7203677297, 0.0325468183, -0.1474764049, -0.5337814689, 0.7761914134, 0.7474866509, 0.8509182334, 0.2749918699, 0.9315318465, 0.0073680207, 0.1749386042, -0.361787647, 0.3284349442, -0.5013222098, -0.0627128184, -0.4525290132, -1.0097767115, -0.3031640947, 0.294791013, -0.7247132063, -0.0139937978, 0.7163110375, 0.8117764592, -0.2013946921, 0.0416017435, 0.1999042928, -0.0248573665, 0.3807527125, 0.8068234324, 1.1715761423, -0.1701164991, 0.6173895597, 0.0710356757, -0.2870813012, -0.1515356451, -1.0095760822, -1.0841416121, -0.2474490851, 0.0574149564, -0.4440545738, 0.3090101779, 0.5052333474, 0.603971839, -0.5807237625, -0.1774823666, -0.2996042669, 0.3908859789, -0.3410126865, -0.1652296335, 0.3754775822, -0.3940079212, -0.6452128291, 0.4550538361, 0.3775127828, -0.1739514619, -0.0763895661, -0.3374908268, 0.0449042879, 0.1632600129, 0.5692333579, 0.3212850988, -0.3455514908, -0.4569115341, -0.0517785363, -0.3344995677, -0.1129811034, 0.8418462873, -0.481064409, 0.469576031, 1.009303689, 0.6585239768, 0.6278781891, 0.0886458158, 0.3670938313, -0.0487797596, 0.0407881737, 0.2656614184, 0.7025589347, 0.1767395586, 0.0522139482, 0.841781199, 0.2246292979, -0.6728030443, -0.9351766706, 0.0919808075, -0.9688425064, -0.3750527799, 1.0385187864, -0.3262252808, -0.2279926389, -0.1439955086, -0.077104792, -0.0612833165, -0.0992739871, 0.3011049926, 0.752579987, -0.095845513, 0.2245559394, -0.5360015631, -0.0570727363, 0.0522562489, -0.9362002015, 0.2974028587, 0.4175155461, 0.2570336759, 0.1318132132, 0.7289571762, -0.1675633639, 0.2905245423, 0.0754392371, 0.0713121369, -0.2477542013, -0.4814310074, -0.0498508438, 0.208522439, 0.2902189791, 0.1511582881 ]
http://arxiv.org/abs/2407.02917v1
http://arxiv.org/pdf/2407.02917v1
Towards Negotiative Dialogue for the Talkamatic Dialogue Manager
2024-07-03T08:49:18
2024-07-03T08:49:18
Staffan Larsson, Alexander Berman, David Hjelm
cs.CL
cs.CL, cs.AI
The paper describes a number of dialogue phenomena associated with negotiative dialogue, as implemented in a development version of the Talkamatic Dialogue Manager (TDM). This implementation is an initial step towards full coverage of general features of negotiative dialogue in TDM.
[ -0.7336642742, -0.7514511943, 0.6247267127, 0.4132457078, -0.3193518519, 0.5590426922, -0.089498654, -0.4396889508, 0.7350242138, 0.9374650121, -0.4119728804, -0.4421817064, -0.5566339493, -0.223912403, -0.128850922, 1.115421176, -0.3077270687, 0.0391449481, -0.00531063, -0.1747867018, -0.6078009009, -0.7258864045, -1.2809211016, -0.9699780941, 0.2540659904, 0.3204537034, 0.9814677835, 0.2414197922, 0.488457799, 0.24474594, -0.4710921645, -0.034099035, 0.1425711811, 0.3852861822, -0.4129379988, -0.620656848, -0.5989524126, 0.3445236683, 0.4146823585, 0.37705338, -0.6150342226, -0.0203336868, -0.1901081204, 0.4879318774, -0.1633306146, 0.3531891108, -0.3970368207, 0.4293876886, 0.2631163299, -0.5422558188, -0.3664065897, -0.4698600769, 0.6511175632, -0.1566750407, -0.3178820908, -0.3416546881, 0.7897287011, 0.2019930184, -0.7972903252, -0.4363761842, -1.0031244755, 0.6209362745, -0.5420694351, -0.1438055634, 0.544940412, 0.5736486912, -0.2350201607, -0.4977231026, -0.5824673772, -0.538404882, -0.0863402039, 0.4397680163, -0.424125731, 0.4747207463, 0.1688237488, 0.545586288, -0.268116802, -0.0061835432, -0.0131389881, 0.0235726982, 0.3135713041, 0.6508957744, 0.078201957, -0.1931210607, -0.3884714544, 0.381316036, -0.501506567, -0.4449986219, 0.3280843496, -0.039321404, -0.4400214553, 0.2578955889, -0.3122130632, 0.9601278305, -0.0786526203, -0.1505787522, -0.0484436266, -0.6103993654, -0.0987133011, 0.1985203922, 0.1313606203, 0.6603317261, 0.3928376138, -0.0550484471, -0.1998345256, 0.219248414, 0.3693999052, -0.5628046393, -0.2877570689, 0.1670002937, -0.3885598481, -0.6576099396, -0.0933061168, -0.4391920865, -0.118552953, -0.4966901541, 0.1899019033, -0.1073574498, -0.6340477467, 0.0442526489, -0.1231015399, 0.6581838131, 0.6283713579, -0.4405157864, 0.5140188932, 0.5248281956, 1.1290632486, 0.2086553425, -0.0733575523, -0.1783757955, 0.4979305863, -0.4193473756, 1.0011793375, -0.7335190177, -1.0086405277, 0.085829936, -0.0955596045, -0.0815660655, -0.929964304, 0.2663643062, 0.0538254529, 0.3735416532, 0.265024066, -0.1266060919, -0.322898984, 1.0085412264, -0.4242070913, 0.6177536249, 0.1369486451, -0.2742794752, 0.3763245344, -1.1450982094, -0.3126825988, 0.0525783114, 0.0214243494, -0.1704381108, 0.0561537221, -0.5608546138, -0.067012623, -0.3957453072, 0.2963066995, -0.0805186406, -0.2678332031, 0.6299245358, -0.1079341248, 0.3410329819, 0.4814632237, -0.3756269217, 0.4094539285, -0.4799791873, -0.1256616712, 0.0417229272, -0.385746032, 0.0769504309, -0.108507365, -0.0519271344, 0.5576672554, 0.2702085674, -0.0746552795, 0.3615240455, -0.2705106735, 0.7519484162, 0.5070150495, 0.44654423, 0.5976593494, -0.7064421177, 0.8164718151, 0.449418813, 0.2413192391, -0.4307092726, -0.4349604845, -1.1989278793, 0.0983888209, 0.2426835746, 0.5883470178, -0.894248724, -0.1256691664, 0.1618958414, -0.3654260337, -0.2080446482, -0.27894032, 0.7393477559, 0.1823495924, 0.1279163063, -0.3865244389, -0.5176026225, -1.1066021919, -0.006527463, -0.6231446266, 0.2364690602, 0.0267260503, 0.2424108237, -0.1374625713, 0.7518450022, -0.4063872099, -0.4725773633, -0.3914649189, 0.7300471067, 0.2190296054, 0.5908212066, 0.4343647361, -0.6379872561, -0.5947959423, 0.114235796, -0.3982472718, -0.0283626653, -0.0851192474, -0.1520057768, 0.5705253482, 0.6792427897, -0.8919078112, 0.6714865565, 0.2373991013, -0.2300678343, 0.4345313907, -0.1244600862, 0.1912486404, -1.5091884136, -0.3449612856, -0.0316364765, -0.4202491939, -0.6493785381, -0.1374411136, -0.4459243417, -0.2553352118, -0.5158874989, 0.3396986723, -0.4809688926, 0.1626404673, -0.4400897026, 0.378809154, -0.2317944616, 0.4651658237, 0.5239453316, 0.545018971, 0.585516274, -1.0531630516, 0.4538700283, 0.5037769079, 0.0215835646, 1.2992768288, -0.5048190951, 0.219898358, 0.0954516828, 0.4110001028, -0.5705401301, -0.0552304052, 0.6589692831, -0.3351430893, 0.2238202691, -0.5537621975, -0.569231689, -0.1911963373, -0.4226748049, 0.0589271374, 0.289311111, -0.3236327767, 0.5922334194, 0.4464360476, -0.2207422853, -0.1416348964, -0.6193854809, 0.5896225572, -0.4865884185, -0.3993711472, 0.2620272636, -0.0380692109, -0.6327617764, -0.262837857, -0.0965497941, -0.0007360503, -0.0030816032, 0.1638904214, -0.0736888945, -0.0496607572, -0.0936311409, 0.0266794451, -0.7391025424, 0.3240407407, -0.0990070254, 0.6855943203, 0.1473087519, -0.0312649831, -0.1821988225, 0.448851645, 0.2327657491, -0.0209173635, 0.6178703308, 0.2768216729, -0.4475757778, 0.0683763772, -0.5455436707, -0.1096697003, -0.4439606667, 0.0426447764, -0.6131379604, -0.9575865269, 0.7995231152, -0.6322011948, -0.1190555766, 0.239783287, 0.752347827, 0.1427190602, 1.3000817299, 0.3958129883, 0.3561250269, 0.6719411016, 0.0319064148, 0.0437443666, -0.9561535716, -0.6927549839, -0.6764810085, -0.3779291511, -0.726297617, -0.2582232654, 0.1674731225, 0.3177844286, -0.2106244117, 0.4900731444, -0.3132081628, 0.3529537022, 0.2686755657, -0.1598735303, 0.5920712948, -0.5599866509, -0.0690349415, -0.09864676, -0.4481300712, -0.863063395, 0.4443902075, 0.3162027895, 0.7720493674, 0.785746634, 0.85744977, 0.0849359632, 0.4947795272, -0.8971178532, 0.8917699456, 0.6077497005, -0.6713647842, 0.210266903, -0.3736561835, -0.9606397152, 0.0291156806, -0.0776165873, -1.0820183754, 0.111821495, -0.0822035596, 0.0557616539, 0.089998126, -0.7510166168, 0.9551309943, 0.1027986705, 0.2830395103, -0.6579606533, -0.5767800808, 0.2829872668, 0.1408155411, -0.2530969083, -0.1753016114, -0.1907329857, 0.7438957691, -0.4030974209, 0.5662255883, -0.2796368003, -0.2295998484, 0.4026337564, 0.5500876904, 0.4655665159, 0.3236190975, 0.3535889089, -0.0198074747, -0.2033704668, -0.5619694591, -0.4779915214, 0.6694992781, -0.3155241013, -1.074023366, -0.8507173061, -0.5120183229, -0.309713006, -0.2077460289, 0.1511185467, -0.0865862668, -0.6608245373, -0.3688749671, 0.6455160975, -0.0410451777, 0.7035267949, 0.8101736307, -0.7202854753, -0.2591538429, 0.6896266937, -0.0386926718, 0.5856112242, 0.3090168834, -0.268627584, -0.1940518469, -0.7690833211, -0.1428879201, -0.1929150671, -0.6354638338, -0.4977801144, -0.6711805463, -0.3035969138, 0.1685109884, -0.1294701695, -0.0967672467, -0.86960572, -0.1162114143, -0.3933391571, 0.7170948386, 0.9379306436, -0.2194519341, 0.8315688968, -0.6178299785, 0.2666304111, 0.4143018425, 0.2487841398, -0.1794582009, -0.422678113, -0.6912384033, -0.1383274645, -0.8740020394, -0.8052962422, 0.1723612547, -0.270801872, 0.3766143024, 0.4665836692, -0.2691019475, 0.400342077, 0.0472095013, 0.9495601654, 0.4351025224, -1.0603216887, 0.8894795179, -0.4951409101, 0.4553856254, 0.34802109, 0.0633133799, -0.6930574179, -0.5319665074, -0.6508716941, -0.6783707142, 0.8042322397, 0.2090535164, 0.2928596437, -0.2721200883, 0.0237526949, -0.1634781659, 0.5711314678, -0.4675490558, -0.2188388705, 0.0828611031, 0.4833434522, -0.0457938537, -0.4968536198, -0.5929744244, -0.0312137641, 0.5322109461, 0.0919849426, 0.3835750818, 0.1361391842, -0.2363911718, -0.0187165905, 0.622086823, 0.7274140716, 1.1060681343, -0.3346970975, 0.1877387911, 0.0710012168, -0.1328608096, 0.3396944404, -0.0364154167, 0.2911354601, 0.3321387172, 0.0063773543, 0.751945734, 0.0868402869, -0.1679658592, 0.2292361259, 0.0164329577, -0.6753826737, -0.5269329548, 0.1553058028, -0.0131945182, 0.582331419, 0.0678652003, -0.1460906267, 0.2092361748, -0.8883841038, 0.1696127206, 0.2986092865, -0.8140738606, -0.2832987905, 0.6246411204, 0.4661440253, -0.8304923773, 0.5035473108, -0.279269278, -0.7511635423, 0.4356829226, 0.4949666262, 1.2247128487, -0.1890884042, 0.8453520536, -0.2022091746, 0.3831016123, 0.0822310746, 0.6776750088, -0.3211655617, -0.6981767416, -0.5656862259, -0.0668325797, -1.17867589, -0.2844855189, -0.8134301305, 0.1749601662, -0.5993897915, -0.4112685025, 0.0630914494, -0.0380733721, -0.3625441492, -0.0822666362, -0.0280625094, 1.0524665117, -0.1413463652, 1.0015120506, 0.8078658581, -0.6644626856, -0.2863918841, 0.1678343713, -0.2242596447, -0.4881694615, 0.5424909592, -0.0833048001, -0.1313851178, -0.1722925901, -0.5198739171, 0.0666490421, 0.9363679886, 0.6135622263, -0.0629015267, 0.1582244486, 0.4117305875, 0.4233517647, -0.5611308813, 0.4052276611, 0.7150749564, 0.8125582933, -0.0540762395, -1.2763386965, 0.0461452268, -0.3429081738, 0.292245388, 0.7077548504, -1.1202242374, 0.6226735711, 0.1569613814, 0.0810466707, 0.2830989063, 0.2484854907, 0.0514157899, 0.5213673115, 0.2470148951, 0.8303924203, 0.1550159752, -0.5033889413, 0.8575305343, -0.2998221815, 0.3062883019, 0.9960157871, -0.2144165635, 0.0617188476, 0.6919205785, -0.3157155216, 0.7815978527, 0.7427776456, 0.4897505045, 0.130708918, 0.3661386967, -0.7696461082, -0.0127588632, -0.6738010049, -0.4720117152, 0.4919836223, 0.3690462112, -0.2154853344, -0.150420025, -0.2820546031, 0.2771936655, -0.0220414978, -0.5804854035, 1.2431540489, 0.5447048545, -0.2692265511, 0.2852894366, 0.2849786878, 0.5779812336, -0.6814237237, -0.3015934229, -0.3478277028, -0.2396536469, -0.2383384109, -0.7724532485, 0.6979843378, -0.3118981123, -0.117855005, -0.4600571394, 0.6093195081, -0.4987994432, 0.1582834125, 0.416010052, 0.6935881376, 0.1087383553, -0.0637479722, -0.6661764979, -0.1850750744, -0.4332689047, -0.3940398097, 0.4246816039, 0.6376068592, 0.0480118655, 0.620303452, 0.259239018, -0.102700524, -0.2750803828, 0.12986058, 0.7529188395, -1.3630626202, -0.7246109843, -0.8153645992, 0.3494036794, -0.1687168032, -0.3216601908, 0.6922280788, 0.3387417197, 0.783638835, 0.0410298184, 0.4083681107, 0.1049846187, 0.2112697214, -0.6993188858, 0.3841745555, -0.0538495034, 0.0272300206, -0.5805733204, -1.2652846575, 0.0807146952, 0.7137174606, -0.2763566375, 0.0445234776, 0.8442795277, 0.4921041727, 0.0289597772, 0.396142602, 0.3457147777, 0.1543226689, 0.0687349513, 0.6918891668, 1.5833462477, 0.0455394387, 0.758777678, 0.0006547752, 0.0560668036, 0.1176873967, -0.8534023762, -0.8361876607, -0.4121168852, -0.6334577203, -0.8571999073, -0.0505967215, 0.7422965169, 0.7885151505, -0.4550709128, -0.7570680976, -0.2167758346, 0.5220778584, -0.0852347985, -0.3551584482, -0.4024445713, -0.0637073517, -0.9155593514, 0.0602223203, 0.8551090956, 0.3318471909, -0.3135157824, -0.4899057746, -0.1887640059, 0.4664247334, 0.470025599, 0.1608959287, -0.2065224648, -0.2757706642, -0.7120547891, 0.2226081938, 0.2526187897, 1.1496348381, -0.7165085673, 0.3279649019, -0.0610498339, 0.2140893042, 1.1399717331, -0.6981561184, 0.9091253281, -0.3153846562, 0.7491403222, 0.4341176748, 0.0241706222, 0.0702834651, -0.0063470122, 0.750838697, 0.077158913, -0.2502576411, -0.9169853926, 0.942602694, -1.0405730009, 0.2326255888, 0.6075191498, 0.0204399303, 0.3142951727, -0.3603361547, -0.4564490318, 0.1980925649, -0.4993670285, 0.639210701, 1.0759226084, -0.3218337893, -0.3414007425, -0.4941487908, 0.5513939261, 0.5424345136, -0.9173465371, -0.535143733, 0.1712860316, -0.2873517275, 0.2963344157, 0.8880826235, -0.2116750479, 0.1958798319, 0.0595231205, -0.2189466804, 0.2001406401, -0.3327862322, -0.305706799, 0.0085974447, 0.4955127537, -0.1921260506 ]
http://arxiv.org/abs/2407.02894v1
http://arxiv.org/pdf/2407.02894v1
Translatotron-V(ison): An End-to-End Model for In-Image Machine Translation
2024-07-03T08:15:39
2024-07-03T08:15:39
Zhibin Lan, Liqiang Niu, Fandong Meng, Jie Zhou, Min Zhang, Jinsong Su
cs.CL
cs.CL, cs.AI
In-image machine translation (IIMT) aims to translate an image containing texts in source language into an image containing translations in target language. In this regard, conventional cascaded methods suffer from issues such as error propagation, massive parameters, and difficulties in deployment and retaining visual characteristics of the input image. Thus, constructing end-to-end models has become an option, which, however, faces two main challenges: 1) the huge modeling burden, as it is required to simultaneously learn alignment across languages and preserve the visual characteristics of the input image; 2) the difficulties of directly predicting excessively lengthy pixel sequences. In this paper, we propose \textit{Translatotron-V(ision)}, an end-to-end IIMT model consisting of four modules. In addition to an image encoder, and an image decoder, our model contains a target text decoder and an image tokenizer. Among them, the target text decoder is used to alleviate the language alignment burden, and the image tokenizer converts long sequences of pixels into shorter sequences of visual tokens, preventing the model from focusing on low-level visual features. Besides, we present a two-stage training framework for our model to assist the model in learning alignment across modalities and languages. Finally, we propose a location-aware evaluation metric called Structure-BLEU to assess the translation quality of the generated images. Experimental results demonstrate that our model achieves competitive performance compared to cascaded models with only 70.9\% of parameters, and significantly outperforms the pixel-level end-to-end IIMT model.
[ -0.206055671, -0.4425950348, 0.2470892519, 0.0985893235, -0.9916702509, 0.0192265417, -0.1778540611, -0.5454779267, -0.2891242504, 0.2981914878, -0.347533375, -0.3557070196, -0.9379127622, 0.2395289391, -0.7019146681, 0.5132265687, -0.35940817, 0.4506261945, -0.006640682, -0.1403536499, -0.5108305812, -0.0972211212, -0.4362518787, -0.3729722798, 0.0123318704, 0.2810610831, 0.7220015526, 1.1681867838, 0.9588714838, 0.2812935412, -0.2034601122, 0.1387906373, -0.126989305, -0.0623955391, -0.3482367396, -0.3875457644, -0.1149912551, -0.3288740218, 0.6819928288, 0.3547819257, 0.288708806, 0.1130892485, -0.1821372211, 0.4976299405, -0.2731597722, -0.1860172302, -0.5242555737, 0.1147713661, -0.0800715238, -0.1764983386, -0.4495158195, -0.1133191213, -0.0544039607, -0.3204219937, -0.010714177, 0.0034026017, 1.4192260504, 0.4943082035, -0.7198928595, -0.0769672543, -0.9631541967, 0.4512662292, -0.5291005969, 0.6232240796, 0.1540288627, 0.5276700854, 0.0461793728, -0.9440498352, -0.3185148239, -0.1672194004, -0.0609820709, 0.573061645, -0.4831329882, -0.1352880746, 0.0412691049, 0.0307109989, -0.6971178055, 0.2138172388, -0.6891900897, 0.2134610862, 0.0141519727, 0.0811784863, 0.3436631262, -0.3915784955, -0.9271121621, 0.1207592413, -0.5628783703, -0.0596748553, 0.1145551056, 0.0516956709, -0.1443275213, 0.7854487896, -0.0912594944, 0.7517911792, 0.1315598041, 0.1608831584, -0.0862373561, -0.5185688138, -0.1252915859, 0.1823060066, 0.9408710003, 0.4173993468, 0.0039022355, -0.2462702692, -0.2178547382, 0.1355623901, 0.3567936122, -1.1846671104, 0.3547214568, 0.1767294109, -0.6195482612, -0.055583071, -0.0302101132, -0.2891500294, 0.3317301571, -0.4290322363, 0.5686231256, -1.0418506861, -0.0303717703, -0.0481894203, 0.0924055874, 0.4321597517, 0.3531074226, -0.34058249, 0.2820781469, 0.3836106956, 1.2794349194, -0.1276676953, -0.3012157381, -0.3350971639, 0.2252120078, -0.4066026509, 0.9141559005, -0.4220302701, -0.400262326, -0.1622524261, 0.2162362486, 0.3216633201, -0.4931457043, 0.5583841801, -0.4501312077, 0.3574414253, 0.1094716266, -0.5456905961, -0.4377731681, 0.3475026488, -0.472318083, 0.8596096039, 0.3317890167, -0.6143427491, 0.1077047735, -0.4024665058, -0.4287314415, 0.3640904725, -0.1233038679, -0.7554111481, 0.210669741, 0.0895823017, 0.264952898, -0.8527734876, 0.3950827122, 0.0224570241, -0.535836339, 0.2771199048, -0.1759677827, 0.6321403384, 0.2400031984, -0.4923725128, 0.1214153767, -0.5094373226, -0.1748152375, -0.0520980768, -0.3141851127, -0.2219662815, -0.204235062, 0.16274032, 0.7304001451, 0.2346357703, -0.679540813, 0.0117589086, -0.2451599389, 0.540306747, 0.6183816195, -0.1613616943, 0.4751675427, 0.0254077297, 0.6436360478, 0.4454535246, 0.2982997894, -0.4097656608, -0.4174117744, -0.4578295648, -0.4174489379, 0.3892944157, 0.6752164364, -0.8925670385, 0.3993669152, -0.6564916968, -0.5718175769, -0.4351788759, -0.0880219415, 0.7186241746, 0.7444757819, 0.2581005692, -0.5122631192, -0.2989927828, -1.0899475813, -0.0029834276, 0.062209636, 0.1847404987, -0.3071426749, 0.6026750207, -0.3049708605, 0.5036048889, 0.0865095258, -0.3093100488, -0.2649900019, -0.149180308, 0.2204838693, 0.4452289939, 0.3404590189, -0.7543318868, -0.7174898982, 0.6811446548, -0.8532617688, 0.0556368046, 0.0526445955, -0.4542862773, 0.0925361365, 0.5870804787, -0.6613000631, 0.5807648897, 0.3292275965, -0.1863879412, 0.2080236226, -0.321976006, 0.2212683111, -1.6130231619, 0.1216087788, 0.3715972006, -0.6218807101, -0.5993440151, 0.0841223225, 0.5818988681, -0.2076875865, -0.7366850376, 0.4716179669, -0.3322256207, -0.3627040982, -0.5121656656, 0.0399973355, -0.1216524616, 0.3803561032, 0.3087547123, 0.5206098557, 0.528262198, -0.4987570345, 0.363915205, 0.2889728844, -0.2837993205, 0.9953361154, -0.8028669953, -0.1406820118, -0.3556396365, 0.204224363, -0.9769073129, -0.1317509115, 0.2279707044, -0.6191566586, 0.3032154441, -0.3200462461, -0.7111860514, -0.2686585486, 0.1307137161, 0.7394911051, 0.6614589095, -0.5245264173, 0.540846765, -0.1875987351, 0.2004805803, -0.4845453501, -0.6509216428, 0.2698287964, -0.2877522409, -0.7031180859, 0.5720655918, 0.098210834, 0.3136876225, 0.4614917636, 0.2647080719, -0.0026759461, -0.2239472121, 0.1491665393, 0.3503279984, -0.0488315225, -0.0202404242, 0.1651823223, -0.4538314641, -0.2830552757, -0.7852242589, 0.4902401865, -0.1295776963, -0.2262432128, -0.7656157017, 0.399169594, 0.6233218908, -0.5163149834, 0.6267024875, 0.7344703078, -0.761462152, 0.0396301113, 0.1524182856, 0.0833364129, -0.3734589517, 0.8908470869, -0.3780303299, -0.3420302868, 0.5508717895, -0.5513524413, -0.0253375173, 0.1808927357, 0.8232732415, -0.2468113005, 0.9891575575, 0.6541067958, 0.4872811735, 0.6690654159, -0.4346751571, 0.2892767191, -0.9523963332, -0.3755915463, -0.1541386396, -0.5681874156, -0.3584064543, -0.5303990841, 0.6836587787, 0.0167766027, -0.3033227623, 0.7270414233, -0.6299239993, 0.4032482803, 0.5567304492, 0.1572001278, 0.2118237466, 0.1983774304, 0.210188821, -0.1382731497, -0.493953675, -0.3079526126, 0.8631644845, 0.2166586965, 0.68271631, 0.2535250485, 0.3648182154, 0.0105619514, 0.1665486544, -0.8312667012, 0.4279058576, -0.4761736095, -0.4671579599, -0.0249849726, -0.3148203194, -0.7481471896, 0.4519331157, 0.18581222, -0.4328030348, 0.0643449798, 0.0372874737, 0.2569058239, 0.4093576074, -0.3434007168, 0.870583415, -0.5194722414, -0.3915460706, 0.1270435303, -1.1097851992, 0.553730607, -0.1330182999, 0.0837786868, 0.2634613514, -0.1268450767, 0.219580695, -0.8355380297, 0.4312765598, 0.2205284536, 0.3252724707, 0.2086621076, 0.2419459224, 0.5144488215, -0.227631554, -0.0026611229, 0.1453969628, -0.2065155357, -0.3889526725, -0.4729188979, 0.3284194469, -0.9695107341, -0.0312742628, -0.1557284147, -0.4798440635, 0.3273909688, 0.3966949284, 0.9577974081, 0.7063094974, 0.0374596491, 0.1901946664, 0.5223175287, -0.1568969935, 0.4920062721, 0.120863609, -0.2907708883, -0.7723721266, 0.8430776, 0.1854926795, 0.5884932876, 0.669611752, 0.1069106609, -0.4379451871, -0.3144490719, -0.9194789529, 0.4211409986, -0.9968127608, -0.6009935141, -0.4745710194, -0.3258716762, -0.0126169166, -0.3557151854, -0.7094543576, -0.3244980872, -0.255764544, -0.080462344, 0.2631805539, 0.5249159932, 0.0815584734, 0.835177958, -0.6531823874, 0.3106948435, -0.307851404, 0.2686914504, -0.2730924785, -1.0311542749, -0.7250745296, -0.3084831536, -0.3104782403, -0.7855864763, 0.6007496119, 0.0781171992, 0.0670193955, 0.0875152498, -0.3599987328, 0.6913234591, -0.5203748941, 0.3975504339, 0.4411656559, -0.9243898988, 0.4711583853, -0.1971687078, 0.7392371893, 0.2406765968, 0.26943174, -0.5446200967, -0.3132304251, -0.353492409, -0.9043172598, 0.8798265457, 0.3323704302, -0.1316651255, 0.2047251314, 0.4598388672, 0.0802445561, 0.2055112123, -0.969271183, -0.056710735, -0.4603698552, -0.4522995651, 0.3773303032, 0.0133695202, 0.2750763595, -0.1477342546, 0.8174510002, -0.0130074853, 0.3314238191, 0.2732656598, -0.3936656713, -0.5458877087, -0.1950411052, 0.5969939828, 0.3869742155, -0.1462513655, 0.2082517892, -0.141888395, -0.2599478066, 0.4002191126, -0.0212372113, -0.4305411279, 0.2401551753, 0.2084220946, 0.8749752045, -0.1963308603, -0.5313107967, 0.7290744781, -0.184544161, -0.1908527166, -0.3150131106, -0.7741194367, 0.1456972212, 0.1829732507, -0.0529635251, 0.2107989788, -0.0142020276, -0.425653249, 0.3407745063, 0.2877843678, -0.8853113651, -0.5656879544, 0.9650018215, -0.1100387126, -0.4207573533, 0.8001203537, -0.1526301652, -0.5983793139, 0.7347198725, 0.9327979088, 0.9839943051, -0.3852173686, 0.1531842351, 0.4806399345, 0.7612885833, 0.0087942155, 0.3782972097, 0.3155881166, -0.2227293402, -0.3465866745, -0.480550766, 0.0215963256, -0.2280986458, -0.4347226322, 0.7903935313, -0.4606786966, -0.1704949141, -0.4513319731, -0.6038618684, -0.7535625696, 0.3761109114, 0.0539487712, 0.8181229234, -0.6702886224, 0.9060540199, 0.8989034295, -0.5430508256, -0.4818054736, -0.299914062, -0.3161184788, -0.562374115, 0.8651182652, 0.2149824053, -0.0642312616, 0.0212001689, -0.5247888565, -0.9392377734, 1.2882422209, 0.5266128182, -0.4103249609, 0.0324859992, 0.5208930969, 0.5286009908, -0.3422217369, 0.3617679775, 0.0096505731, 0.177933991, 0.3082447052, -0.7160826921, 0.0914053991, -0.3191101551, 0.5605221391, 0.4968702495, -0.9629351497, 1.0202766657, 0.0672678202, -0.1802095324, 0.1532085389, 0.9318994284, -0.0351779163, -0.0743759125, 0.2165290564, 0.7135230303, 0.0221003853, 0.0404478088, 0.9888763428, -0.4450308084, 0.2443377972, 0.8846940398, -0.0129460171, 0.5781967044, 0.5341470242, 0.3679667711, 0.2109303027, 0.8371609449, 0.1380287707, 0.7741013765, 0.0435270071, 0.0167492386, -0.2563807368, -0.357463181, -0.0969145149, 0.3740527332, 0.3509331048, -0.5077553391, -0.501229167, 0.2428731173, -0.1120431125, 0.0508886166, -0.1580608934, 0.5143769979, 0.328730911, -0.4792630374, 0.3880583644, 0.3653093576, 0.3023439944, -0.5732560158, 0.00806084, -0.2103213668, 0.1924721897, 0.0342210792, -0.7298454642, 0.1833556592, -0.0041771992, -0.0742784217, -0.050039202, 0.448230505, -0.5957784653, -0.8584142923, 0.3730477393, 0.4282850623, 0.1236052513, 0.19946751, -0.6420956254, 0.0830376223, -0.1761867851, -0.0840754136, 0.1392974406, 0.6831139326, -0.4696960747, 0.619921267, 0.2444637418, -0.1148925051, 0.2503678203, -0.1465689987, 0.5614210367, -0.6661590338, -0.5837038159, -0.9253717065, 0.8030038476, 0.1622691303, -0.318606317, 0.2316087633, 0.7491534948, 0.95422405, 0.0124952272, 0.8015142083, 0.0806910321, -0.0401280224, -0.492647022, 0.132194832, -0.8077918291, -0.024299264, -0.1008059531, -1.0769355297, -0.3980056047, 0.2145557106, 0.0782721639, -0.1743651778, 0.803699851, 0.5263664722, -0.5197992921, -0.3861018717, 0.540029943, 0.0287265386, 0.6134765148, 0.5983376503, 0.9011545777, -0.9442842603, 0.7520905137, -0.295157373, -0.048632659, -0.2786985338, -0.6690893769, -0.729947567, -0.8585757613, -0.332690388, -0.3020124733, -0.0917438492, 0.8004487753, 0.6151090264, -0.0960587561, -0.4184521437, -0.1771654338, -0.1009842306, -0.1602516174, -0.0590669848, 0.4290521741, 0.035304945, -0.9991124272, -0.0359439366, 0.7074731588, 0.2098423392, 0.0030986497, -0.0829341337, -0.2399445474, -0.0478679389, 0.5052341223, 0.012233681, -0.8163123131, -0.1496385187, 0.0923842713, -0.250118345, 0.3924846947, 0.3722322881, -0.4992919564, 0.7389497161, 0.4600819051, 0.6930667162, 0.5767523646, 0.3145728707, 0.6011737585, -0.5274127126, 0.2835240662, -0.1552324295, 0.5415788293, 0.4559534192, -0.3784096539, 0.50780797, 0.1507212222, -0.3182443678, -0.7326816916, 0.4661638439, -1.1058562994, -0.3652735054, 0.9178155065, -0.0354505889, -0.7428368926, 0.4434880912, -0.2210515589, 0.7779531479, -0.1436776519, 0.3827450573, 0.2724107206, 0.0250725579, -0.3245591223, -0.4527289569, -0.1075894237, 0.2695414424, -0.76723665, -0.3610002697, 0.2342297435, 0.1713608503, 0.004206467, 0.3514758945, -0.3742743134, 0.4371852875, -0.2465847135, 0.266037941, -0.0808139816, -0.3441875875, -0.4276480973, -0.1978755444, -0.068966575, -0.5100327134 ]
http://arxiv.org/abs/2407.02891v1
http://arxiv.org/pdf/2407.02891v1
GPTQT: Quantize Large Language Models Twice to Push the Efficiency
2024-07-03T08:08:01
2024-07-03T08:08:01
Yipin Guo, Yilin Lang, Qinyuan Ren
cs.LG
cs.LG, cs.AI, cs.CL
Due to their large size, generative Large Language Models (LLMs) require significant computing and storage resources. This paper introduces a new post-training quantization method, GPTQT, to reduce memory usage and enhance processing speed by expressing the weight of LLM in 3bit/2bit. Practice has shown that minimizing the quantization error of weights is ineffective, leading to overfitting. Therefore, GPTQT employs a progressive two-step approach: initially quantizing weights using Linear quantization to a relatively high bit, followed by converting obtained int weight to lower bit binary coding. A re-explore strategy is proposed to optimize initial scaling factor. During inference, these steps are merged into pure binary coding, enabling efficient computation. Testing across various models and datasets confirms GPTQT's effectiveness. Compared to the strong 3-bit quantization baseline, GPTQT further reduces perplexity by 4.01 on opt-66B and increases speed by 1.24 times on opt-30b. The results on Llama2 show that GPTQT is currently the best binary coding quantization method for such kind of LLMs.
[ -0.3252398968, -0.7827546597, 0.5256240368, 0.2568041682, -0.5718238354, 0.1196948811, -0.3310688436, -0.0205694642, -0.3259333372, 0.4325089455, -0.1155473441, -0.2511505485, -0.5968440771, -0.3158937693, -0.2395121157, 0.8468836546, -0.0610038377, 0.2368676215, 0.0618096255, 0.0192727316, -0.1900582165, -0.7313258648, -1.1897674799, -0.1426538229, 0.2495830953, 0.0949096158, 1.0898389816, 0.5336370468, 0.4353235364, 0.1695002019, -0.1463201642, -0.2802730501, -0.5874901414, -0.0333217084, 0.1712194979, -0.6385524273, -0.5119391084, -0.3476503491, 0.9076243043, 0.3909008503, -0.3348695636, 0.1488880664, -0.2053156644, 0.7920736074, -0.5317395329, 0.2406871617, -0.4257663488, 0.0553080812, -0.2841310799, -0.0519093759, -0.2225717455, -0.4737157822, -0.2606440485, -0.3688708842, 0.1975562871, -0.0584475175, 0.4613886774, 0.2029164732, -0.5970923305, 0.3184808493, -0.6956375241, 0.7826321125, -0.7980718017, 0.5107086301, 0.2946406901, 0.1656902134, 0.0179617815, -0.7969613075, -0.6252592206, -0.132169798, 0.2644114196, -0.1868477911, -0.2243860662, 0.1809548736, 0.5961702466, 0.5930307508, -0.8419978619, -0.064891316, -0.1731576622, -0.1569341272, 0.624417007, -0.0099649308, 0.2041373104, 0.1946440339, -0.1795538515, -0.1508208513, -1.0179291964, -0.1673159897, 0.2026982456, -0.1677234024, 0.2660476267, 0.5556166768, -0.2848007977, 0.4861926734, -0.1359858513, -0.1437411159, 0.2855143547, -0.437632978, -0.2247865945, -0.1439481378, 0.8267375231, 0.2584767342, 0.0912347883, -0.0884986669, -0.4340032637, 0.1104868874, 0.0818226263, -1.212280035, -0.3323283792, 0.1069614366, -0.4580553174, 0.0095945522, -0.3791152537, -0.2522977889, 0.026449183, -0.3330166638, 0.6488765478, -0.769164443, -0.4628140926, 0.2754959166, 0.1559865028, 0.3691817224, 0.4600835741, -0.9798226357, 0.3391144276, 0.896099627, 0.9011445642, 0.0953762233, 0.1692186594, -0.5535190105, 0.0334655195, -0.4258412123, 0.5133456588, -0.1837253124, -0.2151627988, -0.2203931212, -0.3466795683, 0.2844531238, -0.3743542433, 0.4422692657, -0.9073514938, 0.0624537505, -0.1714811325, -0.6056142449, -0.2582019567, 0.0579473749, -0.6359031796, 1.1793870926, 0.5205175281, -0.6960399151, 0.2874665558, -0.4574868381, -0.4469179809, 0.4393985868, 0.0665319934, -0.3857847452, 0.4313615561, 0.2958776951, 0.2865314782, -0.4473592341, 0.2343627661, 0.0612010509, -0.8157455325, -0.0485540256, -0.417989254, 0.8090064526, 0.2541759908, -0.2702007592, 0.0853760988, -0.4799483418, 0.4423899353, 0.2203147113, -0.6807271838, -0.1254092753, -0.0974545851, -0.0150483195, 0.0907588825, 0.2038767338, -0.3839427233, 0.4603712559, -0.4335868657, 0.7388722897, 0.5965837836, -0.2146355063, 0.3590959609, -0.1056785733, 0.6374744773, -0.425755769, 0.2823267281, 0.0903280303, -0.4203763902, -0.7232297659, -0.2398953438, 0.6152723432, 0.6255795956, -1.1284886599, 0.3212095797, -0.360126406, -0.2237032205, -0.5405153632, -0.0231508687, 0.3917580545, -0.2112992257, 0.2833014727, -0.4882144928, -0.4261700809, -0.74641186, -0.0863003656, -0.1873472631, -0.4827029407, -0.1684176028, 0.3405580819, -0.1935995817, 0.6232850552, -0.5548418164, 0.3403765559, -0.1954140365, 0.259119451, 0.1793599278, 0.5600354075, 0.2314255387, -0.7705186605, -0.5712822676, -0.1850373745, -0.3759479821, -0.0179672446, 0.0171921588, -0.2655867636, 0.3051951528, 0.5298410058, -0.7734112144, 0.2462981194, 0.5766788125, -0.1524034292, 0.5911524892, -0.1649517119, 0.1338900775, -0.7203876376, -0.2297388166, -0.2505835891, -0.497898072, -0.4946924448, 0.2462961376, 0.3538291454, -0.0487313122, -0.3077023029, 0.2432606667, -0.6114243865, -0.156499058, -0.3967280388, -0.1441003233, -0.1362472475, 0.6298333406, -0.1251263022, 1.0973393917, 0.5586212873, -0.3609171212, 0.6314280033, -0.1137245595, -0.3592064083, 0.3465737402, -0.6120740175, 0.4514953494, -0.1877548546, 0.2608348727, -0.9826372266, 0.3073432744, 0.1422821283, -0.3627828658, 0.4148182869, -0.219774887, -0.9557753801, -0.3861137033, -0.4692624211, 0.6884027123, 0.9037842751, -0.3111050725, 0.4325137436, 0.23894988, -0.2801523507, -0.1430896968, -0.5846117735, 0.1330313832, -0.1625204086, -0.5914424658, 0.327245295, -0.1292765439, 0.1113213524, -0.2004140466, -0.1254923642, -0.0157832652, -0.0598309413, -0.1990863234, 0.0083543332, -0.3272790909, 0.3624929786, 0.0272686332, -0.2410213798, 0.1342125684, -0.6548697352, 0.7751284242, -0.2800868452, -0.025581874, -0.3535215259, 0.3886414766, 0.1139676198, -0.2664780915, 0.7432301641, 1.0669199228, -0.2273067385, 0.1057218313, -0.5451650023, 0.0461528711, -0.4185591638, 0.7336545587, -0.4730125964, -1.2240470648, 0.0516260266, -0.2195697874, -0.0375004858, 0.4070734084, 0.6379731894, 0.2118544132, 1.1035124063, 0.5311924219, -0.0580171086, 0.6066321135, -0.2806527019, 0.3020451665, -0.9983415604, 0.1813937426, -0.3276766241, 0.0433136448, -0.5253208876, -0.920245707, 0.339702338, 0.595060885, -0.5798836946, 0.280140996, -0.4180419445, 0.5408635736, 0.6400579214, 0.2838771939, 0.2523510456, 0.1900368631, 0.2384260595, -0.0029340808, -0.702542901, -0.2147074193, 1.3816132545, 0.3778175712, 0.6673260331, 0.463951081, 0.4566981494, 0.0239119623, 0.4463264942, -0.9203230739, 0.575956881, -0.228598088, -0.2660553455, -0.5962482095, -0.7908025384, -0.5964151025, 0.4976431131, -0.0563725047, -0.4501264989, -0.3852541745, 0.1113119125, -0.4048130214, 0.2769570053, -0.7493492961, 0.6719959378, -0.184112832, -0.4170431793, -0.3856522143, -0.4957487881, 0.5230109692, -0.2039112002, 0.0821781904, 0.0846868083, -0.2762601674, 0.8281373382, -0.6164551973, 0.3663362563, -0.0911797807, -0.3391357958, 0.2694925964, 0.2004990727, 0.757617414, 0.1605478972, 0.1011544392, 0.2041392773, 0.0261888299, -0.6335034966, -0.7541832924, 0.3726754487, -0.5583468676, -0.7051554918, -0.2237413973, -0.3912863433, -0.2803988159, 0.0403076075, 0.1494349688, 0.2789715827, 0.0729570463, 0.1902555525, 0.8707393408, -0.1804973334, 0.3084889948, 0.3801464736, -0.1845257431, -0.5558613539, 0.7291041613, 0.0519470535, 0.4626871049, 0.6085726619, 0.2252368778, -0.4056634605, -0.8724375367, -0.3547915518, 0.2784745395, -0.4530476332, -0.4214975238, -0.5506785512, -0.2172084898, -0.5801801085, 0.2456046939, -0.4610352218, -0.6257876158, 0.1213956401, 0.0713475943, 0.4639529288, 0.3000229895, -0.149660632, 0.793428123, -0.8541091681, 0.3479451239, 0.5864607692, 0.4688673317, 0.0664441958, -0.595965147, -0.5312128663, -0.0445285961, -0.2546904385, -0.5379493237, 0.3583945632, 0.1576083153, 0.147186324, 0.3120057881, -0.3217995167, 0.5064891577, -0.4806430638, 0.6499598622, 0.3196990192, -1.1756733656, 0.238435477, -0.2466633469, 0.5145757198, 0.2383684963, 0.4040768743, -0.6334689856, 0.0581878051, -0.4505688846, -0.9822790027, 0.6127884984, 0.3301002383, 0.1592340618, 0.1661924422, 0.5152477622, -0.202873528, 0.4360871911, -0.6233830452, -0.2067340761, -0.0441728085, 0.0065609398, -0.1397104412, -0.8328074217, 0.144633159, -0.3620857596, 0.6913641691, -0.0977861509, 0.5092596412, -0.1975983381, -0.0992999971, 0.0205778442, 0.3247206509, 0.2656926215, 0.522239089, -0.2173169851, 0.180602774, 0.1546257585, -0.6603087187, 0.2979129851, 0.1176111698, -0.102256611, -0.2472140491, 0.3085157275, 0.9158331156, 0.1813845038, -0.4189596772, 0.6205106974, -0.234862119, -0.2558670342, -0.2546757162, 0.1041545197, 0.1656930149, 0.2743030787, 0.258751899, -0.3478731811, 0.2637168169, -0.478913933, 0.1143274382, 0.455055207, 0.1447765082, -0.1468089968, 0.4881171286, -0.038125813, -0.1111522019, 0.8559253812, -0.4708906412, -0.7144918442, 0.2933397591, 0.4936807454, 0.7418006063, -0.4698318243, 0.0777748749, 0.4491850138, 0.2706905305, -0.5065023303, 0.342256397, -0.1646490395, -0.7203111053, -0.9398639202, -0.7139843106, -0.153458178, 0.0511509329, -0.4627493918, -0.0426595435, -0.4679429531, -0.2885995209, -0.318679601, 0.2130747586, -0.4791431427, 0.1669197679, 0.2371019572, 0.5623125434, -0.3823670149, 1.0850676298, 0.4515038729, -0.0638542026, -0.9003449082, -0.1330473274, -0.2962531745, -0.8193724155, 0.584231019, -0.0883143246, 0.1270921081, 0.2947151959, -0.6556870937, -1.0653021336, 0.9854347706, 0.3561196923, -0.8697398305, -0.0173252672, -0.055702962, 0.3837374449, 0.0112074409, 0.3896521926, 0.8869145513, 0.2819266915, 0.4138213694, -0.7894179821, 0.3046977222, -0.1457078755, 0.5773000121, 0.5721983314, -0.6949639916, 1.153504014, -0.1726814657, -0.3376984596, 0.003861201, 0.6269084215, 0.1934141368, -0.2591055632, 0.497890234, 0.7196281552, 0.6829816699, -0.1379324198, 0.9163535833, -0.1049403548, 0.5753639936, 0.9022001624, -0.1337945312, 0.7665399909, 0.3552229404, -0.8454006314, 0.1468233317, 0.6117144227, 0.0350207463, 0.3792069256, 0.7429232597, -0.6551772952, -0.3631285429, 0.3987908065, -0.4679918289, 0.1288684756, 0.1524822563, 0.0320203826, -0.0578504764, 0.0286569819, 0.4010531604, -0.4570367038, -0.4551395178, 0.6012809277, 0.0565951541, -0.3886625171, 1.0461856127, 0.2958186269, 0.7899001837, -0.6150174141, -0.0742435977, -0.3413748145, 0.0035228943, -0.0290010441, -0.623265326, 0.1444238722, -0.1691236198, -0.0505056791, -0.2073173076, 0.3843833506, -0.457446456, -0.5329245925, -0.048187077, 0.2915095091, 0.3461265564, -0.755869627, -0.5951159596, 0.1304231137, 0.1825352758, -0.5733891726, 0.4106060565, 0.7328938842, -0.169933185, 0.5870019794, 0.7046234608, 0.1849347651, -0.0476035848, 0.264685452, 0.9766286612, -0.8807308674, -0.4623319805, -0.8206135035, 0.2342846692, 0.2947162986, 0.1306215823, 0.5370910764, 0.6383700371, 0.8026059866, 0.0243182704, 0.7097979188, -0.0344406925, 0.2289744616, -0.8673927784, 0.4231584966, -0.418245703, 0.2658830285, -0.0281117689, -0.9720308185, -0.3929691911, 0.6719761491, -0.2449576259, 0.3031933308, 0.8894277215, 0.6231389046, 0.3852528632, -0.071530506, 0.3920205235, 0.2706626654, 0.3258295953, 1.0997145176, 0.6315666437, -0.6650102735, 0.4999687374, -0.1568342596, -0.4370777905, -0.1116424724, -0.6258450747, -0.6872904897, -0.2244005948, -0.5155696869, -0.2917177677, 0.0064894632, 0.5472677946, 0.8301254511, -0.4575955272, -0.0940702483, -0.1696793288, -0.0815591291, -0.2530632019, -0.2657226026, 0.5536886454, -0.2210100889, -0.5777551532, 0.0355629176, 0.1518196017, 0.1959400773, -0.2574152946, -0.0155330757, 0.059999343, -0.1715222448, 0.9613628983, -0.0591955408, -0.3235914707, -0.1165554449, -0.431702286, -0.0759938955, 0.1169221774, 1.0059181452, -0.7848230004, 0.0821828619, 0.4170953929, 0.4035982192, 0.9385054708, 0.1690431833, 0.5558238626, -0.4996344149, 0.259606123, 0.3277878761, 0.0323154703, 0.3109302819, -0.5319359899, 0.6004478931, 0.2217766643, -0.6099071503, -0.6134165525, 0.1510231495, -0.785959959, -0.3104147017, 1.1424627304, -0.0977461562, -0.3179934621, 0.112641111, -0.3067086339, 0.3025271893, -0.4431431293, 0.4065449536, 0.5830395818, -0.1148393154, -0.5933579803, -0.7728412151, 0.5934175253, 0.4273255169, -0.617682755, 0.06478706, 0.4060875773, 0.2935550213, -0.2745627761, 1.0264878273, -0.2286887765, 0.2148052603, 0.1569483876, 0.3384770751, 0.0092771696, 0.1506076753, -0.4700308144, 0.1265299171, 0.2871647477, 0.0516438521 ]
http://arxiv.org/abs/2407.02885v1
http://arxiv.org/pdf/2407.02885v1
CogErgLLM: Exploring Large Language Model Systems Design Perspective Using Cognitive Ergonomics
2024-07-03T07:59:52
2024-07-03T07:59:52
Azmine Toushik Wasi
cs.HC
cs.HC, cs.CL, cs.CY, cs.SI
Integrating cognitive ergonomics with LLMs is essential for enhancing safety, reliability, and user satisfaction in human-AI interactions. Current LLM design often lacks this integration, leading to systems that may not fully align with human cognitive capabilities and limitations. Insufficient focus on incorporating cognitive science methods exacerbates biases in LLM outputs, while inconsistent application of user-centered design principles results in sub-optimal user experiences. To address these challenges, our position paper explores the critical integration of cognitive ergonomics principles into LLM design, aiming to provide a comprehensive framework and practical guidelines for ethical LLM development. Through our contributions, we seek to advance understanding and practice in integrating cognitive ergonomics into LLM systems, fostering safer, more reliable, and ethically sound human-AI interactions.
[ -0.4262042642, -0.8145145774, 0.870932579, -0.001551138, -0.2254450917, -0.0248537362, -0.3781474531, -1.0600986481, -0.0709896386, 0.5234078169, -0.4806741476, -0.4587607384, -0.2840071321, -0.0905686244, -0.1672619432, 0.6483134031, -0.0243058205, 0.2249401063, -0.494805485, -0.0771520212, -0.3227290213, -1.1291817427, -0.6937087178, -0.5791145563, 0.2021981925, 0.1234887019, 0.6369071007, 0.081783466, 0.2919926047, 0.0889646113, -0.2070686519, -0.0785313472, -0.4754942656, 0.1670873761, 0.0293415152, -0.2882243693, -0.7724174261, -0.0611390956, 0.087174058, 0.6739810109, -0.7526959181, 0.102678299, 0.3894453347, 0.3771832287, -0.4743449688, 0.1099764928, 0.1287759244, 0.4181111753, -0.0643818229, 0.0403283052, -0.5366742611, -0.3681090474, 0.1837430745, -0.7450951338, -0.3673522174, 0.5359245539, 0.469746232, 0.5400906205, -0.2099924684, -0.533823967, -0.7643220425, 0.9440171719, -1.0978916883, 0.6107209921, 0.2163952738, -0.0645034835, -0.1988253295, -0.2617966831, -0.6305276155, -0.241805613, -0.2956835926, 0.233762145, 0.0854678452, 0.4124836326, 0.1150531769, -0.0128721129, -0.5875125527, 0.3789182901, -0.351367861, -0.0553362109, 0.7850799561, 0.3976399004, 0.5159375668, 0.2283123434, -0.2991265953, 0.0622357428, -0.6454746127, 0.0895387456, 0.4548974633, 0.0378625244, -0.2012258172, 0.4566273093, -0.0617237464, 0.9928718805, -0.2210858166, -0.0714756548, 0.3023222983, -0.2075634897, -0.4363311231, 0.1623278707, 0.6314983964, 0.4467593431, 0.4485435784, -0.2009086162, -0.1408289373, -0.064987123, 0.5727447271, -0.2944347262, 0.1222162992, 0.4958001077, -0.4984230995, -0.4566113651, 0.076358676, -0.6339879632, -0.2735713422, -0.637681067, -0.0554080904, -0.1418712884, -0.339377135, 0.6411110163, -0.0185618345, 0.486833185, 0.505823493, -0.8932622075, 0.42896083, 0.9688074589, 0.3389869332, -0.3787699342, -0.0858429447, -0.1184163839, 0.5404435992, -0.2761727571, 0.3320061862, -0.495326668, -0.7517457008, 0.1434424371, -0.2864554226, 0.0670512021, -0.4794750512, 0.8104379177, -0.5619466901, 0.3131523132, -0.0546679273, -0.2810899615, -0.445510596, 0.4161643982, -0.3079623878, 0.8861896992, -0.1203003004, -0.4102160037, 0.2544653416, -1.069449544, -0.6139992476, -0.0395862386, -0.591750443, -0.0951464847, 0.2542443275, -0.0751547366, 0.3527057469, -0.5459771156, 0.5128509402, -0.5688416362, -0.3097415864, 0.3390935361, -0.1537332982, 1.2225728035, 0.4103561342, -0.1616036296, 0.0736595914, -0.3472475708, 0.3409412801, 0.096667096, -0.5744479299, -0.4267882407, 0.1663793623, 0.414868772, 0.2275853306, 0.4538590312, -0.4567885101, -0.166612938, -0.1049916297, 0.4500816464, 0.7198877931, -0.1777441204, 0.6797651649, -0.3364531696, 0.5322291851, -0.4535937905, 0.6971847415, 0.5864455104, -0.1559874713, -0.5578926206, -0.1852324307, -0.3941941559, 0.7874847651, -0.3409445584, 0.8358542323, 0.0942772776, -0.1447321326, -0.0876843855, 0.1536425054, 0.317029506, 0.5155953169, 0.2485454381, -0.2680297494, -0.3974791169, -0.8423919082, -0.2881715, -0.5286821723, -0.1477201283, 0.5263158679, 0.1834230572, -0.3249739707, 0.9345504642, -0.4851239026, -0.0570038036, -0.1095239669, -0.2642299235, 0.2722584307, 0.6011965871, 0.5496683121, -0.662117064, 0.0345562063, -0.0869219974, -1.412348628, -0.1671898365, 0.2300644815, -0.1872420013, 0.4214248359, 0.8359307051, -0.6630965471, 0.3062384725, 0.587574482, -0.343334496, 0.3528977633, -0.2032593638, 0.018891722, -0.7833029032, 0.1404714733, -0.1547464728, 0.053835351, -0.6590155959, 0.3093223572, -0.2114123851, -0.1727194041, -0.5775746703, 0.3988262713, -0.4855103493, 0.0006991009, -0.0787142143, 0.0645260289, 0.082606867, 0.2593399882, -0.0288987663, 0.4111428857, 0.2899765074, -0.6752101183, 0.3523138463, 0.2537691593, -0.3045217395, 0.975705564, -1.0573103428, 0.2708640099, 0.0546343587, 0.4010106325, -0.6062855721, -0.224574104, 0.5786569118, -0.2968370318, 0.3405379951, 0.3981658518, -0.7016052008, -0.3187243938, -0.1764341444, 0.632978797, 0.6200386882, -0.2698176801, 0.808722198, 0.8092976809, -0.2448451221, -0.402046591, -1.2168818712, 0.1076341197, -0.3751088381, -0.9548075199, 0.2399284989, -0.1339336187, -0.7062421441, -0.1537771821, 0.036212422, 0.3057070374, 0.3522716165, 0.1126879603, 0.5350231528, -0.0525375642, 0.1242917627, -0.1250333786, -0.1043311432, 0.189611569, -0.320859313, 0.5495547652, -0.1522079706, -0.6974197626, -0.5808355808, 0.4868392646, 0.6824264526, -0.0776334554, 0.5791706443, 0.3902861178, -0.374673456, 0.1889909506, -0.6734989882, -0.2107685059, -0.4505468607, 0.3244500458, -0.0148997493, -1.2003099918, 0.3430824876, 0.1086640432, 0.2659316957, -0.0620012432, 0.5771325827, -0.6156175137, 0.7626488805, 0.9802893996, -0.0391568765, 0.5290831923, 0.2140048742, 0.2864339054, -1.2795293331, -0.3240623474, -0.4364174604, -0.2663151324, -0.3280237317, -0.3529556692, 0.4484389424, -0.13276124, -0.6675575972, -0.1250101477, -0.5209194422, 0.0704742149, 0.441460073, 0.1425726116, 0.349971503, -0.1001894549, -0.3898500204, 0.1543629318, -0.6712067723, -0.726567924, 0.5515500307, 0.3400916159, 1.4900194407, 0.4623019695, 0.8467845321, 0.2385077626, 0.1354162544, -0.6197049618, 0.5753551722, 0.0632900894, -0.8507240415, -0.6410397887, 0.010204955, -0.8058798909, 0.0450998843, -0.134821102, -1.0238991976, 0.2962006629, 0.1357183158, -0.5756864548, -0.0215081368, -0.6425105333, 0.6358873844, -0.6548377275, -0.4347480834, -0.4540539086, -0.659918189, 0.305668503, 0.0714122653, 0.424842298, -0.0764487386, -0.3730170727, 0.7564678788, -0.1508557945, 1.1992059946, 0.083129555, -0.2530094683, 0.2697372139, -0.1753552705, 0.3958881795, 0.0308561437, -0.2161994874, 0.3037925065, -0.1239380538, -0.4183803499, -0.2607662976, 0.7116520405, -0.9067066908, -0.9492483139, -0.5859975219, -0.6408958435, -0.2723958194, 0.0975680873, -0.090476796, 0.0038729641, -0.4872262776, 0.1437332779, 0.7931933999, -0.3530799747, 0.4302319884, 0.37267223, -0.4612881243, -0.3146463037, 0.4455167949, -0.0901004598, 0.2880304456, 0.0492560081, -0.0733416006, -0.3100441694, -0.5363003016, -0.335698545, 0.1747652292, -0.67291677, 0.402454555, -0.4768691659, -0.2829720676, -0.3562454581, -0.5923800468, -0.0541247055, -0.1149206981, -0.5303419232, -0.0324202366, 0.2133883089, 0.897217989, 0.2065623552, 0.2511976957, -0.8163716793, 0.0210414901, 0.1340824366, 0.3641156554, 0.0709739402, -0.4080034792, -0.2185816914, -0.1999883205, -0.1543001235, -0.3129931688, 0.1503448784, -0.3435014188, 1.1807832718, 0.2151134014, 0.1711953282, 0.4417306781, -0.3292517662, 0.8137490749, 0.4824624658, -0.7490558028, 0.1385914683, -0.4599965513, 0.275617063, 0.6136595607, 0.1743781865, -0.8454774618, -0.1900946796, -0.5019959211, -0.8741455078, 0.5365908742, -0.0319349505, -0.0001502653, 0.2201864868, 0.2931573987, 0.0736924112, 0.1193473265, -0.5078927875, 0.0654861555, 0.3879036903, -0.5045151711, -0.0694490895, -0.2486181408, -0.5482161641, 0.0081696175, 0.5512787104, 0.0005153325, 0.1785289347, 0.1320473403, -0.1896842122, 0.0228619073, 0.2209347785, 0.9151358604, 0.8165748715, -0.0866251737, 0.0778034106, 0.3254965544, -0.3705605268, 0.0674686283, -0.1464372575, -0.2015354931, -0.6233580112, 0.1352446824, 0.2144768536, 0.143140465, -0.6986182332, 0.0398557186, -0.1644231379, -0.0030317744, -0.8156525493, 0.4070805013, 0.5063909888, 0.4819289744, 0.4224921465, 0.0297687948, -0.0593741424, -0.5371441245, 0.1266358644, 0.5995224118, -0.3864816427, -0.1554322094, 0.6185241938, 0.4526054859, -0.4294368327, 0.5820115805, 0.3183055818, -0.2614530027, 0.5571629405, 0.3005794883, 0.8156736493, -0.0536130443, -0.3629285097, 0.0443481803, 0.5846630335, -0.2347007394, 0.3588729501, 0.1924743205, -0.5837153792, -0.4460871518, -0.4636310041, -0.6426689625, -0.4217812717, -0.7249777317, 0.338031292, -0.4176314473, -0.2544209659, -0.4816758037, -0.4196021557, -0.5617767572, 0.2405112982, 0.4614171386, 0.6773319244, -0.5778312683, 0.5449419022, 0.7803730369, -0.3147388101, -0.2987809777, 0.059480112, 0.3591014147, -1.1218509674, 0.4794730842, -0.2561271787, -0.3371542692, -0.1675882936, -0.6288693547, -0.7432883382, 1.4319388866, 0.3579731286, -0.5586144924, -0.1154271439, 0.1560507417, 0.4567033648, -0.5713570714, -0.1645416468, 0.326982528, 0.6390982866, -0.1369725913, -0.7496390343, 0.2880395651, 0.1157644689, -0.0234226286, 0.0905327722, -1.1068105698, 0.5672387481, -0.1299663782, -0.0402219929, 0.0902584493, 0.4305745959, 0.453553021, 0.4625067115, 0.3800996542, 0.8156133294, 0.8884763718, 0.1122059748, 1.1476062536, -0.3401859701, 0.4092997313, 0.9823481441, -0.4704566002, 0.6535697579, 1.0185647011, -0.1500850618, 0.2168967724, 0.611348033, 0.4575198293, 0.1858062744, 0.4036522806, -0.4016872942, -0.2755739093, -0.2404604107, -0.4380070269, 0.29005301, 0.6728982925, -0.2122754008, 0.0702001303, -0.1601142734, 0.1456021219, -0.1277151257, 0.0117037771, 0.6890887618, 0.5975589156, -0.517131567, 0.3260394335, -0.2492167205, 0.8920751214, -0.2925908864, 0.203246966, 0.1035391092, 0.1288925111, -0.3183118403, -0.9500338435, 0.4701790214, -0.1218213737, -0.1013392061, -0.2732359171, 0.7180652022, -0.1322849542, -0.3999484479, 0.4910806417, 0.9283354878, 0.0833273008, 0.383071363, -0.6608151197, 0.5445062518, -0.1378220171, -0.3936682045, 0.3478666842, 0.2068383098, 0.0210203361, 0.5822860599, 0.7223141193, -0.2662968636, -0.3082512617, -0.0379255041, 0.6319605708, -1.0220913887, -0.2831521034, -1.0925803185, 0.4138952494, -0.1040540785, -0.1849197745, 0.2256728262, 0.34497419, 0.7850884199, -0.1190438345, 1.1489980221, -0.3324632347, -0.1085676327, -0.6189052463, 1.0866560936, -0.4728657305, 0.2294169515, -0.0166461226, -0.674045682, -0.5855450034, 0.7302513719, -0.4877221286, 0.3283641934, 0.7176346779, 0.6304297447, -0.0195980407, 0.1164431795, 0.6480029225, 0.0645821691, 0.5960443616, 0.6142826676, 1.0217593908, 0.1314146966, 0.4086140096, 0.1407342404, -0.2284697592, -0.7009922266, -1.0596388578, -0.7304012775, -0.2807934284, -0.2131569386, -0.1480992585, 0.0596309565, 1.1152267456, 0.7278657556, -0.5985024571, -0.5963121057, -0.0985618383, 0.051849708, 0.0637921616, -0.2490291148, -0.1144668162, -0.1592132002, -0.5656957626, -0.0392236449, 0.5143927336, 0.1097152904, -0.3972981274, -0.5379925966, -0.2686597109, 0.1453846395, 0.6474701762, 0.2984499335, -0.9247015119, -0.6562892199, 0.2326477021, -0.490351826, 0.0251801759, 0.7892637253, -0.3609212339, 0.2346599996, 0.3789605498, 0.7564157844, 0.290458411, -0.1970939487, 0.8935896158, -0.1883538067, 0.1104047969, 0.4741352797, 0.4464951754, 0.320248127, -0.5709993243, 0.8650473952, -0.0249278732, -0.6805118918, -0.770865798, 0.3783025444, -1.407831192, -0.0402862951, 1.1586362123, -0.1010020897, -0.3948590457, -0.3637451231, -0.3580136895, 0.2536965609, -0.3612419963, 0.8486904502, 0.9651607871, -0.7627286911, -0.0721007586, -0.8576628566, 0.1438508183, 0.4615071714, -0.9562825561, 0.0171851534, 0.4269044101, 0.2135683298, 0.1194675639, 0.4609926939, -0.3172454834, 0.4089722037, -0.282566607, 0.5013917685, -0.115990445, 0.2993659675, -0.2522512078, -0.0176331885, 0.4581840038, 0.1114963144 ]
http://arxiv.org/abs/2407.02883v1
http://arxiv.org/pdf/2407.02883v1
CoIR: A Comprehensive Benchmark for Code Information Retrieval Models
2024-07-03T07:58:20
2024-07-03T07:58:20
Xiangyang Li, Kuicai Dong, Yi Quan Lee, Wei Xia, Yichun Yin, Hao Zhang, Yong Liu, Yasheng Wang, Ruiming Tang
cs.IR
cs.IR, cs.CL
Despite the substantial success of Information Retrieval (IR) in various NLP tasks, most IR systems predominantly handle queries and corpora in natural language, neglecting the domain of code retrieval. Code retrieval is critically important yet remains under-explored, with existing methods and benchmarks inadequately representing the diversity of code in various domains and tasks. Addressing this gap, we present \textbf{\name} (\textbf{Co}de \textbf{I}nformation \textbf{R}etrieval Benchmark), a robust and comprehensive benchmark specifically designed to assess code retrieval capabilities. \name comprises \textbf{ten} meticulously curated code datasets, spanning \textbf{eight} distinctive retrieval tasks across \textbf{seven} diverse domains. We first discuss the construction of \name and its diverse dataset composition. Further, we evaluate nine widely used retrieval models using \name, uncovering significant difficulties in performing code retrieval tasks even with state-of-the-art systems. To facilitate easy adoption and integration within existing research workflows, \name has been developed as a user-friendly Python framework, readily installable via pip. It shares same data schema as other popular benchmarks like MTEB and BEIR, enabling seamless cross-benchmark evaluations. Through \name, we aim to invigorate research in the code retrieval domain, providing a versatile benchmarking tool that encourages further development and exploration of code retrieval systems\footnote{\url{ https://github.com/CoIR-team/coir}}.
[ -0.2066901326, -0.5608004332, -0.028151378, 0.2088813633, -0.0023947002, 0.566672802, -0.1532997787, -0.5820279121, 0.0839217007, 0.2086201906, -0.0815083608, -0.4761421084, -0.4528958499, 0.2036099434, -0.5582355857, 0.6580452323, -0.0233572442, -0.0392957665, -0.2400540262, -0.3105702996, -0.461075753, -0.7519341707, -0.3769028783, -0.2033751756, 0.637028873, 0.4217733145, 0.3393717408, 0.4916215837, 1.2996282578, 0.0826331005, 0.0484316684, 0.2009751946, -0.5294470787, 0.149870947, -0.0862388238, -0.2503918409, -0.3934137225, -0.0615795031, 0.3574135602, 0.7925986052, -0.2520171404, 0.4024994969, -0.1035646051, 0.7798264027, -1.0890665054, -0.0259299297, -0.4813286066, 0.2031208873, -0.1512310207, -0.3886244297, -0.5126700997, -0.5173774958, 0.1335003823, -0.3292512298, 0.0959269255, 0.465586096, 0.872995019, 0.1152741835, -0.2090784162, -0.4736382663, -0.8678079247, 0.9536705613, -0.2348001897, 0.5548749566, 0.248217389, 0.5317406654, -0.2237041593, -1.1184113026, -0.2592231035, -0.2936859131, -0.0823118016, -0.0024864892, -0.4968678057, -0.2202738225, 0.2591922581, 0.6311761141, -0.6981548667, -0.4931126535, -0.4011207819, -0.2329021394, 0.4437609613, 0.0416276939, 0.3566537201, 0.1344811022, -0.7245057821, -0.3034076393, -0.6202971935, 0.1398442835, 0.4258700907, 0.2859294713, -0.1771002114, 0.4614961147, -0.5244008303, 0.7355678678, -0.110107027, 0.1667727232, 0.3268960118, -0.2399069816, -0.3319423199, -0.0052551683, 0.643540144, 0.1009139791, 0.0521405488, -0.6752055287, -0.083763279, 0.1144661456, 0.4343247712, -0.8427564502, -0.4971427023, 0.1304355562, -0.5126683712, 0.007159445, 0.3390141726, -0.8023377061, -0.1495105922, -0.0992454365, 0.3132125437, -0.3729021251, -0.2334977239, 0.204885155, -0.4680661559, 0.4808721244, 0.0406838283, -0.5399700403, 0.4622049332, 0.9219923615, 0.5818924904, -0.4829913378, -0.0189877898, -0.8731796145, -0.1370858401, -0.370119065, 0.7909699082, -1.1246083975, -0.3145197928, -0.1753985286, -0.2878809571, 0.0746769682, -0.986808002, 0.6469379663, -0.8747077584, -0.0951153859, -0.2185158432, -0.4013635218, -0.1670223773, 0.3090049028, -0.8363640308, 1.1575196981, 0.1704429239, -0.9313648343, 0.2854674459, -0.340028435, -0.3622930348, 0.2027460635, -0.3756644726, -0.3027936518, 0.0004001654, -0.413523227, 0.1462059319, -0.6563819051, 0.3774332404, -0.4840219617, -0.5885394812, 0.093642205, -0.0296816342, 0.5168548822, 0.6245079041, 0.0062879231, -0.3024997413, -0.848941505, 0.4574257135, -0.1623024344, -0.3403936028, -0.6530112624, -0.0823381171, 0.1101537421, -0.0963666216, 0.2371436208, -0.3689062893, 0.0995116383, 0.1924352795, 0.1974696219, 0.0050965669, -0.1316199601, 0.4176260531, -0.336014241, 0.6087009311, -0.1909492314, 0.1340065449, 0.0143814972, -0.1469430774, -0.5590053201, -0.4745270908, 0.4827637672, 0.4512300193, -0.5135145783, 0.1935779005, -0.2043764591, -0.8264093995, -0.25160864, 0.0105942097, 0.6185824871, 0.3362545073, 0.5701208711, -0.5632227063, -0.9538829327, -0.8124669194, -0.6638458967, -0.2548098266, 0.2462432832, 0.5300650001, 0.6721174717, -0.3489162922, 0.9507476091, -0.4840346575, -0.2090501338, -0.1089019701, 0.4285032749, 0.3503489494, 0.5275778174, 0.1705043614, -1.1183065176, -0.6324747205, -0.1245105788, -0.7022415996, -0.0569222569, 0.0611015894, -0.2831145525, -0.2501390874, 0.383081615, -0.1877328157, 0.2565814257, 0.6122506261, -0.2293507457, 0.7212671041, -0.1368870288, 0.2115756422, -0.765633285, 0.8084050417, -0.3656470776, -0.1869098842, -0.4959846139, 0.6867258549, 0.3236172199, 0.1196444035, -0.2860116065, 0.5512738228, -0.6338149905, -0.1006940752, 0.1489856839, -0.2220970094, 0.2764444947, 0.1862472743, -0.0589147806, 1.0181791782, 0.450098604, -0.7751193047, 0.3598265648, 0.2034349889, -0.5509707332, 0.63003093, -0.8345268965, 0.399194181, 0.3244852424, -0.0161811691, -0.5884315968, -0.0444491953, 0.057380937, -0.4248519838, 0.0395756736, -0.3546176553, -0.5974849463, -0.1386350542, -0.116411075, 0.5654397607, 0.4852664471, -0.5929434896, 0.3326732814, 0.5418725014, 0.0009578542, -0.9448671341, -0.6102532148, 0.3792975545, -0.2670888305, -0.2062019259, 0.5486833453, -0.4543450475, -0.432148397, -0.0917427912, -0.3475407064, -0.5909734368, 0.196298942, 0.0300104767, 0.2490517944, -0.2106140852, 0.1519947946, -0.2004781216, -0.0761769339, -0.1660700589, -0.0605041385, 0.58828336, -0.3082105517, -0.2456990331, 0.0172633231, 0.2991977334, 0.2651768029, -0.5867353678, 0.2675295174, 0.2332061529, -0.2184698731, -0.278314501, -0.4481391013, 0.1690262854, -0.3826259375, 0.1068952754, -0.4785347879, -0.7788303494, 0.6898741722, -0.3074481487, -0.5534601212, 0.2389463037, 0.2125143111, -0.0061272578, 0.4892913401, 0.9283563495, -0.0586660169, 0.3274182379, -0.4201194942, 0.2931619883, -0.8801752925, -0.3810071051, -0.9491361976, -0.1332428008, -0.4499490261, -0.5884558558, 0.0279863141, 0.3906449378, -0.1777522415, 0.7680971622, -0.6157489419, 0.4079056084, 0.4815700054, -0.2120755762, 0.5591716766, 0.1443216354, -0.2683314383, 0.1560153365, -0.4391995966, -0.370239377, 0.8479546905, 0.0120736044, 1.1887530088, 0.0802790448, 0.9374314547, 0.72064358, -0.1240346879, -0.4577402771, 0.3309264183, -0.1458974779, -0.6749207973, 0.2019001842, -0.5349937081, -1.1570513248, -0.121559605, 0.0555373132, -0.5693617463, 0.6176368594, -0.0664985105, -0.4790925682, 0.0896507055, -0.6021788716, 0.8623631597, -0.2124036998, -0.5532333851, -0.3156593144, -0.4424309134, -0.1248767674, -0.0138373254, 0.0143814702, -0.0889070779, -0.0822924674, 0.523291111, -0.1214180291, 0.3225257099, -0.052306395, 0.1574906856, 0.3124690354, 0.3345658779, 0.351059258, 0.0034109172, -0.4114111364, 0.42150563, 0.3803487122, -0.2731252313, -0.14149867, 0.6901610494, -0.5504294634, 0.0456491895, -0.4277337492, -0.4217681885, 0.2290535718, 0.4884317517, 0.1087923273, 0.6878718138, -0.4175046086, 0.5761859417, 0.7084773183, -0.4180362523, 0.3452385962, 0.6229115725, -0.1452095956, -0.2894411087, 0.8716904521, -0.0593447909, 0.0561992452, 0.8602383137, -0.1493203938, -0.102171056, -0.444026202, -0.0986906961, -0.0848388001, -0.6294448972, -0.5725553632, -0.811004281, -0.1236762702, -0.0866778716, 0.0514996648, -0.4554704726, -0.2247303575, 0.0908900574, 0.3186612427, 0.2953867912, 0.6417084336, 0.0688853711, -0.0817243382, -0.7495263815, 0.4978310764, -0.093654722, 1.0349361897, -0.1224117428, -0.2319243848, -0.4397970438, -0.1479651928, -0.0249965042, -0.3337127864, 0.5367643833, 0.3611905873, 0.648750782, -0.1749653965, 0.6354238391, 0.7986158133, -0.3700903952, 0.5730166435, 0.0341676734, -0.6317824125, 0.4162352085, 0.0167920999, 0.0858218595, 0.9509780407, 0.2586655021, -0.7572717667, -0.2788595855, -0.4857494235, -1.1078486443, 0.5193895698, 0.194128871, 0.0209280588, -0.2022244632, 0.2716720402, 0.5966578126, 0.3102187812, -0.3295697868, -0.3903791904, 0.2299241573, -0.191310674, 0.3820841312, -0.2612788081, -0.0220528431, 0.0303350855, 0.3656457961, -0.0656580254, 0.8550970554, 0.5080372095, -0.5366542935, 0.0200080276, 0.2951055467, 0.1837751716, 0.567932725, -0.5301169157, 0.1863147169, -0.1998500377, -0.5754016638, -0.1158023626, 0.1472537965, -0.0140762739, -0.0694090724, 0.3687155545, 0.4158207178, 0.0104117198, -0.8453389406, 0.3695484698, -0.4451739788, 0.0545926206, -0.6580099463, 0.3276905417, -0.244172886, 0.4444605112, 0.7219199538, 0.3772838414, 0.5507304072, -0.5462830067, 0.5503031015, 0.4722587466, -0.4449194968, -0.2142005265, 0.6870396137, 0.0794659406, -0.4475277364, 0.5691242218, -0.3578630388, -0.1238509119, 0.7583443522, 0.3674636483, 0.9785311818, 0.4043687582, 0.0186676942, 0.6172520518, -0.0408129729, -0.2649761736, 0.6348754764, -0.2429423034, -0.3634437919, -0.1497096121, -0.5459793806, -0.5800414085, -0.2085183114, -0.9732321501, 0.2867983878, -0.4325304031, -0.0306777619, -0.2539758682, 0.2350609303, -0.8473757505, 0.0949271023, 0.2998123467, 1.3962367773, -0.3853948712, 0.9521555901, 0.72296983, -0.5988745689, -0.6373215914, 0.0996246859, -0.4787395597, -0.5749399662, 0.9883309007, 0.2295829505, -0.3554561436, -0.034922868, -0.6177098155, -1.1288253069, 1.1805437803, 0.2720086277, -0.4179422855, 0.1008857712, 0.1787644923, 0.7615835667, -0.5412268639, 0.7138605118, 0.2416505963, 0.4440517426, -0.0562447943, -0.8380023837, -0.044191841, -0.6572397947, 0.0275478903, -0.1335061342, -0.7678421736, 0.8046656251, -0.254438132, -0.3867531121, 0.4569102228, 0.4306889772, 0.167817995, 0.5131675005, 0.2259255648, 0.3717152178, 0.8790484071, -0.2978513539, 1.2207660675, -0.5943116546, 0.6310824156, 1.099968195, -0.3731588423, 1.0934894085, 0.4955641925, -0.2295174152, 0.7688696384, 0.3069216013, -0.268183589, 0.8814354539, 0.1983704865, 0.2106485814, -0.2474737912, -0.206147179, -0.5266690254, 0.486245662, 0.0900243297, -0.1449794918, -0.1614005119, -0.5194718838, -0.3022753, 0.1132557616, 0.0297433231, 0.55117172, 0.0670877993, -0.7887314558, 0.6362192035, -0.1011734083, 0.6960412264, -0.6657595634, -0.3196820319, -0.4597446918, 0.5783776045, -0.2205568403, -0.4712454379, 0.4128849804, 0.0059608594, -0.1734573841, -0.2382736057, 0.6077741981, -0.4109638631, -0.1892007589, 0.9111741781, 0.3393785954, 0.1462651789, 0.02764442, -0.7478935122, 0.2166388184, -0.1681979001, 0.0327876508, 0.2227097154, 0.2028535157, 0.1010009497, 0.7921416163, 0.3115589619, -0.1020716801, 0.072598055, -0.0542353094, 0.7589107752, -0.7942223549, -0.1454732418, -0.6877726316, 0.341245234, -0.0029409186, -0.1041089892, 0.6867631078, 1.0548229218, 1.0236612558, -0.1340705454, 0.8128592968, -0.6841742992, 0.6835710406, -0.133196488, 0.5687198043, -0.6515458822, 0.3837585747, -0.3024409115, -0.8107039928, -0.4938573241, 0.445158571, -0.1125495061, 0.0516910926, 0.7689973116, 0.8482428789, -0.1981419623, -0.1673731357, 0.2985990345, -0.0561203621, 0.2173249424, 0.3888534009, 0.9544833302, -0.7439001799, 0.724953115, -0.2521289885, 0.0707405806, -0.6390169859, -0.8856699467, -0.6504637003, -0.3874306083, -0.3179643154, -0.1319595426, 0.445415765, 1.0780282021, 0.7993862033, -1.0962370634, -0.4081706703, 0.0048102336, 0.1355071068, -0.6588217616, -0.1741842031, 0.1760213971, -0.4061551392, -0.6058889031, 0.3384461403, 0.2992418706, -0.4349960685, 0.2025357634, -0.3440986872, -0.3039569855, -0.1528761685, 0.3381837308, 0.3936153352, -0.3353283405, -0.204580009, 0.5503056645, -0.5578244925, 0.2929823399, 0.8150891662, -0.9706954956, 0.6073403955, 0.7783042192, 0.7132528424, 0.1183905602, -0.1460338682, 0.6000282168, -0.6814030409, -0.3120810986, 0.230965212, 0.266606003, 0.3132225573, -0.3756252229, 0.9228979349, 0.1966915429, -0.4607754648, -0.8858066201, 0.0109256692, -1.092176199, -0.0274420381, 1.1572040319, -0.3419778347, -0.0190113038, -0.2445003837, 0.0070773214, 0.3129562438, -0.5495276451, 0.7392579913, 0.3666112125, 0.0521474257, 0.0626523346, -0.527084589, 0.2055595666, 0.2255490124, -0.5192683339, 0.2030362636, 0.2258841395, 0.2310897857, 0.2321580648, 0.4615014195, -0.2721480429, 0.2595146596, 0.0415082499, 0.6639322639, 0.0156118572, -0.4461801946, -0.1903007329, 0.3202769458, 0.2447425872, -0.0550750792 ]
http://arxiv.org/abs/2407.02867v1
http://arxiv.org/pdf/2407.02867v1
Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completion
2024-07-03T07:31:33
2024-07-03T07:31:33
Yu Zhao, Ying Zhang, Baohang Zhou, Xinying Qian, Kehui Song, Xiangrui Cai
cs.MM
cs.MM, cs.CL
A large number of studies have emerged for Multimodal Knowledge Graph Completion (MKGC) to predict the missing links in MKGs. However, fewer studies have been proposed to study the inductive MKGC (IMKGC) involving emerging entities unseen during training. Existing inductive approaches focus on learning textual entity representations, which neglect rich semantic information in visual modality. Moreover, they focus on aggregating structural neighbors from existing KGs, which of emerging entities are usually limited. However, the semantic neighbors are decoupled from the topology linkage and usually imply the true target entity. In this paper, we propose the IMKGC task and a semantic neighbor retrieval-enhanced IMKGC framework CMR, where the contrast brings the helpful semantic neighbors close, and then the memorize supports semantic neighbor retrieval to enhance inference. Specifically, we first propose a unified cross-modal contrastive learning to simultaneously capture the textual-visual and textual-textual correlations of query-entity pairs in a unified representation space. The contrastive learning increases the similarity of positive query-entity pairs, therefore making the representations of helpful semantic neighbors close. Then, we explicitly memorize the knowledge representations to support the semantic neighbor retrieval. At test time, we retrieve the nearest semantic neighbors and interpolate them to the query-entity similarity distribution to augment the final prediction. Extensive experiments validate the effectiveness of CMR on three inductive MKGC datasets. Codes are available at https://github.com/OreOZhao/CMR.
[ -0.6559395194, -0.6091317534, 0.5174815655, -0.2898210287, -0.219200626, 0.2060796022, -0.2450767308, -0.4243295193, 0.4560756087, 0.3705874681, -0.6008666158, -0.6530662775, -0.4527702928, 0.0741970614, 0.023068551, 0.8184482455, 0.0927199274, 0.1800096333, -0.6870341301, -0.2792544067, -0.156726107, -0.0799240991, -0.3860568702, -0.5717078447, 0.565747261, 0.538156569, 0.5397127271, 0.5785015821, 0.3261843026, 0.3744992018, -0.0645605028, 0.4795728922, -0.4509423673, 0.0191777479, -0.1239635274, -0.1529259831, -0.0796264634, -0.0804994777, 0.6393119097, 0.8293103576, 0.2812564075, -0.1230463162, 0.2004661113, 0.6954827905, -0.7337607145, 0.6082881689, -0.8721359968, 0.2145955712, 0.0351374447, -0.2120822668, -0.3497225642, -0.1825650632, 0.2252371907, -0.8231428266, 0.2141803056, 0.1082975715, 0.6118089557, 0.1789873987, -0.7775772214, -0.2538764775, -0.2873683572, 0.48379004, -0.3614672124, 0.6620085835, 0.4581133723, 0.2862040699, -0.1412183791, -0.8738564849, -0.6896984577, -0.400236249, -0.4729267657, 0.4704316854, 0.0908267125, 0.2541008592, 0.1072554886, 0.4539475441, -0.3113507926, -0.2712655067, -0.4274458885, -0.4610869586, -0.0707967058, 0.2186446637, 0.0690121129, -0.4918221533, -0.613683939, -0.1453367621, -0.5301610827, -0.0341465734, 0.165958479, 0.3294583857, 0.1493203193, 0.6622374654, -0.5732064247, 0.3874136508, 0.0884193331, -0.4074916244, 0.5685694814, -0.6216166615, -0.01179701, 0.1054958329, 0.7693967819, 0.5328720808, -0.0447303355, -0.3962877095, 0.1455306411, -0.1208803505, 0.1324104369, -0.7196133733, -0.7189434767, -0.3262123168, -0.6775684357, -0.0291240327, 0.1129982471, -0.897683382, -0.1883902997, -0.4444687665, 0.5661094189, -0.7825928926, -0.264561832, -0.4955960512, -0.2181051821, -0.0449254587, 0.3566824198, -0.5675645471, 0.1860176772, 0.3886946738, 0.6812011003, 0.1445424855, -0.5311570168, -0.4557005167, 0.5571268797, 0.0236914773, 0.5744481087, -0.8124005198, -0.3469423652, -0.1701077223, 0.2266243398, -0.2342955619, -0.6721215844, 0.3777415454, -0.5524076223, 0.0975671783, -0.4772958755, -0.575047493, -0.4668098092, 0.619259119, -0.7469747663, 0.8918921947, 0.1636505574, -1.17274189, 0.3697853684, -0.1958887428, -0.2875222266, -0.1917371452, -0.1901395172, -0.6534110308, -0.3266266286, 0.2959002256, 0.5098881721, 0.0576885603, -0.3451669514, -0.5499808788, -0.1874777377, -0.0813803598, 0.0390405953, 0.3180680275, 0.24969621, -0.1717692763, -0.0238415301, -0.7836005092, 0.2456234396, -0.1072484851, -0.5017023683, -0.5916078687, -0.230363816, -0.3260556757, 0.2468915433, 0.0977143347, -0.4920522869, -0.1044110432, 0.0348535553, 0.1202351525, 0.5422974825, 0.2802444398, 0.6936622858, -0.1657421738, 0.2790382802, 0.406106621, -0.1000075936, -0.4455020726, -0.2862077951, -0.737095356, -0.3785597086, 0.1624257118, 0.2588815093, -1.3723919392, 0.0085975938, -0.4811101556, -0.4065976739, -0.4353458285, 0.154660508, 0.7814733386, 0.8334100246, 0.6558747888, -0.1922293305, -0.390806675, -0.7041407824, 0.0850479826, -0.1128256395, 0.0646482259, 0.6337783933, 0.4992674887, -0.1498702317, 0.6349258423, -0.3365954757, -0.5995492339, -0.0114900013, 0.0959619656, -0.3409248888, 0.4310641587, 0.3187731206, -0.9534046054, -0.6313493252, 0.2850833535, -0.6323536634, 0.3143735826, 0.189497754, -0.2433150113, -0.1616515964, 0.9206914306, -0.5720402598, 0.3281032145, 0.2955568135, -0.1496969163, 0.4575638771, -0.1925406903, 0.4777100086, -1.2263276577, -0.0993285999, -0.4888365865, -0.1536516696, -0.1969735473, 0.032937929, 0.2274345607, 0.0337949321, 0.082893528, 0.3004150391, -0.6976382136, 0.0129360342, -0.0354250818, 0.3242080212, 0.0011471672, 0.6698090434, -0.1593398601, 0.6197244525, 0.196406737, -0.8019669652, 0.2101468742, 0.3049589396, -0.2517016828, 0.631031692, -0.1620828807, -0.0525581762, -0.3377633095, 0.0919170305, -0.9944186807, -0.2896140218, 0.2395623177, -0.7426047325, 0.5467457771, -0.3855721354, -0.5864040852, -0.2763362229, -0.2700172663, 0.3837025762, 0.1918797642, -0.777746141, 0.8965100646, 0.197036162, 0.2045346498, -0.6815444827, -0.5073031187, -0.1123618186, -0.0159622896, -0.3778401613, 0.4199750125, 0.027530482, -0.0107823191, 0.4603132308, -0.0238416679, 0.0561232641, -0.1642774493, 0.379920423, -0.0632524341, -0.1849253327, 0.4822851717, 0.0190959852, -0.2085440755, -0.0262688138, -0.4084900916, 0.4100325704, -0.1201195866, -0.4748420119, -0.036887493, 0.2366880476, 0.3747836947, -0.4329233468, 0.6355441213, 0.9019482136, -0.141959846, 0.1894227415, -0.7050129771, -0.2131129056, -0.4465769231, 0.4893130958, -0.6009180546, -0.9344434142, 0.5661216974, -0.4530875683, -0.4529742599, 0.2258268446, 0.2227821797, -0.0554243773, 0.5903071761, 0.5521944761, 0.0780035183, 0.5121152997, -0.3466459513, 0.0385189131, -1.0446292162, -0.901111722, -0.2655676007, -0.111577861, -0.6569187045, -0.5395227075, 0.5937449932, 0.339903295, -0.0213673785, 0.3634358048, -0.2665635049, 0.6644087434, 0.6996974349, 0.5287973881, 0.5789334178, 0.1403017342, -0.9586247802, -0.2948431671, -0.5252256393, 0.1363730431, 0.93706882, -0.2013227791, 0.6527670622, -0.0175988991, 0.9024875164, -0.0304646399, 0.1097975597, -0.7100396156, 0.5515615344, 0.0627748966, -0.1070067659, -0.1276150346, -0.6879057884, -0.7528192997, 0.4141553938, -0.4338908494, -0.4734613895, 0.0327847525, 0.1266214997, 0.214342162, 0.563364923, -0.6483920217, 0.7573419213, 0.4153659642, -0.2793869078, -0.4024900496, -0.9607024193, 0.3803640008, 0.2004281282, -0.0486463606, -0.0048172683, -0.0075957095, 0.3256191313, -0.4162828326, 0.5735678077, -0.0744658858, 0.4906772971, 0.4264866114, 0.1811027825, 0.6312381029, -0.1267081797, 0.0280624162, -0.2767595947, -0.3063065112, -0.4008135498, -0.6499830484, 0.7342953682, -0.5108423233, -0.1836570203, 0.0635320619, -0.5673738122, -0.15672791, 0.3500185311, 0.2596018612, 0.3886090815, -0.2133790851, 0.256980747, 0.8799666166, 0.08141011, 0.4386362433, 0.3052885234, -0.13791354, -0.9924228191, 0.9498436451, -0.0161164142, 0.5452247262, 0.701851368, -0.0853902176, -0.2992809415, -0.4083449543, -0.2194625586, 0.2783306837, -1.1659209728, -0.3825008571, -1.2265845537, -0.1250499338, -0.4199682772, -0.0114920875, -0.2367362529, -0.2866417468, -0.1632178277, -0.1439390928, 0.4082939625, 0.6228247881, -0.2136337459, -0.0016461618, -0.6548903584, 0.1138638631, 0.4424528182, 0.2128166258, 0.4023234546, -0.1167737544, -0.2731031179, -0.1833729893, -0.213377431, -0.5389732122, 0.0405524038, 0.2746424377, 0.7596440911, 0.5517004728, 0.2811205685, 0.8956085443, -0.3740976751, 0.292068243, 0.3917477727, -0.5608697534, 0.3412525952, -0.2406789958, 0.3980011344, 0.819827199, 0.5912108421, -0.3473668396, -0.4357559681, -0.4915073216, -0.7542811632, 0.3216187954, 0.1326623857, 0.051643718, -0.3193643391, 0.269841969, 0.0387041643, 0.1732998639, -0.839433372, -0.3425056338, -0.3121491969, -0.151916936, 0.1971983463, -0.2288605571, 0.0880131572, -0.2315390855, 0.5699299574, -0.4031357765, 0.3911639154, 0.2952883542, -0.1822404563, 0.1499868482, 0.1804496944, 0.0279446766, 0.4687897563, -0.2033931762, 0.5354086757, 0.3901490271, -0.4676347673, -0.1627862751, 0.1751236022, -0.1294723451, 0.0653738007, 0.3832707107, 0.2647438645, 0.5553439856, -0.3876238763, 0.6412306428, 0.1580052823, -0.0911320522, -0.2684912384, -0.1355002224, 0.3388033807, 0.5770173073, 0.0956320241, 0.0013393178, 0.2674648166, -0.5418575406, 0.5033174157, 0.6191915274, -0.7272758484, 0.0470315218, 0.6398284435, -0.0883058459, 0.3137800694, 0.8641332388, -0.5768582225, -0.8269093037, 0.5810807347, 0.5282339454, 0.5603190064, 0.0526179709, 0.1354948878, 0.8514821529, 0.1544538587, 0.3892658055, 0.008637608, -0.6205278039, -0.502785027, -0.176828295, -0.336343348, -0.2156484425, -0.3373847008, -0.6536388397, 0.2172155529, -0.3228328526, 0.0392495058, -0.1537947059, 0.1273144633, -0.6053699851, 0.1462383419, -0.1576975584, 0.6194278002, -0.4473076463, 0.9476376772, 0.5579200387, -0.6958513856, -0.7176095247, 0.1468121409, 0.0991958827, -0.8208265305, 0.6406546235, 0.3123562634, -0.2636026144, -0.0470246375, -0.2461959422, -0.750602901, 1.6709005833, 0.007568982, -0.0260486864, 0.0449898615, 0.0083937338, 0.2723537683, -0.4731186032, 0.461833328, 0.042925138, 0.2146234363, 0.6463727355, -0.7012882233, 0.2804926336, -0.1688239127, -0.003195283, 0.5041145682, -0.8259392381, 0.8673957586, -0.7428793311, -0.0778340101, 0.2083443403, 0.7913786769, 0.100176543, 0.5916096568, 0.446626246, 0.8701139688, 0.6950281262, 0.0277095679, 0.6501452923, -0.1173464581, 0.320295006, 1.4119358063, 0.2179147601, 0.6180577874, 0.4710762799, -0.0073047862, 0.5069288015, 0.401027739, -0.0232388992, 0.8956740499, -0.2308265418, -0.5277873278, -0.3178655803, -0.4982650876, -0.5377534628, 0.2931164503, 0.2193348557, -0.6346601844, -0.5234336257, 0.01093804, 0.2232975662, 0.1420200765, -0.4692372978, 1.0096184015, 0.0346070565, -0.433196038, 0.1008501649, -0.3873086274, 0.3689257503, -0.6960519552, -0.3814032078, -0.125455007, 0.2417249531, -0.1662790924, -0.4962662756, 0.0732080787, -0.8321236372, -0.3597181439, 0.1915962398, 0.7138430476, -0.8913996816, -0.1741858274, 0.6847422719, 0.3304695487, 0.0625520796, -0.044925116, -0.4442974329, -0.4958230555, 0.0489041395, 0.1335262209, 0.4911634624, 0.8128504157, 0.1759590358, 0.7933686972, 0.4508959055, -0.4423323572, 0.2596023679, -0.0939125046, 1.2060421705, -0.6187064052, -0.3214727044, -0.6466882229, 0.2995229959, -0.1333050281, 0.0023601989, 0.8879188299, 0.7468084693, 1.2759592533, -0.0412306786, 0.3751793504, -0.1358205974, 0.4725526571, -0.8598831892, 0.615665555, -0.5946834683, -0.0155005679, -0.4967757761, -0.8648557663, -0.0144316573, 0.2036551088, 0.0462409481, 0.1152894422, 0.9060794711, 0.9839447141, -0.3530720472, -0.1949136108, 0.421117276, 0.0499648936, -0.0178709626, 0.6577596664, 0.8629906774, -0.4690054357, 1.1208407879, -0.6891340613, 0.1486562341, -0.038426511, -0.7723083496, -1.1150107384, -0.8078072667, -0.2495693415, -0.6761577129, -0.1558656693, 0.9354201555, 0.5510872602, -0.564991951, 0.3808502257, 0.0819534957, 0.3465123177, -0.080325067, -0.2502301633, 0.5299094915, -0.5012199879, -0.6057754755, 0.1907206327, 0.2741274536, 0.3316736519, 0.0644574016, -0.222123757, -0.2572920918, -0.4909999669, 0.5139274001, 0.0356195085, -0.6934553981, -0.1887033731, -0.1424374729, -0.06410034, 0.1836494505, 0.9992260933, -1.0576738119, 0.9191464782, 0.4476203322, 0.7264381051, 0.6858428717, -0.1621726751, 0.1105430573, -0.7008324265, 0.081462726, 0.0744453222, 0.421495676, 0.4375990033, -0.295463115, 0.6821148396, 0.3959958255, -0.3931916952, -0.1868306845, 0.2587808073, -0.8711019158, -0.1932452917, 0.7951205373, -0.4431031942, -0.0482715368, -0.1918417066, -0.0160092339, 0.3074064255, -0.313785702, 0.6484730244, 0.5460932851, 0.0167688541, -0.3764413297, -0.3352696002, 0.3904196322, 0.176120013, -0.5592268109, -0.1933171451, 0.5050136447, 0.3831584156, 0.24713099, 0.6551715136, -0.3212573826, 0.2420080751, 0.3530203402, -0.0759450719, -0.4424725175, -0.3130437434, 0.1513086855, 0.0851567909, -0.0774604678, -0.2465250641 ]
http://arxiv.org/abs/2407.02855v1
http://arxiv.org/pdf/2407.02855v1
Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks
2024-07-03T07:14:05
2024-07-03T07:14:05
Zhexin Zhang, Junxiao Yang, Pei Ke, Shiyao Cui, Chujie Zheng, Hongning Wang, Minlie Huang
cs.CR
cs.CR, cs.CL, cs.LG
LLMs are known to be vulnerable to jailbreak attacks, even after safety alignment. An important observation is that, while different types of jailbreak attacks can generate significantly different queries, they mostly result in similar responses that are rooted in the same harmful knowledge (e.g., detailed steps to make a bomb). Therefore, we conjecture that directly unlearn the harmful knowledge in the LLM can be a more effective way to defend against jailbreak attacks than the mainstream supervised fine-tuning (SFT) based approaches. Our extensive experiments confirmed our insight and suggested surprising generalizability of our unlearning-based approach: using only 20 raw harmful questions \emph{without} any jailbreak prompt during training, our solution reduced the Attack Success Rate (ASR) in Vicuna-7B on \emph{out-of-distribution} (OOD) harmful questions wrapped with various complex jailbreak prompts from 82.6\% to 7.7\%. This significantly outperforms Llama2-7B-Chat, which is fine-tuned on about 0.1M safety alignment samples but still has an ASR of 21.9\% even under the help of an additional safety system prompt. Further analysis reveals that the generalization ability of our solution stems from the intrinsic relatedness among harmful responses across harmful questions (e.g., response patterns, shared steps and actions, and similarity among their learned representations in the LLM). Our code is available at \url{https://github.com/thu-coai/SafeUnlearning}.
[ -0.2001107484, -0.9468009472, 0.3752814829, 0.028214151, -0.2915818989, 0.4078240395, -0.1550536752, -0.4527274966, -0.0418541729, 0.5255033374, -0.5079364181, -0.6375549436, -0.3366910219, -0.4125780463, -0.2459667921, 1.1648467779, 0.2836619914, -0.0091919433, 0.1989625096, -0.1688152552, -0.7952115536, -0.4132058024, -0.5731375813, 0.0129109444, 0.3942877054, 0.5694178343, 0.2699928582, 0.5078109503, 0.6803734899, 0.2196195126, -0.2768059373, 0.1583867371, -0.6401225924, 0.4064259529, -0.2403228134, -0.5227615237, -0.1631975472, -0.0913617983, -0.0286792144, 0.3542690277, -0.3922945261, -0.0059943907, 0.1756416857, 1.0037893057, -0.7869881392, -0.3209363222, -0.9831546545, 0.055477567, -0.0898758695, -0.1032246128, -0.5780887008, -0.2851510048, -0.2536698282, -0.371124953, 0.1028272286, 0.1352367103, 0.3983231783, 0.3711996377, -0.4147743881, -0.2133426368, -0.6079322696, 0.558326602, -0.4557583034, 0.162399739, 0.2715804875, 0.4625980258, -0.5518701673, -0.3534121513, 0.0646037087, -0.1317186654, 0.2996416688, 0.2399992049, -0.4015536308, 0.3353207409, 0.273978442, 0.0193011854, -0.4397132993, 0.3440553844, -0.5746873617, -0.3340538442, 0.6886166334, 0.1172246486, 0.3538571, -0.0403593034, -0.5819505453, 0.1223973781, -1.0813157558, 0.33734864, 0.5326719284, 0.1539925039, -0.1126880199, 0.402564913, -0.1181175858, 0.4506635964, 0.1339832097, -0.1205514371, 0.0525597297, -0.174164623, -0.0516690835, 0.1187047586, 0.9684069753, 0.6904537082, 0.4401643276, -0.5132929087, 0.1306468695, -0.1548086256, 0.6960558891, -0.6835986972, -0.3141976595, 0.2404542565, -0.2723069489, -0.6986947656, 0.3046291769, -0.7931175828, -0.6688458323, 0.3768724799, 0.1872335672, -0.4679430723, -0.0262040664, -0.0431018881, -0.0032578968, -0.0094439778, 0.0487170406, -0.902109921, 0.1450223178, 0.6403931379, 0.7312971354, -0.1805343628, -0.0052918261, -0.5708939433, 0.2901431918, -0.3600289226, 0.6096650958, -0.0810797587, -0.4731173515, -0.3628168404, -0.1639776975, -0.0528733768, -0.7185944915, 0.4305883348, -0.5078362226, -0.2123557627, -0.0458740667, -0.4847751856, -0.096160844, 0.2786628604, -0.4309828877, 0.4933567643, -0.3710195124, -0.8368076682, 0.1867560893, -0.5527886748, -0.3758406043, -0.307022661, 0.10392759, -0.5279548168, 0.1389838904, 0.2173474431, 0.3676567376, -0.0042382753, 0.4179982543, -0.6173234582, -0.510638833, 0.2902745605, -0.3865358531, 0.82870996, 0.5457626581, -0.5859540105, 0.2423278391, -0.6397396326, 0.1027686819, 0.1089996547, -0.3994568586, -0.6641921401, 0.029623501, -0.575250268, -0.0301751886, 0.1053561419, -0.767180562, 0.0824903101, -0.3664741814, 0.4832204878, 0.8432250619, 0.3118879199, 0.46012941, -0.218571797, 0.2328619957, 0.0952443406, 0.5199256539, -0.0185557548, -0.5737369657, -0.2772208452, -0.0872276798, -0.0976196602, 0.9208880663, -0.2304075509, 0.4229076505, 0.2606057525, -0.5897294879, -0.4093145728, 0.5511995554, 0.8889407516, 0.7561373711, 0.5860473514, -0.3689540327, -0.6895828247, -0.6527866125, -0.5505872965, -0.3633230925, 0.1876617074, -0.0365929604, 0.2070587873, -0.3545919061, 0.6636160016, -0.5488142967, -0.1518905461, -0.2420577407, -0.132658124, 0.0574777387, 0.5890288353, 0.4748958945, -0.5686119795, -0.2861404717, -0.1390874982, -0.9526024461, -0.0673730969, -0.0369414389, -0.1828863472, 0.0557718128, 0.7305855155, -0.4672491848, 0.5321390629, 0.0564524308, -0.350155443, 0.4939316809, -0.2095390409, -0.0718628839, -1.20000422, -0.1983044147, -0.2841814756, -0.0409678668, -0.8176092505, 0.3875269592, 0.2691875398, 0.1141831726, -0.6932418942, 0.1420838088, -0.2421281636, 0.3134986758, -0.1955955476, -0.0964362323, -0.3449495435, 0.303299427, -0.5029850006, 0.8897764683, 0.4065885842, -0.4569375515, 0.3621491194, 0.2121546417, -0.2836057246, 0.2370998859, -0.7329633236, 0.2658626437, -0.1890667379, -0.1095244884, -0.9021133184, 0.008194603, 0.3647334278, -0.3343605697, 0.1876201332, -0.4042371511, -0.105060108, -0.3610044122, -0.7156605721, 0.1039060801, 0.6905747056, -0.5761326551, 0.0498965159, 0.4326827526, 0.0317915529, -1.0644801855, -0.4739986062, -0.0607266016, -0.6928352714, -0.5181323886, -0.0044603362, -0.3704794049, -0.4451141059, -0.2160232216, -0.4783772826, 0.0047061914, 0.6771733165, 0.7113008499, 0.3475305438, 0.1252945513, -0.0862881467, 0.1874428838, -0.1842462569, 0.3398992121, -0.1111960784, 0.5128288269, -0.2604193389, -0.5053101182, -0.1675246209, 0.2251856923, 0.4695389271, 0.0521661751, 0.8094885349, 0.3408715129, -0.1209958047, 0.0235451888, -0.6028115153, -0.0670724139, -0.5268911719, 0.1688550115, 0.0509556942, -1.0164116621, 0.5583587289, -0.1361224055, 0.1446102262, 0.0056563057, 0.2351478636, -0.4972265661, 0.8679042459, 0.6574282646, -0.4998063743, 0.4283404946, -0.101276271, 0.2617149949, -0.6497574449, -0.6698684096, -0.2188935578, -0.3137615323, -0.6499338746, -0.005392089, 0.2238864601, 0.6032159328, -0.6390832067, 0.4484833777, -0.5032039881, 0.7751792073, 0.519510448, 0.4063002169, 0.4514079988, 0.0491421111, -0.3394441307, 0.0792583749, -0.2631255388, -0.4452850223, 1.4665902853, 0.2529710233, 1.0125300884, 0.29391855, 1.2521537542, 0.2204964012, 0.2649929821, -0.4964724779, 0.5535268188, -0.0583536997, -0.6486721039, -0.1341125071, -0.5650664568, -0.9457802176, 0.1479574293, -0.1345143616, -1.1618679762, -0.1899980903, 0.157673344, -0.4609219134, 0.6453470588, -0.9464110732, 0.6116630435, -0.4465160668, -0.3260972798, -0.1638698429, -0.9613879919, 0.6477426887, -0.3626672328, 0.362598151, -0.2085623741, 0.2077017426, 0.8912867308, -0.4584267437, 0.9997154474, -0.4280206263, 0.0901011378, 0.4248311222, 0.0318501107, 0.2852731347, 0.328969121, 0.1188883409, -0.1828468591, -0.2618373632, -0.2037145495, -0.521918714, 0.6635358334, -0.8442009687, -0.9435272217, -0.0517959334, -0.640321672, -0.2326531857, 0.2836224139, 0.4712428153, -0.0344315842, -0.1867358685, 0.1376024336, 1.0826966763, -0.2207490355, 0.5302969217, 0.5089281201, -0.1310509443, -0.4586067796, 0.726713717, -0.0891079679, 0.2082719207, 0.2811984718, 0.2187896818, -0.1732719541, -0.8717905283, -0.2535024881, 0.0404220745, -0.4609719515, -0.6183615923, -0.5706400871, -0.2230377346, -0.2818325758, -0.1832049042, -0.2654926479, -0.3778856099, -0.0514156818, -0.657538712, 0.5829198956, 0.73379004, -0.4295657575, 0.3181550503, -0.9324163795, 0.3317819834, 0.3234199286, 0.1978967488, -0.069857657, -0.3470321298, 0.0338901654, 0.2096156478, -0.662791729, -1.0635586977, 0.143016234, 0.0119967805, 0.6836170554, 0.8380498886, 0.4975998998, 0.7032324672, -0.3891740441, 0.338224709, 0.4932048619, -0.5558029413, 0.8511810899, -0.3854080737, -0.2688343823, 1.0626960993, 0.3747988343, -0.1678081751, -0.6164721251, -0.66209656, -1.0118290186, 0.2161446214, -0.0865306631, 0.1838864088, -0.0130307823, 0.3472934365, 0.0863187239, 0.2434980869, -0.6154453754, -0.367128849, -0.1589093357, -0.1168824434, 0.0792765468, -0.3034526408, -0.2903597653, -0.3359348476, 0.4356907308, 0.2725256383, 0.171970278, -0.2662365139, -0.2304691374, 0.0342950672, 0.6512046456, 0.2998522818, 0.0920246169, -0.5001338124, 0.3047445416, 0.3395412564, -0.8330113888, 0.6198102832, -0.0757863, -0.2470746636, -0.645301342, 0.1422293931, 0.4250839055, 0.2090419531, -0.7672759891, 0.4135623574, -0.0176503416, -0.115438059, -0.1073293835, 0.6257790327, 0.0970772505, 0.2041348517, 0.292354852, 0.2417557389, 0.0037574575, -0.6204196811, 0.3514139652, 0.5297201276, -0.5630694032, -0.1631514281, 0.8596426845, 0.1363114864, -0.185567379, 0.7658832669, -0.1925428212, -0.4840148389, 0.6051350236, 0.811306417, 0.6823214889, -0.284263134, 0.1943163127, 0.1682220399, 0.5249512792, -0.0658740178, 0.2534095049, -0.0418015122, -0.7443419695, -0.0671835989, -0.2614468932, -0.4127370715, 0.132075727, -0.8875638843, -0.2706234753, -0.9049265981, 0.0247540046, -0.4750759304, -0.1222979501, -0.1775073707, 0.034071859, -0.1669199765, 0.9986075163, -0.8110886216, 0.661267817, 0.7645947337, -0.3240657747, -0.9310259223, -0.1350062639, 0.3583993018, -0.8634725213, 0.3045133948, 0.4226314723, -0.1186112911, -0.3377015591, -0.6420022845, -0.6107186675, 1.0420508385, 0.4352244735, -0.8045404553, 0.0561381094, 0.1638299674, 0.3584586978, -0.0106045743, -0.0302044693, 0.6578732133, 0.1614593565, -0.0930895433, -0.5137891173, 0.2097827792, -0.3978504539, -0.3696178198, 0.4526446462, -0.4426278472, 0.3565870821, -0.9740344882, -0.00674963, 0.1427436918, 0.4249565899, 0.4602069557, 0.6275801659, 0.3375888169, 0.8029051423, 0.9667828679, -0.0516694412, 0.5664511323, -0.1900613904, 0.1010161564, 0.9664133787, 0.0120879393, 0.6987600327, 0.5304284692, 0.2016240805, 0.3415855765, 0.4199857116, 0.0553483702, 1.0542706251, 0.3232580423, -0.303886205, -0.1602282673, 0.2346665412, -0.3798216581, 0.2125950754, 0.2845608592, -0.0662558377, -0.3664052188, 0.2446162105, 0.3838244379, 0.1189153865, -0.3959417641, 0.9677558541, 0.1904593706, -0.3165363669, 0.4791262746, -0.1071542948, 1.0302773714, -0.5568934679, 0.3552571237, -0.3825725019, 0.2793673873, -0.4266911447, -0.8555817604, 0.4190379381, 0.4034700096, -0.0397546887, 0.1083523855, 0.9063465595, -0.0943900198, 0.0504894033, 0.5023749471, 0.4650532305, 0.0948158875, 0.0002944793, -0.5270928144, -0.2607843578, 0.2799208164, -0.1873544008, 0.7323727608, -0.0019625186, -0.1906249225, 0.961564362, 0.7333778143, -0.0644248948, 0.3245678842, -0.1307453662, 0.9961585999, -0.670571208, -0.3959730268, -0.9853551984, 0.5453241467, -0.1899113953, -0.0904028937, 0.7809635997, 0.4420555532, 0.8170702457, 0.0719983578, 0.7960677147, 0.0611575022, 0.3276477158, -0.5512271523, 1.0551525354, -0.1338130981, 0.6428744197, -0.4542686343, -0.7246269584, -0.3846887648, 0.4935894012, -0.3758163154, -0.2178656906, 0.5136253238, 0.8011834621, 0.1174175665, 0.1207563728, 0.2492352277, 0.0053994893, 0.4792999625, 0.6989681721, 1.0116465092, -0.1987730861, 0.9125633836, -0.448610872, -0.2374559492, 0.0398228392, -0.7405780554, -1.0888032913, -0.10167934, -0.0364209227, -0.2878502309, 0.646407187, 0.6621050835, 0.2500108778, -0.8524148464, 0.0160702374, -0.2523702681, 0.2615686655, -0.0936623439, -0.1370474696, 0.050395932, -0.3111299574, 0.1143303961, 0.8317224383, 0.0665109977, 0.1498179883, 0.4484956264, -0.0920831338, 0.1266322434, -0.1719279438, 0.3429707289, 0.6310537457, -0.2920386195, -0.4600073993, -0.0137916282, -0.0663262382, -0.0387117229, 0.653824687, -0.6062155962, 0.232806325, 0.16540806, 0.7006063461, 0.1594033092, 0.1204785183, 0.2783893943, -0.7789524794, 0.2144921869, -0.1117316112, 0.4551727176, 0.0698259324, -0.4634564221, 0.6226258278, 0.0881588086, -0.4910979867, -0.8970200419, 0.4748635888, -0.8833037019, -0.43808496, 0.9023968577, -0.2499489784, -0.1286494583, -0.4283871651, -0.2770818472, 0.3266628385, -0.5967243314, 1.0167062283, -0.0206967555, -0.1553746909, 0.0424385779, -0.3176503181, 0.2561430335, 0.2949741483, -0.8960755467, 0.197807312, 0.1834189594, 0.7334238291, 0.1414878517, 0.4357737899, -0.2392230332, 0.4536553919, -0.4034588635, -0.2022653222, -0.5714641809, -0.6032307148, -0.2483234257, 0.3036964536, 0.1101936921, -0.4002033472 ]
http://arxiv.org/abs/2407.02854v1
http://arxiv.org/pdf/2407.02854v1
Universal Gloss-level Representation for Gloss-free Sign Language Translation and Production
2024-07-03T07:12:36
2024-07-03T07:12:36
Eui Jun Hwang, Sukmin Cho, Huije Lee, Youngwoo Yoon, Jong C. Park
cs.CL
cs.CL, cs.CV
Sign language, essential for the deaf and hard-of-hearing, presents unique challenges in translation and production due to its multimodal nature and the inherent ambiguity in mapping sign language motion to spoken language words. Previous methods often rely on gloss annotations, requiring time-intensive labor and specialized expertise in sign language. Gloss-free methods have emerged to address these limitations, but they often depend on external sign language data or dictionaries, failing to completely eliminate the need for gloss annotations. There is a clear demand for a comprehensive approach that can supplant gloss annotations and be utilized for both Sign Language Translation (SLT) and Sign Language Production (SLP). We introduce Universal Gloss-level Representation (UniGloR), a unified and self-supervised solution for both SLT and SLP, trained on multiple datasets including PHOENIX14T, How2Sign, and NIASL2021. Our results demonstrate UniGloR's effectiveness in the translation and production tasks. We further report an encouraging result for the Sign Language Recognition (SLR) on previously unseen data. Our study suggests that self-supervised learning can be made in a unified manner, paving the way for innovative and practical applications in future research.
[ -0.0472786576, 0.1690003872, 0.4200117588, 0.3735048175, -0.3364895582, 0.056770131, -0.0541103594, -0.6774884462, 0.1831308305, 0.6172211766, -0.3206339478, -0.781637609, -0.6475893855, -0.1608201265, -0.4256431758, 1.0185604095, -0.0496289283, 0.1216371134, 0.21283409, -0.241023019, -0.0992371663, -0.5819926858, -0.5232458115, -0.4252764881, 0.1771462411, 0.3428884745, 0.5954707265, 0.2822706699, 0.4046666622, 0.2360988259, 0.0631202981, 0.1056200787, -0.0342147797, 0.2162757665, 0.0138236629, 0.2874201238, -0.6876081824, 0.1149066389, 0.6261041164, 1.1020139456, -0.1612001956, 0.1362204999, -0.01481889, 0.5758509636, -0.473053664, 0.2810188532, -0.4764564037, 0.2943866253, -0.4411087334, 0.22960338, -0.1300501227, 0.0638742149, -0.2294380516, -1.0450907946, 0.2439604253, 0.0005718972, 0.4138972163, 0.3392520547, -0.7536531091, -0.4024416804, -0.9478541613, 0.4481931925, -0.7486996055, 0.5602656007, 0.0429235473, 0.2917349339, -0.1530383527, -0.6000916958, -0.2209928334, -0.3368825912, -0.1860298514, 0.5514441729, 0.1051796228, 0.49602741, 0.0815891251, 0.4886627197, -0.5323988199, 0.223500818, -0.3899313807, -0.4836239219, 0.7522019744, -0.1243901253, 0.3250662982, -0.104358241, -0.5746192932, -0.0757953525, -0.4172255993, -0.162427485, -0.0026615043, 0.7233315706, -0.0092504239, 0.2408980429, -0.2666590214, 0.3567564189, -0.2339985818, 0.0460691079, 0.298612386, -0.024168916, -0.1927197278, -0.0707825422, 1.0562250614, 0.010819287, 0.2580138147, -0.199038893, -0.5735942125, -0.165967226, -0.1332170367, -0.1828275621, -0.1020467728, 0.0561846942, 0.1506936252, 0.1726160049, 0.4262136519, -0.5438246131, -0.5505327582, -0.2540692985, 0.3670037091, 0.0536661819, -0.4824964404, 0.1470996737, 0.0568524599, -0.0230333526, 0.313161701, -1.0056203604, 0.2827329636, 0.3259572387, 0.6814696193, -0.2966221869, -0.0386775695, -0.5090987086, 0.5077069998, -0.5277816653, 0.3026362062, -0.0628963336, -0.3401956856, 0.0645887479, -0.2496865541, 0.0595414303, -0.5626613498, 0.5785196424, -0.2284148186, 0.1710197479, 0.1431089342, -0.4207988679, 0.0937849581, -0.5061068535, -0.6333642006, 0.950443387, 0.3972140551, -0.0467710756, 0.5172333121, -0.9999412298, -0.5641809702, 0.4513076246, -0.3110618889, -0.2532742023, 0.4349593818, 0.2122320384, 0.3296906352, -0.0388336368, 0.1880489737, 0.1583555788, -0.0466687828, -0.1686050147, -0.2990657687, 0.7451579571, 0.2668265998, -0.6062551737, 0.1663309038, -0.9302392006, 0.0509587824, 0.0572467297, -0.2798665762, -0.3218565583, -0.6726557016, 0.2741312981, 0.3919645548, 0.4402827919, -0.8094652891, 0.0636641309, -0.1783351153, -0.0873464197, 0.6809360981, -0.2218123525, 0.3594854474, 0.4983191788, 0.4708102047, 0.1440818012, 0.6225752234, 0.2154940963, -0.5831138492, -0.8782262802, 0.0666206256, 0.200664863, 0.3851429522, -0.3543770611, 0.1971441209, 0.1784657389, -0.0704158768, -0.6252217293, 0.5136548877, 0.7613849044, 0.3258615136, 0.59015733, -0.6623452306, -0.3942009211, -0.7046256065, -0.1668077707, -0.0898021907, -0.3403633237, -0.358839035, 0.1672180742, -0.0326686725, 0.5639276505, -0.2312568128, -1.2000099421, 0.0104746846, 0.4178576767, 0.3230921328, 0.6306438446, 0.2599673569, -0.8444646597, -0.6676189899, 0.2821802795, -0.9152466655, -0.4849313498, -0.4072429538, 0.0920994505, 0.3015477657, 0.7611057162, -0.3198168576, 0.4900529385, 0.7153450847, -0.4785012007, 0.4712176621, -0.4777699113, -0.0934970453, -0.5547465086, 0.1219499782, -0.1005002782, -0.3606536984, -1.0455123186, 0.1312212795, 0.1476643384, -0.22325477, -0.4870607853, 0.3928200305, -0.9988625646, -0.5256344676, -0.2148373276, 0.4623454511, 0.0181142036, 0.4325818121, -0.0020046374, 0.781753242, 0.6994644403, -0.5075797439, 0.3616089225, 0.2157277465, -0.1975084543, 0.3789594173, -0.6231858134, 0.0575120226, -0.0568339266, -0.2149811983, -0.9521784186, -0.2202966958, 0.4569390118, -0.2173942029, 0.5797336102, 0.076178655, -0.4166537523, -0.4605205357, 0.10099224, 0.1052982062, 0.5597919226, -0.5820220709, 0.5144428015, 0.3745354712, 0.1583609283, -0.4876193106, -0.8957862854, 0.1291844994, 0.0202481728, -0.1284319162, 0.1296219081, -0.0846219361, -0.0482634194, -0.429194659, -0.6179546714, -0.0100977998, 0.0596660078, 0.3234835863, -0.0784789175, -0.0280327592, 0.0760035366, 0.0011844513, -0.5884469748, -0.03666858, -0.3156452775, 0.1122316197, -0.1350706816, -0.7836156487, -0.4686797559, 0.5590925217, 0.4836217761, -0.1279980689, 0.3074686825, 0.6827088594, -0.1725464761, -0.1738327146, -0.2465473264, 0.1865065545, -0.545701921, -0.0481754765, -0.222170338, -0.7611592412, 0.4200589359, -0.1402679235, 0.3524909019, 0.5585776567, 0.1961442381, -0.1838557273, 1.0595613718, 0.4349176884, 0.3769635856, 0.3936350346, -0.0666895881, -0.0189053416, -0.9432808757, -0.3664439321, -0.0689159036, -0.0234978329, 0.0073342463, -0.3228460252, 0.4898003042, 0.390611738, -0.1999219358, 0.3873813152, -0.9400974512, 0.3690455556, 0.6009737849, -0.43052122, 0.7430289984, -0.0229483638, -0.2522468865, 0.0175654273, -0.1988415569, -0.4929133356, 0.9574106336, 0.0127787003, 0.6214460731, 0.2466031015, 0.9262302518, 0.4801836908, 0.5790097117, -0.4084126651, 0.610235095, -0.5699322224, -0.6467553377, -0.4609784484, -0.3966799676, -1.0075052977, 0.6463536024, -0.0019451161, -0.6836551428, 0.1445439309, 0.2769523561, 0.0049897176, 0.3035987616, -0.6984164715, 0.8500990272, -0.6026932001, 0.3827259541, 0.2902956903, -0.7752453089, 0.0401563756, -0.1654714793, 0.4079665244, -0.4250102043, -0.0749376565, 0.7719019651, -0.3115136623, 0.9881808758, -0.3653516769, -0.6988729239, 0.1552522779, 0.1421799362, 0.0736082941, -0.1392285973, 0.126175493, 0.298624903, -0.2465789318, -0.3227650523, -0.4864859581, 0.3946948946, -0.6307147145, -0.7318777442, -0.6155695915, -0.6283003688, -0.3407095075, 0.4404398501, 0.1394714564, 0.2036092132, -0.2256805897, -0.3594060838, 0.2855321467, 0.3114780486, 0.4431845844, 0.5900518298, -0.5474472046, -0.4656811357, 0.8158339262, 0.1342394501, 0.6058573127, 0.2004010677, 0.2022970915, -0.4837181568, -0.7223185301, -0.5354019403, 0.3014047444, -0.8127022982, -0.167761445, -0.0614430755, 0.0306701232, -0.6398890018, 0.0480694547, -0.379614234, -0.8490874171, -0.3201648295, -0.1047662571, 0.1656391919, 1.1870830059, -0.7858134508, 0.371219337, -0.4399245679, 0.657658875, 0.5661632419, 0.40772295, -0.2330625653, -0.4006880224, -0.2437826097, 0.1282374263, -0.3324318528, -0.7866466641, 0.1411306858, 0.7577417493, 0.5271241069, 0.4844235182, 0.1967658252, 0.4890623093, -0.2661642432, 0.7356454134, 0.6177644134, -1.1502987146, 0.5338292122, -0.3299407363, 0.391584456, 0.5139312744, 0.3335114717, -0.9068591595, -0.6992179751, -0.5082776546, -1.078507781, 0.5306491256, 0.2988874912, -0.0688620061, 0.210394159, 0.1841608137, 0.1632635891, 0.2326357812, -0.8166670203, -0.4137544632, -0.4397197962, -0.1623539031, -0.1199774966, 0.1969257593, -0.2620444894, -0.2571064532, 0.5704682469, -0.2210382819, -0.113240689, 0.2622005343, -0.2564258277, -0.1899289489, 0.3172115684, 0.3178996444, 0.5674515367, -0.071941331, 0.2278201729, -0.0945633426, -0.4792529047, 0.279347688, -0.0114979977, -0.431684643, 0.3203054667, 0.2700284719, 0.6434223056, 0.0648835674, -0.4511039257, 0.6145364046, 0.3780389726, -0.2743789256, -0.4874451458, -0.0288282894, 0.0395897813, 0.0922184736, 0.6214886904, -0.2150943428, 0.1830821931, -0.3563509583, 0.2330087274, 0.3623430431, -0.6339185834, -0.2359639257, 1.0582327843, 0.1649732441, -0.0947389081, 0.3842622638, -0.3777349591, -0.2876603603, 0.3469920158, 0.6925317049, 0.8151498437, -0.5261670947, 0.6526045203, 0.0867975801, 0.1434539407, 0.0839887783, 0.2632225156, -0.0394090787, -0.5012242794, -0.2592080832, -0.5627138615, -0.6324855089, 0.0182977021, -0.7604672909, -0.4021437466, -0.6239001155, -0.0779037923, -0.2578952312, -0.2908299565, -0.4369073212, 0.2706389129, 0.6988992691, 0.453892082, -1.0281918049, 0.6079154015, 0.7821864486, -0.7808609009, -0.5255712867, -0.22398673, 0.0639184788, -0.8487354517, 0.6193313599, 0.0919894427, -0.3495491147, -0.0290901698, -0.3604682386, -0.9262806177, 0.8990904689, 0.6335458755, -0.4296264052, 0.1003302112, 0.706872642, 0.7474767566, -0.465816468, -0.1441700906, 0.6390374303, 0.5916336179, 0.1972587854, -1.0427618027, 0.167334944, -0.0465510152, 0.1965464205, 0.2683886886, -0.4850523174, 0.5634063482, -0.1576827317, -0.737275064, 0.0194660444, 1.0816770792, 0.169005543, 0.2278614044, 0.4336926043, 0.4334362447, 0.8880794048, -0.2086729705, 0.5026814342, -0.0735084265, 0.4692375958, 0.908490777, -0.127716884, 0.4054710865, 0.4329560399, -0.1812151521, 0.2836735845, 0.2094228566, 0.0866919011, 0.3443259299, 0.2241422236, -0.3715307415, -0.4145979881, -0.2766118944, -0.2587081492, 0.2475451529, 0.4029454887, 0.0656393394, -0.4883049428, 0.2113437653, 0.0081091747, 0.2895243466, -0.5089771152, 0.681979239, 0.4409306943, -0.0989259258, 0.8184627891, -0.4977840781, 0.8441608548, -0.8179951906, 0.0609695874, -0.3234686553, 0.0428287387, -0.3158316016, -0.929125309, 0.2318100184, -0.3451706767, 0.3417976201, -0.5889461637, 0.4735733569, -0.7951402664, -0.4713159502, 0.730476141, 0.505602181, 0.5866581798, -0.0482550673, -0.7065860033, -0.227631852, -0.0000626316, -0.1597952694, 0.2252886593, 0.5164471865, -0.0608270802, 0.5180026889, 0.6183163524, 0.2511420548, 0.4107159972, 0.7284290791, 0.5733889341, -0.6384475827, -0.3435838223, -0.0425644368, 0.5760516524, -0.1222469062, -0.5293797255, 0.7397162914, 0.4006991684, 0.8058103919, -0.177956, 0.7962626815, -0.0628165752, 0.1906515062, -0.4837937057, 0.5918052197, -0.8817228675, -0.1473663747, -0.5066613555, -0.933727324, -0.966291368, 0.4445831478, 0.1505606174, 0.0183386225, 0.6180116534, 0.3391183913, -0.0869634449, -0.2506509423, 0.729696095, -0.0187999662, 0.3633749187, 0.680990696, 0.3309140503, -0.5525525212, 0.8108752966, -0.1588047147, -0.2855525613, 0.0336028077, -0.7711523771, -0.4980646372, -0.9051778316, -0.4002889097, 0.0209893174, -0.1789137423, 0.629661262, 0.5864487886, -1.1262099743, -0.5322147608, -0.0607976094, -0.151826188, -0.4802176356, -0.1017985195, 0.5029717088, -0.4496766925, -0.6367039084, 0.8570476174, 0.278387785, 0.455857873, -0.3814891875, -0.1940249801, 0.0618690811, -0.2609971166, 0.4714183211, 0.8587751389, -0.6897486448, -0.2699417174, -0.5562953353, -0.0986460596, 0.2787453234, 0.7660134435, -0.4332990348, 0.4695407152, 0.119095251, 0.0885626972, 0.5285525918, -0.007805964, 0.5132086277, -1.1411733627, 0.1922027022, 0.1326136589, 0.4081977606, 0.7078484893, -0.305657655, 0.7369134426, 0.1690757126, -0.3294815719, -0.4333261251, 0.66270715, -1.0384212732, -0.1615512073, 0.9762964249, -0.0668805018, -0.051618591, -0.5513923764, 0.0048493091, 0.4745074213, -0.5380365252, 0.409058243, 0.1359596699, -0.3777759075, -0.12105795, -0.3897973895, 0.5583692789, 0.3955104351, -0.5782964826, 0.4821591675, 0.4907951951, -0.0470473319, 0.6379119754, 0.8851950169, -0.2991957068, 0.0815124065, -0.1418114603, 0.6828271151, -0.2967959046, -0.4680507779, -0.474714458, 0.2179612368, 0.216724515, -0.1750465035 ]
http://arxiv.org/abs/2407.02842v1
http://arxiv.org/pdf/2407.02842v1
MindBench: A Comprehensive Benchmark for Mind Map Structure Recognition and Analysis
2024-07-03T06:39:18
2024-07-03T06:39:18
Lei Chen, Feng Yan, Yujie Zhong, Shaoxiang Chen, Zequn Jie, Lin Ma
cs.CV
cs.CV, cs.AI, cs.CL
Multimodal Large Language Models (MLLM) have made significant progress in the field of document analysis. Despite this, existing benchmarks typically focus only on extracting text and simple layout information, neglecting the complex interactions between elements in structured documents such as mind maps and flowcharts. To address this issue, we introduce the new benchmark named MindBench, which not only includes meticulously constructed bilingual authentic or synthetic images, detailed annotations, evaluation metrics and baseline models, but also specifically designs five types of structured understanding and parsing tasks. These tasks include full parsing, partial parsing, position-related parsing, structured Visual Question Answering (VQA), and position-related VQA, covering key areas such as text recognition, spatial awareness, relationship discernment, and structured parsing. Extensive experimental results demonstrate the substantial potential and significant room for improvement in current models' ability to handle structured document information. We anticipate that the launch of MindBench will significantly advance research and application development in structured document analysis technology. MindBench is available at: https://miasanlei.github.io/MindBench.github.io/.
[ -0.5475851893, -0.7797528505, 0.7450299859, 0.289729327, -0.3034908772, -0.0122680925, -0.2581619024, -0.5421453714, -0.0051101269, 0.4096449912, -0.5201256871, -0.8697575927, -0.4045014083, -0.1411605328, -0.5108950734, 0.7609097362, -0.3340542912, 0.0452823229, -0.4111489952, -0.2836765349, -0.2969719172, -0.5670190454, -0.4805114269, -0.5532721877, 0.4866370559, -0.0236770995, 0.4346731603, 0.4726394117, 0.7524924278, 0.4089336991, 0.1111751646, -0.0576886013, -0.1759494394, 0.3998472095, -0.2791925371, -0.3552554846, -0.7724956274, 0.2838042676, 0.7945052385, 0.768016398, -0.2329640388, 0.220076099, -0.0248672422, 0.7502954006, -0.6046913862, 0.5394758582, -0.400395155, 0.1699954271, -0.4482153654, -0.0460986868, -0.2382352501, -0.2626752257, -0.0201440118, -0.4576774538, 0.3445534408, 0.3366318941, 0.8031869531, 0.3818671405, -0.2041826695, -0.0051680836, -0.202496171, 0.4922425449, -0.3672761619, 0.7455525994, 0.3587708175, 0.6989756227, -0.3950555921, -0.9198870063, -0.7920619845, 0.1693391949, 0.109290041, 0.2801742852, 0.1298720986, 0.0871906728, 0.4947985411, 0.4911524951, -0.7964356542, -0.3389541209, -0.0200663172, -0.1962342709, 0.3067771196, 0.1338094771, 0.3069063723, -0.1898416728, -0.3321288526, -0.4788787365, -0.1296288669, 0.1373378485, 0.0561856702, 0.0068119983, -0.1794517338, 0.4079613984, -0.2569683194, 0.8549076915, -0.1388677359, 0.0252806451, 0.5155005455, -0.0608186051, -0.5674749613, -0.0590669177, 0.6666162014, 0.5991889238, 0.4051624238, -0.3087899983, -0.1102076247, 0.115285635, 0.3242580295, -0.8833525777, -0.4425940216, 0.4406252801, -0.6089330912, -0.0383245125, -0.033840023, -0.7978287339, -0.6659527421, -0.3279022276, -0.1092065945, -0.4966549277, -0.2053834945, 0.1478597373, -0.4891713262, 0.6479898691, 0.5088157058, -0.6408496499, 0.441973418, 0.8942405581, 0.9275076389, -0.2406432182, -0.3794992864, -0.4540358782, 0.0562827326, -0.4151149392, 1.1714019775, -0.4639199972, -0.4303265512, -0.5430546403, -0.0276418179, -0.1779472232, -0.542773664, 0.8026220798, -0.4060989022, 0.2210900038, -0.4320230186, -0.5505723357, -0.3381233513, 0.8518738747, -0.860242784, 1.1258730888, 0.3277897239, -0.6966429353, 0.3927635252, -0.5799556971, -0.1702237427, 0.1290794909, -0.5334812999, -0.1172725707, 0.084857069, 0.110217154, 0.4189409912, -0.386603415, 0.4248523712, -0.3887898922, -0.283729136, 0.3597650528, -0.0892888457, 0.6505621076, 0.0986487716, -0.1806286424, 0.4236854613, -1.1430952549, 0.5515803695, 0.1547605693, -0.5004934669, -0.3142623603, 0.2851200402, 0.4986435771, 0.5932710171, 0.2317679822, -0.7541812062, 0.0824556649, -0.3100072742, -0.0102418792, 0.5700960159, -0.2043965161, 0.0403511934, -0.0743274912, 0.4194329977, 0.0452304333, -0.1817745566, -0.1745850742, -0.2910183966, -0.7665301561, -0.4625552595, 0.2903744578, 0.389583081, -0.3860693574, 0.396263659, -0.5973985195, -0.51516366, -0.5932251215, 0.1758107096, 0.5039104819, 0.7416990399, 0.4656179845, -0.5888696313, -0.6201553941, -1.1402747631, -0.3795995712, -0.0061463849, -0.168082431, -0.1579070687, 0.4504978657, -0.0905354246, 0.8956558108, -0.4970864356, -0.3378019631, -0.2349025309, 0.2448134571, 0.229620114, 0.4343488514, 0.5634267926, -0.9698953629, -0.4745645821, 0.0694866553, -0.8477889299, 0.0851543248, 0.2637512088, -0.3415374458, -0.1423977613, 0.5848119259, -0.7085850239, 0.2696840167, 0.5488396883, -0.3095862567, 0.295180738, 0.0492390543, 0.0659227073, -0.9582460523, 0.400747031, -0.2020182312, -0.471311003, -0.4661036134, 0.491655618, 0.6795237064, -0.3199244738, -0.1999826431, 0.5320137143, -0.4520964324, -0.307693392, -0.2183958292, 0.1722030491, 0.1747742742, 0.794203043, -0.0819396824, 0.743473053, 0.2030045837, 0.0496211722, 0.2663728893, 0.1156393141, -0.6708620191, 0.9508060217, -0.5266655684, 0.4157360494, -0.1861169636, 0.4255449474, -1.0636268854, -0.2372625321, 0.2713726759, -0.1775603145, 0.2829545736, 0.2289329171, -0.6869752407, -0.4860884845, -0.4044938087, 0.0114270337, 0.0367537364, -0.2802077532, 1.0375512838, 0.435739398, 0.0772403777, -0.3912044168, -0.5951980352, 0.1318134367, 0.1527229995, -0.5061098337, 0.396194607, -0.3109437823, -0.2441288829, 0.056880977, -0.376666218, -0.3064783514, 0.2708366811, 0.6042634845, 0.1421167552, -0.2383364737, 0.0183583535, -0.2269605994, -0.1990606338, 0.0479363315, -0.1995246708, 0.5730625391, -0.5399178863, -0.1863027364, 0.010084467, 0.4370028079, 0.7510512471, -0.7119739056, 0.5445486307, 0.6260261536, -0.5020682812, -0.2089930326, -0.6375815272, 0.5130224824, -0.4857438505, 0.3513931334, -0.830063343, -0.5670953989, 0.3727786243, -0.0911737084, 0.1669223756, 0.3208835125, 0.5733300447, -0.3827393055, 0.6917309761, 0.7141555548, -0.2955481112, 0.2940102518, 0.0227868296, -0.0848382339, -0.9543218613, -0.0904035866, -0.4586376548, -0.6179397702, -0.125187099, -0.7144519687, 0.0896597728, -0.1205573753, 0.0872436762, 0.2060784549, -0.3553069532, 0.6253454089, 0.390104413, -0.1786694825, 0.2311867625, -0.1900422722, -0.6727803946, -0.0056211655, -0.0787331238, -0.4013801515, 1.2219356298, 0.0623109639, 0.4308030903, -0.1117535681, 0.5044471622, 0.0460920967, 0.6090852618, -0.8753214478, 0.8581981659, 0.0327643529, -0.6645659804, -0.0134451045, -0.1312903911, -0.8063702583, 0.807551682, 0.0605980866, -0.7322576642, 0.1863150597, 0.0806992725, -0.0508366339, 0.1811877936, -0.6814197302, 1.1210664511, -0.3745318949, -0.2791777551, -0.3006681204, -0.6027721763, 0.0678449646, -0.273416847, 0.2249450088, -0.4133259952, -0.0100189587, 0.602845788, 0.1112792939, 0.3762716651, -0.2793477178, -0.0938217714, -0.0692899451, 0.133161068, 0.3023441434, -0.6748303771, -0.3685866892, 0.1235159934, 0.0372548848, -0.2978931963, -0.8300779462, 0.5915408134, -0.4991408587, -0.4727083743, -0.2145925313, -0.8951471448, -0.3796278238, 0.6090402007, -0.224864319, 0.3539421856, -0.4984820783, 0.4622391462, 0.3739395738, 0.0783657432, 0.207949847, 0.7467663884, -0.3913557827, -0.1854343563, 0.7738128304, 0.1186654344, -0.2831169963, 0.6039215326, -0.1020838171, -0.1584818363, -0.712690115, -0.1832147241, 0.0445184894, -0.9667198062, 0.1277230084, -0.7775967121, -0.1471720487, -0.1329782158, 0.0904471353, -0.3043197095, -0.3700093925, 0.2547523975, -0.297921747, -0.3422173858, 0.288284868, 0.5145475864, 0.13411358, -0.5065701604, 0.5762591958, 0.1624906361, 0.6104799509, -0.0894930065, 0.2368590534, -0.3492067754, -0.4540496171, -0.54715693, -0.845659852, 0.1178872138, 0.0918876454, 0.7801195383, 0.3405694366, -0.2884152234, 0.7386325002, -0.6659107208, 0.1840316206, -0.0683899075, -0.7842942476, 0.5743255019, -0.4611345828, 0.5466852188, 0.7250870466, 0.1737572402, -0.7114537358, -0.3791561425, -0.3963930011, -0.6121827364, 0.4492679834, 0.0951584876, -0.4498448074, 0.1118615493, 0.1606566012, -0.1510936618, 0.4813825488, -0.612113893, 0.1469938904, -0.3483967781, -0.7449786663, -0.2773113251, 0.0074007125, -0.2789454758, -0.2384601682, 0.0940604582, -0.3993332684, 0.06343133, 0.3199604452, -0.471096009, -0.170862332, 0.4759866297, 0.3276182711, 0.7014487982, -0.6299000978, 0.3774623871, -0.0370970964, -0.5338004827, 0.026992999, 0.4002593458, 0.0656751543, -0.2920919657, 0.4294259846, 0.6102512479, 0.493039161, -0.9787836075, 0.283393234, -0.1700178832, -0.1485497355, -0.2034296691, 0.3309503198, 0.2062056214, 0.450776875, 0.1867293864, 0.0059349462, 0.2922716737, -0.4025959373, 0.0284260493, 0.5147268772, -0.2823895812, -0.2574153841, 0.6115221977, 0.1676782817, -0.1371548623, 0.6020988226, 0.0487443171, -0.4042819738, 0.580483675, 0.3027716279, 0.9374880791, -0.0796378404, -0.1369386911, 0.1413916498, 0.4752674699, 0.1164261475, 0.5640561581, -0.5044006705, -0.8413280845, 0.131244421, -0.8232600093, -0.7182737589, -0.0030688988, -0.7043811679, -0.0864224136, -0.651043117, -0.369107753, 0.1745536625, 0.1752908379, -1.0016021729, 0.3143423498, 0.3410511017, 1.121090889, -0.3680833876, 1.1251107454, 0.9376336932, -0.193741858, -0.4539568424, -0.0373458713, 0.4334143698, -0.7039738894, 0.5203589201, 0.5074319243, -0.2621596754, 0.092779085, -0.3164400756, -0.7392933965, 1.1555734873, 0.1866445541, -0.6125049591, -0.2801505923, -0.2132786065, 0.7350477576, -0.2550910711, 0.139337033, 0.7250872254, 0.6466917992, -0.4497976899, -0.5681332946, 0.1383205056, -0.7142660022, 0.0101881111, 0.2180558294, -0.6169796586, 0.9243503809, 0.3140562177, -0.506986618, -0.0992180035, 0.5291657448, 0.1551466733, 0.1032446399, 0.6482188702, 0.885624826, 0.9001653194, -0.0762171447, 1.3505866528, -0.3764021993, 0.0864899382, 1.5823227167, -0.6426188946, 1.2102711201, 0.3603444695, -0.3184717596, 0.895180881, 0.4932581484, -0.2297512293, 0.2164790332, 0.0507446453, 0.3188586533, -0.1796985269, 0.0598966852, -0.2958655655, 0.4203042686, 0.5863802433, -0.2763746381, -0.468668133, -0.1758695543, -0.1648838818, -0.0988293588, 0.0303351823, 0.4434966743, 0.0218328312, -0.7396090627, 0.3138216138, 0.0832915977, 0.2810615897, -1.0059351921, 0.2542092502, -0.084361352, 0.4407049716, -0.0389258452, -0.8493514657, 0.1050227806, -0.0518634953, -0.3932070732, -0.3418189883, 0.8860464692, -0.3826093972, -0.4100903869, 0.62388134, 0.6267798543, 0.1790885031, -0.4536500871, -0.8228964806, 0.2456127852, -0.3986755908, -0.5073715448, 0.3878268301, 0.3068604767, -0.1692749262, 0.6135463715, 0.7108308077, -0.0524938554, -0.0333271734, 0.3351947069, 0.9995114803, -0.9032760859, -0.6321465373, -0.7499046326, 0.3560772836, -0.3745740354, -0.1955567896, 0.9620945454, 0.7703829408, 0.7564659119, 0.0066082808, 0.4914490879, 0.1494801939, 0.4480888546, -0.2819136679, 0.968172729, -0.7299540043, -0.470133096, -0.5743170977, -1.0399754047, -0.2154604495, 0.583792448, -0.3221766651, -0.2576647699, 1.0847600698, 0.674320817, -0.1909867674, 0.0706023946, 0.346221298, 0.1700875908, 0.48966676, 0.4852156639, 0.6574715376, -0.0764341354, 0.4129582345, -0.1243023574, -0.189627856, 0.0652427822, -0.6341451406, -1.0715703964, -0.6068401933, -0.0606479272, 0.15858908, -0.1978419423, 0.7469216585, 0.7985033393, -0.7989029884, -0.4040186703, -0.0137456777, 0.0531976856, -0.3850950301, -0.2236564457, 0.3611204326, -0.2449024171, -0.5510438085, 0.602145493, 0.7524555326, 0.1735039502, -0.2471804619, 0.2220200896, -0.2705510259, -0.0773755759, 0.5818141699, 0.1708253622, -0.7356442809, -0.0599902011, -0.236639142, -0.3276895285, 0.257196933, 1.0377225876, -0.7313665152, 0.769347012, 0.5997246504, 0.7741793394, 0.6337623596, 0.1398151964, 0.4919864237, -0.6729214191, 0.4163484275, -0.0862964094, 0.6193881035, 0.5240405798, -0.0803058296, 0.8003887534, 0.1744631231, -0.075813815, -0.6300681233, -0.0378008373, -1.1419299841, -0.3829390109, 0.4107839763, -0.321103096, -0.5531886816, -0.2159800082, -0.3348039687, 0.2009518296, -0.0642113164, 0.5260717869, 1.2476280928, -0.0207774788, -0.3227938712, -0.6742751598, 0.1654526293, 0.4432638586, -1.193380475, 0.036358811, 0.6788951755, 0.2394147664, 0.1711958647, 1.0206615925, -0.1904243529, 0.2605648935, 0.0102250995, 0.3258705139, -0.1147186533, -0.4488340616, -0.0955429226, 0.5897228718, -0.0613225549, -0.0859926641 ]
http://arxiv.org/abs/2407.02837v1
http://arxiv.org/pdf/2407.02837v1
Comparing Feature-based and Context-aware Approaches to PII Generalization Level Prediction
2024-07-03T06:32:03
2024-07-03T06:32:03
Kailin Zhang, Xinying Qiu
cs.CL
cs.CL
Protecting Personal Identifiable Information (PII) in text data is crucial for privacy, but current PII generalization methods face challenges such as uneven data distributions and limited context awareness. To address these issues, we propose two approaches: a feature-based method using machine learning to improve performance on structured inputs, and a novel context-aware framework that considers the broader context and semantic relationships between the original text and generalized candidates. The context-aware approach employs Multilingual-BERT for text representation, functional transformations, and mean squared error scoring to evaluate candidates. Experiments on the WikiReplace dataset demonstrate the effectiveness of both methods, with the context-aware approach outperforming the feature-based one across different scales. This work contributes to advancing PII generalization techniques by highlighting the importance of feature selection, ensemble learning, and incorporating contextual information for better privacy protection in text anonymization.
[ -0.3716889322, -0.6496351957, 0.4006261826, 0.2229042947, 0.071672231, 0.0410103872, -0.2200415134, -0.6687017679, 0.0325975977, 0.3697026074, -0.3938963413, -0.5843371749, -0.6139220595, 0.0328638218, -0.3144236803, 1.0175737143, 0.2606536746, 0.0288322605, -0.2816834152, 0.021509612, -0.5918970108, -0.9740028381, -0.4841521084, -0.1374842376, 0.6151560545, 0.1513262689, 0.246823445, 0.6437013745, 0.5580926538, 0.2206047028, -0.0440623388, -0.1602675021, -0.238827154, 0.3301413953, -0.2465992421, -0.1655867398, -0.3248597383, -0.1386491954, 0.5185869336, 0.5911995173, 0.3074442446, -0.0413164608, -0.047471866, 0.5336885452, -1.0795050859, 0.0984314606, -0.6589264274, 0.2131609172, -0.1324505955, -0.1470215321, -0.3783378005, -0.0175140407, 0.502615571, -0.4215653539, 0.4098651111, 0.1028347611, 0.6120815873, 0.0593316704, -0.4649241865, -0.4088619947, -0.6987775564, 0.7618854642, -0.2214804441, 0.3920468092, 0.7907502055, 0.1978143305, -0.0359122269, -0.4847181439, -0.2351201326, 0.025872102, -0.4267014861, 0.0300986115, -0.0330015644, -0.0541182421, 0.1167888939, 0.2733353078, -0.6229237914, 0.2761542499, -0.3490792513, -0.3694547117, 0.866330862, -0.2836063206, -0.009249825, -0.0185900796, -0.4378860891, -0.3169186413, -0.5502468348, 0.4078772366, 0.3321863711, 0.3872267008, -0.1004311293, 0.2205591798, -0.3210258782, 0.4309038818, 0.2254996598, -0.1715277284, 0.3876696229, -0.2813009322, -0.2083272636, 0.2335468084, 0.7758032084, 0.2926300466, 0.1932124794, -0.3200965226, 0.0460682437, -0.135663569, 0.0985561013, -0.8149136305, -0.1858053952, 0.3210654557, -0.4747541845, -0.3340219557, 0.7065829039, -0.8720927835, -0.4427659214, -0.129102245, 0.0981220379, -0.5317400098, 0.0290518142, -0.4813761413, -0.1739993095, 0.0071206079, 0.4210565388, -1.2083197832, 0.0894864574, 0.9564106464, 0.7196737528, -0.3006723225, -0.1900791079, -0.4001825452, 0.5470218658, -0.2157075256, 0.4457454085, -0.8840955496, -0.6071100831, -0.0247973818, -0.0011059063, -0.3755644262, -0.4524921477, 0.4680279791, -0.2650024593, 0.6567249298, -0.0345290974, -0.6049278378, -0.2983531952, 0.1837381423, -0.6005212069, 0.8345651031, 0.0171123315, -1.0969775915, 0.6686134338, -0.9917225838, -0.594595015, -0.0061219274, -0.2727841139, -0.8096214533, 0.335898608, 0.2776069045, 0.8931904435, 0.316034466, 0.4322957695, -0.476601392, -0.4360955954, 0.3346090615, -0.3767228425, 0.2961686254, 0.2614600658, -0.355746001, 0.2018762529, -0.7809998393, -0.0207130332, -0.3115680516, -0.0852872729, -0.4845163524, 0.121202819, -0.0092064338, -0.2907497585, 0.4475718737, -0.6199914813, -0.1678986102, -0.3588625789, 0.4033747911, 0.5852638483, 0.0810532048, 0.6780117154, -0.1139456928, 0.0725876242, 0.1705075502, 0.074104853, -0.4155571461, -0.764983058, -0.0372219495, -0.5339751244, 0.5827425718, 0.9817806482, -0.2604184747, 0.7358234525, -0.2715440392, -0.2583662868, 0.0671250895, -0.0855778754, 0.5506569147, 0.4879517853, 0.2378130853, -0.3452895582, -0.3966612518, -0.9159759879, -0.5181251764, -0.2725435495, -0.5184102654, 0.560012579, 0.2620639205, -0.5269358754, 1.074426651, -0.3589226007, -0.3271457851, -0.0231113769, 0.161095798, -0.0662439764, 0.8094053268, 0.6839340925, -1.3957006931, -0.6109614968, 0.4478743076, -0.6051495075, 0.1483993381, 0.1010966673, 0.047282815, 0.1236808673, -0.0042867344, 0.1383909285, 0.883910656, 0.4257448018, -0.59216398, -0.141115278, -0.3364907503, 0.4866738319, -1.0061535835, 0.2865945697, 0.1247492358, -0.2965283692, -1.1823996305, -0.3100452423, 0.3020991087, -0.2857002914, -0.2930952311, 0.6052401662, -0.1826036572, -0.191437304, -0.1311465353, -0.5147010684, -0.0853888094, 0.3626849353, 0.0530209318, 0.9453058243, 0.5469676852, -0.7158996463, -0.146231845, 0.1263153553, -0.1502395421, 0.3608325422, -0.4229025841, 0.1356037259, -0.1615319699, 0.0858791992, -0.6806327701, -0.7468039989, 0.2742575407, -0.7835764885, 0.503158927, 0.1615359187, -0.1723019779, 0.0631617382, -0.4787758589, 0.4725599885, 0.2791932821, -0.3303970098, 0.6091141105, 0.4611599743, -0.3183781505, -0.6219103336, -0.8049173951, 0.0528066941, -0.573115468, -0.5312029123, 0.6402820945, 0.0326923504, -0.0247719921, -0.1103370786, 0.1229259595, -0.6590735316, 0.5074786544, 0.518604517, -0.020628687, 0.2174835652, 0.1873294264, 0.2888550758, -0.2333655059, -0.2668254972, -0.1599633098, 0.2836633921, -0.1762472838, -0.0045498293, -0.7174577713, 0.751460731, 0.2891029418, -0.2336352766, 0.8182485104, 0.715139389, -0.4600937963, 0.2286994308, -0.5780825615, -0.036280904, -0.3738402128, 0.3478736579, -0.5108546615, -1.2389017344, 0.438433826, -0.1647417843, -0.0603458583, 0.2805939615, 0.4632547498, -0.2101550847, 0.9556497335, 1.1632456779, -0.3497954011, 0.7913191319, -0.0779257789, 0.4686979353, -0.6720184088, -0.3391400874, -0.4773735702, -0.297812283, -0.8575049043, -0.1162712052, 0.4805384874, 0.28723827, -0.1090501249, 0.3611762822, -0.6693481207, 0.2701712847, 0.689653635, 0.2204917818, 0.1851605475, 0.3770295382, 0.1828252673, -0.0306475312, -0.3833791316, -0.5475575328, 1.3442310095, 0.5293235779, 0.1588495821, 0.086308077, 0.8196289539, 0.5157176256, 0.3058837354, -0.289383024, 0.2142477781, -0.4528054893, -0.5072227716, -0.6552930474, -0.4768516719, -1.0181747675, 0.3739103675, -0.5094173551, -1.3015723228, 0.4998620749, 0.2283898145, -0.1458488554, 0.0439419597, -1.0240141153, 0.7979177833, -0.1245263889, -0.2984563112, 0.0413550138, -0.7179945111, 0.1486167014, -0.2070214599, 0.3716625869, -0.075559862, -0.2760231197, 0.5100500584, -0.1191488802, 0.7818434834, -0.2340302169, 0.1716933399, -0.046149049, -0.4226574004, 0.195630759, 0.3943658471, -0.2992829978, 0.3342615366, 0.0622453839, -0.3551013172, -0.7219702005, 0.7165478468, -0.6312433481, -0.5156361461, -0.2036433369, -0.4248624444, -0.3356642723, 0.1608512402, 0.7010914087, 0.1895824522, -0.3367983699, 0.4611957967, 0.8349975348, -0.0435759798, 0.7325583696, -0.0709836408, 0.1661455184, -0.6932960749, 0.9103355408, -0.0270719975, -0.2758673728, 0.8279402256, 0.4402881563, -0.2727967501, -0.4569238424, -0.3107115626, -0.1548429728, -0.3519712985, -0.1119298115, -0.6594648957, -0.165028125, -0.6729806066, -0.2022140771, 0.0383122899, -0.3929124475, -0.1862875372, 0.1652534455, 0.0825133473, 0.4538080394, 0.1150364503, 0.1781784892, -0.5040382743, 0.0354645103, 0.2257925421, 0.3870132267, -0.2383096814, -0.0360487103, -0.1532817036, -0.0522409901, -0.1768966168, -0.8295952082, 0.3236649632, 0.4649554491, 0.5250996947, 0.5844320655, 0.0784842223, 0.3583675921, -0.6216562986, 0.5668286681, 0.348428607, -0.8929665685, 0.9198522568, -0.0984216183, -0.0062425067, 0.742120862, 0.399027884, -0.3382166326, -0.2266284376, -0.6193359494, -0.6451276541, 0.3078219295, 0.4407271147, 0.1218918785, 0.1405082941, 0.4931061268, 0.325378567, 0.6077677608, -0.7499254346, -0.0191630367, -0.2968685031, -0.4075967968, -0.114049539, -0.2754020095, 0.0069436175, -0.1596387774, 0.2781449258, -0.2743942738, 0.3863255084, 0.4587617218, 0.1106825471, 0.3186848164, 0.3662803173, 0.7864965796, 0.7334046364, -0.0850504041, -0.0800195783, 0.1367061287, -0.664298594, 0.0363231525, -0.0368676037, -0.4525194764, 0.1300718784, 0.4759387076, 0.961025238, 0.0880292803, -0.4776861072, 0.8584489822, -0.1523261666, -0.2152169496, -0.3792587519, 0.4098978341, -0.4179321527, 0.1425841302, 0.409009099, 0.0460396633, 0.4328208566, -0.5781767964, 0.1604087055, 0.3245477974, -0.3701639771, -0.2362091243, 0.4285419285, 0.1667929441, -0.4414931834, 0.1123378873, 0.0817713365, -0.3561884165, 0.5547560453, 0.1397712976, 0.9911628366, -0.5584051013, -0.0471193343, 0.3309693635, -0.2156977504, 0.127368629, 0.0631453916, -0.4280330241, -0.5657735467, -0.0481514893, -0.288000524, -0.4873821437, 0.0073560979, -0.7585670948, 0.0102311671, -0.8206990361, -0.1747677177, -0.0939294323, 0.0103742974, -0.6268321872, 0.4153278768, 0.0221015159, 0.5547115803, -0.6614971161, 0.8596976399, 0.827570796, 0.1523850411, -0.1943056881, 0.4061333239, -0.1468441486, -0.2677308917, 0.4658511579, 0.6653347015, 0.1971297562, -0.4441590905, -0.3272812068, -0.811365068, 1.2686351538, 0.0102698384, -0.6415556073, 0.1856141686, 0.1935621351, 0.516464591, -0.8660641313, -0.0142661752, 0.427003026, 0.3672701418, 0.0702744499, -0.8521878123, -0.204337582, -0.0515930392, 0.5715162754, -0.0783097371, -0.2707945406, 0.566213429, 0.1089085788, -0.3438346386, 0.0630341023, 0.8077245355, 0.1899428517, 0.9900146127, 0.4347838163, 0.2907648087, 1.0856087208, -0.0693987682, 0.9686002731, -0.4129315317, 0.3343437612, 0.9612551332, -0.2409761846, 1.0534760952, 0.2093349546, 0.0772456378, 0.4994754195, 0.653875649, -0.062542595, 0.7794244289, -0.0014183878, -0.4705474675, 0.2190902531, 0.116353564, -0.2995816469, 0.5321397781, 0.4375551939, -0.4468931854, 0.2141181231, 0.3002000749, -0.1871579885, 0.2900384665, -0.3290395439, 1.1926218271, -0.4046379626, -0.4011334479, 0.2114990205, 0.3231461644, 0.9111206532, -0.3014336526, 0.2083931565, -0.0183765776, 0.099251762, -0.2180698514, -0.5707418919, 0.381986469, 0.2104094774, -0.7293897271, -0.19984366, 0.9233118296, -0.3755121231, -0.4787242413, 0.1528717726, 0.1596736312, 0.013262568, -0.1576129049, -0.5841310024, -0.1069124341, -0.0552488491, -0.0471797101, 0.6474308968, 0.4492279291, -0.3761748075, 0.5280796885, 0.4605248272, -0.2260511816, -0.0558492355, -0.1471257806, 0.7062193751, -0.6524419188, -0.9973253608, -0.7319422364, 0.476308465, -0.5576777458, -0.3710442185, 0.3526254296, 0.5854148865, 1.0695816278, -0.0013179369, 0.8946965337, 0.0004536738, 0.8920605183, -0.4315324724, 0.6334111094, -0.0399959609, 0.2731621563, -0.2571060359, -0.8789513707, -0.4766054749, 0.6377464533, -0.5058249831, 0.1212888286, 0.469006598, 0.5551706553, -0.0088756373, -0.0158464797, 0.6033836603, -0.3102560937, 0.2168694437, 0.4840475321, 0.3734323382, -0.4376546443, 0.0246302076, -0.5239760876, -0.5791403651, -0.1132299304, -0.9195036888, -1.0353243351, -0.6237450838, -0.3662402928, 0.3207884133, 0.1258427948, 0.3025562167, 0.9881666303, -1.1485618353, -0.0996467695, -0.0653354302, 0.1375322193, -0.0246385597, -0.2270019054, 0.37694484, -0.2851657867, -0.75910151, 0.3837495744, 0.4995445907, 0.2337233573, -0.0348883756, -0.0143834716, 0.0605820157, -0.2294211686, 0.4864495993, 0.3652566671, -0.7930822968, -0.3403223157, -0.291110754, 0.0377654545, -0.0477574952, 1.0138400793, -0.6668165326, 0.3555070758, 0.570713222, 0.8356049061, 0.2192883044, 0.4271115661, 0.6094506979, -0.8710854053, 0.4141590595, 0.1702205986, 0.1985964477, 0.2254537493, -0.9794701934, 0.545143187, 0.1882121116, -0.3695401251, -0.6012015343, 0.2027430534, -0.6217894554, -0.548197329, 0.5359411836, -0.5672391653, -0.2535837889, -0.0624758303, 0.1873430908, -0.178319037, -0.4563611448, 0.655929327, 0.513923049, -0.3758084178, -0.2770734131, -0.2839680016, 0.5592892766, 0.2107933611, -0.5512496829, -0.1249878034, 0.2499980628, 0.1315563321, 0.3013740182, 0.2965917289, -0.0493888184, 0.177470386, -0.4323011637, -0.1386241317, -0.1121359691, -0.7250549197, -0.5004895926, 0.4992825687, -0.4319241643, -0.2311574072 ]
http://arxiv.org/abs/2407.02834v1
http://arxiv.org/pdf/2407.02834v1
Aspect-Based Sentiment Analysis Techniques: A Comparative Study
2024-07-03T06:21:07
2024-07-03T06:21:07
Dineth Jayakody, Koshila Isuranda, A V A Malkith, Nisansa de Silva, Sachintha Rajith Ponnamperuma, G G N Sandamali, K L K Sudheera
cs.CL
cs.CL
Since the dawn of the digitalisation era, customer feedback and online reviews are unequivocally major sources of insights for businesses. Consequently, conducting comparative analyses of such sources has become the de facto modus operandi of any business that wishes to give itself a competitive edge over its peers and improve customer loyalty. Sentiment analysis is one such method instrumental in gauging public interest, exposing market trends, and analysing competitors. While traditional sentiment analysis focuses on overall sentiment, as the needs advance with time, it has become important to explore public opinions and sentiments on various specific subjects, products and services mentioned in the reviews on a finer-granular level. To this end, Aspect-based Sentiment Analysis (ABSA), supported by advances in Artificial Intelligence (AI) techniques which have contributed to a paradigm shift from simple word-level analysis to tone and context-aware analyses, focuses on identifying specific aspects within the text and determining the sentiment associated with each aspect. In this study, we compare several deep-NN methods for ABSA on two benchmark datasets (Restaurant14 and Laptop-14) and found that FAST LSA obtains the best overall results of 87.6% and 82.6% accuracy but does not pass LSA+DeBERTa which reports 90.33% and 86.21% accuracy respectively.
[ -0.6959995031, -0.8814383745, 0.5164677501, 0.5156506896, -0.3952995539, 0.1740092933, 0.0356607884, -0.6682605147, 0.5018978715, 0.2867085934, -0.4998103678, -0.5710160732, -0.0585900843, 0.3804042637, -0.2289513797, 0.7607084513, 0.0083461935, 0.3149004877, -0.2610283792, -0.5672035813, -0.3226284385, -0.719363451, -0.7381997705, -0.3021404743, 0.2552680373, 0.253842324, 0.5431139469, 0.0083393361, 0.7551221251, 0.3521633148, -0.4427106977, 0.2974106669, 0.0535044894, 0.1131209508, -0.2689412832, -0.3860667348, -0.4873219728, -0.1843123287, 0.2076070309, 0.6429079175, 0.1385609955, 0.1087333411, 0.2598787844, 1.4585065842, -0.4754528403, 0.1602513045, -0.2222814858, 0.0683836266, 0.0112765208, 0.1408802569, 0.080126524, -0.3860472441, 0.1208374798, -0.1183770448, 0.0116495853, -0.1719118357, 0.9046342969, 0.1282737404, -0.1123708487, -0.572289288, -0.885768652, 0.8376631737, -1.0015653372, 0.4207898676, 0.1784873754, 0.1875538826, 0.2476783693, -0.3436001539, -0.7070215344, -0.0274577364, 0.0032182727, 0.1183968782, -0.0694144368, -0.030492194, -0.0045971125, 0.8827645183, -0.1365716755, 0.2718115151, -0.1291610599, 0.0854122341, 0.7797496915, 0.2599570751, -0.0455035381, -0.7709573507, -0.3275977373, -0.17036964, -0.6371157765, 0.4651730061, 0.3661936522, 0.2174728364, -0.1444436014, 0.2847108543, -0.7628737092, 0.5107084513, 0.3125444949, -0.1502347291, 0.4598769844, -0.5524586439, -0.3942834735, 0.076959312, 0.9326452613, 0.6768063307, -0.1250847429, 0.2295012325, -0.4528492689, 0.1060353294, 0.1978978515, -0.6814529896, -0.0846782997, 0.5810850263, -0.8482906818, -0.4443832636, 0.1307744384, -1.1248905659, -0.6854861379, -0.490993619, 0.0320461765, -0.248743698, -0.1933704019, -0.517585218, 0.111546807, 0.7718153596, 0.4227289557, -0.3308611512, 0.1181306839, 1.0931119919, 1.1906955242, -0.1089527234, 0.2986298203, 0.0892728791, -0.5149542689, -0.5024632215, 0.9442813396, -0.4976338744, -0.4305591285, 0.0023289931, -0.2644605637, 0.3022204638, -0.6583330035, 0.6276221275, -0.4496105611, -0.016803069, -0.4885808527, -0.4542757869, -0.8167767525, 0.6862257123, -0.7509422302, 1.0241189003, -0.0042633642, -0.6779435277, 0.4345475435, -0.6174336672, -0.5835024118, -0.1762077212, -0.3081341386, -0.7111406326, 0.5351133943, 0.9195001125, 0.51385355, -0.2542187274, -0.0828990713, -0.2739369273, -0.0809024647, 0.5931361914, -0.4214960933, 0.349665463, 0.3043945432, -0.6183276176, 0.2444491237, -0.428514868, 0.0034554515, -0.1568212211, -0.0198542438, -0.5264062881, -0.0624148585, 0.0427543558, 0.1786821932, 0.2316608131, -0.65877074, 0.0808561742, -0.7956712246, 0.4712976217, 0.4980168939, 0.3888322115, 0.3185835481, -0.1731020063, 0.5570898056, 0.0947188511, 0.3899875581, -0.088777706, -0.4340224564, -0.8323172331, -0.117504403, 0.3472872674, 0.5004698038, -0.674148798, 0.5955585241, -0.3449226022, -0.7945135236, -0.8421860933, 0.1508505195, 0.3738618493, 0.303943038, 0.2854605615, -0.8543671966, -0.2913110554, -0.9377279878, -0.3812169731, -0.0505498052, 0.2586366832, 0.3775756955, 0.0622016452, 0.0308841765, 0.9447636008, -0.3339448571, -0.6669914722, -0.7756572366, 0.0837498978, 0.3399802148, 0.0850358829, 0.750524044, -0.8763895035, -0.7300638556, 0.1780402809, -0.6349952221, 0.1614051014, -0.0886261612, 0.3683593869, 0.6642231345, 0.2166169137, -0.2302780151, 0.7046666145, 0.4420416951, -0.1485714316, 0.3214384317, 0.1302084178, 0.4914599061, -1.1094499826, -0.0973065048, 0.3425298929, -0.1733524948, -0.5415952206, 0.0293606408, -0.0884035528, -0.2694085538, -0.5903735757, 0.2808768153, -0.3753978014, -0.2925619483, -0.6021282673, -0.0790598392, 0.3321985602, 0.5092566609, -0.0157589521, 0.818618834, 0.5020318031, -0.5524365902, 0.297015816, -0.0248089805, -0.53608495, 0.829279542, -0.6667739153, 0.3427926898, 0.0443592519, 0.1092455089, -1.0570751429, 0.2292086184, 0.4207333326, -0.462908715, 0.1323151141, 0.2516649961, -0.2557879984, -0.2325423956, -0.6840126514, 0.0885697678, 0.2354338318, -0.2897444367, 0.7942457795, 0.1723073572, -0.2829905748, -0.5219960809, -0.5713909864, 0.113685824, -0.2371010184, -0.3084696531, 0.2147334218, 0.3185401261, -0.7385908961, 0.0325866081, -0.2666123807, -0.2095310837, -0.0310237445, 0.4389082491, -0.1616844237, -0.2778938115, -0.4764129519, 0.0112322401, -0.1625323892, 0.0619556755, 0.3620710969, 0.5927901268, -0.4559522271, -0.1300157458, -1.1505324841, 0.298075974, 0.6625147462, -0.3266489208, 0.6228691936, 0.4114004374, -0.0985658914, 0.0889910087, -0.6158430576, -0.1489588171, -0.4959222674, 0.460547626, -0.1605200768, -0.2420093715, 0.521254003, -0.1108593196, -0.131156683, 0.4842755795, 0.3104741573, -0.1292347461, 0.6172229648, 0.6562749147, -0.7818379998, 0.5669880509, -0.292875737, 0.5488852262, -0.9495485425, -0.3094961345, -0.6515974998, -0.5844928622, -0.5812906623, -0.1892040521, 0.1707852036, 0.1161444709, 0.1839595884, 0.1243622079, -0.5321573019, 0.3278378844, 0.3814345002, 0.1133822799, 0.2197005898, -0.0846139863, 0.0976163223, 0.0317372866, -0.1159367487, -0.478491962, 0.8672654629, 0.4078423381, 0.5607868433, 0.0949780345, 0.5978224277, 0.50522995, 0.4092453122, -1.1788984537, 0.6211058497, -0.2919949591, -0.3823938668, -0.3003166318, -0.3430424333, -0.5309196711, 0.119525373, -0.1005254239, -0.4954323769, 0.4843894541, -0.0239235032, -0.461935252, 0.4338906407, -0.4995601773, 0.5649989247, -0.4025154114, -0.3345352411, -0.2768364549, -0.1555063874, 0.0608437508, 0.0200806297, 0.3658186495, -0.1996046156, 0.1550126225, 0.7709268332, -0.4367711842, 0.8217194676, -0.451610893, -0.0986558348, 0.4110028148, 0.0648832247, 0.3316836655, 0.2290990949, -0.2330457121, 0.6049121618, -0.241352126, -0.0766368806, -0.8216670752, 0.9339203238, -0.8282846808, -0.4160354435, -0.4935187101, -0.0458051749, -0.3086545765, -0.011478764, 0.0042947675, 0.6207271218, -0.3044288456, 0.2794220448, 0.3908686936, -0.1496217102, 0.9180737138, 0.3949399889, -0.238415584, -0.7850193977, 0.9116969109, 0.0937847197, -0.1689238995, 0.7325236201, 0.1909900159, -0.4918694794, -0.5677922964, -0.44246912, 0.0096855909, -0.5590991974, -0.3935577273, -0.4038956463, 0.0253344234, -0.3893246055, -0.1480265558, -0.7025438547, -0.3314038217, 0.0043970579, -0.1778326631, 0.3549036682, 0.8645980954, 0.1448806226, 0.3608181477, -0.671882987, 0.2337544709, 0.0252872296, 0.2237329036, 0.3200750351, -0.0174786691, -0.0545023754, -0.2325036079, -0.6088635921, -1.0099127293, 0.5666512251, 0.0561580472, 0.283590138, 0.8137649298, -0.0661972836, 0.5218005776, 0.1742765754, 1.099100709, 0.0935921147, -1.1427334547, 0.4822302163, 0.150861308, 0.1418730319, 0.9288665056, 0.5765812397, -0.5649751425, -0.1154535636, -0.4001151621, -1.312826395, 0.2834389806, 0.1147386357, 0.014955516, 0.3137473166, 0.6134610176, 0.3171080351, 0.4072558582, -0.5710081458, -0.3099673688, -0.2635262012, -0.2335858494, -0.0676960573, -0.2164657265, 0.370189935, -0.3645959198, 0.5940051675, -0.0176178273, 0.2774154246, 0.4665741622, 0.1088038087, 0.2142336816, 0.5974023938, 0.3531076014, 1.015443325, -0.1592388451, -0.2065881789, 0.1356793642, -0.4231268764, 0.0222011097, -0.2029064, -0.3461874425, 0.0651918575, 0.327209264, 0.6573290229, -0.1297748089, -0.218240425, 0.5184303522, -0.0219663382, 0.0914627984, -0.5015382171, -0.2614206076, -0.1725336164, 0.0948891193, 0.3347325027, -0.0980568603, 0.4221353233, -0.693626523, 0.0579793751, 0.4035848975, -0.98452878, -0.400033623, 0.0432216004, 0.6092710495, -0.3774466515, 0.67796731, -0.1406456679, -0.481562078, 0.6388848424, -0.0474202596, 1.2130182981, -0.2161715478, 0.2059354037, 0.0807411447, 0.2192458063, 0.2586950362, 0.5104091167, 0.0582510345, -0.4914260507, -0.5122851133, -0.8191717863, -0.6792508364, 0.3084439039, -0.9129165411, -0.1340081245, -0.7829288244, -0.2409342378, 0.0478012078, 0.420556277, -0.6027383208, 0.4679037631, -0.0240670722, 0.7322690487, -0.7652950287, 0.4837069213, 0.9514133334, -0.5035944581, -0.6699380279, 0.4035395682, -0.0065202429, -0.3753944337, 0.3546143174, 0.5211473703, -0.1636979729, -0.6134924889, -0.257569164, -0.4449033439, 0.7965881824, -0.5126650333, -0.8139086366, 0.4271996617, 0.2355910391, 0.6238514185, -0.2854282856, 0.2526470125, 0.6808254123, 0.369260788, -0.2511790097, -0.8234813213, -0.0071379771, -0.0730981678, -0.0574776046, 0.3474285901, -0.9437227845, 0.7227419615, 0.3367767334, 0.1938432455, -0.0770865455, 1.0410113335, -0.2186771035, 0.8531320691, 0.5463331938, 0.5252130628, 0.4881394804, -0.0138188312, 0.8941341043, -0.3946275413, 0.2567913532, 0.8345006108, -0.4115199745, 1.1359199286, 0.4864044785, -0.2162505239, 0.8346301317, 0.5865206718, 0.1986171454, 0.7523121834, -0.1686789393, 0.0752263516, 0.0709101707, -0.1353705376, -0.4152722359, 0.5845794082, 0.4327043891, -0.3034895957, -0.0577155463, -0.0099729756, 0.011897428, 0.2457986176, -0.8376302123, 1.1752233505, 0.329341352, -0.5353406668, -0.0549493022, 0.3366199136, 0.8811063766, -0.425884515, 0.1695102155, -0.6536154747, 0.4553421736, -0.3503372073, -0.9664199352, 0.6689308286, -0.0186847225, -0.1070898846, 0.0244161095, 0.7256831527, 0.390712589, -0.5643571019, 0.0400096811, 0.55246979, -0.1278505772, -0.555888474, -0.7657028437, 0.2136716694, 0.0111336969, -0.1777556837, 0.1674449146, 0.3454957008, -0.0134283621, 0.3342409432, 0.213264659, -0.0680781752, -0.542203784, -0.0123029426, 0.7814464569, -1.0779858828, -0.9609529376, -0.9443554282, 0.0821427181, -0.4030331671, -0.4319903851, 0.9819455743, 0.608535707, 0.7773227692, 0.1284492612, 0.6735759974, -0.0118466364, 0.5302997828, -0.6030912995, 0.7476622462, -0.3780191839, 0.3160556555, -0.5318322778, -1.1098735332, -0.0273600034, 0.5710635781, -0.6272366047, 0.075525932, 0.7001009583, 0.648686111, 0.1935245693, 0.4891526103, -0.1529630721, -0.0851476565, 0.4135237932, 0.0481461324, 0.9619464278, -0.1721258014, 0.153202787, -0.6280798316, -0.1703740209, -0.3950159252, -0.8169053197, -0.7642381191, -0.2634623945, -0.4260169864, -0.2264344394, -0.0834199339, 0.8388444185, 0.57414639, -1.0303928852, -0.1811640561, 0.0744346455, 0.0708000883, -0.8745849729, -0.3656513393, 0.616348803, -0.2417316884, -0.5283079743, 0.3436833918, 0.4073049426, -0.1760453135, -0.639482379, 0.232357353, 0.2694871426, 0.379290998, 0.5794408917, 0.1792167723, -0.6004749537, -0.0556178354, -0.1784142405, 0.1846851856, 0.3827279508, 0.9992446899, -0.6963409185, 0.1210819706, 0.638292551, 0.6220787168, 0.2160782516, 0.3157880306, 0.2004224062, -0.6933725476, 0.1107611433, 0.2397767454, 0.1301099658, 0.7146961689, -0.5198953152, 0.1774119437, 0.0421334505, -0.4231344759, -0.4102644622, 0.1423860043, -1.0129394531, -0.4911609888, 1.0440881252, -0.1297478229, -0.6717777848, -0.1449958533, -0.1659188569, -0.1079142913, -0.7798062563, 1.0223122835, 0.3201705515, -0.6145012379, 0.2794785798, -0.1832046211, 0.5298632979, 0.4444452524, -0.9950300455, -0.1189480945, 0.3188978136, 0.1149738654, 0.3352615535, 0.6283692718, -0.0214181878, -0.0082537849, -0.3506319821, -0.1350264549, -0.076991111, -0.5510029197, -0.6311876774, 0.608981967, 0.154999584, -0.3979305923 ]
http://arxiv.org/abs/2407.02833v1
http://arxiv.org/pdf/2407.02833v1
LANE: Logic Alignment of Non-tuning Large Language Models and Online Recommendation Systems for Explainable Reason Generation
2024-07-03T06:20:31
2024-07-03T06:20:31
Hongke Zhao, Songming Zheng, Likang Wu, Bowen Yu, Jing Wang
cs.IR
cs.IR, cs.CL, cs.LG
The explainability of recommendation systems is crucial for enhancing user trust and satisfaction. Leveraging large language models (LLMs) offers new opportunities for comprehensive recommendation logic generation. However, in existing related studies, fine-tuning LLM models for recommendation tasks incurs high computational costs and alignment issues with existing systems, limiting the application potential of proven proprietary/closed-source LLM models, such as GPT-4. In this work, our proposed effective strategy LANE aligns LLMs with online recommendation systems without additional LLMs tuning, reducing costs and improving explainability. This innovative approach addresses key challenges in integrating language models with recommendation systems while fully utilizing the capabilities of powerful proprietary models. Specifically, our strategy operates through several key components: semantic embedding, user multi-preference extraction using zero-shot prompting, semantic alignment, and explainable recommendation generation using Chain of Thought (CoT) prompting. By embedding item titles instead of IDs and utilizing multi-head attention mechanisms, our approach aligns the semantic features of user preferences with those of candidate items, ensuring coherent and user-aligned recommendations. Sufficient experimental results including performance comparison, questionnaire voting, and visualization cases prove that our method can not only ensure recommendation performance, but also provide easy-to-understand and reasonable recommendation logic.
[ -0.3774643242, -0.6599425673, 1.2243015766, -0.16400747, -0.3047905266, -0.1141555458, -0.2493255436, -0.2109631598, 0.15227741, 0.637955904, -0.9312212467, -0.5365143418, -0.1998684406, -0.1347053945, -0.1222203821, 1.2440308332, -0.1769682616, -0.0245630685, -0.321783334, -0.282751292, -0.8769254088, -0.0615484826, -0.4545125365, -0.3445078731, 0.5605814457, 0.3793057799, 0.6105119586, 0.6748484969, 0.4891181588, 0.2587789297, 0.2610949576, 0.5534232855, -0.3819470704, 0.2142849118, -0.5507473946, -0.0602707863, -0.7561252117, -0.2466450632, 0.2170799524, 0.4032700062, -0.3339666426, 0.0868288428, -0.0265740138, 0.6929990649, -0.6477496028, -0.1574208885, -0.714373827, -0.1385464668, -0.1305260807, -0.3123119473, -0.3906961679, -0.6180511713, 0.3842486739, -0.9627739191, -0.0948817134, 0.4694290459, 0.7550544739, 0.1492750347, -0.3745276332, -0.3859658837, -0.8272166252, 0.8134412169, -0.8207370639, 0.3436728418, -0.0642175153, 0.5061756372, -0.1128508225, -0.3637646139, -0.6778045893, 0.1186352521, 0.1801536679, 0.1645192951, -0.1775927097, 0.0473565422, 0.1536248177, 0.1444077492, -0.7386779785, -0.0652624443, 0.094529815, -0.0899588317, 0.4057300687, 0.1110591292, 0.2473028004, 0.3457404077, -0.5865356326, 0.2832301855, -0.8177899718, -0.0109184738, 0.5009196997, 0.6122871041, 0.0023068818, 0.6714429259, -0.248454839, 0.9379093647, 0.6379018426, -0.2445074618, 0.148723498, -0.4932437539, -0.2286124825, 0.3591718376, 0.7110400796, 0.7365030646, 0.4373865724, -0.2906821072, -0.0882255733, 0.0657816604, 0.2228135318, -0.6225504279, 0.071099259, 0.2689683437, -0.2482883483, -0.3703397512, 0.0324281268, -0.6362783313, -0.6754156351, -0.433853358, 0.6490743756, -0.2986530662, -0.2040973157, 0.2154023945, -0.0397560522, 0.2284618914, 0.3657361865, -0.9535087943, 0.2411701232, 0.5730975866, 0.8025020957, -0.215884313, -0.0546801127, -0.6855991483, 0.5910739899, -0.2841741145, 1.0087559223, -0.5080940127, 0.031973727, 0.0955023915, 0.0527111888, 0.1139215529, -0.2874257565, 0.418864876, -0.5608716607, 0.2877259851, -0.3804003596, -0.8191683292, -0.2414729297, 0.3377844989, -0.3310688138, 0.4585284591, -0.0357190408, -0.5697494745, 0.4542989135, -0.7347357273, -0.2589784563, 0.1254993826, -0.0988748744, -0.2528806627, -0.0934400111, 0.5325520039, 0.3182012737, -0.3501799703, 0.4832915664, -0.6953722239, -0.3317488134, 0.1744875461, -0.0847089887, 0.516017437, 0.1262305826, -0.4624561667, 0.6894897819, -0.2797292471, 0.2027112842, 0.048493214, 0.0739154369, -0.1389606893, 0.0549633913, -0.1371813267, 0.2185999453, 0.5300519466, -0.5143877864, 0.1247524917, -0.6961536407, 0.483084321, 0.9831320643, -0.1700699031, 0.566306591, -0.4518720508, 0.4224634469, 0.0947137848, 0.0684562847, -0.0951300412, -0.3687800169, -0.6378660202, -0.0343906507, 0.1111792326, 0.5040176511, -0.4875607491, 0.5823998451, -0.2137894332, -0.1383571625, -0.5783139467, 0.4000017643, 0.2438450158, 0.6477029324, 0.4408863187, 0.0019734218, -0.4323889613, -0.9505319595, -0.4491812587, -0.0004710915, 0.058045581, 0.4895941615, -0.0299397856, -0.2085216492, 1.1089454889, -0.4797920287, -0.2781969905, -0.5055394173, -0.3057921231, 0.3247959614, 0.0180162322, 0.1013093442, -0.3174365461, -0.4104884863, 0.0805910975, -0.5557247996, -0.2905552685, -0.0304151885, -0.3588666022, 0.1282484382, 0.2414260954, -0.5070881248, 0.0337406546, 0.2886106074, -0.5349395871, 0.1708145589, -0.3849829435, -0.1604073048, -1.1131210327, -0.1895420104, 0.1879995167, -0.4789150953, -0.4009488821, -0.0365846269, 0.0103298584, -0.0283040535, -0.2718577385, 0.5042706132, -0.2456548512, 0.0925173238, -0.4296796918, 0.7769063711, 0.1982278079, 0.4853016436, -0.1586668193, 0.2979863584, 0.3348525465, -0.4494947791, 0.5133772492, 0.1508360952, -0.2842674553, 0.8464494944, -0.6188666224, 0.1224830821, -0.0691490993, 0.357214123, -0.8822817206, 0.1289755404, 0.3126977384, 0.0832239687, 0.0493688732, -0.1510477364, -0.1532712132, 0.0391775593, -0.3466329873, 0.3748672009, 0.431686759, -0.65842098, 0.6781002283, 0.3697038889, 0.0171945617, -0.3504238129, -0.1573059559, -0.0751940608, -0.6089045405, -0.7829681635, 0.5675519109, -0.284563154, -0.3608151972, 0.1031596959, -0.110925816, 0.3007701337, -0.0685451627, 0.2664015293, 0.6146925688, -0.4281955957, 0.1932229102, -0.1084881276, -0.2182798535, -0.2003524601, -0.9321955442, 0.3556028008, -0.3101852536, -0.266559571, -0.4776378274, 0.2826161087, 0.5561831594, -0.1438570619, 0.5666217804, 0.6445381641, -0.0532094054, -0.36730358, -0.6184709668, -0.1532014012, -0.4447755814, -0.0058735958, -0.2323427796, -1.0323628187, -0.0030918131, -0.164250806, -0.0056337686, 0.3629449606, 0.6760903001, -0.1670756191, 1.2115757465, 0.610928297, 0.0074917022, 0.1692551821, 0.3062772751, 0.8921400905, -0.8640944362, -0.1066831648, -0.0263947323, -0.3277931809, -0.6249411702, -0.1410131007, 0.1960984468, 0.0832187831, -0.4298198819, 0.2183479071, -0.5184215903, 0.5320256352, 0.4125002623, 0.0594324358, 0.3139900863, -0.0358704552, -0.3610384762, 0.1432021409, -0.5191979408, -0.4416072965, 1.0627702475, 0.2262206674, 0.7563527226, 0.425937891, 0.3650238812, 0.2237205058, -0.2031856626, -0.8684241772, 0.4093288481, -0.0962633044, -0.3870725632, -0.3373973966, -0.2091394365, -0.7008573413, -0.0138500389, -0.4780019522, -0.9211585522, -0.1374649704, 0.32841295, -0.7305395007, 0.2283160239, -0.5723284483, 1.0285652876, -0.4929256439, -0.5752794147, -0.2248717844, -0.4257369339, 0.3025011122, -0.0286427289, 0.3276209235, -0.3089009821, 0.1056892872, 0.4530861676, -0.5680824518, 0.4400917292, -0.1584430039, -0.0881822854, 0.0259518679, 0.0553609803, 0.8014594316, -0.2310256213, 0.192051053, -0.0474881604, -0.0692793652, -0.0539366603, -0.7974081635, 1.1180337667, -0.5874473453, -0.8575268388, -0.1694555581, -0.6775098443, -0.4858772755, 0.1964494884, -0.0518421009, 0.4281810522, 0.1862238944, -0.0129984412, 0.6529625654, -0.2490582168, 0.159862861, 0.4862143695, -0.4268428385, -0.4361988604, 1.2987360954, -0.119154498, 0.1855720282, 0.3183810413, 0.4354896247, -0.5801757574, -0.4403857291, -0.6178077459, 0.3217410445, -0.556689024, 0.0638440922, -0.5032499433, 0.0585299656, -0.5391278267, -0.3784195185, -0.072860986, -0.4179397225, 0.1370189637, -0.1787401289, 0.4487074912, 0.9180690646, 0.2500775456, 0.2788606882, -0.4606885016, 0.2189163119, 0.2296962738, 0.5259093046, -0.0494557321, -0.4077095091, -0.313844949, -0.2001927793, -0.5398896337, -0.8294349909, 0.2198111862, -0.049178116, 0.5689646602, 0.8982709646, 0.1526308358, 0.8115775585, -0.5203456283, 0.611705482, 0.2787421346, -0.9948170781, 0.5858925581, -0.6209821105, 0.3226991892, 0.4988917708, 0.2455903441, -0.2685101032, -0.2265873551, -0.4507850409, -1.0437405109, 0.5982512832, 0.0911739469, -0.3221144676, 0.2279255241, 0.1191509068, 0.1605449915, 0.2581977844, -0.6584821939, -0.124379158, -0.1433586627, -0.5811187625, -0.1116406843, -0.126507625, -0.2243893743, 0.0058870888, 0.8641597629, -0.1506360918, -0.1106383353, -0.0703980774, 0.0133489529, -0.1647203565, 0.422593087, 0.6377987266, 0.7834177017, -0.3557525575, 0.0381715596, 0.110367015, 0.1715576053, 0.1022142768, -0.1882952601, -0.1590264738, -0.3355205655, 0.0397817492, 0.9059073925, 0.1261239946, -0.5799494386, 0.5329903364, -0.05713493, -0.1865682155, -0.3980454206, 0.1508491486, 0.3465272486, 0.2737228274, -0.2195807397, 0.0130738271, 0.098433733, -0.4793467224, -0.1334335059, 0.718369782, -0.6041206717, -0.0345490053, 0.4580522478, 0.3809303939, -0.1430901885, 0.482958585, 0.0427814052, -0.1855855286, 0.1267349571, 0.7100482583, 0.9437253475, 0.249430567, 0.2193779498, 0.3046880364, 0.0809989646, -0.0555673391, 0.0277249794, -0.2100242227, -1.0112389326, -0.2288142294, -0.5535853505, -0.3985200822, 0.0224049073, -0.4797095358, 0.4579619765, -0.5430883169, -0.1240658015, -0.0083477618, -0.2747907937, -0.4629470706, 0.0286107156, 0.1737075895, 0.4814682305, -0.7303737402, 0.6626750827, 0.4585042894, -0.3117126822, -1.0097594261, 0.0242479313, 0.2912104726, -0.677087605, 0.351174891, 0.2551307678, -0.5486826301, 0.0539590679, -0.1513475329, -0.7886337638, 1.1945613623, 0.328700155, -0.7057665586, 0.021546239, -0.1463407725, 0.2195420563, -0.7685909271, 0.472751528, 0.3018392324, 0.7071837187, 0.2787859142, -0.6226888299, 0.3996838629, -0.0215377361, -0.075561136, 0.3738642633, -0.3930687308, 0.4834674597, -0.4161243737, -0.1874075383, -0.0339232534, 0.1828206182, 0.5874271989, 0.2694584429, 0.6352948546, 0.8026049733, 0.8288876414, -0.0202668291, 0.9657752514, -0.3956653476, -0.0170443896, 1.3038964272, -0.6978200674, 0.6686720848, 0.5754334331, 0.1098057777, 0.9528732896, 0.5919317603, -0.0830540434, 0.6473055482, 0.160102874, -0.1731433421, -0.6626226306, -0.3237256706, -0.2496946603, 0.1818380654, 0.1074587554, -0.3036956787, -0.2524575293, -0.2791770101, -0.1653710157, -0.0825117752, -0.1916480809, 1.0067703724, -0.059891846, -0.8853307962, 0.1786925346, 0.0718551576, 0.507304132, -0.6779133081, -0.0504670478, 0.1564804763, 0.4361077845, -0.3472417891, -0.5732967257, -0.0296743624, 0.064161852, -0.3776156008, -0.3269266188, 0.5242703557, -0.4102497399, -0.551117897, 0.3293411136, 0.5155323744, 0.139563024, 0.0720038339, -0.4960965514, -0.263148427, 0.1155234054, 0.1247504428, 0.399535954, 0.4124521017, -0.1314987391, 0.6984621882, 0.8277439475, 0.1898561865, -0.3462944329, 0.2896007597, 0.5048571229, -0.765470624, -0.5288755894, -1.2170338631, 0.5181698799, -0.0229639392, -0.1190216243, 0.9522041678, 0.3156812787, 0.5879636407, 0.1600017548, 0.7575104237, 0.3181835413, 0.4058791697, -0.5701295137, 0.4796365798, -0.5941808224, 0.554356575, -0.314435482, -0.9557116628, -0.0219306219, 0.4797819555, -0.3682590127, 0.155954361, 0.8619267941, 0.8362753987, 0.068564564, -0.0492732152, 0.3309804201, 0.1437511891, 0.2875755429, 0.7658513188, 0.6718302369, 0.0526563227, 0.5821322799, 0.243631795, -0.2259867191, -0.2149107754, -1.1421791315, -0.8484101295, -0.2618197799, -0.302156955, -0.3692067266, 0.1534872949, 1.0129101276, 0.6029705405, -0.9087280631, -0.2879518867, -0.174117595, 0.3233529031, -0.240362972, -0.2404827774, 0.2360269427, -0.2901648283, -0.3389447629, 0.5736573935, 0.6392842531, -0.2337026149, -0.3173707128, -0.2561439574, -0.096021831, 0.2523185611, 0.3682679534, -0.1380458325, -1.210031867, -0.2079569548, -0.0072901309, 0.089532055, -0.0802131593, 0.7757632732, -0.7489105463, 0.6378154755, 0.4066271484, 0.4687272906, 0.369956702, 0.1944466829, 1.033976078, -0.1429732889, -0.5187167525, -0.1943014562, 0.445140928, 0.3582177162, -0.3855382502, 0.1577932239, -0.0093118194, -0.6707088351, -0.4953993857, 0.3512146175, -1.184216857, -0.230986625, 0.9886528254, -0.1413246691, 0.0386218168, -0.2221597731, -0.1748763472, 0.1209937558, -0.6038621068, 0.6336644888, 0.8316178918, -0.3105555475, 0.0054476312, -0.398381114, 0.3886404335, 0.2619906068, -0.5249698758, 0.06988132, 0.4541675448, 0.3993029296, 0.0079411585, 0.4141118228, -0.0283148289, 0.0502400845, -0.4637581706, -0.0675144643, -0.2550697923, -0.3052593172, -0.3793676198, 0.2112677842, 0.1642675549, 0.0031611498 ]
http://arxiv.org/abs/2407.02820v1
http://arxiv.org/pdf/2407.02820v1
Investigating the Contextualised Word Embedding Dimensions Responsible for Contextual and Temporal Semantic Changes
2024-07-03T05:42:20
2024-07-03T05:42:20
Taichi Aida, Danushka Bollegala
cs.CL
cs.CL
Words change their meaning over time as well as in different contexts. The sense-aware contextualised word embeddings (SCWEs) such as the ones produced by XL-LEXEME by fine-tuning masked langauge models (MLMs) on Word-in-Context (WiC) data attempt to encode such semantic changes of words within the contextualised word embedding (CWE) spaces. Despite the superior performance of SCWEs in contextual/temporal semantic change detection (SCD) benchmarks, it remains unclear as to how the meaning changes are encoded in the embedding space. To study this, we compare pre-trained CWEs and their fine-tuned versions on contextual and temporal semantic change benchmarks under Principal Component Analysis (PCA) and Independent Component Analysis (ICA) transformations. Our experimental results reveal several novel insights such as (a) although there exist a smaller number of axes that are responsible for semantic changes of words in the pre-trained CWE space, this information gets distributed across all dimensions when fine-tuned, and (b) in contrast to prior work studying the geometry of CWEs, we find that PCA to better represent semantic changes than ICA. Source code is available at https://github.com/LivNLP/svp-dims .
[ -0.3917509019, -0.4725886285, 0.5232598782, 0.2052503824, -0.3855039179, -0.2884739041, -0.2652594447, -0.5085844398, 0.1928259581, 0.1019257531, -0.6797770858, -0.5745847821, -0.6515789032, 0.0448765643, -0.0848766938, 0.3207707405, -0.3838064969, 0.2049842179, -0.0932104662, -0.7049540877, -0.6873449087, -0.5892669559, -0.2045376301, -0.0274790339, 0.4706657529, -0.0556084141, 0.4237726629, 0.6854721308, 0.2595934868, 0.2368594706, -0.2848481238, 0.215147078, -0.1895364076, 0.0409699082, -0.5084956288, -0.282053262, -0.2194114178, 0.2739953101, 0.5122276545, 0.7543765903, 0.0061126216, 0.2085543573, 0.3083583117, 0.4259243011, -1.0958387852, 0.5540081859, -0.9365323186, 0.1983060539, -0.1447948962, -0.4618956149, -0.3317843378, 0.2639997602, 0.0512182564, -0.6079553962, 0.1362537444, -0.0655185953, 0.8996534348, 0.357483536, -0.4368433952, -0.2122899145, -0.4429740906, 0.8876072764, -0.595423758, 0.9244637489, -0.012202261, 0.0691531152, -0.1991717815, -0.533888042, -0.758446455, -0.0081024077, -0.1116953045, 0.0190756619, -0.2211816907, -0.1366891414, 0.0664297715, 0.0066811964, -0.0956607088, 0.3378512561, 0.030228341, -0.1314377189, 0.4958451688, 0.1086958796, 0.0961153507, -0.334900111, -0.5278995633, -0.5983377099, -0.6795912981, 0.1604865342, -0.1059932113, 0.3672446311, -0.1521086991, 0.4225338697, -0.0442589819, 0.5238872766, 0.0444091, -0.047143925, 0.3395125866, -0.3865053058, -0.4688658714, 0.1971743852, 0.2692821026, 0.3896427155, -0.0312699899, -0.0540242903, 0.0135800391, 0.4941823781, -0.0008953423, -0.6599097848, 0.1899693906, -0.0075612562, -0.5276327133, -0.1476917714, 0.1319724917, -0.0525573976, -0.264585644, -0.8445450664, 0.4000478685, -0.5753395557, 0.014247247, 0.4380489588, -0.2429689467, 0.6519142389, 0.4545312822, -0.513292551, -0.0904828832, 0.5370714068, 0.3591170311, -0.268425405, -0.4573961198, -0.1532629281, 0.3217101097, -0.6586263776, 0.6307980418, -0.5734432936, -0.2640137076, 0.099675931, 0.3446698487, -0.3336948454, -0.3770026267, 0.1325834543, -0.4900009632, 0.1375873387, -0.6963793039, -0.6383245587, 0.0766178444, 0.1852648556, -0.1850906909, 0.9784857035, 0.0612725578, -0.8251653314, 1.0449523926, -0.4217809737, -0.0901657417, -0.0187857542, -0.4487549067, -0.1251588315, 0.6415388584, 0.3590836227, 0.6565066576, 0.2095391452, -0.0289526507, -0.2683561146, -0.2065242827, 0.4601142406, -0.3865291178, 0.4648865759, 0.0482432991, -0.3293176591, 0.0531699844, -0.8272188306, 0.1999237835, 0.0821080878, -0.1522557288, -0.5635278821, 0.31407547, 0.1103154272, 0.444396317, 0.1974167973, -0.7681690454, -0.0248108003, -0.0187040195, 0.531604588, 0.9120641947, 0.0449481271, 0.4025534391, 0.1757144928, 0.1148530468, 0.5176724792, 0.148476243, -0.2179266214, -0.293972522, -0.3652609289, -0.1746716946, 0.3100419641, 0.3751898706, -0.4910722077, 0.3633960485, -0.3830174506, -0.1310905963, -0.3439294398, -0.1496417671, -0.0330875181, 0.0220491011, 0.586086154, -0.239722535, -0.2248789519, -0.8447285295, -0.5207924843, 0.03546004, -0.3421490788, 0.3777661324, 0.3778423667, -0.4569379389, 1.0174927711, -0.5652757883, -0.5043390393, 0.1035890207, -0.0698416606, -0.4232396483, 0.3255302608, 0.7905737162, -0.5010091662, -0.2853713632, 0.0946644843, -0.5731842518, -0.2563656867, -0.3875709176, 0.0036704324, 0.0803926215, 0.9811609387, -0.4261761308, 0.8453226686, 0.5245687962, -0.7051464915, 0.4175275862, -0.3673426509, 0.1551063061, -0.8731392622, -0.2939760387, -0.3123514354, -0.072395511, -0.1947988123, 0.1312693506, 0.421684742, -0.0878307074, -0.4938563704, 0.4906060994, -0.6081284881, -0.2181256264, -0.0615019277, 0.5278405547, 0.0658067241, 0.4720048606, -0.1155740917, 0.6450256109, 0.1513692886, -0.5804769993, -0.2460089028, 0.3040847778, -0.3634856045, 0.7424705029, -0.4368250966, 0.002982829, -0.1659573019, 0.1482006609, -0.6727256775, 0.2222016305, -0.08081083, -0.2755830884, 0.4064583182, 0.3032902181, -0.5803567767, 0.0058983411, -0.2616147995, 0.39239797, -0.0407589525, -0.7239271402, 0.4996801913, 0.2936353981, 0.1750445217, -0.2139455229, -0.7782195807, 0.1986617744, -0.0602952093, -0.5449343324, 0.9541624188, 0.070932284, -0.257430613, 0.2325818539, -0.3373202682, 0.1976694614, -0.0522561185, 0.1814050525, -0.2533164024, -0.1165900603, 0.4148163795, 0.3111740649, -0.1897439212, 0.1154124513, -0.3365763724, 0.4757088423, -0.0424583927, -0.3929865062, -0.5000639558, 0.5017720461, 0.4435609281, -0.3764276206, 1.0798748732, 0.7779901028, -0.4411102533, -0.2947201133, -0.3396003246, -0.11482656, -0.444458276, 0.254732132, -0.4309713542, -1.0914794207, 0.6259939671, -0.1003096849, -0.1953745186, 0.5562032461, 0.2469808161, -0.2336249202, 1.0087766647, 0.8489131331, 0.1745742857, 0.6369925737, -0.1158653349, 0.2632690668, -0.9890782237, -0.3455115557, -0.4020927548, -0.3445980549, -0.9348022938, -0.7829056978, 0.4085930586, 0.2955484092, -0.1195448264, 0.224571541, -0.2775759101, 0.1244065538, 0.1377547979, -0.0915143564, -0.1817178577, 0.0576448254, -0.3224407434, -0.4158741236, -0.6794971824, -0.2070570439, 0.695476532, 0.2626871765, 0.4705179632, -0.0813555047, 0.3265860379, 0.2856182456, -0.1045587808, -0.6097327471, 0.622053504, -0.283772558, 0.0987228155, -0.132318005, -0.0269722771, -1.0106419325, 0.522957027, -0.4160250723, -0.7038125992, 0.6680301428, -0.2636992037, 0.2134426534, 0.5191204548, -0.4742909968, 0.7380393744, 0.1898724735, -0.1973051429, -0.6459390521, -0.3196290433, -0.5092793107, 0.1616722643, -0.0543772392, -0.0927650556, -0.1036185175, 0.5841739774, -0.6107553244, 0.7104919553, -0.3128940463, -0.3100907207, 0.1157215461, 0.0894311666, 0.4520821869, -0.0036917478, 0.3242852986, 0.4338273704, 0.1866668761, -0.6688307524, -0.5235751271, 0.8541677594, -0.7160470486, -0.5748926401, -0.4673199058, -0.4066606462, -0.3591552973, -0.1156174392, 0.1542377174, 0.5704437494, -0.2426426411, 0.443643868, 0.6236295104, -0.623090446, 0.4842635095, 0.5462768674, 0.0457450636, 0.1605898589, 0.326551944, 0.3184611201, 0.1025605649, 0.5726743937, 0.2142177522, -0.165495798, -0.3316165209, -0.2728413641, 0.1537505239, -0.7676569223, -0.0400268771, -0.4727528691, -0.1092084274, -0.3956676424, -0.5460166335, -0.3173055053, -0.2035915703, -0.2438876629, -0.1309470534, 0.3242732882, 0.6086389422, -0.2575366199, 0.1440474242, -0.4889970124, -0.0471868441, 0.3559066057, 0.2529859543, -0.2592228651, -0.2714039683, -0.2734364569, 0.0888823122, 0.0091642933, -1.0250247717, 0.1817825437, 0.1753503382, 0.551140666, 0.510797143, -0.2143992633, 0.7042050362, -0.4230260849, 1.0902588367, 0.0436249413, -1.0446492434, 0.5344216228, -0.2403552085, 0.872829318, 0.2203923017, -0.1423386037, -0.6231459379, -0.1013427004, -0.3566997051, -0.6194751859, 0.3139054179, -0.0393887013, 0.239519015, -0.2840833068, 0.3653596938, 0.1169631183, 0.1901625246, -0.1129151434, -0.1373705417, -0.1883756965, 0.224873513, -0.1159368083, -0.5299299359, 0.1767124236, -0.3345919549, 0.277362138, -0.1996031553, 0.5016585588, 0.2144713998, -0.2732134163, 0.2690164149, 0.5258877873, 0.4519918263, 0.791195035, -0.0800522715, 0.0972317234, 0.5410734415, -0.4744738936, -0.2693703771, -0.0865980983, 0.0474788435, 0.168519333, 0.6289205551, 1.0948160887, 0.5466414094, -0.2504990101, 0.7101494074, -0.0631306097, -0.0812623203, -0.3080712259, -0.1839493811, -0.1639659554, 0.0298080798, 0.2508499622, 0.246353358, -0.1920850575, -0.4898675978, -0.0500424802, 0.261156708, -0.6456881166, -0.5488526225, 0.56733495, -0.2422274053, 0.2178776264, 0.3413140178, -0.1851206273, -0.4492427707, 0.1808455139, 0.4708968103, 0.8248619437, -0.3833048344, 0.2690301239, 0.0773005858, 0.2525763512, 0.5837956667, 0.3781071901, -0.4376930594, -1.0770528316, -0.31613186, -0.6446102858, 0.1344354749, 0.1632749289, -0.9874812961, 0.0912277699, -0.3670945168, -0.0315374993, -0.0700671896, -0.2029601187, -1.2994881868, 0.3414277434, 0.0305404365, 0.9592256546, -0.8068631291, 0.7291089892, 0.6932641268, 0.1338156164, -0.7827439308, 0.1091108173, -0.0869702846, -0.5847614408, 0.6567725539, 0.1041038111, -0.442433238, -0.2904860377, -0.3995414078, -0.7206128836, 1.2946027517, 0.1155016646, -0.4573821127, 0.2667887509, 0.4491544664, 0.7285245657, -0.4206189811, -0.3642561734, 0.4993142188, 0.2850806415, -0.4010099173, -0.6918413639, -0.0546661727, 0.0357347168, 0.5507762432, 0.1566977054, -0.329425782, 0.8026100397, 0.0908626616, -0.6997300386, -0.2645349801, 0.6367594004, 0.058106672, 0.206569016, 0.5136807561, 0.7112594843, 0.5024394989, -0.1740982831, 0.9941710234, -0.5127139688, 0.1590560973, 0.9733485579, -0.1538296044, 1.1355856657, 0.7076966763, -0.2532379627, 0.7310213447, 0.4547898471, 0.4301463068, 0.6669646502, 0.1149841994, -0.1459889561, -0.305921495, -0.071840167, -0.6201063991, 0.8077607155, 0.7072164416, -0.305462271, -0.2340343595, 0.3691806197, 0.1886560917, 0.2106812, -0.3688580692, 0.6166604757, 0.1566060036, -0.0667754412, 0.3262494504, 0.286563307, 0.5557076931, -0.677624464, 0.2340358049, -0.1645286679, 0.4643197954, 0.0667626634, -0.6067746878, 0.2589686513, -0.5245850682, -0.2323781401, -0.4407114685, 0.6874546409, -0.2239891738, -0.2867839932, 0.8234724402, 0.4965972304, -0.365462184, -0.1063614786, -0.7429234982, 0.4615970254, -0.2751040161, -0.1857028604, 0.5353842974, 0.6313095093, -0.386487186, 0.2214456052, 0.487311393, 0.1248126924, 0.1330671757, 0.1955685467, 0.7092658877, -0.5963026285, -0.8701177835, -0.3002840877, 0.1260406971, -0.0934979096, -0.5172513723, 0.8613153696, 0.1739348918, 1.2378457785, -0.2187064439, 0.3675911427, 0.1197063625, 0.1117155477, -0.6935492754, 0.5447660685, -0.645893991, 0.1628256291, -0.211257264, -0.8958780169, -0.2028017044, 0.518824935, -0.2384696156, -0.1838413179, 0.801176548, 0.7651076913, -0.0082498398, 0.0279133618, 0.3538180292, 0.411267072, 0.2256063521, 0.1369410008, 0.5075054765, -0.5218895674, -0.2474985421, -0.0434227735, -0.0047293967, -0.0950118974, -0.9446334839, -0.5693323016, -1.1283773184, -0.5384908915, -0.1618810147, 0.0766135976, 0.6929027438, 0.5616497397, -0.8401422501, 0.2085448354, -0.0085072517, -0.4622942805, -0.6274712086, -0.2333590984, 0.7650415301, -0.3062933981, -0.2989490628, 0.7388027906, 0.4949164391, -0.0823282674, -0.3613415956, 0.1821465343, 0.0494474545, 0.4498694539, 1.1136584282, -0.1430385411, -0.7914464474, -0.9975389838, -0.1058806479, -0.1405932307, -0.1577648818, 0.975874424, -0.9906439781, 0.4117276073, 0.6783674955, 0.4889466465, 0.6029250622, -0.419413805, 0.3858374953, -0.9625553489, 0.3733633459, -0.3961776495, 0.5582963824, 0.26058653, -0.2031328082, 0.2806553245, 0.340775609, -0.1752281636, -0.5810510516, 0.219271481, -0.9967548251, -0.6594738364, 1.0931918621, -0.0950725526, -0.2146646082, 0.1251875013, 0.0096388701, 0.0889832228, 0.1700639725, 0.6470888853, 0.601608634, -0.0102123646, 0.1186112091, -0.1924076378, 0.5829226375, 0.324545145, -0.5121849775, -0.109591268, 0.4631004333, 0.3778544366, 0.0422840193, 0.3325997889, -0.3998332322, 0.0760057718, 0.1783079654, -0.1062745452, -0.0707289204, -0.2656400502, -0.265009135, 0.1649772227, -0.3670648038, -0.4048957527 ]
http://arxiv.org/abs/2407.02819v1
http://arxiv.org/pdf/2407.02819v1
Efficient Training of Language Models with Compact and Consistent Next Token Distributions
2024-07-03T05:40:41
2024-07-03T05:40:41
Ashutosh Sathe, Sunita Sarawagi
cs.CL
cs.CL, cs.LG
Maximizing the likelihood of the next token is an established, statistically sound objective for pre-training language models. In this paper we show that we can train better models faster by pre-aggregating the corpus with a collapsed $n$-gram distribution. Previous studies have proposed corpus-level $n$-gram statistics as a regularizer; however, the construction and querying of such $n$-grams, if done naively, prove to be costly and significantly impede training speed, thereby limiting their application in modern large language model pre-training. We introduce an alternative compact representation of the next token distribution that, in expectation, aligns with the complete $n$-gram distribution while markedly reducing variance across mini-batches compared to the standard next-token loss. Empirically, we demonstrate that both the $n$-gram regularized model and our approximation yield substantial improvements in model quality and convergence rate compared to existing methods. Furthermore, our approximation facilitates scalability of gains to larger datasets and models compared to the straightforward $n$-gram regularization method.
[ -0.2254259735, -0.3083612323, 0.4896149039, -0.1230329648, -0.4980131388, -0.0354617499, -0.6201847196, -0.0711439475, 0.3358902931, 0.1033858359, -0.2140743881, -0.6481468678, -0.7519501448, 0.0132365124, -0.7330477238, 0.6656769514, 0.3080206811, 0.2043816, 0.0663851723, 0.0603881106, -0.1357588917, -0.7748861313, -0.7844435573, 0.0760221332, 0.597294867, 0.1191708222, 0.7792097926, 0.6704826355, 0.6423664093, 0.3252202868, -0.1482245177, -0.1280364245, -0.6160664558, -0.227360934, 0.294233948, -0.8527773023, -0.3432628214, 0.1979101747, 1.0663336515, 1.2230886221, -0.0257896334, 0.0582998395, -0.1126673892, 0.3869283497, -0.9186689854, 0.1242437884, -0.5141544938, -0.0452120267, -0.4834073186, -0.2226943374, -0.7133611441, -0.459428221, -0.1766257435, -0.6446871758, 0.3451896012, 0.0948041156, 0.941079855, 0.0246712342, -0.1084795743, -0.0240082461, -0.556045711, 0.8712962866, -0.6971542239, 0.7967813015, 0.5318595767, 0.4477616847, -0.0173259061, -0.8683966994, -0.5616756678, -0.4050787687, -0.1251889616, -0.0485911556, -0.0923720598, 0.097690016, -0.2257143557, 0.3024179935, -0.3620209396, 0.248062849, -0.0880026519, -0.2021755725, 0.2706583142, 0.0351776965, 0.130250901, 0.2720179856, -0.0082097165, -0.4614246786, -0.6252695322, -0.3548651636, 0.6386926174, 0.5057843328, 0.0079443539, 0.3994162381, -0.0199144017, 0.8574764729, 0.156008929, -0.3224619925, 0.3704743981, -0.5374085903, -0.1306806654, -0.3363395929, 0.523876667, 0.2016683668, 0.2506328523, -0.2724446356, -0.2891714871, 0.1338836849, 0.0139477672, -0.907328546, -0.3878042698, -0.0600956306, -0.7041500807, -0.2393111885, 0.1341949105, -0.481611222, 0.1126097217, -0.2729357183, 0.1805698425, -0.4482163191, -0.2725516856, 0.233999908, -0.0407728367, 0.0670060515, 0.1777577847, -1.1488403082, 0.6732489467, 0.6167408228, 0.884327352, 0.0091026025, -0.0284609888, -0.7209149599, -0.0714991912, -0.8210270405, 0.8798155785, -0.8372722864, -0.2795037925, 0.0556341261, -0.0459756926, -0.1454663277, -0.5868881941, 0.5492623448, -0.5561801791, 0.031712126, -0.1119410247, -0.7119457126, 0.1099858657, 0.1989438683, -0.4341650307, 0.786934495, 0.0528393425, -0.8143037558, 0.5755708814, -0.4373482764, -0.2384974957, -0.1135122329, -0.0418092981, -0.1734323651, 0.4060687721, 0.2208072096, 0.5640743971, -0.1471999437, 0.0492126234, -0.5409987569, -0.5293729901, -0.0830118433, -0.6145848036, 0.7345210314, 0.2645332813, 0.1056270599, 0.150584355, -0.7305210233, -0.0337015614, 0.149985224, -0.4178828895, -0.5665956736, -0.2472474873, 0.2325979918, -0.3204350173, 0.2454401404, -0.3046848476, 0.1997393221, -0.4827047884, 0.1070489809, 0.7352204919, -0.3640948534, 0.7984938622, -0.1323240399, 0.566744864, -0.1596912444, 0.338560909, -0.1342773139, -0.2594061792, -0.5650964975, -0.5031683445, 0.9950875044, 0.1717540175, -0.3220197558, 0.4838603139, -0.5303490162, -0.4840863645, -0.1751487851, -0.071327351, 0.4096313417, 0.2422662228, 0.1382546872, -0.4825633764, -0.5823588967, -0.587313056, -0.1205849871, -0.3306868076, -0.0956125036, -0.2138726562, 0.2123329937, -0.1877517402, 0.7629064918, -0.4800063372, -0.0911537781, -0.3326629996, 0.0731038451, 0.2644630671, 0.5264593959, 0.6566641927, -0.8213800788, -0.5911201835, 0.01063463, -0.1874768287, -0.1446012408, 0.2448557615, -0.1843230277, 0.1548698246, 0.8132969141, -0.3964444697, 0.2805151045, 0.7353747487, -0.1738085747, 0.5693083405, -0.3521002233, -0.2064168155, -1.0553622246, -0.0072385985, -0.2999309003, -0.3378351331, -0.7457162142, 0.041120328, 0.135745734, 0.0352159925, -0.3099416792, 0.6652199626, -0.5738070607, -0.3360047042, -0.2655542195, 0.1626210809, -0.1013843417, 0.1364011616, 0.0640652999, 0.8934028149, 0.5725396276, -0.6015072465, -0.2436848283, 0.3846912384, -0.2283507735, 0.1301436871, -0.6043583751, -0.2371288985, -0.299703598, 0.4377643466, -0.9242979288, -0.250487119, -0.1207904443, -0.5446658731, 0.5863562226, -0.1943917125, -0.700088203, -0.1296837181, -0.354131043, 0.5495770574, 0.9184779525, -0.7099435329, 0.5141015649, 0.4835993052, 0.0236717463, -0.630548656, -0.7579833865, -0.0180645399, -0.203535527, -0.445537746, 0.2768365443, -0.0513115637, -0.2323418856, 0.1103492603, 0.0360743739, -0.1290815473, -0.0400341004, -0.2998219132, 0.0119274296, -0.1510682702, 0.3322560191, -0.2174981683, -0.3335319161, -0.3895875514, -0.6912481189, 1.0188677311, 0.0027628448, -0.2549715042, -0.3719586134, 0.4249031842, 0.2339595407, -0.3043643534, 0.9584497809, 0.6917598248, -0.352416724, 0.3229163587, -0.630451262, -0.1864353865, -0.4484659731, 0.4223870933, -0.3249566555, -0.737116158, 0.5439481735, 0.0321668424, 0.1520943791, 0.4351687431, 0.5528248549, 0.3264061511, 1.1002978086, 0.9962319136, -0.1431911439, 0.8608663678, -0.2938863337, 0.3573549688, -0.6980463862, -0.0207276233, -0.641625762, 0.1823816597, -0.3201029897, -0.6103467941, 0.0684930608, 0.3545695841, -0.0422864482, 0.3082237542, -0.1276544333, 0.429789871, 0.6117129922, -0.1797093302, 0.0534923151, 0.003081532, -0.2441903949, 0.2241767347, -0.9522634149, -0.5179179311, 1.2997003794, 0.1052565277, 0.692247808, 0.1466526389, 1.1307246685, -0.1503534913, 0.5538720489, -0.6092946529, 0.33617419, -0.4676018953, -0.3432905376, -0.3649076819, -0.5871400237, -1.1709638834, 0.2432761192, -0.174016282, -0.6093025804, 0.2930230498, 0.3145780563, -0.4334500134, 0.2989244461, -1.1244777441, 0.852946043, 0.2495472282, 0.109021008, 0.1300578117, -0.4634985328, 0.382286489, -0.3050796688, 0.4489122629, -0.0787064955, -0.3728075027, 0.7378336787, -0.9194424152, 0.7243398428, -0.2223152071, 0.0142625542, 0.2798862457, -0.2440259308, 0.7028720975, -0.1452066302, 0.0068208021, -0.0710327998, -0.1925352663, -0.7466549277, -0.6915315986, 0.2830418348, -0.505179286, -0.4294478297, 0.0231408905, -0.4030861557, -0.1484154314, 0.2994405329, 0.3618737161, 0.7354124784, 0.0900963917, 0.2455267012, 0.4085566103, -0.158911407, 0.4812100828, 0.0694728866, -0.2550623417, -0.2012032568, 0.739184618, 0.2836653292, 0.5838190317, 0.4288268387, 0.3898517489, -0.6832428575, -1.0278437138, 0.0269098375, 0.1101830751, -0.8562642932, -0.111204952, -0.9529943466, 0.1532539278, -0.8297365904, -0.1891478151, -0.3810394108, -0.4610964656, -0.1385976672, -0.1611922085, 0.2525604069, 0.3193454742, -0.3231924772, 0.7576001287, -0.7631767988, 0.0291138012, 0.1059443876, 0.3562243581, 0.0440766476, -0.7982396483, -0.3585176766, -0.3923375905, 0.1904727966, -0.6302509308, 0.3678484261, 0.4912063777, 0.5282775164, 0.7005120516, -0.0301818568, 0.9031655192, -0.784126997, 0.6653679609, 0.4863584638, -0.7610259652, -0.0092183007, -0.280616045, 0.2817010283, 0.7491860986, 0.244975239, -0.4001664221, -0.5239323378, -0.7917802334, -0.9457740188, 0.3340643346, 0.3535598516, 0.4186665416, -0.5337896347, 0.1056605503, 0.069701314, 0.0156322625, -0.4569066167, -0.2782562971, -0.0330455378, -0.4423473477, -0.4767279029, -0.4662020802, 0.2343792766, -0.2369226664, 0.668325603, -0.2881109118, 0.3362329602, -0.1952572316, -0.0137941763, 0.4074483216, -0.0312089175, 0.4655093551, 0.3738570809, -0.0964954644, 0.303555131, 0.2581232488, -0.4859421551, 0.2473415583, 0.1399997771, -0.1070908979, 0.2795290649, 0.4640243649, 0.5911851525, 0.5135454535, -0.7095777392, 0.8504122496, -0.3450304568, -0.1807086468, -0.4729250371, -0.1924404055, 0.2034760714, 0.0752631053, 0.2503343225, 0.199041605, 0.2942633033, -0.6083481908, 0.4656871557, 0.4750556052, -0.1096830741, -0.2797451317, 0.7872653008, -0.2464159876, -0.2039420903, 0.2126116902, -0.4259407222, -0.2931082547, 0.371670872, 0.5855634809, 0.7577424049, -0.2183145732, 0.078541331, 0.4818791449, 0.2028021216, -0.6201867461, 0.1382729858, -0.0165219586, -0.6496235728, -0.6815492511, -0.8458205462, -0.1264714003, -0.3414500356, -0.5801019669, 0.291969955, -0.5095629692, -0.3043853045, -0.1687209755, -0.1655026227, -0.6034001112, 0.2414270043, 0.066019021, 1.0208551884, -0.6397509575, 0.8607183099, 0.2402902544, -0.3132977486, -0.9984482527, 0.1843817383, -0.3813386559, -0.6913643479, 0.4502080083, 0.2721286416, 0.1666911542, 0.0298165921, -0.3787148297, -1.2431329489, 0.6770973206, 0.6435144544, -0.6957619786, 0.0101010064, -0.2586452365, 0.5317046642, -0.3863581419, 0.4214938581, 0.6492419243, 0.5433943272, 0.1454025805, -0.6159552336, -0.1677022427, -0.3333671093, 0.2318076938, 0.5868912935, -0.5098415613, 1.031601429, -0.1549229622, -0.4580823779, 0.296220839, 0.8304373622, 0.1188997701, -0.2030457258, 0.7631710768, 0.4771828949, 1.0038728714, -0.0103176292, 1.417914629, -0.4576978385, 0.3238124549, 1.1028373241, 0.1493506432, 0.9001893997, 0.4191507995, -0.2580459118, 0.2705465853, 0.7431136966, 0.2603952289, 0.627818644, 0.4297698438, -0.2603236735, -0.2430699021, -0.0134743443, -0.3520964086, 0.2094799429, 0.111499317, -0.1715534031, -0.3770295382, -0.1386373043, 0.0255538374, 0.2014248669, -0.3524245322, 0.4785396755, -0.0911376402, -0.1850548536, 0.8879707456, 0.0848669335, 0.8026661277, -0.6407725811, 0.345798552, -0.2878119051, 0.0585624576, 0.0229651779, 0.0009124061, 0.4633703828, 0.0418426171, 0.1666032523, 0.0622885674, 0.3378146589, -0.5348097682, -0.7973542809, 0.1654023379, 0.1180342585, 0.5488618016, 0.0326672941, -0.2919567823, 0.127063334, -0.3987648785, -0.3104567528, 0.2933396101, 0.3718986809, -0.1440401077, 0.4800890684, 0.8443795443, 0.0681180283, 0.6939719319, 0.3287388086, 0.7535708547, -0.3770612478, -0.7774816751, -0.6609836817, 0.2168137133, -0.1691755354, -0.1741455644, 0.7075410485, 0.5138685107, 1.0907216072, -0.0074925157, 0.6672893763, 0.011246508, 0.3479773998, -0.6096276641, 0.3597189486, -0.7700461149, -0.0003429535, -0.2806753218, -0.985352695, -0.8583079576, 0.5893645883, -0.2931985259, 0.289658308, 0.7958206534, 0.7139377594, -0.0992924273, -0.3659768701, 0.7604594231, 0.0752050802, 0.3166801929, 0.2834663093, 0.5508729219, -0.3408676982, 0.6612436175, -0.1362593621, -0.2679531276, -0.2060468048, -0.663803637, -0.9046646357, -0.4283872247, 0.0195208061, -0.0183257107, -0.0030471282, 0.9230274558, 1.0448527336, -0.6722637415, 0.0865646377, -0.3737640977, -0.2546239197, -0.1462969333, -0.1089842096, 0.5736649036, -0.9350207448, -0.9790175557, 0.2244573385, 0.1351968497, 0.2885517478, -0.1546002775, -0.1404370964, -0.0075200307, 0.2520252466, 0.511928916, 0.0241432302, -0.4918826818, -0.3935132623, -0.0674731657, 0.0914048329, 0.0471898131, 0.8592269421, -0.4935204983, 0.1737011075, 0.4122389853, 0.8819599152, 0.4339746535, -0.0777292028, 0.5729081035, -0.7529937029, 0.7111489773, 0.0962841958, 0.5313065052, 0.3514506519, -0.1414824128, 0.4458228648, 0.1325872988, -0.1907452792, -0.9583125114, 0.3049957752, -0.7378200293, -0.1377556622, 1.0258207321, -0.4160054922, -0.6346448064, -0.1053798869, -0.0419823527, 0.2731763721, -0.3335877657, 0.4349881709, 0.4975079894, 0.2266940922, -0.0238680504, -0.3745022416, 0.3503797948, 0.6604229212, -0.6185604334, 0.1872996688, 0.2628726661, 0.1914344132, 0.1839855164, 1.0639945269, -0.3288573027, -0.0885848552, 0.3917711079, 0.0228002705, 0.1625210047, -0.4904900491, -0.3017258346, 0.342389971, 0.1995963752, -0.2134877145 ]
http://arxiv.org/abs/2407.02814v1
http://arxiv.org/pdf/2407.02814v1
Images Speak Louder than Words: Understanding and Mitigating Bias in Vision-Language Model from a Causal Mediation Perspective
2024-07-03T05:19:45
2024-07-03T05:19:45
Zhaotian Weng, Zijun Gao, Jerone Andrews, Jieyu Zhao
cs.AI
cs.AI, cs.CL, cs.CV, I.2.7
Vision-language models (VLMs) pre-trained on extensive datasets can inadvertently learn biases by correlating gender information with specific objects or scenarios. Current methods, which focus on modifying inputs and monitoring changes in the model's output probability scores, often struggle to comprehensively understand bias from the perspective of model components. We propose a framework that incorporates causal mediation analysis to measure and map the pathways of bias generation and propagation within VLMs. This approach allows us to identify the direct effects of interventions on model bias and the indirect effects of interventions on bias mediated through different model components. Our results show that image features are the primary contributors to bias, with significantly higher impacts than text features, specifically accounting for 32.57% and 12.63% of the bias in the MSCOCO and PASCAL-SENTENCE datasets, respectively. Notably, the image encoder's contribution surpasses that of the text encoder and the deep fusion encoder. Further experimentation confirms that contributions from both language and vision modalities are aligned and non-conflicting. Consequently, focusing on blurring gender representations within the image encoder, which contributes most to the model bias, reduces bias efficiently by 22.03% and 9.04% in the MSCOCO and PASCAL-SENTENCE datasets, respectively, with minimal performance loss or increased computational demands.
[ -0.5493305922, -0.6393440962, 0.3765785098, 0.3992732465, -0.1151357219, -0.547890842, -0.1343632638, -0.4492468536, -0.2287523597, 0.6944301128, -0.5381768346, -0.0981843248, -0.9742488265, 0.0193272457, -0.4049384892, 0.6904696226, -0.0387439728, 0.8557733297, -0.1896301955, -0.2273650467, -1.0674741268, -0.2176347524, -0.4932739437, -0.3001838923, 0.4847964942, -0.098324433, 0.6714112163, 0.6834062934, 0.626406014, 0.2589902878, -0.036569342, 0.1029217988, -0.5246781707, -0.0534065664, -0.361390233, -0.3180410564, -0.0693670809, 0.0061717331, 0.777720809, 0.7620357871, 0.329249531, 0.4017495513, 0.3567982018, 0.6601048112, -0.9553927779, 0.5131090283, -0.557351768, 0.2695486844, -0.0228256658, -0.2909224033, -0.5456421375, 0.0872223005, 0.3485700488, -0.4725519419, 0.2668960989, 0.1619246304, 0.8919569254, 0.4983513355, -0.774130702, -0.1756027192, -0.8150175214, 0.9280668497, -0.4069618881, 0.5111134648, 0.2660625279, 0.1313717365, 0.044419907, -0.2096156031, -0.5574748516, 0.1080706269, -0.274911195, 0.0922045484, -0.5709181428, 0.0453258567, 0.5624248385, -0.1026285887, -0.1948783547, -0.0908149481, -0.4599555135, -0.1639150977, 0.411593914, 0.1319766194, 0.4943729937, -0.0004597182, -0.1537805498, -0.2718605101, -0.6329580545, -0.1420852542, 0.3350646198, 0.3474785984, -0.0902408808, 0.6546853185, 0.1790292263, 0.7520780563, 0.1316359937, -0.1294852793, 0.1445420086, -0.3827625215, -0.4620730877, 0.1507546753, 0.6332299113, 0.6667906046, 0.1572775394, 0.1400869787, 0.0046817586, 0.4850633144, 0.2442516983, -0.8035395145, 0.3663303256, -0.3597543538, -0.7068246603, -0.4866110981, 0.0288942736, -0.853538394, -0.7733165622, -0.5768925548, 0.5539259911, 0.1022147611, -0.3671859503, 0.2268937677, -0.3878411651, 0.5743780136, 0.0829578117, -0.704265058, 0.3628532588, 0.3699724078, 0.7041183114, 0.1944489181, -0.1398700178, -0.4054852724, 0.1985242516, -0.5114896297, 0.4468166232, -0.604824841, -0.3352881074, 0.3852098882, -0.0180540103, -0.1287857443, -0.5488613248, 0.6258568168, -0.2742222846, 0.3001900613, -0.8219709992, -0.3675835431, -0.1514230669, -0.1647200137, -0.7804351449, 0.7702866197, -0.3837721944, -1.0771831274, 0.8114752769, -0.5977749825, -0.5159399509, -0.463151902, -0.7419839501, -0.4530908167, 0.3880916238, 0.5328668356, 0.2820251584, -0.6033066511, 0.8078482151, -0.1481829733, -0.2701582313, 0.217925176, -0.683611393, 0.7027275562, -0.2007423043, -0.9173157215, 0.1243276075, -0.5801093578, -0.7274245024, 0.1900873035, 0.0275271069, -0.442612946, 0.3771771491, 0.0970438421, 0.4680016637, -0.3115103841, -0.4595355988, -0.157382682, -0.0581832677, 0.1127916723, 0.9220553041, -0.3676511347, 0.7135980725, 0.0500417501, 0.1400126219, 0.5400449038, 0.4799827933, -0.1532177776, -0.4841893315, -0.9899696112, -0.2918085158, -0.2479283363, 0.3104839623, -0.9889521599, 0.0024173323, -0.4007698298, -0.0683545694, -0.7176724672, 0.0871476233, 0.7009887695, 1.0193769932, 0.3103913367, -0.5316058397, -0.6037184596, -1.4300593138, -0.5614867806, -0.3226090372, 0.1170657724, 0.6665350199, 0.485075593, -0.2065548003, 0.9086951613, -0.5148070455, -0.6911212206, -0.0524181724, 0.2451269031, -0.0063955463, 0.2370634973, 0.6455504894, -0.9703059196, 0.0057277167, -0.2871383727, -0.8722298741, -0.6637339592, -0.12528193, -0.1560734659, 0.1043699682, 0.5541278124, -0.250336349, 0.8822831511, 0.4629684687, -0.7333803177, 0.3997993767, 0.1413845718, 0.1545317471, -0.6462417245, -0.0081327902, 0.3418573141, -0.0383620188, -0.6139502525, -0.2110990286, -0.1027120799, 0.076812759, -0.5613218546, 0.5335344076, -0.6368659139, -0.2062187046, -0.2995534837, 0.0067643649, 0.1327580065, 0.2857452333, 0.2664809525, 0.6389447451, 0.7613935471, -0.3892285526, -0.171720922, 0.1919906735, -0.4770404994, 0.5526744723, -0.6544821858, -0.2768857479, -0.6640140414, 0.1285889298, -0.8548788428, 0.1215832382, 0.3130875826, -0.1264362931, 0.2556900084, 0.0218580663, -0.500154376, -0.2537491322, -0.1551195383, 0.412135154, 0.3016057312, -0.546869576, 0.7296175957, 0.4681262076, 0.3249368072, -0.7063444853, -0.881647408, 0.1210480481, -0.0699238181, -0.6338114142, 0.0240872074, 0.1784081608, -0.3817920685, -0.0686987191, 0.2487390637, 0.0881339982, -0.110415794, 0.7075961232, 0.3155947626, -0.1361669898, 0.2888751924, 0.049276311, -0.0130071985, 0.2190066874, -0.1764415354, 0.4402208924, -0.0141014205, -0.3755632341, -0.1865665764, 0.5567629337, 0.5808544755, -0.1579632759, 1.074331522, 0.8577282429, -0.2630167902, 0.1494614184, -0.6378320456, -0.4203842282, -0.4165945947, 0.5127660036, -0.116992563, -0.8334038258, 0.2476195842, -0.03037256, -0.0854988322, 0.2297830433, 0.7215088606, 0.1568471342, 1.3025612831, 0.8308995366, -0.4812202454, 0.6808955669, -0.0963405445, 0.2552964985, -0.932554841, -0.2720654607, -0.2898058593, -0.34163028, -0.411077261, -0.6250241399, 0.2893940806, -0.3221018016, -0.3733721077, -0.0191604272, -0.3225032091, 0.2565461099, 0.7036043406, 0.1493121684, 0.0403092206, 0.1263359487, -0.0509881377, -0.4223027527, -0.6697077155, -0.356215924, 0.9429864883, 0.3370102346, 0.7693639398, 0.0269796383, 0.0458472483, 0.1941331625, 0.2635648251, -0.4435116649, 0.6041144133, -0.0006874182, -0.8631324172, 0.0352712385, -0.1983007789, -0.701197803, 0.5700973868, -0.4275560677, -0.5230730772, 0.826050818, 0.2054334134, 0.3245554566, 0.338591516, -0.607683301, 0.7010762095, -0.0531600267, -0.7709386945, -0.1512612402, -0.531235218, 0.5276174545, 0.0207986329, 0.4144800901, 0.1045441404, 0.0069566104, 0.6274412274, -0.2738943696, 1.3196126223, -0.1205787808, -0.1344888508, -0.076830782, -0.1168183908, 0.2091020793, -0.4490552247, 0.2314350605, 0.3566325009, -0.6535441279, -0.2918318808, -0.4411404431, 0.3985221982, -0.7711022496, -0.6116502881, -0.2839832008, -0.5869657397, -0.0436553806, 0.1995669752, 0.1929390877, 0.6594831347, -0.1717112809, -0.0273898914, 0.7161840796, -0.5352717638, 0.4045562148, 0.6161954999, -0.3819686472, -0.1307171285, 0.6375717521, 0.2172998339, 0.3084007204, 0.1909694821, 0.3113237023, -0.0706475675, -0.0074296249, -0.2369571626, 0.2762179375, -0.8132041693, -0.0495278761, -0.635287106, 0.0150726624, -0.4326278567, -0.1226707399, -0.2608977854, 0.230574131, -0.2901282907, -0.1602672189, 0.0523230955, 0.4507701099, -0.0162608866, 0.3428377211, -0.3474336267, 0.435326308, 0.3964062035, 0.1618530154, 0.127134338, -0.5135846734, -0.110954389, -0.0869389251, -0.245237872, -1.1487197876, 0.6690841317, 0.1771176457, 0.2876683176, 0.663556695, -0.2971562147, 0.8888892531, -0.7705208659, 0.766176641, 0.406950891, -1.0628080368, 0.7707357407, -0.2356517017, 0.3422743678, 0.2319195867, 0.1775505692, -0.2683958411, -0.4704145789, -0.3710719645, -0.7136932611, 0.5804532766, 0.3164612055, 0.1644500643, -0.0208757836, 0.0697831511, -0.2732290626, 0.4738987684, -0.8196968436, -0.4648462534, -0.0339189582, -0.0745482743, 0.0363659672, -0.5569954515, -0.215153113, -0.4235341251, 0.6145306826, -0.13434726, 0.2538084388, 0.4305768013, -0.44733724, -0.1714974046, 0.0601677336, 0.7990455627, 0.3769902289, 0.0490865111, 0.3556576371, -0.112305969, -0.6745066643, -0.0374098159, -0.2233136892, -0.6267861128, 0.2943619788, 0.6851423979, 1.3853987455, 0.3112984598, -0.6165781617, 0.8248224854, -0.2034065127, -0.0799322724, 0.0916631818, -0.225034833, -0.1786149293, 0.468557626, 0.2481095493, 0.2598510981, 0.5207033157, -0.5283063054, -0.0825018436, 0.3927381039, -0.9651984572, -0.0950446054, 0.7181693316, 0.0683093145, 0.1843947172, 0.403544277, 0.4165772796, -0.5830793977, 0.5559380054, 0.5605224371, 0.8749009967, -0.038133081, 0.2960152328, 0.3710784614, 0.8440932035, -0.230877459, 0.0920843259, 0.2057630271, -0.9826414585, -0.3784282506, -0.3682727516, 0.1017224044, -0.087330617, -0.8603324294, 0.2170167416, -0.1466531605, -0.5020316839, 0.0361761637, -0.3826465309, -0.9929775596, 0.1774102896, 0.3319507241, 0.6255730987, -1.4349651337, 0.4363520741, 0.4102165401, -0.5672938228, -0.7531411052, -0.3270077705, 0.2852421701, -0.8371416926, 1.3213127851, 0.0622839481, -0.1290287226, -0.3733998537, -0.7001165748, -0.5715947151, 0.948271811, 0.7868629098, -0.6376411915, 0.3317686617, 0.425711751, 0.3670049608, -0.5207924843, 0.3494967818, 0.5611678958, 0.6068120003, -0.1905722469, -0.9590245485, 0.1021208689, -0.1356376857, 0.2917574346, -0.000678101, -0.3126645088, 0.5209626555, -0.0992231593, -0.1374022514, -0.5639309287, 0.5695049763, -0.0183962286, 0.1806137413, 0.383671701, 0.3331840634, 0.4245792925, -0.2727462053, 1.3430532217, 0.1052128226, 0.0011033413, 1.1427739859, -0.2476833314, 0.5446298718, 1.0677952766, 0.0606154464, 0.2448899895, 0.0552674346, 0.0808071569, 0.4721966684, 0.316547215, -0.2643257082, -0.2210720479, -0.8179372549, -0.1228219718, 0.3586829305, 0.1531934887, -1.0441471338, -0.0720801726, 0.4368723333, -0.0013813967, 0.0859504119, -0.4556464851, 0.7719036937, 0.2324390411, -0.2654714584, 0.0418069586, -0.2968991697, 0.5731569529, -0.2948542535, -0.073051542, -0.1070415154, 0.1179810315, 0.0525955074, -0.5541285872, 0.211532563, -0.1092222482, -0.6130312085, -0.2851521671, 1.0683395863, -0.6171401143, -0.875849545, 0.5554178357, 0.3649989069, -0.2696428597, 0.0103397295, -0.6275190711, 0.6799529791, -0.1342495233, 0.0157876983, 0.1588712335, 0.03575534, -0.2926287353, 0.6090996265, 0.412650317, 0.2629934251, 0.3815813363, 0.5660923123, 0.8457846045, -0.32486853, -0.0258544851, -1.078365922, 0.4788831472, -0.3565230072, -0.0731881112, 0.7057942748, 0.2998406291, 0.6777127385, -0.3810461462, 0.5552219152, 0.3812395334, -0.1922778338, -0.362672478, 0.709008038, -0.4804367125, 0.0954763591, -0.7017597556, -0.8280927539, -0.4553527832, 0.652787745, -0.5621159673, -0.1520571262, 0.3656614125, 0.9076951146, 0.1881655455, -0.1886076033, 0.4235986769, 0.3743910193, 0.4159869254, 0.2676669061, 0.7756219506, -0.7966538072, 0.2425811589, 0.0712790415, -0.2607511282, -0.087580964, -0.9526628852, -1.0216342211, -0.6570509672, -0.5287720561, -0.1501847953, 0.1002846882, 0.4401484728, 0.7218081951, -0.3252559602, -0.2231231779, -0.055055242, 0.1882598996, -0.1170113087, -0.2326292098, 0.3378222883, -0.124012433, -0.5481695533, -0.1573745608, 0.5486656427, -0.1391708553, -0.4636713862, -0.0889700428, 0.0465259068, 0.4062942266, 0.9093170762, -0.1794398278, -0.8357564807, -0.2617796659, -0.1090086624, -0.1695465446, -0.1269448102, 1.0298637152, -0.7204545736, 0.7906729579, 0.4857637882, 0.5044029951, 0.2428181916, -0.5198386312, 0.9299775958, -0.6074836254, 0.3655843139, -0.2500351369, 0.6292550564, 0.4428183138, -0.126997292, 0.3451743424, 0.2689618766, 0.0015423866, -0.852786243, 0.2487137765, -0.8853553534, -0.2890715301, 1.210676074, 0.3040575683, -0.4081419408, 0.0124609051, -0.7275642157, 0.4452514052, -0.0890599713, 0.639302671, 0.7157008648, 0.4425900877, -0.3738548756, -0.7259918451, 0.4082513452, 0.5022541881, -0.5158118606, -0.0832837671, 0.7396029234, -0.0217014905, 0.1225958094, 0.4551787972, -0.4362991452, 0.15375337, 0.0598622672, 0.1956531703, 0.1429864913, -0.189335674, -0.4655655921, -0.1493255049, -0.2570054829, -0.0879757553 ]
http://arxiv.org/abs/2407.02783v1
http://arxiv.org/pdf/2407.02783v1
52B to 1T: Lessons Learned via Tele-FLM Series
2024-07-03T03:21:02
2024-07-03T03:21:02
Xiang Li, Yiqun Yao, Xin Jiang, Xuezhi Fang, Chao Wang, Xinzhang Liu, Zihan Wang, Yu Zhao, Xin Wang, Yuyao Huang, Shuangyong Song, Yongxiang Li, Zheng Zhang, Bo Zhao, Aixin Sun, Yequan Wang, Zhongjiang He, Zhongyuan Wang, Xuelong Li, Tiejun Huang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) represent a significant stride toward Artificial General Intelligence. As scaling laws underscore the potential of increasing model sizes, the academic community has intensified its investigations into LLMs with capacities exceeding 50 billion parameters. This technical report builds on our prior work with Tele-FLM (also known as FLM-2), a publicly available 52-billion-parameter model. We delve into two primary areas: we first discuss our observation of Supervised Fine-tuning (SFT) on Tele-FLM-52B, which supports the "less is more" approach for SFT data construction; second, we demonstrate our experiments and analyses on the best practices for progressively growing a model from 52 billion to 102 billion, and subsequently to 1 trillion parameters. We will open-source a 1T model checkpoint, namely Tele-FLM-1T, to advance further training and research.
[ -0.5307218432, -0.7725123763, 0.467638284, 0.0565873049, 0.0039061517, -0.2039289623, -0.3182069659, -0.6183858514, -0.0967654884, 0.7817747593, -0.5580767393, -0.2819516361, -0.6220164299, 0.1724671721, -0.6702156663, 0.9663185477, 0.1995665431, 0.0732593685, 0.1779358089, 0.123947084, -0.3279212415, -0.4916437864, -1.0455600023, -0.1004836485, 0.6802855134, 0.8203615546, 0.939319551, 0.849239707, 0.7299777865, 0.2061981857, -0.0267689489, 0.1360223144, -0.6876696944, -0.2114110291, 0.0210276693, -0.7355909348, -0.6498755813, 0.0715037286, 0.9026955962, 0.8255096674, -0.0297621228, 0.2706253231, -0.3112888932, 0.9995560646, -0.1795312464, 0.2079856843, -0.6749008894, -0.0236522406, -0.4178335965, 0.1284988075, -0.6350253224, -0.2747291625, 0.3481719196, -0.4720540643, 0.192580089, 0.1785482168, 0.6260043383, 0.5180857182, -0.5520169735, -0.0834581628, -1.0748667717, 0.9277213812, -0.8071680069, 0.5307212472, 0.5786201358, 0.3861276209, -0.1442783326, -0.8037411571, -0.1347243488, -0.2862530947, 0.3137277961, -0.1754555106, -0.242244944, 0.1243865415, 0.4162428379, 0.2159779817, -0.5866345763, 0.278147459, -0.7999840379, -0.0502490699, 0.801905632, 0.2510360777, -0.0625706762, 0.1752539426, -0.0938675329, 0.1719942987, -0.9769719243, -0.4497965574, 0.1267329156, 0.2828650475, -0.0461402796, 0.427018702, -0.2793701291, 0.5406822562, -0.1332155913, 0.1768805981, -0.227150172, -0.4056310058, -0.2780152857, -0.109396264, 0.6267031431, -0.0458794385, 0.8486900926, -0.1700919718, -0.0926531628, -0.3627646565, 0.3852368295, -0.9723401666, -0.1379063427, 0.0622579567, -0.4675837755, -0.0759935081, 0.1611290723, -0.6962573528, -0.373229444, -0.505066812, 0.2196557224, -0.5731466413, -0.3172864318, 0.1986182332, 0.0819759145, 0.3434216678, 0.45464921, -0.8581206203, 0.5978360176, 0.8943334818, 0.9063524008, -0.0257832482, -0.1122347787, -0.4474774897, -0.108900331, -0.4722978175, 0.549125731, -0.4033384919, -0.4087112248, 0.1156262159, -0.2380302995, 0.0407709517, -0.6433486342, 0.5791513324, -0.6841194034, 0.1811409146, -0.4182638526, -0.717443049, -0.3794549704, -0.0318736136, -0.7744769454, 0.7849945426, 0.2134082615, -0.6187683344, 0.0991670787, -0.8794056773, -0.368288219, 0.0614429824, 0.0562705882, -0.2851771116, 0.4487315118, -0.053141173, 0.4738082886, -0.6322287917, 0.1602538824, -0.303099066, -0.5530965328, -0.0211137347, -0.6920170784, 0.7100987434, 0.4255500734, -0.0215076841, -0.0389549509, -0.7085812092, -0.0691537932, 0.1760917008, -0.4170278609, 0.0740110353, 0.2090132087, -0.0409913771, -0.0069159903, 0.2064817846, -0.4641483426, 0.0824967176, -0.5248481035, 0.763284862, 0.4675523341, -0.1197077036, 0.3751584888, -0.536062181, 0.5433520079, -0.1412628144, 0.2464580089, -0.2413768619, -0.3123889863, -0.8800725937, -0.2353021204, 0.3564071655, 0.5102400184, -0.1829890311, 0.2381529957, -0.4661167264, -0.5432988405, -0.2582926452, 0.1994267255, -0.192525655, 0.0559807234, 0.3178880811, -0.0832301676, -0.4597129822, -0.9367806911, -0.0464602262, -0.137085855, -0.1641798615, 0.2524636686, 0.4121570885, -0.309307009, 1.1442462206, -0.3957023323, -0.1914024353, -0.1404236555, 0.0537398085, -0.0065943422, 0.3605289161, 0.5181186795, -0.6417292356, -0.3931331635, 0.0640027747, -0.5611476898, 0.1292699128, 0.0821414292, 0.1663797349, 0.2870473266, 0.6731009483, -0.6922430992, 0.1740236282, 0.2622516751, -0.2071332037, 0.5765512586, -0.0972309411, 0.0230331235, -1.0475988388, -0.1468030959, 0.2489898205, -0.5019956231, -0.6621156335, -0.026065195, -0.0892621428, -0.1428976804, -0.4195194542, 0.3797375262, -0.3768255115, -0.0559718423, -0.268062979, -0.0535362549, -0.6301442981, 0.2341400236, -0.1256160736, 0.7730978131, 0.5553840995, -0.5214601159, 0.5021399856, 0.0252372045, -0.3304544985, 0.1815449148, -0.768379271, 0.3322745264, -0.0228155181, 0.1779795587, -0.8971430659, -0.306995362, -0.2020863891, -0.1828828901, 0.383621335, -0.020740781, -0.8294480443, -0.4224542975, -0.3811122775, 0.4101057649, 0.5291673541, -0.34447366, 0.5653781891, 0.2734998465, -0.3772186935, -0.0239937231, -0.7378678918, 0.1679772735, -0.3868560791, -0.878344357, -0.01867925, -0.1383474618, -0.3858509958, -0.19546251, -0.00710516, -0.1363201141, 0.1572829634, 0.2836912274, 0.0779870525, -0.6896467209, 0.2164543718, -0.0413278788, -0.0269440524, 0.3902911842, -0.4864923358, 0.5186473727, -0.3530994058, -0.1339572668, -0.433586657, 0.2659826875, 0.6039964557, -0.2290120721, 0.7273899317, 0.4625960588, -0.5153571963, -0.3821004629, -0.4963126779, -0.3078503311, -0.5369169116, 0.6986271143, -0.1881479174, -1.147957325, 0.4793496132, -0.3831775188, 0.1833395511, 0.5311208963, 0.4477701485, 0.082597062, 0.9217352867, 0.9452329874, -0.4884875417, 0.8126066327, -0.1696304232, 0.0077344459, -0.3254181445, 0.1272145659, -0.5566875935, -0.2732509673, -0.7212823629, -0.6481583714, 0.5393927097, -0.0288899038, -0.6716447473, 0.2383892238, -0.093124032, 0.6911905408, 0.5047777295, 0.119237043, 0.3865172863, 0.0356587023, 0.3883942366, 0.2340488881, -0.7601261735, -0.6338204741, 1.2667179108, 0.8746700883, 0.6268663406, 0.1120023057, 0.4595080316, 0.3232136071, 0.3656592965, -0.8574979901, 0.7612529993, -0.4982383549, -0.9003716111, -0.6575290561, -0.5952448845, -0.6581282616, -0.175988555, 0.1161216572, -0.7001312375, -0.3504760563, -0.0244507845, -0.2684001327, 0.2264084965, -0.7108303905, 0.6013171077, -0.1137670353, 0.0514140725, -0.7570411563, -0.8857833147, 0.5220393538, -0.3384705484, 0.1434847862, -0.120283857, -0.1892325878, 0.8544765711, -0.3199067116, 0.8037310839, 0.0232264604, -0.4420630038, 0.3942338228, 0.1145821586, 0.6047176123, -0.0021634032, -0.4358370602, 0.2014603764, 0.0099332593, -0.4108081162, -0.2490696609, 0.7393108606, -0.827216208, -0.5576593876, -0.001936933, -0.9042976499, -0.4627423882, 0.251196295, 0.142483294, 0.5490134954, -0.2792068124, 0.4010686576, 1.0194685459, -0.1688187718, 0.4299252033, 0.5457751155, -0.3345437944, -0.4277575612, 0.9052555561, 0.4160889983, 0.6343679428, 0.4524800181, 0.1353978366, 0.0104216933, -0.7151312828, -0.127667293, 0.6267372966, -0.5751143098, -0.1218823418, -0.1887243241, -0.3393323123, -0.3066630363, 0.1407621205, -0.5922563076, -0.5342450142, -0.4465308189, -0.0391365774, 0.61793226, 1.1507891417, 0.1017236933, 0.587726593, -0.8016601205, 0.0858550742, -0.0159179624, 0.4906950295, -0.1101465002, -0.8348463178, -0.4668804109, 0.2811503708, -0.2438628227, -0.5423617363, 0.020933602, 0.3903234005, 0.0646698549, 0.4856284559, -0.0499015711, 0.3729897439, -0.646686554, 0.760864079, -0.1343062669, -0.8831244111, 0.4861473739, -0.8118617535, 0.355922997, 0.3190920949, 0.6188414097, -0.4183506668, -0.314446032, -0.5074071884, -0.5103663206, 0.7476786375, -0.1482166648, 0.4002553225, 0.2615003288, 0.7096334696, 0.2371492237, 0.0274712387, -0.3862944543, -0.2459348589, 0.0937181339, -0.4157935381, -0.0266919937, -0.275950551, 0.1518167704, -0.329485029, 0.7233332992, -0.1998921186, 0.1554187387, -0.1588227451, 0.0691751391, -0.2689654827, 0.1567680836, 0.7028615475, 0.6866059899, -0.0673225075, 0.0016806832, 0.3667468727, -0.4594550133, -0.3436698914, 0.1800566316, -0.0778145194, -0.307280153, 0.4993347824, 0.6770616174, 0.0634662658, -0.6667030454, 0.1677608341, 0.1734490097, -0.5692849755, -0.2080336958, 0.2490222752, 0.1242191494, 0.3295240998, 0.497451663, -0.1560180187, -0.1227182895, -0.513278842, 0.4824565947, 0.4764164984, -0.417716682, -0.4331618547, 0.7411059737, 0.2163663208, -0.1844951808, 0.8072871566, -0.0139310677, -0.460161984, 0.6385151148, 0.4274243116, 0.6626228094, -0.1104068011, 0.2803818882, 0.1629779339, 0.5709555149, -0.3999879062, 0.1582199037, 0.2460255772, -0.5256438851, -0.4726704657, -0.4905208051, -0.4876415133, 0.1891133487, -0.3912895918, 0.5404596329, -0.7989821434, -0.0839236602, 0.0549349114, 0.4319585264, -0.6194866896, 0.266405195, 0.2863212526, 1.2213190794, -0.626049459, 0.9605952501, 0.5164506435, -0.4381589592, -1.0354715586, 0.0226084255, 0.1579440832, -0.7880425453, 0.5430270433, 0.0657589585, -0.0647773519, 0.3605555296, -0.8771307468, -1.0852313042, 1.177382946, 0.6623945832, -0.7737464309, -0.0557021536, 0.6036935449, 0.6463977098, -0.2070435137, 0.2543625832, 0.7216568589, 0.4557221234, -0.0282572675, -1.2603747845, 0.0792575702, 0.2474877536, -0.1772401482, 0.4439607561, -1.0493385792, 0.7438055873, -0.4486477673, -0.1574885547, 0.2379672229, 0.899610877, -0.2746647596, 0.0925991312, 0.3749388158, 0.3107613325, 0.7753660679, 0.0247360468, 0.9305461645, -0.112047784, 0.3558267355, 1.0095090866, -0.3683466911, 0.8973175287, 0.1520423144, -0.4673402011, 0.2155628204, 0.65155375, -0.119417049, 0.1659560055, 0.3836806118, -0.1219202504, -0.2183279097, -0.2725092471, -0.1738258302, 0.3728738725, 0.2165596187, -0.2535651922, -0.1587374806, 0.0155604556, 0.0583201386, -0.1143868193, -0.3932669461, 0.7230782509, 0.3778198063, -0.2548464239, 0.470721066, 0.0107299015, 0.5431777835, -0.6367992163, 0.1779136658, -0.2600208223, 0.3225550652, -0.1090221852, -0.6476774812, 0.427854389, 0.1221504956, -0.3839451671, -0.0894906595, 0.4789778888, -0.4321532845, -0.6618359089, 0.2052496374, 0.4318365455, 0.2770382464, -0.3027565479, -0.3467696607, 0.0799820945, -0.0803103745, -0.4182940125, 0.3498100936, 0.6423871517, -0.1767712981, 0.9913716316, 0.2383063436, 0.2145846486, 0.2830106616, 0.1437600851, 0.6724109054, -0.8747279048, -0.0794793516, -0.7828303576, 0.2320092916, 0.2662730217, -0.3550622165, 0.584141314, 0.6270803809, 0.8191890121, -0.0009827417, 0.760599196, 0.0234166924, 0.4823469222, -0.4178330004, 0.5144451857, -0.4646987021, 0.3707449734, 0.1173062399, -0.7897880673, -0.2224526554, 0.2004059404, -0.31916219, 0.1647617519, 0.631749928, 0.8070107102, 0.0696219057, 0.5241993666, 0.3188947141, 0.411123842, 0.475491792, 0.5224382877, 0.606249392, -0.519349277, 0.6436991692, -0.0447011292, -0.115033105, -0.1042878926, -0.7484395504, -0.8777770996, -0.3292970061, -0.4459349811, 0.1270077676, -0.1830048859, 1.0869424343, 0.8764602542, -0.8934030533, -0.2318649739, -0.269639045, -0.0061073638, 0.0074173878, -0.1972122341, 0.010449823, -0.2454091758, -0.7048426867, 0.4541820586, 0.0518525727, -0.0247151479, -0.4802151918, -0.1117401198, -0.0755541995, 0.4065960646, 0.6667808294, 0.1165238395, -0.5819061995, -0.4322413206, 0.068974942, -0.0214098804, -0.0300335232, 0.7425607443, -0.3730812967, -0.1754127592, 0.3882443905, 0.7520675063, 0.4787641764, 0.0620565452, 0.9207099676, -0.7125088573, -0.1956963986, 0.2275283784, 0.162412107, 0.1626846492, -0.2480305284, 0.7487341166, 0.0728681162, -0.8538023829, -0.7781920433, 0.1896436512, -1.0382242203, -0.2642622292, 1.2640116215, 0.1612349749, 0.3381657302, 0.1745907217, -0.2212178409, 0.2090633214, -0.3395778537, 0.4839854538, 0.863140285, -0.1124123856, -0.2280813903, -1.0336924791, 0.3704818189, 0.5007920861, -1.0669723749, 0.3611803949, 0.5304224491, 0.3942126334, -0.0480804741, 0.3451188803, 0.0997401476, 0.0882533193, 0.0060828258, -0.5484789014, -0.1665254831, -0.6154642105, -0.3922668397, 0.0981440097, 0.2609713078, 0.0742342174 ]
http://arxiv.org/abs/2407.02776v1
http://arxiv.org/pdf/2407.02776v1
A Framework for Quantum Finite-State Languages with Density Mapping
2024-07-03T03:06:37
2024-07-03T03:06:37
SeungYeop Baik, Sicheol Sung, Yo-Sub Han
cs.CL
cs.CL, quant-ph
A quantum finite-state automaton (QFA) is a theoretical model designed to simulate the evolution of a quantum system with finite memory in response to sequential input strings. We define the language of a QFA as the set of strings that lead the QFA to an accepting state when processed from its initial state. QFAs exemplify how quantum computing can achieve greater efficiency compared to classical computing. While being one of the simplest quantum models, QFAs are still notably challenging to construct from scratch due to the preliminary knowledge of quantum mechanics required for superimposing unitary constraints on the automata. Furthermore, even when QFAs are correctly assembled, the limitations of a current quantum computer may cause fluctuations in the simulation results depending on how an assembled QFA is translated into a quantum circuit. We present a framework that provides a simple and intuitive way to build QFAs and maximize the simulation accuracy. Our framework relies on two methods: First, it offers a predefined construction for foundational types of QFAs that recognize special languages MOD and EQU. They play a role of basic building blocks for more complex QFAs. In other words, one can obtain more complex QFAs from these foundational automata using standard language operations. Second, we improve the simulation accuracy by converting these QFAs into quantum circuits such that the resulting circuits perform well on noisy quantum computers. Our framework is available at https://github.com/sybaik1/qfa-toolkit.
[ -0.4149453044, -0.9437502623, 0.8084744811, -0.0452156588, -0.4400744438, 0.4242449105, 0.2475664169, -0.1478491426, 0.2634520233, 0.2502235174, -0.1128552556, -0.2220790088, -0.1464214772, 0.0676862001, -0.7971996069, 0.3922741711, -0.2331289649, -0.2760800719, 0.1288603544, 0.0818929076, 0.0629776642, -0.4490351677, -0.6366686225, -0.0952443406, -0.0623200424, 0.0465477183, 1.265427947, 0.5921330452, 0.1177475527, 0.3558359742, 0.0657040849, -0.0952194035, -0.4017227888, -0.1147587299, -0.0106225396, -0.3908166587, -0.3018002808, -0.3921185136, 0.9857217073, 0.4803365171, -0.4184700847, 0.0101394001, -0.527818203, 0.7166349888, -0.5942001939, -0.0104339533, -0.1961065978, 0.3082486391, -0.1798717529, -0.2389853001, -0.1427036822, -0.504363656, 0.0068374211, -0.9495130181, -0.0959148407, 0.2012229264, 0.6213396192, 0.1412825435, -0.9510695934, -0.0375900306, -0.9600325227, 0.5401292443, -0.6825780272, 0.8064513803, 0.1783377528, 0.4900751114, -0.7214403749, -0.4263953567, -0.9869139791, -0.1514879316, 0.0357104465, 0.0400619991, -0.1019709185, 0.4256846905, 0.1858792901, 0.7736129761, -0.6107662916, -0.2225835323, -0.0586440787, -0.1429929435, 0.8209676743, 0.2887510359, 0.4806366861, 0.1893884391, -0.1325729042, -0.5046676397, -0.4853136539, 0.0332949795, 0.2265601009, -0.0401841216, -0.343011111, 0.260140866, -0.5093443394, 0.8096487522, 0.299186945, -0.2860571742, 0.0667186677, -0.3269189298, -0.2972288728, -0.0887743533, 0.7372547388, -0.0099257668, 0.2234526575, -0.1637227088, -0.3384307921, -0.0598959289, 0.1918431371, -0.9068533778, -0.4158346951, 0.5082545877, -0.387928009, -0.1779150367, -0.1708863378, -0.7092775702, -0.1979669929, 0.0275298432, 0.8171414733, -0.3579399288, -0.6546601653, 0.3702382147, -0.1092148498, 0.2402514666, 0.1530085504, -0.9346081614, 0.618163228, 0.2629710138, 0.5564924479, 0.0484616943, -0.0238678884, -0.2877813876, 0.3506906927, -0.8895830512, 0.6998897791, -0.4513010979, -0.5687766671, 0.0078179305, -0.4181484282, 0.0701116994, -0.3387804329, 0.0697648302, -0.7647235394, 0.0225884672, -0.1210559309, -0.7227068543, -0.3830234706, -0.280913353, -1.0489925146, 0.861505568, 0.5327166319, -0.0893454552, 0.0939166248, -0.7537206411, -0.6737521291, 0.0187959019, -0.4176919162, -0.2399221361, 0.2932130098, -0.2594426572, 0.1123048961, -0.553129375, 0.3137748539, -0.30153054, -0.6086028218, 0.5387483835, -0.0077178068, 0.9064105749, 0.5162764788, -0.5173988342, 0.1050897092, -0.99220258, 0.0776085407, 0.0488714911, -0.356870383, -0.1749528795, 0.2107849121, -0.0501369201, 0.2827760279, 0.1527699083, -0.3865486085, 0.0038286289, -0.5162420273, 0.5762836933, 0.5616932511, 0.181418851, 0.7386333942, -0.2709664702, 0.6413207054, 0.2851751149, 0.1989177614, 0.1469093114, -0.4302048981, -0.6567691565, -0.3041691482, 0.2730126679, 0.4576092958, -0.7217485309, 0.4357943535, -0.0085655013, -0.5324772, -0.4326103926, -0.0003149995, 0.2163763642, 0.1260448992, 0.1819456667, -0.4139506817, -0.2824615538, -0.9737470746, -0.0759325251, -0.5250483155, 0.3918607533, -0.2612207234, 0.3369838595, -0.0747616291, 0.8762707114, -0.2328970134, 0.004792836, 0.2600251734, -0.2039795369, -0.0215139128, 0.8590590954, 0.4925637543, -0.9646780491, -0.271541208, 0.0948042423, -0.6666224003, 0.3028908074, -0.3524474502, -0.6606805921, 0.0134139257, 0.1623023748, -0.6733318567, 0.3612849712, 0.4060319364, -0.6088203192, 0.4751178622, 0.1799455285, 0.4539436102, -1.1457611322, 0.089936994, -0.2472609729, -0.205827117, -0.7851518989, 0.6742994785, 0.0507449172, -0.202073127, -0.2986326218, 0.7247141004, -0.2381335646, -0.2898246944, -0.1389130056, -0.1657730043, -0.0234498512, 0.5271246433, -0.1525133848, 1.0301121473, 0.4754523635, -0.7773451209, 0.2521403134, 0.0431608893, -0.2453688681, 0.3196633756, -0.4289084673, -0.0532313325, 0.1943543404, 0.059643399, -0.9063134789, 0.0198901966, 0.1071241647, -0.1963271648, -0.011137235, 0.2366017401, -0.8814635277, -0.0834531337, 0.1144789085, 0.7313859463, 0.9115719199, -0.2843530476, 1.1485294104, 0.5586569905, 0.3605533242, 0.0553849787, -0.3742302656, -0.3232158124, -0.1207193211, -0.4440832734, 0.4036081433, -0.4847917855, -0.2971246839, 0.1568207741, -0.104811348, -0.5793574452, 0.7188820839, 0.2003368735, -0.106837146, -0.3138348162, 0.2547523975, 0.7467580438, 0.0337630361, 0.1102068424, -0.3863934577, 0.3600723445, -0.3196309805, -0.1952495128, -0.6738544703, 0.5803055763, 0.7007811666, -0.1941027641, 0.4651565552, 0.2568715513, -0.7024209499, -0.2114390582, -0.227873385, -0.2101891637, -0.5486527681, 0.1034130901, -0.9855303168, -1.1246000528, 0.5322518945, -0.2827689052, 0.3767654896, 0.5137850046, 0.557744503, -0.117871128, 1.3466693163, 0.8092974424, 0.1768496335, 0.4357862473, -0.0583188087, 0.385499388, -0.382846266, 0.3075902164, -0.2389541417, -0.1374278218, -0.4003515244, -0.4086791277, 0.2587963641, 0.6036303639, -0.4843378067, 0.2361842543, -0.2373894602, 0.3512319326, 0.3263374865, -0.3524268568, 0.3657597601, 0.2266463339, -0.3780661821, 0.2888685167, -0.8530260921, -0.2095573395, 0.8855136633, 0.1557856202, 0.3273383081, 0.5421956182, 1.092520237, 0.335422188, 0.0120446282, -0.5417678952, 0.7403976917, 0.1563186347, -0.6885821819, -0.4484444261, -0.5324491262, -0.6104984283, 0.3625582457, -0.3537840247, -0.3170093, 0.4578597546, 0.3698728085, -0.7926262617, 0.1668777764, -0.6082704067, 0.7515800595, -0.0827011466, -0.1170689389, -0.6494309306, -0.0710189342, 0.5158011913, -0.405585587, 0.4716578722, -0.0464342088, -0.006051125, 0.5930651426, -0.4928454161, 0.5508282781, -0.0098035103, -0.5360337496, 0.4447226226, 0.6679427624, 0.2721557617, 0.1458884627, -0.2033083886, -0.1237228662, 0.4841057658, -0.7126742601, -0.6946504116, 0.4760892987, -0.8228241801, -0.4975819588, -0.2933370471, -0.5424230099, -0.1891335249, 0.3947823048, -0.2890892327, 0.447532177, -0.2911505401, -0.5045567751, 0.7453303337, -0.0244753771, 0.0137276491, 0.7896605134, -0.6341845393, -0.314201057, 1.1040481329, 0.1769398749, 0.1610591412, 0.3995969296, 0.1260918081, -0.2123973519, -0.4605240524, -0.8695055246, 0.0577905923, -0.6664062738, 0.0039609573, -0.3335623443, -0.1370548904, -0.452208817, -0.318351984, -0.3391869664, -0.7461038232, 0.0524362884, 0.0843918622, 0.5279477239, 0.5497870445, -0.2745550275, 0.361502409, -0.6109187603, 0.6168132424, 0.5930063128, 0.4054494202, 0.1068065315, -0.3178855479, -0.5425105095, -0.0501568802, 0.0699715614, -1.119289875, 0.0059212241, 0.4914099574, 0.5459362864, 0.4107578397, 0.135774374, 0.9521507025, -0.3060059845, 0.6102529168, 0.0182646681, -1.2488453388, 0.45985201, -0.2202026397, 0.2511534393, 0.5779522061, 0.329973191, -0.1842009872, -0.6026592255, -0.6577712297, -0.5180641413, 0.1197854728, 0.1395097375, -0.0478779748, -0.2522672415, 0.6544053555, -0.1737013757, 0.3227337003, -0.2887510657, -0.2751406133, -0.1868225336, -0.4537231028, 0.023806408, -0.2110916674, -0.2820126712, 0.0073240022, 0.7081494331, -0.1913245171, 0.3059267104, 0.2409305871, -0.4797794819, -0.5629600286, 0.0924630836, 0.622684598, 0.552441597, 0.0615006834, 0.2091943175, -0.0782169029, -0.3934961855, 0.4771733284, 0.118015945, -0.6173093915, -0.087091513, -0.1046422422, 0.6668134332, 0.526335299, -0.9074025154, 0.0913622826, -0.0513873883, -0.2175141573, -0.4815913141, 0.3218947351, 0.0876715407, 0.3891628087, 0.4499308765, -0.4737212956, 0.6526227593, -0.5443719029, 0.2553906739, 0.2429036796, -0.0318827182, -0.3709461391, 0.6674398184, 0.1415998638, -0.271671623, 0.3306985497, -0.6358368397, -0.4287691414, 0.5489814878, 0.6660048366, 0.8715789914, -0.3628656268, 0.1739497036, 0.6563111544, 0.3431207538, -0.0388274081, 0.6446222663, -0.338016361, -0.6835593581, -0.2742635012, -0.9404321313, -0.2689999938, -0.3209302127, -0.6021119952, -0.1836591363, -1.0355488062, -0.3048446178, -0.3309163153, 0.1989429146, -0.4618206322, 0.2111482024, 0.0940617844, 0.8314890862, -0.8843067288, 0.9150780439, 0.7572668791, -0.286318779, -0.8139414787, -0.2320632637, -0.0325354412, -0.5111185908, 0.2414955497, -0.3156930804, -0.2762353718, 0.6960249543, -0.1511580497, -1.4008414745, 1.0192297697, 0.1478621215, -0.6930984855, 0.0991081446, -0.0383080319, 0.4086558819, -0.233597219, -0.0848015174, 0.656037569, 0.2833765745, -0.5763355494, -0.7823386192, 0.5369717479, -0.4047925174, 0.3999814689, 0.5965607166, -0.7302652001, 0.8889747858, -0.1214613393, -0.634583652, 0.297154665, 1.0655084848, 0.4884991944, -0.157339707, 0.7166742086, 0.7084417343, 0.6746620536, 0.1947992593, 0.8100050092, -0.7205170989, 0.1448145211, 0.6699086428, -0.4259732664, 0.9129322171, 0.533999145, -0.3886009157, 0.9757450223, 0.3903869689, 0.1628501862, 0.3141110241, 0.3615343869, -0.3016955853, -0.5606500506, 0.2928631008, -0.3777014315, 0.0183308329, 0.5068598986, 0.0922842547, -0.1375338584, 0.0223355908, -0.2958855331, 0.1915632486, -0.1717750579, 0.5955481529, 0.1104942337, -0.2353207618, 0.8189631104, 0.1289909482, 0.2261548638, -0.4351097345, -0.2860132754, -0.2087315023, -0.4860111773, -0.1036705896, -0.3739382029, 0.1620413959, -0.4116680622, -0.2857129276, 0.2975549102, 0.4705170989, -0.4680372775, -0.3657175601, 0.1155936122, 0.4033339322, 0.2789661288, 0.290589869, -0.7753306031, 0.2117118835, -0.2374228537, -0.2015753388, 0.4448390901, 0.3643094897, -0.2899324298, 0.6057130098, 0.8339985013, -0.2399695367, 0.3626523018, -0.2933995724, 0.5548847318, -0.8071309924, -0.8625166416, -0.3772061169, 0.3209291697, 0.1693409979, -0.3265190125, 0.4943377078, 0.5114091635, 0.6917485595, 0.0438241363, 0.6802425385, -0.0005241073, 0.1733249575, -0.6369718909, 0.9698594809, -0.7757152319, -0.1074272767, -0.0148280459, -0.7371823788, 0.0255043823, 0.9964621067, 0.1813416779, -0.0094208093, 0.6803836823, 0.8085871339, 0.2107273787, -0.0227942709, 0.6359781623, 0.3263575435, 0.1857785285, 0.9029666185, 0.5866348147, -0.7114768028, 0.2026628107, -0.5345572829, -0.2730209827, -0.2424075305, -0.3626215458, -0.5302202702, -0.9058299065, -0.5495939851, -0.2866563797, 0.1348743737, 0.6673334241, 0.6867313385, -0.7644686699, -0.6375813484, -0.3181999922, 0.1513000727, -0.3811734915, -0.2463724613, 0.1899188459, -0.1250053644, -0.6241868734, 0.576397419, 0.3505641818, 0.4898976088, -0.5312827826, -0.330555141, -0.0061945431, 0.4521763623, 0.6883422732, 0.6853116751, -0.5521782637, -0.0657422394, -0.1604347527, -0.3289545774, -0.2626293898, 0.6171643734, -0.9958145022, 0.5120768547, 0.308686167, 0.7706225514, 0.2223147601, -0.4744452536, 0.9257979393, 0.0918158516, 0.1084419265, 0.0835173801, 0.1085652635, -0.1527029723, -0.4221614301, 0.2242008299, 0.1105685309, -0.2552946508, -0.9631328583, 0.6261463761, -1.0312246084, -0.3226248622, 0.8032705188, 0.2121309042, -0.4939729571, -0.2689147294, 0.2151862979, 0.2993712723, -0.344361037, 0.778365612, 0.4365152419, 0.1298573017, -0.1692570746, -0.4490147233, 0.8138964772, 0.7888173461, -0.5514202714, -0.3576439321, 0.5032131672, 0.216800034, 0.1920254827, 1.1834751368, -0.1664434075, 0.9749697447, 0.0910571739, 0.2898290753, 0.2314374, -0.1897264123, -0.6340749264, 0.2010848224, 0.3816542029, 0.2660657167 ]
http://arxiv.org/abs/2407.02775v1
http://arxiv.org/pdf/2407.02775v1
MLKD-BERT: Multi-level Knowledge Distillation for Pre-trained Language Models
2024-07-03T03:03:30
2024-07-03T03:03:30
Ying Zhang, Ziheng Yang, Shufan Ji
cs.CL
cs.CL, cs.LG
Knowledge distillation is an effective technique for pre-trained language model compression. Although existing knowledge distillation methods perform well for the most typical model BERT, they could be further improved in two aspects: the relation-level knowledge could be further explored to improve model performance; and the setting of student attention head number could be more flexible to decrease inference time. Therefore, we are motivated to propose a novel knowledge distillation method MLKD-BERT to distill multi-level knowledge in teacher-student framework. Extensive experiments on GLUE benchmark and extractive question answering tasks demonstrate that our method outperforms state-of-the-art knowledge distillation methods on BERT. In addition, MLKD-BERT can flexibly set student attention head number, allowing for substantial inference time decrease with little performance drop.
[ -0.6804900169, -0.888728857, 0.5420455933, 0.1562651992, -0.267968595, 0.2180323899, -0.278047353, -0.2365141362, -0.1222624704, 0.2813059986, -0.591769278, -0.3711439967, -0.8359566927, -0.1843823642, -0.4589861035, 1.0978105068, 0.2196982056, 0.1755671799, -0.3793467283, 0.1990053356, -0.3173749149, -0.6377265453, -0.5267155766, -0.2420033216, 0.7755373716, 0.3295111954, 0.2192315012, 0.4200047851, 0.5528175831, 0.3439514339, -0.2865804732, -0.0528425984, -0.6289082766, 0.3638971746, 0.0020789495, -0.5102827549, -0.341437161, 0.0181591026, 0.4875112772, 0.914956212, -0.3193006516, 0.2706317306, 0.4170916378, 0.9224646688, -0.7649208307, -0.0257265959, -0.7823929787, -0.0315161236, -0.0103068948, 0.1107065901, -0.4411445856, -0.445964843, 0.5541982651, -0.4294892251, 0.3472257257, -0.3055803478, 0.7566182613, 0.562418282, -0.4387901425, -0.0879893228, -0.8735180497, 0.8476042747, -0.9243575931, 0.4072825611, 0.4642178714, 0.5701156855, 0.0570399165, -0.9597694874, -0.7268850207, 0.0314529911, 0.0482214168, -0.0129563138, 0.3280272484, 0.307079494, 0.4776640534, 0.4375779927, -0.3097289503, -0.2307916135, -0.4760573506, 0.0417630076, 0.2720457315, -0.2726273835, 0.0310054831, 0.138801679, -0.453222841, -0.2863407731, -0.5131372809, 0.0989055336, 0.2665368021, 0.2476800829, 0.3985022604, 0.2690725327, -0.1789089739, 0.8425741792, 0.1864841133, -0.5133067369, 0.1276652813, -0.1150722504, -0.2861339152, 0.1540775448, 0.3773015738, 0.0564732105, 0.4586593509, -0.0399965867, -0.0101912478, -0.1821212023, 0.2496886849, -1.140927434, -0.6260719299, 0.2627173662, -0.5765935779, -0.2976751328, -0.0304499324, -0.7521906495, -0.2580545545, -0.4155909717, 0.4702227414, -0.436835438, -0.5227181911, 0.0194699094, -0.4650507271, -0.1156325489, 0.3027676344, -1.0229014158, 0.0851514488, 0.5768298507, 0.555644989, -0.0297307633, -0.3615372181, -0.1062199026, 0.2816019654, -0.0476808883, 0.5335754156, -0.563819468, -0.1276529431, -0.2273252755, -0.3242786825, 0.0594309643, -0.5819445252, 0.3395242989, -0.410186857, 0.1428554058, -0.5207506418, -0.9079360366, -0.2186294645, 0.22963202, -0.6843024492, 1.2054970264, 0.1315344721, -0.8782483339, 0.6575918198, -0.4380181134, -0.4160817862, -0.0120079843, 0.0551013425, -0.2690022886, 0.2147126794, 0.599965632, 0.6077269912, 0.0528752804, 0.331302166, -0.5492274165, -0.1255514324, -0.113221921, -0.3819966316, 0.9837964773, 0.3519101441, -0.0137351658, -0.1673863679, -0.8208592534, 0.0393202454, 0.0121591706, -0.5091052055, -0.7424398661, -0.1440135539, -0.2532766759, 0.3100363016, 0.5135614872, -0.6039095521, 0.4614262581, -0.2816140056, 0.27076298, 0.8155593276, 0.148347944, 0.3746796548, -0.128039822, 0.2993996739, 0.1999773681, 0.1705865413, -0.1178494319, -0.5667678714, -0.8582376838, -0.3990740776, 0.4732604325, 0.3160098493, -0.8162804842, 0.4786512554, -0.0153600918, -0.5844733715, -0.8598525524, 0.2579069138, 0.2883301973, 0.8496032357, 0.4121453762, 0.0751640499, -0.5519847274, -0.7961136699, -0.1333530843, -0.1338503957, -0.1017378941, 0.0544866845, 0.1564667076, 0.1127416193, 1.0806040764, -0.7559554577, -0.2198284119, -0.2565550506, 0.4643170536, 0.3038063049, 0.5624533296, 0.810710907, -0.8144540191, -0.8741301894, -0.315640837, -0.4865635037, 0.0303765181, 0.1348942965, -0.2538845837, -0.009959369, 0.4616868496, -0.5271511078, 0.2328415662, 0.504370749, -0.090715237, 0.5137539506, -0.3331430554, 0.25300318, -1.3469588757, -0.0119444113, -0.1990786791, -0.1841852963, -0.8339331746, -0.1075846776, 0.1594358981, 0.0124863228, -0.4234651029, 0.0805811882, -0.4555741549, 0.0779137164, -0.3199676275, 0.020601809, 0.0742267296, 0.6824554801, 0.1485435218, 0.4254025221, 0.6133193374, -0.6197121143, 0.57463485, 0.0782750696, -0.6806316972, 0.4115715921, -0.5995277166, 0.2890284657, -0.2478019893, 0.1187823564, -1.3088085651, 0.2098929733, -0.2666752338, -0.3781928718, 0.467307359, -0.2423096895, -0.4309442639, -0.6195041537, -0.1143266559, 0.3919703662, 0.5699747801, -0.5815919042, 0.5420085192, 0.312963903, -0.3621652722, -0.928183496, -0.6811382771, -0.2252919227, -0.4179773927, -0.4821067154, 0.1757924259, -0.4299509227, -0.1047287881, 0.1054343954, -0.461707145, -0.6320844293, 0.166479066, -0.1526938081, 0.1907164901, -0.1508123875, 0.1098825186, 0.4010548592, 0.0776523203, 0.0530956313, -0.2595980465, 0.5100851059, 0.2853427827, -0.1931292415, -0.3693971932, 0.4408676624, 0.5143241286, -0.0853945687, 0.9875727296, 0.7252612114, -0.4816755652, -0.2248661071, -0.7711905837, -0.5841950774, -0.4895848632, 0.4187502861, -0.6850997806, -0.914567709, 0.411937803, -0.2772201002, 0.2409525663, 0.2195760757, 0.592913866, -0.4194743931, 1.0135873556, 0.7221579552, -0.258997649, 0.5399389267, -0.1786426753, 0.2713675797, -0.4725931883, -0.2027688473, -0.6768749356, -0.5830966234, -0.1045982316, -0.0590354316, 0.205530256, 0.577522099, -0.0722416118, 0.3071541786, -0.6149887443, 0.6482773423, 0.7848988175, 0.1724522561, 0.2103080601, -0.1180387214, -0.1625121832, -0.1445318907, -0.6370241642, -0.1407289356, 1.1786643267, 0.2557882369, 0.7836861014, 0.0137574309, 1.0196894407, 0.1411286443, 0.1566351503, -0.5715274811, 0.4182846546, -0.0977977291, -0.8771457672, -0.6399410367, -0.4385043085, -0.693261683, 0.3369861841, -0.1437349468, -0.705036521, 0.1576764286, 0.2888868749, -0.3841837049, 0.2716528773, -1.0531733036, 0.8868070841, -0.0271275006, 0.2685604095, -0.3422207236, -0.7930725813, 0.4696193337, -0.30226475, 0.0282121003, -0.2252389342, 0.3241544366, 0.8369339108, -0.6347405314, 0.6718742847, -0.730646193, -0.3926917315, 0.2053309381, -0.0694775879, 0.5240952373, -0.0694487467, 0.2327947915, 0.0177432373, 0.2975901067, -0.3129267097, -0.8813667893, 0.5654402375, -0.69747895, -0.6658858061, 0.0138042103, -0.8722388744, -0.3611671329, 0.2748472691, 0.0344542228, 0.1909269542, 0.0972502455, 0.4284600019, 0.9258545041, -0.0447729602, 0.524312675, 0.493257463, -0.2463294566, -0.2205581814, 0.9201906919, 0.2386996299, 0.4009231925, 0.5928587914, 0.2842631638, -0.3681985736, -0.5328717232, -0.0257928818, -0.1177616194, -0.7423092723, -0.147623986, -0.7725889683, -0.3389751315, -0.8239135742, 0.0998727977, -0.5036943555, -0.6795592904, -0.0654184073, -0.1106109545, 0.1679341495, 0.6661168933, -0.1107669845, 0.2153293639, -0.9187881351, 0.6025229692, 0.7148529291, 0.0774639845, 0.1986915767, -0.3581672013, -0.3573174179, 0.1681892425, -0.1637319028, -0.8459643722, 0.2426937521, 0.6053162217, 0.7202688456, 0.7666482329, 0.4444568455, 0.8913198113, -0.6023652554, 0.6527191401, 0.2534486949, -0.8645901084, 0.6870561242, 0.0898636729, 0.4439281523, 0.6199190021, 0.6575950384, -0.273416698, -0.7617624998, -0.4764453471, -0.8680009842, 0.629678905, 0.0108440714, -0.0136550711, 0.2296584994, 0.2137793899, 0.2969863415, 0.4067474902, -0.5080415606, -0.5368157625, -0.173924163, -0.3250478506, 0.002183185, -0.6591126919, -0.06147708, -0.681296289, 0.5768721104, 0.2016487718, 0.1217491478, -0.0003685156, -0.2109155655, 0.1974031925, 0.1555479318, 0.4183144867, 0.7741767764, -0.6425908208, 0.2624285817, 0.1994789839, -0.7411774993, 0.2274238169, 0.1503023505, 0.2051519156, -0.1413623244, 0.2585387528, 0.5862818956, -0.0453765057, -0.3461244702, 0.3605691493, -0.2534634769, -0.4392913878, 0.1076133773, 0.0850122124, 0.2841667533, 0.4901582301, 0.6580616832, -0.2018169016, 0.1711076647, -0.2772874236, 0.4351775944, 0.1159085855, -0.1080549359, -0.0146190124, 0.5252922773, 0.3081655204, 0.1367695779, 0.7275178432, 0.0580874756, -0.4110609889, 0.5091616511, 0.4549123049, 0.6941644549, -0.6567953229, -0.0018328886, 0.4477190971, 0.1262232661, 0.0682796016, 0.3598150909, -0.5710698962, -0.8653995395, -0.7126287818, -0.7334679365, -0.1517362595, 0.3189892769, -1.0249171257, -0.0419927239, -0.2895402908, -0.1775161922, 0.189309299, 0.062115673, -0.4728240073, 0.1394726336, 0.1232758611, 0.874802053, -0.7283044457, 1.5101292133, 0.5294061899, -0.2298201174, -0.7821484208, 0.0034055789, -0.2702677548, -0.6056947112, 1.0130548477, 0.0579833128, 0.1828084886, 0.2362428159, -0.4295488, -0.7814344168, 0.950737834, 0.7375544906, -0.926179111, -0.1940501183, 0.1735338867, 0.3825207353, -0.1009194478, 0.0494538173, 0.723813355, 0.4812814295, 0.3337351978, -1.0338183641, -0.2669813633, -0.1333199292, 0.0514415465, 0.1611907631, -0.1371692568, 0.9880764484, -0.1927841604, -0.1914459169, -0.2619338334, 0.8575428724, 0.0675319657, -0.0365735367, 0.7156267166, 0.9618940353, 0.8789364696, -0.1154627502, 0.5421536565, -0.5342515707, 0.6252789497, 1.2618589401, -0.1547210366, 0.7261639833, 0.6559755206, -0.3068319559, 0.4208967388, 0.5882866383, 0.2040097862, 1.0430358648, 0.2138537914, -0.346439749, -0.3247368932, 0.1681428701, -0.5637239218, 0.1481706798, 0.2277958542, -0.0812627375, -0.3268322349, 0.3533018827, -0.0742892474, -0.1693507582, -0.1498338431, 1.0448064804, 0.0242437255, -0.6914781928, 0.8201426268, -0.4429106116, 0.5898608565, -0.5592136383, -0.180075556, -0.0394735001, 0.389983654, 0.0548590906, -0.723969698, 0.2128195316, -0.137296766, -0.4676772058, -0.418086946, 0.8187686205, -1.0560424328, -0.2992361486, 0.1905763447, 0.5235792398, 0.2615994513, -0.323489517, -0.804808259, -0.1356174052, 0.0524419099, -0.3748419881, 0.3821298182, 0.7110953331, 0.5923763514, 0.6098619699, 0.5404599309, 0.1154825836, 0.3221893609, 0.3083640337, 1.0449080467, -0.2735767365, -0.4093469679, -0.9378083944, 0.5258206725, -0.1632896513, 0.0096346484, 0.8878173232, 0.4020708203, 0.9318308234, -0.2941013575, 0.9155181646, -0.2526526153, 0.7143471241, -0.375833571, 0.9867503643, -0.4940210581, -0.0356385037, -0.4858680964, -1.2092400789, 0.0647822171, 0.6446602941, 0.0656090304, 0.089808628, 0.7898051143, 0.3913508058, 0.1217456385, -0.128852576, 0.4718538225, 0.225539431, 0.4043835402, 0.6799707413, 0.8012723327, -0.089181453, 0.6416339278, -0.6386250257, -0.2136304528, 0.0180898942, -0.9252852798, -1.2638463974, -0.9549024701, -0.2093314976, -0.0125478413, -0.0276121926, 0.6392246485, 1.0086559057, -0.8094723225, -0.0247060377, -0.0272865221, 0.0317401625, -0.4195374846, -0.2314530611, 0.4103983045, -0.6999641061, -1.0134203434, 0.3334330022, -0.1275054663, 0.1274416447, -0.4536392093, 0.0429803543, -0.4635674655, -0.0989505947, 0.5747412443, -0.0465931445, -0.5420021415, -0.1450342834, -0.3084242344, -0.0130462293, -0.1200109646, 0.9337408543, -0.7635147572, 0.560349226, 0.7058957815, 0.6260914207, 0.7242611051, 0.0989500806, 0.662458241, -1.2936493158, 0.4902381599, 0.1686938107, 0.3173472881, -0.0282081254, -0.2507779002, 0.2099558562, 0.2260421067, -0.5680057406, -0.9173638225, 0.0520480126, -0.7939097881, -0.5266978741, 0.8999269009, -0.6089055538, -0.0755974129, -0.1179416105, -0.369048655, 0.4293118715, -0.4777540267, 0.9388468266, 1.0255948305, 0.1116395146, -0.3753243089, -0.3437004685, 0.7375133634, 0.1832012981, -0.8019228578, 0.1750354916, 0.2344154119, 0.1997042, 0.1474871933, 0.4330985248, 0.2472606897, -0.0962323993, 0.0238052476, 0.2213739902, -0.1644720584, -0.7491634488, 0.1352545917, 0.2658387125, 0.0571758337, -0.290012151 ]
http://arxiv.org/abs/2407.02772v1
http://arxiv.org/pdf/2407.02772v1
Automatic gradient descent with generalized Newton's method
2024-07-03T03:01:43
2024-07-03T03:01:43
Zhiqi Bu, Shiyun Xu
cs.LG
cs.LG, cs.CL, cs.CV
We propose the generalized Newton's method (GeN) -- a Hessian-informed approach that applies to any optimizer such as SGD and Adam, and covers the Newton-Raphson method as a sub-case. Our method automatically and dynamically selects the learning rate that accelerates the convergence, without the intensive tuning of the learning rate scheduler. In practice, out method is easily implementable, since it only requires additional forward passes with almost zero computational overhead (in terms of training time and memory cost), if the overhead is amortized over many iterations. We present extensive experiments on language and vision tasks (e.g. GPT and ResNet) to showcase that GeN optimizers match the state-of-the-art performance, which was achieved with carefully tuned learning rate schedulers. Code to be released at \url{https://github.com/ShiyunXu/AutoGeN}.
[ -0.4729456604, -0.308377564, 0.2855896652, -0.1064759418, -0.2689750493, 0.5540829897, -0.0807612613, -0.4140283167, 0.1939042658, -0.319147408, -0.6703097224, -0.2136196047, -0.4165897965, 0.01880477, -0.3925434351, 0.9951970577, -0.1667034924, 0.2585753202, -0.1404852718, -0.0527373292, 0.5825538039, -0.1496723294, -1.3088071346, -0.2975356877, 0.3961613774, 0.0173252262, 0.420550555, 1.0637440681, 0.6185405254, 0.3381821215, -0.0714826509, 0.0009317725, -0.3179329038, -0.0533826686, -0.0039388691, -0.2249008715, -0.1884730905, -0.037683811, 0.7373633981, 0.626162231, -0.5968769789, 0.287794143, 0.1327662766, 0.9802035093, -0.8182661533, -0.1037209705, -0.4138094187, 0.4904316664, 0.1528589427, -0.1885885596, 0.0618855692, -0.4867240489, 0.0637222454, -0.8552401662, 0.871086657, 0.0720828921, 0.5357134342, 0.4249533117, -0.0752530843, -0.1009260491, -0.6451515555, 0.741748929, -0.0322883278, 0.2545788586, -0.1792728901, 0.6694241762, 0.1883160174, -0.9654922485, -0.280492574, -0.5732119083, 0.1134575903, 0.3380762637, -0.0956733972, 0.3573591411, 0.5650049448, 0.6260780096, -0.7321177125, -0.0600099489, -0.2526968718, 0.0479865335, 0.7199770808, 0.1129614562, 0.2965843379, 0.2711206079, -0.4600380361, -0.1468180269, -0.5428287983, 0.1931473613, 0.8297234178, 0.0197772887, -0.069085598, 0.2628158331, -0.3031417131, 0.6287548542, 0.3894068003, 0.2510890067, 0.465249598, -0.417717725, -0.1439960003, -0.301068306, 0.6539176702, 0.1774400026, 0.4875580966, -0.3398368061, -0.3787561059, -0.0079330048, 0.470097959, -0.8365987539, -0.4029960036, -0.1128762886, -0.4270253181, -0.2762592435, -0.1831849366, -1.1619981527, -0.2486190796, -0.4115787148, 0.3193792999, -0.0711161941, 0.0183729734, -0.2036704272, -0.145940274, 0.2940149605, 0.1710621268, -1.0542422533, 0.4889531732, 0.322034061, 0.9119226933, -0.1537127495, -0.1324812025, -0.9532604814, -0.2191461027, -0.4558209777, 0.4324006438, -0.5241692066, -0.6131219268, 0.0715672597, -0.1645063311, -0.2709187865, -0.3884155452, 0.4210585952, -0.3793915212, 0.2501279116, -0.2092434317, -0.3999547958, -0.4980911911, -0.1621533483, -0.367942363, 0.938621521, 0.2794548571, -0.5471507311, 0.4776784182, -1.0570186377, -0.534122467, 0.1913654953, -0.2974078953, -0.4344344437, 0.1152978987, 0.3280701041, 0.2728911936, -0.2923557162, 0.2221967876, -0.1497544348, -0.3696300685, -0.6530456543, -0.187327534, 0.7866785526, 0.3978483379, -0.7901003361, 0.204929769, -0.9822032452, -0.0272387154, 0.3730674982, -0.0989245847, -0.0057265987, 0.4340852201, -0.3056553602, -0.0104304114, 0.2347487807, -0.4665353596, 0.3904717863, -0.433875829, 0.4076733291, 0.5949707031, -0.266656369, 0.6665819883, -0.1952641904, 0.9216710329, -0.4469288588, 0.4370398819, 0.0424562693, -0.3601332903, -0.8075262308, -0.1128342897, 0.303396076, 0.639596343, -0.7515751719, 0.4336346984, -0.032785017, -0.3635352552, -0.2536188662, 0.0306003317, 0.590030551, 0.7579531074, 0.5728393197, -0.3229726255, -0.3888952136, -0.7282410264, -0.2167222351, -0.2165094912, -0.1016088873, 0.4729221761, 0.3066541851, -0.1350961626, 0.687969625, -0.4789006114, 0.1545136869, 0.060700234, 0.4172349274, -0.0501187779, 0.7156549692, 0.928226769, -0.5540249348, -0.5405756235, 0.0375311151, -0.5025343299, -0.2480802536, 0.0122011146, -0.144141376, 0.1720760614, 0.657803297, -0.0253162961, 0.4615238309, 0.4737613499, -0.0376829691, 0.4630732834, -0.3576934636, 0.1332990229, -0.8747718334, 0.2381192744, 0.2827563584, -0.2044319808, -0.4044205844, 0.1624928415, 0.0238861348, -0.1099392623, -0.2103258818, 0.3522972465, -0.4757942855, -0.3970084488, -0.0692474321, -0.2056086957, -0.2446548939, 0.3240556121, -0.1203210056, 1.2205762863, 0.8340814114, -0.8372038603, 0.494795382, -0.0244099572, -0.1347656846, 0.2811275125, -0.7941548228, 0.1967269331, -0.3570194542, 0.0922860578, -0.8224047422, 0.0539060645, 0.5825675726, -0.4613245428, 0.6001611948, -0.5509275794, 0.0382790752, -0.6503317952, -0.3434875906, 0.4783325791, 0.7368482351, -0.8462129831, 0.7940480113, 0.0592261888, -0.0296727214, -0.9712052941, -0.4158754051, -0.0791181773, -0.211830169, -0.1977447569, 0.4413144886, -0.3587056398, -0.0806010813, -0.1475889385, 0.0825469047, 0.1698145866, 0.1112055928, 0.0019630182, 0.1368203908, -0.010798851, -0.069414407, 0.0397619344, -0.2777920067, 0.1080492735, -0.8450678587, 0.4037014842, -0.3135479391, -0.2827144265, -0.3306101263, 0.28609249, 0.3607150614, -0.2435733676, 0.356787324, 0.9838832021, -0.2133343369, -0.3215565383, -0.3581232429, -0.022559775, -0.4921935797, 0.2648703456, -0.2615790665, -0.7035042644, 0.8063929081, -0.0561892353, 0.1566465497, 0.7347775102, 0.4052854776, -0.0098356539, 1.2545361519, 0.6996558905, -0.2672136724, 0.6266415119, -0.6502190232, 0.0333590172, -0.7393766642, -0.2166333199, -0.5703017712, -0.5588374734, -0.7004439235, 0.0056962348, 0.3143720329, 0.0299608484, -0.4163024127, 0.1768410057, -0.7278872728, 0.6712800264, 0.754407227, -0.3160837293, -0.0018051541, 0.1192414314, -0.4227164984, 0.3873967528, -0.906922102, 0.1742758006, 1.134246707, 0.0699947849, 0.8157944083, -0.3535528779, 0.7279526591, 0.2847215831, 0.3495613635, -0.7193297744, 0.5404080749, -0.2309738845, -0.2622555494, -0.1330201924, -0.7670417428, -0.9269819856, 0.1475027353, -0.0154514508, -0.5384885073, 0.4348365664, 0.5866500139, -0.7393874526, 0.4981068969, -0.7122375965, 0.4737843871, -0.2398917526, -0.1126704365, -0.2568357885, -0.8759912252, 0.1810159683, -0.1512031704, -0.1252384335, -0.0615323037, -0.2751070559, 0.7775212526, -0.4109715819, 0.4545255899, -0.7408856153, 0.1760508716, 0.268899262, -0.1340649575, 0.5835797787, 0.1399339586, 0.2897308469, 0.1018802375, -0.4725489616, -0.2793081105, -0.529703021, 0.6338456869, -0.570140183, -0.2233574986, -0.5323283076, -0.2602126002, -0.1191750914, -0.0378790833, 0.5143889189, 0.5521444082, 0.0046909475, -0.2072660029, 0.3746491969, -0.1099325866, 0.955198288, 0.4244840741, -0.2124214768, -0.6958655715, 0.7466134429, -0.0315555483, 0.2883905768, 0.0250282902, 0.2971449792, -0.5151972175, -0.9268773794, -0.8220619559, 0.06117744, -0.4776002169, -0.1710077375, -0.4006795287, -0.2238034904, -0.1533025056, -0.4448044896, -0.2662866712, -0.2804425359, -0.3726409078, 0.0062680449, 0.2076689154, 0.5238691568, -0.3560281098, 0.2822126746, -0.6060397625, 0.4409609437, 0.5264548659, 0.414349556, -0.1546165794, -0.5179852843, -0.1928382218, -0.0574898496, 0.001150752, -0.0452757031, 0.2133552134, 0.7118418217, 0.6700394154, 0.6683608294, -0.2803399861, 0.5299249887, -0.8741477132, 0.6687697768, 0.4013167918, -0.7493625283, 0.4828159511, -0.3078711331, -0.0461574234, 0.6744123697, 0.6505436301, -0.0389310755, 0.050948225, -0.6762612462, -0.6761866212, 0.3309161961, 0.0373480283, 0.0104681505, 0.0547128245, 0.7116068602, 0.0217586327, 0.157191664, -0.2351385653, -0.4218067825, -0.0485951118, -0.1642712504, -0.2527641654, -0.1151117235, -0.2557481825, -0.6492861509, 0.5855763555, -0.4184679985, 0.4492764175, 0.3254061043, -0.0011344353, -0.5744931698, -0.2194194645, 0.7430772185, 0.8360947967, -0.161389485, -0.2249917239, 0.1139649078, -0.8101348281, 0.3188528419, 0.5341401696, -0.6415789723, -0.152070865, -0.2973546684, 0.7434310913, -0.3182741404, -0.2992106974, 0.4513603449, -0.3049364686, -0.695577085, -0.2710255086, 0.3211642802, -0.4111317992, 0.3312070668, 0.6168718934, 0.4381184578, 0.3677860498, 0.093557924, 0.3412388265, 0.6118947864, -0.1988670826, -0.244113028, 1.0102958679, 0.42152372, -0.1189722642, 0.3314601183, -0.7041202188, -0.5170033574, 0.7932751775, 0.3370229304, 1.4986724854, -0.4064059556, 0.2213120461, 0.5066264868, 0.3294526637, -0.2888486981, 0.4126923382, -0.0688303337, -0.5911766291, -0.9606609344, -0.7732311487, -0.440541774, 0.0230352413, -0.6467550993, -0.1330113262, -0.6865675449, -0.166260317, -0.0168151148, 0.0936596096, -0.4456913173, 0.4573750794, 0.2049246579, 0.7225519419, -0.4763396978, 0.4596319199, 0.7384863496, 0.0252860654, -0.2782297134, 0.1152030304, -0.1123707443, -0.9190613031, 0.5866545439, -0.0500140861, -0.6431006789, 0.6133345366, -0.4779808819, -0.8001297712, 0.8899534941, 0.5287895799, -0.8220453858, -0.1522967964, -0.3395299911, 0.2352169454, -0.3153259456, 0.193347007, 0.4124639928, 0.3376214802, 0.111352168, -0.6743457317, -0.3854546249, -0.3543955386, 0.1898906529, 0.4924969971, -0.6634678245, 0.6125406027, -0.555500865, -0.2146607786, 0.0146398954, 0.7060567141, -0.3183369339, 0.3043641448, 0.7274309993, 0.9022749662, 0.7549539804, -0.0864688829, 1.0793786049, -0.8207294941, 0.6064823866, 0.3990111053, 0.0930458754, 0.0823077708, 0.1531225145, -0.5449684262, 0.3846874833, 0.6725123525, -0.2116414905, 0.4823780656, 0.5836368203, -0.5553153157, 0.0372859798, 0.1651040167, -0.4053053558, 0.2083841264, 0.1542557776, -0.3361772299, -0.2584365308, 0.0505793095, -0.2271601558, -0.2142234594, -0.7112258673, 0.529366076, -0.1561521143, -0.4200381935, 0.7946721315, -0.2222338021, 0.8037501574, -0.5891964436, 0.297686249, -0.2026895881, -0.0259775855, -0.0229496993, -0.1859268844, 0.2330522388, -0.0897647664, 0.0266685113, -0.0878200158, 0.6440497041, -0.4607667327, -0.4522776306, 0.1851251423, 0.4130599797, -0.2089761347, 0.0470781922, -0.9668961763, -0.4843353927, -0.1162333786, -0.2907788157, 0.1814347804, -0.156909138, 0.2768580616, 0.8090888262, 0.6949483156, 0.0299850404, 0.1514930129, 0.2370329946, 0.681073606, -0.5393954515, -0.4890830219, -0.7454859018, 0.1001489908, -0.1122093946, -0.4582360685, 0.3547880352, 0.5851798654, 0.9330410361, -0.0309754871, 0.8131344318, -0.0540984608, 0.4867627323, -0.623724103, 0.6833895445, -0.6992622018, -0.269574523, -0.0492609516, -1.1004738808, -0.4171952903, 0.7562633753, -0.2528367639, 0.5643430948, 0.8811431527, 0.448823005, -0.0047529633, -0.1570770144, 0.0246282835, -0.4851251841, 0.2375713438, 0.4745513797, 0.5915599465, -0.0483680405, 0.3961919546, -0.4589427412, -0.2482189834, -0.0710059777, -1.0624014139, -0.6252526641, -0.3359132409, -0.6209875941, -0.1494076103, 0.3975669742, 0.805983007, 0.6748991609, -0.8947098255, 0.044325944, -0.6956803203, -0.4949913025, -0.3378195465, -0.1615784913, 0.4072095752, -0.9528275728, -1.024749279, 0.6742093563, 0.2979156971, 0.308624208, -0.2122259885, -0.1514317691, 0.1423915029, -0.2156215012, 0.0626531541, 0.6935477853, -0.2768408656, -0.2022742182, -0.3148722053, 0.0831011981, 0.2832277715, 1.0204697847, -0.8188849688, 0.5310956836, 0.5295208097, 1.0442560911, 0.5786245465, 0.4269751906, 0.6547980905, -0.5674463511, 0.0738382488, 0.4303337336, 0.3770768046, 0.2105766088, -0.255282104, 0.8155001402, 0.7517633438, -0.7230719328, -0.4664470851, 0.173126623, -0.6218833327, 0.2141173482, 0.9245983362, -0.0213221535, -0.1798154265, 0.0316307023, 0.0856477842, 0.2553805113, -0.33884269, 0.756991744, 0.202608794, -0.2098002136, -0.0455533862, -0.6411511302, 1.1869598627, 0.5131232738, -0.6869173646, -0.1165022925, 0.3479163051, 0.0793375447, 0.0864396468, 0.4329018295, 0.1497049034, 0.2401196361, -0.1131939366, 0.3365349472, -0.1968981922, -0.5370523334, -0.7330873013, -0.0733486563, -0.325091362, -0.6108988523 ]
http://arxiv.org/abs/2407.02751v1
http://arxiv.org/pdf/2407.02751v1
Emotion and Intent Joint Understanding in Multimodal Conversation: A Benchmarking Dataset
2024-07-03T01:56:00
2024-07-03T01:56:00
Rui Liu, Haolin Zuo, Zheng Lian, Xiaofen Xing, Björn W. Schuller, Haizhou Li
cs.CL
cs.CL, cs.AI
Emotion and Intent Joint Understanding in Multimodal Conversation (MC-EIU) aims to decode the semantic information manifested in a multimodal conversational history, while inferring the emotions and intents simultaneously for the current utterance. MC-EIU is enabling technology for many human-computer interfaces. However, there is a lack of available datasets in terms of annotation, modality, language diversity, and accessibility. In this work, we propose an MC-EIU dataset, which features 7 emotion categories, 9 intent categories, 3 modalities, i.e., textual, acoustic, and visual content, and two languages, i.e., English and Mandarin. Furthermore, it is completely open-source for free access. To our knowledge, MC-EIU is the first comprehensive and rich emotion and intent joint understanding dataset for multimodal conversation. Together with the release of the dataset, we also develop an Emotion and Intent Interaction (EI$^2$) network as a reference system by modeling the deep correlation between emotion and intent in the multimodal conversation. With comparative experiments and ablation studies, we demonstrate the effectiveness of the proposed EI$^2$ method on the MC-EIU dataset. The dataset and codes will be made available at: https://github.com/MC-EIU/MC-EIU.
[ -0.5023277402, -0.6427568197, 0.6318385601, 0.2283111662, -0.2386710048, -0.2859624922, -0.2949152589, -0.4253218174, 0.4967763722, 0.2714563012, -0.6341512799, -0.4518551528, -0.4188850224, -0.0775366053, 0.2585156858, 0.6838927865, -0.2024898082, 0.1093242615, -0.311512351, -0.72047925, -0.3248509169, -0.3813110888, -0.4543409944, -0.1167652309, 0.7935532928, 0.8594840765, 0.2484125495, 0.123094216, 0.5461502075, 0.2523594499, 0.2746241689, 0.1992679983, -0.6965261698, 0.0534802154, 0.1829607338, -0.195298329, -0.5623114109, 0.0247491971, 0.3828451931, 0.265131712, -0.1296544671, 0.0667396411, -0.4029194415, 0.6330877542, -0.965111196, 0.3390620351, -0.3630364835, 0.0160849951, -0.0560448095, -0.2364846766, -0.5716291666, -0.0787386671, 0.0539504439, -0.4270614088, -0.3621867299, 0.1494013518, 0.5204970837, 0.0723095313, -0.9416006804, -0.2929323614, -0.5360279083, 0.6706840992, -0.320633769, 0.6811190844, 0.2643825412, 0.3228648603, 0.1192635149, -0.4757121205, -0.7607589364, -0.0587579161, -0.0380466543, 0.4538500011, -0.1919727325, 0.3094111085, 0.2522207797, 0.2650076449, -0.6950038075, -0.1359587461, -0.0900747329, 0.0067053316, 0.5876169801, 0.2296048403, 0.3943932354, -0.0773657411, -0.468745023, -0.4038690031, -0.2560193837, 0.097457312, 0.3204027414, -0.0490513258, -0.3670997024, 0.7105554342, -0.4038336873, 0.2636700273, -0.3102912903, -0.162275359, 0.5365459919, -0.419198215, -0.2998905182, 0.1120270491, 0.9779049754, 0.7767523527, 0.1485716254, 0.0394857712, 0.2937177122, 0.2310679555, 0.1254321635, -0.7736850381, -0.0141196083, 0.4776931703, -0.4747357368, 0.0473273247, 0.0179232303, -0.8534166217, -0.1951168031, -0.2950311303, 0.2143977433, -0.3234936297, -0.5826829076, -0.1096634492, -0.0774095356, 0.0210160688, 0.2214746773, -0.766438067, 0.1347040385, 0.5306729078, 0.5573989153, 0.0136231398, -0.3221668005, -0.2133952826, 0.1689091027, 0.0194784347, 0.4915345013, -0.7505114675, -0.2939113081, -0.0769064277, 0.0355698317, -0.271722436, -0.0889037177, 0.8838351369, -0.1292362809, 0.0405839421, -0.0704929829, -0.2267034799, -0.5823665261, 0.5824654698, -0.7947292924, 0.6873630881, -0.2843835056, -0.5366036296, 0.1283632368, -0.9381100535, -0.2766325474, -0.3376967311, -0.2098887712, -0.3724639714, 0.302977562, 0.1264351606, 0.4248055816, -0.1954519302, 0.2877687514, -0.615850091, -0.0427527465, 0.366871506, -0.5316334367, 0.3225880563, 0.3501871526, -0.3158725798, 0.073743403, -0.8917033076, -0.0597263239, -0.0661892071, -0.0313824192, -0.3238078356, -0.1378308982, 0.0882474259, 0.4745914638, -0.003680042, -0.7557083368, -0.0448638685, 0.2787939608, 0.0708157197, 0.4958023131, -0.145868808, 0.2855377197, 0.0568096153, 0.2601734698, 0.6998365521, 0.3231397569, -0.395501852, -0.480955869, -0.6749888062, -0.1564724445, -0.2124962509, 0.382756263, -0.8102235198, -0.1719884425, -0.4252303541, -0.3106122315, -0.6517022252, -0.2210026085, 0.6148450971, 0.3757355213, 0.2435910106, -0.3823215663, -0.3944317102, -0.9345613122, -0.0874052569, -0.3202131391, 0.2613278627, 1.1418546438, 0.0818417072, -0.3675934374, 0.597992897, -0.2418840826, -0.0531167723, -0.0309686232, 0.7136517167, -0.1476330608, 0.3784455061, 0.4333365858, -1.1140352488, -0.3397425711, 0.0870518461, -0.7996276021, 0.1217617765, -0.1732305139, -0.5116173029, 0.1703791469, 0.1394170523, -0.4506423175, 0.3703148365, 0.7953141332, -0.2997066677, 0.1185618564, 0.0782056078, 0.8957516551, -1.1054540873, 0.1172571927, 0.2095730603, 0.1287909299, -0.9320397973, -0.3437404037, 0.3094086349, -0.0914166197, -0.8540142775, 0.2928102314, -0.4411670864, -0.0556376241, 0.1658668667, 0.2399208844, 0.079142347, 0.8588198423, 0.1950479895, 0.3746513724, 0.2222694755, -0.4691719711, 0.2616859972, 0.3589263856, -0.0378062241, 0.7881771922, -0.1963265836, 0.3904366493, -0.2378998995, 0.2763733864, -1.0608203411, -0.3329737186, 0.3956348896, -0.4732205272, 0.1655817032, -0.18011944, -0.132800132, -0.0063872985, -0.264767617, 0.7349326611, 0.107454963, -0.4795160592, 0.9245870709, 0.3715612888, -0.1174631938, -0.7248517275, -0.6341674924, 0.1658021659, -0.0531006418, -0.7882189155, 0.1514376551, -0.3216661513, -0.1722044349, -0.2779903412, 0.2985484004, -0.2999027967, -0.0683366433, 0.513936758, 0.1999542713, -0.199413389, 0.2607517838, 0.2041773945, -0.0244129915, 0.1022334024, 0.3595284224, 0.387057364, -0.1066923738, -0.49101004, -0.5754410028, 0.4594516158, 0.9819325209, -0.1274525374, 0.6864119768, 1.0295842886, -0.2663792968, 0.4883291423, -0.6997848153, 0.0905505866, -0.3346048594, 0.3879031837, -0.7062649131, -0.7934286594, 0.388166219, -0.3199986815, 0.1367793977, 0.2558792531, 0.5908085108, 0.1000321433, 1.2221192122, 0.3985017538, 0.0281566177, 0.5786215663, -0.0667696372, 0.1133271009, -1.1075183153, -0.468434751, -0.3286052644, -0.6420973539, -0.4701197147, -0.1727070361, 0.2015442699, -0.1681032926, 0.1543710977, 0.0315477662, 0.0366540812, 0.2523235679, 0.2965994775, 0.3269614875, 0.1154037639, -0.1428767443, -0.0220979545, 0.0370748825, -0.323058337, -0.3103803992, 1.0193045139, 0.3992765248, 0.5858787298, 0.4829623997, 0.537914753, -0.1533965319, 0.361399591, -0.7950473428, 0.3927922249, 0.1075880826, -0.4894512892, -0.1466047317, -0.6940441728, -0.7180830836, 0.2959606349, -0.2051753998, -0.9614989161, 0.4335516393, -0.0035420002, 0.0036113767, 0.1789662242, -1.0852948427, 1.0679638386, -0.2966258228, -0.3976079524, -0.33819893, -0.7738422751, 0.5284012556, 0.3178337216, 0.299865514, -0.5423123837, 0.1499507874, 0.6683444381, -0.0154119274, 0.5535863638, -0.2152287215, 0.130815208, 0.2182365805, -0.1180223823, 0.36644876, 0.193699792, -0.1650856733, 0.2333578914, -0.2022260576, -0.1197118983, -0.6034237146, 0.6842543483, -0.6725845933, 0.0694231987, -0.1294265389, -0.6040190458, -0.183273375, -0.0844620839, -0.0768866763, 0.6864198446, -0.5277320147, 0.35817343, 0.6044704318, -0.1247739196, 0.4964125156, 0.4659034014, 0.0604658611, -0.4484865665, 1.0460543633, -0.2841059268, 0.2144651115, 0.4512489438, 0.057328444, -0.3299625814, -0.0517100357, -0.5090735555, 0.084223561, -0.6883450747, -0.0168390088, -1.0511764288, 0.4879807234, -0.5235623121, 0.1662980914, -0.2568564117, -0.2056651711, -0.2769238353, -0.0313884839, 0.350525111, 0.5776159167, 0.0375115946, 0.0746186748, -0.864197731, 0.4221815467, 0.2439303696, 0.5804649591, -0.0635845885, 0.1332239956, -0.1117026135, 0.3353635967, -0.2567481995, -0.8158468604, 0.2954383194, 0.4118185639, 0.4215058088, 0.6790744662, 0.2686218917, 0.654176712, -0.2797594368, 0.7012979388, 0.4586649537, -0.8139352202, 0.4558345079, -0.1088850945, 0.2377996743, 0.7920414805, 0.5697842836, -0.8575331569, -0.05712023, -0.4941084087, -0.7269297838, 1.0084309578, 0.2565963566, -0.0997065678, -0.214631319, 0.0269050039, 0.0203342419, 0.1421050727, -0.5656939745, -0.4533812106, -0.1336555928, -0.7061278224, -0.2572309077, -0.5189347863, -0.2452482134, 0.0609377176, 0.4911886454, -0.2250145674, 0.6162922978, 0.160159722, -0.4600038826, -0.1612477154, 0.4797332883, 0.8565716147, 0.335070014, -0.3320609629, 0.2103523165, 0.0914403573, -0.6972488761, 0.0836570114, -0.1615504026, 0.6091601849, 0.0152693605, -0.1769371331, 1.165692091, 0.3597397804, -0.6806108356, 0.5167689323, -0.7011966109, -0.1603102982, -0.0582283773, -0.3196997941, -0.0382382348, 0.348562777, -0.013960747, -0.0899233967, 0.5734101534, -0.798594594, 0.0523777083, 0.0417925566, -0.6559785008, -0.2957524061, 0.2608549297, 0.4840497673, -0.0763273612, 0.6479139924, -0.1104799435, -0.4339254797, 0.5473909378, 0.3139204383, 0.9071722031, -0.0039377287, 0.2183631808, 0.3234727979, -0.0130888242, 0.2177739739, 0.5758213997, -0.2504757643, -0.6345796585, -0.1359183043, -0.2266394347, -0.7764009833, -0.2423810214, -0.7794910073, 0.054196503, -0.0642858893, -0.1083946005, -0.1250864714, -0.2557778955, -0.7936577797, 0.272983849, 0.3765802979, 0.4349036515, -0.8075236082, 0.6121358871, 0.7623390555, -0.2311411947, -0.648206532, -0.3271484375, 0.2922177315, -0.4662622809, 0.4472058713, 0.4867134988, -0.2172016799, -0.1305360198, -0.2319405079, -0.5638434291, 1.2552863359, 0.1942150444, -0.5299853683, 0.5452373624, 0.1384679079, 0.2691039443, -0.6223686337, 0.9870460629, 0.4648048282, 0.5372530818, 0.2784089744, -0.7631681561, -0.1564494669, -0.6460347176, -0.3119846284, 0.4139986336, -0.8442013264, 0.5827380419, -0.0282383822, -0.3265301585, -0.2838828564, 0.5726740956, 0.0751446784, 0.8859246373, 0.4934271276, 0.8155910969, 0.5479928255, -0.4020186067, 0.8487223387, -0.3820746541, 0.2819801867, 0.8437953591, -0.3271963298, 1.0299204588, 0.4808539748, 0.1311169565, 0.4067574143, 0.5241578221, 0.494594872, 0.1818618178, -0.2621770501, -0.4943944514, -0.0371513292, -0.4323185086, -0.2209700048, 0.5688378811, 0.4899140298, -0.2798555195, 0.2228403836, 0.2503971457, 0.0031063962, -0.6136165261, -0.212746501, 1.1986700296, -0.1650903076, -0.5435188413, 0.1240869686, -0.2921912968, 0.6167336106, -0.4092772901, -0.0841325969, -0.1852669418, 0.0096164262, -0.2461222559, -0.6751934886, 0.0480260253, -0.0552781485, 0.0226876698, 0.0089021204, 0.5550105572, -0.7653658986, -0.19909738, 0.3229179978, 0.2293614596, 0.4366371334, -0.0393790528, -0.5451497436, 0.4696671963, -0.1763472259, -0.3678024113, 0.1947984695, 0.6311152577, 0.2778950632, 0.3807241619, 0.4474122822, -0.6274113059, -0.0686301365, 0.5265811086, 0.6594783664, -0.4806129336, -0.3855901361, -0.6955952644, 0.7783499956, -0.0917801708, -0.4918653965, 0.3185186982, 0.4088443816, 0.7216944695, 0.1324333102, 0.5415346026, -0.210106045, -0.0088291671, -0.4753148854, 0.5160489678, -0.7121174335, -0.3798676431, -0.5537420511, -0.7759535313, -0.1144493297, 0.2415411025, -0.0500893034, 0.0979102254, 0.7576144934, 0.6274507046, -0.1635812074, 0.3616403937, 0.6149758697, 0.041098956, 0.1956610084, 0.9089625478, 0.6298933625, -0.5202447176, 0.6541883349, -0.4144614637, -0.3901843429, -0.4922881424, -0.8747221828, -0.6064092517, -0.6805810332, -0.3514841199, -0.0981009826, -0.0249053165, 0.9292604327, 0.6307842731, -0.6225878596, -0.1880410314, 0.1792778522, 0.0578814298, -0.0145460963, -0.164760083, -0.0394109637, -0.0066732988, -0.8598517179, 0.2983216643, 0.5301340818, 0.0995956659, -0.0053223679, -0.5187621713, -0.5048450828, 0.0376087576, 0.7077795267, 0.1718927473, -0.5808104873, -0.3424476087, -0.0131702712, -0.0580533408, 0.2820113003, 0.9213853478, -0.248173371, 0.9043045044, 0.4814172387, 0.5598063469, 0.5203090906, -0.1675170213, 0.4932060242, -0.7805899382, 0.1205955893, -0.0371124633, 0.6126945615, 0.1213781014, -0.4538668096, 0.5280262828, 0.009348629, -0.5369377136, -0.5234985352, 0.3139347434, -1.431096673, 0.1307851821, 1.0007909536, -0.3547460139, -0.2680053115, -0.0206746757, -0.4587436616, 0.5273296237, -0.7024021745, 0.4678035676, 0.6600188017, -0.3688535094, -0.7225550413, -0.2331852615, 0.0673704669, 0.4470664859, -1.0554801226, 0.0814530104, 0.5884262919, -0.4025454521, 0.2280679643, 0.5388533473, 0.0130101852, 0.4133370221, 0.1567686945, 0.4057609141, -0.1148684099, -0.6329657435, -0.3637367189, 0.1156872213, -0.3392618001, -0.3587635458 ]
http://arxiv.org/abs/2407.02750v1
http://arxiv.org/pdf/2407.02750v1
Learning to Reduce: Towards Improving Performance of Large Language Models on Structured Data
2024-07-03T01:51:50
2024-07-03T01:51:50
Younghun Lee, Sungchul Kim, Ryan A. Rossi, Tong Yu, Xiang Chen
cs.CL
cs.CL
Large Language Models (LLMs) have been achieving competent performance on a wide range of downstream tasks, yet existing work shows that inference on structured data is challenging for LLMs. This is because LLMs need to either understand long structured data or select the most relevant evidence before inference, and both approaches are not trivial. This paper proposes a framework, Learning to Reduce, that fine-tunes a language model with On-Policy Learning to generate a reduced version of an input structured data. When compared to state-of-the-art LLMs like GPT-4, Learning to Reduce not only achieves outstanding performance in reducing the input, but shows generalizability on different datasets. We further show that the model fine-tuned with our framework helps LLMs better perform on table QA tasks especially when the context is longer.
[ -0.1906986684, -0.5439658761, 0.6893625855, -0.1428716034, -0.0255401824, -0.2005030066, -0.4200539291, -0.239436999, -0.2271421701, 0.6210870743, -0.6923600435, -0.6598436236, -0.3443826139, 0.1150401756, -0.4057575166, 1.063041091, 0.0203053802, -0.0463107973, -0.1229715943, 0.0137538835, -0.3066883385, -0.3512913883, -0.879113853, -0.443223089, 0.5154073238, 0.405046612, 0.4312316477, 0.7714153528, 0.4416630864, 0.2767650783, -0.3370360434, 0.1805963814, -1.0067976713, 0.0504943021, -0.3799078166, -0.7409143448, -0.2121042758, -0.1888542622, 0.7914667726, 0.9609684944, -0.2749210894, 0.1514780372, 0.0919455439, 0.6279397607, -0.6096379757, 0.7532990575, -0.6529961228, 0.1267597675, 0.0574345924, 0.0528706424, -0.5875248909, -0.2563506663, -0.2035496831, -0.6530717611, 0.2818750441, -0.2401939332, 0.8183544278, 0.383375138, -0.5507711768, 0.0086843995, -0.8767321706, 0.7388547063, -0.6551268101, 0.5451901555, 0.5186634064, 0.0653179586, -0.1584106684, -0.7513021827, -0.4827164114, -0.1098904461, -0.0999169201, -0.1602579802, 0.0455998667, 0.2737001181, 0.3512877524, 0.2915624976, -0.3236173093, 0.218482554, -0.5884075165, -0.0938762799, 0.6250975132, 0.184610948, -0.1586883962, 0.0820701346, 0.04956799, -0.0948961824, -1.2197831869, 0.0663169324, -0.0924014449, 0.4061591923, 0.0313906372, 0.3179743886, -0.419157356, 0.5130766034, -0.0850050598, -0.1710805297, 0.0308582, -0.1791281849, -0.2819625735, -0.2729226947, 0.315166533, 0.3505143821, 0.2188391238, -0.3020322919, -0.5771433711, 0.2490386963, 0.041481927, -1.0818822384, -0.4753673673, -0.0894972906, -0.3555451334, -0.1799013913, -0.3315837979, -0.213487342, -0.2371226102, -0.4343912005, 0.114171721, -0.1624357551, 0.2320629209, 0.0720531791, 0.2542415261, 0.3733791113, 0.6681554914, -0.7974194288, 0.5587298274, 0.8463087082, 0.7596212029, -0.1124743074, -0.0340957195, -0.8932203054, 0.5408443213, -0.7507425547, 0.5707419515, -0.54947716, -0.4133637846, 0.0409049168, 0.018189922, -0.015619982, -0.7855742574, 0.40186131, -0.4536017776, 0.2336645126, -0.1733324677, -0.6863364577, -0.2754170895, 0.4181933403, -0.8033747673, 0.8449811935, 0.4418091178, -0.1761822104, 0.5998765826, -0.7184177637, -0.6601439714, -0.0855078995, -0.0746909231, -0.5986308455, 0.359587431, 0.369196862, 0.5231490135, -0.3674623668, 0.2884171307, -0.4466866255, -0.2862772048, -0.1196067482, -0.0685545951, 0.3757624328, 0.4832999706, 0.1155631095, 0.3230236471, -0.9401195049, -0.065378271, 0.1318641752, -0.8357813358, -0.1917574853, 0.3111490309, 0.1867436171, 0.2148371339, -0.189892903, -0.4641500115, 0.3441764712, -0.7326301336, 0.8636720181, 0.6121585369, -0.0857672095, 0.5402979851, -0.2885680199, 0.4177931547, -0.2078812271, 0.2479941696, 0.3205157816, -0.1301418841, -0.8273184896, -0.3495154679, 0.4242137671, 0.54519099, -0.896959722, 0.1148674637, -0.521466136, 0.0211781729, -0.3800189793, 0.3814898431, 0.5249880552, 0.3647895753, 0.4556525648, -0.3219446838, -0.3180447817, -0.6883611083, -0.0666511431, -0.2458285093, -0.4909722507, 0.0372403562, 0.3439736962, -0.2137947232, 0.8224340677, -0.5200432539, -0.3658973575, -0.4277435839, -0.2295877039, 0.1973804832, 0.4692773819, 0.4209853709, -0.6674723625, -0.2742006183, 0.0683129728, -0.4020853341, -0.0127815502, 0.0005020386, 0.30755952, 0.2702247202, 0.7332547307, -0.6063737273, 0.5199719667, 0.3963637352, -0.2232427001, 0.1553609073, -0.1277951896, -0.0137480982, -1.0691936016, -0.1777005196, -0.0810574889, -0.5499204397, -0.779325068, 0.1210493967, 0.0389797837, -0.3528684378, -0.5156321526, 0.4692599773, -0.2942504883, -0.1101174057, 0.0144589059, -0.3319606185, 0.2292896509, 0.6070389748, 0.0990049392, 0.746701479, 0.2006006241, -0.8376761079, 0.0243641809, 0.6747019291, -0.4970667958, 0.2631968856, -0.546530962, -0.0086319037, 0.0571225509, 0.1294091046, -0.8042939305, -0.0782271698, 0.1424374282, -0.0578537956, 0.5535409451, -0.303815186, -0.4253763258, -0.1229910329, -0.2303899378, 0.1717463434, 0.4754080772, -0.5962181091, 0.3599905074, 0.2482261062, -0.2662449479, -0.1432637125, -0.9405589104, -0.0126492344, -0.2118641138, -0.4044691622, 0.816324532, 0.1068937778, -0.1151447222, -0.0900776535, -0.2076527178, -0.2910165787, 0.3009234965, -0.1166820601, -0.109223254, -0.1386764646, 0.6731610298, 0.1288988888, 0.0000779796, 0.2133142352, 0.1086565927, 0.3671100438, 0.0274349246, -0.2064198256, -0.6204549074, 0.2619924545, 0.3125541806, -0.1488245279, 0.8916131854, 0.1827677488, -0.2649143338, -0.5407227278, -0.1664349884, -0.4040636122, -0.4955860078, 0.5946555734, -0.5657164454, -1.0843038559, 0.5595414639, -0.3560062349, 0.0674264729, 0.2874987721, 0.356513232, 0.1664683968, 0.9677352309, 0.7672280669, -0.3216919601, 0.6083824635, -0.3286058903, 0.4398647547, -0.4399434626, -0.1220356077, -0.6368800998, 0.0354350768, -0.7155419588, -0.5602191687, 0.1561674178, 0.0994020477, -0.3929976225, -0.1759663969, -0.301341027, 0.5171270967, 0.0828143433, 0.4112043977, 0.3737361729, -0.0855069831, 0.3265711069, 0.3514579833, -0.8731986284, -0.2844096124, 1.1187883615, 0.4013116062, 0.7695583105, 0.253051728, 0.6165968776, 0.4097676575, 0.3617446125, -0.7907469273, 0.483145237, -0.1803665608, -0.1405178457, -0.5266397595, -0.8347766995, -0.9859642386, 0.0136454869, -0.251375854, -0.1944279075, -0.0262910053, 0.31193766, -0.1808643192, 0.1519676447, -0.5758305788, 0.660127461, 0.0812346041, -0.2961603999, -0.4724934399, -0.3053782284, 0.3156528771, -0.0712207183, 0.3261007071, -0.115003556, -0.1585423797, 0.5917195678, -0.8474787474, 0.904048264, -0.2123109698, -0.2669717371, 0.1141655147, 0.1818420142, 0.911251843, 0.0214105584, -0.0777964815, -0.0802198276, -0.0242951103, -0.5415461063, -0.6835128665, 0.520109117, -0.5436350107, -0.4412998557, 0.1678560227, -0.6683266163, -0.3921884894, -0.1326747239, -0.0839300379, 0.4147404134, -0.1556555778, 0.2598985732, 0.7406267524, -0.2103925198, 0.2128100395, 0.3406791985, -0.3718308806, -0.1723856926, 0.7469731569, 0.3230510354, 0.2920445204, 0.5438113809, 0.2129849643, -0.5944048166, -1.1184892654, -0.0132322814, 0.1607928276, -0.9133215547, -0.1983083338, -0.2200470865, 0.0327927731, -0.6891705394, -0.0088505587, -0.2015923411, -0.5235925913, -0.3157859445, -0.3198344409, 0.5756723285, 0.75169909, 0.1286108196, 0.6020736098, -0.7338340878, 0.3055269718, 0.4321445823, 0.5294759274, -0.4012790024, -0.6948478222, -0.2355520725, -0.2728227675, -0.046991393, -0.5721721649, 0.682790935, 0.7415610552, 0.4865221977, 0.2797406316, 0.1734476388, 0.612814188, -0.4815533161, 0.3915220797, 0.060056176, -1.1706719398, 0.5311611891, -0.507886529, 0.3025562465, 0.5211701989, 0.3197835982, -0.3196864426, -0.1119440347, -0.3716744781, -0.8688057661, 0.4840186536, 0.0783984661, -0.0388465784, 0.077324003, 0.6283558607, 0.035845343, 0.4002674818, -0.8313021064, 0.1107255667, 0.2901604176, -0.2542808652, -0.2694958448, -0.2186743319, 0.0439789556, -0.5377206206, 0.7451481223, -0.4022336304, 0.0804156139, -0.1597034484, -0.4359422028, 0.1115577295, 0.4533499777, 0.5004166961, 0.8788079619, 0.0350081995, -0.0513912551, 0.4617352188, -0.0849086642, -0.0419351645, -0.2666879594, -0.4504629672, -0.2805778086, 0.3158757389, 0.8621068001, 0.2273319364, -0.6162671447, 0.2562443614, 0.0112616848, -0.4044227898, -0.0814796463, 0.0962866992, -0.0211613271, 0.2244061679, -0.0498569421, -0.2658949494, 0.3575408459, -0.5768560767, 0.2952488661, 0.176270023, -0.3576248586, -0.1994417161, 0.3712294698, 0.353204608, -0.1830057502, 0.8079460263, -0.2368793786, -0.4948774278, 0.470315814, 0.4526861608, 0.3632557988, -0.3632798195, 0.2070438117, 0.184638828, 0.3579344749, -0.1602456272, 0.2586708367, -0.1379708946, -0.567907691, -0.9689868689, -0.5332449675, -0.5194767118, 0.4700656235, -0.8209091425, 0.0464928411, -0.74637568, -0.0208294243, -0.2637743056, 0.0632905811, -0.8164631724, 0.1179202721, -0.0566591993, 0.532132268, -1.0520575047, 0.9920353293, 0.3469275534, -0.3018331528, -1.0465096235, -0.2941269577, -0.1081274599, -0.5563281775, 0.6480331421, 0.2529517412, 0.1606637239, 0.0746758133, -0.6747934222, -0.802205205, 0.5957405567, 0.7788975835, -0.7439525127, 0.0516607761, 0.216964066, 0.4957934022, -0.1990239322, -0.1186060533, 0.896471858, 0.4601736069, -0.0385790505, -1.0779443979, 0.0329285301, -0.063535586, 0.2072933167, 0.5505029559, -0.373814255, 1.023160696, -0.1776057631, -0.3011397421, -0.1716702133, 0.6202532649, -0.0867545381, 0.3254010975, 0.3038191497, 0.6729213595, 0.8382866979, -0.1981276572, 1.0864953995, 0.0838969648, 0.5801447034, 1.2065243721, -0.6963107586, 0.9530783296, 0.4483909905, -0.4299844205, 0.3584079146, 0.7113576531, 0.0911969692, 0.6702798605, 0.4140530825, -0.1607353687, -0.5121123791, -0.0855398476, 0.0168693643, 0.5294326544, 0.5467236638, -0.2608120441, -0.3938609362, 0.1454434246, 0.087353155, 0.383977741, -0.8094179034, 1.0441333055, -0.1091719568, -0.4915619195, 0.8425207138, 0.0441310778, 0.315823704, -0.4054770768, -0.3405760825, -0.2641843557, 0.3656784892, -0.1932884157, -0.570807457, 0.5724341869, -0.2335505337, -0.4679289162, -0.3607333302, 0.5760267377, -0.5669534206, -0.3785858154, 0.3712548316, 0.3990264833, 0.2641096711, -0.1860833615, -0.7373216748, -0.1025881767, 0.0513539426, -0.3958939016, 0.5431355238, 0.4726545513, -0.3188007176, 0.9081161618, 0.7498041987, 0.2536801696, -0.1281317174, 0.1867766976, 1.0431463718, -0.5939067602, -0.6665348411, -0.478040874, 0.0662030578, -0.0256972425, -0.0450042449, 0.2258837521, 0.5898247361, 1.2042495012, -0.1769319624, 0.7702561021, 0.2080965042, 0.7914572358, -1.027033329, 0.7303045988, -0.5157202482, 0.4318591952, 0.2895022333, -0.8514536023, -0.4661903083, 0.8602501154, -0.3924638033, 0.0288411174, 0.5922044516, 1.0113162994, 0.1644167453, -0.4104155302, 0.6613190174, 0.1431127042, 0.5013156533, 0.6929050088, 0.6181980371, -0.3094280958, 0.5387901664, -0.1866412461, 0.1985648125, -0.1371536255, -0.7438701987, -0.9721890688, -0.4981586337, -0.2546872497, -0.1952498555, 0.3066114187, 0.877333045, 0.6555769444, -1.0233438015, -0.1791915447, -0.1968153268, 0.2091476619, -0.1971195787, -0.151519075, 0.4116287231, -0.4048630297, -0.566387713, 0.6729589701, 0.0605436079, -0.2335870862, 0.0360332914, -0.2470044494, -0.1455500126, 0.0978437662, 0.8702059388, 0.3841724694, -0.4775169492, -0.6004232168, -0.3987619877, 0.0727145523, 0.1925071478, 0.862428546, -0.9734845161, -0.0190514438, 0.6024294496, 0.7461130619, 0.7621797323, -0.0997517258, 0.58172369, -0.8455144167, 0.1102333888, 0.4206030071, 0.3745574951, 0.1736197025, -0.3218571544, 0.8030937314, 0.1440906376, -0.4963904321, -0.8521670699, 0.3719941974, -0.8217707276, -0.3649995625, 1.2736445665, -0.2704333365, -0.4864763021, -0.4595765471, 0.082177937, 0.2605491579, -0.3653914928, 0.6856046915, 0.2711746991, -0.0522585213, -0.3864599168, -0.2958191037, 0.7853780389, 0.5199882388, -1.22960186, 0.3913633227, 0.8580393195, 0.4752523899, -0.1744543612, 0.4710395634, 0.1900854558, 0.3196725249, -0.2889221311, 0.2604118288, -0.1389763951, -0.5591382384, -0.5953874588, 0.2927909791, 0.307626754, -0.0184581317 ]
http://arxiv.org/abs/2407.02742v1
http://arxiv.org/pdf/2407.02742v1
A Comparative Study of DSL Code Generation: Fine-Tuning vs. Optimized Retrieval Augmentation
2024-07-03T01:28:51
2024-07-03T01:28:51
Nastaran Bassamzadeh, Chhaya Methani
cs.SE
cs.SE, cs.AI, cs.CL, I.2.2; I.2.7
Natural Language to Code Generation has made significant progress in recent years with the advent of Large Language Models(LLMs). While generation for general-purpose languages like C, C++, and Python has improved significantly, LLMs struggle with custom function names in Domain Specific Languages or DSLs. This leads to higher hallucination rates and syntax errors, specially for DSLs having a high number of custom function names. Additionally, constant updates to function names add to the challenge as LLMs need to stay up-to-date. In this paper, we present optimizations for using Retrieval Augmented Generation (or RAG) with LLMs for DSL generation along with an ablation study comparing these strategies. We generated a train as well as test dataset with a DSL to represent automation tasks across roughly 700 APIs in public domain. We used the training dataset to fine-tune a Codex model for this DSL. Our results showed that the fine-tuned model scored the best on code similarity metric. With our RAG optimizations, we achieved parity for similarity metric. The compilation rate, however, showed that both the models still got the syntax wrong many times, with RAG-based method being 2 pts better. Conversely, hallucination rate for RAG model lagged by 1 pt for API names and by 2 pts for API parameter keys. We conclude that an optimized RAG model can match the quality of fine-tuned models and offer advantages for new, unseen APIs.
[ -0.7505373359, -0.6990723014, 0.4269968271, -0.1531782448, -0.2433423102, 0.063366659, -0.2631241679, -0.6749879718, -0.2145314813, 0.8549559712, -0.3487509489, -0.3872146308, -0.2541338503, 0.4318581223, -0.3588532805, 0.9977115393, 0.1022309288, 0.0293333139, -0.0653395951, 0.0345333777, -0.323613286, -0.4801508486, -0.6886598468, -0.1807932407, 0.3267542422, -0.1914519072, 0.5553967357, 0.751640439, 0.6970812678, 0.3469817936, -0.33838588, 0.6774396896, -0.3032149673, 0.0162425321, -0.0885999426, -0.2607225478, -0.3656754196, -0.4614052474, 0.2145227492, 0.7285161614, 0.1460202485, 0.3759085536, -0.0992203951, 1.0183315277, -0.7147966027, -0.0315516964, -0.8789925575, -0.2180220038, 0.0487991944, -0.5089197755, -0.3523386121, -0.7135769129, -0.0193034895, -0.3467545807, 0.4579310119, 0.0517763309, 0.8861926198, 0.7790037394, -0.10949938, -0.6843617558, -0.731336236, 0.9177833796, -0.910689652, 0.4661591053, 0.3074899912, 0.1689662635, -0.1519128233, -0.5628136396, -0.348872304, -0.4258028269, -0.1153082103, -0.2883362174, 0.0965155289, 0.1100499928, 0.4698921144, 0.4854848385, -0.5691618919, 0.0998060778, -0.5534064174, 0.0509555116, 0.86136204, 0.2302196175, 0.0884314999, -0.0866820216, -0.1879722178, 0.0602483824, -0.7422305346, -0.1807976663, 0.6934856772, 0.6675176024, 0.1675994545, 0.5567167997, -0.1334440857, 1.0199439526, 0.2213803977, -0.112026073, 0.3673484325, -0.3174072206, -0.3465687335, -0.1884273291, 0.1524695605, 0.3184424341, 0.4927809536, -0.414201051, -0.6931681037, 0.2564325631, 0.7597437501, -0.5611767173, -0.0023808826, 0.2864769697, -0.3373331726, -0.3387788236, -0.1310840547, -0.4173190296, -0.3779915571, -0.9641742706, 0.3800355792, -0.3311243057, -0.0277927537, 0.1385724396, -0.154942885, 0.3037360907, 0.2762189209, -0.7280147672, 0.1468866915, 0.9450680017, 0.5566571355, -0.3521505892, 0.0583652928, -0.4602014124, -0.2466463149, -0.7041597962, 0.7614812255, -0.4461009502, -0.2856574357, 0.1057043076, -0.1292931288, 0.2014084756, -0.9445925355, 0.5010621548, -0.9322373271, -0.157539323, -0.1334182322, -0.6443787813, -0.0596080944, 0.0321078375, -0.6455815434, 0.8926818371, 0.2888419926, -0.5322808623, 0.5161883235, -0.4612273574, -0.4467942417, 0.1103751585, -0.2797285318, -0.4245994091, 0.4000846446, -0.0395873375, 0.2126378119, -0.3547404706, 0.1482874602, -0.0551247075, -0.5698173046, 0.1517972797, -0.1346930116, 0.5168327689, 0.6130771637, -0.1941577792, -0.2305965424, -0.8807311058, 0.2824106514, -0.2049198449, -0.5579632521, -0.3689656556, -0.0891287625, -0.0959111452, -0.0633230209, 0.2046846896, -0.3480621278, 0.1166989505, -0.8166823387, 0.0217503905, 0.7569780946, 0.1112229601, 0.4411078691, -0.5281255245, 0.4109776318, -0.2807557285, 0.0346351713, -0.1863682568, -0.0932818726, -0.6505694985, -0.2638742328, 0.2533971071, 0.1847540885, -0.6906216741, 0.4593831897, -0.0856516883, -0.4060527682, -0.8140165806, 0.1578906476, 0.6178922057, 0.3924377859, 0.5023266673, -0.1303754896, -0.6607174277, -0.8858949542, -0.2450270653, 0.1174288765, 0.0240061507, 0.5387547612, 0.2186693698, -0.4398048222, 0.6953172088, -0.5310692191, -0.0650216118, -0.196900174, 0.0406390466, 0.3325196803, 0.3482748866, 0.7037571073, -0.7415026426, -0.715169847, 0.2224452347, -0.3071278632, -0.3903794885, 0.0284539182, 0.0566477366, 0.968591392, 0.3438479602, -0.2487065345, 0.3785155416, 0.3882156312, 0.0368451439, 0.7549578547, -0.3059485257, 0.3463496268, -0.7904156446, 0.2757218778, -0.2031348646, -0.0187317021, -0.7096138597, 0.4551644027, 0.1576969475, -0.089264974, -0.4680335522, 0.6334861517, -0.5470504165, -0.4508215785, -0.5962780118, -0.0220698882, -0.01288985, 0.5165343881, -0.138441965, 1.2812590599, 0.4192667902, -1.0077154636, 0.2241101712, 0.1188171059, -0.1232247427, 0.2079141438, -0.6203055382, 0.2162452489, -0.1544953883, -0.2991915941, -0.6387729049, -0.1131710261, -0.4152661562, -0.4536767602, 0.416549027, -0.1356086135, -0.4960275292, -0.414748311, -0.2735094726, 0.2628393173, 0.8148214817, -0.8050686121, 0.1515217721, 0.2550987303, 0.1177307665, -0.5649568439, -0.6148530841, -0.1738677919, -0.3316768706, -0.5711358786, 0.3945460021, -0.194465667, -0.4186892509, -0.1966088861, -0.3265121877, -0.0534107648, 0.0999299511, -0.1713122278, 0.26460585, -0.2674306929, 0.2077874094, -0.1193461344, -0.257011801, -0.2567254901, -0.1447543353, 0.7679691911, -0.0862003639, -0.3408773839, -0.2436896861, 0.1489767134, 0.3597832918, -0.3477276266, 0.4487508535, 0.3800441623, -0.1856125742, -0.4101391137, -0.8368980289, -0.1888549775, -0.5462494493, 0.1485360414, -0.3980745375, -0.5099880099, 0.4742120802, -0.0587082244, 0.2755454481, 0.1991487741, 0.5640687943, 0.2141652107, 1.1316366196, 0.6809493303, 0.0621624477, 0.3761128485, -0.3299366832, 0.1440364867, -0.9340468049, 0.1921394467, -0.6887134314, -0.1177818403, -0.6209248304, -0.4337008297, 0.1269488037, 0.1215385869, -0.3561894596, 0.6417249441, -0.8194853067, 0.5674204826, 0.401452899, -0.1221504211, 0.418308109, 0.2112568915, -0.023152886, 0.0046146782, -0.3209290802, -0.6934038997, 1.2358748913, -0.0009091623, 0.9690299034, 0.1365959495, 0.989511013, 0.302732408, -0.0807819813, -0.5088556409, 0.4183629751, -0.6273889542, -0.3752233684, -0.0409682579, -0.5081056952, -1.045378685, -0.0312203951, -0.017277902, -0.4828701317, 0.0425248146, 0.1144066676, -0.3186902702, 0.1031754091, -0.7200140357, 0.4084104896, -0.282997191, -0.4228233099, -0.1248312369, -0.3550076485, 0.1465107799, -0.350631088, 0.0502555147, 0.1387003958, -0.0792081952, 0.073419638, -0.3314809501, 0.3376719058, -0.0400370806, -0.3225829005, 0.1625958383, -0.0239820052, 0.5490789413, -0.1315833479, -0.502443552, -0.2976514697, -0.1235539913, -0.164099887, -0.5973600149, 0.8160624504, -0.6668730378, -0.5270956755, 0.0485411026, -0.5208934546, -0.1490467638, 0.2465552837, 0.2267604917, 0.8174711466, 0.33184582, 0.021804139, 0.8506652713, -0.598392427, 0.2997297943, 0.6243000031, -0.2752103806, -0.2306598127, 0.8193572164, 0.0015918689, 0.5308959484, 0.0917238295, -0.2206900865, -0.316301614, -0.7609850168, -0.4278814197, 0.4017786086, -0.6362245083, -0.4658050537, -0.6219918728, -0.4208714962, -0.6039937735, -0.5108710527, -0.3879914582, -0.2737881541, -0.3307248354, 0.1894894689, 0.4673349261, 0.7167197466, 0.0425790139, -0.0228258539, -0.7177587152, 0.6312159896, -0.0951779932, 0.5582441688, -0.0056933537, -0.4729900062, -0.2537239492, 0.1281486303, -0.2484809756, -0.6013040543, 0.5286678076, 0.0520087071, 0.7222744226, 0.0095379455, 0.2917204201, 0.9766934514, -0.4250468612, 0.5378445983, -0.2331026793, -0.5896808505, 0.4880099297, -0.0770622268, 0.2297761887, 0.5709021091, 0.1028918251, -0.1817176193, -0.5463519692, -0.5555520654, -0.9645226598, 0.67166394, -0.0730933845, 0.1901921034, -0.1715725362, 0.586009562, 0.2388341427, 0.3022460043, -0.3765780628, -0.2310474813, 0.4334876835, -0.1309874505, -0.0193276256, 0.0497793742, -0.0336968116, -0.0176332872, 0.7083356977, -0.1317668557, 0.1978539079, 0.1502582133, -0.2014857382, -0.2734135389, 0.0423724987, 0.6105327606, 0.5786559582, -0.1575081646, -0.0845394656, 0.2960289717, -0.1928020269, -0.1067062393, 0.0703575835, -0.2300909758, 0.1308180243, 0.2222837061, 0.7675796151, -0.1134543344, -0.8666631579, 0.1842681766, 0.1645655036, -0.0647545755, -0.3337027133, 0.3626182079, -0.1751059741, 0.4218275249, 0.3122213781, 0.1183182523, 0.3492273986, -0.2709328532, 0.3233220279, 0.6258232594, 0.0226489194, 0.0367952511, 0.4970593452, 0.0303909276, -0.4603712857, 0.3163795471, -0.5094485879, -0.3462378681, 0.8091766238, 0.616748929, 0.9039090276, 0.1959138811, -0.0597774722, 0.6077594161, 0.1299138665, -0.0143492371, 0.2279387414, -0.0489855744, -0.3743953407, -0.4860070348, -1.117154479, -0.117993176, 0.0850677043, -0.5177302361, 0.6060119867, -0.2257184386, -0.2139790207, -0.2091909647, 0.4112609029, -0.6781473756, 0.0527068116, 0.0762822479, 0.8512275815, -0.4995110631, 0.6219577193, 0.7833068371, -0.4459981024, -0.7520813942, -0.0122177564, -0.1984423697, -0.5880773664, 0.6908738017, 0.1312636435, -0.1020359471, 0.1948247552, -0.1835604906, -0.9543150067, 1.0940785408, 0.1887893677, -0.4501793087, -0.0663631707, 0.1829157472, 0.9570327401, -0.2878172696, 0.0689386353, 0.7441108823, 0.30745399, 0.033740554, -0.9262562394, -0.1296206415, -0.0029203435, 0.3565259278, 0.4902353585, -0.235477075, 0.7981265783, -0.223611787, -0.3560829759, 0.4125856459, 0.1111311466, 0.5328634977, 0.2773693502, 0.2268761545, 0.5428478122, 0.566683352, -0.0099960798, 1.1168702841, -0.5600122809, 0.2606087029, 0.8723196983, -0.3084883988, 0.6742828488, 0.4633744657, -0.1921306998, -0.0923337266, 0.4604689181, -0.1627596468, 0.6185100675, 0.3577645421, -0.0311744157, 0.1857190877, 0.0398244634, -0.5279447436, -0.0280317198, 0.1790751219, -0.465320915, -0.3339471221, -0.0237104297, -0.2502321303, 0.3778194785, -0.3023447692, 1.2303005457, -0.1164696291, -0.81254673, 1.1041898727, -0.0454286225, 0.7756505013, -0.2894497216, 0.1788481921, -0.5237634182, 0.3303793669, -0.3183482587, -0.4543192387, 0.7580878139, 0.31439206, -0.0514241457, -0.0456590354, 0.6236917377, -0.2962251306, -0.2707884908, 0.3472230136, 0.2926324904, 0.1954103708, 0.1083396897, -0.62415272, 0.335226357, 0.150880903, -0.0895081609, 0.2746279836, 0.3479136825, 0.1606532037, 0.6492905021, 0.7223227024, 0.3895278871, 0.3383590281, 0.1923931986, 0.9758853912, -0.468167156, -0.1869937032, -0.5994004607, 0.407608211, 0.075926125, -0.1320499629, 0.5702754259, 0.6567358971, 0.8620108366, -0.3536306322, 0.6327756047, -0.0545033216, 0.7259167433, -0.6269873977, 0.4055923522, -0.9083319902, 0.7011942863, -0.3818994761, -1.2390675545, -0.3048675954, 0.4522491693, -0.2786386311, 0.0392604508, 0.3626247942, 1.296518445, -0.0503444672, -0.2404310405, 0.3262008429, -0.1729086637, 0.2882266641, 0.2230606079, 0.720823288, -0.3453944027, 0.4016554952, -0.2658621371, -0.0351852588, -0.3179340661, -0.5643369555, -0.6624494195, -0.5468729138, -0.2649342716, -0.1534483135, 0.2538385689, 1.0021560192, 0.4596294761, -0.6592302322, -0.1401373297, -0.4205468595, -0.03930334, -0.084502928, -0.2731661499, 0.1701709628, -1.2943589687, -0.97682482, 0.0935283452, 0.1418164819, 0.0850881413, -0.1941414773, -0.2351168841, -0.0130386353, 0.3445807695, 0.5587329865, 0.1339870691, -0.8455998898, -0.104830116, 0.2453201711, -0.3865386248, -0.0015432223, 0.6448847651, -0.7598506808, 0.4051048458, 0.634049356, 0.9899649024, 0.2241134942, 0.3222803175, 0.4289401472, -0.7397337556, 0.0243130587, 0.2791364193, 0.071304746, 0.3672963679, -0.3168025017, 0.7709023952, -0.2962504625, -0.9281150103, -1.1249097586, 0.4242135584, -0.6205725074, -0.421677053, 1.3144446611, 0.1785905659, -0.0700679943, -0.2550529242, -0.3975286484, 0.2959412038, -0.064021349, 0.9564018846, 0.2066085786, -0.2919310033, 0.2614512146, -0.6030788422, 0.8600687385, 0.2925698459, -0.6504904628, 0.2311175019, 0.5208603144, -0.0240878966, 0.3511201739, 0.376675725, -0.3140157163, 0.300114572, -0.0842293799, 0.0879404768, -0.1370905787, -0.2265048623, -0.4166453779, -0.1859460026, 0.3087899983, 0.0726580769 ]
http://arxiv.org/abs/2407.02736v1
http://arxiv.org/pdf/2407.02736v1
MentalAgora: A Gateway to Advanced Personalized Care in Mental Health through Multi-Agent Debating and Attribute Control
2024-07-03T01:19:38
2024-07-03T01:19:38
Yeonji Lee, Sangjun Park, Kyunghyun Cho, JinYeong Bak
cs.CL
cs.CL
As mental health issues globally escalate, there is a tremendous need for advanced digital support systems. We introduce MentalAgora, a novel framework employing large language models enhanced by interaction between multiple agents for tailored mental health support. This framework operates through three stages: strategic debating, tailored counselor creation, and response generation, enabling the dynamic customization of responses based on individual user preferences and therapeutic needs. We conduct experiments utilizing a high-quality evaluation dataset TherapyTalk crafted with mental health professionals, shwoing that MentalAgora generates expert-aligned and user preference-enhanced responses. Our evaluations, including experiments and user studies, demonstrate that MentalAgora aligns with professional standards and effectively meets user preferences, setting a new benchmark for digital mental health interventions.
[ -0.8155329823, -0.7833437324, 0.7246262431, 0.2347208112, 0.1582192034, 0.4499234855, 0.0929608047, -0.5881711841, 0.5106216669, 0.4091748893, -0.7920946479, -0.4239237905, -0.5491707325, 0.059013065, -0.0813105181, 1.2295308113, 0.09910997, 0.2171368599, -0.1700887978, -0.3166795671, -0.6993438005, -0.5237334967, -0.9191687703, -0.7991302013, 1.0112797022, 0.4299441874, 1.0653840303, 0.0281228758, 0.5464214087, 0.3250668347, 0.2646247447, 0.2580915391, -0.1752871871, 0.2088113278, -0.4311075211, -0.3280902505, -1.1345741749, -0.127837494, -0.1049660221, 0.1591433287, -0.5921317935, 0.2369921803, -0.2547560334, 0.462783426, -0.5187514424, -0.2854200602, -0.5133303404, 0.1464999169, -0.1844441295, 0.084742941, -0.0725196376, -0.619751513, 0.0423979722, -0.7011856437, -0.0253531914, -0.1761819422, 0.7012073398, 0.3308347762, -0.3549632728, -0.2021588385, -1.1111861467, 0.2363805473, -0.5003296733, 0.0313691236, 0.6791175008, 0.8397250175, -0.0280815456, -0.9969475269, -0.6397169828, 0.0318245254, 0.0514914468, 0.2247194052, -0.8974384665, 0.3224906027, 0.0532284491, 0.1459546834, -0.2708994448, 0.1178799644, -0.2582154572, -0.1757718474, 0.7515479922, 0.6102287173, 0.3774346411, 0.335344553, 0.119811736, 0.1063985303, -0.1074208468, 0.0355975479, 0.2598897815, -0.0352829546, -0.084934622, 0.7996894717, -0.1125705838, 0.3226967752, 0.4543506205, -0.1975552142, -0.1262570173, 0.0762502253, -0.370749712, 0.1547614783, 0.7346522212, 0.5557438135, -0.072858952, -0.1661396474, -0.0314930007, 0.533208549, 0.8500135541, -0.7300943136, -0.1605467051, 0.6497235298, -0.3182888627, 0.0260048602, -0.1283125132, -0.7905095816, -0.644250989, -0.6006848812, 0.2943575382, -0.4214828014, -0.2285520583, 0.5004059672, -0.0594868027, -0.0937021673, 0.4542158246, -0.5940238237, 0.7628406882, 0.6192598939, 0.9307323694, -0.0365415104, -0.1383435577, -0.4199714661, 0.3065961599, -0.1472399384, 1.2848724127, -0.7186728716, -0.1249645352, -0.2165735215, -0.2481151968, 0.1615157127, -0.553997159, 0.4631134272, -0.4774858356, 0.2315232754, -0.2922139466, -0.210877791, -0.0870682374, 0.3266874254, -0.6118258238, 0.5284525752, 0.4017409086, -0.8804557323, 0.2175168693, -0.855124414, -0.1517336071, 0.3358517885, -0.1498824805, -0.3634219766, 0.1874317825, 0.1100407541, 0.2485663593, -0.4020023942, 0.2946503758, -0.8222767115, -0.3764956594, 0.4487024248, -0.0347983763, 0.4475003481, 0.3005751073, -0.4315234125, 0.6814023852, -0.7805424333, 0.106259495, 0.1305601299, -0.0346447416, -0.4671760798, -0.0512512997, 0.2186307162, 0.3506673872, 0.037252631, -0.5536695123, 0.0880558491, -0.004902713, 0.5717192888, 0.8322213888, -0.1185180545, 0.0367384776, -0.6225935817, 0.8371448517, -0.3089466095, 0.4029901028, 0.2717526853, -0.4884144664, -0.2492831796, -0.7250465751, -0.1924522668, 0.6519916058, -0.3861018717, 0.5037189722, 0.0116869118, -0.6009332538, -0.9996834993, -0.2238257378, 0.082005702, 0.2830432355, 0.4292550385, -0.2571170032, -0.51517874, -1.0909770727, 0.1661286205, 0.016509112, -0.127506271, 0.3311876953, 0.1494431496, -0.9901950359, 1.1448793411, -0.6080847979, -0.5518366098, -0.3351567686, 0.1320380569, -0.20855169, -0.1338664293, 0.5291307569, -0.4555272162, -0.5004810691, 0.3278640211, -0.776843667, -0.3875282705, 0.0593533255, -0.4291742742, -0.4604060054, -0.1215765476, -0.6478536129, 0.2474661469, 0.6107780933, -0.4625029862, 0.5673320889, -0.5022490621, 0.0954725072, -1.2565090656, 0.2972006202, -0.1076660603, -0.2530609667, -0.7409212589, 0.0244251508, -0.3170356452, -0.2668221891, -0.1223271415, 0.5025694966, 0.198420018, 0.1346876472, -0.6139858365, 0.1209230497, -0.0168048795, 0.321682781, -0.2396849692, 0.6709884405, 0.3692564368, -0.1447941959, 0.7423107624, 0.3526690304, 0.1034638509, 1.4844634533, -0.8346987963, 0.4706478417, -0.2176551372, 0.5896615982, -0.8102029562, -0.3795560002, 0.4542966783, -0.0948284864, -0.2824916244, 0.5923935771, -0.273326993, -0.4893945754, -0.1946945637, 0.3640139401, -0.1263816655, -0.040004544, 0.6282010078, 0.7686107755, -0.3785448372, -0.3252753317, -0.192818284, 0.5687555075, -0.5992322564, -0.3203426003, 0.5278473496, -0.4337105155, -0.5772648454, -0.0107135335, 0.2756794691, -0.2147941589, 0.0696683377, 0.3256506026, -0.0620750003, -0.0012191809, 0.246358633, 0.4337194264, -0.2539437115, 0.1126869917, -0.1935657561, 0.6619945765, -0.1798628867, -0.364200294, -0.8052511215, 0.9912793636, 0.8414590359, -0.4307882786, 0.5494550467, 0.7115729451, -0.6709281206, 0.1343659014, -0.591377914, -0.1234589145, -0.4658645093, 0.1395286769, -0.5388469696, -0.8727065325, 0.7478433847, 0.0668954849, 0.0532160923, 0.0630769283, 0.6121156812, -0.0749843121, 1.6999241114, 0.5584868193, -0.0517710336, 0.2253805846, -0.0076035853, 0.197654143, -0.6685813069, -0.4068533778, -0.4113932848, -0.5152775049, -0.381883949, -0.117073372, 0.4882183671, -0.0853968039, -0.6105867624, 0.1961568147, -0.7691119909, -0.2058836222, 0.3221376538, 0.6736904979, 0.4654087126, -0.1416603029, -0.2061529905, -0.3633123338, -0.3511568606, -0.5659971833, 0.6885840893, 0.3132081032, 1.0272855759, 0.223167628, 0.1837361306, 0.6403957009, 0.6832729578, -0.8606731892, 0.3587210476, 0.2573234439, -0.6454781294, -0.0802107826, 0.0490804166, -1.1315687895, 0.2652183771, -0.2770719528, -0.8270429373, 0.125817135, 0.1510521173, -0.7613148093, 0.1516115665, -0.355319798, 0.4057810009, -0.2947061658, -0.3882334828, -0.8357790709, -0.444075495, 0.1623405963, -0.2707027197, 0.0314722881, -0.3578602076, 0.0259273853, 0.3399891853, -0.2973688841, 0.7043593526, 0.1652471572, -0.1035802364, -0.0393794104, 0.1247774735, 0.129131332, 0.332849741, -0.0380194336, -0.142644003, 0.1423644871, -0.2819609642, -0.8787446618, 0.6532808542, -0.9590992332, -0.8197422624, -0.2742423117, -0.5691537261, -0.3719180822, 0.2319217175, 0.0340859555, 0.4399671257, -0.2892506123, -0.0984279886, 0.5659521222, -0.2707674205, -0.0512273014, 0.5522345901, -0.2125552595, -0.9064891934, 0.6002783775, 0.0861907452, -0.2458029985, 0.1774918288, 0.4538950622, -0.1860463917, -0.083022505, -0.2724202275, 0.212838009, -0.5275961757, -0.2783100009, -0.87857306, -0.1670479327, -0.2861461937, -0.3329207301, -0.4884352982, -0.0322815329, -0.0436018147, -0.3233285844, 0.3363181949, 1.0449755192, 0.0890538096, 0.4162754118, -0.6585670114, 0.2738916278, 0.6752365232, 0.5309295058, 0.2284795642, 0.2396097481, -0.2624066472, -0.117591247, -0.7207462192, -1.2458132505, 0.1493975818, 0.0664391741, 0.7860233188, 0.7550240755, 0.1298727989, 0.9413990378, -0.6429877877, 0.285923034, 0.1840204746, -0.8170039058, 0.8320474625, -0.4337880015, 0.3636030853, 0.4509015977, 0.346046418, -0.752440691, -0.4205914736, -0.4657830596, -0.5255265832, 0.5779994726, 0.0031703189, 0.326548636, 0.083714053, 0.3664157391, 0.2091473937, 0.3040556014, -0.473097384, -0.1382822543, -0.2540721595, -0.2431517839, 0.1506351084, 0.0580011979, -0.889750421, -0.2936072052, 0.1506425589, -0.380592376, 0.549274087, 0.2004995644, 0.221165821, -0.2804999053, 0.2404408455, 0.6591753364, 0.802615881, -0.0076304809, 0.1471718103, 0.0624799468, -0.4330442548, 0.4519078135, 0.2682181895, 0.1543623209, -0.301042527, 0.1038825884, 0.9613649249, 0.0111702811, -0.6214057207, -0.1200968698, -0.4974531531, -0.028075425, -0.1379759759, 0.226184994, 0.024686886, 0.561637342, 0.2040898204, -0.026144743, 0.3667867482, -0.2855067253, 0.3368768394, 0.5772266388, -0.6579854488, -0.6716744304, 0.8586676717, -0.098509714, -0.8127864599, 0.3294123709, 0.2043318599, -0.0793732852, 0.2814404666, 0.7138329744, 0.9712582827, -0.4449911118, 0.7989532948, 0.010720145, -0.0505500957, 0.0682361796, 0.2247072309, -0.0836044401, -0.604493618, 0.1166224107, -0.270259738, -0.7199010253, 0.2750551105, -0.9604693055, 0.1414427161, -0.652962923, -1.0367171764, 0.0312261749, 0.1267451644, -0.6237620115, 0.1559183002, 0.1117601395, 0.6774333715, -0.6372353435, 0.7022752762, 1.098503828, -0.1373265982, -0.5178711414, 0.0109125348, 0.096591562, -0.3906451762, -0.0770775005, 0.1448668987, -0.5501423478, 0.0285907835, -0.2105939686, -0.562584281, 1.2715107203, 0.7741979361, -0.1303455085, -0.0557582304, 0.1794048995, 0.9691101909, -0.5194284916, 0.5610260963, 0.5819754601, 0.5602792501, 0.1283117533, -0.7058731318, -0.0436275043, -0.2610000372, 0.1455615461, -0.266988337, -0.8797883391, 0.3539702296, -0.254602015, -0.1455105543, -0.0164760798, 0.5051504374, 0.5142244697, 0.4256906807, 0.346115768, 0.5788757801, 1.046297431, 0.1343209296, 0.8296338916, -0.2437477559, -0.0096544474, 1.1169189215, -0.5522431135, 0.5582520366, 0.125915423, -0.2217359245, 0.7045273781, 0.90414083, 0.2611843944, 0.3892327547, 0.1360004693, -0.6309716105, -0.0679063201, -0.6160489917, -0.3777463734, 0.4314238429, 0.3391386867, 0.1482559592, -0.1127681285, 0.4838501513, 0.3917032182, 0.2730121017, -0.1738933772, 0.7575238943, 0.1163421497, -0.7009250522, 0.1248337179, 0.1212229282, 0.3908686638, -0.7458434105, 0.170495227, -0.4954817593, 0.4598386884, -0.1936996728, -0.5742652416, 0.4651697576, -0.0285695698, -0.1646917313, -0.0465313233, 0.7053412795, -0.1374067813, -0.6089909673, 0.7525307536, 0.5248194337, -0.3773382902, -0.0122298226, -0.9326067567, 0.0229988359, -0.6069703102, -0.173539713, 0.5590828657, 0.3266772032, -0.3686336875, 0.9058556557, 0.4594098926, 0.2346145958, -0.3447612524, 0.1777474731, 1.0079176426, -0.2686952949, -0.554141283, -0.7162455916, 0.3569327295, -0.1575279385, -0.4605908394, 0.6341750026, 0.2661762536, 0.4688179493, 0.2500447333, 0.7626987696, -0.0090199467, 0.1034140512, 0.1664299518, 0.7288523316, -0.5413332582, -0.2283453494, -0.3087073267, -0.8333200812, -0.3847710788, 0.5517478585, -0.0590741821, -0.1826052666, 0.4317330718, 0.6880220771, 0.0473002568, -0.1728613824, 0.1983097792, 0.0208077002, 0.7345007658, 0.4346958101, 0.8850563765, 0.095217213, 0.1340807527, -0.1328636855, -0.3624402583, 0.1926294565, -0.4173265994, -0.8130457401, -0.5144969821, -0.1181227937, -0.240071699, 0.2452747077, 1.2388939857, 0.8296111226, -0.8340759277, -0.4008943439, 0.2144488394, 0.0524356887, -0.6264740825, -0.2217833698, -0.0433428846, 0.0364775509, -0.6440142393, 0.1445849389, 0.5560171604, -0.1804658026, -0.7351461649, -0.0792781189, 0.0534177199, 0.439471215, 0.64135921, 0.0950112268, -0.6897383928, -0.0863100141, 0.0981554389, -0.3792335391, 0.2705974877, 0.9457037449, -0.7384544015, 0.5283375978, 0.3196743727, 0.5763587356, 0.2360937744, 0.030451322, 0.9511317611, 0.0784303769, -0.0286884811, 0.1626673937, -0.0376468599, 0.206186235, -0.6184474826, 0.2384388745, 0.01460642, -0.4926595688, -0.712475121, 0.0726706982, -0.6865012646, -0.2648524642, 0.5937706232, -0.2314977348, 0.3491366804, -0.3866236508, -0.6815280318, 0.310939461, -0.4225479364, 1.1907243729, 0.5919079185, -0.5796522498, -0.2755427063, -0.5451613069, 0.3103328943, -0.0434785746, -1.1351765394, -0.251019001, 0.4778469801, 0.0326940082, 0.0410263613, 0.9689289927, 0.1021775752, 0.1467843503, -0.4127790928, 0.047389444, 0.0218326468, -0.5213083029, -0.2664286792, 0.3541510403, -0.0638955384, 0.3005331755 ]
http://arxiv.org/abs/2407.02723v1
http://arxiv.org/pdf/2407.02723v1
e-Health CSIRO at "Discharge Me!" 2024: Generating Discharge Summary Sections with Fine-tuned Language Models
2024-07-03T00:32:28
2024-07-03T00:32:28
Jinghui Liu, Aaron Nicolson, Jason Dowling, Bevan Koopman, Anthony Nguyen
cs.CL
cs.CL
Clinical documentation is an important aspect of clinicians' daily work and often demands a significant amount of time. The BioNLP 2024 Shared Task on Streamlining Discharge Documentation (Discharge Me!) aims to alleviate this documentation burden by automatically generating discharge summary sections, including brief hospital course and discharge instruction, which are often time-consuming to synthesize and write manually. We approach the generation task by fine-tuning multiple open-sourced language models (LMs), including both decoder-only and encoder-decoder LMs, with various configurations on input context. We also examine different setups for decoding algorithms, model ensembling or merging, and model specialization. Our results show that conditioning on the content of discharge summary prior to the target sections is effective for the generation task. Furthermore, we find that smaller encoder-decoder LMs can work as well or even slightly better than larger decoder based LMs fine-tuned through LoRA. The model checkpoints from our team (aehrc) are openly available.
[ -0.2828141153, -0.3280640244, 0.8504616022, 0.2414379865, -0.4565733373, -0.1574286669, 0.0727277994, -0.5788667202, 0.355617106, 1.013641119, -0.6040508747, -0.7631671429, -0.4163450003, 0.4010260999, -0.4392464161, 1.2124137878, -0.0269940924, -0.0317373425, -0.1324183494, 0.0224356242, -0.0712634102, -0.3943925798, -0.6030664444, -0.5654622316, 0.6832144856, 0.3092521429, 0.3121405542, 0.5209060311, 0.5031068325, 0.1494309455, -0.0229910854, 0.3277890682, -0.2288642973, 0.1545570046, -0.1201224402, -0.2298131883, -0.812261641, -0.432664603, 0.2740436792, 0.7073687315, -0.3950075507, 0.3150844276, 0.1044873744, 0.6853077412, -0.8986848593, 0.0319367573, -0.3305515349, 0.0234488845, 0.1143933982, -0.2437227815, -0.6030391455, -0.1997551769, -0.2043593973, -0.5125519037, 0.4705600142, -0.1767568886, 0.7747365832, 0.1540441811, -0.1694507301, -0.2434023917, -0.7869770527, 0.6167231798, -0.9118088484, 0.1670653224, 0.5856869221, 0.1769235283, 0.1827479303, -0.9568814039, -0.0456808656, 0.021679759, -0.2802066505, 0.3792125285, 0.0066812602, 0.616733551, 0.2544783354, 0.254191488, -0.5431964397, 0.0587914959, -0.7021582723, -0.2387971431, 0.5847724676, 0.5571115613, 0.3015685678, -0.3454655707, 0.0330140181, 0.1468643248, -0.7598853111, -0.1645905077, -0.0757864639, 0.0712551177, -0.4937622249, 0.4969832897, -0.469473958, 0.572793901, 0.0660038739, -0.0259768125, 0.0167324618, -0.5640466213, -0.3033527732, 0.2504032254, 0.8095628023, 0.3715205789, -0.229502663, 0.0341854133, -0.3073421419, -0.1834658533, 0.548492074, -1.122189045, -0.390427649, 0.5766382217, -0.6584764719, -0.2448573411, -0.3699447811, -0.6488120556, -0.0878977627, -0.2992609739, 0.0445446447, -0.5802191496, 0.1459008008, 0.2323178798, 0.0440009832, -0.1290999204, 0.4067215323, -1.1492141485, 0.3738926351, 0.615065217, 0.8444251418, 0.1493923366, -0.0388932563, -0.8636929989, 0.3670082688, 0.05556361, 0.7188280225, -0.2137067765, -0.3878651857, 0.3004618287, -0.0884076655, 0.0119742537, -0.4481068254, 0.5448532701, -0.1793780029, -0.0997986645, -0.0152036576, -0.3570659161, 0.3588965535, 0.0930241123, -0.7419138551, 0.4461466074, 0.3898487985, -0.6877426505, 0.2338122576, -0.8036980033, -0.3118391037, 0.2815642953, -0.2645945549, -0.4962855279, 0.1414369494, 0.3646786809, 0.5404455662, -0.249080047, 0.3353354931, -0.0754717365, -0.2706273794, -0.1695195735, 0.0389618948, 0.6471584439, 0.558704555, 0.1353371143, 0.2413025796, -0.8255725503, 0.0068710097, -0.23501423, -0.5269116163, -0.1208446622, 0.0777087063, 0.0407901146, 0.092815645, 0.3466427326, -0.501771152, -0.0395677984, -0.647634685, 0.5214726329, 0.2604186237, 0.3198426366, 0.2976716161, -0.5439134836, 0.7132201195, -0.0191758387, 0.5032627583, -0.6446838379, -0.4192690849, -0.4238114953, -0.3960622251, 0.0422109477, 0.2616946101, -0.5596751571, 0.2980645597, -0.0938562155, -0.3882818818, -0.4630990028, -0.0619867817, 0.5703197718, 0.4798535109, 0.5384904146, -0.2039246112, -0.6214651465, -0.8623492718, -0.0454840846, -0.1214662939, -0.0425821282, -0.0588316582, 0.4668554366, -0.6332222819, 0.6373561025, -0.468895942, -0.1655279696, -0.5657741427, 0.5059226751, 0.257810086, 0.3134556115, 0.4969219565, -0.516356349, -0.1902674586, -0.0067741508, -0.7675089836, -0.4575408101, -0.0702135712, 0.0528491102, -0.0699779466, 0.6375107765, -0.292688787, 0.4295412004, 0.3048447669, -0.2155885547, 0.74794662, -0.7622061372, 0.0903461501, -1.2311038971, 0.1203794256, -0.1446115375, -0.4224712849, -0.5667927265, 0.3720082939, 0.3630496562, -0.4180812538, -0.5451416969, 0.3712820411, -0.3961489797, 0.2859217227, -0.2169229388, -0.2400068492, 0.4401854873, 0.1880013645, 0.0568433069, 0.2929632664, 0.2197342068, -0.8715974689, 0.0091167344, 0.4124775529, -0.0383687615, 0.2591046393, -0.6465970874, -0.2548702657, -0.084313184, 0.4715098143, -0.4242063165, -0.5713927746, -0.0350175984, 0.01712659, 0.3284456134, 0.0480603725, -0.3132856786, -0.3751662076, -0.4150783122, 0.5639437437, 0.6405587196, -0.2931298912, 0.5400959253, 0.211185351, -0.332187444, -0.4036448598, -0.7425981164, 0.015502817, -0.0321293734, -0.3104569614, 0.6729021072, 0.005245903, -0.1466337293, -0.1585195959, 0.2759414315, -0.1137579307, -0.0744638368, 0.4592494369, 0.1065466627, -0.1215521172, -0.2216105163, 0.5352634192, -0.0117699569, 0.2528676689, -0.0384319872, 0.6805222631, 0.227150321, -0.7550743818, -0.6449272633, 0.7974348068, 0.5361347198, -0.254856497, 0.6081002951, 0.5657708049, -0.493806392, -0.1632719189, -0.3631981909, -0.2330569327, -0.4606359005, 0.3715224564, -0.0080408277, -0.668890357, 0.6858723164, -0.2730804384, 0.411690563, 0.3698326945, 0.5260795355, -0.1720759571, 1.0880012512, 0.8335512877, 0.2170554549, 0.1862092763, -0.3395137787, 0.2909761667, -0.9004458189, -0.4526438117, -0.5746158957, 0.1422400326, -0.4211354256, -0.3439373374, 0.6858434677, 0.253374517, -0.2194681019, 0.2109269202, -0.5231459141, 0.1488183141, 0.2264609784, 0.3526783586, 0.1819551289, -0.0543386415, -0.1676474661, 0.0503924638, -0.7315350175, -0.5915650129, 1.0030757189, 0.2369064242, 0.7221139073, -0.2005036175, 1.4026931524, 0.3478746712, 0.0805415139, -0.3494652212, 0.5091444254, -0.5781169534, 0.0529365689, 0.0415206924, -0.0338760167, -0.87085706, -0.2648639083, -0.0477366261, -0.6908845305, 0.1341102868, 0.4679993391, -0.6535579562, -0.0118002268, -0.3591097891, 0.5834957361, -0.0636033416, -0.2883973122, -0.4267933965, -0.5863336325, 0.5951356888, -0.2418200076, 0.4519891143, 0.0012465394, 0.1138713807, 0.4447906911, -0.8851097822, 0.7610162497, 0.1375154108, -0.1947942674, 0.3018801212, -0.1139395684, 0.1827762723, 0.1449884474, -0.2495988756, -0.1644412726, 0.2760267556, -0.3048346937, -0.2446718812, 0.5281996727, -0.5240966678, -0.1860146224, -0.0248949584, -0.3152406514, -0.0179862529, 0.1563841701, 0.7139168978, 0.8779850006, -0.4838826656, -0.2300578952, 0.6432176232, -0.687071979, 0.3004029989, 0.5848824382, -0.337138325, -0.333489269, 0.843307972, -0.1711168736, 0.5324203968, 0.5418609977, 0.0120612243, -0.2579183578, -0.6242082715, -0.5185413361, 0.3291127384, -0.8835360408, -0.3034839332, -0.8332583308, -0.5536289811, -0.564229548, -0.4520553648, -0.2585347593, -0.3544301689, -0.534668088, 0.0539795198, 0.2425545305, 1.0690078735, -0.242429927, 0.2923478186, -1.1866914034, 0.6922421455, -0.110522069, 0.0957583562, -0.319771409, -0.3777114153, -0.5373360515, 0.1674401462, -0.5063951015, -0.7645087838, 0.6687182784, 0.2727760673, 0.2041356266, 0.5408192277, 0.1250687838, 0.5431963801, -0.5950558186, 1.0000725985, 0.5287071466, -0.7434128523, 0.8821850419, -0.6235302091, 0.5072954297, 0.5389591455, 0.1938911825, -0.323274076, -0.7842754126, -0.5156665444, -1.1412614584, 0.7592537403, 0.0687855259, -0.0604743063, -0.2662240863, 0.4005463123, 0.0805422291, -0.0426981337, -0.2750325799, 0.0689943433, -0.2326186746, -0.4485291839, 0.2285177559, -0.5171279311, -0.1903264821, -0.0092319511, 0.4858881235, -0.0831291676, 0.2834192216, 0.2147300988, 0.0537112765, -0.1054102927, 0.5001423359, 0.7030310631, 0.8045378923, -0.3333691061, -0.0126123047, 0.0384424143, -0.544347465, -0.0354649238, -0.0819149539, -0.265429318, 0.2735309601, 0.3710995018, 0.6585105658, 0.3802448809, -0.8034466505, 0.3592205048, -0.1892947108, -0.4699122012, -0.309391439, 0.2775906026, 0.1955298781, -0.1138766706, 0.0929624364, -0.0929328129, 0.3664640188, -0.4594639838, 0.2248492092, 0.0421027578, -0.2649778724, -0.4201977849, 0.8810789585, 0.2768518627, -0.1574834585, 0.3960955739, -0.1073701233, -0.2643961608, 0.7970573306, 0.7688983679, 0.8887522817, -0.1323427558, 0.3815715611, 0.7720040679, 0.0237171371, -0.2709770799, 0.5532721281, -0.0835979357, -0.2198934406, -0.5503584146, -1.1371650696, -0.563385427, 0.2798557281, -1.1145399809, 0.5123668313, -0.4351328909, 0.100196898, -0.1366971731, -0.5884538889, -0.6941782832, 0.4751351178, 0.3387583792, 0.7442551851, -0.8237851858, 0.5537523031, 0.5121660829, -0.5165762305, -0.9780795574, -0.1972384006, -0.3137364686, -0.5202141404, 0.4153936505, 0.0835580975, -0.2530486882, -0.1793154031, -0.3453016579, -0.328088969, 1.1274015903, 0.2902070284, -0.7614426017, -0.3171713054, 0.4186273515, 0.7049918771, -0.4630295932, 0.5772073269, 0.5293155909, 0.2139545083, -0.3742985427, -1.0516088009, -0.020317588, -0.3217892349, -0.2308842987, 0.120541364, -0.5463046432, 0.8402270675, -0.257720679, -0.1676595807, 0.2403499782, 0.4513245225, 0.372300446, 0.4746648371, -0.0473796315, 0.5234724283, 0.6520969868, 0.1704314947, 1.2585895061, -0.5733197927, 0.0275544338, 1.1188620329, -0.2770082951, 0.6963537931, 0.1972314864, -0.0160221215, 0.5189449191, 0.5289561749, 0.4112512767, 0.5249881744, -0.0296722502, -0.3996161819, -0.2325835526, -0.4134068191, -0.4446148276, 0.3192647099, 0.5627550483, -0.7452231646, -0.3837569952, 0.1051036119, -0.253716737, 0.1208644584, -0.5391815305, 0.940236032, 0.3934784532, -0.9077168703, 0.7342725396, 0.2589242458, 0.2515849173, -0.8626757264, -0.0890833437, -0.164680317, 0.0690101385, -0.5445246696, -0.4700797796, 0.5450339317, 0.1934247613, -0.3728021681, -0.5084900856, 0.7359748483, -0.2929034829, -0.4503251612, 0.3323409855, 0.4546822309, 0.2177290469, 0.0624725223, -0.5007354617, -0.0497010797, 0.0633204356, 0.1850564033, 0.5451164842, 0.3286362886, -0.1249101087, 0.4389528036, 0.3272642791, 0.4318496883, 0.1170432344, 0.7032792568, 0.7847191095, -0.569677949, -0.5837720037, -0.83936131, 0.52346313, 0.0510598943, -0.230607599, 0.1323337406, 0.7274870276, 0.354604274, -0.230897367, 0.9146274924, 0.1390428692, 0.5617209077, -0.6752268076, 0.8765810728, -0.5496932268, 0.2294883728, -0.0825178847, -0.499800086, -0.0675519481, 0.1017325073, 0.1302286834, -0.3607031405, 0.844388485, 0.5397594571, -0.2222132981, -0.030278407, 0.3179565072, -0.1302891821, 0.4750921428, 0.6730214357, 0.6549405456, -0.2843310833, 0.1664683223, -0.4629094899, -0.0664254278, -0.3868227899, -0.8848636746, -0.7121111155, -0.4883854687, -0.4252814353, -0.2128210813, 0.1280505359, 0.8371961713, 0.6175870299, -0.805696249, -0.1020775661, -0.2321996987, -0.3649532795, 0.0024275414, -0.0945972279, 0.1948776841, -0.3353161216, -0.5048158169, 0.3784345686, 0.6085908413, -0.2521649301, -0.1002005264, -0.1311019361, 0.0480504632, -0.0477099866, 0.4706980288, 0.28129825, -0.6735648513, 0.0989438146, -0.2653417289, -0.3197963834, -0.0301560964, 0.974996984, -0.6337094307, 0.4330613911, 0.6781110168, 0.3448908627, 0.5938120484, 0.2933647335, 0.7422987819, -0.6119089723, 0.0036771684, 0.5267143846, 0.5962069631, 0.2880547345, -0.4917123914, 0.2684640884, -0.3091902733, -0.6394629478, -0.7506004572, 0.2868713439, -0.9105045199, -0.1493869126, 0.8803566098, -0.1628042459, -0.2089842856, -0.454690367, -0.0940698981, 0.488414228, -0.2305789143, 0.5518651009, 0.2083217949, -0.4374094605, 0.0294071846, -0.5690515041, 0.6712223887, 0.399643302, -1.0315793753, 0.0653225258, 0.4852888286, 0.163368687, 0.1551848948, 1.0389558077, -0.1023026854, 0.632707715, -0.1448489279, 0.1531295478, -0.0058171307, -0.2418402433, -0.2337048203, 0.1433768272, -0.0338191539, 0.0744754001 ]
http://arxiv.org/abs/2407.02719v1
http://arxiv.org/pdf/2407.02719v1
Boosting Biomedical Concept Extraction by Rule-Based Data Augmentation
2024-07-03T00:00:21
2024-07-03T00:00:21
Qiwei Shao, Fengran Mo, Jian-Yun Nie
cs.CL
cs.CL
Document-level biomedical concept extraction is the task of identifying biomedical concepts mentioned in a given document. Recent advancements have adapted pre-trained language models for this task. However, the scarcity of domain-specific data and the deviation of concepts from their canonical names often hinder these models' effectiveness. To tackle this issue, we employ MetaMapLite, an existing rule-based concept mapping system, to generate additional pseudo-annotated data from PubMed and PMC. The annotated data are used to augment the limited training data. Through extensive experiments, this study demonstrates the utility of a manually crafted concept mapping tool for training a better concept extraction model.
[ -0.2379792333, -0.6286459565, 0.7189733386, -0.3198312223, -0.6178389192, 0.1529148072, 0.1685480028, -0.4546554089, 0.4975866079, 0.3569760621, -0.6668736935, -0.5989721417, -0.6567047238, 0.2706178725, -0.1457206756, 1.071185708, 0.1112246886, 0.0968494862, -0.7315062284, 0.0288775098, -0.4107677639, -0.4596614838, -0.0297391918, -0.5047237277, 0.3386844397, 0.3328573406, 0.5066385269, 0.880258441, 0.8740023375, 0.16864568, -0.0910593048, 0.6072592735, -0.3255316615, -0.1683279872, -0.3746608794, -0.3159531951, -0.9163210988, 0.3471487463, 0.2910079956, 0.8735423088, -0.042656593, 0.0998381451, -0.3046957254, 0.4575445354, -0.5497385859, 0.3534641266, -0.286209166, 0.0870638341, -0.371874094, -0.653316319, -0.0833440349, -0.3653174937, 0.4520890117, -0.8306743503, 0.3830347955, -0.2962104082, 1.0296963453, 0.2037949264, -0.0866336599, -0.354013294, -0.486546725, 0.2433842123, -0.8150734901, 0.294916302, 0.4062486291, 0.0142946467, -0.00112051, -0.8298646808, -0.4190523624, -0.0048345043, -0.4319150746, 0.1900468618, 0.1585643888, 0.1176514104, 0.2781409621, 0.2891082764, -0.5392047763, -0.3853605688, -0.5653886795, -0.1241376549, 0.6336967945, 0.0825668573, 0.4536888599, -0.4414807856, -0.0793843865, -0.0857766792, -0.9445707202, -0.3171516657, -0.1971793771, 0.3954027891, 0.2803008556, 0.740801096, -0.334420979, 0.5722830296, 0.051550407, -0.3404416144, 0.9470941424, -0.6717565656, -0.0992753282, 0.1366852969, 0.5792247653, 0.1989326328, -0.1449804753, -0.3634815812, 0.0989680886, -0.2193581909, 0.3628892303, -0.9754821658, -0.4600660503, 0.2600339055, -0.5172022581, -0.3276776671, 0.3201158643, -0.8325203061, -0.3804136515, -0.2365459651, 0.5778403282, -0.5400928855, -0.3812282085, 0.1763255, -0.5060061216, 0.0166639592, 0.2700495422, -0.6056424975, -0.1551231444, 0.7434566617, 1.083296895, -0.3013521433, 0.0484674722, -0.0196978953, 0.3582799435, -0.4365384579, 0.8745468259, -0.8378812671, -0.808911562, -0.3629974127, 0.1918704212, -0.0954536498, -0.6247767806, 0.6560798287, -0.246505633, 0.1826822311, -0.3603992462, -0.8063812256, -0.0612594523, -0.1290203333, -0.4766256809, 0.7101050019, 0.1562477797, -0.9053476453, 0.5858171582, -1.0668436289, -0.6405171752, 0.4655683935, -0.1742902994, -0.365622431, 0.2536813319, 0.0825284794, 0.4720763266, -0.1564346403, 0.2959582508, -0.3339099586, -0.0062410245, 0.2450497001, 0.3089482784, 0.6094999313, 0.2884123921, -0.0810510144, -0.0776186734, -0.7910478115, -0.1927697212, 0.130425334, -0.1319358796, -0.7292174697, 0.2626663744, -0.4181199968, 0.3773111999, 0.0639931858, -0.7200924754, 0.5275341868, -0.4768868387, 0.4003055692, 0.2856682241, 0.3079163432, 0.3975564539, -0.3403164446, 0.3769752681, -0.1999166459, -0.0730090737, -0.1971299499, -0.5616298318, -0.3576989472, -0.78020823, 0.5724740028, 0.3884523809, -0.713267386, 0.5967653394, -0.519428432, -0.6327718496, -0.8163970113, -0.0021637937, 0.0340503082, 0.7878642082, 0.7132587433, -0.3532887995, -0.6804363728, -0.7871174812, 0.1777081937, 0.0847188011, 0.0252969824, 0.4074345231, 0.4330605865, -0.6547777057, 1.1523005962, -0.8487956524, -0.409858346, -0.0832990929, 0.4183470011, 0.2724153101, 0.5337248445, 0.2961086929, -0.82548666, -0.0329424851, -0.0268798061, -0.8918595314, -0.5688736439, -0.1596587598, -0.1608039886, -0.5261157155, 0.6934164166, -0.7297331691, 0.360176146, -0.0213656276, -0.1075231135, 0.4341420531, -0.296310246, 0.0799022242, -1.0451692343, 0.4066782892, -0.0324832834, -0.335915029, -0.7466835976, 0.0518420041, 0.3097987473, -0.0292720292, -0.306611836, 0.3655917048, -0.3446389735, 0.1409553438, -0.6485863924, -0.0222116839, 0.2070227116, -0.14801763, 0.6052681208, 0.7228280902, 0.3538858294, -0.6121617556, 0.1833066493, 0.6231098175, 0.0597205423, 0.3731048703, -0.6757632494, 0.0746417418, -0.0670005381, 0.3674167693, -0.7618851066, -0.1151473373, 0.327409029, -0.4469110668, 0.3813955486, -0.0173146706, -0.5077815652, -0.5532304049, -0.1969521493, 0.0730763599, 0.3070472479, -0.3400919437, 0.4466819763, 0.7608422637, -0.3862591982, -0.3329665065, -0.4471779466, 0.0799287632, -0.1283215731, -0.1556710452, 0.7347516418, -0.1427725405, 0.0828755051, 0.1408229768, -0.0995174944, -0.084127225, 0.1046666577, 0.5283579826, 0.4640249014, -0.052790422, 0.4439477921, 0.2001979202, -0.1093509719, 0.2085187882, -0.173970446, 0.3032895029, 0.4006783068, -0.1682047546, -0.287417829, 0.2360823005, 0.4000946879, -0.4351623952, 0.5077357292, 0.4621426463, -0.4042820036, 0.0196652319, -0.1503999382, -0.2789560258, -0.3773898482, 0.4418576956, -0.3337100148, -0.3394677937, 0.0283146352, -0.57556355, -0.026598962, 0.8124833703, 0.6274101138, -0.3761202693, 0.6147488952, 0.7438937426, 0.3421939611, 0.2357749194, -0.3499109447, 0.0412916988, -0.7912637591, -0.4033651352, -0.4555076659, -0.0696082637, -0.3694226444, -0.7731298804, 0.3775768876, -0.1084408611, 0.5585875511, 0.4993162155, -0.5517425537, 0.2840023935, 0.2906230092, 0.3370088339, 0.2133825719, -0.3510535657, -0.3702229857, 0.0263253078, -0.7165306807, -0.3828788996, 1.4777388573, 0.2525561452, 0.3943834603, -0.1836616546, 0.8718495369, 0.4430922866, 0.5199099779, -0.6683787107, 0.2785628438, -0.0393656604, -0.8210714459, -0.0128152585, -0.494895339, -0.7044172883, -0.0237866789, -0.7274193764, -0.2324319184, 0.6825661659, -0.052639436, -0.4289112091, -0.1092985421, -0.5889487267, 0.6665514708, -0.055448249, -0.1316204518, -0.0598559305, -0.6235577464, 0.2213398069, -0.7332433462, 0.3179711103, -0.027847968, -0.1342434883, 0.8329662085, -0.6879901886, 0.5702753663, -0.0385001041, -0.0402087383, 0.21094051, -0.260263592, 0.229451403, -0.0063848794, 0.1508885026, 0.176757291, 0.1715061665, -0.3509697616, -0.2153255492, 0.1693067551, -0.5609332919, -0.320456028, -0.4511735737, -0.5072248578, -0.3195594549, 0.1778744906, 0.3621322215, 0.1533142924, -0.2734183371, 0.2757560313, 0.6642692685, -0.1480514556, 0.3292094767, 0.732924819, 0.1371247172, -0.3257000446, 1.0380204916, 0.1124297306, 0.0361478589, 0.55590868, 0.2206740081, -0.4340490401, -0.7079672813, -0.135800004, 0.1998038441, -0.3487769067, -0.4109497666, -0.935148716, -0.2421326339, -0.529823184, 0.127587989, -0.2025485784, -0.5627600551, -0.4164910614, -0.3183667362, 0.3298898637, 0.4245278239, -0.5923008919, 0.3452173471, -0.9661622047, 0.5647142529, 0.2035937011, -0.0992079526, -0.6348426938, -0.4180766046, -0.3178014159, 0.0369058736, -0.1003225073, -1.0890973806, 0.3811342716, 0.5573167205, 0.7251706123, 0.6589261889, -0.0926129147, 0.6156430244, -0.6176667213, 0.3012641668, 0.0817015767, -0.6856467724, 0.8785637021, -0.1992284507, -0.0631641969, 0.600125134, 0.5757533908, -0.20708929, -0.1056774631, -0.9217527509, -0.716152072, 0.5192203522, 0.1006762683, -0.0343115218, -0.1607059985, 0.5958094597, 0.4635581076, 0.4078762829, -0.2716581821, -0.098494038, -0.3981006145, -0.3080157638, -0.275130868, -0.1722020209, -0.2132867575, -0.3912627995, 0.592338264, -0.1540071964, 0.1890707314, 0.4365954101, -0.5703463554, -0.1073257327, -0.0578119271, 0.6814078093, 0.7104620934, -0.6837513447, 0.0344113186, -0.0861159861, -0.7663767934, -0.0070830914, 0.5616313815, -0.2188857496, 0.1744415313, 0.5984974504, 0.2402309924, -0.106393978, -0.855494678, 0.5004414916, 0.1303073764, -0.4316541255, 0.4762791991, 0.1655061096, 0.0034140882, 0.0907293782, 0.4481298625, 0.0815035328, 0.4711951315, -0.4462338388, 0.8023279905, 0.4981141388, -0.1421013921, -0.3359526694, 0.3949923217, 0.3815326691, 0.0143896621, -0.0898378789, -0.1268504709, -0.3113775849, 0.3522815704, 0.5744532347, 0.4879192114, -0.1720630676, 0.4178713858, 0.4289407134, 0.1951141357, 0.0675865188, 0.0355118848, -0.0844639242, -0.4824818671, -0.6490223408, -0.5389634967, -0.2742178738, 0.0595378987, -0.4743955135, 0.2417437434, -0.3993596733, -0.3348961771, 0.5438832641, 0.281262815, -0.4582397938, 0.3434171081, 0.2000912428, 0.8579551578, -1.1176657677, 1.0407065153, 0.8073429465, -0.6408324838, -0.3609082997, -0.2961741984, 0.0154990712, -0.6563515663, 0.6512520313, -0.183899045, 0.2515334487, -0.1145531759, -0.3138617575, -0.6919963956, 1.0213582516, -0.0558006465, -0.4753723145, -0.1591029316, 0.1146035045, 0.6508235931, -0.7250913382, 0.2857437134, 0.7004444003, 0.3773604333, 0.2959161699, -0.6946668029, 0.0315874368, -0.3708896637, -0.4775157869, -0.006830283, -0.0033740073, 0.750456214, -0.1994415522, -0.1146883219, -0.1874075681, 0.3638641834, 0.072539717, 0.4682174027, 0.1993264109, 0.6531502008, 0.9916235209, -0.0966493189, 0.7969307899, -0.1434315145, 0.4233457148, 1.0975843668, -0.2903443873, 0.6195502281, 0.2474046946, -0.1358632743, 0.4766146541, 0.9995580912, -0.1151809543, 0.9001368284, -0.1357809901, 0.2010684758, -0.2176128924, -0.2865387201, -0.7798819542, 0.3621066809, 0.7440221906, -0.6201907992, -0.1307863444, -0.0111197876, -0.0120327892, -0.4096405506, -0.261823386, 1.2410740852, -0.0303768981, -0.0342714377, 0.5115340352, -0.1151016355, 0.3747033179, -0.5050600767, -0.2161850631, -0.1715920269, -0.0896041915, -0.2150381058, -0.3965457976, 0.2589230835, -0.1543265879, -0.2231567502, 0.0230258107, 0.991717875, -0.4271450043, -0.5301072598, -0.051894594, 0.9823746681, 0.0232215691, 0.0244255662, -0.8498075604, -0.3966437876, -0.1747151911, 0.3546788692, 0.0679993927, 0.4788548946, 0.2711755633, 0.4437555075, 0.857935369, 0.5368177891, -0.2529171705, -0.2669009566, 0.8838062286, -0.547732234, -0.4523048401, -0.8060808778, 0.1444972754, -0.3745981157, -0.0586636774, 0.4997005463, 0.5071581006, 0.3324538469, -0.1148537621, 0.7876281738, 0.0071735117, 0.8576598167, -0.3246445954, 0.7901123166, -0.5885941386, 0.0971931294, -0.5939707756, -0.8322558999, -0.265184164, 0.6052206159, -0.3058199584, -0.2084115744, 0.885930717, 0.5799286366, -0.2449941188, 0.0272583421, -0.0121601317, 0.0978113115, 0.3479282558, 0.2581393719, 0.5437422395, -0.080333218, 0.1307675242, -0.1917431802, -0.4624197185, -0.5665057302, -0.886326611, -0.7391489148, -0.52993536, -0.5235974193, -0.2663166821, 0.1458109021, 0.9637272358, 1.2757183313, -0.7240508199, 0.320140928, -0.0559972227, -0.0109507013, -0.2221207321, -0.1346600205, 0.7306410074, -0.3603650033, -0.3415023386, 0.6158742309, 0.3545331061, 0.3088206947, 0.2971506119, 0.0726180077, -0.5784438252, 0.3159965277, 0.4334047735, 0.3404659927, -0.0674889088, 0.1314576417, -0.1145845577, -0.1595777124, 0.2091065496, 0.9368504882, -0.8905755877, 0.6512088776, 0.4053660631, 0.7956745625, 0.3084207475, 0.3886276484, 0.6051741242, -0.7658403516, 0.1313704699, 0.1266719401, 0.2038650811, 0.333535254, -0.2714993358, 0.7588328719, 0.7835513949, -0.0295871682, -0.7244367003, -0.2360437065, -0.9101867676, -0.5979874134, 1.005143404, 0.0967498049, -0.2212240249, -0.1488776207, -0.307772547, 0.2712295651, -0.2468444407, 0.6902567744, 0.4386998117, -0.0701032653, 0.1078374013, -0.5714747906, 0.8780447245, 0.09256199, -1.2863016129, -0.0739425048, 0.36885795, 0.2397052795, 0.4514866471, 0.6685035825, -0.2739061117, 0.3868871629, -0.3338952959, 0.124230735, -0.2670304775, -0.3299286962, -0.0316463001, 0.1318543553, -0.2235676348, -0.3173240721 ]
http://arxiv.org/abs/2407.02694v1
http://arxiv.org/pdf/2407.02694v1
LLM-Select: Feature Selection with Large Language Models
2024-07-02T22:23:40
2024-07-02T22:23:40
Daniel P. Jeong, Zachary C. Lipton, Pradeep Ravikumar
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
In this paper, we demonstrate a surprising capability of large language models (LLMs): given only input feature names and a description of a prediction task, they are capable of selecting the most predictive features, with performance rivaling the standard tools of data science. Remarkably, these models exhibit this capacity across various query mechanisms. For example, we zero-shot prompt an LLM to output a numerical importance score for a feature (e.g., "blood pressure") in predicting an outcome of interest (e.g., "heart failure"), with no additional context. In particular, we find that the latest models, such as GPT-4, can consistently identify the most predictive features regardless of the query mechanism and across various prompting strategies. We illustrate these findings through extensive experiments on real-world data, where we show that LLM-based feature selection consistently achieves strong performance competitive with data-driven methods such as the LASSO, despite never having looked at the downstream training data. Our findings suggest that LLMs may be useful not only for selecting the best features for training but also for deciding which features to collect in the first place. This could potentially benefit practitioners in domains like healthcare, where collecting high-quality data comes at a high cost.
[ -0.4953353405, -0.5017018318, 0.9077898264, -0.004939232, -0.27750054, -0.0832005143, -0.2449365556, -0.6895865202, 0.3387297988, 0.6710964441, -0.3956760466, -0.4784835875, -0.7973541617, 0.0812540054, -0.6294804811, 1.0512980223, 0.1041689292, 0.2273188978, -0.2399767935, -0.0931600556, -0.188507393, -0.6390814781, -0.4260424972, -0.4907591641, 0.8616839051, 0.0560339354, 0.6613896489, 0.7656980157, 0.6599535346, 0.1145652011, -0.1742429733, -0.1010326222, -0.4436371326, 0.4419760704, 0.1614308655, -0.490005821, -0.3742802441, 0.0527155399, 0.5976860523, 0.8192113638, 0.3366608918, 0.1655994356, 0.0904972702, 0.7128310204, -0.3829451799, 0.143865943, -0.8013165593, 0.0378705338, -0.2051225603, 0.001867781, -0.0634412616, -0.2623679638, 0.3415267766, -0.1571693122, 0.2722786367, 0.0973704457, 0.6998810768, 0.4400638044, -0.2850752473, -0.0941566601, -0.6790924072, 0.6750174165, -0.2821253538, 0.5278490186, 0.5463680029, 0.4078733027, 0.024408469, -0.4112352729, -0.1412622333, -0.5273302794, 0.2458281517, 0.0231607947, 0.0895834863, 0.1160789207, 0.2635196149, 0.3901184797, -0.5452411771, 0.4183867872, -0.2883183658, -0.2692501247, 0.5833196044, 0.054519739, 0.025743071, 0.0174383465, -0.1362850815, 0.1512823254, -1.0710200071, -0.0869135484, -0.0510031469, 0.3407564759, -0.0353665613, 0.6388764381, -0.2520349026, 0.6489495039, -0.3831583858, -0.1785083562, 0.0924826711, 0.0532205813, -0.224955678, -0.0648471713, 0.7066001296, -0.1472167671, 0.129329592, -0.1053019837, -0.2609918118, 0.0053176405, -0.0338544399, -0.711196661, -0.2828370333, 0.3389976025, -0.3241884112, -0.4699680209, -0.1844159812, -0.6133975983, -0.3934828937, -0.0346085541, 0.0353130996, -0.0555821061, -0.1417216361, -0.1766079664, 0.1255799234, -0.0076836837, 0.45847404, -1.024805069, 0.1018058881, 0.596791923, 0.8751263618, -0.5146640539, -0.2723642886, -0.6404643655, -0.1783815622, -0.4698494673, 0.7819254398, -0.8885457516, -0.3022339344, 0.0136885699, -0.2296492904, 0.2056792974, -0.7081442475, 0.3164929152, -0.4747792482, -0.061713513, -0.4169648588, -0.3470416069, -0.0750559717, 0.1957421303, -0.9286006093, 0.9528209567, 0.26959306, -0.5129057765, 0.7661903501, -0.3265576959, -0.3725817502, 0.075979352, -0.4482009411, -0.6780548096, 0.3120825291, 0.2289905399, 0.6825242043, -0.6287651062, 0.22394979, -0.7854290009, -0.3115015626, 0.4672698379, -0.4664092362, 0.259046495, 0.1858268976, -0.0887261033, 0.0878749937, -0.6540123224, -0.1818177253, 0.2007516474, -0.5465335846, 0.0363224745, -0.0029725244, -0.0890068561, 0.314994812, 0.1562213898, -0.2998180985, 0.1032048836, -0.0476268865, 0.5459782481, 0.3746005297, -0.1938227713, 0.35480389, -0.3254598677, 0.824493885, -0.2832473814, 0.1707702875, -0.0019576962, -0.4491061568, -0.4643332958, -0.5590659976, 0.5096222162, 0.397778064, -0.5047800541, 0.2837730348, -0.1452451199, -0.4025440216, -0.5817816257, 0.1566995233, 0.2249875069, 0.3306327164, 0.1544962525, 0.0087170703, -0.2885610163, -0.7686185241, 0.1770192534, -0.2981369495, -0.0570961386, 0.5481274128, 0.1544746757, -0.0321393758, 0.6079220772, -0.5998738408, -0.1352680922, -0.5948929787, -0.2637474537, 0.1937234998, -0.0577550642, 0.5394111276, -0.7894822359, -0.2651990056, 0.0139163518, -0.7152117491, -0.293440789, 0.0893871933, -0.0503010973, 0.0946242139, 0.1811201423, -0.675776422, 0.1551349014, 0.6138862371, 0.127004385, 0.5216504335, -0.2034891844, -0.1008132473, -0.7956126928, 0.137224108, 0.1784950644, -0.2518808246, -0.4019187987, -0.2618690729, 0.2164240777, -0.2205420285, -0.3282684684, 0.8479186893, -0.5195829868, -0.334629029, -0.2767197192, -0.0069189621, -0.1561567485, 0.2149706781, 0.1283798516, 0.6824605465, 0.7865452766, -0.4724029005, 0.2717480063, 0.1733780503, -0.2356247902, 0.0102773504, -0.4002297223, -0.0001221457, 0.1292229891, 0.0012648798, -0.8758801818, -0.4915168881, -0.2997240722, -0.4580005407, 0.4178796113, -0.3625267446, -0.4174253345, -0.6233069897, -0.3099541366, -0.0579108596, 0.5839787126, -0.2832327783, 0.2362210304, 0.6688893437, -0.3582619429, -0.5371780992, -0.6946696639, 0.08704523, -0.3697417974, -0.1034898013, 0.0038411915, 0.0312844813, 0.0916909575, -0.1696977913, -0.185881421, 0.0603774861, 0.5175192356, 0.2794602811, 0.6274063587, -0.0558944978, 0.2709738016, 0.0682399496, -0.195682019, -0.0447228663, -0.1973298937, 0.4721649289, 0.200646013, -0.4903325438, -0.0274982248, 0.2321292758, 0.6839801669, -0.3541966379, 0.3637191057, 0.3787426651, -0.2841589451, -0.2551679611, -0.7684116364, -0.3906753063, -0.3598369062, 0.7857230902, -0.2075131387, -1.362746954, 0.5034853816, -0.0519917086, -0.1644496769, 0.2611811161, 0.5570315123, -0.0382962637, 1.1759305, 0.609911859, -0.5028753877, 0.5820813775, -0.0758642852, 0.1446769238, -0.7996266484, -0.0624268912, -0.5544009209, -0.2701252699, -0.7460174561, -0.1751299798, 0.7874702215, 0.1509932131, 0.0481419191, -0.0505463816, -0.4836089313, 0.3015966117, 0.3429844379, 0.0870968476, 0.0794551969, 0.0803987831, -0.276438266, 0.0190415904, -0.4897161424, -0.428098917, 1.2808988094, 0.3862650692, 0.7229063511, -0.1762685776, 0.7103508115, -0.0456675366, 0.3940431476, -0.8763756752, 0.6311457753, -0.3221458495, -0.3992612362, -0.4387171268, -0.3802568316, -1.0365532637, 0.3174354732, -0.7049381733, -0.5489344597, -0.1914214641, 0.3086637855, -0.5476081967, 0.1814702749, -0.4445312023, 0.5850608945, -0.5110387206, -0.3229151666, 0.0222272929, -0.3993350565, 0.1414521635, -0.4619306624, -0.0377363376, -0.4874572754, -0.2726408243, 0.3723891079, -0.0294791386, 0.6178679466, -0.0135342665, 0.3435738683, -0.1390179545, 0.1625030488, 0.2709226608, 0.0750757679, -0.2675353289, 0.2264842689, -0.1736817211, -0.1440203339, -0.6569831967, 0.7167670131, -0.6228680611, -0.7505261898, -0.2336400449, -0.3989869356, -0.428373009, 0.1643927842, 0.2064092904, 0.3359329998, -0.182460919, 0.1645568311, 0.6015390754, -0.1938242614, 0.3751119375, 0.322291702, -0.3457325399, -0.4715920091, 0.8379721045, 0.4321027398, 0.3635339439, 0.4718654752, 0.3488327861, -0.3529367447, -1.2544347048, -0.4359956086, 0.4421649277, -0.4449381828, -0.1938671768, -0.8126419187, -0.5137968659, -0.0723290965, -0.0801710784, -0.076916568, -0.4370214939, -0.2793708146, -0.343857944, 0.3559589386, 0.7648377419, 0.1918665618, -0.0316750146, -0.8616337776, 0.0710738525, 0.4018123448, 0.2517257631, -0.2083502412, -0.3550167084, -0.2868743837, -0.4714812636, -0.3148446381, -0.756747961, 0.6510406733, 0.0494476892, 0.780362606, 0.2496769577, -0.1388949156, 0.1933751404, -0.4716948271, 0.7497113347, 0.0621940307, -0.3760652244, 0.6925935149, -0.3608082533, 0.273544997, 0.4372648895, 0.587079823, -0.2944283783, -0.4247169793, -0.4988107085, -0.7816817164, 0.513197124, 0.0442027561, -0.0051802094, -0.0935198292, 0.3736320734, 0.2487799674, 0.4691280723, -0.574241519, -0.0497014895, 0.1990109682, -0.2698051333, -0.0473041683, -0.4609203935, 0.065604277, -0.0225770678, 0.4167153537, -0.3660184741, 0.2369503975, 0.1175834388, -0.0263999775, -0.0962553695, 0.2619231939, 0.4568769932, 0.715875268, -0.1435408145, 0.0540963076, 0.3169457912, -0.5456132889, -0.1565511674, 0.3847594559, -0.1934546232, -0.1374997795, 0.4557555914, 1.0063451529, 0.2243683487, -0.6484699249, 0.445356518, 0.2294943482, -0.0681645423, -0.1610807031, 0.2670731246, 0.0659132972, 0.428108573, 0.352961421, -0.1498695761, 0.2093600035, -0.3810509741, 0.2247003317, 0.6602101326, -0.524474442, -0.3061960042, 0.7634447813, 0.165807277, -0.0325875841, 0.3750833571, 0.0420694016, -0.5146393776, 0.6190386415, 0.2905403674, 0.8532595634, -0.0960769802, 0.1501824707, 0.1391237974, 0.035963472, -0.353445828, 0.3966596127, 0.1048793569, -0.6722235084, -0.5202770233, -0.8051801324, -0.5745041966, 0.3858570158, -0.505376935, 0.3920060396, -0.4804736376, -0.2874394059, 0.043687012, 0.1289538741, -0.7632852793, 0.1609418541, 0.582755506, 0.7809141874, -0.8496163487, 1.1448999643, 0.591113925, -0.3052765429, -0.7012652755, -0.0011216501, 0.2946252823, -1.088310957, 0.687368691, 0.1145861596, 0.2221139222, -0.2211484313, -0.3653235734, -1.064371109, 1.0770026445, 0.7134847045, -0.5759516954, -0.17331025, 0.2045377046, 0.5115146637, -0.5628781915, 0.4433234632, 0.6397880316, 0.1200246364, 0.373770535, -1.1854996681, 0.0111230202, 0.1028672233, 0.1260537207, 0.3532078564, -0.6646253467, 0.7448470592, -0.3896917999, 0.2013005912, -0.0667234883, 0.4225566685, 0.5951628685, 0.0718607903, 0.3411090076, 0.3715139627, 0.8585947752, -0.1376940459, 1.2419356108, -0.2992133498, 0.2489186674, 0.7131915689, -0.5782494545, 1.1533658504, 0.1645591408, -0.3529896736, -0.0821302235, 0.8889011741, -0.0357052386, 0.5645129085, 0.0116719743, -0.3264674544, -0.4888136387, -0.0481201112, -0.1529198736, 0.5095927119, 0.4597209096, -0.4925770462, -0.1231459752, 0.0361971296, 0.0109931221, -0.3537894785, -0.4142940044, 0.8157302737, 0.3002038896, -0.5207266808, 0.6567556262, -0.6138066053, 0.5378077626, -0.8265432119, -0.0916981101, -0.1995472759, -0.180325374, -0.1109141111, -0.93355757, 0.0501413643, -0.0822182298, -0.1901404709, -0.1970562935, 0.7399911284, -0.3672018051, -0.4752447009, 0.4276562631, 0.6820192337, 0.276553452, -0.3344782293, -0.6824450493, 0.1936911941, 0.0303456672, -0.3114884794, 0.813385129, 0.4499314129, -0.2478506714, 0.8735126257, 0.6828379631, 0.8755940199, -0.266700685, 0.1869184971, 0.9507102966, -0.8330581784, -0.3613789082, -0.8744180202, 0.1930016428, -0.0729817897, -0.0989023224, 0.2838574648, 0.4309511483, 0.6861694455, 0.1742047966, 1.1468849182, 0.427393645, 0.7269695997, -0.6707595587, 0.7242693901, -0.3988313675, 0.3489669859, 0.1290549934, -0.9823186398, -0.5385121703, 0.2671279311, -0.6288824677, 0.1955585033, 0.7629033327, 0.6692874432, 0.0865454227, -0.1639395952, 0.8801116943, 0.2057386637, 0.3078868389, 0.4749100208, 0.6341412663, 0.2086228728, 0.4626701176, -0.0538241863, -0.270118773, -0.4164883792, -0.8276535273, -1.0293340683, -0.4149971604, -0.1340675652, -0.1206006184, -0.1168598533, 1.0402959585, 0.9078369737, -0.8300554752, 0.0005567477, 0.4001369178, 0.236318469, -0.0131290955, -0.0811037123, 0.4182956815, -0.3416002393, -0.4981651306, 0.3826477826, 0.6129378676, 0.1813379079, -0.3476260304, 0.094031617, 0.269495666, -0.24521707, 0.5628681183, 0.2594980597, -0.8406050205, -0.2157956958, 0.0067404117, -0.1286339462, 0.1391564012, 0.8329101801, -0.8643682599, 0.2018399835, 0.3519402444, 0.9040465355, 0.6172426939, -0.4299370348, 0.4997803271, -0.2960247993, 0.0248562861, 0.3693749905, 0.6506969333, 0.4605494142, -0.556420505, 0.4445239305, 0.1926597357, -0.7621600032, -0.753965199, 0.2031913698, -0.7489179969, -0.1029577032, 1.326690793, 0.0240393076, -0.2694808841, -0.113997601, -0.0559182391, -0.0806995332, -0.3398164809, 0.7587285638, 0.6324509978, -0.387430191, -0.4351237416, -1.1782536507, 0.6534664035, 0.3592901826, -0.7386481166, 0.0422269031, 0.56227386, 0.4166348279, -0.2176272124, 0.511929214, -0.2182377279, 0.1259374917, -0.4299756289, -0.1207790971, -0.105575785, -0.504665792, -0.6003203392, 0.202006191, 0.5914947391, 0.034042161 ]
http://arxiv.org/abs/2407.02678v1
http://arxiv.org/pdf/2407.02678v1
Reasoning in Large Language Models: A Geometric Perspective
2024-07-02T21:39:53
2024-07-02T21:39:53
Romain Cosentino, Sarath Shekkizhar
cs.AI
cs.AI, cs.CL
The advancement of large language models (LLMs) for real-world applications hinges critically on enhancing their reasoning capabilities. In this work, we explore the reasoning abilities of large language models (LLMs) through their geometrical understanding. We establish a connection between the expressive power of LLMs and the density of their self-attention graphs. Our analysis demonstrates that the density of these graphs defines the intrinsic dimension of the inputs to the MLP blocks. We demonstrate through theoretical analysis and toy examples that a higher intrinsic dimension implies a greater expressive capacity of the LLM. We further provide empirical evidence linking this geometric framework to recent advancements in methods aimed at enhancing the reasoning capabilities of LLMs.
[ -0.4850510955, -0.8677583337, 1.1957014799, 0.2257085443, 0.0342966318, -0.0486288704, -0.3277094364, -0.583340168, 0.0649924949, 0.6609199047, -0.4411717951, -0.5851274729, -0.6189903617, 0.0691542029, -0.429983139, 0.3531525433, -0.0259627514, -0.1892405599, -0.3153493106, -0.1002308577, -0.3804812431, -0.7534578443, -0.5239644647, -0.1788145751, 0.7507587075, 0.1205706522, 0.7219991684, 0.7922993302, 0.6011499763, 0.474026978, -0.0856658891, -0.0819503069, -0.5040538311, 0.3263694644, -0.2237146944, -0.4247736037, -0.3804829121, -0.0838673264, 1.0883814096, 1.0013780594, 0.1543345004, 0.0398447253, 0.1432016343, 0.8020232916, -0.3519279063, 0.3183362484, -0.4076608717, 0.0377470702, -0.1001650468, 0.0412235819, -0.3526459634, -0.3204537332, 0.2144574821, -0.5159224868, -0.0623808615, 0.0857548192, 0.444480896, 0.4289918542, -0.2195296884, -0.2680261433, -0.8552149534, 0.618159771, -0.5533567071, 0.4778303206, 0.2728905976, 0.4224660099, -0.2696959078, -0.5869672298, -0.3217026293, -0.2889166474, -0.1566171348, -0.2619615495, -0.132997632, 0.1184382588, 0.466044277, 0.6160346866, -0.6507202983, 0.2567693293, -0.2150184065, -0.0158792827, 0.7483106256, 0.0921445936, 0.2619876862, -0.1595991254, 0.0025799125, 0.2409488261, -0.937040627, -0.0782429501, 0.1274803579, 0.1625967175, -0.2578441501, 0.8814252615, -0.2826059163, 0.9674164653, -0.0566828102, -0.1225253344, -0.1865687519, -0.1017479673, -0.288059473, -0.0127230622, 0.6839575171, -0.0292175952, 0.5541534424, -0.0277173594, 0.0374303497, -0.3283907771, 0.1239098385, -0.7269997597, -0.0722225383, 0.3867635131, -0.4986619949, 0.00337648, -0.2366323024, -0.390930444, -0.4516738355, -0.5139264464, 0.1877289265, -0.4109092951, -0.3440713286, 0.3875189722, 0.0835990608, -0.0666550472, 0.4390896261, -0.982807219, 0.0299971271, 1.0663706064, 0.7468485236, 0.1311454326, -0.1792245805, -0.1606454551, 0.3840351403, -0.4281432033, 0.9671854377, -0.7376008034, -0.2038329989, 0.0145444935, -0.1340382695, 0.1245880499, -0.6123740077, 0.4631955922, -0.2353671342, 0.1045232043, -0.5319689512, -0.5515277982, -0.3501131535, 0.2676944137, -0.5996806622, 1.0020388365, 0.1663806587, -0.3991541862, 0.1786244065, -0.6076283455, -0.3423694372, 0.3622833192, -0.4895207882, -0.0367572382, 0.4327406883, 0.2195418626, 0.6774126291, -0.3034901023, 0.1512399763, -0.828140676, -0.0115787582, 0.5854005814, -0.1725946367, 0.6438584328, 0.2777178586, -0.0794968605, 0.1278070062, -0.7107689977, 0.0789628103, 0.2650312483, -0.2792550027, -0.323705256, 0.1716823429, -0.5724213719, 0.3479253352, 0.3100459576, -0.3328496516, 0.3754506409, -0.3266704082, 0.5980631113, 0.837228477, -0.2336167693, 0.530287087, 0.0252918433, 0.4615263343, -0.334228456, 0.0299135055, 0.0614920445, -0.4003375173, -0.8431726098, -0.5123285055, 0.0104448237, 0.210729897, -0.3722497821, 0.6534937024, -0.2923171818, -0.3137044013, -0.2389509529, 0.2138223052, 0.2041497976, 0.2649956644, 0.1167500392, 0.0871469304, -0.307185322, -0.9460182786, -0.198080942, -0.1881758124, -0.1444010139, 0.7006266117, 0.2762812078, 0.2010147423, 0.8619332314, -0.4436236322, -0.1016558781, -0.6348268986, -0.245400548, 0.3326526284, 0.2466227859, 0.6160322428, -0.1873256415, -0.2925782204, 0.0165653732, -1.0671411753, -0.3382627666, -0.1286975294, -0.3392185867, -0.1612948775, 0.4525759816, -0.8008522391, 0.2436996102, 0.5658251047, -0.4609219432, 0.6554091573, -0.0903761536, -0.1771723032, -0.5691840053, -0.3034009337, 0.3206473589, -0.286601454, -0.4682394564, 0.2386562675, -0.2593528926, -0.203253746, -0.1736498922, 0.7651590705, -0.7116023898, -0.687474072, -0.2697246373, 0.4900758564, 0.1086823121, 0.3703102171, 0.2477886826, 0.5774102807, 0.8830183148, -0.7774381638, 0.6246705055, -0.0767934173, -0.5440225005, 0.7693270445, -0.7970103621, -0.24237746, -0.0671614632, 0.2047222257, -0.9334100485, -0.068416886, 0.0737216473, -0.2155625522, 0.303419292, -0.2664212286, -0.5510100126, -0.6452516913, 0.0483085774, 0.328951329, 0.2008833736, -0.5768430829, 0.7089852095, 0.5027391911, -0.3114296198, -0.1420427561, -0.5065535903, 0.0751110688, -0.3310394287, -0.9223326445, -0.2237608433, 0.003960798, -0.6607429385, 0.0085006906, 0.2487720251, 0.1851407439, 0.1484903991, 0.1878670603, 0.1013975814, -0.5567004085, 0.3345526755, -0.1382198781, -0.2339686006, 0.3430620432, -0.6097151637, 0.7542101741, -0.3065348864, -0.5867827535, -0.7336749434, 0.2456453592, 0.4119547009, -0.1159022525, 0.6555005908, 0.2690711319, -0.2866673768, -0.0510327369, -0.6151862144, -0.075042069, -0.5245130062, 0.4489767551, -0.8124637604, -1.135768652, 0.5076032877, -0.0370636918, -0.1219832152, 0.7302544117, 0.9447212219, -0.2016135603, 1.2332925797, 0.5103952289, 0.0918257385, 0.4045190811, -0.3772807121, 0.4189243317, -1.2119084597, -0.2888294458, -0.5819423795, -0.4545562565, -0.355103761, -0.5499899387, 0.2621551752, 0.113514252, -0.427426666, 0.060952872, -0.6023041606, 0.6321888566, 0.265806973, -0.0877862424, 0.1532181352, 0.0933404639, -0.0505552478, -0.0320772268, -0.6198915839, -0.5874123573, 0.798551023, 0.7653746009, 0.8598698378, 0.2513802648, 0.1387404352, -0.1369496286, 0.1627730876, -0.8041468859, 0.7560864687, -0.1044286713, -0.5609059334, -0.6111773252, -0.6332654357, -0.8687776923, 0.5406287313, -0.0202396978, -0.9716302156, 0.1767745763, 0.0197257493, -0.3675340414, 0.4462641776, -0.6396288276, 0.9328665733, -0.5563896894, -0.2700971663, -0.6222363114, -0.0883152634, 0.520694375, 0.3191861212, 0.1268507987, -0.4679904282, 0.2425556779, 0.4175305367, -0.3393014967, 0.7632280588, 0.0244748425, -0.5523309708, 0.3864626288, 0.4947525263, 0.3447555602, 0.1451581717, -0.0852674693, 0.3072341979, -0.2639612854, -0.3258208334, -0.71984303, 0.8705544472, -0.8096775413, -1.0171428919, -0.1506156325, -1.0381520987, -0.2034230083, 0.027270237, -0.2327799201, 0.6305836439, -0.0013526478, 0.3127603233, 0.6409922838, -0.2843823135, 0.2411716431, 0.1353007257, -0.8020817041, 0.1650006175, 0.7074103355, 0.2550244629, 0.5013102293, 0.3513382673, 0.4150910378, -0.6432772875, -0.578315556, -0.539608717, 0.7776045799, -0.9385605454, 0.2591283321, -0.7893774509, -0.3094545901, -0.4543196857, -0.1823082715, -0.2311934978, -0.8632520437, -0.1367548704, -0.1075777411, 0.3778457046, 1.1031141281, -0.1632899046, 0.279066056, -0.5117580891, 0.2489011139, 0.6060941219, 0.5225063562, 0.2538758814, -0.6457318664, -0.1846975982, -0.0364290662, -0.1271287352, -0.5589686036, 0.1817262918, -0.0772606879, 0.7200766206, 0.7335341573, -0.5043991804, 0.6397539973, -0.4513738155, 0.5610929132, 0.0676636696, -0.8684892058, 0.3300511837, -0.4409728646, 0.367952019, -0.0835317895, 0.3487462401, -0.4402611852, -0.6697255373, -0.5056620836, -0.1789267063, 0.3434207141, -0.008650885, 0.0610178374, 0.0902298689, 0.5962309837, -0.156930849, -0.0595438071, -0.8416793942, -0.0770559534, -0.1329525113, -0.2200108916, -0.1053001881, -0.5124820471, -0.169689998, -0.3861779869, 0.3872160614, -0.0897472054, 0.2532009184, -0.0128465854, -0.0456894338, 0.0511678159, 0.0849931315, 0.638299644, 1.0586359501, 0.0380671248, 0.4263453484, 0.0347297639, -0.1182989329, -0.0774559304, -0.2134118378, 0.1881539077, -0.3446796238, 0.3967671096, 0.8528814912, 0.0267750639, -0.4274401963, 0.1562099904, 0.0072304932, -0.0311401393, -0.2423485816, 0.0941242278, 0.3412373662, 0.3991482258, 0.1754168868, -0.5125981569, 0.065507777, -0.6700918078, -0.2073734999, 0.7912532687, -0.3439350426, -0.3082770407, 0.3332719207, 0.0417644754, -0.2197363228, 0.4995671213, -0.0618119203, -0.5872851014, 0.6120200157, 0.6707425714, 0.6780753136, -0.1941749007, 0.174347952, 0.4515095055, 0.4575052857, 0.358140409, 0.0577794015, 0.0284463502, -0.7596915364, -0.7589240074, -0.6315725446, -0.1953377426, 0.0933202058, -0.1697921306, 0.0171004869, -0.7674027085, 0.034741357, 0.0740689561, -0.1955169588, -0.3872029483, 0.0469619557, 0.4303858578, 0.4809577465, -0.5365686417, 0.6504048705, 0.3085832, -0.1793895364, -0.7356066108, -0.5103817582, -0.0068920781, -1.2108041048, 0.9670172334, 0.220272094, -0.1947767586, -0.0891456753, -0.474625349, -1.2998616695, 0.5617435575, 0.4481219053, -0.6654344797, 0.137295261, 0.4595301449, 0.614836812, -0.5609897971, 0.1326763332, 0.5695601106, 0.4426137507, 0.2826433778, -0.6826184392, 0.1056885272, 0.1065615043, 0.1041014493, 0.3577122986, -0.4642247856, 0.7675757408, -0.3859809935, -0.3028845489, -0.1213753968, 0.8709833622, 0.54090029, -0.2898122668, 0.3657670617, 0.8293124437, 0.6707192659, -0.2645019293, 1.4811877012, -0.3772858679, 0.2973904014, 0.8254804611, -0.3475304544, 0.5715393424, 0.1865506172, -0.4218530357, 0.7479966879, 0.6186949611, 0.1858942956, -0.0246770661, 0.4851578176, -0.1471838504, -0.6409398317, -0.1595078856, -0.4459746182, 0.2683769464, 0.729080081, -0.2213428617, -0.155682385, -0.1911918968, -0.0724082962, 0.0011531827, -0.5817251205, 0.7053232193, 0.2523635328, -0.4005996585, 0.5025168061, -0.1702213734, 0.0492850989, -0.2826179266, 0.0733643249, 0.1212245226, 0.2977706194, -0.1684371084, -1.3853826523, 0.3582045138, -0.1116091684, -0.0964809135, -0.2401207238, 0.613270998, -0.2705138028, -0.7367523909, 0.2704194784, 0.4597615898, 0.4428605437, -0.2031036019, -0.8967948556, 0.2079754174, -0.2609525323, -0.2034882456, 0.359881103, 0.9517461658, 0.0390820354, 1.0789660215, 0.7402543426, 0.3236434758, 0.2792081237, 0.3727320135, 0.7250454426, -0.5547981262, -0.4778741896, -0.9933253527, 0.1918355078, -0.125016436, 0.0020846163, 0.7906219363, 0.5106831789, 0.4536473751, 0.1330274791, 0.6764407754, 0.1197151095, 0.5889692903, -0.7198041081, 0.4093054533, -0.4625059664, 0.30446437, 0.0310446396, -1.1516321898, -0.3993110061, 0.9767234921, -0.9502818584, 0.1748185158, 0.8211007118, 0.4900740087, -0.0359493382, -0.161287725, 0.4562378824, 0.6643947363, 0.4640589356, 0.6807249784, 1.2063339949, 0.243184492, 0.2070084065, -0.2090738714, -0.1755471379, -0.0849666819, -0.8799908757, -1.1259442568, -0.4362089336, -0.2113502622, -0.3075836897, -0.4870761633, 0.4603782594, 0.7294786572, -0.4982657135, -0.4621212482, -0.0309999511, 0.5215267539, 0.174126029, -0.2475029677, 0.4507658184, -0.3341858685, -0.6536982059, 0.1904474497, 0.9316219687, 0.0615652017, -0.9610468745, -0.0293271784, -0.1467756629, 0.2208888233, 0.9980964661, 0.3135739267, -0.8982416987, -0.5579247475, -0.1934885681, -0.1569344699, 0.1585448831, 1.0214414597, -0.6293477416, 0.1742962599, 0.532345891, 0.5261559486, 0.4260779321, -0.0608961359, 0.6006417274, -0.3649404645, 0.4149040282, -0.0058792615, 0.8124699593, 0.3564873934, -0.431499809, 0.4379117787, 0.2848811448, -0.6880362034, -0.6802041531, 0.6307762265, -0.8737045527, -0.3664210141, 1.201928854, -0.0701370984, -0.2838457525, -0.1134102046, -0.0617306866, -0.220581159, 0.0258391295, 0.7791833878, 0.8503699303, -0.2985542715, -0.5220010281, -0.5823776722, 0.2670781314, 0.3493400812, -1.0650449991, 0.2960656583, 0.6945642233, 0.0359746739, 0.2399944067, 0.630400002, -0.2035491318, -0.0159846153, -0.3479035497, 0.0051379227, 0.1955264807, -0.6356205344, -0.2269904166, 0.1908195913, 0.2782087624, 0.4133606851 ]
http://arxiv.org/abs/2407.02662v1
http://arxiv.org/pdf/2407.02662v1
Supporters and Skeptics: LLM-based Analysis of Engagement with Mental Health (Mis)Information Content on Video-sharing Platforms
2024-07-02T20:51:06
2024-07-02T20:51:06
Viet Cuong Nguyen, Mini Jain, Abhijat Chauhan, Heather Jaime Soled, Santiago Alvarez Lesmes, Zihang Li, Michael L. Birnbaum, Sunny X. Tang, Srijan Kumar, Munmun De Choudhury
cs.SI
cs.SI, cs.CL, cs.CY
Over one in five adults in the US lives with a mental illness. In the face of a shortage of mental health professionals and offline resources, online short-form video content has grown to serve as a crucial conduit for disseminating mental health help and resources. However, the ease of content creation and access also contributes to the spread of misinformation, posing risks to accurate diagnosis and treatment. Detecting and understanding engagement with such content is crucial to mitigating their harmful effects on public health. We perform the first quantitative study of the phenomenon using YouTube Shorts and Bitchute as the sites of study. We contribute MentalMisinfo, a novel labeled mental health misinformation (MHMisinfo) dataset of 739 videos (639 from Youtube and 100 from Bitchute) and 135372 comments in total, using an expert-driven annotation schema. We first found that few-shot in-context learning with large language models (LLMs) are effective in detecting MHMisinfo videos. Next, we discover distinct and potentially alarming linguistic patterns in how audiences engage with MHMisinfo videos through commentary on both video-sharing platforms. Across the two platforms, comments could exacerbate prevailing stigma with some groups showing heightened susceptibility to and alignment with MHMisinfo. We discuss technical and public health-driven adaptive solutions to tackling the "epidemic" of mental health misinformation online.
[ -0.6386041045, -0.7536144257, 0.7153711915, 0.1826184988, -0.2357842177, -0.0776803717, -0.0767915919, -0.2600188553, 0.533323586, -0.0281946175, -0.9002546668, -0.2836168706, -1.0042752028, 0.0063508046, -0.3459968567, 0.9434853792, -0.0891937315, 0.0173771996, -0.1348527819, -0.1059792191, -0.346239239, -0.5334745049, -0.4493279457, 0.035360083, 0.9430388808, 0.3308072984, 0.4648303092, 0.151297003, 0.4716053009, 0.1426689923, 0.0996364132, 0.0459673218, -0.9980899692, -0.1525144726, -0.2574202716, -0.2406182289, -0.2353854626, -0.0723371208, 0.3328082263, 0.3161293566, -0.3025853336, 0.5824100971, 0.1202339828, 0.30121997, -0.8432475328, -0.3640828133, -0.3571075201, 0.2443414181, -0.4699546397, -0.4255129397, -0.2820408344, -0.2949387729, -0.1183194593, -0.4609656036, 0.1447802782, -0.2450442463, 0.4353742599, 0.5328059793, -0.3325479627, -0.2494004816, -0.7161616087, 0.4508711398, -0.5451102257, 0.5228489637, 0.740737021, 0.1312682629, -0.0982958227, -0.2189182639, -0.5184847116, 0.2919079959, 0.2763508558, 0.0079837739, -0.7926062942, -0.004141828, 0.4973125458, 0.1131142452, -0.5239719152, -0.044164151, -0.5671328902, -0.2923072875, 0.7323856354, 0.1815873533, 0.5282019377, -0.2175746262, -0.1513181478, 0.2253208011, -0.4020330608, 0.0248429384, 0.2183786035, -0.2885491848, -0.1839552075, 1.0191631317, 0.2827378809, 0.0207413435, 0.4330460727, -0.3813931644, -0.0607835911, -0.1359567642, -0.3478297889, 0.5072377324, 0.7339259982, 0.6051800251, 0.2357600033, 0.12064863, 0.1196216643, 0.3265254796, 0.468852669, -0.7793780565, -0.3996626735, 0.1945766509, -0.505746007, 0.2468072772, 0.0137925223, -0.5780178308, -0.812710166, -0.1466699988, 0.596354425, -0.4862471521, -0.4150221646, 0.1420318484, -0.139015615, -0.2315388769, 0.1706249416, -0.5963948965, 0.0721841753, 0.6499167085, 1.0244269371, -0.0995791852, 0.0258210003, -0.4163101614, 0.4172456563, -0.3369145691, 0.6610011458, -0.2335201353, -0.2323084325, 0.2107936442, 0.2227289528, -0.0490097664, -0.3511963785, 0.4559063911, -0.252317816, 0.0572944432, -0.563906908, -0.5053260922, -0.0193863939, 0.2930182219, -0.5637728572, 0.8912801743, 0.0791525468, -1.0865356922, 0.3376244009, -0.6135109067, -0.0651230961, -0.2729780972, -0.1555300653, -0.0394629166, 0.2911716998, 0.160845235, 0.3577927053, 0.1341735572, 0.2474580854, -0.6137967706, -0.3217523694, 0.5336788893, -0.6797046065, 0.3548595309, 0.0418482423, -0.2160125673, 0.0279055256, -0.1890863478, -0.4336137176, -0.2003009766, 0.0844715759, -0.4228886068, -0.025750557, -0.103858456, 0.495700717, -0.152012229, -0.4722074568, -0.2570163012, -0.0420544595, 0.2047517598, 0.7042086124, 0.59126544, -0.068300277, -0.5262714624, 0.6382114887, 0.221517995, 0.6435214877, 0.0210895315, -0.5105717778, -0.279170692, -0.6268934011, -0.1848477423, 0.4252045453, -0.3888488114, 0.1044120416, -0.1752676219, -0.4802678227, -0.8031744957, 0.2055421174, -0.0225843545, 0.3829427361, 0.4131855071, -0.2263301164, -0.6220539808, -0.8657584786, -0.1248720884, -0.1808560044, -0.0919545367, 0.2663214505, 0.3094135523, -0.5485804677, 0.8231546283, -0.3993914425, -0.2435483485, -0.0368412547, 0.3962388337, -0.1443141699, -0.0887726918, 0.4053060114, -0.5534100533, -0.6740815639, -0.194173038, -0.94521451, -0.1659319401, -0.0468977839, -0.1473753154, -0.3152489364, 0.1888157278, -0.6114681363, 0.5094217062, 0.358512193, 0.0315579288, 0.4982665777, 0.0952151716, 0.4117971957, -0.6897052526, -0.2488275021, 0.3591345847, 0.0222583245, -0.5475968122, -0.4432336688, -0.368524611, -0.0665454343, -0.6005983353, -0.034880098, -0.0606573969, 0.1537148058, -0.3145056069, 0.2282400876, -0.3946281672, 0.1101976112, -0.3346885145, 0.7045598626, 0.4399097264, -0.402484715, 0.1446922421, 0.1152268127, -0.1436558962, 0.8159197569, -0.2473379225, -0.1648153365, -0.3659500182, 0.1761844307, -0.9556282759, -0.7082542181, 0.7202320099, -0.5932039618, -0.139678821, -0.0092365313, -0.4504061341, -0.1383386999, -0.4456875622, 0.3973950148, -0.0253772419, -0.1389094889, 0.1250021905, 0.8879333138, -0.2794758976, -0.4778566957, -0.4680730104, 0.1361870617, -0.6544404626, -0.6412752867, 0.1235955581, -0.0857493654, -0.3924134076, 0.0323891789, -0.3379852772, -0.1297671795, 0.0086082891, 0.4222101271, -0.0564530231, -0.1962293983, 0.5370315909, 0.0660287961, -0.0374136381, 0.3686641455, 0.1984511912, 0.3257959187, 0.1358523965, -0.7151679397, -0.737845242, 0.8837333322, 0.4109864831, 0.2651139796, 0.5138224363, 0.9144068956, -0.6175009012, 0.2303774804, -0.6903034449, -0.4228442907, -0.3943616748, 0.3550135195, 0.0037595499, -0.7745222449, 0.1657819897, 0.0225542188, -0.1073927581, 0.0493807904, 0.3666509092, -0.6074114442, 1.1142752171, 0.7221007943, -0.1858290583, 0.353112489, 0.0927998796, 0.4200083315, -0.482814312, -0.2112459242, -0.00170364, -0.3800277114, -0.531067729, -0.6273541451, 0.6044542789, 0.2590862513, -0.3290576637, 0.0660917759, -0.2056774646, 0.1046805158, 0.0264620297, 0.418314904, 0.2737222016, -0.0054203635, 0.1411669254, -0.8571223021, -0.7678053379, -0.2864779532, 0.7613157034, 0.578214407, 0.8788810372, 0.5530222654, 0.5019425154, 0.9492121935, 0.6419644952, -0.8122187257, 0.2740046084, 0.1701078564, -0.3150708079, -0.1532624811, -0.1463311762, -0.6994515061, -0.1899839938, -0.3418904841, -0.9315124154, 0.1559672058, 0.2456532568, -0.2708944678, 0.4047460854, -0.4147687852, 0.5981215835, -0.2863275409, -0.5537611246, -0.5661321282, -0.4317670763, 0.6988853216, -0.3577076793, 0.6268519163, -0.257558167, 0.18004179, 0.7674888372, -0.0218321849, 0.8317596912, -0.0560109094, -0.1781699955, 0.2930058837, -0.0789044723, 0.0306818932, 0.347359091, 0.3699503243, -0.1743826866, 0.0376868472, -0.1170916334, -0.5923871994, 0.4860200882, -0.6914742589, -0.7333673835, -0.4001906216, -0.2160023004, -0.2297247499, -0.1009036452, 0.1951050758, 0.0951390266, -0.1188636348, 0.1833468974, 1.2018657923, 0.0762746334, 0.2358819991, 0.2289732993, -0.0987593159, -0.5989673734, 0.809030354, 0.1291939467, 0.0271628238, 0.0421668552, 0.1585616767, -0.2598465979, -0.0062464369, -0.1913298815, 0.5814520121, -0.6444621086, -0.0658621565, -0.5989453197, -0.2338253409, -0.2936410904, 0.0362496339, -0.2931565046, 0.2448062748, -0.295732826, -0.3775773346, 0.3721459508, 0.7850940228, -0.4407755435, 0.5615643859, -0.8733223081, 0.1647218466, 0.2843571901, 0.3427307308, 0.1129513457, -0.3190553486, -0.5189873576, 0.1169808209, -0.4559268355, -1.7992883921, 0.0315896235, 0.0282999966, 0.7714466453, 1.1233464479, 0.2205523551, 1.0584950447, -0.0396420807, 0.7010284066, 0.2669034004, -0.6869080067, 0.4131551981, -0.4212498963, -0.1261255294, 0.5693994164, 1.1475460529, -1.0268527269, -0.1775123626, -0.6251389384, -0.5820943713, 0.2679853439, -0.0218837801, 0.149601385, -0.2723681331, -0.0252514407, 0.0771492869, 0.3011373281, -0.7308471203, -0.3183666468, -0.2839134336, -0.1540086865, 0.096836485, -0.4494375885, -0.5081804991, -0.128910169, 0.6224552989, -0.0321965627, 0.3196324706, 0.2178683281, -0.2384927273, -0.3210760951, 0.1367034018, 0.5190159082, 0.6337996721, -0.5048469901, 0.3580122888, -0.1255292892, -0.6884323955, 0.2759217322, -0.336491257, -0.0218104087, 0.357611388, -0.027940996, 0.577788353, 0.664668262, -0.8397220373, 0.5491654873, 0.2275292426, -0.1602925956, -0.2485692501, -0.0022896107, 0.2153170556, 0.2675522566, 0.3208131194, -0.0092463512, 0.1354106963, -0.563716948, 0.4776100814, 0.3778879941, -0.7562243938, -0.5199536681, 0.4807063043, -0.1457691789, -0.2951098382, 0.2349381745, 0.0137104299, -0.2026919723, 0.0863319859, 0.3650794923, 0.6218493581, 0.0208188351, 0.5179896355, 0.3427340686, 0.3083607554, -0.1848181635, 0.063959837, -0.0694722161, -0.4273991585, -0.2780451179, -0.083236903, -0.3360022306, 0.4240127206, -0.9390305281, 0.4301128685, -0.3392866552, -0.7422410846, -0.0779486895, -0.2209468484, -0.3751212358, 0.0079847639, 0.4537676871, 0.8940336108, -1.1903866529, 0.4959067106, 0.5990501046, -0.5113137364, -0.4222346842, 0.5040994287, 0.3928313255, -0.1952875853, -0.0110897627, 0.3256032467, -0.1800136566, -0.301592499, -0.5639922023, -0.9572476745, 0.8417862654, 0.4535215497, -0.1543488801, 0.1854635924, 0.3012089431, 0.2800683975, -0.3724721372, 0.2719330788, 0.4474163353, 0.4491720796, -0.1665527672, -0.5518708825, -0.2144445926, -0.0946462527, -0.3380883932, 0.0766438097, -0.4507870078, 0.3665274382, -0.1985429376, -0.4971677363, -0.3745259643, 0.6153866649, 0.7222695351, 0.7708652616, 0.4510955811, 0.3197053075, 0.8752573133, 0.3587754965, 0.3340473175, -0.0646135062, 0.2725532949, 1.0677375793, -0.0878254324, 0.9945500493, 0.859364748, -0.3214313984, 0.4288950264, 0.8945903182, 0.0181757696, 0.4190920293, 0.1938997507, -0.5291007757, -0.3749798536, -0.3712973893, -0.4352809787, 0.1770361513, 0.7646290064, -0.2357325852, -0.2058353275, 0.2818267047, 0.2904167473, 0.1176577434, -0.2193862498, 0.6113613248, 0.1397724152, -0.359737277, 0.1043663472, -0.080500178, 0.6757304072, -0.5788828135, 0.1284631789, -0.072740674, -0.3031218946, -0.4041924775, -0.7316048741, 0.4657768309, 0.3105123341, -0.4426477551, 0.1128008291, 0.6709200144, -0.2077122033, -0.3101744056, 0.3806496859, 0.743185997, 0.3796100914, -0.2931649983, -0.4057418406, 0.0146241579, -0.0895292088, 0.1958856583, 0.6630192399, 0.5381157398, -0.3137468994, 0.5266423821, 0.5946019888, 0.1894092113, 0.2649415731, -0.1111668497, 0.6933258772, -0.4227102995, -0.2737868428, -0.8154341578, 0.4371065497, -0.2498099208, -0.2966609001, 0.8150750399, 0.3581522107, 0.7757250071, -0.0398958549, 0.85522753, 0.0769598931, 0.2019989938, -0.1263517141, 0.6213930249, -0.5468003154, 0.0897416472, -0.0765104741, -0.5811848044, 0.0603321381, 0.4249564707, -0.3271013498, -0.4324139357, 0.4682299793, 0.7297209501, -0.1433651447, 0.0992980897, 0.1643278748, 0.3112891018, 0.1963324398, 0.3600979447, 0.945804894, -0.1290748566, 0.5461743474, -0.3148930073, -0.1982202083, -0.3341956735, -0.7496938705, -0.7114510536, -0.3204206824, -0.3967807889, -0.2509167492, 0.0783666819, 1.1116554737, 0.5430695415, -0.4752469361, -0.0502739809, 0.3271870911, 0.2090794444, -0.2974435985, -0.2445932031, 0.153603062, 0.1700031608, -0.3330610693, 0.1570079178, 0.4062339962, -0.2346212119, -0.5202995539, 0.0773800761, -0.35673967, 0.324049145, 0.481883198, 0.4156868458, -0.8221449256, -0.18212834, 0.1570796818, -0.2086292058, 0.1776598245, 0.8095505238, -0.3497686684, 0.2542566359, 0.4401194751, 0.4920804501, 0.2099652737, 0.3399204314, 0.3361386061, -0.60071522, -0.239003703, -0.0094829798, 0.2128695995, 0.4278132915, -0.5735815167, 0.0660573766, 0.480115056, -0.2335689217, -0.9553209543, -0.0065506147, -0.850556612, 0.0344421901, 0.8917279243, -0.1820092201, -0.0424499586, -0.2444283068, -0.3229495287, 0.4389849007, -0.5051968098, 1.2293534279, 0.7722782493, -0.4261421561, -0.3797985017, -0.9773815274, 0.4478415251, 0.2757931948, -0.6576595902, -0.1090959534, 0.3273839355, 0.4165292978, 0.0655321851, 0.5555342436, 0.091150701, 0.5112095475, -0.0947811753, -0.2637141943, 0.1478612125, -0.3030631542, -0.2507047653, 0.1969008595, -0.3153574467, -0.0990921184 ]
http://arxiv.org/abs/2407.02659v1
http://arxiv.org/pdf/2407.02659v1
Ensuring Responsible Sourcing of Large Language Model Training Data Through Knowledge Graph Comparison
2024-07-02T20:49:21
2024-07-02T20:49:21
Devam Mondal, Carlo Lipizzi
cs.CL
cs.CL, cs.LG
In light of recent plagiarism allegations Brough by publishers, newspapers, and other creators of copyrighted corpora against large language model (LLM) developers, we propose a novel system, a variant of a plagiarism detection system, that assesses whether a knowledge source has been used in the training or fine-tuning of a large language model. Unlike current methods, we utilize an approach that uses Resource Description Framework (RDF) triples to create knowledge graphs from both a source document and a LLM continuation of that document. These graphs are then analyzed with respect to content using cosine similarity and with respect to structure using a normalized version of graph edit distance that shows the degree of isomorphism. Unlike traditional systems that focus on content matching and keyword identification between a source and target corpus, our approach enables a broader evaluation of similarity and thus a more accurate comparison of the similarity between a source document and LLM continuation by focusing on relationships between ideas and their organization with regards to others. Additionally, our approach does not require access to LLM metrics like perplexity that may be unavailable in closed large language modeling "black-box" systems, as well as the training corpus. A prototype of our system will be found on a hyperlinked GitHub repository.
[ -0.1063202694, -0.6578686237, 0.5778747201, 0.1362537742, -0.1703110337, 0.2219757438, -0.3139160573, -0.4292773008, -0.0281274039, 0.9348107576, -0.2672834396, -0.6266583204, -0.5006654859, 0.3783042729, -0.8050509095, 0.9296551347, -0.273455143, 0.0040886872, -0.5380601883, -0.3123512864, -0.1390921026, -0.5224809051, -0.6683152318, -0.361650914, 0.5323444009, 0.2132622153, 0.5726513863, 0.9167881608, 0.6312673092, 0.2721192539, -0.2251856625, 0.1839217693, -0.6793495417, 0.1443729699, -0.3436181843, -0.2985228002, -0.2773952484, -0.0536874942, 0.8018038869, 0.4976160824, 0.0924997702, 0.2818821967, 0.2117095292, 0.605758667, -0.6918475628, 0.3715539575, -0.5638901591, -0.0241318345, -0.3272844553, -0.2431441993, -0.4985892177, -0.4730426371, 0.0357770137, -0.404866308, 0.3732814193, 0.1076056957, 0.7418444157, -0.0292297471, -0.3669177592, -0.4236707985, -0.4909472764, 0.5544262528, -0.6947730184, 0.4476474822, 0.1978633106, 0.1691291332, -0.1928566545, -0.8382639885, -0.6730374098, -0.3562338054, -0.1510045528, -0.2343021333, -0.1280249804, -0.126044631, 0.1903466433, 0.4546202123, -0.5728511214, 0.1846341342, -0.4031235874, -0.4857928157, 0.4905803204, -0.1372264922, 0.2919731736, -0.2440783978, -0.3463639915, -0.1435931623, -1.012100935, -0.435377568, 0.5877692699, 0.3681494594, -0.0179670192, 0.6904437542, -0.180985108, 0.698599875, -0.2685617208, -0.1175708249, 0.3575749993, -0.3496651351, -0.1535626203, 0.1222483665, 0.8346131444, 0.3978132606, 0.3072530031, -0.4086917937, -0.1684935689, -0.2607674301, 0.0001979113, -0.7875201702, -0.2328554988, -0.1494491547, -0.2279915065, -0.3115896583, 0.0232433006, -0.4793786108, -0.5955985188, -0.4682922959, 0.0512589328, -0.4967253506, -0.3309121132, -0.1663891375, -0.0742087513, -0.0406436361, 0.1019085646, -0.6459278464, 0.0505412221, 0.9501700401, 1.0486770868, -0.4220885038, -0.5163948536, -0.44822824, 0.5054426193, -0.1975746453, 0.7235234976, -0.2252490669, -0.2431992888, 0.1372886151, 0.1083961725, 0.1575753838, -0.7220739126, 0.4459455311, -0.9615612626, 0.113516435, -0.0849817321, -0.770673275, -0.0251489561, 0.4884752631, -0.9474633336, 0.8289282918, 0.3562285304, -0.9745200276, 0.2921172678, -0.4593475461, -0.329451859, 0.2340961397, -0.1220052689, -0.4952114224, -0.3265954554, -0.0059383931, 0.3901056349, -0.2013020664, 0.2083613425, -0.5519728661, -0.1331209391, 0.2136544734, -0.0532259122, 1.0372899771, 0.3109949827, -0.0141535616, 0.2009852529, -0.7367143035, -0.08023303, 0.3671526909, -0.6522802114, -0.709602952, -0.1756730825, -0.0604029447, 0.0000153393, 0.4850514531, -0.4433507025, -0.0648494512, -0.2087423801, 0.4329141676, 0.6590480208, 0.0298331529, 0.4519517422, -0.1885233968, 0.3864604831, -0.220956549, 0.0620028228, 0.0752799883, -0.1597221792, -0.601809144, -0.3236244619, 0.3952495456, 0.3133965731, -0.6006857753, 0.609798789, -0.5157479644, -0.3821130395, -0.2751116455, 0.4681283236, 0.3982336223, 0.6313924789, 0.2097999752, -0.2983415723, -0.634498179, -0.8073281646, -0.224343136, -0.2435746938, -0.1565325707, 0.1360518485, 0.5424779654, 0.0322234035, 1.0433543921, -0.3530896306, -0.3480704725, -0.1648149788, 0.0082463967, -0.0509659424, 0.30849576, 0.6859216094, -0.6445264816, -0.5696700811, 0.1064888984, -0.9262240529, -0.3951166868, 0.3725915551, -0.1420516521, 0.1797927618, 0.8086155653, -0.4463644028, 0.0099189179, 0.5559961796, -0.446708411, 0.5266492367, -0.0718824044, -0.0086843437, -1.1221081018, 0.3256805539, -0.2434274405, -0.190943718, -0.2035407722, 0.3903297484, 0.1292654127, -0.1123020276, -0.3451473713, 0.4580958188, -0.2837483883, -0.2309983075, -0.3357378244, 0.4473599494, 0.1319968998, 0.0886288509, -0.0571613312, 0.7638242841, 0.152818501, -0.3401328623, 0.6725857854, 0.3028224707, -0.6614096761, 0.6876012683, -0.3882671893, 0.3780785203, 0.0680730119, 0.2485380769, -0.5589288473, -0.0387101658, 0.1781435311, -0.2365983427, 0.1149043217, -0.3372909129, -0.784855485, -0.2346672118, -0.1160265133, 0.1600741893, 0.1213747263, -0.4426201582, 0.2464312911, 0.3789609671, -0.4227701128, -0.6926891804, -0.5713389516, 0.2594960034, -0.0653233156, -0.7217281461, 0.1433405131, 0.0671209097, -0.3448309302, 0.3350414038, 0.0090354756, -0.267454952, 0.191117689, -0.119029671, 0.1655660421, -0.2978120446, 0.1580576897, -0.1303835958, 0.1847591996, 0.1612661928, -0.4374012649, 0.5799042583, 0.1148440912, -0.3118223846, -0.0576329082, 0.1750953346, 0.6794976592, -0.3768036366, 0.8090099692, 0.5299729109, -0.3048644066, -0.3094572425, -0.5578618646, -0.0130962776, -0.4048300982, 0.4624724388, -0.0309747625, -1.0442060232, 0.4603001177, 0.1625643969, -0.0727652162, 0.316113323, 0.4873514473, 0.2198681086, 0.4853085577, 0.6894724369, -0.2307409793, 0.7271345854, -0.3453807533, 0.2669020295, -0.6321079731, -0.2788197696, -0.654396534, -0.0937146842, -0.3597327471, -0.3084057271, 0.0497150831, 0.2279959023, -0.4735366702, 0.3697170019, -0.2488884032, 0.6733789444, 0.546402514, -0.1405202597, 0.7530495524, 0.2507903576, -0.1788389087, 0.2182808667, -0.5516234636, -0.6758903265, 1.1780625582, 0.2065988332, 0.4352377355, 0.133519873, 0.7028799057, 0.339391619, 0.5920390487, -0.6491582394, 0.5839455724, -0.20266518, -0.6226144433, -0.426266402, -0.7707839608, -0.8851289749, 0.0768101215, -0.185359627, -0.4885199964, -0.1141708717, -0.1390075088, 0.0022963039, 0.4354814887, -0.6548694968, 0.8638117313, -0.1922659725, -0.4298892021, -0.2498619556, -0.2157074362, 0.2792272568, -0.3073521256, 0.2433877438, -0.0514667258, 0.1719831675, 0.9891866446, -0.537314415, 0.5690369606, -0.1232784539, -0.2478894889, 0.4637236893, 0.1996411234, 0.4534325302, -0.0945604891, -0.1945621967, 0.1578185856, 0.0565892272, -0.2674759328, -0.5158480406, 0.8248534799, -0.810184896, -0.4853932559, -0.1571249813, -0.8150634766, -0.099012658, 0.7060737014, -0.0041478761, 0.1542356759, -0.2392547131, 0.456004262, 0.3933435678, -0.0862049758, 0.0960309878, 0.8022462726, -0.3105021417, -0.2752179205, 0.7243931293, 0.0337593555, 0.2323567271, 0.4296384454, 0.244880408, -0.2553381026, -0.9118822217, -0.2205022424, 0.3675354421, -0.7551266551, -0.4308880866, -0.4313033223, -0.2096933573, -0.5831723809, 0.0259427167, -0.1751364172, -0.0953656882, -0.1239189133, -0.1551930308, 0.5441954732, 0.8924636245, 0.1646173447, 0.16108796, -0.8367372751, -0.0404000953, 0.3163636327, 0.5934510827, 0.0043457276, -0.5847191215, -0.4248563349, 0.006180733, -0.2973769903, -0.5580628514, 0.32956779, -0.1352624148, 0.4810673296, 0.2229838222, -0.0002400637, 0.3156135082, -0.3510026336, 0.5678327084, 0.1686789244, -0.876475215, 0.2646956146, -0.3981682658, -0.0709840953, 0.5029543638, 0.2376859635, -0.3957867026, -0.6705656052, -0.4316016138, -0.7419499159, 0.6241271496, 0.136280477, -0.119257383, 0.0555749759, 0.4780519307, -0.0677179918, 0.2095407099, -0.7841832638, 0.0932321027, 0.0276804641, -0.4628987014, -0.0158371795, -0.2903767526, -0.2720858157, 0.130249083, 0.5959028006, -0.1259703934, -0.1071330979, -0.0737756863, -0.3915476799, -0.113119103, 0.2358023822, 0.1207878515, 0.8413493633, -0.2132128626, 0.3306434155, 0.1222694144, -0.5639250875, 0.0598067567, 0.1415391713, -0.3500100672, 0.0174259115, 0.6154488325, 0.4682512581, 0.129462868, -0.6866545677, 0.6244266033, 0.2014049292, -0.25038293, -0.330296874, -0.1406920254, 0.3283144832, 0.4519028664, 0.0984495878, -0.2393568903, -0.1144749746, -0.4098919332, 0.249686569, 0.2489791065, -0.0502659492, -0.1009702832, 0.3151729107, 0.1182681248, -0.4084185958, 0.7435922027, -0.1968128979, -0.4469083846, 0.5213174224, 0.58303231, 0.5309510827, -0.150762856, 0.1078338102, 0.1146635339, 0.1578969955, -0.2815486491, -0.0178314783, 0.127339378, -0.8891808391, -0.59025985, -0.6041932106, -0.2980563939, 0.4528967142, -0.5762001276, 0.382683903, -0.5090799332, 0.0249796975, -0.0623084269, 0.1047637239, -0.5763181448, -0.0996174663, 0.2403289229, 0.8576275706, -0.8668606877, 0.9877441525, 0.6873492599, -0.5795907974, -0.6859954, -0.1045562103, -0.1622135639, -0.7918174863, 0.8485958576, -0.1379517168, -0.156636402, -0.0911227763, -0.5131639838, -0.833994627, 1.2343261242, 0.9527304769, -0.5389205217, -0.1083471105, 0.1355240792, 0.6250552535, -0.2896329761, -0.2430344373, 0.5900603533, 0.287071079, -0.1058052629, -0.8774495721, 0.1203545034, -0.0028122957, -0.2037929744, 0.0738515779, -0.5339242816, 0.7520780563, 0.0988908932, -0.2839965522, 0.0428224541, 0.4697135985, 0.2601657212, 0.2052326202, 0.5336560011, 0.5754608512, 0.8990765214, 0.1816958338, 0.8433746099, -0.467413336, 0.5670517683, 1.247035265, -0.4806651473, 0.8053789735, 0.5371020436, -0.2161227316, 0.5451873541, 0.2142608315, -0.1630609483, 0.426714927, 0.3465065956, -0.1206379756, -0.0010592499, -0.2333593071, -0.1968126595, 0.3299584389, 0.2578802705, -0.6697473526, -0.4405502975, -0.1872137934, 0.0787372962, 0.3500543833, -0.29899472, 0.7168833613, 0.1054503173, -0.4629836082, 0.4549321234, -0.0199515726, 0.3386778533, -0.5296666622, 0.2083739489, -0.1062485799, 0.2796470225, -0.2687315643, -0.8893652558, 0.4162968695, 0.2540058196, -0.223312214, -0.2668480873, 0.6503174901, -0.5092054009, -0.2538189888, 0.6565830708, 0.596806705, 0.0176723711, 0.0855737478, -0.5267720819, 0.2220101804, -0.1453303546, -0.0177633669, 0.3671482503, 0.6152371168, -0.1702682823, 0.5307127237, 0.5183490515, 0.3594847023, -0.1061374694, 0.2518413067, 0.7035377622, -0.350668788, -0.6373417974, -0.8784896135, -0.2453781068, -0.4192257822, -0.0197480638, 0.8140621781, 0.7508367896, 1.1922599077, -0.0111430371, 1.0183421373, 0.011762335, 0.6824798584, -0.5507102609, 0.864495039, -0.2173597664, 0.3607064784, -0.2020956874, -1.0403590202, -0.4647844732, 0.4957941473, -0.5105335712, -0.2082562, 0.8970626593, 0.9342538118, -0.150864765, -0.0259111393, 0.0052980226, 0.2769328058, 0.323368609, 0.3311327994, 0.8032477498, -0.0208681375, 0.9964660406, -0.0954033509, -0.0721108243, -0.3220349848, -0.961665988, -0.8781594634, -0.4639058709, -0.3412507772, -0.6891483665, 0.1167188361, 0.7180774212, 0.373239249, -0.9614087939, -0.279532373, -0.0841582119, 0.4095202982, -0.0731940418, -0.2432797551, 0.6249839664, -0.139506653, -0.5487685204, 0.1586859822, 0.1662596762, -0.0214656964, -0.4906245172, 0.036706537, -0.0752215385, -0.276696384, 0.6068083644, 0.1208878905, -0.393910408, -0.5889315009, -0.2181856632, -0.3338247538, -0.137723729, 1.015887022, -0.4033601284, 0.3456565738, 0.6611110568, 0.7713835835, 0.4270896316, -0.3259291053, 0.6323521137, -0.7966439128, 0.1764336228, 0.145475626, 0.474245131, 0.7611848116, -0.2045434415, 0.4183922112, 0.4334211051, -0.4824121892, -0.7578077316, 0.2709549665, -0.8588148355, -0.2163120061, 1.3291355371, -0.5282765627, -0.3241859972, -0.250736475, -0.0870523229, 0.5144178867, -0.324680835, 0.8724511862, 0.7458122373, 0.419727385, 0.1024363115, -0.3741971552, 0.331876725, -0.1376336217, -0.5677148104, 0.3208480179, 0.5391185284, 0.6812945604, 0.2563182414, 0.4980422854, -0.2689483166, 0.0132233454, -0.2379644066, 0.1963638067, -0.4478665888, 0.0578024983, -0.2071438283, 0.410782218, 0.2765455544, 0.0483971648 ]
http://arxiv.org/abs/2407.02646v1
http://arxiv.org/pdf/2407.02646v1
A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models
2024-07-02T20:28:16
2024-07-02T20:28:16
Daking Rai, Yilun Zhou, Shi Feng, Abulhair Saparov, Ziyu Yao
cs.AI
cs.AI, cs.CL, I.2.7
Mechanistic interpretability (MI) is an emerging sub-field of interpretability that seeks to understand a neural network model by reverse-engineering its internal computations. Recently, MI has garnered significant attention for interpreting transformer-based language models (LMs), resulting in many novel insights yet introducing new challenges. However, there has not been work that comprehensively reviews these insights and challenges, particularly as a guide for newcomers to this field. To fill this gap, we present a comprehensive survey outlining fundamental objects of study in MI, techniques that have been used for its investigation, approaches for evaluating MI results, and significant findings and applications stemming from the use of MI to understand LMs. In particular, we present a roadmap for beginners to navigate the field and leverage MI for their benefit. Finally, we also identify current gaps in the field and discuss potential future directions.
[ -0.1670849323, -0.555616796, 0.4372084737, 0.2094107568, 0.0396732576, 0.2003551275, 0.0525555834, -0.5499643683, 0.100905098, 0.4748650789, -0.9677707553, -0.0589765497, -0.7742418051, 0.1878444999, -0.6231932044, 0.9773243666, -0.1333193928, -0.0622536428, -0.1099714413, 0.0258039217, -0.4947510958, -0.3759626448, -0.3891071081, -0.4909290373, 0.4679306746, 0.3960628211, 0.7499699593, 0.2411114126, 0.6382246614, 0.2901708484, -0.4244794846, -0.3679198027, -0.3850136995, 0.1551680118, -0.4329885244, -0.7994135618, -0.2876942456, 0.1460316181, 0.4966587126, 1.1373041868, -0.1014505029, 0.1769453883, 0.1981500834, 0.5262702107, -0.5007071495, 0.1757557392, -0.651949048, 0.1004768312, -0.3126864731, -0.3313658834, -0.6651605368, 0.0813445002, 0.457724303, -0.3100301921, 0.1908902973, -0.0558573678, 0.5066940784, 0.1433048099, -0.4373511076, -0.4928268194, -1.2321361303, 0.9569696188, -0.7611286044, 0.5945801139, 0.1506116986, 0.8937917352, -0.0724450871, -0.9697586298, -0.5766471028, -0.0960629582, -0.3546068668, 0.1526194513, -0.5692567825, 0.0503635071, 0.0661843121, 0.4538643658, -0.51756531, 0.1339574754, -0.5692589283, -0.1726395786, 0.3470752239, 0.4990700185, 0.7228464484, -0.1989276558, -0.1058016792, -0.0071485029, -0.6360429525, 0.1707955748, 0.2504244447, 0.2537621856, -0.1204410717, 0.4304768741, -0.2344582826, 0.5256841779, -0.4344742894, -0.0906113535, -0.0261356514, -0.4906499982, -0.3132261932, -0.3907238841, 0.5631538033, 0.224205792, 0.3989751041, -0.4736688137, -0.1963959485, -0.4905615151, 0.6223417521, -0.7124577761, -0.0587237887, 0.2207484245, -0.9703021646, -0.4298723638, 0.0312718637, -0.6111289859, -0.0726078749, -0.4171735644, 0.0701786652, -0.3678624034, -0.7048373222, 0.0152150681, -0.0001354073, 0.4802954197, 0.1798245907, -1.0278416872, 0.1611251086, 0.7359622121, 0.968378067, 0.1609737128, -0.5610932112, 0.2034466714, -0.3478597701, 0.0148005607, 0.5220088959, -0.3344534039, -0.4266813397, -0.1541587561, 0.0589834042, -0.3611823916, -0.3381706774, 0.5768427253, -0.5876625776, -0.0168921389, 0.1874390543, -0.3122817278, -0.3875312507, 0.3565864265, -0.6861613989, 0.3066524863, 0.2973005176, -0.6335510612, 0.1000446156, -0.7177438736, -0.3012894988, -0.1691697389, 0.0802366361, 0.0254580043, 0.2838558555, -0.2322620749, 0.4579679072, -0.3580594659, 0.3473596275, 0.0255113114, -0.3480942845, 0.5040343404, -0.9193392396, 0.7864135504, 0.5489972234, -0.3012984991, 0.0927020982, -0.8474465013, -0.0747954845, -0.0903880596, 0.0299042743, -0.0498669557, 0.3415850699, 0.1422311068, 0.1450477988, -0.0218450688, -0.1446582079, 0.0999084115, -0.6938140392, 0.7009481788, 0.5460691452, -0.2896254659, 0.6989129782, 0.1392939389, 0.787308991, -0.028178772, 0.4304333329, -0.6201956868, -0.4239824116, -0.6141809821, 0.1429433376, 0.0444063954, 0.5989883542, -0.9083252549, 0.2965509593, -0.2653657794, -0.8074454665, -0.7426089048, -0.0416553766, 0.2257482708, 0.6438308358, 0.6539866924, 0.3378278315, -0.4328258038, -1.2371617556, -0.7075787187, -0.2042348832, -0.1435323209, 0.2188860327, 0.5001479387, -0.6669387221, 0.945936799, -0.2409780025, -0.0712326914, -0.6028952003, 0.3642154336, 0.5456681848, 0.4675801694, 0.3124451339, -0.706412673, -0.1271458864, -0.0249477737, -0.8897217512, -0.0669629946, -0.2358409613, 0.3326697648, -0.1999048144, 0.6436654329, -0.3298358321, 0.5650122762, 0.5608590841, -0.4816085994, 0.5238953829, -0.1280341595, 0.0700656325, -0.9526536465, 0.2147281915, -0.0537760966, -0.028337555, -0.9981787801, 0.2778610885, -0.1264261454, 0.1259748489, -0.6259839535, 0.4299448431, -0.4523189366, 0.049083814, -0.4775369167, -0.2769541144, -0.0634792373, 0.0351946764, -0.3168008626, 0.633554697, 0.3744465113, -0.6141462922, 0.0152512146, 0.2219998091, -0.4626575112, 0.417875737, -0.8201441765, -0.2071220726, -0.1977572143, 0.146747604, -0.8426128626, -0.0473151989, 0.510802865, -0.5113437176, 0.4509966969, -0.2104011625, -0.1590643078, -0.1972782463, 0.0314352326, 0.6235368252, 0.4158958793, -0.5857231021, 0.8716051579, 0.0424880385, -0.0863873065, -0.8154263496, -0.7924518585, 0.2403032929, -0.1276548505, -0.6379126906, 0.0884660557, -0.0452656895, -0.5778976083, -0.1681518406, -0.1122347489, -0.0138639389, 0.6669787765, 0.121737875, 0.0334491432, -0.3336274028, -0.1164085865, 0.1196472272, -0.6882837415, 0.2868643105, 0.1588843614, 0.3642990291, -0.4764565825, -0.4199581742, -0.4394363165, 0.0991218239, 0.6528065205, 0.0471581407, 0.7416861057, 0.4282140732, -0.3242741525, -0.0344686881, -0.148008287, -0.4259751737, -0.4462720752, 0.3806408942, -0.6777943373, -0.6578950286, 0.4753458798, -0.1983395964, 0.0769641548, 0.7056052685, 0.4258783758, -0.4868847728, 0.8845704794, 0.7920026779, 0.0887003988, 0.2065425962, -0.217419982, 0.5888205767, -0.7575854063, -0.5088412166, -0.6240745783, -0.547229588, -0.6328023672, -0.2500316799, 0.1969471127, 0.1980479509, 0.2019754648, 0.3535948396, -0.4386033416, 0.4642370343, 0.2708363831, -0.2761714458, 0.388748467, -0.3837386668, 0.1578655243, -0.3428170979, -0.5175260901, -0.8394427299, 0.8436786532, 0.8225892782, 1.0159424543, 0.1804631203, 0.1205827743, 0.0143077541, 0.615193069, -1.0279839039, 0.2327628136, -0.0278349929, -0.6527118087, -0.3364338279, -0.5051216483, -1.0058336258, 0.4713314474, -0.2546358109, -0.9498718977, -0.0139583237, 0.1978997439, 0.1938713491, 0.5561873317, -0.6402052045, 0.8638073802, -0.3363053203, 0.2101531327, -0.2285045981, -0.863740623, 0.5093600154, 0.1680382043, 0.4734947085, 0.0092693875, 0.2275812179, 0.5300342441, -0.3070991933, 0.8710217476, -0.1233134717, -0.3307600319, 0.1775918305, 0.1981361806, 0.0988694653, -0.2628912926, -0.0491686389, 0.5811492205, 0.422175467, -0.0695112944, -0.9503084421, 0.4734586775, -0.5249038339, -0.4889128804, -0.3450495899, -0.6172272563, -0.0494446233, 0.2548582554, 0.3612965345, 0.3278180659, -0.3270590305, 0.2347988337, 0.4659233391, -0.2940725982, 0.3825301826, 0.6148452759, -0.3162147701, 0.0026581527, 1.0050626993, 0.1936777532, 0.0325027704, 0.6688762903, 0.3043136299, -0.3404127061, -0.7216960192, -0.4927688837, -0.0481665544, -0.7306574583, 0.2571310103, -0.5141569972, -0.277816534, 0.039258413, 0.0705257282, -0.4788231254, -0.4060640037, -0.3230010569, 0.0033573406, -0.1351510733, 0.9013398886, 0.3075309396, 0.7485073209, -0.9089666605, -0.084275797, -0.1147826537, 0.5473626256, 0.2026455849, -0.6098754406, -0.2539071441, 0.214488849, -0.3175364435, -0.8808192015, 0.2050612867, -0.1267060935, 0.730648756, 0.7335451841, -0.1856765002, 0.4182590842, -0.4705952108, 0.6649352312, 0.1753417253, -1.1452690363, 0.6042430997, -0.0967493951, -0.0835635737, 0.5588023067, 0.4862152338, -0.6408732533, -0.2960608602, -0.7270111442, -0.8904822469, 0.6286853552, 0.4219828844, 0.400155127, 0.3315573335, 0.5365797281, 0.3151608407, 0.0587560683, -0.7429746389, -0.4705466032, -0.1032563448, -0.2801189125, -0.2420163006, -0.2945530117, 0.1214987412, -0.1212660372, 0.4936663806, -0.2386504114, 0.1369969249, -0.1069379449, -0.5306740999, 0.0959477872, 0.4609356821, 0.7134225965, 0.9373580217, -0.3702433407, 0.3909903169, 0.0692263693, -0.2622746527, 0.0150148626, -0.1396072209, -0.3114575148, 0.0082417717, 0.6792964935, 0.6799809337, 0.4453722537, -0.743910253, 0.3741472065, -0.109473452, -0.0069589457, -0.1059769168, -0.0274784211, -0.0233181901, 0.3315786123, 0.2750062346, 0.1070964485, 0.5243996382, -0.7307605743, 0.0373927839, 0.4749224186, -0.5878240466, -0.7931424379, 0.6420972943, 0.1856807172, -0.3805865645, 0.6949945092, 0.283483088, -0.4042287171, 0.5414333344, 0.5152667165, 0.8578833342, -0.2343344837, 0.0805201307, 0.1431854963, 0.7903726101, 0.1838247925, 0.0268696398, 0.0495453477, -0.79422611, -0.3648857474, -0.4123089612, -0.7231161594, 0.125230521, -0.8846406341, 0.1986300498, -0.1339118928, 0.1573888808, 0.1634729952, -0.570302844, -0.4114605188, 0.4654360712, -0.2037369758, 1.1128567457, -0.8712563515, 0.4957318604, 0.6237354279, -0.6024103761, -0.4747639, 0.0488870405, -0.0201938432, -0.9872470498, 0.4000512958, 0.2491635531, -0.191340521, -0.2022146136, -0.4566496313, -0.5169373155, 1.3740212917, 0.2563557923, -0.5118216872, -0.1160399318, 0.303611517, 0.704662621, -0.099332951, 0.951171279, 0.8786126375, 0.4435280561, -0.0013493666, -0.6795737743, -0.1142545864, -0.360522151, -0.1573501229, 0.160185948, -0.4236121774, 0.7313905954, -0.1410259753, -0.2609981894, 0.0285670292, 0.6497802734, -0.0964620411, 0.7306033969, 0.5197561383, 0.0630016252, 0.495390296, -0.0880140662, 1.1345857382, -0.4722007513, 0.4755393267, 1.0152158737, 0.3141359985, 0.840896368, 0.7993972301, -0.3075007498, 0.4655384123, 0.4864132702, -0.0190475993, 0.2213068455, 0.3105891049, 0.0773983523, -0.179524973, 0.1047870442, -0.2812794447, 0.5711334944, 0.4632577598, -0.5914564133, -0.4355771244, -0.0229750257, -0.133354798, -0.1604548246, -0.204850629, 0.5491412878, 0.4068036079, -0.3326483071, 0.0890672505, 0.1550032496, 0.7263872623, -0.3914653063, -0.1583068222, -0.1174409464, 0.1532523781, -0.3653912842, -1.0292941332, 1.042322278, -0.0808402002, -0.4731943011, -0.5822415352, 0.9922665954, 0.0102244625, -0.3656578958, 0.4263103902, 1.0095081329, 0.4317534566, -0.1379240751, -0.5472281575, -0.1999549121, -0.0652616397, -0.2988599837, 0.1875783801, 0.1383770406, 0.1196421236, 1.1664953232, 0.5477744937, -0.2390295416, -0.2137739658, 0.1113529205, 0.5629000664, -0.9146263003, -0.1641638726, -1.1655350924, 0.7871333361, 0.5371322036, -0.245124042, 0.5147619247, 0.1492235363, 0.5506435633, -0.2066703141, 0.782676518, 0.0674745739, 0.4289211631, -0.6599512696, 1.0014624596, -0.4983941019, 0.465105921, -0.0933923647, -0.8331637979, -0.2180500627, 0.6494202018, -0.1848552376, -0.0247724317, 0.4099860787, 0.5720005035, -0.3056821823, 0.3331742585, 0.4710001945, 0.3366811275, 0.4325058162, 0.231380254, 1.4160529375, -0.499052614, 0.6876060367, -0.1300210804, -0.3091085851, -0.2084309906, -0.9730069041, -0.6643377542, -0.4956341386, 0.0014116553, -0.4163339734, -0.4993473291, 0.7030456066, 0.5447422862, -0.9674399495, -0.1678771228, -0.2449637949, 0.4698157907, -0.1940564662, -0.2698521018, -0.0528943427, -0.2672934234, -0.8019014597, 0.579456687, 0.1764926463, 0.0679165795, -0.4470743537, -0.1544737071, 0.190175727, 0.027024148, 0.6655022502, 0.3370728195, -0.7678402066, -0.0075688437, 0.3512518108, 0.2501194775, -0.1522986591, 1.1199563742, -0.3877708316, 0.537255168, 0.3795608878, 0.7411933541, 0.1352628022, -0.4405506849, 0.8584528565, -0.4303993881, -0.2122526467, 0.1675711572, 0.6259205341, 0.1295870245, -0.1410591453, 0.7576080561, 0.2228582352, -0.2894291282, -0.8666326404, 0.3605033457, -0.9308131337, -0.2229818553, 0.8625656962, -0.1843986511, 0.1357875317, -0.2410542518, 0.0045888699, 0.1750503629, 0.3395609558, 0.532302618, 0.7276274562, -0.2009730637, -0.34267205, -0.5874206424, 0.1084865257, 0.4247517586, -0.8535651565, -0.0785038322, -0.0514545925, 0.404767096, 0.4418064356, 0.2964971662, 0.0115176104, -0.059083987, -0.0924203694, 0.0805681944, 0.0478602946, -0.4382472932, -0.6448251605, -0.1441625655, 0.2526713908, 0.0801336244 ]
http://arxiv.org/abs/2407.02637v1
http://arxiv.org/pdf/2407.02637v1
Change My Frame: Reframing in the Wild in r/ChangeMyView
2024-07-02T20:09:11
2024-07-02T20:09:11
Arturo Martínez Peguero, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.CY, 68T50, I.2.7
Recent work in reframing, within the scope of text style transfer, has so far made use of out-of-context, task-prompted utterances in order to produce neutralizing or optimistic reframes. Our work aims to generalize reframing based on the subreddit r/ChangeMyView (CMV). We build a dataset that leverages CMV's community's interactions and conventions to identify high-value, community-recognized utterances that produce changes of perspective. With this data, we widen the scope of the direction of reframing since the changes in perspective do not only occur in neutral or positive directions. We fine tune transformer-based models, make use of a modern LLM to refine our dataset, and explore challenges in the dataset creation and evaluation around this type of reframing.
[ -0.4683026075, -0.7916286588, 0.4908307791, -0.0355634727, -0.1812696606, -0.1682045162, -0.2205335945, -0.4254387021, 0.6673143506, 0.7706245184, -0.868909061, -0.3186634481, -0.714908421, 0.3465877473, -0.4462799728, 1.0364025831, -0.2315265983, 0.1441628337, -0.0276158322, -0.3196250796, -0.8904982209, -0.3520073891, -0.3020683229, -0.3452788591, 0.6430956721, 0.7320922613, 0.6468112469, 0.4538182616, 0.6428968906, 0.1598641127, -0.0151956864, -0.0825676247, -0.6866802573, 0.281304121, -0.6379283071, -0.6812462807, -0.0677663535, 0.2505124807, 0.2784355879, 0.6354739666, -0.2941760421, 0.5585811138, -0.2371509075, 0.7719854116, -0.5329964161, 0.340583086, -0.9654100537, 0.2344155014, -0.1912235022, -0.1667759866, -0.4247545004, -0.2501485348, 0.0546332672, -0.7107234597, 0.4827115536, 0.2295596749, 0.686963439, 0.1508527398, -0.5907809138, -0.0828306526, -1.0366594791, 0.797267139, -0.3981519043, 0.3780371547, 0.2173352242, 0.5079674721, 0.0093768118, -0.9007695913, -0.6282107234, 0.3780162036, -0.0401143283, 0.1264725775, -0.5477212071, -0.3703233898, 0.3466952741, 0.3095739484, -0.2518962622, -0.4429738224, -0.3568211198, 0.0225571953, 0.465388, 0.4250456691, 0.0142392758, -0.283254534, -0.366266042, -0.2986754775, -0.399810344, 0.057543274, 0.2165327817, 0.16185157, 0.1062708721, 0.7737132311, -0.4547399282, 0.670021534, 0.3252285421, -0.0688884705, 0.3437435925, -0.5460240245, -0.3098061085, -0.2202715874, 0.003386481, 1.1804970503, 0.3462570012, -0.0248486865, -0.0971009657, 0.0921740979, 0.5909847021, -0.7909188867, -0.2859084904, -0.3879720271, -0.7852554321, -0.5784201622, 0.0267941002, -0.8670693636, -0.7601096034, -0.7193158269, 0.1925280839, -0.2795796096, -0.2293043286, 0.1104390621, -0.1501357555, 0.6436994672, 0.539565146, -0.9484750628, 0.1356022656, 0.4306532741, 0.5185141563, -0.2138729542, 0.0752585009, -0.1908626407, -0.1793599874, -0.3273212016, 0.8345196247, -0.87348032, -0.4808312953, 0.0461230911, 0.3327185214, 0.0253929198, -0.7869644761, 0.4257593453, -0.5707463026, 0.3929714262, -0.4918858707, -0.1709752083, -0.1780966669, 0.4223316908, -0.5184479356, 0.7217050195, 0.1129401475, -0.7409566641, 0.5745654702, -0.4555848241, -0.3752685487, -0.2005167305, -0.1530985534, -0.1793500632, 0.2044524103, 0.1094986126, 0.1416500658, -0.0777437985, 0.319809407, -0.1698708087, -0.1312610954, 0.6852235794, -0.5163706541, 0.1353117526, 0.3775730729, -0.0080543552, 0.1804482788, -0.9291057587, -0.06769678, -0.0715493262, -0.0739907175, -0.3155177534, 0.0708399266, 0.3238448799, 0.1916914433, 0.0181512423, -0.6192232966, 0.4642467797, -0.2441992164, 0.6387814879, 0.6975505948, 0.4002897441, 0.6983252168, -0.4442309439, 0.4026585519, 0.2538153231, 0.2469606698, -0.338170737, -0.6798833609, -0.52083987, 0.0976958647, -0.0550490469, 0.4799209237, -0.8096132278, -0.081024237, -0.0394260399, -0.1222204044, -0.5333601832, -0.039798487, 0.006827421, 0.8207742572, 0.6935564876, -0.6004477143, -0.7212992907, -1.0674849749, -0.2926831543, 0.163560763, -0.0099288719, 0.1592201442, 0.370405674, -0.5610894561, 1.2353162766, -0.9154604673, -0.2592597008, -0.1877942681, 0.2146577388, 0.1514058262, 0.4493382573, 0.3150760233, -1.1983100176, -0.1115368679, -0.3183391392, -0.5053400397, -0.0967577696, -0.4076311588, -0.291641891, -0.0008549399, 0.8184024096, -0.38921839, 0.5672480464, 0.5413507819, -0.6049937606, 0.5222944021, 0.1380214244, 0.404976517, -1.2711364031, -0.1836789548, -0.1248917729, -0.2208910733, -0.4188652337, 0.0147605445, -0.1468701363, -0.0515604764, -0.505810082, 0.4541115463, -0.2558218539, 0.1868403554, -0.2678090632, 0.2750201821, 0.2932964563, 0.4310718775, -0.0082327789, 0.5142900348, 0.24173823, -0.0963266492, 0.4159344137, 0.5706822276, -0.2852159142, 0.6260406375, -0.0955043063, 0.1005929261, -0.5320712328, 0.5591587424, -1.1124538183, -0.3667734265, 0.7162789702, -0.295003742, 0.2173600793, -0.2086932808, -0.1311947256, -0.121632643, -0.2920025587, 0.5737833977, 0.3698262572, -0.5276835561, 0.5347833633, 0.2828671336, -0.0008692778, -0.464732796, -1.1426217556, 0.3388120234, -0.2871863246, -0.4834062159, 0.6598947048, -0.2092481852, -0.634544611, 0.1952059269, -0.166463539, -0.0746068656, -0.3189996481, 0.4051082134, 0.1206096932, -0.2952819169, 0.0318775587, -0.0218283106, -0.1349672973, 0.1560243219, -0.2202740312, 0.4163429439, -0.0497556999, -0.221297428, -0.2788417339, 0.3255293071, 0.4463476539, -0.2814468741, 0.7045019269, 0.4064799845, -0.3004142046, -0.2107893527, -0.5745130181, -0.3410764039, -0.4406031668, 0.3442899585, -0.2186465114, -0.956653893, 0.502763629, -0.0702800527, 0.0438586399, 0.0366187431, 0.554510951, 0.0006193254, 0.7391835451, 0.8889588118, 0.2314600199, 0.7723587751, -0.0591514036, 0.3343257606, -0.8874614835, -0.1873787194, -0.1523303241, -0.6324797273, -0.7586781383, -0.8329753876, 0.0513002612, -0.2316045314, 0.1777401119, 0.4063703716, -0.5219846368, 0.5764169693, 0.1571864635, 0.1951636821, 0.5247840285, -0.1907232404, 0.2831684947, -0.6394526958, -0.3697770536, -0.5625573993, 1.1416957378, 0.1303954571, 0.8529232144, 0.0918906704, 0.5387551785, 0.3511871397, 0.9985054135, -0.9334738851, 0.549980402, -0.0507000685, -0.5505086184, 0.0474199504, -0.3048558831, -0.8300715089, 0.3136798143, -0.5656147003, -0.3496128321, 0.2129540592, 0.0133647062, -0.0209334288, 0.4958155453, -0.5443883538, 0.8512488008, 0.3374703526, -0.1669685841, -0.3941810131, -0.6525347233, 0.4513734281, 0.0072514163, 0.3402436972, -0.2763107419, 0.1757701635, 0.3353482783, 0.1413526088, 1.041580081, -0.0193597116, 0.0605664887, 0.5284441113, 0.3273344338, 0.1145199835, 0.2753152847, -0.1182030961, 0.0390384458, -0.0661244169, -0.1341432929, -0.5122841597, 0.588870585, -0.5482807159, -0.7264931202, -0.2701894045, -0.4761516154, -0.3004551232, 0.1147242486, 0.2021105289, 0.5958867669, -0.6917373538, 0.185203746, 0.7731186152, -0.119474411, 0.4146728814, 0.5141038895, -0.6698282957, -0.2265421748, 0.6105405688, 0.1418972909, 0.2218170017, 0.6252014041, 0.1159195378, -0.0696368963, -0.2478189319, -0.454536438, -0.1592776477, -1.0639795065, -0.2108220607, 0.037424162, -0.009058876, -0.4407194555, -0.4299989343, -0.1635756642, -0.5416119695, -0.2245077193, -0.2905009091, 0.3304805458, 0.7888638377, 0.2247016132, -0.0054726088, -0.6104014516, 0.30951792, 0.4222155809, 0.1011310071, -0.4312927425, -0.6154113412, -0.0582307205, -0.0005452117, -0.3649038672, -0.7826181054, 0.5625408888, -0.0255145878, 0.2004399598, 0.202388525, 0.1357526034, 0.6074542403, -0.6563962698, 0.824606061, 0.3354848623, -0.7070519924, 0.3000148237, -0.2126082629, 0.4841937721, 0.6007263064, -0.064562358, -1.0468769073, -0.4675778151, -0.5668463707, -0.8194419742, 0.3221920133, 0.1048413292, 0.6136905551, 0.0418954231, 0.8090940118, 0.2615763843, 0.3119313717, -0.7658576369, -0.1845309883, -0.5548541546, -0.2387209982, 0.1560197622, 0.0453494564, -0.4498121142, -0.3322986662, 0.2346109152, -0.4560631812, 0.2263979614, 0.3881407976, -0.0209163558, -0.3808518946, 0.4631974399, 0.5782880783, 0.7617775798, -0.048980955, 0.3627010882, 0.3689881563, -0.430675, -0.1983238906, -0.2572581768, -0.2446306497, -0.0221456029, 0.175705865, 0.6274366379, 0.5708568692, -0.549102366, 0.5616729856, -0.3249599338, -0.1359352171, -0.3302235305, 0.2410736233, -0.0513430238, 0.3510551453, 0.1299602985, 0.9184315205, 0.0857166275, -0.6792629957, 0.3015728891, 0.1790086627, -0.4573003352, -0.5062727928, 0.8409052491, 0.3316917717, -0.1257251203, 0.5510650873, -0.0429438762, -0.0189654864, 0.4668157995, 0.5646644831, 1.0247855186, 0.2383841425, 0.1862774938, 0.3660301864, 0.1170431152, 0.1377004236, -0.1114259735, -0.1099561155, -1.1974101067, -0.4462426305, -0.8034751415, -0.6148309708, -0.1032086536, -0.9542834759, 0.4747193754, -0.4902750254, -0.2227602452, -0.0540579706, -0.4382035434, -0.4942642748, 0.3635693491, 0.572506249, 0.9987416267, -0.7743037939, 1.0191489458, 0.9184668064, -0.1883346736, -0.440151602, 0.4260473847, 0.2857449353, -0.931021452, 0.3836099803, 0.2693428397, -0.5132072568, -0.195910722, -0.8895266652, -0.8031591773, 1.2599234581, -0.0284143426, -0.5816448927, -0.043790631, 0.107022807, 0.6619033217, -0.7425398827, -0.071597591, 0.4331805706, 0.5148694515, 0.1675103605, -0.3639576733, 0.074056074, -0.0510036834, 0.2275332808, 0.1644336134, -0.8538777232, 0.727512002, -0.2077659965, -0.1817946285, -0.2006242126, 0.9465498924, -0.253341198, 0.4504529834, 0.4004863501, 0.4534126818, 0.4502376318, -0.0512879081, 0.6615521312, -0.327575475, 0.3514256477, 0.9060260653, -0.2708462477, 0.9482483268, 0.7162107229, 0.309646368, 0.7427800894, 0.2182938159, -0.009500768, 0.5936552882, 0.0894066989, -0.2468055636, -0.2021013647, 0.1217200682, -0.2480900288, 0.4068679512, 0.1960981041, -0.2429711223, -0.2279887199, 0.3357497156, 0.3486049175, 0.4395338893, -0.3438406885, 0.5012041926, 0.1687394828, -0.6834965348, 0.1529328972, 0.3277226388, 0.8202691078, -0.5517977476, -0.1308187097, -0.2870668769, 0.4651232362, -0.3989774585, -1.0095646381, 0.9180546403, -0.114476487, -0.6442015171, -1.1399365664, 0.7571392059, -0.5197510719, -0.2852866948, 0.2911484241, 0.3476926684, -0.294650197, 0.0499459393, -0.5802547932, 0.1909390092, 0.2761781514, -0.4895779788, 0.5063131452, 0.4885609448, -0.1975189149, 0.3742922246, 0.5197933912, -0.3704943955, -0.0572916195, 0.0905795917, 0.9114907384, -0.876543045, -0.1753810197, -0.5420702696, 0.3372218311, 0.1953659654, -0.8687626123, 0.7878180146, 0.3509063721, 1.019982338, -0.1951375753, 0.5584183335, -0.3839495182, 0.3164555728, -0.5923176408, 0.614836812, -0.4723893106, 0.1007292867, -0.0968436971, -0.7761587501, -0.4079675972, 0.5612553358, -0.3921889365, -0.5065475106, 0.5003321767, 0.9455413818, 0.0516167879, 0.5456461906, 0.3827546537, 0.4889310002, 0.3085638881, 0.1145529225, 0.7975016832, -0.2074921578, 0.6131352782, -0.3188948631, -0.3995610774, -0.1311875731, -0.9532421827, -0.4128490388, -0.7638315558, -0.5529789329, -0.4333605468, -0.1717186123, 0.975276053, 0.5106287599, -0.8146123886, -0.1803590804, -0.1282899529, 0.0205322411, -0.2326617241, -0.3497104347, -0.4001525044, -0.2711781263, -0.525596559, 0.4939305484, 0.1731814742, -0.2793330848, -0.1845899969, 0.3643254042, 0.0202106331, 0.3801085353, 0.8180318475, 0.2296213806, -0.3999860287, -0.8790082932, 0.1422893256, -0.1663450897, 0.4267810285, 1.1071529388, -0.7559002638, 0.5888920426, 0.3804064095, 0.2504857183, 0.7583221197, 0.2332115918, 0.5024080276, -0.6629772186, 0.1232491508, 0.099451609, 0.1896377802, 0.3616105616, -0.1582512259, 0.3296626508, 0.7185972333, -0.6448756456, -0.5360130072, 0.596547842, -0.9657155275, -0.3355468214, 1.001920104, 0.2733353376, -0.3134253323, 0.0492829718, -0.5917636752, -0.0160985738, -0.2274754047, 0.7709407806, 0.8609970212, -0.7680978179, -0.037953496, -0.6002358198, 0.3729623258, 0.2906264067, -0.6926711798, 0.1946298033, 0.6486654878, 0.6914015412, 0.1917511076, 0.4220475554, -0.243204847, -0.2827652693, -0.0164265689, 0.0946900994, 0.2467610687, -0.3117908835, -0.4598876238, 0.123556301, -0.1314600408, -0.061808724 ]
http://arxiv.org/abs/2407.02631v1
http://arxiv.org/pdf/2407.02631v1
Nollywood: Let's Go to the Movies!
2024-07-02T19:50:55
2024-07-02T19:50:55
John E. Ortega, Ibrahim Said Ahmad, William Chen
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Nollywood, based on the idea of Bollywood from India, is a series of outstanding movies that originate from Nigeria. Unfortunately, while the movies are in English, they are hard to understand for many native speakers due to the dialect of English that is spoken. In this article, we accomplish two goals: (1) create a phonetic sub-title model that is able to translate Nigerian English speech to American English and (2) use the most advanced toxicity detectors to discover how toxic the speech is. Our aim is to highlight the text in these videos which is often times ignored for lack of dialectal understanding due the fact that many people in Nigeria speak a native language like Hausa at home.
[ -0.1776034087, -0.661162436, 0.3252411187, -0.1646322459, -0.4698937535, 0.1475484222, 0.0807777345, -0.2535839975, 0.3832985461, 0.8007799387, -0.8615900278, -0.1887126565, -0.6595042944, 0.31494385, -0.3911314309, 1.1912623644, 0.01793731, 0.0051119202, 0.1212744042, -0.054956574, 0.0245259777, -0.3153984845, -0.5656120777, -0.0802029446, 0.6368842721, 0.2555673718, 1.0734854937, 0.5381331444, 0.2761515379, 0.1962142587, -0.1758727729, -0.0506770015, -0.7150202394, 0.0605989061, -0.5928789973, -0.4974864125, -0.0538038462, -0.1297269762, 0.2116290033, 0.4987587929, -0.0934619382, 0.1392264217, -0.3099159598, 0.4432405233, -0.6039171815, -0.0258108936, -0.6402875185, 0.3691549897, -0.2682488561, -0.1116053313, -0.1068512201, -0.2243712246, 0.0113934092, -0.74524647, 0.1346726418, -0.1738207191, 1.1440916061, 0.2015359104, -0.6057642698, -0.3223182261, -0.5326619744, 0.9312714338, -0.6643827558, 0.4520535171, 0.5308263898, 0.375528872, -0.2498467118, -0.5955225229, -0.5049510002, -0.297455132, 0.0906209648, 0.0995249972, -0.0501395762, -0.0991698503, -0.0812158957, 0.6290950775, -0.4695600569, 0.1989811957, -0.6645069718, -0.3901997507, 0.9315604568, -0.082719788, 0.6562097669, -0.3397991657, -0.3401015699, 0.1428342611, -0.5187391639, -0.1208301857, 0.3037755787, 0.5650346279, -0.1812900901, 0.4673897028, -0.0639945492, 0.375554204, -0.1457879841, -0.5633365512, -0.1532054693, -0.3967210054, -0.1857984662, 0.3667073548, 0.7659505606, 0.5175649524, 0.4190157652, -0.2463256568, 0.2447064668, 0.2655033469, 0.0104865776, -0.9796347618, -0.08345256, 0.2630743384, -0.4369777441, -0.3726556897, -0.8879029751, -0.8495985866, -0.5342673659, 0.3550283313, 0.8714835644, -0.4413357973, -0.4922837019, -0.174062103, -0.1539508551, 0.1781645715, 0.017923139, -1.0570077896, 0.0589873828, 0.1827363372, 0.4608142376, 0.2382454276, -0.0950772539, -0.5182525516, 0.2757417262, -0.3819080591, 0.7425227165, -0.3956837058, -0.6996003389, 0.0118800672, -0.0581023656, -0.1295546144, -0.4177056253, 0.6752826571, -0.3140341938, 0.349737823, -0.0089830533, -0.0174287576, -0.3512126505, 0.1223217249, -0.4741774797, 0.2188530415, 0.1691732109, -0.3194918334, 0.2449659407, -0.332865119, -0.7953826785, -0.1013187319, -0.0295705367, -0.0905429646, 0.0192338061, 0.4417057633, 0.1309560984, -0.3793673217, 0.3936076462, 0.0055764541, -0.4159883857, 0.2453137636, -0.3203719258, 0.8964051008, 0.6134061217, -0.2789939642, -0.2123886198, -0.5094919205, -0.2361175418, -0.1056235656, -0.0858162791, -0.0707868114, 0.3211400211, 0.1090308204, 0.3316396177, 0.141040951, -0.5295199156, -0.4293963015, -0.2884701192, 0.5317891836, 0.5148611069, 0.1931250244, 0.3381530643, -0.2618659735, 0.560751617, -0.0709125325, 0.2806055248, -0.1450871378, -0.2753048837, -0.7674476504, -0.0098057399, 0.0541626252, 0.792037487, -0.5164205432, -0.2331582308, -0.093207635, -0.4047167897, -0.3370369971, 0.1727503985, 0.0453802161, 0.5218425393, 0.4600927234, -0.2933274209, -0.6572563648, -0.8420355916, -0.5979107022, -0.4219851792, 0.0527810007, 0.3995068669, 0.3046078086, -0.1043219417, 0.3541436791, -0.044437021, -0.7656196356, -0.3933647871, -0.4331269562, 0.5915157199, -0.0618812405, 0.120792985, -0.8276168108, -0.7417936325, 0.3142944276, -1.0601238012, 0.1486535966, 0.0530772135, -0.0129567571, -0.0861049369, 0.7347841859, -0.0127456235, 0.1844359338, 0.4130374193, -0.1106584966, 0.1898644567, 0.1878066808, 0.1608213335, -1.144542098, -0.4689016938, -0.1565196663, -0.0671467856, -0.3730854988, 0.2972563207, -0.4585329592, -0.6997149587, -0.5543857813, 0.4282470345, -0.3093791604, 0.4175388217, 0.1048582867, 0.4820541739, 0.0975852534, 0.2697486281, 0.3311903775, 0.7491268516, 0.7769057751, -0.7667235136, 0.5563667417, 0.4116153121, -0.1083664075, 1.0065886974, -0.1896539479, -0.363283962, -0.3992735744, 0.0092308354, -1.071241498, -0.5172056556, -0.1226024777, -0.3799455762, 0.3421815336, -0.1416516304, 0.164877668, -0.1566674262, 0.0214978233, -0.3222623765, 0.5324474573, -0.4209244549, 0.427241534, 0.6798714995, -0.3850751519, -0.6867728233, -0.6371712089, 0.2484699786, -0.5297350287, -0.5354642272, 0.1769727021, 0.3501825035, -0.1807416528, -0.0607191436, -0.330203414, -0.7254689336, -0.1204242483, 0.1971795857, 0.0187312569, -0.5423635244, -0.0724010691, 0.2043289095, 0.3952074051, 0.0740201101, 0.1294807047, 0.0049016741, 0.3620782793, 0.5885391235, -0.3918359578, 0.7737913132, 0.6111867428, -0.3207589984, 0.5495230556, 0.5599356294, -0.1902924329, -0.1480689496, -0.0828135014, -0.1685566157, -0.4956131876, 0.6730239987, -0.3794368207, -0.6517851949, 0.2343520671, -0.029203495, -0.1577811241, 0.3478164077, 0.1066287383, -0.4482247531, 0.6131338477, 0.6110244393, 0.0375889167, 0.10764575, -0.2177818418, 0.543823123, -0.5481431484, -0.164417088, -0.445571512, -0.3617880642, -0.7952586412, -0.2517072856, 0.3617519736, 0.1627972126, -0.2269403785, 0.7025704384, -0.0455425978, 0.6590040326, -0.1025896147, 0.1333848834, 0.3608588874, 0.3246783018, -0.0710852966, -0.1417862475, -0.492498517, -0.5930565, 0.816932261, 0.3170203567, 0.809294641, 0.5302249789, 0.8669376373, 0.042025052, 0.5232152343, -0.6734535098, 0.810139358, -0.7884652615, -1.0870335102, -0.3655312657, 0.0363135748, -1.0630207062, 0.003981533, -0.0762576908, -0.8552972078, 0.3203084767, -0.1803237349, -0.5281023383, 0.4941640198, -0.5340244174, 1.1546820402, -0.1221262664, -0.7819496989, -0.1957994848, -0.4924593866, 0.4488696456, 0.1515515149, 0.946767211, -0.1031610966, -0.0198014081, 0.7316879034, -0.3638576269, 0.560338974, 0.1860910356, -0.297581315, 0.6284427643, 0.3119075894, 0.1009311303, 0.0882620141, -0.3862810135, 0.2362231463, -0.1899441779, -0.2096673548, -0.0751835555, 0.9615497589, -0.6648683548, -0.4046818614, -0.4985601306, -0.4070955515, -0.1514557004, 0.2136938423, 0.5787522197, 0.4184120595, -0.3325893283, 0.0041254382, 0.429979682, -0.4003791809, 0.6329369545, 0.3822887838, -0.4305033088, -0.503654182, 1.1426932812, 0.4063334763, 0.078483507, 0.3945478499, -0.0621641316, -1.0358071327, -0.4543806911, -0.7290978432, 0.3223622739, -0.5666810274, 0.2152689695, -0.456749469, -0.1445017308, -0.3496260643, -0.1015743539, -0.1890336275, -0.2200193107, -0.1242476404, -0.3423624039, 0.3286053538, 0.6386927366, -0.1750156432, 0.4598168731, -0.9062049985, 0.5751481056, 0.7474502921, 0.3767268062, -0.4286241531, -0.8839636445, -0.1346214414, -0.0953593925, -0.7065586448, -1.1678472757, 0.4342924356, 0.6365972757, 0.4418618381, 0.1650091857, 0.0951756909, 0.7442389727, -0.3305658996, 1.0457661152, -0.113714315, -0.5911020041, 0.7541698813, -0.6546707153, -0.2379119247, 0.7127921581, 0.9301266074, -0.5246178508, -0.2696133256, -0.6051789522, -0.7852564454, 0.6647872925, 0.3926362991, 0.6474821568, -0.2274892777, -0.2439857274, -0.0828961432, 0.3604433239, -0.8100507855, -0.2960484326, -0.2243783623, 0.2591320276, -0.3960609436, -0.0898133665, 0.299151957, 0.1147305369, 0.6919943094, 0.5078980923, -0.0087738335, 0.2761112154, -0.2190296054, -0.4212177694, 0.7378804684, 0.0834740251, 0.3110037744, -0.5991614461, -0.0971261263, -0.0790231377, -0.7017431855, 0.3657213748, -0.1651631445, -0.3719092906, 0.3875072598, 0.1070409641, 0.7946317196, 0.0848387927, -0.7894442677, 0.0375180356, 0.301897049, -0.0151377022, -0.4036820233, 0.1967211366, 0.0670754686, -0.1203642786, 0.3691572249, -0.1288098544, 0.3002175093, -1.3310636282, 0.3143314123, 0.3520124257, -0.680414319, 0.1552405655, 1.0843129158, 0.6850323081, -0.5741606355, 0.5592517853, -0.1779972166, -0.4281883836, 0.5615262389, 0.7582202554, 0.6715088487, -0.7030379176, 0.5491423011, 0.8854306936, 0.4147062302, 0.2892656624, 0.3498072624, -0.0468122475, -0.7001143694, -0.7732762694, -0.9213082194, -0.3614699244, 0.4830029905, -0.6100741029, 0.3229884803, -0.6320253611, 0.0678134114, 0.0146360956, -0.287515372, 0.0776037797, 0.59327811, 0.4982026219, 0.7813535333, -1.0555803776, 0.6633260846, 0.544876039, -0.3814445436, -0.9997532964, -0.032403376, -0.2024368644, -0.3972025216, 0.5738335848, 0.4436610937, 0.1904829443, 0.3793306649, -0.145498395, -0.7427529097, 0.4778858423, 0.0711507797, -0.262133956, 0.0398483314, -0.0354771912, 0.509419322, -0.1891099811, 0.2395604849, 0.8094518781, 0.3014938533, 0.0525618643, -1.2552933693, -0.3706917763, -0.2917555869, -0.2454355359, 0.3726347983, -0.5361658335, 0.7708301544, -0.5706673861, -0.2824272811, 0.1515499204, 0.6912763715, 0.0141329858, 0.3951894641, 0.1960813701, 0.2390251458, 0.4546885192, 0.0434902646, 1.2085366249, 0.2960106432, 0.172350198, 1.0479164124, -0.351659894, 1.0499218702, 0.5777826905, -0.7156550288, 1.1342846155, 0.7065268159, 0.4595370591, 0.5571470261, 0.2319586575, -0.5331730843, -0.4224173725, -0.7020492554, -0.312574178, 0.6252599955, 0.6667642593, -0.2971009016, -0.6412760019, -0.0247224588, -0.0974534675, 0.7327794433, -0.788685739, 0.4518768489, 0.2516004443, -0.5788111687, 1.0940951109, -0.2958553731, 0.7392549515, -0.7003669143, -0.0077476362, -0.4141431451, -0.2279463857, -0.2806754708, -0.4495763481, 0.6089611053, 0.0094666323, -0.032992065, 0.0315661989, 0.3229136467, -0.6313850284, -0.3480762541, 0.2315603048, -0.1322118789, 0.8632568717, -0.042612765, -0.6194817424, -0.2101512998, 0.3466346562, 0.2030115277, 0.2248840779, -0.0549114645, -0.1737069935, 0.3222520053, 0.493763119, 0.0818810388, 0.2244673073, -0.3065519631, 0.018927658, -0.5200436115, -0.4342046082, -0.8368762136, 0.5307682753, -0.0613677651, -0.1421306729, 0.6923758388, 0.4992128909, 0.8007230163, -0.4793058038, 0.6931633949, -0.3386710286, 0.4596530795, -0.4136181474, 0.8267068267, -0.762221992, 0.0644801483, -0.1631261855, -1.1725513935, -0.1361109763, 0.936701417, -0.1397865117, -0.237281993, 0.7688153982, 1.0130645037, -0.0382732637, -0.0555268452, 0.4891428649, 0.687754333, -0.1956988722, 0.7798115015, 0.7543072701, -0.9506601095, 0.8393312693, -0.451528877, -0.0691870749, -0.1064449921, -1.0114262104, -0.5931321979, -0.1669179797, -0.5063866973, -0.6161722541, -0.1065085307, 0.3713549376, 0.4175772667, -0.8485139012, -0.5623157024, 0.0438101366, 0.4886803627, -0.0283207428, -0.1846800894, 0.1308247894, 0.2200017124, -1.0626645088, 0.9862727523, 0.4195537269, 0.0411717072, -0.2009164393, 0.0726605952, -0.2969180048, 0.3720792532, 0.5885775089, 0.6003912687, -0.8011435866, 0.0223670993, 0.0015879645, -0.0757056922, -0.437633872, 0.0796581507, -0.5600386858, 0.4201682806, 0.3278209269, -0.0434468687, 0.3435878158, -0.3559115827, 0.6858446002, -0.5263251066, 0.3167343736, -0.054665193, 0.0562160723, 0.4660822749, -0.6366742849, 0.554538846, 0.185768351, -0.3812846839, -1.0222512484, 0.4241927862, -0.9950495958, -0.0653933883, 0.8712330461, 0.1082196683, -0.6150678396, -0.4483599961, -0.2861852646, 0.1182479709, -0.0811802149, 0.4019247293, 0.5738432407, -0.0730427057, -0.2297934443, -0.670497179, 0.4944752753, 0.4012887776, -0.2610874474, -0.2827060819, 0.2165763676, 0.685288012, 0.5367375612, 0.7231447697, -0.4894833267, 0.3876008689, 0.0870331228, -0.1437680423, 0.3003786802, -0.2055575997, -0.0533935018, -0.0231858529, 0.1479875743, -0.3010426164 ]
http://arxiv.org/abs/2407.02623v1
http://arxiv.org/pdf/2407.02623v1
Uplifting Lower-Income Data: Strategies for Socioeconomic Perspective Shifts in Vision-Language Models
2024-07-02T19:27:00
2024-07-02T19:27:00
Joan Nwatu, Oana Ignat, Rada Mihalcea
cs.CY
cs.CY, cs.AI, cs.CL, cs.CV, K.4; I.2.7; I.2.8
To address this issue, we formulate translated non-English, geographic, and socioeconomic integrated prompts and evaluate their impact on VL model performance for data from different countries and income groups. Our findings show that geographic and socioeconomic integrated prompts improve VL performance on lower-income data and favor the retrieval of topic appearances commonly found in data from low-income households. From our analyses, we identify and highlight contexts where these strategies yield the most improvements. Our model analysis code is publicly available at https://github.com/Anniejoan/Uplifting-Lower-income-data .
[ -0.0561432019, -0.5253459215, 0.7090953588, 0.2730294466, -0.3127001524, 0.3759528399, -0.234191969, -0.567483604, 0.2996701598, 0.56131953, -0.4523666501, -0.5695300698, -0.5777068138, -0.0041087065, -0.3301227391, 0.9627338052, 0.2844745815, 0.275067538, -0.4357163012, 0.1648505479, -0.4368906021, -0.3800548315, -0.4932250381, -0.1329184175, 0.3991802335, 0.8409368992, 0.7570853829, 0.5266879201, 0.5046541691, 0.1372469962, -0.114694953, -0.0565137789, -0.5512890816, -0.3525578082, -0.0315913148, -0.489601016, -0.2461234033, -0.2744576633, 0.3563909531, 0.8975676298, -0.142528519, 0.6377021074, 0.3730820119, 1.0295192003, -0.7687860131, 0.331762284, -0.4881196022, -0.1048170179, -0.4202253819, -0.097437039, -0.2788752019, -0.5492787361, 0.2179158926, -0.0890176371, 0.2693703771, -0.165723294, 0.7968883514, 0.2209189832, -0.4600954652, 0.0173101164, -0.8521798253, 0.8035293818, -0.558434844, 0.3914812803, 0.2328356504, 0.1831370294, 0.2848189175, -0.5682728887, -0.0644237176, -0.0985882357, -0.074467063, 0.336368382, -0.2427819073, -0.3342585564, 0.2359322906, 0.3597176671, -0.1652894318, -0.0027433871, -0.9126427174, 0.1442548633, 0.6443310976, 0.3369648755, 0.1412998289, -0.6319517493, -0.2704350352, -0.1766838282, -1.0555785894, 0.6350421906, 0.4433827996, 0.7555572391, -0.7488254309, 0.7362557054, -0.5810673237, 0.6223797202, -0.1944313049, -0.1215445176, 0.4502871931, -0.6371304393, -0.0189241879, 0.1553539336, -0.0961327553, 0.9309883714, 0.2332244366, 0.3150226474, -0.2930193245, 0.1243433207, 0.0713419169, -0.4127140939, -0.2108835727, -0.2231320292, -0.8713834286, -0.5477892756, -0.2288154811, -1.2212414742, -0.7005172968, -0.7784829736, -0.0333691575, 0.0005378678, -0.0695989504, 0.1273500025, -0.1625077575, 0.3383518159, 0.7000694275, -0.854577601, 0.1978966594, 0.4947896898, 0.9615449905, 0.0762921795, 0.2737617791, -0.3472192585, -0.3597573936, -0.2013565302, 0.894387424, -0.7926410437, -0.4254344106, 0.2720332444, -0.0476556569, -0.0843983516, -0.5006681085, 0.2907009125, -0.2178235799, 0.359212935, -0.8661907315, 0.1639087349, 0.1846562326, 0.1124887243, -0.4770156443, 1.3173133135, 0.3423222899, -0.7730454803, 0.4557811916, -0.6816750169, -0.3576484919, 0.026782101, -0.1763969213, -0.0113896839, 0.6040854454, 0.4965666533, 0.0899997652, -0.5030183196, 0.2234583944, -0.1706180722, -0.0689026937, -0.1465745121, -0.6621651649, 1.0154472589, 0.3137332797, -0.2387477756, 0.1240276694, -0.8942952156, -0.2835740745, 0.1716905832, -0.2872307897, -0.7424042225, 0.2744548321, 0.1887639314, 0.1104760021, 0.5136192441, -0.4592379332, 0.3338089287, -0.5351788998, 0.3204911053, 0.7090649605, -0.082493104, 0.3128607869, -0.091426298, 0.6550981998, 0.2211250514, 0.524235785, 0.2218411118, -0.5862472057, -0.6504738927, -0.0393313095, 0.3293378055, 0.7487193942, -1.0756292343, -0.5094922185, -0.2976512015, -0.2850650549, -0.7624666691, 0.0591542087, 0.2182315886, 1.0423306227, 0.5960938334, -0.087511152, -0.781314373, -1.0249303579, -0.1299136728, -0.1732820421, 0.2006682158, 0.3559980989, 0.433218658, 0.0323820449, 0.7881240249, -0.6309107542, 0.0398409218, -0.508764863, -0.1097071543, 0.352347225, 0.2075008452, 0.7834831476, -0.9781168103, -0.6712536216, -0.1339716017, -0.3778969347, -0.4082234502, 0.2078582942, -0.1644662321, 0.1648523659, 0.294025898, -0.2562091947, 0.9797958136, 0.4264004529, -0.4572333395, 0.3096249998, -0.1748126894, 0.2465684563, -1.2675520182, -0.5055170655, 0.3115544915, -0.1653449982, -0.4175474942, -0.2747208774, 0.0026201038, -0.175838396, -0.5797196627, 0.3489806056, -0.3565633893, -0.3826054037, 0.1690925807, 0.1361663342, -0.1120273992, -0.0937773511, 0.3039335907, 0.8265047073, 0.6864297986, -0.2828699648, 0.2286015004, 0.0696762949, -0.4940879047, 0.6833920479, -0.7442641854, -0.309995681, -0.4319329262, -0.3452334702, -1.0240426064, -0.2467049956, 0.347353369, -0.2424364537, -0.0007144097, -0.1559969336, -0.314353615, -0.3050347567, -0.3598875403, 0.2357627153, 0.6717845798, -0.6393249631, 0.0653333068, 0.4581695497, -0.3276872337, -0.497325778, -0.5274942517, 0.1747930497, -0.7489852905, -0.3566687107, 0.2746773958, 0.0498037674, -0.7082196474, 0.2609446645, 0.3249143362, 0.248971507, 0.2087787092, -0.3026046455, 0.534724474, -0.4014121294, 0.0281517562, -0.0397573747, -0.0301858503, -0.013588001, -0.3292589188, 0.4579791427, -0.1187522635, -0.0402277969, -0.0317573659, 0.4171877205, 0.2866940796, -0.307415396, 0.7503823638, 0.0391222388, -0.4488871694, 0.1970654279, -0.1328772753, 0.0551857799, -0.4390104711, 0.2531090379, -0.1558070779, -0.583242178, 0.4663127065, -0.0755412653, -0.3494535387, 0.1540070921, 0.6845489144, -0.0410492681, 1.3460931778, 1.0605723858, -0.1841222346, 0.6823451519, -0.1020495296, 0.2766429484, -0.6952652335, -0.1632814407, -0.6428617835, -0.3290171027, -0.5448071957, -0.4699600339, 0.5745408535, 0.1153079569, 0.0172752291, 0.1414532214, -0.5032300353, 0.5263532996, 0.4722460508, 0.1644086093, 0.3401147127, 0.2685278654, 0.1033501029, -0.4871455729, -0.5080814362, -0.5188519955, 1.1083184481, 0.1809166819, 0.8148229122, 0.3579582572, 0.8802611232, 0.5055235624, 0.4121648967, -0.6719651222, 0.386811763, -0.3084369004, -0.2226979285, -0.2374844998, -0.2466068715, -0.8596288562, 0.1925534159, -0.2358346134, -1.1834340096, 0.818395257, 0.1542552561, -0.3673695922, -0.0206787866, -0.6695691943, 0.7228368521, -0.3482492268, -0.3335339725, -0.1266779304, -0.4527871013, 0.2518350482, 0.126862511, 0.5782057047, -0.1065429822, 0.1266887039, 0.0912707895, -0.3578632176, 1.1261291504, -0.517550528, -0.1941824853, 0.0051016989, -0.5118718147, 0.2651958168, 0.2957062423, -0.1414667666, 0.1058805287, -0.0917157531, -0.5113527775, -0.498523891, 0.4220545292, -0.7776050568, -0.6500362158, -0.1110003367, -0.4984943867, -0.1288633347, 0.0464923084, 0.4063447416, 0.7469543219, 0.0509092845, 0.6128969789, 0.4469164014, -0.207223773, 0.3161856532, 0.3988726437, -0.3842396438, -0.344054848, 0.6634423137, 0.4413334429, 0.2923013568, 0.3041010499, 0.2996232212, -0.4278858602, -0.3618369401, -0.5903304815, 0.001441778, -0.8514717817, -0.1268835366, -0.2700633109, 0.1401907802, -0.8958010077, -0.2861496806, -0.3920221329, -0.3614384234, -0.1891673058, -0.330209285, 0.2765544653, 0.5934116244, -0.3727328479, 0.1712802202, -0.5387163162, 0.2605021596, -0.1121392101, -0.1662594378, -0.1011295989, -0.4366669357, -0.6679064631, 0.1569408029, 0.0282546133, -0.9678027034, 0.6798659563, -0.1059452221, 0.2861853838, 0.0564273708, 0.3867436647, 1.0912224054, -0.3013763428, 0.8041654825, 0.1061818749, -0.9388118386, 0.9973746538, -0.2552493215, 0.3012384474, 0.7468833923, 0.3791167736, -0.4320175052, -0.2406673878, -0.3479276001, -1.2351360321, 0.6003810763, -0.1153014377, 0.2706453502, 0.1524722129, 0.3615184426, -0.048796583, 0.5318194628, -0.9279126525, -0.3244009912, -0.2512712777, -0.4200717509, -0.1372020394, -0.2602460384, -0.131384328, -0.6457137465, 0.2869517803, -0.2835364938, -0.0321094692, 0.408129245, -0.0049601053, -0.1206053346, 0.2748921812, 0.4226890206, 0.7452630401, -0.0369479768, 0.0805534497, 0.0589450113, -0.2296416163, -0.080938071, 0.151776582, -0.6632481217, -0.220769316, 0.4067912102, 1.015345335, 0.5491870642, -0.3392551243, 0.2856020927, -0.3440631032, 0.0525822155, -0.5039128065, 0.0115015423, -0.098254703, 0.4934751987, 0.2665917277, 0.1286930144, 0.3049963713, -0.8299806714, -0.2427362353, 0.1580713987, -0.5890824795, -0.3557399213, 0.7811335921, 0.0999606028, -0.3008666933, 0.655244112, 0.1122244895, -0.27363801, 0.5906172395, 0.5646377802, 0.6368527412, 0.0623825081, 0.6942250133, 0.0790127292, 0.489964664, 0.0180417951, 0.6593322754, -0.2645037174, -0.8992577791, -0.1997599304, -0.5618920922, -0.3610911369, -0.0982204676, -1.121134758, 0.5673158765, -0.0276015345, -0.0376457274, -0.0390607342, -0.0784059763, -0.8498668075, 0.2593096495, 0.4764972627, 0.8371966481, -1.1806447506, 0.9149451852, 1.1061736345, -0.5894404054, -0.6473228931, 0.2023667842, 0.2407811135, -0.8460181355, 1.0223315954, 0.022026265, -0.2081524581, 0.1912607849, -0.7650617957, -1.1596982479, 0.9330867529, 0.4653533995, -0.3418526947, -0.1121049523, 0.4690136015, 0.7731685638, -0.732996583, -0.0245478544, 0.5605154037, 0.5533409119, -0.1619466394, -0.6211926937, -0.2887372375, -0.3775074482, 0.3450588882, -0.1096914187, -0.761869669, 1.0767624378, -0.4024302661, -0.2498952448, -0.1055698097, 0.6055805683, 0.1357878447, 0.7102999687, 0.4775826931, 0.3920715451, 0.7497079968, -0.1384776533, 1.3938205242, -0.4906648695, 0.4894570112, 0.8179734945, -0.5224556923, 0.7407229543, 0.4343447983, -0.1658708155, 0.684864223, 0.8486639857, 0.0051403786, 0.9679338336, -0.1067652702, -0.0356203504, -0.3305540383, -0.3534710109, -0.4693726003, 0.670380652, 0.2851348221, -0.2687087357, -0.3560270667, 0.1737341732, -0.230802238, 0.227218315, -0.5382612944, 0.6031569839, 0.0905417055, -0.32460168, 0.3528121412, -0.2755203545, 0.4292116761, -0.1658385545, -0.2277260125, -0.4764945209, 0.2737104893, -0.2463921905, -0.5374329686, 0.5667128563, 0.1797917038, -0.5783735514, -0.376167506, 0.9698412418, -0.2962898016, -0.8658511043, 0.5745140314, 0.8150961995, -0.0213695038, 0.3256343901, -0.9139047265, -0.0556516387, 0.225372076, -0.2866822481, 0.4506125152, 0.539372623, -0.3407438397, 0.3619863987, 0.6216853857, 0.3420499563, -0.0910716802, 0.4761624038, 0.7412241697, -0.7919733524, -0.4962443411, -0.7794206142, 0.8892272115, -0.3336833119, -0.3336770535, 1.0796896219, 0.5902745724, 1.0927203894, -0.2405362874, 0.7407022119, -0.1639342755, 0.5893335342, -0.6508125067, 0.3853354454, -0.9803769588, 0.473030448, -0.3507598341, -0.7563236356, -0.0898381546, 0.4858398438, -0.6925128698, -0.1514168084, 0.2697776556, 0.5959332585, 0.2240703255, -0.1452113688, 0.368537426, 0.0590993352, 0.1464105994, 0.1609692574, 1.0536768436, -0.1081634164, 0.1670901179, -0.5962315798, -0.206441775, -0.1908714175, -0.9378251433, -0.5233744979, -0.2949482203, -0.4873994887, -0.2944166362, 0.0321500376, 0.7665415406, 0.5721136928, -0.7147859931, -0.3128405213, 0.0865135267, 0.3992486894, -0.1937715709, -0.3897741735, 0.2148675323, -0.1567559242, -0.9116356969, 0.4644400179, 0.5076381564, -0.3022488952, -0.3710817993, 0.2605830133, 0.0572527573, 0.0107655702, 0.8619489074, 0.0817617476, -0.4446053207, -0.4850985706, 0.0928489566, 0.0066908486, 0.2453280538, 0.8042904735, -0.7774710059, 0.1598667204, 0.6292681098, 0.3900678754, 0.1015310436, 0.3649742901, 0.5139644146, -0.8260866404, 0.237432763, -0.1978660226, 0.5439088941, 0.4166173339, -0.8496015072, 0.6940547824, 0.5667262673, -0.3798754513, -1.0409539938, 0.3038607836, -0.4964847565, -0.042550303, 0.8594620228, 0.0671400353, -0.4159517884, -0.1368939131, -0.2323482186, -0.0009856487, -0.3755348623, 1.064002037, 0.6171367764, -0.3854133785, -0.6143024564, -0.8802710176, 0.2539675236, 0.2976357341, -0.8190228939, 0.0854453668, 0.8225144148, -0.0462002754, 0.0599330775, 0.7488257289, -0.376571089, 0.0145181064, -0.1616065651, -0.1232215911, 0.4368652999, -0.5252625346, -0.4628917873, -0.0116242077, -0.0259231068, 0.1690469235 ]
http://arxiv.org/abs/2407.02604v1
http://arxiv.org/pdf/2407.02604v1
D-Rax: Domain-specific Radiologic assistant leveraging multi-modal data and eXpert model predictions
2024-07-02T18:43:10
2024-07-02T18:43:10
Hareem Nisar, Syed Muhammad Anwar, Zhifan Jiang, Abhijeet Parida, Vishwesh Nath, Holger R. Roth, Marius George Linguraru
cs.AI
cs.AI, cs.CL, cs.LG, eess.IV
Large vision language models (VLMs) have progressed incredibly from research to applicability for general-purpose use cases. LLaVA-Med, a pioneering large language and vision assistant for biomedicine, can perform multi-modal biomedical image and data analysis to provide a natural language interface for radiologists. While it is highly generalizable and works with multi-modal data, it is currently limited by well-known challenges that exist in the large language model space. Hallucinations and imprecision in responses can lead to misdiagnosis which currently hinder the clinical adaptability of VLMs. To create precise, user-friendly models in healthcare, we propose D-Rax -- a domain-specific, conversational, radiologic assistance tool that can be used to gain insights about a particular radiologic image. In this study, we enhance the conversational analysis of chest X-ray (CXR) images to support radiological reporting, offering comprehensive insights from medical imaging and aiding in the formulation of accurate diagnosis. D-Rax is achieved by fine-tuning the LLaVA-Med architecture on our curated enhanced instruction-following data, comprising of images, instructions, as well as disease diagnosis and demographic predictions derived from MIMIC-CXR imaging data, CXR-related visual question answer (VQA) pairs, and predictive outcomes from multiple expert AI models. We observe statistically significant improvement in responses when evaluated for both open and close-ended conversations. Leveraging the power of state-of-the-art diagnostic models combined with VLMs, D-Rax empowers clinicians to interact with medical images using natural language, which could potentially streamline their decision-making process, enhance diagnostic accuracy, and conserve their time.
[ -0.3514297307, -0.8188256025, 0.947773695, -0.1403987855, -0.3693914413, 0.1715091765, 0.0524684601, -0.6784350276, 0.2253432423, 0.7122388482, -0.6231135726, -0.4213790298, -0.7633839846, 0.1904369295, -0.1728610396, 0.4729811251, 0.2004694343, 0.1614708155, -0.4925169945, -0.0254728012, -0.8598620296, -0.2670983374, -0.6021142602, -0.3620118201, 0.6522443295, 0.3164224029, 1.2311698198, 0.6548074484, 0.74848634, 0.2844504714, 0.2142877281, 0.4175983071, -0.1701170653, 0.3902191222, 0.0257906392, -0.1292565912, -0.845779717, -0.5743775964, 0.2729511857, 0.5777794719, -0.0869074166, -0.1774786413, -0.4116047621, 0.6751324534, -0.3326499164, 0.4210974276, -0.35100317, -0.0028638754, 0.0420534834, -0.5701153278, -0.3013577461, -0.1395366192, 0.2066964656, -0.6703605056, -0.2808870375, 0.0618628673, 0.6675775051, 0.4488713741, -0.2942996323, -0.2794066668, -0.7477789521, 0.7571398616, -0.4756112695, 0.4849587977, 0.5227203965, 0.6917995811, -0.0361835472, -0.8315585256, -0.4423656762, -0.2190337926, -0.2603034079, 0.3268867731, -0.7214207053, 0.1663544178, 0.0726859123, 0.2951154411, -0.7015852332, 0.0591200031, -0.3127490878, 0.0942924321, 0.7098683715, 0.5876210928, 0.3927457631, -0.0678212941, -0.365899086, -0.1245210543, -0.3894616365, -0.4937592745, -0.539050281, 0.0084796483, -0.1616029888, 0.3489443064, -0.4085043371, 1.0443258286, 0.0443263426, -0.439899981, 0.306020081, -0.0376167186, -0.4153322279, -0.1042645052, 0.557734549, 0.3106524944, -0.0382799543, 0.0741489008, -0.1575194448, 0.1849710494, 0.2013641149, -0.5733616948, -0.1825580001, 0.2913114429, -0.6382651925, -0.4263063967, -0.3843387663, -0.6886893511, -0.5160790086, -0.6137273908, 0.3653898537, -0.3257003129, -0.3319552839, 0.5719719529, 0.2158440799, -0.0195320379, 0.645983994, -0.2235420793, 0.3686585128, 0.2730626464, 0.4747206569, -0.0013705171, 0.1440789253, -0.5888428092, 0.1091980711, -0.1305841058, 0.8944628239, -1.022531867, -0.5766512752, -0.1497008353, -0.0992929786, -0.1039701924, -0.4748044014, 0.264520824, -0.6341760159, -0.0139400605, -0.0285644066, -0.1161057726, -0.2905806899, 0.2777611613, -0.5286667943, 0.6853208542, 0.0548034757, -0.4485038221, 0.0990206376, -0.4496781528, -0.1866056174, 0.3726980686, -0.6781353951, -0.3730316162, 0.0918709338, 0.514677465, 0.5953857899, -0.6755071282, 0.23597458, -0.169020474, 0.0441968367, 0.5755773187, -0.2335144281, 0.3867145777, 0.3100143969, -0.0230298229, 0.0862272382, -0.7549353838, 0.1195623204, 0.2751992345, 0.134152025, -0.4971683621, -0.1927990764, -0.084837243, 0.2596383691, -0.0031549972, -0.5321667194, 0.3082758188, -0.1354417354, -0.065813832, 0.5392205119, 0.0487593785, 0.015671242, -0.5533620715, 0.9271491766, -0.0876728818, 0.5313147306, -0.2395583242, -0.7352677584, -0.4907533228, -0.714015305, 0.0457748063, 0.5669934154, -0.7683438659, -0.0848743767, -0.3776348531, -0.2967167199, -0.4986061156, -0.1181717739, 0.4696729779, 0.6340590119, 0.2758197486, -0.3912878335, -0.5683946609, -1.0137573481, 0.473000735, 0.0728356615, 0.2184426934, 0.7917832136, 0.1189374775, -0.5661792755, 0.6679215431, -0.8935070038, -0.6307147145, -0.3405173421, -0.0763436332, 0.1641361117, 0.0233810879, 0.5269442797, -0.8044260144, -0.5779969692, 0.5026602149, -1.0893168449, -0.0601579212, -0.1261094362, 0.0424633957, -0.0046758456, 0.4269787967, -0.2335573733, 0.7038068771, 0.5951084495, -0.0972657502, 0.2443517745, -0.5124849677, 0.4168165326, -0.9191539884, 0.0058303438, -0.1614081562, -0.2962941527, -0.638125658, -0.0825973749, -0.069271557, -0.1907103211, -0.1742081046, 0.5794779062, -0.5787546635, -0.0816107467, -0.3514703214, -0.0261444859, 0.1406465024, 0.1336905509, 0.5636777878, 0.5445355177, 0.9137151837, -0.4394076169, 0.2750157714, 0.6446837783, -0.1835143119, 0.5667191744, -0.6976688504, 0.5303871036, -0.1110251918, 0.1362095475, -0.7975084186, -0.1845950633, 0.1080482081, -0.5746528506, 0.4973567426, 0.0010217211, -0.157517463, -0.4292601347, 0.0357211456, 0.6337978244, 0.5296226144, -0.2820302248, 0.914254725, 0.404045254, -0.318564415, -0.7031689286, -0.7099264264, 0.5166782737, 0.1409938782, -0.778136909, 0.2999961674, -0.2880710661, -0.538179636, -0.081888698, 0.2334084958, -0.4685381353, -0.2115191966, 0.4113501906, 0.5810685158, -0.2824110091, 0.0967118144, -0.1180293709, -0.3055522144, -0.0768911541, 0.1415582597, 0.2780660391, -0.0814215168, -0.4244288802, -0.5213016868, 0.5156104565, 0.8215579987, -0.1948659569, 0.2152547836, 0.1478893757, -0.2745249271, 0.0199566372, -0.7020304203, -0.2613863051, -0.4122462869, 0.4350426793, -0.4577438235, -0.6115916967, 0.3777283728, 0.0210243687, -0.2690832019, -0.0623488538, 0.6980290413, 0.0757549256, 1.1663705111, 0.6406676173, 0.1608578265, 0.0320801474, -0.1984214485, 0.1987947971, -0.7427451611, -0.4443455935, -0.2577052116, 0.0718622655, -0.0919225961, -0.618077755, 0.8123458624, -0.8102630377, 0.3342975676, -0.2045712471, -0.6741730571, 0.1993548572, 0.1241013184, 0.3939688206, 0.4704521298, 0.1375915259, 0.3111589551, -0.1707802862, -0.7614873052, -0.1979567856, 1.1348143816, 0.307023406, 1.1260559559, -0.0045883078, 0.5574729443, 0.5290510058, 0.0167475473, -0.973958075, 0.4997185469, -0.2132985294, -0.391123414, 0.1763446033, 0.0427962057, -1.0514485836, -0.0782856122, -0.3458445668, -0.353579402, 0.4193221927, 0.1637880802, -0.6554505825, -0.0087034022, -0.2697851658, 0.5066269636, -0.3846554756, -0.3655602932, -0.4900416732, -0.6095752716, 0.3437173963, -0.1456235051, 0.5161724091, 0.0946404412, -0.1330104917, 0.1634322852, -0.259825021, 1.0236414671, 0.0817399696, -0.0229354538, -0.0406746008, 0.2968901396, 0.1356597543, 0.1077173352, 0.182437256, 0.2731125653, -0.000542786, -0.042033311, -0.6767312884, 0.7212287784, -0.8686932921, -0.5631182194, -0.5512679219, -0.7429286838, -0.3293683827, -0.0462328456, -0.1647657007, 0.9800184369, -0.1056154519, 0.0594391227, 0.8129987717, -0.5015931129, -0.1367353201, 0.7266911864, -0.3388599753, -0.4059293568, 0.7501046658, -0.1481062323, 0.2165209055, 0.6389974356, 0.2913347185, -0.0683507621, -0.6640275121, -0.4177589715, 0.2680617869, -0.8099285364, -0.6133648753, -0.7681468725, -0.1579540819, -0.1367461085, -0.4431741834, -0.2288218588, -0.2779478729, -0.0704547614, 0.2536322176, 0.6566377878, 0.9048576951, -0.1714961231, 0.1210256442, -0.8920997977, 0.3192973435, 0.3982794285, 0.0745377243, -0.2214950174, -0.4465153217, -0.1537629515, -0.201529786, 0.1057723016, -0.7859691381, 0.5327947736, 0.2519614697, 0.521039784, 0.1705545485, 0.0680346563, 0.589322269, -0.1499122232, 0.4547695816, 0.3145020604, -0.5514557958, 0.7719640136, -0.3111659884, 0.3003407419, 0.1575317234, 0.0034388718, -0.3098706007, -0.3263359964, -0.3828441203, -0.6234298944, 0.4925872386, -0.0678125098, 0.0066015539, -0.2200476974, 0.4154343009, 0.293598175, -0.2329344302, -0.3256065249, -0.2604158819, 0.017333094, -0.233150214, 0.2204900384, -0.3296377659, -0.377889365, -0.2507247627, 0.4123493433, -0.3294401467, 0.4486924708, 0.4759652615, -0.1480652541, -0.0368148983, 0.2284401953, 0.6786105037, 0.892562747, -0.1345952302, -0.017878795, 0.1233739182, -0.7117077112, -0.1368025392, -0.017377032, 0.2203064412, 0.0490917601, 0.2615719438, 0.698710084, 0.1497433186, -0.882788837, 0.5246124864, -0.4810723662, -0.3174094558, -0.4507958591, -0.0345592052, -0.2018386275, 0.3788344264, 0.3183069229, 0.3460335732, 0.227075845, -0.2376025468, 0.4299080968, 0.3697789907, -0.5030364394, -0.275307864, 0.6192560792, 0.199538812, 0.0586754456, 0.5175510049, 0.4106325209, -0.0186655018, 0.6283981204, 0.3145914674, 0.7467197776, -0.1994231492, 0.2988009751, 0.3686098158, 0.0313534029, 0.187876761, 0.3241013885, 0.0642081127, -0.63707757, -0.4961150885, -0.2628120482, -0.4045813382, 0.0702856928, -0.8621798754, 0.315482378, -0.5628478527, -0.2744734585, 0.2511145771, -0.1516122818, -0.7647888064, 0.5869615078, 0.4225936234, 0.7689802051, -0.5874356031, 1.193628788, 0.6678688526, -0.4777013361, -0.5997315049, -0.3287283182, 0.1216290593, -1.3997833729, 0.9726176262, -0.2386900038, -0.3772185147, -0.1435212493, -0.23353073, -0.8486710191, 1.3000243902, 0.2141323686, -0.6631279588, 0.254373461, -0.0324651003, 0.3898394704, -0.6662474275, 0.3379671872, 0.4279605448, 0.4680887461, 0.4657518268, -1.1437906027, 0.2875733376, -0.1786318719, -0.0379172079, -0.0792155042, -0.2887383103, 0.52630651, -0.4954632819, 0.029095199, 0.1094370782, 0.366792798, -0.0334619209, 0.3618710041, 0.476898402, 0.3974123299, 0.6118023992, 0.1092782468, 1.4011832476, -0.3774002194, -0.1419871747, 0.6952859759, -0.3440367281, 0.6118708253, 0.2749401629, -0.0804235563, 0.5067822933, 0.1573557109, 0.1943158209, 0.5966670513, -0.3750396967, -0.4559646547, -0.5665515065, -0.2857276797, -0.6029502153, 0.6964326501, 0.6614144444, -0.2969142795, -0.0176586732, 0.3317472637, -0.0394829214, 0.1044468209, -0.3153628707, 0.9481905699, 0.1093117669, -0.2633397579, 0.8464720845, -0.4460389912, 0.4931769669, -0.8610005379, -0.206955865, -0.2416674793, 0.4650836587, -0.262447238, -0.7769135833, 0.4853125811, -0.3599832356, -0.1903005689, -0.0529611818, 0.8590616584, -0.191743806, -0.4909028709, 0.2683515847, 0.6679196358, 0.1265248507, 0.1558206081, -0.7488019466, 0.6440094113, 0.1227637157, 0.0731663853, 0.4790126979, 0.0757049248, -0.0625385046, 0.878585875, 0.3350685835, 0.0417100713, -0.5280909538, 0.0737665892, 1.0947418213, -0.3206446171, -0.1165849864, -0.3624877036, 0.5003110766, -0.0414095968, -0.14719823, 0.3247318864, 0.2163504064, 0.2942453027, -0.1164315194, 1.0309563875, 0.0687041357, 0.4772827923, -0.5228495598, 0.4905941486, -0.9092971087, 0.2058772296, -0.1691115946, -0.3331950307, -0.6583681703, 0.6940611005, -0.4072481692, -0.0561706685, 0.7029771805, 1.0137250423, -0.1210625246, -0.2004175633, 0.814345479, 0.3101297021, 0.2416745871, 0.5034956932, 0.6804528832, -0.2025557905, 0.5951408148, -0.1514410228, -0.6202125549, -0.3677718341, -0.6708788276, -0.7402976155, -0.5220780373, -0.7000464201, -0.2116843909, 0.2968746126, 0.7260056734, 0.8343644738, -0.2297642231, -0.0862714499, 0.4203892946, -0.1779304594, -0.20358257, -0.107646808, 0.4667235613, -0.0962052718, -0.4750629663, 0.6345844269, 0.6416139603, -0.0868417472, -0.2576704025, -0.0941959545, 0.2015683055, 0.1746843755, 0.6806911826, 0.3478273153, -0.7773219347, -0.1388045847, 0.3936578631, -0.0574768856, 0.1937203258, 0.6923043728, -1.0408824682, 0.9913457036, 0.0748598427, 0.53304106, 0.3811150491, -0.2956377566, 0.7247569561, -0.3083969057, 0.2245312333, 0.3451960087, 0.217209354, 0.4207939506, -0.5821917057, 0.1833361983, 0.0190580357, -0.5489625335, -0.6392628551, 0.3091562092, -1.4151194096, -0.4111109972, 1.1729432344, -0.0561786741, -0.1915412694, -0.4426046014, -0.6152303219, -0.3389086127, -0.3660269976, 0.665169239, -0.0060091568, -0.4791407287, -0.5160072446, -0.708599329, 0.380640924, 0.2209411114, -0.7523548007, -0.0575483367, 0.7784445882, 0.318829, -0.1082193702, 0.9706535339, -0.2393743098, 0.7138921618, -0.0799729899, 0.0986648798, -0.5186597705, -0.1443243921, -0.270881027, -0.0276833978, 0.2638993263, -0.2686100006 ]
http://arxiv.org/abs/2407.02596v1
http://arxiv.org/pdf/2407.02596v1
Towards More Realistic Extraction Attacks: An Adversarial Perspective
2024-07-02T18:33:49
2024-07-02T18:33:49
Yash More, Prakhar Ganesh, Golnoosh Farnadi
cs.CR
cs.CR, cs.CL, cs.LG
Language models are prone to memorizing large parts of their training data, making them vulnerable to extraction attacks. Existing research on these attacks remains limited in scope, often studying isolated trends rather than the real-world interactions with these models. In this paper, we revisit extraction attacks from an adversarial perspective, exploiting the brittleness of language models. We find significant churn in extraction attack trends, i.e., even minor, unintuitive changes to the prompt, or targeting smaller models and older checkpoints, can exacerbate the risks of extraction by up to $2-4 \times$. Moreover, relying solely on the widely accepted verbatim match underestimates the extent of extracted information, and we provide various alternatives to more accurately capture the true risks of extraction. We conclude our discussion with data deduplication, a commonly suggested mitigation strategy, and find that while it addresses some memorization concerns, it remains vulnerable to the same escalation of extraction risks against a real-world adversary. Our findings highlight the necessity of acknowledging an adversary's true capabilities to avoid underestimating extraction risks.
[ -0.3261168897, -1.1934711933, 0.3729381859, -0.3731567562, -0.1713394672, 0.0080673154, -0.1422404498, -0.6136793494, -0.1552705765, 0.552649498, -0.4845128357, 0.1256945878, -1.0814614296, -0.1366526783, -0.8526069522, 0.8131281137, 0.2862127125, -0.2492289394, 0.046363011, 0.0266105384, -0.5206114054, -0.7362866998, -0.7423057556, -0.0682186633, 0.5543935895, 0.0468357205, 0.9336894155, 1.001105547, 0.6094372272, 0.2966727614, -0.2177342176, -0.3085710108, -0.4517829418, 0.4500972033, -0.1069846153, -0.7088070512, -0.1437009275, 0.2808592916, 0.473217696, 0.6048234105, -0.0736989602, -0.1271346062, -0.1097922698, 0.819573164, -0.7161608934, -0.2700515091, -1.2457261086, 0.0645496473, -0.4028265774, -0.0322650932, -0.446441412, -0.1352696866, 0.2337397784, -0.2073084265, 0.2610059083, -0.3551930785, 1.0798176527, 0.1583079845, -0.0765336901, -0.4191986322, -0.8000754714, 0.7180377841, -0.3813393712, 0.1182606742, 0.3381058872, 0.7277926803, -0.1004060134, -0.7287516594, -0.2566406131, -0.1277454048, 0.2221924663, -0.1339506954, -0.723515749, -0.3020414114, 0.5264047384, 0.4003115296, -0.2753616869, 0.1849811673, -0.6314209104, 0.009977241, 0.5981281996, 0.0180828534, 0.5722935796, 0.0212023426, -0.6318019629, -0.1832052171, -0.9598239064, -0.1310850978, 0.6096137762, 0.4389560819, 0.2669618726, 0.4336161315, 0.2919051349, 0.4363545477, -0.0906832963, 0.3074656725, -0.1645216346, -0.1045480371, -0.2842827439, 0.0871122032, 0.6379610896, -0.1705033332, 0.5195432901, -0.5681346655, -0.2154902965, -0.0134390891, 0.8303070664, -0.6165066361, -0.6128820777, 0.2739747167, -0.2292243093, -0.7005304098, 0.2860365212, -1.2453194857, -0.5004279017, 0.0865841657, 0.2583312392, -0.6243502498, -0.21697025, -0.0981654823, -0.4299174249, 0.1368270963, 0.3301838636, -0.7089352608, 0.3046038747, 0.8438231349, 0.7898678184, -0.1326417476, -0.1232587993, -0.8177904487, -0.0051378538, -0.2147452086, 0.5407814384, -0.3674346805, -0.463583231, -0.1153801829, -0.1420824826, -0.2242202163, -0.675362289, 0.3709498048, -0.6794151068, 0.262465626, -0.2635943294, -0.3378580511, -0.27180475, 0.4537298679, -0.9903168678, 0.7089399695, 0.0759584904, -0.712654233, 0.1382813305, -0.3194714487, -0.3875731528, -0.0208533239, -0.159147799, -0.4557799101, 0.2282900214, 0.2464727014, 0.144716084, -0.363913089, 0.1854927242, -0.4103494585, -0.1195788085, 0.5411587358, -1.1897978783, 1.1832615137, 0.5666121244, -0.536950469, -0.3495950997, -0.6685712934, -0.2370398492, 0.4888680577, -0.3165849149, -0.5363020301, 0.1221172586, -0.3753963709, 0.3517325521, 0.0334089547, -0.2924521267, 0.2963715196, -0.7718729377, 0.3350447714, 0.9303979874, 0.120260492, 0.4308818579, -0.3592135906, 0.7536494732, -0.0963001847, 0.187725082, -0.0142592797, 0.0735183656, -0.5265236497, -0.5773583055, 0.5536453724, 0.6875725389, -0.680801034, 0.1818346083, -0.54101789, -0.6563347578, -0.4875178337, 0.3843210936, 0.5218684077, 0.3971850872, 0.3067606986, -0.3094613552, -0.4967409968, -0.631501317, -0.8127022982, -0.1161097288, -0.1394623369, 0.117609933, 0.3920491338, 0.0342905112, 1.0048758984, -0.6312999129, -0.0454248898, -0.5121645331, 0.0969610438, -0.2212034613, 0.6470986009, 0.7021738291, -1.2090765238, -0.2917501032, -0.1605529636, -0.8057624698, 0.3399567008, -0.3278115392, 0.078140527, 0.1077076644, 0.4620667696, -0.9745618701, 0.3329709768, 0.029915113, 0.1458308697, 0.3130314946, 0.1120243967, -0.2190951705, -0.9370222688, 0.1533905715, -0.1567495763, -0.1194653213, -0.8143462539, 0.4184874892, -0.0051934519, -0.0447777584, -0.8233148456, 0.3806372583, -0.4962186813, 0.0795813054, -0.0818697438, 0.1218924075, 0.1104565337, 0.1516132802, -0.2244409025, 0.4587131143, 0.5527856946, -0.4603546858, 0.3866406977, -0.0551848002, -0.224158749, 0.2805883288, -0.5781572461, 0.4414989948, -0.178971529, 0.0089704953, -0.6639016271, 0.0920154378, 0.4105144143, -0.6529679894, 0.7948590517, -0.3243695199, -0.3676204681, -0.1026050076, -0.7176231742, -0.0438002385, 0.6450481415, -0.5214806199, 0.466188103, 0.3711658418, -0.3364803195, -0.9384544492, -0.7049359083, 0.3590792716, -0.8304712176, -0.2658568621, -0.0355203189, 0.2526222765, -0.6719852686, -0.1261765063, -0.1561836451, -0.0827161297, 0.8947415352, 0.196058169, 0.2014360428, 0.0787028, -0.1690355986, -0.4743070304, -0.0173396878, 0.3285874128, -0.1752754599, 0.5441097021, 0.1411658674, -0.3355846703, -0.1051827669, 0.4141950309, 0.546538353, -0.1742764711, 0.6706933975, 0.5398979783, -0.7158363461, 0.0335263051, -0.4648163617, -0.1027756408, -0.4567109346, 0.5722049475, -0.3697527945, -0.1109522954, 0.4322039485, -0.0901056454, 0.3112910688, 0.573415041, 0.0672874898, -0.1317830831, 1.1007381678, 0.3647989035, -0.4558960497, 0.6439640522, -0.3832921386, -0.0998600349, -0.601882875, -0.1812640578, -0.776725471, -0.0513010882, -0.3194569945, -0.0141667966, -0.1837575287, 0.2990254462, 0.1578858793, 0.5073025227, -0.0544237457, 0.3640949428, 0.5373936296, 0.0293885302, -0.1278101802, 0.2008003443, 0.3267842829, -0.1220927313, -0.6407520771, -0.4385438561, 1.0772223473, 0.5033931136, 0.7176019549, 0.4097570777, 0.6731355786, 0.4128893316, 0.0561272986, -0.72707057, 0.3351416588, -0.2964797914, -0.6147831678, -0.1325195134, -0.5852227807, -1.2595854998, 0.3317355216, -0.2268834412, -0.9522359967, 0.150792554, 0.1006648913, -0.2632124126, 0.4859861732, -0.6353541613, 0.8660330772, -0.2453692406, -0.1839280128, 0.2052001357, -0.8862935901, 0.2845658958, -0.1905799657, 0.4434119165, 0.183754459, 0.2739013433, 0.6079977751, -0.2892867923, 0.8134794831, -0.2696397007, -0.070279561, 0.3844365478, 0.4427409768, 0.8720776439, -0.2215973437, 0.0816078112, -0.0363679491, -0.0968639106, -0.4521428943, -0.6185757518, 0.4107815027, -0.5233135223, -0.7869929075, -0.4661893249, -0.3741737604, 0.1427469999, 0.1140172556, 0.2826322913, 0.5583753586, -0.4619559348, 0.1640858054, 0.6600355506, 0.0240336116, 0.4689261317, 0.1429131478, 0.4449176788, -0.4315769672, 1.4089304209, 0.1609670967, 0.7119893432, 0.2664128542, 0.2013167441, -0.3278390467, -0.7372322083, -0.3901593089, -0.1997835934, -0.9273712635, -0.1502672732, -0.7120116949, -0.0807555765, -0.6281166077, 0.0965546817, -0.4759517312, -0.5721746087, -0.5752851963, -0.1177397072, 0.0757272989, 0.4425323009, 0.1436959058, 0.1239319742, -1.1370558739, 0.2200310528, 0.2738106251, -0.4622886479, -0.0503549017, -0.563328743, -0.1233285069, 0.1373393685, -0.4183575511, -1.0396023989, 0.7161195874, 0.2121071666, 0.5741247535, 0.418073684, 0.0046842517, 0.7331043482, -0.5147459507, 0.9023454189, 0.1711382568, -0.6318923235, 0.531306088, 0.0126758777, 0.1684694737, 0.7943522334, 0.4795841575, -0.2668077052, -0.4567925334, -1.1848053932, -1.0376513004, 0.612611711, 0.042286545, 0.1741659492, -0.0826276913, 0.3827150762, 0.1781672537, 0.174273178, -0.667140305, -0.1020709574, -0.0288317148, -0.2705743909, 0.0661064163, -0.1858890802, -0.2667511106, 0.2143336833, 0.398950398, 0.245031625, -0.0952294767, 0.0406138934, -0.6623818278, 0.0417243391, 0.2887558043, 0.2591413856, 0.3495242596, -0.141054213, 0.4497000873, 0.0224479362, -0.6577430367, -0.0083623994, 0.351407975, -0.1888634115, -0.2204574645, 0.5835886002, 0.3862967789, -0.1377170086, -0.8939278126, 0.7030845284, -0.122311756, -0.0830222815, -0.4710541964, 0.0222182181, -0.3037573099, 0.2266439199, 0.2917025089, 0.3610271513, 0.1338457763, -0.5881752968, 0.4627314806, 0.7951163054, -0.8261820674, -0.4165993631, 0.5134981275, -0.2335787565, -0.3276682794, 0.6739361286, 0.0277479868, -0.791344285, 0.7283250093, 0.3817202449, 0.9384543896, -0.2077196538, -0.2279034853, -0.0019189708, 0.6422525048, -0.2746440768, -0.1947298944, 0.2066905648, -0.3483461142, 0.0470752493, -0.1944691241, -0.112278074, 0.2916610241, -0.8554154038, 0.2451728135, -0.4575006366, 0.1426247805, 0.0976769775, 0.0208400637, -0.4616007209, 0.174191609, 0.165688619, 0.6421003938, -0.6394706368, 0.810323298, 0.2851428688, -0.5415050387, -0.4392915368, -0.0782319158, 0.302562207, -0.5657993555, 0.5943685174, 0.2179071009, 0.1488918662, -0.2833397388, -0.2995935678, -0.7325653434, 0.8317608833, 0.6493904591, -0.2336614579, -0.2074972987, -0.1556213498, 0.2370120138, 0.0087198904, -0.1384249926, 0.8974972963, 0.0483946726, -0.0169006903, -0.3294792771, 0.2082077861, -0.1617625505, -0.2251687199, 0.268247962, -0.187548995, 1.1730604172, -0.1118054613, -0.7064133883, -0.0368195251, 0.3240439594, -0.2553257942, -0.061675746, 0.637608707, 0.4719443619, 0.5314280987, 0.1211702079, 1.2755755186, 0.1902752221, 0.1017163619, 1.1979554892, -0.1048407108, 0.7465814352, 0.6190552711, -0.1720556319, -0.0020141858, 0.4784424603, -0.2316333354, 0.7136287093, 0.2363639474, -0.0407481343, 0.1061851904, 0.3105297387, -0.2927661538, 0.5390021801, 0.4622711837, -0.5304051042, -0.2889093757, -0.2151518017, 0.4349490404, 0.1660011411, 0.0720955878, 0.9820860624, 0.0317528099, -0.5404327512, 0.6615004539, -0.1509265602, 0.4092839956, -0.6151288152, -0.1635635942, 0.0693439469, 0.210544154, 0.0438049585, -0.2102547586, 0.3880050182, 0.1623990834, 0.0201811679, -0.0592654012, 0.8698394895, -0.3497976959, -0.2095633596, 0.1304366142, 0.4198592007, 0.1387773454, -0.3915649056, -0.8010416031, -0.0381082147, 0.1561550498, -0.451192081, 0.7342440486, 0.3193840384, 0.1873286217, 0.6889406443, 0.6370068789, 0.6136707664, 0.0958342627, -0.1010014713, 0.8628595471, -0.5213049054, -0.1533949971, -1.5021730661, 0.2338671982, -0.3159007728, -0.0282794219, 0.7400743365, 0.3516553342, 0.652600944, 0.1386881918, 0.8687903285, -0.0407325141, 0.322011888, -0.6957232356, 0.6947536469, -0.4399171174, 0.587318182, -0.4100764096, -0.61367172, -0.2999404967, 0.2224556655, -0.2053449452, -0.1825058907, 0.5823232532, 0.425083667, 0.0276185125, 0.1001767963, 0.0804113895, 0.0732976794, 0.7532948852, 0.5704575777, 0.8996375203, -0.6146284342, 1.0696275234, -0.343891114, -0.0394435786, -0.0104526691, -0.7976532578, -0.7061191797, -0.2824220657, -0.2594603896, -0.3534125686, 0.0720474124, 0.5699286461, 0.1331859678, -0.5634605289, 0.2162261158, -0.1279726624, 0.1655233204, -0.4737557471, -0.2678807378, 0.5184208155, -0.2533434033, -0.7573463321, 0.4918986261, -0.1335992813, 0.3799504042, -0.1079560667, 0.3613752425, -0.2932390571, -0.0174499452, 0.1416122615, 0.5997658372, -0.5411937237, -0.4417542219, -0.1925983578, -0.1833906472, 0.0985618234, 0.612237215, -0.5999309421, 0.4083530605, 0.258810401, 1.1358273029, 0.162702471, 0.2935937047, 0.7326620817, -0.8621183634, 0.2099560797, 0.3313902617, 0.3079223633, 0.3995075822, -0.4663671553, 0.4207398295, 0.4581173658, 0.0052263169, -1.1682524681, 0.3622973263, -0.5745881796, -0.6663208008, 1.0167620182, -0.6037370563, -0.3583557308, -0.2500452697, -0.0313735642, 0.1983916163, 0.0521734692, 0.8880757093, 0.804967761, 0.350127697, 0.2032052577, -0.7962555289, 0.5136045218, 0.3863524795, -0.668228507, 0.4880703092, 0.3018657863, 0.2834967673, 0.2257701308, 0.3010059595, -0.5779544711, 0.2610073686, 0.3464969695, -0.350330621, 0.0145915663, -0.5595363975, -0.6372287869, 0.5014132857, 0.1735131294, -0.2670477033 ]
http://arxiv.org/abs/2407.02490v1
http://arxiv.org/pdf/2407.02490v1
MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
2024-07-02T17:59:56
2024-07-02T17:59:56
Huiqiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu, Xufang Luo, Surin Ahn, Zhenhua Han, Amir H. Abdi, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, Lili Qiu
cs.CL
cs.CL, cs.LG
The computational challenges of Large Language Model (LLM) inference remain a significant barrier to their widespread deployment, especially as prompt lengths continue to increase. Due to the quadratic complexity of the attention computation, it takes 30 minutes for an 8B LLM to process a prompt of 1M tokens (i.e., the pre-filling stage) on a single A100 GPU. Existing methods for speeding up prefilling often fail to maintain acceptable accuracy or efficiency when applied to long-context LLMs. To address this gap, we introduce MInference (Milliontokens Inference), a sparse calculation method designed to accelerate pre-filling of long-sequence processing. Specifically, we identify three unique patterns in long-context attention matrices-the A-shape, Vertical-Slash, and Block-Sparsethat can be leveraged for efficient sparse computation on GPUs. We determine the optimal pattern for each attention head offline and dynamically build sparse indices based on the assigned pattern during inference. With the pattern and sparse indices, we perform efficient sparse attention calculations via our optimized GPU kernels to significantly reduce the latency in the pre-filling stage of long-context LLMs. Our proposed technique can be directly applied to existing LLMs without any modifications to the pre-training setup or additional fine-tuning. By evaluating on a wide range of downstream tasks, including InfiniteBench, RULER, PG-19, and Needle In A Haystack, and models including LLaMA-3-1M, GLM4-1M, Yi-200K, Phi-3-128K, and Qwen2-128K, we demonstrate that MInference effectively reduces inference latency by up to 10x for pre-filling on an A100, while maintaining accuracy. Our code is available at https://aka.ms/MInference.
[ -0.7755215764, -0.7936894894, 0.7439838648, 0.3984306157, -0.5044085979, -0.2747644484, -0.3465970755, -0.6366391778, 0.3350328803, 0.2693910599, -0.8543186188, -0.3754868805, -0.6395999193, 0.2756887674, -0.098797366, 0.5969238877, 0.1081347018, -0.414142549, -0.5128196478, -0.0282701552, -0.3367785215, -0.3640370965, -0.654317081, 0.0482779033, 0.8562535644, 0.5364743471, 0.6502264738, 0.8107266426, 0.2946353555, 0.4289616644, -0.3228328228, 0.3725037575, -0.6084436178, -0.1939090937, 0.1700480282, -0.1350648552, -0.6850852966, 0.2318572998, 0.6695123315, 0.8000610471, 0.0835869089, 0.4137533903, 0.3429142237, 0.4523228407, -0.8225506544, 0.0894504115, -0.4745886028, 0.0504993163, -0.4826742411, -0.2529731393, -0.3879775107, -0.2631342709, 0.1401590705, -1.0421417952, 0.2538088858, 0.1775138229, 0.5770607591, 0.8182303309, 0.0325076766, -0.0247299299, -0.3226025999, 0.7940199971, -0.5738250613, 0.2738841176, 0.5439228415, -0.0216793697, -0.3765072525, -0.7840739489, -0.5987377167, -0.2225211114, -0.2237575352, -0.220273912, -0.0211541206, 0.5288721919, 0.7034088969, 0.1271492243, -0.3312229514, 0.1272244304, -0.0161456857, -0.0121603962, 0.2636194825, 0.0902113169, -0.3881682456, 0.0407769084, -0.2648512721, 0.2901056707, -0.8433341384, -0.0483854152, -0.0450829193, 0.2408805043, -0.2228294015, 0.2719204128, -0.0675890967, 1.0281608105, 0.4844492972, -0.3522110581, -0.1110196933, -0.3673690259, -0.5278016925, 0.1723487973, 0.5633974075, 0.0101050185, 0.2251397967, -0.0514024496, 0.1710301489, -0.1269264072, -0.100847289, -1.1304250956, 0.0508112088, 0.1380070746, -0.1072686985, -0.0982702896, -0.3698996305, -0.7865979075, -0.4824231863, -0.5430570245, 0.2635278404, -0.0920256153, 0.271683991, 0.0127780028, 0.4097952247, -0.1014725193, 0.5541114807, -0.7902345657, 0.1960792094, 0.7459266186, 0.9571675658, -0.2374204397, -0.2317008078, -0.9498164654, 0.0546172448, -0.2350102216, 0.8983033895, -0.6685452461, -0.1786414981, -0.2317205369, -0.1087598056, -0.0562996864, -0.6306247711, 0.6415450573, -0.4193429947, 0.0277359728, -0.1916313022, -0.6207190752, 0.2237203568, 0.0166870765, -0.6441749334, 1.1592131853, -0.0191765465, -0.7149874568, 0.3070575595, -0.7267700434, -0.3609844744, 0.1974660307, -0.2762699425, -0.1024390534, 0.1167339087, 0.2453522086, 0.3963554204, -0.421099782, 0.1369776279, -0.4783246517, -0.8032512069, -0.0768665969, -0.1372808963, 0.4685615897, 0.0387859233, -0.2960359454, 0.372189492, -0.6873793006, -0.0642283857, -0.1251000762, -0.1849494278, -0.2339399606, -0.0850613043, -0.1987988055, 0.1709032506, 0.2231376469, -0.3318874836, 0.2287025154, -0.4078396261, 0.5248760581, 1.0444087982, -0.2514727712, 0.5084397197, 0.040761359, 0.5249397755, -0.0473107472, 0.1520872861, -0.4126280248, -0.4933383167, -0.781183064, -0.6222561598, 0.4499020875, 0.4449675679, -0.5383482575, 0.4208395183, -0.4699097574, -0.0794041455, -0.5801365972, 0.3843990266, 0.2766909301, 0.5853161812, 0.3547323644, 0.0500218756, -0.6419240832, -0.7179606557, -0.0873095244, 0.1035284773, -0.0706554949, 0.4253312051, 0.063259162, -0.2934175432, 0.9303941727, -0.5396425724, -0.4063181877, 0.0611580648, 0.0450673625, 0.4211987257, 0.5206059813, 0.252365917, -0.5666091442, -0.4609299004, -0.5215411186, -0.4401688874, -0.2824910879, -0.1023640782, -0.3989051878, 0.0420637429, 0.7819337845, -0.8379469514, 0.415453434, 0.5614879131, -0.2945157886, 0.3528147936, -0.0215366408, -0.0953058824, -0.8364806771, 0.1280107051, -0.1322459728, -0.3057591021, -0.4810689986, -0.1317774057, 0.0686666965, -0.1224856675, -0.4837047458, 0.7888819575, -0.4810557663, 0.0432369001, -0.3375925422, 0.3173600435, -0.0288714431, 0.6590681672, -0.0087912176, 1.1114302874, 0.1696971208, -0.7468781471, 0.1573446244, 0.196107626, -0.5758549571, 0.2106561214, -0.4436100423, 0.3636039793, -0.0288995709, 0.1844515353, -1.1206912994, -0.0693879798, 0.1700310409, -0.2979958057, 0.3611877263, -0.1829667538, -0.5192826986, -0.4013625681, -0.1989734322, 0.7431377769, 0.2184395492, -0.5807873011, 0.5837501287, 0.2462226301, -0.5001006722, -0.6022724509, -0.5829577446, 0.165326789, -0.1524708867, -0.7948782444, 0.5337044001, -0.3181972802, -0.1497352868, -0.1628252119, -0.140811339, 0.1106101945, 0.1008853018, 0.4294942915, 0.309034884, -0.3439892828, 0.091085799, -0.0027141038, -0.4383015633, -0.2171780914, -0.2532145679, 0.4573360085, 0.0993684977, -0.2576223016, -0.4835613966, 0.449503094, 0.6474066973, 0.0460632369, 0.4769574404, 0.4015571177, -0.5056495667, 0.0924826488, -0.9608541727, -0.2733980417, -0.5566229224, 0.3705143631, -0.3687808216, -1.1119132042, 0.2160286307, -0.0944819748, -0.0375682525, 0.1361382157, 0.4814379811, 0.1005898491, 0.8911529779, 0.8332307339, -0.403419435, 0.7149810195, 0.0437133797, 0.1649796516, -0.6826102138, 0.1010180712, -0.2430192381, -0.4655252397, -0.3336538672, -0.957716167, 0.3036270738, 0.166404292, -0.1776080877, -0.0343002863, -0.3255541027, 0.7685106397, 0.4508014917, 0.0030737566, 0.2282115817, 0.0844137967, -0.2612725198, -0.2550882995, -0.7719982266, -0.2299929708, 0.7015835047, 0.0408318564, 0.6798673272, -0.2402706146, 0.4380871356, 0.3425189853, 0.6440539956, -0.8145022988, 0.8143768907, -0.0424349196, -0.2742204666, -0.3173455596, -0.3525370955, -0.7772036791, 0.2764874101, -0.1312350631, -0.5879237652, 0.1829543263, 0.451369077, -0.9676202536, 0.1036200151, -0.6747028828, 0.9794540405, -0.0118256975, -0.8707143664, -0.2513480186, -0.5607266426, 0.3900505304, -0.3310008049, 0.0698414817, -0.3731058538, -0.3000095189, 0.5874216557, -0.4723643959, 0.7999199629, -0.2861903906, -0.0338404886, 0.2078004777, -0.1240829304, 0.8344041109, 0.0537265353, 0.0071388665, -0.041456271, -0.2655425668, -0.4932168722, -0.3487221003, 0.7876037359, -0.4092929661, -0.7384473085, -0.4001262784, -0.5621648431, -0.3382965624, 0.16385369, 0.1951807886, 0.1294133514, -0.0607214123, -0.0551781952, 0.7670623064, -0.0519592874, 0.4536639452, 0.4513040781, -0.0101982607, -0.3305345178, 0.5663044453, -0.0111288093, 0.0412095487, 0.2822604179, 0.0229498819, -0.3164434433, -0.4661278427, -0.5783943534, 0.4129084349, -0.4947621524, -0.2782160044, -0.6364315748, 0.1053398848, -0.3782691658, -0.211167559, -0.2606056631, -0.2434753776, -0.371193707, 0.1459869146, 0.2896003127, 0.2425861806, -0.0218889005, 0.4687621295, -0.6313009858, 0.4762417674, 0.4192148447, 0.2666124701, -0.0236254372, -0.7362450361, -0.3758999407, -0.0777378231, -0.0972944945, -0.401302129, 0.2008702904, 0.4814665616, 0.3122474849, 0.8940457106, -0.0544622801, 1.5816119909, -0.7456082702, 0.4609047174, 0.0719145238, -1.0079921484, 0.312772423, 0.0282057431, 0.3983475268, 0.6681288481, 0.3145718575, -0.4440116882, -0.2462862879, -0.3537178934, -0.7763918638, 0.7943745255, 0.0920590162, -0.2328718454, -0.0645673946, 0.5977287292, -0.1766794771, 0.2016055733, -0.281745106, -0.2196007073, 0.246961683, -0.0781723112, -0.5321943164, -0.6417782903, -0.0867003277, -0.5694350004, 0.4337839782, -0.2594065964, 0.494849205, 0.2059680372, -0.2433258295, -0.1676275134, -0.0375841707, 1.1135575771, 0.6343261003, -0.23562783, 0.1712086052, 0.5173110962, -0.6438592672, 0.0242153276, 0.5543993711, -0.0770836845, 0.1302684695, 0.201378867, 0.7280015945, 0.4734787941, -0.654292345, 0.4526360333, -0.0935690328, 0.0381113477, -0.3909298778, -0.2440354824, 0.1932098866, 0.213805899, 0.398473382, -0.1248264238, -0.109046407, -0.1060522869, 0.1427449435, 0.3191869855, -0.2581908703, -0.1683178395, 0.6535146236, 0.2492681295, 0.062770009, 0.4850785732, -0.1371600181, -0.2281140536, 0.4600615799, 0.349858582, 0.7885546684, -0.2438838631, -0.5098307729, 0.4978514612, 0.1061613411, 0.1040851921, -0.0284213927, -0.5370346904, -0.4694440365, -1.0623140335, -0.9135772586, -0.3756743073, 0.3711165786, -0.3153471351, 0.213140741, -0.6283681989, -0.3619822562, 0.1817018539, 0.1296142489, -0.5164209008, 0.0087471651, 0.5781260133, 1.1124988794, -0.4191234112, 1.0235285759, 0.3971248567, 0.242616564, -0.3903172016, -0.324573338, 0.0439649411, -0.7819429636, 0.6942062974, 0.4074139893, -0.3895780444, 0.0726222545, -0.592887938, -0.8967116475, 0.9237021804, 0.5963953733, -0.8349606395, -0.2697687149, 0.183799535, 0.0981595442, -0.2352048755, 0.0972797275, 0.730237782, 0.562361896, 0.1951106191, -0.6350060701, 0.1405406594, -0.2937252522, -0.2362406403, 0.3517417312, -0.4952974916, 0.7683759928, -0.4674346447, -0.2840820849, 0.5009222627, 0.9603548646, 0.4801369905, 0.2456574589, 0.641951561, 0.7609014511, 1.0027518272, -0.0595580526, 0.7761642337, -0.6899414659, 0.1348375827, 1.3601440191, -0.1640781164, 0.7872325778, 0.7504895926, -0.2260351777, 0.1536605805, 0.9038205743, 0.2939742208, 0.3362384439, 0.3547796011, -0.6088612676, -0.5534523129, -0.1273266673, -0.4953525066, -0.0808309764, 0.5714812279, -0.2127259821, -0.0779010803, -0.0962114111, 0.0986046791, -0.4000696838, -0.510512948, 0.6952347755, 0.2688132823, -0.8437832594, 0.9007104635, 0.0493281446, 0.9147235155, -0.6904859543, 0.0106550064, -0.3975948691, 0.3916905522, -0.1212361082, -0.2419460416, -0.0192078874, 0.1562203467, -0.2647256255, -0.222156927, 0.6559272408, -0.5271178484, -0.336681962, 0.2423061132, 0.1607753634, 0.1456973404, -0.5882939696, -0.5698702335, 0.0553409718, -0.0926159918, -0.1803795993, 0.4556992054, 0.4608996511, 0.058659967, 0.642980814, 0.81733495, 0.0474897586, 0.4210736752, -0.0959356055, 0.9855655432, -0.6951293349, -0.5217593312, -0.9380800128, 0.1193123236, 0.0865557045, -0.2292402089, 0.6343237758, 0.6847712994, 0.5662626624, -0.0312994607, 0.4048293829, 0.2087394744, 0.389662981, -0.3967859149, 0.4610114992, -0.5251439214, 0.040929947, -0.1096802056, -0.9492416382, -0.279918164, 0.6438687444, -0.2908383012, -0.0704910085, 0.5564106703, 0.8395699263, -0.2138729095, -0.1968487352, 0.4672779739, 0.3084747493, -0.0379302576, 0.7786892653, 0.7402872443, -0.143664822, 0.561406076, -0.2912576795, -0.2552498877, -0.4148811102, -1.076163888, -0.7352861166, -0.1818691343, -0.2750062346, -0.3088616431, 0.0741100684, 1.181961894, 0.8575578928, -0.7474964857, -0.0909573212, -0.0206846539, 0.0726604387, 0.1267916858, -0.1651236117, 0.3809115589, -0.5348381996, -0.9533475041, 0.4480621815, 0.3840167224, 0.0791201815, 0.0240025185, -0.2152678668, -0.2371528596, 0.0420332402, 0.8937374949, 0.3875081539, -0.7645593882, -0.0693703815, -0.1299813539, -0.214545846, 0.309191525, 1.0244010687, -0.9277788997, 0.2755266726, 0.3913112581, 0.7872443199, 0.6771620512, 0.2525016963, 0.1713770777, -0.6734228134, 0.7920262814, 0.3197428882, 0.3709586859, 0.1794406027, -0.2529285848, 0.3738510907, 0.4943238199, -0.5280367136, -0.8581901193, 0.070970729, -1.1014102697, 0.0098779118, 0.9852114916, -0.137295723, -0.3356738091, -0.1679997146, -0.1491134763, 0.1151244417, -0.3746037781, 0.5380461216, 0.6330789924, -0.1411508471, -0.2418149263, -0.6238926649, 0.8991782665, 0.7500579953, -0.5971843004, 0.2795624137, 0.3867138028, 0.055271659, 0.1902775168, 0.7140387893, 0.176459834, 0.211441949, -0.1983500272, -0.0072860718, -0.2474574, -0.3595757484, -0.2187187374, 0.1130243465, -0.017401021, -0.109084405 ]
http://arxiv.org/abs/2407.02486v1
http://arxiv.org/pdf/2407.02486v1
Neurocache: Efficient Vector Retrieval for Long-range Language Modeling
2024-07-02T17:59:29
2024-07-02T17:59:29
Ali Safaya, Deniz Yuret
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces Neurocache, an approach to extend the effective context size of large language models (LLMs) using an external vector cache to store its past states. Like recent vector retrieval approaches, Neurocache uses an efficient k-nearest-neighbor (kNN) algorithm to retrieve relevant past states and incorporate them into the attention process. Neurocache improves upon previous methods by (1) storing compressed states, which reduces cache size; (2) performing a single retrieval operation per token which increases inference speed; and (3) extending the retrieval window to neighboring states, which improves both language modeling and downstream task accuracy. Our experiments show the effectiveness of Neurocache both for models trained from scratch and for pre-trained models such as Llama2-7B and Mistral-7B when enhanced with the cache mechanism. We also compare Neurocache with text retrieval methods and show improvements in single-document question-answering and few-shot learning tasks. We made the source code available under: https://github.com/alisafaya/neurocache
[ -0.2386737019, -0.7795187235, 0.644174993, 0.1249567121, -0.2385867387, -0.1210136414, -0.5646024346, -0.5889643431, 0.4918113649, 0.3537651002, -0.2933229506, -0.6066084504, -0.3997858465, -0.1749949604, -0.638456881, 0.5969908834, 0.0303740408, 0.0930906385, -0.350068599, 0.0617363155, -0.1570420712, -0.5523458719, -0.8505963087, -0.4622986615, 0.8076415062, 0.1404518634, 0.3338196576, 0.4594110847, 0.3361985385, 0.2775119841, -0.3879324496, -0.0783170685, -0.6483300924, 0.33920151, -0.1423936486, -0.4602106214, -0.3499110937, -0.3286114633, 0.478277266, 0.4379341602, -0.1849444956, -0.1332360506, -0.1122408435, 0.5602967143, -1.0163835287, 0.0080947336, -0.5776407719, -0.0712826177, -0.2814911306, 0.035811387, -0.4365451932, -0.5210875869, 0.3710204065, -0.3515142202, 0.0900687799, -0.3434405625, 0.5105617046, 0.3580695391, -0.2560099363, -0.08665701, -0.3726309538, 0.7728754282, -0.7186050415, 0.3262589574, 0.6793948412, 0.4080905914, -0.3830509484, -1.135882616, -0.6860606074, -0.4125841558, 0.4068295956, 0.0500846915, -0.1853285283, 0.1428573132, 0.204171598, 0.2433684319, -0.1808202118, 0.3685773611, -0.2200765759, -0.5389732122, 0.0967477113, 0.2013367414, 0.1917151213, -0.0436293185, -0.2504245341, -0.1498919278, -0.8498822451, -0.0276567992, 0.4572126269, 0.2353680432, 0.1267801672, 0.3294255733, -0.3401017785, 0.7842535973, -0.5230938792, 0.0937005207, 0.0824042633, -0.2284841388, 0.0106668323, 0.0798116922, 0.3431847394, 0.1488678455, 0.0223829206, -0.3181747198, 0.0008616467, 0.0827585831, 0.357269913, -1.0302139521, -0.3566029072, 0.0384905003, -0.4276842475, -0.1324622631, -0.1640656143, -0.862954855, -0.2347257584, -0.2045692056, 0.3233040869, -0.3679771423, -0.1415865272, 0.0439743511, -0.13918823, 0.3494516015, 0.3351994455, -0.6697130799, 0.460609585, 0.7122798562, 1.052995801, -0.6058337688, -0.1470380127, -0.493137598, -0.0574205928, -0.2011531591, 0.9545189738, -0.7288948298, -0.2619092762, -0.0464618653, -0.0445784591, 0.3103231192, -0.4128617346, 0.5295671225, -0.8529719114, -0.2714524865, -0.5492150784, -0.4476798773, -0.4028246999, 0.041045256, -0.9320092201, 1.3790301085, -0.1005359441, -0.657176733, -0.0556579269, -0.4953554571, -0.4765045047, -0.3050356507, 0.0575108081, -0.1143590212, 0.2377409339, 0.2429476082, 0.377341181, -0.3720894456, -0.1027690247, -0.5244382024, -0.4632489383, -0.0226546489, -0.4070513844, 0.7656421065, -0.0770314112, -0.1618217081, 0.1635752022, -0.636937499, 0.1085968763, 0.0298715308, -0.2712517381, -0.5766618848, 0.0336829536, -0.0665433481, 0.3767137229, 0.5472905636, -0.7486709952, 0.2280967236, -0.7338223457, 0.6373173594, 0.799620986, -0.0948219299, 0.4441611171, 0.0105167944, 0.4238954782, -0.0683816671, -0.1637651473, -0.086386472, -0.211103037, -0.847571969, -0.1917213649, 0.4890132844, 0.25566715, -0.7083005905, 0.3196650147, -0.3067723215, -0.5570475459, -0.3492381573, -0.0830251202, 0.1356717348, 0.6983769536, 0.352809906, -0.4178219736, -0.350974232, -0.9450822473, 0.218827635, 0.2234927267, 0.1573583633, 0.3025366664, 0.5329756141, -0.1834513247, 0.7234094143, -0.6133970618, -0.0811986551, -0.0539241284, -0.1699648649, 0.1230230033, 0.2661273479, 0.3245936632, -0.2301600575, -0.2185591608, -0.1230107099, -0.2587369382, 0.0361352898, 0.3846853971, -0.3847830594, 0.4929789603, 0.8769515157, -0.6219102144, 0.6687891483, 0.6071836352, 0.1239501387, 0.3504993916, -0.3454074562, -0.1664094776, -1.0545713902, 0.2883050144, -0.4068330228, -0.3070844412, -0.3546796739, 0.0630840287, 0.2992408276, -0.0137881376, -0.4223826528, 0.7501274347, -0.5819574594, -0.2275578827, -0.8304101825, 0.3881611824, -0.2554488182, 0.5439270735, -0.1013949141, 0.7657377124, 0.8322805166, -0.7473760843, 0.3154603839, -0.0557923578, -0.4532782137, 0.1707478464, -0.6195182204, 0.7077851295, -0.218882069, 0.6204510331, -1.0380364656, 0.2057375759, -0.198600173, -0.3341671824, 0.2456855178, -0.1104022488, -0.6898936033, -0.2687392235, -0.2640699148, 0.5090916157, 0.2995825112, -0.8508316875, 0.6723425388, 0.5778274536, -0.0306700207, -0.7352704406, -0.547262609, 0.0821683109, 0.0845207945, -0.3462465703, 0.4869070351, -0.0521707758, 0.216837585, 0.0024464615, -0.3999905288, -0.1041097641, 0.0580005795, 0.1599766612, -0.0077449181, -0.0099167004, 0.5230309367, 0.166323632, -0.2146009952, 0.0087111853, -0.208939299, 1.0027000904, -0.003087284, 0.0624606237, -0.2324600518, 0.3738224506, 0.230676949, -0.3776297271, 0.6069809794, 0.3942039907, -0.6723266244, -0.4860460162, -0.4432460666, -0.6197958589, -0.4576211572, 0.5232141018, -0.2770310938, -0.8760300875, 0.768247664, -0.2263237834, -0.1460879296, 0.4356588125, 0.7545152307, 0.2231587023, 0.6956674457, 0.8144178391, -0.4414389431, 0.6345688701, -0.2717552781, 0.0674503967, -0.9592330456, -0.1279976815, -0.6515420675, -0.5290250778, -0.258831054, -0.6525278091, 0.176591754, -0.0732995793, -0.0597369149, 0.4019370973, -0.4008790255, 0.6555715799, 0.4706574082, 0.4313243032, 0.0911093727, 0.1680440456, -0.4926362634, -0.0616987571, -0.6260672808, -0.125341624, 1.1081187725, 0.1302173585, 0.7861993313, 0.1217341498, 0.5628268123, -0.2714425325, 0.377625078, -1.0594619513, 0.64249897, -0.0869550928, -0.4908649921, -0.2830449045, -0.2276615053, -1.1653395891, 0.1941346079, -0.001238565, -0.8639531732, 0.0411415473, -0.0885213315, -0.4431422353, 0.236610055, -0.4464907944, 0.5626248717, -0.0403539427, -0.4390143752, -0.6863502264, -0.6282571554, 0.0965561643, 0.0086634513, -0.5617835522, 0.0142683517, -0.3469690084, 0.7155866623, -0.4119558632, 0.7785503268, -0.0137210861, -0.2475383878, 0.2298395336, 0.1609992087, 0.7155341506, -0.1525436342, -0.2512994707, 0.3313896954, -0.1992759407, -0.2447007, -0.8581805825, 1.2395509481, -0.4554922283, -0.3347244561, -0.3835787177, -0.5889812708, -0.0969077796, 0.4413509071, 0.0489320755, 0.5507884026, 0.0492628664, 0.3245275617, 0.7801421285, -0.3117019534, 0.7574535608, 0.4094927311, -0.0157527458, -0.3003444374, 0.6036047935, 0.1937443465, 0.0801637843, 0.5240686536, 0.1131738201, -0.2793303132, -0.4946447313, 0.1750601828, 0.2140555084, -0.9631632566, -0.3845931888, -0.7824462056, -0.0861434639, -0.2334384322, 0.1981396824, -0.5469155312, -0.4715046883, -0.326159358, -0.1358093172, 0.7074958682, 0.4245534241, -0.0110615278, 0.358223021, -0.2618658543, 0.3268249035, 0.0181287099, 0.6096407771, 0.4634945989, -0.4003735781, -0.2391344011, -0.1656410694, -0.0901852921, -0.957344532, 0.4595972896, -0.0602281168, 0.5945370793, -0.0134071, -0.1475035548, 0.7878518105, -0.6080675125, 0.3823669851, -0.1334883273, -0.7569371462, 0.3786381185, -0.0160316732, 0.7177371383, 0.7186035514, 0.3805299997, -0.4135719538, -0.0699826702, -0.421117425, -1.2655365467, 0.3936060965, -0.1011510566, 0.3144318461, -0.3187502921, 0.6105260253, 0.0338515937, -0.1313188374, -0.3771960139, -0.3112802207, 0.1894796491, -0.1588227302, -0.1334026754, -0.1443680972, 0.1915306002, -0.4224255681, 0.6917597651, -0.2332472503, 0.5926077366, 0.3286432624, -0.2498906553, 0.2041745782, -0.1402535737, 0.6198307872, 0.5515509248, -0.0506476909, 0.2817263901, 0.3842124641, -0.6659466624, -0.2028157562, 0.1492246389, 0.173762843, -0.0927203149, -0.1091628149, 0.392827332, 0.287712127, -0.5725488663, 0.4396302402, -0.1919285804, 0.1430215687, -0.4405877888, -0.0705822036, 0.3579705358, 0.2607735395, 0.2093263268, -0.3245639801, 0.2674350441, -0.3028142154, 0.3858044744, 0.4539602101, -0.4181469679, 0.0130152889, 0.4237098098, -0.0098372828, -0.0015933142, 0.8557252884, 0.1104865745, -0.403256923, 0.5779859424, 0.6019645333, 0.9005819559, -0.1336967498, -0.2080115378, 0.4699857831, 0.1964188814, -0.23646833, 0.3414037228, -0.2296398282, -0.5352475643, -0.6851243973, -0.4655306935, -0.2032649517, 0.2407872081, -0.4330970049, 0.1766967475, -0.4296050966, -0.4139364362, -0.0872066543, 0.1054264084, -0.4641114473, -0.1908889115, -0.1045999974, 1.2517312765, -0.3608424962, 1.2131587267, 0.3590830266, -0.192956686, -0.4609349072, 0.0247852057, -0.2969217002, -0.6066630483, 0.7409619093, 0.2268203944, -0.4240311086, 0.1086094528, -0.7963724136, -1.2728278637, 0.9694551826, 0.5113371015, -0.4422346056, 0.030271424, -0.5104609132, 0.6982923746, -0.0079662232, 0.2736471593, 0.5129116178, 0.1743406355, -0.0753167793, -0.610776782, 0.2242334485, -0.2726219296, 0.1567655206, 0.4594189525, -0.4826446772, 0.6790242195, -0.1283088028, -0.1394624263, 0.2724894285, 1.1113907099, 0.1978092194, -0.226174891, 0.2688417137, 0.8980044723, 0.7514079213, 0.0131325666, 1.3145720959, -0.3172453046, 0.1468399167, 1.2990185022, -0.1573154032, 1.1612614393, 0.6187790632, 0.2341595888, 0.6273549795, 0.4361401498, 0.2849424481, 0.6585360169, 0.6026476026, -0.2711440623, -0.1905667484, 0.0724185407, -0.1797799319, 0.4290757775, 0.3402582407, -0.2314321846, -0.4423410594, -0.077161558, 0.1684981138, -0.0946648568, -0.2212622166, 0.5420123339, 0.3275749087, -0.6631547213, 0.5718902946, 0.1518083215, 0.6939757466, -0.5274688005, -0.1957549453, -0.2050935775, 0.2703182399, 0.0733161867, -0.4965754747, 0.1022361144, -0.2336942703, -0.1732407361, 0.1373536438, 0.8283811808, -0.4398883581, -0.2051659673, 0.4126584232, 0.0790631846, 0.2446448356, -0.1799548566, -0.5358945727, 0.0586356111, -0.4598471224, -0.2358484715, 0.2767629921, 0.0381062105, -0.2600474954, 0.7314999104, 0.6332526207, 0.10396602, 0.2412709743, 0.1600557864, 0.9007689953, -0.7429074049, -0.5443326235, -0.7877821326, 0.0292950571, -0.1057664007, -0.3250567913, 0.7103057504, 0.5910553336, 0.7160395384, 0.1728738844, 0.418638438, 0.1578259021, 0.3805934191, -0.5923373103, 0.6778495908, -0.3522130549, -0.1628557444, -0.1362966746, -0.9147462249, -0.3437507451, 0.855681479, -0.4399301708, 0.2908574045, 0.9105524421, 1.0745264292, -0.025565939, -0.0439421572, 0.1227647141, 0.2543460429, 0.212100789, 0.8630163074, 0.6968856454, -0.3878687918, 0.4042696655, -0.3913725317, 0.0502401479, -0.1745640188, -1.0625115633, -0.9125946164, -0.5348220468, -0.0710947439, -0.4072309136, -0.1398441494, 0.7208718061, 0.6886622906, -0.5170528293, -0.0948640257, -0.1206417605, 0.0581952818, -0.0944563821, -0.2197580934, 0.6683168411, -0.2783676982, -0.7545641065, 0.5172616839, 0.2223688215, -0.0967973471, -0.3960692286, 0.1687781215, -0.3029636145, 0.0165929087, 0.7646000385, 0.3024840057, -0.5613811016, -0.2169137895, 0.1116612256, -0.3049537838, 0.0736241713, 0.8555050492, -0.9967663288, 0.3834958673, 0.8082939386, 0.9600638747, 0.9431162477, -0.500025928, 0.5106722116, -0.4847313762, 0.2799554169, 0.3153058887, 0.3955340683, 0.1997675598, -0.2350013852, 0.2739217281, -0.1562886834, -0.4291145205, -0.6373420954, 0.2014860511, -1.1854913235, -0.4245933592, 1.1971404552, 0.210741356, -0.5866820812, 0.0426375903, -0.2291310728, 0.4075379372, -0.4449002743, 0.7586390972, 0.8068467975, 0.1554845423, -0.0734674409, -0.9016839862, 0.5027419925, 0.5207375288, -0.9516501427, 0.0323631987, 0.4219559431, 0.30764094, -0.0473637842, 0.4735729098, -0.4777478278, 0.3710677624, -0.2802236676, 0.1731467545, 0.0432633422, -0.5383634567, -0.6471858025, 0.0975926146, -0.3461142778, 0.1566904187 ]
http://arxiv.org/abs/2407.02485v1
http://arxiv.org/pdf/2407.02485v1
RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs
2024-07-02T17:59:17
2024-07-02T17:59:17
Yue Yu, Wei Ping, Zihan Liu, Boxin Wang, Jiaxuan You, Chao Zhang, Mohammad Shoeybi, Bryan Catanzaro
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Large language models (LLMs) typically utilize the top-k contexts from a retriever in retrieval-augmented generation (RAG). In this work, we propose a novel instruction fine-tuning framework RankRAG, which instruction-tunes a single LLM for the dual purpose of context ranking and answer generation in RAG. In particular, the instruction-tuned LLMs work surprisingly well by adding a small fraction of ranking data into the training blend, and outperform existing expert ranking models, including the same LLM exclusively fine-tuned on a large amount of ranking data. For generation, we compare our model with many strong baselines, including GPT-4-0613, GPT-4-turbo-2024-0409, and ChatQA-1.5, an open-sourced model with the state-of-the-art performance on RAG benchmarks. Specifically, our Llama3-RankRAG significantly outperforms Llama3-ChatQA-1.5 and GPT-4 models on nine knowledge-intensive benchmarks. In addition, it also performs comparably to GPT-4 on five RAG benchmarks in the biomedical domain without instruction fine-tuning on biomedical data, demonstrating its superb capability for generalization to new domains.
[ -0.3257024884, -0.666259408, 0.4145607948, 0.0805876851, -0.3417943418, 0.1583907753, -0.4479229152, -0.2225951701, 0.011284126, 0.4986208677, -0.3031364381, -0.7497916222, -0.7850131392, -0.0184458662, -0.3032398522, 1.3614281416, 0.2547144294, 0.1511229426, -0.2494038045, -0.1232125461, -0.5619614124, -0.3956405222, -0.8318114281, -0.2815178037, 0.66666466, 0.6187677979, 0.4873915017, 0.6507542133, 0.5022211671, 0.2630837858, -0.2480397373, 0.3613681495, -0.9276090264, 0.462916851, -0.056794446, -0.2880047858, -0.7740090489, -0.0549685769, 0.6881147623, 0.7017523646, -0.2176004946, 0.2699168622, 0.2255124897, 0.6281009912, -0.731667757, -0.1093135551, -0.8988413215, -0.2580678761, -0.2959497273, -0.6741479635, -0.4423056543, -0.2448223084, -0.2695739865, -0.5798630118, 0.2015532553, 0.2101445645, 0.5554777384, 0.8210048079, -0.4189000726, -0.1179148257, -0.3441525102, 0.7636758685, -0.5428889394, 0.2976998389, 0.3055592179, 0.4689123929, -0.3466428816, -0.8380779028, -0.1874130219, 0.0369576737, 0.0579458028, 0.1499023587, 0.1831818968, 0.0821554661, 0.0283748619, 0.3842962682, -0.481308043, 0.2299208343, -0.5627889037, 0.2777306736, 0.5351238847, 0.0769314095, 0.0658462271, -0.0067774965, -0.4545736909, 0.0578544065, -1.202408433, -0.0769969821, -0.0136350254, 0.4103869796, 0.0885616094, 0.4172959328, -0.4098276794, 0.8631911278, 0.2766069174, -0.1084569246, 0.0305753704, 0.0295826737, -0.1580204666, 0.2402929366, 0.4966237843, 0.4309019148, 0.0084807249, -0.3921550214, -0.2407762259, -0.3093484342, 0.4995012581, -1.1737188101, -0.1643134952, 0.1775851995, -0.0949585736, -0.4825542569, -0.1709219217, -0.6055420041, -0.4190430641, -0.1225154027, 0.6119830012, -0.1453529447, 0.1607690752, 0.1198866516, 0.155935064, 0.3010780513, 0.3316491842, -1.0555887222, 0.1826212704, 0.9395660758, 0.6185747981, -0.6013620496, -0.2073188573, -0.9256551266, 0.3640391827, -0.4746961892, 1.0255817175, -0.8818671107, -0.349722296, -0.2342252731, -0.0292384047, -0.1352298111, -0.7351413369, 0.6801356673, -0.6994872093, 0.3189756274, -0.1156766564, -0.7389162779, 0.0951176807, 0.1218214631, -0.2821487188, 1.3277125359, 0.0432122126, -0.7763777375, 0.4454743266, -0.5828061104, -0.30507797, 0.3383305967, -0.2763822675, -0.2199326456, 0.0552495755, 0.2760403156, 0.5763739347, -0.4253484607, 0.3760256767, -0.1256254464, -0.8754820824, -0.0638902858, -0.3438744545, 0.4535853565, -0.0156075684, -0.4024181068, 0.2148676664, -0.5425305963, 0.246256724, -0.1320299804, -0.7153194547, -0.2535428703, -0.0730030686, -0.1714392155, 0.0338930413, 0.5231206417, -0.5713786483, 0.4358983338, -0.358753264, 0.2664455473, 0.7328690886, 0.0913890898, 0.4231899083, -0.3439754546, 0.4818032682, -0.14732261, -0.2307845354, -0.0129123731, -0.5130345225, -0.7676422596, -0.3142855465, 0.4754163921, 0.543828845, -0.5413681865, 0.2651917636, -0.4288311601, -0.3166870773, -0.8136054873, 0.1430607736, 0.6344160438, 0.6755126715, 0.6389812827, 0.0014996125, -0.3093915582, -0.7895879149, -0.3019019663, 0.1443181336, -0.2441467345, 0.5476039648, 0.129113093, -0.2608301938, 0.6390035748, -0.5170878172, -0.2096098512, -0.1551111341, 0.0080134757, 0.3834205866, 0.5300359726, 0.2658170462, -0.7021200061, -0.4180740118, 0.0396212414, -0.6280080676, -0.3488185108, 0.4648576379, -0.32139346, 0.2348330617, 0.5857184529, -0.3705321252, 0.2154942602, 0.4267583787, -0.2394532561, 0.314643085, -0.4455752075, 0.3377349377, -1.3329740763, 0.1679824442, -0.3580075204, -0.1876197606, -0.4257656932, 0.2313987166, 0.0751315355, -0.0480059013, -0.3044715226, 0.9031670094, -0.1667365134, -0.117621243, -0.4215362668, 0.0487632714, -0.0592190102, 0.5393447876, -0.166298002, 1.2712452412, 0.4309282303, -0.681497395, -0.1157254279, 0.2959491313, -0.3290162683, 0.5127522349, -0.9073727131, 0.0771597177, -0.156984672, 0.2999706566, -0.8948283792, -0.5642885566, -0.1063139662, -0.4397052526, 0.6039537787, -0.3067247272, -0.2388744205, 0.0332747288, -0.2914605141, 0.4560473561, 0.6275244951, -0.7649028897, -0.0407500789, 0.5769239068, -0.419758141, -0.9754700661, -0.3096062243, -0.0180378091, -0.4586347938, -0.3085924685, 0.6760787368, -0.2257633954, 0.0344721265, -0.3364917934, -0.2953429222, -0.1969752312, 0.179462254, 0.1295006871, 0.0801888779, -0.1762572825, 0.2606306076, 0.5453886986, -0.2797018588, -0.2673987746, -0.1904918998, 0.3688520491, -0.1019863188, -0.2452961653, -0.0691698268, 0.2383131385, 0.5597888231, -0.2213800102, 0.6691777706, 0.6056569219, -0.1492529064, -0.3907493353, -0.3733619153, -0.25046736, -0.5023440719, 0.3468918204, -0.2495870739, -1.3957158327, 0.1412192732, -0.3341187537, 0.2510247827, 0.1644893289, 0.7281497121, -0.1106086373, 1.1399611235, 0.4605505764, 0.0164517704, 0.2256685644, -0.1241566613, 0.1083117127, -1.2595986128, -0.0960714966, -0.4699163437, -0.4856534302, -0.7221114635, -0.5987594724, 0.9650362134, 0.5055224895, -0.4841076732, 0.0437583812, -0.7612403035, 0.6487923861, 0.4729364812, 0.0448695198, 0.2836685479, 0.0422184095, -0.263592273, 0.0808206573, -0.8734929562, -0.6222096682, 1.2849978209, -0.0260723233, 0.650200665, 0.1428265572, 1.0058630705, 0.1816003323, 0.4580985308, -0.560526073, 0.5192846656, -0.3883813918, -0.4896815419, -0.2891845107, -0.3782801628, -1.2116535902, 0.4983935356, -0.0814227685, -0.6771359444, -0.1969782114, 0.2026539892, -0.3876771629, 0.0201269761, -0.4056420028, 0.8454024196, -0.0914182067, -0.6726053357, -0.1692295074, -0.4312722385, 0.4188245237, 0.0664202645, 0.053598199, -0.2274987549, -0.2968501151, 0.5826871395, -0.2982198894, 0.5051365495, -0.2512223721, -0.1658581048, -0.1052990034, -0.1807897389, 0.1917026192, 0.3709010482, -0.2683926225, 0.0310331136, 0.0045702327, -0.3600952625, -0.5900682807, 1.0870993137, -0.588275373, -0.8009724021, 0.0373447612, -0.604021728, -0.4192568362, 0.2610621154, 0.5050273538, 0.6775487065, -0.0012935577, 0.5642656088, 0.8500952125, -0.3407411575, 0.1389301419, 0.5305013061, -0.106291838, -0.3733851612, 0.9558623433, -0.0711476281, -0.0606151335, 0.5674013495, 0.127881214, -0.240881741, -0.5922388434, -0.844058454, 0.0490022376, -0.4881278872, -0.4991304576, -0.6249818802, -0.2138010561, -0.2804172039, -0.217027247, -0.4132359624, -0.5075621009, -0.0283362772, 0.1742413044, 0.4687512815, 0.8406700492, 0.1384176612, 0.267590642, -0.5397376418, 0.4015916586, 0.3722602427, 0.5348135829, -0.13728562, -0.7565473318, -0.2225031108, -0.010578163, -0.3728417456, -0.6080929041, 0.2198300362, 0.3577110171, 0.600541532, 0.1223143414, 0.1050942093, 0.711484611, -0.9595418572, 0.5921765566, -0.4901502728, -0.5029199123, 0.4185470939, -0.6684938669, 0.3601344824, 0.7826356292, 0.2612382472, -0.2562219799, -0.6048568487, -0.3848001063, -1.0284736156, 0.6451842189, -0.0151347956, 0.0769038871, -0.1390767843, 0.4987135231, 0.169033885, 0.3040497899, -0.3727329075, -0.2957060337, 0.145296976, -0.2831535339, -0.0341090038, -0.2601991892, -0.1879556775, -0.4352282584, 0.7427477241, -0.249240607, 0.3071423471, -0.0659351274, -0.0169042423, -0.0159359314, 0.5367034078, 0.6718820333, 0.5950005651, -0.2707140446, -0.0287666395, 0.3372961879, -0.347160697, -0.0036566439, 0.1984749883, -0.2170964628, -0.2626330853, 0.1711349189, 0.7325329781, 0.9887851477, -0.5832787752, 0.420519501, -0.0659951866, 0.1162289679, -0.0746660233, 0.5322033167, 0.2421438098, 0.1658907384, 0.5088142753, -0.1678820401, 0.2684990466, 0.0112986509, 0.3540233076, 0.54631567, -0.1613959372, -0.0370065644, 0.9889768958, 0.2353247404, -0.1747258008, 0.2776277363, -0.2021643221, -0.3378404379, 0.4480805695, 0.5927596092, 0.5078507662, -0.2807606161, 0.0126386564, 0.5104871392, -0.0770632848, -0.0663176477, 0.2026528865, -0.374802053, -0.3760350943, -0.4837656319, -1.075343132, -0.5580760241, 0.1545369923, -0.7967714667, 0.1389725357, -0.1876515448, 0.1412013024, -0.1382840574, 0.0776071772, -0.4763402939, 0.0823385194, -0.0484272875, 0.7585405111, -0.2368718833, 0.9538265467, 0.9835572839, 0.0418004021, -0.6587894559, 0.0592457056, -0.1874867976, -0.7093363404, 0.5952380896, 0.3780642748, -0.351414144, 0.5061324835, -0.5592181087, -0.9669625759, 1.3737456799, 0.5288965106, -0.2804348469, 0.0061617862, -0.2332215607, 0.5129674077, -0.4963586032, 0.2759213746, 0.5091727972, 0.2611067295, 0.1826003343, -0.9525653124, -0.127082631, -0.3650813103, -0.119332321, 0.2648057044, -0.7069811225, 0.8911613822, -0.2221888155, -0.2186250091, 0.216402337, 0.4580631256, 0.8704904318, 0.2079079896, 0.0901663601, 0.6866798997, 0.8296164274, 0.0528914705, 1.1390496492, -0.669633925, 0.1478647292, 1.1929312944, -0.2731248736, 1.1848125458, 0.1983542889, 0.1341639012, 0.5533005595, 0.5202210546, 0.4588579535, 0.4651646912, 0.0522024296, -0.2593575418, -0.3748674691, -0.0014180531, -0.5856445432, 0.6965789795, 0.4940893352, -0.1383616626, -0.3953113258, -0.2919428647, 0.03704606, -0.0003093485, -0.4042399526, 0.8839777708, -0.0614627264, -0.8810632229, 1.1804023981, 0.1838224083, 0.8146041632, -0.2605090439, -0.2649764717, -0.4408647716, 0.1054864451, -0.0995306075, -0.5043542981, -0.0197332818, 0.2678574026, -0.189258486, -0.2489307076, 0.6906436682, -0.6332409382, -0.4149083197, 0.0680402592, 0.5073623061, 0.2957159281, 0.1547675133, -0.5921251774, 0.1112574935, -0.2189176977, -0.4495637417, 0.6056447029, 0.3472176492, -0.1320360005, 0.6584326625, 0.3741339743, 0.0164442044, 0.0431680381, 0.008196583, 0.9295735955, -0.436994046, -0.4159815907, -0.4138903916, 0.321516335, -0.1083768159, -0.4469663799, 0.5205871463, 0.5702468157, 0.8073380589, 0.1684116721, 0.4726874232, 0.1084384024, 0.853309691, -0.5342760682, 0.9576237798, -0.7557139397, 0.427180618, 0.0076837195, -0.9568667412, -0.1459326744, 0.6745055318, -0.346203953, 0.2825137079, 0.4690724611, 0.9696884155, -0.2096028775, -0.2469993681, 0.3615748882, 0.1403086334, 0.0135391094, 0.6984037161, 0.5571232438, -0.3338094354, 0.3511790633, 0.0221481454, -0.291069597, -0.3125070632, -0.6893385649, -0.8575085998, -0.4493498504, 0.0162959434, 0.096190773, 0.2657166421, 0.7746847868, 0.8529845476, -0.7406703234, -0.1684367657, 0.1255678087, 0.1007426158, 0.0447583459, -0.2142439783, 0.3759674132, -0.8369891644, -0.9296544194, 0.9968717694, 0.3593148887, -0.4483157396, -0.1057872847, -0.2127109766, 0.0579131357, -0.0834276602, 0.626930058, 0.0756112486, -0.7015563846, -0.2537075281, -0.140575096, -0.2860931456, 0.0821465626, 0.7258300781, -1.0331112146, 0.1824073792, 0.2933229208, 0.9910206795, 0.2720084786, 0.3522723615, 0.4604770839, -1.0892426968, 0.0644652992, 0.1868626624, 0.1300676763, 0.4503341913, -0.4707409143, 0.6393675208, -0.2208242267, -0.99794209, -0.9355486631, 0.1023247316, -0.8030908108, -0.2799825072, 1.2155401707, 0.0950098932, -0.0090071876, 0.0987581983, -0.1392674297, 0.2416783422, -0.3727141321, 0.9577074647, 0.2586984038, -0.2692142725, -0.0664424822, -0.8999046683, 0.7938388586, 0.6352049708, -0.8699047565, 0.0545413904, 0.5436342955, 0.3142871559, -0.2493676394, 0.6799253821, -0.1188882887, 0.3968873918, -0.3815307021, -0.1262940168, -0.2684964538, -0.5120482445, -0.2348583788, 0.3983272016, 0.1965886503, -0.0365872569 ]
http://arxiv.org/abs/2407.02483v1
http://arxiv.org/pdf/2407.02483v1
MMedAgent: Learning to Use Medical Tools with Multi-modal Agent
2024-07-02T17:58:23
2024-07-02T17:58:23
Binxu Li, Tiankai Yan, Yuanting Pan, Zhe Xu, Jie Luo, Ruiyang Ji, Shilong Liu, Haoyu Dong, Zihao Lin, Yixin Wang
cs.CL
cs.CL, cs.AI
Multi-Modal Large Language Models (MLLMs), despite being successful, exhibit limited generality and often fall short when compared to specialized models. Recently, LLM-based agents have been developed to address these challenges by selecting appropriate specialized models as tools based on user inputs. However, such advancements have not been extensively explored within the medical domain. To bridge this gap, this paper introduces the first agent explicitly designed for the medical field, named \textbf{M}ulti-modal \textbf{Med}ical \textbf{Agent} (MMedAgent). We curate an instruction-tuning dataset comprising six medical tools solving seven tasks, enabling the agent to choose the most suitable tools for a given task. Comprehensive experiments demonstrate that MMedAgent achieves superior performance across a variety of medical tasks compared to state-of-the-art open-source methods and even the closed-source model, GPT-4o. Furthermore, MMedAgent exhibits efficiency in updating and integrating new medical tools.
[ -0.1254169643, -0.6818448305, 0.914337039, -0.1092422456, -0.2227018476, 0.204355225, -0.0168198086, -0.4413872063, 0.3094410896, 0.1782637537, -0.8263187408, -0.4139069319, -0.5657681823, 0.1893263906, 0.110703744, 0.9731583595, 0.1683374494, 0.459351182, -0.1048704982, -0.2770854235, -0.3706144392, -0.5724007487, -0.6353576183, -0.6211924553, 0.9835066795, 0.2378538102, 0.9600240588, 0.6386483312, 0.5530725718, 0.4097133279, 0.4350995123, 0.5519260168, -0.1682875603, 0.1935932636, -0.2468922287, -0.4536293447, -0.6954067349, 0.2073683143, 0.1833170503, 0.6123901606, -0.339489758, -0.0254951678, -0.2448542416, 0.3856794536, -0.5204346776, -0.0129532395, -0.3071145713, -0.0895024389, -0.0072088274, -0.426964134, -0.5235635638, 0.0757949278, -0.0029361176, -0.7924363017, -0.0120443217, -0.145602718, 0.4709838331, 0.6637058258, -0.6897521019, -0.3938772082, -0.6589582562, 0.9200074673, -0.4455572963, 0.6447934508, 0.4055742621, 0.5724052191, -0.2263897806, -0.8291991353, -0.1145607308, -0.5765739083, 0.2796966136, 0.16993092, 0.004901431, 0.2955394685, -0.0021842206, 0.0815603733, -0.4854536057, 0.488476783, -0.2924029529, -0.2348280549, 0.2940846086, 0.5491445661, 0.1407842934, 0.2247997075, -0.4430076182, 0.0656141266, -0.5139711499, -0.2160181254, -0.1429123282, 0.0472047925, -0.1550978571, 0.5945925117, 0.0553619787, 0.5280455351, 0.117933698, -0.6699432135, 0.552991271, -0.1716156304, -0.4816753268, -0.2321631461, 0.6362140179, 0.3746809065, -0.1389557868, -0.1488715857, -0.4181800485, -0.0243140385, 0.6115439534, -0.8907152414, -0.0926260054, 0.3532664478, -0.5504975915, -0.4164266884, -0.3181401789, -0.2679658532, -0.6420640349, -0.5127775669, 0.4799648225, -0.344201982, -0.0269108154, 0.1839458346, 0.2408575565, -0.0020796412, 0.5517606139, -0.7404587269, -0.0751887411, 0.5609758496, 0.8616701961, -0.0796744004, -0.3110004067, -0.5562093854, -0.0094877686, -0.5391098261, 0.7648755312, -0.5757683516, -0.5251014233, -0.1487921625, 0.1527348906, -0.1535054743, -0.5215914249, 0.382658273, -0.3874039948, 0.2979806364, -0.0825043023, -0.4246812165, -0.2858086824, 0.2641139627, -0.6849134564, 0.585011363, 0.3367260993, -0.2581084967, 0.6672137976, -0.9973891377, -0.373095423, -0.0338643305, -0.4756766856, -0.4169745445, 0.1277629733, 0.2299780101, 0.6788431406, -0.5826956034, 0.1897415221, -0.2440078706, -0.2274776399, 0.3617812693, -0.607057631, 0.6767852306, 0.2526654303, -0.0548149534, 0.3626357615, -0.6328095198, -0.2105953842, 0.0879121497, -0.6577572823, -0.1695668101, 0.0382029526, 0.1488313228, 0.2629947066, 0.164339751, -0.5928441882, 0.3050701022, -0.4587621987, 0.1466067731, 0.9513776898, -0.2331931442, 0.2023805082, -0.8123161197, 0.6518476605, -0.0536550693, 0.4842685759, -0.1436706483, -0.5673881173, -0.3741354942, -0.7601709962, 0.0874867588, 0.5554872751, -1.0730092525, 0.1257227808, -0.0304480214, -0.6335109472, -0.8814650774, 0.1055776477, 0.3013946414, 0.440390259, 0.4023270905, 0.017759284, -0.1158576086, -0.8756496906, 0.1067482904, 0.0443616137, -0.1178134903, 0.732732296, 0.2304379046, -1.0147742033, 0.3981114924, -0.3476906717, -0.4358462393, -0.0762114972, -0.0235993285, 0.2977755368, 0.3475919068, 0.7149245143, -0.6877216101, -0.2089052349, 0.3807442784, -0.8410032988, -0.2793693244, -0.3619605005, 0.0998781547, 0.3281636536, 0.5439193249, -0.610897541, 0.0086216042, 0.8156399727, -0.394841671, 0.7699002028, -0.6930947304, 0.3017522991, -1.3579696417, 0.1233413219, -0.0601671264, -0.4580430984, -0.674328208, 0.14873074, 0.1604072005, 0.1831327081, -0.633421123, 0.6590613127, -0.45053491, 0.3346540928, -0.6299648285, -0.3503414094, -0.1262151301, 0.3379535973, -0.5121552944, 1.0122394562, 0.4632251561, -0.6437827349, 0.4527327716, -0.0067990422, 0.2244398296, 0.7463600039, -0.6299774647, 0.2091164738, -0.0459201969, -0.171110332, -0.2794596851, -0.3588919342, 0.3712219894, -0.2995821834, 0.3321765959, -0.0759098902, -0.5704550743, -0.220051378, -0.1410142928, 0.3792212307, 0.4705069363, -0.5379393697, 0.9200949669, 0.4123257697, 0.0398510471, -0.6953103542, -0.4518537819, 0.1333366483, -0.0099497838, -0.2741236389, 0.1187931374, -0.4399766922, -0.0854162797, -0.2291346341, -0.1942995787, -0.1572794765, 0.2017385513, 0.4418652952, 0.5432178378, -0.334528923, 0.6474769711, 0.3602077067, -0.4356155694, -0.0433032587, -0.1500029564, 0.3868637681, 0.0327492431, -0.8680861592, -0.1898743957, 0.366530031, 0.8830562234, -0.1836469918, 0.6077077985, 0.5365000963, -0.1792584807, -0.1393658817, -0.6429938078, -0.3592658937, -0.5860746503, 0.6248241663, -0.4617180228, -0.8427880406, 0.1332398057, -0.3598229587, 0.3685111701, 0.1611628979, 1.1035313606, -0.0181485247, 1.3597509861, 0.6863924265, -0.0441193655, 0.4339760244, -0.0373151489, -0.4078000188, -0.5797616243, -0.2362353802, -0.0958571732, -0.2835386395, -0.3931643665, -0.7427413464, 0.7991213799, -0.6834068894, -0.0575363897, -0.1344612986, -0.5204193592, 0.3953396678, 0.5928551555, 0.3457637429, 0.0795932114, -0.2589845359, -0.4841275513, 0.2000106424, -0.5473995805, -0.385812521, 1.373590827, 0.3699397743, 1.1576265097, 0.1631754488, 0.6428864002, 0.2974693775, 0.4705200493, -1.0757766962, 0.3228912354, -0.330327183, -0.5615376234, 0.0457664244, -0.2540262938, -1.43831563, 0.675643146, -0.3065241873, -0.2708153725, 0.0686555281, 0.0874110311, -0.4010148346, 0.1263212115, -0.6714169979, 0.5974205136, -0.4097671211, -0.3534773886, -0.4005488455, -0.7215718031, -0.0279398914, -0.3027590215, 0.2837048769, -0.2526772916, -0.5491130948, 0.2697880864, -0.3474594057, 0.7916099429, -0.3416851759, 0.027991455, -0.2451518774, 0.0479362309, 0.0796882287, -0.1288809329, 0.0526138134, -0.0483760461, -0.0070352936, -0.3583109975, -0.4739997387, 0.6397308111, -0.7763368487, -0.5212236643, -0.3307033777, -0.8679337502, -0.1767597646, 0.4762271047, -0.1194938198, 0.6869980097, -0.2446583956, 0.0194895491, 0.6342551708, -0.1592152566, 0.307031244, 0.9171019197, -0.2380246371, -0.3335906863, 0.7528013587, 0.0007037051, 0.188835606, 0.2244174927, 0.3236406744, -0.0064993151, -0.4932895303, -0.6825324297, 0.4133615494, -0.6027538776, -0.2686640918, -0.6030862331, -0.0455959514, 0.0955898613, -0.3532054126, -0.3254459798, 0.0246855598, -0.5400975943, 0.0433030277, 0.1118307337, 0.7448248863, -0.0381408706, 0.3693827391, -0.978304863, 0.4025939703, 0.2795357108, 0.2551179826, -0.4119875133, -0.1024077684, -0.5278626084, 0.0039702766, -0.3019340932, -0.9369397759, 0.2752445936, 0.3086844683, 0.9329963923, 0.8854842186, -0.3045030534, 0.2439237833, -0.7051054835, 0.3617549837, 0.2060804069, -0.4081209004, 0.4327369928, -0.3650111854, 0.3729587495, 0.3145001233, 0.3548958302, -0.3694806099, -0.4563093185, -0.2568991482, -0.5298672915, 0.4544510841, -0.2604555488, 0.1191059425, 0.0448949225, 0.1865231097, 0.5454542637, 0.3049984872, -0.4081301689, -0.1500407159, 0.1302335113, -0.4883295, -0.3317798376, 0.0846505314, -0.3114058971, -0.1055463701, 0.6104314327, -0.5321840644, 0.3262667358, 0.3027279377, -0.4243369102, -0.1728500575, 0.1610773057, 0.7763080597, 0.6606872082, -0.0113490121, 0.1123180538, -0.0265799984, -0.7882547379, 0.4114136994, 0.3916739523, 0.1990940273, 0.0138294324, 0.2367462516, 0.4669390619, 0.2152135372, -1.1047483683, 0.6054353118, 0.1260464638, -0.2562136352, -0.0144151906, 0.2559736073, -0.0125087015, 0.6442902088, 0.1142455414, 0.2842054963, 0.462687403, -0.2161579281, 0.3844014406, 0.5290373564, -0.5298178792, -0.2960338891, 0.8912538886, 0.257612437, -0.2373800874, 0.2942094207, -0.1042093039, -0.0437255129, 0.4317825437, 0.4731735885, 0.6972616315, -0.609513104, 0.1823110729, -0.2450742871, 0.5486403704, 0.2179243565, 0.4623056054, 0.1755522341, -0.532753408, -0.522336781, -0.2250983715, -0.3966057897, -0.1267717034, -0.2857728899, 0.0910769999, -0.520719707, -0.6024726629, 0.3629254103, -0.2216100246, -0.8229627013, 0.081166409, -0.0622341186, 0.7491031885, -0.5417103767, 0.9484978318, 1.1334118843, -0.4984293282, -0.5090600848, -0.318500489, 0.4159982502, -1.2554014921, 0.1721531153, 0.2050176114, -0.3159561753, -0.2315726876, -0.3417435288, -0.3817361295, 1.1566486359, 0.5005837679, -0.3283215165, -0.1239439175, -0.0541907027, 0.4711688757, -0.446601063, 0.2511495948, 0.3190754354, 0.2467752844, -0.0932140797, -1.2022479773, 0.0349711254, -0.3488010764, -0.4820756316, 0.3068525493, -0.5341044068, 1.1326055527, -0.5592870712, 0.1142342612, 0.0247449744, -0.015353377, 0.2683257163, 0.6134502888, 0.426928699, 0.2830001116, 0.8385972381, 0.2591914535, 1.1147617102, -0.198944822, -0.0051136711, 0.8111603856, -0.2455752492, 0.4011262357, 0.434094429, 0.0270901434, 0.4636511803, 0.4727788866, -0.1783059984, 0.4492056072, -0.2772290707, -0.5000783801, -0.2369859815, -0.1205057725, -0.2364384234, 0.4337121844, 0.4722173214, -0.714928925, -0.144300282, 0.4355620742, 0.0867464989, -0.2504867911, -0.3854804635, 1.0926011801, 0.156495735, -0.2034419775, 0.4742562771, 0.0994941816, 0.5928563476, -0.7520698905, -0.1502264887, 0.1428947449, 0.2508659661, -0.010792044, -0.2760896087, -0.2049906254, -0.4320221841, -0.2621387243, 0.0353167988, 0.7484753132, -0.2123621255, -0.458315134, 0.2362384647, 1.0701576471, 0.1319073141, 0.0114186136, -0.858322978, -0.3110336959, -0.2279550731, -0.120908618, 0.2974507809, 0.3765649199, 0.1145762354, 1.0497647524, 0.8680424094, 0.1815937907, -0.0030826486, 0.1727722138, 0.9505498409, -0.4908089936, -0.4424270093, -0.8824732304, 0.4733142257, 0.1720741838, -0.0970390812, 0.4540823996, 0.4859267473, 0.2653310895, -0.149389267, 0.6543290615, 0.2743823528, 0.6290934682, -0.4394465685, 0.7978133559, -0.8633024096, 0.0682484508, 0.1811079383, -0.4464784563, -0.2454106659, 0.5144485235, 0.0988539755, 0.3201534152, 0.718965888, 0.9282522202, -0.2068525255, -0.4390208125, 0.72509408, 0.0874335393, 0.388686806, 0.4924966097, 0.6948460937, 0.1336760074, 0.1630646437, -0.0211672038, -0.6554761529, -0.6156557798, -0.3838021755, -1.1475224495, -0.3897122443, 0.1881138682, -0.0338699706, 0.0968415886, 1.5759162903, 1.0249046087, -0.4070375562, -0.081260398, 0.4949865639, -0.0595630743, -0.3271376789, -0.0731835142, 0.1503644884, -0.4859629571, -0.6153169274, 0.8660345078, 0.3887130618, 0.0928017646, -0.3581023216, -0.1529964656, -0.0065834397, 0.4212571979, 0.7219450474, -0.0422419719, -0.763425827, -0.1073141992, 0.2236142159, -0.3426314592, 0.2300454676, 0.8841544986, -0.7016831636, 0.7387937903, -0.2333975881, 0.8217081428, -0.0611343719, -0.2751979232, 0.4741271436, -0.5020711422, 0.1506876349, 0.4355542958, 0.3882491291, -0.0095892996, -0.3175884783, 0.3886812031, 0.0037357106, -0.8604043126, -0.5691539049, 0.1594501138, -0.9444217086, -0.521186471, 0.9314655662, 0.2024516761, 0.075123325, -0.3474024832, -0.7290390134, 0.1719896942, -0.5488587618, 0.6626517177, 0.1518639922, -0.3776141405, 0.0234236605, -0.8797163963, 0.2327799648, 0.2739799619, -0.9439445138, -0.4007068872, 0.8252438903, 0.292068094, -0.0323964208, 0.8427574039, 0.0065646577, 0.6572870612, 0.0660762861, 0.1049796864, -0.5396237373, -0.4111828208, -0.304423511, 0.0290181562, 0.3427499533, -0.4324216545 ]
http://arxiv.org/abs/2407.02477v1
http://arxiv.org/pdf/2407.02477v1
Understanding Alignment in Multimodal LLMs: A Comprehensive Study
2024-07-02T17:55:03
2024-07-02T17:55:03
Elmira Amirloo, Jean-Philippe Fauconnier, Christoph Roesmann, Christian Kerl, Rinu Boney, Yusu Qian, Zirui Wang, Afshin Dehghan, Yinfei Yang, Zhe Gan, Peter Grasch
cs.CV
cs.CV, cs.CL
Preference alignment has become a crucial component in enhancing the performance of Large Language Models (LLMs), yet its impact in Multimodal Large Language Models (MLLMs) remains comparatively underexplored. Similar to language models, MLLMs for image understanding tasks encounter challenges like hallucination. In MLLMs, hallucination can occur not only by stating incorrect facts but also by producing responses that are inconsistent with the image content. A primary objective of alignment for MLLMs is to encourage these models to align responses more closely with image information. Recently, multiple works have introduced preference datasets for MLLMs and examined different alignment methods, including Direct Preference Optimization (DPO) and Proximal Policy Optimization (PPO). However, due to variations in datasets, base model types, and alignment methods, it remains unclear which specific elements contribute most significantly to the reported improvements in these works. In this paper, we independently analyze each aspect of preference alignment in MLLMs. We start by categorizing the alignment algorithms into two groups, offline (such as DPO), and online (such as online-DPO), and show that combining offline and online methods can improve the performance of the model in certain scenarios. We review a variety of published multimodal preference datasets and discuss how the details of their construction impact model performance. Based on these insights, we introduce a novel way of creating multimodal preference data called Bias-Driven Hallucination Sampling (BDHS) that needs neither additional annotation nor external models, and show that it can achieve competitive performance to previously published alignment work for multimodal models across a range of benchmarks.
[ -0.5481488705, -0.5671027303, 0.678073287, 0.0334136002, -0.1557460427, -0.0777745619, -0.256393224, -0.5009062886, 0.2123935223, 0.4929130375, -0.5805451274, -0.3478939235, -0.5168312192, 0.0507115908, 0.044274006, 0.7982633114, -0.1120611057, 0.2912185192, -0.4428916276, -0.3839724958, -0.5621231198, -0.440841645, -0.1620665342, -0.2850599587, 0.6994626522, 0.2472089827, 1.0477310419, 0.7887673974, 0.708350718, 0.3408328295, 0.0575581528, 0.4902718365, -0.4909598529, 0.2562012374, 0.049447678, -0.2525863647, -0.5037055016, -0.1845031977, 0.5281156898, 0.5264691114, 0.1414671987, -0.0464297533, 0.0038610252, 0.9100584984, -0.73650527, -0.1338721067, -0.7131319046, 0.1121947914, -0.1022297814, -0.3114327192, -0.417666018, -0.3972062767, 0.3662393689, -0.4908522666, 0.0211551934, 0.0839651674, 0.8019043803, 0.397515893, -0.6850917339, -0.3218600154, -0.5774078965, 0.9629384279, -0.4999093711, 0.570543766, 0.264977783, 0.1992396265, -0.0703448877, -0.1400527805, -0.6586056948, -0.0427291878, -0.1506586373, -0.1178516448, 0.0450332612, 0.1654006243, 0.2178640217, 0.3417810798, -0.6808387637, 0.2673556507, 0.0198178291, -0.2733378112, 0.5999359488, 0.1532594115, 0.095301494, -0.2328382581, -0.432138294, -0.1545603126, -0.567306757, 0.0635173768, 0.4503224194, 0.2903000414, -0.0495480448, 0.8708528876, 0.094104372, 1.0214921236, 0.2407338917, -0.4523050487, 0.4247041941, -0.3940602541, -0.1505366564, 0.1663139611, 0.5886560082, 0.8360859752, 0.2171791345, -0.0377967171, -0.2263759226, 0.1426808685, 0.3368621767, -0.5223948359, 0.1211388037, 0.4628957808, -0.7317318916, -0.3028644025, -0.0660290942, -0.7717144489, -0.7409831285, -0.9309508801, 0.387704283, -0.1933016777, -0.2123291045, -0.0227511581, 0.0017834306, 0.2903439701, 0.4042044878, -1.0159045458, -0.1091472805, 0.6506577134, 0.8692356944, -0.4692635238, -0.3711329401, -0.4291457236, 0.063508153, -0.3209841251, 0.7263547182, -0.6178364754, -0.1451402158, 0.0631221607, 0.021999428, -0.0696956739, -0.5232992172, 0.3394408226, -0.5715792179, 0.1737378985, -0.4995513856, -0.5686154962, -0.2938891947, 0.3058612049, -0.6919496655, 0.7931416035, -0.2385437936, -0.789403379, 0.5328603983, -0.4725337625, -0.1348534226, -0.4189596474, -0.3319323659, -0.4306420088, 0.2947538197, 0.3516239822, 0.5237860084, 0.0228317734, 0.4696422219, -0.6273860931, -0.3773250282, 0.5433542132, -0.2918800116, 0.6665270329, 0.1420685649, -0.4360052645, 0.4964009523, -0.5951266885, -0.1041521356, 0.0223229509, 0.0503334701, -0.3296484053, 0.1206218675, 0.0997305214, 0.3298841715, 0.2645574808, -0.2666008174, 0.3683426082, -0.0110037457, 0.1697977036, 1.233052969, -0.3365699947, 0.5387006402, -0.3917354643, 0.2642714083, 0.0588633567, 0.3390751183, 0.0102115311, -0.2155806124, -0.5577783585, -0.4111133516, 0.1230267212, 0.2480381578, -0.4866430163, 0.3822238743, -0.3114971817, -0.2582759559, -0.8854426146, 0.1472860873, 0.3015200198, 0.4523078501, 0.3708740771, -0.2316791415, -0.67198807, -1.2243397236, 0.1064634919, 0.0796466619, 0.3401615322, 0.5090373755, 0.1652215421, -0.3943230808, 0.9571256638, -0.5090141892, -0.2527873814, -0.0744210482, -0.1740250885, 0.0581374317, 0.2027314156, 0.5757910609, -0.9771004319, -0.4110272527, 0.0639372468, -0.7571640611, -0.0190455113, -0.0303696375, -0.2657755613, 0.5023652911, 0.0867043883, -0.5161733627, 0.2055534571, 0.8436270952, -0.1226509735, 0.5183777809, -0.0774764568, 0.3428201973, -0.8480827212, -0.0538807064, 0.0557557605, -0.1416675001, -0.6535994411, -0.0872614309, 0.0985386521, 0.1557926536, -0.4967141747, 0.4163661897, -0.5802099109, -0.4827117026, -0.3079685569, 0.1100203991, 0.0036477696, 0.4441055357, 0.3906864524, 0.748762548, 0.6265358329, -0.4940616786, 0.3091039658, 0.3051165342, -0.2604083717, 0.518284142, -0.3524154723, 0.3462813795, -0.3854594529, 0.034240149, -1.0984534025, -0.1780847162, 0.1291820556, -0.1663452089, 0.4379805624, -0.0379777625, -0.2433879822, 0.0366307832, -0.5379770398, 0.4667526186, 0.1653562635, -0.6145057082, 0.583729744, 0.6118712425, 0.2113616168, -1.0987068415, -0.3073328435, -0.1075957194, -0.3971208334, -0.6442932487, 0.3778129816, -0.1410607249, -0.4896971285, -0.2329866141, -0.1269458383, 0.2484799623, -0.1186935827, 0.3283464313, 0.6425748467, -0.2133314908, 0.0948557183, -0.205545947, 0.0190484617, -0.2990425825, -0.0358796641, 0.7694752216, -0.0595064461, -0.4214698076, -0.5166057944, 0.2464158237, 0.674454391, -0.081890896, 0.6118325591, 0.5549760461, -0.1268718094, 0.2362502217, -0.7490007281, -0.1552468538, -0.4330812693, 0.2376395017, -0.4798203707, -0.7712258697, 0.3171628714, 0.3115638494, 0.1356620789, 0.2146816403, 0.6983364224, -0.2753864825, 1.1644825935, 0.5872040987, -0.1109275594, 0.4939845204, 0.121702455, 0.2178674191, -0.8231167793, -0.3238371909, -0.2876560688, -0.6722061038, -0.7576906085, -0.3290377259, 0.2353290766, -0.1303288639, 0.0202257987, 0.2008565366, -0.4895677567, 0.3697205782, 0.3165971339, 0.2102026045, 0.276360929, 0.1830706596, -0.0063699647, -0.3014542162, -0.3837605119, -0.6738880873, 1.2360948324, 0.3384538591, 0.8559764624, 0.2574271858, 0.4797636569, 0.1448882669, 0.0693878531, -0.9555544853, 0.4400241673, -0.014663971, -0.4961882234, -0.3494353592, -0.2270739824, -0.8695524335, 0.5332909822, -0.355637759, -0.6407178044, 0.4036093056, 0.3575498462, -0.2170002759, 0.1429636329, -0.6492519975, 0.823412776, -0.6543684602, -0.6677276492, -0.1144805029, -0.7973733544, 0.3042031527, -0.048715245, 0.1121083125, -0.1794228554, -0.0150704607, 0.4057169557, 0.1045944914, 0.646882236, -0.130347833, -0.2504937649, -0.1901611537, -0.0255751982, 0.3909875751, -0.2157681286, 0.0053167553, 0.274700135, 0.012937475, -0.2273013741, -0.5905207396, 0.7502050996, -0.8473883271, -0.6241622567, -0.3554599881, -0.8350607157, -0.3693225682, -0.0329773724, 0.0711865276, 0.4398314953, 0.0455892272, 0.1568625569, 0.8078579903, -0.1821520925, 0.4167535007, 0.0826490968, -0.5996102095, -0.3513086736, 0.8695694804, 0.1023216173, 0.2980214953, 0.5582292676, 0.0864283442, -0.6712124944, -0.4529154003, -0.4228587449, 0.354811281, -0.8329774737, 0.0791265815, -0.8247197866, 0.0893573985, -0.6103090048, -0.2650345564, -0.2742933035, -0.2679136395, -0.2570688426, 0.0147774518, 0.0990329981, 0.5478270054, 0.0396055877, 0.0163860116, -0.5949778557, 0.3615511358, 0.2316788882, 0.2385200113, 0.0244554617, -0.3832679987, 0.0214199964, 0.0016408699, -0.388086468, -0.8859598637, 0.2677177489, -0.1138953939, 0.6086444855, 0.7775241733, -0.2035654336, 1.045429945, -0.3021011651, 0.5920801163, 0.1631837338, -0.7729040384, 0.349408865, -0.132880494, 0.0195003897, 0.4949172735, 0.6083683968, -0.4615404606, 0.0997213647, -0.1551956385, -0.6127534509, 0.5117442012, 0.0973354578, 0.0601766855, 0.2532333434, 0.072643891, 0.4425138533, 0.3549497128, -0.7879633904, -0.3088409603, -0.1924807131, -0.2640343308, -0.3401608765, -0.4081984162, -0.3701006174, -0.2582663298, 0.5654012561, -0.1982538551, 0.2703122199, -0.0014066222, -0.3587869406, -0.0171275921, 0.1780800074, 1.0542197227, 0.8607375622, -0.3594906032, 0.3262091875, -0.2336645871, -0.1680271924, 0.2526260316, -0.2233157307, -0.0555370338, 0.0069333916, 0.1864513159, 1.0500203371, -0.1291048378, -0.5878207684, 0.434907943, 0.0050631999, -0.0448569506, -0.0573062748, -0.1046240181, -0.1918256581, 0.2230988592, 0.1695746481, 0.1457267553, 0.1632861048, -0.5222465396, 0.0712530464, 0.8293529153, -0.4110185504, -0.1601845771, 0.3505957425, -0.008565736, -0.0813650489, 0.5056557059, 0.1784254909, -0.4332385361, 0.4351707697, 0.4924632013, 0.7322664261, -0.0434501246, 0.2243397087, 0.1824917495, 0.2070520073, -0.0571209826, 0.1434273571, -0.1664783508, -1.0486903191, -0.3256241083, -0.5639361143, -0.356757611, 0.1251668185, -0.6014474034, 0.3732210398, -0.0488324165, -0.3249328136, 0.0014227825, -0.3316566646, -0.5562232733, 0.06006594, 0.223983869, 0.3389797211, -0.7931380868, 0.5703988671, 0.64398247, -0.1006377116, -0.4772446454, 0.0946532413, 0.3928750753, -1.0054373741, 0.6324719787, 0.3452638388, -0.175528571, -0.1493297666, -0.301795274, -0.9758298993, 0.8644685745, 0.311265409, -0.6374504566, 0.0058344044, 0.1031136438, 0.3450420201, -0.5495707393, 0.3026698232, 0.4341400862, 0.5833653808, 0.1508018374, -0.9138755202, -0.0401165895, 0.0548732951, 0.212100938, 0.3304583728, -0.5214568377, 0.4877564907, -0.3405133784, 0.0269767288, -0.1967044026, 0.3307901025, 0.3713754117, 0.3330871463, 0.5363482237, 0.5040922165, 0.7307202816, -0.1275566667, 0.9238784313, -0.1250548512, 0.256819427, 1.0650823116, -0.6124508977, 0.7413802147, 1.0758910179, -0.0456838831, 0.1871415675, 0.9217289686, -0.058250688, 0.7113800049, -0.0363980904, -0.0242630038, -0.2666763961, -0.3393130004, -0.4770737588, 0.6237285733, -0.012144044, -0.5001980066, 0.0649436712, 0.0560941324, -0.2367554605, -0.1288211495, -0.2178390771, 0.9785952568, -0.3014754057, -0.8985756636, 0.4551240802, -0.3348581791, 0.7106273174, -0.4182221591, 0.0958521739, -0.1107665226, 0.1831476539, -0.4450536072, -0.8383713365, 0.2651135325, -0.2972627878, -0.3926881254, -0.2724637091, 0.501183629, -0.4489880204, -0.2079806924, 0.2475005835, 0.33912763, 0.1749746054, 0.1076720953, -0.686029315, 0.496039331, 0.1719742566, -0.1701389104, 0.5456878543, 0.0671262294, -0.105551444, 0.5036078095, 0.6487320065, -0.0107207336, 0.0501560643, 0.1756572127, 0.6008630991, -0.3941679597, -0.0805605277, -1.120687604, 0.5693388581, -0.1626787484, -0.1878746599, 0.7943799496, 0.7279768586, 0.8404915929, -0.1909143776, 0.5667927265, 0.0999208093, 0.0327498093, -0.776530087, 0.3810000122, -0.7148528099, 0.010897859, -0.3799949586, -1.2299416065, -0.2981520295, 0.6930052638, -0.3993633091, -0.0822144151, 0.672906518, 1.1245905161, 0.002076668, -0.1277818084, 0.3764788508, -0.1516239494, 0.0896020383, 0.2082866579, 1.0489141941, -0.0621080101, 0.251314044, -0.4125975668, -0.1469355822, -0.2314880341, -0.9909396172, -0.7535822392, -0.7362644076, -0.301780194, -0.3274958432, -0.1143318713, 1.1952258348, 0.6819731593, -0.7548313141, -0.4128351808, 0.3039208353, 0.2551105022, -0.2366333604, -0.2147846371, 0.4114541709, -0.2768191099, -0.8081198931, 0.0989906415, 0.5145555139, 0.2889308035, -0.2156023234, -0.2424622476, -0.1977936476, -0.076390259, 0.6546471715, -0.0827005506, -1.1072289944, -0.1245151684, 0.2731689215, -0.2140390128, 0.4649301171, 0.9142184258, -0.2932191789, 0.7721722126, 0.4791120589, 0.7292237878, 0.3606830537, 0.0843068957, 0.4893341959, -0.4854872227, 0.0694722831, 0.042172499, 0.45032686, 0.4580211341, -0.4471780062, 0.324536413, 0.0889776275, -0.6282494664, -0.933039546, 0.2916480005, -1.1208313704, -0.3222167492, 1.2244422436, 0.3597122729, -0.0534520708, -0.0593456104, -0.5516021848, 0.0981989652, -0.3166418374, 1.0078322887, 0.876583457, -0.4322072566, -0.2780035734, -0.320799768, 0.4668127596, 0.4259417057, -0.5874806643, 0.0499575175, 0.8915681839, 0.0386281535, 0.2187747359, 0.4991880655, -0.108442463, 0.0740534812, -0.5296447873, 0.1538347155, 0.0898302272, -0.4130968451, -0.5235903263, 0.1966088712, 0.0408323631, -0.3184818625 ]
http://arxiv.org/abs/2407.02472v1
http://arxiv.org/pdf/2407.02472v1
ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactions
2024-07-02T17:51:27
2024-07-02T17:51:27
Chan Young Park, Shuyue Stella Li, Hayoung Jung, Svitlana Volkova, Tanushree Mitra, David Jurgens, Yulia Tsvetkov
cs.CL
cs.CL
This study introduces ValueScope, a framework leveraging language models to quantify social norms and values within online communities, grounded in social science perspectives on normative structures. We employ ValueScope to dissect and analyze linguistic and stylistic expressions across 13 Reddit communities categorized under gender, politics, science, and finance. Our analysis provides a quantitative foundation showing that even closely related communities exhibit remarkably diverse norms. This diversity supports existing theories and adds a new dimension--community preference--to understanding community interactions. ValueScope not only delineates differing social norms among communities but also effectively traces their evolution and the influence of significant external events like the U.S. presidential elections and the emergence of new sub-communities. The framework thus highlights the pivotal role of social norms in shaping online interactions, presenting a substantial advance in both the theory and application of social norm studies in digital spaces.
[ -0.5008073449, -0.6970143318, 0.5746389627, 0.0070146918, -0.0388539806, -0.0387087055, -0.1629312932, -0.4997539818, 0.5392253399, 0.2822085321, -0.6579502821, -0.3571888804, -0.8672063351, 0.1083102897, -0.5152158737, 1.1438375711, 0.437225312, -0.1255837232, -0.4137932956, -0.132535249, -0.0514757968, -0.5596929789, -0.2115889639, 0.1660075933, 0.550824821, 0.4907373786, 0.4943728447, 0.3012241721, 0.6964771748, 0.2828595638, -0.1680621505, 0.0153299132, -0.9314325452, 0.0297180563, -0.1416765004, 0.0603852645, -0.3615124822, 0.4576771855, 0.4399462342, 0.6769866943, 0.1526134014, 0.5444170833, 0.1609648615, 0.6932749748, -0.7499069571, 0.4569394588, -0.3566917181, -0.2295160443, -0.1092701629, -0.1191758364, 0.0872279257, -0.7972890139, -0.1585919112, -0.698400557, -0.2314886749, -0.2746602297, 1.0294374228, 0.0236282013, -0.8240498304, -0.2667692006, -0.5026621222, 0.7960008979, -0.3067784309, 0.6420935988, 0.2788250446, 0.4451724589, 0.151571095, -0.9635113478, -0.6314371228, 0.1765345335, -0.0444934182, -0.0172600821, -0.4768783748, -0.0397364199, 0.1032496095, 0.2082926631, 0.2607509494, -0.5891119242, -0.9104456902, 0.3074281216, 0.6451401711, 0.0373980701, 0.1529566348, -0.4408439696, 0.1787635684, -0.1212137341, -0.2996106446, 0.5791057348, 0.7507368326, 0.2824953198, -0.1982393712, 0.6952303052, -0.0616340265, 0.2488524765, 0.4326506555, -0.0643255487, 0.2955725193, -0.9018253684, 0.1244283989, -0.3561781943, 0.3859923184, 0.8412815928, 0.6786049008, 0.5344846845, 0.1437251568, 0.2490506917, 0.4735499918, -0.574219346, 0.0541612208, 0.0985021293, -0.7399383783, -1.0314259529, 0.118567951, -0.9210223556, -0.4388938546, -0.244059056, 0.0157790408, 0.1869327724, -0.7322778702, -0.1569168121, -0.5249552727, 0.2002381235, 0.393871963, -0.8352854252, 0.6655022502, 0.7723040581, 0.8599380255, 0.0015134847, -0.0429058559, -0.3509254456, -0.3620621562, -0.2229714692, 0.4901534021, -0.800942719, -0.5210084915, 0.0327463672, -0.1022720635, 0.5010800958, -0.0457326099, 0.1628206819, -0.7607511282, -0.2200046033, -0.3595633209, -0.4684916139, 0.026625419, 0.4555701315, -0.8521857858, 1.0587393045, 0.031104384, -0.5648427606, 0.7056922317, -1.2057658434, -0.1499228477, -0.0476900451, -0.2552429438, -0.2422501743, -0.0025728948, -0.1452555209, 0.2951861322, 0.1788580567, 0.1100006104, -0.6346146464, -0.0123382574, 0.5115336776, -0.2052460909, 0.8085367084, 0.2131131291, -0.2925059795, 0.3121137321, -0.7861350775, -0.1195871904, -0.0332054161, -0.0509733856, -0.4908238649, 0.1934217662, 0.3782382011, 0.1078716591, 0.1202230155, -0.5967747569, 0.1470033824, -0.142245844, 0.9404658675, 0.7729385495, 0.0647637397, 0.5405316353, -0.0012727155, 0.2974437475, -0.0199067742, 0.4535298944, 0.3075083494, -0.6514599323, -0.4501698613, -0.1562601924, -0.3843377829, -0.0663725957, 0.1370751709, -0.0213528927, -0.2011113912, -0.5482048392, -0.506762743, 0.1364576817, -0.0708053187, 0.2173625827, 0.2506918311, -0.2400677949, -0.5835059285, -0.8157964349, -0.5279061794, -0.3173876107, 0.106597431, 0.4232997596, 0.6622365713, -0.5930184722, 1.5787292719, -0.4856041968, -0.2213498652, -0.2701333761, 0.2082601488, 0.1254377961, -0.1059830338, 0.3883245885, -1.2896666527, -0.364669323, -0.2259102017, -0.4039859772, -0.3785999417, 0.3486441374, 0.2261054367, 0.0497266762, 0.61272192, 0.036942333, 0.5071004629, 0.7870841026, -0.6250273585, 0.4108731151, 0.3634203672, 0.6087087393, -1.0161192417, -0.0187032521, 0.1306322217, -0.3787738383, -0.5221979022, 0.0541093089, 0.094266139, 0.0628168136, -0.7065041065, 0.6600651741, -0.1591735184, -0.2901774049, -0.184661746, 0.1870873123, 0.2225018889, -0.0771163926, 0.0305938721, 0.7268638015, -0.0154590523, -0.4387091696, 0.3686684966, 0.229571715, -0.0188621879, 0.8172684312, -0.737639308, -0.0756927878, -0.2363202423, 0.010543867, -1.2297353745, -0.2624524236, 0.0793780684, -0.8042080998, -0.5175537467, -0.5405653119, -0.0896606147, -0.0362731963, -0.6159095764, 0.7257983088, 0.3751653135, -0.1944822371, 0.3951158226, 1.0788890123, 0.0175889041, -0.3879075348, -0.5287796855, 0.0687419623, -0.202826649, -0.6640847921, -0.2501824498, -0.0685360134, -1.1099419594, 0.1725616902, 0.3548079431, -0.3582516909, 0.0917209685, 0.5756017566, 0.1076160371, 0.0593917184, 0.1214023605, 0.1013877988, -0.1937063932, 0.0660205856, -0.2917174399, 0.3101164699, -0.9225446582, -0.3201653957, 0.0000507941, 0.3865414858, 0.7470186353, -0.1372330189, 0.6476186514, 0.2932969332, -0.423849076, 0.4178462923, -0.4988104105, -0.3918811977, -0.5492821336, 0.3732035756, -0.1987389922, -1.1981649399, 0.3889705241, 0.1417644173, 0.2727346718, 0.6092336774, 0.5651384592, -0.3241778314, 0.629592061, 0.9219789505, 0.4401681721, 0.3103344738, 0.0795191452, 0.2623606622, -0.5105627179, 0.0192272738, -0.2904377878, -0.221768558, -0.7453905344, -0.2787239254, 0.8222067952, -0.1420566738, -0.1777716279, 0.2912631035, -0.4732333124, 0.5332320333, 0.4142634273, -0.2030377835, 0.5866413713, -0.2680068314, 0.3186225593, -0.472074002, -0.2928613126, -0.7429509759, 1.2161551714, 0.3356080353, 0.6766883731, 0.3285652101, 0.4007889032, 0.721285522, 0.3069998622, -0.953291893, 0.2916558385, 0.0106861219, -0.802672267, -0.6238039732, -0.208763808, -0.8809096813, -0.1681341827, -0.4182362854, -0.4161261618, 0.3303928673, 0.2418167293, -0.2492017597, 0.2817080021, -0.3042374551, 0.7998855114, -0.0221958309, -0.4794422388, -0.4751637578, -0.5922961235, 0.3034980297, 0.1053715348, 0.6860637069, -0.0908307657, 0.0064410395, 0.6986358166, -0.1010544822, 1.2633346319, 0.3276647329, 0.1272040904, 0.1712032855, 0.0031864911, 0.1788748354, 0.3558296561, 0.3003636599, 0.5009851456, 0.5706108212, -0.2129665166, -0.2100492418, 0.8068835139, -1.1814550161, -0.1870056689, -0.5564069748, -0.1588062495, 0.1024761572, 0.3748547733, -0.1282436252, 0.2525165081, -0.5509970784, 0.2533977032, 0.5283626914, 0.0691013262, 0.0599035136, 0.3033496737, -0.2955581248, -0.2602864206, 0.4894514978, 0.2940855324, 0.368563205, 0.0141865052, 0.3819076419, -0.326366514, 0.2886992395, -0.1010540947, 0.0774200186, -0.9575962424, 0.1884969175, -0.7300947309, -0.2509931922, -0.8343198895, -0.7086824179, -0.7414049506, -0.6038256884, -0.2577346861, -0.217335999, 0.81743747, 1.1166883707, -0.3332436979, -0.1815452576, -0.812752068, 0.1323435903, 0.6803823113, 0.4137166142, -0.4401139617, -0.0794522166, 0.099907428, 0.0091012679, -0.1129515618, -1.1663662195, 0.4158399999, 0.1085954905, 0.2762538493, 0.5073414445, 0.1638600826, 0.6413793564, -0.3236539364, 0.92896837, 0.0078352559, -1.2248601913, 0.5930995345, -0.3929091394, -0.0392863192, 0.6138036251, 0.5690890551, -1.2520798445, -0.3015882969, -0.8024718761, -0.9380555153, 0.1401883215, 0.3955491781, 0.4534705281, -0.1150353849, 0.5593267679, 0.0515485778, 0.5233516097, -0.9511994123, -0.3201891482, -0.7152397633, -0.2393627912, 0.1581757963, -0.4614596367, -0.4730968773, -0.2449643016, 0.1023515612, -0.2510467768, 0.1891190857, 0.094336912, 0.0188266486, -0.4567171633, 0.3599364758, 0.6298752427, 1.0009890795, -0.1103151739, 0.4008020759, 0.1181074157, -0.5170468688, 0.0112590827, -0.3381393552, 0.0398220122, -0.2148058116, 0.1013077497, 0.1603115201, 0.4622604251, -0.4825280607, 0.7920888662, -0.1807568371, -0.1638190448, -0.6442192793, -0.2525801659, 0.2118632048, 0.3329639435, 0.322773844, 0.0818768814, 0.3739537895, -0.6855323315, 0.4510342777, 0.3957462609, -0.6962049603, -0.4111880362, 0.7299779654, 0.5254462361, -0.2245729864, 0.2953332961, -0.0027672541, -0.4423440397, 0.7086347342, 0.046901945, 0.6492292285, 0.5006381273, 0.2673675716, 0.5178681016, 0.4299780726, 0.3404756784, -0.0225734301, -0.1578208208, -0.9265322089, -0.1030115336, -0.5952518582, -0.5407559872, -0.1248134226, -0.5214675069, 0.5238206983, -0.4209619761, -0.4304186404, 0.128271699, 0.0999289751, -0.445977509, -0.0343462527, -0.0368646979, 0.6578125358, -1.0324290991, 0.491187036, 0.5486514568, -0.5193616748, -0.3737821281, -0.2558647692, 0.683897078, -0.6830851436, 1.0036864281, -0.0812309533, -0.7032450438, -0.0758681893, -0.5677973628, -1.1134243011, 0.8566755056, -0.17184484, -0.4429796934, 0.2604011893, 0.1415915936, 0.4439688325, -0.217114687, 0.4804958105, 0.2241171598, 0.8014101386, -0.051978793, -0.918389678, -0.1383391917, -0.653154254, -0.1094960645, 0.244682163, -0.7506022453, 0.6807560325, -0.1118454859, -0.2585442066, -0.4906533659, 0.558861196, 0.1203695238, 0.3201880455, 0.5178365111, 0.0042120633, 0.389484942, 0.0440831482, 0.5725259185, -0.4369121194, 0.5393147469, 0.4111941457, -0.0559739582, 0.7857180238, 0.8790985346, -0.1797794402, 0.3881355524, 0.5230903029, 0.1743117422, 0.1692033112, -0.1250273287, 0.1092813835, -0.1950857788, -0.1135502756, -0.2539851069, 0.4317011237, 0.3994483948, -0.1773336828, -0.0358323865, -0.1032522544, 0.1372303814, 0.3142799437, -0.2490633875, 0.7777082324, -0.0176510513, -0.2177702039, -0.0838918984, -0.0092083402, 0.7361920476, -0.7277659178, -0.3430355191, -0.0755311549, 0.0963479728, -0.3811306059, -1.3058093786, 0.7379659414, -0.0045948639, -0.099325493, -0.5215011835, 0.9003049731, -0.136344552, -0.4801200628, 0.3551031351, 0.3783331215, -0.0261777062, 0.1561980993, -0.2578299046, 0.1787321568, -0.4749013186, -0.3052275479, 0.1969658136, 0.2217111439, -0.2163651586, 0.6084433198, 0.7923929691, -0.051747635, 0.0862424746, -0.2228914052, 0.9467530251, -0.4236007333, -0.6836971641, -0.802924335, 0.5713049173, -0.3362053931, -0.6378814578, 0.9224328995, 0.2093815655, 1.0059714317, 0.1651124358, 0.7664399147, -0.2090766281, 0.3078950644, 0.0165975541, 0.9679945111, -0.796936214, 0.0922442973, -0.4044066072, -0.4456093311, -0.278713733, 0.7355052233, -0.4154741764, 0.1031343862, 0.1729517579, 0.6826627254, -0.153010726, -0.1753230542, 0.4758750796, 0.1096674055, 0.3408518434, -0.1347797513, 0.7634954453, -0.1483084261, 0.6345946193, -0.070511274, -0.5590865612, -0.5542963743, -0.9133902788, -0.6493399739, -0.9611383677, -0.1267068535, -0.5651177168, 0.1748560369, 1.3097742796, 0.8029001951, -0.5653984547, -0.5844180584, -0.0312357433, 0.069737047, -0.1588084102, -0.3997317851, -0.2387925535, -0.1737609804, -0.6316210628, -0.102523528, 0.5437204242, -0.2773388624, -0.6073521972, -0.0186351836, -0.0968760476, 0.533531189, 0.7838867903, 0.3453400731, -0.4766524136, -0.5732005239, 0.4037330747, -0.2551087737, 0.0708166659, 0.7209307551, -0.4349708855, 0.5464672446, 0.6430125237, 0.2588533461, 0.4387185574, -0.2395421565, 0.5544295311, -0.4824657142, -0.1056081653, 0.1610746533, 0.0172858704, 0.0435410701, -0.4571258724, 0.3489177525, 0.5230972171, -0.5332095623, -0.4470959604, 0.736949861, -0.9147372842, -0.2613218129, 1.3432006836, 0.3090409338, -0.085598886, -0.3116447926, -0.0938094482, 0.1923828572, -0.5994578004, 1.1481591463, 0.7019405961, -0.0447344184, -0.6277266741, -0.4686052501, 0.64109236, -0.1185203642, -0.7563923597, -0.1323356181, 0.5735377669, 0.3820437193, 0.2448909879, 0.8137009144, -0.3231417537, 0.3817703724, -0.188115418, -0.0528002083, -0.083854124, -0.0989464372, -0.160182938, 0.3243139684, 0.1136634722, 0.1037395224 ]
http://arxiv.org/abs/2407.02552v1
http://arxiv.org/pdf/2407.02552v1
RLHF Can Speak Many Languages: Unlocking Multilingual Preference Optimization for LLMs
2024-07-02T17:42:30
2024-07-02T17:42:30
John Dang, Arash Ahmadian, Kelly Marchisio, Julia Kreutzer, Ahmet Üstün, Sara Hooker
cs.CL
cs.CL, cs.AI, cs.LG
Preference optimization techniques have become a standard final stage for training state-of-art large language models (LLMs). However, despite widespread adoption, the vast majority of work to-date has focused on first-class citizen languages like English and Chinese. This captures a small fraction of the languages in the world, but also makes it unclear which aspects of current state-of-the-art research transfer to a multilingual setting. In this work, we perform an exhaustive study to achieve a new state-of-the-art in aligning multilingual LLMs. We introduce a novel, scalable method for generating high-quality multilingual feedback data to balance data coverage. We establish the benefits of cross-lingual transfer and increased dataset size in preference training. Our preference-trained model achieves a 54.4% win-rate against Aya 23 8B, the current state-of-the-art multilingual LLM in its parameter class, and a 69.5% win-rate or higher against widely used models like Gemma-1.1-7B-it, Llama-3-8B-Instruct, Mistral-7B-Instruct-v0.3. As a result of our study, we expand the frontier of alignment techniques to 23 languages covering half of the world's population.
[ -0.4664309621, -0.5068288445, 0.2129145563, 0.432174325, -0.1183262542, 0.0913616568, -0.5857033134, -0.5925223231, 0.3290858567, 0.4225488603, -0.6061345935, -0.3161250949, -0.4121009111, 0.0770885274, 0.2817551196, 0.8981692195, -0.3086547852, 0.5359413624, -0.0328058191, -0.5336358547, -0.271691829, -0.834508419, -0.4308006167, -0.7455263138, 0.7786694765, 0.6871583462, 0.7171255946, 0.6920481324, 0.5173613429, 0.174486801, 0.1462523788, 0.4504442215, -0.5828639865, 0.1513673961, 0.0924126506, -0.3192602396, -0.5096639991, -0.142511785, 0.7150741816, 0.6012222171, -0.3957223594, 0.2385089397, -0.0968268365, 0.9534674883, -0.6104230285, 0.1233801842, -0.5016421676, 0.3900233805, -0.2226153463, -0.2889478207, -0.4361529648, -0.423455596, 0.0606002733, -0.7719587684, -0.2578879893, 0.2087797672, 0.7959309816, 0.154191196, -0.4854265749, -0.0378769338, -0.4444402754, 0.9733067751, -0.5676425695, 0.7612972856, 0.242984429, 0.3061611056, -0.0504102856, 0.0266753193, -0.3787757456, -0.1073043272, -0.0522931516, 0.0833133087, 0.2101187259, -0.0678383484, -0.0620712973, 0.279671818, -0.6829977036, 0.3231979907, 0.0536347181, -0.3898273706, 0.790024519, -0.0371316336, 0.2676654756, 0.0941251069, -0.4637141526, -0.1339487284, -0.8597413898, 0.1400936693, 0.5770420432, 0.6305782199, -0.282653451, 0.5768664479, -0.1318231374, 0.8866039515, 0.1568442732, -0.6889512539, 0.2065836638, -0.4771156311, -0.0089899171, 0.1648554802, 0.8592607379, 0.5704591274, 0.470748961, -0.0201616921, -0.1700341552, -0.2210444957, -0.1203028113, -0.7318606377, 0.2578798234, 0.1015171185, -0.4358068407, -0.1074006334, -0.2296786606, -0.7109437585, -0.3985581398, -0.3834008873, 0.0987231731, -0.029755244, -0.5975800753, 0.3358058333, 0.3023828268, 0.5019891858, 0.1069391817, -1.3004359007, -0.0861758962, 0.4809936285, 0.5474330783, -0.5439582467, -0.7216076255, -0.4605648518, 0.1049338952, -0.4602313936, 0.6352286339, -0.39922297, -0.4379401207, 0.2726689577, -0.0348697491, -0.0866317227, -0.4522533119, 0.5532004833, -0.6351511478, 0.2160639465, -0.4161433876, -0.4028484523, -0.0904141963, 0.4787988067, -0.6369828582, 1.1416138411, -0.0422533974, -0.7055559158, 0.4430886209, -0.3054301739, -0.4771743715, -0.2169866264, -0.1641293466, -0.4982185662, -0.252823323, 0.4094677866, 0.3166845739, -0.2721143365, 0.426105231, -0.5754544139, -0.111308746, 0.2449216098, -0.4354640543, 0.6908802986, 0.2431959957, -0.2117579579, 0.3435623944, -0.4514167309, 0.0618138351, 0.0113067729, -0.5940521359, -0.1010278016, -0.2622576952, 0.2997449934, 0.3124821484, 0.5015787482, -0.568466723, 0.1787262112, -0.3241742253, 0.2183725834, 0.6844120622, -0.283518672, 0.5251747966, -0.3657951057, 0.8071397543, -0.1207204312, 0.2286741436, 0.0227084123, -0.157246843, -0.6955667734, -0.0929771662, 0.1598237008, 0.5439819694, -0.5459789634, 0.2079023123, -0.3765534163, -0.3373325467, -0.7810982466, 0.3419103026, 0.3925284445, 0.3811717927, 0.2603591084, 0.0945480466, -0.4447140992, -1.252443552, -0.1996134818, -0.1996500194, 0.6549628377, 0.4202454388, -0.0822730362, -0.0460053235, 0.7622021437, -0.4102708697, -0.2165496945, -0.4696405828, -0.5430221558, 0.2514313459, 0.3703527749, 0.6461622715, -0.8605760336, -0.845490396, 0.5619353652, -0.7159642577, 0.0335294828, 0.1127111018, -0.3706013858, 0.5716852546, 0.2447187603, -0.3703248501, -0.1775593013, 0.987673521, 0.0400858149, 0.434794724, -0.2607188821, 0.2627700865, -1.0169237852, -0.051905755, 0.0366545171, -0.21690166, -0.4860957563, 0.2717298865, 0.3658372164, -0.001307242, -0.652684927, 0.9468852282, -0.6089889407, -0.0401193239, -0.1466249079, 0.1623736173, -0.1287785023, 0.6873429418, 0.3184899986, 0.8768975735, 0.5892711878, -0.4598894119, 0.4092052281, 0.1056660712, -0.2083021104, 0.5367575884, -0.2542822957, 0.0655916706, -0.0977342427, 0.1167187095, -0.7897305489, -0.2474384457, 0.1210831553, -0.3199955523, 0.4836105406, -0.1486783475, -0.181889981, -0.1357122064, -0.3408792317, 0.5988880992, 0.0338407829, -0.8416824937, 0.5970849395, 0.6945397258, -0.0867747292, -1.1744142771, -0.6147229671, -0.0779261664, -0.4699997902, -0.6395453811, 0.1567274183, -0.2468817383, -0.1431301236, -0.3504612446, -0.0597596802, 0.0505485646, -0.0253279172, -0.111698173, 0.4210695922, -0.2580090165, -0.0572929271, -0.0355696231, -0.2429075539, -0.2166087031, -0.4136856496, 0.4630972445, -0.2024138719, -0.4968928993, -0.1636136323, 0.451092273, 0.6533671618, -0.4375168383, 0.4849496186, 0.7335842848, -0.1524724364, -0.1952100247, -0.6423615813, -0.011676183, -0.4212534726, 0.6096071601, -0.3939281106, -1.0494589806, 0.4402118623, 0.2397904694, 0.3566366434, 0.1824313551, 0.6883754134, 0.2411412299, 1.0250835419, 0.8685084581, -0.5770344138, 0.4281877279, 0.1681042761, 0.2332791537, -0.5083011985, -0.1770802438, -0.4078697562, -0.2401501238, -0.858204186, -0.2631851435, 0.5298538804, -0.0227180105, -0.2179700732, 0.1472379863, -0.2297514826, 0.490831852, 0.3752349019, -0.0831601992, 0.3337802589, 0.2437477261, -0.1449053884, -0.3318087161, -0.8334152102, -0.2548129559, 1.2216980457, 0.317837745, 0.9390897751, 0.3805552125, 0.7673975825, -0.0480746776, 0.4032091498, -1.0104365349, 0.2370730191, -0.2481388897, -0.5661298037, -0.5447781086, -0.3268870115, -0.812479198, 0.6017081141, -0.1908974349, -0.3535466194, 0.0552587025, 0.2739089429, -0.1169610992, 0.2944560647, -0.611787498, 0.7707673311, -0.6511546373, -0.51171875, -0.213090688, -0.6589019299, 0.5153098106, -0.1793997884, 0.4644625783, -0.2545690238, 0.1001303047, 0.656193614, -0.0540914014, 0.6021092534, -0.1067377105, -0.5574858189, -0.1917481571, -0.1954352707, 0.3473516703, 0.1782395393, -0.3347921669, 0.1710480601, -0.0192925874, -0.445884943, -0.4514007568, 0.7857382298, -0.944288075, -0.6311949492, -0.3514006734, -0.698037982, -0.4942145348, 0.3657251894, 0.1526403576, 0.1321821213, -0.2856340706, -0.0536204763, 0.6185547709, -0.1797200739, 0.4445843995, 0.7165322304, -0.6058761477, -0.6885659099, 1.064370513, -0.0307607371, 0.4615716636, 0.6118016243, 0.3353441358, -0.5686272383, -0.3057422042, -0.9453769922, 0.5130887032, -0.7464065552, -0.1053318381, -0.4823159873, -0.0516841784, -0.378559947, -0.1236085892, -0.4142243266, -0.3347584903, 0.1040948033, -0.1162363067, 0.109703213, 0.5131257176, -0.032804925, 0.0973703489, -0.7649800777, 0.2149403989, 0.295203805, 0.347340703, -0.007296415, -0.4389254153, -0.5298498273, 0.0882530361, -0.0566432104, -0.7222824097, 0.4312960207, 0.2079020739, 0.8985109329, 0.2578007281, -0.0570215769, 0.7913970351, -0.3858503997, 0.5537901521, 0.1490951777, -0.7136229277, 0.1088097766, -0.2578165531, 0.1251259297, 0.5965377688, 0.4518223107, -0.8738911152, -0.0516199917, -0.1476857662, -0.6756779552, 0.7428402305, -0.4212658405, 0.0648586825, 0.3283626735, 0.2669999003, 0.2253233939, 0.263586849, -0.9986953735, -0.6481331587, -0.1278914064, -0.1087595671, -0.2606063783, -0.2200807631, -0.2855080068, -0.1021937653, 0.8966767788, -0.4874272645, -0.2425418049, -0.0692882314, -0.1572009921, -0.3446362913, 0.3901601434, 0.7336466312, 0.655992806, -0.1144014299, 0.0689864531, 0.1157115027, -0.3564782441, 0.3673211038, 0.0502580553, -0.1964365542, -0.1498708129, 0.3327932656, 0.8271638751, 0.0156637356, -0.5367872715, 0.2958115041, -0.0765656382, -0.179435119, -0.1710889041, -0.2267249525, 0.2090019137, -0.0377838723, 0.1125449464, -0.2597608268, -0.244430244, -0.2286573648, 0.0302958284, 0.7227647901, -0.394208014, -0.1698825806, 0.3220739961, 0.2277742326, -0.0765245482, 0.2428326458, 0.022454327, -0.5626488328, 0.4139561951, 0.6753867269, 0.6671170592, -0.3015437722, 0.1903119534, 0.5301460028, 0.2653296292, -0.2051109672, 0.3393628597, 0.0313789472, -1.211209774, -0.4011967182, -0.7680486441, -0.5591428876, -0.0519642048, -0.8000827432, 0.2697663307, -0.0450386144, -0.0914877728, -0.1056731343, 0.2019447833, -0.3979551792, -0.0492427722, 0.1309575886, 0.6439171433, -0.8348178864, 0.9717147946, 0.9053966403, -0.030962389, -0.9145547152, -0.1486665606, 0.2056312561, -1.2973825932, 0.5403446555, 0.0389964841, -0.3582940102, -0.0778495595, -0.169341296, -1.0535166264, 0.8149669766, 0.7078832388, -0.5605244637, 0.1799616367, 0.177016601, 0.2665931582, -0.5079720616, 0.1258908361, 0.5066471696, 0.8030007482, -0.1624551862, -1.0901659727, -0.2713413835, -0.1912830323, -0.0827502757, 0.3493790627, -0.9704537988, 0.5811104774, -0.4054042101, 0.0887606889, -0.2115493566, 0.6310859323, 0.5775595903, -0.0630037934, 0.4617370367, 0.3459379971, 0.7299803495, 0.1295981705, 0.8113040328, -0.738468945, 0.4422433972, 0.9799586535, -0.5716421008, 0.8287792802, 0.7846466899, -0.2392009348, 0.1324299872, 0.9205231071, 0.2609589398, 0.3552784622, 0.0232507903, -0.1804186255, -0.5226994753, -0.5125324726, -0.4729730785, 0.4300206602, 0.1514995694, 0.0409999527, -0.0920216143, -0.0112959817, 0.2316144258, 0.1857408881, -0.083531484, 0.7027410865, -0.0013391441, -0.9879639149, 0.774928093, 0.1108608916, 1.0134105682, -0.8479287624, 0.2066269219, -0.5104951859, 0.2151949108, -0.348516196, -0.7595287561, -0.0113979829, -0.2136123031, -0.2836102545, -0.4837854803, 0.3426616788, -0.9909947515, -0.5097878575, 0.6262239814, 0.6355388165, -0.0722708851, 0.3704004586, -0.6087529659, 0.154456079, 0.3288891613, -0.1829524934, 0.5911446214, 0.187606737, -0.1496148854, 0.7440268397, 0.571333468, 0.5279746056, -0.0098910173, 0.3371328115, 0.4965343177, -0.4499197304, -0.504865706, -0.7844663858, 0.0440619141, 0.2222874463, -0.4771139324, 0.8291422725, 0.6629119515, 1.0107123852, 0.0240462422, 0.8407639265, 0.3797624707, 0.3041279018, -0.648008883, 0.5614745617, -0.8072757721, 0.0652391016, -0.0541203693, -0.8668321371, -0.2064184994, 0.4111447632, 0.0100435754, 0.0247216485, 0.5643031001, 0.969958961, 0.0135514773, -0.1505383998, 0.4015310109, -0.3156147301, 0.3494520783, 0.5871845484, 0.6879484653, -0.1069208086, 0.4518696368, -0.4767399728, -0.203790009, 0.0006138898, -0.9623913765, -0.6751954556, -0.3734669089, -0.1081865877, -0.2091912925, -0.0663957745, 1.2039395571, 0.8373296261, -0.8009171486, -0.9108931422, 0.4648737609, 0.3338273168, -0.2078491598, -0.1416083425, 0.3826111555, -0.4478073418, -0.7946554422, 0.3884304166, 0.3233175576, 0.0906391218, -0.5557389855, -0.4929716289, -0.2847182453, -0.2946438193, 0.5455348492, 0.2870483994, -0.897996664, -0.0765026435, 0.4166820347, -0.2709427774, 0.2242875993, 0.8826804757, -0.1962083876, 0.4833102226, 0.3060985506, 0.8787434101, 0.367215544, -0.0297379978, 0.8221704364, -0.6406180263, 0.2328677475, -0.0559400208, 0.533606112, 0.5718601942, -0.4781949222, 0.4182332158, 0.0209787581, -0.556429863, -0.709169805, 0.3390030861, -0.9460874796, -0.0335939415, 1.3351830244, -0.0296493676, -0.0081731807, 0.05296655, -0.2202729434, 0.1107954383, -0.5026964545, 0.4629957676, 0.9513032436, -0.2435882688, -0.1799578071, -0.3388271928, 0.6482086778, 0.7695271969, -0.7025766969, 0.4318828881, 0.4507201314, 0.2502411604, 0.063638784, 0.8373238444, -0.112892352, 0.170640558, -0.5483115911, 0.224062413, 0.0425263718, -0.3035669625, -0.5343762636, 0.0803560913, 0.4844920039, 0.011805879 ]
http://arxiv.org/abs/2407.02448v1
http://arxiv.org/pdf/2407.02448v1
Ensemble of pre-trained language models and data augmentation for hate speech detection from Arabic tweets
2024-07-02T17:26:26
2024-07-02T17:26:26
Kheir Eddine Daouadi, Yaakoub Boualleg, Kheir Eddine Haouaouchi
cs.CL
cs.CL, cs.AI
Today, hate speech classification from Arabic tweets has drawn the attention of several researchers. Many systems and techniques have been developed to resolve this classification task. Nevertheless, two of the major challenges faced in this context are the limited performance and the problem of imbalanced data. In this study, we propose a novel approach that leverages ensemble learning and semi-supervised learning based on previously manually labeled. We conducted experiments on a benchmark dataset by classifying Arabic tweets into 5 distinct classes: non-hate, general hate, racial, religious, or sexism. Experimental results show that: (1) ensemble learning based on pre-trained language models outperforms existing related works; (2) Our proposed data augmentation improves the accuracy results of hate speech detection from Arabic tweets and outperforms existing related works. Our main contribution is the achievement of encouraging results in Arabic hate speech detection.
[ -0.3724075854, -0.7634068727, 0.0781076327, -0.000359282, -0.2902311385, 0.7150959373, -0.1887497753, -0.7175276875, 0.4046353102, 0.4231520593, -0.2887838483, -0.6800361276, -0.82358253, 0.0678475425, -0.771971643, 1.1660747528, 0.1192050576, 0.1695249975, 0.2769711018, -0.358938843, -0.0718041956, -0.4521652162, -0.4707041085, -0.0121727381, 0.4235797524, 0.4298188686, 0.6984479427, 0.1635239571, 0.1580629498, 0.3490231931, 0.3288168311, 0.2146860212, -0.3072804809, 0.0285889748, -0.0051949034, -0.158608973, -0.0267793257, -0.0193617158, 0.7211021185, 0.440638572, -0.1328995973, 0.0853490308, 0.1118400246, 0.1420859993, -0.6797326207, -0.3390926421, -0.7030957937, 0.0978641957, -0.4862136543, -0.0351285748, -0.1665813327, -0.4543853402, 0.0344187804, -0.1784873009, 0.2044835389, 0.1927731931, 0.33497262, 0.145607695, -0.3136890531, -0.2007046193, -0.791041255, 0.9683437943, -0.6627045274, 0.1589783281, 0.1684620678, 0.2744910717, 0.1296263188, -0.4111708999, -0.6653547287, -0.2066197395, -0.0231716204, -0.0186309014, -0.616513133, -0.0201723333, -0.0770932212, 0.1881023198, -0.5514332652, 0.5225974917, -0.4088006914, -0.5321117043, 0.8328743577, -0.2312953919, 0.6186692715, 0.277510196, -0.2907336354, 0.0232075136, -0.3021563292, -0.348331362, 0.5267966986, 0.4088301361, -0.154385373, 0.4758576155, -0.1406120509, 0.6367278695, -0.0666034147, -0.0539625287, 0.5240417719, 0.247795701, -0.0375168808, 0.5141711831, 0.73695755, 0.1538323164, 0.4457609951, -0.4778806567, -0.3098118305, 0.4990077019, 0.3456597328, -0.646279633, -0.2523053885, 0.1940103769, -0.2783886492, -0.7466444969, -0.3372499645, -0.8284038901, -0.5212034583, -0.0708658025, 0.4830229282, -0.291875422, -0.4227586985, -0.4020603299, -0.0968628749, -0.2081601769, 0.4914568961, -0.6351853013, 0.2184786946, 0.2381936908, 0.7696130872, -0.4542749524, -0.092938073, -0.5606980324, 0.0065957131, -0.2831256986, 0.7603724599, -1.0629374981, -0.2530614734, 0.2927672863, -0.6002124548, 0.2946497798, -0.6639378071, 0.9019928575, -0.6433420181, 0.1328080297, 0.4053525925, -0.6035610437, -0.1049038544, 0.1311916709, -0.4334872663, 0.8765391707, 0.1869688928, -0.7795934081, 0.3951724768, -0.4496151209, -0.6986026764, 0.2361969948, -0.0490511023, -0.7528194189, 0.1509880424, 0.2394266129, 0.2555207908, -0.0246868953, 0.1280314773, -0.668348372, -0.1818834096, 0.0925311372, -0.2894980609, 0.7114440203, 0.5342305899, -0.3802972734, 0.2092091739, -0.7101550102, 0.0259787273, 0.0527564324, -0.025875479, -0.4790768027, -0.0599231794, 0.5064278841, 0.3241180778, -0.0173226856, -0.7913042903, -0.0960321724, -0.3790207207, 0.1426964104, 0.8663937449, -0.2206323743, 0.3619816303, -0.4105260968, 0.5269272923, 0.3390586972, -0.1233213246, 0.4110305905, -0.2447337061, -0.4973916113, -0.2369673848, 0.1416426599, 0.5104539394, -0.8231771588, 0.4265867472, 0.0092332419, -0.636903584, -0.5199173093, 0.0428046621, 0.2555729747, 0.4809703231, 0.6348533034, -0.0098194629, -0.9886494875, -0.8546754122, -0.6649954319, -0.2869735658, 0.1777826697, 0.0511416197, 0.3713140488, -0.1257359833, 0.7891018987, -0.0845625997, -0.3037746251, -0.2165167034, 0.5963976979, -0.3139681518, 0.4416544735, 0.6966046095, -1.0040576458, -0.6624576449, -0.0998647213, -0.268058449, -0.5015670657, 0.4243704975, 0.1605498791, 0.3481986225, 0.1389338076, 0.1311050057, 0.5716760159, 0.4533554912, -0.0685789362, 0.5482499599, 0.4502415657, 0.2852453887, -1.1769645214, -0.5164814591, 0.1562601179, -0.275857985, -0.9857853651, -0.4299704731, -0.2139321268, 0.0351163819, -0.5413556099, 0.4956708848, -0.1030953899, 0.1562689394, -0.5929725766, -0.2828883529, -0.673714757, 0.274358511, 0.2625469565, 0.6832873225, 0.5412448645, -0.6032534838, 0.4310509264, 0.0361175202, -0.5288258791, 0.4325668812, -0.2288023531, 0.1420061439, -0.1734933853, 0.1363474131, -1.1256227493, -0.2079373896, 0.3109380603, -0.6100762486, 0.0602179803, -0.2059952617, -0.5570419431, -0.3505141437, -0.189816311, 0.6117272377, 0.4981612861, -0.4840953648, 0.661260128, 0.8958714008, -0.0865947232, -0.5509405732, -0.570946157, 0.0431888737, -0.5510961413, -0.4119026065, 0.4823879302, 0.2825975716, -0.3003698289, -0.0098231761, -0.0731510743, -0.3282741606, 0.100403063, 0.1733023226, 0.1129165143, 0.0380017199, 0.3559291065, 0.1641528457, 0.3968423605, -0.1104358658, -0.6430771351, 0.6546030641, 0.0759486854, -0.012231457, -0.3952018321, 0.4342598021, 0.3879921734, -0.392891109, 0.8886776567, 1.0117254257, -0.5511863232, -0.32364887, -0.723803699, -0.1565482765, -0.4100973308, 0.3712148666, 0.0918180868, -1.2172427177, 0.3268200457, -0.0281458348, 0.0868839845, 0.4516924322, 0.6661449671, -0.2410901934, 1.1718041897, 0.4026547372, -0.6420561075, 0.7043321133, 0.1369912475, 0.2008374184, -0.0020971035, 0.0454261675, -0.7776622772, -0.4275415242, -0.8758864403, -0.1813694388, 0.6037639976, -0.3443488777, -0.2926559746, -0.035052985, -0.3415035605, 0.3874350488, 0.2517576814, 0.0463365056, -0.0042108633, 0.605014503, 0.2267899811, -0.009548557, -0.412258178, -0.3872092962, 1.1343356371, 0.0977275893, 0.7482488155, 0.3944454193, 0.8694943786, 0.9001939297, 0.5429596901, -0.4206418097, 0.2647382617, -0.124081485, -0.7528790236, -0.2803581357, -0.541239202, -0.6688203812, 0.1482927948, -0.3066459596, -0.8933833838, -0.2247662395, 0.2527524531, -0.3103779554, 0.4946588874, -0.6331620812, 0.5586675406, -0.2422899306, -0.4154170752, -0.4373900592, -0.4856971502, 0.4230996072, -0.2701578736, 0.5451565385, 0.04485102, -0.0991824269, 1.1713855267, -0.4595139921, 0.8460243344, -0.3089112341, -0.1059829742, 0.3238707483, -0.1925384253, 0.5728081465, -0.4428535998, -0.0364556424, 0.1145377606, -0.2848752439, -0.606434226, -0.4209567308, 0.5713914037, -0.8154299855, -0.3512752056, -0.5051217079, -0.5735226274, -0.3866584003, 0.2512512207, 0.1506016552, 0.3038371503, -0.3270129263, -0.0641337186, 0.335336864, -0.1187586635, 0.3453705609, 0.5129345059, -0.3331038058, -0.3371067047, 0.9693453908, 0.2569939196, 0.053100761, 0.2821083963, 0.0352346897, -0.484260112, -0.8778541684, -0.3739698529, -0.2440111041, -0.2050011605, -0.0942031443, -0.9003428817, -0.1342306882, -0.7211283445, 0.0811968297, -0.1841719002, -0.3120129704, -0.200632453, 0.0574766174, 0.237471804, 0.6926735044, -0.2149900645, 0.6369510889, -0.8507022858, 0.3470897079, 0.157611385, 0.0164840296, -0.0412135683, -0.7987999916, -0.3883913755, 0.2899422348, -0.3679332733, -1.0243413448, 0.5207998753, 0.0221648924, 0.2862196863, 0.4871750176, 0.4304444492, 0.559815824, -0.4464690685, 0.4301340878, 0.1138762087, -0.6680945158, 0.5597391129, -0.3163372874, -0.0822651163, 0.3652829528, 0.4763147235, -0.2740361691, -0.6386910677, -0.8483539224, -0.4539775252, 0.9141849875, 0.5493909717, 0.1659150869, 0.1732022017, -0.2372223735, 0.0343588293, 0.3394652009, -0.452883482, -0.4840770662, -0.1610047221, -0.3365025818, -0.192894116, -0.2380603254, -0.0314708129, -0.3529068828, 0.8168262243, 0.2456294745, 0.1672865003, -0.3408255577, -0.5100915432, -0.1344476044, 0.3848644793, 0.5509104133, 0.3873595893, -0.2147963345, 0.0768838823, 0.303843677, -0.3699024916, 0.3101915121, 0.3489347398, -0.1436875463, 0.0876232013, 0.3705305755, 0.7894209623, -0.3313105106, -0.534789741, 0.3349214792, 0.1980774403, -0.093224965, -0.4399525821, 0.0327592231, -0.3185712695, 0.1638289839, 0.6292747855, 0.2830877602, 0.2731350958, -0.4865704477, 0.5291445255, 0.4697101414, -0.2259303778, -0.2084756494, 0.3312940598, 0.1927079856, -0.311591804, 0.2465289533, -0.2166572511, -1.0147693157, 0.4569492936, 0.5928868055, 0.6738286614, -0.7345404625, 0.5157530308, 0.234345451, 0.2184252441, 0.3906321824, 0.1031994969, -0.3579359949, -1.1691185236, -0.2496471107, -0.7411317825, -0.3205439746, 0.3489566147, -0.4311982393, 0.1983856857, -0.6025641561, 0.0706411004, 0.2864670455, 0.0843442976, -0.3953912258, 0.4454885125, 0.5864023566, 0.5030139089, -1.2192114592, 0.8630497456, 0.8177956939, -0.1275309175, -0.6430360079, 0.1783964038, 0.1250472218, -0.9921634197, 0.4671832323, 0.2868021131, -0.2691323459, 0.3720894456, -0.735720098, -0.5418630242, 0.1146817878, 0.1928789914, -0.4770689309, 0.3833902776, 0.2902211547, 0.5498120189, -0.4699883759, 0.3489849269, 0.5293730497, 0.3287171721, 0.1364501417, -0.6819189191, -0.3748355508, -0.2494437546, -0.3230543733, 0.4452532232, -0.5607414246, 0.4874684215, 0.1451309472, -0.2575143278, -0.1454489082, 0.9392656684, -0.0769898817, 0.4589457512, 0.8127070665, 0.7685979605, 0.7437166572, 0.0269577447, 0.7513025999, 0.2013475001, 0.1104198471, 1.0031927824, -0.1769391, 0.4082483053, 0.1810308248, -0.4376522601, 0.3426695168, 0.6365575194, 0.1347871721, 0.631677568, 0.3973333836, -0.779227078, -0.4402627051, -0.6711374521, -0.4199790061, 0.4866680205, 0.440446198, -0.22812213, -0.5184320807, 0.4097163081, 0.0143537503, 0.2399428189, -0.5218551159, 0.7115805745, -0.242813468, -0.3210429549, 0.5429548025, 0.1477801353, 0.8188928962, -0.2077141404, 0.000551461, 0.244724974, 0.0976479426, -0.3668819666, -0.6602227092, 0.3570445776, 0.3676366508, 0.0084923906, -0.1634270996, 0.8325042129, -0.6455679536, -0.6591526866, 0.2476730198, 0.2276232988, 0.2881062925, -0.2312171906, -0.7138476968, 0.0346246026, 0.2546505332, 0.3085549176, 0.3680504858, 0.0832518041, -0.2735729218, 0.45964396, 0.5891578197, 0.0399091356, 0.2551459968, 0.1286712289, 0.9745523334, -0.2902911305, -0.4710552096, -1.0090632439, 0.2213955373, -0.2093842626, -0.1161591038, 0.6961269379, 0.7721443772, 1.1356660128, 0.0459217317, 1.2116500139, -0.1563733369, 1.144105196, -0.3066602051, 0.5712730885, -0.6598670483, 0.0653428957, -0.4556007087, -0.7309828997, -0.5155648589, 0.494093895, -0.6242624521, 0.3279957771, 0.2269431502, 0.8833952546, -0.1438331008, 0.4146279395, 0.3554972708, 0.3174033165, 0.3056827188, 0.3709740043, 1.0434128046, -0.2663773596, 0.3969660103, -0.5046989322, -0.2045289874, -0.2830956876, -0.4110226929, -0.9422081709, -0.5072066784, -0.3273287416, -0.3512407243, 0.1160261184, 1.0683487654, 0.4859862626, -1.1138437986, -0.1205332205, 0.0822844952, 0.1748096198, 0.1483222544, -0.1609440893, 0.3248794675, -0.2723403871, -0.9375821948, 0.2874456048, 0.0035514785, 0.2167086452, 0.219857946, -0.0351167358, -0.4852535725, -0.1792265624, 0.3624379933, 0.3118146658, -0.4566999972, -0.2312153429, -0.6020816565, 0.0787141174, -0.0905110836, 0.5715578198, -0.8701114058, 0.1608651578, 0.1934937537, 0.8393665552, 0.3637466133, 0.1704678684, 0.2770112753, -0.7399023175, 0.3350370228, 0.6727145314, 0.1537574828, 0.1822641939, -0.1227743179, 0.1927830428, 0.2214361727, -0.2645994723, -0.9947864413, 0.2492939681, -0.618435204, -0.0484646969, 0.851581037, 0.2603208125, -0.0991019681, -0.3391695917, -0.2163588256, 0.606456995, -0.6895086169, 0.8151100278, 0.6434888244, 0.164951995, -0.2699744105, -0.0548142157, 0.4423469603, 0.7226402164, -0.7282438874, -0.2934472859, 0.6082527041, -0.0064747459, 0.1342707872, 0.3609361053, 0.1386242509, 0.3046044111, -0.5666382909, 0.0748701692, 0.104042545, -0.3072160184, -0.1997752637, 0.3540694416, -0.2490300685, -0.5177186728 ]
http://arxiv.org/abs/2407.02446v1
http://arxiv.org/pdf/2407.02446v1
Predicting vs. Acting: A Trade-off Between World Modeling & Agent Modeling
2024-07-02T17:22:54
2024-07-02T17:22:54
Margaret Li, Weijia Shi, Artidoro Pagnoni, Peter West, Ari Holtzman
cs.CL
cs.CL, cs.AI
RLHF-aligned LMs have shown unprecedented ability on both benchmarks and long-form text generation, yet they struggle with one foundational task: next-token prediction. As RLHF models become agent models aimed at interacting with humans, they seem to lose their world modeling -- the ability to predict what comes next in arbitrary documents, which is the foundational training objective of the Base LMs that RLHF adapts. Besides empirically demonstrating this trade-off, we propose a potential explanation: to perform coherent long-form generation, RLHF models restrict randomness via implicit blueprints. In particular, RLHF models concentrate probability on sets of anchor spans that co-occur across multiple generations for the same prompt, serving as textual scaffolding but also limiting a model's ability to generate documents that do not include these spans. We study this trade-off on the most effective current agent models, those aligned with RLHF, while exploring why this may remain a fundamental trade-off between models that act and those that predict, even as alignment techniques improve.
[ -0.1777173281, -0.7180621028, 0.6835654378, -0.2606781125, 0.0473144352, 0.1862826198, 0.2173245102, -1.0709751844, 0.0192146637, 0.5912821889, -0.962749958, -0.1331719011, -0.296374917, -0.2481511682, -0.2955513895, 1.0117498636, -0.0557556376, -0.1132866964, -0.6192130446, -0.1208157241, -0.3154939413, -0.37446329, -0.6443307996, -0.8569412231, 0.7222732902, 0.1440309882, 1.2129464149, 0.97181499, 0.491435051, 0.1893278956, 0.1788657308, 0.1247109547, -0.4610487521, 0.5629253983, -0.2080257684, -0.2472008616, -0.5609012842, 0.1521392912, 0.63613832, 0.7103827, -0.0486337915, 0.1367169917, -0.2582528591, 0.6600111127, -0.5204162002, 0.224669978, -0.5155877471, 0.1319162548, 0.1556546241, -0.1210291237, -0.485971421, -0.0186182782, 0.3905926049, -0.5884530544, 0.3377447128, 0.3140029311, 0.861849606, 0.2082763612, -0.3758909702, -0.1571905911, -0.7716212273, 0.5967510343, -0.4407423437, 0.4384410679, 0.3220270872, 0.2285235673, -0.3659301996, -1.0219445229, -0.3833214045, -0.4412787557, 0.0247395579, 0.2156050503, 0.0136635453, 0.3167689145, 0.1543763876, -0.0269440189, -0.4806906581, 0.3937413394, -0.2786777318, -0.3543021679, 0.6573744416, 0.3236658871, 0.2158275098, 0.0255915634, -0.7468945384, -0.2646265924, -0.8021124601, 0.2055186182, 0.3408925831, 0.529147625, -0.0321893319, 0.5484297276, 0.1454897374, 0.6478577852, 0.2441030145, -0.2236575931, -0.4444673657, 0.127923727, -0.1870451272, -0.0222479943, 0.516715765, 0.433570385, 0.2427656651, -0.0497539937, -0.3773021996, -0.1111884415, 0.2367668152, -0.6969551444, 0.179189384, 0.3275080025, -0.5227312446, -0.3896926045, 0.2692486942, -0.4318486154, -0.5767802, -0.1825255156, 0.3334256113, -0.0830339566, -0.1304643452, -0.2452353686, -0.2654516399, 0.1318515241, 0.2520658672, -0.7256715894, 0.3446715474, 0.834079206, 0.5948174, -0.3829850852, -0.9194769859, -0.5052496195, 0.2654739618, -0.6199095249, 0.8529654145, -0.4780302048, -0.4904585481, 0.285030961, 0.0678750649, -0.1136013493, -0.2871665657, 0.4613806307, -0.6578247547, 0.1771884263, -0.1971723884, -0.7052536011, -0.0351806581, 0.0588091314, -1.069246769, 1.0623208284, 0.1286788583, -0.5557184815, 0.6893262267, -0.3455292583, -0.2616203129, -0.1140186861, -0.0482402481, -0.6088764668, 0.1037537381, -0.2860707343, 0.5877532363, -0.2589295208, 0.3534893394, -0.6285923719, -0.4610545039, 0.5239169002, -0.4305543303, 0.1557639837, 0.1940607578, -0.1747755408, 0.2270357013, -0.5906146765, -0.005066792, 0.1110050678, -0.4496893287, 0.020886451, 0.3041663468, 0.1273597628, 0.45495224, 0.146963194, -0.2255062759, 0.1249129176, -0.3133179545, 0.2158473879, 0.9035109878, 0.0029100892, 0.7821565866, -0.8909107447, 0.9152517319, -0.2795064747, 0.1262025237, 0.0069373935, -0.5063907504, -0.3857414722, -0.0898842961, 0.0812721699, 0.2304408103, -0.4549396932, -0.057952404, -0.3690575659, -0.5377554893, -0.3801366389, -0.2028579414, 0.4582215548, 0.3770161867, 0.0061072679, -0.1238396466, -0.5558948517, -0.8081465364, -0.5761608481, -0.4942228794, 0.6486052275, -0.0539785475, 0.438339889, 0.0717531592, 1.1342308521, -0.1823824197, -0.0234034099, -0.558092773, -0.0542819835, -0.0140993455, 0.3849203289, 0.2627358735, -0.9894485474, -0.5897532105, -0.0130647682, -0.4961629808, 0.1993491054, -0.4209252298, -0.0579758845, 0.5727047324, 0.6527640224, -1.1698352098, 0.7068682909, 0.5256022215, -0.4032575488, 0.6120705009, -0.2457822263, -0.1856060624, -0.8021221757, 0.0045170067, -0.2354484051, -0.3051463664, -0.757350266, 0.2082337141, 0.0922182202, -0.2207770199, -0.4838189185, 1.2732272148, -0.6718746424, -0.4960004091, -0.3735714257, 0.0580180772, 0.1758656353, 0.4773340523, 0.115894787, 0.7347466946, 0.1931292415, -0.4380502999, -0.0216593333, 0.1258660257, -0.2427378744, 0.1728563011, -0.4368952513, 0.0240219254, -0.1913724989, 0.6393666863, -0.6743228436, -0.4509364069, 0.1906919777, -0.342467159, 0.5696460605, -0.0905276164, -0.2716551423, -0.4746588171, -0.4093671739, 0.2564115226, 0.5261709094, -0.4926133752, 0.9627293348, 0.1012393087, -0.0143540297, -0.8147011399, -0.8899123073, -0.067783758, -0.23377119, -0.6169556975, 0.5785207152, 0.1036875024, -0.4283232987, 0.053261824, -0.2135086656, 0.0748445019, 0.0968092531, 0.6707471013, 0.3993016183, -0.0520899929, 0.2494281977, -0.0854936019, -0.0685398653, 0.0152744278, -0.2684223354, 0.2764474154, 0.1532212496, -0.713568449, -0.2723042965, 0.3728521168, 0.8482570648, -0.2422980666, 0.8765158057, 0.3936851919, -0.2201289088, -0.5703184605, -0.3173907697, -0.0858496353, -0.3938115537, 0.6265974045, -0.2589871287, -0.4999811947, 0.6148633361, 0.297544837, 0.3377694786, 0.5225070119, 0.4442933798, -0.1494227201, 1.018446207, 0.6822687387, 0.2575355768, 0.7028972507, -0.059293814, 0.0719173402, -0.5642533302, -0.1105619892, -0.1989400387, -0.1170421839, -0.6926804185, -0.3305907249, 0.0978074297, -0.1970516741, -0.242012158, 0.1768798828, -0.3695344031, 0.3624946177, 0.5314242244, 0.0042395582, 0.1928290725, 0.0319255516, 0.0321226381, 0.1309625506, -0.9148386121, -0.4921995997, 1.1709939241, 0.5873416066, 0.8269053698, -0.0991074517, 0.6742123365, 0.5268661976, 0.5284659863, -0.821480751, 0.5860033631, 0.1895022839, -0.938161552, -0.516017437, -0.0069948956, -1.0341649055, 0.3059476018, -0.3137746751, -0.4166385829, 0.2464333177, 0.2902983427, -0.29561764, 0.3615233004, -0.5141913891, 0.6866843104, 0.0410269052, -0.6453441381, 0.0045554521, -0.7494915128, 0.2960789502, 0.0088517396, 0.2897599041, -0.1883531362, -0.0637825727, 0.5843519568, -0.3479456902, 1.0264860392, -0.0662056059, -0.2493514717, 0.6110448241, 0.1232136488, 0.8589498401, -0.3073164523, -0.2981409132, -0.4512338042, 0.0274246875, -0.4196546674, -0.4226617217, 0.4292933345, -0.7889430523, -0.6161272526, -0.5713147521, -0.5818480253, -0.2224874794, 0.0299901273, 0.4868269563, 0.5097090602, -0.6419605017, -0.2806153893, 0.4361381233, 0.1770427674, 0.6610033512, 0.252401799, -0.3865327239, -0.3263014853, 0.7700555325, 0.1578301936, 0.7094087601, 0.4804656506, 0.0921804681, -0.4965354204, -0.2974217236, -0.2281595618, 0.2583169639, -1.1404575109, -0.0556796826, -0.4911245704, -0.3211926818, -0.4788020849, -0.2724998295, -0.1423706114, -0.4934102595, -0.3831984103, -0.3542560339, 0.0948369727, 0.8855257034, -0.0675081462, 0.1182074174, -0.6822131276, 0.0611967444, 0.3956081867, 0.1669602245, 0.2954047322, -0.4992887378, -0.4743913114, -0.0333519652, -0.2556491792, -0.9079825878, 0.160974592, 0.4138280451, 0.7066970468, 0.2478013039, 0.0241084918, 0.5823901892, -0.3996046185, 0.6191000342, 0.1288180649, -0.5973759294, -0.0008020168, -0.4781109691, 0.2051133513, 0.3104530871, 0.0826910436, -0.492430836, -0.3368473947, -0.8558062911, -0.5053210855, 0.7790474296, -0.1025121287, -0.0632232577, 0.1342649609, 0.2934909463, 0.2914949656, 0.0872671157, -1.0082342625, -0.0089368736, -0.0695351809, -0.1735027283, -0.0443169996, -0.2826979756, -0.0801728964, 0.1064567119, 0.6623834372, -0.3586051166, 0.3036032021, 0.3065362871, -0.084580414, -0.5785193443, 0.0300822053, 0.7347661257, 0.6850429773, -0.1935174465, 0.0047505996, -0.1000110209, -0.4121320248, 0.1097154841, 0.191102013, -0.2167879641, -0.1014356241, 0.9739414454, 1.0443251133, 0.2532252669, -0.7884675264, 0.3186460733, 0.3118112385, -0.3319300115, -0.3130409122, 0.2115480304, 0.2462467849, 0.3172491491, 0.4198692143, 0.0782119632, -0.2456452399, -0.8550207615, 0.1557659805, 0.4360545278, -0.5569612384, -0.2709994316, 0.6731786728, 0.0624224432, -0.6225116253, 0.280469358, 0.0837741569, -0.386888653, 1.0940802097, 0.5255950093, 0.9869205356, -0.0260055121, 0.2216625512, 0.0619697459, 0.0918772817, -0.3066092134, 0.0768652707, 0.1330915689, -0.6773427129, -0.2626612782, -0.5372301936, -0.492564857, -0.162840724, -0.6834099293, 0.2123146653, -0.3838254213, -0.4279676676, -0.219922483, 0.0230166465, -0.6435267925, 0.2755719721, 0.134298563, 0.8486196399, -0.6685148478, 0.6851270795, 0.7873104215, -0.3996397555, -0.775110662, 0.2951635122, -0.1297836751, -0.8679519892, 0.4045449793, 0.1889470071, 0.0199487638, -0.0825511366, -0.5551069379, -1.0135130882, 1.4159910679, 0.3075947762, -0.2460437864, -0.5784304142, 0.089395158, 0.4897119701, -0.5439739227, -0.0084577473, 0.3625101149, 0.6068972349, 0.0791059136, -0.7432150841, 0.1388914436, 0.1738244891, -0.0897469893, 0.2020944059, -0.7124482393, 1.0292170048, -0.4547551274, -0.4040137231, 0.3942887485, 0.7544569373, 0.5228748918, 0.5018142462, 0.4350973368, 0.2173558921, 0.3468766212, 0.2001706064, 1.2725958824, -0.268189162, 0.3197000921, 1.2075293064, -0.5791946054, 0.8407093287, 0.5214344859, -0.180139333, 0.5554329753, 0.834647119, 0.0407552458, 0.4500845671, -0.0908987448, -0.142513141, -0.4233539999, -0.0523284264, -0.2831370831, 0.4479133785, 0.1190562546, -0.2306341082, -0.2293758541, -0.2753207088, -0.0429970175, 0.2000884414, -0.1665784717, 0.6026352644, 0.1592406482, -1.3392182589, 0.2716973126, -0.0553275086, 0.1906641871, -0.645642519, -0.0998534039, -0.2293348461, 0.0543880649, -0.07433898, -0.6957423687, 0.0120560601, -0.592902422, -0.3850550354, -0.4181408286, 1.0769306421, -0.4756059349, -0.3402630687, 0.4565993845, 0.9123744369, -0.1988897622, 0.244641006, -0.8136648536, -0.1478684843, -0.2412322164, -0.5873821974, 0.5420518517, 0.4049071968, -0.3642192483, 0.8683766723, 0.8424956799, 0.1338622421, 0.0512749031, -0.1113080606, 0.548617363, -0.671451509, -0.6522283554, -0.7134628892, 0.5065895915, 0.1371804476, -0.366691649, 0.3129629195, 0.151363641, 0.3684348762, -0.1118135601, 0.6601297259, 0.208066389, 0.3642450869, -0.6238148808, 0.8292645216, -0.6330154538, -0.0345223434, -0.1161034852, -0.8646715283, 0.0584514588, 0.015922457, 0.0716856197, 0.2672035992, 0.8014340997, 0.7025504708, 0.1325809658, -0.2153616548, 0.5830782652, -0.0323769376, 0.3514885604, 0.259293288, 1.09559834, -0.1559339315, 0.4823753834, 0.0587439351, 0.1523361802, -0.3382355571, -1.0401309729, -0.9425635338, -0.6020803452, 0.0353738666, -0.3064107597, 0.1669333279, 0.9595933557, 0.7717112899, -0.4181399941, -0.2103181183, -0.2449729741, 0.3391412795, -0.3869444728, -0.1836227477, 0.3593604863, -0.2024934441, -0.551594317, 0.3060311973, 0.0144585026, 0.517409265, -0.4055633545, -0.2844502032, -0.1654564738, 0.3846013546, 0.3623664677, 0.6007814407, -0.9422200322, -0.2517007291, 0.1083841175, -0.3933035433, -0.1793489605, 0.7097750902, -0.8878879547, 0.1150997281, 0.2263440043, 0.528877914, 0.2607465386, 0.0413303263, 0.8406714201, -0.4290236831, 0.2577960789, 0.1975601017, 0.2963528037, 0.1360219419, -0.4765130579, 0.4741730094, 0.1882603019, -0.5739898086, -0.9669201374, 0.457307905, -0.7539402843, -0.6081912518, 1.0538902283, -0.0410695747, -0.371121794, -0.0294230804, -0.047741048, 0.1712315083, -0.3722861409, 0.5782482028, 0.8439940214, -0.3155420721, 0.0241920333, -0.5509884953, 0.7240451574, 0.525940299, -0.6262443066, 0.2300188243, 0.5502881408, -0.0026648722, -0.0283800066, 0.8384380341, 0.3256801963, 0.623539865, 0.1312545687, 0.1633026898, -0.3324033022, -0.5346472263, -0.2095954567, 0.2837907672, 0.3973455131, 0.1544858366 ]
http://arxiv.org/abs/2407.02432v1
http://arxiv.org/pdf/2407.02432v1
Evaluating the Robustness of Adverse Drug Event Classification Models Using Templates
2024-07-02T17:09:24
2024-07-02T17:09:24
Dorothea MacPhail, David Harbecke, Lisa Raithel, Sebastian Möller
cs.CL
cs.CL, cs.LG
An adverse drug effect (ADE) is any harmful event resulting from medical drug treatment. Despite their importance, ADEs are often under-reported in official channels. Some research has therefore turned to detecting discussions of ADEs in social media. Impressive results have been achieved in various attempts to detect ADEs. In a high-stakes domain such as medicine, however, an in-depth evaluation of a model's abilities is crucial. We address the issue of thorough performance evaluation in English-language ADE detection with hand-crafted templates for four capabilities: Temporal order, negation, sentiment, and beneficial effect. We find that models with similar performance on held-out test sets have varying results on these capabilities.
[ -0.0783223659, -0.5976413488, 0.7328416705, -0.0286790188, -0.2152103931, -0.1690541059, 0.0124234539, -0.564696908, 0.4023675025, 0.3488944173, 0.0441280976, -0.6539424658, -1.1773307323, 0.0221224278, -0.5455739498, 1.0372796059, -0.1408012807, 0.2705647945, 0.0917299837, -0.5423988104, -0.6902267337, -0.3838858604, -0.7925527096, -0.0120741222, 0.6559523344, 0.0022360273, 0.4242785573, 0.528480947, 0.8621541858, 0.3128272593, -0.0859982818, -0.1811305881, -0.2448379695, 0.0724549443, -0.4838708341, -0.5046631694, -0.9801982641, 0.3156693578, 0.4455186725, 0.4690149426, -0.0401334874, 0.1018503159, -0.0370025858, 0.3211631179, -0.8063800931, -0.1503618658, -0.4919013381, -0.1179499179, -0.191015169, -0.0150381681, -0.3402059376, -0.2274174243, 0.2767302096, -0.4545741081, 0.0086343419, -0.2889623642, 0.8079365492, -0.0492220037, -0.6827916503, -0.6748982668, -0.7358371615, 0.5684666634, -0.8254646063, 0.4934317172, 0.1495035291, 0.4696080089, -0.1624818742, -1.0319429636, -0.5404804349, 0.0857726261, 0.0103306444, -0.0580101982, -0.1478393823, 0.1553503871, 0.1009250432, 0.5438488126, -0.4667486548, 0.4887720644, -0.4230786264, -0.2279106826, 0.5434523821, 0.314190954, 0.411937058, -0.2960494459, -0.1361504346, 0.2642725706, -0.352260381, 0.0617523417, 0.1659559309, 0.2025868595, -0.2710136473, 0.5135511756, 0.2248132676, 0.5064381361, -0.1212871522, -0.2731234729, 0.0814005136, -0.4913309216, -0.2364832908, -0.248718217, 0.8913151026, 0.4702282846, -0.1569087952, -0.0891320109, -0.2264024317, 0.5649193525, 0.3290931284, -0.8700701594, -0.1715839207, 0.4514840245, -0.6721606255, -0.6014944315, -0.0023883581, -0.8208534122, -0.7625417709, -0.0058280975, 0.5888999701, -0.3490893245, -0.066389516, 0.2424732, -0.3232516646, 0.1685852557, 0.2740499973, -0.3438411653, 0.4200045168, 0.4987184405, 0.7295808792, -0.3636087775, -0.0233381242, -0.5528154373, -0.1174414903, -0.3292357028, 1.2412331104, -0.5108982325, -0.3036648035, -0.0318149216, 0.0637513548, -0.2298866063, -0.6327185631, 0.8625750542, -0.4692735672, 0.3601142466, -0.2152781487, -0.8873695135, -0.1719863117, 0.0486142486, -0.4714213014, 0.1724310666, -0.120408535, -0.8883082271, 0.9462082982, -0.6439222693, -0.5838814378, -0.0625908524, -0.1191027164, -0.5615497828, 0.2359492332, 0.0681445301, 0.5364242792, -0.1313768327, 0.2389555275, -0.3879268169, -0.4662150443, 0.3211606145, -0.3643431664, 0.6707162261, 0.1552424878, -0.3322649896, 0.2424975932, -0.9145116806, -0.2279364765, 0.0367713347, -0.4453180432, -0.5873435736, -0.000928615, 0.14655523, 0.4012128711, -0.132861048, -0.3724727035, 0.0077020125, -0.3437415659, 0.1605414599, 0.6368955374, 0.48824054, 0.2307851315, -0.3048051894, 0.5410399437, 0.0668482929, 0.4624971747, -0.0946927369, -0.584019959, -0.3905253708, -0.3748471141, 0.4578793645, 0.5336341858, -0.5095689893, 0.5573029518, -0.0535160415, -0.2697935104, -0.306096077, 0.1554886848, 0.2705782056, 0.2540941834, 0.2926341891, -0.6018626094, -0.357540071, -0.7068491578, -0.5704534054, -0.1593913138, -0.1215173826, 0.2158527821, 0.5400995612, -0.3191688359, 0.1773219705, -0.5084314346, -0.2981355488, -0.1562788337, 0.1502870619, -0.0151666719, 0.1614257395, 0.8040425181, -0.4546676278, -0.3171788156, -0.4108138978, -0.776687324, -0.253967762, 0.0213629119, -0.0572725907, -0.1086028591, 0.4242649972, -0.2318396866, 0.5355244279, 0.2956205904, -0.5371174812, 0.2460222691, -0.0143272607, 0.4178771973, -1.0396014452, 0.0680965781, 0.3211512566, 0.0883263946, -0.8329143524, -0.1907950938, 0.1964003146, -0.03814983, -0.3856902421, 0.4975344539, -0.0628582388, 0.2292162925, -0.1627739221, 0.0865133628, 0.3116142154, -0.0762551874, -0.1022356004, 0.1825517714, 0.6140668988, -0.7144219279, 0.0018426806, -0.1221367493, -0.3722280264, 0.8776375055, -0.4124283195, -0.1642652452, -0.1303754151, -0.0912557617, -0.9824727774, -0.3960567415, 0.0525805727, -0.2886755764, 0.60407269, -0.4035655856, -0.1831206083, -0.5670294762, -0.475392431, 0.1977113634, 0.3894799352, -0.201685831, 0.3118052781, 0.6161531806, 0.0366616212, -0.3903395534, -0.0490971506, 0.0171508305, -0.6293997169, -0.2009812295, 0.0442231074, 0.239502877, -0.4053785205, -0.1032815948, -0.0802414417, -0.3916053772, 0.1367284358, 0.0438233837, 0.1562612802, -0.1526739597, 0.1489214599, 0.0380190611, 0.1673867404, 0.1675675809, 0.05764075, 0.1652045101, 0.0112419967, -0.1746608913, -0.528777957, 0.2325941622, 1.0728970766, -0.2446738183, 0.6535493135, 0.4186070561, -0.8104271889, 0.0072233141, -0.4226237237, -0.1864776164, -0.4185191989, 0.4038674235, 0.1103527769, -0.0464871824, 0.7685447931, 0.1116158366, 0.0239321534, 0.5034149289, 0.2864155471, -0.1056756154, 1.1127172709, 0.3448690772, 0.2163372934, 0.5258156061, -0.500153482, 0.3648769259, -0.709435761, -0.1997854412, -0.2612335384, -0.1233367696, -0.5006582737, -0.3571492136, 0.6117404699, -0.0468057245, -0.1153935194, 0.1384010315, -0.257250756, 0.1087621227, -0.042770911, 0.1202671304, 0.2322523594, -0.1831537038, -0.0507625714, -0.2094353437, -0.7202262878, -0.7771048546, 1.2798087597, 0.5811292529, 0.5807184577, -0.0154547123, 0.4191060066, 0.2326811105, 0.6242723465, -0.8624464869, 0.334541887, -0.4066132903, -0.667298615, 0.0543665998, -0.1092983708, -0.9240159988, 0.0840911493, -0.5765496492, -0.7586210966, 0.3259133101, 0.0981414542, -0.6094154716, 0.3841990232, -0.8254703283, 1.0228859186, -0.3052148521, -0.4372057021, -0.3290869892, -0.3109226823, 0.3246956766, -0.098266229, 0.5341679454, -0.0323275253, 0.0412743241, 0.9803184271, -0.3235589862, 0.67348212, -0.2119721919, -0.0309570488, 0.3202901781, 0.1350707114, 0.176914826, 0.1908837557, 0.0765852705, 0.133121863, -0.0605720803, -0.5087410808, -0.6523378491, 0.737914443, -0.347370863, -0.453871429, -0.2965595722, -0.0956515521, -0.137715295, 0.3791353703, 0.4409798682, 0.7486250997, -0.4342150688, -0.2284159362, 0.2176691294, -0.6327353716, 0.0532599911, 0.8464244604, -0.0326589681, -0.3491040766, 0.750910759, 0.5623898506, 0.1096212044, -0.0880819559, 0.3224007785, -0.29555583, -0.9206628799, -0.3348322511, 0.33156389, -0.8848427534, -0.061604429, -0.6709926128, 0.0887306109, -0.5349442959, -0.2272811383, -0.5711221695, -0.3270779848, -0.1430655569, -0.1119828224, 0.2021745741, 1.3127521276, -0.0179074928, 0.2089118659, -0.6537293196, 0.1882398725, 0.1757656485, 0.885907352, -0.0853938013, -0.4866300225, -0.2158722579, -0.2780105472, -0.624761939, -0.9173267484, 0.0016862095, -0.0700515285, 0.7810586691, 0.8837717175, 0.0452027917, 0.3547073007, -0.2735174298, 0.6062017083, 0.0250747856, -0.5962182283, 0.8733869791, -0.4828728735, -0.151123479, 0.4970727861, 0.6040042043, -0.3187842369, -0.5435992479, -0.6680414081, -0.9167560339, 0.2955853939, 0.3962287605, -0.1862646341, -0.418618679, 0.3908614516, 0.0527742505, 0.109969236, -0.3950046897, -0.224055022, -0.0181555096, 0.121255137, 0.1122255102, -0.3414005339, 0.1025462523, -0.1169056147, 0.5308092237, 0.4435351789, 0.0549660996, 0.1994432658, 0.0815682784, 0.0419444628, 0.4875063896, 0.3296367228, 0.5405654907, -0.4263497293, 0.2562267184, 0.0132967802, -0.6493669748, 0.1301692426, 0.181763202, 0.1357915699, -0.1750062406, 0.8883546591, 0.4705882967, -0.0038010194, -0.4146888852, 0.6941895485, -0.3311231732, 0.3671092987, 0.0150854541, 0.01603489, -0.4258227348, -0.0531158224, -0.0663780794, 0.1867690831, 0.6844415665, -0.7454562783, 0.4300239682, 0.2847975791, -0.6762505174, -0.4931290746, 0.7453922033, 0.3481423855, -0.3207754791, 0.227506727, -0.0692437068, -0.4619693756, 0.7431534529, 0.2970111966, 0.6752611399, -0.5027597547, -0.0437035598, 0.4093905389, 0.1433403492, 0.289254725, 0.3916030228, 0.6121920347, -0.5869170427, -0.1676194966, -0.3270934224, 0.0014073759, 0.6480334997, -0.7709258199, 0.5534119606, -0.5172945261, -0.6734572649, 0.4812658429, -0.2152714729, -0.7526086569, 0.1363047957, -0.1567902118, 0.6535851955, -1.3567445278, 0.319190532, 1.0478686094, -0.1184383035, -0.4848171175, 0.272505343, 0.1823404133, -0.2779110968, 0.3760677576, 0.223013401, 0.061811924, -0.5442343354, -0.0682511553, -0.4347711504, 0.7686046362, -0.0614055321, -0.0398928784, 0.066719681, -0.1327016205, 0.9491716623, -0.3577620089, 0.2710396349, 0.668591857, 0.0799863338, -0.1971492469, -1.0636073351, -0.1102984175, -0.375811249, -0.1662693918, 0.0733348504, -0.2088620216, 0.5341759324, -0.4138519168, -0.3430208266, -0.3314172328, -0.001743935, 0.0738639608, 0.478910625, 0.445473671, 0.2738500237, 0.635240674, 0.0892628059, 1.5142415762, -0.110600397, 0.1418253481, 0.7536647916, -0.41228652, 0.5965420008, 0.2967942655, -0.1347604245, 0.4618950784, 0.4950620532, 0.4150953293, 0.6095036268, 0.1070528254, -0.1632517278, -0.2082753181, -0.1433175206, -0.2533110976, 0.5427176356, 0.7833997607, -0.6052647829, -0.223230511, 0.161347419, -0.1314302981, 0.2022199631, -0.2849115729, 0.6468265653, 0.0659585446, -0.3852768838, 0.4288759828, 0.0106249964, 0.3892539442, -0.2456188649, -0.3310624957, -0.0992529467, 0.5265290737, -0.0383993015, -0.6882508397, 0.4555468559, -0.0080125276, 0.0035436184, 0.5890185237, 0.7510137558, 0.0999875218, -0.5211755037, 0.6942772269, 0.3857478797, 0.0245208926, 0.2789811492, -0.5740722418, -0.0482923314, -0.5199630857, -0.2154786289, 0.2068614662, 0.3892598152, -0.278667897, 0.5117131472, 0.2366105318, 0.370442152, -0.1813406497, 0.1373712867, 0.6768463254, -0.2056858987, -0.5311992168, -0.7531279325, 0.5566190481, -0.2371637821, -0.2215093821, 0.7344096899, 0.6806579828, 0.4766522944, -0.0456548147, 0.7947435379, 0.1314837784, 0.5035092235, -0.3057245612, 0.8326981664, -0.5319496989, 0.7489372492, -0.497564882, -0.3920486867, -0.5525668859, 0.684014976, -0.5248008966, 0.0308821741, 0.7344909906, 0.4135371149, -0.2619980574, -0.1119395494, 0.2394604236, 0.4725982547, 0.4688895345, 0.416177839, 0.7095181346, -0.9021064639, 0.1384887695, -0.2752119303, -0.4118996561, 0.0225316249, -0.8172072172, -1.3097908497, -0.4162295461, -0.4277840257, -0.7198659182, 0.2496549636, 0.8191083074, 0.5095109344, -1.1636728048, 0.1495566517, 0.2655870914, 0.372780472, -0.1585277766, -0.2550832927, 0.6521528363, -0.0429172032, -0.5488441586, 0.2675742507, 0.3174888492, 0.3409621418, 0.0937680081, 0.2116635144, -0.1758419275, 0.2113676071, 0.7602345347, 0.0106241237, -0.3628151715, -0.153901428, -0.0384971462, -0.1180566549, -0.1200729162, 1.0998908281, -0.3855590224, 0.64046067, 0.4271828532, 0.0918590873, 0.0100336634, -0.2688243985, 0.8685026169, -0.2825530171, 0.0201856885, 0.2562568784, 0.784421742, 0.1246389896, -0.4522670805, 0.2892358005, 0.3172805905, -0.4690751135, -0.9562239647, 0.080220513, -0.5040696263, -0.5308545232, 1.1457928419, -0.2258293629, 0.1453925669, -0.6494725943, -0.0802663416, 0.3416564763, -0.1668730527, 1.0358610153, 0.5062810779, -0.3060687184, 0.4322502017, -0.8294240832, 0.5335907936, -0.0947264209, -0.536047101, -0.0011063993, 0.4200641513, 0.5476598144, 0.11077483, 0.8290980458, -0.4914260805, 0.3300928473, -0.1203866005, -0.1091247648, 0.132799983, -0.4842105806, -0.4832542539, 0.0053455485, 0.2975429595, -0.055488009 ]
http://arxiv.org/abs/2407.02408v1
http://arxiv.org/pdf/2407.02408v1
CEB: Compositional Evaluation Benchmark for Fairness in Large Language Models
2024-07-02T16:31:37
2024-07-02T16:31:37
Song Wang, Peng Wang, Tong Zhou, Yushun Dong, Zhen Tan, Jundong Li
cs.CL
cs.CL, cs.LG
As Large Language Models (LLMs) are increasingly deployed to handle various natural language processing (NLP) tasks, concerns regarding the potential negative societal impacts of LLM-generated content have also arisen. To evaluate the biases exhibited by LLMs, researchers have recently proposed a variety of datasets. However, existing bias evaluation efforts often focus on only a particular type of bias and employ inconsistent evaluation metrics, leading to difficulties in comparison across different datasets and LLMs. To address these limitations, we collect a variety of datasets designed for the bias evaluation of LLMs, and further propose CEB, a Compositional Evaluation Benchmark that covers different types of bias across different social groups and tasks. The curation of CEB is based on our newly proposed compositional taxonomy, which characterizes each dataset from three dimensions: bias types, social groups, and tasks. By combining the three dimensions, we develop a comprehensive evaluation strategy for the bias in LLMs. Our experiments demonstrate that the levels of bias vary across these dimensions, thereby providing guidance for the development of specific bias mitigation methods.
[ -0.3552428186, -0.8404426575, 0.6562516093, 0.7151886225, 0.1216908991, 0.1255452633, -0.5064019561, -0.4666969776, 0.1159424633, 0.4464232624, -0.3783895969, -0.7816857696, -0.7303177714, -0.0039769234, -0.3391020298, 0.940376699, 0.2002914846, 0.5745430589, -0.6543803811, -0.1390375197, -0.7211876512, -0.3486927152, -0.6604665518, -0.4096757174, 0.6051788926, 0.2310707718, 0.5807644129, 0.5289888978, 0.5232428312, 0.2104907185, -0.3575486243, -0.0196291786, -0.560708642, 0.034471713, -0.4461740851, -0.3698364496, -0.44316414, -0.0030591779, 0.8603543043, 1.1327006817, -0.0484113097, 0.3825981319, 0.2435714155, 0.6972587109, -1.1349585056, 0.1580864936, -0.6845142841, 0.1400295645, -0.4096988142, 0.111860469, -0.4752644002, -0.5872805119, -0.0466769636, -0.245652318, 0.1446234286, -0.1298317015, 0.2141345143, 0.0960144401, -0.7102388144, -0.2938354909, -0.4465473592, 1.0131667852, -0.8700734973, 0.3752122819, 0.1074174419, 0.1874518394, -0.1288884431, -0.4290378392, -0.5405258536, -0.1081567481, 0.0814503953, 0.0281007718, 0.0299435277, 0.0381791964, 0.2229309678, 0.3994299471, -0.4483469129, 0.2740488052, -0.0273305736, -0.3870662451, 0.6327713132, 0.436058253, 0.1904302835, -0.2605650127, -0.2043426335, 0.0306725111, -0.6656931043, -0.1717505902, 0.7285404801, 0.21288234, -0.2053596526, 0.5239493251, -0.343562305, 0.6214760542, -0.1236390695, -0.1019029319, 0.4725262821, -0.2059442997, -0.003398079, -0.058491908, 0.683406651, 0.7934088111, 0.1201063246, -0.190910846, -0.0803000927, 0.3607580662, 0.057799004, -0.7408903241, 0.0874736011, 0.0902718455, -0.7407190204, -0.2342933118, -0.1334571838, -0.9981845617, -0.7583432198, -0.3990128636, 0.1873369217, 0.1074475124, -0.1961579621, 0.0666498691, 0.1234194413, 0.2837752104, 0.0113373864, -0.8805604577, 0.5404839516, 0.897339642, 0.6065211892, -0.6356306672, -0.1965850741, -0.5429279208, 0.1604657024, 0.0132881226, 0.7318665385, -0.8070724607, -0.6420252919, 0.1589302868, -0.2032417655, 0.080665566, -0.7070336938, 1.0023988485, -0.3146985173, -0.0364820026, -0.7912684083, -0.6178132892, 0.0721887723, 0.2874993086, -0.8194862604, 0.8403101563, 0.0419327468, -0.9487471581, 0.5748440623, -0.5779029727, -0.6571542025, -0.051577162, -0.440369159, -0.2583861351, 0.2312474251, 0.1510357112, 0.3661932945, -0.472943902, 0.4606569409, -0.8063426018, -0.2883673012, 0.3071767092, -0.5952341557, 0.7335297465, 0.2015305459, -0.3283182085, -0.0738160163, -0.6740915775, 0.0688070208, -0.0267704204, -0.3985426724, -0.3097848594, 0.3171713352, 0.2862443924, 0.2128666192, 0.5051029921, -0.6604776382, -0.2988585234, -0.2962517142, 0.1298400611, 1.0653012991, -0.1665249467, 0.6214444637, -0.344917208, 0.3905638456, -0.1461613923, 0.3220321238, 0.3053955436, -0.325003922, -0.614008069, -0.1991695613, 0.296592474, 0.2766178548, -0.2527215481, 0.4594892859, -0.3017772138, -0.4895549119, -0.3044755757, 0.2617487907, 0.5238607526, 0.3768777549, 0.1699534953, -0.4971417189, -0.4909944832, -1.1459320784, -0.5425400734, 0.1438762248, -0.0608588494, 0.3721374869, 0.3734235764, -0.0521690622, 0.9313731194, -0.388958931, -0.3283214271, -0.1573326886, -0.146092236, 0.1818131357, 0.2985845506, 0.3000453711, -0.5169374943, -0.4193564653, -0.2434979826, -0.5656680465, -0.7831863165, 0.1768517047, -0.2083829492, 0.2345095873, 0.4139173031, -0.467725873, 0.2247658819, 0.8150484562, -0.5505910516, 0.4948366284, 0.2608037889, 0.0823068023, -0.7764670253, 0.0432002731, 0.0162829924, -0.0961759314, -0.1726257354, -0.0410941169, 0.0436999127, 0.3169366717, -0.5243424773, 0.802960813, -0.3279767632, -0.3207188249, -0.2702322006, 0.3475241363, 0.0945061445, 0.2515695393, -0.1089556888, 0.2472220212, 0.3433869481, -0.4859795868, 0.1326208264, 0.0668058619, -0.3120129108, 1.0548708439, -0.5953747034, 0.0559281781, -0.0955008194, 0.5668913722, -0.5736374855, 0.0062443344, 0.043950893, -0.2672389746, -0.0220370423, 0.1549938321, -0.6670980453, -0.2826283872, -0.342340976, 0.6694229841, 0.1173817813, -0.383535713, 0.8352922201, 0.681194067, -0.1176342219, -0.7232789993, -0.6004437804, 0.0309276003, -0.2886833549, -0.6924058199, 0.543548882, -0.2941244841, -0.4591624439, -0.048649773, -0.4430198967, 0.2992857099, 0.1268981546, 0.2937505245, 0.0981568769, 0.1329478323, -0.1197292507, 0.0720119625, 0.1055630371, 0.411259532, 0.0282143075, 0.7815493941, -0.0765604526, -0.6219837666, 0.0458909497, 0.3532755077, 0.1353581697, -0.1384076625, 0.5700753927, 0.7620899081, -0.5055913925, -0.3485580981, -0.9017322659, -0.0335754119, -0.4445863068, 0.4343693554, -0.0750730783, -0.9822335243, 0.7644988894, 0.2654831409, 0.1657868028, 0.3270113468, 0.8686154485, 0.2008649707, 0.9391182065, 0.4423583746, -0.2231131941, 0.2930585444, 0.0655327216, 0.1327146739, -0.9024302959, -0.4601246417, -0.6740092039, -0.4532499015, -0.7471122742, -0.4341283143, 0.277883321, -0.2844759822, -0.3006373942, -0.1260321587, -0.2148776203, 0.7958293557, 0.465508461, 0.1993343234, 0.3410588503, -0.270055443, -0.0508117825, -0.0884792879, -0.3657712638, -0.7120727897, 1.4833152294, 0.4487709105, 0.7304692268, 0.166046679, 0.5828078985, 0.5787082314, 0.5916121006, -0.6498455405, 0.6852403879, -0.2838812768, -0.8865745068, -0.0832189918, -0.5478717089, -0.8188295364, 0.3948864043, -0.260155946, -0.8205919862, 0.1326284558, 0.0242157709, -0.0337847322, 0.2374297082, -0.6633557677, 0.9449188113, -0.2146288753, -0.5697748661, -0.2379060686, -0.5656347871, 0.452216059, -0.1658085287, 0.4171895385, -0.4189424217, 0.0066686901, 0.8318073153, -0.1746134609, 0.860855639, -0.3803873658, -0.3420352936, 0.1275893897, 0.2125444859, 0.2991298437, 0.2242154777, -0.3185447454, 0.4006071985, -0.0081753675, -0.5299943089, -0.314968437, 0.9568339586, -0.5766779184, -0.391477108, -0.2917746007, -0.7279487252, -0.5178732276, 0.1259131134, -0.1093583107, 0.1835544705, -0.4712766707, 0.3572807014, 0.5428022146, -0.4731298387, 0.4943021238, 0.5964542031, -0.1691592187, -0.2953299284, 0.6486306787, -0.1559603661, 0.4152816236, 0.321188271, 0.1041679531, -0.3987923563, -0.5604656339, 0.0648156255, 0.0604920834, -0.9440929294, -0.3136670887, -0.6465708613, 0.0067801573, -0.3992723823, -0.1059501991, -0.3089168072, -0.0676573813, -0.0717384741, 0.0282753278, -0.2008088678, 0.6330302954, -0.0786956847, 0.3186914325, -0.5247326493, 0.3909671605, 0.1855340451, 0.6253640652, 0.0522810631, -0.5098099113, -0.188434124, -0.0563030727, -0.7064914703, -0.6431924701, 0.1332836002, -0.0557120331, 0.8180074692, 0.2099506557, -0.1481164694, 0.1984256208, -0.4558431506, 0.7673149109, 0.1517573595, -1.2890384197, 0.1477528214, -0.4507710636, 0.2167499661, 0.6296054721, -0.0511355959, -0.4853482544, -0.4661424458, -0.4580366015, -0.998223424, 0.3830094934, 0.1458325833, 0.3271127343, -0.3832061291, -0.0638822839, 0.1958826333, 0.2858507931, -1.1189522743, -0.1670973301, 0.1574682593, -0.3878618777, 0.0353637971, -0.2747093141, -0.0433664918, 0.0881953537, 0.4600731432, -0.0564808436, -0.0182255637, -0.0689418167, -0.2639815509, 0.060999874, 0.4504685998, 0.2465483695, 0.8811030984, -0.1518143713, 0.0525263995, 0.4440930486, -0.4174610674, -0.0949070677, 0.069966808, -0.1317523867, -0.1508107185, 0.292732656, 0.3673989177, 0.1423626244, -0.7624382377, 0.7509922385, 0.1129986718, -0.1170635447, -0.2507353723, -0.0385778323, 0.2784187794, 0.3747369051, 0.1413749605, -0.2613328099, 0.4672929049, -0.4729490876, -0.0459828489, 0.59087044, -0.2108107805, 0.0077320333, 0.6724290252, 0.4000680149, -0.1191965789, 0.2641286552, -0.1025217846, -0.2432360798, 0.6951977015, 0.4264742434, 0.8315526247, -0.0897423252, 0.1966823786, 0.1533530802, 0.3905403912, 0.0062996279, 0.2055165172, 0.1598227918, -0.8423597217, -0.6412759423, -1.0118199587, -0.4016473889, 0.1957650483, -0.6995795369, 0.353613317, -0.4351405501, -0.2524984777, -0.0084553817, 0.0416834168, -0.9005107284, 0.1987619847, 0.512608707, 0.8565912247, -1.0170016289, 0.3450373411, 0.3362958729, -0.0910183266, -0.3744795322, 0.051828023, 0.1150333509, -0.7066560984, 0.5963494182, 0.2718489468, -0.0215667747, -0.3726530671, -0.4249696434, -0.5743526816, 0.8770139217, 0.517883122, -0.6474747062, 0.0695880875, 0.4007997513, 0.5230161548, -0.4393213093, 0.2179535776, 0.9153626561, 0.7310917974, -0.3459661007, -0.9592561722, 0.1974836588, -0.1748701036, 0.1981992573, -0.0267068688, -0.6488204002, 0.6818307638, 0.1803617179, 0.0025355257, -0.0176818557, 0.4848805666, 0.4908057451, 0.4948506355, 0.6084261537, 0.7232248783, 0.6325300336, -0.2077769786, 0.8790542483, -0.0935337469, 0.2545737028, 1.4511210918, -0.6796591878, 0.4621558487, 0.5597324967, -0.2813103497, 0.3133443594, 0.5749440193, -0.0434483886, 0.3395501375, 0.8236399889, -0.491452992, -0.1432460546, -0.4605382681, -0.2847804427, 0.4940525889, 0.3209258616, -0.3594353497, -0.1857729256, -0.1648841798, 0.1432685554, 0.5436988473, -0.4928137362, 0.5831139088, 0.0402454026, -0.5189751387, 0.0247238502, 0.2136981785, 0.8800990582, -0.3651157618, 0.1848249137, -0.3463236392, 0.0790321752, -0.3512495458, -0.9360622764, 0.275858134, -0.038530536, -0.2858168483, -0.0306391492, 0.4776658416, -0.2605122626, -0.4517828524, 0.5754272342, 0.4165655077, -0.0832287893, -0.1368889511, -0.5611818433, 0.5443102717, -0.0900769159, -0.1696264148, 0.2544710636, 0.3257875144, -0.1288511753, 0.5280333757, 0.5182446837, 0.2323470116, 0.0765371919, 0.5921252966, 0.7652193308, -0.6047024131, -0.2662373185, -1.0042020082, 0.4867720604, -0.2727083862, -0.0632511973, 0.7308372259, 0.7736600637, 1.043243885, 0.1663390547, 0.855610013, -0.1637114435, 0.4191763997, -0.5740098953, 0.4503988922, -0.3178299665, 0.5376245379, -0.6499349475, -1.4677270651, -0.3040795028, 0.3489196599, -0.4130412638, 0.425845623, 0.7532750368, 0.7640345097, 0.044713933, 0.0788457021, 0.1084962189, 0.1076539606, 0.4132811129, 0.6099782586, 0.8038043976, -0.0978767201, 0.4299982786, 0.0201866049, -0.1230743751, -0.0414533094, -1.2348598242, -0.9780444503, -0.2031254619, -0.081048362, -0.5057508349, -0.0529094897, 0.8439384699, 0.5081731677, -0.6489651799, -0.319904834, 0.1519672871, 0.3179489374, 0.2232771367, -0.2861850858, 0.1886573434, -0.2588799298, -0.8326475024, 0.0190514028, 0.1327046007, -0.3849625587, -0.4299403131, -0.1479278952, 0.0993699655, 0.1478803009, 0.8011807203, -0.1536966264, -0.5839563608, -0.3274789155, -0.1665163934, -0.0903171822, -0.2056562603, 0.6929211617, -0.4359260798, 0.2857533395, 0.4442994893, 0.7925612926, 0.2692400813, -0.3160506189, 0.5057045221, -0.6377450824, -0.1548116952, 0.2590055764, 0.4682845771, 0.565811336, -0.1396299601, 0.496047467, 0.1280766428, -0.6922779679, -0.8789489269, 0.2114342898, -1.2401027679, -0.1567985266, 1.486595273, 0.1692314595, -0.0762130618, 0.0766120404, -0.1587209553, 0.1413253099, -0.4064845145, 0.8366605043, 0.8991289735, 0.2930591106, 0.3287425041, -0.6572608948, 0.15373905, 0.502471447, -1.0249124765, 0.1945706904, 0.8350625038, 0.4682095349, -0.1749310642, 0.666801393, -0.5472547412, 0.1158241853, -0.3590550423, 0.3004171848, 0.4624905884, -0.0679881126, -0.1614747494, 0.1307871193, 0.0168945808, 0.2473185062 ]
http://arxiv.org/abs/2407.02397v1
http://arxiv.org/pdf/2407.02397v1
Learning to Refine with Fine-Grained Natural Language Feedback
2024-07-02T16:15:01
2024-07-02T16:15:01
Manya Wadhwa, Xinyu Zhao, Junyi Jessy Li, Greg Durrett
cs.CL
cs.CL
Recent work has explored the capability of large language models (LLMs) to identify and correct errors in LLM-generated responses. These refinement approaches frequently evaluate what sizes of models are able to do refinement for what problems, but less attention is paid to what effective feedback for refinement looks like. In this work, we propose looking at refinement with feedback as a composition of three distinct LLM competencies: (1) identification of bad generations; (2) fine-grained natural language feedback generation; (3) refining with fine-grained feedback. The first step can be implemented with a high-performing discriminative model and steps 2 and 3 can be implemented either via prompted or fine-tuned LLMs. A key property of this approach is that the step 2 critique model can give fine-grained feedback about errors, made possible by offloading the discrimination to a separate model in step 1. We show that models of different capabilities benefit from refining with this approach on the task of improving factual consistency of document grounded summaries. Overall, our proposed method consistently outperforms existing end-to-end refinement approaches and current trained models not fine-tuned for factuality critiquing.
[ -0.2604074478, -0.9488218427, 0.5402382016, -0.1027414575, -0.0821337178, 0.3058336377, -0.6793813109, -0.5308877826, -0.1078874767, 0.7900707126, -0.5671648979, -0.4556914568, -0.4025199115, 0.2008317113, -0.3202291131, 1.4159078598, -0.0574399158, 0.1693536788, -0.3264769018, -0.1606329381, -0.6407244205, -0.3985568285, -0.6112086773, -0.6122726202, 0.4185765684, 0.8553109169, 0.4444654286, 0.4352266192, 0.3243312836, 0.2905233502, -0.1913018674, 0.6327704787, -0.8464169502, 0.0554948896, -0.4613511562, -0.606738925, -0.2720043957, 0.1187245846, 0.4234658778, 0.8238831758, -0.1840689182, 0.2928418815, 0.5238870382, 0.893058002, -0.5827335119, 0.2553501129, -0.7165027261, -0.1424120069, -0.0741340145, -0.2793580592, -0.6679481864, -0.6963032484, 0.1939799041, -0.5308004618, 0.7829671502, -0.1286262125, 1.0115938187, 0.2913839519, -0.2262573242, -0.491202563, -1.0118783712, 0.8897802234, -0.9200819731, 0.1121652946, 0.4621197879, 0.2784343064, -0.1114582717, -0.5785238743, -0.3767340481, -0.4933948815, -0.2011943609, 0.0302609727, 0.1395513713, 0.002669984, 0.085124813, 0.6024931669, 0.026152527, 0.3238862753, -0.4906986356, -0.2853752673, 0.7111173272, 0.0258983988, -0.2106531411, 0.0149032958, -0.2120491117, 0.2079720199, -0.593603313, 0.0658075511, 0.3532586992, 0.7528142333, 0.021936696, 0.6067407131, -0.737410903, 0.6512691379, 0.4435319304, -0.3008804917, 0.0196726527, -0.4054054618, -0.028819453, -0.0812769607, 0.3011994362, 0.6359269023, 0.3712568879, -0.3745132685, -0.6240837574, -0.0227447525, 0.4924129546, -0.7760555148, -0.1088311523, 0.0904414728, -0.4890424311, -0.4181511104, 0.1187313646, -0.9103193283, -0.6392299533, -0.9462406635, 0.23208794, -0.4416996539, 0.0308088586, 0.1834826618, 0.0796607286, 0.2221414447, 0.7167754173, -1.0751225948, 0.381467849, 0.8191038966, 0.5996858478, 0.1482739598, -0.0698947459, -0.77536726, 0.006758254, -0.2424092144, 1.0294141769, -0.4555515945, -0.1183151081, 0.1905986965, -0.0593657121, 0.2018106133, -0.854121387, 0.720164299, -0.3691006303, 0.136719346, -0.4395890832, -0.5996188521, -0.3529955745, 0.6131687164, -0.5779007077, 1.0413992405, 0.2502852976, -0.7220448256, 0.5069085956, -0.258746177, -0.2952520251, -0.0113366535, 0.0380292237, -0.3718811572, 0.4529910088, 0.0840056837, 0.4083718657, -0.328733027, 0.4024514556, -0.3509489298, -0.1381820142, 0.0297762454, -0.3952248394, 0.0924672931, 0.1285073459, -0.300485611, 0.2520481646, -1.2939943075, 0.1073086038, -0.0953005627, -0.6685213447, -0.0414169803, 0.0065475302, -0.1930979043, -0.0461913496, 0.201101765, -0.4954037964, 0.0923556164, -0.5580421686, 0.3000121415, 0.6024217606, 0.0910375789, 0.3994288146, -0.621424377, 0.2537953854, -0.1180048436, -0.1565504372, -0.1367460191, -0.0183850899, -1.0554465055, 0.0623123124, 0.4432935715, 0.268620044, -0.6683757305, 0.3506328464, -0.180361852, -0.5385380983, -0.4854440391, 0.4682812393, 0.4834311903, 0.60625875, 0.4298206866, -0.4857431054, -0.595225811, -0.7475301027, -0.2199997306, -0.1885033101, 0.0306570344, -0.0460242517, 0.2823358476, -0.1811167598, 1.1121226549, -0.2659370601, -0.2556813359, -0.3698989451, 0.3495160639, -0.1048909202, 0.4242878854, 0.2028069645, -0.2831361294, -0.2256273329, 0.1494828463, -0.3602875471, -0.4255279601, -0.1365242451, 0.1245710775, 0.1819335073, 0.6744816303, -0.4216030538, 0.1893362999, 0.243258208, -0.2599290311, 0.7619935274, -0.2304367274, -0.1173192933, -0.7595917583, 0.0941134095, 0.0646954775, -0.2818404734, -0.6195856929, 0.2950505614, -0.1786139458, 0.2114075273, -0.2181916386, 0.436793834, -0.3448550999, 0.2467051595, -0.386834085, 0.3711673915, 0.2558554113, 0.4326462448, -0.2185661793, 0.4332584441, 0.0451943465, -0.7720353007, 0.4020912051, 0.0389232635, -0.1503297389, 0.790366888, -0.5143492818, 0.0286591426, -0.4422968328, 0.2767419815, -0.9127445817, -0.4083247483, -0.0554843359, -0.307405293, 0.4720154405, -0.2620495558, -0.372913003, -0.2274765372, -0.3855006695, 0.0109850848, 0.1715266407, -0.5998184681, 0.6289898157, -0.0205254126, -0.2277708948, -0.3821032941, -0.6262748241, -0.1087831631, 0.0782398805, -0.5133644342, 0.2342052758, 0.0472105406, -0.4251386523, -0.2468303293, -0.1807513237, -0.0251609609, 0.1831326485, 0.0665109977, 0.1191232204, -0.1913623512, 0.1229764447, -0.3569481075, -0.1362511963, -0.0703161135, -0.0894936845, 0.4902910292, -0.304492265, -0.2725502253, -0.2884473801, 0.1264986992, 0.6638427377, -0.4599271715, 0.418550849, 0.5633365512, -0.2468144447, -0.4474777281, -0.8718975782, -0.3661260009, -0.3948706388, 0.2662548721, -0.0652075633, -0.9905943274, 0.6892619133, -0.0700074881, 0.2329157293, 0.4440327585, 0.6562686563, 0.0691184625, 0.7493647337, 0.7754958272, 0.1438361555, 0.1612209678, -0.3232416213, 0.1607731432, -0.7211957574, -0.4585626423, -0.7698208094, -0.2377239317, -0.4252946079, -0.2264139205, -0.3839699328, 0.4453491867, -0.1176988706, -0.0695309117, -0.3018294275, 0.7021740079, 0.6659978032, 0.1818319559, 0.3715465069, -0.0883596316, -0.3139925897, -0.0294418745, -0.4441720247, -0.9656190872, 0.808785975, 0.6417310238, 0.8819977045, 0.0508619435, 0.7022203803, -0.0067611067, 0.5948929191, -1.0021048784, 0.4729528427, -0.1712111086, -0.4725078046, -0.0669662878, -0.3533500731, -0.5633602738, 0.0450957976, -0.2564540207, -0.5820937753, 0.017934436, 0.2523911297, -0.7458871603, 0.2206450254, -0.8635511398, 0.6564480662, 0.129477635, -0.5615983009, -0.2253744751, -0.6179330945, 0.4094305336, -0.0583649948, 0.1159374267, -0.1514310241, 0.4793125987, 0.3756682575, -0.728597939, 1.2546994686, -0.2237106115, -0.4218840599, 0.4863382578, 0.0655772537, 0.6234986186, 0.0693090111, -0.0203489661, -0.3764240146, -0.1270350814, -0.1949658692, -0.6858356595, 0.4940223098, -0.5614554286, -0.6794685125, 0.0339194611, -0.3011642992, -0.5146386623, 0.2574111819, 0.2208353281, 0.7086203694, -0.2787631452, 0.2381773442, 0.7024328709, 0.0458372235, 0.264954567, 0.8398867846, -0.3082955182, -0.3831153512, 0.8346681595, 0.0715313777, 0.40301314, 0.1450299174, 0.1273329556, -0.2860345244, -0.7346379161, -0.2886766791, 0.2894886732, -0.8916192055, -0.4558967948, -0.3051637709, -0.2421782166, -0.2272983491, -0.0995457619, -0.5748049617, -0.2479461581, -0.6405394673, -0.2774043977, 0.0758722648, 0.930160284, 0.1252886802, 0.3498756588, -1.0092608929, 0.3469603956, 0.3342640996, 0.6663525701, 0.306735158, -0.7618256211, -0.3736865819, 0.1990218908, -0.6830883026, -0.5284217596, 0.1385229081, 0.2013202757, 0.3667889833, 0.4963395298, 0.0441182181, 0.648486793, -0.5584661961, 0.8730165362, -0.0392502174, -0.7215101719, 0.4838482738, -0.1850872934, 0.3015832901, 1.1678388119, -0.0717223287, -0.374551177, -0.762825489, -0.5803197622, -0.7023572922, 0.606090188, -0.1634463817, 0.1792936921, -0.1146624088, 0.5607293844, 0.2772907913, 0.1404468566, -0.690677464, 0.2172138244, -0.1264598817, -0.1339857429, 0.1105265617, -0.5941821933, -0.3416297734, -0.0672445595, 0.8985274434, -0.3380149603, -0.3112824559, 0.2430521846, -0.1602545828, -0.2389949709, 0.667294383, 0.7141602039, 0.7342228293, -0.2451848835, 0.2903909683, 0.0977494121, -0.3611957133, 0.1160596013, 0.0525362492, -0.2704742551, 0.209480226, 0.5581976771, 0.6644387245, 0.2325565219, -0.4827014208, 0.3788166344, 0.0382728949, -0.2536684275, 0.0685777664, 0.0485611446, -0.1716128886, 0.1461199075, 0.1987749636, 0.3017461896, -0.0153498417, -0.6316789985, 0.3308732808, 0.2863859236, -0.4834742844, -0.3088929951, 0.3939912021, 0.5800411105, 0.0452933423, 0.508400023, -0.3781298101, -0.5909661651, 0.3489999771, 0.5650252104, 0.8941875696, -0.0697436333, 0.2735738158, 0.5068580508, 0.2817421854, -0.4322329164, 0.0297136679, 0.0908918232, -0.7744227052, -0.7447428107, -0.7532414794, -0.4356967807, 0.2320605665, -0.8608683348, 0.486715287, -0.6637997627, -0.1990830749, -0.0580374449, 0.1930766404, -0.4022769928, 0.3344354928, 0.2058364451, 0.8553765416, -0.6620542407, 0.4328383207, 0.5988987684, -0.5123169422, -0.9863552451, 0.1877147108, 0.1272613555, -0.5486306548, 0.6969290972, 0.4725937843, -0.1525328606, -0.0493693426, -0.487233907, -0.7182478309, 0.8415247202, 0.3110876083, -0.8065807223, -0.0094410805, 0.0019614554, 0.798324585, -0.1653743088, 0.2462747544, 0.8812712431, 0.3671959341, 0.1353207231, -0.9481224418, -0.0772070512, -0.0869010612, 0.1677828729, 0.085677214, -0.6598044038, 0.3938834369, -0.4275521636, -0.3812270164, 0.1815581024, 0.80831635, 0.2277677506, 0.313478142, 0.2592777312, 0.9662225246, 0.9402552843, -0.230624035, 1.0402019024, -0.2254465967, 0.4342470169, 1.5057057142, -0.2548721135, 0.7862347364, 0.3882869184, -0.0506588183, 0.5339577794, 0.4791482389, -0.0856886655, 0.5461767912, 0.4067019224, -0.3320470452, -0.0607810095, -0.3452827632, -0.067479305, 0.3811728358, 0.1301707625, -0.3078375757, -0.5409943461, -0.1718633324, 0.0672372952, 0.479055047, -0.5475184917, 0.8372111917, -0.0505072027, -0.9524421096, 0.65711236, 0.3183860779, 0.6589797735, -0.3524441123, -0.1480776817, -0.4645585716, 0.2534154058, -0.5516765118, -0.606712997, 0.4517234266, 0.2413806617, -0.6589178443, 0.0090583097, 0.6288814545, -0.623468399, -0.2901110351, 0.0018537827, 0.0972461328, -0.3790590763, 0.0682245865, -0.2754268944, 0.0958915129, 0.2438101768, -0.0286205672, -0.0898134187, 0.6404721141, 0.0072970958, 0.6738681793, 0.6049590707, 0.2075878531, -0.0685990378, 0.5445669293, 0.7553582191, -0.4786448777, -0.2839194834, -0.8830903769, 0.6092197299, -0.0975514576, -0.3654097021, 0.713827908, 0.4946654141, 1.0911817551, -0.0230662581, 0.7229422927, 0.1552734673, 0.8595053554, -0.8148905039, 0.2999493182, -0.1109839305, 0.5533114672, -0.0064979838, -1.0035988092, -0.3744295239, 0.4001275003, -0.3100728393, 0.1825145483, 0.6445845366, 0.8674877286, 0.0909828693, 0.1723546237, 0.0153711736, 0.3883102834, 0.4155610204, 0.1737170964, 1.0210024118, -0.1658669412, 0.3498515189, -0.2385540158, -0.1621768177, -0.4190047085, -0.8234984279, -0.7894759178, -0.1640275717, -0.5632938147, -0.5947609544, -0.1739312112, 0.9647651911, 0.4789031446, -0.9553034902, 0.0503233299, -0.2485546619, -0.1269807816, 0.1004022881, -0.3158971369, -0.0952591226, -0.9356174469, -0.5278072357, 0.2573565245, 0.210497275, 0.107861191, -0.2592771649, -0.0701559857, 0.1281151026, 0.1652564108, 0.652022481, 0.3424774408, -0.9133535028, -0.4932713807, -0.3762563765, -0.2185413539, 0.0353987329, 0.905621767, -0.7099684477, 0.6174729466, 0.2591838241, 0.8297621012, 0.2561343312, 0.376193881, 0.6224425435, -1.1640206575, -0.0297383983, 0.2563143671, 0.3069903255, 0.7102748752, -0.1780062467, 0.4536949396, 0.1489584297, -0.5993180871, -0.6997787952, 0.1857319623, -0.7908107638, -0.1308523715, 1.328643322, -0.0121892402, 0.0952907056, -0.2148051709, -0.5215817094, 0.1905306131, -0.2537929118, 0.9409808517, 1.0468428135, 0.1844367683, -0.0350950845, -0.4277237356, 0.5799046755, 0.5109740496, -0.7847308517, 0.6105396748, 0.7799059749, 0.2500122488, 0.3655534387, 0.3713978827, -0.2581911087, 0.120288536, -0.2895563543, 0.0576099455, 0.03288671, -0.3481790125, -0.5126832128, 0.1438467354, 0.5266160965, 0.2551697195 ]
http://arxiv.org/abs/2407.02395v1
http://arxiv.org/pdf/2407.02395v1
Is Your AI-Generated Code Really Secure? Evaluating Large Language Models on Secure Code Generation with CodeSecEval
2024-07-02T16:13:21
2024-07-02T16:13:21
Jiexin Wang, Xitong Luo, Liuwen Cao, Hongkui He, Hailin Huang, Jiayuan Xie, Adam Jatowt, Yi Cai
cs.SE
cs.SE, cs.CL
Large language models (LLMs) have brought significant advancements to code generation and code repair, benefiting both novice and experienced developers. However, their training using unsanitized data from open-source repositories, like GitHub, raises the risk of inadvertently propagating security vulnerabilities. Despite numerous studies investigating the safety of code LLMs, there remains a gap in comprehensively addressing their security features. In this work, we aim to present a comprehensive study aimed at precisely evaluating and enhancing the security aspects of code LLMs. To support our research, we introduce CodeSecEval, a meticulously curated dataset designed to address 44 critical vulnerability types with 180 distinct samples. CodeSecEval serves as the foundation for the automatic evaluation of code models in two crucial tasks: code generation and code repair, with a strong emphasis on security. Our experimental results reveal that current models frequently overlook security issues during both code generation and repair processes, resulting in the creation of vulnerable code. In response, we propose different strategies that leverage vulnerability-aware information and insecure code explanations to mitigate these security vulnerabilities. Furthermore, our findings highlight that certain vulnerability types particularly challenge model performance, influencing their effectiveness in real-world applications. Based on these findings, we believe our study will have a positive impact on the software engineering community, inspiring the development of improved methods for training and utilizing LLMs, thereby leading to safer and more trustworthy model deployment.
[ -0.1936137229, -0.5884175301, 0.3762607276, -0.1272870153, -0.1538818926, 0.3461895287, -0.208884269, -0.6708167791, -0.1591908634, 0.6268046498, -0.168715626, -0.6379663348, -0.5270593762, -0.0060613072, -0.5390816927, 1.0651152134, 0.0734139904, -0.0073140906, -0.4270116985, 0.0254527945, -0.3128437996, -0.7332903147, -0.3713669777, 0.0010926364, 0.1878630072, 0.4176336229, 0.8114703894, 0.5505073667, 0.6984633207, 0.2963495553, -0.0050536841, 0.069928512, -0.5404236317, 0.4143533111, 0.0492319465, -0.541864574, -0.4613696933, -0.2912065685, 0.1758190691, 0.359397471, -0.0288735051, 0.4299362898, 0.1015761793, 0.6445894241, -0.6638659239, 0.0210580789, -0.9671117663, -0.0350924805, -0.2754339576, -0.243238315, -0.4872715473, -0.7593485713, -0.2460211813, -0.0907662734, -0.0381209776, -0.0526736081, 0.5882552862, 0.2730549574, -0.4238339365, -0.396258384, -0.7319998145, 0.5317844748, -0.8005238175, 0.1144557744, 0.4680905044, 0.1387856305, -0.2078372985, -0.5873065591, -0.1558766812, -0.5399919152, 0.1614600867, -0.2445286512, -0.3043297231, 0.0375169963, 0.3842327595, 0.3069572151, -0.8170098662, 0.3392090499, -0.3181992173, -0.3113714755, 0.8357391953, 0.1929443032, 0.6088648438, 0.2427353412, -0.2210026979, -0.1337551028, -1.114916563, 0.052434165, 0.8840076327, 0.1437564194, -0.2450038642, 0.5193400979, 0.2558583319, 0.449644804, -0.316089958, 0.0180634949, 0.127543658, -0.197154209, -0.1221194193, -0.0995068103, 0.5713808537, 0.1983665377, 0.585753262, -0.3095860481, -0.4246647358, 0.2132068723, 0.5879339576, -0.678884089, -0.2675287127, 0.4262720048, -0.4394552112, -0.9583398104, 0.1507655084, -0.559432745, -0.5671768188, 0.0357329175, -0.0276881475, -0.1984293759, -0.3410360217, -0.10240978, 0.0760578141, 0.1335233599, 0.1311075836, -0.6013486981, -0.0405791737, 0.7613089085, 0.4595191479, 0.0981303751, -0.1989085376, -0.5222197175, -0.0674037486, -0.5850279331, 0.5590204, -0.5472260118, -0.4265972376, 0.376609534, -0.2910021544, 0.2511199713, -0.5644304156, 0.2774571776, -0.7897086143, -0.4152121246, 0.0913827717, -0.5078487992, 0.2394453883, 0.3357022107, -0.6637447476, 0.8389004469, -0.1646215618, -0.7934374213, 0.097080946, -0.3915691972, -0.4328395426, 0.1456917524, -0.3932283521, -0.6113471389, 0.2020796984, 0.148183167, 0.2978956401, -0.1668800563, 0.3913883865, -0.5530876517, -0.2846996784, 0.7785255313, -0.6137446165, 0.6598033905, 0.2956030071, -0.4826438725, 0.1979914308, -0.6174119711, 0.27133587, 0.262277782, -0.1709889323, -0.3241337538, -0.1281448007, -0.0177330859, 0.0060173408, 0.2928995788, -0.3250781, 0.2447638363, -0.4672568142, 0.441852212, 1.0357651711, 0.1436496377, 0.4734786153, -0.1519542187, 0.8315364122, -0.1264733821, 0.3942672312, -0.3689143658, -0.4005131125, -0.2857892811, -0.0759167299, 0.3605142534, 0.5052666068, -0.6507873535, 0.3440767825, -0.014386978, -0.6047682166, -0.2050998509, 0.2888362408, 0.6817953587, 0.1405640095, 0.0130486656, -0.1213818863, -0.4348423183, -0.7381863594, -0.2898599803, -0.4025535583, -0.0675762147, 0.2276764363, 0.669721067, -0.5085218549, 0.6541627049, -0.5608915091, 0.2848011255, -0.1868310571, -0.0741391033, -0.0969437659, 0.6130165458, 0.7086770535, -0.5567753911, -0.0269650724, -0.166912064, -0.7984560132, -0.092454657, -0.1196359619, -0.1475658715, 0.302406162, 0.6824555397, -0.3713619709, 0.4033031166, 0.77609092, -0.2303552777, 0.5230987072, -0.1541755348, 0.0401860178, -1.0266968012, 0.1764541864, -0.270406127, -0.2444519401, -0.5462319851, 0.5645051003, 0.1850000024, -0.5921825767, -0.2720542848, 0.3235756755, -0.4813465774, -0.134665519, -0.1938852519, -0.1270745993, -0.0488214344, 0.1842985004, -0.3882001638, 0.9032251239, 0.6555774808, -0.3195661604, 0.1090058908, 0.0637927651, -0.5048840642, 0.1111906394, -0.726160109, 0.6505848765, 0.1689155549, 0.0558107309, -0.9086187482, -0.3512597382, 0.180023253, -0.6347903013, 0.3513380885, -0.3668800294, -0.6058459282, -0.2198789418, -0.4375994503, 0.5339407325, 0.4134286642, -0.4975104928, 0.164565742, 0.6429014802, -0.3172249198, -0.5472872853, -0.6824783087, 0.3046113551, -0.266653806, -0.8408722281, -0.0344667174, -0.1653653085, -0.57261765, -0.1566191614, -0.2022870481, -0.231961593, 0.6449770331, 0.5472789407, 0.4383122325, -0.1002454162, 0.1110290065, 0.0615500696, -0.1286415905, 0.3331199884, -0.2763163745, 0.4111758769, -0.2642338872, -0.6537874937, -0.1140843779, 0.3539651036, 0.7470501661, -0.6121120453, 0.6449146867, 0.3690625429, -0.5030212402, -0.423851043, -0.3836804032, -0.2528413534, -0.4793190062, 0.360104084, -0.0903771892, -0.9520771503, 0.5026510358, -0.0197371747, 0.2384230644, 0.0422290489, 0.4761626422, -0.1165185347, 0.9942058325, 0.6376720667, -0.3254222572, 0.339104116, -0.1187807694, 0.3549260795, -0.3169497252, -0.1502169967, -0.7775940895, -0.0314177424, -0.5555789471, -0.3219922185, 0.3946900666, 0.0390077643, -0.2977440357, 0.3681962788, -0.4345762134, 0.4941945374, 0.4631411433, 0.1300182194, 0.2424738109, -0.0924500301, 0.2934523821, 0.1922817975, -0.4859734178, -0.6515592337, 1.334348917, 0.5805011988, 1.1655739546, 0.1948265731, 1.0468682051, 0.6263676882, 0.0823738575, -0.4016735852, 0.4699277878, 0.1404622942, -0.4308646023, -0.1735488027, -0.5334156156, -0.9658831358, -0.1940573454, -0.1865075678, -0.4953782558, -0.0468482673, 0.2937721014, -0.3773933351, 0.1786423326, -0.7152126431, 0.6923013926, -0.500192821, -0.1500234455, -0.2166952044, -0.5290878415, 0.5165162086, -0.2721176445, 0.2927345037, 0.1349167228, 0.1301414073, 0.4470696747, -0.4831052423, 0.949213624, -0.0584658682, -0.4664748609, 0.2981299162, 0.4076628387, 0.7104815245, 0.4289616346, -0.0695585534, 0.4159507751, -0.1734480411, -0.3567076027, -0.4332086742, 0.801538229, -0.6720459461, -0.5585018396, -0.3807475567, -0.3900033832, -0.2370184362, 0.0973665565, 0.2857734859, 0.5399116874, -0.1265213042, 0.2176600695, 0.7993263006, -0.5250367522, 0.3409288526, 0.17795147, -0.0507515408, -0.4240796864, 0.6616695523, -0.0790878609, 0.3278409839, 0.0189652704, -0.0355222598, 0.0774634182, -0.6808494329, -0.541439712, -0.0287211817, -0.6574445367, -0.6315069795, -0.3098137975, -0.3902306855, -0.4957980812, -0.3615661561, -0.4647561014, -0.1649904698, -0.1147251576, -0.3534029722, 0.4434867203, 0.7162740827, 0.317492038, -0.1381035894, -1.1979085207, 0.1485366821, 0.0239719339, 0.4004927874, -0.1609575152, -0.3499068916, -0.4544570446, 0.0358697399, -0.0344622843, -0.8307808042, 0.2440429926, -0.1669835746, 0.6428174376, 0.2991436124, 0.2763569951, 0.3370236754, -0.4150686264, 0.8538635969, -0.0548382327, -0.9216563106, 0.62005198, -0.2987158895, 0.0947449207, 0.6516996622, 0.0014198978, -0.1156732216, -0.6994383931, -0.689463675, -0.9223576784, 0.2847883403, 0.4921807647, 0.3312878609, 0.0242152885, 0.3645377755, 0.009400758, 0.2390655875, -0.732494235, -0.2329600751, 0.0160613973, -0.0479934998, 0.4076482356, -0.3183820844, -0.3363895714, 0.3100707531, 0.4684084058, -0.0974692702, 0.2783994079, -0.2130644321, -0.2942645252, -0.2015047222, 0.2676581442, 0.683575809, 0.5552963018, 0.114620246, 0.141531989, -0.0180219114, -0.5610939264, -0.0072129108, -0.104082562, -0.0730854794, -0.1766238064, 0.7089017034, 0.4557873607, 0.1077153832, -0.8897439837, 0.7062067986, -0.1769711226, -0.0652787015, -0.5665090084, 0.3015885651, -0.0580265373, 0.3869517744, 0.1344268024, 0.3452369571, -0.0383370332, -0.5403558612, 0.1935589463, 0.5048869252, -0.0866484568, -0.2641673386, 0.6703650951, 0.388876617, -0.2776385248, 0.6984392405, 0.0059452378, -0.4405902624, 1.0083949566, 0.4324342608, 1.1416057348, -0.1778979599, 0.1211140826, 0.1595434994, 0.7227153778, 0.0675089583, 0.234718293, 0.0642080605, -0.5857554674, -0.0252028815, -0.4238862991, -0.4344464242, 0.0943985805, -0.668374896, 0.0961305946, -0.4481910467, -0.2056567669, -0.5541131496, -0.3437134027, -0.4286105335, -0.0003340801, 0.3800700605, 1.0221039057, -0.856359005, 0.8602390289, 0.4906736016, -0.3578486741, -0.7828626037, 0.3057313263, 0.0231883135, -0.7717208266, 0.3475289047, 0.0896066874, -0.1902085096, -0.2883612216, -0.7293653488, -0.783275485, 0.9249014854, 0.6642075777, -0.6005423665, -0.0028207696, 0.3840245306, 0.5057603121, -0.1191822216, 0.0700352192, 0.2269136608, 0.3028362393, -0.4051989019, -0.6163929701, -0.0469766855, -0.575840652, 0.1766851097, 0.2098094374, -0.3193802238, 0.5167880654, -0.3745935857, -0.038536109, 0.2741695344, 0.3817751706, 0.3945648074, 0.3173994422, 0.3746920228, 0.2996843755, 0.8524327874, 0.091334261, 1.0136990547, -0.7723941803, 0.1839916706, 1.0452518463, -0.3950488567, 0.6645494103, 0.2441397011, 0.0469336063, 0.238442108, 0.4235676229, -0.1255072504, 0.1939570755, 0.3147108257, -0.1718751192, -0.1908942014, 0.2665584385, -0.6346342564, 0.4365373552, 0.112742655, -0.6044899821, -0.015420177, 0.1002373397, 0.2494031489, 0.2221191227, -0.2054339945, 0.7636617422, 0.1564201415, -0.4407027364, 0.4808284938, 0.0703852177, 0.3251680136, -0.6348804832, 0.0444601998, -0.4410343468, 0.2207617313, -0.3234384954, -0.7831814289, 0.4119936824, 0.591224432, 0.1127755716, -0.2153216153, 0.7763980627, -0.1902044713, -0.3122038543, 0.2642973959, 0.2283226103, -0.0641320124, -0.1979940832, -0.5424650311, 0.3918306828, -0.0105034122, -0.2318546325, 0.6025851369, 0.302079916, -0.1551656276, 0.6397791505, 0.7533547282, 0.0294485576, -0.0100850053, 0.157833755, 0.9938035011, -0.5313318372, -0.3456034362, -1.0620611906, 0.5628788471, -0.0319858044, -0.3275015652, 0.7519888878, 0.6475523114, 0.8446278572, -0.173870191, 0.8922230601, 0.2913730741, -0.0135175996, -0.5716869831, 0.9985947609, -0.2408695817, 0.7352750301, -0.5187227726, -0.8187460303, -0.4466026127, 0.2386772484, -0.1917010695, -0.0154754873, 0.3326511085, 1.0980466604, 0.2697989643, -0.1092296839, 0.3713146448, 0.152369678, 0.6106005311, 0.3799492717, 0.9232608676, -0.3795587122, 0.746761322, -0.1150391921, -0.2230971903, -0.1663430184, -0.8235705495, -0.8023502827, -0.3692765832, -0.3480862081, -0.566301465, 0.3120339513, 0.9544569254, 0.4037311077, -0.7037628889, -0.1759115607, -0.1423340142, 0.0631226599, 0.0070338747, -0.1632115692, 0.1009150222, -0.3795710504, -0.3536185324, 0.4765873551, 0.3520813584, -0.084108904, -0.2683807909, -0.0273882672, 0.3898904324, 0.1577044874, 0.3871980608, 0.2469716221, -0.3914619088, -0.3849279583, 0.1614171863, -0.4979586005, -0.1215493977, 0.8329657912, -0.3822945058, 0.2799198627, 0.4990915656, 0.9540988207, -0.0577520095, -0.0869734287, 0.6110013723, -0.6528098583, 0.0131014073, 0.3289881051, 0.4257087111, 0.1484652013, -0.7099225521, 0.4347243309, -0.0937867165, -0.7931437492, -1.2150355577, 0.427595228, -0.5805925727, -0.2810100913, 1.2083944082, -0.331787467, -0.043949198, 0.0062069236, -0.1321499795, 0.093664661, -0.2157661766, 0.9607877731, 0.3421621919, 0.1903672665, 0.0803427324, -0.354358077, 0.3635435998, 0.089823693, -0.9967826009, 0.2706739902, 0.4341405034, 0.215259999, -0.0436483473, 0.3593050838, -0.3540359437, 0.4490733743, 0.1501623392, 0.1606166214, -0.2355939895, -0.4884094, -0.565679431, 0.2205039561, 0.4724830389, -0.0786554813 ]
http://arxiv.org/abs/2407.02389v1
http://arxiv.org/pdf/2407.02389v1
SafaRi:Adaptive Sequence Transformer for Weakly Supervised Referring Expression Segmentation
2024-07-02T16:02:25
2024-07-02T16:02:25
Sayan Nag, Koustava Goswami, Srikrishna Karanam
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.MM
Referring Expression Segmentation (RES) aims to provide a segmentation mask of the target object in an image referred to by the text (i.e., referring expression). Existing methods require large-scale mask annotations. Moreover, such approaches do not generalize well to unseen/zero-shot scenarios. To address the aforementioned issues, we propose a weakly-supervised bootstrapping architecture for RES with several new algorithmic innovations. To the best of our knowledge, ours is the first approach that considers only a fraction of both mask and box annotations (shown in Figure 1 and Table 1) for training. To enable principled training of models in such low-annotation settings, improve image-text region-level alignment, and further enhance spatial localization of the target object in the image, we propose Cross-modal Fusion with Attention Consistency module. For automatic pseudo-labeling of unlabeled samples, we introduce a novel Mask Validity Filtering routine based on a spatially aware zero-shot proposal scoring approach. Extensive experiments show that with just 30% annotations, our model SafaRi achieves 59.31 and 48.26 mIoUs as compared to 58.93 and 48.19 mIoUs obtained by the fully-supervised SOTA method SeqTR respectively on RefCOCO+@testA and RefCOCO+testB datasets. SafaRi also outperforms SeqTR by 11.7% (on RefCOCO+testA) and 19.6% (on RefCOCO+testB) in a fully-supervised setting and demonstrates strong generalization capabilities in unseen/zero-shot tasks.
[ -0.3734822571, -0.4245674908, 0.2422616929, 0.0503478758, -0.4116860628, -0.0814277381, 0.1085517853, -0.8893153667, 0.3571935594, 0.2047168165, -0.6621384025, -0.4780960977, -0.7245284915, 0.162285313, -0.5851283669, 1.0413093567, 0.2047464252, -0.0121988114, -0.3298498988, -0.6008315682, -0.3202702701, -0.2398532033, -0.3989281356, -0.0015261031, 0.4739396274, 0.6392522454, 0.6710630655, 0.5446087122, 0.7799133658, 0.2849139869, -0.0306503177, 0.0809997246, -0.3717643023, 0.1575117558, -0.3969852328, -0.2360739559, -0.176385507, -0.350510478, 0.5790521502, 0.6544983387, 0.2453860641, 0.2666902542, -0.4181602299, 0.6329779029, -0.9162786603, -0.190659672, -0.8341761231, 0.1175121814, -0.0826362297, 0.3040799797, -0.1929051727, -0.0508632064, 0.3266339302, -0.4348730743, 0.6130995154, 0.2233591527, 1.1349700689, 0.4094348252, 0.0160350706, 0.3024196923, -0.3567757308, 0.7349988818, -0.4283698797, 0.3781400025, 0.3583445847, 0.4239365458, 0.1509230584, -1.1748654842, -0.5118763447, 0.1151758432, -0.2476540655, 0.0615986474, -0.6124891043, -0.164928928, 0.379961282, 0.3166644275, -0.3145987391, -0.0065326984, -0.498506099, -0.4883047044, 0.3907772005, -0.0175198447, 0.0612935275, -0.1581217647, -0.5605452061, 0.0875615403, -0.6164045334, 0.0376032554, -0.2424818426, 0.2214869559, -0.0656692684, 0.5118008256, -0.419885993, 0.8718991876, 0.2481305003, 0.1249922439, 0.2876004875, -0.1906781197, -0.3523488045, 0.121442534, 0.978362143, 0.199453637, 0.1676898599, -0.0603441596, -0.1488749087, 0.2173229158, 0.2612386048, -0.8284965754, -0.305496037, -0.2925831974, -0.2460002005, -0.2303244472, -0.038551867, -0.9102973938, -0.3764585257, 0.1438770592, 0.4163391888, -0.3657464683, 0.2551716864, 0.0503307581, -0.0074339751, 0.3381141424, 0.3382558823, -0.8254479766, 0.3618138134, 0.2602961361, 0.9592683911, -0.1085964963, -0.1651400924, -0.8459458947, 0.0351383202, -0.0670493469, 1.0922611952, -0.9219641089, -0.4906767011, -0.0522709228, 0.2249942273, -0.1386038661, -0.4696422517, 0.7105070353, -0.3627165854, 0.0885023102, 0.1768332571, -0.09109395, -0.2614476979, 0.2654791176, -0.4619331658, 1.1999596357, 0.2512540519, -0.5988062024, 0.0249162745, -0.6233400106, -0.6316327453, -0.1564219892, 0.0043017552, -0.6060729623, 0.1699653119, 0.6493675709, 0.4490632713, -0.3811503649, 0.0160994306, -0.3149084151, -0.4600848854, 0.1864544749, -0.1223912761, 0.2137905657, -0.0548250563, -0.5011413097, 0.311738044, -0.9439778924, -0.0247561354, 0.1075370088, 0.4351815283, -0.1334000975, -0.0470035933, -0.179473117, 0.3618351817, -0.0529396422, -0.6540424824, 0.1379147172, -0.2214577347, 0.2986754179, 0.4942970276, 0.3089076877, 0.5147883892, -0.3970763981, 0.3793633282, 0.1683575958, 0.1824538708, -0.5202400684, -0.7601234913, -1.1114157438, -0.4597370028, 0.4488411844, 0.3302472532, -0.6614726186, 0.2272386551, -0.4471198022, -0.5254126191, -0.6725783944, 0.0338885151, 0.4840686619, 1.1356663704, 0.8666830659, -0.5137291551, -0.6053926945, -1.32023561, 0.1207191199, -0.1396451294, -0.2074088603, 0.3308036923, 0.2722370327, -0.4911775589, 1.062369585, -0.658711493, -0.604111433, 0.0743333623, 0.4550056756, -0.0328376405, 0.5477550626, 0.4855616391, -0.8511881232, -0.4884881973, -0.0807778537, -0.3154831827, -0.4928925633, 0.010318662, -0.0988053754, -0.0744459704, 0.3138920367, -0.4104504883, 0.6605495811, 0.2511754036, 0.0353779942, 0.2262364328, 0.3663147986, 0.0281294901, -0.8567290902, 0.2314147055, 0.5352463126, -0.6005880833, -0.5827543736, -0.0779154301, 0.0248755086, -0.4620231688, -0.8633590937, 0.2595167756, -0.339304626, -0.1979465038, -0.3384060562, -0.0018957704, 0.0571378917, 0.6865295768, 0.564530611, 0.7341266274, 0.8634157777, -0.3743708432, 0.1341010183, 0.3294955194, -0.2545688152, 0.419013679, -0.6336379647, 0.3239813745, -0.0351832621, 0.4074345529, -1.131968379, -0.2305869162, 0.4618331194, -0.4739724994, 0.4135346711, -0.2757451832, -0.0234868843, -0.1747363359, -0.5535033345, 0.6289190054, 0.6898843646, -0.4197061658, 0.5836619735, 0.2550157309, -0.0665683672, -0.5363464355, -0.7622339725, -0.0317788646, 0.0340804569, -0.5317364335, 0.5661507845, 0.307798177, 0.1630416662, 0.0235247314, -0.5000178218, -0.2417510003, -0.181856811, 0.385286063, 0.312259078, -0.4139806032, -0.1608193815, -0.2069445997, -0.3269350231, -0.2507079244, -0.0771449432, 0.0938589796, -0.1641402096, -0.3370183706, -0.5018100142, 0.2673934698, 0.5141603351, -0.3245313168, 0.3696567416, 0.8574716449, -0.4837354422, 0.0839438885, -0.5627744198, -0.0865262002, -0.5053982139, 0.2688145936, -0.2097598165, -1.0176115036, 0.5603474975, -0.2866443694, -0.1429499537, 0.6836667061, 0.234529689, -0.1819478869, 0.7365083098, 0.717874527, -0.2058462948, 0.4985854328, -0.1051159352, 0.2970139682, -1.0332638025, -0.2929075956, -0.611361444, -0.7027008533, -0.3866778314, -0.743062377, 0.372114867, 0.0589275137, -0.0832737014, 0.4409177899, -0.7865577936, 0.5388912559, 0.6026770473, 0.0454481021, -0.1505878568, 0.0695021525, 0.1619185507, -0.0919859409, -0.6369315982, -0.0592317358, 0.6538808346, 0.3676279783, 0.8983062506, -0.0041494179, 0.5193946362, 0.4659587145, 0.4984031618, -1.0476155281, 0.7310245633, -0.0884297192, -0.3392374218, -0.1170632318, -0.0754019022, -0.6378783584, 0.1745405197, -0.3053962588, -1.2657564878, 0.6571444273, 0.0354705453, -0.399408251, 0.0904336423, -0.7894079089, 0.855699718, 0.1493822187, -0.6452999115, 0.2330483496, -1.2002094984, 0.3535083532, -0.3121576607, -0.1061000079, -0.3635018468, -0.1199733466, 0.7809560895, -0.4757270515, 0.9759853482, -0.2560900748, 0.3549984396, 0.5948658586, 0.0642026737, 0.5467742085, -0.1756291837, 0.0167333111, 0.4667725861, -0.1216146201, -0.2710313499, -0.71706599, 0.6735043526, -0.41447258, -0.7350869775, -0.6308633089, -0.1722828746, -0.6714186072, 0.1211792529, 0.2570539415, 0.2087627947, 0.16032359, 0.3572961688, 0.5396642685, 0.1279204488, 0.4849136174, 0.6490108371, 0.1978070885, -0.5129007697, 1.0189911127, -0.362878263, 0.0628019571, 0.5502874255, 0.2251318097, -0.4189334214, -0.5741499066, -0.3273651302, 0.038708251, -0.7037830353, -0.958622992, -0.4641270638, -0.1613831669, -0.4327428639, -0.3444118798, -0.2770242989, -0.5825853944, -0.3927819431, 0.0967223868, 0.3115297556, 0.2134737968, -0.066081576, 0.5161440969, -1.0153179169, 0.5691175461, 0.2726276219, 0.0830273703, -0.3461897671, -0.7837597132, -0.0816147476, -0.0223633368, -0.3478488028, -0.743437171, 0.0755778477, 0.4680632651, 0.2634301484, 0.3972371817, 0.1924441308, 1.0725307465, -0.594188273, 0.9943794012, 0.5123214722, -1.0499788523, 0.7217315435, -0.0150963394, 0.5154672861, 0.8097988367, 0.4665823877, -0.5049962401, -0.1617210507, -0.546453476, -0.9312719703, 0.9781365991, 0.1004328281, 0.1106002331, -0.1447034478, 0.1490526348, -0.0374653302, -0.1569278389, -0.8791649342, -0.1983316094, -0.2802180052, -0.3305933177, 0.3594333827, -0.4048147202, -0.0427497178, -0.3562641442, 0.8220782876, -0.4301811457, 0.4330698252, 0.5387370586, -0.2377679199, -0.3368575573, 0.0262775309, 0.6459749341, 0.3957589865, -0.2585010827, 0.2256289572, 0.2334451526, -0.415579319, 0.2611573935, 0.2539770901, -0.0856639892, 0.2065500766, 0.5403942466, 0.7747631073, 0.6148202419, -0.6156182885, 0.6946524382, 0.0785448253, -0.1256355792, 0.3565226793, 0.1155756265, -0.390999496, 0.0033096902, 0.553435266, 0.4521786869, 0.3133697808, -0.3301628232, 0.452393502, 0.223880589, -0.8333521485, -0.3077931702, 0.4470109046, 0.2232356519, -0.2372949272, 0.4171499312, 0.044624038, -0.6089460254, 0.5069164038, 0.789263308, 1.0611524582, -0.2909954488, 0.1514388919, 0.3185217679, 0.2078766227, 0.2974651158, -0.2574137747, -0.4401861131, -0.6448224187, -0.3150943816, -0.6892563105, -0.4762172699, 0.0646264404, -0.6183494329, 0.3096692264, -0.4860322177, -0.0505499505, 0.4193160236, -0.4171426594, -0.4471330643, 0.5433189869, 0.157538265, 0.9943014383, -0.7358068824, 0.8519148231, 1.0055049658, -0.2930000126, -0.4726677835, 0.1923817545, -0.11775475, -1.0488400459, 0.5835489035, 0.3847973645, -0.3895601034, -0.1917206794, -0.3991272748, -0.8073560596, 0.8748865724, 0.288903594, -0.6828598976, 0.248971507, 0.034543585, 0.382522136, -0.2952536345, 0.2491833121, 0.4021395743, 0.1644456536, 0.7676267624, -0.7240794897, 0.0830110013, -0.1568174958, -0.0274522435, 0.4390875101, -0.6733211875, 0.0775534958, -0.1265211552, -0.3610887527, 0.1979756802, 0.8083539605, -0.2789032161, 0.498559773, 0.4203923345, 0.7137508392, 0.4104678333, -0.1534039229, 0.7604345679, -0.1705747694, 0.2755497694, 1.2328262329, -0.3885101974, 0.760697186, 0.5756769776, -0.2098867446, 0.5612981319, 0.7442465425, -0.0645988658, 0.8246238232, 0.0868562907, -0.4931142032, -0.2444473356, -0.5487582684, -0.2253671587, 0.5249655247, 0.2724992335, -0.4439815283, -0.4701861441, -0.0559772365, -0.3583672345, -0.1408432573, -0.4279066324, 0.9528933167, -0.0035431467, -0.5108267069, 0.5455157757, 0.1752592921, 0.5738861561, -0.8931003809, -0.1475809067, -0.3099923432, -0.1177654192, -0.3873280585, -0.7647122741, 0.4858700931, 0.2448348552, -0.077071473, 0.0996449664, 1.3092415333, -0.1917539984, -0.5036868453, -0.1725510955, 0.1678025126, 0.044158373, 0.1300616413, -0.7856552601, 0.1918096095, 0.0839948654, -0.021130221, 0.3575184047, 0.3484015167, -0.2978532016, 0.5209187269, 0.564666152, -0.4141221046, -0.1594954282, 0.0202748347, 1.110771656, -0.6431801915, -0.1878197789, -0.8032965064, 0.5227153301, -0.1813521534, -0.2500579655, 0.5063978434, 0.6259280443, 0.6044567823, -0.1138149723, 0.2317218632, -0.0883497298, 0.2073895335, -0.2990401983, 0.1237901375, -0.4097893834, -0.0115482537, -0.2948534489, -1.0507514477, -0.7420253158, 0.7401247621, -0.3482172787, -0.1702869385, 0.7380065322, 0.8228218555, -0.4717278183, -0.023475701, 0.3795290887, -0.1866481453, 0.0607549697, 0.5856511593, 0.7589361668, -0.609770298, 0.491813302, -0.3855237961, -0.146262303, -0.0757556409, -0.9908302426, -0.6511211991, -0.4245213568, -0.7728652954, -0.1262096763, -0.1505850106, 0.610791564, 1.0143455267, -0.9479768872, 0.3577626944, -0.0528475419, 0.0431080572, -0.012238129, -0.2464238554, 0.4416831136, -0.3402924836, -0.6562715173, 0.5690857172, 0.662609458, 0.1257145405, 0.1368070543, 0.1805526167, -0.4211906493, -0.0500598997, 0.4294061959, 0.6973367333, -0.5553380251, -0.4741862118, -0.2443650812, 0.1384958327, 0.3072325885, 0.7990043163, -1.1363823414, 0.6358286142, 0.0949254707, 1.0312250853, 0.7442489862, 0.3190340996, 0.1512312889, -1.1851191521, 0.4791643023, 0.582822144, 0.4865574539, 0.4882061779, -0.1918801814, 0.7229946256, 0.5407851934, -0.1984304488, -0.8245124221, 0.1933698803, -1.2159657478, -0.0055347355, 0.9672935605, -0.3529462814, -0.5701110959, 0.2181671709, -0.3195628822, 0.0320758969, -0.3539518714, 0.5612217188, 0.4501358271, -0.3076569736, -0.4234708548, 0.2051519454, 0.4604617059, 0.6318800449, -0.5772408843, -0.2961654663, 0.7909122705, 0.1171925515, 0.444309622, 0.6235453486, -0.00301134, 0.5721768737, -0.1069744602, -0.1824104935, -0.2155761272, -0.3083069324, -0.4253487587, 0.2297899127, -0.0915385559, -0.8003000021 ]
http://arxiv.org/abs/2407.02354v1
http://arxiv.org/pdf/2407.02354v1
Talking to Machines: do you read me?
2024-07-02T15:19:46
2024-07-02T15:19:46
Lina M. Rojas-Barahona
cs.CL
cs.CL, cs.AI, cs.HC
In this dissertation I would like to guide the reader to the research on dialogue but more precisely the research I have conducted during my career since my PhD thesis. Starting from modular architectures with machine learning/deep learning and reinforcement learning to end-to-end deep neural networks. Besides my work as research associate, I also present the work I have supervised in the last years. I review briefly the state of the art and highlight the open research problems on conversational agents. Afterwards, I present my contribution to Task-Oriented Dialogues (TOD), both as research associate and as the industrial supervisor of CIFRE theses. I discuss conversational QA. Particularly, I present the work of two PhD candidates Thibault Cordier and Sebastien Montella; as well as the work of the young researcher Quentin Brabant. Finally, I present the scientific project, where I discuss about Large Language Models (LLMs) for Task-Oriented Dialogue and Multimodal Task-Oriented Dialogue.
[ -0.4479696751, -0.6469549537, 0.6985446215, -0.039353095, 0.0074217715, 0.1940523982, 0.0127964644, -0.4711330533, 0.1476207525, 0.7276040316, -0.6459845901, -0.29240942, -0.3884604573, 0.2127396911, -0.397045821, 0.6402567625, 0.1177978888, 0.5227037072, -0.2923047841, -0.0541994534, -0.4612033367, -0.6658287644, -0.7461892366, -0.5508622527, 0.6200454235, 0.5740435123, 0.2060382515, 0.1979452968, 0.1083527505, 0.5557068586, -0.1176970601, 0.0774926469, -0.3553928137, 0.6646137238, -0.205519408, -0.6724102497, -0.2458059341, -0.0025392061, 0.2741338909, 0.8849211335, 0.2845787108, 0.0433177128, 0.1820307821, 0.4870895743, -0.1794593334, 0.4829958677, -0.0924640298, 0.1657963097, 0.032291688, -0.3845716715, -0.5835978985, -0.2393701971, 0.3155943751, -0.3183754981, 0.0545614325, 0.0711656958, 0.3456852436, -0.0290026478, -0.5215374827, -0.5934882164, -1.2478570938, 0.9923940301, -0.7967877388, -0.0371943116, 0.3997639716, 0.2829402387, -0.2522669435, -1.0160825253, -0.7410900593, -0.48668468, -0.0901216418, 0.3328075707, -0.2141257077, 0.2208670825, 0.1692690104, 0.3441467881, -0.3875057995, 0.0841803923, -0.794993937, -0.1360794008, 0.3765847981, 0.4088709652, 0.2377634495, 0.1216002181, -0.0908167139, -0.1546490639, -0.2057959437, 0.1585417986, 0.6143329144, 0.0698475465, -0.1046388, 0.8034156561, -0.3036289215, 0.6077606082, -0.0544789582, -0.0369031616, 0.0366525054, -0.4123115838, -0.1391460896, -0.2895267606, 0.8119990826, 0.3600515723, 0.449552983, -0.3780513704, 0.1643677801, -0.3153544962, 0.4955129325, -0.5696234107, -0.2797504663, 0.2752410769, -0.7434384227, -0.3112531304, -0.0502609089, -0.5093633533, -0.1905257851, -0.6152513623, 0.1512464434, -0.2278861701, -0.2853170037, 0.2567908764, -0.2397569418, 0.2843801379, 0.3721578717, -0.8287344575, 0.3610393703, 0.7727338672, 0.7125957608, 0.0479138345, -0.2353434265, -0.0861502066, 0.019939689, -0.5087068677, 0.5046412945, -0.5949056149, -0.8844467998, 0.4018024504, 0.2871857882, -0.4479599595, -0.7212582827, 0.8483698964, -0.4707903862, 0.6142402291, 0.0595003255, -0.234795779, -0.2095691115, 0.1232740134, -0.238912493, 0.6595695615, 0.0092246905, -0.7839355469, -0.3668135107, -0.9209728241, -0.3472776115, -0.2211302668, -0.2274896353, -0.0024470307, 0.0060453042, -0.2674278319, 0.4798395932, -0.1077110395, 0.3592834175, -0.4040618241, 0.1100302711, 0.8394926786, -0.422611773, 0.8376691341, 0.5500965714, -0.2170494795, 0.2275638431, -0.8078674078, -0.0146199772, -0.2004424483, -0.0904211625, 0.0021623168, -0.0132882576, -0.0224847663, 0.2793544233, 0.1962162405, -0.7200072408, 0.3291524947, -0.4006741345, 0.8088700175, 0.7143938541, -0.0523067117, 0.4809841812, -0.4400546253, 0.6666827202, 0.2559151053, -0.2358855456, -0.379504472, -0.3416832089, -1.0985682011, 0.1432543397, 0.2491348833, 0.6091601849, -0.8320266008, 0.1907824874, 0.1170048863, -0.3616268933, -0.6177328229, -0.3261027634, 0.3602176011, 0.7338316441, 0.093477428, -0.4563448727, -0.5939716697, -1.1938151121, -0.0133217657, -0.5139272809, -0.304017961, 0.512989819, 0.5388505459, -0.2729294598, 1.0244146585, -0.7110610008, -0.0196096133, -0.2805474699, 0.447218895, 0.2145690322, 0.6989459991, 0.2577779591, -0.51776582, -0.4007535577, -0.0248258505, -0.8106177449, -0.1641370207, -0.014439526, -0.142026037, -0.188601613, 0.743010819, -0.7211209536, -0.0455873869, 0.1788696945, -0.2835693359, 0.4943147302, -0.2850697041, 0.1768291891, -1.3771952391, 0.1866514981, -0.0506553911, -0.3425839245, -1.0649117231, -0.4470989406, -0.7020640969, -0.3598147333, -0.2598494887, 0.4729215205, -0.1966740787, -0.005911801, -0.4362898767, 0.0681032985, -0.0842881128, 0.5498776436, -0.1795226336, 0.7726287842, 0.5688844919, -0.7916130424, 0.2272841632, 0.5350143313, -0.335701704, 0.7115842104, -0.6849989891, 0.5155339241, -0.1109850556, 0.2014491558, -1.0162731409, -0.044744283, 0.8494102955, -0.7012829185, 0.3328208327, 0.0906517357, -0.2842599452, -0.3904304206, -0.0295896754, 0.168590799, 0.2121278644, -0.2333805263, 0.5412259102, 0.5161127448, -0.7655880451, -0.2594466805, -0.5227103829, 0.0741966367, -0.1781262159, -0.711630702, 0.1754713506, -0.303168118, -0.7613890767, -0.3466007113, 0.0785253048, -0.5365781784, -0.0684756339, 0.4554342031, -0.2148106843, -0.3229844868, -0.0627418905, -0.1675111651, -0.5337476134, 0.3765524626, -0.3454327881, 0.5800615549, 0.144011125, -0.3187604547, -0.7301794887, 0.538985312, 0.4263394177, 0.0622736253, 0.2714961767, 0.5148450136, 0.1998516619, 0.0543772504, -0.1276014, -0.3512478173, -0.5264354944, 0.2049150765, -0.3722548783, -1.1820006371, 0.4091244936, -0.4513902068, 0.0781403854, 0.2332560271, 0.6186978817, -0.8490802646, 0.831175983, 0.9392980933, -0.0970516056, 0.4963747263, -0.3697173595, 0.4675549567, -0.8026082516, -0.2845890224, -0.9976701736, -0.238132, -0.4998491108, -0.6255782247, 0.2750457525, -0.0483987071, -0.2547905743, 0.0633342564, -0.3773531318, -0.1397564262, 0.7887346745, -0.0217955131, 0.3726255894, -0.4388729334, 0.0071842223, 0.0125028361, -0.4461390078, -0.8700610995, 0.8527095318, 0.5150641799, 0.8142928481, -0.116305694, 0.3858340979, 0.4952490032, -0.2149318904, -0.5985751748, 0.8357762694, 0.3513398767, -0.6680588722, -0.2333654463, -0.1652182192, -1.3041698933, 0.2868191898, 0.2909346223, -0.9910567403, 0.2399386019, -0.0708414093, 0.0609786361, 0.1179589704, -0.4204083085, 0.8177467585, -0.0771157742, 0.201835826, -0.590383172, -0.830198288, 0.2636362612, 0.478030473, 0.1100874022, -0.1619556099, 0.0827867091, 0.8228400946, -0.3602991998, 1.3280807734, -0.0636610836, -0.1400226355, 0.5801759958, -0.2165619582, 0.1032612696, -0.1659402698, 0.0256973766, -0.1819067746, 0.266562283, -0.3484671712, -0.2886067033, 0.4359117746, -0.8191915154, -0.764405489, -0.5643378496, -0.5852272511, -0.1699138135, 0.2965489626, -0.2060667425, 0.4964606166, -0.4869469106, 0.2156833857, 0.748111248, -0.1862141937, 0.5294992924, 0.6228333712, -0.1174609065, -0.1973344684, 0.848860383, -0.0111836549, 0.1690067947, 0.601295054, 0.0824701488, -0.1966595799, -0.5012174249, -0.5573581457, 0.1371917576, -0.6782847047, 0.3823527098, -1.0489269495, -0.1796530187, -0.4584834874, 0.0916162431, 0.0023598205, -0.3628037274, -0.5271367431, -0.010793237, 0.0744398534, 0.9910354614, 0.0039996603, 0.5314910412, -0.51078403, 0.3204970658, 0.3297125995, -0.0134813217, 0.1125941649, -0.2494015247, -0.4552438259, 0.1579747498, -0.7136408687, -0.9600269198, 0.4013941586, -0.1933030933, 0.6301879883, 0.3313869238, 0.1580343693, 0.2092594355, -0.2500573397, 0.9689588547, 0.0424007513, -0.7630590796, 0.1707888693, -0.5366392732, 0.2072012573, 0.4250658453, 0.3050888181, -0.6725698113, -0.4462837279, -0.5871192813, -0.407908231, 0.7268208265, 0.1904992312, 0.3698934019, 0.2432121783, 0.2483898103, -0.0370227993, 0.5377973318, -0.5039182305, -0.3612840474, 0.1960838437, 0.0470122211, 0.0439213887, -0.2980092466, -0.4338457286, -0.1075327769, 0.7543667555, -0.5201527476, 0.5353134274, 0.3548838198, 0.1553788632, 0.086749956, 0.4234665632, 0.4599609971, 0.8057692647, 0.2157082558, -0.1550200135, -0.0669642687, -0.3244312108, 0.0667905957, -0.0581921674, -0.1511172503, 0.2212539017, 0.1148447096, 0.6626227498, 0.136048466, -0.5943325758, 0.2005892396, -0.2616602182, -0.4272172451, -0.3384993672, 0.1636155397, 0.2382903397, 0.8338089585, 0.1602652371, 0.0431705341, 0.2451473027, -0.8276756406, 0.0507785976, 0.3506794572, -0.5478910208, -0.2385534048, 0.6324614286, 0.4499020576, -0.3889395893, 0.4136933386, 0.4096705914, -0.5368483663, 0.6611307859, 0.3654133976, 1.1070952415, 0.0734841451, 0.4528687298, 0.0735430345, -0.0955900848, 0.2234425098, 0.4581071734, -0.4585410655, -0.5058637857, -0.2898959219, -0.4274629056, -1.0067950487, 0.0147138452, -0.5789690018, -0.0841127113, 0.0724351183, -0.156997323, 0.2823288739, 0.1777917892, -0.2812041044, 0.0484015644, -0.0406068526, 0.4718332887, -0.3999426961, 0.9941837788, 0.3786764145, -0.3635678589, -0.2605175972, -0.0473893061, -0.2290663272, -0.5239661336, 0.4740149677, -0.1004367247, -0.2255799621, 0.0755811408, -0.7111029029, -0.5603091121, 1.0474860668, 0.084475562, -0.3642815053, 0.031301748, 0.3719415665, 0.6716629267, -0.4437647164, 0.3237569034, 0.1902565062, 0.438393265, 0.0371603929, -0.7283042669, -0.5510156751, -0.3732247353, -0.0965390727, -0.2107351869, -0.8954458833, 0.6741259694, 0.0176409967, -0.1023016796, 0.7596129775, 0.9485908151, -0.2471397072, 0.6231151819, 0.1162433773, 0.307764858, 0.6566421986, -0.0259013604, 0.7009621859, -0.4366551936, -0.0928625464, 1.0476019382, -0.1910565495, 0.535405755, 0.3060846627, -0.221761927, 0.3719987273, 0.8794583082, 0.054646153, 0.372865051, 0.3816526234, -0.5613547564, 0.1670912057, -0.1923437566, -0.3587490618, 0.0020731017, 0.3100111485, -0.4036108255, 0.0213684067, 0.4566343427, -0.068303898, 0.106504567, -0.0483240858, 1.139703393, 0.4372952878, -0.8661596179, 0.1886190176, -0.0335965492, 0.1811023504, -0.4451602101, 0.0447330251, 0.0407246873, 0.2501628995, -0.0645017177, -0.9083052278, 0.3963199556, -0.095162034, -0.5155022144, -0.717314899, 0.703032136, -0.3756223917, -0.1124126166, 0.1296895295, 0.7801288366, 0.6700008512, 0.3456082344, -0.7939550281, 0.012884493, 0.0093969069, 0.0348925255, 0.4222965539, 0.545468986, 0.1815416217, 0.8127407432, 0.6921803951, -0.2761587203, -0.0288311988, 0.1503920555, 1.106969595, -0.9170604348, -0.26832816, -0.533598125, 0.4947377443, 0.0082904724, -0.6019067168, 0.6019314528, 0.7680618167, 0.748493135, -0.1275115013, 0.9033284783, -0.1401260197, 0.8439232111, -0.2510844171, 0.359048456, -0.0038269451, -0.0426717475, -0.054523848, -0.6614410281, 0.2482278794, 0.4911365807, -0.4187946916, -0.1928889751, 0.5061565638, 0.8032501936, 0.3076773286, 0.259152323, 0.5090705752, 0.6519858837, 0.5696200132, 0.0573187843, 1.0210747719, -0.1487067044, 0.3551862538, -0.1226303279, 0.1057191193, -0.260389775, -0.2748113275, -0.9657686949, -0.8385390639, -0.2227635533, -0.7496622801, 0.2682143748, 0.4420112967, 0.6757357717, -0.6559687853, -0.6311552525, -0.0801250488, 0.3253548741, -0.0509915575, -0.1568352878, -0.1449179649, -0.3674700856, -1.2258121967, 0.6611900926, 0.271512419, 0.0139788063, -0.6745871305, -0.1752166003, -0.1551361829, 0.1332169473, 0.5192289352, 0.5870038271, -0.4888653755, 0.1308172047, -0.0857844576, -0.3512616456, 0.3758842945, 1.0655956268, -0.6961089969, 0.6369814873, 0.5303424001, 0.44413656, 0.9782877564, -0.1912856698, 1.1826025248, -0.03871122, 0.1365328282, 0.7086381316, 0.2316683084, 0.2106088847, 0.0367092453, 0.5126613975, 0.0071616424, -0.8803747296, -0.659270227, 0.3300598264, -1.1335504055, -0.1844947785, 0.7283840179, -0.1760027558, -0.1506243497, -0.5999564528, -0.7233825922, 0.3687563241, -0.1274056733, 0.5693305731, 0.7328597307, -0.4244558513, -0.3462581336, -0.9892464876, 0.462885946, 0.4046310186, -0.7974696755, -0.2914536595, 0.2599212527, -0.0415219031, 0.1814450175, 0.815983355, 0.0092640556, -0.1694846451, 0.0975031555, -0.1539840102, 0.3471229672, -0.1714614481, -0.1301346421, 0.1813226938, 0.3040107787, -0.4549274147 ]
http://arxiv.org/abs/2407.02352v1
http://arxiv.org/pdf/2407.02352v1
Pelican: Correcting Hallucination in Vision-LLMs via Claim Decomposition and Program of Thought Verification
2024-07-02T15:17:44
2024-07-02T15:17:44
Pritish Sahu, Karan Sikka, Ajay Divakaran
cs.CL
cs.CL
Large Visual Language Models (LVLMs) struggle with hallucinations in visual instruction following task(s), limiting their trustworthiness and real-world applicability. We propose Pelican -- a novel framework designed to detect and mitigate hallucinations through claim verification. Pelican first decomposes the visual claim into a chain of sub-claims based on first-order predicates. These sub-claims consist of (predicate, question) pairs and can be conceptualized as nodes of a computational graph. We then use Program-of-Thought prompting to generate Python code for answering these questions through flexible composition of external tools. Pelican improves over prior work by introducing (1) intermediate variables for precise grounding of object instances, and (2) shared computation for answering the sub-question to enable adaptive corrections and inconsistency identification. We finally use reasoning abilities of LLM to verify the correctness of the the claim by considering the consistency and confidence of the (question, answer) pairs from each sub-claim. Our experiments reveal a drop in hallucination rate by $\sim$8%-32% across various baseline LVLMs and a 27% drop compared to approaches proposed for hallucination mitigation on MMHal-Bench. Results on two other benchmarks further corroborate our results.
[ -0.1289042532, -1.0061224699, 0.593972981, 0.3332213163, 0.0592776574, -0.0162142869, -0.1936829835, -0.4501713514, 0.3269093931, 0.7361004353, -0.2562530637, -0.4622645676, -0.4191579223, 0.1688092798, -0.4976393282, 0.5367436409, -0.068102926, -0.0427206494, -0.2412327677, 0.1872337908, -0.4909782112, -0.498362869, -0.4592095912, -0.2828873396, 0.4186255336, -0.1146960631, 0.4794112444, 0.4455105066, 0.6737368107, 0.2923945785, -0.010182105, 0.4620966613, -0.5637341142, -0.0667459592, -0.1578505337, -0.4176759422, -0.8593323827, -0.1872016639, 0.5410033464, 0.7649707794, -0.3209844232, -0.0895388648, 0.1900258362, 0.5569282174, -1.0059382915, 0.0561633632, -0.843830049, 0.5277733803, -0.1806458682, -0.4690044522, -0.7629394531, -0.0253495611, 0.1972429156, -0.42220819, 0.2541825175, 0.1009038687, 0.7390800118, 0.6785710454, -0.0914216861, -0.0161750279, -0.5886021256, 0.601704061, -0.3746486604, 0.4324241877, 0.545407176, 0.2734831274, -0.2611218393, -0.7482218742, -0.5710187554, -0.3866359293, -0.0167636052, 0.0036565522, 0.0440628603, 0.1348361373, 0.5245241523, 0.3476242423, -0.7946999669, -0.2824565172, -0.3982551694, -0.6617797613, 0.5200187564, 0.1772668362, 0.277746588, 0.0518533178, -0.2781192064, -0.0684785247, -0.8664913774, 0.0241536591, 0.1160678416, -0.000515398, 0.2621102333, 0.7509450316, -0.0994272083, 0.6637791395, 0.1721695662, -0.2931393087, 0.2100809515, -0.1815351993, -0.594763875, 0.5056071281, 0.3526937962, 0.5637037754, 0.2500483394, -0.2177097797, -0.1766120493, 0.3579643369, 0.4222151339, -0.5114355087, -0.7751097083, 0.1540209502, -0.5255124569, -0.3231800199, 0.1497213244, -0.6668643951, -0.9033917785, -0.2182851583, 0.5070164204, -0.1652814001, -0.3637830019, 0.4395390749, 0.1770420372, 0.3466140926, 0.5428411365, -0.6140928864, 0.3650451303, 0.6428041458, 0.7099081278, -0.4524304569, -0.5496211052, -0.7468110323, 0.0845978484, -0.6263275743, 0.9155322313, -0.3156538606, -0.1270421445, -0.1719153225, 0.2096011788, -0.3295059502, -0.9801540971, 0.1902880818, -0.0383027233, -0.0944060385, -0.1831449866, -0.4255803227, -0.2355446219, 0.5030722618, -0.536657393, 0.6942774057, -0.0033807028, -0.6460825205, 0.2659986019, -0.3028725982, -0.2838277221, 0.1873140931, -0.4827875793, -0.3953638375, 0.1916137636, 0.2656077445, 0.2838037312, 0.0849083662, 0.2205675989, -0.2167678624, -0.5915797353, 0.3259313405, -0.293848604, 0.5755431056, -0.0832032412, -0.7975107431, 0.2949365377, -0.6938989758, -0.0335422345, 0.1370827109, -0.0637768507, -0.1571806818, 0.0714643672, -0.2977233529, -0.2371889651, 0.0464227572, -0.4445440471, 0.0847078413, -0.5507555604, 0.2213578969, 0.8788849115, -0.1201269925, 0.3320890367, -0.2400187552, 0.3167734742, -0.0150928525, 0.4708526134, -0.1837333739, -0.3008981049, -1.1411044598, -0.0046477495, -0.2244373709, 0.6972557902, -0.8636375666, 0.1261775792, 0.1794319451, -0.0151760019, -0.0764694959, 0.0423629843, 0.4501836002, 0.7687817812, 0.5026265979, 0.0885241702, -0.5099261403, -0.9233067036, -0.2190481722, -0.3534716964, 0.1002880484, 0.2462622523, 0.4994267821, -0.1990296841, 0.4934479892, -0.3751505911, -0.5651754737, 0.1293628812, -0.2246966511, 0.0678009465, 0.4023425579, 0.4250812531, -1.066696167, -0.4200134277, -0.0114962058, -0.9116675258, -0.2004628927, -0.2817075551, 0.0307280365, 0.4089032114, 0.3331163228, -0.341485858, 1.0116533041, 0.27156353, -0.3776086569, 0.6349164844, -0.2073870748, 0.2068396509, -0.5557683706, -0.2684037983, -0.2420399934, -0.2258421779, -0.3125715554, -0.0456224717, 0.019921843, 0.0100217322, -0.4975490868, 0.0145997498, -0.3805863559, 0.0166638792, -0.3662650287, -0.005222674, -0.028834071, 0.2348850667, 0.1840450615, 0.8191012144, 0.8966496587, -0.5791501999, 0.6898565292, 0.018069379, -0.1176417097, 0.5424284339, -0.7689011097, 0.1758854836, -0.1178762093, 0.0281728841, -0.6910282373, -0.1733426005, 0.8010347486, -0.2112935483, -0.0273105931, 0.172294721, -0.1954948008, -0.4405949712, -0.3097482026, 0.2242089957, 0.2530163229, -0.677883029, 0.9755473137, 0.3916840255, 0.1484354287, -0.6082138419, -0.7748442888, 0.4865817726, -0.0843009055, -0.59306252, 0.5704295635, -0.2490007728, -0.616732955, 0.0037650843, -0.319721818, 0.0715767443, -0.0034884985, 0.511187017, 0.266561836, -0.1870913655, -0.02377313, -0.1137656197, -0.1635801792, 0.1750167459, -0.3442319334, 0.6027832031, -0.6048175693, -0.6764044166, -0.4451213777, 0.2797093689, 0.5711992979, -0.2238709778, 0.5219350457, 0.3541660011, -0.7657725811, -0.5101134777, -0.7716531754, -0.3208211064, -0.4757962525, 0.2847547233, -0.6711478829, -0.499417454, 0.4672386348, -0.0911839828, -0.311604172, 0.0995167568, 0.6687819958, 0.0493801497, 0.9907291532, 0.6457429528, 0.5425115228, 0.0577519834, -0.3909538388, 0.4440903068, -0.7107046247, -0.7982808352, 0.0455072373, -0.1689789891, -0.0216887929, -0.4667148292, 0.2820215225, 0.0606572889, 0.1206655279, 0.2260956019, -0.9063946009, 0.8341906667, 0.2724198401, 0.5671746135, 0.1379452497, 0.0640441254, -0.0303145181, -0.1657049507, -0.2973984182, -0.5660407543, 1.0392228365, 0.0541792996, 0.8799819946, -0.1700234562, 0.7065574527, 0.5209144354, 0.0620011613, -0.7748061419, 0.8484691978, 0.0876135379, -0.1450017542, -0.193006441, -0.1659663022, -0.4742649198, 0.3649995923, -0.3036956191, -0.9521633387, 0.2965678871, 0.3692007661, -0.5151051879, 0.4117482305, -0.4165199399, 0.849383533, -0.5339821577, -0.6664472818, -0.3425816596, -0.4345631003, 0.3320131302, -0.2464972287, -0.4010516405, 0.0255507957, 0.1128476039, 0.5405737758, -0.5518676639, 0.7477599978, -0.1387930512, -0.2143644691, 0.3020893633, 0.2932673097, 0.6763705015, 0.0383364744, 0.1435733736, 0.1547169387, 0.09822198, -0.2273956835, -0.6752306223, 0.5774425864, -0.3951508105, -0.6996071935, -0.6390346885, -0.6127997637, 0.1349676102, -0.0377394333, 0.237308383, 0.2713211179, 0.1237729043, 0.4131368697, 0.8716676831, -0.3204977214, 0.2188193351, 0.2937712967, -0.6904309392, -0.5061940551, 0.8034980297, 0.1232497692, -0.1779490262, 0.2379849255, 0.1810458153, -0.1792551726, -0.8437769413, -0.0880962461, 0.2090105563, -0.8985593915, 0.0172783583, -0.6410341263, -0.1438981593, -0.5077642202, -0.0844323337, -0.5443407893, -0.0260920264, -0.0066982801, 0.0457523391, -0.0939360484, 0.5783311725, 0.1454209834, -0.0060456223, -0.3745266795, 0.4685332179, 0.4120995104, -0.003591588, -0.0997036994, -0.2558127344, 0.0464925803, 0.1636103392, -0.1894662827, -0.7914946675, 0.4376156628, 0.0719195753, 0.7947741151, 0.417185992, 0.2834413052, 0.9515659213, -0.3552825153, 0.9319627881, 0.3100830615, -1.0785849094, 0.9804211259, 0.2585482895, -0.529450357, 0.1931740493, -0.0583421066, -0.1433995515, -0.2075814605, -0.2427881509, -0.629177928, 0.2948691547, 0.3056865633, -0.2489096671, 0.1124503314, 0.5783304572, 0.0611984506, -0.0619020946, -0.7861272097, 0.036677938, -0.3551193476, 0.034843199, 0.1303522289, -0.2001990378, -0.242958501, -0.5297350287, 0.5132027268, -0.2807839513, 0.0200689305, 0.6856641173, -0.5112951994, 0.068168737, -0.1693853885, 0.841670692, 1.1497913599, -0.1787805408, 0.6426450014, 0.3297954798, -0.5107933879, 0.0045441473, -0.3486484587, -0.3429002166, -0.1754602343, 0.3237017691, 0.6573263407, -0.1149075478, -0.8257549405, 0.6303388476, -0.2321240008, -0.1325440109, -0.6303802729, 0.2060959041, -0.3536960483, 0.6628807187, 0.4264299273, 0.2610691786, 0.0544887371, -0.2636330128, 0.2679432631, 0.1646987647, -0.318136543, -0.3423860073, 0.7966382504, -0.079964228, -0.6422524452, 0.4648450613, 0.0015783255, -0.6486191154, 0.7806200981, 0.7881813645, 0.9386370778, 0.0148574645, 0.2442411631, -0.0464380719, 0.4457571507, -0.1755535305, 0.3192517459, -0.220824495, -0.7232406735, -0.3278004229, -0.5117459297, -0.459452033, 0.1717398763, -0.4614412785, 0.1277588159, -0.546747148, -0.3162716329, -0.2558885813, -0.2388569862, -0.2645650506, -0.2166796327, 0.5371074677, 0.5024685264, -0.8220727444, 0.808062017, 0.7104948163, -0.4536577165, -0.8382399082, 0.1976295561, 0.1578196138, -0.6875172853, 0.9986792207, 0.287252754, -0.5566059947, -0.1829842478, -0.6392474771, -0.3671334386, 1.0265575647, 0.6054398417, -0.4771025479, 0.0646551475, 0.1463364959, 0.2812823951, -0.5434283614, -0.2384713888, 0.363915205, 0.4987079501, 0.1715809256, -1.0187574625, 0.087202318, -0.3910508454, 0.0447862111, -0.1296980083, -0.278755039, 1.0410020351, -0.4210193455, -0.1475150138, 0.1747362763, 0.49907583, 0.4109543562, 0.6644769311, 0.5101332664, 0.4652357697, 1.1090912819, -0.0607815981, 0.8881813884, -0.3715259433, 0.3199068308, 1.0427844524, -0.6074674726, 0.6627287269, 0.942694366, -0.179945752, 0.2995392382, 0.5987325311, -0.2112628818, 0.4623246491, 0.2301334888, -0.2629165947, -0.5356400013, -0.3062332273, -0.4714168906, 0.5394551158, 0.3142403662, -0.4392335117, 0.0398948565, 0.3817910552, -0.3670064509, 0.2593349814, -0.3823208809, 0.4783651531, 0.0844734311, -0.6749385595, 0.9140064716, -0.491728127, 0.5161277652, -0.1816670597, -0.4179116786, -0.177422151, 0.9029253125, -0.385276258, -0.4949859977, 0.3155582547, -0.1972382516, -0.1806428283, -0.2245843112, 0.9811284542, -0.4342995584, -0.3609215319, 0.3940642774, 0.2775200605, 0.4619038105, -0.5106945634, -0.5855323672, 0.427347213, -0.0649578497, -0.0042748949, -0.0911528692, 0.1288859397, -0.0174380653, 0.9017531276, 0.5621262193, 0.4920813441, 0.4047137797, 0.2927862406, 0.8119450212, -0.3064056039, -0.2453046888, -1.0227284431, 0.1593759805, -0.2884976566, 0.106389232, 0.9209438562, 0.6060987115, 0.8199095726, -0.2343363315, 0.2587853074, 0.2548736632, 0.0411171503, -0.6155167818, 0.9470104575, -0.5104649663, 0.4328477085, -0.2795130908, -1.1706306934, -0.7123776078, 1.2011578083, -0.3295286, -0.4385959208, 1.019007802, 1.277376771, 0.0426614471, -0.0872918144, 0.4015260339, 0.1716133952, 0.3948747814, 0.92094028, 1.153752923, -0.5041117072, 0.5780044198, -0.5670332909, -0.2325177789, -0.1499186307, -0.7645664811, -1.0330550671, -0.3051363528, -0.7189982533, -0.7218804955, 0.2243755162, 0.7150075436, 0.8059841394, -0.9362252951, -0.0407411568, -0.2575419247, 0.0729675069, -0.3582194448, -0.2185324728, 0.599647522, -0.0524716601, -0.4107848108, 0.4406685829, 0.7743912339, 0.142461285, -0.3902181685, -0.572791338, 0.2069174796, -0.17323035, 0.6981881261, 0.0523682535, -1.2865092754, -0.4128143191, 0.3613267839, -0.0354946107, 0.1427156478, 0.8758446574, -1.0309568644, 0.6208161116, 0.5084759593, 0.6320727468, 0.4834527671, -0.2751885951, 0.1387830377, -0.11446511, 0.2993480563, 0.3771233559, 0.5989119411, 0.2667125762, -0.5423047543, 0.5997667909, 0.6885308027, -0.2621307373, -1.1776456833, 0.1380960643, -1.0254057646, -0.1625757068, 0.7341076732, -0.2693475485, -0.6118600368, -0.1093852147, -0.4969863594, 0.0072984365, 0.2443170249, 1.0620496273, 0.4356713593, -0.3123618662, -0.5832266808, -0.0090104658, 0.1923651546, 0.4045823812, -0.7696032524, 0.2134467959, 0.542447865, 0.0961384103, 0.5019728541, 0.5609177947, -0.1952442229, 0.3960098624, 0.2604385018, -0.0010953387, -0.4319169223, -0.7783107758, -0.052608382, 0.4132338166, -0.4418645203, -0.2948442698 ]
http://arxiv.org/abs/2407.02351v1
http://arxiv.org/pdf/2407.02351v1
Generative Large Language Models in Automated Fact-Checking: A Survey
2024-07-02T15:16:46
2024-07-02T15:16:46
Ivan Vykopal, Matúš Pikuliak, Simon Ostermann, Marián Šimko
cs.CL
cs.CL
The dissemination of false information across online platforms poses a serious societal challenge, necessitating robust measures for information verification. While manual fact-checking efforts are still instrumental, the growing volume of false information requires automated methods. Large language models (LLMs) offer promising opportunities to assist fact-checkers, leveraging LLM's extensive knowledge and robust reasoning capabilities. In this survey paper, we investigate the utilization of generative LLMs in the realm of fact-checking, illustrating various approaches that have been employed and techniques for prompting or fine-tuning LLMs. By providing an overview of existing approaches, this survey aims to improve the understanding of utilizing LLMs in fact-checking and to facilitate further progress in LLMs' involvement in this process.
[ -0.443015784, -1.0558047295, 1.0794266462, 0.0393152572, -0.2471532226, 0.1305635273, -0.2926163673, -0.3859452903, -0.0455266051, 0.7525187135, -0.4443724751, -0.6953686476, -0.7115918994, 0.2954800725, -0.7619147301, 0.9343988895, -0.2087314576, -0.0840851739, -0.4445506632, -0.0197400097, -0.0275910739, -0.7775092125, -0.5622005463, -0.5334895253, 0.5131210089, 0.2907185853, 0.6593855619, 0.513389349, 0.4740475118, 0.428521812, -0.1680703014, 0.6500607133, -0.3574990928, 0.1851070672, -0.1224695444, -0.7152092457, -0.4147675335, 0.0332362615, 0.7204486132, 0.5656046867, -0.1517766416, 0.3856776059, -0.0543464161, 0.444719702, -0.7483098507, 0.4421473145, -0.6439646482, 0.0668526143, -0.1995995939, -0.2284923196, -0.6024557352, -0.7633056641, -0.2017175555, -0.3748548627, 0.371727854, 0.1784540862, 0.6150360703, 0.3423366845, -0.564697206, -0.7311186194, -0.9375459552, 0.7042288184, -0.7484872937, 0.3931628764, 0.6038982868, 0.0142425429, -0.1728716791, -0.5940932631, -0.8794121742, -0.4799619913, -0.2358580828, -0.1225185394, -0.3147336245, 0.0933175012, 0.6001743078, 0.4861690104, -0.4209332764, 0.4267841578, 0.0172502995, -0.3792664409, 0.5000258088, 0.1446087211, 0.2353071719, -0.1578891128, -0.1762622893, 0.0186412707, -1.0898125172, -0.4681699276, 0.3042006791, 0.0975881964, -0.118212916, 0.8984639645, -0.1904865801, 0.8736732006, -0.083034955, -0.2729134262, -0.1118193939, -0.5498874784, -0.3046816587, -0.0777854025, 0.7162579298, 0.2898159623, 0.0357130058, -0.1135837138, -0.5568338633, 0.25279814, -0.1527316123, -0.7657211423, 0.0362212732, 0.1914532334, -0.3984285891, -0.2946825325, 0.0534405597, -0.7915323973, -0.7476652265, -0.5013262033, 0.4401620626, -0.1362393647, -0.1211688966, 0.1777902693, -0.0232483186, 0.1812962592, 0.5852392912, -0.6606910229, -0.1682152152, 0.9008054733, 0.9036265016, 0.1069866642, 0.1422984749, -0.8048231602, 0.105635494, -0.6846693754, 0.7898971438, -0.3601206243, -0.0949693769, 0.4334855676, -0.114982374, 0.3024719656, -0.5865296721, 0.7618624568, -0.9119597077, 0.1177808717, -0.5337076783, -0.7284528613, -0.1354920715, 0.7357393503, -0.7381744385, 0.6271846294, -0.2578731179, -0.6628355384, 0.2483592629, -0.6535890102, -0.4856911302, -0.0001525362, -0.0949372426, -0.5187473297, 0.0060509257, 0.4192262292, 0.735319972, -0.4854410887, 0.4250163734, -0.2631537318, 0.0180183761, 0.5689563751, -0.6559755206, 0.7642873526, 0.2971640825, -0.2702051699, 0.1438274831, -0.7098789811, -0.2732766867, 0.0851595178, -0.5247133374, -0.2313521951, 0.0997349173, -0.1124799699, 0.0526635051, 0.2602083087, -0.4423840046, 0.2649782598, -0.1773794591, 0.3808152974, 0.594743073, -0.019347053, -0.0378187634, -0.4837852418, 0.3409745097, 0.0395141952, -0.0018121765, -0.2031591535, -0.3236669004, -1.1066932678, -0.1998181194, 0.5004666448, 0.5150927901, -1.0342749357, 0.6418660879, -0.0114169922, -0.4112608135, -0.1415035576, 0.2779329121, 0.2501023412, 0.1947511882, 0.1645698845, 0.1830320656, -0.5984025598, -0.6489671469, -0.139443785, -0.4081648886, -0.0162923764, -0.034471456, 0.517814815, -0.3647390306, 0.8531916738, -0.3849304914, -0.0457235575, -0.327519536, 0.4528838396, 0.0562472008, 0.0475634895, 0.4813597202, -0.7943086028, -0.1944357455, -0.0907040536, -0.9743131995, -0.1888434887, -0.2566861808, 0.2927022874, 0.3550741076, 0.6709493399, -0.9920613766, 0.1082046703, 0.8001041412, -0.2740263641, 0.5895140171, -0.2266125679, 0.3905956745, -0.9017273188, -0.0905547664, 0.1688163728, -0.5833654404, -0.511988163, 0.3024633825, 0.0995400324, 0.2575550675, -0.191637218, 0.1955617368, -0.7305812836, -0.1068750843, -0.3253760636, 0.1088535711, -0.21549505, 0.0316193886, -0.0934131145, 0.7876914144, 0.5439292192, -0.7445123792, 0.771263659, 0.1268104911, -0.7727541924, 0.3892403543, -0.4448443353, -0.0180612449, -0.3377768397, 0.4867744446, -0.8521726727, -0.4484198689, 0.1375633627, -0.1620884836, 0.1613440067, -0.3777256608, -1.1548683643, -0.3332406878, -0.1219718233, 0.070309177, 0.5003215671, -0.8409109712, 0.6452948451, 0.3064169288, -0.2124159485, -0.3422470987, -0.5422150493, 0.5456198454, -0.2357232124, -0.4529597163, 0.008362799, -0.0132719725, -0.6905546784, -0.2307361215, 0.1712922901, 0.0615181625, -0.0373096354, 0.0951453969, 0.3582762182, -0.3478230834, 0.1658869982, -0.2848404348, 0.0954455733, 0.1882004291, -0.170794338, 0.52147156, -0.1292333305, -0.7484001517, -0.4872066975, 0.1496230662, 0.9743310213, -0.2931494117, 0.9477846026, 0.6122310758, -0.4392138422, -0.1808352321, -1.1452710629, -0.3720006347, -0.4675293863, 0.2829703093, 0.1336561739, -1.2210211754, 0.4435378015, -0.3613834083, 0.0733531341, 0.401081264, 0.9935232997, -0.0063268454, 0.9531738758, 0.6262161136, -0.0913835391, 0.2906724513, -0.0889505446, 0.3296692371, -0.3225803971, -0.1364922673, -0.7091444731, 0.2007674426, -0.661999464, -0.661396265, 0.5895587206, -0.1831747293, -0.0305427648, -0.0310801994, 0.1094555259, 0.4103930295, 0.2154732049, -0.0382751562, 0.719347477, 0.0011540033, 0.1716220081, 0.2826378047, -0.7357042432, -0.6429690719, 0.8148666024, 0.4924547076, 1.0570343733, 0.3025892675, 0.3263525367, 0.4579123855, 0.6544812322, -0.8796012402, 0.6992664337, -0.1421904117, -0.5792613626, -0.4172345698, -0.5455845594, -0.6740992665, 0.1191192418, -0.3383763433, -0.2664732039, 0.0019290935, 0.505967021, -0.3085410893, 0.5307441354, -0.4333718121, 0.431837976, -0.3927167952, -0.138683483, -0.4524891973, -0.2375868857, 0.5934329033, -0.1471256465, 0.3644681871, 0.0555107296, 0.0663876608, 0.2812404037, -0.4056855142, 1.2181423903, 0.1481051594, -0.605302155, 0.3007022142, 0.0830246583, 1.0730471611, 0.0439234897, -0.0334532708, 0.0952932611, -0.2636144161, 0.0254510175, -0.4755869508, 0.5914802551, -0.6515540481, -0.7729746699, -0.5314882994, -0.4583373964, -0.4182111323, 0.1100204885, 0.242041558, 0.4768657386, -0.258482635, 0.5387449861, 1.0856029987, -0.1004296765, 0.3095143735, 0.7759396434, -0.2979001999, 0.0909432992, 0.7027311921, 0.1028373241, 0.2592374682, 0.5708588958, 0.2569283247, -0.5485234857, -0.6937621236, -0.4576122463, 0.2675058544, -0.8162804842, -0.3205474615, -0.7456104159, -0.2972002923, -0.3161673844, 0.1576244086, -0.3349919617, -0.2674525082, -0.2012163848, -0.1038031504, 0.419699192, 1.0223408937, -0.0313017219, 0.0565195605, -0.7361840606, 0.6491547823, 0.553833127, 0.4861122072, -0.1954626739, -0.3463377953, -0.0560295507, 0.1304764301, -0.044094149, -0.8104943037, 0.0654685125, -0.0672037005, 0.6070986986, 0.4227919877, 0.0875396878, 0.2408416271, -0.2594901919, 0.8294150233, 0.0939894021, -0.7541037202, 0.3812331855, -0.380235821, 0.0103630312, -0.0373882391, 0.4897187352, -0.5946242213, -0.5220621228, -0.2206183523, -0.4843664467, 0.3761586547, 0.0941674337, 0.2145924866, 0.0781039819, 0.1941057742, 0.0565717146, 0.2377570719, -0.6566721797, -0.1814877391, -0.1252233386, -0.0867960975, -0.1832479388, -0.6528759599, -0.3631395996, 0.0772710815, 0.8061518073, -0.2390393019, -0.0896127746, 0.0632711649, -0.2603212297, -0.1846790761, 0.7125627398, 0.6954275966, 0.7915006876, 0.1248233095, 0.346511513, 0.2264778167, -0.170767352, 0.235287562, -0.0591168925, -0.5418911576, 0.032524202, 0.2801766098, 0.7164014578, -0.0355765112, -0.6407787204, 0.4880796671, 0.1830168962, -0.2104103416, -0.3193932772, 0.0595655516, 0.253993988, 0.0346060656, 0.2220247537, -0.1297282279, -0.0160848871, -0.8089275956, -0.0928969234, 0.6708550453, 0.1495442837, -0.1405934691, 0.2439737469, 0.1571082175, 0.0433149412, 0.680128336, -0.2145368755, -0.6240083575, 0.4264832437, 0.6105322838, 0.6577301025, -0.0258893166, 0.329205215, 0.3123906553, 0.5889624357, -0.5566875339, -0.0591734909, 0.0660048947, -0.9488003254, -0.7697734237, -0.6275587678, -0.640535295, 0.5283882618, -0.2261229306, 0.1227565333, -0.4974285364, -0.1751377732, 0.1813786924, -0.3348893225, -0.6795096993, 0.1477318555, 0.4007997513, 0.7485423088, -0.799176693, 0.4724428952, 0.7180476189, -0.2743569016, -0.5036556125, 0.3049963415, 0.3465096354, -0.7065684199, 0.6116620302, -0.2065535635, -0.3656431735, -0.2250761539, -0.8780065179, -0.7752363682, 0.7383082509, 0.5922680497, -0.7937241793, 0.1203495413, 0.3296475112, 0.6296674609, -0.0717678741, -0.0465567522, 0.4759763777, 0.7578850389, 0.2219590545, -0.7882215977, 0.089143075, 0.106799528, -0.0830442235, 0.062103834, -0.6789859533, 0.723347187, -0.2221454531, -0.1848354787, 0.1005234197, 0.7451499701, 0.2020443827, 0.1389559507, 0.7011175752, 0.438113302, 0.8149493337, -0.0561799258, 0.9560590982, -0.2310114503, 0.4251917601, 0.7459890842, -0.3566834331, 0.6595429778, 0.3144283593, -0.2265727073, 0.5426864624, 0.3323977292, -0.2948648036, -0.1958466768, 0.143320173, -0.4483783245, -0.7433882952, -0.246403262, -0.0799038932, 0.5646480918, 0.7239201665, -0.3180392087, -0.3513985276, -0.0597275533, 0.0521336421, 0.1316578835, -0.4333477616, 0.7857512236, -0.1267840117, -0.8474843502, 0.53121984, 0.251693517, 0.7741311193, -0.5499393344, -0.1165218353, -0.0827012956, -0.0163749605, -0.309122324, -0.9642935395, 0.1693252027, 0.4362810552, -0.3102946579, -0.2781714797, 0.8156341314, -0.4527130127, -0.5172922611, -0.0802426487, 0.647844255, -0.0835070014, -0.2522951066, -0.3784319162, 0.3331101239, -0.1550438851, -0.1464778185, 0.1247768626, 0.3848089278, -0.2182149738, 0.9972118735, 0.7362192869, 0.0901491866, -0.115970403, 0.3050984442, 0.7107849121, -0.4143531919, -0.3530599475, -1.0073720217, 0.1164499298, -0.0172609966, 0.207714662, 1.0181032419, 0.5230730176, 0.754858613, -0.1848765165, 1.1612672806, -0.1120520905, 0.536901474, -0.8230599165, 0.7755360603, -0.3008830845, 0.2420013547, -0.0004593234, -0.7836437225, -0.3810615838, 0.3766704202, -0.2584719956, 0.0831019133, 0.3757512271, 1.0879081488, -0.136949718, 0.0707802102, 0.4499758184, 0.6434174776, 0.2935598791, 0.0386305153, 1.2712204456, -0.0056952168, 0.4674545228, 0.0647306964, -0.2483736128, -0.5244986415, -1.1726138592, -1.1296794415, -0.5222795606, -0.579832077, -0.4213531315, -0.0218829531, 1.0328643322, 0.6364151239, -0.974557519, 0.0481437445, -0.0583746396, 0.4355758727, 0.1402539909, -0.1210713312, 0.2164483517, -0.2858694196, -0.4919522703, 0.2964286506, 0.268075496, 0.2211752236, -0.6382343173, 0.1650782973, -0.0174603313, 0.234816283, 0.9243835211, 0.2747426033, -0.9916492105, -0.3407789171, -0.2231623381, -0.260006696, -0.1653572023, 1.2463190556, -0.466535449, 0.2629178464, 0.6146705151, 0.7107847929, 0.3297332823, -0.0063764346, 0.3910708725, -0.6488273144, -0.1882169247, 0.0982860923, 0.5074600577, 0.6858725548, -0.4137022197, 0.0832465068, 0.158928141, -0.5922583938, -0.7856127024, 0.3678181171, -0.7373061776, -0.1130761504, 1.3432217836, 0.0467857048, 0.061606314, -0.3361741602, -0.0166767947, 0.1814250052, 0.0253393445, 0.9887242913, 0.9054281116, 0.1601129025, -0.2436186075, -0.5433976054, 0.6373847127, 0.2176041454, -1.131114006, 0.4103512168, 0.737837553, 0.3787118495, 0.2027574629, 0.336761564, -0.1683194041, 0.1970630735, -0.2160935849, -0.1441965401, 0.0466927961, -0.2430217266, -0.1719997525, 0.2206635028, 0.3377486765, 0.2810356915 ]
http://arxiv.org/abs/2407.02345v1
http://arxiv.org/pdf/2407.02345v1
MORPHEUS: Modeling Role from Personalized Dialogue History by Exploring and Utilizing Latent Space
2024-07-02T15:12:34
2024-07-02T15:12:34
Yihong Tang, Bo Wang, Dongming Zhao, Xiaojia Jin, Jijun Zhang, Ruifang He, Yuexian Hou
cs.CL
cs.CL
Personalized Dialogue Generation (PDG) aims to create coherent responses according to roles or personas. Traditional PDG relies on external role data, which can be scarce and raise privacy concerns. Approaches address these issues by extracting role information from dialogue history, which often fail to generically model roles in continuous space. To overcome these limitations, we introduce a novel framework \textbf{MO}dels \textbf{R}oles from \textbf{P}ersonalized Dialogue \textbf{H}istory by \textbf{E}xploring and \textbf{U}tilizing Latent \textbf{S}pace (MORPHEUS) through a three-stage training process. Specifically, we create a persona codebook to represent roles in latent space compactly, and this codebook is used to construct a posterior distribution of role information. This method enables the model to generalize across roles, allowing the generation of personalized dialogues even for unseen roles. Experiments on both Chinese and English datasets demonstrate that MORPHEUS enhances the extraction of role information, and improves response generation without external role data. Additionally, MORPHEUS can be considered an efficient fine-tuning for large language models.
[ -0.1119171605, -0.4843477309, 0.3213427365, -0.015734328, -0.0354914367, -0.0590133965, 0.1158566102, 0.0163729303, 0.3656122983, 0.7044808865, -0.8183447719, -0.6665707827, -0.2011731863, -0.0295079518, -0.0090567172, 1.2169439793, 0.4747391343, 0.1277166307, 0.0147951208, 0.1301638186, -0.3444063962, -0.4338449538, -0.7569729686, -0.2170365602, 0.7529853582, 0.1669378579, 0.6902111173, 0.5869628787, 0.1020881534, 0.2259889245, -0.031740021, 0.0919855237, -0.4541113675, 0.490940541, -0.0666059181, -0.5663847923, -0.7666388154, 0.0794377923, 0.5647978187, 0.7608190179, -0.3413743675, -0.1615436524, 0.0841540173, 0.2221676856, -0.5892125368, 0.3069881499, -0.5064672828, 0.4588344097, -0.2270865589, -0.5089316368, -0.4199028313, -0.2906632125, 0.6313573122, -0.6419927478, 0.2012303472, -0.2181542516, 0.4446639419, -0.0540655293, -0.4251191914, -0.384067595, -0.8432169557, 0.723565042, -0.7744883299, -0.1058701351, 0.5509781837, 0.3685507476, -0.2168724388, -0.7689648867, -0.3830291331, -0.0854277611, -0.0361506604, 0.3389787078, -0.0554356091, 0.3925790191, 0.0717216805, 0.4909500778, -0.4380674958, 0.0409390591, -0.5483807921, -0.2660787702, 0.6837475896, 0.3218253255, 0.3753712177, -0.2718411088, -0.32338503, -0.1258591413, -0.7835994959, 0.2512760758, 0.932638824, 0.1976262331, -0.1996269524, 0.5978533626, 0.0838981345, 0.7750182152, 0.1278576255, -0.1011012048, -0.1514509767, -0.0834121704, -0.2270935774, -0.0022391072, 0.6743577123, 0.400941819, -0.0606305264, -0.0853736401, 0.0120044574, -0.1118693501, 0.4926601946, -0.672319293, -0.4279103577, 0.2423004508, -0.5837554336, -0.4291575551, 0.0524495542, -0.8400071263, -0.6147831678, -0.1664155126, 0.2702726424, -0.2570693791, -0.1778023094, -0.1092720777, 0.1631005853, 0.1537057608, 0.3381957114, -0.9892187715, 0.2569143772, 0.3607082665, 0.8398584723, -0.2008807212, 0.0248305723, -0.7732979655, 0.2127150744, -0.3438491523, 0.5186965466, -0.7636198401, -0.4519543946, 0.1587106138, -0.1205746159, -0.2912083864, -0.4964822829, 0.3011334836, -0.3870021999, 0.797883153, 0.1081321612, -0.3024063706, -0.1069185436, 0.2499533892, -0.497305423, 0.4365968108, 0.1540292501, -0.6116998196, 0.1798783541, -0.9741215706, 0.0550050884, 0.078199029, -0.3832433224, -0.1094960049, -0.033432167, 0.174822554, 0.7650496364, -0.1030726582, 0.3685146868, -0.3273313344, -0.3591833413, 0.3053595722, -0.1369982958, 0.5034471154, 0.3809062243, -0.0577446148, 0.2053486109, -0.6271340847, -0.1500824392, -0.1336658746, -0.3623838723, -0.4503571689, 0.2479899973, -0.0985635221, 0.1755568534, 0.0284658521, -0.3799173832, 0.4043482542, -0.8046941757, 0.441901207, 0.7708525658, 0.0119247613, 0.6694904566, -0.3255523443, 0.9058480263, 0.1202043891, -0.0504534543, -0.5630499721, -0.4243918657, -0.3984689713, -0.375744462, 0.3065749705, 0.5530159473, -0.6107367873, 0.6422097087, -0.0727345645, -0.3100352585, -0.3076827824, -0.0002625703, 0.4410934448, 0.1664514244, -0.0660078153, -0.7577144504, -0.6028087735, -1.0756286383, -0.048469089, -0.2720215619, -0.181043759, 0.609914124, 0.0897307321, -0.4484421909, 1.1629025936, -0.6088769436, -0.417538166, -0.4605972171, 0.0630589202, 0.2261138558, 0.5171239972, 0.3235808611, -0.9373209476, -0.3005695343, -0.0813544467, -0.6119265556, -0.3499138951, -0.223104313, -0.1470516771, -0.1018556952, 0.5032641292, -0.3806237876, 0.2585608065, 1.0128409863, -0.3033452332, 0.2806529701, -0.1295019835, 0.0753537491, -1.6997712851, 0.3002673984, -0.053715691, -0.1087293327, -0.7155627012, -0.3533169925, -0.4989362657, -0.462744087, -0.214238286, 0.5414947271, -0.1675279886, -0.1721777618, -0.228622362, 0.3004884124, -0.2566240132, 0.7390391231, -0.0379052535, 0.5523548126, 0.4017561674, -0.6892433167, 0.2056297958, 0.4424449205, -0.3108296692, 0.4054986835, -0.676309824, 0.2798750699, -0.1190746427, 0.5211894512, -1.2173757553, -0.5085445046, 0.5149436593, -0.3307853043, 0.1919366717, -0.7924454808, -0.407536149, 0.1734685302, -0.1082528532, 0.3927464783, 0.3410426974, -0.2045423687, 0.6380615234, 0.7414722443, -0.6798723936, -0.6224640012, -0.1890768558, -0.0853805393, -0.5937211514, -0.6599809527, 0.5747981071, -0.2905513048, -0.1799069941, -0.4657933712, -0.2118201852, -0.4061079621, 0.0286732633, 0.4817919433, 0.1721372604, 0.0507853664, 0.0561521165, 0.4849587679, -0.1786340773, -0.1266359985, -0.3213953674, 0.7641797662, 0.2889744639, -0.1899972558, -0.3501460254, 0.3592883945, 0.7370406985, -0.0819581822, 0.7000098228, 0.5011983514, -0.3214420974, -0.1211087704, -0.1655331999, -0.1667739451, -0.456474781, 0.2021753639, -0.1368793845, -0.9357111454, 0.6572307944, -0.0918511972, 0.3555653095, 0.029593125, 0.5860344172, 0.0692141801, 1.1475789547, 0.6626284122, 0.1729654372, 0.7193337083, -0.3513367772, 0.1893630177, -1.0819627047, -0.3844127953, -0.100199379, -0.4213373959, -0.3780619204, -0.3567316532, 0.585231781, 0.2069489807, 0.102343455, 0.4596735239, -0.2768590748, 0.2029744834, 0.3046175241, 0.0061912946, 0.1236691773, 0.0088448655, -0.215698272, -0.4800412357, -0.6672757268, -0.8575057983, 1.0872488022, 0.4179753065, 0.966886282, 0.4202891588, 0.6286073327, 0.4500773251, -0.0967572257, -0.6411192417, 0.5608845949, -0.0478068441, -0.4808749557, -0.0927988365, -0.3596330285, -1.2320660353, 0.4694755375, -0.1229630187, -1.0920493603, 0.1439368129, 0.4039263427, -0.9429758787, -0.0438640751, -0.7852583528, 0.862850368, 0.1532271355, -0.4300029278, -0.139086023, -0.6784338355, 0.29799366, 0.0812738836, -0.1311582774, 0.0799634755, 0.1138930693, 0.8632705808, -0.0693413839, 1.3021353483, -0.3881595135, -0.3531053662, 0.1126052514, 0.3568648398, 0.3456516862, 0.5177995563, 0.1438371837, -0.3597114682, 0.2277892083, -0.115589954, -0.6144483089, 0.7779669762, -0.6747367382, -0.4995015562, -0.2905150652, -0.7522337437, -0.3169344366, -0.0011789518, 0.3722579181, 0.5491480231, -0.3167131841, 0.5684008598, 0.8134123683, -0.7138665318, 0.1260238886, 0.3944394886, -0.1598923653, -0.2998438478, 0.3770513237, -0.1130022407, 0.074130632, 0.4795174897, 0.2121870518, -0.2312228531, -0.2640753984, -0.0616067313, -0.0703628585, -0.4066521227, -0.0013501714, -1.0064833164, -0.1153571233, -0.5213885307, -0.0112930648, -0.289875865, -0.2742295563, -0.2506216168, 0.1721333861, -0.1735382527, 0.5355135202, 0.0082791671, 0.633445859, -0.8778223395, 0.1712239534, 0.4978846908, 0.180847019, -0.274584204, -0.5195700526, -0.2943451703, 0.1859976649, -0.6687548161, -0.9339718819, 0.7059982419, 0.1509129107, 0.7095284462, 0.5700651407, -0.0762118176, 0.6004538536, -0.336755693, 1.0655319691, 0.0171713717, -0.8480212092, 0.8334804773, -0.8293694854, 0.0361029208, 0.1410937011, 0.2238180488, -0.7205637693, -0.1428882033, -0.6773965359, -1.0203905106, 1.0721588135, 0.4805433154, 0.3861720562, 0.1178859547, 0.39103508, 0.2829223275, 0.3717615902, -0.9036046267, 0.0527184494, 0.03541933, -0.1403841674, -0.1734267324, -0.235393405, -0.4508444369, 0.056792099, 0.3982613087, -0.285092473, 0.5631356239, 0.3363666534, -0.0102109211, 0.0527111404, 0.4072564542, 0.7042636871, 0.5041291714, -0.1973445565, -0.2568151057, -0.1213942692, -0.236814782, -0.2208842039, -0.0359213017, 0.1272886693, -0.0983437523, 0.1467508376, 0.7004532814, 0.3857583404, -0.6837874055, 0.5026171207, 0.0025571475, 0.0902012959, -0.6613211036, 0.4706296325, -0.1220645905, 0.5376799703, 0.271124512, 0.0981547832, 0.2258972079, -0.6783578396, 0.1103580371, 0.1771723479, -0.374109149, -0.5722751617, 0.6154389381, 0.3534301817, -0.2804540098, 0.216094017, 0.169721663, -0.1546383202, 0.3092664182, 0.4797139466, 0.8259197474, -0.3658918142, 0.4109723568, 0.2290907502, -0.2421452254, -0.1055911407, -0.1020055935, -0.3159067333, -0.7517608404, -0.3402306736, -0.4789188504, -0.4306637943, 0.4989760816, -0.6949783564, 0.0082911178, -0.5549734831, -0.2016252875, -0.2383520454, -0.0232148319, -0.2271135449, 0.0057451841, 0.1166947559, 0.4210639596, -0.6274667382, 0.817551136, 0.6981391907, -0.0740807727, -0.4529623687, 0.1741300821, 0.19179748, -0.4261749983, 0.6558712125, 0.2173956186, -0.1189115196, 0.0801250786, -0.5628011823, -0.4382579029, 1.3763692379, 0.5155649185, -0.3721455336, -0.3937112391, -0.3182664216, 0.6235562563, -0.9450017214, -0.0339220092, 0.1377686113, -0.0863852128, 0.1122425273, -0.7422997952, -0.4445517063, -0.5473767519, 0.2124239206, -0.1831045449, -0.3346850574, 0.8985924721, 0.038076289, -0.255515337, 0.5244677663, 0.3247448504, 0.4297302067, 0.2701343894, 0.5066252947, 0.1857007295, 0.6124991775, -0.0721354187, 1.0456616879, -0.2839984894, 0.1760749221, 1.1068601608, -0.4075933397, 0.4073167145, 0.3439894021, 0.2464507073, 0.7449151278, 0.4481476545, 0.0838633627, 0.8590147495, 0.2430826575, -0.4442376494, -0.2268004566, 0.0755027607, -0.1588282585, 0.5939577818, 0.4684874713, -0.8513530493, -0.0566206872, 0.0303923804, -0.0424651206, 0.1475774348, -0.0089647984, 0.7633855343, 0.0634737685, -0.9031295776, -0.0366960838, 0.1685531288, 0.6248462796, -1.0260210037, -0.2175979763, -0.3866378963, 0.4700160623, -0.1549264342, -0.5433514118, 0.2096365094, 0.0154075921, -0.128306523, -0.4795998931, 0.5278223753, -0.5890093446, 0.1597121954, 0.0983210206, 0.4735060334, 0.2530434132, 0.1019760296, -0.6246129274, -0.1383638084, 0.0324109793, -0.0825699419, 0.386204958, 0.1186877266, 0.0304258019, 0.8123109341, 0.6315351129, 0.0952049121, -0.0638502389, -0.0461060107, 0.603864789, -0.5644219518, -0.9196633697, -0.5404217839, 0.6888213754, -0.1392699927, -0.5450149179, 0.5634938478, 0.4943882525, 0.7329372168, -0.200884074, 0.9076239467, -0.3034932613, 0.443138957, -0.6893867254, 0.7425609827, -0.3636642396, 0.5835243464, -0.4574878216, -1.0537155867, -0.1976884156, 1.0338850021, -0.296518892, 0.1413322091, 0.3850837648, 1.0332750082, -0.2313419729, -0.1107744277, 0.5354224443, 0.1439445317, 0.5844526887, 0.6850202084, 0.935023129, -0.4480508268, 0.5559159517, 0.0567251965, -0.1269792765, -0.1437352002, -0.5078769922, -1.0565589666, -1.0136857033, -0.2746520936, -0.4469220638, -0.133410424, 1.1875361204, 1.0041944981, -0.5420057178, -0.4455485642, -0.0859545842, -0.265830785, -0.0006682058, -0.27801916, 0.0356611386, -0.0074863839, -1.0234189034, 0.6476110816, 0.4130683541, 0.0693034306, -0.4865315259, -0.2671120465, 0.1417306513, 0.0706853271, 0.6546272039, 0.3373995125, -0.6990751028, -0.1280544549, 0.0099817831, -0.117914848, -0.0703985989, 1.3181470633, -0.6972541809, 0.6386225224, 0.3915547132, 0.2631734908, 0.3578473628, -0.1079506502, 1.3622065783, -1.0218052864, 0.1031967476, 0.3962396681, 0.3166739047, 0.2504144907, -0.3828271031, 0.5059389472, 0.142380625, -0.393420428, -0.8201097846, 0.5794469118, -1.1831604242, -0.1010268405, 1.2292928696, -0.5595839024, 0.3012241423, -0.2527113855, -0.6658548117, 0.2483004928, -0.4575403631, 1.0093846321, 0.4897254407, -0.2235598713, -0.335511148, -0.4586120546, 0.5708462, 0.2960825861, -0.7420284748, 0.0162082985, 0.5707287788, 0.1462078393, 0.389185071, 0.8153213263, -0.4177831113, 0.1781740338, -0.3257035315, -0.3461034, 0.0528188869, -0.400781244, -0.3108267486, 0.3998670578, -0.3044376373, -0.1187747493 ]
http://arxiv.org/abs/2407.02340v1
http://arxiv.org/pdf/2407.02340v1
RVISA: Reasoning and Verification for Implicit Sentiment Analysis
2024-07-02T15:07:54
2024-07-02T15:07:54
Wenna Lai, Haoran Xie, Guandong Xu, Qing Li
cs.CL
cs.CL, cs.AI
With an increasing social demand for fine-grained sentiment analysis (SA), implicit sentiment analysis (ISA) poses a significant challenge with the absence of salient cue words in expressions. It necessitates reliable reasoning to understand how the sentiment is aroused and thus determine implicit sentiments. In the era of Large Language Models (LLMs), Encoder-Decoder (ED) LLMs have gained popularity to serve as backbone models for SA applications, considering impressive text comprehension and reasoning ability among diverse tasks. On the other hand, Decoder-only (DO) LLMs exhibit superior natural language generation and in-context learning capabilities. However, their responses may contain misleading or inaccurate information. To identify implicit sentiment with reliable reasoning, this study proposes RVISA, a two-stage reasoning framework that harnesses the generation ability of DO LLMs and the reasoning ability of ED LLMs to train an enhanced reasoner. Specifically, we adopt three-hop reasoning prompting to explicitly furnish sentiment elements as cues. The generated rationales are utilized to fine-tune an ED LLM into a skilled reasoner. Additionally, we develop a straightforward yet effective verification mechanism to ensure the reliability of the reasoning learning. We evaluated the proposed method on two benchmark datasets and achieved state-of-the-art results in ISA performance.
[ -0.4126554728, -0.9082949758, 0.7826899886, 0.6207280755, -0.3343321085, -0.1814933866, -0.0503743328, -0.3175838888, -0.2792735398, 0.3299530745, -0.6742804646, -0.6655544043, -0.6609022021, 0.4770721793, -0.2334576249, 0.6958599091, -0.3595655859, 0.2416071743, -0.5021757483, -0.3013070524, -0.521142602, -0.1827073097, -0.8317213058, -0.1475571543, 0.3000651598, 0.5129511952, 0.0697234273, 0.2464735359, 0.319655329, 0.1753191352, -0.0707909986, 0.6717479229, -0.2011072338, 0.4872300625, -0.1549491584, -0.622299552, -0.3756019473, -0.363838762, 0.5219033957, 0.1702446789, 0.1864848882, 0.2750203013, 0.077153042, 0.6555957198, -0.8525551558, 0.2069447339, -0.7491995096, -0.3059581518, -0.0446183272, -0.1741295606, -0.7288759947, -0.7003644109, -0.4246574044, -0.1641193628, -0.0065705567, 0.0208623521, 1.0310660601, 0.60965693, -0.4693160355, -0.2413060218, -0.7084875107, 0.7553145885, -0.3769209385, 0.3067946434, 0.2569384575, 0.2754172087, -0.1021433547, -0.4994142056, -0.896584928, -0.056401886, -0.0092625599, 0.0943680406, -0.0336810648, -0.0833920762, 0.2657731473, 0.1987155378, -0.4459630251, -0.1492896825, -0.074467428, 0.0584535562, 0.4513450563, -0.0032502655, 0.2761204541, -0.44172737, -0.6118929982, -0.0365579277, -0.9599104524, 0.1176438779, 0.4024350643, 0.1635712087, 0.0126902414, 0.8200435638, -0.1568458825, 0.3426096141, 0.0125428243, -0.0966306105, 0.1120415851, 0.0947039574, -0.2451395839, 0.1366079748, 0.79494977, 0.2843641341, 0.3798424602, 0.2438512444, -0.312926203, 0.3623297811, 0.0809425712, -0.7774295807, 0.4073979855, 0.6628577113, -0.3213026822, -0.1402987987, -0.1496583372, -0.8525335193, -0.3384396732, -0.2613575757, 0.3921187818, -0.3943198621, -0.4079899192, 0.1735385954, -0.0162969157, 0.7307085395, 0.2846249938, -0.6387191415, 0.1584294885, 0.9964008927, 0.6545372605, 0.0944957957, -0.1091912389, -0.5588675737, 0.0599332601, -0.4546560943, 1.0474610329, -0.6618118882, -0.4221721292, 0.0348602049, -0.2105081975, -0.0775127336, -0.0817344412, 0.879519403, -0.5915066004, -0.0510870032, -0.5341932774, -0.2914505303, -0.1667694449, 0.606654048, -0.347330451, 1.3224127293, -0.051941812, -0.8502461314, 0.4322297871, -0.614544034, -0.4745865166, -0.0891230106, -0.3452849984, -0.4020231664, 0.0158287324, 0.6543121934, 0.4726334512, -0.4322505891, 0.0883948877, -0.4326077104, -0.4644709229, 0.2895627916, -0.6260039806, 0.498991549, 0.1831617504, -0.3192930222, -0.0782435387, -0.7796781659, -0.0189588834, 0.0167601407, -0.0581400581, -0.3236856163, 0.047034435, -0.3917509317, 0.0581263192, 0.151208818, -0.7967458367, 0.243979618, -0.2978254855, 0.0793289617, 0.7630596757, 0.3894186914, 0.2102986425, 0.189139396, 0.4952375293, 0.0270276032, 0.2269854844, -0.1578181535, -0.3720589876, -0.8983448148, -0.5896211863, 0.325735569, 0.586232841, -0.7899162173, 0.1309602559, -0.4076997936, -0.0059837396, -0.7147293091, -0.1085774228, 0.2511318326, 0.4058843851, 0.5592828393, 0.4201112688, -0.7065288424, -0.8611984849, -0.3703776598, -0.2887867987, 0.0618147813, 0.2792086899, 0.5015719533, -0.5192354321, 1.0660443306, -0.4888449013, -0.1222141609, -0.4161784649, 0.5020272732, -0.0419606231, 0.2802066207, 0.3068719804, -0.691352427, -0.2269115597, -0.1214017197, -0.8749951124, -0.2507274151, -0.1907884032, -0.3002558649, 0.3654466867, 0.4877521992, -0.839479506, 0.4882666469, 0.2097250521, -0.1545105129, 0.2514602244, 0.0317448452, 0.2612059116, -0.8556891084, 0.0371407643, 0.3138186038, -0.1870774925, -0.0364831835, -0.141911298, -0.0402714796, 0.3037019074, -0.1107658297, 0.5347041488, -0.3146017492, -0.0114112524, -0.3286732733, -0.0004115512, 0.2374492884, 0.4125725031, 0.177993834, 0.6701917648, 0.5852857232, -0.5578237772, 0.1272173822, 0.2140698284, -0.1022032425, 0.9168673158, -0.9603749514, 0.1270082146, -0.5746399164, 0.4366491735, -1.1858115196, -0.3827343285, 0.3658339083, -0.5592288971, 0.2967743576, -0.5241955519, -0.5079206824, -0.2857111692, -0.1586286277, 0.2248729169, 0.5271747112, -0.8378332257, 1.2364317179, 0.0736023411, -0.1295805424, -1.0155757666, -0.4335130453, -0.1535779238, -0.0662648603, -0.5706716776, -0.1930080354, 0.1584518254, -0.50927037, -0.0725982562, -0.3183349967, 0.0563381314, -0.0665908903, 0.568605125, 0.4437400401, -0.1144867763, -0.0454211533, 0.5758684278, -0.2418181598, 0.4602605104, 0.045081418, 0.3348295689, -0.4843736291, -0.5745843649, -0.1232287884, 0.2516471148, 0.7803669572, -0.2736725211, 0.7357751727, 0.8964578509, -0.3717912436, -0.5632449985, -0.6478084326, -0.012327048, -0.4059103429, -0.0585021973, -0.7170928121, -0.6296328306, 0.3037669361, -0.3738042414, -0.0024225393, 0.4351025224, 0.3862981498, -0.0127725163, 1.4459482431, 0.254532218, 0.3709759414, -0.1373649836, -0.263568759, 0.2524725199, -1.0714851618, -0.7406560779, -0.6569422483, 0.0737893209, -0.3261763752, -0.3577418327, 0.291639179, 0.1190909147, -0.3416531682, -0.2453062683, -0.3038150072, 0.5631188154, 0.0824809372, 0.0461136214, 0.0334205478, -0.1379161775, -0.1873874366, 0.2073798776, -0.1041863263, -0.8217036128, 0.6988021731, 0.6353178024, 0.6338806152, 0.1396429688, 0.6499664187, 0.3332226872, 0.4098719656, -0.8253427148, 0.7871776223, 0.1695234627, -0.334453702, -0.0035480384, -0.3801011145, -0.3491179347, 0.3428590596, -0.1397675723, -0.5437488556, 0.497823149, -0.0194793995, -0.1598045677, -0.0756057203, -0.3411365151, 0.6016640663, -0.1122971922, -0.7244625688, -0.0950333774, -0.4947042763, 0.5736922622, 0.24606736, 0.1990903318, -0.3461602926, 0.0857776403, 0.2168604881, -0.4416031539, 0.7312241793, -0.3902928233, -0.1988310814, 0.293484956, 0.2470113337, 0.6861063838, 0.5583450198, -0.1709788144, 0.1555013806, -0.2571951449, -0.0905787498, -0.5886457562, 0.880764246, -0.6428217292, -0.4620812535, -0.5575606227, -0.0671733692, -0.4962082803, 0.0165210441, 0.1414555758, 0.3959390223, -0.0425552949, 0.1495962441, 1.0530980825, 0.1511115581, 0.1027569771, 0.3438137174, -0.0916462988, -0.3742789626, 0.7767846584, -0.4641816914, -0.1492904723, 0.4215000868, 0.0258126874, -0.5615380406, -0.5329580903, -0.789024055, 0.1287114769, -0.9304127693, -0.3328643739, -0.7996987104, 0.041200757, -0.0175155457, -0.1364798248, -0.5137411356, -0.1238997132, -0.1660940945, -0.2165174633, 0.6324689984, 0.7693434954, -0.103497304, 0.0219480637, -0.5659673214, 0.6526924968, 0.4089798629, 0.4135578871, -0.1665202677, -0.2048054487, 0.2438996136, 0.2088672519, 0.1832831055, -0.8612082601, 0.3034937382, -0.1627123952, 0.4610131979, 0.414337635, 0.0253925845, 0.4925589263, -0.2526588738, 0.8899808526, -0.119893685, -1.0862597227, 0.7489675283, -0.2831720114, -0.1530414224, 0.6901041865, 0.5337741971, 0.0611463673, -0.2871912718, -0.3054213822, -0.9990121722, 0.5192190409, 0.1625684649, -0.0951693505, -0.4018207192, 0.5790247917, 0.1073303893, -0.0554773398, -0.6114587784, -0.1967651993, -0.374722749, -0.5447539687, 0.5416113138, -0.5800676942, 0.0133207859, -0.0954010487, 0.9090731144, -0.32665658, -0.0091587789, 0.164117828, -0.1892424673, -0.0784142241, 0.4922297597, 0.2827458978, 0.4901230633, -0.3997963369, 0.0842301846, 0.3233879209, -0.3557030559, 0.2485874444, -0.0883325562, -0.3247310817, 0.0439954661, 0.0448683016, 0.902014792, 0.160199821, -0.447336942, 0.8579849005, -0.5403868556, -0.0347436853, -0.4109824598, 0.0053806524, -0.1270007789, 0.1354740113, 0.3710674047, 0.3301664591, 0.141740635, -0.2533341348, -0.1508977562, 0.4860151708, -0.4206363857, -0.0781392083, 0.6059168577, 0.2581808567, 0.1900397837, 0.551804781, -0.285572648, -0.4835267663, 0.3578615487, 0.4105003476, 0.9934390187, 0.0688616633, 0.3090423048, 0.5079673529, 0.4083282053, -0.4489883184, 0.7021724582, -0.1311116368, -0.6463817358, -0.660577178, -0.8450207114, -0.5380872488, -0.0233719796, -1.0038864613, 0.3603231609, -0.2999940813, -0.0960094705, -0.3390428126, -0.309928894, -0.5794774294, 0.4346929193, 0.3064499497, 0.9029657841, -1.0669971704, 0.3508074284, 0.6642147899, -0.5718974471, -0.7667834163, 0.3548114598, -0.1550709307, -0.6990951896, 0.7366684079, 0.3721450269, -0.7615026236, -0.0728289038, -0.8058022857, -0.5024055839, 0.8982983232, 0.2337396145, -0.4206390679, 0.4012127519, 0.020933548, 0.4956899583, -0.3866727054, 0.553021431, 0.6373205781, 0.5709347725, 0.5544059277, -0.1309988648, 0.1990555525, -0.2418932319, 0.09822689, 0.0431245603, -0.4515812397, 0.6444856524, -0.2935814857, -0.2687394321, -0.152662158, 1.0276148319, 0.6865990162, 0.279471755, 0.3999391496, 0.4673541188, 0.7378597856, -0.3773498833, 1.1836150885, -0.1555625349, -0.0592662618, 0.8579698205, -0.5870907903, 1.1197533607, 0.3595641255, 0.0200764723, 1.1108930111, 0.3752589524, 0.1811141223, 0.3412083089, -0.0981248915, -0.5146896243, -0.5908899307, -0.1441609412, -0.1952182204, 0.645626545, 0.6631624699, -0.0875973552, 0.0698600039, 0.0568865575, 0.0923211798, 0.084072724, -0.476629287, 0.7848343253, 0.1274420619, -0.7415242791, 0.397069335, 0.1540221572, 0.5123952627, -0.6681298018, -0.3041833639, -0.2800525427, 0.3690459728, -0.3167172074, -0.8988085985, 0.1867847145, 0.3263310194, -0.1216337159, -0.1499367505, 0.8603072166, -0.2338740379, -0.5559492707, 0.0708102435, 0.39320454, 0.0053078388, 0.0491125137, -0.3748190701, 0.4946222901, -0.1337876171, -0.304315865, -0.1059170961, 0.6100441813, -0.0003786986, 0.7084356546, 0.6998798251, 0.1485962123, -0.3997368217, 0.4924842119, 0.7157896161, -0.3315809369, -0.2973443866, -1.0194921494, 0.5674527287, -0.2522039115, -0.0707341954, 0.9755824804, 0.3132296503, 0.3656944633, 0.0298694596, 1.0362057686, 0.1020840034, 0.4467413425, -0.662558198, 0.2533287108, -0.3411122561, 0.5576017499, -0.0291585065, -0.72349751, -0.196097672, 0.8160251379, -0.4323730171, 0.0805827156, 0.6973673701, 0.7674478889, 0.0925292894, 0.3332187831, -0.3653676212, 0.2701092064, 0.1504772156, 0.2762900293, 1.1092840433, -0.4075985253, 0.5217306614, 0.1987703294, -0.224172309, -0.2066123337, -1.1376091242, -0.9551808834, -0.229905203, -0.4375706911, -0.7208284736, 0.1679893881, 1.0051275492, 0.2448816597, -0.721437335, 0.4061890244, -0.3415357471, 0.4348690212, -0.2291034907, -0.2642665803, 0.3150925934, -0.2944101989, -0.5489041805, 0.4122956097, 0.378238976, -0.1132049486, -0.4504148662, -0.0710747093, 0.0566282459, 0.7143656015, 0.6652360559, 0.3112162054, -0.6557379365, -0.2632679045, -0.1061191484, -0.2117303014, -0.1218176708, 0.5685013533, -0.7873176336, 0.1766218692, 0.6177096367, 0.2989412248, 0.4269714653, 0.2031377256, 0.5816396475, -0.9713845253, -0.1723462045, 0.1661255062, 0.6211455464, 0.5072508454, -0.4421460927, 0.3396362066, -0.0885398835, -0.3974122405, -1.1037201881, 0.1769273579, -1.0290081501, -0.1279033422, 1.7713913918, -0.0839455873, -0.4887604117, -0.2340397984, -0.3793430924, 0.1761472672, -0.334125936, 0.5574149489, 0.3160616457, -0.1018813848, -0.1944188178, -0.2225778103, 0.5665627122, 0.0633605048, -0.9539508224, 0.07278689, 0.5573217869, 0.3183820546, -0.1026413664, 0.5806710124, -0.2313985378, 0.3417127728, 0.2766807675, 0.0849068165, -0.366255492, -0.5973460674, -0.1944155544, 0.3729439676, 0.1005131453, -0.1978927702 ]
http://arxiv.org/abs/2407.02337v1
http://arxiv.org/pdf/2407.02337v1
Open foundation models for Azerbaijani language
2024-07-02T15:05:47
2024-07-02T15:05:47
Jafar Isbarov, Kavsar Huseynova, Elvin Mammadov, Mammad Hajili
cs.CL
cs.CL
The emergence of multilingual large language models has enabled the development of language understanding and generation systems in Azerbaijani. However, most of the production-grade systems rely on cloud solutions, such as GPT-4. While there have been several attempts to develop open foundation models for Azerbaijani, these works have not found their way into common use due to a lack of systemic benchmarking. This paper encompasses several lines of work that promote open-source foundation models for Azerbaijani. We introduce (1) a large text corpus for Azerbaijani, (2) a family of encoder-only language models trained on this dataset, (3) labeled datasets for evaluating these models, and (4) extensive evaluation that covers all major open-source models with Azerbaijani support.
[ -0.3478648067, -0.6102603674, 0.3888168037, 0.2648692727, -0.1478985101, -0.1867540479, -0.484269172, -0.5092435479, -0.2385903746, 0.9376906157, -0.3430765271, -0.7105099559, -0.6892267466, 0.1721754372, -0.6084732413, 1.0214514732, -0.3594037592, 0.2307242453, 0.0100441445, -0.1891492605, -0.1350829601, -0.582110405, -0.3329071403, -0.1215356067, -0.0985456929, 0.5809041262, 0.5660508871, 0.730481565, 0.7549621463, 0.2272807062, 0.1502754539, -0.505605638, -0.1994056255, 0.3609666228, -0.0565462559, -0.2276937962, -0.0896462575, -0.2417212725, 1.0458829403, 0.6284559965, -0.4100543559, 0.1193207651, -0.1402189732, 0.6575093865, -0.8017926216, 0.347022593, -0.475797236, 0.0295460112, -0.469247669, 0.4752715528, -0.3217983842, -0.3870274723, 0.0454847217, -0.1664040983, 0.2756075561, -0.197769329, 0.4954027236, 0.0395609215, -0.404545933, -0.6186554432, -0.9929796457, 0.8987400532, -0.703429997, 0.7108201981, 0.5641063452, 0.5543330908, -0.1727664769, -0.6272592545, -0.4645967782, -0.3388709128, 0.2435767502, 0.0713342726, -0.0822515935, 0.0458752736, -0.0966066644, 0.6545603871, -0.4908151925, -0.120426178, -0.2937352061, 0.0932852328, 0.3192209005, 0.1098396033, 0.0749021918, 0.1779863834, -0.2628052533, 0.0787509158, -0.9613355398, 0.0488289855, 0.4597811401, 0.3703856468, -0.0946377441, 0.9776524901, -0.5005982518, 0.9790347815, -0.2716676295, 0.1138090193, 0.0414207391, -0.5967642665, -0.4560686946, 0.0483771861, 0.6975405812, -0.2919745743, 0.2572832704, -0.3161463737, -0.2118005008, 0.3702245951, 0.0587742142, -1.0372788906, -0.095783107, 0.3853187561, -0.3602890968, -0.3830618858, 0.1180288866, -0.7729543447, -0.4079245925, 0.0421955362, 0.1521285176, -0.2602592707, -0.3973831534, 0.4138786495, 0.1319244802, 0.2105208635, -0.0096355658, -1.0961227417, 0.568469882, 0.4807694554, 0.7661947608, 0.2092533559, -0.2065052688, -0.4818880856, 0.0166209731, -0.5790104866, 0.7145759463, -0.9799816012, -0.2445851713, 0.2557225525, 0.1492463499, 0.0452627912, -0.2906241119, 0.8105276823, -0.4238842428, 0.343118906, -0.0527552105, -0.2459942251, -0.1555463821, 0.0898148641, -0.6804597378, 0.7174717188, 0.2994870842, -0.6716006994, 0.2790476084, -0.8253889084, -0.1621191502, 0.1291272044, -0.1247911006, -0.5033212304, -0.0190613177, 0.183562696, 0.4775758982, -0.601616621, 0.3456510603, -0.103758648, -0.0937680528, -0.0277109202, -0.1352079511, 0.6747405529, 0.2697189748, -0.4098700881, 0.1525457948, -0.8092957735, -0.0639095977, -0.0841297954, -0.6147326827, -0.0889556557, 0.2029163539, 0.248237893, 0.2412167937, 0.1068024188, -0.8198363185, 0.2312411964, -0.4147825837, 0.5998766422, 0.4593022466, -0.1340939999, 0.3508072495, -0.0158115923, 0.7251494527, 0.027874697, -0.1609566808, -0.3202475607, -0.5191597939, -0.885191381, -0.3834587634, 0.403714627, 0.2139709741, -0.5417429209, 0.1695493162, -0.1012811065, -0.435513854, -0.701792717, 0.0192789491, 0.4580185115, 0.2070955634, 0.3084815741, -0.1628322601, -0.4521331787, -1.0245928764, 0.0085450551, 0.3638672829, 0.2196639031, 0.1228793561, 0.7290792465, -0.0790023133, 0.9712546468, -0.1416723728, -0.268860966, -0.1765456051, 0.0391799137, 0.2677128911, 0.4412878156, 0.5676904917, -0.8653228283, -0.4632608294, 0.303206265, -0.5451759696, 0.0707235709, 0.6226025224, 0.0658531263, 0.4160973132, 0.11357712, -0.6806669235, 0.2150401175, 1.0305577517, -0.3293295503, 0.5725784898, 0.0102508087, 0.3268310726, -1.30338943, 0.2861666083, -0.0653603002, -0.0307784136, -0.7455146313, 0.4161886871, 0.1050024256, -0.4160386026, -0.4640161395, 0.5014270544, -0.6448204517, -0.3069302738, -0.0715357587, 0.0107187508, -0.1882778257, 0.1038542166, 0.3654435277, 0.895416975, 0.7034329772, -0.374284178, 0.6111258268, 0.3841948509, -0.8250896335, 0.4056974351, -0.6544844508, 0.1512363106, -0.1083665341, 0.3031696081, -0.8100169301, -0.521490097, 0.3830873668, -0.2570130229, 0.1400021464, -0.5499175191, -0.2682839036, -0.4493798912, -0.0955782831, 0.2159278244, 0.3904486895, -0.4540111125, 0.3966879547, 0.3044199049, -0.3122222722, -1.0201601982, -0.6942073703, -0.020640729, -0.0877834037, -0.8959072232, 0.1301169395, -0.0400306061, -0.3626587689, 0.3279469013, 0.0273001306, -0.5408441424, 0.0158196315, 0.2435241789, -0.2280864269, -0.7966897488, 0.1989478171, -0.2405841351, -0.0080726463, -0.1806678474, -0.6189782023, 0.5427367091, -0.5535760522, -0.3840844631, 0.0219156798, 0.4946619272, 0.759442389, -0.9219045043, 1.2232323885, 0.1828573942, -0.7150663733, -0.2663208544, -0.3004185855, 0.1434580684, -0.4193285108, 0.3852279782, -0.518455267, -0.967843473, 0.5650359988, 0.0765250847, -0.0271406025, 0.491538763, 0.866694212, 0.3153441846, 0.8678438067, 0.7025673389, -0.0527811982, 0.2483729422, -0.2406752259, 0.1839763373, -0.6928435564, -0.084849976, -1.2374392748, 0.4075219631, -0.2750608325, -0.2545945346, -0.0742862076, 0.5300483108, -0.3074476123, 0.466997087, -0.3051088452, 0.6059254408, 0.1926453561, -0.342663914, 0.3956036568, 0.0054105171, -0.0808991715, 0.3063012958, -0.5432237387, -0.6606889367, 1.1959103346, 0.189470157, 0.5696473122, 0.4826593995, 0.540963769, 0.0822983831, 0.4846897721, -0.5108568668, 0.0677668303, -0.2557884753, -0.8422657251, -0.4532087445, -0.2958640456, -1.0156917572, 0.3524008691, -0.3799629807, -0.6921764612, 0.0287233684, 0.0085253036, -0.0783081055, 0.1133230105, -0.4288671911, 1.0801310539, 0.1720302105, -0.2117618024, -0.2100679278, -0.2214567065, 0.6395226717, -0.3749759793, 0.3954426348, -0.097988002, 0.2281094044, 0.5221179724, -0.4755754769, 0.3484849632, -0.1949434131, -0.1433844268, 0.4728251696, -0.0680660456, 0.5604655743, -0.3496674001, -0.4284513891, 0.1219427288, -0.1181346253, -0.4146526754, -0.3003046215, 0.9783856273, -0.8824869394, -0.3305611312, -0.2484791428, -0.0147745321, -0.2512919307, 0.3648117781, 0.1355541348, 0.7029696107, -0.5188953876, 0.9351398945, 0.3994174004, -0.0976411775, 0.3925802112, 0.5115516186, -0.1960859597, -0.3388105631, 0.5071796179, 0.0933080167, 0.2258251458, 0.1759534031, 0.2048951536, -0.3051175475, -0.755962491, -0.9832655787, -0.0021911887, -0.878897965, -0.1526895761, -0.7887464166, -0.1291238666, -0.5033946037, -0.1636939645, -0.4271198511, -0.4538187981, 0.1668281257, -0.1019913033, 0.3586074412, 1.2148391008, 0.2875522375, 0.401430279, -0.8200912476, 0.2470557541, -0.039278321, 0.8286568522, -0.0295628216, -0.0564923063, -0.5471013188, 0.3473351598, -0.1536652148, -0.842066586, 0.1195627078, 0.2098389119, 0.7218632698, 0.2137105465, -0.0586077832, 0.0466294736, -0.4973121285, 0.8677660227, -0.075346671, -1.1166719198, 0.2833075225, -0.7794808149, 0.0459731445, 0.3493136466, 0.4189899862, -0.5655989051, -0.1848967224, -0.2272144854, -0.6298685074, 0.8907269835, 0.4464933872, 0.0668122694, -0.0170141757, -0.0778918639, 0.1502024084, 0.3512382507, -0.7307673693, 0.16623725, -0.4311665297, -0.515036881, -0.2579289377, -0.0233064014, 0.0491040573, 0.3166068494, 0.749443531, 0.0274754465, 0.1435422599, -0.0526343547, -0.2067876607, -0.3033709526, 0.5285800099, 0.716377914, 0.4196859598, -0.1477685571, -0.257437408, -0.1752022952, -0.4972663522, 0.404112339, 0.0679522231, 0.0032001254, -0.3228203952, 0.259748131, 0.7678176761, 0.1577787697, -0.5370710492, 0.675925076, 0.0749020725, -0.2008767873, -0.3861926496, -0.0551218651, 0.401240319, 0.0580314025, 0.1404026151, -0.0621162839, -0.1141219512, -0.6198107004, 0.1341860741, 0.452042371, -0.3449021876, -0.2094414234, 0.5558730364, 0.4168024361, -0.2899985909, 0.6873466969, 0.3089020848, -0.5222904682, 0.7784860134, 0.7503975034, 0.8945684433, -0.4758380651, 0.1351195872, 0.2393689305, 0.3590592444, -0.3243041635, 0.2818386257, -0.1229763031, -0.9336798191, -0.3741916716, -0.9880743027, -0.5372797251, 0.1745189577, -0.3884099722, 0.4890419543, -0.421649456, 0.0840398818, 0.0129567636, -0.0209473521, -0.7644732594, 0.3437069058, -0.0251557063, 0.9301591516, -0.8151553869, 1.0567766428, 0.5836310983, -0.5376219153, -0.4023224413, -0.1850956529, -0.3954982162, -0.5111052394, 0.5210397243, 0.235822469, -0.5127965212, 0.3781929016, -0.3703748584, -1.0049773455, 0.8368502259, 0.275061965, -0.3548302054, 0.2829127908, 0.1358784884, 0.5127572417, -0.788921237, 0.1629486382, 0.2102728635, 0.7035824656, -0.1652959287, -0.709474802, -0.1995294392, -0.2936008871, -0.2099018544, 0.6702203751, -0.553299427, 1.0877399445, -0.0086596757, -0.3470090628, 0.4210218191, 0.2964774668, -0.1393033713, -0.1391779333, -0.0415596776, 0.5638849735, 0.4370930791, -0.1716288179, 1.1997652054, -0.522690177, 0.4751609266, 0.7929511666, -0.4701651931, 1.0720701218, -0.0099886144, -0.120901525, 0.5389754772, 0.3774495721, -0.0615945086, 0.5071823597, 0.3811808825, -0.4396962523, -0.0293119419, -0.0592803508, -0.6900337934, 0.601962328, 0.33054474, -0.4831215441, -0.288277179, -0.0215276461, -0.1159337908, 0.0845014676, -0.2788329422, 0.5086921453, -0.1707503647, -0.5827900171, 0.4866801798, 0.6271334291, 0.4147026837, -0.784781754, -0.0290982202, -0.017670393, 0.3339918256, -0.1911129206, -0.6265826821, 0.4590032101, 0.2263973802, -0.2290056795, -0.0260613728, 0.6806698442, -0.6840679646, -0.5752359033, 0.3687730134, 0.4153558314, 0.1661667526, -0.1873352528, -0.2155469805, 0.0091734994, -0.2438620627, -0.5204419494, 0.1408264041, 0.1950588971, -0.3628127277, 0.5613779426, 0.8070597053, -0.0444961302, 0.0379722938, -0.2304137796, 0.6524256468, -0.6407846808, -0.3830796182, -0.762747705, 0.42555511, 0.2642239034, -0.3204874992, 0.6338121295, 0.5115605593, 0.7646811008, -0.2482749671, 1.191770792, -0.0185502041, 0.3166021705, -0.6096975207, 0.9489129186, -0.2747305334, -0.3784861565, -0.2693047523, -1.3609983921, -0.3653355539, 0.6657427549, -0.1818861216, 0.0004594355, 0.6400868893, 0.6070721149, -0.1119826511, 0.3906590044, 0.3816113472, 0.3611374199, 0.1836116314, 0.6055955887, 0.8697301149, -0.2385132015, 0.3839356005, -0.1046693251, -0.3565690219, -0.18307212, -1.0607289076, -0.8445879221, -0.7796878815, 0.1534179151, -0.2829303741, 0.3351374865, 0.8607056141, 0.7586342692, -1.1292892694, -0.307525456, -0.2916846871, -0.207025528, 0.0405705087, -0.0865639746, 0.2688025832, 0.0956758186, -0.4986825287, 0.5766655803, 0.0843770802, 0.1042212844, -0.4606419206, -0.1750015467, 0.0106380004, 0.1727933288, 0.3313275576, 0.2208981663, -0.6358279586, -0.2889013886, -0.0376343727, -0.1393490434, 0.1000045016, 0.8595232964, -0.6403271556, 0.327139914, 0.4083006382, 0.674530983, 0.6428846121, -0.0355439186, 0.7517496347, -0.3628400564, 0.1628008187, 0.142218098, 0.5278457999, 0.5607033372, -0.1974396557, 0.5000115633, 0.078458041, -0.4648969769, -0.6303884983, 0.4735261798, -0.3259550333, -0.0691053346, 0.9429909587, -0.3974223137, 0.0010778577, -0.2918954492, -0.1030139327, -0.0087185903, -0.2967371643, 0.3513419926, 1.3387923241, 0.2404221743, -0.0832067952, -0.5464712381, 0.3847774863, -0.0834313408, -0.7697702646, 0.3716928661, 0.5455284119, 0.3014959693, 0.0396777168, 0.8036785722, -0.188967526, 0.1088789031, 0.2750487924, 0.333525002, -0.2015823722, -0.6638144851, -0.6013897061, 0.3909071982, 0.2218030393, 0.0196216274 ]