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.0334098041, 0.066905193, -0.0087800473, 0.0330608189, -0.0677236989, -0.0192302726, -0.0242642779, -0.0280724298, -0.0243788864, -0.0103786141, 0.011970751, 0.0180174224, 0.0006767887, 0.0492849052, -0.0420657545, -0.0806736201, 0.0269014034, -0.0488310605, -0.0262125805, 0.0196773186, -0.0168628115, 0.0145918196, -0.0152916238, 0.0078794081, 0.0025736857, -0.0116721643, -0.0504490696, 0.0234549958, -0.0044372873, -0.0659511909, -0.0188974533, 0.0367088243, 0.0234605353, 0.0017193051, 0.0000022992, -0.0650850385, -0.0558618084, -0.0040704692, 0.0140927015, -0.0071014548, 0.0274250433, -0.061861679, 0.0067213355, -0.0064788763, -0.0472647473, -0.0001447572, 0.0172339287, 0.0364376791, 0.043565847, 0.0683345571, -0.0215606038, -0.0318784863, 0.0078461729, 0.0246082935, -0.0474422462, -0.0468631573, -0.0088379141, 0.0526215658, 0.0555693544, 0.040304739, 0.0090161655, 0.021497827, 0.005777149, 0.0044225361, -0.032641761, -0.0043264022, -0.0458176881, -0.0091645997, -0.011154878, 0.0329829082, 0.0483266897, -0.0225421321, 0.045817364, -0.0128045948, -0.0249462109, -0.0054226709, -0.0262246095, 0.0051807403, 0.0212429687, 0.0142160924, 0.0035645934, 0.0163790025, 0.0225873608, -0.0221879389, -0.005060093, 0.1205328032, -0.0102689583, -0.0233175922, -0.0012212279, -0.01053649, 0.0180891883, -0.0853213668, 0.0314068571, 0.0201568138, -0.0356050581, 0.0133336261, -0.0398122966, -0.0062284544, 0.0067392522, -0.0025789803, 0.0538954921, 0.0499989167, 0.0166325364, 0.0236605797, 0.0252251532, 0.1008279845, -0.0022487228, -0.0007629682, -0.0570583418, 0.0259461571, -0.0652267039, 0.0380990431, -0.0733038113, 0.0015862007, -0.0608209483, 0.0007061884, 0.0095698256, 0.0384981632, 0.0025659082, 0.0347981229, 0.0277421214, -0.0157465059, -0.0167407952, -0.0324122012, -0.0584804565, -0.026614476, -0.0458027832, -0.026847031, -0.0184848811, -0.0139948772, 0.0229532979, 0.0301120412, 0.0183472149, -0.000475407, -0.0361202583, 0.1028431132, 0.0052793878, 0.0074117165, -0.0184107907, -0.084115684, -0.0160226803, -0.0385882258, 0.0292600766, -0.0834952965, 0.0250440128, -0.0128533617, -0.0178028755, -0.0385371856, 0.0106852781, -0.000665239, 0.0124224704, 0.0749892145, -0.0400294662, 0.0484860577, -0.0179064665, 0.0117426319, -0.0184080191, 0.0745417997, 0.0417718478, 0.0330791026, 0.0173310563, 0.0472222269, -0.0125589371, 0.0554358512, -0.0163888764, 0.0060611106, 0.0217369366, 0.0485596694, -0.0065076686, 0.0435947664, -0.0273140222, 0.0331791975, 0.0022131943, 0.0269450322, 0.0108753657, 0.0178528707, 0.0026527492, -0.0221858677, 0.0463279411, 0.0546029061, -0.0404109657, -0.0412003435, -0.0560150631, 0.0037530097, -0.0274999831, 0.0006148687, -0.0427489616, -0.0130079994, 0.026257012, -0.0685640275, -0.0332593992, -0.0043527004, 0.0338379145, -0.0516526401, 0.0275347568, 0.0176265556, -0.080867067, 0.0507586524, -0.0311345626, -0.0241016708, -0.0069623617, -0.0025933296, -0.0256900359, 0.0307637937, 0.0290771537, -0.0626545772, -0.0477841571, 0.0133492425, 0.0296042953, 0.0551204607, 0.0699376762, -0.0109084053, -0.0182320941, -0.0199498311, -0.0401760302, -0.0183655508, 0.0148498965, 0.0092216078, 0.0480330288, 0.0050691119, 0.0056032906, -0.0664939135, -0.0256309789, 0.0316495448, -0.0176560115, -0.0318249762, -0.0042629284, 0.0146853151, 0.0289295278, 0.0173239484, -0.0128344353, 0.0339377783, 0.018810641, -0.0045769415, -0.0103529952, -0.023479702, -0.0162169542, -0.0008545112, 0.0427150689, -0.0497688875, -0.0351657271, 0.0428547934, -0.0318490975, -0.0358066633, 0.0040780846, -0.0093757994, 0.0031088726, 0.0215692185, 0.0469587296, 0.0198426712, -0.0652753562, -0.0272466186, 0.0592729598, -0.0040295301, -0.0289126653, 0.0305029042, 0.0109197879, 0.0688798651, -0.0163209829, -0.0138885388, 0.0106444862, -0.0329301991, -0.0106912944, 0.0387569852, 0.0589139424, -0.0343419015, -0.0377354398, -0.0743691176, 0.021291079, -0.0213224534, 0.0389300138, 0.0374476314, -0.0074694171, 0.0004436229, 0.019478187, -0.0256388523, 0.024992859, -0.0147787882, -0.024418097, 0.0314316936, 0.0143529018, -0.050742954, -0.02434518, 0.0154540474, -0.0483202487, -0.0331474543, 0.041849371, -0.0508430488, -0.0521515161, 0.0695013478, -0.0259684157, 0.0056854421, 0.0042658532, 0.0030748257, 0.0147289587, -0.0025647127, 0.0163035318, -0.0175766647, -0.0392931215, -0.0166801661, 0.0611680038, -0.0380048193, -0.0436436236, 0.02779359, -0.0282691605, -0.0112590902, -0.024624275, -0.0497716181, 0.0513322577, 0.0416184701, -0.0191538557, 0.0078147529, -0.0497392453, 0.0062737018, -0.0274675582, 0.0139524015, 0.010371686, -0.0126774088, 0.0111881113, 0.116750598, -0.0025734475, -0.065166302, 0.0320900679, -0.0549727045, 0.0129563231, -0.0418514274, -0.002062845, -0.0490683913, 0.0629639179, 0.0295073725, 0.0353748575, 0.0292451903, 0.0133342547, -0.0217545107, 0.0143586146, -0.0150804892, 0.0067123594, 0.0649809539, -0.1065211296, 0.0185196437, -0.0120106554, -0.0558045097, -0.0190747213, 0.0408127569, -0.0286478251, 0.0504646301, 0.0123019274, -0.0705727562, -0.0293860212, -0.0286418665, -0.0240554269, 0.0515960194, 0.010470801, -0.0203117076, -0.0417397618, -0.0375001542, 0.0128839426, 0.0425190143, -0.0159027055, 0.0296553001, -0.0227810573, 0.005985837, 0.0145486528, 0.0134113077, -0.0325294398, 0.0291198045, 0.012353437, -0.0172805302, -0.025968004, 0.0470537283, 0.0385066457, -0.0192932114, -0.0422595367, 0.0753827989, 0.0286206808, -0.0019308534, 0.007332819, -0.0465550721, 0.0147452625, 0.0333056711, 0.0421871692, -0.0536521114, -0.0275695641, 0.0150087131, 0.0148573909, 0.0017383732, -0.0479091406, -0.0370971374, -0.0832315683, 0.0408922806, 0.0039302944, -0.0414327122, 0.0068093222, -0.0485463515, -0.0348977596, 0.0070341085, -0.0439033769, -0.0314291008, 0.0359110795, -0.0058542872, -0.0093824435, -0.0626609251, -0.0124845151, 0.0249471236, 0.0137964897, 0.0295960121, 0.125822112, 0.0632715896, 0.0186838284, -0.0299045239, 0.030254297, 0.0850165039, 0.0091071883, -0.0176464617, -0.012838156, 0.0360283442, 0.0099149235, 0.0313194431, 0.0331942961, -0.1143974513, -0.0391396172, 0.0394280143, 0.1172503978, 0.0212701056, 0.0161532797, -0.0515441373, 0.0247200765, 0.0299344752, 0.0453864075, -0.0231290348, 0.0212635063, -0.0505486801, -0.0595172904, -0.0035828168, -0.0780552775, -0.0162690002, 0.0003969925, -0.0104692858, 0.0364144333, -0.0527229793, -0.0193789843, 0.0557636842, 0.0363131687, -0.0027414442, -0.0333291925, 0.0299191475, -0.0187895875, -0.0418776795, 0.0066396464, -0.0296354722, 0.0341537632, -0.0549108945, -0.0348612294, 0.0001153091, 0.010791162, -0.0133273136, 0.0466211997, -0.0480431058, -0.0314661153, 0.001508345, 0.0489328057, 0.0218960643, -0.0179499704, -0.0036487395, 0.0176645387, -0.0280730333, 0.0231061075, -0.0026979684, 0.0067197783, 0.00590913, 0.0460135713, 0.0213485193, 0.0272109155, -0.0414184183, 0.0255568475, -0.027170537, 0.0543695018, -0.0051091169, -0.0072018458, 0.0378341153, 0.0887569934, 0.0137299625, -0.0117450859, -0.0566702485, 0.0288479365, -0.0121025061, -0.0466331579, -0.059973523, -0.0598179922, 0.0307544265, -0.0089910105, -0.0141906077, 0.055497054, 0.0528416522, -0.0290575828, -0.0215038341, 0.0434079245, -0.0043054642, 0.0596662201, -0.0093959132, 0.0371272713, 0.0026235387, 0.0038546091, -0.0133867199, -0.0322308429, 0.0413680375, -0.010113365, 0.0103822174, 0.0201413874, 0.0259285532, -0.0352469198, -0.0203730781, -0.0062254206, -0.0951758996, 0.0143427514, -0.0149654271, -0.0017608947, 0.0256308243, 0.020594202, -0.0980251506, 0.0170421954, 0.0118058482, -0.0218159575, 0.0300886128, -0.0126830246, 0.034897279, 0.0061622066, 0.0197656527, -0.0413147807, 0.0546631068, 0.0315402187, 0.0463217162, -0.0100814682, -0.0240710881, -0.0521276891, -0.0349453539, -0.0002702157, 0.0507487319, -0.0037197571, -0.0387240238, -0.073542431, -0.0341422446, 0.0026522237, 0.0586545095, 0.0114587564, -0.0167153254, 0.0388595499, 0.0237602666, -0.0149093121, -0.0501482449, -0.008252576, -0.0304635055, -0.0085653011, -0.044455763, -0.0196733791, -5.739180354e-33, -0.0500189513, -0.0633873045, 0.0748481154, -0.0564838238, 0.0158981029, -0.0134771047, -0.0367724933, 0.0169221219, 0.0247195829, 0.0274291132, 0.003498375, -0.0268886518, 0.011373858, 0.0181967933, -0.002059652, 0.0051831459, 0.0329042897, -0.0157129429, -0.0668888912, -0.0288729072, 0.0284281354, -0.0281596985, 0.0202776603, -0.0591345243, 0.0083027501, 0.0285302233, -0.0055840788, 0.0591891073, 0.0192052051, 0.0060154195, 0.0005233659, -0.0040451698, 0.0042323922, 0.0063881325, -0.0596422218, 0.0200120248, -0.0559389926, -0.0486231297, 0.0436562523, -0.0078439154, -0.0629184246, -0.0150085138, 0.0144111151, 0.0113490876, -0.0448780097, -0.0076027401, 0.0029255585, 0.0194608029, -0.001811979, 0.0255152192, -0.0878017768, 0.0200607274, -0.0093800081, -0.0103422403, 0.0593686253, 0.0276123453, 0.0155340545, 0.0135877728, 0.0097491834, 0.0124105653, -0.000757073, 0.0144973909, 0.0794402435, -0.0199412536, -0.0083574057, 0.0658131689, 0.0244474616, -0.0005770522, -0.0043764557, -0.0047991103, 0.0116914297, 0.0926652104, -0.0319130197, 0.0392420627, 0.0032489998, 0.0489811227, -0.0054912632, 0.0494986214, -0.0749527737, -0.0021883913, 0.0155430036, 0.0115139224, -0.0362530723, -0.0297536626, -0.0500118621, 0.0148925697, -0.0058257589, -0.0032561205, 0.0419462472, 0.0026229306, -0.0114656854, 0.021550348, -0.0118283322, -0.0677950084, -0.0160622001, 0.0356057361, -0.0311643668, 0.0128022032, -0.0173723903, 0.065688163, -0.0298842043, -0.0214637145, -0.0189984329, 0.0221233945, 0.0497390628, 0.0295271333, -0.0287155174, 0.0240751505, -0.0434409417, 0.0266892109, -0.0617605746, -0.0090854494, -0.0175096095, 0.0223163925, 0.0281416159, -0.0331766196, 0.0021581426, -0.0147338836, 0.0387988389, -0.1033708602, 0.0022651243, 0.000667029, -0.0038401282, -0.0009831651, -0.0095707262, -0.0277145617, -0.0269016195, -0.0059646005, 0.0376038663, -0.0038560308, -0.0010663084, 0.028544914, 2.998e-7, 0.040835768, 0.0583466813, 0.0402339287, 0.0568974502, 0.0034739042, 0.0371850953, 0.0020665433, 0.0121392338, -0.0637515709, -0.0090904105, 0.0245884135, -0.0113737583, 0.0005338704, 0.0521566086, -0.0517508127, 0.0461274348, 0.0123598976, -0.0309045892, -0.076372683, -0.0040789023, 0.0848712698, 0.0225340333, -0.0046514175, 0.0123238405, -0.0277937371, -0.0281121694, -0.0116118342, -0.0582547374, 0.0373530611, 0.0342122875, -0.0169590395, -0.0255244803, 0.012756478, -0.0011016092, -0.0190092847, 0.0084493887, 0.0198990647, 0.1050357744, 0.0005061714, 0.0118215829, 0.0059626144, -0.0894856378, -0.0010242438, -0.0057944539, 0.0131731341, -0.0037641604, -0.0019926203, 0.0319907777, -0.0049441783, -0.0032971483, -0.0543008633, 0.0164344441, 0.03065845, 0.0195488203, 0.0082345167, 0.0039379033, -0.0089823417, -0.0253550429, 0.0120256459, 0.0293011479, -0.0114573715, -0.0219933633, -0.0581483357, 0.0766361356, -0.0039592227, -0.0321276225, -0.0107506346, 3.036588205e-34, -0.0018789124, 0.0390870385, -0.0086663105, -0.0175063908, 0.0486677885, 0.0028408938, 0.0052769575, 0.0227610227, -0.0017289656, -0.0324915871, 0.0001653939 ]
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.0252796933, 0.0416428819, 0.0251801535, 0.0599158555, -0.0413398892, 0.0124273188, 0.0213925503, -0.0225918051, 0.0041636159, -0.046159111, -0.0364362262, -0.0311695468, 0.0230372101, 0.0557146966, 0.0101290774, -0.0468395725, 0.0010872741, -0.059912324, -0.0280443542, 0.0125511819, 0.0156934634, 0.0103971111, -0.0031738163, 0.0252372958, -0.0120809292, -0.0406814925, -0.0260891393, 0.0223320741, 0.0318155587, -0.0150375515, -0.0312131662, 0.0293260086, 0.0622282512, 0.0195226073, 0.0000019273, -0.0132894572, 0.0204759277, -0.000523279, 0.0089991605, -0.0215672925, 0.035008695, -0.0557699353, -0.0165801216, -0.0228577163, -0.017751446, -0.0057013766, 0.0397959389, 0.0600823052, 0.0764900073, 0.0607516579, -0.0195028298, -0.05758572, 0.0227517728, -0.0477946885, 0.0227185842, -0.0510530844, 0.012995881, 0.0001303307, 0.0253685433, 0.0255003124, -0.0440048203, 0.0482783243, 0.0795253739, -0.0521877594, -0.0274949837, 0.0560383797, 0.0034998998, -0.026225701, -0.0153070092, 0.0699507743, -0.0071551125, 0.0143051632, -0.025952911, 0.0079847854, 0.0081296349, -0.0690112188, -0.0592003837, 0.0430830717, -0.023987215, -0.0020346933, -0.0267471261, -0.0117587931, -0.0126460958, 0.0013027182, 0.0039620847, 0.0077810134, 0.0199136734, 0.0166570134, -0.0145165073, -0.0008687851, -0.0122497296, -0.0512254238, 0.0068751546, 0.0583581291, -0.0285595655, -0.0007505013, -0.0657946616, -0.0305708796, 0.013580068, -0.0387905687, 0.0329886824, 0.0220550299, -0.043032676, 0.0984610096, -0.0340178721, 0.0770621002, -0.0369124264, 0.0086736577, -0.0330440924, -0.0137202935, -0.0083123231, -0.0092716925, -0.0389165618, -0.0068315291, -0.0804685801, -0.0737227425, -0.0026540444, 0.0516857319, -0.0017531567, 0.0308827125, 0.0129489806, 0.0001439702, -0.0512483232, -0.0398076065, -0.0080956677, 0.0319523029, 0.0203089043, 0.0258654039, 0.0082153482, -0.0270650964, -0.0070030629, 0.0445367061, 0.0142052937, -0.0312396642, -0.016441334, 0.0872528553, -0.0471914038, -0.0346483625, -0.0159068219, -0.0042739497, -0.0137799252, -0.0727109388, 0.0056574838, -0.0734190494, 0.0318702459, -0.006726265, 0.0012854142, -0.000971685, -0.0028601184, 0.0397207029, -0.0004033596, 0.0818742812, 0.0105918394, -0.0222134162, 0.0231509749, 0.0223264582, 0.0151666468, 0.0766474381, 0.013623273, 0.074138619, -0.0027087235, 0.0248460714, 0.014092939, 0.0368876643, -0.0389550291, -0.0056095761, -0.0490425006, 0.0277318731, 0.0009888555, 0.03095771, 0.052853141, 0.0656348318, -0.0401889347, -0.0298734382, 0.0844251513, 0.0051887929, 0.0231099557, -0.0125805922, 0.074023813, 0.0006297418, -0.0009833572, 0.0000212681, -0.0769707784, 0.0891003385, 0.0212881789, 0.0345811211, 0.0007659659, 0.0254863892, -0.0307446681, -0.0264903773, -0.0059343758, -0.0040249578, 0.0027096167, 0.0016552431, 0.0346061289, 0.0219122749, -0.0723032132, 0.0072170887, -0.0159012862, -0.0261120163, -0.0015352892, -0.0293968823, 0.0439147651, 0.0803590715, 0.0177806355, 0.0166109838, -0.0157063697, -0.0207142923, 0.0478899665, 0.0979009494, -0.018857995, 0.000320821, 0.0280483011, -0.0529966466, -0.0411074087, -0.0268772151, -0.0177364051, -0.0057403566, 0.0113980686, 0.0331298932, 0.0057660234, -0.0053488999, 0.0079756072, 0.0408175215, -0.0070546074, -0.0340950824, -0.0463566706, 0.0228409786, 0.0010550317, -0.0089437356, -0.0166500863, -0.0138167208, 0.0142214382, -0.0382113159, -0.0077335397, 0.0015867752, -0.064825885, -0.0658789799, 0.0351057872, -0.0539819039, -0.0096248118, -0.0045275693, -0.0491620637, -0.0287329927, -0.0051649981, -0.028265439, 0.0175410565, -0.0435910076, 0.0001431702, 0.0480744466, 0.0128752403, -0.0363638476, 0.0266061816, -0.0265020635, -0.0302861705, 0.0204951111, 0.0363542922, -0.0107086292, -0.0147679755, -0.0237898529, 0.0130708693, 0.0046252543, -0.0071052448, -0.0122259194, 0.043186143, -0.0470379032, -0.0493310578, -0.0804952532, -0.0070310947, -0.032185372, -0.0256440602, -0.009158697, 0.003830679, 0.0144394375, -0.0336484164, -0.0283583291, 0.0283018406, 0.0010996823, 0.0138343824, 0.0077251811, 0.0399880409, 0.0041515054, -0.0222420506, -0.010942311, 0.0344242156, 0.0397838242, 0.0274168011, -0.0329882726, -0.0395737626, 0.0241401121, 0.0010598784, 0.0140844705, -0.0551827662, -0.011377573, 0.0098312926, -0.0433801748, 0.0468312465, 0.0795447007, 0.0193624627, -0.0019361944, 0.0044590556, 0.0064652362, -0.0139113888, 0.0271100178, -0.0047798264, -0.0444698259, -0.0396377295, 0.0309086852, -0.0401470214, 0.0475311726, -0.0305382498, 0.0393356271, -0.0487396158, -0.0002894254, -0.000291101, -0.037144918, -0.0242221002, -0.0096941134, 0.0003615874, 0.008601672, -0.0674830824, -0.0489169881, 0.0307210721, -0.0496524237, -0.0389026403, 0.011012841, 0.0050456352, -0.0455530249, 0.0797882751, 0.0163518582, 0.0093609458, -0.0353650339, -0.0111457668, -0.0461492762, -0.0021260448, -0.0200824477, 0.0046994253, 0.0577716529, -0.0479586832, 0.0364828706, -0.0625166148, -0.0407568701, -0.0084799593, 0.0174080785, -0.0163411032, 0.002719915, -0.0211262479, -0.0206212997, 0.0166671723, 0.0458287187, 0.0233632773, 0.0659945309, -0.0042553046, 0.0024743499, -0.0290339813, 0.033819586, 0.0682271495, 0.0158588123, -0.025100423, -0.030587228, 0.0258633047, 0.0486878194, 0.0139697669, -0.0093616918, -0.0502403826, 0.054426942, 0.0174628403, 0.0372672006, 0.006604583, -0.0000672939, 0.0614432879, -0.0922208354, -0.0129455319, 0.0540746301, -0.0041390434, -0.0821802542, -0.0480441153, 0.0215213783, 0.0293011256, 0.0421127565, -0.0012694746, -0.0927382261, -0.0370006412, -0.0048544668, -0.0432754233, 0.0380848795, 0.0094107632, -0.0455059931, -0.0795805082, 0.0637450367, 0.0079677533, -0.0502889194, -0.0451589078, 0.0100831343, 0.0066778022, 0.0075389054, -0.0009848143, 0.0335902572, -0.0139925191, -0.0095132608, -0.0181806013, 0.033549834, -0.0184058156, 0.0112103838, -0.003427258, -0.0084272828, 0.0261950716, 0.0157261472, 0.0181872714, -0.0455699265, 0.0738946795, -0.0224040467, 0.0065933485, -0.0180420894, 0.060216248, -0.021721974, -0.0352621339, 0.0016978953, 0.0348738283, -0.0079079773, -0.0227755811, -0.0122426078, 0.0136818998, -0.0151609024, -0.0035622816, -0.0235080235, -0.0053357338, -0.0037197657, 0.0353250764, 0.0362951197, -0.0298238434, -0.0641550571, -0.0148153501, -0.0320904776, -0.0751895458, 0.0044883299, -0.0021260539, 0.0341835469, -0.0038391659, -0.0387764014, -0.0280636139, 0.0468060598, 0.058828067, -0.0356748998, -0.0098153045, -0.0395806357, 0.0128521016, -0.0820157975, 0.0354609713, -0.007025755, 0.0477538556, -0.0593266748, 0.0192831568, 0.0403817892, -0.0402900502, -0.0074746795, 0.0518764183, -0.1150180176, -0.0335414, -0.022050688, 0.0665457472, 0.0173492488, 0.0798880756, 0.0090076057, -0.0293586142, 0.0505351089, 0.0149060842, 0.014730176, 0.0512551032, 0.0015163105, 0.0190629754, 0.0009443521, 0.0471349023, -0.0438400991, 0.0112774828, 0.03154606, 0.0221422743, -0.0059789903, -0.0392715298, -0.0001229804, -0.0416769199, -0.0147920121, -0.015036691, 0.0394142084, -0.0259449612, 0.0314638093, -0.0234571174, 0.0091022821, -0.0907654688, 0.0006004898, 0.0255662408, 0.004064545, 0.0204084925, 0.0190948956, 0.0251004323, 0.0221056882, -0.0347631238, 0.0288716573, 0.0031690749, -0.0268764198, 0.0439518206, 0.0268117599, -0.0277218148, 0.006423709, -0.0434340537, 0.0313699096, -0.0017976061, 0.0741096362, 0.0291796364, -0.0313148946, -0.0152801909, 0.0540204905, -0.0431972742, -0.0325668231, -0.0600677207, 0.0542396829, 0.0314552225, 0.0273628887, 0.0359989777, -0.0062995832, -0.0352197438, -0.0225393642, 0.0616160221, 0.0095409239, -0.0679181144, 0.0581323244, 0.0266802553, 0.0056404024, 0.0043762494, 0.0660827756, 0.0132963862, 0.0291768108, 0.0278446395, 0.046157416, -0.0377073549, -0.0358516909, 0.0121063674, -0.0104510579, 0.0166315902, 0.0474960133, 0.0032651161, -0.0606953464, 0.0072624073, 0.0273384675, -0.0289615169, 0.0078991242, 0.038037207, 0.0503224917, 0.0251564197, -0.0294888355, -0.0035306143, -0.025458945, 0.0124895573, -0.0083334409, -0.0070311315, -5.723973865e-33, -0.0563033447, -0.0278902985, 0.0636088997, 0.0113242734, -0.062387567, 0.0110466108, -0.0362289324, 0.0046140146, -0.0067547043, 0.0080997488, 0.0191026274, 0.0008399796, 0.0062936987, 0.0692266002, -0.0184501205, 0.0177798979, 0.0397433564, 0.0091067106, 0.0081780255, 0.01984879, 0.0045317956, 0.025231922, 0.0344394036, -0.0435599051, -0.0414360687, 0.0127266068, -0.0121308398, 0.0308181308, -0.0084564192, 0.0774779767, -0.03392528, 0.0074048345, 0.0171256009, -0.0352543108, -0.0233189724, 0.0264101848, -0.0809893161, 0.0145323658, 0.0061815432, 0.0461019091, -0.078469336, -0.0168089438, 0.0436870083, -0.0310040861, 0.0119110551, -0.0643946752, 0.0392015502, -0.0149556044, -0.0201390274, 0.0030169217, -0.0527533852, -0.0030001232, 0.0163750127, -0.0274533834, 0.0407939553, 0.009538997, 0.0005948546, 0.0311408322, -0.0563084893, -0.0129374061, -0.024281472, 0.040565744, 0.0713115931, 0.0468014665, 0.0147206169, 0.0266073104, 0.010864011, -0.0104547068, -0.0107888579, -0.0157918055, 0.015627142, 0.0587138608, 0.0231489353, 0.07240922, 0.0084001347, 0.0254970398, -0.0142247286, -0.0158583894, -0.0267050024, 0.0683742315, 0.0132251885, 0.0219545811, 0.0226139836, 0.0125945639, -0.0277881529, -0.019233264, -0.0399122052, -0.008088259, 0.0645410866, 0.0510464124, 0.0332241505, 0.0135033978, 0.0844154209, -0.0191194639, -0.0114732319, 0.0236609764, -0.0346060917, 0.0656396225, 0.0100681204, 0.0374392532, -0.0229776874, -0.0123387491, 0.0408169553, 0.0313898847, -0.01383767, -0.0082849069, 0.0466332696, 0.0365043432, -0.0496808179, -0.0176567156, -0.0520108566, 0.0393954813, 0.0062384279, 0.0549492054, 0.0324062407, -0.0233950093, -0.0676252618, 0.0459277406, -0.0466386899, -0.0085904021, -0.0006983622, -0.0659426078, -0.0157972593, 0.0137743624, -0.0322012231, 0.0161064453, -0.0316541418, -0.0029143582, 0.0165215153, -0.0553586222, 0.0039249603, 0.0552404076, 2.521e-7, -0.0114035094, -0.0024920355, 0.0262281578, 0.004159092, 0.0270572379, 0.0141690662, -0.0183630046, 0.0367102437, -0.010220089, -0.0180159155, -0.009329455, 0.0625456125, 0.0387465172, -0.0269042142, -0.0478928089, 0.032947097, -0.0481852852, -0.0097559635, -0.0526232086, -0.0133284871, 0.0544963777, 0.0907901302, -0.0418013521, -0.0259758588, 0.053033933, -0.0559125729, 0.0741696954, -0.0153795509, -0.0041785524, -0.0167684574, -0.0274773575, 0.0224604122, -0.0245477427, 0.0040546418, 0.0207551531, -0.0276974626, 0.0329876952, 0.0730854347, -0.0228953697, -0.0312834606, 0.0264727287, 0.0207737032, -0.0173873547, -0.0642907619, 0.0725935474, -0.0433361828, -0.0053767366, -0.0486041307, -0.030396644, -0.0279621426, -0.0068345317, -0.0190327, 0.0064547397, 0.0087873349, 0.0504304245, -0.0243004486, -0.0188280642, -0.107261546, -0.0325134434, -0.0251534283, -0.04862158, 0.0116020255, -0.0887511224, 0.002292135, 0.0393856242, -0.0146718165, -0.0493602604, 2.152927546e-34, 0.0222714357, -0.0175781399, 0.0129754655, 0.0176073425, 0.0027558026, 0.0237605646, -0.0154368104, 0.0246575717, -0.0085801333, -0.0854877383, -0.0272026975 ]
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.0540515259, 0.0398494452, 0.005150272, 0.0716198981, -0.0392637476, 0.0160103869, -0.0228760689, -0.0127637992, 0.023639204, -0.0389370844, -0.0033333709, 0.0053168717, -0.0207908954, 0.0963151604, 0.0016690926, -0.0927372798, 0.0283659771, -0.0467199013, 0.0302192029, -0.0124920905, -0.0003019635, 0.0001728228, -0.0213079266, 0.0357053056, -0.0295457076, -0.0257111844, -0.0443119258, 0.0308292508, 0.0186019, -0.045094043, -0.0380364805, 0.0463032871, 0.0214408673, 0.0048978883, 0.0000020197, -0.0174842011, 0.0086403145, -0.0051935031, 0.007323761, -0.0431841835, 0.039698638, -0.0083582969, 0.0318680368, -0.02237623, -0.0468897037, -0.0179168005, 0.0987564251, 0.0965991467, 0.0296590943, 0.0228327215, -0.0174948387, -0.0469971374, 0.0043041576, 0.0102165053, 0.085666582, 0.0038450484, -0.0093665272, 0.0263670329, 0.0442256555, -0.0061395951, -0.0433836877, 0.0605796911, 0.0497209318, -0.0163494386, 0.0439805351, 0.0484091751, -0.0799787417, -0.0564585775, -0.0248553324, 0.0756223053, -0.0456344225, -0.0313611589, -0.0107376128, 0.0085875345, 0.0113013769, -0.0303070974, -0.0508778691, 0.0265855398, -0.0223421231, -0.0169444345, -0.0395458974, 0.0176355354, 0.0042547984, -0.0058541121, 0.0182326622, 0.000362488, 0.0082901744, 0.00992411, -0.0194306485, 0.0172359105, -0.0722886771, -0.0670056939, -0.0185651239, 0.0071399533, -0.008197614, -0.0021927846, -0.0525832362, 0.0526377484, -0.0126959635, -0.0082575334, 0.0302448682, -0.0182812605, -0.0768210664, 0.0636880323, -0.0095573394, 0.0087849768, -0.0237808749, 0.0741590112, -0.0738355815, 0.0007535497, -0.0487615131, 0.0012661215, -0.0853247717, 0.0064832242, -0.0404518843, -0.0728602707, 0.0155086443, 0.0259833839, 0.0069572651, 0.006759211, 0.0010923896, 0.0660918504, 0.0079482831, -0.0105876103, -0.0097691575, -0.0024935675, -0.0181782283, -0.0108337821, 0.0113540562, -0.0681566522, -0.0114614237, 0.0178703908, 0.0122944647, -0.0149134342, -0.017129939, 0.0654093027, -0.0144601753, -0.0431194939, -0.0104091642, -0.0288793985, -0.0228864197, -0.0197187643, 0.0573404394, -0.0514515303, 0.018034732, -0.0271271095, 0.011821257, 0.0031882168, 0.0454007983, 0.0182683114, -0.0337582566, 0.1048482731, -0.0340811163, -0.0095952908, 0.0057808552, 0.0214608889, -0.0225381479, 0.0427852198, 0.0215021539, 0.0596836619, 0.0197309572, 0.0146382069, 0.0463298038, 0.0101165976, -0.0325377621, 0.0050040609, -0.0771194547, 0.0039494028, -0.0078163398, 0.0147621175, 0.0009266242, 0.0374454334, -0.0197417904, 0.0018764517, 0.0753830597, 0.0641362146, -0.010198243, -0.0024086935, 0.0013003621, 0.0132559268, -0.0070076445, -0.0147159956, -0.0534144454, 0.0932892337, -0.0199282691, -0.0148567632, -0.0372651778, -0.0164183863, -0.0294455681, -0.0439861156, -0.0108280582, -0.0030854512, 0.0423802882, 0.0195445083, 0.0165770613, 0.0320022963, -0.0259875432, -0.0010926063, -0.0261056498, -0.0189480651, -0.0184317809, -0.0297822505, 0.0379978009, 0.0827023983, 0.0234558005, 0.0112030217, -0.0149925482, -0.0052755307, 0.0581594072, 0.0400500856, 0.0101333102, -0.0019324851, 0.0159728788, -0.0333694629, -0.0254794173, -0.0156614557, 0.0045592664, -0.0036718056, 0.0049770391, -0.0145877451, 0.0021375462, -0.0285919905, -0.0242813528, 0.0334735885, 0.0826362967, -0.0025794415, -0.0171177089, 0.007034854, -0.0159638803, 0.0000690773, -0.003289972, 0.0174597092, 0.0280636139, -0.0520713776, -0.0009624937, 0.0443794727, -0.0193757676, -0.0124779707, 0.0067294613, -0.0483535752, -0.0191816501, -0.0052668806, -0.0294710528, -0.0121534765, 0.0094414838, -0.0633530021, 0.0120564373, -0.0555853546, -0.0188713502, 0.0227277558, 0.0156114744, -0.0280384012, 0.0720966607, -0.041287031, -0.0310775302, -0.0377477966, 0.0193791147, 0.006059797, -0.0478373393, -0.0012991256, -0.0100955209, 0.0072351377, 0.0142515674, 0.0153141674, 0.0286255348, -0.0498843603, -0.0056095356, -0.0886622891, -0.0457439013, -0.0075406125, -0.0493909866, 0.0032428862, -0.0079703508, -0.0085754059, -0.0377047211, -0.0478983484, 0.0722868145, -0.0088840788, 0.0083603533, 0.0212768018, -0.0183150917, -0.0215586163, 0.0069601885, 0.0004502725, 0.0145542892, 0.0574002266, 0.0354233831, -0.085907653, -0.0171236917, -0.0220203158, -0.0321571603, 0.0238636974, 0.0171358306, -0.0012135698, 0.014256971, -0.0435883924, 0.0038385165, 0.0898002237, 0.0118115824, -0.0020765846, 0.0361715928, -0.0151749132, -0.035315372, -0.0014193483, 0.0062585846, -0.0324047953, 0.0107990913, -0.001773179, 0.0084812781, 0.0262660887, -0.0207160749, 0.0386676341, -0.0735893548, 0.0599317066, 0.0072353822, -0.0818113536, -0.040619608, 0.0167832002, 0.0152096609, 0.0455807187, -0.043935366, -0.0551564582, 0.0455072224, -0.0342923999, -0.0316801853, 0.0181115028, 0.0042783907, -0.0057318872, 0.093577899, 0.0475797169, 0.0426687188, 0.0350294225, 0.0200190712, -0.0386392735, 0.0036187533, -0.0329113416, -0.0047601815, 0.0252705235, -0.0676595643, 0.0052744001, 0.0015073337, -0.0145302238, -0.0521722026, 0.0149917491, -0.0352313183, -0.0107686296, -0.0762433857, -0.0022368745, -0.0510631278, 0.0286373645, 0.011231021, 0.0122553008, -0.0000741144, -0.0286189299, -0.0110361222, 0.0354446247, 0.106466651, -0.0014718713, -0.007552431, -0.0265643895, 0.012061256, 0.0835357904, -0.0315930322, 0.0059427968, -0.0458997935, 0.0609045103, 0.0237470046, 0.0398894362, 0.0098619256, 0.0202171411, 0.0586445592, -0.0288255122, -0.0371088237, 0.0755617768, 0.0308857635, -0.084367387, 0.0058061602, -0.0278374031, 0.0330253914, 0.0428235196, 0.0162471086, -0.1138992757, -0.0271298997, -0.0250258446, -0.01815442, 0.0043419357, -0.0242072958, -0.0360676534, -0.074614428, 0.0778665468, 0.0155604174, -0.0437141247, -0.0107131619, 0.0418523252, -0.0364534892, 0.0060237921, -0.0350349471, -0.0280381963, -0.000079744, 0.000272962, -0.0030839902, 0.0500873551, 0.0095988102, 0.0319872238, -0.0279339552, 0.0186233539, 0.083762385, -0.004789826, 0.0114072105, -0.0735822916, -0.0015474739, 0.0212237518, 0.0084155947, -0.0077912295, 0.0108192256, -0.0221171603, -0.0310813282, 0.0120472386, 0.0456990749, -0.0310982373, -0.0512517244, 0.0252326373, 0.0418074057, -0.0331628583, -0.0208765734, -0.0669227317, 0.0069212182, 0.0142478738, 0.0573542453, 0.0372537822, -0.0161142554, -0.0189136602, -0.0255277064, -0.0129118953, -0.0021473728, -0.0464411676, 0.0330228359, 0.0195841212, -0.0367923975, -0.0704217479, -0.0102613578, 0.0552688874, 0.0497681722, -0.0180929732, -0.0296742488, -0.0145379752, 0.0313345455, -0.0846232325, 0.0520656444, -0.043240428, -0.0134556564, -0.0343344472, -0.0108551336, -0.0032362055, -0.0278774537, -0.004640752, 0.0577647761, -0.0735250413, -0.034828905, 0.0219776966, 0.0806871131, 0.0233531054, 0.0450509414, -0.0122918244, -0.0555751435, 0.0241865683, 0.0479051769, 0.0333266407, 0.0145868463, -0.0167068243, 0.0156624261, 0.0092056515, 0.0132290851, -0.0560725033, 0.0660858452, -0.0113029899, 0.0126318075, -0.0127162449, -0.0194897708, 0.01805388, 0.0083250143, 0.0204365849, -0.0109927095, 0.010108727, -0.0048149745, 0.01547335, 0.0000681104, -0.0150149092, -0.08554627, 0.0155888582, 0.0222649388, 0.0074105235, 0.0249855537, -0.0345901363, -0.0109057417, 0.0188459288, -0.0265249256, -0.0380089581, 0.0595279336, -0.0294926371, 0.0127885742, 0.0161458235, -0.0109125413, 0.0337569416, -0.0393602736, 0.0493489839, 0.0196958464, 0.0787464231, 0.0120662646, -0.0470332392, -0.0505319163, 0.0843237415, -0.0377687663, -0.0869867355, -0.0151180327, 0.0473737419, 0.021167865, 0.0139359087, -0.0006472212, -0.0403583162, -0.0019019666, -0.0206155032, 0.0279471427, 0.0445608012, -0.0740443543, 0.0489491634, 0.0352103412, -0.0040845214, -0.0394938439, 0.0332507193, -0.0060535148, 0.009384837, 0.0226550791, -0.0015028862, -0.0352851488, -0.0220981594, -0.0169235989, 0.0035576324, 0.0084527098, 0.0395131186, -0.0296376944, -0.0384305343, 0.0193882659, 0.0160960834, 0.0244129673, 0.0323771723, 0.0621522404, 0.0386371091, 0.0138204535, -0.0521540083, 0.0154062631, -0.0131741138, 0.0069668354, -0.0189490356, -0.0078840293, -5.931545229e-33, -0.0239716619, -0.0444372706, 0.0348653384, -0.000247517, 0.0063239946, 0.013016304, -0.0353536941, 0.0134675773, 0.006245736, 0.0179604031, 0.0200193003, 0.0013465189, 0.020588832, 0.0422480367, 0.0137089081, -0.0327946357, 0.0226462055, 0.0224318337, -0.009394248, 0.0039265677, 0.0018827381, 0.0141156912, 0.0278918277, -0.0514704809, -0.0008378096, -0.005722295, -0.0163741689, 0.0403418839, 0.0105256168, 0.0430586152, -0.0615556762, 0.0249117594, 0.0099516949, 0.0370597988, -0.0397156477, 0.0309137367, -0.0553580783, -0.0112889037, 0.0127892299, 0.0359224007, -0.0710942596, -0.0092485752, 0.0079354756, -0.0196129903, 0.0276181269, -0.0295338128, 0.0396948121, -0.0315280221, -0.019168688, 0.0348430574, -0.0301008001, -0.009881625, 0.0054956563, -0.032837417, 0.0633270517, 0.0338922441, 0.0068206438, -0.0038083622, -0.0327432267, 0.051363416, -0.0240666829, -0.0124570364, 0.0798805133, 0.0223365221, 0.0143547906, 0.0731931031, 0.0469155535, -0.0191996302, -0.0394689478, -0.0050831069, 0.0090145404, 0.07101354, 0.0629342794, 0.0162842032, 0.0288834088, 0.057586953, -0.0258755535, -0.0144765656, -0.0745511428, 0.0537488014, 0.0105015654, 0.0061416575, -0.0110008484, 0.0037538128, -0.0056726336, -0.0110603236, -0.0506034419, -0.0276611485, 0.0472077131, 0.0210166015, -0.035561271, -0.0025139551, 0.0412732251, -0.0284486748, 0.0343454555, -0.0247790981, 0.0261402447, 0.0452503487, -0.0023249306, 0.0211810861, -0.0195122678, -0.0168583263, 0.0819827467, 0.0060274401, 0.0033621283, 0.0370663069, 0.0512918793, 0.0085112127, -0.0116595021, -0.0089895185, -0.0588712431, 0.0068631717, -0.0112658972, 0.0181724727, 0.0362378806, 0.0174988937, -0.0551989712, 0.0083349803, -0.0436973087, -0.009424095, -0.0160679556, 0.01146618, -0.0080392975, 0.015270941, -0.0274498612, -0.0061842087, -0.05434772, -0.0345857814, 0.0306195728, -0.0623901486, -0.0076828413, 0.0256863963, 2.758e-7, -0.0005971336, 0.0280551706, 0.0526865423, 0.0184924342, -0.0114665935, 0.0158639196, 0.0207192637, 0.0617489479, -0.0113627193, -0.0525947362, -0.0015548718, 0.0565245897, 0.0181436408, 0.0160140675, -0.0756453052, -0.0061166189, -0.0501833223, 0.0095397737, -0.0618270151, -0.0147036687, 0.0703836307, 0.0628459007, 0.0104804393, -0.0082823727, 0.0489901192, -0.0565456524, 0.056275662, -0.0422606841, 0.0077112801, -0.0381397307, 0.0200596824, 0.0395134985, -0.0047894944, 0.0230102669, -0.0069014081, -0.0616548285, 0.0355154052, 0.0096595865, -0.0495796949, -0.0396035127, -0.0286534522, 0.033215452, 0.0042945431, -0.0564037003, 0.0708106458, -0.0780595243, -0.0234001763, 0.0301364008, 0.0029292481, -0.0262868181, 0.0185400061, -0.0209039208, -0.0016559773, 0.0133272503, 0.0234183501, 0.0029105381, -0.0099280169, -0.0741011649, -0.025534749, -0.03147709, 0.0065028947, -0.0080756797, -0.0608943142, 0.0184841659, -0.0142816538, -0.0111991754, -0.0526589081, 2.441083456e-34, 0.025209913, 0.032621108, 0.0180954468, 0.0121743307, 0.0237034839, 0.0053081512, 0.0510424301, 0.0080286851, 0.0062270588, -0.0649256855, -0.0245048702 ]
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.0649661273, 0.0338475332, -0.0540144816, 0.0087459534, -0.0400561281, -0.0021647741, -0.0048528048, 0.0066210022, -0.0102506056, -0.0183563158, 0.0120510403, -0.0029234814, -0.0020903146, 0.0745109469, 0.0170716904, -0.0388549231, 0.0191522092, -0.0142693473, 0.0507830903, 0.0054003964, -0.028548168, 0.0065038363, -0.0199269745, 0.0691423863, -0.0345547199, -0.0114232777, -0.0576637536, -0.0331342742, 0.0293212309, -0.0313872509, 0.0139306849, 0.0127853714, 0.0763963237, 0.0502479188, 0.0000019655, -0.0336482786, 0.0420095325, -0.0403602943, -0.0538700111, -0.0351164639, 0.0285064317, 0.0002952204, -0.0144998059, -0.0181258619, -0.0766712353, -0.0185015406, 0.0693189725, 0.0165845212, 0.0095795859, 0.0477535352, -0.0019665845, -0.0338006765, 0.0249960832, -0.0113714524, -0.038400948, -0.0395596214, 0.0447913781, -0.0594888888, 0.0160616226, -0.031939555, -0.0361884087, 0.0080967657, 0.0319412686, -0.0117871435, -0.0138736684, 0.043557696, 0.0376266837, -0.0522478037, -0.0574814565, 0.0871666372, -0.0071605309, -0.0087586669, 0.0252546277, -0.0391367674, 0.0187429078, -0.0194821525, -0.017967483, 0.0300778523, 0.021055514, 0.0141957207, 0.0198972132, 0.0126165487, 0.0320896693, 0.0024864092, -0.0165853295, 0.0737252831, -0.0381009281, -0.0176528804, -0.0052824039, -0.0107367272, 0.0284420233, -0.0643829629, -0.0043135667, 0.0294753835, -0.046407517, 0.0134702902, -0.0242950059, -0.023261629, 0.0063126697, -0.0342697352, 0.0363018028, -0.0135912141, 0.0131372195, 0.002340374, 0.0206630211, 0.0244293418, -0.042893406, -0.0055111707, 0.0075842142, 0.007521993, -0.0733410642, -0.0383118615, -0.0222781301, 0.0472088382, -0.0120220073, -0.0229671709, -0.0308246948, 0.0461437292, -0.0372524112, 0.0017589355, -0.0641011372, 0.0279062539, -0.0448411927, -0.012598508, -0.0482547767, 0.0294586923, -0.0432791747, 0.0277208984, 0.038580168, -0.0574975647, 0.008566563, 0.0115832482, -0.006699854, 0.0232275277, -0.0257070865, 0.0563239045, -0.0231494159, -0.000162504, 0.013470565, -0.0274660438, -0.0092287669, -0.0398385972, 0.0154545857, -0.0384860672, 0.0232080501, -0.0319655277, -0.0091953501, -0.0390540399, -0.0017956013, -0.0135926977, -0.0114198159, 0.0622666478, -0.0317049101, 0.0085265255, 0.0275843013, 0.008286166, 0.052728422, 0.0584016852, 0.064297393, 0.0160315651, -0.0077959467, 0.0051464615, 0.0152620999, 0.0034869146, 0.0098509826, -0.0328279249, 0.0325456932, -0.0434872396, -0.0480217487, 0.0553174131, -0.0219734591, 0.0271951705, -0.0356086344, -0.0028954488, 0.0125181898, 0.087192297, 0.02227851, 0.0381213352, 0.0717565939, 0.0527889244, -0.0446736999, 0.0230996311, 0.0115097724, 0.0207624137, 0.0069187074, -0.0154331317, 0.0065597547, 0.0147729516, -0.0408907011, -0.053378135, 0.0336377583, -0.0253807567, 0.042413801, 0.0019513856, 0.0494819246, 0.0236254185, -0.0227231365, -0.0421188623, 0.0506989621, -0.0123196794, 0.0015479765, -0.0724243149, 0.020792136, 0.0477621406, 0.0235014744, -0.0129326656, 0.0152183417, -0.0047886441, -0.0179121643, 0.0677117854, -0.0119845308, -0.0215352271, 0.0051602339, -0.0438559055, -0.009353661, -0.0088946894, -0.0085397279, 0.0396147706, -0.0464220159, 0.0196835287, -0.0333939977, 0.0657086968, -0.0394290909, 0.0075200889, -0.0149013344, -0.0103728632, 0.0263031553, 0.0156695489, 0.055141896, 0.0374537185, -0.0264806971, 0.0107042668, 0.0269205533, -0.0018570608, -0.0645513684, 0.0575873442, -0.031105509, -0.0074423598, -0.0114149284, -0.0788327679, -0.0174149014, 0.0151792308, -0.0054860464, -0.021282278, 0.083997488, -0.0399181359, 0.0259882025, -0.010073618, -0.0162335094, -0.0097908406, 0.0464557335, -0.0125044165, 0.0523735583, 0.0301360432, -0.0416200086, -0.013228246, 0.0350401588, 0.0000694191, -0.0352996103, 0.019152198, 0.0047502164, -0.0302038025, 0.0149461636, 0.0690152794, 0.0262688696, -0.0299864896, -0.0254906975, -0.0337464362, -0.0341751538, -0.009786264, -0.0127057424, -0.0227968656, -0.0217565987, 0.0113054989, -0.0181303825, -0.0399456881, 0.0928520262, 0.04676852, 0.0035878513, 0.0439770669, 0.0167217776, -0.0180695746, -0.0326354615, 0.0010477322, -0.0203198772, 0.05618966, 0.0573697463, -0.0255135819, -0.0588732697, -0.0105482573, -0.0225460753, 0.0311573129, -0.0285969228, -0.0320728645, 0.0557972342, 0.015451083, 0.0475702062, 0.0519259274, 0.0165514015, 0.119073227, 0.0241185129, -0.0107818414, -0.0370752588, 0.0203441978, -0.0765587091, -0.0226431545, -0.0879490077, -0.0180040505, 0.031226797, 0.0490550324, 0.0141997999, -0.001339037, -0.0564160869, 0.0277519859, 0.0141806863, -0.1114993319, 0.0023614047, -0.0361036472, -0.0343683586, 0.0754746795, 0.0147193978, -0.0057073412, 0.1030645296, 0.0590053685, -0.002053844, -0.0374899879, -0.0522660017, 0.0039972905, 0.048079662, -0.0134470221, 0.0025894793, 0.0548795387, -0.0594738722, -0.0302213058, -0.0394698791, -0.0190206245, 0.0040326957, -0.0023144626, -0.0450213514, 0.0010716304, 0.0249214247, -0.0335317813, -0.0530991405, -0.0012542573, -0.0322677456, 0.0302173477, 0.0122326864, -0.0376865976, -0.0419927835, -0.0280733965, 0.0155601194, -0.0078053912, 0.037734665, -0.0161988605, -0.0716317073, -0.0091318255, 0.0503118001, 0.0584642924, 0.0092916479, -0.0376737975, 0.0222677421, 0.0255772695, 0.0014924353, 0.0057626753, -0.0246985052, 0.0125031741, -0.000386137, -0.0065508457, 0.0235616509, 0.0518079773, -0.0213851221, -0.0414573513, -0.0074145165, 0.0376685336, 0.00886181, -0.0134577863, 0.0133657353, -0.0139158433, 0.0209040977, -0.0204636101, 0.0091159921, -0.0983346105, -0.0006877861, -0.0159608629, -0.0163798034, -0.0209515188, -0.012509739, 0.0221793, -0.0697496831, 0.0367982835, -0.0201364141, -0.0503877476, -0.0376068205, 0.0065549123, -0.0358292982, 0.0138786053, 0.0034224067, -0.0478218421, 0.0237157736, -0.0180385467, 0.0345404185, -0.0191670936, -0.051064942, -0.0104414802, -0.0767753795, 0.0986959115, 0.0793543682, 0.0448083095, -0.0256527122, -0.0262662377, -0.0593041405, 0.0043363259, 0.001430614, -0.0127755599, 0.0048964429, -0.0022499936, -0.0247797482, -0.0321637839, -0.0091782706, -0.018301893, 0.006615309, 0.0202196985, 0.0782376006, -0.048355978, -0.0749904215, -0.0147364261, 0.030836327, 0.0524825826, 0.01873569, 0.0112498514, -0.0688815713, -0.0615967624, -0.0217562802, 0.0038381661, -0.0198242888, -0.0738255233, -0.0076527554, 0.0410104245, -0.0160233472, -0.0622896925, -0.0469781347, -0.0071839136, -0.0062087746, 0.0374384485, 0.0118377768, 0.0740452111, 0.0078918897, -0.0261273105, -0.0152493119, 0.0066192299, -0.0191448815, -0.0328610577, -0.0397487879, 0.0271671992, -0.0340671167, -0.0063332384, 0.0257248469, -0.0368387923, -0.0665863976, 0.0004677031, 0.0154403532, 0.0086796097, 0.0183469448, 0.0039929524, -0.0781214163, 0.0779818818, 0.0594952554, 0.0098111406, 0.0057627424, 0.0306368619, 0.0119570056, -0.0165694989, 0.0468648374, -0.0158744752, 0.0245310031, -0.0079366993, 0.0028491186, -0.0534782708, -0.052534841, -0.0035912457, -0.0301863682, 0.0066526518, 0.0024451709, -0.0660682693, -0.0305545311, -0.0218214113, 0.0167103428, -0.0031661536, -0.0339815095, 0.0052201813, -0.0222894792, 0.0313068405, 0.0553942584, 0.0015192598, 0.0091629094, 0.0148945404, 0.0197339356, 0.0263412017, 0.0538395755, 0.0733469203, -0.0143573377, 0.0382109992, 0.0380831771, 0.0644390211, -0.0223311279, 0.0245213602, 0.0202538967, 0.0155138448, 0.0492022522, -0.0295246728, 0.0350026302, 0.0295133404, -0.0379893668, -0.0440817289, 0.0473587252, 0.0293847099, 0.0379866883, 0.0671628788, 0.0160454325, -0.0797330067, 0.02662687, 0.0040080245, 0.0294108335, -0.0340081006, -0.0260257367, 0.0267740712, 0.0017629495, -0.0349010564, 0.0272097588, 0.0244478118, 0.0080112237, 0.0162196755, -0.0207402054, 0.0424022228, -0.0328589045, -0.0138518931, 0.0093574645, 0.0282412861, -0.030488003, 0.0775960013, -0.0088926312, -0.0223645009, 0.014425382, 0.0605813712, 0.029914299, -0.0323585197, 0.0738421008, 0.0540594682, -0.0264324881, -0.0353119485, -0.0268140938, 0.017779896, -0.0270010363, -0.0294452012, 0.0021732037, -6.185665067e-33, -0.0176745038, -0.0646469668, 0.0440518782, 0.0399001725, -0.0135569768, -0.0272021983, -0.0289688129, 0.0245183259, -0.0095141875, 0.0657359585, 0.0055608596, 0.0253519863, 0.0096407225, 0.0043955226, 0.0084235575, -0.0299877301, 0.0289397202, -0.04058538, 0.0330974758, 0.0614740327, 0.0323310085, 0.0136890188, 0.0410877503, -0.0652291626, 0.0251531973, 0.0140423039, -0.000923939, 0.0256793313, -0.029244177, 0.0258563701, -0.0390527546, 0.0417469442, 0.0084487926, -0.0286615305, -0.009594922, 0.0439996086, -0.0312003996, -0.0377352573, 0.0109379552, -0.0266224984, -0.0914905444, -0.017906094, 0.0403768308, -0.0061907461, -0.0316059776, 0.0243079141, 0.0550505444, -0.002587911, 0.0081292354, -0.0017560297, -0.076085791, -0.0254439898, -0.0439176559, -0.0163639374, 0.0562763177, 0.0097104441, -0.0244044643, -0.0229659062, -0.0712329745, 0.0832159445, 0.021137761, -0.012991244, 0.0321524031, 0.0431843363, 0.0108016124, 0.0438545644, 0.0407711975, -0.0046304353, -0.0333763026, -0.007632398, 0.0384343043, 0.048801776, 0.0263526104, 0.0530703478, -0.043828398, 0.0049854666, -0.0711222291, -0.0385142677, 0.0538989268, -0.0137302047, 0.0258346554, -0.010223846, -0.0317936204, -0.0231989101, -0.0125840371, 0.0098090628, -0.002242832, -0.0230460502, -0.010301332, -0.0034057889, -0.0036462285, 0.0250551384, 0.0148203708, -0.0670955032, -0.017327331, -0.0216611866, 0.0157320984, 0.0324483886, 0.0340658017, -0.0001634858, -0.0777391121, -0.0402160138, -0.0108133545, 0.031996686, 0.0452759452, 0.0143103609, -0.0326326229, 0.023104392, 0.0047937213, 0.016934298, 0.0221476145, 0.015099572, 0.0287522841, -0.05534444, -0.0175493807, 0.0094006108, -0.022938909, 0.0227370895, 0.0241369102, -0.0090078237, -0.001232133, 0.0181266256, -0.0368564762, 0.0587545224, -0.0524735525, 0.006006395, -0.0787818432, 0.0501686074, 0.0465064012, -0.0334332436, -0.0216562785, -0.0023713107, 2.697e-7, -0.0606724434, 0.03667612, 0.0502418801, -0.0023622161, 0.0410612226, 0.0533005185, -0.0204577744, 0.0465563387, -0.0013962501, -0.0152019253, 0.020534249, 0.0363533832, 0.0111396741, -0.0275404043, -0.0756995976, 0.0176998246, -0.0817338824, -0.0104541313, -0.0553501099, 0.0009869589, 0.0393684432, 0.0539004765, 0.0269970112, -0.0201272145, 0.0171754565, 0.0328489691, 0.0147915622, -0.0101422416, 0.0187235679, 0.0257256199, -0.015883619, -0.0200598575, -0.0211807992, 0.0077957502, 0.0138866734, 0.0282760281, -0.0147607774, -0.0227836221, -0.0150928535, -0.0379015207, -0.0036009499, 0.0263317991, 0.0066653313, -0.0275300834, 0.0121442489, -0.1383817345, -0.060769476, -0.0023483476, 0.0554220155, -0.0180610977, 0.0019203039, -0.0043362328, -0.0147409029, -0.0299037918, 0.0232009869, 0.0170224439, 0.0347445682, -0.075752832, 0.0689537227, 0.0093171196, -0.036669977, -0.026435433, -0.0305022281, -0.0090412479, 0.0305515192, -0.0054582097, 0.0235055592, 1.768514835e-34, 0.0183321498, 0.0291363262, -0.0046265065, 0.0164672639, 0.007200337, 0.0216599256, -0.0226898082, 0.0086123245, 0.0667183399, -0.0596520714, -0.0270610899 ]
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.0116316499, 0.0551613756, -0.0170980468, 0.018726388, -0.0213168301, 0.012303899, -0.0213479642, 0.0106584318, 0.0335565321, -0.0234533213, -0.0395124592, -0.0495979041, 0.0068587977, -0.0002219337, 0.0550921932, 0.0163551159, 0.0452640913, -0.0544104725, -0.0065442561, -0.0043200683, -0.0416893587, 0.0018827219, -0.007635762, 0.0633009151, -0.0161263067, -0.0113002937, -0.0210497454, 0.0295270979, -0.031005444, -0.0461148173, 0.0050994591, 0.0883350596, -0.0034594734, 0.0603263527, 0.0000018173, -0.0641412139, -0.0000432194, -0.0346805602, -0.014175049, -0.0154786194, 0.0112795355, 0.0258799978, 0.0222160816, 0.0230630264, -0.0319565572, 0.0161964763, 0.0226730928, 0.082843855, 0.0314307287, 0.0390856713, 0.0067596589, 0.0297992714, 0.0081521329, -0.0016392537, 0.0797076151, -0.0271290001, 0.0158263277, -0.021998046, -0.0299988668, -0.0401976183, -0.0252242014, 0.026814105, 0.0226124953, 0.0075798221, -0.0163009707, 0.0397856347, -0.0563040264, -0.0336599834, -0.01615908, 0.0331337638, 0.000041957, -0.0383857824, 0.0185836814, 0.0020325233, 0.040328823, 0.0006741693, -0.0229554754, 0.0276560187, -0.0155407311, 0.0103920549, -0.0185131449, 0.007137124, 0.0457616858, 0.0070879003, -0.0262718927, 0.0927748159, 0.0023433673, -0.0109933121, 0.037818823, 0.0157329272, 0.0180596095, -0.0815155655, 0.0249429755, 0.0297445096, -0.0574989878, 0.0162390694, -0.0604562722, 0.011459847, 0.0348128416, -0.0392115712, -0.0107502295, 0.0268498491, -0.0350104533, 0.0053761229, -0.0291499943, 0.021004336, -0.016718803, 0.0733782127, -0.0103408359, 0.0291334614, -0.0085454602, -0.0377066024, -0.044976607, 0.0383982323, -0.0033496616, -0.0332912207, -0.04678379, 0.0018605073, -0.022292139, -0.0205166396, -0.0413729697, 0.0651570559, -0.0125724468, -0.0048858617, -0.0688273534, -0.0227600411, -0.0071667535, 0.0021873277, 0.063685596, -0.0880003124, -0.0293886233, 0.0111483103, 0.0088329026, -0.0120006576, 0.0037622787, 0.0312750936, 0.0013457435, -0.0467831083, -0.051945962, -0.0751893744, -0.0072256234, -0.0449452698, 0.029174367, -0.0419843867, 0.0046478417, 0.0003957109, -0.0036598286, -0.0394543596, 0.032498274, 0.0335128978, -0.007151546, 0.0735076964, -0.0214921962, 0.0148285292, 0.0413101241, 0.0337129869, 0.0042302492, 0.0638914183, 0.0028042404, 0.0620473735, 0.0065513984, 0.0040889005, 0.0589546487, -0.0006335382, 0.034781605, -0.012515896, -0.0555814393, -0.0227554403, -0.043456804, 0.0331099331, 0.0314884223, 0.0547018982, -0.0303977877, -0.0262224916, 0.0740624666, 0.0548951849, -0.0070412415, -0.0223564282, 0.0221463963, 0.0001803068, -0.0050481893, 0.031461101, -0.0869352296, 0.0635219514, -0.0145095875, -0.0002618613, 0.063940458, -0.0121985385, -0.0136419609, -0.0559184551, -0.0101075293, 0.0032052086, -0.0089739142, 0.0169089697, 0.0052301786, 0.0443610847, -0.050431896, 0.0470061377, -0.0183327794, -0.0321209729, 0.0344249196, -0.0857763365, 0.0390434824, 0.0697144046, 0.0624192692, 0.0174427312, -0.0001930437, -0.0197973475, 0.0136773372, 0.0542263016, 0.0347295962, 0.0143144177, 0.0315155499, -0.0380509719, -0.0167106353, -0.0159579869, 0.0418873876, -0.0138158938, 0.0013304997, -0.0108796908, 0.0233919304, -0.0539662614, -0.0385458022, 0.0529763624, -0.0111047775, -0.0486946143, -0.0045609009, -0.0109743346, -0.0054663992, -0.0353457294, 0.0216328856, 0.0660674497, 0.0223076753, -0.0082721589, -0.0490195975, 0.0070906263, -0.0430053733, -0.0058135604, 0.0163114779, -0.0185161959, 0.0073664552, -0.0295511354, 0.0073472606, -0.0386035219, -0.0002086603, -0.0664376765, 0.039958287, -0.0581189133, 0.0175196379, 0.0200294051, 0.0492913313, -0.0128896255, 0.0655821338, -0.0376404859, 0.0003751077, 0.018345749, 0.0002378148, -0.0145865362, -0.0276437495, -0.021018479, -0.0198590159, -0.027420789, 0.0026509338, 0.0057961293, -0.0294475742, -0.0923233777, -0.0010331654, -0.0603003986, -0.0225609448, -0.0128199942, -0.0064940476, 0.0347070619, -0.0219627153, -0.020297328, -0.004601161, -0.0461987108, 0.0088666184, 0.0235197041, 0.0383079164, 0.0169946291, -0.0121012842, -0.0053008841, -0.0251075048, 0.0265937392, -0.0173207354, 0.0483449884, 0.0001429266, -0.0293491818, -0.0827224702, 0.0596024729, -0.0436007567, 0.0054012602, 0.0165795777, -0.0273913238, 0.0402025059, 0.0026518481, 0.0108235702, 0.046753183, 0.0311438162, 0.0009794304, 0.0930481255, -0.0249971785, -0.0390053242, -0.0097104246, -0.0355869532, -0.0064711259, -0.0042256117, -0.0387324877, 0.0259664655, 0.0604275428, 0.040728081, 0.0044468446, -0.0370384715, 0.0489416495, -0.0282059852, -0.0979876667, -0.0122323548, -0.0050568855, -0.0307280347, 0.0875554159, -0.0080984961, -0.0890308246, 0.0933161974, -0.0091975294, 0.0160777774, 0.0317170881, 0.0246732682, 0.0230608582, 0.0491942689, 0.0261147395, 0.0280883331, 0.0135644125, -0.0392021574, -0.0536190234, 0.0023294513, -0.0401783735, -0.0399184711, 0.0273476467, -0.0267132279, -0.011395677, 0.0231568031, -0.0002213705, -0.0784071013, -0.0218061265, -0.024834685, -0.0198747553, -0.0195916016, -0.0113108186, 0.0021613631, -0.0171256792, -0.0028992286, 0.01121502, -0.0461136624, -0.0513605215, -0.0042634197, 0.010750073, 0.0587548055, 0.0138854515, 0.073783949, -0.0451746657, 0.0180428308, 0.0666271597, 0.0522000715, 0.0493283123, -0.0085955746, -0.000090161, 0.0255251229, -0.0036188001, -0.0012322107, 0.0583471023, 0.0419028401, -0.0386843868, -0.0669424012, 0.1039815769, 0.0283059999, -0.0613350756, 0.0213133823, -0.0515612103, 0.0493906662, 0.0318182595, 0.011891339, -0.0658841133, -0.001535367, 0.0002427976, 0.0066058636, -0.039708849, -0.0401526727, -0.0168522149, -0.0975840911, 0.0430279747, -0.0044790595, -0.0115605528, 0.0156685188, 0.0086498102, -0.0237021688, 0.0369826108, 0.055470854, 0.0298806764, -0.0015989076, -0.001159939, 0.0199796949, -0.0076576965, -0.0267629083, 0.0132155949, -0.0298160985, 0.0505186431, 0.0757493898, 0.0302051995, 0.0052823084, -0.0673559234, 0.0429645255, -0.0061523658, 0.0378334671, -0.0000500172, 0.0763953477, 0.0268263873, 0.010006425, -0.0162475333, 0.0260815583, -0.0505592935, -0.0199886467, -0.0171805229, 0.0342109241, -0.0632569268, -0.050112918, 0.0035203344, 0.0365822427, 0.0014627231, 0.0813880488, 0.0495294593, -0.0187984724, -0.0362543017, -0.0128459707, 0.0653310269, -0.0647135004, -0.0234567318, 0.0666610152, 0.0605350733, -0.0173061453, -0.0792021379, -0.0292377435, 0.0064627095, 0.0186691731, 0.0129271606, 0.0446575321, -0.0232965648, -0.0147969536, -0.035882201, 0.0161816385, -0.0412263647, -0.0133256726, -0.03699065, 0.0047075022, -0.0071271006, -0.0253023244, 0.009471762, 0.0430948623, -0.0868782923, -0.0732544735, 0.0132704647, 0.0499934629, 0.0329248905, -0.0001185112, -0.0158034302, -0.0697329491, 0.0484841168, 0.0586892217, -0.0396646485, 0.0238114409, -0.007075449, 0.0060492163, -0.013371354, 0.0367700681, -0.0167713929, -0.0375779904, 0.017134387, 0.0238456354, 0.020047063, 0.0081200674, 0.0435246862, 0.0190532524, 0.0290294085, -0.0616600178, 0.053756889, -0.0282715969, -0.0148701621, 0.0056725275, -0.0021429625, -0.0187882278, -0.0121753672, 0.0523630232, -0.005066935, 0.0075771809, -0.0556593239, -0.0150640635, 0.0249224827, 0.0039052628, -0.0535580069, 0.0007799459, -0.0068201986, 0.0336322747, -0.0159080662, -0.0089882556, 0.0362508334, -0.0168495495, 0.0444365889, 0.0299264099, 0.0460978858, -0.0002081672, -0.0112495059, -0.0149974516, 0.0182057656, -0.0433268473, -0.0963163823, -0.0119678499, 0.0034291178, 0.0062159607, 0.0046779481, 0.0382608138, -0.0099105975, 0.0255343821, -0.0050137495, 0.0118618524, 0.003843002, -0.0520614199, 0.0357827879, 0.0007382435, -0.027259374, -0.0317488611, 0.0914696008, 0.0012544845, 0.037196409, -0.022280274, -0.0365339257, -0.0200015549, -0.0407035388, -0.0201464761, 0.010057345, -0.0494785197, -0.0169906802, -0.0519584678, -0.0858536884, -0.0096607041, 0.0123791965, 0.039259173, -0.0260550361, 0.0257688332, 0.0784098729, -0.0084601985, -0.0256708134, -0.0251569822, -0.0055293855, 0.0088887429, 0.0053198324, -0.0193476472, -6.343306941e-33, -0.0017313019, -0.0711740926, 0.0299472846, -0.0525216497, 0.0026249958, -0.0168994255, -0.0459259972, 0.0280537009, 0.0220854133, 0.0080074687, -0.0234779716, 0.0291147567, 0.0162748564, 0.0078908196, 0.0456741154, -0.0414621271, 0.0448809229, -0.0126758795, -0.0396330468, 0.0092454627, 0.0410868861, 0.0258254204, 0.0449049883, -0.0265218653, 0.0231728796, 0.0040198229, -0.0373332202, 0.0230094064, -0.0489443764, 0.035208039, -0.0379325822, 0.0137725156, 0.0152844852, -0.0110987267, -0.0220355839, -0.0202406123, 0.0155955469, -0.0374289341, -0.0022387409, 0.0081813643, -0.0385511033, -0.0219097175, 0.056419678, -0.0336095728, -0.0336538255, 0.0284163766, 0.0068923226, -0.0137621006, -0.0236672387, -0.0086198477, -0.0338139236, -0.0106344605, 0.0246624313, -0.0218972769, 0.0133970706, 0.0667827725, -0.0258043166, -0.0243483596, -0.0706582069, 0.0238736272, -0.014314197, 0.024552362, 0.0822881684, 0.0325712003, -0.0013935908, 0.0801225081, 0.0745135844, 0.0233391598, -0.0196503904, -0.0064735077, 0.0341247767, 0.0600877739, 0.0165498666, 0.0055873357, 0.0530101173, -0.019437395, -0.0084290458, 0.0274154563, -0.0380061567, 0.0067664823, 0.0628247187, -0.0153891556, -0.0164438169, -0.0377576575, -0.041434098, -0.0022566947, -0.0472945757, -0.0253046006, 0.0502625108, 0.0308461152, -0.0006406126, -0.033917442, 0.0227093883, -0.0165067092, 0.0122825606, 0.0063899243, -0.0101953764, -0.0323908329, 0.0046679452, 0.0024761995, -0.0147991478, 0.0069952011, -0.0032429176, 0.012957979, 0.0171871446, 0.0122938091, 0.0057746917, -0.0000895305, -0.0649319068, 0.0087398523, -0.0604538545, 0.0394650884, 0.0194527544, -0.0308350045, 0.0620906726, -0.0348552652, -0.043976143, -0.0172271207, -0.0045029502, 0.016496893, -0.0255955048, 0.0506234281, -0.0303571839, 0.0297683589, -0.0147290472, -0.0394804403, -0.0263437815, -0.0101020252, 0.0560634956, -0.0611246936, -0.017968934, 0.0060531716, 2.69e-7, -0.0091827326, 0.0231058877, 0.0011062691, 0.0323017538, 0.0171623304, 0.0335833877, 0.0090981666, 0.0242914297, 0.0197385941, -0.0736439228, -0.0062570623, 0.0031342376, 0.053973034, 0.0418232679, -0.0818102136, -0.0172393266, -0.0441020578, 0.0537625104, -0.0239796899, -0.069427602, 0.0115470393, 0.0401224643, -0.0057800477, -0.0408923253, 0.030869728, -0.0531491674, 0.0752666444, -0.0241406746, 0.0105889179, 0.0263014045, 0.0642579347, 0.0205107871, 0.0298142601, 0.0455851071, -0.0269282646, -0.0359269008, -0.0168885291, -0.0166994091, 0.0294531323, -0.0670530498, -0.0225053169, 0.0075067715, 0.0363124833, -0.0719782487, 0.0318773016, -0.0449578613, -0.0202259328, -0.0128554096, 0.046103131, -0.0402919799, 0.0571792386, -0.0291647203, -0.0092960121, 0.0114120571, 0.002151839, 0.0333251841, 0.0027003351, -0.0489395, -0.0271498244, -0.0226453971, -0.0255386308, -0.0171461813, -0.0558414645, 0.0473170094, -0.0203671772, -0.0608267076, -0.0125566162, 2.240779219e-34, 0.0097243441, -0.0104777031, 0.0169443563, 0.0384754464, 0.0512787104, -0.0036691118, 0.0569735691, 0.013894083, 0.009246516, -0.0383989438, -0.0330690593 ]
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.0145310983, 0.06546361, -0.0265039969, 0.0041303383, -0.0265892316, 0.0134081533, 0.0275938231, 0.0391048044, -0.0292583555, 0.0001144581, -0.0183025487, -0.0193172377, 0.0409231186, 0.0178958792, 0.0265121367, -0.0439428911, 0.0067979102, 0.0121799242, -0.0309546646, 0.0225591958, -0.0059304149, 0.0182332024, -0.0178225171, 0.0531101003, 0.0117672244, -0.0107026706, 0.0357884318, 0.0140154669, 0.052458562, -0.0278297067, -0.0322241448, 0.0184813514, -0.0046191858, 0.0795913786, 0.0000018089, -0.0541651361, -0.0139404861, 0.0105424915, 0.0080877477, 0.0195268039, 0.0564552471, -0.043995332, -0.0363183804, 0.0058768708, -0.0403526127, 0.0069131735, 0.0492891781, -0.0748446509, 0.0589222126, 0.0641236901, -0.0067068627, -0.0122975903, -0.0416231342, -0.0299818851, -0.0297649615, -0.0320644788, -0.0437429026, 0.0438458845, -0.0385778621, -0.0078013139, 0.0173071381, 0.0479401201, 0.0255758353, -0.0180670507, 0.0248256102, 0.0145106334, -0.0189011395, -0.0248047523, -0.0014935096, 0.0482300594, -0.0122800944, -0.0057072979, -0.0326919816, -0.0150306346, -0.0275244974, -0.0649770573, -0.0210096072, -0.0074151205, 0.0082793301, -0.0375674739, -0.0563708916, 0.0631016642, 0.0208733808, 0.0030092676, -0.0266770832, -0.0146517921, 0.0266254768, -0.019518787, 0.0066502807, -0.0026538228, 0.0095169032, -0.0314281397, 0.0429422818, 0.0016547127, -0.017152926, 0.0030871965, 0.0002908196, -0.0598661453, 0.0375617146, -0.0642626584, 0.0164356958, 0.0581698455, -0.0328740925, 0.0457502641, -0.0064868163, 0.093445912, 0.0192099921, -0.0072100926, -0.0690932348, 0.0435097329, -0.0266319048, 0.0451002531, -0.0209565237, -0.0400226526, -0.0060615214, 0.0034856931, -0.0564642176, 0.0289352797, 0.0089642191, 0.0147617282, 0.0296315458, -0.0372255221, -0.0666658059, -0.0142578343, -0.0085894531, 0.0301789101, -0.0454262532, -0.0421360768, 0.0107868938, -0.0152196223, 0.002373144, 0.0152195441, -0.021339817, 0.0021677141, -0.0046034283, 0.0880461559, -0.0189798512, -0.0261034258, 0.0417351127, -0.0008973653, -0.038411133, -0.057981953, -0.0607274882, -0.0479540974, 0.0499779545, 0.0121785318, 0.0042622536, -0.019698387, -0.0171450302, 0.003757698, 0.0294410884, 0.0259430762, 0.0265733767, 0.0250165667, 0.0112350918, -0.0181290787, -0.0367542207, 0.0770590678, 0.0690207779, 0.0515678078, 0.0634511113, 0.0138908355, -0.0231534429, 0.049588602, -0.0273863003, 0.0631174073, -0.0421291664, 0.0213221814, -0.019052919, 0.0713886693, 0.0079344912, 0.0401566848, -0.0252931863, 0.0145834442, 0.0489719473, 0.012932756, 0.0215596296, 0.0069427588, 0.0497999564, -0.0037711458, 0.005968221, -0.0202186927, 0.018719269, 0.0247940794, 0.0164404847, 0.0210296027, 0.0327551551, 0.0414537974, 0.0174389761, -0.0708243325, -0.0022669344, -0.0102949776, -0.0048518758, -0.0147661706, 0.0757969171, 0.010109432, -0.0225753728, -0.0032971408, -0.0381043926, -0.0529237241, 0.0011567643, -0.0215754081, -0.0177735891, 0.0523216426, 0.0865833387, -0.0064424756, 0.009500891, 0.0045480141, -0.0034503047, 0.024491502, 0.0690257773, -0.0036790022, 0.0162274055, -0.0127087021, -0.0235633552, 0.0580738075, 0.0136850504, 0.0036149512, -0.000172543, 0.0738369375, 0.0454656743, -0.0664776191, -0.1054274291, 0.0440196283, 0.0072467625, 0.0161948204, 0.0280189198, 0.0138998805, 0.0230858456, 0.0548398644, -0.0305343885, 0.0021492825, 0.0303294454, -0.0253160391, -0.0212784503, 0.0680333525, 0.0228635035, 0.0138565358, 0.0334680304, -0.0235899724, -0.0279011447, -0.0213116929, -0.037771754, -0.0030433824, -0.018315101, -0.0552088059, -0.0021737537, -0.0179077517, 0.0474380068, -0.0401522182, -0.0178776383, -0.0523996353, 0.0202897023, 0.0036091756, 0.0325910598, -0.02345117, -0.0371133536, 0.0515014045, 0.0039165462, 0.0047490373, 0.048290506, -0.000807222, 0.0414537303, 0.0649950281, 0.0374984667, -0.0612458549, -0.034800034, -0.068731606, 0.0123734903, -0.0204661749, 0.0435975268, 0.0505366251, 0.0300627444, -0.0036889974, -0.0024632872, 0.0093212025, -0.0060804891, 0.008415089, 0.015726395, 0.0305061899, -0.0009251479, 0.0041894112, -0.0249340422, 0.0008293352, 0.0059343837, 0.0353147723, 0.0455791503, 0.0140274139, -0.0905045718, -0.0037664666, -0.0492763184, -0.0400023945, 0.0116351191, -0.0824625343, 0.0306456015, 0.004639552, 0.0180554837, 0.0566553995, 0.0116039319, -0.0075887134, 0.041519396, 0.0049199569, -0.0360501409, -0.0221397597, -0.0067962203, -0.0787375495, 0.0113915419, -0.0776900053, 0.0204116534, -0.0191296358, 0.006916461, -0.0032583168, -0.0423931964, 0.0057663424, -0.0598316863, -0.0188701358, -0.0352260619, 0.0332750082, -0.0109837689, 0.0685803294, 0.0132414345, -0.0682306141, 0.060472142, -0.0213091057, -0.0092691509, -0.061900679, 0.0252472032, -0.0290287863, 0.0425986797, -0.0154561065, 0.0203268733, -0.0522963069, -0.0112246703, -0.0127470251, 0.0419893041, 0.0209894739, -0.0507286564, 0.0342017785, -0.071447067, -0.0058797183, -0.0055734348, 0.00173675, -0.0135856783, 0.0096284524, -0.0132315382, -0.0406842381, -0.0099756969, -0.0361729003, -0.0323279314, 0.0338865966, 0.0205482524, 0.0669327602, -0.003482512, -0.0371344499, 0.012306259, -0.0120201418, -0.0351105742, -0.0030445191, 0.0123671945, -0.0271184053, 0.0145403491, 0.0054048044, 0.0305461977, -0.007757314, -0.0392675586, -0.0450276211, 0.0079306737, -0.0011904192, 0.0410466492, 0.0226208027, 0.0490635484, -0.0246176459, -0.0026902617, 0.0839368924, 0.0359783359, -0.0298035238, 0.0123613756, 0.0074375467, 0.0415950529, 0.0289353188, 0.0197647866, -0.0820616111, -0.0091917282, 0.0104990834, 0.0816741213, 0.009683663, 0.017005438, -0.0224863011, -0.0511431433, 0.0001317737, 0.0250979848, -0.0427228697, -0.0309187621, -0.0216734651, -0.0129922545, -0.0570669845, 0.0246776212, 0.0069252332, 0.0230578948, 0.0189465564, -0.0055018249, -0.0452240445, -0.0595153868, 0.0098057427, -0.0365593098, 0.0029511044, 0.0656687617, 0.0445018932, -0.002107532, -0.038695354, -0.0127686523, -0.0140927285, -0.006107769, 0.0085578049, 0.0486989245, 0.0174980108, -0.0269976053, 0.0230101384, -0.0371078998, -0.022081621, 0.0447964109, 0.0360563025, -0.0088725528, -0.0004927189, 0.0237307716, 0.0045226952, -0.006307865, -0.0092455288, 0.0306452084, 0.0137689188, -0.0586017556, 0.0241165906, -0.0209610965, 0.0046499153, -0.0634736419, -0.0101428051, -0.024625428, -0.0934472159, -0.0521528833, -0.1258340329, -0.0605002344, -0.0173021313, 0.0480605476, 0.0132690454, -0.0180926938, -0.0258284062, 0.0114053097, -0.033258602, 0.0014241593, 0.0206393115, 0.0612720326, -0.0527159125, 0.0156662967, -0.0009657438, 0.0362852737, -0.0196513813, 0.0581864305, -0.0734224096, -0.0441071428, -0.0257219262, 0.0486437418, 0.0312678032, -0.0016492417, -0.0617525019, -0.0048331656, 0.0058792843, 0.0178030711, -0.0266757775, 0.0000702464, 0.010182417, -0.0033792842, -0.034324035, 0.0280220993, -0.0389385037, -0.0323883183, -0.0394335464, 0.0535505824, 0.0126971519, -0.0301263966, 0.0072326097, 0.0244644564, 0.0348941199, -0.0623286515, -0.0273024496, 0.0031865516, 0.0005501424, -0.0079058725, -0.0333945006, -0.0339963883, -0.0299667045, 0.042128969, -0.0025260521, -0.032949619, 0.0667704791, -0.0348031111, -0.0357024483, 0.0121157682, -0.0107000303, -0.0297989044, 0.0686691776, -0.0023630746, 0.0019595588, -0.0418282747, -0.0293662921, -0.0059739966, 0.0263715703, -0.0219601486, 0.0370801799, 0.0119086802, 0.0221187323, 0.0381039232, 0.0707607344, 0.0028398104, -0.0076509183, -0.0137949511, -0.0039844364, 0.0662494078, 0.0238190684, 0.1347547472, 0.0126648713, -0.0089017842, -0.0166456103, 0.0267005153, 0.0010943916, 0.0059048254, -0.0674078986, -0.0144584132, -0.0003582073, 0.0409161076, 0.0575154908, -0.0585249588, -0.0286390148, -0.0375041738, -0.013645092, -0.018183874, 0.0185648892, -0.0209337641, -0.0299763586, 0.0060326448, -0.0491345562, -0.0416633785, -0.0492613651, -0.0020508468, 0.041732695, 0.0185492635, 0.0029350989, -0.0003359581, 0.1010611281, -0.0398832299, 0.0116014425, -0.0526438467, 0.002229898, -0.0384586304, 0.0013113129, -0.0431597903, -5.741074369e-33, -0.0077098324, -0.0214750487, -0.0174476467, -0.0357303843, -0.0340135172, -0.0026970857, -0.0202720743, -0.0226888582, 0.0253534056, 0.0059412257, -0.0079560447, 0.0072131436, 0.0176270679, -0.059446197, 0.0376953408, 0.0325345099, 0.0368568562, -0.0007349052, -0.0759963542, 0.0191949829, 0.0336625092, -0.0134301009, 0.079142496, -0.0632759705, 0.0556740873, 0.0123942913, -0.0371888541, 0.0109364297, 0.0538503304, 0.0183953978, 0.0288876072, 0.0327460133, 0.0065190122, -0.0139625128, -0.0226157159, -0.0467486121, -0.0370867215, 0.002475345, 0.0008135568, 0.0595555343, -0.0035587575, -0.0025250968, 0.0316137597, -0.0495297983, -0.0595864952, 0.0176470559, 0.0227818117, -0.0696203038, -0.0308531523, -0.0074813911, -0.0177483708, 0.0329507217, -0.0479538813, 0.0072212, -0.0074741077, 0.0686502084, -0.0169533659, -0.0128569547, -0.0704049468, 0.0148438504, -0.0154535035, 0.034045212, 0.0888068527, -0.0229503121, -0.008783048, 0.0027196833, 0.0107655991, -0.0079128826, 0.0431629866, 0.005871437, 0.0545363091, -0.0229167733, 0.0747798085, 0.028779136, 0.0208481606, -0.0167309064, -0.0247685853, 0.0918683559, 0.0294247642, 0.0330882333, 0.0135429678, 0.0211549047, -0.0544310398, 0.0071763308, -0.0374789499, -0.0430956669, -0.0229693018, -0.0564757586, -0.0051069525, 0.0305093993, -0.028599238, -0.0383757316, 0.0431018025, -0.0086900229, 0.0068839118, -0.0167860258, -0.056945622, 0.0239600837, -0.004149111, 0.02738389, 0.0021179719, 0.008384468, 0.0081197917, 0.0660468787, 0.0388607532, -0.072374247, 0.0394651107, 0.0223111399, -0.0513663962, 0.028914554, -0.0261889976, -0.0296233427, -0.0288367607, -0.0342686288, 0.001581114, -0.0080233878, -0.0278439652, 0.0584399588, 0.0326710194, -0.0073800138, -0.0619347095, 0.0288716946, 0.0444952622, 0.0221428555, -0.056477759, 0.0030592384, -0.0031149664, 0.025929179, 0.0426192619, -0.0399572439, -0.0380141512, -0.0067910771, 2.529e-7, 0.069547005, 0.0756674558, -0.003174681, 0.0292351563, 0.0054623913, 0.0131756524, -0.0455081798, 0.0119426847, 0.0116733983, 0.0439268015, 0.0358014032, -0.0176039599, 0.0713727027, 0.0411083102, -0.0397671834, -0.0573007166, -0.0736516714, 0.0228573699, -0.0665899441, -0.0102686249, 0.0605009794, 0.0473244376, 0.0195400175, 0.0191208851, 0.0019288133, -0.0581470206, 0.0544957779, 0.0108998613, 0.0005180655, 0.0092862435, 0.072294943, 0.0391414016, -0.0273966882, -0.0101756072, -0.0387454033, -0.00961217, 0.0606627464, 0.0389538072, -0.0095153218, 0.0018152953, 0.0078439685, -0.0002303937, 0.0041057472, -0.0434616432, 0.036663875, -0.0220762976, -0.001419728, 0.0026285399, -0.0387853235, 0.0157611314, 0.062637493, -0.0341040418, -0.0673927963, 0.0424928442, 0.0390015058, 0.0190608315, -0.0129718892, -0.0356026068, -0.0320522822, -0.004438716, 0.0146105094, -0.0717547983, -0.0203463081, 0.0341022275, -0.039182093, -0.0093196845, 0.0037050429, 1.871321344e-34, 0.0511242151, -0.014687432, 0.0114056291, -0.039017316, 0.0558370054, -0.0208298266, 0.0028876988, -0.0278723408, -0.028494304, -0.0259932298, -0.0052107228 ]
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.0064032981, 0.0981582925, -0.0235085301, -0.0014929379, -0.0354873501, 0.0123355351, -0.0235165544, 0.026315229, 0.0362403095, 0.0109105529, 0.0251540318, -0.0292296782, -0.0015998103, 0.0036171214, 0.0503136925, -0.0816058591, -0.0017494208, 0.0682642311, 0.0443870164, -0.0675547644, 0.0180456899, 0.0073760618, 0.0386831909, 0.018231621, 0.0063371724, 0.0241730064, 0.0080000488, 0.0464656949, 0.0661457404, 0.0055559664, 0.0131743951, 0.0304710735, -0.040019501, 0.0137405349, 0.000001783, 0.0029746743, 0.0176656153, -0.0365268849, 0.0502457879, -0.0256395303, 0.0932566449, 0.0389558636, -0.0108993286, 0.036588002, -0.0411282629, 0.0184032731, 0.0164625719, -0.0206244644, 0.0569819473, -0.0052503664, 0.0062720729, -0.0013343719, -0.0161132663, -0.012174421, 0.0186803676, 0.0031716751, 0.024396643, -0.0812064186, -0.0282090008, 0.0072890217, -0.0000788608, -0.0038087838, -0.0313080363, 0.0224684197, -0.007164686, 0.002549679, -0.004931903, 0.001682024, 0.0071505453, 0.0123515446, 0.0434925258, -0.0214693379, 0.0298603866, -0.0049380851, 0.0055031329, 0.0400293767, -0.045094464, 0.0365802199, -0.0718869716, 0.00913468, 0.011982739, 0.0307284966, -0.0252987761, 0.0348976664, -0.0022552456, 0.0357876793, -0.0056410809, -0.0169245321, -0.0233105533, -0.0011260783, 0.0484858602, -0.0414509624, 0.0145192146, -0.0421606004, 0.0582647175, -0.0004315631, -0.000413406, -0.0045217089, 0.0254344344, -0.0450167842, 0.0321474969, 0.0002944987, -0.0102676619, 0.0578424968, 0.0745947286, -0.0144638671, -0.0442711562, 0.037946295, 0.0127398707, -0.0017268984, -0.0392759927, 0.0301494841, 0.0573281273, -0.0291581862, 0.0222774204, 0.0075531201, -0.0094730491, 0.0003162952, -0.037221197, 0.0262314044, -0.0455245189, -0.0070453282, 0.0082664154, -0.0073126513, -0.0541280881, 0.0331930593, -0.0292506889, 0.015413885, -0.0264807902, 0.0063572824, 0.0116387066, 0.0267796274, 0.0818975121, -0.000616664, 0.0100196945, 0.0237530041, 0.0151345329, -0.0017360297, 0.0400342345, 0.0025661734, 0.0162144769, 0.0170243457, 0.0291736759, -0.0497804619, 0.010552532, 0.0067842053, 0.0142711848, -0.0323113278, 0.0136096599, 0.0230123084, -0.0281486791, 0.0255135335, -0.0133623611, 0.0548449382, 0.029683277, 0.0259266049, 0.0158732329, 0.0134244701, -0.0089759538, 0.0307808425, 0.0458294079, 0.0001177958, 0.011911693, 0.0466899946, -0.0147353485, 0.0312134735, -0.0064577176, 0.0173262693, -0.0245991945, -0.0314055197, 0.0430352129, 0.0266278572, -0.0075418898, 0.0434852168, 0.0598080717, 0.0422551446, 0.0176339541, 0.033335384, -0.0234673843, 0.0499986932, -0.0066831792, 0.0136350505, -0.0105038555, 0.0072922558, 0.0385335423, -0.0436402, 0.074919261, 0.0286679734, -0.0330642909, 0.0257643666, 0.0166899972, 0.0042365119, 0.055746913, -0.0231286734, -0.0128716156, -0.030710591, -0.0204298925, 0.0016414264, 0.0481979288, -0.0421811901, -0.0200200416, -0.0360287093, 0.0151582956, 0.0094463648, -0.0321570598, 0.020536378, 0.0201102179, -0.0044975993, 0.0324069485, 0.0393181667, 0.0512855276, -0.0176157095, -0.0433828048, 0.0095428443, 0.017501045, 0.0226780903, 0.0088634258, 0.0236833934, 0.0476846509, 0.0260861218, -0.0269138683, -0.0189865734, 0.0297656637, -0.0177971181, 0.027203992, 0.0198450293, -0.0118656904, 0.0033267362, 0.034139581, -0.0086586149, -0.0161005333, -0.0346450396, 0.0217223782, -0.0221238099, -0.0118430071, -0.0144292898, -0.0323887505, 0.0677465945, 0.0054508466, -0.0312579274, -0.0292829107, 0.0284019671, -0.0100809922, 0.0045920755, 0.0847314596, 0.0049304278, 0.0177345257, 0.004986505, -0.0164908096, -0.051672902, -0.0378764719, -0.0168281961, 0.0559562519, -0.01929814, -0.0122979684, -0.0379454829, -0.0319927968, 0.0145662222, 0.0121189961, 0.0353670865, -0.0810657665, 0.0208017416, 0.0367370993, -0.0369797125, -0.0117895436, -0.0506305546, -0.0585690364, -0.0498198345, -0.0191657189, -0.0335057043, 0.030534327, 0.0475199781, -0.019053977, -0.0056871781, 0.0293230508, -0.0391266458, 0.0053547514, -0.0343165994, 0.0038445704, 0.0164435655, -0.0114126382, -0.0198098551, -0.0480312556, -0.0031946748, -0.0493175499, -0.0025819463, -0.0349241383, -0.0378661826, 0.0573910959, -0.025555782, -0.0472374521, -0.0202867743, -0.0564640798, -0.0217865184, -0.0021197207, -0.0064652893, 0.0188833717, 0.0151111865, 0.100060001, 0.0571874008, -0.0420599282, 0.036554046, -0.0478532352, -0.0331772342, -0.0542275012, 0.0572718456, -0.0222503562, -0.0470519774, 0.0247115996, 0.0325367562, -0.0063097281, 0.0373883843, 0.0012389789, 0.0720425323, 0.0034234377, 0.0008582964, -0.0320762508, 0.0199895445, 0.0280137416, 0.0175573472, 0.0116768321, -0.0295454357, -0.0180192105, 0.0000950271, 0.1030212864, 0.039217405, -0.0652798116, 0.0137035372, 0.0925388187, 0.0373913795, 0.0147977034, -0.0158298649, -0.0069426629, -0.0117367338, -0.0412887931, 0.05884986, -0.0322589688, 0.0313973874, -0.0069076875, -0.0004385665, -0.0124746822, -0.0217889678, 0.0267193522, -0.1322873533, -0.0300347824, -0.010144053, -0.0048078145, -0.0871835127, 0.0120868329, 0.0159219895, 0.0188770182, -0.0387941971, 0.0002151968, 0.0083057135, 0.0235058125, 0.0201374255, -0.011362575, -0.0005436616, -0.0017112865, -0.04889974, -0.0583258197, 0.0005305713, -0.0185817275, 0.0578166135, -0.0099755852, -0.0346472561, -0.0063549583, -0.0264969878, -0.0242869072, -0.0051945588, 0.0248604305, -0.0047788471, 0.0094096605, 0.015564654, 0.0167084113, 0.0106461896, -0.0173446145, -0.0097424602, 0.0118895117, 0.0342288315, -0.0343599617, -0.0901767313, 0.0501311198, 0.0110738473, -0.0084091472, -0.0448852517, -0.0070671281, -0.0174938682, -0.0712071285, 0.006407212, 0.0123018492, 0.0356768854, -0.0036893173, -0.0084994892, 0.0224786568, 0.0174438208, -0.079328306, 0.0072451071, -0.0026494998, 0.007371638, -0.0159360841, -0.1126227379, -0.0167798791, 0.0053514526, -0.0480053313, 0.0326359794, -0.0239876416, 0.0844497234, 0.0016992817, -0.002334961, 0.0267583597, -0.0398392007, -0.0158185996, 0.0246199574, 0.0837831274, -0.0365110002, 0.0244358759, -0.0815667361, 0.0152535122, 0.0472103804, 0.0080959937, -0.0227955431, -0.0079516452, -0.0076029729, -0.0711966455, -0.0194465071, 0.027664382, 0.0864527971, 0.0281199794, 0.0416314043, -0.0178408548, -0.0105262287, -0.0214012899, 0.0005116775, 0.0140942382, -0.0497159734, -0.0057510757, -0.005922833, 0.0243073981, 0.002753729, -0.0238250196, -0.0390018821, -0.0033388655, -0.017520437, -0.0125683667, 0.0210603401, -0.049589403, -0.0120696276, -0.0264583118, -0.0303224158, 0.0079358276, 0.0330717452, -0.0657026023, -0.0047061816, 0.0337941237, -0.0393042639, -0.0698983967, -0.0583443642, 0.0007398586, 0.0189668555, -0.049652312, 0.018181473, 0.0112446612, 0.0140964845, -0.0088819461, 0.0417229049, 0.0542091206, -0.0026159089, 0.0133910254, -0.0087167025, 0.0593509972, 0.0016135803, 0.0195657294, 0.0007024384, 0.0420637354, 0.0634194911, -0.0912630111, -0.0323534608, 0.0117880264, -0.0246251337, -0.0240725409, 0.0145411482, 0.0304702055, -0.091361545, -0.0189768784, -0.0495841429, -0.0048866724, -0.009954866, 0.0164494701, -0.0628641024, 0.0119503383, 0.0175870191, -0.034804415, -0.0287055522, -0.0282437485, 0.1101761684, -0.0771452114, 0.033982724, -0.0454286113, 0.0009326129, 0.0112622809, -0.0362604856, 0.0122579429, 0.0065816147, -0.0128277261, 0.0571875013, -0.0058841985, -0.0195778087, -0.0236852877, -0.0220888238, 0.0461957194, 0.0218300615, -0.0311149433, -0.0754500031, -0.0045773219, 0.0097234063, -0.0054309545, 0.0023144351, 0.0400849618, 0.0346535593, 0.0111044664, 0.0032616195, 0.0065520117, -0.0420538746, -0.0256438088, 0.0332405791, -0.0186063368, -0.0162074901, 0.0097805271, 0.048045136, -0.0035253686, 0.0056053423, 0.020488115, 0.0064451457, 0.0172702298, -0.0201495532, -0.0214247182, 0.0236659739, 0.0150779765, -0.0513843969, -0.0171696581, 0.0114797419, 0.0593642965, 0.0140888523, -0.0132485852, 0.0293058194, 0.0345102251, 0.0059500667, 0.0000727177, 0.0975322947, 0.0084199002, 0.013759708, -0.0564470403, -0.0440162607, 0.0014523668, -6.012826255e-33, -0.0089309495, -0.0214412455, -0.0004502551, -0.0484672599, -0.015823774, 0.0031292145, -0.028813567, 0.0330982134, -0.019757757, -0.0010774868, -0.0176017992, 0.0496180728, 0.0116201462, 0.0055311709, 0.0251469538, -0.0376851559, 0.0070481081, 0.0238176025, -0.0055187363, 0.0260710903, 0.0273175929, -0.0140601993, 0.023043232, -0.059931878, -0.0224873051, 0.0121131362, 0.0020575766, -0.0481082611, 0.0623696744, -0.0387978032, 0.0021702976, 0.0029194038, 0.0458883122, 0.0211993065, -0.0105957864, 0.1135909781, -0.0157100204, -0.0403762385, -0.0505684353, -0.0534026064, 0.0067637265, -0.0115286978, 0.0199165065, 0.0255665202, -0.0671307072, -0.0320658088, 0.039010372, 0.0601516478, 0.0612857118, 0.007313617, -0.0264339559, 0.0366114639, -0.0284119584, 0.0477271341, -0.0581401251, 0.0654014573, 0.0466917716, 0.0348902978, -0.0923938677, 0.0515525006, -0.0582853071, 0.0107973851, 0.0128414333, -0.0653222725, 0.0243187919, 0.0633605346, 0.0358236358, 0.0674848482, -0.0609503128, -0.0130447652, 0.0248337388, 0.0023107149, 0.0413034074, 0.0382411592, 0.0320061669, -0.0886380002, -0.0421587117, -0.015018926, 0.0637311116, -0.0186490566, -0.0150968591, -0.0132071003, 0.0105031021, -0.0187524613, -0.0105162188, -0.1035175771, -0.0265059974, -0.0172080249, -0.0181566868, -0.0062817237, 0.0340213478, 0.0081620691, 0.0336924717, -0.0057057668, -0.0565877371, -0.0139050018, -0.0666923001, 0.030374432, -0.0099758347, -0.0125124659, -0.0336517617, -0.0620483644, -0.0332585312, 0.0635552257, 0.0300841518, -0.0011654459, -0.0125433635, 0.0204169936, -0.0835153162, -0.027684439, 0.0205931347, -0.0313580111, -0.0060889414, -0.0067623584, 0.0368103758, 0.0334692113, 0.0280139241, -0.0326320268, 0.0293130241, 0.0388385952, -0.0043083783, -0.015417276, -0.0443559811, -0.0104922419, -0.0108033307, -0.0386514105, -0.0930047333, 0.0071274918, 0.0165859684, -0.0153868441, -0.0139190862, -0.0605494976, 2.419e-7, 0.0079636136, 0.0738185719, -0.0342546888, -0.0306375194, 0.0447979011, 0.0264270864, 0.0772662684, 0.0384970941, -0.0688037872, -0.0744096339, -0.0343491919, -0.0142975645, 0.022746291, 0.0347561985, -0.0567454845, 0.0145730283, -0.1181693152, -0.0234125592, -0.0706406534, 0.0467785597, 0.0019120845, 0.0171241201, 0.0370917656, 0.0015565823, -0.0273878966, 0.0166393761, 0.036319647, -0.0565907732, -0.0337409265, 0.0193294119, -0.0490223542, -0.0510398, -0.0014524035, 0.0404574871, 0.0195968933, 0.0098280674, -0.0304339286, 0.0026849108, -0.0006261785, 0.0300953239, -0.0072093033, -0.006013663, 0.0163692627, -0.0153074339, 0.0229432192, -0.0214413963, -0.050367564, -0.094289057, -0.0079180589, -0.0038521581, 0.0733022839, 0.0510161817, -0.0103023015, -0.0021235526, 0.0283821095, -0.0111482162, -0.0110214669, -0.0443714596, -0.0040362105, -0.0168293975, -0.0237910133, -0.0804943964, -0.0285870209, 0.0521913804, 0.0539684221, 0.0147931259, -0.0005578712, 1.920664212e-34, 0.0024393224, 0.0344752669, -0.0097325379, -0.0573902987, 0.0502465591, 0.0246754996, 0.0385566317, -0.0027454786, -0.0123341065, -0.0613611899, 0.0476523377 ]
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.0478817187, 0.0136985518, 0.0061679981, 0.0112387016, -0.0072171902, 0.0369052701, 0.0032923662, 0.0005602411, -0.0365614071, -0.0841041431, -0.0218270123, -0.0021784722, -0.0360130444, 0.005208388, -0.0157492962, -0.034550719, 0.0323481783, 0.0087751364, 0.0163803399, 0.014394586, 0.0263134856, 0.0186759867, 0.0063962233, 0.0132155232, -0.0040665939, 0.0260856114, 0.0223392565, -0.006759569, 0.0005597863, -0.0064233332, 0.0873361975, 0.086633049, 0.0016302601, 0.0327440389, 0.000001849, -0.0388590991, -0.0415057987, -0.0615182519, 0.024139829, -0.0120019447, 0.0754212439, -0.0609063171, 0.0355402678, 0.0478532389, -0.0350322016, 0.0071324552, 0.036731001, 0.0975859091, 0.0452816933, 0.0855610073, -0.0423391871, -0.0141444309, 0.044174958, -0.0078278324, 0.0127792619, -0.0395515971, 0.0140233887, -0.0446514376, -0.0278636888, 0.0474408008, 0.0003194374, 0.011796304, -0.0090131517, 0.0155450441, 0.0360165127, -0.0188519619, -0.0568312518, -0.0282697976, -0.0240896493, 0.0432085507, -0.0305258334, -0.0664767921, 0.0420679525, -0.0088588875, -0.020316327, -0.0264542196, -0.0193941481, -0.0026562253, 0.0191094652, 0.027102787, 0.0302344449, 0.029500477, -0.0003792424, 0.0508963354, -0.0116101075, 0.0406321548, 0.0140642952, -0.0343238637, -0.0356710441, 0.0442554913, -0.0207989309, -0.0337655842, 0.0163106881, 0.019817045, -0.0180638544, -0.0258281846, -0.052296821, -0.0796695501, 0.001809219, -0.0255048797, -0.0255863518, -0.0032826329, 0.0053380495, 0.0229328554, 0.0062634428, -0.0129489731, -0.0193803273, 0.0131879449, -0.0351690315, -0.0313080624, -0.036552988, 0.0052327621, -0.0606520511, 0.000960283, -0.0047195489, -0.0183506981, -0.0302750897, 0.0370565578, 0.0451001227, -0.0543470792, -0.0096928785, -0.0365759097, -0.0526958853, -0.0216486696, 0.0195391346, 0.0571733899, -0.0198271386, 0.0552619882, -0.0197503138, -0.0100129871, 0.0003394766, 0.0217980314, 0.0614721365, -0.0145034594, 0.0115472628, -0.0152386539, -0.0172604099, -0.0966052637, -0.0442335382, 0.0271454491, -0.0145717682, -0.0278324783, 0.0074370676, -0.0710726902, 0.0115805212, 0.0512637272, 0.0020413094, 0.032026045, 0.0075646495, 0.0079912618, -0.0226682611, 0.0219273772, -0.0408065096, 0.0159550216, 0.0308828447, -0.0027855905, 0.0615849905, 0.0903258324, 0.0248263609, 0.0807268769, 0.058302898, -0.0017010745, 0.0271796715, -0.0045833434, -0.0160360336, 0.0222712643, 0.0313084833, 0.0074146418, -0.0365929119, -0.0174142309, -0.0209278446, 0.0320325643, 0.0094893323, 0.0653104112, 0.0404725, 0.0262930393, 0.0392017327, 0.0387305282, -0.0221320186, 0.0666451678, -0.0097472891, -0.045528058, 0.0123511609, 0.003692071, -0.0170626435, -0.019307619, 0.0072777555, 0.0207763612, -0.0540812574, -0.0203008931, 0.0044353483, -0.027619971, 0.0005471935, -0.0182114691, 0.0637480915, 0.0215525087, -0.0103369849, 0.0916915908, 0.0265598632, -0.0553635657, -0.0266950838, -0.0260565542, -0.0009537586, 0.0099187773, 0.0090702679, -0.0404907987, -0.0084580248, -0.0405428261, 0.0719160065, 0.0458693691, 0.0431692041, 0.0170136448, 0.0036843461, -0.0318180174, -0.0020544131, -0.0133991688, 0.0478210226, -0.0250713062, 0.0140952244, 0.0404577106, 0.0285186134, -0.0450580083, 0.0115959616, 0.0357472003, 0.0460757799, 0.0031890669, 0.0337321125, 0.0022338235, 0.0042792289, 0.0071188794, 0.0001449141, -0.0352559946, -0.0015950011, -0.0243564975, -0.0259680655, -0.0214467756, -0.0233215354, -0.0362129472, 0.0051200446, -0.0296596568, -0.0054168645, 0.0689602569, -0.0581177287, -0.0210530125, 0.030594863, -0.0240473263, -0.0125424517, -0.0470249876, -0.0050174999, -0.0672412813, 0.0337550528, -0.0181182586, 0.0203014091, 0.0176302213, -0.0026215254, -0.0548990294, -0.0509514026, 0.0406443924, -0.001698161, -0.009896487, 0.0085197072, -0.0485456996, 0.0447108969, 0.064692013, 0.0273603611, -0.03204602, -0.0437129401, -0.105683364, 0.0298284851, -0.0769518465, 0.0076021352, 0.0232478417, 0.0323608741, -0.0006735486, -0.0264050663, 0.0062455526, 0.0209181011, 0.0231874194, 0.0018282885, 0.0457064956, -0.0456157997, 0.0271749087, -0.0124106472, -0.0092861392, -0.0185573101, 0.042781394, -0.0016086441, -0.0273858719, -0.029020194, 0.0247311015, 0.0190441962, -0.0247948151, 0.0195556451, -0.0376569889, -0.0275388993, -0.0102364076, 0.039104186, 0.0132624395, 0.0519604236, 0.045234222, 0.0000096677, 0.0239306577, 0.0137259355, 0.0058075693, -0.0319652222, -0.0181483682, -0.0377952568, -0.0117104389, 0.032103315, 0.0934103727, -0.0417286865, 0.0227483343, -0.0441114344, -0.0011372716, -0.0214703958, 0.0283459555, -0.0256957859, 0.0259519015, -0.0061590313, -0.0019193746, -0.0237751715, -0.0239470843, 0.0108069126, -0.0148027288, 0.0118945818, -0.0952859968, -0.0564974546, -0.0536681041, 0.0161311161, 0.0285245925, -0.0030402921, 0.0183435306, 0.0171583928, -0.0087816166, 0.003014056, -0.0201904606, -0.0034092746, 0.028672779, 0.0391663872, 0.0097008571, -0.0434658639, 0.0000785709, -0.0224885885, -0.0989429951, -0.0447576307, -0.01346556, 0.0268042479, -0.0207269527, -0.0238383673, 0.0158165805, 0.0062918388, 0.0259084422, -0.032962691, -0.0113437409, -0.028868435, 0.0500541851, 0.0633463487, -0.0336495601, -0.013369591, 0.0020619389, 0.0144128148, 0.0188894663, 0.014683675, 0.0029655769, -0.0227947365, -0.0264327526, 0.0295946859, -0.0435340479, 0.0221040118, -0.003204054, 0.0784962028, -0.0087625897, -0.0083838413, 0.1349931657, 0.0340696536, -0.0504202805, -0.0199592151, 0.0404902473, 0.0029998878, -0.0018156085, 0.0192468092, -0.0822447836, -0.0492775701, -0.005630557, 0.0183738768, -0.0042997175, -0.0027120661, -0.0206914935, -0.0398593694, -0.0064758896, -0.0027324301, -0.0217639878, -0.0351066329, -0.0442271382, 0.0005128508, -0.017857952, 0.0011385017, -0.0338090472, -0.0372435264, 0.0102742789, 0.0121688433, -0.0439494215, -0.0598408952, 0.0223621856, -0.0174414366, -0.0063684033, -0.0222083759, 0.0221248157, -0.0184300337, 0.0434281528, 0.0230227802, -0.0390323959, -0.0122882985, 0.0007227502, 0.0292254761, -0.0188490618, 0.009140959, 0.0034234594, -0.0110844485, -0.0754781589, -0.024194086, -0.0081587611, 0.0410252437, -0.0256782174, -0.0381039791, -0.0009939944, -0.0386411659, -0.0018036503, 0.0423815027, 0.0398865156, -0.0576419272, -0.0265096873, -0.0108086411, 0.0351535752, -0.0274006687, -0.0308550317, -0.0333732367, 0.0046297456, -0.0639040172, -0.0260590632, -0.0387477428, 0.0170466676, -0.0186670832, -0.0473167151, -0.0182994902, 0.0129410885, 0.0105020124, -0.03797286, 0.0540810935, -0.0296184197, 0.0053137084, -0.0581992194, -0.0236493908, 0.050756257, -0.0152206263, 0.0063759354, -0.0219578035, -0.1189067364, -0.0310327951, 0.0157815255, -0.0277602617, 0.0093920249, -0.0225319173, -0.0315738171, -0.0670410246, 0.0201300774, 0.1031171903, -0.0632822365, 0.0124961156, 0.0439567566, -0.0043658325, -0.0012721918, 0.0352425836, -0.063809149, 0.0534700453, 0.0013225515, 0.0018687455, -0.0389137268, -0.0171867628, -0.0122542866, -0.0039660851, 0.120343104, 0.0171400513, -0.0611472912, -0.0419957303, -0.017024504, 0.0321451984, -0.0100548249, -0.0365503095, -0.0134712281, 0.0235574413, 0.0275980476, -0.0559996665, 0.0353728011, -0.0119628478, 0.0225014649, -0.0207566191, 0.0393299125, -0.0163127743, 0.0134338476, 0.0024642234, 0.0126702162, -0.0359862298, -0.0014908988, 0.0528427213, -0.0251486413, -0.0057360223, 0.0188507847, -0.0171830431, -0.0035292788, -0.0412818789, 0.0562965944, -0.0648048297, 0.0141694825, -0.0291060247, 0.0089580007, 0.0425132774, -0.0366033651, 0.0328405313, -0.0208475608, -0.0198180042, -0.0208367035, 0.0607512146, -0.0230732113, 0.0177139807, -0.013983679, -0.0206924826, -0.0513007604, 0.0367472693, 0.0488600135, 0.002932938, -0.011669307, 0.0808177441, 0.008666249, -0.0113647459, 0.0304559544, -0.0098040951, -0.0054896451, 0.0258348677, 0.0412376486, 0.0180781074, -0.0182149094, 0.0529620461, -0.1054600254, -0.0182802491, -0.0056360317, 0.0147328461, 0.0736831054, -0.0279614348, 0.0231265798, -0.0471532829, -0.0142137036, 0.0586389489, -0.0271273702, -0.0385401621, -6.674921244e-33, 0.0398600958, 0.0048203049, -0.0298028737, 0.0463425182, 0.0144823547, -0.0089602014, -0.0130891632, 0.0312148128, -0.0034979903, 0.0001857048, -0.0134448139, 0.0369375311, 0.0039894776, 0.0489552096, -0.021412557, -0.0219276119, 0.063088119, -0.0080225021, -0.0186101291, 0.0466277711, 0.0043245167, 0.0376408733, 0.053013701, -0.0762945563, -0.0403283611, -0.0360800438, -0.0048859757, 0.0138761597, 0.0947201326, 0.037379317, -0.0007697854, 0.0760009438, 0.0542732961, -0.0448221229, 0.009854896, 0.0811033919, -0.0398730598, -0.0581448786, -0.0628245175, 0.0004538475, 0.0194972064, -0.0411540978, 0.0289241951, 0.0088432916, -0.00369305, -0.0045517753, 0.0467879102, 0.0117837861, 0.0278661549, -0.0769047067, -0.0448739901, 0.0442375541, -0.0021514492, -0.0248448402, 0.0226003714, 0.0362294503, 0.0120998761, 0.0450724326, 0.0031194407, 0.0197459832, 0.0303320363, 0.0294682067, 0.0022947756, -0.0285688564, -0.0541745611, -0.007811998, -0.0265568551, 0.0355930217, 0.0157478545, 0.0009028004, 0.0163653642, 0.0219672695, 0.0393846482, 0.0478917174, 0.041186098, -0.0287951212, -0.0548683703, -0.0036438582, 0.0149817262, 0.0223586895, 0.0335829072, -0.0007727377, -0.0142325917, -0.0144808441, -0.0097309258, 0.0066520255, -0.0369265638, 0.0077365041, 0.0067509762, 0.0522239655, 0.0087908795, 0.0152252307, 0.0403523259, -0.0599747561, 0.0008014322, 0.0451426432, -0.0248148683, 0.0318642519, 0.0046181981, 0.0308899432, -0.0698098615, -0.0416039042, 0.039904464, 0.011009831, -0.015778631, -0.0224606711, 0.0342551731, 0.0236556735, -0.0516094081, 0.0242759734, 0.0206726901, 0.0055354424, -0.0392570794, 0.0215763394, -0.0349746309, 0.0342889167, -0.0104431752, 0.0681629255, 0.0545164756, 0.0172243193, -0.0195653941, -0.0325114951, -0.0287549216, 0.015311827, -0.000203965, 0.0040449854, -0.0212204419, 0.0140004186, 0.0093633216, -0.0585277081, 0.0042984318, -0.038929712, 2.575e-7, 0.0632245466, 0.0828283727, -0.0450799763, -0.0369870476, 0.0193470027, 0.0462672524, 0.0395335443, 0.051983498, -0.0097889416, 0.0135699483, 0.0234202612, 0.0252070632, 0.0409439839, 0.0109576993, -0.060861323, 0.0229230188, -0.0717535838, 0.0344478153, -0.0557168946, 0.0132608106, 0.0291513857, 0.1199779212, 0.0171381179, 0.0072576073, -0.0207568388, -0.073034659, 0.0519316979, -0.0377888083, -0.0164274313, 0.0715014637, 0.0574538223, 0.0359573849, 0.0224946849, -0.036204081, -0.022963535, 0.0377916992, -0.0006123057, 0.0344295725, 0.0005057734, -0.012336364, 0.0274318028, -0.0089062303, -0.0170974843, -0.0314784162, 0.0614560694, -0.1188000739, -0.0216456577, -0.0157746505, 0.0069648339, 0.0157455318, 0.0300995428, -0.0128995888, -0.0299985092, 0.0107505182, 0.0403163061, -0.0106911613, -0.0320868939, -0.0966618732, 0.0137496917, 0.025624752, -0.0035519854, -0.0039014441, -0.0396325104, -0.0204728656, 0.0362684987, -0.02277047, 0.0673250109, 2.257079101e-34, 0.0135339657, -0.0191697981, -0.0370286927, -0.0081312144, -0.0181999393, -0.0074907034, -0.0064124614, 0.0057930881, -0.0078479405, -0.0720096529, 0.041955933 ]
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.0017158415, 0.0299485996, 0.0038071389, 0.0151331155, -0.0204379056, 0.0459511578, 0.0354764722, -0.0023875374, -0.0773988739, -0.0341448672, -0.0382232778, -0.0889526531, 0.0813853741, 0.0046989019, 0.0385467149, -0.0456837565, 0.0167887714, -0.0931803212, -0.0238852259, -0.0143361688, 0.0395086594, 0.0069787954, -0.0121336831, 0.0190680474, -0.0006458883, -0.002017281, -0.008681518, 0.021173995, 0.0288358256, 0.0058910428, 0.0347116627, 0.0597139336, -0.0234656595, 0.0546597615, 0.0000022935, -0.040840134, -0.0455387421, -0.0181702413, 0.0132347811, 0.0259524919, 0.0288346335, -0.0550733879, -0.0589558929, 0.0183202866, 0.0089621013, -0.0194393247, 0.0573993437, 0.0354728177, 0.0390313566, 0.040923547, -0.0200215634, -0.0873475224, 0.016453851, -0.0234358981, -0.0223972462, 0.0049104337, -0.0057982542, -0.0316627026, -0.0504721068, -0.0189344585, -0.0436898284, 0.0341926999, 0.0162864421, -0.0188669022, -0.0067886305, 0.0089231599, -0.008287427, -0.0358178094, 0.0149753271, 0.0375895277, -0.054120712, -0.0037114138, -0.0255351812, 0.0306585543, 0.0124868127, 0.0157362483, -0.0022810895, 0.0220905431, -0.0418775491, 0.0109012984, 0.0108903963, 0.0250984542, 0.0088643217, 0.000172257, -0.0493244529, -0.0121224876, 0.0201849807, -0.07234478, 0.0034742362, 0.000544756, -0.0238049831, 0.0112748574, 0.0790425315, -0.032857798, 0.0150790913, -0.0158650018, -0.0173585098, -0.0453541242, -0.0094678383, -0.0554369763, 0.033542756, 0.0861525089, -0.02742498, -0.0177231766, -0.0735972449, 0.0441401601, 0.001021497, 0.0523286052, -0.0466972478, -0.0079605328, -0.0369187966, 0.0166469235, -0.0589536726, 0.0447119512, -0.0284529682, 0.0222483091, -0.0665384009, -0.0041549979, 0.0164398514, -0.0044345572, 0.0362925492, -0.0327100568, -0.0734106973, -0.0389671773, 0.0161327682, -0.0062296945, -0.0054867552, 0.0134379473, -0.0633655041, -0.0593082383, -0.0049072495, 0.008407495, 0.0253640395, 0.0023971028, -0.0009435968, 0.0363949798, -0.0206673052, -0.046579659, -0.0371184796, 0.0754281059, -0.0247865953, -0.0000094502, -0.0570745878, -0.0555704385, -0.0168034285, 0.0153728286, 0.0185939856, -0.0203248598, -0.0137897218, 0.0147552695, 0.0497889705, 0.0881778449, 0.0010174053, -0.0076023433, 0.0741862804, 0.0127175422, 0.0135697508, 0.0483327098, 0.064485006, 0.0173181854, -0.0412075669, -0.009066849, 0.013845494, 0.0676418841, -0.0089300266, 0.0125238402, -0.0380970687, -0.014944125, -0.0068273256, 0.0387675501, 0.0178797562, 0.0735231563, -0.0514414907, -0.0010940068, 0.0760112926, 0.0100676669, 0.0152445296, 0.0435054004, -0.0025548006, 0.0255433321, 0.0229335874, 0.0086328043, 0.0441397987, -0.0174719319, 0.014174059, 0.0268000551, 0.0271009132, 0.0449039228, -0.0202725772, -0.0480175093, 0.0195824392, -0.0387611613, 0.0091286357, -0.0086706681, 0.0808798298, 0.0289061312, -0.0943343267, 0.0677926093, -0.0173358247, -0.0448048972, 0.014883128, -0.0610804707, -0.0288037676, 0.0399760082, 0.0677534118, -0.0053562564, -0.032208968, -0.0419059172, -0.0305826701, 0.061817158, -0.0050318004, 0.0066068373, 0.0285877865, -0.0820224881, -0.0225952622, 0.0574049875, -0.0013764357, 0.0251692906, -0.0077831992, 0.0664461777, -0.0158560537, -0.0398376808, -0.0296417549, 0.0334865451, 0.0257864594, -0.0006026828, -0.0011610454, 0.0194955729, 0.0105238352, 0.0150066791, -0.0432468392, -0.0150501942, -0.0324739814, -0.073299557, -0.0089203641, 0.005587413, -0.0594921261, 0.011209392, 0.0496056974, -0.0415918976, -0.0040629404, 0.068074204, 0.012678396, -0.0358139798, -0.0055219335, -0.0499070548, -0.008041692, -0.0578272305, 0.0667983964, -0.0284996461, 0.0182894617, -0.020301953, 0.0319974646, -0.0187422708, -0.0279779788, -0.0124454526, -0.0210756324, 0.0579412542, 0.0176785178, -0.0201897509, 0.0215952713, -0.0044820956, 0.0089053875, 0.037962731, 0.0016413198, 0.0020734495, -0.0714121908, -0.0310573876, -0.0172908418, -0.0256325155, 0.0493180789, -0.0217737742, 0.0271930173, -0.0171330217, -0.0208923332, -0.0056393836, -0.0722009614, -0.0241722353, -0.0256667789, 0.0478395745, -0.0100421477, -0.0111887725, -0.0334637687, -0.0127737932, 0.0411490984, 0.0287607163, 0.0260286964, -0.0567962937, -0.0231767464, -0.0158552546, 0.0738162026, 0.0060067303, 0.0328726023, -0.0652420372, 0.018799236, 0.0105317291, 0.0233306512, 0.0005827748, 0.0233974718, -0.0222853329, -0.0123180924, -0.0116786109, -0.0555232801, 0.0096709803, 0.0082276715, -0.0103448499, -0.0660831705, -0.0594588295, -0.0181243662, 0.0245976113, -0.0235375445, 0.0269903466, -0.0936036408, -0.0416014716, -0.0052372087, 0.0084893871, -0.0011588263, -0.0373431779, -0.0041203382, 0.0361278914, -0.0068525909, -0.0272455066, 0.0391286984, -0.0485029668, -0.0254963562, -0.0361813754, 0.0712401867, -0.0271737035, -0.0402546562, -0.0311401915, 0.0142426779, -0.0094577782, -0.0720238537, -0.0462747589, -0.0158463866, 0.0375707038, -0.0413373336, 0.0062149437, -0.0263745598, 0.012431819, -0.035542015, -0.0214447547, -0.0252265036, 0.0456421524, -0.0254922509, 0.0005895667, 0.0432692766, -0.0331155024, -0.0193576459, 0.040855743, 0.0186326709, 0.0763053373, 0.0160397943, -0.0108281234, -0.0061416053, 0.028210124, 0.0033225329, -0.0416864045, -0.0081950324, -0.0406148694, 0.0498795882, 0.0183137674, -0.0210980512, 0.00356929, -0.0531341285, -0.0165109616, 0.0516475327, -0.0213628095, -0.0078320308, -0.0554760844, -0.0108235115, -0.0207302216, 0.0133224297, 0.103871882, 0.0062777428, -0.0562541448, -0.0227904767, 0.0234383754, 0.0084382985, -0.0530948937, -0.0367245078, -0.0919154361, -0.023438843, 0.0442273617, 0.0545014963, 0.0370030366, 0.0311486479, 0.0527523458, -0.0775633976, -0.0142479595, 0.0137473196, 0.0090641864, -0.0785925239, -0.0115343798, -0.0201959666, -0.0227890611, 0.0210081302, -0.0255324896, 0.0144019639, 0.0315487906, 0.0725556388, -0.0023446786, -0.0509334877, -0.0026498246, -0.0167471729, 0.0327937938, 0.0613439903, 0.0077309245, -0.0208778288, -0.0444444045, 0.0232315697, -0.0301324874, -0.0441252925, -0.0085028596, 0.0343539678, -0.0263199601, -0.0078199403, -0.0155760907, -0.021136485, -0.0436470322, 0.0216163658, -0.0212218352, -0.0191821028, 0.0075960592, 0.0437023826, 0.0320564061, -0.0218454041, -0.0485093556, 0.0360471532, -0.0256607719, -0.0473026857, -0.0410980061, -0.0072201313, 0.0010952074, -0.1047483981, -0.0381559283, 0.0177388545, 0.0367006883, -0.0752339736, -0.0603557415, -0.0343475044, 0.0068873679, 0.0147570996, 0.0172812399, 0.0100228842, -0.0037311802, 0.0704465359, -0.0186765417, -0.0186498109, 0.0311659127, 0.0223580021, -0.0941424072, -0.0199146289, -0.0015815393, -0.0708536357, 0.0245738961, -0.0208956562, -0.0170858093, -0.0329968669, 0.0620963201, 0.0092298407, 0.0153619479, 0.0044160155, -0.0118451165, -0.0442946665, 0.0791339651, 0.0440075919, -0.0226351041, 0.0086095259, 0.0443349145, -0.0336962864, -0.031132726, 0.035919521, 0.0118934037, 0.0152952801, -0.0018596422, -0.0168676935, -0.0327605829, -0.031272918, 0.0096684722, -0.0122766439, 0.0240113717, -0.0531584546, -0.0312396437, -0.0390902758, 0.0442218147, 0.0020811791, 0.0715232417, -0.0336944573, 0.0173936542, 0.0501596928, 0.009837565, 0.0045089582, 0.0091375792, 0.0185747519, -0.0667543933, -0.0060984464, 0.0434308685, -0.0121024782, 0.0515463874, 0.0205054749, 0.0056515364, 0.013516576, -0.0214989055, -0.00846917, 0.0247845016, -0.0086621447, 0.0059421044, -0.0080982326, 0.0367047489, 0.0430363268, 0.0747000277, 0.0105874306, 0.0066725053, -0.0525129735, 0.0391305834, 0.0350188017, 0.0266850609, 0.0613148026, -0.0103099821, 0.0265046451, 0.0137112038, -0.0210047662, -0.0033450299, 0.038695544, -0.0251548849, -0.0044131256, 0.0113455225, -0.0063008573, 0.064028427, -0.0147361932, 0.0184091162, -0.0190383922, -0.0083863912, -0.0273736585, -0.0078451848, 0.0019852803, -0.0294041149, -0.0699958652, 0.0335655324, -0.0190386176, -0.0446506068, 0.0438486002, -0.0047393627, 0.0346327573, -0.0035716675, 0.0218016971, 0.0315575935, -0.0112743909, -0.0190806743, -0.01213904, -0.0106785102, 0.0210365541, -0.0336624011, -0.0009354997, -6.22058827e-33, 0.0166021548, 0.0268605128, -0.0247636456, 0.0057708337, 0.0112479469, -0.0040356154, -0.00275755, -0.0054398803, -0.0033291257, 0.0045497715, -0.0076338034, 0.0275204387, 0.0347012617, 0.0149318902, 0.0113189695, -0.0072166761, 0.0595683455, -0.0250519533, -0.0198658295, 0.0346292295, 0.0028026598, 0.0603122264, 0.0772555992, -0.0283940434, 0.0053536589, -0.0302212387, -0.0447181687, -0.0074978997, 0.0077496455, 0.0440876335, -0.0201728977, 0.0533565171, -0.0096357996, -0.0140062412, 0.0190465208, -0.0115408953, -0.0627054125, 0.0507150367, -0.0279901456, 0.1045904309, 0.0014273691, -0.0589145459, 0.0077033243, 0.0200634766, -0.0538149141, 0.0077561932, -0.002709711, -0.0453111492, 0.0058380212, -0.0256679952, -0.0558328107, 0.0696138814, -0.0259172861, -0.0417477451, 0.0972243026, 0.0475682244, -0.0072920281, 0.0023595749, -0.0487486534, 0.0014059057, 0.0389400832, 0.0464642942, 0.0390453935, 0.0030334047, -0.0566311777, -0.009126029, 0.0526882298, -0.0296021495, 0.0714638904, -0.0374199748, 0.0229463056, -0.046031706, 0.0362544656, 0.06079261, 0.0560454577, -0.0322002769, -0.0342294313, 0.0519285798, -0.0312529504, 0.0262255687, 0.0358440503, -0.0065725632, -0.063500829, 0.0135876555, 0.0095311571, 0.004270379, -0.0021673054, 0.0259426087, 0.0020382325, 0.0062963627, -0.0230362937, 0.0179772768, 0.0199872348, 0.0068921107, 0.066689305, -0.0225958265, -0.0130598731, 0.0189910308, -0.0241389479, 0.0285159647, 0.0026182139, -0.063862212, 0.031426549, 0.0562519394, -0.0119350115, -0.0021628342, 0.030739272, 0.072528705, -0.0860415176, 0.0223040599, 0.0053981654, 0.0437662154, 0.0210593119, 0.0755089, -0.0180680435, -0.0006623551, 0.0111489305, -0.0039438116, -0.0066193496, -0.0088061793, -0.0244301017, 0.0181549583, -0.0177338105, 0.0046056476, -0.0106531586, 0.0115014855, -0.014051998, -0.0004526201, -0.0065616448, -0.0398741923, -0.0207667258, -0.0117139723, 3.04e-7, 0.0692965388, 0.0447496697, 0.0608859584, -0.0154099306, -0.0045411307, 0.0248207171, -0.0023028636, 0.0219779518, 0.0443526395, 0.0512154549, 0.0249811001, -0.0185633693, 0.0772389248, 0.0014150017, -0.0566935465, -0.0386962071, 0.0017972783, 0.0732173622, -0.0384272859, 0.0400428735, 0.0378625095, 0.0798114166, -0.0828381628, -0.023317894, -0.0068941866, -0.024798641, 0.0488617383, -0.0000059707, 0.0273589827, 0.0310778152, 0.0290346164, -0.0340376608, -0.0116170524, 0.0137478868, -0.0279637258, -0.0032129958, 0.0380335376, 0.0526062362, -0.0115755554, -0.0046643973, 0.0275526661, 0.0082276091, -0.0420386717, -0.0551968738, 0.024729576, 0.0031013521, -0.0063287234, 0.0657806769, -0.0438109562, 0.0190015305, 0.0371178165, -0.0326868705, -0.0253170878, 0.0269899778, 0.054612577, 0.002795073, -0.0030340473, -0.0364065506, 0.0000846539, -0.0651307553, -0.0024900471, -0.0073771328, -0.0248175394, -0.0373319499, 0.0184904803, -0.0079799434, 0.0210325867, 2.507655237e-34, 0.0578529276, -0.0187985972, 0.0067687533, 0.0104324138, -0.0006444168, -0.0240082201, 0.0316737071, 0.0022263005, 0.0123599684, -0.0346704163, -0.0315613411 ]
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.0159128215, 0.0734933168, -0.0039802347, 0.0398555249, -0.0108973337, 0.0021853885, 0.0392803773, -0.0147060081, 0.0285654701, -0.0110827908, -0.0217240136, 0.0076955208, -0.0185066406, -0.0027106677, 0.0709467828, 0.0217313468, 0.0835719854, -0.0205669124, -0.0231269728, -0.0102610979, -0.020897774, -0.0398158208, -0.0409313738, 0.0208598226, 0.010302214, -0.034177091, -0.028847266, 0.0272550564, 0.0228786226, -0.0476844013, -0.0087982481, 0.0203369297, -0.0369998962, 0.0671969801, 0.0000018924, -0.0607699491, -0.0343371332, 0.030124912, -0.0548574328, -0.0075049056, 0.0013896623, -0.0279228464, -0.0186506379, 0.0199242253, -0.0399914086, 0.0401377119, 0.0463677868, 0.0670382604, 0.0394650511, 0.0952195078, 0.0146506978, 0.0004525549, 0.0403906778, -0.0341099054, 0.0215187464, -0.0392856188, 0.0029786003, -0.0668212473, -0.056547299, 0.0138593232, 0.0184787214, 0.0152183957, 0.0111046685, 0.0250238683, -0.0088248402, 0.0330099948, -0.016417902, -0.0377046429, -0.027385192, 0.0396485217, -0.0036396207, -0.0108558908, 0.0209868234, -0.0088965967, 0.04922821, -0.0145267677, -0.0116285011, 0.0292566698, -0.0078910058, 0.0092012864, -0.016854072, -0.0031971438, 0.0535254292, -0.0023954683, 0.0132378191, 0.0627145767, 0.0065165618, -0.0301191397, -0.0257063918, -0.0157351047, 0.0252260175, -0.0724566206, -0.0356819928, 0.0216397475, 0.0004061939, 0.012453449, -0.0870450735, 0.0063379807, 0.0679902509, -0.0318583399, 0.0278665386, 0.0165423844, -0.0086613707, 0.0025978936, -0.0318173915, 0.0442983918, -0.0301227104, 0.0927516818, -0.0279321652, 0.0553932525, 0.0138840852, -0.0155307809, 0.0468658619, 0.0296520088, -0.0213168729, 0.0114213768, -0.0482775643, 0.04317322, -0.0381566435, 0.0752801895, -0.0551658608, 0.0162811521, -0.00675839, 0.0211013928, -0.0137323979, -0.0577958599, 0.0071984599, 0.0092362808, 0.0181383695, -0.0704300106, -0.0486065447, 0.0057772286, -0.0850320831, -0.0393494815, -0.0103246048, 0.1487243623, 0.0335853398, -0.0172135439, -0.03329302, -0.0533511043, -0.0118400948, -0.0237989295, 0.0440301448, -0.0446654931, 0.0001111125, -0.0073563564, -0.0294347163, -0.0936400965, 0.0144219659, -0.0021419364, -0.027165994, 0.1096490473, 0.0047339038, -0.0295643434, 0.0378300399, 0.0370065793, 0.0000142705, 0.0280344859, 0.0405309238, 0.0387483984, 0.0477022305, -0.0158221256, 0.061342407, 0.0121360738, 0.0222491175, 0.0211017411, -0.0235053804, 0.0364117175, 0.0033336328, 0.0507902801, 0.0168934483, 0.013155126, -0.0012309313, -0.0634547845, 0.0824635923, 0.0617403202, 0.000003295, 0.0249377359, -0.0357521102, -0.0256081969, 0.0020694232, 0.0162983816, -0.1160840839, 0.0313822031, -0.0848567486, -0.0012094366, -0.0106377937, 0.0353096202, -0.0232444182, -0.041677665, -0.0372250788, -0.0237943977, 0.0120783141, -0.0058797337, -0.0011405586, 0.0137928259, -0.0226026662, 0.0482022464, 0.0192967411, -0.062156219, -0.0482642353, -0.0877851024, 0.0359384678, 0.0257558301, 0.0283136833, -0.0303102173, -0.0400234908, -0.0307519361, -0.0167043265, -0.006270865, 0.0281599443, 0.0125213154, 0.0169463474, -0.0070878724, -0.0535067283, -0.0391617753, 0.0075122402, 0.0027489639, 0.0171605591, -0.0164964199, -0.0210214332, -0.0497576743, -0.017986685, 0.0738580376, -0.0053683748, -0.0757136196, -0.0162996687, 0.0348965451, 0.0324042179, 0.0238541849, 0.001254637, 0.0331638195, 0.0605209991, 0.0175545271, 0.0079525961, -0.0368962176, -0.0055162753, 0.022695573, 0.0505557656, -0.0161893684, -0.0247839838, 0.0514193624, -0.048043374, 0.0066701402, -0.0032020905, -0.010655473, 0.0041102385, -0.0062212241, 0.0087684151, 0.0103496322, 0.0064026164, -0.0643551648, 0.0358185731, -0.0259666909, -0.0235804934, -0.036103677, 0.0139864832, -0.0019226869, -0.0423345156, -0.0234057233, 0.0187974274, -0.0312279966, 0.0191198904, 0.0081159649, -0.005935519, -0.042179171, -0.027243562, -0.0287707336, 0.0160638224, 0.003817999, 0.0329150409, 0.0025322218, -0.0431575291, -0.0350717194, -0.0207935646, -0.0121290563, -0.0258395653, -0.0112525458, 0.016236417, 0.0430363119, -0.0169380475, -0.0235115159, -0.0486571863, -0.0068676616, -0.0147710824, 0.0480991937, -0.0137366364, 0.0074335537, -0.0247397665, 0.0177376382, -0.0363651291, 0.0267109107, -0.0095047886, -0.052334547, 0.060730312, 0.0361971147, -0.0318825431, 0.0843619183, 0.0393100269, 0.0635327846, 0.0754904971, 0.0610692017, -0.0527330898, -0.0097484132, 0.0034137329, -0.0282641444, -0.0438718572, 0.0051546576, -0.013198127, 0.042787157, 0.004138412, 0.0016502114, -0.0260310955, 0.0554280579, 0.0320215449, -0.0721290633, 0.0082445601, -0.0194517337, -0.0427618176, 0.0323417932, -0.0082265306, -0.0812872797, 0.0632096753, -0.048260089, 0.016859306, 0.0404761098, -0.0418221839, 0.0021497374, 0.0475542992, -0.0058568418, 0.0030435051, 0.057779666, -0.024575362, -0.0682830364, -0.0274915975, 0.026571041, -0.0436578766, 0.0309538655, -0.0142912669, -0.029380152, -0.0166061856, -0.0443090759, -0.0804176033, -0.0521240719, 0.0012654928, -0.0270958915, -0.0565267168, -0.0164316483, -0.0216808934, -0.0551368557, 0.032465972, -0.0338385962, -0.0132445991, -0.0065961191, -0.0426600985, 0.0005205969, 0.0383131988, -0.0187254082, 0.0537132509, -0.026166793, 0.0220765322, 0.0939387754, 0.0307972468, 0.0274916012, -0.0457544141, -0.0138231311, 0.023876356, -0.0103680594, 0.0016400334, 0.0283531472, 0.063242197, -0.0108138118, -0.0012739488, 0.0574369878, -0.0004767266, 0.0120462319, 0.0350603871, -0.0076146764, 0.0232440345, 0.0199635495, -0.0073034968, -0.0469898991, -0.0030147478, 0.0316963717, 0.06824141, -0.0229899082, -0.0269713812, 0.0086801825, -0.093987748, 0.0293318275, 0.0117124273, -0.0348885171, -0.0270723961, -0.0146205146, 0.0091824345, -0.0345952362, 0.0471518934, 0.0030587937, 0.0025948039, -0.001130929, 0.0505057387, -0.0169383232, -0.0166849233, -0.0283551905, -0.066186823, 0.0772063062, 0.0883887485, -0.0080069853, -0.0297207292, -0.0395262875, 0.0511141866, 0.0341879725, -0.0053862315, 0.019409053, 0.0354864635, -0.0034389193, -0.0011768902, 0.0141710993, 0.0488199778, -0.0174656417, -0.0377899669, 0.0298330802, 0.0094016176, -0.0327842385, 0.0126463845, -0.0504105128, -0.0074355532, 0.0178364813, 0.0705435276, 0.0089137675, -0.0163359139, -0.0350755118, -0.0683669001, -0.0061953478, 0.011447343, -0.0354166403, 0.0287937894, -0.0110141495, -0.0235875212, -0.0497553721, -0.0430589728, -0.0273840819, 0.0226625539, 0.0071472423, -0.0414860398, -0.0611094907, 0.0148933819, -0.0376907252, 0.0052587315, 0.0110185528, 0.010118681, -0.042539414, 0.0344301164, 0.0027264196, -0.0428020023, -0.0002724114, 0.0329995602, -0.0937675163, -0.0767336413, 0.0292831715, 0.0741877854, 0.0275137201, 0.0490601473, -0.0023879169, -0.0213726219, 0.0900598392, 0.0699655712, -0.0155678224, 0.0253761951, 0.087734215, -0.0062223901, 0.007315224, 0.0085612051, -0.01307193, -0.0280197747, 0.0744337291, -0.0091068409, -0.0802232027, -0.047019206, 0.0054888465, 0.0205968041, 0.0748322159, -0.0365010798, 0.0049873865, 0.0263253935, 0.0319519974, -0.0011150363, 0.0176221915, -0.004076906, -0.0086837308, 0.016702164, -0.0040582749, 0.0491292775, -0.0056698965, 0.0125921611, 0.0537528545, -0.0235342868, 0.0256004706, 0.0123019125, 0.0290503372, 0.0368759781, 0.0270353705, -0.0173462424, 0.0566657297, 0.0129673313, 0.0127593568, 0.0336701721, 0.0069652288, 0.0146652227, 0.0472334474, -0.0165957119, 0.0457757711, -0.0815545842, -0.0602715686, -0.0229894966, 0.0340799019, -0.0010340735, 0.030159764, -0.001849276, -0.0141623272, -0.0145767415, -0.0087051764, 0.001889476, -0.0332754701, 0.0048830057, 0.0342958122, 0.0043494352, -0.0219905153, -0.0264837034, 0.0561294109, 0.0291621108, 0.0694212765, -0.0260519776, -0.0077629299, -0.0443496555, -0.0408032797, 0.0370379835, -0.0061859423, -0.0023486067, -0.0508417301, -0.0309521649, -0.0707221925, 0.0119019225, 0.0616163947, 0.0166192707, -0.0029706177, 0.005859788, 0.0586138107, -0.0067234961, 0.0198536906, -0.0328937843, -0.0172306187, 0.0400430821, -0.0560018755, 0.0095563317, -5.651203785e-33, -0.008640321, -0.0558632948, 0.0124767553, -0.0000702624, -0.0183300674, -0.0245657731, 0.0087845, 0.008002012, 0.001549843, -0.0341295563, -0.0113575952, 0.010400393, -0.0028717155, -0.0074819052, 0.0211497638, -0.0717333555, 0.0067072907, -0.0317953639, -0.0258762706, -0.0232613701, 0.0114804273, 0.0211430565, 0.0152031444, -0.0649316683, 0.06642171, 0.0032513912, -0.0552842543, -0.0094478624, -0.0526122339, 0.0723521337, 0.002086089, -0.005720194, -0.0267779361, -0.0018320878, -0.0036652761, 0.0318422131, -0.0253305323, -0.0224175863, -0.0184977613, -0.0320705958, -0.0293969885, -0.0630120784, 0.0478110984, -0.0060359146, -0.0543486811, -0.0130615216, 0.0094557432, -0.0161313731, -0.006840548, -0.0045446814, -0.0034929418, -0.0043949885, -0.0247365236, -0.0201961976, 0.0039553246, -0.0081012556, 0.0278640259, 0.0171117745, -0.0491312817, 0.0179852173, 0.0231720954, -0.0054309336, 0.0913416073, 0.0207430292, -0.0156301893, 0.0538563728, 0.0481769033, -0.0231102798, -0.0018045777, -0.0082841897, -0.0100153349, 0.0460106805, 0.0645260066, 0.0546661839, 0.0097229015, -0.0110244825, -0.0615991093, 0.0201936997, -0.0363102481, 0.0118820844, 0.0035552958, 0.026363831, -0.0357695892, 0.033925999, -0.0024605338, -0.0646895021, -0.0200989805, -0.0140538178, 0.0097984979, 0.0014389326, -0.0226764213, -0.0140640652, -0.0120882951, -0.0313131437, 0.0116299242, -0.0057787057, 0.0200421456, -0.0333580859, -0.0084622409, 0.0004822703, 0.0011365969, -0.0063223019, -0.010607928, -0.0399959199, 0.0570091866, 0.0178109612, 0.0467794724, 0.0222074091, -0.0620016046, 0.012664102, -0.0278533008, 0.0491184071, 0.0284329858, -0.0062224059, 0.0337524079, -0.0324495062, -0.000216109, 0.0221566055, -0.0136263482, -0.0086082928, -0.0426025353, 0.0418760255, -0.0263644066, 0.0285461638, 0.0027350127, -0.0113063473, -0.0049863895, 0.052066084, 0.0576347075, -0.0619916394, -0.0032364137, -0.0109759439, 2.713e-7, -0.0145098791, 0.0016676417, 0.0599369183, 0.0071206368, 0.0032895782, 0.0878290981, -0.0210409816, 0.1043233126, -0.0228955336, -0.0370285921, 0.0165116359, -0.0011904493, 0.0630364865, 0.019055102, -0.0195681229, 0.0121535659, -0.0720702931, 0.0314160585, -0.0428146161, 0.0453639925, 0.0387285091, 0.0593237132, 0.0377218053, -0.0132080605, -0.016430581, -0.0297568254, 0.0152364392, -0.0566360056, 0.015217145, -0.0038138726, 0.0533611812, -0.0040346631, -0.000630746, 0.0049145217, -0.0351163223, -0.0311611108, -0.0039601675, 0.0515651032, 0.014808597, -0.0594282113, -0.0444656014, -0.0249896441, 0.0063224393, -0.0244303588, 0.0460293368, 0.0067514684, -0.0062097036, -0.0254689939, 0.0031422977, -0.0239827819, 0.0522239618, -0.0125955204, 0.0265500657, -0.020865282, 0.0002194951, 0.0095312744, 0.0248946194, -0.0476573333, -0.0325779431, -0.0293893907, -0.0291640162, -0.0465326235, 0.0146528464, 0.0393209681, 0.0250738263, -0.0236700419, -0.0524167866, 2.427831823e-34, -0.0296444148, -0.0351783894, 0.0021767593, 0.0135554271, -0.0048939758, 0.0070362506, -0.0025232241, 0.0068865581, 0.0030506167, -0.007536029, -0.0098581584 ]
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.0125536853, 0.0718421489, -0.0019274451, 0.027406754, -0.0120437387, 0.0113115134, 0.0349602476, 0.0002615993, 0.0070988708, -0.0043106833, -0.0023534046, -0.0190789867, -0.0111600561, 0.0174311493, 0.0570516139, 0.0272487514, 0.1057830378, -0.0294191241, -0.0203941111, -0.0036801652, -0.013100205, -0.0349691436, -0.0254096892, 0.0286874305, -0.0013332475, -0.0142713198, -0.0433296934, 0.0442146361, 0.0242246352, -0.0462323353, -0.0022371504, 0.0255398527, -0.0203548316, 0.0618468039, 0.0000018223, -0.0480016433, -0.0420171246, 0.0298083741, -0.0652588308, -0.0160955358, -0.0081443246, -0.0333686955, -0.0241005085, 0.0211850442, -0.0304847546, 0.0488186963, 0.0627813414, 0.0732147768, 0.0238522105, 0.0948014259, 0.0143916244, 0.0024454719, 0.0325807855, -0.0284749456, 0.0348310657, -0.0285016317, 0.0171727333, -0.0635654777, -0.0448912047, 0.016603969, 0.0070069577, -0.0000801614, -0.0027143173, 0.0304548871, -0.0093471119, 0.0362088867, -0.0297073349, -0.043960575, -0.0304844379, 0.032675337, -0.0089541702, -0.0031007268, 0.0304916948, -0.0108560603, 0.0437211543, -0.0261188466, 0.0016734067, 0.0512147397, -0.0136671029, 0.022460226, -0.0140639879, -0.0236975364, 0.0507052764, -0.0232850388, 0.0103146732, 0.079997085, 0.0033293772, -0.0415598117, -0.0284281205, -0.0233329684, 0.0188105665, -0.07198219, -0.0374732837, 0.0104371579, -0.0191340894, 0.0284121968, -0.0875811204, 0.0170955025, 0.071504049, -0.0449061841, 0.0155633921, 0.02518625, -0.0039929776, -0.0063278764, -0.0320229605, 0.0338699892, -0.033295121, 0.0943754539, -0.0102785025, 0.0620655417, 0.0111301579, -0.023186652, 0.0413740017, 0.0361799747, -0.0319031663, -0.001745012, -0.0403034836, 0.0490897931, -0.0163106881, 0.0685751513, -0.0469531193, 0.0082572605, -0.0169273783, 0.0317655616, 0.0069933766, -0.0529504605, -0.0060930206, 0.0208630785, 0.0275405925, -0.0637703687, -0.0376757942, 0.0006636362, -0.0760268494, -0.0344197936, -0.0067599746, 0.1319512129, 0.0283912644, -0.0191356521, -0.0546139553, -0.065428406, -0.0126820086, -0.0158521999, 0.0357401781, -0.0392380804, -0.0042833751, 0.0073152264, -0.0298035927, -0.0808506608, 0.0280889925, 0.0000179397, -0.0506757386, 0.1041173562, -0.0138353063, -0.0327115618, 0.0180633869, 0.026632119, -0.0104077868, 0.0362490565, 0.0388489999, 0.0296764467, 0.0521871001, -0.00977566, 0.0456796959, 0.0198413096, 0.0036355853, 0.016156856, -0.0207602084, 0.0228341799, 0.0321692973, 0.0372433104, 0.0358485281, 0.0202486701, 0.0022512178, -0.0477648377, 0.0708822384, 0.0813213736, 0.0085530346, 0.0213010665, -0.0355326161, -0.0262283925, -0.0211729184, 0.0131120356, -0.1254975498, 0.0037027283, -0.0828543901, 0.0159115735, -0.0160526242, 0.0467692912, -0.0161552057, -0.0271770526, -0.0416840278, -0.0310240816, 0.0052648354, -0.0280247666, -0.0108790072, -0.0158139318, -0.0336262882, 0.0809963271, 0.0372803137, -0.0702838972, -0.046811983, -0.0656542704, 0.0346444547, 0.0434507281, 0.0188571904, -0.0295301098, -0.0572966151, -0.0352774821, -0.0178949703, 0.0073297452, 0.0055685206, 0.0214499384, 0.0302227158, -0.0066967872, -0.0411801562, -0.0018651375, 0.0148084639, 0.0041764108, 0.0191316735, -0.0113729825, -0.0135480305, -0.0448876135, -0.011001938, 0.0778857544, -0.0136849973, -0.0643651634, -0.0366710834, 0.0251302756, 0.01712914, 0.0167375803, -0.0124658737, 0.0192585904, 0.0583234653, 0.0184381977, 0.0132634146, -0.0258517805, -0.0250851642, 0.0374653749, 0.0667114556, -0.0181772187, -0.004136615, 0.0384500436, -0.0409974381, -0.0035683797, -0.0119592827, -0.0198628791, 0.0272117928, 0.0043614064, 0.0308699403, 0.0122758206, 0.0005918824, -0.0614723973, 0.0286146179, -0.0250191297, -0.0187499933, -0.0355769545, 0.0057073669, 0.0020293468, -0.0313220546, -0.0326496959, 0.0235863514, -0.0178470053, 0.0139627252, 0.0074933339, 0.00015796, -0.0447991714, -0.0374921449, -0.0365703069, 0.0135292951, 0.0084208678, 0.031294059, -0.0067981398, -0.0234436747, -0.047020454, -0.0173545014, -0.0129880263, -0.0347007997, -0.0198712051, 0.0159989353, 0.0539990179, -0.017117925, -0.045404911, -0.0500976704, -0.0092716385, -0.0211917926, 0.0366750434, -0.0185876675, -0.0116144763, -0.0522550866, 0.0357787348, -0.0263930988, 0.0184233654, -0.0090475287, -0.0349757299, 0.0569544546, 0.0278918911, -0.0166742317, 0.0736876205, 0.0321065858, 0.0519083217, 0.0578908436, 0.0546271801, -0.0550438091, -0.0162102953, 0.0088529931, -0.0285682846, -0.0572057441, 0.0052357018, -0.0214441214, 0.0464906916, -0.0206499472, 0.0079832859, -0.034587536, 0.0353807695, 0.0425345004, -0.0704738945, 0.0114135966, -0.032702554, -0.0590132326, 0.0371247232, -0.0143769048, -0.077159673, 0.0500227772, -0.0487367101, 0.014780798, 0.0414023288, -0.0344813205, -0.0064511527, 0.0279900748, -0.0073648104, 0.0039945985, 0.0706589147, -0.0439617522, -0.0518895499, -0.0184082184, 0.004106421, -0.0396019034, 0.0440077633, -0.0166410264, -0.0251806583, -0.0306612067, -0.0443058796, -0.0696823075, -0.0474319384, 0.0026559988, -0.02749083, -0.032841552, -0.0404267237, -0.0281918943, -0.0441509262, 0.0328946002, -0.0346182473, -0.0175019745, -0.0029102766, -0.0513298698, -0.0109732663, 0.0404247716, -0.0230740532, 0.0464849062, -0.0358552001, -0.0037758315, 0.0905605629, 0.0279000383, 0.0106567368, -0.0397224315, 0.0027526424, 0.0241925623, -0.0216303933, -0.009775213, 0.0352917165, 0.0789016411, -0.011128217, -0.0106412889, 0.0683758855, 0.0043939669, -0.0073945867, 0.0429692455, -0.0101921912, 0.0474756584, 0.0187597927, -0.0048850356, -0.0612144768, -0.0077423863, 0.0400090851, 0.0623555593, -0.0324272551, -0.0332176797, 0.0016704923, -0.1006355286, 0.0233874116, 0.0285394508, -0.0353459194, -0.0353772976, -0.0192590281, 0.0129335262, -0.0139225833, 0.0612843037, 0.0155381914, -0.0047305515, -0.0029119591, 0.0570047982, -0.0095752552, -0.009213144, -0.0362890214, -0.0704757497, 0.0958889797, 0.0825517774, -0.0359743126, -0.0324649066, -0.035962306, 0.0500234701, 0.0605287924, 0.0130696641, 0.0075433571, 0.019487014, 0.0076950733, 0.0072445069, 0.011298513, 0.0445301756, -0.0258376002, -0.0390615016, 0.0199562833, 0.0263559315, -0.0297452994, 0.017472947, -0.0531258807, -0.0188771766, 0.006731329, 0.0650986657, 0.0131928241, -0.0140588162, -0.043778237, -0.0707346275, -0.0016196403, 0.009706785, -0.0098646628, 0.0106541691, -0.0228359196, -0.024030719, -0.0334579311, -0.036155533, -0.0170392059, 0.0309305228, 0.0159295071, -0.0428357013, -0.0475248657, 0.0124574471, -0.0416714065, 0.0060295691, -0.0007166588, 0.0189282335, -0.0643040016, 0.0474998467, -0.0083417129, -0.0212444998, -0.0033030713, 0.0164018776, -0.095271647, -0.0872469544, 0.0432643332, 0.058891125, 0.0348153599, 0.0409469046, 0.0121704098, -0.0178951323, 0.0715987608, 0.0721681863, -0.0179227889, 0.0479469821, 0.072708115, -0.0105724046, 0.0042023235, 0.0015005887, -0.0160021912, -0.0392733403, 0.0664165989, -0.0012222485, -0.0843138322, -0.0420959853, -0.0094606178, 0.0248491373, 0.0483730398, -0.0396778919, -0.000498364, 0.0215837508, 0.043339774, -0.0115630645, 0.0264214557, -0.0026141498, -0.0070245503, 0.0005322496, -0.0043759057, 0.0388116091, -0.0255578216, -0.0001922597, 0.0716306418, -0.0252076369, 0.0241648201, 0.0133781796, 0.0196563136, 0.0542956367, 0.0166389458, -0.0214704238, 0.0621522069, 0.0074506337, 0.0240118634, 0.023234101, 0.0013786671, 0.0186526142, 0.0443753414, -0.037044622, 0.0447005555, -0.0816381499, -0.0522080325, -0.0190448742, 0.0328315124, -0.0027896997, 0.0273515154, 0.004267849, -0.014305626, -0.0070354873, -0.0195932612, 0.0056867986, -0.0230681207, 0.0040706364, 0.030762976, 0.004541839, -0.0275267959, -0.0205414724, 0.0629452989, 0.0164763257, 0.0813027769, -0.0331055224, -0.0099387802, -0.0455143526, -0.0279645007, 0.0559790209, 0.011856541, -0.0087381471, -0.0427174196, -0.0445939861, -0.0568269975, 0.0310887415, 0.0353664979, 0.0237105023, -0.0123801772, -0.0001735031, 0.0495632589, -0.0065523079, -0.006344249, -0.0187195707, -0.0398504958, 0.0518092476, -0.0370014049, -0.0074630729, -5.490668726e-33, -0.0093241595, -0.0331760347, -0.0024256622, 0.0261805709, -0.0295926686, -0.0320809856, 0.0060939179, 0.0283095483, 0.006755156, -0.0387613624, -0.0204948708, 0.00890713, 0.0110789798, -0.0076908534, 0.0262961872, -0.0618370287, 0.0058880434, -0.0106162336, -0.0262398813, -0.0206825174, 0.0266575757, 0.039522551, 0.0128535833, -0.0640287474, 0.0627496764, -0.0028954796, -0.0548127145, -0.0115160188, -0.0498570725, 0.0674542934, 0.0097718444, -0.0119716097, -0.0236895364, -0.0088840807, -0.0136907147, 0.0420231298, -0.0160163771, -0.0152097968, -0.0100854961, -0.0234040972, 0.0082064206, -0.0808243901, 0.0533530228, -0.0019075084, -0.0433568917, -0.0161593147, 0.0133875841, -0.0205992162, -0.0177589748, -0.0126816127, -0.0200355705, -0.0028227896, -0.0137295565, 0.0072350022, -0.0089425668, -0.0236571226, 0.0221725889, 0.0146794533, -0.0347435065, 0.0230402388, 0.0594721287, 0.0107903536, 0.0692625344, 0.0313845389, -0.0312582403, 0.0548805781, 0.0475564413, -0.0207282584, 0.0137812579, -0.0061964993, -0.0175197236, 0.0459962487, 0.0304280482, 0.0454540029, 0.0235496107, -0.0055157836, -0.0555860847, 0.0111688981, -0.0165299214, 0.0114983432, 0.0055380422, 0.0353658274, -0.0419472642, 0.0261215307, -0.006302434, -0.0252428241, -0.0082928166, -0.0239999164, 0.0083694877, -0.0030708907, -0.0066207922, 0.0034830631, -0.000510935, -0.0232935734, 0.0076324777, -0.009000239, 0.028489653, -0.0282043517, -0.0121230781, 0.0043446166, -0.006736998, -0.0249698386, -0.0000454727, -0.0438245684, 0.0604101792, 0.0239028558, 0.0465478972, 0.0212634038, -0.0829009935, 0.0153801972, -0.0160364676, 0.0448449552, 0.0317407884, 0.0067162104, 0.034611661, -0.0489431396, 0.004432695, 0.0175630357, -0.0042486764, -0.0020478605, -0.04332361, 0.0362505727, -0.0175806209, 0.0351832882, -0.0042928173, -0.0104967933, -0.0046142093, 0.0606763773, 0.0533805266, -0.054485321, -0.0011656958, -0.0057612327, 2.637e-7, 0.005164824, 0.0097973868, 0.077798754, 0.0201408025, -0.0057258783, 0.082482256, -0.0210824665, 0.0891110897, -0.0182384346, -0.0231629517, 0.0143283801, -0.0067979298, 0.0538352653, 0.0114859231, -0.0214664489, 0.0166752506, -0.0567623377, 0.0348216109, -0.0520319976, 0.0420947075, 0.0445334129, 0.0621097684, 0.0177844148, -0.0245430097, -0.0123217227, -0.0399313495, 0.0075107114, -0.0507774465, 0.0153657114, -0.0159918312, 0.0335199535, -0.0128669571, -0.0018011046, 0.0134480363, -0.0333876573, -0.023248855, -0.0368921347, 0.0557019487, -0.0031373841, -0.0560720339, -0.0349107794, -0.0303037688, -0.0054648956, -0.0236086436, 0.0355503671, 0.0218023565, 0.0046972968, -0.0179278329, -0.0040047253, -0.0178433936, 0.024213884, -0.0183489826, 0.0395166427, -0.013791603, -0.0018097488, 0.0149990451, 0.0125535131, -0.0507888161, -0.0358822234, -0.0255947839, -0.0357845351, -0.063801311, 0.0166075155, 0.0486334264, 0.0197845157, -0.0426545814, -0.0406972729, 2.60284732e-34, -0.0144814467, -0.0436749272, 0.006235077, 0.0626217276, -0.0015827096, 0.0021443125, 0.0102869114, 0.0231793188, -0.0003630863, -0.0196033865, -0.0125747118 ]
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.0101326639, 0.0282807369, -0.0120397471, 0.0338936858, -0.0115050217, 0.0113467798, -0.0504008345, 0.0166762043, -0.0002038686, -0.0678318739, 0.0144272381, -0.0128357811, -0.0567242578, -0.0036782031, 0.027616499, -0.0288156569, 0.023855865, -0.0071983514, 0.0016021032, 0.0095500909, 0.0228215344, 0.04858125, 0.0561273918, -0.0160025768, -0.0167052224, 0.0113484673, 0.0065856748, 0.0294926371, -0.0440779775, -0.0169307087, -0.0258577205, -0.000984204, 0.0140074426, 0.0333072878, 0.0000020894, -0.0600567497, -0.0934180841, 0.0284876451, -0.0245308895, 0.0106658731, 0.0452651232, -0.043977432, 0.0294102598, 0.0347063802, -0.0488793962, 0.0034157974, 0.0193106066, -0.0163206328, 0.0336061977, 0.0750974044, -0.0128412452, -0.0527336411, -0.0130635398, -0.0043675774, -0.0073653008, -0.049691271, -0.0272093825, 0.0174447093, 0.0084505072, 0.0342436694, 0.013589791, 0.0078209033, -0.0108688846, 0.0070555415, 0.014290113, 0.0014148747, -0.0642226413, 0.0423730724, -0.0079876855, 0.0289081559, -0.0166047812, -0.0439013541, 0.0149930185, 0.0152239865, -0.0256778784, -0.0068515697, -0.0249043945, 0.0476016365, 0.0014811424, 0.0349911638, 0.0174273364, -0.0334812887, 0.0087142, -0.0188299268, -0.0289446861, 0.0489470214, -0.0026182602, -0.0333819985, 0.0234805271, -0.0192765929, -0.0295275152, 0.0105279274, 0.0204531029, 0.0029134506, -0.0685395673, 0.0407811441, -0.0145473033, -0.0218738317, 0.0070801065, -0.0587307252, 0.035901431, 0.0756821185, 0.0220184065, 0.0256370306, -0.0143723749, 0.018373752, 0.0284143612, 0.002919893, -0.05488066, -0.0330089666, -0.0698796362, 0.0009102017, -0.0703118443, 0.0461433753, -0.113981545, -0.0126987053, -0.0191794299, 0.0368244164, 0.0013133053, 0.0370000377, 0.0221369676, 0.0071671479, -0.0264140218, 0.0022149393, -0.03437775, -0.0210165586, 0.0360908732, -0.0593329407, -0.0258168541, -0.0641225278, -0.0162685178, -0.0072839013, 0.0025099167, -0.037112426, -0.0009686968, 0.0534635223, -0.0155824684, -0.0004242336, -0.0630495101, -0.0710772574, 0.0111877015, 0.0204814095, -0.0159932226, -0.0296018682, 0.0620622598, 0.0142723899, -0.0114856288, -0.0530217513, -0.0100001162, 0.0367082842, 0.0034507453, 0.0462406687, -0.0091824252, 0.0069286977, -0.0072149318, -0.0205491334, 0.0200227629, 0.0872451961, 0.0037721032, 0.0339789465, 0.0301815737, -0.004330128, -0.065814741, 0.0071873949, 0.0283367485, 0.0028460964, -0.0714606568, 0.0653700978, 0.0092665134, 0.0219605397, 0.0017236886, 0.0699164495, -0.0227211155, -0.0040083067, -0.0001107589, -0.0152724879, -0.0120167322, 0.0373561122, 0.0606168546, 0.0339948274, -0.0321090445, -0.0361288376, -0.0390576832, -0.0240440518, -0.0080207055, 0.019244723, -0.0008778314, 0.0086124027, -0.0115112299, -0.0342334919, -0.0179938581, 0.01851172, -0.0287685432, 0.0169663206, 0.0073093148, 0.0120369745, -0.0301173776, 0.0829780996, -0.014769231, -0.0441891328, -0.0061157704, 0.0129930954, -0.0547492914, 0.0877735093, 0.0250851233, -0.0905532241, 0.0177693069, 0.0247587301, 0.0191203598, 0.0293150712, 0.0141233858, -0.03659942, -0.0016053602, -0.0224333145, -0.0035314863, 0.0150907747, 0.0187302791, 0.005472519, 0.0218014382, -0.0171806049, 0.0496970043, -0.0406495407, -0.0134441433, 0.0132354181, -0.0191603657, -0.0415721014, 0.0318232179, -0.0014801198, 0.0377105959, 0.0243935082, -0.0279196035, 0.0473979414, 0.0268078856, 0.0063990206, -0.0356846899, -0.0148729645, 0.0090674423, -0.0378317051, 0.0328692645, 0.020692382, 0.0045846822, -0.0207836702, -0.0552532524, -0.0325977877, 0.020897612, -0.0450771414, 0.0658105761, -0.0514553301, 0.0216360539, 0.0156820267, -0.0273909811, -0.0552517809, 0.0758908987, -0.0101418672, 0.0253386814, -0.0076327659, -0.0731934756, 0.0358586386, -0.0517333448, 0.0065313345, 0.0019577378, 0.0076227547, 0.0494165085, -0.0101901051, -0.0161508881, -0.0333067738, 0.0176217388, -0.0536496341, 0.0368826352, -0.0149820223, 0.054136388, 0.0316781215, 0.0500526316, 0.0266256314, -0.0221868567, -0.0169360265, -0.0133886505, 0.0033766041, 0.0296624824, 0.0310894083, 0.0138644464, -0.031892702, -0.0157746468, -0.0406549759, -0.0475781932, 0.0460742451, -0.0406559296, -0.0089827487, 0.0091535635, 0.0254434235, -0.0160670001, 0.0615609735, 0.0113620348, 0.0281746704, -0.0093519203, -0.0613171868, -0.0214367174, 0.0474619791, -0.0214234889, -0.0000140632, 0.0060021873, -0.0222946927, -0.0681473017, 0.007754887, -0.0148089938, 0.0277483445, -0.004743834, -0.0528978147, 0.0450088009, 0.0026673921, -0.0168613102, -0.0252117068, -0.0382568426, -0.0012939085, 0.0273844581, -0.0077034291, -0.0487209931, 0.0027902292, 0.0414185263, 0.0269878469, -0.0134946276, -0.0104838023, 0.0616055615, -0.037231978, 0.011123145, -0.0288377218, 0.0023331656, -0.0818659514, 0.0720241591, 0.0335966945, 0.0320465825, -0.0555395782, -0.0444957651, -0.010984771, -0.0208860394, 0.0119086895, -0.0226110276, 0.0682765022, -0.0258918107, 0.0307206716, 0.0033552588, -0.0226215906, -0.0040945527, -0.0286396127, -0.0335230678, 0.0527610593, 0.0466101952, 0.022591982, 0.0136135612, -0.0088449512, -0.0086038848, 0.0302544087, 0.0368163846, -0.0148846088, -0.0105918255, -0.0410681739, 0.0004821483, -0.0103801964, -0.0086188456, 0.0031206561, 0.0489544012, 0.0361253284, 0.0471390113, -0.0915893912, -0.0211643763, -0.0031856063, -0.009697102, -0.0434854403, -0.0304410569, -0.0012050456, -0.0655939132, -0.057518594, -0.0300934147, 0.0823998749, 0.0433160849, 0.0228539016, 0.0169742554, 0.0203272235, 0.0322433747, 0.0278787203, 0.0521507561, -0.113851957, -0.0281617288, -0.0161757153, 0.0258008018, 0.0387117453, -0.0407838002, -0.0107616242, -0.1340942532, 0.0243704524, -0.0122605115, -0.0530569404, 0.018222807, -0.0049770456, -0.0455342159, -0.0483334735, -0.0184305795, 0.093514882, -0.0501322784, 0.0219490472, -0.015952738, 0.0347019769, -0.0285925586, 0.0075824526, -0.0082146609, -0.0317861624, 0.0189055856, 0.0145982113, 0.0237833727, -0.0072217667, -0.0071721235, -0.0467404202, 0.0149425864, -0.0377795137, 0.0679673329, -0.0065200455, 0.0152886976, 0.0409352668, -0.0169146042, -0.0412544273, 0.0298031587, -0.0133257508, 0.0882960632, -0.0523427799, 0.0526008792, 0.0125392228, -0.0660986379, -0.0147957169, 0.0443311073, -0.0155233201, 0.0457704924, -0.0643802062, -0.0299582016, -0.0089517999, -0.0570025407, 0.0175082479, 0.0472160839, -0.0608284622, -0.0511162244, -0.0467214771, -0.0199664962, 0.0253122039, 0.0178698581, -0.0204126202, 0.0170523077, -0.0030262768, -0.0066538001, -0.0583392233, -0.0022340678, -0.0384189188, -0.0024153518, 0.0056942259, 0.015509068, 0.0254834499, -0.0486168191, -0.0572757982, -0.0385775678, -0.0387233421, -0.0399943255, -0.0066849501, -0.0021836194, 0.0145541439, 0.0465294681, 0.01373797, -0.0375144295, -0.0103653613, 0.060663607, -0.0702063888, -0.0404930562, -0.0024297901, 0.0196423046, 0.0162375048, 0.0656834096, -0.0423160568, 0.015388323, -0.0545121841, 0.0373690985, -0.0283657871, -0.0010571601, 0.1032943577, 0.0843806937, -0.0022269175, 0.0641874894, -0.0026906454, 0.0091857426, 0.0479000546, -0.0757042766, -0.0511649624, -0.0533670224, 0.0345507711, -0.0001382497, -0.0158709791, 0.0094687492, -0.0036934903, 0.0058098896, 0.0507443845, -0.0101872096, -0.0205698442, 0.0048059584, -0.021683313, 0.0289681721, -0.0245302077, -0.0032409348, -0.0005887873, 0.0287066102, 0.0368103497, -0.0333195031, -0.0284319595, 0.0446445607, 0.0023229024, -0.0426005758, -0.025191877, -0.0477292277, -0.0483987965, -0.0001525915, -0.0156104052, 0.0335908234, -0.0210705251, 0.0603551157, -0.001167546, -0.0099924253, 0.0043042093, -0.0085775256, 0.051174745, -0.0376166254, 0.0135860704, 0.0122227781, -0.0257520527, -0.007902924, 0.0862708539, 0.0019775378, 0.0206132848, -0.0113785649, -0.0740032196, -0.0591870882, -0.0494319797, -0.009566064, 0.0134785967, -0.0074832682, -0.0329658501, -0.0349809453, -0.0297727603, 0.0049885763, 0.0307518989, -0.0491210259, -0.0385627486, 0.0546475425, 0.0796417296, 0.0779776946, -0.0414278917, -0.0198181439, -0.0002420114, -0.0865206271, -0.0511839353, -0.0121554015, -5.959444853e-33, -0.0168355796, 0.0136336405, 0.0616034605, 0.0141932396, -0.0012451985, -0.0156909619, -0.0246815421, -0.0214915108, -0.0074482467, -0.0189774726, -0.0178174991, 0.0277678818, 0.0297291614, 0.0424956158, 0.0293584894, 0.0043711518, 0.0338281244, -0.0106570655, 0.0339351371, 0.0008120982, 0.0776872858, 0.0316248573, 0.0335394964, -0.0170341097, -0.0132063739, 0.02828894, -0.017389508, 0.0438730307, 0.0147347786, 0.0360172354, 0.0195403062, 0.0411821529, 0.0144239645, -0.0094263246, -0.0188669711, -0.0608398654, -0.0404393002, -0.0162454881, 0.0175060369, -0.0118643567, -0.0177871007, 0.0026098886, 0.0674820244, -0.0535053797, -0.009941021, 0.0135288294, -0.001525495, -0.0244967062, -0.0038297949, -0.0488158017, -0.032902807, 0.0205741078, 0.0333318673, 0.0455118865, 0.0479070246, 0.0353197642, 0.0050381529, 0.0721419603, -0.0084570814, 0.0240262672, -0.0178844891, 0.0702961683, 0.0086730774, 0.0017393543, 0.0299283415, -0.0180669036, 0.0216894746, 0.0084653264, 0.0319102779, 0.0575837977, -0.0234845411, 0.070741035, -0.004245291, 0.0481342897, 0.0052850014, -0.0070343893, -0.0763372183, 0.0213831738, -0.0012129537, 0.030257985, -0.0141982287, 0.0321988277, -0.0564988963, -0.0444190688, -0.0265612584, 0.0454107746, -0.0237356573, -0.0200808514, 0.0542907007, -0.010080901, 0.0009257348, 0.044627618, 0.002528372, -0.0044865785, -0.0364128314, 0.0415805951, -0.0242715497, -0.0321516357, 0.0114458315, 0.0323401541, -0.0482652225, -0.0572402887, -0.0222400371, -0.0089483755, -0.0217469931, 0.0193090625, 0.0360458866, 0.0369025394, -0.0479799211, 0.0398886241, -0.0402977727, 0.0269460026, -0.0486919433, 0.0356324576, 0.0141661977, 0.0281654131, 0.0235046763, 0.0135439597, 0.0443304256, -0.0049277721, -0.0059487866, -0.0201942362, 0.0305757429, 0.0125683257, 0.0095343497, 0.0357011631, 0.0297663305, -0.0435114615, 0.0235235132, -0.0314407237, -0.0189321451, 0.0444535837, 2.832e-7, 0.0680141598, 0.0145754879, 0.0091000609, 0.0805594325, 0.0052658371, 0.0023294373, 0.0297914166, 0.0353579298, 0.0244119447, -0.0194232464, 0.0046101459, -0.0225504506, 0.0193249919, 0.0612198375, -0.0871519819, 0.0116251232, -0.0243293401, -0.0397549532, -0.0411062911, -0.0015385696, 0.0523736253, 0.0828829184, -0.050171677, 0.0103486516, -0.0217769053, -0.0782840028, 0.0194502734, -0.0086380038, -0.0230999868, 0.0170555376, 0.0002471723, 0.0171904285, -0.014485769, 0.0123312548, -0.0131375929, 0.0500050038, 0.0018628825, 0.0475677662, -0.0285368338, 0.0344924107, 0.0358889475, -0.1011833772, 0.0075251395, -0.0180131029, 0.0594992638, -0.0241858792, 0.0119154835, 0.05884628, -0.0515456982, -0.0099617839, -0.0458824262, 0.0044529294, 0.0025613948, -0.0215191804, 0.0282635652, 0.0090086274, 0.0069077257, -0.0101765506, -0.0321970508, 0.0704414919, -0.0275165066, 0.0098617524, 0.0109567186, 0.0548642315, -0.0591902398, -0.0128587252, -0.0148535157, 2.913414764e-34, 0.0620264299, 0.0421995446, 0.036528945, 0.0269092228, 0.052611731, 0.0139637487, -0.0323011279, 0.0113095231, -0.0111890649, -0.0739790425, -0.0331625417 ]
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.0127496868, 0.0601678379, -0.0238213222, 0.0446668603, -0.0280836299, 0.0077883378, 0.0493210442, 0.0346459858, -0.0044296579, -0.043603532, -0.0183559563, -0.0255754627, 0.0154967355, -0.0150551507, 0.0468512289, -0.0412754454, 0.068794094, -0.0404966697, 0.0095041282, -0.0145874759, 0.0123092784, -0.0250620861, -0.0061135003, 0.0342219993, -0.0135148931, -0.0149883665, 0.0116103943, -0.0193781815, -0.0036101388, -0.0384291671, -0.0397590138, 0.068220064, -0.0034349365, -0.005267371, 0.0000019668, -0.0480608232, 0.014788867, 0.0008287873, -0.03976864, 0.0257965829, -0.0042294809, -0.0254831109, -0.0230483301, 0.0008988589, -0.0467861183, 0.0151985167, 0.0322837494, -0.0373941436, 0.0351387113, 0.0217417181, -0.0120035522, 0.0125466641, 0.0139932614, 0.0033812185, -0.0048386222, -0.0461867638, -0.0306447037, 0.0274278298, 0.0399166644, 0.0022617914, -0.0199970175, 0.0509470031, 0.0404798724, 0.006438856, -0.0383098945, 0.0160134565, -0.0568261221, -0.0178368818, -0.0352756567, 0.0444173738, -0.0222121328, -0.0063338205, -0.0111524379, 0.0083198892, -0.0114150979, -0.0348210409, -0.0589296035, 0.0675234869, -0.0255766828, 0.000651232, 0.0066978224, -0.0040206774, 0.0361043811, 0.0290917456, -0.0136110708, 0.1220761761, 0.0088116834, -0.0378362313, 0.0097506614, 0.0291700363, -0.0756566972, -0.0604778305, -0.0073821014, 0.0142368507, -0.0217744727, 0.0109032411, -0.0139129143, -0.036220286, 0.0284552742, -0.0316378959, 0.0506272614, 0.081994541, -0.0097187953, 0.022044206, -0.0158082023, 0.0975154564, 0.0049930634, 0.0120255155, -0.0267962478, 0.0310103074, -0.024365807, -0.016077552, -0.0079860911, 0.0393308811, -0.0022372131, 0.0089961039, -0.0642405078, 0.0165449474, -0.0401925258, 0.0153485546, 0.0127056995, -0.0203677118, -0.0095298775, 0.0079580648, -0.0341455005, 0.0120588513, -0.0774008259, 0.0154542243, 0.0110602183, -0.0895364434, 0.0127109326, 0.0279993601, -0.0258276481, -0.03805843, 0.0130980127, 0.0778349712, 0.0290382951, -0.000738933, 0.0167926792, -0.0223401953, -0.0255371276, -0.0620992444, -0.013601657, -0.0814863518, 0.009832751, 0.0312159806, 0.0162886027, -0.0303732138, 0.0044874074, 0.0090789078, 0.0109906709, 0.0597988293, -0.0169915482, 0.0131809041, -0.0050117858, 0.0017880804, -0.0085893134, 0.0826907903, 0.0164527725, -0.0073872451, 0.0555633642, -0.0018190613, 0.0297715645, 0.0808883756, -0.0143034812, 0.0172682106, -0.0113974558, -0.0074632862, -0.0185881834, 0.0615120903, 0.0716096312, 0.0652923882, -0.0412663743, 0.003943345, 0.0268598329, 0.083407633, 0.0181634631, -0.0130003486, 0.036641933, -0.0048551825, 0.0145304026, 0.0117375404, -0.0483804829, 0.0264459811, -0.0005493063, 0.0134313544, 0.0267457291, 0.021800803, -0.0239755157, -0.0661478341, -0.0423419923, 0.0183889698, 0.0099151637, 0.0149774225, 0.0219206233, 0.0170357022, 0.0354871191, 0.0952649936, 0.011158159, -0.0765426904, -0.0189328473, -0.0709159449, -0.0112757264, 0.0426008068, 0.0265984833, -0.011383744, -0.0025886861, 0.0187520944, 0.0043647643, 0.0488947518, 0.0281760823, -0.0047636591, -0.0072291601, -0.0175308865, -0.0236422326, -0.0297853146, -0.0009490335, 0.0102977594, 0.0295509268, 0.0343868025, -0.0190741923, -0.0827493072, -0.0126458788, 0.023152953, -0.0197811462, -0.0456017144, -0.0100915646, 0.0134645775, -0.0021868194, 0.0294223856, 0.0056927693, 0.0115341637, -0.0046562324, -0.030056281, 0.0220333487, -0.0050383611, 0.0013845582, -0.0338715166, 0.0526035614, -0.0069485679, -0.0326515399, 0.0122541357, -0.0180379152, -0.0125668887, 0.0096326321, -0.0029634985, -0.0167867169, -0.0107721528, 0.0143967737, -0.0141742611, 0.0010728567, -0.0377330184, 0.0392722152, -0.0147623913, 0.0548544042, 0.0523384959, -0.0094193118, 0.0339113735, -0.0521867052, -0.0549391396, 0.040019121, 0.0173486657, 0.0373595953, 0.015025083, 0.0141069712, -0.0241142735, 0.0112584811, -0.1078174636, -0.0078283632, -0.0298383571, 0.0480365492, 0.0057651657, 0.0102672856, -0.0204843767, 0.0027147224, -0.0540229082, -0.0418215506, 0.0089442628, 0.0599980205, 0.0304930639, -0.0065994351, 0.0230587944, -0.0318651311, -0.0313721001, -0.0144776972, 0.0339621268, -0.0183491763, -0.0239967871, -0.0571663044, 0.0429924838, -0.0451172702, -0.0147850243, -0.0131009975, -0.0103501724, 0.0484491214, 0.0029894158, 0.0498455428, 0.0485103875, -0.0509578362, 0.0116494149, 0.0673002452, -0.0159486532, -0.058090046, 0.0147496508, 0.0258107446, -0.0489911698, -0.0048877392, -0.0591150187, 0.0022439952, 0.0648332164, -0.0126603898, -0.01230653, -0.0214304328, 0.0436620452, -0.0835103244, -0.034496136, -0.0642653108, 0.0164702125, -0.016663285, 0.0995278284, -0.0012191827, -0.0404412448, 0.0593481474, -0.0132937524, -0.0166193936, -0.0219580475, 0.0028868371, -0.0329566374, 0.0398219824, -0.0165406335, 0.0112734986, -0.0196199957, -0.0211609062, -0.0673638582, 0.0115747005, 0.0216583237, -0.032117974, 0.0453144126, -0.052925121, 0.0117583871, -0.0387466177, -0.0468968116, 0.0049878894, 0.0082832435, -0.0135853337, 0.0274683069, 0.0071922881, -0.0105162943, 0.0611016527, 0.0454639122, 0.0322942249, 0.0051226402, -0.0402157195, -0.0217118487, -0.0053057675, 0.0135426633, 0.0003675752, 0.0103833033, 0.0394887775, -0.0282686334, 0.0182578359, 0.0544142202, 0.039124798, 0.0277051684, -0.0208754633, 0.0329001918, 0.0616595261, -0.0387357175, -0.0673130229, 0.025473116, 0.0841599107, -0.0703666583, 0.0219883751, 0.0940591991, 0.0134970443, -0.0328561664, 0.0074780034, -0.0528381132, 0.0116031729, 0.0144887641, 0.0218652561, -0.1487264037, -0.0095127728, 0.032808356, 0.0162196364, 0.0010540433, -0.0202138722, 0.0042530168, -0.1005418599, 0.0228439663, -0.0076957685, -0.0091566574, 0.0175840613, -0.0213222094, -0.002070843, -0.0114223314, 0.0791966841, 0.0173557848, -0.0072956909, 0.0184053555, 0.0087821716, -0.0633819923, -0.036714755, 0.0303861462, -0.0237775128, 0.0057573281, 0.0280615818, 0.0413428247, -0.0325029753, -0.033736337, 0.0136094186, 0.0421267673, 0.0184710249, -0.0311202426, 0.0044845664, 0.0220527183, -0.0089980774, -0.0102618858, -0.0333295278, -0.01186598, -0.0123758111, 0.0122790206, 0.0610926226, -0.0225250274, -0.0189952273, -0.0170894042, -0.026098989, -0.0251580719, 0.0470979325, 0.0121049108, -0.0475449301, -0.0543587208, -0.0526396856, -0.0207424089, -0.0441480279, -0.07104332, -0.0213888846, -0.0296161044, -0.0485591814, -0.0579736643, -0.0768345296, 0.0238633249, 0.0200194474, 0.0125954021, -0.0061580348, -0.0015338487, -0.0033558842, -0.0124391029, 0.0264211036, -0.0040935371, 0.0564396195, -0.0328089856, 0.0211136304, -0.0149924438, 0.0119890403, 0.0082478831, -0.0309164599, -0.0624617413, -0.0632256791, -0.0248069372, 0.0617846362, 0.0238187946, 0.0277721658, 0.011874374, -0.0657314286, 0.0242362954, 0.0307686571, 0.0049654278, 0.029222047, 0.0443587601, 0.033057984, 0.0058073094, 0.0263245106, -0.0049226023, 0.014754151, -0.0061352784, 0.0744709224, -0.0730078146, -0.060741201, 0.0080939792, 0.0308996085, 0.036167603, -0.045104906, 0.0107482346, 0.0046592536, -0.0343989134, -0.0316636562, -0.0256940126, -0.0368986614, -0.0087585934, 0.0135606173, 0.0202119574, -0.0021967569, 0.04033041, -0.0064550345, -0.0285760034, -0.0041977377, 0.0504363626, -0.001424687, 0.0413415171, 0.0154419495, 0.0166404489, -0.0193698071, -0.0043515088, -0.0117769279, 0.069852449, -0.0202299599, 0.0469795465, -0.013618744, 0.0062984927, 0.0321353488, 0.0344962701, -0.017718656, -0.0783755407, 0.034374021, 0.0071040904, 0.0737875402, 0.0179984402, 0.0485440865, -0.0184922889, -0.0183805879, 0.0111694168, -0.000697886, 0.0264045149, 0.009488456, 0.0435874835, 0.0302264858, -0.0197192654, -0.0374171361, 0.0684501156, -0.0218292717, -0.0100750811, -0.0095914388, -0.0115459105, -0.0214371048, -0.0238110553, -0.0364060253, -0.0059747137, 0.0048271129, -0.0358484797, -0.0646065027, -0.0682308599, -0.003153366, 0.0356967859, -0.021176463, -0.0416258983, 0.0175518226, 0.0811413899, 0.0199021623, -0.0289690793, -0.0543859974, -0.0144292424, -0.0152158393, 0.0119801555, -0.0213578679, -5.795501594e-33, -0.0318056345, -0.0349981561, 0.0393589325, 0.0069909971, 0.0140867392, 0.0014329848, -0.014809222, 0.0470313728, -0.0339123979, 0.0006639628, -0.0363598205, 0.0008256995, 0.0194932651, -0.039788764, 0.0271083694, 0.0111516984, 0.0245717764, 0.0052220873, -0.0329610817, -0.0343425013, -0.0144970827, -0.0205434952, 0.0721300095, -0.0027282101, 0.0816286504, 0.0089644631, 0.016756963, -0.013648822, 0.0037772753, 0.0383738317, -0.0118213929, 0.0607199371, 0.0173710492, -0.022657929, -0.0346057005, 0.0048847427, -0.0446975343, -0.0355676264, 0.0383744687, 0.0564307831, -0.0107908314, -0.0418908484, 0.020368468, 0.0019037072, -0.069084987, 0.0004947127, 0.0063575204, -0.0245866887, -0.0268001724, -0.0643289164, -0.0341711417, 0.0360826328, 0.0181884319, 0.0453689024, 0.0509604812, 0.0409611166, -0.054985173, -0.0176872443, -0.0648880303, 0.0237538274, 0.0099876877, 0.0547947809, 0.1008973047, -0.010006614, -0.0041307383, 0.0161235668, 0.0538514741, 0.0076189772, -0.0049563688, 0.0356198959, 0.0473058261, 0.0140739465, 0.0739333555, 0.0705076307, 0.0803470016, 0.0152570447, -0.0517654046, 0.0275882687, 0.0009471315, 0.0353161879, -0.0015541158, 0.0235147383, -0.054161977, -0.0563062578, -0.0247001275, 0.0231455714, -0.0353720151, -0.0640038177, 0.0226666555, -0.0534184054, 0.0193986576, -0.0059770588, 0.0234361552, -0.0393622853, -0.0462605245, -0.0255347844, -0.0091683837, 0.0483050086, 0.0088890661, 0.0289449804, -0.0412661619, 0.0066681025, -0.0499962196, 0.0501305945, 0.0602659322, 0.0207907148, 0.021676613, 0.0097002536, -0.0625721291, -0.0116996961, -0.0267752223, -0.004955627, 0.0176200382, 0.030831445, 0.0425713062, -0.0101210326, 0.0101657528, 0.0166487303, -0.0032086722, -0.014244928, -0.0638377219, 0.0154761877, -0.0097961454, 0.0244666729, -0.031289015, -0.0217976496, -0.0658903793, 0.0793270096, 0.0293774735, -0.0582948849, -0.0422285758, 0.0053092567, 2.635e-7, 0.0742859915, 0.0324096791, -0.0120186703, 0.0176778417, -0.0163930766, 0.0023757769, -0.0338111408, -0.0161765609, 0.0245990083, 0.0102087287, -0.0039903913, 0.0337830111, 0.0303274766, 0.0522949547, -0.0913216397, 0.010792261, -0.0263558328, 0.0253952853, -0.0615516864, 0.0176845845, 0.0503163673, 0.0435081795, -0.0305897202, -0.0065054428, -0.0083723813, -0.040366672, 0.0504468009, -0.0178638473, 0.0019196762, 0.0266213194, 0.0541467555, 0.0264043566, 0.0154365292, -0.0025808224, 0.0008377761, -0.0319480225, 0.0234756507, 0.0614718907, 0.0013048877, -0.0209159758, -0.0067999358, -0.0550988726, 0.0023991005, -0.044977691, 0.0723924041, -0.0219443813, -0.0246892739, -0.065365158, -0.0164873078, -0.0142154275, 0.0418783389, -0.0209689718, -0.0108025894, 0.0288605131, 0.0376598313, -0.0152414832, -0.0268535186, -0.0338199697, -0.0671353862, 0.0504971147, 0.0102827158, -0.0939063877, -0.0350459963, -0.0028872238, -0.0168200564, -0.0458524376, -0.0147136953, 2.413522016e-34, 0.0219802875, 0.0040909429, 0.0775259584, 0.0280266851, -0.0018210333, 0.0169858485, -0.0471374169, 0.0043429341, 0.0040912745, -0.0231646039, -0.0143285403 ]
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.0134095391, -0.0272104051, 0.0047586821, -0.0769456029, -0.0027203916, 0.0017931882, 0.0414100364, -0.000514224, 0.006921072, -0.06633313, -0.0142985834, 0.1052419916, -0.0192001592, 0.0062925052, 0.027874507, -0.0185490306, 0.023365574, 0.0418787636, 0.0258811638, 0.027400488, -0.0132305967, 0.0149777997, 0.0322136581, 0.0306147318, 0.0708458722, -0.0258204751, 0.0015497034, -0.0278732497, 0.0376751311, -0.0156374741, 0.0159592107, 0.0223364346, -0.01955349, 0.0290359315, 0.0000022232, -0.0311864, -0.0249364004, 0.0798475072, -0.0132935895, 0.0522271544, 0.0082263006, 0.0225492604, 0.0124882106, 0.0010140131, -0.0010106374, -0.0601117499, 0.0098502608, 0.0004661515, 0.0156079512, -0.0396873094, 0.0114829512, 0.0169480704, 0.0520334467, -0.0052688238, 0.0215785559, -0.0086931661, 0.0067853676, 0.0070503713, 0.0521301217, 0.077110067, 0.0980559736, 0.0368905477, -0.0354365148, -0.0215709209, 0.0510044582, 0.0126670534, 0.0337508209, -0.019291684, 0.0004886718, -0.0093517974, 0.0288743954, -0.0365690291, 0.0598818474, -0.0068724696, -0.0373747274, 0.0544267297, -0.0407250188, -0.0059026298, 0.0195084941, -0.0823007748, -0.0087904427, -0.0125275832, -0.0064126411, 0.0033210292, 0.046565406, 0.0279402435, -0.0067616589, -0.0060645724, 0.0038636753, -0.0111009711, 0.0115386033, -0.0517596751, 0.0408687443, 0.0165518243, 0.0818178207, -0.0244319718, 0.0226317011, -0.0531755909, 0.0832496732, -0.0028103096, -0.013562277, 0.0003574725, -0.031727653, 0.0377049148, 0.0063451286, -0.0830148011, -0.0372583494, -0.0275063049, 0.0646793619, 0.023451319, -0.0511727966, -0.0099558113, -0.0000389921, -0.0088213477, -0.0121414112, -0.007904266, -0.0358302854, 0.0164327975, -0.0150998114, 0.0202508401, 0.0427093431, 0.0011267894, -0.0162984282, 0.0042735171, -0.0059108688, -0.012285132, 0.0076632188, 0.0020055503, -0.0272441842, -0.0046363068, -0.0188335869, -0.0109470431, 0.0588948913, -0.011088741, -0.0289295502, 0.0020540485, 0.0130784744, -0.0328621753, -0.0095560746, -0.0651467144, 0.0612385198, -0.0154152932, -0.0421975031, -0.0340448245, 0.0427131206, 0.0476834327, -0.0101874759, -0.0235017724, -0.0106364321, 0.0039530755, -0.023988463, 0.0006831855, -0.0700925142, -0.0188480616, 0.0223006364, 0.0000266244, 0.0290717594, -0.0564921573, -0.0109846564, -0.0244790409, -0.0221504401, -0.0060909158, 0.0155902402, -0.0129644461, 0.0304472167, -0.0364371911, 0.0874205232, 0.0211532395, 0.0105340481, -0.0267613102, -0.0387790427, -0.043811895, -0.0189832319, 0.081557408, 0.0174263846, 0.0085408669, 0.0144126853, 0.0276942737, 0.0521255806, 0.0500100926, 0.0082472274, -0.091111511, -0.0148684289, 0.059212476, -0.0005197262, 0.0208569337, -0.0225779973, 0.0070286142, 0.0333535634, 0.0081337923, 0.0035339089, 0.0055685942, -0.0370318964, -0.0118365549, 0.0283011086, 0.0155261327, -0.0042303279, 0.0582238249, -0.0099602547, -0.0053315326, -0.0073746503, 0.0318437591, 0.0005824612, 0.0066060605, 0.0686130673, -0.0604702979, 0.005484004, -0.0343393683, -0.0096353991, 0.0251061413, -0.0106773907, -0.0222924668, -0.0167324152, -0.0265434291, -0.0379838757, 0.0031295372, 0.0194794759, 0.0420944802, 0.0182188265, 0.0222299956, 0.0195129346, -0.0376043171, -0.0003848932, 0.0239233058, -0.0543914326, -0.0668715686, -0.0333925523, -0.0364587083, 0.0419093259, 0.0204319358, -0.0163652506, 0.0229136068, 0.0679723099, 0.0275139045, -0.0302163828, 0.06603764, 0.0985431969, 0.0959952846, -0.0017889657, -0.018045526, 0.0236294251, -0.0609391145, -0.0350270718, -0.0234879926, 0.0021460655, 0.0312252548, 0.0157480612, -0.0085017057, -0.0043056943, -0.0000705667, 0.0246214326, 0.007024698, 0.0271876249, 0.0281804278, -0.0031639317, 0.0511655174, -0.0903106779, 0.0212453417, 0.026279334, -0.0012976177, -0.0399478637, -0.0022021693, -0.029450696, 0.0310792364, -0.0069921333, 0.0118504129, 0.0196597911, -0.0051117316, 0.0330675915, 0.0327944495, 0.0130007481, -0.0015557861, 0.0061494354, -0.0143086556, -0.0203839894, 0.0662313402, -0.0057150945, -0.0442243479, -0.0379359089, 0.0541526452, 0.0329081789, 0.0264488216, -0.0254853461, -0.0058727372, -0.0263965782, 0.0317203328, 0.0843601301, -0.002417166, -0.0546998344, -0.0217996053, 0.0309166163, -0.0121131381, 0.0146056497, 0.054948587, -0.0241626352, 0.024359962, -0.0179842133, 0.0468499474, -0.0142326588, 0.0269741677, 0.0702000558, 0.0219863467, -0.0314196534, -0.0274041183, -0.0245337393, -0.0265796762, 0.0436798483, -0.0302836597, 0.0313343108, -0.0096514784, -0.0189430844, -0.0174513757, -0.0065088496, -0.0105829705, 0.0159830414, 0.0046358719, -0.005179523, -0.0146141667, -0.0006085468, 0.0562191531, 0.0280435123, -0.0010463152, 0.0250056386, -0.0476134419, 0.0099370871, -0.0566853881, 0.0345509686, -0.013253117, -0.0245403629, 0.0219298918, -0.0198274404, 0.0212421566, 0.0387111306, -0.0008435007, -0.008081519, 0.0524562933, 0.0134702949, -0.0737581104, -0.0143843601, 0.0009947045, -0.0173279699, 0.0196077395, 0.0279287789, 0.0145644899, -0.0340870507, 0.0105550727, 0.010394563, -0.0157585908, -0.0336180069, 0.0396795943, 0.084735781, 0.0408535898, -0.0087261172, -0.0071905362, -0.0190831497, -0.037994802, 0.0135632558, -0.0618611239, -0.0164263099, 0.0366597734, -0.0332730338, 0.0281098634, -0.028969394, 0.002446848, -0.0303127319, -0.0279481653, -0.0014161009, -0.0988158211, -0.008904676, 0.0013497891, -0.0198324807, -0.02377267, 0.0151002426, 0.0575165823, 0.0468158089, -0.0558958314, -0.0421072282, -0.0425297096, -0.0161628202, 0.0025036652, 0.0179851931, -0.0654329732, 0.0186567064, -0.0142064514, 0.0312589668, -0.0161807053, -0.0250747856, 0.0192674547, 0.0098571097, 0.0403338522, -0.0258275811, -0.0145672234, 0.053918425, -0.0596921481, 0.0331537277, -0.0250780396, -0.0658764765, 0.0156410635, -0.0081209559, 0.0214185547, -0.0114143398, -0.064005971, -0.0349546261, -0.0033627811, -0.0459216386, 0.0021486171, 0.053597372, 0.0461425595, 0.0047836863, 0.0581714846, 0.0206466056, -0.0676985011, -0.0099146813, -0.0385832749, 0.065211527, -0.0270696376, 0.027019985, -0.0115234256, 0.0497045629, 0.0284218658, -0.0243054274, 0.0520165525, 0.0330941938, -0.0067429687, 0.0329545178, -0.0697000921, -0.0031294127, 0.0039901198, -0.0037846449, 0.014697317, -0.0006627943, -0.0223035514, 0.0111397086, 0.0486120954, -0.034829013, 0.0050366577, -0.0548996851, -0.0996508375, -0.0297444686, -0.0694361478, -0.0353201553, 0.0072158314, -0.0318225846, 0.0530981235, -0.0141096516, 0.0632951707, -0.0308856759, -0.072893247, 0.0180316847, 0.0142992474, -0.0410904773, 0.0142876497, -0.0544228964, 0.0832922757, 0.0096906461, -0.0285593513, 0.024077978, 0.0696662515, 0.0100358501, -0.0053130034, 0.0279433131, 0.020542698, 0.0082748849, -0.0291377995, -0.0440999493, 0.0396876447, 0.0156493578, 0.0041254889, -0.0204912145, -0.0146462526, -0.0678445175, -0.0737869516, -0.0524598472, -0.035739515, 0.0145106437, -0.0431158468, -0.0628370419, -0.0035366614, -0.0607466735, 0.0271648336, 0.0001190526, 0.0731977671, -0.0332405791, 0.0075476831, 0.0066331374, -0.0076986006, 0.0066795284, 0.00803685, -0.0216101874, 0.0366950072, -0.0069341678, -0.0153518049, 0.0126629481, 0.0757625252, -0.0232486837, 0.0247367043, -0.0026783312, 0.0330595523, 0.0068072621, 0.0556585938, -0.0111630075, -0.0256781355, -0.0634600893, -0.0230699629, -0.0395280793, 0.0195096303, -0.0220878925, -0.0039957538, -0.0039458973, 0.0110888937, 0.0096292943, 0.0130479075, -0.0813000798, 0.0265751276, -0.0412839949, -0.0030678858, 0.0283776894, 0.0000523847, 0.10363134, -0.0562422499, -0.0335311964, -0.0192663483, 0.0665442795, -0.0012645227, 0.0307202712, -0.0136158504, 0.0044685025, -0.0153671568, -0.0293026194, 0.0317760967, 0.0372631326, -0.028219115, -0.0030532931, -0.0543397367, -0.0336271785, -0.034279421, -0.051286418, 0.0434477367, -0.01290025, -0.066095084, 0.0285939649, 0.0174199399, 0.0294933971, 0.0325603858, -0.06222938, -0.0068814717, -0.0170413498, 0.0081487354, -0.0009627817, -0.1039591953, -0.0120665571, 0.0796174929, -0.0627029911, -0.0406800024, -0.0098253703, -6.08584723e-33, -0.0419709012, -0.0378414467, -0.0170100201, 0.0530505627, 0.0278135072, -0.0244279485, -0.0500744283, -0.0528760217, 0.0140226157, 0.0210819878, -0.0194123648, -0.0378388427, 0.0114052165, -0.0449156798, 0.0499241985, 0.024250336, 0.0367265046, 0.0022729309, 0.0136878779, 0.0521384701, 0.0081801191, -0.0150133781, -0.0028297538, -0.0739859045, 0.0781290904, -0.0403845906, -0.0240816399, -0.0386879668, 0.0376911052, 0.0305639599, -0.0244362187, -0.0176888704, -0.027367834, -0.0086530233, 0.0041588345, 0.0110138878, -0.1099996865, 0.0243125409, 0.0181169938, -0.0055502197, 0.0411639027, 0.0002241083, 0.0113172932, -0.0383095667, -0.0101720216, 0.0153434528, 0.0647266507, 0.0068714954, -0.0595938005, -0.0689432919, -0.0311748385, 0.0194197912, -0.0045969877, 0.056627173, 0.0362627059, 0.0618084893, 0.0341047235, 0.0260546077, -0.0482616872, 0.0041641518, -0.0318861715, 0.0114839775, 0.0466081165, -0.0221254155, 0.0338581428, -0.036830321, -0.0139584104, -0.0137304682, 0.0827984512, 0.018272467, -0.0153678088, 0.0180891715, 0.0401368774, 0.0738966241, 0.0074205752, -0.034805052, -0.0292163882, 0.0698400959, -0.0026077451, -0.0031336255, 0.0397481397, -0.0236995239, 0.0300086103, -0.0163098723, 0.0072654434, -0.0228729676, -0.0060814875, -0.0368027277, -0.023527367, -0.007650977, -0.0453715846, 0.0764053091, 0.0138560664, -0.0010990453, -0.0318515636, 0.0490980074, 0.0296025574, 0.04953558, -0.0309657492, -0.011771136, -0.035242632, 0.001319671, 0.0023935975, 0.0119880065, 0.0291970428, -0.007822982, 0.0124055007, -0.0141840279, -0.0340099037, 0.0049010287, 0.0196578782, 0.0306882858, -0.0505492538, -0.0411982313, 0.0009138464, 0.0507976115, 0.0329494327, -0.0118114166, 0.0381066874, 0.0189276319, 0.0022458152, 0.0108764954, 0.0064908853, 0.0577997454, 0.0198412593, 0.0245112255, -0.0116195586, 0.0440548956, 0.0006201096, -0.0061331023, 0.0194651298, -0.003121401, 2.923e-7, 0.0910537615, 0.0522245206, 0.0075310613, -0.0607414581, 0.0210628118, -0.0058147623, 0.0038455694, 0.0260370355, 0.0309811626, 0.0218245164, 0.0323030315, -0.0356828943, -0.0016387615, 0.0253673214, -0.0490531251, -0.1128584892, -0.0684860945, -0.0398947597, -0.0438928492, 0.0019622939, 0.0057692085, -0.0817988291, -0.0229185764, 0.0711844265, -0.0219202265, -0.0159911774, 0.0080851866, -0.0344213657, 0.0380702466, 0.0307234116, 0.0028259717, 0.014387331, -0.0158930533, 0.004367277, -0.071475789, -0.0235059634, -0.0328341126, 0.0410670191, -0.0123068485, 0.0175222345, 0.0331696197, -0.0443205424, 0.0588258207, -0.0304955672, 0.0214569587, -0.048983831, -0.0321437381, -0.0255092196, -0.0977662355, -0.049481757, -0.0054705013, 0.0082562799, 0.0160564501, 0.0216580816, -0.0514867082, 0.0061485595, -0.0506408997, -0.069638148, -0.006947943, 0.0620320663, 0.0010940221, -0.0343359597, -0.0038934953, -0.0654374212, 0.0237354208, -0.0309652109, 0.0292151403, 2.738013788e-34, 0.0343447402, -0.0168075487, -0.0041116336, 0.0391991399, 0.044778049, -0.0179897938, 0.0037082364, 0.0378803611, 0.0007702333, -0.010883308, -0.0037454551 ]
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.0125385961, 0.0357240476, -0.0166839939, 0.050004974, -0.0713770911, 0.0390792638, 0.029620517, -0.0202094689, -0.0083041834, -0.0401153006, -0.0331725925, -0.0092068985, -0.0217269734, 0.0024806368, 0.0309350286, -0.0244929232, 0.0602099039, -0.085739553, -0.0165723581, -0.0320071913, -0.0540257171, -0.0184134096, -0.0290043987, -0.0050130812, 0.0347471088, -0.0292226188, -0.0195589066, 0.0191141218, 0.0220378041, -0.0124637373, -0.0030836188, 0.0526294261, 0.0155550959, 0.0258222539, 0.0000021812, -0.0512023531, 0.0230000671, -0.0095367758, -0.0574014299, 0.0174307358, -0.0433737151, 0.0327722654, 0.0132108182, 0.0263824407, -0.0192775484, 0.0230686925, 0.0115308771, 0.0225551035, 0.0319083966, 0.0719081163, 0.0218935683, -0.0400035493, 0.0005446555, -0.0240544342, 0.0142102921, -0.0355780236, 0.0065858993, 0.0343539082, 0.0202441588, 0.0146436216, -0.0175810941, 0.0404216237, 0.0555098504, 0.022620108, -0.0096553667, 0.0282236151, -0.0189956799, -0.024563564, 0.0046445942, 0.0352979526, -0.0123629551, -0.0274376515, -0.0204096045, -0.0276422463, 0.0089591984, 0.0069612823, -0.0398351662, 0.0397132449, -0.016500799, 0.0209689829, 0.0482882932, -0.0270377267, 0.0563585982, 0.0103974761, -0.0662945509, 0.0971335694, -0.0010698321, -0.0400329754, 0.0177390222, 0.0083831875, -0.0059045139, -0.0554395095, -0.0061289864, 0.0221154559, -0.0322966985, 0.008404701, 0.0089569893, 0.027179148, 0.0121518327, 0.0112424502, 0.0751826614, 0.0626117066, -0.0207252838, 0.0494347177, -0.0559877604, 0.0411759838, -0.0320017487, 0.0380962379, -0.0189565774, 0.0076123741, -0.0290173143, -0.0027858554, -0.0053487448, 0.0332880132, -0.0291842539, 0.0274720583, -0.0467034765, 0.0329418369, -0.0030428986, 0.0121408924, 0.0291655399, -0.0109207714, 0.0008640285, -0.0293674655, -0.0537756942, 0.020609634, -0.0568713658, 0.0378505439, 0.037331149, -0.0459424332, -0.0381183475, -0.0132619124, -0.0156821758, -0.0441369042, 0.0336078927, 0.0619304962, -0.0069451625, -0.0186645146, -0.0514385998, -0.0337887667, -0.0033233103, -0.105652377, 0.0431577563, -0.0826934502, 0.0302268695, 0.0297716167, -0.020866463, -0.0208973363, -0.0092202518, -0.0044304845, -0.0445362441, 0.0877498388, 0.0030389971, 0.0150400531, -0.0077800923, 0.0278095305, -0.0036659993, 0.0784053355, 0.0347343534, 0.0148459617, 0.0242040921, 0.0021803174, 0.0046686362, 0.0292422567, 0.0074430797, 0.0008144779, -0.0102876127, 0.0217779428, -0.0360326096, 0.0444108248, 0.0092712203, 0.029573556, -0.023188021, -0.0080506112, 0.0256795082, 0.046939373, 0.0540138371, 0.0015793948, 0.0467526652, -0.0481319316, 0.0055248956, 0.0197552461, -0.0941680744, 0.0536719933, -0.0411224589, 0.0200311281, 0.0307025108, 0.0217371732, -0.0416459888, -0.0622666739, -0.0313572399, 0.0337345637, -0.0034048434, 0.0383179523, 0.0339918807, -0.0031705562, -0.0188617427, 0.0438737348, 0.0397573747, -0.0457172729, -0.0460245982, -0.0830724314, 0.0131776845, 0.0558258332, 0.039412573, -0.0043596341, -0.0546300709, 0.0166358054, 0.0304517802, 0.0279885698, 0.0365970246, 0.010138724, -0.0055359574, -0.0455249734, -0.0255900864, -0.0345682912, 0.0179919954, 0.0019086304, 0.0314352512, -0.0212102458, 0.0082956366, -0.0373070538, 0.0164311044, 0.0191919729, -0.0510651506, -0.0069900155, -0.0120553346, 0.0179467313, 0.0213384666, -0.010597188, 0.0122906538, 0.0143392403, 0.0126357051, -0.0137406727, -0.0173425935, -0.0073774518, -0.0613246784, -0.0341968872, 0.0306045637, -0.0128525281, -0.0114118913, -0.0100439256, -0.0459649786, -0.0431618206, 0.0437473059, 0.006710629, 0.0112416716, -0.0331702679, 0.0479718037, -0.0125229461, -0.0130908564, -0.0263585411, 0.0799862817, -0.0327758156, 0.03033006, 0.0133015914, 0.0472375453, 0.0025842001, -0.0207863022, 0.0045616175, 0.0007838333, 0.0085615758, 0.0088829622, -0.0140458737, 0.0091775749, -0.0602971613, -0.0436371937, -0.0456400178, 0.0174402148, -0.0183020122, 0.0148179885, 0.0144922044, -0.0038661161, -0.0054211966, 0.004564228, 0.0026886428, 0.0188282449, 0.0229126699, 0.0532824025, 0.0200255867, -0.0141071044, -0.0292118303, -0.0343851447, -0.0314790644, -0.0339183845, 0.0215889048, -0.0139683401, 0.0073364098, -0.0541396625, 0.0399342291, -0.0397276208, 0.0031064125, -0.0356831215, -0.0226328056, 0.0337949619, -0.0054874797, 0.0271380972, 0.089929156, -0.040361952, -0.0011252476, 0.0765086785, -0.0257207584, -0.0386818424, 0.0394739062, 0.0091319708, -0.0335798785, -0.0237181224, -0.0408238918, -0.0529763214, 0.0803758055, -0.0144792916, -0.016360309, -0.0407245681, 0.0165387578, 0.0169176068, -0.028244203, 0.0018103104, -0.0043117781, -0.0091683688, 0.080733344, -0.0227165539, -0.0453990065, 0.0767815784, 0.0008274803, 0.0062308614, -0.0308976304, 0.0181900617, -0.0263009369, 0.0673790947, 0.0074624694, -0.0123834657, 0.0073657595, 0.0046211807, -0.0747403875, -0.0207267795, 0.0311313681, -0.0134892697, 0.0848229602, -0.0540371537, -0.0059335879, -0.0130021879, -0.0734136105, -0.054605756, 0.005538397, -0.0374828763, 0.0143397776, -0.0043736612, -0.0392526686, -0.0293043945, -0.0315041915, 0.0267122407, 0.0247831549, -0.0324436054, -0.0163096637, -0.0243340172, -0.0200181678, 0.0143095097, 0.0293843914, 0.0682183504, -0.0359563679, 0.049603343, 0.0341107063, 0.024621753, -0.0192100778, -0.0190381389, 0.0436193682, 0.0127455164, -0.0111614587, -0.0244289953, 0.0286355596, 0.0733120814, -0.0668366849, -0.0428851321, 0.1265776008, 0.0322112851, -0.0189326834, 0.0019777443, -0.0588514879, 0.0493437573, 0.0506048314, 0.0281950478, -0.0762003958, -0.0520501733, 0.0492597036, 0.0135984961, -0.0060291011, -0.0391815193, 0.0095795598, -0.0863549933, 0.0436488837, 0.0131495064, 0.0074106404, -0.0134155108, -0.0501365289, 0.0006655494, 0.0089371651, 0.0103356782, 0.0486182012, -0.0099997027, -0.0094969263, -0.0023864282, 0.0090840887, -0.0449219942, 0.0566468537, -0.0366988033, 0.0405422971, 0.0157626383, -0.0128586702, 0.0076653385, -0.0445564464, 0.0829913393, -0.0250361171, 0.0261993147, -0.0317031555, 0.0223577935, 0.0239893012, -0.0016894639, -0.0234692413, 0.0231339, -0.0288780946, -0.0353626236, -0.0027486407, 0.0930808857, -0.0395854488, -0.0375234596, -0.003429591, 0.0036174282, -0.0605388619, 0.0777395964, 0.0381001346, -0.0235570893, -0.0555290505, -0.0523826852, -0.0549165308, -0.0414636955, -0.0204998292, 0.0149054751, 0.0334925354, 0.0076279109, -0.0072091604, -0.039820306, 0.023051478, 0.0289938971, -0.007334542, 0.0043651653, 0.0050005815, -0.000464153, -0.0358201526, 0.0346693024, -0.0541735627, -0.0064755357, -0.0480054617, 0.0158796199, 0.01945181, -0.0198414605, -0.0091644675, 0.0171630196, -0.1041838825, -0.0715743974, -0.0070180609, 0.0524887592, 0.0316334441, 0.0514950305, 0.0003694123, -0.0651829764, -0.0013752304, 0.0299130995, -0.0122755747, 0.0408445746, 0.0305815134, -0.0168306697, 0.0104066422, 0.0540043339, -0.0226233769, 0.0094381645, 0.0611613616, 0.0620906204, -0.0236939248, -0.0243248139, 0.021790253, 0.016787583, 0.0315027162, -0.001452902, -0.0104023358, -0.0359648056, 0.0528107136, -0.0152619025, -0.0282519087, -0.019534871, -0.007187658, 0.000398504, -0.0351473093, 0.0022028866, -0.0266190208, 0.0084840069, 0.0260774773, -0.0136717642, 0.0292517692, -0.0068068192, 0.0226249602, 0.0367240645, -0.0192971714, -0.0275835022, 0.0234956443, -0.005671063, 0.0437113978, -0.0120904362, 0.074713476, 0.0266421642, 0.0200723168, -0.0699751675, -0.0054489118, -0.0909893513, -0.0749305859, 0.0303990971, 0.0074064457, 0.0692036226, 0.0081751496, 0.0144454846, -0.0375397839, -0.0198572986, -0.002666303, 0.0177473743, 0.0300335363, -0.0211868975, 0.0386960767, 0.0375045203, -0.0040785926, -0.0302716624, 0.0399297848, -0.0212926213, 0.0585750341, 0.0140044875, 0.012643218, -0.0272565931, -0.0723458976, -0.0502437279, -0.0011394742, 0.0023254224, 0.0138579449, -0.0521232672, -0.111382477, -0.0337374322, 0.0521052219, 0.0042630238, -0.0035986253, 0.0123905921, 0.07152652, 0.0090811308, -0.0482750833, 0.0051777135, 0.001750493, 0.0283793714, -0.0244651381, -0.0237818919, -6.680321906e-33, -0.0228038877, -0.0094818352, 0.076961264, -0.0100573283, 0.0107441451, -0.0476460569, -0.043454133, 0.0414502583, -0.0416343063, 0.0165621005, -0.0418167897, 0.0227283463, 0.013763194, 0.006879068, 0.0333601721, -0.0169071779, 0.0235915091, 0.0001730167, -0.0336005352, 0.0040813568, 0.0158149097, -0.0052579418, 0.0444382615, -0.0275860354, -0.0005498675, -0.0084152911, -0.0010124514, 0.0408702195, -0.0702152699, 0.0482258797, 0.0038319523, 0.0021376214, 0.0370106325, -0.0090338038, -0.0054347571, -0.0204435587, -0.072445713, -0.0443077274, 0.0601890981, -0.0087221768, -0.0508595407, -0.0553009175, 0.0532329828, 0.0257857684, -0.0476730093, -0.0492089428, -0.0100984937, -0.039716661, -0.0112285484, 0.0352237076, -0.0309745241, 0.002127805, -0.0009626866, -0.0156311542, 0.0132005, 0.0246095192, -0.0209028032, 0.0157322176, -0.042076394, 0.0123920124, 0.0392688289, 0.0347929373, 0.096320428, 0.0326000601, -0.0132467626, 0.0321182646, 0.0351323448, 0.0017709006, -0.0408649817, -0.0200276636, 0.0195733979, 0.0671285912, 0.0564920232, -0.0084343087, 0.020121593, 0.0277768709, -0.0860099867, -0.0163736865, 0.0072082062, 0.0547014549, 0.041837249, 0.0079718279, -0.0352352783, -0.0309911855, -0.0647296533, 0.0181898624, -0.0537860319, -0.0086024459, 0.0328030065, -0.012317949, 0.0090217348, -0.0321036838, 0.0246389546, -0.0271187071, -0.0211827736, 0.0309170112, 0.0005049853, 0.0159943197, -0.0057965587, 0.0328622647, -0.0239341296, -0.0215819851, -0.0186494049, 0.0103896679, 0.0271417182, 0.0119155888, 0.0356761739, 0.0027639666, -0.0701330081, -0.008416757, -0.0766373649, 0.0196256861, 0.0163847711, 0.008097128, 0.0330026224, 0.0175744388, -0.0010737311, 0.0316396691, 0.0057167285, -0.0341960676, -0.0434100628, 0.0300841648, -0.0155569185, 0.0520664193, 0.0018517274, 0.0075683128, -0.0409232713, 0.0297307763, 0.0164179783, -0.06289839, -0.0187693238, 0.0663614646, 2.855e-7, 0.0302999076, 0.0449136719, -0.0122490106, 0.0554268286, 0.0148034142, 0.038728483, -0.0473269261, -0.0474923663, 0.047862377, -0.0426747911, -0.0067459126, 0.0806048065, 0.031434197, 0.0329939909, -0.0291464645, 0.0221990217, -0.0241561551, 0.0014333325, -0.0360739119, -0.0125914505, 0.0260286536, 0.0639570579, 0.020640932, -0.0169709213, 0.0061837891, -0.0173543636, 0.0461448468, -0.0355469696, 0.0091184843, 0.0192738231, -0.0022902074, 0.022219982, 0.0281848237, 0.0384896174, 0.0170577168, 0.0101079084, -0.0532437041, 0.0507236347, 0.01721959, -0.0172162317, -0.0270168465, -0.0403880551, 0.0102157304, -0.0656365827, 0.0988802984, -0.0497478917, -0.0329983048, 0.0062179319, 0.0294779297, -0.004961649, 0.0201270394, -0.0161560532, -0.006007975, 0.0143882455, 0.0181347262, -0.0032485696, 0.0047972617, -0.1015815437, -0.0389082357, 0.050977502, -0.05029824, -0.0425990894, -0.0333855674, 0.026032513, 0.0379091501, -0.0580036305, -0.0234610718, 3.139436614e-34, 0.0393703915, -0.0210192166, 0.0393223055, 0.032870207, 0.0333438702, -0.0256350581, -0.027843887, 0.0102603761, 0.009260606, -0.0961148962, -0.0332282037 ]
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.0100941751, 0.060913045, 0.0093780281, 0.0503848828, -0.0239354763, 0.001002401, 0.0449719205, -0.027446853, -0.0372656062, -0.0404835269, -0.0502949543, -0.0332423523, 0.0278992541, 0.0121623091, 0.0478782542, -0.0289769266, 0.0248893071, -0.0803048462, -0.0137594547, -0.0046905265, -0.0218828507, 0.015762493, 0.0033432643, 0.032555826, 0.0213952251, -0.013466714, -0.0062310509, 0.0414896831, 0.0319912061, -0.0095250318, -0.0298612546, -0.0020614499, 0.068324998, 0.073675774, 0.0000019747, -0.0315833017, -0.0160545427, 0.0311950631, -0.0319774263, 0.0374119543, 0.045133736, -0.0228316989, -0.043446999, 0.0481781997, -0.0059724413, -0.0207746569, 0.0586654805, 0.0341458768, 0.0546599142, 0.0949094594, -0.012747894, -0.0615609474, 0.0118552754, -0.0344800912, -0.0068453588, -0.0627135783, -0.0258150548, -0.0036228022, -0.0142570939, 0.0008013956, -0.0373258777, 0.0677557513, 0.0006838521, 0.012400303, -0.0163215939, 0.0054589012, -0.0229326524, -0.0561488681, -0.0288689081, 0.0595909916, -0.0147723742, -0.0046459828, -0.028042404, 0.0233084112, -0.0408519246, -0.0465789028, -0.0196151324, 0.0351822972, 0.0000500912, 0.0239463765, 0.0329168029, 0.0074404608, 0.0315076001, -0.0189049877, -0.0931540877, 0.0067080376, 0.0308839288, -0.0058769831, 0.007624954, -0.0035773895, -0.0244923402, -0.0118602281, 0.0582731925, 0.034366969, -0.0344100073, -0.0087065911, -0.01877979, -0.0512128025, -0.0331668966, -0.0341456085, 0.0495392568, 0.0572888292, -0.002149425, 0.0384371392, -0.0314471647, 0.0541036949, -0.0481521711, 0.0212127808, -0.0613918528, -0.0228042323, -0.0084217573, 0.0215581078, -0.058548525, 0.0102016591, -0.0727972835, -0.0324853845, 0.0236492194, -0.0172130391, 0.030340543, 0.0287903994, 0.0461793132, 0.0076924241, -0.0623476319, -0.0349974744, 0.0093975542, 0.075539574, 0.0188381914, -0.0027812861, 0.007894733, -0.0429315418, -0.0090771047, 0.0223934986, 0.0185165852, -0.0481943153, -0.0017731143, 0.0626960918, -0.0281668846, -0.0525300466, -0.0172073897, 0.0100772148, -0.0248744953, -0.0888388231, -0.0026892514, -0.0365423597, 0.0418666378, 0.0219608806, 0.0283957161, -0.0165090002, 0.0097721601, -0.0066410857, -0.0132344365, 0.0681095049, 0.0009568912, 0.0223530605, 0.0296135973, -0.0115258386, -0.000435089, 0.0625887811, 0.0623725243, 0.0319401771, -0.0037329765, -0.0179918129, -0.0242451429, 0.0778570846, -0.0168598127, 0.0139966244, -0.0385597758, 0.0125737004, 0.0137284761, 0.0107415048, 0.0544768982, 0.0665680319, -0.0232278388, 0.0275433101, 0.0806884319, 0.0384052992, 0.0487482175, 0.0560669042, 0.0617231466, 0.0242939554, 0.0162141919, -0.0260190684, -0.0111023216, 0.0168729611, -0.0115601094, -0.0001093761, 0.0528615601, 0.0697063953, -0.0296693426, -0.0057445094, 0.0050770901, -0.039458625, 0.0009591221, 0.0164479613, 0.0398124233, -0.0005915684, -0.0724396035, 0.0169690195, -0.0196815338, -0.0368417278, 0.0405254774, -0.0219288431, -0.0059936345, 0.0812025815, 0.0398926288, 0.0265319273, 0.004750811, -0.036369741, -0.0063658599, 0.0591678098, 0.0449801832, 0.0277184527, 0.0351194069, -0.0534666292, -0.0147973606, 0.0318205021, 0.0111084078, 0.0198963899, -0.0143117653, 0.0410104617, 0.0506885797, -0.017987499, -0.0294187739, -0.0048814439, -0.0208099168, -0.0292284954, 0.0191732384, -0.0031116484, 0.0084452145, 0.0138686178, -0.0233271271, 0.0235173311, 0.0063036843, -0.0598470904, 0.0217059143, 0.0182224382, -0.045508422, -0.0491370633, 0.0086082034, -0.0146216499, 0.0060073156, 0.0359920189, -0.0041785324, -0.0620554611, -0.0054088943, -0.0437199585, 0.0649203286, -0.0218478292, 0.0338643007, 0.0237058662, -0.0103064459, 0.0017414775, 0.0245330334, 0.0269941203, -0.0343166888, 0.0336041078, 0.0207531471, -0.0171824358, -0.0610235259, -0.0433238782, 0.0508721545, -0.0011367579, 0.0269446429, 0.0025259897, 0.0093338918, 0.0207402576, -0.0433471575, -0.0613226295, 0.0171013214, -0.0235926658, 0.0224119127, 0.0235052072, 0.0246836133, 0.0273594558, 0.0279105492, -0.0366471596, -0.0074952976, 0.0099313501, -0.0091602169, -0.0441507101, -0.0353025682, -0.0432268754, -0.037850365, 0.0034386916, 0.0268680509, 0.0202950034, 0.0000600184, -0.0153957931, -0.0769145116, 0.0714771897, -0.0066069001, 0.0236543659, -0.002609917, -0.0521408506, 0.0085255262, -0.029039219, 0.042828124, 0.0562599935, 0.0166558232, 0.004515341, 0.0073912586, -0.0152103165, -0.0552932993, 0.0153713273, -0.0165089332, -0.0573262125, -0.0663917884, -0.0168866217, -0.0286141485, 0.0742168203, 0.0107366042, 0.0248336643, -0.0865158662, -0.0338016488, -0.0214330275, -0.0131396689, -0.0198211987, 0.0068683447, -0.0225961693, 0.0166632533, -0.0348601155, -0.0376245119, 0.0266663581, -0.0699930415, -0.0259469636, -0.0329366252, 0.026657261, -0.0394049101, 0.036460951, -0.0142548494, 0.0232180972, -0.0183324236, -0.0272206068, -0.0128131965, 0.0090279067, -0.0100975847, -0.0671414807, 0.0241645332, -0.0381384864, 0.0013621349, -0.0105116405, -0.0395670719, -0.0254698228, 0.0244033039, -0.0572950132, 0.0217760578, 0.0145916902, -0.0409890525, -0.0468444712, 0.0132173821, 0.0328443795, 0.0738397911, -0.0016431276, 0.0078467466, -0.0478015989, 0.026667079, 0.0390295163, 0.0454828702, 0.0112308087, -0.0649821982, 0.0534410886, 0.0081778457, 0.0284379032, 0.0078731934, -0.0485238284, -0.0080596674, 0.0458356626, 0.0374122038, -0.0276630092, 0.0152868843, 0.0768348575, -0.0558841154, -0.0199997034, 0.121407792, 0.0129169207, -0.0236053821, -0.0082995212, -0.0085972529, 0.0233136211, 0.0130875409, 0.0073316768, -0.056689404, -0.0583357438, 0.0330751985, 0.0337863266, 0.035136506, 0.0343104415, -0.019351447, -0.1056675911, 0.0508615449, 0.0778764412, -0.0227987245, -0.0553533621, -0.0049725501, -0.0537270047, -0.0165271554, 0.0341965035, 0.0394166298, 0.0126398746, -0.018822819, 0.0148327248, 0.0026198421, -0.0709384754, 0.0112871761, -0.0213426407, 0.0718010888, 0.0825003684, -0.0018975078, 0.0096820062, 0.0041427328, 0.0219569281, -0.0132607352, 0.0128736589, -0.0182214733, -0.0056095109, 0.0001984505, -0.0247992631, -0.0140207149, 0.0442975983, -0.0273861308, 0.0297509599, 0.0032866828, 0.0616670437, -0.0155076599, -0.0187467113, 0.0418706015, -0.0193180982, -0.0025103139, 0.0771266371, 0.0215343311, -0.0475357771, -0.024127638, -0.0184197109, -0.0262299646, -0.0553030334, -0.0358204059, 0.000447408, 0.0153735932, -0.038038563, -0.049946893, 0.0058507179, 0.0281001609, 0.03424564, -0.0014526808, 0.0151697444, 0.02522102, -0.0113318982, 0.0049140961, 0.0241986848, -0.0445709266, 0.0550620705, -0.0902694762, -0.0052512195, 0.0409029759, -0.0586609468, 0.0137567176, 0.0337335952, -0.082672812, -0.0719925165, -0.0255657379, 0.0198619384, 0.0281600542, 0.0342411026, -0.04016646, -0.0340187997, 0.0404034294, -0.0105776917, -0.0664691105, 0.0328973792, 0.0388176292, 0.0015561719, -0.0021207163, 0.0467093326, -0.0036480934, 0.0012324458, 0.0046037082, 0.0666463673, -0.0059109498, -0.0490488932, 0.0266482346, 0.0385671556, 0.0208410192, -0.0223529302, -0.0060645281, -0.0056509054, 0.0501946546, -0.0279112179, 0.0214540754, -0.081234768, 0.0012797719, 0.0550867654, 0.0277347341, 0.0035659382, -0.0140285846, 0.035990648, -0.0007942616, 0.0141728828, 0.0406958647, -0.0306958146, 0.0077735111, 0.0566893592, -0.0081485473, -0.0245981552, 0.0320933685, 0.0071859015, 0.0143342977, -0.0309638642, 0.0622693226, 0.0033585182, 0.010911515, -0.017645916, 0.0161528252, -0.0113178696, -0.0580265298, -0.0221106578, 0.0101291416, 0.0523988381, 0.0150543079, 0.1181093156, -0.0231032204, 0.004905656, -0.0382405929, 0.0348061174, -0.0166955702, -0.0084685134, 0.004198045, -0.0125919646, 0.0074409759, 0.0068846927, 0.0427587852, 0.021810418, 0.0251109954, -0.0458563715, 0.0013079494, -0.0163045079, -0.0463467278, -0.0120892785, -0.0444461368, -0.0359449834, -0.0157272872, -0.0227857027, -0.0718959123, 0.0042541348, -0.0056530889, -0.0038867379, -0.0335453376, -0.0147379097, 0.0251629297, -0.0597807132, -0.0062911049, -0.0191177577, -0.0077494378, 0.0144768963, -0.0166601203, -0.0297920797, -6.760407602e-33, -0.0297661182, 0.0271773115, 0.0461151339, -0.0259873588, -0.0509237871, -0.0083265202, -0.0624842755, -0.0008915765, -0.0237962026, -0.0154071227, -0.0026513424, -0.0036373865, 0.0154060693, 0.036656864, -0.0245566089, -0.0021643089, 0.07028725, -0.0151093891, -0.0233379118, 0.0300967768, 0.0443838984, 0.0126797706, 0.0233718846, -0.0485107116, -0.0144876624, -0.0125289829, -0.0283127651, 0.0116020693, -0.0197530072, 0.0301861968, -0.0136645744, 0.0116404267, -0.0036197586, -0.0271608587, -0.0267077219, 0.0206614155, -0.0982866883, 0.045696266, 0.0197343919, 0.0345152505, 0.0090254936, -0.059469223, 0.0156336259, -0.0026225115, -0.0266679432, -0.0251958594, -0.0157098956, -0.0358948596, -0.0062894705, -0.0070290328, -0.0723672807, 0.0221140645, -0.0338551216, -0.01634188, 0.0581581965, 0.0534601063, -0.0462365597, -0.0087872846, -0.0420583673, 0.0149380146, 0.0327062011, 0.0442921072, 0.0646307841, 0.0292700734, -0.0116074197, 0.0131949848, 0.0138804447, -0.0443288051, -0.0175752062, 0.0091246581, 0.0302082207, 0.0222629607, 0.0377290808, 0.0174023379, 0.0151115917, -0.0304348692, -0.0443248302, -0.0178262573, -0.0346657895, 0.0193761103, 0.0550014004, 0.0176744498, -0.0193511881, 0.0159856752, -0.0702606738, 0.0170994662, -0.0378089957, 0.0006472709, 0.0430970453, 0.030490458, -0.0252877045, -0.0295310635, 0.1038134024, -0.018174801, 0.0423841886, -0.0115235066, -0.0030881853, 0.023460947, -0.0460869037, 0.0485090017, -0.0358705595, -0.0524973981, 0.0335967615, -0.0025436161, 0.0080435267, -0.0094782496, 0.0017964089, 0.0535602272, -0.0505438559, -0.0057254839, -0.0582473725, 0.0023565365, 0.000275942, 0.035984762, 0.0351140797, -0.0140839936, -0.0099283047, 0.0431367457, -0.0519694649, 0.0137223983, -0.0252203699, -0.0037929907, 0.0266765244, 0.0291077532, -0.0303184725, 0.0380630046, -0.0179161858, 0.0046855104, 0.0663385466, -0.0266842227, -0.0252173822, 0.0157825779, 2.779e-7, 0.0186168347, 0.0375776514, 0.011086015, 0.0211232193, 0.0236740876, 0.0362384468, -0.0261342283, 0.0135946712, 0.0461516455, -0.0032132247, 0.0010784316, 0.0576642975, 0.1006999984, -0.0053910594, -0.0714873746, 0.0032820627, -0.0109476177, 0.0311722681, -0.060438633, -0.0311389901, 0.0298860297, 0.1081783697, -0.048972398, -0.0231365878, 0.0173568781, -0.0243519824, 0.0610045269, -0.0241702422, -0.003271437, -0.0079988586, -0.0156012671, -0.0002171619, -0.0513242967, -0.0016431833, -0.014683364, 0.0098258518, 0.006698092, 0.1064482927, 0.0137688536, -0.0282628685, 0.0195025597, -0.0093342271, -0.037555065, -0.0172004215, 0.0733356252, -0.0507609285, -0.0214867983, 0.0244774111, -0.0161498506, 0.0137887895, -0.0333733447, -0.0631003752, -0.0076544769, 0.0008777103, 0.0263692364, -0.0065370016, -0.0027671808, -0.0502724126, -0.0180170443, -0.0181109123, -0.0507436991, -0.0552751012, -0.0577174872, 0.0215227399, 0.0058254763, -0.0251328722, 0.006853438, 2.46183713e-34, 0.0446747169, -0.0371646993, 0.0232002847, -0.0018751647, 0.0525612533, -0.0331022926, -0.0206246879, 0.0189767275, 0.0039100829, -0.092187658, -0.0471283048 ]
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.0289276112, 0.0841085389, 0.0033928799, 0.0739801228, -0.0547187403, -0.0124495635, 0.0651433766, 0.0036918721, 0.0007818394, -0.0268304497, -0.0115105864, -0.0132463761, 0.0026800882, 0.0342227556, 0.0451039374, 0.0342667587, 0.034690056, -0.0343939364, -0.0152331926, -0.0324198268, -0.0077968389, -0.006812037, 0.0157939382, 0.0086426064, 0.0102701513, -0.0176186208, -0.0312776826, 0.0007208346, 0.0045270622, -0.0220329221, -0.0257235095, 0.0727946907, 0.0139444992, 0.0991309583, 0.0000020181, -0.0401842147, -0.0471015684, 0.0575470068, -0.0677822307, 0.0923469514, 0.0239191763, 0.0055525126, -0.0416141562, 0.0212375671, -0.0234416444, 0.0395679325, 0.002066809, 0.0355976298, 0.0766716674, 0.0871613175, 0.007305278, 0.0234380476, 0.0234805979, -0.0518631153, -0.0031046434, -0.0528501496, 0.0085920691, -0.045823928, 0.0079850554, 0.0303525403, 0.0075147822, 0.014565005, 0.0012328435, -0.0187912453, -0.0392181873, 0.0258248094, -0.0378774814, 0.0104704145, -0.020861866, 0.0390400477, -0.0433325805, -0.0032695162, 0.0163554009, -0.007211274, 0.0191795416, 0.0201770626, 0.0057780179, 0.0606093891, 0.0070166262, -0.0016452185, 0.0004472747, -0.0564082786, 0.0275207404, 0.0044316235, 0.0117321396, 0.0309530813, 0.0411151722, -0.0486336462, 0.009267739, -0.0533885024, -0.0023719529, -0.052519802, -0.0105357673, -0.0226906221, 0.0383742116, -0.0023120528, -0.0786307529, -0.0269407053, 0.0265672877, -0.0397244394, 0.0258420445, 0.0077932999, -0.0196172576, 0.0333587117, -0.0320124365, 0.0248509608, -0.023120109, 0.0521094389, 0.0388651863, 0.0316990465, 0.0013717402, -0.0078772046, -0.0243706889, 0.0259565227, -0.032423757, -0.0095473258, -0.0287259482, 0.0128558306, 0.0056638503, 0.029580323, 0.0021990556, 0.0094519481, 0.0144201843, 0.0237063244, 0.0219720192, -0.0292346235, 0.0213309787, -0.030423753, -0.0203444473, -0.079818055, -0.0317471474, 0.0026353197, -0.0356521942, -0.0086311884, 0.005659895, 0.0619892813, 0.0314505473, -0.0315765925, -0.0326558538, -0.0957833454, -0.0298326742, -0.0271791965, -0.0168325864, -0.0859720856, -0.0381565355, -0.0149034923, -0.0122610154, -0.0382068828, -0.0022059742, -0.0030872447, -0.0481899008, 0.0360110775, -0.0054694689, -0.0007010091, -0.0171614699, 0.0009792012, -0.0095315753, 0.0175963771, -0.007288231, 0.0428033881, 0.0667435601, -0.0090263672, 0.0335958339, 0.072906211, 0.023876654, 0.0389524251, -0.0019621796, 0.0037496344, 0.0687415376, -0.0068787728, -0.0187420882, 0.0687792227, -0.0136452811, -0.0293311365, 0.1049378067, 0.0620448813, -0.0370084494, 0.035059426, -0.0070905508, 0.008408309, 0.0087792063, -0.0299821142, -0.0587132014, -0.0205190796, -0.0638732016, -0.0248459056, -0.0006674267, 0.0281690415, 0.0130282296, 0.0332222618, -0.0033672343, -0.0448084511, -0.0200173277, 0.0170580745, 0.035125725, 0.0109296301, 0.0063974056, 0.073296912, 0.0133768693, -0.0426328778, -0.0297904778, -0.078149952, 0.0257420894, 0.013588706, 0.0511264987, 0.006292176, 0.0713919476, -0.0367102586, 0.0120485062, 0.028671667, 0.0282793045, 0.019750962, -0.0029472865, -0.0143834073, -0.0097467033, -0.032557629, 0.0046423664, 0.0186576862, 0.0120252594, 0.0269408524, 0.0195222273, 0.0091543561, -0.0338160992, 0.0053321789, 0.0041977032, -0.0461294279, 0.0077807778, 0.0205845144, 0.012803196, 0.0363982469, -0.0356237032, 0.0232293196, 0.0576195158, 0.020853566, 0.001901685, -0.0511606, 0.0199796017, 0.0121092545, 0.0432789177, 0.004008749, -0.0143801915, 0.0471830256, -0.0288169589, 0.002142091, 0.0425976738, -0.0064950604, 0.0209763944, -0.0145067889, 0.0096815573, -0.0228510201, 0.0453453027, -0.0287468433, 0.0117098615, 0.0046299715, 0.0351492316, 0.0325274169, -0.0094800675, 0.0337003656, -0.030389972, -0.0740907639, 0.0020340371, -0.0486621819, -0.0004564965, -0.0107864905, 0.0024691226, -0.005076366, -0.0230615865, -0.0257074665, -0.0158554763, -0.0217250772, 0.0351972282, 0.0123650031, 0.0082924906, -0.047232978, -0.0085547036, -0.0131157776, -0.0665140152, -0.0136383306, 0.0012392877, -0.0125571815, -0.0201356243, -0.0420791619, 0.0248057172, -0.0039563943, -0.0019953346, 0.0677844808, -0.0084930807, 0.0084017459, -0.0370116495, 0.0037965586, -0.0225699525, 0.0355952233, 0.0075023435, -0.0265625957, 0.038772177, 0.0031109587, -0.0024989366, 0.0816773623, 0.0307532437, 0.0010168962, 0.0564004742, -0.0187722892, -0.0392573401, -0.0271339566, 0.023203589, -0.0808625817, -0.0514461063, -0.0261242893, 0.0174698606, 0.0203866269, 0.0461890437, -0.0209551957, -0.0049502221, 0.0069592563, -0.010431326, -0.0154744433, 0.0059785689, 0.0132353967, -0.0486424007, -0.0212232564, 0.0203816723, -0.0749543831, 0.0498295128, -0.0846098512, 0.0131547004, -0.0074311821, -0.0173116513, 0.0153506408, 0.0569990762, -0.0219570789, 0.0363997445, 0.0536480844, -0.0044165081, -0.0050913827, -0.0079841753, 0.0536006689, -0.0302492566, -0.0105064064, -0.0244725756, -0.0060090949, -0.0338850431, -0.0200963058, -0.0064965538, -0.0801881924, -0.0182151236, -0.0131439175, 0.0055879443, -0.0359794237, 0.0300667975, -0.0317141227, 0.0474770218, 0.0153883072, -0.0351791978, 0.008051957, -0.0203645751, 0.0342384242, 0.040815223, -0.0394994542, -0.005184832, -0.0420536995, 0.0196193084, 0.0653891116, 0.0667430907, 0.0168754607, -0.0325527377, -0.0054619494, 0.0175081789, 0.0095302043, 0.0160162989, 0.0438936763, 0.018569611, -0.00532356, 0.012997942, 0.0664124191, 0.014013472, -0.0322797708, 0.0029302682, -0.004368573, 0.00436799, 0.003890197, 0.0119487541, -0.086047098, -0.0250897128, 0.0438143499, 0.0773662105, -0.0339100026, -0.0266090669, -0.0145463487, -0.1114278436, 0.0203213245, 0.0020181537, -0.0332343131, 0.0006961999, -0.0493853986, -0.0325493701, 0.0026700867, -0.0032004404, -0.0201268084, 0.012738144, 0.0115427636, 0.0136051858, 0.0084288688, -0.0138301151, 0.0439586826, -0.0514730029, 0.0653705299, 0.0610195138, -0.0223252364, -0.018525362, -0.0124304201, 0.0580381937, 0.0208847523, -0.0194541253, 0.0208100714, 0.0003693193, 0.0020949412, -0.0186655074, 0.0085756769, 0.0769634619, 0.0091454703, -0.0008564734, 0.0241180323, 0.0624510869, 0.0211468507, -0.0123433499, 0.0120666865, -0.0577886403, 0.0521938242, 0.0534562059, 0.0212713256, -0.0484188087, -0.0136044081, -0.0698137805, -0.0103144739, 0.0031402302, -0.0476362444, -0.0075962571, -0.0098923221, -0.0296590533, -0.0263708401, 0.0236260705, -0.0309732705, 0.0389968753, 0.0394981802, 0.0023924897, 0.013239678, -0.0002706363, -0.0370438732, 0.0191168766, -0.0794330835, 0.0722842962, -0.1052982658, 0.0216253921, 0.0051339786, 0.0192471687, -0.0219201408, 0.0019101371, -0.0920265019, -0.0968009755, 0.0115601476, 0.0395323895, 0.0209251847, 0.0002526813, -0.0159250125, -0.0644371063, 0.1095256954, 0.051166784, -0.0382759087, 0.0405214131, 0.0606161952, -0.0553191602, -0.0012704077, 0.037913695, -0.0380836502, -0.0451821908, 0.1011448503, -0.0234583374, -0.0025752469, -0.0076749111, -0.005526029, 0.0569661558, 0.0514496192, -0.0133933472, 0.0270299353, -0.0077666305, 0.0461568981, -0.0136011438, -0.0262808595, -0.0139406966, -0.00099013, 0.0143769849, -0.0230413321, 0.0396024622, -0.0028740643, 0.0324211195, 0.0228266548, -0.0311332084, 0.0429936014, 0.0018823666, 0.0373942591, 0.0660851523, -0.0015976818, -0.0122840451, 0.0538602583, -0.0156097133, 0.0125213657, -0.0104449224, 0.0422161147, 0.0011582805, -0.0007449426, 0.0098213069, 0.0318521969, -0.0462558828, -0.0619522743, 0.0094008828, 0.0478821024, 0.011905361, 0.0168476142, -0.014250543, -0.0197156686, -0.003890587, -0.0443653651, 0.0019955742, -0.0191092137, -0.0734143034, 0.0062472131, -0.0238132644, -0.0109295398, 0.0702515766, 0.0716800168, -0.0069480692, 0.0489095971, 0.0022105153, -0.0372841209, -0.0186205693, -0.0271516759, 0.0293676201, -0.0225784183, -0.0572016537, -0.053070657, -0.0354667082, -0.0592193231, -0.01614861, 0.0117700854, 0.0181999579, 0.0354349241, -0.0122524695, 0.0457928367, -0.0177236982, 0.0229966287, -0.0734530687, 0.0378909968, 0.0261434577, -0.0832282007, 0.0175471008, -5.78665453e-33, 0.0440310314, -0.0053463094, -0.0516615622, -0.0069462997, 0.0273013916, 0.0466323607, -0.0027478095, 0.0104604131, -0.012373114, -0.0450227633, -0.041990269, -0.0092223911, 0.013588002, 0.0253201649, -0.0310525503, -0.0132901603, 0.0058749691, -0.0179107357, -0.0482716225, 0.0190714877, 0.0644294918, 0.0060993284, 0.0249723848, -0.0137055172, 0.0351245366, -0.0272403639, -0.0480332896, -0.0031579235, -0.0779624805, 0.0639519542, 0.0064174575, 0.0014495609, -0.0133094927, -0.0537594259, -0.0018848783, 0.0447012223, 0.0079477802, 0.0122929867, -0.0152182002, 0.0018700698, 0.0533837043, -0.0424965546, 0.0197403636, -0.01159319, -0.0156653132, 0.0189717636, -0.0078282766, 0.0001572729, -0.0368060656, -0.0220271349, 0.0141830258, 0.0110730398, -0.031460993, 0.0116089107, 0.0167084541, -0.0309915375, 0.0044011408, -0.0150716528, -0.0431868024, 0.0424027666, 0.0559361391, 0.0276830588, 0.0438162871, 0.0083763357, 0.0321057998, 0.0364658497, 0.0017893356, -0.0361425467, 0.0092738569, 0.0098533202, 0.01538599, 0.0415976122, 0.0446702056, 0.0662140027, 0.0728563815, -0.0389048196, -0.0446193963, -0.0084154243, 0.031980738, 0.0022209813, 0.0540571883, -0.0138220051, -0.0428311191, 0.0143779442, -0.0392330214, -0.04649904, -0.0460223034, -0.0293558314, 0.0064158249, 0.032338392, -0.0422079898, -0.0364079736, 0.0356905572, -0.050425753, -0.0345786288, -0.0057556019, 0.005182724, -0.0013448759, -0.0120694563, -0.0123038013, -0.028349597, -0.0109107355, 0.01657198, -0.0912446082, 0.0375492163, -0.008915388, 0.0410597138, 0.0544903837, -0.0802483186, 0.016031757, -0.0208590943, 0.024998622, 0.0341233574, 0.0250524525, 0.0358419754, -0.0360615887, 0.0137786046, -0.0026033898, 0.0030762183, 0.0101540079, -0.049370952, 0.0390090048, 0.0119804479, 0.0003055464, 0.0003967725, 0.0150223859, -0.002265271, 0.0658534244, 0.0601911917, -0.0142792761, -0.0042591598, -0.0256007854, 2.851e-7, -0.0241472293, -0.0210530665, 0.0303450972, -0.0031798861, 0.022935655, 0.0718607381, -0.0228188727, 0.1005204916, -0.0313057788, -0.0024210131, -0.0334538482, -0.0236000214, 0.0499070249, -0.0040538376, -0.084499307, 0.0144829694, -0.0847954676, 0.0185136627, -0.0845911875, 0.0017693735, 0.0078884568, 0.0872543678, 0.0352252945, -0.0216122326, -0.0106070489, -0.076536499, 0.0065127164, -0.0025800026, -0.0085162064, -0.0326500572, 0.0527667515, 0.0132115763, -0.0032911599, 0.0065252427, -0.035125386, 0.0000211481, -0.0552257523, 0.0301697422, 0.0425292775, -0.0303195044, -0.0150669431, -0.0602368824, -0.0304560736, -0.0196536332, 0.0635521635, 0.0495525151, -0.0238904171, -0.0612408482, -0.0004319894, -0.0738153309, 0.0126639837, -0.0553018935, 0.0298768766, 0.0198167581, -0.0050836182, -0.0154762063, 0.0092795808, -0.0722842589, -0.0213981736, -0.064910382, -0.0152814472, -0.0443809554, -0.0122333542, 0.0190112684, 0.0142015005, -0.0220081098, 0.0333963558, 2.723065724e-34, -0.0055087027, -0.0460763574, -0.0098824399, 0.0177683197, 0.0495458581, -0.0100605404, 0.0454615317, 0.0063323257, -0.024244424, -0.0691754147, -0.0488674045 ]
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.033075735, 0.0711836442, -0.0232854262, 0.0014730552, -0.0333580486, 0.0120592974, -0.0331766047, -0.001165444, -0.0231660623, -0.004369081, 0.0072029918, -0.0225169621, 0.0351828113, 0.0308682919, 0.047137253, 0.0010539057, 0.0482070111, -0.0317746699, -0.0272052437, 0.0251914542, -0.0387617499, -0.0029531182, -0.0107119586, 0.0714191943, -0.0026794104, -0.0352562368, -0.0422828756, 0.0245708246, -0.0060470663, -0.005793137, 0.0173296202, 0.0488760062, -0.0236826409, 0.0243035425, 0.0000023267, 0.0194634888, -0.0370537825, -0.0130695775, -0.0327058397, 0.0747496039, -0.0333552025, -0.0219500288, -0.0557635911, 0.0237338319, -0.0354202986, 0.0043298691, 0.0593811646, -0.0538388267, 0.0345582291, 0.0456192493, 0.0062622004, 0.0088208485, 0.0157579053, -0.0094379447, 0.0426569171, -0.0201548189, -0.0053050537, -0.0217469074, -0.0392896235, 0.0162762627, -0.0058667809, 0.0249858163, 0.0477578081, -0.0428353995, 0.0424547233, 0.0234751087, -0.0456198715, 0.007337614, 0.0076493099, 0.0301776472, -0.0809461772, -0.031049002, 0.0278082248, -0.0186647773, -0.0121181132, -0.0689926967, -0.0094905319, -0.0059395386, 0.0145538002, -0.0210691243, -0.0096188905, -0.0592012219, 0.0158612244, -0.0078052678, 0.0083818082, 0.0633570328, 0.0233934373, 0.0031378907, -0.092229791, -0.0230316184, 0.0580961406, -0.1054199412, 0.0017414487, 0.0563209653, -0.0102333473, 0.0066176327, -0.0703845769, 0.0072130659, 0.0101632383, -0.0526213832, 0.0421699584, 0.088292554, -0.0242766123, -0.0247287638, -0.0801674202, 0.0806028917, -0.0308387019, -0.0068370188, -0.000702584, 0.0333788879, -0.0389996208, -0.0186132044, -0.0160279311, 0.033676479, -0.0178144705, 0.0517721288, -0.0536391176, 0.0575913042, 0.0355394781, 0.041089192, -0.042992197, 0.0203949437, -0.0386056378, 0.0008284907, 0.0285435691, 0.0051973821, 0.0310598221, -0.0510346144, -0.0263482705, -0.0706035718, -0.0057068989, 0.0115016401, -0.0132069951, -0.0248903781, 0.0030928242, 0.0879968107, -0.0112692956, 0.0237872619, -0.0394075029, -0.038360063, -0.0223369747, 0.0066661108, -0.0295389462, -0.0968334302, -0.0381262563, 0.0035142952, -0.0377894789, -0.0804016516, 0.0237102788, 0.0328353681, 0.0058508692, 0.0455174036, -0.0224212017, 0.0126732439, 0.0142352516, -0.0044815503, 0.0198149905, -0.0161696225, 0.0707304776, 0.0241478663, 0.0146146175, -0.0500995256, 0.0247915871, 0.0376872346, -0.0202258471, -0.0038987189, -0.0324698687, -0.0062758713, 0.0383359455, 0.0103396038, 0.0365284421, 0.0056260736, -0.0046398537, -0.0065756831, -0.0088801393, 0.0084377881, 0.0456776842, 0.0653936863, 0.0460686423, 0.0070609665, -0.0097370241, -0.0204895698, -0.0318869762, 0.0819387808, 0.0113680111, 0.0314941667, 0.0139252022, 0.0237095077, 0.0070864898, -0.0593051128, -0.0106275184, -0.0111801289, -0.0155525962, -0.0334923081, -0.0004461638, -0.0416817665, -0.0783604532, 0.0409343429, -0.0152448183, -0.0757835209, -0.0548149608, -0.0295336004, -0.0322652422, 0.1009681448, 0.0565541238, -0.0037734357, -0.0801740214, 0.0203221142, -0.0286140889, -0.0355361961, 0.0250537079, -0.0164677557, 0.0226528924, -0.0451611169, -0.0251052119, -0.0119784167, -0.0290454011, 0.0693305731, 0.0381923914, -0.0124735842, 0.0559019148, 0.007360586, -0.0253400039, 0.0079567013, -0.0212431513, -0.0140825873, 0.0287313052, 0.0117525514, -0.0221023317, -0.0257364847, -0.0377231427, 0.0164700411, 0.0383941084, -0.0308388453, -0.0269133039, -0.0431392677, -0.0684752539, -0.0435368642, 0.0571066849, -0.007420314, -0.0261639543, 0.0255308747, -0.0212982036, -0.0320350081, 0.0597465001, -0.0241324883, 0.0343262032, 0.0076395203, 0.0350013524, -0.0212229732, -0.0210652873, -0.0024963073, 0.0175811723, -0.0197443552, 0.0088148713, 0.0323327184, 0.0578893609, 0.0173253343, -0.002693031, 0.0032363103, 0.0287171509, -0.0301674455, 0.0205693915, -0.0134235881, 0.0201555509, -0.0048523159, -0.0601769276, -0.0691247731, 0.0324926116, 0.0000570209, 0.0209563058, 0.0008761471, 0.03131577, 0.0129063874, -0.0319261439, -0.0233026315, -0.0250504594, -0.0371915177, 0.01603337, 0.0179633629, -0.0227423329, -0.0539256893, -0.0293243974, -0.0107564805, -0.0238395203, 0.0265527982, -0.0405206271, -0.0380350463, -0.0758844167, 0.0651779994, -0.0020872927, 0.0075936452, 0.0113814725, -0.0646526143, -0.0106565403, -0.0151979728, 0.0628048405, 0.0349478982, -0.0154639995, -0.0283910148, 0.0484141447, -0.0138515132, -0.0379195958, 0.0062171184, 0.0712426603, -0.0344490185, 0.0000704673, -0.0241283607, -0.000661719, 0.0833318904, 0.0087071536, -0.0079604248, -0.0348605663, -0.0235959571, 0.0379121006, 0.0162887834, 0.0028623729, -0.0321331099, -0.0332512036, 0.0475452356, -0.0487482063, -0.0791520029, 0.0385207944, -0.0437396318, -0.0199461617, 0.0087818867, -0.0075824694, -0.0273275934, 0.0268752445, -0.0302124154, -0.0052012242, -0.0242961068, -0.057353992, -0.0361789763, 0.0044202367, -0.0325249881, -0.0421549715, 0.0388585925, -0.0553210974, 0.0246196724, -0.0157187581, -0.0116546396, -0.055972524, 0.0164927877, -0.0079582864, -0.0194244515, 0.052226726, -0.0470896251, 0.0363204218, 0.0006802611, -0.0017861482, 0.0612662807, 0.0152336052, -0.0208930895, -0.004849222, -0.0189315584, -0.0231550485, -0.0511353053, -0.0295423064, 0.0137389302, 0.0019645602, 0.0478713848, 0.0703189746, 0.0317867957, -0.0825397372, 0.008904078, 0.0434823297, 0.0071179182, -0.0506542027, 0.0356313251, 0.0277340617, -0.0476880111, -0.0245970041, 0.072726205, 0.0214762334, -0.0664141402, 0.0169019438, 0.0096742753, 0.0475734659, 0.0623309985, 0.0459307879, -0.0737024099, -0.0306643862, 0.0541676469, 0.033933267, -0.0095728328, -0.0284137875, -0.0300557408, -0.0872726664, 0.0134259537, 0.0229421835, 0.0099934535, -0.0218793247, 0.0011732953, -0.0151585592, 0.0496885702, -0.0048143249, 0.0656480268, 0.0334512033, 0.0155592095, 0.016602451, -0.0659120232, 0.009689128, 0.0131929694, -0.0010827914, 0.021133991, 0.0943385884, 0.0132901538, 0.0468000025, -0.0138386581, 0.0365787484, -0.0144768534, 0.0468729474, -0.029428361, 0.0160499606, 0.0112645887, -0.024653051, 0.039096918, 0.0068911472, -0.0593499132, -0.0250286385, 0.0066193328, 0.0397297405, -0.0454528704, 0.0234412141, -0.0074327812, -0.0489008576, -0.0131619256, 0.002206767, 0.0454848669, -0.0183353964, -0.0136079341, -0.0842132643, 0.0093624033, -0.070617415, -0.015399022, -0.051025711, 0.0190801732, 0.0049206442, -0.0369507372, 0.0219032951, 0.0028255847, 0.0560267828, 0.0067246221, -0.0199055001, -0.0097918315, -0.0385293923, -0.1031909138, -0.0367099717, -0.0265419893, 0.0285994988, -0.0213781577, -0.0070144366, 0.0108008971, -0.0014232943, 0.0038628699, -0.0042340094, -0.0843894631, -0.0556203164, -0.0109235775, 0.054458987, 0.0218008868, 0.0504247472, -0.0021002248, -0.0655314773, -0.0047954558, 0.0056679049, -0.0283680782, 0.0401710756, 0.0081077563, 0.0040401821, 0.0197627582, 0.0018593579, -0.0541712567, -0.0507002771, 0.038604036, 0.0025871403, 0.0044930265, -0.039966099, 0.0233445801, 0.0032964726, 0.0090588666, 0.0304576959, -0.0216912013, 0.0287454613, 0.0429237932, 0.005462518, -0.0090056378, -0.028545212, 0.0503572784, 0.0087621287, -0.0146215521, 0.022217866, 0.0236197487, -0.0234006438, 0.006904745, 0.0186515357, 0.0261588972, -0.0170904063, 0.0699483901, 0.0734004602, 0.019652022, -0.0017646668, 0.0439913794, 0.0154155158, 0.019046884, -0.0137780271, -0.0455097258, 0.0067955614, 0.0314829983, -0.0273779407, 0.0263682995, -0.0703643411, -0.0558321401, 0.0079787681, 0.0036781514, 0.0360585935, 0.039423272, 0.0124077117, -0.00834205, 0.0143973231, -0.0276317857, 0.0462534986, 0.004796674, -0.0418380722, -0.0163622871, 0.0101056434, -0.0217914991, -0.003480915, 0.0845139548, -0.0084666694, 0.048942402, -0.0338786729, -0.0144061418, -0.0265334658, 0.0203304701, 0.0325365588, -0.0106368428, -0.0113327308, -0.0476170145, 0.0037642363, -0.0461985543, 0.062942937, 0.0040834667, 0.0173371267, -0.0202923324, 0.0115623716, 0.0759480968, 0.0102230264, -0.0004519012, 0.0023340136, 0.0118721146, 0.0267704129, -0.0604321323, -0.0351077653, -6.164541434e-33, -0.0055152602, -0.0303797778, -0.0060941228, 0.012914544, -0.035124287, 0.0196812674, -0.0331299715, 0.0036408771, 0.0451339334, -0.0485501476, 0.0092581464, 0.0388210192, 0.0003218087, -0.026592968, 0.0647387579, 0.0471033566, 0.0741718411, 0.0295568053, -0.0345187522, 0.0375969, -0.0244467016, 0.0702645406, 0.0461833887, -0.0015795692, -0.0289512873, -0.001063482, 0.0496125147, -0.0051309853, 0.0172194541, 0.035825666, -0.002348982, 0.0124790734, -0.0202554818, -0.0250728708, -0.0454414487, -0.0333199948, -0.0236805491, -0.0361182243, -0.0226280149, 0.0427859798, -0.0026882663, -0.1188293472, 0.0957674012, 0.0373144895, -0.0507535413, -0.0123620294, -0.0012924901, -0.009636105, -0.0323277377, -0.0137152532, -0.0121036572, 0.034639243, -0.0365456939, -0.0394764729, 0.0158150047, 0.0005294262, 0.0099448543, -0.0071402355, -0.0609664768, -0.0127740772, 0.012082452, 0.1037329286, 0.0688865036, -0.0009930742, -0.0004426579, 0.0218456816, 0.080780223, 0.0249233637, -0.018625278, 0.0148348855, 0.0520507172, 0.0241526198, 0.0146393077, 0.0145283611, 0.058361914, -0.0154370945, -0.0032873538, 0.0358246192, -0.0398653708, 0.0362353362, 0.0031182766, 0.072130546, -0.0119362585, -0.0213528406, -0.0343116112, -0.0093965754, -0.0228517, -0.0403768718, 0.024091335, -0.0128752785, -0.000088828, 0.0171584953, 0.0294174422, -0.0177322701, 0.0081192683, 0.0239405613, -0.0387316868, 0.0478988662, -0.0090207839, 0.0338143148, 0.0266730785, -0.0013430441, 0.0134832188, -0.0092367576, 0.0711850598, 0.0009417463, 0.0096218036, 0.0560311675, -0.0796663836, -0.0051243086, -0.0412402824, -0.0185517054, 0.0197635684, 0.0069435523, -0.0142307375, -0.0248785671, 0.0160187557, 0.0452583879, -0.0117221056, 0.0077812965, -0.0264290683, -0.0233323779, 0.0317909718, 0.0490931869, -0.0445831977, -0.0203692894, -0.0425148308, 0.0245325994, -0.0029364871, -0.0317999944, -0.065238364, 0.0048690913, 3.086e-7, 0.0012505305, 0.0571996793, 0.0667469203, -0.0094225649, 0.0245507322, 0.0367254615, -0.0031342243, -0.0223468207, -0.0147415483, 0.0115311993, 0.0001687042, 0.0126831373, 0.064022921, 0.0076225013, 0.0000575323, 0.0598371923, -0.0168367401, 0.0367564447, -0.0716857985, -0.0068289065, 0.0199821889, 0.0554431304, -0.0028929035, -0.0181218386, 0.0457579717, 0.0023392919, 0.0064898012, 0.017549064, 0.0183131602, -0.0179990549, -0.0115636643, 0.021389883, -0.0182221066, -0.0216831062, -0.0205609743, -0.0695611015, -0.0146126794, 0.0514814705, -0.0471895747, 0.0418691896, 0.0497653633, -0.0008958282, -0.0198840015, -0.0252912156, 0.0528156236, -0.0028901752, 0.0212650988, -0.0346820988, -0.0036597252, 0.0139171509, 0.0059720902, 0.0042720572, 0.0512942299, 0.0335912891, 0.0144054741, -0.0004951987, -0.0502985492, -0.0392691866, -0.0544436499, 0.0085940892, -0.0111301122, -0.0048442907, -0.077504307, 0.0049036653, 0.0196776763, -0.0162243228, 0.0103770485, 3.285692677e-34, 0.0092573557, -0.0049412651, 0.021036556, 0.0656374991, 0.0520061068, -0.0236569494, 0.0285593309, 0.0427505672, -0.0053042341, -0.0307657644, -0.0755992755 ]
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.030690331, 0.0470014438, -0.0069114887, 0.0447022915, -0.0091419918, 0.0482598096, 0.0233468488, -0.0194030218, -0.0494744144, -0.0385701321, -0.0591591634, -0.0413929708, 0.0243198238, -0.0418451466, 0.018526135, -0.0204342026, 0.0338860191, -0.0182827264, -0.0123120267, -0.0055087125, -0.0071626762, 0.0265179053, -0.0157993995, -0.005714308, -0.0149254985, 0.0014010178, 0.0164665822, 0.0583374016, 0.0521485209, -0.0241669677, -0.0053427648, 0.0253951494, 0.0320211463, 0.0026381288, 0.0000021475, -0.0248695966, -0.0180124883, -0.0137405908, -0.0078793187, 0.0204110388, 0.0420568213, -0.0591723882, -0.009724048, 0.0344852842, -0.0195265859, -0.0409929045, 0.0428209007, 0.0177237224, 0.0611993037, 0.0825619996, -0.0146408994, -0.0598409586, 0.0170698892, -0.059399616, -0.0336596295, -0.0298024267, -0.0028975205, 0.0378530212, -0.0589903221, 0.0229499601, -0.0114356112, 0.0671036318, 0.0178360213, 0.0346895307, -0.0015785253, -0.0155689474, 0.0053919982, -0.0307150912, -0.0111579057, 0.0801537782, -0.0531911515, -0.0212662257, -0.0244448874, -0.0207528919, -0.0429465733, -0.0012781296, -0.0261932816, 0.0377823748, 0.0320933871, 0.0253571384, 0.0461025611, 0.0053777536, 0.050270427, -0.0372506529, -0.0700535551, 0.0267919898, 0.0499905236, -0.0471947268, 0.0136174969, 0.005342464, -0.0211115312, 0.0013031351, 0.0385212265, -0.00048464, -0.0068836645, 0.0536611453, -0.0336204618, -0.0812112093, 0.0014053836, -0.090132013, 0.0323417708, 0.0632540882, -0.0202455483, 0.0321322568, 0.0057202405, 0.0469102263, -0.0268118419, 0.0343688056, -0.0961724147, -0.0201780051, -0.0186463781, 0.0401378833, -0.0342190005, -0.003850597, -0.050030604, -0.0246356148, -0.0286904071, 0.0359738022, 0.0199510939, -0.006953063, 0.0432972349, -0.058283627, -0.0617761351, -0.0250861049, 0.015944263, 0.045497898, -0.006497561, 0.0320782624, -0.0198221058, -0.0621617064, -0.0158415604, 0.0041832672, 0.0151687758, -0.031423986, 0.0125553422, 0.045046933, -0.0034110809, -0.0383259244, -0.0510934405, 0.0056517408, -0.0141766602, -0.0448745564, 0.0089587709, -0.0511355959, 0.0807229504, 0.0228529628, 0.0433166325, -0.02364517, 0.0057797218, -0.0087318746, -0.0131355636, 0.0786920041, 0.0009881603, 0.034935236, 0.0281990338, -0.0063012447, 0.0386940353, 0.0786421597, 0.0384568423, -0.000258019, 0.0248302501, -0.0142975915, -0.0367979072, 0.0816163793, 0.0135413585, 0.0349196158, -0.0419101864, 0.018656617, 0.0649377927, 0.0320064053, 0.0245894752, 0.0272922162, -0.020537138, 0.0293123182, 0.0500624217, 0.0080505665, -0.0102100018, 0.0295861382, 0.0688348562, -0.0007003445, -0.0207107402, 0.0121893175, -0.0210832972, 0.008018936, -0.0001911246, 0.0118713574, 0.0464410074, 0.018029036, -0.0346146524, -0.0257643312, -0.0128375944, -0.031964574, -0.0082172174, 0.0050517591, 0.0317105353, 0.0145623935, -0.0596055128, 0.0703239888, 0.0352221392, -0.0599886142, 0.0142878648, 0.0001170004, -0.030736329, 0.0791997388, 0.0113037284, 0.0217982549, -0.0393190309, 0.0074154898, 0.0369832553, 0.0285582058, 0.0496848226, 0.0144126583, 0.0343871973, -0.0486794896, -0.0162598751, 0.012343579, -0.0067145438, 0.0424337797, 0.0104478756, 0.0588555224, 0.0490684025, -0.0056538787, -0.0388621427, 0.0406354554, -0.0608188622, -0.0039084274, 0.020950349, 0.0258684047, 0.0425812453, -0.0013259551, -0.0163958389, 0.0026406229, 0.0428261794, -0.0531987473, 0.0039570997, 0.0450290479, -0.0424743518, -0.072126478, 0.0382659622, -0.0088553373, -0.0023978844, 0.027131699, -0.0415283106, -0.0474641658, -0.0539298616, 0.0009292447, 0.0461411215, -0.0499210395, 0.0740649253, 0.0012016615, 0.0203424394, -0.0198174454, 0.0017595881, -0.0034260137, 0.0168903004, 0.0179726742, -0.0007122782, 0.0340703949, -0.0406375416, -0.0350234844, 0.0469340272, 0.0390755944, 0.0054076994, 0.0066654822, 0.0045192251, -0.0353938341, -0.0152372699, -0.0961050913, 0.0268626809, -0.031898994, 0.0236211307, 0.0340254754, 0.035916999, -0.0141356038, -0.0065283347, -0.0097393692, 0.0166002028, 0.0091198124, 0.003572979, -0.0222285092, 0.0135387452, -0.0103204306, -0.0330777466, -0.0031583773, 0.0536204502, 0.0209198575, 0.0021987269, -0.0083093131, -0.0654772818, 0.0276754051, -0.008303511, 0.0058749737, 0.0102794971, -0.0816462561, -0.014712384, -0.0307622179, 0.0647961646, 0.0125082526, 0.0036461095, -0.0165560953, 0.0325835273, -0.0127498321, -0.0557253398, -0.0033473508, -0.0241576601, -0.0466727093, -0.0575844049, -0.0494109057, 0.0054816543, 0.0640426725, 0.026415471, 0.0050834208, -0.0442661941, -0.0458001867, -0.0239648521, -0.0165013727, -0.0183895491, 0.0054111676, 0.0022533843, 0.0197852924, -0.0180641674, -0.0339539871, 0.0514153838, -0.0642535537, -0.0083526736, -0.0339121781, -0.0152363973, -0.0258482881, 0.0546595715, -0.0112474607, 0.0029598193, -0.063796699, 0.0025329858, -0.0331928134, 0.0469378382, 0.0083806328, -0.0100525934, 0.015466745, -0.0475396849, 0.0103191277, -0.0078455918, -0.0040761256, -0.048491776, -0.0701438934, -0.0175237376, -0.0160440747, 0.032745406, 0.0198849719, -0.0250207577, 0.0280548614, -0.0076913196, 0.0422650985, -0.0159191005, 0.030323077, -0.0222103037, 0.0204958394, 0.0102967517, -0.0293978043, -0.0128819067, -0.0625880286, 0.0314980447, -0.0127348956, 0.0130622862, -0.0098411189, -0.068335332, -0.0237734299, 0.0329378657, -0.0181285013, -0.0172918104, -0.0109569561, 0.037589889, -0.0449775383, -0.0109865945, 0.1498231739, 0.0247956216, -0.0283976085, -0.0138105638, 0.008533923, -0.0157579146, 0.0015652862, 0.0219960343, -0.073244378, -0.0310372245, -0.0069386414, 0.0053555104, 0.0435263254, 0.0454329289, -0.0285928324, -0.1325272769, 0.0129911248, 0.0641714931, -0.0152304731, -0.0340578817, -0.0132053951, -0.0450556315, -0.0213194024, 0.0470941253, 0.0026455086, 0.0053196461, -0.0052165003, 0.0019077811, 0.0306060966, -0.0507140532, -0.0100990692, -0.053502813, 0.043454323, 0.0374676138, 0.0306390747, -0.0021512751, -0.0298377667, 0.0743235201, -0.0187535211, -0.0012372884, -0.0130744623, 0.0057253372, -0.0169034563, -0.0098822061, 0.0323688686, -0.0268892664, -0.0207266659, 0.0160192531, 0.0358916931, 0.0556511134, -0.0333076566, 0.0129178027, 0.0176747367, -0.0222103335, 0.006945231, 0.0557811558, 0.0171015207, -0.0354192071, 0.0330575071, 0.0065183165, -0.0140402094, -0.0613391362, 0.0344831012, 0.0134886652, -0.0618879311, -0.0130745331, -0.0908577964, -0.0305471178, 0.0001501858, 0.014725429, 0.039636001, 0.0250836108, 0.0172658693, -0.0055023003, -0.0085373567, 0.0328945741, -0.0360690653, 0.0101545472, -0.0499201939, -0.0151482774, 0.0548878126, -0.0220706146, 0.0193873178, 0.0293183904, -0.1104421541, -0.0628367066, -0.0229155459, 0.0545023978, 0.0059036952, 0.071630761, -0.0241879355, -0.0306373555, -0.0114330417, -0.0146327205, -0.0806906223, 0.0142534534, 0.0220758002, 0.0015952244, 0.0046028323, 0.0246048775, -0.0298395567, 0.025963841, 0.0022147866, 0.0396589339, -0.0130718518, -0.0956040993, 0.0125170629, 0.0417294651, 0.0533361025, -0.0180154201, -0.0123808142, -0.0361250602, 0.0772785768, -0.0197845194, -0.0040775333, -0.0505222343, -0.0193795562, 0.0538858548, 0.0164231639, -0.0212821495, 0.0020510857, -0.0194062982, -0.0277639125, -0.0191249847, -0.0120834159, -0.0446859375, 0.016263539, 0.0209973585, 0.0375326611, -0.036535345, 0.0095949136, 0.0376753956, -0.0022950859, -0.0380208977, 0.024010472, -0.0052903658, 0.0236223042, -0.0091751469, 0.0171926375, -0.020346472, -0.0452818163, -0.0080331191, -0.0037894617, 0.0895005092, -0.0009905688, 0.1000199094, -0.0053593731, -0.004530563, -0.008652824, 0.0546280444, -0.0150935855, -0.0196437296, 0.0056762849, -0.0231580324, -0.0146617973, 0.0296086762, 0.0547766387, 0.0211782772, 0.0244630668, -0.0025494162, 0.0097138183, -0.0186825655, -0.0099041667, -0.0126091586, -0.0084523922, -0.0376122966, -0.0198327266, 0.0344520025, -0.068023324, -0.0006028851, 0.0175452884, -0.0293817371, 0.0029942812, 0.0188626517, 0.0439515412, -0.0453634486, 0.0069784252, -0.0235284474, -0.0032533663, -0.0049593891, -0.000664625, -0.0141521012, -6.57302572e-33, -0.0528751463, 0.0139682125, 0.0362815335, -0.0390531383, -0.0493885316, -0.0392253436, -0.0235166792, -0.0272741243, 0.0047230273, 0.0022567932, 0.0047015236, 0.0241608135, 0.0297986045, 0.0002672481, 0.0054356097, 0.005758062, 0.0800718144, 0.0081823375, 0.0078630559, 0.0058524455, 0.0134144686, 0.0476665497, 0.060097374, -0.0354036801, 0.0094522964, -0.0446631275, -0.0106806122, 0.0181684326, -0.0006563533, 0.0143971527, 0.0181428976, 0.0089381402, -0.0074044005, -0.0501697399, -0.0425371639, -0.0074693039, -0.099960342, 0.0094108246, 0.034472473, 0.0624968633, -0.0131039014, -0.0289627388, 0.0250143185, -0.0252057146, -0.0038097019, -0.0002815984, 0.0111489641, -0.0668316633, -0.0159120318, -0.0187158957, -0.0487691164, 0.000528146, -0.0077492408, 0.0192218106, 0.0642541647, 0.0465489179, -0.02531082, -0.0035162582, -0.0663545355, 0.0169969536, 0.0170308035, 0.0252436586, 0.0583830252, 0.0324837454, 0.0093432888, 0.0033570027, 0.0132480552, -0.0297397617, 0.0587478131, 0.0010381899, 0.0266077351, 0.0210033488, 0.020632077, 0.0275545865, 0.0367468819, -0.0366876572, -0.0869740546, 0.0399802253, -0.0265646633, -0.0086638406, 0.0348707326, 0.0017602588, 0.0015545655, -0.0165675562, -0.0503748097, 0.0056470404, -0.0222282354, -0.0411414579, 0.0221960619, 0.0260146074, 0.0005216326, 0.0030613898, 0.0929383487, -0.0318053737, 0.0162063353, 0.0235965531, -0.0442513973, 0.0085437521, -0.0440335199, 0.0577005111, -0.0349460207, -0.0664676875, 0.0053412444, -0.0227251519, 0.0064259642, -0.0113518201, 0.0414439328, 0.0030827823, -0.0517099947, -0.0012279685, -0.0357007273, -0.0222042333, -0.0033049767, 0.0144252423, 0.0258847605, 0.0259877574, -0.003010669, 0.0794302002, 0.0336520746, -0.0082310522, -0.0145787084, -0.0298841354, 0.0300657898, 0.0174433868, -0.0503083803, 0.0147984326, -0.0057326192, -0.003624503, 0.0279854145, -0.0680143684, -0.0375667661, 0.0067927865, 2.787e-7, 0.0471994765, 0.0416560881, -0.0088245673, 0.0319361985, -0.0000359444, -0.0243319925, -0.0521114953, 0.0033896302, 0.0488276854, 0.0224917922, 0.0700313225, 0.0319418013, 0.0861160755, -0.0036079998, -0.0959681198, -0.0238960013, -0.0223486237, 0.0430302694, -0.0635855347, 0.0004220055, 0.0219825841, 0.1026128531, -0.0115903504, 0.0034058311, -0.0169501342, -0.0113601442, 0.0955591351, -0.0404260643, -0.0451557226, 0.0121083753, -0.0186785497, 0.0447022878, -0.0562346242, 0.0121389069, -0.0521514453, 0.0318347439, 0.0197046846, 0.0797652155, 0.0032168629, -0.0124329906, 0.0179235563, 0.0089769233, -0.0320076272, -0.0239886325, 0.0745014623, -0.0643949732, 0.0033751992, 0.0298618767, -0.0228645932, 0.0197032355, 0.008719773, -0.0262486525, -0.0022457712, 0.008446116, 0.0784176141, -0.0074498467, -0.0427104831, -0.034981031, -0.0242787153, 0.0086675221, -0.0276281275, -0.055532705, -0.0062698494, -0.007475819, 0.0363249518, -0.0415590666, 0.0114163924, 2.430633954e-34, 0.0454785153, -0.0102087976, 0.013655534, 0.0087207351, 0.0374039523, -0.0560288392, -0.0212780442, 0.0208057985, -0.0220433697, -0.0853931531, -0.0244104192 ]
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.055678118, 0.0727085844, 0.009704642, 0.0038006578, -0.0030518363, -0.0259774812, 0.0223381519, -0.0159866437, -0.0255194474, 0.0465683602, -0.0673813745, -0.0398198143, 0.0746703744, -0.0097105596, 0.0508216694, -0.0393987969, -0.0033987705, -0.042978406, 0.0115443533, 0.0098131113, 0.0505235083, -0.020254368, -0.0718521699, 0.0168570969, -0.017020639, 0.0058333124, -0.0262970179, 0.0129681891, 0.063766636, -0.001483844, -0.0383309834, -0.0053714109, 0.0461055562, 0.0510127805, 0.000001502, -0.01424341, 0.003821091, 0.0404682271, -0.0377834626, -0.0234945323, -0.0166510828, 0.0258995704, 0.0020318937, 0.0703483969, 0.0071715396, -0.0169001725, 0.0692299455, -0.0217591561, 0.0401989073, 0.0479424, -0.0108667938, 0.0213919524, 0.0289443117, -0.0376063026, -0.0299666096, -0.0059325597, -0.0055448194, -0.0286095366, 0.0086995298, -0.0084528262, -0.025961902, 0.0799276605, -0.0347176231, 0.0280296188, -0.0038262114, -0.0001709178, -0.0139755597, -0.0538863167, -0.0259756409, 0.0639222264, 0.0405008458, 0.0417675748, 0.0156754591, 0.0350915082, 0.0184125341, 0.0103151361, 0.0021374028, 0.0084755551, 0.0402216688, -0.0135312574, -0.0427122973, 0.064472042, 0.007100353, -0.0442299955, -0.0066583869, 0.002998967, 0.0129139731, -0.006106779, 0.0057280045, -0.0060420404, 0.0215955004, -0.0025941322, 0.0659523308, -0.0160271209, -0.0108794924, -0.0174139533, -0.0356374197, -0.107445024, -0.0655602589, 0.0052318377, 0.0033883008, 0.0522150174, -0.0487911887, -0.0174880195, -0.0068869903, 0.0595854037, -0.0621316433, -0.0014589191, 0.0174531732, -0.0134244636, 0.0102239335, -0.0121580679, -0.0068830629, -0.0086269295, -0.04809976, -0.0154603794, -0.0418128483, -0.0059135221, -0.0479840897, 0.0295903981, -0.0131660383, 0.0573325753, -0.032302212, -0.0498127788, 0.0110166771, 0.0167984329, -0.0030415633, 0.1078727171, -0.0215983912, -0.0165209547, -0.038512703, 0.0647269562, 0.0517175645, 0.0237034261, 0.0245257281, 0.025601659, -0.0165765826, 0.017189648, 0.037715517, 0.0285672341, -0.0437609181, -0.0545598865, -0.0375696048, -0.0727451295, 0.0449940711, 0.0087010805, 0.0030664061, -0.0310334377, -0.0248848572, -0.0325010121, 0.0096143996, 0.0710177869, 0.0245892722, 0.0405953489, 0.0429022238, -0.0187130813, -0.0286599882, 0.0038608611, 0.0603895709, -0.0214884281, -0.0399680622, -0.0002107485, -0.0045648827, 0.0928939432, 0.0320819654, 0.0049000955, 0.0115535762, -0.0258840565, 0.0120035559, 0.0644630045, 0.0373066887, 0.0057214056, 0.0100256149, -0.0302513856, 0.0436592996, 0.040917512, 0.0148581844, -0.0021582735, 0.0223902557, -0.0009352888, -0.0211481191, 0.0024367969, 0.0087807653, 0.007154095, -0.0176058169, 0.0023884519, 0.0245624669, 0.0184448604, -0.0488156602, -0.0082118493, 0.0365545936, -0.0644613057, -0.0193966758, 0.0103976531, 0.03682613, 0.0120679112, -0.0414983444, 0.0071433759, -0.0053784102, -0.0508031957, -0.0279575866, 0.0232782811, -0.0480463058, 0.0250138342, -0.0489481874, -0.0559300259, -0.0415410176, -0.0097913453, 0.0025823228, 0.0895637944, -0.0551174693, 0.0185879059, 0.034646742, -0.0360866264, 0.0199836679, 0.0605208986, -0.0137387393, 0.0108480044, -0.0020749448, 0.0500348508, -0.0007248785, 0.0259401035, 0.0098651163, 0.00615313, -0.0648762807, 0.0106072482, -0.0177110787, 0.0399417803, 0.0260930862, 0.0089559685, -0.0229083337, -0.0061304104, 0.0232360177, -0.0359171815, 0.0411912128, 0.059882842, -0.0047683017, -0.0201246198, 0.0382364169, -0.0385130197, 0.0057590129, 0.0346492194, 0.0482737273, -0.1009751707, 0.03400971, -0.0188282281, 0.0241850335, -0.0003851043, 0.0587833077, 0.0586260371, -0.0315714031, 0.0259694755, -0.0410335921, 0.0226485524, -0.0055662505, 0.0634008422, 0.010835859, -0.0168738887, -0.0294051208, -0.0151834516, -0.0096080145, 0.0082008401, 0.0235057157, -0.0102768512, -0.0383217931, 0.0099698491, -0.0189700313, -0.074112989, 0.0388412476, 0.011477273, 0.0146483397, -0.0105925845, 0.0146299899, 0.0033997826, -0.0493712313, -0.059195172, 0.0068196845, -0.0306114946, -0.0587799922, -0.0132392049, 0.0129717067, -0.043170426, -0.0712052137, 0.0683370307, 0.0054631718, -0.018780835, -0.0407653004, -0.0524032898, -0.0296324454, 0.0499461181, 0.0409907624, 0.0346219391, 0.0038262536, -0.0220340323, -0.0054867994, 0.0143761802, 0.0137802586, -0.0015426971, -0.0193045307, -0.0027787108, -0.0205676798, -0.0338469483, -0.0601304509, 0.013952611, 0.0177026428, 0.06602671, -0.0568142086, 0.0266641844, -0.0167226307, 0.0221766736, 0.027643403, 0.0696463287, -0.0744228438, -0.0609471425, -0.0046042236, -0.0313665159, 0.0462615862, -0.0086586587, -0.0411978811, -0.0395536236, -0.050138697, -0.0158122741, 0.0301022548, -0.0794657469, -0.0816878527, 0.0213976651, -0.0301235523, 0.0159602482, 0.040895097, 0.0000451562, 0.0060673337, -0.0102390302, -0.0392759927, -0.0704701021, 0.0125606628, 0.037211705, -0.050826095, 0.0286774803, -0.0403385237, 0.0282094814, -0.01826654, -0.0595490187, -0.0215737224, -0.0126524009, -0.0118322652, -0.0137634892, -0.0358709246, -0.1115991026, -0.0069590504, -0.031573806, 0.0452469885, 0.0392581448, 0.021041587, 0.0391984619, -0.0017013387, 0.0448263697, 0.0354863778, 0.0744984597, -0.1114952117, 0.0001697643, 0.0305861924, -0.0104016168, 0.0550897494, 0.0237341635, -0.0552211516, -0.0561684705, 0.0279831327, 0.0145990932, -0.027933199, -0.0161414072, 0.0192692373, 0.0089560589, 0.0223082099, 0.0775620788, 0.0026889369, 0.0290398728, -0.0207539257, 0.0456810705, 0.0457693376, -0.0066097137, -0.0095384708, -0.0581877083, -0.0272504818, 0.0288584493, 0.0080875689, 0.0469846465, 0.0397799462, -0.0190419778, -0.0839085579, 0.0038682644, 0.0421444438, 0.0154984165, -0.0717972666, -0.0044053793, 0.0280997772, -0.0174435712, 0.000525478, 0.0050310339, 0.0317691304, -0.0175319556, 0.028984366, -0.0952721462, -0.0157100596, -0.0207850076, -0.0439692251, 0.0664832965, 0.0437666588, 0.0348988324, -0.0243055392, -0.0384436771, -0.0097328974, 0.0326321162, 0.0084505137, 0.0123040462, 0.0393119231, 0.0036459728, -0.0203941911, 0.0056309053, 0.085308224, -0.0155503647, 0.0076867379, 0.0232002083, 0.0888700783, -0.0352023803, 0.0694241896, 0.0211755428, 0.0159240868, 0.0031559216, 0.052109655, -0.0339193605, -0.0733072832, 0.0236923378, 0.0046615475, 0.0407217443, 0.008092327, -0.0254396666, 0.0018978341, 0.030551888, -0.0170493871, -0.0309327021, 0.014919606, 0.0429709554, 0.0827185214, 0.0060871635, -0.001249372, 0.0001764135, 0.0039617443, -0.0230155922, -0.0071962979, 0.001631642, 0.0404069275, -0.0082906019, -0.0492152311, 0.0501588173, -0.0024146501, 0.0265740864, 0.0486257896, -0.0444327071, -0.0768166035, 0.0075543374, -0.0100276414, 0.02562478, 0.1100777239, -0.0479120389, 0.0326433443, 0.0232264455, -0.0010136083, -0.0495775603, 0.0382635184, 0.0475488938, -0.0598451607, -0.0259329807, 0.0086577395, -0.0448131971, -0.0164635386, -0.036013063, -0.0035271673, -0.0478668995, -0.0492329635, 0.0033064631, 0.0159147754, 0.0575588755, -0.0223050695, -0.0319812149, -0.0344220959, 0.0118984366, 0.0057431343, 0.0324058868, -0.0449598841, -0.0552844405, 0.0655171722, 0.0224203914, -0.0077640195, 0.0143450685, 0.0248843804, -0.0438139252, 0.000296852, 0.035783194, 0.0136055602, 0.0623039901, -0.0117444731, 0.0130836992, 0.0107981805, 0.0228992719, -0.0098699061, 0.0293727703, 0.0360460095, -0.0141123524, 0.002249127, -0.0093478309, 0.0220740661, -0.0027468693, -0.022298757, 0.0241916273, 0.0006715425, 0.0336390734, -0.0063998727, -0.0233486369, 0.0430532694, 0.0026883732, 0.0469886139, 0.0029044189, 0.0167420898, -0.0542391613, 0.0286319964, -0.0077188173, -0.023037985, -0.0102907456, 0.0394647978, 0.0383048542, -0.0142658595, 0.0204823725, -0.057145074, 0.0141167445, -0.0485513434, -0.0570776053, -0.0030933691, -0.0563257039, -0.0295745917, -0.0269214604, -0.0123524945, -0.0300053358, 0.0255107582, -0.0289626792, 0.0200406853, -0.0335199945, 0.0118545378, -0.0096357521, -0.04828877, 0.0364955813, 0.0264399666, -0.0730710402, 0.0289510302, -0.0169374794, -0.0131288832, -4.886487405e-33, -0.0616689026, -0.0156303942, 0.0188936833, 0.008836275, -0.0459971949, 0.0210527331, -0.0365176462, 0.0102045462, -0.0060665137, 0.016896002, 0.0341414809, 0.0149640422, 0.0182192642, -0.0105360793, -0.005518998, 0.0059471591, 0.0407522991, -0.0540654995, 0.0139935454, -0.0395602286, 0.0419582278, 0.0394838117, 0.0130917327, -0.0392699242, -0.0077869706, 0.0137707144, -0.0201711152, -0.0546675213, 0.011195763, -0.0002344133, 0.0139158471, -0.003021939, -0.0157535523, 0.0036724915, 0.0321664177, 0.0397388414, -0.056285467, -0.0153347393, -0.0002929972, 0.0786399543, -0.0303380657, 0.0185397044, 0.0200374685, -0.0016480889, -0.024135014, -0.0042095436, 0.0394830555, -0.0477232076, 0.0743325129, -0.005384563, -0.0166228507, 0.0128805581, -0.0307038818, -0.051122319, 0.0423806235, 0.0508080684, 0.0019232472, -0.0508740507, -0.0592996292, 0.0243972279, -0.040567454, 0.0353829898, 0.0612677224, 0.05369265, -0.0062905694, 0.0555542894, 0.030348707, -0.0864574388, 0.0199485943, 0.0018322584, 0.0163628422, 0.0612476431, 0.0319768861, 0.0223590564, -0.0106050344, 0.0128300264, -0.0212662779, 0.0185768399, 0.0048551355, -0.0466172695, -0.0110418107, 0.0404560789, -0.0741523132, 0.0311187804, -0.0357798673, -0.0042215888, 0.0176561251, -0.0204972755, 0.0209265742, 0.0028793018, -0.0026274822, -0.0029193815, 0.078233391, 0.0035784065, 0.0146732861, -0.0343100317, -0.0223108679, -0.0000636926, -0.0161311924, 0.0262233689, -0.0030027109, -0.0221458729, 0.0652072281, 0.0708605051, 0.0522789732, -0.0060448418, 0.0014330283, 0.0401234068, -0.0653190762, -0.0198181681, -0.0176894553, 0.0063427594, -0.0198833253, 0.00812006, 0.0646366552, 0.0067557096, -0.0201800987, 0.0327014998, -0.0272116736, 0.0217717607, -0.0102045024, -0.0207762327, -0.0329212658, -0.0377159938, -0.0301833954, 0.0004780602, 0.0533842593, -0.041452311, -0.0397094153, -0.0314499997, -0.0000821075, 0.0083669517, 2.484e-7, -0.009828018, -0.0634012967, 0.0791268349, 0.0092615467, -0.0140789663, -0.0057835807, -0.0606402047, -0.0020194671, 0.0076111509, -0.052107133, 0.0692441538, 0.0115869679, 0.0658674538, -0.0199203473, -0.0505665466, -0.0274112131, -0.0439748466, 0.0168836527, -0.027953852, -0.0083930008, 0.0126361102, 0.0459304452, -0.0140430536, -0.0136756795, 0.0158718862, -0.0222944357, 0.039641425, -0.017406309, 0.0007476964, -0.040337991, -0.0072844308, -0.0212870035, -0.0490663201, -0.0216367543, -0.0537078641, 0.0490324721, 0.0263369326, 0.0268579945, -0.0487157106, -0.0353812277, -0.0099572567, 0.0470176116, -0.029131595, 0.0315840617, 0.0263273008, 0.0287830122, -0.0122577446, -0.0382614993, -0.0462145023, 0.0358203612, 0.0231539495, 0.0013151347, 0.0490682237, 0.0048612906, -0.0021168299, -0.0353064537, -0.0326007269, -0.0151850814, -0.0597698502, -0.0042346511, -0.0751585737, 0.0078585604, -0.0237840898, -0.0392410569, -0.0259756967, -0.0335198417, 0.0100367488, 1.681551786e-34, -0.0134804752, -0.0134134227, 0.0563571975, 0.0494632199, -0.0203062128, -0.0236016717, 0.0223792307, 0.0530814566, 0.0481950864, 0.0056583053, -0.0375249609 ]
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.0584259443, 0.0105972858, -0.0421260931, 0.0397973806, -0.0356586911, 0.0137602594, 0.0673381165, -0.0209389031, 0.0313797928, -0.0590235554, -0.0557098575, -0.0339429192, 0.028389547, -0.001217471, 0.0533420444, -0.0637396574, 0.074784711, -0.0090337191, 0.0565987416, -0.0462471284, 0.0130563024, -0.0033715055, 0.0233735014, 0.0395952612, 0.0188043341, -0.0110516762, 0.0332185552, -0.001633953, 0.0076717553, -0.0304303505, 0.0282920245, 0.0761778951, -0.0079059303, 0.0192011707, 0.0000020237, -0.0883612633, 0.0262138415, -0.0254827756, -0.0340393074, 0.0466279499, 0.0592074543, 0.0404797979, 0.0040117702, 0.0299622864, -0.0305112023, -0.019167047, 0.0204332825, -0.0043741376, 0.0164282825, 0.0280363876, 0.0045938054, 0.0155741954, -0.0688348338, -0.0203305166, 0.0102447104, -0.0149768069, 0.0284378175, -0.0404710881, -0.0064740977, 0.031080354, -0.0023629225, 0.0087158876, -0.0087868003, 0.01073913, 0.0277156178, 0.0066143759, -0.0221206062, -0.0277685225, -0.0407284796, 0.0591106005, 0.0176171418, -0.0266494211, -0.0225907359, -0.0392729267, 0.0744445175, 0.04470874, -0.0381005853, 0.0283182114, 0.0119167734, -0.0196703561, -0.007926682, 0.0435618944, 0.0047693914, 0.0280666277, 0.0298906639, 0.0658993572, 0.0219553206, -0.0401683934, 0.000447932, 0.0334446952, 0.0012426795, -0.0682200193, -0.0050517009, 0.0036182061, -0.0539941899, 0.0291398186, -0.0210305545, 0.0084088463, 0.0382686295, -0.0526631065, 0.0426011607, 0.0331958905, -0.013910641, 0.019148197, 0.0066798017, 0.0525636598, 0.0099530425, -0.0008377618, -0.0076937657, 0.0140997972, -0.0056654662, -0.0227703974, -0.0226541068, 0.0000148548, 0.0057577519, 0.0180422831, -0.0321901366, 0.0148475831, -0.0518559925, -0.0096143745, 0.0143489363, 0.0162896216, -0.0169232003, 0.0029506846, -0.0465889648, 0.0225225464, -0.0632119253, 0.0367467962, -0.0097442679, -0.0995730907, 0.0110986019, -0.0181539394, -0.0050455201, -0.0486199073, -0.0181971863, 0.0393405221, 0.0009110798, -0.022954965, 0.0034864745, -0.0193731375, -0.0323057771, -0.0623383, -0.0318280943, -0.0496754795, 0.0180505831, 0.0615226962, -0.0034833057, -0.0229075663, -0.0180080011, 0.0315233245, -0.0485088713, 0.0362555273, 0.0341088548, 0.0518639125, 0.0372499749, 0.0339349434, -0.0519778095, 0.0826801136, -0.0035708696, 0.0058992207, 0.0213251263, -0.033718273, 0.0267231595, 0.0467661433, -0.0068847169, -0.0092379432, -0.0002515495, 0.0177600682, 0.0162441321, 0.0046726856, 0.0554015711, 0.0763762668, -0.0104169007, 0.006348874, 0.0859493613, 0.0255492851, -0.0394836776, -0.0119309854, 0.0229679737, 0.0380589403, 0.0067490642, 0.0330079384, -0.0828075558, 0.0186826158, -0.0130145922, -0.018489847, 0.0054367683, 0.0346687622, -0.0152791804, -0.0155829731, -0.0195299052, 0.0386133902, 0.031854637, 0.0299833603, 0.0163479093, 0.005646029, -0.026196802, 0.0487336405, 0.0221888069, -0.0350042544, -0.000060284, -0.0484580584, 0.0314242803, 0.0616142191, 0.0244012047, -0.023969993, -0.0074098799, 0.0012447932, 0.0107083032, 0.0563013367, 0.1189832464, -0.014391371, -0.0225491077, -0.0212434996, -0.028342858, 0.0027521926, 0.0117621673, 0.0133284004, 0.0475494415, 0.0020938828, 0.0023134148, -0.0217103455, -0.0443200059, 0.0173483342, -0.0125135761, -0.0132289082, -0.055657994, 0.0069181342, 0.0278731901, 0.00784251, -0.0083752181, 0.0176688544, -0.0272719841, 0.0107120229, 0.024680445, 0.0095638456, -0.0976591185, -0.0025681867, 0.0078333523, 0.0031397804, -0.0525155626, 0.0399823189, -0.000701983, 0.0027954071, 0.0299713146, -0.0257157367, 0.0212034341, 0.0094618471, 0.0319304131, -0.0725212917, 0.0004273001, -0.0575555824, 0.0490769781, 0.0162429754, 0.0082875835, 0.0443123356, -0.0078885723, -0.0151387099, -0.0392134339, -0.0428684056, -0.0104439342, -0.0195134487, -0.0282216687, 0.0370298438, -0.0351741202, -0.0428313203, -0.0135050854, -0.1065290198, -0.0300799347, -0.009039076, -0.0095130634, 0.0088078091, 0.002998932, -0.0255805179, -0.0120505625, -0.0329249129, -0.0175040886, -0.0021205007, 0.0727289468, 0.0114180837, -0.014056541, -0.0255942326, -0.0533649214, -0.0113487747, -0.0301669333, 0.0396266915, 0.0291479137, -0.0101927044, -0.0558062494, 0.0583846904, -0.0178927127, 0.0005466267, 0.0087047713, -0.0092598023, 0.0368675143, 0.051245112, 0.0776022002, 0.0824514255, 0.012147543, 0.0034897812, 0.0566358715, -0.0200394895, -0.0793386623, -0.0300700124, 0.012664957, 0.0080927741, -0.0094761737, -0.0900008827, -0.0145383738, 0.0594711453, 0.0585082844, -0.0019776504, -0.0552177653, 0.0485429913, -0.0557188466, -0.0687779561, -0.0269831903, -0.0714852139, -0.0245026182, 0.0166456904, -0.0472440571, -0.0746350884, 0.0590700395, -0.0017279614, 0.0025403237, -0.0129312351, 0.0325133801, -0.0266261455, 0.0478263833, -0.0005365189, 0.0087093534, 0.0074898805, -0.0273963641, -0.0832086802, -0.0185161028, 0.0391670801, -0.0241065472, 0.0161186215, -0.0403612256, -0.0190195777, -0.0236992817, -0.0284015685, -0.0297462102, -0.0562073328, -0.0312337987, 0.0154498983, 0.0379616395, 0.0117779924, 0.0350325294, -0.0067949854, 0.0293414742, -0.0022277927, -0.0311661903, 0.006943149, -0.0013881549, -0.0244665388, 0.0272146147, 0.0008830937, 0.0448547639, -0.0292610861, 0.0280159619, -0.001156203, 0.045158457, -0.0017997191, -0.0268991832, -0.0091683641, 0.0478632152, -0.018503638, -0.0389920026, 0.0457452647, 0.0883109942, -0.0430702195, 0.0109362807, 0.1039778963, -0.0052688522, -0.0463981032, 0.0119706383, -0.0264799818, 0.0259616859, 0.0304255672, 0.0017282168, -0.0477118231, -0.0088235121, 0.0289292522, -0.0069347373, -0.0354910344, -0.025141947, -0.006945116, -0.1656727493, 0.023701828, -0.0118859978, -0.0103299674, 0.0205411427, -0.0364783294, 0.0350973234, 0.0023771916, 0.0397429466, 0.0186218899, -0.0225379355, 0.001197868, 0.0300148521, -0.0285204202, -0.0592183881, 0.0468703136, -0.0510460399, 0.082238771, 0.0518981777, -0.0018084182, -0.027865015, -0.0125053944, 0.0642599612, 0.0211932249, 0.0102425069, -0.0224741846, 0.0130205378, -0.029188402, 0.0069881394, -0.0362817384, -0.0150266159, 0.0306197274, 0.0119954478, -0.0121522686, 0.0535300411, 0.0202996209, -0.0554617234, -0.0273607392, -0.0023796621, 0.0105239656, 0.1074969769, 0.0460354201, -0.0410410278, -0.0049649351, -0.0195676088, -0.0211163275, 0.0187065937, -0.0458320491, 0.006128625, -0.0205698181, -0.0204797909, -0.031291537, -0.0619340464, 0.0302272048, -0.0021494795, 0.0264919996, -0.002981479, 0.0084382454, -0.0071023735, -0.0053025251, 0.0328198522, -0.0174132716, 0.0471664034, -0.0168324634, -0.0110410964, -0.001409402, -0.0206352845, -0.0093777245, -0.0094307326, -0.0342104249, -0.0639487505, 0.0430434346, 0.0435851589, 0.0313292295, 0.0229781084, 0.0251945201, -0.0793238655, 0.0355554037, 0.0105948476, -0.0141067309, 0.0603508838, 0.0025008004, 0.0003115015, 0.01491128, 0.0217035096, -0.0389999002, 0.0255369954, 0.0582488962, 0.0157249384, 0.0013870131, -0.0503867641, -0.0046505281, 0.013510095, 0.0679648742, -0.027720781, 0.002604903, -0.0335519239, -0.0358927213, -0.0465074554, -0.0418019481, -0.0123834964, -0.0292890556, 0.0062741055, 0.0227891039, -0.0157841705, -0.0145658329, -0.0439859629, 0.0427619666, -0.0563462898, 0.0280188732, -0.0006509968, 0.0102024497, 0.0169782192, 0.0197539553, -0.0365329906, 0.0243349336, -0.0232986789, 0.0073352968, 0.0316157341, 0.0740875527, 0.0043571829, -0.0122946193, 0.0034938937, 0.0316030681, -0.0312318541, -0.013432038, 0.0106921727, 0.0264739394, -0.0053826347, -0.0332518779, 0.0531563498, 0.0082310792, 0.0272202548, -0.0152732013, -0.0179688148, 0.0078186579, -0.0319656618, 0.0537715331, 0.0079695676, -0.0225469451, 0.0119058629, 0.0682694688, -0.0018364475, 0.0143233808, -0.0168295745, -0.0295671821, -0.0024043049, -0.014511249, 0.0501513593, -0.019326983, -0.043412704, -0.0356162675, -0.100850217, -0.0528650731, -0.040186882, 0.0112354476, 0.0362252817, -0.0496931113, 0.0408676006, 0.08089187, -0.032084953, -0.052548904, -0.0055640079, 0.0027585025, -0.024320215, 0.0030208833, -0.0440934189, -6.280614154e-33, -0.0408280119, -0.0179037545, -0.0039720233, -0.0364422873, 0.0005260048, -0.0097319456, -0.043767944, 0.0471798591, -0.0226206165, 0.0010539669, -0.0114986058, 0.0036520541, 0.0288717784, -0.0370072275, 0.0423705466, -0.0194985028, 0.0608540177, -0.010037614, -0.0426693745, -0.0127550121, -0.015707776, -0.0244489927, 0.0247119665, -0.0300503373, 0.0851046368, -0.0172572006, 0.0058366456, -0.0179989692, -0.0128430724, 0.0276397821, -0.0100143934, 0.0665544122, 0.0433599353, -0.0412383527, -0.0367504954, 0.0991462395, -0.0070590526, -0.0453104004, 0.0584008954, 0.0120054139, 0.002235878, -0.022218639, 0.0309168417, -0.0012300649, -0.1001579314, 0.0190545823, 0.0353620723, -0.0074638985, 0.0210273173, 0.0550530851, -0.0697136745, 0.0032717702, 0.0030495711, -0.0127373766, -0.0310063995, 0.0442248844, -0.0079987068, 0.0152488472, -0.0075134039, 0.0316629447, -0.0103210779, 0.0050874338, 0.0610681176, 0.026123127, 0.0081655812, 0.0509748757, 0.0649993494, 0.0903937221, -0.0126917455, -0.0631482378, 0.0382610932, -0.0020281873, 0.0548321046, 0.0461088568, 0.0123162121, 0.0001802095, -0.0115176477, -0.0041752653, 0.0634045899, 0.0104915621, 0.0486129038, -0.0032075469, -0.0832508877, -0.0661016032, -0.0289918166, -0.0240330212, -0.0248616636, -0.0304664504, 0.0599375702, -0.0053530508, -0.0158385262, -0.0138164265, 0.0471533872, -0.0297929198, -0.0345668942, -0.0046592075, -0.0190557279, 0.0232939366, 0.0097053396, 0.008952572, -0.0765050128, 0.0009311585, -0.0006730994, 0.0497272387, 0.0215317458, 0.0203921255, -0.0233804081, 0.0027463392, -0.0619829558, 0.0109172743, -0.0320674703, -0.0192826819, 0.0143090077, -0.0072325892, 0.0492832474, 0.0024195162, -0.0123707158, 0.0100288708, 0.0096861562, -0.052482143, -0.0557146594, 0.0126430001, -0.0375127979, -0.0042560841, -0.0397123098, -0.0167963319, -0.0364502035, 0.0175147783, 0.0176570062, 0.0014153733, -0.0313357301, -0.0409279503, 2.627e-7, -0.0017926162, 0.0566934198, -0.020798238, 0.0682340264, 0.0110414652, 0.0281000957, 0.0128731746, 0.057245329, 0.0442112945, 0.0025730478, -0.0269493274, 0.03052436, 0.0112628192, 0.0143075511, -0.0626240298, -0.0167800784, -0.0851183906, 0.0420332961, -0.0195683856, 0.0069572665, 0.0071286676, 0.0125420885, 0.0134838214, 0.0284400936, -0.0518827103, -0.042191565, 0.0305959918, -0.0451940894, 0.005473305, 0.0214770231, 0.026507223, 0.0050154892, 0.0312764831, 0.0519374385, 0.0391155891, 0.0117511367, 0.0109228604, 0.0388063565, -0.0044576973, 0.0328538418, -0.0117098251, -0.0251479242, -0.0164637491, -0.0919955, 0.0524342097, -0.0260237362, -0.0121004945, -0.0416609123, -0.0072528678, -0.0194151774, 0.0297097042, -0.0082332864, -0.0140948882, -0.0185211804, 0.0287415721, -0.0161901433, -0.0347570926, -0.0425806493, -0.0449671932, -0.0201340094, -0.026888838, -0.1015599966, -0.010620717, 0.0182045251, -0.0035891524, -0.0397590473, 0.0107959211, 2.306326574e-34, 0.0313491039, 0.0005974399, 0.0438600853, -0.0173585359, 0.0302110054, 0.0180400871, -0.0587647036, 0.0093653193, 0.0529191755, -0.051253967, -0.0159593038 ]
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.034059085, 0.0544390343, 0.0021080102, 0.0472180396, -0.0054290248, 0.0364988074, 0.0348867737, 0.0468398668, -0.0086737638, -0.074145183, -0.0320344642, -0.0390690863, -0.0301807635, 0.0208019949, -0.0054870434, -0.0658364147, 0.0267540812, -0.0321985744, 0.0134277306, 0.0066983872, 0.0313194916, 0.0278696977, 0.0174663104, 0.0064892429, -0.0407409631, -0.0055932626, 0.0057034646, -0.0230583716, 0.0523688234, -0.0328988768, 0.0043578506, 0.0617389083, 0.0928083211, -0.0208827443, 0.00000195, -0.0276387371, 0.0135682058, -0.030900551, -0.0288383458, 0.0666714981, -0.0011289964, -0.0204124581, 0.0317646451, 0.0220018886, -0.0349474773, -0.0416457467, 0.0523084067, -0.0206605475, 0.0529362187, 0.0173755381, -0.0354214832, -0.0469160751, -0.026179783, -0.029581584, -0.0068544936, -0.0364166312, 0.0352322906, -0.0036835726, 0.0259201992, 0.0018676943, -0.0457803085, 0.0293266308, 0.0169529319, -0.0332807302, 0.0045085191, 0.0104576414, -0.0754652396, -0.0237210151, 0.0295416042, 0.0655258968, 0.0023605975, 0.0082747247, 0.0373411439, 0.0157762282, -0.0095763179, 0.0297001749, -0.0746634901, 0.0124443844, 0.0284388717, 0.0297339205, -0.0086480519, 0.0201407988, 0.001311622, 0.0238752421, 0.0028753986, -0.0373656377, 0.0426085405, -0.0140403025, -0.0174531806, -0.0052004536, -0.0353130139, -0.0619389527, 0.0198870059, 0.0055763125, -0.0108003765, -0.0115829483, -0.0557956994, 0.026397381, -0.0091341091, -0.08878766, 0.0089571914, 0.0048209727, -0.0221643634, 0.0723933205, -0.0303191729, 0.0917461589, -0.0056552188, -0.0151209319, -0.0139900073, -0.026656583, -0.0510095991, 0.0088257128, -0.010102639, 0.0243070144, -0.0194552932, -0.0268469211, -0.0044801026, 0.0334826261, -0.0116170114, 0.0217597019, -0.0424732193, 0.0212322026, 0.0482864864, -0.0214550346, -0.0054290621, 0.050069157, -0.0798267126, 0.0349745266, -0.0191960987, -0.0501123108, -0.0109540708, 0.0161045957, 0.020803269, -0.0515007079, 0.059578225, 0.0088506201, -0.0463207401, -0.0141475247, -0.0239423625, 0.0233131442, -0.0208327584, 0.0053514363, 0.0186270531, -0.0736361966, 0.0514839143, 0.0071205101, 0.0072856308, -0.0013720606, -0.008799132, 0.0098728798, -0.0399858393, 0.041475974, 0.0033650966, 0.0213641711, 0.0080448221, 0.003350368, 0.0285523888, 0.0644814, -0.0167605877, 0.0192973539, 0.0560280941, -0.0081184721, 0.0202423055, 0.0394780897, -0.0260535795, 0.0449426509, -0.0502437577, 0.0402060375, 0.0368751138, 0.041647844, 0.0604748726, 0.0374812111, -0.0400001369, -0.0594668686, 0.0713668019, 0.062791124, -0.0492438488, -0.0162262581, 0.0045268172, 0.0569408946, 0.0281298347, -0.0031791832, 0.0145055903, 0.0716895089, 0.0273726787, 0.0023720546, 0.0256219786, 0.049682714, -0.086191006, -0.0077065593, -0.0517709851, -0.0108974623, -0.0143832508, 0.0363034755, 0.0389706939, -0.0185128655, -0.0208616126, 0.074223727, 0.0217679143, -0.0053057922, 0.0303763654, -0.0166482441, 0.013041744, 0.0470582247, 0.0099137416, -0.0033255713, -0.0553936213, -0.0075036106, 0.084980838, -0.0044406597, 0.027261477, -0.0396377109, 0.003865984, -0.0881817266, -0.0471459664, -0.0028106857, -0.0095384633, 0.0225193091, 0.0041615395, 0.0397068001, 0.0125496574, -0.012529227, 0.0147915045, 0.0248856712, 0.056846302, -0.0041859248, 0.0132198194, -0.0019802398, 0.0340771601, -0.0054377131, -0.0389379673, -0.0445117466, 0.0380643941, -0.0428936481, 0.0097617675, 0.0034464498, -0.0487497598, -0.0377765447, 0.0189262927, -0.0527287722, 0.0085965842, 0.0709279031, -0.0756324083, -0.0255818013, 0.0082976781, -0.0167927854, -0.0092888642, -0.0541726127, 0.0130183967, 0.0080874562, 0.0224739742, -0.0257529356, 0.0094651319, 0.0184529535, -0.0158252977, 0.0180940144, 0.0208814647, 0.0223097205, -0.0396514833, -0.0353349671, 0.0345660783, -0.0301405657, -0.0272585955, 0.0196388215, -0.0116038788, -0.0378949866, -0.0182716325, -0.0624105446, 0.0233251397, -0.0117196562, 0.0370896906, -0.0172233768, -0.0036480438, -0.0229080375, -0.0470221229, 0.0122977234, -0.0099767409, 0.0161207803, 0.0236991737, 0.0043374854, 0.0074993507, 0.0092806146, -0.0076448354, -0.0335368216, 0.05747151, 0.0707722753, -0.0208951384, -0.0406779274, 0.0268307924, 0.0027260717, -0.0107418681, 0.0044396389, -0.0213854238, -0.0357909873, -0.0266295634, -0.0073018405, -0.0427914187, 0.0356343128, 0.0281740911, -0.0131750768, 0.0119466344, -0.0055117365, -0.0109751485, 0.0075004976, 0.0125568453, -0.0556021817, -0.0346407369, 0.014849674, 0.000561412, -0.0105000651, -0.034091346, 0.0403769501, -0.0559995547, 0.002815851, 0.002083594, 0.0235760994, -0.0639277846, -0.0020108435, 0.0047084424, 0.0125527363, -0.0224883892, -0.041590929, 0.044805035, -0.0152555946, -0.0318990014, -0.0002423036, 0.0078503853, -0.0157264192, 0.1017949432, -0.0099865654, -0.0175502468, -0.034500014, -0.0272390917, -0.0541784614, -0.0080413651, 0.0195199028, -0.0126374243, 0.0485494472, -0.0423631445, 0.0139123034, -0.0098081538, -0.0392819792, -0.0612125844, 0.0030909709, -0.0520502105, -0.0233543012, -0.0482884943, 0.0086091971, -0.0118336771, 0.0140193421, 0.0076388186, 0.049346745, -0.009889341, 0.0611725673, 0.0088246968, 0.0691823959, 0.0731835365, 0.0154136475, -0.0323131792, -0.0162657201, 0.0792357028, 0.0784384534, 0.040211685, -0.0133088408, -0.0109699387, 0.0376102887, 0.0417180993, -0.011164397, -0.0470899828, 0.0228246469, -0.0057559712, -0.0738847777, 0.0257501975, 0.1354278028, 0.0086077815, -0.0566054098, -0.021763036, 0.01487693, 0.0090228403, 0.0462078005, 0.0335181616, -0.0955181345, -0.0508498326, -0.0022938561, 0.0038755811, 0.0096138604, 0.0023332906, 0.0011900841, -0.0898563564, 0.0744468272, 0.0147495614, 0.0091004511, -0.038424328, -0.0781123862, 0.0287108738, -0.033006452, 0.0081653493, -0.0103230076, -0.0267125778, 0.0009090467, 0.0204921607, -0.0137748467, -0.0727888122, 0.052144561, -0.0730011687, 0.0391447879, -0.0044234167, 0.0287500434, -0.0177905001, -0.0355358087, -0.0228714477, -0.0298696011, -0.0037193489, -0.0286505874, 0.0401046276, -0.0138634257, -0.0336212292, 0.0070216497, 0.0430385321, -0.0036570909, -0.0440659933, 0.0283299368, 0.083863914, -0.0304367505, -0.025136916, 0.0041427938, -0.0192896035, -0.0122055076, 0.0853474885, 0.0132054007, -0.0079508508, -0.0038613109, 0.0722943023, -0.0697918758, -0.0183381103, -0.0257112365, -0.0221136007, 0.004057013, 0.0202919543, -0.0392585807, 0.0314860828, 0.0820093229, 0.018035287, -0.0504845902, 0.0105722491, 0.0058818245, 0.0233244337, -0.0893511176, 0.0730627105, 0.0029696489, -0.0231885556, -0.057591904, -0.0146603044, 0.0517868064, -0.0235116202, -0.0350110978, 0.0156182786, -0.034837693, -0.0157464165, -0.014753079, 0.0402495377, 0.0087398253, 0.0773223564, 0.0449952334, -0.0364137888, 0.0127704609, 0.009664231, 0.0218367726, 0.02748169, -0.0161566474, -0.055172503, -0.0232269857, 0.0388141312, -0.0388542973, 0.0175089817, 0.0081261657, 0.0048669814, -0.0282486212, 0.0208981484, -0.0017286255, -0.0231300872, 0.0149434591, -0.0081860702, -0.0275881588, -0.0310496539, 0.0160895903, 0.0343062021, 0.0157916397, -0.0647870079, 0.0172969438, 0.0261350609, -0.0011039532, -0.013541515, -0.0043946803, 0.0015183191, -0.0535594337, -0.0344357155, -0.0229129568, -0.0295436252, 0.005183496, 0.0142172426, 0.0014351071, 0.0196522698, 0.0186442323, 0.0299820211, 0.0401398502, -0.0208570361, 0.0387054011, 0.0070306971, -0.0002547578, 0.0039032362, 0.0304328147, -0.0107833138, -0.05107655, -0.0273404364, 0.0017840526, 0.0494296104, -0.0727928877, 0.0171190817, -0.0121403001, -0.0259648785, -0.0262482073, 0.0261161774, -0.0065458938, -0.0346321389, 0.0268761385, 0.0166360606, -0.0180158187, 0.0198208429, 0.0845618322, 0.0208212286, 0.0529644489, 0.0067253271, -0.0132803023, 0.0014108896, -0.023070069, 0.0124205481, 0.0103729675, -0.0160220955, 0.001022597, 0.0121143032, -0.0546294935, -0.0064222375, -0.0634870306, -0.0406460948, 0.0374994241, 0.0736701488, 0.0176632684, 0.008026192, -0.0084077688, 0.0048943358, -0.0235569347, -0.0476202853, -0.0424284935, -0.0121721076, -6.158014501e-33, -0.0080456119, 0.0302714221, -0.007279017, -0.0023678297, -0.0224212538, 0.0306115746, -0.0076302607, -0.0077248528, -0.0207710061, 0.0117297797, 0.0240937769, 0.006443949, 0.0198379159, 0.0620912425, 0.0239015557, -0.0840796679, 0.0372655354, -0.0357468352, -0.0047419122, 0.0110761067, 0.0111560822, 0.0227789134, 0.0612484291, -0.0438382663, -0.0624888018, 0.0003297307, 0.0053764475, 0.0131974919, 0.0392521173, 0.0794460699, 0.0017756491, -0.0311709419, 0.0260284971, -0.0452004261, -0.0326610431, 0.0151316943, -0.04752893, -0.009861093, 0.0199080445, 0.034588404, 0.0041376352, -0.0304125417, 0.0325569995, -0.0064526545, 0.0100045074, -0.0444589071, 0.0270045511, -0.0412265435, 0.003242559, 0.0059318095, -0.002816261, 0.0065226438, -0.0397232287, -0.0343746804, 0.0365525968, 0.0189153589, -0.0068656458, -0.0186913107, -0.0356871374, 0.0011854225, -0.0139810592, 0.0481825322, 0.0956877843, 0.0256574117, 0.0360707678, 0.0686444119, 0.0107647534, -0.0932954624, -0.0151366293, 0.0030680015, 0.0017889746, 0.0514932796, 0.0449493825, 0.0434261076, 0.0394607, -0.0062658293, -0.0741677433, 0.0084779905, -0.0297565665, 0.0566024855, -0.0048969588, 0.0109315366, 0.0128924074, -0.0148428334, -0.0421438999, 0.0195458215, -0.0131382709, -0.0105058439, 0.032819137, 0.0039926809, -0.0041238093, 0.0016653689, 0.0777978525, -0.0320471637, 0.0203544311, 0.0699018091, -0.0286756959, 0.0518648364, 0.0420506746, 0.0170913618, -0.0377981588, -0.0160978884, 0.0292984601, -0.0389617048, -0.0138929151, -0.0260729957, -0.0348112844, 0.0379435308, -0.0321669541, -0.0019859045, -0.0033890484, -0.0220561139, -0.0028661583, 0.0336461067, 0.0186930299, 0.0325667486, -0.0121236257, 0.0683779642, -0.0209765993, -0.0104254195, -0.0080028772, -0.0314633548, -0.0012310799, 0.0034338646, -0.009862205, 0.030253768, -0.0687795728, -0.0680953041, -0.0028628896, -0.0476097874, -0.0106228134, 0.0114926314, 2.663e-7, 0.0026974152, 0.0313520692, -0.004945674, -0.0261473116, -0.0023812284, 0.0319778472, 0.0100832963, 0.0333231874, 0.0265704151, -0.0216070861, 0.0453384928, 0.0706521273, 0.0554839894, -0.0065602725, -0.0679353327, -0.0090663312, -0.0870784819, -0.0455538444, -0.0549189597, -0.027510399, 0.0081774518, 0.1246365234, 0.0319174491, -0.0168013927, 0.0510962866, -0.0406810828, 0.0430295952, -0.0027292247, 0.0006860253, 0.0210914426, -0.0126920231, -0.0016289768, -0.0288141388, 0.0297965109, -0.0284742117, -0.005481442, 0.0266566351, 0.0891393647, 0.0003976685, -0.0335405953, -0.0498171151, 0.0223360285, -0.0232442543, -0.0513988733, 0.1233328879, -0.0167674404, 0.0052877953, -0.0324884914, -0.0162915103, -0.0337249972, -0.0143306348, 0.002218907, 0.0156609938, 0.0444076657, 0.0266634822, -0.0139510296, -0.0442544147, -0.0980978012, 0.0263471119, -0.0107372329, -0.0761445612, 0.0154850418, -0.065089047, -0.0185470339, 0.0520175286, 0.0205133446, -0.0223219078, 2.162945881e-34, -0.0017582264, 0.0004397689, -0.0224403832, -0.0250191521, -0.0143112745, -0.0005355346, -0.0328124762, 0.0146469017, -0.0157875214, -0.0684790313, 0.0216694679 ]
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.0883942991, 0.0574226156, -0.0343694277, 0.0120804245, -0.0387028232, 0.0159638952, 0.0439490341, -0.0130242752, 0.0763979927, -0.01506784, -0.02591368, -0.0199613981, -0.0092705721, 0.0185688883, -0.0073511503, -0.0804836825, -0.0069989688, 0.0292992853, 0.056293603, 0.0180272181, 0.0300992187, 0.0317475311, -0.0516806804, 0.0665162951, -0.0144214137, -0.0472329855, -0.0039148554, 0.0177061092, 0.0255530607, -0.0625283122, 0.0344792157, 0.048754029, 0.0228059478, 0.0009882376, 0.0000021928, -0.0228893943, -0.0088263517, -0.0049231225, -0.018565448, -0.0233229343, 0.0390843414, -0.0558000058, 0.0231175311, 0.0398846641, -0.0082678655, 0.0053938357, 0.0230288673, 0.0880344138, 0.1051306725, 0.0527848378, -0.0165681448, -0.0071889977, -0.0166697185, -0.005033114, -0.0474537648, -0.0479375646, 0.0267532207, 0.0089125112, 0.0119324494, -0.0210674107, 0.0006316429, 0.0100020496, -0.036117401, -0.0096396105, -0.0288622882, -0.0171250049, -0.0584042817, -0.0285905693, 0.0002398144, 0.0945170745, 0.0607936494, 0.0420580879, 0.0127044935, -0.0188806597, 0.0212309435, -0.0507347435, -0.037266124, 0.0247253254, -0.0021467223, 0.0019160178, 0.0172859635, 0.003879274, -0.0168424472, -0.0082191722, 0.0500658378, 0.0287826452, -0.0389586873, -0.0339917168, 0.0155345639, -0.0223905519, 0.0000685688, -0.0728635117, 0.0254067816, 0.0334034637, -0.0750328973, 0.0416462086, -0.0386806577, -0.0041743279, 0.0238692816, -0.0066861506, 0.0524654575, 0.0482512899, 0.0018603129, -0.0008819681, 0.0814893544, 0.0292707514, 0.0377255194, 0.0254170671, 0.0109311128, 0.0208626278, -0.0824288204, 0.0095110629, -0.0571136177, 0.0156911481, -0.0281482842, -0.0231891684, -0.0597256236, 0.038725432, -0.0277834013, 0.0176962428, -0.0223770961, -0.0078521008, -0.0136903282, 0.0166153535, -0.0165313985, 0.0231277421, -0.0161950942, 0.0144070443, 0.0340688378, -0.086596705, 0.0247376803, -0.0116077345, -0.0137967812, -0.0105750989, 0.0127321901, 0.0278008915, -0.0192325395, -0.0168908164, -0.031347204, -0.0370792449, -0.0374677368, -0.034825325, -0.0181987211, -0.0178632997, 0.0572255068, -0.0057598022, 0.0192515943, -0.0336428508, 0.0500308387, 0.0051620407, -0.0685167164, 0.1068679765, -0.0189504642, 0.0058341702, 0.0269896239, 0.0551265143, 0.0292158518, 0.061611969, 0.0086592007, -0.0017893299, 0.0395586565, -0.029263027, 0.0197741296, -0.0084551051, -0.0062310253, -0.0233192872, 0.0120346704, 0.0150527563, 0.0017390151, 0.0771071464, -0.0381786451, 0.0207749028, -0.026552368, -0.0074782162, 0.0637877136, 0.0586888157, -0.0080651483, 0.0360489823, 0.0070151435, 0.0659545138, 0.016483169, -0.0322672464, -0.0487863533, 0.003170483, -0.0465613231, -0.035431128, -0.0093148183, -0.0200556144, -0.0467579998, -0.0421516374, -0.0075545213, -0.0273712631, -0.0314262919, 0.0075558717, -0.040326152, 0.0091479914, -0.0166080613, 0.0357333757, 0.0193508267, -0.0281847715, -0.0699532256, -0.0500591695, 0.0025573466, 0.0767955706, 0.0489287898, -0.0317398235, -0.0329372436, -0.0238338578, 0.0187668167, 0.0467597358, 0.0189253055, 0.0026923933, 0.033209715, -0.0396044403, -0.018530881, 0.0190323573, -0.0011005324, 0.0032715048, -0.0149287665, 0.0054749087, -0.0162485242, 0.0428828523, -0.008785258, 0.0512901098, -0.0182123519, -0.0402524546, 0.0101425108, -0.0111790076, 0.0532421283, 0.0197602157, -0.0079288017, -0.0056375177, 0.0251973346, 0.0083634863, -0.0128803756, 0.0387551598, -0.0487811118, -0.0249823797, 0.0194111913, 0.0006025596, -0.0117912078, 0.0285760611, -0.022863809, -0.0008260912, 0.0408707187, -0.0520335287, 0.0775806606, -0.0049761124, 0.0287623163, -0.0036174986, 0.0298984051, 0.0029647541, 0.0031557474, -0.02320797, 0.0150566548, 0.0070184898, -0.0142442938, -0.0422488898, -0.0309521072, -0.0004436088, -0.0054866909, -0.0061830701, 0.0050380072, -0.0145193553, 0.042960763, -0.0519249626, -0.0407234877, -0.106880255, -0.0060175541, -0.0098190717, -0.0386808962, 0.0185201932, -0.0318967178, -0.024687564, -0.0218061041, -0.0582411587, 0.0012382953, 0.025504332, 0.0265551731, 0.0207021255, 0.0248125084, -0.0429634675, -0.0333192497, 0.0040270439, -0.0190943982, 0.0190258175, -0.0377792045, -0.0075862575, -0.0315511934, 0.0265205018, -0.0287157595, 0.0431711636, -0.062159963, -0.0553903133, 0.0308854021, 0.0329148918, 0.0536868572, 0.0160532203, 0.0487322211, 0.024567958, -0.0115446001, 0.0013741484, -0.0584198274, 0.0155952834, 0.0041506216, -0.049425561, -0.0736363679, -0.062682122, 0.0167103689, 0.0365931168, 0.0200435091, 0.0297182966, -0.0357804447, -0.0238778945, 0.0469842441, -0.009754681, -0.0153613174, -0.0051979767, 0.0012250122, 0.0113419769, -0.0098900367, -0.0048061619, 0.0511040315, -0.0140144164, -0.0376337506, -0.0299701747, -0.0452546626, -0.0316632502, 0.044453226, 0.0103108948, 0.0097514698, 0.0585611872, -0.0265074689, 0.0245326664, -0.071132876, -0.0047718445, -0.0393549874, 0.007972993, -0.0688155442, -0.0042164684, 0.0272408202, -0.0260094907, -0.0740661919, -0.0401137359, -0.0314227082, -0.0163498539, 0.031596031, 0.0109578641, -0.0806970298, -0.0466678664, 0.0335023068, 0.0410747267, 0.0043295738, -0.0472904891, -0.002815926, -0.019604871, 0.0273683481, -0.0044321585, 0.016357528, -0.0216179769, 0.0669559836, 0.0549152419, -0.0199442022, 0.0058038589, 0.0125158271, -0.0056006, -0.018522691, 0.0302722994, 0.0126538575, 0.015730124, 0.0388685651, -0.0134546906, -0.0443024822, 0.1207859144, 0.0353314467, -0.0651522055, -0.0023423319, -0.0251803044, -0.0174907055, 0.0206396971, -0.0264462847, -0.0598555915, -0.0294943787, -0.0188086051, 0.0544702783, -0.050091736, -0.0365204401, -0.0192586817, -0.0666836202, 0.035553921, -0.0169588737, 0.0254238583, -0.0329800397, 0.0000383301, -0.0010644464, -0.0074808397, 0.0012155116, -0.0253409594, 0.0122696077, -0.0114979856, 0.0003566184, -0.0726540461, -0.0334460102, 0.058230333, -0.0021682524, 0.0973446518, 0.0251691844, 0.0603528619, 0.0157951415, -0.0420302227, -0.0313485004, 0.0489629023, -0.0146785574, 0.0340570435, 0.0671043172, -0.0149480421, 0.0171854869, -0.0149779832, 0.0627733618, -0.0628288537, -0.0195136834, 0.0494691432, 0.0424965844, -0.033077091, 0.0072982507, -0.0148157552, 0.0819905251, 0.052302897, 0.0537106954, 0.0209522098, -0.0493105873, 0.0095554125, -0.0075529325, -0.002251402, 0.0076834676, -0.0238849521, -0.0011586306, -0.0096836854, 0.0198912527, -0.0292958058, -0.0582155362, 0.0459445976, -0.0246420838, -0.0156424157, -0.049661696, 0.0060760598, 0.0382650346, -0.0198849421, 0.0368879177, -0.0303260833, 0.0297752377, -0.0670790151, -0.0279510804, 0.0340650566, -0.0448724702, 0.0028780424, 0.0601456016, -0.0326940417, -0.0247561764, 0.0451870672, 0.0214049891, 0.0124498336, 0.0167453662, 0.0240810774, -0.0202375371, -0.0404592343, 0.056267716, -0.0559445545, -0.0152204977, 0.0280161146, 0.0738359243, 0.0079449071, 0.0400200449, 0.0191529691, 0.071182847, 0.015044488, 0.0101956138, -0.0735089108, -0.0438890755, 0.0177528877, 0.0211768635, 0.0121344402, 0.0232907496, -0.0020238021, -0.009992606, -0.0245208014, -0.0382391512, -0.0302630458, -0.0377749614, -0.0092060938, 0.0091040703, -0.0217674021, 0.0043940917, -0.0738583803, -0.0753488839, -0.0186768752, -0.0357092544, -0.0077304752, 0.020923933, -0.0089864675, -0.0244245529, -0.0154023441, -0.0094573321, 0.0213202015, -0.0099838888, 0.0387840271, -0.0063585606, 0.1131707355, 0.0139173232, 0.0113160992, 0.0346140712, 0.0215796027, -0.0446037725, -0.0688175261, -0.0061641866, 0.0305129159, 0.0180134811, 0.056526009, 0.0072018611, -0.0482098497, 0.0171632692, 0.009343788, 0.0543183126, -0.0104314135, -0.0464003608, 0.0251597054, 0.0166705139, -0.0251494423, -0.0176113136, 0.0231165364, -0.0319186561, 0.0142951785, 0.0081396066, -0.0317231901, -0.0589587316, -0.0066732331, 0.0023026413, 0.0618869923, -0.0051521482, 0.0028022272, -0.048694998, -0.0511112437, 0.0108660422, -0.0180483311, -0.004685279, -0.0301403236, 0.0343390964, 0.0111362133, 0.0103756152, -0.0369615033, -0.0671060756, 0.0504411943, -0.0070969537, -0.0220045131, -0.0396214053, -5.392948044e-33, -0.0157617815, 0.0039532981, 0.0181364976, 0.0348445661, -0.0123734344, -0.0178499762, -0.022615321, 0.0392685756, -0.0193464775, 0.0152350282, 0.0080648027, 0.079004921, 0.0019234805, 0.0372283608, 0.0141385887, 0.0407781973, 0.0273620095, -0.029175682, -0.0139355324, 0.028436048, -0.0135726947, 0.054257378, 0.0451315194, -0.1271141917, 0.0391729102, 0.0046534445, -0.0200725961, 0.0043221307, -0.0107331295, 0.040247988, -0.0304528531, 0.0384715907, 0.0215537418, -0.0078753112, 0.003864856, 0.0091353999, -0.0326718464, -0.0149697596, 0.0187113881, -0.0032834043, -0.0613396205, -0.0001872066, -0.0315784924, -0.0389600359, 0.0181315802, -0.0343345664, 0.0207737479, -0.0492903739, 0.0161631797, 0.0162095353, -0.0073104636, -0.0083012301, -0.0388133116, -0.0248269401, -0.0317949019, 0.0657500327, -0.0402899124, 0.0220507719, -0.0519036017, 0.0303658918, 0.0487768427, -0.0142748589, -0.0025611219, -0.0220563076, -0.0097800763, 0.0336837843, 0.0134395445, -0.011493667, -0.008534587, -0.0002994694, -0.0054335347, 0.0402886271, 0.026628172, 0.0425997674, -0.0186899267, -0.0392733663, -0.0106789134, -0.0137009686, 0.0689272955, -0.0248812139, 0.0485301316, 0.0021954339, -0.0270502381, -0.0153555144, -0.0417195521, -0.0217191465, -0.003453729, -0.002953978, 0.0249559134, 0.0150269251, -0.0217472799, -0.0072704996, -0.0130100977, -0.0162586775, -0.0014041236, 0.021356022, -0.0145985307, 0.0143678086, -0.0044295699, -0.006371547, -0.0613005012, -0.0289194118, 0.0129596572, 0.0021417888, 0.0601563677, -0.0157720484, 0.0407348424, -0.0065167607, -0.0477013886, -0.0227793809, -0.0027652862, 0.1190431118, -0.0144352699, 0.0303392168, -0.0632808134, 0.001878256, -0.0481533185, 0.0568457618, -0.0038969987, -0.0281682536, -0.0683941767, -0.0299143996, -0.0131828943, 0.0133682126, -0.0390120037, -0.0428296253, -0.0263274815, -0.0029946244, 0.0789470673, 0.0179596543, 0.010215533, -0.0164392591, 2.804e-7, -0.0121933417, 0.0273370836, -0.0001958453, 0.0563119203, 0.0292028282, 0.0487182401, 0.0040986361, 0.0819965526, 0.0338380076, -0.0569639616, 0.0021558404, 0.0144300563, 0.0492500849, 0.0207226779, -0.0267603714, -0.0630136356, -0.0180694647, -0.0529246926, -0.0603298023, -0.0018110358, 0.0646099895, 0.0832817927, 0.0365270227, -0.0163875334, -0.0041281711, 0.0409976728, 0.0336323678, -0.0527315252, -0.0168727897, 0.0475171283, 0.016247116, -0.0018419187, 0.0146450195, 0.0425803736, 0.01110241, 0.0164836068, -0.0561697558, 0.1077133864, -0.0360862613, -0.0371431261, 0.0216135401, 0.0272385031, -0.0145713296, -0.0052585606, -0.0002299313, -0.0894505158, -0.0335951671, -0.0046887356, -0.0148800388, -0.0481339134, 0.0418929756, -0.0211728811, -0.0199707467, 0.0445687175, 0.0115651749, -0.0268418938, 0.0419680662, -0.0571482331, 0.0323652551, 0.0007369452, -0.0600373782, -0.0099892542, 0.0077518877, -0.0137455035, -0.0339771621, -0.0550247729, 0.0385872498, 2.187428076e-34, -0.0064846734, 0.0353974216, 0.0437419862, 0.0128133167, 0.0459233262, 0.021585593, 0.02368504, 0.0370554067, 0.0003488069, -0.048276104, -0.0175629202 ]
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.0072985268, 0.0239741206, 0.0100927344, 0.0573148727, -0.0375158675, 0.0129428515, 0.0390482172, -0.0355550833, -0.0747214928, -0.0112708108, -0.0503548309, -0.0336858109, 0.0310858749, -0.025931539, 0.0408415087, -0.0137078445, 0.0270608272, 0.0039582308, -0.0203534551, -0.0075460505, -0.0071950424, 0.0105222287, 0.0408323482, 0.0370470062, 0.0005285285, -0.0170017034, -0.0028143045, 0.0397412255, 0.0165221747, 0.028833881, 0.0065005571, -0.0054660654, 0.0477503948, 0.0641092062, 0.0000019452, -0.0266197752, -0.0455901846, -0.0103455819, 0.0107938545, -0.0310511645, 0.053555496, -0.077538766, -0.0373786353, 0.0158363041, -0.0038290746, -0.0011352365, 0.031527888, 0.0166957155, 0.0567024834, 0.0909505412, -0.0319490917, -0.0277922694, 0.0196154919, -0.0633736774, 0.0015734995, -0.0672152191, -0.0215038378, 0.0046322336, -0.0396731123, 0.0207511764, -0.0140760085, 0.0443092994, 0.0330971666, 0.0129528167, -0.0418528989, 0.0109551279, 0.0206981208, -0.0370816402, -0.0188785214, 0.0660266727, -0.0514777936, 0.0053781341, -0.0176826064, -0.0009490691, 0.0062931427, -0.0449220538, -0.0476970896, 0.0375259519, -0.0202042274, 0.0235883854, 0.0476643369, 0.0368986353, 0.037203569, -0.0117307436, -0.0044848584, 0.0217413493, 0.0098465942, -0.023876965, 0.0049601002, 0.0510896668, -0.0135695925, 0.002215039, 0.0504681133, 0.0029722308, -0.0358879715, 0.0305373706, -0.0817983523, -0.1194092035, -0.0117824245, -0.0798196346, 0.0143163092, 0.0471956283, 0.000592912, 0.0407351814, -0.0105424793, 0.0404627621, -0.0533882231, -0.0200978182, -0.0667497739, -0.0581976362, -0.0187068246, 0.0390079543, -0.0476047583, 0.0144839678, -0.0762173086, -0.0254923794, -0.0142301116, 0.0585483201, 0.0053446623, -0.0085482039, 0.0166617706, -0.0312958471, -0.0781280547, 0.0041285809, 0.0382752083, 0.0597021431, -0.008660947, 0.0089194495, -0.0078139203, -0.0142402733, -0.0288450941, 0.0133800069, 0.0114949495, -0.0627216175, -0.0018919274, 0.0697489604, -0.0434509814, -0.0162024461, -0.0283180587, -0.0181139708, -0.0208055861, -0.0358067378, 0.0015730599, -0.050377015, 0.073459506, -0.0044834898, 0.0144990962, -0.0330263488, -0.0236331336, 0.0201382544, -0.0338538066, 0.0709066242, -0.0067017754, -0.0458985493, 0.040578533, -0.0092676552, -0.0195509512, 0.0901592672, 0.058991909, 0.0094013438, 0.009270642, 0.0257737953, -0.0676517189, 0.0227276254, 0.024742119, 0.0061098095, 0.0085666571, -0.0204198901, 0.0130407773, 0.025789503, 0.0611510202, 0.0541400611, -0.0386430249, 0.0322370641, 0.0509347767, -0.0072238226, 0.0245544873, 0.0051636156, 0.0530291721, -0.0133806961, -0.0496375337, 0.0253524985, 0.0039455546, 0.0097236633, -0.0125480108, -0.0007562335, 0.0210908372, 0.0369237922, -0.031186752, -0.0188712068, 0.0096251052, -0.0544751436, 0.0266451351, -0.0394234508, 0.0467453562, 0.0110652167, -0.0805934519, 0.0090212794, -0.0085162483, -0.0439970605, 0.0297221281, 0.0031152857, -0.0509340093, 0.0408661403, 0.0327714048, 0.0026738162, -0.0536895618, -0.0242855605, 0.0094749117, 0.0452087782, 0.0510108769, -0.0034113661, 0.0498047136, -0.0504814722, -0.0292541701, -0.0522411168, -0.0042284327, 0.0312320311, -0.0236845613, 0.0279878583, 0.0306309294, -0.003839199, -0.003587608, 0.0211900622, -0.0307396743, -0.0025318738, 0.0286637265, 0.0113930991, 0.0307320561, 0.0114573929, 0.0060100816, 0.0057345862, 0.0200736728, -0.051312238, -0.0163783114, 0.0479502864, -0.0852812678, -0.0787375867, 0.0013721285, -0.0300243422, -0.0058743465, 0.0138826557, -0.0321931392, -0.0676449388, -0.0111984499, -0.0323538072, 0.0232915692, -0.0145290699, 0.0162358042, 0.0018394646, 0.0069394279, -0.0202394053, 0.0606489256, -0.0190693978, -0.0152514521, 0.0340208709, 0.0185554065, 0.0136929927, -0.0200614445, -0.0287646707, 0.0015308531, 0.0160389822, 0.0382933654, 0.0371990204, 0.03184117, 0.004470767, -0.0369899422, -0.0593627766, 0.015863223, -0.0451171547, 0.0348161608, 0.0498644412, 0.0432734974, 0.0317400284, -0.0303931441, -0.0270220339, 0.0411762148, -0.0175348707, 0.0260823201, 0.0377345867, 0.0057403198, 0.0283579156, -0.0131011494, -0.0262500364, 0.0086659733, 0.048343569, 0.0177638307, -0.0549899451, -0.0723621473, 0.0346771032, 0.0366469659, 0.0258580465, -0.017354155, 0.0159669425, -0.0009254619, -0.0166631676, 0.0633329526, 0.0643648729, -0.0235052556, 0.0387087129, 0.018330032, 0.0119464351, -0.0515134148, 0.0217205044, -0.0018990083, -0.0067789429, -0.0546788834, -0.0138776656, 0.0323151387, 0.0487403609, -0.0064250738, 0.0086137792, -0.0447089113, -0.0021890572, 0.0037037423, -0.0414808914, -0.0349639207, -0.0286176559, -0.0073928195, 0.0028511928, -0.0170777962, -0.0128223542, 0.0405034535, -0.0154380668, -0.0089773554, -0.1028782353, -0.0023765673, -0.0281861257, 0.0374471433, -0.0238867402, 0.0358498096, -0.0078148209, -0.0496283099, -0.0436308309, 0.0449391641, -0.0025987923, 0.019264508, 0.0265303608, -0.038247928, -0.0097559839, -0.0372876786, -0.0328589939, -0.0157766752, -0.0138831604, 0.0019468591, 0.0275300052, 0.0506308191, 0.0023029859, -0.0369838662, -0.0034274424, 0.0118873855, 0.0883002728, -0.0154207628, -0.0210995935, -0.0344247147, 0.0804342777, 0.0132869268, 0.0258831028, 0.0216430929, -0.0568662435, -0.0078875711, 0.0314775035, 0.0417460725, -0.0217318926, -0.0193096548, -0.003813213, 0.042689424, 0.0106535275, -0.0264631566, -0.0201489199, 0.049780976, -0.0368625522, -0.0300713219, 0.1056602821, 0.0167858265, -0.0870140791, -0.0232164077, -0.0058026281, 0.0039574266, -0.0042496994, 0.0196585264, -0.0675931573, -0.031690307, 0.017739458, 0.0107237501, 0.0405686498, 0.0378989428, -0.0276541691, -0.0696595907, -0.0147484289, 0.0348300338, -0.0594808906, -0.0213138498, 0.0060130716, -0.0248104073, -0.021016093, 0.0758955032, 0.0051463996, 0.0265670866, -0.0273737572, 0.0039321883, 0.0616476685, -0.096292913, -0.0052271918, -0.0559313782, 0.0229585674, 0.0613488592, 0.0123611419, -0.0130211394, -0.0092550069, 0.0369570851, -0.0150265964, 0.0078485012, 0.0035577905, -0.0025038624, -0.0351571776, -0.0080626151, 0.0149720721, 0.0134536736, -0.0562049039, 0.0326206796, 0.0001977209, 0.0491767749, -0.0195443239, 0.0055050221, 0.0069420142, -0.0382036343, 0.027822746, 0.06629581, 0.0125904316, -0.0696842894, -0.0059425808, -0.013884115, -0.0118390452, -0.0865061209, 0.0630122125, -0.0029165191, -0.0247171782, -0.0379955694, -0.0785870701, -0.0536744669, 0.0029686755, 0.0531617589, 0.0048381682, 0.0083936797, 0.0291455239, -0.0279975329, -0.0266664773, -0.0043359529, 0.0084925536, 0.0124013862, -0.030283032, 0.0368601084, 0.0457093678, -0.0088608414, -0.0027187867, 0.0427607, -0.1111333817, -0.0597328395, -0.0427348949, 0.0279228892, 0.0108229294, 0.0756147206, -0.0424032621, -0.0234593917, 0.0024655641, -0.0032584439, -0.0335695148, 0.0162262749, 0.043692518, -0.0278550703, -0.0222837273, 0.0301450621, -0.0362619907, 0.0093716104, -0.0140220225, 0.0321543775, -0.0229999982, -0.0112697966, 0.0162753575, -0.0258746389, 0.0169386622, -0.0252518058, 0.0093287369, -0.0167084895, 0.0378677435, -0.0140703805, 0.0041349758, -0.0540205278, -0.0349552855, 0.0253108516, -0.0073295389, 0.0177966002, 0.0264204945, 0.0513440631, -0.0128230229, -0.032043308, -0.0173013024, -0.010480524, 0.0279193167, -0.0082693091, 0.0409484319, -0.0026958375, -0.0111355102, 0.0314815268, 0.0116493404, -0.0629908592, 0.0290334839, 0.0306586158, 0.0082844282, 0.0130103305, 0.0628544837, -0.0761188045, 0.0536144674, -0.0277110152, -0.0182550829, 0.0974719226, 0.0170616992, 0.121905379, -0.0072686491, -0.0017309274, -0.015308233, 0.0304355733, 0.0108976886, -0.016690312, 0.0083011612, -0.0167325214, 0.0114814239, 0.0138575817, 0.1084622964, -0.0091373865, -0.0086950082, -0.0071351049, 0.0028796608, -0.0308495238, 0.0069747209, -0.0146095017, 0.0183437578, -0.0146696335, -0.0237482674, 0.005466321, -0.0266738012, 0.0288786404, -0.0030811792, 0.0202233549, 0.0046341745, 0.0229112059, 0.0957138985, -0.0345307924, 0.0235110112, -0.0089689791, 0.0137941036, 0.0147041334, -0.0432125777, -0.0401411131, -6.115046142e-33, -0.0502057672, 0.0111868866, 0.0163475126, -0.0350444391, -0.0044814833, 0.028137045, -0.043376334, -0.0489271544, -0.0267003421, -0.0108255371, 0.0101771075, 0.0102269147, 0.020925656, 0.0262853671, 0.0015255844, 0.005586219, 0.0516646616, -0.0146692507, 0.0036877114, 0.0155274989, 0.0600742586, 0.0155903725, 0.080839023, -0.0487584881, 0.0341040678, -0.001177356, -0.0006806009, -0.0092007015, 0.0269096754, 0.0263814367, 0.0259947386, 0.0354729854, 0.026041232, -0.0469050296, -0.0458003767, 0.0388758704, -0.1238271371, -0.0254574642, 0.005274008, 0.0396558531, -0.0433882549, -0.0672127306, 0.0725397095, -0.0009320921, 0.0179198869, -0.0010305407, 0.0104452278, -0.0000158074, -0.0483518951, -0.0558059923, -0.0634252504, -0.0187692977, -0.0035325827, 0.0047150119, 0.0184130799, 0.0709988549, 0.0025073891, -0.003232782, -0.1037070453, 0.0129149714, -0.0763515159, 0.0197520759, 0.0538464002, -0.0083611468, -0.0217624698, 0.0068487553, -0.0129179545, 0.0347776264, 0.0101333447, -0.00447691, 0.0369518064, 0.0063108006, 0.0508643463, 0.0245058928, 0.0145936329, -0.0021433018, -0.0755337477, 0.0333408602, 0.0521466136, -0.0127059286, 0.0355081707, 0.024935741, -0.0165829044, -0.0277393665, -0.0100320699, -0.0232194532, -0.0256297272, -0.0162661877, 0.0009064845, 0.0100450721, 0.019454712, 0.0148355495, 0.0861713365, -0.032046143, 0.0432290211, 0.0350542106, -0.0253832974, 0.0257287305, -0.0055571515, 0.0429746471, -0.0073913406, -0.0387248136, 0.0011211878, 0.0334680155, 0.0041672629, 0.019757811, 0.0693953484, 0.0197066404, -0.0170028228, -0.0159527212, -0.0577593558, 0.0143199638, -0.003528645, 0.027297426, 0.0301321279, -0.0144894188, -0.0116752535, 0.0357020646, 0.0461207442, -0.0050452738, -0.0103976056, -0.0110178031, 0.0005382009, 0.0326185711, -0.0249588471, -0.0021238679, -0.0171348695, 0.0412877016, 0.0622326061, -0.0531833172, -0.0237968545, -0.0004408725, 2.689e-7, 0.0486085191, 0.0382858403, 0.0141287409, -0.0159429125, 0.0528039597, 0.0247058105, -0.0421196148, 0.0618588403, -0.014678074, 0.0372075066, 0.0195236634, -0.0260748994, 0.0513203517, 0.026093537, -0.0790406764, -0.0478317291, -0.0372686088, 0.0587383248, -0.0323018767, 0.0394281112, 0.0215021018, 0.0821220353, -0.0121251894, -0.0158927888, -0.0148572167, -0.0259713773, 0.0738625452, -0.0084306309, -0.0257121585, 0.0056407508, -0.02373318, 0.0056115529, -0.0313082784, 0.0121199684, -0.044985082, 0.0143740913, 0.0327864289, 0.0726901293, 0.0094491588, -0.0389709324, 0.0378072932, -0.0044399891, -0.0219433215, -0.0045076809, 0.0685176775, -0.0639331415, -0.02279412, 0.0052289227, 0.000070875, 0.0239205919, 0.0122713735, -0.0078072897, -0.0408496633, -0.0066947737, 0.0387484655, -0.0024951922, -0.0248015635, -0.0517182723, -0.0277082548, 0.0012963488, -0.0271710213, -0.0332687348, -0.0162265226, -0.0339047275, 0.0370817594, -0.0346344672, -0.0081821242, 2.47167937e-34, 0.0401908755, -0.0117366239, 0.0309129804, 0.0159044955, -0.0189087857, -0.0231810343, -0.0690288395, -0.0051365648, 0.0083275763, -0.0336439498, -0.0417823158 ]
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.0315442346, 0.0747891888, -0.0242644716, 0.0242976211, -0.0355035849, 0.0421659984, 0.005235462, -0.0104152393, 0.0224285293, -0.0322885215, -0.0139784934, -0.0121056968, -0.0693254098, 0.0367211401, 0.0348566175, 0.017110724, 0.0421612747, -0.0181715209, -0.0275941193, 0.0180794373, 0.0118555324, -0.0161446799, -0.0142582888, -0.0055471067, 0.0105598811, 0.0023374697, -0.0399489254, -0.0190195329, -0.0230517853, -0.0073332814, -0.0259615295, 0.0732705966, 0.0736836717, 0.0178966485, 0.0000022228, -0.0018377592, -0.0502073243, 0.0061950581, -0.0556867681, 0.0021889703, 0.0437084548, -0.0045306478, 0.0157618187, -0.0008888282, -0.0506840013, -0.0458266921, 0.0075476267, 0.077126123, 0.0458162129, 0.0436793976, -0.0018012397, -0.0454747751, -0.0008425959, 0.0170795117, 0.0843557566, -0.0512582064, 0.0252651572, 0.03037134, 0.0424023643, 0.0012079773, 0.0127991019, 0.0342901312, 0.0512192696, -0.0284237266, 0.0291960724, 0.0293673426, -0.0284228846, 0.038673792, 0.0229114667, 0.0734657869, 0.067250438, -0.0091001969, -0.0021788955, 0.019440731, 0.0122051556, 0.0051856497, -0.0500361584, 0.013950482, 0.0095973928, -0.021945769, 0.019848451, -0.0189422742, 0.0383785516, 0.0112326024, -0.0719578415, 0.0981724933, -0.0047544558, -0.0497237332, 0.001886105, -0.0281624794, -0.0296470467, -0.026801059, 0.0244794395, 0.0703318641, -0.0585624017, 0.032458473, 0.0251799654, -0.0632844195, 0.0197126046, -0.0435857922, 0.0030021283, 0.0345298573, 0.0024912085, 0.0554028153, -0.024586346, 0.0104061794, -0.0344400071, 0.0130467433, -0.0545978956, -0.0289807934, -0.0498062447, -0.0183618795, -0.0428603515, 0.0533520393, -0.0777800158, -0.0161409732, -0.0143367853, 0.0163977332, -0.011919111, 0.0271631982, 0.0100256326, 0.0434548222, 0.0021070386, -0.0032315338, -0.0594925024, 0.0108993948, -0.0583737493, 0.0276592765, -0.0062168688, -0.0663612112, -0.0044471556, -0.026670808, 0.0216525011, -0.047437124, 0.0446154587, 0.0497777611, -0.0425335206, -0.0128864776, -0.0582536496, -0.0313725397, -0.0168759804, -0.0646310896, -0.0093177687, -0.03600071, 0.0606822111, 0.0206392128, -0.0212278776, -0.0288772155, 0.004112883, 0.04668184, -0.0223680567, 0.0777633637, 0.0262552854, 0.0087905973, 0.0117252218, -0.0035891517, -0.0281458106, 0.0721946508, 0.0195454452, 0.0006498591, -0.0295316223, -0.0270688161, -0.0386233069, 0.0034802549, 0.0128988037, -0.0172558278, -0.0121402722, 0.0570871644, 0.0086644758, 0.0312615111, -0.0462947562, 0.0285079796, -0.0310634784, 0.0342470109, 0.0414692536, 0.0138937375, -0.0037306189, 0.0390968658, 0.0066544428, -0.0071655125, 0.008719069, 0.0001291716, -0.0478574485, 0.0424201228, -0.0372327417, -0.0036997809, 0.0330073386, -0.000552409, -0.0072752102, -0.0604402572, 0.0159218293, 0.0237964652, 0.0263827331, 0.0343434289, 0.0568160154, 0.0050289831, -0.0231644288, -0.0066163926, 0.0147682838, -0.0440631174, 0.0128676519, -0.0112173082, 0.0436429158, 0.0607895888, 0.046291668, -0.0993096158, -0.0309514236, -0.004991659, 0.0225917865, -0.0070366249, 0.0158970412, -0.0245715622, -0.0465298146, -0.0306214914, -0.0165486727, 0.0070261871, 0.0280318279, -0.0225458071, 0.0285850968, -0.0083005177, 0.0061867489, -0.0679511279, -0.0103523564, 0.0089817019, 0.0013920384, -0.011108974, -0.0135704987, -0.0015005247, 0.0070593255, 0.0341938064, 0.0122143086, 0.0402454063, 0.0433283709, -0.0468318798, -0.0265018176, -0.0047542024, -0.0300303083, 0.0025886029, 0.0356154665, 0.0278518032, -0.0663748607, -0.0346772373, -0.0435650088, -0.0400850736, 0.0360533558, -0.014978366, -0.001682678, -0.0605282076, 0.0006023313, 0.004943612, -0.0054181884, -0.0098905703, 0.103551738, 0.004808479, 0.0093748262, 0.0077990303, -0.0513954014, 0.0088572418, -0.031572897, 0.0126077654, -0.0143954204, -0.0116773266, 0.0036833985, -0.0043488811, -0.0183284227, -0.0899551958, -0.0029869599, -0.0785696357, 0.0427377708, -0.0371570475, -0.0021966123, 0.0025698771, 0.0171061624, 0.0147120804, 0.0039264448, -0.0501183271, -0.0091002071, 0.0093376134, 0.0226688199, 0.0484771021, 0.011671857, -0.0006451774, -0.0057571488, -0.0206738114, -0.0433130525, 0.0213561766, -0.0103574088, -0.0033273257, 0.0114983413, -0.0394504108, -0.0226885155, 0.0232608449, 0.0081917867, 0.0227932353, -0.0102396943, -0.0665688664, 0.0239608511, 0.0536637492, -0.0281017832, 0.0132994233, 0.0279368386, -0.0049898159, -0.0352369957, 0.0286365896, 0.000916442, 0.0131288348, -0.0004342179, -0.0506180003, -0.0080226501, 0.0149390865, -0.0308480281, -0.0136373015, -0.0342895277, 0.0090833958, -0.0117897289, -0.0174424648, -0.0720047355, 0.0310589876, 0.0249523073, 0.0121121192, -0.0136632118, 0.0213158149, 0.0529126897, -0.0222255047, 0.0026852302, -0.0425175875, -0.0024751371, -0.0666819662, 0.0832688585, 0.0195658989, -0.0045975475, -0.0444123782, -0.039034605, -0.0232344996, -0.0130634662, 0.0137593914, -0.0372751616, 0.1045229733, -0.0495459735, -0.0009444398, 0.0079903072, -0.0328317285, -0.0249567199, -0.0431712382, -0.0344124399, 0.0309729371, 0.0314217396, -0.0146925366, -0.0329188481, -0.0283281226, 0.0237147827, 0.0316793844, -0.0215372946, -0.0103576155, -0.0445313603, 0.007353087, 0.0449106842, 0.0476212166, -0.0055220043, -0.0192069169, 0.0426402502, 0.0486000516, 0.015062998, -0.0781665072, -0.0339378268, 0.0585751943, 0.0073778033, -0.0160541013, 0.0208883137, 0.02265976, -0.0055531883, -0.0754867569, -0.0191418957, 0.1003399044, 0.0444839522, 0.0071103987, -0.0095947972, -0.0280274469, 0.0354826413, 0.0290089864, 0.0546649732, -0.0878375992, -0.0341572389, 0.0050410368, -0.0360530429, 0.0114493035, -0.0698999017, -0.0106173307, -0.1015647054, 0.0453943983, -0.0315556265, -0.0517558269, -0.0576498881, -0.0274526868, -0.0045087133, -0.0052950238, 0.0336874388, 0.0660408214, -0.0106590539, 0.0050228168, 0.0206179861, 0.0008586254, -0.01878337, -0.0057141273, -0.0484020039, 0.0369412974, 0.0111066829, 0.0255670082, -0.0174030084, -0.0275976937, 0.0156194372, 0.0039736466, 0.023739107, -0.0188704394, 0.0434754603, 0.0265459791, 0.0192712117, -0.0249061584, 0.0253949221, -0.0129307434, -0.0114916926, 0.0340474024, 0.0920000523, -0.0433757752, 0.03296794, 0.0298296642, -0.0085247597, -0.0210879873, 0.0628061369, 0.0274056979, 0.0266757477, -0.0457840078, -0.0139086507, -0.0861176923, -0.0298608281, 0.0481808484, 0.0398289226, -0.0053360639, 0.0153584844, -0.029952731, -0.0126046408, 0.0876355544, 0.0352537856, 0.0132468445, 0.0723967031, -0.0278870799, -0.0221608039, -0.043402072, 0.0083442293, -0.0532459207, 0.0128513081, 0.0208241884, -0.0397398882, -0.0133002661, -0.0627585351, -0.0095069287, -0.0072434316, -0.0331047289, -0.0265972055, 0.0033739104, -0.0017793414, 0.0228270777, 0.017998362, -0.0229271743, -0.0456121862, -0.0328635015, -0.0141257402, -0.071048595, -0.0275957324, -0.0018577985, -0.0385185517, 0.0198263656, 0.0328370407, -0.0183006302, -0.010650456, -0.0092549827, 0.0644833371, -0.0129782045, 0.0474639572, 0.0552732982, 0.0373631269, -0.0078101307, 0.0471674427, -0.054992158, -0.0342197604, 0.052200105, -0.0711181536, -0.0575046614, 0.0182472207, 0.010079449, 0.0347191319, -0.0097594336, -0.0149721485, 0.0061327559, 0.0200174283, 0.030478403, -0.0194853954, 0.0177370086, 0.0501944907, -0.0493588299, 0.025114689, -0.0120224357, 0.0025361367, -0.0151056265, 0.0290692467, 0.0579883941, -0.016300166, 0.0471666642, 0.0332838669, -0.0281771719, -0.0711022541, 0.0162015446, -0.0678986982, -0.0760106221, 0.0439764373, 0.0395065732, -0.010675461, -0.0261328202, -0.0001068319, -0.0207719952, -0.0257331152, 0.0289048161, 0.0015442381, 0.0459405482, -0.0410235785, 0.0501725636, 0.0207932387, -0.0071812705, -0.009368293, 0.0358042493, 0.00093432, 0.0276111253, -0.0088511724, -0.0261577591, -0.0374715067, -0.0120702228, -0.0141558452, 0.0254217945, -0.0391489044, 0.0038848375, -0.0395929366, -0.0506691821, -0.0071010753, 0.0222982038, -0.04624632, 0.0063694539, 0.0094728861, 0.0552605763, 0.0454449095, -0.0345657431, -0.0375296548, 0.0643557459, -0.0240162201, -0.0201961081, -0.0025165994, -6.673284368e-33, -0.014745649, -0.0106411614, 0.0583297126, -0.0755055621, -0.0266796313, -0.0210695267, -0.0419984125, -0.0200485513, -0.0038876897, 0.0118054356, -0.0476630889, 0.0428687334, 0.0119703505, 0.0123651596, 0.0206448939, -0.0899660885, 0.0257190932, 0.0227480549, 0.0087930067, 0.0011678948, 0.0128956391, 0.0207202267, -0.0122278892, -0.0111803235, 0.0397962965, 0.0004362567, 0.0035407688, 0.0261936653, -0.0381829813, 0.0283272844, -0.020116847, 0.0262586325, 0.0297597907, -0.0722039193, -0.0117491689, 0.010947831, -0.1376733482, -0.0066395691, 0.0326817036, 0.009643958, -0.0396374576, -0.0238681622, 0.012046583, 0.0019463741, 0.0104983747, -0.0041354485, 0.0174699575, -0.0545132458, 0.0088428427, 0.0197421368, -0.0240868274, 0.0024389576, -0.0168200973, 0.0355918594, 0.0486082435, 0.0340881683, -0.0059216158, 0.0126282908, -0.039927803, 0.019901434, 0.0291742701, 0.0087677343, 0.0414151922, -0.0064128879, 0.0161689389, 0.0118907178, -0.0046548918, 0.0112244627, -0.0743662044, 0.0328791253, -0.0396103896, 0.0634643734, 0.0564265326, -0.0021112119, 0.0406711064, 0.0298158918, -0.0638069063, 0.0254422929, 0.0140776327, 0.0350303352, 0.0080513069, 0.0089869937, -0.0258091409, -0.0259508975, -0.0544101745, 0.0705940649, -0.0583711751, -0.0220150705, 0.0242913421, -0.002756648, -0.0096081784, -0.0025751265, 0.0078473883, 0.0019657749, -0.0241509639, 0.0332462825, 0.0315035209, -0.0249300953, 0.0050048083, 0.0241368599, -0.0124505647, -0.0186430495, 0.0311147217, -0.0565760061, 0.0232969634, 0.0349109769, 0.0497263782, 0.0155146681, -0.0362459645, -0.024576012, -0.0556638055, 0.028199356, -0.009910997, 0.010673021, 0.0224278625, 0.0540687516, -0.0028792131, 0.0528432205, 0.0379733555, 0.0341400281, -0.0252329092, 0.0181904733, -0.0045762644, -0.0165918488, 0.0153728742, 0.0336899795, -0.019486187, -0.0075888308, 0.0079309605, -0.0700466186, 0.0101159317, 0.0238534398, 2.789e-7, 0.0731215551, 0.0400797948, 0.0291489325, 0.0131324325, -0.0085274614, 0.009036921, -0.0283638872, -0.0311122444, 0.0034120525, -0.0300467536, 0.0385966748, 0.0448908769, 0.0247228667, 0.0231087953, -0.0108926063, -0.0190427974, -0.0469155796, -0.0165434983, -0.0413529836, 0.0214103572, 0.0726941451, 0.0937371179, -0.0211010147, -0.0133193387, 0.011785117, -0.0257373117, 0.0160225276, -0.0290866923, 0.013492655, 0.0160836112, 0.0395708382, -0.0147937946, 0.0089618256, 0.0797914863, -0.0206958447, -0.011946667, -0.0254890621, 0.0383687913, 0.004267808, 0.049909059, -0.0372516587, -0.0847940743, 0.0206673052, -0.0621240623, 0.1351780593, -0.0413070954, -0.0339338407, 0.079713583, -0.0274874233, 0.0000032687, -0.0242026132, 0.0235456657, 0.0016621299, -0.0090418076, 0.0164732467, -0.0042499583, 0.0237497129, -0.0732970163, 0.0033962205, 0.0452746153, -0.0338078849, -0.0219376739, -0.0283644255, -0.0094422828, 0.0056057875, -0.0441770963, -0.0396920927, 2.54904802e-34, 0.0404498912, 0.0330481902, 0.037368454, 0.0308278613, 0.0845762044, -0.0045656618, 0.003841832, -0.0027494661, 0.0120411711, -0.1300165206, -0.0052911835 ]
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.0220755041, 0.0519765913, -0.0086653139, 0.0310357157, -0.0231984351, 0.0149935847, -0.0216613673, -0.0172472075, -0.0013798365, -0.0203917585, -0.0409069471, -0.0293024816, -0.0299046244, 0.0451686792, 0.0128697967, -0.0334023498, 0.0641624033, -0.0303697567, 0.0230894871, -0.0346960761, 0.010948942, -0.0120981205, -0.0242427215, 0.0397075042, 0.0052105845, -0.0271213558, -0.028166065, 0.0190781839, 0.0054867617, -0.0128270602, -0.0057336623, 0.0439525545, 0.0269890931, 0.0239596851, 0.0000019054, -0.0218365882, -0.0255856775, -0.0290780086, -0.0410158373, -0.0237844475, 0.02681165, 0.0015663938, -0.0449292958, 0.0266943667, -0.0445217676, 0.0419124849, 0.0801587999, 0.0190256014, 0.0538768731, 0.0911823437, 0.0099205459, 0.0289200451, 0.0490477085, -0.0134380544, 0.0016376701, -0.0444882102, -0.0039619221, 0.0337387137, 0.0027023868, 0.0280566346, -0.0372286923, 0.0165359173, 0.0145996483, -0.0219932459, 0.0124322996, 0.0187647138, -0.0587022528, -0.0341336913, -0.0324188545, 0.0775813609, -0.0390669927, -0.0105639761, 0.0038358169, 0.0129920561, -0.0092472527, -0.0765276998, -0.0272995066, 0.0083624423, 0.0317391828, 0.034455508, -0.007476585, -0.0389184244, 0.0145078273, 0.0350035354, -0.0425416566, 0.0785335898, 0.0073247226, -0.0262258761, -0.0047194129, -0.0227479544, -0.0862549394, -0.0907528326, -0.000964059, 0.016026156, -0.0769217536, 0.0045273914, -0.0494184643, 0.01100103, -0.014732454, -0.0074535259, -0.0148763703, 0.088008672, 0.0148861613, 0.0192778725, 0.0297847837, 0.1012143493, -0.007146189, 0.0408767536, -0.0469438508, 0.0094717778, -0.0259149745, -0.0144618163, -0.0248780139, 0.0395047925, -0.0548429787, -0.0578858852, -0.0524665639, 0.0615983792, -0.0102002546, 0.012864437, -0.0044851615, 0.0242691319, -0.0391545296, 0.0054877424, -0.031656649, 0.0506362841, -0.0212430488, 0.0016624348, 0.0270432793, -0.0486269519, -0.0077305227, 0.0363887064, -0.0122848563, -0.0462323464, -0.0016553986, 0.0697898641, -0.0087364931, -0.0127866678, 0.0768196657, 0.0070235967, -0.038397491, -0.0741681829, -0.0019646389, -0.0335308574, 0.0120367371, -0.0123572135, -0.0083531393, -0.0347541906, 0.0073941173, -0.0141469622, 0.0007577216, 0.0540656298, -0.0098860348, -0.0066915704, -0.0024235514, -0.0223548859, -0.0036729937, 0.0792077556, 0.0448651724, 0.0459649302, -0.0050597191, -0.011463237, -0.0304192565, 0.014649705, 0.0183176883, -0.0126789063, -0.0483565666, 0.0094070742, 0.0050581754, 0.0901844651, 0.0730221793, 0.0685183331, -0.0749493167, -0.0118090725, 0.0605300553, 0.0286224503, 0.0174898989, -0.0038365235, -0.0182877816, 0.0544061735, -0.021281546, 0.0080362139, -0.0591043904, 0.0526739508, 0.0184501931, 0.0051192958, 0.0498725772, 0.0200174507, -0.0151048675, -0.0486256257, 0.0241209678, -0.0017434796, 0.0238080602, 0.0323537365, 0.0003012659, 0.0021930523, -0.0376488231, 0.0344028845, 0.0308575258, -0.0314387791, -0.0205108281, -0.0690643117, -0.0027035843, 0.0915315822, 0.0403030179, -0.0044348333, -0.0427303985, 0.011989559, -0.0558829643, 0.0592164509, 0.0125272376, -0.0032184739, 0.0155618554, -0.0394783169, -0.0249572359, -0.0290775057, -0.024546288, 0.0089289714, 0.0210373998, 0.0211078655, -0.0371729471, -0.0069212201, 0.0122268219, 0.0104630729, 0.0242692977, -0.0236951653, 0.026103653, 0.0176957455, 0.0421707407, 0.0100424234, 0.0111090457, 0.001622165, 0.0112159662, -0.025435593, 0.0117514832, 0.0062681278, -0.0487475321, -0.0701111853, 0.0604617596, 0.0129704401, -0.0244927946, 0.0473118201, -0.0427745208, -0.0281842928, 0.0191653688, -0.0082838507, 0.0639708862, -0.0193768162, 0.0258096214, -0.009353213, 0.0277914871, -0.0452679507, 0.0268492121, 0.0041392194, -0.0194634832, 0.0103357658, 0.0239297505, -0.0251403507, -0.0755370185, 0.0082963658, 0.0383707657, 0.014158247, 0.024748465, 0.029231241, 0.014491614, -0.0323053747, -0.031832166, -0.1252799034, 0.0203660615, -0.012423994, 0.0115745319, 0.0182675943, 0.0080221817, -0.0082348809, -0.0115051484, -0.0672837049, -0.0104610035, 0.0019514684, 0.0115854992, 0.043054387, 0.0085759275, -0.0295140967, -0.0488319807, 0.013140074, 0.0065494669, -0.0109795881, -0.037421044, 0.0208869539, -0.0397516079, 0.0333219059, -0.0324883759, 0.028943263, -0.0102659948, -0.0521040112, 0.0237752721, 0.0085766837, 0.0278134961, 0.1272377968, 0.0464737862, 0.0185859744, 0.0582123138, 0.0133514246, -0.081302762, 0.0376779288, -0.0203774069, -0.0406389944, -0.0362987258, -0.0007158321, 0.0074474043, 0.0490408689, -0.02907167, 0.0053092353, -0.0733801425, 0.0604886077, 0.0207230616, -0.0409685634, -0.0318417586, 0.0130987186, -0.0321184136, 0.0469539277, -0.0237435121, -0.0416068509, 0.0880501345, -0.0213693213, 0.0099234665, -0.0515422374, -0.0188917685, -0.0082272254, 0.0010076942, 0.0144055402, 0.0431248248, -0.0373037755, -0.0183068216, -0.0750603452, -0.0211253166, -0.0098018022, -0.027112022, 0.0073814271, -0.0147974147, 0.0118713956, -0.0135592911, -0.079320021, -0.0439556018, -0.0040279785, -0.0109803872, 0.034693867, 0.0690763295, -0.0516072288, -0.00638163, 0.0518844202, 0.0129569191, 0.0029352882, -0.0449392907, -0.0001363498, -0.0381670594, -0.0104403356, 0.0809565857, 0.0185973123, 0.0282177813, 0.0087038474, 0.0134117762, 0.0327086225, 0.0440621078, 0.0232483577, -0.0172386114, 0.0163863171, 0.0251883585, -0.006353579, -0.0073277825, -0.0117428862, 0.0664872229, -0.0211560763, -0.0130097801, 0.1022862867, 0.011451086, -0.0391828008, 0.0134152714, -0.014113158, 0.0364661142, -0.0050544874, 0.0481411032, -0.1118386984, -0.0334837511, 0.0114463465, 0.038414795, -0.0042725448, -0.0059067365, -0.0337927975, -0.0832218751, -0.0087032914, 0.03435326, -0.0494945981, -0.0420088582, -0.0003372895, 0.0060726395, -0.0528270416, 0.0965166539, 0.0245083719, 0.00344307, 0.0045002736, 0.0054099178, 0.0199985504, -0.0246570688, 0.0279469378, -0.0154266739, 0.0611449145, 0.1045311689, 0.0516859107, 0.0401012413, 0.0333429463, -0.0241274778, 0.0475490689, -0.0217548497, 0.006236766, -0.028028883, -0.0439428501, -0.0066739703, -0.0015927305, 0.025785204, 0.0141612142, -0.0152518256, -0.0108613828, 0.009669221, -0.0324873663, 0.0082398644, 0.01019096, 0.0105542783, 0.0094799716, 0.0573586076, 0.0177252833, -0.0562972166, -0.0580711626, -0.0359047949, -0.0110637434, -0.0445830896, -0.0272014029, -0.0298469607, -0.0113903424, -0.0405668281, -0.0870959088, -0.0214843843, -0.0033946028, 0.0078384522, -0.0178022832, 0.0018622737, 0.0222022515, -0.0035805288, -0.0113875512, 0.009310036, -0.0159775373, 0.004528204, -0.08882121, -0.0255653951, 0.0107192621, -0.0705515221, -0.0012524433, -0.0340155587, -0.0614617243, -0.0890231505, -0.0027669631, 0.0393398851, 0.011693907, 0.0802074596, 0.0131708523, -0.057833191, 0.0291180573, 0.0849793553, -0.0003965501, 0.0147040896, 0.0284585617, 0.0616766363, -0.0066914773, 0.0475464389, -0.0315891467, 0.0205989052, -0.0093989875, 0.0570393689, -0.0469249785, -0.0572867729, 0.0228340495, 0.0100425398, 0.0374670364, -0.0058801789, 0.009945753, 0.0043477528, 0.0259526707, -0.026729947, 0.0022471165, -0.0470192768, -0.0473073758, 0.0200346243, -0.0060424339, 0.0250984058, -0.0258588139, -0.009161463, -0.0159166045, 0.0226477627, -0.0077271648, -0.0241971444, 0.0181103237, 0.050934352, 0.0081146946, 0.0021827728, 0.034095183, 0.0102762515, 0.0656773597, -0.0183255747, 0.0469563231, 0.0229544342, -0.0148505643, -0.0087261507, 0.0436964184, -0.0380480587, -0.1115499437, -0.0045357193, 0.0153205618, 0.0634694844, 0.0287850797, 0.0472548418, -0.0361261629, -0.0063392129, -0.009082512, 0.0283123888, -0.0156576727, -0.0186203346, 0.0285376161, 0.0279474165, -0.0258814991, 0.0034636857, 0.0349868611, 0.0029691542, 0.0093284799, -0.0269828681, 0.0138694504, -0.0187380016, -0.0256598704, -0.0305704512, 0.0095619662, -0.0003251138, -0.003108273, -0.0024349627, -0.05022211, -0.0280796215, 0.0258530583, -0.0256149713, -0.0441676974, 0.0438789725, 0.0221495721, -0.0306460857, -0.0534228422, -0.0486931987, -0.0226349812, 0.0018347987, -0.0036489801, -0.0253650937, -6.446192819e-33, -0.0412584655, -0.0032970472, 0.0374229699, -0.0289834496, -0.0442604609, -0.0369602852, -0.0171142705, -0.0054096612, -0.0247126538, -0.0331365466, -0.020856116, 0.0262643714, 0.013759708, 0.0138284201, -0.006793974, 0.0271822531, 0.0607509762, -0.003718751, -0.040346548, 0.0267089419, 0.0267827734, 0.0104427105, 0.0125083365, 0.0080572553, -0.0181672517, 0.0186307114, 0.0010921778, 0.0273548532, 0.0031572352, 0.0396031924, -0.0129727991, -0.0054145074, -0.017980231, 0.0086381044, -0.0215624291, 0.017492488, -0.0231659599, 0.0027751331, 0.0194949545, 0.0390546359, 0.008702429, -0.062653251, 0.035807725, -0.0168669689, -0.0296951439, 0.013685558, -0.0262399055, -0.008711312, -0.0207639188, -0.0054462305, -0.0394125767, 0.0050021964, -0.0160439592, -0.0329680741, 0.0342352949, 0.0184632819, -0.0140195312, 0.0095319683, -0.046040222, 0.0602964014, 0.0106377779, 0.0418964848, 0.093361415, 0.0445044376, 0.0594595522, 0.0457390696, 0.0641422942, -0.0207114723, 0.0370541662, 0.0218220837, 0.0278792307, 0.0295775961, -0.0025508385, 0.0545508936, 0.0684555024, -0.0095985867, -0.041384872, -0.0229573045, 0.0200786684, 0.00765032, 0.0295485016, 0.0585893914, -0.0373357534, -0.0232236944, -0.0310689025, 0.0238396693, -0.0368170142, -0.067973718, 0.0129787484, 0.0023313707, -0.008281284, -0.0730752721, 0.0379616618, -0.0554021001, -0.0143065182, 0.0013357498, -0.0593757369, 0.016463168, -0.003127136, 0.0301203448, -0.0762079731, -0.0460921861, 0.04242016, -0.0225254241, -0.0047899182, 0.041961845, 0.0022778409, 0.0127181867, -0.0271437392, 0.0010188986, -0.0275755767, 0.010477528, -0.0096012093, 0.0202727672, 0.0302510727, 0.0081758639, -0.003808168, 0.0524545126, -0.0113965441, 0.0039636884, -0.0481234379, -0.0227636229, -0.0056783292, 0.027847115, -0.0395689756, 0.0122179678, -0.0478213467, 0.0181285273, -0.0203352869, -0.0711655766, -0.0388507135, 0.0054437644, 2.835e-7, 0.0188311171, 0.0598976426, 0.0159107167, 0.0226617511, -0.0117227221, 0.0387401246, 0.0071988436, 0.0139911305, 0.0273512453, 0.0239375941, 0.0276732743, 0.0631298646, 0.0205676369, -0.0056477492, -0.0767006949, 0.0023224056, -0.0432053283, -0.0166777801, -0.040577136, -0.0161487125, 0.0278313402, 0.0949377194, -0.00966716, 0.0124971224, 0.0547619425, 0.0224165395, 0.039704822, -0.0157429036, -0.0058115637, 0.0432286412, -0.0232685283, 0.0017528317, -0.0119977361, -0.010315882, 0.0341445468, 0.0216911305, -0.036321044, 0.0847935155, -0.0172641501, -0.0934139118, -0.0117590288, 0.0382026434, -0.0190415028, -0.043262288, 0.0571098253, -0.0842993632, -0.0301938467, -0.0704037398, -0.010226531, -0.0229302049, 0.0269844849, -0.0389960408, -0.0298809316, 0.0305056125, 0.0016709096, 0.0215627179, 0.0049448647, -0.0505030192, 0.0006477258, 0.0179407932, -0.0400834754, -0.07037393, -0.0443310589, 0.0035594171, 0.0064999652, -0.0065285675, 0.0036793398, 2.314633095e-34, 0.0297282226, 0.0197722968, 0.0320712216, 0.0147594688, 0.0207834076, 0.0081903832, 0.0085327737, 0.0305216853, 0.038763158, -0.0422938913, -0.0293234419 ]
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.075879924, 0.0573467128, -0.0342628658, 0.0415824279, -0.0421057791, -0.0272020437, 0.0211121719, 0.0283020604, 0.0623746067, -0.0156899933, -0.028200645, 0.0009358254, 0.0261750389, 0.0358342975, 0.0061036991, -0.0090157827, 0.0202865954, -0.0378751606, 0.0208027959, 0.0562152416, 0.0328058116, 0.0043107774, 0.0134749608, 0.0724271461, -0.0122318286, -0.04033871, -0.0182023235, -0.0014548663, 0.03139605, -0.0671527386, -0.0193777476, 0.0583988763, -0.0209924411, 0.0378825925, 0.00000214, -0.0395969376, -0.0158113781, -0.0263693389, -0.0283754915, 0.0738329068, 0.0136734145, -0.0330779552, -0.0222410671, 0.0252762269, -0.0354071073, 0.0171286315, 0.0110604633, 0.041328378, 0.1003478467, 0.0301690511, -0.0194317941, 0.0258257575, 0.019119421, -0.0031057573, 0.0360641032, -0.0465422198, 0.002071359, -0.047409486, 0.0005853718, 0.0369951464, 0.038933821, -0.0128476964, -0.0033980673, -0.0446739681, -0.0672491267, -0.0012036458, -0.0214761496, -0.0506410822, -0.0086533809, 0.0471895002, -0.0558608063, 0.0007455534, 0.0189878438, -0.0007282639, 0.0165653583, 0.0439484306, -0.0331930108, 0.0242032707, -0.0302460045, -0.0218289699, -0.0227476656, 0.0006997766, 0.0302611161, -0.003294348, -0.0291685648, 0.0143947359, -0.0023148542, -0.0070415461, -0.0178916436, -0.0588689707, 0.0304697789, -0.0462573394, 0.0451343209, 0.0001135205, -0.0342268087, -0.0012182958, -0.0335853286, -0.0288221836, 0.0578151979, -0.0420229882, -0.0212238077, 0.0101090157, -0.0457979888, 0.0205726326, 0.0024515239, 0.0016742954, 0.0126682613, -0.0245401878, 0.0172442086, -0.0080803372, 0.0252306666, -0.0001993085, -0.0445382707, 0.0005995629, -0.0230838731, 0.0267902035, -0.0468432046, 0.0515294597, -0.0171684474, 0.0273002852, -0.0457059704, -0.0055401688, 0.0205971841, 0.0376394913, 0.0302149821, -0.0451968685, -0.0527421758, -0.0236747451, 0.0050255363, -0.0723252371, -0.012679656, 0.0055702594, -0.0284902733, -0.0107838521, -0.0385449305, 0.0849812776, 0.0413908102, -0.0000207744, -0.0855493769, -0.0992076099, -0.0354370847, 0.0209982451, -0.0427710302, -0.077139698, 0.0036116343, -0.0119766816, 0.0224491432, -0.0013635313, 0.0020706696, 0.0261864811, -0.0294478964, 0.0267836824, 0.0095563084, -0.0027267882, -0.008912106, 0.0417847708, 0.0514768027, 0.031493213, -0.0248478577, 0.1069257781, 0.0603755079, -0.0463062935, 0.0575256683, 0.0593938716, -0.0154393716, 0.0268526189, -0.0037577283, -0.0265447795, 0.051552251, -0.0315639302, -0.0146339005, -0.0080743069, -0.0076550688, -0.0394571908, 0.0680053607, 0.0743265748, -0.04677549, 0.0069827819, -0.0175762121, -0.0157703273, -0.0121586388, -0.0101678837, -0.028973883, -0.0198312141, -0.0563851744, -0.0605813116, -0.0187770948, 0.0328547657, 0.0051917741, 0.0224337913, 0.0187580567, 0.0106301764, -0.0152215837, -0.0002469503, 0.0014992167, 0.0270160735, -0.0025070773, 0.0448786356, 0.039438922, -0.007667168, -0.0476730019, -0.0454367846, 0.0305613577, 0.0768519118, 0.0345497914, 0.0103426417, -0.0047538551, -0.0049661193, 0.0203046799, -0.0018924054, -0.0072262376, -0.0023347186, -0.0008474674, 0.0011442914, -0.0219318625, -0.0035298653, 0.005926738, 0.020027943, -0.0177139528, -0.0000884113, 0.0095714005, -0.0292094592, -0.0253300983, 0.0104117608, 0.0532113537, 0.0545782074, 0.0380799174, 0.0562414378, 0.0019323739, 0.025557423, 0.0345991328, 0.011588335, 0.0407241732, -0.0059209974, 0.0347991325, 0.0133102406, -0.0133931395, -0.0157213099, 0.0274532791, -0.0424971394, 0.0051241377, 0.0475328267, -0.0448322706, 0.0053437273, 0.052068077, -0.0553393848, 0.0484152064, 0.0151951909, 0.0213367976, -0.0002226931, 0.0196915567, 0.0030892408, 0.0127274068, -0.0161516592, -0.0244649108, -0.0139399441, 0.0159495473, 0.0268007983, -0.0005953537, 0.0004706578, 0.0177172199, -0.0720915943, -0.0018597501, 0.0296809301, -0.0129866777, -0.0329393558, -0.0078208176, -0.0830199569, -0.0270246882, -0.0176686198, 0.0158373509, 0.0702726394, 0.0851992518, -0.036195267, -0.0316916443, -0.0106966728, -0.0045668036, 0.0402074568, 0.0155753084, 0.0210265033, -0.0374594666, -0.0307119135, -0.0334538296, -0.0056383433, -0.0157627575, 0.0418261476, -0.0073318849, -0.0415069461, 0.0051821889, -0.0248627439, -0.0095149698, -0.0272697192, -0.0432947688, -0.0295974277, 0.041723188, 0.0237644929, 0.031905815, 0.0156813841, 0.0500515923, 0.0967986137, 0.0362191685, -0.0034195122, -0.0494324453, -0.028718017, 0.028154321, -0.0253416244, -0.0186541397, -0.1110134646, 0.0866812766, 0.0290947109, 0.0488077402, 0.0389417745, 0.0001612059, -0.0030920573, -0.0102377608, 0.0112072732, -0.0524755865, -0.0260279011, -0.0241663065, -0.0002900246, -0.0238068402, -0.0757852793, 0.0316679552, -0.0436234735, 0.0331452414, 0.0146549791, -0.079105936, -0.0051191389, 0.0703483075, -0.0325851254, 0.0139994668, 0.0281831622, -0.0680678412, 0.0233808532, -0.0264897291, 0.0213008747, -0.0115289493, 0.035681542, -0.037243288, -0.0181881227, 0.0369668417, 0.0040460969, -0.0546869673, -0.0998093337, -0.0327073485, -0.0596067905, 0.0668883622, -0.0706439912, -0.0326471105, 0.0060682311, 0.0148440069, 0.0076649725, -0.0032457656, -0.0050121821, -0.0158441644, 0.0135989627, 0.0271510631, -0.079702951, -0.0280863643, -0.0176423397, 0.056913536, 0.0888691321, 0.0325179733, 0.0107958801, 0.003252828, -0.0050768838, 0.0034341528, 0.0112293307, -0.0104668234, 0.0285357181, 0.0347082652, -0.0220878776, -0.0167037733, 0.0715545639, 0.0551597141, -0.0383474529, 0.0414002836, 0.002712551, 0.029741805, 0.0074929115, 0.0058712498, -0.0708390623, -0.0226802677, -0.0140795335, 0.0496486425, -0.0325406417, -0.0367081463, -0.0154471062, -0.0740829557, 0.0163287017, 0.025952775, -0.0253385529, 0.0357847586, -0.0617165081, -0.0053665801, 0.0251805801, 0.0047150212, -0.0497713201, -0.02565795, 0.0005816451, -0.0034516063, -0.0954956114, 0.0038550207, 0.0052088229, -0.0346340947, 0.0183709115, 0.056637276, 0.0045420537, -0.0154609745, 0.0086217746, 0.0586441383, 0.0032826366, 0.0222061109, -0.0037669078, 0.0679803342, 0.0226323474, 0.0129252421, -0.0344542377, 0.0199374072, -0.0026449934, -0.0596537404, 0.0507289506, 0.0414383151, -0.0470150635, -0.0204550084, -0.0340682827, -0.0020258478, 0.0352060534, 0.0287754014, 0.0572657883, -0.0552083924, 0.0016392623, -0.045551464, 0.0062242202, -0.0161906183, 0.0046476205, -0.0131182261, 0.0233909748, -0.025707813, -0.05825812, 0.0070248735, 0.0000385403, 0.0221393462, 0.0277355537, 0.0054378393, -0.0448824912, 0.0033488278, 0.0075807809, -0.0091431346, -0.0066521275, 0.0857415572, -0.0477516688, 0.0463850796, -0.014065587, 0.000064592, 0.00068998, 0.0354784839, -0.0633008331, -0.0347347409, -0.0184374843, 0.0070697856, 0.0139147928, 0.003241952, -0.0614264198, -0.0608705953, 0.0377369449, 0.0776275173, -0.069324404, -0.0382982977, 0.0143104671, 0.0256438144, 0.0051855547, -0.0060448074, -0.0194369275, -0.0171960443, 0.035981223, -0.0216684733, -0.0933637619, -0.0202033911, 0.0229426846, 0.0112041011, 0.0450794101, 0.0075909137, -0.0116743231, 0.0146829467, -0.0230497606, -0.0001120275, -0.0314662382, 0.0376854949, 0.0244452227, 0.0158648547, -0.0776269585, 0.0409535244, 0.0473557487, -0.0283345748, -0.0122027537, -0.0338683613, 0.0385669172, 0.032731913, 0.0554119758, 0.0470768288, 0.0176062007, 0.0118975211, 0.0466229692, 0.0024967985, 0.0633061901, 0.014347679, 0.02577837, -0.0347996838, -0.0490289778, 0.0329722464, 0.0555153675, -0.07243108, -0.0385826454, 0.0348013379, 0.0709532276, 0.0035267635, 0.0045501576, 0.0040644845, 0.0087507451, 0.0185812935, -0.0193032678, -0.0205164701, -0.0271859095, -0.0539454743, -0.0155196516, 0.0064820526, -0.0258977804, -0.001576765, 0.0540478863, -0.0119658262, 0.035729222, 0.0090235602, -0.057865236, -0.0387900323, 0.0330629423, 0.0817891881, 0.0570178144, -0.0568367131, -0.0430156328, -0.0753297061, -0.0548255667, -0.023784617, -0.0147995027, 0.0178265627, 0.0398764312, -0.0197798591, 0.0528095439, -0.0075168493, 0.0215477441, -0.0582428165, 0.0392998978, -0.0089251949, -0.0586396679, -0.0320027657, -5.604037809e-33, 0.0439359248, -0.1029077768, -0.0664264113, -0.037028309, 0.0061309026, -0.0095908651, -0.0304066576, 0.0043839952, -0.0046690078, -0.0142302308, -0.0181879178, 0.0138732502, 0.0022884649, -0.0007357745, -0.0333624408, 0.0049927798, 0.0443212427, 0.0226244833, -0.0178326052, 0.0593779348, 0.0693234727, 0.0293683745, -0.0209032334, -0.071010083, 0.046906855, -0.032547228, -0.0156213334, 0.0500493385, 0.0208916962, 0.0409579501, 0.0067683463, 0.0211374704, 0.0083907172, -0.0123049989, -0.0129786897, 0.0675156936, 0.0085835839, -0.020256374, 0.0302950535, 0.0108487541, 0.0379278399, -0.0539899468, 0.0192524176, -0.0030166076, 0.0124262013, -0.0049340855, 0.0162424203, -0.0040852386, -0.01081172, 0.0167432986, -0.0065756752, -0.015740009, -0.059213154, 0.006244441, -0.0393583365, 0.0742360801, 0.0257852208, -0.0113395713, -0.0284945667, 0.0534009747, 0.017077826, -0.0436779968, 0.0234763231, 0.0236658417, -0.0127112055, 0.0482696667, -0.0080904271, -0.0193456318, 0.0120618306, 0.0078462847, -0.0245053899, 0.0845081955, 0.0234256405, 0.0541631877, 0.0198188741, -0.0500634015, -0.059844289, 0.030022528, 0.0313023552, 0.009127602, 0.0164011214, -0.0268778894, -0.0353887267, -0.0067458213, 0.0223346781, -0.0173378363, -0.0288759135, -0.0568615161, 0.0229740068, -0.0301793795, -0.0289806072, -0.0451668166, -0.0165475812, -0.0527357794, -0.0418895595, 0.0203538127, 0.001471223, -0.0094598588, -0.0025829761, 0.0097800707, 0.0303982198, 0.0234658383, 0.0225338452, -0.0503456369, 0.0246943869, -0.0070068184, 0.0583626553, -0.0133865904, -0.0628611073, -0.0118389176, -0.0145321162, 0.0197529737, -0.0418646224, -0.0054677087, 0.0185246449, -0.0106169526, -0.0328653194, 0.0185257979, 0.0277847052, 0.0155463247, -0.0197862256, -0.020000305, -0.0612090267, 0.0285567064, 0.0076802932, -0.0299901385, -0.0160121229, -0.0127461851, 0.0772299543, -0.0329179205, -0.0017095758, -0.037174087, 2.813e-7, -0.0254911426, -0.0083826175, 0.0054989862, -0.0227239989, 0.0231587496, 0.0561433546, 0.0114265932, 0.0474185683, 0.0233228151, -0.0561076254, -0.0179879926, -0.0198230669, 0.0542000979, 0.0664399117, -0.0359566323, 0.021581402, -0.066288203, -0.0377909355, -0.1009715721, 0.0349992588, 0.0520281643, 0.0609254837, 0.0270117596, -0.0485504568, 0.0184661448, -0.020340316, -0.0319263525, -0.0463236198, -0.0346907899, -0.0036922423, 0.0247530807, 0.0027138339, 0.0209614038, 0.0323756784, -0.0317397378, -0.0392121598, -0.0369273126, -0.0148486672, 0.0317082815, 0.024599392, -0.0402272381, -0.0443208069, 0.0133598791, -0.0659175441, 0.063473776, 0.0043680361, -0.0348624475, -0.0139971348, 0.054235138, -0.0432603396, 0.0091751292, -0.0249900445, 0.0013833795, 0.0136410249, 0.0234268513, 0.0142790182, 0.0132500855, -0.0157860052, 0.016152015, -0.0016533453, -0.0138126016, -0.0166461822, -0.0373991206, 0.0195674784, 0.0294428747, -0.0029059388, 0.0637498051, 2.773399382e-34, -0.0153571581, -0.0014867943, 0.0068206498, -0.005783123, 0.0499503128, 0.0368317291, 0.0406210609, 0.0361595973, 0.0262951087, -0.0347903371, 0.0131153669 ]
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.0870344043, 0.0363945141, -0.0087547041, 0.0512917936, -0.033065971, 0.0188942719, -0.0077284765, -0.0021579808, 0.0421926863, -0.0732549727, -0.0404057801, -0.0032108247, -0.0015083315, 0.0211465098, -0.0080125323, -0.0769006312, 0.022413414, -0.0292580221, -0.0150126787, -0.0085135764, 0.0227761082, 0.0342083611, -0.0307976585, 0.026188245, 0.0203514472, -0.0517086573, -0.0276305676, 0.0104942536, 0.0055341939, 0.0003124519, 0.0537706539, 0.0726267099, 0.0260557886, 0.0230131876, 0.0000019581, -0.0329756364, 0.0126212519, -0.0304839816, -0.0178734157, 0.0366273411, 0.0494316816, 0.0019878782, 0.0182735417, 0.0080632484, -0.034641467, 0.0014499967, 0.0303776823, 0.0462768227, 0.0865691826, 0.1029177234, 0.0208672807, -0.034795884, 0.0137605518, 0.0108294263, -0.0176005773, -0.0483622774, 0.014601347, 0.0209772363, 0.0016073321, 0.0328619853, -0.0317177847, 0.0196182039, 0.0177227911, -0.047633104, 0.0149294557, -0.0023720213, -0.0605292097, 0.0138001377, -0.0019022486, 0.1115567163, 0.03752378, 0.007651241, 0.0044718282, 0.0057014739, 0.0120274853, -0.009954446, -0.0624365732, 0.0209285878, -0.0020755839, -0.0192441419, 0.0159164891, -0.0393282771, -0.0141550386, 0.0277519692, -0.0245295744, 0.0729114115, 0.0032946412, -0.0302290656, -0.0241095498, 0.0046111299, 0.0129629904, -0.0557791367, -0.0224513169, 0.0401667878, -0.0683851466, 0.0407363996, -0.0285420232, 0.0259759277, 0.0130529059, -0.0482812785, 0.0145347733, 0.0218183175, 0.0133101363, 0.040018715, 0.0195483398, 0.028466668, -0.0070655332, 0.0164909344, -0.0580427498, -0.0105799893, -0.0709308386, -0.0071726535, -0.0176322646, 0.0019364555, -0.0564400628, -0.0186011549, -0.010465893, 0.0613893382, 0.0106563466, 0.0070846444, 0.0338003598, -0.0035629983, -0.033527106, -0.0141151045, -0.0344855562, 0.0529350564, -0.0285696741, 0.0141001847, 0.0107589457, -0.0396364368, -0.0100158639, 0.0400921479, 0.0017278312, -0.0243863501, -0.0102404496, 0.0473412573, -0.0285472963, 0.0305205584, -0.0255083553, -0.0433329344, -0.0048275921, -0.0491363257, 0.0102882236, -0.0534329265, 0.024945382, 0.0326041393, 0.0048597343, -0.0052267439, 0.0092899473, 0.0123686837, -0.0263401456, 0.0267226957, 0.0160264447, 0.024602782, 0.0289355684, 0.0110018197, 0.00722453, 0.0887601376, 0.0266074408, -0.0101121794, 0.0710292906, -0.033415243, -0.0301305559, 0.0244785864, 0.0176100172, 0.0239496883, 0.0307184123, 0.0472593494, -0.007604545, 0.0305368267, 0.0185566414, 0.0273902174, -0.0330770276, -0.0180670153, 0.0306368619, 0.0044235066, -0.0097253956, 0.013260778, 0.0408411622, 0.0666503534, 0.0142004956, 0.0393285677, -0.0295460038, 0.0211960245, -0.0179426093, 0.0049200496, 0.0227818247, 0.0288004167, -0.0354429185, -0.0303205084, -0.0029187992, 0.0149114421, 0.0268948134, 0.0205849558, 0.0256156884, 0.0046905777, -0.0438566767, 0.0445331931, 0.0398869887, -0.0326221883, -0.0021309047, -0.0364544168, -0.0002589218, 0.0888635814, 0.0477760844, -0.0081022559, -0.0723467395, -0.0038948334, 0.0565591902, 0.0631278157, 0.0606472269, -0.0523730591, -0.0020604162, -0.0633868575, -0.0463716611, -0.0284989905, -0.0117727052, 0.0248246454, 0.0304608997, -0.0144075351, 0.0174869075, -0.0261436831, -0.0319283456, 0.0155872228, -0.0456171818, -0.0373584293, -0.0196701121, 0.0099853612, 0.02389195, 0.0129698915, 0.0028945231, 0.0115637509, 0.0276893452, -0.0006606641, -0.0016701088, -0.0002066285, -0.0552926958, -0.0504409596, 0.0346333757, -0.0385813229, -0.038628459, 0.0095228516, -0.0673128515, -0.0424412712, 0.0379857048, -0.0145461271, 0.0444515906, -0.0000349368, -0.0035894366, 0.0024275335, -0.0287494157, -0.0451417342, 0.0425274633, 0.0092827734, 0.026526805, 0.0415427089, 0.0014338268, -0.0053514964, -0.0324142277, 0.0163512733, 0.0084847771, 0.0124484021, 0.0219566617, 0.027160719, 0.0457777083, -0.0950390324, -0.0569156408, -0.1078234389, 0.00952233, -0.0238258764, 0.018433705, 0.0393846557, -0.0066187987, -0.0048311003, 0.0068006329, -0.0474523567, -0.0205809958, -0.0044701081, 0.0315608606, 0.0260380153, 0.0217521675, 0.0047534313, -0.0126941968, -0.0239610337, -0.0222640559, 0.0163555276, 0.0076031387, 0.0468545854, -0.0556508377, 0.0079853665, -0.0184510835, 0.0077289087, -0.024628805, -0.0410468653, 0.0119147347, -0.0115778269, 0.0548719056, 0.0891362876, 0.0451794304, 0.0063115256, 0.0078984965, -0.0555895828, -0.0751382187, 0.019543523, -0.0302142352, -0.0359910727, -0.0641848221, -0.0110495882, 0.0031722563, 0.0521385409, -0.0014615235, 0.0017935196, -0.0697080716, -0.0121356063, 0.0115880156, -0.0100362031, -0.0076368367, 0.0027691429, -0.0016246234, 0.011598194, -0.017574409, -0.0100325579, 0.0952809751, 0.0013603945, -0.0079218391, -0.0687608197, 0.0140329916, -0.0563514344, 0.0321709476, -0.0176060274, 0.0027220806, -0.0142585421, -0.0034262771, -0.068940334, 0.0183544904, 0.0533648245, -0.0291316267, 0.0577093624, -0.0623404346, -0.0268020183, -0.0129436441, -0.0355166234, -0.0372888669, -0.0295034405, 0.0026880112, -0.0088587115, 0.0463401712, -0.0430770181, -0.0358991884, -0.0271639507, 0.0198087394, 0.0228966419, -0.0259227138, -0.0010829601, -0.0214737114, 0.0135199102, 0.0731169134, -0.0033317641, -0.0244498085, -0.0343762748, 0.0709048584, 0.0432861671, 0.0305601787, -0.0452441461, 0.0196533911, -0.0070353309, 0.03203284, -0.031015465, -0.0026417088, 0.0130947409, 0.0557078384, -0.0557412021, -0.0236530695, 0.134417817, 0.0171612035, -0.0593358316, -0.0246349145, -0.0363492221, 0.0392282195, 0.0245149303, 0.0381332971, -0.0732935667, -0.0164206773, -0.0366461985, 0.0441009402, 0.0163895898, -0.035410773, 0.0107827503, -0.1086367667, 0.0142621873, 0.0138917686, -0.0249952096, -0.0265367944, -0.039736025, -0.0024210522, -0.0081488462, -0.0002826934, 0.0146066537, -0.0182645116, 0.000525558, 0.017805174, 0.0091567235, -0.0527394898, 0.0701869503, 0.0054447562, 0.0329675861, 0.0289674886, 0.0369089097, 0.0290240813, -0.0185417421, 0.0285785012, -0.0242063012, -0.0139395017, -0.0239321943, 0.0509657115, -0.0303958505, 0.0059271748, -0.0202122983, 0.0434875861, -0.0400561988, 0.0101050446, 0.0464065708, 0.0687550157, -0.0124112824, -0.0022792337, -0.0395722575, 0.0042210775, 0.0286222231, 0.079767406, 0.0270684808, -0.0410883836, 0.0013639559, -0.0488964282, -0.0128713148, -0.0784099102, -0.0389902703, 0.0028188813, -0.0381226428, 0.0274831224, -0.0770079121, -0.0333969705, 0.0324062631, -0.0034672553, 0.0010187002, -0.0255107954, 0.0380767398, -0.0030759608, -0.0394745208, 0.0354010239, -0.0401096381, 0.0064598075, -0.076645948, -0.0627430454, 0.0602059066, -0.0199647006, -0.0030796991, 0.0295734871, -0.0442217737, -0.0809004381, -0.0060550184, 0.0374880433, 0.0114367995, 0.0838224292, 0.007950048, -0.0069335378, -0.0159284864, 0.0326664858, -0.0398123711, -0.027971385, 0.0281595327, 0.0253699031, -0.018116476, 0.0412241779, -0.051787883, 0.0216854326, 0.0012974115, 0.0543502867, -0.050476633, -0.0677483305, 0.0195886604, 0.0059752758, 0.0182634816, 0.0201350804, 0.0018312298, -0.0256456211, 0.0330152065, -0.0178473163, -0.0514384657, -0.029095009, 0.0044907099, -0.0028171276, -0.058208365, 0.0045958813, 0.0433324091, -0.0079768207, 0.042422533, -0.0460951515, 0.0100542326, 0.0324514695, 0.0225785468, 0.0264216494, -0.0140828388, -0.0296578631, -0.0118963672, 0.0076262355, 0.0401694477, 0.0110641913, 0.0881412402, 0.0474934988, -0.0088838497, 0.0195054505, 0.0078350371, -0.0733662248, -0.0360475481, -0.0177746098, -0.0312632658, 0.0261342768, -0.0221692957, 0.0433241166, -0.0250171963, -0.025710199, -0.0206035972, 0.0522515699, 0.0189449172, -0.0210231971, 0.0336891003, 0.0479633212, -0.0181932449, -0.006537681, 0.0731213614, 0.0023627293, 0.0592185967, 0.0356637128, -0.0177981574, -0.0444202945, -0.0629772469, 0.0077930503, 0.0237274878, 0.0107465619, 0.0410164781, -0.0393936858, -0.04324371, -0.0247705989, -0.0158747677, 0.0009700155, -0.0196187478, 0.0498685576, 0.0678401589, 0.0025161922, -0.0198698565, -0.0644372031, 0.0828281268, -0.0120296394, -0.0455018096, -0.0460120104, -6.577021667e-33, -0.0356686153, -0.0195955243, 0.0274221767, 0.0393229574, -0.0094719995, -0.0167288985, -0.0351010971, 0.0141662136, -0.0592364259, 0.0199198853, -0.0029085714, 0.0156119466, 0.0000281033, 0.0337902084, 0.0199575964, -0.0019848738, 0.0281896312, -0.0151068121, -0.0181950629, 0.0710114464, 0.0553951263, -0.0200850181, 0.0738160312, -0.0738100484, 0.0188990273, -0.0314228833, 0.0177118257, 0.0280107707, -0.020670332, 0.0719944015, 0.0101070805, 0.0485513359, 0.0177236199, -0.021288, -0.0147805726, 0.0058292882, -0.0628222078, -0.0395000055, 0.0418886691, 0.0084937904, -0.0344697684, -0.0426856317, 0.0007224877, -0.0213387106, 0.0124206487, -0.0484453589, 0.0409770682, -0.0186926667, -0.0092676263, -0.0305099823, -0.0711171925, 0.0264702141, -0.0381644405, -0.0556108318, -0.0384673215, 0.066331856, 0.0319142044, 0.0247034412, -0.0337243192, 0.0629217774, 0.0252003074, 0.0496825837, 0.045539964, 0.0198438186, 0.0196628068, 0.038956061, -0.0390473306, 0.0482817553, -0.0277251452, 0.0067284391, 0.010691952, 0.0598710328, 0.0007949421, 0.0493349396, -0.0095316824, -0.0085204793, -0.050101839, 0.0149756195, 0.0173833985, 0.0459203571, 0.0064778142, -0.0087097529, -0.0275095664, -0.0217838865, -0.0367531069, 0.0071694236, -0.0282258075, -0.0053897039, 0.0200583525, 0.0100317765, -0.0246158503, -0.032664232, 0.0291013699, -0.0440050736, -0.0086867763, 0.0456437394, -0.0246707108, 0.0158877466, -0.0059542316, 0.0092925606, -0.0701893419, -0.0443409868, 0.0386615284, -0.0194975622, -0.0034018147, 0.0364637412, 0.0254486017, 0.0088221114, -0.0274657514, -0.0072729732, -0.0279851966, 0.0084980093, -0.0332000405, 0.0117455693, -0.0053855693, 0.019820096, -0.0322062857, 0.0898494571, 0.0119634531, 0.0017969717, -0.0343034007, -0.0678530559, 0.0158655532, 0.0124684572, -0.0290756859, -0.0029630298, -0.0333475098, -0.0244960133, 0.0029326186, -0.0260859504, -0.0151929846, -0.000975132, 2.69e-7, 0.0234872606, 0.0570692308, 0.0188475847, 0.062384095, 0.0340680927, 0.020746965, -0.000884039, -0.0055496832, 0.0372300595, -0.035398744, 0.0033210637, 0.0225393027, 0.0566774644, 0.0076256301, -0.0920754597, -0.0333027765, -0.0415268764, -0.0099578481, -0.0561495051, -0.0092232693, 0.0298398342, 0.0767292827, 0.0005240598, 0.0235362239, -0.0207502879, 0.0032639517, 0.0484711155, -0.0255783331, -0.0202786159, 0.0655056909, 0.0097968392, -0.0225802492, 0.0155271757, 0.0203084406, -0.028479619, 0.0075996299, -0.0105704041, 0.1053088605, 0.0130853597, -0.0360327736, 0.0112097831, -0.0356500894, 0.0125184609, -0.0522312932, 0.0529901758, -0.0288378056, -0.0100059537, -0.0222649537, -0.0283817966, -0.0242544021, 0.0057653682, -0.0461713187, -0.021499889, 0.0310094468, -0.0016932498, -0.016969217, 0.0255386233, -0.0648183301, -0.0317567438, -0.0017828259, -0.0474178456, -0.069330059, -0.0110197822, -0.0144613739, 0.0007525447, -0.0091677811, 0.0230803099, 2.581839491e-34, 0.0530348793, 0.000861469, 0.0098935636, 0.0223819166, 0.0486507341, -0.006617832, -0.0386982001, 0.0211347751, 0.0493212342, -0.1198290065, -0.0264900252 ]
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.0346410461, 0.0944202617, -0.0268360972, 0.0090877498, -0.0357688293, 0.0011214326, 0.0501031838, -0.0095527982, 0.0556264259, -0.0223393291, -0.0825612023, -0.0335805602, -0.0117720449, 0.004497089, -0.001898124, -0.0381038599, 0.0303612854, -0.0207344126, -0.0304137431, -0.0593184829, -0.0188702121, 0.0316819847, -0.0060246871, 0.0451859161, 0.0186917447, -0.0061479891, -0.0000528358, -0.0208708383, -0.0249186233, 0.0037231515, 0.0584656186, 0.0943160653, 0.0150566325, 0.0279157441, 0.0000023476, -0.0383698158, -0.0358911753, -0.0171384178, -0.0198708996, 0.0179734975, -0.0072234292, 0.0477594174, 0.024330046, 0.0055721607, -0.0253788829, 0.0016315337, 0.0278455075, 0.0196562968, 0.0261177626, 0.024326209, 0.0131378593, -0.0263588931, -0.0355038755, -0.0369163826, -0.0554458164, 0.0005119453, 0.0214316472, -0.0564898103, 0.0143238781, 0.0019814472, -0.0103802057, -0.0128644807, 0.0225287955, 0.0406539328, 0.008847354, 0.0171623118, -0.0612817667, -0.0389638655, -0.0227150582, 0.0807306617, 0.0205022488, 0.0065854504, 0.0194499828, -0.0220245924, -0.0120494198, 0.029849194, -0.0023847965, 0.0154036097, -0.022608228, 0.0462921746, -0.0154641438, -0.0346779786, 0.0218681786, 0.0470499769, -0.0178562813, 0.0944531783, -0.02325649, -0.0041543911, 0.0078978436, 0.0208458155, -0.0260230489, -0.0605058782, 0.0561077856, -0.0098575559, -0.0749228746, -0.0135828676, -0.068155691, -0.0283074509, 0.0294222571, 0.0172032323, 0.0621449314, -0.006928422, -0.0248176139, 0.0386018716, 0.0014985162, -0.0279040802, -0.0065647573, 0.0419831201, -0.0240785256, 0.0304263663, -0.030768631, 0.0225582477, -0.0193820111, 0.0735692531, -0.0509991795, -0.0097388523, -0.0337278619, 0.0117152007, -0.0206575822, 0.0595597625, 0.0241505243, 0.0220835935, -0.0564155616, -0.0250542387, -0.0340426974, 0.01597232, -0.0493031293, 0.0162483249, 0.0205826573, -0.0124936849, 0.0282091741, 0.0045452747, -0.0288798306, -0.0354895592, 0.0101626376, 0.0443806536, -0.0039754515, -0.0216782652, -0.0164140724, -0.0388813764, 0.0248646121, -0.0507005937, -0.030868208, -0.0627755895, 0.0185755678, 0.0025142778, -0.0023049735, -0.0354792476, -0.0013323176, 0.0108998893, -0.0310322065, 0.0957382321, -0.0260803103, -0.0232591387, -0.0019446519, -0.0218938291, -0.018741088, 0.0793968514, 0.002934037, 0.0773540139, 0.0595445037, -0.000153668, -0.0102683734, 0.003961876, 0.0242257752, 0.0244235676, -0.0250877384, 0.014027237, 0.0039938572, 0.0528832525, 0.0270201322, 0.0144619634, -0.0389882661, -0.0444181114, 0.0781444535, 0.0613352098, 0.0495184995, 0.0035337666, -0.0457429402, 0.0574167073, -0.0041049649, 0.0469738804, -0.040391311, 0.0242111478, -0.0450170301, -0.0386866294, 0.020164907, 0.0464648269, -0.0307234991, -0.02389884, 0.0435082503, -0.0593824945, 0.0126432423, 0.0494494215, 0.0684107691, 0.0018439329, -0.0155621739, 0.0203873739, 0.0519975238, -0.0273207072, 0.0017689597, -0.0200052056, 0.0555690788, 0.0785194337, 0.0683947355, -0.0377987176, 0.0010369715, -0.0464682318, 0.0034839232, -0.0005318891, 0.0466168486, -0.0018516604, 0.0239701066, -0.0617478937, -0.0762264878, 0.060058862, -0.0089818081, 0.0300625172, 0.0022968913, -0.017884627, -0.0515573546, 0.0077552265, 0.0007187198, 0.0278843325, 0.0400749221, 0.0014430777, 0.0327127278, 0.0379849933, 0.0633781999, -0.0195270423, -0.0113328146, -0.0112893321, 0.0117961336, 0.0199511349, -0.0245893672, -0.045489613, -0.0081779044, -0.007452684, -0.007463166, 0.0006120817, -0.0371071957, 0.0742717907, -0.0433787331, -0.0049557425, -0.0317155533, 0.0161809474, 0.0402967222, -0.0241773482, 0.0099454932, 0.0052074208, 0.0053849858, -0.0591301806, 0.0175956562, -0.0341712795, 0.0085440148, -0.0537213832, -0.0414255038, 0.0125793191, -0.0569480173, -0.0003017698, 0.0340953842, 0.0262534134, 0.0186119638, 0.0332483463, 0.0168425851, -0.0286013484, -0.0110491561, -0.0318715274, 0.0106227063, -0.0303200688, 0.0043009822, -0.0301197004, 0.0163196418, -0.0167463645, -0.0592325665, -0.0221250802, 0.0048969015, -0.035490416, 0.0333941728, 0.0032047848, -0.0029762289, -0.0218415949, -0.0224573668, -0.0434890725, 0.0269584749, -0.008562319, -0.0138765108, 0.0161627866, -0.0460210107, -0.0118219238, -0.0343944356, 0.0287742969, 0.002611554, -0.0233178325, 0.0246275738, -0.0033627213, -0.0249707419, 0.0835884437, 0.0258058906, 0.0014937693, 0.053488262, 0.0338164307, -0.0614119507, -0.0042459476, -0.0579327606, -0.0411155187, -0.0594125912, 0.0374586396, 0.0422906727, 0.0127760032, -0.0117099173, -0.0176853463, -0.0369124189, 0.0219397712, 0.0035524128, -0.0362184159, -0.0628328696, 0.0164964925, -0.0163322035, 0.05644238, 0.0015053666, -0.0681982636, 0.1039084122, 0.0004264972, 0.0139538292, -0.0384798907, -0.0153983757, -0.0331040286, 0.0334934369, 0.0008169152, 0.0118554709, -0.0065735099, -0.0410624184, -0.036832016, -0.0027380581, 0.0210270397, -0.0374340825, 0.02015917, -0.0214961246, -0.0105263712, -0.0056269569, -0.0664472729, -0.0086037479, -0.0688654557, -0.036903549, -0.0183493774, 0.0232091378, -0.0227545481, -0.0011068842, -0.0224726871, 0.0075359405, 0.0174063258, -0.0006778251, 0.0180044919, -0.0215801727, -0.0095211742, 0.0248786919, -0.0101524862, -0.0070409933, -0.041823335, -0.0437149443, 0.0555436164, 0.0893654451, 0.0027436344, 0.0215092953, 0.0013704902, 0.056118533, -0.0469091944, -0.0324796997, 0.0065111695, 0.0508608148, -0.0222215839, 0.033665061, 0.0784634873, 0.0171861723, -0.091958344, 0.0029063947, -0.0006616592, 0.0613649376, 0.0135805337, 0.0348299295, -0.0928990915, -0.0234845243, 0.0182464402, 0.0775577053, 0.0340270251, -0.0498500951, 0.0054401616, -0.1110163853, 0.0463350154, 0.0230774619, -0.0120380297, -0.0092800604, -0.0277717561, 0.0335797556, -0.0022539257, 0.0136632835, -0.0129460292, 0.0312038958, -0.0044535017, 0.024012303, -0.0213580802, -0.0346028283, 0.0040060314, -0.0415531471, 0.0563137457, 0.0452653989, 0.0048436243, 0.0160708502, -0.0394495465, -0.0420263708, 0.0218671728, -0.0306930058, -0.0340660177, 0.0386869088, -0.0336900949, -0.0101474654, -0.0060430244, 0.0570034683, 0.0071107293, -0.0091995383, 0.0162942111, 0.0404760353, -0.0446071476, 0.0034408611, 0.0067229625, -0.0094521474, 0.0542079099, 0.0411035866, 0.0090202214, -0.0761721358, -0.0181933474, -0.0120974863, -0.015587463, -0.0285850856, 0.0140541457, 0.0267191511, -0.0258922111, 0.0361971967, -0.0376573317, -0.0170353893, 0.0580236129, 0.0334541313, -0.0024076204, 0.0280612726, 0.032125935, -0.0197375435, 0.0169939343, 0.0492710955, -0.0442610383, 0.0515431613, -0.1212257892, -0.0685745105, 0.0070235152, -0.0279827453, -0.0062405174, 0.0081223845, -0.0026193361, -0.0522611551, 0.0175539702, 0.0517734401, 0.0166305192, 0.0526309609, -0.0153355235, -0.102544263, 0.0629283935, 0.0437193327, -0.0627533719, 0.0092219906, 0.0552171208, -0.0376145579, -0.0041988017, 0.0476996563, -0.0142914616, 0.0075032287, 0.0413693562, 0.0026727219, -0.0069194557, -0.0335681438, 0.0075011416, 0.0096276859, 0.0824569166, -0.0352607705, 0.0397852026, -0.0373769067, 0.0363830775, 0.0063552074, -0.0180995706, -0.0339399427, -0.0295378771, 0.0371452868, -0.030568555, 0.0101224892, -0.0595060289, 0.0181578416, 0.0186800677, -0.0230523217, 0.0436757728, 0.0371563099, -0.0014651904, 0.0750975683, 0.0246111806, 0.0031221404, 0.0279369727, 0.0334400758, 0.076294288, -0.0000861324, 0.0603771769, 0.0207154397, 0.0131932152, -0.0382092446, 0.0118813533, -0.0276393667, -0.1139630601, -0.0127870515, 0.0051548616, 0.0229757391, -0.0115670729, -0.0049092029, -0.0201641712, -0.0070916079, -0.0349207073, 0.0072811861, -0.0425180495, -0.0090005426, -0.0063896561, 0.0107972249, -0.0256382357, 0.0607789718, 0.0954088047, -0.0108729154, 0.0131594744, -0.0529199727, 0.0046784873, -0.0632867068, -0.0239270739, 0.0352521092, 0.0730635896, -0.0446321294, -0.0021710077, -0.0160078816, -0.0552074276, 0.0011398608, 0.0035935598, -0.0249557346, -0.0229481887, 0.0737590119, 0.0140638845, -0.0203911476, -0.0149410274, -0.0811508298, 0.0027770121, 0.0162757766, -0.0168323014, -0.0164923687, -6.734692928e-33, -0.031597048, -0.0044687134, -0.0187687445, 0.0233439691, 0.0021884986, -0.004430803, 0.010404977, -0.0007067528, 0.0419176891, -0.0163039044, -0.0484659523, -0.0190624222, 0.0212022569, 0.0486826003, 0.0348420702, -0.0054494566, 0.0527890846, -0.0355767906, -0.0318661928, 0.010146467, 0.0243858807, 0.0377008133, 0.0116843637, -0.0522333756, 0.0031480717, 0.0217977408, -0.0076790876, 0.0065871677, -0.0661944374, 0.0593991652, 0.0009739147, 0.0380093418, -0.0189862493, -0.0117338365, -0.0222415347, 0.0269486047, -0.0632632598, -0.0135406889, -0.0204569288, 0.0317697823, -0.0168929286, 0.0144938035, 0.0516779907, -0.0268064737, -0.0137117933, -0.0028987627, 0.0190932602, -0.0089032492, -0.0781089664, 0.0270386506, 0.0168925095, -0.0053787353, 0.0079820817, 0.0020341203, 0.0110247545, 0.0288942438, -0.016468076, -0.0175435096, -0.0560329445, 0.0295615364, 0.0253692232, -0.0106045417, 0.0192648992, 0.0195112079, 0.0403272696, 0.0596606061, 0.0823916346, -0.0118232202, -0.006000747, -0.0016525033, 0.0116216913, 0.0530105419, -0.0079513965, 0.0380101241, -0.0173533279, -0.0563368797, -0.0027612392, 0.0150574306, 0.0522739775, -0.0257894676, 0.0244927425, 0.0403539203, -0.0405474454, -0.035715092, -0.0319750756, -0.0202808697, -0.002829104, -0.0341532342, 0.0233490448, 0.0117835971, -0.0487497598, -0.0334585607, 0.0270445738, -0.032337945, -0.0596091263, -0.0107201291, 0.0371507928, 0.0338938832, 0.0125677548, -0.0004780858, -0.0770497173, -0.0285748914, -0.0183915887, -0.0775207058, -0.0201480053, 0.0242654122, 0.0496977568, 0.0123051163, -0.0443253703, 0.0147361802, -0.0151129477, -0.0122343525, 0.0382181481, 0.0264294036, 0.0820936337, -0.0222840309, 0.0075916438, 0.0398163274, -0.0062409202, -0.0180912036, -0.0534125157, -0.045666445, -0.0301160235, 0.014353768, 0.0103753461, -0.0142295519, -0.0569957606, -0.0241580661, 0.0538705587, 0.0055433507, 0.004980091, -0.0449776463, 3.013e-7, 0.0137580186, 0.0291374139, -0.0236003455, -0.030370919, -0.0139231859, 0.043523062, -0.0183587652, 0.0412337929, 0.0261881333, 0.0178292971, 0.0326460861, 0.0076651066, 0.0536145717, 0.0155722713, -0.0788888261, 0.0013035197, -0.0135815283, 0.0462442935, -0.0804002061, -0.0531054027, -0.0230462775, 0.0548351072, 0.083075732, -0.0266953409, 0.0250074342, 0.0236204118, 0.036587555, -0.0885103494, -0.0346444845, -0.0080225542, 0.0157241933, 0.0540316291, -0.0228452235, 0.0137271062, -0.0106904209, 0.0027287507, -0.0125669083, 0.0493905917, 0.0070862137, -0.0120891742, -0.008553708, -0.0020855474, -0.0045616361, 0.0014332971, 0.0499435663, -0.0596217588, -0.015236699, 0.0052751666, 0.0154307559, -0.0743710175, 0.0588319935, -0.0107959285, -0.0051811249, 0.0133184176, 0.0234802868, 0.0074560107, -0.0216079894, -0.0877887681, 0.0229877271, 0.0316805132, -0.0733844414, -0.009446336, -0.0153178498, 0.0333307125, -0.0252926163, -0.0273848139, -0.0100677768, 2.677828018e-34, 0.0196557064, 0.0099235894, 0.0182564855, 0.0074284244, 0.0321486257, -0.0099386051, -0.0073973099, 0.0244685616, 0.0429476015, -0.0347657762, -0.0051180422 ]
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.0062490543, 0.019627763, -0.0267911591, 0.0222515594, -0.0559972748, 0.047842145, 0.0428831801, -0.0137371914, -0.0103444355, -0.03547059, -0.0126474695, -0.068049565, 0.0400115475, 0.0311232042, 0.0218343716, -0.0174037665, 0.0094200913, -0.0705591589, 0.0062000994, 0.0281193908, 0.0910855979, 0.0166986231, -0.0306142289, 0.0063064154, 0.0179261435, -0.0529863201, 0.0079194577, -0.0205682144, 0.0061581521, 0.0197359528, 0.0150485365, 0.0842596069, -0.048210524, -0.0128710894, 0.0000019417, -0.0460148379, -0.0671610534, -0.0144971274, 0.0198483225, 0.0453573726, 0.069391869, -0.0384988002, -0.0372173488, 0.0067730169, -0.0043963059, 0.0198814198, 0.0369404331, 0.0311289784, 0.0526100248, 0.0198395438, -0.0078421347, -0.0581001788, -0.0050433143, 0.037322592, -0.0111462036, 0.0057336478, -0.0315992273, 0.0260377992, -0.0288047213, 0.0037441449, -0.029298503, 0.0196433421, -0.0111417836, -0.0458954498, 0.0005022099, -0.044063855, -0.0288611036, -0.0438184924, 0.0194409695, 0.0506124832, -0.0315402076, -0.0386881828, 0.0012975954, -0.0024885335, -0.0039311806, 0.0138862384, 0.0118007651, -0.0021798385, -0.0315832347, 0.0151756629, 0.0442692414, 0.020377297, 0.012573136, -0.0073550446, -0.0108795688, 0.0320687257, 0.0176364388, -0.0441232473, 0.0130102839, 0.0196848251, 0.0354626887, 0.0470279269, 0.0695115104, -0.0403814279, 0.0036578316, -0.0052444921, -0.0302396845, -0.045826856, 0.0333205909, -0.0441832058, 0.0507462025, 0.0735326111, -0.0149663026, 0.0160516687, -0.0408858731, 0.0028315957, 0.0728420168, 0.0142912092, -0.05809303, 0.0355457962, -0.0118971616, 0.0437742919, -0.0292660929, 0.0407190099, -0.0791845098, -0.0082172798, -0.0727888942, -0.0201239847, 0.0160666574, -0.0274539888, -0.0153105371, -0.0710239783, -0.0018896459, -0.0051090377, 0.0174573418, -0.0380626284, -0.025761608, 0.0158816017, -0.0686353594, -0.0675513893, 0.020283293, 0.0097188959, 0.0026882258, 0.0367312841, -0.0430666879, 0.0374918208, -0.0204345286, -0.0699455068, -0.0633731633, 0.0404391512, -0.0102164447, 0.0059391805, -0.0359811075, -0.0494124293, 0.0066800746, -0.0107761445, 0.0206854902, 0.0100892885, -0.0249375384, 0.0132916253, 0.0671672001, 0.0711504221, 0.0274531394, -0.005834457, 0.0180258714, 0.030339323, 0.056641981, 0.0543347262, 0.0342392549, -0.0137228025, 0.0388441794, 0.0044072736, 0.0072523514, 0.0489061102, -0.0388310924, 0.0132065509, 0.0221722629, -0.0249141883, -0.0122963805, 0.0297469832, -0.0363170207, 0.0431304649, -0.0125732562, -0.0343279317, 0.0581060983, -0.0029441102, 0.044082284, 0.0294324607, 0.0226372089, 0.0584601015, 0.0551550575, 0.025629716, 0.0447419658, -0.0387524068, -0.0131224347, 0.0637386665, 0.0300435349, 0.0625959486, 0.0069875745, -0.1017706245, -0.0026084916, -0.0170308538, 0.0288886037, -0.0534957908, 0.0681546852, 0.0168165844, -0.0621368289, -0.0222140979, 0.0292205103, -0.0653734654, 0.0347935744, -0.0142647931, 0.0237639025, 0.0517007932, 0.062845245, -0.0441318937, -0.007446988, 0.0166552924, 0.0058901045, 0.0376403145, 0.0000450893, 0.0011524005, 0.0371664017, -0.0786860064, -0.0075778617, 0.0719625503, 0.0185137559, -0.0251984559, -0.0221962351, 0.0187840685, 0.0142452857, -0.0468785986, -0.0717722625, 0.0501721613, -0.0176053159, 0.0210055113, 0.0054986593, -0.0012529116, 0.0233639386, 0.0559837818, -0.0180795919, 0.0019343585, -0.0205010939, -0.0207772478, 0.044898048, -0.0091504529, -0.0200877842, 0.0056962022, 0.0096726744, -0.039733097, 0.0151042137, 0.0215776358, 0.0054463949, -0.0205203462, 0.0178481415, -0.0471514538, 0.0296092965, -0.0562923029, 0.0638132989, -0.0162877645, 0.0027133189, -0.0368333086, -0.0238505993, -0.0235404018, -0.0125631969, -0.0388074331, -0.0484612733, 0.0251255091, 0.0089647863, -0.0147424387, -0.0041287672, -0.0167731028, 0.0312341452, 0.0248181131, 0.0169802234, -0.0528858416, -0.0543544479, -0.026906658, -0.0263678376, -0.0159612633, 0.0558629818, -0.0254864208, -0.0107409591, -0.0279420353, 0.0051222173, 0.0231697783, 0.0013827229, -0.0405659564, -0.0057833521, 0.038906619, -0.0364931859, 0.0193900671, -0.0702230707, -0.0520734787, 0.0299850926, 0.0624969117, 0.0784549043, -0.0023983966, 0.0074310531, -0.038644474, 0.0440980941, -0.0371067598, 0.042444095, -0.049359709, 0.0053048246, -0.0056681014, 0.0318946056, 0.0284744538, -0.0151208835, 0.0282715484, 0.024716584, -0.0033739607, -0.0183837488, -0.0191372689, -0.0005274633, -0.00139376, -0.0239135604, -0.0848048776, -0.0164440926, 0.0153437639, -0.0235146768, -0.0134850228, -0.0269774441, 0.0355669819, -0.0803560689, -0.0292942356, -0.0164502524, 0.0154063283, 0.0118445735, 0.0740089118, -0.0005190033, -0.0519468561, 0.0283222347, -0.0584209785, 0.0191287939, -0.0357960351, 0.02406976, -0.0402687676, -0.0220247041, -0.016416911, 0.0071618715, 0.0049826689, -0.0666848272, -0.0010273968, 0.0119070942, 0.0271510854, -0.0233209431, 0.0310252588, -0.0725619495, -0.0235730708, 0.027599128, -0.000936136, 0.0198846385, 0.0079230741, 0.0030154635, -0.0472362563, 0.0465652794, 0.0006349141, -0.0471874848, 0.0360627696, 0.0134584047, 0.0228664074, -0.0264343675, 0.0167317837, 0.0129396385, 0.0153339421, 0.0002716507, -0.0160234775, -0.003285995, -0.0498931073, -0.0085653784, 0.0219563376, -0.0821982175, -0.0320410505, -0.0311635379, 0.0235004146, 0.0398153476, -0.0525619164, -0.023470439, -0.0502975397, 0.0216000136, -0.0852733627, 0.004552763, 0.0890844166, 0.0345284007, -0.0103454003, -0.0074259462, 0.0059760935, -0.0218648762, -0.0600471981, -0.0165457893, -0.0599756874, -0.0088740606, 0.0512203537, 0.0606422126, -0.0001493086, 0.0199129879, 0.0732597411, -0.0425287858, 0.0053984206, 0.0206561051, -0.0360783041, -0.0726641268, -0.0243826415, 0.0008943079, -0.029670259, -0.0076902444, -0.0291784871, -0.0137025518, 0.0424862951, 0.0383483283, -0.0259808544, -0.0339369699, -0.0199997183, 0.019935431, 0.0400329344, 0.048580505, -0.005982847, -0.0229791645, -0.0153705534, -0.0037171671, -0.0690315962, -0.0273110457, -0.0219914932, 0.0369474329, 0.0128255775, -0.0233740378, -0.0594279431, -0.0271272939, 0.0015855262, 0.0142230429, -0.0080541931, -0.0390668958, 0.030790206, 0.014481266, -0.0219857767, 0.0252506491, 0.0077529037, 0.0235929787, 0.0063282349, -0.0334689394, -0.0368881375, -0.0492013283, -0.0181123037, -0.0971824229, -0.0524364673, -0.0266984887, 0.0014309757, -0.0187791158, -0.0955919027, -0.0765552968, 0.0029377786, -0.0129659278, 0.0294153951, 0.0098705348, 0.0173262823, 0.0171459131, -0.0427265987, -0.0083455937, 0.0299494453, -0.0027257768, -0.0941457599, -0.0228920188, -0.0179286413, -0.0812197849, -0.0104360636, -0.0095494771, -0.0030522894, -0.0003222379, 0.0454914309, 0.0150614558, 0.0065448908, -0.0392795801, -0.0257604215, -0.0462187678, 0.0401117615, -0.0089554247, -0.0362411439, 0.0097156921, 0.0462952666, -0.0369012579, -0.0256202165, 0.0115190716, 0.0457840823, 0.0272168331, 0.0011639242, -0.0088464469, 0.0019536316, -0.0584746972, -0.0088608488, -0.0184197295, 0.0054623075, -0.0142406169, -0.0366550498, -0.0575594679, 0.0244046897, -0.0286213476, 0.0559210218, -0.0282292981, 0.0282917824, 0.0198283251, 0.0302924644, -0.0251647215, 0.0032441544, -0.019471284, -0.0321995206, 0.0144604798, 0.0595796555, -0.0183791071, 0.0175549928, -0.0113340337, -0.0035934332, -0.0174792707, -0.0209477469, -0.0700872019, 0.030471256, 0.028489653, 0.0190057568, -0.012663438, 0.0222684704, 0.0368898734, 0.0818410143, 0.0423871651, 0.0723187476, -0.0290415697, 0.0534715764, -0.0020976993, -0.0487679802, 0.065194346, 0.0011983571, 0.0190969892, -0.0308747832, 0.0501723401, 0.0037592652, -0.0100069996, -0.0313652828, -0.006000401, 0.0241725929, -0.0209488831, 0.0906498954, 0.0077839596, -0.0678888857, 0.033712212, -0.0173087418, -0.0145706264, -0.013642244, -0.0232481603, 0.0361212194, -0.0559340939, 0.0153698614, -0.0660975799, -0.0495028123, 0.0065018279, 0.0569083244, 0.0182802584, 0.0244053919, -0.0276503302, 0.0714184195, -0.0122903744, -0.0168472826, -0.0731691122, -0.0245717205, -0.0329320095, -0.0170448553, 0.0200735591, -5.712597284e-33, 0.0030964976, -0.0221075807, -0.0142989941, 0.0057121073, 0.0082706595, 0.0150165493, -0.047346767, -0.0068568848, 0.005475489, 0.0456730723, 0.0016887281, 0.01418644, 0.0355751961, 0.0095211677, 0.0046782084, -0.0013303731, 0.0344290659, 0.0080089215, -0.0076700919, 0.0269018505, 0.0022164956, 0.0316899642, 0.0622502677, -0.0436218642, 0.0610920638, -0.0308091082, -0.0340398662, 0.0051960801, 0.0289348792, 0.0943185017, 0.0006838659, 0.0221450515, 0.0238167085, -0.0076774918, 0.0139653943, 0.0219545588, -0.0634971783, 0.0021680093, 0.0207122639, 0.0381673425, -0.0075248177, -0.0321792439, -0.0243624374, -0.0080746915, -0.0242786985, -0.0003106107, 0.0224318132, -0.0350523144, -0.0011548719, -0.0110880313, -0.0949981958, 0.074072063, -0.0284837019, -0.0026289895, 0.0845051482, 0.0462423675, -0.0196027644, 0.0047129611, -0.0168242641, 0.0330878757, 0.0398317091, 0.0421886928, 0.0396795496, -0.0162376706, -0.0662457272, 0.001151652, -0.0170347393, -0.0354839191, 0.0277967211, 0.0247938465, 0.0475556105, -0.0559246764, 0.0483602844, 0.050733652, 0.0329587348, -0.0013290587, -0.0313796736, 0.0531400181, -0.0478118323, 0.0416087396, 0.02858283, -0.010527987, -0.0811354592, 0.0136539964, -0.0094197383, -0.0126234191, -0.0211231355, 0.0007726972, 0.0127382744, -0.0418123305, -0.0296032075, 0.0324153751, -0.0031352821, 0.0419584587, 0.0545765348, -0.0106745819, 0.005488513, 0.0140893282, -0.0614247806, 0.0414316356, -0.0193408672, -0.0199954417, 0.0076818238, 0.0140700946, 0.0047734519, -0.022412261, -0.000379072, 0.0222956464, -0.0554685034, 0.0087502347, 0.0030226929, 0.0224712938, 0.0244959686, 0.0759301931, -0.0084333438, -0.0115014557, -0.0066014035, 0.0445138291, 0.0257837493, -0.0008771045, -0.0152685102, -0.0314652845, -0.010566189, -0.0063240975, -0.0314209945, 0.0007302408, -0.0277201198, 0.0089479601, 0.0029511577, -0.0319339894, 0.0185300708, 0.002653986, 2.553e-7, 0.055049248, 0.0490307286, 0.0109711504, 0.013509348, -0.0217960048, 0.0053622858, 0.0119554522, 0.0445986763, 0.0273272023, 0.0662027672, 0.0355809964, -0.0238993224, 0.0808367878, -0.0306042023, -0.080537647, -0.0098439604, 0.0425299369, 0.0485786907, -0.0304173827, 0.0304542705, 0.0566951372, 0.0822716355, -0.0573149845, 0.0209985077, 0.0099273613, -0.0438468717, 0.0091116624, -0.0376390144, -0.0126940124, 0.0428170823, 0.1490332782, -0.0289915297, 0.0168710593, 0.0216027647, -0.0612585433, -0.0208542831, 0.045999635, 0.0773228854, 0.03706792, 0.0158815235, 0.0253627636, -0.0113958688, -0.0176740624, -0.029982755, 0.025968954, 0.0280084983, -0.0043511419, 0.0621808544, -0.0598399341, 0.0027770081, 0.0061037042, -0.0348745584, -0.0383689031, 0.0254779961, 0.0404821075, -0.0408668108, 0.0219182894, 0.003905446, -0.0135139832, -0.0154712209, 0.0430858433, 0.01111391, 0.011951427, -0.0426538922, 0.0124943247, -0.0335462913, -0.0001496783, 1.904701825e-34, 0.0611471832, -0.0114066377, 0.0162727702, 0.0151871359, 0.0161414873, -0.0027011195, -0.0069418838, -0.0027982045, -0.0182045996, -0.0425494835, 0.0158380046 ]
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.0112891756, 0.0860683993, 0.0139051173, -0.0108838296, -0.0628569424, 0.0127561511, 0.0309730582, -0.0083796857, -0.0380559675, -0.0472492687, 0.0146060698, -0.0650817528, 0.0662695467, -0.0119623533, 0.0197434332, -0.0333401375, -0.0016513922, -0.0597772263, -0.0438837633, 0.0102081262, 0.072185725, 0.0334487744, 0.0299982782, 0.0249906313, 0.0099594798, -0.0181699991, 0.0043704626, 0.0126793077, 0.0038611076, 0.0267024562, 0.0015028896, 0.0747139454, -0.0034437119, 0.0203735307, 0.0000015974, -0.0451755002, -0.0467132293, -0.0380430371, 0.0034989945, 0.0398043096, 0.0393315665, -0.0471975692, -0.0451357737, 0.0686707571, -0.0148668801, -0.0175851937, 0.0528896078, 0.0101530543, 0.028018726, 0.0368436649, -0.0121441772, -0.0722886473, -0.009061439, -0.0087295314, -0.1043185666, -0.0011773303, -0.0176907443, -0.0181171019, -0.0174837559, -0.0257934239, 0.0062963073, 0.0379353017, -0.0207414795, -0.0127731385, -0.040145535, -0.0383313075, -0.034111429, -0.0090080285, 0.010095641, 0.0327296369, -0.0420039371, -0.0585637055, 0.0118748313, 0.0338302627, 0.0040251389, 0.0053972322, 0.005042199, 0.0199423973, -0.0387598388, 0.0198909007, 0.0176656898, -0.0031535653, 0.0173488595, -0.0098224794, -0.0542449541, 0.0254349858, 0.0196546484, -0.0228766482, 0.0019501251, 0.0248026829, 0.0054275435, -0.0303347427, 0.0755660832, 0.0172784347, -0.026259739, -0.0060907719, -0.0170204155, -0.0547922254, 0.0143425623, -0.0628294274, 0.0382363163, 0.0254404154, -0.0252493508, -0.0140904784, -0.0191762783, -0.026174238, 0.0474814922, 0.053028781, -0.0737474784, -0.000237494, -0.0550153255, 0.0435790606, -0.0441305488, 0.0221618954, -0.0603752546, 0.0257514492, -0.0355389714, -0.0260532089, 0.0088109532, 0.0191174131, 0.0531545207, -0.0085430359, -0.0147409299, -0.0428482294, 0.0379334763, 0.0611961372, -0.0270239357, -0.011270999, -0.0518744588, -0.0659297183, 0.0111489641, 0.0402886197, 0.0510119796, 0.053052377, -0.0187680777, -0.0081098219, -0.0235906988, -0.081373021, -0.0903220028, 0.0060082297, -0.0456033573, -0.0084961643, -0.0734034479, -0.0858979002, 0.0173307937, -0.0037384848, -0.0046468247, -0.0088962689, -0.0280204099, -0.0015415268, 0.0486661159, 0.0478824265, 0.0033846961, 0.0119365053, 0.065821819, 0.0086632473, 0.0606555417, 0.0675276816, -0.0004870426, -0.0016753142, 0.0246398933, -0.017708173, -0.0206066873, 0.0751926973, 0.0139882341, 0.016016243, -0.0542177036, -0.0469749309, 0.0093334047, 0.0665800571, 0.0075051403, 0.0692874044, -0.0098380521, -0.0112905893, 0.030433856, 0.0521644056, 0.0073857545, -0.0300406031, 0.0159956012, 0.0455119312, -0.0131728249, 0.0250109285, 0.0444677807, -0.0421093628, 0.0096695535, -0.0019894275, 0.0210776869, 0.0930991396, -0.0447000489, -0.0261166804, -0.0085818805, -0.0278696902, 0.013113088, -0.0187470652, 0.0548538044, 0.0207949188, -0.0204191972, 0.0016147824, 0.0125195496, -0.0160958022, 0.0386205986, -0.0109648295, -0.0582670905, 0.0264279936, 0.0368818417, 0.0248517338, -0.0132391211, -0.0136440368, 0.0211742539, 0.0441486277, 0.0257103071, -0.0325783044, -0.0028674994, -0.0548433699, -0.0066746264, 0.0779876485, 0.0027981086, 0.0011233788, 0.0010030625, 0.0162313655, 0.0020550683, -0.0094434917, -0.0634028316, 0.0195490625, -0.0357449092, 0.0081212241, 0.0265788734, 0.034938097, -0.0125925839, 0.0729739219, -0.0098095341, 0.0048384825, 0.0215785969, -0.0410601497, 0.0011467068, 0.067720592, -0.0321359225, -0.0265615806, 0.0705492571, -0.011194977, -0.0073636565, 0.0191091262, 0.011299286, -0.0691649169, 0.0892838165, -0.0377812721, 0.0797155052, -0.0294845551, 0.0527927242, -0.0160221606, 0.0122785913, -0.0199178364, -0.0094999615, -0.0375534631, -0.0363784172, -0.0081920968, -0.0544401631, 0.0411339924, 0.0290903449, 0.0120877707, 0.0101553025, -0.0053229961, 0.0427574702, 0.0233161356, -0.0330104902, -0.0065527186, -0.0369346701, -0.08982905, -0.0348100476, -0.0615597889, 0.0744774714, 0.0127460491, 0.0463835821, 0.0162791908, -0.0263682641, -0.0156199401, -0.0139670148, 0.0226626303, 0.0123216314, 0.0329495966, -0.0139526352, -0.0012775875, -0.0519269817, 0.005950592, 0.0235412624, 0.03951592, -0.0058677695, -0.042184338, -0.0150005221, -0.0442795902, 0.0183223132, 0.049529206, 0.0279012732, -0.0177517869, 0.0257572476, -0.0219941642, 0.0591385923, 0.013999857, -0.0081357872, -0.0020373361, 0.0171497371, -0.0183525942, -0.0386851802, -0.0315317027, 0.0017977206, -0.0613743588, -0.0567663684, -0.0880991071, -0.0289532337, 0.0524877496, -0.0307718515, 0.0246890299, -0.0429302976, -0.0094390819, 0.0016729659, 0.0230603255, 0.0221817065, 0.0150714861, -0.0194767695, 0.0694607943, -0.0061453544, -0.0325222835, -0.0000605644, -0.0409678482, 0.0181108378, -0.0255281962, -0.0009066801, -0.0260639917, 0.0035071201, -0.0245428141, 0.0357058682, -0.0171392914, -0.0626388937, 0.0023357898, -0.0478323735, -0.0059183054, -0.0093709994, 0.0274836216, -0.0504643656, 0.0148669938, -0.0066267424, -0.0411761664, 0.0199543275, -0.0118534593, -0.0699542761, 0.003416542, 0.0269210301, -0.0538171753, -0.0258762129, 0.0430423096, -0.0186865591, 0.0559765846, -0.0046961727, 0.0249981862, 0.0044455286, 0.0262968373, 0.0408110209, 0.0413048342, -0.0066300086, 0.0243107211, 0.0459968485, 0.0355165377, -0.0077691423, 0.0188399497, -0.0619025007, -0.0446581505, 0.0119701112, -0.0710568726, -0.0197851509, -0.0226457715, 0.00615534, 0.0113276411, -0.0045888457, 0.1029805914, 0.0168300699, -0.0618890822, -0.0052770814, 0.0023853129, 0.0116451401, -0.0182151105, -0.0271571204, -0.0831271783, -0.0205867998, 0.0162253957, 0.0471994765, 0.0659609959, -0.0030080932, 0.0371161923, -0.0849628597, -0.0377897806, -0.0022659597, -0.0274225492, -0.0338217318, -0.0168080535, -0.0088662952, -0.0178640336, 0.0321682729, -0.0046778559, -0.003900127, 0.005615524, 0.0680632815, -0.0127798924, -0.0660321414, -0.013517743, -0.0611507073, 0.0565999374, 0.0043089483, -0.0098716328, -0.0097665219, -0.0235336516, 0.0091202371, -0.0380821042, -0.0197928715, 0.0143556595, -0.0016092341, -0.0063925683, -0.0095263021, -0.0243763421, -0.0320459716, -0.0732394382, 0.0240024198, -0.0063421298, 0.0066398215, 0.0318034627, 0.0217939317, 0.0145846354, 0.0245185439, 0.0005877095, 0.0121833207, 0.0004574682, -0.0505485497, -0.0417412519, -0.0041824053, -0.0107598603, -0.1041283906, -0.0157450531, -0.001143822, 0.0317542367, -0.0498507619, -0.0839511305, -0.0514323786, 0.0091203526, 0.0480350889, 0.0181539264, -0.016432099, 0.0583562814, -0.0061089881, -0.0276316367, -0.0376558565, -0.0022573113, 0.0072735907, -0.068532683, -0.0040072948, 0.0483157896, -0.0394900665, 0.052378241, -0.0147843398, -0.0592640974, -0.0435551479, 0.0222197101, -0.0475150198, 0.0128088621, 0.0141268643, -0.0160021894, -0.0464532003, -0.0317074843, 0.006743242, 0.0482556634, 0.0256038085, 0.0324469246, 0.0179181099, -0.0458561629, 0.0571653843, 0.0501418374, 0.0039010798, -0.0101593286, -0.0090724891, -0.0495660938, -0.0485971943, -0.0115288198, -0.0003881751, -0.0039403429, -0.051657185, -0.0100768749, -0.0093139177, -0.0236232188, -0.0106742317, 0.0500445142, -0.0052628368, 0.0271848626, 0.0576595478, 0.0166498646, 0.0101781944, -0.0013972649, -0.0410721228, -0.0056347442, 0.0142441969, 0.0236372259, -0.0010924888, 0.0547568277, -0.0038680763, 0.006684992, 0.0131937191, 0.036970187, -0.0197550058, 0.0642543957, -0.0406087302, -0.0318895578, -0.0213838145, 0.0654276907, 0.0114193344, 0.059418045, 0.018705396, 0.0212304648, -0.0240190476, 0.0569219738, 0.0542433225, -0.0217998084, 0.1036148444, 0.0265257396, 0.0179318003, -0.0111485226, -0.0023020871, -0.0152805448, -0.0198793691, -0.0314382762, -0.0194678959, -0.0284848083, 0.0577925965, 0.078773804, 0.000162001, 0.0087667415, 0.0362095684, -0.0145053705, -0.0023800414, -0.0273872539, 0.0225417074, 0.0433107316, -0.0510460138, -0.0222483035, -0.0278152116, -0.0717615932, 0.0154022519, 0.011427178, 0.0042422148, 0.0401136763, -0.0069666049, 0.0447891466, 0.0124867372, 0.0206484944, -0.0251897741, 0.0133916698, 0.0026431612, -0.0619067885, 0.0351098515, -5.833481817e-33, 0.0206671469, -0.0149425119, -0.0283484459, -0.0143886656, 0.0432528742, -0.0127712889, -0.0202235803, 0.0325617604, -0.0037920394, -0.0111519992, -0.0566159748, 0.0079768058, 0.0321922787, 0.0282562394, 0.0528423525, -0.0078293523, 0.0133536877, -0.0372523963, -0.0041079316, 0.0335542522, 0.0397690348, 0.0245280545, 0.0968308374, -0.0487156212, -0.0071325856, -0.0194349028, -0.0554133654, -0.003362013, 0.0498245507, 0.0487903431, -0.022431884, 0.0610084943, 0.0192534998, 0.0060689761, 0.0103154341, 0.0132463882, -0.0546310171, 0.0068936166, 0.0101646408, 0.0662272573, -0.0162885021, 0.0049300059, 0.0008268377, -0.0299185831, -0.0613620616, 0.0504968315, -0.0222633891, 0.0111180879, 0.015564057, 0.017077297, -0.0870707631, 0.0608303845, 0.003952553, -0.0167749319, 0.0960612223, 0.0133712264, -0.0224200804, -0.0421967432, -0.0105557116, -0.0101821562, 0.0427717343, 0.0518722236, 0.0535607412, 0.042319756, -0.0925471932, -0.0190574676, 0.0169017594, 0.000358934, 0.0432877056, 0.0276281852, 0.0272300988, -0.0601353832, 0.0008306888, 0.0810389221, 0.0155200018, -0.0446642041, -0.0433250964, 0.0383501165, 0.0144885844, -0.0040329318, -0.0176690873, -0.0144973407, -0.0046989163, -0.0286105629, -0.0120209595, -0.0928880945, 0.0054609855, -0.0019465942, 0.0020180983, 0.0111139072, -0.0176701136, 0.0759442374, 0.0190232862, 0.0072206659, -0.0021515202, 0.0229139235, -0.0065212557, 0.0124670975, -0.0342622586, 0.0344199315, -0.067086719, -0.0234276913, 0.0303687714, 0.0470025204, -0.0044009527, 0.0100342687, 0.010664627, 0.0240246039, -0.0680247322, 0.015609147, -0.0275996309, 0.0406275876, -0.0347761549, 0.0818831548, 0.0416073278, -0.0207387973, 0.0270641353, 0.0199097749, 0.0489457287, 0.0057657761, -0.0035939866, -0.0104389954, 0.0030299188, -0.0073356405, 0.0149346394, 0.0460103676, -0.0155382445, -0.0286942851, -0.0092537254, -0.0110242879, 0.0157413594, -0.0044131437, 2.461e-7, 0.0454748012, 0.0162479337, 0.0569346584, -0.0427048467, -0.0009084851, 0.0009785937, 0.032953769, 0.0266728476, -0.0044170846, -0.0232080854, 0.0279249083, -0.0231453888, 0.0738387182, 0.0019667165, -0.079511568, -0.0346428044, -0.0526913404, 0.0317486897, -0.0354596227, -0.0096413027, 0.0307382867, 0.1093056574, -0.0555489622, -0.0414154008, -0.0062668175, -0.0207300466, 0.0114899203, 0.0114389993, -0.0131255621, 0.030067414, 0.0337582007, -0.0411837287, -0.0116848201, -0.0339664929, -0.028877588, 0.0098760882, 0.0099058924, 0.0694508925, 0.0116165094, -0.0141169094, -0.0012427754, -0.0413881317, -0.0127446335, -0.0222748183, 0.0358527564, 0.0401895046, -0.0006627809, -0.0041893255, -0.0307426881, 0.0257955678, 0.0349057652, -0.0226141904, -0.0247739758, 0.0322549269, 0.0489637591, 0.005198237, -0.0275455676, -0.0676663071, -0.0006312035, 0.0219614375, 0.0089005288, 0.0007877618, 0.0219304562, 0.0071180826, -0.0108604915, -0.029273916, 0.0206448827, 1.87011233e-34, 0.0374919623, 0.0023131906, 0.0155781992, -0.0044261087, 0.0078135366, -0.0082768826, -0.0526962616, 0.0103463857, -0.0116803674, -0.0568208247, 0.0014997971 ]
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.0197981503, -0.0054192436, -0.0322985426, 0.0289932471, -0.0151782306, 0.0306349732, -0.0124252886, -0.0026678953, 0.007283085, -0.0222090017, -0.026072884, 0.0149480179, -0.0095830308, -0.0122563047, 0.0138289984, -0.0463792756, 0.0415941253, -0.0347745195, -0.0671563148, 0.0080205612, -0.0031512515, 0.0274765361, -0.0189206824, 0.089827694, -0.016947804, -0.0062389961, 0.0034786512, 0.0068095666, -0.0417434461, 0.0260210373, 0.0319226459, 0.025073627, 0.0419251174, 0.0857425034, 0.0000020652, -0.0647416711, -0.0144946808, -0.0029249215, -0.0206739102, -0.0270540901, 0.069191657, -0.0165442135, -0.0225620102, 0.0511261933, -0.0275567863, -0.0224030111, 0.057239797, -0.0141328853, 0.0432807393, 0.0436396897, -0.0019289858, 0.0313331671, -0.0204813015, -0.0083671212, -0.0742622837, -0.0201917514, 0.0078095621, 0.0340403542, 0.0338558517, -0.0316960104, 0.0159068014, 0.0157659631, 0.0082760276, 0.0054659788, 0.0143232057, 0.035265509, -0.0292110015, -0.0144295292, -0.0170834698, 0.0499408357, -0.0510378852, -0.033314079, -0.001406256, -0.0193423443, -0.0120060993, 0.0760206133, -0.0411514975, -0.0101743368, 0.0024022479, 0.0117263617, -0.0099959364, -0.0572296418, 0.0117407478, 0.0140826069, -0.0029005422, 0.0647448227, -0.0087125003, 0.0003427825, 0.0033666783, 0.0082081212, 0.0059359623, -0.0360059477, -0.026422428, 0.0457215197, -0.0445612334, 0.0320782475, -0.0494530499, 0.0006808238, 0.0241006911, -0.0880045369, 0.0390705504, 0.0164544713, -0.0533448867, 0.0298298951, -0.0446724184, -0.0048307329, 0.0121999234, 0.0305260401, -0.0505671166, -0.0090453792, -0.0745552704, -0.0044979062, -0.0101086823, 0.0173424929, 0.0048640235, -0.0447378531, -0.0075047496, 0.0642230511, 0.0077821598, 0.0558105819, -0.010401465, -0.0415118188, -0.0252901707, -0.0097572915, -0.0038865313, 0.0168034267, -0.0222588722, 0.0602338575, -0.0288179908, -0.0282202847, 0.0064869667, 0.0124139581, -0.0210331287, -0.0167636015, -0.0033031313, 0.0970956907, -0.0218700748, 0.0505359732, -0.0687406212, -0.030712299, 0.0413382389, -0.0368144624, -0.0330146141, -0.0830158666, 0.0084326519, 0.0752364323, -0.0116051193, -0.0498008132, -0.0019429524, -0.0229285676, -0.0379162617, 0.038586475, -0.0218326021, 0.0243561007, 0.039792981, -0.0005013196, -0.0238282103, 0.0683597103, -0.0162272044, 0.0302591398, 0.0228459239, -0.0241349321, -0.0114661166, 0.0742938966, -0.033622846, 0.0154372072, -0.0320532396, 0.0192329958, 0.0385611095, 0.0198183749, 0.0024489814, 0.0059635201, 0.0068876194, 0.0030442777, 0.0627599433, 0.035538733, 0.0484760553, 0.0279626194, 0.0297949351, 0.0315655507, -0.0062981145, -0.012960026, -0.0738543868, -0.0239127502, -0.0494867787, 0.0144841289, -0.0461961553, 0.015565265, -0.0147081744, -0.0054905806, -0.0372293815, -0.0162590295, -0.0402881205, 0.0128337117, 0.0695443377, -0.0129339453, -0.0285991989, 0.0204012543, 0.0244353451, -0.0187068265, -0.0229968037, -0.0453103408, -0.0104575427, 0.0616645068, 0.0758296102, -0.0442038178, -0.0446708947, -0.0199336428, 0.0122269997, -0.0001146945, 0.0376674496, -0.0383238196, 0.0121171139, -0.0493908115, -0.0484321713, 0.0170914866, -0.0230770521, 0.0305515081, 0.0508353859, -0.0108307442, -0.0018966406, -0.0871881545, -0.0376002863, 0.0638524517, -0.0003333644, -0.016083939, -0.0005533153, 0.0062263254, 0.036370948, -0.0396605879, -0.0340529233, -0.0154820438, 0.0232126731, 0.0011175253, -0.0122698089, 0.0311514884, -0.0318982787, 0.0312909596, 0.047702685, 0.0352009274, 0.0205335394, 0.0281400066, -0.0238398928, -0.0171993319, 0.0076305568, 0.0059266118, 0.056472715, -0.0069058491, 0.0429738574, -0.0380593948, 0.001891608, -0.055742573, 0.028415367, -0.0096747018, -0.0083555691, -0.0278212968, 0.0026824479, 0.0016967059, 0.0231413953, -0.0055831959, 0.0292777941, 0.0006153517, 0.0529638119, -0.003159116, -0.0045980848, -0.0258416235, -0.0134680951, -0.0764934272, 0.000625055, -0.0104244146, 0.0089999083, -0.0058510569, -0.0424139984, -0.0151717598, -0.0354918726, -0.0220328793, 0.0195300486, -0.0119823851, 0.0269727651, -0.0044841114, 0.0135953734, 0.0033467945, -0.037906751, -0.0127410097, -0.0066084764, 0.048677478, -0.0128403232, -0.0380131453, -0.0691751763, 0.0983185917, -0.0075953566, 0.0348076485, -0.0286952388, 0.0027618685, -0.0024061385, -0.0162842348, 0.0125782527, 0.0410455391, -0.0485001095, 0.0196092408, 0.0807956532, 0.0256211106, -0.0965317115, -0.0108059635, -0.0134717952, -0.0445330255, -0.0350798965, -0.000255559, -0.0035758035, 0.0236831084, 0.0079406779, 0.0208002161, 0.0268066972, 0.011607145, -0.0147989923, -0.0318058953, -0.0328567699, -0.0150079187, -0.0076550948, 0.0125221107, -0.0154092535, -0.0923851356, 0.0571944937, -0.0219060276, -0.0202999897, -0.022176791, -0.0416708365, -0.0357296988, 0.0426513776, 0.008922671, 0.0149871456, -0.0020204643, -0.0272691306, -0.0568662509, -0.0380404405, 0.0311460234, -0.0192282442, 0.0572153926, -0.0639853254, 0.0338304155, -0.011496868, -0.0315892696, -0.0370856039, -0.0056248647, -0.0322595499, 0.0206584446, 0.0064559216, -0.0272924062, 0.0354758911, 0.048449792, 0.0117706694, 0.0417721495, 0.023450274, -0.0249871872, -0.0283905398, 0.0497063845, 0.0180589128, 0.0018669243, 0.00841616, -0.0394907892, -0.0010445867, 0.0220994875, 0.0704662204, -0.0562656187, -0.0688070133, -0.011886334, 0.050265681, -0.0567228049, -0.0054000923, 0.0425787047, 0.0281332918, -0.0795048177, 0.028051693, 0.0670428425, 0.0394592546, -0.059690576, 0.0042483271, 0.0280646626, 0.0374221914, 0.0558385625, 0.0455929339, -0.0746487156, -0.0311843529, 0.0269875843, 0.0530152805, 0.0085321767, -0.0235409383, -0.0015472337, -0.1228442416, 0.0274314024, 0.0095748631, -0.0196308251, 0.0465010405, -0.036791455, 0.0035165977, -0.0125642493, 0.0145047158, 0.024633076, -0.0267023072, -0.0121598588, 0.0574704185, -0.0468472913, -0.0869074613, 0.0066373297, -0.0404112078, 0.0599539094, 0.0565861911, -0.0220354851, -0.0074979407, 0.0363285244, 0.0976321176, 0.0429326184, 0.0147075942, -0.0447211005, 0.0230256822, 0.0101045249, -0.0105868699, 0.0276969001, 0.021092426, -0.0326701701, 0.0234408733, 0.0337151028, 0.0876186341, -0.0127539309, 0.0049259672, 0.0036008626, -0.0518369004, 0.0153189888, 0.024473099, 0.0072312853, -0.0261045732, -0.0431266204, -0.0246102307, -0.0427787341, -0.0091277286, -0.0197059195, 0.0102048069, -0.0079378067, 0.0005772469, -0.0445700921, -0.017849654, 0.0564308204, 0.0201417468, 0.0483693667, 0.02277321, -0.0310297143, 0.0387841426, -0.0498330779, 0.0358364917, -0.0349025726, 0.051570747, -0.0438525379, -0.0227715559, 0.012680186, -0.0253159385, 0.002177007, 0.0101323323, -0.0583257973, -0.076514028, -0.0168347899, 0.0596471168, 0.0272662714, 0.0330018476, -0.0150191355, -0.062487144, -0.0046536918, 0.0265630707, -0.031317126, -0.0155744497, 0.0183173027, -0.016750697, 0.0009115175, 0.0211249664, -0.0417131223, -0.0108925821, 0.0162978601, -0.011451263, -0.0237019546, -0.0377538018, 0.025210185, 0.009028825, -0.0321371406, 0.0039520017, 0.0105081722, -0.0323045142, 0.0195714347, 0.0441620275, -0.0131520582, -0.0313101336, 0.0164588541, -0.0166365076, 0.0185962822, 0.0418212935, 0.0169315077, 0.016040897, 0.0515287034, -0.0275047608, 0.0316721499, 0.00270586, 0.0249540322, 0.0785213932, 0.0446067564, -0.0313618593, 0.0165233985, 0.0053319964, 0.046045918, -0.0212367848, 0.0562580004, -0.0156350341, 0.0159918349, -0.0097370576, 0.017361749, -0.024229072, -0.1163484678, -0.0281347036, 0.0042587887, 0.0542517155, -0.0464967452, 0.0463732742, -0.0476785004, 0.0029885813, -0.047801137, 0.0212882422, -0.015997082, -0.0002814779, -0.0078758504, 0.017618645, -0.0407884568, 0.0261603333, 0.0779966787, 0.0055419197, 0.0234274063, -0.0117845479, -0.0414366759, -0.0485689789, -0.0386063568, 0.0642225146, -0.0031124677, -0.0401582755, -0.0155516192, -0.046031598, -0.0510190651, -0.0567249842, -0.0307098459, -0.0025747523, -0.0497199968, 0.0166095924, 0.1056427956, 0.0243217498, 0.0496883504, -0.034158852, -0.028919965, -0.0329531096, 0.0001576705, -0.0073046116, -5.212730433e-33, -0.004312559, -0.0051710857, 0.0293845776, -0.0039516245, 0.03211293, -0.0130877364, -0.0087825907, 0.029498525, -0.0310762003, -0.0329408161, 0.0007930971, -0.0280879084, 0.0259964354, -0.0259174015, 0.0419530906, 0.0429945216, 0.0473653227, -0.0057486445, -0.0157866087, 0.0079334797, 0.0396449082, 0.0246651303, 0.0469417833, -0.0692148581, -0.010406333, 0.0289542545, 0.0216651689, 0.0125626093, 0.0262900349, 0.0552594252, 0.0009748295, 0.0521267094, 0.016606858, -0.039082963, -0.0414005257, -0.0351001546, -0.0585305132, 0.0115854852, 0.0087659825, 0.0421939529, 0.0202328283, -0.0054687364, 0.058719445, -0.0209490154, -0.0252098814, 0.0162777249, 0.0441066809, -0.0224622823, -0.059694957, -0.0258756969, -0.0542190224, 0.0275894143, -0.0066892523, -0.0552211404, 0.0275336765, 0.0096055456, -0.0068213521, -0.0066734576, -0.0318947285, 0.0071577271, 0.0379769132, 0.0579925738, 0.1004352942, 0.0512645878, -0.030032441, 0.0336898081, 0.0176817533, -0.0127045941, 0.0325173922, -0.0254828259, 0.0467803329, 0.0717856437, 0.0352194607, 0.0045371088, -0.0395389758, -0.0016934989, -0.008058033, 0.0328666493, 0.0726860538, 0.0421740115, 0.0533144437, 0.0422144197, -0.043352332, -0.0279675107, -0.0350661092, -0.0269739721, -0.0220157765, -0.0329046138, 0.0421939045, 0.0142760817, 0.010713811, -0.0006570852, 0.0305015557, -0.0263086613, -0.0286831819, 0.0250741392, -0.0298531242, 0.0292878598, 0.0103344787, 0.032263197, -0.0712879598, -0.0325756967, -0.0494336002, -0.0149455611, 0.0311867911, -0.0285409503, 0.0089304736, 0.0362844616, -0.0886694565, 0.022518022, -0.0629821494, 0.0200387258, 0.0051913047, 0.0378727578, 0.0486542359, -0.0460493602, 0.0116730109, 0.0085731847, -0.0119490828, -0.0472353473, -0.0196809769, -0.0072232056, -0.0227678139, -0.000156584, -0.0261807423, -0.005982738, -0.0391882174, 0.0066445647, 0.0452657044, -0.0095642265, -0.0017231234, -0.042444326, 2.598e-7, 0.0179712139, 0.0384822637, -0.0038543809, 0.0184149034, -0.0000199195, 0.0390539505, -0.0555309877, 0.0143829761, 0.0040428052, 0.034230154, -0.0107179983, 0.0208771247, 0.0676335841, 0.0466745868, -0.0567785539, -0.0117146214, -0.0118052242, 0.0546165556, -0.082060717, -0.0185921304, 0.0078844847, 0.072274223, 0.0029244905, -0.0209580343, -0.0044692405, -0.1050808579, 0.0217185896, -0.0464333259, 0.0086633349, 0.0213385392, -0.0201000813, 0.047700379, -0.0014101702, 0.0026527019, 0.0034207052, 0.0291887503, -0.0146424221, 0.0657835603, -0.0014773381, -0.0009918569, 0.0125295771, -0.0343717858, 0.0175358616, -0.0652977973, 0.0550907888, -0.0725219697, -0.0089043006, -0.0221924987, 0.0438279919, -0.0278789904, -0.0414963365, -0.0109504657, 0.0019902687, 0.0129721416, 0.0321775042, -0.0337180309, -0.0264950525, -0.056417726, -0.0311081689, 0.0871108547, -0.0216010194, -0.0766380727, -0.0358898789, -0.0036536646, -0.0409040898, -0.0197772458, -0.0038730893, 2.657163884e-34, 0.0300690923, 0.0229484849, 0.035243962, 0.089715369, 0.0070029348, -0.0056522898, 0.0180556402, 0.0243117027, 0.0205476116, -0.0289689917, 0.0125117106 ]
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.0207963176, 0.0955463573, -0.0124698067, 0.0180112571, -0.0214031357, -0.0165537111, 0.0287761204, -0.0372900106, -0.0396495685, 0.0079028178, -0.0554704331, -0.0486805663, 0.0154193863, -0.0321546309, 0.0183149129, -0.006013819, 0.0180810429, -0.0533670373, 0.0173633229, -0.0392269827, 0.0127927726, 0.0162604116, -0.0208839998, 0.0515406802, -0.0334523767, 0.0052902987, 0.0162635334, 0.0165963471, -0.0338871628, 0.0118790297, 0.0235600751, 0.0455133021, -0.0104119005, 0.0219888967, 0.0000018088, -0.0336850919, 0.0061543258, -0.0030115861, -0.0677357763, -0.0040101255, 0.0244830325, -0.0269656144, -0.0328859687, -0.00888649, 0.0158916526, -0.0340807028, 0.0730640218, 0.0251801852, -0.0090402085, 0.0051728883, -0.019883113, -0.0518770814, -0.0150569249, -0.040880315, -0.0059977979, -0.015024743, 0.0127843982, -0.0716399848, -0.0113101033, -0.0414259769, -0.0436261036, 0.0033481331, 0.018761605, 0.0225908402, -0.0046305074, 0.0250900984, -0.0319186188, -0.0926974788, -0.0125597827, 0.0141105736, -0.046051614, -0.0189167671, 0.0045843516, 0.0115595357, -0.0057043415, -0.0218700282, 0.0067010303, 0.0283245035, 0.0110694002, 0.0273215491, 0.0174908824, 0.021728415, 0.0056401058, -0.0182086118, -0.0036369858, 0.0769592971, -0.0068046357, -0.0134217618, -0.0062560742, 0.0389214456, -0.0017623841, 0.0040234602, 0.063453503, -0.0101468237, -0.008463338, 0.004933916, 0.0034298119, 0.0252620019, 0.0133026587, -0.0521532632, 0.0548718236, 0.0139399357, -0.0774552152, -0.0169512536, -0.0446226597, 0.0413984358, -0.0388209857, 0.0176926143, -0.015034765, -0.0144253904, 0.011600228, -0.0322775729, -0.032266099, -0.0006499395, -0.0028629173, 0.0054847496, 0.0172364432, -0.0069652512, -0.0502887331, -0.0091876928, 0.0298899207, 0.0321106836, -0.0684665143, 0.021972822, -0.007870974, 0.0547417551, -0.0117593342, 0.0530093759, -0.0295255929, -0.0549598038, -0.0020360637, 0.0036694771, 0.0288419202, -0.0385277048, 0.0125539461, 0.0709592849, -0.0029846998, 0.0163697693, 0.0163177848, -0.0212542452, -0.0675622821, -0.0145852277, 0.0173400659, -0.0148473205, -0.0186984297, -0.0063114464, -0.0015840408, -0.0388677493, -0.0148215229, -0.019981252, -0.0127000194, 0.0935082734, 0.0417658277, 0.0153491637, 0.0253014285, 0.015611385, 0.0344954208, 0.0466344506, 0.0388144515, -0.0242897347, -0.0133439191, -0.0481953025, -0.0130428625, 0.0247935262, 0.0037423796, -0.0505233668, -0.0343346074, -0.0338041969, -0.0125055127, 0.0251779296, 0.076067619, 0.0390081741, -0.0060992432, -0.0645268634, 0.0539453141, 0.054879386, 0.0713941455, 0.0281663183, 0.0252979994, -0.0102222636, -0.0159777217, 0.0588494949, -0.056633871, 0.0089848191, 0.0208037253, 0.009351409, -0.0133230481, 0.0266745687, -0.021227628, -0.0292143505, -0.0127593959, 0.0009436483, 0.0287628137, -0.0263295211, 0.022746047, 0.0490787588, 0.0135207241, 0.0632065386, 0.012722658, -0.0039119232, 0.0493490323, -0.0255674515, 0.0141349873, -0.0026037146, -0.0258181207, -0.0287622865, -0.0101614064, -0.0100865168, -0.0462362207, 0.0980852246, 0.0595372841, 0.0106682181, 0.0703894272, -0.0065375809, -0.0201651081, 0.0176183991, 0.0113729695, 0.0279404465, -0.0114284698, -0.0019928138, -0.0183724631, -0.0466748774, 0.0052822526, 0.0039736237, 0.0022102054, -0.0602601059, 0.0010020483, 0.0014864107, 0.0286506396, -0.0019679118, -0.0264479984, 0.0357862003, 0.0348688401, -0.0336486697, 0.0185640249, 0.0137066282, -0.0736918002, 0.0048395712, 0.0298398137, -0.0383367501, 0.0228975266, 0.0341140702, 0.0477337018, -0.0313681997, 0.0353575498, -0.0185453966, 0.0548560992, -0.0082544098, 0.0157867465, -0.0028183789, 0.0533191077, 0.0152435349, -0.0282400921, 0.0340518653, -0.0162403807, -0.0004324975, 0.0062303888, -0.0138282627, -0.0269265696, -0.0346761718, 0.0314460322, -0.0250763148, 0.0370029621, 0.0253570341, -0.0236171801, -0.0379061066, -0.0392833911, -0.0448056012, -0.0187296029, 0.0088089583, 0.0160800051, -0.0239536278, -0.0201778803, 0.0091687599, -0.0345078558, -0.04409042, -0.0609637834, -0.0186382271, 0.0411740653, -0.0261059478, -0.0038178666, -0.0215377379, -0.029991867, -0.0345935971, -0.0089296894, -0.0016667389, -0.0159040447, 0.0299467258, -0.0804040954, -0.03180914, 0.0147246169, 0.0216292646, 0.0217480436, -0.0382226743, 0.0191548225, 0.0044523352, 0.0332239009, 0.0493779965, -0.0288804695, 0.0560890473, 0.0439775065, -0.0020990302, -0.0129134832, 0.0040437849, -0.0228340551, 0.0067141941, -0.0286455359, 0.0111168651, -0.078667596, 0.1050549522, 0.0080536017, 0.0082485909, -0.038900625, 0.0339113213, -0.0311917234, -0.0865353271, 0.0227976423, -0.0482834317, -0.0522604771, 0.044772353, -0.0423761979, -0.0141245984, 0.0442294031, -0.0474004038, -0.0514283441, -0.0631496832, -0.023615744, -0.0002288503, 0.0234418642, 0.0115659423, 0.0086628087, 0.039414905, -0.0373118408, -0.0792342797, 0.0106233256, 0.0020941964, -0.0365144908, 0.0100888796, 0.001413169, -0.0362785645, -0.0107944859, -0.0398629233, -0.0499262884, -0.0029810017, -0.0325855613, 0.0646831691, 0.0054166373, -0.0175780952, 0.0289250519, 0.029273672, 0.0038452912, 0.0277324803, -0.0114705395, 0.0027874289, -0.0340050384, 0.0568364225, 0.0480241366, 0.0832122862, -0.0004365196, -0.0041321279, 0.0004938549, -0.0349989459, 0.0280092973, 0.0677093491, -0.0243235957, 0.0682171881, 0.0685863197, 0.0072139949, -0.0044021057, -0.0141450111, 0.031354364, -0.0329073071, -0.028395867, 0.0635157228, 0.0014396564, -0.0446015298, 0.0295389872, -0.0080164401, 0.0284435693, -0.0034539429, 0.0190919843, -0.0089998972, -0.0061909864, 0.0337180644, -0.0322665498, 0.0010573353, 0.0353124775, 0.0115488674, -0.078528069, 0.0228599571, -0.0012471913, -0.0170455556, 0.0103991162, 0.0248914994, 0.0250558481, -0.0334290788, 0.0885228217, 0.0055189035, -0.0244893953, -0.0354111455, 0.0601553693, 0.0012663371, -0.0301238969, -0.0000359957, -0.0466352105, 0.0627291277, 0.0702521428, -0.0046681678, -0.038507849, -0.0508478098, 0.0230379496, -0.0202840716, 0.0083468966, 0.0174702331, 0.0168755595, 0.0518446863, -0.0491605513, -0.0029231147, 0.0282236226, 0.0020768601, -0.0146802589, -0.0541335158, 0.0566686541, 0.0260931663, -0.0460187048, -0.0047747935, 0.0337354913, -0.046739962, 0.0729081184, 0.0499889627, -0.0785229504, -0.025414763, -0.0284586996, 0.0577330142, 0.0020334569, -0.0836769342, 0.0521985404, 0.0515208691, -0.0832350627, -0.0092434194, -0.0244157892, -0.0138902254, -0.0028990759, 0.0194613375, -0.0013165374, -0.0088153696, -0.0216927901, -0.0399800912, 0.0441574119, 0.0010968747, 0.0500368662, -0.0338598825, -0.021469146, 0.0341194049, -0.0734793991, -0.0302226171, 0.0252684504, -0.0358034149, -0.072817795, 0.0679959208, -0.0262883697, 0.0280934554, 0.0489540808, -0.0429469384, -0.0703858212, 0.0720188245, 0.0462263972, -0.0802624598, 0.0329739675, 0.0572513193, -0.0017378456, -0.0169922393, 0.0269999392, -0.0411394909, 0.0386743881, 0.0058629685, 0.0191499069, -0.0120778643, -0.0707998872, 0.0250082649, -0.0583657585, 0.0761635303, -0.0209392067, 0.0379998982, -0.0191481151, 0.0026584044, 0.0556688011, 0.0533971004, -0.0064173234, -0.0613915771, 0.038439244, 0.0316404663, 0.0000298577, -0.018059697, -0.0014895306, -0.003117949, 0.0283517428, 0.0418923534, 0.0506512374, 0.0245949104, -0.0063426541, 0.0444068834, 0.0194893312, 0.0747862682, -0.0348328501, 0.0317847878, 0.029777132, -0.0317088403, 0.00581539, 0.0204372499, -0.0286614988, 0.0275694132, -0.0237711053, -0.0412823819, 0.011796535, -0.0467391983, 0.0292237718, -0.0593959764, 0.033457946, -0.0096995756, 0.0168072544, -0.0165803842, -0.0341676958, -0.0429014601, 0.0245960094, 0.0589763708, 0.0237208959, -0.0130951805, -0.0202903282, 0.0176356509, 0.0406116135, 0.0361041315, -0.0483606905, 0.0302344225, -0.0117792357, -0.0267610122, 0.0032453511, -0.0217591897, -0.0453450792, -0.0214601327, -0.0541526601, -0.0981514156, 0.029608855, -0.0087357042, 0.0542882271, -0.0306114573, 0.0048868032, 0.0073905787, -0.0152902957, -0.0179197676, 0.0564659126, -0.0489422195, 0.0225508939, -0.004227472, 0.0082971035, -6.700074619e-33, -0.0221909024, -0.002860036, -0.0291179214, -0.0019862331, 0.0095533514, 0.0223906543, -0.0151742343, 0.0191574786, -0.0336228907, 0.0169777703, -0.003997664, 0.0025797617, 0.0406406336, -0.0341056213, 0.0272934157, -0.0263351742, 0.0882755592, -0.0031096258, 0.0330417007, -0.0402482785, 0.0138323568, 0.0299667828, 0.0574062392, -0.0577911511, -0.0189963281, 0.0502997003, -0.0126886265, -0.0073199985, -0.018562302, 0.0991253555, -0.0532447249, 0.0719948635, 0.0157266129, -0.0244214293, -0.0342003778, 0.0247345082, -0.1053233072, -0.019917611, 0.0161201581, 0.0494051054, 0.0015460525, -0.0482204966, 0.1017985791, -0.0071117547, -0.0333460011, -0.0217052028, 0.0186976176, 0.0008289723, 0.0255749989, -0.0075785299, -0.0600169785, -0.0096127223, 0.0092506437, -0.0327546075, 0.0743537769, -0.0224242788, -0.009611289, -0.0057200063, -0.0410654172, 0.0087505914, -0.009600901, 0.0747298822, 0.0339983478, 0.0210972354, -0.0291951932, 0.0078001521, 0.1159157827, -0.0262936112, 0.0095984926, -0.0726842806, 0.0738513991, 0.0068944707, 0.0503685996, 0.0060723033, 0.0820844844, -0.0177382529, -0.0010263441, -0.0645988584, 0.0019011003, 0.0183695201, 0.0231116582, 0.020507196, -0.0064018331, -0.0310767014, -0.069828704, -0.0833250582, -0.0653633997, -0.0027504605, 0.0554617904, -0.0134835038, 0.034796834, 0.0290219523, 0.0516674854, -0.0361280218, 0.0051801251, -0.0176066831, -0.0003614418, -0.0085579818, 0.0018467628, 0.0242429953, -0.0253701862, -0.0073249559, 0.0339842923, 0.0130940843, 0.0142693985, 0.0337264836, -0.0158263519, 0.023272384, -0.0282265898, -0.0253197849, -0.0620502122, 0.0029642554, 0.0456745885, 0.035350062, 0.0773757771, 0.0153710032, -0.0113401599, -0.0280527789, -0.0091002295, 0.0136418855, -0.0283142161, 0.0278673526, -0.0400774889, 0.0797182322, -0.0278080888, -0.043658834, -0.0055444576, 0.0246317629, 0.0319854505, -0.0276275817, -0.0146456286, -0.0018015793, 2.761e-7, -0.0093856519, 0.0010219596, 0.0498737395, 0.002904373, 0.0511529967, -0.0000516438, -0.0303986724, 0.0158391315, -0.0029547554, -0.0119194807, -0.0436479189, 0.0186462402, 0.0784485117, 0.0313736536, -0.059913151, 0.0038149287, -0.0569838472, 0.0892652273, -0.0034123603, 0.0012854917, -0.0012427729, 0.0890362412, -0.0256730989, -0.0572320186, -0.0232918877, -0.0218932647, -0.0256965365, -0.0434858054, 0.062448442, -0.0164213646, 0.0065784827, -0.0425072908, 0.0221727174, 0.0415838957, -0.0138796214, 0.032319285, 0.0092290286, 0.0108945901, -0.0112693934, -0.0189860482, -0.0194074064, 0.0383355506, -0.0342829376, -0.0392675288, 0.0149330869, -0.0223035403, -0.0176747888, 0.0061644241, -0.0026843513, -0.0079322718, 0.0227736849, -0.0124329822, -0.0147195896, 0.0071642757, 0.0080305953, 0.0053033554, -0.0215705577, -0.0255517066, -0.0214803368, 0.0162478425, -0.0551428385, -0.0026005364, -0.0263179373, 0.0173185207, 0.0198367089, -0.0157326404, 0.0043988288, 1.819649987e-34, 0.0050690104, -0.0206318833, 0.0380478576, 0.0218994394, -0.0155444499, -0.0251596216, 0.019565491, 0.0506204516, 0.0202316809, -0.0353741162, -0.0643275529 ]
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.0158605147, 0.0446859784, 0.0157874543, 0.0213982146, 0.0144126881, 0.0192840714, 0.0124989469, 0.0418313779, 0.0250215046, -0.0732006282, -0.0131327119, -0.0684458762, -0.026998939, 0.0109418891, 0.015360632, -0.0310636889, 0.0273601208, 0.0125825079, 0.0106503302, 0.0025207479, -0.0182041246, -0.001163274, -0.030208081, 0.0276866145, 0.024551088, -0.0304184854, 0.0094695054, -0.014788067, 0.0193588138, -0.0668954849, -0.0291879401, 0.0532654338, -0.0184095576, 0.0266442299, 0.000001856, -0.0636425093, -0.0093415184, 0.0318318233, -0.012722061, 0.0004570136, -0.0260458458, -0.0189093333, 0.0082263211, 0.0220227595, -0.0140212746, -0.0362018533, 0.0333713889, 0.0592002831, 0.0422703624, 0.0483893119, -0.0138029344, -0.0207928568, 0.0750841722, 0.0081416648, 0.0590278469, -0.0281153768, 0.0545292981, 0.0215097442, 0.0304828193, -0.0339027494, 0.0284299869, 0.0429663397, -0.013366513, 0.0263847224, -0.0183270555, 0.0549373627, -0.072028093, -0.0353006609, 0.0104783177, 0.0450241789, 0.0515523031, 0.0081430366, 0.0237963796, 0.0188711397, -0.0347411595, 0.0414599329, -0.0398390032, 0.0026880859, -0.0473098159, -0.0023835741, 0.0373855606, 0.0203217845, 0.0432713106, -0.0369554237, -0.0390166603, 0.0548966415, 0.0128353704, -0.0236531198, 0.03308741, -0.0201732367, -0.0132546257, -0.064248234, 0.0225077476, 0.0255667344, -0.0289975349, 0.0040850146, 0.0020806787, -0.0162721146, 0.0678511262, -0.0461641848, -0.0073402333, 0.0199743677, 0.0109370733, 0.0127875507, -0.0239808951, -0.0026445969, -0.0284567438, 0.0615156442, -0.0284793172, -0.0430479683, -0.0891437829, -0.01582513, -0.0158910844, 0.0044040224, 0.0292610265, -0.0023270119, -0.0985570624, 0.0198177807, 0.0218359046, -0.0110476846, -0.0035544578, 0.0229772963, 0.0232267901, 0.0257290825, -0.0348730795, -0.010657358, 0.0149031738, 0.011859607, -0.0301883575, -0.0124826487, 0.0143567268, 0.0190120786, 0.0027662215, -0.0301071052, 0.0198021382, 0.0782784671, 0.0291081294, -0.0391636007, -0.0482105315, -0.0243712291, -0.0423580073, -0.0232678987, -0.0234085973, -0.0469281077, 0.0028059788, 0.0601803437, -0.0006732547, -0.0579676181, 0.0241496805, 0.0102609936, -0.0106238397, 0.0721524432, -0.0819630101, -0.0079553407, 0.0210326612, 0.0362284929, 0.0168411974, 0.0295230895, 0.0405309089, -0.0213930607, 0.035969425, -0.0075156442, 0.0184120908, 0.0059421165, 0.0165852979, -0.0181102809, -0.0213222727, 0.0285913274, 0.0261356197, 0.0459085479, -0.0320795998, 0.0579229295, 0.019059848, -0.0282324236, 0.0454069935, 0.085954234, -0.0071685733, 0.0295234174, -0.0107114632, -0.034327738, 0.0131764673, -0.0374469049, 0.03091098, 0.0053438493, -0.0223466959, -0.0030779701, 0.0435625091, -0.0187304392, -0.020553641, -0.0299882367, -0.0820699185, -0.0044564959, -0.039876245, 0.0211305264, 0.0313984044, -0.0596945174, -0.0101586273, 0.0889234841, 0.0090280809, -0.010119549, -0.014069817, -0.0517037548, -0.0030679947, 0.0544746183, 0.0207020305, -0.0430529341, -0.0240895767, -0.0338152424, 0.0224553291, 0.0324705727, -0.0348277092, -0.009376944, 0.033701513, -0.0082295472, -0.0031002704, -0.0037826924, 0.016218856, -0.0649600998, -0.0330978967, 0.0313135721, -0.0177144427, -0.065745838, -0.0021398149, 0.0403622426, -0.0586150065, -0.0233451929, -0.0015503066, -0.0138620958, 0.0185452346, 0.0101556545, -0.0209150705, 0.0153932823, 0.0196073428, -0.0434871316, -0.0677775815, -0.0164341982, -0.0007350617, -0.0287309289, 0.0221897177, 0.0261275154, 0.0033282447, -0.028279392, -0.0218367223, -0.0272662621, -0.0229837317, -0.0373377465, 0.0518489853, -0.0280008577, 0.0057232562, 0.0286161955, 0.0278842822, -0.0474261902, 0.0369852632, -0.01598363, 0.0233715232, 0.0207254179, -0.0526188351, 0.0573739409, -0.0485116318, -0.0489060469, 0.0248883385, -0.0134367375, 0.0123143317, -0.0371098183, -0.0388249494, -0.0174154975, -0.0077739051, -0.0896616131, 0.0118307546, 0.0044264477, 0.0327885114, 0.0378646217, 0.0228601508, -0.0251949113, 0.0053608571, -0.030402381, -0.0336840786, 0.0273007806, 0.0358260795, 0.0517276749, 0.0415517651, -0.0157512948, -0.0234536529, 0.0103630973, -0.0719565004, 0.0511833653, -0.012821083, -0.0080892611, -0.0293165296, 0.0240469798, -0.0744674578, -0.0047699567, 0.0152060129, -0.0006357072, 0.0094668129, -0.0085648187, -0.0188438017, 0.0274341032, 0.0058208373, 0.025191104, 0.0441435426, -0.0314307362, -0.00441377, 0.0042141285, -0.0199744292, -0.0272406917, -0.018733006, -0.0497882031, 0.0090864412, 0.0891759545, 0.0520820618, -0.0049680043, -0.0225596707, 0.0007101766, -0.0107743489, 0.0292732064, -0.0433817692, 0.0105942134, -0.0179159697, 0.0788607746, -0.004148189, -0.0371586196, 0.075482741, -0.0232632402, 0.039618779, -0.0240909923, -0.0409828573, -0.066352278, 0.0297026243, -0.0142712295, 0.0262063835, 0.0130437203, 0.0023725198, 0.0101935035, -0.008139845, -0.0182977356, -0.033152923, 0.0457992814, -0.0312816985, 0.0534804501, 0.0033975006, -0.0242811963, -0.0514888167, -0.0314764716, -0.006265963, 0.0121930242, 0.0041211424, 0.0054480708, -0.045975484, 0.0555029064, 0.0056029931, 0.0500984937, 0.0245610327, -0.0468585044, 0.0119181806, 0.0449752025, 0.0151274456, -0.0212289356, 0.0313333385, -0.0240480341, 0.0404769033, 0.0824011639, 0.0126580009, 0.0312322192, -0.0223110337, -0.0208072755, -0.008208286, -0.0831822678, -0.038151864, 0.0415183082, 0.0302815326, -0.030899087, -0.0009949417, 0.1389416456, 0.0419723466, -0.0480984598, 0.0043290006, -0.042336382, -0.0187496617, 0.0129037946, 0.0145617919, -0.0831678584, -0.0361776277, -0.0464109592, 0.0424364544, -0.0016873234, -0.0472205542, 0.00906891, -0.0005715605, 0.0213234928, -0.0292466916, -0.037241742, 0.0055023655, -0.0590414777, 0.0166470427, -0.0182327107, -0.0133812185, -0.0186403748, -0.0278407, -0.0110752862, 0.0171681754, -0.0463724136, -0.0648604929, 0.0604840852, -0.0206329897, 0.0636245832, 0.0219373126, 0.0271952171, -0.0246465188, -0.01784027, -0.0275546927, -0.0420150906, -0.0139969653, -0.0025251689, 0.0481874608, 0.0111233294, 0.0169283096, -0.0268742908, 0.0296829622, -0.0810946003, -0.0254068077, 0.0051939799, 0.0990635082, -0.0657553822, -0.0331516899, -0.054629676, 0.0288539864, 0.0172270294, 0.0595769621, -0.0194505416, 0.0100927716, -0.0236262288, 0.0165612306, 0.0021184378, 0.0330599882, -0.0369453207, 0.0355165824, 0.0051899818, -0.0220153164, -0.0335451663, -0.0190156829, 0.0154773686, -0.0175066013, 0.0006444596, 0.0661699176, 0.0300812256, -0.0081284121, -0.0471051559, 0.0394078232, 0.0338230021, -0.0054378281, -0.0369993299, -0.01389354, 0.0798195302, 0.0193879642, -0.0166607592, -0.0092865285, -0.0348728485, -0.0134472987, -0.0134602701, -0.0007308284, 0.0224517025, -0.0323189683, 0.0014963391, -0.0268085692, 0.05626202, 0.0790955126, -0.0116787655, -0.0069995839, -0.0220582727, -0.0074762753, 0.0122448951, 0.0087126819, -0.0010348437, 0.0372448042, -0.027275946, 0.0103279669, -0.0375190824, -0.0552253537, 0.0118408939, 0.0248838272, 0.0363402069, -0.0138787841, 0.0064609931, -0.0014822853, 0.0066167368, -0.011222343, 0.0414441675, 0.0016991722, -0.0247869417, 0.0157067347, -0.0345917456, -0.0357478783, 0.0143352579, -0.0840823725, -0.046632342, -0.0730375648, 0.0430302061, -0.0341563672, -0.0429424457, 0.0246136095, -0.0248540118, 0.0171900392, 0.0109759811, 0.0370557494, 0.0471826419, 0.0068314178, 0.0763050839, -0.0047797789, 0.0298143923, 0.0129587119, 0.0459503233, -0.0588323697, -0.0554964952, -0.0095550185, -0.016103087, 0.0251664743, 0.0210739188, 0.0292778891, -0.0084504336, 0.0113330372, -0.0196110811, 0.0400508828, 0.003221795, 0.0079534566, 0.0690155625, 0.0190781821, -0.0268765409, -0.0063496353, 0.0954914317, 0.0454026684, 0.0308303013, 0.0217327233, -0.0876239389, -0.0414251946, -0.0600923449, 0.0173359234, -0.016046416, -0.0655634925, -0.0055243229, -0.0640986562, -0.0807395205, 0.0575271286, -0.0250407811, -0.0138245123, -0.0118100354, 0.0122141456, 0.0257748663, 0.0293010361, 0.0070645339, -0.0117166499, -0.0015015053, -0.0228127204, -0.0205971263, 0.0147514744, -5.979616703e-33, 0.0021117355, -0.0329089463, 0.0382736474, 0.0050050765, 0.0249735825, 0.0266086608, -0.045564387, 0.0351771712, 0.0240184013, 0.0118160946, -0.0175750647, 0.0006050518, 0.0002175187, 0.0278173015, 0.0284383949, -0.0475365184, -0.0158656258, 0.0035769942, -0.0151294237, -0.0041564694, 0.0215397496, 0.0250002239, 0.0688352436, -0.1032330245, 0.0336510167, 0.0178833771, 0.0194264967, 0.0125206793, -0.02447531, 0.0696392953, -0.0562608577, 0.0550309606, 0.0418213867, -0.0080050016, 0.0059256526, -0.0328074954, -0.0270592235, -0.0039494215, 0.0182658546, -0.0496405438, -0.0491669588, -0.0057040108, 0.0679857209, -0.0077314349, -0.0025257319, 0.008345847, 0.0569724962, -0.0529120974, -0.0105531635, -0.0643327609, -0.011714356, 0.0367560461, -0.015090772, 0.0083470801, -0.0255655963, 0.0289627053, -0.0478033759, 0.0583111495, -0.0447992347, -0.0347977355, 0.0080640418, 0.032132417, 0.0246389378, -0.0356116071, -0.0025448196, 0.0860343054, 0.0099599138, -0.0237435289, -0.0554576814, -0.020675173, -0.0196811259, 0.044599209, 0.0324321464, 0.0387757756, 0.0157784205, 0.0145679135, -0.1243747175, 0.0263126828, -0.021923162, 0.0181723256, 0.0642149448, -0.0157182254, -0.0301672984, -0.009120103, -0.0249006785, 0.0331116579, -0.0280854162, -0.0176279303, 0.0207247157, -0.0371915922, 0.01532262, 0.0435782634, 0.0326242149, -0.0077331988, -0.0257065371, -0.0335511379, 0.0103319194, -0.0046151327, 0.0090536065, 0.0156058474, -0.0552440435, -0.0115268286, -0.0110107968, -0.0279427152, 0.0558879934, -0.0003467337, 0.0016159253, -0.0160574038, -0.0457699075, -0.0214550216, 0.0037606817, -0.0200028028, -0.0183444023, 0.0210073665, 0.007016086, 0.011634158, 0.0092163207, 0.0493337438, 0.0127157792, 0.0083453786, -0.0024994151, -0.0483654328, 0.0463470593, 0.0027714013, 0.0117538907, -0.0121939499, -0.0410727784, 0.016888788, -0.0099317515, -0.0605651774, -0.0120827304, -0.0168573149, 2.707e-7, 0.1142667085, 0.0604212359, -0.012568119, 0.0318081379, 0.0414157994, 0.0094873048, 0.0043413686, 0.0155073656, 0.0211125277, -0.0329765864, -0.0000028378, 0.0304350294, 0.0227344688, 0.053901244, -0.0456648059, -0.040491648, -0.075633578, -0.0012143293, -0.0353752449, -0.0163332988, 0.0853111073, 0.0432401039, -0.0155719332, -0.0194860026, 0.0248393007, -0.0082383603, 0.0757083222, -0.0317260921, -0.0075451005, 0.0827313066, 0.0129340021, 0.0430480577, 0.0273097269, 0.0867042542, -0.0147853279, -0.0323166288, -0.001379532, 0.0380972177, -0.0558481067, -0.0105239926, 0.0387834758, -0.0380198061, 0.0430801064, -0.0278380383, 0.0781044289, -0.0303756893, -0.066361174, 0.0473533534, -0.0194281768, -0.047648184, 0.0960970074, -0.0438677445, -0.0135789709, 0.0193411764, -0.0022336051, 0.0041909982, -0.0137451543, -0.0318783931, -0.0127308741, 0.0412076414, -0.030084528, -0.024906829, -0.0001347427, -0.0357106812, 0.0028238255, -0.0680239797, 0.0312522575, 2.697707878e-34, 0.0073133986, 0.0396335609, -0.0347714759, 0.0122779002, 0.0139914285, -0.0094865263, 0.0804607794, -0.0134653989, -0.0195140503, -0.0716060326, 0.0042986902 ]
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.0044031725, 0.0457178727, -0.0035337214, 0.0125447195, -0.0374474563, 0.0166001394, -0.0024000199, -0.0292490292, -0.0317455046, -0.0577973947, -0.0372110941, 0.0172571149, -0.0289661549, 0.0141293742, 0.0231896229, -0.0922171623, 0.0222840551, -0.0188486427, -0.0099580158, 0.0050149476, 0.0101182191, -0.0003357659, -0.0201495253, 0.0460571945, -0.0410414636, 0.0487321988, -0.0140120424, 0.0014911378, 0.0987868309, -0.0251292568, -0.0008437673, 0.0112039167, 0.0678653792, -0.0687849075, 0.0000019084, -0.0169224646, 0.05706596, -0.0423403718, 0.0220867079, -0.0324881673, 0.0553315207, -0.0001219636, -0.0153318122, -0.0044587669, -0.0440525115, 0.0206762366, 0.0185140222, 0.0409173407, 0.0557325222, 0.0092240972, -0.0291812997, 0.0034358234, -0.0158342719, -0.0164917726, -0.0057409494, -0.0536310896, -0.011915938, 0.0658073649, -0.0062937648, 0.0241853856, -0.0445670225, -0.0061434554, 0.0236410052, -0.009242828, 0.0133119542, 0.0472491682, -0.0187018737, -0.0372875854, -0.0301539525, 0.0791137367, -0.0337233096, 0.0126347709, 0.0040148692, -0.013463906, 0.0355289243, -0.0306984298, -0.0072834017, 0.0205394141, -0.0102536865, 0.0277003143, -0.062198855, 0.0520292968, 0.0010368676, 0.0358833522, 0.0246322993, -0.0074688252, -0.0131539088, 0.0386927128, 0.0516950414, 0.0178004764, -0.0553183183, -0.0176895093, -0.0128968759, 0.0231697336, -0.0283657964, -0.0034729431, -0.0263700467, 0.0798753947, -0.0040105311, -0.0808418691, 0.0542038232, 0.0522096641, -0.0333047472, 0.0582188852, 0.0090160565, 0.0569905899, -0.0194057692, 0.0257493611, -0.0167260077, 0.0305151287, -0.0057233255, 0.0071747922, 0.0093956571, -0.0425073057, -0.0845536143, -0.0419186428, -0.0335163139, -0.0035199721, -0.0662815273, 0.0219554324, -0.0354400687, 0.0694395304, -0.0000072039, 0.0062590572, -0.0697136298, 0.0202059373, -0.0249195714, 0.0206619538, -0.0120818745, -0.004601798, 0.0691131577, -0.0002379278, 0.0153111815, -0.0185210183, 0.033035215, 0.0627255663, -0.0240531359, -0.0148270326, -0.0440388471, 0.0142128542, 0.0328113139, -0.048998002, 0.0270376243, -0.0114690484, 0.0001453386, -0.0432590023, -0.0229947846, -0.0366234705, 0.026916841, 0.035509184, 0.0219722986, 0.0800745711, 0.042630516, -0.0130653214, 0.0040227701, 0.0083722137, 0.0129646426, 0.0377679467, 0.0093605854, 0.0896642432, -0.0027151955, -0.0323715173, 0.0112072825, 0.0097878808, -0.0152232358, -0.0154574299, -0.1067864373, 0.0091179609, -0.0099817608, 0.0466950722, 0.0375140719, 0.0364726372, -0.0551388897, -0.0027141236, 0.0790373161, 0.0260460693, -0.0244492088, -0.0292343386, 0.0153226452, -0.0262195542, 0.0006513075, -0.0468837768, -0.0549753867, 0.1037939191, 0.0146982772, -0.026858544, -0.0493942462, 0.0384701192, -0.0167372264, -0.0350172855, 0.0045774058, -0.0197586659, 0.0371970348, 0.0170094911, 0.015083869, -0.0454243384, -0.0161653534, -0.0864951238, 0.0003042177, -0.0180401392, -0.0126101887, -0.0178105589, 0.0162040815, 0.0951311067, 0.0217717458, 0.019727787, -0.0104266843, -0.0320643298, 0.0076897205, 0.003534253, 0.0382722877, -0.0208961703, 0.018550599, -0.0486976951, -0.0553229377, -0.0121051641, 0.000450621, 0.015902305, 0.0021119977, -0.016129924, -0.0328804664, 0.0184141621, 0.0124401944, 0.0136394594, 0.0196872298, 0.0144242151, -0.0308433641, 0.020054752, 0.0015736435, -0.0250995103, 0.0016597348, -0.0012728821, -0.0272590034, -0.0054975939, 0.0007316525, 0.0251252707, -0.0316107124, 0.0259771962, 0.0189969297, -0.0878932476, -0.0164199248, 0.0228387602, -0.0085273143, 0.0342017412, -0.0248763412, -0.012597559, -0.0778951719, -0.0612916462, -0.0304022003, -0.0006044821, 0.0171963535, -0.0265416037, 0.055810485, -0.0482314713, -0.0314224102, -0.0042975475, 0.0006730964, 0.0133025488, -0.0267605279, 0.0100507438, -0.007329016, 0.0168466736, 0.0723642707, 0.0340506323, 0.0335787572, -0.0001144373, 0.0294606239, -0.0763495341, -0.0530011952, -0.0016724889, -0.0465410426, -0.023235606, -0.0484176874, -0.0058663525, -0.032092236, -0.0139802787, 0.0640145242, 0.0190191604, 0.0130012883, 0.0311736241, 0.0042306799, 0.0267193019, -0.0231625028, 0.0079257889, 0.0140979225, 0.0230098385, 0.0558175072, 0.0184488185, -0.0122719863, -0.0010920354, -0.0323375165, 0.0400399677, -0.0184008535, -0.0312606767, 0.0159491543, -0.0088183116, 0.0347142853, 0.0843363181, 0.0382752381, 0.0702259466, 0.0303538125, 0.0308377929, -0.037679676, 0.0025330263, -0.0315288529, 0.0390726887, -0.0500548407, 0.0188635532, 0.0049076863, 0.0223080628, -0.0326617807, 0.0372875407, -0.0623466112, 0.0533138141, 0.0045685889, -0.0805682093, -0.0541586429, 0.0171168707, -0.0149545474, 0.0710233748, -0.0058951857, -0.0534143671, 0.0330907814, 0.0423388183, 0.0049352255, 0.0468007885, 0.0199794471, -0.01955631, 0.0596833862, -0.0089387866, 0.0258445572, -0.0397868864, -0.0001648592, -0.024504561, -0.0557734109, 0.0135208191, -0.0079581551, 0.0612504221, -0.0668767765, -0.029386133, -0.0126422206, -0.0402431116, -0.0184672177, -0.0009103983, -0.0607592762, 0.0167420916, -0.0380304717, 0.0063881408, -0.0151716787, -0.0148843052, 0.0415620245, -0.023988612, -0.0127776163, -0.026244022, 0.0045510908, -0.0213232934, 0.05456369, 0.0145480866, 0.0035100665, -0.0344659388, -0.0046668109, 0.0577697679, 0.02283662, -0.0233731717, -0.0640116408, 0.0705883503, 0.0125679234, 0.0334668793, 0.0237464812, 0.0429502577, 0.0360961258, 0.0112980846, 0.0073440378, 0.0493541583, -0.0145251984, -0.0291497782, 0.0085797329, -0.0461707972, -0.0007857036, 0.026895022, 0.0247462466, -0.0385848135, -0.0580483973, -0.0175970066, -0.0022406362, 0.0076182419, -0.0426596403, 0.0191755742, -0.0511524379, 0.0773838311, 0.0057344874, 0.0024799621, -0.0309066158, 0.03899654, 0.0117531344, -0.0497419797, -0.0045458879, -0.0044445111, 0.0006194477, -0.01284099, 0.0080897277, 0.0337277427, -0.0351607464, 0.0570356399, -0.0407224968, -0.0306689721, 0.0788600072, 0.0288018677, -0.0059074895, -0.1110486388, -0.0257397033, 0.0417909622, 0.0357040279, 0.0071451487, 0.0132665485, -0.0543807, -0.0243029241, -0.0294395071, 0.0515514202, 0.0238980297, -0.0377856418, -0.0451454557, 0.0316895209, -0.0550125204, -0.0059791901, -0.0542281903, 0.0149773294, 0.0240668505, 0.0022027469, -0.0166669339, -0.086351119, -0.0676698834, -0.0111089433, -0.0278965849, -0.0437891223, -0.0934302807, -0.017465461, 0.0215596911, -0.023497628, -0.0545553528, -0.022160504, 0.0453849696, 0.0707507879, -0.0055451635, -0.1034516618, -0.0036906609, 0.0562975109, -0.0331595317, 0.0267610885, -0.0045097326, 0.0676679909, -0.006321189, 0.0568044558, 0.0091118943, -0.0454569273, -0.0218576863, 0.0010880212, 0.0031329046, -0.0079963747, 0.0048988536, 0.1119782329, 0.0226790383, -0.0169559531, 0.0390547551, -0.0511548594, 0.0114273829, 0.0271000788, 0.0284441821, 0.029945137, 0.0256551467, 0.0156810526, -0.0173507892, 0.0141735589, 0.0111315921, 0.0368695743, -0.0038460607, 0.0076505924, -0.0020520862, -0.0160181243, -0.0082065156, -0.0461595766, 0.0301682595, -0.040701963, 0.0128269112, -0.0226431545, -0.0331701785, 0.0228562839, -0.003205525, -0.0672282204, -0.0116262585, 0.0255389754, 0.0175675247, -0.000496288, -0.0645662546, 0.0166395325, -0.0149485096, 0.000368403, -0.0072364663, 0.060301438, 0.046298109, -0.0264247507, 0.0262817424, 0.0108804535, -0.0032283245, -0.0452567786, 0.0439316779, 0.0135978162, 0.0794471279, 0.0286420453, -0.0157523174, -0.008898126, 0.0440998301, -0.0120413238, -0.0154724279, -0.0094292397, 0.0114884442, 0.0342026539, 0.0307554957, -0.021547975, -0.0486270636, -0.0171343554, -0.0171271637, 0.0281860586, 0.0006336191, -0.039685946, 0.049829036, 0.0244961623, -0.0044881273, -0.0370087922, 0.0050192182, -0.0115709146, 0.0053421049, -0.0428312346, -0.0272432808, -0.0271769334, -0.0174689814, 0.0175889377, -0.0150205912, -0.0050187162, 0.0159662347, -0.1005893573, -0.0328871869, -0.0015894187, 0.0995566696, -0.0026988704, -0.042378366, 0.0246381126, 0.0330976918, 0.0022741091, 0.0125861, -0.0405632369, -0.0207150131, -0.0540384464, 0.0507842824, -0.0443080477, -5.323188331e-33, -0.0031399063, -0.0177716669, 0.0542956777, -0.0585918091, -0.0066908444, -0.0160868019, -0.0093625952, 0.0118009644, -0.0045845392, 0.0444767997, 0.0234437324, -0.0415119007, -0.0171509106, -0.008583107, 0.0511320569, -0.0177726895, -0.0036056919, 0.0023916899, -0.0383444428, 0.0006195424, 0.0255196746, -0.0328985788, 0.0157992039, -0.0536266081, -0.0277788192, 0.0601730496, -0.0664946735, 0.031394884, 0.0132894134, 0.0555489399, -0.0237387754, -0.0100097246, 0.0217499603, -0.0270046853, -0.0276115686, 0.0413670652, -0.0412446968, -0.0065899608, 0.0277099125, -0.0083063347, -0.0612995774, 0.0120479986, -0.0268361419, -0.0111575769, -0.0271126833, -0.0222926475, 0.0224574469, -0.0299625061, 0.0073480997, 0.0069493176, -0.0246542003, -0.002494884, -0.0152547071, -0.0338395461, 0.0336030312, 0.0431897976, -0.0087359501, 0.04407515, -0.02516881, 0.0500304103, -0.0593882687, -0.059221264, 0.062174391, 0.0194473006, 0.0115446243, 0.0872002617, 0.0196409654, -0.0270184502, -0.0562122464, -0.0135096563, 0.0104863681, 0.1204697937, 0.0053824927, 0.0719715953, -0.0366013572, -0.0107851988, -0.0313670337, 0.039933458, -0.0442638472, 0.0573010892, -0.0019326268, 0.0376859866, -0.0032102049, 0.0116228545, -0.0041560978, -0.0460466631, -0.0225975309, 0.0055474588, 0.0441841558, 0.0042403252, -0.0114018107, 0.0867462531, 0.0659348965, -0.0125832101, 0.0156071549, 0.0334712714, 0.0053923046, 0.0577170141, 0.0170700774, -0.0001387604, -0.0370713733, -0.0183139034, 0.0449645035, -0.0192125738, 0.0117101166, 0.0075402865, -0.0017759443, 0.0362661406, 0.0161495656, -0.0204255618, -0.0401152, 0.0117743183, -0.010862425, -0.0061649317, 0.0307345297, 0.0035055389, -0.0313182026, 0.0110530434, -0.0453113057, -0.0229565166, -0.0057703052, -0.0511467122, 0.0081604263, 0.0429540947, 0.0001842984, 0.0178751238, -0.0666101128, -0.0162641685, 0.011211508, -0.0210534111, 0.0162257608, 0.0628238171, 2.489e-7, -0.018335823, 0.0040959078, 0.0338544585, -0.0178081915, 0.0033627958, 0.1034773812, -0.0152987624, 0.0577848256, 0.0054033208, -0.0169208273, 0.0480898954, 0.0404589251, 0.0356472768, -0.0153646441, 0.0177867245, 0.0395677686, 0.0322983526, -0.042146232, -0.0325515233, -0.0056793173, 0.0207597222, -0.0027814659, 0.0036635094, -0.0262696669, 0.0836238191, 0.054967992, 0.069857873, -0.0448904559, 0.0034031724, -0.0769428834, 0.0049484754, -0.026990708, -0.0261445455, -0.0186562762, -0.014449141, -0.030624941, 0.0164766572, 0.0647486225, -0.0330372602, -0.052508831, -0.030539332, 0.0109502226, -0.0202100649, -0.0041553378, 0.0399976969, -0.0509504825, -0.02767618, -0.0301766749, -0.0336445794, 0.0154570062, 0.004108543, 0.0151107758, -0.0497331731, -0.0200447682, 0.018644575, 0.0192985572, -0.0234182831, -0.0625596568, 0.0153014762, -0.014583881, -0.026411023, -0.0134077817, -0.0150666805, 0.0513298288, 0.0318392962, -0.0153800221, -0.0730378553, 1.33537708e-34, 0.0113882506, 0.0151722394, 0.009845865, -0.0291338991, 0.0402357988, 0.0301772971, -0.0194957219, 0.0194561202, 0.0356424823, 0.0139450766, 0.008751248 ]
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.0553058945, 0.0716952756, -0.0194240864, 0.0218589678, -0.0562286451, -0.007903764, -0.0100059984, 0.0064376034, -0.0342836678, -0.0319373086, 0.0107953986, -0.0380506106, -0.0078006, -0.0356143527, -0.0160631519, -0.0451214537, 0.0202399977, -0.0038301931, 0.021205049, -0.050493259, 0.0121927159, 0.009968888, 0.0326874889, 0.0394617133, 0.0517891757, 0.0144655658, 0.0002947659, -0.0304855555, 0.020572057, -0.0056252941, 0.0035643831, 0.0391259044, 0.0029531179, 0.0215950664, 0.0000020319, -0.0534698218, -0.0084970631, -0.0136927795, -0.007793345, 0.0617177412, 0.077754356, 0.0129599515, 0.0131097892, 0.0217659697, -0.0253868178, -0.0050398884, 0.0219248105, -0.0010295605, 0.0151614314, -0.0020850734, 0.0085244412, -0.0409524478, 0.0233052392, -0.032587111, 0.020855559, -0.0416534506, 0.0356871635, 0.0380421989, -0.0171332974, 0.0399032161, -0.0348853469, 0.0334222876, 0.0362188779, 0.0191009026, -0.0601452142, 0.0126790181, -0.0375919342, -0.0318217352, 0.0374893025, 0.0683127418, 0.0151142422, -0.0277006589, 0.00211553, -0.0246714111, -0.0043050074, 0.0679029524, -0.0556753241, 0.0366764665, 0.0099561149, 0.0092030223, 0.0770822763, -0.0244857483, -0.0056604855, 0.033566229, -0.0276323333, 0.0645378977, 0.0374079756, -0.0199672505, 0.0071577346, 0.0049708509, -0.0612130314, -0.0622913949, 0.0107097859, -0.0061553814, -0.0072552632, 0.0443669334, -0.012366984, 0.0049717743, 0.0636689588, -0.053031031, 0.020356562, 0.0399748869, -0.0276085827, 0.0393273681, 0.049681291, 0.0344151258, -0.046517916, 0.0216265339, -0.0517391302, -0.0139706163, -0.0130885979, -0.0051162848, 0.0188853666, 0.0078999829, -0.0092701977, 0.0224350039, -0.0480188392, -0.0170668885, 0.0009161713, 0.0046702554, -0.0327717364, -0.0161544625, -0.0203611739, 0.0046927119, -0.0553395897, 0.0964759067, -0.0623702072, 0.0435532592, -0.01162811, -0.0308593959, 0.0336723775, -0.0063194432, -0.0004025926, -0.0279862788, 0.0280617662, 0.0219137464, 0.0043376856, 0.0221889913, 0.0244221594, -0.02269293, -0.0529254861, -0.0569231175, 0.01779861, -0.0890310258, 0.0334977731, 0.0244790949, -0.0026762453, -0.0320772454, 0.01692787, 0.0391395427, -0.0350768007, 0.034908399, 0.0563157573, 0.0292453282, 0.0130958203, 0.0044501559, 0.0419635959, 0.049957145, -0.0045718639, 0.010554201, 0.0528229438, -0.0166389812, -0.0309852902, 0.0430236012, -0.0066339797, 0.0503780656, -0.0414969549, 0.0574448854, 0.0534710698, 0.015784977, 0.0202932321, 0.0705371946, -0.0176462084, -0.042433653, 0.0737628192, 0.0849169716, -0.0361942872, 0.0153931212, 0.0230571702, 0.0215610266, 0.0365630351, 0.036707934, -0.0205096379, -0.0247205906, -0.0207882468, 0.0022284014, -0.0025579624, 0.0205360316, -0.0183892641, -0.0519464016, -0.0190708973, 0.012802762, 0.0125815785, 0.0219045207, 0.0272922907, -0.0618399605, 0.0077196383, 0.0370849445, 0.0081943376, -0.0392153785, -0.018841764, -0.0237920638, 0.0441189334, 0.0022156266, 0.0260253809, 0.0059040994, -0.0459113568, -0.0065232511, 0.0380795151, 0.0429737195, 0.0716722459, -0.0066187698, -0.0250862669, -0.0099194134, -0.0045091645, 0.0001863092, 0.0173847228, 0.0086574852, -0.0015806286, 0.0328224711, -0.0001808989, -0.0629204363, -0.0100540519, 0.0152260661, -0.0320178084, 0.005148665, -0.0386071056, -0.0190511458, 0.0606587976, 0.0117630688, -0.0159926601, 0.0196710359, 0.0048396243, -0.0439143814, -0.0126075363, -0.0071239555, -0.0530490428, 0.0304783564, 0.0494854189, -0.0145184128, -0.0064544207, 0.0336786285, -0.0232373327, 0.0010964994, -0.0116865449, -0.0064947489, 0.0167559143, -0.0386398025, 0.028431097, -0.0681883544, 0.0045056823, -0.0559715889, 0.0313470997, -0.0233438239, 0.0569449551, -0.0151338913, -0.0220278967, 0.0448329635, -0.0153290387, -0.0403066166, 0.0317172632, 0.0255285297, 0.0337456502, 0.0485463217, -0.0009519339, -0.0499829575, -0.0429169051, -0.0768965855, 0.0161220878, -0.0212225504, -0.0028009508, 0.0469297022, -0.0135324011, -0.0108255995, 0.0346404947, -0.0490925834, -0.0246738698, 0.0273982119, 0.0611898415, 0.0187613238, -0.0131037831, 0.0146139888, -0.0388198644, -0.0260737538, -0.0312296711, 0.0131013757, -0.0095485169, 0.0349293575, -0.0229046624, 0.0239965506, -0.0894541219, -0.0280899778, -0.0171006992, -0.0406483226, 0.0083584376, 0.0284092221, 0.0517702401, 0.050286226, 0.0170694105, 0.0105052534, 0.0502691604, 0.0086231139, -0.0810899064, -0.0439893492, -0.0323748402, -0.0585303903, -0.0245550927, -0.0688917711, 0.0090905447, 0.0697779581, 0.0331132598, -0.0088780876, -0.0195850432, 0.0338893794, -0.0768427923, -0.0119713042, -0.0293187145, 0.0017583992, -0.0168571007, 0.0570745356, -0.0086074937, -0.0319610052, 0.0389491692, -0.0010650812, 0.0377022289, -0.0593986511, 0.0121263862, -0.0435259826, 0.0407517478, -0.0036586921, 0.0254043266, 0.000558867, 0.0018892887, -0.0850919485, -0.0270313844, 0.0172053911, -0.0676946193, 0.0740210861, -0.0438430868, -0.0109679289, -0.011551124, -0.0443832465, -0.0086396821, -0.0725130811, -0.0143630104, 0.0290705226, 0.0203678943, 0.0132767679, 0.0204926897, -0.0056459741, 0.0298947915, -0.0300360937, -0.0197011642, 0.0109207155, -0.0125521803, 0.0380063504, 0.0793198273, 0.0126426993, 0.0329623371, -0.0343323387, 0.0251152385, 0.046891924, 0.0177672617, 0.0439847298, 0.0122590968, 0.0115663223, 0.0372809879, -0.0336646773, -0.0235177297, 0.0238132235, 0.0688859001, -0.0254841782, 0.0202316605, 0.0944291428, 0.0242020544, -0.0274322424, -0.002508865, -0.0609770752, 0.0285575483, 0.0325940885, 0.0279150996, -0.0843226016, 0.0174280684, -0.0063297595, 0.0029859273, -0.0296355672, -0.0253094509, 0.0013051679, -0.1243106127, 0.0134582408, -0.0008296157, -0.0341557041, 0.0297442917, -0.0297969189, 0.0261599422, 0.0071330015, 0.0507494844, 0.0200984143, -0.0018982778, 0.0120230215, 0.004135971, -0.0183063745, -0.0480292775, 0.0545556881, -0.0404765196, 0.0369352326, 0.0392018743, 0.0455242097, -0.0379210785, -0.033681035, 0.0647874922, -0.0126050403, -0.0574893206, 0.0048235143, -0.0057570934, 0.0228365548, 0.001871452, -0.0570028573, 0.0109139606, 0.0197806507, -0.0054178694, 0.0228577331, 0.0439972281, -0.0036911182, -0.057644967, -0.0217151828, 0.0030979656, -0.0427698083, 0.068912372, 0.0412221737, -0.0656137839, 0.0003815771, -0.0298921335, -0.0064650029, 0.0192424301, -0.0732979476, 0.004942344, -0.0218993761, 0.0062718396, -0.0288373362, -0.0456628352, 0.0033068629, -0.0057436363, 0.0209450237, 0.017609043, 0.0350163206, -0.0284944158, -0.0084944535, 0.0096728606, -0.0419955142, -0.0025829719, -0.0132019892, 0.010446432, 0.0404036194, -0.0031190685, -0.0373145379, -0.0229103677, -0.0596237443, -0.0340781137, 0.0395929702, 0.0091428496, 0.0217838679, -0.0109656844, 0.0166537818, -0.0169716235, -0.0069293529, 0.0048513091, -0.0023724062, 0.0382155441, -0.0364200324, 0.0580873862, 0.0128041375, 0.0267290194, -0.0057304311, 0.0105750486, 0.0415962934, 0.0489027165, -0.0202292521, -0.0641383976, 0.0344194882, 0.0406953618, 0.0104383556, 0.0250587389, -0.0100973239, -0.0047844751, -0.012366063, -0.0204119626, -0.0182107203, -0.0167836994, -0.0237218291, 0.0513565801, 0.0012236116, -0.0263294317, -0.0033467605, -0.0305245984, 0.067600131, -0.0428964756, 0.0064694178, -0.0182237327, 0.0147581231, 0.0002890077, -0.0040315627, -0.0295141209, 0.0060508447, -0.0230743252, 0.0645409077, -0.0065727355, 0.0780715197, -0.014216044, -0.016860038, 0.010569579, 0.0186146479, -0.0580582656, -0.105603449, -0.0051504811, 0.0039310441, 0.0026779901, -0.0206594355, 0.0056569534, -0.0217560288, -0.0193153974, -0.038978219, 0.0090661608, 0.0100332461, -0.025673205, 0.0638048425, 0.0067166705, -0.022222925, 0.0090096481, 0.0220729895, 0.0419426002, 0.0207020249, 0.0245645437, -0.0131989829, -0.0079867365, -0.0130791813, -0.0052511492, -0.0083295302, -0.0322350115, -0.0204753913, -0.1049381793, -0.0413177758, 0.0031283114, 0.001355835, -0.0170327462, -0.0201442093, -0.0238744412, 0.0823200718, -0.0312233493, -0.0010360032, -0.0375344977, 0.0571913049, -0.061737325, -0.0229327679, -0.0061542825, -6.238688678e-33, -0.0145953456, -0.0096645551, -0.0083176708, -0.0814392194, -0.0384638794, -0.0155046424, -0.0133657102, 0.0276103076, -0.0581181496, 0.0015927168, -0.0262528062, 0.0051983092, 0.0191767476, -0.0025509414, 0.0429934338, -0.0591709353, 0.0122939339, 0.0034809301, -0.0350186825, -0.0122174034, 0.0121473037, -0.0289806966, 0.0596499853, -0.0547851175, 0.0579281114, -0.0012435294, 0.0349731185, -0.0232286938, -0.0003551194, 0.0305977371, -0.0304179173, 0.0699759275, 0.0396269709, -0.0611532778, 0.0019604196, 0.0267600305, -0.0388945118, -0.0369194299, 0.075954169, -0.0185303148, 0.0080570336, -0.0500940271, 0.0597102679, -0.0025433733, -0.0486423075, 0.0055354387, 0.0250880029, -0.0340908468, -0.004673311, 0.0173386, -0.0409959443, -0.0072906632, 0.0065255673, 0.0426447541, -0.0651554763, 0.0521447435, -0.0095757768, 0.0903610811, -0.0254075937, 0.012034433, 0.0258358531, 0.0386284627, 0.0351127274, -0.0490459204, 0.0458558276, 0.066288285, -0.0061174198, 0.014921912, -0.0336687192, -0.0487448163, 0.0260193124, 0.0017549911, 0.0519592986, 0.0844946727, 0.0246157125, -0.0118436487, -0.0516709425, -0.0019025709, 0.0153074265, 0.0185859147, 0.0395382047, -0.0150182042, -0.0299790427, -0.0398081541, -0.091054149, -0.0224757902, -0.0257607326, -0.0360831879, 0.0384352729, -0.0360661261, -0.0222607162, -0.0140669411, 0.0753290951, -0.0204588026, -0.0550361909, 0.008905828, -0.0239903182, 0.0175871141, -0.0012307282, 0.0573524684, -0.0764549747, 0.0141272759, -0.0566583648, -0.0056693917, 0.0157448649, 0.0264859609, -0.0267473012, -0.025593942, -0.0682379156, -0.0158237647, -0.0235154983, -0.0411961637, 0.0064304415, 0.0129508702, 0.0516443066, 0.0235847663, 0.0206046086, 0.018566614, 0.0406950153, -0.0186866447, -0.044222407, -0.0198669881, -0.0210775826, 0.0246500708, -0.0110098533, 0.0006696367, -0.0289173033, 0.0723632202, 0.0258861668, -0.0158225372, -0.0179046243, -0.0109812068, 2.686e-7, 0.067202121, 0.0514172018, -0.0303524863, 0.0117370524, 0.0000368149, 0.0332277305, 0.0090101827, -0.0027247304, 0.0441034548, -0.0231955796, -0.0003861183, 0.0061675413, 0.0349276587, 0.0361353494, -0.0726020932, 0.010085755, -0.051087372, 0.0284124501, -0.0397897065, 0.0053926734, 0.0133694801, 0.0797805339, 0.0134034958, 0.0165620949, -0.0486113243, 0.0088705989, 0.0847593397, -0.0750266314, -0.0546546057, 0.0281016994, -0.0110101644, -0.0001934726, 0.0381813236, 0.0047822706, 0.0314463526, 0.0012208103, 0.0393832996, 0.067183651, 0.0267524645, -0.0072248671, -0.0319239236, -0.0575976744, -0.0019833541, -0.1176699847, 0.0770676732, -0.0578782633, -0.0290737581, -0.0442931317, -0.0186727531, -0.0110962242, 0.0680437088, -0.0226836465, -0.0121979257, 0.0209071059, 0.0055059167, 0.0279768314, 0.0017470027, -0.0063940748, -0.039878618, -0.0209326595, -0.0315106995, -0.1017168462, -0.019477142, 0.0281515308, -0.0015047604, -0.0695179775, 0.0066619804, 2.467077493e-34, 0.0524579138, 0.0113410214, 0.0400094539, -0.0028248786, 0.0249030069, 0.0080981031, 0.0339398719, 0.0211824998, 0.0079525663, -0.069874838, -0.0079517253 ]
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.0482822061, 0.0830673873, -0.0185906366, -0.001467062, 0.0058073122, 0.0132642295, 0.0545207597, 0.0135313664, 0.0034611891, -0.0358762816, -0.0059205084, -0.0154180592, -0.030095974, -0.0222312361, -0.0308163222, -0.0125488052, 0.0284371879, -0.0442622229, -0.0132357161, 0.0038873765, 0.025639059, 0.0492866598, 0.0498227216, 0.0262646917, -0.0345053375, -0.0207512919, -0.0054724105, 0.0249517728, 0.030040212, 0.0159896724, -0.005242188, 0.0891904384, -0.0116800545, 0.0642404705, 0.0000020906, -0.0196964778, -0.0633585155, 0.0094262492, 0.0221275054, -0.0231045913, 0.0743328035, -0.0303654, -0.0727433488, 0.0420404784, 0.0009875988, 0.007306057, 0.0620338134, 0.0124441991, 0.0358716473, 0.0658096001, -0.0193323996, 0.0248737596, -0.0145610878, -0.0086207306, -0.0460519455, -0.0124073625, 0.0031957976, 0.000708474, -0.0413849093, 0.0017777004, -0.0137143629, 0.0575004406, 0.0266629625, -0.0598768406, -0.0064785681, -0.0320582502, -0.0349016413, -0.0332163163, -0.0073945206, 0.0547785014, -0.0259542055, -0.0595921203, 0.0234921258, -0.0285878051, 0.0195801612, 0.0468036383, -0.0149233891, -0.00253581, -0.0164908152, 0.0151390405, -0.0125263929, -0.0622368045, 0.0116530089, -0.0139879612, 0.0085007483, 0.0435753912, 0.0610070415, -0.0159401074, -0.0233935043, 0.0132658659, 0.0235073175, -0.0753189772, 0.0755801648, 0.0065715313, -0.0318144225, -0.0025403306, -0.0720211565, -0.076270394, 0.0076258285, -0.0488588363, 0.0326056629, 0.023728529, -0.0054745106, 0.048408322, -0.0137434043, 0.0448957086, -0.0196614377, 0.0178176034, -0.0104107605, 0.0047915648, -0.0195739847, 0.0067810663, -0.0147244669, -0.0009520941, -0.0563956797, 0.0225677453, -0.0080600418, 0.0409006737, -0.0097349035, 0.0319866873, 0.0199866164, 0.0019878745, 0.0051740534, -0.0258292127, 0.0249300431, 0.0312401559, -0.0069351871, 0.0221609045, -0.0023258987, -0.046835728, 0.018506337, -0.0005229657, 0.0337882936, -0.0238688774, -0.0047913818, 0.0544683635, -0.0180646349, 0.0020742177, -0.0241985973, -0.0487032905, -0.0314041264, -0.0465049334, -0.0410857685, -0.0767762735, 0.0218701214, -0.0011035978, -0.0070660538, -0.107595399, -0.0039426391, 0.0191362761, -0.0182360802, 0.0168908034, -0.0110351881, -0.0021549398, 0.0222750064, 0.0343332104, -0.0241985191, 0.0770294294, 0.0150148869, 0.0393009931, 0.0426565222, -0.0023829706, -0.0036768161, 0.0584777221, -0.0100256717, 0.0318144783, -0.0421197526, -0.0264605954, 0.0278131105, -0.0343385674, 0.035414014, 0.0506910235, -0.0028803993, 0.0004360563, 0.0939843357, 0.0182917975, 0.0237366259, 0.0495816208, 0.0134825641, -0.0179256573, -0.0329198241, -0.0136046922, -0.0350431427, 0.0388583578, -0.0564676188, -0.0222951081, 0.0378786586, 0.1005785167, -0.0088774618, -0.0380916558, -0.0150032043, -0.0136813344, 0.013882773, 0.0207873657, 0.0087191528, 0.0046337447, -0.0020693354, 0.0278657675, 0.033643499, -0.052147802, 0.0034284249, -0.0261154249, 0.0568100996, 0.0856901929, 0.0588358156, -0.0188958999, -0.0651804432, -0.019145783, 0.0504525155, 0.0272263493, 0.0455509759, -0.0275662877, -0.0119624306, -0.0510814823, -0.0610734001, 0.0397442393, 0.0278124679, 0.0260924883, 0.0247198418, 0.0519664064, 0.0281453654, 0.017872503, -0.0799006, 0.009820194, 0.0056211315, -0.0273187123, 0.0067756497, 0.0089945626, 0.0081093479, 0.0230465382, -0.0083880303, -0.0424046516, 0.0209849458, 0.0013552431, 0.0252321139, -0.0117596723, -0.0429616123, 0.0197759662, 0.0630178824, 0.0101672048, -0.0054514916, 0.0242494904, -0.0131731275, -0.0202394351, 0.0088614067, 0.0133961141, 0.0080831815, -0.0191556253, 0.0607223883, -0.019655766, 0.0073759113, -0.0056680394, 0.0221737884, 0.0353793092, -0.0130660441, 0.0665003732, -0.0530676544, 0.0016772598, 0.0164895188, -0.0237665828, 0.006838752, 0.0049151322, 0.0123784337, 0.0391443893, 0.0135878492, -0.0078797853, -0.0501670167, -0.0734008476, -0.0107184201, -0.0424437039, 0.0316095166, 0.0289587583, 0.0512864031, -0.0000711479, -0.0038432768, -0.0265430864, 0.0031324837, 0.009885204, 0.0443591326, -0.0270224866, -0.0301242508, -0.0299381241, -0.0410299599, 0.0089277951, 0.0062811761, 0.0172021929, -0.0099035092, -0.0368314534, -0.0456844456, -0.0158481263, -0.0599510781, 0.0308583882, 0.0118533727, -0.017317906, -0.0032281275, -0.0052676019, 0.04883416, 0.0004763409, -0.0241825748, 0.0012429896, 0.0871511623, -0.0133739449, -0.0647158846, 0.0110416133, 0.015120646, -0.0562970638, -0.0466570184, 0.0372214243, 0.0055018198, 0.0544695072, -0.0108710267, -0.0009740959, -0.0584370568, 0.0342772864, -0.0234448481, -0.027425142, 0.0218011979, -0.0313662216, -0.0126595506, 0.058229316, -0.0402943194, -0.0486551039, 0.0602120571, -0.0188855734, 0.0229084548, -0.0163076296, -0.0431610867, -0.0139768003, 0.0415947698, -0.0173816588, 0.0540450364, -0.0223870799, -0.0094719362, -0.0516754873, 0.0260210373, 0.0632788911, -0.0460265502, -0.0066453931, -0.0665202662, 0.0089254007, -0.0294097923, -0.0543551371, 0.0014076865, -0.0093816034, -0.0012722871, -0.0144478986, 0.0572650917, -0.0323584676, -0.0051607345, 0.0327010415, 0.0082901064, 0.068920508, 0.0074146772, 0.0016017585, -0.0179231428, 0.0177631676, 0.0490479097, 0.0345103033, -0.0123785995, -0.0061958809, 0.0249802675, 0.0748522207, 0.0297955591, -0.0653949678, 0.022475753, 0.0318067111, 0.0682411715, -0.0169628672, -0.0255885255, 0.0205702558, 0.0743844509, -0.0673717111, -0.0098019941, 0.0995339379, 0.0315389559, -0.0706662089, -0.0329148658, -0.0346432552, 0.0330014005, 0.0150896022, 0.0397084057, -0.0529080518, -0.0056072427, 0.0228681844, 0.0154584972, -0.00753548, -0.0022435971, -0.0148621891, -0.0567678958, 0.0293659642, 0.0262698997, -0.0400589406, -0.0093231378, -0.0163416304, 0.0185183994, -0.0102719003, 0.0187278893, -0.0214685276, -0.0175952222, -0.0175351351, -0.0121569745, -0.01903533, -0.0219838526, -0.0429166034, -0.0360758044, 0.0451991782, 0.0554268174, 0.0064824894, 0.0566684976, -0.0414741673, 0.0650968179, 0.0221914165, -0.0083159208, -0.0283049028, -0.0242710654, 0.0198190883, 0.004091375, 0.0051584281, 0.0149630383, 0.0345018245, -0.0320511758, 0.007336101, 0.1072298363, 0.0090334797, 0.0139909834, -0.017200252, -0.0156165538, 0.0023664769, 0.0470280722, 0.0375723206, -0.0606417991, -0.0319989882, -0.0527140945, -0.0532401204, -0.0246246476, -0.0083474945, -0.0270474646, -0.0020698269, -0.0275228675, -0.0510135554, 0.0060840691, 0.0542656928, 0.0254131835, 0.035076879, 0.0196674112, 0.0175097864, -0.0406463221, -0.0084603829, -0.0225667171, -0.0520934276, -0.0172059238, -0.0381955281, 0.0170785934, -0.0071816123, -0.0232043862, -0.0182389002, 0.0384455547, -0.0636794046, -0.1031600609, 0.0037961164, 0.0451906212, 0.0294948965, 0.0370672084, -0.0164283235, -0.0703643188, 0.0732422918, 0.078848727, -0.0710661039, 0.0087124314, -0.0024532932, -0.0270434432, -0.0283803698, 0.0380331017, -0.0831560567, -0.0145812118, 0.0505255759, 0.0046982649, -0.0116723506, -0.0421123877, -0.0062663755, 0.0274357535, -0.0356230326, -0.0074033323, -0.0398284718, -0.0562680848, 0.0487723574, -0.0185087733, -0.0221633445, -0.0302259475, 0.023623202, 0.0049253213, -0.0377618, -0.026077345, 0.0440696478, 0.0281587727, 0.0250532907, -0.0762354061, 0.0029001271, -0.02241599, -0.0199282393, 0.0461569019, -0.0099326298, 0.013796743, 0.0526784956, 0.0306255687, 0.0030826831, -0.055398874, 0.0157449357, 0.0027930434, 0.0329777189, -0.0389126949, 0.0615163185, -0.0241283625, -0.0538128093, -0.063649632, 0.0711236745, 0.0539362654, -0.0076505742, 0.1109818742, -0.0072173649, -0.0505929179, -0.0243088249, -0.0090542175, 0.0266507175, -0.0362433046, 0.010421047, 0.0001052996, -0.0077667702, 0.0192743819, 0.0553452484, 0.0042948732, 0.0310204495, -0.016365692, -0.0549745113, -0.0413326398, -0.0088754855, 0.0094720526, -0.0032741521, -0.0295981411, -0.0068122484, -0.0393460058, -0.05656128, 0.0145951062, -0.022979768, -0.0040533519, -0.0332348049, -0.0186211672, 0.0228187032, 0.0010199326, -0.0021283003, -0.0240204968, -0.0705192909, -0.0066982796, -0.0201357827, -0.0255071912, -6.787742253e-33, -0.0349813178, -0.0044916295, 0.0068384469, -0.0083305417, 0.0057034977, -0.0237780567, -0.0224686787, -0.0027919435, 0.0415758714, 0.0058489074, -0.0337794237, 0.0006392, 0.0192090534, 0.0044972808, 0.0187274162, 0.0010045612, 0.0639756918, 0.0090410318, -0.0457308181, 0.0453383736, 0.0281978883, 0.0171049889, 0.0175288022, -0.075974308, -0.0120894304, 0.0303664543, -0.0141179049, -0.0155387586, -0.0259773582, 0.0874221995, 0.0086669242, 0.015590555, 0.0151929306, -0.0739153698, -0.003850535, 0.0026850975, -0.0777999684, -0.0290952846, 0.0275031496, 0.0272259042, -0.0057982453, -0.0721218362, 0.0644680262, 0.0138637805, -0.0256944802, -0.0018647403, 0.0120270113, -0.0017505119, -0.0213954691, -0.0881810933, -0.0592185482, 0.0125633366, -0.0151308738, 0.0196506977, 0.0540030524, -0.0140237547, 0.0063074436, 0.0076372605, -0.0605909005, -0.0072786403, -0.0005479779, 0.0581885055, 0.0812242925, -0.0157018211, -0.0318833329, 0.0559254512, -0.0460763983, -0.0106423125, 0.0053479574, 0.0254677627, -0.0153789902, 0.040333692, -0.0012574239, 0.0365035608, 0.0217505209, -0.0494082905, -0.0416611731, 0.030101452, -0.0485518351, 0.0426356047, 0.021228062, 0.0329401307, 0.012550828, -0.0104664527, -0.0428312458, -0.0362253971, -0.0544327907, -0.0457802042, 0.036113672, 0.0258851591, -0.0494953245, -0.0355433039, 0.0235766415, -0.0166309532, -0.0174594428, 0.0299071688, -0.0112429084, 0.0079034204, 0.0300023016, 0.0118958103, -0.0166398361, 0.0057058791, 0.0259976108, -0.0380775034, 0.0147249065, -0.0069083734, 0.0283483174, 0.0643465444, -0.1091793701, 0.0328397155, -0.0388589129, 0.0762781501, 0.0151274633, 0.0509183332, 0.0297483634, -0.0260917302, 0.0106720924, 0.0106332665, 0.0497631505, -0.0039975159, 0.0010666668, -0.0106008407, -0.0043832818, -0.0207765978, -0.0365009196, 0.0058484306, -0.0054605328, 0.0179453734, 0.039710179, -0.0495417602, -0.0132049043, 0.0034145578, 2.886e-7, 0.0091111585, 0.0526823066, -0.0059920512, -0.0401883535, 0.0368149057, -0.0086982585, 0.0100412928, 0.029390268, 0.0088134604, 0.0070285616, 0.0008914886, 0.0189864859, 0.0668299422, 0.0474604703, -0.0548286922, 0.017089406, -0.0701126978, 0.0284492094, -0.0511552617, -0.0177524295, 0.02950182, 0.0676677972, 0.0020853803, -0.0285041872, 0.0168749765, -0.0188777801, 0.0219846368, 0.0006251173, 0.0025623541, 0.0018478765, 0.1039121374, 0.0004168675, -0.0331466272, -0.0234568249, -0.0194911398, 0.0233871099, -0.0461201333, 0.0783127695, 0.017614536, 0.042984467, 0.0177101474, -0.0332796089, -0.0076287957, -0.0165740848, 0.0644744635, 0.0587009341, 0.018508289, -0.0539558679, -0.0107180197, -0.0438407212, -0.0069003664, 0.0036012868, 0.0053358567, 0.0116543369, 0.0108225057, 0.0206169598, -0.0313069113, -0.0629685149, -0.0226904284, -0.0011069503, -0.0142863523, -0.0671266913, -0.0639118478, 0.0366574638, 0.0170639809, -0.0717946514, 0.0238177255, 2.968229765e-34, 0.0114899576, -0.0361164883, 0.0087060444, 0.0028710526, 0.025917219, 0.0036316027, 0.0458984561, -0.0135371564, 0.0011756929, -0.0789053813, -0.0113875242 ]
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.0946160778, 0.0473269969, -0.0302159823, 0.056640543, -0.0659098551, 0.0171412509, 0.0263215303, 0.0388640091, 0.0318343043, -0.0816947743, 0.0212545581, -0.0147792362, -0.0219053477, 0.0350637287, 0.0199548285, 0.0269516408, 0.0275428984, 0.0060060797, 0.0017683993, 0.0139864786, 0.02473999, 0.0324223712, 0.0222926978, 0.0259675588, -0.0366295278, -0.0185556039, 0.0237966478, 0.0006456295, 0.0127689354, -0.0243544951, 0.0310942624, 0.0454366691, -0.0141062802, 0.1174325347, 0.0000018224, -0.0411311388, -0.0463658497, -0.0043575601, -0.0156126274, -0.0031691582, 0.0834275931, 0.0076036616, -0.0416508503, 0.0242045037, -0.0321905278, 0.0174284671, 0.0108804172, 0.0251846034, 0.0462983772, 0.0900896415, -0.0376657806, -0.0058450392, 0.0591275357, 0.0196101218, 0.010036408, -0.007460753, 0.0554947779, -0.0215270817, 0.0010568065, 0.0174648482, 0.0350961499, 0.0508665107, -0.0099218534, -0.039290145, -0.0112962229, 0.0045001674, -0.0089750523, -0.0251246355, 0.009666983, 0.0143647939, -0.0114931324, -0.0376239792, 0.0597062111, 0.003704031, 0.0107198395, 0.0170590449, 0.042307429, 0.040639855, -0.0613618605, 0.0007968201, 0.0322801434, -0.0272041168, 0.0183726884, 0.063664332, 0.0281174611, 0.0407940187, 0.021558471, -0.0592211522, 0.0027446831, 0.007128946, 0.0439510718, -0.0460636504, 0.0551768541, 0.0254320782, 0.0052702399, 0.0124430852, -0.058882378, -0.0725407973, 0.0341462232, -0.0821504518, 0.0189130381, -0.0147019867, -0.0172523372, 0.0265880302, -0.0362405628, 0.0367146879, -0.0317264833, 0.0121536739, 0.0080718007, 0.020650195, -0.0256796815, -0.033973325, -0.0169637371, 0.0144866733, -0.0092197238, -0.0079166284, -0.0601851307, 0.0418728441, -0.0022634938, 0.0143729802, -0.0475967303, -0.0084264092, 0.0058256565, -0.0014833321, -0.0190313049, -0.0205754023, 0.01916942, 0.0133949071, -0.0255439188, -0.0696767792, 0.0200114399, 0.0629538298, -0.00646351, -0.0248415247, 0.0250572376, 0.037703637, -0.0153777394, -0.0514108501, -0.0664384663, -0.0723931342, -0.0453221723, -0.0467498526, 0.0177247804, -0.0449639149, -0.0341662839, -0.0120967431, -0.0175984222, -0.0331875645, 0.0018138358, 0.054100059, -0.0454046801, 0.0157055408, -0.0288355295, -0.0015995292, 0.0684415102, -0.0083385631, 0.0254829805, 0.022666432, 0.0314792395, 0.0901243091, 0.058705356, 0.0169835817, 0.0443769321, 0.0536860973, 0.0117355306, -0.0012653515, -0.0229263771, -0.0026664147, -0.0372351632, 0.009626966, 0.0137799969, 0.0612939149, 0.0142611125, 0.0058479197, 0.0723669007, 0.0454034992, -0.0286887102, 0.0442156047, 0.0745414868, 0.0237666816, 0.0090686958, -0.0074125109, -0.0042230817, -0.0362721682, -0.0705887377, -0.0265388582, 0.0092640286, 0.0368320979, 0.0206960589, -0.0361616984, -0.0033920719, -0.0316316038, -0.0088710114, -0.02862956, 0.0574772991, -0.0075816028, -0.0348808095, -0.0333000347, -0.0175176449, -0.0354764536, 0.0167115126, -0.1036176458, 0.0446731821, 0.0751253292, 0.0523532107, -0.0302570835, 0.0541591793, -0.0383692198, 0.0040098815, 0.0708611608, 0.0149564762, 0.0084940391, -0.0414995663, -0.0122158788, -0.0430289544, 0.0119635137, -0.001556928, 0.0229545627, 0.0098937592, 0.0262190551, 0.0171725228, 0.0062416703, -0.0719946101, 0.0543854199, -0.0107449405, -0.0329793692, -0.0016348115, 0.0106246155, 0.0154315578, 0.0109874234, -0.025506923, 0.0057770591, 0.0366768241, -0.0398011543, -0.050243441, -0.0391462334, 0.0090577826, 0.0258915648, 0.0238181259, -0.0293807797, -0.0061432193, 0.0438369513, 0.0074763992, -0.0060826587, 0.0246492755, -0.0476750135, -0.0078822793, -0.0962458998, 0.0288603548, -0.0244266465, 0.0310419071, -0.0237961393, 0.0894394293, -0.0121679939, 0.0096694818, 0.0339572206, -0.0601990707, 0.0340089165, -0.0024005873, -0.0377768725, -0.0103860563, -0.0139192976, 0.0258174874, 0.0267295782, 0.0126139242, -0.0127210915, -0.0301018916, -0.0413426645, -0.0197367128, -0.012348162, 0.0233858582, 0.0149142807, -0.0086630741, -0.0212269593, 0.0051858881, -0.0169059299, -0.038696494, 0.0532695428, 0.0038063503, 0.0549541339, -0.0436339825, 0.0097902929, 0.0033631308, 0.0136496797, -0.0278932378, 0.0499299578, 0.0592314117, -0.0291470159, -0.0742745399, 0.0141444998, 0.001429246, -0.0046621538, -0.0011296042, -0.0395354182, -0.024510812, -0.0168629661, 0.0046906783, 0.0770039409, 0.0468918048, 0.0317232423, 0.0329764299, 0.0520158485, -0.0029350554, -0.0059659723, 0.0033242139, 0.0195424482, -0.027511809, -0.0505950451, 0.0526645258, 0.0214334242, -0.0021831961, 0.0069963122, 0.0031307174, 0.0219303723, -0.0125458827, -0.0230836589, 0.0158769805, -0.0612045899, -0.0461097844, 0.038772624, -0.0156414043, -0.0597432777, 0.0452847891, -0.0339894518, 0.0134017738, -0.037360128, -0.0137549154, -0.0021779814, 0.0010709391, 0.0120950025, 0.0544305593, 0.0072499951, -0.0005823747, -0.013437748, -0.0058438913, 0.0439006165, -0.0376603045, -0.0043779751, -0.0184545219, 0.0127040911, 0.0039777649, -0.0163004939, -0.0719515383, -0.0411607176, -0.0180221889, -0.0238920841, 0.0292174537, -0.0186444838, -0.0322789885, -0.0174753033, 0.0374937877, 0.0266709588, -0.0331326202, -0.0090170596, -0.0051362892, 0.0801330134, 0.0293717273, -0.0606749766, 0.0084239375, 0.0043386016, -0.0077771824, 0.0444810875, -0.0064104684, 0.0275434591, 0.0044946712, -0.0141406721, 0.0212056488, -0.0133282542, -0.0217214264, -0.0066165836, 0.0013308352, -0.0317945369, -0.0073363106, 0.0936430097, 0.026594134, -0.0647109896, -0.030098727, -0.0136817982, 0.0043885494, 0.0049624061, 0.0219180528, -0.0645355359, -0.0016680025, 0.0010648328, 0.0060604168, -0.0665945634, -0.0103776045, -0.0127407433, -0.1000449881, 0.0036803454, 0.0050606602, -0.0375198759, -0.0164503381, -0.0107824812, -0.0302437562, 0.0108273532, -0.0285394974, -0.0269099977, -0.0208589882, -0.001385186, 0.0183971059, -0.056491524, -0.0313458517, -0.0353762656, -0.0307565071, 0.0124685876, 0.0672843009, 0.0534558706, -0.0315172076, -0.0379597917, 0.0282929223, -0.0235566106, -0.0104960138, -0.0120666418, 0.0596509054, -0.0367751792, -0.0029897089, -0.0248576924, 0.0229692832, -0.0244251098, 0.0149752041, 0.0223275702, 0.0867086723, -0.0080578895, -0.0249791183, -0.0373284481, -0.0100910431, 0.0230036192, 0.0540069491, 0.0185198076, -0.0453843474, -0.0719187334, -0.0249529742, 0.0206388645, -0.0849141628, -0.0200266726, 0.0048292773, -0.0299410615, -0.0640173033, -0.087971434, -0.0305422749, -0.0257952642, -0.0078286007, 0.0057630739, -0.0019076194, 0.0217208564, -0.0086442158, -0.0596743412, -0.0631554946, -0.0346977301, 0.042891331, -0.0632614046, -0.0003625084, 0.0086260987, -0.0395786092, -0.0175906233, 0.0296038222, -0.0448397733, -0.0561380051, 0.0282118767, 0.0354106538, 0.0237036087, 0.0068753515, -0.0208432637, -0.0371316262, 0.104594484, 0.0345318653, -0.0314218141, -0.0112772342, 0.0086000962, -0.0168144237, -0.0375918411, 0.0145490738, -0.0123178484, 0.0284107961, 0.0268357564, -0.0505755208, -0.0556787252, -0.0174813103, 0.0279917996, 0.0306775458, 0.0044303467, -0.0351196863, -0.0122174798, -0.0337542333, -0.0378075205, -0.0101734605, -0.0175509863, -0.0129061649, 0.0314055085, 0.037970189, 0.0069173495, -0.0046752645, 0.0142906345, -0.0415312313, 0.0204550065, 0.0155394943, 0.0058498243, 0.0302168634, 0.1160877123, -0.005426608, -0.0006337009, 0.0119698225, 0.0534656234, 0.010947438, 0.0388167202, -0.009112359, 0.0499857999, 0.0041112602, -0.0169314444, 0.0312979408, 0.0349247865, -0.0542225167, 0.0221531633, -0.0392379537, 0.005626041, 0.0556714199, 0.0000505892, 0.0471829511, -0.0216907244, -0.0227539223, -0.0134308282, 0.037875656, 0.0053859348, -0.0314892158, -0.0411265269, -0.0003631898, -0.0468045026, 0.0048358063, 0.0575044453, 0.0445723757, 0.0355399325, 0.0256660022, -0.0725418627, -0.0492265224, -0.0131822471, 0.0294733681, -0.0119465683, -0.0137369866, 0.0089089368, -0.0544858202, -0.0565469489, 0.0403441302, -0.00485565, 0.0255178753, -0.0129306251, -0.0099289743, 0.0869099498, 0.0176487155, 0.020125702, -0.0728660077, 0.0159868728, -0.0244796705, -0.032674551, -0.0099990303, -5.679288182e-33, 0.0131433466, -0.0880411267, -0.018363785, 0.0037541403, -0.0176801104, 0.03143714, 0.019041447, -0.0296559408, -0.0136234742, 0.0173108727, -0.0187482815, 0.001489837, 0.0040716827, 0.0232406016, -0.004926438, 0.0079346588, 0.0283946898, -0.0239069071, -0.0214588139, 0.0328102894, 0.0502981097, 0.017694829, 0.0313989222, -0.0774155557, 0.045049198, -0.0388150774, -0.050801985, 0.0201483965, -0.0282061957, 0.0657618567, -0.0461377427, 0.0307979807, 0.0471149459, 0.0073255734, 0.0370024182, 0.0651943088, -0.0150133595, -0.0201237984, -0.0152987912, 0.0186426099, -0.009909858, -0.065503642, 0.0659792945, -0.020949034, -0.0251621995, 0.0412076153, 0.0751992762, -0.0298668128, 0.0016311876, -0.0391205288, -0.061455965, 0.0243954808, 0.0050064805, 0.0073165763, 0.0292148907, 0.0532616936, 0.0242696889, 0.0126031479, -0.0516123138, 0.0229040701, -0.0143245338, -0.0078762379, 0.0321230143, 0.0162042435, -0.0224555489, 0.0492852144, 0.0564573333, -0.010231657, -0.0021075732, -0.0185053796, -0.0234058481, -0.0002225478, 0.0567998402, 0.0946969315, 0.0114128878, -0.0410231948, -0.0390655734, 0.0510329157, 0.0634495839, -0.0055671637, 0.0287730303, -0.0570614599, -0.0535933152, -0.0017462736, 0.0188236162, -0.0906034485, -0.0349497162, -0.0130991619, 0.0224548653, 0.0136957075, -0.0261321701, 0.0195393972, -0.0083826454, -0.0558122136, -0.0056113503, 0.0191285182, -0.0161548872, -0.0059989137, 0.0232684985, 0.0332470089, -0.0050664353, -0.0200946834, 0.0097983181, -0.0041555511, 0.0140511775, -0.0059206933, 0.038324777, 0.0153605295, -0.0685091764, 0.0238824915, 0.0093158185, 0.0337357037, 0.0169957802, 0.0344508812, -0.0046437616, -0.0267147217, 0.00699938, 0.0012743162, 0.0341065861, 0.0323908776, -0.0360304862, -0.0502901673, -0.019115923, 0.0322787985, -0.0283420887, -0.0124122072, -0.0246649068, 0.0505357571, 0.0393747985, -0.0834456384, 0.0198705792, -0.0551245771, 2.592e-7, 0.054594595, 0.0409131199, 0.0272171609, -0.0242281929, 0.0221269019, 0.0506370962, 0.0028599191, 0.042991586, -0.0116474312, 0.0321826264, 0.0017934123, -0.0215273425, 0.0525204092, -0.0016531993, -0.0744389072, -0.0256467499, -0.0603771135, 0.0081186555, -0.0660488904, 0.0235443488, 0.0776150078, 0.0416242555, 0.0153656295, -0.07198935, -0.0248980764, -0.0933377147, 0.0254959185, -0.0106643857, -0.0024381119, 0.0124767432, 0.0524965525, 0.008167211, 0.0084330915, 0.0232279859, -0.0117351208, -0.0047641234, 0.0001230747, 0.0620665103, 0.0008818874, 0.0269113053, 0.0172870588, -0.0240915734, 0.0063396152, -0.0425410196, 0.0535602458, 0.0522331595, 0.0081458744, -0.0409807228, -0.0521617606, -0.0634062663, 0.0440503769, -0.0407129675, -0.0300402287, 0.0200495031, 0.0006130589, 0.0143999392, 0.0035768866, -0.0502528213, 0.0135794198, -0.0260948893, -0.0379508287, 0.0023460849, -0.0578986406, 0.0046762796, 0.0688714758, -0.0449749567, 0.0536666401, 2.439447866e-34, 0.0300028734, -0.035333313, -0.0107801128, 0.0098624881, 0.0187979899, 0.0267015379, -0.0067493524, 0.0126932934, -0.0084311944, -0.0328068808, 0.0156041794 ]
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.0260406826, 0.0242043398, 0.007396203, -0.0052088909, -0.0203269143, 0.0013182629, 0.0315796733, -0.0236066077, 0.0276024751, -0.038922146, -0.0133331371, -0.032431569, 0.0017250207, 0.0092443218, 0.04785138, -0.0623169728, -0.000341899, -0.0282443557, 0.0152738392, 0.001234237, 0.0208989028, 0.0028579831, 0.0205448773, 0.0359212607, 0.0875264704, -0.0289070942, 0.0318880714, -0.0272820629, 0.0386953838, -0.040909145, -0.0276239701, 0.0516241565, -0.002199549, 0.0568591394, 0.0000018266, -0.0692042559, 0.026799025, 0.0720297918, 0.0325466804, 0.0614163391, 0.0514767952, -0.0180126447, -0.0091653587, 0.0197401494, -0.005649406, -0.0146537516, 0.0220696349, 0.0180506054, 0.0612616055, 0.0176909287, 0.0118057765, -0.06421341, 0.0496464819, -0.0036420345, -0.0152762532, 0.0101915076, 0.0193492007, 0.0686785132, 0.0266309045, 0.0510644428, 0.0393686146, 0.0307599008, 0.0184029937, -0.0654707924, 0.0164802708, -0.0002521034, -0.0761174932, -0.0393383428, 0.0556294806, 0.0430441424, 0.0280396696, -0.0290953778, 0.0082939258, 0.0034734213, -0.0153280441, 0.0714229047, -0.0626978502, 0.0277109202, -0.0089577641, -0.0207628347, 0.0146177821, 0.0044887471, 0.016545238, 0.0142944427, 0.0057195132, 0.048548799, 0.0145291714, -0.0422538482, -0.0250726882, -0.0092725521, -0.0409496874, -0.074335508, -0.0174613856, 0.0257036481, 0.0063038473, -0.0036157768, 0.0166809633, -0.0070881555, 0.0590579472, -0.0507005416, -0.0093682948, -0.0126958042, 0.0518517941, 0.0175852329, -0.0055431812, 0.0386296548, -0.0283549149, 0.0047547515, -0.0410451889, -0.0032041126, -0.0536930747, -0.0229102559, 0.0038448712, 0.0122164078, -0.0108499434, 0.0039084, -0.0446908996, -0.0093595963, -0.0027842105, -0.0143266665, 0.0111421403, -0.0141765149, -0.0033448609, -0.0131713217, -0.0315404832, 0.0292751994, -0.0033893939, 0.0248864964, 0.0064945505, -0.0416679941, 0.0044581881, 0.0306702498, -0.0111518297, 0.0003963063, -0.0013547391, 0.0180320051, 0.0305098202, 0.0177997127, 0.0337692797, -0.0584527478, -0.0043994705, -0.0664416552, -0.0058108047, -0.0648459345, -0.0052059381, 0.0405707471, -0.0046174489, 0.0009648731, -0.0063596121, 0.020183105, -0.0125098024, 0.0165312812, -0.0766166374, 0.0178344902, 0.0194685925, 0.0060116653, 0.0048272596, 0.0083841989, 0.0372078307, -0.0107458392, -0.0077157812, -0.0400638245, 0.0481318645, -0.0213820953, -0.0015914936, 0.0007446993, 0.010412911, 0.0235450175, -0.0404529497, 0.0497028157, -0.0119192088, 0.0848102793, -0.0442136675, 0.0516968481, 0.0452767238, 0.0479508005, 0.0318644717, 0.0424021706, 0.0379337333, 0.0030404527, 0.0547149554, 0.0067740851, 0.0045736721, 0.0474056639, -0.014331609, 0.023284968, 0.0567665398, 0.0416583866, 0.0066146115, -0.0622588545, -0.0228727572, 0.0408657677, -0.0215400774, -0.0157373082, 0.0212436095, -0.0174701177, -0.0310206711, 0.0144602554, -0.0004978066, -0.0337852426, 0.0122423787, -0.0198236592, 0.0699985325, 0.0430601463, 0.0561766773, -0.0132882949, -0.0178879667, -0.0198944379, -0.0042761909, 0.0356925987, 0.0516246222, -0.0091240117, -0.0666171685, -0.0221914798, -0.0241427943, -0.0361144543, 0.0157600902, -0.0211433303, -0.0162529033, 0.0030424118, 0.0284759067, -0.0414283052, -0.0729143769, 0.0124417618, -0.030099351, 0.001995797, -0.0341625623, -0.0545845367, 0.0373801515, 0.0164975487, -0.030328203, 0.0808271766, 0.0159690939, -0.0436535664, -0.0309156664, 0.0315313712, 0.0124161616, -0.0221332442, 0.0062171398, -0.088576287, 0.0117179332, 0.0076973708, -0.0132388119, -0.0367970765, 0.0440492667, -0.0380049273, -0.0084083471, -0.025907388, -0.0084006777, -0.046131216, -0.0115334857, -0.0202478897, 0.0407982767, 0.0117525589, 0.0743220821, 0.0443811193, -0.0261762924, 0.0310340766, -0.0075440216, -0.0255958606, 0.0168594569, 0.032640297, 0.0169413723, 0.071428746, -0.0114072971, -0.0135475686, -0.0483182967, -0.061010275, -0.0018401454, -0.0021415288, 0.0171227865, 0.0315165035, -0.0364040509, 0.0229640678, 0.0458235703, -0.0072537535, -0.0618990809, -0.0076545812, 0.012192172, 0.0424062833, 0.0149480915, -0.0085651902, -0.0608783439, -0.0352482684, -0.0352318771, 0.048864089, 0.0643840209, 0.0193837434, -0.0668971464, 0.0267764889, -0.0185541846, -0.0329333469, 0.0037567646, -0.0149483494, 0.0358664766, 0.0042671328, 0.0169135164, 0.0359825864, 0.0179677624, -0.0028175369, 0.0589770563, 0.0199456625, -0.0138023337, -0.0338222086, -0.0277756713, -0.0129779503, 0.0168931503, -0.0451567732, 0.0321682282, 0.0280072335, -0.006414623, -0.0168559831, -0.0519984029, 0.0560035892, -0.060729403, -0.0054299315, 0.0134693291, -0.0401848964, -0.0133568104, 0.0452883169, 0.0240203142, -0.0321165696, 0.0443875603, -0.0435422324, 0.0068869824, -0.0668059587, 0.008120751, -0.0562178977, -0.0041339374, -0.0205182415, -0.0072004367, 0.0032916882, 0.0329936706, -0.0271455068, -0.0105080772, 0.0248566829, -0.0144613832, 0.0079647806, -0.063306652, 0.0101941666, -0.0039624302, 0.0105905086, 0.0350691229, -0.023071805, -0.0438098945, 0.0468269885, 0.0579990596, -0.0216236692, -0.0201196298, 0.043559365, 0.0733926222, 0.0147810644, -0.0334151275, -0.0181548577, -0.0122137805, -0.0149739208, 0.0566051416, -0.0145424753, 0.0641616732, -0.0532290414, 0.0569316261, 0.0341200493, 0.0016106598, 0.0460214205, -0.0255793519, -0.0567915887, -0.0065174336, -0.0157237295, -0.0512211323, 0.0050832438, 0.0707565621, -0.0301323645, 0.0151842562, 0.1143935099, -0.0088904426, -0.0037721167, -0.0195912141, -0.0382460989, 0.0140863629, 0.0060584564, 0.0089772735, -0.0464315526, 0.0067362138, -0.0311754122, 0.0266564153, 0.0002634824, -0.0372873805, -0.0084348395, -0.0726331174, 0.0540010668, 0.0215758681, -0.0469215661, -0.0210936088, -0.0746728778, -0.0126063125, -0.013910695, -0.0173753444, 0.0453558266, -0.0165350456, -0.0058923163, 0.0302685518, -0.0842489451, -0.0408402905, 0.0425194204, -0.0568647645, 0.0227939449, 0.0348821618, 0.0617859438, -0.017722955, -0.0473910794, 0.021117067, -0.0581048951, -0.0099728676, 0.0255308524, 0.0086568519, 0.0420106575, 0.017184576, -0.0465009063, 0.0262691826, -0.0088213757, -0.0073677632, 0.0056941444, 0.0853319764, -0.0103344778, -0.0384611972, -0.066067256, 0.0416072868, -0.058215078, 0.0788153484, 0.0323126651, -0.0117709441, -0.0447713397, 0.00832095, -0.0011354177, 0.0056995754, -0.0488137752, -0.0187450945, -0.0095678661, 0.0116038322, -0.0445818827, -0.0451038145, 0.0259017982, -0.0082697766, 0.0027816484, 0.0206390116, 0.0251785908, -0.0179540906, 0.0239499826, 0.0336694494, 0.0070921057, 0.0147942333, -0.0163682848, 0.0159702785, 0.0470880531, -0.0054660118, -0.0131046288, 0.0327172279, 0.0030639675, -0.0408920199, -0.0446611494, 0.0363177173, 0.0307054948, -0.010492391, -0.0056438926, -0.0592764504, -0.0009612388, 0.0367745273, 0.0468469039, 0.004291934, -0.0132895419, 0.0047033206, -0.0021467004, -0.0341113545, -0.0411001965, 0.0073127169, -0.0305353124, 0.0144989276, -0.0064374018, -0.0544250607, 0.0455582552, 0.0639122054, 0.012838332, -0.0445798077, 0.0452346653, -0.0050618951, -0.025864942, -0.0474367775, -0.0162605494, -0.0519116893, 0.0446743742, 0.013872643, -0.0164226517, -0.0189347845, 0.0187228043, -0.0569744594, 0.0215894934, -0.0309980921, 0.0506764688, -0.0176868495, 0.0050037256, 0.0288961865, -0.0292596966, -0.0525378138, -0.056642592, -0.0775588974, 0.0285985358, 0.0103464127, 0.0277607441, 0.028061945, 0.0297957622, 0.0194399729, 0.0257973634, -0.0770573691, -0.088616401, -0.0608008988, 0.019700544, -0.01735547, 0.0362825431, 0.0902043283, -0.0262115579, -0.0221814346, -0.0585609749, 0.051532466, 0.0295902025, -0.0032611862, 0.0383091308, 0.0361274295, -0.0423000343, -0.0454557985, 0.0820017159, -0.0034650713, 0.0029176653, -0.0191438925, -0.0390286483, -0.0080382712, -0.0294959079, -0.064651221, 0.0000754619, -0.0017017429, -0.0270661134, -0.1150366664, -0.0205273796, 0.0145262238, 0.04612986, 0.0062741213, -0.0261965878, -0.0055781421, 0.037699081, -0.0237339083, -0.0456951074, -0.0372951441, 0.0235674381, -0.0322517194, -0.0061227563, -0.0077720382, -5.684720068e-33, -0.0085417563, -0.0151512157, 0.0100750243, -0.0149825625, -0.0328437202, 0.000001784, -0.0810425356, -0.0182096455, -0.0159210972, 0.0680666342, 0.0230814554, -0.0075479876, -0.0133448886, -0.0350127406, 0.0417017452, 0.0104362052, 0.0461907685, 0.0297121443, -0.0462404564, 0.0419101119, 0.0150748873, -0.0449633226, 0.0212774929, -0.0456602946, 0.0607375614, -0.0309718158, -0.0138164535, -0.0201028623, -0.0239448175, 0.0469358228, -0.0206487067, 0.0100567425, 0.0092534013, -0.084452495, -0.0168139338, -0.0184754245, -0.0184929874, 0.0244977307, 0.0553568192, -0.0506780408, -0.0494832285, -0.0365973823, 0.0676027834, 0.0035588997, -0.0617197268, -0.031141609, 0.0569858551, -0.0324913338, -0.0206863433, -0.1075104699, -0.0441416092, 0.0351116844, -0.0181763098, 0.0039396747, -0.0301955175, 0.0328690149, -0.0333244726, 0.0687791929, 0.0007843843, 0.0298680235, 0.0441839881, 0.0000195372, 0.0232681017, -0.0343435258, 0.0335429311, 0.0467776656, 0.0190841574, 0.0221216716, -0.0077918111, 0.0202819388, 0.0058932849, 0.0242364816, 0.0861317143, 0.0719345883, 0.0401070528, 0.0400268547, -0.0624717809, 0.0249157324, -0.0739322305, 0.0511700511, 0.0440257601, -0.0106862644, 0.008338267, -0.0199144129, -0.0649612471, -0.008531455, 0.0011146246, -0.0062309853, -0.0074999449, -0.0301202945, -0.0499665551, -0.0107443864, 0.0296214651, -0.0426319987, -0.0023959349, 0.0049890378, -0.0453854315, 0.0439558029, 0.0008584659, 0.0181467999, -0.0647828579, 0.0330091491, 0.0082388548, 0.041853182, 0.0507270806, 0.0060552396, 0.0164732803, 0.0137045598, -0.014402207, -0.008721184, -0.0320196263, -0.0065424582, -0.0056140497, -0.0353180692, -0.0080852369, 0.0305512734, 0.0140447617, 0.0212689657, -0.0026780814, 0.0259410068, 0.008232221, 0.0417509563, 0.0240197275, 0.0202762783, -0.0009309968, 0.0115314415, 0.0065222462, 0.018286068, 0.0319323763, -0.0545801148, -0.0232239552, -0.0025009071, 2.659e-7, 0.0633160174, 0.070364438, -0.004181711, -0.0215553604, 0.0354462527, 0.02196257, -0.0098225428, 0.0078209788, 0.0474275574, 0.0063557848, 0.009219382, -0.0215042084, 0.0198759697, 0.0299583878, -0.0799481496, 0.0197865013, -0.1110699475, -0.0569492653, -0.0341030434, -0.0129995868, 0.0310785621, 0.009512309, -0.0131455045, -0.0013838273, -0.0174873993, -0.0212426167, 0.062352147, -0.0037475873, -0.0297146011, 0.0622952133, 0.0625771582, -0.0066828085, 0.0357827023, 0.0184593778, -0.0047313566, -0.0108040655, 0.0488679558, 0.0311095901, 0.00945458, 0.0244310852, 0.0421188921, -0.0557538271, 0.0344470628, -0.0642333925, 0.0405187421, -0.05101531, -0.0338429362, -0.0318201855, -0.0728239417, -0.0245876294, 0.0417388156, -0.0179076232, 0.017116433, 0.0382368974, -0.0470418073, 0.0201389175, 0.0048431628, -0.0105369464, -0.0441016629, 0.0374287516, -0.049466975, -0.0791555196, 0.0004189363, -0.0188696012, 0.0154185239, -0.0658002049, 0.0203803573, 2.253324866e-34, 0.0912188068, -0.01283642, 0.0141966511, -0.0103310058, 0.0350373983, 0.0333701521, 0.0208589323, 0.0163054205, 0.0110115316, -0.0641671866, 0.0004618899 ]
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.0034624184, 0.0284100603, -0.0094267428, 0.0607835241, -0.0543549098, -0.0059270244, -0.000175645, -0.0522801206, -0.0155009385, -0.0100485431, -0.0489242971, -0.0066481624, 0.012257521, -0.0125847897, 0.0146353208, -0.0243122056, 0.0745484903, -0.0777896345, -0.0052724439, -0.0369805172, -0.0194049273, 0.0041429992, -0.0219381228, 0.0247437973, 0.0203215722, -0.0512243807, -0.0570577271, 0.0206749197, 0.0064258776, -0.0367135741, -0.0431698635, 0.0491709784, 0.0185313299, 0.0522985719, 0.0000020356, -0.0637140945, -0.0009477678, -0.0085499305, -0.0233523156, -0.0212291908, -0.0622676872, 0.0144995414, 0.0134184817, 0.0444436297, -0.0095955245, 0.004350516, 0.0373515747, -0.0219185073, 0.0845622048, 0.0669496581, 0.0055468823, -0.0629967973, 0.0380203538, 0.0016886526, 0.032903742, -0.03765494, 0.0461825579, 0.0149048008, 0.0503703952, 0.0176518951, -0.0629533455, 0.0626948178, 0.040018335, 0.0240359046, -0.0265849009, 0.0103518441, -0.0435710102, -0.0377176851, -0.0245525837, 0.0787228867, 0.0278343689, -0.0097224088, -0.0254305359, 0.0252254233, -0.0255156457, -0.007353859, -0.0719265044, 0.0413281098, -0.0083754677, -0.0046963966, 0.0123121468, 0.0080599925, 0.031778831, 0.0286880769, -0.0350021124, 0.0810776502, 0.0161144864, -0.0423284955, -0.0007231502, -0.0148679549, 0.0313814394, -0.0527756996, 0.0432042181, 0.0861587897, -0.0586418174, 0.0192851126, 0.0146105494, 0.0110095646, 0.04372162, -0.0087550161, -0.0085299155, 0.0124744, -0.0478918329, 0.0839610994, -0.0041551497, -0.0041695172, -0.0361939445, -0.0019711074, -0.0216995962, -0.028080171, -0.0298080519, -0.0346584767, -0.0271328166, 0.0086041167, 0.0067813639, -0.004763342, 0.0219934098, 0.0172671154, 0.0065780613, 0.0057342788, -0.0003786043, -0.0140097737, 0.0002442285, -0.0105847092, -0.002506912, 0.0813284814, -0.0577564687, 0.0518138371, 0.0182493944, -0.0522199795, -0.0373717733, -0.000307137, 0.0263081882, 0.0098754345, 0.0264865197, 0.0472616367, 0.0179182664, -0.0297714453, -0.004513415, -0.0272631105, -0.0026695849, -0.0733981654, -0.0071922708, -0.0815988705, 0.0633959994, 0.0040657828, -0.022453865, 0.0220675617, 0.0192691032, 0.0377976857, -0.0151557466, 0.0773773342, -0.0107615767, 0.0253689718, 0.0080871861, 0.019224342, -0.031051917, 0.0487233289, 0.0378556587, -0.0083853295, 0.0294290092, -0.0015570982, 0.0238072146, 0.041470468, 0.0157032758, -0.0109415445, -0.0019405263, 0.0174316242, -0.0188028719, 0.0498933122, 0.0370132029, 0.0812841505, 0.0242330972, -0.0058742114, 0.0221841391, 0.032275591, 0.0060996544, 0.0014623239, 0.0368040092, 0.014488739, 0.0192483068, 0.031074455, -0.0356223062, 0.0461013652, -0.0486177281, 0.0312481206, 0.0751915723, 0.0088165952, -0.0170473997, -0.007094265, -0.0135736326, 0.0147513729, 0.0049014455, 0.0619432554, 0.0521613322, 0.0001551495, -0.041266378, 0.0144016277, -0.0052897357, -0.0010988268, -0.0079689827, -0.0390176997, 0.0895647779, 0.0722978264, 0.0432463288, -0.0445019715, 0.0095970836, -0.0048713405, 0.0196440611, 0.0465667211, -0.008486785, -0.0302976221, 0.012688457, -0.0028906402, -0.0026101307, -0.0009037764, 0.0073178262, 0.0023830959, -0.0293205753, 0.0433356315, -0.001233737, -0.0196484402, 0.0186913423, 0.0189167745, 0.009572898, -0.0411390588, -0.0104764011, 0.0097150076, -0.0012272169, 0.029431168, 0.008190739, 0.0592173114, 0.0150894951, -0.0234200247, -0.0112437522, -0.0114610754, -0.0480911657, -0.0857164711, 0.0451041982, 0.0008309099, -0.0451155975, -0.0006984276, -0.0232799947, -0.0482562631, -0.0059070615, -0.0394019559, 0.0284462124, -0.0271223485, 0.0038599174, 0.0230017081, 0.0111231627, -0.0036483423, 0.0425576568, 0.0240886528, 0.0271285456, 0.0118160378, 0.0068304073, 0.0052501801, -0.0452834517, -0.017246075, 0.0084626107, 0.00408467, -0.022386102, -0.0260461252, -0.0072111334, -0.0709420517, 0.0167577211, -0.0706937239, 0.0159203801, -0.021798145, 0.0282884054, -0.0252777822, -0.0024687694, -0.0143371001, -0.0255612694, -0.0452028587, 0.0015513201, 0.0127099017, 0.0333600268, -0.0081925755, 0.0081605799, -0.0644719452, -0.0191625506, -0.005304391, -0.0417874604, 0.0328000449, -0.0164843164, -0.0262159705, -0.0498844795, 0.0132992016, -0.0820529982, -0.0031941661, 0.0105142184, 0.0032751698, 0.0176380295, -0.0390900858, 0.059950728, 0.0382879637, -0.0090953605, -0.0518602617, 0.0888067111, -0.0232459232, -0.0249391086, 0.0207673199, 0.0007502845, -0.0062820581, 0.0000747928, -0.0136847887, 0.0175778009, 0.0517467484, 0.0093273483, -0.0176756103, 0.009887455, 0.0266769584, 0.0089973649, 0.0311056059, -0.042602893, -0.0178522132, -0.0352511406, 0.0582220033, -0.0057873172, -0.0111172944, 0.0991036221, -0.0252946354, -0.0124825742, -0.0425238945, 0.0131609067, -0.0388209522, 0.1035609692, -0.0262161493, 0.0065907254, 0.0349995196, -0.0022816269, -0.0424432494, 0.0061124121, 0.017894676, -0.0472218283, -0.0019490676, -0.0354814492, 0.0404237323, -0.0082735037, -0.0198526233, -0.0305908415, -0.0045958348, -0.0459484644, 0.0075829006, -0.0618381426, 0.0231957212, 0.0183337461, 0.0042257044, 0.0565279312, 0.022868868, -0.0304048229, 0.0088965548, -0.0020967035, 0.0805531964, 0.0314603001, 0.0245584678, 0.0485940538, -0.0224530995, 0.0774866119, 0.0218003206, 0.0348395891, 0.0385342576, 0.0242855381, -0.0022590512, 0.01906587, 0.0053982283, -0.0334477089, 0.0442245156, 0.0564446263, -0.0920950398, -0.0208217315, 0.090154469, 0.0643621683, -0.0335773341, 0.011636287, -0.0502825044, 0.0046903188, 0.0122270901, 0.0322536789, -0.0664043874, -0.0400712751, 0.0075878417, 0.0169899892, 0.0363875739, -0.0039865598, -0.0080099683, -0.09175504, 0.0258205626, 0.006722691, -0.0868818611, -0.020082565, -0.0613963492, 0.0073457118, 0.0242744479, -0.0097048767, 0.0395989418, -0.0036992694, -0.0119099161, -0.008823582, -0.0096804723, -0.0392533801, 0.0553413182, -0.0478638038, 0.0432701148, 0.0785036236, 0.0159975234, -0.0142244287, -0.0800826252, 0.0250611138, -0.0334322602, -0.0127586164, -0.0134312063, -0.0287241619, 0.0220499616, -0.0003037363, 0.0013876375, 0.0409992971, -0.0076058391, -0.0270500034, 0.0323799103, 0.1113833115, -0.0159102641, -0.020705035, -0.0187136717, 0.010639389, 0.0012519562, 0.092940785, 0.0448169224, -0.0199502017, -0.0289965365, -0.0357035659, -0.0477171279, -0.0484677628, -0.0264973342, 0.0190639012, 0.0184696391, 0.0005838283, -0.0636071786, 0.0063131242, 0.0584534854, 0.0423039906, -0.0100135729, 0.0329505354, 0.0048371577, 0.0166344643, -0.0464823022, 0.0489511192, -0.0361649692, 0.0461171307, -0.0333916731, -0.0267429519, 0.0529272519, 0.011767651, -0.0273010898, 0.0143908812, -0.0759451836, -0.042189654, -0.0179824941, 0.0419910103, 0.0206072852, 0.0299882554, 0.0058251056, -0.013628182, 0.0158577301, 0.0098544639, -0.0040009329, 0.0220243465, 0.0222789142, 0.0428369865, -0.010045846, 0.0379256718, -0.0591034032, 0.0021323883, -0.0246066507, 0.1031145677, 0.011855674, -0.013158909, 0.0243847817, 0.0107423887, 0.0151730245, -0.024053596, 0.0356492586, 0.0142030362, 0.0083064167, -0.0237203799, -0.0129812844, -0.0109456731, 0.0099832853, 0.0059848726, -0.0131738391, -0.0016915777, -0.0621615164, 0.0001042163, -0.0335201286, -0.023799317, 0.0203995164, 0.0585966632, -0.0440884568, 0.0055695805, -0.0323784463, -0.0213689059, -0.0067564254, 0.0311670471, 0.0500573516, 0.0124603482, 0.06464158, 0.0253556445, 0.0030457419, -0.069224216, 0.0097567625, -0.0575259551, -0.0637575835, 0.0117911762, 0.0284741074, 0.0443642959, 0.0276652351, -0.0272095706, 0.0021184019, -0.0116620203, -0.0057233972, 0.0102103828, 0.0050015254, -0.0655541047, 0.0642971322, 0.0487542823, -0.0097985715, 0.0221088193, 0.0731307194, -0.0205428563, 0.0214574225, -0.0182038918, 0.0270601287, -0.0107818106, -0.01494045, -0.0867041126, -0.0059620147, -0.0177688804, -0.0015600547, -0.0627641901, -0.0811668113, -0.0089244489, 0.0008577714, 0.0136438245, -0.0141659779, 0.0298463833, 0.0404742919, 0.0367623717, -0.0299367364, 0.0098155914, 0.0119741783, -0.0036995611, -0.0433334038, -0.0195624642, -6.49598529e-33, -0.0316464901, -0.0398493558, 0.0307509545, -0.04147074, -0.0405667834, 0.0000943329, -0.098670125, -0.0170386694, -0.0181896221, -0.0287966169, -0.0157509353, -0.0089034811, 0.0008126576, 0.0147964256, 0.0408747159, -0.0383220427, 0.0305653084, -0.0107225124, -0.0305947196, -0.0163140278, 0.0344124176, 0.0334824733, -0.0035806422, 0.0100662559, 0.0208475031, -0.0301166363, -0.0302089192, 0.0543695278, -0.056486927, 0.028470451, -0.0339835286, 0.0075994874, 0.0070717172, -0.0644787028, -0.0123276338, 0.0543128289, -0.0857010409, -0.047662016, 0.0196232684, 0.0128109986, -0.0392648652, -0.0053065792, 0.0230315886, 0.0023826195, 0.0434131175, 0.0205244087, -0.0019124534, -0.0379427671, -0.0133877741, -0.0515305772, -0.0460914671, -0.0139489146, -0.0145914461, -0.0698983297, -0.00924371, 0.0798469111, -0.0316994935, 0.0229368359, -0.0333264284, 0.0324820727, 0.0278589278, 0.005433497, 0.0634983554, 0.0222249385, 0.0188764557, 0.0265064575, 0.0225360915, -0.0520619527, -0.0633602515, 0.013331715, 0.0187598132, 0.0100792982, 0.0423951708, -0.0287352782, 0.0475287773, 0.0511646867, -0.0349637456, -0.0029244092, 0.0224532448, 0.0087499013, -0.0119488863, 0.0224705227, -0.0276002493, -0.0435970277, -0.0225981362, 0.0227115694, -0.0293864068, -0.0279057696, 0.0251608174, -0.0307969432, -0.0313383155, -0.0379736722, 0.0437877737, -0.046793852, -0.0222051423, -0.0089349244, -0.0068485066, 0.032692004, -0.0136800967, 0.0229317639, -0.0368846394, 0.0297570042, 0.0443821065, -0.0118020661, 0.0382811986, 0.013823634, 0.0041880421, 0.0354101062, -0.0472122133, -0.0168675724, -0.0232639071, -0.0358272791, -0.0042377361, 0.011938246, 0.0525870137, 0.029953165, -0.0131550748, 0.0373623297, 0.0047371774, 0.0106021939, -0.0374735743, 0.0417796262, -0.0556590073, 0.045393616, -0.0170929655, -0.0114438748, -0.0260583777, -0.0065259598, -0.0634362698, -0.0705623105, -0.0185914487, 0.0449822173, 2.97e-7, 0.0138028516, 0.0219120253, 0.0153142689, 0.0386345163, 0.0265506227, -0.0035942229, -0.0496295244, -0.0458047725, 0.0112499399, -0.0388864353, 0.015593037, 0.045514483, 0.0642293245, 0.0470899679, -0.1433917433, -0.008363219, -0.0659193471, 0.004546307, -0.0913006514, -0.0349596478, 0.0390376896, 0.0952062309, 0.0173913427, -0.018916769, -0.0028192399, 0.0054195146, 0.0245235208, 0.0428052247, 0.0094716744, -0.0419634134, -0.034506917, -0.0077444604, -0.007270182, 0.0187473968, -0.0120904949, 0.0168677978, -0.031158546, 0.0144053577, 0.0272838473, -0.057925716, -0.0065651564, 0.0084797312, 0.0221044198, -0.0490135662, 0.0954453424, -0.0268276967, -0.0335509367, -0.0065572336, -0.0217797384, -0.0154801542, 0.0174302272, -0.0021486268, -0.0118783033, 0.0047524753, -0.0098588308, -0.0284670927, 0.0126041612, -0.0448714383, -0.0172408018, -0.0200922675, -0.0360339284, -0.0313312188, -0.01272339, -0.0078438278, -0.0002373666, -0.0796151161, -0.0233329721, 2.444300683e-34, 0.0517453738, -0.0638956428, 0.0267694816, 0.0652038753, -0.0069533456, 0.006062476, 0.0010157753, 0.0065544993, 0.0259461533, -0.0555383042, -0.0394531488 ]
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.0064004213, 0.1254170984, -0.035972096, 0.0979980156, -0.0590223372, -0.0092192702, 0.0417561233, 0.0245467592, 0.0107064173, -0.0058796997, -0.0368880518, 0.0503909625, 0.0091915634, -0.0025939525, 0.0171295051, 0.035720937, 0.0255874638, -0.0166407488, -0.040391691, -0.0398667753, -0.0460624024, 0.0100951837, 0.0324901454, -0.0175334197, 0.049799487, -0.0312408414, -0.0274299122, 0.0069222623, 0.0087925801, 0.0414614528, -0.0119649488, 0.0362585336, -0.0036641969, 0.0754497945, 0.0000020188, -0.0256233457, -0.0842989534, 0.0628683344, -0.0595731623, 0.0248100422, 0.021775458, -0.0171800349, 0.01859143, -0.0057774866, -0.0372992679, 0.0533361025, 0.035337653, 0.0031517607, 0.0653088242, 0.0678107813, -0.000366498, -0.0045656394, 0.0159436688, -0.004809496, -0.0181823391, -0.0714136586, -0.0081995213, -0.0533729345, -0.0303243287, 0.0178910904, -0.0032312658, 0.0299552437, 0.0143165523, 0.0551392213, -0.0254674405, 0.0094864033, -0.0159323104, 0.0010675722, -0.0352111459, 0.0433817692, 0.0079409834, -0.021723263, 0.0494097695, 0.0155848982, 0.0245605689, 0.0256194975, 0.0153982127, 0.0451070629, 0.012904672, 0.0186483953, 0.0461356752, -0.0271401126, 0.0413226858, -0.0011178891, 0.0139655173, 0.0902990252, 0.0190727711, -0.0094491299, -0.0361154042, -0.0348021798, -0.0334700383, -0.0571696386, 0.0261618961, -0.0001122726, 0.0335670598, 0.0064865281, -0.0574173555, -0.0309065562, -0.0021335627, 0.0034483313, 0.0598410331, 0.0130567001, 0.0283013824, 0.0097836284, -0.0346770771, 0.0421491042, -0.0452266112, 0.0517439991, 0.02533691, 0.007910192, 0.0091307964, 0.0050182058, -0.0281323288, 0.0849878266, -0.1016795784, 0.0117845582, -0.0205348432, 0.0350974351, -0.0155416979, 0.0389374048, -0.009407239, -0.0013131821, -0.0208542012, -0.0348208025, 0.0167876892, -0.0940274298, 0.0034422847, 0.0027738248, -0.0044881464, -0.0980708823, -0.03422435, -0.0212514643, -0.0333148316, -0.0178080183, -0.0024547556, 0.0991281122, 0.0509263091, -0.0356756635, -0.0027724183, -0.0882729292, 0.0177671444, -0.064560771, -0.0066159917, -0.0415679663, 0.0157876238, -0.0083854869, 0.0049474225, -0.0899316296, -0.0098550152, 0.0102498848, -0.0308891945, 0.0716832504, -0.0356019624, -0.0038653894, -0.0648472607, 0.0247009266, -0.0015136115, 0.0682120025, 0.0240019877, -0.0110280998, 0.0646125525, -0.0242311545, 0.029125277, 0.0190244447, 0.050713636, 0.024970796, -0.0545329116, 0.0358097181, 0.0196787808, -0.0151365679, 0.0008496367, 0.0064271209, 0.0080186781, -0.0604598187, 0.0257326756, 0.0481135733, -0.0073753865, 0.0354477763, -0.0468924418, 0.0149208121, -0.0406288877, 0.0212378036, -0.0363356806, -0.0016384738, -0.0771181136, -0.0174199063, 0.0060798265, 0.0437599346, 0.010466286, -0.0345009714, -0.010417236, -0.0338294618, -0.0023261523, 0.0242324658, 0.0041376189, -0.0060252775, -0.0077768667, 0.0826416835, 0.0157136898, -0.037057776, -0.0536538623, -0.0734948143, -0.003008218, 0.039426595, 0.0515441075, 0.0118658254, -0.0069241198, -0.0343363658, -0.0178017709, -0.0015576179, -0.0381600708, 0.0267142318, 0.0854174346, -0.0378375612, -0.0336614996, -0.0426597372, 0.0418224037, 0.0073718303, 0.0131247295, -0.0196091142, 0.0205454826, -0.0471731573, 0.041755233, 0.0276490599, -0.044463899, -0.0317516141, 0.0341138281, 0.0156904161, 0.0669730231, -0.0061076153, 0.0018839892, -0.0023778582, 0.0342284404, 0.0043725008, -0.0028643981, -0.0462071896, 0.0455372445, -0.0115745841, -0.0286216922, -0.0334350988, 0.0149235232, 0.0314447023, -0.0316594988, -0.0134576773, 0.0025362503, -0.012051315, 0.0442023277, -0.0114875296, -0.0130359763, -0.0034177063, 0.0572711416, -0.0224532131, -0.0092488173, -0.0477844737, 0.0459708497, 0.0092650149, -0.0302569121, 0.0134153906, -0.0383419916, 0.0145788742, 0.014094797, 0.0139823146, -0.0104214326, -0.0481759086, 0.0213774759, 0.0053740051, -0.0424803384, -0.0074964608, 0.0491581447, -0.007161851, 0.0240269843, 0.0286645275, -0.0010842469, -0.0292194169, -0.0174412951, -0.0066698552, -0.0176246893, -0.0354316384, 0.0169618968, 0.0059050987, 0.0082007879, -0.0472952724, 0.0521856397, -0.0252245013, 0.0277627893, 0.0474751778, -0.0649060011, -0.0063995156, -0.0488301218, 0.0550865941, -0.0239429083, 0.0101821739, -0.0067874407, -0.0047225188, -0.0187882613, 0.0060185664, -0.0297377631, 0.0696850047, -0.0598220453, -0.0235423744, 0.0299470089, -0.0283199623, -0.0639096797, 0.0097007891, -0.0021299887, -0.0556757674, -0.0491969362, -0.0112677384, -0.0087183686, -0.0013681358, -0.0023178093, -0.0478818677, -0.0323982351, 0.0522058085, 0.0216543321, -0.0314166956, 0.0126456227, 0.0172689091, -0.0139359981, 0.0603810698, 0.0204833727, -0.078669101, 0.0594729744, -0.0179292727, 0.0137741547, -0.0076988433, -0.0347274467, -0.0316203162, 0.0175448172, -0.0334870927, 0.0083384505, 0.0119001865, -0.0239765365, -0.014813886, 0.0184265804, 0.0458385125, -0.0575555153, -0.006841308, -0.0142460894, -0.035490904, 0.0075639114, -0.0388769172, -0.0218034852, -0.0570726655, -0.0172971245, -0.0267667379, 0.0227549654, -0.0150168119, 0.019807931, -0.0099337222, -0.0132977106, 0.0134985037, -0.0088099279, 0.0093531208, -0.047982499, -0.0331567377, -0.0072269458, -0.0185387172, 0.0413024724, -0.0182934124, -0.0038107983, 0.042110499, 0.0422916301, -0.0216569472, 0.0291241072, -0.0102989189, 0.058965452, -0.0001586445, -0.0418260805, 0.0479055867, 0.0370774418, -0.0347518697, -0.0163762663, 0.0562038198, 0.0006891213, -0.0100911949, 0.0030498197, 0.0309652351, 0.0194773581, 0.0196683556, 0.0211969055, -0.0871260613, -0.00944022, 0.0624880269, 0.0706184134, -0.041945301, -0.0534726717, -0.0473697707, -0.1033495292, 0.0373890698, 0.0170291085, 0.037651021, 0.0077669327, -0.0468242019, -0.00713951, -0.0415836275, 0.0101340087, -0.0436386019, 0.0053166579, 0.0005397749, -0.0158268996, 0.0076308348, -0.0195137914, -0.0183049049, 0.0348986201, 0.0477526672, 0.0086565642, -0.0027866133, -0.0144811915, -0.0351311639, 0.0352987051, 0.0053191343, 0.0032938886, -0.0274519008, 0.0310116876, 0.0203772727, -0.0125780217, -0.0009968507, 0.0402033851, -0.0070133936, 0.0107277082, -0.0014489517, 0.0390059948, -0.0194686037, -0.0148118623, 0.0410666913, -0.0388302431, -0.0175206773, 0.0677990466, -0.0101354057, -0.0068193018, -0.0309177618, -0.0184961334, 0.0114501771, -0.0070964242, 0.0103932815, -0.0021710934, 0.0074893297, -0.0269330852, 0.0010311309, 0.010585146, -0.0084943874, 0.0333340019, 0.008028225, 0.0342073366, 0.0032615918, -0.006234596, -0.0485627279, -0.0080913156, -0.058246702, 0.0158356521, 0.0005756235, 0.0173494611, 0.0230401829, 0.027264541, -0.0120289288, 0.0223292392, -0.074272342, -0.0692123771, 0.0083566215, 0.0439908206, 0.0305629205, 0.0481023751, -0.0194144398, -0.0595040433, 0.0448318012, 0.0710624009, -0.0842093825, 0.0245982427, 0.047379598, -0.0125080347, 0.0282389633, 0.051702898, -0.0233570039, -0.0469819605, 0.0777918175, -0.0162573606, -0.0424196273, -0.0370087549, 0.0113981385, 0.0685784444, 0.0389133766, -0.0117162801, 0.0137539729, -0.0250439811, 0.0653604418, -0.0265070964, 0.0105328625, -0.0410961099, 0.0142965345, 0.0256972779, -0.0243350472, 0.0041799168, 0.0085065383, 0.0245291982, -0.0078311404, -0.0485360362, 0.0379402675, 0.0204412751, -0.0423660092, 0.0295334086, -0.003521566, -0.0012447119, 0.0838500038, 0.0342344679, 0.0531236157, 0.0024911375, 0.021701755, 0.0083895959, 0.0509788319, -0.0204824582, 0.0550451949, -0.0429917537, -0.0559006296, -0.0101924594, 0.0437259004, -0.0041085375, 0.0539643727, -0.0040980978, -0.0192109291, -0.0235288609, 0.0036021036, 0.0499878153, -0.0262108762, -0.0275970716, 0.0154325422, -0.0087784193, -0.0256828256, 0.0226524547, 0.0695048273, 0.0543013625, 0.0442357361, -0.0126466127, 0.0119805019, -0.0689103454, -0.0306990556, -0.0132270688, 0.0345804952, 0.0042125005, 0.0258859638, -0.0372219384, -0.0857653692, -0.0126378499, -0.0267148688, 0.0180922933, -0.0081195477, -0.0305871349, 0.0281572938, 0.0124152815, -0.0497814342, -0.083477743, 0.0069226944, 0.0355994068, -0.0585199334, -0.0170187186, -6.112437646e-33, -0.0087373191, -0.0468671508, -0.02974049, 0.0119446656, 0.0449553616, 0.0204099286, 0.0281179007, 0.0038428307, 0.0119668236, -0.0361745246, -0.0475555249, 0.0099328589, 0.0279679075, -0.011995296, -0.0213211644, -0.0184716694, -0.0019802256, -0.0459808223, -0.0052237627, 0.002656224, 0.0037874784, 0.0439776592, 0.0529685318, -0.0571634248, 0.0461654998, -0.0342783779, -0.0576007329, 0.0197017137, -0.0905297995, 0.0370574407, -0.0137301739, -0.0268335789, 0.0057372889, -0.0154181458, -0.0188837945, -0.0338281244, -0.0191943627, -0.0124142049, 0.0255395658, -0.017980773, -0.0052935178, -0.0805941448, 0.0639878362, -0.0170918424, -0.0358238034, -0.009151266, -0.0254218411, -0.0512629934, -0.019480817, -0.053679347, 0.0439039618, 0.0143885221, -0.0238100421, 0.0249393359, 0.0914802402, -0.036207132, -0.0203731321, 0.0011828663, -0.0265317298, -0.0032388547, 0.0366076529, -0.0105642378, 0.0569735542, -0.0146470414, 0.0243907198, -0.0021369141, 0.0357231759, -0.0020067862, 0.0059516821, -0.0048930109, 0.0095989471, 0.0642314106, 0.0145490924, 0.031495709, 0.0551688261, -0.0016692142, -0.0313040353, -0.0059774974, -0.035968367, -0.0228952877, 0.0518066995, 0.0085448008, -0.0542633459, 0.0110771535, -0.0597561263, -0.0297532603, -0.0382974893, 0.0204319675, -0.0010811107, 0.0039494536, -0.0063040634, -0.0221141875, 0.0085762087, -0.078138046, -0.0159997605, -0.0294171926, 0.0468814857, -0.0256251059, 0.0137461945, 0.030545963, -0.0031625961, -0.0191809628, -0.016544288, -0.0305927135, 0.0525235087, -0.0206641294, 0.0418322235, 0.0076392465, -0.0903600901, -0.013404889, -0.0302660558, 0.0561615154, 0.0322119854, -0.006282114, 0.0369768813, -0.019091608, 0.0081291916, 0.0259562936, 0.0236909539, 0.0442674942, -0.0352799892, 0.0455117412, 0.0178430602, 0.0029970037, 0.0128931543, -0.0136243915, 0.0546310805, -0.0000644354, 0.0525458418, 0.0341227166, -0.0180101618, 0.0209953357, 2.798e-7, 0.024563903, 0.0192306824, -0.0158274211, 0.0128695425, 0.016934162, 0.0250820611, -0.016924385, 0.0229528882, -0.0369593538, -0.0451537557, -0.0317155235, 0.0028313329, 0.0983154625, 0.006491018, -0.0321582481, 0.0037840698, 0.0182025153, 0.0060963701, -0.0554241687, -0.0070043048, 0.0120979864, 0.0918631777, 0.0360757336, -0.0032055776, -0.0219955444, -0.0136877894, 0.0233191345, -0.0774321258, -0.0188152846, 0.0059179775, 0.0505344756, 0.0730189756, 0.0090308776, 0.0207193866, -0.0125308093, 0.0256907027, -0.0522140302, 0.1129164472, 0.0305185243, -0.0404487737, 0.0062853433, -0.0893543437, -0.0376822129, -0.0089251967, 0.0653118268, 0.0289710741, -0.0488255359, 0.0048165303, 0.0074933581, -0.0761029422, 0.0456698798, -0.0060722455, 0.0329268984, 0.0301340315, -0.0126757054, -0.0175836291, 0.0112658236, -0.0556780696, -0.0126544517, -0.0202863906, -0.046640344, -0.0282102432, 0.0119134961, 0.0089839706, 0.0432768203, 0.0015812281, 0.0283870306, 3.014451718e-34, 0.0209698845, -0.0295021106, 0.017334437, 0.0605404861, 0.0360490717, -0.0264398456, 0.0280104149, 0.0058126296, 0.0085350145, -0.0911025256, 0.0078753121 ]
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.0340804793, 0.0369552709, -0.014815663, 0.0410879329, -0.0265455283, -0.0062705739, 0.1075658351, 0.0347295702, 0.0175760891, -0.0045654541, 0.0237314161, 0.0278347954, 0.035782557, 0.0097339693, 0.0276186019, 0.037742272, -0.0029304805, -0.0251404438, 0.0243151169, -0.0085699558, 0.017978074, 0.0126355132, 0.0172053855, -0.010276543, 0.0331159942, -0.0461309068, 0.0123539865, 0.0097494423, 0.0101345005, -0.0148946047, -0.0528798625, 0.0172220357, -0.0283430163, 0.0214122683, 0.0000020285, -0.0233543273, -0.0154123949, 0.0573046617, -0.0553588606, 0.0272504445, 0.0341879651, 0.0634530336, 0.0124647962, 0.037312571, -0.0451541804, 0.0445044003, -0.0150350938, 0.068659611, 0.0340267271, 0.0444262661, -0.0092601795, -0.008919131, 0.0000036983, -0.0148811322, 0.0508172661, -0.0231759138, -0.0119052827, -0.0929035097, -0.047413744, 0.0575894304, 0.0179198664, 0.0516957007, -0.0095137171, 0.0520186722, 0.0348574743, 0.031673912, 0.0014237356, 0.0150860781, -0.0007733368, 0.0218581613, 0.0306763984, -0.0261612386, 0.0588623323, 0.0271474924, 0.0212985221, 0.0145097608, -0.0018979136, 0.0395890251, -0.0480438247, -0.0008752174, -0.029934356, 0.0176964141, 0.0377871282, -0.0327898972, 0.0146836685, 0.0023456553, 0.0315711685, 0.0014576343, -0.0587640926, -0.0583519712, 0.0076408642, -0.0637288839, 0.0408263318, -0.0095046656, 0.0921161622, 0.0077199386, -0.0910485089, -0.0253174324, -0.0081666624, -0.0287558716, 0.0275819395, -0.035986118, 0.0345268212, 0.0150543088, -0.0543121099, 0.0088128299, -0.0081808735, 0.0368255228, 0.0257444642, 0.0014921051, 0.0537294745, -0.0313853212, 0.0324949175, 0.0599150211, -0.0419228896, 0.0351547934, -0.0320333093, -0.015432491, 0.0015173948, 0.0144504458, -0.0085810525, 0.0098929377, -0.0301192254, -0.0192966107, 0.0109218778, -0.0795646533, 0.0218674075, 0.0149910552, -0.0019420531, 0.0039243358, -0.0025772688, -0.0095715187, 0.0106460555, -0.003087302, -0.0123531772, 0.1277300119, 0.0141936783, -0.0365696959, -0.0356658101, -0.0545444787, 0.0401361808, -0.0037355754, -0.0017555445, -0.0394796357, -0.019319348, 0.0008205037, -0.0028207956, -0.1106517017, 0.0181655381, 0.0198471043, -0.0173519608, 0.045214463, -0.0127034355, -0.0105934329, 0.0322171077, 0.0531488433, 0.0335721113, -0.0164293926, 0.0491816625, 0.0607681684, 0.0535350069, 0.0167507771, 0.0432351008, 0.0076813055, 0.0463132896, -0.0121558579, 0.0046472331, -0.0103758471, 0.0147346817, -0.0557036847, -0.0310549922, -0.0017957874, 0.0136112524, -0.0481959209, 0.0926760659, 0.0487043597, -0.0131660216, -0.0062171305, -0.0624236092, 0.0500860661, -0.0180143528, -0.0677904189, -0.0314182378, 0.0345178917, -0.0987579823, -0.0483389571, 0.0204008222, 0.0249927733, -0.0187443364, -0.0320321992, -0.0023045293, -0.0593871884, 0.038262926, 0.0309066046, -0.0320294201, 0.0409008861, 0.0172392204, 0.0225512404, -0.0004903714, -0.0543383956, -0.0242368225, -0.0389484242, 0.0183001906, 0.0599592961, 0.0359655656, 0.0225161314, 0.0459379405, -0.0351674668, -0.0106576113, 0.0246494319, -0.0668590963, 0.0269777551, 0.0605795905, -0.0550981723, -0.0395713374, 0.0009024381, -0.0041421829, 0.0160529464, 0.0134441592, 0.0196377113, 0.0369660221, -0.0222152546, 0.0191759747, 0.0098740263, -0.0346813351, -0.0631724447, 0.0705298409, 0.0177061036, 0.0086167445, 0.0376546681, 0.021121785, 0.0048297592, 0.0070683118, -0.0160008483, -0.0083080987, 0.0061845602, 0.0424569063, 0.0124457711, -0.0267735086, -0.0385986567, 0.0195341017, 0.0271594897, 0.001727151, 0.0137523515, 0.0194466319, -0.0315256529, 0.0341084637, 0.0109266201, 0.0144367293, 0.0082376376, 0.0423003286, -0.0189435072, -0.0007665025, -0.0111135952, 0.0093582394, -0.0386462137, 0.0226018801, 0.0053728325, -0.0086392146, 0.0007693282, -0.0532243922, -0.0189252086, 0.0308910105, -0.0142564047, 0.0073653874, 0.012123785, -0.0477805287, -0.001348092, 0.0016585789, 0.0089896219, 0.000562895, -0.003268657, 0.0361946337, 0.0002157751, -0.0164678618, -0.06891606, -0.0701627955, -0.0537151508, 0.0171482041, 0.0371394232, 0.010496472, -0.0460028872, 0.0573417395, -0.0002243371, 0.0010858073, 0.0394864306, -0.01171833, -0.0014049102, -0.0302401576, 0.0245476719, -0.0419841819, -0.0020298024, -0.0368001871, 0.0068304432, 0.0252003297, 0.034719035, -0.0251033921, 0.0218511857, 0.0286481474, -0.0180087704, 0.0032783591, 0.0107297851, -0.0377376415, -0.0335000232, 0.0110550579, 0.0302564707, -0.0147330035, -0.0764406323, 0.0145000098, 0.0154986475, 0.0371764563, -0.0007933684, -0.0049350425, 0.0627367124, 0.0058011338, -0.0486474968, 0.0043933932, 0.0361732133, 0.0235650465, 0.013688284, -0.0208346844, -0.0269594658, 0.0455288887, -0.0358444452, 0.0188616514, 0.0131675387, -0.0384877063, -0.0031440768, 0.033885669, -0.0218645111, 0.0236989949, 0.0822331831, -0.047829628, 0.0025783046, 0.0222644806, 0.0461004935, -0.0383588597, -0.0036529261, 0.0012259914, -0.0441209264, 0.0300306771, -0.0266909525, 0.0085692303, -0.1340059489, 0.0351193249, -0.046469532, -0.0491992384, -0.0309644286, -0.0055900957, -0.0342854075, 0.0362183675, -0.0272107553, -0.0237316042, 0.0023594508, -0.0250018295, -0.0052181855, -0.0406989008, -0.0911703706, -0.0161870364, 0.0001062723, -0.0478590578, 0.0677021667, 0.0352321081, -0.0218533296, 0.0265491772, -0.0364586376, 0.0012305859, -0.0042644022, -0.0629984811, 0.0290865004, 0.0455583036, -0.0101991165, 0.0069753742, 0.0402608216, -0.0251927916, -0.0374511369, -0.0133251054, 0.0289133787, 0.0078735845, 0.0115697645, -0.0192966275, -0.0934430882, -0.0136371758, -0.0095479134, 0.0569295734, -0.0355219692, -0.0111644641, -0.0361321494, -0.0294680223, -0.0413705297, 0.0208476484, 0.0381187089, 0.0242737941, -0.0599956922, -0.0172770265, 0.0260661803, -0.039636191, -0.0625239909, -0.0173532516, -0.0001818794, -0.0198206268, -0.0504337437, 0.0099103972, 0.0039390088, -0.0047270786, 0.0402596518, 0.0372304134, 0.0203228779, -0.0180572104, -0.0198778715, -0.0600571372, 0.0247786772, -0.0195151586, 0.0089110453, 0.0565235354, -0.0146124121, -0.0028026006, -0.0497171842, 0.0452932641, 0.0533690192, -0.0197104514, 0.0224220585, -0.0376778729, 0.0114604905, -0.0037825205, 0.0123923616, -0.0210929904, 0.0191872865, 0.0341147743, -0.0261433776, -0.0438885577, -0.0325547643, -0.0580365025, 0.05208987, 0.0037197354, -0.0235103406, -0.0089496523, -0.0130164633, -0.0628289431, -0.012604773, 0.0334177315, -0.063071847, 0.0128072314, 0.0558585376, 0.0557454824, 0.0182204824, 0.0149733089, -0.0395817757, -0.0427204147, -0.071794413, 0.0368805267, 0.0114212818, 0.030509375, 0.0268997848, -0.0383332148, -0.0030106173, 0.068090342, -0.0756225586, -0.0413876064, 0.0105094071, 0.0139666367, 0.0206300542, 0.0672768727, -0.0364220031, -0.0841215327, 0.0728115663, 0.0203592237, -0.0323473699, 0.0479847193, 0.051583197, 0.0140024051, 0.0030450644, -0.0115328599, -0.0310928188, 0.0004393965, 0.0593637861, -0.066279076, -0.0763630569, -0.0382142849, -0.0543056466, 0.047811877, -0.0092319865, 0.0195623338, 0.0393977948, 0.0038847767, 0.0620169342, -0.0352507941, 0.0252835359, 0.0153222987, -0.0324703194, -0.0014266346, -0.0000085815, 0.0209978502, 0.0019902054, 0.0109112561, 0.0000318619, -0.0115532931, 0.0022830248, -0.0107220663, 0.0310530905, -0.0053103138, 0.0097553143, -0.030205477, 0.0347218066, 0.0538415387, 0.0208434351, -0.020787796, -0.0083677238, -0.0019024969, -0.000507699, -0.0204127319, 0.0487177111, -0.0292719454, 0.0228603538, -0.0137178656, 0.0645155609, -0.0411294624, 0.0640931576, 0.0010740383, 0.0135365725, 0.0327421613, -0.0179288518, 0.0295927413, -0.0599049106, -0.0244557858, -0.0172076821, -0.0232039075, -0.0177097153, 0.04219817, 0.0476931296, 0.0450113751, 0.0289275888, -0.0248892196, -0.0236071032, -0.0481759645, -0.0182915591, 0.033724986, 0.0460769534, -0.0044940705, -0.0538175665, -0.0275620874, -0.041480206, 0.0387238823, -0.0293689854, 0.030455498, -0.0245151687, -0.0333372764, 0.006073432, -0.0125727579, -0.0319163688, -0.0621097498, -0.0060139634, -0.001743409, -0.0432194881, 0.0240795612, -5.255836913e-33, 0.0011032639, -0.0330431126, -0.015662536, 0.0639733598, 0.034339685, 0.0392672308, 0.0136005459, -0.002396872, 0.0064574094, -0.0502867661, -0.0536518395, -0.0029331199, 0.0047437157, 0.0210542548, -0.0276642498, 0.0026555406, 0.0252451431, 0.0059736916, 0.0024353478, 0.0435343273, 0.0616222471, 0.0012799796, 0.0027330238, -0.1086204574, 0.0419498309, -0.0479704179, -0.0821428597, -0.0268394742, -0.0259616245, 0.0310466792, -0.0189275108, -0.0299253389, 0.005713949, 0.0168109294, -0.0055276295, 0.0313185714, -0.0436160341, -0.0555024967, 0.002095968, 0.013058072, 0.0361149088, -0.082133621, 0.0279075839, -0.0383221097, -0.0542234555, 0.0145491054, 0.0159120709, 0.0003722406, -0.0076791323, -0.0386661701, 0.027250085, -0.0019193471, -0.004136818, 0.0217150878, 0.0482647493, -0.0209672861, 0.0054651881, -0.0443042777, -0.0852949172, 0.0282403715, 0.0177906994, -0.0384668112, 0.00519459, 0.0233418401, 0.0168209374, 0.0425895564, 0.0553713888, 0.0126954187, -0.0048840102, -0.0015854363, -0.0142554389, 0.0234073792, 0.0392206758, 0.1002474874, 0.0160901006, -0.0333738737, -0.0414933078, 0.0336117037, -0.0207962226, -0.0644796714, 0.0585945621, -0.0009281821, -0.0732142255, -0.0209499765, -0.0443275236, -0.017058257, -0.0278214496, -0.0501950495, -0.0133370683, -0.0000986956, -0.0529093482, 0.0395510942, -0.0125375427, -0.0498810709, -0.0586407557, 0.0007137607, 0.0736850575, 0.0259648692, -0.0319618806, -0.0198164396, -0.0018955402, -0.0041906247, 0.0200728029, -0.0285369493, 0.0315559171, -0.0092631504, 0.0461353362, -0.015350312, -0.0860649422, -0.0577087589, 0.0029362564, 0.0303666182, 0.037810754, -0.031386923, 0.0070561995, -0.0066408943, -0.0221349169, 0.0356980339, -0.0006433412, 0.0177578758, -0.0304749422, -0.0045157322, 0.0194244366, 0.0080336053, 0.0010262051, 0.0050770645, 0.0017991192, -0.0001946722, 0.061255388, 0.0060620951, 0.0083176875, -0.031769529, 2.773e-7, -0.0232070647, -0.0218756404, 0.0025276463, -0.0132001834, 0.0084605077, 0.0926041454, 0.0647376701, 0.0628174841, -0.0301430393, 0.0018198728, -0.0513471179, 0.0041045519, 0.0480282716, 0.0279034097, -0.0456037447, 0.0085483128, 0.0260881316, 0.0215575695, -0.0327438563, 0.0087435711, -0.0131412577, 0.0431433581, 0.0875072703, -0.0331032015, -0.0386039503, -0.0162095912, 0.0296050049, -0.0441441461, -0.0410922654, 0.0000039923, 0.0197280124, 0.030979922, 0.0137232263, -0.0050731585, -0.033550635, -0.030209532, -0.016981598, 0.0910531729, 0.0046604248, -0.010104564, -0.0036614204, -0.06029246, -0.0226084646, 0.0018763613, 0.0562527776, 0.0872494429, -0.066986613, -0.0032310272, -0.0267153159, -0.0493615083, 0.0188591555, 0.0045863949, 0.0035195674, 0.0109040728, -0.0007466989, 0.0010089211, -0.0103435377, -0.0605396032, -0.0328802839, -0.064007163, 0.0087008299, -0.013143559, 0.0037790169, 0.0723879337, 0.0564509332, -0.0509766005, 0.0523244478, 2.529629634e-34, -0.0325659439, -0.0113882916, -0.0245472975, 0.0590055808, 0.0302404482, -0.0026583064, 0.0545384474, 0.000942653, 0.0310093798, -0.0440370105, -0.0027241721 ]
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.0008998678, 0.0532992668, -0.0267223716, 0.0480119325, -0.0232768357, 0.0026218784, 0.0503155552, 0.0140420981, -0.0028715644, -0.0122666042, -0.0238152444, 0.006959768, -0.0210285429, -0.0201261919, 0.0260713696, 0.0354478173, 0.0276414473, -0.0447784998, -0.0088959076, 0.0319653861, -0.0344770029, -0.0070240586, 0.0107318712, 0.0124836881, -0.0069719437, -0.0097979913, -0.0190764889, 0.0046459013, 0.0255527329, -0.0584863424, 0.009038629, 0.016047461, 0.0243657101, 0.0178012736, 0.0000019351, -0.0289270878, -0.0570926592, 0.0314245336, -0.1048107445, 0.0199022871, -0.0057820748, 0.0467620641, 0.0200629234, 0.015378613, -0.0219803732, 0.047628466, 0.015496619, 0.0866849348, 0.0338674299, 0.0503053367, 0.0005469766, -0.0068371645, 0.0113475518, -0.0105926292, 0.0147217186, -0.029748613, 0.0269162506, -0.0378276184, -0.0405061953, 0.0083048651, 0.0623144396, 0.0183071606, 0.0173160862, 0.0476347059, -0.03291573, 0.0230913796, -0.0125611033, 0.0095153376, -0.0127825206, 0.0643759966, -0.0030471357, -0.0045637852, 0.0290334597, -0.0103922412, 0.0447574221, -0.0170578323, -0.024770705, 0.0129268672, -0.0245410483, 0.0108370502, -0.033722952, 0.0118692461, 0.0350126103, -0.0348067246, -0.0567341335, 0.0406825654, 0.0003221677, -0.0393516123, 0.0477990806, -0.0501034223, 0.0560046695, -0.0248610601, 0.0256483555, 0.0017544049, 0.0352465771, 0.0103151174, -0.0480826311, -0.0056264959, 0.0240765084, -0.0478037819, 0.0546954237, 0.0030026364, -0.0220656805, 0.022320766, -0.0223685876, 0.016569417, -0.0139010856, 0.0449353307, 0.0232187063, 0.0043893484, -0.0222674552, -0.0069211959, 0.003933812, 0.0705471784, -0.0444667377, 0.0450231433, -0.0143258488, 0.0276826974, -0.0206148997, 0.0152921053, -0.036107, 0.0037611567, 0.0009671143, -0.0034691503, -0.0320097432, -0.0499357618, -0.0293052234, 0.0117513966, 0.0198423434, -0.0777375996, -0.0152296033, -0.0178649388, 0.0153805558, -0.0369113944, 0.0112905381, 0.0921169892, 0.0104886275, -0.0525194444, -0.1211443692, -0.0827559233, 0.0394519977, -0.0190971252, 0.0352254249, -0.0264795609, 0.018024547, -0.030629456, -0.0290140435, -0.05966511, 0.0069473111, 0.015542781, -0.0369126238, 0.0610608384, -0.0245540962, -0.0057026949, 0.0172292516, 0.0219153445, 0.0116110649, 0.0420798697, -0.0084030824, 0.0595575273, 0.0578774475, -0.0249214657, 0.0238782354, 0.0493219458, 0.0449518636, -0.0086823255, 0.0082413647, 0.0273193605, 0.0135085173, -0.0684054941, 0.019787522, -0.0001585314, -0.018900184, -0.0315201879, 0.0793643966, 0.0886044279, 0.012614619, 0.004889328, -0.0368004069, 0.0079251798, -0.012650758, -0.0300806444, -0.0874439105, -0.0174302962, -0.0746253878, 0.0040320125, -0.013446101, 0.0233259145, -0.0203116033, -0.0230811946, 0.0174326412, -0.047715243, -0.0245876312, 0.0580279715, 0.0041237152, 0.0205581542, 0.0132350968, 0.0931120366, 0.015234774, -0.054914739, -0.0427012146, -0.0494649783, 0.003662704, 0.0345748365, 0.0097451322, -0.0197057985, -0.030341072, -0.0205379482, -0.0110863596, -0.000731869, -0.0259437039, -0.006904555, 0.076419197, -0.040142715, -0.0602060519, 0.0348809808, -0.008013431, 0.021383116, 0.0466731526, -0.035771504, 0.0349191502, -0.0653587133, -0.0051161419, 0.0362206586, -0.04727244, -0.0970881358, 0.0317677073, 0.0286170393, 0.0062709805, 0.0434501618, 0.000205231, -0.0061022653, 0.0636614189, 0.0065179318, 0.0218719561, -0.0579005107, 0.0020622213, 0.0584024452, 0.0027819043, -0.0200352333, 0.0123192184, -0.0097635305, -0.0222059805, 0.0144432867, -0.0605391525, -0.007510785, 0.048778031, -0.0108252531, 0.0332121812, 0.0191657022, -0.0036122259, -0.0491192415, 0.0302188266, -0.0248864498, -0.0334247239, -0.00174013, 0.0054947301, -0.0031923007, -0.0906246156, 0.0081121577, -0.0014560118, -0.0239794888, -0.0109034274, -0.0128947422, -0.0015060734, -0.028201282, -0.0176099073, -0.0580857582, 0.0168308355, -0.0059354627, 0.0451921225, -0.0042975857, 0.0195859056, -0.0377232954, -0.0315592587, -0.0451407656, -0.0753745884, -0.0573398024, 0.0202277582, 0.0073233326, 0.0402236432, -0.0472288653, -0.0143562183, -0.0077450909, 0.0136856763, 0.0216575842, -0.0383453183, -0.0268530715, -0.027980566, 0.041751422, -0.0023307793, 0.0217381809, -0.0291728601, 0.0158336889, 0.0024254362, 0.0115121938, -0.0162233692, 0.0298385601, 0.0010341409, 0.0202477966, 0.0174032468, -0.0060173543, -0.0614236891, -0.0025776515, -0.0192013085, -0.0179260615, -0.0314137675, -0.0378094763, 0.0664351061, 0.0003827442, 0.0060945838, 0.0375756584, 0.0314710252, -0.0166068096, 0.0493547618, -0.0684201866, -0.04146358, 0.0544442721, -0.025345156, 0.0490452349, -0.0013173044, -0.0519340783, 0.045420479, -0.0094688367, 0.0369521379, 0.0281660371, -0.0688694045, 0.0136868209, 0.0553179495, -0.0078954585, 0.001789953, 0.0613811202, -0.056983266, -0.0135740284, -0.0170907732, 0.0041156579, -0.0516435765, 0.067751579, -0.0078250095, -0.0405481718, -0.0075256708, -0.0625068098, -0.0668044686, -0.0469118841, 0.0071581607, -0.008235218, -0.0005378583, -0.0250145514, 0.0179311372, -0.0425570868, 0.0382200666, -0.0072225383, -0.0288695917, 0.0058664409, -0.0088616926, 0.0097501297, 0.0229638182, 0.00125942, 0.0090748947, -0.0128531111, 0.0105246576, 0.0629901588, 0.0516461805, -0.0135055752, -0.001258145, 0.0031391303, 0.0141514521, -0.0447242446, -0.0205284748, 0.0638518631, 0.0179967862, -0.0405832008, -0.013704814, 0.0625257716, 0.0135321664, -0.0218709148, -0.0101491809, 0.008132793, -0.004554728, 0.0062360028, 0.009453197, -0.0418166071, -0.0117791798, 0.025861118, 0.0880735368, -0.0226199534, -0.0518029407, -0.0078879893, -0.1334910989, 0.0449340418, 0.0026081174, 0.0042434153, -0.060550876, -0.0418699682, 0.0046071024, 0.0120178657, 0.033469189, 0.0080242008, -0.0271035507, -0.0148323132, 0.032051757, -0.031501811, -0.0178245325, -0.012318505, -0.0506938323, 0.0087176757, 0.0722963512, -0.009815855, -0.0086485958, -0.0563948005, 0.0221625771, 0.0036729963, -0.0013210275, -0.0049367915, 0.0960390791, -0.0165590178, 0.0354810432, -0.0241129622, 0.062655285, -0.0057786428, -0.0220900364, 0.0641307086, 0.0436379649, -0.0522225797, 0.042744305, 0.0024781558, -0.0126812346, 0.0126830619, 0.0598476343, 0.0258855838, -0.0234411657, -0.0004608872, -0.0317583531, 0.0353267007, -0.0079132402, 0.0138344513, 0.0341494344, -0.0473217443, -0.0314115994, -0.0073260502, -0.0251121428, 0.0060340329, 0.047781501, 0.0359912366, -0.0257560834, -0.0019790228, 0.0257764366, -0.0440602675, 0.0038634338, -0.0615883283, -0.0030419098, -0.0732981265, 0.0276579615, 0.0181697495, -0.0062079006, -0.0071034087, 0.0170872416, -0.0638338849, -0.0589776821, 0.0173784941, 0.053681612, 0.0338772796, 0.047599446, 0.0007696339, -0.0447027609, 0.048111517, 0.0794221461, -0.051685594, -0.0172883272, 0.0429077297, 0.0054011103, 0.0018727443, -0.0037626065, -0.0691379458, 0.0051596579, 0.0782958567, -0.046284318, -0.0925847962, -0.0255874544, -0.0060904627, 0.0684693381, 0.0707872808, 0.0234754123, 0.0096420366, -0.0109132482, 0.0476065092, -0.0179001465, 0.013724112, 0.021923773, 0.0010655286, 0.0014444303, 0.0358198807, 0.0375910066, -0.0184542704, 0.0280389134, 0.0346980318, -0.0513251908, -0.0210893676, -0.0111722192, 0.0496181473, -0.0082683461, -0.0277258027, -0.0187858827, 0.0595683306, 0.0420220271, 0.057168074, 0.0042199413, 0.0391992591, -0.0087085627, 0.0290725436, -0.035992723, 0.0329657905, -0.0451619811, -0.0522382781, -0.0084442943, 0.0215283558, -0.0020329293, 0.0171058644, -0.0221024361, -0.0145218242, -0.0035211828, -0.0103858812, 0.0027334527, 0.0027709806, 0.0053017298, 0.017918231, 0.0068187802, -0.0442645401, -0.00846361, 0.04587676, 0.029156832, 0.0357333347, -0.0434684679, -0.0297925565, -0.0639769956, -0.0379982889, 0.0723390877, 0.0300259162, -0.0073358696, -0.0508668311, -0.0690671727, -0.0402686074, 0.0170551706, -0.0141043812, 0.0071383468, -0.0244670045, 0.0266705398, 0.0356146619, -0.0218510069, -0.0287659187, -0.0392185673, -0.0106451837, 0.0329161547, -0.0336831883, -0.0196148958, -5.823174568e-33, -0.0167139154, -0.0190093555, 0.0153127369, 0.0479738154, -0.0185985789, 0.0022374638, 0.0273628831, 0.0069046742, 0.0087962626, -0.0572960526, -0.0562979169, -0.0193357635, 0.0328020118, 0.0130256079, -0.0216275677, -0.0426712744, 0.0418758057, -0.0134392809, -0.0017162324, 0.0156804826, 0.053740304, 0.0738810971, 0.0381253362, -0.1087671444, 0.0340829603, 0.0024919198, -0.0104440646, -0.0048501203, -0.0013192869, 0.0583381765, 0.0026629865, -0.0243439842, 0.0148740858, -0.0466910265, 0.0064890995, 0.0266225915, -0.0793996751, -0.0378875621, -0.0186812803, -0.0018699935, 0.0622596256, -0.0717666149, 0.068415612, -0.0410745479, -0.0301556047, -0.0050688898, 0.019358011, -0.0153941289, -0.0278495401, -0.0462903269, 0.0136152245, 0.0161717217, 0.0156770386, 0.0378025807, 0.0512040965, 0.0098215882, -0.0040718559, -0.0025708592, -0.0748478845, -0.0045403815, 0.0666595399, 0.0043385392, 0.0332602635, 0.07658647, 0.0052904533, 0.0572397411, 0.049441494, -0.0138147715, -0.005260353, -0.0481904596, -0.0071371668, 0.0900021419, -0.014947949, 0.008640022, 0.04246445, -0.0492458567, -0.0667832121, 0.0462524891, 0.008129511, -0.0380861722, 0.0292071234, 0.0002667713, -0.0757737905, 0.000658883, -0.0097432798, -0.0316579044, 0.0021500262, -0.0267069843, 0.0442938842, -0.0158846192, -0.025989281, 0.0136044882, 0.0118751004, -0.0029672887, 0.0055983374, -0.0018629746, 0.0328133777, -0.0031363207, -0.0229437202, -0.0381774753, -0.0388774797, -0.0342054702, -0.0092642028, -0.0413358808, 0.0364170372, 0.0021857277, 0.03663598, -0.0191051494, -0.0902177989, -0.0262800995, -0.0096955886, 0.0310782678, 0.0595331565, 0.032657776, 0.0248480774, -0.0133786835, 0.0248557366, 0.0104354499, 0.0168283824, 0.0184415821, -0.0152218407, 0.0072141425, -0.0013319486, 0.0096143279, 0.0174294878, 0.0005649031, -0.0006861558, 0.0276126973, 0.0406861417, -0.0183656495, 0.0105908439, 0.0142907556, 2.689e-7, -0.0124939615, -0.0381503217, 0.0057449872, 0.0403227955, -0.0191577617, 0.0716540888, 0.0226038732, 0.0449393354, 0.0256722867, -0.0516215153, 0.0120435534, -0.0142636402, 0.032549683, 0.0357096381, -0.0666849464, -0.0387424938, 0.0281905588, -0.0175912976, -0.0718942359, 0.0140306372, -0.000172548, 0.0915177166, 0.0477042161, -0.0334322006, 0.0238695256, -0.031503249, 0.0095621031, -0.0871802345, -0.0014763789, -0.0073233871, 0.0807461217, 0.0407569408, -0.0043868162, 0.0332086049, -0.0346382335, 0.0343474075, -0.0281383358, 0.0852870122, 0.0134012597, -0.0423212685, -0.0132785821, -0.0666932762, -0.0019695084, -0.0111471228, 0.0542252026, 0.0205732733, -0.0252081994, -0.0073811878, 0.0002926741, -0.0603412054, -0.0269487575, -0.0144666173, 0.0030262258, 0.0031234417, -0.0016494048, -0.0245412663, -0.0062727733, -0.0383395255, 0.0290837325, -0.0105946874, -0.020628972, -0.0709668249, -0.0003022586, 0.0293661151, 0.0062374971, -0.014810618, 0.0224952456, 2.760297901e-34, -0.0219397843, -0.016686568, -0.0037395349, 0.0664463118, 0.0424129851, 0.0068651307, 0.0291304793, 0.0176593307, 0.0097236382, -0.0568272211, -0.0047225016 ]
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.0007220111, 0.0625765696, -0.0402432643, 0.0418247432, -0.0130066108, -0.0264257099, 0.1247044355, -0.0019402894, 0.0025432343, 0.0309464876, -0.0074501, -0.0218275525, 0.0168642066, -0.0254518781, 0.0483451486, -0.0591127016, 0.029898569, -0.0201509297, -0.0138655221, -0.0289247613, 0.00433362, -0.0012497636, -0.0075871614, 0.0418794081, 0.002350702, 0.0157554783, -0.019869687, -0.0359136797, 0.0222709496, 0.0508999713, -0.0303720646, 0.0020215609, 0.0300078467, 0.0893058106, 0.0000014978, -0.0229674447, -0.0024436479, 0.0202506743, -0.0268519353, 0.0038073205, -0.0134322643, -0.0039071557, -0.0122099156, 0.0393154062, -0.0320514292, -0.0140254889, 0.0163583923, -0.0031070793, 0.0585535131, 0.0168174263, 0.0009959569, -0.0553186499, -0.0103121093, -0.0144941974, -0.0219853856, 0.0332229175, -0.0047869636, -0.0710583106, -0.0344513692, -0.0142742423, -0.0003744425, 0.0760592893, -0.0108317509, -0.0073141865, 0.0057956553, 0.0040953457, -0.0414499603, -0.0467604697, 0.0339781754, 0.0133817522, -0.0187799074, 0.0138289947, 0.0331991129, 0.0666939989, 0.0064432211, -0.0010519357, 0.0115539227, 0.0172967762, 0.005212252, -0.0206751339, -0.0227311328, 0.0309688915, 0.0325786583, -0.0179179385, -0.0074727903, -0.0068280995, 0.0227983799, -0.0168264993, -0.0364614502, -0.0653922409, -0.0012549082, 0.0079761324, 0.0695782751, -0.0331702791, 0.0231530797, -0.0117058987, -0.0461929366, -0.0522934645, -0.0288374349, -0.0561882108, -0.0316780731, 0.013622079, 0.001808558, -0.0254781768, -0.0257741008, 0.0441876017, 0.0115581574, -0.0122778211, -0.0061774231, -0.0312919356, 0.0104277804, 0.0013632787, -0.0071156225, 0.0190880205, -0.0491753668, 0.0296000503, -0.0588727817, 0.0050557335, -0.0573901795, 0.0324037038, -0.0603898726, -0.0147253945, -0.016263986, 0.0076524676, 0.0427766368, 0.0052246042, -0.0063224039, 0.0247072745, -0.0434482545, -0.0175906196, 0.0053977747, -0.015917087, 0.0149792619, 0.0091465861, -0.0080340113, 0.0554478355, 0.0208422001, -0.0109863663, -0.0009200952, 0.0142849181, 0.0355665907, -0.0154187335, -0.0143497875, -0.0400103331, 0.0295076817, -0.0519130155, -0.015437074, -0.0505363606, 0.0055149826, -0.0181893986, -0.0104744574, 0.0794671029, -0.0048856433, 0.0234728046, 0.070750311, 0.0363537706, 0.035080038, -0.0064254077, 0.0488754734, -0.0533540621, 0.0450650826, -0.0440148264, 0.0165137295, 0.0262248125, 0.0235757008, 0.006970007, 0.0140793361, -0.0179430265, 0.0100230165, -0.023900535, 0.003384179, -0.0084867552, 0.010948576, -0.0748022944, 0.0445737317, 0.0749160275, -0.0112888869, 0.0265837759, 0.0030517108, -0.010621571, -0.0210126676, -0.0106944535, 0.0018487182, -0.0484529957, -0.0201159175, -0.0474762805, 0.0067873392, 0.0272886213, -0.0422551371, 0.008562129, 0.0283098854, -0.061868079, 0.0517689362, 0.0235506501, -0.039744433, -0.0160617512, 0.0135181034, 0.0332080163, -0.0360579304, -0.0754676312, 0.0269607101, 0.0103117293, -0.0088558691, 0.0387102477, -0.0034256577, 0.0057265833, 0.0662995577, -0.0784497336, -0.0459712222, 0.024056904, -0.036735557, -0.0217576493, 0.1142793447, -0.0282538645, -0.015853418, 0.0303641707, -0.0113755157, 0.0769950226, -0.0068181008, 0.004102794, 0.0425489359, -0.0005845322, 0.0490171835, -0.031660229, -0.0695910975, -0.025353903, 0.0443308055, 0.0151219834, 0.0623001605, 0.0524571463, -0.029990444, -0.030417949, 0.0318167284, -0.0184990242, 0.0279577654, 0.0369402207, 0.001906379, -0.024235893, 0.0162471551, -0.0481286459, 0.0361730382, 0.0739668831, -0.0055493875, -0.0429181941, 0.061006166, -0.0110087292, 0.029357262, -0.0142861791, 0.0120633552, -0.0210786238, 0.0518839173, -0.0058588167, -0.0462842509, 0.0086092595, 0.0435709022, -0.0145949014, 0.0256766416, 0.0371129923, -0.0333007574, -0.0561510138, -0.0031636502, 0.0054137548, 0.0329931676, -0.0091229957, -0.0241521206, 0.0183754005, -0.0051604109, -0.0733064637, -0.0039940695, -0.0088328896, -0.0069435034, -0.021380119, 0.0365312956, 0.020302685, 0.0066608177, -0.0540632233, -0.1025082767, -0.003292175, 0.0136779528, -0.0162554923, -0.0029427214, -0.0828686804, 0.0196717121, -0.010393599, 0.002362479, 0.0170578733, -0.0374364108, -0.0600660853, -0.0116464775, -0.000544744, -0.0412956476, 0.0225222167, -0.0073750899, -0.0217205603, -0.011047882, 0.0850554109, 0.0591935627, 0.0316559225, 0.0099771144, -0.0255596619, 0.0292012598, -0.0059819873, -0.0280052088, 0.0003627246, 0.0042073522, 0.0640882999, -0.0345266461, -0.0563355908, 0.005360961, -0.0367061719, 0.0381229185, -0.038324099, -0.011228092, 0.0028988149, -0.0197599623, -0.0368459933, -0.0261917133, -0.0265963636, -0.0158013217, -0.0069815433, 0.0288350824, 0.0123832021, 0.0193986688, -0.043143861, 0.0107178846, 0.0068573039, -0.0709474981, 0.0153228473, -0.0022985903, 0.0223232806, 0.0612359792, 0.008927145, -0.0453222804, 0.0125216339, -0.0179397184, 0.03897563, -0.0509447493, -0.0212923344, 0.0416701175, -0.0396722034, -0.0032831945, -0.0203218702, -0.0302607566, -0.0663628131, 0.0188509971, 0.0124304974, 0.0153087871, -0.0617842712, 0.000998372, 0.0132661331, 0.0646682158, 0.000900295, 0.0241118167, 0.0332271792, -0.0040292409, 0.0255516376, -0.0462737158, 0.0103274304, 0.0310739391, 0.0080261556, 0.0147402342, -0.0129165575, 0.0501687527, -0.0054922118, 0.022161996, -0.0521548316, -0.0001208802, 0.0053310986, -0.0698610768, -0.0012292804, 0.0169970673, 0.0029913161, 0.0124293109, 0.090530701, 0.0029029436, -0.0032118447, -0.0124577116, 0.0006997927, 0.017261209, 0.0106838578, -0.0113281729, -0.0656011775, 0.0276909713, 0.0404580571, 0.0549522825, -0.026870152, 0.0021168101, -0.0396813676, -0.0578957163, -0.0008904475, 0.0134361703, -0.0320211202, -0.0352835841, -0.0661783069, -0.0444931425, 0.0168360248, 0.0484186709, -0.0172300693, 0.017400749, -0.0354395211, 0.008089982, -0.0947102681, -0.0323030017, -0.0043312083, -0.0355042703, 0.0995321348, -0.0019288235, 0.0594740286, -0.049773775, -0.032571137, -0.0606168211, 0.0251046903, -0.0542236492, -0.0076609785, 0.0547631234, 0.0471275561, -0.0107751256, 0.0034559474, 0.0217653755, 0.0544097908, -0.0054758415, 0.0313101485, 0.0168057438, -0.0108065391, 0.0005853963, 0.0145368483, 0.0395510234, -0.0018709564, 0.0615041554, -0.0161152128, -0.0311482102, 0.0187450517, -0.0196565241, 0.0515047349, -0.0133639863, -0.0142938737, 0.0097200265, -0.0293780416, -0.0809764341, -0.0195704047, 0.0021988119, -0.0604715385, 0.0350162573, 0.0606581941, 0.0413740762, 0.036606431, -0.0105098384, -0.0003785543, -0.0305615459, -0.036562942, 0.0483972505, -0.0022075463, 0.045459725, 0.0200928617, 0.0091193337, -0.0055748746, 0.0148945581, -0.0377327576, -0.0650266707, 0.0489826128, -0.0223926641, 0.0106090326, 0.0846282318, -0.0401015915, -0.0422172509, 0.084982872, -0.0016670233, 0.0077575468, 0.0070835454, 0.1121200547, -0.0238480233, -0.0098226797, 0.0115517378, -0.0076518701, 0.0074347751, 0.0136084137, -0.0806554705, -0.069174163, -0.0198030081, -0.0769074261, 0.0415734835, 0.0011686864, 0.0085786749, 0.0640877709, -0.0344324559, 0.0218655132, -0.0607332326, 0.0249247625, 0.0073681735, -0.0158796031, 0.0262096468, 0.0188057814, 0.0560701676, 0.0167303663, -0.0094177648, -0.0259371009, 0.0046480447, 0.0132673495, 0.0153797641, 0.0028501239, -0.048100777, 0.0614979975, -0.0374329127, 0.07114169, 0.0490577258, 0.0270533506, -0.0217599887, -0.0288706124, -0.0350798033, 0.0134153655, 0.0091555854, 0.001131275, -0.0515579022, 0.0112401694, -0.0156571586, -0.0015985904, 0.0131127043, 0.0237546954, 0.031977199, 0.0213706177, 0.0266188029, 0.018811848, -0.0039689173, -0.061768759, -0.0217550118, -0.0102559235, -0.0174575057, -0.0411880426, 0.0469503477, 0.0497163758, 0.0075874659, 0.018468786, -0.0399356037, -0.044241365, -0.0283644889, -0.0371692069, -0.0052083805, 0.027162021, -0.0392533019, -0.0532358624, 0.019921774, -0.0427666716, 0.0082463752, -0.0238702763, -0.0136801088, -0.0277438574, -0.0134831918, -0.0183971357, 0.0048625316, 0.000002194, -0.0388288833, -0.0133142397, 0.0089140413, -0.0486685894, 0.0728709772, -4.243245876e-33, -0.012992247, 0.0316460915, -0.0238276515, -0.0232699122, -0.0006941893, 0.0030830123, 0.0325936712, 0.0158987027, -0.0457708165, -0.0279166289, -0.0247054342, -0.0083558727, -0.0076415362, 0.0243987627, -0.0428234264, 0.0137664611, 0.062878184, 0.0243929494, 0.0231969506, 0.03129711, 0.0776709095, 0.0070392271, 0.0169624034, -0.0798862278, 0.0033096729, 0.0046821926, -0.0633632764, -0.0023472775, -0.0107846009, 0.0234009903, -0.0278167855, 0.0169960856, -0.0384455286, -0.0059623783, -0.0356925614, 0.0400499962, -0.0594153963, -0.0179934707, -0.0019217272, 0.0503342152, 0.0311028082, -0.0360497534, 0.0233820174, -0.0241263993, -0.0307546053, 0.0335818231, 0.0101007503, -0.0170711223, -0.0031731117, -0.0067747366, 0.0280482434, 0.0009221364, -0.0181997493, 0.0240836255, 0.058981508, 0.0647851303, 0.0348086581, -0.0725995898, -0.0924371481, 0.0344750211, 0.0079070283, 0.0036740873, 0.0283429492, 0.0159608778, 0.0311432146, 0.0271802843, 0.05532692, 0.001422336, 0.0438063331, -0.0093609355, 0.0357023329, 0.0027432882, 0.0766355172, 0.0619533025, -0.0293068085, -0.0774762332, -0.0692610517, 0.0126207443, 0.0192525256, -0.0690207034, 0.038522426, 0.0362890251, -0.035186097, -0.0338088684, -0.0619030148, -0.0493670031, 0.0280940719, -0.0282647759, -0.0058010099, -0.0170526449, -0.0176686309, -0.0343197621, 0.0805167109, -0.0494025946, -0.0278550219, 0.0411989726, -0.008902017, 0.0099260248, 0.0036058472, 0.0377758965, 0.0066878512, -0.0244367663, 0.0436735675, -0.0078734187, 0.0295052305, -0.0454802439, 0.0510250814, 0.0391322337, -0.0766068175, -0.0210817661, 0.0011370205, 0.0308855306, 0.0040248809, -0.0070772148, 0.0015744803, 0.0012929005, 0.0253025722, 0.002368405, 0.0773024857, 0.0078402823, -0.0199879669, 0.0259676985, -0.0112953568, 0.0176746156, -0.0137832398, -0.0058492557, -0.0029000554, 0.0531251132, 0.0919740945, -0.0107731447, 0.0217345003, -0.0612091497, 2.257e-7, -0.0718446448, -0.0290167015, -0.0213568062, -0.0247747004, 0.0275167972, 0.0586971678, 0.0521579608, 0.0216257144, -0.0131046074, 0.0275195092, -0.0327109657, -0.0371938609, 0.0566146709, 0.0898900405, -0.0834942162, -0.0222469904, -0.0366296135, -0.0023744067, -0.0646819249, 0.0270213466, -0.0107161282, 0.104459554, 0.0612864979, -0.0154301915, -0.0443450883, -0.0258179214, 0.0090184975, -0.026639238, -0.0837498233, -0.0546334013, 0.0201078113, 0.0387699902, 0.040444795, -0.003570643, -0.038548328, 0.0502769798, -0.0019987824, 0.0549137071, 0.0273601003, 0.0068862187, -0.0041195597, -0.0250206366, -0.053537868, 0.0165508222, 0.0171808582, 0.0540650003, -0.0351561084, -0.0083632683, -0.0220887773, -0.0236542188, 0.07937859, -0.0280685686, -0.0026844263, 0.0216127038, 0.0010000441, -0.0005259106, 0.0156291258, -0.0361061469, -0.0098811695, 0.0111680692, -0.0326000415, 0.002597129, 0.032206554, -0.0229053069, 0.0225989558, 0.0301987473, 0.0534128323, 1.663806298e-34, -0.0243486408, 0.0283983815, 0.0147781838, -0.0055048419, 0.0443105735, -0.0315420814, 0.0438893549, 0.0067645977, 0.0570975691, -0.0191866346, -0.0243175197 ]
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.0185215492, 0.006320687, -0.0158850197, 0.0654116645, -0.0539724343, 0.0238778349, -0.0125017948, -0.0156196347, 0.0632304251, -0.021061264, -0.0134845776, -0.0025190418, 0.0048315949, 0.0384399816, 0.0270379428, -0.0280175582, 0.0379156172, -0.0328780971, 0.026177302, -0.0013233765, -0.0224085189, 0.0331828929, 0.0004349359, 0.0157756265, 0.0058394042, -0.0250289068, 0.0037641276, 0.0315900333, -0.0054999497, -0.0539596379, -0.0569916293, 0.0122765955, 0.0160174146, 0.051338505, 0.0000019233, -0.0526036024, -0.0058906083, 0.014661517, -0.0449782722, 0.011103644, 0.0540402569, -0.0198619459, 0.0327555947, 0.0007817327, -0.0175518896, -0.0355096944, 0.017813459, 0.0199025571, 0.0167521928, 0.0545427948, -0.0170381982, -0.0383072756, 0.0041127489, -0.0145631162, -0.0140848076, -0.0604383573, 0.009560314, 0.061571531, 0.0457888097, -0.0226490535, -0.044146616, 0.0229888503, 0.0365618244, -0.0107595362, 0.0299768671, 0.0273154825, 0.0045863795, -0.0113295615, 0.0398863219, 0.0892340615, 0.0333731733, -0.013620493, -0.0103014167, -0.0068638441, -0.0105810715, 0.0447279736, -0.0555989966, -0.0009176715, -0.0255132131, 0.0000341277, -0.0067227012, -0.0555815734, 0.074459888, -0.0091633275, -0.0240158793, 0.1177142039, 0.0004646746, -0.0141275274, 0.0476999544, -0.0172943864, -0.0448686779, -0.0364339612, -0.0115340445, 0.0400844216, -0.0457466543, 0.0263296571, -0.0049072159, 0.0147597305, 0.0197885949, 0.0034160551, 0.0596157312, 0.0194029566, 0.0167061985, 0.0701896474, -0.0229321066, 0.0622190721, -0.0145587632, 0.0759958848, -0.0471294746, -0.0371754952, -0.0510964207, -0.0004024961, -0.0159886945, 0.0158554465, -0.0102190617, -0.054005418, -0.037917383, 0.0283112898, -0.0025641364, 0.0109689068, 0.0240474772, -0.0122183152, 0.0234449077, -0.019966282, -0.0348626487, 0.0127135981, -0.0140826749, 0.0189784318, -0.0081821848, -0.0133313015, -0.0003674328, 0.0109528862, 0.0249089673, -0.0447810069, 0.0036705274, 0.0786188021, 0.0327456221, -0.0277638342, -0.0296469294, -0.0306498967, 0.0067738271, -0.0742232427, 0.0334439203, -0.0763494968, 0.0032987311, 0.0580852218, -0.0081357984, -0.0248720553, 0.0090097263, -0.0191854537, -0.0510222316, 0.0378651731, -0.0011731834, 0.0322177, -0.0002583819, -0.0112442086, -0.0336332098, 0.0488116257, 0.0124342553, -0.0092000235, 0.0415153764, 0.0009929106, -0.0438613519, 0.0259406958, -0.0134016154, -0.0114237936, -0.0011176231, 0.0200401489, -0.0461111814, 0.0186406616, -0.0001077477, 0.0726967528, -0.0242923759, -0.0338467881, 0.0287273005, 0.0451946557, 0.013976926, -0.0647798255, 0.0322333276, 0.0150591014, 0.0142376171, 0.0068164733, -0.0668637753, 0.0142557351, 0.0028467183, 0.038026616, -0.0097333519, -0.0350703634, 0.0174409822, -0.0302192159, -0.047202155, 0.0134528158, 0.0693721771, 0.0224269759, 0.0669469088, 0.0071406607, -0.0441881232, 0.0101500656, 0.0307338741, -0.0344862789, -0.0017849187, -0.0135505097, 0.0162480641, 0.0786372721, 0.0440672487, -0.0045645749, -0.0391915441, 0.0271268971, -0.0128084254, 0.009497093, 0.0304820873, -0.0083144819, 0.0013516825, -0.052780211, -0.031984657, -0.0537297763, 0.0012687765, -0.0062717679, 0.0164714176, -0.0119177662, -0.0059317173, -0.1103710383, -0.0374319218, 0.0100969281, -0.0307557974, 0.0248512868, -0.0483697988, 0.0045835269, 0.0039955364, 0.0194727201, -0.0203904826, 0.0315778889, 0.011801797, 0.0009116019, -0.0151578076, 0.0143139623, -0.0429431498, -0.0321251452, 0.0476482958, -0.0382316373, -0.0649967715, 0.0452680551, -0.0186062623, -0.0409307964, 0.0358914398, -0.0536461547, 0.0312078372, -0.0180849954, 0.0037989928, -0.0292101018, -0.0115850288, 0.0078916186, 0.0708350763, 0.0033199913, 0.0388714746, 0.0168527178, 0.0351655334, 0.0123096574, -0.0385187417, 0.0102086375, 0.031358052, -0.0021509759, -0.0087308893, -0.0083060935, -0.0100556454, -0.0762554631, 0.0261710119, -0.087401405, 0.0047929916, -0.0089653991, 0.0217805821, 0.0232489463, -0.0183597803, -0.0009724681, 0.002882204, -0.0214469284, 0.044675041, 0.0121096056, 0.027229486, 0.0093150595, -0.0274556018, -0.0238707308, -0.0112267034, -0.0521235429, -0.0460867062, 0.0745984912, 0.0372145772, -0.0018310125, 0.0314481445, 0.0460515469, -0.0380299427, -0.0027717662, -0.0185353272, 0.0084970081, 0.028281007, -0.0136774266, 0.0376691744, 0.0447663851, -0.0490472205, 0.0352493152, 0.0397033319, -0.0175595954, -0.0062229838, -0.0023532494, -0.011824199, -0.0031601877, -0.0808698535, -0.04455892, -0.0531978868, 0.0405373946, 0.0035752528, 0.0015225022, -0.011308549, -0.0122943223, -0.0736924782, 0.0076015121, -0.017013872, -0.019518055, 0.0296035372, 0.0261996724, -0.0742241964, -0.0130412988, 0.0898642465, -0.0297164246, -0.0206211731, 0.018295031, -0.0163646657, -0.0742361024, 0.100621663, 0.040757861, 0.0114166802, -0.0140025858, -0.0350633524, -0.0546211973, -0.014329127, 0.0755687356, -0.0187787209, 0.0358098969, -0.0160221513, 0.0305214729, 0.0094241761, 0.0102450354, -0.0069722109, 0.0380926356, -0.0485338606, 0.0508411303, 0.0380279347, -0.0483565256, -0.0061948909, -0.0091716917, 0.0016533057, 0.0000701259, -0.0129507771, 0.0049013211, -0.0235720724, 0.0277600866, 0.0306524709, 0.0003111305, 0.0410184488, -0.0619548596, 0.0270556938, 0.0274694823, 0.0011051808, -0.0343142264, -0.0133737614, 0.021217037, -0.0063131242, -0.0100018233, -0.0108588543, -0.0288980473, 0.0549412109, -0.0840150192, 0.0068179388, 0.091246888, 0.0127453916, 0.0014746643, 0.0077536362, -0.0443773121, 0.0470215529, 0.0711857453, -0.0023105782, -0.0779191032, -0.0256985277, 0.0062007415, 0.0256103184, 0.0145787662, -0.0697710961, -0.0117682191, -0.1055236012, 0.0285352673, -0.0030624983, -0.0260043256, -0.0166239012, -0.0688593537, -0.0123960366, 0.0059554875, 0.0104666771, -0.00292404, -0.0120270541, -0.0088507663, 0.0038549989, -0.0274928547, -0.0072778328, 0.0591983795, 0.0092286915, 0.0091802804, -0.0304600671, 0.0253298581, -0.0060002576, 0.0091631031, 0.0830502659, 0.0241745524, -0.0045920517, -0.0172094349, 0.0292022079, 0.0287362207, -0.0055132974, -0.0493905433, -0.0109615913, -0.0184554961, -0.0164984483, -0.0275756083, 0.101254262, 0.0189664587, -0.0574927665, -0.0076983343, -0.0011484899, -0.0474491529, 0.0473531298, 0.0481449589, 0.0510468632, -0.0838213339, -0.0389132015, -0.0124385655, -0.0618979, -0.0271248668, 0.0685117841, 0.0159082022, 0.007938494, -0.0036132464, -0.0527933203, 0.0432150997, -0.0244161952, -0.0274888594, 0.0260394551, 0.043501284, -0.047408618, -0.0849274695, 0.03077925, -0.0280753858, 0.048170235, -0.0200999416, -0.0110966163, -0.0200881008, 0.0219201054, -0.0236780494, 0.0269766636, -0.0493562222, -0.0749552175, -0.0295995083, -0.0317039043, 0.0222147815, 0.0392573364, -0.0170003828, -0.0415819287, 0.0115760472, -0.0173170716, -0.0319484621, 0.0154557638, 0.0252952892, -0.0169210359, 0.0036033809, 0.0480532832, -0.0475909114, 0.0155491354, 0.0120354909, 0.061472442, 0.0140694724, -0.0119983722, 0.0077268258, 0.0756299272, -0.0007665944, 0.0322626121, -0.0071299407, -0.0556933656, -0.0008919271, -0.0523716696, -0.0168171544, -0.0125210462, -0.0186684262, 0.0432322882, -0.0184730515, 0.012713071, -0.0365603343, 0.0048489645, 0.0380077772, -0.0141377524, 0.0271152426, 0.0069037066, -0.0363784321, 0.040902853, -0.0112735117, -0.0147956368, -0.0017975724, -0.0174225047, 0.0294161644, 0.0101448931, 0.0353157744, 0.0199663565, -0.0301927514, -0.0324659161, -0.0272510536, -0.061295528, -0.0567661859, 0.0663773268, 0.0053359536, 0.0477712378, 0.021618735, 0.0672740564, -0.0080334488, 0.0010192067, -0.0280623306, 0.0429656431, -0.0045858072, -0.0647361204, 0.0356223695, 0.0431633666, 0.0027799879, 0.0268623587, 0.0503341407, 0.0738638118, 0.0271994136, 0.0078027048, -0.0239507239, -0.022803776, -0.0488485768, -0.0250697732, 0.0342188179, -0.0236187167, 0.0304706004, -0.0726167634, -0.1226895601, 0.0033445773, 0.0285282247, 0.0043466231, -0.0134663358, 0.0100742429, 0.030631423, 0.0136638395, -0.0432353802, -0.0387395062, 0.0231609512, -0.0353776515, -0.0038734104, 0.0200007111, -6.219509753e-33, 0.0020526298, -0.0746876597, 0.037929818, -0.0226381924, -0.0301551931, 0.0093943756, -0.0851143003, 0.0070346463, -0.051021602, 0.0424522907, -0.0002277016, 0.0322972685, -0.0030272072, 0.0198084656, -0.0329219326, -0.0063355104, 0.0033215547, 0.0384082869, -0.0150302444, 0.0289575774, 0.0499914773, 0.0205309279, 0.0358015597, -0.0498354584, 0.0148458416, -0.0108011309, 0.0232779179, 0.0166067667, -0.0248458106, 0.0663780719, -0.0003010908, 0.0424908884, 0.0557718612, -0.0038416393, -0.0101688411, 0.0014832441, -0.0804710537, -0.0302875377, 0.0606747828, 0.0132555924, -0.0718176588, -0.0189645216, 0.0447464809, 0.0162566286, 0.0117021035, -0.0703622922, 0.0360675417, 0.0095866015, -0.0316833146, 0.0340039954, -0.0446631387, 0.034000054, -0.0215817504, 0.0080838716, 0.0101164719, 0.0160190482, -0.0168757569, 0.0298864618, -0.0327426083, 0.0065260055, -0.0567909405, -0.0012582641, 0.051623825, 0.0265673716, 0.0185520798, 0.0315912776, 0.0028660463, 0.0137716448, -0.0232444443, 0.0104091037, 0.01612808, 0.0931279361, -0.0022715693, -0.0055360566, -0.0243149791, -0.0121969916, -0.1051971167, -0.0211842265, -0.0039480743, 0.0615275651, 0.0080730114, 0.0223883204, -0.0104166055, -0.0462982282, -0.062324997, -0.0015462147, -0.0470156223, -0.0004153241, 0.0259379409, -0.0489363819, -0.0008301018, -0.0073733781, 0.0065265922, -0.0630967915, -0.0346270949, 0.0765384808, -0.0213699657, 0.0528304949, -0.0250126608, 0.0785335898, -0.0318797193, -0.024331646, -0.001813772, 0.0043131881, 0.0297351647, -0.0056385654, 0.0405318476, -0.0032997346, -0.0155428695, -0.0111809829, -0.0620811731, -0.0176493861, -0.0407653041, -0.0081631206, 0.0495772362, 0.0490127988, 0.0019895725, 0.0535752326, 0.035499189, 0.0322682895, -0.0393332653, 0.0356581882, -0.0215966031, 0.0097220205, -0.0204617605, -0.0120666502, -0.0408440866, 0.027759606, 0.0318053439, -0.0324982628, -0.0097774891, -0.0010739563, 2.67e-7, 0.073651813, 0.0709558055, 0.0235885438, 0.0652432442, 0.0109388595, 0.0145206461, -0.0464042239, -0.0029011292, 0.005713209, -0.0213298779, -0.0007972064, 0.0601268969, 0.0044631604, 0.0344894715, -0.0318550505, 0.0376313329, -0.0583419278, -0.0355595872, -0.0380324088, 0.045060873, 0.0598951243, 0.0338473581, 0.0155465053, -0.0062338789, -0.0359262228, -0.0722324401, 0.0360182673, -0.0091778329, 0.0009612925, -0.0073831067, -0.003711571, 0.0148769198, 0.018928742, 0.032933984, 0.013312798, 0.0107488818, 0.0031014546, 0.03697294, -0.0112519963, 0.0064480198, -0.0037106844, -0.0514076464, 0.0129856216, -0.054907538, 0.077067256, -0.0421242677, -0.0808946416, 0.0012771813, -0.031652391, -0.0145602142, 0.0093675982, 0.0135153169, -0.0209461804, 0.0098795183, 0.0148855532, -0.0419851653, 0.0224405583, -0.0365284979, 0.0038469713, 0.0362462886, -0.017304359, -0.0455659144, -0.0232177116, 0.0341231376, 0.041070465, -0.0109445481, -0.0014386227, 2.446651672e-34, 0.0451496392, 0.0021773991, 0.0182960704, -0.0260402281, 0.0538848564, -0.0595169291, -0.0289232899, 0.0284080971, 0.00335205, -0.1056404635, -0.0071806982 ]
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.0775254741, 0.0038843742, -0.0276087523, 0.0415898226, -0.0320961587, -0.0215825904, 0.0395791344, -0.0077336375, -0.0338763781, 0.0035169963, -0.0474193059, 0.027098164, 0.0149340481, 0.0601093732, -0.0007229151, -0.1051040217, 0.0344150402, -0.0129285399, 0.0532537475, 0.0235492978, 0.0636801422, 0.0079817967, -0.0655730888, 0.0253328383, -0.0393568724, -0.0197542813, -0.0316668637, -0.0127479816, 0.0031951286, -0.0274307206, -0.0327717178, 0.0209656525, -0.0127035081, -0.0063298834, 0.000001779, -0.0564933605, 0.0076374086, -0.0169864278, -0.0229583494, -0.0191666074, 0.0413427837, 0.035085924, 0.0059399507, 0.0416179597, -0.0235541016, 0.0252769459, 0.028510781, 0.105902262, 0.0755905807, 0.0290257894, -0.0168156475, 0.0352351591, -0.0058679376, -0.0000684961, -0.0017838831, -0.0537334383, -0.0187904388, -0.0086847879, 0.017576417, 0.0093752593, 0.023199331, 0.0073947161, -0.0170319676, -0.0454428755, -0.065253377, 0.0158675294, -0.0412839353, -0.0369322821, -0.0138044078, 0.0346642286, 0.0912859067, 0.0393147841, 0.0259090047, 0.0186673608, 0.016015064, -0.0220679063, -0.0572746955, -0.0092135519, -0.0393758081, -0.0316651016, -0.0304162968, 0.012630322, -0.0361103527, 0.0019562815, 0.000825317, 0.0416778326, -0.0145031214, -0.0064524617, 0.0154665727, -0.0303731859, 0.0372179225, -0.057576064, 0.0095806681, 0.0425241627, -0.1119705215, 0.0211076774, -0.0032548136, 0.0231616069, 0.0076596853, -0.0425129235, -0.0214048754, 0.0228995401, -0.0127389254, 0.0116005223, 0.0366632976, 0.0111370664, 0.0164754521, -0.0634739697, 0.0278201196, -0.0068837027, 0.0005173679, -0.0259240065, -0.0857514963, 0.0342355445, -0.0090272846, -0.0270515457, 0.0043887626, 0.0743968785, -0.0120737758, 0.0285563879, -0.0299412683, 0.0109711504, -0.031541314, 0.0219592303, -0.0740352422, -0.0204609111, -0.0439230837, 0.010710096, 0.01628525, -0.0594030879, 0.0250520576, 0.0127008166, -0.0086577823, 0.026325807, -0.0233503599, 0.0455429032, -0.0488917753, 0.0172796603, -0.0146968039, -0.015447625, 0.0114385011, -0.0371024236, -0.0380520597, -0.0181207564, 0.0279696174, -0.0037377179, -0.0428044461, -0.0197265502, 0.0430422723, 0.0106892763, 0.0394361503, 0.0226782281, -0.027147403, 0.001931339, 0.0895954669, 0.0413333066, -0.0234129801, 0.0204439387, 0.0107734818, -0.0162507184, 0.0238490161, -0.0083544245, 0.0359704345, 0.0094642267, -0.0100177955, 0.002655311, 0.0318282992, 0.0085041169, -0.0410599634, 0.0105213774, -0.0489201434, 0.0566936657, -0.0410834067, 0.0253090393, 0.032639239, 0.0300238896, 0.0147555275, -0.0023440837, -0.0192492027, 0.0332707055, -0.0030354338, 0.0018634547, 0.0077822125, 0.0527377315, 0.0118657425, -0.0023298517, 0.0251114275, -0.0113335978, -0.029997915, -0.0338879675, 0.0537830479, 0.0234916918, 0.0200934261, 0.0013937346, -0.0098078288, -0.0122900512, -0.0363907367, 0.0374413542, -0.0194745082, -0.0073447488, -0.058956489, -0.0056036715, 0.0040175198, 0.0358820409, 0.0239146985, -0.0006388506, -0.0729704648, -0.0303552803, -0.049612321, 0.0907832161, 0.0419927575, -0.0137295742, -0.0313249901, -0.0376520939, -0.0017889773, -0.007363352, -0.005303056, 0.0313065425, -0.0462387763, 0.0340365879, 0.008643765, 0.0775931776, 0.0716557205, -0.0294754095, 0.0849191621, -0.0095193051, -0.0054826303, 0.0029285022, 0.0393294804, 0.0253867917, -0.0211139396, -0.0107489983, 0.0062971474, 0.020122949, 0.0119776949, 0.0604889728, -0.064948529, -0.0034622923, 0.0260806046, 0.0047903191, -0.0029053248, -0.0331771336, 0.001365447, -0.0564243719, 0.0372333378, -0.0211903062, 0.0004478528, -0.0315822214, 0.0628976673, 0.0157789513, 0.0155684864, 0.0331858173, -0.0209874958, 0.0175840836, -0.0268784054, 0.042311836, 0.0085373949, 0.02155862, -0.0336655453, 0.0148807326, 0.0328148194, -0.0054070614, 0.0024725944, -0.0304878317, -0.0219604392, -0.0086677708, -0.0060849898, -0.0961433053, -0.0148444911, 0.0117275268, 0.0032795134, -0.0312224962, 0.0044971909, -0.0146908425, -0.02015513, -0.0510387495, 0.0458116829, 0.0932836533, -0.0304524675, 0.042721536, 0.0212911665, -0.0377335586, -0.0378001407, 0.0234203078, 0.0032894358, -0.0234254859, -0.0067592645, -0.0815043226, -0.0553126894, 0.0329827704, -0.0567964427, 0.0274994913, -0.005652315, -0.0305605717, 0.051978182, 0.0386110581, 0.0240650643, 0.0080527635, 0.0211390723, 0.0425237231, -0.020081019, -0.0474205352, -0.0412052274, 0.0238537882, 0.0211450774, 0.0333644412, -0.0170624126, -0.018723445, 0.0414426289, 0.0310151391, -0.0066623329, 0.0558602512, 0.0254695117, 0.0331201777, 0.0272704512, 0.0044331946, 0.0380031615, -0.0261025559, -0.0398564339, 0.0746472701, -0.0047814124, -0.0068131271, 0.0238923933, -0.0477664024, -0.0397474058, -0.0269222837, -0.0383442566, -0.0492399894, 0.0463707, -0.108872585, -0.0129657034, 0.0665246546, -0.0797771215, 0.0062943939, -0.0914803594, 0.0263914093, -0.0060220947, 0.0344168767, -0.0597013272, -0.010961853, -0.0091351047, -0.0012768772, -0.0378611684, 0.0176863708, -0.0316660926, 0.0033943814, 0.0449005477, 0.0105849337, -0.0713856965, 0.0191849303, 0.0074176127, 0.0268574525, 0.0339611433, -0.0068305111, -0.0058070137, -0.0561047196, 0.0185450967, 0.0389373899, -0.0443615094, 0.0355400369, 0.0459163077, 0.043163307, -0.0385490917, -0.0317227058, 0.0235360879, -0.0339057595, 0.0096237333, -0.0039628786, -0.0354874581, -0.0107661895, -0.0217892304, -0.0307028685, 0.0211378112, 0.0499582924, 0.0097579909, -0.0060019479, -0.0098387077, -0.0798278153, -0.0092177447, -0.0015823619, 0.0256682131, -0.0967903361, 0.0328125693, -0.0437218584, 0.0149345817, -0.0280642584, -0.0260664187, 0.0038524973, -0.0287159607, 0.0489605293, -0.0035859484, -0.0281618498, 0.0414716303, 0.0576549806, 0.0099396221, 0.0554400645, 0.0546296909, 0.0082562147, 0.0332914256, -0.0377554595, 0.0157105736, -0.0163176991, 0.0547799692, 0.0298578329, -0.0054713576, 0.0307287984, 0.0357459784, 0.0531994291, 0.0348272212, -0.0102850702, 0.0046214503, 0.0420247056, 0.0355201773, -0.0209831893, -0.0147627443, -0.003214502, -0.0060537672, -0.0299443025, 0.0258409176, 0.0324457847, 0.0077670775, 0.0710909218, 0.0120863691, -0.0675541088, 0.0103175389, -0.0109820208, 0.074041836, 0.0055837221, -0.0088730818, 0.0174512397, -0.0144772474, -0.0466057584, -0.0029424734, -0.0263622757, 0.0300053731, -0.005890056, -0.0340788811, 0.0223827381, -0.0183629263, -0.0517292172, -0.0575438812, 0.0407499894, 0.0613651015, -0.008234892, -0.0010418206, -0.0218298119, 0.0261445642, 0.0431811586, -0.0314351618, 0.0218391251, -0.003689429, -0.0259464923, 0.0108181192, 0.0286432821, -0.0199661143, -0.0030246242, -0.0072333198, 0.0229214355, -0.0383350365, -0.069562532, 0.0504225269, 0.0321949683, 0.0273794774, 0.0306697339, -0.0283368099, -0.0472089909, 0.0037607478, -0.0052646105, -0.0178223252, 0.0244076438, 0.0780092105, -0.0064357598, 0.0021349075, -0.0269540809, -0.005990393, -0.067384623, 0.0125740469, -0.0350039527, -0.0553840324, -0.0120974397, -0.0019577977, 0.0047109174, 0.0481816679, 0.0268330444, -0.0308856554, 0.0587927848, -0.0163608249, -0.0252961237, -0.025872888, 0.0099653518, -0.0542887151, -0.0280941986, 0.0591495372, -0.0556340404, -0.0895582512, 0.039362289, 0.0623227172, 0.0190172456, 0.0099204686, -0.0368299969, -0.0213502161, -0.0113693336, -0.0200656261, 0.0188600849, 0.0289722625, 0.0469110385, 0.0033864651, 0.1056955531, -0.0116359405, -0.0247515067, 0.0248603411, 0.0087248171, -0.0070138448, -0.0581026636, 0.0432665087, 0.0319466069, 0.0009689427, 0.0671841949, -0.002033351, -0.0464786626, 0.042760361, 0.0259524751, 0.0326852575, -0.010246492, -0.0317406617, 0.0378698185, -0.0017603419, 0.00104504, -0.0105666611, 0.0017543875, -0.0882389173, 0.0047170911, -0.0101756649, -0.0119782267, -0.0820280761, -0.0143279396, -0.0103501799, 0.0085272305, 0.0068735052, -0.0231517684, -0.0501263514, 0.0098740319, 0.0234287176, 0.0052424222, -0.0114990454, -0.0590794533, 0.0203406718, 0.0209463593, 0.0415631831, -0.0059574149, -0.0266675837, -0.0028443402, -0.0189141538, 0.021068627, -0.0352622755, -5.326516083e-33, -0.0428187102, -0.0249838755, 0.0279559251, 0.092804268, -0.0548355654, -0.0719822496, -0.033368662, 0.0489474013, -0.0193761066, -0.0064825453, -0.0412374623, -0.00010162, 0.0193173531, -0.0217184462, -0.0176138822, 0.0019459692, 0.0429302864, 0.0038752921, -0.0315744206, 0.0480615534, 0.0160811469, -0.0066152248, 0.0258956961, -0.1004194841, 0.0391398743, 0.0046249838, 0.0031189159, 0.0365975127, 0.0203475654, 0.0148034738, 0.0291343424, 0.0037567958, -0.0132295489, 0.0021761723, -0.0192825105, 0.0232930575, -0.0185121056, -0.0374774486, 0.0362570919, 0.0428857878, -0.0300550666, -0.0046794158, -0.0354036838, 0.0069706384, 0.0036877864, 0.0469397977, -0.0273472965, 0.0123751769, -0.0488198064, 0.0300100856, -0.0722128376, 0.0135436477, -0.0330995321, -0.0579174906, 0.0027523665, 0.0291891303, -0.0040370962, -0.1137867719, -0.0048135249, 0.0233607274, 0.0416019596, -0.041049201, 0.0341173634, 0.0013015555, 0.0040752091, 0.0305207931, 0.0367435627, 0.0590362102, -0.0080181789, -0.0468031354, -0.0348606855, 0.0819981545, 0.018502133, 0.0079125734, -0.0790276453, 0.0033708168, 0.0380834714, 0.0246763993, 0.0723064542, 0.0540843606, 0.0085229697, 0.0334192552, 0.0039279298, -0.0350767225, -0.0210073385, 0.0140341138, -0.037836466, -0.0765253231, 0.0359861217, -0.0017190034, 0.0266600475, 0.0110036163, 0.0243274327, 0.0088474285, 0.0276623387, 0.0086405585, 0.0095366566, 0.0142778801, -0.0390561596, -0.0463777855, -0.005202488, 0.0015506067, 0.0164087415, 0.0266238134, 0.0471403785, 0.014679743, -0.0604337081, -0.0142061487, -0.0323032625, 0.0210937299, 0.0025028812, 0.0626976416, -0.0435292087, -0.0169842895, -0.0429797582, -0.0462588035, -0.0279849414, 0.0528586805, -0.0322440378, -0.0812591314, -0.0825979859, 0.0206239, 0.0018225361, 0.0035366758, -0.0428327061, -0.0032578516, -0.0110305818, -0.035891097, 0.0356708355, -0.0037001632, 0.013718904, -0.0491189845, 2.447e-7, -0.0398752242, 0.0411302336, 0.0170920305, 0.0577553585, 0.0308561493, 0.0451014675, 0.0091080759, 0.0201904867, 0.0538835563, -0.0038991638, 0.0332100503, -0.0240112972, 0.0445485935, 0.0454080775, -0.0596750379, -0.0695883408, -0.0552514829, -0.0621648207, -0.0376928002, 0.0044724778, 0.098122403, 0.0041453801, -0.0231189802, 0.0088437377, -0.0137488898, -0.0081220809, 0.0095210783, -0.0302618369, -0.0037598973, 0.0293232631, 0.0364594758, -0.0406230949, 0.014622787, 0.010354504, 0.0185295027, 0.0167843904, -0.0127650388, 0.0715502575, 0.0013528079, -0.0509774983, 0.0136474473, -0.0188497156, -0.0100582214, -0.0243183579, -0.0151007436, -0.0323779732, -0.0523597114, -0.0020284597, -0.0122951055, -0.0684350878, 0.0045007463, -0.0209382009, 0.0023653191, -0.0057940427, -0.0316210799, 0.0027062541, -0.006201284, -0.0176462345, 0.0174617376, 0.0100937961, -0.0178597458, -0.0438045524, -0.0001269538, -0.0469669029, -0.017920699, 0.0143709294, 0.0095835133, 1.335434018e-34, 0.0182807297, 0.0033236325, -0.0007215439, 0.1032963097, 0.0265336167, 0.0526761487, 0.0630261675, 0.0346674509, 0.0561956428, -0.0328055099, -0.0280411374 ]
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.0170067307, 0.0343278944, 0.0254092384, 0.0463786088, -0.0408241451, 0.0110291457, 0.0175918359, 0.0036172296, -0.0553651191, 0.0171180833, -0.0181302764, -0.0428910553, 0.0376626998, 0.0061887531, 0.0354570597, -0.0677490532, -0.0050458787, -0.0101967528, -0.042895861, -0.0010822483, 0.0040495815, 0.005445045, 0.0467436798, 0.0112694483, -0.0170680825, 0.0009266221, -0.005714837, 0.080948174, 0.0497219115, -0.0233748239, -0.0379696377, 0.0221625715, 0.0273443628, 0.0615081675, 0.0000021166, 0.0232439972, -0.0181360189, 0.0234020948, 0.0455219187, 0.0126988497, 0.0683616772, -0.1020415649, -0.0387957431, 0.0027804978, 0.0087356772, -0.0049459343, 0.1046784669, 0.0144100729, 0.0438191146, 0.0684093684, -0.0355096906, -0.0314200819, -0.0139829619, -0.0562691092, 0.008256373, -0.0361979008, -0.0156924855, -0.0033400995, -0.0685105994, 0.0274733528, -0.0376480557, 0.0667980909, 0.0299285073, 0.0032063199, 0.0194251537, 0.0067432737, 0.0096368492, -0.0517112575, -0.0299040135, 0.044437144, -0.0662864298, -0.0042868177, -0.0324469842, 0.0073861936, -0.0172610246, -0.0360878035, -0.0321377665, 0.0053418665, -0.0071654161, 0.0084892679, -0.0456977077, 0.0382004604, 0.0129299164, -0.0335223489, -0.0543877445, -0.0479251593, 0.0321890973, -0.01458464, -0.0644022375, 0.0395585969, -0.0051418776, -0.0227343272, 0.0543636531, -0.0138454521, 0.0102320034, 0.0075601642, -0.0260917265, -0.0282506142, -0.0036216069, -0.0272805244, 0.0278101359, 0.0526602007, -0.0361875892, 0.0642008036, -0.0584789403, 0.0814007893, -0.0429920889, 0.0319252349, -0.0774197802, -0.041743841, -0.0248560552, 0.0187077299, -0.0212086104, -0.0746900514, -0.0223091356, -0.0287189316, -0.0309055578, 0.0040176185, 0.0413967632, 0.0159945786, 0.0117842946, -0.0113441749, -0.0873662755, -0.0406638831, 0.0028682996, 0.0635601208, 0.0295454767, -0.0277521089, -0.0073650107, -0.0104564438, -0.0234288089, 0.0299785994, 0.0284755677, -0.0030329302, -0.0100850957, 0.0900655985, -0.0447938628, -0.0332728811, 0.0080905007, 0.0390020646, -0.022462992, -0.0617530122, 0.015398751, -0.0503866188, 0.0441641584, 0.000211515, 0.0043594968, -0.0281963274, 0.0105042411, 0.0088022603, 0.0037824728, 0.0671903268, 0.0224656016, -0.0080431942, 0.0422457568, -0.0084510148, 0.0160530135, 0.054831557, 0.0327204727, 0.087105684, 0.0170801841, 0.0014125033, -0.0191368219, 0.0894355848, 0.0113225468, 0.0307946745, -0.050098896, -0.0023281048, 0.0317187607, 0.0101627968, 0.0264304299, 0.0632169619, -0.0190484989, 0.0447837748, 0.0928979889, -0.008341427, 0.0014663999, 0.0193129219, 0.0377346314, 0.0313246846, -0.0503284484, -0.0283198878, -0.0147168376, 0.0612888485, 0.0194935072, 0.0152795706, 0.0138667868, 0.0562994592, -0.0235465057, -0.0396746099, -0.0020393783, -0.0131677315, 0.0237579588, -0.0326334462, 0.0732556283, 0.0214522574, -0.0832544863, 0.0376427621, -0.0192705598, -0.0390765332, 0.0093393466, -0.0096351122, -0.0212014448, 0.0510046631, 0.0367609113, 0.0257081594, 0.0031977894, 0.0014801964, 0.0175730847, 0.0975640044, -0.0099656731, 0.0244057048, 0.0249905623, -0.0663228035, -0.0436547846, 0.0473638475, -0.0118624531, 0.0353403911, 0.007383835, 0.0209169388, 0.0111740204, -0.0402745903, -0.0455026999, 0.04588091, 0.0222398322, -0.002575055, -0.0016408504, 0.042099487, 0.0190523323, -0.0104440218, -0.0025574451, -0.0199228097, 0.0178560764, -0.0454921462, 0.009830622, 0.0151507296, -0.0420989655, -0.0547910109, 0.0319998339, -0.0631897077, -0.014912012, -0.0200452134, -0.0368357375, -0.0304717943, -0.0016139229, -0.0629683658, -0.0160723403, -0.0212837365, 0.0330000743, -0.0090171508, -0.0028675664, -0.0369408652, 0.0267428942, -0.036846526, -0.0207922999, 0.02906272, -0.0318632163, 0.0074048666, 0.0082848985, -0.0158613529, 0.0167692807, 0.0292392429, 0.0057561486, 0.0217379425, 0.0212260913, -0.0096280798, -0.0405935794, -0.061044272, 0.0059966622, -0.0195720028, 0.0165560301, 0.0127977282, 0.0319635011, 0.0259108339, -0.0472730286, -0.0270052087, 0.0394028202, 0.0028584774, -0.0100094732, 0.0342072956, 0.0082453657, -0.0122160418, -0.007341742, 0.0018430501, 0.0469424166, 0.0336364061, -0.0013648717, -0.0311143715, -0.0696026608, 0.0190919042, 0.0095802722, 0.0048827706, -0.0137055358, -0.0629588291, -0.0139901536, -0.0013877719, 0.0161896795, 0.0539907366, 0.0152148744, -0.0264755432, -0.0192240216, 0.0029641145, -0.0333460942, -0.0128652453, -0.009729919, -0.0261936728, -0.0080783712, -0.0585779361, -0.0295624547, 0.0333824381, -0.0174564421, 0.0622470342, -0.0624260716, -0.0303079635, -0.0067293812, -0.003488763, -0.0263514686, 0.0211486463, 0.0199551955, 0.0422364958, -0.0642044991, -0.0782038793, 0.0432504863, -0.0630813986, -0.0389839783, -0.0099727809, 0.0127825495, -0.0247230753, 0.0463987961, 0.0225240383, 0.0417430922, -0.0203899387, -0.0098700579, -0.0449723266, 0.0009736593, 0.0204399843, -0.008007885, 0.0268939435, -0.0392436646, -0.0138001703, -0.0243031625, -0.0201308932, -0.0002649561, 0.0297136959, 0.0157047119, -0.0207256954, -0.0351539925, -0.0310795438, -0.0420620143, 0.0237481296, 0.0243621431, 0.0227713808, 0.0041494588, 0.0013399865, -0.0207038131, 0.0247787163, -0.0073021804, -0.0220374409, -0.0373395868, -0.0676227808, 0.0152046066, 0.0428610966, -0.0352456719, -0.0234840661, -0.0637673885, -0.0123974336, 0.0363536626, 0.073858425, -0.0055946526, -0.0119749215, 0.0656668991, -0.0661350563, -0.0080421539, 0.0539860502, -0.0047033657, -0.0307074394, -0.0386444107, 0.0167317409, 0.0634818077, 0.001898616, -0.0071833702, -0.0701335892, -0.0260378048, -0.0056075011, -0.009002951, 0.0447461829, 0.0506515764, -0.0119327018, -0.0672087446, 0.0387965478, 0.0760060325, -0.0427292474, -0.0889040381, 0.0199062843, -0.0432030559, -0.0285048634, -0.0015199082, 0.002593948, 0.018310966, -0.0106913019, 0.0070871799, 0.0140500199, -0.028310148, -0.0392142683, -0.0429928713, -0.0361492932, 0.1012467071, 0.0343018472, 0.011273331, -0.0385983363, 0.0184936561, 0.0131447567, 0.0285271928, -0.0085674254, 0.0365148932, 0.0077224425, -0.0319867469, 0.0210014693, 0.0200733859, -0.0300736018, 0.0245381948, 0.0303426385, 0.0280805789, 0.0246064682, 0.0345659405, 0.0089737037, -0.040046446, 0.0097579584, 0.0022710382, -0.0072080265, -0.0402026363, -0.0363234058, -0.0372027047, 0.0050124726, -0.065140076, -0.0050701792, -0.014810605, -0.0493807085, -0.0735476688, -0.0741767138, -0.0348248594, 0.0085105207, 0.0602427609, -0.0191630125, -0.0178350657, -0.0165057145, 0.0282879919, -0.0437396318, 0.04326915, -0.0374417789, 0.0211277213, -0.027838476, 0.0315513872, -0.006044887, -0.0483021662, 0.0079699904, 0.0398214981, -0.0649211481, -0.0444632433, -0.0372027345, 0.0530623384, 0.0123779904, 0.086091727, -0.0070569986, 0.0076110885, 0.057614889, -0.0206161886, 0.0148825711, -0.0181779787, 0.0168347433, -0.0456874445, -0.0356276818, 0.0229813661, -0.0253737886, 0.0248607174, 0.014670467, 0.0043112831, -0.014788094, -0.019691119, 0.032328546, -0.0244251769, 0.0319624208, -0.0584939271, -0.0172485653, -0.0161779914, 0.0198382922, 0.0059629236, -0.0149687724, -0.056672819, -0.0087073445, 0.0585007966, 0.0037445722, 0.0189144108, 0.0002265052, 0.037574064, -0.0448044389, 0.028628923, 0.0127954641, -0.0446805619, 0.0359564945, 0.033788722, 0.0339554437, 0.0049478104, 0.007372485, 0.0046618371, 0.0222264286, -0.0331176892, 0.0392573141, 0.0281982832, 0.0339332335, 0.0012423692, 0.0584716462, 0.0191720128, 0.0209756661, -0.0833908841, 0.0005242199, 0.087918438, 0.0141952876, 0.1039369106, 0.000989546, -0.0184612498, -0.0149031226, 0.0505478345, -0.0047235782, -0.0443648659, -0.0051381527, -0.0258680135, 0.0138354525, 0.005315634, 0.0321768299, -0.006614327, -0.0020838922, -0.0463590436, -0.0150428424, -0.0418624282, 0.024143951, -0.0042681764, -0.071467042, 0.0001305066, -0.0005865547, 0.0216612369, -0.0388589464, 0.0141033642, 0.0395010337, -0.0244471021, -0.0019507447, 0.0319950879, 0.0583147891, -0.0111148655, 0.019114824, -0.0073500532, -0.0449374653, 0.0210091267, -0.008810129, -0.0117862206, -5.741637872e-33, -0.0453955084, -0.0073934486, 0.0291560683, -0.0348858088, -0.050220672, 0.0023242664, -0.0303477515, -0.0089350594, 0.0105852289, 0.0048345886, 0.0289746672, -0.016341649, 0.0290379748, 0.033601366, 0.016979577, 0.0519071147, 0.0633254424, 0.003662809, -0.0228346977, 0.0113883093, 0.005792954, 0.0112067917, 0.0513940416, -0.0529149398, -0.0235352553, -0.0160702001, -0.0185466316, -0.0084631704, 0.0352181755, 0.0043618167, 0.0150017841, 0.0014176564, -0.004209152, -0.0249265656, -0.0230150037, 0.009919038, -0.0769577101, 0.0352742672, -0.0286344104, 0.0767865703, -0.0512149371, -0.0518216342, 0.0469433963, -0.045641914, -0.0076634064, -0.0600986183, 0.0279033184, -0.0672846958, -0.0085186381, 0.0120552806, -0.0646421313, 0.0405911505, -0.0134535562, -0.0230349004, 0.0563185439, 0.0608090833, 0.0315977633, 0.0157088228, -0.0794345737, 0.0006279235, -0.025818523, 0.0552959852, 0.1037091091, 0.0276502855, -0.0081184804, -0.004834915, 0.0498449653, -0.023996558, 0.0421965383, 0.0065656533, 0.0171077773, 0.0191477239, 0.1002696157, 0.0347569883, 0.0248059984, -0.0156438593, -0.0587630495, 0.0434518345, -0.0383564383, 0.0356418155, 0.012495419, 0.0371179767, 0.0007910396, 0.010962775, -0.0113316672, -0.0646281242, -0.015648229, -0.063278459, 0.020488549, 0.0586535856, -0.0051878486, 0.0064315172, 0.0955847651, 0.0010648492, 0.029284155, -0.003855536, -0.0205680914, 0.0629279837, -0.0276424587, 0.0262196511, -0.0191603489, -0.0414340273, 0.020703489, 0.0352828689, -0.0173482168, -0.0041232496, 0.057466507, 0.0391464494, -0.0374713466, 0.0122857355, -0.0510726348, -0.0259413719, -0.0112166675, 0.0436446257, 0.0187546071, -0.020538535, -0.0311443228, 0.0288877748, -0.0261826348, -0.0114856586, -0.0195807554, -0.0334626585, 0.028449541, 0.0194524545, -0.0433278158, 0.0268487036, -0.0469962917, -0.0050188568, 0.0311599988, -0.0317089409, -0.037626572, 0.0312256441, 2.653e-7, 0.0563251823, 0.0560145676, 0.0476697832, -0.0063481941, 0.0028537665, 0.0294484794, -0.0597048104, -0.0095399413, 0.0213709492, -0.0084439516, 0.0409028791, 0.0073907003, 0.0834411532, -0.0020039307, -0.0544860251, 0.0123392632, -0.0315832011, 0.0169131197, -0.0124161914, 0.0265656542, 0.0360142142, 0.1129746735, -0.0498881713, -0.0237948745, 0.024090616, -0.0114643155, 0.0711057335, -0.0090759778, -0.0179316942, -0.0166568961, -0.0308698732, 0.0173959229, -0.0696043596, 0.00196975, -0.0133223543, 0.0032196867, 0.056120038, 0.0416817963, -0.0421289802, 0.0146438843, 0.0058860518, 0.0151267163, -0.0511926711, -0.0334420316, 0.0285655335, -0.0323935077, -0.0003176781, -0.0237042923, -0.0496965572, 0.0387227647, 0.0220726952, -0.0173697621, -0.0203570798, 0.0338221267, 0.0739093646, 0.0093451971, -0.0194492601, -0.0272187516, -0.0391564071, -0.0256316178, -0.0275771245, -0.0142339226, -0.0532151982, 0.0536593422, 0.0010332795, 0.0117496243, -0.0175146367, 2.332859686e-34, 0.0055427579, -0.0320376605, 0.0106821042, 0.0064360253, 0.0049985042, -0.0331453495, -0.0421055816, 0.0064354148, -0.0229424015, -0.0188234262, -0.0277899988 ]
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.0093352068, 0.0778511688, 0.009847125, 0.0221230928, -0.0003769877, 0.022560183, 0.0068134777, 0.0311880633, -0.0002103981, -0.0357740521, 0.0102487849, -0.0567619056, -0.0223926343, 0.0125685586, 0.0292132404, -0.0075376914, 0.042916175, -0.0339788198, -0.0076035024, -0.0226144586, -0.0183382463, 0.0144119011, 0.0407281294, 0.0031323449, 0.006771652, -0.0196881983, -0.0271679778, -0.0071362057, -0.0048792576, -0.0365018584, -0.0253386907, 0.0789733008, 0.0420015194, 0.0150258793, 0.0000022594, -0.0213441029, -0.0172862373, -0.0045159976, -0.0315269008, 0.0841070935, 0.0264762584, 0.005005863, -0.0370960571, 0.0489883088, -0.0128755877, -0.0567720383, 0.0658368245, 0.0289304387, 0.026473131, 0.063299261, -0.0091594085, -0.0623575598, 0.0430836678, -0.0397283621, 0.0031555858, -0.0416016616, 0.0265752561, 0.07172966, -0.0085838242, 0.0109496405, -0.0315884054, 0.013287616, 0.0185034554, 0.0106035154, -0.0413979888, 0.0350387208, -0.0500650667, 0.0041866372, -0.0056461128, 0.0441798493, -0.0568627529, -0.0453882143, -0.0176321641, 0.0191746876, -0.043175023, -0.0739078, -0.027407594, 0.0544938855, 0.0071963747, 0.0538819768, 0.0075230002, -0.03323479, 0.0494945832, -0.0016223346, -0.0777497068, 0.044370953, 0.0420293324, -0.0043574977, -0.0184739269, -0.0280752443, -0.0981778428, -0.0370806642, -0.0286716446, -0.0187247675, 0.0223318152, -0.0185178388, -0.034866605, -0.00379297, -0.0081120273, -0.0342938267, 0.0194740836, 0.0608166903, 0.0092056151, 0.0106643243, -0.0309389606, 0.0549684837, -0.0173128191, -0.005375952, -0.0443850346, 0.023411246, -0.0139978882, -0.0112662287, -0.0729513392, 0.0335286297, -0.0066994894, -0.0126869027, -0.055808913, -0.0127626248, 0.0112920431, -0.0456578992, 0.0512977876, -0.0076043499, -0.0056998362, 0.0063755601, 0.041094698, 0.0166582651, -0.0046115224, 0.0065246457, -0.0276181139, -0.0629006252, -0.0050123977, 0.0328938439, 0.0076014013, -0.0530996807, 0.0238944944, 0.0175580829, 0.0062160562, -0.0574716553, -0.0154483197, 0.022604987, -0.0076079802, -0.0731826872, -0.009521449, -0.0512201525, -0.0034182384, -0.0153112588, 0.008898655, 0.0084018447, 0.0062058428, -0.0075482139, -0.0069581065, 0.0578388758, -0.0277922545, 0.0082624359, 0.0094475271, 0.0227400251, 0.0687163547, 0.0910942405, 0.0413718186, 0.0247310586, -0.0167100076, -0.0289962627, -0.041770827, 0.0580203123, 0.0348951593, 0.0139188748, -0.0403163359, -0.0276465435, 0.0160857644, 0.0322989561, 0.0846326798, 0.0849849209, -0.0778830498, -0.0018679429, 0.0150065031, 0.0356496051, 0.058391396, 0.0287785958, -0.0136682102, 0.0273576267, 0.0160275735, -0.0257229973, -0.0128288465, 0.0161882639, 0.0084090307, -0.0042490363, 0.0631973222, 0.0645490438, -0.0318164602, 0.0035000825, -0.0315247364, -0.0089680357, 0.0304624643, -0.0059133824, 0.0349948891, -0.0071213217, -0.0276634004, 0.0933180153, 0.0289154146, -0.0728323683, -0.0236537084, -0.0991288722, 0.0041873651, 0.0302440953, 0.0253871102, 0.0335173383, 0.0257411283, 0.0292220898, -0.0061322451, -0.0027597274, -0.0262004063, 0.0063152635, 0.0050259074, -0.0856461301, -0.0286106337, 0.0187692605, -0.0018988166, 0.0179997589, 0.048707258, 0.0224919412, 0.0142496498, -0.0128541579, 0.0083533162, 0.0028828287, 0.0182040483, -0.0410236567, 0.0311336853, -0.0167553946, 0.0471240953, 0.008377105, -0.0179762132, 0.0064928103, 0.0243844539, -0.0517034344, 0.0205940604, -0.0325529575, 0.0062325276, -0.0534635633, 0.0552035272, 0.015625719, 0.0487788618, 0.0242813881, -0.0368600897, -0.049057167, 0.0169695597, -0.020312639, 0.0549160689, -0.0916006938, 0.0144447219, 0.0013534847, 0.0269833282, -0.0416973568, 0.0331209451, -0.0160043146, 0.0074192355, -0.0053562238, 0.0133963097, 0.0152224293, -0.0449502841, -0.0335781388, 0.0407011136, 0.0238208529, 0.0327016041, -0.0201876089, 0.013386392, 0.0144481761, -0.0116185201, -0.1194886118, -0.0002482763, -0.0465390198, 0.0202741046, 0.0091912961, 0.0286021419, -0.0017458162, 0.0150602385, -0.0426539965, 0.0004870216, -0.0163869411, 0.0025305501, -0.0363482647, -0.020261826, -0.0248516984, -0.0165150966, -0.0401068963, -0.0008722377, 0.0402209237, -0.0391723961, -0.0155953532, -0.0775008351, 0.0411145538, -0.0157319289, 0.0292644631, -0.0139385462, -0.0553161986, 0.0047899559, -0.0368530937, 0.0650531352, 0.0342253894, 0.018675819, -0.0215167366, 0.0757820457, 0.0023645749, -0.0234045424, 0.0257317945, 0.007499706, -0.0608082414, -0.0141452635, -0.0498367585, -0.0409944803, 0.0604279265, -0.0071341055, -0.0301540717, -0.0567250773, 0.0008262328, -0.0092155924, 0.0026624145, -0.044628866, 0.0173925515, -0.0109980097, 0.0559465624, 0.0038476698, -0.0453948081, 0.0067807315, -0.0406794846, 0.0083136102, -0.0284390096, 0.0005735115, -0.0324974954, 0.0687805116, 0.0208700541, 0.0544330552, -0.0240233485, -0.0235368814, -0.0296132416, -0.0274976883, -0.0145083088, -0.0370175615, 0.0026745908, -0.0154487705, 0.0546074361, -0.0388626494, -0.02016332, 0.0216288064, 0.0174964536, -0.01112229, 0.0244997237, 0.042001497, -0.0392620601, 0.0485086627, 0.0989186615, -0.0208349433, 0.0438475348, -0.0216968544, 0.0228382703, 0.0035270366, 0.031239355, 0.0381603315, -0.0073480806, 0.0172459595, 0.0069083646, -0.0172798242, 0.0199057348, 0.0223625302, 0.0701758489, -0.0362164266, 0.0103237601, 0.037816409, 0.0126624471, -0.0167216174, 0.0101582147, 0.0358164646, -0.0217956267, 0.0113886651, 0.1051840484, 0.0194971971, -0.0458665341, 0.0124564553, 0.0019715566, 0.029141495, -0.0220241062, 0.0188119318, -0.115596287, -0.0222605988, 0.0074733519, -0.0147754392, 0.0158468969, 0.017287517, -0.0091627939, -0.0829697177, 0.0300004128, 0.0387610532, 0.0264124293, -0.0311293565, -0.020630734, -0.062019404, -0.0415336229, 0.0455446579, 0.0553324148, -0.0156798977, -0.000334542, 0.0179781616, 0.0040818006, -0.036279548, 0.0408334546, -0.0181630887, 0.0304734521, 0.0699703246, 0.0231332779, -0.0064216307, 0.0015554477, 0.0175406504, 0.0069006784, -0.0324534625, -0.0138764055, 0.0022216723, 0.0178999919, -0.012868993, 0.0200166274, 0.0012909115, 0.0230552889, -0.0090915672, -0.0077085542, 0.0375276245, -0.0153272264, -0.0306349155, 0.0183485001, -0.0311742574, -0.0344669335, 0.0603505559, 0.0259401109, -0.0068301414, -0.0591296926, -0.0205785483, -0.0018454349, -0.0281955339, -0.0261701439, -0.0076847598, -0.0000450453, -0.0671395212, -0.0257664453, 0.0258457568, 0.025771182, 0.0177777987, -0.0165549796, 0.0201953053, 0.0120908823, 0.0178264771, -0.0876921564, -0.0110692121, -0.0336620361, 0.0044107549, -0.0533527583, -0.0033267569, 0.0362661071, 0.0027725098, -0.0079105394, 0.0114477398, -0.1090089828, -0.0652520806, -0.0214933474, -0.004738023, 0.0167482086, 0.0222037546, 0.0118138418, -0.0596270785, 0.0324669108, 0.034243241, 0.0162060466, 0.0563070364, -0.0065692724, -0.0030330578, 0.0006101457, 0.0346133374, 0.0016499191, 0.0411705561, -0.0302649569, 0.0511944368, -0.0554035418, -0.0270233732, -0.0228165071, 0.0329313166, 0.040667098, -0.0211406853, 0.0225716867, -0.0028785921, 0.0324623361, -0.0287473947, 0.0242515169, -0.0521859527, 0.0234569088, 0.0559801497, 0.0068344311, -0.0348366499, -0.0179322362, 0.0209867526, -0.0252733361, 0.0232896097, 0.0159416981, -0.0763419867, 0.0155388368, 0.0581814684, -0.0365407914, -0.0183038861, -0.012192199, 0.0316569991, 0.0246779285, -0.0441672727, 0.0167253576, -0.0065996787, 0.000449224, -0.0231758263, 0.0464534089, 0.008040213, -0.0499260649, -0.0542939566, 0.0209466927, 0.0737714395, 0.0488366038, 0.0457092077, -0.0203789379, -0.025588613, -0.02276133, 0.0293048657, -0.0073651043, -0.0155629646, 0.0437363163, 0.0110538881, -0.0508480668, -0.0111686727, 0.0595546104, 0.0823978633, 0.0291782729, -0.0042470512, 0.0088859331, -0.0134055177, -0.0459141023, -0.0424513333, -0.0013618763, -0.0121352058, 0.0084791612, -0.0013366711, -0.0443532802, -0.0214490183, 0.0012497521, -0.0077423337, -0.0183148943, 0.0214088243, 0.0245915186, -0.0152676674, -0.060097944, -0.0324956886, -0.0530539341, 0.0200187862, -0.019451037, -0.005298269, -7.159872908e-33, -0.0227370225, 0.0127490945, 0.0438496508, -0.0536170118, -0.0452994406, 0.0071885455, 0.0006795047, -0.0198504347, -0.0217089374, -0.0323229879, -0.0001978824, 0.0313295983, 0.0109158438, 0.0138959941, -0.0122797638, 0.0393060893, 0.0676327199, -0.0113135781, -0.0015935899, 0.0428663008, -0.0155588984, 0.0095469551, 0.0464663878, 0.029204363, -0.0537690148, 0.0265725292, -0.0199891925, -0.0106310472, -0.0160037037, 0.0101158731, -0.042493064, 0.0018587328, -0.0007878048, 0.0007472659, -0.0020070684, -0.0027512936, -0.0503367186, 0.0066012922, 0.0402725004, 0.0160582289, 0.03439698, -0.0509891808, 0.0092611974, 0.018885633, -0.0424677618, -0.0194954313, -0.035766948, 0.0143585363, -0.0351065062, -0.067610696, -0.0150980158, 0.0391259044, 0.0486951023, 0.0385627709, 0.0446260609, -0.0233740304, -0.0511465818, 0.0074478146, -0.0323831923, 0.0182220396, 0.0668636709, 0.0824578702, 0.0283546764, 0.0418210626, 0.0437900648, 0.0209805071, 0.0346719772, -0.0565151311, -0.0449352227, 0.0487527736, 0.0526445247, 0.0066962102, 0.0376299396, 0.0253757369, 0.1073707268, -0.0173374172, -0.1025869995, -0.0209368151, -0.0026179291, 0.0252757072, 0.0422304273, 0.0402782559, -0.0118934214, -0.0535698272, -0.0388004743, 0.0077325092, -0.0327244028, -0.0578441359, 0.0083317515, -0.0029584563, -0.0377433114, -0.0300584733, 0.049842786, -0.0411877558, -0.0232465621, 0.009564952, -0.0160678048, 0.0208994653, -0.0157434363, 0.061362274, -0.0455037393, -0.0456207059, 0.0230010636, 0.0000736883, 0.0113716805, -0.0169317462, 0.0037284137, 0.0381361432, -0.0832392052, -0.033527758, -0.0149499066, -0.0110120326, -0.0000858082, 0.0542631038, 0.0193870328, 0.0129029779, 0.0386187173, 0.0207190905, -0.0023938762, -0.0057818792, -0.0240750853, -0.0068276525, 0.0354993381, 0.0537850559, -0.0237878989, 0.0337570161, -0.0475074835, 0.0126317386, 0.0582835115, -0.0573408566, -0.0513271056, 0.0635750517, 3.014e-7, 0.0500634871, 0.0181108266, 0.0156395938, 0.0026842614, -0.0035413576, -0.0236187186, 0.0130363144, 0.0187113862, 0.0160874799, 0.0145342387, 0.0176941324, 0.0424906127, 0.0097803017, 0.0007259821, -0.0834373534, 0.0313426033, -0.036564, -0.0084099369, -0.0504090302, -0.0335204639, 0.0208371412, 0.1388607621, -0.02745663, 0.0020673468, 0.0542881116, -0.0097678239, 0.0368821286, 0.0012879128, 0.0071493667, 0.0353140384, -0.0059743561, 0.0232923627, -0.0035981252, -0.0208277591, 0.0190072916, -0.0070033851, -0.0396502428, 0.1003523245, -0.0348197185, -0.0153404996, 0.0234170463, -0.0030409214, -0.0276673585, -0.0224508177, 0.0773975328, -0.0439068452, -0.0282920264, -0.0778077394, 0.0070152129, -0.0368269458, 0.0047959532, -0.0118121943, 0.0335630737, 0.0330005139, 0.0151419658, -0.0272551887, 0.0140780983, -0.0660385713, -0.011098423, 0.0361924022, -0.0342759304, -0.071634464, -0.0409609564, -0.0127879977, 0.0243150052, -0.0221494827, 0.0290582832, 2.898520425e-34, 0.0465406217, -0.0244673472, 0.0319560245, 0.0445102081, 0.0128142973, -0.0241587628, -0.0225690678, 0.0208741408, -0.0443530604, -0.0835636333, -0.0349854864 ]
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.0451733842, 0.0199470129, -0.0420564711, 0.0538501441, -0.0325053968, 0.0147619434, 0.012364761, 0.0038875211, 0.076432988, -0.0191418082, -0.0361597165, -0.0084275864, 0.0397857875, -0.0143326521, 0.0286152232, -0.0160399154, 0.0398423001, -0.0391008705, 0.0242018066, 0.0250748787, -0.00656388, 0.0205962565, -0.0353235751, 0.0490407236, -0.0095901825, 0.0021985115, -0.0265633762, 0.040307194, 0.0324689522, -0.0233791284, -0.0255070068, -0.0148454262, 0.010691572, 0.0129798912, 0.0000020415, -0.0556330979, 0.0478808396, 0.0109602427, -0.0288841147, -0.0222925525, 0.0370471328, 0.0104760276, -0.0184027683, 0.0061132549, -0.007663243, 0.0726600438, 0.0421055146, 0.0275357589, 0.0122276265, 0.0114157619, -0.0145058874, 0.0429734215, 0.0175713934, 0.0283586252, -0.0086992662, -0.0130772889, -0.0237231962, 0.0138551332, 0.0646814853, -0.0135005768, 0.0233309455, 0.0448431112, 0.0271280594, -0.0183325354, -0.0238812882, -0.0041734469, 0.0122126397, -0.0466431491, -0.0078569483, 0.0367116593, 0.0287836753, 0.0126706613, 0.0275623314, -0.0050335908, 0.0418871902, -0.0007930184, -0.0144850342, 0.0219968054, -0.0154144261, -0.0066642128, -0.0019637842, -0.026828533, 0.0208832752, 0.0195903387, 0.0122121945, 0.0651429147, -0.0059535373, -0.0154182697, 0.0001812462, -0.0153470188, 0.006212838, -0.0142947426, 0.0237994678, 0.0794804767, -0.0717252195, 0.0186937805, -0.0256632194, -0.0072768945, 0.0389159434, -0.0652721673, 0.0676711649, 0.0353418291, 0.0434364118, 0.0053710346, 0.0262608044, 0.0198147837, -0.0044110101, 0.0193902515, -0.0294103399, 0.0516573936, 0.0159381162, -0.0174028482, -0.0190276857, -0.0131100891, -0.0124629727, 0.0177008566, -0.029126551, 0.0475122891, 0.0112726148, 0.0396801941, -0.0166892968, 0.0271059703, -0.0056238458, -0.0142016206, 0.008684733, -0.0498758927, 0.0110120885, 0.0252521392, -0.0021264078, -0.057534907, 0.0173647422, 0.0318224095, -0.0630658567, 0.0063807191, -0.0484380312, 0.1085548624, -0.0120044313, 0.0165499486, -0.0535985567, -0.044971779, -0.0183050986, -0.0112910205, -0.0122132357, -0.0356159173, 0.0114102401, 0.0098760696, -0.0286506675, -0.0589630716, 0.0065508261, 0.0295380969, -0.034088254, 0.0309313685, -0.0439569354, 0.0345367156, 0.0799708739, 0.0390625633, -0.0170771778, 0.0502908379, 0.0854198933, 0.0283527505, 0.0366309918, -0.0057684658, 0.0061045764, 0.0474593155, -0.061035417, -0.0177352335, -0.047048185, -0.0139375143, -0.0386437848, 0.0181165542, -0.0077181957, 0.043042697, 0.0138680879, 0.0467647165, 0.0727689415, 0.0911318511, -0.0052513159, 0.0115810381, -0.0319403186, -0.0189356022, 0.0086263223, -0.0171074308, -0.0395493582, 0.0142630041, -0.0416856594, 0.0145893935, -0.0584271215, 0.0432472974, -0.0201313458, -0.039207451, -0.0258567389, -0.0420457497, 0.040000733, 0.0201788768, 0.0103063993, -0.0330991745, 0.0053537791, 0.0230947305, -0.0170937423, -0.0811774582, -0.0203778688, -0.045315709, 0.0106413839, 0.1060740128, 0.0222204905, -0.0057546254, -0.0122171948, -0.0046024248, 0.0139071438, 0.0506031476, 0.0570378825, -0.0079279104, 0.0081904391, -0.0139070768, -0.0228281301, 0.0278085005, -0.0348353162, -0.01362787, -0.0442808382, 0.0420712531, 0.0076278718, 0.0158879701, -0.0798835084, 0.0305521712, -0.0670157298, -0.0107718464, -0.0619133376, 0.0191686414, -0.0062753162, 0.0196785908, -0.0097524188, 0.0116213942, 0.0375678539, -0.0043771826, 0.0040710955, 0.0411567204, -0.0540511981, 0.0462370813, 0.0482128449, -0.0138597991, -0.0186010413, -0.0156185608, -0.0007905088, -0.0150413997, 0.0125847915, -0.0362973064, 0.0464799106, -0.0180037413, 0.0265424028, -0.0214297622, -0.06922324, -0.0655947775, 0.0057945, -0.0319673084, -0.0169746503, 0.0047675618, 0.001541008, 0.0397603028, -0.0577655137, -0.029740572, 0.0670854151, 0.0133955535, 0.0488959327, 0.0401142873, 0.0512781963, -0.0575266629, 0.0121712396, -0.0880114287, -0.0616487004, -0.0008872742, 0.0187643766, -0.0030706294, -0.0161562562, -0.044681482, -0.0173785165, -0.0021565985, 0.006212452, -0.000768779, 0.0009146371, 0.0310094599, -0.0335594378, -0.0310523342, -0.0341605619, -0.0024001494, -0.0003776475, -0.0129809892, 0.0304172467, -0.0248585567, -0.0871550962, 0.0524996668, 0.0004681683, 0.0086719319, 0.0153740924, -0.0196980853, 0.051966764, 0.0481151938, 0.0120297438, 0.0595089085, -0.0170248225, 0.0123525588, 0.0484289452, -0.0227371324, -0.0477345362, -0.0051114364, 0.058827512, -0.0183198806, -0.0185328517, -0.009544502, 0.0128429141, 0.0163339507, -0.0233690441, 0.0357538201, -0.0001638295, 0.0088587087, -0.0589614101, -0.0652356222, -0.0101213241, -0.0470492356, -0.0611003675, 0.0393683352, -0.0016198901, -0.0443357565, 0.0463652797, -0.0072629242, 0.0075795483, 0.0069016847, -0.0095843393, -0.0072435271, 0.0308407284, -0.0623619929, 0.0236152634, 0.0252388362, -0.0306181163, -0.0526898727, -0.0091010807, -0.0057314304, -0.0433245599, 0.0460547432, -0.063509874, -0.0041955248, -0.0161391199, -0.0342376642, -0.0402388908, 0.071619451, -0.0590113252, -0.0136935934, 0.009719044, -0.0288161729, -0.0285487249, -0.0137900235, 0.0591791794, -0.0312809236, 0.0255317632, -0.0134025747, -0.0007019881, -0.0365402885, 0.0325727463, 0.0612435378, 0.0265440736, -0.009191378, 0.0234269388, 0.0707129389, 0.0106717292, -0.0090564154, -0.003008527, -0.0210672561, 0.0907277837, -0.025119802, -0.0299658142, 0.0482640564, 0.0797759816, -0.0081489384, 0.0307688005, 0.097639434, 0.0129117901, -0.081561856, 0.0360429883, -0.0624518096, -0.0079845916, 0.0065782908, 0.0156590641, -0.0166637693, -0.0104569215, -0.008093575, 0.0244466718, -0.0136991264, -0.0222663004, 0.0200943891, -0.0442516245, 0.0399250984, 0.0005692474, 0.0055526509, -0.0229219608, 0.008906303, 0.0072376928, 0.0264625251, 0.0894960836, 0.0441014431, -0.0377069749, -0.0444758274, 0.0062042777, -0.0529645942, -0.0180329904, -0.0122584617, -0.0253581721, 0.0365628637, 0.0645580366, 0.0255806465, -0.0303657055, -0.0880216211, 0.0190755371, 0.0130583523, 0.0695336536, -0.0163241718, -0.0261298437, -0.0022648631, -0.0064037824, -0.0753685161, 0.0019039781, -0.0437811576, -0.0659491569, 0.0301082563, 0.0462135449, -0.0639715865, -0.0037392743, -0.0390143432, -0.0169757698, 0.0213550869, 0.0370021835, 0.0135507714, -0.0778708979, -0.0307029318, -0.0384351797, -0.0219265297, 0.0001101591, -0.0236897487, -0.0048930268, 0.0050224401, -0.0279131066, -0.041917488, -0.0359886102, 0.0207085852, 0.0091280155, 0.0197847392, -0.0060874433, 0.022258725, 0.0125110317, -0.0178523529, -0.013003326, -0.0110892681, 0.0499576889, -0.0245211516, 0.0475470275, -0.0108451536, -0.0057996572, 0.056355007, 0.0184310768, 0.0426661149, -0.0730060562, 0.0119603099, 0.054194022, 0.0272006933, -0.0106298961, -0.0116434721, -0.0737030357, 0.0048243115, 0.0401634611, -0.0666777417, 0.0356194489, 0.0176874883, 0.0223993678, 0.0006346692, 0.002362167, -0.0345680639, -0.0379053317, 0.0282721277, 0.0311365388, -0.060771618, -0.0801141486, 0.0021293187, 0.0739741474, -0.0359446146, -0.0603606217, 0.0671941191, -0.0051760511, -0.0092714168, -0.0292647406, -0.0093169296, -0.0343450457, 0.0179823227, -0.0376394428, -0.0356807299, 0.048350472, -0.0030139596, -0.0414114222, 0.018148018, -0.0029164134, 0.0814975873, -0.0551442169, 0.0478434414, 0.02508335, 0.0209832825, -0.0134586021, 0.0516369864, -0.0417822711, 0.0319056921, 0.0221613832, 0.0817516893, 0.0298214834, -0.0158791728, -0.0123546598, 0.066446729, 0.0289661195, -0.0891726613, 0.0212604441, 0.0311760996, 0.0461529084, 0.0103279762, 0.0392583944, -0.0168031696, 0.0219386835, -0.0222179703, -0.0005396222, 0.0022582922, 0.0083963992, -0.0190061964, 0.0227749795, -0.0382868871, -0.0468191095, 0.0344824642, -0.024477182, -0.0303971954, -0.0212909747, -0.0193366837, -0.0234189481, -0.0323401093, 0.0568413176, -0.0291951746, -0.0602530539, -0.0412647948, -0.0871773288, -0.0802852288, 0.0048319758, 0.0342704952, 0.0070013418, -0.0407862216, 0.0380675606, 0.0130989598, 0.0312763937, -0.0375911966, 0.006912746, -0.0146357948, -0.0293602888, -0.0147062289, -0.0503457002, -5.456687756e-33, 0.0006242939, -0.0508826599, 0.0297978446, 0.0209975392, -0.0109602865, -0.0526799858, -0.0194393899, 0.0554502271, -0.0119803045, -0.005443118, -0.012270676, -0.0147819091, -0.0022556563, -0.0296171885, 0.043141637, -0.0168041568, 0.0046725408, 0.0149006592, -0.01968427, -0.001350109, -0.0083319247, -0.0057801907, 0.0473052412, -0.0922515318, 0.0533995479, 0.0091483509, 0.0058872285, -0.0118156224, -0.0390932113, 0.0295796413, -0.0232927073, 0.0639244244, 0.0222661495, 0.0151678286, -0.0068178256, 0.0549548008, 0.0204998087, -0.0499778949, 0.025852656, 0.0153999291, -0.0122641362, -0.0596880503, 0.0259629842, -0.0015442966, -0.0616584234, 0.0116357608, 0.0202992577, -0.0342435725, -0.0141004408, 0.0000259373, -0.0462643839, -0.0054387171, -0.0118366284, 0.0042320886, -0.0064802589, 0.0181590281, -0.0285527799, -0.0151547687, -0.0658751503, -0.016916031, -0.0427567773, -0.0509936884, 0.0941770449, 0.0074520116, 0.0024021235, 0.0441756845, -0.041881822, 0.0516411923, -0.0711160153, -0.0067312354, 0.0298596825, 0.0635795519, 0.0018323128, 0.0245852806, -0.0256019607, -0.0834890157, -0.0356857777, 0.0450816453, -0.0098159378, 0.1043523401, 0.0033549163, 0.0399562232, -0.0522539318, -0.0344355702, 0.0213878807, 0.0230203737, -0.0133255124, -0.0300569516, 0.0103338966, -0.0403957702, 0.0029161214, -0.0594926439, -0.00992552, -0.0144751528, -0.0118923103, -0.058583688, 0.0229781233, -0.0102173369, 0.0192954578, 0.0168418773, -0.0541586876, -0.0130582787, -0.0490301996, 0.0277369823, 0.0486360341, -0.0016649822, -0.0016957576, 0.0295873713, -0.0065800194, 0.0104032401, -0.0177298784, 0.0307737347, 0.046353098, -0.0367785096, 0.0086960113, -0.0320146456, -0.0132416571, 0.0060972762, -0.0121182119, -0.0536239929, -0.0231410619, 0.0087241968, -0.0112415012, 0.0049422621, -0.0105599854, -0.0383901484, -0.015493663, 0.0623292215, 0.0666616485, -0.0412484854, -0.0254818648, -0.0128489221, 2.822e-7, 0.0281813219, 0.003790976, 0.0055500208, 0.0183782429, 0.0115165608, 0.0527874194, 0.0023217897, 0.0626585856, 0.0215200279, -0.0097262068, -0.0005934663, 0.0352143459, 0.0357193835, -0.0071274661, -0.0491780601, -0.0125786802, 0.0121398149, 0.0313985385, -0.042116221, 0.068584241, 0.071441479, -0.0593774058, -0.0174859911, -0.0358945169, -0.0378905609, -0.0135708638, -0.0019309773, -0.0924325362, 0.0345294587, -0.0135495653, 0.0890142918, 0.0320844315, 0.0130330278, 0.0319488756, 0.0333562531, -0.033374548, 0.005711969, 0.0784878582, -0.0487846397, -0.0181927159, 0.008953453, -0.0474079326, 0.0029244577, -0.0438306555, 0.0236648917, -0.0323612168, -0.0075057494, -0.0294337142, 0.0022102694, -0.0099934693, -0.0010887141, -0.0332466885, 0.006404825, 0.0275889598, 0.0194470752, -0.0085032145, -0.0219830014, -0.0087533854, -0.0036715397, 0.0452874862, 0.0161440037, -0.0673161224, -0.01313016, 0.0299448818, -0.0428407341, -0.0435071029, 0.0058883447, 2.182165443e-34, -0.0257161856, -0.012592773, 0.0329735316, 0.0484988093, 0.0428272784, 0.0391110852, 0.0235099066, 0.0397362746, 0.0282993242, -0.0295489598, -0.0074142502 ]
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.0293129776, 0.025290804, -0.0140315704, 0.0246754549, -0.0210689418, 0.0360270366, -0.0122997425, 0.0509233959, 0.0292874649, 0.0061337086, -0.0445427001, 0.0207485426, -0.0158117488, 0.0384545438, 0.020570565, 0.0447124504, 0.0348852575, 0.0168212969, -0.0037597294, 0.0690137222, 0.0144799082, 0.0130831478, 0.0016329264, 0.0499372669, 0.0098664295, 0.0260124281, 0.0218946915, 0.044784762, -0.0102476049, -0.0670522675, 0.0589341037, 0.0257561356, 0.0016202764, 0.0185942203, 0.000001868, -0.0024300048, -0.0637893826, 0.0011853036, 0.0063318717, -0.0062503857, 0.0615090169, -0.0209434833, 0.0543898568, 0.005938651, -0.0329727605, -0.0275542662, 0.0627378523, -0.0333650373, 0.0220955927, 0.0841019303, 0.011878348, -0.0108824195, 0.0120113604, -0.0079826424, 0.0291798487, -0.0500843823, 0.0096022747, 0.0319287255, 0.03440319, 0.0480250232, 0.0466144681, 0.047490593, -0.0290659573, 0.0041726017, 0.0238977689, -0.001616529, -0.0828677788, -0.0158189628, 0.003801787, 0.0409074761, 0.0077709998, -0.0518192984, 0.0261166785, 0.0109028807, -0.0508591831, -0.0396050103, -0.0239832196, -0.0114683527, -0.0554260202, -0.0046145665, -0.0315415263, 0.0164282862, 0.0328250527, -0.0126396613, -0.016459601, 0.0310128685, 0.0033559445, -0.0083212834, 0.0160482321, -0.0411767215, 0.0018749773, -0.0110235028, 0.0214884952, 0.0393372141, 0.0056309775, -0.0174315739, 0.0325714611, -0.0480251648, 0.0578577928, -0.0273208898, 0.0046499814, 0.0346883945, -0.0059655216, 0.0387736224, -0.0270919316, 0.0782764331, 0.0025910351, -0.0099466015, -0.0190478265, -0.0379000194, -0.0738720596, -0.0319918878, -0.0586242378, 0.0652177334, -0.0103241326, -0.0083404966, 0.0031763616, 0.0280933157, -0.0145720718, 0.0268166568, -0.0073348149, -0.0051553943, -0.0289502311, 0.0563286245, -0.0029720217, -0.0083035212, -0.027992392, -0.0722464398, -0.0123497834, -0.051086314, -0.0048445454, 0.0060500065, -0.0047865394, -0.0541396365, 0.0521555133, 0.0030321043, 0.0431216396, -0.0507347211, 0.0057985308, -0.0255688261, 0.0342298485, 0.0063748681, -0.0045177317, -0.0670733377, -0.022275269, 0.027902456, -0.0005133015, -0.0821419358, -0.0032978039, 0.0447320342, -0.0245832391, 0.0517456494, -0.0335500538, -0.0015059653, 0.0260218605, 0.0156539641, -0.0057616988, 0.0192582719, -0.0111023355, 0.0105748754, 0.0448423475, -0.0156720951, 0.0455467142, -0.0154849449, -0.0039243642, 0.0192296393, 0.014930645, 0.0783416405, -0.0090157297, -0.0073068584, 0.0259327777, 0.0207405407, -0.0204210728, -0.0212721266, -0.0501217358, 0.0395763963, 0.0386768803, -0.0391248055, 0.0146209858, 0.0510671102, 0.0020337505, -0.0537950769, 0.0051108026, 0.0264222287, -0.0297759324, 0.0129143987, 0.0219799206, -0.0109055461, -0.0071754875, -0.0504527912, -0.0115407147, 0.0143540408, -0.0195618235, 0.016924968, 0.0308532733, -0.0151108522, -0.0284613762, 0.0160221886, 0.025128793, -0.0734320506, -0.026655769, -0.0249455106, 0.0196967591, 0.0274538007, 0.053537678, -0.120573923, -0.0012663894, 0.0291192941, -0.0217261855, -0.0240440834, 0.0005634311, -0.009027279, 0.0427481681, -0.0265951734, -0.0196875557, -0.0170922838, 0.0124266809, 0.0201074965, 0.0430793166, 0.005476281, 0.0440952815, -0.0173624121, -0.0399124958, 0.0442559496, -0.0106390631, 0.0024175157, 0.0056083328, -0.0065914928, -0.036201261, -0.0079327347, -0.048461251, 0.0287367459, 0.0322136469, 0.0045730253, -0.0001030556, -0.0825795457, 0.0120015135, -0.0214003548, -0.0007474402, -0.0394486375, 0.0272947922, 0.04670709, 0.0160564333, 0.01260674, 0.0164678544, 0.0069627529, 0.0257593039, -0.0087724235, 0.0186415687, -0.0139956567, -0.035775546, -0.0634336621, 0.0275367238, 0.0467322432, 0.0819988772, 0.001895904, 0.0394060835, 0.0351704322, -0.0266553536, -0.0587015636, 0.0230662357, -0.0395927019, 0.0350587778, 0.04534458, -0.0043003084, -0.0304297283, -0.0310662221, -0.0886823088, 0.0409273207, -0.0210943595, -0.0186000466, -0.0000863743, 0.0241169222, -0.0008030468, -0.021651201, 0.0029543862, -0.0577660874, -0.0340799615, 0.0176329073, 0.0335027501, 0.0113010202, -0.026936993, -0.0852526203, -0.0349723063, -0.0090848515, 0.0623118915, -0.0024198538, -0.0412971079, -0.0163556915, 0.0687309653, -0.0511887036, 0.0048980382, -0.0373120904, -0.0173495878, 0.0328290984, -0.0425622687, 0.0203008354, 0.0259002782, -0.0000548028, -0.0307117812, 0.0112108402, -0.0005603437, -0.0922489017, 0.0368816629, -0.0018686692, -0.0478519686, 0.0387093015, -0.0351877324, 0.094315365, 0.0058381665, -0.0033364354, 0.0160691999, -0.0363970026, -0.0117784934, 0.0056392285, 0.0071099219, -0.0536723472, -0.0090793483, 0.0288369115, 0.0614700429, -0.0424922891, -0.0886020884, 0.025764389, -0.0345262848, -0.0337544084, -0.023234617, -0.0222330187, -0.0972212404, 0.0754721388, -0.0186802465, -0.001533577, 0.0281382184, -0.0379009359, 0.0430437215, 0.0255300663, 0.0186837856, -0.0748646185, 0.0362531208, 0.0185022764, 0.0441270545, 0.010708007, -0.033083193, -0.0059586116, -0.0113303214, -0.0129120052, -0.0039940886, 0.0416859314, -0.0081200683, 0.0007925952, 0.0307027716, 0.0399659611, 0.0484483466, 0.0288651921, -0.0386428274, 0.0045730867, -0.032321915, -0.0162910651, -0.0732529387, -0.0066237696, 0.0517219827, -0.0171671696, -0.0047273156, 0.0364131071, 0.0431032628, -0.0463582054, -0.0052307146, 0.0185000487, -0.0435781293, -0.0284165442, 0.0187748801, 0.0176156797, -0.0280383918, -0.042399209, 0.068484664, 0.0526394956, -0.0755796432, -0.0463052504, -0.0031092353, 0.0516124703, 0.0858661532, 0.0150128286, -0.0461687073, -0.0254259724, 0.0045612962, 0.057872355, 0.002865203, -0.0331832431, -0.0023150381, -0.0624891929, 0.0069726622, -0.0151758241, -0.0019051032, -0.0894940123, -0.0613414757, -0.009393068, -0.0132771488, -0.0673709959, 0.0515650064, -0.0324556418, 0.0179059859, -0.0038645049, -0.0285420604, 0.0332905762, 0.0168134551, -0.0511122271, -0.0293460581, 0.0694325715, 0.018131841, 0.0115942936, 0.0027984087, -0.0155738797, -0.0615632869, 0.0001107863, -0.0414659455, 0.1082883179, -0.0050602974, -0.0213316437, 0.0116803655, -0.0556190461, -0.05215187, 0.0131908087, 0.0344130918, -0.0219570994, -0.0122532565, 0.0411558226, -0.0550104827, -0.0180889573, -0.0139002921, 0.0597112887, 0.0321066082, 0.0631019548, -0.0157184582, -0.0277841724, 0.0262628458, -0.033684019, -0.0319595635, -0.0191554818, 0.006667519, 0.0212566089, -0.0615500212, -0.0203547515, -0.0056345975, 0.0352176875, -0.0233433004, 0.0056898138, -0.0296946168, 0.0100962296, -0.0905734599, 0.0490454212, -0.0216044635, 0.0048565003, -0.0649423972, 0.0004659048, 0.017419789, -0.0219106376, -0.0361232758, -0.0095361639, -0.0776190311, -0.0028818699, -0.0282354299, -0.0092539713, 0.0139365997, -0.014650682, -0.0273965448, -0.0294610653, -0.0266571045, 0.0077232318, -0.0476149097, -0.0042163543, 0.0193949733, -0.0031624979, -0.0277333725, 0.0154112345, -0.0752735287, 0.0051256591, -0.0125431856, 0.0333382897, -0.0074883192, 0.003642957, 0.0414271653, 0.0293842331, 0.0479530841, 0.0574977435, -0.0425113738, -0.0191733893, -0.0199511554, 0.0235637333, -0.0356471948, -0.0308391489, 0.0201832745, 0.0328576788, -0.029119717, -0.0057276594, 0.0667182952, 0.0118888114, 0.0814933255, -0.0371663459, 0.0391955338, 0.0111958245, 0.0578115433, 0.0104080345, -0.0144505929, -0.0296141636, 0.0275292508, -0.0138469161, 0.0452277809, -0.0275490955, 0.0130669866, 0.0098600825, -0.0156955421, 0.0118668582, 0.0030319202, -0.0731801316, -0.0223639645, 0.0294676628, -0.0244053118, 0.0274542216, 0.0132224625, 0.0211249609, 0.0255273487, 0.0021138398, -0.0349272378, 0.022466084, 0.0137237059, -0.0137426425, -0.0008826259, 0.0275951829, -0.0291839913, -0.0069639161, 0.0579293482, -0.0316502824, 0.0188332945, -0.018755598, -0.0501374491, -0.0161695145, 0.0315548591, 0.0722619221, 0.0100115584, -0.0031957473, -0.0289680082, -0.0194098782, -0.0221848097, 0.0462620929, -0.0127197271, -0.0104477778, 0.0085122986, 0.0299228728, 0.1223683283, 0.0312307309, -0.0142335184, -0.0367622748, -0.0036901718, -0.0224729851, -0.0187703241, -0.0451834574, -5.956441465e-33, -0.0097170556, 0.0236160457, 0.007776022, 0.0013719159, 0.0152774323, 0.0475057289, -0.0241604112, 0.0057131508, -0.0348871239, -0.0685654879, 0.0099940989, 0.0459985919, -0.0072054025, -0.0298885275, 0.0166734103, -0.0005139959, -0.0042076767, 0.061385639, -0.0570668094, 0.0213014632, 0.0099354153, 0.0541191362, 0.0092930794, -0.0649031773, -0.0108887115, -0.0028700768, 0.0516603552, 0.0043985089, 0.070238322, 0.0770264119, -0.0007276919, 0.0091785919, 0.0185354464, -0.01902912, 0.011646932, -0.0269607324, -0.059585508, -0.0274284016, -0.0193629693, -0.0380247049, 0.0147422114, -0.023222113, 0.0604741462, -0.0340209194, 0.0026907094, -0.0045044967, 0.0497168563, 0.0197955295, -0.0319792628, -0.0583471693, -0.0377466828, 0.0655188635, -0.034760084, 0.0271475967, 0.0481072403, 0.045531325, 0.0075911917, 0.1205363274, -0.0392697938, -0.021658659, -0.0699855834, 0.0971797481, 0.0012511297, -0.0014868823, 0.0005772582, 0.0142890364, 0.0491626151, 0.0158604104, 0.0038963053, -0.0083499914, 0.0474405549, 0.0283651594, 0.0431830548, 0.0257593077, 0.0312923454, -0.0056501385, -0.0178618077, 0.0291678421, -0.0089532388, 0.0350310989, 0.0120990379, 0.0460861102, -0.1072401926, 0.0063693835, -0.0394177996, 0.0037871001, -0.0752536058, -0.0150394924, 0.0513284206, 0.0328910612, -0.0066859988, 0.0283989888, 0.0154518271, 0.0015018247, -0.0032264416, 0.0412575677, -0.0047922796, 0.0299366731, -0.016508963, 0.0621407293, 0.0030644804, 0.0069377553, 0.0419282652, 0.0048740841, 0.0458014943, -0.0321957096, 0.0252252016, -0.0075775012, -0.0809412971, -0.0478184931, -0.0123649919, -0.0224428512, -0.0569030493, 0.0012103242, -0.0169844478, 0.0331532061, 0.0227397289, 0.0086421072, 0.0444194786, 0.001068772, -0.0806486458, -0.0511999801, -0.0068715159, -0.0068943962, 0.0037218675, 0.0020273128, -0.0477517731, 0.0506888255, 0.0116110053, -0.0184815787, -0.0134936841, 0.0458997414, 2.653e-7, 0.0362870395, 0.0291070975, 0.0057109953, 0.0512382947, -0.0591996759, 0.0028211658, -0.0477924421, -0.0074925912, 0.0204166733, -0.0178512074, -0.0387855619, 0.0114968382, 0.0315853208, 0.026656542, -0.048918996, -0.023072226, -0.010730084, -0.0377545357, -0.0640261024, 0.0037472905, 0.0338472612, 0.0869569555, -0.0133983064, 0.0172438938, -0.0211476088, -0.0744800121, 0.003960731, -0.0072041526, 0.0510065444, 0.0383589827, -0.0178374741, 0.0586697273, 0.0128990319, -0.0405027829, 0.0140739204, 0.0075938394, 0.0388532244, 0.0178632066, -0.0029950999, -0.0022199193, 0.018156521, -0.0059830532, 0.0050165695, -0.0734748095, 0.0643474758, 0.0223354716, 0.0362886377, 0.0328082256, -0.0348603204, 0.0148926461, 0.008065125, 0.0177788027, -0.0228293277, 0.0202849731, -0.0036532804, -0.0135070654, -0.0054548928, -0.1017162204, -0.0029580607, 0.0007047635, -0.0116158519, -0.0009381515, -0.0605156086, 0.0015579647, -0.0255851094, -0.0182401333, 0.0437505208, 2.474512954e-34, -0.0089695919, -0.0057966616, -0.0136959553, 0.0057834769, 0.074850291, -0.0124073438, -0.0599351525, -0.0019309757, -0.0495449528, -0.0443702117, 0.0136814499 ]
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.0239160229, 0.0350736231, -0.0037163957, 0.017642539, -0.0281282216, -0.0259533208, -0.0357101709, 0.0010189859, 0.0514818095, -0.0307738315, -0.0135273105, 0.0269241817, -0.0050666505, -0.0267171822, 0.0594678447, -0.0384197533, 0.0193992946, 0.0400078408, -0.043839056, -0.0192900393, 0.0050351974, 0.0463140011, -0.0261708871, -0.007674912, -0.0465357862, -0.0184902679, -0.016173875, 0.0147604756, 0.0178502277, -0.0598613732, -0.0093642119, -0.0024345112, 0.0245543551, -0.0586111397, 0.000002082, -0.0398156531, -0.0011716967, -0.0219443962, 0.0175493937, -0.0460157804, 0.0467449203, -0.036930345, 0.067230694, -0.040437147, -0.0117915766, -0.0297710709, 0.0638476536, 0.075988926, 0.0095608225, 0.0090276087, -0.0369822346, -0.0226910505, 0.013245564, 0.0021298961, 0.0228070486, -0.0089140944, 0.0045961179, 0.0290934965, 0.000008039, 0.0237423889, -0.0374703296, 0.0538722612, -0.0008721195, 0.0300971605, 0.0396867059, 0.0589709729, 0.0465340987, 0.0149982898, 0.0217927489, 0.1012127399, 0.0252870563, 0.0213352032, 0.0017446713, 0.0050646048, 0.0116889281, 0.0792648569, -0.0512153544, -0.0300585832, -0.0539716184, -0.0215395875, -0.0461969748, -0.0230433512, 0.0161019545, -0.0162751712, -0.0148173003, -0.0078985235, 0.0056297765, -0.0127718998, 0.0152236009, 0.0031198789, -0.0274568666, -0.0036138375, 0.0037222856, -0.0058683627, -0.0079849893, 0.0144809391, 0.0033496448, 0.0037402262, 0.0306498427, 0.0108554186, 0.001686335, 0.0051769726, -0.0584694967, 0.0657077506, -0.0578120053, -0.0295617022, -0.0432225578, 0.0177972987, -0.0369766802, -0.032350231, -0.0716090053, 0.0015425452, -0.0071978974, 0.0374230705, -0.0120924497, -0.0323514938, 0.0088027557, 0.0136912493, -0.027789982, 0.0235616993, 0.0057241786, 0.0435902551, -0.0300641898, -0.0189841837, -0.0596212745, 0.041094508, -0.0492132194, 0.0259395, -0.0409492254, 0.0337408036, 0.0093562063, -0.00182457, 0.0307713244, -0.0578089803, 0.0113561749, 0.0624776222, -0.0143620875, -0.0281345807, -0.0633567795, -0.0646471232, 0.0057700276, -0.028652614, 0.0276146941, -0.036398083, 0.0486966595, 0.0106065487, -0.015841987, -0.020427512, 0.0003824997, 0.0094679827, -0.0515479743, 0.0787778199, -0.0323168114, -0.0317637287, -0.0048821322, -0.0062235035, -0.0208517015, 0.0386237986, -0.0241717119, 0.0116989575, 0.0242533404, 0.0162061974, -0.0501579344, 0.0143008409, 0.0615645871, -0.0177005623, -0.0018910266, -0.0035102945, 0.0140536129, 0.0314075537, 0.0421430357, 0.0297046658, -0.0473224334, -0.0277393032, 0.0334658884, -0.0001082357, 0.0347483456, 0.0004780855, 0.0032663499, 0.0046663755, -0.0606880821, 0.0390904658, -0.057937894, 0.0725338906, -0.0365832709, 0.0282394998, 0.0425686352, 0.0506282896, -0.0088040326, 0.0101648681, 0.0520973578, 0.0057182773, 0.0252493098, 0.019635994, 0.0944331586, 0.0446000807, -0.0399569049, 0.0446005277, 0.0455754548, -0.0056887455, 0.0014666995, 0.0463241935, 0.0127490703, 0.0483085886, 0.046005059, -0.022514116, -0.0214173403, 0.0086719068, 0.0158059169, -0.0277635362, -0.0426549837, -0.0372235179, 0.003238546, -0.0416252874, -0.0768171847, 0.0123811951, -0.0390119776, 0.0091375886, -0.0137496386, 0.0001731211, 0.0323075429, -0.0835967511, 0.0664701909, 0.024653336, 0.0177861582, 0.0595511943, -0.0223715361, 0.0545793958, 0.0131659461, 0.0324051045, 0.007067184, -0.0258603636, 0.0152510786, -0.037088152, -0.0293461084, 0.0176379941, -0.0014682071, -0.0723497644, 0.0542735271, -0.0691279843, 0.0170176197, -0.0087248543, -0.0127391024, -0.0085138194, 0.0524501726, -0.0095588742, 0.0502030998, -0.0088421907, -0.0500965118, 0.0402635932, -0.0282578636, -0.0186018255, 0.0815754309, -0.0210452396, 0.011695791, 0.0086627277, 0.0363396443, 0.0278189611, 0.0127825197, -0.0163394269, -0.0228746217, 0.006067514, -0.0147356382, 0.0218944885, -0.0373771973, -0.0515195876, 0.0074540498, -0.1233339757, 0.0074996315, 0.0425019376, -0.0230368953, -0.0339146778, 0.0087440461, 0.0372261144, -0.0504582785, 0.0183916725, 0.0360623561, -0.0247840174, 0.037432801, 0.020631196, 0.0143673513, -0.0078125922, 0.0048617702, -0.0267165154, -0.0138560301, 0.0817665011, 0.0040850895, -0.0487292036, -0.0005178478, 0.0269465167, -0.057576254, 0.0265934505, -0.0465008281, 0.0148495175, 0.0068357615, -0.0356128104, 0.027891323, 0.014184121, -0.0084101232, -0.0426229909, 0.0011775588, -0.0444320329, -0.0574356541, 0.0120417913, -0.0224290099, 0.0026425959, -0.0021881908, 0.000489397, -0.0483451597, -0.0126070594, 0.0256071426, -0.0360855572, -0.0476425551, -0.0079983752, 0.0509965159, 0.0074408324, -0.0377025791, 0.0255922228, 0.049471315, 0.0054883333, -0.0367227569, 0.0072456598, 0.0675970912, 0.0168709792, 0.0011529066, 0.0416764021, 0.0323106237, -0.0038914287, 0.0927731991, 0.0254938938, 0.0242809188, 0.0279870164, -0.042658668, -0.0626384392, 0.0271969382, 0.0353905708, 0.0135346334, 0.0280215926, 0.0026225541, 0.0298097525, 0.0344878584, -0.0030696567, -0.008204056, 0.0039141146, -0.0162447952, -0.0279477704, 0.0038326925, 0.0226755925, 0.0132669006, -0.0112456065, 0.0198899359, -0.0411044247, 0.0208161641, -0.039608527, -0.0099953031, 0.0403338671, 0.0246478021, -0.0056140334, -0.0201936774, -0.0120977964, -0.0004237376, 0.0631191507, 0.0188591741, -0.0654968396, -0.0292647649, 0.0206485447, -0.0212902147, 0.0094375005, -0.0404126123, -0.002669164, -0.0037413137, 0.002316833, 0.0410559513, 0.0442755856, -0.0012168824, -0.0255516637, -0.0044366354, 0.0475183092, 0.0206678882, 0.055949077, -0.0061717671, -0.1055916324, -0.031902995, -0.0121244825, -0.0018912095, 0.0391288921, -0.0499453247, 0.0139952637, -0.0915162861, 0.0338198654, 0.0052917395, -0.040376246, -0.0459692329, -0.0669085234, -0.0002897146, -0.0357821994, -0.0612430423, 0.0307502337, -0.0185629241, 0.0051970603, -0.0201597102, 0.0270583145, 0.0001207054, 0.0001259104, -0.0770773292, 0.0126950881, -0.0265934113, 0.0029722555, 0.0189650096, -0.0362931266, -0.0130366152, -0.0034879646, 0.0297213774, -0.0147463568, 0.0971381664, -0.0352760516, -0.0162130706, -0.0291032307, -0.0024793025, -0.0001924524, -0.0230117273, -0.0130029069, 0.081433624, -0.0211063419, 0.0089439796, -0.0308168791, 0.0281938836, -0.0094193369, 0.0180105157, -0.023451142, 0.0078587923, 0.016249774, 0.0181948449, 0.0876895189, -0.0093023647, 0.0213660933, 0.0227389988, -0.0521239564, 0.0412614606, -0.0464116782, -0.0486217737, 0.0291918591, 0.0624930151, 0.0211358052, 0.0354743414, -0.0252550561, -0.0212070309, -0.0869850069, 0.0292163175, -0.0286392234, 0.012723878, 0.0438887328, 0.0043525374, 0.0507058352, -0.0572450943, -0.0252254065, -0.0156657044, -0.039548263, -0.0231595747, -0.0817298517, 0.055726625, -0.0032187614, 0.0717855841, 0.0133213224, -0.0480193831, 0.0112211211, 0.0641131476, -0.051147759, 0.0073289778, -0.0073824245, -0.0236271452, 0.006174033, 0.0019149017, -0.0725955218, -0.0038991948, -0.0031174142, 0.0582230464, -0.0168599375, -0.0292779431, 0.0278588422, 0.0226329919, 0.0520626567, -0.0142557332, 0.0338655636, -0.0619468614, -0.0075623784, 0.024777595, -0.0281731784, -0.0318215527, 0.026219165, 0.0062626358, 0.0288216509, 0.0123539828, -0.0450932905, 0.0198744424, 0.0584607571, -0.0344276391, -0.0396754406, 0.0332790837, -0.0151982838, 0.0195904784, 0.0334245041, -0.0150342314, 0.0168410819, 0.021711098, 0.0059193638, -0.0307484586, 0.0704758838, 0.0338516943, -0.0269886088, -0.0702900887, -0.0004553172, 0.0042219469, 0.0144234458, -0.0412961058, 0.0355590433, 0.0697848946, 0.0171762779, -0.0218635611, -0.0048536714, 0.0022481468, 0.004843337, 0.0115193827, -0.0029940377, -0.0433627628, 0.0431011505, 0.0090228189, 0.0240582153, 0.0488493592, 0.065263629, -0.0659540668, 0.0839227661, -0.0372507721, -0.0290771965, -0.0496059805, -0.0270299558, 0.0406926163, 0.0680036843, -0.001305692, 0.0232383553, -0.0046151844, -0.084572047, 0.050531581, -0.0075303633, -0.0557977483, 0.0343226269, 0.0428993031, 0.0220342297, 0.0374592692, -0.0660893396, -0.0182161368, -0.0007258911, -0.0092177913, -0.0021741753, 0.0045645782, -6.228278941e-33, -0.0409172289, -0.0314644724, 0.0457882211, -0.0095141567, -0.0366557799, -0.0241026785, 0.0000963422, -0.0150844222, -0.0254636444, 0.0411723703, 0.0162841976, -0.0212750826, -0.0212343447, 0.0105239684, 0.0102617173, -0.0018017613, 0.0217545871, 0.0229878034, 0.0470766872, 0.0141687328, 0.0243303068, 0.0489949733, 0.0683516711, -0.134742558, 0.017072957, 0.0216647945, -0.0046826429, 0.0219732262, 0.0353664346, 0.0505566858, -0.0329576842, 0.0463197678, 0.0210506059, -0.0087442044, -0.0070815715, -0.0362914801, -0.1345650554, -0.0234558564, 0.0191718973, 0.0057977708, -0.0429650471, -0.0279012471, 0.0420459285, -0.0372092798, 0.0507700741, -0.0569439307, 0.0682174936, -0.0084825661, -0.0558604524, 0.0136708785, -0.002888289, 0.0187381767, -0.0164064243, 0.0116506349, 0.0020811169, 0.0182853602, 0.0454646982, -0.0053189518, -0.0601505339, -0.0013191161, -0.0514986366, -0.0132454215, -0.0009178284, 0.0207377356, 0.0212125238, 0.0714545697, 0.0597900376, -0.016847467, -0.0135361319, 0.0066263066, -0.011424494, 0.0313813612, -0.0146965161, 0.0741475299, -0.0169566255, -0.0374228694, -0.0474037901, 0.0121915909, -0.0390548483, 0.0430242904, -0.0112222414, 0.0340720154, -0.0235062409, -0.0362990722, -0.0223717801, -0.0473582186, -0.0405462831, -0.0508686863, 0.0183339417, 0.0069738696, -0.0107900556, 0.0349138789, 0.0293920673, -0.025528105, -0.0305240415, 0.0413609743, 0.0170005187, 0.0142074805, -0.0072295759, -0.0050637336, -0.0231618974, -0.0322037749, 0.0455686077, -0.0399734266, 0.0147683341, 0.0077797859, 0.0226031821, 0.0204370171, -0.0284888428, -0.0235883631, -0.0035021561, -0.0451030992, -0.0242632851, -0.081078127, 0.047686398, 0.0270904656, -0.0318391733, 0.0244210865, 0.0609763153, 0.0158444382, -0.0205938276, -0.038281519, 0.0153426295, -0.0085672392, 0.0104239127, -0.0051436615, -0.0120031815, -0.0705244914, 0.0072946809, -0.0610373057, -0.0279431939, 0.024201693, 2.93e-7, 0.0101826191, 0.0128302518, 0.0193325467, -0.0001555143, -0.0263207126, 0.0171621814, 0.0100414651, 0.030159425, 0.0335100889, -0.0423609503, 0.0283451322, -0.0083712973, -0.0225129183, 0.026284771, -0.0533468463, 0.0182630289, -0.0084855873, -0.0398266912, -0.0469788648, 0.0055086566, 0.0489485376, 0.0128364824, 0.033466015, 0.0082081668, 0.0230250005, -0.0854870901, 0.0783639327, -0.0138142826, -0.0086533092, -0.0219643135, 0.0070960014, 0.0135324178, -0.017434746, 0.0701564327, 0.0182387736, 0.0049515222, 0.0794193, -0.019690603, -0.0001335367, -0.014272429, 0.0075162146, 0.0094511481, -0.007780327, -0.0141631104, 0.0905917138, -0.063269347, -0.0053895512, 0.0293388944, -0.0864047036, -0.0151856812, -0.0216886941, 0.0295538437, -0.0384697169, 0.0035254986, 0.013549068, 0.0340378992, -0.0200494751, -0.0899428949, 0.0258227866, 0.0617423467, -0.0331311561, -0.0144984545, 0.0325724557, -0.0051460136, 0.0251105092, -0.0350153409, -0.0240555815, 2.160313875e-34, -0.0116718635, -0.0170101337, 0.0170148518, -0.005445715, 0.0466267243, -0.05180794, -0.0259986259, -0.033049684, 0.0381891951, -0.0790039673, -0.0094072018 ]
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.0435628667, 0.0155362617, -0.0204463433, 0.0373150408, -0.0046225283, 0.011609274, 0.0045255385, 0.0202998929, 0.0400980003, -0.0259171557, -0.0315261595, 0.006015372, -0.0348928124, -0.0099011026, 0.0322392732, 0.0071937605, 0.0703897849, -0.0278055891, 0.0030840342, 0.006060495, 0.0408349745, -0.034215562, -0.0221724305, 0.0114823114, -0.0031240887, -0.0223091859, -0.0412370004, 0.0318204053, 0.0480069853, -0.0677632838, 0.0226520151, 0.0217766687, -0.0221078005, 0.0288852938, 0.0000021669, -0.0638043135, -0.0508440211, -0.0053195967, -0.0392905883, 0.001861366, -0.0250143316, -0.0409718081, -0.0187236536, 0.0502731092, -0.0555997454, 0.0155080287, 0.0366099775, 0.0579008982, 0.0836499706, 0.0950080007, 0.011943914, -0.0245445613, 0.0549593009, -0.0039341813, 0.053043671, -0.0630711094, -0.0023193134, -0.0401593708, -0.0344303697, 0.0013606048, -0.0095752543, -0.0354955234, 0.0234580003, 0.01289884, -0.0514193736, -0.0222564638, -0.046600312, -0.0200739764, -0.0227523949, 0.0746161044, -0.0297646355, -0.0071537923, 0.0245678443, 0.0068086488, 0.0508200601, 0.0124206599, -0.0321925096, -0.0085984878, -0.0328309573, -0.0246265884, -0.0035965689, -0.0233402252, 0.0488512143, -0.017606169, 0.013639221, 0.0317831188, -0.0022027681, -0.0331461281, 0.0102443546, -0.0372244194, 0.0019881784, -0.038355574, 0.0065195416, 0.0278283842, -0.0009346864, 0.0125930738, -0.0559977777, -0.0155863715, 0.0497043654, -0.0348210149, -0.0066292915, 0.0305880681, -0.0054053632, -0.0176518634, -0.0102335177, 0.0093589146, -0.0025087052, 0.0778855085, -0.0079288976, 0.0559345596, -0.0352446772, 0.0067754458, 0.0170304663, 0.0551461838, 0.0047766957, 0.0459181517, -0.04191963, 0.0457136109, -0.0176444612, 0.0226025507, -0.0475629307, 0.0207330622, -0.0067102169, 0.0286655668, 0.0082830861, -0.0246010777, -0.03981594, -0.0105903959, 0.0145027451, -0.0691263303, -0.0436602719, -0.0036734506, -0.0446838029, -0.0126026943, 0.0073667248, 0.1094955355, 0.0125105903, -0.0109412605, -0.103616111, -0.0808318257, -0.0314754695, -0.0043575484, 0.0309680719, -0.0572343208, -0.0029773493, -0.0326976366, 0.0053939344, -0.0273090135, 0.0113194743, 0.0131465327, -0.0307105761, 0.0483283661, 0.0382161401, -0.0393508971, 0.0078563821, 0.0518550798, 0.0077058873, 0.0580035858, -0.0082993489, 0.0566341244, 0.0418738276, -0.0138766412, 0.0503462479, 0.0299099889, 0.0089249257, 0.0053378986, 0.012252396, 0.00160382, 0.0462047681, -0.0030510058, 0.0051083644, 0.0012359378, -0.0121948719, -0.0284221917, 0.0678564683, 0.0279993825, -0.0295413341, 0.0559987314, -0.041369956, -0.0303671453, 0.0294404365, 0.0373882093, -0.0844829306, 0.0385169126, -0.107111536, -0.0021609289, -0.0252688173, 0.0332876369, -0.0218920298, -0.0195169989, 0.0115560992, -0.0115972189, -0.0378887132, 0.0183749665, -0.0136363655, 0.0396328941, -0.0163070466, 0.0643100664, 0.0415387787, -0.0067953877, -0.0459693223, -0.0598277748, 0.014608454, 0.0209381022, 0.0406073406, -0.0416713692, -0.0636088625, -0.0286757741, -0.0167646427, -0.0126102204, -0.0126350606, 0.0080064042, 0.0339716561, -0.0396569818, -0.0322753303, -0.024141809, 0.0114791524, -0.002647311, 0.0105097201, -0.01239808, -0.0001368565, -0.0186241101, -0.0002932149, 0.0519085452, 0.0223353505, -0.0482688174, 0.0133057833, 0.0489403009, 0.0386823341, -0.0014023694, 0.007595168, 0.0089727556, 0.064103134, 0.0001895098, 0.0378528051, -0.0152344657, -0.0489793606, -0.0433977135, 0.0374787077, -0.0313249193, 0.0038001854, 0.0738966838, -0.0410693623, 0.0041018608, 0.0259290375, -0.0147751933, 0.0173260532, -0.0036117241, 0.0332623236, -0.0095647275, -0.0209526513, -0.0428704172, 0.0554239266, -0.0100908438, -0.0239708703, -0.0506637208, -0.0047761104, 0.0119053852, 0.0239362288, -0.0120499209, -0.0060776984, -0.0735970289, 0.0216739681, -0.0055359513, 0.0181203149, -0.059384644, -0.0277454518, -0.0555344857, 0.0095838783, -0.0336781926, 0.0434935056, 0.0401180089, 0.0316486992, -0.0266054403, -0.0471920818, -0.0288932249, 0.0143311797, -0.0109930132, 0.011740854, 0.0090773329, -0.0179407969, -0.0205754731, -0.017598385, 0.0067571132, -0.0183255784, 0.012942709, -0.029244829, -0.0091610309, 0.0169873908, 0.0121239116, -0.0272243805, -0.007869713, -0.0108239595, -0.0600004308, 0.0357128903, 0.0148248449, -0.0146733923, 0.0613332652, 0.0343974419, 0.0232172161, 0.0717474669, 0.0362460166, -0.044271715, 0.0077734953, 0.029844325, -0.0687250718, -0.0383382812, -0.0213337392, 0.0249951053, 0.0218070913, 0.0224103797, 0.022298187, 0.0010237385, 0.0166116673, 0.019235177, -0.0484986417, -0.0261914358, -0.0008404183, -0.0544351898, -0.0017944116, -0.0354635753, -0.0801298916, 0.0736964941, 0.0191257503, 0.0288318228, -0.039364446, -0.0368957259, -0.0028536632, 0.0402885936, -0.0472358391, 0.0208584722, 0.0651168376, -0.0575798564, -0.0654524714, -0.0329738222, 0.0244246591, -0.0257304832, 0.0397128835, -0.0377014428, -0.0240773186, -0.0028358861, -0.0633287504, -0.0738477856, -0.0815848485, -0.0040318794, -0.0505208448, 0.0037831489, -0.0202729404, -0.0073545035, -0.0517188832, 0.0279552154, -0.0479506664, -0.0198656768, -0.0237081647, -0.0274033472, 0.0565137379, 0.0476517491, -0.0432137921, 0.012492137, -0.008491681, 0.0490073115, 0.0965694711, 0.0620375462, -0.0164289996, 0.0150560904, 0.0421731472, 0.0100307921, -0.0259883013, -0.0116685117, 0.0537987947, 0.0542159416, -0.0141723342, -0.0300381035, 0.0426343977, 0.0320709236, 0.0012032884, 0.0250967294, 0.0096228477, 0.022294201, 0.0223611332, 0.0244793259, -0.0536428131, -0.0452542007, 0.0062162676, 0.0752137005, -0.0053790379, -0.0161583833, 0.0031452179, -0.0876603276, -0.0164335761, 0.0347144343, -0.0354919061, 0.0091582341, -0.0319769792, -0.023401577, 0.0170685444, 0.0240002926, 0.0059625166, -0.0265248809, -0.0080380244, 0.0305844434, -0.0377660394, 0.0036393236, -0.0033826784, -0.0537463501, 0.0459876135, 0.0908258408, -0.0175665412, -0.0268974174, 0.0062628454, 0.029314965, 0.0015024904, 0.0207628421, 0.0002619404, 0.0342879966, 0.0212745443, 0.0070693027, -0.0150866732, 0.0617404692, -0.0008175317, -0.0335840844, 0.071607694, 0.0384694152, -0.0300713591, -0.00358955, -0.0350007899, -0.0193977281, -0.0005671731, 0.015322187, 0.0287562702, -0.0159486998, -0.0175836105, -0.067965962, -0.029084051, -0.0295124557, -0.0043712459, 0.029215578, 0.0201008301, 0.0131619126, -0.0515397564, -0.0000943871, -0.033506088, 0.0615404211, 0.0220482163, -0.0296480358, -0.0466343425, 0.0364093855, -0.046646703, -0.0183363054, -0.013674628, 0.0039089401, -0.0586543381, 0.0514258146, -0.0004666429, -0.0162778124, 0.0028403769, 0.0153401364, -0.0518581048, -0.0675995648, 0.0049099219, 0.0828368664, 0.0251856986, 0.0126260659, -0.0383401029, -0.0316147842, 0.0799116939, 0.1159302816, -0.078248091, 0.0023978464, 0.0543140508, -0.0100221056, 0.0023087682, 0.0130233988, -0.0263296738, -0.0306420773, 0.0700303465, 0.0125903273, -0.0571179278, -0.0186952669, 0.0308618024, 0.0372143388, 0.0353613161, 0.012250958, -0.003831279, 0.0547901504, 0.0361959115, 0.0428475328, -0.0245055519, 0.0433823913, 0.0157755129, 0.0263501722, -0.0335113145, 0.0231623538, 0.0261824001, 0.0114578307, 0.0178569499, -0.0281775612, 0.0038390148, 0.0446093939, 0.047451809, 0.0244798642, 0.0200152863, -0.0151622379, 0.0532607324, 0.0516744107, 0.0268185027, 0.0086175883, 0.0433720797, -0.0332304575, 0.0258314963, -0.0304148626, 0.0502839126, -0.0817671493, -0.0562237091, -0.0053189872, 0.0672336072, 0.0020731315, 0.0190033931, -0.0391842984, 0.0251694024, 0.0003434512, -0.022930406, -0.0223948006, -0.0322677568, -0.0248047672, 0.0424920283, 0.011955183, -0.0054278574, -0.0092804404, 0.0707536638, -0.0148238363, 0.0659075156, 0.0156940669, -0.019076433, -0.0462101586, 0.0139883989, 0.0726065859, 0.0605780035, -0.0241085961, -0.0549121015, -0.0528729595, -0.0596742332, -0.0058425753, -0.00282553, 0.0568545759, 0.0213947557, 0.0047375578, 0.0377657264, 0.0013933919, 0.0032031483, -0.0219171382, 0.0189024601, -0.0232810732, -0.0518943667, 0.0069411732, -6.150243749e-33, 0.0254854616, -0.0244007725, -0.0344490111, -0.0292050578, -0.0090850554, -0.0323452353, -0.0166717432, 0.0178307984, -0.0399917625, -0.0350096934, -0.0282682907, 0.0106014004, -0.0017151574, -0.0159692466, -0.0180083551, -0.0854236558, -0.0017119227, 0.0013385707, -0.039645303, 0.0395110063, 0.0591058731, 0.05506685, 0.0048693684, -0.0607740358, 0.0266835056, -0.041369088, -0.0119614713, 0.0124416156, -0.0445004329, 0.0700899661, 0.0137444967, 0.0196898319, 0.0045317896, -0.0135403983, 0.0167120863, 0.0512538292, -0.022620799, -0.0422144011, -0.0097213313, -0.0293222908, 0.0063770711, -0.0687823594, 0.0526066944, -0.0112930899, -0.0061749374, -0.0286163669, -0.0006429114, 0.002423085, -0.0208816659, -0.0567441098, -0.0094356518, -0.0305018052, -0.0322658196, -0.0427664891, -0.0505086817, 0.0205458272, -0.0002689576, -0.0132981949, -0.0142494915, 0.0189857017, 0.0186246429, 0.0066032438, 0.0233677588, 0.0067723505, -0.0329388939, 0.06225482, -0.0355248675, -0.0339985006, 0.0333633199, -0.0123182489, -0.0083651692, 0.0565934107, 0.0552582182, 0.073860161, 0.0696134195, -0.0305793341, -0.1208819821, 0.0386960544, 0.0103052855, 0.0379937105, -0.0265248213, 0.0118472269, -0.0424999446, 0.0016609612, -0.0121744787, 0.0366911553, -0.0252530221, -0.0414662287, 0.0435122363, -0.014388659, -0.0351154804, -0.0473133512, -0.017325731, -0.0419568084, 0.0388537459, 0.0167981498, 0.0331832655, -0.0046083326, -0.0119513031, -0.0096234605, -0.0099252248, -0.0025279569, 0.0098983897, -0.0712315962, 0.0393494852, -0.0172566343, 0.0592233576, 0.0403556265, -0.0518468507, -0.0181369707, -0.0298097469, 0.0262328442, 0.0357819013, -0.0019875891, -0.0036913985, -0.0047841342, 0.0175940711, -0.0154136326, 0.0471757837, 0.0116473781, -0.0517039299, 0.0052078911, -0.018578982, 0.0293919705, 0.0080402289, 0.0052618473, 0.0210758541, 0.0199750867, -0.0086055081, -0.0768730864, -0.0032569838, 0.0077622351, 2.923e-7, -0.0509184487, -0.0253191534, 0.0273261014, -0.0096254656, 0.0115509667, 0.0799636543, -0.0182072371, 0.0864846855, 0.0212127287, -0.0652813464, 0.0050947373, -0.0153548773, 0.0604979135, 0.0523310341, -0.0783320442, -0.0062115262, -0.047713235, -0.0013051013, -0.0537825078, -0.0145795597, 0.0413587652, 0.0809269845, 0.0036710512, -0.0355573036, 0.0095424773, -0.0432216413, 0.0105234385, 0.0176927019, -0.0057542319, -0.0075407, 0.0273699164, 0.015692262, -0.0044509592, 0.0234774277, -0.0471977219, -0.0385752395, -0.0508889593, 0.0159836933, 0.01701653, -0.0477434769, -0.0238488745, -0.0144332498, 0.042804379, -0.0325572453, 0.0660619512, 0.012227281, -0.0118504455, 0.0456505381, 0.0157851782, -0.0409183577, 0.0258313175, -0.0096331984, 0.0125479409, -0.0036345567, 0.0175329074, 0.0315727107, 0.0192376319, -0.0468414016, -0.0217237677, 0.0225448366, 0.0304893088, -0.0544219501, -0.0029832169, 0.0470554829, 0.0042719464, -0.0478271954, 0.0052561206, 2.83647246e-34, -0.0362336859, -0.0438743457, 0.0356393866, 0.0226005632, 0.0223724283, 0.0090826852, 0.0411508977, 0.0133082028, 0.0305683203, -0.0238095485, -0.0002385486 ]
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.048749622, 0.0184068512, 0.005253206, 0.0456619598, -0.0047015785, 0.0411146469, 0.0676904395, -0.0007179385, 0.0878342167, -0.0516302213, -0.0370175093, -0.0001960187, 0.0196036603, 0.0212303046, 0.0175744556, -0.0727749988, 0.0418897122, -0.0215287395, -0.0477927737, -0.0324511677, 0.008783129, 0.0376134738, -0.0526373833, 0.0434797332, -0.065274857, -0.0268323384, 0.0013749237, 0.0306707341, 0.0065444536, -0.0060749473, -0.0713768229, 0.0523157194, 0.0578851067, 0.0334669128, 0.00000216, -0.0264960788, 0.0100005399, -0.0033068617, 0.0268877149, 0.0043432252, 0.050943885, -0.0742648691, -0.0109758889, 0.0280722771, -0.016071653, -0.0910827294, 0.0314892642, 0.0464033894, 0.0178364366, 0.0041334629, -0.0201063883, -0.035555169, -0.0010405581, -0.0219452716, 0.003975661, -0.0104054287, -0.0257605724, 0.0058015212, -0.0277374703, -0.0411399268, -0.0383081958, 0.096346803, -0.0127983131, -0.0434408002, -0.0205428042, 0.0109157097, -0.0277583841, 0.0182008352, 0.0003984119, 0.0607434772, -0.0331199728, 0.0054924628, 0.0073778196, -0.0216850191, 0.0159464907, 0.0302847642, -0.0089084152, 0.0247706417, 0.0161249954, 0.0084029697, -0.0456620418, 0.0284880083, 0.0467725769, -0.0543570854, -0.0015572443, 0.0069063385, 0.0172064584, 0.0299007706, -0.0092843464, -0.0380421802, 0.0309683233, -0.0068895952, 0.0348479673, -0.0156506803, 0.0385713689, -0.025793355, -0.0159208924, -0.0093041956, -0.0041105482, -0.0427487381, -0.0016204613, 0.0543142259, -0.0348115489, 0.0307625271, -0.0042240485, 0.00547064, -0.0185525175, 0.0767912939, -0.0451018736, 0.0232932195, -0.006702791, 0.0015394833, -0.0600207038, -0.0266213547, -0.0264847744, -0.0230522752, -0.015677793, -0.0009416834, 0.0019415081, -0.0331648812, 0.0218618065, 0.0167759471, -0.0113138855, -0.0043447521, 0.0168824457, 0.0371312462, 0.0085012186, 0.0353315845, -0.0413265601, -0.0430854112, -0.0012166268, 0.0429559536, 0.0232787076, 0.0351771861, -0.0065054032, 0.109385103, -0.0261408426, -0.028439464, -0.0206169356, 0.0143211586, -0.0145682227, -0.0102159828, -0.0091030067, -0.0467203408, 0.0312675536, -0.0066536809, 0.0179194305, -0.0858672783, -0.0174678508, -0.0344966464, 0.0396601334, 0.0692522079, -0.0085504744, 0.0039742654, 0.0339121185, -0.0068740393, -0.0139865549, 0.038411662, 0.0588157028, 0.0118634151, 0.0103368433, -0.026570024, 0.0126351174, 0.0602253973, -0.029787017, -0.0039229607, -0.033828482, -0.0609696247, 0.0268198662, 0.0390608571, 0.0204028096, 0.0332495011, -0.0156717543, -0.0541412719, 0.0320505984, 0.074465178, 0.048465535, -0.0147248805, 0.037268579, 0.0196577609, -0.0015673449, -0.0310157929, 0.0062105088, 0.001482435, 0.0325529873, -0.0536916889, -0.0274513829, 0.0068571265, -0.0506180935, -0.0118447971, -0.0227454025, -0.0515428223, 0.0475628898, -0.0052864649, 0.0316380374, 0.0264666378, -0.0141585087, -0.0320059508, 0.0047950689, -0.0372528397, 0.0244291145, -0.019641906, -0.0201674402, 0.0288255624, 0.0048585697, 0.0028364926, -0.0277289208, -0.0185069852, -0.0133908046, 0.0455052666, 0.0068392945, 0.0024818038, 0.0405016579, -0.0460934676, -0.021895472, 0.0432362035, -0.0006746807, 0.0219352935, -0.0833363682, 0.0556465797, 0.019923212, -0.0487184152, -0.0238266736, 0.0569151677, 0.0108547993, -0.0582855269, 0.0642865151, -0.0140769798, 0.0404535122, 0.0372232907, -0.009136132, -0.018234577, 0.0253213719, -0.0341883302, -0.028505018, 0.0638367981, -0.0498459414, -0.0675914735, 0.0163499601, -0.03059664, -0.0233615302, -0.0009364621, -0.0018265323, -0.0564241223, 0.0308529343, -0.0013429659, 0.0522295088, -0.0473545566, -0.006198436, 0.031818971, -0.0054840879, -0.028759392, -0.0002282591, 0.0137801878, -0.0622520782, -0.0601544082, -0.0135825109, 0.0469522588, -0.0404204167, -0.0086639058, 0.0576242879, -0.0029706825, 0.0372067243, -0.0001873436, 0.03786451, -0.0133326249, 0.0106950235, -0.1004133448, -0.0127413021, -0.0078611793, 0.0100582279, -0.002918958, -0.0023882524, 0.0132168131, -0.0460737348, -0.0308707636, 0.0127995983, 0.0402155556, -0.0621002801, -0.0305984728, -0.0133327916, -0.0149926739, -0.0156942047, 0.0046570566, 0.0007538862, 0.0035255319, 0.0357350186, -0.0497733057, -0.0292640589, -0.044246655, 0.0039432598, 0.0260940082, 0.0115599204, -0.0044049351, 0.0362187289, -0.0039990745, -0.0676950812, -0.0357040986, -0.0099538602, -0.0039974749, 0.0297007803, -0.0276260749, -0.049547974, -0.0139449406, -0.0065565598, 0.0290809199, -0.0533668734, 0.0305935927, -0.0177158266, 0.0541569516, 0.0706804097, 0.0283084195, -0.067997396, -0.0627667084, -0.0212283805, -0.0522360429, -0.0273948647, 0.0274090283, -0.0344876982, -0.0321776643, 0.0071662827, -0.081339702, -0.0030798342, -0.0728487298, -0.0369546339, 0.0135511924, 0.0124753565, -0.0406007357, 0.079692021, -0.0348630883, 0.038712319, -0.0650776252, -0.0756372064, -0.0070843813, 0.0431728065, 0.0217439607, -0.0120617244, -0.0094354795, -0.0561367944, 0.0266641211, -0.0094920341, 0.040226195, -0.0070702448, 0.0214987993, 0.007120674, -0.0057695918, -0.00720364, -0.0513739325, -0.0211806092, 0.0121878367, -0.0092853419, 0.0885115787, 0.024422098, -0.00110019, -0.0147365453, -0.0134569407, -0.003257046, 0.0347015336, -0.0413819551, 0.0022123577, -0.0160709117, 0.01082558, -0.0319132805, 0.0185684916, -0.0599151626, 0.0043332283, 0.0412513576, 0.0131560313, 0.003127736, 0.0082968939, 0.0108206328, -0.0085199391, 0.0334730931, 0.0834356025, 0.006801439, -0.0777909756, 0.015355614, 0.0256103314, -0.018337613, 0.0021229871, -0.0292808246, -0.0803711414, -0.0700913966, -0.0015684948, 0.0706684589, 0.0824630111, 0.014545898, 0.0015194711, -0.0068169199, 0.0483950414, 0.0623220168, -0.0809506848, -0.0166545603, -0.0031479932, 0.0184799619, 0.0003196351, 0.0321139917, -0.0103563033, -0.0287459157, -0.0348749235, 0.0155997993, -0.0327366106, -0.0803809091, 0.0058395443, 0.0113310451, 0.04587714, 0.015310809, 0.0156037025, 0.0177193768, -0.0226166975, 0.0650904924, -0.0006787058, -0.0021065383, -0.0513344854, 0.049617853, -0.010438377, -0.0243940111, 0.0200758446, 0.0550671704, -0.1025129929, 0.0042542452, 0.009918808, 0.0364805162, -0.0363051556, -0.0040370193, 0.003717073, -0.0538782738, 0.002987752, 0.0311217532, -0.0066375369, -0.022114547, 0.0009349584, -0.0077787708, 0.0217781886, 0.0860832781, -0.0687039718, 0.0191825703, -0.0276271142, -0.074867636, -0.0357195623, -0.0316158496, 0.0680290684, 0.0505120046, 0.0105552496, 0.0250529069, 0.0545777641, -0.0045812288, -0.0348576829, 0.0395492874, -0.0338118449, 0.014403644, -0.0373771228, -0.07003925, -0.0267859772, 0.0106208902, 0.0127938027, 0.046667669, -0.0203528292, -0.0485094525, 0.0254466552, 0.0165918525, 0.0164573137, -0.0058377273, -0.0166842863, -0.0265798252, 0.0012701178, 0.0412000418, 0.0140168453, 0.0383160375, 0.0158143397, -0.0393897854, -0.0237057973, 0.0101987189, 0.0174205732, 0.0426562056, -0.0436377041, 0.0096001755, -0.0884254351, -0.0300406218, -0.013217655, 0.0252220593, 0.0185411144, -0.0190588702, -0.0041228808, -0.076312311, 0.0045454758, -0.0367642045, 0.0307338666, -0.0912492499, -0.0093045235, 0.0529636666, -0.0124340598, -0.0037833052, 0.004622703, -0.0293059461, 0.0059364997, 0.0086333854, 0.0382514112, 0.0064666509, 0.0112368213, -0.0349319279, 0.047980275, 0.0099060591, 0.0562095754, -0.0231784675, -0.0034053326, 0.0091231866, 0.0155325737, 0.0078666694, 0.0202483889, 0.0215639528, 0.014165381, 0.0524836965, -0.0890232548, -0.0377221964, 0.0197193436, 0.0075221132, 0.0341375805, 0.0803416967, -0.0284274016, 0.0394500382, -0.0375921018, 0.0577237643, -0.0120394481, -0.0220385846, 0.0164506193, -0.0379864052, -0.0487960167, 0.0005280884, 0.0269229412, -0.0577902384, -0.0135002192, -0.0456788465, 0.015622085, -0.045824945, -0.0421080515, 0.0264566988, -0.0250112507, -0.0191988964, 0.0235164687, -0.0214145407, -0.0272828434, -0.0009326524, -0.014094511, 0.0007607439, 0.0208317582, 0.0514653549, -0.0319704562, -0.0111451205, 0.0103729554, -0.0041072988, -0.0533587262, -0.0182640441, -0.0138941118, -0.016568251, -5.759464978e-33, -0.0474643856, -0.0554357916, -0.0157807134, 0.0007300403, -0.0204922687, 0.0229335465, -0.039600987, 0.0463128835, 0.0225678477, 0.0259369053, 0.0339061655, -0.0114147561, 0.0062640361, -0.0041223923, 0.0243176017, -0.0107147712, 0.0281087924, -0.0346540324, -0.0109751308, 0.0551900007, 0.069652386, 0.0083915209, 0.0978373885, -0.1313639432, -0.0275198407, -0.0219469629, -0.0513239764, -0.0032063508, 0.0047071604, -0.0069775465, -0.0510691628, 0.0208009258, 0.0000278863, 0.0580740236, -0.0081948452, -0.0015480424, -0.0394208804, 0.0020655557, -0.0411921032, 0.0784199089, -0.0682266206, 0.0394254252, 0.0056913309, 0.0002969656, -0.0414405614, 0.0198613182, 0.0320725329, -0.0029219349, -0.0111397468, -0.0097700823, -0.0283851568, 0.0591795333, -0.0315531865, -0.0193477012, 0.0384277329, -0.0035439006, -0.0144139184, -0.0522361696, -0.0241572279, 0.001524633, -0.0310606696, 0.0121825617, 0.0853714794, -0.0427918397, 0.007649255, 0.0462927409, 0.0377993248, -0.0614709444, 0.0277851019, -0.0321118645, 0.0816255584, 0.0278406497, -0.0178216156, 0.056124974, 0.0298992619, -0.0248767678, -0.0007704875, 0.0194365848, 0.037839666, 0.0521113425, -0.0456516184, 0.0413849056, 0.0003482763, 0.0090566715, -0.0608550683, 0.014249431, 0.0261319466, -0.0259677377, 0.0462136902, 0.0161619075, -0.0170899481, 0.0153348222, 0.0740499571, 0.022970438, -0.0157847852, -0.0248054564, -0.0021031857, 0.0334766917, 0.0063240267, 0.0183287654, -0.0081352163, -0.0463110767, 0.0495729633, -0.0390468314, 0.0697103515, -0.0217842385, -0.0026253429, 0.0853920132, -0.036014203, 0.0235609729, -0.0147057213, 0.0062499829, 0.0015966221, -0.0227978583, 0.0484892391, -0.0392722897, -0.0123180728, 0.0423481911, -0.0107538812, 0.0115249539, 0.0053488323, 0.0276957881, 0.0035617563, 0.0190651454, -0.0423270762, 0.0155770555, 0.0167596992, -0.0339229926, 0.0760089457, -0.0477274209, 0.0167031735, 0.0187622886, 2.73e-7, 0.0543161482, 0.0334110856, 0.0186268315, 0.0644829795, 0.0213010497, 0.0265150014, 0.0059343581, 0.0219197534, -0.0131469751, 0.0417386442, 0.0085466532, 0.0124885095, 0.0324413255, 0.0287402496, -0.0294316951, 0.0595621131, -0.0027069529, 0.0720437169, -0.0246328954, 0.0252147205, 0.0482225269, 0.0377310514, -0.0144935772, -0.0043508662, 0.0366963483, -0.0732438415, 0.0781834647, -0.0470182523, 0.0420689397, -0.0186817572, 0.0621353202, -0.0130731622, -0.0292282645, -0.0105382847, -0.0108727841, 0.0156775005, 0.0258389376, 0.0292869564, -0.0680393353, -0.0163485743, 0.0409955457, 0.0067907614, -0.0218025334, 0.002069135, 0.0533072688, -0.015252375, -0.0033755633, -0.0147678806, -0.0175659247, 0.0127133923, 0.044273477, 0.0000601526, 0.0100383069, 0.0498716608, 0.0286439322, -0.0616026483, -0.0263418052, -0.0559705794, -0.0026117768, -0.0099804495, -0.032033246, 0.0443767756, 0.0158266686, 0.0204707682, -0.0208743531, -0.019532904, -0.0284456126, 2.099799564e-34, 0.0023729417, 0.0090654958, 0.0222438574, 0.0102620479, -0.0198226832, -0.0271164067, 0.045456782, 0.0586681738, -0.0192982033, -0.0096906777, -0.0351802818 ]
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.0301051103, 0.0490868129, -0.0019740507, 0.0827101395, -0.0176885985, 0.0405321643, -0.0115413638, -0.0002899342, 0.0516661927, -0.0411436558, -0.0662795827, -0.0286785755, 0.0040675579, 0.0174533483, 0.017621778, -0.0897523388, 0.032110475, -0.0476247035, 0.0022467643, 0.041386798, 0.0100584691, 0.0086292643, -0.0133940578, 0.0097783403, -0.0103121027, -0.0428825244, -0.0350123681, 0.0076276292, 0.0344272666, -0.0631135106, -0.0030190507, 0.0157356951, 0.0166948885, 0.0378786214, 0.0000020509, -0.0216342099, -0.0179974865, -0.0087692952, 0.021786008, -0.0307054669, 0.0117574353, -0.080296278, -0.0005844913, -0.0271685589, -0.0491391234, -0.0393676572, 0.0469716266, 0.062550731, 0.0733107552, 0.0644491836, -0.0317333862, -0.0413840674, 0.0443702377, 0.0008818515, 0.015716007, -0.0586423539, 0.0026517233, 0.0494895205, -0.0026257716, -0.0152895227, -0.0247810222, 0.0210098792, 0.0229629111, -0.0243212599, 0.0136287101, 0.0298008565, -0.0237964187, -0.0285430886, -0.0164492372, 0.1102510467, -0.0287378263, 0.0140609797, 0.0221999157, -0.0157722738, -0.0330776945, -0.000022685, -0.0567196868, 0.0195831042, -0.0439759903, 0.0194526799, 0.0092385206, -0.0013109924, -0.0031219432, 0.0053679827, -0.0228433926, 0.0670845658, -0.0156761073, 0.0011448108, 0.0166486558, 0.0104677565, -0.0342909433, -0.059862528, 0.0101070628, 0.040956188, 0.0327766836, 0.0042041866, -0.0416058674, -0.0718751252, -0.0106513156, -0.0732040778, 0.0472772382, 0.0162657555, -0.0447443128, 0.1045425907, -0.0307152569, 0.0782445371, -0.043293938, 0.0299320053, -0.0418593399, 0.0036913587, -0.0071114521, 0.0127439145, -0.0306904428, 0.0046421532, -0.0626320392, -0.0683637634, 0.0201761741, 0.0167122651, 0.0067110658, 0.0342752375, -0.027092237, -0.0099582216, -0.0042378795, -0.018507231, -0.0085860202, 0.0308070462, -0.0286563896, -0.0191458631, -0.0405738689, -0.0222270396, -0.0003822721, 0.0749209449, 0.0121905208, -0.0336237662, -0.0192734357, 0.0922023281, -0.006218954, -0.0264995918, -0.031081941, -0.0245620031, 0.0004689406, -0.066071786, 0.0914504454, -0.0587838404, 0.0227572639, -0.0022676636, -0.0100370198, 0.0148687847, 0.0180857293, 0.0035778435, -0.0285619311, 0.0702069551, -0.0195256751, -0.0046618492, 0.0260855928, 0.0116099268, 0.0030590659, 0.0740136132, 0.0332308747, 0.027479792, 0.0481160358, -0.0124575822, -0.0337833948, 0.0677593276, -0.0151398806, -0.0177544151, -0.0034716846, 0.0478407517, 0.0437015072, 0.0249540787, 0.0579060242, 0.0471461155, -0.0389781147, -0.0183148813, 0.0345812626, 0.0686958581, -0.0166100338, -0.0331402384, -0.0074158837, 0.0166582484, 0.041829709, 0.0270003788, -0.0683012977, 0.0391906649, 0.0104198214, 0.0104191201, -0.0099869706, 0.0151039716, -0.0022503303, -0.0040453207, -0.022810502, -0.0026346229, 0.0019297699, -0.0209012441, 0.0458368734, 0.0075300569, -0.0186340157, 0.050880447, -0.0114970058, -0.0144458404, -0.0106425537, 0.0129706841, 0.011416452, 0.0393925719, 0.0419518501, -0.0298285466, -0.0168818012, -0.0022124758, 0.0089923954, 0.0441737175, 0.0214384086, -0.014705156, 0.0316627622, -0.0656443015, -0.0306140967, -0.0154558467, -0.0128142191, 0.003524207, 0.0116317933, 0.000705529, -0.004865102, -0.0518453345, 0.0049982509, 0.0351340286, 0.0049288571, -0.0221917052, -0.0158754028, 0.0075273812, 0.006923907, 0.0138817234, -0.0225646272, -0.0090275109, 0.0290383492, -0.0474056713, 0.0643145591, 0.0041886866, -0.0488448031, -0.0482095294, 0.0334507413, -0.0267809778, -0.0361646414, 0.0181055702, -0.0522192009, -0.0418906137, -0.0298604313, -0.0276409928, -0.0059704422, -0.024487108, -0.007554716, 0.0243116803, 0.0149824843, -0.0406717882, 0.0683230758, -0.0451256819, 0.0213045832, 0.0184700433, -0.036240261, 0.0382852554, -0.0135000916, -0.0051794942, 0.0568641238, 0.01705545, -0.0172475372, -0.0278515853, 0.0305090528, -0.0539488643, -0.0109716766, -0.1060453653, -0.0158591103, -0.0285823271, 0.0392366201, 0.0597517826, -0.0159551371, -0.0123544503, -0.0639598519, -0.0505412221, 0.0323991738, 0.0361395739, -0.0008432013, 0.0369710922, -0.001021716, 0.0081477314, -0.028208755, -0.0017596036, -0.0228909254, 0.0427035317, 0.0322317332, -0.0637547895, -0.026026817, 0.0148771955, 0.0064423895, 0.0467061698, -0.0115711298, -0.0054977923, 0.0122061586, -0.0305847228, 0.0164856408, 0.0956382677, -0.0182836093, 0.0015037871, 0.0108755212, -0.0447957218, -0.0203474984, 0.013994283, 0.0437470451, 0.0713139921, -0.0459748618, -0.0327553339, -0.0074298689, 0.0551999696, 0.0118583264, 0.0452364422, -0.0172842275, 0.0050964099, -0.0162824858, -0.0217995644, -0.0408843532, 0.0314557068, 0.0183880702, 0.0465989597, -0.0666973814, -0.058195997, 0.0313669406, -0.0664328113, -0.015710298, -0.0080205714, 0.0214115921, -0.0770252571, 0.1054062322, 0.039476186, 0.0287053455, -0.0242413245, -0.0294107683, -0.0248875283, -0.0057812142, -0.0084547624, -0.0127989994, -0.0089835739, -0.0669270083, 0.0252593476, -0.0497540608, -0.0175136216, -0.0289897211, 0.0070149391, -0.0330584012, 0.0007439398, 0.0183671061, -0.037162099, 0.0211966522, 0.0333641097, 0.0279192049, 0.0498421378, -0.0325416028, 0.0131746465, -0.0369531214, 0.0890058428, 0.0613139942, 0.0357318707, 0.0232260972, -0.055649288, 0.012274486, 0.0592142642, -0.0106784534, 0.0176433939, -0.0269402899, 0.041764129, 0.0104873208, 0.0156159056, -0.0068239407, -0.0121261794, 0.0662264228, -0.0581767075, 0.0029545864, 0.0876022354, 0.0218152311, -0.0440013893, -0.0373414196, -0.0336469859, 0.0266558081, 0.0184645969, 0.025282817, -0.0940102786, -0.0314616226, -0.0083649931, -0.0102017354, 0.037417084, -0.0387055501, 0.0188970733, -0.0813136846, 0.0496380553, -0.0075571858, -0.0579020046, -0.0063643502, -0.0115051167, 0.007757931, 0.0179235116, -0.0400370657, -0.0275916494, -0.0029179393, -0.0167474318, -0.0180926491, -0.0182036143, -0.0107906414, 0.0047536157, -0.0504559204, -0.0103102149, 0.0643971786, 0.0504693948, 0.0335326754, -0.0582634471, 0.0519974791, 0.0097241914, 0.0007929414, -0.0117793139, 0.0621547922, 0.0039334036, -0.0228673462, -0.0071216952, 0.0315530859, -0.0435006246, 0.0132989585, -0.0008034056, 0.0592701845, -0.0232483465, 0.029015515, -0.0294107739, 0.0069048633, -0.0048982995, 0.057255093, 0.0490308851, -0.0125094345, -0.0689338967, -0.0338221565, 0.0370617174, -0.0776513517, -0.0056441766, 0.0338452309, -0.0058661448, 0.0193636119, -0.0563293397, -0.0314062014, 0.0306969732, 0.0167248379, -0.0014525633, -0.0163818281, 0.0396985337, -0.0288941953, -0.032713674, 0.0629516169, -0.0002540721, 0.040560253, -0.0508817472, -0.0066850949, -0.0227775052, -0.0243120007, -0.0133869816, 0.026292298, -0.0984857976, -0.0295387674, -0.0143100768, 0.0469462089, 0.0121863177, 0.0327858478, -0.0078966329, -0.0250666272, -0.0545442887, -0.0107270023, -0.0505589247, -0.0018127011, 0.0041138395, 0.0126866, -0.0250442401, 0.0065771746, -0.0015560316, 0.0338835455, 0.0226475317, 0.0124480436, -0.0038416861, -0.0292252768, -0.004674823, 0.0338283181, 0.0120899333, 0.0249294676, 0.0309539586, -0.0128492583, -0.0027452479, -0.0155766541, -0.028799111, -0.0450835377, -0.0212859418, 0.0251521748, -0.0023052744, 0.0058039865, 0.0280538611, 0.0168828554, 0.0070922198, -0.0171797462, 0.0238608364, 0.0239755362, -0.0144330412, -0.0110861575, 0.004306504, -0.0047127558, 0.0207045246, -0.018152412, 0.0681267306, 0.0007351862, 0.08360935, 0.0124698877, -0.0546491928, -0.0150348507, 0.0357856452, -0.0403902493, -0.0567568578, 0.0006025747, 0.0133282077, 0.0689477548, -0.0269563366, 0.0637264177, -0.0058146492, -0.0085696978, -0.009383345, 0.0182805248, 0.0108231502, -0.0387490802, 0.0345312618, 0.0151724899, 0.0226618219, -0.0201337412, 0.0473563485, 0.0103141963, -0.0024152577, 0.0163084455, -0.0083208755, -0.0490520746, 0.0135120787, 0.0054478962, 0.0273855794, -0.0007878916, 0.0273440648, -0.0322036929, -0.033890754, 0.0420606211, 0.0347911082, -0.0115196127, 0.0074341665, 0.0389183275, 0.0430966541, 0.0338047408, -0.0404643938, -0.0276967753, 0.0142786447, -0.020262545, -0.0314235948, -0.050813254, -6.196404677e-33, -0.0278300755, -0.0709100291, 0.0447067097, -0.0249689296, -0.045357082, 0.0151282428, -0.0592689738, -0.0124507751, -0.0110965194, -0.0167524051, 0.0035516089, -0.0102184517, 0.009824845, 0.0390387811, -0.0204872638, 0.0098335966, 0.0074289297, -0.0310818721, -0.019926602, -0.0017222662, 0.0422901474, 0.0226009376, 0.0486500449, -0.0547909066, -0.0069522886, 0.0308338627, 0.0099715963, 0.0255758055, -0.0064619188, 0.0326985791, -0.0610376857, -0.0170655102, 0.0455139615, 0.0175736416, -0.0237273537, 0.0214802213, -0.121754244, 0.0044725407, 0.0084774019, 0.0552549772, -0.0487639904, -0.0284376405, 0.0517824627, -0.0231873896, 0.0224150717, -0.0198739506, 0.0425365567, -0.0333782062, 0.003566351, 0.0118510155, -0.0608016364, 0.0548983961, 0.0037246936, -0.0030818235, 0.0414007381, 0.0645430163, 0.0061247717, 0.0432727672, -0.0856380239, -0.0098284418, -0.0169274397, 0.0226621069, 0.0730276704, 0.0383185707, 0.0144165559, 0.0810710192, 0.0298675261, -0.0173773188, -0.0230312776, 0.0389144793, 0.0313839689, 0.0746483877, 0.0267400723, 0.0164613184, -0.0111503247, 0.0379014164, -0.0431257114, 0.0248902794, -0.0136741037, 0.0499454364, -0.0087585272, 0.0073622451, -0.0258157048, -0.0017134502, -0.0177264456, -0.0574591309, -0.033561334, 0.0329428017, 0.0375530943, -0.0050595151, 0.0019496403, -0.0080618169, 0.0720414147, -0.0332989134, 0.00482642, -0.02785879, -0.018238673, 0.0770449936, 0.010184125, 0.0397519991, -0.0569842495, -0.0459336229, 0.0066173621, -0.0062678079, 0.0333483294, 0.0118820779, 0.026522262, -0.0227153879, -0.0418998525, 0.0113636479, -0.0337375589, 0.0075777508, -0.0159581602, 0.0603703931, 0.030514814, -0.0181830339, -0.0298857708, 0.0521993898, 0.0027954923, 0.0200547278, -0.0326856151, -0.0299227014, -0.024512263, 0.0514763109, -0.0045449762, 0.0336166695, -0.0195399318, -0.0065836213, 0.0137439193, -0.0681466684, 0.0125606386, 0.0699223578, 2.631e-7, 0.0481051654, 0.0296037514, 0.0584906787, -0.0127133932, 0.0393833295, 0.0413060226, -0.043297708, 0.0155503415, -0.0396485962, -0.0441525243, -0.0593706518, 0.0357301272, 0.0591750145, 0.0327995457, -0.0568658486, 0.0232031234, -0.0240297057, -0.0251170117, -0.0656468198, 0.0346364714, 0.0398274958, 0.0376497395, -0.0509123132, -0.0048124325, 0.0066700489, -0.019089425, 0.0539297462, -0.0110696219, -0.0156320781, -0.0228949804, 0.0217882935, -0.0097550005, -0.032241337, -0.0065440624, 0.0159509853, 0.0100431079, 0.044417046, 0.0429213233, 0.0164318662, 0.0324874818, 0.0056454428, -0.0213829558, -0.0332163051, -0.0625228286, 0.0694806501, -0.0302568339, -0.0451626107, -0.0311245676, -0.0296975672, -0.0171556287, 0.0101200091, 0.0080909822, -0.0023615956, 0.0294901356, 0.0461461842, -0.0759491101, -0.0034129536, -0.0319187604, -0.0199806783, -0.022371646, -0.0166812092, 0.0085058324, -0.0726246089, -0.0014841188, -0.0030209641, -0.0496107563, -0.0464726761, 2.378761133e-34, 0.0121939704, -0.026880376, -0.0014503929, 0.0025675995, 0.0517646819, -0.0437678732, -0.0462151803, 0.0023636485, -0.0446942635, -0.1130625308, 0.0121925632 ]
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.0434557162, 0.0430173874, -0.029666122, 0.0177168753, -0.0278646778, 0.0003464156, 0.0829879418, 0.0153555879, 0.0303541068, -0.0233753081, -0.0013688777, -0.0417226702, 0.0004237066, 0.0273571257, 0.00236136, -0.0433762148, 0.0374056175, 0.0052413614, 0.0243505388, 0.0017939757, 0.013558018, 0.0255859755, 0.0394015685, 0.0526503436, -0.0329586267, 0.0145334201, 0.0302330069, 0.0004530366, 0.0435273051, -0.028194638, 0.0158555117, 0.0560563654, 0.0296999943, 0.0266339574, 0.0000019466, -0.0576964095, -0.049837634, 0.0429126248, 0.0065180277, -0.0060529355, 0.0276007112, -0.009300719, 0.0090862587, 0.0076492354, -0.0041039651, 0.0206326768, 0.0528250784, 0.0590071157, 0.0492488779, 0.0475395545, -0.0319482237, -0.0345745496, -0.0117529137, 0.0175902341, 0.0258533545, -0.023274146, 0.030714618, -0.081128411, -0.0287415627, -0.0110809058, 0.0297534876, 0.0535455346, -0.0045086402, 0.0166502669, 0.0053200489, 0.0067937947, -0.0503210574, -0.0084859505, 0.0264071263, 0.0279758219, 0.0158790797, -0.0310594011, -0.0062369709, 0.0086104097, 0.0341310985, 0.0246112254, 0.0036392871, 0.0066803088, -0.0281024743, 0.0063123577, -0.0089082243, 0.0383938104, 0.0297707673, 0.021606883, -0.0601313449, 0.0564266779, 0.0060603484, -0.0438217036, -0.0104275029, -0.0360341258, -0.0290106256, -0.0162750818, 0.0669729337, -0.0242608618, 0.023731837, 0.016187394, -0.0640296116, -0.0734374076, 0.0107647739, -0.0785528719, -0.015328588, -0.0148989065, 0.0124176042, 0.0121060451, 0.0027659829, 0.0510642081, 0.0117477514, 0.0095995348, -0.0066871187, -0.0333415084, -0.0598526932, 0.0018165512, -0.0099117002, 0.0722647309, -0.0309327412, 0.0228338018, -0.0345345177, 0.0495497473, -0.0102125825, 0.0143752443, -0.0145974029, 0.0175368898, -0.0349647105, 0.0034735708, 0.0368339755, -0.0364852287, -0.0121122682, 0.0117815929, -0.0373885967, 0.0173337348, 0.0344360434, -0.0131484997, 0.0425252579, -0.0209588073, -0.0262731723, 0.0541167408, 0.0207217801, -0.0520212725, -0.0303302892, -0.022213364, -0.0157920271, 0.0132537959, -0.0104925884, -0.0205967128, 0.0154873962, -0.017320063, -0.0309764594, -0.0527765155, -0.014551946, 0.0220800806, -0.0487863272, 0.0685922131, 0.0008519102, -0.0293135848, 0.0500354618, 0.0498129763, 0.0125279147, 0.0084749106, 0.0369020924, 0.030883288, 0.0532363914, 0.0074728993, 0.0044048564, 0.042246975, 0.0343187228, 0.0062838062, 0.0211898368, 0.0316785388, 0.0018342249, -0.070665203, -0.0336414166, 0.0388531201, -0.0023306857, -0.0266010333, 0.071504429, 0.1015285924, -0.0292939227, 0.039634902, -0.0368157327, 0.0525018387, -0.0108426353, -0.0305387173, -0.0251501352, -0.050527975, -0.0794145092, -0.0516625717, -0.0104665244, 0.0117148878, -0.0031501835, 0.0135246543, 0.0005613911, -0.0341510512, 0.0540026948, -0.0034138951, -0.0052588391, 0.026257202, 0.01515486, 0.0331512913, -0.0043793311, -0.077958338, 0.0004593705, -0.0265117437, 0.0069687562, 0.0881517977, 0.028249288, -0.0475914888, 0.0298003461, -0.0389132649, -0.027745463, 0.0150916427, -0.0294405632, -0.0002770162, 0.0745880231, -0.0283998437, -0.0681082085, 0.0367909074, -0.0040397095, 0.0168136023, 0.0025638386, -0.0094220331, 0.0265677962, -0.0455017686, -0.0046249931, 0.0312080085, -0.0161416139, -0.0416940823, 0.069833152, 0.0284622833, 0.0321736783, 0.0408712104, -0.0058939578, -0.0070999498, -0.0087944921, 0.0079725459, 0.0159820952, -0.0066456343, 0.0089629702, -0.0087816827, -0.034112338, -0.0265718568, 0.0088035036, 0.0023257162, -0.025236981, 0.0035140384, -0.002856374, -0.0238724202, 0.0491698198, -0.0299063213, -0.0175525285, -0.0335566625, 0.0236033145, -0.061888434, 0.044316072, -0.0198165905, -0.0076365247, -0.023374524, -0.0341161601, 0.0300030075, -0.0086089727, -0.0293356944, -0.0289058201, -0.0171977356, 0.0186113343, 0.0463421568, 0.0084933499, -0.0057321033, -0.0054775206, -0.0929724723, -0.0153141608, -0.0160580352, 0.0230883583, 0.025878327, 0.033696346, -0.0047610686, -0.0021738305, -0.0480525903, -0.088799037, -0.0509233959, 0.0146546708, 0.0246564317, 0.0208701454, -0.0310650486, 0.0167946424, -0.0207811184, -0.0153983189, 0.0646516681, -0.0141694481, -0.0701336116, -0.0219873115, 0.0130682765, -0.0236192569, 0.0089223823, -0.0039058023, 0.0358182639, -0.0150003852, 0.0359625146, 0.0164555237, -0.032903485, 0.0166913308, -0.0029920083, -0.0132695036, 0.0057535688, -0.0439927988, -0.0045840284, -0.0047534313, 0.0550241061, -0.0247518513, -0.0863785073, 0.0831355825, -0.0308443327, 0.0381742455, -0.0215386618, -0.0473718792, -0.0074220994, -0.0202445555, -0.0531171821, -0.0821982473, -0.0293648671, 0.0122589925, 0.0037628755, -0.012015909, -0.0345834196, 0.0791556463, -0.0153080309, 0.0543741472, -0.0506681018, -0.0349399969, 0.0183704738, 0.0611787029, 0.0125277108, 0.0589439571, 0.0221161768, -0.0444573388, -0.0054632789, 0.0001221825, 0.0223591216, -0.0183459837, 0.0274966173, -0.01140281, -0.0188481826, 0.0473696589, -0.0409604758, -0.0413687751, -0.0739024282, 0.0534697399, 0.0023893958, 0.033272285, -0.0573754497, -0.012746986, -0.0285589714, 0.0222596694, 0.0167835895, -0.0092675574, -0.0142571693, 0.0000084003, 0.0247948822, -0.0526082106, -0.0477025323, -0.0090300804, 0.0012809968, -0.0337150507, 0.0443531089, 0.047289703, -0.0417023823, 0.0349521339, -0.0127794966, 0.0085631609, -0.0577398017, -0.0553478859, 0.0259949639, 0.0453954227, -0.0361093655, -0.0310728848, 0.0738014281, 0.0514759123, -0.0418766998, -0.0122384643, 0.0063027572, 0.0252886731, -0.0355697051, 0.0140690785, -0.0387789235, 0.0173607841, -0.0065104007, 0.041216258, -0.0382896513, -0.0354523212, -0.0029236907, -0.0345981233, -0.0139140394, 0.0034895327, -0.0502969436, -0.0554445237, -0.0571831875, -0.0051660007, 0.0331206247, 0.0145586133, -0.0312266871, 0.0060155303, -0.0249778386, -0.0107536176, -0.0606178679, -0.0553364158, -0.025043752, -0.0369451828, 0.0024664816, 0.0917375386, 0.0167788081, -0.050422594, -0.0168608464, -0.0227216333, 0.0187324546, -0.0281481445, -0.019832626, 0.0694125518, 0.0075566093, 0.0222288761, -0.0338300616, 0.0405330174, 0.0476363786, -0.065471746, 0.0226174835, 0.0331694894, -0.0558740273, 0.002945479, -0.0084251743, -0.0364425518, 0.0400580429, 0.0671548247, 0.0198508296, -0.0602913387, 0.03642717, -0.0679019913, 0.0324876644, -0.0491094589, 0.0364113301, 0.0165771786, -0.0470901281, -0.0471028686, -0.0575967021, 0.0345311128, -0.02170798, -0.0109260259, 0.0351888016, -0.0126877651, 0.0223104749, -0.0253223553, -0.0510368906, -0.0216959696, -0.0095163854, 0.0191594828, -0.0074813864, 0.0183916241, -0.0005401301, 0.0027803632, -0.0291702189, 0.0070941527, -0.0233691614, -0.0559876077, 0.0239454303, 0.0202098656, 0.0088091744, 0.0365655832, -0.0391710773, -0.0905678868, 0.1505447477, 0.0747569054, 0.0159552954, -0.0368536524, 0.0485329069, -0.0187313277, -0.0187564157, 0.0031526564, -0.0412119664, 0.010070771, 0.0448645204, -0.05696458, -0.0368703231, -0.0266607739, -0.0280634593, 0.0468079634, 0.0235570185, 0.0010015235, -0.0114343707, -0.0318711475, 0.0192111973, -0.0179903917, -0.0090175541, 0.0049978266, 0.0081330342, 0.0567620508, 0.0065999236, 0.0243709125, 0.0459046923, 0.0010373732, -0.0163057279, -0.0562115535, 0.0050433744, 0.0048370878, 0.0608740225, 0.0005193587, 0.0161822587, -0.0359485, 0.0480253957, 0.0411631763, 0.0250559635, -0.0428185984, 0.0063790465, -0.0053395242, -0.0031440768, -0.0187056903, 0.0513753556, -0.0394970253, 0.0193363093, -0.0531046838, 0.0253627691, -0.0365873165, 0.0200628228, 0.0150785036, -0.0357865915, -0.009100209, 0.0017281551, 0.0073446413, 0.0089666257, -0.0196959637, -0.0299618095, -0.0288388766, -0.0240759123, 0.0098098032, 0.0667866245, 0.0066130036, 0.0163557846, -0.0295043904, -0.0636645705, -0.0583325177, -0.0083809318, 0.0285093822, 0.0523855165, -0.0658407658, -0.0147598647, -0.0326754004, -0.0368498936, 0.0310153924, -0.0374473482, 0.0129068643, 0.0038534717, 0.0086715752, 0.0258570854, 0.0012627641, -0.0138457175, -0.0343768783, -0.0209774617, 0.0287104044, -0.0100183645, -0.0186293088, -5.542517945e-33, -0.0086988742, -0.0074111526, -0.0423795842, 0.0166506413, 0.0444927327, 0.0267628301, 0.0373007543, -0.0235383194, 0.0094894655, -0.0083777783, -0.0185777098, -0.0029854518, -0.0045158826, 0.0537068099, -0.0336345918, -0.0028028353, 0.0200179163, 0.0387089401, -0.0195438992, 0.0409341082, 0.0861830637, 0.0537980571, 0.064152427, -0.1227348223, 0.081259422, 0.0153966062, -0.0554494634, -0.005586199, -0.025908282, 0.025713373, -0.0151462229, 0.0387860723, 0.0281947087, 0.024889648, -0.0145059386, 0.074851647, -0.0334760733, -0.0448544249, -0.0131421825, 0.000939833, 0.0147200078, -0.0574853644, 0.0654177517, -0.0341703407, -0.0239290912, -0.0036244572, 0.045308508, -0.0097808633, -0.0163092483, -0.0684472993, 0.0011142092, 0.0143229412, -0.0104587646, 0.0457864627, 0.0202762354, 0.0683298782, 0.0085190637, -0.0159090385, -0.0771009102, 0.0046065007, 0.0206303615, -0.0398889445, 0.0226827953, 0.0046088733, 0.0278904606, 0.0451201275, 0.0143862646, 0.0163207613, -0.0194383785, -0.0452197716, 0.0054657022, 0.030273892, 0.0313914903, 0.074044399, -0.0049313791, -0.042788785, -0.0804374442, 0.0676358566, -0.0198535137, -0.0601535738, 0.0335868485, 0.0036027711, -0.0730403215, -0.0291473139, -0.0420268178, -0.0270924792, -0.0161723606, -0.0129411547, -0.0212132372, -0.042242948, -0.0572186932, 0.0469429418, 0.0135173639, -0.0293643624, -0.030496316, 0.026364712, 0.0176207814, 0.0165284239, 0.0306433793, 0.02090827, -0.0209064055, -0.02466744, 0.0303949118, -0.0341472626, 0.0174413249, 0.0085269529, 0.0880449936, 0.011953366, -0.0630387142, -0.0002248869, 0.0140347984, 0.0059267562, 0.0174402744, 0.0309997741, 0.0023791301, -0.0064706635, 0.0137100816, 0.0156163573, 0.0461460166, 0.0310804062, -0.0168647692, -0.0001005092, -0.0056926464, 0.0036993055, 0.0312979817, -0.0233797114, 0.0092176329, 0.0154267307, 0.0920417458, -0.0266843159, -0.0060346345, -0.0055591865, 2.683e-7, 0.0592964627, 0.01493036, -0.0062585436, -0.044738099, -0.0068331007, 0.0669276863, 0.0473224856, 0.0637854487, 0.0083286669, 0.0382176749, 0.0259287339, -0.0187351331, 0.0017216568, 0.0654827356, -0.0606045686, -0.052369833, -0.031225441, 0.0442860909, -0.0776651278, 0.052261401, 0.0427688733, 0.0915504843, 0.066545859, -0.0298679788, -0.0074547417, -0.046203319, 0.0309873018, -0.0583495796, -0.0256555062, 0.0106196813, 0.0047759069, 0.0339237526, 0.0343826078, 0.0208020788, -0.0592616424, 0.0123746023, -0.0160913058, 0.0614927337, 0.0100815743, 0.03182403, -0.006378734, -0.0465903208, 0.0011249585, -0.0356990211, 0.0470063537, -0.0206017159, -0.0203077383, 0.0199381188, 0.007993388, -0.0283910353, 0.040424522, -0.0117244469, -0.0215255637, 0.0363984779, 0.0137706185, 0.0094595384, 0.0122809373, -0.0835936889, -0.026174346, -0.020396689, -0.0095600709, 0.0161149949, -0.0032764657, 0.0025218357, 0.0246653091, -0.0388833247, 0.1033485457, 2.840424142e-34, -0.0174996629, -0.01748964, -0.0292425118, -0.0019468837, 0.0401337296, -0.0096250372, 0.039617721, 0.0073303124, 0.0141796116, -0.0391221344, 0.0127659682 ]
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.0365570821, 0.0723905936, -0.0027720744, 0.0526298806, -0.0607337318, -0.0187589228, 0.0138445301, -0.0066396319, -0.0471797772, -0.0565158501, -0.0313582979, -0.0480469316, -0.001527293, 0.0623664036, -0.0602893569, 0.0140378047, 0.018768914, 0.0750226453, 0.0252192542, 0.0072570429, 0.0169027522, 0.0251268316, 0.0072522415, -0.0140397195, -0.0159043185, -0.0063800467, 0.0088085551, -0.0291157886, 0.042299781, -0.0280240439, 0.0332268812, -0.0152941458, -0.0047373278, 0.0442337766, 0.0000021219, -0.0060671046, -0.0092732515, -0.007881728, 0.0131665496, 0.0162754655, 0.0535505936, -0.013158517, 0.0203372799, 0.0234365556, -0.0401968658, -0.03426072, 0.0203189682, 0.0934290662, 0.0325719975, 0.0718027577, -0.0382360816, -0.0559118353, -0.0156521108, -0.0149783036, -0.0557384714, -0.0603300259, 0.0073479647, -0.0638550371, -0.0375707857, 0.015157369, 0.0136828013, 0.0187652837, 0.0292050969, 0.007641708, -0.035384126, 0.023812687, 0.0001301044, 0.0308238324, -0.0044115665, 0.0713579282, 0.0102447597, 0.0036066549, -0.0301113557, -0.0401129313, -0.0333959609, -0.0142447622, 0.0003588508, -0.0261861775, 0.0185265336, 0.0713982284, -0.0016791804, 0.0593623817, 0.0180225782, 0.0204712637, 0.0041881888, 0.0435895696, -0.0261281524, -0.0529560894, 0.0279771201, 0.0621880777, 0.0365643129, 0.0114631373, 0.0131021505, -0.0041161682, 0.0080421818, 0.0180047881, 0.0343006514, 0.0262921993, 0.0265563764, -0.073213622, -0.0038693245, -0.0159364268, -0.0398796201, 0.0271739513, -0.0077080927, -0.0219427869, 0.0298385825, -0.031609267, -0.0195370447, 0.0320662819, -0.0415290631, 0.0338116251, 0.041119054, 0.0612647533, -0.0365515277, -0.0180606712, -0.0607153736, -0.0385777764, -0.0076938961, 0.0162448827, 0.0288313609, 0.0519906133, 0.0242029298, 0.018456297, -0.0228224434, 0.0500141494, -0.0598953068, 0.0713955536, -0.0634792, 0.0148573443, 0.0496860705, 0.0222969167, 0.0380421989, 0.0161690377, 0.0221498478, 0.0245512463, 0.0183089413, -0.0486892946, -0.037390139, -0.0169329327, -0.0148171177, -0.0554537512, -0.0235427935, -0.0422894955, 0.0197272301, -0.0266366657, -0.0381027944, 0.0072338581, 0.0126498919, 0.025046194, 0.0048320866, 0.0236998592, -0.0364587568, -0.0251539387, -0.0263811685, 0.0302068479, 0.0875929967, 0.0232021362, 0.0000672156, 0.0510120951, 0.025195254, 0.0314260237, 0.0156489741, -0.0085215038, 0.0002385323, -0.0194505025, 0.0244651027, 0.0026454672, -0.1047307476, -0.0179780815, 0.0154035017, 0.0362882316, 0.0154370293, -0.0374212377, 0.0402212627, -0.0218317732, 0.0030754395, 0.0894902796, -0.0156197054, 0.02119557, -0.0026056166, -0.0191373918, 0.0210544989, 0.0116416654, 0.0049335631, -0.0135839097, 0.0228345077, -0.0337335989, -0.041145999, -0.0644150227, 0.0179935805, -0.0140655134, 0.0359827913, -0.0093249166, 0.0578270182, -0.0214448981, -0.0706212968, -0.0425404422, 0.0460837856, -0.0424547195, -0.0374786295, 0.0022196386, 0.0525827855, 0.066506207, -0.0157320555, -0.0138538862, -0.0045865411, -0.0165637266, -0.0706813857, 0.050487835, 0.0341635644, 0.002493347, -0.0123503944, -0.0381566845, 0.0181116536, -0.0437936746, 0.0174956713, 0.0172910746, -0.0179995969, 0.085340254, 0.0067458493, 0.0074863811, 0.0230370164, -0.0088739293, 0.0436301716, -0.0369689688, 0.0373027474, 0.036107786, 0.0254506916, 0.088262327, 0.001640052, -0.0096643232, 0.0211252291, -0.0366810262, -0.0641604811, 0.0082715405, -0.0229382422, -0.0255106017, -0.0000296172, -0.0043728137, -0.0000189149, 0.0146172941, -0.042982053, -0.0086576007, 0.0205447506, 0.0141017819, -0.0074986746, -0.0123539269, -0.0313387141, -0.0201676842, 0.0225687362, 0.0167379044, 0.0504811443, -0.0342392772, 0.0012226318, -0.0420197211, 0.0049477657, 0.0229047667, 0.0233578049, -0.057731498, -0.0375468284, 0.0330555961, 0.0390729792, 0.0129750855, 0.0261480566, 0.0022140567, 0.0172835253, -0.1189461723, -0.0140440166, -0.0091193011, 0.0284986645, 0.0056028753, -0.0052683232, 0.019182438, 0.0476884581, -0.043016091, 0.0050737825, -0.054550685, 0.0215162281, 0.0422474146, 0.0752732158, 0.0293017663, -0.0679274648, -0.0208455566, -0.0198127981, 0.0042754337, 0.0307046007, -0.0160238594, -0.0077466648, 0.0269005895, -0.0398775563, -0.0037261238, -0.0111137731, -0.0327035226, -0.019292986, 0.0031679962, -0.0328410901, 0.0018363942, -0.005858093, 0.0402455293, -0.0052378518, 0.0315874778, -0.01959504, 0.0169116128, -0.0701473281, 0.0061360379, -0.0081279268, -0.0244881585, 0.0169507619, 0.0225725006, 0.0121712005, 0.0046709036, -0.022878468, 0.0223800316, -0.0187253337, -0.003613191, -0.0104326904, 0.0163816698, 0.0045127193, 0.0132744554, 0.025449777, -0.0080307489, 0.0388989747, 0.0286876429, 0.0481702238, -0.0773622394, -0.0168144517, -0.0553637743, 0.0424200743, -0.0583180562, 0.0148505112, -0.0196172055, 0.0020436679, 0.0294780023, -0.0185529254, -0.037169937, -0.0084406035, 0.0563299805, 0.0158095248, 0.0172037482, 0.0220393669, -0.0343679376, 0.003834388, -0.0343380198, -0.0529626124, 0.0062339567, 0.0152853988, -0.0080868993, -0.0074561541, -0.0032585156, -0.0449171141, -0.0415472277, -0.0006717275, -0.0166427623, 0.0118175903, 0.0427150913, 0.0373156779, -0.050817173, 0.0485648401, 0.0113354931, -0.0067500551, 0.0371226184, -0.0455039926, 0.0068322457, -0.065663211, -0.0247170869, -0.0052039647, -0.0121291969, -0.0141151287, -0.0287465882, 0.0236963723, -0.0410662629, -0.0016581537, 0.0894896761, 0.0061243302, -0.0620396845, 0.0015704008, 0.0489314832, -0.0388747267, 0.0111582102, 0.0117847547, -0.0675220191, -0.0302524511, -0.0450476259, 0.0266667213, -0.0205738675, 0.0007967568, -0.0015868698, -0.1013110951, 0.0344016664, -0.0545016266, -0.0402248725, -0.0835984051, -0.0521536358, 0.0274078473, -0.0289675128, 0.0380141921, -0.0629080757, 0.0128382975, -0.0143903699, -0.0103619127, -0.0329637602, -0.0134253204, 0.0407761149, -0.0168461408, 0.0030405717, 0.0351897329, 0.0622835159, -0.0388423577, -0.0264549125, 0.0200010482, -0.0604460314, 0.0252926406, -0.0162886083, 0.0893725976, -0.0385898426, -0.0213610604, 0.0001900019, -0.0071875444, -0.0906378552, 0.0462167524, -0.0241097677, 0.0048501776, 0.0080326525, -0.0434582718, -0.0303499326, 0.0401979946, 0.0268978551, 0.0659465268, -0.0148708746, -0.0697499216, -0.014933872, -0.0054282746, -0.0279637612, -0.007569035, -0.0084174778, -0.0411702991, -0.0051752003, -0.0373393372, -0.059149079, -0.0517099313, -0.0121276621, 0.0169371292, -0.0150354691, 0.0029300656, 0.0370847397, 0.0038469709, -0.0053859302, -0.0049297097, 0.0090070246, 0.0279423241, 0.0012173862, 0.0114827165, 0.0844231471, 0.007997036, -0.0327531435, -0.0493896194, -0.0342623927, -0.0184055064, -0.0249690339, 0.0187955406, -0.0009355001, 0.0045549879, 0.0060499329, -0.0225397646, 0.0332962275, 0.0552698039, -0.0129938507, -0.0146154054, 0.045689214, 0.0602715537, 0.019780999, 0.0122215245, -0.0225938149, 0.0366177037, 0.0249373671, -0.009699895, -0.0120921964, -0.0355083868, -0.0069854818, -0.0339672677, 0.0247512143, 0.0265362859, -0.0423570573, -0.0293656569, 0.0062578684, 0.0098563526, 0.0059880116, -0.0222003218, -0.0284822714, -0.0112185311, 0.0414324962, -0.0771040916, 0.031717971, 0.0006236894, 0.0202506278, -0.058706034, 0.0645925477, 0.0310487859, 0.0461061969, -0.0409959331, 0.01872609, -0.0273740608, -0.0164845008, 0.0152718397, 0.0023053426, -0.0134795215, 0.0149322478, 0.0130845727, 0.0298630595, -0.0632843226, 0.0359587073, 0.0026494751, -0.0002190645, -0.0374593213, -0.0237710439, -0.0019263137, -0.057853017, 0.0241570547, -0.0438570529, 0.0213182829, 0.0176806934, 0.0197029039, -0.0483948626, 0.0004096791, 0.0208740849, -0.0182369519, -0.0119777787, 0.0323935151, 0.0428155847, -0.1009581387, 0.0460350253, 0.0292079039, -0.00962329, -0.0262758005, 0.0116677759, 0.0428114012, 0.04016608, -0.0016012345, -0.0092932591, -0.0470696092, -0.0170486234, 0.0439275168, -0.0281650256, 0.016425319, 0.0016111258, 0.0488499403, 0.0197871253, 0.0373234041, 0.0577614643, -0.0364338234, -0.0128676593, -0.0475170426, -0.0178714581, -0.0209075715, -6.528595707e-33, 0.0185363442, -0.0104896231, -0.0395642258, 0.0382611714, -0.0203011017, 0.0301088877, -0.0278214253, 0.0264434312, -0.0027599945, 0.044419609, 0.0068288282, 0.0203822292, 0.0045142202, 0.0071524614, 0.022967644, -0.075914301, 0.0333783254, -0.0278659929, 0.0320961289, 0.0578922629, 0.0078380341, 0.0150052188, 0.0533641092, -0.136291191, 0.0332039557, 0.0112894103, -0.0364876017, -0.0051229717, -0.0083311489, 0.0253980327, -0.0179268196, 0.0929028988, 0.0461614989, -0.0061077946, 0.0407331176, 0.0154199358, -0.004598171, -0.0093096048, -0.0084552607, -0.0108102392, -0.0265349504, -0.0107364189, 0.0106935669, 0.039973136, -0.0047553871, 0.0309520308, 0.026910672, 0.0019216326, 0.0263945162, -0.1058879346, -0.0475182645, 0.0047042868, -0.0199730918, 0.0086641461, 0.0253788475, 0.0360703655, 0.0216497947, 0.0277711619, -0.084209539, 0.0090807024, -0.0241024364, -0.0113526452, 0.0010071405, -0.0610027164, -0.0096112164, 0.0637934431, 0.0032143111, -0.0093461983, 0.0153139364, 0.0462621488, 0.0212611668, 0.0519452766, 0.017018266, 0.0233009961, 0.0135797439, -0.0587405376, -0.0633372068, 0.0343143418, 0.0407512933, -0.0195392277, 0.0551395379, -0.008499953, -0.0689742267, -0.018639056, 0.0287983753, -0.0442496613, -0.040628653, -0.0155877732, -0.0160243958, 0.0101699093, -0.0170332063, -0.011707115, -0.0189802684, -0.0769338906, -0.0287070516, 0.0185338687, -0.0464972667, 0.0335774943, 0.0068664234, -0.015557779, -0.0877915695, -0.0211652052, -0.0792315975, 0.0359188356, -0.0024574029, -0.0166607089, 0.0552126691, 0.0129079148, -0.0667598769, -0.0088032978, 0.0117576169, -0.0029266614, 0.0123827821, 0.0510673188, -0.0272553805, -0.0022143919, 0.0003554117, 0.1210887209, -0.003152462, 0.0961102694, 0.0018640243, -0.0090207262, 0.0497317016, -0.0115435198, -0.0488059297, -0.0417104885, 0.0107638491, -0.0060345856, -0.0016296996, -0.0706274062, -0.0269036517, -0.0015470174, 2.779e-7, 0.048854053, 0.0641618893, -0.0077043842, 0.0000740883, 0.0193477198, 0.0762039423, 0.0400339812, 0.0090113096, -0.020012781, 0.0068385699, 0.0588415489, 0.003659518, -0.0139657268, 0.0453764014, -0.0436952189, 0.0594525412, -0.0176852606, -0.0005157841, -0.0184086207, 0.0289456155, 0.0607650168, 0.0676462576, 0.0188180618, -0.0213122219, 0.0046107094, 0.0643530488, 0.0334053673, -0.0295477696, 0.0001954143, 0.0199540053, -0.0049269134, 0.0512922965, -0.0234083179, -0.0741657615, -0.0059400541, 0.0458528027, 0.019409446, 0.0163778625, 0.0550154112, -0.0901842266, 0.0419687144, 0.0120174922, 0.0335237049, -0.0122127933, 0.0556538142, -0.0616384037, -0.066384159, -0.1018025056, 0.0054597552, 0.0442720652, 0.0298681147, -0.0069896709, -0.0147512378, 0.0205738712, -0.016601067, -0.0632854849, -0.0402511582, -0.0585342869, 0.0239982549, 0.0227508061, 0.0003438608, 0.0133041088, 0.0233024899, 0.0132517768, 0.0215412136, -0.0067448625, 0.0263635162, 1.930433787e-34, 0.0365620926, -0.0111799194, -0.0012185561, 0.0125748524, -0.0177429076, 0.0153117152, -0.0605588816, -0.0378901921, 0.006124245, -0.0146870445, 0.0062428662 ]
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.0235950388, 0.0620018952, -0.0047791349, 0.0624637753, -0.0182489064, -0.0151253585, 0.0323603004, -0.0156543572, 0.0490045212, -0.0115259532, -0.02290814, 0.0222987607, -0.0232755132, 0.060292054, -0.0022880835, -0.0483318269, 0.0105210366, -0.0143041043, 0.0134940939, 0.0107648661, 0.029337652, 0.0399625748, 0.0209217165, 0.030385986, 0.0285539217, -0.0348746702, -0.0273586251, 0.0129177719, 0.0183898229, -0.0308125708, -0.0337301195, 0.0190298352, 0.0085008396, 0.001764902, 0.0000024606, -0.0383571051, -0.0185806062, -0.0159342326, -0.0315928347, -0.0189464688, 0.0040487875, 0.0641284212, 0.057273034, 0.0000609606, 0.0072778664, 0.0417756848, 0.0431180671, 0.0568041354, 0.0461891368, 0.0229187347, -0.0173635781, 0.0016983623, -0.0015107612, -0.033702489, 0.0378949866, -0.0151479905, -0.0250750128, -0.0434857793, -0.014350554, 0.0264263041, 0.0006277328, -0.0168883894, 0.0002015476, -0.0277144853, 0.0746927634, 0.0181165561, -0.0301146731, -0.0368962809, 0.0050098407, 0.1075246483, -0.0257653836, -0.0058127269, 0.0060847122, -0.0070044333, 0.0043896055, 0.0067045717, -0.0606859699, -0.0108784055, -0.0000379744, 0.023958968, 0.0188063346, 0.0039903396, 0.0763188452, 0.0124791451, 0.0182588492, 0.1154078096, 0.0255257878, -0.0155478204, -0.0083470633, -0.0203864686, -0.0144077921, -0.0748151615, 0.0128858797, 0.0168038383, -0.0851884931, 0.0270342566, 0.0067683132, 0.0862725452, -0.0052733584, -0.0090400483, 0.0517629385, 0.0574571602, -0.0155374911, 0.0741552338, -0.0006930738, 0.039737612, -0.038716767, 0.0047436873, -0.0641453937, -0.0052250521, -0.0373553783, -0.0102057084, 0.0017316787, 0.0278000664, -0.053038232, -0.0288145635, -0.0283434615, 0.057044372, -0.0126443394, 0.0562836714, 0.011616433, 0.0331286825, 0.0114592863, -0.0290918127, -0.0725247636, 0.0529188626, -0.0618880652, 0.0058136387, 0.0452266745, -0.0028704503, -0.0034821799, 0.0480284393, -0.0056520216, -0.0271215737, -0.007500024, 0.0365053974, 0.00948969, 0.0023003595, -0.0136836506, -0.0721088275, -0.0233652797, -0.0560875237, -0.0370393544, -0.0526715405, 0.0266665705, 0.030466795, 0.0005589247, -0.0266010743, 0.0244684964, 0.0190390702, -0.0429230221, 0.0509150922, -0.0338237546, 0.0007198945, -0.0414578654, 0.0131668998, -0.0148835825, -0.0157096088, 0.0037731281, 0.0724211708, 0.0571995564, -0.0160122998, 0.0012245596, -0.0257991105, -0.0110980412, 0.0049765878, -0.0286078192, 0.0126619199, -0.0442583002, 0.0393066742, 0.0166788921, 0.0449399203, -0.0318937078, 0.0165697727, 0.0865406916, 0.0325929634, 0.0336773843, 0.0225926861, 0.0296025947, 0.0193443205, -0.048992794, -0.0088081695, -0.0378231183, 0.0713673681, -0.0188798737, 0.0057732989, 0.0491433814, 0.0368534587, -0.0327438787, -0.0239446256, 0.0112485196, -0.025348492, 0.0298064183, 0.0422369391, 0.0274842735, -0.0374914259, -0.0417559333, 0.0343449861, 0.0336636789, -0.0412746891, 0.0042052846, -0.0351283103, 0.0994648635, 0.1376777738, 0.0501020476, -0.000647628, -0.0298028383, -0.0386212356, 0.0113401283, 0.0111124273, 0.0154523915, -0.014569737, 0.0073140138, -0.0632236823, -0.044906605, 0.0025901045, -0.0128484536, 0.029198315, -0.0149637889, -0.0111268908, 0.0107275927, -0.0558933578, -0.0038029274, -0.0167589989, 0.0116702411, -0.0089805871, 0.0027093268, 0.0195748731, 0.0718001276, 0.0367183983, 0.0541579723, 0.0021553477, 0.0196923707, -0.0338566937, -0.0073457961, 0.0006482925, -0.0403739437, 0.0176426787, 0.0394874662, -0.0128425518, 0.0077387434, 0.0230602883, -0.0127620483, -0.0611617044, -0.021980308, 0.012766216, 0.012654311, -0.0203855615, -0.0140388058, 0.0170006976, -0.0035294213, -0.0449312665, 0.0623453781, 0.0091239363, 0.0083866622, -0.0114341369, -0.0075064939, 0.0300904792, -0.0304953456, -0.0029743619, 0.0582635514, 0.0173150674, 0.0086367521, 0.0230227876, -0.0067917993, -0.0524525754, -0.0087767905, -0.0818608329, 0.0158163775, 0.0138811562, -0.004392094, -0.0061231749, 0.0301265083, 0.0115405023, -0.0105731077, -0.0651500821, 0.0353106447, -0.0129672894, -0.0020339908, 0.0460694209, -0.01510779, -0.0407637581, -0.0247412622, -0.0103454618, -0.0308871865, 0.0465803146, -0.0301127192, 0.0363422669, -0.0500437319, -0.060614612, -0.0465883315, -0.0438146889, -0.0099575073, 0.0250893999, 0.0107995188, -0.0010252951, 0.0291552339, 0.0384711176, 0.0155343739, 0.0186446868, 0.0572812222, -0.0002358545, -0.0581920035, 0.0010559771, -0.0208682977, -0.0035500946, -0.0119393542, -0.0113193057, 0.0035607691, 0.0264989287, -0.0172536094, 0.0076292437, -0.0744413063, 0.0229296237, 0.0300205313, 0.0432618521, -0.0657554567, -0.0408018902, -0.0110048177, 0.0801032484, -0.0133468891, -0.0494142547, 0.0869364589, -0.0503996611, -0.0000520052, -0.0122993132, -0.0167174935, -0.0438876376, 0.0369061977, 0.0059953392, 0.0547193959, -0.0174903702, -0.0102251545, -0.025744807, -0.0110567166, 0.0421747491, -0.0381285027, 0.0528014153, -0.0009021755, -0.027756989, 0.0124402354, -0.0278446451, -0.0383609049, -0.0616896674, -0.0320138559, -0.0095768794, 0.011499431, -0.025205506, -0.0216442272, -0.0003815806, 0.028104635, 0.0252240933, -0.0018442869, -0.0256341621, -0.0143638691, 0.0116126677, 0.0678166151, -0.0281164981, 0.0020471597, 0.0005318249, 0.0564322621, 0.0285819285, 0.020450674, -0.0342682637, -0.0242663268, 0.0088774199, 0.0287065729, -0.0335993916, -0.0089749983, 0.0344269015, 0.0335973352, 0.0022496919, 0.026422089, 0.124596037, 0.0259315893, -0.0983125791, 0.0044694794, -0.0203251466, 0.0199388396, 0.0211606976, 0.026785899, -0.0616168119, -0.0430382863, 0.0051022843, 0.0448787883, 0.0249419678, -0.0237009265, -0.0136859464, -0.0819226205, 0.034692999, 0.0056605218, -0.0086093256, -0.0085014943, -0.0603123903, -0.0254601445, -0.0209003091, 0.0203182511, 0.0253457371, 0.0222874079, -0.0000909869, -0.015136132, 0.0075795921, -0.013014256, 0.0520680249, -0.0402064398, 0.0423747338, 0.0473898835, 0.041379787, 0.0261560567, -0.0596440993, -0.0042484747, 0.0043598614, -0.0109320479, -0.0147130871, 0.0332539976, -0.0251592174, 0.024033878, -0.0708333179, 0.0628795102, -0.0382404402, -0.0348481722, -0.001364161, 0.0837902725, 0.0108439736, 0.0020409303, -0.022064887, -0.0097212279, 0.0049712872, 0.077207461, 0.0260019097, -0.0656054467, 0.012535275, -0.0621396303, -0.0476374254, 0.0275289938, -0.0207413435, -0.011858196, 0.014922956, -0.0021140503, -0.0416601412, -0.0311021637, -0.0162845422, 0.0380085222, -0.0015729296, 0.0346495397, -0.0024179707, -0.0319262929, -0.0014908668, 0.0433841087, -0.0118987188, 0.0121100387, -0.0373721309, 0.0467257276, 0.0060172803, -0.0779696032, 0.0168429017, -0.0003599131, 0.0082759913, -0.0113654276, -0.0612609535, 0.0473841913, 0.0263240468, 0.0535261333, -0.0361716338, -0.0470724031, -0.0215240978, 0.0087741241, -0.0150186913, -0.0633059964, -0.0096942931, 0.0528265461, 0.0168414377, 0.0538338758, -0.0476628542, -0.0128762182, -0.0153313, 0.0172617156, -0.0338151269, -0.030154625, 0.0529489107, 0.0479411259, 0.0497408174, -0.0156199448, 0.0337540433, -0.0182430074, 0.0033366934, -0.019988073, -0.059597265, -0.0360452458, 0.0070690284, 0.0514580533, -0.0543958172, -0.0033356652, -0.0657740161, -0.0244201329, 0.0048658247, -0.025143791, -0.0085624969, -0.0507147275, -0.0125372605, 0.0257147718, 0.005756184, -0.0242105275, -0.0025637387, -0.0069106808, 0.0419724509, -0.0249867104, 0.1000031307, 0.0193162356, -0.0205094535, -0.0234389268, 0.033438798, -0.0177376773, -0.0474490002, 0.030193409, 0.0002479277, 0.0197850186, -0.055825334, 0.0643414184, -0.0196139794, -0.0195336584, -0.0062328903, 0.0525515303, 0.0175081156, -0.0317329317, -0.0002600948, 0.0468451045, -0.0431276858, -0.0078573581, 0.0694549829, -0.0322027169, -0.0490738377, 0.003431512, -0.0625677705, -0.0407776907, 0.0068938397, -0.0177271012, 0.1001052186, -0.0467801765, -0.0297229514, -0.0447409339, -0.0385569148, -0.033414159, -0.0272182021, 0.0145125352, -0.0178859793, 0.0237705037, 0.0694704801, -0.0077408515, -0.0239427257, -0.0381682292, 0.0034620555, -0.044347778, -0.0227786899, -0.0200299807, -7.244958128e-33, 0.0104169166, -0.042688515, 0.0013289213, 0.0014346748, -0.0118531091, -0.018860003, -0.0485650487, 0.0128734792, 0.0118307378, 0.0205164645, -0.0080887936, -0.0056294813, 0.0054274462, 0.020348426, 0.0240779612, -0.0328138396, 0.0462885015, 0.0497326702, -0.0439447053, 0.0392356887, 0.0710774213, 0.001496553, 0.0030300403, -0.0392053016, 0.0334369652, -0.0178425144, -0.0191035699, 0.0044597336, -0.0114157982, 0.0661434829, -0.0124423867, 0.0384093709, 0.0045316271, -0.0510117449, 0.0329101048, 0.0137623725, -0.0517338701, 0.0112801082, 0.0684623569, -0.0249172784, -0.0247652624, -0.0548465326, -0.0000816061, 0.0038393012, 0.0225463342, -0.0178256594, 0.021762684, -0.0272549894, -0.0686505884, 0.0065099001, -0.0267564747, 0.001633369, -0.036151249, -0.0108654499, 0.0028786939, 0.047601372, -0.0117554516, 0.0944129527, -0.0636810809, 0.017917145, -0.059967041, 0.0043865349, 0.0624660887, -0.0364126489, -0.0542665645, 0.0630004928, 0.0026505897, -0.033316005, -0.0341279991, 0.0623341426, -0.0539149381, 0.0684889108, 0.0499924943, 0.0168311615, 0.0126545709, 0.0037141417, -0.0678422377, 0.0291409865, -0.005571974, -0.0028553347, 0.076949887, 0.0326092616, -0.0398857333, -0.0242406465, -0.0047944398, -0.0499364808, -0.0705691352, -0.0572410151, 0.032670483, 0.0049062315, -0.0326639116, -0.0253108758, 0.007895465, -0.0323285274, -0.0061247642, 0.020199893, -0.0317184478, -0.0047594318, 0.0092269257, 0.0163109638, -0.024725141, 0.0140163219, -0.0194855575, -0.0252584592, -0.0227582697, 0.027492037, 0.0454386845, -0.0191264302, -0.0213375445, 0.0105125448, -0.0343051292, -0.042447608, -0.047969386, -0.0122934626, 0.0517831668, 0.0142891631, -0.0297584012, 0.0845935568, 0.0165072493, 0.0168113597, -0.0200698934, -0.0431503542, -0.0111105107, -0.0015259852, 0.0086666672, -0.0228868723, -0.0231209397, -0.0328141302, 0.0602722876, -0.0420741774, -0.0246620215, -0.0149830347, 3.098e-7, -0.0038199709, 0.053382989, -0.0177952256, -0.0240387581, 0.0033982554, 0.0588278845, 0.0436192006, 0.0275703464, -0.0042447522, 0.0082697989, 0.0287761278, 0.0179555919, 0.0353799947, 0.0226225089, -0.0411302485, -0.0268649347, -0.0335613862, -0.0284634978, -0.0690300912, 0.0199090317, 0.0554064363, 0.069738239, 0.0524094105, 0.0013762232, 0.0352148041, 0.0085811708, 0.0251841974, -0.0738379359, -0.0275022648, -0.0156634878, 0.0585800558, -0.0295366347, -0.0126314312, -0.0134793008, 0.000427961, -0.0027942234, 0.0000864494, 0.065162085, -0.0168766119, -0.0251079667, -0.0204989575, -0.0202296879, 0.0305728838, -0.1038187221, 0.0715675354, 0.005046227, -0.0442988202, -0.0117875896, -0.0491986237, -0.0146599524, 0.0153007358, -0.0047899284, 0.0119628226, -0.0023214342, -0.0047818981, -0.0194662511, 0.0066473209, -0.0555351563, -0.0336298048, 0.0169158205, -0.0152879804, -0.0149051687, -0.0462542549, 0.0146193448, 0.0502158925, -0.0514032245, 0.0085654315, 3.09420901e-34, 0.0049836608, 0.0331974253, 0.0280917399, -0.0210422836, 0.0538389683, 0.0040401886, -0.0434530191, 0.0049856361, 0.0671097562, -0.059412159, -0.0125666419 ]
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.0069629294, 0.0350429937, -0.0236757137, 0.0493620671, -0.014968927, 0.0111358315, -0.0108506251, 0.0199005492, -0.0296713393, -0.0524806939, 0.0019370229, -0.0202048812, 0.0547503307, 0.0171381347, -0.0036411521, -0.0171051007, 0.0938206986, 0.0067436602, -0.047165297, 0.0164159536, -0.0098026842, -0.0457145423, -0.0180234388, 0.0112691661, -0.0431499891, -0.0387332365, -0.006505427, -0.0550325401, 0.0328116119, -0.0389994308, -0.0179017261, 0.0243473835, 0.0715150535, 0.045167163, 0.0000021193, -0.0586881265, -0.0052799764, -0.0133984741, 0.0121695483, 0.0579141341, 0.0504301041, -0.0545062833, -0.0040636873, -0.0357939452, -0.0381249376, -0.0055392124, 0.0280804709, 0.0144514125, 0.0099357842, 0.0543835461, -0.0227973629, -0.035748776, 0.0122089749, -0.021355737, 0.0166380983, -0.0400765687, 0.035316702, -0.0337701999, -0.059609171, -0.0046018683, -0.0852382109, -0.0025084682, -0.0306355357, -0.0033646415, 0.0379526652, 0.064175643, 0.0321725458, 0.0371861272, -0.0280576218, 0.0459416136, 0.0027822847, -0.0060133701, -0.0185769852, -0.0158764273, -0.0165609717, 0.0000592214, -0.0126711028, -0.0382300988, 0.061898008, 0.019898966, 0.0498512462, 0.0408922136, 0.0193588082, 0.0203457791, -0.0235638451, 0.0477611087, 0.0385485105, -0.0412461385, -0.0531289093, -0.0235674419, 0.0314627811, 0.0015089649, -0.0260451138, 0.0159661975, -0.0017960626, 0.0162636265, -0.0128348293, -0.0534650125, -0.0034294396, -0.0863932446, 0.0146573512, 0.0200626682, -0.0135625731, 0.0700415522, -0.0432865694, 0.0549201928, -0.0001314717, -0.0067431298, -0.0539820008, 0.0025220455, -0.017985668, 0.0014590678, -0.0152287865, 0.0113547193, -0.0465209484, -0.0405408256, -0.0145700518, 0.050478939, 0.0009068007, -0.0144873252, -0.0341001712, 0.0143295936, -0.028625153, 0.0456470139, -0.00133401, 0.0266726594, -0.0284844581, -0.0014735061, -0.0726413727, -0.0147946272, -0.01603714, 0.0265929885, 0.025563933, -0.0230967812, -0.0240155626, 0.0561978258, -0.0193082746, -0.052348502, -0.0192196481, -0.0093444679, -0.0405658484, 0.0235405583, -0.0010432281, -0.0318857394, 0.0364980362, -0.0218377225, 0.0139460256, -0.054572653, -0.023519218, -0.0074372091, -0.0347192287, 0.090023458, -0.0125050545, 0.007682371, 0.0301806424, -0.0181285217, 0.0354526378, 0.0615582876, 0.0548680536, -0.0431196876, 0.0733968467, -0.035355024, -0.0371549353, 0.0205361992, -0.0418278761, 0.0444138423, -0.0553165115, -0.0126940599, 0.0375359021, 0.0555134714, 0.0151713956, -0.0195075646, -0.0275793504, -0.0629256293, 0.0010865891, 0.0731295794, 0.0447678082, -0.0320851356, 0.033775717, -0.0119775282, -0.0172554459, -0.0093532819, -0.0032962663, -0.0025598099, -0.0020813574, -0.0387399867, -0.0542752407, -0.0231521949, -0.0187350977, 0.0062892651, -0.016474966, -0.0067895497, 0.0339709185, -0.0738391802, 0.026628051, -0.0002884414, 0.0157629717, 0.0345967896, 0.063175559, -0.0282032024, -0.0148817934, 0.014364236, 0.0503115542, 0.0715879351, 0.0433031172, -0.0328915901, 0.00911556, -0.0092415819, -0.0208903141, 0.0066082734, 0.0110628959, -0.0391458534, 0.0238528997, -0.0114275683, -0.0146249784, -0.0169633664, 0.0175311714, 0.0067167925, 0.0096235415, 0.0222317055, 0.0165935773, -0.045525156, 0.0123802274, 0.0625975579, -0.0441802628, -0.0169066321, 0.0253325514, 0.0111492099, 0.013363543, 0.0020223234, 0.0033016908, -0.0116799641, 0.0317366384, -0.0438837074, -0.0143302241, 0.0554238521, -0.0443893299, -0.0404205285, 0.0506599508, -0.0010303975, 0.0167983752, 0.0116553064, -0.0372325964, -0.0087547703, 0.0279714298, -0.0355277061, 0.0226465799, -0.0245395005, -0.0046192599, -0.0467777699, 0.0641068965, -0.0511717983, 0.0556339212, -0.0354377031, -0.0210649297, 0.0068553109, 0.0947332531, 0.0515085198, 0.0252937842, 0.0054572588, 0.0416233242, 0.0279844161, -0.0280927755, -0.0024522871, -0.0014529763, -0.0416994356, 0.0082039302, -0.0582914911, -0.0350055359, -0.0254500397, 0.0039273845, 0.066478245, 0.0129564619, -0.0057331468, -0.0213400796, 0.0085862856, 0.0442264527, -0.0453113355, 0.0477024503, 0.0507721826, -0.0160687771, 0.0340507291, -0.0623677634, 0.0046666861, -0.0148430318, 0.0893249065, 0.0113526201, -0.0569773391, -0.0309504606, 0.0051280647, -0.0282672625, 0.002380271, -0.005957481, -0.0050349608, 0.0015691731, -0.0174065251, 0.0590071902, 0.0153686944, 0.0530240722, 0.0819559544, 0.0661896169, -0.0372483432, -0.0507459864, -0.0115661928, -0.0321488902, 0.0420512557, -0.0412493348, 0.0083653443, 0.0222139955, 0.0400307141, 0.039098043, -0.0078671901, -0.0435878299, -0.0087000802, -0.0634150505, -0.023419816, -0.0463370346, 0.0164719, -0.0718507171, -0.0188675039, -0.0089769224, -0.0194480736, 0.0010159364, -0.0004257939, 0.0399388745, -0.0577096269, -0.0404253937, -0.0652502179, 0.0411039405, -0.0346408039, 0.0119727198, -0.0776955783, -0.0008343003, -0.0071013682, 0.000189176, 0.0231871102, -0.0287883505, 0.0110017555, -0.0487661548, 0.0145264156, -0.0122829769, 0.0197148994, -0.0232274402, -0.0918029919, -0.0118446508, -0.0115806339, -0.0005688251, -0.0306572821, 0.0349482857, 0.0095895678, -0.0031198361, 0.0630490184, 0.0164791849, -0.0234107208, -0.0216916706, 0.0484624021, 0.032549832, 0.0214526989, 0.0005880367, 0.025702741, 0.0234981291, 0.0131778214, -0.0089900494, -0.0324400477, -0.0706813335, 0.0161637273, -0.0000415596, -0.0170678869, 0.00568143, -0.001905322, 0.007833858, -0.0003808472, -0.0220011212, 0.0824883729, 0.0387148559, -0.0541151203, 0.0286821853, -0.0242718626, -0.0522093959, 0.041586604, -0.0239593051, -0.0728619173, -0.0326864459, -0.017077459, -0.0138927139, 0.0242468882, -0.0468275435, -0.0170835983, -0.0584122054, 0.0100841662, 0.0046149301, -0.0446816981, 0.0116996225, -0.0443811528, 0.0462898314, 0.0085173091, 0.0126967328, -0.0415016785, 0.0060174195, -0.0218444169, -0.0025011904, -0.057620503, -0.0576241314, 0.0232816357, 0.01675383, 0.0312926583, 0.0214253459, 0.0371931642, -0.0327068008, -0.0983238518, 0.034646444, -0.0695234984, 0.0173066873, -0.0430984572, 0.010663772, -0.0034326583, -0.0207009166, 0.0469262749, -0.0099922037, -0.013843786, -0.0348573364, 0.002509801, 0.0600440837, -0.0199942309, -0.010613001, -0.0502111316, -0.0316887498, 0.0039413166, 0.0364316441, 0.0038799373, -0.0381972603, 0.0215460472, 0.019138243, 0.0157741085, 0.0553658269, -0.0040492532, -0.0527455881, -0.0288470928, 0.0203810073, -0.0836546123, -0.0142962905, 0.0056064874, -0.0037189261, 0.0088340137, 0.0359298326, -0.0151487868, -0.0297978427, -0.0832445249, 0.0136818271, -0.0291828606, 0.0617708489, 0.0140632484, 0.0205786731, 0.0679786578, 0.0257123429, -0.0143317627, 0.0058413558, -0.0541897491, -0.0264550112, 0.0220215674, -0.0447894372, -0.0021084233, 0.0518429987, -0.0292689316, -0.0018267604, 0.0540545061, -0.0093108285, 0.0110247005, 0.0858327448, 0.0060989992, 0.02517014, -0.0082120094, 0.0247128997, -0.0349802226, 0.0034537704, 0.0229400992, 0.0411685631, -0.0001063028, -0.0220088512, -0.001559256, -0.0126358867, 0.0599327236, 0.0018459799, -0.0115286438, -0.0140498998, -0.004670802, -0.0073255179, -0.0189544354, 0.0264371242, -0.0371315368, 0.0059523424, -0.0167449284, -0.046086356, 0.0823218599, -0.0220064912, -0.000884216, -0.0490594655, -0.0302788001, 0.0445371568, 0.013683415, 0.0035614704, 0.0631141514, -0.0068285232, -0.0157634523, -0.0540717691, -0.0296765715, -0.0165860988, 0.0226936713, 0.0089194719, -0.0250707418, -0.0810524449, 0.0299949758, -0.0479554646, 0.0370370671, 0.0221429598, -0.0252792165, 0.0173585452, -0.0176728107, 0.037191432, -0.0040398678, -0.0031097464, -0.0007982662, -0.0096157379, -0.0065092556, 0.0053280056, 0.0702243671, -0.0085125696, -0.0077434513, 0.0536936, 0.0594622269, -0.0422962941, 0.0586945787, -0.0391761772, 0.0104012741, -0.0192394983, 0.0380199589, 0.0183187444, 0.0870965496, -0.0073775789, 0.0216633882, -0.0560322367, -0.0072544487, 0.0540165417, -0.0498885512, -0.0133867553, 0.0483518727, 0.0231889766, 0.031338159, 0.0145256286, 0.0459226519, -0.0207348596, 0.020709686, 0.01310426, -0.0389853232, -0.0338301286, -6.516973007e-33, 0.0115994308, -0.0117652426, -0.0043095676, 0.0289060641, -0.0616490915, 0.0458286926, -0.0315252878, -0.0119160851, -0.0035720125, 0.0388917476, 0.0082750609, 0.0351194777, -0.0007097549, -0.0074561452, 0.0197879709, -0.0206641126, 0.0376666375, -0.0181842335, -0.0130065577, -0.011312915, 0.0767502189, 0.0202115849, 0.0888674036, -0.0778339356, 0.0271039326, 0.0408087522, 0.0347208902, 0.0350475982, 0.0295566581, 0.0234824196, -0.0583202578, 0.0802156553, 0.0389596708, -0.0069121895, -0.0339174941, -0.0041530761, -0.0609237179, -0.0638585687, 0.016097689, 0.0149080167, -0.0359463505, -0.0438880213, 0.0146179739, -0.0012396945, -0.0385377519, 0.0341035835, 0.0324362554, -0.0266286619, -0.0627679303, -0.021585336, -0.0646560639, 0.0267793443, -0.028561566, 0.0365244709, 0.001247592, -0.0457870401, 0.0423735529, 0.023375323, -0.0981977582, 0.0120416414, -0.0171098709, -0.0146034602, 0.0004072285, 0.004602592, 0.0157678891, 0.0648478493, 0.0156665463, -0.0318225473, 0.0305693112, -0.013408104, 0.0560756922, -0.0203434732, 0.0427557975, 0.0508427992, 0.0082200654, -0.0636308864, -0.0425114557, 0.0018993604, 0.0045752139, 0.0203188043, 0.0340821631, 0.0283197332, -0.0265482906, -0.0145570002, -0.0384418555, 0.0174938422, -0.0335404612, 0.027872052, 0.0397736467, 0.0218076408, -0.009508756, 0.0100211995, -0.0046815057, -0.0404171944, -0.0086189676, 0.0237117242, -0.040278513, 0.0223005544, 0.0547310449, -0.0064297132, 0.0180828758, -0.014750842, 0.0454830714, 0.0038143429, 0.0172704663, -0.0586026162, 0.0135363275, 0.0107447719, -0.0300801303, 0.0007347892, 0.0164001305, -0.0591065772, -0.0248449445, -0.0376559459, -0.0187802278, 0.0056146225, -0.0253915619, 0.0497951172, 0.0635536686, 0.0285236277, 0.0187599193, -0.0350181684, 0.0264680032, 0.0294780806, -0.0241856799, 0.0182979163, 0.0286625475, 0.0573106781, 0.0914386287, -0.0213789362, 0.0035083715, 0.0116023561, 2.9e-7, 0.0501151942, 0.0609150752, 0.0072164168, -0.0431072116, 0.0907328352, 0.0172396116, -0.0205717683, 0.0366552509, -0.0514660999, 0.023093041, -0.0060232896, 0.0016105976, -0.0035491213, 0.0043182247, 0.0309436247, 0.023087481, -0.034068983, 0.011683709, -0.0705246404, 0.0172454938, 0.0629516765, 0.0626743585, 0.0234108828, -0.0154378871, -0.0313061401, -0.0233744308, 0.0562346317, -0.0438138805, 0.0348491557, -0.0323132314, -0.0193407498, 0.0443222448, 0.069248639, 0.0060800486, -0.0236751381, 0.062281955, -0.0042123832, 0.01124404, -0.0345346704, 0.0325203054, -0.0213524662, -0.0100159468, 0.0045252419, -0.0443441309, 0.0951275676, -0.0602221563, -0.0078894487, -0.0974901021, -0.0132496599, 0.0389355868, 0.0710198507, 0.0029170243, -0.0360117257, 0.0058850166, 0.0218707211, 0.0377316698, -0.0655319914, -0.0971055105, 0.0099179, 0.0013274617, -0.0152707733, 0.0016451149, -0.0369277634, -0.015466894, 0.0537807047, -0.018655315, 0.0193443093, 2.209110666e-34, -0.0123947235, 0.0302627273, -0.0017735306, 0.0076596569, 0.0014514142, -0.0350141004, 0.0425967127, -0.0170070883, 0.012122754, -0.0801230147, 0.0228758473 ]
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.0178050045, 0.1030632332, 0.022793252, 0.0114231659, -0.0325811394, -0.0006254962, 0.0029422063, 0.0145258037, -0.0473911017, -0.0540168621, -0.0212690998, -0.0696412623, 0.0001872653, 0.0187363494, 0.0857342482, -0.0362596139, 0.0256568827, -0.0335857943, 0.0101068402, -0.0078500351, 0.0185087062, 0.0034650352, 0.0057738381, 0.0686073378, -0.0602066666, 0.0181003399, -0.0206850171, 0.0285146963, 0.0005780477, -0.0407600701, 0.0113395192, 0.0437542498, 0.0277933981, 0.0044536721, 0.0000018033, -0.0226257946, -0.0132889766, -0.0075744628, -0.0327214412, 0.0360196158, 0.04888542, -0.0307962149, 0.0017062717, 0.0426120684, 0.0143018374, -0.0562290512, 0.058863014, 0.0285844356, 0.0121302279, 0.0708530992, -0.0068073617, -0.0346380286, 0.0392615199, -0.056543272, -0.0209742934, -0.0573694073, 0.0396929197, -0.0182188414, 0.000601846, -0.0072786198, -0.0228829943, 0.0085864281, -0.0182173271, 0.0254066326, -0.0076811928, 0.0698127523, -0.0136192469, -0.0049950592, -0.0114917019, 0.0324577391, -0.0401927866, -0.0570726022, 0.0028004507, 0.0052302829, -0.0163920652, 0.0024873435, -0.0474986285, 0.0125132427, 0.0231980197, 0.0372028202, 0.0379146859, -0.0141602019, 0.0402607769, 0.0236503463, -0.0796707794, 0.0425268188, 0.0319730639, -0.0145830102, 0.0180353895, -0.00938637, -0.0366509818, -0.0466926657, 0.0072570699, -0.0078868559, 0.0061923801, 0.009232766, -0.0317944698, -0.0623240247, 0.024185285, -0.0111643104, -0.0002764718, 0.0082916599, -0.0137500735, 0.0283502713, -0.0183675177, 0.0126927951, 0.0247183405, 0.0395900086, -0.0506209545, -0.0070451186, -0.0090986872, -0.0021911238, -0.0729231909, 0.0287910495, -0.0048138457, -0.0145053128, -0.0318486467, -0.0089475764, 0.010670268, -0.0418648571, 0.0117984889, -0.0043775789, -0.0409349389, -0.0071036681, 0.022081621, 0.0103658456, -0.0377827138, 0.0448896997, 0.0121173672, -0.044483386, -0.0347436666, 0.0096667418, 0.0189194866, -0.0052244263, 0.0044019953, 0.0212210752, 0.0052312529, -0.043981716, -0.0326667428, 0.0227821749, -0.0188791063, -0.0446217321, -0.0401848927, -0.076936461, 0.0296422374, -0.0034587989, 0.0184788425, -0.0395906791, -0.0136842784, 0.0035398081, -0.0233845487, 0.0468775146, -0.0168169197, 0.0070403651, 0.0066491025, -0.0214706734, 0.054595612, 0.0886847004, 0.00181957, 0.0074992608, 0.0432055742, -0.0079885786, -0.0472346395, 0.05567481, 0.0461850502, 0.023908183, -0.0295476876, -0.0291159917, 0.0314453095, 0.0232769158, 0.0675226599, 0.073871769, -0.054715272, -0.0264925752, 0.0180622917, 0.0894440413, 0.0030315875, -0.0254582353, 0.0526268743, -0.004179738, 0.0013556653, 0.0183409415, -0.0313328505, -0.0513221994, 0.0073279934, -0.0056645214, 0.0612803735, 0.0273087025, -0.0521964058, -0.0172614325, 0.0056013605, -0.0358495042, 0.0141155096, -0.0269387327, 0.0629315153, -0.019229617, -0.017152017, 0.0826838464, 0.0713711828, -0.0299783424, 0.0324092694, -0.061632473, 0.0435969941, 0.0026062198, 0.0329746827, -0.0235942006, -0.0187300351, 0.0039945235, 0.0328692086, -0.0064093648, 0.0293144416, -0.0147323292, 0.0525308065, -0.026806647, -0.0059158737, 0.030194046, 0.0277185757, 0.0596374162, -0.0300165303, 0.0202383306, 0.031649895, -0.0655083284, -0.0188410245, 0.0581976697, -0.010475683, -0.0358854905, 0.0109680053, 0.0138446838, 0.0315470472, 0.0134417908, -0.0281417295, 0.0125980387, 0.0557659306, -0.044924546, 0.0071369354, -0.0256250445, -0.0643525645, -0.0376203544, 0.046722021, 0.0139223179, 0.0532011576, 0.0347360708, -0.0432561859, -0.034433078, 0.010711493, -0.0034699689, 0.1054716855, -0.0496220104, 0.0234670695, 0.0178419892, 0.0104803219, -0.0580455475, 0.0160414558, -0.0219887085, 0.0493346006, -0.0376878083, -0.0342700221, 0.0197794009, -0.0292278975, -0.0111117791, -0.0073930435, -0.0296493117, 0.0285290461, 0.05037269, -0.0011935789, -0.0008333504, 0.0060411422, -0.1080717966, -0.0077214176, -0.0394403972, 0.0244518444, -0.0042917249, 0.0388629474, -0.0262013655, -0.0255806018, -0.021733243, -0.0079535739, -0.0046590925, -0.0061028432, -0.0036594714, 0.0430942625, -0.0189694967, -0.081677191, -0.0463067479, -0.0079849018, 0.0604349226, -0.0375539027, -0.0207520705, -0.0599393509, 0.0136469137, -0.0268897135, 0.0261345319, -0.015097213, -0.0604404956, 0.0058728606, -0.0674875826, 0.0309899393, 0.0337947533, 0.0317524262, 0.0378168076, -0.0023075466, 0.0263239704, -0.0674634725, -0.0053994036, -0.0260947086, -0.0299102962, -0.0453118607, -0.0301245321, 0.0169665124, 0.0909172744, 0.001646216, -0.0153707163, -0.0315351635, 0.0023268699, -0.0265123919, -0.0181929041, -0.0194556247, 0.0161103047, -0.0138911912, 0.0177951604, -0.0114255454, -0.0514764749, 0.0348306224, -0.0637383759, 0.0189367998, -0.0323689915, -0.031166086, -0.0123712551, 0.0469026268, 0.0441201702, 0.0224469155, 0.012917283, -0.0350432619, -0.0332020409, 0.01783715, -0.0131120654, 0.0258875228, 0.0420120992, -0.0156675037, 0.0256583765, 0.0023300762, -0.0387691371, -0.0275288094, -0.0994092524, -0.0284885094, 0.0075471094, 0.0441480279, 0.0218092743, -0.0555404685, 0.0355220363, -0.0295913424, 0.0691599995, -0.0158482082, 0.0195239037, 0.0000367364, 0.0403595567, 0.0561466999, -0.0253764521, -0.0034000149, -0.0252126697, 0.0130029172, 0.0553161874, 0.064526014, 0.0097226305, -0.0159071535, -0.0369484201, 0.0344295278, -0.042227231, -0.0283225402, 0.0268466901, 0.0580893345, -0.0267211739, -0.0123768626, 0.1232053116, 0.0155252647, -0.0295165647, 0.0238398686, 0.0200357419, 0.0831440911, 0.0087036192, 0.0012729949, -0.0560430102, -0.0341566391, 0.0056335847, 0.0196230095, 0.0021680666, -0.0307027586, 0.0105998674, -0.0837677419, -0.013381361, 0.0198201928, -0.0479756519, 0.0032525007, -0.0548348092, 0.0160674416, -0.0209423546, 0.02256478, 0.0172979012, -0.0091857538, 0.0078638569, 0.0640490353, -0.0076170596, -0.0338110104, -0.0030699319, -0.0727179572, 0.0270180441, 0.0147604719, 0.0106528234, -0.0072673983, -0.0218837801, 0.057650771, -0.0033184448, -0.0007434217, -0.0065988451, 0.0472052991, -0.0443995968, -0.007244722, 0.0362084247, 0.0091277314, -0.0151610766, -0.0000892436, 0.0020047433, 0.0453131311, 0.0195214786, -0.0078957677, -0.0132208522, -0.0203535799, 0.0177523345, 0.0731414631, 0.0286480375, -0.0505603477, -0.0101965116, -0.0333086699, 0.0364951752, -0.0045364145, 0.0135709047, -0.0091711571, 0.0001824416, -0.0496840142, -0.0538870953, -0.0184640251, 0.0307724271, 0.0693094581, -0.0082448125, 0.0063791182, -0.0032894881, -0.0160156526, -0.0249648299, 0.0216997787, -0.0246572942, 0.0025494911, -0.1012407839, -0.0217635017, 0.0303311236, 0.0270633027, -0.0504919961, -0.0017598944, -0.1246141195, -0.0660371408, -0.0177254118, 0.0392251015, 0.0115085496, 0.008251626, 0.003336976, -0.0595815778, 0.0479470827, 0.0485913604, -0.0556218773, 0.0062585189, 0.0439263731, -0.0434419811, -0.0163783319, 0.0321739614, -0.0599242039, 0.0177037902, 0.0041257381, 0.0517243557, 0.0035539044, -0.0206000749, 0.0129807657, 0.0080533111, 0.0846501142, -0.0526337847, 0.0047468808, -0.0370947346, 0.0045331502, -0.013835012, 0.0158608388, -0.0195825603, 0.0054099835, 0.0165803656, 0.0119591812, -0.0308679603, -0.0282306559, -0.029916048, 0.0771910474, -0.0273945685, -0.0041459049, 0.01384129, 0.0121310353, 0.0459155291, -0.0191809088, -0.0202085339, -0.0501767807, -0.0065056332, 0.0001324706, -0.0707439929, -0.0056117442, 0.0033249606, 0.0228642747, -0.0232866164, 0.0090718865, -0.0524949878, -0.0385700427, -0.0408987515, 0.0181188583, 0.0529314168, -0.0327886902, 0.0166481622, -0.0064829574, -0.0010265905, -0.0635517985, 0.0240652207, 0.0020838717, -0.0131608862, 0.0480250195, 0.0103402948, -0.021681359, 0.0270321406, 0.1166079342, 0.0437480398, 0.0387090892, -0.0069469442, -0.0130391102, -0.0243174918, 0.0070709256, -0.0073143709, 0.0681070685, -0.0113081746, 0.0053534666, -0.0185370389, -0.0911394879, 0.0122214081, 0.0041567404, -0.0073054116, 0.0118016088, 0.0537069514, 0.0486034639, -0.0206130464, 0.0128854001, -0.03250264, -0.0040282044, 0.0256577358, -0.0282360986, 0.0087516522, -6.353348602e-33, -0.0095093306, 0.033140935, -0.0194389336, -0.0274308044, -0.0164962728, 0.0015996759, -0.0123409629, 0.0084712924, 0.0197044425, 0.018266011, -0.0251761302, 0.0000470963, 0.0102852788, 0.0297877416, -0.021551935, 0.0148080755, 0.0686932132, -0.025703026, 0.0118984822, 0.0123280119, 0.0143456226, 0.0545708947, 0.0664585605, -0.0041702027, -0.0145346886, 0.0071841939, 0.0051813228, -0.0012487919, 0.0587896854, 0.0451696515, -0.0121386424, 0.0293395836, 0.0276829172, -0.0132241007, -0.0101727098, 0.0017678827, -0.0812017024, -0.0331297182, 0.0350383557, 0.0068679261, 0.0030925816, -0.0009681694, 0.0074493173, -0.0188913289, -0.0027677717, 0.0187530052, 0.0117708109, 0.0029048307, -0.0548810102, -0.0215804745, -0.0275581386, 0.0412660278, -0.020219326, 0.0150125669, 0.0022205675, 0.0147570996, -0.0066395602, -0.0067821699, 0.0042705368, 0.0043827267, 0.0022026284, 0.0600243062, 0.0184397288, 0.0424715616, 0.0004873231, 0.0510988086, 0.0255975462, -0.0367664807, -0.0299063958, 0.0275788605, 0.0691225603, -0.0171258748, -0.0105290636, -0.0000949422, 0.0445544533, -0.0435840748, -0.0991313159, 0.0160831269, 0.0173225701, 0.0499920361, 0.0126286503, 0.0397936814, -0.0344305634, -0.0439037383, -0.0519061014, -0.0860321522, 0.0073992056, -0.0166178159, 0.0220554043, 0.0361502469, 0.0004763482, -0.0238552205, 0.0580031499, -0.0368412621, -0.0639203936, 0.0396107286, -0.0007194807, -0.0127863307, -0.0220386647, 0.0189923905, -0.078008607, -0.027991388, 0.0161564518, 0.0039909896, 0.0224274304, -0.0054135271, 0.0491102152, 0.014186806, -0.0715926886, -0.0261278898, -0.023594182, -0.0163386427, 0.0104874792, 0.0478286855, 0.0842434242, 0.0264934339, 0.0318958163, 0.0444981419, 0.0165705308, -0.0511943437, 0.0011471111, -0.0119136106, 0.0267958511, 0.0300512519, -0.0366742201, -0.0103087574, -0.0347651057, -0.0177440457, 0.0614424944, -0.0597173534, -0.024316011, 0.0211749896, 2.39e-7, 0.0320770405, 0.0166206937, 0.01616133, -0.0268805865, -0.0000544564, 0.004950915, -0.0103729041, 0.0226924177, -0.0046950486, 0.00095737, 0.0037926373, 0.0020274343, 0.0317108892, -0.0012788336, -0.1277343929, 0.0068521714, -0.0614874251, 0.0352753289, -0.0309160203, 0.0016249452, 0.0374179482, 0.1638142169, 0.0039913789, -0.0215369333, 0.0054601324, -0.0565867983, 0.0438487157, -0.0342786647, -0.0068907714, 0.0273182765, 0.0394467078, 0.0332878195, 0.0107531613, 0.0067119133, -0.0277061202, 0.0254401155, 0.0263422672, 0.0521833226, -0.0307955611, 0.0002911619, 0.0395607986, -0.0039287936, -0.0011021196, -0.0317074321, 0.0575822778, -0.0101373494, 0.0089439154, -0.0282231756, -0.009921317, 0.0146288453, -0.0011561988, -0.0426311269, -0.0363196135, 0.050848037, 0.0462067872, -0.017340418, -0.0133666033, -0.0862690732, 0.0066311876, 0.0290937126, -0.0202026647, -0.0222226121, -0.0170843396, -0.0251017958, 0.0362706855, -0.0329082459, 0.0275184568, 2.265285521e-34, 0.0694794878, -0.021925183, -0.0027375831, 0.0071660122, 0.0256448146, -0.0445318967, 0.01972997, 0.0242107082, -0.0215972234, -0.1029351875, -0.0178715065 ]
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.0218166076, 0.0837973207, -0.0387066491, 0.0464624278, 0.0032836001, 0.0401601456, 0.0301928371, -0.0239838101, -0.0077532805, -0.0733013302, -0.0074488977, -0.0372217968, 0.0415426455, 0.043444097, 0.0205834359, -0.0769104287, 0.0175611619, -0.0079045193, 0.0203620009, -0.0244113598, 0.0209585652, 0.0258705858, 0.0237371847, 0.0492473096, -0.0278081987, -0.0208832882, 0.0388489328, 0.0499195382, -0.0107278582, 0.0293520838, 0.0177420806, 0.0542836823, 0.012751569, -0.0099266535, 0.0000019796, -0.0704517663, 0.027130371, 0.0089195641, 0.0073532737, -0.0056518321, 0.0416085087, -0.0330494307, 0.0078363828, 0.020126814, 0.0066808788, -0.0153773194, 0.0865335539, 0.0367373079, 0.013474266, 0.0154222129, -0.032194607, -0.0100807641, -0.0497966781, -0.0167014822, 0.0123546924, -0.0068011899, 0.0543844588, -0.0254905727, -0.082766816, -0.018431006, -0.0623570867, 0.0134311048, 0.0225622151, 0.0123548107, 0.0127112512, 0.0274903532, 0.0004311331, -0.076802209, 0.0079983314, 0.0604158938, -0.0121512432, -0.0031753811, -0.0042725015, -0.0418468826, 0.0308968816, 0.0353705436, -0.0206505395, 0.0238411054, 0.032311216, 0.0106263487, -0.0407066122, -0.0233217515, 0.0398797132, 0.0476665348, -0.0112759676, 0.0284680016, 0.0341904052, 0.0134539558, 0.0056041828, 0.0433466844, 0.0341948047, -0.0687994957, 0.0084037585, -0.0345671102, 0.0091578765, 0.0009802171, -0.031612426, -0.0269122683, -0.0133505212, -0.0681496784, 0.0097815488, 0.0426645204, -0.0508533418, 0.0106493086, -0.0241616555, 0.0423808023, -0.0132580651, 0.0429151468, -0.0314525068, -0.0229722988, 0.0162386876, -0.0378778428, 0.0075902073, -0.0575187951, -0.0187128168, 0.0066979728, -0.0249833278, -0.008806061, -0.0496788844, -0.0221732575, -0.0064810882, 0.0461086854, -0.0463517532, -0.0092134532, -0.0333371907, 0.0606306084, -0.0091496129, 0.0428448133, -0.0406755395, -0.1035421863, -0.0147165377, 0.0327902995, 0.0100435754, -0.0350913517, -0.0022502504, 0.0506381616, -0.0087835351, -0.03392791, -0.0215330981, -0.0058577792, -0.0152261117, -0.0426359028, 0.0547810942, -0.0472824648, 0.0021111295, 0.0328175798, 0.0257891472, -0.0481144339, 0.0009063452, -0.0162368733, -0.0371232443, 0.06886556, 0.0425613746, -0.0190012194, 0.0480311736, 0.004284122, 0.0227958523, 0.1158317998, 0.0387444459, 0.0209388528, -0.0054920455, 0.0006870858, 0.0081549874, 0.0505868904, 0.0115879904, 0.0302328672, -0.0792386755, -0.0098006744, -0.0150342416, 0.0204845499, 0.0811572671, -0.0013151328, 0.001694116, 0.0068946909, 0.0856122151, 0.0015825699, 0.0016569135, 0.0205507688, 0.0235106293, -0.0337586626, -0.0070015793, 0.0188484527, -0.0710623339, 0.0357182398, 0.009382789, -0.0242893547, -0.0374714695, 0.0598317645, -0.0466328226, -0.0423092693, 0.004835146, -0.0004681582, 0.020143047, 0.0306704622, 0.0285402779, 0.0237956885, -0.0116820578, 0.0429790281, 0.0201608352, -0.0222372673, 0.0304922648, -0.0410396084, -0.0221666805, 0.038063515, -0.011085676, -0.0089921076, 0.0122798216, -0.0078941491, -0.0157049783, 0.0547005832, 0.0217248537, 0.02425953, 0.0405859463, -0.052102156, -0.0503484681, 0.0122658899, 0.0335048139, 0.0128890425, 0.0142773381, 0.0178382769, 0.0252219364, -0.0020912916, -0.0561354794, 0.0376384333, 0.0395221338, -0.0185668748, 0.0028762983, 0.011916656, -0.0037345609, 0.0001765064, -0.033210963, 0.0114463549, -0.0016047246, -0.0015357899, -0.0100778481, 0.0533644482, -0.0499479398, -0.0026898754, 0.0131421881, -0.0890040547, -0.0478811562, 0.0303074755, -0.0165950488, -0.0161321126, 0.0516265295, -0.0347945541, -0.0022631928, -0.0105487704, 0.002190663, -0.026295295, 0.044649329, -0.0086306063, 0.0204009339, -0.0278737769, -0.0646458343, 0.0220559184, -0.0359492265, 0.0032385951, -0.0306617115, 0.0101971012, 0.008012333, 0.0149099007, 0.0030551557, 0.0477963611, -0.0368408337, -0.0381886773, -0.0031723632, -0.0539711341, -0.0380862951, -0.037571907, -0.0534317978, -0.00402764, -0.0022641085, -0.0146375457, -0.0471360609, -0.0136615792, 0.0243027676, -0.0081320386, 0.0520293154, 0.0004283102, -0.0287099779, 0.0184234958, -0.035751041, -0.0322637744, -0.0116095664, 0.073001273, 0.0463771559, -0.0562886782, -0.0426346585, 0.0068256119, -0.0026458483, 0.0196279138, -0.001946372, -0.0193543565, 0.0199260358, 0.012895368, 0.0398521572, 0.1062125191, 0.0065148976, 0.0493846238, 0.068237409, 0.0079962527, -0.0461387113, -0.0327770635, 0.0040634209, -0.0062262332, -0.0117791034, -0.0596767701, -0.0506063551, 0.0176645312, 0.0053023566, -0.0020702374, -0.060706526, 0.0391543806, -0.0018100272, -0.0918006822, -0.0406721383, -0.0464128926, 0.0052935802, 0.0405987278, -0.053004887, -0.0709231868, 0.0147845475, -0.0013283368, 0.0051851477, 0.000339741, 0.0450807959, -0.0175530966, 0.0315813832, 0.0289368331, 0.0302917417, 0.0316641517, -0.0080713425, -0.0918337032, -0.0458258912, 0.0214169547, -0.014500903, 0.0065189856, -0.0429813787, -0.004978362, 0.0026694799, -0.0215580165, -0.0433049649, 0.0002762171, -0.0204016231, -0.0071076765, -0.040975336, 0.0265796334, -0.0386653878, -0.0194264725, 0.0226189066, 0.0207228307, -0.0134790251, 0.0010089, -0.0072868951, -0.0132695483, 0.0744921863, 0.0007981323, 0.0303844903, -0.0649646446, -0.0217212476, 0.0190271027, -0.0338450894, 0.0207915884, -0.064092271, 0.028688645, 0.0441243313, 0.0262435433, 0.01328093, 0.012658136, 0.0487656519, -0.0611248277, 0.0136462897, 0.0777780712, -0.0051165046, -0.0874487683, -0.0155016687, 0.0239389483, 0.0147442892, 0.0314593874, -0.0247403905, -0.0795459226, -0.0126843611, 0.0290475171, -0.0499922596, -0.0244415142, -0.0087946532, -0.0192712788, -0.0935331881, 0.0351523012, 0.0068640462, 0.0157445036, -0.0305552799, 0.0004392843, -0.0044971718, -0.0458944626, 0.0300661959, -0.0317612328, 0.0124831507, 0.0154250357, -0.0027661114, 0.0218227077, -0.0600802153, -0.0173347238, -0.0530866645, 0.0063334429, 0.0715897158, 0.0127202235, -0.0352854356, -0.0164887588, 0.0601233356, 0.0101914257, 0.0236652587, -0.0048888288, 0.0707505792, -0.0485335551, -0.0362780876, -0.0065202829, 0.0538163222, 0.0306142159, -0.0103479447, -0.0316044949, -0.0040796506, 0.0114816427, -0.0025149151, -0.0532375388, -0.0352628827, 0.0094038611, 0.0271286666, 0.0134069072, -0.0362259634, -0.0254897717, -0.0462327562, 0.004666009, 0.0310826544, -0.0633757189, -0.0092080999, 0.0540970154, -0.0359708183, -0.0204444174, -0.038310945, 0.0252298657, -0.0059922114, 0.0049254498, -0.0546814688, -0.0049194614, 0.0037445652, -0.0624847934, 0.0997537673, -0.0207958203, 0.0322968177, 0.0198374894, 0.0021249775, -0.0456286334, -0.0578057282, -0.0051903753, 0.0339168869, -0.063463971, -0.0511263758, 0.0199964978, 0.0721797273, 0.0217194036, 0.0704052523, 0.0130166002, -0.1083424538, 0.0478638448, 0.020295579, 0.017080117, 0.042753242, 0.0243647993, -0.0484205782, -0.0117898658, 0.0314083323, -0.0377497971, 0.0003876046, 0.0261858329, -0.011000908, 0.0169822536, -0.049025774, 0.0108161746, -0.0373848863, 0.0432057083, -0.063029483, 0.0357213654, -0.0384350233, -0.0165228136, 0.0002671086, -0.0166217685, -0.0314142965, -0.0037226025, 0.0524142049, 0.0512283258, 0.0028936306, -0.0190897044, -0.0276397448, -0.0176018439, -0.0121420342, -0.0003131762, 0.0222210363, 0.0173804164, -0.0034685414, 0.0386750661, 0.0157797951, 0.0459187888, -0.0319028199, 0.0054995604, 0.0370919332, 0.0309148878, 0.0392387845, 0.0258307513, -0.0394065902, 0.0010360538, -0.0384244695, -0.0220850743, -0.0363882184, 0.0178087819, 0.0476187393, -0.0600413717, 0.0420216694, -0.0087527875, -0.0140884696, -0.011475821, -0.0090726037, 0.0157462936, 0.0022118406, 0.0663174391, 0.0039864653, 0.0048199631, -0.0146671431, 0.0396865197, 0.0460731387, 0.0597230121, -0.0363001488, -0.026160419, 0.0076151723, -0.0509915277, 0.041936662, -0.0245735943, -0.0343010202, 0.0339042805, -0.0474472009, -0.0500592515, -0.0146042639, -0.0338810682, 0.027155865, -0.009985867, 0.0405278504, 0.0324313827, -0.0343704969, -0.0424535498, 0.0053234729, -0.0140137384, -0.0126364985, 0.001478959, -0.0018782191, -6.078923201e-33, -0.0348356999, -0.0213048123, -0.0103173787, 0.0015903356, -0.0161511414, 0.010772923, -0.01416077, 0.0148473857, -0.0198793393, 0.0538618751, 0.0422223546, 0.0529731289, 0.024929205, 0.0220077671, -0.0011465146, 0.0038518065, 0.0641851053, 0.0127081787, -0.0230287388, -0.0493190736, -0.0239847433, 0.0183717199, 0.0360657275, -0.0845009908, 0.054268878, 0.0223941952, -0.0315680131, -0.0128046134, -0.0092772366, 0.0367269255, -0.0249500219, 0.0603432581, 0.0208755657, -0.0375287533, -0.0225357022, 0.0632722154, -0.054468058, -0.0215379465, 0.0262218025, 0.0691785067, -0.0304152519, -0.0265782382, 0.0445976108, 0.0142812263, -0.0291173086, -0.0603035055, 0.0689090341, -0.0193799306, 0.0323398188, 0.032522928, -0.0551063642, 0.0017140446, -0.0384362414, 0.0150245288, 0.0518724024, 0.0102417395, 0.00414884, 0.0371561311, -0.0176852383, 0.0216816496, 0.0116817253, 0.0124436039, 0.0620268248, 0.0895635784, 0.0332382247, 0.0504992977, 0.0649394095, 0.0074886559, -0.0251033437, -0.0795975477, 0.0548552759, -0.0114333238, 0.0688546523, 0.0811022297, 0.0243310723, 0.0212464798, -0.0698491633, -0.0365286283, -0.0464196689, 0.0380293466, 0.028248325, 0.001749278, -0.0153006259, -0.0378104597, -0.0706121027, -0.0740113631, -0.0329208747, -0.0028643291, 0.0269401334, 0.0189399961, -0.0080725299, 0.0460533276, 0.0299966633, -0.0471642762, -0.0066273008, 0.0137793738, -0.0196092818, 0.012729818, 0.032779932, 0.0165304411, -0.0578469411, 0.0135371927, 0.0519902222, 0.0536527783, 0.0212593973, 0.0262406226, 0.0183644406, 0.0031438745, -0.026367208, -0.0070019304, -0.0569237247, -0.0293716397, 0.0146865854, 0.0294981021, 0.021470109, 0.0405431539, -0.0527337193, 0.0040300116, 0.0284542684, 0.0177076347, -0.0215966776, -0.0294666979, 0.0039486741, 0.051468689, -0.0329775661, -0.0304126162, -0.0311585926, -0.009303146, 0.0671833009, -0.05852383, -0.0247951802, -0.0237534326, 2.553e-7, 0.030109413, 0.0253366511, 0.0312273614, 0.0072528152, 0.0404267907, 0.0531278513, 0.015162332, 0.0425908677, 0.0577820465, -0.0178622287, -0.0054106764, 0.0642474294, 0.0094211055, -0.0286106486, 0.0035872834, 0.0422886685, -0.0415068194, 0.0220631212, -0.0096687321, 0.0158631913, 0.0041346871, 0.0711173117, -0.0065581924, -0.0121849235, 0.0089937942, -0.0040914351, 0.0733288601, -0.0378438309, 0.0269400347, -0.0154108237, -0.0297414251, 0.0242610648, -0.0075114085, 0.0556162409, -0.0040364712, 0.0014255618, 0.0128943054, 0.0161885358, -0.0550297797, 0.0143434564, -0.0408165902, 0.033075843, -0.0399609208, -0.0747690424, 0.0797819644, -0.0318238847, -0.0426092856, -0.0372692086, -0.0231411252, 0.0183136836, 0.0640924498, 0.001466523, -0.0155999083, -0.008155562, 0.0237282664, 0.0173556022, -0.0366061069, -0.0668294132, -0.0502582677, -0.0467843935, -0.0148199312, -0.049925644, -0.0399455838, 0.0186704379, 0.0283569861, -0.0353009589, 0.0065151472, 1.921479137e-34, 0.0135431597, 0.0139162876, 0.0311324503, -0.0278542768, -0.0090160407, -0.0398813933, -0.0352921784, 0.007727501, 0.0306417383, -0.0337662846, -0.0044640074 ]
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.03116736, 0.0453361087, -0.0214014929, 0.0301102009, 0.008174384, 0.0163289867, -0.0006552175, 0.0129959164, -0.0327349715, -0.0252758265, -0.0708540753, -0.0581785217, -0.0042741019, 0.0623858087, 0.0470431224, -0.0359322838, 0.0272790473, -0.0652680099, -0.0146033932, -0.0253243577, -0.035387557, 0.022041712, 0.0243819412, 0.0220516771, 0.0074116029, 0.0148037057, -0.0041463571, -0.0042267372, 0.0013628651, 0.016733231, -0.0123209814, 0.0496697314, 0.0176827293, 0.0545324534, 0.0000020585, -0.0502273664, 0.0061160666, -0.0086527625, -0.0561715402, 0.0759843439, 0.02930489, -0.0232660063, -0.0105252303, 0.0148183424, -0.0222236272, -0.0145584811, 0.0261637513, -0.004703695, 0.0371651836, 0.0857076868, 0.0136754094, -0.0462270938, 0.0671880096, -0.0507667549, -0.0501831919, -0.050471887, 0.0368345305, -0.0006269047, 0.0155217722, 0.0182987936, -0.0223996099, 0.0318971612, 0.0185911581, 0.0219285861, -0.0266763568, 0.0081288721, -0.032303296, -0.0331540555, 0.0137404976, 0.0636279881, -0.0373553522, -0.0172335487, 0.0024761562, -0.0082925502, -0.0106484108, -0.0085721845, -0.035723716, 0.0368257202, 0.0184714459, 0.0122900056, 0.0235818885, -0.0714155808, 0.0518193878, 0.0125145596, -0.0366000608, 0.0377817191, 0.0236277301, -0.0137819191, -0.0129008191, -0.0438677445, -0.0727550015, -0.0202726535, -0.008012916, 0.0190375485, -0.0452533439, -0.0173357576, -0.0533108003, -0.0177466664, 0.0274252892, -0.0379322134, 0.0794571564, 0.0294038262, 0.0180944167, 0.0511673875, 0.0034497352, 0.0211941842, -0.03302899, 0.0028983383, -0.0393088832, -0.0155368978, -0.0341620632, 0.0033234046, -0.0467123426, 0.017507121, -0.0406137742, -0.0200043824, -0.0274080578, 0.0122112874, 0.0215984713, 0.0089166258, 0.002040233, -0.0259856451, -0.0255939215, -0.0339902416, 0.0193519127, 0.0101685394, -0.0500795394, 0.0170636885, -0.0103009744, -0.0550168529, -0.0031381049, 0.005685227, 0.0185508803, -0.026940044, 0.0594580099, 0.0536822192, 0.0076745492, -0.0524053723, -0.0441092178, 0.0088173682, -0.0043852185, -0.0860832557, -0.0176725201, -0.0432525985, 0.0080607552, 0.013129293, 0.0098285582, -0.0182767082, -0.0233475994, -0.012619542, -0.0554978177, 0.0334525667, 0.0029361248, 0.029188633, 0.0286179204, -0.0309430379, 0.0166663099, 0.0856058523, 0.0432056971, 0.0165944509, 0.0401641838, -0.0373513177, 0.0106210569, 0.0577734895, -0.0167391393, 0.0363018699, -0.0344680138, 0.0058128936, 0.0369152389, 0.033097364, 0.0104271108, 0.0406619124, -0.0282746144, -0.0261510294, 0.0509186275, 0.0382653438, 0.0381795652, 0.0541869216, 0.0477812365, 0.0137568163, 0.0322047174, -0.0286381003, -0.0541724004, 0.005649732, -0.059375152, 0.0068966141, 0.050927408, 0.045848459, -0.0411432721, -0.0105751762, -0.0260473248, 0.0005732518, -0.0309057645, -0.0035895091, 0.0388527326, -0.0220822264, -0.0061531127, 0.0395275392, 0.058021307, -0.0283193756, -0.0202516299, -0.0541335009, 0.0184869412, 0.072975114, 0.0316954255, -0.0373073965, -0.0375293568, -0.0017474288, 0.0360972583, 0.0461166352, 0.076948531, -0.0010706676, 0.049062185, -0.0520304628, 0.00700079, -0.0081668189, 0.0220022481, 0.0170872826, 0.0135625871, -0.0164244138, 0.0035797628, -0.0246527903, -0.029121045, 0.0102216667, -0.0409707017, -0.0259389486, -0.0116478391, -0.0030487999, 0.0403080061, -0.0091045424, -0.0324270353, -0.0114165917, 0.0134534528, -0.0245484933, 0.034818437, -0.0565632097, -0.0143923089, 0.0268053003, 0.0328846723, 0.0049883663, 0.0229604188, 0.0414091051, -0.0395361111, -0.044581674, 0.0164785516, -0.0286136474, 0.0569352657, -0.0385397635, 0.0540178642, -0.0399376228, 0.0355909318, 0.0014651264, 0.0164401978, -0.0038647454, 0.0126158576, 0.0154702291, 0.0113553181, 0.025199201, -0.0659109205, -0.0212723576, 0.0148843229, -0.0051106242, 0.019782871, -0.0136174718, 0.0258310698, -0.0096539585, -0.0296814293, -0.0781479776, 0.0191891845, -0.0351051576, 0.0052825953, 0.0108093033, -0.0113864355, -0.0333225466, 0.0172978807, 0.0185004864, 0.0022258172, -0.0161924921, 0.0203538276, 0.0261969585, 0.0229919069, -0.0668620765, -0.0637130439, -0.0379522778, 0.0035510787, 0.055816751, -0.0220034234, -0.0114158597, -0.0744430795, 0.0199041106, 0.0052970117, 0.0342610814, -0.012476366, -0.0727968588, -0.0148531748, -0.0385852084, 0.0134106204, 0.0769833103, 0.0051647318, -0.0119214328, 0.0434718765, 0.0029745069, -0.0296484325, 0.0079311943, -0.026911363, -0.0698793605, -0.0440886803, 0.0298378915, -0.0111126602, 0.0576425456, -0.0603607483, 0.0069089518, -0.0610878915, 0.0552675128, 0.0127169034, -0.0092935031, -0.0130213751, 0.0308032967, -0.0274773482, 0.0285833068, -0.0135366488, -0.0611639544, 0.0334283784, -0.0310639683, 0.0070444662, -0.0104840398, -0.0092249149, -0.0394369215, 0.06078206, 0.0271239933, 0.0363519602, 0.0248014461, -0.0066390019, -0.0392949581, 0.0157052353, -0.010240796, 0.0012536655, 0.0259044226, -0.0474972911, 0.0155034615, -0.0060425811, -0.0729201362, 0.0083587281, -0.0508903936, -0.0416570455, 0.0349226817, 0.0470189713, -0.0651970431, -0.0273299944, -0.0161105916, -0.0037733139, 0.0237539355, 0.0009437451, 0.0118731409, -0.0269108582, -0.0114628971, 0.0560880303, 0.0173565615, 0.0276086554, -0.0240689535, -0.0041075163, -0.0154114719, 0.0017877878, 0.0274119172, -0.0030612871, 0.018721547, 0.0300117116, -0.0393852964, -0.0480647795, 0.012569556, 0.0576815866, -0.0484528542, 0.0000468671, 0.1147785485, 0.0086199064, -0.040655382, 0.0226353984, 0.0204981826, 0.0298038442, 0.0213564653, 0.0465551354, -0.0568373725, -0.0226656981, 0.0017994888, 0.0291727092, -0.0028548515, -0.0090191867, -0.0002567976, -0.1217129305, 0.0283144135, 0.0448366106, -0.0124086784, -0.0532938726, -0.016535569, -0.0112746181, -0.0386236012, 0.0217085294, 0.0531986989, -0.0316942148, -0.018272683, -0.001312844, -0.0004319425, -0.0886370838, 0.083477512, -0.0422230661, 0.0668074563, -0.0045878622, -0.0070867133, -0.0059515131, -0.0280923322, 0.0274791736, -0.0091675054, 0.012073921, -0.0254256204, 0.0351231471, -0.0020519937, -0.0239596907, 0.0257505216, 0.0419087149, -0.0303801857, 0.0109448079, -0.0137139121, 0.0417404249, -0.012838372, 0.0005471118, 0.0320157968, -0.0227783732, -0.0496905185, 0.0595564805, 0.0402242355, -0.0490430444, -0.0107461242, -0.0193013437, -0.0482115597, -0.0453733765, -0.0126402108, -0.0099370936, -0.0154326335, -0.0004322855, -0.0131881563, 0.0087500205, 0.0431265533, 0.02553121, 0.0321767107, -0.0122151133, 0.003675374, 0.0114946365, -0.0238444414, 0.0495968685, -0.0350426994, -0.0019425638, -0.1076094806, -0.0510488898, 0.0535605922, -0.0136488881, -0.0085866489, 0.0311863758, -0.0962960571, -0.0781944692, 0.0175234191, 0.0448448025, 0.0338408686, 0.0445730425, -0.0102996984, -0.0822275802, 0.0195302479, 0.0132607892, -0.0359995551, 0.054192204, 0.0336199626, -0.0013920567, -0.0038405845, 0.0618984662, -0.0294455122, 0.0234367643, 0.021241229, 0.0162312388, -0.025163142, -0.0309010688, -0.0142699145, 0.0227649938, 0.0321255922, -0.0016747653, -0.0122038657, -0.0381581523, 0.0408543497, -0.0062072468, 0.0084891878, -0.0212603696, 0.0121635227, 0.0306197219, -0.0031641165, -0.0310682952, -0.0212417841, 0.0286093019, 0.0208491404, -0.0165772997, 0.0054842266, -0.0244464222, -0.0002216176, 0.0537728854, -0.0157416947, -0.0154720545, 0.0740260184, -0.0060687694, 0.0295689609, -0.0292576551, 0.0524850637, -0.0002299219, 0.0160968397, -0.0858336762, 0.0535688661, -0.0511994809, -0.1268043071, -0.0614440665, 0.0455255322, 0.0638085008, 0.0088136634, 0.0175994318, -0.0276904628, -0.0350493044, -0.0264548715, 0.011338626, -0.0002663518, 0.0093988357, -0.0075800205, 0.042046085, -0.0568122193, 0.0245065242, 0.0768321455, 0.0404204875, 0.0571851879, 0.0342729092, 0.0125225186, -0.0223531649, -0.0189763699, -0.0267670825, 0.0127766682, -0.018524982, 0.0104924627, -0.0291478112, -0.0532595888, 0.0004890889, 0.0169421211, 0.0042370101, -0.0057129399, 0.0406963192, 0.052150581, -0.0207781885, -0.0023306957, -0.024259394, -0.0308828894, 0.0314890593, -0.0127329156, 0.0145095233, -7.001780673e-33, -0.0077848905, 0.0701233521, 0.009041992, 0.0135388151, -0.0098168366, -0.0193581413, -0.0120440889, 0.0240853895, -0.0424314402, -0.0119632278, -0.0157024879, 0.0145901982, 0.0095044393, 0.0355278403, 0.0172311142, -0.0121451989, 0.0784310624, -0.0018139915, -0.0066902232, 0.0140407644, 0.0153396931, 0.0330385864, 0.0474082679, -0.0315937176, -0.0557641648, 0.0172764156, -0.0152961649, 0.05275096, -0.0188266262, 0.064258948, -0.0236457717, 0.0485075004, 0.0041285232, -0.0215401109, -0.0169282276, -0.0214394704, -0.0367877781, 0.0024267766, 0.021807665, 0.0030364695, -0.0000789927, -0.0511815548, 0.0444818959, -0.0108833211, -0.0510242321, -0.0003248822, -0.0093413005, -0.0453461818, -0.0294802133, -0.0094314031, -0.0408566222, 0.0169293843, 0.0198991038, -0.0128640411, 0.0256073009, -0.0265995897, -0.0260152388, 0.0170103479, -0.0034088071, -0.0039336453, 0.101228267, 0.0635771975, 0.0334778987, 0.0303652864, 0.0257523358, 0.0439237244, 0.0041307262, 0.0241863709, -0.0164488442, 0.000844941, 0.0257600173, 0.0828700215, 0.0184764881, 0.023853926, 0.0210278165, -0.0418325067, -0.0545544922, -0.0324010402, 0.0080986507, 0.0332363695, 0.0197704602, 0.0221821573, -0.0258207452, -0.0332693309, -0.0559287034, -0.045529034, -0.0435185172, -0.0031858757, 0.0255453866, 0.0201723818, 0.0011486114, -0.0168636478, 0.0257059634, -0.046870295, 0.0158119276, 0.0047710212, -0.0169576053, 0.0217766389, 0.0077446718, 0.0014758707, -0.036873959, -0.0766606629, -0.002699516, -0.0113378996, 0.0138720032, -0.0082791289, 0.0338586532, 0.0598079525, -0.0541297495, -0.0016375211, -0.0130913025, -0.016181279, 0.0060514454, 0.0276933163, 0.0279192924, 0.0073813708, 0.0198573843, 0.0666050911, -0.0073184958, 0.0080564767, -0.0253801513, -0.027749015, 0.0174856223, 0.0177933183, 0.0099632218, -0.0019436579, -0.0420865454, -0.0191910155, 0.0652337223, -0.0584074557, -0.0125307478, 0.0099469908, 2.735e-7, 0.0268054046, 0.0849107504, -0.0039716, -0.0260511562, 0.030505931, 0.0318607688, -0.0102163553, -0.0042419271, 0.0090260841, 0.013430072, 0.0162668563, 0.0342025869, 0.0593302511, 0.0000815903, -0.062962912, -0.0057687811, -0.0553375706, 0.0219900366, -0.0878770426, -0.0356291831, -0.0196901225, 0.1506216675, 0.0338546745, -0.0114682717, 0.0291609876, -0.0530140027, 0.0483572446, -0.0659262538, -0.0215477236, 0.0302333329, -0.0246809218, 0.0563059337, -0.003869019, 0.0059954724, -0.007157756, 0.0559289828, -0.0278102495, 0.1049605832, 0.0072147278, 0.0084449397, 0.0098783951, -0.023296034, -0.0215828605, -0.0597197562, 0.0656564087, -0.0659163371, -0.0321384221, -0.0181723684, 0.0075083007, -0.0299275666, 0.014045367, -0.0573904924, 0.014521677, 0.0309569463, 0.0123709105, -0.0093470942, -0.0115024867, -0.087558493, 0.00291696, 0.0573824309, -0.0447064973, -0.0455039255, -0.0355042256, -0.0439607725, 0.0589207336, -0.0300496295, 0.0295723435, 2.706674007e-34, 0.0711713061, -0.0375656337, 0.0460858047, -0.0122396052, 0.0360665582, 0.0085867373, -0.0262809619, 0.0151741179, 0.0067978622, -0.1219566241, -0.0072659305 ]
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.0181430094, 0.1046165004, -0.0279260036, 0.0248088986, -0.0477209948, -0.0285785794, -0.0293209963, 0.0066305087, 0.0093239443, -0.0380235873, -0.0059643714, -0.0271498766, -0.0446122847, 0.0621121936, 0.0163650047, 0.0243319795, 0.0492647476, -0.0316256471, -0.1128636301, -0.0459559858, -0.043807067, -0.063757658, 0.0141739892, -0.0441924259, 0.025619857, 0.0219955686, -0.0450059772, -0.0243274439, 0.0041713999, 0.0074676536, -0.0642517582, 0.0412340574, -0.0291028954, -0.0218798015, 0.0000020301, -0.0271186121, -0.0053548184, 0.0556759238, -0.0186978392, 0.0169212557, -0.0708756372, -0.0030373044, -0.0207855497, 0.0188135821, -0.0055359141, 0.0273464173, 0.1114930212, -0.0620588623, -0.002432097, 0.0543671735, 0.0179458112, 0.0013890178, 0.0371148847, 0.0025821126, -0.0494459979, -0.0655639321, 0.0649490505, -0.0017175367, 0.0555201545, -0.0375281461, -0.0460929573, -0.0790941492, 0.0414406843, -0.0101190908, 0.0126133822, -0.0014286357, 0.0400301889, 0.0308625326, -0.0761192441, 0.0642220378, -0.0114906421, -0.0389822572, -0.003661345, 0.024209952, -0.0708196834, -0.0212088339, 0.0634216517, -0.0029452746, 0.0432496071, 0.0192730818, 0.0258204564, -0.0175728276, -0.0070491945, 0.0104036778, -0.0264282022, 0.0224712249, 0.0724321306, 0.016904328, -0.0657104105, -0.0242979471, -0.0220055841, -0.0207487252, 0.0333395004, 0.0158719402, 0.0170036219, 0.0030302347, -0.0239649974, 0.0214096922, -0.0015187889, 0.0231923778, 0.0013400218, 0.0721691549, 0.016410239, 0.025981009, 0.0046962602, 0.0112285288, 0.0053266087, 0.0073488965, -0.0141321672, 0.0279969964, -0.0242022108, 0.0386709087, 0.0074509121, 0.0325939842, 0.002632767, -0.0459485874, -0.0537505113, 0.0187681653, 0.0183178168, 0.0166269988, 0.0042844573, -0.0062581315, -0.0136019103, 0.0198304262, -0.0149309589, 0.0492186397, -0.0066154604, 0.0000014683, -0.041597493, -0.0184972659, -0.0337320417, -0.0033191638, 0.0132376263, -0.0159617662, -0.0402912162, 0.0428830273, 0.0250001904, -0.0698171929, 0.0303698331, 0.0412651598, 0.0035468114, -0.0261886716, 0.0330548473, 0.0071501578, 0.0150516266, 0.0020531246, 0.0095263552, 0.0089718793, 0.04160491, -0.016672112, 0.0095247496, 0.0252843369, -0.0317769386, -0.0351721458, -0.0497998744, 0.0146593861, 0.0752600133, -0.0136503829, -0.0150947599, -0.0187935289, -0.0480983965, 0.0087147392, 0.0475129783, 0.0222558975, 0.0060301777, -0.0136919469, -0.0948491693, -0.0207577758, -0.0353977382, -0.0248815157, -0.0215698928, 0.1178713962, -0.0196152758, 0.0308951512, -0.0371868014, 0.0160160139, 0.0132806664, 0.0628196076, -0.0126192644, 0.0113951731, 0.0258550197, -0.0078309812, -0.0607241131, 0.0701450109, -0.0336997472, 0.015690228, -0.0255352464, -0.0022373991, -0.0087160636, -0.0122133549, -0.0136189107, -0.0216326639, 0.0471373834, -0.0571820922, 0.0301975869, 0.0593459979, -0.0336008333, -0.0305731744, -0.0341680869, -0.0266468655, 0.0187025554, -0.0597501844, 0.04173062, 0.0379209854, 0.0206123628, -0.0411939323, 0.0544096231, 0.0562914424, -0.0926802233, 0.0175132211, 0.0282560345, 0.0199103691, 0.0031274469, -0.0121059828, -0.0223907586, 0.019043589, 0.0197738614, 0.0215700753, 0.0041495743, -0.0039597768, -0.01052834, -0.0143678114, -0.0179040376, 0.018396955, 0.0492047928, -0.0704439655, 0.0412399508, -0.0124326022, 0.0522245243, -0.0078890538, -0.0337916799, 0.0674787164, -0.0041732518, 0.0087315058, -0.0122494232, -0.053617198, -0.0000641377, 0.0403904654, 0.0570888482, 0.0088631446, 0.017538663, -0.003543718, -0.0405046418, -0.0582020767, 0.0861425698, -0.0291383862, 0.0375689492, -0.0168654695, -0.071991168, 0.0508119799, 0.0338558294, -0.0046146521, 0.0635371432, 0.033619497, -0.0035428002, 0.0415975638, -0.0129883364, -0.0091072218, 0.0110373646, -0.0362532996, -0.04916602, 0.0177812763, 0.0252168328, 0.0282746777, -0.0219400898, 0.0327592455, 0.0130273821, -0.0536007211, -0.0145966541, -0.0373603404, 0.0314105377, -0.0083358577, 0.0029159882, 0.0167528037, -0.0079842964, -0.0177428722, -0.0362248495, 0.004126125, -0.0168386176, 0.0121076144, -0.0004956468, -0.0682953, -0.0510638021, 0.0036387278, -0.0284327175, -0.0258581284, -0.0320418365, 0.0077099469, -0.0476524159, -0.0087437406, 0.0271684099, -0.0039402992, -0.0140839359, -0.0427800976, -0.0177907944, 0.0002986832, 0.065103516, 0.0264179651, 0.0354018956, 0.0087785777, 0.0930732787, 0.0400791653, 0.0229244027, 0.0222330708, -0.0304858889, 0.0085131451, -0.0171380527, -0.0326017477, 0.0221219957, 0.0289953873, 0.0164280441, 0.0019876999, 0.0115439901, -0.0028735944, -0.0023371917, -0.0060172933, -0.0130231269, -0.0247733332, -0.0088749072, 0.0405027792, -0.0063800747, -0.0024402337, 0.0634009987, -0.0430700108, 0.0400695466, -0.0081000198, 0.0144390995, 0.0094901444, 0.0546470173, 0.0169124231, 0.0398555361, -0.0549584031, 0.0507178605, 0.0009164535, -0.0574820973, -0.0033168639, 0.0009682662, -0.0050203786, -0.0315602422, 0.0275944434, -0.0222145505, 0.0395017937, -0.0148688154, 0.0643058866, -0.0392345637, 0.0107805422, -0.0396259464, -0.0313853025, 0.0274241064, 0.0094997082, 0.0321674794, -0.0125005366, -0.0083229663, 0.0259008706, 0.0093059419, -0.0216539595, -0.0025850218, 0.0365839116, 0.0421107933, 0.003498252, 0.0376004316, -0.0079957563, -0.0153750163, 0.0831156969, -0.0038538428, -0.0474377647, 0.0245007556, -0.0036479223, 0.0422517918, 0.0498713478, 0.0249780919, 0.0055070976, -0.0344416127, 0.0138515709, 0.0310672242, 0.0316407494, 0.0630895942, 0.0141176842, -0.0561708137, 0.0196480397, 0.0586303808, -0.1077533364, 0.0049371379, -0.0109581547, -0.020422712, 0.021282373, 0.0361550078, -0.0198034961, -0.0032513649, -0.0182698462, 0.0236169714, 0.0129147014, -0.0493025519, -0.0296707042, 0.0382213034, 0.0011749631, 0.0111444164, 0.0182495061, 0.0520318262, -0.0141563378, -0.0004756057, 0.0496739671, -0.0266478043, 0.0193498805, 0.0760021433, 0.020233795, 0.0588447042, 0.0695678294, -0.0500882007, -0.0452680886, -0.0229048096, -0.0061767353, 0.0116688749, 0.0171012152, -0.0857101232, 0.0794962123, -0.0703321099, -0.0014660578, 0.0064638276, -0.00166094, -0.0472881459, -0.0068158787, -0.0142608909, -0.0298648234, -0.010272312, 0.0148715414, -0.0234457329, -0.0000382122, 0.0305057056, -0.0277211629, -0.0139726941, -0.0565111637, -0.0241119321, -0.0399042964, -0.0576016344, -0.0671560615, -0.051763203, 0.0217979383, -0.0330984071, -0.0094145145, 0.0253089163, -0.0217161961, -0.0517514236, 0.0539174676, -0.0220028926, 0.0814695656, -0.0402887687, -0.0199541617, -0.0403034538, -0.0636743754, 0.0321981125, -0.0430845208, -0.0616370924, -0.0042930339, -0.0355179533, -0.0323570222, -0.0144638987, 0.0219576955, -0.0204144437, 0.0466609113, 0.0074906321, -0.0017837902, -0.0961990654, 0.016141152, 0.0222089402, -0.0007136957, 0.0002056235, 0.01602339, -0.0141348792, -0.0051769214, -0.0103586894, 0.0031268438, -0.0159720834, 0.0345275067, 0.0250595827, 0.029450085, 0.0545392521, -0.0538295545, -0.0560239591, -0.0074510677, 0.0236818939, 0.006131812, 0.0269878507, 0.0798564851, 0.0111604584, -0.0209535416, -0.0548981614, 0.0467694215, -0.0591964051, -0.0096604507, -0.0109679084, 0.0026632322, -0.0066689858, -0.0401190035, 0.0356101915, -0.0332596153, 0.0437324643, 0.0357635282, 0.0194901861, 0.0232698042, 0.0149582168, -0.040730726, -0.0096851001, 0.0393454805, 0.0460765697, 0.0587536506, -0.0224141479, -0.0192755256, 0.0093725929, 0.0309025552, -0.0132931462, -0.0018195836, -0.0224317648, -0.063687034, 0.0133839473, 0.0626200065, 0.0332981199, 0.0448385328, -0.0511749275, -0.1098543555, 0.0166442394, -0.0244788527, 0.0276329275, 0.0346275307, -0.0385044664, 0.0276898816, 0.0309013613, -0.0351334698, -0.0221450385, 0.0122177955, 0.019217059, 0.0371382497, -0.0144022256, 0.0383820198, -0.0323478021, -0.0215787347, 0.0211834796, 0.0422971137, -0.0245674271, 0.0089088501, -0.0109737124, -0.0247119144, 0.0469626896, 0.0198697671, -0.0057388102, -0.020957116, 0.0653156862, -0.0254933853, -0.0123054478, 0.0188991427, 0.0103877215, -0.0299619846, 0.090205282, -0.0351951011, 0.0362704471, -5.804630043e-33, -0.0272996314, 0.0105841979, 0.0174360983, -0.0461092889, 0.0141539387, -0.0024664067, -0.0514716916, 0.0103612999, 0.037498977, -0.0301818997, 0.013066343, -0.0104405535, 0.0060217734, -0.0028995741, -0.0281718373, 0.017060006, 0.0570568442, 0.0235784054, 0.0013615877, 0.001452929, -0.0393523797, -0.0736121833, 0.0353803001, 0.0208129548, -0.020041598, 0.0401756205, -0.0425373651, 0.013264182, -0.054340817, -0.0053293793, -0.0738805681, 0.0255584531, -0.0689999461, 0.0354244746, 0.0354239233, -0.0264133587, -0.0046443096, 0.0037093426, 0.0143948775, -0.0228433982, 0.0321048796, 0.0074749389, -0.0056716786, 0.0429445095, -0.0194626544, 0.0172773506, -0.0092810486, 0.012870959, 0.0264086574, 0.0006324617, -0.0375130884, 0.0073115849, 0.0111273332, 0.0055300863, -0.0203433055, -0.0699928328, -0.0496881716, -0.104837209, -0.0042616334, 0.0010550359, 0.0470254607, 0.0341864675, 0.0236344952, 0.0009497287, 0.0048595155, 0.0001904782, 0.0434962735, -0.0352779962, -0.012732666, 0.0377937406, 0.0177046675, -0.0070179394, 0.0005384864, 0.0348103568, 0.0397514217, -0.0582317933, -0.0481527597, -0.03250736, 0.0369256213, 0.0269265231, 0.023341151, -0.0009157046, -0.0461613983, -0.0074606366, 0.0065925475, 0.0814337805, -0.0050731055, 0.0499895439, 0.0166015942, 0.0229004528, -0.1114757955, -0.0084480261, 0.0498290956, -0.012669933, -0.0084425109, -0.014354079, 0.0547646172, -0.0117462035, -0.0342299715, -0.0061454717, -0.001841528, -0.0533291548, -0.0063661933, -0.0773491785, -0.0251709279, -0.0002457142, -0.05519934, 0.0749335438, -0.0413501598, 0.0110667842, -0.00300034, 0.009384199, 0.0119951172, 0.0483483896, 0.0018472761, 0.0491121076, -0.0190562941, -0.0422146022, 0.0003580194, -0.0019275781, -0.0035223949, 0.0191492252, 0.0178930033, 0.0769644305, 0.0012439134, -0.0664572045, -0.0949753076, 0.0372021236, -0.005982093, -0.0688392892, -0.0115480032, 0.0268579461, 2.948e-7, 0.0368017517, -0.0136836283, 0.053671103, 0.0211927537, 0.0025550053, -0.0343861841, 0.0278715529, 0.0081951898, -0.0119982501, -0.0084494352, 0.0138561828, 0.0228135101, -0.0672654286, -0.0169807859, -0.0272494722, 0.0078852568, 0.0005630686, -0.0133145759, -0.0288406946, 0.0139521053, 0.0028159632, 0.0674022436, 0.0171114933, 0.0442935452, 0.0154177612, -0.0029586281, 0.0296865422, 0.0762104839, 0.0359216966, 0.0260687061, -0.0880428031, 0.0008840099, -0.0075025847, 0.0043160473, 0.0090677273, 0.0573522039, -0.0327764191, 0.0425847769, 0.0158339608, -0.041434519, -0.0567088425, 0.015361811, -0.0171111077, 0.0433457009, -0.0083099809, 0.0255768672, -0.0236669909, 0.005868996, -0.031929601, 0.0620745271, -0.0027830561, 0.0239688903, -0.0226086359, -0.0189982727, -0.0107234716, 0.0371528603, 0.0349500217, -0.0121525582, 0.0041188053, -0.0489814058, -0.022724336, -0.0168604869, -0.0433272012, -0.036544688, -0.0350682437, -0.0072236494, -0.0122353872, 2.726829602e-34, -0.0140748098, -0.0242128782, 0.0200945083, 0.0160218924, 0.0161026642, 0.0545047484, -0.0328981802, -0.0325629413, 0.0069723343, -0.0250089094, -0.0873109251 ]
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.0258928519, 0.039835725, -0.0091417767, 0.0649134219, -0.0056425403, 0.0022063476, 0.000192328, 0.0014763215, -0.0071585258, -0.0380723923, -0.0155590735, 0.0105922408, -0.0315860696, -0.0099140611, 0.0190385617, -0.0901682079, 0.0433347225, -0.0077386075, 0.0268569756, -0.0084684361, -0.0093285907, -0.0062745046, 0.0010264975, 0.0152778383, -0.0128761372, -0.0390219055, -0.0267248359, 0.0078777876, 0.0075205932, 0.0298333168, 0.043347232, 0.090606302, 0.0125796897, -0.0128824031, 0.000002049, -0.0275305174, -0.0088115977, -0.0002811188, -0.0541476533, 0.0659331456, -0.0768359751, 0.0286082402, 0.0511140898, 0.0086744577, -0.0465110056, 0.0137999654, 0.0073939031, 0.0194490738, 0.0933275223, 0.0475991219, 0.0137302438, -0.0355529264, 0.022304941, 0.0067931791, 0.02465594, -0.0289880522, 0.0236051753, 0.0222172942, -0.0258674957, -0.0301173534, -0.0314629711, 0.0425766371, 0.0523329303, 0.0064788326, 0.000138029, 0.0247008447, -0.0823042765, -0.0154245915, 0.0023806626, 0.1053619385, -0.0449784845, -0.0219719242, -0.0037077041, 0.0275894105, 0.0083052581, 0.022021858, -0.0369597673, -0.0128839454, -0.0018743697, 0.0137637565, -0.0106959343, 0.0035725168, 0.0049181357, -0.0019504523, -0.0541449413, 0.0316655152, 0.0188066103, -0.0515808053, 0.0052303346, -0.0130400266, -0.0576840565, -0.0545327552, 0.0335906558, 0.0611987785, 0.0307711381, 0.0174591206, -0.0716602951, -0.0462354682, 0.0066250586, -0.0447908379, 0.0075169327, 0.0551448204, 0.0029018552, 0.0523341037, -0.0247711521, 0.0543482304, 0.0135199307, 0.0328187272, -0.0472753868, -0.0334639437, -0.0435148813, -0.0122775463, -0.0729094371, 0.0592034645, -0.0247932915, -0.0189194251, 0.0062817219, 0.0015362833, 0.0073957453, -0.0309485365, 0.0213855747, -0.0012742314, -0.0105988011, -0.0061554471, -0.0208655056, 0.0847604796, -0.0790471137, -0.0311950035, 0.0024441553, -0.0120661296, -0.0605801083, 0.0134071279, 0.0199994575, -0.0284537394, -0.0048514521, 0.0025732999, -0.016930351, -0.0207659099, -0.0270121899, -0.0314699188, 0.0044648289, -0.068051599, 0.0283715893, -0.0640522465, 0.0736814812, 0.0077401306, -0.0274182521, -0.0380456671, 0.0060491753, -0.0083671454, -0.0232188404, 0.0219139848, -0.0318335667, 0.0039475928, -0.0132665001, 0.0418967754, 0.0057913056, 0.0643278286, 0.000053613, 0.0254103169, 0.0241174791, -0.0246604439, -0.0214248747, 0.0153526803, 0.076045461, 0.0098348046, -0.0254011285, 0.0290890727, -0.0216563605, -0.0159760695, 0.0144292889, 0.0354593359, -0.0378764644, -0.0011855686, 0.0217250884, 0.0363197029, 0.0226202179, 0.0385114588, 0.012724895, 0.0230606329, 0.0591681004, 0.039953839, -0.0394946225, 0.0141722998, -0.0243198257, 0.0025446287, 0.0305384584, 0.0639438033, -0.0315656289, -0.0330245607, 0.0032718978, -0.0041957162, -0.0241521671, 0.0355494544, 0.0221996196, 0.0260755662, 0.0002457666, 0.1522287726, 0.0458339602, -0.0534438156, 0.0127684996, -0.0391014777, 0.0030703093, 0.0298156682, 0.0245528836, -0.0536222383, -0.0830765367, 0.0301396679, 0.0161641501, 0.0037986964, 0.0223720223, -0.0150806978, 0.0463440567, -0.0266336352, -0.0352346934, -0.0325333849, 0.0106267771, -0.0496242903, 0.0822210982, 0.0155600989, 0.0228532944, -0.0845444575, 0.0332009867, 0.0144681474, -0.017149305, -0.0340763032, -0.0474046282, 0.030565666, -0.0004712206, 0.0009425147, -0.0012101853, -0.0088945245, 0.0483927354, -0.0264403336, 0.0030549027, -0.0413874388, -0.0573466197, -0.1165958643, 0.049475722, -0.0100594303, -0.0362633131, 0.0340363458, -0.0412972756, -0.0182803497, -0.0052053044, -0.0022009488, 0.1134363785, -0.0060395352, 0.0159493145, 0.0118795559, -0.025094755, -0.0194691587, 0.0727311298, -0.0375525579, -0.0164069384, 0.011881033, -0.0191344023, 0.0046964344, 0.0366300009, -0.0143633997, -0.0007370184, -0.0273557343, 0.0141305458, -0.0030287814, -0.0020671494, -0.0692131892, -0.0295614954, -0.04425098, 0.0070855832, -0.0313569233, 0.0410687178, 0.0432767197, 0.0437481888, 0.0084229298, -0.0172907133, -0.0376206823, -0.0098559177, -0.0408207625, -0.0183293596, -0.0031274441, 0.0012559793, 0.0241412297, -0.0266501382, -0.0292881634, -0.0166287906, 0.0538328774, -0.0507551394, -0.0132492837, 0.0097887842, 0.0013439481, -0.0586530343, 0.0332931764, 0.0201946739, -0.0490057319, -0.013067645, -0.0329347439, 0.0550327003, 0.0598710962, -0.0058101537, 0.0365332253, 0.0367820114, -0.0098364092, -0.0651306957, 0.0726168975, -0.0212651026, 0.0401081443, -0.0016685992, -0.0041882647, 0.0214280616, 0.0698294789, -0.0173695311, -0.0171367135, -0.038710054, -0.0077453326, 0.0088068545, -0.0230545513, -0.0327926725, 0.0244643949, -0.004673705, -0.0037624249, -0.0324647501, -0.0116111543, 0.0787078366, 0.0005521194, -0.0013432987, -0.0419917628, 0.0269755442, -0.0155400569, 0.0512176715, -0.0310694575, 0.0342963263, -0.0336535498, -0.0057879165, -0.0404014811, -0.0154401222, -0.0064291791, -0.0325956866, 0.0460294113, -0.0315408558, -0.0158055015, -0.0115068965, -0.0261955559, -0.0462410189, -0.0345127992, 0.001383357, 0.0367609411, -0.0074503082, -0.0272869598, -0.027481081, -0.0160688832, 0.021917101, 0.0015277034, -0.0029403965, 0.0204554517, -0.0108311046, 0.0816546381, 0.0331314802, 0.0248776171, -0.0081802048, -0.0146794897, 0.0296207722, 0.0646561459, 0.0298086423, -0.0014289567, -0.0134240892, 0.0006100016, 0.0154196378, -0.0323807225, -0.006957537, -0.0003465196, 0.0420508385, -0.0851432383, 0.0160685033, 0.1059600338, 0.0387629718, 0.0260019843, -0.0130108036, 0.0127168652, 0.0681626275, -0.0025549023, 0.0455938987, -0.0627823994, -0.0575410724, -0.0152741633, 0.0130558321, 0.0837790817, -0.0236211922, 0.0079101762, -0.0642252266, -0.027862953, -0.0031390958, -0.0331694819, -0.0576818474, -0.0440395437, 0.0046341908, 0.0460347757, 0.0143947639, 0.015380552, -0.0074829869, 0.0227364041, 0.0110328952, -0.0089890538, -0.0477300398, 0.0305180289, -0.0188169423, 0.0168697853, 0.0360786729, 0.040825177, -0.0034877118, -0.0452685878, -0.0127128111, -0.0100450693, -0.0322509743, -0.0152307339, 0.0619201995, -0.0309830792, -0.0026105645, -0.0161289293, 0.023702709, -0.0297835618, 0.0007246459, 0.0204672199, 0.0969276726, 0.0229954906, -0.0522753708, -0.0313214399, -0.020729918, -0.0056967353, 0.1008781418, 0.0764712617, -0.0306157209, -0.03601899, -0.0086904159, -0.0189885609, -0.0482283011, 0.001780329, 0.0256238058, -0.0313915834, 0.0215599798, -0.036141742, -0.0474802032, 0.0734770298, 0.0073035667, -0.0273008607, -0.0156276878, 0.0246401206, 0.0243425686, -0.047741279, 0.0204914454, -0.0079292478, -0.0123505378, -0.0373082533, -0.0317691378, -0.0314006694, 0.0160460733, -0.0185171217, -0.010053983, -0.0576141402, -0.0455541126, 0.0067304592, 0.0581589229, 0.0130098676, 0.0456921794, -0.0101515176, -0.029522676, 0.0431714468, -0.003409693, -0.0104034534, -0.0022674198, 0.0415433459, -0.0368757881, 0.0210916921, 0.0574702397, -0.0514656119, -0.0007563364, 0.0177261401, 0.0580511056, -0.0443676859, -0.037656974, 0.0152399726, 0.0431432575, 0.0291209966, 0.0369043276, 0.0188088287, 0.0020079606, 0.0360731445, 0.0137760481, -0.011971157, -0.0543746576, 0.0281663388, 0.0087609468, -0.0232766401, 0.022472037, 0.0240698997, 0.0340223238, -0.0153077636, -0.0324177742, 0.0133066662, 0.0000116126, -0.013197423, 0.0783829913, -0.0166424178, -0.0326363258, -0.003783399, 0.0031539381, 0.0058101588, -0.0351097994, 0.0139459725, 0.0388244949, -0.0027977189, -0.0144936489, 0.0221376084, -0.0562807135, -0.0684015602, -0.0317333527, 0.0257100593, 0.0111666825, 0.0043303748, 0.0197930615, -0.0061897878, -0.017206369, 0.0048751277, 0.0065406356, 0.0067163743, 0.0176887512, 0.0200940259, 0.0197500065, 0.007300647, 0.0047869938, 0.1040425152, -0.0189020708, 0.0631244555, 0.0073531391, 0.0075269742, -0.0303575117, -0.0291825756, 0.0276853312, 0.0272271838, -0.0014788697, 0.0335121229, -0.0399407893, -0.0733556598, -0.0197119974, -0.00922151, -0.0222023893, -0.0013975166, 0.0442688651, 0.0532799736, 0.0117456578, -0.0669763908, 0.0045954771, 0.0279722102, -0.0219043083, -0.0228702333, 0.0217575859, -6.539658579e-33, -0.0281785168, 0.0198994316, -0.0033057502, -0.0016530923, -0.0314287096, 0.0320979059, -0.0391026288, -0.0204880107, -0.0596574657, 0.0182535164, -0.0203494709, 0.0423262678, -0.0013029706, 0.0344019793, -0.0380493551, -0.0075463718, 0.053004209, 0.0048477957, -0.0136127798, 0.0342446379, -0.0030191292, 0.0527552105, 0.0659058541, 0.0070490097, -0.0315498896, -0.0227332693, 0.0487191007, 0.020013215, -0.017587265, 0.0226645973, -0.0327494293, 0.0442438871, 0.0071339859, -0.0101808663, -0.0292574763, 0.0205171723, -0.117753163, -0.0765912905, 0.0111922165, -0.0409819447, -0.0779579058, 0.001889565, 0.0413968079, 0.0237840246, 0.0837534294, -0.0411314741, 0.0153012667, 0.0087193269, -0.0183483846, -0.0435858108, -0.0390212014, 0.0086036446, -0.0350078568, -0.0554137565, 0.0244889036, 0.0488678738, 0.003552902, -0.0005068755, -0.0472848974, -0.0131773772, 0.0722717494, 0.0464473665, 0.0392523333, 0.0090792049, -0.0070306752, 0.0327092409, -0.0398404039, -0.0014747207, -0.0185257606, -0.0015404492, 0.0396894887, 0.0864039361, 0.0253853202, 0.0027404148, 0.0558633395, 0.001403377, -0.0698461756, 0.0243023057, 0.0362236425, 0.0318375118, -0.0426333547, -0.0176719092, 0.0046000262, -0.0129722906, -0.0387127586, 0.0279547349, -0.0193502977, -0.0131567167, 0.0202847477, -0.0170423314, -0.0636260509, -0.0093283579, 0.0241223127, -0.0350248851, 0.0326457061, 0.0358098298, -0.0010052116, -0.0044620754, 0.0137452269, 0.0567911677, -0.0672923848, 0.0207541399, 0.0243902877, -0.0295442827, -0.0102292979, 0.045268856, 0.0334094241, 0.0053544505, -0.0201561507, -0.0039010905, -0.0393508598, -0.022366859, 0.0204598233, 0.0181747116, 0.0365337953, 0.0166283809, 0.0049292576, -0.0038624648, 0.0445453078, 0.0086190691, -0.0384959094, 0.0236745253, 0.0316806845, 0.0174814351, 0.010128689, -0.0170788821, -0.0599887632, 0.0152892759, -0.0190189555, -0.0734380782, -0.0068451534, 0.0149350138, 2.618e-7, 0.0670988187, 0.023372177, 0.0330281556, -0.0113340775, -0.002216578, 0.0036368985, 0.0146759944, 0.0100229457, 0.0131201996, -0.0324691534, -0.0046128184, 0.0467858613, 0.0210936535, 0.0208534282, -0.0953201354, -0.0267823599, -0.0428622924, -0.0549879149, -0.0288589373, -0.0462974571, 0.0600299388, 0.0494405068, 0.0332070366, -0.0144891059, 0.0032439053, -0.0129489629, 0.0275273714, 0.0127820522, 0.0240877941, 0.0398301035, 0.0245307889, -0.0213884134, 0.0038817998, 0.0271355733, -0.0324678905, 0.022388801, 0.0057661091, 0.0750940144, -0.0306205004, -0.0391163193, -0.0204674918, -0.0525386296, 0.0035289619, -0.0846217424, 0.0856177509, -0.0454219393, 0.0163697265, 0.0299783479, -0.0470066369, -0.0172691513, 0.0124448976, -0.0034266391, -0.0020826382, 0.0257838219, -0.0043038875, -0.0377863944, -0.0180704538, -0.0850260183, -0.0356422924, -0.0137156723, -0.0270892754, -0.0436706878, -0.0128840022, -0.0773245916, 0.0214843526, -0.0431516171, 0.0164351389, 2.366859712e-34, 0.0035571756, -0.0025899159, 0.0478186086, 0.0456637926, 0.0114011811, -0.0467378683, -0.0469183773, -0.02184055, 0.0056281099, -0.077032119, -0.0281344913 ]
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.0099715153, 0.0791015178, -0.0059953416, 0.0679981411, -0.0147635415, -0.0033084597, -0.0224181358, 0.0018249926, -0.0370303281, -0.0060246736, -0.0067014946, -0.0053988518, 0.0306615345, -0.033001937, 0.0217457172, -0.0320026763, 0.0535693094, 0.0050146757, -0.0187869649, -0.0078919763, 0.0145947179, 0.0221751221, -0.0548560321, 0.0554824062, -0.0350972265, -0.0191958528, 0.0205956921, 0.0303280838, 0.0723994374, -0.0140446462, 0.0318745673, 0.016986236, 0.0184587091, 0.0681843609, 0.000002093, 0.0064681564, 0.0725302696, 0.0152754104, -0.0197088867, 0.0342350192, -0.0058199605, 0.0087017529, -0.0066908626, 0.0288320258, -0.0533155091, -0.0819021687, 0.0338848047, -0.0429343432, 0.0540326163, 0.0891132355, 0.005947059, -0.0389728472, 0.0401719138, -0.0451844409, -0.0027997121, -0.0426771455, -0.009590162, -0.0143879456, -0.0321657285, 0.0003072001, 0.025274165, 0.0277323481, 0.0420711488, -0.0014552848, 0.024580799, 0.0361041911, -0.0216288213, -0.0184269436, -0.0404509082, 0.0356854051, -0.0314495191, -0.0073829829, -0.0204731319, -0.0010044392, -0.0213097353, -0.0509517416, -0.0137413591, 0.0152354455, -0.0152934948, 0.0515530407, -0.0740298331, -0.0670683086, 0.0178169552, -0.0034809778, 0.041469913, 0.0519298762, -0.0059473761, 0.0480008759, 0.0192865841, 0.0197069328, -0.0258329809, -0.0397626795, 0.0099568637, 0.0416052751, -0.0161006022, -0.0068572923, -0.0418671481, -0.0492736809, -0.0188577212, -0.0131801134, 0.0444160476, 0.0472415052, 0.0371092185, 0.0149310678, -0.0530311614, 0.0389923155, -0.0276044477, -0.0227643009, -0.0047409679, 0.0189161021, -0.0589677282, 0.011134075, -0.032422848, 0.033502426, -0.0347397402, -0.0399677604, -0.0648660585, -0.0106260991, -0.0110965213, -0.0356667638, 0.0046803751, 0.0399362631, -0.0650679022, 0.0045971102, -0.0151558258, 0.004670193, -0.0681822598, 0.0165490918, 0.0090651456, -0.0310797077, -0.0322799459, -0.0065931804, -0.0042791395, 0.0111813564, -0.020764051, 0.0376005433, -0.0336908847, 0.0124590471, -0.0674609244, 0.0021255172, 0.0308185071, -0.0303893145, -0.0154227437, -0.0472462662, 0.0123760123, -0.0169347096, 0.0185564812, -0.025030423, 0.015905248, -0.0018941149, 0.0166757349, 0.060478121, -0.019507803, -0.0157651082, 0.0410741083, 0.0005885963, 0.0085457629, 0.120704174, -0.0059869448, 0.0317421407, -0.0254313331, 0.0360380709, -0.0109539768, 0.0285404362, 0.0081153736, -0.0152570847, -0.0086196605, -0.042454496, -0.0143523905, 0.0640985221, 0.0446227193, 0.0421710648, -0.0364411473, -0.0302936118, 0.0276222322, 0.07050284, 0.0103475768, 0.0932553485, 0.05272948, 0.0159129091, 0.0295702592, -0.0216449853, -0.0404231139, 0.035732463, -0.0119368145, -0.0003180876, -0.0348856375, 0.0334886014, -0.0312325712, -0.0222742278, 0.0235767923, -0.001292885, -0.0195790641, 0.0490856692, 0.0105470279, 0.011579317, -0.0605338141, -0.0128566641, 0.0317513347, -0.0459179617, -0.0286126193, -0.0640025884, -0.0174017083, -0.0026403929, -0.0151131498, -0.0549902543, -0.0581700094, -0.0103636058, 0.0158915315, 0.0258260854, -0.0020131294, 0.0185394138, 0.0398743562, -0.0645759925, -0.0105181914, 0.0249950364, -0.0257997029, 0.0609594882, 0.0512020327, 0.0622587875, 0.0250171516, 0.0325066522, 0.0095040454, 0.0455667116, -0.0181515664, -0.0038890694, 0.0636192486, -0.0214001071, -0.0037537289, -0.0090302611, -0.0041523147, -0.0378289148, -0.0002102899, -0.0383929871, 0.0158209577, -0.0050743432, -0.0309602823, -0.050450746, 0.0204523299, -0.0412983112, -0.02218627, 0.1044955775, -0.0327589549, -0.0490222163, 0.0024897975, -0.0250701252, 0.066179134, -0.0737161562, -0.0521459468, 0.005297577, 0.0406962186, 0.0059116795, 0.0148806991, -0.0246976651, -0.0156328045, -0.0153407818, -0.0106410244, 0.0029527778, -0.0463807955, -0.0314964205, -0.0154046789, -0.0133829331, 0.0420985781, 0.0162557755, 0.0137949958, 0.0299042352, 0.0220595561, -0.0903120711, 0.0346584991, -0.0580002666, 0.0117349084, 0.0167371444, 0.002501606, 0.010805537, -0.0068221935, 0.0092959926, 0.1175183281, -0.0662902817, -0.0174892936, -0.0056303702, 0.0001237087, 0.0002515766, -0.0087814294, -0.031966757, -0.0055756895, 0.034349557, -0.013847488, 0.038754981, -0.0299318247, 0.0441732891, -0.0092144068, 0.0233683903, -0.0141186332, -0.0196659919, 0.0032430238, -0.0401780941, -0.0332744531, 0.083505407, 0.0239980277, 0.008283508, -0.0309500489, 0.0395927615, -0.0233095605, 0.0433480851, 0.0013614452, -0.0069460678, -0.0019166683, 0.0014800578, -0.003313679, 0.055748757, -0.0214595944, -0.0115804728, -0.0359472372, -0.0206809845, -0.0159799326, -0.0434746481, -0.0391743667, 0.0564754009, -0.0423847698, -0.0397846326, 0.0024479767, -0.0570605919, 0.0401432328, -0.007165669, -0.0170560665, -0.0142060677, -0.0249887202, -0.0399943702, 0.0304403733, 0.0104157459, -0.0047339061, -0.0189365391, -0.06610284, 0.0153173925, 0.019380765, 0.0454570353, -0.0066975364, 0.0565472282, 0.0002488248, 0.0356578864, -0.0193947144, -0.0614170358, -0.0226126332, 0.0009633483, -0.0057644015, 0.0135304872, 0.0018607187, -0.0728228614, 0.0069060558, -0.0286487434, -0.0143291308, 0.068079181, -0.0515964292, -0.0202393085, -0.0149476267, 0.0380876474, 0.0214882754, 0.0173864681, -0.0305143464, -0.0026558561, 0.0000638622, 0.0059486693, 0.0673316494, 0.0372975804, -0.0957333893, 0.0232084524, -0.0128521733, -0.0038326422, -0.0026287306, 0.0276240204, 0.0227458309, -0.0383721739, 0.0062776981, 0.0618290752, 0.0073679378, -0.0955832377, -0.0326571502, 0.0089343684, 0.0387318507, 0.0416847989, 0.0090132877, -0.0199251398, -0.0427467488, 0.0188662969, 0.0320216045, 0.0229640473, -0.0275329594, 0.012747, -0.0535691977, 0.0034973253, -0.0064366418, -0.083387211, 0.0030509077, -0.023177037, -0.0155982291, -0.0397691131, 0.0031429885, 0.0006554161, -0.0134977316, 0.0165855009, 0.0306834113, -0.0308392476, -0.0111059751, -0.0292101558, -0.0271712001, -0.0039872867, 0.0748686343, 0.0163153913, -0.0109472433, -0.0012130059, 0.0631978959, 0.0218312535, -0.0229759272, -0.0210909154, -0.0172401052, -0.0174799021, -0.0287703257, -0.0305826478, 0.0758366436, -0.0266145635, 0.0437308066, 0.0343526155, 0.071018897, 0.0282552671, -0.0027178235, -0.0283709466, -0.0187815353, 0.0381552838, 0.0181786399, 0.0058943788, -0.0445798226, -0.0468646698, -0.0380942784, 0.0160654932, -0.0412430726, -0.0379335433, 0.0107186558, 0.0624499768, -0.0294180773, -0.0329834558, -0.0226509925, -0.0182539299, 0.0560135208, 0.0015787687, -0.0440182872, 0.0023920173, 0.064179793, -0.0642974302, -0.0035393548, 0.0154689569, -0.0072592241, -0.046422828, 0.0129702343, 0.0558255166, 0.0226577539, -0.0022161731, 0.056468647, -0.0947787017, -0.0644097403, -0.0293975342, 0.0304812696, 0.0116456999, 0.0482441857, -0.0003679459, -0.0316316634, 0.0419071987, 0.0622427352, 0.0211985018, 0.0230739545, 0.0317195617, -0.0412392318, 0.0002549549, 0.0525997616, 0.0028967378, 0.0256789848, -0.0038705447, 0.0543244109, -0.0029511466, 0.0404098555, -0.0008947734, -0.0068847132, 0.0034613903, -0.0142335789, -0.026685847, -0.0190819073, 0.0070484029, 0.0524674468, 0.0400238186, -0.0414810404, 0.035277959, 0.0268030092, -0.0305404086, -0.0098753059, 0.0533530116, 0.1017407775, -0.0202194229, -0.0157089606, 0.0175696313, -0.0193426292, 0.0371347368, 0.0220034644, 0.0215654634, -0.0284817927, 0.0148793748, 0.0287881847, 0.018922722, -0.0372541547, 0.0418978631, 0.0082729105, 0.0117172161, -0.0221953746, -0.0525465123, -0.0499160774, -0.1038203537, -0.0703451484, 0.0251087714, 0.0419773273, 0.0094339857, 0.0103694815, -0.0458476432, -0.0081236223, -0.0215096604, 0.023350222, -0.0535423495, 0.0351977572, 0.0016388358, 0.0151448939, -0.005011695, 0.0213738587, 0.0613761544, -0.0117060272, -0.0055396552, 0.0298558827, 0.0279588979, -0.0476423763, -0.027564805, 0.0290982611, -0.0039062821, 0.0133864516, -0.0105130998, 0.0544230752, -0.0495726056, 0.002380487, -0.0140517829, 0.023795262, -0.0221303571, 0.057895299, 0.0188345574, -0.033320792, -0.0303838477, -0.0164838713, 0.0512597263, -0.03268167, -0.0038887626, -0.0032567747, -5.517316081e-33, -0.007740688, 0.0162611939, -0.0317617841, 0.050106883, -0.0270168558, 0.0317732915, -0.0146674039, 0.001832873, -0.0429406129, 0.0518896617, -0.0002146438, 0.0413974188, 0.0100096511, 0.0452720262, -0.0065119229, 0.0043633454, 0.0420947336, -0.0364010967, -0.0032819153, 0.0644753501, 0.0117275231, 0.0491316617, 0.0364973582, 0.0322695412, -0.0734588876, 0.0119844731, -0.0013905539, 0.0176934823, 0.0169061795, 0.0033466176, -0.0474415794, 0.0344773456, -0.0127032865, -0.069533959, 0.0095894085, 0.0066922791, -0.1002061665, -0.016939491, -0.0391421728, 0.0318141878, -0.0577767044, 0.0209407415, 0.0554903261, 0.0097793872, -0.0662505999, -0.0138776423, 0.0260888916, 0.0196689367, -0.073503606, -0.0460784845, -0.0555691198, -0.0048160022, 0.0007075349, -0.0203865506, 0.052406963, -0.0199208409, -0.0405606739, -0.0176206306, 0.0105358958, -0.0249948371, -0.0378836095, 0.0409578905, 0.0188439842, 0.0633564591, 0.0351619944, 0.0330206603, 0.0764609501, -0.0145075582, -0.0433747023, -0.0274270214, 0.0357764252, -0.0034301726, 0.0103770103, 0.0081723975, 0.023518702, -0.0241776127, -0.0814014748, 0.006901274, 0.0505030192, 0.0478750169, 0.0176442768, 0.0158726983, 0.0014559616, 0.0223336164, -0.0088677891, -0.0522075184, -0.01453353, -0.005546615, 0.0069492729, 0.029605832, -0.0120530957, 0.0095608467, 0.0212096851, -0.0322561748, 0.052097965, 0.0215885229, 0.0125794411, 0.0440535732, 0.0276292041, 0.0385381766, -0.0216093566, -0.0071399058, -0.0546852909, 0.0120905023, 0.0718344301, -0.0334207714, 0.0147251785, -0.0004907729, -0.0433518328, -0.0197076779, -0.0507643782, 0.0391659252, 0.0118357176, 0.0413306318, 0.0472154319, -0.035195183, 0.0333206989, 0.0600487664, -0.0389259607, 0.0186937656, -0.056047406, -0.0139656495, 0.0203561932, 0.0315645561, -0.0101955598, -0.0114067551, -0.0083663659, -0.0398764536, -0.0473820418, -0.0948362723, -0.0221434627, 0.0167510118, 2.592e-7, -0.0367994979, 0.0242257137, 0.0072349967, -0.0182408411, 0.0138989817, -0.0124856578, 0.0081506865, 0.0117589049, -0.0254596472, -0.0433939062, 0.0350778438, 0.0225140061, 0.0734287053, 0.0122107333, -0.0981129706, 0.0161913577, -0.0401500054, 0.0394907445, -0.0147587722, -0.0296388902, -0.0590578094, 0.0549227931, 0.0062955399, -0.0032651999, 0.0572651327, -0.0304757077, 0.0486469641, 0.0131843556, 0.0269003026, -0.0044835676, 0.0035371915, 0.0373991951, -0.0256755743, -0.0316842236, -0.0087753935, 0.0245575197, -0.0022299755, 0.0420855097, -0.0497969612, -0.0450202785, -0.0126335435, 0.0474731922, 0.020030655, -0.0101482319, 0.0383960269, 0.0133870728, 0.0212720707, -0.0360646173, 0.0369896777, -0.0103390832, 0.035361819, -0.0589010157, 0.0372011773, 0.0007870012, 0.0271669123, -0.0126968473, -0.0559464432, -0.1063624024, 0.0339823999, 0.0983070135, -0.0958030075, 0.0071356455, -0.0654080287, 0.0314775556, 0.0266364235, 0.0114566945, -0.0079670567, 1.777293161e-34, 0.0186730828, -0.0197422206, 0.0189642478, 0.0416428372, -0.0094528133, 0.0096746432, -0.047252927, -0.0009695195, 0.0077667097, -0.0252088085, -0.05093183 ]
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.0227355249, 0.0773990452, -0.0248206705, 0.0430012122, 0.0000958681, 0.0199258961, 0.0422604792, 0.0112243174, -0.0019190928, -0.0364650749, -0.0905067325, -0.0420491844, 0.0274567995, 0.0458361059, -0.007735102, -0.0603025146, 0.0213956535, 0.0348266102, 0.009422156, 0.0252542719, 0.0809402764, 0.0277883168, -0.0511436723, 0.0498093627, -0.0751590878, -0.0198262576, -0.0598982014, 0.0540426373, 0.0059960764, -0.0356761552, 0.0055085388, 0.0387837328, 0.0658275485, -0.0037603779, 0.0000020345, -0.026186021, 0.0144137982, -0.038724117, -0.0145752169, -0.0222829171, 0.0300828572, -0.0038224566, 0.0038462919, -0.0105260955, -0.0269645434, 0.0078891823, 0.0567232631, 0.0693050399, 0.0790461525, 0.035024073, -0.0395740457, -0.0013414117, -0.0018824886, -0.0073487465, 0.0131997894, -0.0479060337, 0.0070703318, 0.0245990176, -0.0243900344, -0.0326076373, -0.0638971701, 0.0172762796, -0.0030047179, 0.0117134787, -0.0217234492, 0.000559808, 0.0077849175, -0.0767769963, -0.0210282877, 0.123343803, 0.0247999243, 0.0314569958, -0.0130883064, 0.0030887462, -0.0139132766, -0.0142804226, -0.0394779146, 0.003192598, -0.0045288946, 0.0087777199, -0.0348279104, 0.0230259001, 0.0127222044, -0.0010351397, 0.0265416969, 0.0027467527, -0.0337750204, 0.0154726794, 0.0276369248, -0.0264837891, 0.0018628627, -0.0211018696, -0.0042036907, -0.0079583097, -0.0298874173, 0.0307977628, -0.0524517931, -0.020271793, -0.0103551485, -0.0234192554, -0.0112349642, 0.015786916, -0.0544173121, 0.0625540912, 0.0475844592, -0.0013935282, -0.0147809321, -0.0475209318, -0.0202237889, -0.033528816, -0.0556134805, 0.0039329082, -0.0140181147, 0.0095876567, -0.0297229774, -0.061880447, -0.0574799478, 0.0093683824, -0.0294891838, 0.0024628986, -0.0113383634, 0.021878073, -0.024724653, 0.0219555926, 0.0059669255, 0.0532136559, -0.039883174, 0.0542491786, -0.010551977, -0.0840233713, -0.0026385647, 0.0382502042, 0.031915985, -0.040009819, 0.0128184352, 0.0475112349, -0.0166917257, -0.0414754376, 0.0002730479, -0.0501550734, -0.034637969, -0.0281762592, 0.0208751485, -0.015995862, 0.0605160445, -0.0267678145, 0.0100751491, -0.0345871001, 0.0058518453, -0.0340788811, 0.0002218963, 0.0831292272, -0.0260122847, -0.0268128607, 0.0017160517, 0.0368063487, -0.0158623997, 0.0538722314, 0.010031037, 0.0616525635, 0.0457911156, 0.0036211822, 0.0122961858, 0.028180236, -0.0003653417, -0.0282584876, 0.0153748402, -0.0237685535, -0.0128525076, 0.0606443994, 0.0465208068, 0.0184639171, -0.0498376265, -0.0478086323, 0.0461523384, 0.0326527357, -0.0069962093, 0.018828189, -0.0196322035, 0.009072586, 0.0084328428, -0.0206888095, -0.0158618297, 0.0589564703, -0.0097654341, -0.0426424891, 0.035165824, 0.0039238669, -0.0468157455, -0.0372436345, 0.0170962103, -0.0221948214, 0.0200463738, -0.0027719913, 0.0392694399, -0.0083922287, -0.0214362089, 0.0385611765, 0.0028746966, -0.0498262458, -0.0156890173, -0.0135497069, 0.0109421024, 0.0439956598, 0.0320523269, -0.0455005057, -0.0168484822, -0.0237825289, 0.0144411772, 0.007504324, -0.0054189689, 0.0022467282, 0.0937170312, -0.0791923404, -0.0321856439, -0.0047585303, -0.0086065903, 0.0243847892, -0.0311943181, 0.0064826449, -0.0135679543, -0.0088715367, 0.0585462376, -0.0065115909, -0.0146136759, 0.0242491402, -0.0312562846, 0.0292686149, 0.037308272, 0.0393894613, -0.0202073175, -0.0398422703, 0.0253000204, -0.0201593358, 0.0024651755, 0.0609221011, -0.041154895, -0.038443353, 0.0267801434, -0.0712677911, -0.0425070822, 0.0429822542, -0.0446006693, -0.0324068144, 0.0414354578, 0.0082088355, 0.0167588964, -0.0643236339, -0.0298142154, 0.0114135304, 0.06656304, 0.0400278457, 0.002790208, -0.0254209843, -0.0233622622, 0.0069832085, -0.0116195111, 0.0365431495, -0.013925001, -0.067667447, 0.0197147001, -0.0282850228, -0.0035942527, -0.0015416722, 0.0029521189, -0.0756383836, 0.0081446646, -0.1170812622, -0.0139461579, -0.0007506232, -0.0435831361, 0.0050763367, 0.0425811149, -0.0041283555, -0.0190640315, -0.006684545, 0.0560919568, -0.0026512258, -0.0035157965, 0.0222926289, -0.0052397074, 0.009727994, -0.0601035766, 0.0111675831, 0.0163089074, 0.047367204, -0.0194446556, -0.0289991703, 0.0114902686, 0.0152016375, -0.0459208898, 0.0611988939, -0.0343269706, -0.0841133818, 0.0346306562, -0.0233699065, -0.0117532611, 0.0494807288, 0.0142276036, 0.0645899996, 0.0115331085, -0.0349426977, -0.0485041328, 0.0297721587, 0.0095337471, 0.0404943861, -0.0388011485, -0.0418673679, -0.0329237282, 0.050327681, 0.021120647, 0.0390182547, -0.0494780578, -0.0507753193, 0.0400539376, -0.0647402778, -0.0405151956, 0.0051798155, -0.0130632827, 0.0233286228, -0.0060197501, -0.0350622013, 0.0346785076, -0.0019775189, -0.0433553122, -0.0114043877, -0.0012645276, -0.0083283707, 0.1127206534, -0.0489660688, 0.0125642018, 0.0078967866, -0.0125748441, -0.0340919197, -0.0102062924, 0.0077649965, -0.0224799383, 0.012290271, -0.0372868963, -0.0237884186, 0.0212563314, -0.0230390579, -0.0123194288, -0.0301153716, -0.0489729755, -0.0361494757, 0.003546319, -0.0153554911, -0.0008713999, -0.0223511476, 0.0514683612, -0.0366692618, 0.0292011835, 0.0011904046, 0.0001275771, 0.0524376817, 0.0641822219, 0.0268365704, -0.0410263538, -0.0111353034, 0.0353964791, 0.0744929016, 0.0126075959, -0.0256497841, -0.0335278288, 0.0334522948, 0.0096940845, 0.0830394551, -0.024837628, -0.015617596, 0.0455969349, 0.0141296852, 0.03385159, 0.0910515636, 0.0112902997, -0.0650126114, 0.0041599032, -0.0094420193, 0.0087171597, 0.0173327737, -0.0195437316, -0.1019689739, -0.0877921507, 0.006320734, -0.0088965315, 0.0300868973, -0.021392718, -0.0139589226, -0.0678470284, 0.0004021456, -0.0251013059, -0.0262644589, -0.0250604749, -0.0102106454, 0.0281918664, -0.0119017493, 0.0033930868, -0.019717887, 0.061483413, -0.0177819878, 0.025173353, -0.0231380276, -0.0521520004, 0.0505403318, -0.0130225597, 0.0699809417, -0.008085615, 0.0755302832, -0.0092335818, 0.0020680171, 0.0477259643, -0.0000124444, -0.0084218746, -0.0325003825, 0.0742477551, -0.0230614971, -0.0169971269, -0.0223667119, 0.0316832587, -0.009660718, -0.0225142129, -0.0131034693, 0.0377895497, -0.0632895753, 0.0207865834, -0.0287162047, 0.0257654097, 0.0414329991, 0.0601932071, 0.0335952789, -0.0633806586, -0.0005082135, -0.0185120422, 0.0092398087, -0.0258816686, 0.0027801369, 0.0052693863, 0.010937877, -0.0273127891, -0.0371625163, -0.0613993034, 0.0046629487, 0.0259182435, -0.0152150076, -0.0071870782, -0.0023520743, 0.0267408825, -0.0286849141, 0.0420209356, 0.0257296525, 0.0160564911, -0.0019997121, 0.0001472289, 0.0080653084, -0.0527310111, 0.002727804, 0.050353948, -0.0307814609, -0.0223932695, -0.0028374402, 0.0487773046, 0.0194416251, 0.0432971828, 0.0356955193, -0.0525953658, -0.0350490212, -0.0009245353, 0.0097508533, -0.0062618176, 0.0320048369, 0.0522803999, -0.0091019394, 0.0286730044, -0.0376360044, 0.0234814938, -0.0083072837, 0.0221771207, -0.0466287509, -0.0697120428, -0.0128117036, 0.0013679609, 0.0436007716, -0.0013982825, -0.0209264662, -0.0533652604, 0.0024954784, 0.0090175821, 0.0181142595, -0.0701580718, 0.0011730751, 0.0067625591, -0.0065538622, -0.0511705354, -0.0195397977, 0.0111694057, -0.0065017706, 0.0019185892, 0.0149857076, 0.049781099, 0.0044636759, -0.0444137901, 0.0070767468, 0.0060031302, 0.0180169586, -0.0041349982, 0.0007468655, -0.0052091889, 0.0808910653, 0.024250472, -0.0426189117, 0.0277387146, 0.0609300397, 0.0070197391, 0.0149449678, 0.0200641602, 0.0142333899, 0.0553124435, 0.0071890927, 0.0382430851, -0.0212669317, 0.0441746302, -0.0051333578, 0.0979964063, -0.0266906489, -0.0638946965, 0.0547696762, -0.0120737087, -0.0181591455, 0.0123896915, 0.0474265255, -0.0817216113, 0.0399463736, -0.0066217715, -0.0003709627, -0.0552921742, 0.0086230561, 0.0758583695, 0.0210705753, -0.0020665373, 0.0117321899, -0.0259057377, -0.0418357477, 0.012797066, -0.0202738661, -0.0062571364, 0.0048586363, 0.056055475, 0.0473858453, -0.001283448, -0.0009306239, -0.0133010941, -0.0050210902, -0.064145945, -0.0211939737, -0.0153752817, -5.913586614e-33, 0.0110011268, 0.0095597114, -0.022406375, -0.0233770851, -0.0317121334, 0.0298404489, -0.0293326266, 0.0022564747, -0.0359345004, 0.0187565126, 0.0078682275, 0.0383992568, 0.0001136223, 0.0297279563, -0.0156839844, -0.0084217256, -0.0076594111, -0.0202478655, 0.0083995583, 0.0251461677, 0.0593744516, 0.0408183113, 0.0677325204, -0.0841511264, -0.0170030743, 0.0404930487, -0.0516124181, 0.0181416087, 0.0491916686, 0.052405525, -0.0206198208, 0.0568708703, 0.0042378609, -0.0089555569, 0.0094030285, 0.0181962587, -0.0613594986, -0.0044544861, 0.0146985287, 0.0342444256, -0.0730450898, 0.0204909779, 0.0092784408, 0.008515914, 0.0139042158, -0.0312927328, 0.0411965847, 0.0098135918, 0.0331773311, -0.0222928897, 0.0031638928, 0.0125738531, -0.0541314259, -0.0503733493, 0.0262210853, 0.0737487525, 0.0181280877, -0.0243787989, -0.0756365657, 0.034603212, -0.0878365263, -0.0117899794, 0.0359484777, 0.0103046335, 0.0142808584, 0.089702256, 0.0404882059, -0.0155713838, -0.0120355859, 0.0265851915, 0.0336639769, 0.0585707091, -0.0241468586, 0.0703149512, -0.01370099, -0.0101200528, -0.0274485108, 0.045357164, 0.043787349, 0.0401434153, 0.0192161482, 0.0211285818, -0.0054142405, 0.0178760514, -0.0213955231, 0.0111866863, -0.0306542143, -0.0185022391, 0.0159744974, -0.0205275677, 0.0088789472, -0.017663274, 0.0696886405, -0.0304404255, -0.0043997089, 0.0684027225, -0.0220991727, 0.0623893216, 0.0221581422, 0.0161751639, -0.0110964868, -0.0157662202, 0.0532739833, 0.0010905949, 0.0722866431, 0.008910222, -0.0028214606, 0.0197690614, 0.0117664943, -0.0381309688, -0.027494235, 0.0156928971, -0.0398585387, -0.0039563472, -0.0055384906, 0.0268183053, -0.0677841008, 0.0071909423, 0.0022664308, 0.0607047155, -0.0260769427, -0.089006789, 0.0027583379, 0.013767032, -0.0365778431, 0.003919478, -0.0283015389, -0.0873121172, 0.0126207592, -0.0444256291, -0.0215214919, 0.0158456154, 2.759e-7, 0.0023833581, 0.0117296912, 0.0180215463, 0.0164131038, 0.0380850472, 0.0762320161, -0.0221830755, 0.0402032807, -0.0056020902, -0.0502127521, 0.0610885546, 0.0332403928, 0.0476435684, -0.0198509246, -0.0374968126, -0.0374752209, -0.0096056825, -0.0084255962, -0.0261281971, 0.0371966325, 0.102019906, 0.0777788237, 0.0178045556, -0.0119304853, 0.0262672715, 0.0381181613, 0.0357279591, -0.0572686493, 0.0060682399, -0.0235209167, 0.0159561746, -0.0390250385, -0.0187870264, -0.0118400957, 0.0087571908, -0.0394698009, 0.0234994851, 0.0308804959, -0.0168396328, -0.1003573313, 0.000715949, 0.0540557355, -0.0441236608, -0.0247766171, 0.0431469232, 0.0143479006, -0.0664869249, -0.0105617959, -0.0191392861, -0.0073406217, 0.0147125321, -0.0014550249, -0.0354347154, 0.0130413268, 0.007120729, -0.0417812765, -0.0305353124, -0.0949551687, 0.0042960756, 0.0054944088, -0.0798175931, -0.0131905712, -0.0422565639, -0.0142563824, 0.0551290363, -0.0468974821, -0.0255014915, 1.533903726e-34, -0.001817114, -0.0183228701, 0.0151380124, 0.0041113226, 0.0342570171, -0.0187296513, -0.0401666574, 0.0072248117, 0.045337148, -0.0560880154, -0.0184160583 ]
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.0092790602, 0.1227939576, -0.0243525803, 0.0417285375, -0.0369580612, 0.0240244009, -0.0049250936, 0.03583562, 0.0025521414, -0.0262067243, -0.0177754182, -0.0236454681, -0.0056819133, 0.0550565906, 0.0178777445, -0.0211600121, 0.0342269875, -0.0418071933, 0.014348601, 0.0052311383, -0.0022789997, 0.0168590602, 0.0144466553, 0.0200700462, -0.0111758495, -0.0026917958, -0.0146923522, -0.0068678553, -0.034942165, 0.0072024157, 0.0082151927, 0.0707567558, 0.0423084758, 0.0412273407, 0.0000019084, -0.0066840518, -0.0216452219, 0.0051941499, -0.0195169151, 0.0229499079, 0.0363427885, -0.0439298749, -0.0066503952, 0.0213131756, -0.0303206109, -0.048760362, 0.034846779, 0.0451386273, 0.0428081192, 0.0759035423, -0.0050398731, -0.0542412773, -0.0279861297, -0.0478052758, 0.0140192239, -0.0413718484, 0.0301585607, 0.0130746132, 0.0035416249, 0.008338429, -0.0085497713, 0.0224600434, 0.0247384738, 0.0029565028, -0.0850473419, 0.0331194699, -0.0526371039, 0.0410341471, 0.024719283, 0.071971789, -0.0174734443, -0.027790321, 0.0184293706, -0.0386070833, 0.0007029141, -0.0249483101, -0.0346946456, 0.0257780198, -0.0155266989, 0.0396115482, 0.0329837091, -0.0397680104, 0.0354711041, -0.0022303406, -0.0499577597, 0.08575885, 0.00013448, -0.0155071784, 0.0011253323, -0.0015555215, -0.0014016416, -0.0347252153, -0.0164559036, 0.0330098793, -0.0652925149, 0.0282047335, -0.0231054667, -0.000249632, 0.0151697677, -0.0267356168, 0.0139559843, 0.0265607238, 0.0206266772, 0.0543107018, -0.0097222775, 0.0290709976, -0.0361327045, 0.0072007109, -0.0385672227, -0.0448483303, -0.0553285703, 0.0038682718, -0.0322747752, 0.0194473881, -0.0661628619, -0.0134552075, 0.0028308944, -0.0023735308, -0.015489636, 0.0386316441, 0.0271445196, -0.0167158842, -0.0394006632, -0.0217117574, -0.0263151098, 0.0306697506, -0.0085500274, 0.0218298398, -0.0308338944, -0.0502525009, -0.0033795969, 0.0134070972, 0.0122111272, -0.0202480946, 0.0273391288, 0.0719637573, -0.0136982258, -0.0105891945, -0.0460243374, -0.0319317952, -0.0288840886, -0.0939265713, 0.0000480223, -0.0624071993, 0.0346216075, -0.017805323, 0.0176703949, -0.0629234314, 0.0088537233, 0.0287579969, -0.0394195616, 0.0709598064, 0.0072125755, 0.0187203549, -0.0094582122, -0.0038975123, 0.0070806541, 0.1053153351, 0.0293813832, 0.0063291113, -0.0143435718, -0.0461351909, -0.0349801369, 0.0576759912, 0.0603071637, 0.0406962633, -0.0402968191, 0.0381935425, -0.0169408005, 0.022418201, 0.0381906107, 0.0577942245, -0.0118237715, 0.0163689218, 0.0281860959, 0.0282453988, 0.0117988242, 0.0506189056, 0.0259115025, 0.0332139879, -0.0072569363, 0.0219031554, -0.0452888496, -0.0019325125, 0.0378510654, 0.0053131548, 0.0273798481, -0.0169948135, -0.0323579423, -0.0359990895, -0.0083718281, 0.0164993554, 0.002293692, 0.0491048433, 0.0383950695, 0.0214880127, -0.0366232432, 0.0342752784, 0.0214010999, -0.0360236689, -0.0281756781, -0.0631221831, 0.0547358543, 0.0362106264, 0.0292670745, -0.0560456514, -0.0270884819, -0.0056607826, 0.0185762811, 0.0159357395, -0.0030882354, -0.036526937, 0.0244025439, 0.0024204717, -0.0225287173, 0.0060543041, 0.0415576398, -0.0204722099, 0.0306864977, -0.0094712377, 0.0254502669, -0.0443728454, -0.0245363954, 0.0383877866, 0.0047332225, -0.0417462587, 0.0297964551, -0.0077326405, 0.0547030866, -0.006512966, -0.0077021071, 0.0184907224, 0.0381228589, -0.0290741213, 0.039592728, -0.0405758955, -0.0068294466, -0.0440453216, 0.0364825204, 0.0143376226, -0.02834801, 0.0173661131, -0.0736751929, -0.0475080349, -0.0166495573, -0.044749368, 0.0105137732, -0.0379397199, -0.0189978573, 0.0102317566, 0.020960601, -0.005232146, 0.0621108748, -0.002874522, 0.0272665136, 0.0331458673, -0.0475084186, 0.0151380468, -0.0606670678, 0.0198375639, -0.0086041987, -0.0042882925, 0.0212680325, 0.0237429179, 0.0325551629, -0.037994761, 0.0034119394, -0.0564398021, 0.0266167019, -0.0451406762, 0.0262736958, 0.0196423642, 0.0148175452, -0.0167721752, -0.038660381, -0.0568141341, -0.0108555648, 0.0348976851, 0.0267095938, 0.0321949162, 0.0061441897, -0.0429575853, -0.0413151309, -0.0224960521, -0.0163287949, 0.0261758156, -0.0360952877, -0.0363765992, -0.0462552123, 0.0307458006, -0.0152183706, 0.0452400036, -0.0055815768, -0.0045399694, 0.0055135265, -0.0326578058, 0.0140831443, 0.0502862856, -0.0488141961, 0.0188606959, 0.0483872704, -0.0265344102, -0.0441892184, 0.0320898518, -0.0182227548, 0.0070689064, -0.0271788351, -0.0400904529, 0.0195650999, 0.0620199516, 0.0012265567, -0.0032775661, -0.0660088211, -0.0037927644, 0.0296762083, -0.01319128, -0.0654321611, 0.0387898833, -0.0049382066, 0.0265636109, -0.0129989907, -0.0406697914, 0.0382149071, -0.0461681373, 0.0234640241, -0.0177540164, 0.0019179273, -0.0566986166, 0.1050654799, 0.0490885526, -0.0040553287, -0.0326727629, -0.029804837, -0.0571785085, -0.0153640714, 0.0096185217, -0.0309334081, 0.0711785853, -0.0752544925, 0.0377192311, -0.0115374448, -0.0499258116, -0.0221146531, -0.0097125582, -0.0439197607, 0.0423233882, 0.0289527774, -0.0116562406, -0.0270299166, 0.0004436622, 0.0027152786, 0.0698052123, 0.035978429, 0.0126267811, -0.0277709588, 0.0048970059, 0.0586011633, 0.0138534429, -0.0215179231, -0.0262889639, 0.0171343219, 0.0372961387, 0.0211477689, -0.0158580169, -0.0295289904, 0.0042293197, 0.0068165828, -0.0303325299, -0.0112257944, 0.038023036, 0.0092617348, -0.0894854739, -0.0225811489, 0.0877189636, 0.0074197524, -0.0125578307, 0.0006383513, 0.0356511511, 0.0680291653, 0.0051722857, 0.0543448292, -0.1105304286, -0.0477731004, 0.0116701378, -0.0132901035, 0.0307986848, -0.0431348532, -0.0354674719, -0.1270879507, 0.0581534989, -0.0146972984, -0.0808767676, -0.047760319, -0.0463461988, 0.0062551736, -0.0454155877, 0.0156058734, 0.0252230056, -0.0375942029, 0.00573448, 0.0052385568, -0.0115997335, -0.0485311225, 0.0174768902, -0.0238700286, 0.0515513718, 0.0377385877, 0.0213379078, 0.0090945074, -0.0225608144, 0.0454225279, 0.0066509899, -0.0123475203, -0.0227773804, 0.0504299998, 0.0017790988, -0.0110399034, -0.0157022178, 0.040826045, -0.037681438, 0.0025418354, 0.0154691041, 0.1049525514, -0.0226796642, -0.0161229167, -0.0005299167, -0.0276388377, 0.0258981381, 0.0798417181, 0.0379126482, 0.0095151681, -0.062026877, -0.0207909998, -0.0504835434, -0.0244736243, -0.021531757, 0.0266424622, -0.0278131794, 0.010263443, -0.0322003998, -0.0057963002, 0.0596681647, 0.0083499532, -0.0307585169, 0.0788755789, -0.0099290721, -0.0072212406, -0.0483586416, 0.0075002946, -0.0789036378, 0.0305269323, -0.038497299, -0.0363687389, -0.0033513964, 0.00365171, -0.0167811997, 0.0109797651, -0.1075499728, -0.0392176844, -0.0181011762, 0.0200709347, 0.023587836, 0.04316888, 0.0058015035, -0.0161747951, 0.0046264809, 0.0067845704, -0.0774226636, -0.0205786042, 0.0043160929, -0.0324041285, -0.0048962198, 0.0775893629, -0.0297197383, 0.0191565175, -0.0013825331, 0.0427343324, 0.0046159215, -0.0086730141, 0.0295582488, 0.0354925543, 0.0169496983, 0.0116636064, -0.0463175848, -0.0267769787, 0.031787388, -0.0183588639, -0.0357413553, -0.0247565135, 0.0369940326, -0.000853958, -0.0132913953, -0.0283012744, 0.0070844917, -0.0085722581, 0.0419940688, -0.0448173098, 0.0188220236, 0.0449070111, -0.0290248115, 0.0617286861, -0.0279862527, -0.0071451152, 0.0227397922, 0.0304371733, 0.038697172, -0.0083739571, 0.0085841808, 0.0348541029, 0.0154510485, -0.0609120391, -0.0012906556, -0.0358840786, -0.0628652573, -0.0078708213, 0.0019277963, 0.0342290439, -0.0312908366, 0.0322761498, -0.0196326375, -0.0199266039, -0.0200283546, 0.0387792625, 0.0132798608, 0.0030811941, 0.0588267967, 0.0126969907, -0.0333111994, 0.0034011474, 0.1138147265, 0.0838071406, 0.0403790474, 0.0181817617, -0.0141780851, -0.0442212671, -0.050996881, -0.0016944363, 0.0031082621, -0.0309653133, -0.0049597002, -0.0145454518, -0.0814458728, -0.0382133946, 0.0040095304, -0.0356409699, -0.0044858404, 0.0197991412, 0.0502403118, 0.0381605439, -0.0221540518, -0.0461893156, 0.0101165799, -0.0034507527, -0.0465470739, -0.0140414098, -5.96747605e-33, -0.0255779084, -0.0411378406, 0.0544369668, 0.0007257298, -0.0131891919, 0.0064510601, -0.0491642654, -0.0314847231, -0.0059148017, 0.0275180861, -0.0317758881, 0.0568486527, 0.0160508137, 0.0199497268, 0.0063342839, -0.0400400795, 0.0398790799, -0.0006076086, -0.0023722381, 0.0423688889, 0.0334836505, 0.0081591122, 0.0373255871, -0.0220286939, 0.0138264252, 0.0215907991, -0.003132785, 0.0124499369, -0.0297848303, 0.0453848168, -0.0322503373, 0.0279977731, 0.0445615612, -0.0511848815, -0.0243477337, 0.0385842994, -0.0963594615, -0.0179204475, 0.0225893613, -0.0004871203, -0.0076065087, -0.0282836389, 0.0297731943, 0.0013879009, 0.0073079634, -0.0258538332, -0.004362931, -0.0463136509, -0.0200498104, -0.0222819559, -0.0448526703, 0.0477857813, 0.0170676261, 0.0125970673, 0.0516132079, 0.0199949928, 0.0098563321, 0.0059412634, -0.0213127695, 0.0204133224, 0.0161486436, 0.0646394864, 0.0493988581, -0.0036385867, 0.0041024522, 0.0210016482, -0.0062310863, -0.0061780331, -0.0398214497, 0.0058991322, -0.0063268216, 0.0704488829, 0.0308731757, 0.0449453369, 0.025282111, -0.0011241706, -0.1245487109, 0.0289670546, 0.0037767775, 0.0557071716, -0.0102800811, -0.0045498186, -0.014304867, -0.0307187196, -0.0504209772, 0.0142156612, -0.0170059334, 0.0065900055, 0.0320070945, 0.0045300247, -0.0139701925, -0.0151041737, 0.042429544, -0.0435452573, -0.0475501567, 0.0380964242, -0.0223480854, -0.0416117832, 0.0176647846, 0.0444778651, -0.0708355308, -0.0410178527, 0.0245317798, -0.0289806407, 0.0231668949, 0.0074313153, 0.0468431525, 0.0320352316, -0.0844292417, -0.0056711338, -0.0472909696, 0.0211692341, -0.029802639, 0.0560451299, 0.0368981101, 0.026131697, 0.0418932512, 0.0609227903, 0.0278461743, -0.0226451606, 0.0100889849, -0.0034423191, 0.0044565122, 0.0040785163, -0.0268206019, -0.0082241939, -0.0469978936, -0.0038041908, 0.0365138911, -0.0219667051, -0.0014667594, 0.0344540179, 2.458e-7, 0.0821901709, 0.019572176, 0.01324475, 0.0497631691, 0.0312219486, 0.0082021439, -0.0199121237, 0.0050458843, -0.0260888059, -0.0107632913, 0.0316386893, -0.0042778421, 0.062623024, 0.0301210564, -0.0672798306, -0.0074989605, -0.049081672, -0.0241314936, -0.0694265068, -0.012364096, 0.0184309669, 0.1361831725, -0.0389834158, -0.0409608483, 0.0189677048, -0.0097245174, 0.0335180387, -0.039399974, 0.0079000527, 0.0215934888, -0.0013123073, 0.0122733051, -0.0027491974, 0.0338781551, -0.0103365174, 0.0231979433, -0.0464343913, 0.0970349535, 0.0339574181, 0.0373163074, 0.0135449562, -0.0611577295, 0.0262292121, -0.0477559343, 0.1098078936, -0.047959812, -0.0172090344, 0.0244868714, 0.0025167286, -0.0250077564, -0.0057487427, 0.0001403934, 0.0005549041, 0.0190746002, 0.0363991223, -0.0231710766, -0.0124720484, -0.0540082008, -0.002569397, 0.0059116757, -0.0477526821, -0.0156558882, -0.0296375584, -0.025858881, -0.0061090114, -0.0671666637, 0.0059347027, 2.425255149e-34, 0.0342150703, -0.0091690877, -0.0035030693, 0.0284733493, 0.0581524819, -0.0277356356, 0.0030055165, 0.0146516142, 0.0135281198, -0.099364683, -0.0239965338 ]
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.0125903422, 0.0518460609, -0.0237934981, 0.0078937477, -0.038114503, -0.0125413472, -0.0393964313, -0.0147482669, 0.0350657515, -0.0378817618, -0.0106647443, 0.0110819684, -0.0097388467, 0.02838674, 0.0297263749, -0.0030060019, 0.0467182398, -0.0002134945, -0.0537489727, 0.0137222921, -0.0331915431, 0.0268438496, 0.0263674445, 0.0505182147, 0.0471735038, -0.0064518782, 0.0054607, 0.0315435342, -0.0106007298, -0.0324961618, 0.0030190996, 0.0310525522, 0.040075969, 0.051316198, 0.000002332, -0.0769264251, -0.0191093851, 0.0364359207, -0.0011881238, -0.0056490819, 0.0183140282, 0.0248226896, 0.0167433247, 0.0261144843, -0.0366513319, -0.0299181025, 0.0420207269, -0.0525424741, 0.0676369667, 0.0801619962, 0.0237050317, -0.0354824737, 0.0133603131, 0.0370690934, -0.0005705482, 0.0006209911, -0.0011580972, 0.0523278527, 0.0330868214, -0.0110652167, 0.0264176708, 0.0329625979, 0.0304202754, 0.0163626112, 0.0238312706, 0.0132580567, -0.0558104292, -0.0147089213, 0.0150634721, 0.0019280413, -0.0380909033, -0.0751323849, 0.0265250038, 0.0022535063, -0.0050169635, -0.0514399186, -0.0455500558, -0.0071809082, -0.005090904, -0.0174679365, 0.0421625003, -0.0382640511, 0.0190620385, -0.0205235519, 0.0148472991, 0.0142513653, 0.015163525, -0.0133997137, -0.0331752561, -0.0378632322, 0.0317738205, -0.0157718156, -0.0001174625, 0.0384626538, -0.0319500081, 0.009453347, -0.0222485103, -0.0851626322, 0.0385344587, -0.0260669347, 0.0231226757, 0.036834605, -0.026515495, -0.0474614911, -0.0446991175, 0.0569031499, 0.0310985371, 0.0054242951, -0.0245574284, 0.0384252034, -0.0730387643, -0.0248707067, -0.0742617771, 0.077004008, -0.0044764406, 0.0389882475, -0.022070067, 0.050413318, 0.0142801413, 0.0289848521, -0.0255262107, -0.0017540859, -0.0418888852, -0.005274531, 0.0197362788, -0.019403927, 0.0063041924, -0.0493054353, 0.0216940679, -0.0774061754, 0.0000243161, -0.0026736162, 0.0002392171, -0.0117723634, 0.0181880668, 0.0844445974, -0.0164827406, -0.0142140873, -0.0503902882, -0.0619370528, 0.0502496362, -0.0166081861, -0.0117521985, -0.1083127335, -0.024568703, 0.0336777568, -0.0344520099, -0.0787109509, -0.0019035506, 0.0227053817, 0.0215340368, 0.0274607576, -0.0646096915, 0.0230324063, 0.035722021, -0.0187387671, -0.0249679424, 0.0345820002, 0.0069774631, 0.0004377152, 0.0060918643, -0.0297296084, 0.0193638112, 0.0026564978, -0.0316062123, -0.0167582594, -0.0252630394, 0.0488662086, -0.009703625, 0.0144622279, 0.0185416434, 0.0256708395, -0.008712153, 0.0256360509, -0.0184316747, -0.0021565179, 0.0417264625, 0.0388513431, 0.094189398, 0.0880442709, -0.015913358, -0.0194449648, -0.0461314768, 0.0141714504, -0.0244155005, 0.0405507833, 0.0225722548, 0.0430956818, 0.0219968166, -0.0761035234, 0.0182786696, -0.0151697369, 0.0003805141, -0.0029782976, 0.0491775423, 0.0336216688, -0.0641948134, 0.0215644445, -0.0016499831, -0.0741012692, -0.0315855071, -0.0712087676, -0.0269610528, 0.0434222557, 0.0835395157, -0.0242100097, -0.0536319204, 0.0010365784, -0.0124260904, -0.0051498883, 0.0336577706, 0.0054533239, -0.0006661898, -0.0491448455, -0.0102935964, -0.0289898086, 0.0127335545, 0.0707776248, 0.0035265959, -0.0145449303, 0.0440383703, -0.040226344, -0.0920173153, 0.0191601198, 0.0029687381, -0.0435281545, 0.0272846185, -0.0089960955, 0.0017732687, -0.0128864041, -0.0437721312, 0.0497855619, 0.0039466289, -0.0130523713, -0.0262583513, -0.0408290811, -0.0398705639, 0.0264905114, 0.0343896933, -0.0078961821, -0.0261588115, 0.0632190779, -0.0075041424, -0.0423804, 0.0667594075, -0.0471700951, 0.032025747, -0.0118299657, 0.0405656509, -0.0136559196, -0.0254695322, -0.0282092709, 0.0538693964, 0.0111574465, -0.0075664315, -0.0101113673, 0.0701238215, 0.0377324149, -0.0079106782, -0.0082057677, -0.0276001636, -0.061798647, 0.0661194623, 0.0369767249, 0.0354350023, 0.0071517904, -0.0037746474, -0.0604849532, 0.0247286167, -0.0381068066, 0.0118433824, 0.0126880175, 0.0651678592, 0.0096999239, -0.0233780667, -0.0056421706, -0.0096217077, -0.0025597652, 0.0030904999, 0.0030204626, -0.0008757917, -0.0974685624, -0.0193176549, 0.005430935, -0.0226606317, 0.0289217886, -0.0183477085, -0.0098969638, -0.0762378573, 0.1115840673, -0.0181371123, 0.0378983952, -0.0244716629, -0.0370596237, 0.0042592757, -0.0408294722, 0.0289228912, 0.0344153792, -0.0306056496, -0.0534716323, 0.035660781, -0.0034065668, -0.085800916, 0.0163296815, 0.0043454454, -0.0646512955, 0.0157800782, -0.0223805886, 0.0744192749, 0.0366847254, -0.0045413817, -0.0296653695, -0.0128102796, -0.0164166354, 0.027457526, -0.0174489059, 0.0392650254, -0.0252206959, -0.0159240719, 0.0486034118, 0.0156955011, -0.1173017472, 0.0653760359, -0.0348964334, -0.0191609208, -0.0573171303, -0.0205674116, -0.0340030268, 0.0690856874, 0.0073569012, 0.0352845341, 0.0033996333, -0.0449711755, -0.0419437997, 0.0339284986, 0.0077685541, -0.0353847258, 0.0709489584, -0.0393938385, 0.0265141651, -0.0017543479, -0.0163725689, -0.0468204841, 0.0339044742, -0.0193930604, 0.0120497048, -0.0185813494, 0.0146952234, -0.0026667314, -0.0111710932, -0.0033052072, 0.0264117587, 0.0442506, -0.0429298654, -0.017821081, -0.0727529526, -0.0018954761, -0.0398473479, -0.0329556353, 0.0389111899, -0.0124339769, -0.0311313365, 0.0533636436, 0.0417024717, -0.0776844993, -0.0292567257, 0.0350031257, -0.0368825234, -0.0365706272, 0.0817954019, 0.0181368329, -0.0679837316, -0.0175080709, 0.0634328052, 0.0226763152, -0.036144387, 0.0033690829, -0.0350707397, 0.042860914, 0.0560244955, 0.0650562271, -0.0714562088, -0.0312456079, 0.0082232272, 0.06989149, -0.0243302174, 0.0154244117, -0.0323710255, -0.1250312626, 0.0252908673, 0.0126453442, -0.0176716112, -0.0600771159, -0.0253176894, -0.0445949212, 0.0269354116, -0.0098116715, 0.0605257004, -0.0048169992, 0.0075502009, 0.0045544934, -0.0482758172, -0.0259331409, 0.0123099396, -0.0220453609, -0.0003171946, 0.1173596084, 0.0256209094, 0.0348170921, -0.0275444929, 0.0570929497, 0.0042496766, 0.0290132016, -0.0216161702, 0.0213776659, 0.0110346088, 0.0049646432, 0.0107256435, 0.020341469, -0.0391749442, -0.0019347696, -0.0042895731, 0.0363671444, -0.0278794412, 0.0056199939, -0.0316255055, 0.0024465297, -0.0151406396, 0.016850777, 0.0208522771, 0.0410291664, -0.0349012986, -0.0483869016, 0.0136835352, -0.036935281, 0.0194696076, -0.0009682495, -0.0491148941, -0.0237426572, -0.0346653312, 0.0247626398, 0.0073684282, 0.0315006115, -0.0028679022, 0.0206025057, -0.0081484467, -0.006240827, -0.0982435048, 0.0314004272, -0.031164201, -0.00070112, -0.036769148, -0.0476161726, 0.0190898534, -0.0184580721, -0.0219875127, 0.0542398505, -0.062998794, -0.0723876804, -0.0159008466, 0.0827255175, 0.0175326876, 0.0296596624, -0.0254767481, -0.0313124955, -0.0529041588, 0.0922378302, -0.0174572729, -0.0175240356, -0.0031145841, -0.0128119932, 0.0191387888, 0.006879482, -0.0914584249, -0.0128901359, -0.0070017148, 0.0093914773, 0.021953037, 0.0419039614, 0.042985402, 0.0686479956, 0.0105234822, -0.0151627371, -0.0126551315, 0.0025109609, -0.0043553002, 0.0039074314, -0.0296123363, -0.0525156595, 0.0270531736, -0.0212228112, -0.0079316041, 0.0673670322, 0.0062128273, -0.0346506871, 0.0686246231, -0.0095491642, 0.030290775, -0.01355311, 0.055682905, 0.0534579195, -0.0230259057, -0.0278646294, 0.0239212643, 0.0103589846, 0.0486739315, -0.0183860939, 0.0430270582, 0.0151285995, 0.0315308124, -0.0072007924, 0.0146177104, -0.0118478956, -0.0977236405, -0.014390422, -0.0279197935, 0.031162573, 0.0277470481, 0.0683051422, -0.0187812541, 0.0480412692, -0.0220461208, 0.0445541479, 0.0034046674, -0.0314787105, -0.0094714165, 0.0181258693, -0.0096147647, -0.035633374, 0.0681595802, -0.0270298291, 0.0072801164, -0.0351562165, -0.0323493145, -0.0423012301, -0.0237288512, 0.0562833287, -0.0058354437, 0.0083538191, -0.0489583611, -0.0509814397, -0.0470955782, -0.0098087946, 0.0157414638, 0.0143724056, -0.014459705, 0.0636858493, 0.093316026, 0.010943138, -0.0342666581, -0.0007992491, -0.0062714592, -0.033269532, -0.0548335798, -0.0203030016, -5.76061733e-33, -0.0232881829, 0.0019115894, 0.0217754859, -0.0040141358, 0.0012922038, -0.0157111995, -0.0284306072, 0.0066440189, 0.0284900945, -0.0537976809, 0.0498382859, -0.0113953874, -0.0038960741, -0.0122505846, 0.0110421125, 0.0093309171, 0.023646459, 0.0220790599, -0.0524907969, 0.0278129932, 0.0003356935, 0.0409981348, 0.0285512097, -0.0392890163, -0.0317509696, -0.0150465984, 0.066526331, -0.0050846604, 0.0472416542, 0.0225277767, 0.0247913431, 0.0042071743, -0.0082095796, 0.0005028548, -0.0527286269, -0.0258095749, -0.0086592762, -0.0212004073, 0.0125664901, 0.0159201398, 0.0049554692, -0.0503087677, 0.0883659497, -0.0144545073, -0.0300993621, 0.0466465466, 0.0245203823, 0.0149983149, -0.0103526143, -0.0367441252, -0.0637620762, 0.0302441642, -0.0052874773, -0.0237433705, -0.0246031638, 0.0456020087, 0.0013517065, 0.0076780757, 0.0238618311, -0.0348245241, 0.0151668759, 0.0638753921, 0.0726533085, -0.0033361681, 0.0305511933, -0.0058201104, 0.0368735865, 0.0224849433, 0.0069873561, 0.0302318819, 0.0427174419, 0.0608356148, -0.0231435616, 0.0178107265, 0.021410279, 0.0017757158, 0.0055220327, 0.0288714282, -0.0468013436, 0.0387611203, 0.0230065491, 0.0344379395, -0.0382793397, -0.0004389212, -0.0402930714, 0.0319056623, -0.0208111126, -0.0439587869, 0.0588842295, 0.000189361, -0.0178599991, -0.0404560715, 0.0225436259, -0.0027080919, 0.0186912492, -0.0209648348, -0.0523392484, 0.0175536331, -0.0180976856, 0.0089179454, 0.0480110273, -0.0092470422, 0.0094154496, -0.012568647, 0.0517120846, -0.0082700532, -0.0187759716, 0.0169431325, -0.046204377, 0.026900243, -0.0625806749, -0.0055912291, -0.0181075372, 0.0282699168, 0.0270007048, -0.000864847, -0.0008718232, 0.0124709709, 0.0198159833, -0.0392263271, -0.0362012424, 0.0269880649, 0.007112856, 0.0147763835, -0.0388537869, -0.0020541467, -0.048928123, 0.0058595655, 0.0258256514, -0.0011674915, -0.0431571789, 0.0191951673, 3.204e-7, -0.0119762216, 0.0214947555, 0.0261406377, 0.0756580755, -0.0246149618, 0.0357974768, 0.018413661, -0.0077735349, 0.0278609395, 0.0432807244, -0.0446864404, -0.0002918818, 0.0191297717, -0.006581285, -0.063301228, 0.0181663297, 0.0071062706, 0.0146988537, -0.0725422427, 0.0003101778, 0.0065651359, 0.0287647024, -0.0164087098, -0.0130058713, 0.014677112, -0.0666700974, -0.0098034134, -0.006963145, 0.0048126657, 0.0384767838, -0.0260851812, 0.0749677643, 0.0018282779, -0.0269351546, -0.0079317363, -0.0148936063, 0.0060461201, 0.0157108344, 0.0017924334, 0.0356223062, 0.0757973939, -0.011797782, -0.0136224646, -0.0580222942, 0.0191473085, -0.0121480469, -0.0117411334, -0.0206162147, -0.068559058, 0.0263961479, -0.0656756088, -0.0047855931, 0.0172848199, 0.0248251241, -0.0118693002, -0.0261295661, -0.0181634985, -0.0040385881, -0.0428019464, 0.0434192531, -0.0061892248, -0.0400825962, -0.0602510609, 0.0248965323, 0.0036138094, -0.0179155171, 0.0127618806, 3.206315126e-34, 0.0209539924, -0.0224763379, 0.0285094436, 0.016101988, 0.0472102687, 0.0058420254, -0.0151182152, 0.0615553781, 0.0072852732, -0.0039099404, -0.0121157533 ]
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.0898083225, 0.0469081402, -0.0471742526, -0.0066088969, -0.0116665661, -0.0279359017, 0.0424233004, -0.012204092, 0.0524461046, -0.0107402643, -0.0288769733, 0.0010897304, -0.0218462832, 0.0488228574, -0.007162055, -0.0865846947, -0.012363432, 0.0141400099, 0.1166778728, 0.0060055219, 0.0557961799, 0.0128805423, -0.0420011394, 0.0572542585, 0.0171969514, -0.0083137676, 0.0354089551, 0.0120323263, 0.0376469232, -0.0867527723, -0.00522245, 0.0401986279, -0.0387757719, 0.0145916082, 0.000001965, -0.0222592745, -0.0280098245, 0.0074089542, -0.0007518948, -0.0663942173, 0.0955460817, 0.000020334, 0.0147226332, 0.0218630135, -0.052867081, -0.0096851448, 0.031035902, 0.0535562001, 0.0678917542, 0.0433475599, -0.0341735221, 0.0299508926, 0.0141372224, 0.0022297746, -0.0558788404, 0.0037616659, -0.0108964341, -0.0221741349, 0.0739887953, 0.0040480569, 0.0248955432, 0.0169650819, -0.0436395146, 0.0175263491, -0.0235228222, -0.0021654884, -0.0245315079, -0.0405451618, -0.0342752784, 0.0999167338, 0.0724449605, 0.0524452031, 0.018890854, -0.0317343213, 0.0251307264, 0.0172546431, -0.0262547098, -0.0140123433, -0.0266259965, -0.003729973, 0.0020360267, 0.0287153516, 0.0036382866, -0.0051746154, 0.0087025547, 0.0763381198, -0.010795706, -0.0106056919, -0.003466126, -0.026474623, -0.0360556915, -0.0747738332, 0.0295846686, 0.0442467891, -0.0957442373, -0.0115343304, -0.0279497281, -0.059816245, 0.0426304527, -0.0306199305, 0.0539090596, 0.044256974, 0.0007746207, -0.0089509236, 0.0822015628, -0.0102490932, 0.0020233898, 0.019247096, -0.0124270106, 0.017559668, -0.0582556538, 0.0036978698, -0.0412818417, 0.0336031504, -0.0365551338, -0.0403386615, -0.0412388071, 0.037514668, -0.0497427806, 0.0225701872, -0.0055324989, 0.0079034548, 0.0004121579, 0.0134774148, -0.044622872, 0.0310030635, -0.0652889162, 0.01649197, 0.0376671925, -0.0637027174, 0.0531934015, -0.0112828398, 0.0025076261, -0.0142149199, 0.0051954053, 0.0603207685, 0.0017294972, -0.000158411, 0.0227243453, -0.0697967708, -0.0103342766, -0.0471173152, -0.0309426058, -0.0486890487, 0.0445178226, 0.0222982801, -0.0018303242, -0.05215225, 0.0302310791, 0.00111074, -0.0533592626, 0.0861822367, -0.0664558113, -0.0084496588, 0.037803404, 0.0393137559, -0.0216220524, 0.0285292398, 0.0060917502, 0.0243577957, 0.043595735, -0.0014669793, 0.0089541264, -0.0040414399, -0.0165298525, -0.0245855693, 0.0097948732, 0.0211418942, -0.0425134227, 0.0591297224, -0.0757650062, 0.0352372304, -0.0475481898, 0.0089607537, 0.0814427808, 0.0721957088, 0.0176484175, 0.0270795245, -0.0006490784, 0.033099249, -0.0093014278, -0.0379845873, -0.0157977957, 0.0287107322, 0.0019851758, -0.0348352604, 0.0049155154, 0.0037289262, -0.032608673, -0.0602414161, -0.0091644349, -0.0098780338, 0.0148092592, 0.0386542231, -0.0358304456, -0.0319759361, 0.0053977831, 0.0219495017, 0.0276196171, 0.0022765668, -0.0522878692, -0.0665621981, 0.0365896225, 0.1434937418, 0.0514164381, -0.0436564721, -0.0570169985, -0.0042939396, 0.0074567297, 0.0335103571, 0.0325659104, 0.0147888931, -0.0157210585, -0.0357441157, -0.0227454714, 0.0156041542, 0.0059608701, -0.0000895035, -0.0172488336, 0.02883742, -0.0678914636, 0.0528511256, 0.0078510223, 0.0251292977, 0.0336425304, -0.0049458551, 0.0082816649, 0.0092345364, 0.0650607497, 0.0440633185, 0.0072345394, 0.025354011, 0.0305592585, -0.0170455184, -0.0414988473, 0.0259063914, -0.0029322279, 0.0255354419, 0.0222721063, -0.0125110047, 0.0167694371, 0.0034432353, 0.0067981156, -0.0209521428, 0.044479277, -0.0290965363, 0.0417839289, 0.007718537, -0.0027533653, 0.0351381339, 0.0236095153, -0.0183665752, 0.0001092304, -0.0094949566, -0.009772405, 0.0122331539, 0.0020969152, -0.0379984938, -0.0437969193, 0.0137783848, 0.0186865386, 0.0048543862, 0.0348719098, -0.003288493, -0.0058702226, -0.0308423117, -0.033820767, -0.1230860353, 0.0042750984, 0.0072371149, -0.0187882427, 0.0089554694, -0.0006501731, -0.007199646, -0.0203082003, -0.0452432632, 0.0359156355, 0.0336641148, 0.0381687395, 0.0112453373, 0.0429994538, -0.0296668839, -0.0535731353, -0.0025201237, -0.0251905564, 0.0118511319, 0.0076142307, 0.0148545988, -0.0209098272, -0.0762159005, -0.0796599239, 0.0085301753, -0.0077360328, -0.0394303426, 0.0492046662, -0.0107768374, 0.0123640941, -0.0144222574, 0.0043222844, 0.0557383113, 0.0232522357, 0.0063463817, -0.0707241073, 0.0008402783, -0.0260540284, -0.0106661282, -0.054090295, -0.0322512761, 0.0102605876, 0.0512303039, 0.0282204915, 0.0240620151, -0.0466298275, 0.0380084179, 0.0248067547, 0.0143334866, 0.0155420378, -0.0118649527, 0.018489005, 0.0424849093, -0.0102895219, -0.0026798083, 0.0598405004, 0.0105439248, -0.0115297064, -0.049408678, -0.0604225397, -0.0420018509, 0.0105467122, -0.0061522787, 0.0404769778, 0.0165053029, 0.0029119358, 0.0198042486, -0.0892021656, 0.0211546496, -0.0541737862, -0.0055227443, -0.0633983091, 0.0053079575, 0.0303417295, -0.0072968267, -0.0080007119, -0.032907147, -0.0668020695, -0.0062752264, 0.0179259293, 0.0014658441, -0.0499182865, -0.0343958288, 0.0254308172, 0.045966763, 0.0073849927, -0.0263024028, -0.0097942036, -0.0050218678, 0.0269692, 0.0020530261, 0.0089845518, 0.0133868167, 0.0448106118, 0.0852508396, -0.01700994, -0.0311813802, 0.0038006881, -0.0031259626, -0.0011731877, -0.0086723855, 0.0243369192, 0.0194533393, 0.0486787781, -0.0208906401, 0.0067591732, 0.0616554283, 0.0276426952, -0.0569861643, 0.0160537232, -0.0484937392, -0.0174569134, -0.0082106888, -0.0001992852, -0.0356297679, -0.0084526641, -0.0496165603, 0.0405347757, -0.0452326573, -0.0298343543, -0.0008185235, -0.0236776583, 0.0245495532, -0.0201831702, -0.013262623, 0.0493896343, 0.019114092, 0.0276600402, -0.0005679861, -0.0056164241, -0.0342218317, 0.0283560418, -0.0005387281, -0.0207199268, -0.0335257649, 0.0154847084, 0.0355988331, -0.015041478, 0.0929637253, 0.038705714, 0.0519504547, 0.0219411217, -0.0439969487, -0.0505493581, 0.0784786791, 0.0082035633, -0.009789072, 0.0614371896, 0.0276504289, 0.016587846, -0.0525530204, 0.0538395829, -0.0212742649, -0.0154955862, 0.0146092707, 0.0370642506, -0.0108790137, -0.0090006934, -0.0370665155, 0.0528131314, 0.0544516966, 0.0226526428, 0.0135965943, -0.0655431077, -0.0398124047, -0.0128483577, 0.0251754839, -0.023893116, -0.0765583292, -0.000198412, -0.015560599, -0.020668475, -0.0843541101, -0.0588554516, 0.0479268841, -0.0064184577, -0.031058738, -0.025206238, 0.0274703335, 0.0306317434, -0.0114055248, 0.0289672371, 0.0278498083, 0.021354435, -0.0274472255, -0.0432121083, 0.0249238685, -0.02291568, 0.0094116861, 0.0356840082, -0.0031196456, -0.029981479, 0.0211123433, 0.061647404, 0.0239121765, -0.0088336682, 0.0129774325, -0.0389220864, 0.0022754497, 0.0192859545, -0.0588497818, -0.0305306111, 0.0174262263, 0.0777323171, -0.0029117356, 0.0327205956, 0.0135516962, 0.0658684894, 0.0156581048, 0.0224041045, -0.0393448919, -0.005102234, 0.0094799325, 0.0153947892, -0.0070789014, -0.0124520836, -0.0395484865, 0.0374000818, -0.0106830411, -0.0666737854, -0.0019551977, -0.0452483892, -0.0452757627, -0.0306229554, -0.0472660027, 0.0192114413, -0.0414002314, -0.0635328665, -0.0045980797, 0.0011411144, 0.0259651709, -0.0091653159, 0.0028182254, 0.0239223521, 0.0076095625, -0.005040355, 0.0352836736, -0.009307716, 0.0400369614, -0.0184478518, 0.0719417706, -0.0073773004, -0.0219943244, 0.0024875556, 0.0657698587, -0.046399232, -0.1424842626, 0.0189746972, 0.0162314568, 0.0034032927, 0.0901979357, 0.0324483179, -0.0117368158, -0.0036957825, 0.0001587358, 0.0191691164, -0.0201248396, -0.0007243895, -0.0077500311, 0.0102480398, -0.0129477205, -0.0468979105, 0.0302971117, -0.0487740114, 0.0087029897, -0.0017719488, -0.0363769643, -0.0479972251, -0.0037308873, -0.054133147, 0.044972524, -0.0264468752, -0.0265790019, -0.0462823138, -0.037298616, 0.0156322494, -0.0122620519, -0.0378409699, -0.0406114124, 0.0265653525, -0.000336391, 0.0155066289, -0.008522328, -0.0434807092, 0.0302526169, -0.031438183, -0.0174971316, -0.0381959863, -5.894101693e-33, 0.0080419499, -0.0212264508, 0.0296483301, -0.0136546362, 0.0110108219, -0.0288839396, -0.0186593309, 0.0440226905, 0.0161201973, 0.0102832019, 0.0102180578, 0.0222691186, 0.0021476147, 0.028765209, 0.0145334117, 0.0077543166, 0.0298710633, -0.0170731787, -0.023445962, 0.02577262, -0.0010942045, 0.0227190237, 0.0051276358, -0.1064374298, 0.0312054493, 0.0295562614, -0.0192783233, 0.0061722617, 0.0137179764, 0.0679650605, -0.0027316802, 0.0599124916, 0.0234438665, -0.0162858088, -0.0050442689, 0.0138680656, -0.0330065154, -0.0527145714, 0.0039550704, -0.0351435877, -0.0635522753, -0.0175807066, -0.0052573057, -0.0259183384, -0.0095070051, -0.0086094793, 0.0222087372, -0.0368311256, 0.0000366901, 0.0446677394, -0.0253003705, -0.0059064501, -0.0149625484, 0.0294403099, -0.0295753907, 0.0205175243, -0.0392298028, 0.0214476492, -0.0664983392, 0.0248975959, 0.0117997499, -0.0421277396, -0.0291556045, -0.0323667079, -0.0173510704, 0.0238590967, 0.0264778752, 0.0118245408, -0.0228307191, 0.0031788594, -0.048593618, 0.0886915326, 0.044271376, 0.0611896925, -0.0084724445, -0.0123713408, 0.0003534654, 0.0059063276, 0.0208385885, 0.0007373727, 0.0387390964, 0.0336591266, -0.0398931131, -0.0041586356, -0.0188332852, -0.0187476575, -0.0402524062, -0.0683326125, 0.0244069211, 0.0061409785, -0.0321599469, 0.0003900446, -0.0077755689, -0.037933927, -0.0232142061, -0.0319915377, 0.0022256728, 0.0465302318, -0.0061526666, -0.0295068566, -0.0242309701, 0.0214761458, -0.0025683017, 0.0048681339, 0.0359118879, 0.008339745, 0.0157185495, -0.034966927, -0.0262657795, -0.0037579234, 0.0249031931, 0.0693069175, 0.0013292768, 0.0001823766, -0.0308000091, 0.0240047704, -0.0312261004, 0.0406349115, 0.0135844024, 0.0084443074, -0.0704395548, -0.0164959282, -0.0084168483, -0.0189059079, -0.0319155492, -0.0292181894, -0.0608659945, -0.0006012, 0.0359438173, -0.0095087988, -0.0078013991, -0.0473062396, 2.75e-7, 0.0089989416, 0.0501250066, -0.0216025505, 0.0245734882, 0.045747418, 0.038091965, 0.0214478336, 0.0264255181, 0.0191708189, -0.0280798078, 0.0142058395, 0.0380203575, 0.0318514742, 0.080674015, 0.0169437695, -0.0797589421, -0.0133306105, -0.0241172183, -0.0591991022, 0.0065062251, 0.0888038576, 0.0315764807, 0.0329060443, -0.0027957761, -0.0088622766, 0.0362937264, 0.0288489759, -0.0611254275, 0.0251190327, 0.055346299, 0.0053553889, -0.0282841176, 0.0051493994, 0.0000289684, -0.0055095665, -0.0012332867, -0.0410771482, 0.0701508299, -0.0636585727, -0.047438018, 0.0137814246, 0.0073154671, 0.0243211333, -0.008638178, 0.0153140482, -0.0882272124, -0.0590445697, -0.014444286, -0.0304599032, -0.0669046193, 0.0305798296, -0.0389870442, -0.0318574011, 0.0493934564, 0.0092332345, 0.0199051108, 0.0339838788, -0.0593591034, 0.015875224, 0.0232273061, -0.059496507, -0.0384390019, -0.0096732136, -0.0027984721, -0.0135571891, -0.0561673827, 0.0516469069, 1.922737513e-34, 0.0013451357, 0.0828979611, 0.0272555165, 0.0214621238, 0.0411760025, 0.0368972607, -0.0003770077, 0.0228409525, 0.0542296469, -0.0785298944, -0.0209249444 ]
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.040159639, 0.0589529946, 0.01653165, -0.0342319012, -0.003086342, 0.0442282856, -0.022661129, 0.0272103697, -0.0299469829, -0.0197637193, 0.0076483916, -0.0112781851, 0.0379660912, 0.0708768442, 0.0222569685, -0.0711387098, 0.0223687198, 0.0108641116, 0.0044769733, 0.005570414, -0.0113914507, 0.0123164654, -0.0155952042, 0.0429026224, 0.051684875, -0.0009518519, -0.0144043434, 0.0330164693, 0.0180208329, -0.0499414541, 0.0173244253, 0.0318944938, -0.0108347898, -0.0309000351, 0.0000021062, -0.0239628796, -0.0374339633, 0.0327482447, -0.0783785135, -0.0296086799, 0.0331068821, -0.1235788688, -0.0175603572, 0.0215408094, 0.0078353863, -0.0832178295, 0.0428562425, 0.0171453059, 0.0572403297, 0.0780956671, -0.0185823292, 0.0023871418, -0.0050908141, -0.0233526882, -0.0121448059, -0.0108058639, 0.0072913696, 0.0273927562, 0.0163190961, -0.0596785098, -0.0237386879, 0.0199094303, -0.0034461056, 0.007087125, 0.0172061529, 0.0486145653, -0.0030657446, 0.0165641308, -0.0129852798, 0.0442273878, 0.0025568206, -0.0117048724, 0.0312487036, -0.019159792, -0.0055739568, -0.0385669619, -0.058932323, 0.0261239074, -0.0426637195, 0.020500578, 0.0363310054, 0.0145039763, 0.0027069109, -0.0146466726, -0.024366254, 0.0098953117, 0.0208531432, -0.0358010978, -0.0210544951, 0.0237070918, 0.0343370475, -0.0655483752, 0.0540950112, 0.0585668758, -0.0166124925, 0.0023087899, -0.0734441057, -0.0544730835, 0.0691381693, 0.0115636541, 0.0356423557, 0.0325480439, 0.0325104967, 0.0212488435, 0.0100320764, 0.0211655609, -0.0149305956, -0.0014923784, -0.0543686412, -0.0000113213, -0.0210718233, 0.0036977839, -0.0418338478, 0.0262316354, -0.0446094908, 0.0100458208, -0.0705540478, 0.0264408942, 0.0374182649, 0.0393243842, 0.0840555578, -0.0101083191, -0.0511693917, -0.0043299492, 0.0326462723, 0.0284466967, 0.003789783, -0.026055621, 0.0057586208, -0.0454888456, 0.0053605479, 0.0015288428, 0.0086854137, 0.0113824988, -0.010606911, 0.0489163958, -0.0019515341, 0.0067265327, -0.0117387166, -0.0612704828, -0.0021822765, -0.0161074307, -0.0112155583, -0.060534589, 0.0382395312, 0.0216235239, 0.0135257524, -0.0576589592, 0.0070698201, 0.0149872629, -0.0334652252, 0.0335169211, -0.0883299559, 0.0195639562, 0.032429453, 0.0075868284, 0.0141439075, 0.029699089, 0.0189254861, -0.0076608872, -0.0180028528, -0.0122172972, 0.0295793395, 0.040926002, 0.0049311761, -0.035808336, 0.0130373519, 0.0011727317, 0.017611336, 0.016797008, 0.0129632642, 0.065936327, -0.0366486236, 0.0264127403, 0.0055991127, 0.0398543552, 0.0284417979, -0.0164602026, 0.0448052399, -0.0042597116, -0.0030759685, -0.0183994044, 0.0077804038, 0.0104906382, 0.0416677557, 0.0117113786, 0.024505293, 0.0258379597, -0.0440716594, -0.0553967841, -0.0446185544, -0.0460680127, -0.0134023102, -0.018133454, 0.05122637, 0.0181727111, -0.0804355294, 0.0898599699, 0.0559542142, -0.0669616386, 0.0028711732, -0.0522591658, -0.0093106376, 0.1262512058, 0.0900351778, -0.0060041295, -0.0677419305, -0.0237708334, 0.0046044248, 0.0104055386, 0.0484974012, -0.0219319128, 0.0199132357, -0.0814535841, -0.0329987817, 0.0233371481, 0.0106075108, 0.0048223459, 0.0015334523, 0.006133242, -0.0024654851, -0.0267328471, -0.0596805625, 0.0370723046, -0.0640820637, 0.0103213722, 0.0128076533, -0.0117706582, 0.0312580653, 0.0250202939, 0.0190985296, 0.0421511158, 0.0449638925, -0.0346721113, 0.0328614712, 0.0157345757, -0.035039261, -0.0481586941, 0.0011415717, 0.003237393, 0.016966166, -0.0096274959, -0.0188193899, -0.0218892973, -0.0341646522, -0.0524887629, 0.0486663207, 0.0034173778, 0.0485018119, 0.0656041279, -0.0136713954, -0.0209045969, 0.0151288891, -0.0435087308, -0.0032690514, 0.0304341279, 0.0013650566, 0.0157914627, -0.0137062566, -0.0040171398, 0.0207202584, -0.0458261445, 0.0039174799, -0.0077059008, 0.0338823758, -0.0087958714, -0.0441998541, -0.1270497143, -0.016874684, -0.0183839891, 0.0239172019, 0.0499150418, 0.0372388847, -0.0078750495, -0.0064929561, -0.0154567324, -0.0156616457, 0.0178886522, 0.0072695976, 0.0155420536, 0.0218573287, -0.0178366471, -0.0217356589, -0.0321528837, -0.0144501291, 0.0313787684, 0.0060365419, -0.038302552, -0.0797583386, 0.0220486335, 0.0115918713, -0.0155172236, -0.0053007384, -0.0368997976, 0.019462537, -0.0256868582, 0.0735221282, 0.0152224852, -0.0050123432, 0.0411300138, 0.0457961559, -0.0237104949, -0.0336078703, -0.0001899837, -0.0157552585, -0.0320884027, -0.0147807347, -0.0803892687, 0.0164922215, 0.0644999295, 0.0141665302, 0.0283070728, -0.060633447, -0.0468258597, -0.0252937376, 0.0039771348, 0.0016518581, -0.0143062882, -0.0221246071, 0.0424944684, 0.0013280862, -0.0348455906, 0.0545823053, -0.0162490681, 0.0218486488, -0.06720303, -0.009358393, -0.0525951982, 0.0155882379, -0.0292658173, 0.0153863383, 0.0482208543, -0.0604229607, 0.045417279, 0.025974568, -0.0292059779, -0.0619088002, 0.0352504738, -0.0267649665, 0.0008851114, -0.0079622539, -0.0396023467, -0.0344308317, -0.0016550006, -0.0095996549, -0.0049062073, 0.0091256071, 0.0110043027, -0.0758630186, 0.0566126034, -0.0273664165, 0.064809069, 0.0090788445, -0.0136880195, -0.0068603507, 0.0280458629, 0.0160469376, -0.0360603333, -0.0430239514, -0.0683895648, -0.0160825439, 0.0649677143, 0.0168761238, 0.0400832184, 0.0237024203, 0.0103788301, 0.044202771, -0.0363714918, -0.0043314463, 0.0436989516, 0.0382969044, -0.0712057129, -0.0297512785, 0.1286732256, 0.0303487871, -0.0755650178, 0.0126331896, -0.0327837877, 0.0003900155, -0.0122528467, 0.0199854504, -0.0376247391, -0.0191223398, 0.0296555646, 0.0745260045, 0.0017620652, 0.0062056291, 0.0056438958, -0.0442179106, 0.0333129689, 0.0313306116, -0.0336257629, -0.0615743548, -0.0285946447, -0.0269125607, -0.0109670376, -0.0354893282, 0.0510834865, -0.0199796893, -0.000327453, 0.0250772517, -0.0693334118, -0.0917546228, -0.0211068634, -0.0255179796, 0.0668557957, 0.082017526, -0.0046732039, 0.002730852, 0.0003922718, 0.0287640262, -0.0251751635, -0.0129573429, -0.0223070532, 0.0696552992, -0.0022343099, 0.0010962414, -0.0207812618, 0.0339732654, -0.0348101482, -0.0376758985, -0.0132798711, 0.0435307398, -0.0265745129, -0.0217327308, -0.0419471972, 0.0160605833, 0.034537062, 0.0533338562, 0.023220472, -0.0023040348, -0.0308370721, -0.0233966578, 0.0477544889, -0.0293054488, 0.0422808044, 0.012461463, -0.0365169644, -0.0808705315, -0.0482040271, -0.044021178, 0.0712090954, 0.000025199, 0.0019075481, 0.0065003075, 0.0249865372, -0.0106978081, -0.084379077, 0.0009479489, -0.0093147838, -0.0047551193, -0.102716051, -0.0842461064, 0.0371995792, 0.0191851873, -0.005244439, 0.0381614938, -0.0287259929, -0.0203434508, 0.0106216678, 0.0521284267, 0.023477301, 0.010864174, 0.0113627575, 0.0233135018, 0.0034099482, 0.0417519398, -0.0122147333, 0.0012123674, -0.0174863469, -0.0049670958, -0.0125638312, -0.011844038, -0.044463966, 0.0111351805, -0.0168458708, 0.0540372431, -0.0050781975, -0.0144987702, 0.0212455038, 0.0526375733, -0.0242313389, -0.0238989498, -0.0612763427, -0.0226019397, 0.0170417801, -0.0343336165, 0.0102195973, -0.0412361622, 0.0111355241, 0.0269175135, -0.0185159426, 0.0162971932, 0.0465492383, -0.0508683547, -0.0036351278, -0.0424699523, 0.011667558, -0.0114474641, 0.0257822946, 0.0550987385, -0.0429498479, -0.0314861983, 0.0158400722, -0.01078403, -0.0069114328, -0.0437850207, 0.0444099829, -0.0054706912, 0.0507046841, -0.0119881267, 0.0730896071, 0.002701255, 0.001717875, -0.0545254126, -0.0158263575, 0.0302278828, 0.046406813, 0.0570982955, -0.047907006, 0.0118070506, -0.0483175106, 0.0485482104, -0.0180454943, 0.0014707039, 0.0228388179, 0.0181805361, 0.0099439621, -0.0469325818, 0.08278469, 0.019316759, 0.0537021421, -0.0016825479, -0.0348525532, -0.0559151471, 0.0048770295, 0.0183563884, -0.003074331, -0.0586510114, -0.0249034017, -0.0473488756, -0.0215888154, 0.0564396754, 0.0187977813, -0.0068883239, 0.006315229, 0.0521021225, 0.0149936685, 0.0013085256, -0.0052285315, -0.0250925682, 0.0424720123, 0.0212279893, -0.0316211134, 0.0135957105, -6.165766886e-33, -0.0273577366, -0.0230709687, 0.0239257645, -0.0138435951, -0.0168667901, 0.0155791938, -0.0543596111, -0.0313918293, 0.0302472692, -0.0026179974, -0.0001059059, -0.014768186, 0.0232923739, 0.0385413282, 0.0098322267, -0.0079175336, 0.0438341163, 0.0126566263, -0.0438577831, 0.0268596075, -0.0089866566, 0.0450015105, 0.0297387429, -0.0325089321, 0.0017401521, -0.0163967088, 0.0098995632, -0.0355120711, 0.0049427957, 0.067140542, -0.0316250324, 0.0145447981, 0.0468049832, 0.0030441408, -0.0399510302, 0.0278799254, -0.1088434532, 0.0059817573, -0.0012573325, -0.0179743972, -0.0437305979, -0.0728935003, 0.0351941548, -0.0006213058, -0.022625953, -0.020428393, 0.0046584336, -0.0303908736, -0.0252875052, -0.0417359322, -0.0206735227, 0.0475373492, -0.000175648, -0.0186563656, 0.0175769143, 0.0067097517, -0.0229965057, 0.0119763296, 0.006745792, 0.031828478, 0.0538841374, 0.0583518222, 0.0309372041, -0.050934311, -0.012697841, 0.0185761582, -0.0070773331, 0.0164086763, -0.0266969427, 0.0241331123, -0.0345439129, 0.0305944458, 0.0118312901, -0.0150428675, 0.0337638706, -0.0274779517, -0.0637016222, 0.0664295554, -0.0560602061, 0.0532483868, 0.0203616954, 0.0143741025, -0.0260049049, -0.0314025246, -0.0092555778, -0.0219072141, -0.0112885935, -0.0068903305, 0.0450922288, 0.0131764403, -0.0230029132, -0.0144389756, 0.0041251597, 0.0160261355, 0.0448415987, 0.0449709371, 0.0487902537, 0.0345672406, -0.0547421835, -0.0064025018, -0.0344805643, -0.019566305, 0.0506606251, -0.0332020409, 0.022434555, 0.0399492867, -0.0061277747, 0.0212087948, -0.0625983179, 0.0085487412, 0.0177269056, 0.0210140515, -0.0054288758, 0.0362049229, 0.0454008132, 0.0019286622, 0.0075370111, 0.0525186583, -0.0096119819, -0.0332946181, -0.0485279076, -0.0159553289, 0.0600092821, 0.0237465445, -0.0338278674, 0.0035039447, -0.0606352985, 0.0525998175, 0.0464953482, 0.0115660205, -0.0067674057, 0.0451770648, 2.749e-7, 0.0746449903, 0.0506113209, 0.0692330673, -0.0027667605, 0.0191916674, -0.0247550681, -0.0266814809, 0.0018218741, -0.0157769993, 0.0050031063, 0.0399769805, -0.0240208898, 0.0679403692, 0.0290176328, -0.0629344955, -0.0103010423, -0.0384841524, -0.0325466879, -0.0339357443, -0.0283495914, 0.0471967459, 0.0389930606, -0.0447675735, -0.0174491294, 0.0018878799, 0.0287066828, 0.0091671385, -0.0032936158, -0.0021742433, 0.0483922958, -0.0074001821, -0.0192435887, -0.0079158088, -0.001994981, -0.0207728185, -0.0419043377, -0.0017242925, 0.1363237798, -0.0347688608, 0.0287159402, 0.0636731759, -0.0171874892, -0.0228257831, 0.0084635755, 0.0376978964, -0.0293242149, -0.014990598, 0.0174575467, -0.0722140223, 0.0085305683, 0.006801371, -0.0216504354, -0.0279774331, 0.0495007671, 0.0167702585, 0.0155652761, -0.043466989, -0.0502797887, -0.0155411698, -0.0074644587, -0.0287262015, -0.0343601592, 0.0251299646, -0.016740473, -0.00417946, -0.0763401687, 0.0041132085, 3.012362231e-34, 0.0549643189, -0.0014908063, -0.0031782002, 0.0495610461, 0.0218743868, -0.0393938012, -0.0146251433, 0.0479776524, -0.0065170303, -0.0762434751, -0.0301342681 ]
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.048688367, 0.0198221412, -0.0001941429, -0.043723885, -0.0009688615, 0.0386313945, -0.0089826165, 0.0276436955, -0.0666587129, -0.042246215, -0.0345277376, 0.0163109656, -0.0020686067, 0.0419993363, 0.0034623251, -0.0190232377, 0.0362829827, 0.0247145351, 0.0351473019, 0.0391435325, -0.0131157413, -0.0235748645, 0.0033704748, 0.0052202949, 0.0403774604, -0.0117320362, 0.0396261625, -0.0545242503, 0.0432886891, -0.0840123445, 0.0186721571, 0.0333023332, -0.0178469047, 0.0309008062, 0.0000016021, -0.0510481633, -0.0397256501, 0.0618290193, -0.0035599761, -0.0045399852, 0.059030842, -0.0724916533, 0.0216407385, -0.0306340288, -0.0196196809, -0.0883362293, 0.0723655969, 0.0413654223, 0.0100704199, 0.0453275591, -0.0052120914, -0.0330481678, 0.0642318055, -0.0038686451, 0.0273633618, -0.0097433198, 0.0805447921, 0.0247400925, 0.0258726664, -0.0023780346, 0.0459673814, 0.0193915945, -0.0424764566, -0.0012528029, 0.0754399821, 0.056074921, -0.0081182979, -0.0305973608, 0.0020866015, 0.0813910365, -0.0083142174, -0.0349650383, 0.0319373868, -0.0172535833, -0.0163843054, 0.0590305291, -0.034159001, -0.0084043099, -0.0356161185, -0.0166204125, 0.046230793, 0.0082076089, 0.0408744551, 0.0222478788, -0.0288823582, 0.0467826575, -0.0114796795, -0.0276107956, 0.0321502909, 0.0037926629, -0.0337563269, -0.0074759806, 0.0366024263, 0.0142551521, 0.0509467535, 0.0201885086, 0.014481755, -0.0922513306, 0.0650702938, -0.0699407011, 0.0240665674, -0.0043034665, -0.0225352533, 0.0633573309, -0.0242299773, -0.0602876656, -0.013201002, 0.0575750321, -0.0293819644, 0.0137437368, -0.071996294, 0.0032808047, -0.0139935855, 0.0598291308, -0.0032229682, -0.0013127635, -0.0594016425, -0.0077626915, -0.0111018931, -0.0308891404, -0.0131169287, -0.0277867913, -0.0581485815, -0.0046126419, 0.0068928138, 0.0102288472, -0.000296235, 0.0290804077, -0.0182921123, -0.0427855439, -0.0245256945, -0.0328703374, 0.0039821933, -0.0190258846, 0.0166252665, 0.0403587483, 0.0218083877, -0.0840716511, -0.0025007138, -0.0158111714, 0.0164893661, -0.0323810279, 0.0127649214, -0.054530032, 0.0326784849, 0.0074523035, -0.0080852797, -0.0036948114, 0.0083719995, -0.0244161692, -0.0350883156, 0.0783138871, -0.0944950953, -0.0334785245, 0.0200732537, 0.0441369787, -0.0451244563, 0.0270612258, 0.0012790236, -0.0444417894, 0.0116249621, -0.025951203, 0.0213734861, -0.0349868983, 0.0205082688, -0.0647666603, 0.0387838036, 0.0122338431, 0.0247361995, 0.0483499914, 0.0160918925, -0.0077636084, -0.0426637307, 0.0239487868, -0.0182198193, 0.0470722616, 0.0327169038, 0.0073448615, 0.0029038831, -0.0295905955, 0.0360939316, -0.0488648117, -0.013013931, -0.0381002352, -0.0059210313, 0.0400749184, -0.0330585763, 0.0372803099, 0.0173804164, -0.0175693054, -0.0058231601, 0.0010970099, -0.0396581069, -0.0272870827, 0.0495048948, -0.0017735629, 0.0376332998, 0.0159217957, 0.0725511163, 0.001374598, 0.0292328112, -0.0056713088, -0.0118087223, 0.0032386193, 0.0442268923, -0.0912750289, -0.0624224618, -0.0242331289, 0.0064083668, 0.01910582, -0.0131930429, -0.0276317969, 0.0310916826, -0.0307906941, -0.009886967, 0.0241153985, 0.0309384316, -0.0115530835, 0.0087686945, -0.0043937825, -0.0289223399, -0.0831522495, -0.0220821835, 0.0553446226, -0.0412090532, -0.0235001314, -0.0123720169, -0.0475532189, 0.0422364473, -0.0073392689, -0.0231036004, 0.0185113922, 0.0672441721, -0.0504474826, -0.010764516, -0.0138824061, 0.0124599431, -0.0291126911, 0.055305358, -0.0479560979, -0.0028646544, -0.0314149074, -0.0498615727, -0.0145589411, -0.0426310152, 0.027308898, 0.0481046028, -0.0277222898, 0.0304488, -0.0020498058, 0.0217571091, -0.0629119799, 0.0249133147, -0.0114150783, -0.0070648501, 0.0208081119, -0.0854715779, -0.0123504167, 0.0593585372, -0.0115315132, 0.0437250808, 0.0156979244, -0.0240036622, -0.0257805046, -0.0283489209, -0.0422796533, 0.0095463637, -0.0377486572, 0.0151755363, 0.0584814027, 0.0383062586, 0.0249274261, 0.02154788, -0.013655778, -0.0252637155, -0.0085209887, -0.0189693812, -0.0203425642, 0.0038929621, 0.0484889746, 0.0566239804, 0.0100685563, -0.0493548922, -0.0030006848, -0.0243228581, 0.011226288, 0.0212018546, -0.0212904513, 0.0073706466, 0.0001055564, -0.001348381, 0.0077868253, -0.0011229847, 0.0099755684, -0.0238362644, 0.0048644934, -0.0295950118, 0.0020559013, 0.0050028227, 0.015157776, 0.0530298501, 0.0243627019, -0.0269884914, -0.0087991711, -0.0481534377, 0.041174598, 0.0186030604, 0.0121391984, 0.0454177782, 0.0501732752, -0.0133918542, -0.0103095835, 0.0073699798, 0.0140378987, 0.0083272727, -0.016617002, -0.0282727685, 0.035241656, -0.031789016, 0.0273331571, -0.0000970593, -0.0536881089, 0.1256523579, 0.0034263169, 0.0096570998, -0.0614911206, 0.012573855, -0.0159581136, -0.025952151, 0.0075433953, -0.0007344111, 0.0331467837, -0.0129348896, 0.0303055514, 0.0013196818, 0.0211164504, -0.0460128114, 0.0372315608, -0.0354109108, 0.0241253693, -0.0067298533, -0.0037992778, -0.02889782, 0.0253348853, 0.0009592129, 0.0089932419, 0.011354682, 0.0099463556, -0.0377970263, 0.0405633114, -0.0071469913, 0.0461162291, 0.0062159817, -0.0190697722, -0.0179780908, -0.0143106868, 0.055072397, -0.001588536, -0.0044088848, 0.0221718941, 0.0169668049, 0.0518435948, -0.0456692241, -0.0053423513, 0.0182285998, 0.0000910771, 0.0254521146, -0.0665398911, 0.0164534636, -0.0031118826, -0.0193643216, -0.0330830403, -0.0005631683, 0.0821941644, 0.047043208, -0.0645947009, -0.0007605111, -0.0279197544, -0.004252878, -0.0300135557, 0.0229703896, -0.0715842545, -0.0124768047, -0.0236754827, 0.0072833528, -0.0191536676, -0.0439755917, 0.0018612426, -0.0279389657, 0.0176300611, 0.0027338953, -0.0880250186, -0.0369502641, -0.0753120407, 0.0319937803, -0.035438966, -0.029797297, -0.0028225132, -0.0255330838, 0.0065085934, 0.0319594555, -0.0515964404, -0.1232716367, 0.0048563583, -0.0248311553, 0.0722048208, 0.0277400985, 0.0062863193, -0.0198989101, 0.0162074547, 0.023220839, -0.0430123471, -0.0349889286, -0.0237500295, 0.0890430138, -0.0285494607, 0.0260048397, -0.0086181248, 0.0319328532, -0.0277502388, -0.0505775847, 0.0039779753, 0.0884118751, -0.0071202335, -0.0060826442, -0.0519875102, -0.0060429987, 0.0027329344, 0.0462363474, 0.0047828397, 0.0051449239, -0.0017126591, 0.0365916342, 0.0493921824, -0.0042989817, 0.0187991615, 0.0186143536, -0.0940755606, -0.0307540633, -0.0588912629, -0.0258400701, 0.0534769744, 0.0022799901, 0.0482959785, 0.0537876152, 0.0216063, -0.0101334639, -0.0592533313, 0.0479850248, 0.0225264058, -0.0329251364, -0.0446299538, -0.0871059, 0.0493493192, -0.0017534766, -0.0108230859, 0.0367709361, 0.0121010179, -0.0356707051, 0.0145191224, 0.0163985435, 0.01763504, 0.0221736617, -0.0095143802, -0.0164531227, 0.0979314223, 0.03459334, -0.0445537642, -0.0504554287, 0.0408132263, -0.0424094722, -0.0158521887, -0.0164871924, -0.0240254346, 0.0715108067, 0.0230236724, 0.0202987641, -0.0181795973, 0.0273150206, 0.0652470589, 0.0340990052, 0.1042582989, -0.0393407792, -0.0177472737, -0.0557709523, -0.0115906661, -0.0117184985, 0.0269202758, -0.0134387603, 0.0074416231, 0.0608985946, -0.0017332786, -0.0113732414, 0.0084338291, -0.0741486847, -0.0127975307, 0.0212395806, 0.0298723057, 0.0202884711, 0.0326426439, 0.0335341841, -0.0222137198, 0.0023629107, -0.0068133986, -0.0204786845, -0.0232236516, -0.0396727696, 0.00216726, 0.0136477947, 0.0180063583, -0.0300980285, 0.0395816974, -0.0723395273, 0.0449585244, -0.0191974044, 0.0106028579, 0.0127677443, -0.0041536405, 0.0336558297, -0.0197497644, -0.0225368384, -0.0200333595, 0.0199167598, -0.0489810929, 0.0642049089, 0.061643932, 0.0171473175, -0.0204955004, -0.0532370172, 0.0552354231, 0.0032324945, 0.0709248111, 0.0023750511, -0.0454136916, -0.0176457763, 0.0086792363, -0.0062673348, 0.0365432762, -0.0572813675, -0.0044214046, -0.0531967096, 0.0134118823, 0.0387793332, 0.0108639449, -0.0395298265, 0.0194650088, 0.0311657302, 0.0332262181, 0.0221435558, -0.0710016713, -0.0358214006, 0.0466813594, -0.0007759843, -0.0200966969, 0.0266889241, -5.688284387e-33, -0.0210712757, -0.0111775724, 0.018087903, 0.0560716949, -0.0078217126, 0.0134806894, -0.0104618296, -0.0158284027, 0.0112492917, 0.0511095561, -0.0047710463, 0.0036922572, 0.0105683748, -0.0126707591, 0.0044290228, 0.0074704695, 0.0138301393, 0.0303074624, -0.0219214354, 0.0039694738, 0.0049219234, 0.0620371029, 0.0728735626, -0.0627029836, 0.0040278188, 0.0699986219, 0.0304181874, -0.0548297539, 0.0243295077, 0.0617977045, -0.0336971283, 0.0557370856, 0.0271789897, -0.006296155, -0.0200421326, -0.0259056557, -0.1009799689, -0.0186921805, 0.0363595225, -0.0209443271, 0.0065200552, -0.0420041755, 0.0485871434, -0.0157437958, -0.0074757952, -0.0042629344, 0.0470275767, -0.049183514, -0.0738917515, -0.004765891, -0.0740944743, 0.0555792712, 0.0267288219, 0.0515879467, 0.0345221981, -0.0328712203, -0.0180285908, 0.0371949188, -0.0235066004, 0.0179086514, 0.0660923347, 0.0402053297, -0.0089550996, 0.0283597745, 0.0217399858, 0.0574623123, 0.0020589603, -0.0308557022, 0.0308354739, 0.0526548997, -0.0092311921, 0.0257071406, -0.0154518727, 0.0479061306, 0.0812300369, -0.0043886206, -0.0389241539, 0.0410066061, -0.0473164991, 0.0164076984, -0.0076759532, -0.0159332659, -0.0196989104, 0.0106702326, -0.0094380984, -0.0105113378, -0.0064973454, -0.0397787914, 0.01941224, -0.0201635174, -0.0235223994, 0.0405527763, 0.001496998, -0.0087231984, -0.0217536241, -0.0242279191, 0.0374070853, 0.0043916283, -0.0326940306, -0.0247421321, -0.0888354406, -0.0669241026, 0.0403735116, -0.0208405945, 0.0383426137, -0.0280894022, 0.0314397775, -0.0405109599, -0.0229792204, -0.0232217647, -0.0047679981, -0.0290678032, 0.0041996292, 0.0164182503, -0.0088785216, 0.0346374065, 0.0071611982, 0.0067660133, 0.0469742715, 0.0122045055, -0.0118483705, -0.0200122278, 0.0113460124, 0.0234001353, -0.0073431288, -0.0028286336, -0.0125640398, 0.0044613043, 0.0400166176, -0.0468964949, 0.0117846215, -0.0025627897, 2.524e-7, 0.1187296808, 0.050990928, -0.002258925, -0.0446007177, 0.0180675536, -0.0140279057, -0.012687467, -0.0120076323, 0.0024168196, 0.0114838704, 0.0306821782, 0.0015869949, -0.0348327979, 0.0254747942, -0.0292592347, -0.0613749996, -0.0240525566, -0.0411657803, -0.016734574, -0.0212612674, 0.017642105, 0.0698571801, -0.0159448888, -0.0190826934, -0.0150444685, -0.0122008342, 0.0167074911, -0.042930223, -0.0060079964, 0.0823235661, 0.0268578026, 0.0019052541, 0.0150822988, 0.0518581569, -0.0277166981, 0.0068157362, 0.0020577614, 0.0459146015, -0.027192669, 0.0610841289, 0.0104362033, -0.003682998, 0.0474476106, -0.0253947806, 0.0062086964, -0.0799457282, -0.0427705459, -0.0402042009, -0.0405919254, 0.0233743601, 0.0271418002, -0.0250534005, -0.0241724737, 0.0382066965, 0.0085186977, 0.0287413262, -0.0497538894, -0.0727016851, -0.0008770849, 0.0440729447, -0.0014713175, -0.0388341732, 0.0160415303, -0.0598470122, 0.0094619226, -0.0905513018, -0.0053025926, 1.88460202e-34, 0.0111494325, -0.0310526229, -0.0141778653, 0.0477758683, -0.0016017829, -0.0252563357, -0.0087978337, 0.0249125157, -0.0317916609, -0.075864017, 0.0366765894 ]
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.0054469663, 0.092234686, -0.0030134539, 0.0202987008, -0.0202003624, 0.0366267636, 0.0286784433, 0.0457426347, 0.0477601886, -0.009476196, 0.0077263652, -0.0436687469, -0.0138150267, 0.0266215615, 0.0085081523, -0.0486570708, 0.0008710193, -0.0309206285, 0.0031257616, -0.0201190263, -0.0315312594, 0.0366648994, 0.0204234254, 0.0473952368, 0.0140412543, 0.0316657275, 0.0118869869, -0.0165691674, -0.0129472138, -0.0493845157, -0.006502009, 0.0429746173, 0.0106064482, -0.0158052351, 0.0000020955, -0.0603383668, -0.0243570786, 0.0156483836, -0.0259418022, -0.048964411, -0.0063599907, -0.0655278042, 0.015992973, -0.0057074195, -0.0180238634, -0.0361088924, 0.0447798632, 0.0586536899, 0.0002594823, 0.0503935851, -0.0192139167, -0.0026014168, 0.0054090726, -0.0615580492, 0.0424637012, -0.0378234647, 0.0319497846, -0.0436819829, -0.00248439, 0.0140282148, 0.0022031947, 0.0077654049, -0.0080449432, 0.0305446889, 0.0060556969, 0.0675553381, -0.0462907255, -0.0111731151, 0.0023011782, 0.0426455662, -0.0476653986, 0.0032185749, 0.044248648, -0.0083352765, -0.0137490928, 0.0286596287, -0.050348863, -0.0234611202, 0.0039034421, 0.0270568524, -0.0040006842, -0.0234975759, 0.0510384105, 0.0269894358, -0.0275414828, 0.0468006022, 0.0185668617, -0.0066066156, 0.081075415, 0.0164152924, -0.0429278277, -0.0257642288, -0.0314435624, -0.0038700351, -0.0458958074, 0.0028590281, 0.001616659, 0.0143787563, 0.0490265042, -0.0378883518, -0.0045253644, 0.0115120867, -0.0034542482, 0.0675448924, -0.0274799578, 0.0171105061, 0.0080020996, -0.0088348547, -0.0235917363, -0.0069890111, -0.0372761078, 0.010631931, 0.0310899131, 0.055832684, 0.0147157153, 0.0162501093, -0.0548142344, -0.0131841274, 0.001090653, 0.0118617052, 0.0255583059, 0.0251807775, -0.0240423065, -0.0165921301, -0.0292606521, -0.0136673758, 0.0131625859, 0.0159238055, -0.0565355755, -0.0496026427, 0.0021910376, 0.0236924645, -0.0185399819, -0.0458542667, 0.022399025, 0.0807535052, 0.005773244, -0.0482245944, -0.0272263773, -0.026470175, -0.0249363706, -0.0386165082, 0.0064189397, -0.0600995161, -0.0021349308, 0.0307128094, 0.033941187, -0.0546611883, 0.0357826278, -0.0146614453, -0.0378125943, 0.0569699071, 0.0082760984, -0.0073414869, 0.0021863512, -0.0079093762, 0.0006462908, 0.0552403666, 0.018330941, 0.0491358377, -0.0000561741, -0.011056181, 0.019512333, 0.0363306738, -0.0198788624, 0.0231700782, -0.0159949958, 0.0039873817, 0.0460837148, 0.045163814, 0.0042482428, 0.0149383536, 0.0156657621, -0.0316423662, 0.0592230111, 0.090293102, 0.0435227379, 0.0310285408, -0.008805274, -0.0058014914, -0.025148442, -0.0338960551, -0.0157350264, 0.0077709225, -0.0297205392, -0.0045200777, 0.0028882558, -0.0001493605, -0.0204477478, -0.0317521617, -0.0275519956, -0.0134524964, -0.0352163985, 0.0448443815, 0.0524088033, -0.0527184978, -0.0213286281, 0.0626747757, 0.0444577038, -0.0186136421, -0.0489685796, -0.0661905184, 0.0123281013, 0.0513999201, 0.0295082144, -0.0482267328, -0.0109051904, -0.0122859804, 0.0215746127, -0.0101122959, 0.0235728975, 0.0135013815, 0.0382544287, -0.0241608098, -0.0280703939, 0.0427512936, 0.0293317419, 0.0008845221, -0.02397535, 0.0517508239, -0.0051901713, -0.0014865763, -0.0626213178, 0.0393489599, -0.044056803, -0.0506962463, 0.0532804243, 0.0089519946, 0.0435175672, -0.0246674176, -0.0273473412, 0.0013698542, 0.0224144645, -0.0564337671, -0.0039006199, -0.0205111783, -0.0074313083, -0.0172128771, 0.0084151169, -0.0249633342, 0.0232958384, -0.0084303254, -0.0438621789, -0.0121446215, -0.0329534858, -0.0359132402, 0.0221323725, -0.0466426015, -0.010545549, -0.006406913, -0.0120065613, -0.0485041849, 0.0345480591, -0.0151885841, -0.0091538224, 0.0019034008, -0.0591356196, 0.013920038, -0.0291984137, -0.0138808424, 0.0863574222, 0.0487520695, 0.0033319579, 0.0158219896, 0.0179306995, -0.0075261011, -0.0319206044, -0.1186834127, 0.0195145365, -0.0217222106, -0.0087515153, -0.0211081542, 0.0100067239, -0.021649316, -0.0309688039, -0.042389214, -0.0227062982, 0.0151115935, 0.0159409475, 0.0169345774, 0.0203668904, 0.0156784188, -0.0340288915, -0.0134876138, 0.0040754108, 0.0635579303, 0.0300782342, -0.0131451441, 0.0179134551, 0.0417436771, -0.033513017, -0.0328524485, -0.0148910405, -0.0067436201, -0.0269562565, -0.0656422526, -0.0724523887, 0.0327794366, 0.0002503801, 0.000192301, 0.0718885809, 0.0104751037, -0.0188319627, 0.0131358653, -0.061070729, -0.0183096603, -0.0139676752, -0.0366846099, 0.0278676432, 0.0323498361, 0.0318225361, 0.0068634208, -0.0393042453, 0.0224200822, -0.0063414378, 0.0112277372, -0.0796784386, 0.048901163, -0.0282000415, 0.0604696348, 0.0011172045, -0.0850706398, 0.0807228982, -0.0078799967, 0.021324791, -0.0457000546, -0.0082997484, -0.0694041029, 0.0419302806, -0.0103565818, 0.002958938, -0.0056235311, -0.0074767829, -0.0050143306, 0.0057914807, -0.0004296847, -0.0545450673, 0.093933925, -0.0498956889, 0.0400271527, 0.0379070826, -0.0592109226, -0.0331281535, -0.0223702937, -0.0453585312, 0.01139904, 0.0073533407, 0.0025680431, -0.0119837644, -0.0166269429, 0.001277901, 0.0492273383, -0.015560356, -0.0023793981, 0.0204106532, -0.0284539107, 0.05601006, 0.0220981892, -0.004844856, -0.0312470794, 0.0380313657, 0.0233774781, 0.0163121, 0.0067621227, 0.0138909267, 0.0259634983, 0.0228247587, -0.0389756747, -0.0228305124, 0.015348007, 0.0244012978, -0.0579036996, 0.0429771096, 0.1256953925, 0.0104444465, -0.0905344263, 0.0004112682, 0.0017265006, 0.0461116508, -0.0060315933, 0.0238630082, -0.0408542156, -0.0434720851, 0.0140854279, 0.0550935306, -0.0048597506, -0.0465907156, 0.0201746412, -0.0565347821, 0.0690634176, 0.0267491248, -0.01605241, -0.0064338227, -0.0754513219, 0.0291496199, -0.0563514829, -0.0044058734, -0.0195476729, -0.0383513421, -0.017870076, -0.004270236, -0.0454695038, -0.053752616, 0.042999655, 0.0051964116, -0.0246904586, 0.0934322029, 0.0354823247, -0.0307851247, -0.0090447851, -0.0067156712, 0.0225254986, 0.0106209293, -0.0435650013, 0.0873852149, 0.0283752345, -0.0254763681, -0.0169274602, 0.0479669124, -0.0171027184, 0.0242597535, 0.0214878693, 0.0889933854, -0.0497928336, -0.0413555056, 0.0173814762, -0.0250154473, 0.0153120933, 0.0588962361, -0.0055843825, -0.0460272804, -0.0354021303, -0.0373374894, -0.005845651, 0.0203153845, -0.0920044184, -0.0026578973, -0.0160531085, -0.0238428656, -0.0425609015, -0.0188553333, 0.0967478082, -0.0173383653, 0.0149478354, 0.0599967651, 0.0017697908, 0.013973699, -0.0190306082, 0.0455491953, 0.0141554149, 0.0228960402, -0.0568442084, -0.0234431066, 0.061488688, -0.0444129072, -0.0162755139, -0.0116351228, -0.0545118898, -0.0376465693, -0.0256905574, 0.0482626967, 0.0175679065, 0.0103822658, 0.0061269593, -0.0576609522, 0.0564107373, 0.0518607311, -0.013105209, -0.002834938, 0.0005665511, -0.0389857441, -0.0154056419, 0.0335790478, -0.0113911089, 0.0204946324, 0.0091097215, -0.0355426781, -0.0034075985, -0.0314636715, 0.0007872045, 0.0451820642, 0.0500704795, -0.022467196, -0.0048109619, -0.0285382923, 0.0271605868, 0.0513555929, 0.01642262, -0.038456779, 0.0394886918, 0.0135059217, -0.0082606273, -0.0072809625, -0.0092683937, -0.0288660657, -0.0278723836, -0.0660648271, 0.0396545455, -0.0191633329, -0.014082158, 0.0843926817, 0.0001070711, -0.0026515718, 0.0313519351, 0.0331484228, 0.04081586, -0.0035353818, 0.0265869144, -0.0026963803, 0.0236695316, -0.0231250972, -0.0001401563, -0.0430230573, -0.1012573019, -0.0243660472, 0.0294019822, 0.0571039543, -0.0537607148, 0.0634678081, -0.038977392, -0.0073045599, -0.0737097263, 0.0070753763, -0.0067279609, 0.0352047756, 0.0063782344, 0.0169788171, -0.0508203134, 0.0037908289, 0.1010329425, 0.0343687981, 0.0399955027, 0.0347436145, -0.0341586024, -0.0292565152, -0.0145112369, 0.0609925203, 0.0008996531, -0.0414634235, 0.0207932368, -0.0494508855, -0.0328739807, 0.0501801074, -0.0655139089, -0.0502629988, -0.041499503, 0.0508588664, 0.0440941676, -0.0179439485, 0.0100958273, -0.0465279296, -0.0030047277, -0.0402139127, -0.0365207307, -0.0122346291, -6.189251794e-33, 0.0355501436, -0.0163010787, -0.0058394917, 0.0228445046, 0.0176623259, 0.0128810825, -0.0253729522, 0.0097561115, 0.0195372254, 0.0295641832, -0.0254686102, -0.0292197987, -0.0049772672, 0.017535571, 0.044812236, -0.0456407852, 0.0445409603, 0.009337428, -0.0095857112, 0.0399587862, 0.0093281064, 0.0328064039, 0.0474968217, -0.0673239753, -0.0081365071, 0.0227068812, 0.0216421876, 0.0119668487, -0.0163852256, 0.0514343269, -0.015409451, 0.0398858897, 0.0262612775, -0.0515821949, -0.0111883227, -0.0414594188, 0.0107179247, -0.029681392, 0.0020486603, -0.028268002, -0.0016823916, -0.0344915204, 0.0336249769, 0.0014138451, -0.0391416065, -0.026643971, 0.0124303745, -0.0531171709, -0.064903073, -0.0475761481, -0.0047192662, 0.05154204, 0.0031238166, 0.0147203067, 0.0480828285, 0.0106290663, -0.0310028065, 0.0314672291, 0.0053491378, 0.0030570189, 0.0596175045, 0.0505791567, 0.0165488329, 0.0065339673, 0.0038913121, 0.0907348692, 0.0027735743, -0.0272961482, -0.0104549341, 0.0208581015, -0.0186451487, 0.078810811, 0.0363388956, 0.0194414295, 0.0283159874, -0.0292527936, -0.096616216, 0.0307319872, -0.0132297687, 0.0096377339, 0.0224527549, -0.0148389647, -0.0302028973, -0.0324445963, -0.0447755195, 0.0204345323, -0.0262074508, -0.0438513607, 0.0050706421, 0.022975916, -0.0058332081, 0.0168021303, 0.0241104867, -0.01466389, -0.0338261873, 0.027741136, -0.023005018, -0.0271371603, 0.0234748237, 0.0085721351, -0.0314915217, -0.001503421, -0.0225139484, -0.0470199063, 0.0240941849, -0.0102162296, 0.0006704309, 0.0052073495, -0.0437027588, -0.0079449443, -0.0018769464, -0.0105175544, -0.0030112038, 0.0377233103, 0.0330451913, -0.0001193378, 0.0264263619, 0.0675916821, -0.0139865549, -0.0130577423, -0.0576709025, -0.0018477889, 0.0087898867, 0.0041885832, -0.0352253169, -0.0001070806, -0.0251795705, -0.0191999096, 0.0590390228, -0.0234002974, -0.0245364271, -0.0088214362, 2.774e-7, 0.025426697, 0.0733994544, -0.073114574, -0.0149942711, 0.0145701142, 0.0361633822, -0.0241818409, 0.0198579822, 0.011779597, -0.0141953798, 0.0393246226, 0.0152917886, 0.0873304754, 0.0512792319, -0.1180769131, 0.0147136096, -0.01856401, -0.0249430649, -0.0751156658, -0.0499133319, 0.042634353, 0.1217371523, -0.0186765883, -0.0254939105, 0.0485151075, -0.0201422442, 0.045999743, -0.0680328757, -0.0267090611, 0.012555982, 0.0357289612, 0.0261941757, -0.0185135398, 0.0143324519, -0.0239220448, -0.0036758594, -0.0033310703, 0.1071421653, -0.0036394862, -0.0291846469, 0.0125963315, 0.0473125353, 0.033481352, -0.0117769949, 0.1105475873, -0.0010467069, -0.0246469416, -0.0316074304, 0.0531779639, -0.039222274, 0.0636628047, -0.0456812643, -0.0067193476, 0.0417292044, 0.0102696652, -0.0294987001, -0.0004264693, -0.019815715, -0.0093285916, 0.0409250855, -0.0797250122, -0.0463647768, -0.026126368, 0.0195691921, 0.0033911844, -0.0398631617, 0.0396200903, 2.622744399e-34, 0.0250139106, 0.0080628712, 0.0049376129, 0.0408134572, 0.007572507, 0.0019599418, 0.0281117186, 0.0187289398, -0.0037117084, -0.0814729184, 0.0094162896 ]
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.0158196297, 0.0018854212, -0.0189044904, 0.0635381117, -0.0534993745, 0.0185039248, 0.025887195, -0.0063462537, 0.0445954129, -0.0396115929, -0.0080369702, -0.0296833161, -0.0226164982, 0.0317876711, 0.0500290282, -0.0437665582, -0.0060987659, -0.0863573477, 0.0011115399, -0.0328103192, -0.0187394973, -0.0146244531, 0.0034525639, 0.049733188, -0.0270690285, -0.027887594, -0.0031218389, -0.001758856, -0.015758533, -0.0353463627, -0.0734554529, -0.0139407218, 0.0312573463, 0.0262245517, 0.0000018169, -0.0513829738, 0.0118407663, 0.0068170708, -0.0453977548, 0.0037941309, -0.0125932638, -0.0218938086, -0.0040537599, 0.014378475, -0.0116956895, -0.0110955285, 0.0386225171, 0.0429389961, 0.0390243232, 0.0754012316, -0.0055133789, -0.0622108206, 0.0026857129, -0.0160404388, -0.0092221089, -0.0415333062, 0.0439928733, 0.0318894833, 0.0270872116, 0.004227248, -0.007861739, 0.0442349762, 0.0258641001, -0.0112526892, 0.0251279306, 0.0568495207, -0.000586001, 0.0026340059, 0.0071182684, 0.05686187, -0.0233457275, -0.0077340878, -0.0134698292, -0.0072751492, 0.0069440021, 0.039031446, -0.0622892641, 0.0350683406, -0.0081000635, 0.028408587, -0.0163203441, 0.0143423928, 0.0444941409, -0.0264868103, -0.0787686557, 0.1074538231, 0.0040966603, -0.0240372904, -0.0101460926, -0.0112500396, 0.0102215325, -0.0428886972, -0.0042523318, 0.0855244547, 0.0320463032, 0.0233950783, 0.0047834632, 0.0308465026, -0.0144384652, -0.0939844549, 0.080558002, 0.0087496713, 0.0282906722, 0.0894193053, -0.0510602854, 0.0646520257, -0.0516467206, 0.0378817879, -0.0390306525, 0.0146201588, -0.0093154488, -0.0024818936, -0.0492166579, 0.0269820485, -0.0131110083, -0.0382244997, -0.0012931869, 0.0592421629, 0.0065227845, 0.0251528397, -0.0266977418, -0.0016025032, 0.0283671115, -0.0741481334, -0.0279551931, -0.0020654048, -0.0314034782, -0.0257466193, -0.0403127782, -0.0319076143, -0.0149547029, 0.0139593249, 0.0205160771, -0.0246003214, -0.0075911889, 0.0921810344, 0.0490571894, -0.0209952295, -0.0330486372, -0.0057915468, -0.0371385962, -0.0872726291, 0.0012659791, -0.0560717098, -0.0017128817, 0.0136597706, -0.0322549008, -0.0480687805, 0.0106753306, -0.0112938313, -0.0490611866, 0.0513568297, 0.0421102867, 0.0596228838, 0.0228618924, -0.0291206036, -0.003031861, 0.0655682236, 0.0340888351, 0.024779357, 0.0207515806, -0.0289575737, 0.0404576585, 0.0148136392, 0.000004807, 0.0174190756, -0.0767858699, 0.0161643438, -0.018089937, 0.0394433551, 0.0027550482, 0.060748823, -0.0137829008, -0.0424486995, 0.0533808395, 0.0624120235, 0.0368785933, 0.0179269724, 0.0474297777, -0.0084436024, 0.0009430666, 0.0139398454, -0.0648637787, 0.0452612415, -0.0030109605, 0.0123462249, 0.0268808696, 0.0048002605, -0.0246826727, -0.0539099947, -0.0675355196, 0.0263970643, 0.0047392999, 0.0242790766, 0.0711806118, -0.0102590257, -0.0086599635, 0.0246796403, 0.0079792636, -0.0280854274, -0.0147060696, -0.0446193814, 0.0134679805, 0.0457226299, 0.0230907127, -0.0353753231, -0.0132812727, 0.0226607546, -0.0251465514, 0.0291319937, 0.0312448703, 0.0169265941, -0.0088864136, -0.0032161963, 0.0026061421, -0.0334519297, 0.0013111582, 0.0332651176, 0.0019252476, -0.0303698126, -0.0072923196, -0.051483646, -0.0440285727, 0.0277095754, -0.0065327841, -0.021653505, -0.0047125695, 0.0437567458, 0.0105107455, 0.0113737714, 0.0040646992, 0.0305550303, 0.0212560203, -0.0511960723, -0.0163605008, -0.0200299285, -0.0366937555, -0.0028761972, 0.0367646143, -0.0093130972, -0.0047246167, -0.0105565917, -0.0080664167, -0.0337597579, 0.0764654353, -0.0529620163, 0.0619620048, -0.010316154, 0.0304373391, -0.0195558742, 0.0139279729, -0.0381594077, 0.0627544969, 0.0089040436, 0.0282657091, 0.0083687119, 0.0547436327, 0.0327613354, -0.0236447975, 0.0064711198, 0.0242536999, -0.0146757299, 0.0160242636, 0.0116574997, -0.0422945172, -0.0187574904, -0.0339158624, -0.0026730751, -0.0444469713, -0.0040456383, 0.0099015469, 0.0046577868, -0.0245512445, -0.0017707433, -0.0119360965, -0.0029337299, 0.0111615341, -0.0096049644, 0.0291204639, 0.0559057519, 0.0067908987, -0.0481095463, 0.0007464385, -0.0335895605, -0.0264257286, 0.0617446601, 0.0160540212, -0.0162189547, -0.0642283112, 0.0181763433, -0.0161712468, 0.0503393002, -0.0229274426, -0.0232640021, 0.0151363974, -0.0635925233, 0.033734832, 0.1293860674, -0.029039301, 0.0457058735, 0.0859895125, -0.0011557485, -0.0336116888, 0.0344223306, -0.0454459637, 0.0031385422, -0.0325283296, -0.0199091751, 0.0015050562, 0.0645799562, -0.0184435081, -0.0405455045, -0.0526135638, 0.0269229021, -0.0078587802, 0.0174565818, -0.0034333426, -0.0096027395, -0.0108646993, 0.0603978895, -0.0159865189, -0.0644249991, 0.0649102628, -0.0335424207, -0.0093680127, 0.0033600191, -0.0104215899, -0.0651447326, 0.0910665318, 0.0119402446, 0.0282825734, -0.0132362042, -0.0430497974, 0.0111154597, 0.0059509012, 0.0021912232, 0.0035282176, 0.0720159337, -0.028447859, 0.0262464602, -0.0012575821, -0.0208385549, -0.0458976366, -0.0148939667, -0.0502081104, -0.00764998, -0.0140071232, -0.030117156, -0.0261091553, 0.065922536, 0.0291363113, -0.0237273891, -0.0250610802, -0.0193691626, -0.0098625412, -0.0099561382, 0.0089825811, 0.0496147908, 0.0494182333, -0.0126328813, 0.040181715, 0.0508111715, 0.0072096474, 0.022390008, -0.0291389823, 0.008162017, 0.0198203437, -0.0207721051, -0.0204458125, 0.035158623, 0.0532358587, -0.0643657371, -0.0120272674, 0.0879183114, 0.0051215719, -0.0088873627, 0.0111696785, -0.0127734048, 0.0232462715, 0.0606313758, 0.0511857308, -0.0000052057, -0.0087949429, -0.0020118407, -0.0159190111, 0.0103361104, -0.0517982468, -0.0269476771, -0.1061211005, 0.0156479757, 0.0176425725, -0.0210968889, -0.0746574178, -0.0395581312, 0.0166330598, 0.0458985269, -0.0252686795, -0.0063697603, -0.0322574154, -0.0397255756, -0.0030819771, -0.0290762726, -0.003523754, 0.0129932016, -0.0099805929, 0.0323725715, 0.0029047478, 0.0438479036, -0.0056307642, -0.0385705605, 0.0313988701, 0.0107809352, 0.033146441, 0.0037064638, 0.0167343803, 0.0296014063, -0.0055662752, -0.0052092215, 0.0014132046, -0.0210066903, -0.0078783846, -0.0283468999, 0.0999468565, -0.0156386476, -0.0592050701, -0.0165541712, 0.0282130614, -0.0516061671, 0.0514650494, 0.0640686899, 0.0137004387, -0.083638005, -0.057293389, -0.0237978734, -0.0135957617, -0.0366783999, 0.0536042936, 0.0378450677, -0.0149390269, -0.0088533312, 0.0170993526, 0.0254308116, 0.059275277, 0.0110019539, -0.0227675904, 0.0362357683, -0.013456203, 0.0250612181, 0.0347026102, -0.0356665887, 0.0165751204, -0.0206534974, 0.0263921041, -0.0036965497, -0.0345622413, 0.0132063041, -0.0058449237, -0.0402359664, -0.0720450729, 0.0013319273, 0.0189211704, 0.0256186221, 0.0310471002, -0.0270284899, -0.0547779575, 0.0015753724, -0.0207741093, -0.0219651423, 0.006406242, 0.0374532267, 0.0416978784, 0.027949607, 0.069878757, -0.0170895495, 0.0287864711, 0.032523144, 0.0004106123, -0.0313276276, -0.0434075855, 0.0168206822, 0.030042354, 0.003542447, 0.0445799939, 0.0244011339, -0.0323474184, 0.0063257758, -0.0433817282, -0.0114778271, -0.0433510467, 0.0087168235, 0.008780892, -0.0264629237, 0.0079834601, -0.0492778197, -0.0119901327, -0.0133113302, -0.0273209698, 0.0118041392, -0.0160001963, -0.0232798923, 0.0556901656, 0.0089512886, -0.0306880046, 0.0147325825, -0.0184291508, 0.0316256545, 0.0111899069, 0.0559420064, 0.0257946104, -0.0308904108, -0.0817884281, -0.022029968, -0.1047859415, -0.0911544636, 0.0474075228, -0.0039435085, 0.0634491667, -0.0137209333, 0.0070593171, -0.0329734571, -0.0137346303, 0.0048827939, 0.0149843628, 0.0154306572, -0.0470493697, 0.0243808925, 0.0358105302, -0.0161559936, -0.0032343992, 0.0419970527, 0.0029020107, 0.0119103147, 0.0376826264, -0.0008723865, -0.0226980541, -0.0313117616, -0.0116114523, 0.0520475283, -0.008529352, 0.0544666238, -0.1037553102, -0.0839853659, -0.0250411574, 0.0122542363, -0.0159470048, -0.0318939053, 0.003806999, 0.0431233421, 0.0265888926, -0.0162625574, -0.0360491164, 0.0379271805, -0.0113836918, 0.0227378011, 0.0253136493, -6.232392437e-33, 0.0019110455, -0.058446534, 0.0161676835, -0.0239344463, -0.0306057278, -0.012707144, -0.0381345712, 0.0126077821, -0.0501148477, 0.0242754202, -0.0274009891, 0.006581571, -0.0117424158, 0.0214047581, 0.0205182396, 0.006368841, -0.0159346908, 0.0315049253, -0.0174278039, 0.0264512207, 0.0312602557, -0.0007507745, 0.0351847261, -0.0582689568, 0.0032963059, -0.0020840894, 0.0298930779, 0.0569723919, -0.0364606604, 0.0611741394, -0.0252833143, 0.036630325, 0.0358368196, -0.0452095158, -0.018665079, 0.0265089311, -0.0340504572, -0.0338605233, 0.0147204529, -0.0066137207, -0.0343531966, -0.0288213082, 0.0612602904, 0.0083795749, 0.0032801786, -0.0621414445, 0.0317171253, -0.0265894867, -0.0419617184, 0.0407721736, -0.0238125008, 0.0390129052, -0.0330263264, -0.0022264996, 0.0543873161, -0.0035606914, -0.0220742822, 0.0251396969, -0.0049036527, 0.0238136426, -0.0115921246, 0.0229409188, 0.0472706333, 0.0216112155, 0.019159453, 0.0393484272, 0.0267603677, 0.0020211032, -0.0673585385, -0.0570598133, 0.0045289071, 0.0620891899, 0.0259481091, -0.0080179423, -0.01913964, 0.0166335814, -0.060406398, -0.0415280201, -0.0147280823, 0.0671484321, 0.0318639539, -0.0004047101, -0.0576748997, -0.0368913859, -0.0208158102, -0.0095508713, -0.0508986413, 0.0069545791, 0.007832461, -0.0190429706, -0.0020301833, -0.0077602481, 0.0141463177, -0.0582839213, -0.0449853539, 0.0231571533, 0.0154687548, 0.0140851894, 0.0034615949, 0.0570162758, -0.0305556189, -0.0231900308, -0.0627861619, -0.0138204964, -0.0057124938, -0.0040355786, 0.0085017458, 0.0199860539, -0.0473834313, -0.0500045978, -0.0700892061, -0.0318982713, 0.0128192082, 0.0166722182, 0.0652246252, 0.0081153782, 0.0127992295, 0.0650141463, -0.0040206746, -0.0098841097, -0.0115764476, 0.0239456706, -0.0118897157, 0.0210946035, -0.0281114876, -0.0143733807, -0.0765189677, 0.0271907486, 0.0754041374, -0.0655479655, -0.045243986, 0.0190830547, 2.681e-7, 0.0570014976, 0.0547076501, 0.013671021, 0.0463105738, 0.0374158099, 0.0468212925, -0.0349359438, -0.0004175411, -0.0096229715, 0.0033881364, -0.0121739879, 0.0578792579, 0.0180915743, -0.0004674951, -0.0584476702, 0.0490429811, -0.0211463645, 0.0015841782, -0.0347641185, 0.0099868951, 0.0349193476, 0.0537450202, 0.0240759049, 0.0109340968, 0.0098796524, -0.0723954737, 0.0183040202, -0.0063917767, 0.0492235534, 0.0181921162, 0.0154867237, -0.001918874, -0.0083660567, 0.0151652312, 0.031580966, 0.0428115577, -0.0203128625, 0.0766495615, -0.0049428083, 0.0113425925, 0.0006573113, -0.063659735, -0.0076337932, -0.0881219879, 0.08015012, -0.0631522611, -0.0588170998, -0.0014610336, 0.0531292371, -0.0104553737, 0.003128333, 0.01708108, -0.0096510034, 0.0051745875, 0.0259124041, -0.0684712678, 0.0436321087, -0.1062348858, -0.0263797697, -0.0030284231, -0.0561955161, 0.0023606615, -0.0483324789, 0.013291819, 0.077360101, -0.0118364068, -0.0238512121, 2.527447164e-34, 0.0194614362, -0.0037676697, 0.0125595154, 0.0112102749, 0.0361357741, -0.0380460843, -0.0085471924, 0.0189349465, 0.0489185154, -0.1117071956, -0.027255211 ]
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.0543730035, 0.0354020819, -0.0108069787, -0.0045587444, 0.0137339551, 0.0104075084, 0.0036182932, 0.0035364872, 0.0361919403, -0.0712107271, -0.007331436, -0.0108541334, -0.0342517197, -0.009234501, 0.0107015399, -0.053256698, 0.0003936638, 0.0493893325, 0.0860232711, 0.0009807353, 0.0622511655, 0.0076774517, -0.0304520242, 0.0291926507, 0.0033656387, -0.0211715233, 0.0731396601, 0.0058516623, 0.0711160675, -0.1019900888, 0.0122884857, 0.0576732419, 0.0304931495, 0.0352994613, 0.0000015802, -0.0209812187, 0.0275380593, -0.0009241584, -0.0014612348, -0.0115359081, 0.0111892149, -0.0658847094, 0.0117418254, 0.0369504727, -0.038344942, 0.0292923022, 0.0592062548, 0.0556590036, 0.0615935586, 0.0535600185, -0.0326371379, -0.0404754579, 0.0053391564, 0.0046235477, 0.0266157798, -0.0070963451, 0.0641805306, -0.0055764844, -0.0072052451, 0.0084692584, -0.017215766, 0.0436695963, -0.0578557476, -0.0137526738, 0.0045346413, -0.0125294765, -0.0009748894, -0.0664760247, 0.0251440387, 0.0821487531, 0.0405895934, 0.0345477201, 0.0431210212, -0.0004595604, 0.0081251804, 0.0535606667, -0.0654085875, 0.0290162731, -0.0082239425, 0.0303885434, 0.0145607758, -0.0118844658, 0.0644188896, 0.025751736, 0.0740661025, 0.0091033159, -0.0092902351, -0.0070656207, -0.0135422396, -0.0334570929, -0.0132997418, -0.0516190194, 0.013973996, 0.0125768175, -0.0014614871, 0.0364033021, 0.0025204425, -0.0622797459, 0.0404543579, -0.0801357701, -0.000485506, 0.0439912491, -0.0300028045, 0.0189749692, 0.0490252711, -0.0386740565, -0.0138313146, 0.0235388018, 0.0388151146, 0.0465883464, -0.0544136539, 0.0312369727, 0.0042623482, -0.0098171029, 0.030698264, -0.0106028179, -0.0497560427, 0.0027879658, -0.0634116903, 0.0067167012, -0.0548220612, -0.0370008275, 0.0299991407, 0.0086373528, 0.0078764949, 0.0671578497, -0.0326574445, 0.0446408838, -0.0195771512, -0.0391844735, 0.0353707187, 0.0045653167, -0.0017353205, -0.0200965106, 0.0252733864, 0.0174750984, 0.0593485795, -0.0326337479, -0.0524126217, -0.039594803, -0.042326089, 0.0070981211, 0.007527851, -0.0591986366, 0.0296929311, 0.0045030783, 0.0003819888, -0.0474804379, 0.0199140385, 0.0170071311, -0.0807884261, 0.0706734806, -0.0289242957, 0.0005042363, 0.0825977623, 0.0818523467, 0.0022062694, 0.055911269, -0.0003192203, -0.0010038886, 0.0542595126, -0.0125978962, 0.0248422921, 0.0224725008, 0.0408260264, -0.0055718366, -0.001609818, 0.0093776705, -0.0305370484, 0.0149286157, -0.0292776302, 0.0343631059, -0.0216142107, -0.0012938306, 0.057805337, 0.0735041872, -0.0579452924, -0.0153018394, 0.0047418536, 0.0477269031, -0.0216135234, -0.0259586088, -0.0286702961, 0.0243125726, -0.0137051316, -0.038202893, 0.0653569773, 0.0074545918, -0.0456390567, -0.0133922258, -0.0512920991, 0.0053615998, 0.0071584191, -0.0267581586, -0.0130806779, -0.0158181619, -0.0023676197, 0.0511441715, 0.0769114569, 0.0327270143, 0.0185242947, -0.0425136089, 0.031309545, 0.060421966, -0.0047698808, -0.0261813644, -0.0261117313, -0.0410141498, 0.0526798591, 0.0255187601, -0.0011804349, -0.0164478105, -0.0343802199, 0.0140699642, -0.0126698902, -0.0077399467, 0.0416325852, -0.0244427659, 0.0172462463, 0.007837153, -0.0294752419, 0.0016235273, -0.0164103452, 0.0308846291, 0.0279717688, -0.0059357928, -0.0423289463, 0.0262994785, 0.0953142419, 0.0287506543, 0.0059102182, -0.0087723276, 0.0126637667, -0.0113863507, -0.0397022218, -0.0110940067, 0.0389796905, 0.0124201188, 0.0409618355, -0.0697392449, -0.0137209697, 0.0031633475, -0.0148412772, 0.0275893752, 0.0397343077, -0.0385312364, 0.0311671905, -0.0196794774, -0.0664937124, 0.005252609, 0.0098095387, -0.0206116922, 0.0466325469, -0.0459236018, 0.0149707496, 0.0121497884, -0.0724343583, -0.0351352692, 0.0241560247, -0.0256192982, -0.0499428846, -0.015250802, 0.0131568713, 0.0044821082, -0.05274757, -0.0122803906, 0.0047425223, -0.1265624315, -0.0105575053, -0.0198116135, 0.0010326812, 0.0380236655, -0.0196385235, -0.0062503633, -0.0018081957, -0.0131103108, -0.0177789703, -0.011647935, 0.0619368143, -0.012709667, 0.0393418036, -0.0085486406, -0.0203306023, -0.0033867895, -0.0450444594, 0.0083783437, 0.0212558005, -0.0434092097, -0.0025508967, -0.0591843911, -0.0834621713, -0.0174297635, -0.0358376727, -0.0123562077, 0.007209288, 0.0397848822, -0.0068196012, -0.0215148292, 0.037793234, 0.0832327604, 0.0377588086, 0.0539309345, -0.0030662292, -0.0197057724, -0.0298037119, -0.0292046145, -0.0645407587, -0.0742450356, -0.0015858539, 0.033853814, 0.0267057586, 0.0210303906, -0.0424251258, 0.0156589951, -0.0239200704, -0.0061739716, -0.0108962068, -0.0232158639, -0.0073488392, 0.0263351183, -0.0154033666, -0.0093609383, 0.0429050922, 0.007479473, 0.0383440442, 0.0115038482, -0.0202553272, -0.0136522781, -0.0066697039, 0.0109172752, 0.0627886876, 0.0007705582, -0.0150021017, 0.0280858576, -0.0510029979, 0.019412525, -0.0195094515, 0.0114953406, -0.0266644936, 0.0167426076, 0.0346340463, -0.0316307582, -0.0227420069, -0.0861264467, -0.0839392096, -0.0589742325, -0.0022663015, 0.0010833173, -0.0390542001, -0.0160473622, 0.0306515023, 0.0049270163, 0.0269683562, -0.0173194036, 0.0375921577, 0.0208476875, 0.0404029824, -0.0378438644, 0.0010960479, -0.0261087436, -0.0056348629, 0.0619578548, -0.0239758696, 0.0212477073, 0.0152776176, -0.0275377128, 0.0011174798, 0.0141279539, -0.002713535, 0.0289288834, 0.0278370176, -0.0079512503, 0.0011066231, 0.08162193, -0.0163309071, -0.0309704673, 0.0096143689, -0.0215320736, -0.0371288359, 0.0096890396, -0.0302510783, -0.0905410945, -0.020060828, -0.0620772578, 0.0347544774, -0.0386914164, -0.0045581311, 0.0024433229, -0.0365459658, 0.0515634082, -0.0045679193, 0.009921371, 0.0218652394, -0.0268207304, 0.0347842127, -0.0190994386, -0.0043528411, -0.0361617841, -0.0127040651, -0.0077056517, 0.0021129441, -0.0643245652, -0.0545440242, 0.0250232164, -0.0092636188, 0.0984458327, -0.0132015012, 0.0456088856, -0.0423280112, -0.0566997305, 0.0342829786, 0.0388929062, -0.0116707785, -0.0198394749, 0.080973655, -0.0325576477, 0.0031109443, -0.0445808917, 0.0702871159, 0.007030074, -0.0341951735, -0.0420621447, 0.1031512544, 0.0205693319, -0.0224553347, -0.050362587, 0.0484804511, 0.0431262776, 0.0493503436, 0.0144194998, -0.0337992869, 0.048094593, -0.0044977791, -0.0052560656, 0.0316978507, -0.0607274957, -0.0051949942, -0.0138619449, -0.0382529609, -0.0259293467, 0.0013737405, 0.0466792658, -0.0364485681, 0.0101977885, -0.0077284556, 0.0361578651, 0.0261930395, -0.0469279438, 0.0592687353, 0.0076655038, 0.0087548913, -0.0249057375, -0.0227712076, 0.0205872618, -0.022080699, -0.0151760885, 0.0025908654, -0.0496537648, -0.0517379791, 0.0385853834, 0.0175980888, 0.0165747553, 0.0528733246, 0.0262022428, -0.0192992836, 0.056224864, 0.045533929, -0.0196127314, -0.0112451511, -0.0108759012, 0.0282348935, 0.0046923491, 0.0291000921, 0.0076524196, 0.0173093565, 0.0284346379, -0.0246567782, -0.0983983055, 0.0149039011, -0.0306714363, -0.0321760699, 0.0568809696, -0.0309239943, -0.0269723292, -0.0064585987, -0.0595054291, 0.0002704196, -0.0067096748, 0.0244718064, -0.0300750304, 0.0520411655, -0.0255837049, -0.0581245981, 0.0192197282, -0.0509454459, -0.0073483288, -0.0540738292, 0.0100875767, -0.0109195719, -0.0179492626, -0.0044816867, -0.0153805465, 0.0172143839, 0.0612699054, -0.0013807147, 0.0208497141, 0.0116858985, 0.0678397119, 0.0039463253, 0.0222088452, 0.052224651, -0.0110913683, -0.008774397, -0.0902417377, -0.0182260331, -0.0018610175, 0.0322646908, 0.0001747884, 0.0377680659, 0.011343115, -0.0370302722, -0.0069653955, 0.0175639931, -0.0626504496, -0.0543119907, 0.0380207635, 0.0162942018, -0.0244195331, 0.0118503533, 0.0538281612, -0.0209260583, 0.0289959442, 0.0564031154, -0.0504515693, -0.0056202635, 0.001003611, -0.0202864725, 0.0715294778, -0.0296682473, 0.0396650098, -0.0624706857, -0.0629138947, 0.0162263215, -0.0693543255, -0.0248060785, 0.0018566968, 0.0172853488, 0.0325708091, 0.0187762175, -0.0022727288, -0.0196719524, 0.0030331714, -0.0451881066, -0.0377580486, -0.0033646151, -5.793195054e-33, 0.0022936559, -0.0416684449, -0.0386395752, 0.0259712711, 0.0080525726, 0.0117512662, 0.0003103659, 0.0474315211, -0.0117173837, 0.0469128229, 0.0654620007, 0.0637740046, -0.0093874838, 0.0214106962, 0.0194555596, -0.0439972878, 0.0237357728, -0.009051118, -0.0196830463, 0.0044426643, 0.0094515849, 0.0312576257, 0.0148393437, -0.1220286489, 0.0500584505, -0.0046772612, -0.0054467008, 0.0256155208, 0.0328907184, 0.0373371691, -0.0296765622, 0.0440899096, 0.0475716926, -0.0011030189, 0.0372130424, 0.0541096479, -0.03295191, 0.0012889607, 0.0346132144, -0.0215436053, -0.0435402542, -0.0068592168, 0.0436722785, -0.0240316764, -0.0471892059, -0.0124024758, 0.0533327907, -0.027555231, 0.0540685542, -0.0066391909, -0.0404427089, -0.015765341, -0.0215224456, 0.0068406682, -0.0343470313, 0.0091462815, 0.0126615213, 0.039974831, -0.0796216056, 0.0176773686, -0.0397931375, -0.0045124153, 0.0177337602, -0.0627198145, -0.0090651764, 0.0741271973, -0.0028385625, -0.0217519589, -0.0345234089, -0.0368723199, -0.0241219755, 0.0412080735, 0.0359844342, 0.0280546453, 0.025719149, -0.0418137014, -0.0725505054, -0.0107321972, 0.0199162178, -0.0028221577, 0.0429076813, -0.0141827846, -0.0312798694, -0.0168283302, -0.0183259603, -0.0318339281, -0.0268045701, -0.0168541241, -0.0283307359, 0.0069579976, -0.0087609664, 0.0124392826, 0.0018090516, -0.0217202306, -0.0293605123, 0.0255917106, 0.0011459026, 0.007521709, 0.0117218848, 0.0112358229, -0.0565121435, 0.039083194, -0.0223411079, -0.0060492228, 0.0409535877, -0.0155728105, 0.0658214316, -0.0084238062, -0.0485517718, -0.0093043419, 0.0261610318, 0.0158430301, -0.0035423357, 0.0493778922, 0.0280903094, 0.0428749546, -0.0145386821, 0.0062301569, 0.0374857113, 0.0359208882, -0.0036031227, -0.0355004705, -0.0569402985, -0.0155044459, -0.0343789607, -0.0317740478, -0.0132264653, 0.020430319, 0.0049157068, -0.1019124836, 0.0016265179, -0.0368597955, 2.556e-7, 0.0554419272, 0.08481545, -0.0619376488, -0.0137848407, 0.0580231659, 0.0354692526, 0.000870654, 0.0324489027, 0.0370832086, -0.0799473301, 0.0098965978, 0.047059752, -0.0189404152, 0.0338884294, 0.0045425426, -0.0475142337, -0.0583650135, 0.0114373919, -0.0544003025, 0.0179184135, 0.0002644891, 0.0591576248, 0.0281347353, -0.0003145071, -0.0170172881, -0.021263428, 0.0704834089, -0.0109958053, -0.0097694369, 0.0279095359, 0.0165202543, 0.042025622, 0.0024342595, -0.0121835694, -0.022864582, -0.015698893, -0.0070939972, 0.0554050878, -0.0190842748, -0.0331313573, -0.0306681134, 0.0400168858, 0.0081175463, 0.0036329837, 0.0181796327, -0.0621562116, -0.059480682, -0.0528444424, -0.0231883507, -0.0297541339, 0.0279549398, 0.006981974, -0.0311534312, 0.0003208168, 0.0282620788, -0.0025816546, 0.0108156502, -0.0814489424, -0.0159204043, 0.0040141749, -0.0797646046, -0.0284062792, 0.0199305993, -0.0142021822, 0.0016564126, -0.0294251908, 0.0349809043, 1.824104583e-34, 0.0346951932, 0.0115731079, 0.0043697022, -0.0228389874, -0.0261444822, 0.0501202941, -0.0594656393, -0.0247695241, 0.0120404009, -0.0388237461, 0.0118201524 ]
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.0699189231, 0.0371566825, -0.0114956265, 0.0924961567, -0.0752221867, 0.0043760384, -0.0312189553, 0.0264162086, 0.0059861294, -0.0729503408, -0.0431128927, 0.0480558947, -0.0061455881, -0.0233169198, 0.0211459324, 0.0286147874, 0.0185216423, -0.0070145298, -0.0159037542, 0.0082155224, 0.0320112854, 0.0541499369, 0.0585309938, 0.0169162918, 0.0044338377, -0.0230062436, 0.0348867849, 0.0042796033, 0.0132997865, 0.0091913855, -0.016389193, 0.0532426164, -0.0297576245, 0.0972724035, 0.0000018187, -0.0806873962, -0.0511351973, 0.0355281048, 0.0041727638, 0.0294182841, 0.0799330026, 0.0030871085, 0.0112991426, -0.0169246197, -0.0071896245, -0.0016914841, -0.0065062484, 0.0322948731, 0.0800933316, 0.0683652461, -0.0326392315, -0.0121184364, 0.0338533036, -0.0052323751, 0.0065677301, -0.0025087981, 0.0307619162, 0.0815025419, 0.0322251394, 0.0106983576, -0.006107803, 0.0310184471, -0.0419280939, -0.0433945432, 0.0052244621, -0.0438136049, -0.0480623506, -0.0057345508, 0.0401034392, 0.0581502542, -0.0273830164, -0.0474409387, 0.0510512069, 0.011310285, -0.0056892987, 0.0790933296, 0.0007808742, 0.0299586244, -0.0343776233, 0.0265458822, 0.0144594889, -0.0830960572, 0.0492721312, 0.0104331402, 0.0016695469, 0.0489119813, 0.0274731908, -0.031377919, -0.0168069415, -0.035278853, 0.0153828887, -0.0787038133, -0.0078213327, -0.0052214661, 0.0152031546, 0.0190548003, -0.0472174324, -0.0241023879, 0.0256432462, -0.029823184, -0.0055284244, 0.0055030352, -0.001225043, 0.0507499054, -0.0238631982, 0.0421371125, -0.0326385088, 0.0255675185, -0.0486298464, -0.0133801438, -0.0545425527, -0.0056360494, -0.0228806678, 0.0283935331, 0.0314900912, -0.0183869861, -0.0342490114, 0.0594502203, -0.027818555, 0.056765385, 0.0170857366, -0.0199091006, 0.0581838302, -0.0172004756, 0.0049710833, 0.0074847075, 0.0407158434, 0.0210274775, -0.0620458238, -0.0313004665, 0.0308393333, 0.0231586434, 0.0011910525, -0.0154605135, 0.0127128605, 0.0758553222, 0.0357229598, 0.0012895603, -0.0358356461, -0.0748278424, 0.023688972, -0.0193010829, -0.0078715831, -0.0857922733, -0.0194328669, 0.0110676754, 0.0089662643, -0.0558961518, -0.0014494644, 0.0053981412, -0.094505325, 0.0342900082, -0.0746358708, 0.062146876, 0.0353875458, 0.0134275444, -0.0452051908, 0.0175355449, 0.0386154018, -0.0211666245, 0.0801652744, 0.0006009147, -0.0224179532, 0.0514299572, -0.0053747678, 0.0074809669, -0.0181786176, -0.0031567477, 0.0079766614, 0.0073942305, 0.0190091301, 0.0481996611, -0.0387773477, -0.0040884297, 0.0555370785, 0.0726572722, 0.0030407298, 0.0205644984, 0.0142516131, 0.0294891857, 0.0118147004, 0.01223817, -0.030758502, -0.0536443815, -0.0264682882, 0.0089860046, 0.0012257732, 0.0220626798, 0.0203838591, 0.0380424485, -0.0283219218, -0.0160330571, -0.0197097827, -0.0294689871, 0.0241235178, 0.0076019075, -0.013701844, 0.0371734537, 0.0173120499, -0.0319604799, 0.0179201439, -0.0280278679, 0.0315406285, 0.0628068745, 0.0918793902, -0.0151231783, 0.0159125105, -0.0054806098, -0.0255713928, 0.0144283827, 0.0116020031, -0.0549646802, -0.0203842446, -0.0151084149, -0.0533567704, -0.0238345284, -0.0071100006, 0.0020716949, 0.02012421, 0.016194392, 0.0209839754, -0.0682794973, -0.0663384497, 0.0349481292, -0.0366164073, 0.0262775607, -0.0419179648, 0.0045048934, 0.0245882645, 0.018267896, -0.0398964547, 0.0242994539, 0.0051180189, -0.0140154818, -0.0015455134, 0.0234833304, 0.0458399281, 0.0202935115, 0.0739825368, -0.0255772639, -0.003139006, 0.0152331647, -0.0344840996, -0.0054606511, 0.0325515419, 0.0043019, 0.0691238269, -0.0420243219, 0.0546513237, -0.061816711, -0.009364754, -0.0230356324, 0.0368845575, 0.01990458, 0.0473872721, 0.0316766649, -0.0469328053, 0.0667604357, 0.0147081567, -0.0392303616, -0.002581133, -0.0051082787, 0.0186313409, 0.0111376168, -0.0148440702, -0.0230211783, -0.0115149859, -0.0294835586, 0.0112160519, 0.0097668683, 0.0361275822, 0.040447481, 0.0111429635, -0.0340799727, 0.0008312319, 0.0022859324, -0.0272129048, 0.0183836687, 0.0083192568, 0.0249761231, -0.0414837636, -0.0364196114, -0.0197338667, 0.0116605107, 0.0011996727, 0.0738630891, 0.022000635, -0.0265863296, -0.0590455905, 0.0973696634, -0.0380261987, 0.0205729567, -0.0047004344, 0.0181518663, -0.0227713455, -0.0112090437, 0.0053118938, 0.0254185554, -0.0042248545, -0.0509061106, 0.051167544, -0.0030300431, -0.057471212, -0.055773396, 0.0001555552, -0.0257040355, -0.0380158238, -0.0338738039, 0.047529418, -0.0198243465, 0.0070748702, -0.0339785703, 0.0091171674, -0.0128600933, -0.0357235335, -0.0077984538, -0.0089373868, -0.0682290271, -0.0024977811, 0.0009164471, -0.0145276496, -0.0652262121, 0.0519065186, -0.087658219, 0.0713930503, -0.0210519377, -0.0003307883, -0.0320358984, 0.0488493703, 0.0041174651, 0.032461945, 0.0075862333, 0.006816044, -0.0318821892, -0.0011278985, 0.1124552339, -0.0184661858, 0.0139176007, -0.0230483375, 0.0430350825, 0.0041981325, 0.0196151808, -0.0372320637, 0.0033611199, -0.0175394304, 0.0156597011, 0.0346170552, -0.0193878878, 0.0063838637, 0.0265619587, 0.0289492719, 0.0423777252, 0.0053218049, -0.0077107865, 0.0051507084, 0.0421753675, 0.0203467682, -0.0620747842, 0.0050396901, -0.0237359703, -0.0081756311, 0.0246114004, 0.0201898888, -0.000856526, -0.013963188, -0.0162351765, -0.0064705908, -0.0420253277, -0.0056072823, -0.033478912, -0.0043108482, -0.0153369019, 0.0068484503, 0.1091430187, 0.0176610798, -0.0486381203, -0.0072165537, -0.036443226, -0.022769548, 0.0487604439, 0.0199874435, -0.0973246843, 0.0067609292, 0.0072095697, 0.0254629701, 0.0054804082, -0.0451857336, -0.0047264942, -0.0952204019, 0.0213898662, -0.0155408923, -0.0480339639, -0.035407681, -0.0342354327, -0.013222375, 0.0143375872, -0.0699960589, -0.0287239198, -0.025899237, -0.0112243025, -0.0184766538, -0.0410867371, -0.0331708193, -0.0194669161, -0.0763443783, 0.012451903, 0.0435694642, 0.0301531442, 0.0024450633, 0.0025979432, 0.0149450758, 0.0205420274, -0.0217909534, -0.0092881955, 0.0285621565, 0.0003526924, 0.0095655965, 0.0026267204, 0.0019078109, -0.0065176655, -0.0282395035, 0.0229062643, 0.0929393172, -0.0140731549, -0.0150223915, -0.0018576944, -0.0331738479, 0.0262777321, 0.0605624132, 0.0266524106, 0.0347077288, 0.0037236381, 0.0008699738, -0.010402984, -0.0220622495, -0.0068523916, 0.0262159128, -0.0482184775, 0.0193650965, -0.0916570574, 0.0215058886, -0.048004508, -0.0208288468, 0.055501312, 0.0530713573, 0.0364398062, -0.0424236767, -0.055868309, -0.0215459671, -0.0301142819, 0.0167543255, -0.0200168099, 0.0156634785, 0.0236369874, 0.0136707202, -0.0256587639, -0.0210923664, -0.0754340366, -0.0592526123, -0.0259755366, -0.0132458387, 0.0146854399, 0.0697120875, -0.0161943547, -0.0190701522, 0.0760601014, 0.0217738058, -0.0479707494, 0.0327056907, -0.0095502911, -0.0446805544, -0.0118642189, 0.0397453569, -0.0821722746, -0.0039617233, 0.036346864, -0.0044252807, -0.0240363907, -0.0143854134, 0.0010494421, 0.0770503134, -0.0000218682, -0.0133837592, 0.0529789925, -0.0766415522, 0.0025119951, -0.0330045111, -0.0286427848, -0.0352180339, 0.0227064248, 0.0394343473, -0.0244360417, 0.0211925898, 0.0500801764, 0.004301399, 0.0667140111, -0.010653181, 0.0209204704, 0.0146914506, 0.0204251111, 0.0080684889, -0.0117453877, -0.0049356692, 0.0166083872, -0.0310964119, 0.0191984195, -0.0407137908, 0.0387432948, 0.0354161002, -0.0056125307, 0.0241055377, 0.0297155771, -0.0529373139, -0.0479331836, -0.0016341568, -0.0012132241, 0.0611728691, -0.0166621003, 0.0820463747, -0.0492476709, -0.018298924, -0.0265775193, 0.0239372533, -0.0239911582, -0.036558412, 0.0009716531, 0.0198938996, -0.0339944884, 0.0440540724, 0.0939834192, 0.0411523767, 0.0650066435, -0.032376606, -0.0909293443, -0.0075544012, -0.0363017023, 0.0448609963, -0.0258731768, -0.0533454604, -0.0347483531, -0.0518725775, -0.0682041347, -0.0086833015, 0.0347982533, -0.0171950981, 0.0284468066, 0.0146264965, 0.0670550242, 0.0222224556, -0.0001953319, -0.0577048399, 0.0187556576, -0.0369191654, -0.0409840234, -0.0027185031, -5.20489209e-33, 0.0172048397, -0.0412234813, -0.0126423193, 0.0086307582, -0.0487071201, 0.0257381182, -0.029839186, -0.049148079, -0.0349729881, 0.020786291, 0.0033277881, 0.0166407023, -0.0060183997, -0.0303799603, -0.0008500794, 0.0263546426, 0.0186810009, 0.0238969345, -0.0198568031, 0.001088116, 0.0295137241, 0.0110177649, 0.0509106331, -0.0781370476, 0.0345697477, -0.037086986, -0.0043245088, 0.0137051279, 0.0095859887, 0.0451891646, -0.005193444, 0.0233011674, 0.0128169209, -0.0318591371, -0.0061016306, -0.0512676351, -0.0283275452, -0.0274533071, 0.050841134, -0.0093412315, 0.0278762244, 0.0061383983, 0.0818150565, -0.0173211452, 0.0021130065, -0.0190896802, 0.0604204647, -0.0096425256, -0.0469398126, -0.0222821776, -0.0663772374, 0.0307100527, -0.0098163057, 0.0336216614, 0.0303667318, -0.0049864287, 0.0206662621, 0.0259109866, -0.0636453405, 0.0322740711, -0.0299258251, 0.0186516047, 0.0680979788, 0.0215388611, 0.0476165973, 0.058445096, -0.0059931506, -0.0305319205, 0.0387832001, 0.0119116064, 0.006452078, 0.0610987395, 0.0044728876, 0.0804890394, -0.0273629855, -0.0319374874, -0.0475763604, 0.0140846372, -0.0446454994, 0.0450670458, -0.0100235082, -0.0041598063, -0.0187457055, -0.0256981328, -0.0371336937, -0.028523175, -0.0332656875, -0.0150313722, 0.0361649543, -0.009249052, -0.0053879083, 0.0164568163, 0.006785993, -0.0739008114, -0.0190040339, 0.0445151739, -0.0465731807, -0.0041828882, -0.01962745, 0.0185219962, -0.0308472179, -0.0280958079, -0.0012578531, -0.0385689959, 0.0616461039, 0.0087364092, 0.038650915, 0.0205703918, -0.0338352397, 0.0203166269, -0.0008086556, -0.0520607941, -0.0250846054, 0.0063971505, 0.0022870284, 0.0147978729, 0.0240461268, -0.0101288129, 0.0712805316, 0.0225863531, -0.0301758554, -0.0035718177, 0.0137168244, 0.0120266378, -0.0258174986, -0.0091093229, -0.0094187688, 0.0459623523, 0.0621158741, -0.0237182882, -0.0017595064, -0.0139633212, 2.691e-7, 0.0429492593, 0.01880146, 0.0169838872, -0.0061621568, -0.0026203669, 0.0269389246, -0.0249604769, 0.025245063, -0.0020517057, 0.0080287755, 0.0213234052, -0.014241525, 0.0290257726, 0.0414555892, -0.0963664874, 0.00047743, -0.0603629872, -0.0541976131, -0.0713547245, -0.0019355726, 0.0067607774, 0.0336285606, 0.0567068793, -0.0314191505, -0.0542179793, -0.0881292745, 0.0078984136, -0.0195812788, 0.002689613, 0.042424161, 0.0547964051, -0.0211696606, -0.0022724138, 0.0079856841, -0.0259611961, 0.0230902862, 0.0026638522, 0.0062999367, -0.0186646767, 0.0574380495, -0.0301809665, -0.0796334296, 0.0120588001, -0.0750134811, 0.0359130576, 0.0382611416, 0.0233001374, -0.0398894809, -0.0307951123, -0.042465508, -0.0008385232, -0.0235911552, 0.0056478754, 0.0225416049, 0.0025464678, 0.0252027046, -0.0113452999, -0.0496514924, 0.0093591241, -0.0204587672, -0.0211750139, -0.0486877337, -0.0039974274, -0.0416648164, 0.028703209, -0.0276954472, 0.0739896446, 2.382910491e-34, -0.0056399941, -0.0217064526, -0.003662348, 0.0021147127, 0.0357087888, 0.0031970267, -0.0262277685, 0.0224102456, -0.0694428384, -0.0425362289, 0.0143081881 ]
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.004307671, 0.0498114228, -0.0334994905, 0.0511075333, -0.0096041327, 0.0183204878, -0.0118490933, -0.007443124, -0.0439779647, 0.0054507637, -0.0654468462, -0.0478730798, 0.0207150578, 0.0432011075, 0.0189843848, 0.0006109829, 0.0308478195, -0.0387992002, -0.0455505177, 0.0114069609, -0.0202721767, -0.006052149, 0.0064824042, 0.0714009851, 0.013396279, -0.0197861716, -0.0223354679, -0.0018463334, -0.0042311423, 0.0391729213, -0.0546156019, 0.0213623308, 0.0139304521, 0.0884798393, 0.0000019012, -0.0110795032, -0.0387620367, -0.0039910339, -0.0634345412, 0.0248302519, 0.0285842307, -0.0739596412, -0.0369365364, -0.0203734469, -0.0053215018, -0.0023436183, 0.0524428226, 0.0093845753, 0.0074926573, 0.0383329056, -0.0003291428, -0.0384644642, 0.0112311617, -0.0130309761, -0.0051558088, 0.0045414716, 0.0088152541, -0.0198607855, -0.0464520492, -0.0066708936, -0.0634371564, 0.0361124501, 0.0553309806, 0.0096075935, -0.0298006777, -0.0207005646, 0.0160872005, -0.0299224574, 0.0082217194, 0.0204396173, 0.0033403588, -0.0419320166, -0.0140764592, -0.009745501, -0.0043358086, 0.0465287156, -0.0217806734, 0.0091894064, 0.0490385108, 0.0359674022, 0.0042939368, 0.0144448904, 0.0590239316, -0.0286272261, -0.0621142387, 0.0769637153, -0.0140581671, 0.0099037793, -0.050382413, 0.0061975089, 0.0234089866, 0.0292537734, 0.0087996973, 0.003657578, 0.0337317176, 0.029443495, 0.0045929644, -0.0428268649, -0.0125267934, -0.0327972472, 0.0628075898, 0.0184589457, -0.0138488729, -0.0137446141, -0.0031419268, 0.0596158393, -0.0649818107, 0.0480397642, -0.039325539, -0.0041949409, -0.0356080383, -0.049431555, 0.0054785698, -0.0096895844, -0.0030135438, -0.0070863967, -0.0468369946, 0.0041882293, -0.0156597868, -0.0438182466, 0.0026872614, -0.0196572822, -0.033484377, -0.0033165638, -0.0075216447, 0.0394178666, 0.0440518484, 0.0021957722, -0.0394377001, -0.0727475062, -0.0270545352, 0.0054132557, -0.0041849609, -0.011561919, -0.0187812466, 0.1027852073, 0.0215590093, -0.0157369971, -0.0401564576, -0.025662275, -0.060580343, -0.0143521763, 0.0529820845, -0.0453124195, 0.0163161717, 0.0235276055, 0.0063915756, -0.049693983, -0.0027340734, -0.0270533692, -0.0229149796, 0.0835912228, 0.0122862421, 0.018385021, -0.0298305172, 0.0023292955, -0.0019523255, 0.0599423125, 0.0395806022, 0.0376688913, 0.0399301462, -0.0292366464, 0.0031853886, 0.0435095318, 0.0146099851, -0.0256142691, -0.0210180636, -0.0649576038, -0.0387104079, -0.0215717945, 0.0261599086, 0.0288219918, -0.0154257566, -0.0278356411, 0.0469769686, 0.0193684865, 0.0674389973, 0.0493751578, 0.0547998957, 0.0217072126, -0.0098753544, 0.0058000577, -0.0314150564, 0.0131796747, -0.0208066255, 0.0003409415, -0.0357796662, -0.0084981536, 0.0081639998, -0.0609520227, -0.0021678153, -0.031405095, 0.0360145383, -0.0186335202, 0.0955837816, 0.0238649789, -0.0144129284, 0.0764671862, -0.0052500428, -0.0496197492, 0.012203576, -0.0752714872, -0.0149360476, 0.0333576612, 0.0337435231, -0.0067436262, -0.0039322847, 0.0364240706, -0.0663576275, 0.0070094774, -0.0394977406, 0.024650842, 0.0322472304, -0.0396477617, 0.0005606044, -0.0140778935, 0.0530600436, 0.0390080586, -0.0507729016, -0.0330528393, 0.0113961948, -0.0402197689, -0.0439260006, 0.0142866662, -0.0421816856, 0.0052457131, 0.0058344412, 0.0292130671, 0.021581158, 0.0071620229, 0.0104110809, 0.0197690725, 0.0333147272, -0.0441367775, 0.0121535156, 0.051259283, -0.0575058237, -0.0042584212, 0.0043770932, -0.0444065183, 0.0155115593, 0.0663586184, -0.001370453, -0.0472028553, 0.0580085032, -0.0703990683, 0.0509946533, -0.0387977548, 0.0128930118, -0.0305434316, 0.048968222, -0.002761465, 0.0229608379, -0.0417010263, 0.0035256408, 0.0268763769, -0.0319853537, 0.0174362399, -0.0105414623, -0.0313227214, 0.0056074159, -0.0077543929, -0.0196843892, -0.0129013415, -0.0334748216, -0.0095789228, -0.0250341203, -0.0033826262, -0.0490856245, -0.0317622013, 0.039916493, 0.0656795353, -0.004397836, 0.0200659893, 0.0152200721, 0.02385653, 0.0186954811, 0.008654247, 0.0052190134, 0.0287160818, -0.0150562171, -0.033078596, -0.0074621346, -0.0459555313, -0.0518170707, 0.101641424, -0.0259228572, 0.0168765485, -0.0767949447, -0.0096812043, 0.040088471, -0.0014185588, -0.0328976884, -0.0737054124, 0.0217476469, -0.007642637, 0.0171097927, 0.042118296, -0.0233276039, 0.1131928191, 0.025747519, -0.0101696551, -0.0239102356, -0.0598184727, -0.0281438548, 0.0255334433, -0.0374897607, -0.0989164039, -0.0123401498, 0.1186839789, -0.0010070199, -0.0066776504, -0.0623549521, 0.0091979196, -0.0155646466, -0.0337572135, 0.0209268201, -0.0074086138, -0.0126018878, 0.0710538924, -0.0051791738, -0.043353498, 0.0663720518, -0.0608720221, -0.0308993664, -0.0070374496, -0.0185947325, -0.0415150933, 0.09513437, 0.0246918947, -0.000722985, 0.0407555327, -0.036067605, -0.0039080093, 0.0092833713, -0.0025674233, -0.0322366543, 0.0648462772, -0.0267467219, -0.0328362808, 0.0088813715, 0.0421267338, -0.0070112855, 0.0087787081, 0.0096603371, 0.0240856446, 0.0510636866, -0.0339263603, -0.0216840245, 0.0512627922, 0.0207810365, -0.0079427809, -0.0008100477, -0.0046996805, -0.0376523994, 0.0324686058, 0.0098433197, 0.0371164419, 0.0888953507, -0.0405803695, -0.0007958016, 0.0377030112, 0.0138139986, -0.0018338121, -0.085203439, 0.0109365014, 0.036371123, 0.0090535078, 0.0053606713, -0.0225962382, 0.0492295325, -0.0822204202, -0.0328004733, 0.0599694401, 0.0113141704, -0.0270493552, 0.0455606319, -0.0043039368, -0.0022691444, -0.0199604332, 0.0204014257, -0.0310713705, -0.0130984075, -0.0035155041, 0.0440505706, -0.0255881939, -0.0076754801, 0.0177311394, -0.0568857305, 0.0294361226, -0.0004879369, -0.035917148, -0.0584737025, -0.0268502571, -0.0236061495, -0.0458767563, 0.0350636616, 0.0233696643, 0.00425262, 0.0098807467, -0.002174248, -0.0354515314, -0.0546668954, -0.0124573819, 0.007229459, 0.0423325859, 0.0802843496, -0.0062190844, -0.0454363003, -0.0402383804, -0.0036253876, -0.0143626593, 0.018775424, -0.0048405081, 0.0022943704, 0.0457216389, -0.0455782674, -0.0229851417, 0.0065984186, -0.0415917337, -0.0378217064, -0.0867301747, 0.0508213378, -0.047128018, -0.0295108911, -0.0013587202, 0.011531394, -0.0006606785, 0.0676603615, 0.0619339757, -0.043094866, -0.0284626111, -0.0507712327, 0.0259970259, -0.011712159, -0.0820915774, 0.014877052, 0.0568461008, -0.0584731065, -0.0204169676, -0.0024019976, -0.0352834128, 0.0103545897, -0.0024570022, -0.0285266265, 0.0574802868, -0.035593275, -0.0412458852, 0.0595974401, -0.0183107741, 0.0149530657, -0.0434576869, -0.0329161659, 0.0387407802, -0.0497888401, -0.0268855039, 0.0136146974, -0.0450717323, -0.0316914506, 0.0535820015, 0.035797935, 0.0277925692, 0.0351785421, -0.0120657813, -0.0202264804, -0.0077821435, 0.0220791344, -0.0276013371, 0.0338771045, 0.0642657429, 0.007279038, -0.0062135519, 0.0445757024, -0.0094213895, 0.0309993047, 0.0225069951, 0.0334686674, -0.040832404, -0.0135758929, 0.0305892173, -0.0210844763, 0.0637521818, 0.0389273986, -0.0099048847, -0.0017631935, 0.0136552816, -0.0128577156, 0.0372005738, -0.0811460912, -0.0389832295, 0.0200021341, 0.0039625913, -0.0376406312, -0.0332401991, -0.0116048222, -0.0064267227, -0.0271769799, 0.0676409304, 0.022495456, 0.0269798953, -0.0214636046, 0.0160761699, 0.0169062112, 0.052327577, -0.022400476, 0.0477396883, -0.0017881114, 0.0443210118, 0.0135067683, 0.0014803386, -0.0766016915, 0.0470723994, -0.0733157992, -0.0154861156, 0.0462278053, -0.0165619683, 0.0041379156, -0.0312026143, 0.0661252514, -0.0315849707, 0.0304559078, -0.0129876202, 0.0366427824, 0.004979928, 0.0188358072, 0.0226856712, -0.0011959539, 0.0000496223, -0.0038577234, 0.0343944579, -0.008233685, -0.0005676497, -0.0244756453, 0.0024456948, 0.0053303093, -0.0318894759, 0.0048572687, -0.0116020264, -0.0496635176, -0.0342135243, -0.0563084185, -0.0660266727, 0.0172159374, 0.0284255818, 0.0269222744, -0.0436719395, -0.0048269448, 0.0772967935, -0.0116514731, -0.0064086807, -0.034113165, -0.0069510629, 0.0023882152, -0.0020793569, 0.014081615, -5.876492788e-33, -0.0147099653, -0.0407262966, -0.0247666612, 0.007487312, 0.0033871147, -0.0031606655, -0.0464707948, -0.0051193852, -0.0110805994, 0.01172888, 0.0164092146, 0.0078673428, 0.0152191548, 0.0384710617, -0.0174320806, -0.0188856889, 0.0390389711, 0.0292523876, 0.0127296261, -0.0167665277, 0.0636313558, 0.0336952619, 0.0667016357, -0.0646314174, 0.0355439149, -0.0066683264, 0.0155000761, 0.0166210048, -0.0318678096, 0.0680245608, 0.0015723073, 0.0180541668, 0.0349662937, -0.0895404667, -0.0335234925, 0.0036697122, -0.0689715818, 0.0270939935, 0.0195163283, 0.0582174361, -0.0229396597, -0.048769746, 0.1039680243, -0.0291385036, -0.0409707054, 0.0010713374, -0.0037647234, -0.0130993035, 0.0191645063, -0.0079637738, -0.0392071381, 0.0074002761, -0.0009800381, -0.0100386823, 0.0778761432, 0.0149988672, -0.0305705667, 0.0562303774, -0.0913670585, 0.0154534532, 0.0105717061, 0.0398128852, 0.0782554448, 0.0439320095, 0.0033829324, 0.0171296243, 0.0584974289, -0.0426117554, -0.0242424943, -0.0027419047, 0.0858995914, 0.0283396412, 0.0607533641, 0.0002875106, 0.0294797141, 0.0240627695, -0.0300120842, -0.0238701589, -0.023970386, 0.035659764, 0.0478014201, 0.0084415562, -0.0498238318, -0.0077116927, -0.0265433416, -0.0573922247, -0.0220361445, -0.029011447, -0.0159633197, -0.0494355559, -0.0601470023, 0.0102992496, 0.0498358421, -0.0887813047, 0.0263484009, -0.0011966963, 0.0292533692, 0.0429853238, -0.0031313309, 0.0182989519, -0.0035474622, -0.0357450843, 0.0138186896, 0.0076197921, 0.0261471216, 0.0026908314, 0.0091762729, 0.0336876176, 0.0089118704, -0.0025829813, -0.028966669, -0.0271487236, -0.0267342087, 0.0397927165, 0.0555789135, 0.0048718764, -0.0304857101, -0.001916079, 0.0173569769, 0.0402469411, 0.0039843209, 0.0469373465, -0.0103450343, 0.0463079512, -0.0516198501, -0.0482452549, -0.0374265648, 0.0287574325, 0.0504774861, -0.0300936475, -0.0147201866, 0.0103365108, 2.554e-7, 0.076152049, 0.0362265892, 0.0395601392, 0.027975712, 0.0539783724, 0.0280415304, -0.0058736098, -0.0310638007, 0.0017186378, -0.0055160406, 0.0223379433, 0.0175854526, 0.0519228987, 0.0025670743, -0.0103020491, -0.0050906911, -0.0412175953, 0.0148781855, 0.0139607498, 0.0464330129, 0.024598144, 0.0989996269, -0.0252978038, 0.0044827512, 0.0324218124, 0.0194482058, 0.028126929, -0.0552916005, 0.041373875, 0.0023139669, 0.0130998995, -0.03543365, 0.0030679209, 0.002774002, 0.0039262148, 0.0296695828, -0.0249234885, 0.0447440334, -0.0128663694, -0.0378946736, 0.0045568114, -0.0106054917, -0.0173359718, -0.0675144866, 0.0295086838, -0.0823066086, -0.0649537593, -0.0188967343, -0.0050964765, 0.0060254429, -0.0069583263, 0.0008393193, 0.0176277887, 0.0124906646, 0.0236365944, -0.0285747871, -0.01716372, -0.0353720188, -0.0123865614, -0.0313595198, -0.034056183, 0.013560921, -0.0719617307, -0.0476346239, 0.0498712212, -0.0204932671, -0.049276758, 2.453970272e-34, 0.0098254271, 0.0022715707, 0.0178944021, 0.0289243106, 0.0153673626, -0.012178679, 0.0222196933, 0.0453611426, -0.002043982, -0.0881790072, -0.0322344191 ]
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.0293969102, 0.0887121782, -0.022110749, -0.0015284986, -0.023298325, -0.0168873202, -0.0244958755, 0.008126081, -0.0421256274, -0.0330607072, -0.0230110753, -0.0196055509, 0.010240077, 0.0111171296, 0.0183273666, -0.0648788437, 0.0070021003, 0.0138843125, 0.0245347042, 0.0163519941, 0.0707145631, 0.0178210903, -0.0030974743, 0.0516734198, -0.0026905444, -0.0035114733, 0.0057828403, 0.0651104152, 0.0537125282, -0.0048006536, 0.0251114983, 0.0628467202, -0.0166719351, 0.0265279133, 0.0000020279, -0.0176945534, -0.0353586525, -0.0541218407, 0.0166481491, 0.0077269343, 0.0927090421, 0.0099541452, -0.0125301136, 0.0073163277, -0.0534377657, -0.0091596143, 0.0377877951, 0.0571391955, 0.0602800772, 0.0824029297, -0.0290352087, -0.0291076917, -0.0550907627, -0.0391626768, -0.0092303352, 0.0174666997, 0.0360094495, -0.001370781, -0.0625405014, 0.0037339695, -0.0417069346, 0.0065961755, -0.0165464059, -0.0551741086, 0.0122188143, -0.0319449678, -0.0056380196, 0.0052193613, 0.0050936821, 0.0617985018, 0.0575714558, -0.0222175159, 0.0164182279, 0.0054485775, 0.0423476808, 0.0399536192, -0.0564641804, -0.0154390372, -0.0080649955, 0.0218018536, -0.0452415869, 0.0177203584, -0.0027871833, 0.0096742157, -0.0219077133, 0.0066599851, 0.0061914274, 0.0107287401, -0.0302695297, 0.0150009096, 0.0283246767, -0.0689494237, 0.0091839423, -0.0143423881, 0.0173329823, 0.0101703135, -0.0371873975, -0.019936854, 0.0025846723, -0.0055687032, 0.0430773571, 0.0004531927, 0.0029574332, 0.0363389477, 0.0016610519, -0.0122656813, -0.0317635536, -0.0112265013, -0.0307739191, 0.0220482983, -0.0528327301, -0.0108783012, -0.0205579922, -0.0118671414, -0.0052621355, 0.0151974903, -0.0326733552, -0.0050969846, -0.0397718176, -0.0625852421, -0.0199431926, 0.0239877328, -0.0071632601, -0.0179359224, -0.0066813929, 0.0924578905, -0.0096128946, 0.010828305, 0.0058292085, -0.077866964, -0.0138251241, 0.0204565711, 0.0030193422, -0.022891067, -0.0365184508, -0.0061940607, -0.0344563648, 0.0096000005, -0.0110132815, -0.0336678661, -0.0598142445, 0.0293645896, 0.0129798995, -0.0893455148, -0.005973883, -0.0157537069, 0.0663538128, -0.0814847425, -0.0102637876, 0.0137223145, -0.0081962245, 0.0136839803, -0.0119328294, 0.0216863509, 0.0334270447, 0.0405572429, 0.0182897765, 0.0380845107, -0.0040330817, -0.0080634356, 0.0352053382, -0.0310710222, 0.0237492155, 0.0139918961, 0.0033633108, 0.0093499655, -0.0276523177, 0.0041104946, 0.001023493, 0.0178975537, 0.0479196012, 0.01299401, -0.0241461042, -0.0161705595, 0.0864624158, 0.0135645261, 0.0025213675, 0.0233639106, -0.0471728183, 0.0289403815, -0.0052710441, -0.0253658686, 0.0528804623, -0.0075340606, 0.0193675254, -0.0436182357, -0.0371001512, 0.0159856156, -0.0220165886, -0.020856373, 0.0105332211, 0.0190652367, -0.0042371266, -0.0406850949, -0.0318368785, 0.0508800074, 0.0081090704, 0.0444454178, 0.0128556853, -0.0936023593, -0.0231673084, -0.0512415506, 0.0050610597, 0.0398406386, 0.0179219898, -0.0312855244, -0.0157778896, -0.0538456626, 0.0375417173, 0.067296721, 0.0518062674, 0.0092658605, -0.0583902746, -0.0335535221, 0.0130172614, -0.0139615983, 0.0058095618, 0.0218250472, -0.0181245897, 0.023353165, -0.0169692356, 0.0157666244, -0.021931503, 0.0064082546, 0.0371369794, 0.0134625649, 0.0156440362, 0.0001140275, 0.0010925521, 0.0078074168, -0.0198304411, -0.0054861959, -0.0117681576, -0.0000483285, -0.0209388565, 0.1036474332, -0.0602329299, -0.0129809259, 0.0190465767, -0.0977114439, 0.0078300312, 0.02716754, -0.0177256782, -0.0204684921, 0.0315346159, -0.0424656756, 0.0293099489, 0.0086516608, 0.0282588582, -0.0243767072, 0.0195307843, -0.0678530335, -0.0140206469, -0.0078948848, -0.0301926117, 0.0175631512, -0.0758353248, 0.007022596, 0.013790301, -0.0260894168, -0.0279651843, -0.0110613806, -0.00685975, 0.0365511328, -0.0214531813, -0.0801741481, -0.0273527652, -0.0605416037, -0.0633774251, -0.0151371984, -0.0036875524, 0.0774604231, -0.0096967667, -0.0080466233, -0.0199607853, -0.0415144973, -0.0134819094, -0.0274514221, -0.0062196059, 0.0553346798, -0.0399273001, 0.0113204252, -0.055058144, -0.0066081886, -0.0096010538, 0.0581203364, 0.0128163882, -0.0207177438, -0.0411713906, -0.01914615, -0.015758222, -0.0519433357, -0.0266417656, -0.0352948643, 0.0222192314, -0.0065211984, 0.0862320364, 0.0444702432, 0.0769534782, 0.0154736992, -0.0037237625, -0.026519917, -0.0358259417, -0.0253966097, -0.0019711279, -0.0235195979, -0.0423934907, -0.1043439433, 0.0584650598, 0.0578319468, 0.0178396776, 0.0152840484, -0.0485697426, 0.0276481733, -0.0203743838, -0.0566083342, -0.0086267898, -0.0141597362, -0.0146727934, 0.0446350798, -0.0124957338, -0.0082073445, 0.0309664179, 0.0062739886, 0.0033288086, 0.0095512671, 0.0017788092, -0.0429236554, 0.0258573219, -0.0316602625, 0.0051579643, 0.0683585778, -0.0151607366, -0.0015143568, -0.0508896448, 0.0181320179, -0.0236949623, 0.0888438895, -0.0678662136, -0.0041583828, -0.0007509525, -0.0319720097, -0.0363282822, -0.0589237437, -0.0116547123, -0.0511756055, 0.0549467169, -0.0391842425, -0.0228932779, 0.0200056229, 0.011419367, 0.0397313461, -0.0154550085, -0.0241621807, 0.0286346618, 0.016726831, 0.0522862077, 0.0626277775, -0.0014232552, 0.0206744801, 0.0130041102, 0.0538844056, 0.0286731645, -0.0097584091, -0.0402433798, -0.0383783281, 0.0199354608, -0.0012242589, 0.0118935509, -0.0214637648, 0.0745910332, -0.0237305537, -0.0291891098, 0.0728097185, 0.0038131336, -0.0392722972, -0.0065065585, -0.0562348291, 0.0514948517, 0.0170613658, 0.0101985689, -0.1168139353, -0.0215029195, -0.026487112, 0.0068286476, -0.0148849254, -0.0569973886, 0.0156879257, -0.0657809153, 0.0275866054, 0.0268948767, -0.0000188524, 0.0594783537, 0.0098536899, 0.0230838377, 0.0046795253, -0.0525571927, 0.0154674053, -0.0306005664, -0.0088912649, 0.0422045402, -0.044569809, 0.0127671063, -0.0364574865, -0.0003516932, 0.0210304186, -0.0043696174, 0.0527172424, -0.0034647314, -0.0556120537, -0.0192700084, -0.0095287133, 0.0372815579, 0.0002832973, 0.0458692126, -0.0048963684, -0.0083250571, -0.0510496572, 0.0161296986, -0.0310023781, -0.045097217, 0.0242878478, 0.0397024415, -0.0195181463, -0.0201315042, -0.0263603292, 0.0318753198, 0.0245851502, 0.0302723683, 0.0695078298, -0.0408811569, 0.0182198696, -0.0342244282, 0.0147766657, 0.0043135034, -0.0614819564, -0.0543605648, 0.0136797819, 0.0149849504, -0.1121338084, 0.0017718504, -0.0219314322, 0.0296266377, 0.0450646766, -0.058678735, 0.0235472899, 0.0072333515, -0.0799771994, 0.0085961632, -0.0278890487, 0.0358599424, -0.0185252111, -0.0199964792, 0.052833274, -0.011207032, -0.0129702203, 0.0296829324, -0.0497868881, -0.0390471481, 0.0383918546, 0.0427187197, 0.0279806927, 0.0190234911, 0.0259555671, -0.0407838598, 0.0278301723, 0.0544828884, 0.0357152298, 0.0636320636, 0.0401451066, 0.0105862059, -0.0133838411, 0.0176971853, 0.0186922252, 0.002024004, 0.0275497604, -0.0127310334, -0.0262656212, -0.0335760228, 0.001626563, -0.0244377609, 0.0219690707, 0.0166254416, -0.0061260937, -0.0110793728, 0.0032996316, -0.0078097549, 0.0027831637, -0.0097932108, -0.0318460241, 0.0464217179, -0.0035618676, -0.0276806224, 0.0908344612, -0.0545031019, 0.0379504375, -0.0408151597, 0.0207880959, 0.0181091502, 0.0410829037, -0.004562824, 0.01468438, -0.0133322971, -0.0116322478, 0.0142152468, 0.0390829258, 0.0216971356, 0.0641271472, 0.03477199, -0.0294298213, -0.0233852826, 0.0556608029, -0.0630568191, -0.040327318, 0.0438331664, -0.0019762896, 0.000544628, -0.0174165759, 0.1204590201, -0.0018512756, 0.0050212336, -0.0008651767, 0.0395763591, 0.0082803294, -0.0161591657, 0.0427590646, -0.0094903959, -0.0003698438, -0.0207953509, 0.0335578024, -0.0922086164, 0.0318485647, 0.0024726307, -0.0277053285, -0.0385170206, -0.0140108867, 0.0149363745, -0.00664593, 0.013728166, -0.0304092932, -0.0528929606, -0.0145747717, 0.0437185988, -0.0337418951, 0.0395503268, -0.0353843533, 0.0270109028, 0.0367548168, 0.0138403606, -0.009699218, -0.027353961, 0.0761829019, -0.0317337401, 0.0280265417, -0.0331908911, -6.346542489e-33, -0.0049919267, -0.0145223839, -0.0373728164, 0.0571449064, -0.064815186, 0.0111255283, -0.0218421426, 0.0458645001, 0.012011338, 0.0498752035, -0.0404766984, 0.0395435728, 0.0078263674, 0.0299637597, 0.0187982377, 0.0027170056, 0.0561981685, 0.0148520237, -0.0285633989, 0.018073203, 0.0384346321, 0.0124292439, 0.101118423, -0.0969599634, -0.0044753249, 0.028756367, -0.0244272016, 0.0038788226, 0.0386553258, 0.0006543988, 0.0107163796, 0.0402237177, 0.0327458158, -0.039480187, -0.0122604584, 0.0542333089, -0.026010219, -0.0191438124, 0.0485852361, 0.0259650089, -0.0280206893, -0.0351370871, 0.0242038257, 0.0075884084, -0.024519559, 0.025614636, 0.0274539776, -0.0305556674, 0.0552313514, 0.016460117, -0.0642067343, 0.005692414, -0.0249094218, -0.028226478, -0.0511909612, 0.0374159627, 0.0154866166, 0.0140611064, -0.0726017356, 0.035442438, 0.0134718623, 0.0137092825, 0.0328550711, 0.0578109585, 0.0130445324, 0.089734897, -0.0028663729, 0.095459938, -0.0436119549, -0.015245147, 0.010783691, 0.0172886644, 0.05034706, 0.1055646464, 0.0000610205, -0.0079607423, -0.0219228826, -0.0018834447, 0.038313549, 0.0305372104, 0.0417792946, 0.0222849771, 0.0131516932, -0.0029669674, -0.0294726826, -0.0352375694, -0.0103047527, 0.0024089061, -0.0169856139, -0.0086563714, -0.0178807974, 0.0029270283, 0.0075766104, -0.0142104914, -0.0114044724, -0.0101775452, -0.0596773736, 0.0285808295, -0.003879885, -0.0383383296, -0.0212023892, 0.0399633572, 0.0501987636, 0.0297375172, 0.0483868271, -0.0177401956, 0.0452617519, 0.0033086482, -0.0788506344, -0.0249057543, -0.0097919488, 0.0240032952, -0.0422313437, -0.0057856678, 0.0008573865, 0.0567136742, -0.0497854091, 0.0227601882, 0.0239639096, -0.0119725289, -0.0283735972, 0.0102100018, 0.0299694277, 0.0192879885, -0.0325276479, -0.0243156739, -0.0060066022, -0.0019784712, 0.0474233255, -0.0555422567, -0.0329520926, -0.0386441015, 2.758e-7, 0.0554893464, 0.0431110822, 0.0460037738, -0.0083925752, 0.0611395836, 0.0383544303, 0.0051338281, 0.0414574295, 0.031527441, -0.0166525338, 0.0072834543, -0.0036292502, 0.0512254052, -0.0104859024, -0.0762796476, -0.0279391464, -0.0658127218, -0.0013944929, -0.016037073, -0.017831549, 0.0682130009, 0.020153245, -0.0035263251, -0.0164157879, 0.0070728324, 0.0255495347, 0.0777969733, -0.0778550506, 0.0386078618, 0.0144200176, 0.0202440824, -0.0719012916, -0.0189690031, -0.0045928885, 0.0146886064, -0.0593874305, 0.0093299672, 0.0497610457, 0.0095038973, -0.0093473112, -0.016084047, 0.0328688845, 0.0036185903, -0.0686555579, 0.0036060929, -0.0431347154, -0.0129277613, -0.0695313737, -0.0555689074, -0.01720112, 0.0604545251, -0.0141135398, -0.0339034088, 0.0214888342, 0.0214001201, 0.0536350496, -0.0323112942, -0.0792215839, -0.0151131572, -0.0491182096, -0.0469278805, -0.0129058342, -0.040548984, -0.0089468742, -0.0273098499, -0.001833888, 0.0620285422, 2.041224129e-34, 0.0060232631, 0.0338442102, 0.0044672755, 0.0086749261, 0.0350021347, 0.0171757769, -0.0183427874, 0.0239377134, 0.0232380163, -0.0844340175, -0.0248423181 ]
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.0453478545, 0.0467337519, -0.010544545, 0.0157074425, 0.0086029209, 0.0081763277, 0.0058262818, 0.009303106, 0.0049670776, 0.00174793, -0.0705676153, -0.0057859905, 0.0167921707, -0.0157254059, 0.0151011338, -0.0632751212, -0.0020183341, -0.0046406263, 0.0316530615, -0.0128909834, 0.024386989, 0.0384102724, -0.0319537744, 0.0398084298, -0.0720725432, -0.0155662671, 0.022759771, 0.0292195678, 0.0273405332, -0.0408598222, -0.0165682193, 0.0076808645, -0.0031295705, 0.0297821648, 0.0000015994, -0.0378010757, 0.026864225, -0.0093587469, 0.0084691383, 0.0091696605, 0.0814712793, 0.0123019982, -0.0550247692, 0.01020806, -0.005661102, 0.017894771, 0.0752091259, -0.049767144, 0.0447456911, 0.0389905721, -0.0223524403, -0.0349951498, -0.0036722582, -0.0092527401, 0.0191971101, 0.0274117887, 0.0140151242, -0.018107608, 0.0430358909, -0.0400749333, -0.0739064589, 0.0037508826, -0.0356121883, -0.0559430309, -0.0686991811, -0.006062414, -0.0526364818, -0.0678533539, -0.0083339857, 0.0510891825, -0.0418838114, 0.0010420496, 0.0011115957, 0.049678985, -0.0218899343, -0.0211601332, -0.0301249418, -0.0004981066, 0.0316182636, -0.0200514663, 0.0020393503, 0.0705328658, 0.0168560557, -0.0270285849, 0.0649582297, 0.0297483373, 0.024264805, -0.0105063394, -0.0075998278, -0.0230193902, 0.0284021553, 0.0020448712, 0.0653608888, -0.0225680452, 0.0248310696, 0.0128944051, -0.0134566408, -0.0548337176, -0.0093112318, -0.1106731594, 0.0198307279, -0.0121359536, -0.0741466209, 0.0474491343, 0.011012719, -0.0051426352, 0.0263384115, 0.0110848136, -0.0182035007, 0.0125410249, -0.0012293915, -0.0217938032, -0.0118842106, -0.0024035554, -0.0064783213, 0.0113678789, -0.0421331935, -0.0045515383, -0.0634900853, -0.0069624605, 0.0011358521, 0.0008772361, 0.0051598279, -0.0519644134, 0.0300673656, 0.0315956995, -0.0283280555, 0.0166464224, -0.0406505652, -0.0890144184, 0.0170637462, 0.0383299254, -0.010285398, 0.0060035679, 0.0302516054, 0.0571207181, 0.0161287151, 0.0165660121, -0.0376550034, -0.026380768, -0.0697811991, 0.0076467968, -0.0747290328, -0.0493097119, 0.0207054, -0.0325322822, -0.0152621493, -0.0505738333, -0.0060753152, 0.0006516041, 0.0106254574, 0.03609135, 0.0392405763, 0.0116977841, 0.0416003577, 0.0054606181, 0.0263148695, 0.0030434167, 0.0318685733, 0.0300924461, 0.0322771668, -0.0100448271, -0.0081077525, 0.0507579185, -0.0193016771, 0.0433080755, -0.0548256449, -0.0308484808, -0.0252808388, -0.0061526448, 0.009228114, 0.0386091284, 0.0273462757, -0.0177648868, 0.0584857278, 0.0296548139, -0.0059964466, -0.0007128222, 0.0467770435, 0.0603505634, -0.0315046273, 0.0147976512, 0.0278473105, -0.0296746604, -0.0422385596, -0.0509610958, 0.0295217447, 0.0482318103, -0.0258618966, 0.0073316018, 0.0006982016, 0.0126832239, -0.0050941394, 0.0021684724, 0.0106108394, 0.0358113199, -0.0753585547, -0.0014571243, 0.051804252, -0.0398773327, 0.0419666246, 0.0031784794, 0.0500287749, 0.0271541979, -0.000593057, 0.0163923018, 0.0440595374, -0.0488676019, -0.0218873844, 0.0147048011, -0.0473833047, -0.0431410968, 0.0687824339, -0.0543019474, 0.0368154049, 0.0483580008, 0.0265725274, 0.0208250172, -0.0753348991, 0.0541973151, -0.0031727524, -0.0220779907, -0.0497345403, 0.0050777607, 0.0220386926, -0.03198459, 0.0227838457, 0.0318758823, 0.072759822, 0.0589850061, -0.0455348194, -0.0197370555, 0.0122629311, -0.0331218839, 0.029379813, 0.0598077253, -0.0167701431, -0.0210202392, 0.0076848422, -0.0901512057, 0.0224757735, 0.057667993, -0.0096355313, -0.0399067402, 0.0757801235, -0.0071975999, -0.0256872214, -0.0255719852, 0.0375863016, -0.0094697839, 0.056754753, -0.0133425696, -0.0152911339, 0.0197006669, -0.0180589594, -0.0089752097, -0.0118551562, 0.0335947163, -0.0673538521, -0.0401535295, 0.0250752717, -0.0268378407, 0.025406234, -0.0096808281, -0.0292548239, -0.0248873122, -0.0059964182, -0.0486776046, 0.0015230002, -0.0036665201, 0.0134985801, 0.011993601, 0.0192600414, -0.0321975388, -0.0220637619, 0.0388088413, -0.0676855817, -0.0043327441, -0.0180016384, -0.0639381781, -0.0215830039, -0.0054137027, 0.0272240397, -0.0171327516, -0.047563009, 0.0473045856, -0.0069535431, -0.0353974476, 0.0145961083, -0.0722639635, 0.0241843592, -0.0274197031, 0.0441306345, -0.0585488193, -0.007702034, 0.0273069702, 0.0329118818, 0.0239232332, 0.0020405604, 0.0155701432, 0.0313038304, -0.0117379148, 0.044448141, -0.0085590314, 0.0101295346, -0.0161803886, -0.0030493222, -0.0592262149, -0.0202391576, 0.0178853218, 0.0458171181, 0.0210147053, -0.0586061031, 0.0105151432, -0.027204575, -0.023239512, -0.0254712217, -0.0437665321, -0.0345535502, 0.0386112556, -0.0039245733, -0.0068185767, 0.0271635316, -0.0401980765, -0.0230326597, -0.0432776213, -0.0130308215, 0.007867422, -0.0025412256, -0.0369625464, 0.0596612021, 0.0395219997, -0.0720379427, 0.0023412837, 0.0179837756, 0.0587425418, -0.0084734485, -0.014588628, 0.0049982695, -0.0314595476, 0.0458962619, -0.0182597395, -0.0046455539, -0.0430793762, -0.0473939627, -0.0293197054, -0.0064151646, -0.0214523505, 0.0220688526, 0.081383802, -0.0132100023, -0.0090399692, -0.0054932763, 0.0239899326, 0.0329602659, 0.0297932066, 0.0666581765, 0.0026620196, -0.0402833931, 0.0048102811, 0.066774644, 0.0089833541, -0.0453625172, 0.0160282403, -0.0202082135, 0.0397918038, -0.0033378317, 0.0137806349, 0.02791325, 0.0120857721, -0.039744664, 0.003730065, 0.0238108933, 0.0638314337, 0.0052549164, -0.0134169748, 0.0435294062, -0.065629445, 0.0243681744, -0.0051762774, 0.0233059749, -0.0666546077, -0.0075841062, 0.0126347393, 0.0325921215, -0.001925413, -0.0244421605, -0.0090656159, -0.0724057779, 0.0567891933, 0.0429302864, -0.0126884039, -0.0056645018, 0.0069945054, -0.020874396, -0.0277911723, 0.0029323041, 0.0218652654, 0.0119859772, -0.0456756018, 0.0262699295, -0.0200169869, -0.0451921523, 0.0529805385, -0.0063264556, 0.0305245481, 0.0024060614, 0.0121060843, -0.0520145819, 0.0006756028, -0.0254999641, -0.0435530357, -0.0008762464, -0.0070544328, 0.044055406, -0.0005864937, -0.0308870375, -0.036922887, 0.0397675224, -0.0083324928, 0.0302953422, -0.001171283, 0.0458222479, 0.0028612772, -0.0256618746, -0.0425323807, 0.0803189278, 0.0244006924, 0.0462970361, 0.0241781045, -0.0574204363, 0.0413603596, 0.0111024035, 0.0049895481, 0.01055515, -0.0637890175, 0.0152265308, -0.0143142026, -0.1044960916, -0.0382030308, -0.0262180995, -0.024073394, 0.0514391549, 0.0478294306, -0.0456735529, -0.0112626823, -0.0064523751, -0.000749456, 0.0153630925, 0.0077421349, 0.0278656688, -0.05625448, 0.005721991, 0.033390604, 0.0212679226, -0.015627753, 0.008888592, -0.0296562575, -0.0937820449, 0.0480183922, 0.028685296, 0.0233752821, 0.0355907716, -0.0224732161, -0.0601932965, 0.0441561006, -0.0172201693, 0.0104272524, -0.0126681114, 0.0428979658, -0.0262764767, -0.016737096, 0.0124035487, -0.0182778761, 0.0531906039, -0.0185981058, 0.0226537846, -0.0843154714, -0.0094444901, 0.0130859194, 0.0126397172, 0.0226310939, -0.0395499878, -0.02657835, -0.0477031432, 0.0198240709, 0.0346520692, 0.0407150984, -0.0083639184, -0.0110263117, 0.0830091536, 0.0216170866, -0.0144710625, 0.0116089275, -0.0486266352, 0.0053221579, 0.0039634979, 0.0554187074, 0.0675889254, 0.0170644689, 0.0288435426, 0.0360969082, -0.0127717946, 0.0569526032, 0.0079011992, 0.044876568, 0.0144555541, 0.0106485737, 0.0003283733, 0.0250721518, 0.0189147759, 0.0683393329, 0.0591810681, 0.0364121497, -0.0080892565, -0.0100235865, 0.0629901886, -0.0808484554, 0.0529589877, -0.0123529183, 0.0115432953, -0.0244836677, 0.0298654083, -0.0635950863, -0.0826062933, 0.0205838066, 0.0014089006, 0.007696569, 0.0448244736, 0.0542152226, -0.0335438624, -0.0129715083, 0.0774479583, -0.0063467431, -0.0014201407, -0.0010843654, 0.0170854367, 0.0118725318, -0.0235339198, 0.0428213142, -0.0449904762, -0.0981463045, -0.0094791437, -0.0671749488, 0.0854904503, -0.0171407163, 0.0213455558, -0.0168585945, -0.0062521156, 0.027192656, 0.0093827834, -0.0420100801, -0.0337775685, -0.0271189958, 0.0028547251, -5.34479355e-33, -0.0035084605, -0.0076296381, -0.0570977703, 0.0368335024, -0.0315079875, -0.032321509, -0.0162410978, 0.046335347, -0.01436962, 0.0268871076, -0.0031187511, -0.0017269159, 0.021607032, -0.0007614509, 0.0022815466, -0.0094738295, 0.029590765, 0.0329985991, -0.0130774798, -0.006368177, 0.0762703121, 0.0597331189, 0.068566747, -0.0973597839, -0.021467112, -0.0179259796, -0.0705127865, -0.0219360553, 0.0501298383, 0.0304300692, 0.0205957238, 0.0940509439, -0.0007296782, -0.001144858, 0.015051621, 0.0230542105, -0.0291088801, -0.002438881, 0.0427471735, 0.0262752753, 0.0407111607, -0.0351906531, 0.0388604626, -0.0120961415, -0.0243113097, -0.0126619525, 0.0135304946, -0.0457624681, 0.0181202721, 0.0062617227, -0.0812614188, 0.0197886508, -0.0502231158, -0.0175871346, 0.0703022406, 0.0384245515, -0.0062273839, -0.034464471, -0.0370419584, 0.0197646804, -0.0112789925, 0.0532364883, 0.0568963625, 0.0132172359, -0.0441759638, 0.0125127891, 0.0204901863, -0.0631628856, 0.0404038653, 0.0217435248, 0.0151535068, 0.0006979853, -0.0154098002, -0.0075629633, 0.0045162942, -0.0662797987, -0.0006781289, 0.0131041082, 0.0271390043, 0.0407698229, -0.0185590405, 0.0342252292, -0.0282137673, -0.0298395511, -0.0014519306, -0.0337391756, 0.0030936529, -0.0566597283, 0.0299047492, -0.0872179344, -0.0133028273, 0.021565387, 0.0249767154, -0.0159345437, 0.0452730134, -0.0163774863, -0.0320533067, 0.0257757381, -0.0023567704, 0.0542415902, -0.0149258608, 0.0458923392, 0.0127580659, 0.0150807295, 0.0383352004, 0.0143040689, 0.0257105827, 0.0413291864, -0.0462047309, -0.0161719713, 0.0336810611, 0.0210898779, -0.01887854, 0.0713901222, -0.0039026798, 0.0313031413, -0.014016239, -0.0191456228, 0.0447708182, 0.0242293235, 0.0490630232, 0.0310314223, -0.036343161, 0.0191239789, -0.0726579577, -0.0001917968, -0.0044604018, -0.0612493046, 0.0760694817, -0.051555153, -0.0266029313, -0.0228410307, 2.447e-7, -0.0403332636, 0.0179182831, 0.0172917806, -0.0150654335, 0.0209016539, 0.0403190665, -0.0176245868, 0.0256307181, 0.0329563543, -0.0176825337, 0.0145594478, -0.0609032549, 0.0776376203, 0.0269726235, -0.1100478172, 0.0244535916, -0.0982971191, -0.0187053476, -0.0552730672, 0.0229096357, 0.0054032565, 0.0731847212, -0.0207334757, -0.0444570519, 0.0083517851, -0.0322085842, 0.0074748434, -0.0174606442, -0.0060206475, -0.0174336676, 0.0361745544, -0.0397729501, -0.0279446449, 0.0335810333, -0.017946152, -0.0060405647, 0.0508963466, 0.047531385, -0.0633279607, -0.0180177093, -0.009289532, 0.0406095423, -0.0630551949, -0.0263239518, 0.0222689174, 0.084753193, -0.0863397568, -0.0232270453, -0.0395133533, 0.0165292956, 0.0094542047, -0.0372787975, -0.0272071362, -0.0199021101, 0.0247090738, -0.0214784313, 0.0015019658, -0.0280382764, 0.0181283001, 0.0102651138, -0.0396132246, -0.0171107799, 0.0322577916, 0.0336606689, -0.0366776288, -0.0476232879, -0.0054931636, 1.970373503e-34, 0.0390383638, -0.0140856197, 0.0362911113, -0.0410645194, 0.0320402533, 0.0203569178, 0.0226138923, 0.0144638428, 0.0187480189, -0.0449869707, -0.0397621579 ]
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.0039729546, 0.0884484425, -0.0257886071, 0.0107026519, -0.0072959131, 0.035522256, 0.0286790412, -0.0286393892, 0.0011111014, -0.020147739, 0.0278185215, -0.0182346888, 0.0400206409, 0.0350663289, -0.0092801917, -0.1150564328, 0.0649231076, -0.0142278885, 0.0205535274, -0.0195560623, -0.0076501146, 0.0120761469, 0.0012710132, 0.0159098245, 0.0251961891, -0.0054887007, 0.0236950666, 0.0165656935, 0.017243471, -0.0132428957, -0.0079907924, 0.0688337907, -0.0086573334, -0.0016699935, 0.000002182, -0.0405371562, -0.0153990993, -0.0179526377, -0.0001288472, -0.0132479714, 0.0776284114, -0.0918812677, 0.0118595427, -0.0013330852, -0.0105186459, -0.0222579874, 0.0145234512, 0.0212661475, -0.0064347018, -0.0372595415, 0.0116720721, -0.0002007244, -0.0276338011, -0.001964414, 0.010521872, 0.0088628577, 0.0149582541, 0.007911454, -0.024759056, 0.0291694179, -0.0149974832, 0.0825720355, -0.0004359005, -0.0110741509, 0.0314358585, 0.034887962, -0.0325770527, -0.0366376899, 0.0131221395, 0.0326834507, 0.0491547734, 0.0154837202, -0.0244732518, -0.0003545629, 0.0031573079, 0.0007005409, -0.0577477366, 0.0175012443, 0.0007039122, 0.0067443158, -0.0020668076, 0.0419534519, 0.0094392439, 0.0143186338, -0.0054579065, 0.0231523812, -0.0027164998, -0.0202514827, 0.0077652568, 0.0076883538, 0.0322367884, -0.0217539705, 0.0311916079, -0.0459982604, -0.0041392073, 0.0216560327, 0.0324454233, -0.0328959748, -0.0016117942, -0.0145030869, 0.0597549081, 0.0436847284, -0.0708044544, -0.0045146276, 0.0280337706, 0.0314681716, 0.0216262955, -0.007732946, -0.0135558704, -0.0299726371, 0.0122315083, 0.0055476259, -0.0312416516, -0.0318922997, -0.0706463009, 0.0375474282, -0.0422454886, 0.0042053163, -0.0173373595, -0.0080143698, -0.066214852, -0.0253114384, -0.0172848199, 0.0040055416, -0.0216960628, 0.0351832099, -0.0264454838, -0.0092873368, -0.018279938, -0.0747207776, 0.0245549697, -0.0179739445, -0.0060459864, -0.0129331071, -0.0189811029, -0.0190906245, 0.0101020401, -0.0276632402, -0.055954732, -0.0285741817, -0.009704669, 0.0277896095, -0.0002887949, -0.066679135, 0.0180289838, 0.0174164567, 0.0640165433, -0.0562088341, 0.0084614092, 0.0240818281, -0.0432742201, 0.0754863173, -0.0001019199, -0.0063324394, 0.0192073043, 0.0112713221, 0.0410777666, 0.0764149278, -0.0293776076, 0.0082760416, 0.0600030757, -0.0072033564, -0.0220240876, 0.0122664757, -0.0038538338, 0.0226953328, -0.0549894273, 0.0154925613, -0.0127530629, -0.0158177521, 0.0395353958, 0.0128641631, 0.0104672685, 0.0327981114, 0.0442208946, 0.0940405503, 0.0105093, -0.0121705607, -0.0438697077, 0.0496183783, -0.038450595, -0.0227471609, -0.0053360085, 0.0014979088, -0.0034636059, 0.0001752481, -0.0146157304, 0.0479499958, -0.0244872421, -0.0475258902, -0.0203858707, 0.0275400002, 0.0306301899, 0.0258025005, 0.0330705345, 0.019271493, 0.0370165855, -0.0228510518, 0.0584044196, -0.0642298087, -0.026432097, -0.0145350331, 0.0184197873, 0.0580842867, 0.0195209645, 0.0199351627, 0.0199775528, 0.00018944, 0.0608302467, 0.0643510297, -0.0045720325, 0.0137763284, -0.0249717254, -0.0188763998, -0.0524269789, 0.0764224455, 0.0135756386, 0.0176716913, 0.0198395718, -0.0176560339, 0.0375541858, -0.0527377203, -0.0229266416, 0.0010617141, 0.0038873004, 0.0511602648, -0.0169354156, 0.0053647123, -0.0268023573, 0.0282410197, 0.0127143944, 0.0183465909, -0.0292518437, -0.0270997006, 0.0345285907, 0.0118775144, -0.0512910224, -0.0207032636, -0.0283178911, -0.0593862496, 0.0154948588, 0.0146573354, 0.0387785882, 0.0044510495, -0.0026214959, -0.0036663164, 0.0059448695, -0.0264229719, 0.0165041834, -0.0177322254, 0.0033613245, -0.043642886, 0.0524867773, -0.0618040636, 0.0010839726, 0.0225925781, -0.0138168456, -0.0000876397, -0.0738210306, 0.04186593, 0.0342280455, -0.0042317072, 0.0131668495, 0.028362615, 0.0169633981, -0.0349093899, 0.0216109548, -0.0731419101, -0.0483345576, -0.0245257746, -0.0210714024, -0.0119436318, 0.0206832439, -0.0450928435, -0.0233080927, -0.0252200868, 0.0522191562, 0.0301985722, 0.0368269719, -0.0156854969, -0.0441744514, 0.0547028594, -0.0158569086, -0.0104392339, 0.0022544391, 0.0343572237, 0.0358363278, -0.0898452178, -0.0247639436, -0.0076638139, -0.0152830854, -0.0168069396, -0.0200788341, 0.0210114215, -0.006853669, 0.0281952862, 0.0718290508, -0.0156877786, -0.0094045438, 0.0379664265, 0.0246600769, -0.0539165884, -0.0758411288, -0.0213059392, 0.0162479468, 0.0316570029, -0.0027136679, -0.074484311, 0.009441426, 0.0373840965, 0.0067496258, 0.0026191399, -0.0406906493, 0.0316698514, -0.0663821027, -0.0613073558, -0.093577005, 0.0192528535, -0.0172164124, 0.0797173381, -0.0319748409, -0.0576698631, 0.0075871311, 0.0105613116, 0.0186148454, -0.0220708493, -0.0094827954, -0.0400821045, 0.031804651, -0.010996704, 0.0211363025, -0.0110979574, -0.0451507159, -0.028685296, 0.0153167462, 0.0108450381, -0.0262037776, 0.0816289559, -0.0637795255, -0.0122233992, -0.0188174732, -0.0471061617, -0.0431757793, -0.0506383739, -0.0049954052, 0.0260077864, -0.0277718715, 0.0131269759, -0.0248752236, 0.0417131893, 0.0461111069, 0.0377718844, 0.0030724527, -0.0225543566, -0.0235029943, -0.0506699942, 0.0449560322, -0.0163077395, -0.017473055, -0.0328043215, 0.0354387797, 0.0048729647, 0.0620162599, -0.0154838469, 0.0466130339, 0.0172490664, 0.0804532915, -0.0067041228, -0.0565993413, 0.0046269898, 0.0244490318, -0.0219426453, 0.0000618622, 0.0850742906, 0.0018366929, -0.0698505193, -0.005832715, -0.0687100515, 0.0298503526, 0.0219984967, 0.0142980833, -0.0963847116, 0.0228922367, 0.0319969952, 0.0606343262, -0.0371490419, -0.0025527817, -0.020381324, -0.0813906565, 0.0667473599, 0.0082014631, 0.0173243042, -0.0512531213, -0.0075761839, 0.0057123802, 0.017377533, 0.0150942383, 0.0025180678, -0.0486735739, 0.0133464113, -0.0013061058, -0.0287405681, -0.0636354238, 0.0011483212, -0.0227938872, -0.0170643255, 0.0337568074, 0.0082393438, -0.0044705104, -0.0286160875, -0.0028367613, -0.0421288535, -0.0160226095, -0.0273257867, 0.017113518, -0.0058539645, -0.01590335, -0.031855315, 0.0214719083, -0.0134836994, -0.0348945372, -0.0005512824, -0.0142828776, -0.0252338033, 0.01955631, -0.0132744676, 0.0039144177, 0.0004171093, 0.0423107296, 0.0433315039, -0.0222878791, 0.0633819848, -0.046105314, -0.0194792151, 0.0345671065, -0.0661628842, 0.0506339222, -0.0447828807, -0.0489434078, -0.0113096861, -0.0996580347, 0.0232813954, 0.037248645, -0.0105477339, -0.0246734321, 0.040466357, -0.003052779, -0.0502024852, 0.053770259, -0.0728831217, 0.0467313267, 0.0026783496, -0.0449801311, -0.0216391869, -0.0235747416, -0.0088612689, -0.0180122461, -0.0221300442, 0.0038727915, 0.0484643243, -0.0357086547, 0.0223216228, 0.0109222047, 0.0030909886, -0.0232559815, 0.0300696697, 0.0267392006, 0.0566011854, 0.0241823159, -0.0184499826, -0.006991101, 0.0063920282, 0.0288940482, 0.0082067791, 0.0429204293, 0.0049611297, 0.0434987582, -0.071251303, -0.0092948629, -0.0082088923, 0.0093550645, 0.1211707368, -0.0064020008, -0.0967852622, -0.098437272, -0.0359017849, -0.0357162952, -0.0317168273, -0.0313433148, 0.0175228082, 0.0303892791, -0.0033803596, -0.0126784071, 0.0273156296, -0.0305070188, -0.0213134587, -0.0964480862, 0.0445768274, -0.0389569551, 0.0297540259, -0.0187222287, 0.0172217637, 0.004217478, 0.0489383377, -0.028665185, 0.0668488741, -0.0031480426, 0.0641457587, 0.0020171511, -0.0278386008, 0.0007930028, 0.0115481718, -0.0057737236, -0.0213529374, 0.0130080525, 0.0406215526, 0.0487409197, -0.0362140983, 0.045706559, 0.0034753911, -0.0175775178, 0.0000138944, -0.0201343894, 0.0466382802, -0.0531214215, 0.053986758, -0.028162688, -0.0133675393, -0.0207591075, 0.0524299368, -0.0149302883, -0.026502192, 0.0029037786, -0.0269645676, -0.0139795011, -0.0148042552, 0.0465776771, 0.0050807586, -0.0249016266, 0.0293391757, -0.0862592831, -0.0429636575, 0.0060064024, -0.0259413794, -0.0095251035, 0.0105702719, 0.0464039333, 0.0827253461, -0.0207270682, -0.0395313837, -0.0494536981, 0.0113067152, -0.0986924469, -0.0471265763, 0.0128278723, -6.161317273e-33, -0.0548340492, -0.0539363027, 0.0081628067, -0.024053432, -0.0013546372, 0.0488493145, -0.010267687, 0.0418701246, -0.0174769927, 0.0297752284, 0.0074858498, 0.0200918242, 0.0357755199, 0.01133152, 0.008103257, 0.0144816162, 0.0271263216, 0.0508340448, -0.036216788, -0.0148198046, 0.0252343286, 0.0283160545, 0.0831220448, -0.0633546337, 0.0841755122, 0.0019415839, 0.0233484339, 0.0157392453, 0.0960422903, 0.0219980124, -0.028138848, 0.0591101199, 0.0313534066, -0.0168315079, -0.0504814945, 0.0554567054, -0.0825305805, -0.0585377663, 0.0484244823, 0.042089507, -0.0737477988, -0.0475555509, 0.0031824748, 0.0076280837, -0.0373009928, 0.0025751991, 0.037947081, -0.056098979, -0.0096234819, 0.0270438902, -0.033399038, 0.0436107479, 0.0078599844, 0.0415329225, 0.0420312807, 0.0622701086, 0.0059040259, 0.0496086292, 0.0019239313, 0.0384979397, 0.0481361561, 0.0201881789, 0.1055014804, 0.0206200872, -0.0081866952, 0.0404776856, 0.0259493347, -0.0378715396, -0.0128161618, -0.0694512427, 0.0679364204, -0.0482677333, 0.0388061106, 0.0885388553, -0.0154595347, 0.0029409193, 0.0047203312, 0.0231494065, -0.0120352553, 0.0140684778, 0.0215173792, 0.0097199408, -0.042113103, -0.0275038537, -0.0894984603, -0.0404407792, -0.0226258468, -0.0056329505, 0.0612111613, 0.006464283, 0.0071051898, 0.0533325747, 0.0397920273, 0.015374803, -0.0533206016, 0.0057429299, 0.0141468132, -0.0207972396, 0.0089471191, 0.0237251967, -0.037732102, 0.0064221672, -0.0086586159, 0.022518592, -0.0126229404, 0.0256985463, 0.010028528, -0.0367430896, -0.0727235153, -0.0065979781, -0.0176708139, -0.0137543855, -0.0216405634, 0.0173476823, 0.0557489432, -0.0174080785, -0.0107223429, 0.0602563359, 0.0461988151, 0.0040481193, -0.0231068674, -0.0179784056, -0.0556104146, 0.0619048513, -0.0076209647, 0.012867027, -0.0385215394, 0.0333242789, 0.0470154062, 0.0069956938, 0.0074551539, -0.0225085784, 2.649e-7, 0.0372988246, 0.0766629204, 0.0089343376, 0.0220606234, -0.0109498976, -0.0022462844, 0.0288284905, 0.004995937, 0.011573757, 0.0346963406, -0.0215058029, 0.0203235075, 0.0599168241, 0.0234438851, -0.0680157393, 0.0335584581, -0.0347012989, -0.002958012, -0.0590649396, -0.001474045, 0.0235585924, 0.0443649702, -0.0356230475, 0.0046195243, -0.0126944846, -0.0368776359, 0.037390992, -0.0860186294, -0.0511638336, -0.0163849965, 0.0286490545, 0.014109754, 0.0255000088, -0.0121669862, 0.0013220379, -0.0065192915, 0.0491467826, 0.025045054, -0.0021559875, 0.0304710642, -0.0381826572, 0.0056303479, -0.0305751059, -0.07265836, 0.0429032408, -0.0135119399, -0.0074868537, 0.0146748992, -0.0067715631, 0.0394213833, 0.0367402248, 0.0114078084, -0.0472842716, -0.0085502556, 0.0325121619, -0.0161744338, -0.0366865918, -0.0024898951, -0.0062534385, -0.0206517819, 0.0080130994, -0.0489480793, -0.019139763, 0.0214036833, -0.0511270277, -0.0089507801, 0.0064383242, 2.67082648e-34, 0.0506941304, 0.040475212, -0.0141354641, -0.0582951047, 0.0084778033, -0.013837846, -0.0010229331, 0.0225374363, -0.016079884, -0.0315374471, 0.0269204248 ]
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.0442652591, 0.0608282164, -0.0038099142, 0.012028289, -0.0002016881, 0.0240419377, 0.0011727335, 0.0318818055, 0.0095906965, -0.0082789538, -0.034968663, -0.0330549963, 0.0023957172, 0.075193502, 0.0072892061, -0.0845852941, 0.0008098174, -0.0273299161, 0.0692638382, -0.0199152455, 0.0324146897, -0.0049060727, -0.0233976934, 0.0414285697, -0.0107165379, -0.0195968263, 0.009910943, 0.0043582907, 0.0022432471, -0.0387314297, -0.0230165627, 0.0657079965, 0.0082790516, -0.0185569599, 0.0000021678, -0.0526137948, 0.0065223472, 0.0178289283, -0.0220017433, -0.0714677274, 0.0641385764, -0.0188585725, 0.0125150755, 0.0085574957, -0.0548353978, -0.040893361, 0.0613275431, 0.0512985699, 0.0741421729, 0.0452680551, -0.0248791296, -0.0040339842, 0.0381637514, 0.0064858035, 0.0244194455, -0.0326425619, 0.0140342852, 0.0418871343, 0.0550260767, 0.0068249893, -0.0022123507, 0.0505940355, 0.0065159262, -0.0096708843, 0.0169525389, 0.0441394411, 0.0189004112, -0.0628704578, -0.0211968217, 0.0804342702, -0.0062494865, 0.0268991105, -0.0115343798, 0.0072491039, -0.0081842877, 0.002363005, -0.036834117, 0.0003775175, -0.0118406545, -0.0292136744, -0.0019034512, -0.0096546272, 0.0037630752, -0.0085087633, -0.0207677614, -0.0062547922, 0.0008602874, 0.0206180923, 0.0097233923, 0.0166703798, -0.0089619076, -0.0755129606, 0.0117264884, 0.0412337631, -0.1171330661, 0.0064279968, -0.0280389059, -0.0068555754, 0.0464074239, -0.0406328291, 0.0207681898, 0.0027117769, -0.0579273701, 0.0613084659, 0.00846738, 0.0145199466, -0.0274933986, 0.0362960994, -0.0222272128, -0.0228724126, -0.025391018, -0.0193938091, -0.0262256991, -0.0009115796, -0.0262810569, -0.0337730646, -0.0620361641, -0.0064072311, -0.0286412574, 0.0340961479, 0.0225245114, 0.0767823979, -0.0297265816, 0.01110831, -0.0556049421, 0.0473064594, -0.0014026699, -0.0108349686, 0.0040091248, -0.0709423125, 0.0329166092, 0.0322184339, -0.007021131, 0.0137136793, 0.0096751824, 0.050213147, -0.0181716699, 0.0142580159, 0.0459957346, -0.0667610914, -0.0345847011, -0.0484059863, 0.0313585587, -0.0841515064, 0.0368111618, 0.0268284325, 0.0219258182, -0.0364297964, 0.0259807687, 0.011784316, -0.0445036218, 0.0911732987, -0.0644752756, 0.0087167677, 0.0273010861, 0.0270904619, 0.0208081584, 0.0243705381, 0.0019894761, -0.0352743901, 0.0050373822, -0.0236736853, 0.058245983, 0.0197921321, -0.022774322, -0.0386553667, -0.0493173301, 0.03326362, -0.0212776549, 0.0759824812, -0.0188199412, 0.0386756249, 0.0110049704, -0.0361856334, 0.0392542668, 0.0573830046, -0.0024183446, 0.0127630979, 0.0128470249, -0.0114758853, -0.0090148468, -0.0280715227, -0.0306628644, 0.0523821302, 0.0124491118, -0.0149270808, -0.0285964664, 0.0090108868, -0.0259905141, -0.0516801886, -0.0432251357, -0.0092738857, -0.0295332577, 0.0358076952, 0.0188110545, -0.0260288529, -0.0166487265, -0.0033210192, 0.0369388163, -0.0012408009, -0.0570043214, -0.0673389658, -0.005737293, 0.0946959779, 0.0224801078, -0.0266687758, -0.0484055839, -0.0012402168, 0.0384601876, 0.039934881, 0.0397855155, 0.0102958754, 0.0236179624, -0.0377305895, -0.0289915353, 0.0406116322, 0.0232795328, -0.0219998397, -0.0189727992, -0.0109387618, -0.051031746, -0.0029014603, -0.0199519545, 0.0200826861, -0.0209397096, -0.0114046745, -0.0073395404, 0.0233258866, 0.0118731875, -0.0014841531, -0.0193185825, 0.0180797502, 0.0108154677, 0.0009956317, -0.033803951, 0.0435090251, -0.0463502035, -0.0039557568, 0.0336563401, -0.0409455858, -0.0260670073, -0.0156434495, -0.0306386799, -0.0154377939, -0.0088058868, -0.0768932477, 0.008449533, 0.0058386861, -0.0020123059, 0.056896802, 0.0298611131, -0.0080315433, 0.0396933444, -0.0136902379, -0.0143038975, 0.0538754314, -0.043295987, -0.0142739201, -0.0584964529, -0.0124784671, 0.012987596, 0.0190634299, 0.0071262335, -0.0123837683, 0.008536431, -0.0454253927, 0.0062350803, -0.0947592556, -0.0144318854, 0.0057326001, -0.0434314422, 0.0249651335, 0.0119451126, -0.0188460629, -0.0537370518, -0.0615028255, 0.0247820914, 0.0731782019, 0.0336502828, 0.0560893752, 0.0266050082, -0.0114359092, -0.0353065282, -0.0117733562, -0.0259747747, 0.024960544, 0.0450365879, -0.0250783749, -0.0136345271, 0.0126330564, -0.0720788389, 0.0463253558, 0.0045793299, -0.024069218, 0.0108126281, -0.0551094413, -0.0333436914, 0.0643934757, -0.0287743695, 0.0565921217, 0.0221163351, -0.0106268479, -0.0318533294, -0.0015920111, -0.0138595551, -0.0626788512, 0.0061279992, -0.046658136, -0.0300269276, 0.060883902, 0.008250609, 0.0187927485, -0.0310497899, 0.0251226891, -0.0063307392, -0.0252247024, -0.0405078977, 0.007449118, 0.0142612932, 0.0529301688, -0.018751001, -0.056387879, 0.095826745, 0.0108309817, -0.00456174, -0.0456044935, -0.041413825, -0.0293727778, 0.0222387444, 0.0212650131, 0.0435140766, 0.0191258118, -0.0075485134, -0.033203084, -0.0189026687, -0.0172792636, -0.0685994625, 0.0128890509, -0.0579519793, -0.0024893268, 0.0076649976, -0.0163479801, -0.0247380137, -0.0039490871, -0.0431440584, -0.0049011852, -0.006488428, -0.0052820481, -0.0653791428, 0.0083051091, 0.0072652888, 0.0050378349, 0.0066070538, -0.0338284858, -0.0086428551, 0.0277177393, 0.063668631, 0.0627556443, -0.011471536, -0.0158775207, 0.0431180336, 0.0866212249, -0.0443564542, 0.0147981914, -0.0571364164, 0.0195561331, 0.000118, 0.0415995866, -0.0015919934, 0.0345292464, 0.0532339066, -0.0513454191, -0.0019778521, 0.0936374813, 0.0189878494, -0.0601972938, -0.0200832915, -0.0237075817, 0.0100728208, 0.0010831419, 0.016666634, -0.0753236413, -0.0384050794, -0.0128369136, 0.0124854539, -0.0094822673, -0.02943982, 0.0025616162, -0.0233711731, 0.0712021589, -0.0234840978, -0.0158554651, -0.0387798101, -0.0167998336, 0.0257320572, -0.0077178539, -0.0159578286, -0.0408546142, 0.0110072698, -0.0081908805, -0.0148265371, -0.0338547491, -0.0449152254, 0.0465509556, -0.0386085287, 0.0115201324, 0.050409019, 0.0394331403, -0.0149099994, -0.0523171425, -0.0433226079, 0.0689613372, 0.0429170169, 0.0050714817, 0.0771927014, 0.0098567121, -0.0145533727, -0.0676325113, 0.0491601713, -0.0157488808, 0.0116509898, -0.004881632, 0.0759461746, -0.0334786922, -0.0187408868, -0.0762080774, 0.0316879191, 0.0318509266, 0.0299117323, -0.007200764, -0.0203432608, -0.0373136066, -0.0134309568, 0.0777343214, 0.0063143191, -0.0540864095, 0.0439007729, 0.0024029107, -0.0269096009, -0.0474579819, -0.0270131864, 0.043510437, -0.0219358616, 0.0094935568, 0.0123210661, 0.0066615134, 0.0103061069, -0.0394493639, 0.0753173605, 0.0175851285, 0.0287682861, -0.01886186, -0.0168123804, 0.0278939139, -0.0091647627, 0.0086027477, 0.0449567512, -0.0385073908, -0.00150961, -0.0117339194, 0.0734037831, 0.0259147622, -0.0058316239, -0.0080848709, -0.0496941879, 0.0390889198, 0.0427252091, -0.0305362958, 0.0028236005, 0.0033089013, -0.0124854352, -0.0130726136, 0.0187186524, -0.0087647457, -0.0010558399, -0.0119370809, 0.004909012, -0.0443015248, -0.0562935062, 0.030182343, 0.0262223296, 0.0198826455, -0.0090327961, -0.0175173786, 0.0136650028, 0.0036087136, -0.0278579183, 0.0083521493, -0.0360553861, 0.0067051449, -0.0035330316, -0.0176909752, 0.0234769229, -0.0239927135, -0.0570178591, -0.0631478503, -0.0463150181, 0.0474532731, 0.05282785, -0.0492906943, 0.0562367141, -0.0030754765, 0.0165390968, -0.0107860332, 0.0129603753, 0.0226941723, 0.0228563827, 0.0819217861, 0.0045545446, 0.0019531322, -0.0048177768, 0.0470852926, -0.0060429792, -0.1111140624, -0.0022210896, 0.0456545837, 0.0350240692, 0.019212449, -0.0194940753, -0.0178296361, 0.0135817351, -0.0037838093, 0.0537205301, 0.0023128551, -0.0233666282, 0.0873661041, -0.0003938947, 0.0213563517, -0.0372673646, 0.064703472, -0.0122542027, 0.0234086756, -0.0139439283, -0.0451139212, -0.0565661751, -0.0302129313, 0.0229608491, -0.004465336, -0.0446866602, 0.0305104423, -0.0407886542, -0.0611829087, -0.0072194352, -0.0075432835, -0.0374507867, -0.0400095284, 0.0548786297, 0.0522554852, 0.0150302779, -0.047348626, -0.0055351788, 0.0517828837, -0.0409434512, -0.0071928496, 0.0069989217, -6.230236874e-33, 0.0012019565, -0.0560543761, 0.0652977601, -0.05454088, 0.0396435224, 0.0178826097, -0.0351151265, 0.0116223264, -0.0180206336, 0.0337407626, -0.0217250064, -0.0061333291, 0.0069763078, 0.0499423407, 0.0038668709, -0.0193119198, 0.0156428143, -0.0063262228, 0.0029404655, 0.011136773, -0.0260803271, 0.0061733834, 0.0164599475, -0.1398697942, 0.0118278991, 0.0259683486, 0.008308799, 0.0331893265, -0.0192669276, 0.0512928404, -0.0533570945, 0.0470958985, 0.031394098, -0.019366499, -0.0192646906, 0.0383444354, -0.0439549647, -0.0296848081, 0.0041955533, 0.0260148142, -0.0878295004, 0.0324108563, 0.0256133545, -0.0188277215, 0.0425563082, -0.0322269984, 0.0565286204, -0.0275929868, 0.0101336008, 0.0328393504, -0.0231528338, 0.0368903391, -0.0040811514, -0.0351669826, 0.0091029555, 0.01003082, -0.0126945321, 0.0134343142, -0.0267343279, 0.0267197024, 0.0590112172, -0.006924497, 0.0434032865, -0.0024980728, -0.034420155, 0.0455628932, 0.0809715539, -0.0541497841, -0.0459646061, 0.0025269, -0.0591625534, 0.0921430439, 0.0485903211, 0.0431315601, 0.0157219339, 0.0207296386, -0.0504432768, 0.0165160857, -0.0746307448, 0.0911292806, 0.0075072651, -0.0153880492, -0.0532259792, 0.0107331639, -0.0043219891, -0.0059705256, -0.0450405292, -0.0223493576, 0.0317992121, 0.010043188, 0.0153636904, 0.0309102293, 0.0230018608, -0.0021900996, -0.0108772544, -0.0333288833, 0.0441125855, 0.0223224312, -0.0122282347, -0.0000345741, -0.0086164391, 0.0050201523, 0.0307353809, -0.0294842683, 0.0527483225, 0.0250650253, 0.0039023275, 0.0007394949, -0.0572358482, 0.0036633709, -0.0024914818, 0.0036665294, -0.012517768, 0.0298105851, 0.041424036, 0.0198617708, -0.0400707908, 0.0513761528, -0.0059974026, 0.0260862745, -0.0538289137, -0.0655743256, -0.0210377295, -0.0177601874, -0.0549584664, -0.0215324238, -0.0541435853, -0.0347746871, 0.0535028614, -0.0473289564, -0.0233577676, 0.0031110712, 2.859e-7, 0.0526313595, 0.0585580431, 0.001954386, 0.0076769143, 0.02309734, 0.0332476981, -0.0135333296, 0.0216764733, 0.0402603224, -0.053285785, 0.0029923446, 0.0337164104, 0.0008223069, 0.0556605197, -0.0251107831, -0.0463749394, -0.0121671865, 0.011779381, -0.0409322232, -0.0069148657, 0.0900338441, 0.0839396715, -0.0397626571, -0.0515180267, 0.0339532234, -0.018531343, 0.0351321474, -0.0498073809, 0.0231963228, -0.0002943444, 0.0298776515, 0.0130968681, 0.0051817144, 0.0691085905, 0.0033295443, -0.0328297727, 0.0007471355, 0.0718437508, -0.0681772083, 0.0006001536, 0.0051608435, 0.0138416467, 0.0085742846, -0.0394825861, 0.0511605889, -0.0558199883, -0.0316183157, -0.0150190638, -0.0083855279, -0.019268306, 0.0589190237, -0.053930629, -0.029853126, 0.0184769183, 0.0340156406, 0.0126120355, -0.0367298275, -0.0624189563, -0.0151961176, 0.0049626338, -0.0231066868, -0.011127119, 0.0076422892, -0.0361019038, 0.0121795693, -0.0550271422, 0.0080971308, 2.307276153e-34, 0.0147007257, 0.0360869281, 0.0059631076, 0.0296147838, 0.0375282764, -0.0104128411, 0.0185221583, 0.0377715342, 0.0289150737, -0.0680892393, -0.0191643722 ]
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.0469872132, 0.0936194807, -0.0360828266, 0.0709188357, -0.0523379371, 0.0225807372, -0.0216823556, 0.0231876262, 0.0029502444, -0.0420903675, 0.0112050902, -0.0113408845, -0.000416655, 0.0062734452, 0.0746511072, -0.0222469661, 0.0482840128, -0.0441619232, 0.0009231094, -0.0063494626, 0.0095455665, -0.0312713683, 0.021356862, 0.0056176959, 0.005730168, 0.0002085718, 0.0068230447, -0.0130158085, 0.0165908467, -0.0066494169, 0.0037069051, 0.0226141606, -0.0238561928, 0.0699173138, 0.0000019396, -0.021000931, -0.0410445705, 0.00169583, -0.0783601329, 0.0345300026, 0.0018784831, -0.0278329253, -0.0125848958, -0.013167575, -0.0263982043, -0.0157119092, 0.016620107, 0.0476068556, 0.0485260822, 0.0812370628, -0.0185761191, 0.0062788916, 0.0244449675, -0.0390058048, -0.026484428, -0.0341515802, 0.0532962829, -0.0190887712, -0.0233392883, 0.0046449783, 0.0186998919, 0.0552836694, 0.0111418413, 0.0257991888, -0.0729822665, 0.0497720093, -0.0169430412, -0.0110111795, -0.0151941571, 0.0782810301, -0.0428143218, 0.0167112704, 0.0242074169, 0.0043914393, 0.0095771225, 0.0148936845, -0.029886907, 0.0262510628, -0.0123414202, 0.0031385315, -0.0029092603, -0.0097529963, 0.0525349267, -0.0095268227, -0.0171411578, -0.0217391923, 0.0327807814, -0.0359173007, 0.0192001536, -0.0246628821, 0.0005308093, -0.0567813329, 0.0018537961, -0.0235107541, 0.0528966337, 0.0432656743, -0.0778076872, -0.0403727144, 0.0337314457, -0.0268690456, 0.0500833914, 0.0081066787, -0.0358768739, 0.0446111858, -0.0184735935, 0.0302882586, -0.0333764218, 0.0574450269, 0.0304332376, 0.0180989169, -0.0286332052, -0.0243295133, 0.0113357538, 0.026251493, 0.0209747404, 0.0230362508, 0.0071672061, -0.00622393, -0.0334971175, 0.0325420573, -0.0609578937, 0.0024768845, -0.0262469556, 0.0034164572, 0.0478354767, -0.0296949781, -0.0289665926, 0.0049080928, 0.0231872201, -0.1259635538, -0.0590648875, -0.0031313789, -0.0079704896, -0.0428795889, -0.0133155147, 0.0948713124, 0.0044360762, -0.0312013011, -0.0368056968, -0.0555225275, -0.0308681242, -0.025845902, 0.0009390399, -0.048149623, 0.0172301065, -0.0284728445, -0.0174371153, -0.0819041654, -0.0037085761, 0.0153979007, -0.0860618874, 0.0756850913, 0.0087245572, -0.0253446978, -0.0005647267, 0.0320027769, -0.0177010894, 0.0344820172, -0.0033035632, 0.0458757617, 0.069299221, 0.0239058342, 0.0442539267, 0.0673255324, 0.0250883847, -0.0025222343, -0.0204672087, -0.0008306441, 0.0368893147, -0.0575859994, 0.0160988513, 0.0853127763, -0.0514560863, -0.0788633898, 0.0905900076, 0.0432225578, -0.0346027911, 0.028999161, -0.0003045809, 0.0047995485, 0.0325281546, 0.0655875728, -0.0650860965, -0.0418457761, -0.0529098585, -0.0043513798, -0.0044754781, 0.0200097784, 0.0156655889, -0.0096694678, -0.0056375517, -0.0121644931, 0.0210575014, 0.0118790949, 0.0107928375, 0.0444861576, 0.0144523, 0.0378046185, 0.0276057497, -0.0367266983, -0.0115901381, -0.044536788, -0.0194597561, -0.0152116222, 0.0593190268, -0.0274265781, 0.0139019378, -0.003715941, -0.0219284035, -0.0165969953, 0.0389157943, -0.0167430229, 0.0599137209, -0.023801744, -0.0296641849, -0.0160067733, 0.0095798075, 0.0401440747, 0.0331424251, -0.0064314259, 0.0095805507, -0.0062120603, -0.0364276432, 0.032368727, -0.0129314419, -0.0913050547, -0.0170331299, 0.0128494175, 0.0168061424, -0.0047853841, -0.0441110246, 0.0259281881, 0.0625558421, -0.008084218, 0.0105148889, 0.0072882236, -0.0281559918, 0.0081000738, 0.0318677872, 0.0313411951, -0.0157341063, 0.0373471864, -0.0104047609, -0.0008530171, 0.0056051966, -0.017278837, 0.0229936894, -0.0156526901, 0.0162269454, 0.0094885286, 0.0638178214, -0.0519251525, 0.0686631575, -0.0055541955, -0.0322257392, 0.0117101949, -0.015878262, -0.012766174, -0.0482340418, -0.0533591062, 0.0478689633, -0.0257540178, 0.0183016397, 0.0148145696, -0.040340472, -0.0342552736, -0.0252793562, 0.0023520552, -0.0008414765, -0.0102415644, 0.0438416414, 0.0046884934, -0.0030596994, -0.0461465158, -0.0229220185, -0.0010098193, -0.0346806012, -0.0408526808, 0.045085866, 0.0179512873, 0.0323528796, -0.0163927432, -0.0544360243, -0.0090138484, -0.0007649381, 0.062542364, -0.0324535854, -0.050533928, -0.0322727934, 0.0272334982, -0.0074677393, 0.0520030372, -0.023742551, -0.0134942764, 0.0086963382, -0.0118922377, 0.0094753839, 0.0690573975, 0.026033029, 0.0425495245, 0.0446556062, -0.0221731421, -0.050355792, -0.0228541382, -0.0041458826, -0.0148940729, -0.0157948546, 0.0021528699, 0.0410848856, 0.0281497501, 0.0385288298, 0.0213363022, 0.0239556208, 0.0417659059, -0.00509788, -0.0297323745, -0.0176461879, -0.0085316347, -0.0741262957, -0.0065430575, -0.0471163467, -0.045009587, 0.0737067237, -0.0429442227, 0.0258913953, -0.0123123722, -0.0292843413, 0.051813215, 0.0620358624, -0.0094951205, 0.0032882807, 0.0723994523, -0.0513515957, -0.0591914654, -0.0437079407, 0.0374366865, -0.0506193861, 0.0573205277, -0.0230953097, -0.0116020106, -0.0102229668, -0.0265832115, -0.078062214, -0.0676442757, 0.0073724859, 0.0050553936, 0.0036405905, -0.0008392027, -0.0056337374, -0.0335888565, 0.0380902439, 0.0210455935, -0.0368703194, 0.0089636743, -0.0271853674, 0.0917873681, 0.0647035316, -0.0378248058, -0.0007564639, -0.0417542756, 0.0118922284, 0.1136439517, 0.027063217, 0.0344583578, -0.0122204842, 0.0046872175, 0.0195708405, -0.0172510967, -0.0069839144, 0.0236477554, 0.0312038511, -0.0745198727, -0.0255487617, 0.0533204302, 0.0029725512, -0.0146762878, 0.0036334491, 0.0175605342, 0.038734287, -0.0209609829, -0.0106026512, -0.0632860884, -0.0180078018, 0.0340946317, 0.0466893539, -0.0102374591, -0.034203589, -0.0001624674, -0.1051201597, 0.0012407213, 0.012322546, -0.0243183225, -0.0262348782, 0.0027935824, 0.0351951234, 0.0027436828, 0.042811539, 0.0073269829, -0.0067557744, 0.0118923802, 0.0393458828, -0.0295485165, -0.0497601219, 0.0164391119, -0.0584697425, 0.0362660512, 0.0642315075, 0.0207508281, -0.0197481923, 0.0118700042, 0.0301875733, -0.0359737277, -0.0368579812, 0.0210016277, 0.0848501548, 0.0024191292, -0.0127764232, 0.0257337596, 0.0337918736, 0.0445287414, -0.0308482386, 0.0405181758, 0.0129809892, -0.0100191096, -0.0172248222, -0.003315167, -0.0315711945, 0.025537001, 0.0779897869, 0.035021726, -0.0108865835, -0.0208509751, -0.0540457219, 0.0293851774, -0.0394419469, -0.0288254321, 0.0129970135, -0.008238948, -0.0346524902, -0.0605933815, -0.0454010069, -0.0178538878, 0.0301288906, 0.0342025086, 0.0020359384, -0.0079331612, 0.0254065562, -0.0340737253, -0.0106581189, -0.0417860374, -0.0061129914, -0.0203179438, -0.0056898249, -0.0195456482, 0.0082392823, -0.0203793216, 0.0354061387, -0.0932182074, -0.0889323354, 0.0475006327, 0.0320140384, 0.0245769136, 0.0689665526, -0.0068282355, -0.0440970175, 0.0525663123, 0.0220734756, -0.0183029305, 0.0010598601, 0.0860717893, -0.0496081635, 0.0266851299, 0.0502930768, -0.0302165858, -0.0091450857, 0.0741311908, -0.0153379533, -0.0636076257, -0.0111275772, 0.0060217162, 0.0437024087, 0.0583541095, 0.0128345517, -0.0027790209, -0.0082670208, -0.0040238989, -0.0152932787, -0.0152955763, -0.0126929777, 0.0294592679, -0.0066346549, 0.0131099401, 0.0148575502, -0.0124456203, 0.0182447042, 0.0397771634, -0.0412981249, -0.02930649, 0.021031566, 0.0325183161, 0.036698319, 0.0010407678, -0.012727432, 0.0595280118, 0.0015859167, 0.0386694223, -0.0338977501, 0.0158604439, -0.0016689682, -0.0322638899, 0.0005052501, 0.0229752474, -0.0842918083, -0.0200862922, -0.0022693439, -0.0158516392, 0.0194224454, -0.0568166636, 0.03296832, -0.0185030047, 0.0017438025, -0.0192980971, -0.0353234038, -0.0133025125, -0.0105365822, 0.0161607768, 0.0178277083, -0.0322397761, 0.0642498732, 0.0603962243, -0.0230249427, 0.0613478012, -0.0155413393, -0.0266820583, -0.0397893116, -0.0268104039, 0.032628525, -0.0031215616, -0.0342849456, -0.0475079082, -0.0476581194, -0.0853182226, 0.0065267896, 0.0075263865, 0.0261332672, 0.0166107491, -0.0171147473, 0.062225014, -0.0017130275, 0.0220518764, -0.060991168, 0.0659209639, 0.0397718027, -0.038234666, 0.0161246695, -5.926891373e-33, 0.0149907283, 0.0312872715, -0.030282367, -0.0114306062, 0.0195120871, 0.0379463583, -0.0520066433, -0.0101338569, -0.0445550531, -0.0174137391, -0.0212579295, -0.0138034839, 0.010455668, 0.0139262918, -0.0395406634, -0.0418775082, 0.0067824186, 0.0001803414, -0.0324657038, -0.0066623506, 0.0801383182, 0.0517723784, 0.0465475358, -0.0832961351, 0.0417395495, -0.0145874955, -0.0197948124, -0.033092279, 0.0182384066, 0.0630612522, -0.0088284547, 0.0083054025, -0.0139984488, -0.0230606422, -0.0208898634, 0.0272767004, -0.0713339448, -0.0171064157, 0.0022819161, -0.0142531097, 0.0094153332, -0.0385475717, 0.036679022, -0.0344824269, 0.0120108556, 0.0004984119, -0.0095606335, -0.0228519291, -0.039552357, 0.0116160568, -0.0303694569, 0.0182530954, 0.0306345448, 0.0112624057, 0.0496983863, 0.0095771141, 0.0293223541, 0.0000480605, -0.0754022449, 0.0023352613, 0.0315078571, 0.0502294414, 0.0379472449, 0.0122511955, 0.0035742277, 0.0887738019, 0.0249897838, -0.032428246, 0.0260166638, -0.0062027988, 0.0237346236, 0.0446863435, 0.0151186399, 0.0349087231, 0.0587944463, -0.0328507274, -0.0461473204, -0.0001340088, 0.0289249904, 0.0323375426, 0.0158075131, -0.0071802731, -0.0805424079, -0.0005702846, -0.002869403, -0.0424802154, -0.0050709797, -0.0150722144, 0.033214163, 0.0018438634, -0.0352482051, 0.0294393227, -0.0068848329, -0.031757459, -0.0009938832, 0.0308652744, -0.0328572504, -0.0361735895, -0.0058598393, -0.0030670508, -0.0087772049, -0.0110040037, 0.0000066854, -0.0544077009, 0.0378990732, 0.0318341777, 0.0594419576, 0.0281793252, -0.0702648163, -0.0157188121, -0.0209940393, 0.042020537, 0.0254194178, 0.0362848826, 0.0530104823, 0.0141105605, 0.0003592806, -0.0164650436, 0.0601015463, -0.0014368674, -0.0380288325, 0.0553289838, -0.0006273109, 0.0188085344, 0.0095757889, -0.0317315646, -0.0033547617, 0.0519369282, 0.0443016849, -0.0667046607, 0.0224092975, -0.0209991205, 2.654e-7, 0.0089742644, 0.0142317731, 0.0455786809, -0.0242984574, 0.0301796887, 0.0632419512, -0.0327591412, 0.03852164, -0.0095269848, -0.0252846349, -0.0288562328, 0.00874025, 0.0459060259, 0.0434937626, -0.063000232, -0.0090004122, -0.0737160146, -0.0161305629, -0.0469227321, -0.0401817188, 0.0386229977, 0.1241375729, 0.0301357042, -0.0183194857, -0.0331052765, -0.0791692063, -0.0131606357, -0.0091609834, 0.0033009173, -0.0065772161, 0.0657702908, 0.0253485981, 0.0164795443, 0.0165844224, -0.047688324, 0.0165349022, 0.0152776707, 0.0444219373, 0.0234135874, -0.0393382534, -0.0576536991, -0.0485705771, -0.0112952515, -0.0414391458, 0.0711654574, -0.024911819, -0.0267525688, -0.0340796486, -0.0342271328, 0.0028896804, 0.000604592, 0.0007407363, -0.0460096821, 0.0349097177, 0.0099698808, 0.0234328341, -0.012786204, -0.0846126303, -0.0025642591, -0.0273627378, -0.010351602, -0.0296470281, 0.0104659181, 0.0018651328, -0.0130825154, -0.0434402712, -0.0034291353, 2.661532269e-34, -0.0288394839, -0.0137875648, -0.0029614763, 0.0004600938, 0.0170331206, -0.0141262226, 0.0281359758, 0.0248857494, -0.0399583243, -0.0473888032, -0.0491908379 ]
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.0124035124, 0.0452633724, -0.0049310052, 0.0391971469, -0.0590715222, -0.0122331213, 0.0202353317, -0.0126101654, -0.0194511004, -0.048796501, 0.0013101717, -0.084229283, 0.0212524757, 0.0236699563, 0.0346645713, -0.0134012513, 0.0534875244, -0.0573987626, -0.0083746249, -0.0098453397, -0.0135374544, 0.0004134384, -0.0039469069, 0.0210348349, -0.0151194856, -0.0175329596, -0.0332137235, -0.0047560814, 0.010336861, -0.0447208732, -0.0272588953, 0.0500506721, 0.0069416258, 0.0384958647, 0.0000022714, -0.054630775, 0.0227266978, -0.0147063211, -0.0400880575, 0.0318709686, 0.0099869603, 0.0324676335, -0.0044642114, -0.0057188673, -0.0009690254, 0.0024859654, 0.0642209426, 0.0167115945, -0.0013186653, 0.0348121375, -0.0103933448, -0.0143932598, 0.0562761128, -0.0637592524, 0.0288787019, -0.0707194358, 0.0276980437, -0.056419488, 0.012224419, -0.0270596594, -0.0284484569, 0.0434884652, 0.0497969426, 0.0201302823, 0.0146699194, 0.0571026802, -0.0094319265, -0.0281906016, -0.0264177192, 0.067369774, -0.0478030518, -0.0185440462, -0.002337116, 0.0078711547, 0.007249231, -0.056462273, -0.0247351807, 0.041845981, -0.0092126131, -0.012502213, 0.062888287, -0.0063007884, 0.0274170768, 0.0050559626, -0.0744773, 0.0640530586, 0.0565667078, -0.0148613108, -0.0341645367, -0.0209185705, -0.0483008884, -0.097812891, 0.0038394888, 0.0344368517, -0.0262489729, 0.0127623025, -0.0752239674, -0.0145974029, 0.0197888408, 0.0127036301, 0.0419995971, 0.0791117921, -0.0425558649, 0.048313994, -0.0563797466, 0.0149486093, -0.0294989776, -0.0049667787, -0.042554792, 0.0139384083, 0.0422180779, 0.0199498609, -0.0134269539, 0.0155467158, -0.0429520644, -0.0506430455, -0.0195866656, 0.0242286734, -0.0140629252, -0.0096321255, -0.0183936246, 0.020879481, -0.0273016263, -0.0020421064, -0.0226444807, 0.0329959393, -0.0443212688, 0.0238249134, -0.0019799289, -0.069214806, -0.0274089538, 0.0356150009, 0.034573283, -0.0532470904, 0.0228020139, 0.0685359687, 0.0004939076, -0.0629460663, -0.0373848118, -0.0108417915, 0.0028649264, -0.0681453794, -0.0122341691, -0.0928749591, 0.0213305429, 0.0174417589, -0.0090531083, -0.0055999486, 0.0303199645, 0.052910585, -0.0227716211, 0.0494395271, -0.0090027591, -0.0085019534, 0.006745311, -0.0117988363, 0.0278155357, 0.0306682009, 0.0010619642, 0.0561382286, 0.0085174935, 0.012645334, -0.0053036772, 0.0364359878, 0.0578099564, 0.0276717823, -0.0300751217, 0.0109976847, 0.0278785694, 0.0425899997, 0.057364665, 0.0616181567, -0.0259148367, -0.0502503291, 0.0495427474, 0.1011120826, -0.0278092325, 0.0082518021, 0.05045164, -0.0193144158, -0.0229648966, -0.0123104732, -0.0499002896, 0.0353568904, -0.0155937383, 0.0410458446, 0.1086239591, 0.058401335, -0.0171748791, -0.0044982582, -0.0014815597, -0.0068161129, -0.0413889699, 0.03187209, 0.0269774757, -0.0248250328, -0.0572082512, 0.0461244211, 0.0543017499, -0.0357188992, -0.045202136, -0.0331359096, 0.0507236645, 0.0453974083, 0.0144480821, 0.0071146679, -0.0614099726, -0.018798247, 0.0049496978, 0.0237314254, -0.0236037616, 0.02119755, 0.0098692402, -0.0521921478, 0.0237830598, 0.0217072815, -0.001243462, 0.0431245118, 0.0388833731, 0.0149053186, 0.0171958953, -0.017211847, -0.0151555818, 0.0246079024, -0.0178575907, -0.053514909, -0.020758342, 0.0222160909, 0.0406753533, 0.0058517279, 0.0202889722, 0.0022659686, 0.0466255434, -0.0563336611, 0.030843975, -0.0340525806, -0.1041246131, -0.0297388285, 0.0556488521, 0.0136647951, -0.0179275591, 0.0064824093, -0.0216655396, -0.0451191403, 0.0030306475, -0.0397334956, 0.0471423492, -0.0324135982, 0.0190806612, 0.036335852, 0.0363576375, -0.0373812802, 0.0484228656, -0.051313702, 0.0188211221, 0.0607453994, 0.0258252025, 0.0016627668, -0.064141266, -0.0170102529, -0.0044304994, -0.0137605621, -0.020160215, -0.0149346562, -0.0255234949, -0.0141970655, 0.0110015003, -0.0818739608, 0.0030038094, -0.0251450818, 0.0296202321, 0.0133552896, 0.0373885073, -0.0058095562, -0.0147243738, -0.0110100238, 0.0048525347, -0.0027753378, 0.0287021119, -0.0077675357, 0.008539414, -0.0299509019, -0.0275522005, -0.0317927226, -0.0019943004, 0.0401790552, -0.0213886872, -0.0521959551, -0.0272018742, 0.025840899, -0.004983725, 0.0542611964, -0.017922245, -0.0109062735, -0.0057030204, -0.0236666333, 0.0839146376, 0.064885214, -0.0005695574, -0.0115199881, 0.037487071, 0.0008477519, -0.0192373283, 0.0259832889, 0.0000360927, -0.0105701489, -0.0272371117, -0.0037829066, -0.0235513877, 0.09308777, -0.0298373252, -0.0161321685, -0.0262772888, -0.033845529, 0.017456295, -0.0162785314, -0.0186780393, 0.0136543214, -0.0365530849, 0.0402954556, -0.0423438512, -0.0768273026, 0.0490862913, -0.0857374072, -0.0069820234, -0.0028006644, 0.0121639883, -0.0205718279, 0.0568572879, 0.0381028689, 0.0124033624, -0.0532184429, -0.0163668245, -0.0025614325, 0.0401299633, -0.055090867, -0.0012386488, 0.0666022301, 0.006486529, 0.0347394869, -0.0451042131, -0.0083474284, -0.0219756998, 0.0057914522, -0.0501412414, -0.001764536, 0.0267890263, -0.0056958352, -0.0197381955, 0.0284709744, 0.0129473405, 0.0855417252, -0.0205060951, 0.0346706025, -0.0259948056, 0.0212905984, 0.0455763228, 0.0195827857, 0.013117441, -0.0252428409, -0.0045943549, 0.0553758927, 0.0339095443, -0.0059648454, -0.0229738485, -0.0089792106, 0.0443160236, -0.008361496, 0.0061264974, 0.0668896511, 0.0304965898, -0.0895108134, 0.0166746229, 0.0999663547, 0.0056999885, -0.0702778324, 0.0083266674, 0.0131221432, 0.0348300673, 0.0314165875, 0.0212511085, -0.1025717407, -0.0453508012, 0.0399195254, 0.0004003344, 0.0009701539, -0.0143336011, 0.0016968313, -0.0936923325, 0.0310474318, -0.0119797569, -0.020507304, -0.027566513, -0.0218753163, 0.0277494267, 0.0533057749, -0.0097807785, 0.0387195125, -0.0004124933, -0.0027601074, -0.0096944589, 0.0227290932, 0.0037988066, 0.0247054212, -0.020621432, 0.04552266, 0.0060142176, 0.0101757357, 0.0153451469, -0.0699033439, 0.0318534225, 0.0041529979, -0.0053496649, -0.0360311307, 0.0163785405, -0.0340683274, 0.0013855557, -0.0124205835, 0.0253284201, -0.044536721, -0.0220372006, -0.0106567256, 0.0961367115, -0.0077822297, 0.0156399366, -0.0011596192, -0.0216775909, 0.002892493, 0.0735737681, 0.0404530242, -0.0162963662, -0.0458529554, -0.0266214926, -0.0300412122, -0.0524759851, -0.0038552657, -0.024782056, 0.0207927264, -0.030779371, -0.0063900026, -0.0078135738, 0.0321956649, 0.0678131357, -0.012822235, 0.0175444763, -0.0062543298, -0.0139384307, -0.0665117875, 0.0499988459, -0.0534822345, 0.0419913381, -0.0991529226, -0.0026572309, -0.0155168222, -0.0243568327, -0.0073712054, 0.0530842021, -0.1057907641, -0.0457080081, -0.0198290218, 0.0145576997, 0.0133531401, 0.0323138088, -0.0099378554, -0.02074733, 0.0377105847, 0.0127323745, -0.0363937132, 0.0537818633, -0.0119059365, -0.0135311875, 0.0063595744, 0.0385965593, 0.0054120021, 0.0051691122, 0.0382760651, 0.043828968, 0.0060044932, -0.053170979, -0.0158770029, 0.0248330906, 0.0159141775, -0.0229893308, 0.0245202761, -0.0208172575, 0.0622060597, 0.0137384878, 0.0169028435, -0.0127157811, -0.0248674415, 0.0199195631, 0.0144143933, 0.0157894082, -0.0319960229, 0.0372893587, -0.0078050657, -0.0380426496, 0.0164214745, -0.007783636, -0.0085573643, 0.035205368, -0.0233419761, -0.0258096829, -0.0307247452, -0.0246545412, 0.0500211269, -0.0518340655, 0.015289166, 0.0207860954, -0.0016080139, -0.0435626879, 0.02204437, -0.0313899927, -0.0603114031, -0.0289117415, 0.0137808183, 0.0745177567, -0.0164018404, 0.0070063565, -0.0192298349, -0.0058614514, -0.0346340649, 0.007873185, -0.0170044433, -0.0295789372, 0.0327360742, 0.0393971726, 0.002791696, 0.0368296951, 0.0574567467, 0.0266420823, 0.04097737, 0.0343141481, -0.0034503464, -0.0183069445, -0.0469510183, -0.0083159292, 0.0603100695, -0.0255616475, 0.0153952185, -0.0160675067, -0.0677180588, 0.0228846185, -0.0061042071, -0.0394614302, -0.0117279664, 0.0202799123, 0.0410594903, 0.0147479195, -0.0337154716, -0.0135015249, 0.0459524728, 0.0224924758, -0.0342896245, -0.0127622169, -6.998149865e-33, -0.0087673394, -0.0161845088, 0.0391701683, -0.0350115821, -0.0371579081, 0.0176276155, -0.0499561988, -0.0217861217, 0.0075275474, -0.0138115585, -0.0206596311, -0.0177846551, 0.0071665524, 0.0420242809, 0.0007497831, 0.0041326261, 0.0352269299, 0.0291054491, 0.0158611462, 0.0254039261, 0.0134285912, 0.0353717841, 0.0292343814, -0.001499451, -0.0292101074, -0.0082467943, 0.0576184615, -0.00026135, -0.0331726223, 0.030029228, -0.051306732, 0.0273373015, 0.0204433706, -0.0313064717, -0.0126803014, 0.0181119572, -0.0879433751, -0.0199829917, 0.047911793, -0.0162392389, -0.0324385501, -0.0661206096, -0.0019205328, 0.0465998687, 0.0148620149, -0.0095179146, -0.0102032525, -0.0015676594, -0.0476329252, -0.0081172362, -0.0767478645, 0.0386331566, 0.0199595094, 0.0055972734, 0.0357034281, -0.0136796813, -0.0196001939, 0.0156455934, -0.0524365567, -0.0074161803, 0.0119631868, 0.083278276, 0.068309091, 0.0514203757, 0.0147978896, 0.01357501, 0.0139572266, 0.0056498158, -0.0148867927, 0.0230002385, 0.0201879982, 0.0234094784, -0.0110695967, -0.0012078055, 0.0661774576, -0.0078262091, -0.0636376515, -0.0196912885, 0.0178018603, 0.0565204173, 0.0575697608, 0.0211286992, -0.0085230339, -0.0254959948, -0.0180549733, -0.0093478775, -0.0535320565, 0.0207938515, 0.0421245098, 0.0263577327, -0.0017374799, 0.0182724632, 0.0664669126, 0.0077876458, 0.0088522518, -0.0095621413, 0.03935498, 0.0153961526, 0.0098481281, 0.0364837423, -0.0745717287, -0.0152709298, 0.0152698923, -0.0313270204, 0.0186332539, -0.0071833604, 0.0203639381, 0.0024041827, -0.075056158, -0.0238977056, -0.0559543334, 0.0076171923, 0.018939428, 0.033498399, 0.0635200143, 0.0082701603, 0.0210848469, 0.0662777051, -0.0166375227, -0.0049435785, -0.0282664783, -0.0452092886, -0.0072424393, 0.0199628007, -0.038507916, 0.0061876471, -0.068334043, 0.0321161263, -0.0075081987, -0.0664974451, -0.0214310884, 0.0461214297, 3.052e-7, 0.0123735275, 0.0175794382, 0.0260795448, -0.0047875405, 0.0056802114, -0.0186104979, 0.0364080258, 0.0016388326, 0.0175828878, -0.033981774, 0.0114665348, 0.0250054151, 0.0157732125, -0.0013394835, -0.084718883, 0.0216568075, -0.035038095, 0.0114812553, -0.0713174939, -0.0027682036, 0.0176927075, 0.1093610451, -0.0204548761, -0.011511826, 0.0734118745, -0.0387400612, 0.008476764, 0.0009390807, 0.0255366694, -0.0009730289, 0.0446717925, -0.0151299555, -0.0159601998, 0.0231719129, 0.0282660369, 0.0235432275, -0.0396130718, 0.0639210492, -0.0239245985, -0.0174423438, -0.008206821, -0.0313248932, -0.0200506467, -0.074283801, 0.0572674386, -0.0022226707, -0.0087774023, -0.0562332161, 0.001292621, 0.000906373, -0.0229385812, 0.0090406518, 0.0372265801, 0.0132494243, 0.0351559445, -0.0516187623, -0.0307300501, -0.0669883341, -0.0120971557, -0.0072812755, -0.0697357506, -0.0556663647, -0.1081928909, -0.0256855488, 0.0442677997, -0.0480817519, -0.0165197756, 3.347363887e-34, 0.0243116636, -0.0114894994, 0.0218782201, 0.0586276092, 0.0254036654, -0.0470464267, -0.0124015715, 0.029208513, -0.0081416229, -0.1222746149, -0.0455966629 ]
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.0223445799, 0.0540356748, -0.0181875452, 0.0434777401, -0.0086758304, 0.0003569966, 0.0130587462, 0.0177239571, 0.0145993643, -0.0334986635, -0.0718594566, -0.0549750812, 0.0075248787, -0.0142174326, 0.0343976542, -0.0173126087, 0.0671967119, -0.0241258387, 0.0063443086, 0.0049278592, -0.0020292371, -0.0001568717, 0.0074820574, 0.0548332371, 0.0261965189, -0.0246436074, -0.0195084196, -0.0124008395, 0.0012211462, -0.0340254009, 0.0217888393, 0.0425983146, 0.0321043581, 0.0090002595, 0.0000021127, -0.0154378368, 0.0028258585, -0.0248557273, -0.0187176187, 0.0076672551, 0.0365095921, 0.002726356, 0.0115289921, 0.0042767008, -0.0107034147, -0.0148907434, 0.0475112312, 0.0072161648, 0.0372042097, 0.0559187941, 0.0075324876, -0.0347088501, 0.0224582311, -0.0196984913, 0.0325359143, -0.0510037057, 0.0242768843, -0.0326059386, -0.0010928045, 0.0222069658, -0.0115434146, 0.0655575916, 0.0317729339, 0.0046050851, 0.016441077, 0.0704404935, 0.0037597006, 0.0138419848, 0.005361822, 0.0408902019, -0.0280228015, -0.0537645593, 0.003412144, 0.0155536933, -0.0357786603, -0.0323155262, -0.065538004, 0.0065084239, -0.008552284, 0.0106572248, 0.0335710719, -0.0173351504, 0.0404494628, 0.0097458493, -0.0292209703, 0.0220277477, 0.03213837, -0.0329306275, -0.0192459226, -0.0318455547, 0.0071975417, -0.0403324105, 0.0588008016, 0.0488910824, 0.0025749642, 0.0211991873, -0.0135124633, -0.0384170748, 0.0319506414, -0.0716418028, 0.0642555356, 0.0618737489, -0.0349273384, 0.0460590348, -0.041220706, 0.052794233, -0.0329501331, -0.0048244894, -0.0497045517, 0.0004167635, -0.0473510586, -0.023502551, -0.0596261099, 0.0208428986, -0.000251231, -0.0342909917, -0.0175881982, 0.0210366398, 0.0238859206, -0.0479360521, 0.0116274208, 0.0201281253, -0.0098429583, 0.0033802954, -0.0118457843, 0.0492287911, -0.0502163693, -0.0002891292, 0.0131035047, -0.0366454497, -0.058919359, 0.0037136427, 0.0168100111, -0.0623938777, 0.0125410734, 0.0210649576, -0.0076696454, -0.061062865, -0.0326712169, -0.0005922536, -0.0032421649, -0.0605649874, 0.0251790304, -0.0687476993, 0.0408610292, -0.0025737127, -0.0204022285, -0.0260167196, 0.0159136299, 0.0535766818, -0.0296456255, 0.0206086896, -0.0033701868, -0.0118319159, 0.0437062867, 0.0182215553, 0.0177315231, 0.0382168964, 0.0157293249, 0.010775581, 0.003006283, 0.0095021995, -0.0098770317, 0.0115911663, 0.071097739, -0.0212012865, -0.043696329, 0.0336737521, -0.0159615986, 0.031996578, 0.0143218506, 0.0290029235, -0.0474465862, -0.0342716239, 0.0221289005, 0.0830582753, 0.0368257165, 0.0057869838, 0.0103930188, -0.0338963866, 0.0101505322, -0.0364749543, -0.0344334766, 0.071761556, -0.0354647972, -0.0018510538, 0.0403415859, 0.0269771069, -0.0388940014, -0.0266076382, -0.0102078468, 0.0039422642, 0.0035226899, 0.0302495863, 0.0568690524, 0.0036296169, -0.0391062684, 0.0966669694, 0.0165630132, -0.0481703468, -0.0250046104, -0.0342811681, 0.0407330729, 0.0708542317, 0.0323762521, -0.0287347753, -0.0520031787, 0.0138621097, -0.0112302881, 0.0061993478, -0.0073679239, 0.0069631068, 0.0202291105, -0.0633426979, 0.0172242783, -0.0132130953, 0.0089219315, 0.0075910375, 0.0442592688, 0.0328475423, 0.0338707007, -0.0236108676, 0.0271766353, 0.0327602327, -0.0354787856, -0.0302680042, -0.01885828, -0.0004602801, 0.0023902659, -0.001589179, 0.0116803469, 0.0296365917, 0.0494903214, -0.069948934, 0.000081498, -0.0193974841, -0.0793873072, -0.0729145035, 0.0165459849, 0.0620293021, 0.0400896221, 0.0268083848, -0.0160985738, -0.0362541378, 0.0364092626, -0.0343486518, 0.0551203191, -0.046075996, -0.0013265391, 0.0004799192, 0.0295706838, -0.0239647347, 0.0621782467, -0.0391522646, 0.0275622942, 0.0244232211, 0.026575394, -0.0035986828, -0.0300331172, -0.0293048527, 0.0380535983, -0.0297468957, 0.0115001211, 0.0153960139, -0.0073761586, -0.0337649658, -0.0259949081, -0.0998883769, 0.0328033641, -0.0246185809, 0.0149020581, -0.0102855284, 0.0121787097, -0.0046608695, -0.0258469414, -0.016450705, 0.0317463502, 0.0021362815, 0.0505480878, -0.0213660579, 0.0303356629, -0.0223974884, -0.0624816567, -0.0589033291, -0.001660042, 0.0740879774, -0.0511078201, -0.0519099049, -0.0201853625, 0.061703492, -0.0536054559, 0.0178230759, -0.0363981314, -0.014124928, 0.0145730525, -0.0534376651, 0.0103642475, 0.0663228929, 0.0028825076, 0.0037812665, 0.061504595, -0.0405412391, -0.0604441091, 0.0250712354, -0.0080076372, -0.0095107686, -0.0167413652, 0.0284502264, 0.0009177704, 0.0892972723, -0.0069446298, -0.0115378927, -0.033177644, -0.0014064563, -0.0130565055, -0.0037865033, -0.0507161096, 0.0143509228, -0.0365432203, 0.0340884663, -0.0362814963, -0.0357855558, 0.0584540144, -0.0258794054, -0.0015580353, -0.0180395506, -0.0287892409, -0.0240955837, 0.0577809736, 0.0071195276, 0.0269192476, -0.0353415124, -0.0294841137, -0.0158748236, -0.0096085845, -0.04155026, -0.0495153926, 0.0329613313, 0.0337106213, 0.031738326, -0.010264162, -0.0465455987, -0.0488740951, -0.0096345348, -0.0146473181, -0.0077577583, 0.0088061839, 0.0127731273, -0.0155186225, 0.0219672192, 0.0247124135, 0.081843473, -0.0213400945, -0.0093875704, -0.0069521442, 0.0422514193, 0.0265662409, -0.0112301391, 0.0118480958, -0.0261117332, -0.0077309501, 0.0750334412, 0.0617184117, -0.0004457269, -0.0283684582, -0.0079772333, 0.0423823819, -0.0182567704, -0.0178127289, 0.01933554, 0.0073505528, -0.1031110883, -0.0448726676, 0.0845188051, 0.0275418982, -0.0569697246, -0.0254313778, -0.0380966216, 0.0031444463, 0.0201476552, 0.0540571995, -0.064480342, -0.0214775857, 0.0232768506, 0.0276554264, 0.0130168796, -0.0136170192, -0.0077581285, -0.1051144376, 0.0014854856, -0.0002515408, -0.0714558885, -0.0020299733, -0.0518531837, -0.0114538549, 0.0411373004, -0.005251138, 0.0697266012, 0.0031707459, -0.0177941583, -0.0084717423, 0.0103168255, -0.0153148342, 0.0645104051, -0.0132802799, 0.0415935963, 0.0295354258, 0.0365738235, 0.0271376241, -0.0450469889, 0.0234744046, -0.03240522, 0.0320167392, -0.0127787925, 0.0235011596, -0.0129235107, -0.0004046453, -0.0082992595, -0.0117516182, -0.0105026141, -0.0445991755, -0.0255507659, 0.0633227602, -0.0384932831, -0.0199839082, -0.0091347964, -0.0166965853, -0.0105897421, 0.0538517013, 0.036432039, -0.0215933174, -0.0359054953, -0.0029249724, 0.0063568228, -0.0458189547, -0.0373723805, -0.0085240044, 0.0404468067, -0.0021349709, -0.0449521728, -0.022430541, 0.0049810363, 0.0441976488, -0.0116377138, 0.0286079217, 0.0295253862, -0.0246135052, -0.0609712154, 0.0378623903, -0.047523953, 0.0131898569, -0.0382296816, 0.0173832923, 0.0180380531, 0.0016651574, -0.0343606845, 0.0480334945, -0.1083950475, -0.0529530272, 0.0011361713, 0.0560243428, 0.0181801803, 0.0488481373, 0.0089180162, -0.0416612774, 0.0639992952, 0.0396119803, -0.0598163456, 0.0370875895, -0.0054064598, -0.0042911242, 0.0053338273, 0.0281438343, -0.0611101948, 0.0064284112, 0.0086991154, 0.0497778095, 0.0062747565, -0.0112757934, -0.0204085484, -0.01705819, 0.0410114303, 0.0289199986, 0.0042290646, -0.0307695493, 0.0296336208, 0.0059651844, 0.0224480815, -0.0221689176, -0.0129236765, 0.0069868048, -0.0392106995, 0.0131599, -0.0124746393, 0.0511060432, 0.0122940904, -0.0135863796, -0.0122666489, 0.0158435423, 0.01087646, 0.0263159685, 0.0108911823, -0.0475165658, -0.0140544912, -0.0094440822, 0.0511249565, -0.0588017069, 0.0374765769, 0.0106059937, -0.0232989341, -0.0554761775, 0.0379019231, -0.0890915692, -0.0339069627, -0.0118188793, -0.0121369883, 0.0659607649, -0.0292198211, 0.0348997302, -0.0006757783, 0.0012706539, -0.0341416299, 0.0056791543, 0.0112916296, -0.0575260147, 0.026935, 0.0313735455, 0.004744201, -0.0080692274, 0.0696255788, 0.0058469954, 0.048986204, 0.0001176679, -0.0013388242, -0.0102679152, -0.0157805793, -0.022400111, 0.0281133819, -0.0265341494, -0.0345025361, -0.0244011283, -0.0557199977, 0.0414576903, -0.0137559054, -0.0531840548, -0.0157742687, 0.0272421576, 0.0414446294, 0.0360643342, -0.0262930971, -0.0158204641, 0.03767417, -0.0394535214, -0.0313116461, -0.0135225579, -6.787244872e-33, -0.0403002389, -0.0229853503, 0.0400739349, -0.0482735932, -0.048319228, 0.0099926898, -0.0820511207, -0.0273700394, 0.0040960936, -0.0325642787, -0.0418728441, 0.019101778, 0.0160826538, 0.0191315096, 0.0062534478, -0.0155372964, 0.0313314684, 0.0107308719, 0.0158608425, 0.029133711, 0.0595915541, 0.0836317241, 0.0590166524, -0.0376119614, -0.0073044924, 0.0026192595, 0.0517854355, 0.0116220647, -0.0270101391, 0.0474789329, -0.0446768291, 0.04611139, 0.0181011017, -0.0681581348, -0.0320228115, 0.0142701045, -0.0562487505, -0.0296699852, 0.0146663189, -0.0217568651, -0.0224074591, -0.0356196202, 0.0363431163, 0.0199792329, 0.013746812, 0.0067751026, 0.0028069436, -0.0312543139, -0.0577471666, -0.0144303292, -0.0454364046, 0.0021670163, 0.0088353353, 0.0049586645, 0.0127423443, 0.0262114033, 0.0068644881, 0.0231977813, -0.1049893349, -0.0008478638, -0.0158170462, 0.0898258835, 0.0258754194, 0.051654771, 0.047524631, 0.0585219562, 0.077980943, -0.006662352, -0.0517359376, -0.0096875336, 0.0656874627, 0.0222113542, 0.0090306513, 0.0098171076, 0.0569715314, -0.0416277312, -0.044315286, -0.0062022894, 0.0014639214, 0.0797654763, 0.0462254621, 0.0155891357, -0.017947292, -0.0438909903, -0.0317958221, -0.012876031, -0.0593258291, -0.0095765367, 0.0488863289, 0.0377572514, 0.0152853737, -0.0215102155, 0.0740115717, -0.0273002852, 0.0037857164, 0.0719279498, 0.0020094211, 0.0226724632, -0.007005671, 0.049571313, -0.0378242843, -0.0291250944, -0.0150751704, -0.018243067, 0.0147243422, 0.0022491757, 0.007497265, 0.0309693739, -0.0679044425, -0.0122543434, -0.0443540327, -0.0069478122, 0.0084444936, 0.0289687719, 0.0512486063, 0.0350716487, 0.0246618278, 0.0839161873, 0.0183689781, 0.0026748208, -0.0176684037, -0.0381745696, 0.0188286956, 0.0214759447, -0.020538345, 0.0154264336, -0.0540201738, 0.0625082999, 0.0130687859, -0.0652850047, -0.0025907175, 0.0636259988, 2.87e-7, 0.0406227373, 0.0552843548, 0.0049753217, -0.0115673142, 0.0135271456, -0.0022766902, -0.0069145705, 0.0165807474, 0.0271548294, 0.0004489362, -0.014898303, 0.0439867005, 0.0504930951, 0.032872688, -0.1217648834, 0.008343556, -0.0787264183, 0.0142992726, -0.0477650724, -0.0479769856, 0.0185704939, 0.1065013409, 0.0030424998, -0.0082646357, 0.0011102876, -0.027421223, 0.0825903863, -0.004282482, -0.001244667, -0.0064089014, 0.0403579399, 0.0318503715, 0.0050961389, -0.046346385, 0.0082679596, 0.0271811672, -0.0202615913, 0.0692325532, -0.0038642182, -0.0659125596, 0.023614876, 0.0022310775, -0.0276705548, -0.0620316863, 0.0710053816, -0.0381758139, 0.0095800739, -0.047746975, 0.0067568854, -0.0014667306, 0.0248337742, -0.0050199553, 0.0095013753, 0.0330683626, -0.0204979293, -0.0126423184, 0.00532653, -0.1095432639, -0.0576730408, 0.0006781321, -0.0447056256, 0.0115658827, -0.0642963648, 0.0146140112, 0.022334259, -0.0561538078, 0.0069796108, 2.633012985e-34, 0.0186587721, -0.0101442942, 0.0113923103, 0.0361334942, 0.0077497908, -0.0240722466, 0.0140811438, 0.011597502, -0.0040616612, -0.1141961217, -0.0376838669 ]
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.0582267642, 0.0400697105, 0.0167235993, 0.0149108712, 0.0217931755, 0.005458544, -0.0140354792, -0.0082060974, 0.011628408, -0.0547804832, -0.0418800339, -0.0192542076, -0.0265519712, -0.0041629835, 0.0526225381, 0.0109576248, 0.0341628082, -0.0072952895, 0.0062988484, -0.0032389911, -0.0236065015, 0.0277827904, 0.0169607531, 0.0249529853, 0.0545161404, -0.0032221905, 0.0013952042, 0.019356139, 0.048954457, -0.0443872288, 0.0695946068, 0.0341826677, 0.0339789987, 0.0127030592, 0.0000020458, -0.0370437577, -0.0246104449, -0.009326403, -0.0063327765, 0.0155130317, -0.01605854, 0.0253749266, 0.0244556405, 0.0237672795, -0.0628051758, 0.0416352749, -0.0051319445, 0.0194731336, 0.0621876679, 0.0650174618, 0.0117947264, -0.0252551381, 0.0432666168, -0.0616370626, 0.0401521884, -0.0524005145, 0.0114360461, 0.0025422121, 0.0210869666, 0.0749645159, 0.0044355798, 0.0256150812, 0.0186853185, 0.0071488931, 0.0370595939, 0.048625093, -0.0482314676, 0.0128653748, -0.0042297165, 0.1003148034, 0.0127670476, -0.0151241953, 0.0188686531, 0.0215089433, 0.0021302679, -0.02118567, -0.0404929891, 0.0380315557, -0.016615022, 0.0099170553, 0.0304859672, 0.013978648, 0.0298636816, 0.0250790399, -0.0304151159, 0.0586316586, 0.0330775008, -0.0303784125, -0.0021892758, -0.0041135033, -0.0317122303, -0.0180901065, 0.0244876314, 0.0376064405, -0.0753789619, 0.013941478, -0.0164676215, -0.0061437599, 0.0661981925, -0.0017826138, 0.019215377, 0.0437066443, -0.0149175711, 0.0108527718, -0.0344274379, 0.0282335076, -0.0209917799, -0.0068469751, -0.0768382698, -0.0003831775, -0.0258626454, -0.0354410335, -0.0048991842, 0.0371428132, -0.0898527578, -0.0143980617, -0.08167997, 0.0323868394, 0.0044517089, -0.0201546513, 0.0230021477, 0.0505137816, -0.0663395822, 0.026722746, -0.0359245725, -0.0078583239, -0.0102677541, 0.0201365799, 0.0412065536, -0.0433639623, -0.0169460084, 0.0043066274, -0.0199117362, -0.0335817188, 0.0222077128, 0.0512624271, -0.057185933, -0.0085209012, 0.004611461, -0.0484830514, -0.0210048445, -0.0647108182, -0.0069225687, -0.0640871525, 0.0360790305, 0.0146136042, -0.0056120423, -0.0087847114, 0.0367786102, 0.0616189428, -0.013973264, 0.0220596399, 0.0139159802, -0.0156031149, 0.0374186113, 0.0379392393, 0.0246815756, 0.0361990109, -0.0070320587, 0.0273737162, 0.0093961116, 0.0391018912, -0.0335790105, -0.0048410436, 0.04704706, -0.0018070214, 0.0212061871, 0.0390205011, -0.0093732784, 0.0467951894, 0.0369850919, 0.0313223116, -0.0376030058, -0.0170747042, -0.0043391301, 0.0092472658, 0.0523795336, -0.0003820208, 0.0558624081, -0.0121998964, -0.0108962413, 0.0091329562, -0.0205256902, 0.0371670462, -0.0072633671, 0.0295977537, 0.0714847669, 0.0361715183, -0.0286884718, -0.0259760451, 0.0183918141, 0.0177713186, -0.052651234, 0.0275389515, 0.0059504984, 0.026094608, -0.0662327036, 0.0529317185, 0.0067583197, -0.0469337068, -0.0014384368, -0.0631343946, 0.014895712, 0.0717529282, 0.077114515, -0.0260598585, -0.0489064567, 0.0068985173, -0.0015239177, 0.0158672184, 0.0077793235, -0.028130183, 0.0045704539, -0.0587248094, -0.0208106656, -0.0277112927, 0.0025625483, 0.0216436721, 0.0317606889, 0.0118292728, 0.0604888611, -0.0359633565, -0.0077058179, 0.0277710706, -0.0591304898, -0.0284383744, 0.0275254212, -0.0265704133, 0.0188629422, 0.0281208791, 0.0020853127, 0.0365269519, 0.0545275584, -0.0441161543, 0.000232669, -0.0321375877, -0.0659665987, -0.0602206513, 0.0304853152, -0.0165931601, 0.0080271121, 0.0260394234, -0.0589357801, -0.0439659581, -0.0252433736, -0.0083809439, 0.0158786867, -0.0709004477, -0.0054643219, 0.0617642589, 0.0113958297, -0.0781089365, 0.0995182842, -0.0197284389, 0.0272551663, 0.095957458, 0.0398291312, 0.0096854549, -0.0683813468, -0.0013624998, -0.011513439, -0.0209531188, 0.0078827022, 0.0182029791, 0.0481219105, -0.0678955391, -0.0310076512, -0.1113979518, 0.040982049, -0.0147218984, 0.0095183421, 0.0240528155, 0.0226895679, 0.0167596098, -0.0051459619, -0.0748807341, -0.036253605, 0.0365688019, 0.007452725, 0.0207559094, 0.0354387574, 0.0166733116, -0.0537394695, -0.0166311041, 0.007439028, 0.0113170417, -0.0143980114, 0.0229627229, -0.0377545208, 0.0407169871, -0.0645555407, 0.0029338279, -0.0342637859, -0.0066299709, 0.0232957508, -0.035904415, 0.0409519635, 0.0302754212, 0.0265082847, 0.025565628, 0.0264291354, 0.0007465722, -0.0720806196, 0.0191405807, -0.0319444835, -0.0337023363, 0.0119348839, -0.0395883061, 0.0174771789, 0.0355815031, 0.0228396319, -0.0236328598, -0.0392988585, 0.0073985611, 0.020907145, -0.0214566998, -0.0687405318, 0.0309786573, -0.0050842585, 0.0363131799, -0.0192124397, -0.0239279084, 0.0737594962, -0.0068036136, 0.0148906969, -0.0486689135, -0.0007386357, -0.064044781, -0.0232274439, -0.0096807303, 0.0228889734, -0.0592188314, 0.0009117968, -0.0499770269, 0.0241838954, -0.0105965557, -0.0748093054, 0.0366721973, -0.042704735, 0.0174141638, -0.0149497204, -0.054975491, -0.0548242852, -0.0220189393, 0.0250897836, 0.0261344276, 0.0179730374, -0.0068225535, 0.0118142245, -0.0296251532, 0.0325292125, 0.0428261496, -0.0337987617, -0.0202603061, -0.0189440381, 0.0754950941, 0.0767342374, 0.006028763, 0.0040606828, -0.0125962524, 0.009155157, 0.0678904131, 0.0572457984, -0.0160945375, 0.0204811562, 0.0069603198, 0.0415477082, -0.004727317, -0.012063643, 0.032369379, 0.0269983057, -0.0145702986, -0.0308085866, 0.075119555, 0.0428692363, -0.0235243104, -0.0032008749, -0.0244972575, 0.0733074844, 0.0313881636, 0.065537557, -0.1015093103, -0.0125827435, -0.0320709758, 0.0589557551, -0.0132740568, -0.0090655461, -0.0081011606, -0.1052214354, 0.0477608852, 0.0054071625, -0.0419695713, -0.023448417, -0.0213856194, -0.0027152423, 0.0228761807, 0.0030539087, 0.0608114563, -0.0296300966, 0.0219801031, 0.0232686326, 0.0441700928, -0.0662819222, 0.0269932244, -0.0006728635, 0.0457627662, 0.0522526428, 0.0159985516, 0.0240925271, -0.0283912178, 0.0019721719, -0.0608248077, 0.0215475969, -0.0285819918, 0.0110440711, -0.0109162387, 0.0047105202, -0.0367075913, 0.0340586528, -0.0078722155, -0.0047390549, 0.001592193, 0.0421892554, -0.0242023338, 0.0233829841, -0.0397550575, 0.0045208381, 0.0049937204, 0.0560072698, 0.0111621302, 0.0049441545, -0.0265173018, -0.0383550562, 0.0537993647, -0.0727245361, -0.013190208, 0.0252338573, -0.0154229356, 0.0155525589, -0.089046903, -0.0226242635, 0.0160520822, 0.011143133, -0.0054854075, 0.0347067304, -0.0779172927, -0.0339692272, -0.0644364953, 0.0039111357, -0.006506925, -0.0081444532, -0.0417695493, -0.0169293527, 0.0681157708, -0.0549329147, -0.0215540845, 0.0176459868, -0.0148143992, -0.0611671209, -0.0342123434, 0.082317166, 0.0135541307, 0.0379423052, 0.0085212141, -0.0299310088, 0.061021205, 0.0574573725, -0.0084124571, 0.028556494, 0.003514752, 0.0058331247, -0.0226122458, 0.0206718035, -0.086450085, 0.0167927891, -0.013890909, 0.0871282071, -0.0039343489, -0.0267251004, 0.030153729, 0.0103295594, 0.0099343406, -0.0417746231, -0.0074157757, -0.0211893581, 0.0390335247, -0.0363118909, -0.0069031855, -0.0357018523, 0.0256201215, 0.0158655401, -0.0389669351, 0.0197070967, 0.0008145316, -0.0178186968, 0.0653309226, -0.0663674325, -0.0098137753, -0.006969084, -0.0102365548, 0.0152785769, -0.0062815584, -0.0443837605, 0.0016082156, 0.0058031199, 0.0680337995, -0.028937716, 0.0507330447, 0.0039659995, -0.0006295801, 0.0011242522, 0.0514043234, -0.0728314295, -0.0212332867, -0.0676127821, -0.0038824165, 0.0387656689, 0.0356702581, 0.0511643142, 0.0183888935, -0.0136697898, -0.0143307503, 0.0062455009, -0.000239412, -0.0150999315, 0.022082245, 0.0342225172, 0.0094385622, 0.0287740603, 0.0888493359, 0.0302324761, 0.0217647124, -0.0186338872, -0.0151600614, -0.0455759242, -0.0374329574, -0.0084519032, 0.0473285951, 0.0027049629, 0.0036331643, -0.0198660977, -0.0493777543, -0.0101309409, 0.0164821055, -0.0258852504, -0.0270327628, 0.0517952032, 0.0546513386, -0.0063113272, -0.0407015942, -0.0660137162, 0.0125293154, -0.0421984755, -0.038193021, -0.013993253, -6.787887721e-33, -0.0294463597, -0.0423424467, 0.0393048041, -0.0349800028, -0.0244018212, -0.0074492269, -0.0292731691, -0.0265698601, -0.0222218391, -0.0125370529, -0.0136745395, -0.0038077084, -0.003493089, 0.0208291113, -0.0083411625, -0.0034636178, 0.0216650125, 0.0039399546, -0.0177997723, 0.052106671, 0.0253718831, 0.0266333725, 0.0269830804, -0.0385581739, -0.0036825577, -0.0203452855, -0.0083068181, 0.008326469, -0.0395816565, 0.0571932085, -0.0211713817, 0.0414025523, 0.0294937734, -0.0450070761, 0.0106247766, 0.0039535444, -0.0869621634, -0.0318901539, 0.0125624333, -0.0644040927, -0.0620504916, -0.0589935072, 0.0363840126, -0.0284361746, -0.0136274146, -0.0084049888, 0.0123245465, -0.0311906878, -0.0332505815, -0.079160437, -0.0452000946, -0.0020545181, 0.0110753169, -0.0155938566, -0.0315289199, 0.0683246627, -0.0102808131, 0.0600118339, -0.0254182164, 0.0200050399, 0.0037873357, 0.0598448068, 0.0488677472, 0.0201016758, -0.0210896675, 0.0265578646, -0.0046943775, -0.0290480871, -0.0020672069, -0.0337392874, -0.047642041, 0.0575600751, 0.000375626, 0.0367225297, -0.0029759775, 0.0110045234, -0.083576791, 0.0714293122, -0.0126084425, 0.0062004128, 0.0390086919, 0.0004529947, -0.0203019846, -0.0230156202, -0.0149033247, 0.0180514362, -0.0356974155, -0.0161894877, 0.0580756664, 0.0354416668, -0.0233761631, -0.0077626668, 0.0291254707, -0.0241213683, 0.0094647314, 0.0296683591, -0.033417698, -0.0100484211, -0.001629237, 0.0236360151, -0.0501967184, -0.0069988868, 0.0504745245, -0.0111942086, -0.0139800999, 0.0078249536, 0.0093763154, 0.002398035, -0.0266019385, 0.0117108822, -0.0275897495, 0.0406928882, -0.0233360268, 0.0084190127, -0.028834518, 0.01093107, -0.0085967015, 0.0576794855, 0.0170628261, 0.0270533785, -0.0296621788, -0.0349429585, 0.015866261, 0.0203628298, -0.0342311226, 0.0607668385, -0.0066496953, 0.0683348402, -0.0005742717, -0.0357224159, -0.0312489811, 0.0333210826, 2.767e-7, 0.0507977344, 0.0262073576, 0.0073043867, 0.004568608, 0.0080215614, 0.0037467754, 0.0209737159, 0.0459505059, 0.055039268, -0.0110945925, 0.0101289283, 0.0101379147, 0.0121447071, -0.0007747541, -0.0646438375, 0.0004364804, -0.0730619356, -0.0286958702, -0.0423288904, -0.0582637973, 0.0567096174, 0.0751683116, -0.0586446263, -0.0289374534, 0.002381427, 0.0147195226, 0.0745947212, 0.0024064977, -0.0232271105, 0.0271485876, 0.0306341127, 0.0210833102, -0.008762002, -0.0132711763, -0.029676348, 0.0123674925, 0.007817328, 0.0752790347, -0.0014119042, -0.0781597644, 0.0384862274, 0.0052511995, 0.0252634529, -0.0611415766, 0.0625689179, -0.0432519913, 0.0052518789, -0.0072121634, -0.0438273214, 0.0100930575, 0.0029716375, -0.0419301465, -0.0306695681, 0.0195153132, -0.0066139004, 0.0243929494, -0.0261421986, -0.0869751126, -0.0398476422, 0.0042975722, -0.0505356267, -0.0531310961, -0.0293876752, -0.0124401404, -0.0379480235, -0.0614376441, -0.0026236034, 2.75685935e-34, 0.0363404155, -0.0087625664, 0.0077000926, 0.0276835002, 0.0124735227, -0.0026971318, -0.0345358476, 0.0278263632, 0.0280296654, -0.0886936709, -0.041471187 ]
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.0167072676, 0.0358356535, 0.0014574126, -0.0108918892, -0.0476621091, 0.0276466385, 0.0380694494, 0.0282196756, 0.011238019, -0.01970708, -0.0533658899, -0.0416179039, -0.0091365157, 0.0236736443, 0.0140168285, -0.0376802571, 0.0527672619, -0.0170076936, -0.0020196219, -0.0237341356, -0.0260814931, -0.0017866498, -0.0625987574, 0.0805567801, 0.0221666787, 0.0057826615, -0.0083568199, -0.0090733031, 0.0028782843, -0.038754914, -0.0005345395, 0.0457905605, 0.0355603173, 0.0040724422, 0.0000019631, -0.0438554212, -0.0096179629, 0.0106892139, -0.024074195, -0.0681616366, 0.0625054762, -0.0239060856, -0.005846947, 0.0138605712, -0.0350201838, -0.0228386391, 0.0264731366, 0.0537717864, 0.0544028357, 0.0681141466, 0.0107307173, 0.0296377502, 0.0216949396, -0.0162038747, 0.0163580477, -0.0448169, 0.0216334574, 0.0120878788, 0.0678484291, -0.0253368542, -0.0071038799, 0.0475610159, 0.0000426896, 0.012375446, -0.0096970424, 0.0514076538, 0.0262323022, -0.0307293572, -0.0263028927, 0.0487823226, -0.0188325122, 0.0113523342, 0.0277967583, -0.0017665479, -0.0118527059, 0.0098866681, -0.0456674285, 0.0118311783, -0.0330780596, -0.0193003193, 0.0136073874, -0.0611285679, 0.0386752561, 0.0171944499, -0.0181377754, 0.0298872292, 0.0142098228, -0.005229237, 0.0362745076, -0.0318480171, 0.0019662136, -0.0404505171, 0.0124920029, 0.0902855545, -0.0983956605, 0.0027278815, -0.0547739193, -0.0066692131, 0.0731968209, -0.0365520716, 0.0451709367, 0.0068716914, 0.0086411219, 0.0497229844, -0.0099887215, -0.0106473072, -0.0508299954, 0.0615040176, -0.0274084248, 0.0166597832, -0.0541247912, 0.0128315743, 0.0066878251, 0.0056649265, -0.0087555759, 0.0033226183, -0.0540370904, 0.0231398828, -0.0089587346, 0.0079532405, 0.0018937708, 0.0091085294, -0.034388978, -0.0118206348, -0.038827084, 0.0205168147, -0.007615264, 0.0346490853, -0.0189318936, -0.0345732756, 0.0034052129, 0.0243037641, -0.0126883928, -0.0169617757, 0.0250722077, 0.10537792, -0.0246404372, -0.0030211264, 0.0105708418, -0.0275883432, 0.0108888391, -0.0564047173, 0.0294161979, -0.0693070367, 0.0199236702, 0.0161541402, -0.0006397958, -0.058650028, 0.0133874994, 0.0013288475, -0.0307201389, 0.0730426237, -0.0028962295, 0.0084403269, 0.0442396775, 0.0250547249, -0.0338720344, 0.0179762449, 0.0121729719, -0.0358885191, -0.0198758487, -0.036463622, 0.0295157805, 0.0277746357, -0.0204346608, -0.0336576141, 0.005785781, -0.0008274762, 0.0046749651, 0.0850735456, -0.0385182239, 0.046149753, -0.0001426839, 0.0058937678, 0.0466064066, 0.0357814841, 0.0610727966, 0.0040155877, 0.0317654423, -0.0252478011, 0.0022823259, -0.0413003564, -0.0555710308, 0.0361068882, -0.0006262029, -0.0098954653, -0.0661650971, 0.0207703896, -0.0302849226, -0.040577393, -0.0301849004, -0.0427125879, -0.0126160234, 0.0019164128, 0.0779104307, -0.036506068, -0.0389530323, 0.0367704667, 0.054603532, -0.019240234, -0.0318263173, -0.1058218479, -0.0112304939, 0.0649265051, 0.0499561355, -0.0690896362, -0.095932737, -0.0384707786, 0.0110524511, 0.0187614914, 0.0064198999, -0.0169529598, 0.001164285, -0.0605041422, -0.0303991232, 0.0372075364, 0.0070425998, 0.0016452681, -0.0059898896, 0.0053829188, -0.0385740958, -0.0061946567, 0.0137696341, 0.0619795173, -0.0634559542, -0.0180908721, -0.0004635772, 0.0078600366, 0.0384327844, -0.0178904422, -0.0177302137, 0.0160453916, 0.045785524, -0.0304606631, -0.0305195209, 0.0225839969, -0.0160194505, 0.0165302865, 0.0316822641, 0.0014451315, -0.0076869926, -0.0007291677, -0.0105433045, -0.0340524428, -0.027838828, -0.0231771059, 0.0405835584, -0.0012438099, 0.0310621336, 0.018834142, -0.0365961157, -0.0564690568, 0.0411711484, -0.0124611203, -0.0179612096, 0.0570356809, 0.0088736909, -0.0217597578, -0.0133887427, -0.0218069609, 0.035557881, 0.0096010072, 0.0369089432, -0.0162173938, 0.0395805351, -0.023387989, -0.0861261636, -0.1023190543, -0.0100825494, 0.021790985, -0.01886563, 0.0294354986, 0.0101740174, -0.0057819234, -0.0132752424, -0.0107227955, 0.0311937835, 0.0098454226, 0.0113944579, 0.024237873, 0.0343746878, -0.0353330225, -0.0476431698, -0.0010920456, -0.0473745503, -0.0270209555, -0.0072339042, 0.005420811, -0.0228913072, 0.0100287907, -0.0285565592, 0.0402163342, -0.0353782624, -0.0194836929, 0.0449600928, -0.0471431613, -0.0087345364, 0.082244724, -0.0140974121, 0.0355667807, 0.0806278512, -0.009612984, -0.0454943813, 0.0303145293, -0.0169667788, -0.0367426835, -0.0383821353, -0.0017819498, -0.0126441643, 0.0884368718, -0.0003467113, 0.0352458134, -0.0151721174, -0.0212087687, -0.0166533925, -0.0273300633, -0.0171108153, 0.0547437444, -0.0494389683, 0.020837035, 0.0086616063, -0.0479233377, 0.0876763612, 0.020197114, 0.0136424536, -0.0402600542, -0.0509137623, -0.0395568386, 0.0149724856, -0.0084995599, 0.021833742, -0.0117871305, -0.0192935802, -0.0306999739, 0.0247191563, -0.007469649, -0.0468440205, 0.0865014046, -0.0470807105, 0.0258979518, 0.000145796, -0.0529367961, -0.0341200829, -0.0177548975, -0.0159590598, -0.0055128536, -0.0283877403, -0.0091844369, -0.0777519643, -0.0022522502, 0.0273341145, 0.049982477, 0.0231453851, -0.0062660095, -0.0293256491, -0.0047130701, 0.0227798484, 0.0483535454, -0.0224082712, -0.0187960789, 0.0369799621, 0.0410224535, 0.0223856308, -0.0119289272, -0.0427420661, -0.0014978728, 0.0145238992, -0.040521618, 0.0146203674, 0.0454989672, 0.0384399891, -0.0724438727, 0.0158239398, 0.105361715, 0.0172264967, -0.0717615262, 0.0035881717, -0.0055982675, 0.0035643918, -0.008945073, 0.0393403172, -0.0424356163, -0.050327599, -0.0113313822, 0.0412994362, -0.0025131905, -0.0229379535, 0.0463530496, -0.0408885367, 0.0337898806, 0.013605237, -0.0269121472, -0.0161065832, -0.0371884517, 0.0214201454, -0.035275735, 0.0079922508, 0.0254510939, -0.0362609662, -0.0262240954, -0.0084046284, -0.0151561433, -0.0924471691, 0.0177941266, -0.0060534296, 0.0740434602, 0.0770221949, 0.0058956724, -0.040803723, -0.0204710588, 0.0492154248, 0.0440602228, 0.015463843, -0.050263945, 0.0303501617, 0.0012068321, 0.00067982, -0.0374885052, 0.0583025552, -0.045357313, -0.0125386063, -0.0138280988, 0.0910054371, -0.050283201, 0.0058342516, -0.0391548984, -0.0071830056, 0.0304767098, 0.0358537585, -0.0244624857, -0.0464485921, -0.0479693078, -0.0217405818, 0.0096207075, 0.0329227373, -0.0291631185, 0.0300683193, -0.0540145971, -0.0051141791, -0.0294892434, -0.0434896685, 0.0783942863, 0.0221694987, 0.0275975745, 0.0232113227, 0.0275102891, 0.0267901793, -0.0300250873, 0.0137470216, 0.0099346964, 0.0401594527, -0.0699700192, -0.0706008151, 0.0654933676, -0.020477768, -0.0009979075, 0.0022203338, -0.0229612887, -0.0401634872, -0.0115052788, 0.0864038467, 0.023511311, 0.0150932819, -0.034650635, -0.0273298528, 0.014520173, 0.0102385916, -0.0308234654, 0.0084004598, 0.0203281585, -0.0054947711, -0.0130720045, 0.0291027762, -0.0342549272, 0.0122243175, -0.0043995315, 0.0465410389, -0.0318310112, -0.0192876421, 0.0242369808, 0.0207066592, 0.0090636993, -0.0265227314, 0.0070380671, -0.0262116082, 0.0277969949, 0.0072817882, 0.0206690747, -0.0316653065, 0.0167565178, 0.0031428181, -0.0278839599, 0.0386171676, -0.0123147359, -0.0226851963, -0.0368214846, -0.047387708, 0.0734945089, 0.0153870806, -0.0082448758, 0.0540645532, 0.022895325, -0.0076523167, 0.0437806509, 0.0123274671, 0.0140898349, -0.0007045181, 0.1097358987, -0.0226905271, 0.0231493264, -0.0308062229, 0.0540843122, -0.0342968218, -0.0681532398, 0.0049314233, 0.0420470499, 0.0796734467, 0.0202604681, 0.0349183492, -0.0250025801, 0.0112491529, -0.0328484327, 0.0305354428, -0.0269597415, 0.0392201133, 0.0412320867, 0.0254371576, 0.0268440228, -0.0290320907, 0.0903231949, -0.0284803677, 0.0965996608, -0.0013348443, -0.0269551352, -0.0632326677, -0.0428109951, 0.0548449382, -0.0025728575, -0.0589392334, -0.0151225943, -0.0390592664, -0.0262870044, -0.0058768527, 0.0126438104, -0.0552482083, -0.0599391647, 0.0533726551, 0.0176031664, 0.0055749314, -0.0232001431, -0.0307743307, 0.0120869195, -0.0085529629, -0.0222252868, 0.0161313806, -5.33188552e-33, -0.0158012658, -0.0095695592, 0.0669288114, 0.0051408098, -0.0022057407, 0.0119644189, -0.0248321295, 0.0335064866, -0.0229818169, 0.0105114756, -0.012122307, -0.0243842974, 0.0063885706, -0.0141193951, 0.0453938991, -0.0334986374, 0.0076813907, 0.0056444039, -0.0097424071, 0.0099668447, -0.0133516593, 0.0337736979, 0.0207655393, -0.0770241022, -0.015322445, 0.0227293931, 0.0090950206, 0.0178122539, -0.0427751318, 0.0746794268, -0.0068723476, 0.0150923962, 0.0398299918, 0.0136008272, -0.0253111217, -0.013588273, -0.0412185639, 0.0009206502, -0.0115292976, -0.0102392212, -0.0533414371, -0.0542752407, 0.0602491871, -0.0136493417, -0.054705061, 0.0037845217, 0.0246039294, -0.0120468056, -0.0192150138, 0.0102618234, -0.040688552, 0.0458028279, 0.0225153007, -0.0415890068, -0.0228859074, -0.0010584918, -0.0271269064, 0.0039340919, -0.0000313629, 0.0188888907, 0.0477510281, 0.0180920493, 0.0405693389, -0.0098908311, 0.0042596227, 0.0450062752, 0.0482085869, -0.0237765573, -0.015158833, 0.0086158086, -0.0059222779, 0.0807845294, 0.0235020611, 0.0332246237, -0.0383349434, 0.0093254941, -0.0665087849, 0.0469592363, -0.0185535811, 0.0923259333, 0.0154639101, 0.0122454036, -0.0318215676, 0.0125174755, -0.0153564932, 0.0124184061, -0.0060905861, -0.0462729558, 0.0439690724, 0.0096931355, 0.0053045149, -0.0218916498, 0.0322831832, 0.00623221, 0.0150142265, -0.0316105261, 0.039975632, 0.0382052101, -0.0309978966, 0.0125500895, -0.0574352369, -0.0390072204, 0.0084543768, -0.0431480296, 0.056567017, 0.0154715646, -0.0518567376, 0.0169159621, -0.0553367026, -0.0104938922, -0.0117595652, -0.0417830944, 0.0268121436, 0.0330572613, 0.0583816469, -0.0297431201, 0.0039981585, 0.0454224981, -0.0380343534, -0.0499421991, -0.0518984906, -0.0474055633, 0.0089398595, -0.0176184643, -0.0489735007, -0.0046065291, -0.0816326514, 0.0399279632, 0.022008555, -0.0373229012, 0.0061672381, 0.0047143968, 2.684e-7, 0.0501280837, 0.0553554483, -0.0221024565, 0.000044847, 0.0263876505, 0.0356505848, -0.0572287887, 0.0009386908, -0.0314429328, -0.0026447198, 0.0262705535, 0.0308841914, 0.0224872157, 0.0212218743, -0.0328350589, -0.0314385556, -0.0042125462, 0.0185227878, -0.0425908379, -0.0393841006, 0.0327504538, 0.0707953349, -0.0346692801, -0.035475038, 0.0266824979, -0.0470188856, 0.04441946, -0.0542584434, -0.0215623137, 0.0336208194, -0.0045414069, 0.0004090842, 0.0072307214, 0.0237934347, -0.0021988337, -0.0241653752, -0.0127957761, 0.141483292, -0.063417092, -0.0175741781, 0.0488472357, 0.0192212928, 0.0065526166, -0.0175377522, 0.0414456017, -0.0148891518, -0.0159718767, -0.0233236309, 0.0298430212, -0.0171773471, 0.0464851707, -0.0606953576, -0.0219802186, 0.0234583523, 0.0130963698, 0.0073206895, -0.0399693996, -0.0519408286, -0.0133048706, 0.0371983536, -0.0529882647, -0.0596848428, 0.0249375515, -0.0130868023, 0.0166988093, -0.0713079199, -0.0109320069, 2.313299644e-34, 0.0086677419, 0.0007842776, 0.0127697717, 0.0952049643, 0.0286675449, 0.0143302605, -0.0174112171, 0.0518135428, 0.0233239047, -0.0808749124, -0.028055897 ]
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.0074678785, 0.0726366565, -0.0065181055, 0.0523384772, -0.0598761514, 0.0313608907, 0.0212386418, -0.0212545581, -0.0159870088, -0.0490743071, -0.0680754334, -0.0701855347, 0.0109725501, -0.0200784188, 0.0362342261, -0.0637646616, 0.0405692048, -0.0596567988, -0.0222577713, -0.0210175365, 0.0265156217, 0.015486517, -0.0290620662, 0.0378488526, -0.0119612664, -0.0401550308, -0.0117609007, 0.0177439824, 0.0265609287, -0.0130124735, -0.0179818459, 0.0537267439, 0.0482814983, 0.0275666248, 0.0000018961, -0.0530686267, 0.0033814968, -0.016259497, 0.0167019404, -0.0142418835, 0.0458286293, -0.0141753973, 0.012426341, -0.0351011418, -0.0066987658, -0.0027224887, 0.1025734618, 0.0401372351, 0.0368307047, 0.0461601466, 0.0015516757, -0.0533209294, -0.0003953566, 0.0014975602, 0.0337082185, -0.0025487691, 0.0319789872, 0.0251732692, -0.0319446251, -0.0226552468, -0.0663819686, 0.0289478954, -0.0002989186, 0.0247983988, 0.0045154118, 0.0205158424, -0.0108532216, -0.0656878725, -0.0213944428, 0.0907387361, -0.0163383465, -0.0029635676, -0.00949788, -0.023347469, 0.0084249666, 0.0233767089, -0.0417452157, 0.0173857715, -0.0133474618, 0.0330888592, -0.0168239865, -0.0302837919, 0.0327750854, 0.0007525292, -0.0166818313, 0.0577388778, 0.0175008848, -0.0120300567, 0.008964641, -0.0028147404, -0.0347398557, -0.0515696257, 0.0068744598, -0.0053589316, -0.0282426961, 0.0070746555, -0.0469927825, 0.00331033, 0.0207783915, -0.0383884385, 0.063076593, 0.0415638015, -0.053208746, 0.0564443879, 0.0155111104, 0.0583690293, -0.0507806018, 0.0583531968, -0.027491264, 0.0087557603, -0.0097804302, -0.0035505786, 0.0142934313, -0.0097114071, -0.0148863886, -0.0443492457, -0.0146117369, 0.0125991218, -0.0181033444, 0.0282230601, -0.0109725706, -0.0019845504, -0.0267013367, -0.0161745679, -0.0474234708, 0.0766542107, -0.0046670777, 0.0177496187, 0.007756582, -0.048124902, 0.022167135, 0.0486668609, -0.013566928, -0.0476413742, -0.0197295304, 0.0859900862, -0.0051470748, -0.0156320184, 0.0057240953, 0.0056372853, -0.0447724834, -0.0802242458, 0.0556558296, -0.0668838918, 0.0631172135, -0.0008656167, -0.0004429579, -0.0295053907, -0.0083566494, -0.0089628566, -0.018274257, 0.0855729952, 0.0122397365, 0.0092833303, 0.0110760629, -0.0145931924, -0.0282223262, 0.0868419334, 0.019385498, 0.0319202617, 0.027849922, -0.0373834372, -0.0142577002, 0.0601010956, -0.0265370887, -0.0007630296, -0.0594488978, 0.0145913512, 0.0469867066, 0.0588692464, 0.0787856951, 0.0302513689, -0.0335118733, -0.0476795994, 0.1042226776, 0.017455617, 0.0106065962, -0.0448705181, -0.0156346839, 0.0013604673, -0.0096540032, 0.0358634777, -0.0696228072, 0.0743172169, 0.0079800375, 0.0326761343, 0.046059072, 0.062204849, -0.0173646919, -0.0259553473, -0.024329327, 0.0061637592, -0.0178233515, 0.0413063727, 0.0376613103, -0.0284041688, -0.0388656296, 0.0267201737, 0.0324444622, -0.0226516873, -0.0028092326, -0.0376420803, 0.0355799161, 0.0833857208, 0.0161107723, -0.0022849916, -0.0230590366, -0.003981737, 0.0249051619, 0.0861589164, 0.0124448156, 0.0016891927, 0.0290604848, -0.0737406462, -0.052200336, -0.0059555885, 0.0019688571, 0.0272461679, -0.0043646307, -0.0340452679, -0.0303196404, -0.0177435614, 0.0001820032, 0.0304124393, 0.0280482415, 0.0207728595, -0.0533732921, 0.0051780124, 0.0373688079, -0.0116781322, -0.0133016519, -0.0054568392, -0.0053245956, -0.0137463957, 0.033139158, 0.0040683127, -0.0424981974, -0.0258286968, 0.0546638519, -0.0428223722, -0.0290908273, 0.0216274392, -0.0298900586, -0.0076086381, -0.0294281654, -0.0135638043, 0.0157018099, -0.041599527, 0.0098465132, 0.0094337845, 0.0123552196, -0.0570659488, 0.0554760844, -0.0428326987, 0.0105740651, 0.0251462106, -0.0089824554, -0.0176864862, -0.0518481843, -0.0377076343, 0.0430442393, 0.020104073, 0.0088618202, -0.0028776403, -0.0177375507, -0.0614816323, -0.0109543996, -0.068014212, 0.0009839286, -0.0211848207, -0.0165700391, 0.0138145927, -0.0069506001, -0.011741722, -0.0303318519, -0.0202701837, 0.0409015268, -0.0190710779, 0.0499989279, 0.0126719223, -0.0024824161, -0.0110962996, -0.0359172374, -0.0133717442, 0.0068060281, 0.0237236917, -0.0360560119, -0.0162386913, -0.045462288, 0.0058844304, -0.0563589633, 0.0167673063, -0.0170456357, -0.0196440797, 0.0450399183, -0.0152354278, 0.0516506359, 0.0811491907, 0.0182263143, 0.0168899428, 0.0750438571, -0.0146144303, -0.0626676828, -0.0194656216, -0.0115799308, -0.0090611633, -0.0198760107, -0.0416321158, -0.0406094529, 0.071073465, 0.0134435026, 0.0351336785, -0.063585341, 0.0068684374, 0.0150264548, -0.0428775996, -0.0312661119, 0.0332148969, -0.0301518217, 0.0362090953, -0.0511527434, -0.0777623877, 0.069407329, -0.0382300355, -0.006970359, 0.0157463606, 0.0267420132, 0.0085930275, 0.0283197016, 0.0484009683, 0.0344677195, -0.0440042093, 0.0082800752, -0.0778071657, -0.0175190773, 0.0331463143, -0.0283661522, 0.0452486612, -0.0425809026, 0.0028243097, -0.0210878514, -0.0239802301, -0.0355167352, -0.0237139538, -0.0232899543, -0.041320961, -0.0555093698, 0.0037718674, -0.0288290083, 0.0215380881, 0.0366857909, -0.0044640726, -0.0102968626, 0.0000777904, -0.0256388616, 0.0037300671, 0.0820268169, 0.0499521531, -0.0126004117, -0.0469417721, -0.0167679098, 0.0536226258, 0.03707904, 0.0015251854, -0.0578506365, 0.030197477, 0.0406570695, 0.0195648484, -0.0036408321, 0.030169921, 0.069387868, -0.0260772444, 0.0384234041, 0.075696528, -0.0050504939, -0.0619109534, -0.0296532009, -0.0085163321, 0.0667697117, 0.0176728275, -0.0190773271, -0.067958951, -0.0465473235, -0.0086096665, -0.0103094839, 0.0115949884, 0.0094105732, -0.0061143464, -0.0910133198, 0.0296184849, 0.0274856091, -0.0426399447, -0.0066254959, -0.0049172728, 0.0306557417, -0.018634066, 0.0451149829, 0.0023830149, -0.0036671553, -0.0104049351, 0.0118033048, -0.0061852382, -0.0382312275, 0.0070535177, -0.0374915712, 0.0460122116, 0.0802643374, 0.0101150954, 0.0170446336, -0.0630592033, 0.0521569215, 0.0333290398, -0.0050820517, -0.0133828856, 0.0139515046, -0.0249548499, -0.0117976004, -0.0192229189, 0.0412246101, 0.0097958958, -0.0314166471, -0.0237553157, 0.0679004937, -0.0319048651, 0.0134998411, -0.0364793278, 0.0170991737, 0.0140465926, 0.0619969368, 0.0191762503, -0.060869921, -0.0218605269, -0.0037310417, -0.0091863535, -0.0268100128, -0.0130021423, 0.0256020054, 0.0021773654, 0.0231181979, -0.0382795744, -0.028793402, -0.0022760194, 0.038709715, -0.0010823185, 0.0055392785, -0.0253613461, -0.0115194647, -0.0224837996, 0.0888226777, -0.0305430032, 0.0053817295, -0.0280175209, -0.0237686653, 0.0005985775, -0.0320324898, -0.006828038, 0.0190338697, -0.0808838159, -0.0677888989, 0.0145103093, 0.0544116981, 0.0205966998, 0.0523301177, 0.045130033, -0.0661241636, -0.0034136262, 0.0388037898, 0.0210893992, 0.0150476899, -0.0103258835, 0.0213829018, -0.0125237992, 0.0280784238, -0.0254366342, -0.0249587782, 0.0244905744, 0.0319088511, -0.0129248025, -0.0259816758, 0.0147803081, -0.0198273752, 0.0364455469, -0.0418920219, -0.0166247748, -0.0359076224, -0.0085349716, 0.0009060397, -0.012692797, -0.0231232494, -0.0425268486, 0.0405961126, -0.0201526061, 0.0113032609, -0.0110796308, -0.0055535152, 0.0132795824, -0.0484118909, 0.0014431485, 0.0355173685, -0.0240218975, 0.0131771937, 0.0324237347, -0.0265465546, 0.0400635973, -0.0099923769, 0.0330428109, 0.0278584789, 0.086389415, 0.024816161, -0.0162889119, -0.0174475946, 0.0207735654, -0.0110613685, -0.0462646224, -0.0272270702, 0.0106080743, 0.0621262379, -0.0156008285, 0.0432101339, 0.0057379594, -0.0146170845, -0.0269436426, 0.0496009327, 0.0066328067, -0.0332451239, 0.0704741031, 0.0203479864, -0.0071286829, -0.004061271, 0.0579208694, -0.0022538942, 0.0244679563, -0.0313235819, 0.0333519988, -0.0334431715, -0.0504973717, 0.0052174125, 0.0230584629, -0.0368754752, -0.0291737337, -0.0299149603, -0.0481686927, -0.0273303539, 0.0221864432, -0.0284770932, 0.0060870233, 0.0503795259, 0.0519707799, -0.0388496667, -0.0373486057, -0.0113934781, -0.0061555062, 0.0040556076, 0.0015621054, -0.0017133935, -6.070739188e-33, -0.0352368243, -0.0268347822, 0.0506299995, -0.0527256466, -0.0299184993, -0.0239950269, 0.0157455709, 0.0150152529, -0.0068025789, -0.0199000314, 0.0365275592, -0.0178629905, 0.0267236531, 0.0203748941, 0.0107834823, -0.0244713295, 0.011000366, -0.0191313233, -0.0460765138, -0.0311615597, 0.0320823602, -0.0100170029, 0.0533003025, -0.0349887684, 0.0293181874, 0.0142570008, -0.0203773137, 0.008995343, -0.010462001, 0.0913233459, -0.0452736132, 0.0300584342, 0.0173672009, -0.0124102011, -0.0405570827, 0.0277694091, -0.0201112516, 0.0144108245, 0.0574778765, 0.0667387918, -0.0354762785, -0.0298078302, 0.0517618768, -0.0134260235, -0.0274532456, -0.0307082124, 0.0375466757, -0.0422054045, -0.0284583084, 0.0603622757, -0.0562359616, -0.0016118106, -0.0124032004, -0.0020492289, 0.0473822579, 0.059359625, 0.0130558591, 0.0555786006, -0.0587518029, 0.0368215442, -0.0248503275, 0.0052121617, 0.1207271144, 0.0682884082, 0.0418818258, 0.0731017739, 0.0514178537, -0.0524927974, 0.007572311, -0.026040975, 0.0358420424, 0.0428331383, 0.009858775, 0.0705089271, 0.0204266477, 0.039595712, -0.0140835857, 0.016671963, -0.025864929, 0.0236540847, 0.0611017346, 0.0457368493, -0.0180014335, 0.007717256, -0.0397506319, -0.0208462588, -0.0442790911, -0.0255319383, 0.0486065894, 0.0037677123, 0.0107288854, 0.001307358, 0.1042334139, -0.0294240322, -0.0408739932, -0.0113161691, -0.0279889442, 0.0604262874, 0.0022687046, 0.0083631054, -0.0409404486, -0.0264342483, 0.0224964432, -0.0175288096, 0.0150309438, 0.0282909255, 0.0012092034, -0.0151941879, -0.0515249558, 0.0020999352, -0.0518885851, -0.0298776031, 0.0010699193, 0.011779923, 0.0741035268, -0.0152506009, -0.0424158685, 0.0375558957, -0.0012784373, -0.0206398461, -0.0098943617, -0.0388318673, -0.0496566743, 0.014715177, -0.0109949214, 0.0324804708, -0.0262063406, -0.0493094511, -0.0106966188, -0.0347147211, -0.0138661582, 0.0430492498, 2.444e-7, 0.0366361625, 0.0161793903, 0.0038765408, 0.0164016075, 0.0132309804, 0.0328007527, -0.0171058979, 0.0085411826, 0.0151487561, -0.0742234737, -0.0279530492, 0.0552984551, 0.0521595627, -0.0012117124, -0.0274984036, 0.0049240235, -0.0040580197, 0.0459909812, -0.0669239163, 0.0184069425, 0.0274416022, 0.0695624053, -0.0354661457, -0.0184476785, 0.0319218934, 0.0173220225, 0.0889171138, -0.0674436986, -0.0250812173, -0.0063169422, 0.0164605752, -0.0018221486, -0.0066659907, 0.0321472548, 0.0283736475, -0.0362012796, 0.0136375092, 0.052146215, 0.0008475886, -0.0860516801, -0.0321226642, 0.0209388472, -0.03334051, -0.0774447545, 0.0721829236, -0.0341886766, -0.0363952219, -0.0235163793, -0.0218670014, -0.0300719999, 0.0500709862, -0.0174293425, -0.0185167734, 0.012306964, 0.0413059331, -0.0043669585, -0.0484614782, -0.0472736247, -0.024521511, 0.0053549842, -0.0706583112, -0.0448632874, -0.0400460102, 0.0134845544, 0.0272471346, -0.0612327307, -0.0574003011, 1.972862016e-34, 0.0065003489, -0.0105280885, 0.0561418459, 0.0108672278, -0.0059283171, -0.0287994035, -0.0028311338, 0.0142939026, -0.0084315948, -0.0949257836, 0.0023261947 ]
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.0745709985, 0.0695933029, -0.0255726073, -0.0175808761, -0.0111474851, -0.0172267798, 0.0106118191, 0.0338059925, 0.0348238908, -0.0247280318, -0.029268939, -0.0386819839, 0.0131201399, 0.0360224359, 0.0083636027, -0.0239174981, -0.0042338218, 0.040191222, 0.0518834479, -0.0233736299, 0.0727023408, 0.0333752632, 0.020111002, 0.0438202955, 0.0204356145, 0.0164078344, 0.074855499, 0.0198032651, 0.0212389845, -0.0282935537, 0.0813255236, 0.0528482571, -0.0291181952, 0.0287964679, 0.0000020908, -0.0383062027, 0.0209547486, -0.0056961146, 0.0697956607, 0.0037036175, 0.0663959235, -0.0133380052, 0.01397397, 0.0137978252, -0.0572256558, -0.0171955712, 0.0413274206, -0.01241141, 0.0134709273, 0.0294958074, -0.0303907357, -0.039074108, -0.0377282687, -0.0124557242, -0.0170006827, 0.0201725233, 0.0351543762, 0.0037368811, -0.0309353247, 0.0395451635, 0.013649852, 0.0135894548, -0.0349266604, -0.0337257162, 0.0318321362, -0.0051518716, 0.0505221412, -0.0702266172, 0.0027047626, 0.0584553033, 0.0627903044, -0.0075197425, 0.0579066984, 0.013165364, -0.0241987389, 0.0604466461, -0.0596706904, 0.0408445261, -0.0107562821, -0.0178739037, 0.0059672119, 0.0319497176, 0.0302784201, 0.0607778132, 0.0473395139, 0.0544675365, -0.005057516, 0.0101445224, -0.064109914, -0.0246343669, -0.0234442297, -0.0179667175, 0.0831350684, 0.0068123229, 0.0427923352, 0.013490078, 0.0282927025, 0.0075365701, 0.0791585967, -0.0323488191, -0.019472383, 0.0091172727, 0.0308630969, 0.0580597818, 0.0165725295, -0.0357478261, -0.0087133683, -0.0193645023, 0.0370774716, 0.0179788917, -0.0300867688, 0.0168631133, 0.0354928002, -0.0272275992, 0.0104532307, 0.0130405435, 0.0038329221, -0.006226399, -0.061518684, -0.0067012967, 0.0032755251, -0.0164715331, 0.0033577755, 0.0014160321, 0.0179369021, 0.0157770775, -0.0646324828, 0.0215876549, -0.010261015, -0.0162422154, 0.0412553921, -0.0357337669, 0.0397551395, -0.0048937164, -0.0164283104, 0.0229079593, 0.0476016812, 0.0127786202, 0.0579387918, -0.0579179525, -0.0181191824, 0.0307383295, -0.0244123414, -0.0539500751, 0.0291874558, 0.0388099849, 0.00839868, -0.0205096696, 0.0059520113, 0.0288779493, -0.0193447042, 0.0101334229, 0.007289669, 0.0082189664, 0.0550757498, 0.0590850227, 0.0174599923, 0.0106704934, -0.0356825292, -0.0025059818, 0.0528479442, 0.0085337367, -0.0166475903, 0.025833115, -0.0005483183, -0.0262026843, -0.0611881278, 0.037022233, 0.0330957584, -0.0358394384, -0.010254804, 0.0492907837, -0.0302145965, -0.0090806335, 0.0391525514, 0.099947989, -0.0448897481, 0.0294923764, -0.013045229, -0.0169102531, 0.0098786056, -0.0382949673, 0.0322782323, -0.0121957771, -0.020727409, -0.0606560633, -0.0161201935, 0.0579932928, -0.005591407, -0.0146064861, -0.0086519597, 0.0038330378, 0.0482905284, -0.0583096035, 0.0027154244, -0.0255072732, 0.0091753546, -0.0565080009, 0.0246076826, -0.0441914089, -0.0144855194, -0.0197349042, 0.0742545351, 0.0468830839, 0.0336751901, -0.009320437, 0.0461209118, -0.0279778913, 0.0248220228, 0.040541634, 0.0225797761, 0.0117950998, -0.0862437189, -0.0342304334, -0.0043279259, 0.0578655265, 0.0127808582, -0.0071179899, 0.013648428, 0.0305855405, -0.0370384343, 0.0161452275, -0.0341401882, -0.0208198186, 0.0392252132, 0.0382453948, -0.0540750325, 0.0167778376, 0.0060024909, 0.0224656984, -0.0032417919, -0.0102803316, -0.0266785342, -0.0007241805, -0.0493796989, 0.0067381202, -0.0439826772, 0.0629465431, 0.029536169, -0.0671885759, -0.0187703259, 0.0391875468, 0.0510041155, 0.036403928, 0.0633327663, -0.0031294913, 0.0210047625, -0.0062140869, -0.0816415176, -0.0245423727, 0.0078480039, -0.0339541361, -0.0024797532, -0.0657873228, -0.0086676935, -0.0060020527, -0.0656500459, 0.0071352473, 0.0539578907, -0.0081503419, -0.0178601593, -0.0276149176, 0.0268344618, 0.0782692805, -0.0196677633, -0.0216692965, -0.0396864302, -0.0184190702, -0.0512404814, -0.0212240592, 0.014113687, 0.051701121, -0.0059326519, 0.0109128319, -0.0020971543, -0.0291962195, -0.007458067, -0.0106492732, 0.0174881238, 0.0631286949, -0.028688062, -0.0291389879, -0.0264579449, -0.0444350094, -0.0316167772, 0.0307840649, 0.029709639, -0.0278500672, 0.0333840959, 0.0041422853, -0.0633661076, -0.0411874056, -0.0310652331, -0.0413370505, 0.0229731183, 0.008592817, 0.069161199, 0.0382505655, 0.072330147, 0.0481324308, -0.0232290756, 0.0432858653, -0.0447165072, -0.0723176673, -0.0310698133, 0.0236597825, -0.0213861931, -0.039066527, 0.0013975276, 0.0250795819, -0.0000073214, -0.007053304, -0.0458945259, 0.0765769705, -0.0669013858, -0.013039466, -0.0067799273, -0.0337099247, 0.018574167, 0.041330386, 0.0029602924, -0.0302599482, 0.0063524679, 0.0226770863, 0.0110995527, 0.0477180555, -0.0514148921, -0.0050916919, 0.0288080201, -0.0098722251, 0.0406808965, -0.0032042779, -0.0529189929, 0.0076132449, -0.0536463149, 0.0829832628, -0.0536539592, 0.0174061283, 0.0169674344, 0.0159572046, 0.0388371609, -0.0050689932, 0.0202230904, -0.052179113, -0.0070371847, 0.0060003726, 0.0358019881, -0.0460117348, 0.0575213321, 0.0196865629, 0.0018719465, -0.0282098539, 0.0036870569, -0.0215307437, 0.0161485318, 0.0292318445, 0.0143115912, -0.0297078919, -0.0005529107, 0.0021145605, -0.0440389216, 0.070394665, -0.042732358, -0.0261257868, 0.0105466191, -0.0199843887, 0.0465191267, 0.0021410282, 0.0201938506, -0.000425127, 0.0513904132, -0.003173949, 0.0085697938, 0.0424193107, 0.0126683116, -0.0335944332, 0.0018770242, -0.0266771838, 0.0258062165, 0.0356051587, -0.0118126329, -0.0929526985, 0.0306570344, -0.0324407332, 0.0142166568, -0.0351034328, -0.0529738888, -0.0001041826, -0.0526714809, -0.031408783, 0.0072111497, -0.0147089595, 0.015043715, -0.0394741446, 0.0228188857, -0.0063733705, -0.012813312, -0.0052501969, 0.0086105177, -0.0050498671, 0.018813381, -0.0793527812, -0.016016461, 0.0175169278, -0.0496490337, 0.0714318678, 0.0031515264, 0.0372552946, -0.0184421316, -0.0480483733, 0.0169569999, 0.0081025641, -0.0188184809, -0.0400729142, -0.0234571844, -0.0163903255, 0.0029974268, -0.0783955827, 0.0324990936, -0.0063509205, -0.037240617, -0.0130883297, 0.0213434882, 0.0418316722, -0.0906613842, -0.0647251159, 0.0110610481, 0.0351535305, 0.0206168704, 0.0227874238, -0.0207477827, 0.0117561771, -0.0616456047, 0.0053770412, 0.0260438696, -0.0904679075, -0.0956585929, 0.0614818297, -0.0533113442, -0.0555356406, -0.0111706369, -0.0440475419, 0.006753244, 0.0355541743, -0.0812007338, 0.036372032, -0.0160082057, -0.0209081899, -0.0017019018, -0.0495810881, -0.0103023574, 0.0267054345, -0.0005476589, -0.0194108039, 0.0089674024, -0.0214428194, -0.0040470758, 0.0261561163, -0.0223691799, 0.0233339351, 0.0022785508, 0.0185644031, -0.0201312136, -0.0139510296, -0.0261677317, 0.0585031137, 0.050246045, -0.0379701518, -0.0002545629, 0.0503137447, -0.0030895004, 0.0097120907, 0.0165279172, 0.019894449, 0.0277573112, -0.0330112055, -0.0080490541, -0.0959093347, -0.0402518921, -0.0303266756, -0.0139638707, -0.0051454422, 0.0160682816, -0.0230695624, -0.0100619243, -0.0977736786, -0.0344878323, -0.003514318, 0.0020592199, -0.0094742794, 0.0217070654, -0.0062318542, -0.050818447, 0.0304769725, -0.032625109, 0.0636625737, -0.0634098649, 0.0308361426, 0.0141669847, 0.0723904371, 0.0208200999, -0.0084656226, -0.0126377372, 0.0050534536, -0.0140522979, 0.0221789591, -0.0197913535, 0.0145807415, 0.0105244061, -0.0520361178, 0.0327028483, 0.0272089336, -0.0333978981, -0.0166721083, 0.0206412002, -0.0042575486, -0.0265300535, 0.0008104289, 0.053006608, 0.0135571389, -0.0160566308, -0.0017894534, 0.0510919802, -0.0197243597, -0.0477661826, 0.0009622804, 0.0064503774, -0.0229113549, 0.0064213811, 0.0184385069, -0.0900662914, -0.0061237141, 0.0264125578, -0.0244291872, 0.0075248834, 0.0056367852, 0.0366298929, 0.0044730012, -0.0042990996, -0.0251839217, -0.052759394, -0.0344045199, -0.0062065409, 0.0015201719, 0.025391968, 0.0083031096, -0.0255948752, 0.0329100117, 0.0075889747, -0.0137179699, -0.0214203, 0.0102846147, -0.0900296867, -0.0041422881, -0.0198932327, -6.502876626e-33, 0.0211771615, -0.1007794142, -0.048397284, 0.0029956906, -0.0350810699, 0.0147172604, -0.0227991734, 0.0092309443, 0.0093198968, 0.0341879353, -0.0023180693, 0.0234822836, -0.0021320654, -0.0207584165, 0.0359719358, -0.0362741128, 0.0141945304, -0.0164972469, 0.0073706578, 0.0082570361, 0.0050451178, -0.0042487169, 0.016212441, -0.0718512759, 0.0744463205, 0.0155497389, -0.0336292163, 0.026443135, 0.0516718514, 0.0038248766, -0.0209178645, 0.0305859838, -0.0062210788, -0.0147080598, -0.0115140695, 0.1026099995, -0.044501029, -0.0070496611, 0.0168800279, -0.0071666162, -0.0072994106, -0.013285662, 0.0385858417, -0.0212399866, -0.0242858138, -0.0158972144, 0.0588088334, 0.0358343907, 0.0440424979, 0.0110853044, -0.0048984271, 0.027558675, -0.0507491045, 0.0326133184, 0.0098443292, 0.0404590853, 0.0557907112, 0.016856622, -0.0713980496, 0.0473336875, -0.0910804942, 0.0040237345, 0.0268524252, -0.0103267822, 0.0255376194, 0.0623187833, -0.0181170292, 0.0738687515, -0.0375683382, -0.0237717703, 0.0301318411, 0.0312164035, 0.0070940466, 0.0393316075, -0.0362850651, -0.0721229687, -0.0602874756, -0.0179837085, 0.0802042484, -0.0267050639, 0.0261290465, -0.0131908357, -0.0817179531, -0.0197095778, 0.0133273592, -0.0992349461, -0.0204676781, -0.0190548673, -0.045281861, -0.0334966779, -0.0535923913, -0.0044364021, 0.0081199175, -0.0371565372, -0.1073711663, 0.0366737247, -0.0005177536, 0.0091212224, 0.03776614, 0.0288032759, -0.0256203953, -0.0054746959, -0.0269296728, 0.0230010878, 0.0147256749, 0.0327306092, -0.0146202054, 0.0230762605, -0.0464604758, -0.0665949807, -0.0025448129, -0.0131559521, -0.0472387075, -0.0109764673, 0.0295828357, 0.058573667, 0.0076219579, 0.0227755066, 0.06924133, 0.0759889558, 0.0108988546, 0.003277265, -0.0209251978, 0.0158711001, -0.0212598555, -0.0346249454, -0.0435939059, 0.0297940206, 0.0676011145, 0.0289807096, -0.0026530814, -0.065395005, 2.749e-7, 0.0156836566, 0.0704544708, 0.0175587479, 0.0321710445, 0.0148816304, 0.024765458, 0.052038569, 0.0411621295, 0.0103734098, -0.0502859093, -0.0101403771, 0.0370453596, 0.0038434705, 0.0049172393, -0.0366749465, -0.0418303981, -0.0818877444, -0.0278907977, 0.0074831005, 0.0216460675, -0.0125853382, -0.0203820243, 0.0085776392, 0.0215772148, -0.0401472263, 0.02471371, 0.042155955, -0.04750631, -0.0053759012, 0.0001894391, 0.0147671187, -0.046248477, 0.0420682505, -0.0240666512, 0.0253108479, -0.0171847176, 0.0391933806, 0.0482987389, 0.0092527866, 0.0186924487, -0.0011953221, -0.03520298, 0.0312708914, -0.0557806455, 0.0177762844, -0.0150270173, -0.0210064873, -0.0936218053, -0.0360037349, -0.0311955139, 0.0743806288, -0.0138540901, -0.0284747612, -0.0091052763, -0.0134660415, 0.0176002402, -0.0064290673, -0.0367001705, -0.0124944188, -0.0303994771, -0.0093843751, -0.0559017099, 0.0038658301, 0.0350725316, -0.0052299704, 0.0565677397, 0.0522257425, 2.197115343e-34, 0.0049593495, -0.0123170773, -0.005378528, -0.0375968888, 0.0508926883, 0.0080995699, -0.0031286567, 0.0125987185, 0.0608555265, -0.0349739045, -0.0105923545 ]
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.0144337201, 0.073092781, 0.0124361534, 0.0488279313, -0.0224579591, 0.0047021178, -0.0169992317, -0.0191695131, -0.0052480982, -0.0099171568, -0.1105843931, -0.0950090364, 0.0115087852, -0.0253804792, 0.0097911665, -0.0453545339, 0.0343857706, -0.0314916223, -0.0411339402, -0.0330245867, 0.0091581596, 0.0424517058, 0.0116046071, 0.0136531377, 0.0222303774, -0.0031025226, 0.0023678774, 0.0142621687, 0.0556458756, -0.0229931735, 0.0291535575, 0.041032616, 0.0410208926, 0.0449683629, 0.0000021054, -0.0637156516, -0.0262105986, -0.0203264225, -0.0004956219, 0.0098781539, 0.0667171255, -0.0069269612, -0.0412157476, 0.0182884671, -0.0054774168, 0.0136378827, 0.0558918975, 0.0206686594, 0.0018229359, 0.0837494656, 0.0023143031, -0.0281629823, -0.0117658973, -0.0395303555, -0.0057237567, -0.0132468771, 0.0132335182, -0.0156682432, -0.0208185781, -0.0190702938, -0.0391054526, 0.02151848, 0.012175343, 0.0139168967, -0.0222295336, -0.0024716791, -0.0210111197, -0.0217726659, -0.0041236654, 0.0906454474, -0.0255514849, -0.0196445361, -0.0128024276, -0.0017287235, -0.0334858261, -0.0349866226, -0.0077075544, 0.028013451, 0.0185626727, 0.0393200442, 0.0354909152, -0.0161165632, 0.0379248448, 0.0086553879, -0.0290310606, 0.0609132759, 0.0296635386, -0.0292931814, 0.0472548939, -0.0002418079, 0.0144887194, -0.041931659, -0.0126271993, -0.0117113283, -0.0545129329, 0.0146295372, -0.0200699773, 0.0083369194, 0.0297956374, -0.0595481284, 0.0283369385, 0.0514854603, -0.0203920249, 0.0325073861, 0.0035006327, 0.0453879349, -0.0363206752, 0.0267921612, -0.0659358725, -0.0163414516, -0.0051876591, 0.0055792895, 0.0202612802, 0.0051224949, -0.0141340932, 0.0031550291, -0.0876223668, -0.0073909233, -0.0055567375, 0.041698534, 0.0327682346, 0.0010440407, -0.0555285215, -0.0074473531, -0.0371252, 0.0913146362, -0.0093385633, -0.0104780402, -0.0065878364, -0.0204812568, 0.0323426053, 0.0320447423, -0.0216997676, -0.0501491912, 0.0197024811, 0.0629948229, -0.0242599603, 0.0075511867, -0.0045307293, 0.0252756868, -0.0271230172, -0.0986184925, 0.0080639534, -0.0776366517, 0.0538633391, -0.0130561711, 0.032484334, -0.0261806585, 0.0006613619, -0.0221676175, -0.0034248945, 0.0493281148, 0.0081995232, 0.0127757741, 0.0023448791, -0.0414247364, 0.023629019, 0.1107248887, 0.0233987495, 0.0193090495, 0.0473254994, -0.0339672789, -0.0391958356, 0.0726738572, -0.0127908429, 0.0311296117, -0.0351025946, 0.0048777601, 0.0237524305, 0.0273464546, 0.0703573301, 0.0059287865, -0.003986862, -0.0248006824, 0.0646486133, 0.0080520315, 0.0286482219, -0.0011935012, 0.0240789745, 0.0174922943, -0.023658881, 0.0152883613, -0.0355915427, 0.0279743169, -0.027164761, 0.0232973285, -0.0038818226, 0.0645133778, -0.026346745, -0.0365521163, 0.0015376461, -0.0164477527, -0.0142978691, 0.0405922867, 0.0685515329, -0.0215413254, -0.0324823335, 0.0277417898, 0.0710451305, -0.0659915656, 0.0241095629, -0.0107718986, 0.0199839026, 0.0817899704, -0.0023651801, -0.0047210022, -0.0275721364, -0.0086630937, -0.0109704342, 0.0628016591, 0.08071284, -0.0104825944, 0.0208536927, -0.0765824988, -0.03064101, 0.0156715997, -0.0130926631, 0.0749488771, -0.0174978469, 0.0233069751, -0.00692988, -0.0171357803, -0.0580081567, -0.0165417586, -0.0267012455, 0.0042769536, 0.029520154, 0.0367283188, 0.046844855, 0.0211209431, -0.0220475979, -0.0200690273, 0.015477458, -0.0240530968, 0.012288427, 0.0057952167, -0.013677082, -0.0463957489, 0.0362068601, -0.002847895, -0.0352428854, 0.0460962392, -0.042300947, -0.0360922888, -0.0152834151, 0.0158362687, 0.0519721732, -0.0336289667, 0.0422972851, -0.0112507176, -0.001902428, -0.0408982001, 0.0312018469, 0.0013572294, 0.01706996, -0.0043609366, -0.0369452797, 0.008072109, -0.0714295655, -0.0313345976, 0.0735783577, 0.018320879, 0.0241971575, 0.0344578773, 0.0478734225, -0.0213438068, -0.0268571898, -0.0679377541, 0.0216235891, -0.0281493664, 0.029249683, 0.0071973228, 0.0130859781, -0.0036057292, -0.008732128, -0.0759827197, -0.0098999236, 0.0189947952, 0.021017231, 0.0070128925, 0.0023614289, -0.0088658491, -0.0516336896, -0.0166136753, 0.0086225988, 0.0046664891, -0.0426181294, 0.003701363, -0.0265288968, 0.027332047, -0.0529461093, 0.0000821719, -0.0275422186, -0.0523296036, -0.0278568026, 0.0083536701, 0.0213027243, 0.0474860817, 0.0023869288, -0.0240010768, 0.0702834651, 0.0035935142, -0.0803575814, 0.0139597291, -0.0211025234, -0.0366629362, -0.058630798, -0.0173341464, -0.0065742545, 0.0654779822, -0.0072154943, -0.0064731566, -0.0520762913, -0.0600712486, -0.0051652039, -0.0389057733, -0.031288553, 0.0470093079, -0.0211388711, 0.0509227999, -0.0143884877, -0.0486761034, 0.0583466552, -0.0256407578, 0.0006517831, -0.0658034533, -0.0259281285, -0.046236828, -0.0210577864, 0.0091274641, 0.0384888388, -0.027618194, -0.012787804, -0.0648719221, -0.032461077, 0.0173611846, -0.0301509872, 0.0593100712, -0.0084053343, -0.0080762096, -0.0356743373, -0.0790282413, -0.0204675775, -0.0046271249, -0.0103312116, -0.0242447723, 0.0302537438, -0.0322483517, -0.0073169298, -0.0080588674, 0.0307629555, 0.0130062411, -0.0165857244, 0.030884672, -0.0084818266, 0.011452713, 0.0825015828, 0.0058930148, 0.0062120925, -0.0432739928, 0.0070323399, 0.0199612193, 0.0557931736, 0.0010239079, 0.0040655066, 0.0065549249, 0.0791954696, -0.0290906411, -0.0201380067, -0.0191379022, 0.0290803239, -0.0214944035, 0.0604057387, 0.0860762373, 0.0074777869, -0.0866232067, 0.0047527221, -0.0407697745, 0.0833600536, 0.0175856259, 0.0452425294, -0.0788840503, -0.0003045028, 0.0039511793, -0.0014045325, 0.0181957986, 0.008775549, -0.0004361033, -0.1532870531, 0.0136059681, 0.0242893174, -0.0716923401, -0.0170612894, -0.0179817714, 0.0000378425, -0.0476054698, 0.0563784614, 0.002939305, -0.0075379722, -0.025854351, 0.0139935967, -0.0125437146, -0.0436429419, 0.0217552148, -0.0456413403, 0.0275650714, 0.0796314478, 0.0463332385, -0.0117985737, -0.0245991014, -0.0021396561, 0.0376600176, -0.0462185703, -0.0187355019, -0.0048182579, -0.0051709698, -0.0324128047, 0.0169254933, 0.0312068127, -0.0209174342, 0.0258904081, 0.0322571807, 0.0377882682, 0.0155505547, 0.003826122, 0.0209373105, 0.0030976664, 0.0174425803, 0.0593088195, -0.0044071088, -0.0886736512, 0.0004300986, -0.0230656117, -0.0321525931, -0.0543205738, -0.0262946952, 0.0147297094, -0.0331293531, -0.0129624782, -0.0492998324, -0.0376099087, 0.0130521106, 0.0289211608, 0.0220069084, 0.0060492917, -0.0130064609, 0.0004619186, -0.0020084037, 0.0304781441, -0.0455221012, 0.0180935729, -0.0992326811, -0.0132693872, 0.0245423317, -0.0566598549, 0.0080684405, -0.0035246434, -0.0284836367, -0.0622015931, -0.035634134, 0.0594355278, 0.0105033386, 0.0874435306, 0.0123781255, -0.0254274216, 0.0111519862, -0.0009333851, 0.0026904354, 0.0214240905, 0.0499681905, 0.0228453558, -0.0122614671, 0.0527645685, -0.0552872084, -0.0160058886, 0.0196134206, 0.0516834781, -0.0146518564, -0.0340260305, 0.0173091739, 0.0233960319, -0.0129537256, -0.0570924543, 0.0009920625, -0.0500482619, 0.0451821499, -0.0362568796, -0.0262950417, -0.0201744679, -0.0205987934, 0.0595083907, -0.0169560239, 0.0022975071, -0.0120458622, 0.0129738748, -0.0054815551, -0.00759333, 0.0282592494, 0.0099026272, 0.0155358752, 0.0510568321, 0.0504861698, -0.0058721141, 0.0090281898, 0.0317572355, 0.0481771305, 0.0092959544, 0.0387016274, 0.0053574881, -0.0170634985, 0.0054544173, 0.0206678584, 0.0038387282, -0.0371327586, -0.0270588025, -0.0247832183, 0.0960708186, -0.0297396723, 0.095668532, 0.0022600472, -0.0188167933, -0.0409295931, 0.0310383476, -0.03247758, -0.0111182276, 0.0172250848, 0.0063992036, -0.0332899205, 0.0198511668, 0.066523388, 0.0185835138, 0.0232115034, 0.0041092983, 0.0152444048, -0.0277077165, -0.0257847626, 0.0195676629, 0.0078031314, -0.0437659733, -0.0286611207, -0.0457398742, -0.0791161358, 0.0117270676, 0.0139654316, -0.0459340215, 0.0135303419, 0.0163707379, 0.0436878987, -0.0431017801, 0.017869357, -0.059981335, -0.0466616899, -0.0197354425, -0.015543527, 0.0256672837, -6.20465077e-33, -0.0259476211, 0.0158077665, 0.0161583647, -0.0323576219, -0.0258191209, -0.0241179094, 0.0149912955, 0.0053124558, -0.0146338651, -0.0160585232, -0.0155721791, -0.0435491055, 0.0240507573, 0.0392271467, 0.0389889665, 0.0097112525, 0.0390244722, 0.0136827258, -0.0234282706, 0.0072630439, 0.0420931615, 0.0234691408, 0.1083061174, -0.0260067228, -0.000326604, 0.0266449749, -0.0061094407, 0.0282349139, -0.038478747, 0.0829208195, -0.0097640948, 0.0589058809, -0.0094575286, -0.0362559259, -0.0180936679, -0.0119406283, -0.0493889228, -0.0177712012, 0.0291935243, 0.0540801734, 0.0038386993, -0.034928076, 0.0140049476, -0.0037246167, -0.0128735397, -0.0008285448, 0.0313198119, -0.0296318475, -0.0287530832, -0.001249633, -0.0590758137, 0.014044065, -0.0069523803, 0.0155988839, 0.0249734558, 0.0742330551, -0.0059723086, 0.0464086197, -0.0754605755, 0.0473151468, -0.000425877, 0.0268411655, 0.1036127135, 0.0188615192, 0.0179684591, 0.0344473533, 0.0254564825, -0.0269504376, 0.0659569278, -0.0066564539, 0.021048462, 0.0266028233, -0.0144102294, 0.0839115083, 0.0124304211, -0.0103105502, -0.055459138, 0.0305424202, 0.0307305548, 0.0014445327, 0.0092973718, 0.0265405085, -0.0302193444, -0.0208913777, -0.0380773768, -0.0341299176, -0.0303772036, -0.0702176988, 0.0278614368, 0.0039590271, -0.0024080386, 0.0018649335, 0.0604909696, -0.0406467468, -0.0607179664, 0.0309032723, -0.0372655168, 0.0044254037, 0.0035646553, 0.0301269069, -0.0737015009, -0.027574623, -0.0472180806, -0.0297519844, -0.0231082235, 0.0103034498, 0.0430070348, 0.0139216008, -0.0598333739, 0.0276384316, -0.0213967785, -0.0140876938, 0.0051041306, 0.0577707738, 0.0288471337, -0.038323056, 0.004122064, 0.0852563381, 0.0083152847, -0.0277395714, -0.0274946298, -0.0393331945, -0.0080165071, 0.0339578874, -0.0128293894, 0.0208104961, 0.0006688989, 0.0047598057, 0.0363499969, -0.0139050586, -0.0049755648, -0.0137682753, 2.766e-7, 0.0238779057, 0.0154316323, -0.0019972266, 0.0090071186, -0.0375276916, 0.036567159, -0.0399850905, 0.0131348297, 0.0150471507, 0.0143763348, 0.0109626073, 0.0225886181, 0.061314404, 0.0185328238, -0.09635932, 0.0019520447, -0.0401079468, 0.0047118245, -0.0356997959, -0.0144831687, -0.013493428, 0.1141386181, 0.0234242361, -0.0221076086, 0.0030256603, 0.0445805006, 0.0578587055, -0.0867228359, -0.0523873083, 0.0475562587, -0.0019882298, -0.0275255926, -0.0330882594, -0.020349104, -0.0268481169, 0.0321105048, 0.0086961417, 0.0757891461, 0.008556311, -0.0646894276, 0.009718868, 0.0358656459, -0.0323991142, -0.0613330416, 0.0519660152, -0.0020706956, -0.0320723094, -0.021930933, 0.0055096527, -0.0161880516, 0.0489976667, -0.0602640249, -0.0043727034, 0.0176912379, 0.0320725888, -0.0066461163, -0.0385761186, -0.0281267706, -0.0127706844, 0.033868175, -0.0323633365, -0.0393901877, -0.0019614534, 0.0247863401, -0.0100894226, -0.0337021612, -0.0043238448, 2.413719463e-34, 0.0397067629, 0.0070060492, 0.0226628464, 0.0085254312, 0.0131461713, -0.0113254553, -0.0003534023, 0.0189167708, 0.0080701355, -0.0517208949, -0.0183395687 ]
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.056946326, 0.087872982, -0.0007432217, -0.0022232591, 0.0028888315, 0.0694678351, 0.0546267964, -0.0120649878, 0.0091608902, -0.0753292292, -0.0250315256, -0.0668185428, 0.0168350432, -0.0043272884, -0.012025428, -0.0250193849, 0.0113855591, 0.0150094926, 0.0058519221, -0.042754598, 0.0695412308, 0.0246679485, -0.0262538046, 0.0129487691, -0.0520636067, 0.0323491618, 0.0139596611, -0.0394462608, 0.0252561383, 0.0300431885, 0.0561218411, 0.093848303, -0.0036539945, 0.0607486852, 0.0000018006, -0.046174489, -0.0114530129, -0.0175209101, -0.0200061239, -0.0482452177, 0.0527526774, -0.0254821051, -0.0189041533, 0.0305552315, -0.0127910729, 0.0013648086, 0.0749445632, 0.0670114681, 0.0561633594, 0.063612245, 0.0047394191, -0.0198204089, -0.0055339662, 0.0186484624, -0.0018647977, 0.055459857, 0.0228422694, -0.0420582034, -0.049646385, -0.0081522837, -0.0026081435, 0.0105052907, 0.012235349, 0.0163896494, 0.0349028781, -0.0326202326, -0.0702877119, -0.0272467341, 0.0049021975, 0.021330921, -0.0579431616, -0.0317389183, -0.0305061005, -0.0041711987, -0.0232227463, -0.0254643932, 0.0133917471, 0.0086780684, -0.0249242168, 0.0474396981, 0.0006495846, 0.031423226, 0.0498014949, 0.0851200148, -0.025947623, 0.0520366132, -0.0286155324, -0.0473904386, 0.0231391154, 0.0410714895, 0.0036163905, 0.0131256804, 0.0163170695, -0.0097167064, -0.0037438287, -0.0005827943, -0.0429544002, -0.0823621824, 0.0113138715, -0.06903065, 0.0222171247, 0.0515420064, -0.0103525836, 0.0046421126, -0.014872144, -0.0007150088, 0.0375590809, 0.0111708855, -0.0265779514, -0.0005006855, -0.0431085639, 0.0270661339, 0.0095350556, 0.0298084505, -0.0099251783, 0.0473591909, -0.0715330988, -0.0076425169, -0.0414699316, -0.0196653754, -0.008261458, -0.0187090002, -0.000734782, -0.0168143362, 0.0082333954, -0.005283358, 0.017259866, 0.0357085168, -0.0756123066, -0.0957285613, 0.0143439714, 0.0246776398, -0.0211337414, 0.0091489973, 0.0331346504, 0.0345136859, 0.0099741295, -0.0629197583, -0.0072411569, 0.0207486954, -0.0344445147, -0.0221354496, -0.0232202578, -0.07072559, 0.0337829888, 0.0115734087, -0.0242755879, -0.0234738775, 0.010501531, 0.0222674664, -0.0157053787, 0.0785086825, -0.0017621213, -0.0050317082, 0.0607436635, 0.0118848318, 0.0371457003, 0.0815361142, 0.0197465885, 0.0276989173, 0.0239340588, 0.0118010165, 0.0329693519, 0.0739343539, 0.0313477777, 0.0296230018, -0.0447793826, -0.0224509295, -0.0224130992, -0.0297091696, -0.031158274, 0.0139846187, 0.0090556247, -0.0238272455, 0.0417100862, 0.0290852003, -0.0315964594, 0.0203296747, -0.0012764324, 0.0146242063, 0.0122298803, -0.0423501246, -0.0487724617, -0.0409301147, -0.0467070453, -0.0334469005, 0.0422705598, 0.0849698484, -0.0208423361, -0.0629617348, -0.020198673, -0.0187700782, 0.0388927348, 0.0003033721, 0.0548890419, 0.003179495, 0.0127571365, -0.0150095681, 0.0628602132, -0.0298037343, 0.0071632937, -0.0416900776, -0.0138194216, 0.0632880107, -0.0109815123, -0.0359096266, -0.0042408034, -0.0715748817, -0.0048782597, 0.0359127112, 0.0012481569, 0.0098225689, 0.0224978235, -0.0170078874, -0.0354693905, 0.051678028, 0.0229689572, 0.0111461189, 0.0702316836, 0.0411054119, -0.0108594876, 0.0186417699, -0.0592935234, 0.0206575673, 0.0246693641, -0.0141200116, 0.0279258657, 0.0371995084, 0.0306062307, 0.032756146, -0.0566844419, -0.0627713874, 0.0199755263, -0.0126146944, -0.0858384967, 0.0132319219, -0.0619814172, -0.0338089354, 0.0378002375, 0.0015757516, -0.0282292031, 0.0202533137, -0.0200562924, 0.0018985794, 0.0832445323, -0.0141291218, -0.0076513099, -0.0284389518, 0.0119662527, -0.062401969, 0.0601601936, -0.0022947101, 0.0685871467, -0.0177824274, -0.0179804321, -0.0373817831, -0.062629886, 0.0523596592, 0.0511901528, -0.0525951125, -0.0234843958, 0.0096823256, 0.0376174077, 0.0235760082, -0.0373979174, -0.0175242759, 0.0083562033, -0.0837576091, -0.0100370273, -0.0455787405, -0.0105119124, -0.0265052635, 0.0267069545, -0.0418556221, 0.0087972851, -0.0058667781, -0.0728040636, 0.0766319111, -0.0045595299, -0.0104329437, -0.0797798336, -0.0088393101, -0.0174209811, -0.0128609082, 0.0082127294, 0.0280024763, 0.0202121213, -0.0852802545, 0.0609453619, -0.0531123951, -0.0037590652, 0.0236767959, 0.0092956945, -0.0324612074, 0.022026604, 0.0312101264, -0.0361391492, 0.0250080489, 0.0569089763, 0.0624890774, 0.0232994705, 0.0223325584, -0.004833316, 0.0008176378, -0.0039580604, 0.0265542883, -0.0091689248, -0.0293455105, -0.0263840389, 0.0495098121, 0.0186399203, -0.0236859862, -0.044525113, 0.0193959456, -0.0370615646, -0.0449222736, -0.0353583321, -0.0612499751, -0.0014993259, -0.0173185561, -0.0246274341, -0.0969116986, 0.0329205468, -0.0040463996, 0.0324922912, -0.0291650146, -0.0480596907, -0.0137514211, 0.0198700316, 0.0133645646, 0.0338956714, -0.0295491964, 0.029220514, 0.0266279019, -0.027585119, 0.0122376969, -0.0225117896, -0.0092264516, -0.0079792803, 0.0210884511, 0.004629577, -0.0332706161, -0.0698083565, -0.0510876365, -0.0568992198, -0.0200380739, 0.0227485262, -0.0257125627, -0.0338311046, 0.0050340467, 0.0224555805, -0.0158275366, 0.0036036812, 0.0174105, 0.0460444391, -0.0596697368, -0.0239816103, -0.0139954602, 0.0153790014, -0.016171746, -0.0127811385, 0.0347337425, -0.0214237403, -0.0059709549, -0.0569578446, -0.0220244955, 0.0189453084, -0.0116688749, 0.0022842928, -0.0771963373, 0.0033872151, 0.0053076143, 0.0283245109, 0.0997001082, 0.0157441981, -0.0310927723, -0.0118630659, 0.0053775473, -0.011086978, -0.0060844054, -0.0203358997, -0.0803852826, 0.0018879358, 0.0012432528, -0.0003973194, -0.0652795359, -0.0388468467, 0.0219383128, -0.0642883852, -0.0192958526, -0.0018696713, -0.0680076182, -0.0211780686, -0.0071658813, 0.0296922494, -0.0202555787, 0.0143744973, -0.0600122958, 0.0261452775, 0.0395834483, 0.0502093025, -0.0633291677, -0.0544244796, 0.0025915368, -0.0431399755, 0.0296476595, 0.0359521396, 0.0061497875, -0.0437239818, 0.0302174967, -0.0004877784, -0.0236553736, -0.0196936168, -0.0488989279, 0.0523361601, -0.0093787936, -0.0316111073, -0.0043439651, 0.0045815986, -0.0330144316, 0.010726586, -0.0005388588, 0.0062540732, 0.0133026084, 0.0407503322, -0.0547705628, 0.0134252952, 0.0054245144, 0.0677518472, -0.0102965934, -0.0549376607, 0.0364279561, -0.0559955686, -0.0433989912, -0.052357085, -0.0383925252, 0.0104656592, 0.009491072, -0.0091910791, -0.0276670959, -0.0399389565, 0.0372850001, 0.0032100799, 0.007660348, 0.0236764364, -0.0216235109, -0.0016298352, -0.0413113721, -0.0157396514, 0.0127500016, 0.0448033549, 0.0072106831, -0.0308565013, -0.0407166183, -0.0524136014, -0.0011277589, -0.0179873835, -0.0451986566, -0.0329421423, 0.0764377564, 0.0350826494, 0.0081621939, 0.0018080664, -0.0111007113, -0.0637427717, 0.0757864416, 0.1088716909, -0.0004128336, -0.0115584284, 0.0408797972, -0.0275087655, 0.0073954151, 0.0266121402, 0.0046832375, 0.0660741106, 0.0495099984, -0.0878729224, -0.0607726462, -0.0049646948, -0.0152020874, -0.032870397, 0.0277365204, -0.0246361047, -0.0648411661, -0.0488065295, -0.0117929596, 0.0167041551, -0.0363777019, -0.0021047748, 0.0191364195, 0.0066957478, -0.0001396517, -0.037242949, -0.0096286312, -0.0257496908, -0.0136908116, -0.0087318979, 0.031322822, 0.0226567723, 0.0068001049, 0.0186833851, 0.0441377498, -0.0150974086, -0.0070825326, 0.0184418987, -0.022141723, 0.0041270657, -0.0326917768, 0.0011340245, 0.0275481623, 0.0180013478, 0.0051663998, 0.0261131525, -0.0126937497, -0.0724564865, 0.0141147571, -0.0046930714, -0.0592060462, 0.0334548838, 0.0079081021, -0.010287364, -0.0228706915, -0.0076101879, -0.0139783928, -0.0161724463, -0.0070693176, 0.017027162, -0.0307196956, 0.0270403419, 0.0379595868, -0.0192025732, 0.0328670815, 0.0782425851, -0.0219187457, -0.0200594887, 0.0290967226, 0.0318688639, -0.0017901359, -0.0094645955, 0.0476211123, -0.0244664978, -0.0462138392, 0.014189559, -0.04689968, 0.0300975461, 0.0227333251, 0.0184358303, 0.0585078858, -0.0244191326, 0.0544009656, -0.0261394717, 0.0062355441, 0.0147848735, -0.0511430837, 0.0152915511, -5.340863726e-33, 0.0032468999, -0.0039787753, -0.0165575743, -0.0416877605, 0.0352101661, -0.0313363746, 0.0583711304, 0.0354560539, -0.00162436, 0.0357436165, -0.0075466661, 0.026046861, 0.0097070001, 0.0273150932, -0.00225705, -0.0096007166, 0.0330679007, -0.0152184367, -0.0158028733, -0.000389082, 0.0547762252, 0.0198178347, 0.0743094087, -0.0690138936, 0.0152006699, -0.031537354, -0.028668398, 0.005544764, 0.0173947718, 0.0821430758, -0.0082100686, 0.109829627, 0.0496161133, -0.0203310903, 0.0135569097, 0.0163664278, -0.0091774818, 0.0100004291, -0.0160816461, 0.0484281592, 0.0390195958, 0.0226914659, 0.0136503186, 0.0206170697, -0.0703870654, 0.0011575153, 0.0421812236, -0.0514292382, 0.0237262025, -0.0348379537, -0.0800190866, 0.041774068, -0.0214456432, -0.0033698769, 0.0042747068, 0.0449029543, 0.0421053395, 0.0100894189, -0.0345385149, 0.0192896742, 0.0286708623, -0.0134945232, 0.0077942121, 0.0070838085, -0.0085595828, 0.0642967895, 0.0012055977, 0.0078727771, -0.0260238573, 0.0173034985, 0.0305155907, -0.0150941247, 0.0254982002, 0.0590135418, 0.0244278107, -0.0488777868, -0.053712111, 0.0194122419, 0.0386343077, -0.0193029065, 0.0135239912, -0.0312580764, -0.0649477616, -0.0151884183, 0.0027039077, -0.0634400919, -0.009350325, -0.0122768963, -0.0003204431, 0.0004265289, -0.0337048098, 0.0102527747, 0.0067347693, -0.0087800538, -0.028796738, 0.045147568, -0.0345588885, -0.0144171081, 0.0291314013, 0.0369099341, -0.0430154502, -0.0223015863, 0.0116343964, 0.0141751803, 0.0093617002, 0.0023011263, 0.0823180452, 0.0469086692, -0.0827737376, 0.0513413064, 0.0174846202, 0.0559042431, 0.0014560309, 0.0734622702, -0.0036844816, 0.03744746, -0.0147269955, 0.001618833, 0.0178022217, -0.0400657654, -0.0022514798, -0.0285835788, -0.0628996193, -0.0299678538, 0.0255352072, 0.0034535588, 0.0007041717, -0.023834236, 0.013946007, -0.0887912512, 0.0327493586, -0.057498496, 2.418e-7, 0.0190466642, 0.0292800143, -0.0213620607, -0.0494174585, 0.0120019326, 0.0385763273, 0.022977693, 0.0007358809, -0.0140291508, 0.0234040394, -0.0255921166, 0.0723021999, 0.0189799424, 0.0260478184, -0.021310281, -0.0245496258, -0.0429827645, 0.0338809788, -0.0335181542, 0.020202579, -0.0000553508, 0.1499527097, 0.0586938486, -0.0353758782, -0.043118611, -0.0290493462, 0.0227497518, -0.0340166353, -0.0180991329, 0.0047960398, 0.0916184708, -0.0010957504, 0.0198637042, 0.0156462677, -0.0303556379, 0.0258227997, 0.0407443643, 0.0058715669, 0.0129495645, 0.062731348, 0.0090859178, -0.0096878484, -0.0093176607, -0.0349932536, 0.0370113589, -0.0012283569, -0.0151890693, -0.0466310121, -0.0111463629, 0.0097692441, 0.0765533224, -0.0034688795, 0.0140266716, 0.0078671435, 0.041361358, -0.0056866552, -0.0183220319, -0.0596487299, 0.0146609535, -0.0189840496, -0.0192188863, -0.0030199571, 0.008792107, -0.0043784599, 0.0375260971, 0.044473324, 0.0414336324, 1.516724175e-34, 0.0313634016, -0.0032850355, -0.0207044594, -0.0134120658, 0.0146281654, -0.013025823, -0.0051273201, -0.0038169073, 0.0265740696, -0.0187733807, 0.0116086183 ]
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.0248518381, 0.022869559, 0.0152431848, -0.0207410939, -0.0356522389, -0.011569337, 0.012173268, 0.0058866008, 0.0054274723, -0.0442153774, -0.0107157258, -0.0744717643, 0.003385931, 0.0351425521, 0.0185200125, -0.0793357044, 0.0317722335, -0.0417560153, -0.0097244708, 0.010029613, -0.019214727, -0.0037252915, -0.0025794771, 0.0450894162, -0.0177058633, -0.018409133, -0.0658932999, 0.0195961855, 0.0320082381, -0.016645778, -0.0107555874, 0.0631795749, 0.0374783725, 0.055639334, 0.0000017849, -0.0464098267, 0.0169985387, -0.0080744606, -0.0065579112, -0.0377746485, 0.0318429656, -0.0019120848, -0.0292193256, 0.0010126913, -0.0183866452, 0.0079819448, 0.0226895027, 0.05799032, 0.0233489275, 0.0885175765, 0.0069645336, 0.0264615826, 0.0412688777, -0.0408029258, 0.0711541772, -0.0140669728, 0.0117451074, -0.0405313522, 0.0094891917, 0.0016064516, -0.024465099, 0.0040561222, 0.0293586943, -0.0212469045, 0.0232734382, 0.0597056448, 0.012305269, -0.0298604425, -0.0092116212, 0.0653304607, 0.0188908074, -0.0068968665, 0.0222166553, -0.0089155138, -0.0089862775, 0.0103961146, -0.0243068896, 0.0883855447, -0.0143598309, 0.0170571823, 0.0370853506, -0.0126108546, 0.0429260395, 0.0160746258, 0.006903315, 0.0486570671, 0.0067413705, -0.023704933, -0.0059078909, 0.0191405043, 0.0397973098, -0.0933046564, -0.0297846962, 0.0472256429, -0.0389826372, 0.0240876973, -0.0846339688, 0.0375158973, 0.0368674807, -0.0053880634, 0.0210184008, 0.0379695632, 0.0076786224, -0.0061939736, -0.019298872, 0.0341105051, -0.0292499196, 0.021611182, -0.0314832032, 0.0556004904, -0.0139229177, -0.0239311233, -0.0235113837, 0.0264921244, -0.0527929477, -0.0544736981, -0.0458364375, 0.0469591431, 0.0148686469, 0.0192982107, -0.0184179246, 0.0119501911, -0.066532515, 0.0021531098, -0.0610947981, 0.0196395814, -0.0307266656, -0.011898119, 0.0667558461, -0.0152273225, -0.0039688181, 0.0151698738, -0.0144154327, -0.0071516004, -0.0502576008, 0.0589633398, -0.0196236875, 0.0078039728, -0.0385702513, -0.0547343567, 0.0051246402, -0.082124427, 0.0332491361, -0.0461027473, 0.033454679, -0.0043521337, -0.0167316496, -0.0199126657, 0.0171833932, 0.0039237663, -0.0171622075, 0.0208890196, -0.0144598419, -0.0005088644, 0.0377607606, -0.0213233363, -0.0038713487, 0.0507628955, 0.0219608713, 0.0541471802, 0.0030409452, 0.0220941119, 0.0209161714, 0.0333302505, -0.0083592897, 0.0125309406, 0.0190876834, -0.0182570331, 0.0242344439, 0.0694918334, 0.0563860834, 0.0443284735, -0.0412639342, 0.0130911833, 0.0646946132, 0.031976223, 0.0132903783, -0.0251770671, 0.0829808787, -0.0003090044, -0.0179319978, 0.0729269385, -0.0633459166, 0.0391928665, 0.0029316284, 0.0522652715, 0.0167760476, 0.0061387247, -0.0291445311, -0.0175941493, -0.0109501285, -0.006195033, -0.0370027348, -0.069181934, 0.0193363484, 0.0235490855, -0.055502113, 0.0422310084, 0.0223396514, -0.0688593462, 0.0386530608, -0.0430041105, 0.0536294132, 0.0849824175, 0.0505568981, -0.0079675233, -0.0264082737, -0.0206461977, 0.0406426899, 0.1096686572, 0.0583444946, 0.0041478435, -0.0107742511, -0.0369169898, -0.0363378078, -0.0113534341, -0.0055843377, 0.0138224876, -0.0139846895, 0.0054401555, 0.0192348547, -0.0085782222, -0.042702131, 0.0578778125, -0.0619472116, 0.0020962891, -0.0308055822, 0.027899202, 0.0218867362, -0.021262506, -0.0072391802, 0.040356528, 0.0211966578, -0.0033187871, -0.0231103301, 0.0071235909, -0.0606221668, -0.0447970591, 0.0067650042, -0.012148805, 0.0198379774, -0.0054476992, -0.0141549995, -0.0552164242, -0.0266323611, -0.0272816066, 0.040176075, -0.0279258341, 0.0236346498, 0.0370940082, -0.0226404443, -0.034948729, 0.0508953705, -0.0069476431, -0.0247715209, 0.000689642, 0.0234254748, -0.0185284335, -0.0698947534, 0.0192663688, 0.0167794544, 0.0053410274, -0.0195185021, 0.0419179462, 0.0215144884, -0.0539562367, -0.0435498692, -0.0170373749, -0.0110973148, -0.0215788726, 0.0018569943, 0.0221314747, -0.0022118348, -0.0137481978, 0.0090782698, -0.0500258617, 0.0171611086, 0.0461644977, 0.0149517972, 0.0619971976, 0.0070249205, -0.0129477186, -0.0395859219, -0.0079241088, 0.0036959928, 0.0296141952, 0.0212942753, 0.0113951024, -0.0600307062, 0.0226516258, -0.0464219488, -0.0023533073, -0.0277735721, -0.0158460233, 0.0294610094, -0.0358017832, 0.0480922535, 0.0376040339, 0.0319343284, 0.0549027286, 0.0328615345, 0.0149112642, -0.0387696289, 0.0216250867, -0.0561580695, 0.0260956474, -0.0520058572, -0.0229807403, 0.014553953, 0.0489598438, 0.0018244017, 0.0311291032, -0.0411093608, -0.0068256259, 0.0304334443, -0.0639219284, 0.0020906876, -0.0300694276, -0.041615773, 0.029390879, -0.0277091898, -0.0783842057, 0.0501585081, -0.0314362608, 0.0183599927, 0.0039898688, 0.0283202343, -0.0294221099, 0.044472076, 0.0462752357, 0.0281652175, -0.0029219063, -0.0251381602, -0.0625865832, 0.0015419167, 0.0059864521, 0.0237854011, 0.0329937004, -0.0232793242, -0.012452798, -0.0348017439, -0.035428714, -0.0483057462, -0.0264420658, 0.0100518838, -0.0048131477, -0.0037757582, -0.0222466365, -0.0382768363, 0.0189643707, 0.0341231376, 0.0403134823, -0.058285661, -0.016309794, -0.0432393849, 0.0400071591, 0.0709359795, -0.0272424519, 0.0267394762, -0.0778288394, 0.0572985671, 0.0378929526, 0.050745327, -0.0109930662, 0.0053037619, -0.0015260538, 0.0032821021, -0.0453698188, -0.0392165668, 0.0439688042, 0.0383600518, -0.0535842851, -0.0145795653, 0.1087011918, 0.0079348329, -0.0201240834, 0.010552099, -0.0357066542, 0.1100570709, -0.013022243, 0.0224296469, -0.0435582548, -0.0011093682, 0.0218045134, 0.0135983936, -0.0139788613, -0.0464814566, 0.0219763052, -0.0804320797, 0.0699324384, 0.0391011611, -0.0696394518, 0.0106094871, 0.0058007445, -0.0137615651, 0.0304774214, 0.0211483445, 0.0470448732, -0.0351647772, 0.010886522, 0.0192284342, -0.0446625948, 0.0150385313, -0.043163918, -0.0455751903, 0.0340627953, 0.07513953, 0.0155961374, 0.0131052667, -0.0291209072, -0.0066769891, 0.0396192223, 0.0495817885, -0.0123648373, 0.0527922325, -0.0257867351, 0.0118641341, -0.0180870593, 0.0409979001, -0.0191069618, -0.0287198089, -0.0224225204, 0.0532023646, -0.0465216599, -0.0391466916, -0.0222018436, 0.0203592759, 0.0209611747, 0.075208433, 0.0095645264, -0.0378641486, -0.0769215524, -0.0178854186, 0.0185587667, -0.0539188795, 0.0305080209, -0.0011455476, -0.0390848778, -0.0213045627, -0.0642945245, -0.0979080871, 0.0146587715, 0.0552975759, -0.0101683671, -0.0017472977, 0.0054049492, -0.0241666548, 0.010576224, -0.0036195365, -0.0391232222, 0.0096023651, -0.0605715774, -0.0251479838, 0.0077417451, -0.0733604282, 0.0173145626, -0.0026778996, -0.0617938079, -0.0493376516, 0.0118982298, 0.0393684693, 0.026441671, 0.065963544, 0.024724301, -0.0159678012, 0.0581625476, 0.0010649118, -0.031438157, 0.0534142815, -0.0110535426, 0.0156557765, -0.024686357, 0.0375497341, -0.031028375, -0.0387659855, 0.0259278938, 0.0709933937, 0.0099840462, -0.0410730764, -0.0100716017, -0.0089193229, -0.0133512961, -0.0599916242, 0.0160202552, -0.0386524983, 0.0050276276, -0.0160036217, -0.0045317439, -0.0231856126, 0.014350974, 0.0349303223, 0.0348789394, 0.0154405227, 0.0247111432, -0.0160855912, 0.0700561032, 0.0050526508, -0.0182357058, -0.0152064152, 0.0427685641, 0.0373630859, 0.0026593786, -0.0284090154, 0.0068924697, -0.034278743, 0.0331707224, 0.0120305736, 0.0870064944, 0.0234955288, 0.0161856748, 0.007465947, 0.0056455, -0.0919316337, -0.0428718477, -0.0403570831, 0.0075781103, 0.0319211707, 0.0278333034, 0.059294872, -0.057533849, 0.0057385699, -0.0211002771, 0.0300854854, 0.0436030068, -0.0498133264, 0.0200566221, 0.0142552815, -0.0435384661, -0.0107186325, 0.0594724268, 0.0353503786, 0.0431646779, -0.0054304199, -0.0028050563, -0.0353126265, -0.0517824627, 0.0396808088, 0.0056493236, -0.0064367484, -0.0564392731, -0.059720207, -0.0254164487, 0.068820633, 0.0314469412, -0.0406700708, -0.0260878205, 0.0331448801, 0.0444516502, -0.0186778065, -0.0279184692, -0.0646791309, 0.0018088443, -0.0355679952, 0.0050819363, -0.028151324, -5.373570387e-33, -0.0545603484, -0.0261659194, 0.0436300561, -0.0175607, -0.0715328828, -0.0201643892, -0.0500978902, -0.0080426419, 0.0310867783, 0.0181474313, -0.0190119911, -0.0309487004, 0.0238456391, 0.0509458743, 0.0202656966, -0.0165862702, 0.0428299196, -0.0339543894, -0.0546116382, 0.0355029702, 0.0465805233, 0.0114522437, 0.0196705051, 0.0096478947, 0.0021164247, -0.0358183496, -0.0163019821, 0.0141734751, -0.0225478392, 0.0427806191, -0.0318587311, -0.0103058815, 0.0144320764, -0.0179348849, -0.0345845371, 0.045293685, -0.0395623781, -0.000122583, -0.001810567, -0.0116789015, -0.0804554671, -0.0355379432, 0.0189595446, -0.0026426408, -0.0218746904, -0.008319688, 0.0258443337, -0.0158883464, -0.0505105145, -0.0167498495, -0.0921330974, 0.0096777556, 0.0184183363, -0.001035681, -0.0361131802, 0.0317136087, -0.005722601, 0.0017135527, -0.058795128, 0.0196422469, 0.0106164394, 0.0126966396, 0.0574197881, 0.0636756197, -0.0034474458, 0.072381489, 0.0334861055, 0.01370777, -0.039248053, 0.0528536886, 0.0049395822, 0.0424700119, -0.0289503615, 0.0472070798, -0.0211275835, 0.0300319679, -0.0426534452, 0.0540888757, 0.0155459177, 0.0298064593, 0.0180746801, -0.0035483474, -0.0064935363, -0.0123231905, -0.0291007366, -0.0137841068, 0.0156124709, -0.0400838815, 0.0192529801, 0.0365014337, 0.0194543544, -0.0333973765, 0.0386306718, 0.0057406728, -0.012483689, 0.0316359885, -0.0471303463, 0.0250181518, -0.0139810946, -0.0054107537, -0.0661290735, -0.0364649072, 0.02677029, 0.0128166536, -0.0284262225, 0.0295945629, 0.0250429884, 0.0339556076, -0.0593211576, 0.0148492176, -0.0380045399, 0.0320751667, 0.0178399906, -0.0200447198, 0.0498048216, -0.0700982139, -0.0138082672, 0.0596352033, -0.0346057452, -0.0271510519, -0.0080846678, 0.0053349757, -0.0018554953, 0.0155341728, -0.0161820948, 0.0213726982, -0.0543468595, 0.0394327492, 0.0502480343, -0.0548608899, 0.0106178056, 0.0298129078, 2.404e-7, -0.0017904515, -0.0097756879, 0.0691433698, 0.0081064152, 0.0296840556, 0.0282278508, -0.0179242734, 0.0391235091, 0.00769665, 0.000822351, 0.0494087264, -0.0022789876, 0.0635019243, 0.0034648974, -0.0788991973, -0.00635758, -0.09998063, -0.0101407981, -0.0517943576, -0.0326473974, 0.0137933809, 0.03826138, -0.0055366391, -0.025437111, 0.0313097164, -0.0071375603, 0.0812476873, -0.019328637, -0.0083666407, 0.0396395363, -0.0294565074, -0.0478223525, -0.014689411, -0.0190433804, -0.0142490575, -0.0141771669, -0.004110388, 0.0608848706, 0.0288916435, -0.0493746139, 0.0072410796, 0.0065800394, 0.0215732008, -0.0258118901, 0.0400296114, -0.0089038955, 0.000310419, 0.0278682727, -0.0112023344, 0.0112851998, -0.0290189199, -0.0252072271, -0.015329212, 0.0388306268, 0.0060872114, 0.0044447454, 0.0105097843, -0.0519577935, -0.0320723467, -0.0380896218, -0.0662697107, -0.0656373724, -0.06336876, 0.0435559638, 0.0237667523, -0.0798634738, -0.059501186, 2.481792065e-34, 0.0190364998, -0.02258767, 0.0038027824, 0.001828389, 0.0223391745, 0.0130492421, 0.0376814753, 0.0385194421, 0.0294233691, -0.0803335831, -0.0409724973 ]
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.0414472781, 0.0526569001, 0.0115031088, -0.0246459804, -0.0200246908, 0.0191580839, -0.0178662818, 0.0202215724, 0.0440748669, -0.0632089823, 0.0420878083, -0.0268980917, -0.0701821446, 0.0466163233, -0.0332737938, -0.0224268716, 0.0393958278, 0.0622770786, 0.0275637787, 0.0245721564, 0.0376656651, 0.0130971968, -0.0410568006, 0.0311525688, 0.0115873655, -0.0041072979, 0.0522271991, -0.0087400619, 0.0350317359, -0.0856577978, 0.0154757313, 0.0285580251, -0.0237234142, 0.0112177953, 0.000001596, -0.0475142449, 0.0200955123, 0.0201818459, -0.0005795985, -0.0391648151, 0.0740689933, -0.0610198192, 0.0020850175, 0.0418600775, -0.0434431322, -0.0355800875, 0.0295214895, 0.0629653335, 0.0188753679, 0.0926582217, -0.039898362, 0.0017423552, 0.020214621, -0.0118002789, 0.0113262283, -0.0339183919, 0.0463914089, -0.0612969287, 0.0053952402, -0.0285130702, 0.0331928842, 0.0277555529, -0.0169548858, 0.0227927677, 0.0099741938, 0.0181254484, -0.0513034835, -0.0282292925, -0.008694442, 0.0199188944, 0.0202559847, -0.0275769345, 0.0128704477, -0.0192090701, 0.0182784777, 0.046559874, -0.0027721433, -0.0240448806, -0.0241724756, 0.0430755727, 0.0401616171, 0.0348008573, 0.032894019, 0.0312198307, 0.0394463874, 0.0593461134, 0.0010373006, -0.0448784046, -0.0125985565, 0.0070659397, 0.0155658713, -0.013125537, 0.04466879, -0.0168627687, 0.0021531603, 0.025339419, 0.0108079268, 0.0101273796, 0.0594526865, -0.1651219428, -0.0151717328, -0.0145499185, 0.001090045, 0.0314959958, -0.0067217238, -0.0433485806, 0.0073052389, 0.030978879, 0.0157305375, 0.0528836325, -0.0565307625, 0.0341159366, -0.0013000399, 0.0264553949, -0.0084115332, 0.0088767102, -0.0512490347, 0.0129143735, -0.0413925312, -0.0291432086, -0.0101803271, 0.0158540923, -0.0131038725, 0.0187515356, -0.0119744809, -0.0095919147, 0.0098619089, 0.0254041161, -0.0325583629, -0.0155026838, 0.0290523618, 0.0051119374, 0.0069503477, -0.0125155672, -0.0097476933, 0.0764747784, 0.0409860536, -0.0291491263, -0.0290416591, -0.0143474806, -0.0320321433, -0.0198788662, -0.0148379449, -0.0314365812, 0.0180593003, 0.0059061446, 0.0053123715, -0.0548124909, 0.0129427835, -0.0229438245, -0.049197264, 0.0402173474, 0.0275210012, 0.0064735906, -0.0105663743, 0.0424263701, 0.0059233862, 0.0601967312, 0.0102349799, 0.0205752272, 0.0468137339, 0.0037878894, 0.0030715277, 0.0066975961, 0.0360403024, -0.0123064509, -0.007630846, 0.0128977755, -0.029590128, -0.0077307867, -0.059201058, 0.0277516525, -0.0063190553, -0.0287181549, 0.0229790211, -0.0073272968, -0.0248411708, -0.008537801, 0.0026945116, -0.0118092895, -0.0390335023, -0.0239363238, -0.017188983, -0.0388124362, -0.0395097509, -0.0267416257, 0.0052311285, -0.0312497262, -0.0249752998, -0.0149994055, -0.0402052067, -0.0310828872, 0.0336461365, -0.0036255973, 0.029156331, -0.0337090604, -0.0734310821, 0.0649139434, 0.0341980457, -0.0223450828, -0.0130310589, -0.0518482849, 0.0201967675, 0.0725917593, 0.04676627, -0.0232171714, -0.0243292172, -0.0326628573, -0.0036585953, 0.0135408146, 0.0346800983, -0.0167044215, 0.0230754819, 0.0244096089, 0.0211979244, 0.0293088946, 0.0487295464, -0.0331543423, 0.0051269508, 0.0335587338, -0.0226692576, 0.0307396986, -0.0685386434, 0.0419153199, 0.0274654943, -0.0549401157, -0.0063228095, 0.0118826712, 0.0704910755, 0.0196817555, -0.0046258364, 0.0047840416, 0.0521072894, -0.0803350806, -0.058424186, 0.0125360182, 0.0281576216, -0.0304528661, 0.0050813919, -0.002696868, -0.0107677337, 0.0295227673, -0.0566817857, 0.0019188708, 0.0332947634, -0.0145415673, 0.0362222753, -0.0130577758, -0.0075672003, -0.0101283696, 0.0023164123, -0.0148187755, 0.0084652249, -0.0239974838, 0.008161732, -0.0553099997, -0.075722754, 0.0033638247, -0.0064427, -0.0207710583, 0.0166895743, -0.0129461884, 0.0052211154, 0.0430015437, -0.0229849461, 0.0043946696, 0.0043922216, -0.0843519792, -0.0087612951, -0.025341738, 0.0424621888, 0.0170775168, -0.0204088185, 0.000980834, -0.0240361467, -0.0156014208, -0.0705822483, 0.034482412, 0.0438706651, 0.0040995008, 0.0515154041, 0.0109718377, -0.0224052574, -0.0105968742, -0.0619199201, 0.0424738638, -0.000440672, -0.0724205896, 0.0028537302, 0.0019872319, -0.0444114357, -0.0076272222, 0.0071111158, -0.0325182378, 0.0078243567, 0.021371318, -0.0123920403, 0.0475480855, -0.0031052483, 0.0543686748, 0.0147227496, 0.0486393087, -0.0026001795, 0.003715022, -0.0793146268, -0.0083909668, 0.0099800797, -0.0587432161, 0.0078003919, 0.0643505529, 0.0251141526, -0.0037462553, -0.0628284365, 0.0122398632, -0.041659385, -0.0096969744, -0.0214880593, -0.0297854561, -0.0374418981, 0.0047773803, -0.0371629298, -0.0639962107, 0.0586084351, 0.0463732146, 0.0305611324, -0.0589973144, -0.0303584989, -0.0512229949, -0.0275307037, 0.0185764395, 0.0042927624, 0.0255652312, 0.0174083877, 0.0778531432, -0.0641320497, 0.020342933, -0.0255702008, 0.0362302139, -0.0256464984, 0.0187342707, 0.0005827857, -0.0408685133, -0.0339410752, -0.0710129142, -0.0138108395, -0.0113310535, -0.0247927159, 0.0295195915, -0.0318120234, 0.0641095191, -0.0708209947, 0.0319203734, -0.0098707201, -0.0162757449, 0.056211926, 0.0095635597, 0.0349137038, -0.0817362443, 0.026122991, -0.0022805005, 0.0419333763, 0.0579451956, 0.0155675029, 0.0211411733, -0.0085073272, 0.0001979479, -0.0050431574, -0.0480953455, -0.0151994862, 0.0373666286, 0.0107154222, -0.0441749729, 0.0050738403, 0.0849195346, 0.0237655714, -0.025081927, 0.0454557128, 0.0120608965, -0.039994441, 0.0019650175, -0.0374508277, -0.0338016637, -0.0106688682, -0.0470504574, 0.0127289183, -0.0490040034, -0.0172497854, 0.0125231361, -0.0260669235, 0.0023208866, 0.0137751931, -0.0140720485, -0.0112115489, -0.0652225167, -0.0023466521, -0.0613819249, -0.0170036983, -0.0420979559, 0.0141111501, -0.0196377244, 0.0016455462, -0.0862437934, -0.0875909403, 0.0282105561, 0.0113318199, 0.0264498238, 0.0165744182, 0.0374210216, -0.0257418249, 0.0019766628, 0.0433313623, -0.0135601787, -0.0186808165, 0.009577753, 0.0702814981, -0.0142140584, 0.016982805, -0.0688074455, 0.0200215187, -0.0457254574, -0.0073887575, -0.0277648866, 0.0999512374, -0.0222231504, -0.0587398857, -0.0516762622, 0.0409446731, 0.0576914996, 0.0556548461, 0.0029986044, 0.0102278255, -0.034658812, 0.016968336, 0.0142197907, -0.0629167631, -0.0239404403, -0.0391261317, 0.0098757604, -0.0310934093, -0.0629889965, -0.0216298681, -0.0201618224, -0.0224748347, -0.0393349305, -0.0111729493, 0.0049286564, -0.017229449, -0.0111429514, 0.0616832934, 0.068217434, 0.0426934958, -0.0532934442, -0.0281550661, 0.0486606285, 0.0741633922, -0.019434806, 0.0348936357, -0.0363534987, -0.0691616237, 0.0318965018, 0.0206187796, 0.0251288451, -0.0022417025, -0.0129657527, 0.0016860525, 0.0223405994, 0.0560750626, -0.008568231, -0.0593267009, 0.0525006391, 0.0140353851, -0.0033799817, 0.0188648086, -0.00636021, 0.0451785922, -0.0052239294, -0.0091617415, -0.0358130187, 0.0198583063, 0.0075426218, -0.0248856228, 0.0545499735, -0.0021726382, -0.0692499876, -0.0157174114, -0.0115501713, 0.0012266136, 0.0071965693, 0.0258832444, -0.0104934685, 0.027073916, -0.0144633921, -0.0665438622, 0.0257778801, -0.0987245142, 0.0185053851, -0.0534398779, 0.0533919334, 0.0232577659, 0.0230041724, 0.038060803, -0.0045047472, -0.0283209719, 0.0078331139, 0.0104998499, -0.0115071069, -0.0256988127, 0.0448271483, -0.0305024907, 0.0513258204, 0.0036257443, 0.0239908136, -0.0360297039, 0.0231421236, -0.0406972356, 0.004526542, 0.0276316777, -0.0266701151, 0.0544706173, -0.032323122, -0.0186909679, -0.034453921, 0.044944182, -0.0342577845, 0.0078576887, 0.0354404859, 0.016186107, -0.0238507837, 0.0051671173, 0.0589000285, -0.0051431856, 0.047066398, 0.0423881784, -0.047712151, -0.0112750931, -0.039017532, 0.0215049032, -0.0004269513, -0.0431053638, 0.0595696121, -0.1002176851, -0.0281742774, 0.0338448212, -0.045974616, 0.0382953547, -0.002347081, 0.0143596064, 0.0487190895, 0.0471024662, 0.0394913554, -0.0340836234, 0.0127094733, -0.01850399, 0.0031569726, -0.0653194785, -5.135127235e-33, 0.0325838588, -0.0143365636, -0.0504927412, -0.0051630242, 0.0248347875, 0.014516145, -0.0267530996, 0.0087956227, 0.0160337351, 0.0355934054, 0.0357337892, 0.0241341237, -0.0081300484, 0.0076163141, 0.0043511349, -0.0454142541, 0.0447821058, 0.0052645886, -0.0188836064, 0.0448598079, 0.0313390493, 0.0509497263, 0.0181772187, -0.0942307189, 0.0530216806, -0.0001771786, 0.0096363397, -0.0117242979, 0.0133530414, 0.0849538147, -0.0095397718, 0.0831227601, 0.0577738211, -0.0353053659, 0.0225782022, -0.0285505001, -0.018710969, -0.0223729443, -0.0003357657, -0.030446941, 0.0042936304, -0.0251361802, 0.025525026, 0.0094792349, -0.0679796711, 0.003849623, 0.0184418689, -0.024960978, -0.0103083719, -0.0605461299, -0.0566710383, 0.0451033637, -0.0134920068, -0.0002672971, -0.0159997512, 0.043927107, 0.003131419, 0.0389968343, -0.0226941593, -0.0103789857, -0.0329730771, -0.0144827086, -0.0079202717, -0.0645794794, -0.0291251205, 0.0328965038, -0.0026025353, 0.0590845384, 0.000410652, 0.0228889827, -0.0431128554, 0.0169997104, 0.0468747467, 0.0453320891, 0.0507929996, -0.0213678312, -0.0979185253, 0.010855712, -0.0077210558, 0.0380231887, 0.0649902746, -0.0037456225, -0.075874649, -0.0227751583, 0.021624729, -0.0110038882, -0.0126594864, -0.0143753933, 0.0013022391, 0.0102540851, 0.0005768908, 0.0299946796, -0.0073590344, -0.0203315523, -0.0108735599, 0.0511857606, 0.0104740849, -0.0018064411, 0.0034609004, 0.0101733217, -0.0829578713, 0.0097227311, 0.0096554393, 0.0010370979, 0.0273390543, -0.0334979966, 0.0653769001, -0.0056709866, -0.0532312393, -0.0039428477, 0.0117034307, 0.0482774228, 0.014627195, 0.061194934, 0.0241201203, 0.0146949524, 0.011319479, 0.0785019845, -0.0064994949, 0.0086550768, -0.0074215019, -0.0184075385, -0.0064890985, 0.0294099133, -0.0313258171, -0.0020346735, -0.0045214049, 0.0472956635, 0.0267451685, -0.0662200898, -0.0131417476, -0.0588047393, 2.423e-7, 0.0816616714, 0.042516239, -0.0061878278, 0.009187704, 0.0485262275, 0.026966637, -0.0173368286, 0.0352633633, 0.0058079851, 0.0337832272, 0.0060208733, 0.0032858697, 0.0134916874, 0.044019036, -0.0147428969, -0.014703542, -0.0923684165, 0.0020704996, -0.034997195, 0.0035401038, 0.0704615489, 0.0698276013, -0.0037270228, 0.0082666175, -0.0119122956, -0.0084446901, 0.0528989881, -0.0508776456, -0.0337539986, 0.0252476521, 0.0161687117, 0.0000353098, -0.0147861475, 0.0368323587, -0.0395540893, -0.0144725703, -0.0179740936, 0.065666154, -0.0330120139, -0.0163080003, 0.0154432952, -0.0476883836, 0.0230529867, -0.0208441485, 0.0692061037, -0.0584263057, -0.0559473597, -0.042047739, -0.0108392444, 0.0168732014, 0.0909852087, -0.0146348365, -0.0643468723, 0.0187235605, 0.0182983112, 0.0113913128, 0.0024506757, -0.0805008411, -0.0261942577, 0.0522984304, -0.0313541479, -0.0507768318, 0.0410975628, -0.0050938968, -0.0069080368, -0.0691850111, 0.0279258937, 1.988135406e-34, 0.0737204701, 0.0419209637, -0.0174447242, 0.0111176502, 0.0367561132, -0.0070831398, 0.0039337175, -0.0483718589, 0.0364846773, -0.0204303917, 0.0154111497 ]
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.0577801131, 0.0760449171, -0.0310098864, 0.0424228832, -0.0481786355, 0.0337121375, 0.0283068977, -0.0150804035, 0.0174947511, -0.0850760266, -0.0068309582, -0.0098289736, 0.0326126143, -0.0081002992, 0.0056969118, -0.0451778807, 0.0380880646, 0.0271971412, 0.0525406376, -0.0412754826, 0.0431927256, 0.0278886445, 0.0258768387, 0.0634042546, -0.0226400048, 0.0220755618, 0.0840221196, -0.0008846504, -0.0042142556, -0.0217507333, 0.0261263717, 0.0748657659, -0.0393197462, 0.056219589, 0.0000018013, -0.0761670843, 0.0147824604, 0.0198287908, -0.0062514185, 0.0111446474, 0.098761946, -0.0148457345, -0.0063030054, 0.0327302143, -0.0243043527, 0.012579917, 0.0451908149, 0.0180470869, 0.0210593101, 0.039426107, 0.0047213305, -0.03187548, -0.0322199017, -0.0089057172, -0.0047393325, -0.0051814448, 0.0538621545, -0.0100188833, -0.0625877827, -0.0459370539, -0.0144519769, 0.0090889363, 0.0071168253, 0.008577588, 0.028851686, 0.0046444745, -0.0578602292, -0.0438622236, 0.0045950282, 0.0711535066, 0.0042789145, -0.0161703508, -0.0052809515, -0.0370108448, 0.0421024859, -0.0016092965, -0.0381417051, 0.0565760024, 0.0078042499, 0.0274149906, 0.0300108884, 0.0308904294, 0.0322957225, 0.0584761128, 0.0125633767, 0.0574240014, 0.028470682, -0.0556259193, 0.0026233583, 0.0336930975, 0.0234546941, -0.0427310504, -0.0068531889, -0.0360798612, -0.0241824295, 0.00838836, -0.0274597127, -0.0316555686, 0.0543709956, -0.0675109699, 0.0191161577, 0.0112370523, 0.0025910127, 0.0374934599, 0.016705906, 0.0150866657, 0.0039486173, 0.0189177059, -0.0094365245, -0.0209505986, -0.0005416729, 0.0049450602, 0.0219461173, -0.0018237324, -0.040295694, 0.0307651833, -0.0358527638, -0.0012753152, -0.0721135587, -0.0125169326, 0.0565251447, 0.0285083149, -0.0043159043, 0.0139163416, -0.0316672064, 0.0140974987, -0.027929699, 0.0389258713, -0.0264235158, -0.0820655823, 0.0145999976, 0.0045406176, -0.0154095674, -0.0488326438, 0.0047902758, 0.0576279014, 0.0592204444, -0.0239986964, -0.0190842208, -0.0307694897, -0.0041345991, -0.0439666621, -0.0158273783, -0.0592327788, 0.0310321115, 0.0031898932, 0.0145228794, -0.0439873077, -0.0192807838, 0.0153233605, -0.0799393654, 0.0484677628, 0.012928199, 0.0046357182, 0.0350116827, 0.0030844882, -0.0128619615, 0.1066155732, 0.023542583, -0.0292640999, 0.0741456524, 0.0058970987, -0.0204088669, 0.0272295773, 0.0107512167, 0.0074395989, -0.0271822941, 0.0162674785, -0.0369363464, 0.0067274403, 0.0416885652, 0.0690485016, 0.0080403183, -0.031190468, 0.05472086, 0.0377903506, 0.006914665, 0.00722931, -0.0014209965, 0.0164245199, -0.0196640436, 0.0018807679, -0.072871916, -0.014458688, -0.0428994969, -0.0326845162, 0.0300660562, 0.0449061878, -0.0039944085, -0.0135690859, -0.0183012951, 0.0355341472, 0.0497664288, -0.0207345653, 0.0085142665, -0.0015385235, -0.012072593, 0.0607295223, 0.051166106, -0.0512236506, 0.0285471063, -0.0338549577, 0.0238418598, 0.0274418723, 0.0346269868, -0.0256960765, 0.0363411605, -0.0017036718, -0.0101383282, 0.0588978343, 0.063423261, -0.008174099, -0.002797574, -0.0275747646, -0.0381003655, 0.0085813869, 0.0555799678, -0.0071340241, 0.0403651595, 0.0097683333, 0.0081843706, -0.0541679822, -0.0532010086, 0.0493847989, 0.0377548002, -0.0207010228, -0.0143906474, -0.0119730663, 0.0327971317, 0.0188848916, -0.0575946905, 0.0097871935, -0.0244123768, -0.0015437366, -0.0192845147, -0.0057112044, -0.0447106771, -0.0226627253, 0.0234022513, -0.0737794116, -0.0206229016, 0.0504673123, -0.0336940549, 0.0086289095, 0.042581521, -0.0154390447, 0.037517976, -0.0062590735, 0.0133742802, -0.0517385639, 0.0243560579, -0.0554753207, 0.0395570062, -0.0152186938, 0.0146744559, 0.0170089938, -0.0538465343, 0.0069782152, -0.0135095567, -0.0417288654, 0.019228261, -0.0211259462, 0.0128913298, 0.0447189473, -0.0127333831, -0.0314591974, -0.0056419265, -0.0799334273, 0.0009537588, -0.0316402242, 0.0090164421, 0.031048853, 0.0300731398, -0.0194709972, 0.0105994046, -0.0218131859, -0.050518211, 0.0218063444, 0.0510148667, -0.0020017705, -0.0327836983, -0.0002634402, -0.0578940362, -0.0479921214, -0.0309048295, 0.0673365667, 0.0330140106, 0.0154295005, -0.0317530893, -0.0192792136, -0.0117061855, -0.0023374648, 0.0135731697, -0.013032754, -0.0029061681, 0.0506686866, 0.005150835, 0.0430167131, 0.0423995294, -0.0076764086, 0.0618343912, -0.0026604428, -0.0632848218, -0.047824692, -0.0101466049, 0.0177785903, -0.0196981523, -0.0646486804, 0.0248811375, 0.0556462556, 0.0242322497, -0.0240363646, -0.0409356505, 0.0436449945, -0.0807190165, -0.0518456809, -0.0163034145, -0.0517614521, -0.0304343142, 0.01107952, -0.0498062037, -0.0673910528, 0.0388664752, -0.0103992606, 0.0368883684, -0.0379903838, 0.025136441, -0.0565214679, 0.0195485707, -0.0136270765, 0.0186490044, -0.0044790618, -0.0215788744, -0.0377809182, -0.0177376587, 0.0663024411, -0.0281436183, 0.0113974512, -0.0296995025, 0.0065279189, -0.0265385211, -0.0257385615, -0.0305718388, -0.0550644733, -0.0155361583, 0.0345908105, 0.0675310269, 0.003709578, -0.0101262368, -0.0053641521, -0.0124142608, 0.0057303663, -0.0048174658, 0.0069590677, 0.0081145912, -0.0005970132, 0.0122633418, -0.0050613186, 0.0685250089, 0.0202168692, 0.0134922536, 0.0264347699, 0.0287771448, 0.0471066982, 0.0342857279, 0.0116574792, 0.035295438, -0.0571488626, 0.007429969, 0.0107170157, 0.0554740131, -0.0398064293, 0.0387679413, 0.1084020361, 0.0180457328, -0.0674468055, 0.0220230147, 0.0039768219, -0.0095687611, 0.0395137593, -0.0249629561, -0.101620093, -0.0070146713, 0.0410147496, 0.0089952573, -0.072369203, -0.0544821434, 0.0036959283, -0.1384821683, 0.0129353479, 0.0031513127, -0.0092934938, -0.028120352, -0.0531258322, 0.0181244202, -0.040006239, 0.0361396335, -0.0094481539, -0.0060227602, -0.0072339168, 0.0080079623, -0.0717646182, -0.0644594282, 0.0304696169, -0.0718125552, 0.0698992535, 0.0381685644, 0.0320900939, -0.0247532669, 0.0113115488, 0.0552258193, -0.0320130438, -0.029769782, -0.020127004, 0.0425047949, -0.0424598344, -0.0150983641, -0.0462513417, 0.029344704, 0.006335387, 0.0239480734, -0.0070850765, 0.0499262176, 0.0480254181, -0.0293043721, -0.0717795193, -0.0152329924, 0.016833825, 0.1057793424, 0.0327442959, -0.0162443966, -0.0182437189, -0.0549920425, -0.0288938005, -0.0226630159, -0.0567018501, 0.0370959975, 0.0128471591, -0.0188957527, -0.0405763425, -0.0471968614, -0.0023217937, -0.0461839214, 0.0146898273, -0.027515484, 0.0125089753, -0.0285837092, -0.030944746, 0.0200130548, -0.0256324634, 0.048894152, -0.0091490885, -0.0141098099, -0.0426115207, 0.0131666148, -0.0323316455, -0.0048075197, -0.0623531193, -0.0619173162, 0.0386027694, 0.0057464568, 0.0150947059, 0.0230945572, -0.0110789305, -0.0786214545, 0.0610923283, 0.0476356708, -0.0395269245, 0.0256403238, 0.0194074456, -0.0321987607, 0.0323098078, 0.0273758471, -0.0507288426, -0.0008978205, 0.0189072248, 0.037938837, 0.0284732766, -0.017485369, 0.0060951356, 0.0254132878, 0.0429226719, -0.0320045017, 0.0138575071, -0.0531075485, -0.0410480388, -0.0248944201, -0.0639462471, -0.0101375785, -0.0078727473, 0.0213641096, 0.0363990329, -0.0484877005, 0.0167304873, -0.0642821863, 0.0137522472, -0.0565680377, 0.0767387152, 0.0041629178, -0.0129518304, 0.0020223064, 0.005514259, -0.0168505181, 0.0084594041, -0.0398320481, 0.0009394969, 0.0206674598, -0.0079148766, 0.0124463821, 0.0341562144, -0.0216426551, 0.0078052995, -0.0395622067, 0.0042833635, -0.0008396559, -0.0024501905, 0.0387677588, -0.0463940389, 0.0485830046, 0.0247275885, -0.0155962668, -0.004074221, -0.0192795061, -0.0031647638, -0.0148888277, 0.0294677578, 0.0018252227, -0.0252793208, 0.0210771859, 0.0719001591, 0.0260609966, 0.0686209053, -0.0291950423, -0.0279543251, 0.0060568783, -0.0438334793, 0.0282339882, 0.0005617496, -0.0328230783, -0.0318802856, -0.0980284289, -0.0629226118, -0.0439631678, 0.0073460448, 0.043518655, -0.0263470132, 0.0076743867, 0.0612366684, -0.0199891552, -0.0315795131, -0.0247347839, -0.0430643633, -0.0386060737, -0.0132836699, -0.0093173571, -6.20726551e-33, 0.0149428528, -0.0111485096, -0.0439267717, -0.031036485, -0.0184760857, 0.0183101352, 0.0035889808, 0.0060459073, -0.0367567465, 0.0270820558, 0.0030268659, 0.0176754482, 0.0142429285, 0.0044105258, 0.0248247553, -0.0153227514, 0.0462261662, -0.006836629, -0.0300548393, -0.0026825438, -0.0348064043, -0.001817997, 0.0436789915, -0.0421574712, 0.0917316377, 0.0216958318, -0.0030322124, 0.0078385528, -0.0051856632, 0.049895782, -0.0163288247, 0.1098558307, 0.0515537634, -0.0276483074, -0.0050130631, 0.0314735807, -0.0231751762, -0.013332665, 0.0529500209, 0.0154104503, 0.0233789422, 0.0062477463, 0.0478542857, 0.0324688219, -0.0786464885, -0.0316116475, 0.0418350138, -0.0012100125, 0.0254095588, 0.0127972495, -0.0441919342, 0.0458477996, -0.0384110883, 0.0264125727, -0.0167370178, 0.0047578989, 0.0218044221, 0.0627483651, -0.0293978844, 0.0078889551, -0.0090603763, -0.007479202, 0.0348610766, -0.0099521214, 0.013850728, 0.0675049871, 0.0363753736, 0.0560044348, -0.0343565084, -0.0502296239, 0.0235885214, -0.0182671249, 0.0375966318, 0.08948908, 0.0523607619, -0.0078241257, -0.0398261286, -0.0013376421, 0.023647964, 0.0266632587, 0.0333292782, -0.0094686709, -0.0584644675, -0.0521016978, -0.065650925, -0.0471000075, -0.0228554793, 0.0231917705, 0.043249581, 0.0124330698, -0.0227825399, 0.0059943283, 0.0131736388, -0.0731431693, -0.008316936, 0.0475522391, -0.0000252014, -0.0353791825, 0.0308683496, 0.0051008463, -0.0841322318, 0.0125609329, 0.020136483, 0.0384041406, 0.0190113187, -0.0238585174, 0.0054301615, 0.0051882989, -0.0524802357, 0.0105717974, -0.0224807002, 0.0077225557, -0.0011476835, 0.0302090235, 0.0371600166, 0.0058266385, 0.0030889751, -0.0126961088, 0.0379405655, 0.0118740294, -0.0319955274, 0.0007526618, -0.0248564743, 0.0229884237, -0.0399156064, -0.0208043121, -0.0180997737, -0.0072278436, 0.0585870668, -0.0217954777, -0.0223200563, -0.0541137606, 2.427e-7, 0.0409873538, 0.0480747819, -0.0051239901, 0.0347592458, 0.0105310669, 0.0266943946, 0.032788571, 0.0629746914, 0.0059653712, 0.014415158, -0.0233648308, 0.0113518098, 0.0135375187, 0.0168988071, -0.0455769971, -0.0043411581, -0.1103742868, 0.0293788221, -0.0298451502, -0.0081177438, 0.0177202132, 0.0534861274, 0.0276464187, -0.0041721063, -0.0307521243, -0.0288523529, 0.01790905, -0.041735284, 0.0124050332, 0.0078067309, 0.0196609031, 0.0294451788, 0.0460616946, 0.0201572515, 0.00214653, 0.0292596407, -0.0085747186, 0.0093985321, -0.0042889984, 0.019208584, -0.0226643365, -0.0372372344, -0.019899033, -0.0826980844, 0.0617346279, 0.0161666423, -0.040405415, -0.0809184834, -0.0175469425, -0.0173017681, 0.0639286786, -0.0074315025, -0.0134046543, -0.0006439672, 0.0348711945, 0.0153730866, -0.0178721026, -0.0677943677, -0.0421463288, -0.0385725871, -0.0205856245, -0.0573513806, 0.0092691034, 0.0399446413, -0.0041788658, -0.0244739782, 0.0394793525, 2.223921436e-34, 0.0344848298, -0.0001984572, 0.0363236889, -0.0336091369, 0.0464897268, 0.0314571038, -0.0113570513, -0.0259082243, -0.0076952484, -0.0544741265, 0.004988675 ]
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.093206495, 0.0357645079, 0.0270781163, 0.0088774357, -0.014885365, 0.005596715, -0.0422750115, -0.0439472198, -0.021304287, -0.0978336558, -0.022634292, -0.0295960922, 0.0060786228, -0.0092228511, 0.0244695097, -0.0468807667, 0.0446255282, -0.0179916732, 0.0128059741, -0.0011964034, 0.0189844538, 0.0379941165, 0.022936523, 0.0434587151, -0.0026557676, -0.026745392, 0.0168830976, -0.0036621231, 0.0063083707, -0.000587176, 0.0613605268, 0.0498639308, 0.0269474816, 0.065173164, 0.0000017776, -0.0448566824, -0.0152611127, -0.000027815, -0.0195159726, 0.0469249599, 0.0682858005, -0.0227497425, 0.0011983935, 0.0005104181, -0.0103615886, -0.0218933653, 0.0016929344, 0.0699562877, 0.111735329, 0.0836628899, 0.0276140366, -0.0419528335, 0.0102615105, -0.0113514168, -0.0306335278, -0.0033304431, 0.0229666065, 0.0451564565, -0.0116292965, 0.0352644287, -0.0034602471, 0.0019832605, 0.0219802037, -0.0649867803, 0.0508093536, -0.0065593165, -0.0519889519, 0.0060117659, -0.0046725911, 0.0585650131, 0.0256664269, -0.0301411208, -0.0290499311, -0.000925908, 0.0195752736, -0.0321466438, -0.0242771581, 0.0415120646, -0.0328621082, 0.0124133322, -0.0002892666, -0.0418570302, 0.0186377782, 0.0475853346, -0.0006889055, 0.025485605, -0.01437217, -0.0259581152, -0.0000755471, 0.0390973166, -0.029170746, -0.0475896671, -0.018124314, 0.0267564673, -0.0304981954, -0.0129482253, -0.0582866184, -0.0110760508, 0.0289601274, -0.0219190232, 0.0308521409, -0.0279639512, -0.0197624266, 0.0492623076, -0.0126776025, 0.0321673676, 0.0132926898, 0.001386615, -0.0489412174, -0.0081580607, -0.048197072, -0.003984692, -0.0195590369, 0.0396220051, -0.0249329973, 0.0100292433, -0.0385341272, 0.014146572, -0.0207626242, 0.0384647883, -0.0163649898, 0.0144398343, -0.021758128, -0.0053176787, -0.0648318008, 0.0610457435, -0.017128922, 0.0135236392, -0.0012231206, -0.0525360033, -0.0134892259, 0.0299160555, -0.0130542889, 0.0060819471, 0.0001532598, -0.0170437302, -0.027711099, -0.0096509503, -0.0575593747, -0.0365086421, -0.0294105969, -0.067201212, -0.0081578866, -0.0518994704, -0.0262577347, -0.027181305, -0.0189195108, -0.0267177373, 0.0120437378, -0.006705421, -0.0490688831, 0.0576812103, -0.0353598483, -0.0164442826, 0.0337991826, 0.0027961447, 0.0218039621, 0.0457233712, 0.0261510424, -0.0194408502, 0.0596796982, 0.0167250801, 0.0208871868, -0.0070805647, -0.0009986701, 0.0257857535, 0.018534638, 0.0007066253, -0.0377946198, 0.0219658818, 0.0495033488, 0.0313143283, -0.036355447, 0.0075635375, 0.0725011304, 0.001934754, 0.0155818565, 0.0290731937, 0.0380320475, 0.0237524174, 0.0266863964, 0.0536762699, -0.0517035387, -0.0139408177, -0.0044571897, 0.0250533056, 0.0454780944, -0.0086331759, -0.0244914759, -0.0977537185, -0.010296125, -0.0022807654, -0.0063228845, -0.0147847123, 0.0401677266, 0.0438606106, -0.0320718065, 0.0266184174, 0.0294323843, -0.0399351195, 0.0198829528, -0.0227523632, 0.0555895194, 0.0761161745, 0.0630307123, -0.0356634818, -0.0742852762, -0.0368238725, 0.0089409025, 0.0330635533, 0.0819356292, -0.041893702, -0.0382963829, -0.0242749024, -0.0292994808, -0.0469807312, 0.0460436568, -0.0069500059, 0.021693714, -0.05663177, 0.042135518, -0.0125501305, -0.0763682425, 0.0293155033, 0.0351059996, -0.0237868167, 0.0111758206, -0.0145709701, 0.0084970174, 0.0207905676, -0.0246842131, 0.0054035061, -0.0036007862, -0.0030037889, -0.0199482795, -0.0199701749, 0.0063411542, -0.0230499692, 0.052252952, -0.004004349, -0.0196453612, 0.0120112775, -0.0781292766, -0.0208610073, 0.0011692927, -0.0320810378, -0.0302282553, -0.0453455895, 0.045253329, -0.0129571408, -0.0189763848, -0.0462737344, 0.0429329015, 0.0097702462, -0.0011132049, -0.014435133, -0.0274854004, 0.0049466011, -0.0310389455, -0.0350688547, -0.007822888, 0.0299431421, 0.0356985368, 0.0516488291, 0.0395533927, -0.0411232151, -0.0213955808, -0.084779337, -0.0066996142, -0.0515907854, 0.0106774215, 0.0231585521, -0.0191527884, -0.0010428649, -0.025694266, 0.0046236487, -0.020436082, 0.0384760499, 0.0072925556, 0.0604019761, 0.0207641535, 0.0168908872, -0.0499585569, 0.0030873069, -0.0135094412, 0.023075534, 0.0238591731, -0.0040885992, -0.0860488489, 0.0014490244, -0.0535885431, 0.0346537754, 0.0045165964, 0.0018480805, 0.0141116511, 0.0146472324, 0.026946472, 0.0641104132, 0.0142904138, 0.0269618668, 0.043315772, 0.0097198524, -0.0332730599, 0.016445091, -0.0141020343, -0.0269470382, -0.0129884025, 0.006582268, 0.0415600091, 0.0653486624, -0.0146133462, -0.027534768, -0.0248913094, 0.0565986298, -0.0393642709, -0.0100481529, -0.0007947712, -0.0477208756, 0.0172863472, 0.0267342813, -0.0450174734, -0.0306476709, 0.091977872, -0.0267030019, 0.0218780339, -0.0427818261, -0.0078651179, -0.0456946045, 0.022796724, -0.0139811533, -0.0114938235, -0.0103835771, 0.0042331368, -0.0252567455, -0.0467053987, 0.0558468699, -0.0219768472, 0.115683265, -0.094336167, 0.0151199298, -0.0186626129, -0.0672649816, -0.0377603695, -0.0470548011, -0.0387467742, 0.0020593021, -0.0172573123, -0.0081816837, -0.0426478051, -0.0062711281, 0.0126089733, 0.0674034804, -0.0455475897, -0.0288830269, -0.0056183273, 0.0038429708, 0.0520218909, 0.0374182053, 0.0502576083, -0.0232230667, 0.0290978234, 0.0438783392, -0.0076093841, 0.0104007507, -0.0409032963, -0.0096030189, -0.005911171, -0.0496193916, -0.0180867221, -0.0258946512, 0.0674738958, -0.0808739588, -0.0277831461, 0.1129133105, 0.0166766196, 0.0068623633, -0.0104169836, -0.0241821408, 0.0177387875, 0.0171493478, 0.0329986624, -0.065959774, -0.0338217393, -0.0158870369, 0.0505249836, 0.0171836782, -0.0100267781, -0.0086742844, -0.1278422028, 0.0593144186, 0.0191978104, -0.0079424148, -0.0426878333, -0.0018829181, 0.0110553633, 0.0034597546, 0.0178784821, 0.0407882184, -0.0210739318, -0.0045708856, 0.0263793711, -0.0271953754, -0.034071818, 0.0125043588, -0.042335894, 0.0009700115, 0.0396267921, 0.023094397, 0.0310501512, 0.0056204405, 0.0661374927, -0.0194242075, 0.0067558778, -0.0130892163, 0.044528529, -0.0071985763, 0.0175274666, -0.0095544066, 0.022577472, 0.0165314041, 0.0147985732, -0.0060572037, 0.0387787335, -0.0201395098, -0.0068780179, -0.02390939, 0.0341082402, -0.0364891142, 0.052565027, 0.0206611101, -0.016489882, -0.0381510928, -0.023094235, -0.0240545534, -0.0371213481, -0.0292611495, 0.0077119735, -0.0220806431, 0.0365447439, -0.0840863213, -0.0495555736, -0.0046502198, -0.022748908, 0.0146852611, -0.0322500132, 0.0057039433, -0.0261146054, -0.0020154887, 0.0293499958, -0.0409882516, 0.008443716, -0.0284824949, -0.0003160905, 0.032951612, -0.0091500534, -0.017036004, 0.0165983569, -0.087949492, -0.0375625975, -0.0316917114, 0.0604843199, 0.0199266355, 0.0870457441, -0.0278889276, -0.0556804277, 0.0178082082, 0.0327755101, -0.0419457331, 0.0438006073, 0.0294382554, 0.0013657057, -0.0310991071, 0.0370234773, -0.051044926, 0.0053469967, 0.0150640076, 0.0224687234, -0.0079404768, -0.0616801195, 0.0309249684, 0.0158272907, 0.0329143107, 0.0074792993, 0.0153390039, -0.0358033814, 0.024551997, 0.0159462579, -0.0787258446, -0.0171664767, 0.0393242277, -0.0110646626, -0.0396008082, -0.034056019, 0.0328180939, -0.0319624171, 0.1026287451, -0.0678532049, -0.0101347025, 0.0350427739, -0.0287608746, -0.0301467311, -0.0146327801, -0.0508109517, -0.0129259825, 0.0020498743, 0.0399830937, 0.0086097419, 0.0359071717, 0.0222762655, 0.0097055407, -0.0116047384, -0.0049606366, -0.0805517584, 0.0033866796, -0.0542145073, 0.0228082072, 0.0383302681, -0.0050449995, 0.0489057191, -0.0128547177, -0.0313491598, -0.0435302332, 0.0253853593, 0.024790246, -0.0139922593, 0.0126975439, 0.0276981276, 0.0014865225, 0.020318903, 0.043143753, -0.0019924887, 0.0449745692, -0.0037495263, -0.0353947133, -0.0548826531, -0.0737705901, -0.0083446633, -0.0024367133, 0.0122134192, 0.0024038786, -0.0610978939, -0.0318993814, 0.0528433658, 0.0229528751, 0.0096375141, -0.0142970225, 0.0056152302, 0.0564772114, -0.0140513955, -0.0566343181, -0.0607557148, -0.001088306, 0.0043135369, 0.0128673064, -0.0565842874, -5.77258974e-33, -0.0477927253, -0.0230409, 0.0021923087, -0.0058597792, -0.0639682189, 0.0200203396, -0.0231126025, -0.0134988287, 0.0069778902, 0.0372855589, -0.0155260405, 0.045950409, -0.0042413296, 0.0104306554, -0.0070598042, -0.0027944888, 0.0963301733, 0.0195003543, -0.0532813556, 0.0164891519, 0.0254806709, -0.0128829498, 0.0707833394, -0.0354919955, 0.0714418516, -0.0051878411, -0.0374388881, 0.0501473136, -0.0156500954, 0.0555365048, 0.0108866189, 0.0553751104, 0.032449387, -0.0540401302, -0.0160597712, -0.0191980526, -0.0787650198, -0.0091797067, 0.0215051863, -0.0020663955, -0.0279724151, -0.0140247643, 0.0720452294, 0.0027397943, -0.011805323, -0.0234375466, 0.0390141532, -0.0471805744, -0.020239735, -0.0405309722, -0.0569843315, 0.0345075801, 0.000695553, -0.0196740683, -0.0573645122, 0.0423561111, 0.0084753716, 0.010265924, -0.0590671301, -0.0001675895, 0.0760974362, 0.0396761782, 0.0288540665, -0.0038036488, -0.0252284147, 0.0653647333, -0.063583605, 0.0263694916, -0.0594157055, -0.0201453734, -0.0012504198, -0.0006937375, 0.0423873812, 0.0812809616, 0.0004069437, 0.0388958827, -0.0490396358, 0.0267908238, -0.0121479062, 0.0888273269, 0.0129649965, -0.0252831113, 0.0028993287, -0.0139807956, -0.0805483013, 0.0160096902, -0.0115548316, 0.0449739285, 0.0043487428, 0.0421427265, -0.0431503356, 0.0072378796, -0.0057554976, -0.0249739755, 0.0136140492, 0.0063966, -0.0303516183, 0.0039582052, 0.0099359313, -0.0272327159, -0.0063110935, 0.0188750513, 0.0187590402, -0.0165835153, -0.0027757762, -0.0091177979, 0.0795103088, -0.0025297347, -0.062547937, 0.0449587591, -0.0034178148, 0.0460087322, -0.0357420743, 0.0370811112, 0.032346189, 0.0182511099, -0.0192552414, 0.0664944053, 0.0127477711, 0.0272241626, -0.0123120826, 0.0303307232, 0.0259296652, 0.0263552014, -0.0135290548, 0.0356594957, 0.0171631519, 0.0155102815, -0.0074491901, -0.0576850586, -0.0047031315, 0.0120051522, 2.402e-7, 0.037955001, 0.0538413376, 0.0524253696, -0.0166679025, 0.0173143838, 0.0397225395, 0.0085858656, -0.0048835706, 0.0107120732, -0.0192653164, 0.0309247542, 0.0287490692, 0.0650948361, 0.0081213899, -0.0714659691, 0.0080172857, -0.0813533589, -0.0053974795, -0.0317100957, -0.0594461225, 0.0366679616, 0.0841630399, 0.0045043495, -0.0352990665, -0.0019229947, -0.0607072748, 0.0839420781, 0.0090249032, -0.0382079929, 0.0490232892, 0.0636209175, 0.0167329852, 0.0067104199, 0.0112067545, -0.0014034677, 0.0019244588, -0.0095945271, 0.05340413, 0.0058976151, 0.0351249836, -0.019712504, 0.0004220525, 0.0255157575, -0.0267976243, 0.0449819081, -0.0353210084, 0.0111065134, -0.0524403863, 0.0035925524, -0.009249771, 0.0292946678, -0.0291354209, -0.0198204853, 0.0402765647, 0.0026352343, 0.016564047, -0.0062032114, -0.067427963, -0.0335519798, 0.0203226581, -0.0050753932, -0.0396008529, 0.0195857491, -0.0037593415, 0.0079729008, -0.0724632367, 0.0211859457, 2.34397798e-34, 0.0876350626, -0.0225120317, 0.0120101394, -0.0111078294, 0.0547993183, 0.0358816795, -0.0244623087, -0.0266931038, 0.0289267022, -0.0468990579, 0.0016642095 ]
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.008808706, 0.102618292, -0.0179086421, 0.0175101254, -0.0270183086, -0.0255466532, 0.0130077824, -0.0137660056, 0.015386763, -0.0150920572, 0.0290943384, 0.0079806102, 0.0223498922, 0.0510909595, 0.0706537887, 0.0335779153, 0.0392537005, -0.0829263702, 0.000594238, 0.0126567958, -0.0156150274, 0.0098248664, -0.0148165207, 0.0375402384, 0.0127433231, -0.027921848, -0.0324188434, 0.0321954452, 0.0053331996, -0.0237475429, 0.0067264512, 0.0329900607, -0.02999877, -0.0155208297, 0.0000024328, -0.0394593962, -0.0147011615, 0.0453152396, -0.0040999199, 0.0456605665, -0.0239617955, -0.0355236679, -0.0142456824, 0.0439788029, -0.00512903, 0.0229294207, 0.0438437127, -0.0045028278, 0.0815348029, 0.0610941984, 0.0206505936, 0.0071689924, 0.0430754572, 0.0111479135, 0.0390080549, -0.0473613106, 0.0009238645, 0.0290667638, -0.0158971772, 0.0349948891, 0.0146509586, -0.0095538469, 0.0401091278, -0.0259818193, 0.0194932073, 0.0364669263, -0.0453708023, -0.0315949954, -0.0060725966, 0.0155552058, -0.0419496708, -0.0305854846, -0.000904456, -0.0089851711, -0.0124713955, -0.0049345433, 0.0201614611, 0.047369767, 0.0221925136, -0.0000720545, 0.0251228418, -0.0262901746, 0.0291323345, -0.0005499739, 0.0100916428, 0.0514019765, 0.0036823121, -0.0017993626, -0.0281421989, -0.0585915521, 0.0051458101, -0.0745360628, -0.0237104632, 0.0456899144, 0.034532316, 0.0061556869, -0.0435631126, -0.0017613667, 0.0676803961, -0.0349545814, -0.0060364939, 0.0229261424, -0.030332787, -0.0185901187, -0.0338991955, 0.0431807972, 0.004156786, 0.0174519252, 0.0358520448, 0.0326567367, -0.0220598243, 0.0067460644, 0.0123143559, 0.0265852418, 0.0135348747, 0.0531080887, -0.0210654903, 0.023845993, -0.0280275065, 0.1051737219, -0.0314505063, -0.0161225256, -0.0037861639, 0.0112499911, 0.0355427377, -0.0717921481, -0.0236111116, -0.0190022253, -0.018806316, -0.0954385251, -0.0013373939, 0.007669454, -0.0668831095, -0.015608903, -0.0002006895, 0.105320327, 0.0442319736, 0.0305376351, -0.0670962781, -0.0849143192, -0.031633921, 0.0137194758, -0.0117039457, -0.0950277001, -0.070387423, -0.0005179641, -0.0010736167, -0.1163633838, 0.0186841581, -0.0076647196, -0.0337750502, 0.0375822559, -0.0700757354, 0.0285583455, 0.0054054572, 0.0432771891, 0.0057052583, -0.0062560448, 0.0445069261, 0.0303218458, 0.0374998935, -0.0455738381, 0.1054026559, -0.007257652, -0.0149425473, 0.0438433737, 0.0093417773, 0.0307673477, 0.0381908268, -0.0386540927, -0.008670155, 0.0546873026, 0.0074329111, -0.0180929918, 0.0487296395, 0.0164345223, -0.0204217192, 0.0493090302, 0.0157081913, 0.0164961834, 0.0134819625, -0.0498864725, -0.0621522181, 0.0439304262, -0.0493391417, -0.0259135999, -0.0468400568, 0.0426220782, -0.0034893288, -0.027330555, -0.0164137501, -0.040543519, -0.0163280908, -0.0001872089, 0.0037260093, 0.0184020493, 0.0083700214, 0.0058530527, 0.0124613857, -0.0681482926, -0.0446468405, -0.0818032399, 0.0129656596, 0.0620671511, 0.0325306542, -0.029201556, -0.0447805077, -0.0238912217, -0.0152171757, -0.044743713, 0.0182297397, 0.0150661245, 0.0293967575, -0.0403994806, -0.0031000343, -0.0585957505, 0.0206715725, 0.0226219855, 0.0282141324, -0.0243350845, 0.0254348591, 0.0077277082, -0.0685713962, 0.0403935574, -0.0147694545, -0.0071716546, 0.0295136999, -0.0200574026, -0.0089528002, -0.0074036741, -0.0277876128, 0.0466609783, 0.0336764194, 0.0266563669, -0.0134146661, -0.017965503, -0.0037530195, 0.0480990484, 0.0219604149, -0.0413109921, -0.0050097662, 0.0222329739, -0.0511724278, 0.0143811796, 0.0687135905, -0.0389200039, -0.0314666778, 0.0043746806, 0.0211797711, -0.0186111964, -0.0081555508, -0.0143899471, 0.0085261073, 0.0121057695, -0.0142309172, -0.0277554821, 0.0749924332, 0.0207197405, -0.012423425, -0.0247027017, 0.0049712849, -0.0580871999, 0.0424361937, 0.0129955728, 0.0564478934, -0.0204742346, -0.0238152556, -0.0307581332, -0.0030729983, -0.0125560453, 0.0143858036, 0.031745363, -0.0012701475, -0.0242009666, -0.0016297728, -0.0186912771, -0.0399899408, -0.0300187543, -0.0041761864, 0.0102368016, -0.0379516259, -0.0518316925, -0.0254845973, 0.0098668085, -0.0273638014, 0.0550560914, -0.0078884084, 0.0293928627, -0.0417714603, 0.0823989511, 0.0165327322, -0.00653345, -0.0072389799, -0.0673394725, -0.0116368327, -0.003627897, 0.0109648025, 0.0108063631, 0.0146275163, 0.0067625153, 0.0793730393, 0.019949019, -0.0134127131, -0.0144021567, 0.0638670698, -0.0768079683, -0.0132346861, -0.0534509085, 0.0257086623, 0.0307971537, 0.010867252, -0.0185599327, -0.0458013527, 0.023770459, 0.005247938, -0.0076009701, 0.0155164031, -0.0618782416, 0.0129025709, 0.062020313, -0.0350301005, -0.0995620638, 0.0268354565, -0.0483213998, 0.0168960989, -0.0152957067, -0.0519209802, -0.0319442488, 0.0405791402, -0.0202483609, 0.0241357516, 0.0242264718, -0.0074716597, -0.040922299, -0.0354369245, -0.0107053658, -0.0198557749, 0.0227784999, -0.044180084, -0.0380249619, 0.005817682, -0.0228358265, -0.0356125347, -0.0188917592, -0.0301504303, -0.0077968603, 0.0044594235, -0.0015624799, 0.0469574407, -0.0344346203, 0.0444450043, -0.000606178, 0.022138577, -0.0375839658, -0.0099323913, -0.0370833874, -0.0211026724, -0.0978627056, -0.0007885906, -0.0161752962, 0.0264471471, 0.0433994569, 0.0647676289, 0.0784794316, -0.0917122066, 0.0011709414, -0.0076287691, -0.0283083804, -0.0016487167, 0.0680977404, 0.0364618115, -0.0191911887, -0.0272047706, 0.0447117649, 0.0207101181, -0.0295435414, 0.0380285904, -0.0150941024, 0.013500018, 0.0489062071, 0.0265818629, -0.0809279904, 0.0053984504, 0.0270614419, 0.0500661992, -0.0196230412, -0.0099913087, 0.0042876089, -0.0920630544, 0.0442368537, 0.0159336776, -0.0149784461, -0.0550201796, -0.0567901731, -0.0119568938, -0.0137019251, -0.0315407068, 0.0330552012, 0.00808198, 0.01759791, 0.0027965985, -0.040230915, -0.0225949381, 0.0359259993, -0.0398588218, 0.0326571055, 0.0965340659, 0.0068350662, -0.0111600887, 0.00817551, 0.0422935672, -0.00508036, 0.0040126992, 0.0228776745, 0.0424574651, 0.0185712352, -0.0112579465, 0.0647235736, 0.0510826819, -0.0573216602, -0.0497954562, 0.0688611194, 0.0003942141, -0.0263253432, -0.0000440695, -0.0358617455, -0.0113736028, 0.0261523575, 0.0376393422, 0.0444404855, -0.0081902426, -0.0177082065, -0.0529949963, 0.0349160209, -0.0566045269, -0.0103411367, 0.0033729167, 0.0214279983, -0.0341794193, -0.041051738, -0.0100997984, -0.0371152908, -0.0109117916, 0.05537536, -0.0716127381, 0.006997284, 0.0282817688, -0.0362483934, -0.0017187297, -0.0474261045, 0.0370617434, -0.0127639072, 0.0001084186, -0.0149315335, -0.0259892493, -0.0207621418, 0.0020716786, -0.0581343472, -0.0480067842, -0.0159592908, 0.0928769857, 0.0202276595, -0.029365601, -0.042992387, -0.0621439442, -0.0023210195, 0.0079494873, -0.0638628379, 0.0055495533, 0.0429532863, -0.0302035958, 0.048312474, -0.0306379963, -0.0486022383, -0.0204792526, 0.0566301346, -0.0335766263, -0.0134011973, 0.0042359727, 0.009874695, 0.0572740622, -0.0028487013, 0.0115470486, 0.022144584, 0.0238652006, 0.0029762469, 0.0057722386, -0.0120533453, -0.0117012495, 0.0405016318, 0.0169699322, -0.0145845655, 0.0542099178, -0.0009105208, -0.0156390108, 0.0315780006, 0.0262844693, 0.0709935203, 0.0327184908, 0.0833303854, 0.0575766899, -0.0048742006, -0.0155899972, 0.0306666363, -0.0290628634, 0.0181231964, 0.014301802, 0.0160777885, -0.0330292732, 0.0342220739, 0.0017209324, 0.0344469734, -0.0525013991, -0.0738979131, 0.0303657148, 0.0265996903, 0.0136073539, 0.0658841953, 0.0148455715, -0.0145391449, 0.0111033656, -0.0633726493, 0.0499464087, -0.0000023055, -0.0589053594, -0.0101912478, 0.0000901378, -0.0237781871, -0.0203243233, 0.1032805815, -0.0065688649, 0.042394273, -0.0360548422, -0.0218375493, -0.0193729494, 0.0114773884, 0.0390486643, 0.0051679164, -0.0338947773, -0.065213725, -0.0307648797, -0.0973004624, 0.0004437611, 0.0048258668, 0.0656909645, 0.0459734537, 0.0045545739, 0.0735270754, 0.0012822793, 0.0258953031, -0.0688116997, -0.02046616, 0.0135275163, -0.0378193147, -0.0197976399, -5.75675179e-33, 0.0264897048, -0.0265257228, -0.0295619164, 0.0115559278, 0.0398600474, 0.0142558971, -0.0613421649, 0.0057272892, -0.028024178, -0.0127819376, 0.0375289731, 0.030144427, -0.0072848443, -0.0142766032, 0.0462181568, 0.0138434824, 0.0082893865, 0.0261368956, -0.0414800532, 0.0477928333, -0.0346135832, -0.0052233827, -0.0170412175, -0.0774508491, 0.0222582463, -0.0087617636, -0.0210488215, -0.0403279476, -0.0131157041, 0.0487325378, 0.023683466, 0.0175586287, -0.0072443578, -0.0150663024, -0.0097083403, -0.0176594704, 0.022210557, -0.0273976959, -0.0335351937, -0.0422013141, 0.0237002373, -0.1222729608, 0.0456670336, -0.0001912363, 0.00144469, -0.0147904782, 0.0073701907, -0.0120098144, 0.0421423279, -0.0514287092, -0.0005765239, 0.0317531228, -0.0879381597, 0.0086486051, -0.0102871591, 0.0100674871, 0.0093489308, 0.0213759616, 0.0464287736, 0.0306425542, 0.0434692949, -0.0004073421, 0.0421485417, -0.0309452675, -0.0435676873, 0.0047553275, 0.0202876087, 0.0012067498, -0.0078489967, 0.0309405867, 0.0089329844, 0.057233952, 0.0574491471, 0.0650061816, 0.00046279, -0.0270779803, -0.0538950041, 0.0285565555, -0.0343546085, 0.0413567796, 0.019925151, 0.0068511157, -0.065417707, 0.0173182953, -0.0427235626, -0.0455038697, -0.0238033105, -0.0209828038, 0.013680079, -0.0199651346, -0.0460508205, 0.0082833013, -0.0202037226, -0.0442062765, 0.0360243879, 0.0614248477, -0.0257061757, -0.0150801968, -0.0323273316, 0.0217762142, 0.0120411012, -0.0107927658, 0.0091958502, -0.0183053799, 0.075681597, 0.0105820829, 0.0237378571, 0.0283478778, -0.0608417802, -0.0034266312, -0.0377952643, 0.0135063976, 0.0113110859, 0.0386419483, -0.0110076452, -0.0080417795, 0.0192160662, 0.0025838104, 0.0175837446, 0.0020560203, -0.0476444848, 0.0289557837, -0.0104373125, 0.033899948, -0.0003213039, -0.0263977014, -0.0162006933, 0.0289999042, 0.0421662852, -0.0305256993, -0.0478088856, 0.001414676, 3.123e-7, 0.0063193971, 0.0219641794, 0.0021197372, 0.0205493942, 0.0177405924, 0.0607184619, -0.0331633687, 0.0255528223, 0.0088598179, -0.0075800116, -0.0447467864, 0.0176249482, 0.0642181262, 0.0427242033, 0.0304826275, 0.0026131847, -0.0444949456, 0.0045062867, -0.0675226375, 0.0277589299, 0.0467814803, 0.0515168235, -0.0034196689, -0.0183344521, -0.0049302643, -0.0415910967, -0.0168390311, -0.0163324326, 0.0293592531, 0.0394391865, -0.0496501364, 0.0839015096, 0.0220875647, 0.00293462, -0.0456160158, -0.0530482344, -0.0435919054, 0.060392797, 0.0236044507, 0.0356660523, 0.0061690486, -0.0133256102, -0.0018628524, -0.0700284839, 0.0502019301, 0.0159985516, -0.0151880514, -0.0080355229, -0.022137152, -0.0168587863, 0.0380932465, -0.0323433913, 0.0144020505, -0.0090386737, -0.0260717273, -0.0034307903, -0.0040815119, -0.0270431563, -0.0441180654, -0.0144638419, -0.0075949882, -0.0198943168, 0.0019549883, 0.0480027497, 0.0229099579, -0.0114438767, 0.0451225042, 2.852637574e-34, -0.0067346338, -0.0707493201, 0.0006669427, 0.0053949738, 0.0521267653, -0.0068403282, -0.0144662857, 0.0173993651, -0.0361660272, 0.0530293137, -0.0339667574 ]
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.0392106399, 0.0175329968, 0.0470881537, -0.0137627143, -0.0077207596, 0.0008019424, 0.0241955873, 0.0111811291, -0.0219109915, -0.0367901102, -0.080345206, 0.0044623078, 0.0248978212, 0.0345440395, 0.0493947566, -0.0253867339, 0.0304767899, 0.0001000122, 0.0138673522, 0.0404139683, 0.0579101704, -0.0208967198, -0.0148428036, 0.0512497276, -0.0677380338, -0.0083783353, 0.0236276761, -0.0101961922, 0.0334830768, -0.0494017564, 0.0065172128, 0.0251514278, 0.019185584, 0.0045352029, 0.0000020285, 0.0065199849, -0.0477396287, 0.0378859267, -0.0166062359, -0.0144396285, 0.0766287446, -0.0214544274, -0.0163305197, -0.0010076695, 0.0026549597, -0.0506893247, 0.0672953948, 0.0992734581, 0.0893954039, 0.024358714, -0.0438207723, -0.0311726909, 0.0176324267, -0.0560967177, 0.0262120832, -0.0693534091, 0.0223288834, -0.0142808044, -0.0219018273, -0.0216290206, -0.0034964057, 0.0515221097, -0.0016993422, -0.0399877615, 0.0134036429, 0.0329339243, -0.052112639, -0.0315125547, -0.0048734345, 0.0734227747, 0.0247161556, 0.0227179695, -0.0141370092, 0.0161915421, 0.0054823775, -0.0042363713, -0.0244830977, 0.0104591502, 0.0153730242, 0.0225089919, -0.0447004661, 0.0547398068, -0.0104776174, -0.0064110099, 0.0368642285, 0.0051232902, 0.0230069589, -0.0102134394, 0.0192845855, 0.0298461076, -0.055675257, -0.0124059636, 0.0377341732, 0.0006726506, 0.0475661494, 0.0077564078, -0.0502796061, -0.014742991, -0.000417554, -0.0052425996, 0.0370091051, -0.0327270068, -0.0784747973, 0.0836568624, -0.054866869, 0.0457721204, -0.034899611, 0.0360180065, -0.011953909, -0.0205144826, -0.0503809378, 0.0011088673, -0.0478551388, 0.0137742786, -0.0328553766, -0.0268545393, -0.0468201414, -0.022897521, -0.0406383015, -0.0184852649, 0.0075551132, 0.0243402142, -0.0522804074, 0.0137007292, 0.0117592011, 0.0126436194, -0.0236838385, -0.0022682576, -0.0129407439, -0.0636599064, -0.0216447935, 0.0583933815, 0.0098902201, -0.0321821943, -0.0048865112, 0.0544255897, -0.0429011807, -0.0620904826, -0.0249359794, -0.0451087765, -0.0891233087, -0.0460681953, 0.0536934584, -0.0104857665, 0.0032520874, -0.0170580298, -0.0019330488, -0.046686314, 0.0013363509, -0.0014326407, -0.0172581822, 0.0647113472, 0.0101481518, -0.0537796095, -0.0100581069, 0.025264075, 0.0275530927, 0.0374178216, 0.0354072973, 0.0019537492, 0.0127635198, 0.0636799783, 0.0089769755, 0.0419409275, 0.0130402632, 0.0101988539, -0.0577570014, -0.0206734836, 0.0238323025, -0.0140604423, 0.0212721787, 0.0462840684, -0.0257314108, -0.0183505602, 0.0215888433, -0.0065652272, -0.0517330281, 0.0133498367, 0.0227554236, 0.018486876, -0.0223270487, 0.0020917049, -0.0366813354, 0.0327078849, 0.014943867, 0.0162085332, 0.0256927777, -0.023164345, -0.0380175859, -0.008239151, 0.0259910189, -0.0083800172, -0.0102389911, -0.0105907507, 0.0403530858, 0.0388428755, -0.0426298827, 0.0654879063, 0.0052794223, -0.0483259, -0.0292167552, -0.0284177382, 0.0138510522, -0.0368984789, 0.019742284, -0.050740771, -0.0380062722, -0.0042989342, 0.0562166609, 0.0464519858, -0.0201920886, 0.0007204908, 0.0052000135, -0.0448830873, -0.0537857637, -0.0325031877, -0.0059114704, -0.0209995266, -0.0177657343, -0.0168060213, 0.0280315541, -0.0393907316, 0.0318233334, 0.056233786, 0.0535012968, -0.0192624461, -0.0348044932, 0.0065184678, 0.0174015723, -0.0062455297, -0.0335333347, 0.0121753039, 0.027271552, -0.0266676582, 0.0458937921, 0.0112044085, -0.0578433797, -0.054073479, 0.0374127664, -0.0442289114, -0.0190187115, 0.0095751258, -0.0272992719, -0.0393564031, -0.0022035339, -0.0394289121, 0.0064604632, -0.0426364131, 0.0165868998, 0.0112045957, 0.0200009942, -0.0294879787, 0.0332321934, 0.0029705337, -0.0258759931, 0.0132569121, -0.0041445973, 0.0132206846, 0.0000298766, -0.0252900794, -0.0478369817, -0.0319982357, -0.0518117584, 0.0094862347, 0.0138955452, -0.0627530217, -0.0152508281, -0.0313465334, -0.0265847128, -0.023055844, 0.0091546187, -0.0057493798, -0.0095262323, 0.0184356626, -0.0499131158, -0.0255029853, 0.0356791355, -0.002482313, 0.0026380587, 0.0237871539, 0.0318828672, 0.011257804, -0.0485030897, -0.0080230236, 0.0129592121, 0.0518581569, 0.0437405705, -0.0697659329, -0.0192537811, 0.0166396946, -0.0124942018, 0.0384381339, 0.0065991734, -0.001251429, 0.0198389012, 0.0301723015, 0.0322937816, 0.0515385345, -0.0102014653, -0.0206464678, -0.0155653683, -0.0516024269, -0.0049941875, 0.0266012494, 0.0151099423, -0.032127317, -0.0022315623, -0.0126583735, -0.0160566457, 0.063406691, -0.0444776155, 0.03413276, -0.028059002, -0.0198458824, 0.0056207841, -0.0411582999, -0.0046894578, 0.0298105199, -0.010038211, -0.0321304388, -0.0553262047, -0.006874321, 0.0375363678, -0.0668253452, -0.0586575903, -0.0187070444, 0.0123063261, -0.0108192777, 0.0126517052, 0.0052835681, -0.0030285178, 0.0717738122, -0.0107164197, -0.0351189859, -0.0320654847, -0.0148959486, -0.0030091356, 0.0344240107, 0.0186000038, 0.0316879265, -0.0302722473, -0.0126771545, -0.0343306139, -0.0246188454, -0.0407339297, 0.0149222929, -0.0253824405, 0.0041268878, -0.0594212674, 0.0466496982, 0.0667927414, 0.0708476529, -0.0153044006, -0.0066935536, -0.0274854079, 0.0426764153, 0.0632721186, 0.0327096768, -0.0350528099, -0.0101835271, -0.0178703573, 0.054133527, 0.0471050777, -0.004431277, -0.0167208463, 0.001722694, 0.0195287447, 0.0211587232, -0.0013862621, 0.0164059717, 0.0529083833, -0.0596356541, -0.0499702655, 0.0760574266, 0.0067784889, -0.0501913875, -0.0507984459, -0.0072032241, 0.02795415, 0.0383213833, 0.0036550665, -0.0521508344, -0.0876132846, -0.0001203906, 0.023269875, 0.0290384311, 0.0005185917, -0.0084530935, -0.0847570151, 0.0420970917, 0.0004968227, -0.0464828983, -0.0139071224, -0.0188569501, 0.0329195522, -0.0172629301, -0.0242306236, -0.0121149514, -0.0120861148, -0.0052519413, 0.0137821883, 0.0085208379, -0.0106556863, 0.0000481792, -0.0334858038, -0.0197238419, 0.0574355237, 0.0347187594, 0.0130070029, -0.0413936079, 0.0257219896, -0.0418091789, -0.0112969987, 0.0001588878, 0.0940617919, -0.0378385931, -0.028064752, -0.0275251139, 0.0041263169, -0.0029686741, -0.0319665521, -0.024696907, 0.0526232682, 0.0177726801, 0.0505281612, -0.0313226916, 0.0427051373, -0.0236291457, 0.0152910613, 0.0174776018, -0.0242239237, -0.0157472566, 0.0117520187, 0.0541510768, -0.0267557614, 0.0023509362, 0.0132090813, -0.0649985895, -0.03020739, -0.0654958189, 0.0024190515, 0.0419863462, 0.0504914187, -0.0040072594, -0.0344408229, 0.02050942, -0.0017681724, -0.0499679074, 0.0444312468, -0.0604593344, 0.0003910775, -0.048680041, 0.0314357467, 0.0616334304, -0.002489198, -0.0174976643, 0.0723385587, -0.0225135386, -0.0210577194, 0.0019055031, 0.0650221854, 0.0061749215, 0.0206640791, -0.0010596018, -0.0415758379, 0.0271411389, -0.0195532758, -0.0092769619, 0.0251678657, 0.0495526381, -0.060689006, -0.0218653139, 0.0165612306, -0.0516752414, 0.0434731059, 0.0475905165, 0.0116514936, -0.0310279857, 0.0055015432, 0.0120952632, -0.0288225356, 0.1089884341, -0.0101847807, 0.0428034402, -0.0201220103, 0.0122183003, 0.0520916171, -0.0113174682, -0.0537495501, 0.0502126366, -0.0169333238, 0.0219895858, 0.0164185055, 0.0424571075, -0.0295544434, 0.0762998387, -0.0208871569, 0.0297379363, 0.0301182568, 0.0010318392, -0.0802702457, 0.0307127237, 0.0152799292, -0.0075898548, 0.0302762873, 0.0354793482, -0.0214047395, 0.0697386563, 0.0057792836, 0.0161156412, 0.0043810951, 0.0450615063, 0.0069542709, 0.1104040518, -0.0533943065, 0.0180874541, 0.0223621838, -0.041506879, 0.056423787, 0.0316730998, -0.0254335478, -0.0164779983, 0.0089316657, -0.0436933376, -0.060121648, 0.0106702382, 0.0195047483, -0.0057890001, 0.0297828577, 0.0396020785, 0.0193777923, 0.02924571, -0.0114306882, -0.0154197859, -0.0656497777, -0.0017286295, -0.0023625651, -0.013513417, 0.0035397273, 0.0002436336, -0.007472455, -0.0445477515, 0.0744330809, -0.0458431542, -0.0403469764, 0.0332890376, 0.0623955615, -0.0179550275, 0.0186101049, -0.0472160764, -0.0107719162, -0.0114833852, 0.0350671932, 0.0053003896, 0.0106499717, -6.056187303e-33, -0.0483380631, -0.0156605206, 0.0053693908, -0.0389712378, -0.0381229445, 0.0728779212, -0.049485825, -0.0005443481, -0.0140124094, 0.0358298831, 0.0123160835, -0.0334091708, 0.045045536, 0.0306900404, -0.0221816041, -0.0200542789, 0.0602873676, 0.0096089654, -0.0078633586, 0.0319246873, 0.0120815914, 0.0270303078, 0.0907086134, -0.103503488, -0.010220251, 0.032618165, -0.0498977453, -0.0140286768, 0.0335233994, 0.0566612929, -0.009596887, -0.0002004516, -0.0161545165, -0.0464817695, -0.0042249481, 0.0346773118, -0.1062011644, 0.0296579823, -0.008375613, 0.0290322714, -0.0272039212, -0.0101696718, 0.033923313, -0.008566061, 0.0032179165, -0.0221836697, 0.0304780826, -0.0532640666, 0.0009789966, -0.0169714279, -0.0766358152, 0.0236003026, 0.0041354205, -0.0191196315, 0.0560691208, 0.0510283522, 0.0336475261, -0.0070565687, -0.0604779385, -0.0004009626, 0.00026188, 0.0618105531, 0.041541744, 0.0607425682, 0.0083807418, 0.0438950658, 0.0268015042, -0.0513639338, 0.0381720662, -0.0434762947, 0.0100225555, 0.0457221083, 0.0784049705, 0.0456188545, 0.0114516364, 0.0563569926, -0.0632124692, -0.0129532749, -0.001487585, 0.075978376, 0.0068747774, 0.0157076642, 0.0138456514, 0.0219174884, 0.0018515511, -0.0273810141, -0.041424647, 0.0032972218, 0.0227662027, 0.0481273681, -0.0489920601, 0.1112449542, 0.0727761239, 0.0458491258, 0.0038349684, 0.0069872439, 0.0125427516, 0.0569236763, -0.0173841212, -0.0086586401, -0.0821270198, -0.0426336713, 0.0706509352, -0.0099019371, 0.0081445426, -0.0172586404, 0.0734172165, 0.0097173378, -0.0568032488, -0.0184539352, 0.0060510035, 0.0478979275, -0.0185611825, 0.0205164123, 0.015288082, -0.0088682016, -0.0386635326, 0.0638723448, -0.0092739239, 0.0101194493, -0.004958394, -0.0375290923, -0.0044699633, 0.0271688029, -0.0451124161, 0.012260085, 0.0034449357, -0.0068638367, 0.0105820997, -0.0721424595, -0.0162011627, 0.0244574249, 2.736e-7, 0.0122675458, 0.0156778172, 0.0744752809, -0.0453606918, -0.0085450448, 0.0408942327, -0.003353287, 0.0283123199, 0.0083362535, -0.0276267231, -0.009109091, -0.0027062683, 0.0362192653, 0.0159183946, -0.0587827154, -0.0205497239, -0.0753757432, -0.0224121418, 0.0090574408, 0.0182494204, 0.0127406279, 0.1236840114, -0.0251501184, -0.0238278154, -0.0125301899, -0.0697479025, 0.0417469777, 0.0332347676, -0.0065574241, -0.0140662258, 0.0088492753, 0.0014451273, -0.0499134623, 0.0225800183, -0.0068055601, -0.0091503924, 0.0740521923, 0.0237556435, -0.0191807617, -0.0299534537, 0.0240567513, 0.0539774261, 0.0042905081, 0.0240289178, 0.0784312859, -0.0755902529, -0.0145139741, -0.0434727632, -0.0379672572, 0.0193971302, -0.006583822, -0.0410019234, -0.0105036041, 0.0239823032, 0.0288623404, -0.0000496022, -0.0795442611, -0.05682078, -0.0252350029, 0.0132675795, -0.007031525, 0.0107640335, -0.0668982491, 0.0074492204, 0.0075250538, -0.0415462591, -0.0285851993, 2.475511206e-34, 0.0069029788, -0.0116570117, -0.002707649, 0.0063033965, 0.0110115744, -0.0030874077, -0.068982169, 0.0068716682, -0.0085337348, -0.0653414801, -0.0195894409 ]
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.0721860006, 0.0210516192, -0.0358208232, 0.0448399521, -0.0215410385, 0.0074198805, 0.0317967199, -0.0466668867, -0.0033105498, -0.0452121943, -0.0342501029, -0.0249422248, -0.0078153545, 0.0827047825, 0.0530508496, -0.0772059262, 0.0154593019, -0.0428488925, 0.0108633954, -0.0220963769, 0.0036860367, -0.0279434472, -0.0592894629, 0.0723629072, -0.0164619796, -0.0230164081, -0.0797546506, -0.024742756, -0.0087177726, 0.0263932366, -0.0018917726, -0.0029703046, 0.0489982106, 0.0225727186, 0.000002009, -0.0312100835, 0.0348810144, -0.0202589072, -0.0291546956, -0.0519468412, 0.0080101229, 0.0279623512, -0.0219560806, 0.0174607281, -0.0506274849, 0.0037877441, 0.0698584095, 0.0744419768, 0.0586440712, 0.0794635341, -0.0091105718, -0.0250240024, 0.0587490499, -0.0116464542, -0.0011832793, -0.0673882142, 0.0182039887, 0.0370526388, 0.0467489064, 0.0142582925, -0.0172615517, 0.0302953999, 0.0182884131, -0.0536643341, -0.0021710964, 0.0237136371, 0.0147464471, -0.0403349511, -0.0479151644, 0.1059089452, 0.0264286697, 0.0215033554, 0.0188112129, 0.0127924643, 0.0003327053, -0.0372320116, -0.0595948063, 0.0311851855, 0.0092522716, -0.0074375356, -0.0320961289, 0.0226707086, -0.0234710127, -0.0011472647, -0.0109813502, 0.044728592, -0.0348180048, -0.0087579191, 0.0215559024, 0.0012597698, 0.0130186854, -0.0751565248, -0.0172622092, 0.0683090389, -0.0607282855, 0.0135516813, -0.0212178752, 0.0066655204, 0.0011945741, -0.0570622087, 0.0057330462, 0.0145714413, -0.0140129467, 0.0388336666, 0.0356130488, 0.0612920709, -0.0628212094, 0.0039064246, -0.0136693968, -0.0290535707, -0.0514250845, -0.0111431535, -0.0512212068, 0.034791708, -0.0500026271, -0.041873388, -0.0086271018, 0.0867174342, -0.0131323067, 0.0435521379, -0.0272098593, 0.03069181, -0.0311337467, 0.0224811435, -0.0611185096, 0.0282665417, -0.0197328534, 0.012853737, 0.0061309994, -0.0584049784, 0.0088067614, 0.0324146338, 0.0006713923, 0.0056158816, -0.0112739457, 0.079109855, -0.0327042267, 0.0003834557, 0.0298458263, -0.017599443, -0.0148728397, -0.0776430145, 0.0028047354, -0.0200642925, 0.0333333015, -0.0208372455, 0.0073252954, -0.0282685161, 0.0031478966, 0.0068886429, -0.0105058411, 0.0660830066, -0.0056931074, 0.021054823, 0.0571025088, 0.0052799676, -0.0249465033, 0.0379834883, 0.0410656482, 0.0080744093, 0.0334021747, -0.024432838, 0.0233604386, 0.0214087162, -0.0245430153, -0.0305519849, 0.0312762931, 0.0303666946, -0.0151184183, 0.039481014, 0.0108002005, 0.0883468613, -0.0171605404, -0.0016343471, 0.0425376333, 0.0433644094, -0.0222056899, 0.0126034841, 0.0364283659, 0.0517040864, 0.0188179016, 0.0090251248, -0.0092269629, 0.0408012159, 0.0253135078, -0.0104679763, 0.0252975039, -0.0223386846, -0.0555704236, -0.0517814755, 0.0317853019, 0.0050533656, 0.0430079922, 0.0270086788, 0.0482163206, -0.0122493757, -0.061110016, -0.0364577286, -0.0216715932, -0.0140506374, -0.0456416383, -0.0777522251, 0.0443934351, 0.0273110233, 0.0231374819, -0.0293263346, -0.0467853732, -0.0313007496, 0.0058358745, 0.0511087924, 0.0464218445, -0.0414767601, 0.0164936893, -0.0347855091, -0.0000581338, -0.0391385108, -0.0158166252, -0.0013022553, -0.0765312165, -0.0069750207, -0.0010450387, 0.0365372077, 0.0108080953, 0.0033216558, 0.0215754546, -0.0008750217, 0.003625297, 0.0166059975, 0.0326569304, 0.0266815778, -0.020453738, 0.0055046068, 0.0463233888, -0.0041603232, 0.0232094917, 0.0485456884, -0.0117229642, -0.0223293807, 0.0079913624, -0.0423368365, -0.0156902354, 0.0482191853, -0.0115127899, -0.0688837692, 0.0405889601, -0.069289811, -0.0031388192, -0.0162478946, 0.0178654864, -0.0062232409, 0.0241212156, 0.0029046682, 0.021173276, 0.0162277371, 0.0026368462, 0.047115542, 0.009490923, 0.0214429311, -0.0971281007, -0.0241050068, 0.0305070281, 0.0082396585, 0.0040370673, 0.0260643512, -0.0058976277, -0.0199486054, -0.0241713133, -0.1042731777, -0.0123176863, -0.0266874526, -0.0189875681, -0.0291040912, 0.0033294682, 0.0193629358, -0.0495718829, -0.0520363115, 0.0419949219, 0.0575329326, 0.0057298937, 0.0721675381, 0.0500761643, -0.034481883, -0.0340496637, 0.0009943488, -0.0005713655, 0.0305758454, 0.0408714637, -0.0431060456, -0.0480028316, 0.0097372876, -0.0397400223, 0.0630427077, -0.0491813198, -0.0076206271, 0.0456423126, 0.0239419416, 0.0407694988, 0.0850361362, 0.0091919936, 0.068779923, 0.0053015864, -0.0209492166, -0.0261952933, 0.063996166, -0.0037703239, -0.0192287434, -0.0583715886, -0.0234889332, 0.0451495647, 0.0467255153, -0.0084253866, 0.0157306418, -0.0252840854, 0.0485762767, 0.0479675382, -0.0467598289, 0.0089944275, -0.0217145607, -0.0258802939, 0.0366359428, 0.0048574116, -0.0030063998, 0.0705115348, -0.0115419906, -0.0319568142, -0.0359774865, -0.0634453967, -0.0198889934, 0.0683273748, -0.0054936712, -0.0082416665, 0.0298261084, -0.0319572613, -0.0468397215, -0.0175096374, -0.0204548072, -0.0012434596, 0.0216368996, -0.0410454497, 0.0056021535, -0.0053120544, -0.045071207, -0.0503445007, -0.0007605921, -0.0548413172, 0.0340821147, 0.004548321, -0.0251721554, -0.0592983402, -0.0029258456, 0.026355451, 0.0056904298, 0.0078693787, 0.0033717919, -0.0564458109, 0.0217375737, 0.0531597845, 0.0452854224, -0.0199850462, -0.0184603445, 0.0807249844, 0.026766941, 0.0250667389, -0.0088942274, -0.0318656787, -0.0424549989, 0.0162568241, -0.0028918309, -0.0375396796, 0.009498721, 0.0532988459, -0.0242151283, -0.0053898776, 0.0706566423, -0.0152333882, -0.0386833027, 0.0062594456, -0.0152882254, 0.0060313866, -0.012382702, 0.048221834, -0.0690069422, -0.0108362287, -0.0021121353, -0.0091925291, -0.0375849232, -0.0252214875, -0.0226408821, -0.0680911243, 0.0621231273, -0.0453801379, -0.009141529, -0.0396277905, 0.022086136, -0.0071639777, -0.0126762446, 0.0453965366, 0.0075472519, 0.0266942848, -0.0277320538, 0.024278488, 0.0005468603, 0.0087023973, -0.0087667266, -0.0219816808, 0.0682095066, 0.0443519205, 0.0425170474, 0.0053870496, -0.0104199154, 0.0054116161, 0.0072002332, 0.0159088373, 0.0039724563, 0.0017758386, -0.0281026307, -0.0408990011, -0.0225076415, 0.0244727731, 0.0076957289, 0.0177087542, 0.0413700119, 0.0356029645, -0.0799074098, 0.0094923768, -0.0355001166, 0.0371676236, 0.0221053045, 0.0411191881, 0.0091464203, -0.0574245974, -0.0469280519, -0.0176762938, -0.0288928151, -0.0192196909, 0.0022884088, -0.0280877016, 0.0104071526, 0.0168584976, -0.0556930155, -0.055195976, 0.012960352, 0.0255116839, -0.0059330664, -0.0232273117, 0.0197754633, 0.0375080146, -0.0228976887, -0.0149183823, -0.0073603927, 0.0141967749, -0.0473193265, -0.0121307774, 0.0605407767, -0.0437253192, -0.0196673498, -0.0025306456, -0.0869861469, -0.0598549098, -0.058647491, 0.0698649287, 0.0249842331, 0.0380382463, 0.0068906276, -0.0599414743, -0.0126136988, -0.0130009977, -0.0323126167, 0.0106847594, 0.0378536433, 0.0172903426, -0.0165050179, 0.0535095073, -0.0478170589, 0.0125853643, -0.0382469445, 0.0240040291, -0.0418887809, -0.0791173354, -0.0046304571, -0.0246518459, 0.0196594596, 0.061832808, -0.0125160469, -0.0215091351, 0.0362866707, 0.0076157008, -0.0155964484, -0.0851789415, 0.0255353805, -0.0472812355, 0.0201404765, 0.0334524177, -0.0217724368, -0.0469196625, 0.0394008569, 0.031710282, 0.0104599502, 0.0044440683, -0.0154411402, -0.0015418658, 0.0131104356, -0.0079065198, 0.0422887802, 0.0381582864, 0.0327275917, 0.0213704128, 0.0783493072, 0.0387796722, -0.0357607529, 0.0167416018, 0.0360848494, -0.0782203004, -0.0828734636, 0.0298572611, 0.0553510338, 0.0078575509, 0.0550609827, 0.008911089, -0.0504582897, 0.0305010173, -0.0182179306, 0.0702562332, -0.0020809115, -0.0286574308, 0.0317507759, 0.0074275746, -0.0219231974, 0.0115473568, 0.0457877219, -0.0013783777, -0.0012989589, 0.0037401007, -0.0036312041, -0.0631569251, -0.0299452618, 0.0372999981, 0.0215100832, 0.0015365211, 0.0021527519, 0.0062943702, -0.036684569, 0.0127521772, 0.0253191516, 0.0069324975, -0.0556095801, 0.0209256783, 0.0362208895, 0.0408451483, 0.0026445533, -0.0412146971, 0.0299439281, -0.042406261, -0.0245153215, -0.0251131393, -5.932914313e-33, -0.0231155418, -0.0253361892, 0.0333108604, 0.0259886924, -0.0739583746, -0.0208670702, -0.0312299114, 0.0022794311, -0.0385393314, 0.0133664478, -0.0300522801, 0.0174637288, 0.0103100166, 0.0157167464, -0.0141032431, -0.0323139057, 0.0380737893, -0.0110061029, 0.0213338397, 0.0561224706, -0.0039727031, 0.0004877099, 0.0004209624, -0.053404253, 0.0573369451, -0.0121156191, -0.0062692617, 0.0633570477, 0.0150279021, 0.0467717312, -0.0310400184, 0.0524246022, 0.0215115715, -0.0259886738, -0.0237228535, 0.0692660585, -0.0559257567, -0.0075973193, 0.0270603672, 0.0350361206, -0.0546522774, -0.0334053338, 0.0278695486, -0.0278385039, -0.018128721, 0.0346118659, 0.0289209168, -0.0017363535, -0.0126613379, 0.0077560581, -0.059581656, -0.014056528, -0.0464504622, -0.0701893345, 0.0133821443, 0.072944507, 0.0086678686, -0.0611957237, -0.0068437136, 0.0450801402, 0.0005460321, -0.0399401784, 0.0292470511, 0.0247426666, 0.0394317359, 0.0384806357, 0.0649137795, 0.0408455953, -0.0185551196, -0.0145264016, -0.0015764144, 0.0649513006, 0.0200471338, 0.0265998747, -0.0703355893, 0.0316450559, -0.0465059839, 0.0064147315, 0.0410309434, 0.0470067225, 0.0214852244, 0.0006593617, -0.045861505, -0.0158923045, -0.0388979428, 0.0149504868, -0.0074923495, -0.0374819376, 0.0112329116, -0.0105799921, 0.0116095692, 0.0117610842, 0.0503454879, -0.0724159479, 0.0246737935, -0.0006457323, -0.0206685551, 0.0284157265, -0.0152454656, -0.0039434549, -0.0402035154, -0.0194558576, 0.0045617791, 0.0188572649, 0.0159673709, 0.0244083758, -0.0361304842, 0.0202433392, -0.0035676435, -0.0104390411, -0.0189984273, 0.049780421, -0.0239905696, 0.077178359, -0.0007367231, 0.0157381166, -0.0403511077, 0.0741206482, -0.0533868596, -0.0246587023, -0.0295650903, -0.0337649584, 0.0109750088, 0.0175804012, -0.0782792643, -0.0004453302, -0.0327152424, 0.037017595, 0.0112579642, -0.0401816666, 0.0027600178, -0.0151673593, 2.652e-7, -0.043329861, 0.0112790419, 0.0527008362, 0.0370435975, 0.0415683016, 0.0497742072, 0.0023157052, 0.0546749085, -0.00876683, 0.0040775822, 0.0174479857, 0.0352581367, 0.0348477103, -0.0218967665, -0.0828663334, -0.0465847105, -0.0466901772, -0.0438460149, -0.0293992944, 0.0104796495, 0.0509872362, 0.068433933, -0.0122139873, -0.0012026266, -0.019107284, -0.0083308173, 0.0467334762, -0.0314563438, -0.0096588014, 0.0256274976, 0.0627538562, 0.0096170288, -0.0268862825, 0.0027216002, 0.051499933, 0.0323031768, -0.0044684419, 0.0575024337, 0.0211530514, -0.0619404167, -0.0133901518, -0.0032331888, 0.0011031677, -0.0230098367, 0.0436435342, -0.065526925, -0.053921029, -0.0311586559, 0.0133827934, -0.0148235857, -0.0044010631, -0.0147878826, -0.0021955241, -0.0047816844, 0.0143396743, -0.034982834, 0.039423205, -0.05506837, 0.043053966, -0.0296667479, -0.0681890175, -0.0600348152, -0.0322148316, -0.0475925356, 0.041742146, -0.0138146393, -0.0113910334, 1.586484943e-34, 0.0472659655, -0.0025714743, 0.0046956805, 0.0603126585, 0.0081537338, 0.0073305694, -0.0106489258, -0.0033759449, 0.0762038305, -0.069241114, -0.0369391032 ]
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.0182559937, 0.0297398381, -0.0069583254, 0.0610644221, -0.0407723822, 0.0151136378, -0.0368324742, 0.0081863115, 0.0386585221, -0.0451975577, 0.022071274, -0.0123108849, 0.0163164586, -0.0183441322, 0.0172174461, -0.072277382, 0.0504624248, -0.057732854, 0.0180483144, -0.0084966635, 0.0051424275, -0.0077906004, -0.0326573886, 0.0410330519, -0.0361138321, -0.0767728239, -0.0099266712, 0.0182364099, 0.0117676454, -0.0232204013, -0.0422237776, 0.0330412202, -0.0168874599, 0.0065097599, 0.0000022681, -0.0644087046, 0.0128954072, -0.0085661067, 0.0076201814, 0.0164727215, -0.015656855, 0.0017238811, 0.0308729764, 0.021425359, -0.0315959118, 0.0014335148, 0.0424387679, 0.0437575988, 0.0752286911, 0.0442944132, -0.0025402938, 0.0288420245, 0.0298123099, 0.049253352, 0.0497343764, -0.01622531, 0.0213285666, 0.0524537563, -0.0071450686, -0.0600253306, -0.0265199207, 0.0490973815, 0.0217713621, 0.0036654058, -0.0021097711, 0.0152461855, -0.076141566, -0.0445855968, -0.0459235758, 0.0496400967, -0.0277569592, -0.0470794141, -0.0027706544, 0.0035282318, 0.0337526165, 0.0295820944, -0.0513230897, 0.055476401, -0.0313049108, -0.0194813535, 0.0010340635, -0.0144682704, 0.0122118359, -0.0054740133, -0.0228895377, 0.0355302729, 0.0022740723, -0.0376276039, 0.0191038121, 0.0268129036, -0.0256209131, -0.0693284273, 0.0121397162, 0.0429607965, -0.0489014685, -0.006551927, -0.0313897133, 0.0024128524, -0.0114883259, -0.0496865213, 0.0552463792, 0.0227612481, -0.0649695173, 0.0415565521, -0.0385722853, 0.0559375398, -0.0267581455, 0.0619305186, -0.0078388834, 0.0079387156, -0.0356478989, -0.0108653046, -0.0474978611, 0.039107848, -0.0082934583, -0.0245478638, 0.0057799537, 0.024570981, -0.0489460565, 0.045847889, -0.0288709141, 0.0138897076, 0.0344276577, -0.0266565885, -0.0455453247, 0.0338852704, 0.0065267901, -0.0168061648, 0.0038600555, -0.0863624215, -0.0115675451, 0.0493022613, -0.0183977671, 0.0229958873, -0.0039971601, 0.033605393, -0.0044063944, -0.002630617, -0.0598532036, -0.058376953, -0.0143326605, -0.0488016903, 0.0194253381, -0.0914402679, -0.016442541, -0.0040334556, -0.0016928118, -0.0240791794, 0.0324337631, 0.0295716729, -0.0371391773, 0.070077166, -0.0384654924, 0.0168236773, -0.0117014358, 0.0350688472, -0.0209683646, 0.0474912263, 0.0426447354, 0.0274794735, 0.0273335241, -0.0046444233, 0.0835830793, 0.0283051319, -0.0083516827, -0.0187509097, -0.0376527309, 0.0002447124, 0.0013466021, 0.0100941947, -0.0333444886, 0.0838147923, -0.016970437, -0.0328479335, 0.071570605, 0.0343222469, -0.0258351397, -0.0456425957, 0.0243167877, -0.0049127694, 0.023960093, 0.0435694344, -0.0670021623, 0.0567805357, -0.0461788587, -0.0110659581, -0.0057280897, 0.0027776673, -0.0194869824, -0.0710804984, -0.0337001793, 0.0195086785, 0.0107399682, 0.0353332721, 0.0009966796, 0.0329843536, -0.0506639555, 0.0380739346, 0.0006431235, -0.0510484092, -0.0283087268, -0.0553827621, 0.0416961201, 0.0562762171, 0.0619167238, -0.0083293021, 0.0086567635, -0.0310855284, 0.0486381948, 0.0408275425, 0.0242135245, 0.0044161137, 0.0131240636, -0.0425720327, -0.0065386989, -0.0057654474, 0.0031755425, -0.0297431368, 0.0074800421, -0.0213861894, -0.0267475676, -0.0179623161, -0.0285332613, 0.0503849089, 0.0520261265, 0.0117187435, -0.0539549813, 0.008674507, 0.0092943842, -0.0054341918, 0.0004789411, 0.0212455653, 0.0223196466, -0.0120597864, 0.006592711, -0.0014328299, -0.0353428535, -0.023491215, 0.0464284159, -0.0541926511, -0.0231681634, -0.003916054, -0.013087553, 0.0038894303, 0.0043493658, -0.0360196047, 0.0236172881, -0.0249334741, 0.0362193212, 0.0180721693, 0.0020768272, -0.0048027397, 0.0558835529, -0.0471425466, -0.0226640645, 0.0336459614, 0.0141121149, 0.0032264323, -0.0382925086, 0.0012981492, 0.0157954171, -0.004630629, 0.0262619425, -0.0139173223, -0.0096166497, -0.0578277223, 0.0220609084, -0.0785970613, -0.0256102942, -0.0249894168, -0.0372268222, 0.009018925, -0.0347783044, -0.0168031994, -0.0221012495, -0.0061461795, 0.0431670323, 0.0005172122, 0.0233590547, 0.0204564352, -0.0319203734, -0.0186153483, 0.008563892, 0.0033019967, -0.0217766892, 0.0613020211, 0.0116307214, -0.0747216716, -0.0663342029, 0.0698346049, -0.0484220535, 0.0471226126, -0.0016301255, 0.0137688052, 0.0267699882, -0.0018762721, 0.0429710336, 0.0965174735, -0.0148956189, 0.005979104, 0.073503226, -0.0352564342, -0.0321673639, 0.0023585665, 0.0254333578, -0.0404213965, 0.0336754024, -0.0399073623, -0.0075479136, 0.0265501738, 0.0092723081, 0.0107408222, -0.063297227, 0.0317697562, -0.013552703, -0.061735075, -0.0077057979, -0.0316180289, -0.0032204194, 0.0509351753, -0.0382975191, -0.0847667754, 0.0757178664, -0.0305185616, 0.000018766, 0.0246781316, 0.0123393852, 0.0151727488, 0.0592728779, 0.0276389401, -0.0017162559, -0.0092953602, 0.0078385659, -0.0747089535, -0.0376390964, 0.0008044381, -0.0283620954, 0.0601456985, -0.0836651102, -0.00597178, 0.0017064292, 0.0092561124, -0.0778432786, 0.0374131016, -0.0199974347, -0.0372485034, -0.0995292589, 0.0229416713, -0.0257858187, -0.0045797871, 0.024631761, -0.0137118436, 0.0017347571, -0.0311663654, -0.0092692403, 0.0149578806, 0.0304304734, 0.0081041241, 0.0338340551, -0.0350224935, 0.0377473384, 0.1070088074, 0.0204563644, 0.040158838, -0.0436676368, 0.0077555222, 0.0023401445, 0.0238089226, 0.0049741953, 0.0369986892, 0.0686328709, -0.0793119073, 0.0068244045, 0.0657802969, 0.0508746244, -0.0413951054, 0.0013978799, -0.0410798192, 0.0304227062, 0.0435767621, 0.0000985393, -0.1185047179, -0.0202030241, -0.017656561, -0.0183372069, -0.011138414, -0.03586426, -0.0200450253, -0.0832941383, 0.0649509057, 0.0237646699, 0.0425765701, -0.0166680217, 0.0214471128, -0.0019717684, 0.0388497338, -0.0139735723, 0.0064081852, 0.0092939399, -0.0063488139, 0.0140142944, -0.025866963, 0.0314850546, 0.0224160161, -0.0338018723, -0.0045727012, 0.044667691, -0.0202823766, 0.0052158888, -0.1209433153, 0.0193470884, 0.0100782448, 0.0002101803, -0.0061080507, 0.0488147624, -0.0081689404, -0.0077881804, -0.0001368866, 0.0034330259, -0.011896695, -0.060747508, 0.0348122418, 0.080310002, -0.0365679264, -0.0590157881, -0.0331719965, 0.0411723889, -0.0357222371, 0.0640328676, 0.0307924803, 0.0134761017, -0.0408024751, -0.0356384031, -0.0049086697, -0.0395641364, -0.0624945275, 0.0459569693, 0.0766867772, 0.0075400402, -0.0758261681, -0.0072012451, 0.0501445979, 0.0339056365, -0.013149986, -0.0039923168, 0.0040139789, 0.0091843829, -0.0838338435, 0.0496994443, -0.0515636541, 0.0276987553, -0.022919951, 0.0185251869, 0.0073297373, -0.0091047259, 0.0100292992, 0.0413588099, -0.0678449869, -0.0525361747, -0.0186520535, 0.0709330738, 0.0275192391, 0.0525206514, 0.0186817292, -0.0243257228, 0.0274671055, 0.0480713658, 0.0363582894, 0.0417167209, -0.0129305711, -0.0254534129, 0.0113896756, 0.0053116796, -0.0108917998, -0.0067399838, 0.0272154994, 0.0307133328, 0.000248793, -0.0048769736, 0.0506083854, 0.0465779677, 0.016480254, 0.0096671414, 0.0348193273, 0.0002642725, -0.0008010027, -0.0066769971, -0.0160554945, -0.0563614666, 0.0308184642, 0.0030231157, -0.018767748, 0.0413664617, -0.0311544649, -0.0241400339, -0.0255047604, -0.0140402094, -0.025153894, -0.0135497022, -0.0088234553, 0.0317766853, 0.0029182923, -0.023978522, 0.0043849666, -0.0044414303, 0.0650165752, 0.0425354838, 0.1051294208, 0.0194129329, -0.0152833574, -0.0386157222, 0.0223372877, -0.0216906816, -0.1140119582, 0.0069407313, 0.0541109778, 0.0298722871, 0.0368213654, -0.0016327923, -0.0373229645, 0.0135672847, -0.0130700124, 0.0143647511, 0.0416225232, -0.0478602611, 0.0355058238, 0.0407236218, -0.0163870733, -0.0379315428, 0.0348267518, -0.0328443609, 0.0102440827, 0.0010025825, -0.020177925, -0.056761086, -0.0599168576, -0.0208045337, 0.0159724131, -0.0039817225, 0.0131954215, -0.0849269032, -0.0745458603, -0.0234492831, 0.0382052362, 0.0490847044, -0.0122236731, 0.0249239746, 0.046490062, 0.0178970527, -0.0364425778, 0.013738622, -0.0241481736, 0.0347029194, -0.0044413647, -0.0063965446, -6.121767031e-33, -0.0256701317, -0.0624191351, 0.0484370627, 0.0210217964, -0.0000717552, -0.0073553394, -0.0058204923, 0.0282453075, -0.009332424, 0.0146835595, 0.0371504053, 0.030366933, 0.0067602247, 0.0152294496, -0.0040759286, -0.0224332679, 0.0193483625, 0.0175926276, -0.0446512029, -0.0053175553, -0.0181624889, -0.0310302209, 0.0424969159, -0.080179967, 0.0219145566, 0.0089831362, -0.0102728382, 0.0094472421, -0.0483985357, 0.0467953794, -0.0226732921, 0.0423112325, 0.0220251977, 0.0201871339, -0.0297460184, 0.0254712831, -0.0193224214, -0.0290120244, 0.0473572277, 0.0313626379, -0.1110073179, 0.0104717426, 0.0419072248, 0.0099773929, -0.0200985968, -0.0266170222, 0.0355069004, -0.0439978018, -0.0191980973, 0.0503887609, -0.0349424854, -0.0225957111, -0.0014658287, -0.0491787456, 0.0201884229, 0.0348481052, -0.016577499, 0.032267306, -0.0759565234, 0.0299123563, -0.0260157175, -0.0327155404, 0.0934689865, 0.004029463, -0.0030547958, 0.0493878648, 0.060658928, -0.0100035183, -0.0321913809, -0.0265677087, -0.0050888234, 0.0662718639, 0.0777270049, 0.0023838677, 0.022496162, 0.0196146108, -0.0623452775, -0.0093312748, -0.0322024152, 0.045476649, 0.022505613, -0.0018112926, -0.0314838924, -0.0240012631, -0.0043660193, 0.0165329017, -0.0402940586, 0.0087036099, 0.0579365231, 0.0051878113, -0.0111984629, 0.0153507655, 0.0235558897, -0.0452921614, 0.0162763223, -0.023323765, -0.014894112, 0.0328686349, -0.0027038425, 0.0226351377, -0.0025596076, 0.0434585661, 0.0263880789, -0.0225761551, 0.0385086164, 0.0410393104, 0.025618162, -0.0091513265, -0.0503792018, 0.0040726182, -0.0573420823, 0.0096766893, 0.0057186047, -0.0027879796, 0.0413713902, 0.0065965829, -0.0396226346, 0.013546655, -0.0128391022, -0.0534181334, -0.0240807459, 0.0198516659, -0.0232441835, 0.0117333867, -0.0170536507, -0.0196877252, -0.052613385, -0.0278956071, 0.0182054918, -0.0539094619, -0.0118873697, 0.0050125206, 2.952e-7, -0.0177989211, 0.055475574, 0.0172635652, 0.0495992973, 0.0028037333, 0.0251303837, -0.0152660795, 0.0025353029, 0.0477985702, -0.1173551008, -0.0259899199, 0.0552534685, 0.0303241611, 0.0156214647, -0.0421979316, 0.0003866219, 0.0236233436, -0.0210928246, -0.0606759861, 0.0154471844, 0.0762124285, -0.0078494167, 0.0230180733, -0.0013268723, 0.0408420973, -0.0492017753, 0.0569291897, -0.0092853317, 0.0001918799, -0.012015935, 0.0260002483, 0.0160434302, 0.0184283238, 0.0782421827, 0.0113724396, -0.0321648829, 0.0135231335, -0.0007612056, -0.0335632451, -0.007152868, -0.0466944426, -0.0052506491, 0.0117060337, -0.0490079075, 0.0500660315, -0.0229996052, -0.0150379874, 0.0189975873, -0.0224575009, -0.0262137931, 0.0358647555, 0.023265725, -0.0215959568, 0.0025977865, 0.0154697383, 0.033785183, -0.0382824391, -0.050141573, -0.001138891, -0.0245652217, 0.0023248845, -0.0372399949, 0.00332581, -0.0021103818, -0.0146623608, -0.055801589, -0.0484230965, 2.946928292e-34, 0.0257718004, -0.0003869722, 0.0624447688, 0.0280493721, 0.0233529806, -0.0153182102, 0.0032830129, 0.0022440536, 0.000961304, -0.0339446589, -0.01806584 ]
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.0598127693, 0.0696575567, -0.0060874587, 0.0521616861, -0.0448511541, 0.0082022706, 0.0264705271, -0.0130626746, 0.0099519929, -0.068375282, 0.0293405801, -0.0448018536, 0.0006200381, 0.0280355662, 0.037080586, -0.0012056041, 0.0266956706, -0.0239887387, 0.0580506362, -0.0284096524, 0.0050698547, 0.0367253721, -0.0076332605, 0.0154566141, -0.024695335, -0.0165746938, 0.0391228832, 0.0003527077, 0.0156683549, -0.0201398786, -0.0183854848, 0.0480825454, 0.0374842212, 0.0882757157, 0.0000016646, -0.0414067283, 0.009239004, 0.0292049851, -0.0440803692, 0.0344616324, 0.0379625708, 0.0091820685, -0.0503322855, 0.0144398306, -0.0080832895, -0.0329042226, 0.0319013745, 0.0235401969, 0.0790119395, 0.0991236791, 0.000870084, -0.0145061444, 0.0181602109, 0.0076321694, -0.0053979037, -0.0184110608, 0.075295642, 0.0425149277, -0.0275542568, 0.0381248333, 0.0224579889, 0.0246228687, 0.0030539855, -0.0429237895, -0.0537308753, 0.0209252052, -0.0122941602, 0.0000679028, 0.0148974489, 0.0253140889, 0.0155756334, -0.045720052, 0.0155422622, -0.0050029904, -0.0119130453, 0.0609555058, -0.0251331124, 0.0909307301, -0.0464862771, 0.0068897917, 0.0182871018, -0.0298039913, 0.0505257882, 0.0465018675, -0.0013399841, 0.0621704161, 0.0372767337, -0.0255902968, -0.0140672438, -0.0071534207, -0.0214271378, -0.079474844, -0.0157361962, 0.016884882, -0.0144406473, 0.0159033705, -0.0043356325, -0.0006527958, 0.0415162295, -0.071743384, 0.0052262736, -0.0080869291, -0.0223950613, 0.0628159717, -0.0352872424, 0.0216886979, -0.0322453417, -0.0205073059, 0.0314284638, -0.0232981425, 0.0035161816, 0.0109160123, 0.0009506549, -0.0022853077, -0.005553545, 0.0222001448, -0.0480243862, 0.0132623892, -0.0304727294, 0.0489885062, -0.0021029119, -0.012918083, -0.0004428278, -0.0381645672, -0.06384442, 0.0172264911, -0.0033848309, 0.0327204987, -0.0087655336, -0.0520844162, 0.0118314438, 0.0431423858, -0.0157561656, -0.0105681159, 0.0004188679, 0.0027275416, 0.0344836339, 0.037401814, -0.0591782592, -0.0251155943, -0.0355078615, -0.0708609596, -0.0052260086, -0.0913268924, -0.0269905087, -0.0105468463, -0.006335414, -0.0038571425, -0.0028638192, 0.0299358629, -0.0134216733, 0.0489174873, -0.0094507067, 0.0269688331, 0.0389137715, -0.0113165053, 0.0247804374, 0.0409191623, 0.0218208786, 0.050274983, 0.0510850623, 0.0447130948, 0.041576732, 0.0076493956, 0.00631948, 0.0175439212, -0.0065188115, -0.0141530819, -0.0033519927, -0.0184679162, -0.0048649628, 0.0824664012, -0.0253036171, -0.0049580047, 0.0866672844, 0.0011666854, -0.0169742499, 0.0012283805, 0.0956345275, -0.0214403551, 0.0092221126, 0.0053030709, -0.0372805595, 0.0126600051, -0.050821498, 0.0069076498, 0.0049110889, 0.0986374021, 0.0010063722, -0.0388313942, -0.0324632525, 0.0113717401, -0.0105968313, 0.021848321, 0.0370312035, 0.0082063815, -0.014009146, 0.0056070695, 0.0363682322, -0.0369902477, 0.0127114775, -0.0903522521, 0.0386614129, 0.0546289645, 0.0684673414, 0.0087716263, -0.0013722723, -0.0364174657, 0.0117845684, 0.036404714, 0.0369455703, -0.020465821, -0.0650130957, -0.0178074148, -0.0020565148, -0.009622246, 0.0419658124, -0.0203009378, 0.0650935471, -0.0069637448, 0.0084012188, -0.0346148163, -0.0332472585, 0.0089729782, -0.0038427992, 0.0014176766, -0.0090205399, 0.0160818435, 0.0014611662, 0.0128666051, -0.0284400228, -0.010160774, 0.0197824929, -0.003440625, -0.0475964434, -0.0188739039, 0.0232725944, 0.0126189906, 0.0385778472, -0.0171354953, -0.0452953503, 0.0103488462, -0.0397091024, 0.0047384417, -0.0151370196, -0.034733288, 0.0005356308, -0.0715524703, 0.0006676748, -0.0102667445, -0.00036715, -0.0021246241, 0.0958730727, -0.0253224019, 0.0219969954, 0.0107720196, 0.0053882785, 0.0097452691, -0.0262004305, -0.026059052, 0.020110447, 0.021707708, 0.0182924494, 0.0346951373, -0.0210151635, -0.0010077842, -0.021773288, -0.0506176054, -0.0072291149, -0.0109249391, 0.0104230158, 0.0242841616, -0.0087515283, -0.0115632769, 0.0404977277, -0.0129069965, 0.0006859343, 0.0431710891, 0.0122949975, 0.0368325822, -0.0336359888, -0.0299407206, -0.0041579437, 0.0127558149, -0.0365980566, 0.0442308523, 0.0441886708, -0.0268879142, -0.0751762018, 0.0035789968, -0.0724141598, 0.0403709114, -0.0129825827, -0.0327075534, 0.019000547, -0.0083217192, 0.0511356741, 0.0419237167, 0.0333118699, 0.0151449358, 0.0541150309, 0.005930386, -0.0005184801, -0.011763596, -0.0387521721, -0.0180436634, -0.0038147762, -0.0591731817, 0.016903393, 0.0184280928, 0.0294090696, -0.0327886976, -0.0303505566, 0.0560562052, -0.0361880511, -0.0146225831, 0.0215850733, -0.0382718258, 0.0006238421, 0.0539890826, -0.0151415672, -0.0356655382, 0.0847063884, -0.0418170542, 0.061036054, -0.0062246067, -0.0226675067, -0.0065398212, 0.0265092049, -0.0226718448, 0.0460917391, 0.0267521273, 0.0180869568, -0.0043420726, -0.0212387703, 0.0661761388, -0.0225056726, 0.0458640568, -0.0688146949, 0.0227883346, 0.0349761955, -0.0231808238, -0.0469095483, -0.0699182972, -0.0283727106, -0.0182479732, -0.0153685054, -0.0339090936, -0.0515442751, 0.0049321945, 0.04269455, 0.013450793, 0.0010860733, -0.0116140395, -0.0017048317, 0.0088541666, 0.0453939624, 0.0168143604, 0.0625765473, -0.0132558327, -0.0097430423, 0.0597301535, -0.0235975385, 0.0094047589, -0.0213119593, -0.0449717082, -0.0051558767, -0.0084909666, 0.0461301282, 0.0028893035, 0.0222016107, -0.0524950325, -0.0097395042, 0.0933182165, 0.0101286657, 0.0114664054, -0.0108851539, 0.0021294467, -0.0210547261, 0.0170630068, -0.0013740172, -0.0937653109, 0.0230983831, -0.0101648066, -0.0267435852, -0.045883216, -0.0238022748, -0.0168909766, -0.1252034754, 0.0581139587, 0.0103600184, 0.0158605613, -0.0526180901, -0.0568638667, 0.0091146221, 0.0185399856, -0.0025410056, 0.0191495251, 0.0243423376, -0.0326027609, 0.0002386374, -0.007482206, -0.0675483048, 0.0481161214, -0.0363092571, 0.0593693741, 0.0259265117, 0.019138867, 0.0078058625, -0.0207223725, 0.0119434781, 0.0070193126, -0.0515315086, 0.0068631582, 0.0039974386, -0.011744367, -0.0004159729, -0.0504475497, 0.0253478158, 0.0227233339, -0.031893298, -0.0210664161, 0.0810134038, 0.0008582262, -0.0595784001, -0.0136552788, 0.0203095693, 0.0269854702, 0.078714326, 0.0061040157, 0.0171650238, 0.001058124, -0.0441891253, -0.033227358, -0.0027240065, -0.0658335239, 0.0361039042, 0.0262259003, -0.0380057134, -0.0654717013, 0.0329930596, 0.007858078, 0.0201249029, -0.0043711802, -0.0197638944, 0.048925288, -0.0107213436, 0.0028690572, -0.0168434437, -0.0651989505, 0.0461310633, -0.0096548386, 0.0060761636, 0.0449942276, -0.0173199791, -0.0057785795, 0.044532273, -0.097183235, -0.0771693513, -0.0010249412, 0.002012026, 0.0240402073, 0.014303783, -0.0590457879, -0.0301190317, 0.0329332538, 0.0555487387, -0.0182172898, 0.0172702074, 0.0022594789, 0.0087891957, 0.0138399778, 0.0185191147, -0.0302071124, 0.0192193668, 0.0201920867, 0.0246244334, -0.048108466, -0.0422038697, 0.0475455299, 0.0481165573, 0.0219697859, -0.0240987204, -0.0182553977, -0.0490728952, -0.0168986674, -0.0471225753, -0.0590388328, 0.035066586, 0.0231856424, -0.0116107417, 0.001633739, -0.033653453, -0.0192119945, -0.0447964445, 0.0500499308, -0.0319827758, -0.0136754848, 0.0047487426, 0.0128386803, 0.0286472086, -0.041958794, -0.018007474, 0.0243472829, -0.0159857124, 0.0252773743, 0.0056274305, 0.0252028164, 0.0184628014, -0.0297322944, -0.0148940505, -0.0609921888, -0.0525595807, -0.0306783188, -0.0326940306, 0.0316836499, 0.0581294149, 0.0221603215, 0.015309873, -0.0199973788, -0.0478260443, 0.0015737439, -0.0177494939, 0.0371227972, -0.0302174594, 0.0364575461, 0.0152913239, -0.0357715972, 0.0078312531, 0.0375992022, 0.0036900218, 0.0687593967, 0.005072332, -0.0713098571, -0.0355436318, -0.0801192373, -0.0603105314, -0.0338456482, -0.008416866, 0.0030194873, -0.0982886031, -0.0806962997, -0.0086416183, 0.0556130148, 0.0362030864, 0.0182898473, -0.0391887426, 0.0903038085, 0.0338520706, -0.0011472126, -0.057216078, 0.0396606773, 0.0038475117, -0.0221612491, -0.0129645159, -6.238771698e-33, -0.0107218185, -0.076212503, 0.0152659528, -0.019516781, -0.0230133384, 0.0028051732, -0.0309513751, -0.0290042106, -0.0246233772, 0.0613793842, 0.0198152047, 0.0333813317, 0.0065771295, 0.0021672919, -0.037553262, -0.001424631, 0.057701394, 0.0129092066, -0.0535454229, 0.0116470829, 0.0544005297, -0.0576723479, 0.0017340523, -0.0648086742, 0.056797538, -0.0404794775, -0.0585729443, 0.063085109, -0.0472170748, 0.0518390387, 0.0142289987, 0.0378140174, 0.0350792222, -0.028811669, 0.019846471, 0.0043877512, -0.0442848094, 0.0185133051, 0.0544815473, -0.0363528319, 0.0294190999, -0.015218189, 0.023919018, -0.0200505182, -0.0158686172, 0.0207494404, 0.0173464827, -0.0223803353, 0.0264324117, -0.0458776802, -0.0663608834, 0.0146342283, 0.0252232142, 0.0209725015, -0.0508227944, -0.0011150733, -0.0001569492, 0.0021296213, -0.0427935049, 0.0525593534, 0.0293984003, -0.0008435025, 0.0581757054, -0.0307108629, -0.0168384761, 0.0418458618, -0.0416018069, 0.0359785147, -0.0874457434, 0.0081241857, -0.0257980321, 0.0281697586, 0.0250294562, 0.1118583679, -0.0167710632, -0.029386675, -0.0835474133, 0.01710275, 0.0252963714, 0.0252679214, 0.0480954908, -0.0370108671, -0.0321016312, -0.0041431575, -0.0360020809, 0.0299363751, -0.0497636348, 0.0030644543, -0.010222936, 0.0167678799, -0.0501935743, -0.0003004517, -0.0023106455, -0.0583402477, -0.0062868833, 0.0264577139, -0.0100605497, -0.007867923, -0.0037494597, 0.024105316, -0.0389330126, 0.0181018468, 0.0234563835, 0.0128109595, -0.024591554, 0.0078160455, 0.0276903715, 0.0186053477, -0.0559181795, 0.0340873897, -0.0354385674, 0.0286555234, -0.0045641158, -0.0388552248, 0.0255514514, 0.0182041358, -0.0112256594, -0.0091105755, 0.0150150033, 0.0208880901, -0.014911362, 0.032606937, -0.0032196371, 0.0261955187, -0.0351130962, 0.0188098997, -0.0286615547, 0.0096972194, 0.0152381305, -0.0499080271, 0.0062726694, 0.0134224072, 2.522e-7, 0.001140675, 0.0648407713, -0.0112052253, 0.0335967951, 0.0297312364, 0.0131403999, 0.0086513553, -0.0324118361, -0.0065531824, -0.0693509206, -0.0150491875, 0.0615264401, 0.0147460643, 0.0570921563, -0.0236039553, 0.0375126414, -0.0513349026, -0.0430828892, -0.0443650447, -0.031098865, 0.0319192223, 0.0577630252, 0.038536448, -0.010367509, -0.0028985171, -0.0472853556, 0.0505331047, 0.0422290042, -0.0836996734, 0.0275369063, 0.0484219566, -0.0057611517, 0.0208425466, 0.0078748828, -0.0013759143, -0.0273891967, -0.0207921118, 0.0679445416, 0.0182140227, 0.0200876892, -0.0560973696, -0.0539028309, 0.0331523716, -0.0543375164, 0.0404692255, -0.01247002, -0.0040998124, -0.0678342581, -0.0066334079, -0.0015292598, -0.0147684785, -0.0350162908, -0.0328645557, 0.0062352121, -0.0108344872, 0.0506169125, 0.0160942022, -0.0353166759, 0.0117753465, 0.0015503888, -0.0616246089, -0.0992050245, 0.04073558, -0.0156560838, 0.0349523239, -0.0437311791, 0.0661349595, 2.234354866e-34, 0.0471925661, 0.0168748181, -0.0230097119, -0.0319459066, 0.0855543688, 0.0528847352, -0.0529627651, -0.0141803836, 0.0169309806, -0.0526906922, -0.0148084247 ]
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.0919061601, 0.0994861126, -0.012645795, 0.0316940658, -0.0038125066, -0.0171740446, 0.0315221623, -0.0440808088, -0.037270844, -0.0067044338, -0.0409662612, -0.1048857495, -0.0189431533, 0.0479978435, 0.0092961369, -0.0783858001, 0.0278324634, 0.0036118883, 0.0291689653, -0.0156304836, 0.0023227304, 0.0185461491, -0.0392798036, 0.0587928221, -0.0005370905, -0.0365638584, -0.0396993011, 0.0074724304, 0.0792086199, -0.0010352088, 0.0610717833, 0.055351682, 0.043621406, 0.0112336092, 0.0000020311, -0.0101311933, 0.0029076717, -0.0170874801, 0.0243490916, -0.004532068, 0.0300507676, 0.0174597129, -0.0002151038, 0.0159782711, -0.0826167911, -0.0308705252, 0.0454996862, 0.0374068841, 0.0591830388, 0.0955123678, -0.0138833709, -0.0169958305, -0.0281061251, -0.0370267928, 0.0484169014, -0.0305771586, 0.0010375532, 0.0022816984, 0.0162022617, 0.0193198361, -0.0156503171, 0.0032655955, 0.0080721602, -0.0481164753, 0.0305595789, 0.0432566963, 0.0149251111, -0.0021684919, -0.0185426287, 0.0971803367, 0.0801859722, 0.008727802, 0.0011332416, -0.001959272, -0.007294558, -0.0075948504, -0.0295980927, 0.0360437222, 0.0032468461, -0.0146808224, -0.0030622536, 0.0518712215, -0.0320873521, 0.013599446, -0.0081707565, 0.0438667983, 0.0189139117, -0.0285338126, -0.0501221828, -0.0223593023, 0.0014193467, -0.0551490225, 0.0245267171, 0.0184175652, -0.0387346335, 0.0277443547, -0.0512355901, 0.0161603428, 0.0034229399, -0.0126210302, -0.0144522712, 0.0277641732, 0.0083231162, 0.0003008736, 0.0236925669, 0.0217565782, -0.0067785191, -0.0137088187, -0.0230630245, 0.0080869999, -0.0268839672, -0.0395977683, -0.0412965007, 0.0220692679, -0.0348149277, -0.046209868, -0.0280559175, 0.0464441255, -0.0258389954, -0.0004902199, 0.024811808, 0.0698216707, -0.0518735796, 0.0148714576, -0.0146289309, -0.0054110843, -0.0433159582, -0.0040794583, 0.0408905037, 0.00279553, -0.0050525302, 0.0246138144, 0.0291907433, -0.0319988616, -0.0399104096, 0.0378774628, -0.0340598673, -0.0069932914, 0.0426179543, -0.0583715551, -0.0529472753, -0.0609541126, -0.0308161434, -0.0210143272, 0.0417490974, -0.0167118628, -0.0096349083, 0.0020594827, 0.0220228657, 0.0245711785, -0.0128462492, 0.0600662231, 0.0021668861, 0.0146348039, 0.0279151462, 0.0363461673, 0.0336668193, 0.0357098915, 0.0308238119, 0.0077176415, 0.023342263, 0.0183534008, -0.0202501826, 0.0142594343, -0.0098024504, -0.002869908, 0.0305768829, 0.0166598354, -0.0195765812, 0.0325580053, 0.0574005768, 0.0257238131, -0.0600231513, -0.026645558, 0.053995464, 0.0323507264, -0.0130251925, 0.022322746, 0.0714406297, 0.0379607491, 0.0070421789, 0.0120418612, -0.0042536003, 0.0186197627, 0.0433948562, -0.0421196893, 0.0100923991, -0.0056073936, -0.0197438467, -0.0088137351, 0.0469766371, -0.013246296, -0.0066905241, -0.0005394306, 0.0063938671, 0.0168481302, -0.026644988, 0.072035186, 0.0217966642, -0.0907954574, -0.0022611085, 0.005961996, 0.0163869672, 0.0900881514, 0.0569617935, -0.02671884, -0.0505919792, -0.0157114845, -0.0202433877, 0.0393106602, 0.0273794904, -0.0367621481, 0.0241985638, -0.0686450079, -0.0232451186, 0.0019083018, 0.0069289096, 0.0565022565, 0.0258249808, 0.0030257956, 0.024400143, 0.0301839933, 0.0190011989, 0.0002945411, -0.0559759922, -0.0170005653, 0.019929843, 0.0122690899, 0.0433345512, 0.0360255688, -0.0080300756, 0.0026308231, 0.0230301507, -0.0137386024, -0.0057872171, 0.0549819954, -0.0947993845, -0.0433269069, 0.0174456872, -0.0185380913, 0.0067450195, 0.039100904, -0.0105253337, -0.0575058572, 0.0332707912, -0.0296047386, -0.0127874613, -0.0527939722, -0.0103548001, 0.039004717, 0.0433845818, -0.0395707972, 0.0355852023, -0.0013062831, 0.0078123622, 0.0655666664, 0.0499305762, 0.0140064405, -0.0660885721, -0.0072094761, -0.0206097309, -0.0072103823, 0.0114071919, 0.0430804007, 0.0040966095, -0.0129703665, -0.0443404578, -0.0871051177, 0.0230641868, -0.0194347892, -0.0225285068, 0.0429431759, 0.0275160614, -0.0073439768, 0.0081785265, -0.0845174715, 0.0170504991, 0.0356026329, -0.0294739753, 0.0248897336, 0.0171541981, -0.03055235, -0.0406469814, 0.0238889139, 0.0034145177, 0.0215678643, -0.0152077265, 0.0050356421, -0.0133281099, -0.0139600281, -0.0036714773, 0.0452266447, -0.0337439254, -0.0421948656, 0.0290780924, 0.0097006299, 0.0495432317, 0.0065135132, 0.065010868, 0.0538920984, -0.0202659704, -0.0340101384, -0.0441787802, 0.0258430839, -0.0432610251, 0.0075795143, -0.0412499942, -0.0607303642, 0.0220878161, 0.0287774242, 0.0343753882, -0.005382021, -0.073644422, -0.0036043841, 0.0247260276, -0.0703710318, 0.0731503069, -0.0077001816, -0.0532096885, 0.0083733974, -0.0277629662, 0.0006414704, 0.0613716431, -0.0088855941, -0.0229875091, -0.0093148537, -0.0040033357, -0.0524658412, 0.0525134653, 0.0000140109, 0.0378772132, -0.012475743, -0.0399910808, -0.0397526361, 0.0038765543, 0.0239310879, -0.0308083985, 0.0066654179, -0.0266972929, -0.0089387903, 0.0058691022, -0.0250372849, -0.0530899242, -0.0666924566, 0.0294395573, 0.0123091359, 0.0256953128, -0.0381937064, -0.0238360651, 0.0312779881, -0.0313837528, 0.0017193595, -0.0331557505, 0.0116715673, -0.0342997275, 0.0427865274, 0.0501273572, 0.0188352447, -0.0262685437, -0.0326230489, 0.0468137041, 0.0556055158, -0.0130884731, 0.0098335529, -0.0122202346, -0.0204142816, 0.0403249562, -0.0009671183, -0.0025435935, -0.0106807388, 0.0736861974, -0.0089444779, -0.0444981456, 0.1206076145, 0.0248736758, -0.0678278506, 0.0122167943, 0.0159964506, 0.045719251, -0.0031753483, 0.0120228026, -0.0704614595, 0.0164229702, -0.038072601, 0.0377874635, -0.0327908769, -0.0512712598, -0.0318951644, -0.1150250509, 0.0599382818, 0.006479932, -0.0360046849, 0.0045928084, 0.0120891146, 0.0084025273, -0.003145485, 0.0212696902, -0.0020770656, 0.0056060795, 0.0092664557, 0.0257335138, -0.029600136, -0.0536627918, 0.0018811517, -0.0329909958, 0.0873807967, 0.0225780234, 0.0703047439, 0.0516376905, -0.0038646613, -0.0284613464, 0.0180393793, -0.0132193901, 0.0090101715, 0.0829029605, -0.030659195, -0.0156587791, -0.0166292433, 0.049785085, -0.0098410565, -0.0380196497, 0.0304408502, -0.0193005316, -0.0555642322, 0.0117539475, -0.0074957167, 0.0794663355, 0.0612714663, 0.0618440434, -0.0036969762, -0.0537017509, -0.0257530138, 0.0051036519, 0.0345289297, -0.0745277703, -0.013476002, -0.0194916278, -0.0000769808, -0.0300190393, -0.0679789931, -0.0542789958, 0.0059656813, 0.0434813686, -0.0095382631, -0.0060333833, -0.0319003351, -0.023469869, -0.0491013899, -0.0319327451, -0.0437962413, 0.018945029, -0.0171361715, -0.0692837909, 0.0331752487, -0.0543551445, -0.0052496921, -0.0042747329, -0.0865412652, -0.0720317885, -0.0169829708, 0.0439539142, 0.0226088483, 0.0886778384, 0.0073981993, -0.0451390594, 0.0071179974, 0.0044818791, -0.0137036787, 0.0149571123, 0.003620615, 0.0413450301, -0.0391491614, 0.030493265, 0.0068228943, 0.0095121283, -0.0119025167, 0.0322424732, -0.0489514805, -0.0933915377, 0.0041055307, -0.0308027901, 0.0076737809, -0.0052546426, -0.0009229946, -0.0529983677, -0.0036214271, -0.0830278024, -0.0060624466, -0.0554490909, -0.0125107607, 0.0411248915, -0.0342851318, 0.0065379795, -0.0419166908, -0.0429060869, 0.0103273736, -0.0539100207, 0.0022957427, 0.0408676825, 0.0046685003, 0.021400433, -0.0014168931, -0.0173624195, -0.0038124281, -0.0016221871, 0.0254505705, 0.0157275703, 0.0737227276, 0.0100300293, -0.035098847, 0.0200013947, 0.023164358, -0.0921987519, -0.0149711501, -0.0252376907, 0.0058222194, 0.0261893533, -0.0213451497, 0.0415338799, -0.0377070345, 0.0260646399, 0.0002499105, 0.0431248769, 0.0013119329, -0.0319880359, 0.0224924088, 0.0019846365, -0.0110803619, 0.0297904648, 0.1022746041, 0.0361775532, 0.0143435458, -0.0198517554, -0.0028084731, -0.0649141073, -0.0246208385, 0.0289147925, 0.0610603765, -0.0149158966, 0.013635735, -0.0354393944, -0.0241601616, -0.0194435399, 0.0050986097, -0.013732492, 0.0148709463, 0.0292538311, 0.0422740206, -0.019795429, -0.0189953502, -0.0739314631, 0.0045326496, -0.0296298712, -0.0140772611, -0.0433736891, -6.296864629e-33, -0.0500836819, -0.046035476, 0.0287512392, 0.0340330116, -0.0879486278, -0.0092940154, -0.0333113447, -0.0038350145, 0.0434013344, 0.0055916905, -0.0046070232, -0.0164634492, 0.0096236328, 0.0568080582, 0.0066633504, 0.0165923312, 0.0552624166, 0.0052697323, 0.0021421325, 0.0468344875, 0.0318560824, 0.0224555265, 0.0011594031, -0.0729946718, 0.0122814784, -0.0188266486, -0.0334618278, 0.0077050105, 0.0201556161, 0.039755661, -0.0129018584, 0.0052352077, 0.0057162307, 0.0010841173, -0.01177561, 0.0640207157, -0.0887829959, -0.0104957856, 0.0323054045, 0.019292457, -0.0324769132, -0.043195188, -0.0228111334, -0.0349191241, 0.0383440703, -0.0147745581, 0.0285540298, -0.0245296825, -0.0117964074, -0.0176383555, -0.0481412262, 0.0180784762, -0.0390942134, -0.0241429433, -0.0029849906, 0.0496464893, 0.0096427426, -0.0505216308, -0.0435818434, 0.0190987978, -0.0390137024, -0.0007476066, 0.0118809678, 0.0974668935, -0.0061792941, 0.0488590971, 0.0724223629, 0.0341461077, -0.0050857197, 0.0006274401, -0.0254268534, 0.0445355438, -0.0283537805, 0.048575405, -0.0359024368, -0.0012453881, -0.0378021635, 0.040965721, 0.0317290239, -0.0336482413, 0.0370710269, 0.0104092835, -0.014057776, -0.0152287176, -0.01903704, -0.0186176002, 0.0001925393, -0.0190741159, -0.0006024193, 0.0364047252, -0.0541022718, -0.0120489849, 0.0280956123, -0.0537811592, -0.0058228965, 0.005529677, -0.0313700587, -0.0065941289, -0.0245460682, -0.0001352073, -0.049741365, -0.0349559784, 0.0648847818, -0.0088585103, 0.0013144669, 0.0407225452, -0.0015903426, 0.0081325257, -0.0445374995, -0.0154105229, -0.0290962048, 0.0655888617, -0.0284851063, 0.0670578852, 0.0010289209, -0.0154692652, -0.0309769455, 0.0329774655, 0.0107516851, 0.0097627742, -0.0244418904, -0.0024131706, 0.0177702121, 0.0093472246, -0.0416376442, 0.0300505962, -0.0035420172, 0.0024518752, 0.0514761508, -0.0198020656, 0.0013930281, -0.004773655, 2.69e-7, -0.0048859958, -0.0090308357, 0.0338739939, 0.0126528786, 0.0344327465, 0.0209486429, 0.0056334562, 0.0599619709, 0.017046934, 0.0058160047, 0.0540278926, 0.0330927521, 0.0474890098, 0.0139160557, -0.0946477205, -0.0261359606, -0.054389067, -0.0393172912, -0.0300908536, -0.0144016575, 0.089281857, 0.0422919951, 0.027031878, -0.00540839, -0.0019034134, -0.0021292998, 0.0817165822, 0.0017928241, -0.0279929265, 0.0559105128, 0.0374775417, -0.0316235982, -0.0033527352, 0.0092353821, -0.0112805022, 0.0253249239, -0.0082608992, 0.0699394345, -0.0012386563, -0.0697720051, 0.0139775239, 0.0129724424, 0.0031456389, -0.0293944348, 0.0539906994, -0.0301892366, -0.0262552015, -0.0120470226, -0.0343234986, 0.0201407932, -0.0030318773, -0.0146384323, -0.0210372675, 0.0388172269, 0.0075019579, 0.0147535978, 0.0136062149, -0.089247182, -0.0084460136, -0.0344951227, -0.0895368159, -0.0264252648, 0.0066287452, -0.0263201464, -0.0090749273, 0.0131921945, 0.0200325195, 2.383433723e-34, 0.0188943055, 0.030677788, -0.0275411047, 0.0239984822, 0.0215961877, -0.0140421521, 0.0258811098, 0.014823461, 0.0476625673, -0.0522246473, -0.0488666296 ]
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.0309274364, 0.0589554198, 0.013149742, 0.0500787944, -0.0036120443, 0.0398426577, 0.0148663688, -0.0146367289, 0.0145178121, -0.0369993523, -0.0203259513, 0.0170760993, 0.0044256668, 0.0382268429, 0.0158020295, -0.0005479182, 0.0312386192, 0.0058777896, 0.0531554595, -0.0341577195, 0.0205002688, 0.048463054, -0.0064107953, 0.0159754306, 0.0100455843, -0.0105301524, -0.0236114003, 0.0093555413, -0.0067195068, -0.0382508226, 0.0323498063, 0.0285885483, 0.036838349, -0.0109929629, 0.0000021595, -0.0246686209, -0.0175215304, -0.0029623162, -0.0048772213, -0.0202851947, 0.0000781022, -0.021075774, 0.0259850267, 0.0217446145, -0.0422255658, 0.0003246529, 0.017419504, 0.1065403149, 0.0808299109, 0.0525997058, -0.0245201718, -0.0291335676, -0.0260071214, -0.0101771783, 0.0123433862, -0.0362340398, 0.0057053142, -0.0077104182, -0.0505849868, 0.0324357785, 0.0152460346, 0.0060539101, 0.0309318528, -0.0241972208, -0.0033636333, 0.0214527417, 0.0258001313, -0.041232422, -0.0246395618, 0.0449363142, 0.0530527085, -0.0110276984, -0.0160662066, -0.008802725, -0.0417222604, -0.0003054869, -0.0106443055, 0.0184061695, -0.0163698494, 0.0244084597, 0.0287939291, 0.0290171448, 0.0103686061, 0.0534613989, -0.0028066272, 0.0635107383, -0.0231983624, -0.0264678802, 0.0406183563, 0.047339946, 0.0088687846, -0.0398240872, 0.0102993269, 0.0431969315, -0.0314304046, 0.0203758664, -0.00214759, 0.0248811096, 0.0021557207, -0.0353647955, -0.0091639319, 0.0397982523, 0.0122606419, 0.0346817076, -0.0288973916, 0.0146105494, -0.0019045392, 0.0237095095, 0.0143992603, -0.0270836856, -0.0257020537, -0.018361982, -0.0028178815, 0.0457367413, -0.0451259762, -0.0035580064, -0.0479287766, 0.0008916438, -0.0406226441, 0.0130749494, 0.0168539416, 0.0453783944, 0.0005166846, -0.0102844229, -0.0822399706, 0.0302789547, -0.0321662128, 0.054765705, 0.0093463846, -0.0289377775, -0.0141758453, 0.0163290892, 0.0156870112, -0.0107867923, 0.0049080183, 0.035270229, -0.0215337351, -0.0149367508, -0.072189033, -0.0686166883, -0.0200928897, -0.0781557411, -0.0103158923, -0.033969298, 0.0288708918, 0.0089047523, 0.001120168, -0.0191895161, 0.0143194841, 0.0141464639, -0.008649257, 0.1003196985, -0.0140136257, -0.0243736245, -0.0200741682, 0.0235577822, 0.0111856377, 0.0613669604, 0.0025092547, 0.0594103634, 0.0175329298, 0.0091940109, -0.040998593, -0.0577080697, 0.0272984952, -0.0130265541, -0.0408516861, 0.0302069671, -0.0760210827, -0.0183811747, 0.0222005304, 0.052866634, -0.0126096597, -0.002043176, 0.0405371562, 0.0294211209, -0.0206723548, 0.0543197952, 0.0407458544, 0.0181051884, -0.0072453325, -0.0194523856, -0.0015720723, 0.0733317658, -0.0356790908, -0.0404477082, 0.046451129, -0.0193650778, -0.0435343273, -0.079629682, -0.0013984517, -0.0255935714, 0.0440907292, 0.0256038737, 0.0622368306, 0.0148412688, -0.0884600803, -0.0033514928, 0.0319281183, -0.0614882112, -0.0155637404, -0.0539683215, 0.0784123242, 0.0986999869, 0.006998403, 0.0201800801, -0.0002264426, -0.0151469344, -0.00083191, 0.0654882491, 0.0381133556, -0.0316748209, 0.0224089753, -0.0713022873, -0.0381221808, -0.0194673911, 0.0063270205, 0.013072053, -0.010390643, 0.0501935855, 0.0200726353, -0.0002490247, 0.0097779129, 0.0050757262, -0.0211731587, -0.0177258309, 0.0203019809, 0.0209726505, 0.026566891, 0.0362101905, 0.024314858, 0.0069627748, 0.0091788303, -0.0312311519, -0.0703317001, -0.0035802252, -0.0562982, -0.0768702403, -0.007131116, -0.0188249797, -0.0545581393, 0.0043425849, -0.0422849841, -0.0024291829, 0.0104221599, -0.0178761948, 0.0231251586, -0.0561569072, -0.0262517687, -0.0088986009, 0.0165518336, 0.0247697737, 0.0566826686, -0.0057547041, -0.0242329575, 0.0001223631, 0.0062360442, -0.0079356134, -0.0140117425, 0.0075961109, -0.0167703759, 0.0175331868, -0.0043638456, -0.0034438658, 0.0075559271, -0.0222422238, -0.0265136901, -0.0718519241, -0.0170802996, -0.0083419783, -0.0000837782, -0.0008400587, -0.0024218687, 0.0364465751, 0.0398528427, -0.0022139186, 0.0294233877, -0.0057157744, 0.011346397, 0.0567492768, -0.0183035005, 0.0215870515, -0.0320306197, 0.0232818089, -0.0300107095, 0.0371642187, 0.0438766144, 0.0099745216, -0.0438288897, 0.0480763316, -0.0486888103, -0.0060668993, -0.0031222149, -0.0538284443, 0.0358685516, 0.0108690914, 0.0111273285, 0.0477751717, 0.0220959578, 0.0564867631, 0.014449955, -0.0112428581, -0.0799784958, 0.0168641582, -0.0566415824, 0.0107012605, -0.0171068739, -0.0242158193, -0.0170346107, 0.0746976808, 0.0202863719, 0.0128194531, -0.0876672938, 0.0343791619, 0.0202914216, -0.000962728, -0.0233970061, -0.0327492692, 0.0246468149, 0.0525279678, -0.0381146334, -0.0283013433, 0.0987888351, -0.0177162588, -0.0014758371, -0.0246243794, -0.0248380415, -0.033329986, 0.022991173, -0.0666285455, -0.0054599717, 0.0008671357, 0.02154506, 0.01938124, -0.0456042401, 0.0048534474, -0.0305041652, 0.0373219773, -0.0159830488, 0.0261667315, 0.0482954904, -0.0456876233, -0.0256224461, -0.0499740317, -0.0482618883, -0.0134108262, -0.0215595476, -0.0120326895, 0.0325904265, -0.0007155265, -0.0114850486, -0.0231514852, -0.0050047659, -0.0447292551, -0.0035696556, 0.0007222734, 0.0349439085, 0.0113824634, 0.0376981124, -0.0296751801, 0.0308255199, 0.0440653898, -0.0401035249, -0.0344210006, -0.0537891947, 0.0265271179, 0.0017574801, 0.0492764004, 0.0399515778, -0.0294962935, 0.0653121993, -0.0419065803, 0.0094710495, 0.1220458671, 0.0162059274, -0.0605793111, 0.016545292, -0.0244479086, 0.01321276, 0.0383457989, 0.0022570204, -0.0364195704, -0.0674414262, -0.0044289604, 0.0377721116, -0.0256908815, -0.0239450186, -0.0173621234, -0.1434027553, 0.0352383032, -0.02203805, 0.0220117923, -0.0417837538, -0.0637286454, -0.0000800873, 0.0160493478, 0.0066576721, -0.0286653154, 0.0198133737, -0.0085912887, -0.0004145699, -0.0029531147, -0.0687527135, 0.0553243868, 0.0085405987, 0.0169580877, 0.0123202223, 0.0565951206, 0.0295705758, -0.0402434692, 0.059112411, -0.0435011052, 0.0192031898, -0.0430746302, 0.0610966198, -0.0395337716, 0.0020113243, -0.0523192771, 0.0074501261, -0.0589716285, 0.0020082332, -0.0263277031, 0.0555323735, -0.034687575, -0.0270906109, 0.0020739546, 0.0301123429, 0.0306026079, 0.0771779492, 0.0197309349, 0.0056606424, -0.0302721132, -0.039277453, -0.0143130058, -0.0473364554, -0.0371504575, 0.0019622273, 0.0162794255, -0.0197916776, -0.0352156088, -0.0506072715, 0.0217089653, 0.0267949663, -0.0357037447, -0.022575276, 0.0173381492, -0.0440126806, -0.0402112193, 0.0388910994, 0.001935361, 0.0217225347, 0.0332491845, -0.0194816235, 0.0283385143, -0.0230185818, -0.0190146193, -0.0004078152, -0.0199253522, -0.0492244698, -0.0511125587, 0.0578521751, 0.0167098232, 0.0504156016, -0.0085594011, -0.013528551, 0.0507809781, 0.0461673401, -0.0406924449, -0.0005680752, 0.0349853151, 0.0580333024, 0.0203974824, 0.0449602045, -0.027068235, 0.0102219488, 0.022466341, 0.0198047981, 0.0024360004, -0.0004234568, 0.0141717428, -0.0064231972, 0.0288268384, 0.0292766131, -0.0243656989, -0.0483133718, 0.0101324143, -0.0310411528, -0.0297915339, -0.0587341748, 0.0015311334, -0.0194131024, -0.0116964523, -0.055344414, -0.035683535, -0.027059393, 0.0329334512, -0.023585584, 0.0655490756, 0.0356646366, 0.0402958989, -0.001890379, 0.0052475468, -0.0258175526, -0.0011753616, 0.002318521, 0.0104421414, -0.0226333085, 0.0526868701, 0.0319764018, 0.0251355506, -0.0344976112, -0.021795949, -0.0102646202, -0.032266479, -0.0094993524, -0.0406749137, -0.0136331106, -0.0192217696, 0.0637618005, -0.0116378497, 0.0204495769, 0.0454268754, 0.0501457751, -0.0081876414, -0.0337101631, 0.0355468467, 0.0094393715, -0.0178563651, 0.0115038874, 0.0515485443, -0.0804035813, 0.0337405577, -0.0091066184, -0.0355792716, -0.0358431973, -0.0149759781, 0.0357548669, 0.0099893156, 0.0185778998, 0.0289407279, -0.0264810808, -0.0755099133, 0.0045114602, -0.0301868264, -0.0140494872, 0.0153046949, -0.0066868882, 0.0655344129, 0.0153672667, 0.0274159666, -0.0420044102, -0.0042649554, -0.0650948584, -0.0075533553, -0.046219077, -7.329977961e-33, -0.0109404037, -0.0553252995, -0.0075156847, -0.0322316401, -0.0241219122, 0.0374048315, -0.0995360985, -0.029433066, 0.0250045508, 0.0698522925, 0.0022477703, 0.036023438, 0.0084356191, 0.0157255512, 0.0063463217, -0.0177862607, 0.0470167585, 0.0176231898, -0.0168956611, 0.0137853846, 0.0488708764, -0.0020532389, 0.0127010699, -0.1039021164, 0.0416520946, 0.0115227867, -0.0418747813, 0.0537072234, -0.0083506946, 0.0268920958, -0.0164375566, 0.0347150378, 0.0265233517, -0.0185340121, 0.0146017512, 0.0421542078, -0.1020674184, -0.0241489876, 0.0111706126, -0.007863719, -0.0523367524, -0.0379736535, 0.0239485204, 0.0182958376, -0.0180024095, 0.0058311685, 0.0145057403, -0.0040190071, 0.0586829595, -0.0696775764, -0.0182557125, 0.0022018736, -0.044135306, -0.0063444711, 0.0195667241, 0.0379393622, -0.0075625223, 0.0508435667, -0.0550183468, 0.0252163317, -0.0560894199, -0.040813148, 0.0416033827, -0.0529501066, -0.0085451826, 0.0915337503, 0.0081885867, 0.0057552396, -0.0605486594, 0.0341249779, -0.024574656, 0.030014392, 0.0242415071, 0.0265293997, 0.0336423442, -0.0274969395, -0.0576400235, 0.0176127646, 0.0127982199, 0.023887502, 0.1067067236, -0.020867832, -0.0430102125, -0.0346791968, 0.0041657011, -0.0334371924, -0.0510828607, -0.0339024328, 0.0133496365, 0.0357922874, -0.0254075136, -0.0249176025, -0.0072340108, -0.0353972726, 0.0086148214, 0.0475764535, 0.0037092264, -0.0083098635, 0.0134428535, -0.0074308743, -0.0255046375, -0.0150064426, 0.0086491294, -0.0007190395, 0.0144767398, 0.0276276954, 0.034260571, 0.0255714133, -0.0619745068, -0.0178625006, -0.0714701191, 0.0269226804, -0.0414462686, 0.0568077303, -0.0033475226, 0.0408268236, -0.0449654572, 0.0824593678, -0.0377635509, 0.0654802471, 0.0071205758, 0.0145071959, 0.0147088505, 0.0228426866, -0.024258174, -0.0462452136, -0.003128333, -0.0768919736, -0.0119861001, -0.0437945426, -0.0147613604, 0.024654353, 2.931e-7, 0.0077278512, 0.0886767879, 0.0122856973, -0.0083491271, -0.0004138198, 0.0668984428, 0.0107631311, -0.0289096367, 0.0011365707, -0.0254447591, 0.0019532726, 0.069583334, 0.0456773639, 0.0602917336, -0.0291534346, 0.0237253159, -0.0107839918, -0.0460754447, -0.0084670177, 0.0216129832, 0.0984469205, 0.0636808351, 0.0317052677, -0.0162985679, 0.0018958335, -0.0044587976, 0.0536851771, -0.0013230302, -0.0060518454, 0.0017704009, -0.0130821653, -0.0200634878, 0.003408401, 0.0128826108, 0.0060948636, 0.0025493493, -0.0404026918, 0.0805147886, -0.0118254367, -0.0820679069, -0.0085526332, 0.0302653071, 0.0127984593, -0.0121303005, 0.0684939772, -0.0860691816, -0.0823923275, -0.0070752162, -0.0110271033, -0.0102836899, -0.01509469, 0.0192460455, -0.0174386967, 0.0022480888, -0.0029145698, -0.0113928067, -0.0364596099, -0.1009544656, 0.0069802436, -0.0176232439, -0.0334333256, -0.0265397932, 0.0158798974, 0.0477261022, 0.0625461489, -0.0421281084, 0.0323008895, 2.814737983e-34, 0.0531152152, -0.0012755077, -0.0010287984, 0.0204517171, 0.0814958066, 0.0300800204, -0.0284962226, -0.0086230403, 0.0639245287, -0.0549772568, -0.0148022305 ]
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.0147234788, 0.0566830933, -0.0054346663, 0.0331928357, -0.0240364801, 0.0318288431, 0.0229526367, -0.0095109604, -0.0056553697, 0.0099315858, 0.0020156447, -0.0924847648, 0.0191121846, 0.0135316402, 0.0066956659, -0.0089425026, 0.0207004864, -0.0453367829, -0.0359526202, -0.0175660383, 0.0373811461, 0.0408341251, -0.0085222339, 0.0110566169, 0.0053859372, -0.0010194917, -0.0498092808, 0.0073006833, -0.018202424, -0.0062538637, -0.0338053405, 0.0099151786, -0.0019552864, 0.051347781, 0.0000017475, -0.045428887, -0.0576416962, -0.0364493281, 0.0193802137, -0.0083661862, 0.0275236033, -0.055008471, -0.0221531354, 0.0613473319, -0.0239038114, -0.0408806913, 0.0589565337, -0.0172953848, 0.0677433759, 0.0364483818, -0.0017269766, -0.0731099844, 0.0072236317, -0.0082255192, -0.0219150521, -0.0414365008, 0.0309838001, 0.0067553441, -0.0586830229, -0.0196790397, -0.0314864442, 0.010210678, 0.0207508616, -0.0005685855, 0.0004109187, 0.0270090159, -0.0364215299, -0.0578988679, 0.0237562694, 0.0723953098, -0.008410533, -0.0231547654, 0.0273403823, 0.0470423363, -0.0423114784, 0.0185531192, -0.0732528418, 0.0785051659, -0.0251927897, 0.0207183938, 0.0569402501, 0.0095808813, -0.0097209355, 0.0138782971, 0.0095405271, 0.0608418882, 0.0277159512, -0.0210037027, -0.0088613359, 0.004266799, -0.0292415805, -0.035974402, 0.0289770775, 0.0201115552, -0.0026847504, 0.0283703227, -0.0457651392, -0.0515368879, 0.0282353479, -0.0478737317, 0.0580416098, 0.0539762415, 0.0134391366, 0.0117480094, -0.0621571727, 0.0031064437, 0.0056117359, -0.0211805943, -0.0396158621, -0.0385932438, -0.0276521202, 0.0117655043, -0.0926435739, -0.0109272543, -0.0604531057, 0.0249435641, -0.0134936683, 0.0312307253, 0.033020243, 0.0482940562, -0.0134805162, -0.0129592381, -0.0450918004, 0.006576438, 0.0230493881, -0.007002288, -0.0367573015, -0.002747589, -0.0216873176, -0.1016549468, -0.0044622789, 0.0108726798, 0.0183489993, 0.0285640154, -0.0222228914, 0.005475305, 0.0151094366, -0.0072330325, -0.0303969122, -0.0142149562, -0.0035930742, -0.0474258959, -0.0222158469, -0.0512372628, 0.0246092342, 0.0350980833, -0.0041309954, -0.0333214737, -0.0101417173, 0.0224676058, -0.0115205729, 0.0309007727, -0.011159569, 0.0110737216, 0.0391827226, -0.0178895518, 0.0685957074, 0.0669935942, 0.0264735818, 0.0226296522, 0.0481491461, -0.0129364608, 0.0133533264, 0.0467168801, 0.0343045369, 0.041213721, 0.0371318124, 0.0298776589, -0.0028932847, 0.0790146589, 0.0195860285, 0.065530397, -0.0136786681, -0.0141767394, 0.0761120021, 0.0374222994, 0.0142437331, 0.0688543394, 0.0565126315, 0.0318791829, 0.0158051997, -0.014856359, 0.0293586683, -0.0093417829, -0.0200218707, 0.0369190574, -0.0094972588, 0.0527137667, -0.0578386411, -0.0080564199, -0.0168793034, -0.0472631045, -0.0061782985, -0.0364836603, 0.1041022241, -0.0179611258, -0.047393322, -0.0155669712, 0.0227486715, -0.0485335886, 0.0655770525, -0.0441101417, 0.0579405725, 0.0352447703, 0.0686042532, -0.0031500056, 0.0168090053, -0.0422671027, 0.0034893793, 0.0454170741, 0.0081910798, -0.0568664037, -0.0037093733, -0.0637686029, 0.0209205914, -0.0112484144, 0.0032300844, 0.0204366874, -0.0513921827, 0.044876989, 0.025225684, -0.0403312668, 0.0076778294, 0.0327203013, -0.0263613798, 0.0227480363, -0.0058550015, -0.0086739073, 0.0200643074, 0.0150938705, 0.0073530599, -0.0144747412, 0.0350011475, -0.0082240608, 0.0028910628, 0.0130573707, -0.037371818, -0.024342183, 0.013060567, -0.0200887732, 0.042169828, 0.0178907625, -0.0393468104, -0.0433917753, 0.0853921399, 0.0199741535, -0.0046464289, -0.0668217018, 0.0318285786, -0.0046278313, 0.029340528, 0.0048785442, 0.0418987162, -0.0236392859, -0.0105589963, 0.004338318, -0.0019435529, 0.0405048281, -0.0193954036, -0.0025386841, 0.0717903599, 0.0130713247, 0.008025649, 0.0006719188, -0.019912336, -0.0314609073, 0.0219015013, -0.103017658, 0.0357191823, -0.0342745632, 0.0505543798, 0.0289771445, 0.0337551124, -0.000333601, 0.028462857, -0.0404691584, 0.0109566348, 0.0591456294, -0.0249949601, -0.0059502604, -0.0226984601, -0.0177721027, -0.015889341, -0.0124412226, 0.0326836407, 0.0360908732, -0.0324374065, -0.005496759, -0.0386968032, -0.002620209, -0.0324630067, 0.0360578261, 0.0060313228, -0.0523922965, -0.0018905664, -0.0051322854, 0.0106405187, -0.0050833696, -0.0138821593, 0.031630002, 0.0469474867, -0.0258003511, -0.0003992731, -0.0436160006, -0.0668127164, -0.0230640452, -0.0147626735, -0.014181314, -0.0542758703, 0.0592449903, 0.0054420265, -0.0119351754, -0.0690020397, -0.003618794, -0.0488109663, 0.008566672, -0.0252053682, 0.0168127455, -0.0062179719, 0.0494055673, -0.0527551994, -0.0062511694, 0.0268620644, -0.0654369667, -0.00023646, -0.0210410524, 0.0252050776, -0.0763671175, 0.0206367411, -0.0053000855, 0.0054466156, -0.0062745372, 0.0252876934, -0.0325312391, 0.0318274274, 0.0191825125, -0.0259565134, 0.020951895, -0.0654094443, 0.0134548843, -0.0006734469, 0.0014195534, -0.0318719558, -0.0324578956, -0.0000070412, 0.0121401129, 0.0052363058, 0.0087220911, -0.0045052208, 0.0349091329, -0.0134930704, 0.0457380526, -0.0101902205, 0.0254114214, -0.0342266932, 0.0492187515, 0.0424393751, -0.0394644141, 0.005941899, -0.0603333972, 0.0358978063, 0.0349035375, 0.0234362632, -0.0417057313, -0.0202306118, -0.0005122105, 0.0303242411, -0.0084671983, -0.0199550781, -0.0071943528, -0.0113912392, -0.0250562858, -0.0257473551, 0.1101957485, 0.0146395275, 0.0393273793, 0.020907158, -0.029357871, 0.0314746276, 0.021546809, -0.0047574001, -0.0984104872, -0.006007412, 0.0100975689, 0.0332914367, 0.0051726685, -0.0221973732, -0.0026166388, -0.1262637973, -0.0211217776, 0.0151486145, -0.0527745597, -0.0132203288, -0.0228738468, 0.0148655968, -0.0302295256, -0.0389233232, 0.0258747358, 0.006838867, 0.0551829599, 0.0454244949, -0.0267089903, -0.0858391523, -0.0298763886, -0.030716069, 0.0195053108, 0.0468774922, -0.0025765875, -0.0124007072, -0.0144930491, -0.0197329689, -0.082692571, -0.0586950444, -0.0205224957, 0.0050694975, -0.0035475683, 0.0051711076, 0.0112532703, 0.0230604298, -0.0596009344, 0.0174952652, -0.0086486693, 0.0496662669, -0.0086938282, -0.0182093829, 0.0356432498, -0.0156794023, 0.0220784284, 0.0574773625, -0.0122086955, -0.0190202855, -0.023629874, 0.0024115194, -0.019375544, -0.0395453945, 0.006019257, 0.0507322028, 0.025101319, -0.0522258691, -0.0582142472, -0.0307042394, 0.0411637649, 0.006287314, 0.0122152297, 0.0302771665, 0.0093568573, -0.030840883, 0.0028050714, 0.0196431335, -0.0070500434, -0.0219027419, -0.0625775382, -0.0358936377, 0.0368308797, -0.0681773275, -0.0127959689, 0.0498430058, -0.0366780981, -0.031067431, 0.037495479, 0.0317802206, 0.0296552479, 0.0060182037, 0.0047598016, -0.0456865989, 0.0070394264, -0.0221871547, -0.0344207622, 0.038660232, -0.0211338848, -0.0159297381, 0.0059154481, 0.0436057113, -0.0092353504, 0.0254011285, -0.0166331679, -0.0116309784, -0.0150713148, -0.0152501287, -0.000449861, -0.0142763499, 0.0452859737, -0.04141137, 0.0093294485, -0.0603389181, 0.0050686514, -0.0344629921, 0.006439996, -0.0339131281, 0.0040078335, 0.028429037, 0.0052516502, -0.0314699523, 0.022423869, -0.0295184813, 0.014636918, -0.025282314, -0.0203847606, -0.0007630659, 0.0244946685, 0.0048736478, -0.0006137009, -0.0252420418, -0.0031271353, -0.033643093, 0.0053961505, -0.0284474809, 0.039627593, -0.0163332503, 0.0156271625, 0.0749034286, 0.0382730886, -0.0024498869, -0.0219367538, -0.0474552698, 0.0138473557, 0.0388901234, 0.0063718753, 0.096228838, -0.016902389, -0.0048339227, -0.0444325507, 0.0773927197, 0.0222273264, -0.0635447502, 0.0281993411, -0.0303528216, -0.026173804, 0.0159781538, 0.0469606668, 0.0395931415, 0.0407402813, -0.0255467724, 0.0166145824, -0.0184992403, 0.0063713137, -0.0164799467, -0.0110232122, -0.0386522226, 0.0061625424, -0.0650240704, -0.0323865302, 0.007313319, 0.0311515201, 0.0200994983, -0.0053747119, 0.0876566395, 0.0392949246, -0.0067192311, 0.0181257166, -0.0572621971, -0.0071686981, -0.0725726783, -0.0387419723, 0.019482512, -5.779605237e-33, -0.0313755721, 0.0253062155, 0.0080179824, -0.0436548702, 0.0064639463, -0.0289883036, -0.0211182516, 0.0075024106, 0.0024495455, -0.0335076153, -0.0164610837, 0.0165524092, 0.0095352661, 0.0088699283, 0.0017737992, -0.0021612179, 0.061040476, -0.017405346, -0.0060030166, 0.0524278544, 0.0740410313, 0.0273982473, 0.0816859677, -0.0385894291, -0.0046707424, -0.0547951795, -0.0151020018, -0.0153431734, 0.0252788346, 0.0312895812, -0.0232080054, 0.0588072874, 0.0211515315, -0.0184536427, -0.0028304327, -0.0244141519, -0.0759472474, 0.0344838835, 0.0027947938, 0.0497557931, -0.0921895951, -0.0125353523, -0.0060725468, -0.0019690872, -0.0047504352, 0.049179446, 0.0046909447, -0.0382710099, -0.0008316129, -0.0158619676, -0.0555468611, 0.0330065675, -0.032621786, -0.0228772759, 0.0400672294, 0.0651029199, 0.0003280563, -0.0083499756, -0.0029119567, -0.0014857512, -0.0478282496, 0.0188684762, 0.1108488441, 0.0107587222, -0.0007418161, 0.0302198417, -0.041239161, -0.0746916011, -0.0358085558, 0.0297526456, 0.0056737578, 0.0118762571, 0.010083707, 0.0771407858, 0.0132768098, -0.0542970113, -0.1161633804, 0.0375019424, 0.0336816162, 0.0612396412, -0.0009476867, -0.0276943967, 0.0123893153, -0.0378277674, -0.0178742651, -0.0616797097, -0.0203437526, -0.0133759407, 0.0285702534, -0.0088720815, -0.0301982537, -0.0026539038, 0.0454506837, -0.0202109758, 0.013737672, 0.0411168784, -0.0671572536, 0.0236005522, -0.0303537808, 0.0603220165, -0.0557494722, -0.0809990168, 0.0027540077, 0.0038045105, 0.0017791459, 0.0082902731, 0.0106239263, 0.0206994973, -0.0255919285, 0.0607045889, -0.0609660484, 0.0881267488, 0.0148713784, 0.0479998812, 0.012467972, -0.0113460207, -0.0182332769, 0.0931576267, 0.0322937183, -0.003170639, -0.001509974, -0.069843322, 0.0407773629, -0.0107820584, -0.0274813864, 0.0491314232, -0.0102050658, -0.0118619306, 0.0459915586, -0.0231710989, -0.0033006524, 0.0191781037, 2.573e-7, 0.040513292, 0.0139124002, 0.0279812701, 0.0114281876, 0.0437213592, 0.0193365775, -0.0080820005, 0.0483906567, -0.0341241844, -0.0001257802, 0.0191794373, 0.0321077332, 0.1008628681, 0.0103280069, -0.0455691032, -0.0214001872, -0.043241322, 0.0545897149, -0.0595050156, 0.0313296244, 0.0443165675, 0.0920790061, -0.0142788431, 0.0034506177, -0.0229885653, -0.008095012, 0.0872877538, 0.0102730906, -0.0235905778, 0.0224185269, 0.0105821555, 0.0584991127, -0.0244321823, -0.0084316246, -0.0086423261, 0.0313128158, 0.01792318, 0.0314189792, 0.0086891185, 0.010778375, 0.0652384982, -0.0522554293, -0.027550973, -0.0680925027, 0.1025241464, 0.0304261632, -0.0474296622, 0.0068173204, -0.0337443501, -0.0153305931, -0.029119594, -0.0371734612, -0.0325073414, 0.0168296304, 0.0136356847, -0.0794242471, -0.0046123778, -0.0163161717, 0.0022001255, -0.0316386409, -0.014911226, -0.0521028079, -0.0029858607, 0.0440743268, 0.006180787, 0.0097444458, -0.0117331063, 1.834307392e-34, 0.0498269536, 0.0160957035, 0.0038919782, -0.0179536883, 0.0150907915, -0.0574016646, 0.0038839534, 0.00630695, -0.0146238543, -0.0568934977, -0.0496957824 ]