id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
text
stringlengths
190
2.08k
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.
Planetarium: A Rigorous Benchmark for Translating Text to Structured Planning Languages: 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.0334098265, 0.0669051483, -0.0087800445, 0.0330608301, -0.0677237064, -0.0192302857, -0.0242642686, -0.0280724186, -0.0243788939, -0.010378601, 0.0119707249, 0.0180174336, 0.0006767955, 0.0492849052, -0.042065762, -0.0806736797, 0.0269014053, -0.048831109, -0.0262125637, 0.0196772981, -0.0168628059, 0.0145918122, -0.0152916042, 0.0078794248, 0.0025737397, -0.0116721448, -0.0504491031, 0.0234549958, -0.0044372771, -0.0659512058, -0.0188975055, 0.0367087796, 0.0234605838, 0.0017192991, 0.0000022992, -0.0650850683, -0.0558618456, -0.0040704813, 0.0140927285, -0.007101465, 0.0274250899, -0.0618616939, 0.0067213518, -0.0064788903, -0.0472647436, -0.0001447806, 0.0172339436, 0.0364376828, 0.0435658395, 0.0683345571, -0.0215605665, -0.0318784751, 0.0078461831, 0.0246082749, -0.0474422798, -0.0468631275, -0.0088379048, 0.0526215732, 0.0555693656, 0.0403047949, 0.0090161338, 0.0214977991, 0.0057771238, 0.0044225361, -0.0326417722, -0.0043264036, -0.0458176807, -0.0091646239, -0.0111548873, 0.0329829305, 0.0483267121, -0.0225421302, 0.0458173826, -0.0128046116, -0.0249462277, -0.0054226974, -0.026224643, 0.0051807682, 0.0212429725, 0.0142161148, 0.0035646337, 0.0163789913, 0.0225873459, -0.0221879482, -0.0050601135, 0.1205327883, -0.0102689704, -0.0233175922, -0.0012212256, -0.0105365254, 0.0180891994, -0.0853213668, 0.0314068384, 0.0201568045, -0.0356050581, 0.0133336261, -0.0398122706, -0.0062284274, 0.0067392299, -0.0025789612, 0.0538954884, 0.0499989055, 0.0166325197, 0.0236605816, 0.0252251979, 0.100827992, -0.0022487089, -0.0007629138, -0.0570583157, 0.0259461794, -0.0652267113, 0.0380990654, -0.0733038336, 0.0015861836, -0.060820967, 0.000706193, 0.0095698731, 0.0384981632, 0.0025659266, 0.0347981043, 0.0277421158, -0.0157465115, -0.016740771, -0.0324121974, -0.0584804639, -0.0266144462, -0.0458027534, -0.0268470626, -0.0184848718, -0.0139948549, 0.022953311, 0.0301120672, 0.0183472373, -0.0004753738, -0.0361202471, 0.1028431356, 0.0052793901, 0.0074116816, -0.0184107628, -0.084115684, -0.0160226747, -0.0385882109, 0.0292601306, -0.0834952891, 0.0250440016, -0.0128533756, -0.0178028625, -0.0385371596, 0.0106852641, -0.0006652804, 0.0124224508, 0.0749892145, -0.0400294662, 0.04848608, -0.0179064814, 0.0117426198, -0.018408021, 0.0745417997, 0.0417718478, 0.0330791064, 0.0173311029, 0.0472222343, -0.0125589361, 0.05543584, -0.0163888689, 0.0060610902, 0.0217369366, 0.0485596657, -0.0065077157, 0.0435947366, -0.0273140352, 0.0331791528, 0.0022131773, 0.0269450713, 0.0108753145, 0.0178528354, 0.0026527711, -0.02218589, 0.0463279188, 0.0546028949, -0.0404109731, -0.0412003174, -0.0560150705, 0.0037530432, -0.0274999738, 0.0006148689, -0.0427489839, -0.0130079864, 0.0262570232, -0.068564035, -0.0332594179, -0.0043526785, 0.0338378996, -0.0516526662, 0.0275347568, 0.0176265649, -0.0808670744, 0.0507586189, -0.0311345551, -0.0241016652, -0.006962352, -0.0025933424, -0.0256900005, 0.030763777, 0.0290771388, -0.0626545846, -0.0477841198, 0.0133492611, 0.0296042804, 0.055120457, 0.0699376985, -0.0109084258, -0.0182321202, -0.0199498218, -0.040176075, -0.0183655377, 0.0148498919, 0.0092216283, 0.0480329953, 0.0050690835, 0.0056032427, -0.0664939135, -0.0256309453, 0.0316495225, -0.0176559668, -0.031824965, -0.00426294, 0.0146853263, 0.0289295539, 0.0173239522, -0.0128344325, 0.0339377746, 0.0188106671, -0.0045769298, -0.0103529813, -0.0234797075, -0.0162169505, -0.0008545512, 0.0427150577, -0.0497688875, -0.0351657234, 0.0428547971, -0.0318491012, -0.0358066894, 0.004078072, -0.0093757771, 0.0031088935, 0.0215692092, 0.0469587483, 0.0198426731, -0.0652753115, -0.0272466429, 0.0592730045, -0.0040295608, -0.0289126839, 0.030502893, 0.0109197767, 0.0688798875, -0.0163209811, -0.0138885323, 0.0106445067, -0.0329301804, -0.010691314, 0.038757015, 0.0589139499, -0.0343418941, -0.0377354398, -0.0743691474, 0.0212910622, -0.0213224478, 0.0389300287, 0.0374476165, -0.0074694036, 0.0004436282, 0.0194781944, -0.0256388281, 0.0249929093, -0.0147787789, -0.0244181156, 0.0314317048, 0.0143528683, -0.0507429652, -0.0243451856, 0.0154540101, -0.0483202264, -0.0331474803, 0.041849371, -0.0508430749, -0.0521515235, 0.0695013404, -0.0259683933, 0.0056854426, 0.0042658392, 0.0030748353, 0.0147289541, -0.0025647508, 0.0163034946, -0.0175766535, -0.039293129, -0.0166801792, 0.0611680038, -0.038004823, -0.0436436348, 0.0277936123, -0.0282691773, -0.0112590687, -0.0246242415, -0.0497715957, 0.0513322279, 0.0416184701, -0.0191538874, 0.0078147687, -0.0497392155, 0.0062736892, -0.0274675712, 0.0139523791, 0.0103717232, -0.0126774032, 0.0111881122, 0.1167506427, -0.0025734392, -0.0651663244, 0.032090079, -0.0549727418, 0.0129562924, -0.0418514125, -0.0020628362, -0.0490684062, 0.062963888, 0.029507393, 0.0353748575, 0.0292451903, 0.013334251, -0.0217544865, 0.0143585857, -0.0150804799, 0.0067124027, 0.0649809763, -0.1065211445, 0.0185196418, -0.0120106498, -0.0558045171, -0.0190747119, 0.0408128016, -0.0286478288, 0.0504646301, 0.0123019367, -0.0705727935, -0.0293860435, -0.0286418367, -0.0240553822, 0.051596012, 0.0104708038, -0.0203116909, -0.041739773, -0.0375001431, 0.0128839239, 0.0425190702, -0.015902698, 0.029655315, -0.0227810927, 0.0059858044, 0.0145486379, 0.0134113207, -0.0325293988, 0.0291198473, 0.0123534361, -0.0172804911, -0.0259680077, 0.0470536947, 0.0385066159, -0.0192931946, -0.0422595441, 0.0753827468, 0.0286206789, -0.0019308403, 0.0073328195, -0.046555087, 0.0147452625, 0.0333056524, 0.0421871692, -0.0536520779, -0.0275695566, 0.0150087103, 0.0148573434, 0.001738368, -0.0479091406, -0.0370970927, -0.083231546, 0.0408922918, 0.0039303051, -0.0414327756, 0.0068093035, -0.0485463552, -0.0348977447, 0.0070341006, -0.0439033993, -0.0314291306, 0.0359110907, -0.0058543179, -0.0093824305, -0.0626608953, -0.0124844918, 0.0249471013, 0.0137965307, 0.0295960214, 0.1258221418, 0.0632716119, 0.0186838191, -0.0299045201, 0.0302542709, 0.0850165561, 0.0091072191, -0.0176464804, -0.0128382063, 0.0360283852, 0.0099149458, 0.0313194729, 0.0331942849, -0.1143974513, -0.0391396061, 0.0394279957, 0.1172504425, 0.0212701205, 0.0161532853, -0.0515441522, 0.0247200746, 0.0299344584, 0.0453863665, -0.023129072, 0.0212635379, -0.0505486913, -0.0595172793, -0.0035828257, -0.0780552849, -0.0162690114, 0.00039698, -0.0104693165, 0.036414437, -0.0527229868, -0.0193789639, 0.055763673, 0.0363131799, -0.0027415066, -0.0333292373, 0.0299191419, -0.0187895596, -0.0418776423, 0.0066396398, -0.0296354685, 0.034153752, -0.0549108908, -0.0348612219, 0.000115325, 0.0107911658, -0.0133273369, 0.0466211885, -0.0480430797, -0.031466119, 0.0015083327, 0.0489328094, 0.0218960643, -0.0179499332, -0.0036487407, 0.017664548, -0.0280729979, 0.0231061038, -0.0026979186, 0.006719809, 0.005909129, 0.046013575, 0.0213485211, 0.0272109006, -0.0414184257, 0.0255568568, -0.0271705408, 0.0543695092, -0.0051091141, -0.0072018672, 0.0378340967, 0.0887569785, 0.0137299486, -0.0117450953, -0.0566703118, 0.0288479216, -0.0121024977, -0.0466331132, -0.059973523, -0.0598180108, 0.0307544582, -0.0089910496, -0.0141906124, 0.0554970726, 0.0528416298, -0.0290575828, -0.0215038452, 0.0434079692, -0.004305474, 0.0596662648, -0.0093959449, 0.0371272452, 0.0026235797, 0.0038546154, -0.0133867329, -0.032230854, 0.0413680226, -0.0101133846, 0.0103822155, 0.0201413948, 0.0259285215, -0.0352469236, -0.0203731023, -0.0062254025, -0.0951758921, 0.0143427784, -0.0149653759, -0.0017608699, 0.0256308429, 0.0205941945, -0.0980251506, 0.0170422029, 0.0118058892, -0.021815978, 0.030088624, -0.0126830162, 0.0348972641, 0.0061622178, 0.0197656788, -0.0413147658, 0.054663077, 0.0315402001, 0.0463216826, -0.0100814914, -0.0240710936, -0.0521276966, -0.0349453464, -0.0002702514, 0.0507487617, -0.0037197298, -0.038723994, -0.073542431, -0.0341422111, 0.0026522237, 0.0586545542, 0.0114587285, -0.0167153198, 0.0388595499, 0.0237602834, -0.0149093298, -0.0501482673, -0.0082525779, -0.0304635148, -0.0085652899, -0.0444557555, -0.0196733847, -5.739178884e-33, -0.0500189513, -0.0633873194, 0.0748481154, -0.0564838089, 0.0158981029, -0.0134771168, -0.0367724746, 0.0169220939, 0.024719568, 0.0274291299, 0.0034983871, -0.0268886779, 0.0113738561, 0.0181967765, -0.0020596602, 0.0051831529, 0.0329042822, -0.0157129057, -0.066888921, -0.0288728755, 0.0284281746, -0.0281597022, 0.020277651, -0.0591345578, 0.0083027594, 0.0285302531, -0.0055840625, 0.0591890998, 0.019205194, 0.0060154353, 0.000523372, -0.004045181, 0.0042323954, 0.0063881245, -0.0596422367, 0.0200120248, -0.0559390374, -0.0486231297, 0.0436562747, -0.0078439275, -0.0629184246, -0.0150085082, 0.0144111039, 0.011349095, -0.044877965, -0.0076027284, 0.0029255436, 0.019460829, -0.0018119948, 0.0255152546, -0.0878017768, 0.0200607236, -0.0093799606, -0.0103422338, 0.0593686327, 0.0276123174, 0.0155340517, 0.0135878371, 0.009749217, 0.0124105755, -0.0007570672, 0.0144973686, 0.0794402286, -0.019941235, -0.0083574029, 0.0658131689, 0.0244474541, -0.000577051, -0.0043764277, -0.0047991169, 0.0116914362, 0.0926652327, -0.0319130383, 0.0392420515, 0.0032489714, 0.0489811786, -0.005491232, 0.0494985767, -0.0749527961, -0.0021883948, 0.0155429794, 0.0115139419, -0.0362530649, -0.0297536626, -0.0500118285, 0.0148925493, -0.0058257417, -0.0032561268, 0.0419462174, 0.0026229746, -0.011465692, 0.0215503592, -0.0118283182, -0.0677950233, -0.0160622019, 0.0356057547, -0.0311643444, 0.0128022367, -0.0173723772, 0.0656881258, -0.0298842061, -0.0214637201, -0.0189984385, 0.0221233442, 0.0497390442, 0.0295271333, -0.0287155397, 0.0240751766, -0.0434409268, 0.0266891923, -0.0617605895, -0.0090854941, -0.0175096374, 0.0223163981, 0.0281415898, -0.0331766009, 0.0021581484, -0.0147338705, 0.0387988463, -0.1033708751, 0.0022651521, 0.0006669832, -0.0038401796, -0.000983152, -0.0095707411, -0.0277145654, -0.0269016065, -0.0059646196, 0.0376038514, -0.0038560289, -0.0010662881, 0.0285449345, 2.998e-7, 0.0408357456, 0.0583466627, 0.040233966, 0.0568974055, 0.0034738842, 0.0371851027, 0.002066531, 0.0121392421, -0.0637515783, -0.0090904245, 0.0245884415, -0.0113737863, 0.0005338272, 0.0521565787, -0.051750835, 0.0461274348, 0.0123599162, -0.0309046507, -0.0763726756, -0.0040789349, 0.0848712474, 0.0225340594, -0.0046514263, 0.0123238452, -0.0277937539, -0.02811216, -0.0116118509, -0.0582547486, 0.0373530351, 0.0342122652, -0.0169590507, -0.0255245063, 0.0127564752, -0.0011016136, -0.0190092791, 0.0084494092, 0.0198990684, 0.1050357744, 0.0005061796, 0.0118215755, 0.0059626205, -0.0894856602, -0.0010242696, -0.0057943962, 0.0131731089, -0.0037641493, -0.0019925702, 0.0319908112, -0.0049441378, -0.0032971257, -0.054300908, 0.016434446, 0.030658463, 0.0195488296, 0.0082344962, 0.0039378977, -0.0089823063, -0.0253550354, 0.0120256888, 0.029301146, -0.0114573641, -0.0219933875, -0.0581483059, 0.0766361356, -0.0039592409, -0.0321276039, -0.0107506774, 3.036587976e-34, -0.0018788896, 0.0390870161, -0.0086663663, -0.0175064001, 0.0486677662, 0.0028408952, 0.0052769608, 0.0227610171, -0.001728956, -0.0324915648, 0.0001653804 ]
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.
InternLM-XComposer-2.5: A Versatile Large Vision Language Model Supporting Long-Contextual Input and Output: 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.025279684, 0.041642867, 0.0251801442, 0.0599158555, -0.0413398817, 0.0124273133, 0.0213925391, -0.0225917976, 0.0041636163, -0.0461591184, -0.0364362448, -0.0311695449, 0.0230372045, 0.0557147078, 0.0101290969, -0.0468395837, 0.0010872652, -0.0599123202, -0.0280443486, 0.0125511698, 0.0156934727, 0.0103971064, -0.0031738067, 0.0252372753, -0.0120809367, -0.0406814925, -0.0260891318, 0.0223320741, 0.0318155698, -0.0150375599, -0.0312131364, 0.0293260068, 0.0622282699, 0.0195225887, 0.0000019273, -0.0132894525, 0.0204759333, -0.000523269, 0.0089991391, -0.0215673037, 0.0350086875, -0.0557699278, -0.0165801067, -0.0228577051, -0.0177514534, -0.005701364, 0.0397959314, 0.0600823052, 0.0764900222, 0.0607516617, -0.0195028298, -0.0575857088, 0.0227517691, -0.0477946922, 0.0227185879, -0.0510530658, 0.0129958633, 0.0001303469, 0.0253685545, 0.0255003162, -0.0440048389, 0.0482783131, 0.0795253739, -0.0521877594, -0.0274949912, 0.0560383461, 0.0034998816, -0.0262256898, -0.0153070008, 0.0699507594, -0.0071551199, 0.0143051604, -0.0259529017, 0.007984777, 0.0081296377, -0.0690112263, -0.0592003949, 0.0430830754, -0.0239871982, -0.0020347133, -0.0267471205, -0.0117587419, -0.0126461061, 0.0013027295, 0.0039621014, 0.0077809761, 0.0199136566, 0.0166570041, -0.0145164998, -0.0008688092, -0.012249737, -0.0512253791, 0.0068751113, 0.0583580807, -0.0285595655, -0.0007504782, -0.0657946691, -0.0305708423, 0.013580068, -0.0387905687, 0.0329886414, 0.0220550261, -0.0430326648, 0.0984609872, -0.034017846, 0.0770621151, -0.0369124338, 0.0086736782, -0.0330440961, -0.0137202907, -0.0083123324, -0.0092716925, -0.038916558, -0.0068315612, -0.0804685801, -0.0737227276, -0.0026540668, 0.051685743, -0.0017531823, 0.0308827031, 0.0129490169, 0.0001439843, -0.0512483157, -0.0398075804, -0.0080956742, 0.0319523029, 0.0203089099, 0.0258653834, 0.0082153222, -0.0270651188, -0.0070030713, 0.0445367247, 0.0142052965, -0.0312396791, -0.0164413415, 0.0872528106, -0.0471913926, -0.03464837, -0.0159068145, -0.004273952, -0.0137799354, -0.0727109537, 0.0056575038, -0.0734190643, 0.0318702459, -0.0067262938, 0.0012854335, -0.0009717064, -0.0028601284, 0.0397206843, -0.0004033604, 0.0818742588, 0.0105918692, -0.0222134255, 0.0231509544, 0.0223264787, 0.0151666533, 0.0766474456, 0.0136232832, 0.0741386041, -0.0027086919, 0.0248460658, 0.0140929408, 0.0368876532, -0.0389550142, -0.0056095747, -0.0490424745, 0.0277319029, 0.0009888597, 0.0309577081, 0.0528531224, 0.0656348094, -0.0401889235, -0.029873414, 0.0844251364, 0.0051887915, 0.0231099408, -0.012580608, 0.0740238205, 0.0006297604, -0.000983363, 0.0000212585, -0.0769708008, 0.0891003311, 0.0212881975, 0.0345811285, 0.0007659622, 0.0254864041, -0.0307446588, -0.0264903717, -0.0059343656, -0.0040249657, 0.0027096323, 0.0016552449, 0.034606114, 0.0219122749, -0.0723032206, 0.0072170785, -0.0159013122, -0.0261120368, -0.0015352869, -0.0293968879, 0.0439147465, 0.0803590566, 0.0177806336, 0.0166109968, -0.0157063808, -0.0207143091, 0.0478899628, 0.0979009345, -0.0188579783, 0.0003208128, 0.0280482862, -0.0529966578, -0.0411074348, -0.0268772114, -0.0177364163, -0.0057403808, 0.0113980798, 0.0331299007, 0.0057660216, -0.0053489148, 0.0079756109, 0.0408174954, -0.007054599, -0.0340950824, -0.0463566817, 0.0228410102, 0.0010550281, -0.0089437431, -0.0166500807, -0.0138167357, 0.0142214475, -0.0382112898, -0.0077335308, 0.0015867925, -0.0648259223, -0.0658789799, 0.0351057649, -0.053981889, -0.0096248155, -0.0045275763, -0.0491620786, -0.0287329927, -0.0051649972, -0.0282654148, 0.0175410528, -0.0435910225, 0.0001431698, 0.048074428, 0.0128752599, -0.0363638736, 0.0266061984, -0.0265020654, -0.0302861985, 0.0204950962, 0.0363543034, -0.0107086245, -0.0147679765, -0.0237898771, 0.013070887, 0.0046252585, -0.0071052187, -0.0122258915, 0.0431861468, -0.0470379069, -0.0493310653, -0.0804952607, -0.0070310826, -0.0321853757, -0.025644049, -0.0091587147, 0.0038306876, 0.0144394301, -0.0336484239, -0.0283583384, 0.0283018071, 0.0010996987, 0.0138343778, 0.007725161, 0.0399880596, 0.0041515087, -0.0222420059, -0.0109422999, 0.0344242193, 0.0397838056, 0.0274167806, -0.0329882689, -0.0395737551, 0.0241401568, 0.0010599049, 0.0140844686, -0.0551827773, -0.011377559, 0.009831273, -0.0433801562, 0.0468312316, 0.0795446858, 0.0193624739, -0.0019362288, 0.0044590114, 0.0064652255, -0.0139113925, 0.0271100383, -0.0047798296, -0.0444698371, -0.0396377556, 0.0309086889, -0.0401470326, 0.0475311279, -0.030538274, 0.0393356234, -0.048739627, -0.0002894228, -0.0002910641, -0.0371449217, -0.0242220908, -0.0096941032, 0.0003615886, 0.0086016674, -0.0674830675, -0.0489170104, 0.0307210423, -0.0496524312, -0.0389026441, 0.0110128261, 0.00504563, -0.0455530435, 0.0797883123, 0.0163518656, 0.0093609234, -0.035365019, -0.0111457594, -0.0461493097, -0.0021260539, -0.0200824346, 0.0046994137, 0.0577716827, -0.0479586832, 0.0364828445, -0.0625166073, -0.0407568738, -0.0084799742, 0.0174081028, -0.0163410977, 0.0027198824, -0.0211262479, -0.0206213146, 0.0166671909, 0.0458287112, 0.0233632624, 0.0659945086, -0.0042553237, 0.0024743746, -0.0290339664, 0.0338195525, 0.0682271644, 0.0158588495, -0.0251004379, -0.0305872262, 0.0258632805, 0.0486878343, 0.0139697595, -0.009361716, -0.0502403751, 0.0544269159, 0.0174628459, 0.0372672305, 0.0066045523, -0.0000672967, 0.0614432767, -0.0922208354, -0.0129455049, 0.0540746264, -0.0041390555, -0.0821802318, -0.0480441302, 0.021521369, 0.0293011349, 0.0421127602, -0.0012694494, -0.0927382112, -0.0370006412, -0.0048544621, -0.0432754084, 0.0380848795, 0.0094107566, -0.0455060266, -0.079580538, 0.0637450516, 0.0079677366, -0.0502889156, -0.0451589227, 0.0100831445, 0.0066777887, 0.0075388751, -0.0009848204, 0.0335902423, -0.013992535, -0.0095132766, -0.0181806032, 0.0335498266, -0.01840581, 0.011210396, -0.0034272477, -0.0084272707, 0.0261950549, 0.0157261584, 0.0181872621, -0.0455699451, 0.0738946646, -0.0224040225, 0.0065933303, -0.018042095, 0.060216248, -0.0217219908, -0.0352621488, 0.0016979435, 0.0348738134, -0.0079079606, -0.0227755755, -0.0122425826, 0.01368191, -0.0151608922, -0.0035622881, -0.0235079993, -0.0053357566, -0.0037197534, 0.035325069, 0.0362951048, -0.0298238322, -0.0641550571, -0.0148153473, -0.0320904851, -0.0751895607, 0.0044883331, -0.0021260576, 0.0341835134, -0.0038391419, -0.0387764052, -0.0280636027, 0.0468060747, 0.0588280857, -0.0356749147, -0.0098152971, -0.039580632, 0.0128521295, -0.0820158124, 0.0354609564, -0.0070257764, 0.0477538705, -0.059326686, 0.0192831811, 0.0403817929, -0.040290039, -0.0074746837, 0.0518763885, -0.1150179952, -0.0335413888, -0.0220507085, 0.066545777, 0.0173492394, 0.0798880905, 0.0090076262, -0.0293586235, 0.0505351052, 0.014906087, 0.0147302048, 0.0512550846, 0.001516365, 0.0190629642, 0.0009443559, 0.0471349023, -0.0438400917, 0.011277467, 0.0315460563, 0.0221422929, -0.0059789913, -0.0392715298, -0.0001229973, -0.0416769087, -0.0147920158, -0.0150367105, 0.0394142084, -0.025944965, 0.0314638317, -0.0234571174, 0.00910227, -0.0907654837, 0.0006004997, 0.0255662352, 0.004064545, 0.0204085186, 0.0190948993, 0.0251004267, 0.0221056435, -0.0347631127, 0.0288716611, 0.0031690728, -0.0268764254, 0.0439518169, 0.026811786, -0.0277218055, 0.0064237067, -0.0434340239, 0.0313699059, -0.0017976136, 0.074109666, 0.0291796364, -0.0313149057, -0.0152801797, 0.0540205017, -0.0431972742, -0.0325668119, -0.0600677207, 0.0542396531, 0.0314552076, 0.0273629092, 0.0359989628, -0.0062995781, -0.0352197401, -0.0225393549, 0.0616160408, 0.0095409323, -0.0679181144, 0.0581323206, 0.0266802385, 0.0056403819, 0.004376261, 0.0660827756, 0.0132963955, 0.0291768014, 0.0278446153, 0.0461573899, -0.0377073735, -0.0358516984, 0.0121063748, -0.01045107, 0.0166316051, 0.0474960245, 0.0032651124, -0.0606953539, 0.0072624316, 0.0273384489, -0.0289615076, 0.0078991223, 0.038037248, 0.0503224768, 0.0251564067, -0.0294888131, -0.0035306155, -0.0254589468, 0.0124895694, -0.0083334148, -0.0070311204, -5.7239746e-33, -0.0563033372, -0.0278902855, 0.0636089146, 0.0113242762, -0.062387567, 0.0110466219, -0.0362289287, 0.0046140249, -0.0067546661, 0.0080997301, 0.0191026274, 0.0008399608, 0.0062937038, 0.0692266002, -0.0184501577, 0.017779883, 0.0397433452, 0.009106718, 0.0081780264, 0.0198487993, 0.0045317938, 0.0252319202, 0.0344393924, -0.0435599126, -0.0414360687, 0.012726604, -0.0121308547, 0.0308181457, -0.0084564313, 0.0774780065, -0.0339252464, 0.0074048503, 0.0171256084, -0.0352543145, -0.0233189873, 0.0264102053, -0.0809892938, 0.0145323761, 0.00618154, 0.0461019203, -0.0784693733, -0.0168089364, 0.0436869636, -0.0310040712, 0.0119110839, -0.0643946603, 0.0392015539, -0.0149556054, -0.0201390143, 0.003016934, -0.0527533665, -0.0030001325, 0.0163750183, -0.027453376, 0.0407939516, 0.0095389998, 0.0005948858, 0.0311408322, -0.0563084707, -0.0129373875, -0.0242814813, 0.040565744, 0.0713116229, 0.0468014851, 0.0147206169, 0.0266073234, 0.0108639896, -0.0104547152, -0.0107888337, -0.0157918129, 0.0156271551, 0.0587138496, 0.0231489278, 0.0724092573, 0.0084001329, 0.0254970342, -0.0142247425, -0.0158584043, -0.0267049931, 0.0683742464, 0.0132251801, 0.0219545607, 0.0226139762, 0.0125945657, -0.0277881604, -0.019233251, -0.0399121866, -0.008088259, 0.0645411015, 0.0510464385, 0.0332241394, 0.0135034332, 0.0844154358, -0.0191194862, -0.0114731975, 0.0236609988, -0.0346060991, 0.06563963, 0.0100681232, 0.0374392606, -0.0229776334, -0.0123387445, 0.0408169553, 0.0313898288, -0.0138376625, -0.0082849218, 0.0466333032, 0.0365043618, -0.0496808179, -0.0176566988, -0.0520108379, 0.0393954888, 0.0062384079, 0.0549492352, 0.0324061923, -0.023394987, -0.0676252693, 0.0459277555, -0.0466386788, -0.0085903769, -0.0006983522, -0.0659426153, -0.0157972481, 0.0137743596, -0.0322012082, 0.0161064472, -0.0316541381, -0.0029143437, 0.0165215284, -0.0553586222, 0.0039249551, 0.0552403964, 2.521e-7, -0.0114035085, -0.002492056, 0.0262281578, 0.0041590836, 0.0270572379, 0.0141690783, -0.0183629654, 0.0367102437, -0.0102201095, -0.0180158913, -0.009329454, 0.0625455976, 0.0387465246, -0.0269042403, -0.0478928387, 0.0329471081, -0.0481852777, -0.009755983, -0.0526231714, -0.0133284722, 0.0544963889, 0.0907901302, -0.0418013446, -0.0259758718, 0.0530338883, -0.0559125543, 0.0741696879, -0.0153795611, -0.0041785729, -0.0167684499, -0.0274773929, 0.022460442, -0.0245477427, 0.0040546362, 0.0207551364, -0.0276974346, 0.0329876803, 0.0730854422, -0.0228953399, -0.0312834457, 0.0264727212, 0.0207737051, -0.0173873771, -0.0642907321, 0.0725935325, -0.0433361828, -0.0053767334, -0.0486041345, -0.0303966347, -0.0279621426, -0.0068345242, -0.0190327168, 0.006454723, 0.0087873247, 0.0504304394, -0.0243004896, -0.0188280474, -0.1072615385, -0.0325134285, -0.0251534414, -0.0486215577, 0.0116020069, -0.0887511075, 0.0022921264, 0.0393856242, -0.0146718062, -0.0493602343, 2.152928235e-34, 0.0222714469, -0.0175781231, 0.0129754664, 0.0176072977, 0.0027558142, 0.0237605572, -0.0154368002, 0.0246575717, -0.0085801128, -0.0854877234, -0.0272027161 ]
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.
BACON: Supercharge Your VLM with Bag-of-Concept Graph to Mitigate Hallucinations: 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.0540515408, 0.039849434, 0.0051502851, 0.0716198906, -0.0392637551, 0.0160104036, -0.022876095, -0.0127638187, 0.0236391835, -0.0389370993, -0.0033334307, 0.005316861, -0.0207908433, 0.0963151529, 0.0016690837, -0.0927372575, 0.0283659771, -0.0467198975, 0.0302192476, -0.0124920839, -0.000301952, 0.0001728136, -0.0213079266, 0.0357052945, -0.0295457132, -0.0257111881, -0.0443119369, 0.030829234, 0.0186019372, -0.0450940393, -0.0380364805, 0.0463032685, 0.0214408785, 0.0048978981, 0.0000020197, -0.0174841899, 0.00864032, -0.0051934873, 0.0073237973, -0.0431841947, 0.0396986641, -0.0083583361, 0.0318680257, -0.0223762468, -0.0468897, -0.0179167967, 0.0987564325, 0.0965991616, 0.0296590719, 0.0228327513, -0.0174948424, -0.0469971336, 0.004304192, 0.0102164978, 0.0856666118, 0.0038450193, -0.0093665486, 0.0263670068, 0.0442256518, -0.0061395713, -0.043383684, 0.0605796911, 0.0497209541, -0.0163494386, 0.0439804755, 0.0484091714, -0.0799787268, -0.0564585589, -0.0248553548, 0.0756223351, -0.0456344299, -0.0313611515, -0.0107376231, 0.0085875373, 0.0113013536, -0.03030717, -0.0508778766, 0.0265855528, -0.0223421417, -0.0169444438, -0.039545916, 0.0176355317, 0.0042547914, -0.0058541354, 0.018232679, 0.00036252, 0.0082901781, 0.0099241175, -0.0194306523, 0.0172358695, -0.0722886473, -0.0670056567, -0.0185651612, 0.0071399468, -0.0081976559, -0.0021927941, -0.0525832213, 0.052637767, -0.0126959877, -0.0082575586, 0.0302448329, -0.0182812661, -0.0768210813, 0.0636880249, -0.0095573599, 0.0087849796, -0.0237808544, 0.0741590112, -0.0738355741, 0.000753516, -0.0487615205, 0.0012661167, -0.0853247866, 0.0064831907, -0.0404518805, -0.0728602856, 0.0155086406, 0.025983369, 0.0069572153, 0.0067591933, 0.0010923746, 0.0660918429, 0.0079482812, -0.0105876122, -0.0097691286, -0.0024936053, -0.0181782134, -0.0108337831, 0.0113540338, -0.0681567118, -0.0114614293, 0.0178704169, 0.0122944741, -0.0149134463, -0.017129954, 0.0654092878, -0.0144602042, -0.0431194752, -0.0104091447, -0.0288794152, -0.0228864327, -0.0197187793, 0.0573404692, -0.0514514819, 0.0180347152, -0.0271271374, 0.0118212476, 0.0031881966, 0.0454007909, 0.0182683002, -0.0337582417, 0.1048482507, -0.0340811089, -0.0095953066, 0.0057808347, 0.0214608796, -0.0225381367, 0.0427852198, 0.0215021577, 0.0596836433, 0.0197309162, 0.0146382218, 0.0463298187, 0.0101165995, -0.0325377621, 0.0050040758, -0.077119492, 0.0039494042, -0.0078163566, 0.0147621091, 0.000926616, 0.0374454409, -0.0197417848, 0.0018763933, 0.0753830224, 0.0641361624, -0.0101982187, -0.0024086717, 0.0013003974, 0.0132559137, -0.0070076562, -0.0147160003, -0.0534144454, 0.0932892114, -0.019928284, -0.0148567772, -0.0372651853, -0.016418431, -0.0294456147, -0.0439861231, -0.0108280526, -0.0030854498, 0.0423803031, 0.0195445027, 0.016577065, 0.0320023149, -0.0259875171, -0.0010926012, -0.026105633, -0.0189480558, -0.0184318274, -0.0297822692, 0.0379978418, 0.0827024132, 0.0234557949, 0.0112030227, -0.0149925528, -0.0052755252, 0.0581594147, 0.0400501192, 0.0101332953, -0.001932504, 0.0159729086, -0.0333694629, -0.0254794415, -0.015661465, 0.0045592692, -0.0036717688, 0.0049770297, -0.0145877674, 0.0021375983, -0.0285920035, -0.0242813509, 0.0334735997, 0.0826363042, -0.0025794336, -0.017117722, 0.0070348554, -0.0159638617, 0.0000690686, -0.0032899724, 0.0174597055, 0.028063627, -0.0520713814, -0.0009625018, 0.0443795063, -0.0193757769, -0.0124779809, 0.0067294524, -0.0483535416, -0.0191816445, -0.0052669034, -0.0294710528, -0.0121534262, 0.0094415061, -0.0633530244, 0.0120564215, -0.0555853546, -0.0188713744, 0.0227277596, 0.0156114781, -0.0280383881, 0.0720966086, -0.0412870198, -0.0310775116, -0.0377477705, 0.019379111, 0.0060598096, -0.0478373356, -0.0012991139, -0.0100955255, 0.007235148, 0.0142515833, 0.0153141627, 0.0286255106, -0.049884364, -0.0056095407, -0.0886622742, -0.0457439087, -0.0075406167, -0.0493909717, 0.0032428727, -0.0079703787, -0.0085753985, -0.0377047285, -0.0478983559, 0.0722868145, -0.0088840872, 0.0083603533, 0.021276772, -0.0183150936, -0.021558607, 0.0069601643, 0.0004502832, 0.0145543171, 0.0574002154, 0.035423398, -0.0859076455, -0.0171237011, -0.0220203158, -0.0321571827, 0.0238637142, 0.0171358306, -0.0012136125, 0.0142569533, -0.0435883999, 0.0038385233, 0.0898002163, 0.0118116122, -0.0020766088, 0.0361715704, -0.0151749207, -0.0353153758, -0.0014193314, 0.0062585678, -0.0324047916, 0.0107990811, -0.0017731565, 0.0084812827, 0.0262660794, -0.0207161102, 0.0386676267, -0.073589392, 0.0599316917, 0.0072353892, -0.0818113908, -0.0406195372, 0.0167832114, 0.0152096786, 0.0455806889, -0.0439353697, -0.0551564693, 0.0455072075, -0.0342924222, -0.0316802114, 0.0181114934, 0.0042783967, -0.0057319035, 0.0935778618, 0.0475797355, 0.04266873, 0.0350294001, 0.0200190879, -0.0386392847, 0.0036187517, -0.0329113491, -0.0047601359, 0.0252705477, -0.0676595494, 0.005274408, 0.0015073369, -0.0145301921, -0.0521722101, 0.0149917444, -0.0352313071, -0.0107685942, -0.0762434006, -0.0022368387, -0.0510631502, 0.0286373608, 0.0112309828, 0.0122552952, -0.0000741331, -0.0286189374, -0.0110361017, 0.0354445986, 0.1064666435, -0.0014718529, -0.0075524314, -0.0265644081, 0.0120612308, 0.083535783, -0.0315930843, 0.0059428029, -0.0458997861, 0.0609045066, 0.0237469953, 0.0398894697, 0.0098619051, 0.0202171691, 0.0586445108, -0.0288255308, -0.0371088237, 0.0755617768, 0.0308857728, -0.0843673125, 0.0058061546, -0.0278374031, 0.0330254398, 0.0428235009, 0.0162470676, -0.1138992086, -0.0271298904, -0.0250258502, -0.0181544274, 0.0043419427, -0.0242072586, -0.0360676944, -0.0746144205, 0.0778665692, 0.0155604361, -0.0437141247, -0.0107131926, 0.0418523774, -0.0364534594, 0.0060237818, -0.0350349285, -0.0280381888, -0.0000797395, 0.0002729686, -0.0030839776, 0.0500873402, 0.0095988186, 0.0319872089, -0.0279339738, 0.0186233465, 0.0837624297, -0.004789813, 0.0114072151, -0.0735822842, -0.0015474777, 0.0212237258, 0.0084156059, -0.0077912421, 0.0108192666, -0.0221171491, -0.0310812835, 0.0120472712, 0.0456990898, -0.0310982261, -0.0512517393, 0.0252326168, 0.0418073609, -0.0331628583, -0.0208766013, -0.0669227168, 0.0069212494, 0.0142478654, 0.0573542714, 0.0372537561, -0.0161142536, -0.018913649, -0.0255277399, -0.0129119111, -0.0021473574, -0.0464411974, 0.0330228545, 0.0195841175, -0.0367924348, -0.0704217702, -0.010261368, 0.0552688614, 0.0497682095, -0.0180929583, -0.0296742562, -0.0145380124, 0.031334538, -0.0846232101, 0.0520656295, -0.0432404242, -0.0134556387, -0.0343344547, -0.0108551048, -0.0032361953, -0.027877463, -0.0046407385, 0.0577647649, -0.0735250413, -0.0348289385, 0.0219776798, 0.0806871355, 0.0233531017, 0.0450509638, -0.0122918207, -0.0555751696, 0.0241866037, 0.0479051694, 0.0333266333, 0.0145868622, -0.0167067964, 0.0156624299, 0.009205672, 0.013229087, -0.0560724922, 0.0660858378, -0.0113029461, 0.0126317814, -0.0127161909, -0.0194897577, 0.0180538669, 0.008325004, 0.0204365943, -0.0109926779, 0.0101087308, -0.0048149638, 0.0154733779, 0.0000681048, -0.0150148794, -0.0855462849, 0.0155888582, 0.0222649146, 0.0074105123, 0.0249855053, -0.0345900729, -0.010905765, 0.0188459437, -0.0265249461, -0.0380089395, 0.0595279597, -0.0294926781, 0.0127885714, 0.0161458366, -0.0109124957, 0.0337569639, -0.0393602923, 0.0493489802, 0.019695852, 0.0787463933, 0.0120662693, -0.0470332466, -0.0505319275, 0.0843237489, -0.0377687402, -0.0869867355, -0.0151180169, 0.0473737344, 0.0211678408, 0.0139359226, -0.0006472211, -0.0403583162, -0.0019019695, -0.0206155274, 0.0279471427, 0.0445608012, -0.0740443692, 0.0489491485, 0.0352103561, -0.0040845615, -0.0394938961, 0.0332507491, -0.0060534943, 0.009384851, 0.0226550978, -0.0015028679, -0.0352851488, -0.022098165, -0.0169235971, 0.0035576145, 0.0084527321, 0.0395131037, -0.0296376627, -0.0384305269, 0.0193882752, 0.0160960779, 0.0244129729, 0.0323771872, 0.0621522702, 0.0386370867, 0.0138204265, -0.052154012, 0.0154062761, -0.0131741632, 0.0069669127, -0.018949043, -0.0078840125, -5.931544862e-33, -0.0239716712, -0.0444372743, 0.0348653533, -0.000247524, 0.0063240272, 0.0130163236, -0.0353536904, 0.0134675615, 0.0062457668, 0.0179604255, 0.0200193301, 0.0013465411, 0.0205888301, 0.042248033, 0.0137088932, -0.0327946395, 0.0226462372, 0.0224318355, -0.0093942164, 0.0039265589, 0.0018827218, 0.0141156819, 0.0278918408, -0.0514704771, -0.0008378474, -0.0057222536, -0.0163741726, 0.0403418839, 0.0105256177, 0.0430586487, -0.0615556389, 0.0249117613, 0.0099516949, 0.0370597839, -0.0397156812, 0.030913718, -0.055358097, -0.0112888897, 0.0127892476, 0.0359224044, -0.0710942745, -0.0092485761, 0.0079354914, -0.019613022, 0.0276181605, -0.02953385, 0.0396947861, -0.0315280482, -0.0191686694, 0.0348430499, -0.0301008467, -0.0098816045, 0.0054956451, -0.0328374244, 0.0633271411, 0.0338922553, 0.0068206429, -0.003808354, -0.0327432118, 0.0513634272, -0.0240666587, -0.0124570513, 0.0798804834, 0.022336524, 0.0143547747, 0.0731930956, 0.0469155759, -0.0191996563, -0.0394689403, -0.0050831116, 0.0090145292, 0.0710135773, 0.062934272, 0.0162842236, 0.0288833957, 0.0575869717, -0.0258755609, -0.0144765545, -0.0745511651, 0.0537488014, 0.0105015635, 0.0061416584, -0.0110008484, 0.0037538111, -0.0056726369, -0.0110602956, -0.0506034419, -0.0276611578, 0.0472077094, 0.0210166238, -0.0355612338, -0.0025140315, 0.0412732512, -0.0284486692, 0.0343454406, -0.0247790664, 0.0261402037, 0.0452503301, -0.0023249038, 0.0211811066, -0.0195122808, -0.0168583225, 0.0819828436, 0.0060274014, 0.0033621243, 0.0370663069, 0.0512919091, 0.0085112527, -0.0116594834, -0.008989539, -0.058871232, 0.0068631992, -0.0112658804, 0.0181725044, 0.036237888, 0.0174989011, -0.0551989749, 0.0083349962, -0.0436973535, -0.0094241127, -0.0160679463, 0.0114662014, -0.0080392752, 0.0152709363, -0.0274498854, -0.0061842334, -0.0543476641, -0.034585841, 0.0306195579, -0.0623901226, -0.0076828329, 0.0256863926, 2.758e-7, -0.0005971557, 0.0280551743, 0.052686546, 0.0184924789, -0.0114665693, 0.0158639234, 0.0207192451, 0.0617489517, -0.011362724, -0.052594725, -0.0015548603, 0.0565245897, 0.0181436837, 0.0160140544, -0.0756453127, -0.0061166147, -0.050183285, 0.009539769, -0.0618269965, -0.0147037162, 0.0703836381, 0.0628459379, 0.0104803964, -0.0082823625, 0.0489901826, -0.0565456189, 0.056275662, -0.0422607064, 0.0077112759, -0.0381396823, 0.0200597104, 0.0395134538, -0.0047894688, 0.0230102688, -0.0069014169, -0.0616548397, 0.0355153978, 0.0096596098, -0.0495797284, -0.0396035314, -0.0286534261, 0.0332154743, 0.0042945291, -0.0564036742, 0.0708106533, -0.0780594945, -0.0234001987, 0.030136399, 0.0029292421, -0.026286805, 0.0185399894, -0.0209039114, -0.0016559748, 0.0133272503, 0.0234183595, 0.0029105213, -0.0099280132, -0.0741011575, -0.025534749, -0.0314771011, 0.0065028635, -0.0080756694, -0.0608943142, 0.0184842218, -0.0142816538, -0.0111991623, -0.0526589043, 2.441082767e-34, 0.0252099279, 0.0326210968, 0.0180954374, 0.0121743176, 0.0237034541, 0.0053081657, 0.0510424189, 0.0080286888, 0.0062270509, -0.0649256557, -0.0245048814 ]
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.
A Review of the Applications of Deep Learning-Based Emergent Communication: 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.0649660826, 0.0338475257, -0.0540144667, 0.008745959, -0.0400561281, -0.0021647946, -0.0048527732, 0.0066210022, -0.0102506131, -0.0183562953, 0.0120510031, -0.0029235086, -0.002090333, 0.0745109841, 0.0170716513, -0.0388548821, 0.0191522148, -0.0142693678, 0.0507830903, 0.0054003973, -0.0285481997, 0.0065038372, -0.0199270044, 0.069142364, -0.0345547274, -0.0114233233, -0.0576637723, -0.033134263, 0.0293212309, -0.0313872807, 0.0139307017, 0.012785363, 0.0763963014, 0.0502479374, 0.0000019655, -0.0336482637, 0.0420094989, -0.0403602868, -0.0538700819, -0.0351164639, 0.0285064243, 0.0002953054, -0.0144997928, -0.0181258377, -0.0766712576, -0.0185015947, 0.0693189725, 0.0165845025, 0.0095795821, 0.0477535389, -0.0019665912, -0.0338006616, 0.0249960925, -0.0113714989, -0.0384009369, -0.0395596549, 0.0447914042, -0.0594889075, 0.0160616171, -0.0319395326, -0.036188405, 0.0080967704, 0.0319412872, -0.0117871147, -0.013873619, 0.0435576811, 0.037626747, -0.0522478148, -0.0574814267, 0.0871666744, -0.0071605761, -0.0087586958, 0.0252546277, -0.0391367823, 0.0187429227, -0.0194821823, -0.0179675072, 0.0300778616, 0.0210555308, 0.0141957337, 0.0198972188, 0.0126165487, 0.032089714, 0.0024863887, -0.0165853575, 0.0737252608, -0.0381009281, -0.0176528897, -0.0052824109, -0.0107367532, 0.028442014, -0.0643829405, -0.0043135458, 0.0294754002, -0.046407517, 0.0134703005, -0.024295019, -0.0232616048, 0.0063126646, -0.0342697054, 0.0363017768, -0.0135912476, 0.0131371981, 0.0023403792, 0.0206630658, 0.0244292766, -0.0428934582, -0.0055111893, 0.0075842184, 0.0075219781, -0.0733410642, -0.038311854, -0.0222781058, 0.0472088642, -0.0120219868, -0.0229671132, -0.0308246762, 0.0461437255, -0.0372524075, 0.0017588957, -0.0641011521, 0.0279062334, -0.0448411591, -0.0125984922, -0.0482548028, 0.029458724, -0.0432791486, 0.0277208835, 0.038580168, -0.0574975647, 0.00856659, 0.0115832044, -0.006699841, 0.0232275352, -0.0257070251, 0.0563239492, -0.0231493954, -0.000162478, 0.0134705901, -0.0274660401, -0.0092287585, -0.0398385599, 0.0154546415, -0.0384861045, 0.0232080538, -0.0319655277, -0.0091953436, -0.0390540585, -0.0017956188, -0.0135926642, -0.0114198532, 0.0622666329, -0.0317049436, 0.0085265422, 0.027584333, 0.0082861539, 0.0527284853, 0.058401674, 0.0642974228, 0.0160315465, -0.0077959308, 0.0051464266, 0.0152620729, 0.0034869255, 0.009851018, -0.0328279622, 0.0325457156, -0.0434872285, -0.04802173, 0.0553174354, -0.0219734963, 0.0271951519, -0.0356086344, -0.0028954367, 0.0125181731, 0.087192297, 0.0222785268, 0.0381213948, 0.0717566013, 0.0527889207, -0.0446737446, 0.0230996013, 0.011509778, 0.0207623914, 0.0069187433, -0.0154331289, 0.006559751, 0.0147729684, -0.0408907011, -0.053378161, 0.0336377546, -0.0253807735, 0.0424138084, 0.0019514152, 0.0494819582, 0.0236254241, -0.0227231756, -0.0421188474, 0.0506989621, -0.0123196663, 0.0015479837, -0.0724243224, 0.0207921583, 0.0477621481, 0.0235015135, -0.0129326712, 0.015218283, -0.0047886241, -0.0179121494, 0.0677117631, -0.0119845113, -0.0215352066, 0.0051602437, -0.0438559391, -0.0093536628, -0.0088946959, -0.0085397586, 0.0396147817, -0.0464220345, 0.0196835194, -0.0333939828, 0.0657086745, -0.0394290574, 0.0075200656, -0.0149013698, -0.0103728855, 0.0263031907, 0.0156695694, 0.0551419146, 0.0374537408, -0.026480658, 0.0107042575, 0.0269205943, -0.0018570649, -0.0645513833, 0.0575873107, -0.0311055407, -0.0074423458, -0.0114149423, -0.0788328052, -0.017414907, 0.0151792299, -0.0054860325, -0.0212822426, 0.0839974731, -0.0399181284, 0.0259881932, -0.010073605, -0.0162335262, -0.0097908666, 0.046455726, -0.0125044258, 0.0523735806, 0.0301360786, -0.0416200198, -0.0132283056, 0.0350400992, 0.0000694502, -0.0352996066, 0.0191522334, 0.0047501572, -0.0302038193, 0.0149461813, 0.069015272, 0.0262689218, -0.029986497, -0.0254906844, -0.0337464474, -0.0341750681, -0.0097862389, -0.0127057154, -0.0227968302, -0.0217565782, 0.0113055073, -0.0181303844, -0.0399457328, 0.0928520113, 0.0467685163, 0.003587838, 0.043977093, 0.0167217832, -0.0180695746, -0.0326354504, 0.0010476974, -0.0203199051, 0.0561896749, 0.0573696904, -0.0255135763, -0.0588731878, -0.0105482526, -0.0225460939, 0.0311573446, -0.0285968799, -0.0320728645, 0.0557972491, 0.0154510466, 0.04757021, 0.0519258752, 0.0165513754, 0.119073227, 0.0241184831, -0.0107818609, -0.0370752327, 0.0203442071, -0.0765587091, -0.022643121, -0.0879490227, -0.0180040356, 0.0312267914, 0.0490550213, 0.0141997915, -0.0013390513, -0.056416098, 0.0277519654, 0.0141806956, -0.1114992648, 0.0023613898, -0.0361036249, -0.0343683288, 0.075474672, 0.0147194071, -0.0057073059, 0.1030644998, 0.059005376, -0.002053858, -0.0374900363, -0.0522659644, 0.0039972556, 0.0480796658, -0.0134470053, 0.0025894395, 0.0548795015, -0.059473861, -0.0302212741, -0.0394698791, -0.0190206598, 0.0040326533, -0.0023144793, -0.0450213514, 0.0010716277, 0.0249214321, -0.0335317776, -0.0530991293, -0.0012542709, -0.0322677232, 0.0302173272, 0.0122326687, -0.0376865752, -0.0419927835, -0.0280733965, 0.0155601054, -0.0078053623, 0.0377346575, -0.0161988437, -0.0716317371, -0.0091318041, 0.0503117628, 0.0584642887, 0.0092916582, -0.037673831, 0.0222677384, 0.025577236, 0.0014924471, 0.0057626539, -0.0246984996, 0.0125031639, -0.0003861721, -0.0065508201, 0.0235616378, 0.0518079586, -0.021385178, -0.0414573662, -0.0074145356, 0.0376685373, 0.0088617858, -0.0134577611, 0.0133657306, -0.0139158415, 0.0209040884, -0.0204636063, 0.0091159865, -0.0983346403, -0.0006878183, -0.0159608945, -0.0163797885, -0.0209515188, -0.0125097381, 0.0221793279, -0.0697496831, 0.0367982425, -0.0201363973, -0.0503877662, -0.0376068354, 0.0065549146, -0.035829328, 0.013878569, 0.0034224235, -0.0478218421, 0.0237157345, -0.0180385355, 0.0345404372, -0.0191671327, -0.0510649681, -0.0104414532, -0.0767753422, 0.0986959264, 0.0793543831, 0.0448083207, -0.025652729, -0.0262662061, -0.0593041405, 0.0043363501, 0.0014305796, -0.0127755478, 0.0048964461, -0.0022499841, -0.0247797482, -0.0321637504, -0.0091782566, -0.0183019619, 0.0066153207, 0.0202196706, 0.078237623, -0.0483559817, -0.0749904364, -0.0147363879, 0.0308363065, 0.0524825715, 0.0187356994, 0.0112498468, -0.0688815862, -0.0615966916, -0.0217562467, 0.0038381445, -0.0198243167, -0.0738255158, -0.0076527423, 0.0410104468, -0.0160233304, -0.0622896925, -0.0469781086, -0.0071838656, -0.0062087616, 0.037438415, 0.0118377842, 0.074045226, 0.0078918841, -0.0261273403, -0.0152493045, 0.006619195, -0.0191448983, -0.0328610949, -0.0397487804, 0.0271671899, -0.0340671577, -0.0063332575, 0.0257248469, -0.0368388146, -0.0665863603, 0.0004676887, 0.0154403169, 0.0086796097, 0.0183469336, 0.0039929212, -0.0781213939, 0.0779818818, 0.0594952814, 0.0098111164, 0.0057626865, 0.0306368712, 0.011957013, -0.0165694784, 0.0468648262, -0.0158744697, 0.0245310161, -0.0079366993, 0.0028490941, -0.0534782559, -0.0525348559, -0.0035912646, -0.0301863626, 0.0066526486, 0.0024452009, -0.0660682544, -0.0305545125, -0.0218213927, 0.0167103522, -0.0031661356, -0.0339814834, 0.0052201827, -0.0222894996, 0.0313068554, 0.055394236, 0.0015192429, 0.0091629531, 0.0148945469, 0.0197339579, 0.0263412222, 0.0538395867, 0.0733469129, -0.0143573275, 0.0382109806, 0.0380832255, 0.0644390211, -0.0223311409, 0.0245213266, 0.0202538874, 0.0155138327, 0.0492022634, -0.0295246206, 0.0350026153, 0.0295133535, -0.0379893333, -0.0440817364, 0.0473587066, 0.0293847639, 0.0379867069, 0.0671628714, 0.016045386, -0.0797330067, 0.0266268551, 0.0040079998, 0.0294108372, -0.0340081006, -0.026025692, 0.0267740451, 0.001762966, -0.0349010751, 0.0272097643, 0.0244478136, 0.008011274, 0.0162196625, -0.020740198, 0.0424022377, -0.0328589194, -0.0138518522, 0.0093574245, 0.0282412954, -0.0304880142, 0.0775960013, -0.0088925976, -0.0223644916, 0.014425369, 0.0605813786, 0.0299143009, -0.0323585086, 0.0738421157, 0.0540594794, -0.0264324769, -0.0353119038, -0.0268140696, 0.0177799109, -0.0270010233, -0.0294451937, 0.0021731951, -6.185665067e-33, -0.0176744722, -0.0646469891, 0.0440519042, 0.0399002098, -0.0135569358, -0.0272022076, -0.0289688315, 0.0245183464, -0.0095141698, 0.0657359511, 0.0055608838, 0.0253519658, 0.0096407272, 0.0043955622, 0.0084235212, -0.0299877562, 0.0289397258, -0.0405853651, 0.0330975093, 0.0614740849, 0.032331001, 0.0136890337, 0.0410877392, -0.0652291477, 0.0251531377, 0.0140422527, -0.0009239233, 0.0256793369, -0.0292441957, 0.025856398, -0.0390527435, 0.0417469367, 0.0084487926, -0.0286615286, -0.0095949108, 0.0439996123, -0.0312004257, -0.0377352387, 0.0109379226, -0.0266224984, -0.0914905667, -0.0179061089, 0.0403768383, -0.0061907195, -0.0316059366, 0.0243078824, 0.0550505668, -0.0025879447, 0.0081292391, -0.0017560492, -0.0760858059, -0.0254439656, -0.043917682, -0.0163639672, 0.0562763214, 0.0097104106, -0.0244044773, -0.0229659341, -0.0712329522, 0.0832159668, 0.0211377628, -0.0129912561, 0.0321523696, 0.0431842655, 0.0108016003, 0.0438545123, 0.0407711938, -0.0046304534, -0.0333762616, -0.0076323557, 0.0384343117, 0.0488017648, 0.0263526067, 0.053070318, -0.0438283272, 0.0049855052, -0.0711223036, -0.0385142751, 0.053898938, -0.0137302708, 0.02583462, -0.0102238525, -0.0317936353, -0.0231988728, -0.0125840306, 0.0098090842, -0.0022428143, -0.0230460763, -0.0103013432, -0.0034058352, -0.0036462108, 0.0250551775, 0.0148203867, -0.0670955032, -0.0173272919, -0.0216611829, 0.0157321114, 0.0324483775, 0.0340657905, -0.0001634652, -0.0777390972, -0.0402160175, -0.0108133601, 0.0319966525, 0.0452759266, 0.0143104009, -0.0326325819, 0.0231043603, 0.0047937301, 0.0169342682, 0.0221476369, 0.0150996121, 0.0287522674, -0.0553443618, -0.0175493974, 0.009400635, -0.0229388848, 0.0227371175, 0.024136927, -0.0090077855, -0.0012321437, 0.0181266274, -0.0368564911, 0.0587544888, -0.0524735339, 0.0060063717, -0.0787818581, 0.0501685515, 0.0465063602, -0.0334332585, -0.0216562599, -0.0023713287, 2.697e-7, -0.0606724508, 0.0366761535, 0.0502419025, -0.0023622334, 0.0410612375, 0.0533004999, -0.0204577781, 0.0465563163, -0.0013962854, -0.0152019439, 0.020534249, 0.0363534167, 0.0111396648, -0.0275404081, -0.0756996349, 0.0176997799, -0.0817338899, -0.0104541164, -0.0553501286, 0.0009869421, 0.0393683799, 0.0539004803, 0.0269970521, -0.0201272499, 0.0171754919, 0.0328489989, 0.0147915501, -0.0101422444, 0.0187235568, 0.0257256273, -0.0158836506, -0.0200598668, -0.0211808085, 0.0077957846, 0.0138866613, 0.028276084, -0.0147608165, -0.0227836352, -0.0150928581, -0.0379015096, -0.0036009175, 0.0263317842, 0.0066652913, -0.0275300369, 0.012144262, -0.1383816898, -0.060769476, -0.0023483254, 0.0554220155, -0.0180610772, 0.0019202915, -0.0043362435, -0.0147408945, -0.0299038198, 0.0232009832, 0.0170223974, 0.0347445905, -0.0757528022, 0.06895376, 0.0093171438, -0.0366700031, -0.026435433, -0.0305022467, -0.0090412544, 0.0305515435, -0.0054582213, 0.0235055722, 1.76851518e-34, 0.0183321759, 0.029136315, -0.0046265083, 0.0164672285, 0.0072003361, 0.0216598995, -0.0226898286, 0.0086123189, 0.0667183623, -0.0596520938, -0.0270610489 ]
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.
LLM Internal States Reveal Hallucination Risk Faced With a Query: 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.0116316294, 0.0551613756, -0.0170980468, 0.0187264252, -0.021316845, 0.0123038776, -0.0213480182, 0.0106584309, 0.0335565582, -0.0234533716, -0.0395124704, -0.0495979115, 0.0068587712, -0.0002219496, 0.0550921559, 0.0163550917, 0.0452640951, -0.0544105023, -0.0065442901, -0.0043200413, -0.0416893587, 0.0018827141, -0.0076357601, 0.0633009076, -0.0161262937, -0.0113003068, -0.0210497789, 0.0295270737, -0.031005457, -0.0461147949, 0.0050994586, 0.0883350596, -0.0034594852, 0.0603264086, 0.0000018173, -0.0641412437, -0.0000432792, -0.0346805342, -0.0141750472, -0.0154786259, 0.011279583, 0.0258799791, 0.0222160686, 0.0230630338, -0.0319565758, 0.0161964763, 0.0226730742, 0.0828438103, 0.031430725, 0.0390856788, 0.0067596696, 0.0297992714, 0.0081521133, -0.0016392374, 0.0797075778, -0.027129028, 0.0158263054, -0.0219980367, -0.0299988352, -0.0401975848, -0.0252242368, 0.0268141329, 0.0226125065, 0.0075798156, -0.0163009856, 0.0397855975, -0.0563040525, -0.0336599834, -0.0161590949, 0.0331337489, 0.000041915, -0.0383857787, 0.0185836684, 0.0020325202, 0.0403288081, 0.0006741503, -0.0229554325, 0.0276560318, -0.0155407144, 0.0103920819, -0.0185130984, 0.0071371025, 0.0457616933, 0.0070878942, -0.0262719002, 0.0927748159, 0.0023433967, -0.0109933158, 0.0378188677, 0.0157329421, 0.0180596132, -0.0815155357, 0.0249429736, 0.0297445357, -0.0574990176, 0.0162391011, -0.0604562648, 0.0114598274, 0.0348128453, -0.0392115563, -0.0107502239, 0.0268498864, -0.0350104533, 0.0053761317, -0.0291499849, 0.0210043136, -0.0167187583, 0.0733782202, -0.0103408555, 0.0291334428, -0.0085455207, -0.0377066024, -0.0449766293, 0.0383982696, -0.0033496527, -0.0332912169, -0.0467837639, 0.0018605402, -0.0222921185, -0.0205166414, -0.041372966, 0.0651570708, -0.0125724431, -0.0048857946, -0.0688273832, -0.0227600466, -0.0071667549, 0.0021872732, 0.0636855811, -0.0880003422, -0.0293886103, 0.0111483, 0.0088329455, -0.0120007014, 0.0037622838, 0.0312751159, 0.0013456946, -0.0467831343, -0.0519459955, -0.0751894265, -0.0072255959, -0.0449452624, 0.0291743781, -0.0419843756, 0.0046478584, 0.0003957539, -0.0036598076, -0.0394543484, 0.0324982814, 0.0335128903, -0.0071515543, 0.0735077187, -0.0214922223, 0.0148284873, 0.0413101055, 0.0337129757, 0.0042302567, 0.0638914332, 0.0028042137, 0.0620473363, 0.0065514147, 0.0040888973, 0.0589546412, -0.0006335378, 0.0347815938, -0.012515936, -0.0555814207, -0.0227554366, -0.0434567891, 0.0331099406, 0.0314883739, 0.0547019467, -0.0303977672, -0.0262224823, 0.0740624443, 0.0548951738, -0.0070412154, -0.0223564152, 0.0221464187, 0.0001802715, -0.0050481874, 0.0314611122, -0.0869352147, 0.0635219365, -0.0145096211, -0.0002618549, 0.0639404505, -0.0121985273, -0.0136419609, -0.0559184738, -0.0101075163, 0.0032052021, -0.0089739393, 0.0169089567, 0.0052301916, 0.0443610996, -0.0504319035, 0.0470061414, -0.0183328055, -0.032120958, 0.0344249271, -0.0857763439, 0.0390434526, 0.0697143972, 0.0624193177, 0.0174426939, -0.0001930621, -0.0197973475, 0.0136773121, 0.0542262644, 0.0347295962, 0.014314414, 0.0315155499, -0.038050957, -0.0167106539, -0.0159579925, 0.0418873876, -0.0138158966, 0.0013305034, -0.0108796665, 0.0233919453, -0.0539662987, -0.0385458171, 0.0529763773, -0.0111047467, -0.0486946255, -0.004560899, -0.0109743234, -0.0054663774, -0.0353457294, 0.0216328651, 0.0660674423, 0.0223076921, -0.0082721319, -0.0490195677, 0.0070906286, -0.0430053733, -0.0058135651, 0.0163114592, -0.0185162202, 0.0073664878, -0.0295511186, 0.0073472974, -0.0386035554, -0.0002086659, -0.0664376915, 0.0399583094, -0.0581189319, 0.0175196603, 0.0200294144, 0.0492913499, -0.0128896153, 0.0655821413, -0.0376404747, 0.0003751141, 0.018345762, 0.0002378206, -0.0145865297, -0.0276437439, -0.0210185014, -0.0198590346, -0.0274207871, 0.0026509177, 0.0057960972, -0.029447576, -0.0923234299, -0.0010331543, -0.0603003986, -0.022560928, -0.0128200231, -0.0064940332, 0.0347070694, -0.0219626985, -0.0202973168, -0.0046011596, -0.0461987108, 0.0088665839, 0.0235197227, 0.0383079238, 0.0169946328, -0.012101315, -0.0053008799, -0.025107529, 0.0265937205, -0.0173207428, 0.0483449884, 0.0001429261, -0.0293491744, -0.0827224776, 0.0596024655, -0.0436007231, 0.0054012667, 0.0165795926, -0.0273913275, 0.0402025096, 0.0026518528, 0.0108235637, 0.0467531569, 0.0311437827, 0.0009794551, 0.0930481255, -0.0249971785, -0.0390053131, -0.0097104339, -0.0355869792, -0.0064711352, -0.004225581, -0.0387324467, 0.0259664562, 0.060427554, 0.0407280438, 0.0044467933, -0.037038438, 0.0489416607, -0.0282059945, -0.0979876444, -0.0122323725, -0.0050568483, -0.0307280198, 0.0875554085, -0.0080984365, -0.0890308246, 0.0933162048, -0.0091975313, 0.0160777643, 0.0317170583, 0.0246732645, 0.0230608433, 0.0491942428, 0.0261147451, 0.0280883256, 0.013564392, -0.0392021649, -0.0536190383, 0.0023294371, -0.0401783548, -0.0399184898, 0.0273476616, -0.0267132409, -0.0113956966, 0.0231568124, -0.0002213632, -0.0784071013, -0.0218061283, -0.0248347148, -0.0198747087, -0.0195915718, -0.0113107897, 0.0021613755, -0.0171256624, -0.0028992672, 0.0112150228, -0.0461136475, -0.0513605364, -0.0042634611, 0.0107500721, 0.0587547868, 0.013885472, 0.0737839341, -0.0451746732, 0.0180428308, 0.066627115, 0.0522001013, 0.0493282862, -0.0085955523, -0.0000901194, 0.0255251098, -0.0036188408, -0.0012322055, 0.0583470576, 0.041902829, -0.0386843942, -0.066942431, 0.1039815545, 0.0283060409, -0.0613350607, 0.021313386, -0.0515612178, 0.0493906699, 0.0318182856, 0.0118913539, -0.0658841208, -0.001535372, 0.000242777, 0.0066058948, -0.0397088751, -0.0401526578, -0.0168522093, -0.0975841209, 0.0430279523, -0.0044790613, -0.011560563, 0.0156685282, 0.0086498214, -0.0237021968, 0.0369825922, 0.055470854, 0.0298807044, -0.0015989116, -0.001159931, 0.0199796874, -0.0076576765, -0.026762912, 0.0132156024, -0.0298161209, 0.0505186133, 0.0757494196, 0.0302052051, 0.0052823122, -0.0673559234, 0.042964533, -0.0061524264, 0.0378334671, -0.000050016, 0.0763953328, 0.0268264171, 0.0100064073, -0.0162475314, 0.0260815807, -0.0505592935, -0.0199886281, -0.017180549, 0.0342109576, -0.0632569492, -0.0501129217, 0.0035203574, 0.0365822241, 0.0014627333, 0.0813880563, 0.0495294221, -0.0187984612, -0.0362543091, -0.0128459679, 0.065331012, -0.0647135377, -0.023456743, 0.0666610226, 0.0605350472, -0.017306067, -0.0792021155, -0.0292377807, 0.0064627314, 0.0186691768, 0.0129271625, 0.0446575694, -0.0232965834, -0.0147969425, -0.0358822085, 0.016181631, -0.041226387, -0.0133256856, -0.0369906388, 0.0047074729, -0.0071271029, -0.0253023226, 0.0094717313, 0.0430948101, -0.0868783072, -0.0732544661, 0.0132704554, 0.0499934852, 0.032924898, -0.0001184841, -0.0158034284, -0.0697329268, 0.0484840795, 0.0586891957, -0.0396646112, 0.023811413, -0.0070754648, 0.0060491627, -0.0133713568, 0.0367700532, -0.0167713929, -0.0375780426, 0.017134374, 0.0238456279, 0.0200470779, 0.0081201112, 0.0435246788, 0.019053245, 0.029029442, -0.0616599992, 0.0537568778, -0.0282716043, -0.0148701575, 0.005672521, -0.0021429737, -0.0187882073, -0.012175329, 0.0523630232, -0.0050669368, 0.0075771855, -0.0556593165, -0.0150640784, 0.0249224771, 0.0039053112, -0.0535579734, 0.0007799931, -0.0068202731, 0.0336322822, -0.0159080885, -0.0089882081, 0.0362508819, -0.0168495495, 0.0444366261, 0.0299263708, 0.0460978709, -0.0002081708, -0.0112494612, -0.014997445, 0.0182057582, -0.0433268249, -0.0963163599, -0.011967849, 0.0034291202, 0.0062159984, 0.0046778861, 0.0382608101, -0.0099106049, 0.0255344026, -0.0050137625, 0.0118618794, 0.0038430083, -0.052061405, 0.0357828252, 0.0007382318, -0.027259361, -0.0317488872, 0.0914696008, 0.0012544916, 0.0371964052, -0.0222802591, -0.0365338922, -0.0200015698, -0.0407035202, -0.0201464798, 0.010057319, -0.0494785272, -0.0169907082, -0.0519584753, -0.0858537033, -0.0096607041, 0.0123791778, 0.0392591506, -0.0260550305, 0.0257688239, 0.0784098804, -0.0084601883, -0.0256707892, -0.0251570139, -0.0055293953, 0.0088887457, 0.005319824, -0.0193476323, -6.343306941e-33, -0.0017313026, -0.0711741075, 0.0299472902, -0.0525216721, 0.0026250023, -0.0168994348, -0.0459259972, 0.0280536879, 0.0220853556, 0.0080074631, -0.0234779865, 0.0291147362, 0.0162748713, 0.0078908373, 0.0456741303, -0.0414621606, 0.0448808782, -0.0126758786, -0.0396330208, 0.0092454273, 0.0410868786, 0.0258254483, 0.0449050106, -0.0265218392, 0.0231728926, 0.0040198276, -0.0373331793, 0.023009412, -0.0489443988, 0.0352080762, -0.0379325822, 0.0137725314, 0.0152845085, -0.0110987099, -0.022035595, -0.0202406533, 0.015595533, -0.0374289304, -0.0022387288, 0.0081813913, -0.0385510996, -0.02190971, 0.0564196929, -0.0336095728, -0.0336538367, 0.0284163728, 0.0068923095, -0.0137620987, -0.023667261, -0.0086198235, -0.0338139646, -0.0106344549, 0.0246624369, -0.021897262, 0.0133971144, 0.0667827129, -0.0258042738, -0.0243483353, -0.0706582069, 0.023873562, -0.0143141607, 0.024552403, 0.0822881684, 0.0325712301, -0.0013936117, 0.0801224783, 0.0745135471, 0.0233391281, -0.0196503419, -0.0064734882, 0.0341248363, 0.0600877739, 0.0165498517, 0.0055873394, 0.0530101359, -0.0194373857, -0.0084290085, 0.02741546, -0.0380061232, 0.0067664795, 0.0628246963, -0.0153891565, -0.0164437816, -0.0377576724, -0.0414341316, -0.0022566938, -0.0472946055, -0.0253046118, 0.0502625294, 0.0308461003, -0.000640578, -0.0339174196, 0.0227093976, -0.0165067073, 0.0122825326, 0.0063899187, -0.0101953708, -0.0323908217, 0.0046679191, 0.0024762137, -0.0147991227, 0.0069951578, -0.0032428969, 0.0129579538, 0.0171871409, 0.0122937886, 0.0057746693, -0.0000895284, -0.0649318844, 0.0087398486, -0.0604538992, 0.0394650921, 0.0194527786, -0.0308349486, 0.0620907061, -0.0348552652, -0.0439761467, -0.0172271002, -0.0045029442, 0.0164969228, -0.0255955476, 0.0506234355, -0.0303572007, 0.0297683682, -0.0147290239, -0.0394804664, -0.0263437666, -0.0101020169, 0.0560634993, -0.0611246675, -0.0179689135, 0.0060531544, 2.69e-7, -0.0091826404, 0.0231059156, 0.0011062663, 0.0323017687, 0.0171623342, 0.0335833877, 0.0090981144, 0.0242914129, 0.0197386146, -0.0736439228, -0.0062570637, 0.0031342078, 0.0539730601, 0.0418233015, -0.0818102658, -0.0172393732, -0.0441020802, 0.0537624732, -0.0239797328, -0.0694275871, 0.0115470802, 0.0401225276, -0.0057800803, -0.0408923551, 0.0308697093, -0.05314916, 0.0752666369, -0.0241406485, 0.0105889281, 0.0263014175, 0.0642579049, 0.0205107965, 0.0298142955, 0.0455851033, -0.0269282814, -0.035926871, -0.0168885291, -0.0166994128, 0.0294531696, -0.0670530722, -0.0225052908, 0.0075067887, 0.0363124609, -0.0719782338, 0.0318773575, -0.0449578054, -0.020225903, -0.0128554162, 0.046103172, -0.0402919799, 0.0571792051, -0.0291647352, -0.0092959981, 0.0114120953, 0.0021518131, 0.0333251841, 0.0027003088, -0.0489394739, -0.0271498058, -0.0226453617, -0.0255386233, -0.0171462074, -0.055841472, 0.0473169908, -0.0203671493, -0.0608266927, -0.0125566432, 2.240779448e-34, 0.0097243702, -0.0104777254, 0.0169443619, 0.0384754799, 0.0512787327, -0.0036691157, 0.0569735952, 0.0138940858, 0.0092464946, -0.0383989438, -0.0330690444 ]
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
Evaluating Automatic Metrics with Incremental Machine Translation Systems: 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.0145311309, 0.0654636174, -0.0265039895, 0.0041303509, -0.0265892446, 0.0134081552, 0.0275937822, 0.0391048118, -0.029258348, 0.000114487, -0.0183025282, -0.0193172824, 0.0409231521, 0.0178958755, 0.0265120864, -0.0439429171, 0.00679792, 0.0121799419, -0.0309546404, 0.0225591809, -0.0059303967, 0.0182331931, -0.0178225022, 0.053110119, 0.0117672104, -0.0107026678, 0.0357884355, 0.0140154604, 0.0524585694, -0.0278296936, -0.032224156, 0.0184813142, -0.0046191751, 0.0795913637, 0.0000018089, -0.0541651137, -0.0139404982, 0.010542497, 0.0080877459, 0.0195267629, 0.0564552955, -0.0439953022, -0.0363183841, 0.0058768787, -0.0403526016, 0.0069131698, 0.0492891781, -0.0748446211, 0.0589222237, 0.0641236752, -0.0067068636, -0.0122976266, -0.0416230895, -0.0299819, -0.0297649726, -0.0320644975, -0.0437428802, 0.0438458957, -0.0385778658, -0.0078013516, 0.0173070934, 0.0479401164, 0.0255758297, -0.0180670284, 0.024825599, 0.0145106325, -0.0189011004, -0.0248047132, -0.0014934923, 0.0482300259, -0.0122801047, -0.0057073208, -0.0326919891, -0.0150306374, -0.0275245011, -0.0649770126, -0.0210095979, -0.007415127, 0.0082793059, -0.0375674665, -0.056370832, 0.0631016493, 0.0208733715, 0.0030092727, -0.0266770832, -0.0146517567, 0.0266254749, -0.0195188262, 0.0066502416, -0.0026538277, 0.0095169861, -0.0314281248, 0.0429423004, 0.0016547786, -0.0171528682, 0.0030872109, 0.0002908303, -0.0598661453, 0.0375617072, -0.0642626807, 0.0164357014, 0.0581698231, -0.0328740552, 0.0457502715, -0.0064868461, 0.0934459046, 0.0192100275, -0.0072100847, -0.0690932423, 0.0435097478, -0.0266318787, 0.0451002344, -0.0209565628, -0.040022634, -0.0060615018, 0.0034857199, -0.0564642064, 0.0289352648, 0.0089642191, 0.0147617403, 0.0296315234, -0.0372255445, -0.0666658059, -0.0142578501, -0.0085894624, 0.0301788952, -0.0454262272, -0.0421360359, 0.0107868593, -0.0152196083, 0.0023731606, 0.0152195012, -0.0213397928, 0.0021677357, -0.0046034087, 0.088046141, -0.0189798586, -0.0261034854, 0.0417350866, -0.0008973978, -0.0384111591, -0.0579819568, -0.0607274845, -0.0479541011, 0.0499779619, 0.0121784648, 0.0042622765, -0.0196984019, -0.017145047, 0.0037577243, 0.029441053, 0.0259430911, 0.0265733805, 0.0250165742, 0.0112351282, -0.018129047, -0.0367541909, 0.0770590827, 0.0690207854, 0.0515678152, 0.0634511337, 0.0138908522, -0.0231534317, 0.049588576, -0.0273862816, 0.0631174147, -0.0421291851, 0.0213221665, -0.0190528799, 0.0713886395, 0.0079344446, 0.0401566513, -0.025293164, 0.0145834638, 0.0489719436, 0.0129327504, 0.0215596482, 0.0069427448, 0.049799934, -0.0037711794, 0.0059682168, -0.0202186871, 0.0187192783, 0.0247940477, 0.0164404605, 0.0210295953, 0.032755103, 0.0414537936, 0.0174389761, -0.0708243474, -0.0022669162, -0.0102949571, -0.0048518628, -0.014766179, 0.0757969171, 0.0101094348, -0.0225753654, -0.0032971567, -0.0381043889, -0.0529237203, 0.0011568406, -0.0215753932, -0.0177735593, 0.0523216762, 0.0865833536, -0.0064424621, 0.0095008751, 0.0045480025, -0.0034502933, 0.0244914815, 0.0690257177, -0.0036790199, 0.0162273943, -0.0127086937, -0.0235633347, 0.0580738336, 0.0136850867, 0.0036149169, -0.00017254, 0.0738369599, 0.0454656966, -0.0664776191, -0.1054274589, 0.0440196395, 0.0072467248, 0.0161947906, 0.0280189309, 0.0138998795, 0.0230858438, 0.0548398718, -0.0305343792, 0.0021492664, 0.0303294603, -0.0253160279, -0.0212784298, 0.0680333748, 0.0228635594, 0.0138565451, 0.0334680155, -0.0235900208, -0.0279011391, -0.0213117134, -0.03777178, -0.0030433899, -0.0183151681, -0.0552088208, -0.0021737856, -0.0179078076, 0.0474380292, -0.0401522294, -0.0178776365, -0.0523995943, 0.0202896968, 0.0036091811, 0.0325910598, -0.0234511923, -0.0371133462, 0.0515013896, 0.0039164992, 0.0047490168, 0.0482904837, -0.0008072099, 0.0414537191, 0.0649949759, 0.0374984592, -0.0612457991, -0.0348000191, -0.0687315837, 0.0123734372, -0.0204661805, 0.043597538, 0.05053664, 0.0300627276, -0.0036889941, -0.0024632732, 0.009321223, -0.0060804659, 0.0084150769, 0.0157264136, 0.030506203, -0.0009251764, 0.0041894335, -0.0249340348, 0.0008293426, 0.0059343749, 0.0353147797, 0.0455791876, 0.0140274707, -0.0905046016, -0.0037664943, -0.0492763296, -0.0400023833, 0.0116351107, -0.0824625194, 0.0306455549, 0.0046395576, 0.0180554595, 0.0566553883, 0.0116039598, -0.0075887227, 0.0415194333, 0.0049199178, -0.0360500999, -0.0221397541, -0.0067962194, -0.0787374973, 0.0113915466, -0.0776900575, 0.0204116218, -0.0191296488, 0.006916442, -0.0032583117, -0.0423931964, 0.0057663275, -0.0598317049, -0.0188700818, -0.0352260806, 0.0332750306, -0.010983794, 0.0685802847, 0.0132414289, -0.0682305768, 0.0604721308, -0.0213090982, -0.009269122, -0.061900679, 0.0252471827, -0.0290287826, 0.0425986797, -0.0154561484, 0.0203268733, -0.0522962883, -0.0112246228, -0.0127470037, 0.0419892855, 0.0209894925, -0.0507286638, 0.0342018232, -0.071447067, -0.0058796932, -0.0055734674, 0.0017367508, -0.0135857025, 0.0096284226, -0.0132315187, -0.0406842344, -0.0099757593, -0.0361728854, -0.0323279426, 0.0338866375, 0.0205482002, 0.0669328049, -0.0034825064, -0.037134435, 0.0123062497, -0.0120201223, -0.0351105668, -0.0030445429, 0.0123671452, -0.0271183774, 0.014540364, 0.0054047741, 0.0305461846, -0.0077573401, -0.0392675474, -0.045027636, 0.0079306541, -0.0011904178, 0.0410466827, 0.0226207841, 0.0490635149, -0.0246176999, -0.0026902924, 0.0839368626, 0.0359783545, -0.0298035424, 0.0123613598, 0.0074375756, 0.041594997, 0.0289352853, 0.0197648033, -0.0820615962, -0.0091917152, 0.0104991002, 0.0816741288, 0.0096836425, 0.0170054343, -0.022486344, -0.0511431582, 0.0001317693, 0.0250979681, -0.0427228808, -0.0309187472, -0.0216734819, -0.0129922666, -0.0570669621, 0.0246776193, 0.0069252443, 0.0230578873, 0.0189465247, -0.0055018556, -0.0452240855, -0.0595153756, 0.0098057399, -0.0365592502, 0.002951087, 0.0656687319, 0.0445019156, -0.0021075571, -0.0386953205, -0.0127686542, -0.0140927434, -0.0061077927, 0.0085578049, 0.0486989319, 0.0174980164, -0.026997596, 0.023010185, -0.0371078998, -0.0220815949, 0.0447964296, 0.0360563137, -0.0088725714, -0.0004927078, 0.0237308145, 0.0045226756, -0.0063078739, -0.0092455195, 0.0306452215, 0.0137689011, -0.0586017258, 0.0241166204, -0.0209610965, 0.0046499185, -0.0634736568, -0.0101427455, -0.0246254057, -0.0934472457, -0.0521528609, -0.1258340329, -0.060500253, -0.0173021518, 0.0480605103, 0.0132690556, -0.0180926807, -0.0258283988, 0.0114053003, -0.033258643, 0.0014241453, 0.0206392985, 0.0612720847, -0.0527158938, 0.0156662967, -0.0009657432, 0.0362852588, -0.0196513832, 0.0581864081, -0.0734224319, -0.0441071093, -0.025721956, 0.0486437157, 0.031267792, -0.0016492319, -0.0617525093, -0.0048331572, 0.0058792951, 0.0178030506, -0.0266757514, 0.0000702514, 0.0101824151, -0.0033792867, -0.0343240388, 0.0280220937, -0.0389385261, -0.0323883295, -0.0394335277, 0.05355056, 0.0126971379, -0.0301263463, 0.0072325831, 0.0244644471, 0.0348940715, -0.0623286515, -0.0273025036, 0.0031865225, 0.0005501928, -0.0079058809, -0.033394482, -0.0339963511, -0.029966699, 0.0421289615, -0.0025260458, -0.0329496451, 0.0667704567, -0.0348031111, -0.0357024223, 0.0121157328, -0.0107000368, -0.0297989007, 0.0686691776, -0.0023630958, 0.0019595674, -0.041828271, -0.0293662623, -0.0059740082, 0.0263715778, -0.0219601188, 0.0370801836, 0.0119086942, 0.0221187659, 0.0381038822, 0.0707607269, 0.0028398177, -0.0076508904, -0.0137949903, -0.0039844192, 0.0662494302, 0.0238190871, 0.1347547024, 0.0126648434, -0.0089018205, -0.0166456047, 0.0267004892, 0.0010943887, 0.0059047849, -0.0674078465, -0.0144584356, -0.0003581647, 0.0409160741, 0.0575155057, -0.0585249662, -0.0286389701, -0.0375041887, -0.0136450771, -0.0181838572, 0.0185648873, -0.020933738, -0.0299763437, 0.0060326364, -0.0491345786, -0.0416634083, -0.0492613763, -0.0020508189, 0.0417327173, 0.0185492542, 0.0029351129, -0.0003359983, 0.1010611132, -0.0398831964, 0.011601422, -0.0526438653, 0.0022298868, -0.0384586193, 0.0013113165, -0.0431598127, -5.741074002e-33, -0.0077098459, -0.0214750841, -0.0174476355, -0.0357303657, -0.0340135172, -0.0026970298, -0.0202720556, -0.0226888936, 0.0253534149, 0.0059412248, -0.0079560447, 0.0072131506, 0.0176270641, -0.0594461747, 0.037695311, 0.0325345024, 0.0368568599, -0.000734883, -0.0759963617, 0.019194968, 0.0336625427, -0.0134301102, 0.0791424885, -0.0632759482, 0.0556741059, 0.0123942681, -0.0371889211, 0.0109364865, 0.0538503118, 0.0183953661, 0.0288875867, 0.0327460095, 0.0065190359, -0.0139624747, -0.0226156991, -0.0467486158, -0.0370867774, 0.0024753397, 0.0008135698, 0.0595555305, -0.0035587209, -0.0025250833, 0.0316137597, -0.0495297499, -0.0595865026, 0.017647054, 0.0227818135, -0.0696203336, -0.0308531616, -0.0074814009, -0.0177483801, 0.0329507291, -0.0479538478, 0.0072212075, -0.0074740718, 0.0686501786, -0.0169533603, -0.0128569631, -0.0704049394, 0.0148438588, -0.0154534606, 0.0340451822, 0.0888068378, -0.0229503009, -0.0087830573, 0.0027196819, 0.0107655497, -0.0079128444, 0.0431629792, 0.0058714338, 0.0545363352, -0.0229168087, 0.0747797862, 0.0287791304, 0.0208481904, -0.0167308897, -0.0247685835, 0.091868341, 0.029424822, 0.0330882557, 0.0135429939, 0.0211548954, -0.0544310175, 0.0071763014, -0.0374789648, -0.0430956408, -0.0229692906, -0.0564757586, -0.0051069534, 0.03050947, -0.0285992287, -0.0383756943, 0.0431017503, -0.0086900527, 0.0068838852, -0.0167860202, -0.0569455922, 0.0239600241, -0.0041491063, 0.0273838621, 0.0021179994, 0.008384469, 0.0081197927, 0.0660468563, 0.0388607234, -0.0723742545, 0.0394651517, 0.0223111175, -0.0513664037, 0.0289145838, -0.0261889603, -0.0296233743, -0.0288367607, -0.0342686065, 0.0015811255, -0.0080233878, -0.0278439391, 0.0584399588, 0.0326710567, -0.0073799798, -0.0619347058, 0.0288716778, 0.0444952697, 0.0221428666, -0.0564777143, 0.0030592878, -0.0031149227, 0.0259291474, 0.0426192433, -0.0399572253, -0.038014099, -0.0067910734, 2.529e-7, 0.0695469901, 0.0756674483, -0.0031746922, 0.0292351358, 0.0054623908, 0.0131756067, -0.0455081947, 0.0119426819, 0.0116733965, 0.0439268239, 0.0358014107, -0.0176039655, 0.0713727474, 0.0411083288, -0.0397671796, -0.0573007241, -0.0736516714, 0.0228573438, -0.0665899366, -0.0102686174, 0.0605009831, 0.0473244116, 0.01954001, 0.0191208515, 0.001928811, -0.0581470244, 0.0544957928, 0.010899852, 0.0005180329, 0.0092862267, 0.0722949281, 0.0391414054, -0.0273966696, -0.0101755578, -0.0387454294, -0.0096121579, 0.0606627278, 0.0389538147, -0.0095153553, 0.0018153348, 0.0078439303, -0.0002304026, 0.0041057304, -0.0434616506, 0.0366638862, -0.0220762827, -0.0014197156, 0.0026285304, -0.0387852713, 0.0157611482, 0.0626375154, -0.034104012, -0.0673927814, 0.0424928181, 0.0390014984, 0.0190608501, -0.0129718836, -0.0356026441, -0.032052245, -0.0044386741, 0.0146105075, -0.0717548132, -0.0203462895, 0.034102194, -0.0391821004, -0.009319704, 0.0037050536, 1.871321344e-34, 0.0511242114, -0.0146874338, 0.0114055471, -0.0390172787, 0.0558369868, -0.0208298061, 0.0028877398, -0.0278723501, -0.0284943022, -0.0259932186, -0.0052107251 ]
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).
How Similar Are Elected Politicians and Their Constituents? Quantitative Evidence From Online Social Network: 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.0064033186, 0.0981582999, -0.023508532, -0.0014929349, -0.0354873687, 0.0123355277, -0.0235165376, 0.0263152011, 0.0362403244, 0.010910565, 0.0251540374, -0.029229695, -0.0015998053, 0.0036171034, 0.0503136851, -0.0816058591, -0.0017494226, 0.0682642311, 0.0443870202, -0.0675547719, 0.0180456601, 0.0073760669, 0.0386832021, 0.0182316303, 0.0063371817, 0.024173025, 0.0080000693, 0.0464656986, 0.0661457181, 0.0055559669, 0.0131744007, 0.0304710716, -0.0400195085, 0.0137405293, 0.000001783, 0.002974682, 0.0176655985, -0.0365268849, 0.0502457954, -0.0256395489, 0.0932566449, 0.0389558449, -0.0108993417, 0.036588002, -0.0411282629, 0.0184032824, 0.0164625533, -0.0206244737, 0.0569819212, -0.0052503808, 0.0062720813, -0.0013343698, -0.0161132533, -0.0121744219, 0.0186804011, 0.0031716665, 0.0243966375, -0.0812064558, -0.0282090083, 0.0072890278, -0.0000788449, -0.0038087992, -0.03130804, 0.0224684328, -0.007164672, 0.0025496746, -0.0049318857, 0.0016820142, 0.0071505578, 0.0123515166, 0.0434925146, -0.0214693453, 0.0298603624, -0.0049380739, 0.0055031395, 0.0400293656, -0.0450944752, 0.0365802273, -0.071886979, 0.0091346912, 0.0119827632, 0.0307285283, -0.0252987966, 0.0348976776, -0.0022552651, 0.0357876755, -0.0056410828, -0.016924534, -0.0233105347, -0.0011260727, 0.0484858416, -0.0414509773, 0.0145192081, -0.0421606004, 0.0582647398, -0.0004315785, -0.0004133896, -0.0045217127, 0.0254344456, -0.0450168066, 0.0321474932, 0.0002944957, -0.01026766, 0.0578424968, 0.0745947286, -0.014463895, -0.0442711338, 0.0379463099, 0.0127398716, -0.0017268932, -0.0392759591, 0.0301494747, 0.0573281348, -0.029158188, 0.0222774278, 0.007553129, -0.0094730565, 0.0003162903, -0.0372211784, 0.0262314249, -0.0455245338, -0.0070453407, 0.0082664061, -0.0073126452, -0.0541281179, 0.0331930444, -0.0292506982, 0.0154138748, -0.0264808107, 0.0063572917, 0.0116386944, 0.0267796349, 0.0818975121, -0.0006166676, 0.0100197028, 0.0237530228, 0.0151345376, -0.0017360542, 0.0400342382, 0.0025661769, 0.0162144825, 0.0170243271, 0.0291736443, -0.0497804582, 0.0105525311, 0.00678421, 0.0142711634, -0.0323113427, 0.0136096701, 0.0230123047, -0.0281486586, 0.0255135689, -0.0133623537, 0.0548449345, 0.0296832826, 0.0259266049, 0.0158732086, 0.0134244654, -0.0089759436, 0.0307808276, 0.0458294228, 0.0001178002, 0.011911694, 0.0466899984, -0.0147353392, 0.0312134568, -0.0064577116, 0.01732626, -0.0245992113, -0.0314055271, 0.043035198, 0.0266278461, -0.0075418828, 0.0434852466, 0.0598080829, 0.0422551595, 0.0176339466, 0.0333353691, -0.023467401, 0.0499986857, -0.0066831824, 0.0136350747, -0.0105038621, 0.0072922437, 0.0385335498, -0.0436402, 0.0749192387, 0.0286679957, -0.0330642834, 0.0257643778, 0.0166899934, 0.0042365068, 0.0557469353, -0.0231286921, -0.0128715932, -0.0307105854, -0.0204298794, 0.0016414108, 0.0481979251, -0.0421811901, -0.0200200379, -0.0360287055, 0.0151583068, 0.0094463481, -0.0321570411, 0.0205363464, 0.0201101862, -0.0044975849, 0.0324069224, 0.0393181592, 0.0512855202, -0.0176157095, -0.0433828235, 0.0095428461, 0.0175010469, 0.0226780921, 0.0088634323, 0.0236833896, 0.047684662, 0.0260861292, -0.0269138739, -0.018986579, 0.0297656637, -0.0177971032, 0.0272040106, 0.0198450293, -0.011865681, 0.0033267357, 0.0341395922, -0.008658628, -0.0161005296, -0.0346450433, 0.0217223894, -0.0221238174, -0.0118429931, -0.0144292796, -0.0323887579, 0.067746602, 0.005450848, -0.0312579237, -0.0292829182, 0.0284019895, -0.0100809755, 0.0045920927, 0.084731482, 0.0049304748, 0.0177345108, 0.0049865087, -0.016490804, -0.0516728982, -0.0378764644, -0.0168281998, 0.0559562594, -0.01929814, -0.0122979814, -0.0379454829, -0.0319928229, 0.0145662483, 0.0121190269, 0.0353671238, -0.0810657814, 0.0208017565, 0.0367370844, -0.0369797237, -0.011789537, -0.0506305583, -0.0585690401, -0.0498197936, -0.0191657282, -0.0335057154, 0.0305343363, 0.047519967, -0.0190539714, -0.0056871613, 0.0293230563, -0.0391266495, 0.005354757, -0.0343166068, 0.0038445552, 0.0164435785, -0.0114126289, -0.0198098402, -0.0480312631, -0.0031946569, -0.0493175499, -0.0025819559, -0.0349241495, -0.0378661901, 0.0573911257, -0.0255558137, -0.0472374558, -0.0202867649, -0.0564640947, -0.0217865221, -0.0021197158, -0.0064652981, 0.0188833792, 0.0151111782, 0.1000600085, 0.0571873933, -0.0420599207, 0.036554046, -0.0478532426, -0.033177238, -0.0542275235, 0.0572718605, -0.0222503468, -0.0470519438, 0.0247115716, 0.0325367562, -0.0063097258, 0.0373883732, 0.0012389971, 0.0720425397, 0.00342342, 0.0008583035, -0.0320762694, 0.0199895371, 0.0280137528, 0.0175573528, 0.0116768284, -0.029545432, -0.0180192124, 0.0000950238, 0.1030212939, 0.0392173976, -0.0652798191, 0.0137035474, 0.092538856, 0.0373913869, 0.0147976931, -0.0158298854, -0.0069426526, -0.0117367525, -0.0412887894, 0.0588498786, -0.0322589539, 0.0313974097, -0.0069076926, -0.0004385771, -0.0124747092, -0.0217889547, 0.0267193671, -0.1322873831, -0.0300347563, -0.0101440419, -0.004807815, -0.0871834829, 0.0120868506, 0.0159220025, 0.0188770164, -0.0387941971, 0.0002151947, 0.0083057191, 0.0235057939, 0.0201374218, -0.0113626085, -0.0005436809, -0.0017112724, -0.0488997586, -0.0583258271, 0.0005305753, -0.0185817238, 0.0578166135, -0.0099755814, -0.0346472524, -0.0063549462, -0.0264969915, -0.024286909, -0.005194583, 0.0248604454, -0.0047788592, 0.009409654, 0.0155646503, 0.0167084038, 0.0106461905, -0.0173446052, -0.009742463, 0.0118895462, 0.0342288315, -0.0343599617, -0.0901767388, 0.050131131, 0.0110738659, -0.0084091406, -0.044885274, -0.0070671206, -0.0174938999, -0.0712071285, 0.006407185, 0.0123018641, 0.0356768854, -0.0036893275, -0.0084994724, 0.0224786699, 0.0174438357, -0.079328306, 0.0072451225, -0.0026494833, 0.0073716491, -0.0159360971, -0.1126227453, -0.0167798642, 0.0053514414, -0.0480053499, 0.0326359682, -0.0239876322, 0.0844497159, 0.0016992864, -0.0023349104, 0.02675841, -0.039839223, -0.0158186127, 0.0246199481, 0.0837831497, -0.03651103, 0.0244358853, -0.0815667212, 0.0152535178, 0.0472103842, 0.0080960039, -0.0227955561, -0.0079516321, -0.0076029627, -0.0711966604, -0.0194464959, 0.0276644044, 0.0864528269, 0.0281199887, 0.0416314043, -0.0178408343, -0.0105262287, -0.0214012992, 0.0005116588, 0.0140942279, -0.0497159772, -0.0057510803, -0.0059228232, 0.0243073944, 0.0027537562, -0.0238250289, -0.0390018709, -0.0033388839, -0.0175204463, -0.0125683406, 0.0210603233, -0.0495894067, -0.0120696193, -0.0264583137, -0.0303223915, 0.0079358229, 0.0330717564, -0.0657026097, -0.0047062063, 0.0337941237, -0.0393042453, -0.0698984116, -0.0583443902, 0.0007398727, 0.0189668443, -0.0496523157, 0.0181814749, 0.011244664, 0.0140964761, -0.0088819657, 0.04172289, 0.0542091206, -0.0026159191, 0.0133910431, -0.0087167034, 0.0593509786, 0.0016135845, 0.019565735, 0.0007024382, 0.0420637615, 0.0634194911, -0.091263026, -0.0323534794, 0.0117880227, -0.0246251393, -0.0240725782, 0.0145411603, 0.0304702055, -0.0913615525, -0.0189768989, -0.0495841317, -0.004886678, -0.0099548874, 0.0164494682, -0.0628641397, 0.0119503383, 0.0175869986, -0.0348044299, -0.0287055578, -0.0282437447, 0.1101761758, -0.0771452338, 0.0339827538, -0.0454286039, 0.0009326059, 0.0112622716, -0.0362604894, 0.0122579541, 0.0065816068, -0.0128277652, 0.0571875051, -0.0058842041, -0.0195778273, -0.0236852989, -0.0220888294, 0.0461957455, 0.0218300689, -0.0311149303, -0.0754500106, -0.0045773112, 0.0097233998, -0.0054309792, 0.0023144316, 0.0400849693, 0.0346535556, 0.0111044673, 0.0032615974, 0.0065520136, -0.0420538858, -0.0256438069, 0.0332405716, -0.0186063405, -0.0162074864, 0.0097805383, 0.0480451435, -0.0035253502, 0.005605334, 0.0204881299, 0.0064451364, 0.0172702298, -0.0201495532, -0.0214247126, 0.0236659627, 0.0150779812, -0.0513844006, -0.0171696749, 0.011479754, 0.059364289, 0.0140888551, -0.0132485861, 0.0293058194, 0.0345102027, 0.0059500728, 0.0000727102, 0.0975322872, 0.0084199198, 0.0137597071, -0.0564470403, -0.0440162569, 0.0014523768, -6.01282699e-33, -0.0089309644, -0.0214412622, -0.0004502573, -0.0484672822, -0.0158237666, 0.003129218, -0.0288135614, 0.0330982171, -0.0197577514, -0.0010775068, -0.0176017936, 0.0496180654, 0.0116201472, 0.0055311671, 0.0251469631, -0.0376851633, 0.007048096, 0.0238175988, -0.005518747, 0.0260710642, 0.0273176078, -0.0140601834, 0.0230432358, -0.0599318743, -0.02248732, 0.0121131465, 0.0020575756, -0.0481082909, 0.0623696856, -0.0387978032, 0.0021703166, 0.0029193962, 0.0458883122, 0.0211993009, -0.0105957733, 0.1135909855, -0.0157100316, -0.0403762423, -0.0505684726, -0.0534026027, 0.0067637167, -0.0115287248, 0.0199165102, 0.0255665258, -0.0671307147, -0.0320658088, 0.0390103608, 0.0601516441, 0.0612857193, 0.0073136361, -0.0264339875, 0.0366114862, -0.0284119546, 0.0477271229, -0.0581401289, 0.0654014573, 0.0466917828, 0.0348903015, -0.0923938826, 0.0515524819, -0.058285322, 0.0107974121, 0.0128414212, -0.0653222874, 0.024318805, 0.0633605272, 0.0358236134, 0.067484878, -0.0609503314, -0.0130447494, 0.0248337556, 0.0023107119, 0.0413034111, 0.0382411592, 0.0320061855, -0.0886379853, -0.042158749, -0.0150189381, 0.0637311414, -0.0186490789, -0.0150968665, -0.0132071087, 0.0105030779, -0.0187524538, -0.0105162021, -0.1035176143, -0.0265059937, -0.017208023, -0.0181566961, -0.0062817307, 0.0340213478, 0.0081620682, 0.033692468, -0.0057057561, -0.0565877371, -0.0139050018, -0.0666923001, 0.0303744357, -0.009975831, -0.0125124427, -0.0336517692, -0.0620483533, -0.0332585275, 0.0635552108, 0.0300841592, -0.0011654354, -0.0125433644, 0.0204169974, -0.0835152939, -0.0276844334, 0.0205931403, -0.0313580036, -0.0060889325, -0.006762336, 0.0368103795, 0.0334692113, 0.0280139353, -0.0326320268, 0.0293130409, 0.0388386026, -0.0043083616, -0.0154172452, -0.0443559848, -0.0104922503, -0.0108033139, -0.0386514105, -0.0930047333, 0.0071274955, 0.0165859591, -0.0153868394, -0.0139190815, -0.06054952, 2.419e-7, 0.0079636164, 0.0738185719, -0.0342546813, -0.0306374989, 0.0447978936, 0.0264270883, 0.0772662908, 0.0384970941, -0.0688038021, -0.0744096413, -0.0343491919, -0.0142975645, 0.0227462873, 0.0347562097, -0.0567454621, 0.0145730153, -0.1181692854, -0.0234125592, -0.0706406757, 0.0467785485, 0.0019120767, 0.017124135, 0.0370917618, 0.0015565915, -0.0273879059, 0.0166393798, 0.0363196507, -0.0565907732, -0.0337409452, 0.0193294287, -0.0490223654, -0.0510398075, -0.0014524163, 0.0404574685, 0.0195968971, 0.0098280646, -0.0304339379, 0.0026848968, -0.0006261967, 0.0300953332, -0.0072092982, -0.0060136635, 0.0163692478, -0.0153074246, 0.022943249, -0.0214413907, -0.0503675714, -0.0942890644, -0.0079180403, -0.003852163, 0.0733022988, 0.0510161929, -0.0103023071, -0.0021235498, 0.0283821207, -0.0111482106, -0.0110214455, -0.0443714671, -0.0040362235, -0.0168293957, -0.0237909835, -0.0804944038, -0.0285870209, 0.052191399, 0.0539684147, 0.0147931129, -0.0005578928, 1.920664671e-34, 0.0024393171, 0.0344752558, -0.0097325416, -0.0573903024, 0.0502465628, 0.0246754866, 0.038556654, -0.0027454735, -0.0123340944, -0.0613611825, 0.0476523265 ]
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.
STF: Sentence Transformer Fine-Tuning For Topic Categorization With Limited Data: 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.0478816926, 0.013698536, 0.0061680162, 0.0112386933, -0.0072172065, 0.0369052775, 0.003292351, 0.0005602583, -0.0365613848, -0.0841041356, -0.0218269955, -0.0021785162, -0.0360130295, 0.0052084345, -0.0157493409, -0.0345506892, 0.0323482007, 0.0087751364, 0.0163803417, 0.0143945934, 0.0263134707, 0.0186760016, 0.0063962163, 0.0132154729, -0.0040665786, 0.0260855965, 0.022339249, -0.0067595593, 0.000559798, -0.0064233588, 0.08733619, 0.086633049, 0.0016302519, 0.0327440239, 0.000001849, -0.0388590991, -0.0415058173, -0.0615182742, 0.0241398085, -0.0120019168, 0.0754212365, -0.0609062873, 0.0355402716, 0.0478532203, -0.0350322016, 0.007132458, 0.0367309637, 0.0975859612, 0.0452816561, 0.0855610147, -0.0423391908, -0.014144416, 0.0441749506, -0.0078278361, 0.0127793001, -0.0395515747, 0.014023371, -0.0446515083, -0.0278636999, 0.0474407859, 0.000319431, 0.0117962789, -0.0090131694, 0.0155450841, 0.0360165127, -0.0188519787, -0.0568312481, -0.028269846, -0.0240896549, 0.0432085656, -0.030525852, -0.0664767697, 0.042067986, -0.0088589089, -0.0203163065, -0.0264541805, -0.0193941444, -0.0026562067, 0.019109441, 0.0271027889, 0.0302344374, 0.0295004826, -0.0003792343, 0.0508963168, -0.0116100963, 0.0406321995, 0.014064258, -0.0343238674, -0.035671033, 0.0442554802, -0.0207989439, -0.033765588, 0.0163106639, 0.0198170319, -0.0180638507, -0.0258281603, -0.0522968024, -0.0796695352, 0.001809209, -0.0255049169, -0.025586376, -0.0032826455, 0.0053380341, 0.0229328237, 0.0062634009, -0.0129489917, -0.0193803161, 0.0131879058, -0.0351690166, -0.0313080549, -0.0365529545, 0.0052327877, -0.0606520623, 0.0009603201, -0.0047195391, -0.0183507204, -0.0302750636, 0.0370565951, 0.0451001301, -0.0543470904, -0.0096928859, -0.0365759395, -0.0526958555, -0.0216486547, 0.0195391122, 0.0571733899, -0.0198271312, 0.055261977, -0.0197503157, -0.0100129619, 0.000339496, 0.0217980184, 0.0614721924, -0.0145034306, 0.0115472665, -0.0152386501, -0.0172603838, -0.096605286, -0.0442335568, 0.027145423, -0.0145717515, -0.027832469, 0.007437075, -0.0710726976, 0.011580551, 0.0512637272, 0.0020413268, 0.0320260338, 0.0075646834, 0.0079912776, -0.0226682574, 0.0219273902, -0.0408065543, 0.0159550291, 0.0308828298, -0.0027855586, 0.061584983, 0.0903258547, 0.0248263516, 0.0807268769, 0.0583029501, -0.0017010425, 0.0271796305, -0.004583349, -0.0160360057, 0.0222712848, 0.031308502, 0.0074146455, -0.0365929082, -0.0174142048, -0.0209278539, 0.0320325345, 0.0094893342, 0.0653104484, 0.0404724553, 0.0262930356, 0.0392017215, 0.0387304984, -0.022132, 0.0666451901, -0.0097472994, -0.0455280878, 0.0123512102, 0.0036920812, -0.0170626584, -0.0193076041, 0.0072777425, 0.020776391, -0.0540812537, -0.0203008801, 0.0044353106, -0.027620025, 0.0005472093, -0.0182114858, 0.063748084, 0.0215525348, -0.01033701, 0.0916916057, 0.0265598614, -0.0553635731, -0.0266950782, -0.0260565467, -0.0009536956, 0.009918767, 0.0090702837, -0.04049078, -0.0084580136, -0.0405428223, 0.0719159842, 0.0458693132, 0.0431692153, 0.0170136597, 0.0036843091, -0.0318180323, -0.0020544275, -0.0133991763, 0.04782103, -0.0250712913, 0.0140952067, 0.0404577665, 0.0285186134, -0.0450579897, 0.0115959421, 0.0357471965, 0.0460758172, 0.0031890823, 0.0337321274, 0.0022338203, 0.00427922, 0.0071188956, 0.0001449336, -0.0352560021, -0.0015949759, -0.0243564565, -0.0259680916, -0.0214467458, -0.0233215429, -0.036212977, 0.0051200325, -0.029659681, -0.0054168808, 0.0689602569, -0.0581176989, -0.0210530125, 0.0305948909, -0.0240472853, -0.0125424657, -0.0470249802, -0.0050174873, -0.0672412813, 0.0337550566, -0.0181182008, 0.0203013886, 0.0176302288, -0.0026215259, -0.0548990294, -0.0509513915, 0.0406444296, -0.0016981672, -0.009896473, 0.0085197426, -0.0485457145, 0.0447108857, 0.0646919757, 0.0273603909, -0.0320460312, -0.0437129065, -0.1056833938, 0.0298285149, -0.0769518539, 0.0076021231, 0.0232478343, 0.0323608816, -0.0006735487, -0.0264050756, 0.0062455516, 0.0209181104, 0.0231873784, 0.0018282516, 0.0457064435, -0.0456158072, 0.0271749776, -0.0124106267, -0.0092861466, -0.018557338, 0.042781394, -0.0016086295, -0.027385883, -0.0290201642, 0.0247311071, 0.0190442186, -0.024794776, 0.0195556283, -0.0376569517, -0.0275389049, -0.0102364225, 0.0391042084, 0.013262447, 0.0519604236, 0.0452342033, 0.0000096761, 0.0239306558, 0.0137259755, 0.0058075748, -0.0319652334, -0.0181483217, -0.0377952717, -0.0117104417, 0.0321033038, 0.0934103578, -0.0417286903, 0.0227483455, -0.0441114083, -0.001137316, -0.0214704275, 0.0283460021, -0.0256958101, 0.0259519257, -0.006159036, -0.0019193726, -0.023775151, -0.023947062, 0.0108068958, -0.0148027549, 0.01189458, -0.095286034, -0.0564974509, -0.0536681339, 0.0161311235, 0.0285246093, -0.0030402879, 0.0183435269, 0.0171584431, -0.0087816101, 0.0030141009, -0.0201904643, -0.0034092683, 0.0286727622, 0.0391664058, 0.0097008338, -0.0434658378, 0.0000786342, -0.022488609, -0.0989429876, -0.0447576307, -0.0134656047, 0.026804233, -0.0207269788, -0.0238383468, 0.0158165898, 0.0062918342, 0.0259084832, -0.0329626873, -0.0113437371, -0.0288684443, 0.0500541776, 0.063346386, -0.0336496197, -0.0133696292, 0.0020619186, 0.0144128306, 0.0188894887, 0.0146836452, 0.0029655718, -0.0227947272, -0.0264327433, 0.0295946952, -0.0435340479, 0.0221040398, -0.0032040416, 0.0784962028, -0.0087625962, -0.0083838468, 0.1349931806, 0.0340696611, -0.050420288, -0.0199592151, 0.040490225, 0.0029998468, -0.0018155959, 0.0192468055, -0.0822447762, -0.0492775664, -0.0056305602, 0.0183738712, -0.0042997412, -0.0027120523, -0.0206914973, -0.0398593806, -0.006475891, -0.0027324287, -0.0217640027, -0.0351066366, -0.0442271456, 0.0005128311, -0.0178579353, 0.0011384944, -0.0338090435, -0.0372435376, 0.0102742715, 0.0121688349, -0.0439494438, -0.0598408803, 0.0223622173, -0.0174414311, -0.0063683945, -0.0222083721, 0.0221248381, -0.01843003, 0.0434281379, 0.0230227821, -0.0390323922, -0.0122883441, 0.0007227416, 0.0292254686, -0.018849086, 0.0091409646, 0.0034234652, -0.0110844672, -0.0754782036, -0.0241941027, -0.008158748, 0.041025281, -0.0256782472, -0.0381040275, -0.0009940072, -0.0386411548, -0.0018036382, 0.0423815176, 0.0398864821, -0.0576419458, -0.0265096407, -0.0108086355, 0.0351535305, -0.0274006538, -0.0308550317, -0.0333732367, 0.0046297628, -0.0639040172, -0.0260590669, -0.0387477353, 0.017046662, -0.0186670553, -0.0473167673, -0.0182994623, 0.0129410913, 0.0105020087, -0.0379728675, 0.0540810749, -0.0296183955, 0.005313681, -0.0581992157, -0.0236493852, 0.0507562608, -0.0152206281, 0.0063759368, -0.0219577998, -0.1189067215, -0.031032782, 0.0157814715, -0.0277603064, 0.0093920287, -0.022531921, -0.031573832, -0.0670410022, 0.0201300252, 0.1031171978, -0.0632822365, 0.0124960905, 0.043956738, -0.0043658507, -0.0012721897, 0.0352425613, -0.0638091639, 0.0534700342, 0.0013225144, 0.0018687263, -0.0389136747, -0.0171867386, -0.0122543126, -0.0039660898, 0.1203431115, 0.0171400458, -0.0611473024, -0.0419957563, -0.0170244947, 0.0321451649, -0.0100547951, -0.036550317, -0.0134711871, 0.0235574525, 0.0275980737, -0.055999659, 0.0353728086, -0.0119628441, 0.0225014351, -0.0207566153, 0.0393299311, -0.0163127817, 0.0134338858, 0.0024642481, 0.0126702087, -0.0359862223, -0.0014909077, 0.0528427139, -0.0251486693, -0.0057359948, 0.0188507978, -0.0171830375, -0.0035293058, -0.0412818529, 0.0562965833, -0.0648048297, 0.0141694667, -0.0291060302, 0.0089580156, 0.0425132699, -0.0366033651, 0.032840535, -0.0208475888, -0.0198179893, -0.0208366867, 0.0607512295, -0.0230732244, 0.0177139547, -0.0139836641, -0.0206924882, -0.0513007902, 0.0367473029, 0.0488599986, 0.0029329476, -0.0116692996, 0.0808177292, 0.0086662397, -0.0113647366, 0.0304559935, -0.0098040663, -0.0054895985, 0.025834823, 0.0412376523, 0.0180781316, -0.0182149038, 0.0529620796, -0.1054600328, -0.0182802379, -0.0056360275, 0.014732861, 0.0736831054, -0.0279614218, 0.0231266022, -0.0471532941, -0.0142137138, 0.0586389303, -0.0271273516, -0.0385401547, -6.674921979e-33, 0.0398600996, 0.0048202993, -0.0298028775, 0.046342548, 0.0144823827, -0.0089601763, -0.0130891511, 0.031214809, -0.003497964, 0.000185704, -0.0134448037, 0.0369375423, 0.003989473, 0.0489551686, -0.0214125551, -0.0219276361, 0.0630880743, -0.0080225198, -0.0186101478, 0.0466277637, 0.0043245004, 0.0376408882, 0.0530137196, -0.0762945414, -0.0403283462, -0.0360800438, -0.0048859483, 0.013876128, 0.0947201326, 0.037379317, -0.0007697719, 0.0760009512, 0.054273285, -0.044822108, 0.0098548876, 0.0811034217, -0.0398730449, -0.0581448786, -0.0628245398, 0.0004538551, 0.0194971748, -0.0411540791, 0.0289241672, 0.0088433279, -0.00369305, -0.0045517795, 0.0467879176, 0.0117838047, 0.0278661717, -0.0769047365, -0.0448739864, 0.0442375615, -0.0021514364, -0.0248448346, 0.0226003844, 0.0362294354, 0.012099891, 0.0450724252, 0.0031194284, 0.0197459795, 0.0303320475, 0.0294681918, 0.0022947532, -0.0285688918, -0.0541745871, -0.007812018, -0.0265568495, 0.0355930477, 0.0157478899, 0.0009028285, 0.0163654014, 0.0219672658, 0.0393846482, 0.0478917323, 0.0411861055, -0.028795097, -0.0548683777, -0.0036438638, 0.0149817411, 0.0223586671, 0.0335829444, -0.0007727542, -0.0142326169, -0.0144808376, -0.0097309332, 0.0066520055, -0.0369265899, 0.0077364994, 0.006750966, 0.0522239916, 0.0087909224, 0.0152252568, 0.040352311, -0.0599747747, 0.0008014553, 0.045142632, -0.0248149093, 0.0318642668, 0.0046181786, 0.030889973, -0.0698098689, -0.0416039154, 0.0399044864, 0.0110098096, -0.0157786477, -0.0224606581, 0.0342551619, 0.0236556809, -0.0516094267, 0.0242759585, 0.0206726864, 0.0055354279, -0.0392570719, 0.0215763412, -0.0349746421, 0.0342889056, -0.0104431817, 0.0681629479, 0.0545164719, 0.0172243286, -0.0195654426, -0.0325115025, -0.0287549291, 0.0153118363, -0.0002039551, 0.0040449691, -0.02122044, 0.0140004102, 0.009363329, -0.0585277379, 0.0042984304, -0.0389297269, 2.575e-7, 0.0632245019, 0.0828283951, -0.0450800061, -0.0369870663, 0.0193470102, 0.0462672301, 0.0395335294, 0.051983539, -0.0097889621, 0.013569966, 0.0234202668, 0.0252070706, 0.0409439541, 0.0109576881, -0.0608613454, 0.0229230206, -0.0717536286, 0.0344477929, -0.0557169281, 0.0132607892, 0.0291513894, 0.1199779287, 0.0171381347, 0.0072575985, -0.0207568184, -0.0730346367, 0.0519317091, -0.0377888232, -0.0164274424, 0.0715014711, 0.057453841, 0.0359574184, 0.0224946644, -0.0362041108, -0.0229635444, 0.0377917029, -0.0006122739, 0.0344295725, 0.0005057931, -0.0123363584, 0.027431814, -0.0089062294, -0.0170974992, -0.0314784199, 0.061456088, -0.118800059, -0.0216456652, -0.015774643, 0.0069648554, 0.0157455429, 0.0300995223, -0.0128995916, -0.0299985018, 0.0107504996, 0.0403163247, -0.010691165, -0.0320868939, -0.0966618881, 0.0137497103, 0.0256247651, -0.0035519474, -0.0039014316, -0.0396325365, -0.0204728991, 0.0362685062, -0.0227704812, 0.0673250481, 2.25707933e-34, 0.013533961, -0.0191698037, -0.037028715, -0.0081312535, -0.0181999505, -0.0074907327, -0.00641246, 0.0057931091, -0.0078479629, -0.072009638, 0.0419559367 ]
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}.
CATT: Character-based Arabic Tashkeel Transformer: 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.0017158701, 0.0299485866, 0.0038071685, 0.0151331024, -0.0204378944, 0.0459511615, 0.0354764611, -0.0023875323, -0.077398926, -0.0341448411, -0.038223289, -0.0889526308, 0.0813853815, 0.0046988903, 0.0385467149, -0.0456837416, 0.0167887472, -0.0931803286, -0.0238852184, -0.0143361362, 0.0395086519, 0.006978787, -0.0121337092, 0.019068053, -0.0006458763, -0.0020172577, -0.0086814892, 0.0211740099, 0.028835848, 0.0058910199, 0.0347116627, 0.059713915, -0.0234656725, 0.0546597615, 0.0000022935, -0.0408401415, -0.0455387309, -0.0181702226, 0.0132347848, 0.0259524342, 0.0288346633, -0.0550734028, -0.0589559004, 0.0183202792, 0.0089620883, -0.0194393601, 0.0573993437, 0.0354728326, 0.0390313342, 0.0409235619, -0.0200215764, -0.0873475596, 0.0164538305, -0.0234359317, -0.022397263, 0.0049104448, -0.005798297, -0.0316627175, -0.050472118, -0.0189344697, -0.0436897986, 0.0341926999, 0.0162864402, -0.0188668855, -0.006788624, 0.0089231562, -0.0082874531, -0.035817802, 0.0149753122, 0.0375895128, -0.0541207567, -0.0037114131, -0.0255351979, 0.0306585282, 0.0124867782, 0.0157361813, -0.0022811247, 0.0220905673, -0.0418775752, 0.0109012853, 0.0108903497, 0.0250984728, 0.0088643096, 0.0001722264, -0.0493244305, -0.0121224578, 0.0201849546, -0.0723447502, 0.0034742611, 0.0005447651, -0.0238049496, 0.0112748891, 0.0790425166, -0.0328577831, 0.0150790559, -0.0158650074, -0.0173585173, -0.0453541242, -0.0094678523, -0.0554369725, 0.0335427523, 0.0861525312, -0.0274249725, -0.0177231766, -0.0735972747, 0.0441401675, 0.0010214538, 0.0523286648, -0.0466972552, -0.0079605496, -0.0369188078, 0.0166469421, -0.0589536466, 0.0447119176, -0.0284529682, 0.0222482812, -0.0665383935, -0.0041549825, 0.0164398849, -0.0044345269, 0.0362925678, -0.0327100642, -0.0734107494, -0.0389671735, 0.0161327515, -0.0062296465, -0.0054867417, 0.0134379296, -0.0633654669, -0.059308257, -0.0049072444, 0.0084075062, 0.0253640618, 0.0023971058, -0.0009435823, 0.036394991, -0.0206673648, -0.0465796515, -0.0371184945, 0.0754281282, -0.0247865431, -0.0000094687, -0.0570745654, -0.0555704311, -0.0168034285, 0.0153728584, 0.0185939893, -0.0203248467, -0.0137897497, 0.0147552742, 0.0497889929, 0.08817783, 0.0010174101, -0.0076023573, 0.0741863102, 0.0127175469, 0.0135697145, 0.0483327359, 0.0644849762, 0.0173181985, -0.0412075967, -0.0090668639, 0.0138454745, 0.0676418841, -0.0089300079, 0.0125238188, -0.0380970724, -0.0149441343, -0.0068273526, 0.0387675352, 0.017879732, 0.0735231489, -0.051441472, -0.0010939456, 0.0760112926, 0.0100676082, 0.0152445752, 0.0435053967, -0.0025547538, 0.0255433172, 0.0229335818, 0.0086328126, 0.0441397987, -0.0174718965, 0.0141740581, 0.0268000755, 0.0271008499, 0.0449039675, -0.0202725753, -0.0480175093, 0.0195824392, -0.038761165, 0.0091286432, -0.0086706951, 0.0808798596, 0.0289061721, -0.0943343118, 0.0677926242, -0.0173358191, -0.0448048934, 0.0148831233, -0.0610804707, -0.0288037304, 0.0399759673, 0.0677534118, -0.0053562461, -0.0322089568, -0.0419059508, -0.0305826645, 0.061817158, -0.0050317869, 0.0066068564, 0.0285877623, -0.0820224732, -0.0225952715, 0.057405021, -0.0013764342, 0.0251692981, -0.0077832099, 0.0664462075, -0.0158560276, -0.0398376696, -0.0296417382, 0.0334865376, 0.0257864743, -0.0006026546, -0.001161066, 0.019495571, 0.0105238212, 0.0150066745, -0.0432468243, -0.0150501942, -0.0324739739, -0.0732995495, -0.0089203771, 0.0055874088, -0.0594921596, 0.0112093855, 0.0496056713, -0.0415919349, -0.0040629152, 0.0680741891, 0.0126784099, -0.0358139724, -0.0055219759, -0.0499070473, -0.0080416594, -0.0578272231, 0.0667983815, -0.0284996293, 0.0182894338, -0.0203019511, 0.0319975093, -0.0187422521, -0.0279779825, -0.0124454154, -0.021075625, 0.0579412542, 0.0176785439, -0.0201897547, 0.0215952992, -0.0044821156, 0.0089053735, 0.0379627682, 0.0016413241, 0.0020734633, -0.0714121684, -0.031057341, -0.0172908287, -0.0256325155, 0.0493180901, -0.0217737798, 0.0271930061, -0.0171330031, -0.02089235, -0.0056393933, -0.0722009838, -0.0241722446, -0.0256667938, 0.0478395559, -0.0100421002, -0.0111887306, -0.0334637314, -0.0127738062, 0.0411491059, 0.0287607294, 0.0260286648, -0.0567962602, -0.0231767725, -0.0158552565, 0.0738162175, 0.0060067181, 0.0328725651, -0.0652420372, 0.0187992509, 0.0105317524, 0.0233306717, 0.0005828131, 0.0233974606, -0.0222853441, -0.0123180989, -0.0116785858, -0.0555232354, 0.0096709719, 0.0082276566, -0.0103448592, -0.0660831779, -0.059458781, -0.0181244016, 0.0245976318, -0.0235375538, 0.0269903801, -0.0936036408, -0.0416014902, -0.0052371984, 0.0084894272, -0.0011587951, -0.0373431444, -0.0041203084, 0.0361278839, -0.0068525737, -0.0272454768, 0.0391286761, -0.0485029854, -0.0254964083, -0.0361813679, 0.0712401792, -0.0271737035, -0.0402546525, -0.031140171, 0.0142426733, -0.0094577642, -0.0720238164, -0.0462747626, -0.0158464126, 0.0375707187, -0.0413373113, 0.0062149549, -0.0263745338, 0.0124318143, -0.0355420597, -0.0214447137, -0.0252264906, 0.0456421636, -0.0254922565, 0.0005895445, 0.043269325, -0.0331155062, -0.0193576422, 0.0408557393, 0.0186327007, 0.0763053671, 0.0160397869, -0.0108281346, -0.0061416328, 0.0282101184, 0.0033225559, -0.0416864119, -0.0081950342, -0.0406148508, 0.0498796031, 0.018313732, -0.0210980438, 0.0035692849, -0.0531341471, -0.0165109672, 0.0516475104, -0.0213627666, -0.0078320252, -0.0554760732, -0.0108235097, -0.0207302384, 0.0133224465, 0.1038718596, 0.0062777339, -0.0562541448, -0.022790499, 0.0234383941, 0.008438332, -0.0530948862, -0.0367245078, -0.0919154212, -0.0234388374, 0.0442273319, 0.0545014702, 0.0370029882, 0.0311486684, 0.052752316, -0.0775634199, -0.0142479632, 0.0137473643, 0.0090641277, -0.0785925388, -0.0115343509, -0.0201959815, -0.0227890797, 0.0210081041, -0.0255324803, 0.0144019509, 0.0315487832, 0.0725556463, -0.00234467, -0.0509335138, -0.0026498537, -0.0167471506, 0.0327937938, 0.0613439716, 0.0077309338, -0.0208778102, -0.0444444306, 0.0232315753, -0.0301324744, -0.0441252813, -0.0085028699, 0.0343539193, -0.0263199415, -0.0078199543, -0.0155760907, -0.0211364571, -0.0436470099, 0.0216163751, -0.0212218631, -0.0191820879, 0.007596022, 0.043702323, 0.0320564136, -0.0218454432, -0.0485093482, 0.0360471122, -0.0256607533, -0.0473026522, -0.0410979986, -0.007220102, 0.0010952306, -0.1047483832, -0.0381559134, 0.0177388731, 0.0367007181, -0.0752339959, -0.0603556968, -0.0343474969, 0.0068873679, 0.0147570949, 0.0172812156, 0.0100228507, -0.0037311488, 0.0704465806, -0.0186765287, -0.0186498147, 0.0311658867, 0.0223579872, -0.0941424221, -0.0199146178, -0.0015815157, -0.0708536655, 0.0245738961, -0.0208956748, -0.0170858856, -0.0329968445, 0.062096294, 0.00922985, 0.0153619526, 0.0044160252, -0.0118451007, -0.0442946404, 0.0791339353, 0.0440076031, -0.0226351116, 0.0086095259, 0.0443348885, -0.033696305, -0.0311327185, 0.0359195173, 0.0118934084, 0.0152952923, -0.0018596875, -0.0168676991, -0.0327605754, -0.0312729441, 0.0096684769, -0.0122766728, 0.0240113884, -0.0531584322, -0.0312396474, -0.0390902497, 0.044221811, 0.0020811837, 0.0715232044, -0.0336944535, 0.0173936319, 0.0501596555, 0.0098375678, 0.0045089708, 0.0091375811, 0.0185747668, -0.0667543486, -0.0060984124, 0.043430876, -0.0121024931, 0.0515463725, 0.0205054879, 0.0056515308, 0.0135165742, -0.0214989111, -0.0084691634, 0.0247844979, -0.0086621568, 0.0059421305, -0.0080982093, 0.0367047489, 0.0430363752, 0.0747000128, 0.010587451, 0.0066725104, -0.0525129735, 0.0391305573, 0.0350187831, 0.0266850479, 0.0613148026, -0.0103099681, 0.0265046451, 0.0137112234, -0.0210047271, -0.003345018, 0.038695544, -0.0251549017, -0.004413154, 0.011345515, -0.0063008671, 0.0640283898, -0.0147361709, 0.0184090901, -0.0190384258, -0.0083863791, -0.0273736641, -0.0078451782, 0.0019852757, -0.0294041485, -0.0699958354, 0.0335655324, -0.0190385953, -0.0446505696, 0.0438486226, -0.0047393907, 0.0346327052, -0.0035716814, 0.0218017008, 0.0315576047, -0.0112743936, -0.0190806855, -0.0121390242, -0.0106785512, 0.0210365932, -0.0336623564, -0.0009354688, -6.220589004e-33, 0.0166021306, 0.026860496, -0.0247636288, 0.0057708654, 0.0112479208, -0.0040356433, -0.0027575521, -0.0054399143, -0.0033291187, 0.004549745, -0.0076337908, 0.0275204256, 0.0347012691, 0.0149319181, 0.0113189351, -0.0072166715, 0.0595683604, -0.025051944, -0.0198658276, 0.0346292369, 0.002802653, 0.0603121966, 0.0772556439, -0.0283940434, 0.0053536496, -0.0302212369, -0.0447181836, -0.0074979095, 0.0077496176, 0.0440876186, -0.0201728679, 0.0533565097, -0.0096357893, -0.0140063018, 0.0190465394, -0.0115409056, -0.0627053902, 0.0507150292, -0.0279901717, 0.1045904532, 0.0014273897, -0.0589145385, 0.0077033211, 0.0200634655, -0.0538149066, 0.0077561573, -0.0027097017, -0.0453111604, 0.0058380072, -0.0256680045, -0.0558327995, 0.069613874, -0.02591726, -0.0417477377, 0.0972242579, 0.0475682579, -0.0072920285, 0.0023596014, -0.0487486646, 0.0014059009, 0.038940087, 0.0464643128, 0.0390453748, 0.0030334187, -0.0566311926, -0.0091260821, 0.0526882075, -0.0296021067, 0.0714638755, -0.0374199823, 0.0229463503, -0.0460316986, 0.0362544581, 0.060792625, 0.0560454614, -0.0322002992, -0.0342294388, 0.0519285798, -0.0312529355, 0.0262255799, 0.0358440392, -0.0065725381, -0.0635008216, 0.0135876667, 0.0095311468, 0.0042703669, -0.0021673036, 0.0259425864, 0.0020382358, 0.0062963907, -0.0230362676, 0.0179772917, 0.0199872572, 0.0068921112, 0.0666893125, -0.022595847, -0.0130599085, 0.0189910512, -0.0241389684, 0.0285159349, 0.0026182251, -0.0638622493, 0.031426575, 0.0562519394, -0.0119350096, -0.0021628577, 0.030739259, 0.0725287423, -0.0860415176, 0.022304073, 0.0053981501, 0.0437662154, 0.021059325, 0.0755088776, -0.0180680566, -0.0006623463, 0.0111488886, -0.0039437697, -0.0066194152, -0.0088061774, -0.0244301297, 0.0181549191, -0.0177337714, 0.0046056448, -0.0106531763, 0.0115014995, -0.014051999, -0.0004526101, -0.0065616611, -0.0398741551, -0.0207667295, -0.0117139742, 3.04e-7, 0.069296509, 0.0447496474, 0.0608859397, -0.0154099232, -0.0045411102, 0.0248207077, -0.0023028837, 0.0219779462, 0.0443526469, 0.0512154438, 0.0249811206, -0.0185633749, 0.0772389248, 0.0014150037, -0.0566935576, -0.0386961922, 0.0017972538, 0.0732173622, -0.0384272821, 0.0400428437, 0.0378625132, 0.079811424, -0.0828381702, -0.023317894, -0.0068941768, -0.0247986298, 0.0488617495, -0.0000059493, 0.0273590013, 0.0310778227, 0.0290346202, -0.0340376087, -0.0116170617, 0.0137478653, -0.0279637091, -0.0032130263, 0.0380335599, 0.0526062362, -0.0115755331, -0.0046644076, 0.0275527183, 0.0082276287, -0.0420386828, -0.0551968813, 0.0247295741, 0.0031013328, -0.0063287015, 0.0657806471, -0.0438109487, 0.0190015174, 0.0371177718, -0.0326868631, -0.0253170431, 0.0269899722, 0.0546125732, 0.0027950886, -0.0030340592, -0.0364065357, 0.0000846328, -0.0651307404, -0.0024900446, -0.007377163, -0.0248175673, -0.0373319536, 0.0184904505, -0.0079799229, 0.021032583, 2.507655007e-34, 0.0578528829, -0.0187985562, 0.0067687556, 0.0104323877, -0.0006444146, -0.0240082052, 0.031673681, 0.0022263012, 0.0123599516, -0.0346703902, -0.0315613262 ]
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.
Self-Evaluation as a Defense Against Adversarial Attacks on LLMs: 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.015912801, 0.0734933391, -0.0039802636, 0.03985551, -0.0108973319, 0.0021853899, 0.0392803848, -0.014706023, 0.0285654794, -0.0110827964, -0.0217240434, 0.0076955524, -0.0185066387, -0.0027106788, 0.0709467828, 0.0217313301, 0.0835719928, -0.0205669459, -0.0231269822, -0.0102611128, -0.0208977591, -0.0398158282, -0.0409314036, 0.0208598208, 0.0103022307, -0.0341771431, -0.0288472716, 0.0272550397, 0.0228786077, -0.0476843826, -0.008798237, 0.0203369521, -0.0369999222, 0.0671970099, 0.0000018924, -0.0607699417, -0.0343371071, 0.03012494, -0.0548574179, -0.0075048981, 0.0013896376, -0.0279228613, -0.0186506286, 0.0199242346, -0.0399914049, 0.0401377268, 0.0463677794, 0.0670382679, 0.0394650362, 0.0952194855, 0.0146506913, 0.0004525546, 0.0403906964, -0.0341099165, 0.0215187427, -0.0392856188, 0.0029786155, -0.0668212548, -0.056547299, 0.0138593335, 0.0184787251, 0.0152183957, 0.011104635, 0.0250238776, -0.0088248458, 0.0330099687, -0.0164179411, -0.0377046168, -0.0273852125, 0.0396485478, -0.0036396207, -0.0108559318, 0.0209868178, -0.0088966005, 0.0492281951, -0.0145267313, -0.0116284778, 0.0292566977, -0.0078910151, 0.0092012938, -0.0168540869, -0.0031970821, 0.0535254292, -0.0023954518, 0.0132378284, 0.0627145544, 0.0065165809, -0.0301191397, -0.0257063936, -0.0157351047, 0.0252260175, -0.0724566132, -0.0356819816, 0.0216397289, 0.0004061869, 0.0124534667, -0.0870451033, 0.0063379621, 0.0679902583, -0.0318583623, 0.0278665461, 0.0165423527, -0.0086613474, 0.0025979094, -0.0318173692, 0.044298362, -0.0301227439, 0.092751652, -0.0279321522, 0.0553932488, 0.0138840899, -0.0155307641, 0.0468658581, 0.0296519753, -0.0213169158, 0.0114213955, -0.0482775345, 0.0431732312, -0.0381566808, 0.0752801895, -0.055165872, 0.0162811428, -0.0067584161, 0.0211013928, -0.013732384, -0.0577958524, 0.007198479, 0.0092362743, 0.0181383528, -0.0704300031, -0.0486065224, 0.0057772114, -0.0850320831, -0.0393494852, -0.0103246178, 0.1487243623, 0.0335853845, -0.0172135178, -0.0332930274, -0.053351108, -0.0118400911, -0.0237989239, 0.0440301001, -0.0446654931, 0.0001111141, -0.0073563596, -0.0294347368, -0.0936401263, 0.0144219641, -0.0021419269, -0.0271660183, 0.1096490845, 0.0047339182, -0.0295643434, 0.0378300361, 0.0370065793, 0.0000142831, 0.0280344673, 0.04053092, 0.0387484021, 0.047702238, -0.0158221386, 0.0613424256, 0.0121360831, 0.02224911, 0.0211017411, -0.0235053878, 0.0364117362, 0.0033336305, 0.0507902913, 0.0168934166, 0.0131551307, -0.0012309037, -0.0634547845, 0.0824635923, 0.0617403239, 0.0000033023, 0.0249377415, -0.0357521251, -0.0256082024, 0.0020694085, 0.0162983779, -0.1160840839, 0.0313821882, -0.0848567933, -0.0012094417, -0.0106378132, 0.0353096277, -0.0232444257, -0.0416776724, -0.0372251049, -0.0237943847, 0.012078329, -0.0058796927, -0.0011405471, 0.0137928464, -0.0226026718, 0.0482022204, 0.0192967542, -0.0621562116, -0.0482642651, -0.0877850652, 0.0359384753, 0.0257558171, 0.0283136964, -0.0303102136, -0.040023461, -0.0307519212, -0.0167043265, -0.0062708589, 0.0281599797, 0.012521334, 0.0169463512, -0.0070878854, -0.0535067394, -0.0391617566, 0.0075122491, 0.0027489923, 0.0171605609, -0.0164964385, -0.0210214574, -0.0497576706, -0.0179867223, 0.0738580227, -0.0053684111, -0.0757136494, -0.0162996724, 0.0348965265, 0.0324041992, 0.0238541737, 0.0012546281, 0.0331638157, 0.060520988, 0.017554542, 0.0079526016, -0.0368961953, -0.0055162981, 0.0226955712, 0.0505557545, -0.0161893666, -0.0247840025, 0.051419396, -0.0480433665, 0.0066701472, -0.00320207, -0.0106554208, 0.0041101854, -0.006221211, 0.008768402, 0.0103496332, 0.0064026224, -0.0643551573, 0.0358185582, -0.0259666666, -0.0235805102, -0.0361036584, 0.0139864609, -0.0019226726, -0.0423345156, -0.0234057531, 0.0187974088, -0.0312280115, 0.0191199183, 0.0081159752, -0.0059355465, -0.0421791561, -0.0272435285, -0.0287707429, 0.0160638429, 0.0038179948, 0.0329150185, 0.0025322242, -0.0431574918, -0.035071712, -0.0207935777, -0.012129046, -0.0258395895, -0.0112525644, 0.0162364338, 0.0430363156, -0.0169380568, -0.0235114861, -0.048657164, -0.0068676686, -0.0147710824, 0.0480992123, -0.0137366531, 0.0074335793, -0.0247397814, 0.0177376922, -0.0363651067, 0.0267109685, -0.0095047876, -0.0523345284, 0.0607303083, 0.0361971296, -0.0318825804, 0.0843619779, 0.0393100269, 0.0635327622, 0.0754904822, 0.0610692129, -0.0527330749, -0.0097484207, 0.003413744, -0.0282641593, -0.0438718572, 0.0051547, -0.0131981196, 0.0427871682, 0.0041384087, 0.0016501822, -0.0260311123, 0.0554280691, 0.0320215486, -0.0721290633, 0.0082445471, -0.0194517449, -0.042761825, 0.0323418267, -0.0082265474, -0.0812872946, 0.0632096455, -0.048260089, 0.0168593246, 0.0404760689, -0.0418221764, 0.002149726, 0.0475543179, -0.0058568395, 0.0030434954, 0.0577796698, -0.0245753583, -0.0682830364, -0.0274915975, 0.0265710969, -0.0436578952, 0.0309538487, -0.0142912595, -0.0293801464, -0.0166061874, -0.044309102, -0.0804176107, -0.052124083, 0.001265496, -0.0270959008, -0.0565266944, -0.0164316259, -0.0216808673, -0.0551368333, 0.0324659497, -0.0338385813, -0.0132445777, -0.0065961233, -0.042660106, 0.0005206026, 0.0383132175, -0.0187254213, 0.0537132211, -0.0261668023, 0.0220765602, 0.0939387679, 0.0307972338, 0.0274915826, -0.0457544439, -0.0138231432, 0.0238763653, -0.0103680762, 0.0016400332, 0.0283531472, 0.0632422045, -0.0108138267, -0.0012739218, 0.0574369654, -0.0004767421, 0.0120462328, 0.0350603908, -0.0076146596, 0.0232440252, 0.0199635513, -0.0073034577, -0.0469899066, -0.0030147308, 0.0316963755, 0.0682414174, -0.022989884, -0.0269713998, 0.0086801685, -0.0939877778, 0.0293318573, 0.0117124338, -0.0348885283, -0.0270723682, -0.0146204708, 0.0091824336, -0.0345952474, 0.0471518748, 0.0030587574, 0.0025947934, -0.0011309048, 0.0505057387, -0.0169383101, -0.0166848842, -0.0283551738, -0.066186823, 0.0772062987, 0.0883887708, -0.0080069955, -0.0297207348, -0.0395262688, 0.0511141866, 0.0341879725, -0.0053862184, 0.019409081, 0.0354864448, -0.0034389391, -0.0011768843, 0.0141711254, 0.0488199778, -0.0174656678, -0.0377899557, 0.0298330989, 0.0094016176, -0.0327842087, 0.0126463622, -0.0504105315, -0.0074355793, 0.0178365093, 0.0705435202, 0.0089137508, -0.016335886, -0.035075523, -0.0683668852, -0.0061953454, 0.0114473756, -0.0354166664, 0.0287937745, -0.0110141234, -0.0235875081, -0.0497553572, -0.0430589877, -0.0273841098, 0.0226625949, 0.0071472684, -0.0414860025, -0.0611094534, 0.0148933865, -0.0376907177, 0.0052587497, 0.0110185007, 0.0101187024, -0.0425393917, 0.0344301276, 0.0027264175, -0.0428019725, -0.0002724185, 0.0329995379, -0.0937675238, -0.0767336413, 0.0292831529, 0.0741877854, 0.0275137238, 0.0490601696, -0.0023879276, -0.0213726033, 0.0900598466, 0.0699655712, -0.015567855, 0.0253761783, 0.087734215, -0.0062224139, 0.0073152385, 0.0085612033, -0.0130719366, -0.0280197654, 0.0744336918, -0.0091068279, -0.080223158, -0.0470192134, 0.0054888325, 0.0205967966, 0.0748322159, -0.0365010388, 0.0049873698, 0.0263254065, 0.0319519788, -0.001115047, 0.017622197, -0.0040769274, -0.0086837141, 0.016702177, -0.004058254, 0.0491292849, -0.0056698732, 0.0125922197, 0.0537528917, -0.0235342979, 0.0256004483, 0.0123019516, 0.0290503502, 0.0368759781, 0.0270353891, -0.0173462424, 0.0566657595, 0.0129673621, 0.0127594173, 0.0336701646, 0.0069652465, 0.0146652041, 0.0472334698, -0.0165957194, 0.0457757451, -0.0815546066, -0.0602715947, -0.0229895078, 0.0340798981, -0.0010340788, 0.0301597454, -0.0018493141, -0.0141623225, -0.0145767415, -0.0087051746, 0.0018894935, -0.033275485, 0.0048830053, 0.0342958122, 0.0043494375, -0.0219905116, -0.0264837053, 0.0561294258, 0.0291621312, 0.0694212541, -0.0260519646, -0.0077629485, -0.0443496592, -0.0408032835, 0.0370379873, -0.0061859307, -0.0023485946, -0.0508417375, -0.0309521761, -0.0707222074, 0.0119019337, 0.061616376, 0.0166192912, -0.0029706112, 0.0058597606, 0.0586138256, -0.0067235101, 0.0198537167, -0.0328938104, -0.0172305871, 0.040043056, -0.0560018905, 0.0095563242, -5.651203051e-33, -0.0086402968, -0.0558632948, 0.0124767479, -0.0000702746, -0.0183300544, -0.0245657749, 0.0087845232, 0.0080020009, 0.0015498304, -0.0341295451, -0.0113575934, 0.0104003958, -0.0028717122, -0.0074819052, 0.0211497471, -0.0717333481, 0.0067072939, -0.0317953937, -0.0258762483, -0.0232613739, 0.0114804031, 0.0211430788, 0.0152031248, -0.0649316683, 0.0664217323, 0.0032513712, -0.0552842319, -0.0094478577, -0.0526122116, 0.0723521411, 0.0020860741, -0.0057201642, -0.0267779492, -0.0018321048, -0.0036652826, 0.0318422318, -0.025330551, -0.0224175863, -0.0184977762, -0.0320705771, -0.0293970127, -0.0630120635, 0.0478110909, -0.0060359286, -0.0543486476, -0.0130615365, 0.0094557554, -0.0161313917, -0.0068405708, -0.0045446786, -0.0034929307, -0.0043949932, -0.0247365367, -0.020196192, 0.0039553498, -0.0081012556, 0.0278640445, 0.0171117652, -0.0491312593, 0.0179851949, 0.0231720917, -0.0054309461, 0.0913415849, 0.0207430199, -0.0156301726, 0.0538563617, 0.0481768884, -0.0231102761, -0.001804578, -0.0082841842, -0.010015348, 0.046010714, 0.0645259842, 0.0546662286, 0.0097228866, -0.0110244444, -0.0615990907, 0.0201936681, -0.0363102667, 0.0118820686, 0.0035552778, 0.0263638068, -0.0357696377, 0.0339259803, -0.0024605573, -0.064689517, -0.0200989675, -0.0140538169, 0.0097985053, 0.0014389197, -0.0226764083, -0.0140640587, -0.0120883211, -0.0313131846, 0.0116299214, -0.0057786573, 0.0200421847, -0.0333581083, -0.0084622502, 0.0004822998, 0.0011366341, -0.0063222842, -0.0106079541, -0.0399959162, 0.0570091642, 0.0178109873, 0.0467794873, 0.0222074073, -0.0620015971, 0.0126641029, -0.0278533101, 0.0491183922, 0.0284329895, -0.0062223617, 0.0337524302, -0.0324495286, -0.0002160822, 0.0221566185, -0.0136263268, -0.0086082872, -0.0426025353, 0.041875992, -0.0263644252, 0.0285461321, 0.0027350027, -0.0113063529, -0.0049863849, 0.0520660952, 0.0576347075, -0.0619916283, -0.0032363993, -0.0109759392, 2.713e-7, -0.0145098856, 0.0016676437, 0.0599369071, 0.0071206461, 0.0032895866, 0.0878290981, -0.0210409649, 0.104323335, -0.0228955355, -0.0370285884, 0.0165116247, -0.0011904746, 0.063036494, 0.0190550778, -0.0195681527, 0.012153551, -0.0720702857, 0.0314160883, -0.042814631, 0.0453639738, 0.0387285054, 0.0593237057, 0.037721809, -0.0132080447, -0.0164305903, -0.0297568254, 0.0152364587, -0.0566360094, 0.0152171599, -0.0038138751, 0.0533611961, -0.0040346431, -0.0006307462, 0.0049145059, -0.0351163372, -0.0311610736, -0.0039601992, 0.0515651107, 0.0148086222, -0.059428174, -0.0444656126, -0.0249896813, 0.0063224267, -0.0244303625, 0.0460293144, 0.0067514563, -0.0062097381, -0.0254690442, 0.0031422838, -0.0239828192, 0.052223932, -0.0125954775, 0.0265500806, -0.0208653081, 0.0002194851, 0.009531281, 0.0248946119, -0.0476573445, -0.0325779468, -0.0293894056, -0.0291640181, -0.0465326123, 0.0146528445, 0.0393209532, 0.0250738468, -0.0236700419, -0.0524168015, 2.427831594e-34, -0.0296443999, -0.0351783819, 0.0021767614, 0.0135554094, -0.0048939674, 0.0070362315, -0.0025232041, 0.0068865498, 0.0030506544, -0.0075360355, -0.0098581612 ]
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.
Single Character Perturbations Break LLM Alignment: 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.0125536816, 0.0718421414, -0.0019274352, 0.0274067428, -0.0120437387, 0.0113114994, 0.0349602439, 0.0002615905, 0.0070988666, -0.0043106782, -0.002353404, -0.0190789681, -0.0111600496, 0.0174311642, 0.0570516028, 0.0272487476, 0.1057830453, -0.0294191334, -0.0203940738, -0.0036801789, -0.0131002078, -0.0349691659, -0.0254097041, 0.0286874454, -0.0013332614, -0.0142712984, -0.0433297083, 0.0442146137, 0.0242246389, -0.0462323353, -0.0022371486, 0.0255398601, -0.0203548484, 0.0618467778, 0.0000018223, -0.0480016395, -0.0420171469, 0.0298083797, -0.065258801, -0.0160955284, -0.0081443395, -0.0333687179, -0.0241005011, 0.0211850293, -0.0304847602, 0.0488187, 0.0627813339, 0.0732147992, 0.0238522198, 0.0948014259, 0.0143916467, 0.002445447, 0.0325808264, -0.0284749344, 0.0348310508, -0.028501641, 0.0171726979, -0.0635654181, -0.0448911935, 0.0166039784, 0.0070069949, -0.0000801794, -0.0027143033, 0.0304548834, -0.0093470803, 0.0362088978, -0.0297073349, -0.0439605601, -0.0304844622, 0.0326752923, -0.0089542074, -0.0031007694, 0.0304916911, -0.0108560733, 0.0437211506, -0.0261188336, 0.0016733927, 0.0512147509, -0.0136671131, 0.0224602334, -0.0140639702, -0.0236975215, 0.0507052541, -0.0232850499, 0.0103146732, 0.0799970627, 0.0033293744, -0.041559834, -0.0284281503, -0.0233329944, 0.018810574, -0.0719821677, -0.0374732986, 0.0104371635, -0.0191340633, 0.0284122061, -0.087581113, 0.0170955304, 0.0715040788, -0.0449061841, 0.0155633902, 0.0251862258, -0.0039929873, -0.006327875, -0.032022953, 0.0338699818, -0.0332951173, 0.0943754241, -0.0102784904, 0.0620655231, 0.0111301374, -0.0231866464, 0.0413739644, 0.0361799672, -0.0319031514, -0.0017450028, -0.0403034575, 0.0490897894, -0.0163106844, 0.068575196, -0.0469531268, 0.0082572456, -0.0169273503, 0.0317655616, 0.0069933473, -0.0529504828, -0.0060930126, 0.0208630599, 0.0275405925, -0.0637703463, -0.0376757756, 0.0006636399, -0.0760268718, -0.0344197638, -0.0067599756, 0.1319512427, 0.0283912905, -0.0191356335, -0.0546139739, -0.0654284433, -0.0126819601, -0.0158521887, 0.0357401744, -0.0392381065, -0.0042833844, 0.0073152347, -0.0298036095, -0.0808506534, 0.0280889757, 0.0000179307, -0.0506757498, 0.1041173488, -0.0138353202, -0.0327115469, 0.0180633962, 0.0266321376, -0.0104077868, 0.036249049, 0.0388489887, 0.0296764467, 0.0521871112, -0.0097756628, 0.0456797332, 0.0198412947, 0.0036355976, 0.0161568467, -0.0207601916, 0.0228342116, 0.0321692936, 0.0372432917, 0.0358484983, 0.020248631, 0.0022511957, -0.0477648303, 0.0708822086, 0.0813214108, 0.0085530309, 0.0213010814, -0.0355326124, -0.026228413, -0.0211729184, 0.0131120309, -0.1254975647, 0.0037027488, -0.0828544348, 0.0159115922, -0.0160526838, 0.0467692651, -0.0161552057, -0.0271770507, -0.0416840427, -0.0310240854, 0.0052648163, -0.0280247554, -0.0108790249, -0.0158139095, -0.0336262733, 0.0809963644, 0.0372803025, -0.0702839047, -0.0468120426, -0.0656542704, 0.0346444808, 0.0434507057, 0.0188571792, -0.0295301173, -0.05729663, -0.0352774821, -0.0178949889, 0.0073297103, 0.0055685407, 0.0214499217, 0.0302226841, -0.0066967774, -0.0411801524, -0.0018651369, 0.0148084695, 0.004176388, 0.0191316679, -0.0113729825, -0.0135480249, -0.0448876359, -0.0110019511, 0.077885747, -0.0136850169, -0.0643651485, -0.0366711132, 0.0251302775, 0.0171291269, 0.0167375673, -0.0124658709, 0.0192585886, 0.0583234951, 0.0184382331, 0.0132633979, -0.0258517582, -0.0250851605, 0.037465401, 0.0667114258, -0.0181772411, -0.0041366275, 0.0384499989, -0.0409974195, -0.003568342, -0.0119592575, -0.0198628493, 0.0272117835, 0.0043614074, 0.0308699664, 0.0122758178, 0.0005918499, -0.0614723973, 0.0286146384, -0.0250191372, -0.018749997, -0.0355769396, 0.0057073976, 0.0020293733, -0.0313220322, -0.0326496959, 0.0235863719, -0.0178469978, 0.013962727, 0.00749336, 0.0001579801, -0.0447991639, -0.0374921598, -0.0365703218, 0.0135293258, 0.0084208371, 0.0312940441, -0.006798144, -0.0234436467, -0.047020454, -0.0173545033, -0.0129880412, -0.0347007848, -0.0198711939, 0.0159989148, 0.0539990254, -0.0171179548, -0.0454049148, -0.0500976518, -0.0092716385, -0.0211917683, 0.036675036, -0.0185876638, -0.0116144279, -0.0522550941, 0.0357787684, -0.026393082, 0.0184233841, -0.0090475362, -0.0349757113, 0.0569544658, 0.0278918911, -0.0166742671, 0.0736876056, 0.0321065672, 0.0519083329, 0.0578908622, 0.0546271801, -0.0550437905, -0.0162103064, 0.0088530108, -0.0285682958, -0.0572057813, 0.0052357255, -0.0214441251, 0.046490673, -0.0206499677, 0.0079832878, -0.034587536, 0.0353807248, 0.0425345302, -0.0704738945, 0.0114136152, -0.0327025764, -0.0590132028, 0.0371247418, -0.0143768964, -0.0771597102, 0.050022766, -0.0487367287, 0.014780811, 0.0414022952, -0.0344813354, -0.0064511769, 0.0279901139, -0.0073647983, 0.0039945878, 0.0706589371, -0.043961741, -0.0518895499, -0.0184082184, 0.0041064015, -0.0396019109, 0.0440077707, -0.0166410301, -0.0251806658, -0.0306612309, -0.0443058759, -0.0696823224, -0.047431916, 0.0026559867, -0.0274908226, -0.0328415781, -0.040426705, -0.0281918924, -0.0441509485, 0.0328946039, -0.034618251, -0.0175019298, -0.0029103002, -0.0513298623, -0.0109732626, 0.0404247716, -0.0230740495, 0.0464848727, -0.035855189, -0.0037758697, 0.0905605704, 0.0279000513, 0.0106567368, -0.0397224762, 0.0027526408, 0.0241925716, -0.0216304101, -0.0097752148, 0.0352917016, 0.0789016411, -0.0111282282, -0.0106412582, 0.068375878, 0.0043939766, -0.0073945541, 0.0429692492, -0.0101922164, 0.0474756621, 0.0187597871, -0.0048850281, -0.061214529, -0.0077423798, 0.0400090478, 0.0623555519, -0.0324272625, -0.0332176685, 0.0016704769, -0.1006355062, 0.0233874321, 0.0285394378, -0.0353458859, -0.0353773013, -0.0192590207, 0.0129335029, -0.0139225852, 0.0612842813, 0.0155381784, -0.0047305361, -0.0029119472, 0.0570047833, -0.0095752552, -0.0092131281, -0.0362890363, -0.0704757348, 0.0958889872, 0.0825517401, -0.0359743237, -0.0324649028, -0.0359622948, 0.0500234775, 0.0605287924, 0.0130696474, 0.0075433766, 0.0194869805, 0.007695118, 0.007244525, 0.0112985307, 0.0445301868, -0.0258375816, -0.0390615165, 0.0199563205, 0.0263559353, -0.0297452901, 0.0174729433, -0.0531258918, -0.0188771915, 0.0067313141, 0.0650986657, 0.0131928185, -0.0140587762, -0.0437782742, -0.0707346052, -0.0016196375, 0.0097068017, -0.0098646441, 0.0106541971, -0.022835914, -0.0240307022, -0.0334579051, -0.036155533, -0.0170392208, 0.0309305172, 0.0159295145, -0.0428356975, -0.0475248434, 0.0124574499, -0.0416714102, 0.0060295681, -0.0007166444, 0.0189282671, -0.0643040016, 0.0474998616, -0.0083417315, -0.0212444793, -0.0033030701, 0.0164018758, -0.0952716544, -0.087246947, 0.0432642959, 0.0588911064, 0.0348153636, 0.0409469046, 0.0121704144, -0.0178951249, 0.071598798, 0.072168164, -0.0179228112, 0.0479469523, 0.0727081001, -0.0105724093, 0.0042023235, 0.0015005745, -0.0160021819, -0.039273344, 0.066416584, -0.0012222833, -0.0843138322, -0.0420959555, -0.0094606169, 0.0248491634, 0.0483730324, -0.0396779105, -0.0004983341, 0.0215837937, 0.0433397703, -0.0115630571, 0.0264214557, -0.0026141501, -0.0070245503, 0.0005322255, -0.0043759197, 0.0388116427, -0.0255578328, -0.0001922405, 0.071630612, -0.0252076294, 0.0241648573, 0.0133782383, 0.019656321, 0.0542956777, 0.0166389272, -0.0214704145, 0.062152192, 0.0074506402, 0.0240118671, 0.0232340563, 0.0013786786, 0.0186526142, 0.0443753451, -0.0370446332, 0.0447005741, -0.0816381648, -0.0522080623, -0.0190448202, 0.0328314975, -0.0027896918, 0.0273515098, 0.0042678714, -0.0143056586, -0.0070354608, -0.0195932556, 0.0056867818, -0.0230681151, 0.0040706331, 0.0307629444, 0.0045418334, -0.0275267996, -0.0205414761, 0.0629453138, 0.0164763294, 0.081302762, -0.0331055336, -0.0099387756, -0.0455143563, -0.027964497, 0.0559790544, 0.0118565643, -0.0087381434, -0.0427174196, -0.0445940159, -0.0568269864, 0.0310887322, 0.0353664719, 0.0237105228, -0.0123801706, -0.0001735091, 0.049563244, -0.0065523167, -0.0063442341, -0.0187195875, -0.0398504734, 0.051809296, -0.037001431, -0.0074630752, -5.490667991e-33, -0.0093241381, -0.0331760608, -0.0024256529, 0.0261805858, -0.0295926686, -0.0320810117, 0.0060939235, 0.0283095613, 0.0067551653, -0.038761355, -0.0204948578, 0.0089071104, 0.0110789686, -0.0076908465, 0.0262961797, -0.0618370287, 0.0058880229, -0.0106162205, -0.0262398738, -0.0206824914, 0.0266575851, 0.0395225249, 0.012853561, -0.064028725, 0.062749669, -0.0028954817, -0.0548126884, -0.0115160244, -0.0498570576, 0.0674543008, 0.009771863, -0.0119715985, -0.0236895438, -0.0088841254, -0.0136907082, 0.0420231186, -0.0160163604, -0.0152097968, -0.0100854728, -0.0234041177, 0.008206428, -0.0808243901, 0.053352993, -0.0019075036, -0.043356888, -0.0161593352, 0.013387572, -0.0205992144, -0.0177589785, -0.012681636, -0.0200355984, -0.0028227672, -0.0137295835, 0.0072350241, -0.0089425687, -0.0236571543, 0.0221725963, 0.0146794533, -0.034743499, 0.0230402481, 0.0594721176, 0.0107903183, 0.0692625269, 0.0313845091, -0.0312582478, 0.0548805781, 0.0475564301, -0.0207282435, 0.0137812672, -0.0061964751, -0.0175197665, 0.0459963083, 0.0304280389, 0.0454539619, 0.0235496014, -0.0055158017, -0.0555860773, 0.0111688692, -0.016529901, 0.0114983469, 0.0055380352, 0.0353657901, -0.0419472456, 0.0261215474, -0.0063024363, -0.0252428427, -0.0082928091, -0.0239999108, 0.0083694486, -0.0030708886, -0.0066207806, 0.0034830656, -0.0005109357, -0.0232935641, 0.0076324781, -0.0090002036, 0.0284896269, -0.0282043666, -0.01212308, 0.0043446482, -0.0067369589, -0.0249698348, -0.0000454971, -0.0438245945, 0.0604102015, 0.0239028782, 0.0465479158, 0.0212633889, -0.082901001, 0.015380214, -0.0160364676, 0.0448449291, 0.0317407809, 0.006716188, 0.0346116424, -0.0489431247, 0.0044326978, 0.0175630208, -0.0042486852, -0.002047905, -0.0433236174, 0.0362506025, -0.0175806396, 0.0351832807, -0.0042928057, -0.0104967719, -0.0046142163, 0.0606763773, 0.0533805303, -0.0544852726, -0.0011656904, -0.0057611889, 2.637e-7, 0.0051647793, 0.0097973831, 0.0777987242, 0.0201408081, -0.0057258615, 0.0824822709, -0.0210824478, 0.0891111195, -0.018238442, -0.0231629517, 0.0143283475, -0.0067979745, 0.053835243, 0.0114859426, -0.0214664657, 0.0166752487, -0.0567623377, 0.0348215811, -0.0520319976, 0.0420947373, 0.0445334204, 0.0621097386, 0.0177844092, -0.0245430078, -0.0123217544, -0.0399313457, 0.0075106793, -0.050777413, 0.0153657123, -0.0159918182, 0.0335199237, -0.0128669413, -0.0018011052, 0.0134480502, -0.0333876647, -0.0232488345, -0.036892131, 0.0557019487, -0.0031373487, -0.0560720153, -0.034910772, -0.0303038023, -0.0054649198, -0.0236086491, 0.0355503708, 0.0218023658, 0.0046972996, -0.0179278459, -0.0040046773, -0.0178433973, 0.0242138617, -0.0183489546, 0.0395166613, -0.0137916049, -0.0018097563, 0.0149990469, 0.0125535382, -0.0507888049, -0.0358821899, -0.0255947337, -0.0357845277, -0.063801311, 0.0166075472, 0.0486334264, 0.019784525, -0.0426545404, -0.0406972617, 2.60284755e-34, -0.014481442, -0.043674957, 0.0062350612, 0.0626217127, -0.0015827127, 0.002144296, 0.0102869086, 0.0231793225, -0.0003630706, -0.0196033511, -0.0125746857 ]
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.
Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning: 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.0101326434, 0.0282807574, -0.0120397331, 0.0338937007, -0.0115050599, 0.0113467583, -0.0504008085, 0.0166762453, -0.0002038208, -0.0678318813, 0.014427253, -0.0128357792, -0.0567242652, -0.003678201, 0.0276165102, -0.0288156401, 0.0238558836, -0.0071983878, 0.0016020966, 0.0095500955, 0.0228215232, 0.0485812724, 0.0561273806, -0.0160025451, -0.0167052094, 0.0113484534, 0.0065856515, 0.0294926297, -0.0440779738, -0.016930718, -0.0258577447, -0.0009841942, 0.0140074352, 0.0333072953, 0.0000020894, -0.060056746, -0.0934180692, 0.0284876507, -0.0245308727, 0.0106658991, 0.0452651083, -0.0439774618, 0.0294102803, 0.0347063951, -0.0488793813, 0.0034158072, 0.0193106234, -0.0163206328, 0.0336061679, 0.0750974491, -0.0128412368, -0.0527336001, -0.0130635342, -0.0043675713, -0.0073653134, -0.0496912673, -0.0272093546, 0.0174447093, 0.0084505454, 0.0342437178, 0.0135897826, 0.0078209043, -0.0108689144, 0.0070555313, 0.0142900562, 0.0014148286, -0.0642226562, 0.0423730724, -0.007987651, 0.0289081037, -0.0166047662, -0.0439013802, 0.0149930092, 0.0152239818, -0.0256778803, -0.00685158, -0.0249043796, 0.047601603, 0.001481155, 0.0349911787, 0.017427342, -0.0334813073, 0.0087142279, -0.0188299119, -0.0289446376, 0.0489470772, -0.0026182618, -0.0333819762, 0.0234804805, -0.0192765798, -0.0295275152, 0.01052792, 0.0204531346, 0.0029134578, -0.0685395524, 0.0407811254, -0.0145472707, -0.0218738019, 0.0070800795, -0.0587307513, 0.0359014161, 0.0756821409, 0.0220184419, 0.0256370362, -0.0143723339, 0.0183737595, 0.0284144003, 0.0029199093, -0.0548806675, -0.0330089517, -0.0698796064, 0.0009102038, -0.0703118816, 0.0461433455, -0.1139815748, -0.0126986736, -0.0191793926, 0.0368244275, 0.0013133094, 0.0370000005, 0.0221369695, 0.0071671563, -0.0264140107, 0.0022149628, -0.0343777575, -0.0210165288, 0.0360908881, -0.0593329668, -0.0258168485, -0.0641225576, -0.0162684973, -0.0072839069, 0.002509919, -0.037112426, -0.0009687156, 0.0534634665, -0.0155824721, -0.0004242601, -0.0630494803, -0.0710772052, 0.0111876959, 0.0204814002, -0.0159932505, -0.0296018627, 0.0620622784, 0.014272402, -0.0114855962, -0.0530218184, -0.0100001292, 0.036708273, 0.0034507879, 0.046240665, -0.0091824764, 0.0069287103, -0.0072149406, -0.020549126, 0.0200227425, 0.0872452036, 0.0037721246, 0.0339789614, 0.0301815774, -0.0043301471, -0.0658147186, 0.0071873809, 0.0283367261, 0.0028461106, -0.0714606717, 0.0653700978, 0.0092664724, 0.0219605491, 0.0017236308, 0.0699164793, -0.0227210969, -0.0040083029, -0.0001107915, -0.0152725335, -0.0120166894, 0.0373561047, 0.0606168546, 0.0339948758, -0.0321090184, -0.0361288488, -0.0390576571, -0.0240440443, -0.0080207251, 0.0192447007, -0.0008778194, 0.0086124092, -0.0115112299, -0.0342334993, -0.0179938804, 0.0185117517, -0.0287685227, 0.0169663783, 0.0073093357, 0.0120369364, -0.0301173702, 0.0829780549, -0.0147692272, -0.0441891141, -0.0061157579, 0.0129931038, -0.05474931, 0.0877735242, 0.0250851139, -0.090553239, 0.0177693069, 0.0247587059, 0.0191203207, 0.0293150228, 0.0141234202, -0.03659942, -0.0016053634, -0.0224333201, -0.0035314795, 0.0150908148, 0.0187302791, 0.0054725115, 0.0218014475, -0.0171805937, 0.0496969856, -0.0406495295, -0.0134441238, 0.0132353976, -0.0191603713, -0.0415721238, 0.031823229, -0.0014801251, 0.0377105884, 0.0243935082, -0.0279196203, 0.0473979339, 0.0268078968, 0.0063990881, -0.0356846601, -0.0148729812, 0.0090674693, -0.0378317237, 0.0328692719, 0.0206923932, 0.0045846868, -0.0207836386, -0.0552532338, -0.0325977877, 0.0208975915, -0.045077078, 0.0658104941, -0.0514553376, 0.0216360819, 0.0156819932, -0.0273909662, -0.0552517697, 0.075890854, -0.0101418104, 0.0253386814, -0.0076327971, -0.0731934458, 0.0358586758, -0.0517333075, 0.0065312563, 0.0019577469, 0.007622744, 0.0494165272, -0.0101901051, -0.0161508862, -0.0333067104, 0.0176217109, -0.0536496714, 0.0368826352, -0.0149820531, 0.054136388, 0.0316781029, 0.0500526391, 0.0266256332, -0.0221868362, -0.0169360451, -0.0133886868, 0.0033766089, 0.0296624862, 0.0310894251, 0.0138644446, -0.0318926908, -0.0157746729, -0.0406549945, -0.047578238, 0.0460742526, -0.0406559557, -0.0089827236, 0.0091535645, 0.0254434384, -0.0160669833, 0.061560981, 0.0113620423, 0.0281746425, -0.0093518971, -0.0613171868, -0.0214367397, 0.0474619791, -0.0214234889, -0.000014045, 0.0060021989, -0.0222946852, -0.0681472719, 0.0077549131, -0.0148089901, 0.0277483743, -0.0047438331, -0.0528978147, 0.0450088158, 0.0026674082, -0.0168613438, -0.0252117459, -0.038256865, -0.0012939476, 0.0273844711, -0.0077034333, -0.0487210006, 0.0027902431, 0.04141853, 0.0269878637, -0.0134946248, -0.0104837939, 0.061605569, -0.037232019, 0.0111231217, -0.0288377609, 0.0023331279, -0.0818659663, 0.0720241442, 0.0335966982, 0.0320465751, -0.0555395596, -0.0444957577, -0.0109847346, -0.020886058, 0.011908683, -0.0226110276, 0.0682765022, -0.025891792, 0.0307207052, 0.0033552547, -0.0226215925, -0.0040945238, -0.0286395773, -0.0335231163, 0.0527610853, 0.0466102213, 0.0225920044, 0.0136135323, -0.008844953, -0.0086038811, 0.0302544218, 0.0368163511, -0.0148845939, -0.0105917966, -0.0410681814, 0.0004821208, -0.0103802402, -0.0086188661, 0.003120671, 0.048954431, 0.03612528, 0.0471389703, -0.0915893614, -0.0211643968, -0.0031856287, -0.0096970694, -0.0434854589, -0.03044107, -0.0012050567, -0.0655938908, -0.0575186089, -0.0300934128, 0.0823998824, 0.04331607, 0.0228539072, 0.0169742424, 0.0203272402, 0.0322433412, 0.0278787296, 0.0521507487, -0.1138519719, -0.0281617194, -0.0161757153, 0.025800772, 0.0387117378, -0.0407837704, -0.0107616168, -0.1340942383, 0.0243704263, -0.0122605404, -0.0530569553, 0.018222807, -0.0049770083, -0.0455342084, -0.0483334996, -0.0184305962, 0.0935148969, -0.0501322784, 0.0219490472, -0.0159527399, 0.0347019359, -0.0285925847, 0.0075824657, -0.0082146553, -0.031786181, 0.0189055502, 0.014598228, 0.0237833653, -0.0072217588, -0.0071721342, -0.0467403978, 0.0149425929, -0.0377795286, 0.0679672956, -0.0065200548, 0.0152886994, 0.0409352928, -0.0169146638, -0.0412544124, 0.0298031531, -0.0133257499, 0.0882960409, -0.0523427948, 0.0526009016, 0.012539193, -0.0660986155, -0.0147957411, 0.0443310998, -0.015523375, 0.0457704775, -0.0643801913, -0.0299582183, -0.0089517925, -0.0570025668, 0.0175082069, 0.0472160503, -0.0608284175, -0.0511162207, -0.046721451, -0.0199665315, 0.0253122319, 0.0178698339, -0.0204126313, 0.0170523003, -0.0030262824, -0.006653762, -0.0583392046, -0.0022340505, -0.0384189002, -0.0024153451, 0.0056942054, 0.0155090922, 0.025483489, -0.0486168563, -0.0572757721, -0.0385775901, -0.0387233607, -0.0399943255, -0.0066849664, -0.0021836443, 0.014554129, 0.0465294793, 0.013737957, -0.0375144444, -0.0103654489, 0.0606635809, -0.0702063516, -0.0404930525, -0.0024297875, 0.0196423624, 0.0162374619, 0.0656833872, -0.0423160605, 0.0153883304, -0.0545122288, 0.0373690762, -0.0283658151, -0.0010571565, 0.1032943577, 0.0843806788, -0.0022268894, 0.0641875044, -0.0026906321, 0.0091857351, 0.0479000174, -0.0757043064, -0.0511649437, -0.0533670373, 0.0345507935, -0.0001382439, -0.0158709884, 0.0094687631, -0.0036935245, 0.0058099101, 0.0507443845, -0.0101872087, -0.0205698032, 0.0048060017, -0.0216832999, 0.0289681423, -0.0245302003, -0.0032409381, -0.0005888025, 0.0287065636, 0.0368103236, -0.0333195068, -0.028432006, 0.0446445607, 0.0023228854, -0.0426005535, -0.0251919013, -0.0477291755, -0.0483987369, -0.0001525827, -0.0156103903, 0.0335908495, -0.0210705139, 0.0603550896, -0.0011675404, -0.0099924225, 0.0043041739, -0.0085775293, 0.0511747524, -0.0376166217, 0.0135860546, 0.0122228134, -0.0257520285, -0.0079029128, 0.0862708092, 0.0019775832, 0.020613268, -0.0113785043, -0.0740032494, -0.0591870807, -0.0494319536, -0.0095660612, 0.0134786386, -0.0074832747, -0.032965865, -0.0349809453, -0.0297727287, 0.0049885665, 0.0307519194, -0.0491210371, -0.0385627821, 0.0546475425, 0.079641737, 0.0779777095, -0.0414279066, -0.0198182017, -0.0002420542, -0.0865206271, -0.0511839129, -0.0121553931, -5.959444853e-33, -0.0168355592, 0.0136336479, 0.0616034344, 0.0141932173, -0.0012451559, -0.0156909656, -0.0246815439, -0.0214914959, -0.0074482961, -0.0189774334, -0.0178174861, 0.0277678613, 0.0297291595, 0.0424956642, 0.0293584783, 0.0043711849, 0.0338281766, -0.0106570441, 0.0339351408, 0.0008120982, 0.0776873082, 0.0316248462, 0.0335394815, -0.0170341227, -0.0132063935, 0.0282889362, -0.0173895191, 0.043873027, 0.0147347506, 0.0360172652, 0.0195403304, 0.0411821716, 0.0144239506, -0.0094263153, -0.0188669637, -0.060839925, -0.0404392928, -0.0162454825, 0.0175060369, -0.0118643334, -0.0177871026, 0.0026098809, 0.067482017, -0.053505417, -0.0099410173, 0.0135288164, -0.0015254976, -0.0244966634, -0.0038298278, -0.0488158166, -0.0329027921, 0.0205741003, 0.033331845, 0.0455118753, 0.0479070768, 0.0353197902, 0.0050381683, 0.0721419305, -0.0084570935, 0.0240262579, -0.0178844631, 0.0702962056, 0.0086730514, 0.0017393659, 0.029928308, -0.0180669557, 0.0216894597, 0.008465332, 0.0319102742, 0.0575838499, -0.0234845039, 0.0707410276, -0.0042452477, 0.0481343046, 0.0052849869, -0.0070344252, -0.0763372108, 0.0213831402, -0.0012129602, 0.0302579366, -0.014198212, 0.0321988426, -0.056498941, -0.0444190986, -0.0265612695, 0.0454107486, -0.0237356406, -0.0200808533, 0.0542907231, -0.0100809, 0.0009257598, 0.0446276292, 0.0025283885, -0.0044865776, -0.0364128314, 0.0415806286, -0.0242715646, -0.0321516134, 0.011445811, 0.0323401541, -0.0482651889, -0.0572402515, -0.0222400092, -0.0089483857, -0.0217470117, 0.0193090662, 0.0360458344, 0.036902573, -0.047979936, 0.039888639, -0.0402977802, 0.0269460082, -0.0486919545, 0.0356325172, 0.0141661586, 0.0281653702, 0.0235047042, 0.0135439904, 0.0443303809, -0.0049278219, -0.0059487917, -0.0201942492, 0.0305757262, 0.012568308, 0.0095343636, 0.0357011706, 0.0297663379, -0.0435114242, 0.0235235486, -0.0314406678, -0.0189321358, 0.0444536358, 2.832e-7, 0.0680141374, 0.0145755121, 0.009100059, 0.08055944, 0.0052657998, 0.0023294478, 0.0297913942, 0.0353579111, 0.024411967, -0.0194232147, 0.0046101208, -0.022550432, 0.0193249863, 0.0612198487, -0.0871519893, 0.0116251474, -0.0243293308, -0.0397549495, -0.0411062911, -0.001538583, 0.0523736365, 0.0828829482, -0.0501716584, 0.0103486879, -0.0217769314, -0.0782840028, 0.0194502361, -0.0086379601, -0.0230999663, 0.0170555674, 0.0002471911, 0.0171904229, -0.0144857382, 0.0123312501, -0.013137606, 0.050004974, 0.0018628798, 0.0475677587, -0.028536845, 0.0344924256, 0.0358889289, -0.1011833996, 0.007525133, -0.0180131271, 0.059499301, -0.0241858233, 0.0119154789, 0.05884628, -0.0515456833, -0.0099618156, -0.0458824113, 0.0044529419, 0.0025613888, -0.0215192176, 0.0282635596, 0.0090086265, 0.0069077215, -0.010176532, -0.032197047, 0.0704414696, -0.0275164917, 0.0098617747, 0.010956713, 0.054864198, -0.0591902807, -0.0128587307, -0.0148535054, 2.913414305e-34, 0.062026456, 0.0421995036, 0.0365288928, 0.0269092154, 0.052611772, 0.0139637832, -0.0323011391, 0.0113094943, -0.0111890687, -0.0739790127, -0.0331625491 ]
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.
How Does Quantization Affect Multilingual LLMs?: 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.0127497185, 0.0601678453, -0.0238213129, 0.0446668975, -0.0280836523, 0.0077883312, 0.0493210144, 0.0346459746, -0.0044296188, -0.0436035022, -0.0183559731, -0.0255754553, 0.0154966908, -0.0150551274, 0.0468512289, -0.041275423, 0.0687940791, -0.0404966772, 0.0095040929, -0.0145874852, 0.0123092383, -0.0250620823, -0.006113484, 0.0342220105, -0.0135149043, -0.0149883274, 0.0116103468, -0.0193781368, -0.0036100936, -0.0384291522, -0.039759025, 0.0682200342, -0.0034349211, -0.0052673453, 0.0000019668, -0.0480608456, 0.0147888586, 0.0008287882, -0.0397686437, 0.0257965345, -0.004229499, -0.0254831277, -0.0230483543, 0.0008988691, -0.0467860773, 0.0151985204, 0.0322837532, -0.0373941436, 0.0351387374, 0.0217417721, -0.0120035382, 0.0125466371, 0.013993267, 0.0033811964, -0.0048386417, -0.0461867712, -0.0306446701, 0.0274277758, 0.0399166495, 0.002261762, -0.0199970193, 0.0509469807, 0.0404799283, 0.0064388355, -0.0383099169, 0.0160134211, -0.056826096, -0.0178368725, -0.0352756344, 0.0444173776, -0.022212103, -0.0063337851, -0.0111524658, 0.008319892, -0.0114150615, -0.034821067, -0.0589295737, 0.0675234795, -0.0255766679, 0.0006512387, 0.0066978424, -0.004020703, 0.0361044109, 0.0290917065, -0.0136110876, 0.122076191, 0.0088116871, -0.0378362462, 0.0097506773, 0.0291700028, -0.0756566897, -0.0604778379, -0.0073821312, 0.0142368721, -0.0217745248, 0.0109032607, -0.0139129115, -0.0362202302, 0.0284552369, -0.0316378698, 0.0506272875, 0.0819945633, -0.0097188232, 0.0220442358, -0.0158081725, 0.0975154713, 0.0049930601, 0.012025523, -0.026796259, 0.0310102683, -0.024365807, -0.0160775427, -0.0079860874, 0.0393308774, -0.002237234, 0.0089961085, -0.0642405152, 0.0165449642, -0.0401925184, 0.0153485881, 0.0127057275, -0.0203677304, -0.0095298896, 0.0079580443, -0.0341455191, 0.0120588196, -0.0774008185, 0.0154542373, 0.0110602314, -0.0895364508, 0.0127109475, 0.0279993787, -0.0258276463, -0.0380584374, 0.0130979912, 0.0778350085, 0.0290383343, -0.000738955, 0.0167926252, -0.022340212, -0.0255371276, -0.0620993003, -0.013601671, -0.0814863443, 0.009832792, 0.0312159043, 0.0162885748, -0.0303732436, 0.0044873934, 0.0090788975, 0.0109907044, 0.0597988479, -0.0169915333, 0.0131808985, -0.0050118184, 0.0017880957, -0.0085893525, 0.0826907903, 0.0164527595, -0.0073871962, 0.055563353, -0.0018190563, 0.0297715329, 0.0808884054, -0.0143034756, 0.0172682125, -0.0113975061, -0.0074632447, -0.0185882021, 0.0615120903, 0.0716096237, 0.0652923882, -0.041266337, 0.0039433301, 0.0268598478, 0.0834076181, 0.0181634948, -0.0130003411, 0.0366419517, -0.0048552011, 0.014530425, 0.0117375441, -0.0483805276, 0.0264459793, -0.0005493069, 0.0134313628, 0.0267457291, 0.0218008049, -0.0239755195, -0.0661478341, -0.0423419662, 0.0183889624, 0.0099151088, 0.0149774505, 0.0219206084, 0.0170356985, 0.0354871042, 0.0952649713, 0.0111581385, -0.0765426978, -0.0189328305, -0.0709159449, -0.0112757264, 0.0426007956, 0.026598474, -0.0113837346, -0.002588684, 0.0187520869, 0.0043647625, 0.048894763, 0.0281760618, -0.0047636894, -0.007229154, -0.0175308697, -0.0236422513, -0.0297853015, -0.0009490304, 0.010297765, 0.0295509025, 0.0343868062, -0.0190741885, -0.0827493146, -0.0126458453, 0.0231529437, -0.0197811592, -0.0456017405, -0.0100915637, 0.0134645728, -0.0021868038, 0.0294223893, 0.005692773, 0.0115341516, -0.0046562129, -0.030056281, 0.022033317, -0.0050383219, 0.0013845621, -0.0338715278, 0.052603595, -0.0069485633, -0.0326515473, 0.0122541543, -0.0180379674, -0.0125669185, 0.0096326219, -0.0029635015, -0.016786715, -0.0107721891, 0.0143967876, -0.0141742416, 0.0010728415, -0.0377329998, 0.0392722301, -0.0147624211, 0.0548543669, 0.0523385406, -0.0094193239, 0.0339113697, -0.0521867312, -0.0549391434, 0.0400191508, 0.0173486788, 0.0373595804, 0.0150250513, 0.0141069693, -0.0241142754, 0.0112584876, -0.1078174189, -0.0078283483, -0.0298384074, 0.0480365492, 0.005765174, 0.0102672679, -0.0204843935, 0.0027147434, -0.0540229455, -0.0418215357, 0.0089442488, 0.0599979982, 0.0304930378, -0.006599409, 0.0230587758, -0.0318651162, -0.031372074, -0.0144776739, 0.0339621045, -0.0183491949, -0.0239967573, -0.0571663231, 0.0429924913, -0.0451172553, -0.0147850104, -0.0131010236, -0.0103501799, 0.0484490804, 0.0029894409, 0.0498455502, 0.0485103615, -0.0509578586, 0.0116494149, 0.0673002303, -0.0159486588, -0.0580900498, 0.014749663, 0.0258107428, -0.0489912182, -0.0048877806, -0.0591150373, 0.0022440134, 0.0648332015, -0.0126603879, -0.0123065151, -0.0214304179, 0.043662034, -0.0835103095, -0.0344961695, -0.0642652884, 0.0164702293, -0.0166632906, 0.0995278433, -0.0012191832, -0.0404412225, 0.0593481772, -0.0132937534, -0.0166193973, -0.0219580345, 0.002886832, -0.0329566561, 0.0398219824, -0.0165406112, 0.0112735219, -0.0196199939, -0.021160895, -0.0673638806, 0.0115746949, 0.0216582865, -0.0321179517, 0.0453144237, -0.0529250763, 0.0117583657, -0.0387466215, -0.046896819, 0.004987875, 0.008283277, -0.0135853142, 0.0274683274, 0.0071922741, -0.0105163017, 0.0611016527, 0.045463901, 0.0322942026, 0.0051226071, -0.040215686, -0.021711858, -0.0053057903, 0.0135426652, 0.000367586, 0.0103833089, 0.0394887626, -0.0282685943, 0.0182578694, 0.0544142537, 0.0391247682, 0.027705159, -0.0208754502, 0.0329001956, 0.0616595, -0.0387357362, -0.0673129484, 0.0254731253, 0.0841599181, -0.0703666657, 0.0219883714, 0.0940591991, 0.0134970378, -0.0328561515, 0.0074780169, -0.0528381132, 0.011603158, 0.0144887716, 0.0218652692, -0.1487264335, -0.0095127597, 0.0328083411, 0.0162196662, 0.0010540384, -0.0202138685, 0.0042530019, -0.1005418748, 0.0228439961, -0.0076957596, -0.0091566322, 0.0175840631, -0.0213221926, -0.0020708365, -0.0114223827, 0.0791967064, 0.0173557959, -0.0072956579, 0.0184053071, 0.0087821707, -0.063381955, -0.0367147774, 0.0303861424, -0.023777537, 0.0057573351, 0.0280615631, 0.0413428172, -0.032502979, -0.0337363407, 0.0136094484, 0.0421267636, 0.0184710156, -0.0311202072, 0.0044845208, 0.0220527146, -0.0089980885, -0.0102618868, -0.0333294943, -0.0118659539, -0.0123758186, 0.0122790057, 0.0610926375, -0.0225250423, -0.0189952087, -0.0170894209, -0.0260989759, -0.0251580607, 0.0470979474, 0.012104921, -0.0475449078, -0.0543587171, -0.0526396818, -0.0207424331, -0.0441480204, -0.0710432976, -0.0213888474, -0.0296160746, -0.0485591851, -0.0579736531, -0.0768345296, 0.0238633119, 0.0200194363, 0.0125953862, -0.0061580301, -0.0015338816, -0.0033558928, -0.0124390842, 0.0264211185, -0.0040935511, 0.0564396195, -0.0328089818, 0.0211136341, -0.0149924299, 0.0119890338, 0.0082478942, -0.0309164599, -0.0624617375, -0.063225694, -0.0248069428, 0.0617846549, 0.0238187984, 0.0277721733, 0.0118743675, -0.0657314286, 0.0242362749, 0.0307686813, 0.0049654683, 0.0292220321, 0.044358775, 0.0330580398, 0.0058073006, 0.0263245441, -0.0049226061, 0.0147541342, -0.0061352858, 0.0744709596, -0.0730078071, -0.0607411936, 0.0080940006, 0.0308995657, 0.0361675918, -0.0451049246, 0.010748242, 0.0046592513, -0.0343988799, -0.0316636749, -0.0256940071, -0.0368986502, -0.0087585971, 0.0135606527, 0.0202119611, -0.0021967446, 0.0403303728, -0.0064550298, -0.0285760239, -0.0041977521, 0.0504363738, -0.0014246536, 0.0413415022, 0.0154419504, 0.0166404527, -0.0193698127, -0.0043514748, -0.0117769307, 0.0698524415, -0.0202299543, 0.0469795428, -0.0136187291, 0.0062985094, 0.032135345, 0.034496285, -0.0177186541, -0.078375563, 0.0343740284, 0.0071041118, 0.0737875849, 0.0179984663, 0.0485440232, -0.0184923075, -0.0183805954, 0.0111694103, -0.0006979189, 0.0264045093, 0.0094884327, 0.0435875244, 0.0302264895, -0.0197192691, -0.0374171287, 0.0684500784, -0.0218292307, -0.0100750383, -0.0095914435, -0.0115458621, -0.0214371085, -0.0238110684, -0.0364060253, -0.0059747142, 0.0048270817, -0.0358485095, -0.0646065325, -0.0682309046, -0.0031533495, 0.0356968082, -0.0211764518, -0.0416258574, 0.0175518077, 0.0811413601, 0.0199021865, -0.0289690699, -0.0543859787, -0.0144292703, -0.0152158039, 0.0119801285, -0.0213578157, -5.795501227e-33, -0.0318056233, -0.0349981636, 0.0393589549, 0.0069909766, 0.0140867485, 0.0014329687, -0.0148092369, 0.0470313393, -0.0339123905, 0.0006639404, -0.0363598056, 0.0008257067, 0.0194932632, -0.0397887491, 0.0271083303, 0.01115165, 0.0245717689, 0.0052221301, -0.0329610668, -0.0343425125, -0.0144970994, -0.0205434859, 0.0721299797, -0.0027282122, 0.0816286802, 0.0089644538, 0.0167569499, -0.0136487642, 0.0037772807, 0.0383738466, -0.0118213929, 0.0607199371, 0.017371038, -0.0226579439, -0.034605708, 0.0048847236, -0.0446975231, -0.0355676077, 0.0383744575, 0.056430757, -0.0107908603, -0.0418908522, 0.0203684494, 0.0019037144, -0.0690850019, 0.0004947125, 0.006357491, -0.0245866869, -0.0268001612, -0.0643289015, -0.0341711268, 0.0360826142, 0.0181884523, 0.0453689061, 0.0509604886, 0.0409610942, -0.0549851246, -0.0176872332, -0.0648880377, 0.0237538051, 0.0099876877, 0.0547947399, 0.1008973271, -0.0100065973, -0.0041307528, 0.0161235724, 0.0538515076, 0.0076189456, -0.0049564121, 0.0356198885, 0.0473057888, 0.0140739819, 0.073933363, 0.0705076605, 0.080346927, 0.0152570643, -0.0517654046, 0.0275882669, 0.0009471358, 0.0353161842, -0.0015541281, 0.0235147551, -0.0541619807, -0.0563062429, -0.0247001145, 0.0231455602, -0.0353720188, -0.0640038028, 0.0226666704, -0.0534184054, 0.0193986855, -0.0059770676, 0.0234361552, -0.0393622965, -0.0462604873, -0.0255347639, -0.0091683418, 0.0483049937, 0.0088890633, 0.0289450027, -0.0412661619, 0.0066681271, -0.0499962009, 0.0501305833, 0.0602659136, 0.0207906999, 0.0216766056, 0.0097002946, -0.0625721142, -0.0116996886, -0.0267752595, -0.0049556172, 0.0176200494, 0.0308314357, 0.0425712988, -0.010121054, 0.0101657584, 0.016648747, -0.003208658, -0.0142449196, -0.0638376847, 0.0154762007, -0.0097961342, 0.0244666524, -0.0312889814, -0.0217976347, -0.0658903345, 0.0793269947, 0.0293774605, -0.0582948849, -0.042228546, 0.0053092525, 2.635e-7, 0.074285984, 0.0324096121, -0.0120186405, 0.0176778734, -0.0163930673, 0.0023757783, -0.0338111669, -0.0161765218, 0.0245990027, 0.0102086859, -0.0039903787, 0.0337830223, 0.0303274859, 0.0522949547, -0.0913216621, 0.0107922638, -0.0263558421, 0.0253952406, -0.061551705, 0.0176846124, 0.0503164046, 0.0435081869, -0.030589724, -0.0065054554, -0.0083723515, -0.0403667055, 0.0504467674, -0.0178638604, 0.0019196622, 0.0266213138, 0.0541468076, 0.0264043715, 0.0154365562, -0.0025808499, 0.0008377922, -0.0319480188, 0.0234756134, 0.0614719167, 0.0013049309, -0.0209160168, -0.0067999703, -0.0550988801, 0.0023991128, -0.0449776947, 0.072392419, -0.0219443776, -0.0246892869, -0.0653651655, -0.0164872762, -0.0142154507, 0.0418783836, -0.0209689904, -0.0108025996, 0.0288605075, 0.0376598611, -0.0152414702, -0.0268535018, -0.0338200182, -0.0671353862, 0.0504971258, 0.0102826962, -0.0939063802, -0.0350459851, -0.002887194, -0.0168200396, -0.0458524637, -0.014713712, 2.413521557e-34, 0.0219802763, 0.0040909401, 0.0775259286, 0.0280266982, -0.0018210012, 0.016985856, -0.0471374281, 0.0043429183, 0.0040912521, -0.0231646281, -0.0143285617 ]
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.
CiteAssist: A System for Automated Preprint Citation and BibTeX Generation: 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.0134095335, -0.0272103976, 0.0047586695, -0.0769455805, -0.0027204051, 0.0017931755, 0.0414100438, -0.0005142111, 0.0069210893, -0.0663331151, -0.0142986029, 0.1052419543, -0.0192001369, 0.0062925052, 0.0278745033, -0.0185490325, 0.0233656038, 0.041878745, 0.0258812178, 0.0274004955, -0.0132305995, 0.0149777969, 0.0322136544, 0.030614756, 0.0708458647, -0.0258204862, 0.0015496879, -0.027873259, 0.0376751125, -0.0156374555, 0.015959233, 0.0223364513, -0.0195535105, 0.0290359259, 0.0000022232, -0.0311863944, -0.0249363612, 0.0798474923, -0.0132935606, 0.0522271655, 0.0082262922, 0.0225493051, 0.0124882329, 0.0010140178, -0.0010106319, -0.0601117648, 0.0098502599, 0.000466167, 0.0156079726, -0.0396873504, 0.0114829428, 0.016948076, 0.052033402, -0.0052688406, 0.0215785373, -0.008693167, 0.0067853956, 0.0070503531, 0.0521300882, 0.0771100596, 0.0980559364, 0.0368905328, -0.0354365185, -0.0215708949, 0.0510044619, 0.0126670338, 0.0337508284, -0.0192916971, 0.0004886607, -0.0093517844, 0.0288743787, -0.0365690105, 0.0598818399, -0.0068724533, -0.0373747461, 0.0544267558, -0.0407250188, -0.0059026093, 0.0195084885, -0.0823007822, -0.0087904474, -0.0125275571, -0.0064126467, 0.0033210439, 0.0465654247, 0.0279402565, -0.0067616412, -0.0060645575, 0.0038636844, -0.0111010261, 0.0115385987, -0.0517597012, 0.0408687182, 0.0165518038, 0.0818177834, -0.0244319607, 0.0226317104, -0.0531755574, 0.0832496583, -0.0028102971, -0.0135622472, 0.0003574811, -0.0317276418, 0.0377049223, 0.006345171, -0.0830147564, -0.0372583382, -0.0275063012, 0.0646793842, 0.0234513134, -0.0511728004, -0.009955788, -0.000038997, -0.0088213859, -0.012141414, -0.0079042735, -0.0358302854, 0.0164327938, -0.0150998067, 0.0202508327, 0.0427093431, 0.0011267969, -0.0162984282, 0.004273532, -0.0059108753, -0.0122851515, 0.0076632188, 0.0020055261, -0.0272441972, -0.0046363166, -0.0188336, -0.0109470356, 0.0588948764, -0.011088769, -0.0289295744, 0.0020540371, 0.0130784782, -0.0328621604, -0.0095560588, -0.0651467219, 0.0612385236, -0.0154152866, -0.0421975143, -0.0340448059, 0.0427131206, 0.047683455, -0.0101874657, -0.0235018097, -0.0106364219, 0.0039530648, -0.0239884723, 0.0006831764, -0.070092462, -0.018848069, 0.022300601, 0.0000266225, 0.0290717594, -0.0564921461, -0.0109846815, -0.0244790297, -0.022150442, -0.0060909078, 0.0155902673, -0.0129644545, 0.030447226, -0.0364371911, 0.0874205232, 0.0211532358, 0.0105340462, -0.0267613325, -0.0387790389, -0.0438118987, -0.0189832263, 0.0815574005, 0.0174264032, 0.0085408846, 0.0144127058, 0.0276942831, 0.0521255881, 0.0500101335, 0.0082472526, -0.0911115333, -0.0148684122, 0.0592124835, -0.0005197154, 0.0208569393, -0.0225780345, 0.0070286086, 0.0333535708, 0.0081337765, 0.0035339252, 0.0055685714, -0.0370319486, -0.0118365744, 0.0283010993, 0.0155261364, -0.004230299, 0.0582238398, -0.0099602332, -0.005331513, -0.0073746601, 0.0318437442, 0.0005824445, 0.006606055, 0.0686130747, -0.0604702942, 0.0054839998, -0.0343393497, -0.0096354168, 0.0251061134, -0.01067736, -0.0222924855, -0.0167324245, -0.0265434217, -0.0379838906, 0.0031295395, 0.0194794815, 0.0420944989, 0.0182188172, 0.0222299565, 0.0195129365, -0.0376043171, -0.0003848718, 0.0239232909, -0.0543914363, -0.0668715835, -0.0333925746, -0.0364586785, 0.0419093184, 0.0204319246, -0.016365258, 0.0229136012, 0.0679722875, 0.0275139473, -0.0302163903, 0.0660376698, 0.098543182, 0.0959952623, -0.0017889788, -0.0180455241, 0.0236294288, -0.0609391257, -0.0350270644, -0.0234879851, 0.0021460785, 0.0312252492, 0.0157480743, -0.0085017104, -0.0043057022, -0.0000705673, 0.024621442, 0.0070246872, 0.0271876566, 0.0281804372, -0.0031639007, 0.0511655249, -0.0903106481, 0.0212453641, 0.0262793303, -0.0012976053, -0.039947845, -0.0022021648, -0.0294507034, 0.0310791992, -0.0069921422, 0.0118504139, 0.0196597949, -0.0051117204, 0.033067558, 0.0327944309, 0.0130007593, -0.0015558132, 0.0061494466, -0.0143086743, -0.0203840062, 0.0662313327, -0.0057151285, -0.0442243814, -0.0379359499, 0.0541526489, 0.0329081565, 0.0264488123, -0.0254853535, -0.0058727413, -0.0263965633, 0.0317203626, 0.0843601376, -0.0024171853, -0.0546998382, -0.0217996277, 0.0309166238, -0.0121131307, 0.0146056479, 0.0549485907, -0.0241626538, 0.0243599582, -0.0179842059, 0.0468499064, -0.0142326737, 0.0269741546, 0.0702000409, 0.0219863411, -0.0314196497, -0.0274041258, -0.0245337151, -0.0265796743, 0.0436798446, -0.0302836448, 0.031334307, -0.0096514784, -0.0189430825, -0.0174513832, -0.0065088333, -0.0105829742, 0.0159830414, 0.0046358933, -0.0051795361, -0.0146141648, -0.0006085582, 0.0562191345, 0.0280434918, -0.001046307, 0.0250056293, -0.0476134568, 0.0099370871, -0.0566853955, 0.0345509574, -0.0132531263, -0.0245403498, 0.0219299067, -0.0198274516, 0.0212421529, 0.0387111157, -0.0008434861, -0.008081506, 0.0524562895, 0.0134703116, -0.0737581253, -0.0143843321, 0.000994696, -0.0173279773, 0.0196077526, 0.0279287975, 0.0145644536, -0.0340870656, 0.0105550997, 0.0103945872, -0.0157585759, -0.0336179808, 0.0396796167, 0.0847357735, 0.0408535823, -0.0087261228, -0.0071905265, -0.0190831833, -0.0379948281, 0.0135632697, -0.0618610904, -0.0164263137, 0.0366597697, -0.0332730524, 0.0281098336, -0.028969368, 0.0024468461, -0.0303127468, -0.027948169, -0.0014160997, -0.0988158211, -0.0089046499, 0.0013498211, -0.0198324677, -0.0237726588, 0.0151002659, 0.0575165898, 0.0468158163, -0.0558958314, -0.042107217, -0.042529691, -0.0161628127, 0.0025036708, 0.0179851875, -0.0654329658, 0.018656712, -0.0142064327, 0.031258937, -0.0161806718, -0.0250747856, 0.0192674585, 0.0098571181, 0.0403338596, -0.0258275755, -0.0145672364, 0.0539184399, -0.0596921332, 0.0331537351, -0.0250780545, -0.0658764839, 0.0156410746, -0.0081209932, 0.0214185584, -0.0114143435, -0.0640059486, -0.0349546373, -0.0033627839, -0.0459216684, 0.0021486245, 0.0535973907, 0.0461425893, 0.00478371, 0.0581714772, 0.0206466429, -0.0676985011, -0.0099146636, -0.0385832861, 0.065211527, -0.0270696301, 0.0270199589, -0.0115234014, 0.0497045591, 0.0284218732, -0.0243054274, 0.0520165078, 0.0330941901, -0.0067429775, 0.0329545513, -0.0697000697, -0.0031293961, 0.0039901249, -0.0037846456, 0.0146973422, -0.0006627586, -0.0223036017, 0.0111396899, 0.0486120917, -0.0348290317, 0.0050366451, -0.0548996665, -0.09965083, -0.0297444556, -0.0694361255, -0.0353201628, 0.0072158235, -0.0318225659, 0.0530981161, -0.0141096329, 0.0632952005, -0.0308856927, -0.0728932023, 0.0180316735, 0.0142992381, -0.04109044, 0.014287658, -0.0544228964, 0.0832922831, 0.0096906377, -0.0285593681, 0.0240779314, 0.0696662515, 0.0100358529, -0.0053130137, 0.0279433001, 0.0205427073, 0.0082748467, -0.0291378107, -0.0440999791, 0.039687641, 0.0156493578, 0.004125474, -0.0204912107, -0.0146462517, -0.0678445101, -0.0737869665, -0.0524598435, -0.0357395113, 0.0145106399, -0.0431158505, -0.0628370345, -0.0035366407, -0.0607466288, 0.027164815, 0.0001190388, 0.0731977969, -0.0332405493, 0.0075476808, 0.0066331266, -0.0076985965, 0.0066795154, 0.0080368388, -0.0216101818, 0.036695011, -0.0069342027, -0.0153517919, 0.0126629649, 0.0757625327, -0.0232486501, 0.0247367173, -0.0026783284, 0.0330595225, 0.0068072905, 0.0556585863, -0.0111630121, -0.0256781355, -0.0634600669, -0.0230699498, -0.0395280719, 0.0195096172, -0.0220878832, -0.0039957426, -0.0039458955, 0.011088904, 0.0096292701, 0.0130478945, -0.0813000798, 0.0265751034, -0.0412839912, -0.0030678983, 0.0283776727, 0.0000523726, 0.1036313251, -0.0562422425, -0.0335311927, -0.019266339, 0.0665442497, -0.0012645425, 0.0307202451, -0.0136158513, 0.0044684862, -0.0153671401, -0.0293025915, 0.0317761078, 0.0372631587, -0.0282191169, -0.0030533173, -0.0543397553, -0.0336272046, -0.0342794396, -0.0512864105, 0.043447718, -0.0129002463, -0.0660951212, 0.0285939667, 0.017419938, 0.0294934139, 0.0325603969, -0.0622293726, -0.0068814694, -0.017041333, 0.0081487326, -0.0009627639, -0.1039591879, -0.0120665431, 0.079617478, -0.0627029762, -0.0406799726, -0.0098254057, -6.085846862e-33, -0.0419709273, -0.0378414579, -0.0170100275, 0.0530505702, 0.0278135221, -0.0244279448, -0.0500744134, -0.0528760329, 0.0140225971, 0.0210819822, -0.0194123555, -0.0378388576, 0.0114052221, -0.0449156612, 0.0499241799, 0.0242503155, 0.0367265195, 0.0022729314, 0.0136878686, 0.0521384478, 0.0081800884, -0.0150133623, -0.0028297887, -0.0739859045, 0.0781290755, -0.0403845906, -0.0240816399, -0.0386879593, 0.0376910567, 0.0305639803, -0.0244362, -0.0176888537, -0.0273678508, -0.0086530251, 0.0041588154, 0.0110138692, -0.1099996865, 0.0243125185, 0.0181169882, -0.0055501866, 0.0411638804, 0.0002241386, 0.0113173099, -0.0383095369, -0.0101720318, 0.0153434211, 0.0647266433, 0.0068714847, -0.0595938154, -0.0689432621, -0.031174846, 0.0194197763, -0.0045969631, 0.0566271991, 0.0362627171, 0.0618084632, 0.0341047458, 0.0260546096, -0.0482616872, 0.0041641528, -0.0318861455, 0.0114839785, 0.04660815, -0.0221253987, 0.0338581428, -0.0368303098, -0.0139583955, -0.0137305055, 0.0827984214, 0.0182724874, -0.0153678097, 0.0180892255, 0.0401368923, 0.0738966465, 0.0074205645, -0.034805052, -0.0292163994, 0.0698400736, -0.0026077037, -0.0031336085, 0.0397481285, -0.0236995202, 0.0300086066, -0.0163098611, 0.0072654118, -0.0228729639, -0.0060815169, -0.0368027128, -0.0235273615, -0.0076509742, -0.0453715436, 0.0764053613, 0.0138560571, -0.0010990694, -0.0318515971, 0.049098026, 0.029602563, 0.0495355874, -0.0309657343, -0.0117711276, -0.0352426209, 0.0013196729, 0.002393598, 0.0119879954, 0.0291970335, -0.0078229802, 0.0124054831, -0.014184026, -0.0340099186, 0.0049010236, 0.0196578596, 0.0306882411, -0.0505492315, -0.0411982201, 0.0009138527, 0.0507975966, 0.0329494253, -0.011811411, 0.0381066687, 0.0189276412, 0.0022458057, 0.0108764898, 0.0064908718, 0.0577997267, 0.0198412817, 0.0245112199, -0.0116195483, 0.044054877, 0.0006200983, -0.0061330874, 0.0194651373, -0.0031213942, 2.923e-7, 0.0910537541, 0.0522245504, 0.0075310478, -0.060741473, 0.0210628025, -0.0058147511, 0.0038455483, 0.0260370225, 0.0309811626, 0.0218245089, 0.0323030204, -0.0356828868, -0.0016387594, 0.0253673289, -0.0490531139, -0.112858519, -0.0684861243, -0.0398947559, -0.0438928679, 0.0019622988, 0.00576923, -0.0817987919, -0.0229185633, 0.0711844191, -0.0219201967, -0.0159911998, 0.0080851857, -0.0344213359, 0.0380702242, 0.0307234321, 0.0028259521, 0.0143873431, -0.0158930328, 0.0043672891, -0.0714757591, -0.0235060025, -0.0328341164, 0.0410670042, -0.0123068411, 0.0175222214, 0.0331696086, -0.0443205498, 0.0588258132, -0.0304955672, 0.0214569606, -0.0489838198, -0.0321437046, -0.0255092457, -0.0977662355, -0.0494817346, -0.0054705124, 0.0082562752, 0.0160564687, 0.0216580648, -0.051486697, 0.0061485595, -0.0506409146, -0.0696381405, -0.0069479481, 0.0620320253, 0.0010939837, -0.0343359523, -0.0038935298, -0.0654374063, 0.0237354431, -0.0309652165, 0.0292151496, 2.738013559e-34, 0.0343447402, -0.0168075804, -0.0041116383, 0.0391991511, 0.0447780341, -0.0179897826, 0.0037082375, 0.0378803834, 0.0007702111, -0.0108832717, -0.0037454613 ]
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.
Fine-Tuning with Divergent Chains of Thought Boosts Reasoning Through Self-Correction in Language Models: 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.0125385737, 0.0357240289, -0.0166839957, 0.0500049815, -0.0713771358, 0.0390792713, 0.0296204984, -0.0202094894, -0.0083041554, -0.0401152745, -0.0331725851, -0.009206919, -0.0217269734, 0.0024806322, 0.0309350416, -0.0244929157, 0.0602098852, -0.0857395753, -0.0165724009, -0.0320072137, -0.0540257506, -0.0184134245, -0.0290044062, -0.0050131078, 0.0347471423, -0.0292226281, -0.0195589308, 0.0191141367, 0.0220378079, -0.0124637652, -0.003083627, 0.0526293889, 0.0155550949, 0.0258222502, 0.0000021812, -0.0512023754, 0.0230000503, -0.0095367804, -0.0574014112, 0.0174307488, -0.0433737561, 0.0327723138, 0.0132108266, 0.0263824593, -0.0192775354, 0.0230687149, 0.0115308519, 0.0225551203, 0.0319084153, 0.0719081312, 0.0218935851, -0.0400035381, 0.000544654, -0.0240544528, 0.0142103406, -0.0355780236, 0.0065859077, 0.0343538672, 0.0202441514, 0.0146435881, -0.017581122, 0.04042162, 0.0555098504, 0.0226201061, -0.0096553871, 0.0282236021, -0.0189956911, -0.0245635528, 0.0046446007, 0.0352979526, -0.0123629384, -0.0274376459, -0.0204095971, -0.027642224, 0.0089592049, 0.0069612912, -0.0398351513, 0.0397132784, -0.0165008102, 0.0209689774, 0.0482883081, -0.0270377193, 0.0563586019, 0.0103974398, -0.0662945956, 0.0971335545, -0.0010698325, -0.0400330201, 0.0177390464, 0.0083831865, -0.0059044994, -0.0554394796, -0.0061290199, 0.0221154634, -0.0322966874, 0.0084047159, 0.0089569949, 0.0271791704, 0.0121518392, 0.0112424577, 0.0751826614, 0.0626116991, -0.0207252931, 0.0494347401, -0.0559877791, 0.0411759987, -0.0320017263, 0.0380962454, -0.0189565755, 0.0076123741, -0.0290173087, -0.002785865, -0.0053487271, 0.0332880579, -0.0291842185, 0.0274720863, -0.0467034988, 0.0329418704, -0.0030429091, 0.0121409195, 0.029165566, -0.0109207826, 0.0008640512, -0.0293674376, -0.0537757054, 0.0206096061, -0.0568713509, 0.0378505476, 0.0373311117, -0.0459424183, -0.0381183587, -0.0132619143, -0.0156821795, -0.0441369005, 0.0336078741, 0.0619305409, -0.0069451672, -0.0186645463, -0.0514385998, -0.0337887779, -0.0033232966, -0.1056523994, 0.0431577712, -0.0826934427, 0.030226903, 0.0297716074, -0.0208664481, -0.020897327, -0.0092202453, -0.0044305041, -0.0445362143, 0.0877498165, 0.0030390332, 0.0150400624, -0.0077801235, 0.0278095305, -0.0036660088, 0.0784052983, 0.0347343422, 0.0148459617, 0.024204094, 0.0021803277, 0.004668626, 0.0292422697, 0.0074431053, 0.0008144763, -0.0102875913, 0.0217779521, -0.0360325985, 0.0444107987, 0.0092712026, 0.0295735598, -0.0231880005, -0.0080505982, 0.0256794859, 0.0469393805, 0.0540138371, 0.0015793649, 0.0467526428, -0.0481319502, 0.0055248868, 0.0197552517, -0.0941680819, 0.0536719486, -0.0411224589, 0.0200311393, 0.0307024885, 0.0217371862, -0.0416459963, -0.0622666404, -0.0313571878, 0.0337345786, -0.0034048606, 0.038317956, 0.0339918993, -0.0031705659, -0.0188617557, 0.0438737199, 0.0397573747, -0.0457172766, -0.0460245907, -0.0830724239, 0.0131776733, 0.0558257997, 0.0394126102, -0.0043596537, -0.0546301119, 0.0166357942, 0.0304517541, 0.0279885605, 0.0365969799, 0.0101387277, -0.0055359695, -0.0455249436, -0.0255901124, -0.0345682837, 0.0179919787, 0.0019086495, 0.0314352401, -0.021210283, 0.0082956394, -0.0373070389, 0.0164311156, 0.0191919729, -0.0510651655, -0.0069900369, -0.0120553048, 0.0179467462, 0.0213385113, -0.0105971759, 0.0122906687, 0.0143392365, 0.0126357395, -0.0137406727, -0.0173425786, -0.007377441, -0.0613246635, -0.0341969207, 0.0306045599, -0.0128525589, -0.011411895, -0.0100439209, -0.0459650047, -0.0431618355, 0.0437472872, 0.0067106304, 0.0112416865, -0.0331702754, 0.0479718298, -0.012522921, -0.0130908526, -0.0263585337, 0.079986304, -0.032775823, 0.0303300414, 0.0133015951, 0.0472375527, 0.0025842118, -0.0207863338, 0.0045615882, 0.0007838018, 0.0085615786, 0.0088829547, -0.0140458923, 0.009177574, -0.0602971166, -0.0436372235, -0.0456399992, 0.0174401868, -0.0183019973, 0.0148179829, 0.014492196, -0.0038661165, -0.005421177, 0.0045641982, 0.0026886289, 0.018828202, 0.0229127072, 0.0532823764, 0.0200255811, -0.0141071044, -0.0292118285, -0.0343851075, -0.0314790644, -0.0339183956, 0.0215888992, -0.0139683466, 0.0073364298, -0.0541396737, 0.0399342552, -0.0397276133, 0.0031064167, -0.0356831364, -0.0226327702, 0.0337949581, -0.0054874429, 0.0271381196, 0.0899291858, -0.040361952, -0.0011252774, 0.0765086636, -0.0257207751, -0.0386818163, 0.0394739099, 0.0091319522, -0.0335798822, -0.0237181112, -0.0408239067, -0.0529763214, 0.0803757831, -0.0144792777, -0.0163602792, -0.0407245457, 0.0165387336, 0.0169176292, -0.0282441936, 0.0018102878, -0.0043117846, -0.0091684088, 0.0807333589, -0.022716552, -0.0453990027, 0.0767815933, 0.0008274824, 0.0062308675, -0.030897608, 0.0181900747, -0.0263009854, 0.0673790947, 0.0074624876, -0.0123834955, 0.0073657418, 0.0046211816, -0.0747404024, -0.0207267925, 0.0311313421, -0.0134892501, 0.0848230124, -0.0540371276, -0.0059335912, -0.0130022047, -0.0734136254, -0.054605782, 0.0055383979, -0.0374828465, 0.0143397655, -0.0043736552, -0.0392526612, -0.0293043964, -0.0315041952, 0.0267122667, 0.0247831289, -0.0324436277, -0.0163096506, -0.0243340395, -0.0200181548, 0.0143094873, 0.029384369, 0.0682183281, -0.0359564088, 0.0496033505, 0.0341106616, 0.0246217214, -0.0192101058, -0.0190381072, 0.0436193682, 0.0127455154, -0.0111614466, -0.0244289786, 0.0286355503, 0.0733120963, -0.0668366849, -0.0428851508, 0.126577571, 0.0322112702, -0.0189326853, 0.0019777382, -0.0588514656, 0.0493437648, 0.0506048203, 0.0281950682, -0.0762003958, -0.0520501435, 0.0492596775, 0.0135985333, -0.0060291281, -0.0391815305, 0.0095795626, -0.0863550082, 0.0436488651, 0.0131495064, 0.0074106329, -0.01341548, -0.0501365326, 0.0006655495, 0.008937153, 0.0103356615, 0.0486182012, -0.0099997213, -0.0094969664, -0.0023864252, 0.0090840301, -0.0449219868, 0.0566468425, -0.0366987772, 0.0405423045, 0.015762629, -0.0128586888, 0.0076653045, -0.0445564501, 0.0829913542, -0.0250361282, 0.0261993222, -0.031703148, 0.0223577917, 0.0239892844, -0.0016894528, -0.0234692302, 0.0231339112, -0.0288781021, -0.0353626236, -0.0027485932, 0.0930809155, -0.0395854712, -0.0375234373, -0.0034295793, 0.0036174066, -0.060538888, 0.0777396038, 0.0381000973, -0.023557093, -0.0555290543, -0.052382689, -0.0549165569, -0.041463729, -0.0204998218, 0.0149054611, 0.0334925354, 0.0076279431, -0.0072091306, -0.0398202948, 0.0230514556, 0.0289939046, -0.0073345322, 0.0043651797, 0.0050005801, -0.00046414, -0.035820134, 0.0346692763, -0.0541735776, -0.0064755594, -0.0480054729, 0.0158796255, 0.0194518175, -0.0198414531, -0.0091644656, 0.0171630308, -0.1041839123, -0.0715743825, -0.0070180399, 0.052488789, 0.0316334367, 0.0514950193, 0.0003694402, -0.0651829615, -0.0013752045, 0.0299130809, -0.0122755757, 0.0408446193, 0.0305814743, -0.0168306287, 0.0104066366, 0.0540043041, -0.0226233881, 0.0094381748, 0.061161384, 0.0620906018, -0.0236939322, -0.0243248176, 0.0217902362, 0.016787596, 0.0315027088, -0.0014529233, -0.0104022967, -0.0359647945, 0.0528107285, -0.0152619202, -0.028251864, -0.0195348952, -0.0071876594, 0.0003985107, -0.0351473093, 0.0022028945, -0.0266190488, 0.0084840003, 0.0260775164, -0.0136717744, 0.0292517655, -0.0068068197, 0.0226249453, 0.036724057, -0.019297136, -0.0275834799, 0.0234956555, -0.0056710453, 0.0437113941, -0.0120903989, 0.0747134909, 0.0266421791, 0.0200723466, -0.0699751526, -0.0054489248, -0.0909893736, -0.0749305859, 0.0303991232, 0.0074064266, 0.069203645, 0.0081751682, 0.014445439, -0.0375398025, -0.0198572502, -0.0026662892, 0.0177473743, 0.0300335251, -0.0211869068, 0.0386960767, 0.0375045463, -0.0040785703, -0.0302716549, 0.0399297886, -0.0212925952, 0.0585750267, 0.0140044959, 0.0126432544, -0.0272566266, -0.0723458976, -0.050243713, -0.0011394693, 0.0023254245, 0.0138579188, -0.0521233007, -0.111382477, -0.0337373987, 0.0521052293, 0.0042630294, -0.0035986076, 0.0123906024, 0.0715264976, 0.0090811299, -0.0482750908, 0.0051777344, 0.0017504715, 0.0283793751, -0.024465153, -0.0237818975, -6.680320437e-33, -0.0228039045, -0.0094818547, 0.076961264, -0.0100572649, 0.0107441479, -0.0476460494, -0.0434541143, 0.0414502583, -0.0416342765, 0.0165620539, -0.0418167971, 0.0227283388, 0.013763194, 0.0068790847, 0.0333601609, -0.0169071946, 0.0235915352, 0.0001730231, -0.0336005278, 0.0040813591, 0.0158148762, -0.0052579395, 0.0444382764, -0.0275860541, -0.0005498566, -0.0084153162, -0.0010124535, 0.0408702418, -0.070215255, 0.0482258685, 0.0038319316, 0.0021376025, 0.0370106362, -0.0090338122, -0.0054347683, -0.0204435624, -0.072445713, -0.0443077199, 0.0601890944, -0.0087221973, -0.0508595333, -0.0553008951, 0.0532329716, 0.0257857703, -0.047673028, -0.0492089428, -0.0100984853, -0.0397166535, -0.0112285586, 0.0352236889, -0.0309744775, 0.0021277999, -0.0009626715, -0.0156311374, 0.0132004935, 0.0246094707, -0.0209027976, 0.0157322343, -0.0420763902, 0.012392031, 0.0392688252, 0.0347928852, 0.0963204056, 0.0326000713, -0.0132467402, 0.032118272, 0.0351323336, 0.0017709415, -0.0408649743, -0.0200276934, 0.0195733849, 0.0671286061, 0.0564920083, -0.0084342863, 0.0201215781, 0.0277768914, -0.0860100016, -0.0163736902, 0.0072082118, 0.0547014773, 0.0418372713, 0.0079718055, -0.0352352597, -0.0309911761, -0.0647296458, 0.0181898866, -0.0537860058, -0.0086024413, 0.0328030176, -0.0123179397, 0.0090217413, -0.0321036652, 0.024638962, -0.0271187257, -0.0211827736, 0.0309170205, 0.0005050196, 0.0159943197, -0.0057965619, 0.0328622162, -0.0239341445, -0.0215819832, -0.0186494049, 0.0103896717, 0.0271417312, 0.0119155785, 0.0356761552, 0.0027639889, -0.070133023, -0.0084167421, -0.07663735, 0.0196256973, 0.0163847692, 0.0080971196, 0.0330026411, 0.0175744165, -0.001073726, 0.0316396765, 0.0057167243, -0.0341960974, -0.0434100553, 0.0300841704, -0.0155569185, 0.0520664565, 0.0018517312, 0.0075683217, -0.040923249, 0.0297307763, 0.0164179672, -0.0628983676, -0.0187692847, 0.0663614646, 2.855e-7, 0.0302998777, 0.0449136533, -0.0122489994, 0.0554268621, 0.0148034077, 0.0387284718, -0.047326941, -0.0474923812, 0.047862377, -0.0426747985, -0.0067458707, 0.0806048065, 0.0314341895, 0.0329939835, -0.0291465111, 0.0221990384, -0.0241561532, 0.0014333184, -0.0360739157, -0.0125914449, 0.0260286815, 0.0639570504, 0.0206409562, -0.0169709157, 0.0061837817, -0.0173543543, 0.0461448506, -0.035546951, 0.0091184769, 0.0192737989, -0.0022902058, 0.0222199392, 0.02818482, 0.038489636, 0.0170577299, 0.0101078879, -0.0532437451, 0.0507236011, 0.0172196049, -0.0172162708, -0.0270168465, -0.0403880477, 0.0102157202, -0.065636605, 0.0988802761, -0.049747888, -0.0329983011, 0.0062179547, 0.0294779334, -0.0049616653, 0.0201270394, -0.0161560513, -0.0060079456, 0.0143882427, 0.0181347262, -0.0032485619, 0.0047972985, -0.1015815437, -0.0389081948, 0.0509774946, -0.0502982475, -0.042599082, -0.0333855525, 0.0260325093, 0.0379091278, -0.0580036566, -0.0234610885, 3.139436614e-34, 0.0393704027, -0.0210192315, 0.0393222906, 0.0328702331, 0.0333438441, -0.0256350655, -0.0278438758, 0.0102604004, 0.0092606395, -0.0961149037, -0.0332281925 ]
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.
Investigating Decoder-only Large Language Models for Speech-to-text Translation: 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.0609130189, 0.0093780169, 0.0503849052, -0.0239355061, 0.0010023799, 0.0449719056, -0.0274468437, -0.0372656174, -0.0404835418, -0.0502949543, -0.0332423262, 0.0278992988, 0.0121623157, 0.0478782281, -0.0289769396, 0.0248893388, -0.0803048387, -0.0137594733, -0.0046904986, -0.021882847, 0.0157624912, 0.0033433097, 0.0325558186, 0.0213952027, -0.0134667242, -0.006231063, 0.0414896719, 0.0319912359, -0.0095250057, -0.0298612509, -0.0020615028, 0.0683250651, 0.0736758262, 0.0000019747, -0.0315832719, -0.0160545949, 0.0311950631, -0.0319773965, 0.0374119431, 0.0451337211, -0.0228317268, -0.0434469841, 0.0481782146, -0.0059724324, -0.0207746699, 0.0586654358, 0.0341459177, 0.0546599552, 0.0949094743, -0.0127479155, -0.0615609549, 0.0118552782, -0.0344801098, -0.0068453909, -0.0627135932, -0.0258150492, -0.0036228108, -0.0142571088, 0.0008014074, -0.0373258926, 0.0677557439, 0.0006838536, 0.0124003189, -0.0163216405, 0.0054588676, -0.02293263, -0.0561488308, -0.0288689509, 0.0595909916, -0.0147723695, -0.0046459711, -0.0280423723, 0.0233084112, -0.0408519208, -0.0465788916, -0.0196151212, 0.0351823568, 0.0000500724, 0.0239463393, 0.0329168439, 0.0074404529, 0.0315076187, -0.018904984, -0.0931540579, 0.0067080813, 0.0308839418, -0.0058769868, 0.0076249395, -0.0035774061, -0.0244923625, -0.0118602067, 0.0582731999, 0.0343669616, -0.0344100669, -0.0087065939, -0.0187798068, -0.0512128286, -0.0331668966, -0.0341456048, 0.0495392531, 0.0572888404, -0.0021493845, 0.0384371318, -0.0314471461, 0.0541037023, -0.0481522009, 0.0212127529, -0.0613918342, -0.0228042006, -0.0084217442, 0.0215581357, -0.0585485362, 0.0102016004, -0.0727972761, -0.0324853957, 0.0236492828, -0.0172130372, 0.030340571, 0.0287903864, 0.0461792797, 0.0076923808, -0.0623476505, -0.0349975303, 0.009397571, 0.0755395517, 0.018838197, -0.0027813101, 0.0078947404, -0.0429314896, -0.009077101, 0.0223935209, 0.0185165703, -0.0481943078, -0.0017731193, 0.062696144, -0.0281668939, -0.0525300279, -0.0172073971, 0.0100771906, -0.0248744432, -0.0888388008, -0.0026892691, -0.0365423299, 0.0418666862, 0.0219608471, 0.0283957385, -0.0165090188, 0.0097721387, -0.0066410964, -0.0132344235, 0.068109557, 0.000956869, 0.0223530289, 0.0296135973, -0.0115258452, -0.0004350661, 0.0625887513, 0.0623725317, 0.0319402106, -0.0037329516, -0.0179917794, -0.0242451727, 0.077857092, -0.0168598182, 0.0139966244, -0.0385597833, 0.0125737078, 0.0137285227, 0.0107415169, 0.0544768907, 0.0665680543, -0.0232278425, 0.0275433492, 0.0806884021, 0.0384052768, 0.0487481914, 0.0560669228, 0.0617231764, 0.0242939424, 0.0162141379, -0.0260190815, -0.0111023253, 0.0168729424, -0.0115601514, -0.0001093706, 0.0528615713, 0.0697063804, -0.0296693426, -0.0057445187, 0.0050771059, -0.0394586101, 0.0009590936, 0.0164479688, 0.0398123972, -0.0005916067, -0.0724395961, 0.0169690158, -0.0196815785, -0.0368417166, 0.0405254662, -0.0219288636, -0.0059936051, 0.0812025815, 0.0398926549, 0.0265319478, 0.0047508366, -0.0363697708, -0.0063658375, 0.0591678321, 0.0449801348, 0.0277184341, 0.0351193808, -0.0534666404, -0.0147973672, 0.0318205208, 0.0111083938, 0.0198963955, -0.0143117644, 0.0410104617, 0.0506886169, -0.0179875027, -0.0294187311, -0.0048814309, -0.0208099335, -0.0292285103, 0.0191732626, -0.0031116453, 0.0084452201, 0.0138686225, -0.0233271215, 0.0235173106, 0.0063036699, -0.0598470718, 0.0217058994, 0.0182224363, -0.0455084145, -0.0491370484, 0.0086081875, -0.0146216685, 0.0060072667, 0.0359920301, -0.004178552, -0.0620554537, -0.0054089813, -0.043719966, 0.0649203211, -0.0218478218, 0.033864323, 0.0237058885, -0.0103064561, 0.0017414532, 0.0245330092, 0.0269941241, -0.0343166888, 0.0336040929, 0.0207531676, -0.0171824042, -0.0610234924, -0.0433238745, 0.0508721285, -0.0011367577, 0.0269446634, 0.0025259745, 0.0093339281, 0.0207402669, -0.0433471426, -0.0613226108, 0.0171013456, -0.0235926826, 0.0224119127, 0.0235052016, 0.0246836431, 0.0273594689, 0.0279105213, -0.0366471186, -0.0074953181, 0.0099313157, -0.0091602486, -0.0441506915, -0.0353025533, -0.0432268456, -0.0378503799, 0.0034386816, 0.0268680584, 0.020294996, 0.0000600271, -0.0153957717, -0.0769145638, 0.0714772046, -0.006606895, 0.0236543939, -0.0026099375, -0.0521408468, 0.0085255438, -0.0290392451, 0.0428281464, 0.0562599823, 0.0166558269, 0.0045152986, 0.0073912595, -0.015210324, -0.0552932993, 0.0153713552, -0.0165089518, -0.0573262386, -0.0663917437, -0.016886577, -0.0286140963, 0.074216783, 0.0107365604, 0.0248336811, -0.0865158737, -0.033801686, -0.0214330088, -0.0131396484, -0.0198211577, 0.0068683261, -0.0225961562, 0.0166632067, -0.0348601379, -0.0376244746, 0.0266663264, -0.0699930266, -0.025946945, -0.0329366289, 0.0266572833, -0.039404925, 0.036460977, -0.0142548531, 0.0232181028, -0.0183324218, -0.027220618, -0.0128131676, 0.0090279076, -0.0100975884, -0.0671414658, 0.0241645277, -0.0381385013, 0.0013621822, -0.010511647, -0.0395670906, -0.0254698154, 0.0244033206, -0.0572950318, 0.0217760261, 0.0145916576, -0.0409890451, -0.0468444601, 0.0132173486, 0.0328443758, 0.0738397911, -0.0016430912, 0.0078467289, -0.0478015952, 0.0266671274, 0.0390295163, 0.0454828776, 0.0112308096, -0.0649821982, 0.0534410961, 0.0081778336, 0.0284379385, 0.0078731915, -0.0485238321, -0.0080596711, 0.045835644, 0.0374121889, -0.0276630186, 0.0152869076, 0.0768348649, -0.055884134, -0.0199996997, 0.121407792, 0.0129169459, -0.0236054044, -0.0082995407, -0.0085972752, 0.0233135652, 0.0130875185, 0.0073316782, -0.0566893928, -0.0583357774, 0.0330751948, 0.0337863043, 0.0351364724, 0.0343104191, -0.0193514563, -0.1056675911, 0.0508615337, 0.0778764263, -0.0227987766, -0.0553533882, -0.0049725324, -0.0537270047, -0.016527148, 0.0341965221, 0.0394166447, 0.0126398588, -0.0188228358, 0.0148327043, 0.0026198414, -0.0709384903, 0.0112872049, -0.021342624, 0.0718010589, 0.0825003684, -0.0018975064, 0.0096820174, 0.0041427319, 0.0219569355, -0.0132607296, 0.0128736505, -0.0182214826, -0.0056095184, 0.0001983827, -0.024799265, -0.0140207149, 0.0442975909, -0.0273861438, 0.0297509786, 0.0032866807, 0.0616670623, -0.0155076738, -0.0187466983, 0.0418705903, -0.0193181373, -0.0025102906, 0.0771266371, 0.0215343013, -0.0475357771, -0.0241276361, -0.01841975, -0.0262299851, -0.0553030074, -0.0358204134, 0.0004474053, 0.015373582, -0.0380385406, -0.0499468781, 0.0058507281, 0.0281001627, 0.0342456102, -0.0014526779, 0.0151697248, 0.0252210088, -0.0113318777, 0.0049140723, 0.0241987072, -0.0445709489, 0.0550621077, -0.0902694985, -0.0052512041, 0.0409029759, -0.0586609282, 0.0137567436, 0.0337336101, -0.0826727971, -0.0719925165, -0.0255658068, 0.0198619217, 0.0281600412, 0.0342411175, -0.0401664525, -0.0340187848, 0.0404034406, -0.0105776712, -0.0664691105, 0.0328973383, 0.0388176441, 0.0015561649, -0.0021207239, 0.0467093661, -0.003648099, 0.0012324216, 0.0046037012, 0.0666463301, -0.0059109619, -0.0490488485, 0.0266481899, 0.0385671556, 0.0208410416, -0.0223529376, -0.0060645267, -0.0056508603, 0.0501946174, -0.0279112328, 0.021454053, -0.081234768, 0.0012797894, 0.055086758, 0.0277347397, 0.0035659317, -0.0140285715, 0.0359906629, -0.0007942877, 0.014172907, 0.0406958573, -0.0306957718, 0.0077735372, 0.0566893704, -0.0081485743, -0.0245981552, 0.0320933498, 0.007185929, 0.0143342894, -0.0309638791, 0.06226933, 0.0033585604, 0.0109115355, -0.0176459029, 0.016152855, -0.0113178473, -0.0580265485, -0.022110682, 0.0101291155, 0.0523988418, 0.0150543079, 0.1181092709, -0.0231032055, 0.0049056406, -0.038240578, 0.0348061621, -0.0166955646, -0.0084685106, 0.0041980473, -0.0125919767, 0.0074409777, 0.0068847621, 0.042758774, 0.0218104087, 0.0251110196, -0.0458563976, 0.001307953, -0.0163045339, -0.0463467129, -0.0120892609, -0.0444461368, -0.035944961, -0.0157272927, -0.0227856841, -0.0718959048, 0.0042541213, -0.0056530461, -0.0038867032, -0.033545319, -0.0147379246, 0.025162952, -0.0597806834, -0.0062910891, -0.0191177484, -0.0077494369, 0.0144768544, -0.016660111, -0.0297920965, -6.760407602e-33, -0.0297661126, 0.0271772947, 0.0461151227, -0.0259873345, -0.0509237871, -0.0083265146, -0.0624842905, -0.0008916002, -0.023796197, -0.0154071366, -0.0026513687, -0.0036373667, 0.0154060498, 0.0366568752, -0.0245565958, -0.0021642449, 0.0702872649, -0.0151094142, -0.023337936, 0.0300967675, 0.0443838723, 0.0126797417, 0.0233718548, -0.0485107005, -0.0144876689, -0.0125290146, -0.0283127874, 0.0116020814, -0.0197530389, 0.0301861763, -0.0136645567, 0.011640422, -0.0036197614, -0.0271608718, -0.0267076921, 0.0206614602, -0.0982867032, 0.0456962809, 0.0197343715, 0.0345152579, 0.0090254415, -0.0594692416, 0.0156335998, -0.0026225089, -0.0266679265, -0.0251958538, -0.0157099273, -0.035894841, -0.0062894383, -0.0070290435, -0.072367236, 0.0221140701, -0.0338551104, -0.0163418911, 0.0581582412, 0.0534601212, -0.046236556, -0.0087873023, -0.0420583487, 0.0149379922, 0.0327061862, 0.0442920774, 0.0646307841, 0.0292700734, -0.0116074439, 0.0131949503, 0.0138804121, -0.0443287678, -0.0175751597, 0.009124686, 0.030208176, 0.0222629644, 0.0377290621, 0.0174023639, 0.0151115721, -0.030434873, -0.0443247929, -0.0178262293, -0.0346658193, 0.0193761233, 0.0550014004, 0.0176744387, -0.0193511974, 0.0159857012, -0.0702606887, 0.0170994326, -0.0378090069, 0.0006472854, 0.0430970453, 0.0304904841, -0.0252876785, -0.029531071, 0.1038134322, -0.0181747898, 0.0423842631, -0.0115234954, -0.0030881993, 0.0234609582, -0.0460869037, 0.048508998, -0.0358705409, -0.0524974354, 0.033596769, -0.002543594, 0.0080435295, -0.0094782347, 0.001796398, 0.0535602309, -0.0505438447, -0.0057254792, -0.0582473651, 0.0023565488, 0.0002759292, 0.035984762, 0.0351140648, -0.0140839946, -0.0099282954, 0.043136768, -0.0519694984, 0.0137223992, -0.0252203625, -0.0037930047, 0.0266765319, 0.0291077401, -0.0303184669, 0.0380629823, -0.0179161765, 0.0046854992, 0.0663385019, -0.0266842227, -0.0252173655, 0.0157825556, 2.779e-7, 0.0186167955, 0.0375776887, 0.0110860215, 0.0211232193, 0.0236741342, 0.0362384841, -0.0261342227, 0.0135946842, 0.0461516082, -0.0032131893, 0.0010784359, 0.0576643012, 0.1007000282, -0.0053910906, -0.0714874193, 0.0032820548, -0.0109476214, 0.0311722681, -0.060438659, -0.0311389733, 0.0298860837, 0.1081783473, -0.0489724129, -0.0231365953, 0.0173568334, -0.0243519582, 0.0610045455, -0.0241702124, -0.0032714519, -0.0079988725, -0.0156012764, -0.0002171285, -0.0513243712, -0.0016432011, -0.0146833602, 0.0098258378, 0.0066980761, 0.1064483076, 0.0137688359, -0.0282628443, 0.0195025597, -0.0093342513, -0.0375550538, -0.0172003899, 0.0733356327, -0.050760895, -0.0214867778, 0.0244774129, -0.0161498524, 0.0137887746, -0.0333733633, -0.0631003752, -0.0076544969, 0.0008777239, 0.0263692178, -0.0065369927, -0.0027671922, -0.0502724275, -0.0180170387, -0.018110916, -0.0507436953, -0.0552751087, -0.0577174872, 0.0215227548, 0.00582548, -0.0251328554, 0.006853472, 2.461836901e-34, 0.0446747355, -0.0371647179, 0.0232002959, -0.0018751939, 0.0525612794, -0.0331022963, -0.0206246916, 0.018976735, 0.0039100954, -0.0921876431, -0.0471282862 ]
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.
SOS! Soft Prompt Attack Against Open-Source Large Language Models: 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.0289276149, 0.0841085091, 0.003392912, 0.0739801079, -0.0547187105, -0.0124495514, 0.0651433691, 0.0036918917, 0.0007818642, -0.0268304646, -0.0115106171, -0.0132463295, 0.0026800809, 0.0342227332, 0.0451039188, 0.0342667885, 0.0346900746, -0.0343939327, -0.0152331665, -0.0324198306, -0.0077968431, -0.0068120314, 0.0157939624, 0.0086425887, 0.0102701355, -0.0176186189, -0.0312776864, 0.000720812, 0.004527065, -0.0220329259, -0.0257235486, 0.0727946907, 0.0139444917, 0.0991309434, 0.0000020181, -0.0401841924, -0.0471015647, 0.057547003, -0.0677822605, 0.0923469663, 0.0239191744, 0.0055525638, -0.041614186, 0.0212375596, -0.023441663, 0.0395679213, 0.0020667927, 0.0355975889, 0.076671645, 0.0871613249, 0.0073052687, 0.0234380607, 0.0234806351, -0.0518630855, -0.0031046215, -0.0528501011, 0.0085920626, -0.0458239429, 0.0079850843, 0.030352572, 0.0075147776, 0.0145649994, 0.0012328342, -0.0187912919, -0.0392182134, 0.0258247945, -0.0378774665, 0.0104704229, -0.0208618566, 0.0390400477, -0.0433325581, -0.0032695131, 0.0163553804, -0.0072112619, 0.0191795323, 0.020177057, 0.0057780077, 0.0606093705, 0.0070166104, -0.0016452017, 0.0004473102, -0.0564082973, 0.0275207479, 0.0044316058, 0.011732134, 0.0309531204, 0.0411151871, -0.048633635, 0.0092677493, -0.0533885211, -0.0023719396, -0.0525197983, -0.0105357431, -0.0226906296, 0.0383741893, -0.0023120609, -0.0786307156, -0.0269407239, 0.0265672617, -0.0397244357, 0.0258420482, 0.0077933045, -0.0196172744, 0.0333587304, -0.0320124142, 0.0248509757, -0.0231200792, 0.0521094576, 0.0388652161, 0.0316990726, 0.001371716, -0.0078771822, -0.0243706908, 0.0259565357, -0.032423757, -0.0095472727, -0.0287259594, 0.0128558679, 0.0056638839, 0.029580364, 0.0021990619, 0.0094519323, 0.0144201983, 0.0237063505, 0.0219720025, -0.0292346142, 0.0213309731, -0.0304237679, -0.0203444436, -0.0798180178, -0.0317471512, 0.0026353477, -0.0356521867, -0.0086311642, 0.0056598932, 0.0619892627, 0.0314505287, -0.0315765627, -0.0326558687, -0.0957833529, -0.0298326984, -0.0271791685, -0.0168326143, -0.085972093, -0.0381565504, -0.014903456, -0.0122610461, -0.0382068865, -0.0022059665, -0.0030872207, -0.0481899194, 0.0360110588, -0.0054695127, -0.0007010269, -0.0171614941, 0.0009791675, -0.0095315874, 0.0175963864, -0.0072882427, 0.0428033918, 0.066743575, -0.0090263616, 0.03359586, 0.0729062334, 0.023876654, 0.0389524698, -0.0019621525, 0.0037496542, 0.0687415674, -0.0068787844, -0.0187420994, 0.0687792227, -0.0136452736, -0.0293311197, 0.1049378067, 0.0620448776, -0.0370084532, 0.0350594148, -0.0070905583, 0.0084082959, 0.0087792035, -0.0299821068, -0.0587132014, -0.0205190945, -0.0638732165, -0.0248459186, -0.0006674165, 0.0281690191, 0.0130282221, 0.0332222283, -0.0033672343, -0.0448084362, -0.0200173631, 0.017058054, 0.0351257212, 0.0109296432, 0.0063974094, 0.0732969418, 0.0133768758, -0.0426328965, -0.0297904778, -0.0781499296, 0.0257421359, 0.0135886567, 0.051126495, 0.0062921559, 0.071391955, -0.0367102735, 0.0120485295, 0.028671639, 0.0282793082, 0.0197509769, -0.0029472734, -0.0143833756, -0.009746708, -0.0325576216, 0.0046423627, 0.0186577085, 0.0120252427, 0.0269408282, 0.0195222031, 0.0091543393, -0.0338161215, 0.0053321766, 0.0041976981, -0.0461294353, 0.0077807787, 0.0205845069, 0.0128032127, 0.0363982655, -0.0356236771, 0.0232292917, 0.0576194935, 0.0208535902, 0.0019017026, -0.0511605814, 0.0199795682, 0.0121092265, 0.0432789139, 0.0040087458, -0.0143802287, 0.0471830368, -0.0288169254, 0.0021420631, 0.0425976925, -0.0064950511, 0.0209763739, -0.0145068001, 0.0096815396, -0.0228510015, 0.0453453287, -0.0287468284, 0.0117098773, 0.0046299729, 0.0351492688, 0.0325274207, -0.0094800452, 0.0337003656, -0.0303899124, -0.0740907639, 0.002034035, -0.0486622155, -0.000456491, -0.0107864933, 0.0024691545, -0.0050763781, -0.0230616201, -0.0257074703, -0.0158554651, -0.0217250977, 0.0351972431, 0.0123649994, 0.0082925279, -0.0472329743, -0.0085547101, -0.0131157795, -0.0665140077, -0.0136382906, 0.0012392772, -0.0125572048, -0.0201356225, -0.0420791321, 0.0248057023, -0.0039563584, -0.0019953537, 0.0677844957, -0.0084931049, 0.0084017692, -0.0370116793, 0.0037965351, -0.0225699712, 0.0355952047, 0.0075023388, -0.0265625995, 0.0387721844, 0.0031109373, -0.0024989117, 0.0816773325, 0.0307532214, 0.0010169236, 0.0564004742, -0.0187722947, -0.0392573401, -0.0271339696, 0.0232035834, -0.0808625892, -0.0514461435, -0.0261242613, 0.0174698606, 0.0203865916, 0.0461890511, -0.0209551901, -0.004950189, 0.0069592432, -0.0104313148, -0.0154744415, 0.0059785838, 0.01323542, -0.0486424156, -0.0212232489, 0.0203817114, -0.0749543607, 0.0498294644, -0.0846098363, 0.0131546678, -0.0074311835, -0.0173116568, 0.0153506361, 0.0569990277, -0.0219570994, 0.0363997295, 0.0536480546, -0.0044165384, -0.0050913924, -0.0079841809, 0.053600695, -0.0302492641, -0.0105064036, -0.0244725682, -0.00600912, -0.0338850543, -0.0200962741, -0.0064965538, -0.0801881701, -0.0182151031, -0.0131439287, 0.0055879252, -0.0359793864, 0.0300667677, -0.0317141227, 0.0474770367, 0.0153883016, -0.035179209, 0.0080519523, -0.0203646123, 0.0342384242, 0.0408151932, -0.0394994728, -0.0051848548, -0.0420536846, 0.0196193121, 0.0653891042, 0.0667430833, 0.0168754589, -0.0325527191, -0.0054619359, 0.0175082032, 0.0095301932, 0.016016297, 0.0438936688, 0.0185696054, -0.005323492, 0.0129979271, 0.0664124191, 0.014013513, -0.0322798416, 0.0029302465, -0.004368593, 0.0043679848, 0.0038902035, 0.0119487587, -0.0860470906, -0.0250896756, 0.0438143387, 0.0773662105, -0.0339099765, -0.0266090427, -0.0145463599, -0.1114278212, 0.0203213077, 0.0020181711, -0.0332343392, 0.0006961953, -0.0493854024, -0.0325493813, 0.0026701277, -0.003200436, -0.0201268289, 0.0127381748, 0.0115427794, 0.0136051541, 0.0084288605, -0.0138300927, 0.0439586528, -0.0514729805, 0.0653705671, 0.0610194951, -0.0223252065, -0.0185253583, -0.0124304043, 0.0580382124, 0.0208847485, -0.0194541402, 0.0208100267, 0.0003693323, 0.0020949531, -0.0186655074, 0.0085756686, 0.0769634694, 0.0091454405, -0.0008564507, 0.0241180304, 0.0624510571, 0.0211468618, -0.0123433452, 0.0120667033, -0.057788644, 0.0521938391, 0.0534561835, 0.0212713294, -0.0484187901, -0.0136044007, -0.0698138028, -0.0103144757, 0.0031402416, -0.0476362519, -0.0075962315, -0.0098923072, -0.029659057, -0.0263708401, 0.023626091, -0.0309732873, 0.0389968567, 0.0394981876, 0.0023924834, 0.0132396612, -0.000270645, -0.0370438136, 0.0191168785, -0.0794331059, 0.0722842738, -0.1052982882, 0.0216253866, 0.0051340023, 0.0192471612, -0.0219201297, 0.001910085, -0.092026487, -0.0968009979, 0.011560169, 0.0395323858, 0.0209251773, 0.0002527168, -0.0159250293, -0.0644370839, 0.1095256731, 0.0511667728, -0.0382758901, 0.0405213833, 0.0606162027, -0.0553191416, -0.0012704247, 0.0379136987, -0.0380836502, -0.0451821759, 0.1011448354, -0.0234583728, -0.0025752608, -0.0076749101, -0.0055260314, 0.0569661595, 0.0514496304, -0.013393335, 0.0270298924, -0.0077666282, 0.046156887, -0.0136011643, -0.0262808651, -0.0139406668, -0.0009901276, 0.0143769318, -0.0230413377, 0.0396024883, -0.0028740561, 0.0324211121, 0.0228266437, -0.0311331805, 0.0429935977, 0.0018823695, 0.037394274, 0.06608513, -0.0015976726, -0.0122840358, 0.0538602769, -0.0156096946, 0.0125213675, -0.0104449308, 0.0422160961, 0.0011582787, -0.0007449659, 0.0098213581, 0.0318522155, -0.0462559201, -0.0619522408, 0.009400907, 0.0478820652, 0.0119053656, 0.01684759, -0.014250543, -0.0197156388, -0.0038905796, -0.0443653539, 0.0019955952, -0.0191092063, -0.073414281, 0.0062471833, -0.0238132775, -0.0109295296, 0.0702515617, 0.0716800019, -0.0069480627, 0.0489095598, 0.0022105346, -0.0372841358, -0.0186205991, -0.027151661, 0.0293675587, -0.0225784257, -0.0572016686, -0.0530706644, -0.0354666822, -0.0592193007, -0.0161486063, 0.0117700733, 0.0181999318, 0.0354349576, -0.0122524668, 0.0457928553, -0.0177237, 0.0229966547, -0.0734530613, 0.0378910117, 0.0261434279, -0.0832282156, 0.0175471436, -5.786654163e-33, 0.0440310054, -0.0053463061, -0.051661551, -0.0069462787, 0.0273014139, 0.0466323309, -0.0027478049, 0.0104604196, -0.0123731364, -0.0450227559, -0.0419902988, -0.0092223994, 0.013588001, 0.0253201872, -0.0310525745, -0.0132901873, 0.0058749658, -0.0179107264, -0.0482716449, 0.0190714914, 0.0644295216, 0.0060992986, 0.0249724332, -0.0137054948, 0.0351245254, -0.0272403434, -0.0480332896, -0.0031579279, -0.0779624805, 0.0639519542, 0.0064174621, 0.0014495754, -0.0133095169, -0.0537594184, -0.0018848759, 0.0447012298, 0.0079478258, 0.0122929504, -0.015218202, 0.0018700835, 0.0533836633, -0.042496562, 0.0197403394, -0.0115931854, -0.0156652909, 0.0189717598, -0.007828258, 0.0001572871, -0.0368060619, -0.0220271219, 0.0141830463, 0.0110730389, -0.0314609893, 0.0116089303, 0.0167084746, -0.0309915356, 0.0044011693, -0.0150716575, -0.0431867912, 0.0424027815, 0.0559361055, 0.0276830681, 0.0438162796, 0.0083763264, 0.0321057513, 0.0364658162, 0.001789338, -0.0361425318, 0.0092738792, 0.0098532876, 0.0153859891, 0.0415975749, 0.044670213, 0.0662139952, 0.0728563294, -0.0389048271, -0.0446193554, -0.0084154177, 0.031980738, 0.0022209694, 0.0540571436, -0.0138220182, -0.0428310931, 0.0143779488, -0.0392330289, -0.0464990512, -0.0460223146, -0.0293558352, 0.0064158081, 0.0323383585, -0.0422079712, -0.036407996, 0.0356905423, -0.0504257493, -0.0345786363, -0.0057555847, 0.0051827366, -0.0013448694, -0.0120694293, -0.0123038348, -0.0283495728, -0.0109106861, 0.0165719744, -0.0912446082, 0.0375491977, -0.0089153806, 0.0410597026, 0.0544903912, -0.080248341, 0.0160317626, -0.0208590776, 0.0249986295, 0.0341233462, 0.0250524338, 0.0358419679, -0.0360616259, 0.0137785878, -0.0026033982, 0.0030762535, 0.0101540284, -0.0493709818, 0.0390090048, 0.0119804405, 0.0003055498, 0.0003967439, 0.0150223905, -0.0022652957, 0.0658534169, 0.0601911843, -0.0142792612, -0.0042591472, -0.0256007928, 2.851e-7, -0.0241472144, -0.0210530292, 0.0303451102, -0.0031798868, 0.0229356661, 0.0718607157, -0.0228188597, 0.1005204767, -0.0313057788, -0.0024209972, -0.0334538519, -0.0236000549, 0.04990701, -0.0040538199, -0.0844993442, 0.0144829946, -0.0847954825, 0.0185136739, -0.0845911875, 0.0017693503, 0.0078884596, 0.0872543454, 0.0352252983, -0.0216122251, -0.0106070619, -0.0765364766, 0.0065127052, -0.0025799726, -0.0085162334, -0.0326500647, 0.0527667478, 0.013211553, -0.0032911331, 0.0065252325, -0.0351253971, 0.0000211346, -0.0552257523, 0.0301697012, 0.0425292663, -0.0303195175, -0.0150669683, -0.060236834, -0.0304560475, -0.0196536127, 0.063552171, 0.0495525673, -0.0238903984, -0.0612408593, -0.0004320182, -0.0738153458, 0.0126639735, -0.0553018935, 0.0298768952, 0.0198167749, -0.0050836438, -0.0154761951, 0.0092795845, -0.0722842366, -0.0213981979, -0.0649104267, -0.0152814072, -0.0443809628, -0.0122333476, 0.0190113112, 0.0142015051, -0.0220081154, 0.0333963446, 2.723065495e-34, -0.0055086971, -0.0460763313, -0.0098824203, 0.0177682973, 0.0495458208, -0.0100605534, 0.0454615578, 0.0063323444, -0.0242443737, -0.06917537, -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.
Let the Code LLM Edit Itself When You Edit the Code: 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.033075761, 0.0711835846, -0.0232854262, 0.0014730669, -0.0333580784, 0.0120592844, -0.0331766047, -0.0011654214, -0.0231660437, -0.0043691248, 0.0072029405, -0.0225169342, 0.0351828076, 0.0308682807, 0.0471372232, 0.0010539111, 0.0482070372, -0.0317746662, -0.0272052437, 0.0251914691, -0.0387617648, -0.0029531133, -0.0107119679, 0.0714192092, -0.0026794025, -0.0352562442, -0.0422828719, 0.0245708171, -0.006047084, -0.0057931459, 0.0173296276, 0.0488759652, -0.0236826465, 0.0243035108, 0.0000023267, 0.0194634497, -0.0370538011, -0.0130695617, -0.0327058323, 0.0747496262, -0.0333551876, -0.0219500307, -0.0557636209, 0.023733858, -0.0354203023, 0.0043298625, 0.0593811162, -0.0538388006, 0.0345582478, 0.0456192717, 0.0062622055, 0.0088208932, 0.0157579314, -0.0094379187, 0.0426569097, -0.0201547947, -0.0053050644, -0.0217468906, -0.0392896011, 0.0162762571, -0.0058667525, 0.0249858238, 0.0477577783, -0.042835407, 0.0424546972, 0.0234750826, -0.045619905, 0.0073376317, 0.0076492885, 0.0301776435, -0.0809461698, -0.0310490131, 0.0278082285, -0.0186647624, -0.012118103, -0.0689926445, -0.0094905328, -0.0059395172, 0.0145537714, -0.0210691337, -0.00961887, -0.0592012405, 0.0158612207, -0.007805285, 0.0083817858, 0.0633570403, 0.0233934186, 0.0031378842, -0.092229791, -0.0230316799, 0.0580961332, -0.1054199412, 0.0017414616, 0.0563209802, -0.0102333603, 0.0066176299, -0.0703845993, 0.0072130701, 0.0101632457, -0.0526214167, 0.0421699397, 0.088292554, -0.024276603, -0.0247287508, -0.0801674128, 0.0806028768, -0.0308386739, -0.0068370267, -0.000702613, 0.033378873, -0.0389996246, -0.0186132211, -0.0160279796, 0.0336765125, -0.0178144667, 0.0517721511, -0.0536391065, 0.0575913228, 0.0355394818, 0.0410892218, -0.0429921858, 0.0203949008, -0.0386056118, 0.0008284723, 0.0285435542, 0.0051973746, 0.0310598798, -0.0510346331, -0.0263483115, -0.0706035718, -0.0057068705, 0.0115016429, -0.0132069895, -0.0248903893, 0.0030927991, 0.087996833, -0.0112693002, 0.0237872545, -0.0394075513, -0.0383600481, -0.0223369692, 0.006666088, -0.0295389555, -0.0968334526, -0.0381262712, 0.0035143322, -0.037789505, -0.0804016665, 0.0237103049, 0.0328353718, 0.0058508622, 0.0455173999, -0.0224212278, 0.0126732653, 0.0142352469, -0.0044815587, 0.0198149793, -0.0161696002, 0.0707304999, 0.0241478682, 0.0146146119, -0.0500994883, 0.0247915778, 0.0376872458, -0.0202258658, -0.0038987231, -0.0324698761, -0.0062758508, 0.038335979, 0.0103396, 0.0365284085, 0.0056260675, -0.004639857, -0.0065756827, -0.0088801663, 0.0084377928, 0.0456776731, 0.0653936788, 0.0460686237, 0.0070609925, -0.0097370166, -0.0204895716, -0.0318869911, 0.0819387585, 0.0113680093, 0.0314941667, 0.0139251705, 0.0237095058, 0.007086515, -0.0593051389, -0.0106275622, -0.0111801159, -0.0155526269, -0.0334923379, -0.0004461348, -0.0416817442, -0.0783604831, 0.0409344137, -0.0152448239, -0.0757835284, -0.0548149906, -0.0295336079, -0.0322652124, 0.1009681225, 0.0565541759, -0.0037734597, -0.0801740736, 0.0203220956, -0.0286140777, -0.0355362147, 0.0250537284, -0.0164677538, 0.0226528589, -0.0451611169, -0.0251052137, -0.0119784111, -0.0290453974, 0.0693305731, 0.0381923765, -0.012473586, 0.0559019074, 0.0073605245, -0.025340002, 0.0079567041, -0.0212431438, -0.0140825771, 0.0287312809, 0.0117525682, -0.0221023262, -0.0257364642, -0.0377231613, 0.016470043, 0.0383941345, -0.0308388546, -0.0269132778, -0.0431392416, -0.0684752241, -0.0435368754, 0.057106711, -0.0074203266, -0.0261639748, 0.0255308487, -0.0212982036, -0.0320349969, 0.0597464927, -0.024132479, 0.034326192, 0.0076395222, 0.035001386, -0.0212229826, -0.0210653152, -0.0024963156, 0.017581176, -0.0197443515, 0.0088148694, 0.0323326923, 0.0578893684, 0.0173253752, -0.0026930156, 0.0032362908, 0.0287171677, -0.0301674418, 0.020569386, -0.0134236151, 0.0201555565, -0.0048522726, -0.0601769462, -0.0691247657, 0.0324925967, 0.0000570262, 0.0209563226, 0.0008761435, 0.03131577, 0.0129063847, -0.0319261365, -0.0233026091, -0.0250504799, -0.0371915437, 0.0160333663, 0.0179633591, -0.0227423571, -0.0539257191, -0.0293243919, -0.0107564572, -0.0238395464, 0.026552802, -0.0405206271, -0.0380350612, -0.0758844465, 0.065177992, -0.0020872832, 0.0075936685, 0.0113814706, -0.0646526366, -0.0106565487, -0.0151979811, 0.0628048852, 0.0349479057, -0.0154640097, -0.0283910539, 0.0484141447, -0.0138515355, -0.0379196107, 0.0062171128, 0.0712426677, -0.0344490074, 0.0000704648, -0.0241283905, -0.000661701, 0.0833318904, 0.0087071648, -0.0079604406, -0.0348605365, -0.023595972, 0.0379121117, 0.0162888113, 0.0028623496, -0.0321331099, -0.0332511999, 0.0475452356, -0.048748225, -0.0791520029, 0.0385207869, -0.0437396467, -0.0199461598, 0.0087818652, -0.0075824889, -0.0273276232, 0.0268752407, -0.0302123986, -0.0052012266, -0.0242960863, -0.0573539808, -0.0361789688, 0.0044202222, -0.0325249843, -0.0421549752, 0.0388586186, -0.0553210974, 0.0246196929, -0.0157187805, -0.0116546396, -0.0559725128, 0.0164928064, -0.0079582874, -0.019424459, 0.0522267036, -0.0470895953, 0.036320392, 0.000680291, -0.0017861351, 0.0612662733, 0.0152336098, -0.0208930895, -0.0048492155, -0.0189315677, -0.0231550727, -0.0511353165, -0.0295422859, 0.0137389479, 0.0019645751, 0.0478713848, 0.070318982, 0.031786751, -0.0825397372, 0.0089040529, 0.0434823334, 0.0071178717, -0.0506541841, 0.0356313214, 0.0277340859, -0.0476880185, -0.0245970041, 0.0727262273, 0.0214762557, -0.0664141551, 0.0169019084, 0.009674238, 0.047573451, 0.0623310208, 0.0459307879, -0.073702395, -0.0306643788, 0.0541676469, 0.0339332558, -0.0095728179, -0.028413767, -0.0300557576, -0.087272644, 0.0134259798, 0.0229421761, 0.0099934582, -0.0218793359, 0.001173304, -0.0151585778, 0.0496885777, -0.0048143314, 0.0656480491, 0.0334511958, 0.015559189, 0.016602451, -0.0659120679, 0.0096891969, 0.0131929312, -0.0010828078, 0.0211339798, 0.0943385437, 0.0132901892, 0.046799995, -0.0138386702, 0.0365787819, -0.0144768143, 0.0468729585, -0.0294283703, 0.0160499588, 0.0112646287, -0.0246530268, 0.0390969329, 0.0068911286, -0.0593499132, -0.0250286553, 0.0066193612, 0.0397297554, -0.0454529077, 0.0234412551, -0.0074327942, -0.0489008687, -0.0131619405, 0.002206743, 0.0454848669, -0.0183353759, -0.0136079406, -0.0842132568, 0.0093623819, -0.070617415, -0.0153990043, -0.0510256886, 0.0190801658, 0.0049206801, -0.0369507261, 0.0219033044, 0.0028255905, 0.0560267679, 0.0067246347, -0.0199054573, -0.0097918147, -0.0385294072, -0.1031909138, -0.0367099643, -0.0265419856, 0.0285995156, -0.0213781875, -0.0070144171, 0.0108009204, -0.0014233013, 0.003862879, -0.0042340546, -0.0843894407, -0.0556203127, -0.01092357, 0.0544589832, 0.0218008813, 0.0504247509, -0.002100273, -0.0655314848, -0.0047954707, 0.0056679277, -0.028368054, 0.0401710682, 0.0081077395, 0.004040258, 0.0197627526, 0.0018593454, -0.0541712679, -0.0507002808, 0.0386040248, 0.0025871273, 0.0044930382, -0.0399660878, 0.0233445819, 0.0032964868, 0.0090588881, 0.030457709, -0.0216912106, 0.0287454445, 0.0429238267, 0.0054625166, -0.009005635, -0.0285452027, 0.0503573231, 0.0087621119, -0.0146215782, 0.0222178772, 0.0236197375, -0.023400683, 0.0069047851, 0.0186515357, 0.0261589326, -0.0170903802, 0.0699483678, 0.0734004676, 0.0196520034, -0.0017646488, 0.0439913832, 0.0154155139, 0.019046871, -0.0137780132, -0.0455096923, 0.0067955563, 0.0314829871, -0.0273779221, 0.0263683051, -0.0703643188, -0.0558321327, 0.0079787727, 0.00367817, 0.0360586159, 0.0394232981, 0.0124077033, -0.0083420482, 0.0143973073, -0.0276317652, 0.0462535024, 0.0047966414, -0.041838035, -0.0163622703, 0.0101056369, -0.0217915103, -0.0034809131, 0.0845139623, -0.0084666209, 0.0489424355, -0.0338786729, -0.0144061847, -0.026533477, 0.0203304607, 0.0325365514, -0.0106368586, -0.0113327438, -0.047616981, 0.0037641984, -0.046198532, 0.0629429668, 0.0040834867, 0.0173371006, -0.0202923417, 0.0115623381, 0.0759480894, 0.0102230432, -0.0004519164, 0.002334021, 0.0118721314, 0.0267704222, -0.0604321472, -0.0351077542, -6.164540699e-33, -0.005515255, -0.0303798206, -0.0060940934, 0.0129145561, -0.035124287, 0.0196812358, -0.0331299566, 0.0036408771, 0.0451339558, -0.0485501699, 0.0092581334, 0.0388210006, 0.0003218118, -0.0265929792, 0.0647387132, 0.0471033603, 0.0741718039, 0.0295568258, -0.0345187448, 0.0375968553, -0.024446696, 0.070264563, 0.0461833999, -0.0015795738, -0.0289512873, -0.0010634913, 0.0496125184, -0.0051309802, 0.0172194261, 0.0358256884, -0.0023489632, 0.0124790706, -0.02025548, -0.0250728447, -0.0454414487, -0.0333200097, -0.0236805417, -0.0361182466, -0.0226280093, 0.0427860133, -0.0026882393, -0.1188293323, 0.0957674012, 0.0373144858, -0.0507535301, -0.0123620033, -0.0012924724, -0.0096361125, -0.0323277973, -0.0137152644, -0.0121036572, 0.0346392654, -0.0365456864, -0.0394764431, 0.015815014, 0.0005294792, 0.0099448524, -0.0071402634, -0.0609664954, -0.0127741117, 0.0120824669, 0.1037329137, 0.0688864961, -0.0009930859, -0.0004426469, 0.0218456592, 0.0807802007, 0.0249233209, -0.018625278, 0.014834892, 0.0520507097, 0.0241526254, 0.0146392826, 0.0145283723, 0.0583618656, -0.0154371094, -0.0032873512, 0.0358246192, -0.0398653485, 0.0362353437, 0.003118292, 0.0721305683, -0.0119362734, -0.0213528387, -0.0343116447, -0.0093965512, -0.0228516906, -0.040376883, 0.0240913481, -0.0128752785, -0.0000887932, 0.017158471, 0.029417431, -0.0177322477, 0.0081192311, 0.0239405259, -0.0387316644, 0.0478988588, -0.0090208035, 0.0338143185, 0.0266730823, -0.0013430481, 0.0134832002, -0.0092367725, 0.0711850673, 0.0009417238, 0.0096217943, 0.056031175, -0.0796663985, -0.0051242863, -0.0412402935, -0.0185517222, 0.0197635647, 0.006943563, -0.0142307552, -0.024878582, 0.016018752, 0.0452583693, -0.0117221, 0.0077812825, -0.0264290571, -0.0233323704, 0.0317909494, 0.0490931757, -0.04458322, -0.0203692559, -0.0425148122, 0.0245326217, -0.0029364845, -0.0317999646, -0.0652383491, 0.0048691193, 3.086e-7, 0.001250521, 0.0571996719, 0.0667469129, -0.0094225584, 0.0245507248, 0.036725454, -0.0031342309, -0.0223468635, -0.0147415353, 0.0115312207, 0.0001686958, 0.0126831317, 0.0640229434, 0.0076224953, 0.0000574923, 0.0598372333, -0.0168366991, 0.0367564298, -0.0716858059, -0.0068289153, 0.0199821666, 0.0554431528, -0.0028928963, -0.0181218144, 0.0457579307, 0.0023392984, 0.0064897886, 0.0175490119, 0.0183131061, -0.0179990288, -0.0115636243, 0.0213898625, -0.0182221122, -0.0216830838, -0.0205609743, -0.0695610791, -0.0146126719, 0.051481463, -0.0471895635, 0.0418691784, 0.0497653894, -0.0008958644, -0.0198840126, -0.0252911914, 0.0528156236, -0.0028901682, 0.0212651081, -0.0346820764, -0.003659721, 0.0139171612, 0.0059720878, 0.0042720479, 0.051294256, 0.0335913002, 0.0144054787, -0.0004952084, -0.0502985492, -0.0392691642, -0.0544436499, 0.008594106, -0.0111300889, -0.0048443223, -0.0775042623, 0.0049036741, 0.0196776707, -0.0162243098, 0.0103770578, 3.285692907e-34, 0.0092573538, -0.0049412828, 0.0210365243, 0.0656375512, 0.0520061664, -0.0236569531, 0.0285593364, 0.0427505933, -0.0053042448, -0.0307657532, -0.0755992308 ]
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.
Enhancing Translation Accuracy of Large Language Models through Continual Pre-Training on Parallel Data: 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.0306903347, 0.047001455, -0.0069114878, 0.0447022989, -0.0091419918, 0.0482597984, 0.0233468357, -0.0194030087, -0.0494743772, -0.0385701321, -0.0591591895, -0.0413929485, 0.0243198276, -0.0418451056, 0.0185261071, -0.0204342101, 0.0338860303, -0.0182827078, -0.0123120565, -0.0055087134, -0.0071626543, 0.0265178811, -0.0157993641, -0.0057143476, -0.0149254873, 0.0014009943, 0.0164665692, 0.0583373867, 0.0521485396, -0.0241669584, -0.0053427797, 0.0253951158, 0.0320211276, 0.0026381612, 0.0000021475, -0.0248696078, -0.0180124771, -0.0137405889, -0.0078793252, 0.0204110574, 0.0420568176, -0.0591723807, -0.0097240647, 0.0344852693, -0.0195266064, -0.040992897, 0.0428208746, 0.0177237447, 0.061199341, 0.0825619996, -0.0146409068, -0.0598409325, 0.0170698445, -0.0593996309, -0.0336596444, -0.0298024248, -0.0028975487, 0.0378530025, -0.0589903221, 0.0229499675, -0.0114355925, 0.0671036765, 0.0178360343, 0.034689486, -0.0015785338, -0.0155689893, 0.0053919679, -0.0307150781, -0.0111579066, 0.0801538229, -0.0531911552, -0.0212662108, -0.0244449135, -0.0207529049, -0.0429465622, -0.0012781742, -0.0261932686, 0.0377823748, 0.0320933647, 0.0253571402, 0.0461025611, 0.0053777872, 0.0502704531, -0.0372506529, -0.0700535774, 0.0267919824, 0.0499905162, -0.047194723, 0.01361751, 0.005342429, -0.0211115349, 0.0013032103, 0.0385212563, -0.0004846328, -0.0068837292, 0.0536611676, -0.0336204804, -0.0812112167, 0.0014054133, -0.0901320279, 0.0323417857, 0.0632541031, -0.020245539, 0.0321322754, 0.005720254, 0.046910245, -0.0268118065, 0.0343687721, -0.0961724594, -0.0201779846, -0.0186464023, 0.0401379094, -0.0342190638, -0.0038505821, -0.050030604, -0.0246356353, -0.0286903679, 0.0359738097, 0.019951107, -0.0069530192, 0.0432972349, -0.0582836419, -0.0617761612, -0.0250861123, 0.0159443002, 0.0454979017, -0.0064976206, 0.0320782624, -0.0198221188, -0.0621616878, -0.0158415604, 0.0041832435, 0.0151687553, -0.0314239897, 0.0125553096, 0.0450469181, -0.0034110672, -0.0383259095, -0.0510934219, 0.0056517236, -0.0141766453, -0.044874575, 0.0089587169, -0.05113554, 0.0807229877, 0.0228529684, 0.0433166549, -0.0236451421, 0.0057797395, -0.0087318653, -0.0131355431, 0.0786920041, 0.0009881357, 0.0349352248, 0.028198991, -0.0063012294, 0.0386940278, 0.0786421597, 0.038456846, -0.0002580333, 0.0248302463, -0.0142975831, -0.0367979482, 0.0816163793, 0.0135413595, 0.0349195711, -0.041910179, 0.0186566748, 0.0649377927, 0.0320064425, 0.0245894715, 0.0272922292, -0.0205371026, 0.0293123312, 0.0500624031, 0.0080505265, -0.0102100084, 0.0295861866, 0.0688348487, -0.0007003415, -0.0207107272, 0.0121893361, -0.0210833307, 0.0080188978, -0.000191095, 0.011871377, 0.0464409888, 0.0180290453, -0.03461463, -0.0257643573, -0.0128375813, -0.031964533, -0.0082172621, 0.0050517493, 0.0317105092, 0.0145624243, -0.0596055128, 0.0703239813, 0.0352221355, -0.0599886142, 0.0142879039, 0.0001170161, -0.0307363514, 0.0791997463, 0.0113037117, 0.0217982158, -0.0393190198, 0.0074154814, 0.0369832888, 0.0285581853, 0.0496848561, 0.0144126639, 0.0343871824, -0.0486794598, -0.0162598714, 0.0123435631, -0.0067145545, 0.0424337871, 0.0104479156, 0.0588555373, 0.0490684174, -0.0056538549, -0.0388622023, 0.0406354591, -0.060818851, -0.00390846, 0.020950336, 0.025868427, 0.0425812341, -0.0013259503, -0.0163958315, 0.002640629, 0.0428261571, -0.0531987436, 0.0039571165, 0.0450290255, -0.042474363, -0.0721265003, 0.0382659771, -0.0088553308, -0.002397897, 0.0271316934, -0.0415283367, -0.0474641696, -0.0539298542, 0.0009292553, 0.046141129, -0.0499210469, 0.0740649402, 0.0012016786, 0.0203424729, -0.0198174659, 0.0017595888, -0.0034259665, 0.0168902725, 0.0179726947, -0.0007122427, 0.034070421, -0.0406375229, -0.035023503, 0.0469340123, 0.0390756056, 0.0054077241, 0.0066654827, 0.0045192223, -0.0353938751, -0.015237256, -0.0961050838, 0.0268626995, -0.0318989865, 0.0236211158, 0.0340254754, 0.0359170325, -0.0141355889, -0.0065283305, -0.0097393598, 0.0166002139, 0.0091198189, 0.0035729371, -0.0222284868, 0.0135387927, -0.0103204139, -0.0330777578, -0.0031583488, 0.0536205024, 0.0209198389, 0.0021987723, -0.0083093187, -0.0654773042, 0.0276754275, -0.0083034979, 0.0058749896, 0.0102794869, -0.081646271, -0.0147124073, -0.0307622328, 0.0647961646, 0.0125082703, 0.0036461409, -0.0165561065, 0.0325835124, -0.0127498629, -0.0557253025, -0.0033473365, -0.0241576731, -0.0466727391, -0.0575843863, -0.0494108535, 0.0054816687, 0.0640426427, 0.0264154449, 0.0050834073, -0.0442661867, -0.0458001904, -0.0239648651, -0.0165013503, -0.0183895733, 0.0054112091, 0.0022533892, 0.0197852701, -0.018064158, -0.0339539908, 0.0514153913, -0.0642535165, -0.0083526587, -0.033912193, -0.0152363786, -0.0258482918, 0.0546595752, -0.0112474915, 0.0029598488, -0.0637967065, 0.0025329825, -0.0331928283, 0.0469378158, 0.0083806403, -0.010052572, 0.0154667255, -0.0475396663, 0.0103191016, -0.0078456029, -0.0040761223, -0.0484918095, -0.0701439157, -0.0175237451, -0.0160440952, 0.0327454209, 0.01988497, -0.0250207875, 0.0280548539, -0.0076913154, 0.042265106, -0.0159191061, 0.0303230565, -0.0222103093, 0.0204958003, 0.0102967564, -0.0293978043, -0.0128818993, -0.0625880361, 0.0314980932, -0.0127348825, 0.0130622881, -0.0098411283, -0.0683353767, -0.0237734374, 0.0329378322, -0.0181285348, -0.0172918402, -0.01095697, 0.0375898369, -0.0449775718, -0.0109865759, 0.1498231739, 0.0247956086, -0.0283976197, -0.0138105731, 0.0085339099, -0.0157579258, 0.0015652892, 0.0219960529, -0.073244378, -0.0310372319, -0.0069386414, 0.0053555341, 0.0435263403, 0.0454329476, -0.0285928808, -0.1325272769, 0.0129911052, 0.0641715229, -0.0152304536, -0.0340578742, -0.0132053792, -0.0450556427, -0.0213193726, 0.0470941067, 0.0026455335, 0.0053196242, -0.0052165105, 0.0019077188, 0.0306061115, -0.0507140644, -0.0100990403, -0.0535028204, 0.0434543341, 0.0374676138, 0.0306391194, -0.0021512792, -0.0298377275, 0.0743235275, -0.0187535398, -0.0012372838, -0.013074466, 0.0057253428, -0.0169034656, -0.009882208, 0.0323688723, -0.0268892925, -0.0207266416, 0.0160192735, 0.0358917564, 0.0556510836, -0.0333076529, 0.0129177552, 0.0176747218, -0.0222103614, 0.0069452096, 0.0557811558, 0.0171015244, -0.0354192145, 0.0330575146, 0.0065183267, -0.014040227, -0.0613391437, 0.0344831087, 0.0134886652, -0.0618879311, -0.0130745117, -0.0908577889, -0.0305471309, 0.0001501695, 0.0147254709, 0.0396360308, 0.0250835903, 0.0172658339, -0.0055022812, -0.0085373633, 0.0328945704, -0.036069084, 0.0101545602, -0.0499201789, -0.015148256, 0.0548878387, -0.0220706221, 0.0193873439, 0.0293183811, -0.1104421541, -0.0628366843, -0.0229155309, 0.0545024164, 0.0059036971, 0.071630761, -0.0241879523, -0.0306373555, -0.0114330435, -0.0146327009, -0.0806906, 0.0142534245, 0.0220758114, 0.0015952283, 0.0046028253, 0.0246049054, -0.0298395567, 0.0259638242, 0.0022147705, 0.0396589376, -0.013071836, -0.0956040695, 0.0125170695, 0.0417294763, 0.0533360764, -0.0180154443, -0.0123808207, -0.0361250639, 0.0772785544, -0.0197845288, -0.004077578, -0.0505222566, -0.0193795227, 0.0538858436, 0.0164231602, -0.0212821458, 0.002051065, -0.0194063187, -0.0277639329, -0.0191249736, -0.0120834643, -0.0446859151, 0.0162635148, 0.0209973808, 0.037532676, -0.0365353636, 0.0095949229, 0.037675377, -0.0022950885, -0.038020879, 0.0240104608, -0.0052903062, 0.0236222912, -0.0091751553, 0.0171926543, -0.0203464888, -0.0452818386, -0.0080331191, -0.0037895015, 0.0895005241, -0.0009905475, 0.100019902, -0.0053593772, -0.0045305835, -0.008652796, 0.0546280518, -0.0150935333, -0.0196437612, 0.0056762742, -0.0231580213, -0.0146617843, 0.0296087209, 0.0547766387, 0.0211782455, 0.0244630408, -0.0025494124, 0.0097138202, -0.0186826102, -0.0099041369, -0.0126091996, -0.0084523754, -0.037612278, -0.0198327601, 0.0344520099, -0.0680233315, -0.0006028677, 0.0175452922, -0.0293817446, 0.0029943041, 0.0188626517, 0.0439515375, -0.0453634262, 0.006978401, -0.0235284641, -0.0032533191, -0.0049593872, -0.0006646095, -0.0141521012, -6.57302572e-33, -0.0528751798, 0.0139682069, 0.0362815261, -0.039053157, -0.0493885837, -0.0392253287, -0.0235166848, -0.0272741131, 0.0047230134, 0.0022567983, 0.0047015152, 0.0241608303, 0.0297985971, 0.0002672245, 0.0054355823, 0.005758021, 0.0800718069, 0.008182331, 0.0078630382, 0.0058524855, 0.0134144314, 0.0476665534, 0.0600973517, -0.0354036763, 0.0094522918, -0.0446631499, -0.0106806504, 0.0181684289, -0.0006563485, 0.014397148, 0.0181429014, 0.0089381402, -0.007404407, -0.0501696803, -0.0425371639, -0.0074693048, -0.099960357, 0.0094108246, 0.0344724767, 0.0624968782, -0.0131039005, -0.028962722, 0.0250143073, -0.0252057388, -0.0038096723, -0.0002816433, 0.0111489827, -0.0668316931, -0.0159120318, -0.0187158938, -0.0487691052, 0.000528119, -0.0077492394, 0.0192218442, 0.0642541423, 0.0465489216, -0.0253108256, -0.0035162487, -0.0663545281, 0.0169969238, 0.0170307942, 0.0252436716, 0.0583829843, 0.0324837677, 0.0093432935, 0.0033570172, 0.0132480385, -0.0297397748, 0.0587478131, 0.0010382013, 0.0266077779, 0.0210033357, 0.0206320696, 0.0275546163, 0.0367468856, -0.0366876498, -0.0869740471, 0.0399801582, -0.0265646633, -0.0086638322, 0.03487074, 0.0017602372, 0.0015545659, -0.0165675581, -0.0503748544, 0.0056470307, -0.0222282484, -0.0411414541, 0.0221960694, 0.0260146167, 0.0005216252, 0.003061401, 0.0929383337, -0.0318053849, 0.0162063241, 0.0235965755, -0.0442513973, 0.0085437503, -0.0440335274, 0.0577005222, -0.0349459536, -0.0664676949, 0.0053412262, -0.022725163, 0.0064259861, -0.0113518452, 0.0414439142, 0.0030828104, -0.0517099835, -0.0012279908, -0.0357007235, -0.0222042277, -0.0033049602, 0.0144252293, 0.025884768, 0.0259877462, -0.0030106679, 0.07943023, 0.0336520709, -0.0082310475, -0.0145787103, -0.0298841, 0.0300658159, 0.0174433868, -0.0503084101, 0.0147984261, -0.0057325955, -0.0036244858, 0.0279854275, -0.0680143982, -0.037566755, 0.0067927372, 2.787e-7, 0.0471994579, 0.0416560844, -0.0088245645, 0.0319362096, -0.0000359707, -0.0243319906, -0.0521114878, 0.0033896402, 0.048827678, 0.0224918295, 0.07003133, 0.0319418199, 0.0861160755, -0.0036080091, -0.0959681571, -0.0238960143, -0.0223486088, 0.0430302583, -0.0635855794, 0.0004220195, 0.0219826009, 0.102612868, -0.0115903243, 0.0034058322, -0.0169500895, -0.0113601759, 0.0955591276, -0.0404260643, -0.0451557189, 0.0121083949, -0.0186785609, 0.0447022989, -0.0562346503, 0.0121389152, -0.052151449, 0.0318347439, 0.0197046734, 0.0797652379, 0.0032169281, -0.0124329971, 0.0179235488, 0.0089768907, -0.0320076048, -0.0239886362, 0.0745014623, -0.0643949732, 0.0033752099, 0.0298618823, -0.0228645913, 0.0197031721, 0.0087197637, -0.0262486748, -0.0022457468, 0.0084461374, 0.0784176216, -0.0074498621, -0.0427104644, -0.0349810496, -0.0242787618, 0.0086675147, -0.0276281089, -0.055532705, -0.0062698424, -0.0074758255, 0.0363249555, -0.0415590517, 0.0114164241, 2.430633954e-34, 0.0454785675, -0.0102088451, 0.0136555312, 0.0087207416, 0.0374039821, -0.0560288243, -0.0212780163, 0.0208058022, -0.022043312, -0.0853931457, -0.0244104322 ]
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.
Speaker- and Text-Independent Estimation of Articulatory Movements and Phoneme Alignments from Speech: 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.0556780957, 0.0727086663, 0.009704629, 0.0038006932, -0.0030518358, -0.0259774644, 0.0223381482, -0.0159866158, -0.0255194269, 0.0465683304, -0.0673813671, -0.039819818, 0.0746703744, -0.0097105252, 0.0508216694, -0.0393988006, -0.0033987367, -0.0429784507, 0.0115443412, 0.0098131429, 0.0505235158, -0.0202543978, -0.0718521625, 0.0168570951, -0.0170206223, 0.0058333622, -0.0262970217, 0.0129681444, 0.0637666434, -0.0014838371, -0.0383309685, -0.0053714216, 0.0461055562, 0.0510127805, 0.000001502, -0.0142434156, 0.0038210936, 0.0404682383, -0.0377834775, -0.0234944932, -0.0166510455, 0.0258995611, 0.0020318802, 0.0703484043, 0.0071715624, -0.0169001147, 0.0692299232, -0.0217591338, 0.0401989147, 0.0479423963, -0.0108667677, 0.0213919524, 0.0289443303, -0.037606325, -0.0299665853, -0.0059325402, -0.005544831, -0.0286095366, 0.0086995075, -0.0084528103, -0.0259619113, 0.0799276456, -0.0347176231, 0.0280296598, -0.0038262208, -0.0001709265, -0.0139755672, -0.0538862869, -0.0259756409, 0.063922219, 0.0405008346, 0.0417675748, 0.0156754553, 0.0350915045, 0.0184125174, 0.0103150755, 0.0021374342, 0.0084755765, 0.0402216874, -0.0135313021, -0.0427123122, 0.064472042, 0.0071003409, -0.0442299768, -0.0066583715, 0.0029989881, 0.0129139861, -0.0061067515, 0.0057280203, -0.0060420702, 0.0215954874, -0.0025941289, 0.0659523085, -0.0160271041, -0.0108795194, -0.0174139421, -0.0356374159, -0.1074450389, -0.065560244, 0.00523182, 0.003388314, 0.0522149839, -0.0487911776, -0.0174880642, -0.0068869516, 0.0595854186, -0.0621316619, -0.0014589173, 0.0174531676, -0.0134244664, 0.010223954, -0.012158093, -0.0068830573, -0.0086269183, -0.0480997898, -0.0154603757, -0.041812852, -0.0059134797, -0.0479840972, 0.0295903441, -0.0131660728, 0.0573325865, -0.0323022157, -0.0498128012, 0.0110166846, 0.0167984236, -0.0030415498, 0.1078726798, -0.0215983689, -0.0165209007, -0.0385126881, 0.0647269785, 0.0517175868, 0.0237034447, 0.0245257374, 0.0256017037, -0.0165766012, 0.0171896424, 0.0377155282, 0.028567249, -0.0437608808, -0.0545598902, -0.0375695862, -0.072745122, 0.0449940562, 0.0087010553, 0.0030663968, -0.0310334917, -0.0248848479, -0.032500986, 0.0096143736, 0.0710178018, 0.0245892704, 0.0405953191, 0.0429022238, -0.0187130757, -0.0286599994, 0.0038608345, 0.0603895746, -0.0214884244, -0.0399680771, -0.0002107596, -0.0045648534, 0.0928939655, 0.0320819952, 0.0049001016, 0.0115535269, -0.0258840472, 0.0120034916, 0.0644630194, 0.0373066999, 0.0057214266, 0.01002564, -0.0302513652, 0.0436592624, 0.040917553, 0.0148582011, -0.0021582509, 0.0223902129, -0.0009352469, -0.0211481452, 0.0024367764, 0.0087807691, 0.0071540973, -0.0176058207, 0.0023884075, 0.0245624706, 0.0184448324, -0.0488156267, -0.0082118344, 0.0365546271, -0.0644612983, -0.0193966627, 0.0103976373, 0.0368260667, 0.0120678796, -0.0414983518, 0.0071433783, -0.005378386, -0.0508032255, -0.0279575903, 0.0232782587, -0.0480462946, 0.0250138454, -0.0489481986, -0.0559300259, -0.0415409952, -0.009791337, 0.0025823088, 0.0895637944, -0.0551174767, 0.0185878742, 0.034646742, -0.0360865891, 0.0199837144, 0.0605208948, -0.0137387263, 0.0108480472, -0.0020749052, 0.050034821, -0.0007248685, 0.025940083, 0.0098651322, 0.0061531216, -0.0648762807, 0.0106072202, -0.017711062, 0.039941784, 0.0260930676, 0.0089559508, -0.0229083318, -0.0061303815, 0.0232360028, -0.0359171666, 0.041191224, 0.059882842, -0.0047682691, -0.020124618, 0.0382363908, -0.0385129899, 0.0057590203, 0.0346492901, 0.0482737459, -0.1009751484, 0.0340097323, -0.0188282523, 0.0241850577, -0.0003851282, 0.0587832965, 0.0586260296, -0.0315714031, 0.0259694699, -0.0410335772, 0.0226485431, -0.0055662259, 0.0634008199, 0.010835886, -0.016873898, -0.0294050816, -0.015183446, -0.0096080313, 0.0082008541, 0.0235057678, -0.0102768503, -0.0383217931, 0.0099698436, -0.0189700108, -0.0741129518, 0.0388412438, 0.0114772553, 0.0146483146, -0.0105925789, 0.0146300076, 0.0033997851, -0.049371209, -0.0591951609, 0.006819664, -0.0306114648, -0.0587799847, -0.0132392151, 0.0129717467, -0.0431704298, -0.071205236, 0.0683370307, 0.005463202, -0.0187808555, -0.0407653227, -0.0524032786, -0.0296324324, 0.0499460958, 0.0409907848, 0.0346219577, 0.0038262408, -0.0220340528, -0.0054868399, 0.0143761905, 0.0137802856, -0.0015427159, -0.0193044934, -0.0027786938, -0.0205677152, -0.033846993, -0.0601304621, 0.0139525989, 0.017702654, 0.0660267249, -0.0568141825, 0.02666419, -0.0167226195, 0.0221766345, 0.0276433937, 0.0696463361, -0.0744228512, -0.0609471612, -0.0046042386, -0.0313665234, 0.0462615788, -0.0086586764, -0.041197896, -0.0395536199, -0.0501386747, -0.0158122517, 0.0301022362, -0.0794657543, -0.0816878304, 0.0213976707, -0.0301235672, 0.0159602202, 0.0408950783, 0.0000451518, 0.0060673114, -0.010239061, -0.0392759815, -0.0704700798, 0.0125606805, 0.037211705, -0.0508260913, 0.0286774859, -0.0403385088, 0.028209487, -0.0182665326, -0.0595490187, -0.021573713, -0.012652427, -0.0118322596, -0.0137635246, -0.0358708873, -0.111599125, -0.0069590532, -0.0315737948, 0.0452469662, 0.0392581522, 0.0210415982, 0.0391984954, -0.0017013258, 0.0448263772, 0.0354863927, 0.0744984373, -0.1114952117, 0.000169768, 0.0305861849, -0.0104016252, 0.0550897382, 0.0237341262, -0.0552211516, -0.0561684482, 0.0279831141, 0.0145991007, -0.0279332027, -0.0161414072, 0.0192692298, 0.0089560393, 0.0223081894, 0.0775620714, 0.0026889232, 0.0290398765, -0.0207539126, 0.0456810519, 0.0457693562, -0.0066097169, -0.0095384736, -0.0581876934, -0.027250506, 0.0288584307, 0.0080876024, 0.0469846353, 0.0397799164, -0.0190419946, -0.0839085653, 0.0038682572, 0.0421444327, 0.0154984193, -0.0717972815, -0.0044053444, 0.0280997921, -0.0174435526, 0.0005254709, 0.0050310395, 0.0317691229, -0.0175319389, 0.0289843604, -0.0952721238, -0.015710054, -0.0207850058, -0.0439692289, 0.0664832965, 0.043766655, 0.0348988026, -0.0243055522, -0.0384436846, -0.0097328164, 0.0326321349, 0.0084505072, 0.0123040611, 0.0393119305, 0.0036459728, -0.0203941837, 0.0056308792, 0.0853082091, -0.015550375, 0.0076866844, 0.0232001767, 0.088870056, -0.0352023914, 0.0694241896, 0.0211755447, 0.01592407, 0.0031559253, 0.0521096215, -0.0339193717, -0.0733072981, 0.023692321, 0.0046615661, 0.0407217331, 0.008092287, -0.0254396871, 0.0018978204, 0.0305519309, -0.0170494132, -0.0309327021, 0.0149195986, 0.0429709144, 0.0827185214, 0.0060871555, -0.0012493596, 0.0001764144, 0.0039617112, -0.0230156071, -0.0071962965, 0.0016315912, 0.0404069088, -0.0082906354, -0.0492152274, 0.0501588322, -0.0024146033, 0.026574092, 0.0486257859, -0.0444327742, -0.076816611, 0.0075543467, -0.0100276433, 0.0256247837, 0.1100777313, -0.0479119904, 0.0326433256, 0.0232264269, -0.0010136022, -0.0495775789, 0.0382635295, 0.0475488901, -0.0598451942, -0.0259329993, 0.0086577488, -0.0448131934, -0.0164635405, -0.0360130481, -0.003527167, -0.0478668772, -0.0492329486, 0.0033064787, 0.0159147587, 0.0575588346, -0.0223050676, -0.0319812149, -0.0344220996, 0.0118984459, 0.005743159, 0.0324058644, -0.0449598692, -0.0552844331, 0.0655171499, 0.0224203654, -0.0077640386, 0.0143450256, 0.0248844065, -0.0438139401, 0.0002968149, 0.0357831977, 0.0136055881, 0.0623040013, -0.0117444554, 0.0130837187, 0.0107981944, 0.0228992458, -0.0098699089, 0.0293727946, 0.0360459983, -0.0141123999, 0.0022491142, -0.0093478607, 0.0220740587, -0.0027468589, -0.0222987775, 0.0241916124, 0.0006715518, 0.0336390845, -0.0063998685, -0.0233486518, 0.0430532396, 0.0026883581, 0.0469886251, 0.0029044081, 0.016742086, -0.0542391837, 0.0286319628, -0.0077188239, -0.023037985, -0.0102907196, 0.0394648165, 0.0383048542, -0.0142658148, 0.0204823948, -0.0571450554, 0.0141167426, -0.0485513359, -0.0570775755, -0.0030933623, -0.0563256741, -0.029574601, -0.0269214343, -0.0123524657, -0.0300053619, 0.025510747, -0.0289626997, 0.0200406872, -0.0335200168, 0.0118545108, -0.0096357502, -0.04828877, 0.0364955552, 0.0264399648, -0.073071003, 0.0289510097, -0.0169374794, -0.0131288907, -4.886487405e-33, -0.0616689324, -0.0156304296, 0.0188936796, 0.0088362768, -0.0459971726, 0.0210527144, -0.0365176573, 0.0102045452, -0.0060664872, 0.016895989, 0.034141466, 0.0149640823, 0.0182192605, -0.0105360737, -0.005518998, 0.0059471368, 0.0407522544, -0.0540655069, 0.0139935333, -0.0395602174, 0.0419582017, 0.0394838154, 0.0130917244, -0.0392699242, -0.0077870204, 0.0137707144, -0.0201711021, -0.0546675324, 0.0111957584, -0.0002344357, 0.0139158582, -0.0030219187, -0.0157535449, 0.0036724899, 0.0321664251, 0.0397388712, -0.0562854558, -0.0153347403, -0.0002929916, 0.0786399245, -0.0303380433, 0.0185397118, 0.0200374518, -0.001648079, -0.0241349991, -0.0042095082, 0.0394830108, -0.0477232002, 0.0743325129, -0.0053845448, -0.0166228749, 0.0128805712, -0.0307038613, -0.0511223227, 0.0423805937, 0.050808087, 0.00192325, -0.050874088, -0.0592996366, 0.0243972335, -0.0405674167, 0.0353829712, 0.0612676851, 0.05369265, -0.0062906081, 0.0555542707, 0.0303486828, -0.0864574388, 0.0199486259, 0.0018322397, 0.0163628384, 0.061247658, 0.03197686, 0.0223590508, -0.0106050232, 0.0128300041, -0.0212662648, 0.0185768623, 0.0048550623, -0.0466172695, -0.0110417912, 0.0404560827, -0.0741523057, 0.0311188065, -0.0357798301, -0.0042215902, 0.0176561363, -0.0204972681, 0.0209266003, 0.0028793006, -0.0026275232, -0.0029193938, 0.0782334059, 0.003578394, 0.0146732535, -0.034309987, -0.0223108772, -0.0000636704, -0.0161312185, 0.0262234192, -0.0030026932, -0.0221458878, 0.0652072504, 0.0708605126, 0.0522789806, -0.0060448698, 0.0014330002, 0.0401233993, -0.0653190911, -0.0198181793, -0.0176894534, 0.0063427873, -0.0198833589, 0.0081200767, 0.0646366552, 0.0067557185, -0.0201800726, 0.0327015258, -0.0272116791, 0.0217717532, -0.010204535, -0.020776229, -0.0329212621, -0.0377160087, -0.0301833805, 0.0004780586, 0.0533842593, -0.0414523371, -0.0397094265, -0.0314499959, -0.0000820768, 0.0083669191, 2.484e-7, -0.0098280022, -0.0634012967, 0.0791268274, 0.0092615858, -0.014078998, -0.0057835691, -0.0606402047, -0.002019482, 0.0076111611, -0.052107092, 0.0692441538, 0.011586953, 0.0658674389, -0.0199203435, -0.0505664833, -0.0274112541, -0.0439748354, 0.0168836545, -0.0279538557, -0.0083930427, 0.0126361055, 0.0459304526, -0.014043089, -0.0136756962, 0.0158718508, -0.0222944021, 0.0396414362, -0.0174063202, 0.000747697, -0.0403379947, -0.0072844694, -0.0212869868, -0.0490663275, -0.021636771, -0.0537078828, 0.049032487, 0.0263369214, 0.0268580243, -0.0487157293, -0.0353812687, -0.0099572726, 0.0470176004, -0.0291315876, 0.0315840654, 0.0263272859, 0.0287830383, -0.0122577595, -0.0382615142, -0.0462144539, 0.0358203836, 0.0231539141, 0.0013151126, 0.0490682311, 0.0048612664, -0.0021168331, -0.0353064686, -0.0326007307, -0.015185087, -0.0597698614, -0.0042346381, -0.0751585662, 0.0078586293, -0.0237841289, -0.0392410532, -0.0259756744, -0.0335198306, 0.0100367488, 1.68155213e-34, -0.0134804482, -0.0134134227, 0.0563571714, 0.0494632386, -0.0203061663, -0.0236016568, 0.0223792996, 0.0530814715, 0.0481950976, 0.0056583164, -0.0375249535 ]
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.
Social Bias Evaluation for Large Language Models Requires Prompt Variations: 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.0584259182, 0.0105972737, -0.0421260819, 0.0397973992, -0.0356586874, 0.0137602212, 0.0673381165, -0.0209388398, 0.0313797519, -0.0590235032, -0.0557098687, -0.033942908, 0.0283895712, -0.0012174862, 0.0533420444, -0.0637396649, 0.0747846887, -0.0090337489, 0.0565987453, -0.0462471358, 0.0130563071, -0.0033715509, 0.0233735237, 0.0395952277, 0.0188043527, -0.0110516585, 0.0332185477, -0.0016339575, 0.0076717576, -0.0304303356, 0.028292004, 0.0761779025, -0.0079059564, 0.0192011725, 0.0000020237, -0.0883612558, 0.0262138117, -0.0254827961, -0.0340392888, 0.046627976, 0.0592074431, 0.0404798314, 0.0040117935, 0.0299622957, -0.0305112042, -0.0191669986, 0.0204332657, -0.0043741479, 0.0164282918, 0.0280363858, 0.0045938184, 0.0155741991, -0.0688348338, -0.0203305092, 0.0102447113, -0.0149768312, 0.0284377839, -0.0404710583, -0.0064740707, 0.0310803726, -0.0023629416, 0.0087159202, -0.0087867966, 0.0107391123, 0.0277156234, 0.0066143856, -0.0221206136, -0.0277685132, -0.0407284759, 0.0591106154, 0.0176171381, -0.0266494546, -0.0225907471, -0.0392729305, 0.0744445249, 0.0447087288, -0.0381006002, 0.0283181854, 0.0119167818, -0.0196703207, -0.007926655, 0.0435619019, 0.0047693932, 0.0280666128, 0.0298906621, 0.065899387, 0.021955315, -0.0401683785, 0.000447952, 0.0334447064, 0.0012426443, -0.068219997, -0.0050516734, 0.0036182362, -0.0539941974, 0.0291398279, -0.0210305732, 0.0084088193, 0.0382686332, -0.0526631027, 0.0426011719, 0.0331958756, -0.0139106438, 0.019148184, 0.0066798269, 0.0525636375, 0.0099530471, -0.0008377578, -0.0076937871, 0.0140998038, -0.005665442, -0.0227703936, -0.0226540994, 0.0000148345, 0.005757703, 0.0180422738, -0.0321901403, 0.0148475869, -0.0518559329, -0.0096143894, 0.014348927, 0.0162896421, -0.016923191, 0.0029506958, -0.046588935, 0.0225225482, -0.0632119626, 0.0367467888, -0.0097442586, -0.099573046, 0.0110985907, -0.0181539357, -0.0050454871, -0.0486198999, -0.0181972068, 0.0393404961, 0.0009110546, -0.0229549613, 0.0034865087, -0.0193731599, -0.032305751, -0.062338274, -0.0318281204, -0.0496754646, 0.0180505812, 0.0615227185, -0.0034833085, -0.0229075626, -0.018008044, 0.0315233171, -0.0485088266, 0.0362555087, 0.0341088437, 0.051863905, 0.037250001, 0.0339349508, -0.0519777909, 0.0826800913, -0.00357084, 0.0058992393, 0.0213250984, -0.0337182879, 0.0267231781, 0.0467661619, -0.0068847095, -0.0092379246, -0.0002515335, 0.0177600496, 0.0162441432, 0.0046726833, 0.0554015674, 0.0763762817, -0.0104169101, 0.0063488297, 0.0859493688, 0.0255493075, -0.0394836478, -0.0119309751, 0.0229679178, 0.0380589627, 0.0067490689, 0.0330079347, -0.0828075111, 0.0186826158, -0.0130146341, -0.0184898563, 0.0054367944, 0.0346687026, -0.0152791664, -0.0155829899, -0.019529907, 0.0386134051, 0.0318546556, 0.0299833808, 0.0163479149, 0.005645996, -0.0261967834, 0.0487336218, 0.022188833, -0.0350042768, -0.000060264, -0.0484580621, 0.0314242765, 0.0616141967, 0.0244012158, -0.0239699837, -0.0074098739, 0.0012448167, 0.0107083237, 0.0563013032, 0.1189832315, -0.0143914009, -0.0225490835, -0.0212434921, -0.028342871, 0.002752231, 0.0117621366, 0.013328393, 0.0475494117, 0.0020938388, 0.0023134239, -0.0217103418, -0.0443200171, 0.017348351, -0.0125135854, -0.0132289268, -0.0556579754, 0.0069181179, 0.0278731808, 0.00784247, -0.0083751911, 0.01766886, -0.0272719562, 0.0107120406, 0.0246804673, 0.0095638391, -0.0976591036, -0.0025681707, 0.0078333458, 0.0031397934, -0.052515544, 0.0399822928, -0.0007019716, 0.0027953857, 0.0299712922, -0.0257157441, 0.0212034322, 0.0094618732, 0.0319304131, -0.0725213066, 0.0004272829, -0.0575556196, 0.0490769781, 0.0162429996, 0.0082876319, 0.0443123095, -0.0078885611, -0.0151386941, -0.0392134376, -0.0428683981, -0.0104439575, -0.0195134394, -0.0282216631, 0.0370298624, -0.0351741128, -0.0428313464, -0.0135051021, -0.1065290123, -0.0300799645, -0.0090390723, -0.0095130671, 0.0088078324, 0.0029989344, -0.0255805086, -0.0120505765, -0.0329249352, -0.0175040662, -0.0021205237, 0.0727289394, 0.0114180967, -0.0140565168, -0.0255942158, -0.0533649549, -0.0113487728, -0.0301669091, 0.0396266989, 0.0291479453, -0.01019271, -0.0558063053, 0.0583846979, -0.0178927146, 0.0005466249, 0.0087047592, -0.0092597781, 0.0368674956, 0.0512451082, 0.0776022002, 0.082451418, 0.0121475458, 0.0034897658, 0.0566358641, -0.0200394932, -0.079338707, -0.0300700217, 0.0126649477, 0.0080927629, -0.0094762063, -0.0900008604, -0.0145383719, 0.0594711155, 0.0585082658, -0.00197765, -0.0552177615, 0.0485430099, -0.0557188876, -0.068777971, -0.0269832239, -0.0714852139, -0.024502635, 0.0166457258, -0.0472440198, -0.0746351108, 0.0590700507, -0.0017279544, 0.0025403311, -0.0129312612, 0.0325133689, -0.026626138, 0.0478263982, -0.0005365395, 0.0087093497, 0.0074898684, -0.0273964033, -0.0832087249, -0.018516127, 0.0391670763, -0.0241065547, 0.0161186401, -0.0403612368, -0.019019587, -0.0236992911, -0.0284016039, -0.0297461916, -0.05620737, -0.0312337913, 0.0154498499, 0.0379616618, 0.0117779821, 0.0350325406, -0.0067950194, 0.0293414406, -0.0022278074, -0.031166181, 0.0069431597, -0.0013881379, -0.0244664866, 0.0272146147, 0.0008831041, 0.0448547564, -0.0292611271, 0.0280159358, -0.0011562284, 0.0451585092, -0.0017997208, -0.0268991645, -0.0091683855, 0.047863245, -0.0185036268, -0.0389919989, 0.045745302, 0.0883109793, -0.0430702157, 0.0109362835, 0.1039778739, -0.0052688299, -0.0463981219, 0.0119706085, -0.0264800061, 0.0259617027, 0.0304255392, 0.0017282278, -0.0477117449, -0.0088235093, 0.0289292429, -0.0069347322, -0.0354909785, -0.025141919, -0.006945129, -0.1656727046, 0.0237017982, -0.0118860006, -0.0103299599, 0.0205411781, -0.0364783183, 0.0350973122, 0.0023771944, 0.0397429653, 0.0186218955, -0.0225379486, 0.0011978714, 0.0300148521, -0.028520409, -0.0592183508, 0.0468703061, -0.0510460399, 0.082238771, 0.0518982224, -0.0018083946, -0.0278650261, -0.0125053953, 0.0642599687, 0.0211932492, 0.0102425087, -0.0224741995, 0.0130205136, -0.0291883722, 0.0069881598, -0.0362817384, -0.0150266085, 0.0306197386, 0.0119954515, -0.0121522713, 0.0535300076, 0.0202995855, -0.055461742, -0.0273607057, -0.0023796451, 0.0105239693, 0.1074969396, 0.046035409, -0.0410410501, -0.0049649156, -0.0195675865, -0.0211163349, 0.0187065918, -0.0458320603, 0.0061285761, -0.0205698088, -0.0204797722, -0.0312915593, -0.0619340241, 0.0302271917, -0.0021494515, 0.0264920183, -0.0029814215, 0.0084382594, -0.0071023828, -0.0053025032, 0.0328198746, -0.0174132679, 0.047166381, -0.0168324932, -0.0110410666, -0.001409371, -0.0206352863, -0.0093777226, -0.0094307112, -0.0342104584, -0.0639487728, 0.0430434272, 0.0435851216, 0.0313292369, 0.0229781065, 0.0251945164, -0.0793239102, 0.0355554, 0.0105948374, -0.0141067496, 0.0603509024, 0.0025007885, 0.0003114745, 0.0149112558, 0.0217034966, -0.0389998853, 0.0255369339, 0.0582489632, 0.0157249402, 0.0013869748, -0.0503867865, -0.0046505122, 0.0135100903, 0.0679649115, -0.0277207848, 0.002604886, -0.0335519053, -0.0358927473, -0.0465074517, -0.0418019332, -0.0123834861, -0.0292890538, 0.0062741162, 0.0227890648, -0.0157841705, -0.0145658227, -0.0439859368, 0.0427619442, -0.0563462675, 0.0280188695, -0.0006510104, 0.0102024144, 0.0169782508, 0.0197539534, -0.0365329571, 0.0243349206, -0.0232986733, 0.0073353183, 0.0316157304, 0.0740875527, 0.0043571722, -0.0122946426, 0.0034938776, 0.0316030607, -0.0312318541, -0.013432066, 0.0106921867, 0.0264739487, -0.0053826547, -0.0332518406, 0.0531563498, 0.0082310643, 0.0272202585, -0.0152732087, -0.0179688167, 0.0078186328, -0.0319656581, 0.053771507, 0.0079695564, -0.0225469731, 0.0119058639, 0.0682694986, -0.0018364523, 0.0143233053, -0.0168295782, -0.0295671634, -0.0024043045, -0.0145112462, 0.0501513779, -0.0193269793, -0.0434127152, -0.0356162712, -0.1008502096, -0.0528650321, -0.0401868746, 0.0112354718, 0.0362252928, -0.0496931002, 0.0408676118, 0.0808918849, -0.0320850201, -0.0525488891, -0.005564007, 0.0027585328, -0.0243201777, 0.0030208353, -0.0440934338, -6.280613419e-33, -0.0408280268, -0.017903747, -0.0039720316, -0.0364422686, 0.0005260171, -0.0097319447, -0.0437679254, 0.0471798889, -0.0226205997, 0.0010539376, -0.0114986245, 0.0036520739, 0.0288717914, -0.0370072275, 0.0423705578, -0.0194985308, 0.0608540177, -0.0100375852, -0.0426693894, -0.0127549991, -0.0157077499, -0.0244489759, 0.0247119404, -0.0300503187, 0.0851046592, -0.0172571931, 0.0058366703, -0.0179989766, -0.0128430473, 0.0276397541, -0.0100144017, 0.0665544122, 0.0433599278, -0.0412383378, -0.0367504954, 0.0991462469, -0.0070590572, -0.045310393, 0.0584008694, 0.0120053887, 0.0022358471, -0.0222186148, 0.0309168641, -0.00123007, -0.1001579016, 0.0190546047, 0.0353620723, -0.0074638585, 0.0210272819, 0.0550530665, -0.0697136521, 0.003271769, 0.0030495755, -0.0127373934, -0.0310063753, 0.044224862, -0.0079986881, 0.0152488379, -0.0075133969, 0.0316629633, -0.01032109, 0.0050874595, 0.0610680878, 0.0261231363, 0.0081655653, 0.050974872, 0.0649993271, 0.0903936997, -0.0126917409, -0.0631482005, 0.0382610932, -0.0020282145, 0.0548321418, 0.0461088456, 0.0123162242, 0.0001801794, -0.0115176616, -0.0041752355, 0.0634045973, 0.010491523, 0.0486128777, -0.0032075334, -0.0832508951, -0.0661016107, -0.0289918315, -0.0240329783, -0.0248616617, -0.0304664299, 0.0599375777, -0.0053530941, -0.0158385318, -0.013816474, 0.0471533872, -0.0297929011, -0.0345669128, -0.0046592257, -0.0190556925, 0.0232939497, 0.0097053275, 0.0089525897, -0.0765049383, 0.0009311623, -0.0006731321, 0.0497272089, 0.021531757, 0.0203920864, -0.0233803783, 0.002746342, -0.0619829558, 0.0109172827, -0.0320674665, -0.0192827154, 0.0143090384, -0.007232619, 0.0492832586, 0.0024195139, -0.0123707019, 0.0100288587, 0.009686159, -0.0524821319, -0.0557146519, 0.0126429377, -0.0375128016, -0.0042560995, -0.0397122838, -0.0167963319, -0.0364502184, 0.0175147969, 0.0176570099, 0.0014154183, -0.0313357338, -0.0409279391, 2.627e-7, -0.0017925805, 0.0566934273, -0.0207982399, 0.0682340041, 0.0110413963, 0.028100105, 0.0128731597, 0.0572453365, 0.0442113169, 0.0025730454, -0.0269493144, 0.0305243265, 0.0112628182, 0.0143075529, -0.0626240596, -0.0167801026, -0.0851183534, 0.0420332924, -0.0195683744, 0.0069572553, 0.0071286815, 0.0125420755, 0.0134838186, 0.0284400973, -0.051882714, -0.0421915688, 0.0305960085, -0.0451941043, 0.005473278, 0.0214770269, 0.0265072025, 0.0050154636, 0.0312764905, 0.0519373864, 0.0391155891, 0.0117511293, 0.0109228892, 0.0388063639, -0.0044576647, 0.032853812, -0.0117098223, -0.0251479317, -0.0164637156, -0.0919954777, 0.0524341874, -0.0260237213, -0.0121004647, -0.04166089, -0.0072528059, -0.0194152035, 0.0297097135, -0.00823332, -0.0140948752, -0.018521158, 0.0287415572, -0.0161901414, -0.0347570851, -0.0425806753, -0.044967223, -0.0201340038, -0.0268888492, -0.1015599892, -0.0106207207, 0.0182045735, -0.0035891489, -0.0397590287, 0.0107959062, 2.306325886e-34, 0.0313490927, 0.0005974146, 0.0438600779, -0.0173585117, 0.030210996, 0.0180400852, -0.0587646998, 0.0093653332, 0.0529191978, -0.0512539819, -0.0159593131 ]
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.
KeyVideoLLM: Towards Large-scale Video Keyframe Selection: 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.0340590589, 0.0544390269, 0.0021080032, 0.0472180471, -0.0054290565, 0.0364987887, 0.0348868258, 0.0468398556, -0.0086737638, -0.0741451681, -0.0320344903, -0.0390690938, -0.0301807318, 0.0208020154, -0.0054870537, -0.0658364072, 0.0267540757, -0.0321986005, 0.0134277279, 0.0066983872, 0.0313194506, 0.0278696958, 0.0174663104, 0.0064892364, -0.0407409705, -0.0055932393, 0.0057034828, -0.0230583753, 0.052368857, -0.0328988954, 0.0043578297, 0.0617389083, 0.0928083062, -0.0208827723, 0.00000195, -0.0276387446, 0.0135682058, -0.030900538, -0.0288383327, 0.0666715205, -0.0011290074, -0.0204124711, 0.0317646377, 0.0220018923, -0.0349474959, -0.0416457616, 0.0523084141, -0.0206605289, 0.0529362299, 0.017375581, -0.0354214683, -0.0469160564, -0.0261798017, -0.0295815915, -0.0068545137, -0.0364166088, 0.0352322906, -0.0036835973, 0.0259202793, 0.00186765, -0.0457803346, 0.0293266065, 0.0169528965, -0.0332807302, 0.0045085228, 0.0104576359, -0.0754652619, -0.0237210095, 0.0295416005, 0.0655259117, 0.0023605947, 0.0082747201, 0.0373411588, 0.0157762058, -0.0095763179, 0.0297001824, -0.0746634901, 0.01244439, 0.0284388606, 0.0297339447, -0.0086480388, 0.0201408584, 0.0013116279, 0.0238752309, 0.0028753919, -0.0373656228, 0.0426085591, -0.0140402801, -0.0174531788, -0.0052004824, -0.0353130028, -0.0619389303, 0.0198870059, 0.0055762865, -0.0108003607, -0.0115829408, -0.0557957068, 0.0263973903, -0.009134111, -0.0887876377, 0.0089571774, 0.0048209596, -0.0221643616, 0.0723933205, -0.0303191878, 0.0917461589, -0.0056552258, -0.01512093, -0.0139900027, -0.0266565699, -0.0510095768, 0.0088257343, -0.0101026567, 0.024307033, -0.0194552634, -0.0268469397, -0.0044800737, 0.0334826149, -0.0116170123, 0.0217596814, -0.0424732454, 0.0212321561, 0.0482864939, -0.0214550402, -0.0054290402, 0.0500691533, -0.0798266903, 0.0349745117, -0.0191961043, -0.0501123369, -0.0109541016, 0.0161045995, 0.0208032653, -0.0515007339, 0.0595782138, 0.0088506388, -0.0463207513, -0.0141475527, -0.0239423588, 0.0233131573, -0.0208327901, 0.0053514545, 0.0186270569, -0.0736361966, 0.0514838882, 0.0071205134, 0.0072856541, -0.0013720536, -0.0087991375, 0.0098728817, -0.0399858169, 0.0414759628, 0.0033650754, 0.0213641617, 0.0080448277, 0.0033503643, 0.028552413, 0.0644814, -0.01676061, 0.0192973521, 0.0560280681, -0.0081184823, 0.020242326, 0.0394780897, -0.0260535926, 0.0449426323, -0.0502437539, 0.0402060077, 0.0368751474, 0.0416478366, 0.0604748912, 0.0374811925, -0.0400001407, -0.0594668612, 0.0713667944, 0.0627911165, -0.0492438562, -0.0162262823, 0.0045268154, 0.0569408946, 0.0281298608, -0.0031791679, 0.0145056481, 0.071689494, 0.0273727104, 0.0023720469, 0.0256219506, 0.0496827736, -0.0861909986, -0.007706536, -0.0517710261, -0.0108974641, -0.0143832788, 0.0363034643, 0.0389706977, -0.0185128674, -0.0208616089, 0.074223727, 0.0217679087, -0.0053057908, 0.0303763375, -0.0166482013, 0.0130417645, 0.047058221, 0.0099137397, -0.0033255618, -0.0553936213, -0.0075036176, 0.0849808753, -0.0044406713, 0.0272615142, -0.0396376848, 0.003865954, -0.0881816968, -0.0471459851, -0.002810705, -0.0095384708, 0.0225193184, 0.0041614906, 0.0397068299, 0.0125496527, -0.0125292121, 0.0147915045, 0.0248856805, 0.0568462759, -0.0041859341, 0.0132198203, -0.0019802141, 0.0340771824, -0.0054377154, -0.0389379896, -0.0445117354, 0.0380643792, -0.0428936742, 0.0097617581, 0.0034465217, -0.048749797, -0.0377765298, 0.018926261, -0.0527288206, 0.0085965618, 0.0709278733, -0.0756324008, -0.0255818237, 0.008297693, -0.0167927891, -0.0092889098, -0.0541726016, 0.013018406, 0.0080874208, 0.0224739946, -0.0257529467, 0.0094651161, 0.0184529684, -0.0158253442, 0.0180940107, 0.0208814777, 0.0223097596, -0.0396514647, -0.0353349932, 0.0345661379, -0.0301405564, -0.0272585973, 0.0196388084, -0.0116038807, -0.0378949456, -0.0182716101, -0.0624105297, 0.0233251303, -0.0117196497, 0.0370896608, -0.017223401, -0.0036480778, -0.0229080413, -0.047022108, 0.0122977151, -0.00997674, 0.0161208007, 0.0236991327, 0.0043374691, 0.0074993372, 0.0092806052, -0.0076448359, -0.0335368253, 0.05747151, 0.0707722753, -0.0208951179, -0.0406779349, 0.0268307962, 0.0027260438, -0.0107418504, 0.0044396208, -0.021385435, -0.0357909836, -0.0266295802, -0.0073018521, -0.0427914597, 0.0356343202, 0.0281740911, -0.0131750917, 0.0119466735, -0.0055117272, -0.0109751057, 0.007500493, 0.0125568826, -0.0556021705, -0.0346407257, 0.0148496898, 0.0005614466, -0.0105000809, -0.0340913534, 0.0403769538, -0.0559995808, 0.0028158298, 0.0020836168, 0.0235761069, -0.0639277622, -0.0020108549, 0.0047084452, 0.0125527242, -0.022488378, -0.0415909365, 0.0448050201, -0.01525559, -0.0318989903, -0.000242325, 0.0078503881, -0.0157264452, 0.101794906, -0.0099865794, -0.0175502617, -0.0345000289, -0.0272390768, -0.0541784242, -0.008041379, 0.0195198897, -0.0126374094, 0.0485494845, -0.0423631594, 0.0139123024, -0.0098081501, -0.0392820016, -0.0612125769, 0.0030909861, -0.0520502105, -0.0233543124, -0.0482885055, 0.0086092018, -0.0118336789, 0.0140193375, 0.0076388237, 0.0493467525, -0.0098893503, 0.0611725859, 0.0088246865, 0.069182381, 0.0731835291, 0.0154136289, -0.0323131569, -0.0162657145, 0.07923574, 0.0784384459, 0.0402116738, -0.0133087896, -0.0109699322, 0.0376102887, 0.0417180844, -0.0111643607, -0.0470899642, 0.0228246767, -0.0057559945, -0.0738847554, 0.0257502142, 0.135427773, 0.0086077657, -0.0566053987, -0.0217630304, 0.0148769347, 0.0090228366, 0.0462077856, 0.0335181467, -0.0955181196, -0.0508498102, -0.0022938412, 0.0038755594, 0.0096138511, 0.0023332892, 0.0011901022, -0.0898563638, 0.0744468197, 0.0147496015, 0.0091004381, -0.038424354, -0.0781123936, 0.0287108794, -0.033006452, 0.0081653595, -0.0103230244, -0.0267125778, 0.0009090514, 0.0204921477, -0.0137748467, -0.0727888495, 0.0521445423, -0.0730011687, 0.0391447954, -0.00442344, 0.0287500434, -0.017790528, -0.0355358049, -0.0228714626, -0.0298696049, -0.003719344, -0.028650593, 0.0401046313, -0.0138634052, -0.0336212814, 0.0070216903, 0.0430385508, -0.00365709, -0.0440659821, 0.0283299368, 0.0838638917, -0.0304367505, -0.0251369383, 0.0041428418, -0.0192895867, -0.0122054983, 0.0853474736, 0.0132054212, -0.0079508396, -0.0038612981, 0.0722943097, -0.0697918907, -0.0183381364, -0.0257112328, -0.0221135728, 0.0040570344, 0.0202919599, -0.0392585956, 0.0314861052, 0.082009308, 0.0180353224, -0.0504845791, 0.0105722304, 0.005881832, 0.0233244356, -0.0893511251, 0.0730626956, 0.0029696829, -0.0231885239, -0.0575918928, -0.0146602727, 0.0517868251, -0.0235116053, -0.0350110754, 0.015618274, -0.0348376781, -0.0157464053, -0.0147530781, 0.040249534, 0.008739817, 0.0773223713, 0.0449952446, -0.0364138074, 0.0127704702, 0.0096642086, 0.0218368098, 0.027481705, -0.0161566436, -0.055172503, -0.0232269969, 0.0388141125, -0.0388542525, 0.0175089594, 0.008126216, 0.0048669828, -0.0282486025, 0.0208981577, -0.0017286116, -0.0231301039, 0.0149434265, -0.0081860768, -0.0275881533, -0.0310496446, 0.016089581, 0.0343061835, 0.0157916639, -0.0647870302, 0.0172969215, 0.0261350423, -0.0011039472, -0.013541488, -0.0043946584, 0.0015183504, -0.0535594709, -0.0344356894, -0.0229129419, -0.0295436382, 0.0051835226, 0.01421721, 0.0014350946, 0.0196522549, 0.0186442267, 0.0299819987, 0.0401398353, -0.0208570398, 0.0387054347, 0.0070306947, -0.0002547391, 0.0039032656, 0.0304328091, -0.010783338, -0.0510765612, -0.0273404457, 0.0017840426, 0.0494296476, -0.0727929175, 0.0171191115, -0.0121403318, -0.0259648934, -0.026248211, 0.0261161644, -0.0065459148, -0.034632124, 0.0268761255, 0.016636068, -0.0180158112, 0.0198208317, 0.0845618322, 0.020821223, 0.0529644601, 0.0067253318, -0.013280266, 0.0014108816, -0.0230700448, 0.0124205863, 0.0103729218, -0.0160220768, 0.0010225853, 0.0121142995, -0.0546294935, -0.006422196, -0.0634870231, -0.0406461023, 0.037499439, 0.0736701638, 0.0176632646, 0.0080261929, -0.0084077669, 0.0048943404, -0.0235569384, -0.047620289, -0.0424284488, -0.0121721309, -6.158014869e-33, -0.0080456268, 0.030271424, -0.0072790412, -0.0023678094, -0.022421265, 0.0306115653, -0.0076302737, -0.0077248574, -0.0207709894, 0.0117297778, 0.0240937993, 0.0064439182, 0.019837901, 0.0620912574, 0.0239015296, -0.0840796605, 0.0372655392, -0.0357468165, -0.0047419034, 0.0110761169, 0.0111560915, 0.022778891, 0.0612484366, -0.0438382924, -0.0624888279, 0.0003297678, 0.0053764507, 0.0131974639, 0.0392520986, 0.079446055, 0.0017756728, -0.0311709233, 0.0260284916, -0.045200441, -0.0326610543, 0.0151316896, -0.0475288816, -0.0098610828, 0.0199080314, 0.0345884226, 0.0041376967, -0.0304125622, 0.0325569995, -0.0064526843, 0.0100045139, -0.0444589108, 0.0270045642, -0.0412265919, 0.0032425423, 0.0059317956, -0.0028162822, 0.0065226508, -0.0397232473, -0.0343746319, 0.0365526043, 0.0189153366, -0.0068656667, -0.0186913311, -0.0356871113, 0.0011854256, -0.013981007, 0.0481824949, 0.0956877768, 0.0256574079, 0.0360707715, 0.0686444268, 0.0107647451, -0.0932954475, -0.0151366116, 0.0030680345, 0.0017889786, 0.0514932983, 0.0449494049, 0.0434261486, 0.0394606888, -0.0062658177, -0.0741677284, 0.0084779784, -0.0297565814, 0.0566024743, -0.0048969984, 0.010931531, 0.0128923887, -0.0148428073, -0.0421438999, 0.019545842, -0.0131382663, -0.0105058523, 0.0328191184, 0.0039926772, -0.0041237972, 0.0016653782, 0.077797845, -0.0320471451, 0.0203544367, 0.0699018314, -0.0286757015, 0.0518648364, 0.0420506746, 0.0170913711, -0.0377981327, -0.0160979182, 0.0292984918, -0.0389617197, -0.0138928983, -0.0260730088, -0.0348112732, 0.0379435569, -0.0321669653, -0.0019859045, -0.0033890505, -0.0220561381, -0.0028661152, 0.033646103, 0.0186930243, 0.0325667374, -0.0121236155, 0.0683779642, -0.0209766347, -0.0104254531, -0.0080028921, -0.0314633399, -0.0012311031, 0.0034338532, -0.0098622078, 0.0302538015, -0.0687795505, -0.0680953264, -0.0028629047, -0.0476097949, -0.0106228087, 0.0114926379, 2.663e-7, 0.0026973826, 0.0313520283, -0.004945654, -0.026147332, -0.0023812165, 0.0319778286, 0.0100832507, 0.0333231911, 0.0265704021, -0.0216070507, 0.0453385264, 0.0706521198, 0.0554840229, -0.0065602758, -0.0679353178, -0.0090662902, -0.0870784596, -0.0455538295, -0.0549189709, -0.0275104102, 0.0081774816, 0.1246365085, 0.0319174193, -0.0168013759, 0.051096309, -0.0406811163, 0.0430296063, -0.002729225, 0.0006860468, 0.0210914444, -0.0126920454, -0.0016289764, -0.0288141631, 0.0297965072, -0.0284742024, -0.0054814061, 0.0266566146, 0.0891393721, 0.0003977011, -0.0335406251, -0.0498171225, 0.0223360471, -0.0232442897, -0.0513988845, 0.1233329028, -0.0167674664, 0.0052877865, -0.03248851, -0.0162914917, -0.0337250121, -0.0143306321, 0.0022189002, 0.0156609975, 0.0444077104, 0.0266634952, -0.013951025, -0.0442543849, -0.0980978012, 0.0263471249, -0.0107372431, -0.076144591, 0.0154850641, -0.0650890693, -0.0185470227, 0.0520175062, 0.0205133911, -0.0223218706, 2.16294611e-34, -0.0017582247, 0.000439736, -0.0224403664, -0.02501918, -0.0143113015, -0.0005355599, -0.0328124762, 0.0146468999, -0.0157875232, -0.0684790313, 0.0216694735 ]
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.
Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theory: 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.057422623, -0.0343694128, 0.0120804282, -0.0387028307, 0.0159639027, 0.0439490303, -0.0130243097, 0.0763979554, -0.0150678204, -0.0259137228, -0.0199614055, -0.0092705917, 0.0185689423, -0.0073511815, -0.0804836899, -0.0069989841, 0.0292992815, 0.0562935658, 0.0180272348, 0.0300991908, 0.0317475237, -0.0516806878, 0.0665163025, -0.0144214192, -0.0472329594, -0.0039148754, 0.0177061353, 0.0255530886, -0.0625283122, 0.0344792157, 0.0487540364, 0.0228059571, 0.0009882336, 0.0000021928, -0.0228893757, -0.008826362, -0.0049231369, -0.0185654536, -0.0233229883, 0.0390843451, -0.0557999983, 0.0231175199, 0.0398846678, -0.0082678795, 0.0053938427, 0.0230288748, 0.0880344436, 0.1051307023, 0.0527849086, -0.0165681504, -0.0071890182, -0.0166697223, -0.0050331228, -0.0474537462, -0.047937531, 0.0267532486, 0.0089124907, 0.0119324289, -0.0210674163, 0.0006316666, 0.0100020058, -0.0361173861, -0.0096396087, -0.0288622826, -0.01712499, -0.05840436, -0.028590586, 0.0002398347, 0.0945170894, 0.0607936084, 0.0420581065, 0.0127044786, -0.0188806728, 0.0212309156, -0.0507347584, -0.0372661315, 0.0247253124, -0.0021467272, 0.001916044, 0.0172859728, 0.0038793108, -0.0168424491, -0.0082191965, 0.0500657782, 0.028782649, -0.0389586948, -0.0339917131, 0.015534577, -0.0223905575, 0.000068543, -0.0728635192, 0.0254067723, 0.0334034637, -0.0750328898, 0.0416461974, -0.0386806726, -0.0041743317, 0.0238692854, -0.0066861585, 0.0524654686, 0.0482512675, 0.001860316, -0.0008819633, 0.0814893842, 0.029270757, 0.0377255119, 0.0254170448, 0.010931137, 0.0208626166, -0.0824287757, 0.0095110731, -0.0571136437, 0.0156911556, -0.0281483009, -0.0231891479, -0.0597256161, 0.0387254767, -0.0277833622, 0.0176962409, -0.0223770477, -0.0078521064, -0.0136903562, 0.0166153442, -0.0165313892, 0.0231277309, -0.0161951073, 0.0144070443, 0.0340688415, -0.0865967274, 0.024737671, -0.0116077103, -0.0137967449, -0.0105751101, 0.012732177, 0.0278008953, -0.0192325246, -0.0168908741, -0.0313472226, -0.0370792337, -0.0374677032, -0.0348253585, -0.018198736, -0.017863296, 0.0572255328, -0.0057597728, 0.0192515757, -0.0336428545, 0.0500308238, 0.0051620645, -0.068516694, 0.1068679765, -0.0189504493, 0.005834158, 0.0269895941, 0.0551264808, 0.0292158183, 0.061611969, 0.0086592184, -0.0017892972, 0.0395586714, -0.0292630102, 0.0197741222, -0.0084550856, -0.0062310379, -0.0233192686, 0.0120346975, 0.0150527833, 0.0017390198, 0.0771071538, -0.0381786712, 0.0207748991, -0.0265523698, -0.0074781803, 0.0637877211, 0.058688838, -0.0080651622, 0.0360489301, 0.0070151272, 0.065954484, 0.0164831616, -0.0322672427, -0.0487863719, 0.0031704896, -0.046561297, -0.0354311243, -0.0093148351, -0.0200555827, -0.0467580073, -0.0421516448, -0.007554519, -0.0273712892, -0.0314263068, 0.0075558848, -0.0403261185, 0.0091479644, -0.0166080743, 0.0357333384, 0.019350823, -0.0281848237, -0.0699532628, -0.0500591323, 0.0025573305, 0.0767955258, 0.0489287898, -0.0317398794, -0.0329372734, -0.0238338336, 0.0187668186, 0.0467597358, 0.0189253148, 0.0026924023, 0.033209715, -0.0396044701, -0.0185308754, 0.0190323312, -0.0011005744, 0.0032714745, -0.0149287581, 0.0054749064, -0.0162485298, 0.0428828523, -0.0087852543, 0.0512900911, -0.0182124097, -0.0402524509, 0.0101425238, -0.011179016, 0.0532421395, 0.0197602026, -0.0079287887, -0.0056375619, 0.0251973663, 0.0083634937, -0.0128803561, 0.0387551747, -0.0487811305, -0.0249823797, 0.0194112025, 0.0006025774, -0.0117912171, 0.0285760667, -0.022863809, -0.0008261167, 0.0408706851, -0.0520334989, 0.0775806829, -0.0049760961, 0.0287623629, -0.0036174932, 0.0298984181, 0.0029647432, 0.0031557691, -0.0232079662, 0.0150566464, 0.0070184525, -0.0142443189, -0.0422488824, -0.0309521146, -0.0004435937, -0.0054866658, -0.0061830124, 0.0050379639, -0.0145193683, 0.0429607742, -0.0519249551, -0.0407235064, -0.1068802774, -0.0060175476, -0.0098191127, -0.0386808962, 0.0185201913, -0.031896688, -0.0246875696, -0.0218061246, -0.0582411923, 0.001238323, 0.0255043469, 0.0265551452, 0.0207021385, 0.0248125084, -0.0429634824, -0.0333192684, 0.0040270551, -0.019094402, 0.0190258473, -0.0377791822, -0.0075862822, -0.0315511934, 0.0265205074, -0.0287157632, 0.043171186, -0.0621600151, -0.0553902872, 0.0308853909, 0.0329149067, 0.0536868982, 0.016053224, 0.0487322323, 0.0245679803, -0.0115446001, 0.0013741596, -0.0584197901, 0.0155953178, 0.0041505913, -0.0494255349, -0.0736364052, -0.0626821369, 0.0167104192, 0.0365931019, 0.0200434681, 0.0297182966, -0.0357804373, -0.0238778796, 0.0469842777, -0.0097546708, -0.0153612932, -0.0051979595, 0.0012249945, 0.0113419872, -0.0098900385, -0.0048061782, 0.0511040278, -0.0140144294, -0.0376337841, -0.0299702194, -0.0452546477, -0.0316632912, 0.044453226, 0.0103109358, 0.009751468, 0.0585611612, -0.0265074596, 0.0245326925, -0.0711328611, -0.0047718519, -0.0393549874, 0.0079730153, -0.0688155144, -0.0042164675, 0.0272407904, -0.0260094684, -0.0740662292, -0.0401137434, -0.0314227007, -0.0163498651, 0.0315960348, 0.0109578455, -0.0806970745, -0.0466678627, 0.0335022844, 0.0410747118, 0.0043295561, -0.0472904779, -0.0028159278, -0.0196048617, 0.0273683667, -0.004432105, 0.016357528, -0.0216180049, 0.0669559836, 0.0549152531, -0.0199442245, 0.0058038016, 0.0125158345, -0.0056005861, -0.0185226928, 0.0302722733, 0.0126538863, 0.0157301091, 0.0388685875, -0.0134546719, -0.044302471, 0.1207859367, 0.0353314728, -0.0651522204, -0.0023423538, -0.0251803063, -0.0174906701, 0.0206396952, -0.0264462829, -0.0598555617, -0.0294943918, -0.0188085865, 0.0544702932, -0.0500917025, -0.0365204662, -0.0192586891, -0.0666836128, 0.0355539173, -0.0169588774, 0.0254238229, -0.0329800583, 0.000038325, -0.0010644383, -0.0074808453, 0.0012155535, -0.025340965, 0.0122696152, -0.0114980163, 0.0003566042, -0.072653994, -0.0334460028, 0.058230307, -0.0021682566, 0.0973446518, 0.0251691639, 0.0603528544, 0.0157951601, -0.0420302078, -0.0313484706, 0.0489629284, -0.0146785583, 0.0340570509, 0.0671043321, -0.0149480505, 0.0171854794, -0.0149779655, 0.0627733618, -0.0628289059, -0.0195136946, 0.0494691357, 0.0424965695, -0.0330771059, 0.007298267, -0.0148157394, 0.0819905177, 0.0523029193, 0.0537107028, 0.0209522098, -0.0493105911, 0.0095553882, -0.0075529478, -0.0022514132, 0.0076834545, -0.0238849651, -0.0011586186, -0.0096836919, 0.0198912509, -0.0292957723, -0.0582155772, 0.0459446274, -0.0246420987, -0.0156424455, -0.0496617034, 0.0060760612, 0.0382650234, -0.0198849496, 0.0368879475, -0.0303260349, 0.0297752116, -0.0670790672, -0.0279510748, 0.0340650603, -0.0448724888, 0.0028780671, 0.0601456128, -0.0326941051, -0.0247562062, 0.0451870598, 0.0214049835, 0.0124498401, 0.0167453773, 0.0240811072, -0.0202375408, -0.0404592641, 0.056267675, -0.0559445247, -0.0152205145, 0.0280161072, 0.0738359168, 0.0079448977, 0.0400200561, 0.0191529784, 0.071182847, 0.015044488, 0.0101956306, -0.0735089406, -0.0438890979, 0.0177528765, 0.0211768262, 0.01213443, 0.0232907981, -0.0020238126, -0.0099926256, -0.0245207269, -0.0382391736, -0.0302630272, -0.0377749689, -0.0092061106, 0.0091040609, -0.0217673648, 0.0043940903, -0.0738584027, -0.0753488988, -0.0186768994, -0.0357092619, -0.0077304719, 0.0209239665, -0.0089865057, -0.024424525, -0.0154023571, -0.0094573358, 0.0213202164, -0.0099838991, 0.0387840047, -0.0063585625, 0.1131706983, 0.0139173232, 0.0113161197, 0.0346140675, 0.0215796158, -0.0446037576, -0.0688175112, -0.0061641857, 0.0305128898, 0.0180134848, 0.0565260164, 0.0072018839, -0.0482098907, 0.0171632841, 0.0093437769, 0.0543183126, -0.010431421, -0.0464003608, 0.0251596849, 0.0166705139, -0.0251494367, -0.0176113062, 0.023116596, -0.0319186263, 0.0142951822, 0.0081395954, -0.0317231826, -0.0589587428, -0.0066732075, 0.0023026585, 0.0618869998, -0.0051521389, 0.0028022146, -0.0486949645, -0.0511112511, 0.0108660469, -0.0180483647, -0.0046852948, -0.030140318, 0.0343391225, 0.0111362208, 0.010375618, -0.0369614922, -0.0671060681, 0.0504411869, -0.0070969788, -0.0220045075, -0.0396214165, -5.392948044e-33, -0.0157617424, 0.0039533, 0.0181364994, 0.0348446071, -0.0123734148, -0.0178499464, -0.0226153303, 0.039268557, -0.019346457, 0.0152349891, 0.0080647925, 0.0790049508, 0.001923494, 0.0372283906, 0.0141385486, 0.0407782309, 0.0273620021, -0.0291757025, -0.0139355417, 0.028436061, -0.0135726845, 0.0542573668, 0.0451315567, -0.1271141917, 0.039172899, 0.0046534287, -0.0200725682, 0.0043221302, -0.0107331648, 0.0402479768, -0.0304528475, 0.0384716094, 0.0215537213, -0.0078753168, 0.0038648555, 0.0091353897, -0.0326718539, -0.0149697727, 0.0187113471, -0.0032833628, -0.061339654, -0.0001871863, -0.0315784775, -0.0389600433, 0.0181315951, -0.0343345515, 0.0207737405, -0.0492904, 0.0161631461, 0.0162095111, -0.0073104561, -0.0083011938, -0.0388132967, -0.0248269271, -0.0317948759, 0.0657500103, -0.0402898863, 0.0220507979, -0.0519035943, 0.0303659085, 0.0487768501, -0.0142748617, -0.0025611389, -0.0220562927, -0.0097800754, 0.0336837769, 0.0134395687, -0.011493641, -0.0085345646, -0.0002994535, -0.0054335529, 0.0402886458, 0.0266281497, 0.0425997749, -0.0186899379, -0.0392733291, -0.0106789349, -0.0137009276, 0.068927303, -0.0248812251, 0.0485301316, 0.0021954232, -0.027050212, -0.0153554725, -0.0417195261, -0.021719126, -0.0034536987, -0.0029539578, 0.0249558892, 0.0150269205, -0.0217472408, -0.0072704935, -0.0130101079, -0.0162586588, -0.0014041247, 0.0213560741, -0.0145985531, 0.014367843, -0.0044295611, -0.0063715386, -0.0613004901, -0.0289194174, 0.0129596833, 0.0021417551, 0.060156364, -0.0157720763, 0.0407348238, -0.006516736, -0.0477013998, -0.0227793604, -0.0027652709, 0.119043164, -0.0144352783, 0.030339282, -0.0632807761, 0.0018782296, -0.0481533185, 0.0568457693, -0.0038970092, -0.0281682368, -0.0683942363, -0.0299144108, -0.0131829074, 0.0133682312, -0.0390119925, -0.0428296216, -0.0263274889, -0.002994617, 0.0789470449, 0.0179596543, 0.0102155553, -0.0164392646, 2.804e-7, -0.0121933334, 0.0273370929, -0.0001958204, 0.0563119836, 0.0292028338, 0.0487182289, 0.004098611, 0.0819965452, 0.0338379927, -0.0569639467, 0.0021558667, 0.0144300545, 0.0492500775, 0.0207226928, -0.0267604254, -0.0630136579, -0.0180694573, -0.052924715, -0.0603298396, -0.0018110784, 0.0646099895, 0.0832818374, 0.0365270004, -0.0163875408, -0.0041281581, 0.0409976542, 0.033632379, -0.0527315363, -0.0168727897, 0.047517132, 0.0162471477, -0.0018419649, 0.0146449944, 0.0425803885, 0.0111024035, 0.0164836254, -0.0561697818, 0.1077133566, -0.0360862277, -0.0371431932, 0.0216135606, 0.0272385031, -0.0145713361, -0.0052585579, -0.0002299104, -0.0894504786, -0.0335951746, -0.0046887109, -0.0148800425, -0.0481339246, 0.0418929793, -0.02117287, -0.0199707374, 0.0445687175, 0.0115651675, -0.0268418938, 0.0419680737, -0.0571482852, 0.0323652625, 0.000736975, -0.0600374117, -0.0099892756, 0.0077518788, -0.0137455119, -0.0339771695, -0.0550247654, 0.0385872498, 2.187427846e-34, -0.0064846654, 0.0353974141, 0.0437419787, 0.0128133409, 0.0459233001, 0.0215855725, 0.0236850474, 0.0370554067, 0.0003488059, -0.0482761413, -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.
A Case Study on Context-Aware Neural Machine Translation with Multi-Task Learning: 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.0072985347, 0.0239741132, 0.0100927372, 0.0573148616, -0.037515901, 0.0129428534, 0.0390482359, -0.0355550721, -0.0747215152, -0.0112708174, -0.050354816, -0.0336858258, 0.0310858842, -0.0259315278, 0.0408415087, -0.013707825, 0.0270608496, 0.0039582406, -0.0203534346, -0.0075460384, -0.0071950895, 0.01052221, 0.0408323333, 0.0370470025, 0.0005284954, -0.0170016903, -0.0028143076, 0.039741233, 0.0165221822, 0.0288338587, 0.0065005608, -0.0054660761, 0.047750406, 0.0641091615, 0.0000019452, -0.0266197827, -0.0455902033, -0.0103455763, 0.0107938601, -0.031051157, 0.0535555296, -0.0775387958, -0.0373786166, 0.0158363376, -0.0038290403, -0.0011352452, 0.0315279141, 0.0166957453, 0.0567024909, 0.0909505785, -0.0319491178, -0.0277923066, 0.0196155012, -0.0633736923, 0.0015735242, -0.0672152117, -0.0215038192, 0.004632243, -0.0396731049, 0.0207511913, -0.0140760299, 0.044309292, 0.0330971442, 0.0129528288, -0.0418528877, 0.0109550944, 0.0206981283, -0.0370816179, -0.0188785214, 0.0660266727, -0.0514778197, 0.0053781355, -0.017682597, -0.0009490671, 0.0062931757, -0.0449220501, -0.047697112, 0.0375259183, -0.0202042349, 0.0235883798, 0.0476643331, 0.036898613, 0.0372035801, -0.011730751, -0.0044848491, 0.0217413511, 0.0098466221, -0.0238769706, 0.0049600811, 0.0510896668, -0.0135695608, 0.0022150842, 0.050468117, 0.0029722331, -0.0358879976, 0.0305374023, -0.0817983747, -0.1194091886, -0.0117824553, -0.0798196942, 0.0143162915, 0.0471956432, 0.0005929067, 0.0407352, -0.0105425045, 0.0404627435, -0.0533882231, -0.020097822, -0.0667498037, -0.0581976734, -0.018706847, 0.0390079878, -0.0476047732, 0.0144839939, -0.0762172937, -0.0254923571, -0.0142301256, 0.0585483275, 0.00534466, -0.0085481899, 0.0166617855, -0.0312958807, -0.0781280175, 0.0041285791, 0.0382751934, 0.0597021617, -0.0086609414, 0.0089194393, -0.0078139268, -0.0142403003, -0.0288450941, 0.0133800395, 0.0114949644, -0.0627216324, -0.0018919222, 0.0697489381, -0.0434509888, -0.0162024368, -0.0283180866, -0.0181139689, -0.020805575, -0.0358067229, 0.0015730932, -0.0503770187, 0.0734595582, -0.0044835024, 0.0144991009, -0.0330263786, -0.0236331206, 0.0201382302, -0.0338538438, 0.0709066167, -0.0067017553, -0.0458985344, 0.0405785404, -0.0092676869, -0.01955094, 0.0901592672, 0.0589919388, 0.0094013149, 0.0092706727, 0.0257737674, -0.0676517114, 0.0227276273, 0.0247420948, 0.0061097802, 0.0085666422, -0.0204199236, 0.0130407652, 0.0257895105, 0.0611510128, 0.054140076, -0.03864301, 0.0322370939, 0.0509347469, -0.0072238506, 0.0245545134, 0.00516361, 0.0530292019, -0.0133806989, -0.0496375337, 0.0253524631, 0.0039455569, 0.0097236689, -0.0125480117, -0.0007562519, 0.0210908335, 0.0369238183, -0.0311867613, -0.0188712031, 0.0096250996, -0.0544751547, 0.0266451258, -0.0394234471, 0.0467453562, 0.0110652037, -0.0805935115, 0.0090213008, -0.0085162427, -0.0439970829, 0.0297221299, 0.0031153054, -0.0509340204, 0.0408661403, 0.0327713899, 0.002673845, -0.0536895879, -0.0242855716, 0.0094748661, 0.0452087633, 0.0510109141, -0.0034113505, 0.0498047099, -0.0504814759, -0.0292541794, -0.0522410795, -0.0042284285, 0.0312320627, -0.0236845482, 0.0279878639, 0.0306309331, -0.0038391787, -0.0035876338, 0.0211900789, -0.0307396371, -0.0025318682, 0.0286637209, 0.0113931084, 0.0307320952, 0.0114573939, 0.0060100961, 0.0057345894, 0.0200736579, -0.0513122641, -0.0163783189, 0.047950305, -0.0852812901, -0.0787376165, 0.001372151, -0.0300243404, -0.0058743237, 0.0138826584, -0.0321931466, -0.067644991, -0.0111984685, -0.0323537923, 0.0232915785, -0.0145290494, 0.0162358209, 0.0018394582, 0.0069394326, -0.0202394016, 0.0606489703, -0.019069368, -0.0152514791, 0.0340208486, 0.0185554158, 0.0136930002, -0.0200614389, -0.0287646968, 0.0015308668, 0.0160389636, 0.0382933691, 0.0371989943, 0.0318411291, 0.0044707796, -0.0369899683, -0.0593628027, 0.0158632249, -0.0451171398, 0.034816172, 0.0498644188, 0.0432734936, 0.0317400359, -0.030393146, -0.0270220488, 0.0411762111, -0.0175348856, 0.0260823015, 0.0377345458, 0.0057403124, 0.0283579174, -0.0131011233, -0.026250029, 0.0086659854, 0.0483435951, 0.0177638587, -0.0549899526, -0.0723621473, 0.0346771218, 0.0366469212, 0.0258580539, -0.0173541494, 0.0159669258, -0.0009254959, -0.01666319, 0.0633329526, 0.0643648431, -0.0235052388, 0.0387087092, 0.0183299948, 0.0119464323, -0.0515133776, 0.0217205305, -0.0018990203, -0.0067789373, -0.0546788909, -0.0138776461, 0.032315135, 0.0487403683, -0.0064250822, 0.0086137829, -0.0447089337, -0.0021890742, 0.0037037658, -0.0414808914, -0.0349639207, -0.0286176503, -0.0073928568, 0.00285118, -0.0170777962, -0.0128223207, 0.040503446, -0.0154380649, -0.0089773601, -0.1028782055, -0.0023765704, -0.028186135, 0.0374471545, -0.0238867626, 0.0358497947, -0.0078148143, -0.0496283062, -0.0436308347, 0.0449391454, -0.0025987625, 0.019264508, 0.0265303683, -0.0382479131, -0.0097559951, -0.0372876599, -0.0328589529, -0.0157766901, -0.0138831185, 0.0019468317, 0.0275300089, 0.0506308079, 0.0023029838, -0.0369839184, -0.0034274145, 0.0118874004, 0.0883002579, -0.0154208029, -0.0210995525, -0.0344247147, 0.0804342702, 0.0132869286, 0.0258831028, 0.0216430519, -0.0568662696, -0.0078875562, 0.0314774588, 0.0417460389, -0.0217318889, -0.019309653, -0.0038132202, 0.042689424, 0.01065352, -0.0264631826, -0.0201489143, 0.0497809574, -0.0368625633, -0.0300712902, 0.1056603193, 0.0167858209, -0.0870140642, -0.0232164115, -0.0058026295, 0.0039574429, -0.0042496831, 0.0196585525, -0.0675931275, -0.0316902995, 0.0177394561, 0.0107237278, 0.0405686498, 0.0378989428, -0.0276542138, -0.069659628, -0.0147484075, 0.0348300599, -0.0594809279, -0.0213138573, 0.0060130963, -0.0248104259, -0.0210161041, 0.0758954883, 0.0051464019, 0.0265670847, -0.0273737628, 0.0039321813, 0.0616476499, -0.0962929428, -0.005227223, -0.055931367, 0.0229586177, 0.0613488145, 0.0123611456, -0.0130211879, -0.0092549901, 0.0369571038, -0.0150265945, 0.007848504, 0.0035577936, -0.0025038563, -0.0351571888, -0.0080626411, 0.0149721056, 0.0134536335, -0.0562049188, 0.0326206721, 0.0001977329, 0.0491768084, -0.0195443202, 0.0055050207, 0.0069420189, -0.0382036604, 0.027822746, 0.0662958398, 0.0125904111, -0.0696842968, -0.0059425673, -0.0138841039, -0.0118390769, -0.0865061134, 0.0630122125, -0.0029165463, -0.0247171763, -0.0379955657, -0.0785870925, -0.0536744781, 0.0029686892, 0.0531617813, 0.0048381495, 0.0083936909, 0.0291455276, -0.0279975012, -0.0266664866, -0.0043359669, 0.0084925536, 0.012401389, -0.0302830599, 0.0368601158, 0.0457093902, -0.0088608433, -0.0027187781, 0.0427606776, -0.1111333892, -0.059732832, -0.0427348949, 0.0279228669, 0.0108229406, 0.0756147057, -0.0424032807, -0.0234593898, 0.002465524, -0.0032584681, -0.0335695148, 0.01622626, 0.0436925255, -0.0278550554, -0.0222837292, 0.0301450305, -0.0362620279, 0.0093716476, -0.0140220635, 0.0321543887, -0.0230000149, -0.011269819, 0.0162753593, -0.0258746259, 0.0169386547, -0.025251789, 0.0093286922, -0.0167084727, 0.0378677472, -0.0140704056, 0.0041349912, -0.0540205464, -0.0349552594, 0.0253108386, -0.0073295301, 0.0177966133, 0.0264204834, 0.051344052, -0.0128230369, -0.032043267, -0.0173013341, -0.0104805259, 0.0279193055, -0.0082693119, 0.0409484543, -0.0026958517, -0.0111355176, 0.031481538, 0.0116493329, -0.062990889, 0.0290334895, 0.0306585878, 0.0082844356, 0.013010324, 0.062854439, -0.0761188269, 0.0536144972, -0.0277110115, -0.018255081, 0.0974719301, 0.0170616973, 0.1219054013, -0.0072686505, -0.0017309238, -0.0153082246, 0.0304356124, 0.0108976783, -0.0166903231, 0.0083011687, -0.0167324897, 0.0114814043, 0.0138575975, 0.1084622815, -0.0091373846, -0.0086949999, -0.0071351151, 0.0028796662, -0.0308495313, 0.006974726, -0.0146094868, 0.018343756, -0.0146696335, -0.0237482619, 0.0054663015, -0.0266738068, 0.0288786814, -0.0030811855, 0.02022334, 0.0046341741, 0.0229112282, 0.0957138911, -0.0345308222, 0.0235109795, -0.0089689614, 0.0137940962, 0.0147041455, -0.0432125852, -0.0401411168, -6.115045407e-33, -0.0502057746, 0.0111868856, 0.0163474996, -0.0350444578, -0.0044814926, 0.0281370226, -0.0433763117, -0.0489271432, -0.0267003663, -0.0108255344, 0.010177115, 0.0102269109, 0.0209256876, 0.0262853801, 0.0015255795, 0.0055862064, 0.0516646951, -0.014669247, 0.0036877249, 0.0155274989, 0.06007424, 0.0155904097, 0.0808390453, -0.0487584993, 0.0341040604, -0.0011773725, -0.0006806219, -0.0092006782, 0.0269096959, 0.0263814535, 0.0259947851, 0.0354729742, 0.0260412488, -0.0469050258, -0.0458003581, 0.0388758555, -0.1238270998, -0.0254574772, 0.0052740327, 0.0396558754, -0.0433882438, -0.0672127381, 0.072539717, -0.0009321118, 0.0179199334, -0.0010305271, 0.0104452372, -0.0000158435, -0.0483519435, -0.055806011, -0.0634252578, -0.0187693015, -0.0035325456, 0.0047150073, 0.0184130594, 0.0709988996, 0.0025073919, -0.0032328051, -0.1037070304, 0.012914978, -0.0763515234, 0.0197520964, 0.053846404, -0.0083611431, -0.0217624959, 0.0068487441, -0.0129179442, 0.0347776078, 0.0101333698, -0.0044768965, 0.0369518213, 0.0063108387, 0.0508643501, 0.0245059021, 0.0145936226, -0.0021433067, -0.0755337104, 0.0333408378, 0.0521466695, -0.0127059128, 0.0355081633, 0.0249357317, -0.0165829025, -0.0277393851, -0.0100320568, -0.0232194494, -0.0256297253, -0.0162661858, 0.0009065037, 0.01004506, 0.0194547344, 0.0148355858, 0.0861713812, -0.0320461504, 0.0432290286, 0.0350542255, -0.0253832825, 0.0257287603, -0.0055571776, 0.0429746509, -0.0073913285, -0.0387248173, 0.0011211864, 0.0334680043, 0.0041672648, 0.0197577979, 0.0693953633, 0.019706687, -0.0170028415, -0.0159527101, -0.0577593371, 0.0143199237, -0.0035286541, 0.0272974391, 0.0301321, -0.0144893927, -0.0116752507, 0.0357020572, 0.0461207516, -0.0050453055, -0.0103975981, -0.0110178282, 0.000538212, 0.0326185822, -0.0249588452, -0.0021238781, -0.0171348713, 0.0412876867, 0.0622326322, -0.0531832911, -0.0237968545, -0.0004408675, 2.689e-7, 0.0486084931, 0.038285844, 0.0141287316, -0.0159429573, 0.0528039671, 0.0247057993, -0.0421195962, 0.0618588589, -0.0146780936, 0.0372075252, 0.0195236802, -0.0260749217, 0.0513203591, 0.0260935165, -0.0790406987, -0.0478317328, -0.0372685902, 0.0587382987, -0.0323018618, 0.0394281186, 0.0215021502, 0.0821220502, -0.0121251708, -0.0158927832, -0.0148572512, -0.0259713698, 0.0738625377, -0.0084306467, -0.0257121697, 0.0056407535, -0.0237331744, 0.0056116022, -0.0313083082, 0.0121199731, -0.044985082, 0.0143740801, 0.0327864215, 0.072690174, 0.0094491458, -0.0389709324, 0.0378072746, -0.0044399817, -0.0219433624, -0.0045076679, 0.06851767, -0.0639331341, -0.0227941051, 0.0052289348, 0.0000708613, 0.0239206348, 0.0122713195, -0.0078072413, -0.0408496633, -0.0066947825, 0.0387484916, -0.0024952078, -0.024801597, -0.0517183058, -0.0277082343, 0.0012963389, -0.0271710064, -0.0332687162, -0.0162264798, -0.0339047723, 0.0370817855, -0.0346344933, -0.0081821391, 2.47167914e-34, 0.0401909053, -0.0117366193, 0.0309129842, 0.0159045123, -0.0189088043, -0.0231810398, -0.0690288469, -0.0051365267, 0.0083275661, -0.0336439423, -0.0417823121 ]
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.
ALTER: Augmentation for Large-Table-Based Reasoning: 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.0315442272, 0.0747891515, -0.0242644846, 0.0242976435, -0.0355035737, 0.0421659797, 0.0052354522, -0.0104151908, 0.0224285368, -0.0322885104, -0.0139784953, -0.0121057173, -0.0693254098, 0.0367211476, 0.0348566435, 0.0171106923, 0.0421612933, -0.0181715656, -0.0275941454, 0.0180794299, 0.0118555641, -0.0161446873, -0.0142582897, -0.0055471375, 0.0105599165, 0.0023374339, -0.0399489254, -0.0190195348, -0.0230517443, -0.007333253, -0.0259615388, 0.0732705742, 0.0736836568, 0.0178966057, 0.0000022228, -0.0018377331, -0.0502073094, 0.0061950623, -0.0556867495, 0.0021889647, 0.0437084287, -0.0045306273, 0.0157618318, -0.0008888252, -0.0506839864, -0.0458266549, 0.0075476319, 0.0771261007, 0.0458161682, 0.0436794087, -0.0018012328, -0.0454747602, -0.0008426277, 0.0170795377, 0.0843557268, -0.0512582399, 0.0252651237, 0.0303713214, 0.0424023643, 0.0012079985, 0.0127990805, 0.0342901088, 0.0512192436, -0.0284237508, 0.0291960537, 0.0293673258, -0.0284229461, 0.038673792, 0.022911489, 0.0734658241, 0.0672504306, -0.0091001587, -0.0021788825, 0.0194407143, 0.012205123, 0.0051856609, -0.050036151, 0.0139504662, 0.009597376, -0.0219457708, 0.0198484994, -0.0189422779, 0.0383785553, 0.0112326024, -0.0719578639, 0.0981725082, -0.0047544874, -0.0497237369, 0.0018861177, -0.0281625167, -0.029647056, -0.0268010926, 0.0244794134, 0.0703318715, -0.0585624315, 0.0324585028, 0.0251799896, -0.0632844195, 0.0197125934, -0.0435858108, 0.003002095, 0.0345299169, 0.0024911989, 0.0554028489, -0.0245863311, 0.010406225, -0.0344400294, 0.0130467787, -0.0545978695, -0.0289807934, -0.0498062335, -0.0183618758, -0.0428603329, 0.0533520207, -0.0777800232, -0.016140949, -0.0143367425, 0.0163977537, -0.0119191129, 0.0271632038, 0.01002564, 0.0434547812, 0.002107064, -0.0032315622, -0.0594925135, 0.0108993696, -0.0583737604, 0.0276592486, -0.0062168641, -0.0663612112, -0.0044471622, -0.026670767, 0.021652462, -0.0474370867, 0.0446154326, 0.0497777387, -0.0425335206, -0.0128864851, -0.0582536682, -0.031372577, -0.0168759394, -0.0646310896, -0.0093177771, -0.0360006839, 0.0606822222, 0.0206392761, -0.0212278906, -0.0288772248, 0.0041128737, 0.0466818325, -0.0223680716, 0.0777633414, 0.0262552947, 0.0087906253, 0.0117251808, -0.0035891207, -0.028145859, 0.0721946806, 0.0195454303, 0.0006498597, -0.029531613, -0.0270687751, -0.0386233516, 0.0034802642, 0.0128988158, -0.0172557961, -0.0121402713, 0.0570872203, 0.0086644161, 0.0312615186, -0.0462947525, 0.0285079982, -0.0310635176, 0.0342469849, 0.0414692126, 0.0138936937, -0.0037306361, 0.0390968435, 0.006654439, -0.0071655172, 0.0087190671, 0.0001291509, -0.0478574112, 0.0424201265, -0.0372327976, -0.0036997916, 0.0330073647, -0.0005524512, -0.0072752186, -0.060440246, 0.0159218367, 0.023796482, 0.0263827182, 0.0343434885, 0.0568160079, 0.0050289324, -0.0231644306, -0.0066163796, 0.0147682754, -0.0440630913, 0.0128676714, -0.0112172812, 0.0436429419, 0.0607896075, 0.0462916866, -0.0993096456, -0.0309514478, -0.0049916529, 0.0225917865, -0.0070366361, 0.0158970319, -0.0245715547, -0.046529837, -0.0306215249, -0.0165487304, 0.0070261857, 0.0280317795, -0.0225458071, 0.0285850801, -0.0083005168, 0.0061866799, -0.0679511577, -0.0103523284, 0.0089816581, 0.0013920034, -0.0111089526, -0.0135705154, -0.001500533, 0.0070593492, 0.0341938213, 0.012214344, 0.0402454063, 0.0433283411, -0.046831876, -0.0265018269, -0.0047541969, -0.0300303008, 0.0025885489, 0.0356154591, 0.02785182, -0.0663749129, -0.034677282, -0.0435650311, -0.0400850661, 0.0360533297, -0.0149783446, -0.0016827141, -0.0605281852, 0.000602292, 0.0049436404, -0.0054182294, -0.0098905293, 0.1035517454, 0.0048084343, 0.009374843, 0.0077990768, -0.0513953865, 0.0088572558, -0.0315729156, 0.0126077514, -0.0143954149, -0.0116772912, 0.003683368, -0.0043489328, -0.0183284488, -0.0899551585, -0.0029869427, -0.0785696134, 0.0427377671, -0.037157055, -0.0021965967, 0.0025698512, 0.0171061438, 0.014712085, 0.0039264592, -0.0501183756, -0.0091002444, 0.0093376003, 0.0226688273, 0.0484770685, 0.011671884, -0.000645166, -0.0057570999, -0.0206738096, -0.0433130562, 0.0213561989, -0.0103574172, -0.0033272835, 0.011498332, -0.0394503959, -0.0226885173, 0.0232608393, 0.0081917616, 0.0227932725, -0.0102397399, -0.0665688217, 0.0239608493, 0.0536637157, -0.0281017944, 0.0132993776, 0.027936846, -0.0049897907, -0.0352369696, 0.0286365878, 0.0009164754, 0.0131288543, -0.0004342243, -0.0506180301, -0.0080226501, 0.0149390344, -0.0308480151, -0.0136372978, -0.0342895314, 0.0090834098, -0.0117897075, -0.0174424946, -0.0720047057, 0.031058941, 0.0249522999, 0.0121121518, -0.0136632174, 0.0213158652, 0.0529126823, -0.0222255047, 0.0026852284, -0.0425176099, -0.0024751199, -0.0666819811, 0.0832688212, 0.0195658803, -0.0045975312, -0.0444124117, -0.0390346199, -0.023234494, -0.0130634913, 0.0137594258, -0.0372751877, 0.1045229509, -0.0495459363, -0.0009444301, 0.0079903007, -0.0328316912, -0.024956733, -0.0431712642, -0.0344124399, 0.03097298, 0.0314217322, -0.0146925533, -0.0329187736, -0.028328117, 0.0237148032, 0.0316793621, -0.0215372369, -0.010357609, -0.044531364, 0.0073530548, 0.0449106582, 0.0476212054, -0.0055220025, -0.0192069411, 0.0426402315, 0.0486000478, 0.0150630195, -0.0781665295, -0.033937782, 0.0585751906, 0.0073778294, -0.0160540882, 0.0208883099, 0.0226597413, -0.005553199, -0.0754867047, -0.0191418603, 0.100339897, 0.0444839783, 0.0071103671, -0.0095948093, -0.02802746, 0.0354826227, 0.029008992, 0.0546649881, -0.0878376216, -0.0341572687, 0.0050410242, -0.0360530354, 0.0114492811, -0.0698999092, -0.0106173027, -0.1015646905, 0.0453944057, -0.031555634, -0.0517558008, -0.0576499254, -0.0274526551, -0.0045087188, -0.0052950471, 0.0336874351, 0.0660407767, -0.0106590316, 0.0050227675, 0.0206179675, 0.0008586464, -0.0187833458, -0.0057141385, -0.0484019779, 0.036941275, 0.0111066643, 0.0255669933, -0.0174029656, -0.0275976993, 0.0156194204, 0.0039736577, 0.0237391107, -0.0188704208, 0.0434754752, 0.0265460219, 0.0192712396, -0.0249061268, 0.0253949277, -0.0129307248, -0.0114916647, 0.0340474062, 0.092000097, -0.0433757789, 0.0329679884, 0.0298296381, -0.0085247634, -0.0210879929, 0.062806122, 0.0274056662, 0.0266757682, -0.0457839929, -0.0139086461, -0.0861176923, -0.0298608504, 0.0481808484, 0.039828904, -0.0053361212, 0.0153585793, -0.029952731, -0.0126046361, 0.0876355544, 0.0352537595, 0.0132468324, 0.0723966733, -0.0278870147, -0.0221608412, -0.0434020869, 0.008344193, -0.0532458872, 0.0128513463, 0.0208242331, -0.039739877, -0.0133002698, -0.0627585351, -0.0095069278, -0.0072434209, -0.0331047028, -0.0265972354, 0.0033738625, -0.0017793541, 0.0228270628, 0.0179983452, -0.0229271911, -0.0456121862, -0.0328635126, -0.0141257476, -0.0710486025, -0.0275957361, -0.0018577988, -0.0385185517, 0.0198263489, 0.0328370407, -0.0183006469, -0.0106505044, -0.0092549995, 0.064483352, -0.0129781794, 0.0474640056, 0.055273287, 0.0373631418, -0.0078101982, 0.0471674576, -0.0549921505, -0.0342197679, 0.0522001125, -0.0711181387, -0.0575046465, 0.0182472318, 0.010079463, 0.0347191356, -0.0097594755, -0.0149721224, 0.006132782, 0.0200173836, 0.0304783564, -0.0194853656, 0.0177370142, 0.0501944833, -0.0493588112, 0.0251147337, -0.0120224301, 0.0025361725, -0.0151055986, 0.0290692318, 0.0579883903, -0.0163001474, 0.0471667126, 0.0332838856, -0.0281771552, -0.0711022317, 0.0162015203, -0.0678986758, -0.0760106593, 0.043976482, 0.0395066105, -0.010675488, -0.026132809, -0.0001068485, -0.020771984, -0.0257331207, 0.0289048254, 0.0015442071, 0.0459405817, -0.0410236046, 0.0501725972, 0.0207932759, -0.0071812482, -0.0093682967, 0.0358042642, 0.0009343385, 0.0276111066, -0.0088511817, -0.026157802, -0.0374714956, -0.0120702023, -0.0141558293, 0.0254218392, -0.0391489044, 0.0038848738, -0.0395929925, -0.0506691746, -0.0071010916, 0.0222981852, -0.0462463163, 0.0063694464, 0.0094728479, 0.0552605651, 0.045444943, -0.0345657058, -0.0375296474, 0.0643557385, -0.0240162704, -0.0201961286, -0.002516594, -6.673282899e-33, -0.0147456182, -0.0106411614, 0.0583297499, -0.0755055621, -0.0266796313, -0.0210695304, -0.0419983827, -0.0200485587, -0.0038876748, 0.0118054086, -0.0476630852, 0.0428687297, 0.0119703375, 0.0123651819, 0.0206448343, -0.0899660885, 0.0257190764, 0.0227480661, 0.0087929973, 0.0011678793, 0.0128956763, 0.0207201578, -0.0122278752, -0.0111803086, 0.0397962779, 0.0004362066, 0.0035407974, 0.0261936951, -0.0381830148, 0.0283273086, -0.0201168284, 0.0262586456, 0.029759815, -0.0722039118, -0.01174918, 0.0109477751, -0.1376733482, -0.00663957, 0.0326817222, 0.009643943, -0.0396375135, -0.0238681212, 0.0120465718, 0.0019464045, 0.010498425, -0.0041354955, 0.0174699407, -0.0545132533, 0.0088428007, 0.0197421256, -0.0240867734, 0.0024389853, -0.0168201067, 0.0355918817, 0.0486082509, 0.0340881869, -0.0059215957, 0.0126283029, -0.0399278104, 0.0199014246, 0.0291742664, 0.0087677073, 0.0414151885, -0.0064128828, 0.0161689296, 0.0118906759, -0.0046549179, 0.0112244906, -0.0743662044, 0.0328791291, -0.0396104194, 0.0634643883, 0.0564264953, -0.0021111735, 0.0406711139, 0.0298159067, -0.0638069138, 0.0254422836, 0.0140776504, 0.0350302719, 0.0080513433, 0.0089870263, -0.0258091744, -0.0259509254, -0.0544101931, 0.0705940351, -0.0583712086, -0.0220150724, 0.0242913887, -0.002756601, -0.0096081467, -0.0025751297, 0.0078473976, 0.0019657593, -0.0241509452, 0.0332462639, 0.031503547, -0.0249300748, 0.005004819, 0.024136886, -0.0124505572, -0.0186430626, 0.0311147291, -0.0565760322, 0.0232969653, 0.0349109881, 0.0497263968, 0.0155146681, -0.0362459309, -0.0245760083, -0.055663798, 0.0281993747, -0.0099110696, 0.0106730228, 0.02242787, 0.054068733, -0.0028791956, 0.0528431945, 0.0379733741, 0.0341400579, -0.0252329055, 0.0181904063, -0.0045762919, -0.0165918525, 0.0153728751, 0.0336899832, -0.0194861442, -0.0075888317, 0.0079309279, -0.0700466409, 0.0101159159, 0.0238534492, 2.789e-7, 0.0731215253, 0.0400797762, 0.0291489325, 0.0131324688, -0.0085274717, 0.0090369089, -0.028363876, -0.031112222, 0.0034120686, -0.0300468057, 0.0385966636, 0.0448908955, 0.024722835, 0.0231088325, -0.0108925821, -0.0190427657, -0.0469155498, -0.0165435057, -0.0413529947, 0.0214102939, 0.0726941824, 0.093737103, -0.021101024, -0.0133193098, 0.0117851496, -0.0257372949, 0.0160225462, -0.0290866345, 0.0134926168, 0.0160835776, 0.0395708829, -0.0147938123, 0.0089618471, 0.0797914863, -0.020695854, -0.0119466642, -0.0254890546, 0.0383687988, 0.0042677796, 0.0499090292, -0.0372516513, -0.0847940892, 0.020667322, -0.0621240623, 0.1351780295, -0.0413070433, -0.0339338407, 0.0797136426, -0.0274874605, 0.0000032732, -0.024202615, 0.0235456917, 0.001662128, -0.0090418076, 0.0164732449, -0.0042499569, 0.0237497184, -0.0732970089, 0.0033962301, 0.0452746265, -0.0338078626, -0.0219376516, -0.0283644255, -0.0094422661, 0.005605794, -0.0441771001, -0.0396921262, 2.549047791e-34, 0.0404499359, 0.0330482088, 0.0373684429, 0.0308278706, 0.0845762044, -0.0045656711, 0.0038418109, -0.0027494684, 0.012041199, -0.1300164759, -0.0052911704 ]
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.
Improving Conversational Abilities of Quantized Large Language Models via Direct Preference Alignment: 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.0220755078, 0.0519766137, -0.0086653223, 0.0310357213, -0.0231984425, 0.0149935959, -0.0216613114, -0.0172471721, -0.0013798483, -0.0203917474, -0.0409069434, -0.0293024853, -0.0299046338, 0.045168709, 0.0128698004, -0.0334023312, 0.0641624182, -0.0303697754, 0.0230894703, -0.0346960947, 0.0109489616, -0.0120981205, -0.0242427178, 0.0397075377, 0.0052105514, -0.027121352, -0.0281660724, 0.0190781653, 0.005486724, -0.0128270499, -0.0057336511, 0.0439525731, 0.0269891098, 0.0239596833, 0.0000019054, -0.0218365975, -0.0255856849, -0.0290780254, -0.0410158411, -0.0237844437, 0.0268116556, 0.0015664074, -0.0449292809, 0.0266943816, -0.0445217937, 0.0419124588, 0.080158852, 0.0190256126, 0.0538768731, 0.0911823139, 0.0099205375, 0.028920019, 0.0490477011, -0.0134380534, 0.0016377051, -0.0444881953, -0.0039619058, 0.0337387323, 0.0027023754, 0.0280566178, -0.0372287072, 0.0165358856, 0.0145996734, -0.0219932776, 0.0124323014, 0.018764684, -0.0587022677, -0.0341337025, -0.0324188545, 0.0775813684, -0.0390669964, -0.0105639743, 0.0038358467, 0.0129920552, -0.0092472574, -0.0765276998, -0.0272995159, 0.0083624078, 0.0317391902, 0.0344554894, -0.0074766045, -0.0389184095, 0.0145078031, 0.0350035653, -0.0425416753, 0.0785336047, 0.0073246784, -0.0262258854, -0.0047194157, -0.0227479711, -0.0862549171, -0.0907528624, -0.00096405, 0.0160261579, -0.0769217536, 0.0045274007, -0.0494184755, 0.0110010412, -0.0147324586, -0.0074535497, -0.0148763619, 0.0880086944, 0.0148861557, 0.0192778613, 0.0297848061, 0.1012143642, -0.0071461583, 0.0408767201, -0.0469438359, 0.0094717937, -0.0259149745, -0.0144618051, -0.024878066, 0.0395048223, -0.0548429973, -0.0578858964, -0.0524666011, 0.0615984015, -0.01020025, 0.0128644314, -0.0044851541, 0.0242691226, -0.0391545221, 0.0054877484, -0.0316566378, 0.0506362803, -0.0212430377, 0.001662432, 0.0270432457, -0.0486269668, -0.0077305124, 0.0363886952, -0.0122848302, -0.0462323502, -0.0016554127, 0.0697898641, -0.0087364949, -0.0127866985, 0.0768196583, 0.0070235794, -0.0383974798, -0.0741681606, -0.0019646373, -0.0335308425, 0.0120367361, -0.0123572173, -0.0083531421, -0.0347542129, 0.0073940996, -0.0141469622, 0.0007577493, 0.0540656112, -0.0098860348, -0.0066915778, -0.0024235654, -0.0223548822, -0.0036729914, 0.079207778, 0.0448651463, 0.0459649041, -0.0050597521, -0.0114632417, -0.030419264, 0.0146497274, 0.0183176827, -0.0126789138, -0.0483565293, 0.0094070788, 0.0050582052, 0.090184398, 0.0730221793, 0.0685183331, -0.0749493688, -0.0118090743, 0.0605300479, 0.0286224633, 0.0174899176, -0.0038364953, -0.0182877854, 0.0544061922, -0.0212815423, 0.0080362381, -0.0591043569, 0.0526739284, 0.0184502099, 0.0051192651, 0.049872566, 0.0200174414, -0.0151048563, -0.0486256294, 0.0241209976, -0.001743483, 0.0238080602, 0.0323537551, 0.0003012604, 0.0021930391, -0.0376488082, 0.0344028994, 0.0308575388, -0.0314387642, -0.0205108281, -0.0690643191, -0.002703622, 0.0915315822, 0.0403030105, -0.0044348338, -0.0427304171, 0.0119895441, -0.0558829308, 0.0592164584, 0.0125272451, -0.0032184888, 0.0155618684, -0.0394783281, -0.0249572378, -0.0290774982, -0.0245462731, 0.0089289751, 0.0210374184, 0.0211078953, -0.0371729508, -0.006921174, 0.0122268358, 0.0104630534, 0.0242692903, -0.0236951821, 0.0261036512, 0.0176957361, 0.0421707369, 0.0100424374, 0.0111090457, 0.0016221672, 0.0112159541, -0.0254355762, 0.0117514981, 0.0062681707, -0.0487475693, -0.0701111928, 0.0604617521, 0.0129704494, -0.0244928245, 0.0473118089, -0.0427745618, -0.0281843022, 0.0191653576, -0.008283888, 0.0639708936, -0.019376846, 0.0258096009, -0.0093532028, 0.027791515, -0.0452678986, 0.0268491991, 0.0041391924, -0.0194634888, 0.0103357602, 0.0239297636, -0.0251403693, -0.0755370483, 0.0082963826, 0.0383707657, 0.0141582508, 0.0247484837, 0.029231213, 0.0144916438, -0.032305371, -0.0318321139, -0.1252799183, 0.0203660484, -0.0124239996, 0.0115745477, 0.0182676185, 0.0080221826, -0.0082348641, -0.0115051791, -0.0672837049, -0.0104610184, 0.0019515061, 0.0115855206, 0.0430543758, 0.0085759172, -0.0295141172, -0.0488319546, 0.0131400703, 0.0065494892, -0.0109795621, -0.037421044, 0.0208869204, -0.0397516228, 0.0333218798, -0.0324883796, 0.0289432742, -0.0102659892, -0.0521039851, 0.0237752609, 0.0085766735, 0.0278135128, 0.127237767, 0.0464738086, 0.0185859967, 0.0582122505, 0.0133513659, -0.0813027769, 0.0376779586, -0.0203773975, -0.0406389795, -0.0362987258, -0.0007158194, 0.0074474043, 0.0490408875, -0.0290717073, 0.0053092036, -0.0733801425, 0.0604885966, 0.0207230523, -0.0409685858, -0.0318418033, 0.0130987195, -0.0321184173, 0.0469539128, -0.0237435326, -0.0416068584, 0.0880501345, -0.0213693101, 0.0099234497, -0.0515422523, -0.0188917834, -0.0082272431, 0.0010076636, 0.0144055225, 0.043124821, -0.0373037644, -0.018306829, -0.0750603229, -0.0211253352, -0.0098017706, -0.0271120165, 0.0073814029, -0.0147974212, 0.0118713956, -0.0135592669, -0.0793200433, -0.0439555794, -0.0040279636, -0.0109804031, 0.0346938521, 0.0690763295, -0.0516072437, -0.0063816183, 0.0518844053, 0.0129569266, 0.0029352987, -0.0449392907, -0.0001363476, -0.0381670706, -0.0104403133, 0.0809565857, 0.0185972918, 0.028217759, 0.0087038092, 0.0134117799, 0.0327086188, 0.0440620817, 0.0232483391, -0.0172386356, 0.0163863357, 0.0251883585, -0.0063535734, -0.0073277871, -0.0117428517, 0.0664872006, -0.0211560689, -0.0130097736, 0.1022862718, 0.0114510618, -0.0391827859, 0.0134152491, -0.0141131608, 0.0364660919, -0.0050545093, 0.0481410846, -0.1118386984, -0.0334837735, 0.0114463596, 0.0384147651, -0.0042725764, -0.0059067532, -0.0337928198, -0.0832218453, -0.0087032756, 0.0343532525, -0.0494946428, -0.0420088395, -0.0003372525, 0.0060726241, -0.0528269932, 0.0965166166, 0.0245083272, 0.0034430774, 0.0045002629, 0.005409942, 0.0199985299, -0.0246570837, 0.0279469471, -0.0154266292, 0.0611448698, 0.1045311689, 0.0516859293, 0.0401012599, 0.0333429463, -0.0241274107, 0.0475491062, -0.0217548516, 0.0062367381, -0.0280288868, -0.0439428166, -0.0066739554, -0.0015927409, 0.0257852133, 0.0141612198, -0.0152518163, -0.0108613716, 0.0096692359, -0.0324873738, 0.0082398606, 0.0101909572, 0.0105542857, 0.0094799958, 0.0573585667, 0.0177252907, -0.0562972166, -0.0580711626, -0.0359047912, -0.011063749, -0.0445831008, -0.0272013936, -0.0298469793, -0.0113903414, -0.0405668393, -0.0870958865, -0.021484375, -0.0033946317, 0.0078384671, -0.0178023204, 0.0018622614, 0.0222022608, -0.0035805227, -0.011387527, 0.0093100583, -0.015977554, 0.0045281937, -0.0888212174, -0.0255653728, 0.0107192826, -0.0705515221, -0.0012524484, -0.0340155698, -0.061461743, -0.0890231505, -0.002766965, 0.0393398888, 0.0116939181, 0.0802074596, 0.0131708467, -0.0578332283, 0.029118035, 0.0849793702, -0.0003965302, 0.014704112, 0.0284585766, 0.0616765991, -0.0066914689, 0.0475464314, -0.031589102, 0.0205989517, -0.0093989754, 0.0570393093, -0.0469249673, -0.0572867393, 0.0228340384, 0.0100425659, 0.0374670662, -0.0058801603, 0.009945713, 0.004347764, 0.0259526931, -0.0267299414, 0.0022471182, -0.0470193289, -0.0473073535, 0.0200345963, -0.0060424083, 0.0250984058, -0.0258587804, -0.0091614267, -0.015916625, 0.0226477701, -0.0077271401, -0.0241971239, 0.01811032, 0.0509343855, 0.0081146779, 0.0021828008, 0.0340952016, 0.0102762599, 0.0656773522, -0.0183255617, 0.0469563603, 0.0229544267, -0.0148505913, -0.0087261098, 0.0436964259, -0.0380480662, -0.1115499586, -0.0045357365, 0.015320573, 0.0634695143, 0.0287851077, 0.0472548231, -0.0361261778, -0.0063391998, -0.0090825381, 0.0283124112, -0.0156576727, -0.0186203346, 0.0285376385, 0.0279474258, -0.0258814897, 0.0034636743, 0.0349868611, 0.0029691714, 0.0093284827, -0.0269828737, 0.0138694569, -0.0187380053, -0.025659861, -0.0305704344, 0.0095619773, -0.0003250983, -0.0031082698, -0.002434979, -0.0502221137, -0.0280796085, 0.0258530322, -0.0256149508, -0.0441676788, 0.043879021, 0.0221495721, -0.0306460783, -0.0534228347, -0.0486931726, -0.02263497, 0.0018347936, -0.003648984, -0.0253651179, -6.446192819e-33, -0.0412584469, -0.0032970903, 0.0374229774, -0.0289834496, -0.0442604534, -0.036960274, -0.0171142723, -0.0054096687, -0.0247126427, -0.0331365131, -0.0208561178, 0.026264403, 0.013759722, 0.0138284238, -0.0067940108, 0.0271822345, 0.0607510097, -0.0037187727, -0.0403465256, 0.0267089512, 0.0267827697, 0.0104427105, 0.0125083253, 0.0080572823, -0.0181672778, 0.0186306909, 0.0010921917, 0.0273548663, 0.0031572366, 0.0396031849, -0.0129727926, -0.0054144883, -0.0179802198, 0.0086380979, -0.0215624589, 0.0174924843, -0.023165971, 0.0027751019, 0.0194949396, 0.0390546024, 0.0087024374, -0.0626532435, 0.0358077176, -0.0168669615, -0.0296951458, 0.0136855505, -0.0262399074, -0.008711285, -0.020763943, -0.0054462315, -0.0394125432, 0.0050022257, -0.0160439797, -0.0329680406, 0.0342353098, 0.0184633322, -0.0140195265, 0.0095319459, -0.0460401997, 0.0602964461, 0.0106377713, 0.0418964662, 0.093361415, 0.0445044115, 0.0594595596, 0.0457390659, 0.0641422942, -0.0207114816, 0.0370541736, 0.0218220763, 0.027879227, 0.0295776092, -0.0025508669, 0.0545509122, 0.0684555173, -0.0095985727, -0.0413848832, -0.0229573362, 0.0200786907, 0.0076503009, 0.0295484774, 0.0585893728, -0.0373357758, -0.0232237224, -0.031068882, 0.0238397084, -0.0368170068, -0.067973718, 0.0129787568, 0.0023313744, -0.0082812831, -0.0730752498, 0.0379616804, -0.0554021075, -0.0143065164, 0.0013357464, -0.0593757182, 0.0164631885, -0.0031271346, 0.0301203318, -0.0762079731, -0.0460922047, 0.0424201488, -0.0225254111, -0.0047899145, 0.0419618487, 0.0022778327, 0.0127181867, -0.0271437466, 0.0010189172, -0.0275755543, 0.0104775345, -0.009601187, 0.0202727783, 0.0302510969, 0.0081758602, -0.0038081822, 0.0524545386, -0.0113965636, 0.0039636828, -0.0481234603, -0.0227636509, -0.0056783347, 0.0278471559, -0.0395689607, 0.012217965, -0.0478213616, 0.0181285273, -0.0203352645, -0.0711655766, -0.0388506986, 0.0054437215, 2.835e-7, 0.0188310705, 0.05989765, 0.0159106981, 0.0226617288, -0.0117226904, 0.0387401246, 0.0071988464, 0.0139911035, 0.0273512714, 0.0239376202, 0.0276732743, 0.0631298944, 0.0205676276, -0.0056477594, -0.0767007172, 0.002322434, -0.0432053469, -0.0166777857, -0.0405771434, -0.0161487237, 0.0278313309, 0.0949376822, -0.0096671479, 0.0124971326, 0.0547619611, 0.022416519, 0.0397048332, -0.0157428794, -0.0058115711, 0.0432286151, -0.0232684966, 0.0017528041, -0.0119977528, -0.0103158653, 0.0341445096, 0.0216911286, -0.0363210514, 0.0847935155, -0.0172641333, -0.0934138671, -0.011759025, 0.0382026397, -0.0190415308, -0.0432622619, 0.0571098514, -0.0842993483, -0.0301938467, -0.0704037398, -0.0102265086, -0.0229302179, 0.0269844849, -0.0389960371, -0.0298809279, 0.0305056013, 0.0016708997, 0.0215626769, 0.0049448842, -0.0505030118, 0.0006477412, 0.0179407652, -0.0400834754, -0.0703739673, -0.0443310998, 0.0035594106, 0.0064999736, -0.0065285577, 0.0036793419, 2.314633784e-34, 0.0297282394, 0.0197723154, 0.0320712402, 0.0147594614, 0.0207834076, 0.0081903711, 0.0085327569, 0.0305217244, 0.0387631766, -0.0422938839, -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.
JailbreakHunter: A Visual Analytics Approach for Jailbreak Prompts Discovery from Large-Scale Human-LLM Conversational Datasets: 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.0758799314, 0.0573467165, -0.0342628621, 0.0415823981, -0.0421057791, -0.0272020698, 0.0211121738, 0.0283020828, 0.0623745881, -0.0156900063, -0.0282006525, 0.0009358571, 0.0261750426, 0.035834305, 0.0061037, -0.0090158088, 0.0202865973, -0.037875127, 0.020802781, 0.05621529, 0.0328058302, 0.0043107695, 0.0134749562, 0.0724271312, -0.0122318603, -0.0403387137, -0.0182023719, -0.0014548467, 0.0313960686, -0.0671527237, -0.0193777494, 0.0583988801, -0.0209924616, 0.0378825739, 0.00000214, -0.0395969041, -0.0158113874, -0.0263693463, -0.0283755008, 0.0738328546, 0.0136734303, -0.0330779292, -0.0222410876, 0.0252762344, -0.0354071036, 0.0171286408, 0.0110604689, 0.0413284153, 0.1003478393, 0.0301690828, -0.0194317959, 0.0258257426, 0.019119462, -0.0031057431, 0.0360641591, -0.04654219, 0.0020713215, -0.0474095047, 0.0005853851, 0.0369951464, 0.0389338359, -0.0128477225, -0.0033980741, -0.0446739644, -0.0672490895, -0.0012036146, -0.0214761086, -0.0506410748, -0.0086533856, 0.0471895039, -0.0558607988, 0.0007455682, 0.0189878549, -0.0007282628, 0.016565321, 0.043948479, -0.033192981, 0.0242032316, -0.0302460454, -0.0218289923, -0.0227476861, 0.0006997777, 0.0302611105, -0.0032943892, -0.0291685387, 0.0143947098, -0.00231486, -0.0070415623, -0.0178916585, -0.0588689744, 0.0304698069, -0.0462573469, 0.045134306, 0.0001135379, -0.0342268161, -0.0012183145, -0.0335853323, -0.0288221892, 0.0578151681, -0.042022936, -0.0212237909, 0.0101089794, -0.0457979962, 0.0205726195, 0.0024515737, 0.0016742599, 0.0126682734, -0.0245401412, 0.0172442105, -0.0080803242, 0.0252306759, -0.0001992882, -0.0445382819, 0.0005995702, -0.0230838899, 0.0267902426, -0.0468432046, 0.0515294448, -0.0171684418, 0.0273002852, -0.0457059555, -0.0055401362, 0.020597171, 0.037639536, 0.0302149765, -0.0451969467, -0.0527422056, -0.0236747861, 0.0050255368, -0.0723252147, -0.012679657, 0.0055702524, -0.0284902845, -0.010783866, -0.0385449231, 0.0849813074, 0.0413908325, -0.0000208055, -0.0855493918, -0.0992076173, -0.0354370773, 0.0209982265, -0.0427709892, -0.0771396756, 0.0036116398, -0.0119767217, 0.0224491376, -0.0013634973, 0.0020706365, 0.0261864848, -0.0294478852, 0.0267836656, 0.009556273, -0.0027268284, -0.0089121116, 0.0417848006, 0.0514767617, 0.0314931348, -0.0248478521, 0.1069258079, 0.0603755265, -0.0463063046, 0.0575257167, 0.0593938306, -0.0154393399, 0.0268525984, -0.0037577357, -0.0265447833, 0.0515522324, -0.0315639675, -0.0146339359, -0.0080743292, -0.0076550725, -0.0394571871, 0.0680053532, 0.0743265674, -0.0467754714, 0.0069827912, -0.0175762512, -0.0157703608, -0.0121586109, -0.0101678856, -0.0289738942, -0.0198311713, -0.0563852377, -0.0605813079, -0.0187771451, 0.0328547657, 0.005191783, 0.0224337764, 0.0187580884, 0.0106301587, -0.0152215613, -0.0002469792, 0.001499181, 0.027016094, -0.0025070691, 0.0448786058, 0.0394389294, -0.0076671573, -0.0476730652, -0.0454367995, 0.0305613987, 0.0768519193, 0.0345497876, 0.0103426287, -0.0047538886, -0.0049661053, 0.0203046426, -0.0018924677, -0.0072262608, -0.0023347202, -0.0008474649, 0.0011443052, -0.021931855, -0.0035298513, 0.005926739, 0.0200279448, -0.0177139603, -0.0000884429, 0.0095713958, -0.0292094629, -0.0253300555, 0.0104117794, 0.0532114021, 0.0545782261, 0.0380799472, 0.056241449, 0.0019323835, 0.0255574305, 0.0345991626, 0.0115883471, 0.0407242104, -0.005920955, 0.0347991325, 0.0133102452, -0.013393105, -0.0157213137, 0.0274532475, -0.0424971133, 0.0051241326, 0.047532849, -0.0448323004, 0.0053437436, 0.0520680696, -0.0553393699, 0.0484151579, 0.0151952254, 0.0213367548, -0.0002226772, 0.0196915269, 0.003089237, 0.0127274198, -0.016151607, -0.0244649164, -0.0139399515, 0.015949579, 0.0268008076, -0.0005953719, 0.0004707051, 0.0177172106, -0.0720915943, -0.001859731, 0.029680917, -0.012986701, -0.0329393595, -0.0078208195, -0.0830199346, -0.0270246789, -0.0176686216, 0.0158373453, 0.0702726394, 0.0851992518, -0.0361952558, -0.0316916481, -0.0106966877, -0.0045667957, 0.0402074456, 0.0155752618, 0.0210265294, -0.0374594517, -0.0307119396, -0.033453837, -0.0056383503, -0.015762765, 0.0418261327, -0.0073318644, -0.0415069163, 0.0051822141, -0.0248627793, -0.0095149921, -0.0272697136, -0.0432947502, -0.0295974128, 0.0417231917, 0.0237645172, 0.0319058076, 0.015681386, 0.0500516184, 0.0967986435, 0.0362191498, -0.003419511, -0.0494324192, -0.0287179947, 0.0281543173, -0.0253416169, -0.0186541378, -0.1110134572, 0.0866812989, 0.0290946979, 0.0488077626, 0.038941782, 0.0001612353, -0.0030920373, -0.0102377133, 0.0112073114, -0.0524755754, -0.0260279123, -0.024166286, -0.0002900374, -0.0238068532, -0.0757852942, 0.0316679627, -0.0436234772, 0.0331452414, 0.0146549884, -0.0791059211, -0.0051191347, 0.0703483298, -0.0325851366, 0.0139994295, 0.0281831846, -0.0680678263, 0.0233808607, -0.0264897458, 0.0213008784, -0.0115289539, 0.0356815159, -0.0372432694, -0.0181881525, 0.0369668193, 0.0040461249, -0.0546869263, -0.099809356, -0.0327073298, -0.0596068054, 0.0668883771, -0.0706439689, -0.0326471366, 0.006068219, 0.0148439957, 0.0076649436, -0.0032457479, -0.0050121937, -0.0158441663, 0.0135990083, 0.0271510109, -0.0797029957, -0.0280863848, -0.0176423229, 0.0569135211, 0.088869147, 0.0325179957, 0.0107958578, 0.003252808, -0.0050768815, 0.0034341491, 0.0112293456, -0.010466841, 0.0285357367, 0.0347082913, -0.022087859, -0.0167037696, 0.071554549, 0.0551597178, -0.0383474454, 0.0414003022, 0.002712612, 0.0297418032, 0.0074929059, 0.0058712726, -0.0708390847, -0.0226802658, -0.0140795521, 0.0496486537, -0.0325406604, -0.0367081426, -0.0154470941, -0.0740829036, 0.0163287222, 0.0259527769, -0.0253385436, 0.0357847288, -0.061716523, -0.0053665638, 0.0251805801, 0.0047149789, -0.0497713275, -0.0256579202, 0.0005816561, -0.0034516107, -0.0954955667, 0.0038550533, 0.0052088448, -0.0346341021, 0.0183708966, 0.056637276, 0.0045420295, -0.015460954, 0.00862177, 0.0586441197, 0.0032826397, 0.0222061127, -0.0037668941, 0.067980364, 0.0226323158, 0.0129252626, -0.0344542377, 0.0199373998, -0.0026449529, -0.0596537478, 0.0507289246, 0.0414382964, -0.0470150933, -0.0204550214, -0.0340683199, -0.0020258781, 0.0352060534, 0.0287753735, 0.0572657622, -0.0552083664, 0.0016392566, -0.0455514714, 0.0062242546, -0.0161906034, 0.0046476247, -0.0131182419, 0.0233910028, -0.0257078223, -0.0582581311, 0.0070248656, 0.0000385109, 0.0221393816, 0.0277355481, 0.0054378253, -0.044882495, 0.0033488581, 0.0075807692, -0.0091431495, -0.0066521014, 0.085741587, -0.0477516502, 0.0463850759, -0.0140656056, 0.0000646042, 0.0006899692, 0.0354784653, -0.0633008331, -0.0347346999, -0.0184374973, 0.0070697628, 0.013914804, 0.0032419648, -0.0614264309, -0.0608705692, 0.0377369151, 0.0776275471, -0.069324404, -0.0382983349, 0.0143104764, 0.0256438162, 0.0051855459, -0.0060448386, -0.0194369256, -0.0171960145, 0.0359812453, -0.0216685086, -0.0933638066, -0.0202033985, 0.0229426697, 0.0112040844, 0.0450794883, 0.0075909481, -0.0116743315, 0.0146829924, -0.0230497587, -0.0001120261, -0.0314662419, 0.0376855247, 0.0244451854, 0.0158648249, -0.0776270032, 0.0409535058, 0.0473557487, -0.0283345375, -0.0122027462, -0.0338683724, 0.0385669209, 0.0327319279, 0.0554119945, 0.0470768102, 0.0176062062, 0.0118975481, 0.0466229841, 0.0024968029, 0.0633061901, 0.0143476734, 0.025778342, -0.0347996838, -0.0490289815, 0.0329722427, 0.0555153601, -0.0724311322, -0.0385825969, 0.0348013565, 0.0709532723, 0.0035267391, 0.0045501855, 0.0040643997, 0.0087507777, 0.0185812991, -0.0193032734, -0.0205164701, -0.0271859225, -0.0539454818, -0.0155196413, 0.0064820568, -0.0258977655, -0.0015767731, 0.0540478788, -0.0119658271, 0.035729222, 0.0090235351, -0.0578652322, -0.0387900509, 0.0330629759, 0.0817892179, 0.0570178181, -0.056836661, -0.0430156514, -0.075329721, -0.0548255593, -0.023784576, -0.0147995008, 0.0178265963, 0.0398764461, -0.0197798368, 0.0528095886, -0.007516853, 0.021547772, -0.0582428053, 0.039299909, -0.0089252079, -0.0586396605, -0.0320027731, -5.604038176e-33, 0.0439359285, -0.1029078066, -0.0664264187, -0.0370283164, 0.0061309095, -0.0095908763, -0.0304066539, 0.0043839933, -0.0046690167, -0.0142302578, -0.0181879569, 0.0138732474, 0.002288457, -0.0007357635, -0.0333624631, 0.0049927593, 0.0443212129, 0.0226244591, -0.0178325865, 0.059377946, 0.0693234354, 0.0293683931, -0.0209032893, -0.0710100755, 0.046906855, -0.0325472318, -0.0156213241, 0.0500493348, 0.0208916627, 0.0409579426, 0.0067683733, 0.0211374182, 0.0083907088, -0.0123049784, -0.0129786888, 0.067515716, 0.0085835792, -0.0202563889, 0.03029502, 0.0108487057, 0.037927784, -0.0539899506, 0.0192524213, -0.0030165936, 0.0124261808, -0.0049341065, 0.0162424184, -0.0040852353, -0.0108117163, 0.0167433117, -0.006575664, -0.0157400202, -0.0592131726, 0.0062444471, -0.0393583402, 0.0742360577, 0.0257852189, -0.0113395769, -0.0284945723, 0.0534009747, 0.0170777887, -0.0436780229, 0.0234762616, 0.0236658417, -0.0127112241, 0.0482696295, -0.0080904216, -0.0193456598, 0.012061826, 0.0078463219, -0.024505401, 0.0845082477, 0.0234256815, 0.0541631989, 0.0198189095, -0.0500634015, -0.0598443076, 0.0300225504, 0.0313023515, 0.009127588, 0.0164010748, -0.0268778894, -0.0353887118, -0.0067457878, 0.0223346911, -0.017337868, -0.0288758948, -0.0568615124, 0.0229739863, -0.0301793981, -0.0289806388, -0.0451668352, -0.0165476426, -0.0527357832, -0.0418895446, 0.0203538071, 0.001471261, -0.009459856, -0.0025829903, 0.0097800018, 0.0303982012, 0.0234658495, 0.0225338694, -0.0503456257, 0.0246943999, -0.0070068482, 0.058362674, -0.0133865867, -0.0628611073, -0.0118389446, -0.0145321097, 0.0197529718, -0.0418646261, -0.0054677282, 0.0185246337, -0.01061692, -0.0328653045, 0.0185257904, 0.0277846605, 0.0155463312, -0.0197862405, -0.0200003125, -0.0612090416, 0.0285567045, 0.0076803355, -0.0299901571, -0.0160121229, -0.012746186, 0.0772299469, -0.0329179019, -0.0017095585, -0.0371741094, 2.813e-7, -0.0254911575, -0.0083826073, 0.005499043, -0.0227240156, 0.0231587701, 0.0561433695, 0.0114265839, 0.0474185757, 0.0233228244, -0.0561076626, -0.0179879535, -0.0198230855, 0.0542001091, 0.0664399117, -0.03595661, 0.0215813667, -0.0662881956, -0.0377909392, -0.1009715572, 0.0349992886, 0.052028209, 0.06092548, 0.0270117968, -0.0485504568, 0.018466169, -0.0203402657, -0.0319263861, -0.0463236049, -0.034690775, -0.0036922588, 0.0247530993, 0.0027138407, 0.0209613778, 0.0323757045, -0.0317397527, -0.0392121784, -0.036927361, -0.0148486961, 0.0317082815, 0.0245993789, -0.0402272455, -0.0443207882, 0.0133598857, -0.0659175068, 0.0634737685, 0.0043680565, -0.0348624624, -0.0139970882, 0.0542351194, -0.043260321, 0.0091751292, -0.0249899942, 0.0013833834, 0.0136409998, 0.0234268364, 0.0142790191, 0.0132500948, -0.015786007, 0.0161520243, -0.001653338, -0.0138125839, -0.0166461859, -0.0373990983, 0.0195674896, 0.0294429231, -0.0029059029, 0.0637497604, 2.773399612e-34, -0.0153571712, -0.0014868102, 0.0068206582, -0.0057831281, 0.049950324, 0.0368316993, 0.040621087, 0.0361595489, 0.0262951292, -0.0347903445, 0.013115379 ]
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.
Raw Text is All you Need: Knowledge-intensive Multi-turn Instruction Tuning for Large Language Model: 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.0870343968, 0.0363945141, -0.0087547107, 0.0512917973, -0.0330659598, 0.0188942682, -0.0077284765, -0.0021579931, 0.0421926975, -0.0732549652, -0.0404057987, -0.0032108054, -0.001508318, 0.0211464949, -0.0080125276, -0.0769006312, 0.0224134177, -0.0292580314, -0.015012674, -0.0085135633, 0.0227760971, 0.0342083424, -0.0307976417, 0.0261882544, 0.0203514416, -0.0517086871, -0.0276305936, 0.010494262, 0.0055341893, 0.0003124345, 0.0537706316, 0.0726267248, 0.0260557942, 0.023013236, 0.0000019581, -0.0329756178, 0.0126212547, -0.0304839909, -0.0178733617, 0.0366273411, 0.0494316891, 0.0019879194, 0.0182735529, 0.0080632437, -0.0346414559, 0.0014499658, 0.030377686, 0.0462768562, 0.0865692273, 0.1029177085, 0.0208672937, -0.0347958878, 0.0137605583, 0.0108294114, -0.0176005512, -0.0483622737, 0.0146013359, 0.0209772401, 0.0016073475, 0.0328619741, -0.0317177922, 0.0196182057, 0.0177227892, -0.0476331376, 0.0149294548, -0.0023720337, -0.0605292171, 0.0138001507, -0.0019022395, 0.1115567163, 0.0375237651, 0.0076512354, 0.0044718217, 0.0057014744, 0.012027516, -0.0099544562, -0.0624365918, 0.020928571, -0.0020755893, -0.0192441586, 0.0159164909, -0.0393283032, -0.0141550023, 0.0277519636, -0.0245295838, 0.0729114264, 0.0032946493, -0.0302290823, -0.0241095424, 0.0046111187, 0.0129630212, -0.055779133, -0.0224513486, 0.040166799, -0.0683851615, 0.040736381, -0.0285420362, 0.0259759296, 0.0130528938, -0.0482812487, 0.0145347835, 0.0218183175, 0.01331014, 0.0400186963, 0.0195483342, 0.0284666736, -0.0070655444, 0.0164909307, -0.0580427647, -0.0105799641, -0.0709308311, -0.0071726632, -0.0176322851, 0.0019364484, -0.0564400554, -0.0186011884, -0.0104658678, 0.0613893382, 0.0106563261, 0.007084664, 0.0338003561, -0.0035629948, -0.0335270986, -0.0141151026, -0.0344855301, 0.0529350527, -0.0285696611, 0.0141001986, 0.0107589671, -0.0396364257, -0.0100158975, 0.0400921516, 0.0017278242, -0.0243863724, -0.0102404663, 0.0473412387, -0.0285472982, 0.0305205286, -0.0255083311, -0.0433329456, -0.0048276056, -0.0491363332, 0.0102882264, -0.053432934, 0.0249453671, 0.0326041058, 0.0048597595, -0.0052267429, 0.0092899585, 0.0123686958, -0.0263401438, 0.0267227087, 0.0160264354, 0.0246027559, 0.0289355516, 0.0110018095, 0.0072244862, 0.0887601227, 0.0266074482, -0.0101121645, 0.0710292608, -0.0334152505, -0.0301305223, 0.024478592, 0.0176100302, 0.0239497088, 0.0307184234, 0.047259327, -0.007604531, 0.0305368323, 0.018556647, 0.0273902081, -0.0330770351, -0.0180669595, 0.030636888, 0.0044235098, -0.00972539, 0.0132607734, 0.0408411734, 0.0666503385, 0.0142005198, 0.0393285677, -0.0295460075, 0.0211960003, -0.0179426204, 0.0049200645, 0.0227818545, 0.0288004074, -0.0354429148, -0.0303205103, -0.0029187899, 0.0149114421, 0.0268948041, 0.0205849614, 0.0256156921, 0.0046906085, -0.0438566804, 0.0445331708, 0.039886985, -0.0326221921, -0.0021309063, -0.0364544354, -0.000258912, 0.0888635591, 0.0477760732, -0.0081022438, -0.0723467395, -0.0038948371, 0.0565591455, 0.0631278157, 0.0606472306, -0.0523730516, -0.0020604343, -0.0633868426, -0.046371676, -0.0284990165, -0.0117726913, 0.0248246435, 0.0304608941, -0.0144075202, 0.0174869187, -0.0261437036, -0.0319283158, 0.0155872051, -0.0456171632, -0.0373584367, -0.0196701046, 0.009985351, 0.0238919649, 0.0129698869, 0.0028945212, 0.0115637574, 0.0276893247, -0.0006606655, -0.0016701273, -0.0002066195, -0.0552926846, -0.050440941, 0.0346333645, -0.0385813154, -0.0386284404, 0.0095228506, -0.0673128664, -0.0424412936, 0.0379857123, -0.0145461131, 0.0444515869, -0.0000349346, -0.0035894185, 0.0024275545, -0.0287493933, -0.045141764, 0.0425274745, 0.0092828143, 0.0265268199, 0.0415427163, 0.0014338614, -0.0053514903, -0.0324142352, 0.0163512528, 0.0084847705, 0.0124483947, 0.0219566692, 0.0271607228, 0.0457776934, -0.0950390473, -0.0569156706, -0.1078234166, 0.0095223449, -0.0238258634, 0.0184336789, 0.0393846296, -0.0066187633, -0.0048311171, 0.0068006171, -0.0474523194, -0.0205809865, -0.0044700932, 0.0315608419, 0.0260379873, 0.0217521675, 0.0047534183, -0.0126942033, -0.0239610169, -0.0222640485, 0.0163555238, 0.0076031596, 0.046854604, -0.0556508526, 0.0079853581, -0.0184510816, 0.0077289012, -0.0246287901, -0.0410468541, 0.011914744, -0.0115778567, 0.0548718683, 0.0891362876, 0.0451793969, 0.0063115149, 0.0078984993, -0.0555895977, -0.0751382336, 0.0195435509, -0.0302142017, -0.035991095, -0.0641848445, -0.0110495426, 0.0031722612, 0.0521385185, -0.0014615023, 0.0017934979, -0.0697080716, -0.0121356137, 0.0115880175, -0.010036191, -0.0076368311, 0.0027691345, -0.0016246331, 0.0115981791, -0.0175744034, -0.0100325625, 0.0952809453, 0.0013603496, -0.007921828, -0.0687608048, 0.0140329963, -0.0563514419, 0.03217097, -0.0176059976, 0.0027220496, -0.0142585291, -0.003426309, -0.0689403564, 0.0183544978, 0.0533648543, -0.0291316081, 0.0577093847, -0.0623404123, -0.0268020146, -0.012943672, -0.0355166048, -0.0372888595, -0.0295034219, 0.0026879965, -0.0088587226, 0.0463401563, -0.0430769958, -0.0358992331, -0.0271639451, 0.0198087152, 0.022896627, -0.0259227287, -0.0010829646, -0.0214737095, 0.0135199167, 0.0731168985, -0.00333179, -0.0244498197, -0.0343763009, 0.0709048584, 0.0432861596, 0.0305601787, -0.045244094, 0.0196533594, -0.0070353132, 0.0320328772, -0.031015465, -0.0026417163, 0.0130947521, 0.0557078533, -0.0557411984, -0.0236530919, 0.1344178319, 0.0171611812, -0.0593358241, -0.0246349256, -0.0363492332, 0.0392282456, 0.0245149322, 0.0381332785, -0.0732935369, -0.016420668, -0.0366461687, 0.0441009253, 0.0163896102, -0.0354107693, 0.0107827485, -0.1086367667, 0.0142621826, 0.0138917686, -0.0249952339, -0.0265368093, -0.0397360362, -0.0024210252, -0.0081488509, -0.0002826803, 0.0146066314, -0.0182645172, 0.0005255801, 0.017805161, 0.0091567356, -0.0527394488, 0.0701868981, 0.0054447488, 0.0329675972, 0.0289674886, 0.0369089022, 0.029024072, -0.0185417198, 0.0285784826, -0.0242062807, -0.0139395036, -0.0239321962, 0.0509656966, -0.0303958263, 0.0059271543, -0.020212274, 0.0434875898, -0.0400562063, 0.0101050409, 0.0464066081, 0.0687550157, -0.012411288, -0.0022792239, -0.0395722575, 0.0042210729, 0.0286222436, 0.0797674134, 0.0270685107, -0.0410883576, 0.0013639596, -0.0488964319, -0.0128713381, -0.0784098953, -0.0389902703, 0.0028188825, -0.0381225981, 0.0274831392, -0.0770078823, -0.0333969668, 0.0324062482, -0.0034672206, 0.0010186849, -0.0255107842, 0.0380767137, -0.0030759319, -0.0394744948, 0.0354010686, -0.0401096418, 0.006459808, -0.0766459703, -0.0627430379, 0.0602058806, -0.0199647099, -0.0030797131, 0.0295734908, -0.0442217998, -0.0809004307, -0.0060550333, 0.0374880321, 0.0114367995, 0.0838224664, 0.0079500349, -0.0069335168, -0.0159284621, 0.032666456, -0.0398123562, -0.0279714074, 0.0281595532, 0.0253698621, -0.0181164723, 0.0412241705, -0.0517878905, 0.0216854215, 0.0012974417, 0.0543502942, -0.0504765846, -0.0677483603, 0.0195886251, 0.0059752604, 0.0182635169, 0.0201350972, 0.0018312064, -0.025645636, 0.0330151953, -0.0178473163, -0.0514384992, -0.0290950257, 0.0044907127, -0.002817132, -0.0582083724, 0.004595893, 0.0433323532, -0.0079768011, 0.0424225703, -0.0460951515, 0.0100542204, 0.0324514844, 0.0225785412, 0.0264216606, -0.0140828518, -0.0296578538, -0.0118963504, 0.0076262476, 0.0401694328, 0.0110642035, 0.0881412625, 0.0474934988, -0.008883833, 0.0195054654, 0.0078350455, -0.0733662322, -0.0360475704, -0.017774608, -0.0312632658, 0.0261342749, -0.022169305, 0.0433241017, -0.0250171833, -0.0257101953, -0.0206035767, 0.052251596, 0.0189449191, -0.0210232139, 0.0336891152, 0.0479633212, -0.0181932077, -0.0065376996, 0.0731213465, 0.002362746, 0.0592185967, 0.0356636979, -0.0177981518, -0.0444202758, -0.0629772767, 0.007793067, 0.0237275027, 0.0107465647, 0.0410164557, -0.0393936522, -0.0432437211, -0.0247705933, -0.0158747658, 0.0009699877, -0.0196187142, 0.0498685539, 0.0678401887, 0.0025162071, -0.0198698565, -0.0644371882, 0.0828281194, -0.0120296068, -0.0455018096, -0.0460120253, -6.577020932e-33, -0.0356686413, -0.0195955243, 0.0274221972, 0.0393229462, -0.0094720535, -0.0167288892, -0.0351011008, 0.0141662266, -0.0592363961, 0.019919889, -0.0029085716, 0.0156119606, 0.0000281021, 0.0337902233, 0.0199575983, -0.0019848617, 0.0281896424, -0.01510676, -0.0181950796, 0.0710114464, 0.0553950854, -0.0200850274, 0.0738160163, -0.0738100111, 0.0188990347, -0.0314228758, 0.0177118201, 0.0280107651, -0.0206703395, 0.0719944164, 0.0101071047, 0.0485513248, 0.0177235976, -0.0212880056, -0.0147805614, 0.0058293226, -0.0628221706, -0.0395000353, 0.041888658, 0.0084937932, -0.0344697498, -0.0426856503, 0.0007224842, -0.0213387199, 0.0124206915, -0.0484453738, 0.0409770794, -0.0186926648, -0.0092676217, -0.0305099674, -0.0711171925, 0.0264702141, -0.0381644629, -0.0556108356, -0.0384673327, 0.0663318336, 0.0319142155, 0.0247034021, -0.033724308, 0.0629217625, 0.0252002925, 0.049682565, 0.0455399416, 0.0198438652, 0.0196627937, 0.0389560573, -0.039047312, 0.0482817553, -0.0277251229, 0.0067284466, 0.0106919454, 0.0598710142, 0.000794956, 0.0493349284, -0.0095317243, -0.0085204476, -0.0501018204, 0.0149756158, 0.0173833948, 0.0459203646, 0.0064777997, -0.0087097529, -0.0275095571, -0.0217838716, -0.0367531292, 0.007169418, -0.0282257888, -0.005389689, 0.0200583357, 0.0100317635, -0.0246158317, -0.0326642543, 0.0291013736, -0.0440050513, -0.0086867753, 0.045643758, -0.0246707052, 0.0158877447, -0.0059542432, 0.0092925625, -0.0701892897, -0.0443410017, 0.0386615321, -0.0194975547, -0.0034018133, 0.0364637375, 0.0254485868, 0.0088221133, -0.0274657663, -0.0072729932, -0.0279852133, 0.0084979823, -0.0332000256, 0.0117455833, -0.0053855381, 0.0198201034, -0.0322062857, 0.0898494497, 0.0119634531, 0.0017969622, -0.0343033634, -0.0678530484, 0.0158655569, 0.0124684153, -0.0290756933, -0.0029630419, -0.0333475322, -0.0244960412, 0.0029326188, -0.0260859635, -0.0151929874, -0.0009751433, 2.69e-7, 0.0234872475, 0.0570691712, 0.0188475549, 0.0623841211, 0.034068089, 0.020746965, -0.0008840536, -0.0055496842, 0.0372300707, -0.035398718, 0.0033210667, 0.0225393102, 0.0566774271, 0.0076256236, -0.0920754895, -0.033302743, -0.0415268615, -0.0099578351, -0.0561494939, -0.0092232767, 0.0298398286, 0.0767292976, 0.0005240643, 0.0235362072, -0.0207502786, 0.0032639417, 0.0484711044, -0.0255783144, -0.020278614, 0.065505676, 0.0097968522, -0.0225802418, 0.015527172, 0.0203084406, -0.0284795836, 0.0075996201, -0.0105704125, 0.1053088009, 0.0130853625, -0.03603274, 0.0112097617, -0.0356500819, 0.0125184692, -0.0522312857, 0.0529901832, -0.0288378131, -0.0100059565, -0.0222649854, -0.028381817, -0.0242544059, 0.005765364, -0.0461712889, -0.0214998908, 0.0310094599, -0.001693273, -0.0169692002, 0.0255386252, -0.0648183078, -0.0317567624, -0.0017828457, -0.0474178605, -0.069330059, -0.0110197635, -0.0144613972, 0.000752529, -0.0091677997, 0.0230803248, 2.581839262e-34, 0.0530348681, 0.0008614496, 0.0098935524, 0.0223818962, 0.0486507379, -0.0066178422, -0.0386981741, 0.021134764, 0.0493212305, -0.1198290065, -0.0264900271 ]
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.
On the Client Preference of LLM Fine-tuning in Federated Learning: 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.0346410163, 0.0944202766, -0.0268361066, 0.0090877507, -0.0357688554, 0.0011214507, 0.0501031727, -0.0095527815, 0.0556264594, -0.022339344, -0.0825612843, -0.03358059, -0.0117720542, 0.0044971239, -0.0018981006, -0.0381038226, 0.0303613078, -0.02073442, -0.0304137394, -0.0593184568, -0.0188702345, 0.0316819735, -0.0060246806, 0.0451859646, 0.0186917633, -0.0061479695, -0.0000528221, -0.0208708383, -0.0249186493, 0.0037231632, 0.0584656186, 0.0943160951, 0.0150566371, 0.0279156808, 0.0000023476, -0.0383698046, -0.0358911604, -0.0171384178, -0.0198708754, 0.0179735236, -0.0072234208, 0.0477594063, 0.0243300516, 0.0055721789, -0.0253788661, 0.0016315193, 0.0278454553, 0.0196563192, 0.0261177309, 0.0243261792, 0.0131378332, -0.0263588633, -0.0355038941, -0.0369164161, -0.0554458238, 0.0005119319, 0.0214316733, -0.0564898215, 0.014323893, 0.0019814647, -0.0103802048, -0.0128645087, 0.0225288011, 0.0406539403, 0.0088473735, 0.0171623174, -0.0612817779, -0.0389638357, -0.0227150545, 0.080730699, 0.0205022767, 0.0065854532, 0.0194499865, -0.0220245607, -0.0120494477, 0.0298492014, -0.0023847653, 0.0154035809, -0.0226082075, 0.0462921932, -0.0154641401, -0.0346779861, 0.0218681861, 0.0470499881, -0.0178562831, 0.0944531858, -0.0232564732, -0.0041544037, 0.0078978362, 0.02084581, -0.0260230675, -0.060505908, 0.0561077781, -0.0098575326, -0.074922882, -0.0135829169, -0.0681556836, -0.0283074602, 0.0294222608, 0.0172032546, 0.0621449016, -0.0069284113, -0.0248176344, 0.0386019014, 0.0014984815, -0.0279040392, -0.0065648067, 0.0419830941, -0.0240785256, 0.030426342, -0.0307686199, 0.0225582439, -0.0193820316, 0.0735692531, -0.0509992018, -0.0097389054, -0.033727821, 0.0117152268, -0.0206576139, 0.0595597774, 0.0241504908, 0.0220835749, -0.056415543, -0.0250542406, -0.0340426899, 0.0159722976, -0.0493031368, 0.0162483342, 0.0205826592, -0.0124936616, 0.0282091927, 0.0045453124, -0.0288798418, -0.0354895703, 0.010162618, 0.0443807244, -0.0039754622, -0.0216782652, -0.0164140668, -0.0388813466, 0.0248645935, -0.0507005565, -0.0308682323, -0.0627755746, 0.0185755529, 0.0025142904, -0.0023049826, -0.0354792885, -0.0013323261, 0.0108998753, -0.031032186, 0.0957381949, -0.0260802824, -0.0232591256, -0.0019446524, -0.021893844, -0.0187411103, 0.0793968514, 0.0029340051, 0.0773540288, 0.0595444925, -0.0001536617, -0.0102683594, 0.0039618891, 0.0242257565, 0.0244235881, -0.0250877272, 0.0140272761, 0.0039938753, 0.0528832562, 0.0270201229, 0.0144619858, -0.0389882885, -0.044418104, 0.0781444758, 0.0613352396, 0.0495184958, 0.0035337734, -0.0457429476, 0.0574167073, -0.004104971, 0.0469738729, -0.0403913073, 0.024211172, -0.0450170301, -0.0386866704, 0.020164907, 0.0464648195, -0.0307235681, -0.0238988362, 0.0435082614, -0.0593825169, 0.0126432208, 0.0494494103, 0.0684107989, 0.0018439404, -0.0155621925, 0.0203873236, 0.0519975014, -0.0273206662, 0.0017689852, -0.0200051889, 0.0555690937, 0.0785194337, 0.0683947429, -0.0377986953, 0.0010370356, -0.0464682542, 0.0034839278, -0.0005319034, 0.0466168709, -0.0018516602, 0.0239700396, -0.0617479086, -0.0762264878, 0.0600588471, -0.0089817839, 0.0300625041, 0.0022968533, -0.0178846512, -0.0515573472, 0.0077552358, 0.0007187069, 0.0278843455, 0.0400749221, 0.0014430655, 0.0327127352, 0.0379850045, 0.0633782074, -0.0195270758, -0.0113328239, -0.0112893106, 0.0117960945, 0.0199511349, -0.0245893952, -0.0454895981, -0.0081778895, -0.0074526872, -0.0074632284, 0.0006120382, -0.037107192, 0.0742718279, -0.0433787033, -0.0049557704, -0.0317155495, 0.0161809307, 0.0402966775, -0.0241773911, 0.0099454857, 0.0052074161, 0.0053849951, -0.0591301806, 0.0175956357, -0.0341712683, 0.0085439822, -0.0537213571, -0.0414254703, 0.0125793386, -0.0569480434, -0.0003018043, 0.0340953693, 0.0262534022, 0.0186119527, 0.0332483128, 0.0168425627, -0.0286013298, -0.0110491663, -0.0318715237, 0.0106227193, -0.0303200819, 0.004300992, -0.0301196892, 0.0163196642, -0.0167463403, -0.059232533, -0.0221250989, 0.0048968941, -0.0354904346, 0.0333941728, 0.0032047816, -0.0029762397, -0.0218415614, -0.0224573705, -0.0434890762, 0.0269584917, -0.0085623059, -0.013876521, 0.0161627885, -0.0460209958, -0.0118219312, -0.0343944132, 0.0287743118, 0.0026115389, -0.0233178344, 0.0246275458, -0.0033627176, -0.024970727, 0.0835884213, 0.0258059129, 0.0014937465, 0.0534882285, 0.0338164978, -0.0614119284, -0.0042459373, -0.0579327866, -0.0411154702, -0.0594125912, 0.0374586619, 0.0422907136, 0.012776034, -0.0117099183, -0.0176853221, -0.036912445, 0.0219397563, 0.0035523789, -0.0362184048, -0.0628328919, 0.0164965279, -0.0163321737, 0.05644238, 0.001505343, -0.0681982785, 0.1039084345, 0.0004264768, 0.0139538134, -0.0384798609, -0.0153983859, -0.0331040919, 0.0334934033, 0.0008168971, 0.0118554458, -0.0065735271, -0.0410623886, -0.0368320309, -0.0027380593, 0.0210270006, -0.0374340452, 0.0201591998, -0.0214961115, -0.010526347, -0.0056269523, -0.0664473101, -0.0086037554, -0.0688654482, -0.0369035266, -0.0183493327, 0.0232091676, -0.0227544941, -0.0011068718, -0.0224726424, 0.0075359414, 0.0174063817, -0.0006778437, 0.0180045012, -0.0215802025, -0.0095211584, 0.0248787235, -0.0101525271, -0.0070409854, -0.0418233201, -0.0437149405, 0.0555435903, 0.0893654078, 0.0027436689, 0.0215093195, 0.0013705157, 0.0561185032, -0.0469091982, -0.0324796997, 0.0065111551, 0.0508608148, -0.0222215485, 0.0336650237, 0.0784634873, 0.0171861593, -0.0919583589, 0.0029064086, -0.0006616922, 0.0613649376, 0.0135805439, 0.0348299369, -0.0928990245, -0.0234845486, 0.018246429, 0.0775576904, 0.03402704, -0.0498500951, 0.0054401918, -0.1110164076, 0.0463350266, 0.0230774432, -0.0120380437, -0.0092800492, -0.02777173, 0.0335798003, -0.002253931, 0.0136633227, -0.0129460264, 0.0312039256, -0.0044535035, 0.0240123402, -0.021358123, -0.0346028395, 0.0040060231, -0.0415530875, 0.0563137308, 0.0452653766, 0.0048436238, 0.0160708465, -0.0394495539, -0.042026341, 0.0218671579, -0.0306930076, -0.0340660177, 0.038686879, -0.0336900949, -0.0101475082, -0.0060430258, 0.0570034981, 0.0071106637, -0.0091995206, 0.0162941851, 0.0404760689, -0.0446071737, 0.0034408784, 0.006722948, -0.0094521819, 0.0542079918, 0.0411035717, 0.0090202149, -0.076172173, -0.0181933939, -0.0120974462, -0.0155875282, -0.0285850558, 0.014054127, 0.0267191511, -0.025892185, 0.0361972228, -0.0376573578, -0.0170353688, 0.0580236465, 0.0334541537, -0.002407595, 0.0280613117, 0.0321259573, -0.0197375994, 0.0169939864, 0.0492711104, -0.0442610532, 0.0515431985, -0.1212257892, -0.0685745552, 0.0070235329, -0.0279827695, -0.0062405183, 0.0081223557, -0.0026192996, -0.0522611439, 0.0175539162, 0.0517734028, 0.0166305229, 0.0526309423, -0.015335572, -0.1025442854, 0.0629283786, 0.0437192954, -0.0627533719, 0.009221972, 0.0552171059, -0.0376145504, -0.0041988231, 0.0476996601, -0.0142914793, 0.007503239, 0.0413693786, 0.0026727361, -0.0069194343, -0.0335680582, 0.00750111, 0.0096276952, 0.0824569166, -0.0352607407, 0.0397852026, -0.0373768881, 0.0363830552, 0.0063552293, -0.0180995557, -0.03393998, -0.0295378882, 0.0371453129, -0.0305685494, 0.0101224966, -0.0595060289, 0.0181578472, 0.0186800808, -0.0230523162, 0.0436757654, 0.037156336, -0.0014651654, 0.0750975907, 0.0246111751, 0.0031221528, 0.0279370099, 0.0334400684, 0.0762943104, -0.0000861211, 0.0603771619, 0.020715449, 0.0131932227, -0.0382092595, 0.0118813356, -0.0276393592, -0.113963075, -0.0127870534, 0.0051549049, 0.0229757428, -0.0115670888, -0.004909215, -0.0201641601, -0.0070916261, -0.0349207371, 0.0072812196, -0.0425180569, -0.0090005463, -0.0063896114, 0.0107972464, -0.0256382357, 0.0607789494, 0.0954088345, -0.0108728874, 0.0131594753, -0.0529199913, 0.0046785367, -0.0632867068, -0.0239270311, 0.0352521464, 0.0730636045, -0.0446321703, -0.0021709949, -0.0160078928, -0.0552074574, 0.0011398498, 0.0035935517, -0.0249557346, -0.0229481831, 0.0737590119, 0.0140638445, -0.0203911234, -0.0149409967, -0.0811508447, 0.0027769504, 0.0162757467, -0.0168322884, -0.0164923761, -6.734693663e-33, -0.0315970555, -0.0044687418, -0.0187687241, 0.0233439561, 0.0021885119, -0.0044308268, 0.0104049752, -0.0007067465, 0.0419176891, -0.0163038913, -0.0484659448, -0.0190624297, 0.0212022401, 0.0486826263, 0.0348420516, -0.0054494673, 0.0527890474, -0.035576798, -0.031866204, 0.0101464661, 0.0243858807, 0.037700817, 0.0116843386, -0.0522333309, 0.0031480221, 0.0217977278, -0.0076790876, 0.0065871938, -0.0661944374, 0.0593991652, 0.0009738696, 0.038009353, -0.0189862214, -0.0117338086, -0.0222415645, 0.0269486215, -0.0632632375, -0.0135406787, -0.0204569399, 0.0317697711, -0.0168929305, 0.014493851, 0.0516779721, -0.0268064626, -0.0137118101, -0.0028987415, 0.0190932527, -0.0089032743, -0.078109026, 0.0270386841, 0.016892489, -0.0053787576, 0.0079820985, 0.0020341021, 0.0110247349, 0.0288942177, -0.0164681096, -0.0175434984, -0.0560329147, 0.0295614935, 0.0253692176, -0.0106045669, 0.0192649029, 0.0195112079, 0.0403272808, 0.0596605912, 0.082391642, -0.0118232006, -0.0060007814, -0.0016524924, 0.0116217006, 0.053010568, -0.0079513919, 0.0380101427, -0.0173533484, -0.0563368946, -0.0027612634, 0.0150574381, 0.0522739515, -0.0257894695, 0.0244927518, 0.0403539166, -0.0405474305, -0.0357150771, -0.0319750719, -0.0202808883, -0.0028291026, -0.0341531932, 0.023349043, 0.0117836064, -0.0487497672, -0.0334585868, 0.0270445887, -0.0323379822, -0.0596091151, -0.0107201226, 0.0371507704, 0.0338938907, 0.0125677623, -0.0004780839, -0.0770497248, -0.0285749584, -0.0183915682, -0.0775206536, -0.0201480333, 0.024265416, 0.0496977605, 0.0123050818, -0.044325348, 0.0147361737, -0.0151129561, -0.0122343795, 0.0382181406, 0.0264294203, 0.0820936263, -0.0222840495, 0.0075916713, 0.0398163386, -0.0062409453, -0.0180912055, -0.0534124933, -0.0456664264, -0.0301160142, 0.0143537819, 0.0103753461, -0.0142295472, -0.0569957606, -0.0241580661, 0.0538705476, 0.0055433577, 0.0049801054, -0.0449776202, 3.013e-7, 0.0137580158, 0.0291374438, -0.0236003753, -0.030370919, -0.0139231393, 0.043523062, -0.0183588043, 0.0412337966, 0.026188137, 0.0178293325, 0.0326461196, 0.0076651047, 0.0536146052, 0.0155722518, -0.0788888335, 0.0013035731, -0.0135815451, 0.0462443046, -0.0804002434, -0.0531054139, -0.0230462737, 0.0548351035, 0.0830756873, -0.0266953483, 0.0250074342, 0.0236204024, 0.0365875997, -0.0885103866, -0.0346444622, -0.0080225347, 0.0157241691, 0.0540316626, -0.0228452273, 0.0137271006, -0.0106904246, 0.0027287812, -0.012566858, 0.0493906178, 0.007086229, -0.0120891891, -0.0085537285, -0.0020855372, -0.0045616427, 0.0014333167, 0.0499435663, -0.0596217848, -0.0152367037, 0.0052751615, 0.0154307866, -0.0743710175, 0.058831986, -0.0107958959, -0.0051811077, 0.0133183924, 0.0234803222, 0.0074560172, -0.0216080137, -0.0877887905, 0.0229877792, 0.0316804945, -0.0733844936, -0.0094463285, -0.0153178545, 0.0333307423, -0.0252925903, -0.0273847971, -0.0100677749, 2.677828018e-34, 0.0196556952, 0.0099235894, 0.0182565041, 0.0074284193, 0.0321485922, -0.0099386126, -0.0073973173, 0.0244685542, 0.0429475941, -0.0347658321, -0.0051180124 ]
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.
Strategies for Arabic Readability Modeling: 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.0062490567, 0.0196277313, -0.026791174, 0.0222515687, -0.0559972264, 0.0478421673, 0.0428831577, -0.0137371691, -0.0103444038, -0.0354706161, -0.0126474472, -0.0680495277, 0.0400115512, 0.0311232284, 0.021834353, -0.0174037218, 0.0094201174, -0.0705591366, 0.0062001338, 0.0281193852, 0.091085583, 0.01669861, -0.0306142457, 0.0063064042, 0.0179261342, -0.0529863127, 0.0079194559, -0.0205682199, 0.0061581465, 0.0197359622, 0.0150485346, 0.0842596292, -0.0482105017, -0.0128711266, 0.0000019417, -0.0460148305, -0.0671610907, -0.0144971143, 0.0198483504, 0.0453573577, 0.0693918914, -0.0384987853, -0.0372173563, 0.0067730295, -0.0043963003, 0.0198813956, 0.036940448, 0.0311289895, 0.0526100323, 0.0198395886, -0.0078421114, -0.0581001751, -0.0050432719, 0.037322633, -0.0111461747, 0.005733653, -0.0315992087, 0.0260377992, -0.0288047511, 0.0037441337, -0.0292985104, 0.0196433235, -0.0111417864, -0.0458954126, 0.0005021936, -0.0440638699, -0.0288611036, -0.0438184924, 0.0194410048, 0.0506124757, -0.0315402113, -0.0386882015, 0.0012976244, -0.0024885165, -0.0039311862, 0.013886299, 0.0118007585, -0.002179832, -0.0315832309, 0.0151756722, 0.0442692377, 0.0203772895, 0.0125731481, -0.0073550562, -0.0108795883, 0.0320687592, 0.0176364183, -0.0441232435, 0.0130103109, 0.0196848251, 0.0354626998, 0.0470279045, 0.0695115104, -0.0403814018, 0.0036578218, -0.0052444651, -0.0302396845, -0.0458268709, 0.0333205983, -0.0441832282, 0.0507462025, 0.0735325888, -0.0149662904, 0.0160516705, -0.0408858582, 0.0028316313, 0.0728420317, 0.0142912278, -0.0580930412, 0.0355457738, -0.0118971514, 0.0437742732, -0.0292661227, 0.0407189727, -0.0791844651, -0.0082172733, -0.0727888718, -0.0201239642, 0.0160667095, -0.0274539832, -0.0153105147, -0.0710240155, -0.0018896427, -0.0051090266, 0.0174573585, -0.0380626693, -0.0257615987, 0.0158815905, -0.0686353669, -0.0675514191, 0.0202833284, 0.0097188521, 0.0026882519, 0.0367312729, -0.0430666879, 0.0374918096, -0.0204345249, -0.069945544, -0.0633731335, 0.0404391624, -0.0102164084, 0.0059391819, -0.0359810442, -0.0494124629, 0.0066800844, -0.0107761147, 0.0206855182, 0.0100892549, -0.0249375328, 0.0132916374, 0.0671671927, 0.0711504221, 0.0274531301, -0.0058344458, 0.0180258807, 0.030339323, 0.0566419512, 0.0543347374, 0.0342392661, -0.0137227848, 0.0388441607, 0.0044072461, 0.0072523816, 0.0489061214, -0.038831085, 0.0132065387, 0.0221722666, -0.0249141734, -0.0122963581, 0.0297469907, -0.036317043, 0.0431304909, -0.0125732608, -0.0343279168, 0.0581060573, -0.0029441093, 0.0440823212, 0.0294324514, 0.0226371996, 0.0584601201, 0.0551550463, 0.0256296843, 0.0447419547, -0.0387524329, -0.0131224329, 0.0637386441, 0.0300435275, 0.0625959113, 0.0069875894, -0.1017706022, -0.0026085041, -0.0170308612, 0.0288886037, -0.0534957908, 0.0681546777, 0.0168165956, -0.0621368103, -0.022214137, 0.0292205121, -0.0653734505, 0.0347935557, -0.0142647801, 0.0237639062, 0.0517007597, 0.0628452525, -0.0441319086, -0.0074469354, 0.0166552886, 0.0058901403, 0.0376402959, 0.000045097, 0.0011523936, 0.0371664017, -0.0786859989, -0.0075778379, 0.0719625428, 0.018513767, -0.025198482, -0.0221962482, 0.0187840909, 0.0142452633, -0.0468786359, -0.0717722923, 0.0501721725, -0.0176053159, 0.0210055187, 0.005498643, -0.0012529374, 0.0233639292, 0.0559837483, -0.0180795938, 0.0019343687, -0.0205010679, -0.0207772627, 0.0448980369, -0.0091504622, -0.0200877842, 0.0056961761, 0.0096726576, -0.0397331119, 0.0151042165, 0.0215776116, 0.0054464107, -0.0205203518, 0.0178481657, -0.0471514575, 0.0296093337, -0.0562922917, 0.063813284, -0.0162877664, 0.0027133187, -0.0368333086, -0.02385059, -0.0235403851, -0.0125631718, -0.0388074368, -0.048461318, 0.0251254868, 0.0089647947, -0.0147423986, -0.0041287565, -0.0167731065, 0.0312341154, 0.0248180814, 0.0169802271, -0.052885823, -0.0543544553, -0.026906658, -0.0263678785, -0.0159612708, 0.0558629557, -0.0254864357, -0.0107409637, -0.0279420316, 0.0051222271, 0.023169741, 0.0013827408, -0.0405659489, -0.0057833479, 0.0389066339, -0.0364931971, 0.0193900634, -0.0702230781, -0.0520734787, 0.0299850535, 0.0624969266, 0.0784549192, -0.0023984201, 0.0074310657, -0.0386444591, 0.0440981127, -0.03710673, 0.042444095, -0.0493596904, 0.0053048013, -0.0056681023, 0.0318945982, 0.0284744706, -0.0151208807, 0.0282715838, 0.0247166045, -0.0033739603, -0.0183837544, -0.0191372745, -0.0005274334, -0.0013937304, -0.0239135548, -0.0848049298, -0.0164440852, 0.0153437387, -0.0235146694, -0.0134850182, -0.026977459, 0.0355669893, -0.0803560913, -0.0292942617, -0.0164502654, 0.0154063432, 0.0118445698, 0.0740089118, -0.00051899, -0.0519468561, 0.0283222329, -0.0584209934, 0.0191287789, -0.0357960165, 0.0240697656, -0.04026879, -0.0220247079, -0.0164168831, 0.0071618715, 0.0049826335, -0.0666848272, -0.001027376, 0.0119071202, 0.0271510687, -0.0233209524, 0.0310252551, -0.072561942, -0.0235730708, 0.0275991131, -0.0009361306, 0.019884631, 0.0079230973, 0.0030154767, -0.0472362675, 0.0465652458, 0.0006349442, -0.0471875146, 0.0360627472, 0.0134583982, 0.0228664204, -0.0264343675, 0.0167317968, 0.0129396329, 0.0153339393, 0.0002716776, -0.0160234813, -0.0032860502, -0.0498931184, -0.0085653821, 0.021956306, -0.0821982175, -0.0320410579, -0.0311635137, 0.0235004015, 0.0398153327, -0.0525619164, -0.0234704446, -0.0502975211, 0.0215999857, -0.0852733627, 0.004552749, 0.089084439, 0.0345284082, -0.0103454292, -0.0074259271, 0.0059760548, -0.0218649041, -0.0600471981, -0.0165457893, -0.0599756837, -0.0088740587, 0.05122035, 0.0606422499, -0.0001493243, 0.0199129898, 0.0732597187, -0.0425287299, 0.0053983834, 0.0206560921, -0.0360782892, -0.0726641491, -0.0243826509, 0.0008943043, -0.0296702646, -0.0076902206, -0.0291784573, -0.0137025416, 0.04248631, 0.0383482836, -0.0259808712, -0.0339369439, -0.0199997108, 0.0199354701, 0.0400329493, 0.0485804677, -0.0059828446, -0.0229792017, -0.0153705608, -0.0037171545, -0.0690315813, -0.0273110587, -0.0219915211, 0.0369474106, 0.0128255691, -0.0233740229, -0.0594279505, -0.027127292, 0.001585474, 0.0142230298, -0.0080541736, -0.039066907, 0.030790193, 0.0144812511, -0.0219857637, 0.0252506174, 0.0077528935, 0.0235929694, 0.0063282168, -0.0334689245, -0.0368881375, -0.0492013656, -0.018112272, -0.0971824303, -0.0524365008, -0.026698513, 0.0014309878, -0.0187791176, -0.0955919027, -0.0765552819, 0.0029377711, -0.0129659483, 0.0294153951, 0.0098705366, 0.0173262805, 0.0171459131, -0.0427266173, -0.0083455723, 0.0299494471, -0.0027257986, -0.0941457972, -0.0228920542, -0.0179286599, -0.08121977, -0.0104360832, -0.0095494594, -0.003052247, -0.0003222357, 0.0454914756, 0.0150614446, 0.0065448857, -0.0392795838, -0.0257604122, -0.0462187529, 0.0401117541, -0.0089554517, -0.0362411067, 0.0097156949, 0.0462952666, -0.0369012728, -0.0256201923, 0.011519054, 0.0457840487, 0.0272168238, 0.0011639217, -0.0088464562, 0.0019536205, -0.0584746636, -0.0088608311, -0.0184197053, 0.0054623103, -0.0142406067, -0.0366550758, -0.0575594828, 0.0244046859, -0.0286213569, 0.0559210293, -0.0282292832, 0.0282918122, 0.0198283121, 0.0302924793, -0.0251647308, 0.00324416, -0.0194712784, -0.0321995318, 0.0144604929, 0.0595796965, -0.0183791127, 0.0175550021, -0.0113340197, -0.0035934383, -0.0174792521, -0.0209476817, -0.0700872019, 0.0304712672, 0.0284896363, 0.0190057494, -0.0126634436, 0.0222684778, 0.0368898474, 0.0818409994, 0.0423872024, 0.0723187625, -0.0290415492, 0.0534715578, -0.0020976837, -0.0487679504, 0.0651943311, 0.001198343, 0.019096991, -0.0308747981, 0.0501723178, 0.0037592892, -0.0100070145, -0.0313652754, -0.0060004094, 0.0241726059, -0.0209489204, 0.0906499177, 0.007784002, -0.0678888708, 0.0337122008, -0.0173087362, -0.0145706218, -0.0136422291, -0.0232481323, 0.0361212008, -0.0559340864, 0.0153698521, -0.066097565, -0.0495028012, 0.0065018339, 0.0569082983, 0.0182802528, 0.0244053807, -0.0276503433, 0.071418412, -0.0122903679, -0.016847292, -0.0731691271, -0.024571687, -0.0329320356, -0.0170448627, 0.0200735964, -5.712597284e-33, 0.0030964673, -0.0221075956, -0.0142990062, 0.0057121357, 0.0082706744, 0.0150165511, -0.0473467633, -0.0068569048, 0.0054754899, 0.0456731059, 0.0016886983, 0.0141864605, 0.0355751812, 0.0095211752, 0.0046781665, -0.0013303949, 0.03442901, 0.0080089234, -0.0076700971, 0.0269018486, 0.0022164998, 0.031689927, 0.0622502565, -0.0436218604, 0.061092034, -0.0308091044, -0.0340398438, 0.005196075, 0.0289348867, 0.0943185017, 0.0006838655, 0.0221450813, 0.0238167457, -0.0076774629, 0.0139654074, 0.0219546016, -0.0634971932, 0.0021680072, 0.0207122676, 0.0381673425, -0.0075248289, -0.0321792625, -0.02436243, -0.008074698, -0.024278691, -0.0003106068, 0.0224318113, -0.035052307, -0.0011548895, -0.0110880658, -0.0949981809, 0.0740720704, -0.028483687, -0.0026289786, 0.0845051557, 0.04624236, -0.0196027495, 0.0047129598, -0.0168242399, 0.0330878533, 0.0398317277, 0.0421887077, 0.0396795198, -0.0162376668, -0.0662457198, 0.0011516594, -0.017034756, -0.0354839228, 0.0277967341, 0.0247938689, 0.0475556217, -0.0559247099, 0.0483602695, 0.050733652, 0.0329587348, -0.0013290844, -0.0313796885, 0.0531399846, -0.0478118323, 0.0416087583, 0.0285827927, -0.0105279982, -0.0811354592, 0.0136539824, -0.009419756, -0.0126233771, -0.0211231187, 0.0007726997, 0.0127382893, -0.0418123454, -0.0296032112, 0.0324153416, -0.0031352877, 0.0419584699, 0.0545765273, -0.0106745549, 0.0054885177, 0.0140893413, -0.0614247881, 0.0414316654, -0.0193408839, -0.0199954603, 0.0076818694, 0.014070062, 0.0047734627, -0.022412261, -0.0003790781, 0.0222956631, -0.0554685108, 0.0087502161, 0.0030227054, 0.0224712882, 0.0244959537, 0.0759301931, -0.0084333103, -0.0115014585, -0.0066013914, 0.0445138104, 0.0257837549, -0.000877105, -0.0152685335, -0.0314652957, -0.010566202, -0.0063240938, -0.0314210169, 0.0007302395, -0.0277201142, 0.0089479741, 0.0029511701, -0.0319340006, 0.0185300969, 0.0026540104, 2.553e-7, 0.0550492965, 0.0490307696, 0.0109711438, 0.0135093872, -0.0217959825, 0.0053622522, 0.0119554615, 0.0445986874, 0.0273272078, 0.0662027672, 0.03558103, -0.0238992963, 0.080836758, -0.030604193, -0.0805376694, -0.0098439334, 0.042529922, 0.0485786907, -0.0304173771, 0.0304542854, 0.0566951372, 0.082271643, -0.0573150069, 0.0209985208, 0.0099273706, -0.0438468643, 0.0091116615, -0.0376390219, -0.0126940124, 0.0428170674, 0.1490332335, -0.0289915483, 0.0168710649, 0.021602774, -0.0612585321, -0.0208542589, 0.0459996425, 0.0773228854, 0.0370679051, 0.0158815291, 0.0253627542, -0.0113958912, -0.0176740699, -0.0299827363, 0.0259689987, 0.0280085001, -0.0043511419, 0.0621808916, -0.0598399155, 0.0027770121, 0.0061036763, -0.0348745659, -0.0383689143, 0.0254779812, 0.0404821225, -0.0408668369, 0.0219183173, 0.0039054577, -0.0135139981, -0.0154712368, 0.0430858321, 0.0111139026, 0.011951413, -0.0426538885, 0.0124942893, -0.0335462801, -0.0001496944, 1.90470194e-34, 0.0611471832, -0.0114066387, 0.0162727199, 0.0151871126, 0.0161414742, -0.0027011193, -0.0069418675, -0.0027982143, -0.0182045717, -0.0425495096, 0.0158379897 ]
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.
Exploiting Dialect Identification in Automatic Dialectal Text Normalization: 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.0112891905, 0.0860684216, 0.013905135, -0.0108838407, -0.0628569797, 0.0127561521, 0.0309730414, -0.0083797025, -0.0380559713, -0.0472492501, 0.0146060698, -0.0650817156, 0.0662695244, -0.0119623495, 0.0197434127, -0.0333401337, -0.0016513827, -0.0597772337, -0.0438837707, 0.0102081327, 0.0721857175, 0.0334487744, 0.0299982689, 0.0249906126, 0.009959464, -0.0181699991, 0.0043704566, 0.0126793198, 0.0038611467, 0.026702458, 0.0015029027, 0.0747139156, -0.0034437221, 0.0203735549, 0.0000015974, -0.0451754667, -0.046713233, -0.0380430333, 0.0034990138, 0.0398042873, 0.0393315479, -0.0471975915, -0.0451357849, 0.0686708018, -0.0148668624, -0.0175852235, 0.0528895929, 0.0101530198, 0.0280187353, 0.0368436947, -0.0121441986, -0.0722886696, -0.0090614399, -0.0087295081, -0.1043186039, -0.0011773218, -0.0176907424, -0.0181170907, -0.0174837168, -0.0257934406, 0.0062963068, 0.0379353203, -0.0207414683, -0.0127731543, -0.0401455387, -0.0383313075, -0.0341114588, -0.0090080071, 0.0100956252, 0.0327296257, -0.0420039445, -0.0585637353, 0.0118748425, 0.0338302627, 0.0040251599, 0.0053972397, 0.005042193, 0.0199423768, -0.0387598574, 0.019890897, 0.0176657178, -0.0031535833, 0.0173488818, -0.0098224999, -0.0542449467, 0.0254350118, 0.0196546745, -0.0228766631, 0.0019501131, 0.0248026792, 0.0054275272, -0.0303347334, 0.075566113, 0.0172784366, -0.0262597501, -0.0060907528, -0.0170204379, -0.0547922477, 0.0143425521, -0.06282942, 0.03823632, 0.0254404321, -0.0252493359, -0.0140904915, -0.0191762485, -0.0261742268, 0.0474814922, 0.053028781, -0.073747471, -0.0002375161, -0.0550153591, 0.0435790718, -0.0441305637, 0.0221618917, -0.0603752919, 0.0257514417, -0.035538964, -0.0260531958, 0.0088109644, 0.0191173982, 0.0531545691, -0.0085430453, -0.0147408899, -0.0428482443, 0.0379334763, 0.0611961707, -0.0270239506, -0.0112710027, -0.0518744588, -0.0659297258, 0.0111489715, 0.0402886234, 0.0510120131, 0.0530523621, -0.018768087, -0.008109821, -0.0235907082, -0.081373021, -0.0903219879, 0.0060082413, -0.045603361, -0.0084961737, -0.0734034553, -0.0858978927, 0.0173308011, -0.0037384958, -0.0046468019, -0.0088962624, -0.0280204099, -0.0015415124, 0.0486660972, 0.0478824228, 0.0033846437, 0.0119365072, 0.0658218265, 0.0086632147, 0.0606555343, 0.0675276592, -0.0004870354, -0.0016753215, 0.0246399064, -0.0177081712, -0.0206066985, 0.0751926824, 0.0139882518, 0.0160162281, -0.0542176627, -0.046974916, 0.0093334224, 0.0665800497, 0.0075051622, 0.0692874268, -0.0098380866, -0.0112905698, 0.0304338764, 0.0521643944, 0.0073857624, -0.0300406367, 0.015995644, 0.0455119237, -0.0131728463, 0.0250109453, 0.044467777, -0.0421093553, 0.009669573, -0.0019894342, 0.0210777111, 0.0930991396, -0.0447000191, -0.0261166859, -0.0085818972, -0.0278696995, 0.0131130628, -0.0187470671, 0.0548537932, 0.0207949281, -0.0204191897, 0.0016147994, 0.0125195431, -0.0160958152, 0.0386206023, -0.0109647838, -0.0582671352, 0.0264279917, 0.0368818529, 0.024851745, -0.0132391211, -0.0136440275, 0.0211742427, 0.0441486239, 0.0257103276, -0.0325783156, -0.002867514, -0.0548433848, -0.0066745859, 0.0779876411, 0.0027981049, 0.001123392, 0.0010030677, 0.0162313674, 0.0020550578, -0.0094434945, -0.0634028167, 0.0195490494, -0.0357449241, 0.0081212288, 0.0265788771, 0.0349381007, -0.0125925774, 0.0729739517, -0.0098095164, 0.0048385058, 0.0215785932, -0.0410601534, 0.0011466908, 0.0677206218, -0.0321359411, -0.0265615974, 0.0705492571, -0.0111949779, -0.0073636379, 0.019109128, 0.0112993009, -0.0691649318, 0.089283824, -0.0377812758, 0.0797155052, -0.0294845812, 0.0527927205, -0.0160221551, 0.0122785643, -0.019917829, -0.0094999596, -0.0375534408, -0.0363784283, -0.0081920652, -0.0544401705, 0.0411340222, 0.0290903617, 0.0120877521, 0.0101553239, -0.0053230086, 0.0427574813, 0.0233160928, -0.0330105089, -0.0065527214, -0.0369346775, -0.0898290873, -0.0348100215, -0.0615597852, 0.0744774714, 0.0127460761, 0.046383597, 0.0162792057, -0.0263682548, -0.0156199429, -0.0139670223, 0.0226626415, 0.0123216351, 0.0329495929, -0.0139526231, -0.0012775944, -0.0519269742, 0.0059506088, 0.0235412605, 0.0395159125, -0.0058677648, -0.0421843044, -0.0150005249, -0.0442795865, 0.0183223076, 0.049529206, 0.0279012863, -0.0177517831, 0.0257572569, -0.0219941605, 0.0591385923, 0.0139998626, -0.0081358077, -0.0020373338, 0.0171497259, -0.0183526259, -0.0386851616, -0.0315316729, 0.0017977112, -0.0613743626, -0.0567663647, -0.0880991071, -0.028953217, 0.0524877682, -0.0307718441, 0.0246890429, -0.0429302938, -0.0094391089, 0.001672977, 0.0230602883, 0.0221817289, 0.0150714805, -0.01947679, 0.0694608018, -0.006145353, -0.0325222649, -0.0000605822, -0.0409678556, 0.0181108415, -0.0255282521, -0.0009066613, -0.0260640197, 0.0035071021, -0.0245428085, 0.0357058458, -0.0171392765, -0.0626389235, 0.0023358099, -0.0478323847, -0.0059183217, -0.0093709975, 0.0274835955, -0.0504643992, 0.01486699, -0.0066267336, -0.0411761701, 0.0199543145, -0.0118534304, -0.069954291, 0.0034165923, 0.0269210301, -0.0538171865, -0.0258761998, 0.0430422835, -0.0186865795, 0.0559766181, -0.0046961834, 0.0249982011, 0.0044455216, 0.0262968522, 0.0408110097, 0.0413047969, -0.0066300291, 0.0243107285, 0.0459968448, 0.0355165191, -0.0077691427, 0.0188399479, -0.0619025193, -0.0446581468, 0.011970086, -0.071056895, -0.0197851472, -0.0226457976, 0.0061553512, 0.0113276439, -0.0045888685, 0.1029806063, 0.0168300588, -0.061889071, -0.0052771028, 0.0023853057, 0.0116451504, -0.0182151161, -0.027157126, -0.0831271708, -0.0205868334, 0.0162253901, 0.0471994653, 0.0659610108, -0.003008116, 0.0371161997, -0.084962897, -0.0377897918, -0.0022659509, -0.0274225529, -0.0338217467, -0.0168080535, -0.008866271, -0.017864041, 0.0321682617, -0.0046778722, -0.0039001252, 0.0056155277, 0.0680632815, -0.0127798906, -0.066032134, -0.0135177607, -0.0611507073, 0.0565999374, 0.0043089632, -0.0098716337, -0.0097665321, -0.0235336237, 0.0091202352, -0.0380821005, -0.0197928865, 0.0143556679, -0.0016092488, -0.0063925786, -0.0095262965, -0.0243763309, -0.0320459679, -0.0732394531, 0.0240024142, -0.0063421098, 0.0066398294, 0.0318034813, 0.021793928, 0.0145846512, 0.0245185327, 0.0005877247, 0.0121832993, 0.0004574514, -0.0505485535, -0.0417412557, -0.0041823918, -0.0107598854, -0.1041284129, -0.0157450102, -0.0011438358, 0.0317542516, -0.0498507805, -0.0839511231, -0.0514323637, 0.0091203777, 0.0480350591, 0.0181539413, -0.0164320897, 0.0583562925, -0.0061089648, -0.0276316199, -0.0376558639, -0.0022573364, 0.007273593, -0.0685327202, -0.0040072724, 0.0483158156, -0.0394900553, 0.0523782708, -0.0147843501, -0.0592641085, -0.0435551777, 0.022219697, -0.0475150272, 0.0128088631, 0.0141268997, -0.0160021912, -0.0464531593, -0.0317074694, 0.0067432411, 0.0482556745, 0.0256038085, 0.0324469246, 0.0179181192, -0.0458561555, 0.0571653768, 0.0501418598, 0.0039010651, -0.0101593621, -0.0090724602, -0.0495660827, -0.0485971756, -0.0115288198, -0.0003881717, -0.0039403648, -0.0516571961, -0.0100768637, -0.0093139196, -0.0236232113, -0.0106742457, 0.0500445254, -0.0052628433, 0.0271848794, 0.0576595739, 0.0166498926, 0.0101782037, -0.0013972529, -0.0410720743, -0.0056347302, 0.0142442342, 0.0236372389, -0.0010924868, 0.0547568612, -0.0038680623, 0.0066849841, 0.0131937061, 0.0369701982, -0.0197550133, 0.0642543882, -0.0406087413, -0.0318895616, -0.0213838052, 0.0654276758, 0.0114193475, 0.0594180636, 0.0187054053, 0.0212304592, -0.0240190476, 0.0569219738, 0.0542433374, -0.0217998009, 0.103614904, 0.0265257154, 0.0179317854, -0.0111485273, -0.0023020913, -0.0152805354, -0.0198793653, -0.0314382687, -0.0194678921, -0.0284848269, 0.0577925667, 0.0787737817, 0.0001620095, 0.0087667555, 0.0362095572, -0.0145053817, -0.0023800319, -0.0273872484, 0.0225417316, 0.0433107316, -0.0510460325, -0.0222482979, -0.0278151948, -0.0717615858, 0.0154022742, 0.0114271604, 0.0042421934, 0.040113654, -0.0069666165, 0.0447891392, 0.0124867652, 0.0206485186, -0.025189789, 0.0133916652, 0.0026431659, -0.0619067997, 0.035109885, -5.833482184e-33, 0.0206671543, -0.0149425324, -0.0283484329, -0.0143886851, 0.0432528891, -0.0127712898, -0.0202235784, 0.0325617343, -0.0037920394, -0.0111519918, -0.0566159822, 0.0079767844, 0.0321922861, 0.0282562394, 0.0528423749, -0.0078293318, 0.0133536905, -0.0372524001, -0.0041079144, 0.0335542411, 0.0397690199, 0.0245280489, 0.0968308374, -0.0487155952, -0.0071325949, -0.0194348991, -0.055413384, -0.0033620119, 0.0498245396, 0.0487903319, -0.0224318746, 0.061008513, 0.0192534886, 0.0060689868, 0.010315435, 0.0132464347, -0.0546310432, 0.0068936273, 0.0101646539, 0.0662272498, -0.0162885319, 0.0049299933, 0.0008267745, -0.0299185794, -0.0613620579, 0.0504968315, -0.0222634114, 0.0111180721, 0.0155640785, 0.01707731, -0.087070778, 0.0608303845, 0.0039525684, -0.0167749394, 0.0960611999, 0.0133712394, -0.0224200822, -0.0421967506, -0.0105557078, -0.0101821441, 0.0427717082, 0.0518721938, 0.0535607338, 0.0423197448, -0.0925472081, -0.0190574583, 0.0169017538, 0.0003589509, 0.043287728, 0.0276281703, 0.0272300784, -0.0601353645, 0.0008306833, 0.0810389146, 0.0155200018, -0.044664219, -0.0433250815, 0.0383500755, 0.0144886067, -0.0040329495, -0.0176690836, -0.0144973304, -0.0046989168, -0.0286105685, -0.0120209455, -0.0928881168, 0.0054609911, -0.0019466028, 0.002018105, 0.0111138979, -0.0176701155, 0.0759442523, 0.0190233141, 0.0072206734, -0.0021515004, 0.0229139365, -0.0065212273, 0.0124671096, -0.0342622884, 0.0344199277, -0.0670867488, -0.023427669, 0.0303687658, 0.0470025167, -0.0044009341, 0.0100342939, 0.0106646251, 0.0240246151, -0.0680247322, 0.0156091545, -0.0275996495, 0.0406276099, -0.0347761624, 0.0818831772, 0.0416073054, -0.0207387935, 0.0270641632, 0.0199097842, 0.0489457324, 0.0057657869, -0.003594025, -0.0104389954, 0.003029936, -0.0073356498, 0.0149346273, 0.046010375, -0.0155382445, -0.0286943, -0.0092537608, -0.0110242832, 0.0157413594, -0.0044131512, 2.461e-7, 0.04547479, 0.0162479114, 0.0569346733, -0.0427048318, -0.0009084845, 0.000978587, 0.0329537764, 0.0266728513, -0.0044170562, -0.0232080892, 0.0279249251, -0.0231453869, 0.0738387257, 0.0019667372, -0.0795116201, -0.0346428193, -0.0526913442, 0.0317486599, -0.0354596339, -0.0096413018, 0.0307382736, 0.1093056425, -0.055548951, -0.0414154045, -0.0062668393, -0.0207300261, 0.0114899017, 0.0114390412, -0.0131255556, 0.0300674159, 0.0337581336, -0.0411837287, -0.011684834, -0.0339664817, -0.0288776048, 0.0098760827, 0.0099058831, 0.0694509074, 0.0116164954, -0.0141169373, -0.0012427645, -0.0413881466, -0.0127446335, -0.0222748127, 0.035852775, 0.040189527, -0.0006627629, -0.0041893311, -0.0307426881, 0.0257955659, 0.0349057764, -0.0226141792, -0.0247739889, 0.0322549269, 0.0489637554, 0.0051982389, -0.0275455881, -0.0676663369, -0.0006311971, 0.0219614264, 0.0089005288, 0.0007877273, 0.0219304524, 0.007118063, -0.0108605027, -0.0292739011, 0.0206449106, 1.870112559e-34, 0.0374919772, 0.0023132069, 0.0155782113, -0.0044260789, 0.0078135682, -0.0082768872, -0.0526962839, 0.0103464033, -0.0116803898, -0.0568208359, 0.0014997914 ]
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.
What Affects the Stability of Tool Learning? An Empirical Study on the Robustness of Tool Learning Frameworks: 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.0197981223, -0.0054192417, -0.0322985165, 0.028993221, -0.0151782259, 0.0306349825, -0.0124253063, -0.0026678687, 0.0072830669, -0.0222089626, -0.0260728765, 0.0149480226, -0.0095830215, -0.0122562833, 0.013828991, -0.0463792644, 0.0415941216, -0.0347745083, -0.0671563298, 0.0080205686, -0.0031512175, 0.0274765212, -0.0189207215, 0.0898277089, -0.0169478208, -0.0062390203, 0.0034786372, 0.0068095522, -0.0417434648, 0.026021054, 0.0319226384, 0.0250736717, 0.0419250987, 0.0857425109, 0.0000020652, -0.0647416562, -0.0144946715, -0.0029249096, -0.0206739418, -0.0270540845, 0.0691916272, -0.0165442228, -0.0225619823, 0.0511261933, -0.0275567863, -0.0224029943, 0.0572398342, -0.0141328992, 0.0432807542, 0.0436396971, -0.0019289865, 0.0313331746, -0.020481281, -0.0083671315, -0.0742622688, -0.0201917291, 0.0078095449, 0.0340403058, 0.0338558108, -0.0316960886, 0.0159067642, 0.0157659352, 0.0082760574, 0.0054659997, 0.0143232131, 0.0352654904, -0.0292109996, -0.0144295748, -0.0170834623, 0.0499408245, -0.0510378778, -0.0333141126, -0.001406226, -0.0193423349, -0.012006077, 0.0760206208, -0.0411515348, -0.0101743601, 0.0024022323, 0.0117263114, -0.0099959588, -0.0572296605, 0.0117407413, 0.0140825966, -0.0029005581, 0.0647448227, -0.0087124826, 0.0003427795, 0.003366671, 0.0082080979, 0.0059359586, -0.0360059217, -0.0264224373, 0.0457215011, -0.0445612893, 0.0320782438, -0.0494530685, 0.0006808477, 0.0241006929, -0.0880045518, 0.0390705466, 0.0164544787, -0.0533448458, 0.0298298597, -0.0446723849, -0.0048307637, 0.0121999318, 0.0305260587, -0.0505670905, -0.0090453671, -0.0745552927, -0.0044978959, -0.01010866, 0.0173424687, 0.0048640422, -0.044737868, -0.0075047617, 0.0642230585, 0.0077821724, 0.0558105521, -0.0104014613, -0.0415117666, -0.025290167, -0.0097572887, -0.003886516, 0.0168034472, -0.0222589038, 0.0602338351, -0.0288179573, -0.0282202847, 0.0064869239, 0.0124139432, -0.0210331157, -0.016763594, -0.0033031327, 0.0970956683, -0.0218700916, 0.0505359694, -0.0687405914, -0.030712273, 0.0413382761, -0.0368144624, -0.0330146365, -0.0830158517, 0.0084327068, 0.0752364174, -0.0116051268, -0.0498008244, -0.0019429475, -0.0229285397, -0.0379162505, 0.0385864936, -0.021832522, 0.0243561119, 0.0397929624, -0.0005013245, -0.0238282401, 0.0683597028, -0.0162272248, 0.0302591473, 0.0228459053, -0.0241349377, -0.0114660738, 0.0742939115, -0.0336228274, 0.0154371681, -0.0320532285, 0.0192329716, 0.0385610871, 0.0198184047, 0.00244896, 0.0059634834, 0.0068876217, 0.0030442728, 0.062759921, 0.035538733, 0.0484760888, 0.0279626139, 0.0297949314, 0.0315655433, -0.0062981211, -0.0129600577, -0.0738543868, -0.0239127334, -0.0494867675, 0.0144841336, -0.0461961813, 0.0155652631, -0.0147081614, -0.0054905522, -0.0372293629, -0.0162590146, -0.0402881391, 0.0128337396, 0.0695443079, -0.0129339099, -0.0285992138, 0.0204012655, 0.0244353544, -0.0187068395, -0.0229968168, -0.0453103259, -0.0104575353, 0.0616644695, 0.0758296326, -0.0442037694, -0.0446708985, -0.0199336391, 0.0122269932, -0.0001147249, 0.037667457, -0.0383238457, 0.0121171251, -0.0493908189, -0.0484322049, 0.0170915257, -0.0230770409, 0.0305515341, 0.0508354045, -0.0108307702, -0.0018966469, -0.0871881843, -0.0376003012, 0.0638524443, -0.0003333532, -0.0160839725, -0.0005533082, 0.006226351, 0.0363709182, -0.0396605916, -0.034052927, -0.0154820466, 0.023212675, 0.0011175403, -0.0122698098, 0.0311515015, -0.0318982787, 0.0312909894, 0.0477026515, 0.0352009088, 0.0205335114, 0.0281400178, -0.0238398723, -0.0171993375, 0.0076305657, 0.0059266165, 0.0564727038, -0.0069058267, 0.0429738574, -0.0380594023, 0.0018916108, -0.0557425506, 0.02841538, -0.0096746832, -0.0083555626, -0.027821308, 0.0026824442, 0.001696685, 0.0231413916, -0.0055831484, 0.0292778052, 0.0006153336, 0.0529638007, -0.0031591197, -0.0045980657, -0.0258416366, -0.0134680765, -0.0764934048, 0.000625121, -0.0104244305, 0.0089999102, -0.0058510564, -0.0424139649, -0.0151717504, -0.0354918838, -0.0220328644, 0.0195300356, -0.0119824074, 0.0269727726, -0.004484158, 0.0135953687, 0.0033468076, -0.0379067324, -0.0127410358, -0.0066084792, 0.0486775115, -0.0128403101, -0.0380131267, -0.0691751465, 0.0983185917, -0.0075953212, 0.0348076113, -0.0286952388, 0.0027619028, -0.0024061343, -0.0162842125, 0.0125782276, 0.0410455726, -0.048500102, 0.019609265, 0.080795601, 0.0256211199, -0.0965317488, -0.0108059654, -0.0134718018, -0.0445330217, -0.0350798815, -0.0002555535, -0.0035757939, 0.0236830823, 0.0079406686, 0.0208002664, 0.0268066954, 0.0116071068, -0.0147989774, -0.0318059437, -0.0328567512, -0.0150079057, -0.0076551167, 0.01252208, -0.0154092684, -0.0923851356, 0.0571944788, -0.0219059959, -0.0202999916, -0.0221767761, -0.0416708253, -0.0357296877, 0.0426513851, 0.0089226775, 0.0149871344, -0.002020451, -0.0272691399, -0.0568662621, -0.0380404107, 0.0311460383, -0.0192282423, 0.0572154, -0.0639853179, 0.0338303931, -0.0114968624, -0.0315892659, -0.0370856151, -0.0056248503, -0.0322595276, 0.0206584185, 0.0064559104, -0.0272924379, 0.0354758501, 0.0484497882, 0.0117706545, 0.0417721272, 0.0234502461, -0.0249871742, -0.0283905379, 0.0497063771, 0.018058911, 0.0018669369, 0.0084161386, -0.039490819, -0.0010445815, 0.0220994819, 0.0704662353, -0.0562656373, -0.0688070133, -0.0118863238, 0.0502656624, -0.0567227937, -0.0054000225, 0.0425787307, 0.028133275, -0.0795048028, 0.0280516688, 0.0670428127, 0.0394592695, -0.0596906058, 0.0042483159, 0.0280647259, 0.0374222286, 0.05583857, 0.0455929264, -0.0746487081, -0.0311843585, 0.0269875843, 0.0530153029, 0.0085321935, -0.0235409457, -0.001547248, -0.1228442267, 0.0274313856, 0.0095748259, -0.0196308102, 0.0465010479, -0.0367914326, 0.0035165772, -0.0125642596, 0.0145047065, 0.0246330705, -0.0267023016, -0.0121598402, 0.057470452, -0.0468472652, -0.0869074613, 0.0066373097, -0.0404112227, 0.0599539094, 0.0565862097, -0.0220354851, -0.0074979295, 0.0363285132, 0.0976321399, 0.0429326445, 0.0147075839, -0.044721093, 0.023025671, 0.0101045445, -0.0105868848, 0.0276969094, 0.0210924465, -0.0326701961, 0.0234408565, 0.0337151289, 0.0876186192, -0.0127539113, 0.0049259756, 0.0036008663, -0.0518369377, 0.0153189888, 0.0244731065, 0.0072313137, -0.0261045583, -0.0431266353, -0.0246102344, -0.0427787565, -0.0091277501, -0.0197059102, 0.0102047622, -0.0079377759, 0.0005772356, -0.0445700549, -0.0178496558, 0.056430839, 0.0201417804, 0.0483693406, 0.0227731951, -0.0310297292, 0.0387841575, -0.0498331338, 0.0358365253, -0.0349025503, 0.0515707731, -0.0438525528, -0.0227715373, 0.0126801599, -0.0253159292, 0.0021770224, 0.0101323482, -0.0583258159, -0.0765140206, -0.0168347601, 0.059647087, 0.0272662714, 0.0330018774, -0.0150191598, -0.0624871589, -0.0046537071, 0.0265630838, -0.0313171223, -0.0155744348, 0.0183172766, -0.0167507101, 0.0009115125, 0.0211249702, -0.0417131223, -0.0108926091, 0.0162978452, -0.0114512267, -0.0237019602, -0.0377537422, 0.0252102204, 0.0090287868, -0.0321371481, 0.0039520119, 0.0105081592, -0.032304503, 0.0195714254, 0.0441620685, -0.0131520387, -0.0313101523, 0.0164588783, -0.0166364983, 0.0185963046, 0.0418213047, 0.0169315152, 0.0160409622, 0.0515286922, -0.0275047384, 0.0316721611, 0.0027058607, 0.024954021, 0.0785214007, 0.0446067713, -0.0313618407, 0.0165234264, 0.0053319992, 0.0460459404, -0.021236755, 0.0562579893, -0.0156350434, 0.0159918442, -0.0097370613, 0.0173617415, -0.0242290795, -0.1163484827, -0.0281347148, 0.0042588036, 0.0542517118, -0.0464967526, 0.0463732369, -0.0476784967, 0.0029885855, -0.0478011034, 0.0212882198, -0.015997123, -0.0002814559, -0.0078758243, 0.017618645, -0.0407884195, 0.0261602998, 0.0779966861, 0.0055419109, 0.023427425, -0.0117845749, -0.0414366536, -0.0485689901, -0.0386063755, 0.0642225295, -0.0031124654, -0.0401582643, -0.0155516397, -0.0460315906, -0.0510190539, -0.0567249991, -0.0307098459, -0.0025747176, -0.0497199744, 0.0166096091, 0.1056427956, 0.024321707, 0.0496883616, -0.0341588296, -0.0289199743, -0.0329531096, 0.0001576319, -0.007304599, -5.212729331e-33, -0.0043125465, -0.0051711011, 0.0293845609, -0.003951604, 0.03211293, -0.0130877756, -0.0087825879, 0.0294985119, -0.031076191, -0.0329408124, 0.0007930728, -0.02808786, 0.0259964596, -0.025917409, 0.0419531018, 0.0429944918, 0.0473653413, -0.0057486459, -0.0157866199, 0.0079334779, 0.0396448486, 0.0246651471, 0.0469417572, -0.0692148432, -0.0104063423, 0.0289542638, 0.0216651652, 0.0125626018, 0.0262900162, 0.0552594215, 0.0009748522, 0.0521266721, 0.0166068394, -0.0390829481, -0.0414005369, -0.0351001322, -0.0585305057, 0.0115855113, 0.0087659908, 0.0421939716, 0.0202328302, -0.0054687196, 0.0587194636, -0.0209490024, -0.0252099112, 0.0162777398, 0.0441066548, -0.0224622693, -0.0596949831, -0.0258757304, -0.0542190038, 0.0275893994, -0.0066892449, -0.0552211888, 0.0275336802, 0.009605471, -0.0068213381, -0.0066734813, -0.0318947025, 0.007157688, 0.0379768722, 0.0579925552, 0.1004353091, 0.0512646101, -0.0300324671, 0.0336897783, 0.0176817868, -0.0127046192, 0.0325174406, -0.0254828092, 0.0467803255, 0.0717856586, 0.035219457, 0.0045371461, -0.0395389199, -0.0016934986, -0.0080579706, 0.0328666568, 0.0726860315, 0.0421739966, 0.0533144288, 0.0422144197, -0.0433523469, -0.0279674958, -0.0350661427, -0.0269739516, -0.0220157877, -0.0329045914, 0.0421939194, 0.0142760938, 0.010713838, -0.0006570973, 0.0305015612, -0.0263086874, -0.028683152, 0.0250741355, -0.0298531279, 0.0292878691, 0.0103344871, 0.0322631784, -0.0712879524, -0.0325756706, -0.0494336151, -0.0149455462, 0.0311867949, -0.0285409596, 0.008930468, 0.0362844691, -0.0886694565, 0.0225180071, -0.0629821494, 0.0200387165, 0.0051913089, 0.0378727429, 0.0486542583, -0.046049349, 0.0116730053, 0.0085731931, -0.0119490866, -0.0472353548, -0.0196809899, -0.0072232527, -0.0227678064, -0.0001565958, -0.0261807218, -0.0059827645, -0.039188236, 0.0066445316, 0.0452657118, -0.0095642321, -0.0017231161, -0.0424443334, 2.598e-7, 0.0179711934, 0.0384822749, -0.0038543656, 0.0184149016, -0.0000199274, 0.0390539505, -0.0555309653, 0.0143829994, 0.0040427926, 0.0342301577, -0.0107179973, 0.020877108, 0.0676335841, 0.0466745459, -0.0567785501, -0.0117146242, -0.0118052214, 0.0546165407, -0.0820607394, -0.0185921434, 0.0078844521, 0.0722742304, 0.0029244921, -0.0209580604, -0.0044691777, -0.1050808653, 0.0217185784, -0.0464333072, 0.0086633237, 0.0213385392, -0.0201001093, 0.0477003418, -0.0014101756, 0.0026526875, 0.003420721, 0.0291887466, -0.0146423811, 0.0657835156, -0.0014773362, -0.0009918793, 0.0125295529, -0.0343717933, 0.0175358541, -0.0652977675, 0.055090785, -0.0725219473, -0.0089042904, -0.0221925117, 0.0438280031, -0.0278790016, -0.0414963327, -0.0109504731, 0.0019902985, 0.0129721202, 0.0321775191, -0.0337180309, -0.0264950749, -0.0564177074, -0.0311081875, 0.0871108249, -0.0216010381, -0.0766380653, -0.0358899049, -0.0036536418, -0.040904101, -0.0197772272, -0.0038731394, 2.657163424e-34, 0.0300690737, 0.0229484867, 0.0352439582, 0.0897153988, 0.0070029488, -0.005652294, 0.0180556588, 0.0243117176, 0.0205476116, -0.0289689805, 0.0125116957 ]
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.
Human-like Linguistic Biases in Neural Speech Models: Phonetic Categorization and Phonotactic Constraints in Wav2Vec2.0: 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.0207963195, 0.0955463797, -0.0124698123, 0.0180112217, -0.0214031506, -0.016553726, 0.0287761185, -0.0372900181, -0.0396495797, 0.0079028271, -0.0554704033, -0.0486805514, 0.0154193826, -0.0321546271, 0.0183149371, -0.0060138288, 0.0180810243, -0.0533670373, 0.0173633359, -0.0392270014, 0.0127927931, 0.016260393, -0.0208839886, 0.0515406616, -0.0334523581, 0.0052903169, 0.0162635352, 0.0165963005, -0.0338871628, 0.011879052, 0.0235600825, 0.0455132797, -0.0104119256, 0.0219889153, 0.0000018088, -0.0336851291, 0.0061543356, -0.0030115684, -0.0677357763, -0.0040101414, 0.0244830083, -0.0269655809, -0.0328859761, -0.0088864835, 0.015891673, -0.0340806581, 0.0730640367, 0.0251801964, -0.0090402495, 0.0051728734, -0.019883126, -0.051877059, -0.015056937, -0.0408803076, -0.0059978003, -0.0150247458, 0.0127844, -0.0716399848, -0.0113100894, -0.0414259881, -0.043626111, 0.0033481207, 0.0187616125, 0.0225908533, -0.0046305167, 0.0250900872, -0.0319186263, -0.0926975086, -0.0125597622, 0.0141105708, -0.0460516103, -0.0189168025, 0.0045843585, 0.0115595479, -0.0057043536, -0.0218700375, 0.0067010135, 0.0283245277, 0.011069404, 0.0273215398, 0.0174908563, 0.0217284132, 0.005640089, -0.0182085987, -0.0036369853, 0.0769593343, -0.0068046199, -0.0134217739, -0.0062560579, 0.0389214717, -0.0017624102, 0.0040234467, 0.0634535179, -0.0101468228, -0.0084633799, 0.00493393, 0.0034298154, 0.0252619889, 0.0133026801, -0.0521532521, 0.0548717827, 0.0139399273, -0.0774552077, -0.016951276, -0.0446226373, 0.0413984358, -0.0388209857, 0.017692592, -0.0150347492, -0.0144254193, 0.0116001852, -0.0322775729, -0.032266099, -0.0006499371, -0.0028628861, 0.0054847803, 0.0172364637, -0.0069652442, -0.050288707, -0.0091876844, 0.0298899617, 0.0321106836, -0.0684665516, 0.0219728239, -0.0078709554, 0.0547418036, -0.0117593287, 0.0530093908, -0.0295256022, -0.0549597666, -0.0020360395, 0.0036694757, 0.0288419239, -0.0385276973, 0.0125539349, 0.07095927, -0.0029847056, 0.0163697619, 0.016317809, -0.0212542489, -0.0675622597, -0.0145852426, 0.0173400324, -0.0148473103, -0.0186984707, -0.0063114511, -0.0015840291, -0.0388677642, -0.0148215378, -0.0199812558, -0.0126999961, 0.0935082436, 0.0417657755, 0.0153491553, 0.0253014192, 0.0156113785, 0.0344954208, 0.0466344804, 0.0388144404, -0.0242897198, -0.0133439042, -0.0481953099, -0.0130428607, 0.0247935392, 0.003742385, -0.0505233407, -0.0343345553, -0.0338041857, -0.0125055378, 0.0251779594, 0.0760676414, 0.0390081815, -0.0060992311, -0.0645268559, 0.0539453216, 0.0548794121, 0.0713941529, 0.0281663258, 0.0252979677, -0.0102222292, -0.0159777272, 0.0588495024, -0.0566338561, 0.0089848153, 0.0208036974, 0.0093514426, -0.0133230593, 0.0266745873, -0.021227628, -0.0292143263, -0.0127593856, 0.0009436401, 0.0287628099, -0.0263295025, 0.02274606, 0.0490787476, 0.0135207362, 0.0632065237, 0.0127226776, -0.0039119353, 0.0493490212, -0.0255674738, 0.0141349705, -0.0026037339, -0.0258181207, -0.0287622903, -0.0101613775, -0.0100865271, -0.0462362543, 0.0980852172, 0.0595373176, 0.0106682051, 0.0703893676, -0.0065375622, -0.02016511, 0.0176183898, 0.0113729499, 0.0279404502, -0.0114284465, -0.001992818, -0.0183724705, -0.0466748998, 0.0052822432, 0.0039736009, 0.0022101921, -0.0602600984, 0.0010020343, 0.0014864209, 0.0286506489, -0.001967906, -0.0264479872, 0.035786204, 0.0348688327, -0.0336485989, 0.0185639989, 0.0137066301, -0.0736917704, 0.0048395847, 0.029839851, -0.038336806, 0.022897521, 0.0341140665, 0.0477337241, -0.0313682109, 0.0353575386, -0.0185454469, 0.0548560955, -0.0082544219, 0.0157867558, -0.0028184177, 0.0533190891, 0.0152435498, -0.0282400958, 0.0340518542, -0.0162403937, -0.0004324984, 0.0062304083, -0.0138282953, -0.0269265771, -0.0346761905, 0.0314460583, -0.0250763055, 0.0370029956, 0.0253570732, -0.0236171708, -0.0379061177, -0.039283365, -0.0448056385, -0.0187296104, 0.0088089667, 0.0160799939, -0.0239536222, -0.0201778561, 0.0091687711, -0.0345078334, -0.0440904312, -0.0609638058, -0.0186382271, 0.0411740988, -0.0261059459, -0.0038179059, -0.0215377305, -0.0299918912, -0.0345936157, -0.0089296782, -0.0016667687, -0.0159040503, 0.0299467072, -0.080404073, -0.0318091325, 0.0147246253, 0.0216292795, 0.0217480455, -0.0382226892, 0.0191548206, 0.0044523422, 0.033223927, 0.0493779592, -0.0288804788, 0.0560890585, 0.0439774916, -0.0020990099, -0.012913486, 0.0040437593, -0.0228340589, 0.0067141936, -0.0286455527, 0.0111168595, -0.0786676258, 0.1050549671, 0.0080535887, 0.0082485508, -0.0389006212, 0.0339113101, -0.0311917234, -0.0865353271, 0.0227976348, -0.0482834317, -0.0522604883, 0.0447723754, -0.0423761718, -0.0141246133, 0.0442294031, -0.0474004038, -0.0514283441, -0.0631497055, -0.0236157291, -0.0002288698, 0.0234418567, 0.0115659153, 0.008662805, 0.0394149609, -0.0373118073, -0.0792342573, 0.0106233181, 0.0020942139, -0.0365144759, 0.0100888833, 0.0014131648, -0.036278531, -0.0107944906, -0.0398629457, -0.049926281, -0.002980974, -0.0325855985, 0.0646831691, 0.0054166703, -0.0175780784, 0.0289250314, 0.0292736776, 0.0038453254, 0.0277324505, -0.0114705395, 0.0027874359, -0.034005031, 0.0568364002, 0.0480241552, 0.0832123235, -0.0004365144, -0.0041320999, 0.0004938664, -0.034998972, 0.0280093178, 0.0677093267, -0.0243235994, 0.0682172254, 0.0685863197, 0.0072139814, -0.0044021127, -0.0141450176, 0.0313543752, -0.0329073183, -0.0283958744, 0.0635157079, 0.0014396466, -0.0446015038, 0.0295389872, -0.0080164457, 0.0284435861, -0.0034539404, 0.0190919731, -0.0089999037, -0.0061910097, 0.0337180831, -0.0322665423, 0.0010573122, 0.0353124775, 0.0115488628, -0.0785280317, 0.0228599422, -0.0012472246, -0.0170454904, 0.0103991376, 0.0248914957, 0.0250558611, -0.0334290862, 0.0885228142, 0.0055189054, -0.0244894046, -0.0354111381, 0.0601553433, 0.0012663511, -0.0301239099, -0.0000359832, -0.0466352142, 0.0627290979, 0.0702521428, -0.0046681548, -0.0385078713, -0.0508478507, 0.0230379757, -0.0202840772, 0.0083468836, 0.0174702443, 0.0168755557, 0.0518447161, -0.0491605476, -0.0029231287, 0.0282236263, 0.0020768477, -0.0146802263, -0.0541335084, 0.0566686466, 0.0260931514, -0.0460187085, -0.0047747623, 0.0337354653, -0.0467399806, 0.0729081035, 0.0499889553, -0.078522943, -0.0254147798, -0.0284586903, 0.0577329732, 0.0020335026, -0.0836769193, 0.0521985516, 0.0515208691, -0.0832350627, -0.009243397, -0.0244158115, -0.0138902264, -0.0028990742, 0.0194613505, -0.0013165443, -0.0088153528, -0.0216928013, -0.0399800725, 0.0441573896, 0.0010968714, 0.0500368886, -0.0338598974, -0.0214691553, 0.0341194235, -0.073479414, -0.0302226059, 0.0252684634, -0.0358034223, -0.0728177875, 0.0679959133, -0.0262883939, 0.0280934591, 0.0489540882, -0.042946931, -0.0703858584, 0.0720187947, 0.0462263674, -0.0802624524, 0.0329739787, 0.0572513454, -0.0017378664, -0.0169922393, 0.0269999299, -0.0411394648, 0.0386743583, 0.0058629545, 0.0191498995, -0.0120778475, -0.0707998872, 0.0250082798, -0.0583657473, 0.0761635303, -0.0209392402, 0.0379999056, -0.0191480946, 0.0026583904, 0.0556688122, 0.0533970743, -0.0064173089, -0.0613915846, 0.0384392329, 0.0316404477, 0.0000298712, -0.0180596523, -0.0014895477, -0.0031179672, 0.0283517409, 0.0418923721, 0.0506512336, 0.0245949235, -0.0063426583, 0.0444068685, 0.0194893405, 0.0747862756, -0.0348328538, 0.0317847729, 0.0297771506, -0.0317088515, 0.0058153952, 0.0204372276, -0.0286614858, 0.0275694169, -0.0237711202, -0.0412823968, 0.011796549, -0.0467391834, 0.0292237923, -0.0593959652, 0.0334579498, -0.009699597, 0.0168072619, -0.0165803954, -0.0341676846, -0.0429014787, 0.0245960169, 0.0589763559, 0.0237208717, -0.013095188, -0.0202903152, 0.0176356845, 0.0406116433, 0.0361041464, -0.0483607166, 0.0302344169, -0.0117792264, -0.0267610028, 0.0032453586, -0.0217591673, -0.0453450605, -0.0214601625, -0.054152675, -0.0981514007, 0.0296088699, -0.0087357312, 0.0542882197, -0.0306114368, 0.0048868265, 0.0073905946, -0.0152903246, -0.0179197788, 0.0564659089, -0.0489422604, 0.0225509331, -0.0042274464, 0.0082970951, -6.700074619e-33, -0.0221908912, -0.002860026, -0.0291178878, -0.0019862251, 0.0095533459, 0.022390645, -0.015174238, 0.019157486, -0.0336228833, 0.0169778094, -0.0039976714, 0.0025797626, 0.0406406187, -0.0341056064, 0.0272934269, -0.0263351779, 0.088275589, -0.003109609, 0.033041697, -0.0402482934, 0.013832354, 0.0299667735, 0.0574062392, -0.0577911101, -0.0189963076, 0.0502996929, -0.0126886433, -0.007320039, -0.0185622927, 0.0991253331, -0.0532447509, 0.0719948858, 0.0157266017, -0.0244214498, -0.0342004113, 0.024734525, -0.1053232923, -0.019917598, 0.0161201786, 0.0494051017, 0.0015460526, -0.0482204817, 0.1017985493, -0.0071117529, -0.0333460085, -0.0217051953, 0.0186976455, 0.0008289587, 0.0255749971, -0.0075785476, -0.0600169897, -0.0096127279, 0.0092506213, -0.0327546075, 0.0743537769, -0.0224243086, -0.0096112872, -0.0057200231, -0.0410654135, 0.0087506082, -0.0096008824, 0.0747298598, 0.0339983553, 0.021097213, -0.0291951671, 0.0078001269, 0.1159157604, -0.0262936354, 0.0095985439, -0.0726842657, 0.0738513768, 0.0068944572, 0.0503686331, 0.0060723359, 0.0820844546, -0.0177382603, -0.0010263277, -0.0645988584, 0.001901078, 0.0183695499, 0.0231116489, 0.0205072351, -0.0064018322, -0.0310767069, -0.0698286891, -0.0833250731, -0.0653633922, -0.00275044, 0.0554617941, -0.013483542, 0.0347968414, 0.0290219747, 0.0516674854, -0.0361280441, 0.0051800953, -0.0176066663, -0.0003614631, -0.0085579772, 0.0018467595, 0.0242430121, -0.0253701694, -0.0073249373, 0.0339843072, 0.0130941225, 0.0142693901, 0.0337264873, -0.0158263389, 0.0232723616, -0.0282265767, -0.02531977, -0.0620502457, 0.0029642461, 0.0456746109, 0.0353500284, 0.0773757473, 0.0153709818, -0.0113401748, -0.0280527864, -0.009100223, 0.0136418398, -0.0283142328, 0.0278673731, -0.0400775112, 0.0797182322, -0.0278080739, -0.0436588302, -0.0055444879, 0.0246317741, 0.0319854431, -0.0276275948, -0.0146456249, -0.0018015944, 2.761e-7, -0.0093856687, 0.0010219902, 0.0498737693, 0.0029043651, 0.0511530116, -0.0000516278, -0.0303986929, 0.0158391241, -0.0029547473, -0.0119194761, -0.0436479151, 0.0186462384, 0.0784485117, 0.0313736536, -0.05991311, 0.0038149392, -0.0569838397, 0.089265205, -0.0034123582, 0.0012854965, -0.0012427652, 0.0890362337, -0.0256730597, -0.0572320446, -0.0232918877, -0.0218932461, -0.0256965514, -0.043485783, 0.0624484494, -0.0164213646, 0.0065784962, -0.0425072871, 0.0221727248, 0.0415839031, -0.0138796233, 0.0323192775, 0.0092290351, 0.0108945677, -0.0112693813, -0.0189860202, -0.019407399, 0.0383355431, -0.0342829265, -0.0392675661, 0.0149331102, -0.0223035328, -0.0176747795, 0.0061644474, -0.0026843254, -0.007932283, 0.0227736738, -0.012432998, -0.0147195812, 0.0071642622, 0.0080305971, 0.0053033703, -0.0215705913, -0.0255516879, -0.0214803275, 0.0162478387, -0.0551428534, -0.0026005697, -0.0263179392, 0.0173185058, 0.0198367052, -0.0157326721, 0.0043988237, 1.819650217e-34, 0.0050690309, -0.020631887, 0.038047865, 0.0218994375, -0.0155444564, -0.0251596272, 0.0195655245, 0.0506204776, 0.0202316809, -0.035374105, -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.
SemioLLM: Assessing Large Language Models for Semiological Analysis in Epilepsy Research: 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.0158605035, 0.0446859747, 0.0157874525, 0.0213982109, 0.0144127253, 0.0192840509, 0.0124989208, 0.041831404, 0.025021486, -0.0732006356, -0.0131327407, -0.0684458986, -0.0269989744, 0.0109419078, 0.0153606171, -0.0310637206, 0.0273601469, 0.0125825237, 0.0106503107, 0.0025207386, -0.0182040986, -0.0011632976, -0.0302080698, 0.0276866183, 0.024551101, -0.0304184984, 0.0094694691, -0.0147880651, 0.0193588119, -0.0668954328, -0.0291879494, 0.0532654189, -0.0184095297, 0.0266442411, 0.000001856, -0.0636425093, -0.0093415454, 0.0318317786, -0.0127220238, 0.0004570388, -0.026045857, -0.0189093184, 0.0082262689, 0.0220227577, -0.0140212616, -0.0362018272, 0.0333713926, 0.0592002831, 0.0422703996, 0.0483893193, -0.0138029316, -0.0207928624, 0.075084202, 0.008141676, 0.0590278395, -0.0281153489, 0.0545292608, 0.0215097237, 0.0304828174, -0.0339027233, 0.028429972, 0.0429662988, -0.0133665074, 0.0263847113, -0.0183270983, 0.0549373366, -0.0720281154, -0.0353006534, 0.010478301, 0.0450241975, 0.0515522286, 0.0081430376, 0.0237963684, 0.018871136, -0.034741167, 0.0414599478, -0.0398389883, 0.0026880801, -0.0473097861, -0.002383562, 0.0373856165, 0.0203218032, 0.0432712995, -0.0369554535, -0.0390166938, 0.0548966862, 0.012835375, -0.0236531254, 0.0330874138, -0.0201732609, -0.0132546024, -0.0642482191, 0.0225077514, 0.0255667567, -0.0289975516, 0.004085029, 0.002080671, -0.0162720885, 0.0678511411, -0.0461641699, -0.0073402501, 0.0199743751, 0.0109370304, 0.0127875358, -0.0239808876, -0.0026446101, -0.0284567475, 0.0615156628, -0.0284793265, -0.0430479944, -0.0891437754, -0.0158251189, -0.0158910863, 0.0044040256, 0.0292609949, -0.0023270231, -0.0985570624, 0.0198177919, 0.0218359251, -0.0110477004, -0.0035544403, 0.0229772739, 0.0232268013, 0.0257290564, -0.0348730646, -0.0106573384, 0.0149032269, 0.011859579, -0.030188363, -0.012482632, 0.0143567314, 0.019012088, 0.0027662034, -0.0301070884, 0.0198021177, 0.0782784522, 0.0291081388, -0.0391636156, -0.048210524, -0.0243712347, -0.042358011, -0.0232678913, -0.0234085973, -0.0469281003, 0.0028059552, 0.0601803437, -0.0006732465, -0.0579676256, 0.0241496563, 0.010260989, -0.0106238108, 0.0721524581, -0.081963025, -0.0079553416, 0.0210326537, 0.036228504, 0.0168411955, 0.0295230541, 0.040530894, -0.0213930756, 0.0359694287, -0.0075156712, 0.0184121188, 0.0059421263, 0.0165853091, -0.018110266, -0.021322256, 0.0285913087, 0.0261356309, 0.0459085293, -0.0320795998, 0.0579229109, 0.0190598592, -0.028232459, 0.045406986, 0.0859542489, -0.007168517, 0.0295233857, -0.0107114958, -0.0343277268, 0.0131764878, -0.0374469198, 0.0309110153, 0.0053438582, -0.0223467164, -0.0030779454, 0.0435625128, -0.0187304113, -0.0205536317, -0.0299882367, -0.0820699409, -0.0044564866, -0.039876245, 0.0211305358, 0.0313983895, -0.0596945435, -0.0101586506, 0.0889234692, 0.0090280464, -0.0101195462, -0.014069817, -0.0517037921, -0.0030679738, 0.0544746071, 0.0207020231, -0.0430529565, -0.0240895897, -0.0338152535, 0.0224553291, 0.0324706025, -0.0348276943, -0.0093769263, 0.0337014906, -0.0082295546, -0.0031002879, -0.0037826749, 0.0162188504, -0.0649600998, -0.0330979191, 0.0313135944, -0.0177144408, -0.065745838, -0.0021397984, 0.0403622352, -0.0586150251, -0.0233451743, -0.0015503588, -0.0138620846, 0.0185452215, 0.0101556294, -0.0209150594, 0.0153932646, 0.0196073465, -0.0434871055, -0.0677776039, -0.0164341666, -0.0007350763, -0.0287309438, 0.0221897438, 0.0261275489, 0.003328278, -0.0282793976, -0.0218367241, -0.0272662695, -0.0229837224, -0.0373377278, 0.0518489853, -0.0280008744, 0.0057232771, 0.0286162402, 0.0278843269, -0.0474261679, 0.0369852632, -0.0159836411, 0.0233715028, 0.0207254309, -0.0526188128, 0.0573739223, -0.0485116467, -0.0489060357, 0.0248883963, -0.0134367272, 0.0123143317, -0.0371098369, -0.038824968, -0.0174155049, -0.007773906, -0.0896616355, 0.0118307555, 0.0044264207, 0.0327885002, 0.0378646515, 0.0228601526, -0.0251949225, 0.0053608771, -0.0304023754, -0.0336840525, 0.02730079, 0.0358260348, 0.0517276786, 0.0415517315, -0.0157513171, -0.0234536491, 0.0103631197, -0.0719564781, 0.0511833541, -0.0128211081, -0.0080892611, -0.0293165296, 0.0240469985, -0.0744674578, -0.0047699595, 0.0152060101, -0.0006357299, 0.0094667962, -0.0085648065, -0.0188438166, 0.0274340659, 0.0058208499, 0.0251911245, 0.0441435352, -0.0314307585, -0.0044137789, 0.0042141099, -0.0199744459, -0.0272407122, -0.0187330097, -0.0497882068, 0.0090864543, 0.0891759768, 0.052082032, -0.0049679959, -0.0225596558, 0.000710187, -0.0107743479, 0.0292732343, -0.0433817469, 0.0105942311, -0.0179159809, 0.0788607746, -0.0041482025, -0.0371586308, 0.0754827261, -0.0232632495, 0.0396187827, -0.0240910184, -0.0409828797, -0.0663523152, 0.0297025964, -0.0142712435, 0.0262063742, 0.0130436877, 0.0023725154, 0.0101935072, -0.0081398273, -0.0182977431, -0.0331529267, 0.0457992479, -0.031281665, 0.0534804724, 0.0033975034, -0.0242811628, -0.0514888167, -0.0314764604, -0.0062659108, 0.0121930521, 0.0041211476, 0.0054480899, -0.0459754504, 0.0555029511, 0.0056029898, 0.0500985347, 0.0245610662, -0.0468584895, 0.0119181853, 0.0449752212, 0.0151274474, -0.0212289318, 0.0313333087, -0.0240480341, 0.040476907, 0.082401149, 0.0126580037, 0.0312321931, -0.0223110355, -0.0208072774, -0.0082082981, -0.0831822976, -0.0381518938, 0.0415183045, 0.030281553, -0.0308990944, -0.0009949285, 0.1389416456, 0.0419723652, -0.0480984151, 0.0043290141, -0.0423364267, -0.0187496729, 0.0129038049, 0.0145617947, -0.0831678361, -0.0361776277, -0.0464109592, 0.0424364656, -0.0016873055, -0.0472205617, 0.0090689315, -0.0005715562, 0.0213235263, -0.0292466786, -0.0372417755, 0.0055023567, -0.0590414107, 0.0166470315, -0.0182326883, -0.013381185, -0.0186403487, -0.0278406981, -0.0110752862, 0.0171681698, -0.0463724211, -0.0648604855, 0.0604840666, -0.0206329618, 0.0636246055, 0.0219373051, 0.0271951947, -0.0246465225, -0.0178402979, -0.0275546703, -0.0420151129, -0.013996968, -0.0025251701, 0.0481874421, 0.0111233229, 0.0169283245, -0.0268742498, 0.0296829697, -0.0810946077, -0.0254068151, 0.0051939581, 0.0990635306, -0.0657553971, -0.033151675, -0.0546296947, 0.0288539995, 0.017227035, 0.059576951, -0.0194505733, 0.0100927847, -0.0236262549, 0.0165612251, 0.0021184357, 0.0330599882, -0.0369453244, 0.0355165899, 0.0051900069, -0.0220153127, -0.0335451886, -0.0190156884, 0.0154773463, -0.0175066032, 0.0006444512, 0.0661699176, 0.0300812162, -0.0081284344, -0.0471051522, 0.0394078381, 0.0338230059, -0.0054378323, -0.0369993672, -0.0138935223, 0.0798195451, 0.0193879586, -0.0166607648, -0.0092865201, -0.0348728448, -0.0134472959, -0.0134602748, -0.0007308605, 0.0224517006, -0.032318946, 0.0014963655, -0.0268085729, 0.0562620461, 0.0790955275, -0.0116787646, -0.0069995737, -0.0220582765, -0.0074762898, 0.0122449063, 0.0087126736, -0.0010348167, 0.0372447968, -0.0272759516, 0.0103280023, -0.0375190824, -0.0552253388, 0.0118409051, 0.024883803, 0.0363402367, -0.0138787888, 0.0064609963, -0.0014823104, 0.0066167321, -0.0112223336, 0.0414441898, 0.0016991509, -0.024786938, 0.0157067161, -0.0345917754, -0.0357478596, 0.0143352533, -0.0840823874, -0.0466323718, -0.0730375201, 0.0430302173, -0.034156356, -0.0429424606, 0.0246136263, -0.0248540062, 0.0171900801, 0.0109760053, 0.037055742, 0.0471826419, 0.0068314336, 0.0763051137, -0.0047797738, 0.0298143793, 0.0129587175, 0.0459503196, -0.0588323437, -0.0554964952, -0.0095550492, -0.0161030535, 0.0251664855, 0.0210739505, 0.0292778965, -0.0084504299, 0.01133304, -0.0196110904, 0.040050894, 0.0032217887, 0.0079534641, 0.0690155774, 0.019078169, -0.0268765539, -0.0063496437, 0.0954914242, 0.0454026647, 0.0308302827, 0.0217326991, -0.0876239315, -0.0414252058, -0.0600923263, 0.0173359346, -0.0160463974, -0.0655634925, -0.005524327, -0.0640986711, -0.0807395577, 0.05752711, -0.0250407811, -0.0138245393, -0.0118100028, 0.0122141112, 0.0257748831, 0.0293010268, 0.0070645506, -0.0117166443, -0.0015015039, -0.0228126962, -0.0205971412, 0.0147515256, -5.979616703e-33, 0.0021117181, -0.0329089537, 0.0382736549, 0.0050050621, 0.0249736011, 0.0266086478, -0.0455643423, 0.0351771712, 0.0240184311, 0.0118160592, -0.0175750498, 0.0006050122, 0.0002175101, 0.0278172791, 0.0284383856, -0.0475365259, -0.0158656258, 0.0035769914, -0.0151294386, -0.004156502, 0.021539757, 0.0250002239, 0.0688352883, -0.1032330245, 0.0336510129, 0.0178834088, 0.0194265097, 0.0125206588, -0.0244753025, 0.0696393028, -0.0562608726, 0.0550309606, 0.0418213718, -0.0080050239, 0.0059256386, -0.0328075327, -0.0270592272, -0.0039494061, 0.0182658546, -0.0496405065, -0.0491669923, -0.0057039796, 0.0679857433, -0.0077314642, -0.0025257452, 0.008345847, 0.0569725037, -0.0529120974, -0.0105531672, -0.0643327013, -0.0117143877, 0.0367560349, -0.0150907673, 0.008347068, -0.0255655833, 0.0289627351, -0.0478033535, 0.0583111644, -0.0447992869, -0.0347977355, 0.0080640307, 0.0321324021, 0.0246389788, -0.0356115922, -0.0025448201, 0.0860342979, 0.0099599101, -0.0237435661, -0.0554577, -0.020675173, -0.0196811203, 0.0445991978, 0.0324321352, 0.0387757532, 0.0157784224, 0.0145679116, -0.1243747026, 0.0263126828, -0.0219231788, 0.0181722604, 0.0642149225, -0.0157182068, -0.0301672891, -0.0091200955, -0.0249006562, 0.0331116468, -0.0280854125, -0.017627947, 0.0207247455, -0.0371916145, 0.0153226247, 0.0435782745, 0.0326242447, -0.00773321, -0.0257065874, -0.033551123, 0.0103318961, -0.004615142, 0.0090535805, 0.0156058492, -0.055244036, -0.0115268277, -0.0110107874, -0.0279427059, 0.0558879822, -0.0003467338, 0.0016159007, -0.0160573721, -0.0457699113, -0.0214549992, 0.0037606705, -0.0200027861, -0.0183444247, 0.0210074075, 0.0070161014, 0.0116341319, 0.0092162983, 0.04933374, 0.012715783, 0.0083453674, -0.00249941, -0.0483654328, 0.0463470444, 0.002771385, 0.0117538888, -0.0121939173, -0.0410727337, 0.0168887954, -0.0099317506, -0.0605651662, -0.0120826988, -0.0168573465, 2.707e-7, 0.1142666861, 0.0604212694, -0.0125681069, 0.0318081155, 0.0414157845, 0.0094873095, 0.004341363, 0.0155073768, 0.0211125314, -0.0329765789, -0.000002824, 0.0304349922, 0.0227344688, 0.0539012402, -0.0456648022, -0.0404916666, -0.0756335407, -0.001214314, -0.035375271, -0.0163332745, 0.0853111222, 0.0432401299, -0.0155719128, -0.0194860008, 0.0248393249, -0.0082383649, 0.0757083669, -0.0317261219, -0.0075451285, 0.0827312842, 0.0129340198, 0.0430480912, 0.0273097195, 0.0867042542, -0.0147853317, -0.0323165916, -0.0013795242, 0.0380971916, -0.055848103, -0.0105239768, 0.0387834795, -0.038019795, 0.0430800878, -0.0278380737, 0.0781044215, -0.0303756781, -0.0663611442, 0.0473534092, -0.0194281992, -0.0476481915, 0.0960970223, -0.0438677818, -0.0135789467, 0.0193411801, -0.0022336068, 0.0041910065, -0.0137451552, -0.0318783894, -0.0127308918, 0.041207619, -0.0300845038, -0.0249067955, -0.0001347565, -0.0357106738, 0.0028238369, -0.0680240095, 0.0312522464, 2.697708107e-34, 0.0073134066, 0.0396335572, -0.0347714908, 0.0122778732, 0.0139913997, -0.0094865263, 0.0804607943, -0.0134653989, -0.0195140839, -0.0716059655, 0.0042986791 ]
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.
VIVA: A Benchmark for Vision-Grounded Decision-Making with Human Values: 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.0044032079, 0.0457178541, -0.0035337172, 0.0125447279, -0.0374474265, 0.0166001469, -0.0024000444, -0.0292490404, -0.0317454897, -0.0577973761, -0.0372111313, 0.017257059, -0.0289661475, 0.0141293919, 0.0231896155, -0.0922171548, 0.022284044, -0.0188486688, -0.0099580213, 0.0050149364, 0.01011822, -0.000335762, -0.0201495327, 0.0460571833, -0.0410414375, 0.0487322174, -0.0140120499, 0.0014911261, 0.0987868309, -0.0251292214, -0.0008437656, 0.0112039018, 0.0678653792, -0.0687848851, 0.0000019084, -0.0169224609, 0.0570659377, -0.042340368, 0.0220867079, -0.0324881449, 0.055331517, -0.000121946, -0.0153318411, -0.0044587664, -0.0440525226, 0.0206762515, 0.0185140576, 0.0409173146, 0.0557324886, 0.0092240833, -0.0291813184, 0.0034358171, -0.0158342682, -0.0164918154, -0.0057409317, -0.0536310673, -0.0119159166, 0.0658073574, -0.0062937113, 0.0241853427, -0.0445670821, -0.0061434563, 0.023641007, -0.0092428373, 0.0133119449, 0.047249157, -0.0187018719, -0.0372876003, -0.0301539917, 0.0791137516, -0.0337233096, 0.0126347644, 0.0040148916, -0.0134638837, 0.0355289131, -0.030698413, -0.0072834003, 0.0205393825, -0.0102536948, 0.0277003143, -0.062198814, 0.0520292893, 0.0010368509, 0.0358833708, 0.0246322937, -0.0074688438, -0.0131538827, 0.0386927202, 0.0516950302, 0.0178004764, -0.055318363, -0.0176895168, -0.0128968582, 0.0231696703, -0.0283658113, -0.0034729347, -0.0263700951, 0.0798754543, -0.0040105642, -0.0808418468, 0.0542038158, 0.0522096828, -0.0333047397, 0.0582188666, 0.009016023, 0.0569905862, -0.0194057785, 0.0257493611, -0.0167260002, 0.0305151455, -0.0057233199, 0.0071748262, 0.0093956627, -0.0425073281, -0.0845536143, -0.0419186391, -0.0335163437, -0.0035199584, -0.0662815273, 0.0219554473, -0.0354400538, 0.0694395527, -0.0000071992, 0.0062590535, -0.0697136372, 0.0202059336, -0.0249195807, 0.0206619725, -0.0120818745, -0.0046017477, 0.0691131502, -0.0002379387, 0.0153112141, -0.0185210221, 0.0330352522, 0.0627255514, -0.0240531527, -0.0148270493, -0.0440388322, 0.0142128542, 0.0328112766, -0.048998002, 0.0270376299, -0.0114690224, 0.0001453519, -0.0432590023, -0.0229948144, -0.0366234593, 0.0269168485, 0.035509184, 0.0219723023, 0.0800745636, 0.0426305383, -0.0130653409, 0.0040227445, 0.0083721923, 0.0129646119, 0.0377679244, 0.0093605919, 0.089664273, -0.0027152279, -0.0323714763, 0.0112072872, 0.0097878715, -0.015223233, -0.0154574187, -0.1067864373, 0.0091179674, -0.0099817393, 0.0466950573, 0.0375141092, 0.0364725962, -0.0551389046, -0.0027141361, 0.0790373087, 0.0260460768, -0.0244491864, -0.0292343292, 0.0153226787, -0.0262195636, 0.0006512683, -0.0468837693, -0.0549753867, 0.1037939414, 0.0146982837, -0.0268585104, -0.0493942089, 0.0384700932, -0.0167372115, -0.0350173116, 0.0045774202, -0.0197586808, 0.0371970087, 0.017009519, 0.015083869, -0.0454243422, -0.0161653981, -0.0864951238, 0.0003042342, -0.0180401318, -0.0126101822, -0.0178105049, 0.0162041206, 0.0951311216, 0.0217717625, 0.0197277889, -0.0104266917, -0.0320643038, 0.0076896679, 0.0035342297, 0.0382722802, -0.020896161, 0.0185505785, -0.0486977138, -0.0553229414, -0.0121051371, 0.0004506115, 0.0159023199, 0.0021119725, -0.0161299389, -0.0328804888, 0.0184141975, 0.0124401944, 0.0136394519, 0.0196872093, 0.0144242095, -0.0308433492, 0.0200547297, 0.0015736663, -0.0250995476, 0.0016597284, -0.0012728836, -0.0272590034, -0.0054975916, 0.0007316602, 0.02512528, -0.0316107385, 0.0259771571, 0.0189969297, -0.0878932253, -0.0164199211, 0.0228387006, -0.0085272947, 0.0342017338, -0.0248763114, -0.0125975218, -0.0778952017, -0.0612916425, -0.0304022077, -0.0006044427, 0.0171963554, -0.0265415963, 0.0558104478, -0.0482314639, -0.0314224027, -0.004297493, 0.0006731306, 0.0133025376, -0.0267604701, 0.0100507, -0.0073290141, 0.0168466531, 0.0723642558, 0.0340506136, 0.0335787646, -0.0001144067, 0.0294605978, -0.0763495341, -0.0530011803, -0.0016724851, -0.046541024, -0.0232356284, -0.0484176762, -0.0058663362, -0.0320922136, -0.0139802471, 0.0640144721, 0.0190191474, 0.0130012706, 0.0311735887, 0.0042306599, 0.0267193113, -0.0231625102, 0.0079257572, 0.0140979281, 0.0230098236, 0.0558174923, 0.0184488576, -0.0122719808, -0.0010920399, -0.0323375054, 0.0400399677, -0.0184008479, -0.0312606692, 0.015949104, -0.0088183051, 0.0347143039, 0.0843362957, 0.0382752083, 0.0702259168, 0.0303537939, 0.0308378357, -0.0376796536, 0.002533053, -0.0315288901, 0.0390726961, -0.0500548296, 0.0188635606, 0.0049076895, 0.0223080739, -0.0326617993, 0.0372875519, -0.0623466522, 0.0533137769, 0.0045685824, -0.0805681795, -0.0541586205, 0.0171168447, -0.0149545539, 0.0710233673, -0.0058951816, -0.0534143411, 0.0330908075, 0.0423388071, 0.0049351985, 0.0468007438, 0.0199794695, -0.0195563044, 0.0596833788, -0.0089387763, 0.025844533, -0.0397868715, -0.000164841, -0.0245045833, -0.0557734221, 0.0135208527, -0.0079581682, 0.0612504147, -0.0668767765, -0.0293861032, -0.0126422169, -0.0402431153, -0.0184672121, -0.0009103869, -0.0607592724, 0.0167420842, -0.0380304754, 0.0063881506, -0.0151716741, -0.0148842912, 0.0415620059, -0.0239885915, -0.0127776219, -0.0262440257, 0.0045510731, -0.0213232581, 0.0545637123, 0.0145480763, 0.0035100142, -0.034465909, -0.0046667964, 0.0577697791, 0.0228366889, -0.0233731661, -0.0640116334, 0.0705884099, 0.0125679523, 0.0334668607, 0.0237464961, 0.0429502688, 0.0360960811, 0.0112980809, 0.0073440177, 0.0493541397, -0.0145252179, -0.0291497968, 0.0085797515, -0.0461707674, -0.0007856986, 0.0268950146, 0.0247462541, -0.0385848209, -0.0580483861, -0.0175970066, -0.0022406273, 0.007618241, -0.0426596254, 0.0191755705, -0.0511524044, 0.0773838237, 0.0057344669, 0.0024800012, -0.0309066009, 0.0389965363, 0.0117531391, -0.0497419797, -0.0045458651, -0.0044444925, 0.0006194595, -0.0128409797, 0.0080897706, 0.0337277576, -0.0351607762, 0.057035692, -0.0407224782, -0.030668987, 0.0788600445, 0.0288018379, -0.0059074885, -0.1110486612, -0.0257397406, 0.0417909697, 0.0357040167, 0.0071451562, 0.0132665094, -0.0543807037, -0.0243029352, -0.0294394884, 0.0515514687, 0.0238980055, -0.0377856568, -0.0451454818, 0.0316895209, -0.0550125204, -0.0059791966, -0.0542281605, 0.014977322, 0.0240668282, 0.002202709, -0.0166669413, -0.0863511264, -0.0676698983, -0.0111089479, -0.0278965794, -0.0437891558, -0.0934302807, -0.0174654983, 0.0215596911, -0.0234976541, -0.0545553602, -0.0221604779, 0.0453849956, 0.0707508177, -0.0055451836, -0.1034516618, -0.0036906146, 0.0562974848, -0.0331595466, 0.0267611071, -0.0045096977, 0.0676680282, -0.0063211792, 0.0568044744, 0.0091119129, -0.0454569235, -0.0218577292, 0.0010880253, 0.0031328925, -0.0079963813, 0.0048988597, 0.1119781956, 0.0226790346, -0.0169559363, 0.0390547737, -0.0511548184, 0.0114273904, 0.0271000173, 0.0284441877, 0.0299451519, 0.0256551635, 0.0156810638, -0.0173508059, 0.0141735664, 0.0111315772, 0.0368695743, -0.0038460277, 0.0076506175, -0.0020520317, -0.0160180666, -0.008206523, -0.046159599, 0.0301682837, -0.0407019705, 0.0128269149, -0.0226431638, -0.0331701525, 0.0228562802, -0.0032055043, -0.0672282279, -0.0116262529, 0.0255389865, 0.0175675061, -0.0004963118, -0.0645663068, 0.0166395493, -0.014948559, 0.0003684081, -0.0072364477, 0.0603014715, 0.0462981053, -0.0264247283, 0.0262817424, 0.010880461, -0.0032282982, -0.0452567637, 0.0439316593, 0.0135977846, 0.0794471279, 0.0286420397, -0.0157523248, -0.008898099, 0.0440998226, -0.0120413378, -0.0154723581, -0.0094292387, 0.0114884228, 0.0342026539, 0.030755436, -0.0215479825, -0.0486270934, -0.0171343293, -0.0171271637, 0.0281860828, 0.0006336121, -0.0396859534, 0.0498290174, 0.0244961511, -0.0044881119, -0.037008781, 0.0050192536, -0.0115709193, 0.0053421012, -0.0428312533, -0.0272432715, -0.0271769427, -0.0174689945, 0.0175889507, -0.0150205912, -0.0050187251, 0.0159662198, -0.1005893573, -0.0328871869, -0.0015893829, 0.0995566323, -0.0026989018, -0.0423783995, 0.0246381033, 0.0330976918, 0.0022741079, 0.0125861336, -0.0405632108, -0.0207150355, -0.0540384352, 0.0507842526, -0.044308085, -5.323188331e-33, -0.0031398812, -0.0177716371, 0.0542956702, -0.0585918091, -0.006690843, -0.0160867944, -0.0093625961, 0.0118009746, -0.0045845201, 0.0444767773, 0.023443725, -0.0415118933, -0.0171508919, -0.0085830791, 0.0511320755, -0.0177727193, -0.0036056982, 0.0023916769, -0.0383444168, 0.0006195301, 0.0255196672, -0.03289859, 0.0157991908, -0.0536265783, -0.0277787913, 0.0601730682, -0.066494666, 0.031394843, 0.0132894181, 0.0555489399, -0.0237388015, -0.0100097517, 0.0217499249, -0.0270046908, -0.0276116021, 0.041367054, -0.0412446819, -0.0065899538, 0.0277099106, -0.0083063561, -0.0612995997, 0.0120479912, -0.0268361159, -0.0111575685, -0.0271126982, -0.0222926214, 0.0224574022, -0.0299624968, 0.0073480611, 0.0069492944, -0.0246541817, -0.0024948542, -0.0152547089, -0.0338395573, 0.033603061, 0.0431897677, -0.0087359389, 0.0440751351, -0.0251688082, 0.0500303693, -0.0593883023, -0.0592212528, 0.0621743724, 0.019447282, 0.0115446458, 0.0872002468, 0.0196409505, -0.0270184651, -0.0562121943, -0.0135096433, 0.0104863346, 0.1204697937, 0.0053825038, 0.0719715878, -0.0366013423, -0.0107851941, -0.0313670225, 0.0399334431, -0.0442638732, 0.0573010705, -0.0019325744, 0.0376859903, -0.0032102186, 0.0116228219, -0.0041561066, -0.0460466631, -0.0225975178, 0.0055474737, 0.0441841371, 0.0042403257, -0.0114018144, 0.0867462382, 0.0659349039, -0.0125832101, 0.0156071819, 0.0334712453, 0.0053923186, 0.0577169918, 0.0170700867, -0.00013874, -0.0370713882, -0.018313881, 0.0449645109, -0.0192125887, 0.0117101213, 0.0075402698, -0.001775975, 0.0362661704, 0.016149547, -0.0204255655, -0.0401152112, 0.0117742959, -0.0108623905, -0.0061649242, 0.0307345483, 0.0035055541, -0.0313181989, 0.0110530471, -0.0453113243, -0.0229565073, -0.0057703084, -0.0511467122, 0.0081604356, 0.0429541282, 0.0001842892, 0.0178751275, -0.0666100755, -0.0162641928, 0.0112115126, -0.0210534018, 0.0162257664, 0.0628238022, 2.489e-7, -0.0183358267, 0.0040959157, 0.0338544808, -0.0178082213, 0.0033627865, 0.1034774035, -0.0152987428, 0.0577848256, 0.0054033212, -0.0169208255, 0.0480898991, 0.0404589027, 0.0356472582, -0.0153646655, 0.0177867524, 0.0395678021, 0.0322983339, -0.042146232, -0.0325515084, -0.0056793424, 0.0207597222, -0.0027814347, 0.0036635201, -0.0262696594, 0.0836238116, 0.0549680255, 0.0698578805, -0.0448904261, 0.0034031777, -0.0769428834, 0.0049484633, -0.026990734, -0.0261445306, -0.0186562836, -0.0144491522, -0.0306249522, 0.0164766386, 0.0647486299, -0.0330372602, -0.0525088459, -0.0305393618, 0.0109502254, -0.0202100482, -0.004155328, 0.0399977267, -0.0509505011, -0.0276761521, -0.03017666, -0.0336445794, 0.0154570043, 0.0041085342, 0.0151107786, -0.0497331433, -0.0200447366, 0.0186445955, 0.0192985758, -0.0234182607, -0.0625596717, 0.0153014939, -0.0145838875, -0.026411023, -0.0134077333, -0.015066687, 0.05132984, 0.0318393596, -0.0153799942, -0.0730378777, 1.335377195e-34, 0.0113882516, 0.01517219, 0.0098458407, -0.0291338917, 0.0402358286, 0.0301772822, -0.0194957089, 0.019456137, 0.0356425159, 0.0139450543, 0.0087512033 ]
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).
Are Large Language Models Consistent over Value-laden Questions?: 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.0553058423, 0.0716952458, -0.0194240902, 0.0218589734, -0.0562286451, -0.0079037715, -0.0100059966, 0.0064376146, -0.0342836678, -0.0319372863, 0.010795353, -0.0380506106, -0.007800593, -0.0356143601, -0.0160631686, -0.0451214314, 0.0202399734, -0.0038302059, 0.0212050714, -0.0504932776, 0.0121926973, 0.009968848, 0.032687474, 0.0394617207, 0.0517891794, 0.0144655695, 0.0002947748, -0.0304855499, 0.0205720477, -0.0056253346, 0.0035643768, 0.0391259156, 0.0029531359, 0.0215950236, 0.0000020319, -0.0534698404, -0.0084971059, -0.0136927702, -0.0077933483, 0.06171773, 0.0777543485, 0.0129599366, 0.0131098377, 0.0217659492, -0.0253868029, -0.005039895, 0.0219248272, -0.0010295231, 0.0151614351, -0.0020850543, 0.008524444, -0.0409524068, 0.0233052354, -0.0325871035, 0.0208555888, -0.041653499, 0.035687156, 0.0380422287, -0.017133303, 0.0399032533, -0.0348853804, 0.0334222429, 0.0362188667, 0.0191009082, -0.0601452403, 0.0126790004, -0.037591923, -0.0318217166, 0.0374893174, 0.0683127269, 0.0151142497, -0.0277006216, 0.0021155325, -0.0246714167, -0.0043050037, 0.0679029524, -0.0556753129, 0.0366764963, 0.0099561065, 0.0092030326, 0.0770822689, -0.0244857389, -0.0056604608, 0.0335662104, -0.0276323482, 0.064537935, 0.0374079384, -0.0199672505, 0.007157763, 0.0049708607, -0.06121305, -0.0622914024, 0.0107097877, -0.0061553642, -0.007255313, 0.0443669111, -0.0123669766, 0.0049717892, 0.0636689216, -0.0530309752, 0.0203565806, 0.0399749056, -0.027608566, 0.0393273495, 0.0496812984, 0.0344151184, -0.0465179309, 0.0216265339, -0.0517391227, -0.0139706228, -0.0130885746, -0.0051162848, 0.0188853741, 0.0079000052, -0.0092702201, 0.0224350151, -0.0480188616, -0.0170668885, 0.0009161593, 0.0046702689, -0.032771755, -0.0161544494, -0.0203611776, 0.0046927119, -0.0553396083, 0.0964758843, -0.0623701736, 0.0435532741, -0.0116280839, -0.0308593363, 0.0336723514, -0.0063194381, -0.0004025939, -0.0279863067, 0.0280617662, 0.0219137575, 0.0043376903, 0.0221889894, 0.0244221576, -0.0226929542, -0.0529254638, -0.0569230914, 0.0177986212, -0.0890310034, 0.0334977657, 0.0244791117, -0.0026762541, -0.0320772342, 0.0169278681, 0.0391395465, -0.0350767598, 0.0349084176, 0.0563157797, 0.0292453133, 0.013095825, 0.0044501717, 0.0419635996, 0.0499571376, -0.0045718499, 0.0105542028, 0.0528229065, -0.0166389849, -0.0309852622, 0.0430236198, -0.0066339946, 0.0503780544, -0.0414969511, 0.0574448481, 0.0534711257, 0.0157850217, 0.020293247, 0.0705371797, -0.0176462363, -0.042433612, 0.0737628415, 0.0849169642, -0.0361942537, 0.0153931351, 0.0230571926, 0.0215609781, 0.0365630463, 0.0367079526, -0.0205096379, -0.024720585, -0.0207882263, 0.0022284118, -0.0025580104, 0.020535998, -0.0183892567, -0.0519463904, -0.0190708954, 0.0128027452, 0.0125815589, 0.0219045114, 0.0272922851, -0.0618399717, 0.0077196327, 0.0370849371, 0.0081943404, -0.0392153449, -0.018841764, -0.0237920638, 0.0441189557, 0.0022156287, 0.0260253809, 0.0059040836, -0.0459113307, -0.0065232627, 0.0380794629, 0.0429737046, 0.0716722682, -0.0066187987, -0.0250862855, -0.0099194357, -0.0045091892, 0.0001862846, 0.0173847098, 0.0086575011, -0.0015806177, 0.0328224823, -0.0001808593, -0.0629204363, -0.0100540146, 0.0152260596, -0.0320178457, 0.0051486283, -0.038607087, -0.0190511327, 0.0606588535, 0.0117630605, -0.0159926396, 0.0196710266, 0.0048395912, -0.043914374, -0.0126075707, -0.007123983, -0.0530490503, 0.0304783583, 0.0494853891, -0.0145184267, -0.0064543765, 0.0336786099, -0.0232373327, 0.0010965071, -0.0116865663, -0.0064947288, 0.016755918, -0.0386397839, 0.0284310859, -0.0681883395, 0.0045056692, -0.0559716001, 0.0313471109, -0.0233438015, 0.0569449626, -0.0151338475, -0.0220279042, 0.0448329523, -0.0153290732, -0.0403065979, 0.0317172557, 0.025528539, 0.0337456577, 0.0485463031, -0.0009519138, -0.0499829464, -0.0429169387, -0.076896593, 0.0161220916, -0.0212225355, -0.0028009766, 0.0469297022, -0.0135324318, -0.0108256005, 0.0346405096, -0.0490925834, -0.0246738642, 0.0273982212, 0.0611898601, 0.0187613387, -0.0131037869, 0.0146140093, -0.0388198532, -0.0260737538, -0.0312296655, 0.0131013561, -0.0095485039, 0.0349293649, -0.0229046717, 0.0239965431, -0.0894541219, -0.0280899834, -0.0171007197, -0.0406482741, 0.0083584264, 0.0284092221, 0.0517702401, 0.0502862446, 0.0170693845, 0.010505246, 0.050269179, 0.0086231278, -0.0810898915, -0.0439893603, -0.03237487, -0.0585304089, -0.0245550722, -0.0688917637, 0.0090905437, 0.0697779581, 0.0331132598, -0.0088780923, -0.0195849929, 0.0338893943, -0.0768427998, -0.0119712772, -0.0293187145, 0.0017583866, -0.0168570932, 0.0570745356, -0.0086074769, -0.0319610201, 0.0389491729, -0.0010650738, 0.0377022624, -0.0593986586, 0.0121263918, -0.0435260199, 0.0407517366, -0.0036586935, 0.0254043341, 0.0005588849, 0.0018892711, -0.0850919783, -0.0270313751, 0.017205447, -0.0676946044, 0.0740210563, -0.0438430347, -0.0109679531, -0.0115511576, -0.0443832688, -0.0086396569, -0.072513096, -0.0143629937, 0.029070517, 0.0203679111, 0.0132767661, 0.0204926673, -0.0056459666, 0.0298948176, -0.0300360806, -0.0197011717, 0.0109207071, -0.0125521803, 0.038006328, 0.0793198049, 0.012642704, 0.0329623334, -0.0343323648, 0.0251152162, 0.046891883, 0.0177672356, 0.0439847186, 0.0122591052, 0.0115663316, 0.0372810066, -0.0336646698, -0.0235177297, 0.0238132607, 0.0688858628, -0.0254841819, 0.0202316679, 0.0944291726, 0.0242020264, -0.0274322331, -0.0025088538, -0.0609770492, 0.0285575502, 0.0325940959, 0.0279150903, -0.0843225867, 0.0174280778, -0.0063297278, 0.0029859352, -0.0296355896, -0.0253094826, 0.0013051864, -0.1243106052, 0.0134582492, -0.0008296169, -0.0341557339, 0.0297442935, -0.0297968723, 0.0261599254, 0.0071329805, 0.0507494658, 0.0200984348, -0.0018982518, 0.0120230466, 0.0041359779, -0.0183063429, -0.0480292588, 0.0545556918, -0.0404765196, 0.0369352289, 0.0392018631, 0.0455241874, -0.0379211009, -0.0336810499, 0.0647874773, -0.0126050068, -0.0574893393, 0.0048235226, -0.0057570934, 0.0228365455, 0.0018714531, -0.0570028462, 0.0109139811, 0.0197806545, -0.0054178797, 0.0228577238, 0.0439972468, -0.003691121, -0.0576449968, -0.0217151418, 0.0030979298, -0.0427698158, 0.0689123422, 0.0412221216, -0.0656137913, 0.0003815904, -0.0298921224, -0.0064650369, 0.0192424748, -0.0732979849, 0.0049423482, -0.0218993593, 0.0062718615, -0.02883734, -0.0456628203, 0.0033068475, -0.0057435855, 0.0209450331, 0.0176090132, 0.0350163355, -0.0284944251, -0.0084944451, 0.0096728969, -0.0419955254, -0.0025830006, -0.0132019725, 0.0104464451, 0.040403612, -0.003119105, -0.0373145416, -0.0229103863, -0.0596237965, -0.0340780914, 0.0395929515, 0.0091428515, 0.0217838828, -0.0109656844, 0.0166537967, -0.0169716123, -0.0069293212, 0.0048513156, -0.0023723955, 0.0382155553, -0.0364200547, 0.0580874123, 0.0128041301, 0.0267289914, -0.0057304418, 0.0105750458, 0.0415962934, 0.0489026904, -0.0202292018, -0.0641384199, 0.0344195068, 0.0406953804, 0.0104383668, 0.0250587389, -0.0100973248, -0.004784476, -0.0123660779, -0.0204119757, -0.0182107333, -0.0167837013, -0.0237218291, 0.0513565987, 0.0012236101, -0.0263294056, -0.0033468148, -0.0305245481, 0.0676001534, -0.0428964905, 0.006469422, -0.0182237439, 0.014758084, 0.0002890431, -0.0040315576, -0.0295141302, 0.0060508433, -0.0230742954, 0.0645409301, -0.0065726899, 0.0780715272, -0.0142160347, -0.016859984, 0.0105695799, 0.0186146162, -0.058058273, -0.1056034788, -0.0051505039, 0.0039310916, 0.0026779796, -0.0206594281, 0.005656912, -0.0217560567, -0.0193153769, -0.0389782041, 0.0090661542, 0.0100332536, -0.0256731994, 0.0638048649, 0.0067166784, -0.022222938, 0.0090096584, 0.0220729802, 0.0419426076, 0.0207020361, 0.024564527, -0.013199022, -0.007986743, -0.0130791813, -0.0052511757, -0.0083295377, -0.0322350189, -0.0204753932, -0.1049381793, -0.0413177609, 0.0031282895, 0.0013558238, -0.0170327611, -0.0201442186, -0.0238744617, 0.0823200792, -0.0312233549, -0.0010360044, -0.0375344716, 0.0571912937, -0.0617373437, -0.0229327455, -0.0061542867, -6.238688678e-33, -0.0145953596, -0.0096645998, -0.0083176354, -0.0814391971, -0.0384638831, -0.0155046238, -0.0133657064, 0.0276103187, -0.058118131, 0.001592688, -0.0262527838, 0.0051982962, 0.0191767495, -0.0025509368, 0.0429934114, -0.0591709465, 0.0122939162, 0.0034809245, -0.0350187048, -0.0122174351, 0.0121472888, -0.0289806966, 0.0596499853, -0.0547851734, 0.05792813, -0.0012435333, 0.0349731147, -0.0232286993, -0.0003551466, 0.0305977389, -0.030417908, 0.0699759051, 0.0396269597, -0.0611533076, 0.0019604433, 0.0267600305, -0.0388944745, -0.0369194224, 0.0759541467, -0.0185303222, 0.0080570541, -0.0500940271, 0.0597102866, -0.0025433723, -0.048642315, 0.0055354298, 0.0250879917, -0.034090858, -0.0046733222, 0.0173385683, -0.0409959666, -0.0072906623, 0.0065255817, 0.0426447652, -0.0651554912, 0.0521447361, -0.0095758028, 0.0903610811, -0.0254075751, 0.0120344125, 0.0258358791, 0.0386284925, 0.0351127088, -0.0490459017, 0.0458558388, 0.0662882477, -0.0061174282, 0.014921953, -0.033668723, -0.0487448275, 0.0260192715, 0.0017549734, 0.0519592799, 0.0844946578, 0.0246157125, -0.0118436487, -0.0516709425, -0.0019025957, 0.0153074153, 0.0185858961, 0.0395382121, -0.0150181903, -0.0299790557, -0.0398081616, -0.0910541564, -0.0224757958, -0.0257607438, -0.0360831842, 0.0384352878, -0.0360661112, -0.0222606752, -0.0140669569, 0.0753290802, -0.020458784, -0.055036217, 0.0089057833, -0.0239903443, 0.0175871309, -0.0012307342, 0.0573524646, -0.0764549747, 0.0141272489, -0.0566583797, -0.0056693754, 0.015744878, 0.0264860038, -0.0267472919, -0.0255939141, -0.0682379007, -0.0158237666, -0.0235154983, -0.0411961712, 0.0064304522, 0.0129508842, 0.051644329, 0.0235847123, 0.0206046086, 0.0185665824, 0.0406950191, -0.0186866596, -0.0442223921, -0.0198670067, -0.0210775733, 0.0246500485, -0.0110098403, 0.0006696549, -0.0289172679, 0.0723632053, 0.0258861799, -0.0158225521, -0.0179046206, -0.0109812124, 2.686e-7, 0.0672020987, 0.0514172316, -0.0303525217, 0.0117370617, 0.0000368122, 0.0332277752, 0.0090101613, -0.0027247278, 0.0441034622, -0.0231955871, -0.0003860975, 0.0061675287, 0.0349276066, 0.0361353531, -0.0726021379, 0.0100857709, -0.0510873497, 0.0284124408, -0.0397897139, 0.0053926739, 0.0133694643, 0.0797804967, 0.0134034948, 0.0165621005, -0.0486112908, 0.0088705746, 0.0847593695, -0.0750266314, -0.0546545908, 0.0281016808, -0.011010129, -0.0001934863, 0.0381813161, 0.0047822557, 0.0314463563, 0.0012208029, 0.0393833295, 0.0671836883, 0.0267524887, -0.007224842, -0.0319239125, -0.0575977005, -0.0019833506, -0.1176699847, 0.0770676881, -0.0578782409, -0.0290737767, -0.0442931391, -0.0186727457, -0.0110962586, 0.0680437237, -0.0226836503, -0.012197868, 0.0209071003, 0.0055058906, 0.0279768631, 0.0017470215, -0.006394079, -0.0398786031, -0.0209326427, -0.0315107331, -0.1017168537, -0.0194771215, 0.0281515177, -0.0015047358, -0.0695179775, 0.006661972, 2.467078182e-34, 0.0524578877, 0.0113410158, 0.0400094725, -0.0028248809, 0.0249030031, 0.0080981329, 0.0339398608, 0.0211825091, 0.00795257, -0.0698748305, -0.0079517243 ]
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.
LoRA-Guard: Parameter-Efficient Guardrail Adaptation for Content Moderation of Large Language Models: 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.0482821874, 0.0830674171, -0.0185906235, -0.001467057, 0.0058072899, 0.0132642332, 0.0545207411, 0.0135313505, 0.0034611833, -0.0358762592, -0.0059205005, -0.0154180229, -0.0300959703, -0.0222312529, -0.0308163166, -0.0125487633, 0.0284371972, -0.0442622527, -0.0132356929, 0.003887391, 0.0256390478, 0.0492866747, 0.0498226807, 0.0262647048, -0.0345053449, -0.0207512919, -0.0054724212, 0.024951769, 0.0300402641, 0.015989678, -0.0052421526, 0.0891904086, -0.0116800526, 0.0642405376, 0.0000020906, -0.0196964536, -0.0633585379, 0.0094262501, 0.0221274793, -0.0231046025, 0.0743327737, -0.0303653833, -0.0727433413, 0.0420404822, 0.0009876216, 0.0073060682, 0.0620338134, 0.0124442084, 0.0358716287, 0.0658096224, -0.0193323884, 0.024873795, -0.0145610729, -0.0086207278, -0.0460519455, -0.0124073373, 0.0031958066, 0.000708444, -0.0413849317, 0.0017777083, -0.0137143545, 0.0575004481, 0.0266629439, -0.0598768406, -0.0064785946, -0.0320582837, -0.0349016748, -0.0332163274, -0.0073945331, 0.0547785014, -0.0259542614, -0.0595921464, 0.0234921221, -0.0285878088, 0.0195801742, 0.0468036123, -0.0149233276, -0.0025357746, -0.0164908096, 0.0151390638, -0.0125264088, -0.0622368045, 0.011653021, -0.0139879696, 0.008500753, 0.0435754284, 0.061007034, -0.0159400944, -0.0233934745, 0.0132658631, 0.023507338, -0.0753189549, 0.0755801499, 0.0065714917, -0.031814415, -0.0025403211, -0.0720211416, -0.0762704015, 0.0076258024, -0.0488588288, 0.032605689, 0.0237285718, -0.0054745446, 0.0484083109, -0.0137434425, 0.044895716, -0.0196614675, 0.0178176519, -0.0104107326, 0.0047915224, -0.0195739586, 0.0067810914, -0.0147244371, -0.0009520912, -0.0563956648, 0.0225677583, -0.0080600167, 0.0409006737, -0.0097348904, 0.0319866873, 0.019986622, 0.0019878659, 0.0051740967, -0.0258292109, 0.0249300525, 0.0312401485, -0.006935141, 0.0221609045, -0.0023259243, -0.0468357168, 0.0185063109, -0.00052296, 0.0337883085, -0.0238688905, -0.0047913739, 0.0544683114, -0.0180646162, 0.0020741962, -0.024198588, -0.0487032905, -0.0314041488, -0.0465049297, -0.0410857499, -0.0767762139, 0.0218701269, -0.0011035888, -0.0070660431, -0.1075953916, -0.0039426433, 0.0191362612, -0.01823611, 0.0168908145, -0.0110351676, -0.0021549582, 0.0222750157, 0.0343331918, -0.0241985377, 0.0770294443, 0.015014899, 0.0393010043, 0.0426565185, -0.0023829748, -0.003676869, 0.058477737, -0.0100256708, 0.0318144411, -0.0421197563, -0.0264606159, 0.0278131552, -0.0343386084, 0.0354139954, 0.0506909937, -0.002880364, 0.0004360671, 0.0939842984, 0.0182917658, 0.0237366557, 0.049581565, 0.0134825278, -0.0179256611, -0.0329198316, -0.0136047332, -0.0350431427, 0.0388583504, -0.0564676784, -0.0222951137, 0.0378786586, 0.1005785167, -0.0088774366, -0.0380916595, -0.0150032192, -0.0136813466, 0.0138827628, 0.0207873806, 0.0087191686, 0.0046337219, -0.0020693266, 0.0278657116, 0.0336435027, -0.0521478392, 0.0034283912, -0.0261154156, 0.0568101071, 0.085690178, 0.0588358305, -0.0188958868, -0.0651804507, -0.0191457924, 0.0504525118, 0.0272263493, 0.0455509499, -0.0275662579, -0.011962397, -0.0510814525, -0.0610734113, 0.0397442356, 0.0278124548, 0.0260924995, 0.0247198474, 0.0519663803, 0.0281453598, 0.0178725049, -0.0799006, 0.0098201996, 0.0056211413, -0.0273187235, 0.0067756744, 0.0089945821, 0.0081093675, 0.0230465196, -0.0083880313, -0.0424046516, 0.0209849607, 0.0013552755, 0.02523214, -0.0117596844, -0.0429616123, 0.019775942, 0.0630178899, 0.0101672085, -0.005451499, 0.0242495276, -0.0131731313, -0.020239437, 0.0088613722, 0.0133961188, 0.0080831535, -0.0191556383, 0.0607223958, -0.0196557678, 0.0073759528, -0.0056680054, 0.0221737847, 0.0353793092, -0.0130660618, 0.0665003732, -0.0530676767, 0.0016772829, 0.0164895151, -0.0237666275, 0.0068387021, 0.0049151555, 0.0123784402, 0.0391443931, 0.0135878529, -0.0078797769, -0.050166972, -0.0734008327, -0.0107184174, -0.042443715, 0.0316095054, 0.0289587379, 0.0512863658, -0.0000711619, -0.0038432814, -0.0265430398, 0.0031324611, 0.0098851761, 0.0443590879, -0.0270225033, -0.0301242508, -0.0299381278, -0.0410299897, 0.0089277979, 0.006281158, 0.0172021668, -0.0099035408, -0.0368315019, -0.0456844494, -0.0158481654, -0.0599510595, 0.0308584124, 0.0118533578, -0.0173178818, -0.0032281314, -0.0052676033, 0.0488341451, 0.0004763388, -0.0241825711, 0.001242952, 0.0871511996, -0.0133739449, -0.0647158846, 0.0110416254, 0.0151206348, -0.0562970564, -0.0466570035, 0.0372214429, 0.0055018151, 0.0544695109, -0.010871035, -0.000974065, -0.0584370717, 0.0342772491, -0.0234448109, -0.0274251606, 0.0218011774, -0.0313662328, -0.0126595572, 0.0582292825, -0.0402943045, -0.0486551002, 0.0602120571, -0.0188856088, 0.0229084492, -0.0163076334, -0.0431610569, -0.01397679, 0.0415947437, -0.0173816234, 0.0540450402, -0.022387052, -0.0094719119, -0.0516754538, 0.0260210615, 0.0632788911, -0.0460265353, -0.0066453922, -0.066520296, 0.0089254072, -0.0294097923, -0.0543551259, 0.0014076724, -0.0093816249, -0.0012722672, -0.0144479005, 0.0572650619, -0.0323584788, -0.0051607206, 0.0327010825, 0.0082901521, 0.068920508, 0.0074146856, 0.0016017779, -0.0179231819, 0.0177631266, 0.0490479283, 0.0345102921, -0.0123786191, -0.0061958232, 0.0249802712, 0.0748522133, 0.0297955833, -0.0653949529, 0.0224757567, 0.031806726, 0.0682411715, -0.016962843, -0.025588531, 0.0205702651, 0.0743844658, -0.0673716664, -0.0098019941, 0.0995339602, 0.0315389521, -0.070666194, -0.0329148769, -0.0346432962, 0.0330013894, 0.0150896003, 0.0397083983, -0.0529080145, -0.0056072641, 0.0228681844, 0.0154585028, -0.0075354888, -0.0022435915, -0.0148621816, -0.0567679033, 0.0293659419, 0.02626995, -0.0400589556, -0.0093231462, -0.0163415764, 0.0185184125, -0.0102718743, 0.0187279433, -0.0214685127, -0.017595185, -0.0175351519, -0.0121569429, -0.0190353114, -0.0219838396, -0.0429165997, -0.0360758044, 0.0451991893, 0.0554268062, 0.0064824745, 0.0566685237, -0.0414741859, 0.0650967956, 0.0221913941, -0.008315918, -0.0283049028, -0.024271043, 0.019819051, 0.0040913741, 0.0051584779, 0.0149630429, 0.0345018134, -0.0320511758, 0.0073360926, 0.1072298065, 0.0090334499, 0.013991016, -0.0172002539, -0.0156165818, 0.0023664285, 0.0470280722, 0.0375723056, -0.0606417879, -0.0319989622, -0.052714102, -0.0532401428, -0.0246246289, -0.0083474917, -0.0270474702, -0.002069839, -0.0275228824, -0.0510135479, 0.0060840915, 0.0542657077, 0.0254131723, 0.0350768529, 0.0196673907, 0.017509779, -0.0406462885, -0.0084604127, -0.0225666985, -0.0520934612, -0.0172059219, -0.0381955393, 0.0170785896, -0.0071816281, -0.0232043788, -0.0182389058, 0.0384455547, -0.0636793599, -0.1031600907, 0.0037961232, 0.0451906212, 0.0294949096, 0.0370672084, -0.0164283048, -0.070364289, 0.0732422546, 0.0788487196, -0.0710660741, 0.0087124249, -0.002453292, -0.0270434674, -0.0283803493, 0.0380331017, -0.0831560865, -0.0145812631, 0.0505255833, 0.004698257, -0.0116723552, -0.0421124175, -0.0062663597, 0.027435746, -0.0356229693, -0.0074033206, -0.0398284569, -0.0562680922, 0.0487723723, -0.0185088087, -0.0221633315, -0.0302259419, 0.0236232001, 0.0049252957, -0.0377617925, -0.0260773413, 0.0440696739, 0.0281587727, 0.0250533074, -0.076235421, 0.0029000838, -0.022416003, -0.0199282151, 0.0461569168, -0.0099326484, 0.0137967318, 0.0526784807, 0.0306255724, 0.0030826754, -0.0553988554, 0.0157449339, 0.0027930338, 0.0329777189, -0.0389127024, 0.0615163408, -0.0241283625, -0.0538127944, -0.0636496618, 0.0711236522, 0.0539362766, -0.0076505668, 0.110981904, -0.0072173649, -0.0505928956, -0.0243088119, -0.0090542268, 0.026650738, -0.0362433158, 0.0104210973, 0.0001052806, -0.0077667753, 0.0192743782, 0.0553452298, 0.0042949147, 0.0310204737, -0.0163657013, -0.0549745299, -0.0413326621, -0.0088754687, 0.0094720628, -0.0032741507, -0.0295981653, -0.0068122791, -0.0393459983, -0.0565612838, 0.0145950746, -0.0229797717, -0.0040533612, -0.0332348309, -0.0186212063, 0.0228186678, 0.0010199453, -0.0021283613, -0.0240204763, -0.0705193207, -0.0066982755, -0.0201357547, -0.0255072135, -6.787742253e-33, -0.0349813588, -0.0044916021, 0.0068383999, -0.0083305473, 0.0057035433, -0.0237780828, -0.0224686787, -0.0027919237, 0.0415758416, 0.0058488543, -0.0337794237, 0.0006391983, 0.019209072, 0.0044972948, 0.0187273994, 0.0010045749, 0.0639756918, 0.0090410365, -0.0457308032, 0.0453383401, 0.0281979162, 0.0171049852, 0.0175288543, -0.0759743303, -0.0120893931, 0.0303664822, -0.0141179236, -0.0155387819, -0.0259774216, 0.0874221697, 0.0086669354, 0.0155905578, 0.0151929129, -0.0739153475, -0.0038505385, 0.002685139, -0.0777999535, -0.0290952809, 0.0275031682, 0.0272259116, -0.0057982281, -0.0721218511, 0.0644680411, 0.0138637871, -0.0256945118, -0.0018647112, 0.0120270075, -0.0017505047, -0.0213954728, -0.0881810412, -0.0592185222, 0.0125633311, -0.0151308505, 0.0196506865, 0.0540030599, -0.0140237352, 0.006307452, 0.0076372479, -0.060590934, -0.0072786454, -0.0005480132, 0.058188498, 0.0812243, -0.0157018416, -0.0318833515, 0.0559254326, -0.0460764021, -0.0106423972, 0.0053479844, 0.025467772, -0.0153790079, 0.0403336994, -0.0012574184, 0.0365035497, 0.0217505395, -0.0494083278, -0.0416611768, 0.0301014706, -0.0485518239, 0.0426355973, 0.0212280657, 0.0329401344, 0.0125508057, -0.0104664322, -0.0428312458, -0.0362254195, -0.0544327721, -0.0457801893, 0.0361137018, 0.0258851778, -0.049495291, -0.0355433375, 0.0235766582, -0.0166309457, -0.017459413, 0.0299071893, -0.0112429298, 0.0079034083, 0.0300023202, 0.0118958084, -0.0166398678, 0.0057058968, 0.0259976387, -0.0380775221, 0.0147249065, -0.0069084018, 0.028348295, 0.0643465668, -0.1091793701, 0.0328397378, -0.0388589315, 0.0762781501, 0.0151274633, 0.0509183742, 0.0297483765, -0.0260917246, 0.0106721101, 0.010633246, 0.0497631319, -0.003997548, 0.0010666702, -0.01060085, -0.0043832869, -0.0207766127, -0.0365009084, 0.0058484338, -0.0054604872, 0.0179453772, 0.0397101641, -0.0495417342, -0.0132048754, 0.0034145473, 2.886e-7, 0.0091111641, 0.0526823178, -0.0059920629, -0.0401883386, 0.0368149132, -0.0086982306, 0.0100412704, 0.0293903016, 0.0088134762, 0.0070285369, 0.0008914631, 0.0189864431, 0.0668299422, 0.0474604443, -0.0548286624, 0.0170893744, -0.0701126605, 0.0284492169, -0.0511552617, -0.0177524239, 0.0295018405, 0.067667827, 0.0020853751, -0.0285041761, 0.016874982, -0.0188778322, 0.0219846331, 0.0006251185, 0.0025623583, 0.001847824, 0.1039121673, 0.0004168892, -0.0331466421, -0.0234567951, -0.0194911137, 0.0233871751, -0.0461201817, 0.0783127695, 0.0176145304, 0.0429844074, 0.0177101437, -0.0332795978, -0.0076287924, -0.0165741127, 0.0644744858, 0.0587009788, 0.0185083002, -0.0539558642, -0.010718002, -0.043840684, -0.0069004069, 0.0036013015, 0.0053358506, 0.0116543118, 0.0108225336, 0.0206169542, -0.0313069299, -0.0629685521, -0.0226904564, -0.0011069624, -0.0142863719, -0.0671266913, -0.0639118403, 0.0366574712, 0.0170639995, -0.0717946589, 0.0238177311, 2.968229765e-34, 0.011489925, -0.0361164883, 0.0087060342, 0.0028710526, 0.0259172209, 0.0036316048, 0.0458984524, -0.0135371713, 0.0011756736, -0.0789053589, -0.0113875465 ]
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.
Mast Kalandar at SemEval-2024 Task 8: On the Trail of Textual Origins: RoBERTa-BiLSTM Approach to Detect AI-Generated Text: 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.0946161225, 0.0473269783, -0.0302159861, 0.0566405244, -0.0659098849, 0.0171412323, 0.0263215173, 0.0388639867, 0.0318343043, -0.0816947892, 0.0212545563, -0.0147792455, -0.0219053384, 0.035063751, 0.0199548323, 0.0269516259, 0.0275428817, 0.0060060639, 0.0017683844, 0.0139864953, 0.02473999, 0.0324223824, 0.0222926699, 0.0259675439, -0.0366295017, -0.0185556114, 0.0237966515, 0.0006456021, 0.0127689615, -0.0243545007, 0.0310942903, 0.0454366989, -0.014106296, 0.1174324974, 0.0000018224, -0.0411311351, -0.0463658497, -0.0043575545, -0.0156126274, -0.0031691096, 0.0834275931, 0.0076036742, -0.0416508131, 0.0242045112, -0.0321905203, 0.0174284559, 0.010880379, 0.0251846183, 0.0462984145, 0.0900896564, -0.0376657769, -0.0058450261, 0.0591275468, 0.0196101218, 0.0100364108, -0.0074607348, 0.0554947816, -0.0215270743, 0.0010568304, 0.0174648967, 0.0350961424, 0.0508664995, -0.0099218814, -0.0392901748, -0.0112961819, 0.0045001479, -0.0089750523, -0.0251246262, 0.0096669802, 0.0143648107, -0.0114931222, -0.0376239941, 0.0597062036, 0.0037040182, 0.0107198097, 0.0170590803, 0.0423074141, 0.0406398326, -0.061361853, 0.0007968018, 0.0322801247, -0.0272041019, 0.018372668, 0.0636643246, 0.0281174667, 0.0407939926, 0.0215584673, -0.0592211634, 0.0027447012, 0.0071289279, 0.0439510681, -0.046063669, 0.0551768281, 0.0254321191, 0.0052702166, 0.0124430796, -0.0588823296, -0.0725407973, 0.0341462679, -0.0821504518, 0.0189130101, -0.0147019858, -0.0172523241, 0.0265880302, -0.0362405851, 0.0367146954, -0.0317264982, 0.0121536553, 0.008071796, 0.0206501912, -0.0256796945, -0.0339733213, -0.0169637464, 0.0144866807, -0.009219748, -0.0079166293, -0.0601851419, 0.0418728292, -0.0022634773, 0.0143729867, -0.0475967303, -0.0084263887, 0.0058256383, -0.0014833454, -0.0190313049, -0.0205753818, 0.0191694424, 0.0133949071, -0.0255439617, -0.0696767718, 0.0200114492, 0.0629538149, -0.0064634895, -0.0248415284, 0.0250572469, 0.0377036221, -0.0153777068, -0.0514108576, -0.0664384365, -0.072393164, -0.0453221798, -0.0467498749, 0.0177247729, -0.0449639224, -0.0341662839, -0.0120967105, -0.0175984297, -0.0331875458, 0.0018138423, 0.0541000776, -0.0454046614, 0.015705483, -0.0288354978, -0.0015995029, 0.0684415027, -0.0083385548, 0.025482947, 0.022666432, 0.0314791985, 0.0901243091, 0.0587053299, 0.0169835649, 0.0443769172, 0.0536860786, 0.0117355697, -0.0012653221, -0.0229263902, -0.0026663686, -0.0372351333, 0.0096269688, 0.0137799522, 0.0612939075, 0.0142610986, 0.0058479249, 0.0723669007, 0.0454034992, -0.0286887176, 0.0442156233, 0.0745414346, 0.0237666555, 0.0090687135, -0.0074125528, -0.004223065, -0.0362721756, -0.0705887079, -0.0265388768, 0.0092640212, 0.0368321314, 0.0206960738, -0.036161676, -0.0033920703, -0.0316316038, -0.0088710319, -0.0286295693, 0.0574773066, -0.0075816168, -0.034880802, -0.0333000124, -0.0175176226, -0.0354764275, 0.0167115219, -0.1036176309, 0.0446731746, 0.0751252919, 0.0523532107, -0.030257076, 0.0541591793, -0.038369257, 0.0040099537, 0.070861131, 0.014956505, 0.0084940586, -0.0414995998, -0.0122158835, -0.0430289879, 0.0119634895, -0.001556937, 0.0229545366, 0.0098937843, 0.0262190606, 0.0171725359, 0.0062416722, -0.0719946325, 0.0543853901, -0.0107449265, -0.0329793617, -0.0016348222, 0.0106246108, 0.0154315503, 0.0109874206, -0.0255069192, 0.0057770442, 0.0366768241, -0.0398011394, -0.0502434485, -0.0391462334, 0.0090577705, 0.0258915685, 0.0238181185, -0.0293808337, -0.006143223, 0.0438369885, 0.0074764094, -0.0060826354, 0.0246492717, -0.0476750061, -0.0078822793, -0.0962458625, 0.0288603269, -0.0244266633, 0.0310419016, -0.0237961318, 0.0894394144, -0.0121680005, 0.0096694976, 0.0339572132, -0.0601990372, 0.0340089425, -0.002400598, -0.0377768502, -0.0103860795, -0.0139192836, 0.0258174874, 0.0267295782, 0.012613913, -0.0127210822, -0.0301019046, -0.0413426608, -0.0197366979, -0.0123481788, 0.0233858656, 0.0149143068, -0.0086630685, -0.0212269537, 0.0051858849, -0.0169059504, -0.0386964753, 0.05326958, 0.0038063666, 0.0549541339, -0.0436339788, 0.0097902752, 0.0033631336, 0.013649689, -0.0278932378, 0.0499299467, 0.0592314377, -0.0291469879, -0.0742745176, 0.0141444942, 0.0014292595, -0.0046621431, -0.0011296092, -0.0395354182, -0.0245108437, -0.016862968, 0.0046906583, 0.0770038813, 0.0468918234, 0.0317232199, 0.0329764262, 0.0520158783, -0.0029350866, -0.005965963, 0.0033241783, 0.0195424035, -0.0275118165, -0.0505950563, 0.0526645519, 0.021433413, -0.0021831889, 0.0069963005, 0.0031307286, 0.0219303519, -0.0125458781, -0.0230836216, 0.0158769637, -0.061204616, -0.0461097658, 0.0387725979, -0.0156413931, -0.0597432926, 0.0452847928, -0.0339894593, 0.0134017793, -0.0373601839, -0.0137549378, -0.0021779961, 0.0010709534, 0.0120950062, 0.0544305705, 0.0072499742, -0.00058236, -0.0134377014, -0.0058439174, 0.0439006016, -0.0376602747, -0.0043779616, -0.0184544977, 0.0127040949, 0.0039777467, -0.0163004808, -0.0719515383, -0.0411607623, -0.0180221982, -0.0238920934, 0.0292174555, -0.0186444726, -0.032278996, -0.0174752958, 0.0374937728, 0.0266709458, -0.0331326127, -0.0090170577, -0.0051362701, 0.0801329836, 0.0293717496, -0.0606749915, 0.0084239338, 0.0043386067, -0.0077771619, 0.0444810949, -0.0064104716, 0.0275434628, 0.0044946745, -0.0141407065, 0.0212056395, -0.0133282747, -0.0217214059, -0.0066165947, 0.0013308142, -0.031794548, -0.0073363245, 0.0936429799, 0.0265941359, -0.0647110119, -0.0300987363, -0.013681788, 0.0043885591, 0.004962415, 0.0219180454, -0.0645355061, -0.0016680065, 0.0010648082, 0.0060604061, -0.066594556, -0.010377612, -0.0127407461, -0.1000449806, 0.0036803419, 0.0050606658, -0.0375198759, -0.0164503586, -0.0107825017, -0.0302437562, 0.0108273635, -0.0285395104, -0.0269099995, -0.0208590087, -0.0013851592, 0.0183971431, -0.0564915054, -0.0313458331, -0.0353762135, -0.0307564978, 0.0124685755, 0.0672842786, 0.053455852, -0.0315171927, -0.0379597694, 0.0282929409, -0.023556618, -0.0104960166, -0.012066613, 0.0596508868, -0.0367751531, -0.0029897201, -0.0248576719, 0.0229692906, -0.0244251657, 0.0149752293, 0.0223276056, 0.0867087096, -0.0080578802, -0.0249790996, -0.0373284705, -0.010091004, 0.0230036564, 0.0540069677, 0.0185197722, -0.0453843363, -0.0719187409, -0.0249529574, 0.0206388384, -0.0849141628, -0.0200266466, 0.004829315, -0.0299410205, -0.0640172586, -0.0879714191, -0.0305422656, -0.0257952772, -0.0078286603, 0.0057630897, -0.0019075986, 0.0217208471, -0.0086442241, -0.0596743226, -0.0631554946, -0.0346977189, 0.0428913534, -0.0632613823, -0.0003625271, 0.0086261099, -0.0395786278, -0.0175906476, 0.0296037663, -0.0448398143, -0.0561380051, 0.0282118544, 0.0354106203, 0.0237036012, 0.0068753497, -0.0208432376, -0.0371316262, 0.1045945063, 0.0345318802, -0.0314218365, -0.0112772379, 0.0086000795, -0.0168143958, -0.037591815, 0.0145490617, -0.012317854, 0.0284107924, 0.026835762, -0.0505754873, -0.0556786768, -0.0174813289, 0.0279917903, 0.0306775458, 0.0044303439, -0.035119649, -0.0122174742, -0.0337542519, -0.0378074944, -0.0101734502, -0.0175509788, -0.0129061379, 0.0314055197, 0.0379702188, 0.0069173579, -0.0046752491, 0.0142906299, -0.0415312126, 0.0204549786, 0.0155394832, 0.0058498597, 0.0302169137, 0.1160876676, -0.0054265643, -0.0006337044, 0.0119698131, 0.0534655862, 0.0109474417, 0.0388167091, -0.0091123413, 0.0499858074, 0.0041112714, -0.0169314556, 0.0312979482, 0.0349247418, -0.0542225279, 0.0221531522, -0.0392379463, 0.005626034, 0.0556714088, 0.0000505996, 0.0471829288, -0.0216907542, -0.0227539353, -0.0134308413, 0.037875656, 0.0053858939, -0.0314891934, -0.0411265157, -0.0003631964, -0.0468045101, 0.0048358538, 0.0575044453, 0.0445723906, 0.0355399325, 0.0256660506, -0.0725418627, -0.0492265075, -0.0131822405, 0.0294733867, -0.0119465524, -0.013736994, 0.0089089414, -0.0544858202, -0.0565469563, 0.0403441191, -0.0048556575, 0.0255178586, -0.0129306605, -0.0099289613, 0.0869099498, 0.017648723, 0.0201257206, -0.0728660375, 0.0159868989, -0.0244796947, -0.0326745361, -0.0099990144, -5.67928708e-33, 0.0131433681, -0.0880411118, -0.0183638092, 0.0037541473, -0.0176800899, 0.0314371549, 0.0190414749, -0.0296559688, -0.0136234649, 0.0173109211, -0.0187482405, 0.0014898308, 0.0040716594, 0.0232406054, -0.0049264454, 0.0079346541, 0.0283946767, -0.0239069145, -0.0214588102, 0.0328102969, 0.0502980836, 0.0176948346, 0.031398885, -0.0774155334, 0.0450491793, -0.0388150811, -0.0508019738, 0.0201484188, -0.0282062124, 0.065761894, -0.04613778, 0.0307980329, 0.0471149273, 0.0073255659, 0.0370024182, 0.0651943013, -0.0150133781, -0.020123776, -0.015298795, 0.0186426099, -0.0099098524, -0.0655035973, 0.0659792796, -0.0209490173, -0.0251621976, 0.0412075669, 0.0751992911, -0.0298667978, 0.0016311795, -0.0391204879, -0.0614559501, 0.0243954845, 0.0050064679, 0.0073165647, 0.0292148478, 0.0532617159, 0.0242696851, 0.0126031749, -0.0516123064, 0.0229040403, -0.0143244723, -0.007876222, 0.0321229845, 0.0162042174, -0.0224555675, 0.049285233, 0.0564573333, -0.0102316504, -0.0021075697, -0.0185053572, -0.023405863, -0.0002225456, 0.0567998067, 0.0946969613, 0.0114128785, -0.0410231799, -0.0390656777, 0.0510328896, 0.0634495839, -0.0055671637, 0.0287730545, -0.0570614934, -0.0535933338, -0.001746275, 0.0188235976, -0.0906034112, -0.0349497162, -0.0130991694, 0.0224548709, 0.0136957169, -0.0261321664, 0.0195393842, -0.0083826557, -0.0558122434, -0.0056113712, 0.0191285331, -0.0161549263, -0.0059989332, 0.0232685115, 0.0332470536, -0.0050664376, -0.0200946592, 0.0097982995, -0.0041555394, 0.014051157, -0.0059206984, 0.0383247957, 0.0153605388, -0.0685091913, 0.0238824822, 0.0093157953, 0.0337357037, 0.0169957429, 0.0344508849, -0.0046437746, -0.0267147217, 0.0069993692, 0.0012743572, 0.0341065452, 0.0323908813, -0.0360304825, -0.0502901971, -0.0191159025, 0.0322787762, -0.0283420514, -0.0124122072, -0.0246649142, 0.0505357347, 0.0393747948, -0.0834456384, 0.0198706221, -0.055124592, 2.592e-7, 0.054594595, 0.0409131236, 0.0272171702, -0.0242282003, 0.0221269205, 0.0506371073, 0.0028598993, 0.0429916009, -0.0116473967, 0.0321826562, 0.0017933946, -0.0215273239, 0.0525203906, -0.001653211, -0.0744389296, -0.0256467648, -0.0603771321, 0.008118582, -0.0660489053, 0.0235443804, 0.0776150301, 0.0416242518, 0.0153656248, -0.07198935, -0.0248980653, -0.0933377072, 0.0254959352, -0.0106643951, -0.0024381212, 0.0124767516, 0.0524965525, 0.0081671868, 0.0084331213, 0.0232279766, -0.0117351357, -0.0047640847, 0.0001230571, 0.0620665327, 0.0008819059, 0.0269112792, 0.0172870364, -0.0240915548, 0.006339604, -0.0425410792, 0.0535602607, 0.052233126, 0.008145879, -0.0409807079, -0.0521617532, -0.0634062812, 0.044050388, -0.0407129489, -0.0300402045, 0.0200494863, 0.0006130661, 0.0143999597, 0.0035768759, -0.0502528362, 0.0135794431, -0.0260948669, -0.0379508324, 0.002346056, -0.0578986406, 0.0046762852, 0.068871446, -0.0449749418, 0.0536666736, 2.439447866e-34, 0.030002879, -0.0353333205, -0.0107801016, 0.0098624332, 0.0187980197, 0.0267015304, -0.0067493329, 0.0126932738, -0.0084311673, -0.032806918, 0.0156041579 ]
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.
Large Language Models as Evaluators for Scientific Synthesis: 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.0260406919, 0.0242043361, 0.0073961965, -0.0052089076, -0.0203269273, 0.0013182337, 0.0315796249, -0.0236066319, 0.0276024956, -0.0389221683, -0.0133331409, -0.032431569, 0.001725029, 0.0092443023, 0.04785138, -0.0623169728, -0.0003418543, -0.0282443706, 0.0152738644, 0.0012342365, 0.0208989251, 0.0028579773, 0.020544881, 0.0359212421, 0.0875264555, -0.0289070923, 0.0318880528, -0.0272820909, 0.0386953503, -0.0409091301, -0.0276239645, 0.0516241752, -0.0021995562, 0.0568591319, 0.0000018266, -0.0692042559, 0.0267990194, 0.072029762, 0.0325466767, 0.0614163019, 0.0514767803, -0.0180126131, -0.0091653736, 0.0197401494, -0.0056494069, -0.0146537116, 0.0220696349, 0.0180505998, 0.0612616241, 0.0176909156, 0.0118057812, -0.0642134175, 0.049646493, -0.0036420263, -0.0152762318, 0.0101915048, 0.019349182, 0.0686785132, 0.0266308952, 0.0510644354, 0.0393686183, 0.0307598859, 0.0184029881, -0.0654708073, 0.0164802503, -0.0002521264, -0.0761175379, -0.0393383577, 0.055629462, 0.0430441275, 0.0280396603, -0.0290953871, 0.008293923, 0.0034734446, -0.0153280161, 0.0714228973, -0.0626978427, 0.0277109332, -0.0089577846, -0.0207628328, 0.0146178063, 0.0044887462, 0.0165452417, 0.0142944558, 0.0057195197, 0.0485488512, 0.0145291509, -0.0422538593, -0.0250726677, -0.0092725726, -0.0409496762, -0.0743354857, -0.0174614172, 0.0257036481, 0.0063038534, -0.0036157479, 0.0166809633, -0.0070881271, 0.0590579472, -0.0507005341, -0.0093683042, -0.0126958098, 0.0518517755, 0.0175852459, -0.0055431896, 0.0386296548, -0.0283548962, 0.0047547733, -0.0410451666, -0.0032041187, -0.0536930822, -0.0229102727, 0.0038448735, 0.0122163985, -0.0108499033, 0.003908406, -0.0446908437, -0.0093596093, -0.0027842121, -0.0143266823, 0.0111421794, -0.0141765298, -0.0033448669, -0.0131713226, -0.0315405354, 0.0292751603, -0.0033893627, 0.0248865187, 0.0064945477, -0.0416679718, 0.0044581983, 0.0306702498, -0.0111518204, 0.0003963126, -0.0013547278, 0.0180319939, 0.0305098109, 0.0177997071, 0.0337692425, -0.0584527589, -0.0043994705, -0.0664416552, -0.0058107884, -0.064845942, -0.0052059703, 0.0405707471, -0.0046174712, 0.0009648563, -0.0063595935, 0.0201830976, -0.0125098312, 0.0165312849, -0.0766166374, 0.0178344809, 0.0194685999, 0.0060116579, 0.0048272135, 0.0083841868, 0.0372078121, -0.0107458131, -0.0077157547, -0.0400638245, 0.0481318533, -0.0213821363, -0.001591509, 0.0007447143, 0.0104129296, 0.0235450249, -0.0404529497, 0.0497027785, -0.0119192386, 0.0848102793, -0.0442136601, 0.0516968109, 0.0452767201, 0.0479507931, 0.031864509, 0.0424021818, 0.0379336886, 0.0030404329, 0.0547150038, 0.0067741084, 0.0045736758, 0.0474056788, -0.0143316453, 0.0232849848, 0.05676651, 0.0416583866, 0.0066146185, -0.0622588694, -0.0228727572, 0.0408657566, -0.0215400327, -0.015737338, 0.0212435927, -0.0174701214, -0.0310206898, 0.0144602228, -0.0004978164, -0.0337852463, 0.012242361, -0.0198236685, 0.06999854, 0.04306015, 0.0561766475, -0.01328832, -0.0178879481, -0.0198944584, -0.0042762286, 0.0356925987, 0.0516246222, -0.0091240127, -0.0666171908, -0.0221914835, -0.0241428185, -0.0361144543, 0.0157600734, -0.0211433247, -0.0162529219, 0.0030424211, 0.0284759123, -0.0414282829, -0.0729143769, 0.0124417935, -0.0300993547, 0.00199578, -0.034162581, -0.0545845553, 0.037380185, 0.0164975431, -0.0303281937, 0.080827184, 0.0159691162, -0.0436535627, -0.0309156496, 0.0315313786, 0.01241617, -0.0221332163, 0.0062171402, -0.088576287, 0.0117179528, 0.0076973708, -0.0132388165, -0.036797069, 0.0440492667, -0.0380049385, -0.0084083797, -0.0259073917, -0.0084006637, -0.0461312383, -0.0115335127, -0.0202478673, 0.0407982767, 0.0117525514, 0.0743220672, 0.0443810746, -0.0261762831, 0.0310341138, -0.007544029, -0.0255958606, 0.0168594401, 0.0326403305, 0.0169414021, 0.0714287683, -0.0114072887, -0.0135475565, -0.048318278, -0.0610102788, -0.0018401312, -0.002141553, 0.0171227828, 0.0315165184, -0.036404077, 0.0229640678, 0.0458235592, -0.0072537581, -0.0618990511, -0.007654611, 0.0121921506, 0.0424062833, 0.0149480812, -0.0085651819, -0.0608783811, -0.035248287, -0.0352318771, 0.0488640666, 0.0643840283, 0.0193837732, -0.066897139, 0.0267764814, -0.0185541566, -0.032933291, 0.0037567718, -0.0149483681, 0.0358665027, 0.0042671179, 0.0169135015, 0.0359825976, 0.0179677866, -0.0028175353, 0.0589770637, 0.0199456941, -0.0138023021, -0.0338222124, -0.0277756955, -0.0129779084, 0.0168931354, -0.045156762, 0.0321682431, 0.0280072335, -0.0064146128, -0.0168559924, -0.0519984029, 0.0560036376, -0.0607293621, -0.0054299203, 0.0134693356, -0.0401849002, -0.0133568058, 0.0452883095, 0.0240203049, -0.0321165659, 0.0443875417, -0.0435422324, 0.0068870061, -0.066805996, 0.0081207594, -0.0562179014, -0.0041339099, -0.020518234, -0.0072004357, 0.0032916958, 0.0329936817, -0.0271455366, -0.0105080958, 0.0248567034, -0.0144613655, 0.0079647209, -0.0633066148, 0.0101941684, -0.0039624292, 0.01059053, 0.0350690968, -0.023071792, -0.0438098907, 0.0468269996, 0.0579990596, -0.0216236413, -0.020119641, 0.0435593799, 0.0733925998, 0.0147810951, -0.0334151499, -0.0181548446, -0.0122137871, -0.0149739413, 0.0566051044, -0.0145424884, 0.064161703, -0.0532290302, 0.0569315925, 0.0341200121, 0.0016106401, 0.0460214168, -0.0255793296, -0.056791611, -0.0065174191, -0.0157237742, -0.0512211472, 0.0050832215, 0.0707565323, -0.0301323701, 0.0151842851, 0.1143934876, -0.0088904155, -0.0037721202, -0.0195912197, -0.0382461436, 0.014086294, 0.0060584759, 0.0089772651, -0.0464315265, 0.0067362208, -0.0311754253, 0.026656419, 0.0002634579, -0.0372873507, -0.0084348517, -0.0726330951, 0.0540010482, 0.0215758774, -0.0469215885, -0.0210935939, -0.0746728405, -0.0126062976, -0.0139107015, -0.0173753351, 0.0453558639, -0.0165350512, -0.0058923219, 0.0302685462, -0.08424896, -0.0408402868, 0.0425194055, -0.0568647534, 0.0227939337, 0.0348821431, 0.0617859326, -0.0177229606, -0.0473911501, 0.02111708, -0.0581049062, -0.0099728396, 0.0255308487, 0.0086568352, 0.0420106538, 0.0171845946, -0.0465008952, 0.0262691546, -0.0088213636, -0.0073677534, 0.0056941444, 0.0853319317, -0.0103344889, -0.0384612121, -0.066067256, 0.0416072607, -0.0582151078, 0.078815341, 0.0323126391, -0.0117709208, -0.044771336, 0.0083209388, -0.0011354495, 0.0056995726, -0.0488137826, -0.0187450685, -0.0095678456, 0.0116038648, -0.0445819125, -0.0451038033, 0.0259017684, -0.0082697831, 0.0027816112, 0.0206390284, 0.0251785796, -0.0179540701, 0.0239499882, 0.0336694643, 0.007092149, 0.0147942118, -0.0163682885, 0.0159702953, 0.0470880419, -0.0054660351, -0.0131046316, 0.0327172168, 0.0030639877, -0.0408919975, -0.044661127, 0.0363177396, 0.0307055041, -0.0104924059, -0.0056439, -0.0592764504, -0.0009612907, 0.0367745049, 0.0468469039, 0.0042919037, -0.0132895401, 0.0047032982, -0.0021466943, -0.0341113657, -0.0411001667, 0.0073127216, -0.0305353273, 0.0144989174, -0.0064374106, -0.0544250794, 0.0455582663, 0.0639121979, 0.0128383385, -0.0445797853, 0.0452346839, -0.0050618914, -0.0258649662, -0.0474367775, -0.0162605494, -0.0519116707, 0.0446743742, 0.0138726365, -0.0164226498, -0.0189347658, 0.0187227745, -0.0569745041, 0.0215894841, -0.0309980717, 0.0506765023, -0.0176868029, 0.0050037662, 0.0288961902, -0.0292597208, -0.0525377952, -0.0566426031, -0.0775589198, 0.0285985451, 0.0103464173, 0.0277607683, 0.028061945, 0.0297957584, 0.0194399692, 0.025797369, -0.0770573914, -0.0886164382, -0.0608009137, 0.0197005514, -0.0173554886, 0.0362825692, 0.0902043283, -0.0262115914, -0.0221814234, -0.0585609488, 0.0515324548, 0.0295902528, -0.0032611485, 0.0383091234, 0.0361274406, -0.0423000418, -0.0454558246, 0.0820017383, -0.0034650732, 0.0029176152, -0.0191439223, -0.0390286408, -0.0080382554, -0.0294958763, -0.0646512359, 0.0000754793, -0.001701734, -0.0270661004, -0.1150366515, -0.0205273628, 0.0145262405, 0.0461298712, 0.0062741465, -0.0261965878, -0.0055781677, 0.0376990959, -0.0237338897, -0.0456950739, -0.037295159, 0.0235674102, -0.032251738, -0.006122719, -0.0077720392, -5.684720068e-33, -0.0085417731, -0.0151512548, 0.0100750113, -0.0149825495, -0.0328437127, 0.0000017647, -0.081042558, -0.0182096455, -0.0159211289, 0.0680665746, 0.0230814721, -0.0075479713, -0.0133448932, -0.0350127555, 0.0417017266, 0.0104362238, 0.0461907685, 0.0297121387, -0.0462404564, 0.041910056, 0.0150748752, -0.0449633524, 0.0212774612, -0.0456603281, 0.060737554, -0.0309718233, -0.0138164628, -0.0201028418, -0.0239448287, 0.0469358414, -0.0206487235, 0.0100567369, 0.0092533957, -0.084452495, -0.0168139208, -0.0184754375, -0.0184929483, 0.0244977288, 0.0553568192, -0.0506780446, -0.0494832397, -0.0365973711, 0.067602776, 0.0035589072, -0.0617197156, -0.0311415847, 0.0569858663, -0.0324913412, -0.0206863396, -0.1075104326, -0.0441416129, 0.0351116918, -0.0181763005, 0.0039396835, -0.0301954802, 0.0328690112, -0.0333244726, 0.0687791631, 0.0007843749, 0.0298679955, 0.0441839918, 0.00001952, 0.023268098, -0.0343435258, 0.0335429423, 0.0467776433, 0.0190841444, 0.0221217219, -0.0077917855, 0.0202819388, 0.0058933259, 0.0242365077, 0.0861317441, 0.0719345659, 0.0401070565, 0.0400268361, -0.0624717437, 0.0249157026, -0.0739321783, 0.0511700436, 0.0440257676, -0.0106862364, 0.0083382707, -0.0199144054, -0.0649612546, -0.0085314987, 0.0011146305, -0.0062309778, -0.0074999505, -0.0301202908, -0.049966529, -0.0107443975, 0.0296214316, -0.0426319763, -0.0023959277, 0.0049890159, -0.0453854464, 0.0439558215, 0.0008584581, 0.018146798, -0.0647828579, 0.0330091715, 0.008238879, 0.0418531783, 0.0507270843, 0.0060552922, 0.0164732747, 0.0137045784, -0.0144021716, -0.0087211812, -0.0320196077, -0.0065424391, -0.0056140311, -0.0353180394, -0.0080852332, 0.0305512678, 0.0140447617, 0.021268975, -0.0026780593, 0.0259410031, 0.0082322191, 0.0417509116, 0.0240197424, 0.0202762745, -0.0009309814, 0.0115314284, 0.0065222606, 0.0182860512, 0.031932354, -0.0545801185, -0.0232239347, -0.0025009094, 2.659e-7, 0.0633160397, 0.0703644678, -0.0041817212, -0.0215553325, 0.0354462862, 0.02196257, -0.0098225428, 0.0078209564, 0.04742755, 0.0063557634, 0.009219381, -0.0215042103, 0.0198759679, 0.0299584065, -0.0799481496, 0.0197864939, -0.1110699475, -0.0569492839, -0.034103021, -0.0129995821, 0.0310785752, 0.0095122857, -0.0131455082, -0.0013838259, -0.0174874235, -0.0212426186, 0.0623521283, -0.0037475752, -0.0297145545, 0.0622952059, 0.0625771657, -0.0066827922, 0.0357826948, 0.0184594076, -0.0047313552, -0.0108040432, 0.0488679558, 0.0311095621, 0.0094545381, 0.0244310815, 0.0421189293, -0.0557538383, 0.0344470851, -0.0642333999, 0.040518757, -0.051015269, -0.0338429362, -0.0318201743, -0.0728239343, -0.0245876275, 0.0417387933, -0.0179076027, 0.0171164647, 0.0382368937, -0.0470418297, 0.0201388989, 0.0048431647, -0.0105369734, -0.0441016667, 0.0374287553, -0.0494669564, -0.0791554973, 0.0004189332, -0.0188696254, 0.01541855, -0.0658002347, 0.0203803685, 2.253325095e-34, 0.0912188366, -0.012836433, 0.0141966688, -0.0103310104, 0.0350374281, 0.033370167, 0.0208589248, 0.0163054224, 0.0110115493, -0.0641671643, 0.0004618611 ]
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.
FSM: A Finite State Machine Based Zero-Shot Prompting Paradigm for Multi-Hop Question Answering: 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.0034624541, 0.0284100436, -0.00942674, 0.0607835315, -0.0543549433, -0.0059270374, -0.0001756307, -0.0522801504, -0.0155009301, -0.0100485533, -0.0489242971, -0.0066482257, 0.0122575182, -0.0125847654, 0.0146353003, -0.0243122242, 0.0745485201, -0.0777896568, -0.0052724411, -0.0369804874, -0.0194049161, 0.0041429703, -0.0219381321, 0.0247438271, 0.020321589, -0.0512243882, -0.057057742, 0.0206748992, 0.0064258752, -0.0367136039, -0.0431698598, 0.0491709746, 0.0185313169, 0.0522985645, 0.0000020356, -0.0637140945, -0.0009477958, -0.0085499352, -0.0233522803, -0.0212292224, -0.0622676872, 0.0144995376, 0.01341845, 0.044443626, -0.0095955636, 0.0043505235, 0.0373515747, -0.0219185129, 0.0845622346, 0.066949673, 0.0055468804, -0.0629968196, 0.0380203798, 0.0016886491, 0.0329037532, -0.0376549475, 0.0461825766, 0.0149047961, 0.0503704399, 0.0176518895, -0.0629533753, 0.062694788, 0.0400183201, 0.0240358934, -0.0265848972, 0.0103518246, -0.0435710028, -0.0377176628, -0.0245525762, 0.0787229165, 0.0278343689, -0.0097223949, -0.0254305117, 0.0252254196, -0.0255156439, -0.0073538902, -0.0719264969, 0.0413281024, -0.0083754882, -0.0046963901, 0.0123121636, 0.0080599803, 0.031778805, 0.0286880694, -0.0350021124, 0.0810776651, 0.0161144584, -0.0423285067, -0.0007231684, -0.0148679381, 0.0313814506, -0.0527756736, 0.0432042554, 0.0861587897, -0.0586418211, 0.0192851238, 0.0146105308, 0.0110095646, 0.0437216088, -0.0087549891, -0.0085299117, 0.0124743907, -0.0478918627, 0.0839610696, -0.0041551646, -0.0041694986, -0.0361939259, -0.0019710811, -0.0216996055, -0.0280801896, -0.0298080388, -0.0346584544, -0.0271328017, 0.0086041111, 0.0067814011, -0.0047633462, 0.0219933856, 0.0172671173, 0.0065780636, 0.0057343105, -0.0003786109, -0.0140097942, 0.0002441934, -0.010584685, -0.0025069145, 0.0813284293, -0.0577564612, 0.051813852, 0.0182494018, -0.0522199795, -0.0373717882, -0.0003071446, 0.0263081826, 0.0098754521, 0.0264864881, 0.047261592, 0.0179182552, -0.0297714695, -0.0045134365, -0.0272630751, -0.0026695833, -0.0733981356, -0.0071922876, -0.0815988332, 0.0633960217, 0.0040657325, -0.0224538799, 0.022067545, 0.0192690827, 0.0377977081, -0.015155728, 0.077377364, -0.0107615832, 0.0253689531, 0.0080871806, 0.0192243401, -0.0310519412, 0.0487232991, 0.0378556773, -0.0083853425, 0.0294289608, -0.0015570559, 0.0238072202, 0.0414704792, 0.0157032814, -0.0109415594, -0.001940507, 0.0174316261, -0.0188028812, 0.0498933531, 0.0370131955, 0.081284143, 0.0242331028, -0.0058741765, 0.0221840926, 0.032275591, 0.0060996632, 0.0014622865, 0.0368040092, 0.014488766, 0.0192483123, 0.0310744178, -0.0356223322, 0.0461013503, -0.0486176983, 0.0312481578, 0.07519155, 0.0088166315, -0.017047368, -0.007094271, -0.0135736223, 0.0147514148, 0.0049014366, 0.0619432554, 0.0521613546, 0.0001551309, -0.0412663743, 0.0144015858, -0.0052897758, -0.0010988031, -0.0079689873, -0.0390177108, 0.0895647779, 0.0722977817, 0.0432463363, -0.044502005, 0.00959705, -0.0048713279, 0.0196440388, 0.0465667211, -0.0084867487, -0.0302976221, 0.012688431, -0.0028906655, -0.0026101533, -0.0009037607, 0.0073178289, 0.0023830822, -0.0293205678, 0.0433356278, -0.0012337324, -0.0196484234, 0.0186913554, 0.0189168081, 0.0095729018, -0.0411390141, -0.0104764262, 0.0097149834, -0.001227226, 0.0294311401, 0.0081907436, 0.0592173338, 0.0150894532, -0.0234200079, -0.0112437606, -0.0114610773, -0.0480911694, -0.0857165009, 0.0451042168, 0.0008309239, -0.0451155901, -0.0006984436, -0.0232800432, -0.0482563041, -0.0059070834, -0.039401941, 0.0284461621, -0.0271223746, 0.0038599113, 0.0230017155, 0.011123159, -0.0036483789, 0.0425576679, 0.0240886267, 0.0271285102, 0.0118160266, 0.0068304469, 0.0052502085, -0.0452834517, -0.0172461178, 0.0084625641, 0.0040846686, -0.022386089, -0.0260461513, -0.0072111259, -0.0709420815, 0.0167576801, -0.0706937313, 0.0159204006, -0.0217981227, 0.0282884054, -0.0252778251, -0.0024687692, -0.0143371159, -0.0255612843, -0.0452029258, 0.001551314, 0.0127099017, 0.0333600082, -0.0081925513, 0.0081606079, -0.0644719154, -0.0191625971, -0.0053043882, -0.0417874679, 0.0328000262, -0.0164843053, -0.0262160096, -0.0498844683, 0.0132991979, -0.0820530057, -0.0031941507, 0.0105142165, 0.0032752035, 0.0176380612, -0.0390901044, 0.0599507205, 0.0382879786, -0.0090953643, -0.0518602803, 0.0888067111, -0.0232459307, -0.0249391049, 0.0207673628, 0.0007502967, -0.0062820171, 0.0000748136, -0.0136847505, 0.0175778028, 0.0517467596, 0.0093273288, -0.0176756587, 0.0098874383, 0.0266769659, 0.0089974171, 0.0311056189, -0.0426028669, -0.017852217, -0.035251148, 0.0582220219, -0.0057873232, -0.0111172674, 0.0991036221, -0.0252946485, -0.0124825723, -0.0425238982, 0.0131609524, -0.0388209857, 0.1035609692, -0.0262161326, 0.0065906788, 0.0349995345, -0.0022816206, -0.0424432866, 0.0061124088, 0.017894702, -0.047221832, -0.0019490989, -0.0354814641, 0.0404237732, -0.008273486, -0.0198526084, -0.0305908695, -0.0045958403, -0.0459484644, 0.0075828829, -0.0618381426, 0.0231957734, 0.0183337275, 0.0042257113, 0.0565279163, 0.0228689052, -0.0304048229, 0.0088965697, -0.0020967217, 0.0805532187, 0.0314602889, 0.024558479, 0.0485940874, -0.0224531107, 0.0774866045, 0.0218003355, 0.0348395929, 0.0385342725, 0.0242855474, -0.0022590396, 0.0190658569, 0.0053982628, -0.0334477052, 0.0442245305, 0.0564446375, -0.0920950472, -0.0208217725, 0.090154469, 0.0643621832, -0.0335773118, 0.0116363019, -0.0502825081, 0.0046903319, 0.012227105, 0.032253705, -0.0664043874, -0.0400713123, 0.0075878645, 0.0169900022, 0.0363875739, -0.0039866129, -0.0080099851, -0.0917550251, 0.0258205738, 0.0067226957, -0.0868818611, -0.0200825296, -0.0613963082, 0.0073457318, 0.024274433, -0.0097048953, 0.0395989195, -0.0036992314, -0.0119098825, -0.0088236015, -0.0096805096, -0.0392533764, 0.0553412922, -0.0478637815, 0.0432701148, 0.078503646, 0.0159975253, -0.0142244231, -0.0800826102, 0.0250611622, -0.0334322341, -0.0127585903, -0.0134312157, -0.0287241619, 0.0220499411, -0.0003037555, 0.0013876269, 0.0409993194, -0.0076058172, -0.0270500164, 0.0323799476, 0.1113833264, -0.0159102678, -0.0207050387, -0.0187136829, 0.0106394049, 0.0012519819, 0.0929407477, 0.0448169149, -0.0199501999, -0.0289965421, -0.0357035771, -0.0477171429, -0.0484677702, -0.0264973547, 0.01906389, 0.0184696689, 0.0005838756, -0.0636072159, 0.0063130977, 0.0584534854, 0.0423039459, -0.0100135766, 0.032950528, 0.0048371642, 0.0166344512, -0.0464822687, 0.0489511266, -0.0361649655, 0.0461171046, -0.0333916694, -0.0267429147, 0.0529273041, 0.0117676612, -0.0273011141, 0.0143909054, -0.0759452283, -0.0421896726, -0.0179825164, 0.041991014, 0.0206072796, 0.0299882758, 0.0058250981, -0.0136281503, 0.0158577524, 0.0098544154, -0.0040009399, 0.0220243465, 0.0222788826, 0.0428369641, -0.0100458609, 0.0379256718, -0.0591033958, 0.0021324249, -0.0246066842, 0.1031146049, 0.0118556805, -0.013158909, 0.024384778, 0.0107424175, 0.015173058, -0.0240535811, 0.0356493033, 0.0142030166, 0.0083064064, -0.0237203427, -0.0129812909, -0.0109457076, 0.009983303, 0.005984853, -0.0131738745, -0.001691556, -0.0621615425, 0.0001042314, -0.0335201286, -0.0237993002, 0.0203994606, 0.0585966632, -0.0440884419, 0.005569566, -0.0323784389, -0.0213688966, -0.0067563863, 0.0311670471, 0.0500573628, 0.0124603687, 0.0646416396, 0.0253556501, 0.003045751, -0.0692241788, 0.0097567467, -0.0575259887, -0.0637575909, 0.0117911594, 0.028474139, 0.0443642996, 0.0276652854, -0.027209606, 0.0021184126, -0.0116619654, -0.0057233982, 0.0102104275, 0.0050015524, -0.0655541271, 0.0642971322, 0.0487542599, -0.0097985612, 0.022108838, 0.0731306896, -0.0205428731, 0.0214574225, -0.0182039067, 0.0270601548, -0.0107818507, -0.0149404462, -0.0867041051, -0.0059619769, -0.0177688804, -0.0015600509, -0.0627642199, -0.0811667889, -0.0089244172, 0.0008578098, 0.0136438049, -0.0141659966, 0.0298463739, 0.0404742919, 0.0367623754, -0.0299367066, 0.0098155988, 0.0119741485, -0.003699569, -0.043333441, -0.0195624344, -6.49598529e-33, -0.0316465273, -0.0398493186, 0.0307509713, -0.0414707549, -0.0405667834, 0.000094326, -0.0986701325, -0.0170386862, -0.0181896146, -0.0287966542, -0.0157509446, -0.0089034522, 0.0008126635, 0.0147964312, 0.0408746973, -0.0383220464, 0.030565301, -0.0107225301, -0.0305947121, -0.0163140297, 0.0344123989, 0.0334824659, -0.0035806755, 0.0100662699, 0.0208475403, -0.0301166512, -0.030208949, 0.0543695539, -0.0564869381, 0.0284704641, -0.0339835547, 0.0075994623, 0.0070717079, -0.0644787103, -0.0123276692, 0.0543128103, -0.0857010111, -0.0476620235, 0.0196232218, 0.0128109828, -0.0392649136, -0.0053065643, 0.0230316035, 0.0023826223, 0.0434131473, 0.0205244031, -0.0019124396, -0.0379427858, -0.0133878086, -0.0515305661, -0.0460914522, -0.0139489034, -0.0145914545, -0.0698983222, -0.0092436969, 0.0798469335, -0.0316994935, 0.0229368266, -0.0333263949, 0.0324820839, 0.0278589688, 0.0054334737, 0.0634983405, 0.0222249441, 0.0188764241, 0.0265064631, 0.0225360803, -0.0520619228, -0.0633602142, 0.0133316852, 0.0187598635, 0.0100792572, 0.042395182, -0.0287352316, 0.0475287475, 0.0511647202, -0.0349637717, -0.0029243689, 0.0224532615, 0.0087498827, -0.0119489161, 0.0224704873, -0.0276002698, -0.0435970388, -0.0225981195, 0.0227115788, -0.0293863975, -0.0279057622, 0.0251608416, -0.0307969749, -0.0313383192, -0.0379736722, 0.0437877737, -0.0467938557, -0.0222051125, -0.0089349616, -0.0068484964, 0.0326920301, -0.01368012, 0.0229317918, -0.036884632, 0.0297569782, 0.0443821065, -0.0118020857, 0.0382811874, 0.0138236368, 0.0041880403, 0.0354100838, -0.0472122096, -0.0168675724, -0.0232638754, -0.0358272456, -0.0042377696, 0.0119382963, 0.0525869951, 0.0299531482, -0.0131550673, 0.0373623297, 0.0047371821, 0.0106022051, -0.0374735668, 0.0417796187, -0.0556589961, 0.0453936309, -0.0170929786, -0.0114438534, -0.0260584075, -0.0065259668, -0.0634362772, -0.0705623031, -0.018591458, 0.0449821986, 2.97e-7, 0.0138028413, 0.0219120272, 0.0153142978, 0.0386344828, 0.0265506059, -0.0035942094, -0.0496295169, -0.0458047614, 0.0112499408, -0.0388864353, 0.0155930761, 0.0455144942, 0.0642293245, 0.0470899381, -0.1433917433, -0.0083632153, -0.0659193471, 0.0045463135, -0.091300644, -0.0349596441, 0.0390377045, 0.0952062681, 0.0173913054, -0.0189167559, -0.0028192443, 0.0054195095, 0.0245235302, 0.0428052433, 0.009471654, -0.0419633612, -0.0345069282, -0.0077444823, -0.0072702141, 0.0187474061, -0.0120904539, 0.0168678071, -0.031158546, 0.0144053623, 0.0272838734, -0.0579256751, -0.0065651601, 0.0084797731, 0.0221044179, -0.0490135811, 0.0954453424, -0.0268277153, -0.0335509293, -0.0065572136, -0.0217797272, -0.015480171, 0.0174302049, -0.0021486112, -0.0118782762, 0.0047524767, -0.0098588327, -0.0284670889, 0.0126041817, -0.0448714383, -0.0172408354, -0.0200922899, -0.0360339284, -0.0313312188, -0.012723404, -0.0078438176, -0.0002373625, -0.0796151534, -0.0233329777, 2.444300683e-34, 0.0517453738, -0.0638956204, 0.026769489, 0.0652038753, -0.0069533773, 0.0060624997, 0.0010157566, 0.0065545053, 0.0259461459, -0.0555383079, -0.0394531824 ]
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.
ObfuscaTune: Obfuscated Offsite Fine-tuning and Inference of Proprietary LLMs on Private Datasets: 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.0064004445, 0.1254170686, -0.0359721147, 0.0979980156, -0.0590223297, -0.0092192618, 0.0417560972, 0.0245467965, 0.0107063791, -0.0058797067, -0.0368880704, 0.0503909513, 0.0091915512, -0.0025939485, 0.0171294883, 0.0357209072, 0.0255874507, -0.0166407414, -0.0403916091, -0.0398667529, -0.0460623503, 0.0100951595, 0.0324901454, -0.0175333843, 0.049799528, -0.0312408172, -0.027429888, 0.0069222455, 0.0087925997, 0.0414614268, -0.0119649181, 0.0362585261, -0.0036641858, 0.0754497498, 0.0000020188, -0.0256233513, -0.0842989683, 0.062868312, -0.0595731102, 0.0248100646, 0.0217754915, -0.0171800144, 0.0185914282, -0.0057774577, -0.0372992642, 0.0533361174, 0.0353376903, 0.0031517723, 0.0653088018, 0.0678107888, -0.0003665095, -0.0045656287, 0.015943652, -0.004809482, -0.0181823261, -0.0714136586, -0.0081994981, -0.0533729643, -0.0303243417, 0.0178910363, -0.0032312567, 0.0299552232, 0.0143164909, 0.0551391877, -0.0254674405, 0.0094863726, -0.015932342, 0.0010675716, -0.0352111161, 0.0433817506, 0.007940935, -0.021723263, 0.0494097956, 0.0155848935, 0.0245605763, 0.0256195068, 0.0153982164, 0.0451070368, 0.0129046729, 0.0186483897, 0.0461356789, -0.0271401461, 0.0413226709, -0.0011178505, 0.0139655033, 0.0902990028, 0.0190727953, -0.0094491392, -0.0361154489, -0.0348021872, -0.0334700793, -0.0571696497, 0.0261618868, -0.0001122761, 0.0335670114, 0.0064865206, -0.0574173331, -0.0309065506, -0.0021335583, 0.0034483476, 0.0598410517, 0.0130567076, 0.0283013862, 0.009783593, -0.0346770622, 0.0421491489, -0.0452265814, 0.0517439842, 0.0253369324, 0.0079101855, 0.0091307927, 0.005018217, -0.0281323418, 0.0849877894, -0.1016795561, 0.01178456, -0.0205348618, 0.0350974575, -0.0155417053, 0.0389374085, -0.0094072837, -0.0013131825, -0.0208542012, -0.03482081, 0.0167876799, -0.0940274224, 0.0034422998, 0.0027738402, -0.0044881655, -0.098070845, -0.0342243388, -0.0212514624, -0.0333147869, -0.0178080034, -0.0024547456, 0.0991280675, 0.0509263352, -0.0356756672, -0.002772447, -0.0882729143, 0.0177671313, -0.0645607561, -0.006616015, -0.0415679291, 0.0157875959, -0.008385485, 0.0049474202, -0.0899315998, -0.0098550525, 0.0102498559, -0.0308891777, 0.0716832578, -0.0356019586, -0.0038653801, -0.0648472905, 0.0247009043, -0.0015136005, 0.0682120323, 0.0240020044, -0.0110281045, 0.0646125525, -0.0242311694, 0.0291252919, 0.0190244094, 0.0507136509, 0.0249708053, -0.0545329042, 0.0358097032, 0.019678764, -0.0151365809, 0.0008496456, 0.0064271241, 0.0080186706, -0.0604597591, 0.0257326998, 0.0481135696, -0.0073753353, 0.03544778, -0.0468924604, 0.0149208214, -0.0406289063, 0.0212378222, -0.0363356844, -0.0016384572, -0.0771181285, -0.0174198858, 0.0060798139, 0.0437599309, 0.0104662627, -0.0345009677, -0.0104172351, -0.0338294506, -0.0023261597, 0.0242324583, 0.0041375961, -0.0060252892, -0.0077768597, 0.0826417208, 0.0157137122, -0.0370577648, -0.0536538288, -0.0734948739, -0.0030082201, 0.039426595, 0.0515441075, 0.0118658142, -0.006924123, -0.0343363956, -0.0178018138, -0.001557633, -0.0381600745, 0.026714243, 0.0854173899, -0.0378375873, -0.0336614996, -0.0426597483, 0.0418224037, 0.0073718112, 0.0131246997, -0.0196091197, 0.0205454901, -0.0471731648, 0.0417552479, 0.0276490431, -0.0444638506, -0.031751588, 0.0341138132, 0.0156903863, 0.066973038, -0.0061076526, 0.0018839734, -0.0023778607, 0.034228418, 0.0043725199, -0.0028644018, -0.0462071709, 0.045537252, -0.0115745785, -0.0286216643, -0.0334350914, 0.0149235455, 0.0314447358, -0.0316594876, -0.0134576904, 0.0025362596, -0.0120513495, 0.0442023538, -0.0114875659, -0.0130359503, -0.0034177597, 0.0572711267, -0.0224532001, -0.0092488155, -0.0477844663, 0.0459708981, 0.0092650047, -0.0302569531, 0.0134153832, -0.0383419916, 0.0145788779, 0.014094783, 0.0139823016, -0.0104213953, -0.0481758937, 0.0213775001, 0.0053739795, -0.042480357, -0.0074965032, 0.0491581261, -0.0071618627, 0.0240269899, 0.0286645554, -0.0010842438, -0.0292194039, -0.017441256, -0.0066698515, -0.0176246986, -0.0354316123, 0.0169619098, 0.0059051323, 0.0082007702, -0.0472952835, 0.0521855913, -0.0252244715, 0.0277627986, 0.0474751629, -0.0649060011, -0.0063994941, -0.0488301478, 0.0550865829, -0.0239429343, 0.0101821721, -0.0067874179, -0.0047225771, -0.0187882967, 0.0060185916, -0.0297377538, 0.0696849748, -0.059822008, -0.0235423278, 0.0299470257, -0.0283199474, -0.0639096648, 0.0097007724, -0.0021299529, -0.0556757599, -0.0491969511, -0.01126769, -0.0087183304, -0.0013681598, -0.0023178125, -0.0478818715, -0.0323982462, 0.0522058047, 0.0216543134, -0.0314166769, 0.0126456702, 0.0172689073, -0.0139360232, 0.0603810735, 0.0204833355, -0.0786691234, 0.0594729595, -0.0179292653, 0.0137741342, -0.0076989331, -0.0347274281, -0.0316203088, 0.0175447799, -0.0334870629, 0.0083384635, 0.0119001502, -0.0239765625, -0.014813886, 0.0184265207, 0.0458385609, -0.0575555339, -0.006841301, -0.0142460689, -0.0354909003, 0.0075639067, -0.0388768949, -0.0218034834, -0.057072714, -0.0172971319, -0.026766751, 0.0227550343, -0.0150168026, 0.0198079199, -0.0099336896, -0.0132977227, 0.0134984637, -0.0088099204, 0.0093531143, -0.0479824655, -0.0331567153, -0.0072269207, -0.0185387079, 0.04130245, -0.0182933994, -0.0038108069, 0.0421104766, 0.0422915779, -0.0216569267, 0.0291241128, -0.0102989236, 0.058965452, -0.0001586638, -0.0418261029, 0.047905609, 0.0370774567, -0.0347518511, -0.0163762569, 0.0562038571, 0.0006891426, -0.0100911818, 0.0030498337, 0.0309652165, 0.0194774065, 0.019668363, 0.0211968757, -0.0871260539, -0.0094401939, 0.0624880269, 0.0706184134, -0.0419453308, -0.0534726381, -0.0473697744, -0.103349492, 0.0373890772, 0.0170290992, 0.0376509875, 0.0077669234, -0.046824187, -0.0071394681, -0.0415836088, 0.0101340059, -0.0436385646, 0.0053166421, 0.0005397902, -0.0158268809, 0.0076308018, -0.019513825, -0.0183049068, 0.0348985568, 0.0477526709, 0.0086565614, -0.0027865788, -0.0144812101, -0.0351311713, 0.0352987424, 0.0053191194, 0.0032938952, -0.0274519082, 0.0310117155, 0.0203772914, -0.0125780357, -0.0009968977, 0.0402033888, -0.0070134001, 0.0107277343, -0.0014489765, 0.0390059873, -0.0194686148, -0.0148118697, 0.0410666987, -0.0388302244, -0.017520668, 0.0677990764, -0.0101354048, -0.0068193623, -0.0309177618, -0.0184961203, 0.011450151, -0.0070963977, 0.0103932992, -0.0021711271, 0.007489277, -0.0269330759, 0.001031125, 0.0105851339, -0.0084943771, 0.0333340168, 0.0080282148, 0.0342073366, 0.0032615848, -0.0062345853, -0.0485627055, -0.0080913194, -0.0582467094, 0.015835641, 0.0005756459, 0.017349489, 0.0230402052, 0.0272645503, -0.0120289195, 0.0223292019, -0.0742723122, -0.0692124143, 0.0083566196, 0.0439907946, 0.0305629298, 0.048102349, -0.0194144342, -0.0595040806, 0.0448318012, 0.0710623562, -0.0842093974, 0.0245982483, 0.0473796204, -0.0125080161, 0.0282389447, 0.0517029017, -0.0233570021, -0.0469819754, 0.0777918175, -0.0162573792, -0.0424196124, -0.03700874, 0.011398159, 0.0685784742, 0.0389133766, -0.0117162662, 0.0137539618, -0.0250439942, 0.0653604344, -0.0265071094, 0.0105328411, -0.041096095, 0.014296541, 0.0256972946, -0.0243350379, 0.0041798633, 0.0085065365, 0.024529187, -0.0078311507, -0.0485360436, 0.0379402898, 0.0204413068, -0.0423660278, 0.0295334309, -0.0035215684, -0.0012447071, 0.0838499963, 0.0342344642, 0.0531236045, 0.0024911407, 0.0217017438, 0.0083896108, 0.0509788543, -0.02048246, 0.05504518, -0.0429917462, -0.0559006222, -0.0101924613, 0.0437258743, -0.0041085077, 0.0539643541, -0.0040980708, -0.0192109141, -0.0235288795, 0.0036020877, 0.0499878563, -0.0262108855, -0.0275970362, 0.0154325571, -0.0087784482, -0.0256828368, 0.0226524267, 0.0695048124, 0.0543013588, 0.0442357399, -0.0126466462, 0.0119804814, -0.0689103454, -0.0306990054, -0.01322708, 0.0345805362, 0.004212515, 0.0258859489, -0.0372219048, -0.0857653767, -0.0126378331, -0.0267148782, 0.018092325, -0.0081195785, -0.0305871349, 0.0281573255, 0.0124152619, -0.0497814044, -0.0834777206, 0.0069226772, 0.0355994217, -0.0585199408, -0.0170187149, -6.112437646e-33, -0.0087373108, -0.046867162, -0.0297405068, 0.0119446665, 0.0449553579, 0.0204099156, 0.0281179193, 0.0038428556, 0.0119668227, -0.036174532, -0.0475555174, 0.0099328673, 0.0279679056, -0.0119952895, -0.0213211607, -0.018471675, -0.0019801927, -0.0459808297, -0.0052237599, 0.0026562461, 0.0037874684, 0.0439776331, 0.0529684983, -0.0571634397, 0.0461654663, -0.0342783667, -0.0576007627, 0.0197017156, -0.0905297995, 0.037057437, -0.0137301506, -0.0268335603, 0.0057373228, -0.0154181346, -0.018883789, -0.0338281356, -0.0191943552, -0.0124142366, 0.0255395621, -0.0179808065, -0.005293516, -0.0805941448, 0.0639878437, -0.0170918331, -0.0358238108, -0.0091512809, -0.0254218467, -0.0512629822, -0.0194808096, -0.0536793582, 0.0439039506, 0.014388538, -0.0238100383, 0.024939334, 0.0914802253, -0.0362071507, -0.0203731135, 0.0011828524, -0.0265317187, -0.0032388477, 0.0366076604, -0.0105642183, 0.0569734983, -0.0146470293, 0.0243906975, -0.0021369145, 0.0357231498, -0.0020067599, 0.0059517166, -0.0048929909, 0.0095989387, 0.0642314255, 0.0145491073, 0.0314956941, 0.0551687889, -0.0016692484, -0.0313040204, -0.0059774849, -0.0359683409, -0.0228952691, 0.0518067181, 0.0085448585, -0.0542633459, 0.0110771386, -0.0597561412, -0.0297532845, -0.0382974818, 0.0204319675, -0.0010810952, 0.0039494382, -0.0063040764, -0.022114208, 0.0085762208, -0.0781380236, -0.0159997866, -0.0294171833, 0.0468814746, -0.0256251171, 0.0137461759, 0.0305459443, -0.0031626124, -0.0191809889, -0.0165442899, -0.0305926912, 0.0525234938, -0.0206641406, 0.041832231, 0.0076392544, -0.0903601199, -0.0134048723, -0.0302660391, 0.0561615154, 0.0322119743, -0.0062820856, 0.0369768329, -0.0190916527, 0.0081291851, 0.0259562787, 0.0236909818, 0.0442674719, -0.0352800116, 0.0455117673, 0.0178430304, 0.0029969956, 0.0128931478, -0.0136243766, 0.0546311028, -0.0000644445, 0.0525458492, 0.0341227166, -0.0180101767, 0.0209952816, 2.798e-7, 0.0245638862, 0.0192307029, -0.0158274565, 0.0128695425, 0.0169341937, 0.0250820816, -0.0169243664, 0.0229528993, -0.036959298, -0.0451537259, -0.0317155235, 0.0028312998, 0.0983154401, 0.0064909928, -0.0321582109, 0.003784088, 0.0182024837, 0.0060963472, -0.0554241277, -0.0070042978, 0.0120979995, 0.0918631628, 0.0360757485, -0.0032055611, -0.0219955295, -0.0136878509, 0.0233191382, -0.0774321109, -0.0188153274, 0.0059180092, 0.0505345352, 0.0730189756, 0.0090308804, 0.0207193885, -0.0125308158, 0.0256907269, -0.0522140414, 0.1129164323, 0.030518502, -0.0404487513, 0.0062853382, -0.0893543437, -0.0376822092, -0.0089252349, 0.0653118491, 0.0289710946, -0.0488255173, 0.0048165047, 0.0074933581, -0.0761029348, 0.0456698611, -0.006072259, 0.0329268686, 0.0301340409, -0.0126756867, -0.0175836161, 0.0112657985, -0.0556780659, -0.0126544395, -0.0202863496, -0.0466403402, -0.0282102842, 0.0119135315, 0.008983992, 0.0432768427, 0.0015811635, 0.0283870306, 3.014451718e-34, 0.0209699124, -0.0295021497, 0.01733445, 0.0605404899, 0.0360490941, -0.0264398195, 0.0280104186, 0.0058126394, 0.0085350322, -0.0911025256, 0.0078753335 ]
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.
IncogniText: Privacy-enhancing Conditional Text Anonymization via LLM-based Private Attribute Randomization: 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.0340804644, 0.0369552672, -0.0148156481, 0.0410879441, -0.0265455339, -0.0062705893, 0.107565783, 0.0347295776, 0.0175761059, -0.0045654755, 0.0237313919, 0.0278348271, 0.0357825495, 0.0097339824, 0.027618587, 0.037742272, -0.0029304554, -0.0251404494, 0.0243151393, -0.0085699381, 0.0179780908, 0.0126355011, 0.0172053743, -0.0102765523, 0.0331159756, -0.0461309552, 0.0123539418, 0.009749434, 0.0101344977, -0.0148945972, -0.0528798513, 0.0172220208, -0.0283430237, 0.0214123111, 0.0000020285, -0.0233543348, -0.0154123679, 0.0573046543, -0.0553588755, 0.0272504296, 0.0341879353, 0.0634530485, 0.0124648204, 0.0373125896, -0.0451542139, 0.0445043631, -0.0150350984, 0.068659611, 0.0340267271, 0.0444262549, -0.0092601907, -0.0089191319, 0.0000036994, -0.0148811098, 0.0508173034, -0.0231759362, -0.0119052706, -0.0929035097, -0.0474137552, 0.057589449, 0.0179198626, 0.0516957343, -0.0095137302, 0.0520186611, 0.0348574892, 0.0316739045, 0.0014237616, 0.0150860781, -0.0007733448, 0.0218581185, 0.030676363, -0.0261612479, 0.058862336, 0.0271475203, 0.0212985277, 0.0145097813, -0.0018978927, 0.0395890176, -0.0480438434, -0.00087524, -0.029934356, 0.0176964216, 0.0377871059, -0.0327898785, 0.0146837216, 0.0023456665, 0.0315711685, 0.0014576524, -0.0587640852, -0.0583519712, 0.0076408596, -0.0637288615, 0.0408262946, -0.009504633, 0.0921161473, 0.0077199452, -0.0910485089, -0.0253174342, -0.0081666885, -0.0287558492, 0.027581932, -0.0359861292, 0.0345268436, 0.0150543293, -0.0543120913, 0.0088128168, -0.0081808921, 0.036825534, 0.0257444866, 0.0014920682, 0.0537294261, -0.0313853547, 0.0324948989, 0.0599150099, -0.0419228598, 0.0351547748, -0.0320332833, -0.015432517, 0.0015173763, 0.0144504393, -0.00858106, 0.009892961, -0.0301192384, -0.0192966294, 0.010921861, -0.0795646533, 0.0218674205, 0.0149910413, -0.0019420343, 0.0039243558, -0.0025772634, -0.0095715215, 0.010646061, -0.0030873162, -0.0123531846, 0.1277299821, 0.0141936643, -0.03656964, -0.0356658213, -0.0545445159, 0.0401361994, -0.0037355602, -0.0017555837, -0.039479617, -0.0193193275, 0.0008204905, -0.0028208133, -0.1106517166, 0.0181655083, 0.0198470652, -0.017351957, 0.045214422, -0.0127034672, -0.0105934208, 0.0322171599, 0.0531488657, 0.0335721225, -0.016429387, 0.0491816476, 0.0607681833, 0.0535349883, 0.0167508107, 0.0432351194, 0.0076812655, 0.0463133082, -0.0121558746, 0.0046472051, -0.0103758285, 0.0147347171, -0.0557037145, -0.0310550109, -0.0017958162, 0.0136112496, -0.0481958911, 0.0926760733, 0.0487043038, -0.0131660262, -0.0062171728, -0.062423598, 0.05008604, -0.0180143118, -0.0677905083, -0.0314182229, 0.0345178805, -0.0987579599, -0.0483389497, 0.020400783, 0.0249927361, -0.0187443309, -0.0320321992, -0.0023044932, -0.0593872033, 0.038262926, 0.0309066251, -0.0320294239, 0.0409009233, 0.0172392502, 0.0225512069, -0.000490397, -0.0543383472, -0.0242368151, -0.0389484093, 0.0183001887, 0.0599592663, 0.0359655768, 0.022516137, 0.0459379442, -0.0351674594, -0.0106576113, 0.0246494208, -0.0668591112, 0.026977744, 0.0605795719, -0.0550981611, -0.0395713709, 0.0009024419, -0.0041421815, 0.0160529185, 0.0134441368, 0.0196376871, 0.0369660221, -0.0222152229, 0.0191759542, 0.0098740067, -0.0346813053, -0.0631723925, 0.070529826, 0.0177061204, 0.008616752, 0.0376546904, 0.0211218223, 0.0048297732, 0.007068296, -0.0160008334, -0.0083081378, 0.0061845398, 0.0424568765, 0.0124458056, -0.0267735291, -0.0385986418, 0.0195341557, 0.0271594413, 0.0017271949, 0.013752372, 0.0194466487, -0.0315256789, 0.0341084674, 0.0109266369, 0.0144367274, 0.0082375929, 0.0423003398, -0.0189434998, -0.0007664845, -0.0111135934, 0.0093582207, -0.0386462212, 0.0226019267, 0.0053728139, -0.0086392108, 0.0007693208, -0.0532243997, -0.0189252011, 0.0308910049, -0.014256415, 0.0073653655, 0.012123758, -0.0477804765, -0.0013480587, 0.0016585661, 0.0089896098, 0.0005629156, -0.0032686363, 0.0361946113, 0.0002158046, -0.0164678637, -0.0689160973, -0.0701628178, -0.053715162, 0.0171482079, 0.0371394083, 0.010496499, -0.046002876, 0.0573417842, -0.000224308, 0.0010858343, 0.039486438, -0.0117183346, -0.0014049186, -0.030240139, 0.0245476663, -0.0419841893, -0.0020298169, -0.0368001945, 0.0068304748, 0.0252003092, 0.0347190276, -0.0251033995, 0.0218511689, 0.0286481567, -0.0180087611, 0.003278343, 0.0107297953, -0.037737675, -0.0335000493, 0.0110550635, 0.0302565005, -0.0147330109, -0.0764405727, 0.0145000191, 0.01549864, 0.037176501, -0.0007933495, -0.0049350271, 0.0627367496, 0.0058011306, -0.048647508, 0.0043933992, 0.0361731537, 0.0235650707, 0.0136882979, -0.0208346844, -0.0269594416, 0.0455288813, -0.0358444117, 0.0188616551, 0.0131675247, -0.0384876952, -0.0031440577, 0.0338857062, -0.0218644682, 0.0236990023, 0.0822332054, -0.047829628, 0.0025782932, 0.022264462, 0.0461005084, -0.0383588672, -0.003652934, 0.0012260145, -0.0441209339, 0.0300307106, -0.0266909171, 0.0085692322, -0.1340059191, 0.0351193398, -0.0464695282, -0.0491992794, -0.0309644192, -0.0055900877, -0.0342854038, 0.0362183563, -0.0272107478, -0.0237316471, 0.0023594499, -0.0250018369, -0.0052181925, -0.0406989083, -0.0911704078, -0.0161870793, 0.0001062697, -0.0478590578, 0.0677021667, 0.0352320895, -0.0218533128, 0.0265491996, -0.0364586525, 0.0012305647, -0.0042644097, -0.0629985034, 0.0290864799, 0.0455582961, -0.0101991137, 0.0069753439, 0.0402608104, -0.0251927879, -0.0374511443, -0.0133251054, 0.0289134048, 0.0078735808, 0.0115697701, -0.019296648, -0.0934431106, -0.0136371683, -0.0095479246, 0.0569295734, -0.0355219766, -0.0111644501, -0.0361321419, -0.0294679552, -0.041370552, 0.0208476558, 0.0381186828, 0.0242737737, -0.0599956512, -0.017277047, 0.0260661598, -0.0396361947, -0.0625239909, -0.0173532423, -0.0001818602, -0.0198206268, -0.0504337512, 0.0099104168, 0.0039389972, -0.0047270758, 0.0402596518, 0.037230432, 0.0203228295, -0.0180572048, -0.0198778547, -0.0600571595, 0.0247786939, -0.0195151381, 0.0089110425, 0.0565235466, -0.0146124326, -0.0028025934, -0.0497171693, 0.0452932641, 0.0533690155, -0.0197104514, 0.0224220511, -0.0376778618, 0.0114604793, -0.0037825396, 0.0123923924, -0.0210930258, 0.0191873126, 0.0341147482, -0.026143387, -0.0438885689, -0.0325547867, -0.0580364838, 0.0520898588, 0.0037198011, -0.0235103779, -0.0089496188, -0.0130164633, -0.0628289655, -0.0126047647, 0.033417739, -0.0630718321, 0.0128072305, 0.0558585487, 0.0557455011, 0.0182204619, 0.0149732949, -0.0395818092, -0.0427204147, -0.0717944354, 0.0368805118, 0.0114213051, 0.0305093452, 0.0268998109, -0.0383332223, -0.0030106201, 0.0680903569, -0.0756225511, -0.0413876064, 0.0105094239, 0.0139666172, 0.0206300709, 0.0672769025, -0.0364220291, -0.0841215402, 0.0728115663, 0.0203592069, -0.0323473625, 0.0479847118, 0.0515832044, 0.0140023902, 0.0030450521, -0.0115328711, -0.0310928002, 0.0004394196, 0.0593637563, -0.0662791058, -0.0763630643, -0.0382142626, -0.0543056615, 0.0478118844, -0.0092320191, 0.0195623673, 0.0393978171, 0.0038848007, 0.062016923, -0.0352507718, 0.0252835304, 0.015322322, -0.0324702971, -0.0014266139, -0.0000085573, 0.0209979061, 0.0019902182, 0.0109113017, 0.0000318092, -0.0115532652, 0.0022829482, -0.0107220886, 0.0310531463, -0.0053103007, 0.0097553181, -0.0302054994, 0.0347217917, 0.0538415499, 0.0208434314, -0.0207877904, -0.0083677396, -0.0019024754, -0.0005076955, -0.0204127133, 0.0487176552, -0.0292719174, 0.0228603594, -0.013717873, 0.0645155683, -0.0411294736, 0.0640931651, 0.00107406, 0.0135365753, 0.0327421762, -0.0179288425, 0.0295927413, -0.0599048696, -0.02445581, -0.0172077212, -0.0232038945, -0.017709706, 0.0421981625, 0.0476931408, 0.0450113639, 0.0289275851, -0.02488924, -0.0236071199, -0.0481759757, -0.0182915293, 0.0337249935, 0.0460769609, -0.0044940957, -0.0538175739, -0.0275620576, -0.0414802022, 0.0387238599, -0.0293689668, 0.030455498, -0.0245151389, -0.0333372429, 0.006073413, -0.0125727663, -0.031916339, -0.0621097609, -0.0060139787, -0.0017433908, -0.0432194881, 0.0240795612, -5.255835444e-33, 0.0011032495, -0.0330431424, -0.0156625714, 0.063973397, 0.034339685, 0.0392672084, 0.0136005487, -0.0023968534, 0.0064574229, -0.0502867661, -0.0536517911, -0.002933128, 0.0047437032, 0.0210542716, -0.0276642386, 0.0026555134, 0.0252451487, 0.0059736976, 0.0024353901, 0.0435343497, 0.0616222881, 0.0012799819, 0.0027330292, -0.1086204499, 0.0419498421, -0.0479704179, -0.082142882, -0.0268394705, -0.0259616151, 0.031046696, -0.0189275276, -0.0299253445, 0.0057139434, 0.0168109462, -0.0055276486, 0.0313185193, -0.0436160453, -0.0555025004, 0.0020959969, 0.0130581167, 0.0361148901, -0.0821336284, 0.0279075857, -0.0383221284, -0.0542234369, 0.014549139, 0.0159120671, 0.0003722514, -0.0076791397, -0.0386661664, 0.0272501148, -0.0019193649, -0.0041368441, 0.0217150804, 0.0482647568, -0.0209673028, 0.0054652076, -0.044304315, -0.0852948949, 0.0282403808, 0.0177906714, -0.0384668373, 0.005194583, 0.0233418569, 0.0168209504, 0.0425895564, 0.0553714186, 0.0126954159, -0.0048839981, -0.0015854377, -0.0142554557, 0.0234073754, 0.0392206758, 0.10024748, 0.0160900857, -0.0333738513, -0.0414932743, 0.0336116925, -0.0207961854, -0.0644796789, 0.0585945696, -0.0009282012, -0.0732142255, -0.0209499691, -0.0443275459, -0.0170582626, -0.0278214756, -0.0501950756, -0.0133370738, -0.0000986704, -0.0529093519, 0.0395511277, -0.0125375697, -0.0498810522, -0.0586407445, 0.0007137888, 0.0736851022, 0.0259648487, -0.0319618993, -0.0198164601, -0.0018954804, -0.004190628, 0.0200727936, -0.0285369735, 0.0315559171, -0.0092631476, 0.0461353548, -0.0153502952, -0.0860649198, -0.0577087775, 0.0029362564, 0.0303666089, 0.0378107429, -0.0313869603, 0.0070561892, -0.0066409088, -0.0221349429, 0.0356980748, -0.0006433428, 0.0177579112, -0.0304749664, -0.004515707, 0.0194244478, 0.0080335718, 0.0010262367, 0.0050770533, 0.0017991107, -0.0001947227, 0.0612553991, 0.0060621211, 0.0083177174, -0.0317695402, 2.773e-7, -0.0232070871, -0.0218756609, 0.0025276225, -0.0132002272, 0.0084605413, 0.0926041603, 0.0647376701, 0.0628174767, -0.0301430598, 0.0018198767, -0.0513471365, 0.0041045514, 0.0480282381, 0.0279034041, -0.0456037633, 0.0085482923, 0.026088126, 0.0215575527, -0.03274386, 0.0087435991, -0.0131412819, 0.0431433283, 0.0875072703, -0.0331031904, -0.038603954, -0.0162095707, 0.0296050049, -0.0441441052, -0.0410922877, 0.0000040131, 0.0197280105, 0.0309799016, 0.0137232551, -0.0050731492, -0.0335506424, -0.0302095357, -0.0169816297, 0.0910531804, 0.0046604197, -0.0101045715, -0.0036614302, -0.0602924563, -0.0226084292, 0.0018763575, 0.0562527962, 0.0872494131, -0.0669866428, -0.0032310151, -0.0267153401, -0.0493615046, 0.0188591462, 0.0045864042, 0.0035195765, 0.0109040597, -0.0007467124, 0.0010089139, -0.0103435507, -0.0605395883, -0.0328802913, -0.0640071481, 0.0087008299, -0.0131435422, 0.0037790202, 0.0723879114, 0.0564509444, -0.0509766079, 0.052324418, 2.529628716e-34, -0.0325659625, -0.0113882581, -0.0245472733, 0.0590055808, 0.0302404091, -0.0026583162, 0.0545384772, 0.0009426451, 0.0310093742, -0.0440369956, -0.0027242023 ]
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.
PII-Compass: Guiding LLM training data extraction prompts towards the target PII via grounding: 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.0008998576, 0.0532992966, -0.0267223567, 0.0480119213, -0.0232768524, 0.0026218405, 0.0503155477, 0.0140421279, -0.0028715837, -0.0122665958, -0.0238152239, 0.0069597848, -0.0210284945, -0.0201261695, 0.0260713939, 0.0354478136, 0.0276414864, -0.0447785184, -0.0088959001, 0.0319653861, -0.0344770066, -0.0070240488, 0.0107318368, 0.0124837002, -0.0069719069, -0.0097979866, -0.0190764759, 0.0046458887, 0.0255527645, -0.0584863797, 0.0090385843, 0.0160474442, 0.0243657026, 0.0178013761, 0.0000019351, -0.0289270878, -0.0570926592, 0.0314245224, -0.1048107445, 0.0199022796, -0.0057820771, 0.0467620715, 0.0200629178, 0.0153786009, -0.021980349, 0.0476284511, 0.0154966377, 0.0866850019, 0.0338674411, 0.0503053665, 0.0005469762, -0.0068371366, 0.0113475304, -0.0105926162, 0.014721714, -0.0297485646, 0.026916232, -0.0378276557, -0.0405062027, 0.0083049368, 0.0623144507, 0.0183071531, 0.017316049, 0.0476346686, -0.0329157002, 0.0230913758, -0.0125611322, 0.009515374, -0.0127824983, 0.0643759817, -0.0030471541, -0.0045637847, 0.0290334783, -0.0103922402, 0.0447574258, -0.0170578435, -0.0247706957, 0.0129268691, -0.0245410763, 0.010837039, -0.0337229595, 0.0118692853, 0.0350126289, -0.0348067172, -0.0567341074, 0.0406825617, 0.0003221982, -0.0393516198, 0.0477990881, -0.0501034893, 0.056004677, -0.0248610601, 0.0256482959, 0.0017543822, 0.0352465287, 0.0103151193, -0.0480826348, -0.0056264703, 0.0240764711, -0.0478037633, 0.0546954423, 0.003002651, -0.0220656432, 0.0223207548, -0.0223685987, 0.0165694393, -0.0139011303, 0.0449353568, 0.0232187416, 0.0043893578, -0.0222674739, -0.006921221, 0.0039338265, 0.0705472007, -0.0444667488, 0.0450231284, -0.0143258264, 0.0276827123, -0.020614896, 0.015292041, -0.0361070484, 0.0037611525, 0.0009670931, -0.0034691386, -0.0320097655, -0.0499357395, -0.0293052327, 0.0117513817, 0.0198423173, -0.0777375251, -0.0152296033, -0.0178649183, 0.0153805586, -0.0369113684, 0.0112905074, 0.0921169817, 0.0104886424, -0.0525194295, -0.1211443841, -0.0827559158, 0.0394520387, -0.0190971121, 0.0352254473, -0.0264795553, 0.0180245172, -0.0306294616, -0.0290140491, -0.0596651174, 0.0069473227, 0.0155427894, -0.0369126797, 0.0610608421, -0.0245540608, -0.0057026907, 0.0172292627, 0.0219153278, 0.0116110584, 0.042079825, -0.0084031206, 0.0595575273, 0.05787744, -0.0249214731, 0.0238782447, 0.0493219234, 0.0449518114, -0.0086823143, 0.0082413824, 0.0273193363, 0.0135085685, -0.0684054643, 0.0197875053, -0.0001585105, -0.0189002138, -0.0315201692, 0.0793644264, 0.0886044353, 0.012614565, 0.004889301, -0.0368004143, 0.0079252059, -0.0126507655, -0.0300806537, -0.087443918, -0.0174302962, -0.0746254697, 0.0040320028, -0.0134461066, 0.0233259276, -0.020311607, -0.0230811611, 0.0174326412, -0.0477152541, -0.0245876033, 0.0580279529, 0.0041237208, 0.0205581542, 0.0132350288, 0.0931120068, 0.0152347647, -0.0549147502, -0.0427012295, -0.0494649857, 0.0036626996, 0.0345748253, 0.0097451638, -0.0197057854, -0.0303410422, -0.0205379557, -0.0110863792, -0.0007318674, -0.0259437319, -0.0069045611, 0.0764191598, -0.0401426889, -0.0602060705, 0.0348810293, -0.0080134403, 0.0213831663, 0.0466731861, -0.0357715115, 0.0349191464, -0.0653586984, -0.005116113, 0.0362206697, -0.0472724102, -0.0970881507, 0.0317676961, 0.0286170412, 0.0062709823, 0.043450173, 0.0002052284, -0.0061022583, 0.0636613965, 0.0065179719, 0.0218719821, -0.0579005219, 0.0020622513, 0.0584025048, 0.0027818815, -0.0200352445, 0.0123192472, -0.0097634699, -0.0222059246, 0.014443242, -0.0605391525, -0.0075108018, 0.0487779789, -0.0108251916, 0.033212211, 0.0191656705, -0.0036121961, -0.0491192825, 0.0302188266, -0.0248864107, -0.0334247164, -0.0017401124, 0.005494752, -0.0031922844, -0.0906246081, 0.0081121027, -0.001456002, -0.0239794813, -0.0109034488, -0.0128946798, -0.0015061167, -0.0282012727, -0.0176099204, -0.0580857433, 0.0168308187, -0.0059354529, 0.0451921299, -0.004297582, 0.0195859298, -0.0377232954, -0.0315592438, -0.0451407433, -0.0753745809, -0.0573397912, 0.0202277359, 0.0073233205, 0.0402236059, -0.04722891, -0.0143561745, -0.0077450839, 0.0136856809, 0.0216575731, -0.0383452959, -0.0268530808, -0.0279805772, 0.0417514108, -0.0023308124, 0.0217381846, -0.0291728359, 0.0158336591, 0.0024254753, 0.0115122311, -0.0162233543, 0.0298385657, 0.0010341358, 0.0202477556, 0.0174032245, -0.0060173445, -0.0614236817, -0.0025776797, -0.0192013104, -0.0179260615, -0.0314137824, -0.0378094725, 0.0664351359, 0.0003827242, 0.0060945912, 0.0375756621, 0.0314710252, -0.0166068096, 0.0493547693, -0.0684201866, -0.0414635688, 0.0544442609, -0.0253451876, 0.0490452312, -0.0013173011, -0.0519340783, 0.0454204939, -0.0094688786, 0.0369521454, 0.0281660482, -0.0688693821, 0.013686859, 0.0553179681, -0.0078954715, 0.0017899581, 0.0613812134, -0.056983266, -0.0135740209, -0.017090803, 0.0041156742, -0.0516435541, 0.0677515268, -0.0078250468, -0.0405481644, -0.0075256284, -0.0625067726, -0.0668045059, -0.0469118953, 0.0071581774, -0.0082352273, -0.000537856, -0.0250146091, 0.0179311372, -0.0425570719, 0.0382201038, -0.007222537, -0.0288695935, 0.0058664442, -0.008861688, 0.0097501054, 0.0229638312, 0.0012593782, 0.0090749143, -0.0128530599, 0.0105246576, 0.0629901439, 0.0516461954, -0.0135056032, -0.0012581443, 0.0031391026, 0.014151454, -0.0447242446, -0.0205284525, 0.0638518631, 0.0179967564, -0.0405831896, -0.0137048094, 0.0625257716, 0.0135321645, -0.0218709186, -0.0101491967, 0.0081327986, -0.0045547234, 0.0062360079, 0.0094531784, -0.0418165997, -0.0117791276, 0.0258611366, 0.0880735591, -0.0226200242, -0.0518029593, -0.0078879725, -0.1334910989, 0.0449340269, 0.0026081358, 0.0042433431, -0.0605508573, -0.0418699794, 0.0046071229, 0.0120178908, 0.0334691741, 0.0080241794, -0.0271035563, -0.0148323225, 0.032051716, -0.0315017663, -0.0178245213, -0.0123184947, -0.0506938286, 0.008717712, 0.072296381, -0.0098158466, -0.0086485557, -0.0563948043, 0.0221625548, 0.0036729914, -0.0013210448, -0.0049367924, 0.096039094, -0.0165590271, 0.0354810618, -0.0241129547, 0.0626553223, -0.0057786065, -0.0220900327, 0.0641307235, 0.0436379202, -0.0522226132, 0.0427443385, 0.0024781728, -0.0126812756, 0.0126831122, 0.0598476231, 0.0258855652, -0.0234411471, -0.0004608806, -0.0317583568, 0.0353267267, -0.0079132365, 0.0138344271, 0.0341494121, -0.0473217554, -0.0314116366, -0.0073260767, -0.0251120962, 0.006034004, 0.0477814972, 0.0359912366, -0.0257560685, -0.0019789888, 0.025776457, -0.0440602563, 0.0038634245, -0.0615883395, -0.0030419128, -0.0732981712, 0.0276579708, 0.0181697514, -0.0062078922, -0.007103398, 0.0170871913, -0.0638338551, -0.0589776821, 0.0173784886, 0.0536816306, 0.0338772833, 0.0475994498, 0.0007695856, -0.0447027721, 0.0481115133, 0.0794221312, -0.0516856126, -0.0172883347, 0.0429077484, 0.0054011005, 0.0018727041, -0.0037626349, -0.0691379234, 0.0051596682, 0.0782958493, -0.0462843329, -0.092584759, -0.0255874656, -0.0060904264, 0.0684693828, 0.070787333, 0.0234753527, 0.0096420506, -0.0109132072, 0.0476064608, -0.0179001875, 0.0137241222, 0.0219238289, 0.001065531, 0.00144444, 0.0358198844, 0.0375910513, -0.018454304, 0.0280388892, 0.0346980207, -0.0513251536, -0.0210893974, -0.0111722015, 0.0496181436, -0.008268347, -0.0277257953, -0.0187858772, 0.0595683418, 0.042022042, 0.057168074, 0.0042199469, 0.0391992703, -0.0087085515, 0.0290725194, -0.0359927304, 0.0329657719, -0.045162037, -0.0522382818, -0.0084442422, 0.0215283968, -0.0020329137, 0.0171059109, -0.0221024305, -0.0145218102, -0.0035211928, -0.0103858896, 0.002733435, 0.0027710008, 0.0053017079, 0.0179181881, 0.0068187802, -0.0442645289, -0.0084635513, 0.0458767526, 0.029156819, 0.035733331, -0.0434684679, -0.0297925565, -0.0639770105, -0.0379982889, 0.0723390579, 0.0300259311, -0.0073358794, -0.0508668087, -0.0690671727, -0.0402685665, 0.017055165, -0.0141043747, 0.0071383435, -0.024467025, 0.0266705267, 0.0356146432, -0.0218510292, -0.0287658945, -0.0392186008, -0.0106451744, 0.0329161324, -0.0336832143, -0.0196148921, -5.823174568e-33, -0.0167138781, -0.0190093406, 0.0153126875, 0.0479738079, -0.0185985863, 0.0022374638, 0.0273628831, 0.0069046831, 0.0087962383, -0.0572960712, -0.0562979057, -0.0193358045, 0.0328019932, 0.0130256284, -0.0216276161, -0.0426712669, 0.0418757983, -0.013439279, -0.0017162595, 0.0156804826, 0.0537403524, 0.0738810599, 0.0381253324, -0.1087671667, 0.0340829976, 0.0024918467, -0.0104440851, -0.0048501058, -0.0013192948, 0.0583381765, 0.0026629753, -0.0243439712, 0.0148740523, -0.0466910452, 0.0064891088, 0.0266226269, -0.0793996751, -0.0378875472, -0.0186812989, -0.0018700077, 0.062259648, -0.0717666298, 0.0684155747, -0.0410745591, -0.030155614, -0.0050688665, 0.0193580221, -0.015394113, -0.027849555, -0.0462903082, 0.013615191, 0.0161716975, 0.0156770274, 0.0378025509, 0.0512041114, 0.0098215919, -0.0040718219, -0.0025708969, -0.0748478696, -0.0045403657, 0.0666595474, 0.0043384922, 0.0332602598, 0.0765865222, 0.0052904547, 0.0572397411, 0.0494414531, -0.0138148014, -0.0052603134, -0.0481904671, -0.0071371738, 0.0900021195, -0.0149479154, 0.0086400453, 0.0424644165, -0.0492458828, -0.0667832121, 0.0462524854, 0.0081295362, -0.0380861759, 0.0292071253, 0.0002667823, -0.075773783, 0.0006589058, -0.0097433068, -0.0316579565, 0.0021500252, -0.0267070122, 0.0442938842, -0.0158846267, -0.0259893015, 0.0136044612, 0.0118751153, -0.0029673076, 0.0055983486, -0.0018629364, 0.0328133889, -0.0031363019, -0.0229437482, -0.0381774753, -0.0388774686, -0.0342054553, -0.0092641292, -0.0413358845, 0.0364170298, 0.0021856846, 0.0366359614, -0.0191051494, -0.0902178064, -0.0262800772, -0.0096955774, 0.0310782678, 0.0595331602, 0.0326577611, 0.0248480868, -0.0133787002, 0.0248557441, 0.010435394, 0.0168283656, 0.0184415784, -0.0152218435, 0.0072141136, -0.0013319539, 0.0096143344, 0.0174294785, 0.0005649308, -0.0006861313, 0.027612716, 0.0406861044, -0.0183656365, 0.0105908271, 0.0142907118, 2.689e-7, -0.0124939792, -0.0381503217, 0.0057450226, 0.0403227657, -0.0191577896, 0.071654126, 0.0226039384, 0.0449393727, 0.0256722439, -0.0516215451, 0.0120435329, -0.0142636569, 0.0325496681, 0.0357096158, -0.0666849613, -0.0387425087, 0.0281905718, -0.0175912865, -0.0718942806, 0.014030668, -0.0001725315, 0.0915177315, 0.047704231, -0.0334321931, 0.0238695201, -0.0315032564, 0.009562077, -0.0871802047, -0.0014763852, -0.0073233945, 0.0807460994, 0.0407569371, -0.0043868208, 0.0332086124, -0.0346382111, 0.0343474038, -0.028138347, 0.0852869824, 0.0134012615, -0.0423212685, -0.0132786054, -0.0666932613, -0.0019694897, -0.0111471331, 0.054225184, 0.020573277, -0.0252081845, -0.0073811626, 0.0002926618, -0.0603412129, -0.0269487388, -0.014466607, 0.0030262405, 0.0031234459, -0.0016494072, -0.0245412719, -0.0062727579, -0.0383395255, 0.0290837549, -0.0105947182, -0.0206289329, -0.07096681, -0.0003022254, 0.029366089, 0.006237492, -0.0148106134, 0.0224952307, 2.760297671e-34, -0.0219397843, -0.0166865885, -0.0037395675, 0.066446282, 0.0424130112, 0.006865147, 0.0291304719, 0.0176593158, 0.0097236428, -0.0568272248, -0.0047224695 ]
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.
Probing the Feasibility of Multilingual Speaker Anonymization: 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.0007220341, 0.0625765771, -0.0402432494, 0.0418247432, -0.0130066071, -0.0264256876, 0.1247044355, -0.0019402496, 0.0025432038, 0.0309464782, -0.0074501098, -0.0218275618, 0.016864229, -0.0254518557, 0.0483451262, -0.0591126978, 0.0298985727, -0.0201509111, -0.0138655286, -0.0289247781, 0.004333613, -0.0012497574, -0.0075871749, 0.0418793969, 0.0023507006, 0.0157555193, -0.0198697057, -0.035913676, 0.0222709384, 0.0509000197, -0.030372059, 0.0020215865, 0.0300078541, 0.0893058106, 0.0000014978, -0.0229674373, -0.0024436428, 0.0202506166, -0.0268519334, 0.003807331, -0.013432228, -0.0039071445, -0.0122099454, 0.0393154062, -0.032051459, -0.0140255159, 0.0163583886, -0.0031070863, 0.058553502, 0.0168173928, 0.0009959582, -0.0553186573, -0.0103120692, -0.0144941844, -0.0219854116, 0.0332229361, -0.004786951, -0.0710582659, -0.0344513543, -0.0142742489, -0.0003744612, 0.0760593042, -0.0108317323, -0.0073141879, 0.0057956716, 0.004095336, -0.0414499454, -0.0467604473, 0.0339781716, 0.013381701, -0.0187799241, 0.0138289994, 0.0331991501, 0.0666939914, 0.006443195, -0.0010519451, 0.0115539785, 0.0172968078, 0.0052122483, -0.0206751544, -0.0227311086, 0.0309688821, 0.0325786471, -0.0179179665, -0.0074728038, -0.0068281009, 0.0227983855, -0.0168264527, -0.0364614539, -0.0653922558, -0.0012549087, 0.0079761418, 0.0695783123, -0.0331702977, 0.0231530797, -0.0117058903, -0.0461929925, -0.0522934496, -0.0288374331, -0.056188222, -0.0316780731, 0.013622093, 0.0018085554, -0.0254781824, -0.0257741157, 0.0441875793, 0.0115581723, -0.0122778006, -0.0061774291, -0.0312919393, 0.0104277963, 0.0013632638, -0.0071156183, 0.0190880038, -0.0491753593, 0.0296000708, -0.0588727929, 0.0050557503, -0.0573901422, 0.0324036963, -0.0603898838, -0.0147254271, -0.0162639748, 0.0076524555, 0.0427766219, 0.0052245972, -0.0063223969, 0.024707282, -0.0434482507, -0.017590614, 0.0053978055, -0.0159171, 0.0149792479, 0.0091466065, -0.0080340058, 0.0554478168, 0.0208421778, -0.0109863589, -0.0009201199, 0.0142849265, 0.0355665907, -0.0154187037, -0.0143497894, -0.0400103368, 0.0295077246, -0.0519130006, -0.01543706, -0.0505363718, 0.005514971, -0.0181894172, -0.0104744826, 0.079467088, -0.0048856921, 0.0234728437, 0.0707503334, 0.0363537855, 0.0350800417, -0.0064254287, 0.0488754958, -0.0533540808, 0.0450650789, -0.0440148227, 0.0165137183, 0.0262248255, 0.023575712, 0.0069699949, 0.0140793454, -0.0179430433, 0.0100230044, -0.0239005461, 0.0033841946, -0.0084867524, 0.010948577, -0.0748022944, 0.044573687, 0.0749160424, -0.0112888608, 0.0265837759, 0.0030517119, -0.0106216036, -0.0210126359, -0.0106944479, 0.0018487306, -0.0484530069, -0.0201159194, -0.0474762954, 0.0067873527, 0.0272886269, -0.0422551744, 0.0085621355, 0.0283098947, -0.0618681014, 0.0517689288, 0.0235506203, -0.039744433, -0.0160617232, 0.0135181202, 0.0332080051, -0.0360579006, -0.0754676163, 0.0269607548, 0.0103116874, -0.0088558737, 0.0387102701, -0.0034256876, 0.0057265619, 0.0662995651, -0.0784497187, -0.0459712446, 0.0240568966, -0.0367355645, -0.0217576567, 0.1142793447, -0.028253857, -0.015853418, 0.0303641818, -0.011375499, 0.0769950375, -0.0068181222, 0.0041027977, 0.0425489545, -0.0005845303, 0.0490172096, -0.0316602066, -0.0695911571, -0.0253538657, 0.0443308018, 0.015121975, 0.0623001382, 0.0524571463, -0.0299904533, -0.0304179471, 0.0318167135, -0.0184990149, 0.0279577449, 0.0369402021, 0.0019063756, -0.0242358763, 0.0162471607, -0.0481286421, 0.0361730717, 0.073966898, -0.0055493815, -0.0429181978, 0.0610061586, -0.0110086882, 0.0293572508, -0.0142861595, 0.0120633896, -0.021078648, 0.0518839061, -0.0058587808, -0.0462842919, 0.0086092688, 0.0435709283, -0.0145949395, 0.0256766491, 0.0371130072, -0.0333007425, -0.0561510362, -0.0031636492, 0.0054137828, 0.0329931974, -0.0091229836, -0.0241520833, 0.0183753818, -0.0051604235, -0.0733064488, -0.0039940919, -0.0088328831, -0.0069434671, -0.0213800725, 0.036531318, 0.0203026608, 0.0066608367, -0.0540632308, -0.1025083214, -0.0032921715, 0.0136779062, -0.0162554942, -0.0029427318, -0.0828686655, 0.0196717158, -0.010393599, 0.002362472, 0.017057851, -0.0374364108, -0.0600661077, -0.0116464812, -0.0005447169, -0.0412956439, 0.0225221999, -0.0073751127, -0.0217205565, -0.011047882, 0.0850554034, 0.0591936111, 0.0316558965, 0.0099771218, -0.0255596749, 0.0292012598, -0.0059819822, -0.0280051883, 0.0003626921, 0.004207354, 0.0640883073, -0.0345266536, -0.0563356057, 0.0053609624, -0.0367061533, 0.0381229296, -0.038324099, -0.011228092, 0.0028988069, -0.0197599921, -0.0368460007, -0.0261917301, -0.0265963711, -0.0158012789, -0.0069815586, 0.0288350936, 0.0123832123, 0.0193986595, -0.0431438461, 0.0107178716, 0.0068572951, -0.0709474757, 0.0153228389, -0.0022986089, 0.0223232824, 0.0612359866, 0.0089271292, -0.0453222841, 0.0125216702, -0.0179397054, 0.03897563, -0.0509447493, -0.0212923363, 0.041670084, -0.0396721959, -0.0032832008, -0.0203218665, -0.0302607566, -0.0663627982, 0.018850999, 0.0124305412, 0.0153088002, -0.0617842972, 0.0009984015, 0.0132661471, 0.0646682307, 0.0009002704, 0.0241118167, 0.0332271755, -0.0040292456, 0.0255516432, -0.0462737605, 0.0103274258, 0.0310739279, 0.0080261119, 0.0147402268, -0.0129165519, 0.050168775, -0.0054921932, 0.022161983, -0.0521548428, -0.0001208758, 0.0053311079, -0.0698610768, -0.0012293083, 0.0169970728, 0.0029913355, 0.0124293379, 0.0905307084, 0.0029029245, -0.0032118373, -0.0124577451, 0.0006997644, 0.0172611773, 0.0106838625, -0.0113281589, -0.0656011626, 0.0276909787, 0.0404580534, 0.054952275, -0.0268701278, 0.0021168154, -0.0396813601, -0.0578956902, -0.0008904413, 0.0134361815, -0.0320211388, -0.0352835841, -0.0661783069, -0.0444931537, 0.0168360639, 0.0484186821, -0.0172300581, 0.0174007546, -0.0354395285, 0.0080899904, -0.094710283, -0.0323029868, -0.0043312069, -0.0355042852, 0.0995321497, -0.0019288289, 0.0594740286, -0.049773775, -0.0325711221, -0.0606168211, 0.0251046829, -0.0542236492, -0.0076609952, 0.054763101, 0.0471275635, -0.0107751051, 0.0034559683, 0.0217653699, 0.0544097796, -0.0054758452, 0.0313101336, 0.0168056972, -0.0108065382, 0.0005854135, 0.0145368734, 0.0395510048, -0.0018709785, 0.0615041554, -0.0161152165, -0.0311482176, 0.0187450498, -0.0196565241, 0.0515047647, -0.0133640077, -0.014293883, 0.009720047, -0.0293780789, -0.0809764639, -0.0195703916, 0.0021988507, -0.0604715496, 0.0350162573, 0.0606582165, 0.0413740873, 0.0366064683, -0.0105098793, -0.0003785577, -0.0305615738, -0.0365629569, 0.0483972654, -0.0022075449, 0.0454597138, 0.0200928599, 0.0091193113, -0.0055748504, 0.0148945609, -0.0377327614, -0.0650266483, 0.0489826351, -0.0223926697, 0.0106090261, 0.0846282244, -0.0401015915, -0.0422172397, 0.084982872, -0.0016670576, 0.0077575268, 0.0070835948, 0.1121200547, -0.0238480065, -0.0098227169, 0.0115517238, -0.0076518604, 0.0074347719, 0.0136083923, -0.0806554481, -0.069174163, -0.0198029764, -0.076907441, 0.0415735096, 0.0011686618, 0.0085786646, 0.0640877932, -0.0344324633, 0.0218655188, -0.0607332587, 0.0249247737, 0.0073681655, -0.0158796068, 0.0262095928, 0.0188057777, 0.0560701787, 0.0167303756, -0.0094177742, -0.0259371009, 0.004648088, 0.013267382, 0.0153797595, 0.0028501858, -0.048100777, 0.0614979789, -0.0374329016, 0.07114169, 0.0490577258, 0.027053345, -0.0217599925, -0.0288706496, -0.035079807, 0.0134153683, 0.0091555919, 0.0011312785, -0.0515579134, 0.0112401564, -0.0156571548, -0.0015985846, 0.0131127071, 0.0237547271, 0.0319771916, 0.0213705953, 0.0266188197, 0.0188118517, -0.0039689187, -0.0617687553, -0.0217550155, -0.0102559254, -0.0174575355, -0.0411880426, 0.0469503216, 0.0497163758, 0.007587472, 0.0184688065, -0.0399355851, -0.044241365, -0.0283644665, -0.0371692069, -0.0052083549, 0.0271620117, -0.039253328, -0.0532358848, 0.0199217964, -0.042766653, 0.008246392, -0.023870267, -0.0136800893, -0.027743835, -0.013483189, -0.0183971208, 0.0048625227, 0.0000022113, -0.0388288945, -0.0133142257, 0.0089140236, -0.0486685522, 0.0728710145, -4.243245876e-33, -0.0129922535, 0.031646084, -0.0238276422, -0.0232699253, -0.0006941778, 0.0030830144, 0.0325936601, 0.0158987027, -0.045770824, -0.02791664, -0.0247054566, -0.0083558634, -0.0076415371, 0.024398772, -0.0428234711, 0.0137664974, 0.0628781617, 0.0243929327, 0.0231969748, 0.0312971063, 0.0776708871, 0.0070392303, 0.0169624127, -0.0798861831, 0.0033096604, 0.0046821963, -0.0633632913, -0.0023472835, -0.0107846018, 0.0234009773, -0.0278168134, 0.0169960894, -0.0384455323, -0.0059623937, -0.0356925689, 0.0400500037, -0.0594154112, -0.0179934837, -0.0019217323, 0.0503342114, 0.0311027989, -0.0360497124, 0.0233819988, -0.0241263825, -0.0307546332, 0.0335818306, 0.010100726, -0.0170711204, -0.0031730754, -0.0067747599, 0.0280482825, 0.0009221319, -0.0181997381, 0.0240836553, 0.0589815192, 0.0647850931, 0.0348086394, -0.0725996047, -0.092437163, 0.0344750695, 0.0079070451, 0.0036740843, 0.0283429418, 0.0159608983, 0.031143209, 0.0271802824, 0.05532692, 0.001422332, 0.0438063182, -0.0093609132, 0.035702318, 0.002743298, 0.0766354725, 0.0619532913, -0.0293068178, -0.0774762407, -0.0692610368, 0.0126207611, 0.0192525722, -0.0690207183, 0.0385224111, 0.0362890437, -0.0351861119, -0.0338088796, -0.061903026, -0.0493669808, 0.0280940793, -0.0282647926, -0.005801036, -0.0170526542, -0.0176685844, -0.0343197845, 0.0805167109, -0.049402602, -0.0278550349, 0.0411989279, -0.008902018, 0.0099260174, 0.0036058256, 0.0377759039, 0.0066878228, -0.024436811, 0.0436735675, -0.0078734206, 0.0295052174, -0.0454802588, 0.0510250367, 0.0391322412, -0.076606825, -0.0210817568, 0.0011370451, 0.0308855381, 0.0040248982, -0.0070772483, 0.001574476, 0.0012928995, 0.0253025778, 0.0023683801, 0.0773025006, 0.0078402627, -0.0199879613, 0.025967693, -0.0112953465, 0.0176746529, -0.0137832463, -0.0058492669, -0.0029000703, 0.0531251281, 0.0919741169, -0.0107731195, 0.0217344947, -0.0612091497, 2.257e-7, -0.0718446299, -0.0290167015, -0.021356795, -0.0247747321, 0.027516786, 0.0586971529, 0.0521579422, 0.0216257069, -0.0131046437, 0.0275195036, -0.0327109843, -0.0371938683, 0.0566146821, 0.0898900628, -0.0834941939, -0.0222469736, -0.0366295949, -0.0023744253, -0.06468191, 0.0270213634, -0.0107161254, 0.1044595167, 0.0612865016, -0.0154301999, -0.0443451069, -0.025817927, 0.0090184929, -0.0266392212, -0.0837498233, -0.054633379, 0.0201078188, 0.0387699604, 0.040444795, -0.0035706279, -0.038548328, 0.0502769612, -0.0019988085, 0.054913722, 0.0273601096, 0.0068862736, -0.0041195592, -0.0250206534, -0.0535379015, 0.0165508315, 0.0171808023, 0.0540650226, -0.0351561122, -0.0083632814, -0.0220887624, -0.0236542039, 0.0793785676, -0.0280685611, -0.0026844258, 0.0216127001, 0.0010000591, -0.0005259037, 0.0156291015, -0.036106132, -0.0098811919, 0.0111680999, -0.0326000527, 0.0025971148, 0.0322065465, -0.0229052901, 0.0225989893, 0.0301987194, 0.0534128249, 1.663806413e-34, -0.0243486725, 0.0283983536, 0.0147781633, -0.0055048349, 0.044310566, -0.0315420851, 0.0438893549, 0.0067646271, 0.0570975579, -0.0191866122, -0.0243175253 ]
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
GraCoRe: Benchmarking Graph Comprehension and Complex Reasoning in Large Language Models: 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.0185215641, 0.0063206563, -0.015885029, 0.0654116496, -0.0539724045, 0.0238778722, -0.0125018209, -0.01561967, 0.0632304698, -0.0210612807, -0.0134845851, -0.0025190131, 0.0048316028, 0.0384399407, 0.0270379428, -0.0280175637, 0.0379156396, -0.0328780971, 0.0261773225, -0.0013233749, -0.0224085189, 0.0331828669, 0.0004349673, 0.0157756098, 0.0058393925, -0.0250289328, 0.0037640822, 0.0315900072, -0.0054999376, -0.053959623, -0.0569916181, 0.0122766532, 0.01601745, 0.0513384603, 0.0000019233, -0.0526035726, -0.0058906008, 0.0146615002, -0.0449782871, 0.0111036608, 0.0540402159, -0.0198619012, 0.0327556171, 0.0007817025, -0.0175518654, -0.0355097093, 0.0178134441, 0.0199026, 0.01675223, 0.0545427762, -0.0170381721, -0.0383072905, 0.0041127526, -0.0145631135, -0.0140847741, -0.0604383759, 0.0095603541, 0.0615715571, 0.0457888171, -0.0226489995, -0.0441466086, 0.0229888447, 0.036561802, -0.010759539, 0.0299768373, 0.0273154583, 0.0045864135, -0.0113295317, 0.0398863591, 0.0892340615, 0.0333732143, -0.013620493, -0.0103014242, -0.0068637957, -0.010581037, 0.0447279736, -0.0555990413, -0.0009176279, -0.0255132075, 0.0000340849, -0.0067227203, -0.055581592, 0.0744599178, -0.0091632726, -0.024015883, 0.1177141517, 0.0004646631, -0.0141275367, 0.0476999395, -0.0172943957, -0.0448686741, -0.0364339501, -0.0115340576, 0.0400844365, -0.0457466729, 0.0263296533, -0.0049071945, 0.0147597073, 0.0197885744, 0.003416094, 0.0596156865, 0.0194029137, 0.0167062301, 0.0701896474, -0.022932129, 0.0622190833, -0.0145587726, 0.0759958923, -0.0471294634, -0.0371754877, -0.0510964282, -0.0004025243, -0.0159886852, 0.0158555117, -0.0102190385, -0.054005444, -0.0379173644, 0.0283112954, -0.0025641825, 0.010968877, 0.0240474418, -0.0122182854, 0.0234449096, -0.0199662596, -0.0348626673, 0.0127135767, -0.0140826972, 0.0189784374, -0.0081821792, -0.0133312447, -0.0003674376, 0.0109528927, 0.0249089431, -0.044780992, 0.0036705511, 0.07861875, 0.0327456184, -0.0277638435, -0.0296469051, -0.0306498967, 0.0067738439, -0.0742232651, 0.0334439054, -0.0763494968, 0.0032987052, 0.0580852292, -0.0081357779, -0.024872046, 0.009009718, -0.0191854294, -0.0510222204, 0.0378652103, -0.0011731549, 0.0322176851, -0.0002583742, -0.0112441648, -0.0336331911, 0.0488115773, 0.0124342497, -0.0092000253, 0.0415153503, 0.0009928884, -0.0438613445, 0.0259406809, -0.0134016508, -0.0114238597, -0.0011175735, 0.0200401507, -0.0461111665, 0.0186406691, -0.0001077817, 0.0726967603, -0.0242923852, -0.0338467844, 0.0287273228, 0.045194637, 0.0139769427, -0.0647798255, 0.0322333276, 0.0150590753, 0.0142376367, 0.0068164733, -0.0668637455, 0.0142557686, 0.0028466817, 0.0380266011, -0.0097333193, -0.0350704007, 0.0174409319, -0.0302192047, -0.0472020991, 0.0134528112, 0.0693721622, 0.0224270187, 0.0669469014, 0.0071406425, -0.0441880971, 0.0101500815, 0.0307338629, -0.034486264, -0.0017848492, -0.0135505339, 0.0162481293, 0.0786372721, 0.0440672971, -0.0045645973, -0.0391915217, 0.0271268468, -0.0128083955, 0.0094970772, 0.0304820761, -0.008314508, 0.0013516317, -0.0527802296, -0.0319846421, -0.0537297763, 0.0012687438, -0.0062717739, 0.016471453, -0.0119177792, -0.0059316754, -0.110371016, -0.0374319218, 0.010096929, -0.0307557937, 0.0248512495, -0.0483698212, 0.0045835213, 0.0039955215, 0.0194727331, -0.0203904808, 0.0315778963, 0.0118018407, 0.0009116147, -0.0151578225, 0.0143139092, -0.0429431535, -0.032125134, 0.0476482734, -0.0382316634, -0.0649967492, 0.0452680737, -0.0186062455, -0.0409308076, 0.0358914398, -0.0536461547, 0.0312077738, -0.0180849936, 0.0037989803, -0.0292101018, -0.0115850354, 0.0078915851, 0.0708350837, 0.0033200486, 0.0388714559, 0.0168527495, 0.0351655409, 0.0123096146, -0.0385187156, 0.0102085825, 0.0313580036, -0.0021509728, -0.00873088, -0.0083060805, -0.0100556798, -0.076255478, 0.0261709988, -0.0874014273, 0.0047930339, -0.0089653656, 0.0217805356, 0.0232489128, -0.0183597878, -0.0009724436, 0.0028822289, -0.0214469116, 0.0446750671, 0.0121095497, 0.0272294916, 0.0093150297, -0.0274555832, -0.0238706898, -0.0112266745, -0.0521235429, -0.0460867137, 0.0745984912, 0.0372145846, -0.0018310182, 0.0314481258, 0.0460515358, -0.0380299315, -0.0027717918, -0.0185353179, 0.0084970556, 0.0282810181, -0.0136774722, 0.0376692079, 0.0447664224, -0.049047187, 0.0352493301, 0.0397033319, -0.0175595935, -0.006223002, -0.002353237, -0.0118242111, -0.0031601859, -0.0808698386, -0.0445588939, -0.053197898, 0.0405373797, 0.0035752363, 0.0015224994, -0.0113085397, -0.0122942943, -0.073692441, 0.0076014847, -0.0170138795, -0.0195180904, 0.0296035241, 0.0261996388, -0.074224174, -0.0130412849, 0.0898642242, -0.0297163762, -0.020621147, 0.0182950459, -0.0163646452, -0.0742360726, 0.1006216854, 0.0407578535, 0.011416669, -0.0140025783, -0.0350633487, -0.0546212085, -0.0143291568, 0.0755687431, -0.0187787302, 0.0358099081, -0.0160221439, 0.030521458, 0.0094241919, 0.0102450065, -0.0069722151, 0.0380926281, -0.0485338494, 0.0508411229, 0.0380279198, -0.0483564995, -0.0061949054, -0.0091717094, 0.0016533528, 0.000070072, -0.0129507817, 0.0049013011, -0.0235721003, 0.0277601406, 0.0306524802, 0.000311113, 0.0410184562, -0.0619549043, 0.0270556957, 0.027469499, 0.0011051355, -0.0343142301, -0.0133737717, 0.0212170202, -0.0063131438, -0.0100018159, -0.0108588478, -0.028898038, 0.0549411811, -0.0840150341, 0.0068179644, 0.0912469253, 0.0127454083, 0.0014746314, 0.0077536218, -0.0443773307, 0.0470215455, 0.0711857453, -0.0023105959, -0.0779190809, -0.0256985519, 0.0062007587, 0.0256102923, 0.0145787681, -0.0697711259, -0.0117681846, -0.105523549, 0.0285352468, -0.0030625199, -0.0260043088, -0.0166239161, -0.0688593164, -0.0123960134, 0.0059554731, 0.0104666092, -0.002924036, -0.0120270513, -0.0088507347, 0.0038550026, -0.0274928454, -0.0072777956, 0.0591984279, 0.0092286579, 0.0091802906, -0.0304601174, 0.0253298506, -0.0060002692, 0.0091631198, 0.083050251, 0.024174545, -0.0045920489, -0.0172094367, 0.029202193, 0.0287362058, -0.0055132769, -0.0493905954, -0.0109615829, -0.0184554644, -0.0164984912, -0.0275755748, 0.1012542918, 0.0189664457, -0.0574927777, -0.0076983385, -0.001148477, -0.0474491753, 0.0473531373, 0.0481449403, 0.0510468334, -0.0838213265, -0.0389131829, -0.0124385934, -0.0618978739, -0.0271248613, 0.0685117692, 0.0159082152, 0.0079385061, -0.0036132429, -0.0527933091, 0.0432151407, -0.0244162027, -0.0274888072, 0.0260394458, 0.0435013101, -0.0474085882, -0.0849275067, 0.0307792779, -0.028075425, 0.0481702425, -0.020099882, -0.0110965902, -0.0200880654, 0.0219201222, -0.0236780364, 0.0269766711, -0.0493562222, -0.0749551877, -0.0295995418, -0.0317038745, 0.0222147759, 0.0392573513, -0.0170003604, -0.0415819176, 0.0115760062, -0.0173171032, -0.0319484472, 0.0154557563, 0.0252952594, -0.0169210546, 0.0036033699, 0.0480532758, -0.047590889, 0.015549087, 0.0120354965, 0.0614724308, 0.0140694631, -0.011998388, 0.0077268486, 0.0756299049, -0.0007666105, 0.0322626382, -0.0071299607, -0.0556933694, -0.0008919641, -0.052371677, -0.0168171786, -0.0125209987, -0.0186684318, 0.0432323143, -0.0184730589, 0.0127130682, -0.0365602858, 0.0048489957, 0.0380077548, -0.0141377617, 0.0271152146, 0.0069037089, -0.0363784097, 0.0409028381, -0.0112735173, -0.0147956442, -0.0017975798, -0.0174225066, 0.0294161644, 0.0101448847, 0.0353157744, 0.0199663546, -0.0301927123, -0.0324659087, -0.0272510741, -0.0612955652, -0.0567661934, 0.0663773268, 0.0053359377, 0.0477711894, 0.0216187239, 0.067274034, -0.0080334619, 0.0010191827, -0.0280623436, 0.0429656357, -0.0045857886, -0.0647361279, 0.0356223769, 0.0431634039, 0.0027799944, 0.0268623494, 0.0503341444, 0.0738637671, 0.0271994248, 0.0078026932, -0.0239507463, -0.0228037722, -0.0488485768, -0.025069749, 0.0342188478, -0.0236187205, 0.0304706525, -0.0726167411, -0.1226895601, 0.003344585, 0.0285281874, 0.0043466357, -0.0134663144, 0.0100742429, 0.030631423, 0.0136638246, -0.0432353839, -0.0387395285, 0.0231610015, -0.0353776291, -0.0038734474, 0.0200007111, -6.219509753e-33, 0.0020526254, -0.0746876821, 0.0379298218, -0.0226381812, -0.0301551893, 0.0093943495, -0.0851143003, 0.0070346659, -0.0510216206, 0.0424523056, -0.0002277007, 0.0322972983, -0.0030272268, 0.0198084805, -0.032921955, -0.0063355076, 0.0033215147, 0.0384083167, -0.0150302202, 0.0289576147, 0.049991481, 0.0205309168, 0.0358015113, -0.0498354845, 0.0148458444, -0.0108011765, 0.0232779272, 0.0166067705, -0.0248458199, 0.0663780496, -0.0003010911, 0.0424908549, 0.0557718836, -0.0038416367, -0.0101688039, 0.0014833005, -0.080471091, -0.0302875042, 0.0606747828, 0.0132555543, -0.0718176588, -0.0189645421, 0.044746425, 0.0162566435, 0.0117021501, -0.0703623295, 0.036067564, 0.0095865969, -0.0316833146, 0.0340040028, -0.0446631648, 0.0340000056, -0.0215818174, 0.0080838408, 0.0101164859, 0.016019078, -0.0168757662, 0.0298864897, -0.0327426083, 0.0065260315, -0.0567909442, -0.0012582641, 0.0516237989, 0.0265673772, 0.0185520966, 0.0315912776, 0.0028659797, 0.0137716429, -0.0232444722, 0.0104091018, 0.0161280483, 0.0931279585, -0.0022715447, -0.0055360254, -0.0243150089, -0.0121969767, -0.1051971614, -0.0211842153, -0.0039480678, 0.0615276061, 0.0080730133, 0.0223882869, -0.0104165738, -0.0462982282, -0.0623250306, -0.001546195, -0.0470156372, -0.0004152911, 0.0259379558, -0.0489363596, -0.0008301048, -0.0073733912, 0.0065265708, -0.0630968288, -0.0346270613, 0.0765384957, -0.0213699359, 0.0528304912, -0.0250126738, 0.0785335675, -0.0318796858, -0.0243316889, -0.0018137451, 0.0043131569, 0.0297351796, -0.0056385235, 0.0405318923, -0.0032997082, -0.0155428415, -0.0111810472, -0.0620811582, -0.0176494289, -0.0407652892, -0.0081631178, 0.049577225, 0.0490128659, 0.0019895672, 0.0535752214, 0.035499189, 0.0322682709, -0.0393332392, 0.0356581546, -0.0215965882, 0.0097219683, -0.0204617362, -0.0120666642, -0.0408440828, 0.0277595911, 0.0318052992, -0.0324983113, -0.009777477, -0.0010739544, 2.67e-7, 0.0736518055, 0.0709558278, 0.0235885195, 0.0652432367, 0.0109388661, 0.0145206535, -0.0464042015, -0.0029011227, 0.0057132067, -0.0213299226, -0.0007971877, 0.0601268969, 0.0044631506, 0.0344894454, -0.0318550505, 0.0376313254, -0.0583418831, -0.0355595946, -0.0380324237, 0.0450608805, 0.0598951429, 0.0338473581, 0.0155465119, -0.0062338999, -0.0359261893, -0.0722324327, 0.036018271, -0.0091778021, 0.0009612926, -0.007383103, -0.0037115824, 0.0148769012, 0.0189287476, 0.0329340324, 0.0133127589, 0.0107488604, 0.0031014686, 0.03697294, -0.0112519776, 0.0064480198, -0.00371071, -0.0514076613, 0.0129856328, -0.054907538, 0.0770672783, -0.0421242416, -0.0808946639, 0.0012771935, -0.0316523947, -0.0145602096, 0.0093675852, 0.0135153309, -0.0209461767, 0.0098795006, 0.0148855317, -0.0419851393, 0.0224405844, -0.0365285352, 0.0038470302, 0.0362462662, -0.0173043795, -0.0455658659, -0.0232177023, 0.0341230556, 0.041070506, -0.010944562, -0.0014386135, 2.446651672e-34, 0.0451496467, 0.0021773996, 0.0182960983, -0.0260402579, 0.0538848564, -0.0595168993, -0.0289233271, 0.0284080822, 0.0033520672, -0.1056405231, -0.007180715 ]
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.
Towards Negotiative Dialogue for the Talkamatic Dialogue Manager: 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.0775254667, 0.0038843253, -0.0276087616, 0.0415898487, -0.0320961438, -0.0215825774, 0.0395791419, -0.0077336426, -0.0338763259, 0.0035169721, -0.0474193282, 0.0270981602, 0.0149340602, 0.0601093955, -0.0007228813, -0.1051040664, 0.0344150104, -0.0129285511, 0.0532537475, 0.0235492736, 0.0636801645, 0.0079817493, -0.0655730739, 0.0253328159, -0.0393568724, -0.019754298, -0.0316668563, -0.012747963, 0.0031951379, -0.0274307262, -0.0327717252, 0.0209656246, -0.0127034886, -0.0063298978, 0.000001779, -0.0564933121, 0.007637423, -0.0169864465, -0.0229583103, -0.0191666093, 0.0413428023, 0.0350859426, 0.0059399609, 0.0416179597, -0.0235541165, 0.0252769645, 0.0285107978, 0.1059023067, 0.0755905882, 0.0290258285, -0.0168156326, 0.0352351218, -0.005867905, -0.0000685252, -0.0017838435, -0.0537334569, -0.0187904406, -0.0086847832, 0.0175764151, 0.0093752854, 0.0231992975, 0.007394698, -0.0170319658, -0.0454428755, -0.065253377, 0.0158675257, -0.0412838832, -0.0369323008, -0.0138044264, 0.0346642323, 0.0912859067, 0.0393147618, 0.0259090476, 0.0186673682, 0.016015077, -0.0220679007, -0.0572747141, -0.0092135565, -0.0393757969, -0.031665083, -0.0304163024, 0.0126303174, -0.0361103714, 0.0019562575, 0.0008253076, 0.0416778401, -0.0145031456, -0.0064524827, 0.0154665979, -0.0303732101, 0.0372179374, -0.0575760603, 0.0095806597, 0.0425241925, -0.1119704992, 0.021107683, -0.0032548602, 0.0231615659, 0.007659643, -0.0425129086, -0.0214048792, 0.0228995457, -0.0127389217, 0.0116005307, 0.0366632976, 0.0111370953, 0.0164754372, -0.0634739846, 0.0278201178, -0.0068837185, 0.0005173639, -0.025923999, -0.0857514814, 0.0342355594, -0.0090272967, -0.0270515531, 0.0043886988, 0.0743968934, -0.0120737636, 0.0285563711, -0.0299412813, 0.0109711662, -0.0315412953, 0.0219592471, -0.0740352273, -0.0204609185, -0.0439230949, 0.0107100718, 0.0162852183, -0.0594030768, 0.0250520725, 0.0127008371, -0.0086578187, 0.0263257921, -0.0233503543, 0.0455429144, -0.0488917679, 0.0172796398, -0.0146968253, -0.015447584, 0.0114385141, -0.0371024273, -0.0380520225, -0.0181207154, 0.0279696248, -0.0037377414, -0.0428044461, -0.0197265521, 0.0430422723, 0.0106892837, 0.039436128, 0.0226782188, -0.027147403, 0.0019313565, 0.089595452, 0.0413333066, -0.0234129522, 0.0204439647, 0.0107735042, -0.0162506942, 0.0238489863, -0.0083544543, 0.0359704792, 0.0094642565, -0.0100177955, 0.0026552696, 0.0318282843, 0.0085040955, -0.0410599522, 0.0105213746, -0.0489201359, 0.0566936694, -0.0410833769, 0.0253090765, 0.0326392166, 0.0300239008, 0.0147555666, -0.002344063, -0.0192492492, 0.0332706943, -0.0030354008, 0.0018634495, 0.0077821994, 0.0527377538, 0.0118656904, -0.0023298569, 0.0251113921, -0.011333623, -0.0299979281, -0.0338879451, 0.0537830777, 0.0234916788, 0.020093441, 0.0013937321, -0.009807826, -0.0122900894, -0.0363907218, 0.0374413766, -0.0194745269, -0.0073447274, -0.0589564964, -0.0056036692, 0.0040175212, 0.0358820297, 0.0239146873, -0.0006388874, -0.0729704499, -0.0303552449, -0.0496123098, 0.0907832161, 0.0419927128, -0.013729577, -0.0313249938, -0.0376521163, -0.0017889616, -0.0073633706, -0.005303056, 0.031306535, -0.0462388098, 0.0340365805, 0.0086437827, 0.0775931627, 0.0716557428, -0.0294753946, 0.0849191621, -0.0095193032, -0.0054826094, 0.0029284817, 0.0393294618, 0.0253868029, -0.0211139489, -0.010749015, 0.0062971693, 0.0201229379, 0.0119777247, 0.0604889728, -0.0649484992, -0.0034622683, 0.0260806046, 0.0047903256, -0.002905326, -0.0331771225, 0.0013654301, -0.056424398, 0.0372333638, -0.0211903024, 0.0004478823, -0.0315822177, 0.0628976673, 0.0157789327, 0.0155684976, 0.0331858322, -0.0209874604, 0.0175840911, -0.0268784221, 0.0423118286, 0.0085374461, 0.0215585958, -0.0336655378, 0.0148807215, 0.0328148305, -0.0054070554, 0.0024726118, -0.0304878298, -0.0219604112, -0.0086677801, -0.0060849916, -0.0961433053, -0.01484448, 0.0117275408, 0.0032795214, -0.0312224682, 0.00449717, -0.0146908453, -0.0201551579, -0.0510387979, 0.0458116904, 0.0932836384, -0.0304524712, 0.0427215174, 0.021291161, -0.0377335735, -0.0378001593, 0.0234203134, 0.0032894441, -0.0234254804, -0.0067592757, -0.0815043598, -0.0553126931, 0.0329827741, -0.0567964204, 0.0274995398, -0.0056523243, -0.0305605773, 0.0519781597, 0.0386110991, 0.0240650848, 0.0080528362, 0.0211391039, 0.0425236896, -0.0200809985, -0.0474205352, -0.0412052162, 0.0238537937, 0.0211450718, 0.0333644338, -0.0170623977, -0.018723473, 0.0414426513, 0.0310151242, -0.0066623245, 0.055860281, 0.0254695192, 0.0331201963, 0.0272704512, 0.004433196, 0.0380031765, -0.0261025149, -0.0398564413, 0.0746472627, -0.0047814078, -0.0068130973, 0.0238923859, -0.0477663949, -0.0397474058, -0.0269222781, -0.0383442305, -0.0492399707, 0.0463706963, -0.1088725999, -0.0129657052, 0.0665246397, -0.079777129, 0.0062943934, -0.0914803743, 0.0263913628, -0.0060220887, 0.0344168134, -0.0597013198, -0.0109618669, -0.0091350945, -0.0012768395, -0.0378611609, 0.0176863745, -0.0316660926, 0.0033943704, 0.0449005291, 0.010584943, -0.0713856816, 0.0191849116, 0.0074176434, 0.0268574171, 0.033961121, -0.0068304855, -0.00580703, -0.0561047345, 0.0185451265, 0.0389373749, -0.044361528, 0.0355400667, 0.0459163114, 0.0431632772, -0.0385490879, -0.0317227207, 0.0235360693, -0.0339058191, 0.0096237073, -0.0039628916, -0.0354874618, -0.0107661737, -0.0217892639, -0.0307028424, 0.0211378038, 0.0499582924, 0.009757963, -0.0060019358, -0.0098387152, -0.0798278153, -0.0092177344, -0.0015823501, 0.0256682318, -0.0967903212, 0.0328125656, -0.0437218659, 0.0149346013, -0.0280642454, -0.0260664038, 0.0038525236, -0.0287159458, 0.048960533, -0.0035859249, -0.0281618498, 0.0414715968, 0.0576549917, 0.0099396296, 0.0554400533, 0.0546296798, 0.0082562147, 0.033291433, -0.0377554484, 0.0157105792, -0.0163176991, 0.0547799431, 0.0298578534, -0.0054713576, 0.0307287872, 0.0357460342, 0.0531994738, 0.0348272026, -0.0102850627, 0.0046214331, 0.0420246944, 0.0355201773, -0.0209832136, -0.0147627257, -0.0032145204, -0.006053797, -0.0299442839, 0.0258409474, 0.0324457586, 0.0077670985, 0.0710909441, 0.0120863747, -0.0675541237, 0.0103175379, -0.0109820338, 0.0740418285, 0.0055837384, -0.0088730799, 0.0174512118, -0.0144772604, -0.0466057584, -0.0029425167, -0.0263622887, 0.0300053861, -0.0058900607, -0.0340788737, 0.0223827381, -0.0183629431, -0.0517292283, -0.057543844, 0.040749941, 0.0613651127, -0.0082348669, -0.0010418203, -0.0218297672, 0.0261445511, 0.0431811325, -0.0314351879, 0.0218391046, -0.0036894341, -0.0259464905, 0.010818081, 0.0286433231, -0.0199661311, -0.00302461, -0.0072333296, 0.0229214206, -0.0383350402, -0.0695625246, 0.0504225269, 0.0321949683, 0.0273794662, 0.0306697283, -0.0283368398, -0.0472089984, 0.0037607469, -0.0052646403, -0.0178222843, 0.0244076326, 0.0780091956, -0.0064357505, 0.0021349096, -0.0269541014, -0.0059903767, -0.0673846155, 0.0125740319, -0.0350039527, -0.055384025, -0.0120974695, -0.0019577849, 0.0047109472, 0.0481816903, 0.0268330425, -0.0308856424, 0.0587927997, -0.0163608622, -0.0252961237, -0.0258729085, 0.009965363, -0.0542887002, -0.0280941986, 0.059149541, -0.0556340516, -0.0895582139, 0.0393622369, 0.062322706, 0.0190172531, 0.009920476, -0.0368300006, -0.0213502478, -0.0113693383, -0.020065615, 0.0188600738, 0.0289722644, 0.0469110534, 0.0033864912, 0.1056955531, -0.0116359293, -0.0247515105, 0.0248603467, 0.0087248394, -0.007013842, -0.0581026636, 0.0432665274, 0.0319465771, 0.0009689652, 0.0671842024, -0.002033357, -0.0464786589, 0.0427603796, 0.0259524751, 0.0326852761, -0.0102465153, -0.0317406692, 0.037869826, -0.0017603603, 0.0010450511, -0.0105666453, 0.001754393, -0.0882389173, 0.0047170646, -0.0101756761, -0.0119782733, -0.0820280984, -0.0143279154, -0.0103501892, 0.0085272351, 0.0068735145, -0.0231517721, -0.0501263589, 0.00987403, 0.0234287679, 0.0052424376, -0.0114990305, -0.0590794422, 0.0203406792, 0.0209463723, 0.0415631533, -0.0059573809, -0.026667593, -0.0028443106, -0.0189141631, 0.0210686252, -0.0352622755, -5.326516083e-33, -0.0428187288, -0.0249838755, 0.027955886, 0.0928042457, -0.0548356026, -0.0719822571, -0.0333686769, 0.0489474125, -0.0193761047, -0.0064825551, -0.0412374623, -0.0001016293, 0.0193173569, -0.0217184555, -0.0176138543, 0.0019459783, 0.0429302603, 0.0038752935, -0.0315744169, 0.0480615683, 0.016081173, -0.0066152099, 0.0258957334, -0.1004194841, 0.0391398482, 0.0046249642, 0.0031189185, 0.0365975164, 0.0203475766, 0.0148034682, 0.0291343369, 0.0037567727, -0.0132295638, 0.0021762066, -0.0192825086, 0.0232930686, -0.0185120665, -0.0374774486, 0.0362571105, 0.0428857952, -0.030055061, -0.0046794033, -0.0354036912, 0.0069706058, 0.003687796, 0.0469398089, -0.0273473058, 0.0123751387, -0.0488198139, 0.0300100669, -0.0722128302, 0.0135436282, -0.033099521, -0.0579175018, 0.0027523416, 0.0291891359, -0.0040370873, -0.1137867719, -0.0048135049, 0.0233607236, 0.0416019559, -0.0410491824, 0.0341173783, 0.0013015859, 0.0040752371, 0.0305208024, 0.0367435664, 0.0590362214, -0.0080182198, -0.0468031019, -0.0348606557, 0.0819981173, 0.0185021348, 0.0079125743, -0.0790276825, 0.003370835, 0.0380834453, 0.0246763621, 0.0723064691, 0.054084342, 0.008522993, 0.0334192738, 0.0039279289, -0.0350767523, -0.0210073534, 0.0140341222, -0.0378364734, -0.0765253231, 0.0359861255, -0.0017190081, 0.0266600233, 0.0110035948, 0.0243274346, 0.0088474033, 0.0276623648, 0.0086405706, 0.0095366351, 0.0142779006, -0.0390561782, -0.046377793, -0.0052024731, 0.0015505516, 0.0164087303, 0.0266237855, 0.0471403748, 0.0146797309, -0.0604337342, -0.0142061645, -0.0323032476, 0.0210937206, 0.0025029082, 0.0626976267, -0.0435291976, -0.0169843417, -0.0429797471, -0.0462587997, -0.0279849637, 0.0528586768, -0.0322440416, -0.0812591687, -0.0825979859, 0.0206238851, 0.0018225687, 0.0035366651, -0.0428327061, -0.0032578476, -0.0110306069, -0.0358910896, 0.0356708243, -0.003700156, 0.0137189077, -0.0491190031, 2.447e-7, -0.0398752615, 0.0411302671, 0.0170920119, 0.0577553697, 0.0308561884, 0.0451014787, 0.0091080731, 0.0201904997, 0.0538835786, -0.0038992115, 0.0332100391, -0.0240112934, 0.0445485823, 0.0454080254, -0.0596750118, -0.0695883408, -0.0552514754, -0.0621648096, -0.0376927853, 0.004472496, 0.0981223881, 0.0041453796, -0.023118956, 0.0088437758, -0.0137489066, -0.0081220306, 0.0095210988, -0.0302618239, -0.0037598873, 0.0293232668, 0.0364594795, -0.0406230837, 0.0146227591, 0.0103545124, 0.0185295269, 0.016784396, -0.0127650211, 0.0715502575, 0.0013528209, -0.0509774983, 0.0136474809, -0.0188496709, -0.0100582577, -0.0243183561, -0.015100752, -0.0323779508, -0.0523597486, -0.0020284683, -0.0122950822, -0.0684350803, 0.0045007351, -0.0209382195, 0.0023653393, -0.0057940772, -0.0316210985, 0.0027062367, -0.0062012756, -0.0176462531, 0.0174617358, 0.0100938119, -0.0178597327, -0.0438045263, -0.0001269715, -0.0469669029, -0.0179207027, 0.0143709173, 0.0095835179, 1.335433444e-34, 0.0182807166, 0.0033236027, -0.0007215607, 0.1032962874, 0.0265336037, 0.0526761711, 0.0630261898, 0.034667436, 0.0561956316, -0.0328055248, -0.0280411448 ]
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.
Translatotron-V(ison): An End-to-End Model for In-Image Machine Translation: 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.0170067623, 0.0343279056, 0.0254092496, 0.0463785976, -0.0408241265, 0.0110291438, 0.0175918266, 0.0036172427, -0.0553651266, 0.0171180423, -0.018130295, -0.0428910479, 0.0376627222, 0.006188754, 0.0354570374, -0.0677490383, -0.0050459024, -0.0101967761, -0.0428958349, -0.0010822759, 0.0040495726, 0.0054450775, 0.0467436872, 0.0112694576, -0.0170680713, 0.0009266488, -0.0057148598, 0.0809481516, 0.049721919, -0.0233748164, -0.0379696414, 0.0221626014, 0.0273443684, 0.0615081862, 0.0000021166, 0.0232439972, -0.018136045, 0.0234021097, 0.0455219299, 0.012698818, 0.0683616623, -0.1020415649, -0.0387957618, 0.0027804924, 0.0087357117, -0.0049459292, 0.1046784669, 0.0144100804, 0.0438191146, 0.0684093758, -0.0355096869, -0.031420134, -0.0139829684, -0.0562691279, 0.0082563618, -0.036197897, -0.0156924538, -0.0033401074, -0.068510592, 0.0274733845, -0.0376480669, 0.0667980462, 0.0299284793, 0.0032063231, 0.0194251575, 0.0067432784, 0.0096368445, -0.0517112464, -0.0299040396, 0.0444371551, -0.0662864149, -0.004286821, -0.0324469544, 0.0073861904, -0.0172610115, -0.0360877849, -0.0321377665, 0.0053418847, -0.0071654413, 0.008489293, -0.0456976555, 0.0382004306, 0.0129299136, -0.0335223526, -0.0543877147, -0.0479251035, 0.0321891159, -0.0145846214, -0.0644022599, 0.0395585932, -0.0051418934, -0.0227343384, 0.0543636531, -0.0138454475, 0.0102320183, 0.0075601293, -0.0260917209, -0.0282506328, -0.0036216446, -0.0272804908, 0.0278101396, 0.0526602007, -0.0361876041, 0.064200826, -0.0584789477, 0.0814007819, -0.0429920889, 0.03192522, -0.0774197802, -0.0417438485, -0.0248560216, 0.0187077429, -0.0212085787, -0.0746900514, -0.0223091673, -0.0287189335, -0.0309055485, 0.0040176124, 0.0413967557, 0.0159945823, 0.0117843281, -0.0113441925, -0.0873662755, -0.0406639092, 0.0028683161, 0.0635600984, 0.0295455139, -0.0277520679, -0.0073650507, -0.0104564233, -0.0234288089, 0.0299786199, 0.0284755901, -0.0030329088, -0.0100850975, 0.0900655538, -0.044793833, -0.0332728885, 0.0080904765, 0.0390020534, -0.0224630199, -0.0617530011, 0.0153987547, -0.0503866188, 0.0441641584, 0.0002115, 0.0043594968, -0.0281963348, 0.0105042597, 0.00880225, 0.0037824276, 0.0671903566, 0.0224655736, -0.0080431718, 0.042245768, -0.0084510138, 0.0160530154, 0.0548315421, 0.0327204689, 0.0871056989, 0.0170801841, 0.0014125395, -0.0191367883, 0.0894355848, 0.0113225533, 0.0307946671, -0.050098896, -0.002328123, 0.0317187645, 0.0101627698, 0.026430415, 0.0632169619, -0.019048458, 0.0447837748, 0.0928979814, -0.008341426, 0.0014663629, 0.0193129014, 0.037734665, 0.0313246958, -0.0503284894, -0.0283199027, -0.0147168245, 0.0612888522, 0.0194934774, 0.0152795808, 0.013866826, 0.0562994592, -0.0235465169, -0.0396745875, -0.0020394069, -0.0131677417, 0.0237579122, -0.0326334424, 0.0732556507, 0.0214522369, -0.0832545087, 0.0376427583, -0.0192705709, -0.0390765518, 0.0093393279, -0.0096351225, -0.0212014075, 0.0510046482, 0.0367609188, 0.0257081315, 0.0031978081, 0.0014802001, 0.0175730698, 0.0975640044, -0.0099656852, 0.0244057104, 0.0249905512, -0.066322796, -0.0436548255, 0.0473638363, -0.0118624512, 0.0353404135, 0.0073838318, 0.0209169239, 0.0111740269, -0.0402745977, -0.0455026925, 0.0458809137, 0.022239821, -0.0025750489, -0.0016408671, 0.0420995057, 0.0190523304, -0.0104440227, -0.0025574646, -0.0199228097, 0.0178561155, -0.045492135, 0.0098305941, 0.0151507389, -0.0420989245, -0.0547910109, 0.0319998525, -0.0631896779, -0.0149120167, -0.0200452283, -0.0368357524, -0.030471826, -0.0016139422, -0.0629683584, -0.0160723869, -0.0212837327, 0.0330000743, -0.009017162, -0.0028675508, -0.0369408801, 0.0267428998, -0.0368465111, -0.0207923017, 0.0290627331, -0.0318632461, 0.0074048443, 0.0082848845, -0.0158613846, 0.0167692769, 0.029239269, 0.0057561449, 0.0217379462, 0.0212260913, -0.0096280575, -0.0405935869, -0.0610443056, 0.0059966412, -0.0195720214, 0.0165560469, 0.0127977347, 0.0319634937, 0.0259108134, -0.0472730286, -0.02700519, 0.0394027866, 0.0028584937, -0.0100094983, 0.0342072956, 0.0082453592, -0.0122160455, -0.0073417183, 0.0018430604, 0.0469424166, 0.0336364135, -0.0013648575, -0.031114351, -0.0696026832, 0.0190919098, 0.009580276, 0.004882792, -0.0137055358, -0.0629587695, -0.0139901815, -0.0013877961, 0.0161896888, 0.0539907552, 0.0152148493, -0.0264755748, -0.0192240328, 0.0029641341, -0.0333460942, -0.0128652379, -0.009729919, -0.026193656, -0.0080783535, -0.0585779697, -0.0295624696, 0.0333824679, -0.0174564663, 0.0622470453, -0.0624260753, -0.030307943, -0.0067293667, -0.0034887341, -0.0263514835, 0.0211486518, 0.0199552011, 0.0422364883, -0.0642044842, -0.0782038942, 0.0432504974, -0.0630814284, -0.0389839858, -0.0099727865, 0.0127825299, -0.024723107, 0.0463988148, 0.0225240402, 0.041743096, -0.0203899294, -0.0098700663, -0.0449723452, 0.0009736601, 0.0204399731, -0.0080078738, 0.0268939491, -0.0392436869, -0.0138001498, -0.0243031401, -0.0201308914, -0.00026493, 0.0297136847, 0.0157046951, -0.0207256973, -0.0351539962, -0.0310795717, -0.0420619845, 0.0237481389, 0.0243621171, 0.0227713771, 0.004149429, 0.0013400159, -0.020703828, 0.0247787535, -0.0073021627, -0.0220374223, -0.037339624, -0.0676227584, 0.0152045861, 0.0428610817, -0.0352456495, -0.0234840699, -0.063767381, -0.0123974094, 0.0363536775, 0.073858425, -0.0055946484, -0.0119749559, 0.0656669065, -0.0661350116, -0.0080421558, 0.0539860576, -0.0047033555, -0.0307074301, -0.038644433, 0.016731713, 0.0634818003, 0.0018986325, -0.0071833804, -0.0701335818, -0.0260378253, -0.0056075021, -0.0090029147, 0.0447462015, 0.0506516099, -0.0119327065, -0.0672087297, 0.0387965292, 0.0760060325, -0.0427292362, -0.0889040083, 0.0199062936, -0.0432030372, -0.0285048652, -0.0015199293, 0.0025939818, 0.018310966, -0.0106913149, 0.0070871674, 0.0140500385, -0.0283101853, -0.0392142832, -0.0429928526, -0.0361492671, 0.1012466922, 0.0343018398, 0.0112733273, -0.0385982841, 0.01849363, 0.0131447921, 0.0285271611, -0.0085674375, 0.0365148671, 0.0077224225, -0.0319867432, 0.0210014861, 0.020073412, -0.030073598, 0.0245381854, 0.0303426478, 0.0280805472, 0.0246064644, 0.0345659405, 0.0089736842, -0.0400464498, 0.0097579593, 0.0022710781, -0.0072080446, -0.0402026288, -0.036323376, -0.0372026861, 0.0050123963, -0.065140076, -0.0050701778, -0.0148106115, -0.0493807197, -0.0735476464, -0.0741767064, -0.0348248407, 0.0085105356, 0.0602427162, -0.0191629902, -0.0178350452, -0.0165056996, 0.0282880235, -0.0437396578, 0.04326915, -0.0374417752, 0.0211277176, -0.0278384853, 0.0315514207, -0.0060448754, -0.0483021773, 0.0079699783, 0.0398214981, -0.0649211705, -0.0444632769, -0.0372027494, 0.0530623458, 0.0123779802, 0.086091727, -0.0070570041, 0.0076110973, 0.057614889, -0.0206161588, 0.0148825869, -0.0181779619, 0.0168346949, -0.045687452, -0.0356276892, 0.0229813885, -0.0253738035, 0.0248607062, 0.0146704745, 0.0043112733, -0.014788094, -0.0196911041, 0.0323285311, -0.0244251676, 0.0319624208, -0.0584939457, -0.0172485691, -0.0161779914, 0.0198382735, 0.0059628934, -0.0149687855, -0.0566728115, -0.0087073203, 0.058500763, 0.0037445459, 0.0189143885, 0.000226488, 0.0375740342, -0.0448044278, 0.0286289342, 0.0127954539, -0.0446805917, 0.0359564945, 0.0337887369, 0.0339554213, 0.0049478654, 0.0073725148, 0.0046618218, 0.0222264472, -0.0331176817, 0.0392572992, 0.0281982813, 0.0339332186, 0.0012423503, 0.0584716722, 0.0191720035, 0.0209756382, -0.0833908617, 0.0005242467, 0.0879184753, 0.0141952941, 0.1039368957, 0.000989529, -0.0184612386, -0.0149031365, 0.0505478233, -0.0047235587, -0.0443648659, -0.0051381215, -0.0258680396, 0.0138354246, 0.0053156754, 0.032176856, -0.0066142925, -0.0020839071, -0.0463590473, -0.0150428629, -0.041862417, 0.0241439454, -0.0042681755, -0.0714670271, 0.0001304634, -0.0005865133, 0.0216612071, -0.0388589129, 0.0141033437, 0.0395010263, -0.0244470984, -0.001950741, 0.0319950953, 0.0583148077, -0.0111148739, 0.0191148371, -0.0073500769, -0.0449374095, 0.0210091118, -0.0088101448, -0.0117862262, -5.741637872e-33, -0.045395501, -0.0073934579, 0.0291560404, -0.0348857939, -0.050220672, 0.0023243167, -0.0303477384, -0.0089350305, 0.0105852289, 0.0048345746, 0.0289746672, -0.0163416136, 0.0290379748, 0.0336013734, 0.0169795509, 0.0519071072, 0.0633253977, 0.0036627783, -0.0228347052, 0.0113883028, 0.0057929624, 0.0112067768, 0.051394023, -0.0529149249, -0.0235352293, -0.016070189, -0.0185466409, -0.008463176, 0.035218142, 0.0043618302, 0.0150018064, 0.0014176429, -0.0042091436, -0.0249265768, -0.0230149757, 0.0099190697, -0.0769576952, 0.0352742933, -0.0286344178, 0.0767865255, -0.0512149632, -0.0518216304, 0.0469434001, -0.0456418805, -0.0076634418, -0.0600985847, 0.0279033184, -0.0672846809, -0.0085186213, 0.0120552899, -0.0646421239, 0.0405911542, -0.0134535395, -0.0230348948, 0.0563185699, 0.0608090572, 0.0315978006, 0.0157088339, -0.0794345811, 0.0006279233, -0.0258185249, 0.0552959852, 0.1037091091, 0.0276502613, -0.0081184981, -0.0048349309, 0.0498449355, -0.0239965655, 0.0421965346, 0.0065656365, 0.0171077382, 0.0191477332, 0.1002696157, 0.0347569436, 0.0248059444, -0.0156438258, -0.0587630421, 0.0434518494, -0.0383564569, 0.0356418006, 0.0124954144, 0.0371179692, 0.0007910562, 0.0109627796, -0.0113316877, -0.0646281168, -0.0156482458, -0.0632784218, 0.0204885472, 0.0586536005, -0.005187849, 0.0064315191, 0.0955847502, 0.001064854, 0.0292841401, -0.0038555211, -0.020568097, 0.0629279837, -0.0276424419, 0.0262196902, -0.0191603377, -0.0414340049, 0.0207035057, 0.0352828652, -0.0173482168, -0.0041232291, 0.0574664697, 0.0391464382, -0.0374713466, 0.0122857299, -0.0510726348, -0.0259413794, -0.0112167066, 0.0436446294, 0.0187546164, -0.0205385052, -0.0311442744, 0.0288877431, -0.0261826124, -0.0114856446, -0.019580761, -0.033462707, 0.0284495372, 0.019452475, -0.0433278084, 0.0268487353, -0.0469962656, -0.0050188601, 0.0311599765, -0.0317089111, -0.0376265794, 0.0312256664, 2.653e-7, 0.0563251823, 0.0560145713, 0.0476697609, -0.0063482048, 0.0028537775, 0.0294485204, -0.0597048178, -0.0095399152, 0.0213709418, -0.0084439404, 0.0409028865, 0.0073906761, 0.0834411383, -0.0020039638, -0.0544860475, 0.0123392828, -0.0315831788, 0.0169131346, -0.0124162463, 0.02656563, 0.0360142216, 0.1129746884, -0.0498881601, -0.0237948634, 0.0240906104, -0.0114643378, 0.0711057335, -0.0090759639, -0.0179317016, -0.016656898, -0.0308698602, 0.0173959285, -0.0696043596, 0.0019697479, -0.0133223422, 0.0032196902, 0.0561200157, 0.0416817963, -0.0421290174, 0.0146439001, 0.0058860458, 0.0151267415, -0.0511926822, -0.0334420465, 0.0285655335, -0.0323934704, -0.0003176565, -0.0237043072, -0.0496965311, 0.038722761, 0.0220726877, -0.017369749, -0.0203570928, 0.0338221192, 0.073909387, 0.0093452176, -0.0194492545, -0.0272187702, -0.0391563885, -0.0256316196, -0.0275771245, -0.0142339114, -0.0532151982, 0.0536593422, 0.0010332905, 0.0117496066, -0.0175146442, 2.332859686e-34, 0.005542736, -0.0320376828, 0.0106820567, 0.0064360159, 0.0049984986, -0.0331453457, -0.0421056263, 0.006435418, -0.022942422, -0.0188234095, -0.0277900118 ]
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.
GPTQT: Quantize Large Language Models Twice to Push the Efficiency: 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.009335191, 0.0778510943, 0.009847126, 0.0221231226, -0.0003769796, 0.0225602109, 0.006813481, 0.0311880559, -0.0002103862, -0.0357740521, 0.0102487747, -0.0567619093, -0.0223926138, 0.0125685427, 0.0292132273, -0.0075376774, 0.042916175, -0.0339788087, -0.007603453, -0.0226144847, -0.018338291, 0.0144118946, 0.0407281145, 0.0031323368, 0.0067716544, -0.0196881779, -0.0271679852, -0.0071361815, -0.0048792544, -0.0365019217, -0.0253387373, 0.0789733157, 0.0420015231, 0.0150258411, 0.0000022594, -0.021344116, -0.017286256, -0.0045160316, -0.0315268971, 0.0841070488, 0.0264762398, 0.0050058891, -0.0370960832, 0.0489882901, -0.0128755281, -0.0567720048, 0.0658368394, 0.028930461, 0.0264730658, 0.0632992536, -0.0091594094, -0.0623575673, 0.0430836231, -0.0397283435, 0.0031555868, -0.0416016057, 0.026575258, 0.0717296079, -0.0085838186, 0.0109496145, -0.0315884128, 0.0132876029, 0.0185034405, 0.010603535, -0.0413979702, 0.0350387134, -0.0500650518, 0.0041866335, -0.0056461012, 0.0441798382, -0.0568627603, -0.0453882329, -0.0176321622, 0.0191746876, -0.0431750081, -0.0739078447, -0.0274075978, 0.0544938743, 0.0071963938, 0.0538819917, 0.0075229444, -0.0332348049, 0.049494572, -0.0016223331, -0.0777497068, 0.0443709493, 0.0420293584, -0.0043575, -0.0184739418, -0.0280752275, -0.0981778204, -0.037080612, -0.0286717042, -0.0187247619, 0.0223317742, -0.0185178332, -0.0348665826, -0.0037929469, -0.0081120115, -0.0342938416, 0.0194740836, 0.0608166717, 0.0092056124, 0.0106642926, -0.0309389587, 0.0549684726, -0.0173128024, -0.0053759315, -0.0443850309, 0.0234112572, -0.0139978696, -0.0112661906, -0.072951369, 0.0335286446, -0.0066994671, -0.0126868719, -0.0558089204, -0.0127626499, 0.0112920702, -0.0456579328, 0.0512978062, -0.0076043033, -0.0056998674, 0.0063755754, 0.0410947353, 0.0166582689, -0.0046115555, 0.0065246364, -0.0276181251, -0.0629006103, -0.00501238, 0.0328938589, 0.0076014297, -0.0530997328, 0.0238945205, 0.0175580941, 0.0062160715, -0.0574716777, -0.0154483365, 0.0226050317, -0.0076080156, -0.0731826723, -0.0095214313, -0.0512201115, -0.0034182395, -0.0153112598, 0.0088986596, 0.0084018828, 0.006205793, -0.00754826, -0.0069581014, 0.0578388907, -0.0277922899, 0.0082624201, 0.0094475467, 0.0227400232, 0.0687163621, 0.0910942182, 0.0413718484, 0.0247310996, -0.0167100113, -0.0289962925, -0.0417708345, 0.0580203049, 0.0348951556, 0.0139189018, -0.0403163433, -0.0276465677, 0.0160857588, 0.0322989672, 0.0846326798, 0.0849848986, -0.07788302, -0.0018679478, 0.0150065059, 0.03564962, 0.0583914816, 0.0287785586, -0.0136682857, 0.0273576211, 0.0160275716, -0.0257230233, -0.0128288185, 0.0161882844, 0.0084090196, -0.0042490019, 0.0631972849, 0.064549081, -0.03181649, 0.0035001156, -0.0315247551, -0.0089680292, 0.0304624513, -0.0059134043, 0.0349949263, -0.0071213446, -0.0276633725, 0.0933180526, 0.0289154053, -0.0728323385, -0.0236537103, -0.0991288722, 0.0041873804, 0.0302440915, 0.0253871027, 0.0335173756, 0.025741145, 0.0292220693, -0.0061322316, -0.0027597761, -0.0262004435, 0.0063152858, 0.0050259237, -0.0856461301, -0.0286106747, 0.0187692847, -0.0018988459, 0.017999813, 0.0487072356, 0.0224919692, 0.0142496377, -0.0128541458, 0.0083533386, 0.002882818, 0.0182040948, -0.0410236754, 0.0311336927, -0.0167553723, 0.0471241064, 0.0083771469, -0.0179761834, 0.0064927763, 0.0243845228, -0.0517034531, 0.020594066, -0.0325529464, 0.0062325234, -0.0534635298, 0.0552035607, 0.0156257357, 0.0487788878, 0.0242813956, -0.0368601047, -0.049057208, 0.0169695485, -0.020312611, 0.0549160913, -0.0916006789, 0.0144447125, 0.0013534859, 0.0269833114, -0.0416973643, 0.0331209488, -0.0160043016, 0.0074192365, -0.0053562322, 0.0133963246, 0.0152224358, -0.0449502692, -0.0335781761, 0.0407011472, 0.0238208733, 0.0327016525, -0.0201875959, 0.0133864051, 0.0144481249, -0.0116185145, -0.1194886118, -0.0002482869, -0.046539031, 0.0202740915, 0.0091912691, 0.0286021456, -0.0017458288, 0.0150602199, -0.042653989, 0.0004870198, -0.0163869895, 0.0025305573, -0.0363482796, -0.020261813, -0.0248517022, -0.0165150519, -0.0401068889, -0.000872232, 0.0402208641, -0.0391724333, -0.0155954221, -0.07750085, 0.0411145054, -0.0157319121, 0.0292644482, -0.0139385462, -0.0553161986, 0.0047899918, -0.036853116, 0.0650531501, 0.0342253856, 0.0186758433, -0.0215167664, 0.0757820308, 0.0023645647, -0.0234045144, 0.0257318038, 0.0074997293, -0.0608082749, -0.0141452653, -0.0498367138, -0.0409945399, 0.0604279339, -0.0071341568, -0.0301540587, -0.056725055, 0.0008261934, -0.0092156176, 0.0026624156, -0.0446288809, 0.0173925702, -0.01099806, 0.0559465811, 0.0038477113, -0.0453947596, 0.0067806761, -0.0406795107, 0.0083136093, -0.0284390152, 0.0005735373, -0.032497488, 0.0687804967, 0.0208700318, 0.0544330515, -0.0240233596, -0.0235369261, -0.0296132248, -0.0274977162, -0.0145083144, -0.0370175503, 0.002674592, -0.015448695, 0.0546074212, -0.0388626792, -0.0201633219, 0.0216288548, 0.0174964946, -0.0111222798, 0.0244996604, 0.042001456, -0.0392620601, 0.0485086665, 0.0989186987, -0.0208350047, 0.0438475087, -0.021696873, 0.0228382759, 0.0035270625, 0.0312393885, 0.0381603353, -0.0073480271, 0.0172459632, 0.0069084074, -0.0172798317, 0.0199057143, 0.022362534, 0.0701758489, -0.0362163819, 0.010323734, 0.0378164314, 0.0126624284, -0.0167216323, 0.010158251, 0.0358164646, -0.0217956174, 0.0113886949, 0.1051840261, 0.0194972046, -0.0458665229, 0.0124564199, 0.0019715538, 0.029141508, -0.022024136, 0.0188118704, -0.1155962646, -0.0222605839, 0.0074733426, -0.0147754345, 0.0158469323, 0.0172875505, -0.009162752, -0.0829696506, 0.0300004091, 0.0387610607, 0.0264124405, -0.0311293956, -0.0206306893, -0.0620194152, -0.0415336303, 0.04554471, 0.0553324483, -0.0156798922, -0.0003345514, 0.0179781746, 0.0040818029, -0.0362795368, 0.0408334471, -0.0181630831, 0.0304734744, 0.0699702799, 0.0231332891, -0.0064216671, 0.0015554406, 0.017540643, 0.006900684, -0.0324534364, -0.0138764484, 0.0022216535, 0.0178999584, -0.0128689874, 0.0200166423, 0.0012908834, 0.0230552759, -0.009091557, -0.0077085909, 0.037527591, -0.015327231, -0.0306348875, 0.0183485132, -0.031174304, -0.0344669595, 0.0603505597, 0.0259400923, -0.0068301316, -0.0591296814, -0.0205785222, -0.0018454372, -0.0281955004, -0.0261701085, -0.007684764, -0.0000450777, -0.0671395287, -0.0257664118, 0.0258457325, 0.0257711653, 0.0177778192, -0.0165550075, 0.0201953743, 0.0120908432, 0.0178265143, -0.0876921788, -0.011069213, -0.0336620212, 0.0044107446, -0.0533527695, -0.0033267331, 0.0362661332, 0.0027725385, -0.0079104975, 0.011447724, -0.1090089828, -0.0652520657, -0.0214933194, -0.004738084, 0.0167482123, 0.0222038105, 0.0118138017, -0.0596270598, 0.0324669033, 0.0342431664, 0.0162060615, 0.0563070476, -0.0065692882, -0.0030330308, 0.0006101423, 0.0346133225, 0.0016498856, 0.0411705486, -0.0302649643, 0.0511944145, -0.0554035529, -0.0270233881, -0.02281655, 0.0329313353, 0.0406671353, -0.0211407281, 0.0225716326, -0.0028785686, 0.0324623771, -0.0287473816, 0.0242515448, -0.0521859378, 0.0234569106, 0.0559801124, 0.0068344418, -0.0348366834, -0.0179322716, 0.0209867489, -0.0252733845, 0.0232896172, 0.0159417167, -0.0763420016, 0.0155388219, 0.0581814572, -0.0365407765, -0.0183038861, -0.0121921673, 0.0316570178, 0.0246779174, -0.0441672541, 0.0167253334, -0.0065997001, 0.0004492495, -0.0231758226, 0.0464534499, 0.0080402428, -0.04992605, -0.0542939976, 0.0209467188, 0.0737714767, 0.0488366336, 0.0457092077, -0.0203789398, -0.0255886279, -0.0227613058, 0.0293048453, -0.0073651378, -0.0155629357, 0.0437363312, 0.0110538658, -0.0508480705, -0.0111687053, 0.0595545694, 0.0823978782, 0.029178245, -0.0042470503, 0.0088859499, -0.013405513, -0.0459140465, -0.0424513519, -0.0013618913, -0.0121351825, 0.0084791323, -0.001336636, -0.0443532765, -0.0214489885, 0.0012497135, -0.0077423421, -0.0183149036, 0.0214088038, 0.0245915633, -0.0152676702, -0.0600979328, -0.0324956551, -0.0530539751, 0.0200188123, -0.0194510203, -0.0052981917, -7.159872908e-33, -0.0227370244, 0.0127491076, 0.0438496321, -0.0536170714, -0.0452994406, 0.0071885129, 0.0006795772, -0.0198504347, -0.0217089374, -0.0323229991, -0.000197885, 0.031329602, 0.0109158605, 0.0138959857, -0.0122797592, 0.0393060781, 0.0676327422, -0.0113135874, -0.0015935901, 0.0428662635, -0.0155589068, 0.0095469803, 0.0464663878, 0.0292043872, -0.0537689887, 0.0265725423, -0.0199891888, -0.0106310565, -0.0160036795, 0.0101159113, -0.042493023, 0.0018587508, -0.0007877796, 0.0007472782, -0.0020070695, -0.0027513048, -0.0503367186, 0.00660126, 0.0402724892, 0.0160582848, 0.0343970098, -0.0509891771, 0.0092611574, 0.0188856479, -0.0424677432, -0.0194954481, -0.0357669704, 0.0143585699, -0.0351065323, -0.0676107034, -0.0150979897, 0.0391258895, 0.048695147, 0.038562797, 0.0446260944, -0.0233740918, -0.0511465892, 0.0074478104, -0.0323832147, 0.0182220023, 0.0668637231, 0.0824578702, 0.0283546634, 0.0418210775, 0.0437900424, 0.0209804662, 0.0346719474, -0.0565151311, -0.0449351445, 0.048752781, 0.0526445433, 0.0066962466, 0.0376299545, 0.0253757052, 0.1073707342, -0.0173374303, -0.1025869995, -0.0209368616, -0.0026179694, 0.025275724, 0.0422303863, 0.0402782559, -0.0118934195, -0.0535698272, -0.0388004519, 0.0077324836, -0.0327244028, -0.057844162, 0.0083317477, -0.0029584679, -0.0377433114, -0.0300585162, 0.0498427898, -0.0411877334, -0.0232465751, 0.009564939, -0.016067775, 0.0208994858, -0.0157434382, 0.0613622889, -0.0455037653, -0.0456206985, 0.0230010804, 0.0000736947, 0.01137166, -0.0169317722, 0.0037284098, 0.0381361321, -0.083239235, -0.033527758, -0.0149498591, -0.0110120345, -0.0000858071, 0.0542630553, 0.0193870515, 0.012902935, 0.0386187285, 0.0207191277, -0.0023938993, -0.0057819015, -0.0240750983, -0.0068276753, 0.0354993418, 0.0537850335, -0.0237878971, 0.0337570272, -0.0475074463, 0.0126317441, 0.0582835376, -0.0573408268, -0.0513271131, 0.0635750443, 3.014e-7, 0.0500634946, 0.0181108192, 0.0156395882, 0.002684227, -0.0035413937, -0.0236187279, 0.0130363181, 0.01871139, 0.0160875227, 0.0145342639, 0.0176941603, 0.0424905792, 0.0097802691, 0.0007259774, -0.0834373757, 0.0313426591, -0.0365639813, -0.0084099099, -0.0504090115, -0.0335204266, 0.0208371505, 0.1388607621, -0.0274566412, 0.0020673182, 0.054288134, -0.0097678043, 0.036882069, 0.0012879244, 0.0071493811, 0.0353139751, -0.0059743356, 0.0232923198, -0.0035981219, -0.0208277535, 0.019007314, -0.0070033884, -0.0396503247, 0.1003522649, -0.0348197594, -0.0153405787, 0.0234170742, -0.0030409081, -0.0276673473, -0.0224507973, 0.0773975328, -0.0439068154, -0.0282919984, -0.0778077468, 0.0070152339, -0.0368269719, 0.0047959574, -0.0118122231, 0.0335630998, 0.0330004692, 0.0151419509, -0.0272552203, 0.0140781207, -0.0660386235, -0.0110983774, 0.0361923873, -0.0342758894, -0.071634531, -0.040960934, -0.0127879987, 0.0243150108, -0.0221494846, 0.0290582553, 2.898519965e-34, 0.0465406366, -0.0244673677, 0.0319560543, 0.0445102081, 0.0128142787, -0.0241587423, -0.0225690641, 0.0208741613, -0.0443530567, -0.083563678, -0.0349854901 ]
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.
CogErgLLM: Exploring Large Language Model Systems Design Perspective Using Cognitive Ergonomics: 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.0451733917, 0.0199470222, -0.0420564562, 0.0538501404, -0.0325054117, 0.0147619424, 0.0123647703, 0.0038875334, 0.0764330029, -0.0191417839, -0.0361597314, -0.0084275566, 0.0397858098, -0.0143326381, 0.0286152065, -0.0160399303, 0.0398422927, -0.0391008556, 0.0242018104, 0.0250748713, -0.0065638637, 0.0205962639, -0.0353235602, 0.0490407348, -0.0095902029, 0.0021985031, -0.0265633576, 0.0403071865, 0.0324689262, -0.0233791526, -0.0255070273, -0.0148453936, 0.0106915431, 0.0129799256, 0.0000020415, -0.0556331053, 0.0478808396, 0.0109602548, -0.0288841147, -0.0222925469, 0.037047144, 0.0104760118, -0.0184027273, 0.0061132316, -0.0076632313, 0.0726600438, 0.0421055295, 0.0275357775, 0.0122275976, 0.0114157284, -0.0145059051, 0.0429734327, 0.0175714754, 0.0283586178, -0.0086992607, -0.0130772786, -0.0237231869, 0.0138550978, 0.0646814853, -0.0135005694, 0.0233309809, 0.0448430963, 0.027128065, -0.0183325261, -0.0238812715, -0.004173459, 0.0122126797, -0.0466431603, -0.0078569613, 0.0367116742, 0.0287836697, 0.012670652, 0.0275623091, -0.0050335946, 0.0418871753, -0.0007930283, -0.0144850099, 0.0219968054, -0.0154144531, -0.0066642286, -0.0019637553, -0.0268285051, 0.0208832752, 0.019590348, 0.012212242, 0.0651428998, -0.005953514, -0.0154182613, 0.00018127, -0.0153469788, 0.0062128277, -0.0142947398, 0.0237994697, 0.0794804767, -0.0717252567, 0.0186937675, -0.0256632604, -0.0072769024, 0.0389159881, -0.0652721599, 0.0676711723, 0.0353417918, 0.0434364043, 0.0053710183, 0.0262607895, 0.0198147818, -0.0044110212, 0.0193902552, -0.0294103269, 0.0516573526, 0.015938146, -0.0174028575, -0.0190277044, -0.013110064, -0.0124629876, 0.0177008547, -0.0291265137, 0.047512278, 0.0112725953, 0.0396801792, -0.0166893061, 0.0271059945, -0.0056238542, -0.0142016299, 0.0086847423, -0.0498759411, 0.011012082, 0.0252521094, -0.0021264097, -0.057534907, 0.0173647273, 0.0318224132, -0.0630658641, 0.0063807177, -0.0484380461, 0.1085548997, -0.0120044295, 0.0165499579, -0.0535985306, -0.044971779, -0.0183051061, -0.0112909963, -0.0122132348, -0.035615921, 0.0114102652, 0.0098760584, -0.0286506731, -0.0589631163, 0.0065508611, 0.0295381062, -0.0340882652, 0.0309313685, -0.0439569391, 0.0345366783, 0.0799708664, 0.0390625522, -0.017077174, 0.0502907932, 0.0854198858, 0.0283527691, 0.036631003, -0.005768449, 0.0061046169, 0.0474592894, -0.0610353872, -0.0177352093, -0.0470481925, -0.0139375422, -0.0386438183, 0.0181165654, -0.0077182339, 0.0430427343, 0.0138681093, 0.0467646718, 0.0727689117, 0.0911318287, -0.0052513555, 0.011581067, -0.0319402888, -0.0189356077, 0.008626312, -0.0171074253, -0.0395493694, 0.0142630208, -0.0416856594, 0.0145894038, -0.0584271587, 0.0432472974, -0.0201313216, -0.0392074659, -0.0258567482, -0.0420457497, 0.0400007442, 0.0201788507, 0.0103063835, -0.0330991484, 0.0053537576, 0.0230947286, -0.0170937236, -0.0811774582, -0.0203778744, -0.0453156866, 0.0106413839, 0.1060740501, 0.0222204849, -0.005754631, -0.0122172106, -0.0046024024, 0.0139071029, 0.0506031625, 0.0570378974, -0.0079278955, 0.008190454, -0.0139070861, -0.022828117, 0.0278085098, -0.0348352864, -0.013627857, -0.0442807674, 0.0420712419, 0.0076278597, 0.0158879701, -0.0798835084, 0.0305521768, -0.0670156926, -0.0107718557, -0.0619133264, 0.0191686414, -0.0062753581, 0.0196785443, -0.0097524142, 0.0116214026, 0.0375678837, -0.0043771728, 0.0040710522, 0.0411567055, -0.0540511906, 0.0462371148, 0.0482128114, -0.013859788, -0.018601045, -0.0156185562, -0.0007904859, -0.0150413737, 0.0125847869, -0.0362973064, 0.0464798845, -0.0180037301, 0.026542386, -0.0214297771, -0.0692232028, -0.0655947775, 0.0057945149, -0.0319673158, -0.0169746578, 0.0047675818, 0.0015410135, 0.039760299, -0.0577655025, -0.0297405906, 0.0670853779, 0.0133955441, 0.0488959551, 0.040114291, 0.0512782037, -0.0575266518, 0.0121711968, -0.0880114362, -0.0616487265, -0.0008872713, 0.0187643506, -0.0030706499, -0.0161562636, -0.044681482, -0.0173785072, -0.0021565529, 0.0062124534, -0.0007688094, 0.0009146007, 0.0310094785, -0.0335594527, -0.0310522951, -0.034160547, -0.0024001624, -0.0003776511, -0.0129809994, 0.0304172467, -0.0248585399, -0.0871550515, 0.0524996705, 0.0004681984, 0.0086719384, 0.0153741259, -0.0196980629, 0.051966764, 0.0481151938, 0.0120297335, 0.0595089532, -0.0170248393, 0.0123525904, 0.0484289229, -0.0227371715, -0.0477345176, -0.0051114378, 0.0588275418, -0.0183198825, -0.0185328536, -0.0095444918, 0.0128429132, 0.0163339302, -0.023369018, 0.0357538015, -0.0001638569, 0.0088586779, -0.0589614101, -0.0652356222, -0.0101212896, -0.0470492393, -0.0611003563, 0.0393683203, -0.0016199314, -0.0443357751, 0.0463653021, -0.0072629428, 0.0075795678, 0.006901667, -0.009584331, -0.0072435685, 0.0308407135, -0.0623619817, 0.0236152634, 0.0252388455, -0.0306181498, -0.0526898615, -0.0091010677, -0.005731428, -0.0433245413, 0.0460547768, -0.0635099038, -0.0041955295, -0.0161390826, -0.0342376418, -0.040238902, 0.0716194212, -0.0590113178, -0.0136936074, 0.0097190905, -0.0288161784, -0.0285487436, -0.0137900235, 0.0591791794, -0.0312809534, 0.0255317613, -0.0134025933, -0.000701995, -0.0365402848, 0.0325727575, 0.0612435266, 0.026544068, -0.0091913883, 0.0234269444, 0.0707129687, 0.0106717087, -0.0090564005, -0.0030085146, -0.0210672393, 0.0907277837, -0.0251197908, -0.0299658421, 0.0482640713, 0.0797759444, -0.0081489598, 0.0307687782, 0.0976394266, 0.0129117919, -0.081561856, 0.0360429734, -0.0624518022, -0.0079845712, 0.0065783034, 0.0156590566, -0.0166637842, -0.0104569132, -0.0080935918, 0.0244466309, -0.0136991274, -0.0222662967, 0.0200943835, -0.0442516245, 0.039925117, 0.0005692455, 0.0055526346, -0.0229219794, 0.0089063365, 0.0072376998, 0.0264625158, 0.0894960836, 0.0441013798, -0.0377069749, -0.0444758423, 0.0062042922, -0.0529645793, -0.0180329327, -0.012258457, -0.0253581461, 0.0365628414, 0.0645580366, 0.0255806334, -0.0303657465, -0.0880215764, 0.0190755166, 0.0130583411, 0.0695336461, -0.0163241699, -0.026129812, -0.0022648536, -0.0064037545, -0.0753685012, 0.0019039732, -0.0437811501, -0.0659491867, 0.0301082507, 0.0462135449, -0.0639715865, -0.0037392986, -0.0390143208, -0.0169757679, 0.0213550553, 0.0370021649, 0.0135507789, -0.0778708607, -0.0307029206, -0.0384351797, -0.021926498, 0.0001101705, -0.023689758, -0.0048930664, 0.0050224457, -0.0279131029, -0.0419174992, -0.0359886326, 0.0207085907, 0.0091279838, 0.0197847541, -0.0060874219, 0.0222587399, 0.0125110047, -0.0178523436, -0.0130033502, -0.0110892765, 0.049957674, -0.0245211273, 0.0475470275, -0.0108451648, -0.0057996335, 0.0563549995, 0.0184310898, 0.0426661, -0.0730060413, 0.0119603174, 0.0541940257, 0.0272006784, -0.0106298989, -0.0116435066, -0.0737030357, 0.0048243124, 0.0401634611, -0.0666777268, 0.0356194414, 0.0176874958, 0.0223993473, 0.0006346999, 0.0023621682, -0.0345680527, -0.0379053541, 0.028272111, 0.0311365016, -0.060771618, -0.0801141858, 0.0021292921, 0.0739741623, -0.0359445997, -0.0603606068, 0.0671941638, -0.0051760594, -0.0092714084, -0.0292647481, -0.0093169333, -0.0343450122, 0.0179823339, -0.0376394354, -0.0356807038, 0.0483504273, -0.0030139701, -0.0414113738, 0.0181480143, -0.0029164336, 0.0814975351, -0.0551441982, 0.047843419, 0.0250833221, 0.0209833011, -0.013458604, 0.0516369641, -0.0417822823, 0.0319057293, 0.0221613739, 0.081751667, 0.0298214573, -0.0158791803, -0.0123546468, 0.066446729, 0.0289661102, -0.0891726613, 0.021260418, 0.0311761126, 0.0461529121, 0.0103279725, 0.0392583758, -0.0168031864, 0.0219386928, -0.0222179554, -0.0005396249, 0.0022582898, 0.0083963787, -0.0190062206, 0.0227749646, -0.0382868871, -0.0468190983, 0.0344824716, -0.0244771726, -0.0303971544, -0.021290971, -0.0193366706, -0.0234189387, -0.0323401056, 0.0568413176, -0.029195128, -0.0602530353, -0.0412648059, -0.0871773288, -0.0802852362, 0.0048320298, 0.0342704691, 0.0070013534, -0.0407862216, 0.0380675644, 0.0130989701, 0.0312763713, -0.0375911817, 0.0069127735, -0.0146357631, -0.0293602645, -0.0147062447, -0.0503457226, -5.456687756e-33, 0.0006242832, -0.050882671, 0.0297978241, 0.0209975634, -0.0109602651, -0.0526799858, -0.0194393899, 0.0554501936, -0.0119802998, -0.005443099, -0.012270662, -0.0147819025, -0.002255654, -0.0296171606, 0.0431416258, -0.0168041792, 0.0046725101, 0.014900662, -0.0196842439, -0.0013500927, -0.0083319424, -0.0057801856, 0.047305245, -0.0922515541, 0.0533995479, 0.0091483509, 0.0058872243, -0.011815615, -0.0390932523, 0.0295796786, -0.0232927073, 0.0639244616, 0.0222661402, 0.0151678314, -0.0068178326, 0.0549547933, 0.0204998087, -0.0499779098, 0.0258526336, 0.0153999086, -0.0122641586, -0.0596880764, 0.0259629842, -0.0015442979, -0.0616584159, 0.0116357403, 0.020299267, -0.0342435688, -0.0141004454, 0.0000259403, -0.0462644137, -0.0054387371, -0.0118366238, 0.0042320983, -0.0064802542, 0.0181590002, -0.0285527669, -0.0151547622, -0.0658751354, -0.0169160664, -0.0427567884, -0.0509936847, 0.09417703, 0.0074519883, 0.0024021165, 0.0441756845, -0.0418818034, 0.0516411811, -0.0711160153, -0.0067312201, 0.0298596695, 0.0635795593, 0.0018323249, 0.0245852899, -0.0256019663, -0.0834890157, -0.0356857628, 0.0450816415, -0.0098159602, 0.1043523625, 0.0033549021, 0.0399561822, -0.0522539504, -0.0344355777, 0.0213878602, 0.0230203476, -0.0133255264, -0.0300569385, 0.0103339152, -0.0403957888, 0.0029161391, -0.0594926365, -0.0099255601, -0.0144751798, -0.0118922768, -0.0585836582, 0.0229781047, -0.0102173276, 0.0192954373, 0.0168418754, -0.0541586764, -0.0130582592, -0.0490301736, 0.0277369525, 0.0486360453, -0.001664972, -0.0016957547, 0.0295873657, -0.006580024, 0.010403241, -0.0177298859, 0.0307737533, 0.0463531166, -0.0367784984, 0.0086959675, -0.032014627, -0.0132416617, 0.0060972655, -0.0121181989, -0.0536239371, -0.0231410544, 0.0087241754, -0.0112415068, 0.0049422458, -0.0105599593, -0.038390141, -0.0154936519, 0.0623292066, 0.066661641, -0.0412484743, -0.0254818574, -0.0128489174, 2.822e-7, 0.0281813443, 0.00379102, 0.0055500525, 0.0183782224, 0.0115165468, 0.052787412, 0.0023218379, 0.0626585782, 0.0215200111, -0.0097261835, -0.0005934791, 0.0352143459, 0.0357193872, -0.007127441, -0.0491780825, -0.0125787109, 0.0121398093, 0.0313985534, -0.0421162285, 0.0685842261, 0.0714414939, -0.0593773797, -0.0174859725, -0.0358945206, -0.0378905609, -0.0135708395, -0.0019309898, -0.0924325287, 0.0345294252, -0.0135495504, 0.089014262, 0.0320844315, 0.0130330231, 0.0319489129, 0.0333562456, -0.0333745591, 0.0057119839, 0.0784878582, -0.0487846583, -0.0181927513, 0.0089534465, -0.0474079549, 0.0029244451, -0.0438306369, 0.023664888, -0.0323611796, -0.0075057531, -0.0294336714, 0.0022102864, -0.009993461, -0.0010887055, -0.0332467146, 0.0064048273, 0.02758893, 0.0194470715, -0.0085032191, -0.0219829921, -0.0087533928, -0.0036715667, 0.0452874899, 0.0161440466, -0.0673161224, -0.01313016, 0.0299448576, -0.0428407378, -0.0435070917, 0.0058883736, 2.182166132e-34, -0.0257161856, -0.0125927944, 0.0329735316, 0.0484988354, 0.0428272784, 0.0391111001, 0.0235099159, 0.0397362858, 0.0282992907, -0.0295489319, -0.0074142427 ]
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}}.
CoIR: A Comprehensive Benchmark for Code Information Retrieval Models: 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.0293129478, 0.0252908003, -0.0140315592, 0.0246754549, -0.0210689716, 0.0360270292, -0.0122997323, 0.0509233959, 0.0292874351, 0.0061337147, -0.044542715, 0.0207485296, -0.0158117171, 0.0384545475, 0.020570565, 0.0447124578, 0.0348852724, 0.0168212857, -0.0037597478, 0.0690137744, 0.0144799156, 0.0130831758, 0.0016329215, 0.0499372706, 0.0098664379, 0.0260124132, 0.0218947008, 0.0447847545, -0.0102475528, -0.0670522526, 0.0589340813, 0.025756117, 0.001620256, 0.0185942575, 0.000001868, -0.002430001, -0.0637893677, 0.0011853265, 0.0063318666, -0.0062503805, 0.0615090169, -0.0209434964, 0.0543898381, 0.0059386576, -0.0329727456, -0.0275542513, 0.0627378449, -0.0333650038, 0.022095589, 0.0841019154, 0.0118783386, -0.0108824242, 0.012011392, -0.0079826368, 0.0291798338, -0.0500843897, 0.0096022608, 0.0319287069, 0.0344031826, 0.0480250157, 0.0466144979, 0.0474905781, -0.0290659592, 0.0041726073, 0.0238977559, -0.0016165249, -0.0828678086, -0.015818974, 0.003801808, 0.0409075059, 0.0077709877, -0.0518193282, 0.0261166692, 0.0109028677, -0.0508591719, -0.0396049917, -0.0239832047, -0.0114683527, -0.0554260388, -0.0046145455, -0.0315415002, 0.0164282918, 0.0328250714, -0.0126396297, -0.016459601, 0.0310129002, 0.0033559545, -0.0083212713, 0.0160482656, -0.0411767401, 0.0018749782, -0.0110234898, 0.0214884877, 0.0393372253, 0.0056309775, -0.0174315646, 0.0325714462, -0.0480251461, 0.0578578077, -0.027320914, 0.0046499744, 0.0346883833, -0.0059655118, 0.0387736298, -0.0270919539, 0.0782764256, 0.0025910509, -0.0099466164, -0.019047793, -0.0379000567, -0.0738720447, -0.0319918953, -0.0586242266, 0.0652176961, -0.0103241354, -0.0083405022, 0.0031763557, 0.0280933212, -0.0145720793, 0.0268166456, -0.0073347883, -0.0051554255, -0.0289502218, 0.0563286059, -0.0029720359, -0.0083035128, -0.0279923771, -0.0722464621, -0.0123498151, -0.0510863364, -0.0048445333, 0.0060500344, -0.0047865598, -0.0541396439, 0.0521555021, 0.0030320992, 0.0431216471, -0.0507347323, 0.0057985322, -0.0255688298, 0.0342298597, 0.0063748318, -0.0045177368, -0.0670733452, -0.022275243, 0.027902456, -0.0005133044, -0.0821419135, -0.0032978058, 0.0447320379, -0.0245832652, 0.0517456681, -0.0335500576, -0.001505989, 0.0260218196, 0.0156539734, -0.00576169, 0.019258257, -0.0111023076, 0.0105748596, 0.0448423475, -0.015672097, 0.0455467142, -0.0154849375, -0.0039243884, 0.0192296617, 0.0149306608, 0.0783416182, -0.009015739, -0.0073068375, 0.0259327535, 0.0207405407, -0.0204210728, -0.0212721415, -0.0501217246, 0.0395763442, 0.0386769064, -0.0391248465, 0.0146209886, 0.0510671102, 0.0020337524, -0.0537950844, 0.0051108184, 0.0264222007, -0.029775966, 0.012914449, 0.0219798815, -0.0109055461, -0.0071754777, -0.0504528023, -0.0115407463, 0.0143540511, -0.0195618551, 0.0169249605, 0.0308532733, -0.0151108401, -0.0284613967, 0.0160221718, 0.0251288079, -0.0734320432, -0.0266557168, -0.0249455106, 0.0196967591, 0.0274538137, 0.053537719, -0.120573923, -0.0012663943, 0.0291192923, -0.021726191, -0.0240440313, 0.0005634341, -0.0090272827, 0.0427481458, -0.0265951883, -0.0196875278, -0.017092241, 0.0124266762, 0.0201074798, 0.0430793166, 0.0054762787, 0.0440952815, -0.0173624177, -0.0399125144, 0.0442559607, -0.0106390882, 0.0024175097, 0.0056083072, -0.0065914965, -0.036201261, -0.0079327244, -0.0484612286, 0.0287367422, 0.0322136395, 0.004573015, -0.0001030601, -0.0825795382, 0.0120015088, -0.0214003604, -0.0007474493, -0.0394486301, 0.0272947717, 0.04670709, 0.0160564538, 0.0126067353, 0.0164678413, 0.0069627729, 0.0257592872, -0.0087724235, 0.0186416078, -0.0139956241, -0.0357755646, -0.0634336919, 0.0275367126, 0.0467322357, 0.0819988623, 0.0018958986, 0.0394060947, 0.0351704247, -0.0266553573, -0.0587015934, 0.0230662674, -0.0395926759, 0.0350587368, 0.0453445539, -0.0043003182, -0.0304297283, -0.0310662258, -0.0886823088, 0.0409273319, -0.0210943464, -0.0186000131, -0.0000863671, 0.0241169222, -0.0008030458, -0.0216511693, 0.0029543943, -0.0577660948, -0.034079954, 0.0176328979, 0.0335027613, 0.0113010453, -0.0269369911, -0.0852526426, -0.0349723026, -0.0090848655, 0.0623119138, -0.0024198722, -0.0412971154, -0.0163556971, 0.0687309429, -0.0511886962, 0.0048980606, -0.0373121053, -0.0173495598, 0.0328290984, -0.0425622463, 0.0203008428, 0.025900254, -0.0000547802, -0.0307118166, 0.0112107936, -0.0005603557, -0.0922488943, 0.0368816555, -0.001868677, -0.0478519537, 0.0387092978, -0.0351877585, 0.0943153799, 0.0058381697, -0.0033364487, 0.0160691999, -0.0363969989, -0.0117785055, 0.0056392131, 0.007109921, -0.0536723584, -0.0090793623, 0.0288368911, 0.0614700206, -0.042492304, -0.0886020958, 0.0257643871, -0.0345263034, -0.0337543972, -0.0232346337, -0.0222330093, -0.0972212553, 0.0754721239, -0.0186802484, -0.0015335773, 0.0281382203, -0.0379009098, 0.0430437475, 0.0255300533, 0.0186837465, -0.074864611, 0.0362531096, 0.0185022652, 0.0441270508, 0.0107080219, -0.0330831744, -0.0059586298, -0.0113303317, -0.0129120192, -0.0039940681, 0.0416859314, -0.0081200488, 0.0007925745, 0.030702794, 0.0399659574, 0.0484483391, 0.0288651902, -0.03864282, 0.0045730756, -0.0323219337, -0.0162910242, -0.0732529387, -0.0066237291, 0.0517219827, -0.0171671882, -0.0047273277, 0.036413122, 0.0431032479, -0.046358183, -0.0052307472, 0.0185000468, -0.0435781665, -0.0284165125, 0.0187748447, 0.0176156759, -0.0280384012, -0.0423992015, 0.0684846863, 0.0526394956, -0.0755796209, -0.0463052355, -0.0031092332, 0.0516124703, 0.085866116, 0.0150127988, -0.0461686812, -0.0254259929, 0.0045613125, 0.0578723252, 0.0028652067, -0.0331832469, -0.0023150062, -0.0624891967, 0.0069726394, -0.0151758222, -0.0019051305, -0.0894940048, -0.0613414831, -0.0093930475, -0.0132771814, -0.0673709735, 0.0515649989, -0.032455653, 0.0179059859, -0.0038645046, -0.0285420958, 0.0332905501, 0.0168134309, -0.0511122644, -0.0293460637, 0.0694325566, 0.0181318521, 0.0115942825, 0.0027983733, -0.0155738797, -0.0615632944, 0.0001107814, -0.0414659306, 0.1082883179, -0.0050603333, -0.0213316362, 0.0116803348, -0.0556190461, -0.0521518998, 0.0131908003, 0.0344130918, -0.0219571013, -0.0122532565, 0.0411558226, -0.055010464, -0.0180889424, -0.0139003024, 0.059711311, 0.0321065634, 0.0631019846, -0.0157184973, -0.0277841575, 0.0262628291, -0.0336840339, -0.0319595896, -0.0191554911, 0.0066675325, 0.0212565754, -0.0615500025, -0.0203548037, -0.0056346022, 0.0352176614, -0.0233433042, 0.0056898072, -0.0296946261, 0.0100962427, -0.0905734375, 0.0490454361, -0.0216044821, 0.0048565245, -0.064942427, 0.000465891, 0.0174197853, -0.0219106134, -0.0361232795, -0.0095361583, -0.0776189938, -0.0028818592, -0.0282354299, -0.0092539927, 0.0139366016, -0.0146506969, -0.027396556, -0.0294610206, -0.026657084, 0.0077232071, -0.0476149134, -0.004216372, 0.0193949733, -0.0031625009, -0.0277333725, 0.015411227, -0.0752734914, 0.0051256618, -0.012543167, 0.0333383307, -0.007488294, 0.0036429488, 0.0414271392, 0.0293842275, 0.0479530767, 0.0574977323, -0.042511344, -0.0191733893, -0.0199511833, 0.0235637203, -0.0356471874, -0.0308391284, 0.0201832727, 0.0328577012, -0.0291196983, -0.0057276618, 0.0667183399, 0.0118887937, 0.0814933106, -0.0371663459, 0.0391955413, 0.011195845, 0.0578115657, 0.0104079992, -0.0144506209, -0.029614158, 0.0275292452, -0.0138469301, 0.0452277474, -0.0275490656, 0.0130669652, 0.009860089, -0.0156955309, 0.0118668796, 0.0030319477, -0.0731801167, -0.0223639365, 0.0294676572, -0.0244052876, 0.0274542421, 0.013222469, 0.0211249813, 0.0255273283, 0.0021138238, -0.0349272303, 0.0224660784, 0.0137237059, -0.0137426266, -0.0008826472, 0.0275951978, -0.0291840211, -0.0069639492, 0.0579293706, -0.0316502824, 0.0188333225, -0.018755598, -0.0501374602, -0.0161695164, 0.0315548554, 0.0722618997, 0.0100115845, -0.0031957675, -0.0289679989, -0.0194099098, -0.0221848153, 0.0462620929, -0.0127197076, -0.0104477638, 0.0085123004, 0.0299228821, 0.1223683432, 0.0312307552, -0.0142335156, -0.0367622711, -0.0036901622, -0.022472959, -0.0187703129, -0.0451834798, -5.956441465e-33, -0.0097170426, 0.0236160494, 0.007776028, 0.0013719273, 0.0152774137, 0.0475057438, -0.0241603907, 0.0057131392, -0.0348871127, -0.0685654804, 0.0099941259, 0.045998577, -0.0072054006, -0.0298885182, 0.0166733768, -0.0005140088, -0.0042076604, 0.06138568, -0.0570668392, 0.0213014334, 0.0099354042, 0.0541191287, 0.0092931222, -0.0649031997, -0.0108886939, -0.0028700822, 0.0516603552, 0.0043985103, 0.070238322, 0.0770264417, -0.0007277045, 0.0091786021, 0.0185354613, -0.019029133, 0.0116469478, -0.0269606989, -0.0595855229, -0.0274283774, -0.0193629283, -0.0380246826, 0.0147421667, -0.0232220907, 0.0604741015, -0.0340209156, 0.0026906964, -0.0045045046, 0.0497168452, 0.0197955333, -0.0319792368, -0.0583471619, -0.0377466939, 0.0655188859, -0.034760043, 0.0271475967, 0.0481072664, 0.0455313064, 0.0075911735, 0.1205363274, -0.0392697975, -0.021658672, -0.0699855685, 0.0971797258, 0.0012511461, -0.0014868779, 0.000577237, 0.0142890317, 0.0491625965, 0.0158604197, 0.0038962956, -0.0083499607, 0.0474405661, 0.0283651762, 0.0431830734, 0.0257593244, 0.0312923454, -0.005650091, -0.0178618003, 0.0291678589, -0.0089532491, 0.03503111, 0.0120990276, 0.0460861102, -0.1072402, 0.006369405, -0.039417807, 0.0037871075, -0.0752536058, -0.0150394747, 0.0513284206, 0.0328910425, -0.0066859978, 0.0283990186, 0.0154518243, 0.0015018444, -0.0032264381, 0.0412576012, -0.0047922484, 0.0299366564, -0.0165089816, 0.0621407107, 0.0030644729, 0.006937745, 0.0419282541, 0.0048741009, 0.0458015017, -0.0321957096, 0.0252252314, -0.0075775124, -0.0809412599, -0.0478184968, -0.0123649854, -0.0224428382, -0.0569030531, 0.0012103472, -0.0169844087, 0.0331531912, 0.0227397326, 0.0086420979, 0.0444194712, 0.0010687874, -0.0806486458, -0.051199995, -0.0068715271, -0.0068944097, 0.0037218803, 0.0020273097, -0.047751762, 0.0506887883, 0.0116109811, -0.018481601, -0.0134936785, 0.0458997339, 2.653e-7, 0.0362870023, 0.0291071106, 0.0057109874, 0.0512383021, -0.0591996945, 0.00282116, -0.0477924235, -0.0074925772, 0.0204166565, -0.0178512055, -0.0387855843, 0.0114968354, 0.031585332, 0.0266565066, -0.0489190072, -0.0230722781, -0.0107301008, -0.0377545357, -0.064026095, 0.0037472947, 0.0338472538, 0.0869569778, -0.0133982962, 0.0172438994, -0.0211476143, -0.0744799823, 0.0039607361, -0.0072041289, 0.0510065258, 0.0383590162, -0.0178374387, 0.0586697161, 0.0128990598, -0.0405027606, 0.0140739251, 0.0075938525, 0.0388532393, 0.0178632047, -0.002995101, -0.0022199282, 0.0181565024, -0.0059830765, 0.0050165798, -0.0734748095, 0.0643474981, 0.0223354772, 0.0362886041, 0.0328082182, -0.0348603316, 0.0148926573, 0.0080651389, 0.0177788325, -0.0228293538, 0.0202849861, -0.0036532653, -0.0135070691, -0.0054549258, -0.1017162353, -0.0029580526, 0.0007047761, -0.0116158733, -0.0009381496, -0.0605156012, 0.0015579457, -0.0255851205, -0.0182401408, 0.0437505282, 2.474512954e-34, -0.0089695835, -0.0057966299, -0.0136959655, 0.0057834913, 0.074850291, -0.0124073215, -0.0599351525, -0.0019309754, -0.0495449863, -0.0443702005, 0.0136814574 ]
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.
Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completion: 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.0239160005, 0.0350736454, -0.0037163852, 0.0176425371, -0.0281282328, -0.025953332, -0.035710156, 0.0010189757, 0.0514818244, -0.0307737999, -0.0135273207, 0.026924191, -0.0050666439, -0.0267171748, 0.0594678409, -0.0384197198, 0.0193992797, 0.0400078259, -0.0438390709, -0.0192900412, 0.0050352281, 0.0463140048, -0.0261708852, -0.007674865, -0.0465357788, -0.018490253, -0.0161738601, 0.0147604272, 0.0178502519, -0.0598613545, -0.0093641886, -0.002434484, 0.0245543681, -0.0586111434, 0.000002082, -0.0398156382, -0.0011716877, -0.0219444036, 0.0175493862, -0.0460158065, 0.0467449166, -0.0369303338, 0.0672307089, -0.0404371172, -0.0117916102, -0.0297710747, 0.0638476312, 0.075988926, 0.0095608085, 0.009027604, -0.0369822234, -0.0226910524, 0.0132455891, 0.0021298521, 0.0228070691, -0.0089141177, 0.004596137, 0.0290934835, 0.0000079929, 0.0237424057, -0.0374703072, 0.0538722165, -0.0008721128, 0.0300971605, 0.0396866798, 0.0589709617, 0.0465340689, 0.0149982786, 0.0217927564, 0.1012127027, 0.0252870694, 0.0213352442, 0.0017446342, 0.0050645936, 0.0116889337, 0.0792648643, -0.0512153022, -0.0300585516, -0.0539716221, -0.021539567, -0.0461969227, -0.0230433065, 0.0161019173, -0.0162751656, -0.0148173086, -0.0078985421, 0.0056297877, -0.0127718961, 0.0152235609, 0.0031199104, -0.0274568871, -0.003613879, 0.0037222817, -0.00586838, -0.0079850154, 0.0144809205, 0.0033496507, 0.0037402152, 0.0306498334, 0.0108553823, 0.0016862876, 0.0051769973, -0.0584694706, 0.0657077432, -0.057811968, -0.0295617189, -0.0432225764, 0.0177972373, -0.0369767174, -0.0323502272, -0.071608983, 0.0015425396, -0.0071978886, 0.0374230742, -0.0120924665, -0.0323515125, 0.008802712, 0.0136912316, -0.0277899951, 0.0235616639, 0.0057241637, 0.0435902849, -0.0300642103, -0.0189841706, -0.0596213117, 0.041094508, -0.049213212, 0.0259395279, -0.0409492254, 0.0337407961, 0.009356196, -0.0018245716, 0.0307713151, -0.0578090213, 0.0113561898, 0.0624775775, -0.0143620893, -0.0281345695, -0.0633567423, -0.0646471232, 0.0057700267, -0.0286526047, 0.0276146792, -0.0363981016, 0.0486966781, 0.0106065534, -0.0158420056, -0.0204274934, 0.0003825233, 0.0094679762, -0.0515479632, 0.0787777901, -0.0323168114, -0.0317637064, -0.0048821471, -0.0062235007, -0.0208517183, 0.0386237688, -0.0241717249, 0.0116989845, 0.0242532883, 0.0162062217, -0.0501579307, 0.0143008493, 0.0615645684, -0.0177005529, -0.0018910147, -0.0035102658, 0.0140536111, 0.03140755, 0.0421430022, 0.0297046043, -0.0473224148, -0.0277392641, 0.0334659182, -0.0001082614, 0.034748368, 0.0004781066, 0.0032663092, 0.0046664039, -0.0606880747, 0.0390904248, -0.0579379089, 0.0725339055, -0.0365833007, 0.0282394718, 0.0425686315, 0.0506282896, -0.0088040587, 0.0101648774, 0.0520973876, 0.0057182927, 0.0252493024, 0.0196360331, 0.0944331661, 0.0446000919, -0.0399569049, 0.0446005613, 0.0455754623, -0.0056887558, 0.001466704, 0.046324186, 0.012749102, 0.0483085699, 0.0460050441, -0.0225141328, -0.0214173552, 0.0086719049, 0.0158059094, -0.0277635232, -0.0426549874, -0.037223503, 0.0032385697, -0.041625265, -0.076817207, 0.0123811774, -0.0390119813, 0.0091375681, -0.0137495985, 0.0001731556, 0.0323075391, -0.0835967585, 0.0664702356, 0.0246533286, 0.0177861378, 0.0595511869, -0.0223715305, 0.0545794219, 0.0131659377, 0.0324050635, 0.0070671882, -0.0258603655, 0.0152510805, -0.0370882004, -0.0293460954, 0.0176379886, -0.0014682219, -0.0723497346, 0.0542735234, -0.0691279843, 0.017017588, -0.0087248478, -0.012739093, -0.0085138083, 0.0524501689, -0.009558863, 0.0502030738, -0.0088422019, -0.050096482, 0.0402635895, -0.0282578617, -0.018601805, 0.0815754831, -0.0210452452, 0.0116957854, 0.0086627351, 0.036339622, 0.0278189424, 0.0127825597, -0.016339438, -0.0228746496, 0.0060675116, -0.0147356493, 0.021894509, -0.0373772085, -0.051519569, 0.0074540288, -0.1233339757, 0.0074996478, 0.0425019413, -0.0230368823, -0.0339146927, 0.0087440647, 0.0372261256, -0.0504582636, 0.0183916409, 0.0360623337, -0.024784036, 0.0374327973, 0.0206311867, 0.0143673336, -0.0078125764, 0.0048617688, -0.0267164987, -0.0138560031, 0.0817664564, 0.004085076, -0.0487291962, -0.0005178417, 0.0269465279, -0.0575762354, 0.026593484, -0.0465008244, 0.0148495259, 0.0068357633, -0.0356127918, 0.0278913192, 0.0141840922, -0.0084101101, -0.0426229797, 0.0011775329, -0.0444319919, -0.0574356467, 0.0120417932, -0.0224289931, 0.0026425917, -0.0021881715, 0.0004893708, -0.0483452044, -0.0126070147, 0.0256071519, -0.0360855646, -0.0476425886, -0.0079983482, 0.0509965494, 0.007440805, -0.0377025716, 0.0255922358, 0.0494713113, 0.0054883803, -0.0367227904, 0.0072456463, 0.0675970912, 0.0168709829, 0.0011529052, 0.0416764058, 0.0323106274, -0.0038914441, 0.092773214, 0.0254938751, 0.0242809225, 0.0279869903, -0.0426586792, -0.0626383796, 0.0271969326, 0.0353905782, 0.0135346521, 0.0280216187, 0.0026226009, 0.0298097301, 0.0344878286, -0.0030696627, -0.0082040643, 0.0039140708, -0.0162447821, -0.0279477518, 0.0038327146, 0.0226756092, 0.013266895, -0.0112456419, 0.0198899284, -0.0411044508, 0.0208161436, -0.0396085232, -0.0099953385, 0.040333882, 0.0246478394, -0.0056140278, -0.0201936346, -0.0120977871, -0.0004237349, 0.0631191507, 0.0188591629, -0.0654967949, -0.0292647965, 0.0206485335, -0.0212901775, 0.0094374986, -0.0404126048, -0.002669171, -0.0037412897, 0.0023168738, 0.0410559811, 0.0442755818, -0.0012168878, -0.0255516171, -0.0044366312, 0.0475183055, 0.0206678603, 0.0559490696, -0.0061717755, -0.1055916324, -0.0319030024, -0.0121245002, -0.0018912595, 0.0391288996, -0.0499453247, 0.0139952991, -0.0915162414, 0.0338198803, 0.0052917092, -0.0403762124, -0.0459692217, -0.0669084936, -0.0002897044, -0.0357822068, -0.0612430163, 0.0307502039, -0.0185629278, 0.005197031, -0.0201596897, 0.027058363, 0.0001207301, 0.0001258935, -0.0770773813, 0.0126950713, -0.0265934002, 0.0029722564, 0.0189649984, -0.0362931192, -0.0130366534, -0.0034879369, 0.0297213867, -0.0147463363, 0.0971381068, -0.0352760181, -0.0162130632, -0.0291032642, -0.0024793092, -0.0001924596, -0.0230117105, -0.0130029209, 0.081433624, -0.0211063493, 0.0089440225, -0.0308168791, 0.0281939097, -0.0094192959, 0.0180105306, -0.02345117, 0.007858783, 0.0162497871, 0.0181948487, 0.0876894817, -0.0093023684, 0.0213661324, 0.0227389671, -0.0521239415, 0.0412614569, -0.0464116447, -0.0486217551, 0.0291918702, 0.0624929629, 0.0211358257, 0.0354743712, -0.0252550747, -0.0212070365, -0.0869849473, 0.0292163454, -0.0286392309, 0.0127238873, 0.0438887775, 0.0043525374, 0.0507058352, -0.0572451279, -0.0252254102, -0.0156657044, -0.0395482667, -0.0231595822, -0.0817298591, 0.0557266362, -0.0032187703, 0.0717855915, 0.0133212926, -0.0480194092, 0.011221162, 0.0641131103, -0.0511477329, 0.0073289569, -0.0073824455, -0.0236271266, 0.0061740321, 0.0019149027, -0.0725955293, -0.0038991752, -0.0031173662, 0.0582230352, -0.0168599542, -0.0292779431, 0.0278588422, 0.0226329491, 0.0520626418, -0.0142557323, 0.033865571, -0.0619468689, -0.0075623924, 0.0247775912, -0.0281731784, -0.0318215787, 0.0262191407, 0.0062626731, 0.0288216472, 0.0123540135, -0.0450932793, 0.0198744424, 0.058460746, -0.0344276354, -0.0396754295, 0.0332790986, -0.0151982689, 0.0195904933, 0.033424519, -0.0150342369, 0.0168410819, 0.0217110906, 0.0059193573, -0.0307484679, 0.0704758838, 0.0338516533, -0.0269885883, -0.0702900663, -0.0004553274, 0.0042219544, 0.0144234132, -0.0412960984, 0.035559047, 0.0697849244, 0.0171762574, -0.0218635835, -0.0048536775, 0.0022481547, 0.0048433328, 0.0115193836, -0.0029940521, -0.0433627814, 0.0431011654, 0.0090227891, 0.0240582023, 0.0488493256, 0.0652636513, -0.0659540594, 0.0839227661, -0.0372507684, -0.0290771909, -0.0496059582, -0.0270299502, 0.0406926572, 0.0680037215, -0.0013057034, 0.023238359, -0.0046151895, -0.0845720023, 0.050531555, -0.0075303842, -0.0557978004, 0.0343226492, 0.0428992771, 0.0220342483, 0.0374592617, -0.066089347, -0.0182161424, -0.0007258829, -0.0092178248, -0.0021741784, 0.0045645419, -6.228278207e-33, -0.0409172177, -0.0314644575, 0.0457882062, -0.0095141726, -0.0366557464, -0.0241027009, 0.000096344, -0.0150844026, -0.0254636332, 0.0411723666, 0.0162841678, -0.021275064, -0.0212343317, 0.0105239647, 0.0102617294, -0.0018017959, 0.0217545889, 0.0229878221, 0.0470766835, 0.0141687244, 0.0243302938, 0.0489949398, 0.0683516935, -0.1347425431, 0.0170729272, 0.0216647536, -0.0046826117, 0.0219732635, 0.035366457, 0.0505566485, -0.0329576917, 0.046319779, 0.0210506152, -0.0087442547, -0.0070815771, -0.0362914987, -0.1345650256, -0.0234558694, 0.019171901, 0.0057977359, -0.0429650545, -0.0279012509, 0.0420459174, -0.03720925, 0.0507700555, -0.0569439344, 0.068217501, -0.0084825549, -0.0558604226, 0.0136708822, -0.0028883307, 0.0187381525, -0.0164064094, 0.0116505977, 0.0020811232, 0.0182853658, 0.0454647429, -0.0053189755, -0.0601505004, -0.0013190826, -0.0514986143, -0.0132454159, -0.0009178239, 0.0207377374, 0.0212125052, 0.0714545622, 0.0597900115, -0.0168474559, -0.0135361031, 0.006626273, -0.0114245163, 0.0313814096, -0.014696504, 0.0741475448, -0.0169566199, -0.0374228694, -0.0474037565, 0.0121916253, -0.0390548222, 0.0430242494, -0.0112222536, 0.0340720192, -0.0235062186, -0.0362990648, -0.0223717708, -0.0473582074, -0.0405463018, -0.05086869, 0.0183339156, 0.0069739181, -0.0107900277, 0.0349138901, 0.0293920804, -0.0255281162, -0.0305240098, 0.0413609482, 0.0170005094, 0.014207446, -0.0072295498, -0.0050637363, -0.0231619049, -0.0322037674, 0.0455686115, -0.0399734527, 0.0147683471, 0.0077798213, 0.0226031449, 0.0204369538, -0.0284888037, -0.0235883407, -0.0035021845, -0.0451030917, -0.0242633019, -0.0810781121, 0.0476864316, 0.0270904209, -0.0318391584, 0.0244210344, 0.0609762892, 0.0158444736, -0.0205938295, -0.0382815562, 0.0153426435, -0.0085672429, 0.0104239359, -0.0051436489, -0.0120032122, -0.0705245137, 0.0072946851, -0.0610372983, -0.0279432163, 0.02420168, 2.93e-7, 0.0101826107, 0.0128302369, 0.0193325356, -0.0001555128, -0.0263206996, 0.0171622299, 0.01004148, 0.0301594399, 0.0335100926, -0.0423609167, 0.0283451136, -0.0083713168, -0.0225128904, 0.0262847729, -0.0533468314, 0.0182630084, -0.0084855715, -0.0398266278, -0.0469788536, 0.0055086426, 0.0489485227, 0.0128365234, 0.0334659852, 0.00820815, 0.0230250116, -0.0854870752, 0.0783639327, -0.0138143012, -0.0086533381, -0.0219642762, 0.0070959828, 0.0135324402, -0.0174347591, 0.0701564103, 0.0182387754, 0.0049515027, 0.0794193074, -0.0196905769, -0.0001335222, -0.0142724505, 0.0075161806, 0.0094511714, -0.0077803298, -0.014163129, 0.0905916989, -0.063269347, -0.0053895828, 0.0293388739, -0.0864046961, -0.015185684, -0.021688696, 0.0295538791, -0.0384696685, 0.0035254851, 0.0135490745, 0.0340378992, -0.020049518, -0.0899428427, 0.0258228183, 0.0617422983, -0.0331311971, -0.0144984592, 0.0325724259, -0.0051460136, 0.0251105148, -0.0350153372, -0.0240555927, 2.160313186e-34, -0.011671898, -0.0170101281, 0.017014863, -0.0054457141, 0.0466266982, -0.0518079065, -0.0259986576, -0.0330496877, 0.0381891914, -0.0790039822, -0.0094072148 ]
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}.
Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks: 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.0435628816, 0.0155362524, -0.0204463676, 0.0373150334, -0.004622519, 0.0116092758, 0.004525532, 0.0202998929, 0.040098004, -0.0259171501, -0.0315261669, 0.0060153971, -0.0348928086, -0.0099011129, 0.0322392434, 0.0071937554, 0.07038977, -0.027805591, 0.0030840393, 0.0060605123, 0.0408349745, -0.034215562, -0.0221724119, 0.0114823012, -0.0031240552, -0.022309199, -0.0412370041, 0.0318204127, 0.0480069742, -0.0677632913, 0.022652017, 0.0217766687, -0.0221078284, 0.0288852695, 0.0000021669, -0.0638043135, -0.0508440249, -0.0053195753, -0.0392905995, 0.0018614085, -0.0250143558, -0.0409718007, -0.0187236313, 0.0502731279, -0.0555997491, 0.0155080268, 0.0366099589, 0.0579008795, 0.0836499929, 0.0950079858, 0.0119439103, -0.0245445427, 0.0549593158, -0.0039341827, 0.0530436598, -0.0630711019, -0.0023193259, -0.0401594043, -0.0344303772, 0.0013606362, -0.0095752431, -0.0354955234, 0.0234580059, 0.0128988782, -0.0514193624, -0.0222564749, -0.0466002747, -0.020073954, -0.0227524042, 0.0746160969, -0.0297646392, -0.0071538254, 0.0245678425, 0.0068086581, 0.0508200899, 0.0124206692, -0.0321925245, -0.0085985083, -0.0328309834, -0.0246266071, -0.0035965545, -0.0233402271, 0.0488512181, -0.0176061857, 0.0136392051, 0.0317831561, -0.0022027586, -0.033146143, 0.0102443593, -0.0372244343, 0.0019882203, -0.0383555554, 0.0065195542, 0.0278284028, -0.0009346867, 0.0125930617, -0.0559977666, -0.0155864079, 0.049704358, -0.0348210223, -0.0066293203, 0.0305880737, -0.0054053436, -0.0176518764, -0.0102335317, 0.0093589062, -0.0025087041, 0.0778855383, -0.0079289135, 0.0559345633, -0.0352446474, 0.006775476, 0.0170304552, 0.0551462024, 0.0047766697, 0.0459181853, -0.0419196114, 0.0457136296, -0.0176444463, 0.0226025563, -0.0475629419, 0.0207330566, -0.0067102155, 0.0286655668, 0.0082831122, -0.0246010739, -0.0398159586, -0.0105903922, 0.014502747, -0.0691263229, -0.0436602384, -0.0036734757, -0.0446838029, -0.0126026757, 0.0073667364, 0.109495528, 0.0125106005, -0.0109412521, -0.1036161557, -0.0808318481, -0.0314754657, -0.0043575359, 0.0309680533, -0.0572343096, -0.0029773652, -0.0326976143, 0.0053939377, -0.0273089819, 0.0113194594, 0.0131465383, -0.0307105873, 0.048328381, 0.0382161215, -0.0393508971, 0.0078564202, 0.0518551096, 0.0077058994, 0.0580035932, -0.0082993591, 0.0566341318, 0.0418738388, -0.0138766263, 0.0503462441, 0.0299099945, 0.0089249574, 0.0053379182, 0.0122524388, 0.0016038185, 0.0462047681, -0.0030510351, 0.0051083541, 0.0012359285, -0.0121948672, -0.0284221843, 0.0678564459, 0.0279993508, -0.0295413546, 0.0559987463, -0.0413699709, -0.0303671621, 0.0294404328, 0.0373882242, -0.0844829306, 0.0385169126, -0.1071115807, -0.002160934, -0.0252688341, 0.033287622, -0.0218920484, -0.0195169915, 0.0115561225, -0.0115972282, -0.0378887504, 0.0183749758, -0.0136363758, 0.0396329314, -0.0163070485, 0.0643100664, 0.0415387936, -0.0067953835, -0.0459693372, -0.0598277673, 0.0146084744, 0.0209380686, 0.0406073444, -0.0416713804, -0.0636088401, -0.0286757741, -0.0167646594, -0.0126102353, -0.0126350652, 0.0080063995, 0.0339716263, -0.0396569967, -0.0322753228, -0.0241418499, 0.0114791635, -0.0026473114, 0.0105096875, -0.0123980716, -0.0001368408, -0.0186241046, -0.000293223, 0.0519085303, 0.0223353263, -0.0482687987, 0.0133057898, 0.0489403009, 0.038682308, -0.0014023753, 0.0075952038, 0.0089727798, 0.0641031489, 0.0001895086, 0.0378528088, -0.0152344424, -0.0489793755, -0.0433977135, 0.0374786891, -0.0313249342, 0.0038001835, 0.0738966465, -0.0410693288, 0.0041018706, 0.0259290542, -0.0147751672, 0.0173260998, -0.0036117162, 0.033262331, -0.009564735, -0.0209526662, -0.0428704321, 0.0554239079, -0.0100908279, -0.0239708591, -0.0506636836, -0.0047761267, 0.0119053852, 0.0239362512, -0.0120499255, -0.0060777212, -0.0735970214, 0.0216739643, -0.005535956, 0.0181202907, -0.059384644, -0.0277454443, -0.0555345118, 0.0095838476, -0.0336782038, 0.0434935354, 0.0401180014, 0.0316487402, -0.0266054329, -0.0471920818, -0.0288932342, 0.0143311648, -0.0109930187, 0.0117408447, 0.009077318, -0.0179407727, -0.0205754451, -0.0175983682, 0.0067571239, -0.0183255728, 0.0129427221, -0.0292448141, -0.0091609936, 0.0169873815, 0.0121239182, -0.0272243209, -0.0078697177, -0.0108239586, -0.0600004233, 0.0357128568, 0.0148248598, -0.0146733895, 0.0613332652, 0.034397427, 0.0232172105, 0.0717474297, 0.0362460092, -0.0442717187, 0.0077735004, 0.0298443045, -0.0687250793, -0.03833827, -0.0213337317, 0.0249951128, 0.0218070559, 0.0224103779, 0.022298174, 0.0010237462, 0.0166116897, 0.0192351639, -0.0484986268, -0.0261913836, -0.0008404125, -0.0544351637, -0.0017943986, -0.0354635715, -0.0801298916, 0.0736964867, 0.0191257428, 0.0288318172, -0.0393644832, -0.0368957072, -0.0028536932, 0.040288575, -0.0472358875, 0.0208584704, 0.0651168749, -0.0575798564, -0.0654524788, -0.0329738334, 0.0244246889, -0.0257304739, 0.0397128873, -0.0377014503, -0.0240773484, -0.002835874, -0.0633287653, -0.0738477781, -0.0815848261, -0.0040318798, -0.050520841, 0.0037831515, -0.0202729106, -0.0073544909, -0.0517188795, 0.0279551819, -0.0479506627, -0.0198656823, -0.023708174, -0.027403336, 0.0565137491, 0.0476517193, -0.0432138108, 0.0124921259, -0.008491681, 0.0490073152, 0.0965694636, 0.0620375834, -0.0164289977, 0.0150560616, 0.0421731174, 0.0100307977, -0.0259883273, -0.0116685079, 0.0537987798, 0.0542159267, -0.0141723342, -0.0300381165, 0.042634394, 0.0320709385, 0.0012032801, 0.0250967257, 0.0096228188, 0.0222942103, 0.0223611314, 0.0244793147, -0.0536428243, -0.0452542007, 0.0062162587, 0.075213708, -0.0053790314, -0.0161583778, 0.0031452174, -0.0876603425, -0.0164335854, 0.0347144343, -0.0354918763, 0.0091582639, -0.0319770053, -0.0234015882, 0.0170685574, 0.0240002945, 0.0059624952, -0.0265248735, -0.0080380021, 0.0305844676, -0.0377660431, 0.0036393318, -0.0033826809, -0.0537463427, 0.04598758, 0.0908258408, -0.0175665561, -0.0268974174, 0.0062628523, 0.0293149557, 0.0015024724, 0.0207628198, 0.0002619163, 0.0342880003, 0.0212745238, 0.0070693162, -0.0150866434, 0.0617404766, -0.0008175317, -0.0335840508, 0.0716077387, 0.0384694189, -0.0300713629, -0.003589534, -0.0350008011, -0.0193977598, -0.0005671821, 0.0153221553, 0.0287562571, -0.0159487166, -0.0175836012, -0.0679659545, -0.029084038, -0.0295124613, -0.004371231, 0.0292155556, 0.0201008487, 0.0131619358, -0.0515397377, -0.0000943776, -0.0335061066, 0.061540436, 0.0220482312, -0.0296480246, -0.0466343202, 0.0364093669, -0.0466467179, -0.0183363222, -0.0136746373, 0.0039089471, -0.058654353, 0.0514258035, -0.0004666205, -0.016277805, 0.0028403874, 0.0153401084, -0.0518580861, -0.0675995648, 0.004909846, 0.0828368887, 0.0251857042, 0.0126260919, -0.0383401364, -0.0316147804, 0.0799117014, 0.1159302816, -0.0782481059, 0.0023978399, 0.0543140508, -0.0100220973, 0.0023087601, 0.0130233895, -0.026329685, -0.0306420717, 0.0700303614, 0.0125903143, -0.0571179017, -0.0186952576, 0.0308618229, 0.0372143537, 0.0353613198, 0.0122509534, -0.0038312976, 0.0547901616, 0.0361959264, 0.042847544, -0.0245055612, 0.0433823988, 0.0157755464, 0.0263501573, -0.0335113145, 0.0231623705, 0.0261823907, 0.0114578335, 0.0178569332, -0.028177578, 0.0038390297, 0.04460942, 0.0474518538, 0.0244798567, 0.0200152658, -0.0151622333, 0.0532606952, 0.0516744331, 0.0268185344, 0.0086175865, 0.0433720872, -0.0332304575, 0.0258314926, -0.0304148551, 0.0502839237, -0.0817671567, -0.0562237464, -0.0053189606, 0.0672336146, 0.0020731241, 0.019003395, -0.0391843431, 0.0251694098, 0.0003434494, -0.022930406, -0.0223948024, -0.0322677605, -0.0248047728, 0.0424920246, 0.0119551681, -0.0054278574, -0.0092804283, 0.0707536489, -0.0148238083, 0.0659075081, 0.0156940576, -0.0190764442, -0.0462101661, 0.0139883878, 0.0726066083, 0.0605780147, -0.0241085999, -0.0549121052, -0.052873008, -0.0596742406, -0.0058425898, -0.0028255505, 0.0568546131, 0.0213947371, 0.004737556, 0.0377657376, 0.0013933859, 0.003203149, -0.021917155, 0.0189024769, -0.0232811011, -0.0518943593, 0.006941149, -6.150244484e-33, 0.0254854597, -0.0244007744, -0.0344490148, -0.0292050503, -0.0090850331, -0.0323452353, -0.0166717488, 0.017830791, -0.0399917662, -0.0350097045, -0.0282683019, 0.0106013902, -0.0017151603, -0.015969282, -0.0180083774, -0.0854236484, -0.001711915, 0.0013385664, -0.0396453179, 0.0395110585, 0.059105847, 0.05506685, 0.0048693381, -0.0607740358, 0.0266835112, -0.0413690954, -0.0119614555, 0.0124416044, -0.0445004478, 0.0700899959, 0.013744507, 0.0196898375, 0.0045317947, -0.0135403965, 0.0167121105, 0.0512538366, -0.0226208288, -0.0422144048, -0.0097213248, -0.0293222889, 0.0063770465, -0.068782337, 0.0526067056, -0.0112930834, -0.0061749322, -0.0286163613, -0.0006428988, 0.0024230911, -0.0208816938, -0.0567441322, -0.0094356341, -0.030501809, -0.0322658196, -0.0427664705, -0.0505086705, 0.0205458254, -0.0002689784, -0.0132981995, -0.0142494701, 0.018985698, 0.0186246391, 0.0066032275, 0.0233677551, 0.0067723314, -0.0329389088, 0.0622547828, -0.0355248787, -0.0339985006, 0.0333633684, -0.0123182321, -0.008365145, 0.0565933846, 0.0552582294, 0.0738601536, 0.069613412, -0.0305793602, -0.1208819747, 0.0386960655, 0.0103052799, 0.0379936956, -0.0265248213, 0.0118472045, -0.0424999483, 0.001660936, -0.0121744974, 0.0366911329, -0.025253024, -0.0414662175, 0.0435122326, -0.0143886562, -0.0351154916, -0.0473133549, -0.0173257571, -0.041956827, 0.038853731, 0.0167981684, 0.0331832692, -0.0046083541, -0.011951332, -0.0096234465, -0.0099252108, -0.0025279501, 0.0098983673, -0.0712316036, 0.0393494852, -0.0172566175, 0.0592233576, 0.0403556116, -0.0518468469, -0.0181369856, -0.0298097488, 0.0262328107, 0.0357819051, -0.0019875776, -0.0036914225, -0.0047841347, 0.0175940972, -0.0154136233, 0.0471757799, 0.0116474191, -0.051703956, 0.005207906, -0.0185789485, 0.0293919723, 0.008040227, 0.005261831, 0.0210758708, 0.0199750587, -0.008605537, -0.0768730938, -0.0032569775, 0.007762244, 2.923e-7, -0.0509184785, -0.0253191739, 0.0273260884, -0.0096254945, 0.0115509843, 0.0799636692, -0.018207239, 0.0864846632, 0.021212738, -0.0652813539, 0.0050947345, -0.0153549127, 0.0604978874, 0.0523310415, -0.0783320889, -0.006211536, -0.0477132052, -0.0013050974, -0.0537825115, -0.0145795764, 0.0413587391, 0.080926992, 0.0036710685, -0.0355572887, 0.0095424894, -0.0432216302, 0.010523444, 0.017692741, -0.0057542147, -0.0075406567, 0.0273699071, 0.0156922806, -0.0044509554, 0.0234774407, -0.0471977368, -0.0385752432, -0.0508889854, 0.0159836709, 0.0170165412, -0.0477434881, -0.0238488615, -0.014433275, 0.0428043716, -0.0325572491, 0.0660619587, 0.0122273238, -0.0118504493, 0.045650553, 0.01578518, -0.0409183726, 0.0258313026, -0.0096331555, 0.0125479419, -0.0036345872, 0.0175329018, 0.0315727293, 0.019237645, -0.0468413904, -0.0217237268, 0.0225448553, 0.0304893274, -0.0544219799, -0.0029831983, 0.0470554642, 0.0042719473, -0.0478272364, 0.0052561611, 2.836473608e-34, -0.0362336598, -0.0438743569, 0.0356393903, 0.0226005837, 0.0223724227, 0.0090826573, 0.0411509201, 0.0133082243, 0.0305683557, -0.0238095503, -0.0002385543 ]
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.
Universal Gloss-level Representation for Gloss-free Sign Language Translation and Production: 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.0487496108, 0.0184068717, 0.0052532116, 0.0456619933, -0.0047016023, 0.0411146209, 0.0676904693, -0.0007179297, 0.0878342018, -0.051630225, -0.0370175242, -0.000196046, 0.0196036827, 0.0212302767, 0.0175744798, -0.072774969, 0.0418897122, -0.0215287264, -0.0477927737, -0.0324511603, 0.0087831188, 0.0376134738, -0.052637402, 0.0434797443, -0.0652748719, -0.0268323421, 0.0013749273, 0.030670749, 0.0065444782, -0.0060749324, -0.0713768601, 0.0523157381, 0.0578851067, 0.0334669128, 0.00000216, -0.0264961161, 0.0100005763, -0.0033068445, 0.0268877037, 0.0043432186, 0.050943844, -0.0742648616, -0.0109758889, 0.0280722845, -0.0160716567, -0.0910827219, 0.0314892493, 0.0464034118, 0.0178364385, 0.0041334648, -0.0201064013, -0.03555521, -0.0010405843, -0.0219452679, 0.003975661, -0.0104054045, -0.0257605854, 0.0058015021, -0.0277374759, -0.0411399119, -0.0383082256, 0.0963467956, -0.0127983326, -0.0434407778, -0.0205428079, 0.0109156957, -0.0277583394, 0.0182008371, 0.0003984157, 0.0607434958, -0.0331199877, 0.0054924679, 0.0073778201, -0.0216850135, 0.0159464907, 0.0302847587, -0.0089084022, 0.0247706547, 0.0161250122, 0.0084029771, -0.0456620716, 0.0284880176, 0.0467725731, -0.0543571077, -0.0015572604, 0.0069063501, 0.0172064472, 0.0299007762, -0.0092843417, -0.0380421989, 0.030968342, -0.0068896161, 0.034847945, -0.0156506468, 0.0385713652, -0.0257933512, -0.0159208998, -0.0093041742, -0.0041105547, -0.042748753, -0.0016204452, 0.0543142185, -0.0348115191, 0.030762529, -0.0042240596, 0.005470654, -0.0185525082, 0.0767912939, -0.045101881, 0.02329324, -0.0067027947, 0.0015395059, -0.0600207336, -0.0266213529, -0.0264847558, -0.0230522677, -0.015677793, -0.0009416747, 0.0019414884, -0.0331648961, 0.0218618214, 0.0167759322, -0.0113138799, -0.0043447628, 0.0168824345, 0.037131235, 0.0085012261, 0.0353315659, -0.0413265489, -0.0430854261, -0.0012166471, 0.0429559425, 0.0232787021, 0.0351771861, -0.0065053999, 0.1093851328, -0.0261408519, -0.0284394827, -0.0206169486, 0.0143211754, -0.0145682283, -0.0102160089, -0.0091030318, -0.0467203446, 0.0312675647, -0.0066536986, 0.0179194231, -0.0858673006, -0.0174678657, -0.0344966464, 0.0396601446, 0.0692522302, -0.0085504707, 0.0039742761, 0.0339120999, -0.0068740686, -0.0139865316, 0.0384116769, 0.058815714, 0.0118633984, 0.0103368284, -0.0265700053, 0.0126351388, 0.0602253862, -0.0297870133, -0.00392297, -0.033828523, -0.0609696358, 0.0268198531, 0.0390608422, 0.0204028394, 0.0332494713, -0.0156717524, -0.0541412421, 0.0320506021, 0.0744651854, 0.0484655462, -0.0147249131, 0.0372685678, 0.0196577571, -0.0015673279, -0.0310157761, 0.0062105251, 0.0014824594, 0.0325529873, -0.0536916927, -0.0274514016, 0.0068571209, -0.0506180897, -0.0118448045, -0.02274541, -0.0515428558, 0.0475628674, -0.0052864715, 0.03163803, 0.0264666528, -0.0141584957, -0.0320059583, 0.0047950563, -0.0372528285, 0.0244291108, -0.0196418948, -0.020167442, 0.0288255643, 0.0048585543, 0.0028364712, -0.0277289115, -0.0185069963, -0.0133908466, 0.0455052592, 0.0068393047, 0.0024818336, 0.040501643, -0.0460934564, -0.0218954869, 0.0432361625, -0.0006746724, 0.0219352804, -0.0833363757, 0.0556465872, 0.0199232083, -0.0487184152, -0.0238266941, 0.0569151714, 0.0108547984, -0.0582855083, 0.0642865375, -0.0140769705, 0.0404535346, 0.0372233018, -0.0091361422, -0.0182345528, 0.0253213663, -0.0341883451, -0.0285050441, 0.0638368577, -0.0498459227, -0.0675914958, 0.0163499583, -0.0305966046, -0.0233615357, -0.0009364844, -0.0018265197, -0.0564241484, 0.0308529586, -0.0013429873, 0.0522295013, -0.0473545305, -0.006198456, 0.0318189897, -0.005484092, -0.0287594013, -0.0002282897, 0.0137802064, -0.062252108, -0.0601544455, -0.0135824652, 0.0469523109, -0.0404203981, -0.0086639235, 0.0576242954, -0.0029707092, 0.037206769, -0.0001873327, 0.0378644951, -0.0133325923, 0.0106950235, -0.1004133075, -0.0127412919, -0.0078611849, 0.0100582205, -0.0029189729, -0.0023882401, 0.0132168112, -0.0460737236, -0.0308707599, 0.0127995824, 0.0402155221, -0.0621002838, -0.0305984691, -0.0133327991, -0.0149926338, -0.015694201, 0.0046570706, 0.0007538879, 0.0035255349, 0.0357350297, -0.0497732721, -0.0292640626, -0.0442466773, 0.0039432449, 0.0260940306, 0.0115599222, -0.0044049546, 0.0362187326, -0.0039990852, -0.0676950589, -0.0357041098, -0.0099538798, -0.0039974726, 0.0297007822, -0.0276260562, -0.0495479703, -0.0139449434, -0.0065565575, 0.0290809292, -0.0533668548, 0.030593602, -0.0177157968, 0.0541569479, 0.0706804171, 0.0283084065, -0.0679974109, -0.062766701, -0.0212283693, -0.0522360317, -0.0273948591, 0.0274090264, -0.0344876833, -0.0321776532, 0.0071663102, -0.0813396946, -0.00307985, -0.0728487372, -0.0369546227, 0.0135511728, 0.0124753444, -0.0406007506, 0.0796920136, -0.0348631069, 0.0387123041, -0.0650776029, -0.0756372064, -0.0070843757, 0.043172814, 0.0217439886, -0.01206173, -0.0094354944, -0.0561368018, 0.0266641546, -0.0094920322, 0.0402262062, -0.0070702471, 0.0214988347, 0.0071206605, -0.0057695974, -0.0072036283, -0.0513739362, -0.0211805832, 0.0121878553, -0.0092853531, 0.0885116234, 0.0244220831, -0.0011001732, -0.0147365574, -0.0134569015, -0.0032570581, 0.0347015411, -0.0413819738, 0.0022123866, -0.0160708968, 0.0108255576, -0.031913273, 0.0185684767, -0.0599152073, 0.0043332274, 0.041251339, 0.0131560164, 0.0031277321, 0.008296893, 0.0108206272, -0.0085199457, 0.0334730633, 0.0834356248, 0.006801453, -0.0777909607, 0.0153556159, 0.0256103482, -0.0183376223, 0.0021229996, -0.0292808153, -0.0803711563, -0.0700913966, -0.0015684913, 0.0706684291, 0.0824630186, 0.0145458849, 0.00151947, -0.0068169395, 0.0483950637, 0.0623220056, -0.0809506774, -0.0166545678, -0.0031480067, 0.0184799396, 0.0003196393, 0.0321139544, -0.010356308, -0.0287459046, -0.0348749347, 0.0155998105, -0.032736659, -0.080380924, 0.005839535, 0.0113310637, 0.0458771549, 0.0153108109, 0.0156037053, 0.0177193675, -0.0226166919, 0.0650905296, -0.0006787096, -0.0021065266, -0.051334478, 0.049617853, -0.0104383789, -0.0243940353, 0.0200758409, 0.0550671592, -0.102512978, 0.0042542438, 0.009918767, 0.0364804938, -0.036305178, -0.0040370193, 0.0037170674, -0.0538782664, 0.0029877755, 0.0311217401, -0.006637536, -0.0221145619, 0.0009349097, -0.0077787386, 0.0217781831, 0.0860832483, -0.0687039644, 0.0191825684, -0.0276270956, -0.074867636, -0.0357195586, -0.0316158459, 0.068029061, 0.0505120158, 0.0105552496, 0.0250529144, 0.0545777828, -0.0045812423, -0.0348577164, 0.0395492613, -0.03381183, 0.0144036561, -0.0373771079, -0.0700392574, -0.026785979, 0.0106209209, 0.0127937905, 0.0466676801, -0.0203527939, -0.0485094674, 0.0254466105, 0.0165918469, 0.0164573155, -0.0058376971, -0.0166842937, -0.026579801, 0.001270121, 0.0412000157, 0.0140168685, 0.0383160412, 0.0158143397, -0.0393897705, -0.023705801, 0.01019873, 0.0174205825, 0.0426562279, -0.0436377041, 0.0096002035, -0.0884254128, -0.0300406124, -0.0132176504, 0.0252220444, 0.0185411144, -0.0190588646, -0.0041228528, -0.0763123184, 0.0045454623, -0.0367642194, 0.0307338815, -0.0912492573, -0.0093045337, 0.0529636778, -0.0124340616, -0.0037832821, 0.0046226853, -0.0293059461, 0.0059364582, 0.0086334161, 0.0382513739, 0.0064666281, 0.0112368083, -0.0349319577, 0.0479802899, 0.0099060722, 0.0562095866, -0.0231784489, -0.0034053458, 0.009123194, 0.0155325644, 0.0078666881, 0.0202483702, 0.021563964, 0.0141653828, 0.052483689, -0.0890232399, -0.0377222076, 0.0197193194, 0.0075221271, 0.0341375507, 0.0803417042, -0.0284274183, 0.0394500345, -0.0375920907, 0.0577238016, -0.0120394453, -0.0220385492, 0.0164505988, -0.0379864164, -0.0487960428, 0.0005280852, 0.0269229542, -0.0577902123, -0.0135002444, -0.0456788577, 0.0156220924, -0.0458249636, -0.0421080291, 0.0264567044, -0.0250112452, -0.0191989038, 0.0235164706, -0.02141455, -0.0272828527, -0.0009326328, -0.0140945129, 0.0007607475, 0.0208317526, 0.0514653735, -0.0319704935, -0.0111451158, 0.0103729507, -0.0041072955, -0.0533587225, -0.0182640478, -0.0138940951, -0.0165682565, -5.759465346e-33, -0.0474643819, -0.0554357991, -0.0157807209, 0.0007300705, -0.020492278, 0.022933552, -0.0396010019, 0.0463128686, 0.0225678347, 0.0259369351, 0.0339061879, -0.0114147468, 0.0062640272, -0.0041223997, 0.0243176166, -0.0107147461, 0.0281087924, -0.0346540324, -0.010975129, 0.055189997, 0.0696524158, 0.0083915275, 0.0978373885, -0.1313639283, -0.0275198519, -0.0219469573, -0.0513239801, -0.0032063585, 0.004707139, -0.0069775591, -0.0510691665, 0.020800937, 0.0000278815, 0.0580740273, -0.0081948517, -0.0015480638, -0.0394208841, 0.002065555, -0.0411921106, 0.0784199163, -0.0682266578, 0.0394254364, 0.0056913337, 0.0002969906, -0.0414405987, 0.0198612958, 0.0320725329, -0.0029219284, -0.0111397477, -0.0097700609, -0.0283851754, 0.0591795295, -0.0315532014, -0.0193476845, 0.0384277366, -0.0035439085, -0.0144139389, -0.0522361808, -0.024157254, 0.0015246036, -0.0310606789, 0.0121825635, 0.0853714719, -0.042791836, 0.007649234, 0.0462927148, 0.0377993435, -0.0614709631, 0.0277850889, -0.0321118757, 0.0816255733, 0.0278406665, -0.0178216156, 0.0561249368, 0.0298992302, -0.0248767808, -0.0007704921, 0.0194365866, 0.0378396548, 0.0521113351, -0.0456516258, 0.0413849056, 0.0003482678, 0.0090566706, -0.0608550683, 0.014249417, 0.026131954, -0.0259677209, 0.0462136939, 0.0161619056, -0.0170899127, 0.0153348316, 0.0740499422, 0.0229704436, -0.0157847907, -0.024805462, -0.0021031925, 0.033476714, 0.0063240216, 0.0183287878, -0.0081351884, -0.046311073, 0.0495729633, -0.0390467979, 0.0697103739, -0.0217842441, -0.0026253317, 0.0853920355, -0.0360141955, 0.0235609524, -0.0147057371, 0.0062499633, 0.0015966104, -0.0227978379, 0.0484892242, -0.0392722785, -0.0123180598, 0.0423481837, -0.0107538812, 0.0115249325, 0.0053488342, 0.027695816, 0.0035617664, 0.0190651119, -0.0423270687, 0.0155770695, 0.0167597085, -0.0339229628, 0.0760089457, -0.047727406, 0.0167031735, 0.0187622439, 2.73e-7, 0.0543161742, 0.0334110856, 0.0186268594, 0.0644829646, 0.0213010553, 0.0265149903, 0.0059343479, 0.0219197683, -0.0131469704, 0.041738674, 0.0085466532, 0.0124885226, 0.0324413218, 0.0287402123, -0.0294316672, 0.0595621169, -0.0027069801, 0.0720437244, -0.0246328972, 0.0252147205, 0.0482225232, 0.0377310514, -0.0144935567, -0.0043508671, 0.0366963446, -0.0732437745, 0.0781834871, -0.0470182523, 0.0420689471, -0.0186817441, 0.0621353462, -0.013073111, -0.0292282738, -0.0105382707, -0.0108728167, 0.0156775229, 0.0258389302, 0.0292869676, -0.0680393651, -0.016348578, 0.0409955531, 0.0067907851, -0.0218025297, 0.0020691273, 0.0533072874, -0.0152523676, -0.0033755703, -0.0147678778, -0.0175659135, 0.0127134314, 0.0442734659, 0.0000601851, 0.0100382799, 0.0498716421, 0.0286439415, -0.0616026074, -0.0263418108, -0.055970598, -0.0026117782, -0.0099804308, -0.0320332572, 0.0443768054, 0.0158266611, 0.0204707533, -0.0208743289, -0.0195329245, -0.0284456145, 2.099800023e-34, 0.0023729273, 0.0090655033, 0.0222438555, 0.0102620609, -0.0198227111, -0.0271164086, 0.0454567894, 0.0586682037, -0.0192981958, -0.0096906656, -0.0351803005 ]
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/.
MindBench: A Comprehensive Benchmark for Mind Map Structure Recognition and Analysis: 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.0301050954, 0.0490868054, -0.0019740383, 0.0827101246, -0.0176886413, 0.0405321643, -0.011541333, -0.0002898988, 0.0516661853, -0.041143693, -0.0662796348, -0.0286785699, 0.0040675933, 0.0174532905, 0.0176218171, -0.0897523165, 0.0321104787, -0.0476247258, 0.0022467384, 0.0413868092, 0.0100584319, 0.0086292643, -0.0133940689, 0.0097783431, -0.0103121074, -0.0428824909, -0.0350123458, 0.0076276292, 0.034427315, -0.0631134957, -0.0030190793, 0.0157357287, 0.0166948624, 0.0378786139, 0.0000020509, -0.0216342229, -0.0179974753, -0.0087692942, 0.0217860676, -0.0307055321, 0.0117574986, -0.0802963004, -0.0005845209, -0.0271685813, -0.0491391197, -0.0393676423, 0.0469716117, 0.0625507236, 0.0733106956, 0.0644491911, -0.0317334086, -0.0413840823, 0.0443703122, 0.0008818832, 0.0157159958, -0.058642365, 0.0026517413, 0.0494894907, -0.002625742, -0.015289559, -0.0247810055, 0.0210098792, 0.0229628738, -0.0243212637, 0.0136287045, 0.0298008788, -0.0237964261, -0.0285431184, -0.0164492466, 0.1102510542, -0.0287378654, 0.0140609704, 0.0221998822, -0.0157722775, -0.0330776684, -0.0000226653, -0.0567196608, 0.0195831116, -0.0439760014, 0.0194527172, 0.0092385653, -0.0013109742, -0.0031219586, 0.005367978, -0.022843387, 0.0670846403, -0.0156760793, 0.001144783, 0.0166487154, 0.0104677519, -0.0342909433, -0.0598625205, 0.010107086, 0.0409561843, 0.0327767283, 0.0042041689, -0.0416058861, -0.071875155, -0.0106513156, -0.0732040778, 0.0472772792, 0.0162657965, -0.0447443277, 0.1045425534, -0.0307152998, 0.0782445148, -0.0432939567, 0.0299319923, -0.0418593362, 0.0036913424, -0.0071114027, 0.0127439499, -0.0306904502, 0.0046421182, -0.062632069, -0.0683637485, 0.0201761685, 0.0167122874, 0.0067110867, 0.0342752486, -0.0270922631, -0.0099582709, -0.0042378688, -0.0185072459, -0.0085859997, 0.0308070537, -0.0286563579, -0.0191458613, -0.0405738652, -0.022227047, -0.000382272, 0.0749209449, 0.012190545, -0.0336237885, -0.0192734115, 0.092202343, -0.0062189498, -0.0264996123, -0.0310819671, -0.0245620161, 0.0004689602, -0.066071853, 0.091450423, -0.058783859, 0.0227572434, -0.0022676287, -0.0100370115, 0.0148687763, 0.0180857386, 0.0035778452, -0.0285619125, 0.07020697, -0.0195257198, -0.0046618502, 0.0260856282, 0.0116099138, 0.0030590473, 0.0740135759, 0.0332308374, 0.0274797939, 0.0481160432, -0.0124575729, -0.0337833539, 0.0677593723, -0.0151399057, -0.0177544281, -0.0034716877, 0.0478406958, 0.0437015258, 0.0249540899, 0.057906013, 0.0471461043, -0.0389781147, -0.0183148514, 0.0345812812, 0.0686958954, -0.0166100189, -0.0331402309, -0.0074158954, 0.0166582242, 0.041829709, 0.0270003453, -0.0683013126, 0.0391906351, 0.0104197823, 0.0104191098, -0.0099869976, 0.015104007, -0.0022503471, -0.0040452951, -0.0228105076, -0.0026346445, 0.0019297801, -0.0209012721, 0.0458368994, 0.007530015, -0.0186340027, 0.0508804284, -0.0114969956, -0.014445845, -0.0106426245, 0.0129706673, 0.0114164576, 0.039392516, 0.0419518352, -0.0298285522, -0.0168818273, -0.0022124762, 0.0089923684, 0.0441736914, 0.0214383882, -0.0147051513, 0.0316627771, -0.0656443015, -0.0306141041, -0.0154557982, -0.0128142284, 0.0035241952, 0.0116317756, 0.0007055638, -0.0048651183, -0.0518453531, 0.0049982355, 0.0351340473, 0.0049288394, -0.0221916549, -0.0158753935, 0.0075273835, 0.0069239126, 0.0138817253, -0.0225646179, -0.0090275267, 0.0290383585, -0.04740569, 0.0643145815, 0.0041886917, -0.0488448255, -0.0482095033, 0.0334507376, -0.0267809834, -0.0361646265, 0.0181056149, -0.0522191226, -0.0418906249, -0.02986045, -0.0276409555, -0.0059704734, -0.0244870894, -0.0075546918, 0.0243116505, 0.014982461, -0.0406717844, 0.0683230683, -0.0451256856, 0.0213046223, 0.0184700452, -0.0362402461, 0.038285289, -0.0135000776, -0.0051795426, 0.0568641722, 0.0170554258, -0.0172475241, -0.027851576, 0.0305090994, -0.0539488383, -0.0109716933, -0.1060454026, -0.0158591736, -0.0285823513, 0.0392366089, 0.05975179, -0.0159551557, -0.0123544838, -0.0639598817, -0.0505412221, 0.0323991925, 0.0361395814, -0.0008432292, 0.0369711071, -0.0010217361, 0.0081477063, -0.0282087624, -0.0017596189, -0.0228909012, 0.0427035429, 0.032231696, -0.0637548417, -0.026026845, 0.0148772188, 0.0064423783, 0.0467061736, -0.0115711521, -0.0054977839, 0.0122061595, -0.0305847265, 0.0164856501, 0.0956382453, -0.0182836335, 0.0015037959, 0.0108755464, -0.0447956845, -0.0203474965, 0.0139942709, 0.0437470563, 0.0713140294, -0.045974914, -0.0327552818, -0.0074298317, 0.0551999435, 0.0118583078, 0.0452364236, -0.0172841996, 0.0050964053, -0.0162824951, -0.0217995718, -0.0408843234, 0.0314557441, 0.0183880683, 0.046599023, -0.0666973218, -0.0581960529, 0.0313669145, -0.0664328113, -0.0157103017, -0.008020605, 0.0214116015, -0.0770252347, 0.1054062247, 0.0394761898, 0.028705379, -0.0242413376, -0.0294107832, -0.0248875096, -0.0057811867, -0.0084548015, -0.0127989752, -0.0089835655, -0.0669270232, 0.02525937, -0.0497540981, -0.0175136179, -0.0289896894, 0.0070149344, -0.0330583975, 0.0007439704, 0.018367067, -0.0371621065, 0.0211966503, 0.0333641209, 0.0279192179, 0.049842149, -0.0325416364, 0.0131746307, -0.0369531028, 0.0890058652, 0.0613139607, 0.0357318483, 0.0232260823, -0.0556492507, 0.0122744748, 0.0592142642, -0.0106784413, 0.0176434312, -0.026940275, 0.0417641066, 0.0104873925, 0.0156159289, -0.0068239872, -0.0121261897, 0.0662264675, -0.0581766553, 0.0029546118, 0.0876022354, 0.0218152609, -0.0440014303, -0.0373414457, -0.0336470269, 0.0266557783, 0.0184645858, 0.0252827946, -0.0940102413, -0.0314616114, -0.0083649894, -0.0102017391, 0.0374170989, -0.0387055315, 0.018897064, -0.0813136548, 0.049638059, -0.0075571802, -0.0579020306, -0.0063643781, -0.0115051176, 0.0077579464, 0.0179235227, -0.0400370508, -0.0275916252, -0.0029179284, -0.0167474598, -0.0180926397, -0.0182036199, -0.0107906964, 0.004753605, -0.0504559353, -0.0103102084, 0.0643971711, 0.0504694432, 0.0335326828, -0.0582634471, 0.0519974791, 0.0097242007, 0.0007929326, -0.0117793391, 0.0621547736, 0.0039334116, -0.0228673182, -0.0071216696, 0.0315531194, -0.0435006022, 0.013298993, -0.0008034182, 0.0592701957, -0.0232483801, 0.029015502, -0.0294107422, 0.0069048656, -0.0048983013, 0.0572550632, 0.0490308665, -0.0125094801, -0.0689338893, -0.0338221602, 0.0370617248, -0.0776513144, -0.0056441776, 0.0338452458, -0.0058661695, 0.0193635803, -0.0563293025, -0.0314062312, 0.0306969825, 0.0167248603, -0.0014525253, -0.0163818207, 0.0396985114, -0.0288941637, -0.0327136628, 0.0629516169, -0.000254028, 0.0405602716, -0.0508817658, -0.006685073, -0.0227774531, -0.0243120175, -0.0133869769, 0.0262923148, -0.0984857753, -0.0295387991, -0.0143100843, 0.046946153, 0.0121863252, 0.0327858366, -0.0078966403, -0.0250666663, -0.05454427, -0.0107270023, -0.0505589098, -0.0018126684, 0.0041138874, 0.0126866195, -0.0250442512, 0.0065772007, -0.001556008, 0.0338835679, 0.0226475671, 0.0124480221, -0.0038416511, -0.0292252861, -0.0046748384, 0.0338283256, 0.0120899202, 0.0249294285, 0.0309539624, -0.0128492694, -0.002745263, -0.0155766495, -0.0287991073, -0.0450835377, -0.0212859567, 0.0251521952, -0.0023052439, 0.0058039757, 0.0280538388, 0.0168828294, 0.0070922179, -0.0171797592, 0.023860855, 0.0239755604, -0.0144330235, -0.0110861454, 0.0043065343, -0.0047127353, 0.0207045432, -0.0181524232, 0.068126671, 0.0007351507, 0.0836093724, 0.0124698905, -0.0546491928, -0.0150348442, 0.0357856899, -0.0403902084, -0.0567568317, 0.0006025743, 0.013328189, 0.068947807, -0.0269562975, 0.0637264624, -0.0058146613, -0.0085696811, -0.0093833469, 0.0182805266, 0.010823139, -0.0387490653, 0.0345312729, 0.0151724443, 0.0226618182, -0.020133784, 0.0473563299, 0.010314187, -0.002415284, 0.0163084641, -0.0083208578, -0.0490520559, 0.0135121131, 0.0054479567, 0.0273855925, -0.0007879009, 0.0273440704, -0.0322037078, -0.0338907056, 0.0420606583, 0.0347910933, -0.0115196444, 0.0074341577, 0.038918335, 0.0430966914, 0.0338047296, -0.0404643826, -0.0276967995, 0.0142786289, -0.0202625394, -0.0314236283, -0.0508132689, -6.196403943e-33, -0.0278300624, -0.0709100291, 0.0447066836, -0.0249688998, -0.0453570932, 0.0151281944, -0.05926897, -0.0124507416, -0.0110965315, -0.0167523958, 0.0035515931, -0.0102184722, 0.0098248636, 0.039038796, -0.0204872508, 0.0098336469, 0.0074289003, -0.0310818981, -0.0199265815, -0.0017222775, 0.0422901325, 0.0226009544, 0.0486501046, -0.0547909327, -0.0069522862, 0.0308338702, 0.0099715991, 0.0255757626, -0.0064618923, 0.0326985493, -0.0610376894, -0.0170654859, 0.0455139726, 0.0175736807, -0.0237273723, 0.0214802045, -0.121754244, 0.0044725095, 0.0084773768, 0.055254966, -0.0487639569, -0.0284376405, 0.0517824851, -0.0231873952, 0.0224149972, -0.0198739078, 0.0425365381, -0.0333781987, 0.0035663492, 0.0118510127, -0.0608016811, 0.054898411, 0.0037247704, -0.0030818207, 0.0414007455, 0.0645430088, 0.0061247433, 0.0432727411, -0.0856380239, -0.0098284166, -0.0169274397, 0.0226621367, 0.0730276629, 0.0383185372, 0.0144164776, 0.0810709968, 0.0298675168, -0.0173773505, -0.0230312403, 0.0389144607, 0.0313840136, 0.0746484026, 0.0267400499, 0.0164613351, -0.0111503135, 0.037901409, -0.0431256667, 0.0248902794, -0.0136740822, 0.0499453992, -0.0087585114, 0.0073622209, -0.0258157197, -0.001713459, -0.0177264325, -0.0574591681, -0.0335613154, 0.0329427905, 0.0375530943, -0.0050595151, 0.0019496867, -0.0080618113, 0.0720414296, -0.0332988836, 0.0048264181, -0.0278588198, -0.0182386991, 0.0770450085, 0.0101841176, 0.0397519767, -0.0569842793, -0.0459336601, 0.0066173263, -0.0062677991, 0.0333483294, 0.0118820313, 0.0265222434, -0.0227153692, -0.0418998674, 0.0113636479, -0.0337375328, 0.0075777583, -0.0159581099, 0.0603704415, 0.0305148009, -0.0181830507, -0.0298857614, 0.0521993823, 0.0027954746, 0.0200547501, -0.0326856263, -0.0299227294, -0.0245122761, 0.0514763184, -0.0045449799, 0.0336166769, -0.019539969, -0.0065836194, 0.0137439426, -0.068146646, 0.0125606414, 0.0699223429, 2.631e-7, 0.0481051579, 0.0296037383, 0.0584906526, -0.0127134584, 0.0393833481, 0.0413060226, -0.0432977155, 0.0155503582, -0.0396485999, -0.0441524535, -0.0593706518, 0.0357300602, 0.0591750182, 0.0327995643, -0.0568658672, 0.0232031513, -0.0240296703, -0.0251170099, -0.0656468496, 0.0346365012, 0.0398274511, 0.0376497582, -0.0509123132, -0.0048124506, 0.0066700322, -0.0190894138, 0.0539297312, -0.0110696685, -0.0156320799, -0.0228950102, 0.0217883438, -0.0097550172, -0.0322413109, -0.0065440731, 0.0159509983, 0.0100431414, 0.0444170423, 0.0429213308, 0.0164318383, 0.0324875265, 0.0056454735, -0.0213829093, -0.0332163349, -0.0625228137, 0.0694806352, -0.0302568339, -0.0451626256, -0.0311245788, -0.0296975039, -0.0171556249, 0.0101199979, 0.0080909505, -0.002361581, 0.0294901449, 0.0461462215, -0.0759491175, -0.003412965, -0.0319187641, -0.0199806467, -0.0223716442, -0.0166811906, 0.0085057998, -0.0726245791, -0.0014841369, -0.0030209559, -0.0496108085, -0.0464726835, 2.378761133e-34, 0.0121939406, -0.0268803574, -0.0014504078, 0.0025675995, 0.0517646186, -0.0437678769, -0.0462151729, 0.002363655, -0.0446943082, -0.113062501, 0.0121925408 ]
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.
Comparing Feature-based and Context-aware Approaches to PII Generalization Level Prediction: 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.0434556827, 0.0430173613, -0.0296661053, 0.0177168846, -0.0278646555, 0.0003464166, 0.082987912, 0.0153555926, 0.0303540919, -0.0233753026, -0.0013688887, -0.0417227112, 0.0004237299, 0.027357148, 0.0023613507, -0.0433761664, 0.037405625, 0.0052413922, 0.0243505612, 0.0017939957, 0.013558018, 0.0255859699, 0.0394015387, 0.0526503772, -0.0329586044, 0.0145334443, 0.030232979, 0.0004529935, 0.0435272865, -0.0281946864, 0.0158554874, 0.0560563765, 0.0297000371, 0.0266339444, 0.0000019466, -0.057696417, -0.04983766, 0.0429126136, 0.0065180208, -0.0060529136, 0.0276007019, -0.0093007106, 0.0090862382, 0.0076492648, -0.0041039949, 0.0206326935, 0.0528251156, 0.0590071231, 0.0492488407, 0.0475395583, -0.0319482386, -0.0345745273, -0.011752896, 0.0175902061, 0.025853375, -0.0232741926, 0.0307146274, -0.0811283886, -0.0287415404, -0.0110809132, 0.0297534727, 0.0535455309, -0.0045085959, 0.0166502725, 0.0053200261, 0.0067938035, -0.0503210686, -0.0084859701, 0.0264070854, 0.0279758815, 0.0158790946, -0.0310593937, -0.0062369783, 0.008610379, 0.0341310687, 0.0246112216, 0.003639261, 0.0066803177, -0.0281024426, 0.006312375, -0.008908161, 0.0383938141, 0.0297708027, 0.02160687, -0.0601313971, 0.05642673, 0.0060603339, -0.0438216887, -0.0104274573, -0.0360341705, -0.0290106498, -0.0162750334, 0.0669729412, -0.0242608655, 0.0237318352, 0.0161874406, -0.0640295818, -0.0734373704, 0.0107647907, -0.078552857, -0.0153285861, -0.0148988618, 0.0124176452, 0.0121060563, 0.0027659943, 0.0510641746, 0.0117477765, 0.0095994761, -0.0066870996, -0.0333414637, -0.0598527007, 0.0018165242, -0.0099117178, 0.072264716, -0.0309327897, 0.0228337385, -0.0345345438, 0.0495497771, -0.0102125918, 0.0143752564, -0.0145973917, 0.0175369028, -0.0349646918, 0.0034735471, 0.0368340164, -0.0364852138, -0.0121122422, 0.0117815845, -0.0373886265, 0.0173337143, 0.0344360247, -0.0131484885, 0.0425252356, -0.0209588371, -0.0262732226, 0.0541167296, 0.0207217559, -0.0520212911, -0.0303302221, -0.0222133361, -0.0157920364, 0.0132538155, -0.010492567, -0.020596724, 0.0154874027, -0.0173200481, -0.0309764557, -0.0527765378, -0.0145519217, 0.0220800545, -0.0487863123, 0.0685922652, 0.0008518847, -0.0293136071, 0.0500354245, 0.0498129688, 0.0125278775, 0.0084749488, 0.0369021222, 0.0308832712, 0.053236369, 0.0074728848, 0.0044048713, 0.0422470085, 0.0343187414, 0.006283829, 0.0211898666, 0.0316785276, 0.0018341941, -0.0706652403, -0.0336414054, 0.0388530977, -0.002330675, -0.0266010053, 0.0715044141, 0.1015286222, -0.0292938929, 0.0396349095, -0.0368157141, 0.0525018387, -0.0108426437, -0.0305387266, -0.0251501836, -0.0505279675, -0.079414539, -0.0516625457, -0.0104665356, 0.0117148831, -0.0031501621, 0.0135246227, 0.0005613801, -0.0341510512, 0.0540027022, -0.0034139277, -0.0052588107, 0.0262571834, 0.0151547911, 0.0331513584, -0.0043792971, -0.077958338, 0.0004593765, -0.0265117604, 0.0069687441, 0.08815182, 0.0282492861, -0.0475915335, 0.029800348, -0.0389132313, -0.027745489, 0.0150916511, -0.0294405743, -0.0002770149, 0.0745880157, -0.0283998661, -0.0681081936, 0.0367908925, -0.0040396643, 0.0168136284, 0.0025637918, -0.0094220433, 0.0265677888, -0.0455017649, -0.0046250303, 0.031208029, -0.0161416736, -0.0416940972, 0.0698331222, 0.0284623113, 0.0321736895, 0.0408711843, -0.0058939694, -0.0070999269, -0.0087944716, 0.0079725459, 0.0159820989, -0.0066456408, 0.0089629069, -0.0087817097, -0.0341123007, -0.0265718829, 0.0088035259, 0.002325691, -0.0252369829, 0.0035140195, -0.0028563768, -0.0238724314, 0.0491698012, -0.0299063362, -0.0175525099, -0.0335566066, 0.0236033071, -0.061888434, 0.0443160497, -0.0198166091, -0.007636555, -0.0233744904, -0.0341160968, 0.0300030168, -0.0086089494, -0.0293357223, -0.0289057549, -0.0171977133, 0.018611325, 0.0463421904, 0.0084933499, -0.0057320995, -0.0054774741, -0.0929725096, -0.0153141711, -0.0160580613, 0.0230883751, 0.0258783679, 0.0336963572, -0.0047610756, -0.0021738298, -0.0480525903, -0.0887990519, -0.050923422, 0.0146546373, 0.0246564299, 0.020870151, -0.0310650617, 0.0167946275, -0.0207811072, -0.0153983226, 0.0646516979, -0.014169462, -0.0701335967, -0.021987278, 0.0130683137, -0.0236192159, 0.008922372, -0.0039058276, 0.0358182378, -0.0150003582, 0.0359624885, 0.0164554901, -0.032903526, 0.0166913103, -0.0029919792, -0.0132694282, 0.0057535968, -0.0439928323, -0.0045840163, -0.0047534239, 0.055024121, -0.0247518532, -0.0863785148, 0.08313559, -0.0308442935, 0.038174212, -0.0215386339, -0.0473719165, -0.0074221352, -0.020244576, -0.053117197, -0.0821982622, -0.0293648522, 0.0122589534, 0.0037628612, -0.0120159378, -0.0345834233, 0.0791556612, -0.0153080309, 0.0543741621, -0.050668139, -0.0349399894, 0.0183704719, 0.061178714, 0.0125276959, 0.0589439236, 0.0221161768, -0.0444573276, -0.0054633119, 0.0001221989, 0.0223591235, -0.0183459669, 0.0274966117, -0.0114028025, -0.0188481361, 0.0473696813, -0.0409604535, -0.0413687639, -0.0739023983, 0.0534697212, 0.0023894068, 0.0332723185, -0.0573754311, -0.012746945, -0.0285589509, 0.0222596433, 0.0167835858, -0.0092675174, -0.0142571591, 0.0000084028, 0.0247948803, -0.0526081584, -0.0477025509, -0.0090301037, 0.0012809923, -0.0337150246, 0.0443531275, 0.0472897552, -0.0417024158, 0.0349521004, -0.0127794994, 0.0085631656, -0.0577398203, -0.0553478599, 0.0259949788, 0.0453954227, -0.0361093655, -0.0310728885, 0.0738014653, 0.051475931, -0.0418766774, -0.0122384494, 0.0063027702, 0.0252886675, -0.0355697386, 0.0140690366, -0.038778957, 0.0173607748, -0.0065103979, 0.0412162542, -0.0382896625, -0.0354522988, -0.0029236935, -0.0345981382, -0.0139140394, 0.0034895716, -0.0502969809, -0.0554445051, -0.0571831726, -0.0051659681, 0.0331206284, 0.0145586273, -0.0312266648, 0.0060155545, -0.0249778219, -0.0107536316, -0.0606179386, -0.0553364269, -0.0250437595, -0.0369451307, 0.0024664744, 0.0917375386, 0.0167787988, -0.0504225679, -0.0168607701, -0.0227216352, 0.0187324379, -0.0281481724, -0.0198326297, 0.0694125518, 0.0075566261, 0.0222288948, -0.0338300131, 0.0405330323, 0.0476363413, -0.0654717833, 0.022617491, 0.0331695005, -0.0558740459, 0.0029454748, -0.0084251752, -0.0364425331, 0.0400580727, 0.067154862, 0.0198508278, -0.0602913573, 0.0364271291, -0.067901969, 0.0324876346, -0.0491094775, 0.0364113562, 0.0165771693, -0.0470901132, -0.0471029207, -0.0575967394, 0.0345311016, -0.0217079557, -0.0109260269, 0.0351887904, -0.0126877232, 0.0223105159, -0.0253223646, -0.0510368869, -0.0216959715, -0.0095163295, 0.0191594735, -0.0074813729, 0.018391652, -0.0005401368, 0.0027803744, -0.0291702058, 0.0070941993, -0.0233691391, -0.0559876524, 0.0239454117, 0.0202098712, 0.0088091856, 0.0365655459, -0.0391710885, -0.0905678794, 0.1505448073, 0.0747569278, 0.0159552786, -0.0368536673, 0.0485329144, -0.0187312923, -0.0187564231, 0.0031526601, -0.0412119403, 0.0100707598, 0.0448645242, -0.0569645427, -0.0368703119, -0.0266607609, -0.0280634183, 0.0468079634, 0.0235569961, 0.0010014898, -0.0114343874, -0.0318711549, 0.0192111842, -0.0179904271, -0.0090175569, 0.004997822, 0.0081330501, 0.0567620508, 0.0065999059, 0.0243708845, 0.0459046997, 0.0010373738, -0.0163057297, -0.056211561, 0.0050433865, 0.0048371051, 0.0608740039, 0.0005194038, 0.0161822177, -0.0359484926, 0.0480253734, 0.04116318, 0.0250559077, -0.0428185686, 0.0063790539, -0.0053395233, -0.0031441012, -0.0187057182, 0.0513754003, -0.0394970588, 0.0193363186, -0.0531046912, 0.0253628027, -0.0365872793, 0.0200628527, 0.0150785754, -0.0357866362, -0.0091002174, 0.0017281532, 0.0073446445, 0.0089666378, -0.0196958967, -0.0299617834, -0.0288388655, -0.0240759309, 0.0098097883, 0.0667866766, 0.0066130292, 0.0163558163, -0.0295044035, -0.0636645332, -0.0583325364, -0.008380902, 0.0285093505, 0.0523855388, -0.0658408105, -0.0147598926, -0.0326754116, -0.0368499272, 0.0310153626, -0.0374473557, 0.0129068401, 0.0038534987, 0.0086715985, 0.0258571263, 0.0012627614, -0.0138456887, -0.0343768373, -0.0209774785, 0.028710423, -0.0100183655, -0.0186293703, -5.542519414e-33, -0.0086988444, -0.0074111815, -0.0423795618, 0.016650619, 0.0444927439, 0.026762791, 0.0373007655, -0.023538284, 0.0094895083, -0.0083777942, -0.0185777005, -0.0029854567, -0.0045158844, 0.0537068024, -0.0336346664, -0.0028028223, 0.0200179052, 0.0387089066, -0.0195439178, 0.0409340672, 0.0861830711, 0.0537981056, 0.0641523898, -0.1227348596, 0.0812594295, 0.0153965978, -0.0554494634, -0.0055862269, -0.0259082597, 0.0257133637, -0.0151462154, 0.0387860686, 0.0281947143, 0.0248896219, -0.0145059368, 0.074851647, -0.0334760807, -0.0448544286, -0.0131421816, 0.0009398074, 0.014720005, -0.057485383, 0.0654177517, -0.0341703296, -0.0239291172, -0.0036244488, 0.0453084894, -0.0097808801, -0.0163092408, -0.0684472993, 0.0011141815, 0.0143229272, -0.0104587516, 0.0457864553, 0.0202762019, 0.0683298931, 0.0085190684, -0.0159090608, -0.0771009177, 0.0046065045, 0.0206303466, -0.039888978, 0.0226828307, 0.0046088914, 0.027890496, 0.0451201275, 0.0143862246, 0.0163207576, -0.0194383785, -0.04521982, 0.0054656924, 0.0302739497, 0.0313914493, 0.0740443543, -0.0049313218, -0.0427887924, -0.0804374665, 0.067635864, -0.0198535174, -0.0601535589, 0.0335868746, 0.0036027897, -0.0730403736, -0.0291473344, -0.0420267954, -0.0270924717, -0.0161723532, -0.0129411807, -0.0212132391, -0.0422429182, -0.0572187006, 0.0469429195, 0.0135173528, -0.0293644033, -0.0304963104, 0.0263647139, 0.0176207628, 0.0165283978, 0.0306433924, 0.0209082514, -0.0209064037, -0.0246674363, 0.0303949304, -0.0341472588, 0.0174413007, 0.0085269278, 0.0880449861, 0.011953338, -0.0630386844, -0.0002248747, 0.014034749, 0.0059267287, 0.0174403209, 0.0309998058, 0.0023791625, -0.0064706826, 0.0137100574, 0.0156163396, 0.0461459868, 0.0310804248, -0.0168647394, -0.0001005328, -0.0056926548, 0.0036993092, 0.0312979631, -0.0233797394, 0.0092176339, 0.0154267494, 0.0920417756, -0.0266843569, -0.0060346765, -0.0055592107, 2.683e-7, 0.0592964925, 0.0149303647, -0.0062585445, -0.0447380766, -0.0068331114, 0.066927664, 0.047322467, 0.0637854487, 0.0083286455, 0.0382176489, 0.0259287655, -0.0187351257, 0.0017216593, 0.0654827356, -0.0606045425, -0.0523698889, -0.0312254447, 0.0442860872, -0.077665098, 0.0522614196, 0.0427689068, 0.0915505141, 0.0665458143, -0.0298679508, -0.007454752, -0.0462033339, 0.0309873205, -0.0583495982, -0.0256555155, 0.0106196683, 0.0047759167, 0.0339237712, 0.0343825705, 0.0208020564, -0.0592616424, 0.0123746162, -0.0160913058, 0.061492715, 0.0100815669, 0.031823948, -0.0063786958, -0.0465902947, 0.0011249806, -0.035698995, 0.0470063575, -0.0206017941, -0.0203077402, 0.0199381262, 0.0079933787, -0.0283910129, 0.0404245146, -0.0117244637, -0.0215255339, 0.0363984592, 0.0137706045, 0.0094595207, 0.0122809317, -0.0835936889, -0.0261743478, -0.0203967039, -0.0095600737, 0.0161149856, -0.0032765181, 0.0025217929, 0.024665324, -0.0388832986, 0.1033485457, 2.84042483e-34, -0.0174996573, -0.0174896996, -0.0292425212, -0.0019468736, 0.040133737, -0.0096250633, 0.0396177284, 0.007330351, 0.0141796209, -0.0391221605, 0.0127659729 ]
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.
Aspect-Based Sentiment Analysis Techniques: A Comparative Study: 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.0365570933, 0.0723905861, -0.0027721054, 0.0526298992, -0.0607336871, -0.0187589414, 0.013844491, -0.0066396426, -0.0471797623, -0.0565158576, -0.0313582756, -0.0480469316, -0.0015273265, 0.0623664185, -0.0602893606, 0.0140377907, 0.0187689513, 0.0750226453, 0.0252192803, 0.0072570066, 0.0169027671, 0.0251268093, 0.0072522522, -0.0140397102, -0.0159043148, -0.0063800705, 0.0088085551, -0.0291157924, 0.0422997884, -0.0280240383, 0.0332269073, -0.0152941542, -0.0047372975, 0.0442337543, 0.0000021219, -0.006067113, -0.0092732524, -0.007881728, 0.0131665375, 0.0162754599, 0.0535505712, -0.0131584881, 0.0203372613, 0.0234365258, -0.0401968732, -0.0342606641, 0.0203189775, 0.0934290141, 0.0325720347, 0.0718027875, -0.0382360667, -0.0559118055, -0.0156521015, -0.0149782738, -0.0557384752, -0.0603300072, 0.0073479349, -0.0638549924, -0.0375707895, 0.0151573345, 0.0136827799, 0.0187652837, 0.0292050559, 0.0076417373, -0.0353841148, 0.0238126703, 0.0001301088, 0.03082381, -0.0044115768, 0.0713579506, 0.0102447653, 0.0036066186, -0.0301113222, -0.040112894, -0.0333959833, -0.0142447911, 0.0003588464, -0.0261861645, 0.0185265411, 0.0713982433, -0.0016791477, 0.0593623891, 0.0180225614, 0.0204712618, 0.0041881814, 0.043589551, -0.0261281803, -0.0529561155, 0.0279771294, 0.0621880405, 0.0365642793, 0.0114631681, 0.013102117, -0.0041161217, 0.0080421651, 0.0180048067, 0.0343006179, 0.0262921713, 0.0265564229, -0.0732136443, -0.0038693375, -0.0159364175, -0.0398795977, 0.0271739643, -0.0077081029, -0.0219427869, 0.0298385862, -0.0316092595, -0.0195370279, 0.0320662446, -0.0415290333, 0.0338116214, 0.04111908, 0.0612647831, -0.0365515165, -0.0180606749, -0.0607153811, -0.0385777913, -0.0076939119, 0.0162449125, 0.0288313664, 0.0519905835, 0.0242029186, 0.0184562746, -0.0228224415, 0.0500141345, -0.0598952882, 0.0713955611, -0.0634792373, 0.0148573434, 0.0496860668, 0.0222968981, 0.0380421914, 0.0161690693, 0.0221498534, 0.0245513152, 0.0183089096, -0.0486892909, -0.0373901427, -0.0169329587, -0.0148170935, -0.0554537661, -0.0235427823, -0.0422894433, 0.0197272096, -0.0266366601, -0.0381027535, 0.007233867, 0.0126498919, 0.0250462051, 0.0048321038, 0.0236998592, -0.0364588015, -0.0251539219, -0.0263811611, 0.0302068442, 0.0875929669, 0.0232021604, 0.0000672735, 0.0510120876, 0.0251952801, 0.0314260274, 0.0156489667, -0.0085214982, 0.0002385473, -0.0194504615, 0.0244650748, 0.0026454865, -0.1047307476, -0.0179781318, 0.0154035501, 0.0362881981, 0.0154370498, -0.0374212191, 0.0402212255, -0.0218317714, 0.0030754786, 0.0894902572, -0.0156197492, 0.0211955421, -0.0026055898, -0.0191374421, 0.0210545342, 0.0116416691, 0.0049335468, -0.0135839023, 0.0228344742, -0.0337336101, -0.0411459804, -0.0644150153, 0.0179935843, -0.0140655218, 0.0359828174, -0.0093248943, 0.0578269996, -0.0214449354, -0.0706212744, -0.0425404236, 0.0460838079, -0.0424547233, -0.0374786332, 0.0022196001, 0.0525827855, 0.0665061697, -0.0157320444, -0.0138539197, -0.0045865215, -0.016563734, -0.0706813559, 0.0504878312, 0.034163516, 0.0024933408, -0.0123504223, -0.0381567106, 0.0181116257, -0.0437936932, 0.0174956564, 0.0172910579, -0.0179995894, 0.0853402466, 0.0067458297, 0.0074863699, 0.0230370089, -0.0088739395, 0.0436301418, -0.0369689725, 0.0373027399, 0.036107786, 0.0254507195, 0.0882623121, 0.0016400303, -0.0096643446, 0.0211252179, -0.0366810374, -0.0641605034, 0.008271561, -0.0229382366, -0.0255105887, -0.0000295819, -0.0043728184, -0.0000189048, 0.0146172987, -0.0429820605, -0.0086576138, 0.0205447674, 0.0141017614, -0.0074987169, -0.012353925, -0.0313387029, -0.0201677289, 0.0225687418, 0.0167379212, 0.0504811481, -0.0342392661, 0.0012226294, -0.0420197546, 0.0049477876, 0.022904817, 0.0233578105, -0.0577314869, -0.0375467986, 0.0330555998, 0.039073009, 0.0129750911, 0.0261480045, 0.0022140671, 0.0172835086, -0.1189461052, -0.0140440287, -0.0091192946, 0.028498657, 0.0056029027, -0.0052683642, 0.019182425, 0.0476884544, -0.0430160724, 0.0050737979, -0.0545506552, 0.0215162076, 0.0422473773, 0.0752731934, 0.029301716, -0.0679274797, -0.0208455119, -0.0198127963, 0.0042753853, 0.0307046361, -0.0160238519, -0.007746669, 0.0269005802, -0.0398775376, -0.0037261171, -0.011113802, -0.0327035189, -0.0192929972, 0.0031680071, -0.0328411162, 0.0018363899, -0.0058581037, 0.0402455665, -0.0052378033, 0.0315874889, -0.0195950028, 0.0169116333, -0.0701473206, 0.0061360756, -0.0081279092, -0.0244881511, 0.0169507749, 0.0225724895, 0.0121712256, 0.0046709338, -0.0228784308, 0.0223800074, -0.0187253598, -0.0036131714, -0.0104327016, 0.0163816325, 0.0045126914, 0.0132744638, 0.025449764, -0.0080307834, 0.0388989486, 0.0286876708, 0.0481702313, -0.0773622692, -0.0168145057, -0.0553637892, 0.0424200669, -0.0583180711, 0.0148505094, -0.0196172222, 0.0020436607, 0.029478021, -0.0185529478, -0.0371699519, -0.0084406212, 0.0563299879, 0.0158095062, 0.017203765, 0.0220393687, -0.0343679264, 0.0038343796, -0.0343380272, -0.0529626384, 0.0062339921, 0.0152853392, -0.0080868779, -0.0074561234, -0.0032585531, -0.0449170843, -0.0415472537, -0.0006717163, -0.0166427493, 0.0118175847, 0.0427151173, 0.0373156928, -0.0508171394, 0.0485648476, 0.0113354689, -0.0067500551, 0.0371225663, -0.0455039851, 0.0068322239, -0.065663211, -0.0247171093, -0.0052039493, -0.0121292155, -0.0141151063, -0.0287465807, 0.0236963853, -0.0410662629, -0.0016581352, 0.0894896463, 0.0061243279, -0.0620396547, 0.0015704331, 0.0489314422, -0.0388747305, 0.0111582279, 0.0117847295, -0.0675220042, -0.0302524697, -0.0450476296, 0.0266667157, -0.0205738638, 0.0007967689, -0.0015868694, -0.1013110876, 0.0344016701, -0.0545016006, -0.0402248614, -0.0835983902, -0.0521535911, 0.0274078175, -0.0289674997, 0.0380142182, -0.0629081279, 0.0128382975, -0.0143903531, -0.0103618838, -0.0329637639, -0.0134253046, 0.0407760926, -0.0168461036, 0.0030405987, 0.0351897366, 0.0622835159, -0.038842354, -0.0264549088, 0.0200010631, -0.0604460388, 0.0252926406, -0.0162886009, 0.0893725902, -0.0385898016, -0.0213610902, 0.0001900116, -0.0071875802, -0.0906378478, 0.0462167673, -0.024109723, 0.0048501892, 0.008032646, -0.0434582494, -0.0303499419, 0.040198002, 0.0268978402, 0.065946497, -0.0148708774, -0.0697498918, -0.0149339, -0.0054282737, -0.0279637519, -0.0075690211, -0.0084175076, -0.0411703028, -0.0051752115, -0.0373392813, -0.0591490678, -0.0517099202, -0.0121276565, 0.0169370882, -0.0150354728, 0.0029301001, 0.0370847322, 0.0038469641, -0.0053859367, -0.0049297297, 0.0090070218, 0.0279423185, 0.0012173767, 0.0114826988, 0.0844231397, 0.0079970537, -0.0327531435, -0.0493896008, -0.0342623778, -0.0184055082, -0.0249690451, 0.0187955629, -0.0009354962, 0.0045550107, 0.0060499525, -0.022539746, 0.0332963057, 0.0552698448, -0.0129938666, -0.0146153681, 0.0456891917, 0.0602715798, 0.0197809897, 0.0122215319, -0.0225937888, 0.0366177224, 0.024937382, -0.0096998578, -0.0120921787, -0.0355083719, -0.0069854762, -0.0339672305, 0.0247511603, 0.0265362933, -0.0423570611, -0.0293656606, 0.0062578991, 0.0098563498, 0.0059880009, -0.0222003292, -0.0284822639, -0.0112185581, 0.0414324738, -0.0771040842, 0.0317179523, 0.000623664, 0.0202506259, -0.0587060265, 0.0645925477, 0.0310488027, 0.0461061969, -0.0409959182, 0.0187260713, -0.0273740347, -0.0164845008, 0.0152718611, 0.0023053354, -0.0134795057, 0.0149322292, 0.013084556, 0.029863067, -0.0632843375, 0.0359586962, 0.0026494965, -0.0002191065, -0.0374593548, -0.023771055, -0.0019262853, -0.0578529872, 0.0241570864, -0.0438570641, 0.0213182643, 0.0176807158, 0.0197029244, -0.0483948737, 0.0004096673, 0.0208740942, -0.0182369482, -0.0119778011, 0.0323935114, 0.042815581, -0.1009581462, 0.0460350364, 0.0292079002, -0.0096232696, -0.0262757931, 0.0116677694, 0.0428114198, 0.0401660465, -0.0016011816, -0.0092932424, -0.0470696054, -0.0170486402, 0.0439275131, -0.0281650722, 0.0164253265, 0.0016110998, 0.0488499068, 0.0197871048, 0.0373233967, 0.0577614605, -0.0364338383, -0.012867678, -0.0475170687, -0.0178714022, -0.0209075604, -6.528594238e-33, 0.0185363516, -0.0104896333, -0.0395641997, 0.0382612348, -0.0203010757, 0.0301088989, -0.0278213974, 0.0264433865, -0.0027600005, 0.0444196053, 0.0068288529, 0.0203822404, 0.0045142113, 0.0071524512, 0.0229676273, -0.0759142786, 0.0333783105, -0.0278660022, 0.0320961289, 0.0578922406, 0.0078380425, 0.0150051955, 0.0533640869, -0.1362912208, 0.0332039073, 0.0112894559, -0.036487639, -0.0051229782, -0.0083311182, 0.0253980514, -0.0179268215, 0.092902936, 0.0461615287, -0.0061078193, 0.0407331251, 0.0154199656, -0.0045982054, -0.0093095861, -0.0084552709, -0.0108102243, -0.0265349317, -0.0107364152, 0.0106935566, 0.0399731211, -0.0047554127, 0.0309519935, 0.0269106627, 0.0019216138, 0.0263944883, -0.1058879495, -0.047518298, 0.0047042631, -0.0199730918, 0.0086641703, 0.02537884, 0.0360703506, 0.021649776, 0.0277711805, -0.0842095464, 0.0090806847, -0.024102442, -0.0113526797, 0.0010071526, -0.0610027425, -0.0096112555, 0.0637934431, 0.0032142773, -0.0093461918, 0.0153139345, 0.046262186, 0.0212611388, 0.0519452542, 0.0170182511, 0.0233009681, 0.0135797616, -0.0587404855, -0.0633372292, 0.0343143269, 0.0407513082, -0.0195392016, 0.0551395454, -0.0084999623, -0.0689742342, -0.0186390467, 0.0287983753, -0.0442495942, -0.0406286567, -0.0155877993, -0.0160244033, 0.0101699112, -0.0170331951, -0.0117071308, -0.0189802926, -0.0769339204, -0.0287070554, 0.0185338762, -0.0464973003, 0.033577498, 0.0068664304, -0.0155577967, -0.0877915397, -0.0211652406, -0.0792315677, 0.0359188356, -0.0024574064, -0.0166606717, 0.0552126952, 0.0129079102, -0.0667598993, -0.0088032857, 0.011757629, -0.0029266409, 0.0123827886, 0.051067315, -0.0272553544, -0.0022143843, 0.0003554255, 0.1210887134, -0.0031524808, 0.0961103216, 0.0018640551, -0.0090207439, 0.0497316606, -0.0115435021, -0.0488059446, -0.0417104885, 0.0107638445, -0.006034595, -0.0016296998, -0.0706273988, -0.0269036349, -0.0015470647, 2.779e-7, 0.0488540567, 0.0641619042, -0.0077044377, 0.0000741271, 0.0193477031, 0.0762039274, 0.0400339477, 0.0090113431, -0.0200127698, 0.006838541, 0.0588415228, 0.0036595082, -0.0139657492, 0.0453763977, -0.0436952338, 0.0594525486, -0.0176852345, -0.0005158057, -0.0184086058, 0.0289456341, 0.060765028, 0.0676462725, 0.018818032, -0.0213122461, 0.0046107047, 0.064353019, 0.0334053673, -0.02954771, 0.0001954132, 0.0199539959, -0.0049268701, 0.0512922853, -0.0234083403, -0.0741657466, -0.0059400718, 0.0458528548, 0.0194094218, 0.016377883, 0.0550154038, -0.0901842043, 0.0419687368, 0.0120174997, 0.0335237198, -0.0122127589, 0.0556538254, -0.0616383962, -0.0663841888, -0.1018024832, 0.0054597347, 0.0442720614, 0.0298680719, -0.0069896732, -0.0147512369, 0.0205738544, -0.0166010782, -0.0632854626, -0.0402511619, -0.0585342944, 0.0239982232, 0.0227507986, 0.0003438521, 0.013304106, 0.0233024899, 0.013251774, 0.0215412527, -0.0067449249, 0.0263635702, 1.930433557e-34, 0.0365620963, -0.0111799547, -0.00121853, 0.0125749065, -0.0177429039, 0.0153117124, -0.060558863, -0.0378901586, 0.0061242655, -0.0146870334, 0.0062428983 ]
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.
LANE: Logic Alignment of Non-tuning Large Language Models and Online Recommendation Systems for Explainable Reason Generation: 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.0235949922, 0.0620019026, -0.0047791507, 0.0624637678, -0.0182489194, -0.015125379, 0.0323602818, -0.015654387, 0.0490044691, -0.0115259392, -0.0229081251, 0.0222987644, -0.0232755095, 0.060292013, -0.0022881047, -0.0483318157, 0.0105210394, -0.0143041024, 0.0134940809, 0.0107648615, 0.0293376278, 0.0399625897, 0.0209216923, 0.0303859953, 0.0285539124, -0.0348746851, -0.0273586381, 0.0129177636, 0.0183898173, -0.0308125354, -0.0337301046, 0.0190298241, 0.0085008172, 0.0017649273, 0.0000024606, -0.0383570567, -0.0185806192, -0.0159342159, -0.0315928347, -0.0189464856, 0.0040487666, 0.0641284361, 0.0572730266, 0.0000609568, 0.0072778501, 0.0417756513, 0.0431180634, 0.0568041392, 0.0461891331, 0.0229186993, -0.0173635613, 0.0016983196, -0.0015107701, -0.0337024704, 0.0378949493, -0.0151479905, -0.025075024, -0.0434857458, -0.0143505726, 0.0264262799, 0.000627747, -0.0168884099, 0.0002015334, -0.0277144704, 0.074692741, 0.0181165542, -0.0301146619, -0.036896266, 0.0050098449, 0.1075246409, -0.0257653669, -0.0058127376, 0.0060847257, -0.0070044179, 0.0043895659, 0.0067045502, -0.0606859885, -0.0108783916, -0.00003796, 0.0239589997, 0.0188063122, 0.0039902776, 0.0763188675, 0.0124791758, 0.0182588752, 0.1154078394, 0.0255257841, -0.0155478129, -0.0083470978, -0.0203864593, -0.0144077959, -0.0748151541, 0.0128858639, 0.016803883, -0.0851884857, 0.0270342529, 0.0067683253, 0.0862725303, -0.0052733757, -0.0090400744, 0.0517629795, 0.0574571528, -0.0155374622, 0.0741552338, -0.0006930838, 0.0397376306, -0.0387167819, 0.004743672, -0.0641453937, -0.0052250549, -0.0373553932, -0.0102057168, 0.0017317036, 0.0278001036, -0.0530382246, -0.0288145598, -0.0283434931, 0.0570443682, -0.0126443356, 0.05628369, 0.0116164284, 0.0331286378, 0.0114592975, -0.0290917996, -0.0725247487, 0.05291887, -0.0618880242, 0.0058136769, 0.0452266373, -0.0028704403, -0.0034822093, 0.0480284616, -0.0056520458, -0.0271215495, -0.0075000413, 0.0365053788, 0.0094897002, 0.0023003656, -0.0136836246, -0.072108835, -0.0233652778, -0.0560875461, -0.0370393917, -0.0526715554, 0.0266665537, 0.0304668173, 0.0005589329, -0.0266010631, 0.0244684983, 0.0190390442, -0.0429230109, 0.0509150885, -0.0338237062, 0.0007199367, -0.0414578617, 0.013166911, -0.014883603, -0.0157096088, 0.0037731293, 0.0724211633, 0.0571995191, -0.0160123203, 0.0012245845, -0.0257990845, -0.0110980533, 0.0049765692, -0.0286078639, 0.0126618929, -0.0442582853, 0.0393066444, 0.016678879, 0.0449399166, -0.0318937041, 0.016569823, 0.0865406841, 0.0325929485, 0.0336774178, 0.0225927029, 0.029602563, 0.0193442702, -0.048992753, -0.0088081835, -0.0378230847, 0.0713673607, -0.0188798849, 0.0057733133, 0.0491433591, 0.0368534215, -0.0327438787, -0.0239446089, 0.0112484666, -0.0253485013, 0.0298063625, 0.0422369353, 0.027484294, -0.0374914631, -0.0417559184, 0.0343450047, 0.0336636491, -0.0412747227, 0.0042052898, -0.0351283215, 0.0994648859, 0.1376777291, 0.0501020513, -0.0006476521, -0.0298028421, -0.0386212543, 0.0113400817, 0.0111124245, 0.0154524175, -0.0145697342, 0.0073139891, -0.0632236451, -0.0449066199, 0.0025901059, -0.0128484415, 0.0291982871, -0.0149637954, -0.0111268656, 0.0107276123, -0.0558933467, -0.0038029179, -0.0167589709, 0.011670189, -0.0089805583, 0.0027093343, 0.0195748601, 0.0718001127, 0.036718417, 0.0541579314, 0.0021553661, 0.0196924005, -0.0338566788, -0.0073458045, 0.0006483052, -0.0403739326, 0.017642675, 0.0394874848, -0.0128425369, 0.0077387397, 0.0230602864, -0.0127620474, -0.0611617044, -0.0219802745, 0.0127662644, 0.0126542803, -0.0203856006, -0.0140387882, 0.0170006994, -0.0035294783, -0.0449312739, 0.0623453781, 0.0091239596, 0.0083866976, -0.0114341471, -0.0075065061, 0.0300904904, -0.0304953363, -0.0029743521, 0.0582635775, 0.0173150711, 0.008636809, 0.0230228025, -0.0067918203, -0.0524525307, -0.0087768529, -0.081860818, 0.0158163887, 0.0138811609, -0.0043920819, -0.0061231758, 0.0301264599, 0.0115405135, -0.0105730733, -0.0651500598, 0.0353106558, -0.0129672522, -0.002034002, 0.0460694171, -0.0151077881, -0.0407637656, -0.0247412473, -0.0103454255, -0.0308871847, 0.0465803072, -0.0301127192, 0.0363422893, -0.0500437208, -0.0606146269, -0.0465883315, -0.0438147075, -0.0099575268, 0.0250893626, 0.0107995206, -0.0010253269, 0.0291551892, 0.0384710878, 0.0155343255, 0.0186446682, 0.0572812818, -0.0002358595, -0.0581919886, 0.0010559779, -0.0208683014, -0.0035501076, -0.0119393552, -0.0113192685, 0.0035607351, 0.0264989566, -0.0172535889, 0.0076292381, -0.0744412765, 0.0229296368, 0.0300205126, 0.0432618931, -0.0657554716, -0.0408019014, -0.0110048149, 0.080103226, -0.0133468769, -0.0494142771, 0.0869364142, -0.0503996648, -0.0000520196, -0.012299289, -0.0167174879, -0.0438876525, 0.0369062051, 0.0059953025, 0.0547194146, -0.0174903851, -0.0102251638, -0.0257447995, -0.0110567566, 0.0421747603, -0.0381285101, 0.0528014004, -0.0009021768, -0.0277569536, 0.0124402149, -0.0278446432, -0.0383609235, -0.0616896413, -0.0320138372, -0.0095768506, 0.0114994142, -0.0252054892, -0.0216442104, -0.0003815383, 0.0281046331, 0.0252240673, -0.0018442902, -0.0256341361, -0.0143638859, 0.0116126966, 0.0678166151, -0.0281165056, 0.0020471632, 0.0005318117, 0.0564322397, 0.0285818949, 0.0204506963, -0.0342682116, -0.0242663529, 0.0088773975, 0.028706545, -0.0335994139, -0.0089749685, 0.0344268605, 0.0335973091, 0.0022496765, 0.0264221206, 0.1245960817, 0.0259315874, -0.0983125269, 0.0044694422, -0.0203251522, 0.0199388284, 0.021160705, 0.0267858785, -0.0616167709, -0.0430382602, 0.0051022731, 0.044878792, 0.0249419846, -0.0237009041, -0.0136859287, -0.0819225833, 0.0346929468, 0.0056605372, -0.0086093424, -0.0085014934, -0.0603123419, -0.0254601426, -0.0209002905, 0.020318253, 0.0253457446, 0.022287406, -0.0000909703, -0.0151361348, 0.0075796223, -0.013014243, 0.0520679951, -0.0402064361, 0.0423747301, 0.0473899059, 0.0413797982, 0.0261560194, -0.0596440732, -0.0042484542, 0.0043598916, -0.0109320618, -0.0147130843, 0.0332539603, -0.0251592137, 0.0240338538, -0.0708332807, 0.0628794804, -0.038240429, -0.0348481499, -0.0013641538, 0.0837902501, 0.0108439894, 0.0020409301, -0.0220648777, -0.0097212503, 0.0049712942, 0.0772074834, 0.0260018688, -0.0656053945, 0.0125352498, -0.0621395893, -0.0476374067, 0.0275289863, -0.0207413696, -0.0118581709, 0.0149230165, -0.0021140184, -0.0416601002, -0.0311021432, -0.0162845422, 0.0380085222, -0.0015728996, 0.0346495844, -0.0024179402, -0.0319262743, -0.0014908753, 0.0433841236, -0.0118987346, 0.0121100601, -0.0373721421, 0.0467257053, 0.0060173259, -0.0779695734, 0.0168428887, -0.0003599271, 0.0082759876, -0.0113654574, -0.0612609759, 0.0473841801, 0.0263240375, 0.0535261072, -0.0361716114, -0.0470723845, -0.0215240736, 0.0087741371, -0.0150186932, -0.0633059815, -0.0096942773, 0.0528265089, 0.0168414172, 0.0538338907, -0.0476628356, -0.0128762107, -0.0153312702, 0.0172617324, -0.0338151157, -0.0301546417, 0.052948907, 0.0479410999, 0.0497408211, -0.0156199168, 0.0337540247, -0.0182430185, 0.003336699, -0.0199880749, -0.0595972501, -0.0360452421, 0.0070689949, 0.0514580607, -0.0543958247, -0.0033356263, -0.0657740086, -0.0244201198, 0.0048658554, -0.0251438096, -0.0085624568, -0.0507147163, -0.0125372745, 0.0257147793, 0.0057561779, -0.0242105275, -0.0025637627, -0.0069107115, 0.0419723913, -0.0249866974, 0.1000031158, 0.0193162318, -0.0205094181, -0.0234389361, 0.033438731, -0.0177376643, -0.0474490263, 0.0301933885, 0.000247942, 0.0197850503, -0.0558253229, 0.0643413588, -0.0196140092, -0.0195336603, -0.0062329322, 0.0525515229, 0.0175081193, -0.0317329019, -0.0002600872, 0.0468450673, -0.043127697, -0.0078573721, 0.0694549978, -0.0322026797, -0.0490738191, 0.0034315111, -0.0625677481, -0.0407777019, 0.0068938313, -0.0177270416, 0.1001051813, -0.0467801802, -0.0297229066, -0.0447409339, -0.0385568887, -0.0334141441, -0.0272182152, 0.0145124905, -0.0178859755, 0.0237704888, 0.0694705024, -0.0077408687, -0.023942709, -0.0381682403, 0.0034620729, -0.044347804, -0.0227786954, -0.0200300161, -7.244956659e-33, 0.0104168998, -0.0426885299, 0.0013289207, 0.001434691, -0.0118531436, -0.0188599974, -0.0485650338, 0.0128735173, 0.0118307015, 0.0205164421, -0.0080887629, -0.005629479, 0.0054274281, 0.0203484446, 0.0240779426, -0.0328138471, 0.0462885164, 0.0497327, -0.0439447016, 0.0392356738, 0.0710773766, 0.0014965249, 0.0030300769, -0.0392052978, 0.0334369391, -0.0178425256, -0.0191035941, 0.0044597532, -0.0114158122, 0.0661434904, -0.0124423876, 0.0384093374, 0.0045316163, -0.0510117598, 0.0329100974, 0.0137623809, -0.0517338142, 0.011280112, 0.0684623569, -0.0249172803, -0.024765227, -0.0548465364, -0.0000815883, 0.0038392968, 0.0225462634, -0.0178256016, 0.0217626709, -0.0272550061, -0.0686505884, 0.0065099034, -0.0267564673, 0.0016333326, -0.0361512378, -0.0108654853, 0.0028787327, 0.0476013124, -0.0117554506, 0.0944129378, -0.0636810735, 0.0179171413, -0.0599670261, 0.0043865517, 0.062466111, -0.0364126451, -0.0542665422, 0.0630004928, 0.0026505315, -0.0333160125, -0.0341280065, 0.0623341203, -0.0539149232, 0.068488948, 0.0499924831, 0.0168311745, 0.0126545569, 0.0037141331, -0.0678422228, 0.029140966, -0.0055719423, -0.0028552918, 0.0769499317, 0.0326092392, -0.0398857296, -0.0242406316, -0.004794484, -0.049936492, -0.0705691427, -0.0572409704, 0.0326704495, 0.0049062325, -0.0326639004, -0.0253109206, 0.0078954771, -0.0323285311, -0.0061248005, 0.0201999303, -0.0317184329, -0.00475945, 0.0092269219, 0.0163109694, -0.0247251485, 0.0140162874, -0.0194855854, -0.0252584498, -0.0227582678, 0.0274920426, 0.0454386622, -0.0191264208, -0.021337552, 0.0105125513, -0.0343051143, -0.0424476415, -0.0479694083, -0.0122934571, 0.0517831929, 0.0142891491, -0.0297583696, 0.0845935345, 0.0165072195, 0.0168113746, -0.0200698823, -0.0431503505, -0.0111105051, -0.0015259772, 0.0086666923, -0.0228868704, -0.0231209192, -0.0328141265, 0.0602722801, -0.0420741215, -0.024662016, -0.0149830477, 3.098e-7, -0.0038199953, 0.0533830151, -0.0177952498, -0.0240387544, 0.0033982927, 0.058827877, 0.0436191335, 0.0275703073, -0.0042447825, 0.008269784, 0.0287761409, 0.017955564, 0.0353800245, 0.0226225052, -0.0411302596, -0.0268648937, -0.0335613564, -0.028463427, -0.0690300763, 0.0199090205, 0.0554064438, 0.0697382465, 0.0524093919, 0.0013762474, 0.0352147818, 0.0085811475, 0.0251841899, -0.0738378838, -0.0275022686, -0.0156634785, 0.0585800335, -0.0295366235, -0.0126314145, -0.0134793529, 0.0004279782, -0.0027942201, 0.0000864636, 0.0651621073, -0.0168766007, -0.0251079872, -0.0204989612, -0.0202296935, 0.0305729154, -0.1038187221, 0.0715675056, 0.0050462307, -0.0442987829, -0.011787626, -0.0491985679, -0.0146599421, 0.0153007451, -0.0047899117, 0.0119628375, -0.0023214468, -0.0047818925, -0.0194662455, 0.0066473181, -0.0555351339, -0.0336298235, 0.0169158317, -0.0152879702, -0.0149051705, -0.0462542363, 0.0146193402, 0.0502158627, -0.0514032207, 0.0085654305, 3.09420901e-34, 0.004983658, 0.033197403, 0.0280917101, -0.0210422352, 0.0538389608, 0.004040183, -0.0434530303, 0.0049856533, 0.0671097562, -0.0594121292, -0.0125666121 ]
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 .
Investigating the Contextualised Word Embedding Dimensions Responsible for Contextual and Temporal Semantic Changes: 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.0069629732, 0.0350430086, -0.0236756857, 0.0493620932, -0.0149689317, 0.0111358399, -0.0108506512, 0.0199005753, -0.0296713579, -0.0524806902, 0.0019370234, -0.0202048924, 0.0547503307, 0.0171381366, -0.0036411558, -0.0171051063, 0.093820706, 0.0067436676, -0.0471653156, 0.0164159611, -0.0098026562, -0.0457145572, -0.0180234089, 0.0112691373, -0.0431500003, -0.0387332551, -0.0065053832, -0.055032514, 0.0328116007, -0.0389994271, -0.0179017, 0.0243474338, 0.0715151131, 0.045167204, 0.0000021193, -0.0586881302, -0.0052799699, -0.0133984983, 0.0121695651, 0.0579141341, 0.050430093, -0.0545062721, -0.0040636966, -0.0357939601, -0.0381249413, -0.0055392478, 0.0280804597, 0.0144514153, 0.0099357991, 0.0543835536, -0.0227973573, -0.0357487909, 0.0122089637, -0.0213557594, 0.0166380983, -0.0400765873, 0.0353167355, -0.0337701999, -0.059609171, -0.0046018865, -0.0852382332, -0.0025084708, -0.0306355376, -0.0033646128, 0.037952695, 0.0641756207, 0.0321725309, 0.0371861719, -0.0280575957, 0.0459416136, 0.0027823017, -0.0060133976, -0.0185770001, -0.0158763956, -0.0165609941, 0.000059223, -0.0126711158, -0.0382300913, 0.0618979968, 0.0198989622, 0.0498512499, 0.0408922546, 0.0193588212, 0.0203457791, -0.0235638488, 0.047761105, 0.0385485105, -0.0412461497, -0.0531288683, -0.0235674512, 0.0314627886, 0.0015089703, -0.0260451101, 0.0159661751, -0.0017960705, 0.0162636172, -0.0128348637, -0.0534650572, -0.0034294659, -0.0863932744, 0.014657326, 0.0200626645, -0.0135625768, 0.0700415671, -0.0432865694, 0.0549201705, -0.0001314372, -0.0067431531, -0.0539820082, 0.0025220572, -0.0179856587, 0.0014590886, -0.0152288042, 0.0113547035, -0.046520967, -0.0405408107, -0.0145700676, 0.0504789427, 0.0009067905, -0.0144873392, -0.0341001712, 0.0143295787, -0.0286251493, 0.0456470326, -0.0013339934, 0.026672665, -0.0284845028, -0.0014735258, -0.0726413652, -0.0147946272, -0.0160371419, 0.0265930258, 0.025563946, -0.0230967738, -0.0240155868, 0.0561978184, -0.0193082467, -0.0523484647, -0.0192196835, -0.0093444679, -0.0405658595, 0.0235405453, -0.0010432119, -0.0318857282, 0.0364980549, -0.0218377225, 0.0139460284, -0.0545726642, -0.023519244, -0.0074372301, -0.0347192362, 0.0900234655, -0.0125050871, 0.0076823859, 0.0301806387, -0.018128518, 0.035452649, 0.0615583062, 0.0548680276, -0.0431197025, 0.0733968541, -0.0353550203, -0.0371549577, 0.0205362365, -0.0418278947, 0.0444138646, -0.0553165264, -0.0126940627, 0.0375359468, 0.0555135161, 0.0151713565, -0.0195075832, -0.027579356, -0.0629256293, 0.0010865699, 0.0731295869, 0.0447678268, -0.0320851617, 0.0337757096, -0.0119775226, -0.0172554366, -0.0093532661, -0.0032962782, -0.002559813, -0.0020813553, -0.0387399942, -0.0542752482, -0.0231521986, -0.0187351052, 0.0062892628, -0.0164749827, -0.0067895241, 0.0339709148, -0.0738391727, 0.0266280472, -0.0002884245, 0.0157629829, 0.0345967673, 0.0631755739, -0.0282032136, -0.0148817515, 0.0143642686, 0.0503115728, 0.0715879351, 0.0433031358, -0.0328915976, 0.0091155777, -0.0092415633, -0.0208902732, 0.0066082473, 0.0110629052, -0.0391458422, 0.0238528941, -0.0114275841, -0.0146250371, -0.0169633497, 0.0175312031, 0.006716785, 0.0096235303, 0.0222316775, 0.0165935829, -0.0455251783, 0.0123801921, 0.0625975654, -0.0441802777, -0.0169066358, 0.0253325664, 0.0111492379, 0.0133635327, 0.0020223483, 0.0033016552, -0.0116799595, 0.0317366384, -0.0438837074, -0.0143302307, 0.0554238707, -0.0443893522, -0.0404205471, 0.050659921, -0.0010303985, 0.0167983584, 0.0116552692, -0.0372325778, -0.0087547684, 0.0279714558, -0.0355276726, 0.0226465762, -0.0245395303, -0.004619244, -0.0467777774, 0.0641068593, -0.0511718094, 0.0556339398, -0.0354377069, -0.0210649129, 0.0068553011, 0.0947332531, 0.0515085533, 0.0252938177, 0.005457236, 0.0416233391, 0.0279843751, -0.0280927382, -0.0024522683, -0.0014529657, -0.0416994579, 0.0082039582, -0.0582914911, -0.0350055285, -0.0254500937, 0.0039273798, 0.066478245, 0.0129564665, -0.0057331589, -0.021340074, 0.008586281, 0.0442264788, -0.0453113504, 0.047702454, 0.0507721752, -0.0160687808, 0.0340507664, -0.0623677708, 0.0046666721, -0.0148430318, 0.0893249288, 0.0113526024, -0.0569773316, -0.0309504513, 0.0051280665, -0.0282672867, 0.0023802752, -0.005957461, -0.0050349277, 0.0015691988, -0.017406553, 0.0590071976, 0.0153686581, 0.0530240797, 0.0819559544, 0.0661896244, -0.0372483544, -0.0507460088, -0.0115661956, -0.0321488678, 0.0420512706, -0.0412493348, 0.0083653321, 0.0222140029, 0.040030729, 0.0390980355, -0.0078671826, -0.0435878374, -0.0087000802, -0.0634150729, -0.0234197844, -0.0463370606, 0.0164719112, -0.0718507022, -0.018867502, -0.0089769475, -0.0194480754, 0.0010159524, -0.0004258289, 0.0399388783, -0.0577096604, -0.0404253602, -0.0652502105, 0.0411039516, -0.0346408114, 0.0119727198, -0.077695556, -0.0008342875, -0.0071013812, 0.0001891569, 0.0231871177, -0.0287883505, 0.0110017648, -0.048766166, 0.0145264203, -0.0122829331, 0.0197149161, -0.0232274383, -0.0918029919, -0.0118446518, -0.0115806246, -0.0005688261, -0.030657284, 0.0349482782, 0.0095895827, -0.0031198703, 0.0630490482, 0.0164791606, -0.0234107208, -0.021691693, 0.0484624319, 0.0325498581, 0.0214526858, 0.0005880173, 0.0257027522, 0.0234981328, 0.0131778438, -0.0089900615, -0.0324400663, -0.0706813484, 0.016163731, -0.0000415344, -0.0170678981, 0.0056814603, -0.0019053386, 0.0078338888, -0.0003808846, -0.0220011156, 0.0824883953, 0.0387148261, -0.0541151129, 0.0286821984, -0.0242718793, -0.0522093996, 0.0415866338, -0.0239593219, -0.0728619099, -0.0326864682, -0.0170774888, -0.0138927037, 0.0242469218, -0.0468275584, -0.017083589, -0.058412198, 0.0100841653, 0.0046149483, -0.0446817353, 0.0116996197, -0.0443811677, 0.0462898389, 0.0085173249, 0.012696756, -0.0415016823, 0.006017447, -0.0218444206, -0.0025011881, -0.0576204993, -0.0576241314, 0.0232816357, 0.0167537518, 0.0312926844, 0.0214253701, 0.037193168, -0.032706771, -0.098323822, 0.0346464589, -0.0695235357, 0.017306678, -0.0430984944, 0.0106637683, -0.0034326783, -0.0207009092, 0.0469262861, -0.0099921692, -0.0138437822, -0.0348573104, 0.0025098156, 0.0600440577, -0.0199942142, -0.0106130354, -0.0502111651, -0.0316887349, 0.0039413352, 0.0364316553, 0.003879963, -0.0381972753, 0.0215460602, 0.0191382468, 0.0157741457, 0.0553658344, -0.0040492201, -0.0527456366, -0.0288471039, 0.0203810204, -0.0836546123, -0.0142962951, 0.0056064916, -0.0037189145, 0.0088340025, 0.0359298624, -0.0151488492, -0.0297978483, -0.0832445472, 0.0136818485, -0.0291828867, 0.0617708787, 0.0140632745, 0.0205787029, 0.0679786354, 0.0257123355, -0.0143317934, 0.0058413646, -0.0541897528, -0.0264550149, 0.0220215339, -0.0447894298, -0.0021084216, 0.0518430248, -0.0292689539, -0.0018268148, 0.0540544987, -0.009310862, 0.0110247415, 0.0858327597, 0.0060989987, 0.0251701102, -0.0082120234, 0.0247129183, -0.0349802598, 0.0034537802, 0.0229401067, 0.0411685593, -0.0001062998, -0.0220088605, -0.001559275, -0.0126359249, 0.0599327311, 0.0018460033, -0.0115286484, -0.0140498905, -0.0046707867, -0.0073255016, -0.0189544726, 0.0264371205, -0.0371315219, 0.0059523536, -0.0167449191, -0.0460863523, 0.0823218524, -0.0220064837, -0.0008842035, -0.0490594618, -0.0302788299, 0.0445371829, 0.0136834392, 0.003561463, 0.0631141588, -0.0068285111, -0.0157634243, -0.0540717579, -0.029676592, -0.0165861044, 0.0226936694, 0.0089194784, -0.0250707213, -0.08105243, 0.0299949553, -0.0479554571, 0.037037082, 0.0221429616, -0.0252791978, 0.0173585396, -0.0176728349, 0.037191432, -0.0040398682, -0.0031097489, -0.0007983043, -0.0096157463, -0.0065092403, 0.0053280089, 0.0702243373, -0.0085125854, -0.0077434457, 0.0536936186, 0.0594622418, -0.0422962792, 0.058694616, -0.0391761772, 0.0104012676, -0.0192395132, 0.038019985, 0.018318722, 0.0870965868, -0.0073775658, 0.0216633882, -0.0560322441, -0.0072544478, 0.0540165491, -0.0498885661, -0.0133867878, 0.0483518913, 0.0231889896, 0.0313381925, 0.0145256203, 0.0459226444, -0.0207348224, 0.0207096618, 0.0131042367, -0.0389853567, -0.0338301249, -6.516973742e-33, 0.0115994588, -0.0117652407, -0.0043096077, 0.0289060343, -0.0616490841, 0.0458287038, -0.031525299, -0.0119160926, -0.0035720249, 0.038891729, 0.0082750525, 0.0351194814, -0.0007097487, -0.0074561536, 0.0197879355, -0.0206641424, 0.0376666747, -0.0181842372, -0.0130065754, -0.0113129048, 0.0767502263, 0.0202116221, 0.0888674334, -0.0778339431, 0.0271039512, 0.0408087336, 0.0347208865, 0.0350475945, 0.0295566898, 0.0234823842, -0.0583202504, 0.0802156627, 0.0389596596, -0.0069121984, -0.033917509, -0.0041530863, -0.0609237924, -0.0638585612, 0.0160977188, 0.0149080222, -0.0359463617, -0.0438879877, 0.0146179935, -0.001239693, -0.0385377891, 0.0341035761, 0.0324362554, -0.0266286712, -0.0627679452, -0.021585362, -0.0646560565, 0.0267793462, -0.0285615418, 0.0365244523, 0.0012476052, -0.0457870588, 0.0423735641, 0.0233753379, -0.0981977507, 0.0120416535, -0.0171098951, -0.0146034351, 0.0004072368, 0.0046026036, 0.0157678667, 0.0648478866, 0.0156665519, -0.0318225622, 0.0305692982, -0.0134081217, 0.0560757108, -0.0203434434, 0.0427557863, 0.0508427955, 0.0082200896, -0.0636308491, -0.0425114743, 0.0018993887, 0.0045752288, 0.0203188006, 0.0340821594, 0.0283197165, -0.0265483279, -0.0145570245, -0.038441889, 0.0174937826, -0.0335404724, 0.0278720353, 0.0397736505, 0.0218076091, -0.0095087523, 0.0100211967, -0.0046815113, -0.0404172279, -0.008618949, 0.0237117708, -0.0402785055, 0.0223005228, 0.0547310449, -0.0064297006, 0.018082913, -0.0147508234, 0.0454830937, 0.0038143185, 0.0172704551, -0.0586026162, 0.0135363294, 0.0107447458, -0.0300801042, 0.0007347845, 0.0164001212, -0.0591065958, -0.0248450004, -0.0376559347, -0.0187801979, 0.0056146402, -0.0253915265, 0.0497951843, 0.0635536909, 0.0285236575, 0.0187599231, -0.0350181982, 0.0264679883, 0.0294780955, -0.024185678, 0.0182979237, 0.0286625847, 0.0573106445, 0.0914386287, -0.02137894, 0.0035083918, 0.0116023291, 2.9e-7, 0.0501152128, 0.0609150492, 0.0072164233, -0.0431072116, 0.0907328278, 0.017239619, -0.0205717664, 0.0366552547, -0.0514661111, 0.0230930299, -0.0060232994, 0.0016105961, -0.0035490834, 0.0043181926, 0.0309436209, 0.0230874717, -0.0340690203, 0.0116837062, -0.0705246478, 0.0172454808, 0.0629516691, 0.0626743957, 0.0234108735, -0.0154379141, -0.0313061439, -0.0233744532, 0.0562346242, -0.0438139178, 0.0348491594, -0.032313183, -0.0193407554, 0.0443222299, 0.0692486539, 0.0060800486, -0.023675153, 0.062281955, -0.004212331, 0.0112440651, -0.0345346667, 0.0325202905, -0.0213524811, -0.0100159338, 0.0045252377, -0.044344116, 0.09512759, -0.0602221414, -0.0078894114, -0.0974900797, -0.0132496459, 0.0389355905, 0.0710198656, 0.002917005, -0.0360117219, 0.0058850064, 0.021870736, 0.0377316698, -0.0655320063, -0.097105518, 0.0099178627, 0.0013274873, -0.0152707687, 0.0016450818, -0.0369277596, -0.0154668782, 0.0537807308, -0.0186553225, 0.0193442907, 2.209110896e-34, -0.0123946853, 0.0302627329, -0.0017735593, 0.0076596504, 0.0014513902, -0.0350141115, 0.0425967239, -0.0170071051, 0.0121227475, -0.0801229998, 0.0228758696 ]
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.
Efficient Training of Language Models with Compact and Consistent Next Token Distributions: 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.0178050026, 0.1030632257, 0.0227932427, 0.0114231817, -0.0325811394, -0.0006254773, 0.0029421994, 0.0145258158, -0.0473911129, -0.0540168919, -0.0212690867, -0.0696412399, 0.0001872561, 0.0187363252, 0.0857342556, -0.0362596251, 0.025656892, -0.0335857794, 0.0101068467, -0.007850063, 0.0185087118, 0.0034650401, 0.0057738344, 0.0686073452, -0.060206648, 0.0181003474, -0.0206849873, 0.0285147019, 0.0005780192, -0.0407600254, 0.0113395499, 0.0437542535, 0.0277934186, 0.0044537028, 0.0000018033, -0.02262583, -0.0132889813, -0.0075744539, -0.0327214561, 0.0360196233, 0.0488854088, -0.0307962466, 0.0017062885, 0.0426120684, 0.0143018318, -0.056229081, 0.0588629954, 0.0285844374, 0.0121302707, 0.0708530769, -0.0068073785, -0.0346380398, 0.0392615311, -0.0565432534, -0.0209743083, -0.0573694259, 0.0396929048, -0.0182188433, 0.0006018374, -0.0072786123, -0.0228829645, 0.0085864291, -0.0182173364, 0.0254066158, -0.007681224, 0.0698127076, -0.0136192646, -0.0049950415, -0.0114916991, 0.0324577317, -0.0401927754, -0.057072632, 0.0028004656, 0.0052303043, -0.0163920689, 0.002487334, -0.0474986807, 0.0125132622, 0.023198016, 0.037202809, 0.0379147194, -0.0141602224, 0.0402607732, 0.0236503445, -0.0796707645, 0.04252683, 0.0319730788, -0.0145830261, 0.0180354137, -0.0093863579, -0.0366509929, -0.0466926545, 0.0072570913, -0.0078868456, 0.0061923815, 0.0092327734, -0.0317944922, -0.0623240136, 0.0241852906, -0.0111643057, -0.000276481, 0.008291658, -0.0137500549, 0.0283503011, -0.0183675513, 0.0126928128, 0.0247183051, 0.0395900011, -0.050620947, -0.0070451428, -0.0090987142, -0.0021911312, -0.072923176, 0.0287910476, -0.0048138238, -0.0145053267, -0.0318486281, -0.0089475522, 0.0106702633, -0.0418648683, 0.0117984992, -0.0043775807, -0.0409349278, -0.0071036713, 0.0220816191, 0.0103658596, -0.0377826691, 0.0448897071, 0.0121173095, -0.0444833897, -0.0347436704, 0.0096667428, 0.018919507, -0.0052244514, 0.0044019874, 0.0212210659, 0.0052312342, -0.043981716, -0.0326667503, 0.0227821749, -0.0188791156, -0.0446217172, -0.0401848964, -0.076936461, 0.0296422355, -0.0034588054, 0.0184788238, -0.0395906642, -0.0136842886, 0.0035398002, -0.0233845599, 0.0468774922, -0.0168169271, 0.0070403884, 0.0066491053, -0.0214706734, 0.0545956045, 0.0886847004, 0.0018195574, 0.0074992417, 0.0432055667, -0.0079885842, -0.0472346433, 0.0556748211, 0.0461850427, 0.0239081904, -0.0295476876, -0.0291160159, 0.0314453505, 0.0232768878, 0.0675226375, 0.0738717914, -0.054715272, -0.0264925659, 0.0180622824, 0.0894440114, 0.0030316135, -0.0254582092, 0.0526268743, -0.0041797711, 0.001355688, 0.0183409397, -0.0313328579, -0.0513222143, 0.0073279692, -0.0056645242, 0.0612803921, 0.0273086559, -0.0521964058, -0.017261425, 0.0056013516, -0.0358495116, 0.0141155021, -0.0269387271, 0.0629315302, -0.0192295946, -0.0171520244, 0.0826838464, 0.0713711828, -0.0299783628, 0.032409288, -0.0616324656, 0.0435970016, 0.002606198, 0.0329747088, -0.0235942211, -0.0187300518, 0.0039945263, 0.0328692123, -0.006409396, 0.0293144528, -0.0147323487, 0.0525308065, -0.0268066321, -0.0059158918, 0.0301940441, 0.027718585, 0.0596374087, -0.0300165303, 0.0202383306, 0.0316498838, -0.0655083433, -0.0188410152, 0.0581976846, -0.0104756942, -0.0358854793, 0.0109680109, 0.013844681, 0.0315470248, 0.0134418011, -0.0281417295, 0.0125980349, 0.0557659306, -0.0449245647, 0.0071369414, -0.025625024, -0.064352572, -0.0376203544, 0.0467220359, 0.0139223048, 0.053201139, 0.0347360894, -0.043256171, -0.0344330817, 0.0107114865, -0.0034699792, 0.1054716706, -0.0496219881, 0.0234670695, 0.0178419556, 0.0104803164, -0.0580455475, 0.0160414614, -0.0219886713, 0.0493345782, -0.0376877822, -0.0342700183, 0.0197794419, -0.0292279031, -0.0111118145, -0.0073930388, -0.0296493303, 0.0285290405, 0.0503726862, -0.0011935891, -0.0008333586, 0.0060411342, -0.108071804, -0.0077214213, -0.039440386, 0.0244518686, -0.004291717, 0.0388629474, -0.026201345, -0.025580585, -0.0217332486, -0.0079536075, -0.004659086, -0.0061028218, -0.0036594651, 0.0430942811, -0.0189694874, -0.0816771835, -0.0463067666, -0.007984912, 0.0604349338, -0.0375538804, -0.0207520481, -0.0599393509, 0.0136469267, -0.0268897172, 0.0261345468, -0.0150972139, -0.0604404919, 0.0058728405, -0.0674876124, 0.0309899133, 0.0337947421, 0.0317524187, 0.0378167778, -0.0023075468, 0.0263239611, -0.0674634725, -0.0053994027, -0.026094703, -0.0299103186, -0.045311857, -0.030124547, 0.0169665217, 0.0909172595, 0.0016462334, -0.0153707219, -0.0315351635, 0.0023268438, -0.0265124012, -0.0181928966, -0.0194556098, 0.0161102824, -0.013891194, 0.017795166, -0.0114255548, -0.0514764674, 0.0348306, -0.0637383759, 0.0189367682, -0.0323689952, -0.0311660897, -0.0123712858, 0.0469026603, 0.0441201404, 0.0224469081, 0.0129172914, -0.0350432917, -0.0332020372, 0.0178371575, -0.0131120561, 0.0258874986, 0.0420121215, -0.0156675018, 0.025658397, 0.0023300608, -0.0387691259, -0.0275288075, -0.0994092375, -0.0284884889, 0.0075471113, 0.0441480242, 0.0218092874, -0.0555404425, 0.0355220288, -0.0295913406, 0.0691600069, -0.0158482045, 0.0195239205, 0.0000367349, 0.0403595567, 0.0561466925, -0.0253764465, -0.0034000187, -0.025212666, 0.0130029172, 0.0553161874, 0.0645260438, 0.0097226482, -0.0159071516, -0.0369484127, 0.0344295427, -0.0422272235, -0.0283225477, 0.0268466827, 0.0580893457, -0.0267211739, -0.0123768644, 0.1232053563, 0.0155252824, -0.0295165982, 0.0238398798, 0.02003574, 0.0831440911, 0.0087036388, 0.0012729982, -0.0560429916, -0.0341566503, 0.0056335893, 0.0196229964, 0.002168067, -0.0307027474, 0.0105998758, -0.0837677568, -0.0133813778, 0.0198201947, -0.0479756594, 0.0032525151, -0.054834798, 0.0160674397, -0.0209423508, 0.0225647874, 0.0172978677, -0.009185751, 0.0078638475, 0.0640490353, -0.0076170387, -0.0338110216, -0.003069923, -0.0727179497, 0.0270180516, 0.0147604709, 0.0106528476, -0.0072674146, -0.021883782, 0.0576508008, -0.0033184737, -0.0007434316, -0.00659888, 0.047205288, -0.0443995744, -0.0072447378, 0.0362084433, 0.0091277314, -0.0151610766, -0.0000892302, 0.0020047473, 0.0453131534, 0.0195214991, -0.0078957984, -0.0132208467, -0.0203535911, 0.0177523084, 0.0731414407, 0.0286480319, -0.0505603179, -0.0101965256, -0.0333086662, 0.0364951901, -0.004536429, 0.0135708814, -0.0091711683, 0.0001824515, -0.0496839955, -0.0538871139, -0.0184640028, 0.030772442, 0.0693094656, -0.0082448153, 0.0063791443, -0.003289534, -0.0160156619, -0.0249648243, 0.0216997955, -0.0246572793, 0.0025495014, -0.1012407914, -0.0217634905, 0.0303311218, 0.027063299, -0.0504920036, -0.0017599183, -0.1246141344, -0.0660371706, -0.0177254491, 0.0392251015, 0.0115085542, 0.0082515981, 0.0033369653, -0.0595816299, 0.0479470603, 0.0485913642, -0.0556218736, 0.0062585091, 0.0439264029, -0.0434419811, -0.0163783208, 0.03217398, -0.0599242151, 0.0177037679, 0.0041257506, 0.0517243855, 0.0035539265, -0.0206000656, 0.0129807862, 0.0080533084, 0.0846500844, -0.0526337549, 0.0047468706, -0.0370947309, 0.0045331419, -0.0138350017, 0.0158608221, -0.0195825752, 0.0054100142, 0.0165803656, 0.011959211, -0.0308679305, -0.0282306466, -0.0299160685, 0.0771910548, -0.0273945685, -0.0041458975, 0.0138412826, 0.0121310437, 0.0459155254, -0.0191809051, -0.0202085599, -0.0501767807, -0.0065056244, 0.0001324516, -0.0707440004, -0.0056117475, 0.0033249643, 0.0228642728, -0.0232866257, 0.0090718819, -0.0524949953, -0.0385700278, -0.0408986993, 0.0181188341, 0.0529314466, -0.0327886939, 0.0166481994, -0.0064829565, -0.0010265965, -0.0635517985, 0.0240651872, 0.002083848, -0.0131608667, 0.0480250306, 0.0103403004, -0.0216813274, 0.0270321276, 0.1166079342, 0.0437480211, 0.0387091115, -0.0069469223, -0.0130390981, -0.0243174899, 0.0070709032, -0.007314337, 0.0681070909, -0.0113081858, 0.0053534829, -0.0185370017, -0.0911394879, 0.0122213932, 0.0041567241, -0.0073054223, 0.011801606, 0.0537069291, 0.0486034863, -0.0206130408, 0.0128853973, -0.0325026475, -0.0040281885, 0.0256577376, -0.028236093, 0.0087516317, -6.353348602e-33, -0.0095092962, 0.0331409462, -0.0194389485, -0.0274307951, -0.0164962765, 0.0015996649, -0.0123409815, 0.0084712878, 0.0197044071, 0.0182660017, -0.0251761414, 0.0000470726, 0.0102852713, 0.0297877565, -0.0215519518, 0.0148080457, 0.0686931834, -0.0257029999, 0.0118985027, 0.0123279961, 0.0143455751, 0.0545708723, 0.0664585754, -0.0041702078, -0.0145346699, 0.0071842028, 0.0051813363, -0.0012487647, 0.0587896854, 0.0451696664, -0.0121386191, 0.0293395836, 0.0276829265, -0.0132241184, -0.0101726996, 0.0017679009, -0.0812017024, -0.0331297033, 0.0350383706, 0.0068679322, 0.0030925691, -0.0009681789, 0.0074493387, -0.0188913327, -0.0027677577, 0.0187530201, 0.0117708221, 0.0029048196, -0.0548810102, -0.0215804558, -0.027558133, 0.0412660018, -0.020219354, 0.0150125744, 0.0022205962, 0.0147570977, -0.0066395402, -0.0067821508, 0.0042705471, 0.0043827309, 0.0022026023, 0.0600243062, 0.0184397325, 0.0424715392, 0.0004873366, 0.0510987826, 0.0255975462, -0.0367664136, -0.0299063809, 0.0275788605, 0.0691225678, -0.0171258971, -0.0105290581, -0.0000949395, 0.0445544422, -0.0435840674, -0.0991313085, 0.0160831101, 0.0173225887, 0.0499920174, 0.0126286577, 0.0397936963, -0.0344305523, -0.0439037457, -0.05190612, -0.0860321447, 0.007399187, -0.0166178029, 0.0220553856, 0.0361502282, 0.0004763571, -0.0238551851, 0.0580031425, -0.0368412696, -0.063920401, 0.0396107398, -0.0007194597, -0.0127863223, -0.0220386963, 0.0189923849, -0.0780085996, -0.0279914066, 0.0161564499, 0.0039909696, 0.0224274341, -0.0054135206, 0.0491102301, 0.0141867911, -0.0715926886, -0.0261278879, -0.0235941969, -0.0163386576, 0.010487481, 0.0478287041, 0.0842434093, 0.0264934152, 0.0318958163, 0.044498153, 0.0165705718, -0.0511943288, 0.0011470865, -0.0119136246, 0.0267958622, 0.0300512258, -0.0366742201, -0.0103087705, -0.0347651057, -0.0177440438, 0.0614425018, -0.059717346, -0.0243160073, 0.0211749617, 2.39e-7, 0.0320770405, 0.0166207254, 0.0161613282, -0.026880566, -0.0000544475, 0.0049509257, -0.010372879, 0.0226924121, -0.004695029, 0.0009573847, 0.0037926158, 0.0020274264, 0.0317108966, -0.0012788348, -0.1277343929, 0.0068521919, -0.0614874251, 0.0352753252, -0.0309160147, 0.0016249606, 0.037417978, 0.1638142169, 0.0039914004, -0.0215369482, 0.0054601096, -0.0565867983, 0.0438487008, -0.0342786424, -0.0068907663, 0.0273182951, 0.0394466966, 0.0332877934, 0.0107531734, 0.0067119431, -0.0277060959, 0.025440149, 0.0263422634, 0.0521833003, -0.0307955556, 0.0002911361, 0.0395607911, -0.0039288104, -0.0011021206, -0.0317074433, 0.0575823076, -0.0101373205, 0.0089439182, -0.0282231756, -0.0099213179, 0.0146288304, -0.0011562204, -0.0426311456, -0.0363196321, 0.0508480407, 0.0462067947, -0.0173404217, -0.0133666154, -0.086269103, 0.0066311839, 0.0290937219, -0.0202026758, -0.0222225953, -0.017084308, -0.0251017846, 0.0362706743, -0.0329082608, 0.0275184866, 2.265285521e-34, 0.0694794431, -0.021925183, -0.0027375559, 0.0071660322, 0.0256448314, -0.0445319004, 0.0197299775, 0.0242107008, -0.0215971917, -0.1029351726, -0.0178715121 ]
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.
Images Speak Louder than Words: Understanding and Mitigating Bias in Vision-Language Model from a Causal Mediation Perspective: 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.0218166038, 0.0837973207, -0.038706623, 0.0464624725, 0.0032835903, 0.0401601605, 0.0301928297, -0.0239838026, -0.0077532465, -0.0733013749, -0.007448873, -0.0372217856, 0.0415426679, 0.0434441119, 0.0205834098, -0.0769103989, 0.0175611787, -0.00790451, 0.0203620177, -0.0244113822, 0.0209585689, 0.02587061, 0.0237371922, 0.0492473245, -0.0278081577, -0.0208832808, 0.0388489813, 0.0499195382, -0.0107278442, 0.0293521397, 0.0177420564, 0.0542836934, 0.0127515644, -0.0099266889, 0.0000019796, -0.070451811, 0.027130343, 0.0089195939, 0.007353269, -0.005651827, 0.0416085273, -0.033049386, 0.0078363549, 0.020126814, 0.0066808825, -0.0153772952, 0.0865335613, 0.0367373005, 0.0134742493, 0.0154221896, -0.032194607, -0.0100807417, -0.0497966893, -0.0167014543, 0.0123547027, -0.0068011787, 0.0543844625, -0.0254905839, -0.082766816, -0.018431047, -0.0623570643, 0.0134311216, 0.022562176, 0.0123548247, 0.0127112698, 0.0274903346, 0.0004311686, -0.0768021792, 0.0079983408, 0.0604158752, -0.0121512786, -0.0031753893, -0.0042724973, -0.0418469049, 0.0308968723, 0.0353705548, -0.0206505116, 0.023841098, 0.0323111713, 0.0106263421, -0.0407066196, -0.023321759, 0.0398797169, 0.047666572, -0.0112759797, 0.0284680128, 0.0341904201, 0.0134539884, 0.005604187, 0.0433467105, 0.034194801, -0.0687994659, 0.0084037669, -0.0345671177, 0.0091578644, 0.0009802028, -0.0316124298, -0.0269122925, -0.0133505315, -0.068149671, 0.0097815553, 0.0426645018, -0.0508533046, 0.01064933, -0.0241616368, 0.0423808061, -0.0132580493, 0.0429151282, -0.0314525329, -0.0229723342, 0.0162386894, -0.0378778279, 0.0075902091, -0.0575187951, -0.0187128186, 0.0066979802, -0.0249833371, -0.008806061, -0.0496788733, -0.0221732762, -0.0064810896, 0.046108678, -0.0463517793, -0.0092134532, -0.0333372094, 0.0606306009, -0.0091495952, 0.042844791, -0.0406755842, -0.103542164, -0.0147165488, 0.0327902883, 0.0100435866, -0.0350913852, -0.0022502688, 0.0506381541, -0.0087835509, -0.0339279249, -0.0215331428, -0.0058577741, -0.0152261071, -0.0426359177, 0.054781083, -0.0472824797, 0.0021111476, 0.0328175724, 0.0257891379, -0.0481144488, 0.0009063251, -0.0162368491, -0.0371232741, 0.0688655972, 0.0425613895, -0.0190012511, 0.048031196, 0.004284095, 0.0227958392, 0.1158318147, 0.0387444384, 0.0209388509, -0.0054920027, 0.0006871145, 0.0081549985, 0.0505869165, 0.0115880026, 0.0302328561, -0.079238683, -0.0098006576, -0.0150342621, 0.020484481, 0.0811572671, -0.0013151243, 0.0016941372, 0.0068947137, 0.0856122151, 0.0015825869, 0.0016569081, 0.02055078, 0.02351062, -0.0337586813, -0.0070015653, 0.0188484099, -0.0710623637, 0.0357182398, 0.0093827462, -0.0242893472, -0.0374715179, 0.059831813, -0.0466328152, -0.0423092395, 0.0048351754, -0.0004681876, 0.0201430786, 0.0306704715, 0.028540263, 0.0237957034, -0.0116820438, 0.0429790616, 0.0201608185, -0.0222372934, 0.0304922741, -0.0410396308, -0.0221666768, 0.0380635187, -0.0110856453, -0.0089921355, 0.0122798439, -0.0078941938, -0.0157050174, 0.0547005497, 0.0217248425, 0.0242595337, 0.0405859351, -0.0521021709, -0.0503484979, 0.0122658936, 0.033504799, 0.0128890239, 0.014277353, 0.0178383198, 0.0252219494, -0.0020913079, -0.056135498, 0.0376384184, 0.0395221524, -0.0185668562, 0.0028762943, 0.0119167045, -0.0037345993, 0.0001765372, -0.0332109518, 0.0114463363, -0.0016047297, -0.0015357964, -0.0100778351, 0.0533644222, -0.0499479175, -0.002689884, 0.013142176, -0.0890040621, -0.0478811301, 0.0303074718, -0.0165950656, -0.0161321126, 0.0516265295, -0.0347945653, -0.0022631858, -0.0105488002, 0.0021906404, -0.0262952857, 0.0446493253, -0.0086306399, 0.0204009879, -0.0278737824, -0.0646458492, 0.0220559295, -0.0359491967, 0.0032385979, -0.0306616928, 0.0101971012, 0.0080123805, 0.0149099221, 0.0030551518, 0.0477963872, -0.0368408449, -0.0381886661, -0.0031723499, -0.0539711453, -0.03808631, -0.0375719443, -0.053431794, -0.0040276716, -0.0022640554, -0.0146375559, -0.0471360721, -0.0136615802, 0.0243027285, -0.0081320321, 0.0520293154, 0.0004283378, -0.0287100002, 0.0184234791, -0.0357510373, -0.0322637782, -0.0116095487, 0.0730012879, 0.0463771671, -0.0562886409, -0.0426346883, 0.0068255919, -0.0026458593, 0.0196278989, -0.0019463606, -0.0193543211, 0.0199260004, 0.0128953764, 0.0398521684, 0.1062125191, 0.0065148962, 0.04938462, 0.0682374164, 0.0079962146, -0.0461387038, -0.0327770747, 0.0040634423, -0.0062261969, -0.0117790839, -0.0596767515, -0.050606396, 0.0176644996, 0.0053023514, -0.0020702444, -0.0607065149, 0.0391543843, -0.0018100477, -0.0918006599, -0.0406721719, -0.0464129075, 0.0052935621, 0.0405987017, -0.0530048907, -0.0709231794, 0.0147845643, -0.0013283241, 0.0051851706, 0.000339709, 0.0450807735, -0.017553119, 0.0315814167, 0.0289368201, 0.030291779, 0.0316641331, -0.0080713099, -0.091833733, -0.0458259322, 0.0214169752, -0.0145009216, 0.0065190308, -0.0429813378, -0.0049783671, 0.0026694725, -0.0215580296, -0.0433049463, 0.000276207, -0.0204016343, -0.0071077081, -0.0409753211, 0.0265796371, -0.0386653394, -0.0194264725, 0.0226188544, 0.0207228065, -0.0134790214, 0.0010089109, -0.0072869118, -0.0132694999, 0.0744921938, 0.0007981192, 0.0303844884, -0.0649646297, -0.0217212755, 0.0190270822, -0.0338450558, 0.0207915511, -0.0640922859, 0.0286886748, 0.0441243351, 0.0262435302, 0.0132809188, 0.0126581462, 0.0487656966, -0.0611248277, 0.0136462832, 0.0777780712, -0.0051164972, -0.0874487758, -0.015501678, 0.0239389502, 0.0147442827, 0.0314593837, -0.0247403532, -0.0795459077, -0.0126843546, 0.0290474948, -0.0499922484, -0.0244415198, -0.0087946486, -0.0192713141, -0.0935331583, 0.0351523049, 0.0068640495, 0.0157444943, -0.0305553023, 0.0004392957, -0.0044971867, -0.045894511, 0.0300661866, -0.031761229, 0.0124831237, 0.0154250339, -0.0027661526, 0.0218226723, -0.0600802228, -0.0173346866, -0.0530866683, 0.0063334452, 0.0715897381, 0.0127202244, -0.0352854207, -0.0164887477, 0.0601233393, 0.0101913912, 0.0236652642, -0.0048888414, 0.0707505792, -0.04853357, -0.0362780876, -0.006520289, 0.0538163371, 0.0306142252, -0.0103479456, -0.0316045135, -0.004079672, 0.0114816213, -0.0025148734, -0.05323755, -0.03526292, 0.0094038825, 0.0271286853, 0.0134069081, -0.0362259746, -0.0254897941, -0.0462327823, 0.0046659699, 0.031082673, -0.0633757263, -0.0092080692, 0.0540970117, -0.0359708294, -0.0204444174, -0.0383109525, 0.0252298377, -0.0059922189, 0.0049254186, -0.0546814576, -0.0049194652, 0.0037446045, -0.0624848306, 0.0997537598, -0.0207958166, 0.0322968885, 0.0198375005, 0.002125026, -0.0456286296, -0.0578057095, -0.0051903841, 0.0339168869, -0.0634639859, -0.0511263534, 0.0199964866, 0.0721797645, 0.021719398, 0.0704052746, 0.0130166095, -0.1083424389, 0.0478638597, 0.0202956069, 0.0170801319, 0.0427532345, 0.0243648048, -0.0484206043, -0.011789876, 0.0314083509, -0.0377497897, 0.0003876029, 0.0261858199, -0.0110009238, 0.0169822443, -0.0490258224, 0.0108161382, -0.0373848788, 0.0432057604, -0.0630294979, 0.0357213356, -0.0384350345, -0.0165228005, 0.000267094, -0.0166217834, -0.0314143114, -0.0037225944, 0.0524141863, 0.0512283444, 0.002893632, -0.0190896802, -0.0276397448, -0.0176018402, -0.0121420166, -0.000313146, 0.0222210139, 0.0173803978, -0.003468513, 0.0386750661, 0.0157797728, 0.045918826, -0.0319028012, 0.0054995744, 0.0370918959, 0.0309149157, 0.039238777, 0.0258307494, -0.0394066051, 0.0010360923, -0.0384244695, -0.0220850501, -0.0363882408, 0.0178087447, 0.0476187244, -0.0600413829, 0.0420216881, -0.0087527707, -0.0140884696, -0.0114758052, -0.0090726037, 0.0157462955, 0.0022118783, 0.066317454, 0.0039864359, 0.0048199515, -0.0146671152, 0.0396865159, 0.0460731536, 0.0597230047, -0.0363001451, -0.0261604208, 0.0076151667, -0.050991524, 0.041936662, -0.0245736092, -0.0343010537, 0.0339042619, -0.0474472269, -0.050059244, -0.0146042481, -0.0338810943, 0.0271558408, -0.0099858353, 0.0405278876, 0.032431405, -0.0343704931, -0.0424535573, 0.0053234631, -0.0140137449, -0.0126364864, 0.0014789655, -0.0018781691, -6.078923568e-33, -0.0348356739, -0.0213048197, -0.0103173703, 0.001590379, -0.016151147, 0.0107728904, -0.014160716, 0.014847368, -0.019879343, 0.0538618378, 0.0422223173, 0.052973114, 0.0249292031, 0.0220077988, -0.0011465583, 0.0038518196, 0.0641850904, 0.0127081973, -0.0230287462, -0.0493190698, -0.0239847489, 0.0183717329, 0.0360657051, -0.0845009983, 0.0542688668, 0.0223941635, -0.0315680467, -0.0128046507, -0.0092772301, 0.0367269665, -0.0249500182, 0.0603432655, 0.0208755583, -0.037528798, -0.0225356985, 0.0632722527, -0.0544680618, -0.0215379708, 0.0262217838, 0.0691785216, -0.0304152109, -0.0265782382, 0.0445975959, 0.0142812412, -0.0291173402, -0.0603035055, 0.0689090416, -0.019379938, 0.0323398151, 0.0325229317, -0.0551063754, 0.0017140564, -0.0384362377, 0.0150245549, 0.0518724248, 0.0102417208, 0.0041488763, 0.0371560939, -0.0176852476, 0.0216816291, 0.0116817057, 0.0124435537, 0.0620268621, 0.0895636156, 0.0332381874, 0.050499294, 0.0649393722, 0.00748862, -0.0251033753, -0.0795975253, 0.054855261, -0.011433294, 0.0688546449, 0.081102252, 0.024331063, 0.0212465078, -0.0698491633, -0.0365286022, -0.046419654, 0.0380293652, 0.0282483026, 0.001749273, -0.0153006269, -0.037810456, -0.0706120953, -0.0740113854, -0.0329208858, -0.0028643368, 0.0269401427, 0.0189399906, -0.0080725495, 0.0460533537, 0.0299966782, -0.0471643247, -0.0066273124, 0.0137793971, -0.0196092837, 0.0127298022, 0.0327799246, 0.0165304318, -0.0578469634, 0.0135371946, 0.0519902222, 0.0536527708, 0.0212593768, 0.0262406524, 0.018364409, 0.0031438931, -0.0263672322, -0.0070019085, -0.0569236912, -0.0293716397, 0.0146865547, 0.0294981319, 0.0214701183, 0.0405431502, -0.0527336933, 0.0040300419, 0.028454287, 0.0177076273, -0.0215966757, -0.0294666979, 0.0039487076, 0.0514686927, -0.0329775251, -0.0304126162, -0.0311585665, -0.009303119, 0.0671833158, -0.05852383, -0.0247951522, -0.023753453, 2.553e-7, 0.0301094223, 0.0253366735, 0.031227326, 0.0072527854, 0.0404267758, 0.0531278662, 0.0151623487, 0.0425908789, 0.0577820502, -0.0178622138, -0.0054106526, 0.0642474294, 0.0094210831, -0.0286106225, 0.0035872706, 0.0422886834, -0.0415067859, 0.0220631082, -0.0096687451, 0.0158631857, 0.0041346652, 0.0711173341, -0.0065581608, -0.0121849515, 0.0089937663, -0.0040914561, 0.0733288676, -0.0378438123, 0.026940031, -0.0154108359, -0.0297413841, 0.024261089, -0.0075114169, 0.055616267, -0.0040365234, 0.0014255618, 0.0128943464, 0.0161885247, -0.0550298095, 0.0143434769, -0.0408166163, 0.0330758467, -0.0399609283, -0.0747690424, 0.0797819793, -0.0318238512, -0.0426092483, -0.0372692347, -0.0231411289, 0.0183136985, 0.0640924647, 0.0014665035, -0.0155999037, -0.0081555368, 0.0237282794, 0.0173555873, -0.0366061144, -0.0668294579, -0.0502582639, -0.0467844084, -0.0148198847, -0.0499256626, -0.0399455726, 0.018670423, 0.0283570122, -0.0353009887, 0.0065151579, 1.921479711e-34, 0.013543169, 0.0139162736, 0.0311324466, -0.0278543048, -0.0090160379, -0.0398813821, -0.0352921747, 0.0077275233, 0.0306417234, -0.0337662809, -0.0044640079 ]
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.
52B to 1T: Lessons Learned via Tele-FLM Series: 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.0311673358, 0.04533609, -0.0214014854, 0.030110212, 0.0081743309, 0.0163289793, -0.0006551582, 0.0129959071, -0.0327349417, -0.0252758078, -0.0708540827, -0.0581785254, -0.0042740884, 0.0623858348, 0.0470431298, -0.0359323137, 0.0272790566, -0.0652680546, -0.0146033652, -0.0253243558, -0.0353875794, 0.0220417157, 0.0243818983, 0.0220516566, 0.0074115666, 0.0148037029, -0.0041463589, -0.0042267698, 0.0013628668, 0.0167332292, -0.0123210261, 0.0496697463, 0.0176827479, 0.054532446, 0.0000020585, -0.0502273515, 0.0061161038, -0.0086527439, -0.0561715066, 0.0759843811, 0.0293049179, -0.0232660174, -0.0105252257, 0.0148183601, -0.0222236495, -0.0145584987, 0.0261637121, -0.0047037061, 0.0371651873, 0.0857076719, 0.013675401, -0.0462271348, 0.067188032, -0.0507667437, -0.0501831919, -0.0504719578, 0.0368345603, -0.0006268909, 0.0155218113, 0.0182987712, -0.0223996174, 0.0318971872, 0.0185911488, 0.0219285395, -0.0266763326, 0.0081288675, -0.0323032811, -0.0331540368, 0.0137404744, 0.0636279881, -0.0373553112, -0.0172334947, 0.0024761471, -0.0082925502, -0.0106484247, -0.0085721957, -0.0357237272, 0.0368257239, 0.0184714384, 0.0122899851, 0.0235818513, -0.0714155734, 0.0518193394, 0.0125145344, -0.0366000757, 0.0377816968, 0.0236277599, -0.0137818959, -0.0129008256, -0.0438677333, -0.0727550164, -0.0202726591, -0.0080129188, 0.0190375876, -0.0452533625, -0.0173357483, -0.0533107854, -0.0177466534, 0.0274252985, -0.0379322693, 0.0794571415, 0.0294038411, 0.0180944204, 0.0511674024, 0.0034497213, 0.021194173, -0.0330289975, 0.0028983175, -0.0393088534, -0.0155369248, -0.0341620445, 0.0033234202, -0.0467123985, 0.0175070949, -0.0406137593, -0.0200044066, -0.0274080485, 0.012211307, 0.021598449, 0.0089166788, 0.0020401888, -0.0259856302, -0.0255939215, -0.0339902677, 0.0193518959, 0.0101685338, -0.0500796027, 0.0170636531, -0.0103010098, -0.0550168306, -0.0031381, 0.0056852624, 0.0185509026, -0.026940044, 0.0594579652, 0.0536823012, 0.0076745339, -0.0524054095, -0.0441092551, 0.0088174278, -0.0043852031, -0.0860832706, -0.0176725369, -0.0432525575, 0.0080607859, 0.0131292799, 0.0098285135, -0.0182767007, -0.0233476162, -0.0126194814, -0.0554977879, 0.0334525444, 0.0029361774, 0.0291886292, 0.0286179632, -0.0309430435, 0.0166663118, 0.0856058523, 0.0432057492, 0.0165944286, 0.040164195, -0.0373513661, 0.0106210876, 0.0577734895, -0.0167391598, 0.036301855, -0.0344680659, 0.0058129299, 0.0369152203, 0.033097364, 0.0104271108, 0.0406619385, -0.0282746144, -0.0261510462, 0.0509186052, 0.0382653736, 0.0381795391, 0.0541869737, 0.04778127, 0.0137567976, 0.0322047025, -0.0286381003, -0.0541723929, 0.0056497366, -0.059375152, 0.0068966248, 0.0509274304, 0.0458484814, -0.0411432832, -0.0105751632, -0.0260473359, 0.0005732584, -0.0309057366, -0.0035895319, 0.038852755, -0.0220822301, -0.006153116, 0.0395275429, 0.0580213182, -0.0283193644, -0.0202516746, -0.0541335307, 0.0184869636, 0.0729751214, 0.0316954218, -0.0373073816, -0.0375294089, -0.0017474621, 0.0360972509, 0.0461166576, 0.0769485533, -0.0010706582, 0.0490621477, -0.0520304814, 0.0070008165, -0.0081667388, 0.0220022239, 0.0170872994, 0.0135625955, -0.0164244305, 0.0035797593, -0.0246527828, -0.0291210283, 0.0102216359, -0.0409707427, -0.0259389523, -0.0116478531, -0.0030488146, 0.0403080061, -0.0091045285, -0.0324269868, -0.0114166187, 0.0134534668, -0.0245484728, 0.0348184183, -0.0565632284, -0.0143923583, 0.0268053431, 0.0328846127, 0.0049883686, 0.0229604077, 0.0414090455, -0.0395360999, -0.044581674, 0.016478572, -0.028613681, 0.0569352806, -0.0385397263, 0.0540178567, -0.0399375707, 0.0355909318, 0.0014651298, 0.0164402463, -0.0038647652, 0.0126158418, 0.0154702365, 0.0113553377, 0.0251991879, -0.0659109354, -0.0212723538, 0.0148843527, -0.0051106173, 0.0197828431, -0.0136175212, 0.0258310698, -0.0096539529, -0.0296814386, -0.0781480223, 0.0191891734, -0.0351051576, 0.0052826069, 0.0108092753, -0.011386428, -0.0333225802, 0.0172978248, 0.018500492, 0.0022257995, -0.0161924995, 0.0203538015, 0.0261969361, 0.0229919329, -0.0668620691, -0.0637130365, -0.0379522778, 0.0035510715, 0.0558167696, -0.0220034067, -0.0114158727, -0.0744430944, 0.019904105, 0.0052969842, 0.0342610702, -0.0124763539, -0.0727968514, -0.0148531776, -0.0385851935, 0.0134106651, 0.0769833103, 0.0051647793, -0.0119214393, 0.0434718393, 0.0029744681, -0.0296484269, 0.0079312362, -0.026911404, -0.0698793754, -0.044088643, 0.0298379008, -0.0111126956, 0.0576425493, -0.0603607595, 0.006909003, -0.0610878915, 0.055267483, 0.0127169127, -0.0092935022, -0.0130213443, 0.0308032911, -0.0274773631, 0.0285832584, -0.0135366283, -0.0611639433, 0.0334283821, -0.031063959, 0.0070444415, -0.0104840798, -0.0092249224, -0.0394369178, 0.0607820377, 0.0271240361, 0.0363519639, 0.0248013996, -0.0066390028, -0.0392948873, 0.0157052726, -0.0102408035, 0.0012536839, 0.0259044245, -0.0474973172, 0.0155034661, -0.0060425783, -0.0729201287, 0.0083587095, -0.0508903675, -0.0416570604, 0.0349226519, 0.0470189564, -0.0651970729, -0.0273299795, -0.016110599, -0.003773297, 0.0237538945, 0.0009437428, 0.0118731605, -0.0269108824, -0.0114628961, 0.056088008, 0.0173565857, 0.0276086461, -0.0240689479, -0.0041075349, -0.0154114552, 0.0017878069, 0.02741188, -0.0030612713, 0.0187215209, 0.0300117172, -0.0393853039, -0.0480647571, 0.0125695616, 0.0576816089, -0.048452843, 0.0000468439, 0.114778541, 0.0086198896, -0.0406553894, 0.0226353835, 0.0204981714, 0.0298038851, 0.0213564336, 0.0465551242, -0.056837365, -0.0226656757, 0.0017994773, 0.029172698, -0.0028548092, -0.0090191942, -0.0002567827, -0.121712938, 0.0283143986, 0.044836577, -0.0124087036, -0.0532938726, -0.0165355802, -0.0112746023, -0.0386235788, 0.0217085239, 0.0531986803, -0.0316942669, -0.0182727054, -0.0013128439, -0.0004319866, -0.088637054, 0.0834775418, -0.0422230475, 0.0668075085, -0.0045878743, -0.0070867389, -0.0059515531, -0.0280923229, 0.0274791606, -0.0091675119, 0.0120738987, -0.0254256167, 0.035123121, -0.0020519875, -0.0239596944, 0.0257505532, 0.0419087447, -0.0303801857, 0.010944806, -0.0137139065, 0.0417404398, -0.012838359, 0.000547093, 0.0320158079, -0.0227783248, -0.0496904738, 0.0595565252, 0.0402242206, -0.0490430519, -0.0107461512, -0.0193013661, -0.0482115336, -0.0453733914, -0.0126402229, -0.0099371001, -0.015432667, -0.0004322962, -0.0131881554, 0.0087500131, 0.0431265943, 0.0255312175, 0.032176692, -0.0122151785, 0.0036753644, 0.0114946403, -0.0238444004, 0.0495968871, -0.0350426771, -0.0019425761, -0.1076094881, -0.051048927, 0.0535606034, -0.0136488527, -0.0085866656, 0.0311863944, -0.0962960795, -0.0781944692, 0.0175234545, 0.0448448211, 0.0338408835, 0.0445730574, -0.0102996957, -0.082227543, 0.0195302758, 0.0132607715, -0.03599957, 0.054192204, 0.0336199664, -0.0013919731, -0.0038405822, 0.0618984811, -0.0294454899, 0.0234367661, 0.021241175, 0.0162312631, -0.0251631532, -0.0309010986, -0.0142699918, 0.0227649566, 0.0321255513, -0.0016747862, -0.0122038294, -0.0381581411, 0.0408543609, -0.0062072766, 0.0084892167, -0.0212603454, 0.0121635646, 0.0306196585, -0.0031641431, -0.0310682952, -0.0212417729, 0.0286093298, 0.0208491031, -0.0165772513, 0.0054842313, -0.0244464017, -0.0002216423, 0.053772863, -0.0157416686, -0.0154720545, 0.0740260482, -0.0060687545, 0.0295689907, -0.0292576458, 0.0524851419, -0.000229933, 0.0160968564, -0.0858336613, 0.0535688363, -0.051199466, -0.1268042922, -0.0614440963, 0.0455255732, 0.0638084859, 0.0088136951, 0.0175994076, -0.0276905, -0.0350493155, -0.0264548156, 0.0113386158, -0.0002663991, 0.0093988394, -0.0075800288, 0.0420461074, -0.0568122305, 0.0245065279, 0.0768321529, 0.0404205061, 0.0571852066, 0.0342729166, 0.0125225028, -0.022353204, -0.0189764183, -0.0267670676, 0.0127766626, -0.0185249373, 0.0104924543, -0.0291478299, -0.0532596186, 0.0004891319, 0.0169421043, 0.004237039, -0.0057129483, 0.0406963639, 0.0521505699, -0.0207781754, -0.0023306534, -0.0242593791, -0.0308828149, 0.0314890705, -0.0127329249, 0.0145095205, -7.001781407e-33, -0.0077849152, 0.0701233074, 0.0090420246, 0.0135388048, -0.0098168235, -0.01935816, -0.0120440805, 0.0240853727, -0.0424314216, -0.0119631961, -0.0157024413, 0.0145902317, 0.0095044542, 0.0355278887, 0.0172311049, -0.0121452333, 0.0784310326, -0.0018139487, -0.0066901878, 0.0140407998, 0.0153396949, 0.0330385938, 0.0474082232, -0.0315937437, -0.055764176, 0.0172763709, -0.0152961537, 0.0527509525, -0.0188266374, 0.0642589629, -0.023645822, 0.0485074855, 0.0041284948, -0.0215400476, -0.0169282313, -0.0214394331, -0.0367877334, 0.0024267894, 0.0218076184, 0.0030364951, -0.0000790781, -0.0511815473, 0.0444818698, -0.0108833211, -0.0510242358, -0.0003248698, -0.0093412735, -0.0453461595, -0.0294802468, -0.009431391, -0.0408566073, 0.0169294085, 0.0198990982, -0.0128640234, 0.0256072786, -0.0265996214, -0.0260152146, 0.0170103125, -0.0034087817, -0.0039336742, 0.1012282893, 0.0635771602, 0.0334778577, 0.0303652603, 0.0257523153, 0.0439237058, 0.0041307057, 0.024186356, -0.0164488405, 0.0008449385, 0.0257599298, 0.082870014, 0.0184764918, 0.0238539074, 0.0210277941, -0.0418324918, -0.0545544438, -0.0324010588, 0.0080986377, 0.0332363956, 0.01977049, 0.0221821386, -0.0258207917, -0.0332693122, -0.0559286624, -0.0455290489, -0.0435185172, -0.0031859237, 0.0255453847, 0.0201723669, 0.0011486158, -0.0168636348, 0.0257059839, -0.0468702577, 0.0158119276, 0.0047710054, -0.0169576164, 0.021776652, 0.0077446797, 0.0014758754, -0.0368739255, -0.0766606629, -0.002699567, -0.0113378847, 0.013871979, -0.0082791438, 0.033858642, 0.0598079637, -0.0541297756, -0.0016375136, -0.013091309, -0.0161812827, 0.006051444, 0.0276932735, 0.0279193074, 0.0073813745, 0.0198573787, 0.0666051954, -0.0073185046, 0.0080565028, -0.0253801048, -0.0277490597, 0.0174856186, 0.0177932959, 0.0099632172, -0.0019436452, -0.0420865417, -0.0191910192, 0.0652337149, -0.058407478, -0.0125307254, 0.0099469926, 2.735e-7, 0.0268054008, 0.0849107876, -0.0039715562, -0.0260511693, 0.0305059683, 0.0318607762, -0.0102162976, -0.0042419117, 0.009026099, 0.0134301474, 0.0162668247, 0.0342026129, 0.0593302324, 0.0000816146, -0.0629629493, -0.0057687922, -0.0553376265, 0.0219900124, -0.0878770947, -0.0356291868, -0.0196900684, 0.1506216377, 0.0338546894, -0.0114682661, 0.029160969, -0.0530140102, 0.0483572446, -0.0659262314, -0.0215477627, 0.0302333329, -0.024680905, 0.0563059635, -0.0038690448, 0.0059954692, -0.0071577588, 0.0559289753, -0.0278102346, 0.1049606055, 0.0072147744, 0.0084449323, 0.0098783905, -0.0232960116, -0.0215828381, -0.0597196929, 0.065656431, -0.0659163594, -0.0321384035, -0.0181723498, 0.0075082891, -0.0299275946, 0.0140453782, -0.0573904999, 0.0145216305, 0.030956978, 0.0123709114, -0.0093471045, -0.0115025071, -0.0875585079, 0.002916977, 0.0573824346, -0.0447065569, -0.045503933, -0.0355042256, -0.0439607203, 0.0589207076, -0.0300496332, 0.0295723639, 2.706674007e-34, 0.071171321, -0.0375656337, 0.0460857376, -0.0122395828, 0.0360665433, 0.0085867383, -0.0262810141, 0.0151741104, 0.0067978976, -0.1219566241, -0.0072659128 ]
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.
A Framework for Quantum Finite-State Languages with Density Mapping: 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.0181430224, 0.1046164632, -0.0279260073, 0.0248089191, -0.0477210209, -0.0285785887, -0.0293210205, 0.0066305255, 0.0093239443, -0.0380236208, -0.0059644342, -0.0271498635, -0.0446122959, 0.0621121414, 0.0163650308, 0.0243320055, 0.0492647402, -0.0316256322, -0.1128636524, -0.0459559746, -0.0438070931, -0.0637576357, 0.0141739883, -0.0441924408, 0.0256198514, 0.0219955686, -0.0450059772, -0.0243274327, 0.0041713798, 0.0074676378, -0.0642517507, 0.0412340313, -0.0291028805, -0.0218797904, 0.0000020301, -0.0271185916, -0.0053548412, 0.0556759052, -0.018697843, 0.0169212092, -0.0708756074, -0.0030373465, -0.0207855422, 0.0188135915, -0.0055359439, 0.027346408, 0.1114930063, -0.0620588362, -0.0024321307, 0.0543672033, 0.0179458056, 0.0013890518, 0.0371148847, 0.002582097, -0.0494460501, -0.0655639246, 0.064949058, -0.001717496, 0.0555201992, -0.0375281125, -0.0460929461, -0.0790941566, 0.0414406843, -0.0101190843, 0.0126134157, -0.0014286457, 0.0400301814, 0.0308625456, -0.0761192441, 0.0642220601, -0.0114906309, -0.0389822721, -0.0036613401, 0.0242099613, -0.0708197206, -0.0212087855, 0.0634216741, -0.002945279, 0.0432495996, 0.0192730688, 0.0258204695, -0.0175728351, -0.0070491675, 0.0104036955, -0.0264281668, 0.0224712435, 0.072432138, 0.0169043355, -0.0657104254, -0.0242979545, -0.0220056251, -0.020748727, 0.0333394855, 0.0158719607, 0.01700362, 0.0030302331, -0.0239650495, 0.0214096699, -0.0015188069, 0.023192348, 0.0013400187, 0.0721691176, 0.0164102484, 0.0259810332, 0.0046962574, 0.0112285297, 0.0053266007, 0.0073489253, -0.0141321477, 0.0279970057, -0.0242021754, 0.0386709012, 0.0074508982, 0.0325939804, 0.0026327821, -0.0459486172, -0.053750515, 0.0187681615, 0.0183177982, 0.0166270062, 0.0042844806, -0.0062581575, -0.013601928, 0.0198304299, -0.0149309272, 0.0492186323, -0.0066154534, 0.0000014915, -0.0415975377, -0.0184972379, -0.0337320343, -0.0033191449, 0.0132376291, -0.0159617905, -0.0402911901, 0.0428830646, 0.0250001829, -0.0698171705, 0.0303698406, 0.041265171, 0.0035468191, -0.0261886753, 0.0330548547, 0.0071501588, 0.0150515884, 0.0020531302, 0.0095263449, 0.0089718783, 0.0416049175, -0.0166721176, 0.0095247617, 0.0252843425, -0.0317769386, -0.0351721309, -0.0497998446, 0.0146593973, 0.0752600059, -0.0136503959, -0.0150947701, -0.0187935531, -0.0480983704, 0.0087147234, 0.0475129783, 0.0222559068, 0.0060301539, -0.0136919776, -0.0948491618, -0.0207577813, -0.035397727, -0.0248815157, -0.0215699151, 0.1178713962, -0.0196152888, 0.0308951698, -0.0371868275, 0.0160160121, 0.0132806888, 0.0628195629, -0.0126193017, 0.0113952085, 0.025855042, -0.0078309989, -0.0607241057, 0.0701450184, -0.033699736, 0.0156901982, -0.0255352594, -0.0022374114, -0.008716071, -0.0122133372, -0.0136189349, -0.0216326974, 0.0471373796, -0.057182055, 0.0301976129, 0.0593459979, -0.0336008407, -0.0305731688, -0.0341680832, -0.0266468748, 0.0187025554, -0.0597501807, 0.0417306051, 0.037920963, 0.0206123684, -0.0411939733, 0.0544096306, 0.0562914424, -0.0926802233, 0.0175131969, 0.0282560159, 0.0199103821, 0.0031274613, -0.01210602, -0.0223907586, 0.0190435909, 0.01977388, 0.0215700734, 0.0041496069, -0.0039597647, -0.0105283447, -0.0143678198, -0.0179039929, 0.0183969382, 0.0492047854, -0.0704439506, 0.0412399732, -0.0124325957, 0.0522245131, -0.0078890659, -0.0337916762, 0.0674787089, -0.004173263, 0.0087315217, -0.0122494362, -0.0536172166, -0.0000641046, 0.0403904803, 0.0570888743, 0.0088631613, 0.0175386593, -0.0035436882, -0.0405046307, -0.0582020618, 0.0861425698, -0.0291383937, 0.0375689156, -0.0168654528, -0.071991168, 0.050811965, 0.033855848, -0.0046146526, 0.0635371655, 0.033619497, -0.0035427792, 0.0415975675, -0.0129883112, -0.0091072088, 0.011037346, -0.0362533145, -0.04916602, 0.0177812912, 0.0252168458, 0.0282746945, -0.0219400898, 0.0327592678, 0.0130273756, -0.0536007695, -0.0145966411, -0.037360359, 0.0314105153, -0.0083358372, 0.0029159512, 0.0167528186, -0.007984302, -0.0177428704, -0.036224857, 0.0041261124, -0.0168386456, 0.0121076182, -0.0004956587, -0.0682953075, -0.0510638021, 0.0036387311, -0.0284327082, -0.0258581433, -0.0320418403, 0.007709953, -0.0476524085, -0.008743722, 0.0271684378, -0.0039403052, -0.0140839666, -0.0427801013, -0.0177908055, 0.0002987036, 0.0651035011, 0.0264179725, 0.0354018509, 0.0087786065, 0.0930732936, 0.0400791429, 0.0229244344, 0.0222330689, -0.0304858815, 0.0085131498, -0.0171380397, -0.0326017477, 0.0221219864, 0.0289953873, 0.0164280701, 0.0019877059, 0.0115439883, -0.0028735774, -0.0023372136, -0.0060172458, -0.0130231436, -0.0247733053, -0.0088748708, 0.0405027755, -0.0063800872, -0.0024402111, 0.0634009764, -0.0430700257, 0.0400695354, -0.0080999983, 0.0144391097, 0.0094901426, 0.0546469837, 0.0169124212, 0.0398555361, -0.0549584217, 0.0507178791, 0.000916456, -0.057482101, -0.0033168241, 0.0009682509, -0.0050203777, -0.0315602608, 0.0275944564, -0.0222145598, 0.0395018123, -0.0148688043, 0.0643058196, -0.0392345451, 0.0107805301, -0.0396259762, -0.03138531, 0.0274241194, 0.0094997138, 0.0321674794, -0.0125005329, -0.0083229486, 0.0259008966, 0.0093059484, -0.0216539577, -0.0025850062, 0.0365839116, 0.0421107672, 0.0034982613, 0.0376004241, -0.0079957647, -0.0153750265, 0.0831157118, -0.0038538403, -0.0474377461, 0.0245007761, -0.0036478799, 0.0422517508, 0.0498713292, 0.0249781441, 0.0055071092, -0.034441594, 0.0138515597, 0.0310672112, 0.0316407718, 0.0630895868, 0.0141176768, -0.0561708212, 0.0196480229, 0.0586303659, -0.1077532992, 0.0049371347, -0.0109581621, -0.0204227231, 0.0212823674, 0.0361550078, -0.0198035222, -0.0032513523, -0.0182698239, 0.0236169919, 0.0129147051, -0.0493025631, -0.0296706911, 0.0382212959, 0.001174974, 0.0111443941, 0.0182494596, 0.0520318188, -0.0141563313, -0.0004756113, 0.0496739596, -0.0266478341, 0.0193498563, 0.0760021955, 0.0202338025, 0.0588446781, 0.0695678517, -0.0500881858, -0.0452680998, -0.022904804, -0.006176732, 0.0116688693, 0.0171012226, -0.0857101679, 0.0794962347, -0.0703321025, -0.0014660361, 0.0064638429, -0.0016609526, -0.047288131, -0.0068158503, -0.0142608546, -0.0298648067, -0.0102722282, 0.014871561, -0.0234457366, -0.0000382181, 0.0305057038, -0.0277211629, -0.0139726438, -0.0565111451, -0.0241119526, -0.0399043113, -0.0576016083, -0.0671560615, -0.0517632179, 0.0217978992, -0.033098381, -0.0094144922, 0.0253089182, -0.0217162147, -0.0517514087, 0.0539175086, -0.0220028665, 0.0814695731, -0.0402887687, -0.0199541748, -0.0403034538, -0.0636743978, 0.0321981311, -0.0430845134, -0.0616371222, -0.004292991, -0.0355179608, -0.0323570073, -0.0144639378, 0.0219576899, -0.0204144437, 0.0466608964, 0.0074906223, -0.0017837916, -0.0961990803, 0.0161411669, 0.0222089402, -0.0007137011, 0.0002055871, 0.0160233509, -0.0141348504, -0.0051768837, -0.0103587322, 0.0031268438, -0.0159720723, 0.034527503, 0.0250595678, 0.0294500813, 0.0545392893, -0.0538295619, -0.0560239069, -0.007451084, 0.0236818977, 0.0061318069, 0.0269878507, 0.0798564628, 0.0111604799, -0.0209535509, -0.0548981838, 0.0467694141, -0.0591963865, -0.0096604479, -0.0109679028, 0.0026632214, -0.0066690529, -0.0401190072, 0.0356102176, -0.0332596488, 0.0437324792, 0.035763558, 0.0194901805, 0.0232698228, 0.0149582103, -0.0407306999, -0.0096851029, 0.0393454991, 0.0460765734, 0.0587536246, -0.0224141609, -0.0192754995, 0.0093725789, 0.0309025459, -0.0132931536, -0.001819585, -0.0224317778, -0.0636870638, 0.0133839948, 0.0626199841, 0.033298146, 0.0448384807, -0.0511749424, -0.1098543555, 0.0166442357, -0.0244788378, 0.0276329406, 0.0346275494, -0.0385045037, 0.0276899021, 0.0309013352, -0.0351334885, -0.022145059, 0.0122178262, 0.0192170534, 0.037138246, -0.0144022433, 0.0383820012, -0.032347817, -0.0215787403, 0.0211835094, 0.0422971174, -0.0245674085, 0.0089088818, -0.0109736901, -0.0247119386, 0.0469626822, 0.0198697448, -0.0057388167, -0.0209571235, 0.0653156415, -0.0254933797, -0.0123054488, 0.0188991781, 0.0103876945, -0.0299619585, 0.0902052596, -0.0351951048, 0.0362704098, -5.804630043e-33, -0.0272996258, 0.0105841421, 0.0174360927, -0.0461093113, 0.014153963, -0.0024663766, -0.0514717028, 0.0103613101, 0.0374989919, -0.0301818773, 0.0130663272, -0.0104405461, 0.0060217674, -0.0028995548, -0.0281718802, 0.0170599949, 0.0570568405, 0.0235784166, 0.0013615828, 0.0014529416, -0.0393523797, -0.0736121982, 0.0353802852, 0.020812951, -0.0200416204, 0.0401756167, -0.0425373502, 0.0132641774, -0.0543408096, -0.0053293654, -0.0738805681, 0.0255584698, -0.0689999312, 0.035424456, 0.0354239494, -0.0264133569, -0.0046443297, 0.0037093465, 0.0143948682, -0.0228433665, 0.0321048722, 0.0074749454, -0.0056716767, 0.0429445095, -0.0194626581, 0.0172773488, -0.0092810523, 0.0128709581, 0.0264086761, 0.0006324784, -0.0375131108, 0.0073116026, 0.0111273341, 0.005530098, -0.0203433037, -0.0699928328, -0.0496881716, -0.1048372313, -0.0042616138, 0.0010549928, 0.0470254421, 0.0341865011, 0.0236344971, 0.000949731, 0.0048594973, 0.0001905133, 0.0434962474, -0.0352780111, -0.0127326678, 0.0377937444, 0.0177046452, -0.007017951, 0.000538487, 0.0348104089, 0.0397514068, -0.0582317561, -0.0481527857, -0.0325073674, 0.0369256064, 0.0269264951, 0.0233411826, -0.0009157022, -0.0461614244, -0.0074606398, 0.006592555, 0.0814337954, -0.0050731064, 0.0499895588, 0.0166015998, 0.0229004249, -0.1114757955, -0.0084480448, 0.0498290807, -0.0126699125, -0.0084425369, -0.0143540502, 0.0547646172, -0.011746252, -0.0342299901, -0.0061454829, -0.0018415164, -0.0533291847, -0.0063662017, -0.0773492008, -0.0251709148, -0.0002456963, -0.05519934, 0.0749335587, -0.0413501561, 0.0110667869, -0.0030003444, 0.0093842, 0.0119951349, 0.0483484156, 0.001847268, 0.0491121225, -0.0190562867, -0.0422145724, 0.0003580007, -0.0019275926, -0.0035223917, 0.019149214, 0.0178929828, 0.0769644454, 0.0012439254, -0.0664572045, -0.0949753076, 0.0372021496, -0.0059821089, -0.068839334, -0.0115479939, 0.0268579293, 2.948e-7, 0.036801748, -0.0136836525, 0.0536710881, 0.0211927053, 0.0025550101, -0.0343861692, 0.0278715398, 0.0081951711, -0.0119982818, -0.0084494092, 0.0138561428, 0.0228135064, -0.0672654212, -0.016980825, -0.0272494443, 0.0078852922, 0.0005631382, -0.0133145424, -0.0288406685, 0.0139521407, 0.0028159788, 0.0674022436, 0.0171115231, 0.0442935675, 0.0154177155, -0.0029586316, 0.029686559, 0.0762104243, 0.0359216891, 0.0260687005, -0.0880428031, 0.0008840166, -0.0075026052, 0.0043160613, 0.0090677114, 0.0573521815, -0.0327764191, 0.0425848067, 0.0158339702, -0.0414345227, -0.0567088649, 0.0153618064, -0.0171111431, 0.0433457047, -0.0083100125, 0.025576897, -0.0236670449, 0.0058690072, -0.0319295749, 0.062074516, -0.0027830685, 0.0239689108, -0.022608649, -0.0189982653, -0.0107234307, 0.0371528491, 0.034950044, -0.0121525582, 0.0041187978, -0.048981417, -0.0227243565, -0.0168604609, -0.0433271788, -0.0365446992, -0.0350681916, -0.0072236536, -0.0122353788, 2.726829602e-34, -0.0140748061, -0.0242128633, 0.0200944785, 0.0160219017, 0.0161026809, 0.0545047708, -0.0328981578, -0.0325629339, 0.0069723004, -0.0250089131, -0.0873109102 ]
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.
MLKD-BERT: Multi-level Knowledge Distillation for Pre-trained Language Models: 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.0258928444, 0.0398357138, -0.0091418102, 0.0649134368, -0.0056425631, 0.0022063442, 0.0001923239, 0.001476358, -0.0071584578, -0.0380723812, -0.0155590829, 0.0105922334, -0.0315860696, -0.0099140462, 0.0190385636, -0.0901682228, 0.0433346964, -0.0077386061, 0.0268569831, -0.0084684091, -0.0093286177, -0.0062744757, 0.0010265155, 0.0152778318, -0.0128761781, -0.0390218943, -0.0267248675, 0.0078778174, 0.0075206347, 0.0298333075, 0.0433472432, 0.0906062648, 0.0125796394, -0.0128823873, 0.000002049, -0.0275305025, -0.0088116005, -0.0002811321, -0.0541476235, 0.0659331381, -0.0768359229, 0.0286082532, 0.0511140674, 0.008674453, -0.0465110056, 0.0137999384, 0.0073938943, 0.0194491372, 0.0933275148, 0.0475991406, 0.0137302428, -0.0355529487, 0.0223049559, 0.006793194, 0.0246558934, -0.0289880373, 0.0236051586, 0.0222172886, -0.0258674957, -0.0301173795, -0.0314629599, 0.0425766408, 0.0523329228, 0.006478807, 0.0001380207, 0.0247008502, -0.0823042616, -0.0154245859, 0.0023806847, 0.1053619459, -0.0449785218, -0.0219719373, -0.003707702, 0.0275893994, 0.0083052944, 0.0220218468, -0.0369597413, -0.0128839305, -0.0018743658, 0.0137637667, -0.0106959483, 0.003572508, 0.0049181529, -0.0019504937, -0.0541449413, 0.0316655077, 0.0188066121, -0.0515808016, 0.0052303215, -0.013040049, -0.0576839931, -0.0545327701, 0.0335906371, 0.0611987785, 0.0307711009, 0.0174590908, -0.0716602877, -0.0462354869, 0.0066250311, -0.0447908491, 0.0075169262, 0.0551447682, 0.0029018624, 0.0523340814, -0.0247711167, 0.0543482117, 0.0135199297, 0.0328186937, -0.0472753644, -0.0334639661, -0.0435148701, -0.0122775622, -0.0729094371, 0.059203472, -0.0247932766, -0.0189194176, 0.0062817126, 0.0015362707, 0.0073957331, -0.030948557, 0.0213855505, -0.0012742225, -0.0105987769, -0.0061554424, -0.0208654944, 0.0847604722, -0.0790470839, -0.0311950129, 0.0024441294, -0.012066124, -0.0605800711, 0.0134071466, 0.0199994557, -0.0284537449, -0.0048514595, 0.0025733281, -0.0169303417, -0.0207659155, -0.0270121731, -0.0314698853, 0.0044648354, -0.0680516362, 0.0283715613, -0.0640522316, 0.0736814737, 0.0077401074, -0.0274182465, -0.0380456336, 0.0060491809, -0.0083671492, -0.0232188627, 0.0219139494, -0.0318335593, 0.0039475728, -0.0132664926, 0.0418967381, 0.00579132, 0.0643278137, 0.0000536135, 0.0254103392, 0.0241174605, -0.0246604476, -0.0214248784, 0.015352685, 0.0760454386, 0.0098347655, -0.0254011638, 0.0290890578, -0.0216563623, -0.0159760807, 0.0144292712, 0.0354593508, -0.0378764756, -0.001185533, 0.0217250567, 0.0363196805, 0.0226202514, 0.0385114215, 0.0127248801, 0.0230606645, 0.0591681041, 0.0399538688, -0.0394946411, 0.0141723175, -0.0243197829, 0.0025446233, 0.0305384304, 0.0639438182, -0.031565614, -0.0330245569, 0.0032718901, -0.0041957353, -0.0241521653, 0.0355494507, 0.0221996363, 0.0260755923, 0.0002457926, 0.1522287875, 0.0458339453, -0.0534438118, 0.0127684921, -0.0391014293, 0.0030702855, 0.0298156366, 0.0245529059, -0.0536222532, -0.083076559, 0.0301396642, 0.016164124, 0.0037986806, 0.0223720167, -0.0150807044, 0.0463440046, -0.0266336687, -0.0352347307, -0.0325333811, 0.0106267864, -0.0496242978, 0.0822210908, 0.0155600682, 0.0228533316, -0.08454445, 0.0332009494, 0.0144681334, -0.0171492882, -0.0340762995, -0.0474046245, 0.0305656902, -0.000471253, 0.0009425333, -0.0012101814, -0.008894532, 0.0483927429, -0.0264403336, 0.0030548763, -0.0413874239, -0.0573465936, -0.1165958494, 0.0494757406, -0.0100594554, -0.0362633504, 0.0340363309, -0.0412972718, -0.0182803553, -0.0052052764, -0.0022009329, 0.1134363562, -0.0060395277, 0.0159493368, 0.0118795438, -0.0250947624, -0.0194691494, 0.0727311671, -0.0375525206, -0.0164069738, 0.0118810814, -0.0191343892, 0.0046964497, 0.0366300121, -0.0143633755, -0.0007369861, -0.027355738, 0.0141305579, -0.0030287753, -0.0020671487, -0.0692132041, -0.0295615476, -0.0442509577, 0.007085558, -0.0313569307, 0.0410686918, 0.0432767086, 0.0437482074, 0.0084229484, -0.0172907282, -0.0376206562, -0.0098558981, -0.0408207662, -0.0183293764, -0.0031274683, 0.0012559792, 0.0241412409, -0.0266501289, -0.0292881653, -0.0166288037, 0.0538328625, -0.0507551692, -0.0132492837, 0.0097887823, 0.0013439483, -0.0586530119, 0.0332931802, 0.020194672, -0.0490057096, -0.0130676208, -0.0329347961, 0.0550327227, 0.0598711036, -0.0058101481, 0.036533203, 0.03678203, -0.0098363981, -0.0651306957, 0.0726168901, -0.0212650988, 0.0401081704, -0.0016686169, -0.0041882289, 0.0214280412, 0.0698294491, -0.0173695292, -0.0171366911, -0.0387100615, -0.0077452874, 0.0088068657, -0.0230545383, -0.0327926427, 0.0244644191, -0.0046737348, -0.0037624459, -0.0324647203, -0.0116111794, 0.0787078068, 0.0005521593, -0.0013433056, -0.0419917218, 0.026975533, -0.0155400904, 0.0512176715, -0.0310694668, 0.0342963189, -0.0336535312, -0.005787971, -0.0404014923, -0.0154400934, -0.0064291963, -0.0325956531, 0.046029415, -0.0315408334, -0.0158055108, -0.0115069076, -0.0261955708, -0.0462410264, -0.0345127843, 0.0013833421, 0.036760956, -0.007450352, -0.0272869561, -0.0274810903, -0.0160689112, 0.0219171159, 0.0015276528, -0.0029403972, 0.0204554647, -0.0108311186, 0.0816546381, 0.0331314802, 0.0248776004, -0.008180215, -0.0146794673, 0.0296207573, 0.0646561533, 0.0298086703, -0.0014289687, -0.0134240808, 0.0006099997, 0.0154196592, -0.0323806889, -0.006957537, -0.0003465211, 0.0420508198, -0.0851432532, 0.0160685219, 0.1059600487, 0.038762968, 0.0260020439, -0.0130107999, 0.0127168745, 0.0681626052, -0.002554887, 0.0455939136, -0.0627823547, -0.0575410388, -0.0152741373, 0.0130558312, 0.083779119, -0.0236211903, 0.0079101827, -0.0642251968, -0.027862953, -0.0031390814, -0.0331694968, -0.0576818474, -0.0440395102, 0.0046341829, 0.0460347719, 0.0143947583, 0.0153805567, -0.0074829916, 0.0227363948, 0.0110328775, -0.0089890454, -0.0477300398, 0.0305179991, -0.0188169461, 0.0168697778, 0.0360786691, 0.0408251882, -0.0034877004, -0.0452685468, -0.0127127627, -0.0100450609, -0.0322509632, -0.0152307441, 0.0619202182, -0.0309830699, -0.0026105887, -0.0161289312, 0.0237027109, -0.0297835506, 0.0007246816, 0.0204672106, 0.0969276875, 0.0229954701, -0.0522754043, -0.0313214399, -0.020729946, -0.0056967488, 0.1008780822, 0.0764712617, -0.0306157023, -0.0360190012, -0.0086904261, -0.0189885702, -0.0482282639, 0.001780343, 0.025623804, -0.0313915834, 0.021559963, -0.0361417197, -0.0474802069, 0.0734770223, 0.0073035448, -0.0273008458, -0.0156276822, 0.0246401094, 0.0243425183, -0.047741238, 0.020491451, -0.0079292487, -0.0123505304, -0.0373082198, -0.031769108, -0.0314006694, 0.0160460584, -0.0185170695, -0.0100539727, -0.0576140992, -0.0455541201, 0.0067304219, 0.058158908, 0.0130098537, 0.0456921943, -0.0101515269, -0.0295226835, 0.0431713834, -0.0034096946, -0.0104034552, -0.0022674461, 0.041543331, -0.0368758105, 0.0210916623, 0.0574702471, -0.0514655896, -0.0007563271, 0.0177261475, 0.0580510981, -0.0443676822, -0.0376569852, 0.0152399652, 0.0431432799, 0.0291210189, 0.0369043313, 0.0188088026, 0.0020079333, 0.0360731557, 0.0137759941, -0.0119712027, -0.0543746389, 0.0281663667, 0.0087609431, -0.0232765954, 0.0224720575, 0.0240698624, 0.0340223089, -0.0153077338, -0.0324177444, 0.0133066941, 0.000011604, -0.0131974239, 0.0783830285, -0.0166424196, -0.0326362923, -0.0037834209, 0.0031539823, 0.0058101476, -0.0351097845, 0.0139459381, 0.0388245098, -0.0027977193, -0.0144936349, 0.0221376196, -0.0562807322, -0.0684015527, -0.0317333154, 0.0257100407, 0.0111666881, 0.0043303422, 0.0197930485, -0.0061898003, -0.0172063839, 0.004875131, 0.0065406556, 0.0067164088, 0.0176887345, 0.0200940017, 0.0197500233, 0.0073006055, 0.0047869757, 0.1040424556, -0.0189020578, 0.0631244108, 0.00735314, 0.0075270007, -0.0303575099, -0.0291825626, 0.0276853703, 0.0272272248, -0.001478891, 0.0335121602, -0.0399407931, -0.0733556524, -0.0197119787, -0.0092215156, -0.0222023968, -0.0013975279, 0.044268854, 0.0532799773, 0.011745682, -0.0669763833, 0.0045954748, 0.027972227, -0.0219042674, -0.0228702314, 0.0217575859, -6.539658579e-33, -0.0281784963, 0.0198993944, -0.003305749, -0.0016531027, -0.0314287096, 0.0320979394, -0.0391025916, -0.0204879995, -0.0596574657, 0.0182535127, -0.0203495026, 0.0423262641, -0.0013029759, 0.0344019718, -0.0380493365, -0.0075463504, 0.053004209, 0.004847778, -0.0136127686, 0.0342446491, -0.003019108, 0.0527552254, 0.0659058616, 0.0070489575, -0.031549871, -0.022733245, 0.0487191081, 0.0200132187, -0.0175872892, 0.0226645656, -0.0327494182, 0.0442438908, 0.0071339835, -0.0101808794, -0.029257495, 0.020517163, -0.1177531704, -0.0765912831, 0.0111921774, -0.0409819409, -0.0779578686, 0.001889567, 0.0413968004, 0.023784006, 0.0837534219, -0.0411315039, 0.0153012713, 0.0087193307, -0.0183484275, -0.0435857698, -0.0390211865, 0.0086036539, -0.0350078456, -0.055413723, 0.0244889259, 0.0488678589, 0.0035529186, -0.0005068863, -0.0472848937, -0.0131773697, 0.0722717792, 0.0464473478, 0.0392523222, 0.0090792356, -0.0070306561, 0.0327092409, -0.0398403965, -0.0014747054, -0.0185257997, -0.0015404596, 0.0396894515, 0.0864039958, 0.0253853258, 0.0027403994, 0.0558632836, 0.0014033484, -0.0698461607, 0.0243022759, 0.0362236574, 0.0318375528, -0.0426333547, -0.0176718887, 0.0045999927, -0.0129722999, -0.0387127288, 0.0279547609, -0.0193503015, -0.0131567223, 0.0202847384, -0.017042337, -0.0636260435, -0.0093283877, 0.0241222866, -0.0350248776, 0.0326456726, 0.0358098336, -0.0010051788, -0.0044620764, 0.0137452157, 0.0567911528, -0.0672923252, 0.0207541008, 0.0243902951, -0.0295442734, -0.0102292821, 0.0452688709, 0.0334094167, 0.0053544482, -0.02015616, -0.0039010756, -0.0393508337, -0.0223668683, 0.0204598345, 0.018174706, 0.0365337841, 0.0166283511, 0.0049292706, -0.003862475, 0.0445452966, 0.0086190607, -0.0384959206, 0.0236745402, 0.0316806883, 0.0174814034, 0.0101286881, -0.0170788579, -0.0599887893, 0.0152892806, -0.0190189071, -0.0734380558, -0.0068451399, 0.0149349859, 2.618e-7, 0.0670988113, 0.0233721491, 0.0330281407, -0.0113340924, -0.0022165636, 0.0036369341, 0.0146759683, 0.0100229429, 0.013120193, -0.032469105, -0.0046128081, 0.0467858352, 0.0210936666, 0.0208533928, -0.0953201652, -0.0267823394, -0.0428622663, -0.0549879409, -0.0288589485, -0.0462974459, 0.0600299314, 0.0494405031, 0.0332070366, -0.0144891106, 0.0032439225, -0.012948974, 0.0275273286, 0.0127820577, 0.0240877699, 0.039830111, 0.0245308131, -0.0213883892, 0.0038818172, 0.0271355491, -0.0324679054, 0.0223888047, 0.0057661552, 0.0750940219, -0.0306204967, -0.0391163155, -0.0204674434, -0.0525386408, 0.0035289542, -0.0846217498, 0.085617736, -0.0454219319, 0.016369706, 0.0299783461, -0.0470066071, -0.0172691364, 0.0124448817, -0.0034266217, -0.0020826354, 0.0257838257, -0.0043038977, -0.0377864093, -0.0180704184, -0.0850260258, -0.0356422998, -0.0137157291, -0.027089268, -0.0436706953, -0.0128839808, -0.0773245618, 0.0214843545, -0.043151591, 0.016435124, 2.366859483e-34, 0.003557171, -0.0025898959, 0.0478186049, 0.0456638001, 0.0114011867, -0.0467378981, -0.0469183847, -0.0218405128, 0.0056281136, -0.0770321265, -0.0281344932 ]
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}.
Automatic gradient descent with generalized Newton's method: 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.0099714957, 0.0791015252, -0.0059953504, 0.0679981485, -0.0147635369, -0.0033084711, -0.0224181712, 0.0018249776, -0.0370303281, -0.0060247211, -0.0067014429, -0.0053988257, 0.0306615215, -0.0330019332, 0.0217457004, -0.03200268, 0.0535693094, 0.0050146771, -0.0187870227, -0.0078919791, 0.0145946946, 0.022175163, -0.05485598, 0.0554823801, -0.0350972004, -0.0191958398, 0.0205956921, 0.0303280968, 0.0723994523, -0.0140446518, 0.0318745635, 0.0169862248, 0.018458752, 0.0681843609, 0.000002093, 0.0064681694, 0.0725302473, 0.0152754318, -0.0197088458, 0.0342350975, -0.0058199107, 0.0087017538, -0.0066908551, 0.0288320389, -0.0533155203, -0.0819021463, 0.0338847898, -0.042934332, 0.05403262, 0.0891132131, 0.0059470702, -0.0389728211, 0.0401718877, -0.0451844446, -0.0027996858, -0.0426771604, -0.009590161, -0.014387941, -0.032165695, 0.0003071528, 0.0252741519, 0.0277323257, 0.0420711078, -0.0014552661, 0.0245807637, 0.0361041576, -0.0216287803, -0.0184269678, -0.0404508933, 0.035685394, -0.0314495303, -0.0073829819, -0.0204731151, -0.0010044541, -0.0213097744, -0.0509517193, -0.0137413405, 0.0152354594, -0.015293505, 0.0515530333, -0.0740298256, -0.067068316, 0.017816944, -0.003480976, 0.0414699055, 0.0519298464, -0.0059473719, 0.0480008721, 0.019286612, 0.0197069179, -0.0258330014, -0.0397626907, 0.0099568665, 0.041605249, -0.0161006078, -0.0068573151, -0.0418671407, -0.049273625, -0.0188577492, -0.0131800948, 0.0444160588, 0.0472415201, 0.0371092595, 0.0149310585, -0.0530311652, 0.0389922746, -0.0276044924, -0.0227642935, -0.0047409823, 0.0189160705, -0.058967717, 0.0111340843, -0.0324228629, 0.0335024409, -0.0347397365, -0.0399677753, -0.0648660287, -0.0106261205, -0.0110964822, -0.0356667973, 0.0046803872, 0.0399362594, -0.0650678873, 0.0045971381, -0.0151558509, 0.0046701645, -0.06818223, 0.016549034, 0.0090650609, -0.0310796835, -0.0322799273, -0.0065931724, -0.0042791269, 0.0111813406, -0.0207640082, 0.0376005471, -0.0336908922, 0.0124590322, -0.067460902, 0.0021255284, 0.0308184996, -0.0303893629, -0.0154227661, -0.047246255, 0.0123759778, -0.0169347282, 0.0185565054, -0.0250304192, 0.0159052759, -0.0018941058, 0.0166756902, 0.060478095, -0.0195077881, -0.0157650933, 0.0410741121, 0.0005885829, 0.008545774, 0.1207042262, -0.0059869206, 0.0317421667, -0.0254313443, 0.0360380597, -0.0109540028, 0.0285404529, 0.0081153465, -0.015257081, -0.0086196736, -0.0424545221, -0.0143523784, 0.0640984476, 0.0446227118, 0.0421710312, -0.0364411175, -0.0302935466, 0.027622208, 0.0705027878, 0.0103475684, 0.0932553336, 0.0527294837, 0.0159128662, 0.0295702592, -0.0216449928, -0.0404230803, 0.0357324928, -0.0119367968, -0.0003181011, -0.0348856375, 0.0334886126, -0.0312325433, -0.022274198, 0.0235767625, -0.0012928765, -0.0195790716, 0.0490856916, 0.0105470363, 0.0115792872, -0.0605338328, -0.0128566809, 0.0317513533, -0.0459179133, -0.0286126435, -0.0640026033, -0.0174017306, -0.0026403738, -0.0151131349, -0.0549902581, -0.0581699722, -0.0103635909, 0.0158915371, 0.0258260816, -0.0020130989, 0.0185394399, 0.0398743227, -0.064576, -0.010518237, 0.0249950644, -0.0257996842, 0.0609595552, 0.0512020327, 0.0622588284, 0.0250171628, 0.0325066559, 0.0095040416, 0.0455667153, -0.0181516092, -0.0038890212, 0.0636192635, -0.0214000922, -0.0037537524, -0.0090302527, -0.0041523194, -0.0378289409, -0.0002102961, -0.0383929797, 0.0158209801, -0.0050743455, -0.030960286, -0.0504507311, 0.0204523318, -0.0412983671, -0.0221863016, 0.1044956148, -0.0327589475, -0.0490222163, 0.0024897866, -0.0250701513, 0.0661791563, -0.0737161711, -0.0521459952, 0.005297557, 0.0406961814, 0.0059116893, 0.0148807112, -0.0246976577, -0.0156327877, -0.0153407548, -0.0106410077, 0.0029528004, -0.0463808253, -0.0314964317, -0.0154046807, -0.0133829126, 0.0420985445, 0.0162557624, 0.0137950173, 0.029904278, 0.0220595524, -0.0903119892, 0.0346585028, -0.058000274, 0.0117348731, 0.0167371593, 0.0025015685, 0.010805551, -0.0068221875, 0.0092960065, 0.1175183803, -0.0662903115, -0.0174893253, -0.0056304061, 0.0001237302, 0.0002515634, -0.0087814266, -0.0319667459, -0.0055757011, 0.0343495384, -0.0138475047, 0.03875494, -0.029931834, 0.0441732928, -0.0092143668, 0.0233684015, -0.0141186258, -0.0196659938, 0.0032429991, -0.0401781127, -0.0332744829, 0.0835053846, 0.0239980202, 0.0082835238, -0.0309500154, 0.0395927876, -0.0233095326, 0.0433481187, 0.0013614428, -0.0069460878, -0.0019165778, 0.001480057, -0.0033137016, 0.0557487458, -0.0214596167, -0.0115804747, -0.0359472372, -0.020680977, -0.0159798991, -0.0434746668, -0.0391743369, 0.0564754196, -0.0423847586, -0.0397846699, 0.0024479849, -0.0570605733, 0.0401431769, -0.0071656788, -0.0170560535, -0.0142060816, -0.024988737, -0.0399943702, 0.0304403454, 0.0104157673, -0.0047338838, -0.0189365223, -0.0661028326, 0.0153173767, 0.0193807743, 0.0454570763, -0.0066975239, 0.0565471947, 0.0002488498, 0.0356579088, -0.0193947069, -0.061417032, -0.0226126295, 0.0009633315, -0.0057643983, 0.0135304732, 0.0018606704, -0.0728228465, 0.0069060563, -0.0286487155, -0.0143291494, 0.0680792183, -0.0515964441, -0.0202393048, -0.0149476146, 0.0380876251, 0.0214882717, 0.0173864514, -0.0305143557, -0.0026558477, 0.0000638728, 0.0059486451, 0.0673315898, 0.0372976325, -0.0957333595, 0.0232084822, -0.0128521631, -0.0038326534, -0.0026287043, 0.0276240446, 0.0227457881, -0.0383721739, 0.0062776641, 0.0618290268, 0.0073679583, -0.0955832303, -0.0326571539, 0.0089343386, 0.0387318656, 0.0416848175, 0.0090132719, -0.0199251026, -0.042746745, 0.0188662875, 0.0320216604, 0.0229640417, -0.0275329556, 0.0127469655, -0.0535692386, 0.0034973386, -0.0064366222, -0.0833872333, 0.0030508994, -0.0231770668, -0.0155982487, -0.0397691391, 0.0031429669, 0.0006554476, -0.013497767, 0.0165855139, 0.0306833629, -0.0308392663, -0.0111059109, -0.0292101614, -0.0271711815, -0.0039873356, 0.0748686567, 0.0163154062, -0.0109472396, -0.0012129839, 0.0631979331, 0.0218311846, -0.022975916, -0.0210909564, -0.0172401518, -0.0174799543, -0.028770322, -0.0305825993, 0.0758366585, -0.0266145747, 0.0437308028, 0.0343526304, 0.0710189268, 0.0282552764, -0.0027178179, -0.0283709932, -0.0187815484, 0.0381552689, 0.0181786753, 0.0058943233, -0.0445798039, -0.046864666, -0.0380942412, 0.0160654671, -0.0412430577, -0.0379335545, 0.0107186818, 0.0624499321, -0.0294180866, -0.0329834446, -0.0226509683, -0.0182539523, 0.0560135134, 0.0015787557, -0.0440182686, 0.0023919877, 0.0641798154, -0.0642974377, -0.0035393899, 0.0154689383, -0.0072592292, -0.0464227945, 0.0129702445, 0.0558255129, 0.0226577446, -0.002216182, 0.0564686321, -0.0947786495, -0.0644096956, -0.0293975249, 0.0304812677, 0.0116456971, 0.0482441783, -0.0003679588, -0.0316316113, 0.0419072099, 0.062242765, 0.0211985316, 0.0230739322, 0.031719543, -0.0412392206, 0.0002549326, 0.0525997207, 0.0028967352, 0.0256789885, -0.003870537, 0.0543243997, -0.0029511249, 0.0404098555, -0.0008947714, -0.0068846922, 0.0034614301, -0.0142336097, -0.0266858712, -0.0190819353, 0.007048422, 0.0524674132, 0.0400238298, -0.0414810553, 0.035277985, 0.0268030148, -0.030540416, -0.0098753199, 0.0533530489, 0.1017408222, -0.0202194527, -0.0157089252, 0.017569676, -0.0193426143, 0.0371347331, 0.0220034216, 0.0215654485, -0.0284818113, 0.0148793887, 0.0287881941, 0.0189227089, -0.0372541584, 0.0418979041, 0.0082728844, 0.0117171956, -0.0221953597, -0.0525464825, -0.0499160364, -0.1038203686, -0.0703452229, 0.0251087733, 0.0419773497, 0.0094339587, 0.0103694759, -0.0458476655, -0.0081236511, -0.0215096567, 0.0233501773, -0.0535423048, 0.0351977944, 0.0016388721, 0.0151449079, -0.005011715, 0.0213738736, 0.0613761246, -0.0117060216, -0.0055396501, 0.0298558977, 0.0279588811, -0.0476423651, -0.0275647584, 0.029098304, -0.0039062775, 0.0133864796, -0.0105130859, 0.0544230863, -0.0495725609, 0.0023804808, -0.0140517903, 0.0237952396, -0.0221303236, 0.0578953363, 0.0188345369, -0.0333208255, -0.0303838141, -0.0164838824, 0.0512597039, -0.0326817036, -0.0038887307, -0.0032567438, -5.51731755e-33, -0.0077407169, 0.0162611809, -0.0317618102, 0.0501068905, -0.0270168725, 0.031773258, -0.0146673648, 0.0018328448, -0.0429405831, 0.0518896282, -0.0002146249, 0.0413974226, 0.010009639, 0.0452719815, -0.0065119602, 0.0043633655, 0.0420947671, -0.0364010856, -0.0032819135, 0.0644753426, 0.0117275175, 0.0491316319, 0.0364973433, 0.03226953, -0.0734589249, 0.0119844796, -0.001390605, 0.0176934823, 0.0169061758, 0.0033465833, -0.0474415906, 0.0344773084, -0.0127033284, -0.0695340037, 0.0095894169, 0.0066922754, -0.1002061665, -0.0169395227, -0.0391421579, 0.0318141878, -0.0577766672, 0.0209407359, 0.0554903112, 0.0097794132, -0.0662506148, -0.013877647, 0.0260888785, 0.0196689386, -0.0735035986, -0.0460784733, -0.0555691309, -0.0048159771, 0.0007075386, -0.0203865264, 0.0524069816, -0.019920852, -0.0405606665, -0.0176206008, 0.0105359191, -0.0249948557, -0.0378835648, 0.0409578867, 0.018844001, 0.063356407, 0.0351619348, 0.0330206417, 0.076460965, -0.0145075982, -0.0433746763, -0.0274270363, 0.0357764252, -0.0034301877, 0.0103770532, 0.008172472, 0.0235187337, -0.0241776463, -0.0814014971, 0.0069012837, 0.0505029745, 0.0478750356, 0.017644316, 0.0158726778, 0.0014559653, 0.022333635, -0.0088678068, -0.0522075854, -0.0145335374, -0.0055466224, 0.0069492767, 0.029605858, -0.0120531097, 0.0095608095, 0.0212096833, -0.0322562158, 0.052097965, 0.0215884857, 0.0125794178, 0.0440535471, 0.0276292153, 0.0385381952, -0.0216093231, -0.0071399142, -0.0546853095, 0.0120904883, 0.0718344301, -0.0334207788, 0.0147251673, -0.0004907542, -0.043351844, -0.0197076593, -0.0507643409, 0.039165929, 0.0118357213, 0.0413306542, 0.0472154245, -0.0351952352, 0.0333207175, 0.0600487851, -0.0389259346, 0.018693747, -0.0560474209, -0.0139656626, 0.0203562211, 0.031564571, -0.0101955635, -0.0114067439, -0.0083663212, -0.0398764759, -0.0473820455, -0.0948362797, -0.0221434738, 0.0167510081, 2.592e-7, -0.0367994979, 0.0242257528, 0.0072349953, -0.0182408858, 0.013898978, -0.0124856532, 0.0081506995, 0.0117589151, -0.0254596882, -0.0433939174, 0.0350778736, 0.0225139763, 0.0734287053, 0.0122107314, -0.0981129631, 0.0161913931, -0.0401499309, 0.039490737, -0.0147587741, -0.0296388622, -0.0590577833, 0.0549228117, 0.0062955366, -0.0032651795, 0.0572650917, -0.0304756835, 0.0486469232, 0.0131843323, 0.0269003138, -0.0044835843, 0.0035371913, 0.03739921, -0.0256755929, -0.0316842459, -0.0087753823, 0.0245575402, -0.0022299625, 0.0420855507, -0.0497969724, -0.0450203083, -0.0126335267, 0.0474732555, 0.0200306624, -0.0101482775, 0.0383960865, 0.0133870672, 0.0212720782, -0.0360646695, 0.036989674, -0.0103390859, 0.0353617892, -0.0589009859, 0.0372011811, 0.0007870276, 0.0271668751, -0.0126968082, -0.0559464879, -0.1063623726, 0.0339824557, 0.0983069912, -0.095803, 0.007135611, -0.065407984, 0.0314775929, 0.0266364664, 0.0114566814, -0.0079670781, 1.777294079e-34, 0.0186731108, -0.0197422188, 0.0189642552, 0.0416427925, -0.0094528282, 0.0096746515, -0.0472529158, -0.0009695254, 0.0077667227, -0.0252087954, -0.0509318374 ]
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.
Emotion and Intent Joint Understanding in Multimodal Conversation: A Benchmarking Dataset: 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.0227355119, 0.0773990601, -0.0248206817, 0.0430012271, 0.0000958589, 0.0199258663, 0.042260468, 0.0112243136, -0.0019191015, -0.0364650376, -0.0905067548, -0.0420491882, 0.0274568256, 0.0458360985, -0.0077350992, -0.0603024773, 0.0213956479, 0.034826614, 0.0094221728, 0.0252542775, 0.0809402838, 0.0277883317, -0.05114365, 0.0498094, -0.0751591101, -0.0198262539, -0.0598981939, 0.0540426373, 0.0059960848, -0.0356761478, 0.0055085747, 0.0387837104, 0.0658275485, -0.0037603925, 0.0000020345, -0.0261860006, 0.0144138075, -0.0387241058, -0.0145752085, -0.0222829301, 0.0300828516, -0.0038224491, 0.0038462982, -0.0105260853, -0.0269645341, 0.0078891553, 0.0567232668, 0.0693050474, 0.0790461376, 0.035024073, -0.0395740457, -0.0013413948, -0.0018825007, -0.0073487433, 0.0131997876, -0.0479060188, 0.0070703444, 0.0245990045, -0.0243900605, -0.032607656, -0.063897185, 0.0172762852, -0.0030047069, 0.0117134862, -0.0217234492, 0.0005598082, 0.0077849105, -0.0767769888, -0.021028284, 0.1233438179, 0.0247998945, 0.0314569809, -0.0130883092, 0.0030887364, -0.0139132747, -0.0142804431, -0.0394779071, 0.0031926075, -0.0045288666, 0.0087777171, -0.0348279104, 0.0230259039, 0.0127222147, -0.0010351388, 0.0265417192, 0.0027467788, -0.033774998, 0.0154727129, 0.0276369005, -0.026483804, 0.0018628401, -0.0211018566, -0.0042037219, -0.0079583069, -0.0298874397, 0.0307977404, -0.0524518117, -0.0202718135, -0.0103551392, -0.023419261, -0.0112349503, 0.0157869197, -0.0544173233, 0.0625540763, 0.0475844517, -0.0013935226, -0.0147809321, -0.0475209244, -0.0202237871, -0.0335288011, -0.0556134991, 0.0039328928, -0.0140180998, 0.0095876344, -0.0297229681, -0.0618804283, -0.0574799292, 0.0093683768, -0.0294891801, 0.0024629238, -0.011338383, 0.0218781009, -0.0247246772, 0.0219555926, 0.0059669353, 0.053213641, -0.0398831554, 0.0542491823, -0.0105519965, -0.0840233415, -0.0026385528, 0.038250193, 0.0319159552, -0.0400098152, 0.0128184669, 0.0475112386, -0.0166917201, -0.0414754488, 0.0002730542, -0.0501550548, -0.034637969, -0.028176263, 0.0208751578, -0.0159958936, 0.060516037, -0.026767835, 0.0100751491, -0.0345871262, 0.0058518606, -0.0340788923, 0.0002219135, 0.0831292272, -0.0260122772, -0.0268128719, 0.0017160831, 0.0368063338, -0.0158623829, 0.0538722314, 0.0100310287, 0.061652571, 0.0457911417, 0.0036211761, 0.0122961849, 0.0281802509, -0.0003653701, -0.0282584652, 0.0153748402, -0.0237685386, -0.01285253, 0.0606443994, 0.0465208068, 0.0184639264, -0.0498376302, -0.0478086397, 0.0461523384, 0.0326527245, -0.0069961888, 0.0188281815, -0.0196321979, 0.0090725711, 0.0084328195, -0.0206888095, -0.0158618484, 0.0589564629, -0.0097654061, -0.0426424555, 0.0351658128, 0.0039238972, -0.0468157679, -0.0372436307, 0.0170962326, -0.0221948437, 0.0200463515, -0.0027719857, 0.0392694362, -0.0083922343, -0.0214362424, 0.0385611653, 0.0028746761, -0.049826242, -0.0156890061, -0.0135497022, 0.0109421099, 0.0439956561, 0.032052353, -0.0455004945, -0.0168484841, -0.0237825345, 0.0144411661, 0.0075043263, -0.0054189879, 0.0022467286, 0.0937170461, -0.0791923478, -0.0321856476, -0.0047585354, -0.0086065792, 0.0243847724, -0.0311942901, 0.0064826347, -0.0135679254, -0.00887156, 0.0585462153, -0.0065115839, -0.0146137057, 0.0242491197, -0.0312562883, 0.0292686224, 0.0373082533, 0.0393894389, -0.0202073175, -0.039842248, 0.0253000408, -0.0201593451, 0.0024651261, 0.0609221049, -0.0411548838, -0.038443353, 0.0267801471, -0.071267806, -0.0425070599, 0.0429822616, -0.0446006842, -0.0324068144, 0.0414354317, 0.0082088336, 0.0167588908, -0.0643236488, -0.0298141949, 0.0114135584, 0.06656304, 0.0400278457, 0.0027902033, -0.0254209954, -0.0233622584, 0.0069831917, -0.0116195111, 0.0365431644, -0.0139249852, -0.0676674768, 0.0197146889, -0.0282850266, -0.0035942497, -0.0015416654, 0.0029521324, -0.0756383836, 0.0081446627, -0.1170812398, -0.0139461374, -0.0007506308, -0.0435831398, 0.0050763134, 0.0425810963, -0.0041283476, -0.0190640353, -0.0066845552, 0.0560919531, -0.0026512111, -0.0035157939, 0.0222926494, -0.0052397009, 0.0097279539, -0.0601035841, 0.0111675663, 0.0163089186, 0.047367204, -0.0194446761, -0.0289991591, 0.0114902733, 0.0152016282, -0.0459208898, 0.0611989163, -0.0343269743, -0.0841134042, 0.0346306488, -0.0233698953, -0.0117532369, 0.04948074, 0.0142276129, 0.0645899773, 0.0115331113, -0.0349426828, -0.0485040992, 0.0297721531, 0.0095337117, 0.0404943638, -0.0388011187, -0.0418673679, -0.0329237692, 0.0503276698, 0.0211206358, 0.0390182547, -0.049478095, -0.0507753231, 0.0400539823, -0.0647402778, -0.0405151881, 0.0051798164, -0.0130632836, 0.0233286079, -0.0060197567, -0.0350622237, 0.0346784815, -0.0019775263, -0.0433552824, -0.011404356, -0.0012645166, -0.0083283903, 0.1127206832, -0.0489660315, 0.0125641758, 0.0078967828, -0.0125748161, -0.0340919271, -0.0102063073, 0.0077649876, -0.0224799253, 0.0122902729, -0.0372868888, -0.0237884298, 0.0212563202, -0.0230390429, -0.012319441, -0.0301153846, -0.0489729755, -0.0361494683, 0.0035463197, -0.0153554957, -0.0008713933, -0.02235117, 0.0514683574, -0.036669299, 0.0292011928, 0.001190416, 0.000127573, 0.0524376594, 0.0641822889, 0.0268365741, -0.0410263389, -0.0111353043, 0.0353964977, 0.0744929016, 0.0126076015, -0.0256497841, -0.0335278288, 0.0334522501, 0.0096941162, 0.0830394626, -0.024837641, -0.0156175783, 0.0455969013, 0.0141296741, 0.0338516161, 0.0910515413, 0.0112902941, -0.0650125816, 0.0041599236, -0.0094420072, 0.0087171663, 0.017332783, -0.0195437334, -0.1019689813, -0.0877921656, 0.0063207122, -0.0088965567, 0.0300869122, -0.02139269, -0.0139589477, -0.0678470284, 0.0004021365, -0.0251012854, -0.026264431, -0.0250604767, -0.010210624, 0.0281918757, -0.0119017595, 0.0033930906, -0.0197178833, 0.0614834316, -0.017781971, 0.02517334, -0.0231380276, -0.0521519929, 0.0505403318, -0.0130225597, 0.0699809194, -0.0080856122, 0.0755303055, -0.0092336154, 0.0020679706, 0.0477259234, -0.0000124499, -0.0084218923, -0.0325003713, 0.0742477626, -0.0230614878, -0.0169971604, -0.022366723, 0.0316832624, -0.0096607441, -0.0225141961, -0.0131034795, 0.0377895311, -0.0632895753, 0.0207866076, -0.0287162233, 0.0257654041, 0.0414329953, 0.0601932183, 0.0335952602, -0.0633806437, -0.0005082256, -0.0185120329, 0.009239818, -0.0258816686, 0.0027801425, 0.0052694064, 0.0109378863, -0.0273127984, -0.0371625163, -0.0613992959, 0.0046629463, 0.0259182621, -0.015214989, -0.0071870629, -0.0023520968, 0.0267408825, -0.0286849048, 0.0420209393, 0.0257296488, 0.0160565097, -0.00199973, 0.0001472604, 0.0080653206, -0.0527310148, 0.0027278222, 0.0503539592, -0.0307814535, -0.0223932825, -0.0028374235, 0.0487773046, 0.0194416158, 0.0432971753, 0.0356955342, -0.0525953546, -0.0350490324, -0.0009245323, 0.0097508365, -0.0062618027, 0.032004863, 0.0522803925, -0.0091019543, 0.0286730081, -0.0376360081, 0.0234814957, -0.0083072893, 0.0221771244, -0.0466287322, -0.0697120577, -0.0128117055, 0.0013679924, 0.0436007716, -0.0013983264, -0.0209265016, -0.0533652455, 0.0024954751, 0.0090175802, 0.0181142427, -0.0701580867, 0.0011730971, 0.0067625558, -0.0065538408, -0.0511705354, -0.019539807, 0.0111694178, -0.0065017408, 0.0019185868, 0.0149856852, 0.0497811064, 0.0044636726, -0.0444138013, 0.007076764, 0.0060031149, 0.0180169754, -0.0041350075, 0.0007468869, -0.0052091903, 0.0808910429, 0.0242504962, -0.0426188968, 0.0277387165, 0.0609300397, 0.007019755, 0.0149449548, 0.0200641602, 0.0142333787, 0.0553124696, 0.0071890755, 0.0382430926, -0.0212669373, 0.0441746227, -0.0051333928, 0.0979964063, -0.0266906228, -0.0638946965, 0.0547696576, -0.0120737012, -0.0181591567, 0.0123896943, 0.0474265516, -0.0817215815, 0.0399464071, -0.0066217748, -0.0003709584, -0.0552921705, 0.0086230645, 0.0758583993, 0.0210705549, -0.0020665131, 0.011732216, -0.0259057544, -0.0418357477, 0.0127970837, -0.0202738531, -0.0062571513, 0.0048586531, 0.0560554713, 0.0473858491, -0.0012834196, -0.0009306503, -0.0133010903, -0.0050210999, -0.0641459301, -0.0211939868, -0.015375304, -5.913587349e-33, 0.0110011213, 0.0095596779, -0.0224063583, -0.0233770702, -0.0317121036, 0.0298404749, -0.0293325838, 0.0022564547, -0.0359345004, 0.0187565181, 0.0078682238, 0.0383992456, 0.0001136102, 0.0297279637, -0.0156840123, -0.0084217312, -0.0076594003, -0.0202478655, 0.0083995629, 0.0251461677, 0.0593744442, 0.0408183113, 0.0677325055, -0.0841510966, -0.0170030836, 0.040493045, -0.0516124554, 0.018141618, 0.0491916612, 0.0524055399, -0.0206198134, 0.0568709001, 0.0042378516, -0.0089555588, 0.0094030071, 0.0181962382, -0.06135948, -0.0044544982, 0.0146985548, 0.0342444219, -0.0730450973, 0.0204909761, 0.0092784297, 0.0085158767, 0.0139042111, -0.0312927701, 0.0411966033, 0.0098136049, 0.0331773199, -0.0222928952, 0.003163906, 0.0125738634, -0.0541313961, -0.0503733791, 0.0262210965, 0.0737487227, 0.0181280859, -0.0243788343, -0.0756365657, 0.034603212, -0.087836504, -0.011789958, 0.0359484628, 0.0103046466, 0.0142808696, 0.0897022337, 0.040488176, -0.0155713819, -0.0120355962, 0.0265852232, 0.0336639732, 0.0585707277, -0.0241468325, 0.0703149587, -0.0137010105, -0.0101200584, -0.0274485368, 0.045357164, 0.0437872931, 0.0401434302, 0.0192161575, 0.0211285707, -0.0054142559, 0.0178760383, -0.0213955361, 0.0111867124, -0.030654192, -0.018502228, 0.0159744881, -0.0205275547, 0.0088789631, -0.0176633019, 0.0696886405, -0.0304404441, -0.0043997001, 0.0684027374, -0.0220991727, 0.0623892918, 0.0221581552, 0.0161751769, -0.0110964989, -0.0157661904, 0.0532739833, 0.0010905836, 0.0722866356, 0.0089102052, -0.0028214396, 0.0197690818, 0.0117664859, -0.0381309614, -0.0274942312, 0.0156928916, -0.0398585424, -0.0039563687, -0.0055384943, 0.0268183071, -0.0677841157, 0.007190926, 0.0022664415, 0.0607047155, -0.0260769613, -0.089006789, 0.0027583386, 0.0137670338, -0.036577832, 0.0039195023, -0.0283015482, -0.0873121172, 0.0126207508, -0.0444256403, -0.0215215012, 0.0158455893, 2.759e-7, 0.0023833534, 0.0117296651, 0.01802155, 0.0164131355, 0.038085036, 0.0762320384, -0.022183083, 0.0402032547, -0.0056021162, -0.0502127744, 0.0610885583, 0.0332403891, 0.0476435535, -0.0198509526, -0.037496794, -0.037475206, -0.009605688, -0.0084255645, -0.0261281859, 0.0371966064, 0.1020198986, 0.0777788162, 0.0178045332, -0.0119304992, 0.0262672715, 0.038118165, 0.0357279517, -0.0572686456, 0.0060682227, -0.023520926, 0.0159561951, -0.0390250646, -0.0187870078, -0.0118401032, 0.0087571656, -0.0394698083, 0.0234994926, 0.0308805145, -0.0168396179, -0.1003573313, 0.0007159515, 0.0540557466, -0.0441236645, -0.0247766245, 0.0431469344, 0.0143479127, -0.0664868802, -0.0105618229, -0.0191392936, -0.0073405853, 0.0147125619, -0.0014550423, -0.0354347154, 0.0130413035, 0.0071207634, -0.0417812951, -0.0305353254, -0.0949551538, 0.0042960546, 0.005494412, -0.0798175931, -0.013190574, -0.0422565863, -0.0142563824, 0.0551290177, -0.0468974896, -0.0255014822, 1.533903612e-34, -0.0018171165, -0.0183228943, 0.0151380152, 0.0041113091, 0.0342570245, -0.0187296718, -0.040166676, 0.0072248094, 0.0453371815, -0.0560880154, -0.0184160601 ]
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.
Learning to Reduce: Towards Improving Performance of Large Language Models on Structured Data: 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.0092790928, 0.1227939948, -0.0243525952, 0.0417284891, -0.0369580686, 0.0240243766, -0.0049250508, 0.0358356684, 0.0025521503, -0.0262067281, -0.0177754443, -0.0236455202, -0.0056818919, 0.0550565757, 0.0178777315, -0.0211599972, 0.0342270061, -0.0418072194, 0.014348601, 0.0052311318, -0.0022790476, 0.0168590471, 0.0144466646, 0.0200700853, -0.0111758364, -0.002691769, -0.0146923354, -0.0068678907, -0.0349421613, 0.0072024586, 0.0082152318, 0.0707567781, 0.0423084646, 0.0412273519, 0.0000019084, -0.0066840397, -0.0216451939, 0.0051941322, -0.0195168871, 0.0229499396, 0.0363428146, -0.0439298078, -0.0066504017, 0.0213131793, -0.0303205773, -0.048760321, 0.034846779, 0.0451385938, 0.0428081118, 0.0759035274, -0.005039853, -0.0542412475, -0.0279861614, -0.0478053167, 0.0140191922, -0.0413718782, 0.0301585738, 0.0130745936, 0.0035416286, 0.0083384281, -0.0085497461, 0.0224600397, 0.0247384347, 0.0029565501, -0.0850473791, 0.0331194997, -0.0526370741, 0.0410341546, 0.0247192793, 0.0719717965, -0.0174734909, -0.0277903397, 0.0184293836, -0.0386070758, 0.0007029125, -0.0249482989, -0.0346946679, 0.0257780533, -0.0155266933, 0.0396115407, 0.0329837091, -0.0397680514, 0.035471119, -0.002230336, -0.049957756, 0.0857588872, 0.0001345493, -0.0155071672, 0.0011252823, -0.0015555659, -0.0014016757, -0.0347252302, -0.0164559297, 0.0330098644, -0.0652925298, 0.0282047242, -0.0231054761, -0.0002496321, 0.0151697919, -0.0267356411, 0.0139559973, 0.0265607201, 0.02062672, 0.0543107092, -0.0097223148, 0.029071033, -0.0361327045, 0.0072007151, -0.0385672562, -0.0448483489, -0.0553285815, 0.0038682325, -0.0322747454, 0.01944739, -0.0661628619, -0.0134552224, 0.0028308642, -0.0023735168, -0.015489609, 0.0386316031, 0.0271445066, -0.0167159028, -0.0394006893, -0.0217117351, -0.0263150856, 0.0306697395, -0.0085500404, 0.0218298938, -0.0308339093, -0.0502524897, -0.003379608, 0.0134070888, 0.0122111272, -0.0202480871, 0.0273391251, 0.0719637722, -0.0136981867, -0.0105892513, -0.0460243337, -0.0319317728, -0.0288841054, -0.0939265937, 0.000048005, -0.0624071807, 0.0346216038, -0.0178053491, 0.017670406, -0.0629234165, 0.0088537149, 0.0287580062, -0.0394195803, 0.0709597766, 0.0072126216, 0.0187203698, -0.0094581768, -0.0038975158, 0.0070806863, 0.1053153053, 0.0293814056, 0.0063291145, -0.0143435672, -0.0461352058, -0.0349801518, 0.0576759838, 0.0603071824, 0.0406962857, -0.0402968265, 0.0381934829, -0.0169407725, 0.0224181861, 0.0381906219, 0.0577942245, -0.0118237315, 0.0163689163, 0.0281861015, 0.0282454137, 0.0117988819, 0.0506188795, 0.0259114839, 0.0332139581, -0.0072569372, 0.02190312, -0.0452888496, -0.001932497, 0.0378510058, 0.0053131324, 0.0273798425, -0.0169947967, -0.0323579721, -0.0359990522, -0.0083718179, 0.0164993443, 0.0022936864, 0.0491048433, 0.0383950621, 0.0214879885, -0.0366232693, 0.0342752934, 0.0214011203, -0.0360236838, -0.0281756837, -0.0631222427, 0.054735899, 0.0362106115, 0.0292670745, -0.0560456254, -0.0270884763, -0.005660783, 0.0185762327, 0.0159357302, -0.0030882733, -0.0365269184, 0.0244025532, 0.0024204704, -0.0225287508, 0.006054299, 0.0415576398, -0.0204721615, 0.030686494, -0.0094712125, 0.0254502967, -0.0443728343, -0.0245363843, 0.0383878052, 0.004733209, -0.0417462774, 0.02979647, -0.0077326815, 0.0547031201, -0.0065129916, -0.0077021439, 0.0184907336, 0.038122844, -0.0290741492, 0.0395927206, -0.040575929, -0.0068294723, -0.0440453067, 0.0364825204, 0.0143376663, -0.0283479169, 0.0173661541, -0.0736751705, -0.0475080386, -0.0166495144, -0.0447493568, 0.0105137667, -0.0379397422, -0.0189978257, 0.0102317482, 0.0209606215, -0.0052321581, 0.062110845, -0.0028745306, 0.0272665471, 0.0331458598, -0.047508359, 0.0151380096, -0.0606670715, 0.0198375266, -0.0086041847, -0.0042882916, 0.021268053, 0.0237429608, 0.0325551778, -0.0379947089, 0.003411937, -0.0564397909, 0.026616687, -0.0451406986, 0.0262736715, 0.0196423493, 0.0148175946, -0.0167721771, -0.0386603475, -0.0568141304, -0.0108555593, 0.0348977037, 0.0267095994, 0.0321948566, 0.0061441953, -0.0429576077, -0.0413151756, -0.0224960744, -0.0163287614, 0.0261758696, -0.0360952988, -0.0363765918, -0.0462552011, 0.0307457969, -0.0152183482, 0.0452399887, -0.0055815978, -0.0045399996, 0.0055134897, -0.0326578133, 0.0140831983, 0.0502862856, -0.0488141626, 0.0188606959, 0.0483873039, -0.0265343767, -0.0441892222, 0.0320898369, -0.0182227846, 0.0070688818, -0.0271788333, -0.0400904566, 0.0195651166, 0.0620199628, 0.0012265558, -0.0032775649, -0.0660088435, -0.0037927884, 0.0296761952, -0.0131912855, -0.0654321611, 0.0387898609, -0.0049382276, 0.0265635643, -0.012998973, -0.0406698026, 0.0382148623, -0.0461681262, 0.0234640334, -0.0177540369, 0.0019178762, -0.0566986054, 0.1050654873, 0.0490885451, -0.0040553128, -0.0326727964, -0.0298048295, -0.0571785271, -0.015364117, 0.0096184714, -0.0309333894, 0.071178548, -0.0752544776, 0.037719246, -0.0115374103, -0.0499257669, -0.0221146792, -0.0097125508, -0.0439197607, 0.0423234031, 0.0289527513, -0.0116562331, -0.0270298924, 0.0004437283, 0.0027152786, 0.0698052272, 0.0359784216, 0.0126268156, -0.0277709533, 0.004897018, 0.0586012304, 0.0138533767, -0.0215179101, -0.0262889769, 0.0171343498, 0.0372961015, 0.0211478136, -0.0158579554, -0.0295289718, 0.0042293188, 0.0068165758, -0.0303325709, -0.0112258028, 0.0380230695, 0.0092617003, -0.0894854218, -0.0225811601, 0.0877189785, 0.0074197492, -0.0125577971, 0.0006383749, 0.0356511995, 0.068029128, 0.0051722848, 0.0543448292, -0.1105304062, -0.0477730893, 0.0116701378, -0.0132901231, 0.0307986643, -0.0431348495, -0.0354674682, -0.1270879507, 0.0581534877, -0.0146972705, -0.0808767527, -0.0477603488, -0.0463462248, 0.0062551922, -0.0454155393, 0.0156059014, 0.0252230242, -0.0375941768, 0.0057344539, 0.005238574, -0.0115997605, -0.0485311486, 0.017476894, -0.0238700341, 0.0515513532, 0.0377386138, 0.0213378966, 0.0090945046, -0.0225608423, 0.0454225466, 0.0066510034, -0.0123475371, -0.022777373, 0.0504299402, 0.0017790946, -0.0110398848, -0.0157022048, 0.040826045, -0.0376814194, 0.0025418405, 0.0154691041, 0.1049525514, -0.0226796921, -0.0161229745, -0.0005299539, -0.0276388302, 0.0258981567, 0.079841733, 0.0379126444, 0.0095151318, -0.0620269068, -0.0207909308, -0.0504835546, -0.0244735964, -0.0215317272, 0.0266424567, -0.0278131533, 0.0102634439, -0.032200411, -0.0057962667, 0.0596681461, 0.0083499439, -0.0307585075, 0.0788756087, -0.0099291056, -0.0072212191, -0.0483586155, 0.0075002802, -0.0789036453, 0.0305269472, -0.0384973139, -0.0363687202, -0.0033513748, 0.0036517221, -0.0167812165, 0.0109798005, -0.1075499877, -0.0392176993, -0.018101193, 0.0200709347, 0.0235878285, 0.0431688763, 0.0058015035, -0.0161748212, 0.00462654, 0.0067845434, -0.0774226561, -0.0205785651, 0.0043160571, -0.0324041545, -0.0048962315, 0.0775893331, -0.0297197867, 0.0191565342, -0.0013825139, 0.0427343622, 0.0046159537, -0.0086730476, 0.0295582321, 0.0354925618, 0.0169497076, 0.0116636027, -0.0463175699, -0.0267769787, 0.0317873843, -0.0183588695, -0.0357413255, -0.0247565284, 0.0369940177, -0.0008539177, -0.0132913589, -0.0283012651, 0.0070844069, -0.008572273, 0.041994106, -0.0448172949, 0.0188220404, 0.0449069962, -0.0290247723, 0.0617287345, -0.027986262, -0.0071451254, 0.0227397699, 0.0304371752, 0.038697198, -0.0083739562, 0.0085841557, 0.0348541029, 0.0154510299, -0.0609120689, -0.0012906272, -0.0358841196, -0.0628652722, -0.0078708241, 0.0019278427, 0.0342290625, -0.0312908329, 0.0322761089, -0.0196326692, -0.0199266039, -0.0200283714, 0.0387792401, 0.0132798832, 0.0030811909, 0.0588268228, 0.0126969935, -0.0333112143, 0.0034011642, 0.1138146967, 0.0838071778, 0.0403790548, 0.0181817785, -0.014178074, -0.0442212708, -0.0509968698, -0.001694455, 0.0031083233, -0.0309653357, -0.0049596666, -0.0145454463, -0.081445843, -0.0382133946, 0.0040094806, -0.0356409587, -0.0044858605, 0.0197991319, 0.0502403155, 0.0381605104, -0.0221540313, -0.046189364, 0.0101165241, -0.0034507546, -0.0465470813, -0.0140414117, -5.96747605e-33, -0.0255779419, -0.0411378257, 0.0544369295, 0.0007257431, -0.0131891584, 0.0064510647, -0.0491642468, -0.031484738, -0.0059148064, 0.0275180321, -0.031775903, 0.0568486601, 0.016050797, 0.0199497398, 0.0063342541, -0.0400400646, 0.039879106, -0.0006076106, -0.0023722479, 0.0423689187, 0.0334836543, 0.0081591215, 0.037325602, -0.0220286679, 0.0138263879, 0.0215907898, -0.0031327598, 0.0124499062, -0.0297848508, 0.0453848131, -0.0322503522, 0.0279977936, 0.0445615463, -0.0511848889, -0.0243477114, 0.0385843553, -0.0963594466, -0.0179204475, 0.0225893781, -0.0004871609, -0.0076064593, -0.0282836705, 0.0297731627, 0.0013879366, 0.0073079253, -0.0258538295, -0.0043629427, -0.0463136137, -0.0200498067, -0.0222819503, -0.0448526405, 0.0477857739, 0.0170676261, 0.0125970924, 0.0516131632, 0.0199950095, 0.0098562939, 0.0059412727, -0.0213127639, 0.0204133391, 0.0161486771, 0.0646395013, 0.0493988656, -0.0036385665, 0.0041024396, 0.0210016426, -0.006231118, -0.0061780345, -0.0398214422, 0.0058991178, -0.0063267886, 0.0704488754, 0.0308732055, 0.0449452698, 0.0252820905, -0.001124199, -0.1245487332, 0.0289670583, 0.003776809, 0.0557071641, -0.0102800038, -0.0045498377, -0.0143048856, -0.0307187289, -0.0504209772, 0.0142156687, -0.0170059148, 0.0065900022, 0.0320071168, 0.0045300266, -0.0139701748, -0.0151042119, 0.0424295776, -0.0435452648, -0.0475501344, 0.0380964577, -0.0223480891, -0.0416118093, 0.0176647771, 0.0444778986, -0.0708355531, -0.0410178714, 0.0245317798, -0.0289806463, 0.0231668781, 0.0074312827, 0.0468430929, 0.0320352353, -0.0844292566, -0.0056711677, -0.0472909398, 0.0211692546, -0.0298026372, 0.056045115, 0.0368981026, 0.0261316914, 0.041893281, 0.0609227829, 0.0278461482, -0.0226451941, 0.0100890137, -0.003442348, 0.0044565108, 0.0040785349, -0.0268206038, -0.0082242098, -0.0469979271, -0.0038041724, 0.036513906, -0.0219667125, -0.0014667861, 0.0344540253, 2.458e-7, 0.0821901262, 0.0195721481, 0.013244722, 0.0497631691, 0.0312219188, 0.0082021244, -0.0199121274, 0.0050459267, -0.0260887854, -0.0107632317, 0.0316387154, -0.0042778514, 0.0626229942, 0.030121021, -0.0672798306, -0.0074989721, -0.0490817204, -0.0241314471, -0.069426544, -0.0123641007, 0.0184309501, 0.1361831874, -0.0389833786, -0.0409608744, 0.0189676844, -0.0097245686, 0.0335180461, -0.0393999852, 0.007900076, 0.0215935037, -0.001312255, 0.0122732818, -0.0027491774, 0.0338781886, -0.0103365108, 0.023197975, -0.0464343801, 0.0970349312, 0.0339574181, 0.0373162702, 0.0135449348, -0.0611576922, 0.0262292214, -0.047755938, 0.1098078936, -0.047959812, -0.0172090344, 0.0244868025, 0.002516743, -0.0250077453, -0.0057487371, 0.0001403916, 0.0005549085, 0.0190745629, 0.0363991223, -0.0231710486, -0.0124720298, -0.0540081896, -0.0025693665, 0.0059116902, -0.0477527082, -0.015655918, -0.0296375938, -0.0258589052, -0.0061089457, -0.067166619, 0.0059347269, 2.425255149e-34, 0.034215048, -0.0091690607, -0.003503049, 0.0284733605, 0.0581524633, -0.0277356263, 0.0030054846, 0.014651644, 0.0135281356, -0.0993647352, -0.0239965301 ]
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.
A Comparative Study of DSL Code Generation: Fine-Tuning vs. Optimized Retrieval Augmentation: 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.0125903338, 0.051846046, -0.0237934832, 0.0078937439, -0.038114544, -0.0125413761, -0.0393964499, -0.0147482958, 0.0350658, -0.0378817208, -0.0106647741, 0.0110819582, -0.0097388541, 0.0283867717, 0.0297263749, -0.0030059896, 0.0467182174, -0.0002135272, -0.05374901, 0.0137222968, -0.0331915431, 0.0268438868, 0.0263674464, 0.0505182184, 0.0471735038, -0.0064518866, 0.0054607019, 0.0315435417, -0.0106007615, -0.0324961804, 0.0030190467, 0.0310525317, 0.0400759615, 0.0513162315, 0.000002332, -0.0769264325, -0.0191093758, 0.0364359245, -0.0011881436, -0.0056491005, 0.0183140375, 0.0248226523, 0.0167433191, 0.026114516, -0.036651291, -0.0299181025, 0.042020712, -0.0525424741, 0.0676369593, 0.0801619664, 0.0237050131, -0.0354824588, 0.0133603755, 0.0370691232, -0.0005705378, 0.000621019, -0.0011580917, 0.0523278564, 0.0330868103, -0.0110652372, 0.0264176875, 0.0329625942, 0.0304203033, 0.0163626075, 0.0238312557, 0.0132580409, -0.0558104478, -0.0147089399, 0.0150634693, 0.0019280362, -0.0380909517, -0.0751324147, 0.0265249684, 0.0022534807, -0.0050169821, -0.0514399298, -0.045550067, -0.0071809045, -0.0050909151, -0.0174679365, 0.0421625525, -0.0382640734, 0.0190620348, -0.0205235388, 0.0148473242, 0.0142513961, 0.0151635157, -0.0133997062, -0.0331752226, -0.0378632508, 0.0317738466, -0.0157718118, -0.0001174343, 0.0384626612, -0.0319499783, 0.0094533432, -0.0222485196, -0.0851626173, 0.0385344289, -0.026066944, 0.0231226627, 0.0368345864, -0.0265154894, -0.0474614501, -0.0446991399, 0.0569031239, 0.0310985278, 0.0054242872, -0.0245574526, 0.0384251662, -0.0730387494, -0.0248707067, -0.0742617771, 0.0770040005, -0.0044763912, 0.0389882401, -0.0220700484, 0.0504133292, 0.0142801544, 0.0289848242, -0.025526233, -0.0017540918, -0.0418888442, -0.0052745594, 0.0197362825, -0.0194039512, 0.0063041933, -0.0493053906, 0.0216940586, -0.0774061978, 0.0000243229, -0.0026735978, 0.000239257, -0.0117723793, 0.0181880835, 0.0844445974, -0.0164827239, -0.0142140687, -0.050390318, -0.0619370453, 0.0502496548, -0.0166081935, -0.0117522106, -0.1083127558, -0.024568703, 0.0336777717, -0.034452036, -0.0787109137, -0.0019035538, 0.0227053799, 0.0215340145, 0.0274608061, -0.064609699, 0.0230324063, 0.035722062, -0.0187388062, -0.0249680169, 0.0345820002, 0.0069774678, 0.0004377416, 0.006091821, -0.0297296233, 0.0193638466, 0.002656504, -0.0316062681, -0.0167582668, -0.0252630562, 0.0488662198, -0.0097036213, 0.0144622531, 0.0185416378, 0.025670873, -0.0087121297, 0.0256361179, -0.0184316803, -0.0021565151, 0.0417264625, 0.0388513729, 0.0941893682, 0.0880443007, -0.0159133673, -0.0194450021, -0.0461314917, 0.0141714532, -0.024415521, 0.0405507796, 0.022572251, 0.0430956967, 0.0219968185, -0.076103501, 0.0182786509, -0.0151697611, 0.0003805395, -0.0029783291, 0.0491775684, 0.03362168, -0.0641947985, 0.0215644687, -0.0016500145, -0.0741012543, -0.0315854922, -0.0712087825, -0.0269610304, 0.0434222184, 0.0835395306, -0.0242100228, -0.0536318943, 0.001036533, -0.0124260848, -0.0051499042, 0.0336577445, 0.005453351, -0.0006662076, -0.0491448641, -0.0102935694, -0.0289898105, 0.0127335386, 0.0707775578, 0.0035265824, -0.0145449368, 0.0440383628, -0.0402263291, -0.0920173079, 0.0191601235, 0.0029687469, -0.0435281135, 0.027284598, -0.0089960741, 0.0017732674, -0.0128864218, -0.0437720828, 0.0497856066, 0.0039466359, -0.0130523834, -0.0262583476, -0.0408290476, -0.0398705639, 0.0264905188, 0.0343896635, -0.007896198, -0.0261588227, 0.0632191002, -0.0075041098, -0.0423804, 0.0667593628, -0.0471700951, 0.0320257619, -0.0118299825, 0.0405656584, -0.0136559261, -0.0254694838, -0.028209215, 0.0538694263, 0.0111574493, -0.0075664031, -0.0101113683, 0.0701238587, 0.0377324075, -0.0079106595, -0.0082057519, -0.0276001487, -0.0617986619, 0.0661194697, 0.03697671, 0.0354349799, 0.0071517755, -0.0037746555, -0.0604849309, 0.0247286223, -0.0381067917, 0.0118433759, 0.0126880016, 0.0651678368, 0.0096999481, -0.023378076, -0.0056421887, -0.00962169, -0.002559758, 0.0030904952, 0.0030204691, -0.0008757912, -0.0974686071, -0.0193176251, 0.0054309401, -0.0226606429, 0.0289218053, -0.0183477197, -0.0098969312, -0.0762379095, 0.1115840897, -0.0181371029, 0.0378983952, -0.0244716667, -0.0370596498, 0.0042592734, -0.040829502, 0.0289229043, 0.0344153941, -0.0306056645, -0.0534716323, 0.0356608182, -0.0034065598, -0.0858008564, 0.0163296666, 0.0043454696, -0.0646512881, 0.0157800801, -0.0223805886, 0.0744192153, 0.0366846956, -0.0045413938, -0.0296653416, -0.0128102778, -0.0164166391, 0.0274575185, -0.0174489245, 0.0392650589, -0.0252207108, -0.0159241036, 0.0486033969, 0.0156955086, -0.1173017323, 0.0653760359, -0.0348964147, -0.0191609096, -0.0573171154, -0.0205674171, -0.0340030342, 0.0690857321, 0.0073569003, 0.0352845378, 0.0033996557, -0.0449711606, -0.0419438146, 0.0339285284, 0.0077685462, -0.035384696, 0.0709489137, -0.0393938795, 0.0265141614, -0.001754329, -0.0163725466, -0.0468204543, 0.0339044742, -0.019393092, 0.0120497178, -0.0185813531, 0.0146952514, -0.0026667172, -0.0111710541, -0.0033052214, 0.0264117178, 0.0442506038, -0.0429298393, -0.017821094, -0.0727529675, -0.0018954724, -0.039847333, -0.0329556279, 0.0389112085, -0.0124339713, -0.031131357, 0.0533636436, 0.0417025089, -0.0776844844, -0.0292567257, 0.0350030996, -0.0368824787, -0.0365706719, 0.0817954093, 0.018136844, -0.0679837465, -0.0175080672, 0.0634328052, 0.0226763282, -0.0361443721, 0.0033690787, -0.0350707881, 0.0428608805, 0.056024462, 0.0650561899, -0.0714561343, -0.0312455986, 0.0082232086, 0.0698914751, -0.0243302379, 0.0154244117, -0.0323710404, -0.1250312775, 0.0252908766, 0.0126453731, -0.0176716335, -0.0600771457, -0.0253176782, -0.0445949398, 0.0269354004, -0.0098116649, 0.060525693, -0.0048169903, 0.0075501907, 0.0045544789, -0.0482758693, -0.0259331241, 0.012309975, -0.022045359, -0.000317198, 0.1173596084, 0.0256209206, 0.0348170847, -0.027544478, 0.0570929497, 0.0042497236, 0.0290131774, -0.0216161478, 0.0213776659, 0.0110346042, 0.0049646543, 0.010725663, 0.0203415118, -0.039175, -0.0019348027, -0.0042895996, 0.0363671556, -0.0278794412, 0.0056199688, -0.0316254646, 0.0024465285, -0.0151406573, 0.0168508217, 0.0208522547, 0.0410291627, -0.0349013023, -0.0483869053, 0.0136835361, -0.036935214, 0.0194696486, -0.0009682273, -0.0491148271, -0.0237426888, -0.0346653238, 0.0247626137, 0.0073684794, 0.0315005705, -0.0028679122, 0.0206025597, -0.0081484467, -0.0062408224, -0.0982434899, 0.0314004309, -0.0311641805, -0.0007011114, -0.0367691666, -0.047616154, 0.0190898869, -0.0184580833, -0.0219874997, 0.0542398505, -0.0629988313, -0.0723876804, -0.0159008037, 0.0827254802, 0.0175326839, 0.0296596494, -0.0254767649, -0.0313125141, -0.0529041663, 0.0922378302, -0.0174572878, -0.017524058, -0.0031145876, -0.0128119458, 0.0191387925, 0.0068795159, -0.09145841, -0.0128901647, -0.0070017613, 0.0093914503, 0.021953024, 0.0419039875, 0.0429854281, 0.068648003, 0.0105234543, -0.0151627474, -0.0126551501, 0.0025109418, -0.0043553044, 0.0039074197, -0.0296123251, -0.0525156707, 0.0270531923, -0.0212227739, -0.0079316162, 0.0673670471, 0.006212783, -0.0346506573, 0.0686246082, -0.0095491745, 0.030290775, -0.0135530876, 0.0556829348, 0.0534579419, -0.0230258908, -0.0278646443, 0.0239212643, 0.0103589334, 0.0486739203, -0.018386092, 0.0430270806, 0.0151285958, 0.0315308012, -0.0072007729, 0.0146177281, -0.0118478993, -0.0977237001, -0.0143904565, -0.0279198028, 0.0311625898, 0.0277470518, 0.0683051199, -0.0187812988, 0.0480412506, -0.0220461264, 0.0445541851, 0.0034046969, -0.0314787328, -0.0094714044, 0.0181258582, -0.0096147852, -0.0356333703, 0.0681595728, -0.0270298086, 0.0072801439, -0.0351562202, -0.0323493145, -0.0423012562, -0.0237288047, 0.0562833138, -0.0058354456, 0.0083538201, -0.0489583164, -0.0509814285, -0.0470955968, -0.0098087844, 0.0157414451, 0.0143723711, -0.0144597217, 0.063685894, 0.093316026, 0.0109431362, -0.034266673, -0.0007992259, -0.0062714373, -0.0332695059, -0.0548335947, -0.0203029923, -5.760616595e-33, -0.0232881606, 0.0019115945, 0.0217754543, -0.0040141363, 0.0012922479, -0.0157112256, -0.0284305867, 0.0066439942, 0.0284900777, -0.0537976846, 0.0498382933, -0.011395378, -0.0038960755, -0.0122505967, 0.0110420948, 0.0093308892, 0.023646459, 0.0220790524, -0.0524907857, 0.0278129652, 0.0003356745, 0.0409981608, 0.0285512414, -0.0392890014, -0.0317509696, -0.0150466207, 0.0665262863, -0.0050846427, 0.0472416468, 0.0225277692, 0.024791332, 0.0042071752, -0.0082095778, 0.0005029271, -0.0527286232, -0.0258095469, -0.0086592631, -0.0212003849, 0.0125664379, 0.0159201566, 0.0049554654, -0.0503087677, 0.0883659571, -0.0144545222, -0.0300993323, 0.0466465652, 0.0245203804, 0.0149982963, -0.0103526311, -0.0367440991, -0.0637620687, 0.0302441679, -0.0052874726, -0.0237434227, -0.0246031545, 0.0456020124, 0.0013516967, 0.0076780813, 0.0238618422, -0.0348245129, 0.0151668843, 0.0638753697, 0.0726533085, -0.003336201, 0.0305512138, -0.0058201239, 0.0368735865, 0.0224849265, 0.006987391, 0.0302318614, 0.0427174456, 0.0608356073, -0.0231435914, 0.0178107098, 0.0214102678, 0.0017757171, 0.0055220374, 0.0288714282, -0.0468013436, 0.0387611426, 0.023006564, 0.034437988, -0.0382793471, -0.0004389297, -0.0402930789, 0.0319056213, -0.0208111014, -0.0439587869, 0.0588842034, 0.0001893574, -0.017860001, -0.040456105, 0.0225436222, -0.0027080989, 0.0186912417, -0.0209648591, -0.0523392409, 0.0175536554, -0.0180976875, 0.0089179724, 0.0480110087, -0.0092469994, 0.0094154337, -0.0125686545, 0.051712092, -0.0082700215, -0.018775994, 0.0169431604, -0.0462043732, 0.0269002449, -0.0625807121, -0.0055912798, -0.0181075465, 0.0282698665, 0.027000729, -0.0008648701, -0.0008718094, 0.0124709783, 0.0198159777, -0.0392263345, -0.0362012684, 0.0269880388, 0.0071128355, 0.0147763873, -0.0388538092, -0.0020541691, -0.0489281192, 0.0058594896, 0.0258256979, -0.001167504, -0.0431571417, 0.0191951692, 3.204e-7, -0.0119762151, 0.021494776, 0.0261406191, 0.0756581128, -0.0246149562, 0.0357974917, 0.0184136331, -0.0077735689, 0.0278608967, 0.0432807542, -0.0446864218, -0.0002918926, 0.0191297717, -0.0065812771, -0.0633012652, 0.0181663651, 0.0071062646, 0.0146988602, -0.0725422502, 0.0003101527, 0.006565161, 0.0287647434, -0.0164087061, -0.0130058667, 0.0146771036, -0.0666701123, -0.0098034209, -0.0069631631, 0.0048126588, 0.0384767614, -0.0260851998, 0.0749677792, 0.0018282675, -0.0269351285, -0.0079317316, -0.0148936352, 0.0060461443, 0.0157107934, 0.0017924147, 0.0356222577, 0.0757973865, -0.0117977867, -0.0136224646, -0.0580223352, 0.0191473141, -0.0121480273, -0.0117411492, -0.0206162203, -0.0685590729, 0.0263961628, -0.0656756014, -0.0047855643, 0.0172848124, 0.024825085, -0.0118693123, -0.0261295475, -0.0181634799, -0.0040385788, -0.0428019576, 0.0434192568, -0.0061892234, -0.0400826149, -0.0602510832, 0.0248965099, 0.0036138403, -0.0179155264, 0.012761876, 3.206315126e-34, 0.0209539924, -0.0224763192, 0.0285094436, 0.0161019955, 0.0472102873, 0.0058420599, -0.0151181677, 0.0615554117, 0.0072852755, -0.0039099371, -0.0121157486 ]
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.
MentalAgora: A Gateway to Advanced Personalized Care in Mental Health through Multi-Agent Debating and Attribute Control: 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.0898082778, 0.0469081774, -0.0471742563, -0.0066088988, -0.0116665699, -0.0279359184, 0.0424232855, -0.0122041125, 0.0524461158, -0.0107402522, -0.0288769361, 0.0010897188, -0.0218462721, 0.0488228984, -0.0071620368, -0.0865847394, -0.0123634301, 0.0141400136, 0.1166778728, 0.0060055228, 0.0557961799, 0.0128805414, -0.042001158, 0.0572542809, 0.0171969775, -0.0083137611, 0.0354089439, 0.012032303, 0.037646953, -0.0867527351, -0.0052224346, 0.0401986577, -0.0387757793, 0.0145916091, 0.000001965, -0.0222593229, -0.0280098021, 0.0074089556, -0.000751861, -0.066394262, 0.0955461338, 0.0000203588, 0.0147226257, 0.0218630377, -0.052867081, -0.0096851569, 0.0310359076, 0.0535562001, 0.0678917319, 0.0433475301, -0.0341735519, 0.0299508926, 0.0141372168, 0.0022298056, -0.0558788218, 0.0037616936, -0.0108964071, -0.022174146, 0.0739887953, 0.0040480653, 0.0248955172, 0.0169650782, -0.0436395109, 0.0175263416, -0.0235228185, -0.0021654684, -0.0245315097, -0.0405452028, -0.034275271, 0.0999167189, 0.0724449083, 0.0524451844, 0.0188908465, -0.0317342989, 0.0251307543, 0.0172546208, -0.0262547154, -0.0140123293, -0.0266259927, -0.0037299651, 0.0020360188, 0.0287153143, 0.003638288, -0.0051746052, 0.0087025585, 0.0763381571, -0.0107956901, -0.0106056696, -0.0034660916, -0.0264746435, -0.0360557139, -0.0747738332, 0.0295846369, 0.0442468077, -0.0957442522, -0.0115343314, -0.0279497728, -0.0598162375, 0.0426304564, -0.0306199547, 0.0539090447, 0.0442570113, 0.0007746308, -0.0089508984, 0.0822015479, -0.0102490513, 0.0020234133, 0.0192470904, -0.0124270059, 0.0175596848, -0.0582556613, 0.0036978466, -0.0412818789, 0.0336031392, -0.0365551002, -0.0403386466, -0.0412388332, 0.0375146754, -0.0497428402, 0.0225702338, -0.0055325259, 0.007903452, 0.0004121827, 0.0134774195, -0.0446228795, 0.0310030598, -0.0652889013, 0.0164919943, 0.0376671925, -0.0637026951, 0.053193409, -0.0112828417, 0.002507617, -0.0142149627, 0.0051954142, 0.060320802, 0.0017294961, -0.000158419, 0.0227243807, -0.0697968006, -0.0103342691, -0.0471173078, -0.0309425611, -0.0486890897, 0.0445177928, 0.0222982801, -0.0018302989, -0.052152276, 0.0302310865, 0.0011107367, -0.0533592962, 0.086182259, -0.0664557964, -0.0084497118, 0.0378033668, 0.0393137559, -0.0216220878, 0.0285292771, 0.0060917665, 0.0243577957, 0.0435957462, -0.0014670036, 0.0089541022, -0.0040414357, -0.016529832, -0.0245855693, 0.0097948508, 0.0211418755, -0.0425133817, 0.0591297038, -0.0757649913, 0.0352372341, -0.047548186, 0.0089607481, 0.0814427808, 0.0721956789, 0.017648425, 0.0270794798, -0.0006491051, 0.0330992602, -0.0093014529, -0.0379846394, -0.015797805, 0.028710736, 0.001985155, -0.0348352455, 0.0049154875, 0.0037289562, -0.032608673, -0.0602414124, -0.0091644349, -0.0098780673, 0.014809317, 0.0386542194, -0.0358304121, -0.0319759622, 0.0053977664, 0.0219494868, 0.0276196059, 0.0022765405, -0.0522878878, -0.0665622354, 0.0365896039, 0.1434937418, 0.0514164418, -0.0436564721, -0.0570170358, -0.0042939926, 0.0074567166, 0.0335103348, 0.0325658619, 0.0147888884, -0.01572101, -0.0357441083, -0.0227454901, 0.0156041412, 0.0059608445, -0.0000894945, -0.017248828, 0.0288374238, -0.0678914711, 0.0528511368, 0.0078510484, 0.0251293052, 0.0336425044, -0.0049458491, 0.008281651, 0.0092345262, 0.0650607497, 0.0440632924, 0.0072345356, 0.0253539979, 0.0305592641, -0.0170455109, -0.0414988436, 0.0259064361, -0.0029321723, 0.0255354531, 0.0222721212, -0.0125110662, 0.0167694464, 0.0034432444, 0.0067981239, -0.0209521465, 0.044479277, -0.0290965326, 0.0417839512, 0.0077185454, -0.002753329, 0.0351380855, 0.0236095209, -0.0183665808, 0.000109218, -0.0094949715, -0.0097723659, 0.0122331269, 0.0020969477, -0.0379984528, -0.0437968969, 0.0137783587, 0.018686546, 0.0048543713, 0.0348719358, -0.003288486, -0.0058702161, -0.0308423247, -0.0338207632, -0.1230860204, 0.0042750891, 0.0072371396, -0.0187882502, 0.008955434, -0.0006501691, -0.0071996404, -0.0203082189, -0.0452432074, 0.0359156132, 0.0336640812, 0.0381687544, 0.0112453317, 0.0429994687, -0.0296669248, -0.0535731465, -0.00252012, -0.0251905601, 0.0118511524, 0.0076142228, 0.0148546845, -0.020909816, -0.0762158632, -0.0796599239, 0.0085301669, -0.0077360645, -0.039430365, 0.0492046922, -0.0107768402, 0.0123640858, -0.0144222379, 0.0043222704, 0.0557383485, 0.0232523233, 0.0063463827, -0.0707241222, 0.000840291, -0.0260540321, -0.0106661031, -0.0540902838, -0.0322512761, 0.0102605456, 0.051230371, 0.0282204524, 0.0240620263, -0.0466298498, 0.038008444, 0.0248067658, 0.0143334782, 0.0155420257, -0.011864922, 0.0184889957, 0.0424849279, -0.0102895228, -0.0026798213, 0.0598405451, 0.0105438977, -0.0115297157, -0.0494086854, -0.060422495, -0.0420018025, 0.010546702, -0.0061522895, 0.0404769406, 0.0165053084, 0.0029119747, 0.0198042337, -0.0892021507, 0.0211546719, -0.054173775, -0.0055227275, -0.0633982942, 0.0053079464, 0.0303417351, -0.0072968258, -0.0080007175, -0.032907147, -0.066802077, -0.0062752166, 0.0179259256, 0.001465837, -0.0499182865, -0.0343958139, 0.0254308265, 0.0459666923, 0.007385002, -0.0263023842, -0.0097942129, -0.005021899, 0.0269692373, 0.0020530364, 0.0089845285, 0.0133868419, 0.0448106006, 0.0852508098, -0.0170099232, -0.0311813802, 0.003800642, -0.003125974, -0.0011731967, -0.0086723492, 0.0243369583, 0.0194533188, 0.0486787856, -0.020890614, 0.0067591695, 0.0616554581, 0.0276426915, -0.0569861308, 0.0160537381, -0.0484937504, -0.0174568519, -0.0082106637, -0.0001992767, -0.0356297977, -0.0084526744, -0.0496165492, 0.0405348055, -0.0452326536, -0.0298343357, -0.0008185091, -0.0236776583, 0.0245495252, -0.0201831665, -0.0132626509, 0.0493896417, 0.0191140287, 0.0276600681, -0.0005679858, -0.0056164246, -0.0342218578, 0.0283560567, -0.0005387538, -0.020719938, -0.0335257463, 0.015484672, 0.0355988257, -0.0150414649, 0.0929637477, 0.0387057252, 0.0519504771, 0.0219410956, -0.0439969413, -0.0505493619, 0.078478694, 0.0082035121, -0.0097890794, 0.0614371896, 0.0276504532, 0.0165878367, -0.0525530055, 0.0538395979, -0.0212742519, -0.0154956151, 0.0146092782, 0.0370642915, -0.0108790249, -0.0090006897, -0.0370665565, 0.0528131463, 0.0544516966, 0.0226526577, 0.0135965776, -0.0655431226, -0.0398124494, -0.0128484042, 0.0251754485, -0.023893157, -0.0765583143, -0.0001984165, -0.0155606074, -0.0206684694, -0.0843540803, -0.0588554777, 0.0479269177, -0.0064184498, -0.0310587641, -0.0252062734, 0.0274703521, 0.0306317825, -0.0114055276, 0.0289672576, 0.0278498586, 0.0213544443, -0.0274472255, -0.043212086, 0.0249238517, -0.0229157023, 0.0094116479, 0.0356840231, -0.0031196701, -0.0299815238, 0.0211123377, 0.0616474524, 0.0239121914, -0.0088336207, 0.0129774231, -0.0389220677, 0.0022754313, 0.0192859247, -0.0588497631, -0.0305306055, 0.0174262691, 0.0777323022, -0.0029117391, 0.0327205695, 0.013551685, 0.0658684671, 0.0156581085, 0.0224040952, -0.0393448919, -0.0051022181, 0.0094799316, 0.0153947715, -0.0070789037, -0.0124520846, -0.0395484678, 0.037400052, -0.0106830215, -0.066673778, -0.001955179, -0.0452483706, -0.0452757739, -0.030622961, -0.0472660437, 0.019211458, -0.0414002612, -0.0635328889, -0.0045981016, 0.0011411237, 0.0259652063, -0.0091653103, 0.0028182759, 0.0239223931, 0.0076095732, -0.0050403345, 0.0352837034, -0.0093077291, 0.040036954, -0.0184478872, 0.0719417855, -0.0073772618, -0.0219943486, 0.0024875347, 0.0657698661, -0.046399191, -0.1424842328, 0.0189746674, 0.0162314195, 0.0034032743, 0.0901979133, 0.0324483104, -0.0117368577, -0.0036957818, 0.0001587227, 0.0191691369, -0.0201249011, -0.0007244265, -0.0077499938, 0.0102480371, -0.0129477, -0.0468979254, 0.0302971266, -0.048773963, 0.0087030083, -0.0017719453, -0.0363769792, -0.0479972363, -0.0037309059, -0.0541330837, 0.0449725129, -0.026446905, -0.0265789703, -0.0462822951, -0.0372986495, 0.0156322177, -0.0122620827, -0.0378410034, -0.0406114236, 0.0265653562, -0.0003363731, 0.0155066447, -0.0085223531, -0.0434806906, 0.0302525908, -0.031438157, -0.0174971428, -0.0381959938, -5.894101693e-33, 0.0080419416, -0.0212264583, 0.0296483263, -0.0136546204, 0.0110108526, -0.028883934, -0.0186593365, 0.0440226905, 0.01612016, 0.0102832112, 0.0102180857, 0.0222691204, 0.0021476061, 0.0287652072, 0.0145334294, 0.007754318, 0.0298710503, -0.0170731582, -0.0234459415, 0.0257726256, -0.0010941928, 0.0227190293, 0.0051276712, -0.106437467, 0.0312054995, 0.0295563135, -0.0192783363, 0.0061722309, 0.0137180006, 0.0679650828, -0.002731689, 0.059912499, 0.023443846, -0.0162857976, -0.0050442563, 0.01386806, -0.0330065116, -0.0527146049, 0.0039550695, -0.035143584, -0.0635522977, -0.0175807383, -0.0052573155, -0.0259183422, -0.0095070135, -0.0086094746, 0.0222087502, -0.0368311331, 0.0000366932, 0.0446677506, -0.0253004264, -0.0059064603, -0.0149625801, 0.0294403285, -0.0295753721, 0.0205175169, -0.0392298028, 0.0214476623, -0.0664983168, 0.0248976164, 0.0117997481, -0.0421277843, -0.0291555822, -0.0323667079, -0.0173510518, 0.0238591209, 0.0264778621, 0.0118245278, -0.0228306968, 0.0031788747, -0.048593536, 0.0886915177, 0.0442713611, 0.0611896925, -0.0084724277, -0.0123713454, 0.0003534642, 0.0059063234, 0.0208385773, 0.0007374206, 0.0387391075, 0.0336591266, -0.0398931094, -0.0041586407, -0.0188332982, -0.0187476818, -0.0402524173, -0.0683326423, 0.0244069137, 0.0061409585, -0.0321599357, 0.0003900191, -0.0077755647, -0.037933927, -0.0232142173, -0.0319915377, 0.0022256887, 0.0465302505, -0.006152662, -0.0295068119, -0.0242309514, 0.0214761477, -0.0025682903, 0.0048681246, 0.0359119363, 0.0083397413, 0.0157185104, -0.0349669494, -0.0262657944, -0.0037579467, 0.0249031559, 0.0693069026, 0.0013292896, 0.0001823909, -0.0308000259, 0.0240048058, -0.0312260967, 0.0406348929, 0.0135844117, 0.0084442925, -0.0704395771, -0.0164959319, -0.0084168417, -0.0189059023, -0.0319155492, -0.0292182192, -0.0608660057, -0.0006012337, 0.0359438024, -0.0095088361, -0.0078014033, -0.0473062508, 2.75e-7, 0.0089989519, 0.0501250327, -0.0216025952, 0.0245734807, 0.0457473844, 0.0380919799, 0.0214477964, 0.0264255404, 0.0191708077, -0.0280797929, 0.0142058264, 0.0380203314, 0.031851463, 0.0806740001, 0.0169437937, -0.0797589421, -0.0133305583, -0.024117237, -0.0591991022, 0.0065062083, 0.0888038799, 0.0315765105, 0.0329060592, -0.0027957582, -0.0088622794, 0.0362937227, 0.0288489498, -0.0611254498, 0.0251190607, 0.0553462729, 0.0053553609, -0.0282841045, 0.005149398, 0.0000289802, -0.0055095423, -0.0012332932, -0.041077137, 0.0701508522, -0.0636585951, -0.047438018, 0.013781419, 0.0073154639, 0.0243211333, -0.0086382618, 0.0153140761, -0.0882271752, -0.0590445437, -0.014444313, -0.0304599386, -0.0669046119, 0.0305798482, -0.0389870703, -0.0318573937, 0.0493934341, 0.0092332345, 0.0199050941, 0.0339838751, -0.059359096, 0.0158752054, 0.0232273489, -0.0594965257, -0.0384389833, -0.0096732359, -0.0027984539, -0.0135571277, -0.0561674275, 0.0516469255, 1.922737513e-34, 0.0013451467, 0.0828979313, 0.0272555072, 0.0214621313, 0.0411760211, 0.0368972383, -0.0003770267, 0.0228409879, 0.0542296618, -0.0785298944, -0.0209249612 ]
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.
e-Health CSIRO at "Discharge Me!" 2024: Generating Discharge Summary Sections with Fine-tuned Language Models: 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.0401596203, 0.0589530133, 0.016531663, -0.0342318788, -0.0030863185, 0.044228293, -0.022661157, 0.0272103883, -0.0299469605, -0.0197636932, 0.0076483823, -0.0112781813, 0.0379660614, 0.0708769187, 0.0222569574, -0.0711386576, 0.0223687328, 0.0108641321, 0.0044769929, 0.0055704303, -0.0113914507, 0.012316444, -0.0155951548, 0.0429026447, 0.051684916, -0.0009518365, -0.0144043341, 0.0330164842, 0.0180208236, -0.0499414951, 0.01732447, 0.0318944752, -0.0108347852, -0.0308999997, 0.0000021062, -0.0239628777, -0.0374339558, 0.032748241, -0.0783785209, -0.0296087023, 0.0331068747, -0.1235788614, -0.0175603535, 0.0215408187, 0.0078353798, -0.0832178369, 0.0428562462, 0.0171453543, 0.0572403371, 0.078095682, -0.0185823217, 0.0023871278, -0.0050908141, -0.0233526826, -0.0121447882, -0.0108058527, 0.0072913771, 0.0273927283, 0.0163190942, -0.0596785024, -0.0237387121, 0.0199094191, -0.0034460856, 0.0070871389, 0.0172061734, 0.0486145727, -0.0030657244, 0.0165640749, -0.0129852826, 0.0442274362, 0.0025568106, -0.0117048835, 0.0312486906, -0.0191597827, -0.0055739735, -0.0385669321, -0.0589323156, 0.0261238832, -0.042663727, 0.0205006059, 0.0363309942, 0.0145039512, 0.002706948, -0.0146466512, -0.0243662819, 0.0098953824, 0.0208531097, -0.0358011052, -0.0210544728, 0.0237070639, 0.0343370438, -0.0655483902, 0.0540950298, 0.0585669093, -0.0166124925, 0.0023087787, -0.0734440982, -0.0544730946, 0.0691381544, 0.0115636308, 0.0356423669, 0.0325480551, 0.0325105079, 0.0212488323, 0.0100320745, 0.0211655516, -0.0149306208, -0.0014923532, -0.0543686077, -0.0000113268, -0.0210718364, 0.0036977986, -0.041833844, 0.0262316372, -0.0446095094, 0.0100458004, -0.070554018, 0.0264409035, 0.0374182761, 0.0393243693, 0.0840555578, -0.0101083051, -0.0511693992, -0.0043299375, 0.0326462425, 0.0284467116, 0.0037897606, -0.0260556359, 0.005758645, -0.0454888381, 0.0053605153, 0.0015288248, 0.0086854184, 0.0113824662, -0.0106068822, 0.0489163846, -0.001951536, 0.0067265164, -0.0117387278, -0.0612704828, -0.0021822525, -0.01610744, -0.0112155452, -0.0605345629, 0.03823952, 0.0216235314, 0.0135257412, -0.0576589592, 0.0070698187, 0.0149872536, -0.0334652662, 0.0335169286, -0.0883299559, 0.0195639301, 0.0324294455, 0.0075868075, 0.0141439047, 0.0296991151, 0.0189254619, -0.0076608779, -0.0180028584, -0.0122173, 0.0295793433, 0.0409259759, 0.0049311966, -0.0358083732, 0.0130373826, 0.0011727553, 0.0176113658, 0.0167970154, 0.0129632829, 0.0659363195, -0.0366486348, 0.0264127236, 0.0055991085, 0.0398543291, 0.0284418147, -0.0164601989, 0.0448052064, -0.0042597088, -0.0030759641, -0.0183994249, 0.0077804197, 0.0104906466, 0.0416677408, 0.0117113627, 0.0245052911, 0.0258380007, -0.0440716594, -0.0553967766, -0.0446185283, -0.0460680164, -0.0134023139, -0.0181334782, 0.0512263924, 0.0181726851, -0.0804355219, 0.089859955, 0.0559542291, -0.0669616535, 0.0028711546, -0.0522591658, -0.0093106329, 0.1262512058, 0.0900351703, -0.0060041016, -0.0677419528, -0.0237708334, 0.0046043857, 0.010405506, 0.0484974086, -0.021931937, 0.0199132375, -0.0814536139, -0.032998804, 0.0233371332, 0.0106075099, 0.0048223529, 0.0015334532, 0.0061332774, -0.0024655012, -0.0267328676, -0.059680555, 0.0370723195, -0.0640820786, 0.010321348, 0.0128076505, -0.0117706666, 0.031258069, 0.0250203051, 0.0190984942, 0.0421511047, 0.0449638888, -0.0346721075, 0.0328614525, 0.0157345813, -0.0350392647, -0.0481587015, 0.0011415598, 0.0032373767, 0.0169661473, -0.0096274596, -0.0188194141, -0.0218892917, -0.0341646522, -0.0524887517, 0.0486662909, 0.0034173741, 0.0485018045, 0.0656040832, -0.0136713777, -0.0209045969, 0.0151288733, -0.0435087159, -0.0032690491, 0.0304341409, 0.0013650501, 0.0157914758, -0.0137062622, -0.0040171649, 0.0207202975, -0.045826111, 0.0039174869, -0.0077059008, 0.0338823646, -0.008795863, -0.0441998541, -0.1270496994, -0.0168746747, -0.0183839891, 0.0239172317, 0.049915038, 0.0372388698, -0.0078750495, -0.0064929859, -0.0154567314, -0.015661642, 0.0178886224, 0.0072696037, 0.0155420424, 0.0218573436, -0.0178366564, -0.0217356402, -0.0321528763, -0.0144501142, 0.0313788131, 0.0060365312, -0.0383025184, -0.0797583312, 0.0220486186, 0.0115918666, -0.0155172255, -0.0053007342, -0.0368997827, 0.0194625128, -0.0256868545, 0.0735220984, 0.0152224991, -0.0050123562, 0.0411300249, 0.0457961522, -0.0237105154, -0.0336078778, -0.0001899937, -0.0157552864, -0.0320884213, -0.0147807542, -0.0803892538, 0.0164922532, 0.0644999444, 0.0141664902, 0.0283070765, -0.0606334656, -0.046825856, -0.0252937339, 0.0039770966, 0.0016518621, -0.0143062705, -0.0221246053, 0.0424944572, 0.0013280927, -0.034845572, 0.0545823276, -0.0162490513, 0.0218486451, -0.0672030449, -0.009358407, -0.0525951795, 0.0155882044, -0.0292658079, 0.015386343, 0.048220899, -0.0604229495, 0.0454172865, 0.0259745736, -0.0292059612, -0.0619088039, 0.0352504142, -0.0267649386, 0.0008851231, -0.0079622474, -0.0396023393, -0.0344308354, -0.0016550303, -0.0095996428, -0.0049062362, 0.0091256108, 0.0110042896, -0.0758630261, 0.0566126145, -0.0273664258, 0.0648090839, 0.0090788407, -0.0136880372, -0.0068603749, 0.028045876, 0.0160469357, -0.0360603482, -0.0430239253, -0.0683895871, -0.0160825588, 0.0649677441, 0.0168761183, 0.0400831625, 0.0237023979, 0.0103788516, 0.0442027748, -0.036371503, -0.0043314174, 0.0436989479, 0.0382969193, -0.0712057278, -0.0297512487, 0.1286732107, 0.0303488001, -0.0755650401, 0.0126331905, -0.03278381, 0.0003900286, -0.0122528262, 0.019985456, -0.0376247242, -0.019122351, 0.0296555795, 0.074525997, 0.0017620609, 0.0062055937, 0.0056439117, -0.0442178994, 0.0333129503, 0.0313306078, -0.0336257592, -0.0615743734, -0.0285946485, -0.0269125625, -0.0109670665, -0.0354893245, 0.051083494, -0.0199796967, -0.0003274358, 0.0250772331, -0.0693333969, -0.0917546526, -0.0211068988, -0.0255179629, 0.0668557957, 0.0820175111, -0.0046731913, 0.0027308546, 0.000392267, 0.0287640262, -0.0251751319, -0.0129573289, -0.0223071016, 0.0696553513, -0.0022342971, 0.0010962448, -0.0207812618, 0.0339732431, -0.0348101966, -0.0376758985, -0.0132798655, 0.0435307436, -0.0265745092, -0.021732755, -0.0419471823, 0.0160605107, 0.0345370583, 0.053333845, 0.0232204683, -0.0023040345, -0.0308371112, -0.023396669, 0.047754474, -0.0293054283, 0.0422808155, 0.0124614676, -0.0365169458, -0.080870524, -0.0482040159, -0.0440211929, 0.0712090954, 0.0000251841, 0.0019075359, 0.0065002828, 0.0249865483, -0.0106978184, -0.0843791068, 0.0009479581, -0.009314782, -0.004755137, -0.1027160734, -0.084246099, 0.037199568, 0.0191852022, -0.005244439, 0.0381614827, -0.0287259948, -0.0203434788, 0.0106216446, 0.0521284007, 0.0234773122, 0.0108641908, 0.011362779, 0.0233134739, 0.0034099785, 0.0417519398, -0.0122147445, 0.0012123623, -0.0174863227, -0.0049671042, -0.0125638377, -0.0118440436, -0.0444639474, 0.0111351693, -0.0168458801, 0.0540372357, -0.0050781728, -0.0144987861, 0.0212455131, 0.0526375845, -0.0242313184, -0.0238989536, -0.0612763427, -0.0226019509, 0.0170417801, -0.0343336016, 0.0102196326, -0.0412361585, 0.0111355269, 0.0269175097, -0.0185159296, 0.016297197, 0.0465492792, -0.0508683063, -0.0036351257, -0.0424699932, 0.011667545, -0.0114474343, 0.0257823188, 0.0550987758, -0.0429498553, -0.0314861946, 0.015840061, -0.0107839964, -0.0069114324, -0.0437850133, 0.0444099829, -0.0054706731, 0.0507046767, -0.0119881304, 0.0730896443, 0.0027012185, 0.0017178784, -0.0545254275, -0.0158263464, 0.0302278697, 0.0464068353, 0.0570983216, -0.0479069911, 0.0118070422, -0.0483174957, 0.048548229, -0.0180454683, 0.0014707097, 0.0228388142, 0.0181805063, 0.0099439267, -0.0469325818, 0.0827847198, 0.0193167645, 0.0537021719, -0.0016825827, -0.0348525532, -0.0559151731, 0.0048770453, 0.0183564238, -0.0030743447, -0.0586509965, -0.0249033775, -0.0473488495, -0.0215888135, 0.0564397015, 0.018797772, -0.0068883747, 0.006315222, 0.0521021262, 0.0149936695, 0.0013085518, -0.005228518, -0.025092544, 0.04247199, 0.0212279689, -0.0316211022, 0.0135957124, -6.165767621e-33, -0.0273577143, -0.0230709612, 0.0239257365, -0.0138435829, -0.0168667752, 0.0155791705, -0.0543596298, -0.031391833, 0.0302472971, -0.0026179901, -0.0001058776, -0.0147681683, 0.023292372, 0.0385412984, 0.0098322257, -0.0079175727, 0.0438341461, 0.0126566114, -0.043857798, 0.0268596467, -0.0089866268, 0.0450015366, 0.0297387131, -0.0325089134, 0.0017401525, -0.0163966883, 0.009899566, -0.0355120897, 0.0049427832, 0.0671405345, -0.0316250362, 0.0145447915, 0.0468049832, 0.0030441356, -0.0399510413, 0.0278799385, -0.1088434383, 0.0059817755, -0.0012573731, -0.0179743841, -0.0437306315, -0.0728935227, 0.0351941623, -0.0006212899, -0.022625966, -0.0204283576, 0.0046584383, -0.0303908642, -0.0252875127, -0.0417359322, -0.020673519, 0.0475373454, -0.0001756664, -0.0186563544, 0.0175769739, 0.0067097726, -0.0229965113, 0.0119763352, 0.006745806, 0.0318284594, 0.0538841188, 0.0583517775, 0.0309372228, -0.0509342812, -0.0126978103, 0.0185761824, -0.0070773456, 0.016408667, -0.0266969297, 0.024133157, -0.0345439091, 0.0305944607, 0.0118312771, -0.015042848, 0.0337638743, -0.0274779424, -0.063701652, 0.0664295554, -0.0560602061, 0.0532483496, 0.0203617178, 0.0143741118, -0.0260049161, -0.0314025097, -0.0092555713, -0.0219072253, -0.0112886252, -0.0068903416, 0.0450922288, 0.0131764384, -0.0230029169, -0.0144390017, 0.004125163, 0.0160260946, 0.0448416136, 0.0449709184, 0.0487902649, 0.0345671959, -0.0547421351, -0.0064024916, -0.0344805717, -0.0195663068, 0.0506606251, -0.0332020447, 0.0224345755, 0.0399492569, -0.0061277817, 0.0212088004, -0.0625983328, 0.0085487291, 0.0177268814, 0.0210140403, -0.0054288553, 0.0362049416, 0.0454008207, 0.0019286542, 0.007536985, 0.0525186546, -0.0096119819, -0.0332945921, -0.0485279374, -0.0159553196, 0.0600093082, 0.0237465426, -0.0338278376, 0.0035039489, -0.060635332, 0.0525997952, 0.0464953296, 0.0115659963, -0.006767428, 0.0451770835, 2.749e-7, 0.0746449754, 0.0506113395, 0.0692330897, -0.0027667345, 0.0191916917, -0.0247550216, -0.0266814921, 0.0018218576, -0.0157769937, 0.0050030821, 0.0399769805, -0.0240208786, 0.0679403767, 0.0290176235, -0.0629344732, -0.0103010442, -0.0384841897, -0.0325466879, -0.0339357518, -0.0283495951, 0.0471967645, 0.038993068, -0.0447675847, -0.0174491163, 0.001887912, 0.028706681, 0.0091671525, -0.0032936153, -0.0021742319, 0.0483922921, -0.0074002524, -0.0192435812, -0.0079158228, -0.0019949786, -0.0207728054, -0.0419043377, -0.0017242752, 0.1363237947, -0.0347688459, 0.0287159123, 0.0636731833, -0.0171874724, -0.0228257868, 0.0084635634, 0.0376979373, -0.0293242112, -0.014990638, 0.0174575653, -0.0722140074, 0.0085305702, 0.0068013831, -0.0216504503, -0.0279774107, 0.0495007522, 0.0167702455, 0.0155652892, -0.043466948, -0.0502797961, -0.0155411698, -0.0074644838, -0.0287262239, -0.0343601927, 0.0251299199, -0.016740486, -0.0041794176, -0.0763401464, 0.0041132206, 3.012362231e-34, 0.0549643375, -0.0014908419, -0.0031782023, 0.0495610386, 0.0218743775, -0.0393938124, -0.0146251451, 0.0479776151, -0.006517054, -0.0762434825, -0.0301342551 ]
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.
Boosting Biomedical Concept Extraction by Rule-Based Data Augmentation: 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.0486884005, 0.0198221616, -0.0001941474, -0.0437238365, -0.0009688961, 0.0386314057, -0.0089826202, 0.0276437029, -0.0666587129, -0.0422462374, -0.0345277637, 0.0163109563, -0.0020686002, 0.0419992954, 0.0034623062, -0.0190232191, 0.0362829566, 0.0247144997, 0.0351473689, 0.0391435064, -0.0131157441, -0.0235748831, 0.0033704715, 0.00522026, 0.0403774679, -0.0117320996, 0.0396261439, -0.0545243137, 0.0432887077, -0.0840123147, 0.0186721794, 0.0333023481, -0.0178468805, 0.0309007932, 0.0000016021, -0.0510481335, -0.0397256576, 0.0618290082, -0.003559947, -0.0045400197, 0.0590308532, -0.0724916533, 0.0216407534, -0.0306340903, -0.0196197145, -0.0883362368, 0.0723656192, 0.0413654782, 0.010070431, 0.0453275442, -0.0052121161, -0.0330481902, 0.0642317832, -0.0038686411, 0.0273633618, -0.0097432854, 0.0805447847, 0.0247401018, 0.0258726683, -0.002378037, 0.0459673554, 0.0193915423, -0.0424764529, -0.0012527716, 0.0754399523, 0.0560749061, -0.0081182932, -0.0305974055, 0.0020865689, 0.0813910514, -0.0083141765, -0.0349650308, 0.0319373645, -0.0172535628, -0.0163842812, 0.0590305626, -0.0341590308, -0.0084042521, -0.0356160998, -0.0166204087, 0.046230793, 0.0082075763, 0.0408744402, 0.0222478304, -0.0288823266, 0.0467827097, -0.0114796618, -0.0276108198, 0.0321502648, 0.0037926475, -0.0337563269, -0.0074759373, 0.0366023779, 0.0142551316, 0.0509468019, 0.020188475, 0.0144817624, -0.0922513157, 0.0650702864, -0.0699407011, 0.0240665693, -0.0043034609, -0.0225352589, 0.0633573309, -0.0242299475, -0.0602876469, -0.0132009974, 0.0575749949, -0.0293819774, 0.0137437712, -0.0719963387, 0.0032808222, -0.0139935398, 0.0598291606, -0.0032229647, -0.001312812, -0.05940165, -0.0077627022, -0.0111019313, -0.030889146, -0.0131169455, -0.0277867913, -0.058148548, -0.0046126423, 0.0068928539, 0.010228782, -0.000296242, 0.0290804207, -0.0182921141, -0.0427855067, -0.0245257188, -0.0328703448, 0.0039821882, -0.01902592, 0.0166252181, 0.040358711, 0.0218084063, -0.0840716586, -0.0025007084, -0.0158111416, 0.0164893102, -0.032381054, 0.0127649056, -0.0545300245, 0.0326784961, 0.0074522723, -0.0080852667, -0.0036948144, 0.0083720041, -0.0244161859, -0.0350883268, 0.0783138126, -0.0944950804, -0.0334785059, 0.0200732481, 0.0441369824, -0.0451244488, 0.0270612538, 0.0012790319, -0.0444417708, 0.011624991, -0.0259512179, 0.0213734657, -0.0349868797, 0.0205082633, -0.0647666231, 0.0387837552, 0.0122338366, 0.0247362573, 0.0483499467, 0.0160918999, -0.0077636326, -0.0426637307, 0.0239488129, -0.0182197616, 0.0470722914, 0.0327169113, 0.0073448676, 0.0029038573, -0.0295906011, 0.0360939354, -0.0488648117, -0.0130139142, -0.0381002575, -0.0059210337, 0.0400749631, -0.0330585875, 0.0372802801, 0.0173804704, -0.0175692923, -0.0058231796, 0.0010969795, -0.0396581069, -0.0272870958, 0.0495049097, -0.0017735875, 0.037633352, 0.0159217361, 0.0725511312, 0.0013745812, 0.0292327981, -0.0056712832, -0.0118086683, 0.0032386268, 0.044226896, -0.0912750512, -0.0624224693, -0.0242331177, 0.006408365, 0.0191058442, -0.0131930029, -0.0276318267, 0.0310916733, -0.030790735, -0.0098870257, 0.0241153818, 0.030938413, -0.0115531152, 0.0087686805, -0.004393803, -0.0289223269, -0.0831522718, -0.0220822264, 0.0553446598, -0.0412090495, -0.0235001482, -0.0123720309, -0.0475532115, 0.0422364324, -0.0073392666, -0.023103606, 0.0185113586, 0.0672441497, -0.0504474752, -0.0107645402, -0.0138823818, 0.012459944, -0.0291126929, 0.055305399, -0.0479560532, -0.0028646465, -0.0314149261, -0.0498615541, -0.0145589393, -0.0426310413, 0.0273089353, 0.0481046438, -0.0277223047, 0.0304487888, -0.0020497777, 0.0217570979, -0.0629119724, 0.0249133352, -0.0114150718, -0.0070649027, 0.02080811, -0.0854716524, -0.0123504493, 0.059358526, -0.0115315523, 0.0437250771, 0.015697889, -0.0240036286, -0.0257804599, -0.0283489134, -0.042279657, 0.0095463581, -0.0377486348, 0.0151755484, 0.0584813878, 0.0383062623, 0.0249273609, 0.0215478744, -0.013655806, -0.0252637062, -0.0085209832, -0.0189693514, -0.020342635, 0.0038929586, 0.0484889597, 0.0566239543, 0.0100685693, -0.0493549407, -0.0030006876, -0.0243228544, 0.0112263355, 0.0212018602, -0.0212903582, 0.0073706638, 0.0001055556, -0.0013484145, 0.0077868281, -0.0011229713, 0.0099755442, -0.0238362756, 0.004864444, -0.0295950212, 0.0020558829, 0.005002859, 0.0151577853, 0.0530298725, 0.0243627038, -0.0269884542, -0.0087991785, -0.0481534861, 0.0411746465, 0.0186030529, 0.0121392282, 0.0454177633, 0.0501732677, -0.0133918142, -0.0103095826, 0.007369935, 0.0140379453, 0.0083272466, -0.0166170113, -0.028272802, 0.035241656, -0.0317890346, 0.0273331739, -0.0000970738, -0.0536881164, 0.1256523132, 0.0034263346, 0.0096571203, -0.0614910461, 0.0125738326, -0.0159581508, -0.0259521268, 0.007543379, -0.0007343986, 0.0331467986, -0.0129348719, 0.0303055514, 0.0013196153, 0.0211164877, -0.0460128151, 0.0372315459, -0.0354109146, 0.0241253562, -0.006729858, -0.0037993027, -0.0288978443, 0.02533493, 0.0009592576, 0.0089932214, 0.0113546718, 0.00994635, -0.0377970077, 0.0405633487, -0.0071470067, 0.0461162105, 0.0062159658, -0.0190697405, -0.0179780889, -0.0143106477, 0.055072464, -0.0015885786, -0.0044089425, 0.0221718624, 0.0169668514, 0.0518435612, -0.0456692055, -0.0053423592, 0.0182285793, 0.0000911123, 0.0254521295, -0.0665399209, 0.0164534543, -0.0031118849, -0.019364344, -0.0330830291, -0.0005631859, 0.0821942016, 0.0470432304, -0.0645947084, -0.0007604909, -0.0279197842, -0.0042528887, -0.0300135277, 0.0229703225, -0.0715842694, -0.0124768056, -0.0236754827, 0.0072833621, -0.019153608, -0.0439755768, 0.0018612592, -0.0279389527, 0.0176300835, 0.002733944, -0.0880250409, -0.0369503126, -0.0753120109, 0.0319937728, -0.0354389958, -0.0297973063, -0.0028224615, -0.0255331174, 0.006508627, 0.031959448, -0.0515964963, -0.1232716143, 0.004856389, -0.0248311311, 0.0722048357, 0.027740052, 0.0062863315, -0.0198989306, 0.016207451, 0.0232208092, -0.0430123433, -0.0349889398, -0.0237500109, 0.0890430063, -0.0285494849, 0.0260048453, -0.0086181248, 0.0319328904, -0.0277502108, -0.0505776703, 0.0039780252, 0.0884118676, -0.0071202461, -0.0060826633, -0.0519874729, -0.0060430341, 0.0027329419, 0.0462363362, 0.0047828541, 0.0051448885, -0.0017126458, 0.0365916528, 0.0493921563, -0.0042989734, 0.0187991802, 0.0186143089, -0.0940755233, -0.0307540353, -0.0588912927, -0.0258400906, 0.0534769408, 0.0022800032, 0.0482960194, 0.0537875965, 0.0216062833, -0.0101334695, -0.0592533387, 0.0479850397, 0.0225264076, -0.0329252183, -0.044629965, -0.0871058777, 0.0493493192, -0.0017534855, -0.0108230915, 0.036770951, 0.0121010514, -0.0356707238, 0.0145191327, 0.016398536, 0.0176350381, 0.0221737009, -0.0095143504, -0.0164531115, 0.0979314223, 0.0345933177, -0.0445537604, -0.0504554696, 0.0408132784, -0.0424095243, -0.0158521663, -0.0164871924, -0.0240254756, 0.071510829, 0.0230237022, 0.0202987734, -0.0181795433, 0.0273150075, 0.0652470887, 0.0340989754, 0.1042583138, -0.0393408015, -0.0177472755, -0.0557709634, -0.0115906708, -0.0117184995, 0.0269202534, -0.0134387324, 0.0074416446, 0.0608986057, -0.0017332676, -0.0113732498, 0.0084337993, -0.0741486549, -0.0127974879, 0.0212395731, 0.0298722852, 0.0202885047, 0.0326426215, 0.0335341655, -0.0222137272, 0.0023629011, -0.006813373, -0.0204787254, -0.023223659, -0.0396727547, 0.0021672978, 0.0136477761, 0.0180063583, -0.0300980154, 0.0395817012, -0.0723395124, 0.0449585468, -0.0191973988, 0.0106028477, 0.0127677219, -0.0041536582, 0.0336558297, -0.0197497606, -0.0225368422, -0.0200333633, 0.0199167896, -0.0489811338, 0.0642049313, 0.0616439134, 0.0171473399, -0.0204955041, -0.0532369986, 0.0552354343, 0.0032324847, 0.0709248111, 0.0023750071, -0.0454136468, -0.0176457856, 0.0086792447, -0.0062673297, 0.0365432687, -0.0572813526, -0.0044214441, -0.0531967282, 0.0134118656, 0.0387793109, 0.0108639607, -0.0395297781, 0.0194650628, 0.0311657041, 0.0332262069, 0.0221435316, -0.0710016936, -0.0358214229, 0.0466813706, -0.0007759702, -0.0200966466, 0.0266888924, -5.688284755e-33, -0.0210712478, -0.0111775454, 0.0180879235, 0.0560716987, -0.0078217359, 0.0134806754, -0.0104618063, -0.0158284139, 0.0112493271, 0.0511095747, -0.0047709877, 0.0036922309, 0.0105683804, -0.0126707526, 0.0044290433, 0.0074704778, 0.0138300974, 0.0303074475, -0.0219214428, 0.0039694584, 0.0049219602, 0.0620370619, 0.07287357, -0.0627029464, 0.0040278705, 0.0699986219, 0.0304181837, -0.0548297837, 0.0243295617, 0.0617977343, -0.0336971655, 0.0557370633, 0.0271790251, -0.0062961457, -0.0200420972, -0.0259056296, -0.1009799317, -0.0186921917, 0.0363595411, -0.0209443215, 0.0065200892, -0.0420041941, 0.0485871322, -0.0157438107, -0.0074758115, -0.0042629479, 0.0470275804, -0.0491835326, -0.073891744, -0.0047658519, -0.0740945116, 0.0555792637, 0.0267288145, 0.0515879542, 0.0345222689, -0.0328712128, -0.0180285834, 0.0371948779, -0.0235066302, 0.017908683, 0.0660923272, 0.0402053334, -0.0089551127, 0.0283597894, 0.0217399765, 0.057462316, 0.0020589663, -0.0308557115, 0.0308355112, 0.052654922, -0.0092311576, 0.0257071871, -0.0154518625, 0.0479061194, 0.0812300518, -0.0043886472, -0.0389241353, 0.0410065912, -0.0473164991, 0.0164076686, -0.0076759276, -0.0159332659, -0.0196989272, 0.0106702521, -0.00943809, -0.0105113676, -0.0064973291, -0.0397787914, 0.0194122698, -0.0201635286, -0.0235223807, 0.0405527093, 0.0014969942, -0.0087232077, -0.0217535887, -0.0242278725, 0.037407022, 0.0043916241, -0.0326940455, -0.0247421563, -0.0888354555, -0.0669241175, 0.0403735191, -0.0208405741, 0.0383426324, -0.0280894395, 0.0314397663, -0.040510945, -0.0229792427, -0.0232217629, -0.0047680004, -0.0290677901, 0.004199659, 0.0164182372, -0.0088785309, 0.0346373953, 0.0071611772, 0.0067659873, 0.0469743088, 0.0122044981, -0.0118483808, -0.020012239, 0.0113460468, 0.0234000795, -0.0073430701, -0.0028286497, -0.0125639895, 0.0044612898, 0.0400166251, -0.0468964651, 0.0117846038, -0.0025628039, 2.524e-7, 0.118729651, 0.050990954, -0.0022589371, -0.0446007326, 0.0180675574, -0.0140278917, -0.0126874624, -0.0120076155, 0.0024168596, 0.0114838788, 0.0306822062, 0.0015870511, -0.0348328091, 0.0254747868, -0.0292592384, -0.0613749363, -0.0240525752, -0.0411657915, -0.0167345628, -0.0212612338, 0.0176421106, 0.0698571503, -0.0159448534, -0.0190826934, -0.0150444927, -0.0122008435, 0.0167075302, -0.0429302156, -0.0060080462, 0.0823235884, 0.0268578138, 0.0019052608, 0.0150822559, 0.0518581495, -0.0277166776, 0.0068157711, 0.0020577635, 0.0459145941, -0.0271927007, 0.0610841513, 0.0104361624, -0.0036830015, 0.0474476255, -0.0253947787, 0.0062087248, -0.0799457356, -0.0427705571, -0.0402043015, -0.0405919477, 0.0233743638, 0.0271417908, -0.0250534173, -0.0241724513, 0.0382066853, 0.0085186977, 0.0287413727, -0.0497538932, -0.0727016702, -0.0008770847, 0.0440730006, -0.0014712766, -0.0388341621, 0.0160415396, -0.0598470159, 0.0094619244, -0.0905513018, -0.005302561, 1.884602249e-34, 0.011149426, -0.0310526453, -0.0141778802, 0.0477758944, -0.0016017704, -0.0252563339, -0.0087978356, 0.024912538, -0.0317916609, -0.0758640245, 0.0366765745 ]
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.
LLM-Select: Feature Selection with Large Language Models: 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.0054469546, 0.0922346786, -0.0030134716, 0.0202986952, -0.0202003978, 0.036626745, 0.0286784396, 0.0457426421, 0.0477601923, -0.0094761727, 0.0077263555, -0.0436688066, -0.0138150044, 0.026621554, 0.0085081356, -0.0486570634, 0.0008710162, -0.0309206415, 0.0031257521, -0.0201190226, -0.0315312743, 0.0366649069, 0.0204234309, 0.0473952219, 0.0140412804, 0.0316657387, 0.0118869692, -0.0165692084, -0.0129471971, -0.0493845046, -0.0065020248, 0.0429746062, 0.0106063783, -0.0158052091, 0.0000020955, -0.060338378, -0.0243570898, 0.0156484041, -0.0259417649, -0.0489644259, -0.006359952, -0.0655277744, 0.0159929562, -0.0057074218, -0.0180238932, -0.0361088924, 0.0447798707, 0.0586536638, 0.0002594427, 0.0503935963, -0.0192139037, -0.0026014242, 0.0054090382, -0.0615580492, 0.0424636938, -0.0378234498, 0.0319497846, -0.0436820202, -0.0024843586, 0.0140282148, 0.0022031644, 0.0077653779, -0.0080449739, 0.0305446796, 0.0060556722, 0.0675553456, -0.0462907366, -0.0111731198, 0.0023012243, 0.0426456071, -0.0476653799, 0.0032185744, 0.0442486666, -0.0083352588, -0.0137491049, 0.0286596231, -0.0503488556, -0.0234611016, 0.0039034451, 0.0270568896, -0.0040006456, -0.0234976262, 0.0510383993, 0.0269894302, -0.0275414903, 0.0468006358, 0.0185668729, -0.0066066054, 0.0810753927, 0.0164152682, -0.0429278016, -0.0257642213, -0.0314435437, -0.0038700167, -0.0458958186, 0.0028590434, 0.001616694, 0.0143787535, 0.0490265302, -0.0378883928, -0.004525336, 0.0115120998, -0.0034542326, 0.067544885, -0.0274799615, 0.0171104968, 0.0080021285, -0.0088348277, -0.023591768, -0.0069890055, -0.0372761376, 0.0106319254, 0.0310899243, 0.0558326766, 0.0147157544, 0.0162501689, -0.0548142605, -0.0131841507, 0.0010906516, 0.0118617024, 0.0255583338, 0.0251807477, -0.024042299, -0.0165921263, -0.0292606335, -0.0136673618, 0.0131625831, 0.0159238018, -0.0565356091, -0.0496026129, 0.0021910451, 0.02369247, -0.0185400043, -0.0458542667, 0.0223990604, 0.0807535201, 0.0057732579, -0.0482246205, -0.0272263996, -0.0264701918, -0.0249363743, -0.0386165008, 0.0064189751, -0.0600994974, -0.0021349122, 0.0307128038, 0.0339411683, -0.0546611883, 0.0357826129, -0.0146614481, -0.0378126241, 0.0569698885, 0.0082760975, -0.0073414608, 0.0021863817, -0.007909351, 0.0006463107, 0.0552403815, 0.0183309559, 0.0491358079, -0.0000561758, -0.0110561941, 0.0195123069, 0.036330685, -0.0198788382, 0.0231700856, -0.0159950014, 0.0039873528, 0.0460837185, 0.0451638214, 0.0042482731, 0.0149383359, 0.0156657826, -0.0316423737, 0.0592230111, 0.0902930945, 0.0435227565, 0.0310285278, -0.0088052666, -0.0058014919, -0.0251484513, -0.0338960439, -0.0157349985, 0.0077709169, -0.0297205709, -0.0045200642, 0.002888245, -0.0001493541, -0.0204477496, -0.0317521431, -0.0275519863, -0.013452502, -0.0352164172, 0.0448443666, 0.0524088219, -0.0527184866, -0.0213286132, 0.0626747981, 0.0444577336, -0.0186136197, -0.0489685573, -0.0661905035, 0.012328079, 0.0513998866, 0.0295082238, -0.0482267588, -0.0109052118, -0.0122859562, 0.0215746108, -0.0101123275, 0.023572892, 0.0135013601, 0.0382544249, -0.0241608098, -0.0280703977, 0.0427513123, 0.0293317325, 0.0008845029, -0.0239753351, 0.0517508313, -0.0051901448, -0.0014866055, -0.062621288, 0.0393489711, -0.044056844, -0.0506962389, 0.0532804243, 0.008952002, 0.043517556, -0.0246674232, -0.0273473542, 0.0013698523, 0.0224144552, -0.0564337596, -0.0039006192, -0.0205111746, -0.0074312771, -0.0172128603, 0.0084151644, -0.024963323, 0.0232958347, -0.0084303292, -0.0438621826, -0.0121445963, -0.0329535045, -0.0359132141, 0.0221323706, -0.0466425829, -0.0105455145, -0.0064069186, -0.0120065575, -0.0485041775, 0.0345480293, -0.0151885981, -0.0091537926, 0.0019034042, -0.0591356196, 0.0139200194, -0.0291983951, -0.0138808582, 0.0863574445, 0.0487520844, 0.0033319646, 0.0158219393, 0.0179307107, -0.0075261118, -0.0319205858, -0.1186834127, 0.019514529, -0.0217221882, -0.0087515134, -0.0211081505, 0.0100067314, -0.0216493141, -0.030968789, -0.0423891954, -0.0227063037, 0.0151115926, 0.015940953, 0.0169345886, 0.0203668717, 0.0156784281, -0.0340288728, -0.0134876082, 0.0040754154, 0.0635579675, 0.0300781876, -0.013145105, 0.0179134477, 0.0417436846, -0.0335130356, -0.0328524746, -0.0148910256, -0.0067436607, -0.0269562919, -0.0656422675, -0.0724523589, 0.0327793881, 0.0002504135, 0.0001922547, 0.0718886107, 0.0104751159, -0.0188319553, 0.0131358374, -0.0610707365, -0.0183096733, -0.0139676547, -0.0366846286, 0.0278676208, 0.0323498473, 0.0318225212, 0.0068633975, -0.0393042192, 0.0224200301, -0.0063414485, 0.0112277418, -0.0796784386, 0.0489011742, -0.0282000378, 0.0604696199, 0.0011172415, -0.0850706398, 0.0807229206, -0.0078800209, 0.0213247873, -0.0457000546, -0.0082997419, -0.0694041178, 0.0419303067, -0.0103566125, 0.0029589795, -0.0056235334, -0.0074768015, -0.0050143264, 0.0057914853, -0.0004296771, -0.0545450673, 0.0939339101, -0.0498956814, 0.0400271192, 0.0379070938, -0.0592109077, -0.0331281424, -0.022370277, -0.0453585573, 0.0113990409, 0.0073533212, 0.0025680463, -0.0119837625, -0.0166269206, 0.0012778923, 0.0492273085, -0.0155603169, -0.002379389, 0.02041067, -0.0284539051, 0.0560100526, 0.0220982116, -0.0048448625, -0.0312470384, 0.0380313583, 0.0233774725, 0.0163121242, 0.0067620832, 0.0138909491, 0.0259634927, 0.0228247829, -0.0389756672, -0.0228305366, 0.0153479856, 0.0244012326, -0.0579036623, 0.0429770723, 0.1256953776, 0.0104444744, -0.0905343741, 0.0004112667, 0.001726458, 0.0461116247, -0.0060316152, 0.0238630287, -0.040854197, -0.0434720702, 0.0140854381, 0.0550935045, -0.0048597474, -0.0465907268, 0.0201746412, -0.0565348156, 0.0690633878, 0.0267491471, -0.0160523765, -0.0064338045, -0.0754513666, 0.0291495845, -0.0563514903, -0.0044058659, -0.0195476692, -0.0383513272, -0.0178700723, -0.0042702528, -0.0454695038, -0.0537526309, 0.0429996774, 0.0051964079, -0.0246904381, 0.0934322178, 0.0354823507, -0.0307851397, -0.0090447711, -0.0067156604, 0.0225254856, 0.0106209377, -0.0435650125, 0.0873852, 0.0283752512, -0.0254763775, -0.0169274341, 0.047966864, -0.0171027314, 0.0242597573, 0.0214878637, 0.0889933854, -0.0497928336, -0.0413555019, 0.0173814762, -0.0250154063, 0.0153120589, 0.0588962622, -0.0055843936, -0.0460272804, -0.0354020894, -0.0373374745, -0.0058456943, 0.0203154031, -0.0920044333, -0.0026579162, -0.0160531383, -0.0238428563, -0.0425608866, -0.0188553277, 0.0967478082, -0.0173383579, 0.0149478354, 0.0599967726, 0.0017697775, 0.0139736962, -0.0190306008, 0.0455491804, 0.0141553944, 0.0228960458, -0.0568442456, -0.0234431028, 0.0614887513, -0.0444129147, -0.0162755195, -0.0116351275, -0.05451186, -0.0376465954, -0.0256905388, 0.048262693, 0.0175679065, 0.0103822546, 0.0061269589, -0.0576609522, 0.0564107373, 0.0518606976, -0.0131051736, -0.0028349364, 0.0005665367, -0.0389857627, -0.0154056456, 0.0335790515, -0.0113911051, 0.020494625, 0.0091097653, -0.0355426483, -0.0034075978, -0.0314636566, 0.0007872015, 0.0451821201, 0.0500705205, -0.0224672314, -0.0048109693, -0.0285383109, 0.0271606147, 0.0513555668, 0.01642262, -0.0384567417, 0.0394887179, 0.0135059403, -0.0082606049, -0.0072809625, -0.0092683937, -0.028866075, -0.0278724078, -0.0660648122, 0.039654538, -0.0191633441, -0.0140821366, 0.084392719, 0.0001070802, -0.0026515324, 0.0313519202, 0.0331484415, 0.0408158377, -0.0035354064, 0.0265868865, -0.0026963921, 0.0236695576, -0.0231251139, -0.0001401406, -0.0430230498, -0.1012572795, -0.0243660565, 0.0294020306, 0.0571039766, -0.0537607223, 0.0634677634, -0.0389773697, -0.0073045534, -0.0737097263, 0.0070753763, -0.0067279758, 0.0352047607, 0.0063781901, 0.0169787984, -0.0508203283, 0.0037908605, 0.1010329649, 0.0343687832, 0.0399955101, 0.0347436145, -0.0341585763, -0.0292564817, -0.0145112118, 0.060992483, 0.0008996485, -0.0414634421, 0.0207932089, -0.0494508967, -0.0328739733, 0.0501801409, -0.0655139089, -0.05026301, -0.0414994806, 0.050858885, 0.0440941826, -0.0179439485, 0.0100958673, -0.0465279222, -0.0030047412, -0.0402139276, -0.0365207307, -0.0122346124, -6.18925106e-33, 0.0355501138, -0.0163010918, -0.0058394894, 0.0228444953, 0.0176623277, 0.0128811039, -0.0253729522, 0.0097560938, 0.0195371993, 0.0295641795, -0.0254686419, -0.0292197932, -0.0049772579, 0.0175355766, 0.0448122248, -0.0456408262, 0.0445409343, 0.0093374262, -0.0095856991, 0.039958775, 0.0093281157, 0.0328064561, 0.0474968255, -0.0673239678, -0.0081365258, 0.0227068588, 0.0216421802, 0.0119668683, -0.0163852312, 0.0514343269, -0.0154094649, 0.0398859158, 0.02626127, -0.0515821949, -0.0111883134, -0.0414594784, 0.0107178949, -0.0296813939, 0.0020486659, -0.0282680113, -0.001682348, -0.0344915129, 0.0336249657, 0.0014138566, -0.0391416252, -0.0266439877, 0.0124303624, -0.0531171784, -0.064903073, -0.0475761592, -0.0047192723, 0.0515420176, 0.0031238284, 0.0147203337, 0.0480828509, 0.0106290067, -0.0310028009, 0.031467244, 0.0053491327, 0.0030570263, 0.0596175194, 0.0505791828, 0.0165488273, 0.0065339576, 0.0038913062, 0.0907348469, 0.0027735834, -0.0272961278, -0.0104548903, 0.0208580997, -0.0186451469, 0.0788107887, 0.0363388732, 0.0194414444, 0.028315939, -0.0292528477, -0.0966162235, 0.0307320058, -0.013229752, 0.009637665, 0.02245274, -0.0148389684, -0.0302028935, -0.0324445739, -0.0447755307, 0.020434536, -0.0262074564, -0.0438513607, 0.005070616, 0.0229759198, -0.0058331932, 0.0168021023, 0.0241104737, -0.0146639133, -0.0338261873, 0.0277411006, -0.0230050106, -0.0271371696, 0.0234748162, 0.0085721603, -0.0314914808, -0.0015034457, -0.0225139577, -0.0470199324, 0.0240941755, -0.0102162324, 0.0006704458, 0.0052073286, -0.0437027551, -0.007944921, -0.0018769265, -0.0105175814, -0.0030111959, 0.0377232879, 0.0330451652, -0.0001193427, 0.0264263675, 0.0675916597, -0.0139865037, -0.0130577441, -0.0576708838, -0.0018477652, 0.0087898951, 0.0041885884, -0.0352253094, -0.0001070728, -0.0251795538, -0.019199932, 0.0590390563, -0.0234002825, -0.0245364401, -0.0088214763, 2.774e-7, 0.0254267175, 0.0733994544, -0.0731145963, -0.0149943046, 0.0145700769, 0.036163386, -0.024181867, 0.0198579896, 0.0117796212, -0.0141953453, 0.0393246338, 0.0152917719, 0.0873304456, 0.0512792394, -0.1180769354, 0.0147135966, -0.0185640138, -0.0249430817, -0.0751156583, -0.049913317, 0.042634327, 0.1217371225, -0.0186765809, -0.0254939049, 0.0485150926, -0.0201422647, 0.0459997319, -0.0680328906, -0.0267090742, 0.0125560118, 0.0357289463, 0.0261941496, -0.0185135528, 0.014332436, -0.0239220764, -0.0036758617, -0.0033310687, 0.1071421653, -0.0036394745, -0.0291846506, 0.0125963381, 0.0473124795, 0.0334813818, -0.0117769996, 0.11054755, -0.0010466832, -0.0246469527, -0.0316074081, 0.0531779826, -0.0392222852, 0.0636627898, -0.0456812382, -0.0067193243, 0.0417292193, 0.0102696735, -0.0294986833, -0.0004264885, -0.0198157467, -0.009328586, 0.0409251302, -0.0797249898, -0.0463647991, -0.0261263289, 0.0195691921, 0.0033912086, -0.0398631841, 0.0396200866, 2.622744169e-34, 0.025013905, 0.0080628823, 0.004937571, 0.0408134758, 0.0075725275, 0.0019599365, 0.0281117409, 0.0187289249, -0.0037117433, -0.0814729035, 0.0094162934 ]
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.
Reasoning in Large Language Models: A Geometric Perspective: 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.0158196241, 0.0018854336, -0.0189044904, 0.0635381043, -0.0534993634, 0.0185038857, 0.0258871801, -0.0063462271, 0.0445954353, -0.0396115892, -0.0080369776, -0.0296832733, -0.0226164982, 0.031787701, 0.0500289798, -0.0437665209, -0.0060987282, -0.0863573253, 0.0011115334, -0.032810308, -0.018739501, -0.0146244504, 0.0034525644, 0.0497331731, -0.0270690247, -0.0278876107, -0.0031218675, -0.0017588801, -0.0157584827, -0.0353463888, -0.0734554902, -0.0139407404, 0.0312573798, 0.0262245573, 0.0000018169, -0.0513829924, 0.0118407691, 0.0068170885, -0.0453977697, 0.0037940594, -0.0125932815, -0.02189379, -0.0040537831, 0.0143784489, -0.0116956644, -0.0110955117, 0.0386225097, 0.0429390371, 0.0390243307, 0.0754012316, -0.0055133756, -0.0622108206, 0.0026857045, -0.0160404239, -0.0092220614, -0.0415332951, 0.0439928509, 0.0318895057, 0.02708726, 0.0042272252, -0.0078617092, 0.044234965, 0.0258641262, -0.0112527069, 0.0251279529, 0.0568495616, -0.0005860176, 0.0026339157, 0.0071182717, 0.0568618849, -0.0233457126, -0.0077340794, -0.0134698553, -0.0072751539, 0.0069439909, 0.0390314683, -0.0622892268, 0.0350683555, -0.0081000756, 0.0284085833, -0.0163203683, 0.014342404, 0.0444941409, -0.0264867861, -0.0787686557, 0.1074538305, 0.004096657, -0.024037296, -0.0101461168, -0.011250101, 0.01022158, -0.0428887308, -0.0042522885, 0.0855245292, 0.0320463032, 0.023395095, 0.0047834683, 0.030846497, -0.0144384187, -0.0939844772, 0.0805579573, 0.0087496759, 0.0282906815, 0.0894193277, -0.0510603227, 0.0646520257, -0.0516466834, 0.037881799, -0.0390306525, 0.0146201476, -0.0093154833, -0.0024819139, -0.0492166579, 0.0269820914, -0.0131110055, -0.0382245816, -0.0012931998, 0.0592422001, 0.0065228194, 0.0251528937, -0.0266977251, -0.001602495, 0.0283671115, -0.0741481557, -0.0279552341, -0.0020654486, -0.0314034559, -0.0257466398, -0.0403128117, -0.0319075622, -0.0149547169, 0.0139593333, 0.0205160771, -0.0246003438, -0.0075912112, 0.0921810195, 0.0490571782, -0.0209952388, -0.0330486037, -0.0057915905, -0.0371385887, -0.0872726515, 0.0012659673, -0.0560716949, -0.0017128726, 0.0136597659, -0.0322549082, -0.0480687357, 0.0106753325, -0.0112938108, -0.0490612201, 0.0513568744, 0.0421102904, 0.0596228763, 0.0228618849, -0.0291205794, -0.0030318485, 0.065568164, 0.0340888463, 0.0247793905, 0.0207515415, -0.0289575551, 0.04045761, 0.0148135955, 0.0000048029, 0.0174190905, -0.076785855, 0.0161643643, -0.0180899762, 0.0394434184, 0.0027550177, 0.0607488565, -0.0137829222, -0.0424486808, 0.0533808395, 0.0624120757, 0.0368786566, 0.0179269817, 0.0474298149, -0.0084436228, 0.0009430496, 0.0139397867, -0.0648638308, 0.0452612787, -0.0030110318, 0.0123462584, 0.0268808752, 0.0048002573, -0.0246826615, -0.0539099835, -0.0675355345, 0.026397055, 0.0047393017, 0.0242790598, 0.0711805969, -0.0102590499, -0.0086599514, 0.0246796068, 0.0079791965, -0.0280854553, -0.0147060398, -0.0446193218, 0.0134679871, 0.045722656, 0.0230907295, -0.0353753231, -0.0132812867, 0.0226607621, -0.0251465887, 0.0291320253, 0.0312448759, 0.0169265755, -0.0088864714, -0.0032162296, 0.0026061374, -0.0334519036, 0.0013111001, 0.0332650952, 0.001925239, -0.0303697847, -0.0072922888, -0.051483646, -0.0440284796, 0.0277095716, -0.0065327655, -0.0216534529, -0.0047125807, 0.0437567532, 0.0105106933, 0.0113737555, 0.0040647225, 0.030555049, 0.0212560836, -0.0511960164, -0.0163605027, -0.0200299285, -0.0366938002, -0.0028762608, 0.036764618, -0.009313059, -0.0047246409, -0.0105566075, -0.0080664046, -0.0337597914, 0.0764654279, -0.0529620275, 0.0619620234, -0.0103161819, 0.0304373521, -0.0195558462, 0.013927931, -0.0381594226, 0.0627545342, 0.0089040557, 0.0282657277, 0.0083686709, 0.0547436513, 0.0327613726, -0.0236448292, 0.0064710812, 0.0242537539, -0.0146757104, 0.0160242543, 0.0116574997, -0.0422945246, -0.0187575016, -0.0339158624, -0.002673106, -0.0444469526, -0.0040455693, 0.0099015553, 0.004657744, -0.024551237, -0.0017707024, -0.0119360983, -0.0029337292, 0.0111615201, -0.0096049579, 0.0291204713, 0.055905804, 0.006790862, -0.0481095202, 0.0007465028, -0.0335895605, -0.0264257472, 0.0617446341, 0.0160540119, -0.0162189677, -0.0642282888, 0.0181763377, -0.016171284, 0.0503393114, -0.0229274388, -0.0232640132, 0.0151364114, -0.0635925159, 0.0337348431, 0.1293860823, -0.029039301, 0.0457058623, 0.0859895274, -0.0011557178, -0.033611685, 0.0344223492, -0.0454459488, 0.0031385636, -0.0325283073, -0.0199091043, 0.0015049994, 0.0645799339, -0.018443523, -0.0405454859, -0.052613575, 0.0269228835, -0.0078587579, 0.017456606, -0.0034333502, -0.0096027674, -0.0108647207, 0.0603978485, -0.0159865394, -0.0644249618, 0.064910315, -0.0335424431, -0.0093680434, 0.003360068, -0.0104215629, -0.06514474, 0.0910665542, 0.0119402343, 0.0282825548, -0.0132361846, -0.0430498011, 0.0111154662, 0.005950897, 0.0021912148, 0.0035281901, 0.0720159337, -0.0284478255, 0.0262464974, -0.0012576216, -0.0208385475, -0.0458976589, -0.0148940068, -0.0502080992, -0.0076499586, -0.0140071465, -0.0301171839, -0.0261091366, 0.0659225136, 0.029136315, -0.0237274114, -0.0250610765, -0.0193691719, -0.0098625598, -0.0099561708, 0.0089825355, 0.0496148393, 0.0494182482, -0.0126328552, 0.0401817188, 0.0508111455, 0.0072096302, 0.0223899707, -0.0291390233, 0.0081620496, 0.0198202878, -0.0207721218, -0.0204458162, 0.035158582, 0.0532358475, -0.064365752, -0.0120272264, 0.0879183412, 0.0051215864, -0.0088873729, 0.011169659, -0.0127734123, 0.0232462585, 0.0606313609, 0.0511857197, -0.0000052179, -0.0087949662, -0.0020118302, -0.0159190223, 0.0103361011, -0.051798258, -0.0269476883, -0.1061211228, 0.0156479441, 0.0176425707, -0.0210967977, -0.0746573955, -0.0395581201, 0.0166330505, 0.0458985716, -0.0252686795, -0.0063697309, -0.0322574005, -0.0397255793, -0.0030820135, -0.029076267, -0.0035237544, 0.0129932296, -0.0099805659, 0.0323725939, 0.0029047222, 0.043847952, -0.0056307642, -0.0385705829, 0.0313988775, 0.0107809678, 0.0331464708, 0.0037064329, 0.0167343393, 0.0296013877, -0.0055662598, -0.0052092522, 0.0014131665, -0.0210067146, -0.0078784218, -0.0283469222, 0.099946931, -0.015638696, -0.0592050627, -0.0165541749, 0.0282130446, -0.0516061783, 0.051465068, 0.0640686527, 0.0137004796, -0.0836380646, -0.0572933704, -0.0237979218, -0.0135958241, -0.0366784036, 0.0536043122, 0.0378450267, -0.014939026, -0.0088532884, 0.0170993116, 0.0254308339, 0.0592752658, 0.0110019529, -0.0227675494, 0.0362357795, -0.0134562291, 0.025061192, 0.0347025879, -0.0356665999, 0.016575139, -0.0206534751, 0.02639216, -0.0036965206, -0.0345622227, 0.0132063208, -0.005844906, -0.0402359255, -0.0720451102, 0.0013318845, 0.0189211741, 0.0256186295, 0.031047117, -0.0270285215, -0.0547779575, 0.0015754127, -0.0207741261, -0.0219651163, 0.0064062285, 0.0374532305, 0.0416979305, 0.0279495977, 0.0698787495, -0.0170895308, 0.0287864748, 0.0325231701, 0.0004106035, -0.031327676, -0.0434075706, 0.0168206822, 0.0300424006, 0.0035424405, 0.0445800051, 0.0244011693, -0.0323473848, 0.006325765, -0.0433817469, -0.0114778439, -0.0433510207, 0.0087168366, 0.0087808939, -0.0264630113, 0.007983462, -0.0492778048, -0.0119901225, -0.0133113284, -0.0273208991, 0.0118042072, -0.0160001982, -0.0232798979, 0.0556901991, 0.0089512626, -0.0306880344, 0.0147325872, -0.0184291862, 0.0316256732, 0.0111898761, 0.0559420139, 0.025794629, -0.0308903921, -0.0817884579, -0.0220299382, -0.1047859713, -0.0911544636, 0.0474075861, -0.0039435104, 0.0634491369, -0.0137209203, 0.0070592859, -0.0329734534, -0.0137345856, 0.0048827715, 0.0149843935, 0.0154306646, -0.0470493883, 0.0243808962, 0.0358105116, -0.0161559805, -0.0032343781, 0.0419970565, 0.0029020195, 0.0119103249, 0.0376825817, -0.0008724138, -0.0226980876, -0.031311769, -0.0116114393, 0.052047547, -0.0085293893, 0.0544665977, -0.1037553102, -0.0839853287, -0.0250411537, 0.0122542568, -0.0159469899, -0.0318939053, 0.0038069757, 0.043123275, 0.0265889112, -0.016262522, -0.0360491425, 0.0379272252, -0.0113836732, 0.0227377899, 0.0253136232, -6.232391702e-33, 0.001911037, -0.0584465526, 0.0161677264, -0.0239345022, -0.0306057893, -0.0127071757, -0.0381345786, 0.0126077384, -0.0501148514, 0.0242754016, -0.0274010245, 0.006581557, -0.0117424168, 0.0214047339, 0.0205182787, 0.0063688396, -0.0159347113, 0.0315049589, -0.0174278114, 0.0264511891, 0.0312602781, -0.0007507805, 0.0351847075, -0.0582689159, 0.0032962917, -0.0020841025, 0.0298930891, 0.0569724217, -0.0364607088, 0.0611741468, -0.0252833199, 0.036630284, 0.0358368158, -0.0452094637, -0.0186651014, 0.0265089832, -0.0340504795, -0.0338605493, 0.0147204483, -0.006613744, -0.0343531892, -0.0288213305, 0.0612603016, 0.0083795823, 0.0032801905, -0.0621414818, 0.0317171365, -0.0265894644, -0.0419617742, 0.0407721363, -0.0238124672, 0.0390129276, -0.0330263153, -0.0022265341, 0.0543873459, -0.0035607326, -0.022074258, 0.0251397062, -0.0049036411, 0.0238136537, -0.0115921963, 0.0229409356, 0.0472706482, 0.0216112323, 0.0191594493, 0.0393484309, 0.0267603155, 0.002021099, -0.0673585832, -0.0570597947, 0.0045289104, 0.0620892011, 0.0259481054, -0.008017919, -0.0191396028, 0.016633559, -0.0604063794, -0.0415280163, -0.0147281084, 0.0671485215, 0.0318639502, -0.0004046312, -0.0576749183, -0.0368913673, -0.0208158251, -0.009550862, -0.05089866, 0.0069545694, 0.007832435, -0.0190429464, -0.0020301633, -0.0077601899, 0.014146341, -0.0582839102, -0.0449853688, 0.0231571328, 0.015468806, 0.0140851969, 0.0034615714, 0.0570162833, -0.030555604, -0.0231900774, -0.0627861768, -0.0138204917, -0.0057124519, -0.00403558, 0.0085017309, 0.019986039, -0.0473833941, -0.0500046052, -0.0700891837, -0.0318983197, 0.0128191849, 0.0166721828, 0.0652246252, 0.0081154071, 0.0127992453, 0.0650141239, -0.0040206863, -0.0098841013, -0.0115764719, 0.0239456613, -0.0118896747, 0.0210946109, -0.0281114783, -0.0143733714, -0.0765189454, 0.0271907486, 0.0754041821, -0.0655479506, -0.045243971, 0.0190830585, 2.681e-7, 0.0570014939, 0.054707665, 0.0136710545, 0.0463106111, 0.0374157652, 0.0468213223, -0.0349359475, -0.0004175231, -0.0096230162, 0.0033881119, -0.0121739823, 0.0578792393, 0.0180915631, -0.0004675003, -0.0584476516, 0.0490429811, -0.0211463366, 0.0015841471, -0.0347641334, 0.0099869072, 0.0349194072, 0.0537449867, 0.0240759179, 0.0109340865, 0.0098796356, -0.0723954812, 0.0183040053, -0.0063917213, 0.0492235161, 0.0181921218, 0.0154866921, -0.0019189339, -0.0083660372, 0.015165234, 0.0315809734, 0.0428115949, -0.0203128811, 0.0766495615, -0.0049428805, 0.0113425655, 0.0006572944, -0.0636597723, -0.0076337843, -0.0881219581, 0.0801500976, -0.0631522238, -0.0588170774, -0.0014609887, 0.0531292371, -0.0104553765, 0.0031283428, 0.0170810875, -0.009651022, 0.0051745689, 0.0259124152, -0.0684712604, 0.0436321199, -0.1062349454, -0.026379751, -0.003028397, -0.0561955608, 0.0023606834, -0.0483324863, 0.0132918609, 0.077360101, -0.0118364012, -0.0238512512, 2.527446245e-34, 0.0194613915, -0.003767665, 0.0125595396, 0.0112102693, 0.0361357741, -0.0380460769, -0.0085471803, 0.0189349893, 0.048918575, -0.1117071956, -0.0272552483 ]
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.
Supporters and Skeptics: LLM-based Analysis of Engagement with Mental Health (Mis)Information Content on Video-sharing Platforms: 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.0543729961, 0.0354020819, -0.0108069992, -0.0045587267, 0.0137339663, 0.0104075279, 0.003618327, 0.0035364795, 0.0361919515, -0.0712107047, -0.0073314016, -0.0108541092, -0.0342517272, -0.0092344722, 0.0107015166, -0.0532566793, 0.0003936781, 0.0493893437, 0.086023286, 0.0009807011, 0.0622511655, 0.0076774573, -0.0304520372, 0.0291926693, 0.0033656084, -0.0211715121, 0.0731396601, 0.0058516664, 0.07111606, -0.1019900516, 0.0122884912, 0.0576732308, 0.0304931402, 0.035299506, 0.0000015802, -0.0209812485, 0.0275380444, -0.0009241682, -0.0014612277, -0.0115359295, 0.0111891599, -0.0658847019, 0.0117418217, 0.0369504988, -0.0383449458, 0.0292923283, 0.0592062548, 0.055659011, 0.0615935661, 0.0535600297, -0.0326371528, -0.0404754579, 0.0053391629, 0.0046235537, 0.0266157798, -0.0070963404, 0.0641805232, -0.0055765053, -0.0072052623, 0.0084692575, -0.0172158163, 0.0436696298, -0.0578557253, -0.0137526784, 0.0045346478, -0.0125294803, -0.0009748611, -0.0664760172, 0.0251440369, 0.082148768, 0.0405896492, 0.0345477276, 0.0431210436, -0.0004595602, 0.0081251692, 0.0535606556, -0.0654085726, 0.0290162843, -0.0082239294, 0.0303885303, 0.0145607227, -0.0118845059, 0.0644189119, 0.0257517565, 0.0740661025, 0.0091033662, -0.0092902444, -0.0070656259, -0.0135421669, -0.0334570557, -0.0132997278, -0.0516190007, 0.0139740435, 0.0125768222, -0.0014615322, 0.0364033021, 0.0025204667, -0.0622797534, 0.0404543318, -0.0801357552, -0.0004855181, 0.0439912677, -0.0300028268, 0.0189749748, 0.0490253009, -0.0386740565, -0.0138313416, 0.0235387869, 0.0388150848, 0.0465883389, -0.0544136614, 0.0312369727, 0.0042623449, -0.0098171039, 0.030698264, -0.010602802, -0.0497560464, 0.0027879844, -0.0634117126, 0.0067167012, -0.0548220649, -0.0370008126, 0.0299991295, 0.0086373398, 0.0078764865, 0.0671578571, -0.0326574631, 0.0446409024, -0.0195771754, -0.0391844474, 0.035370741, 0.0045653218, -0.0017353327, -0.0200965032, 0.0252733696, 0.0174751207, 0.0593485646, -0.0326337703, -0.0524125956, -0.039594803, -0.0423260778, 0.0070981192, 0.0075278478, -0.0591986366, 0.0296929535, 0.004503075, 0.000381997, -0.0474804714, 0.0199140348, 0.0170070771, -0.0807884187, 0.070673503, -0.028924346, 0.0005042218, 0.0825977772, 0.0818523541, 0.0022062601, 0.0559112877, -0.0003192042, -0.0010038671, 0.0542595498, -0.0125978626, 0.024842266, 0.0224724952, 0.040826004, -0.0055718422, -0.0016098344, 0.0093776993, -0.0305370856, 0.0149286306, -0.0292776302, 0.0343630873, -0.0216141641, -0.0012938796, 0.0578053184, 0.0735041797, -0.0579452924, -0.0153018124, 0.0047418773, 0.0477269217, -0.0216135215, -0.0259585958, -0.0286702774, 0.0243125781, -0.0137051456, -0.0382029042, 0.0653569922, 0.007454549, -0.0456390604, -0.0133922417, -0.0512920916, 0.0053615738, 0.0071584121, -0.0267581325, -0.0130806621, -0.0158182122, -0.0023676616, 0.051144179, 0.076911442, 0.0327269956, 0.0185243096, -0.0425136015, 0.0313095525, 0.0604219921, -0.004769899, -0.026181398, -0.0261117276, -0.0410141349, 0.0526798368, 0.0255187545, -0.0011804636, -0.0164477713, -0.0343801938, 0.014069953, -0.0126699181, -0.0077399299, 0.0416325852, -0.024442751, 0.017246237, 0.0078371726, -0.0294752195, 0.0016235767, -0.0164103415, 0.0308846384, 0.0279717483, -0.0059357751, -0.0423289277, 0.0262994617, 0.0953142047, 0.0287506506, 0.0059101866, -0.0087723564, 0.0126637807, -0.0113863293, -0.0397022069, -0.0110940021, 0.0389797091, 0.0124201262, 0.0409618504, -0.0697392896, -0.0137209678, 0.0031633961, -0.0148412632, 0.027589364, 0.0397343375, -0.0385312587, 0.0311671905, -0.0196794961, -0.0664936751, 0.0052525774, 0.0098095462, -0.0206116848, 0.0466324985, -0.0459236018, 0.014970745, 0.0121497717, -0.0724343657, -0.035135258, 0.0241560042, -0.0256193485, -0.0499428883, -0.0152508132, 0.0131569086, 0.0044821082, -0.0527475551, -0.0122804176, 0.0047425069, -0.1265624315, -0.010557509, -0.0198116116, 0.0010326718, 0.0380236469, -0.0196385477, -0.0062503489, -0.0018081956, -0.0131102838, -0.0177789666, -0.0116479397, 0.0619368032, -0.0127096428, 0.0393417999, -0.0085486621, -0.0203305949, -0.003386802, -0.0450444929, 0.0083783315, 0.0212558247, -0.0434091762, -0.0025509153, -0.0591844171, -0.0834621713, -0.0174297355, -0.0358376615, -0.0123562291, 0.007209307, 0.0397848934, -0.0068195979, -0.0215148646, 0.0377932154, 0.0832327753, 0.0377587974, 0.0539309159, -0.0030662243, -0.0197057538, -0.0298037007, -0.0292045958, -0.0645408109, -0.074245058, -0.0015858623, 0.0338538066, 0.0267057419, 0.0210303701, -0.0424251407, 0.0156590026, -0.023920035, -0.0061739925, -0.0108962096, -0.0232158732, -0.0073488289, 0.026335137, -0.0154033555, -0.0093609318, 0.042905122, 0.0074794888, 0.0383440219, 0.0115038697, -0.0202553142, -0.0136522986, -0.0066697062, 0.0109172482, 0.0627886802, 0.0007705561, -0.015002097, 0.0280858632, -0.0510030314, 0.019412512, -0.0195094682, 0.0114953667, -0.0266644973, 0.0167426113, 0.0346340947, -0.0316307358, -0.0227420051, -0.0861264244, -0.0839392096, -0.0589742437, -0.0022662696, 0.0010833397, -0.0390542112, -0.016047392, 0.0306514893, 0.0049269698, 0.0269683655, -0.0173194259, 0.0375921614, 0.0208476912, 0.04040296, -0.0378438458, 0.0010960855, -0.0261087641, -0.0056348653, 0.0619578063, -0.0239759032, 0.0212476905, 0.0152776018, -0.0275376961, 0.0011174971, 0.0141279064, -0.0027135278, 0.0289288685, 0.0278370082, -0.0079512512, 0.0011066169, 0.08162193, -0.0163308885, -0.0309705045, 0.0096143559, -0.0215320606, -0.0371288322, 0.0096890451, -0.0302510746, -0.0905410796, -0.0200608224, -0.0620772652, 0.0347544923, -0.0386913978, -0.0045581362, 0.0024433066, -0.0365459509, 0.0515633859, -0.0045679486, 0.0099213384, 0.0218652394, -0.0268207174, 0.0347841941, -0.0190994479, -0.0043528336, -0.0361617692, -0.0127040865, -0.0077056414, 0.0021129318, -0.064324595, -0.0545440316, 0.0250232313, -0.009263631, 0.09844587, -0.013201518, 0.0456088781, -0.0423280373, -0.0566997416, 0.0342829712, 0.0388929397, -0.0116708055, -0.0198394861, 0.0809736699, -0.0325576141, 0.0031109215, -0.0445808768, 0.0702870637, 0.0070300815, -0.0341951437, -0.0420621224, 0.1031512395, 0.0205693431, -0.0224553067, -0.050362587, 0.0484804772, 0.0431262664, 0.049350366, 0.0144194998, -0.0337992795, 0.0480946004, -0.004497794, -0.0052561066, 0.0316978097, -0.0607275106, -0.0051950421, -0.0138619486, -0.0382529274, -0.0259293281, 0.0013737354, 0.0466793068, -0.0364485644, 0.0101977885, -0.0077284621, 0.0361578427, 0.0261930469, -0.0469279438, 0.0592687465, 0.0076655154, 0.0087549118, -0.0249057077, -0.0227711946, 0.0205872506, -0.022080699, -0.0151760802, 0.0025908747, -0.0496537313, -0.0517380051, 0.0385853946, 0.0175980926, 0.0165747628, 0.0528733172, 0.0262022614, -0.0192993153, 0.0562248342, 0.045533929, -0.0196127314, -0.0112451566, -0.0108758397, 0.0282348767, 0.004692351, 0.0291001275, 0.0076524154, 0.0173093416, 0.0284346193, -0.0246567708, -0.0983983055, 0.0149038872, -0.0306714792, -0.0321760438, 0.0568809733, -0.030924011, -0.0269723684, -0.0064586024, -0.0595054254, 0.0002704113, -0.006709652, 0.0244717877, -0.0300750472, 0.0520411655, -0.0255837124, -0.0581246167, 0.0192197319, -0.0509454645, -0.0073483363, -0.0540738292, 0.0100875963, -0.0109195709, -0.0179492626, -0.0044816751, -0.0153805241, 0.0172143895, 0.0612699389, -0.0013806652, 0.0208497066, 0.0116859125, 0.0678397045, 0.0039463285, 0.0222088713, 0.0522246361, -0.0110913776, -0.0087743774, -0.0902417153, -0.0182260219, -0.0018609635, 0.0322647132, 0.0001747947, 0.0377680808, 0.0113431429, -0.0370302796, -0.0069654048, 0.0175640322, -0.0626504794, -0.0543119758, 0.0380207896, 0.0162941832, -0.0244195219, 0.0118503356, 0.0538281575, -0.0209260546, 0.0289959125, 0.0564031415, -0.0504515767, -0.0056202612, 0.0010035962, -0.0202864762, 0.0715294629, -0.0296682641, 0.0396650061, -0.0624706857, -0.0629139319, 0.0162263159, -0.0693543553, -0.0248060506, 0.0018566814, 0.0172853488, 0.0325708054, 0.0187762082, -0.0022727123, -0.0196719691, 0.0030331442, -0.0451881066, -0.0377580635, -0.0033646063, -5.793194687e-33, 0.0022936449, -0.0416684598, -0.0386395752, 0.0259712972, 0.0080525437, 0.0117512858, 0.0003103649, 0.0474315621, -0.0117173791, 0.0469128489, 0.0654619932, 0.0637740418, -0.0093874773, 0.0214106888, 0.0194555223, -0.043997284, 0.0237357728, -0.0090510948, -0.0196830258, 0.0044426378, 0.0094515588, 0.0312576592, 0.0148393707, -0.1220286861, 0.0500584692, -0.004677251, -0.0054467353, 0.0256155338, 0.0328907706, 0.0373371542, -0.0296765566, 0.0440899506, 0.0475716814, -0.00110302, 0.0372130647, 0.0541096032, -0.0329519212, 0.001288968, 0.0346131921, -0.021543581, -0.0435402989, -0.0068592126, 0.043672286, -0.0240316764, -0.0471892282, -0.012402473, 0.0533328205, -0.0275552217, 0.0540685356, -0.0066391742, -0.0404426865, -0.0157653578, -0.0215224866, 0.0068406663, -0.0343470015, 0.0091462741, 0.0126615511, 0.039974805, -0.0796215832, 0.0176773425, -0.0397931002, -0.0045124395, 0.0177337658, -0.0627198145, -0.0090652071, 0.0741271824, -0.0028385299, -0.0217519775, -0.0345234051, -0.0368723571, -0.0241219439, 0.041208066, 0.0359844528, 0.0280546304, 0.0257191248, -0.0418137386, -0.072550483, -0.0107322037, 0.0199162569, -0.0028221917, 0.042907659, -0.0141827846, -0.0312798545, -0.016828347, -0.0183259565, -0.0318339616, -0.0268045608, -0.0168541446, -0.0283307582, 0.0069579603, -0.008760971, 0.0124393096, 0.0018090291, -0.0217202548, -0.0293605067, 0.0255917311, 0.001145874, 0.007521701, 0.0117219137, 0.0112358378, -0.0565121174, 0.0390832052, -0.0223411247, -0.006049233, 0.0409536138, -0.0155728152, 0.0658214018, -0.0084237885, -0.0485517904, -0.0093043344, 0.0261610262, 0.0158430226, -0.0035423329, 0.0493778661, 0.0280902535, 0.0428749472, -0.0145387072, 0.0062301951, 0.0374857225, 0.0359209068, -0.0036031159, -0.0355004705, -0.0569402799, -0.01550443, -0.0343789794, -0.0317740627, -0.0132264365, 0.0204303395, 0.0049157413, -0.1019124687, 0.0016265014, -0.0368598066, 2.556e-7, 0.0554419123, 0.0848154575, -0.0619376488, -0.0137848295, 0.0580231398, 0.0354692712, 0.0008706159, 0.0324489214, 0.0370832011, -0.0799472928, 0.009896595, 0.047059793, -0.0189403985, 0.0338884518, 0.0045425324, -0.0475142002, -0.0583650135, 0.0114374273, -0.0544003174, 0.0179184265, 0.0002644904, 0.0591575876, 0.0281347632, -0.0003145094, -0.0170173049, -0.0212634299, 0.0704834089, -0.0109958146, -0.009769409, 0.0279095378, 0.0165202878, 0.0420255959, 0.0024342281, -0.0121835945, -0.0228645727, -0.015698906, -0.007093993, 0.0554051101, -0.0190842506, -0.0331313647, -0.0306680817, 0.0400168858, 0.008117578, 0.0036330025, 0.0181796271, -0.062156193, -0.0594806895, -0.0528444499, -0.0231883619, -0.0297541544, 0.0279549435, 0.0069819512, -0.0311534051, 0.00032082, 0.0282620713, -0.0025816732, 0.0108156539, -0.0814489797, -0.0159204192, 0.0040141661, -0.0797645897, -0.0284062792, 0.0199306179, -0.0142021952, 0.0016564192, -0.0294252094, 0.0349809267, 1.824104468e-34, 0.0346952379, 0.011573107, 0.0043696836, -0.0228389837, -0.0261444766, 0.0501202829, -0.0594656132, -0.0247695204, 0.0120403981, -0.0388237238, 0.0118201664 ]
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.
Ensuring Responsible Sourcing of Large Language Model Training Data Through Knowledge Graph Comparison: 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.0699189305, 0.0371566564, -0.0114956303, 0.0924961865, -0.0752222016, 0.0043760496, -0.0312189814, 0.0264162086, 0.0059861667, -0.0729503259, -0.0431129113, 0.0480558835, -0.0061455714, -0.0233169477, 0.0211459361, 0.0286147762, 0.0185216591, -0.0070145056, -0.0159037393, 0.0082155289, 0.0320112742, 0.0541499518, 0.0585309938, 0.0169162974, 0.0044338275, -0.0230062567, 0.0348867923, 0.0042796214, 0.0132997967, 0.0091913668, -0.0163891576, 0.0532425977, -0.0297576059, 0.0972724631, 0.0000018187, -0.0806873739, -0.0511351749, 0.0355281346, 0.004172761, 0.029418299, 0.0799330249, 0.0030871234, 0.0112991333, -0.0169246159, -0.0071896189, -0.001691492, -0.0065062591, 0.0322948582, 0.0800933316, 0.0683652908, -0.032639239, -0.0121184783, 0.0338532999, -0.0052324017, 0.0065677506, -0.0025088212, 0.0307619143, 0.0815025568, 0.0322251432, 0.010698352, -0.0061077974, 0.0310184229, -0.0419280753, -0.0433945693, 0.0052244393, -0.0438136347, -0.0480623133, -0.0057345666, 0.0401034392, 0.0581502616, -0.0273830295, -0.0474409424, 0.051051233, 0.0113102933, -0.0056893206, 0.079093352, 0.0007808813, 0.0299586207, -0.0343776345, 0.0265459158, 0.0144594843, -0.083096087, 0.0492721349, 0.0104331356, 0.001669524, 0.0489119738, 0.0274731833, -0.031377919, -0.0168069229, -0.0352788828, 0.0153829176, -0.0787038133, -0.0078213559, -0.0052214246, 0.0152031546, 0.019054804, -0.047217425, -0.0241023917, 0.025643263, -0.0298232064, -0.0055284863, 0.0055030352, -0.0012250437, 0.0507499129, -0.0238631889, 0.0421371125, -0.0326384977, 0.0255674943, -0.0486298613, -0.0133801717, -0.0545425303, -0.0056360289, -0.0228806958, 0.028393507, 0.0314900614, -0.0183870066, -0.0342490263, 0.0594501942, -0.0278185587, 0.0567654409, 0.017085759, -0.0199091081, 0.0581838563, -0.01720047, 0.0049710651, 0.007484694, 0.0407158397, 0.0210274663, -0.0620458387, -0.0313004479, 0.0308393277, 0.0231586825, 0.0011910517, -0.0154605275, 0.0127128391, 0.0758553594, 0.0357229821, 0.0012895596, -0.0358356312, -0.074827835, 0.0236889683, -0.019301096, -0.0078715896, -0.0857922807, -0.0194328576, 0.0110676512, 0.0089662587, -0.0558961816, -0.0014494555, 0.0053981389, -0.094505325, 0.0342899822, -0.0746359304, 0.0621468835, 0.0353875421, 0.0134275323, -0.0452051684, 0.0175355282, 0.0386153795, -0.0211665891, 0.0801652744, 0.000600918, -0.0224179737, 0.0514299423, -0.0053747594, 0.0074809506, -0.0181786194, -0.0031567134, 0.0079766614, 0.007394216, 0.0190091282, 0.0481996723, -0.0387773737, -0.0040884214, 0.0555370599, 0.0726572573, 0.0030407582, 0.0205645096, 0.0142516, 0.0294892304, 0.0118146809, 0.0122381467, -0.0307585187, -0.0536443926, -0.0264682733, 0.0089860139, 0.0012257815, 0.0220627151, 0.0203838423, 0.0380424187, -0.0283219274, -0.0160330422, -0.0197097529, -0.0294689704, 0.024123555, 0.00760192, -0.0137018533, 0.0371734835, 0.0173120927, -0.0319604799, 0.0179201253, -0.0280278623, 0.0315406695, 0.0628068522, 0.0918793827, -0.0151232183, 0.0159125216, -0.0054805856, -0.0255714301, 0.0144283688, 0.0116020348, -0.0549646765, -0.0203842707, -0.0151084475, -0.0533567816, -0.0238345191, -0.0071099978, 0.0020716952, 0.0201242194, 0.0161944106, 0.0209839977, -0.068279542, -0.0663384646, 0.0349481218, -0.0366164036, 0.0262775533, -0.0419179834, 0.0045048683, 0.0245882384, 0.0182679277, -0.039896477, 0.0242994297, 0.005118066, -0.0140154753, -0.0015455344, 0.0234833173, 0.0458399355, 0.0202934872, 0.0739825442, -0.025577249, -0.0031390388, 0.0152331516, -0.0344841219, -0.0054606227, 0.0325515606, 0.0043019094, 0.0691238344, -0.0420243554, 0.0546513535, -0.061816711, -0.0093647512, -0.023035638, 0.0368846022, 0.0199046005, 0.0473872833, 0.0316766873, -0.0469328016, 0.0667604432, 0.0147081697, -0.0392303504, -0.0025811088, -0.0051082852, 0.0186313577, 0.0111375982, -0.0148440702, -0.0230211727, -0.0115149925, -0.0294835549, 0.0112160789, 0.0097668432, 0.0361276008, 0.0404474624, 0.0111429673, -0.0340799578, 0.0008312244, 0.0022859569, -0.0272129066, 0.0183836408, 0.0083191982, 0.0249761138, -0.0414837748, -0.0364196189, -0.0197338797, 0.0116605191, 0.0011996923, 0.073863104, 0.0220006276, -0.0265863054, -0.0590455942, 0.0973696485, -0.0380262025, 0.0205729492, -0.0047004544, 0.0181518588, -0.0227713324, -0.0112090623, 0.0053118872, 0.0254185405, -0.0042248638, -0.0509060957, 0.0511675365, -0.003030051, -0.0574712157, -0.0557733774, 0.0001555426, -0.0257040672, -0.0380158275, -0.0338737965, 0.047529459, -0.019824354, 0.0070748739, -0.0339785628, 0.009117173, -0.0128600905, -0.0357235298, -0.007798411, -0.008937371, -0.0682289898, -0.0024977636, 0.0009164385, -0.0145276571, -0.0652262196, 0.0519065186, -0.0876582265, 0.0713930354, -0.0210519489, -0.0003307968, -0.0320359133, 0.0488493964, 0.0041174726, 0.0324619524, 0.0075862319, 0.0068160435, -0.0318821408, -0.001127896, 0.1124552041, -0.0184661672, 0.0139175942, -0.0230483394, 0.0430351123, 0.0041981121, 0.0196152106, -0.0372320861, 0.0033611332, -0.0175394248, 0.0156596694, 0.0346170552, -0.0193878952, 0.0063838996, 0.0265619457, 0.0289492551, 0.0423777103, 0.0053218286, -0.0077107912, 0.0051507181, 0.0421753749, 0.0203467477, -0.0620747767, 0.005039698, -0.0237359721, -0.0081756208, 0.0246114042, 0.0201898795, -0.0008565254, -0.0139632262, -0.0162351634, -0.0064706183, -0.0420253314, -0.0056072716, -0.0334789082, -0.0043108156, -0.0153369373, 0.006848474, 0.1091430336, 0.0176610816, -0.0486380942, -0.007216535, -0.0364432447, -0.0227695536, 0.0487604663, 0.0199874304, -0.0973246768, 0.006760933, 0.0072095585, 0.0254629217, 0.005480452, -0.0451857336, -0.004726477, -0.0952204242, 0.0213898681, -0.0155408867, -0.0480339602, -0.0354076847, -0.0342354104, -0.0132223759, 0.0143376123, -0.0699960664, -0.0287239254, -0.0258992091, -0.0112243351, -0.0184766874, -0.0410867259, -0.0331708305, -0.0194669198, -0.0763443783, 0.0124519281, 0.0435694531, 0.0301531963, 0.0024451052, 0.0025979711, 0.0149450973, 0.0205420163, -0.0217909589, -0.0092882104, 0.0285621751, 0.0003527279, 0.0095655723, 0.0026267385, 0.0019077889, -0.006517712, -0.0282394774, 0.0229062922, 0.0929393023, -0.0140731484, -0.0150224222, -0.0018577032, -0.033173874, 0.0262777638, 0.0605623908, 0.0266524088, 0.0347077698, 0.0037236223, 0.0008699571, -0.0104030082, -0.0220622662, -0.0068523898, 0.0262159649, -0.0482184365, 0.0193650909, -0.0916570425, 0.0215059016, -0.0480045155, -0.0208288543, 0.0555013418, 0.0530713573, 0.0364398137, -0.042423673, -0.0558683015, -0.0215459298, -0.0301142633, 0.0167543422, -0.0200168137, 0.0156634692, 0.0236369949, 0.0136707276, -0.0256587453, -0.0210923851, -0.075434044, -0.0592526123, -0.0259755719, -0.0132458713, 0.0146854473, 0.069712095, -0.0161943547, -0.0190701615, 0.0760600865, 0.0217737816, -0.0479707681, 0.0327056646, -0.0095503069, -0.0446805693, -0.0118642179, 0.0397453569, -0.0821722969, -0.0039616819, 0.0363468416, -0.0044253045, -0.0240363833, -0.0143854162, 0.0010494525, 0.0770503059, -0.0000218909, -0.0133837424, 0.0529789925, -0.0766415223, 0.0025120024, -0.0330045335, -0.0286427736, -0.0352180116, 0.0227064081, 0.0394343324, -0.0244360287, 0.021192601, 0.0500801802, 0.0043014316, 0.0667139813, -0.0106532127, 0.0209204368, 0.0146914534, 0.0204251111, 0.0080685206, -0.01174537, -0.0049356567, 0.0166083705, -0.0310964491, 0.0191984139, -0.0407137945, 0.038743265, 0.0354161002, -0.0056125429, 0.0241055656, 0.0297155548, -0.0529372916, -0.0479332246, -0.0016341489, -0.0012132477, 0.0611728914, -0.0166621134, 0.0820463821, -0.0492476635, -0.0182988998, -0.0265775342, 0.023937257, -0.0239911769, -0.0365584418, 0.0009716309, 0.0198939126, -0.0339945033, 0.0440540574, 0.0939834192, 0.0411523804, 0.0650066286, -0.0323765762, -0.0909293219, -0.0075544138, -0.0363017023, 0.0448609889, -0.0258731619, -0.0533454716, -0.0347483568, -0.0518725514, -0.068204172, -0.0086832978, 0.0347982533, -0.0171951074, 0.0284467861, 0.0146264974, 0.0670550242, 0.0222224444, -0.0001953172, -0.0577048175, 0.0187556762, -0.0369191729, -0.0409840383, -0.0027185206, -5.204892457e-33, 0.0172048435, -0.0412234999, -0.0126423268, 0.0086307293, -0.0487071238, 0.0257380977, -0.0298392177, -0.0491481274, -0.0349729806, 0.0207863078, 0.0033278237, 0.0166406967, -0.0060183965, -0.0303799473, -0.0008501047, 0.0263546631, 0.0186810158, 0.023896968, -0.0198567715, 0.0010881105, 0.0295136943, 0.0110177686, 0.0509106219, -0.0781370625, 0.0345697366, -0.0370869935, -0.0043245102, 0.0137051428, 0.0095860111, 0.0451891534, -0.0051934263, 0.0233012103, 0.0128169078, -0.0318591036, -0.0061016395, -0.0512676537, -0.0283275805, -0.0274532866, 0.0508411191, -0.0093412222, 0.0278762244, 0.0061383829, 0.0818150714, -0.017321147, 0.0021130044, -0.0190896522, 0.0604204834, -0.00964252, -0.0469398201, -0.0222821813, -0.0663772598, 0.0307100434, -0.0098163104, 0.0336216353, 0.0303667225, -0.0049864259, 0.0206662621, 0.0259110127, -0.0636453629, 0.0322740376, -0.0299258605, 0.0186516084, 0.0680979714, 0.0215388518, 0.0476166271, 0.0584450997, -0.0059931581, -0.0305319112, 0.0387832262, 0.0119116139, 0.0064520687, 0.061098773, 0.0044728606, 0.0804890171, -0.0273630004, -0.0319375135, -0.047576379, 0.014084626, -0.0446454957, 0.0450670421, -0.0100234644, -0.004159803, -0.0187457222, -0.025698144, -0.0371336788, -0.0285231546, -0.0332656875, -0.0150313722, 0.036164958, -0.0092490241, -0.0053878687, 0.0164567996, 0.0067859613, -0.0739008412, -0.0190040246, 0.0445151627, -0.0465731733, -0.004182918, -0.0196274612, 0.018522013, -0.0308472179, -0.0280958172, -0.0012578506, -0.0385689884, 0.0616460964, 0.0087364009, 0.0386508629, 0.0205704048, -0.0338352434, 0.0203166455, -0.0008086515, -0.0520608053, -0.0250846092, 0.0063971695, 0.0022870076, 0.0147979045, 0.0240461174, -0.0101287868, 0.0712805241, 0.0225863513, -0.0301758666, -0.0035718202, 0.0137168225, 0.012026621, -0.0258174967, -0.0091093592, -0.0094187576, 0.0459623486, 0.0621159039, -0.0237182882, -0.0017595128, -0.0139633343, 2.691e-7, 0.0429492146, 0.0188014749, 0.0169839058, -0.0061621433, -0.0026203531, 0.026938919, -0.0249604695, 0.0252450481, -0.0020517402, 0.0080287633, 0.0213233866, -0.0142414998, 0.0290257894, 0.0414555818, -0.0963664949, 0.0004774561, -0.0603630058, -0.0541976392, -0.0713547319, -0.0019355499, 0.0067607732, 0.0336286016, 0.0567068905, -0.0314191431, -0.0542179868, -0.0881292894, 0.007898381, -0.0195812639, 0.0026895832, 0.042424202, 0.0547963977, -0.0211696494, -0.0022724555, 0.0079856571, -0.0259611811, 0.0230902992, 0.0026638512, 0.0062999302, -0.0186646935, 0.0574380457, -0.0301809702, -0.079633452, 0.0120588159, -0.0750134662, 0.0359130427, 0.0382611379, 0.023300156, -0.0398894548, -0.0307950992, -0.0424655154, -0.0008385458, -0.0235911328, 0.0056478847, 0.0225415993, 0.0025464888, 0.0252026953, -0.011345298, -0.0496515259, 0.0093591278, -0.0204587355, -0.0211750492, -0.0486877188, -0.0039974456, -0.0416648537, 0.0287032183, -0.0276954286, 0.0739896595, 2.38291095e-34, -0.0056399754, -0.0217064675, -0.0036623911, 0.0021147076, 0.0357088, 0.0031970248, -0.0262277722, 0.0224102456, -0.069442831, -0.0425362214, 0.0143082161 ]
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.
A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models: 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.0043076933, 0.0498113856, -0.0334994793, 0.0511075146, -0.009604142, 0.0183204506, -0.0118490988, -0.0074431635, -0.0439779647, 0.0054507623, -0.0654468238, -0.0478730798, 0.020715056, 0.0432011001, 0.0189844035, 0.00061095, 0.0308478475, -0.0387992226, -0.0455505177, 0.0114069646, -0.0202721823, -0.0060521467, 0.0064823977, 0.0714009702, 0.0133962501, -0.0197861809, -0.0223354734, -0.0018463258, -0.0042311638, 0.0391729325, -0.0546155833, 0.0213623196, 0.0139304623, 0.0884798616, 0.0000019012, -0.0110795209, -0.0387620628, -0.003991026, -0.0634345263, 0.0248302519, 0.0285842251, -0.0739596635, -0.0369365588, -0.0203734301, -0.005321465, -0.0023436628, 0.0524428561, 0.0093845837, 0.0074926792, 0.0383329317, -0.0003291516, -0.0384645127, 0.0112311793, -0.0130309975, -0.0051558437, 0.0045414367, 0.0088152271, -0.0198607631, -0.046452038, -0.0066709029, -0.0634372011, 0.0361124426, 0.0553310029, 0.009607601, -0.0298006665, -0.0207005944, 0.0160871651, -0.0299225021, 0.0082217101, 0.0204396416, 0.0033403335, -0.0419320129, -0.014076476, -0.0097454805, -0.0043358002, 0.0465286858, -0.0217806809, 0.0091894101, 0.0490385331, 0.0359673947, 0.0042939163, 0.0144448979, 0.0590239428, -0.0286272578, -0.0621142387, 0.0769637376, -0.0140581578, 0.0099037709, -0.050382413, 0.0061974921, 0.0234089941, 0.0292537846, 0.008799701, 0.0036576011, 0.0337317213, 0.0294434894, 0.0045929723, -0.042826876, -0.0125268186, -0.0327972472, 0.06280756, 0.0184589513, -0.0138488589, -0.013744575, -0.0031419504, 0.0596158393, -0.0649818182, 0.0480397679, -0.0393255465, -0.0041949581, -0.0356080532, -0.0494315699, 0.0054785567, -0.009689576, -0.0030135547, -0.0070864283, -0.0468369983, 0.0041882512, -0.0156597886, -0.0438182317, 0.0026872735, -0.0196572971, -0.0334843695, -0.003316581, -0.0075216191, 0.0394178629, 0.0440518372, 0.0021957508, -0.0394377187, -0.0727474615, -0.0270545036, 0.005413285, -0.0041849818, -0.0115619358, -0.0187812168, 0.102785252, 0.021558987, -0.0157369524, -0.0401564948, -0.025662262, -0.0605803207, -0.0143521521, 0.0529820845, -0.0453124233, 0.0163161531, 0.023527611, 0.0063915867, -0.0496939458, -0.0027340571, -0.0270533804, -0.0229149573, 0.083591193, 0.0122862291, 0.0183850285, -0.02983048, 0.0023293183, -0.0019523208, 0.0599422976, 0.0395806059, 0.0376688801, 0.0399301685, -0.0292366371, 0.0031853844, 0.0435095206, 0.0146099972, -0.0256143045, -0.0210180525, -0.0649575815, -0.0387104154, -0.0215717833, 0.0261599291, 0.028821988, -0.0154257482, -0.0278356094, 0.0469769649, 0.0193684977, 0.0674389824, 0.0493751876, 0.0547999069, 0.0217072088, -0.0098753721, 0.0058000367, -0.0314150453, 0.013179685, -0.0208066572, 0.000340975, -0.0357796662, -0.0084981099, 0.0081639718, -0.0609520376, -0.0021678167, -0.0314050801, 0.0360145457, -0.018633524, 0.0955837816, 0.0238649826, -0.014412907, 0.0764671937, -0.0052501075, -0.0496197678, 0.0122035695, -0.0752714649, -0.0149360681, 0.033357624, 0.033743538, -0.0067436337, -0.0039323005, 0.0364241078, -0.0663576275, 0.0070094825, -0.0394977145, 0.0246508382, 0.0322472006, -0.0396477506, 0.0005606192, -0.014077899, 0.0530600175, 0.0390080288, -0.0507729352, -0.033052817, 0.0113962116, -0.0402197689, -0.043925982, 0.0142866513, -0.0421816595, 0.0052457382, 0.0058344258, 0.0292131081, 0.021581145, 0.0071619754, 0.0104110623, 0.01976908, 0.0333147086, -0.0441367887, 0.0121535286, 0.0512593016, -0.0575058125, -0.0042583956, 0.004377096, -0.0444065407, 0.0155115807, 0.0663586259, -0.0013704512, -0.0472028628, 0.0580085367, -0.0703990608, 0.0509946458, -0.0387977548, 0.0128930425, -0.0305434056, 0.0489682108, -0.0027614632, 0.022960877, -0.0417009927, 0.0035256096, 0.0268763769, -0.0319853462, 0.0174362566, -0.0105414512, -0.0313227698, 0.0056074229, -0.0077543794, -0.0196843464, -0.0129013304, -0.0334748216, -0.0095789079, -0.0250341035, -0.0033826204, -0.0490856022, -0.0317621827, 0.0399165303, 0.0656795278, -0.0043978039, 0.0200659819, 0.0152200507, 0.0238564927, 0.0186954644, 0.0086542042, 0.0052189878, 0.0287160929, -0.0150562245, -0.0330786221, -0.0074621146, -0.0459555387, -0.0518170893, 0.1016414315, -0.0259228684, 0.0168765225, -0.0767949447, -0.0096811941, 0.040088471, -0.0014185435, -0.0328976959, -0.0737054124, 0.0217476021, -0.0076426384, 0.0171098206, 0.0421183072, -0.0233275834, 0.1131927744, 0.0257475004, -0.0101696551, -0.0239101853, -0.0598184466, -0.028143838, 0.025533421, -0.0374897569, -0.0989163816, -0.0123401312, 0.1186839342, -0.0010070462, -0.0066776983, -0.0623549819, 0.0091978991, -0.015564613, -0.0337571986, 0.020926794, -0.0074086357, -0.0126018478, 0.0710538998, -0.0051792008, -0.0433534831, 0.0663720295, -0.0608720258, -0.0308993906, -0.0070374524, -0.0185947157, -0.0415151045, 0.0951343924, 0.0246918853, -0.0007229316, 0.0407555439, -0.0360676162, -0.00390802, 0.0092833564, -0.002567451, -0.0322366543, 0.0648462325, -0.0267467275, -0.0328362919, 0.0088813715, 0.0421267301, -0.0070112427, 0.0087787323, 0.0096603781, 0.0240856595, 0.0510636643, -0.0339263454, -0.0216840189, 0.051262781, 0.0207810365, -0.0079427678, -0.0008100349, -0.0046996782, -0.0376524143, 0.0324685946, 0.0098432861, 0.037116468, 0.0888953358, -0.0405803807, -0.0007958041, 0.0377030037, 0.0138140162, -0.0018338303, -0.0852034539, 0.0109365275, 0.0363711305, 0.0090534808, 0.0053606518, -0.0225962475, 0.0492295362, -0.0822204128, -0.0328004733, 0.0599694327, 0.0113141648, -0.0270493198, 0.0455606319, -0.0043039555, -0.0022691572, -0.0199604277, 0.0204014685, -0.0310713612, -0.0130984029, -0.0035155297, 0.0440505743, -0.0255881995, -0.0076754512, 0.0177311376, -0.0568857566, 0.0294361226, -0.0004879504, -0.0359171294, -0.0584737398, -0.0268502459, -0.0236061607, -0.0458767675, 0.0350636728, 0.0233696699, 0.0042526396, 0.0098807262, -0.002174258, -0.0354515575, -0.0546668842, -0.0124573745, 0.0072294539, 0.0423325561, 0.0802843422, -0.0062190886, -0.0454362966, -0.0402383842, -0.0036253911, -0.0143626928, 0.018775411, -0.0048404937, 0.0022943323, 0.0457216427, -0.0455782861, -0.0229851529, 0.0065984041, -0.0415917337, -0.0378217064, -0.0867301673, 0.0508213602, -0.047128018, -0.0295108873, -0.0013587236, 0.011531407, -0.000660662, 0.0676603615, 0.0619339235, -0.0430948809, -0.0284626428, -0.050771229, 0.0259970389, -0.0117121283, -0.0820916072, 0.0148770567, 0.0568461008, -0.058473099, -0.0204169266, -0.0024019659, -0.0352834314, 0.0103545701, -0.0024569607, -0.0285266265, 0.0574802645, -0.0355932601, -0.0412458666, 0.0595974587, -0.0183107741, 0.0149530657, -0.0434577204, -0.0329161435, 0.0387408137, -0.0497888513, -0.0268855039, 0.013614716, -0.0450717062, -0.0316914357, 0.053581927, 0.0357979313, 0.027792586, 0.0351785421, -0.0120658278, -0.0202264972, -0.0077821743, 0.0220791567, -0.0276013315, 0.0338771045, 0.0642657429, 0.0072790212, -0.0062135463, 0.0445756912, -0.0094214054, 0.0309993178, 0.0225069616, 0.0334686749, -0.0408323966, -0.013575878, 0.0305892061, -0.0210844502, 0.0637521744, 0.0389274135, -0.0099048587, -0.0017631953, 0.0136553152, -0.0128577072, 0.037200544, -0.0811460912, -0.0389832333, 0.0200021341, 0.0039626141, -0.0376406088, -0.0332402252, -0.0116047906, -0.0064267446, -0.0271769855, 0.067640923, 0.0224954635, 0.0269799065, -0.0214636419, 0.0160761643, 0.0169062298, 0.052327577, -0.0224004872, 0.0477396883, -0.001788144, 0.0443209782, 0.0135067627, 0.0014803329, -0.0766016915, 0.0470724292, -0.0733157769, -0.0154861398, 0.0462278388, -0.0165619589, 0.0041379062, -0.0312026255, 0.0661252216, -0.0315849818, 0.0304559041, -0.0129876258, 0.0366427973, 0.0049799467, 0.0188358333, 0.0226856433, -0.0011959637, 0.000049648, -0.0038577369, 0.0343944058, -0.0082336636, -0.0005676728, -0.0244756415, 0.0024456964, 0.0053302948, -0.0318894722, 0.0048572994, -0.0116020497, -0.0496635139, -0.034213528, -0.0563084707, -0.0660266653, 0.017215956, 0.0284255967, 0.0269222613, -0.0436719395, -0.0048269667, 0.0772968233, -0.011651475, -0.0064087273, -0.0341131501, -0.0069510783, 0.0023882128, -0.0020793239, 0.0140816495, -5.876492788e-33, -0.0147099663, -0.0407262482, -0.0247666501, 0.0074873231, 0.0033870856, -0.0031606709, -0.046470806, -0.0051194052, -0.0110806059, 0.0117288493, 0.0164092369, 0.0078673325, 0.015219138, 0.0384710878, -0.0174321253, -0.0188856777, 0.0390389636, 0.0292524155, 0.0127296103, -0.0167665407, 0.0636313707, 0.0336952507, 0.066701591, -0.0646314025, 0.0355439112, -0.0066683427, 0.0155000566, 0.0166210122, -0.0318678021, 0.0680245608, 0.0015723368, 0.0180541761, 0.0349662825, -0.0895404294, -0.0335234776, 0.0036697157, -0.0689715967, 0.0270939898, 0.0195163134, 0.0582174249, -0.0229396671, -0.0487697795, 0.1039680541, -0.0291384812, -0.040970698, 0.0010713373, -0.0037647095, -0.0130992886, 0.0191645175, -0.0079637635, -0.0392071754, 0.007400257, -0.0009800643, -0.0100386711, 0.0778761506, 0.0149988811, -0.0305705816, 0.0562303662, -0.0913670436, 0.0154534746, 0.0105716959, 0.039812874, 0.0782554597, 0.0439320281, 0.0033829182, 0.0171296056, 0.0584974177, -0.0426117368, -0.0242424533, -0.0027418933, 0.0858995691, 0.0283396579, 0.0607533455, 0.0002874998, 0.0294797029, 0.0240627676, -0.0300121196, -0.0238701757, -0.0239703692, 0.035659764, 0.0478014238, 0.0084415646, -0.0498238318, -0.0077117011, -0.026543336, -0.057392247, -0.0220361482, -0.0290114302, -0.0159633197, -0.049435541, -0.0601470135, 0.010299243, 0.0498358421, -0.0887812749, 0.0263484176, -0.0011967183, 0.029253386, 0.0429853313, -0.0031313326, 0.0182989761, -0.0035474401, -0.0357450731, 0.0138187017, 0.0076198042, 0.0261471123, 0.0026908182, 0.0091762543, 0.0336876251, 0.0089118956, -0.0025829675, -0.0289666653, -0.0271487106, -0.0267342236, 0.03979275, 0.0555788837, 0.0048718699, -0.0304857194, -0.0019161196, 0.0173569638, 0.0402469449, 0.0039843544, 0.0469373465, -0.0103450175, 0.0463079363, -0.0516198464, -0.0482452773, -0.037426535, 0.0287574232, 0.0504775047, -0.0300936811, -0.0147201922, 0.0103364894, 2.554e-7, 0.0761520565, 0.0362265781, 0.0395601653, 0.0279757138, 0.0539783798, 0.0280415174, -0.0058736065, -0.0310637895, 0.0017186544, -0.0055160434, 0.0223379377, 0.0175854713, 0.0519228876, 0.0025670552, -0.0103020193, -0.0050906884, -0.0412175879, 0.0148782162, 0.0139607741, 0.0464330204, 0.0245981496, 0.0989996493, -0.0252978168, 0.0044827424, 0.0324217901, 0.0194482133, 0.0281269159, -0.0552915968, 0.0413738862, 0.0023139648, 0.0130998697, -0.035433583, 0.0030679344, 0.0027740332, 0.0039262287, 0.0296695605, -0.024923455, 0.0447440259, -0.0128663937, -0.0378946625, 0.0045568324, -0.0106054768, -0.0173359774, -0.0675144717, 0.0295086894, -0.0823065937, -0.0649537593, -0.018896699, -0.0050965063, 0.0060254694, -0.0069583184, 0.0008392947, 0.0176278017, 0.0124906451, 0.0236366, -0.0285747647, -0.0171637069, -0.0353720151, -0.012386567, -0.0313594937, -0.0340561382, 0.013560893, -0.0719617158, -0.0476345792, 0.0498712398, -0.0204932839, -0.049276758, 2.453970731e-34, 0.0098254122, 0.0022715856, 0.0178943649, 0.0289242938, 0.0153673403, -0.0121786958, 0.0222196896, 0.045361124, -0.0020439792, -0.0881789848, -0.0322344378 ]
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.
Change My Frame: Reframing in the Wild in r/ChangeMyView: 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.0293969754, 0.0887121856, -0.0221107528, -0.0015285256, -0.0232983213, -0.0168873072, -0.024495855, 0.0081261378, -0.0421256945, -0.0330607034, -0.0230110958, -0.0196055584, 0.0102401087, 0.0111171696, 0.0183273312, -0.0648789331, 0.0070020817, 0.0138843311, 0.0245347321, 0.0163520332, 0.0707145333, 0.0178210735, -0.0030974851, 0.0516734198, -0.0026905299, -0.0035115078, 0.0057828529, 0.065110445, 0.0537125468, -0.0048006503, 0.0251115058, 0.0628466904, -0.0166719127, 0.0265278649, 0.0000020279, -0.0176945347, -0.0353586599, -0.0541218445, 0.016648164, 0.0077269608, 0.0927090645, 0.009954189, -0.012530108, 0.0073163416, -0.0534377731, -0.0091596665, 0.0377878211, 0.0571392365, 0.060280066, 0.0824029818, -0.0290352013, -0.0291076396, -0.0550907739, -0.039162714, -0.0092303623, 0.01746675, 0.0360094085, -0.0013707723, -0.0625404939, 0.0037340319, -0.0417069495, 0.0065961489, -0.0165464133, -0.0551740453, 0.0122188265, -0.0319449604, -0.0056379978, 0.0052192956, 0.0050936691, 0.0617984757, 0.0575714707, -0.0222175177, 0.0164182279, 0.0054485733, 0.0423476771, 0.0399536006, -0.0564641841, -0.015439, -0.0080650114, 0.021801848, -0.0452416241, 0.0177203845, -0.0027872089, 0.0096742269, -0.0219076928, 0.0066599883, 0.0061914106, 0.0107287234, -0.0302695166, 0.0150008481, 0.0283246953, -0.0689494386, 0.0091838976, -0.0143423881, 0.0173329785, 0.0101703303, -0.0371874049, -0.0199368596, 0.0025846758, -0.0055686659, 0.0430773944, 0.0004531781, 0.0029574309, 0.0363389105, 0.001661104, -0.0122656859, -0.031763535, -0.0112265162, -0.0307739787, 0.0220483337, -0.0528327487, -0.0108783171, -0.0205580145, -0.0118671637, -0.00526215, 0.0151974503, -0.0326733515, -0.0050969804, -0.0397717915, -0.0625852495, -0.0199431665, 0.0239877477, -0.0071632685, -0.0179359, -0.006681399, 0.0924578905, -0.0096128974, 0.0108282939, 0.0058292057, -0.0778669193, -0.0138251148, 0.0204565749, 0.0030193317, -0.0228910819, -0.0365184247, -0.0061940677, -0.0344564021, 0.0096000144, -0.011013235, -0.0336678587, -0.0598142333, 0.0293645896, 0.0129799591, -0.0893454552, -0.0059738779, -0.0157536864, 0.0663538426, -0.0814847425, -0.0102638006, 0.0137223303, -0.0081962002, 0.0136840018, -0.0119328545, 0.0216863751, 0.0334270112, 0.0405572355, 0.0182897579, 0.0380844995, -0.0040330919, -0.0080633955, 0.0352053568, -0.0310710482, 0.0237492025, 0.0139918691, 0.0033633357, 0.0093499897, -0.0276523121, 0.0041105077, 0.0010235446, 0.0178975761, 0.0479195938, 0.0129940249, -0.0241461005, -0.0161704719, 0.0864624158, 0.0135645056, 0.0025214152, 0.0233639255, -0.047172796, 0.0289404057, -0.0052710571, -0.0253658891, 0.0528804623, -0.0075340294, 0.0193675514, -0.0436182022, -0.03710014, 0.0159856267, -0.0220165849, -0.0208563674, 0.0105331922, 0.0190652385, -0.0042371252, -0.0406850725, -0.0318368748, 0.0508800484, 0.0081090406, 0.0444453843, 0.012855689, -0.0936023444, -0.0231673308, -0.0512415133, 0.0050610611, 0.0398405977, 0.0179220103, -0.031285543, -0.015777899, -0.053845644, 0.037541721, 0.0672967136, 0.0518062972, 0.0092658736, -0.0583902821, -0.0335534848, 0.0130172381, -0.0139616048, 0.0058095404, 0.0218250249, -0.0181246269, 0.0233532079, -0.0169692021, 0.0157665685, -0.0219315086, 0.0064082798, 0.0371369943, 0.0134625928, 0.0156440288, 0.0001140355, 0.0010925491, 0.0078073833, -0.0198304541, -0.0054861451, -0.0117681557, -0.0000483055, -0.0209388379, 0.1036474556, -0.0602329038, -0.0129809109, 0.0190465376, -0.0977115184, 0.0078300843, 0.0271675214, -0.0177256595, -0.020468466, 0.0315345898, -0.0424657017, 0.0293099657, 0.0086516459, 0.0282588713, -0.0243766941, 0.0195307937, -0.0678530186, -0.0140206357, -0.0078948606, -0.0301925745, 0.0175631158, -0.075835377, 0.0070226272, 0.0137903169, -0.0260893758, -0.0279651713, -0.0110613899, -0.006859757, 0.0365511402, -0.0214531478, -0.0801741928, -0.0273527429, -0.0605416074, -0.0633774251, -0.0151371807, -0.0036875415, 0.0774604529, -0.0096967621, -0.0080466196, -0.0199607853, -0.0415144823, -0.0134819355, -0.0274514742, -0.0062196059, 0.055334691, -0.0399272777, 0.011320441, -0.0550581105, -0.0066081835, -0.0096010352, 0.0581203513, 0.0128164301, -0.0207177252, -0.0411714315, -0.0191461518, -0.015758222, -0.0519433804, -0.026641747, -0.0352948643, 0.0222192165, -0.0065211868, 0.0862319618, 0.0444702357, 0.0769534931, 0.0154736629, -0.0037237406, -0.0265198927, -0.0358259343, -0.0253965911, -0.0019710942, -0.0235195421, -0.0423934497, -0.1043439284, 0.0584651269, 0.0578318946, 0.017839659, 0.0152840745, -0.0485697426, 0.0276481789, -0.020374408, -0.056608323, -0.0086267823, -0.0141597548, -0.0146727655, 0.0446350947, -0.0124957208, -0.0082073072, 0.0309664216, 0.0062739677, 0.0033287925, 0.0095512262, 0.0017788162, -0.0429236703, 0.0258573368, -0.0316602811, 0.0051579783, 0.0683586225, -0.0151606947, -0.0015143728, -0.0508895963, 0.0181320179, -0.0236949343, 0.0888438746, -0.0678662211, -0.0041584298, -0.0007509813, -0.0319720246, -0.036328271, -0.0589237399, -0.0116546992, -0.0511756353, 0.0549467281, -0.0391842723, -0.0228933301, 0.0200056583, 0.0114193624, 0.0397313237, -0.0154550085, -0.0241622068, 0.0286346991, 0.0167268049, 0.0522861816, 0.0626277104, -0.001423295, 0.0206744671, 0.0130041158, 0.0538843907, 0.0286731403, -0.0097584091, -0.0402434096, -0.0383783355, 0.0199354365, -0.0012242455, 0.0118935043, -0.0214637928, 0.0745910332, -0.0237305332, -0.0291891377, 0.0728097111, 0.0038131499, -0.0392722934, -0.0065065762, -0.0562348329, 0.0514948629, 0.0170613583, 0.0101985708, -0.1168138608, -0.0215029065, -0.0264871344, 0.0068286536, -0.0148849264, -0.0569973961, 0.0156879034, -0.0657809004, 0.0275865886, 0.0268948618, -0.0000188557, 0.0594783463, 0.0098536639, 0.0230838489, 0.0046795616, -0.0525571965, 0.0154674174, -0.0306006279, -0.0088912221, 0.0422045402, -0.0445698239, 0.0127671408, -0.0364574976, -0.000351698, 0.0210303683, -0.0043696263, 0.052717261, -0.0034647258, -0.0556121022, -0.0192700122, -0.0095287142, 0.037281584, 0.0002832857, 0.0458692648, -0.0048963907, -0.0083250394, -0.0510496572, 0.0161297005, -0.0310023818, -0.0450972319, 0.0242878832, 0.0397024378, -0.0195181668, -0.0201315284, -0.0263603367, 0.0318752788, 0.0245851483, 0.0302723926, 0.0695078522, -0.0408811718, 0.0182198696, -0.0342244059, 0.0147766713, 0.004313475, -0.0614819191, -0.0543605164, 0.0136797279, 0.0149849756, -0.1121338233, 0.0017718265, -0.0219314303, 0.0296266526, 0.0450646989, -0.0586787648, 0.0235472582, 0.0072333892, -0.0799772292, 0.0085961446, -0.027889017, 0.0358599015, -0.018525213, -0.0199964512, 0.0528332889, -0.0112070311, -0.0129701793, 0.0296829399, -0.0497868694, -0.0390470959, 0.0383918099, 0.0427186862, 0.027980689, 0.0190234594, 0.025955582, -0.0407838635, 0.0278301835, 0.0544828847, 0.035715241, 0.0636320487, 0.0401451252, 0.0105861789, -0.0133838318, 0.0176971424, 0.0186922066, 0.0020239924, 0.0275497846, -0.012731039, -0.0262655988, -0.0335760005, 0.0016265685, -0.0244377498, 0.0219690669, 0.0166254137, -0.0061261193, -0.0110793654, 0.003299599, -0.0078097726, 0.0027831269, -0.0097932331, -0.0318460092, 0.046421703, -0.0035618262, -0.0276806224, 0.0908345059, -0.0545031205, 0.0379504263, -0.0408151709, 0.0207880959, 0.01810918, 0.0410829112, -0.0045628292, 0.0146843847, -0.0133323036, -0.011632273, 0.0142152486, 0.0390829183, 0.0216971282, 0.0641271472, 0.0347720422, -0.0294298176, -0.0233852863, 0.0556608289, -0.0630568117, -0.0403273031, 0.0438331775, -0.0019763166, 0.0005446108, -0.0174165871, 0.1204589978, -0.0018512961, 0.0050212592, -0.0008651745, 0.0395763665, 0.0082803145, -0.016159188, 0.0427590609, -0.0094904061, -0.0003698461, -0.0207953565, 0.0335577838, -0.0922086537, 0.0318485387, 0.0024726451, -0.0277053285, -0.0385170206, -0.0140108326, 0.0149363745, -0.0066459826, 0.0137282116, -0.0304093063, -0.052892942, -0.0145747699, 0.0437185764, -0.0337419063, 0.0395503119, -0.0353843495, 0.0270109028, 0.0367548391, 0.0138403531, -0.0096992673, -0.027353961, 0.0761829317, -0.0317336842, 0.028026564, -0.0331909209, -6.346542489e-33, -0.0049919174, -0.0145223811, -0.0373728201, 0.0571449064, -0.064815186, 0.0111255208, -0.0218421333, 0.0458644554, 0.0120113464, 0.0498752147, -0.040476732, 0.0395435616, 0.007826373, 0.0299637318, 0.0187982228, 0.0027170291, 0.0561981499, 0.0148520218, -0.0285634212, 0.0180731751, 0.0384345874, 0.0124292299, 0.101118423, -0.0969599783, -0.0044753384, 0.0287563596, -0.0244272351, 0.0038788267, 0.0386553816, 0.000654397, 0.010716415, 0.0402236395, 0.0327458344, -0.039480228, -0.0122604584, 0.0542333312, -0.0260102339, -0.019143844, 0.0485852398, 0.0259650107, -0.0280207228, -0.0351370983, 0.0242038313, 0.0075884131, -0.0245195143, 0.0256146286, 0.0274539907, -0.0305556543, 0.0552313365, 0.0164601207, -0.0642067194, 0.0056923809, -0.0249094386, -0.0282264855, -0.0511909425, 0.0374159962, 0.0154866166, 0.0140610654, -0.0726017207, 0.0354424529, 0.013471866, 0.01370929, 0.0328550301, 0.0578109846, 0.0130444961, 0.0897348672, -0.0028663555, 0.0954599455, -0.04361194, -0.0152451554, 0.0107837059, 0.0172886904, 0.050347019, 0.1055646241, 0.0000610031, -0.00796076, -0.0219228789, -0.0018834359, 0.038313508, 0.0305371881, 0.0417792872, 0.0222849641, 0.0131516838, -0.0029669695, -0.0294726957, -0.035237588, -0.010304777, 0.0024088924, -0.0169856157, -0.0086563621, -0.0178807899, 0.0029270034, 0.0075766011, -0.0142104905, -0.0114044212, -0.0101775695, -0.0596774034, 0.0285808314, -0.0038799122, -0.0383383594, -0.0212023593, 0.0399633236, 0.050198786, 0.029737575, 0.0483868383, -0.0177402552, 0.045261763, 0.0033086336, -0.0788506269, -0.0249057617, -0.0097919554, 0.0240032896, -0.0422313176, -0.0057856771, 0.0008573633, 0.0567137003, -0.0497854315, 0.0227601603, 0.0239639059, -0.0119725456, -0.0283736531, 0.0102099897, 0.0299694296, 0.0192879606, -0.0325276181, -0.0243156869, -0.0060065971, -0.0019785068, 0.0474233851, -0.0555422492, -0.0329521112, -0.0386440903, 2.758e-7, 0.0554893129, 0.0431110822, 0.0460037738, -0.0083925696, 0.0611395538, 0.0383544303, 0.0051337969, 0.0414574519, 0.0315274447, -0.0166525189, 0.0072835083, -0.0036292635, 0.0512253754, -0.010485894, -0.0762796476, -0.0279391799, -0.0658127666, -0.0013945041, -0.0160370581, -0.0178315602, 0.0682130083, 0.0201532003, -0.003526296, -0.016415799, 0.0070727896, 0.0255495664, 0.0777969584, -0.0778550506, 0.0386078544, 0.0144200353, 0.0202441141, -0.071901314, -0.0189690068, -0.0045928746, 0.0146886203, -0.0593874864, 0.0093299951, 0.0497610383, 0.0095039047, -0.0093473075, -0.0160840489, 0.0328689404, 0.0036185887, -0.0686556026, 0.0036061057, -0.0431346968, -0.0129277473, -0.0695313066, -0.0555689186, -0.0172011051, 0.0604545437, -0.0141135529, -0.0339033678, 0.0214888826, 0.0214000922, 0.0536350496, -0.032311298, -0.0792215541, -0.0151131572, -0.0491181985, -0.0469278358, -0.0129058259, -0.0405490138, -0.0089468975, -0.0273098461, -0.0018339159, 0.0620285422, 2.041224588e-34, 0.006023264, 0.033844173, 0.0044672731, 0.0086748656, 0.0350021385, 0.0171757564, -0.0183428004, 0.0239377134, 0.0232379846, -0.0844340175, -0.0248423219 ]
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.
Nollywood: Let's Go to the Movies!: 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.0453478657, 0.0467337407, -0.010544504, 0.0157074425, 0.0086029209, 0.0081763668, 0.0058262688, 0.0093030902, 0.0049670548, 0.0017479662, -0.0705676451, -0.005786072, 0.016792167, -0.0157253798, 0.0151011301, -0.0632751584, -0.0020183385, -0.0046406561, 0.0316530466, -0.0128910253, 0.0243869703, 0.0384102613, -0.0319537669, 0.0398084261, -0.0720725283, -0.0155663006, 0.0227597505, 0.029219605, 0.0273404997, -0.0408598036, -0.0165682007, 0.007680892, -0.003129543, 0.0297821779, 0.0000015994, -0.0378010198, 0.0268642176, -0.0093587348, 0.0084691485, 0.009169667, 0.0814712942, 0.01230196, -0.0550247692, 0.0102080666, -0.0056610769, 0.0178947747, 0.0752091408, -0.049767036, 0.0447456911, 0.0389905423, -0.0223524272, -0.034995161, -0.0036722296, -0.0092527494, 0.0191971119, 0.0274117608, 0.0140150758, -0.0181075167, 0.0430358835, -0.0400749221, -0.0739064589, 0.003750925, -0.0356121995, -0.0559430532, -0.0686991736, -0.0060624243, -0.0526364595, -0.0678533241, -0.0083340025, 0.0510891713, -0.0418838523, 0.0010420808, 0.0011116167, 0.0496789701, -0.0218899306, -0.0211601239, -0.0301249605, -0.0004980791, 0.0316182822, -0.0200514663, 0.0020393322, 0.0705328882, 0.0168561004, -0.0270286147, 0.064958185, 0.0297483373, 0.0242647883, -0.0105063505, -0.0075998572, -0.0230193455, 0.0284021515, 0.0020448843, 0.0653608739, -0.022568034, 0.0248311143, 0.0128943827, -0.0134566519, -0.0548337176, -0.0093112914, -0.1106731594, 0.0198307391, -0.0121359043, -0.0741465464, 0.047449138, 0.0110127125, -0.0051426394, 0.0263384264, 0.0110848434, -0.0182035062, 0.0125409756, -0.0012294154, -0.0217937753, -0.0118842479, -0.002403528, -0.0064783413, 0.0113678603, -0.0421331935, -0.0045515341, -0.0634900779, -0.0069624707, 0.0011358985, 0.000877214, 0.0051598116, -0.0519644655, 0.0300673377, 0.0315957032, -0.0283280127, 0.016646402, -0.0406505764, -0.0890144184, 0.0170637332, 0.0383299552, -0.0102853915, 0.0060035819, 0.0302515738, 0.0571206994, 0.0161287133, 0.0165659785, -0.0376550332, -0.0263807755, -0.0697811469, 0.0076467879, -0.0747290552, -0.0493097268, 0.0207053795, -0.0325322635, -0.0152621455, -0.0505738258, -0.0060753212, 0.0006515962, 0.0106254015, 0.0360913798, 0.0392405279, 0.0116977915, 0.0416003503, 0.0054606018, 0.0263148583, 0.0030434218, 0.0318685845, 0.030092461, 0.0322771557, -0.0100448038, -0.0081077656, 0.050757926, -0.0193016883, 0.043308083, -0.0548256971, -0.0308484975, -0.0252808183, -0.0061526797, 0.0092281764, 0.0386091284, 0.0273462888, -0.0177648421, 0.0584857352, 0.0296547916, -0.0059964084, -0.0007127906, 0.0467770249, 0.0603505559, -0.0315046534, 0.01479764, 0.0278473459, -0.0296746157, -0.0422385335, -0.0509610921, 0.0295217652, 0.0482317992, -0.025861904, 0.0073315604, 0.0006982235, 0.0126832193, -0.0050941207, 0.0021684815, 0.0106108366, 0.0358112976, -0.0753585771, -0.0014570933, 0.0518042222, -0.0398772992, 0.0419666134, 0.0031784698, 0.0500287302, 0.0271541849, -0.0005930329, 0.016392339, 0.0440595113, -0.0488676019, -0.021887375, 0.0147048254, -0.0473832935, -0.0431410968, 0.0687823966, -0.0543020032, 0.0368153714, 0.0483580157, 0.0265724994, 0.020824993, -0.0753348917, 0.0541973263, -0.0031727327, -0.0220779926, -0.0497346073, 0.0050777467, 0.0220386814, -0.0319845863, 0.0227838587, 0.031875886, 0.0727597922, 0.0589850098, -0.0455347933, -0.0197370611, 0.0122629311, -0.0331218839, 0.029379731, 0.0598077253, -0.0167701542, -0.0210202672, 0.0076848739, -0.0901511908, 0.0224757735, 0.057667993, -0.0096355127, -0.0399067812, 0.0757801533, -0.0071975742, -0.0256872773, -0.0255719796, 0.037586309, -0.0094697643, 0.0567547418, -0.0133425649, -0.015291133, 0.0197006315, -0.0180589613, -0.0089752087, -0.0118551562, 0.0335947163, -0.0673538223, -0.0401535146, 0.0250753257, -0.0268378351, 0.02540626, -0.009680816, -0.029254837, -0.0248872805, -0.0059964182, -0.0486775599, 0.001523028, -0.0036665564, 0.0134985996, 0.0119935973, 0.0192600787, -0.0321975276, -0.0220637787, 0.0388088115, -0.0676855966, -0.0043327319, -0.0180017017, -0.0639381483, -0.0215829816, -0.0054136761, 0.0272240601, -0.0171327405, -0.0475629531, 0.0473045781, -0.0069535174, -0.0353974253, 0.0145961083, -0.072263971, 0.0241843648, -0.0274196994, 0.0441306122, -0.0585488081, -0.0077020652, 0.0273069534, 0.032911893, 0.0239232127, 0.0020405473, 0.0155700529, 0.0313038528, -0.0117378719, 0.0444481596, -0.0085590398, 0.0101295365, -0.0161803905, -0.0030492682, -0.0592262223, -0.0202391408, 0.0178853218, 0.045817107, 0.0210147202, -0.0586061515, 0.0105151124, -0.0272045489, -0.0232394692, -0.0254712384, -0.0437664576, -0.0345535278, 0.0386112556, -0.0039245873, -0.0068185525, 0.0271634981, -0.0401980765, -0.0230326653, -0.0432775915, -0.0130308345, 0.0078673726, -0.0025412398, -0.0369625948, 0.0596612319, 0.0395219773, -0.0720379502, 0.0023412935, 0.0179837551, 0.058742553, -0.0084734354, -0.0145886159, 0.0049983412, -0.0314595252, 0.045896247, -0.0182597172, -0.0046455567, -0.0430793874, -0.0473939814, -0.0293197129, -0.0064151497, -0.0214523356, 0.0220688209, 0.0813838392, -0.0132099595, -0.009039931, -0.0054932786, 0.0239899587, 0.032960251, 0.0297932252, 0.066658169, 0.0026620349, -0.0402834117, 0.0048102243, 0.0667746589, 0.0089833047, -0.0453625396, 0.0160282273, -0.0202082284, 0.0397917479, -0.0033377991, 0.0137806097, 0.027913237, 0.0120857647, -0.0397446454, 0.0037300542, 0.0238109436, 0.0638314709, 0.0052549234, -0.013416986, 0.0435293652, -0.0656295046, 0.0243682116, -0.005176275, 0.0233059824, -0.0666545853, -0.0075841267, 0.012634756, 0.0325921327, -0.0019253757, -0.0244421437, -0.0090656262, -0.0724057704, 0.0567891821, 0.0429302864, -0.0126883835, -0.0056645609, 0.006994558, -0.0208744202, -0.0277911611, 0.0029323003, 0.0218652766, 0.0119859679, -0.0456756018, 0.0262699388, -0.0200169627, -0.0451921485, 0.05298049, -0.0063264775, 0.0305246115, 0.0024060395, 0.0121060945, -0.0520145558, 0.0006756542, -0.0254999492, -0.0435530096, -0.0008762204, -0.0070544365, 0.044055447, -0.0005864984, -0.0308870506, -0.0369228758, 0.0397674814, -0.0083325319, 0.0302953534, -0.0011713189, 0.0458222292, 0.0028612684, -0.0256618541, -0.0425323658, 0.0803189129, 0.024400698, 0.0462970622, 0.0241780989, -0.0574204177, 0.041360341, 0.0111023961, 0.0049895374, 0.0105551183, -0.0637890026, 0.0152265308, -0.0143141691, -0.1044960693, -0.0382030047, -0.0262181144, -0.0240734611, 0.0514391139, 0.0478294194, -0.0456735007, -0.011262673, -0.0064523788, -0.0007494804, 0.0153630814, 0.007742072, 0.0278656408, -0.056254521, 0.0057220003, 0.0333905891, 0.02126793, -0.0156277269, 0.0088885939, -0.0296562258, -0.0937820151, 0.0480183065, 0.0286852755, 0.0233752672, 0.0355907828, -0.0224732235, -0.06019333, 0.0441560335, -0.0172201637, 0.0104272887, -0.0126681244, 0.0428979807, -0.0262764581, -0.0167370792, 0.0124035794, -0.0182778593, 0.0531906039, -0.0185981337, 0.0226538256, -0.0843154639, -0.0094444919, 0.0130859045, 0.0126397032, 0.0226310622, -0.0395499729, -0.0265783295, -0.0477031395, 0.0198240541, 0.0346520394, 0.0407151021, -0.0083639212, -0.0110262819, 0.083009176, 0.0216170792, -0.0144710308, 0.0116089555, -0.048626624, 0.0053221188, 0.003963497, 0.0554187074, 0.067588903, 0.0170644429, 0.0288435556, 0.0360969082, -0.0127717834, 0.0569526218, 0.0079012588, 0.044876527, 0.0144555587, 0.0106485328, 0.000328399, 0.0250721611, 0.0189147722, 0.0683393255, 0.0591810606, 0.0364121534, -0.0080892257, -0.0100235613, 0.0629902408, -0.0808484182, 0.0529589653, -0.012352922, 0.0115432879, -0.0244836584, 0.0298654139, -0.0635950789, -0.0826062784, 0.0205837525, 0.0014089114, 0.0076965746, 0.0448245034, 0.0542152226, -0.0335438587, -0.0129715335, 0.077447921, -0.0063467259, -0.0014201537, -0.0010843271, 0.0170854405, 0.011872503, -0.0235339142, 0.0428213142, -0.0449904762, -0.0981463417, -0.009479139, -0.0671749488, 0.0854904205, -0.0171407033, 0.0213455986, -0.0168586485, -0.0062521338, 0.0271926858, 0.0093827648, -0.0420100726, -0.0337775871, -0.0271189958, 0.0028547074, -5.34479355e-33, -0.00350847, -0.007629653, -0.0570977777, 0.0368334763, -0.0315079913, -0.032321509, -0.0162411276, 0.0463353619, -0.014369593, 0.0268870909, -0.0031187579, -0.0017269251, 0.021607032, -0.0007614043, 0.00228151, -0.009473783, 0.0295908246, 0.0329985842, -0.0130774872, -0.0063681593, 0.0762702599, 0.0597331598, 0.0685667172, -0.0973597616, -0.0214671493, -0.0179260187, -0.0705127865, -0.021936059, 0.0501299016, 0.0304300599, 0.0205957033, 0.0940508991, -0.0007296908, -0.001144878, 0.0150516257, 0.0230542198, -0.0291088987, -0.0024388493, 0.0427471325, 0.0262753163, 0.0407111868, -0.0351906754, 0.0388604812, -0.0120961405, -0.0243113395, -0.0126619488, 0.0135305086, -0.045762457, 0.0181202162, 0.0062617399, -0.0812614039, 0.0197886974, -0.0502231233, -0.017587157, 0.0703022704, 0.038424544, -0.0062273592, -0.0344644785, -0.0370419435, 0.0197646786, -0.011278999, 0.0532364771, 0.0568963774, 0.0132172406, -0.0441759676, 0.0125127696, 0.0204900894, -0.063162908, 0.0404038429, 0.0217435248, 0.0151535133, 0.0006979556, -0.0154098077, -0.0075629987, 0.0045162998, -0.0662798211, -0.0006781463, 0.0131041054, 0.0271389782, 0.0407698154, -0.0185590275, 0.0342252292, -0.0282138139, -0.029839512, -0.0014519469, -0.0337392464, 0.0030936571, -0.056659773, 0.0299047511, -0.0872179121, -0.0133028431, 0.0215653684, 0.0249767043, -0.0159345642, 0.0452729836, -0.0163774639, -0.0320533402, 0.0257757436, -0.0023567735, 0.0542415902, -0.0149258422, 0.0458923355, 0.012758038, 0.0150807481, 0.0383351631, 0.0143040763, 0.0257105399, 0.0413292199, -0.0462047197, -0.0161719751, 0.0336810946, 0.0210898686, -0.0188785717, 0.0713901296, -0.0039026949, 0.0313030966, -0.0140162529, -0.0191455744, 0.0447707959, 0.0242292956, 0.0490630455, 0.0310313888, -0.0363431461, 0.0191239491, -0.0726579726, -0.0001917809, -0.0044604274, -0.0612493046, 0.076069504, -0.0515551083, -0.0266029593, -0.0228409823, 2.447e-7, -0.0403332636, 0.0179183036, 0.0172917712, -0.0150654409, 0.0209016446, 0.0403190628, -0.0176245831, 0.0256306846, 0.0329563282, -0.0176825561, 0.0145594282, -0.0609032139, 0.0776376277, 0.0269725919, -0.1100478321, 0.0244535748, -0.0982970819, -0.0187053308, -0.0552730262, 0.0229096785, 0.0054032588, 0.0731847286, -0.0207335074, -0.0444570296, 0.0083517609, -0.0322085805, 0.0074749049, -0.0174605902, -0.0060206777, -0.0174336992, 0.0361745879, -0.0397728868, -0.0279446803, 0.0335809961, -0.0179461613, -0.0060405405, 0.0508963726, 0.0475314297, -0.0633279532, -0.0180176944, -0.0092895273, 0.0406095721, -0.0630551651, -0.0263239518, 0.0222689211, 0.0847531632, -0.0863397717, -0.0232270192, -0.0395133719, 0.0165293571, 0.0094541768, -0.0372787826, -0.0272071715, -0.0199021101, 0.0247090906, -0.0214784574, 0.0015019515, -0.0280383006, 0.0181283001, 0.0102651184, -0.039613191, -0.0171107166, 0.0322577879, 0.0336606503, -0.0366775915, -0.0476232506, -0.0054931752, 1.970373274e-34, 0.0390383825, -0.0140856337, 0.0362911038, -0.0410645194, 0.0320402458, 0.0203568898, 0.0226138793, 0.0144638615, 0.0187480282, -0.0449869819, -0.0397621728 ]
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 .
Uplifting Lower-Income Data: Strategies for Socioeconomic Perspective Shifts in Vision-Language Models: 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.0039729676, 0.0884484202, -0.0257885456, 0.0107026538, -0.0072959471, 0.0355222188, 0.0286790226, -0.0286393929, 0.0011111356, -0.0201477427, 0.0278185159, -0.0182346441, 0.0400205776, 0.0350663327, -0.0092802271, -0.1150563881, 0.0649230331, -0.0142278792, 0.0205535963, -0.0195560679, -0.0076500867, 0.0120761497, 0.0012709612, 0.0159098022, 0.0251961928, -0.0054887091, 0.0236950889, 0.0165656898, 0.0172434617, -0.0132428762, -0.0079908073, 0.0688337535, -0.0086573148, -0.0016699862, 0.000002182, -0.0405371748, -0.0153991114, -0.017952662, -0.0001288189, -0.013248032, 0.0776284188, -0.0918812454, 0.0118595604, -0.001333092, -0.010518658, -0.0222579893, 0.0145234037, 0.0212662201, -0.0064347209, -0.0372595079, 0.0116720656, -0.0002006815, -0.027633775, -0.0019643796, 0.0105219148, 0.0088628782, 0.0149582326, 0.0079114065, -0.0247590784, 0.0291694477, -0.0149974758, 0.0825720653, -0.0004359054, -0.0110742105, 0.031435851, 0.0348879397, -0.0325770639, -0.0366376266, 0.0131220995, 0.0326834321, 0.049154751, 0.0154837202, -0.024473235, -0.0003546001, 0.0031573246, 0.0007005458, -0.057747744, 0.0175012443, 0.0007038594, 0.0067443228, -0.0020667706, 0.0419534519, 0.0094392356, 0.0143186329, -0.0054578474, 0.0231524296, -0.0027165459, -0.0202515069, 0.0077652545, 0.007688344, 0.0322368406, -0.0217539854, 0.0311916322, -0.0459982529, -0.0041392283, 0.0216560047, 0.0324454345, -0.0328959227, -0.0016117812, -0.0145030851, 0.0597549118, 0.0436847359, -0.0708044618, -0.0045146099, 0.0280338209, 0.0314681418, 0.0216262583, -0.007732952, -0.0135558909, -0.0299726464, 0.0122315194, 0.0055476469, -0.0312416386, -0.0318922624, -0.0706463009, 0.0375474095, -0.0422454588, 0.0042052893, -0.0173373222, -0.0080143781, -0.0662148893, -0.0253114402, -0.0172848254, 0.0040055527, -0.0216960758, 0.0351832435, -0.0264454558, -0.0092873471, -0.0182799529, -0.0747207478, 0.0245549642, -0.0179739278, -0.0060459948, -0.0129331136, -0.0189810991, -0.0190906692, 0.010102028, -0.0276632719, -0.0559547134, -0.028574178, -0.0097046373, 0.0277895946, -0.0002887736, -0.0666791126, 0.0180289634, 0.0174164344, 0.0640165284, -0.0562088341, 0.0084613981, 0.0240817983, -0.0432742201, 0.075486362, -0.000101907, -0.0063324338, 0.0192073341, 0.0112713268, 0.0410777666, 0.0764149427, -0.0293776095, 0.0082760537, 0.0600031018, -0.0072033321, -0.0220240317, 0.0122664478, -0.0038538647, 0.0226953588, -0.0549894199, 0.0154925827, -0.0127530545, -0.0158177465, 0.0395353734, 0.0128641799, 0.010467262, 0.0327981412, 0.0442208312, 0.0940406024, 0.0105093066, -0.0121706165, -0.043869704, 0.049618341, -0.0384505875, -0.0227471106, -0.005336001, 0.001497904, -0.0034636497, 0.0001752625, -0.0146156605, 0.0479499847, -0.0244872831, -0.0475259051, -0.0203858651, 0.0275400262, 0.0306301713, 0.0258025173, 0.0330704935, 0.019271506, 0.0370165892, -0.0228511039, 0.0584044158, -0.0642298311, -0.0264320783, -0.014535021, 0.0184198208, 0.0580843389, 0.0195209831, 0.0199351516, 0.0199775267, 0.0001894223, 0.0608302653, 0.0643510744, -0.0045720241, 0.0137763228, -0.0249717794, -0.0188764092, -0.0524270386, 0.0764224678, 0.013575647, 0.0176716875, 0.0198395569, -0.0176560655, 0.0375541896, -0.0527376682, -0.0229266528, 0.0010617162, 0.0038873053, 0.0511602387, -0.0169354044, 0.005364703, -0.0268023368, 0.0282410737, 0.0127144121, 0.0183465611, -0.0292518176, -0.0270997006, 0.0345285721, 0.0118774716, -0.0512910485, -0.0207033064, -0.0283178948, -0.0593862869, 0.0154948607, 0.0146573037, 0.0387786068, 0.0044510225, -0.0026214807, -0.0036663159, 0.0059448271, -0.0264229774, 0.0165041629, -0.0177322347, 0.0033612796, -0.0436428897, 0.0524867922, -0.0618040822, 0.0010839852, 0.022592606, -0.0138168782, -0.0000876684, -0.0738210529, 0.0418659411, 0.0342280418, -0.0042316769, 0.0131668374, 0.0283626337, 0.0169633869, -0.0349094048, 0.021610979, -0.0731419176, -0.0483345278, -0.0245258007, -0.0210714024, -0.0119436523, 0.0206832159, -0.0450928397, -0.0233081076, -0.0252201371, 0.0522191785, 0.0301986113, 0.0368269719, -0.0156855378, -0.0441744439, 0.0547028929, -0.0158569217, -0.0104392432, 0.0022544349, 0.0343572386, 0.0358363912, -0.0898452103, -0.0247639958, -0.0076638274, -0.0152830817, -0.0168069266, -0.0200788137, 0.0210114568, -0.006853662, 0.0281953216, 0.0718290582, -0.0156878084, -0.0094045382, 0.0379664265, 0.0246600397, -0.0539165698, -0.0758411288, -0.0213059429, 0.0162479095, 0.0316569954, -0.0027136421, -0.0744842663, 0.0094414549, 0.037384022, 0.006749643, 0.0026191478, -0.0406906605, 0.0316698812, -0.0663820654, -0.0613073371, -0.093577005, 0.0192528032, -0.0172164235, 0.0797172934, -0.0319748111, -0.0576698631, 0.0075871288, 0.0105613265, 0.018614877, -0.0220708922, -0.009482801, -0.0400821157, 0.0318046883, -0.0109966984, 0.0211362913, -0.0110979248, -0.0451507121, -0.0286852606, 0.0153166922, 0.0108450241, -0.026203787, 0.0816289783, -0.0637794808, -0.0122234104, -0.0188174341, -0.0471061692, -0.0431758091, -0.0506384261, -0.0049953992, 0.0260077752, -0.0277718902, 0.013127001, -0.0248752404, 0.0417131558, 0.0461110994, 0.0377719402, 0.0030724518, -0.0225543808, -0.0235029776, -0.0506699719, 0.0449560583, -0.0163077749, -0.0174730588, -0.0328042842, 0.0354387611, 0.0048729726, 0.0620162971, -0.0154838394, 0.0466130227, 0.0172490794, 0.0804533139, -0.0067041446, -0.0565993413, 0.0046269563, 0.0244490132, -0.0219426602, 0.0000618732, 0.085074313, 0.0018367063, -0.0698505864, -0.0058327396, -0.0687100291, 0.0298502911, 0.0219985079, 0.0142980618, -0.096384652, 0.0228922088, 0.0319969878, 0.0606343374, -0.0371490605, -0.0025527729, -0.020381365, -0.0813906267, 0.0667473376, 0.008201452, 0.0173242744, -0.0512530841, -0.0075762179, 0.0057123895, 0.0173775125, 0.0150942309, 0.0025181137, -0.0486735739, 0.0133463908, -0.0013061303, -0.0287405439, -0.0636354238, 0.0011483222, -0.0227939021, -0.0170643274, 0.0337568484, 0.0082393382, -0.0044705244, -0.0286161005, -0.0028367331, -0.0421288237, -0.0160225909, -0.027325796, 0.0171135403, -0.0058539952, -0.0159033034, -0.0318553038, 0.0214719549, -0.013483705, -0.0348945111, -0.0005512378, -0.0142828487, -0.0252337791, 0.0195563342, -0.0132744489, 0.0039144401, 0.0004171358, 0.0423107408, 0.043331489, -0.0222879294, 0.063382037, -0.0461053103, -0.019479176, 0.0345671549, -0.0661628842, 0.0506338663, -0.0447828844, -0.0489433557, -0.0113097057, -0.0996580273, 0.0232813582, 0.0372486971, -0.0105477087, -0.0246733986, 0.0404663384, -0.0030527883, -0.0502025187, 0.0537703224, -0.0728831068, 0.0467313193, 0.0026783631, -0.044980105, -0.021639267, -0.0235747565, -0.0088612596, -0.0180122387, -0.022129992, 0.0038727834, 0.0484643206, -0.035708677, 0.0223216228, 0.0109222364, 0.0030909698, -0.023256002, 0.0300696325, 0.0267392155, 0.0566011108, 0.0241822787, -0.0184499752, -0.0069911466, 0.0063920431, 0.0288940389, 0.0082067698, 0.0429204255, 0.0049611656, 0.0434987471, -0.0712512732, -0.0092948703, -0.0082089044, 0.0093550691, 0.1211707816, -0.0064019952, -0.0967852473, -0.0984372571, -0.0359017961, -0.0357162729, -0.0317168646, -0.031343285, 0.0175228491, 0.0303892549, -0.003380405, -0.0126784192, 0.0273156278, -0.0305070598, -0.0213134065, -0.0964481235, 0.0445767939, -0.0389569588, 0.0297540035, -0.0187222343, 0.0172217246, 0.0042174398, 0.0489384197, -0.028665157, 0.0668488219, -0.0031480289, 0.0641457886, 0.002017166, -0.0278385729, 0.0007929837, 0.0115481475, -0.0057737827, -0.0213528983, 0.0130080385, 0.0406215936, 0.0487409122, -0.0362140872, 0.0457065329, 0.003475416, -0.0175774917, 0.0000139126, -0.0201343875, 0.0466382988, -0.0531214252, 0.0539867505, -0.0281626582, -0.0133675206, -0.0207590982, 0.0524299145, -0.0149303442, -0.026502179, 0.0029038095, -0.0269645676, -0.0139795421, -0.0148042571, 0.0465777069, 0.0050807949, -0.0249015968, 0.0293392204, -0.0862592384, -0.0429635867, 0.0060064318, -0.0259413514, -0.0095250756, 0.0105702979, 0.0464039855, 0.0827253684, -0.0207270775, -0.0395314023, -0.0494537167, 0.0113067096, -0.0986924171, -0.0471265502, 0.0128278546, -6.161316538e-33, -0.0548340082, -0.0539363697, 0.0081628086, -0.0240534134, -0.0013546296, 0.048849348, -0.0102676312, 0.0418701172, -0.0174769368, 0.0297752153, 0.0074858242, 0.0200918131, 0.0357755274, 0.0113315452, 0.0081032123, 0.0144816535, 0.0271263476, 0.0508340634, -0.036216788, -0.0148197981, 0.0252343342, 0.0283160582, 0.0831220075, -0.0633546114, 0.0841755122, 0.0019415698, 0.0233484041, 0.0157392696, 0.096042268, 0.0219980218, -0.0281388722, 0.0591101125, 0.0313533805, -0.0168315396, -0.0504814945, 0.0554567166, -0.0825305805, -0.058537785, 0.048424501, 0.0420895182, -0.0737478286, -0.0475555211, 0.0031824682, 0.007628052, -0.0373010114, 0.002575218, 0.0379471034, -0.0560989715, -0.0096234558, 0.0270438809, -0.0333990008, 0.0436107367, 0.007860003, 0.0415328927, 0.0420312807, 0.0622700341, 0.0059040273, 0.0496085994, 0.0019239704, 0.0384979509, 0.0481361225, 0.0201881472, 0.105501458, 0.0206200574, -0.0081867343, 0.0404777043, 0.0259492714, -0.0378715545, -0.0128161767, -0.0694512874, 0.0679363608, -0.0482677743, 0.0388061479, 0.0885388479, -0.0154595235, 0.0029409623, 0.0047203409, 0.0231494233, -0.0120352432, 0.0140684443, 0.0215174295, 0.0097199362, -0.0421131216, -0.0275038704, -0.0894984752, -0.0404407643, -0.0226258598, -0.0056329649, 0.0612111539, 0.0064643361, 0.0071051847, 0.053332556, 0.0397919938, 0.0153748281, -0.0533205904, 0.0057430188, 0.0141467955, -0.0207972992, 0.0089471079, 0.0237251893, -0.0377321281, 0.006422231, -0.0086585972, 0.0225185789, -0.0126229702, 0.0256985649, 0.010028569, -0.0367430784, -0.0727235302, -0.0065979627, -0.0176707841, -0.0137543734, -0.0216405652, 0.0173476469, 0.0557489209, -0.0174080767, -0.0107223485, 0.0602563731, 0.0461988263, 0.0040481081, -0.0231068451, -0.0179784391, -0.055610422, 0.0619048811, -0.0076209987, 0.0128670484, -0.0385214984, 0.0333243236, 0.0470153764, 0.006995711, 0.0074551469, -0.0225085709, 2.649e-7, 0.0372987874, 0.0766629055, 0.008934347, 0.0220606476, -0.0109499311, -0.0022462744, 0.0288285147, 0.0049959482, 0.0115737673, 0.0346963555, -0.0215058345, 0.0203235019, 0.0599167682, 0.0234438758, -0.0680157542, 0.0335584581, -0.0347012691, -0.0029579992, -0.0590649322, -0.0014740673, 0.0235586073, 0.0443649255, -0.0356230326, 0.0046195169, -0.0126944836, -0.036877621, 0.0373909622, -0.0860186294, -0.0511638708, -0.0163850207, 0.0286490917, 0.0141097261, 0.0255000107, -0.0121669816, 0.001322064, -0.0065193097, 0.0491467714, 0.0250450391, -0.0021559617, 0.0304710269, -0.0381826535, 0.0056304052, -0.0305751227, -0.0726583228, 0.0429032445, -0.0135119325, -0.0074868328, 0.014674888, -0.0067715528, 0.0394213721, 0.0367402397, 0.0114077954, -0.0472842976, -0.0085502574, 0.0325121507, -0.016174389, -0.0366866104, -0.0024899186, -0.00625346, -0.0206517838, 0.0080131311, -0.0489480831, -0.0191397127, 0.0214036666, -0.0511270724, -0.0089508472, 0.0064382921, 2.670825791e-34, 0.0506941378, 0.0404752269, -0.0141354855, -0.0582951605, 0.0084777987, -0.0138378376, -0.0010229764, 0.0225373898, -0.0160798244, -0.0315374546, 0.0269204006 ]
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.
D-Rax: Domain-specific Radiologic assistant leveraging multi-modal data and eXpert model predictions: 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.0442652442, 0.0608282238, -0.0038099119, 0.0120282834, -0.0002017002, 0.0240419116, 0.0011727262, 0.0318817943, 0.0095906705, -0.008278952, -0.0349686667, -0.0330550037, 0.0023957323, 0.075193502, 0.0072892094, -0.0845852643, 0.0008097916, -0.0273299105, 0.0692638308, -0.0199152473, 0.032414712, -0.0049060863, -0.0233976953, 0.0414285772, -0.0107165305, -0.0195968002, 0.0099109337, 0.0043582749, 0.0022432411, -0.0387314223, -0.0230165925, 0.0657080114, 0.0082790609, -0.018556973, 0.0000021678, -0.0526138023, 0.0065223197, 0.0178289525, -0.0220017284, -0.0714677274, 0.0641385466, -0.0188585911, 0.0125150597, 0.0085575003, -0.0548353754, -0.0408933498, 0.0613275319, 0.0512985699, 0.0741421729, 0.0452680476, -0.024879124, -0.004033979, 0.0381637625, 0.0064858077, 0.0244194455, -0.0326425657, 0.0140342917, 0.0418871567, 0.0550260767, 0.0068250005, -0.0022123426, 0.0505940318, 0.0065159355, -0.0096708965, 0.0169525295, 0.0441394299, 0.0189003944, -0.0628704503, -0.021196818, 0.0804342628, -0.0062494725, 0.0268990919, -0.0115343556, 0.007249109, -0.0081843063, 0.0023630199, -0.0368341096, 0.0003775377, -0.0118406434, -0.0292136706, -0.0019034554, -0.0096546281, 0.0037630841, -0.0085087633, -0.0207677372, -0.0062547508, 0.0008602875, 0.0206180923, 0.0097234026, 0.0166703705, -0.0089619486, -0.0755129531, 0.0117264595, 0.0412337817, -0.117133081, 0.0064280126, -0.0280388836, -0.0068555842, 0.0464074053, -0.0406328514, 0.0207681954, 0.0027117881, -0.0579273142, 0.061308492, 0.0084673688, 0.0145199373, -0.02749338, 0.0362960882, -0.0222272053, -0.0228724405, -0.0253910162, -0.0193937942, -0.0262257215, -0.00091158, -0.0262810737, -0.0337730907, -0.0620361641, -0.0064072539, -0.028641263, 0.034096133, 0.0225245208, 0.076782383, -0.0297265798, 0.0111083193, -0.0556049235, 0.0473064333, -0.0014026687, -0.0108349808, 0.0040091029, -0.0709422976, 0.0329166278, 0.0322184488, -0.0070211231, 0.0137136681, 0.009675161, 0.0502131656, -0.0181716587, 0.0142580383, 0.0459957644, -0.0667610914, -0.034584716, -0.0484059975, 0.0313585289, -0.084151499, 0.0368111953, 0.0268284287, 0.0219257958, -0.0364297628, 0.0259807799, 0.0117843281, -0.044503618, 0.0911732987, -0.0644752756, 0.0087167639, 0.027301088, 0.0270904489, 0.0208081398, 0.0243705548, 0.0019894859, -0.0352744199, 0.0050373804, -0.0236736853, 0.0582459792, 0.0197921488, -0.022774335, -0.0386554115, -0.0493173264, 0.0332635939, -0.0212776214, 0.0759824663, -0.0188199785, 0.0386756398, 0.0110049676, -0.036185585, 0.0392542556, 0.0573829599, -0.002418322, 0.0127631081, 0.0128469868, -0.0114759132, -0.0090148449, -0.0280715246, -0.0306628775, 0.0523821488, 0.0124490848, -0.0149270678, -0.0285964347, 0.0090108709, -0.0259905048, -0.051680211, -0.0432251729, -0.0092738792, -0.0295332447, 0.0358076692, 0.0188110918, -0.0260288641, -0.0166487303, -0.0033210197, 0.0369388349, -0.0012407771, -0.0570043363, -0.067338936, -0.005737273, 0.094695963, 0.0224801227, -0.0266687945, -0.048405543, -0.0012402083, 0.0384601951, 0.0399348512, 0.0397855155, 0.0102958772, 0.0236179717, -0.0377306007, -0.028991567, 0.0406116545, 0.0232795291, -0.0219998471, -0.0189727433, -0.0109387338, -0.0510317311, -0.0029014547, -0.0199519247, 0.0200826656, -0.0209396631, -0.011404667, -0.0073395488, 0.023325894, 0.0118731847, -0.0014841547, -0.0193185918, 0.018079754, 0.0108154844, 0.0009956075, -0.0338039622, 0.0435090028, -0.0463502482, -0.0039557698, 0.0336563438, -0.0409455672, -0.0260669868, -0.0156434644, -0.0306386594, -0.0154377669, -0.0088058915, -0.0768932328, 0.0084495535, 0.0058386945, -0.002012297, 0.0568968095, 0.0298611131, -0.0080315722, 0.0396933518, -0.0136902379, -0.014303918, 0.0538754277, -0.0432960056, -0.0142739154, -0.0584964156, -0.0124784932, 0.0129875839, 0.0190634374, 0.0071262359, -0.0123837469, 0.0085364301, -0.0454253852, 0.0062350803, -0.0947592705, -0.0144318994, 0.0057325875, -0.0434314422, 0.024965113, 0.011945108, -0.0188460499, -0.0537370406, -0.0615028068, 0.0247820914, 0.073178187, 0.0336502679, 0.056089364, 0.0266050138, -0.0114359008, -0.0353065282, -0.0117733544, -0.0259747952, 0.0249605495, 0.0450365879, -0.0250783786, -0.0136345336, 0.0126330564, -0.0720788538, 0.0463253446, 0.004579321, -0.0240692236, 0.0108126448, -0.0551094599, -0.0333436541, 0.0643934608, -0.0287743919, 0.0565921217, 0.0221163426, -0.0106268553, -0.0318533443, -0.0015920213, -0.0138595551, -0.0626788735, 0.0061280155, -0.046658136, -0.0300269555, 0.0608839095, 0.0082506016, 0.0187927652, -0.0310497843, 0.0251226965, -0.0063307504, -0.0252247117, -0.0405079015, 0.0074491394, 0.014261282, 0.0529301427, -0.0187510066, -0.0563878454, 0.0958267227, 0.0108309798, -0.0045617316, -0.0456044935, -0.0414138064, -0.0293727908, 0.0222387556, 0.0212650131, 0.0435140915, 0.0191258155, -0.0075484952, -0.0332030654, -0.0189027023, -0.0172792468, -0.0685994551, 0.0128890313, -0.0579519942, -0.0024893244, 0.0076649925, -0.0163479745, -0.0247379933, -0.0039490624, -0.0431440361, -0.0049012047, -0.0064884056, -0.0052820202, -0.0653791502, 0.0083051277, 0.0072653051, 0.0050378167, 0.0066070538, -0.0338284671, -0.0086428495, 0.0277177449, 0.063668631, 0.0627556592, -0.0114715323, -0.0158775002, 0.0431180522, 0.08662121, -0.0443564653, 0.014798169, -0.057136409, 0.0195561163, 0.0001180126, 0.0415995903, -0.0015920119, 0.0345292538, 0.0532339327, -0.0513454154, -0.0019778355, 0.0936374962, 0.0189878661, -0.0601972751, -0.0200832877, -0.0237075873, 0.0100728208, 0.0010831209, 0.0166666228, -0.0753236413, -0.0384050682, -0.012836894, 0.0124854306, -0.0094822617, -0.0294398144, 0.0025616025, -0.0233711805, 0.0712021366, -0.0234840997, -0.0158554725, -0.0387798063, -0.0167998448, 0.0257320572, -0.0077178753, -0.0159578305, -0.0408546031, 0.0110072885, -0.0081908749, -0.0148265483, -0.0338547789, -0.0449151956, 0.0465509184, -0.0386085548, 0.011520138, 0.0504090153, 0.0394331254, -0.0149100237, -0.0523171127, -0.043322593, 0.0689613521, 0.0429170094, 0.0050714598, 0.077192679, 0.0098567121, -0.0145533755, -0.0676325113, 0.0491601676, -0.0157488752, 0.0116510019, -0.0048816232, 0.0759461746, -0.0334786698, -0.0187408943, -0.076208055, 0.0316879004, 0.0318509117, 0.0299117398, -0.0072007808, -0.0203432981, -0.0373136401, -0.0134309605, 0.077734299, 0.0063143424, -0.0540863909, 0.0439007543, 0.0024029496, -0.0269095823, -0.0474579707, -0.0270131864, 0.0435104407, -0.0219358727, 0.0094935615, 0.0123210968, 0.0066615227, 0.0103061255, -0.0394493639, 0.0753173456, 0.0175851267, 0.0287683085, -0.01886186, -0.016812386, 0.0278939102, -0.0091647692, 0.0086027514, 0.0449567251, -0.0385073647, -0.0015096044, -0.0117339324, 0.0734037906, 0.0259147566, -0.0058316267, -0.0080848653, -0.0496941768, 0.0390889198, 0.0427251607, -0.0305363238, 0.002823622, 0.0033088878, -0.0124854343, -0.0130726108, 0.0187186599, -0.008764754, -0.0010558477, -0.0119370809, 0.0049090264, -0.0443015434, -0.0562935174, 0.030182343, 0.0262223203, 0.0198826585, -0.0090327682, -0.0175174046, 0.0136650139, 0.0036087045, -0.0278579537, 0.0083521269, -0.0360554047, 0.006705157, -0.0035330683, -0.0176909342, 0.0234769229, -0.0239927471, -0.0570178218, -0.0631478503, -0.0463149957, 0.0474532805, 0.0528278425, -0.0492907204, 0.0562367439, -0.0030754567, 0.0165390708, -0.0107860304, 0.012960365, 0.0226941537, 0.0228563696, 0.0819217563, 0.0045545478, 0.0019531116, -0.0048177666, 0.0470853187, -0.006042968, -0.1111140624, -0.0022210905, 0.0456546023, 0.0350240767, 0.0192124639, -0.0194940586, -0.0178296417, 0.0135817351, -0.0037838323, 0.053720545, 0.0023128428, -0.0233666189, 0.0873661041, -0.0003938967, 0.0213563573, -0.0372673571, 0.064703472, -0.0122541795, 0.0234086383, -0.0139439525, -0.0451139249, -0.05656619, -0.0302129108, 0.0229608305, -0.0044653248, -0.0446866602, 0.030510433, -0.0407886431, -0.0611829087, -0.0072194431, -0.0075432896, -0.0374508053, -0.0400095321, 0.0548786372, 0.0522555001, 0.0150302732, -0.0473486371, -0.0055351858, 0.0517829023, -0.0409434363, -0.0071928329, 0.0069989436, -6.230236874e-33, 0.0012019607, -0.0560543761, 0.0652977452, -0.0545408688, 0.0396435112, 0.0178826191, -0.035115134, 0.0116223516, -0.0180206355, 0.033740744, -0.0217250045, -0.0061333654, 0.006976299, 0.0499423519, 0.0038668888, -0.0193118937, 0.0156428143, -0.0063262344, 0.0029404715, 0.0111367535, -0.0260803476, 0.0061733709, 0.0164599363, -0.1398697793, 0.0118279075, 0.0259683561, 0.0083088055, 0.0331893004, -0.0192669388, 0.0512928776, -0.0533570834, 0.0470959283, 0.0313940756, -0.0193665158, -0.0192646794, 0.0383444428, -0.0439549722, -0.0296848044, 0.0041955272, 0.0260148477, -0.0878295153, 0.0324108563, 0.0256133527, -0.018827714, 0.0425563194, -0.0322270095, 0.0565286204, -0.0275929719, 0.0101335831, 0.0328393318, -0.0231528189, 0.036890354, -0.004081124, -0.0351669863, 0.0091029648, 0.0100307716, -0.012694533, 0.0134343002, -0.0267343279, 0.0267197024, 0.0590112023, -0.0069245151, 0.0434033051, -0.0024980633, -0.0344201326, 0.0455629155, 0.0809715167, -0.0541498102, -0.0459646061, 0.002526884, -0.0591625609, 0.092143029, 0.0485903323, 0.0431315489, 0.0157219321, 0.020729661, -0.0504433252, 0.0165160596, -0.0746307448, 0.0911292657, 0.0075072814, -0.0153880501, -0.0532259904, 0.0107331425, -0.0043219854, -0.0059705325, -0.0450405218, -0.0223493781, 0.0317992084, 0.0100431861, 0.015363697, 0.0309102312, 0.023001885, -0.0021901124, -0.0108772786, -0.033328861, 0.0441126004, 0.0223224331, -0.0122282468, -0.0000345702, -0.0086164791, 0.0050201607, 0.0307353698, -0.0294842627, 0.052748315, 0.0250650551, 0.0039023089, 0.0007394975, -0.0572358593, 0.0036633825, -0.002491493, 0.0036665271, -0.0125177624, 0.0298105907, 0.0414240547, 0.0198617596, -0.0400707871, 0.0513761789, -0.0059974105, 0.026086295, -0.0538289025, -0.0655743405, -0.021037709, -0.0177601986, -0.0549584553, -0.0215324294, -0.0541435853, -0.0347747095, 0.0535028502, -0.0473289341, -0.0233577676, 0.0031110665, 2.859e-7, 0.0526313595, 0.0585580505, 0.0019543678, 0.0076769143, 0.0230973568, 0.0332476795, -0.0135333175, 0.0216764584, 0.0402603149, -0.0532857664, 0.0029923513, 0.033716429, 0.000822302, 0.0556605123, -0.0251107942, -0.0463749245, -0.0121671846, 0.011779367, -0.0409322083, -0.006914848, 0.0900338814, 0.0839397162, -0.0397626683, -0.0515180007, 0.0339532048, -0.0185313411, 0.0351321474, -0.0498073883, 0.0231963098, -0.0002943491, 0.029877631, 0.0130968615, 0.005181714, 0.0691085979, 0.0033295627, -0.0328297764, 0.0007471497, 0.0718437359, -0.0681772009, 0.0006001274, 0.0051608784, 0.0138416532, 0.0085742977, -0.0394825898, 0.0511606224, -0.0558200032, -0.031618312, -0.0150190536, -0.008385512, -0.019268306, 0.0589190088, -0.0539306141, -0.029853113, 0.0184768755, 0.0340156332, 0.0126120271, -0.036729835, -0.0624189563, -0.0151961213, 0.0049626394, -0.0231066756, -0.0111271665, 0.0076423022, -0.0361019373, 0.0121795665, -0.0550271645, 0.0080971327, 2.307276383e-34, 0.0147007275, 0.0360869281, 0.0059631006, 0.0296147913, 0.0375282839, -0.0104128439, 0.0185221806, 0.0377715081, 0.0289150774, -0.0680892467, -0.0191643797 ]
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.
Towards More Realistic Extraction Attacks: An Adversarial Perspective: 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.0936194733, -0.0360828489, 0.0709188655, -0.0523379371, 0.0225807205, -0.0216823649, 0.0231876411, 0.0029502492, -0.0420903787, 0.0112050688, -0.0113409143, -0.0004166413, 0.0062734494, 0.0746511295, -0.022246968, 0.048284024, -0.0441619344, 0.0009231021, -0.0063494542, 0.009545587, -0.0312713608, 0.0213568639, 0.0056177275, 0.0057301698, 0.0002085807, 0.0068230368, -0.0130158067, 0.0165908411, -0.0066493885, 0.0037069281, 0.0226141475, -0.023856217, 0.0699173436, 0.0000019396, -0.0210009217, -0.0410445631, 0.0016958216, -0.0783601329, 0.0345299803, 0.0018784719, -0.0278329663, -0.0125848912, -0.0131675443, -0.0263982024, -0.0157118812, 0.0166201293, 0.0476068407, 0.0485260375, 0.0812370703, -0.0185761228, 0.0062789144, 0.0244449731, -0.0390058197, -0.0264844541, -0.0341515839, 0.0532962829, -0.0190888289, -0.0233393013, 0.0046449741, 0.018699903, 0.0552836694, 0.0111418013, 0.0257991906, -0.0729822665, 0.049772013, -0.0169430487, -0.0110111795, -0.0151941283, 0.0782810524, -0.0428144, 0.0167112369, 0.0242074169, 0.0043914127, 0.0095771402, 0.014893705, -0.0298868921, 0.0262510348, -0.0123413932, 0.0031385641, -0.0029092501, -0.0097530084, 0.0525349453, -0.0095267948, -0.0171411466, -0.0217391886, 0.0327807888, -0.0359172858, 0.0192001499, -0.024662897, 0.0005307664, -0.0567813329, 0.0018537901, -0.0235107727, 0.0528965928, 0.0432656929, -0.0778077021, -0.0403727144, 0.0337314196, -0.0268690307, 0.0500834212, 0.0081067076, -0.035876859, 0.0446111485, -0.0184736308, 0.0302882642, -0.0333764143, 0.0574450493, 0.0304332171, 0.0180989187, -0.0286331996, -0.0243295208, 0.011335751, 0.0262514539, 0.0209747404, 0.0230362229, 0.0071672164, -0.0062239445, -0.0334971137, 0.0325420164, -0.0609578975, 0.0024768624, -0.0262469538, 0.0034164579, 0.0478354841, -0.0296949893, -0.0289665814, 0.0049081226, 0.0231871996, -0.1259635836, -0.0590648912, -0.0031313857, -0.0079705017, -0.0428795815, -0.0133155454, 0.0948712975, 0.0044360687, -0.031201316, -0.0368056595, -0.0555225275, -0.0308681335, -0.0258458983, 0.0009390556, -0.0481496006, 0.0172301009, -0.0284728445, -0.0174371116, -0.0819042251, -0.0037085777, 0.0153978886, -0.0860618949, 0.0756851286, 0.0087245516, -0.0253446549, -0.0005647452, 0.0320027508, -0.0177011006, 0.0344820134, -0.0033035369, 0.0458757244, 0.0692992359, 0.0239058286, 0.0442539491, 0.0673255548, 0.0250884015, -0.002522239, -0.0204672366, -0.0008306887, 0.0368893445, -0.0575859807, 0.0160988625, 0.0853127763, -0.0514560677, -0.0788633749, 0.0905900449, 0.0432225466, -0.0346027426, 0.0289991722, -0.0003046021, 0.0047995709, 0.0325281434, 0.0655875802, -0.0650861114, -0.0418458097, -0.0529098511, -0.0043513733, -0.0044754995, 0.0200097486, 0.0156655833, -0.0096694408, -0.0056375577, -0.0121644884, 0.0210574809, 0.0118791116, 0.0107928133, 0.0444861464, 0.0144522814, 0.0378046595, 0.0276057478, -0.0367267281, -0.0115901399, -0.0445368104, -0.0194597542, -0.0152116194, 0.0593190268, -0.0274265632, 0.0139019154, -0.0037159049, -0.0219284091, -0.0165970121, 0.0389158167, -0.0167430248, 0.0599137694, -0.0238017682, -0.0296641644, -0.0160067677, 0.009579815, 0.0401440635, 0.0331424065, -0.0064314269, 0.0095805516, -0.006212085, -0.0364276543, 0.0323687494, -0.0129314521, -0.0913050547, -0.0170331225, 0.0128494157, 0.0168061312, -0.0047853845, -0.044111032, 0.0259282123, 0.062555857, -0.0080842255, 0.0105149262, 0.0072882287, -0.0281560086, 0.0081000598, 0.0318678133, 0.0313412026, -0.0157341026, 0.0373472199, -0.0104047684, -0.0008530478, 0.0056052054, -0.017278837, 0.0229936931, -0.0156526938, 0.0162269566, 0.0094884904, 0.0638178438, -0.0519251712, 0.0686631203, -0.005554169, -0.0322257355, 0.0117101753, -0.0158782639, -0.012766202, -0.0482340604, -0.0533591285, 0.0478689969, -0.025754014, 0.018301649, 0.0148145678, -0.0403404608, -0.034255255, -0.0252793655, 0.0023520503, -0.0008414994, -0.0102415551, 0.0438416153, 0.0046884832, -0.0030596787, -0.0461465381, -0.0229220334, -0.001009837, -0.0346806087, -0.0408526659, 0.0450858474, 0.0179512985, 0.0323528834, -0.0163927432, -0.0544360504, -0.0090138614, -0.0007649466, 0.062542364, -0.0324535966, -0.0505339205, -0.0322727934, 0.027233528, -0.0074677244, 0.0520030186, -0.0237425286, -0.0134942615, 0.0086963279, -0.0118922144, 0.0094753839, 0.0690573603, 0.0260330103, 0.0425494984, 0.0446556583, -0.0221731309, -0.0503558107, -0.0228541512, -0.0041458746, -0.0148940785, -0.0157948658, 0.0021528769, 0.0410848744, 0.0281497277, 0.0385288075, 0.0213362817, 0.0239556152, 0.041765891, -0.0050978619, -0.0297323689, -0.0176462214, -0.0085316533, -0.0741263181, -0.0065430431, -0.0471163429, -0.0450095758, 0.0737067237, -0.0429442413, 0.0258913897, -0.0123123955, -0.0292843413, 0.0518132225, 0.0620358847, -0.0094951475, 0.0032882895, 0.0723994598, -0.0513516031, -0.0591915064, -0.0437079556, 0.0374366641, -0.0506193824, 0.0573205724, -0.0230953228, -0.0116019901, -0.0102229575, -0.0265832189, -0.0780622289, -0.0676442906, 0.0073724613, 0.0050553987, 0.0036405998, -0.0008391832, -0.0056337044, -0.0335888378, 0.038090203, 0.0210456252, -0.0368703045, 0.0089637088, -0.0271853805, 0.0917874202, 0.0647035018, -0.0378247797, -0.0007564639, -0.0417542793, 0.0118922135, 0.1136438996, 0.0270632673, 0.0344583616, -0.0122205075, 0.0046872087, 0.0195708871, -0.0172511097, -0.0069839326, 0.0236477572, 0.0312038735, -0.0745198876, -0.0255487375, 0.0533204414, 0.0029725477, -0.0146763092, 0.0036334624, 0.0175605714, 0.0387343131, -0.0209609699, -0.0106026502, -0.0632860884, -0.018007813, 0.0340946689, 0.04668938, -0.0102374591, -0.0342035927, -0.0001624791, -0.1051201969, 0.0012406743, 0.0123225488, -0.0243183281, -0.0262348745, 0.0027935996, 0.0351951309, 0.0027436696, 0.0428115651, 0.0073269894, -0.006755786, 0.0118923951, 0.0393458791, -0.0295485221, -0.0497601442, 0.0164391045, -0.0584698021, 0.0362660997, 0.0642315075, 0.0207508691, -0.0197481811, 0.0118699968, 0.0301876087, -0.035973724, -0.0368579663, 0.0210016407, 0.0848501101, 0.0024191346, -0.0127764354, 0.0257337671, 0.0337918922, 0.0445287228, -0.0308482312, 0.0405181721, 0.0129809668, -0.0100190984, -0.0172248445, -0.003315167, -0.0315712094, 0.0255369823, 0.0779897943, 0.0350217484, -0.0108865798, -0.0208509918, -0.0540457256, 0.0293852016, -0.0394419171, -0.0288254395, 0.0129969921, -0.0082389321, -0.0346524715, -0.0605933741, -0.0454009995, -0.0178538952, 0.0301288944, 0.0342025124, 0.0020359412, -0.0079331845, 0.0254065748, -0.0340737365, -0.0106581021, -0.0417860374, -0.0061129564, -0.0203179419, -0.0056897891, -0.0195456538, 0.0082392888, -0.0203793105, 0.0354061313, -0.0932182148, -0.0889323577, 0.0475006253, 0.0320140161, 0.0245769192, 0.0689665824, -0.0068282606, -0.0440970622, 0.0525662862, 0.0220734421, -0.0183029044, 0.0010598612, 0.0860717818, -0.0496082082, 0.0266851336, 0.0502931178, -0.0302165914, -0.0091450932, 0.0741311908, -0.015337918, -0.0636075735, -0.0111276004, 0.006021732, 0.0437024087, 0.058354117, 0.0128345294, -0.0027789893, -0.0082670292, -0.0040238998, -0.0152932778, -0.015295554, -0.0126929786, 0.0294592585, -0.006634641, 0.0131099718, 0.0148575455, -0.0124456268, 0.0182446893, 0.0397771932, -0.0412981249, -0.0293064751, 0.0210315511, 0.0325183198, 0.0366983227, 0.0010407917, -0.0127274217, 0.0595280603, 0.0015859073, 0.0386693962, -0.0338977575, 0.0158603918, -0.0016689593, -0.0322638862, 0.0005052081, 0.0229752362, -0.0842918232, -0.0200863145, -0.0022693523, -0.0158516429, 0.0194224548, -0.0568167046, 0.0329683349, -0.0185030159, 0.0017437976, -0.0192981064, -0.0353234038, -0.013302532, -0.0105365915, 0.0161607601, 0.0178277101, -0.032239791, 0.0642498806, 0.0603962727, -0.0230249055, 0.0613477863, -0.0155413393, -0.026682049, -0.0397892892, -0.0268103611, 0.0326285437, -0.0031215432, -0.0342849903, -0.0475078896, -0.0476581044, -0.0853182375, 0.0065268031, 0.0075263712, 0.0261333026, 0.0166107249, -0.0171147194, 0.0622250251, -0.0017130347, 0.0220518988, -0.0609911866, 0.0659209415, 0.0397718213, -0.0382346734, 0.0161246527, -5.926891373e-33, 0.0149907656, 0.0312873013, -0.0302824099, -0.0114306211, 0.019512089, 0.0379463658, -0.052006647, -0.0101338644, -0.0445550606, -0.0174137522, -0.0212579668, -0.0138034578, 0.0104556791, 0.0139263039, -0.0395406522, -0.0418774895, 0.0067824773, 0.0001803306, -0.0324657187, -0.0066623697, 0.0801382735, 0.0517723896, 0.0465475321, -0.0832961127, 0.0417395756, -0.0145874852, -0.0197948422, -0.0330922827, 0.0182384029, 0.0630612373, -0.0088284547, 0.0083054155, -0.0139984451, -0.0230606254, -0.020889882, 0.0272767153, -0.0713339448, -0.0171064138, 0.002281907, -0.0142531153, 0.0094153248, -0.0385475829, 0.0366790257, -0.0344824232, 0.0120108025, 0.0004984406, -0.0095606577, -0.0228519142, -0.0395523533, 0.0116160866, -0.0303694401, 0.0182531066, 0.0306345429, 0.0112623898, 0.0496984199, 0.0095770769, 0.0293223523, 0.0000480536, -0.0754022524, 0.002335286, 0.0315078609, 0.05022946, 0.0379472338, 0.0122511964, 0.0035742263, 0.0887738019, 0.0249897949, -0.0324282609, 0.0260167047, -0.0062028095, 0.0237346608, 0.0446863435, 0.0151186455, 0.0349087007, 0.0587944537, -0.0328507386, -0.046147272, -0.0001340433, 0.028924996, 0.0323375277, 0.0158075057, -0.0071802507, -0.0805424154, -0.0005703162, -0.0028694379, -0.0424802415, -0.0050710058, -0.0150722088, 0.0332141593, 0.0018438543, -0.0352482013, 0.0294393711, -0.0068848445, -0.0317574851, -0.0009938981, 0.0308652595, -0.0328572616, -0.0361735746, -0.0058598206, -0.0030670231, -0.0087772096, -0.0110040298, 0.0000066795, -0.0544076934, 0.0378990583, 0.0318341814, 0.0594419613, 0.0281793475, -0.0702648163, -0.0157188028, -0.0209940262, 0.0420205258, 0.0254194327, 0.0362848938, 0.0530105047, 0.0141105633, 0.0003593085, -0.0164650436, 0.0601015463, -0.0014368701, -0.0380288512, 0.0553289764, -0.0006272991, 0.0188085418, 0.0095757917, -0.0317315646, -0.0033547599, 0.051936917, 0.044301711, -0.0667046532, 0.0224092826, -0.0209991317, 2.654e-7, 0.0089742681, 0.0142317871, 0.0455786772, -0.0242984779, 0.0301796943, 0.0632419363, -0.032759171, 0.0385216586, -0.009526995, -0.0252845883, -0.0288562384, 0.0087402454, 0.0459060445, 0.043493744, -0.0630002394, -0.009000428, -0.0737160146, -0.0161305666, -0.0469227359, -0.040181689, 0.0386229567, 0.1241375953, 0.0301357042, -0.018319482, -0.0331053063, -0.0791692287, -0.0131606366, -0.0091609946, 0.0033009318, -0.0065772431, 0.065770328, 0.0253485832, 0.0164795574, 0.0165843964, -0.0476883203, 0.0165349152, 0.0152777052, 0.0444219075, 0.0234135743, -0.0393382199, -0.057653714, -0.0485705733, -0.0112952692, -0.0414391831, 0.0711654648, -0.0249118265, -0.0267525781, -0.0340796895, -0.0342271104, 0.002889683, 0.0006045903, 0.0007407228, -0.0460096784, 0.0349097326, 0.0099699087, 0.0234328303, -0.012786204, -0.0846126527, -0.0025642884, -0.0273627378, -0.0103515768, -0.029647002, 0.0104659004, 0.0018651215, -0.0130824698, -0.0434402898, -0.0034291204, 2.661532269e-34, -0.0288394727, -0.0137875518, -0.0029614803, 0.0004601194, 0.0170330964, -0.0141262328, 0.0281359944, 0.0248857941, -0.0399583094, -0.0473887995, -0.0491908491 ]
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.
MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention: 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.0124035226, 0.0452633612, -0.0049309917, 0.0391971543, -0.0590715073, -0.0122331204, 0.0202353578, -0.0126101654, -0.0194511004, -0.0487964824, 0.0013101558, -0.0842293203, 0.021252472, 0.0236699618, 0.0346645825, -0.0134012187, 0.053487543, -0.0573987812, -0.0083746519, -0.0098453425, -0.013537473, 0.0004134537, -0.0039468976, 0.02103482, -0.0151194613, -0.0175329484, -0.0332137085, -0.0047560721, 0.0103368498, -0.0447208658, -0.0272588823, 0.0500506572, 0.0069416347, 0.0384958684, 0.0000022714, -0.0546308011, 0.0227267351, -0.0147063099, -0.040088091, 0.0318709761, 0.0099869398, 0.0324676484, -0.0044641839, -0.0057188836, -0.000969023, 0.0024859933, 0.0642209649, 0.0167116299, -0.0013186933, 0.034812171, -0.0103933373, -0.0143932467, 0.05627615, -0.0637592599, 0.0288786851, -0.0707194358, 0.0276980512, -0.0564194955, 0.0122244209, -0.027059637, -0.0284484793, 0.0434885137, 0.0497969389, 0.0201302599, 0.0146699427, 0.0571026579, -0.0094319265, -0.0281905904, -0.0264177117, 0.0673698112, -0.0478030145, -0.0185440276, -0.0023371202, 0.0078711463, 0.0072492105, -0.056462273, -0.0247351658, 0.0418459959, -0.0092125926, -0.0125021869, 0.0628883019, -0.0063007674, 0.0274170917, 0.0050559663, -0.0744773, 0.0640530959, 0.0565666854, -0.0148613425, -0.0341645107, -0.0209185444, -0.0483008586, -0.0978128687, 0.0038395026, 0.0344368108, -0.02624893, 0.0127623267, -0.0752239525, -0.0145973964, 0.0197888352, 0.0127036069, 0.0419995971, 0.0791118219, -0.0425558612, 0.0483140424, -0.0563797466, 0.0149486093, -0.0294989496, -0.0049667889, -0.0425548069, 0.0139383906, 0.0422181152, 0.0199498609, -0.0134269968, 0.0155467158, -0.0429520905, -0.0506430194, -0.0195866339, 0.0242286827, -0.014062875, -0.0096321534, -0.0183936171, 0.0208794698, -0.0273016579, -0.0020421068, -0.0226445142, 0.0329958946, -0.0443212464, 0.0238249041, -0.001979952, -0.069214806, -0.0274089705, 0.0356149934, 0.0345732756, -0.0532471128, 0.0228019878, 0.0685359612, 0.0004939047, -0.0629460663, -0.0373848304, -0.0108417794, 0.0028649052, -0.0681453571, -0.0122342054, -0.0928749591, 0.0213305801, 0.0174417384, -0.0090531139, -0.0055999779, 0.0303199738, 0.052910611, -0.0227716621, 0.0494395085, -0.0090027405, -0.0085018985, 0.0067453058, -0.0117988577, 0.0278155357, 0.0306682289, 0.0010619382, 0.0561381951, 0.0085174823, 0.0126453619, -0.0053037051, 0.0364359915, 0.0578099564, 0.0276718121, -0.0300751254, 0.010997694, 0.0278785508, 0.0425899997, 0.0573646799, 0.0616181418, -0.0259148479, -0.0502503291, 0.0495427772, 0.1011120677, -0.027809184, 0.0082518402, 0.0504516736, -0.0193144269, -0.0229648929, -0.0123105068, -0.0499003045, 0.0353568755, -0.0155937318, 0.0410458297, 0.1086239517, 0.0584012866, -0.017174881, -0.0044982554, -0.0014815428, -0.006816091, -0.0413889736, 0.0318720639, 0.0269774664, -0.0248249937, -0.0572082512, 0.0461244881, 0.0543017611, -0.035718888, -0.04520211, -0.0331359133, 0.0507236384, 0.0453974195, 0.0144480811, 0.0071146982, -0.0614099428, -0.0187982582, 0.0049496978, 0.023731472, -0.0236037597, 0.0211975798, 0.0098692961, -0.0521921292, 0.0237830784, 0.0217072442, -0.0012434624, 0.043124482, 0.0388833731, 0.0149053326, 0.0171959065, -0.0172118917, -0.0151555464, 0.0246079341, -0.0178576093, -0.0535148829, -0.0207583103, 0.0222160835, 0.0406753533, 0.0058517386, 0.0202889871, 0.0022659672, 0.0466255024, -0.056333635, 0.0308439657, -0.0340525992, -0.1041245982, -0.0297388751, 0.0556488335, 0.0136648025, -0.0179275349, 0.0064824172, -0.0216655079, -0.0451191291, 0.0030306426, -0.0397334956, 0.0471423417, -0.0324135832, 0.0190806668, 0.0363358408, 0.0363576524, -0.037381269, 0.0484228954, -0.0513137132, 0.0188211352, 0.0607453957, 0.0258252285, 0.0016627678, -0.0641412735, -0.0170102753, -0.0044305497, -0.0137605788, -0.0201602541, -0.0149346534, -0.0255234819, -0.014197072, 0.011001491, -0.0818739459, 0.0030038413, -0.0251450799, 0.0296201836, 0.0133552784, 0.0373885222, -0.0058095604, -0.0147243664, -0.011009994, 0.0048525035, -0.0027753394, 0.0287021119, -0.007767525, 0.0085393982, -0.0299509373, -0.0275522433, -0.0317927338, -0.0019942746, 0.0401790589, -0.0213886667, -0.0521959551, -0.0272018854, 0.0258408934, -0.0049837474, 0.0542611964, -0.0179222468, -0.0109062521, -0.0057030125, -0.0236666445, 0.0839146525, 0.0648851842, -0.0005695827, -0.0115199797, 0.0374871045, 0.0008477074, -0.0192373432, 0.0259833112, 0.0000360885, -0.0105701108, -0.0272371192, -0.0037829543, -0.0235513318, 0.0930877775, -0.029837288, -0.016132189, -0.0262772832, -0.0338455625, 0.0174563136, -0.0162785575, -0.0186780393, 0.0136543112, -0.036553096, 0.0402954742, -0.0423438624, -0.07682731, 0.0490862839, -0.0857374072, -0.0069820234, -0.0028006849, 0.0121639529, -0.0205718316, 0.0568572879, 0.0381028615, 0.012403396, -0.053218469, -0.016366804, -0.00256142, 0.0401299521, -0.055090867, -0.0012386377, 0.0666022599, 0.0064865272, 0.034739498, -0.0451042056, -0.0083474098, -0.0219757147, 0.0057914383, -0.0501412451, -0.0017645461, 0.0267890189, -0.005695805, -0.0197381731, 0.0284709577, 0.0129473563, 0.0855417177, -0.0205060709, 0.0346705876, -0.025994828, 0.0212905649, 0.0455762967, 0.0195827652, 0.0131174475, -0.0252428278, -0.0045943358, 0.0553758666, 0.033909522, -0.0059648128, -0.0229738429, -0.0089792106, 0.0443160161, -0.008361496, 0.006126428, 0.0668896437, 0.0304966066, -0.0895108283, 0.0166746117, 0.0999663398, 0.0056999773, -0.0702778026, 0.0083266823, 0.013122132, 0.0348300263, 0.0314165801, 0.0212511215, -0.1025717482, -0.04535079, 0.0399195291, 0.0004003529, 0.000970159, -0.0143335927, 0.0016967714, -0.0936923549, 0.031047428, -0.0119797597, -0.0205073655, -0.0275665075, -0.0218753479, 0.0277494229, 0.0533057898, -0.0097807655, 0.0387195349, -0.0004124721, -0.0027601218, -0.0096945167, 0.0227290932, 0.0037987772, 0.0247054584, -0.0206214376, 0.0455227271, 0.0060142055, 0.010175745, 0.0153451497, -0.0699033439, 0.0318533964, 0.0041529555, -0.0053496752, -0.0360311344, 0.0163785685, -0.0340683125, 0.0013855494, -0.0124205751, 0.0253284071, -0.0445367061, -0.0220371839, -0.0106567526, 0.0961366668, -0.0077822316, 0.0156399161, -0.0011596262, -0.0216775723, 0.0028924858, 0.073573783, 0.0404530503, -0.0162963625, -0.0458529368, -0.0266215242, -0.0300412159, -0.0524760261, -0.003855264, -0.0247820374, 0.0207927004, -0.0307793617, -0.0063900095, -0.0078135738, 0.0321956798, 0.0678131133, -0.0128222313, 0.0175445024, -0.0062543363, -0.0139384139, -0.0665117353, 0.0499988794, -0.053482268, 0.0419913679, -0.0991529003, -0.0026572447, -0.015516785, -0.0243568327, -0.0073712068, 0.0530842096, -0.1057907641, -0.0457080081, -0.0198289976, 0.0145577081, 0.0133531382, 0.0323138051, -0.0099378759, -0.0207473617, 0.0377105549, 0.0127323242, -0.0363936946, 0.0537818559, -0.0119059095, -0.0135311726, 0.0063595963, 0.0385965779, 0.0054119565, 0.0051691034, 0.0382760614, 0.0438289717, 0.0060044676, -0.0531710088, -0.0158770364, 0.0248330832, 0.0159141738, -0.0229893271, 0.0245202836, -0.0208172835, 0.0622060597, 0.0137384878, 0.0169028547, -0.0127158007, -0.0248674173, 0.0199195407, 0.0144143794, 0.0157893877, -0.0319960192, 0.0372893475, -0.0078050769, -0.0380426347, 0.0164214745, -0.0077836113, -0.0085573718, 0.0352053903, -0.0233419407, -0.0258097257, -0.0307247173, -0.0246545337, 0.0500211157, -0.0518340133, 0.0152891539, 0.0207860563, -0.0016080457, -0.0435627252, 0.0220443439, -0.0313900299, -0.060311377, -0.0289117452, 0.0137808351, 0.0745177343, -0.0164018404, 0.0070063923, -0.0192298293, -0.0058614281, -0.0346340276, 0.0078731822, -0.017004434, -0.0295789521, 0.0327360928, 0.0393971354, 0.0027916988, 0.0368297212, 0.0574567616, 0.0266421176, 0.0409773774, 0.0343141146, -0.0034503012, -0.0183069482, -0.0469509959, -0.0083159246, 0.0603100881, -0.0255616195, 0.0153952325, -0.0160675086, -0.0677180514, 0.0228846222, -0.0061042239, -0.039461419, -0.0117279589, 0.0202799104, 0.0410594828, 0.0147479437, -0.0337154754, -0.0135015352, 0.045952443, 0.0224924721, -0.0342896543, -0.0127622355, -6.998149865e-33, -0.0087673627, -0.0161845107, 0.0391701572, -0.0350115784, -0.0371579453, 0.0176275894, -0.04995621, -0.0217860974, 0.007527539, -0.0138115743, -0.0206596516, -0.0177846495, 0.0071665472, 0.0420242995, 0.000749734, 0.0041326112, 0.0352269597, 0.0291054361, 0.0158611722, 0.0254038833, 0.0134285744, 0.0353718027, 0.0292343795, -0.0014994054, -0.0292100813, -0.0082468363, 0.057618428, -0.0002613338, -0.0331726149, 0.0300292149, -0.0513067394, 0.0273373052, 0.0204433687, -0.0313064754, -0.0126803257, 0.0181119908, -0.0879433975, -0.0199829955, 0.0479118004, -0.0162392557, -0.0324385799, -0.0661205798, -0.0019205107, 0.0465998687, 0.0148620484, -0.0095179137, -0.0102032349, -0.0015676934, -0.047632955, -0.0081172669, -0.0767478496, 0.0386331528, 0.0199594852, 0.0055972622, 0.0357034355, -0.013679699, -0.0196001977, 0.0156455915, -0.0524365716, -0.0074161901, 0.0119632073, 0.0832782537, 0.0683090687, 0.0514203757, 0.0147978896, 0.0135749858, 0.0139572015, 0.0056498088, -0.0148867825, 0.0230002105, 0.0201880019, 0.0234094951, -0.0110695753, -0.0012077914, 0.0661774129, -0.0078261904, -0.0636376292, -0.0196913145, 0.0178018603, 0.0565203838, 0.0575697422, 0.0211287122, -0.0085230824, -0.0254959967, -0.0180550218, -0.0093478952, -0.0535320565, 0.0207938254, 0.0421245247, 0.026357729, -0.0017375101, 0.0182724316, 0.0664669275, 0.0077876379, 0.0088522416, -0.0095621645, 0.03935498, 0.0153961675, 0.0098481374, 0.0364837497, -0.074571766, -0.0152709316, 0.0152698904, -0.0313270055, 0.0186332464, -0.0071833553, 0.0203639343, 0.0024041801, -0.0750561729, -0.0238977, -0.0559542924, 0.0076172035, 0.018939415, 0.0334983952, 0.0635199621, 0.0082701398, 0.0210848302, 0.0662777051, -0.0166375376, -0.0049435715, -0.0282664765, -0.0452092923, -0.0072424491, 0.0199628156, -0.0385079384, 0.0061876834, -0.0683340281, 0.0321161672, -0.0075081578, -0.0664974377, -0.0214310884, 0.0461214446, 3.052e-7, 0.0123735471, 0.0175794233, 0.0260795429, -0.0047875177, 0.0056802141, -0.018610511, 0.036408022, 0.0016388474, 0.0175828487, -0.0339817479, 0.0114664976, 0.0250054169, 0.0157732144, -0.001339483, -0.0847189203, 0.0216568671, -0.0350381285, 0.0114812609, -0.0713175014, -0.0027682572, 0.0176926646, 0.1093610972, -0.0204548556, -0.0115118157, 0.0734118223, -0.0387400985, 0.0084767956, 0.0009390566, 0.0255366452, -0.0009730303, 0.0446717925, -0.0151299341, -0.0159601849, 0.0231718998, 0.0282660127, 0.0235432424, -0.0396130607, 0.0639210865, -0.0239245817, -0.0174423959, -0.0082068071, -0.0313248709, -0.0200506318, -0.074283801, 0.0572674908, -0.0022226609, -0.0087773884, -0.0562331825, 0.0012926717, 0.0009063976, -0.0229386128, 0.0090406397, 0.0372265577, 0.0132494122, 0.035155952, -0.0516187549, -0.0307300165, -0.0669883415, -0.0120971603, -0.0072812913, -0.0697357282, -0.0556663908, -0.1081929058, -0.0256855618, 0.0442678183, -0.048081737, -0.01651977, 3.347363657e-34, 0.0243116748, -0.0114895049, 0.0218782201, 0.058627598, 0.0254036523, -0.0470464304, -0.012401551, 0.029208513, -0.0081416126, -0.1222746223, -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
Neurocache: Efficient Vector Retrieval for Long-range Language Modeling: 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.0223445371, 0.0540357418, -0.0181875192, 0.0434777401, -0.0086758183, 0.0003569994, 0.0130587295, 0.0177239366, 0.0145993754, -0.0334986299, -0.0718595162, -0.0549750663, 0.0075249155, -0.0142174177, 0.0343976617, -0.0173126291, 0.0671967342, -0.0241258647, 0.0063443226, 0.0049278624, -0.0020292432, -0.0001568755, 0.0074820421, 0.0548332073, 0.0261965282, -0.0246436074, -0.01950844, -0.0124008376, 0.0012211503, -0.0340253673, 0.0217888523, 0.0425983332, 0.0321043245, 0.0090003153, 0.0000021127, -0.0154378414, 0.0028258967, -0.0248557348, -0.0187175702, 0.0076672258, 0.0365095772, 0.0027263842, 0.0115289968, 0.0042766733, -0.0107033867, -0.0148907416, 0.0475112572, 0.0072162058, 0.0372041948, 0.05591885, 0.0075324723, -0.0347088799, 0.0224582553, -0.0196984801, 0.0325358845, -0.0510036796, 0.0242768824, -0.0326059908, -0.0010927992, 0.0222069658, -0.0115434453, 0.0655575544, 0.0317729451, 0.0046050875, 0.0164411068, 0.0704405382, 0.0037596584, 0.0138419392, 0.0053618397, 0.0408902019, -0.0280228369, -0.0537645668, 0.0034121331, 0.0155537194, -0.0357787013, -0.0323155336, -0.0655379742, 0.0065084207, -0.0085522775, 0.0106572835, 0.033571098, -0.0173352081, 0.0404494517, 0.0097458474, -0.0292209685, 0.0220277458, 0.0321384072, -0.0329306163, -0.019245917, -0.0318455771, 0.0071975468, -0.0403324068, 0.0588007942, 0.048891075, 0.0025749446, 0.021199178, -0.0135124596, -0.0384170935, 0.0319506116, -0.0716418326, 0.0642555431, 0.0618737563, -0.0349273831, 0.0460590273, -0.0412207395, 0.0527942255, -0.0329501033, -0.0048244442, -0.0497045368, 0.0004167343, -0.0473510586, -0.0235025175, -0.0596260838, 0.0208428651, -0.0002511707, -0.0342910253, -0.0175881963, 0.0210366491, 0.0238859523, -0.0479360707, 0.011627418, 0.0201281179, -0.0098429732, 0.0033803135, -0.0118457573, 0.0492287986, -0.0502163693, -0.0002891562, 0.0131034786, -0.036645446, -0.0589193739, 0.0037136925, 0.0168100297, -0.0623938888, 0.0125410929, 0.0210649446, -0.0076696584, -0.0610628985, -0.0326712318, -0.0005922369, -0.0032421483, -0.0605649874, 0.0251790285, -0.0687476844, 0.0408610404, -0.0025737279, -0.0204022191, -0.0260167345, 0.0159136206, 0.053576678, -0.0296456348, 0.0206086989, -0.0033702303, -0.0118319364, 0.0437062792, 0.0182215553, 0.0177314822, 0.0382168926, 0.0157293137, 0.0107755689, 0.0030062369, 0.0095021734, -0.0098770307, 0.0115912035, 0.0710977316, -0.0212012473, -0.0436963551, 0.0336737037, -0.0159615893, 0.0319965631, 0.0143219093, 0.0290029198, -0.0474465527, -0.034271609, 0.022128908, 0.0830582529, 0.0368257388, 0.0057869903, 0.0103929881, -0.0338964462, 0.0101505434, -0.0364749879, -0.0344334953, 0.0717615634, -0.0354648121, -0.0018510446, 0.0403415859, 0.0269771051, -0.0388940237, -0.0266076196, -0.0102078104, 0.0039422722, 0.0035226841, 0.030249564, 0.0568691231, 0.0036296276, -0.0391062275, 0.0966669694, 0.0165629908, -0.0481702946, -0.025004603, -0.0342811793, 0.0407330804, 0.0708542615, 0.0323762298, -0.0287347641, -0.0520032085, 0.0138621116, -0.0112302583, 0.0061993385, -0.0073679066, 0.0069631115, 0.0202291384, -0.0633426681, 0.0172242764, -0.0132130375, 0.0089219157, 0.0075910636, 0.0442592539, 0.0328475423, 0.0338706933, -0.0236108676, 0.0271765944, 0.0327602513, -0.0354787894, -0.0302679781, -0.0188582502, -0.0004602755, 0.0023902808, -0.0015891823, 0.0116803609, 0.0296365879, 0.0494903103, -0.0699489266, 0.000081501, -0.0193974804, -0.0793872923, -0.0729144812, 0.0165459868, 0.0620293207, 0.0400896557, 0.0268084034, -0.0160985626, -0.0362541452, 0.0364092886, -0.0343486667, 0.0551203229, -0.0460759588, -0.0013265212, 0.0004799078, 0.0295707081, -0.0239647031, 0.0621782281, -0.0391522609, 0.0275623035, 0.0244232006, 0.0265754014, -0.0035986961, -0.030033119, -0.0293048695, 0.038053602, -0.029746864, 0.0115000904, 0.015395998, -0.0073761242, -0.0337649509, -0.0259948671, -0.0998883843, 0.0328033343, -0.0246185958, 0.0149020674, -0.0102855433, 0.0121787302, -0.0046608755, -0.0258469786, -0.016450705, 0.0317463726, 0.0021362447, 0.0505480841, -0.0213660765, 0.0303356461, -0.0223974846, -0.0624816753, -0.0589033477, -0.0016600504, 0.07408797, -0.0511078313, -0.0519098975, -0.0201853905, 0.0617034771, -0.0536054447, 0.0178231113, -0.0363981463, -0.0141248722, 0.0145730656, -0.0534376986, 0.0103642903, 0.0663228557, 0.0028825169, 0.0037812477, 0.0615045987, -0.0405412391, -0.0604440719, 0.0250712112, -0.0080076065, -0.0095107518, -0.0167413894, 0.028450219, 0.0009177552, 0.0892972946, -0.0069446517, -0.0115379095, -0.0331776179, -0.0014064534, -0.013056498, -0.0037864919, -0.0507160872, 0.0143509367, -0.0365432501, 0.0340884514, -0.0362814553, -0.0357855819, 0.0584540479, -0.0258794036, -0.0015580592, -0.0180395823, -0.0287892334, -0.0240955725, 0.0577809215, 0.0071195713, 0.0269192383, -0.0353415385, -0.0294841435, -0.0158747938, -0.0096085882, -0.0415502638, -0.0495153219, 0.0329613686, 0.0337106586, 0.0317383297, -0.0102641461, -0.0465455726, -0.0488741025, -0.0096345264, -0.0146472882, -0.0077577531, 0.0088061625, 0.0127731012, -0.0155186076, 0.0219672062, 0.0247123968, 0.0818434954, -0.021340074, -0.0093876077, -0.0069521368, 0.0422514305, 0.0265662372, -0.0112301419, 0.0118481088, -0.026111735, -0.0077309506, 0.0750334114, 0.061718408, -0.0004457148, -0.0283684973, -0.0079772407, 0.0423823744, -0.0182568058, -0.0178127065, 0.0193355363, 0.0073505268, -0.103111051, -0.0448726863, 0.0845188275, 0.0275419075, -0.0569697171, -0.0254313406, -0.0380966365, 0.0031444773, 0.0201476607, 0.0540572032, -0.0644802675, -0.0214775596, 0.0232768506, 0.0276554525, 0.0130169177, -0.0136170145, -0.007758141, -0.1051143855, 0.001485462, -0.0002515214, -0.0714558959, -0.002029978, -0.0518532135, -0.0114538493, 0.0411372781, -0.0052511287, 0.0697266087, 0.0031707427, -0.0177941695, -0.0084717618, 0.0103167985, -0.0153148472, 0.06451042, -0.0132803172, 0.0415935628, 0.0295354389, 0.0365738049, 0.0271375906, -0.0450469516, 0.0234744363, -0.0324051976, 0.0320167281, -0.0127787972, 0.0235011466, -0.0129235089, -0.0004046699, -0.0082992259, -0.0117516071, -0.0105026197, -0.0445991978, -0.0255507715, 0.0633227602, -0.0384933054, -0.0199839175, -0.0091347639, -0.0166966207, -0.0105897719, 0.0538516901, 0.0364320576, -0.0215933528, -0.035905499, -0.0029249743, 0.0063567846, -0.0458189584, -0.0373723581, -0.0085240053, 0.0404467918, -0.0021350647, -0.0449521504, -0.022430582, 0.004981061, 0.0441976339, -0.0116377389, 0.028607903, 0.0295253601, -0.0246135127, -0.0609712079, 0.0378624089, -0.0475239195, 0.013189842, -0.0382296517, 0.017383283, 0.0180380456, 0.0016651555, -0.0343606733, 0.0480334759, -0.1083950475, -0.052953016, 0.0011361676, 0.0560243353, 0.0181801748, 0.0488481782, 0.0089179799, -0.0416612327, 0.063999325, 0.0396119617, -0.0598163381, 0.0370876007, -0.0054064589, -0.004291161, 0.0053338544, 0.0281438176, -0.0611102208, 0.0064283866, 0.0086991191, 0.049777817, 0.0062747812, -0.0112757217, -0.0204085708, -0.0170581881, 0.0410114899, 0.0289199837, 0.0042290585, -0.0307695754, 0.0296335649, 0.0059651816, 0.0224481225, -0.0221688934, -0.0129237138, 0.0069867824, -0.0392106436, 0.0131598795, -0.0124746729, 0.0511060245, 0.0122940559, -0.01358636, -0.0122666312, 0.0158435516, 0.0108764628, 0.0263160057, 0.0108911861, -0.0475165583, -0.0140544549, -0.0094441008, 0.0511249118, -0.0588017218, 0.0374765955, 0.0106060151, -0.0232988894, -0.055476211, 0.0379019231, -0.0890915841, -0.033906959, -0.0118189175, -0.0121369679, 0.0659607351, -0.0292197913, 0.0348997526, -0.000675799, 0.0012706727, -0.0341416486, 0.0056791524, 0.0112915933, -0.0575260594, 0.0269349813, 0.0313735157, 0.0047442173, -0.0080692647, 0.0696256086, 0.0058470089, 0.0489861928, 0.0001176645, -0.0013388308, -0.0102679301, -0.0157805793, -0.022400111, 0.0281133614, -0.0265341792, -0.034502551, -0.0244010892, -0.0557200201, 0.0414576493, -0.0137559576, -0.053184066, -0.0157742538, 0.0272421688, 0.0414446406, 0.0360643193, -0.0262930524, -0.0158204865, 0.0376741663, -0.039453499, -0.0313117094, -0.0135225421, -6.787245607e-33, -0.0403002352, -0.022985341, 0.0400739238, -0.0482735932, -0.0483192578, 0.0099926665, -0.0820511729, -0.0273700263, 0.0040960866, -0.0325643048, -0.0418728292, 0.019101765, 0.0160826426, 0.0191315524, 0.0062534837, -0.0155373141, 0.031331446, 0.0107308822, 0.0158608779, 0.0291337185, 0.0595915467, 0.0836317688, 0.0590167046, -0.0376119316, -0.0073044598, 0.0026192639, 0.0517854318, 0.0116220582, -0.027010126, 0.0474789478, -0.0446768589, 0.0461113974, 0.0181010999, -0.0681581423, -0.032022804, 0.0142700961, -0.0562487729, -0.0296700168, 0.0146663031, -0.0217567999, -0.022407474, -0.0356196016, 0.0363431647, 0.0199792162, 0.0137468325, 0.0067750984, 0.0028069534, -0.0312543139, -0.0577471592, -0.0144303143, -0.0454364493, 0.0021669944, 0.0088353399, 0.0049586915, 0.0127423601, 0.0262114238, 0.0068644634, 0.0231977496, -0.1049893424, -0.0008478612, -0.015817007, 0.089825891, 0.0258754175, 0.0516548157, 0.0475246496, 0.058521945, 0.0779809654, -0.0066623976, -0.0517359078, -0.0096875308, 0.0656875297, 0.02221133, 0.009030642, 0.0098170443, 0.0569715463, -0.04162772, -0.0443152711, -0.0062022726, 0.0014639108, 0.0797654614, 0.0462254286, 0.0155891078, -0.0179472845, -0.0438910127, -0.0317958035, -0.0128760859, -0.0593258552, -0.0095765525, 0.0488863401, 0.0377572216, 0.0152853997, -0.0215102676, 0.0740115792, -0.0273002796, 0.0037857192, 0.0719279572, 0.0020094148, 0.0226724595, -0.0070056645, 0.0495713279, -0.037824288, -0.0291251242, -0.0150751648, -0.0182430502, 0.0147243682, 0.0022491459, 0.0074972729, 0.0309693906, -0.06790445, -0.0122543518, -0.0443540104, -0.0069478224, 0.0084445244, 0.0289688464, 0.0512486212, 0.0350716077, 0.0246618427, 0.0839161649, 0.018369006, 0.0026748225, -0.0176683702, -0.0381745659, 0.0188287273, 0.0214759354, -0.0205383487, 0.0154264355, -0.0540201403, 0.0625082999, 0.0130687905, -0.0652850494, -0.002590734, 0.0636259764, 2.87e-7, 0.0406227782, 0.0552843623, 0.0049753077, -0.0115673142, 0.01352714, -0.0022767042, -0.0069145355, 0.0165807866, 0.0271548089, 0.000448953, -0.0148982508, 0.0439866781, 0.0504930653, 0.0328727104, -0.1217649356, 0.0083435504, -0.0787264481, 0.0142992986, -0.047765106, -0.0479769707, 0.0185704809, 0.1065013707, 0.003042517, -0.0082646497, 0.0011103118, -0.0274212454, 0.0825903937, -0.0042824615, -0.0012446488, -0.0064089322, 0.040357966, 0.031850338, 0.0050961487, -0.0463464037, 0.0082679531, 0.0271811616, -0.0202615857, 0.0692325011, -0.0038642734, -0.0659125671, 0.0236148983, 0.0022311239, -0.0276705455, -0.0620317049, 0.0710053816, -0.0381758027, 0.0095800525, -0.0477469638, 0.0067568873, -0.0014667445, 0.0248337444, -0.0050200019, 0.0095013808, 0.0330683514, -0.0204979181, -0.0126423119, 0.0053265127, -0.1095432639, -0.0576730408, 0.0006781493, -0.0447056405, 0.0115658836, -0.0642963946, 0.0146140344, 0.0223342758, -0.0561537743, 0.0069796182, 2.633012985e-34, 0.0186587647, -0.0101443175, 0.0113922805, 0.0361334831, 0.0077497787, -0.0240722336, 0.0140811699, 0.0115974778, -0.0040616756, -0.1141961217, -0.0376838893 ]
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.
RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs: 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.0582267977, 0.0400697067, 0.0167236142, 0.0149108591, 0.0217931513, 0.0054585417, -0.0140354903, -0.0082060704, 0.0116284043, -0.0547804795, -0.0418800898, -0.0192541908, -0.0265519526, -0.0041629518, 0.0526225604, 0.0109576331, 0.0341628492, -0.0072952872, 0.0062988442, -0.0032389639, -0.0236064941, 0.027782796, 0.0169607569, 0.0249529686, 0.0545161217, -0.0032221698, 0.0013951961, 0.0193561427, 0.0489544645, -0.0443872064, 0.0695946366, 0.0341826864, 0.0339789987, 0.0127030443, 0.0000020458, -0.037043713, -0.0246104449, -0.0093264012, -0.0063327723, 0.0155130494, -0.0160585232, 0.0253748856, 0.0244555976, 0.0237672497, -0.0628051609, 0.0416352749, -0.0051319352, 0.0194731541, 0.0621876866, 0.0650174841, 0.0117947171, -0.0252551176, 0.043266654, -0.0616370998, 0.0401521698, -0.0524005331, 0.0114360759, 0.002542217, 0.0210869275, 0.074964501, 0.0044356054, 0.0256150663, 0.0186853204, 0.0071489103, 0.0370596051, 0.0486250818, -0.0482314564, 0.0128653934, -0.0042297314, 0.1003147811, 0.0127670281, -0.0151241906, 0.0188686531, 0.0215089601, 0.0021302493, -0.0211856607, -0.0404929742, 0.0380315371, -0.016615022, 0.0099170292, 0.0304859914, 0.0139786601, 0.0298636425, 0.0250790734, -0.0304150991, 0.0586316437, 0.0330775194, -0.0303784218, -0.0021892828, -0.0041134944, -0.0317122638, -0.0180900767, 0.024487637, 0.0376064256, -0.0753789395, 0.0139414892, -0.0164676867, -0.0061437399, 0.0661981925, -0.0017825611, 0.019215377, 0.0437066704, -0.0149175702, 0.0108527988, -0.0344275013, 0.0282335188, -0.0209917668, -0.0068469658, -0.0768382698, -0.0003831557, -0.0258626379, -0.0354410224, -0.0048992257, 0.0371427909, -0.0898527876, -0.0143980645, -0.0816799551, 0.0323868282, 0.0044517005, -0.0201546773, 0.0230021514, 0.0505137742, -0.0663396195, 0.026722746, -0.0359245688, -0.0078583015, -0.0102677541, 0.020136578, 0.041206561, -0.0433639735, -0.0169460438, 0.0043066163, -0.0199117046, -0.0335817337, 0.0222076979, 0.0512624383, -0.0571859516, -0.0085209087, 0.0046114312, -0.0484830923, -0.0210048538, -0.0647108331, -0.0069225729, -0.0640871003, 0.0360790528, 0.0146135716, -0.0056120334, -0.0087847216, 0.0367785841, 0.0616189279, -0.013973264, 0.0220596176, 0.013915956, -0.0156031288, 0.0374185927, 0.037939243, 0.0246815458, 0.0361990035, -0.0070320913, 0.0273736827, 0.0093960725, 0.0391019173, -0.033579044, -0.0048410385, 0.0470471121, -0.0018069741, 0.0212061871, 0.0390204675, -0.0093732504, 0.0467951894, 0.0369851291, 0.0313223526, -0.037603043, -0.0170746744, -0.0043391231, 0.0092472527, 0.0523794778, -0.0003820066, 0.0558624491, -0.0121999234, -0.0108962124, 0.0091329701, -0.0205256827, 0.037167076, -0.007263375, 0.0295977611, 0.0714847669, 0.0361715443, -0.0286884718, -0.0259760246, 0.0183918364, 0.017771339, -0.0526512265, 0.0275389142, 0.0059505012, 0.0260946285, -0.0662327111, 0.0529317074, 0.0067583104, -0.0469336845, -0.0014384295, -0.0631344169, 0.0148957353, 0.0717529356, 0.0771145225, -0.0260598399, -0.0489064865, 0.0068985154, -0.0015239123, 0.015867183, 0.0077793491, -0.0281301681, 0.0045704278, -0.0587248206, -0.0208106898, -0.0277113076, 0.0025625394, 0.0216437001, 0.0317607112, 0.0118292617, 0.0604888797, -0.0359633118, -0.0077057933, 0.0277710576, -0.0591305234, -0.0284383539, 0.027525397, -0.0265704039, 0.0188629515, 0.0281208586, 0.002085316, 0.0365269519, 0.0545275696, -0.0441161208, 0.000232684, -0.0321375653, -0.0659666359, -0.0602207072, 0.030485319, -0.0165931527, 0.0080270823, 0.026039429, -0.0589357689, -0.0439659767, -0.0252433605, -0.0083809756, 0.0158786699, -0.0709004849, -0.0054643247, 0.061764285, 0.0113958288, -0.0781089142, 0.0995182991, -0.0197284594, 0.0272551607, 0.0959574953, 0.0398291424, 0.0096854689, -0.0683813542, -0.0013624624, -0.0115134614, -0.0209531244, 0.0078827161, 0.0182029735, 0.0481219031, -0.067895554, -0.0310076568, -0.1113979146, 0.0409820341, -0.0147219133, 0.009518343, 0.0240528136, 0.0226895362, 0.0167596079, -0.0051459526, -0.074880749, -0.0362536386, 0.0365688168, 0.007452718, 0.0207559112, 0.0354387723, 0.0166733302, -0.0537394285, -0.0166311115, 0.0074390369, 0.0113170473, -0.0143980319, 0.0229627229, -0.0377545133, 0.0407169573, -0.0645555109, 0.0029338126, -0.0342637785, -0.0066299792, 0.0232957415, -0.0359044075, 0.0409519821, 0.0302754119, 0.0265082493, 0.025565628, 0.0264291074, 0.0007465394, -0.0720806122, 0.0191406012, -0.0319444537, -0.0337023363, 0.0119348932, -0.039588321, 0.0174771994, 0.0355815291, 0.022839617, -0.0236328784, -0.0392989032, 0.0073985853, 0.0209071785, -0.0214566942, -0.0687405169, 0.0309786201, -0.0050842557, 0.0363131613, -0.0192124732, -0.0239278991, 0.073759526, -0.0068036276, 0.0148906745, -0.048668962, -0.0007386437, -0.0640447736, -0.023227483, -0.0096807536, 0.0228889845, -0.0592188053, 0.0009117863, -0.0499770008, 0.0241838917, -0.0105965305, -0.0748092905, 0.0366721898, -0.0427047163, 0.0174141563, -0.0149497204, -0.0549754724, -0.0548242852, -0.0220189393, 0.0250898004, 0.0261344239, 0.0179730654, -0.0068225372, 0.0118142013, -0.0296251439, 0.0325291976, 0.0428261794, -0.0337987915, -0.0202602949, -0.0189440548, 0.0754950792, 0.0767342523, 0.0060287584, 0.0040606582, -0.012596244, 0.0091551524, 0.067890428, 0.0572457984, -0.0160945375, 0.0204811506, 0.006960365, 0.041547671, -0.0047272928, -0.0120636262, 0.0323693492, 0.0269983057, -0.0145703359, -0.0308086034, 0.0751195103, 0.0428692251, -0.0235242676, -0.0032008856, -0.0244972296, 0.0733074918, 0.0313881449, 0.0655375496, -0.1015093103, -0.0125827491, -0.0320709907, 0.0589557402, -0.0132740755, -0.0090655293, -0.0081011755, -0.1052214503, 0.0477608591, 0.0054071951, -0.0419696197, -0.0234484337, -0.0213855933, -0.0027152516, 0.0228761714, 0.0030539203, 0.0608114451, -0.0296300873, 0.0219800994, 0.0232686419, 0.0441700779, -0.0662819594, 0.0269931927, -0.0006728359, 0.0457627922, 0.0522526614, 0.0159985367, 0.024092555, -0.0283912085, 0.0019721822, -0.0608248115, 0.0215475988, -0.0285819639, 0.0110440757, -0.0109162787, 0.0047105113, -0.0367075615, 0.0340586677, -0.0078721931, -0.0047390549, 0.0015921443, 0.0421892516, -0.0242023282, 0.0233829897, -0.0397550464, 0.0045208605, 0.0049937204, 0.0560072809, 0.0111621199, 0.0049441927, -0.0265173037, -0.0383550227, 0.0537993535, -0.072724551, -0.013190168, 0.0252338778, -0.0154229337, 0.0155525291, -0.0890469402, -0.0226242915, 0.0160520915, 0.0111431647, -0.0054854355, 0.0347067118, -0.0779173449, -0.0339692235, -0.064436473, 0.0039111893, -0.0065069403, -0.0081444597, -0.041769553, -0.0169293471, 0.0681157783, -0.0549329259, -0.0215540715, 0.0176459868, -0.0148144253, -0.0611671284, -0.0342123955, 0.0823171958, 0.0135541307, 0.0379423574, 0.0085212057, -0.0299309846, 0.061021179, 0.0574573502, -0.0084124673, 0.0285564661, 0.0035147837, 0.0058331196, -0.0226122662, 0.0206717961, -0.0864500701, 0.0167927854, -0.0138909118, 0.0871282145, -0.0039343527, -0.0267250538, 0.030153716, 0.0103295371, 0.0099343518, -0.0417746194, -0.0074157678, -0.0211893469, 0.0390335098, -0.0363118611, -0.006903186, -0.035701897, 0.0256201308, 0.0158655643, -0.0389669575, 0.0197070967, 0.0008145246, -0.0178186744, 0.0653308928, -0.0663674176, -0.0098138172, -0.0069690975, -0.0102365538, 0.0152785685, -0.0062815542, -0.0443837792, 0.0016082089, 0.0058031161, 0.0680337995, -0.0289377254, 0.0507330671, 0.0039660162, -0.0006295746, 0.0011242976, 0.0514043458, -0.0728314221, -0.0212332644, -0.067612797, -0.00388242, 0.0387656838, 0.0356702656, 0.0511643142, 0.0183888692, -0.0136697991, -0.0143307736, 0.0062455139, -0.0002394355, -0.0150999371, 0.0220822506, 0.0342225023, 0.0094385808, 0.0287740678, 0.0888493061, 0.0302324854, 0.0217647236, -0.0186339021, -0.0151600642, -0.0455759242, -0.0374329314, -0.0084518949, 0.0473285653, 0.0027049512, 0.0036331683, -0.0198660716, -0.0493777543, -0.0101309353, 0.0164821092, -0.0258852784, -0.0270327665, 0.0517952219, 0.0546513274, -0.0063113556, -0.0407015793, -0.0660136938, 0.0125292987, -0.0421984568, -0.0381930172, -0.0139932269, -6.787887721e-33, -0.0294463672, -0.0423424207, 0.0393048488, -0.0349800438, -0.0244018417, -0.0074491999, -0.0292732064, -0.0265698843, -0.0222218465, -0.0125370407, -0.0136745004, -0.0038077338, -0.0034930785, 0.0208291039, -0.0083412258, -0.0034636115, 0.0216650218, 0.0039399839, -0.0177998021, 0.0521066897, 0.0253718495, 0.0266333874, 0.0269831233, -0.0385581851, -0.0036825615, -0.0203452297, -0.0083068404, 0.0083264308, -0.0395816527, 0.0571932085, -0.0211713966, 0.0414025076, 0.0294937454, -0.0450070947, 0.0106247729, 0.0039535332, -0.0869622156, -0.0318901204, 0.0125624305, -0.0644040778, -0.0620505288, -0.0589935072, 0.0363840088, -0.0284361653, -0.013627395, -0.0084050009, 0.0123245064, -0.0311906878, -0.0332505777, -0.0791604295, -0.045200102, -0.0020545013, 0.011075329, -0.015593865, -0.031528946, 0.0683246776, -0.0102807889, 0.0600117929, -0.025418194, 0.0200050361, 0.0037873646, 0.0598447807, 0.0488677509, 0.0201016422, -0.0210896749, 0.026557887, -0.0046943789, -0.0290480908, -0.0020671831, -0.03373928, -0.0476420186, 0.05756009, 0.0003756427, 0.0367224924, -0.0029759898, 0.0110045429, -0.0835767761, 0.0714293197, -0.0126084052, 0.0062004314, 0.0390087031, 0.0004529814, -0.0203019995, -0.0230155978, -0.0149032976, 0.0180514343, -0.0356973931, -0.0161895063, 0.0580756664, 0.0354417004, -0.0233761743, -0.0077626384, 0.0291254856, -0.0241213832, 0.0094647966, 0.0296683647, -0.0334177129, -0.0100484099, -0.0016292696, 0.0236360524, -0.0501967072, -0.0069988729, 0.0504745804, -0.0111942124, -0.0139801092, 0.0078249741, 0.0093763303, 0.0023980546, -0.0266019236, 0.0117108785, -0.0275897533, 0.0406929255, -0.0233360343, 0.0084190415, -0.0288345087, 0.0109310364, -0.0085967034, 0.0576794669, 0.0170628056, 0.0270534009, -0.0296621937, -0.0349429697, 0.015866261, 0.0203628335, -0.0342311226, 0.0607668571, -0.006649707, 0.0683347583, -0.0005743121, -0.0357224084, -0.0312489625, 0.0333211161, 2.767e-7, 0.0507976897, 0.0262073521, 0.0073044184, 0.0045685768, 0.0080215586, 0.0037467587, 0.0209736917, 0.0459504984, 0.0550392717, -0.0110945618, 0.0101289591, 0.0101379184, 0.0121447183, -0.0007747853, -0.0646438375, 0.0004364609, -0.073061958, -0.0286958534, -0.0423289016, -0.0582638159, 0.0567095689, 0.0751683265, -0.0586446263, -0.028937459, 0.0023814645, 0.0147194983, 0.074594751, 0.0024065513, -0.0232271105, 0.0271485969, 0.0306341425, 0.0210833456, -0.008762016, -0.0132711558, -0.029676348, 0.0123674795, 0.007817327, 0.075279057, -0.0014119016, -0.0781597421, 0.0384862125, 0.0052512181, 0.0252634641, -0.0611415133, 0.0625689402, -0.043251995, 0.0052518905, -0.0072121434, -0.0438273326, 0.0100930389, 0.0029716243, -0.041930154, -0.0306696072, 0.0195153337, -0.0066138771, 0.024392968, -0.0261422358, -0.0869751349, -0.0398476049, 0.0042975983, -0.0505356267, -0.0531311259, -0.0293876883, -0.0124401273, -0.0379480049, -0.0614376739, -0.0026236216, 2.75685935e-34, 0.0363404341, -0.0087626027, 0.0077000819, 0.0276834909, 0.012473532, -0.0026971258, -0.0345358364, 0.0278263297, 0.0280296579, -0.088693656, -0.0414711758 ]
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.
MMedAgent: Learning to Use Medical Tools with Multi-modal Agent: 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.0167072471, 0.0358356759, 0.001457399, -0.010891824, -0.0476621352, 0.0276466552, 0.0380694345, 0.0282196496, 0.0112380395, -0.0197070949, -0.0533658788, -0.0416179225, -0.0091364942, 0.0236736406, 0.0140168285, -0.0376802534, 0.0527672507, -0.0170077235, -0.0020196449, -0.0237341579, -0.0260815173, -0.0017866314, -0.06259875, 0.0805567801, 0.0221666712, 0.0057826526, -0.0083568087, -0.0090733171, 0.0028783167, -0.0387549251, -0.0005345523, 0.0457905158, 0.0355603434, 0.0040724711, 0.0000019631, -0.0438554287, -0.0096179284, 0.0106892241, -0.0240742266, -0.0681615919, 0.0625054911, -0.0239060726, -0.0058469423, 0.0138605786, -0.0350201838, -0.0228386838, 0.0264731459, 0.0537718385, 0.0544027612, 0.0681141913, 0.0107307462, 0.0296377204, 0.0216949042, -0.0162039008, 0.0163580738, -0.0448169149, 0.0216334797, 0.0120878629, 0.0678484365, -0.0253368728, -0.0071039135, 0.0475610197, 0.0000427037, 0.0123754041, -0.0096970713, 0.0514076762, 0.0262322649, -0.030729305, -0.0263029002, 0.0487823822, -0.0188325029, 0.0113523211, 0.0277967434, -0.0017665433, -0.0118527254, 0.0098866811, -0.0456674062, 0.0118312314, -0.0330780447, -0.0193002913, 0.0136074126, -0.061128594, 0.0386752896, 0.0171944816, -0.0181378089, 0.0298872292, 0.0142098358, -0.0052292608, 0.0362745002, -0.0318480618, 0.0019661989, -0.0404505394, 0.0124919564, 0.0902855471, -0.0983956903, 0.0027279207, -0.0547738783, -0.0066691828, 0.0731967613, -0.0365520604, 0.0451709181, 0.00687169, 0.00864112, 0.0497230366, -0.0099887345, -0.0106472895, -0.0508300141, 0.0615040027, -0.0274084341, 0.0166597739, -0.0541247986, 0.0128315864, 0.0066878609, 0.0056649325, -0.0087555982, 0.0033225683, -0.0540370531, 0.0231399201, -0.0089586871, 0.0079532648, 0.0018937663, 0.009108521, -0.0343889892, -0.0118206562, -0.0388270319, 0.0205169003, -0.0076152491, 0.0346490704, -0.0189319272, -0.0345732383, 0.0034051712, 0.0243038293, -0.0126883239, -0.0169617943, 0.0250722002, 0.1053778902, -0.0246404242, -0.0030211576, 0.0105707785, -0.0275883172, 0.0108888038, -0.0564047657, 0.0294161588, -0.0693070143, 0.0199236535, 0.0161541477, -0.0006398062, -0.0586500354, 0.0133875208, 0.0013287946, -0.0307201389, 0.0730426535, -0.0028961804, 0.0084402962, 0.0442396663, 0.0250547323, -0.0338720046, 0.0179762468, 0.0121729644, -0.0358884595, -0.0198758263, -0.0364636369, 0.0295157731, 0.0277746171, -0.0204346832, -0.0336575583, 0.0057857544, -0.0008274459, 0.0046749879, 0.0850735456, -0.0385181904, 0.0461497456, -0.0001427025, 0.0058937715, 0.0466064364, 0.0357815214, 0.0610727556, 0.0040155696, 0.0317654423, -0.0252477936, 0.0022823589, -0.0413003303, -0.0555710234, 0.0361068733, -0.0006262112, -0.0098954318, -0.066165112, 0.0207703728, -0.0302849282, -0.0405773595, -0.0301848669, -0.0427125767, -0.0126160681, 0.0019164499, 0.0779104307, -0.0365060493, -0.0389530361, 0.0367704369, 0.0546035208, -0.0192402359, -0.0318262503, -0.105821833, -0.0112304753, 0.0649264753, 0.0499561429, -0.0690896511, -0.0959327295, -0.0384707861, 0.0110524343, 0.018761538, 0.0064198333, -0.0169529729, 0.001164241, -0.0605041347, -0.0303991344, 0.0372075103, 0.0070425714, 0.0016452763, -0.0059898891, 0.0053829639, -0.0385740772, -0.0061946986, 0.0137696164, 0.0619794726, -0.063455984, -0.0180908926, -0.0004635604, 0.007860044, 0.0384328291, -0.0178904496, -0.0177302677, 0.0160453655, 0.0457855277, -0.0304606855, -0.0305195637, 0.0225840509, -0.0160194896, 0.0165302437, 0.031682279, 0.0014451005, -0.0076870369, -0.0007291541, -0.0105433455, -0.0340524651, -0.0278388225, -0.0231771022, 0.0405836143, -0.0012438553, 0.0310621765, 0.0188340973, -0.0365961231, -0.0564690642, 0.0411711521, -0.0124611007, -0.0179612357, 0.057035666, 0.0088737495, -0.0217597578, -0.0133887175, -0.021806974, 0.0355579294, 0.009601051, 0.036908973, -0.0162173994, 0.0395805277, -0.0233880319, -0.0861261785, -0.1023190767, -0.0100825345, 0.0217909291, -0.01886563, 0.0294355117, 0.0101740537, -0.0057819393, -0.0132752275, -0.0107228067, 0.0311937872, 0.0098454058, 0.0113944495, 0.024237873, 0.0343746468, -0.0353330746, -0.0476431474, -0.0010920016, -0.0473745167, -0.0270209406, -0.0072339154, 0.0054208464, -0.0228913408, 0.0100288102, -0.0285565313, 0.0402163416, -0.0353782959, -0.019483706, 0.0449600667, -0.0471431203, -0.0087345084, 0.0822447762, -0.0140973795, 0.0355667174, 0.0806278437, -0.0096129701, -0.0454944111, 0.0303145181, -0.0169667713, -0.0367427021, -0.03838218, -0.0017819126, -0.0126441503, 0.0884368345, -0.0003466854, 0.0352458023, -0.0151720876, -0.0212087892, -0.016653385, -0.0273300745, -0.0171108264, 0.0547437221, -0.0494389683, 0.0208370034, 0.0086616008, -0.0479233265, 0.0876763463, 0.02019706, 0.0136424247, -0.0402600951, -0.0509137325, -0.0395568721, 0.0149725322, -0.0084995721, 0.02183377, -0.0117871417, -0.0192936473, -0.0306999646, 0.0247191563, -0.0074697044, -0.0468439832, 0.0865014121, -0.0470807143, 0.0258979537, 0.0001457819, -0.052936852, -0.0341200978, -0.0177549459, -0.0159590393, -0.0055128937, -0.0283877235, -0.0091844769, -0.0777519718, -0.0022522458, 0.0273341946, 0.0499825366, 0.0231453869, -0.0062660147, -0.0293256864, -0.0047130766, 0.0227799173, 0.0483535118, -0.0224082135, -0.0187960416, 0.0369799621, 0.041022446, 0.0223856531, -0.0119288964, -0.0427420326, -0.0014978535, 0.0145239206, -0.0405216105, 0.0146203786, 0.0454989597, 0.0384399705, -0.0724438652, 0.0158239696, 0.1053617746, 0.0172264762, -0.0717615858, 0.0035881738, -0.0055982866, 0.0035644032, -0.0089450907, 0.0393402837, -0.0424356088, -0.0503276102, -0.0113313831, 0.0412994027, -0.0025131456, -0.0229379535, 0.0463530757, -0.0408885963, 0.0337898955, 0.0136052249, -0.0269121472, -0.016106626, -0.0371884629, 0.0214201659, -0.0352756977, 0.0079923347, 0.0254511088, -0.0362609886, -0.0262241103, -0.0084046666, -0.0151560782, -0.0924471691, 0.0177941304, -0.006053465, 0.0740434825, 0.0770221949, 0.0058956598, -0.0408037454, -0.0204710197, 0.0492153987, 0.0440602042, 0.0154638113, -0.0502639301, 0.0303501524, 0.0012068341, 0.0006797694, -0.0374885239, 0.0583025552, -0.0453573689, -0.012538569, -0.0138280867, 0.0910054296, -0.0502831899, 0.0058342372, -0.0391548276, -0.0071830451, 0.0304766744, 0.0358538218, -0.0244624559, -0.0464485884, -0.0479692928, -0.0217405409, 0.0096206693, 0.0329227485, -0.0291631445, 0.0300683193, -0.0540145859, -0.0051141465, -0.0294892043, -0.0434896685, 0.0783943087, 0.0221694987, 0.0275975745, 0.0232113376, 0.0275103413, 0.0267901104, -0.0300250724, 0.0137470411, 0.0099346181, 0.0401594378, -0.0699700192, -0.0706007555, 0.0654934272, -0.020477768, -0.0009979133, 0.0022203324, -0.0229612887, -0.0401635095, -0.0115052657, 0.0864037499, 0.0235112999, 0.015093335, -0.034650594, -0.0273298826, 0.014520199, 0.0102385227, -0.0308234319, 0.0084004765, 0.0203281324, -0.0054947827, -0.0130720036, 0.0291028246, -0.0342549197, 0.0122243203, -0.0043994905, 0.0465410426, -0.0318309963, -0.0192876197, 0.0242369547, 0.0207066592, 0.0090636732, -0.0265227184, 0.0070380261, -0.0262116138, 0.0277970135, 0.0072817816, 0.0206690505, -0.0316653028, 0.0167565234, 0.0031428791, -0.027883945, 0.0386171378, -0.0123147052, -0.0226851646, -0.036821425, -0.0473876745, 0.073494494, 0.015387102, -0.0082448749, 0.0540646166, 0.0228953268, -0.0076523288, 0.0437806323, 0.0123275109, 0.0140898777, -0.0007045212, 0.1097358987, -0.0226904824, 0.0231492911, -0.0308062136, 0.0540842898, -0.0342968516, -0.0681532919, 0.0049314615, 0.042047061, 0.0796735138, 0.0202604607, 0.03491842, -0.0250025745, 0.0112491511, -0.0328484364, 0.0305354502, -0.0269597378, 0.0392201133, 0.0412320793, 0.025437152, 0.026843993, -0.0290320423, 0.0903232098, -0.0284803733, 0.096599713, -0.0013348281, -0.0269550811, -0.0632326677, -0.0428110212, 0.0548449196, -0.0025728615, -0.0589392222, -0.0151225906, -0.0390592478, -0.0262870528, -0.0058768443, 0.0126437694, -0.0552482083, -0.0599391423, 0.0533726029, 0.0176031869, 0.0055749104, -0.023200158, -0.0307743233, 0.0120869596, -0.0085529285, -0.0222253352, 0.0161313564, -5.33188552e-33, -0.0158012528, -0.0095695974, 0.0669287518, 0.0051407651, -0.0022057693, 0.0119644608, -0.0248321462, 0.0335064866, -0.0229818206, 0.010511484, -0.0121223191, -0.0243842434, 0.0063885949, -0.0141193746, 0.045393873, -0.0334986486, 0.0076813689, 0.0056444169, -0.009742422, 0.0099668978, -0.0133516388, 0.033773683, 0.0207655225, -0.0770241022, -0.015322445, 0.0227293763, 0.0090950094, 0.0178123098, -0.0427750982, 0.0746794343, -0.0068723885, 0.0150924306, 0.0398299843, 0.013600802, -0.0253111217, -0.0135882143, -0.0412185639, 0.0009206782, -0.0115292519, -0.0102392267, -0.053341385, -0.0542752519, 0.0602491461, -0.0136493342, -0.0547050349, 0.0037845278, 0.0246039145, -0.0120467907, -0.0192150213, 0.0102618793, -0.0406886004, 0.0458027944, 0.0225153007, -0.0415889658, -0.022885913, -0.001058505, -0.0271268915, 0.0039341268, -0.0000313778, 0.0188888703, 0.0477509871, 0.0180920716, 0.0405693613, -0.0098908162, 0.0042596199, 0.0450063199, 0.0482085682, -0.0237765536, -0.01515882, 0.0086157611, -0.0059222779, 0.0807844847, 0.0235020071, 0.0332246609, -0.0383349843, 0.0093254996, -0.0665087998, 0.0469591953, -0.0185535476, 0.0923259407, 0.0154639492, 0.0122454353, -0.0318215564, 0.0125174662, -0.0153565602, 0.0124184545, -0.0060906135, -0.0462729186, 0.0439690575, 0.0096931541, 0.005304534, -0.0218916554, 0.0322832093, 0.0062321862, 0.0150142154, -0.0316104554, 0.0399756171, 0.0382052399, -0.0309978705, 0.012550124, -0.0574352257, -0.039007213, 0.0084543591, -0.0431479886, 0.056566976, 0.0154715786, -0.0518566966, 0.0169159696, -0.0553367101, -0.010493882, -0.0117595987, -0.0417831428, 0.0268121399, 0.0330572426, 0.0583816059, -0.0297431424, 0.0039981701, 0.0454224981, -0.0380342826, -0.0499421619, -0.0518984571, -0.0474055931, 0.0089398678, -0.0176184792, -0.0489735119, -0.0046065175, -0.0816326439, 0.0399279483, 0.0220085904, -0.037322931, 0.006167246, 0.0047143442, 2.684e-7, 0.0501280688, 0.0553554334, -0.0221024621, 0.0000449059, 0.0263876468, 0.0356506072, -0.0572287738, 0.0009386677, -0.0314428955, -0.00264472, 0.0262705255, 0.0308841784, 0.0224871933, 0.0212218277, -0.0328351147, -0.0314385183, -0.0042125708, 0.0185227506, -0.0425908566, -0.0393840522, 0.0327504613, 0.07079532, -0.0346692652, -0.035475038, 0.0266824979, -0.047018934, 0.0444194674, -0.0542584546, -0.0215623137, 0.0336208493, -0.0045414716, 0.0004090715, 0.0072307177, 0.023793431, -0.0021987944, -0.0241653491, -0.0127958134, 0.141483292, -0.0634170845, -0.0175742265, 0.0488472171, 0.0192213021, 0.006552632, -0.0175378099, 0.0414456613, -0.0148891807, -0.0159719195, -0.0233236384, 0.0298430752, -0.0171773694, 0.046485126, -0.060695339, -0.0219802149, 0.0234583747, 0.0130963493, 0.0073206774, -0.0399693847, -0.051940877, -0.0133048752, 0.0371982977, -0.0529882796, -0.0596848726, 0.0249375589, -0.0130867921, 0.0166988298, -0.0713079423, -0.0109319994, 2.313299873e-34, 0.0086677521, 0.0007843251, 0.0127697587, 0.0952049419, 0.028667571, 0.0143302521, -0.0174112022, 0.0518134758, 0.0233238861, -0.0808749944, -0.0280559137 ]
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.
Understanding Alignment in Multimodal LLMs: A Comprehensive Study: 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.0074678613, 0.0726366639, -0.006518099, 0.0523385368, -0.0598761328, 0.0313609019, 0.02123864, -0.0212545544, -0.0159870125, -0.0490743369, -0.0680754632, -0.0701855049, 0.0109725585, -0.0200783983, 0.0362342075, -0.0637646765, 0.0405692048, -0.0596567765, -0.0222577713, -0.0210175384, 0.0265156291, 0.0154865319, -0.0290620811, 0.03784886, -0.0119612915, -0.0401550494, -0.0117609082, 0.0177439954, 0.0265609194, -0.0130124725, -0.0179817881, 0.0537267551, 0.048281502, 0.0275666304, 0.0000018961, -0.0530686267, 0.0033814872, -0.0162595045, 0.0167019516, -0.014241932, 0.0458286293, -0.0141753871, 0.0124263344, -0.0351011306, -0.0066987714, -0.002722465, 0.102573432, 0.0401372686, 0.0368307345, 0.0461601466, 0.0015516614, -0.0533209182, -0.000395391, 0.0014975345, 0.0337082185, -0.0025487817, 0.0319789797, 0.025173258, -0.0319446139, -0.0226552356, -0.0663819909, 0.028947901, -0.0002989097, 0.0247983802, 0.0045153992, 0.0205158275, -0.0108532179, -0.0656878799, -0.0213944186, 0.0907387733, -0.0163383298, -0.0029635567, -0.0094978716, -0.0233474635, 0.0084249834, 0.0233767126, -0.0417452231, 0.0173857342, -0.0133474711, 0.0330888629, -0.016823994, -0.0302838031, 0.0327750593, 0.0007525396, -0.0166818239, 0.0577389039, 0.0175008848, -0.0120300408, 0.0089646056, -0.0028147562, -0.0347398445, -0.0515696146, 0.0068744156, -0.005358947, -0.0282426961, 0.0070746886, -0.0469928123, 0.0033102983, 0.0207784027, -0.0383884236, 0.0630765781, 0.041563753, -0.0532087572, 0.056444414, 0.0155111281, 0.058369007, -0.0507805981, 0.0583532006, -0.0274912547, 0.0087557817, -0.0097804097, -0.0035505767, 0.0142934117, -0.0097114341, -0.0148864156, -0.0443492234, -0.014611721, 0.0125990789, -0.0181033798, 0.0282230657, -0.0109725473, -0.0019845278, -0.0267013796, -0.0161745939, -0.0474234894, 0.0766541883, -0.0046671242, 0.0177496132, 0.0077565331, -0.0481248945, 0.0221671388, 0.0486668609, -0.0135668991, -0.0476413779, -0.0197295286, 0.0859900787, -0.0051470664, -0.0156319961, 0.005724086, 0.0056372932, -0.0447724201, -0.0802243054, 0.0556558333, -0.0668838322, 0.0631172135, -0.0008656188, -0.0004429575, -0.0295053702, -0.008356669, -0.0089628566, -0.0182742663, 0.0855730101, 0.0122397188, 0.0092833275, 0.0110760313, -0.01459317, -0.028222369, 0.0868419558, 0.0193855092, 0.0319202431, 0.0278499257, -0.0373834446, -0.0142577048, 0.0601010993, -0.0265370682, -0.0007630344, -0.059448868, 0.0145913688, 0.0469867066, 0.0588692129, 0.0787856951, 0.0302513409, -0.0335118361, -0.0476796031, 0.1042226478, 0.0174556021, 0.0106065972, -0.0448705181, -0.0156346913, 0.0013604588, -0.0096540069, 0.0358634815, -0.0696228296, 0.074317202, 0.0079800282, 0.0326761007, 0.046059072, 0.0622048527, -0.0173646938, -0.0259553473, -0.0243293308, 0.0061637382, -0.0178233348, 0.0413063318, 0.0376613103, -0.0284041222, -0.0388655998, 0.0267202035, 0.03244441, -0.0226517003, -0.002809217, -0.0376420952, 0.035579931, 0.0833856985, 0.0161107741, -0.0022850288, -0.0230590198, -0.0039817546, 0.0249051657, 0.086158894, 0.012444823, 0.0016891649, 0.0290605053, -0.0737406313, -0.0522003584, -0.0059556193, 0.0019688536, 0.0272461716, -0.0043646144, -0.0340452604, -0.0303196441, -0.017743608, 0.0001820612, 0.0304124691, 0.028048221, 0.0207728501, -0.0533732995, 0.0051780306, 0.0373687856, -0.0116781332, -0.0133016519, -0.0054568658, -0.0053245774, -0.0137463761, 0.0331391655, 0.0040683588, -0.0424981453, -0.0258286744, 0.0546638519, -0.0428223722, -0.0290908385, 0.0216274727, -0.0298900884, -0.0076086493, -0.0294281356, -0.0135637801, 0.0157017969, -0.041599527, 0.009846502, 0.0094337668, 0.0123552186, -0.0570659377, 0.0554760732, -0.0428326838, 0.010574094, 0.0251462255, -0.0089824656, -0.0176864602, -0.051848162, -0.0377076492, 0.0430442244, 0.0201040749, 0.0088618258, -0.002877618, -0.017737532, -0.0614816509, -0.0109543735, -0.068014212, 0.0009839134, -0.0211848468, -0.0165700279, 0.0138145974, -0.0069505768, -0.011741736, -0.0303319078, -0.0202702098, 0.0409015417, -0.0190710351, 0.0499989055, 0.0126719521, -0.0024824021, -0.0110962754, -0.03591723, -0.013371747, 0.0068060211, 0.0237236973, -0.0360559598, -0.0162386782, -0.0454623066, 0.0058844495, -0.0563589707, 0.0167673323, -0.0170456562, -0.0196441039, 0.0450398922, -0.0152354501, 0.0516506247, 0.0811491907, 0.0182263199, 0.0168899465, 0.0750438273, -0.0146144275, -0.0626677051, -0.0194656011, -0.0115799196, -0.0090611465, -0.0198759995, -0.0416320749, -0.0406094082, 0.0710734278, 0.0134435035, 0.0351336673, -0.0635853037, 0.0068684472, 0.0150264837, -0.0428775884, -0.0312661193, 0.033214882, -0.0301518049, 0.0362091027, -0.0511527546, -0.0777624026, 0.0694073364, -0.0382300094, -0.006970387, 0.0157463402, 0.0267420281, 0.0085929874, 0.0283197053, 0.0484009534, 0.0344677195, -0.0440042056, 0.0082800966, -0.077807188, -0.0175190754, 0.0331462994, -0.0283661559, 0.0452486463, -0.042580869, 0.0028243032, -0.0210879017, -0.0239802729, -0.0355167575, -0.023713965, -0.0232899301, -0.0413210019, -0.0555094108, 0.0037718399, -0.0288289841, 0.0215380583, 0.0366857722, -0.0044640694, -0.0102968756, 0.0000777911, -0.0256388616, 0.003730126, 0.0820268318, 0.0499521345, -0.0126004182, -0.0469417907, -0.016767906, 0.0536226071, 0.0370790251, 0.0015251463, -0.0578506403, 0.0301974956, 0.0406570584, 0.0195648856, -0.0036408394, 0.0301699508, 0.0693878978, -0.0260772239, 0.0384234115, 0.075696528, -0.0050504967, -0.0619109385, -0.0296532232, -0.0085163228, 0.0667697266, 0.0176728442, -0.019077329, -0.067958951, -0.046547316, -0.0086096637, -0.0103095109, 0.0115950387, 0.0094105508, -0.0061143567, -0.0910133198, 0.029618511, 0.0274855997, -0.0426399447, -0.0066255364, -0.0049172468, 0.0306557734, -0.0186340474, 0.045114968, 0.0023829867, -0.0036671471, -0.0104049342, 0.0118033038, -0.0061852378, -0.0382312462, 0.0070535252, -0.0374915637, 0.046012219, 0.0802643001, 0.0101151075, 0.0170446318, -0.0630592033, 0.0521568842, 0.0333290808, -0.0050820727, -0.0133828577, 0.0139515391, -0.0249548461, -0.0117975902, -0.0192228928, 0.0412246138, 0.0097958511, -0.031416636, -0.0237553623, 0.0679005161, -0.0319048762, 0.0134998336, -0.0364793539, 0.0170991439, 0.0140466066, 0.0619969703, 0.0191762559, -0.0608699173, -0.0218605343, -0.0037310522, -0.0091863647, -0.0268100332, -0.0130020883, 0.025602024, 0.0021773383, 0.0231182035, -0.0382795744, -0.02879343, -0.0022760036, 0.0387097038, -0.0010823071, 0.0055392911, -0.0253613796, -0.0115194181, -0.0224838294, 0.088822715, -0.0305430107, 0.0053817527, -0.0280175097, -0.0237686653, 0.0005986179, -0.0320324935, -0.0068280427, 0.0190338437, -0.0808838457, -0.0677888915, 0.0145102805, 0.0544117019, 0.0205967091, 0.0523301363, 0.0451300219, -0.0661242083, -0.0034136502, 0.03880376, 0.0210893489, 0.0150476526, -0.010325877, 0.0213829149, -0.0125238104, 0.0280784462, -0.0254366416, -0.0249587484, 0.0244905539, 0.0319088064, -0.0129248146, -0.025981728, 0.014780269, -0.0198273696, 0.0364455543, -0.0418920368, -0.0166247841, -0.0359076373, -0.0085349837, 0.0009060425, -0.0126928193, -0.0231232718, -0.0425268002, 0.0405960865, -0.0201525763, 0.0113032423, -0.0110796904, -0.0055534882, 0.0132796019, -0.0484118722, 0.0014431891, 0.035517402, -0.0240218751, 0.0131771965, 0.0324237496, -0.026546523, 0.0400636271, -0.0099923881, 0.0330428258, 0.0278584845, 0.0863894373, 0.0248161498, -0.0162889119, -0.0174476039, 0.0207735933, -0.0110613648, -0.0462645926, -0.0272271056, 0.0106080659, 0.0621262565, -0.015600781, 0.0432101376, 0.005737971, -0.0146170892, -0.0269436091, 0.04960097, 0.0066328384, -0.0332451314, 0.0704741701, 0.0203479752, -0.0071286866, -0.0040612668, 0.0579208508, -0.002253898, 0.0244679786, -0.0313236006, 0.0333520025, -0.0334431864, -0.0504973568, 0.0052174153, 0.0230584573, -0.0368754193, -0.0291736759, -0.0299149808, -0.0481687263, -0.0273303408, 0.022186473, -0.0284771044, 0.0060870172, 0.0503795445, 0.0519707948, -0.0388496481, -0.0373485982, -0.0113934856, -0.0061555048, 0.0040555857, 0.0015621146, -0.0017134111, -6.070738454e-33, -0.0352368206, -0.0268348157, 0.0506299697, -0.0527256355, -0.0299184583, -0.0239950009, 0.0157455672, 0.0150152547, -0.0068026069, -0.0199000034, 0.0365275592, -0.0178629886, 0.0267236456, 0.0203748662, 0.0107834395, -0.0244713649, 0.0110004032, -0.0191313699, -0.0460765027, -0.0311615542, 0.0320823342, -0.0100170076, 0.0533003211, -0.0349887758, 0.0293181892, 0.0142569663, -0.0203773398, 0.0089953858, -0.0104619963, 0.0913233608, -0.0452736318, 0.0300584286, 0.017367227, -0.0124101834, -0.0405570865, 0.0277694426, -0.0201113094, 0.0144108096, 0.0574778654, 0.0667388365, -0.0354762897, -0.0298078004, 0.0517618395, -0.0134260384, -0.0274532549, -0.0307082068, 0.0375466831, -0.0422053859, -0.0284582246, 0.0603623129, -0.0562359616, -0.0016118173, -0.012403206, -0.0020492356, 0.04738231, 0.0593596362, 0.0130558917, 0.0555786118, -0.0587518178, 0.0368215293, -0.0248503387, 0.0052121188, 0.1207271144, 0.0682884231, 0.0418817885, 0.0731018037, 0.051417809, -0.0524927601, 0.0075723184, -0.0260409322, 0.0358420648, 0.0428331643, 0.0098587703, 0.0705089867, 0.020426672, 0.0395957306, -0.0140835634, 0.0166720003, -0.0258648843, 0.0236540698, 0.0611017123, 0.045736827, -0.0180014409, 0.0077172793, -0.0397506431, -0.0208462961, -0.0442790911, -0.0255319271, 0.0486065894, 0.0037676925, 0.0107288882, 0.0013073654, 0.1042334139, -0.0294240639, -0.0408740081, -0.011316102, -0.0279889479, 0.0604262874, 0.0022687307, 0.0083631184, -0.0409403965, -0.0264342241, 0.0224964954, -0.0175287724, 0.0150309512, 0.0282909255, 0.0012091948, -0.0151941776, -0.0515249893, 0.0020999464, -0.0518885851, -0.0298775919, 0.0010698958, 0.0117799435, 0.074103497, -0.0152505962, -0.0424158759, 0.0375558622, -0.0012784214, -0.0206398368, -0.0098943757, -0.0388318747, -0.0496566668, 0.014715177, -0.010994914, 0.0324804187, -0.0262063704, -0.0493094586, -0.0106966002, -0.0347147398, -0.0138661312, 0.0430492237, 2.444e-7, 0.0366361439, 0.0161793549, 0.0038765427, 0.0164016131, 0.0132310074, 0.0328007787, -0.0171059202, 0.008541191, 0.0151487552, -0.074223496, -0.0279530734, 0.055298429, 0.0521595627, -0.0012116889, -0.027498439, 0.0049240338, -0.0040580267, 0.0459909625, -0.0669239089, 0.0184069611, 0.0274416208, 0.0695624128, -0.035466142, -0.0184476748, 0.0319218785, 0.0173220281, 0.0889170989, -0.0674436912, -0.0250812005, -0.0063169431, 0.016460577, -0.0018221572, -0.0066659823, 0.032147225, 0.0283736307, -0.0362012647, 0.0136375036, 0.0521462299, 0.0008475824, -0.0860516801, -0.0321226753, 0.0209388528, -0.03334051, -0.077444762, 0.0721829161, -0.0341886282, -0.0363952368, -0.023516383, -0.021866994, -0.0300719943, 0.0500709862, -0.0174293574, -0.0185168181, 0.0123069696, 0.041305948, -0.0043670028, -0.0484614559, -0.0472736843, -0.0245215334, 0.0053549651, -0.0706583112, -0.0448632948, -0.0400459915, 0.0134845367, 0.027247129, -0.061232768, -0.0574002825, 1.972861786e-34, 0.0065003219, -0.0105281314, 0.0561418161, 0.0108672297, -0.0059282961, -0.0287994109, -0.0028311659, 0.0142938979, -0.0084315594, -0.0949258059, 0.0023262054 ]
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.
ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactions: 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.074571006, 0.0695933029, -0.0255726408, -0.0175808687, -0.01114746, -0.0172267817, 0.0106118182, 0.0338059962, 0.0348238833, -0.0247280132, -0.0292689484, -0.038681969, 0.013120125, 0.0360224657, 0.0083635878, -0.0239174683, -0.0042337789, 0.0401912145, 0.0518834256, -0.0233736355, 0.0727023408, 0.0333753116, 0.0201109964, 0.0438203029, 0.0204356275, 0.0164078325, 0.0748554841, 0.0198032483, 0.021239005, -0.0282935388, 0.0813255608, 0.0528482497, -0.0291182287, 0.0287964921, 0.0000020908, -0.0383062102, 0.0209547505, -0.0056961137, 0.0697956532, 0.0037036103, 0.0663959235, -0.0133379856, 0.0139739616, 0.0137978205, -0.0572256446, -0.0171955545, 0.041327402, -0.0124114221, 0.0134709012, 0.0294958204, -0.0303907506, -0.0390741155, -0.0377282761, -0.0124557251, -0.0170006696, 0.0201725475, 0.0351543762, 0.003736838, -0.030935321, 0.0395451449, 0.0136498492, 0.0135894483, -0.0349266455, -0.0337257348, 0.031832125, -0.0051519033, 0.05052213, -0.0702266246, 0.0027047822, 0.0584553108, 0.062790297, -0.0075197616, 0.0579067245, 0.0131653575, -0.0241987556, 0.0604466721, -0.0596706718, 0.0408444889, -0.0107562933, -0.0178739149, 0.0059672282, 0.0319496915, 0.0302784387, 0.0607777834, 0.0473394506, 0.0544675663, -0.0050575454, 0.0101445504, -0.064109914, -0.0246343762, -0.0234441999, -0.0179667044, 0.0831351057, 0.0068122977, 0.0427922793, 0.0134900715, 0.0282927174, 0.0075365831, 0.0791586041, -0.0323488005, -0.0194724165, 0.0091172932, 0.030863082, 0.0580597632, 0.0165725667, -0.0357478522, -0.0087133301, -0.0193644632, 0.0370774604, 0.0179788731, -0.030086739, 0.0168631338, 0.035492789, -0.0272276085, 0.0104532558, 0.0130405407, 0.0038329344, -0.0062263766, -0.061518684, -0.0067012561, 0.0032755299, -0.0164715536, 0.0033577664, 0.0014160241, 0.0179368835, 0.0157770682, -0.0646324903, 0.0215876661, -0.010260989, -0.0162421968, 0.0412554443, -0.0357337706, 0.0397551544, -0.0048937253, -0.0164282843, 0.0229079593, 0.0476016961, 0.0127786305, 0.057938803, -0.05791796, -0.0181191824, 0.0307383202, -0.0244123451, -0.0539501011, 0.0291874316, 0.0388099961, 0.0083986735, -0.0205097161, 0.0059519918, 0.0288779717, -0.0193447005, 0.0101334145, 0.0072896741, 0.0082189674, 0.0550757684, 0.0590850152, 0.0174599756, 0.0106704887, -0.0356825143, -0.002505945, 0.0528479628, 0.0085337069, -0.0166476015, 0.0258331504, -0.000548289, -0.0262026787, -0.0611881725, 0.0370222256, 0.0330957659, -0.0358394235, -0.010254778, 0.0492908172, -0.0302145761, -0.0090806223, 0.0391525514, 0.0999479517, -0.044889722, 0.0294923726, -0.0130452346, -0.0169102475, 0.0098786019, -0.038294971, 0.032278236, -0.0121957827, -0.0207274128, -0.0606560707, -0.0161201488, 0.0579932556, -0.005591426, -0.0146064963, -0.0086519234, 0.0038330397, 0.0482905544, -0.0583095476, 0.0027154221, -0.0255073048, 0.009175349, -0.0565080307, 0.0246076994, -0.0441914089, -0.0144855091, -0.0197349116, 0.0742546022, 0.0468831323, 0.0336752161, -0.0093204211, 0.0461208932, -0.0279778764, 0.0248220041, 0.0405416228, 0.0225797836, 0.0117951054, -0.0862437487, -0.0342304334, -0.0043279305, 0.0578655303, 0.0127808293, -0.0071179834, 0.0136483992, 0.0305855852, -0.0370384417, 0.0161452014, -0.0341401696, -0.0208198372, 0.0392252058, 0.0382454097, -0.0540750436, 0.0167778414, 0.0060024532, 0.0224656928, -0.003241786, -0.0102803428, -0.026678523, -0.0007241927, -0.049379684, 0.0067381016, -0.0439826772, 0.0629465133, 0.029536169, -0.0671885461, -0.0187703148, 0.0391875654, 0.0510040894, 0.0364039354, 0.0633327514, -0.0031294883, 0.021004729, -0.006214085, -0.0816415399, -0.0245423727, 0.0078480262, -0.0339541137, -0.0024797576, -0.0657873079, -0.0086676953, -0.006002109, -0.0656500459, 0.0071352487, 0.0539578795, -0.008150368, -0.0178601071, -0.0276149269, 0.0268344786, 0.0782692805, -0.0196677465, -0.0216693096, -0.0396864191, -0.0184191149, -0.0512404591, -0.0212240685, 0.0141137, 0.0517011099, -0.0059326268, 0.0109128058, -0.0020971713, -0.0291962437, -0.0074580722, -0.0106492518, 0.0174881406, 0.0631287098, -0.0286880657, -0.0291389618, -0.0264579281, -0.0444350168, -0.0316167921, 0.0307840519, 0.0297096036, -0.0278500691, 0.0333841033, 0.0041422998, -0.0633661151, -0.0411874354, -0.0310652144, -0.0413370579, 0.0229731277, 0.0085927872, 0.0691611916, 0.0382505767, 0.0723301694, 0.0481324308, -0.0232291333, 0.0432858653, -0.0447164737, -0.072317645, -0.0310698282, 0.0236597564, -0.0213861801, -0.0390665457, 0.0013975146, 0.0250795409, -0.0000073472, -0.0070532938, -0.0458945595, 0.0765769705, -0.066901356, -0.0130394744, -0.0067799441, -0.0337098762, 0.018574167, 0.0413304269, 0.0029603019, -0.0302599315, 0.0063524437, 0.0226770956, 0.0110995602, 0.0477180704, -0.0514149405, -0.0050916863, 0.0288080089, -0.0098722335, 0.0406809002, -0.0032042614, -0.052919019, 0.0076132417, -0.0536463223, 0.0829832554, -0.0536539741, 0.0174061302, 0.0169674531, 0.0159571748, 0.0388371944, -0.0050689974, 0.0202230886, -0.052179113, -0.0070371977, 0.0060003754, 0.0358019918, -0.0460117646, 0.0575213619, 0.0196865369, 0.0018719314, -0.0282098483, 0.0036870558, -0.0215307493, 0.0161485169, 0.0292318296, 0.0143116247, -0.0297078732, -0.0005529187, 0.0021145614, -0.0440389439, 0.0703946352, -0.0427323282, -0.0261257943, 0.0105466386, -0.0199843906, 0.046519123, 0.0021410342, 0.0201937985, -0.0004251041, 0.0513904095, -0.0031739359, 0.0085698124, 0.0424193218, 0.012668306, -0.0335944593, 0.0018770166, -0.0266772117, 0.0258062501, 0.0356051549, -0.0118126143, -0.0929527283, 0.0306570455, -0.0324406959, 0.0142166754, -0.0351034105, -0.0529738888, -0.0001041647, -0.0526714884, -0.0314088166, 0.0072111436, -0.014709007, 0.0150437104, -0.0394741371, 0.0228188802, -0.0063733994, -0.0128133064, -0.0052502262, 0.0086104982, -0.0050498638, 0.0188134182, -0.0793528184, -0.0160164535, 0.0175169501, -0.0496490374, 0.0714318454, 0.003151498, 0.0372552983, -0.0184421167, -0.0480484143, 0.0169569477, 0.0081025567, -0.0188184753, -0.040072903, -0.02345719, -0.0163903069, 0.0029974023, -0.0783955529, 0.032499101, -0.006350934, -0.0372405909, -0.0130883316, 0.021343464, 0.0418316424, -0.0906613842, -0.0647251159, 0.0110610621, 0.0351535566, 0.0206168629, 0.0227873921, -0.0207478106, 0.0117561957, -0.0616456047, 0.0053770114, 0.0260438826, -0.0904679373, -0.0956585929, 0.0614818409, -0.0533113629, -0.0555356555, -0.0111706592, -0.0440475605, 0.0067532905, 0.0355541408, -0.0812007338, 0.0363720432, -0.0160082113, -0.0209082048, -0.0017019027, -0.0495810919, -0.0103023285, 0.0267054178, -0.0005476429, -0.0194108561, 0.0089673977, -0.0214427952, -0.0040470711, 0.0261561275, -0.0223691612, 0.0233339462, 0.0022785426, 0.0185644031, -0.0201312229, -0.0139510604, -0.0261677317, 0.0585031137, 0.0502460599, -0.0379701406, -0.0002545763, 0.0503137782, -0.0030895099, 0.0097120842, 0.0165279191, 0.0198944528, 0.0277572777, -0.0330112204, -0.0080490522, -0.0959093645, -0.0402518809, -0.0303266849, -0.0139638605, -0.0051454296, 0.0160682853, -0.0230695661, -0.0100619309, -0.0977736786, -0.0344878025, -0.0035143076, 0.002059265, -0.0094743315, 0.0217070524, -0.0062318607, -0.050818447, 0.0304769911, -0.0326250754, 0.0636625364, -0.0634098649, 0.0308361482, 0.0141669558, 0.0723904893, 0.0208200943, -0.0084656077, -0.0126377214, 0.0050534573, -0.0140522551, 0.0221789945, -0.0197913833, 0.0145807145, 0.0105244061, -0.0520361252, 0.0327028669, 0.0272089224, -0.0333978869, -0.0166721344, 0.0206412021, -0.0042575644, -0.0265300497, 0.0008104334, 0.0530065931, 0.0135571398, -0.0160566308, -0.0017894743, 0.0510919914, -0.0197243802, -0.0477661788, 0.0009622463, 0.0064503569, -0.0229113474, 0.0064213737, 0.0184384584, -0.0900662765, -0.0061236718, 0.0264125671, -0.0244291816, 0.0075248494, 0.0056368127, 0.0366299078, 0.0044730296, -0.0042991079, -0.0251839701, -0.0527594201, -0.0344045535, -0.0062065031, 0.0015201616, 0.0253919847, 0.0083031133, -0.0255948529, 0.0329100043, 0.0075889449, -0.013717928, -0.0214203186, 0.0102846054, -0.0900297239, -0.0041422974, -0.0198932141, -6.502876626e-33, 0.0211771689, -0.1007794291, -0.0483972393, 0.0029956782, -0.0350810476, 0.0147172175, -0.0227991845, 0.0092309341, 0.0093199005, 0.0341879502, -0.002318077, 0.0234822724, -0.0021320623, -0.0207584072, 0.0359719433, -0.0362741053, 0.0141945472, -0.0164972339, 0.0073706689, 0.0082570743, 0.005045129, -0.0042487034, 0.0162124541, -0.0718512535, 0.0744462907, 0.0155497491, -0.0336292163, 0.0264431406, 0.0516718626, 0.0038248794, -0.0209178422, 0.0305860136, -0.0062210946, -0.0147080673, -0.0115140807, 0.1026099622, -0.0445010439, -0.007049711, 0.0168800279, -0.0071666022, -0.0072994092, -0.0132856499, 0.0385858417, -0.0212399941, -0.0242857952, -0.0158971678, 0.0588088334, 0.0358344018, 0.0440424606, 0.0110852625, -0.0048984447, 0.027558675, -0.0507491045, 0.0326133147, 0.0098443171, 0.0404591039, 0.0557907186, 0.0168566108, -0.0713980496, 0.0473336615, -0.0910804942, 0.0040237145, 0.0268524457, -0.0103267794, 0.0255375858, 0.0623187944, -0.0181170236, 0.0738687515, -0.0375683308, -0.0237717442, 0.0301319137, 0.0312164165, 0.0070940088, 0.0393316001, -0.0362851396, -0.0721229985, -0.0602874607, -0.0179836713, 0.0802042186, -0.0267050881, 0.026129052, -0.0131907873, -0.081717968, -0.0197095852, 0.013327349, -0.0992349461, -0.0204676855, -0.0190548562, -0.0452818759, -0.0334967151, -0.0535924025, -0.0044363928, 0.0081199296, -0.0371565372, -0.1073711291, 0.036673747, -0.0005178117, 0.0091212224, 0.0377661288, 0.0288032852, -0.0256204102, -0.0054747253, -0.0269296728, 0.0230011009, 0.0147256646, 0.0327306278, -0.0146202212, 0.0230762716, -0.0464604609, -0.0665949732, -0.0025448087, -0.0131559363, -0.0472387187, -0.0109764906, 0.0295828469, 0.0585736372, 0.0076219537, 0.0227754954, 0.06924133, 0.0759889409, 0.0108988974, 0.0032772704, -0.0209252127, 0.0158710908, -0.0212598499, -0.0346249454, -0.0435939319, 0.0297940858, 0.0676011369, 0.0289807133, -0.0026530621, -0.0653949976, 2.749e-7, 0.0156836547, 0.0704544783, 0.0175587498, 0.0321710296, 0.0148816612, 0.024765458, 0.0520386361, 0.041162122, 0.010373407, -0.0502858944, -0.0101403389, 0.0370453782, 0.0038435098, 0.0049172658, -0.0366749316, -0.0418303795, -0.0818877146, -0.0278907791, 0.0074830856, 0.0216460992, -0.0125853447, -0.020382002, 0.0085776486, 0.0215771906, -0.0401472002, 0.0247137342, 0.042155914, -0.0475063287, -0.0053759287, 0.0001894181, 0.0147671085, -0.0462484881, 0.0420682542, -0.0240666941, 0.0253108311, -0.0171847306, 0.0391933732, 0.0482986681, 0.0092527885, 0.0186924692, -0.0011953205, -0.0352029763, 0.0312708877, -0.0557806715, 0.0177762918, -0.0150269987, -0.0210065022, -0.0936217904, -0.0360037163, -0.0311955325, 0.0743806288, -0.0138540864, -0.0284747593, -0.0091052717, -0.0134660434, 0.0176002234, -0.0064290934, -0.0367001779, -0.0124944095, -0.0303994343, -0.009384363, -0.0559017062, 0.0038658211, 0.0350725204, -0.0052299867, 0.0565677583, 0.0522257611, 2.197115343e-34, 0.0049593435, -0.0123170381, -0.0053785732, -0.0375969186, 0.0508926958, 0.008099583, -0.0031286781, 0.0125987362, 0.0608555228, -0.0349738821, -0.0105923368 ]
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.
RLHF Can Speak Many Languages: Unlocking Multilingual Preference Optimization for LLMs: 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.0144337509, 0.0730927959, 0.0124361534, 0.048827935, -0.0224579573, 0.0047021159, -0.0169992577, -0.0191694908, -0.0052481135, -0.0099171866, -0.1105844006, -0.0950090587, 0.0115087703, -0.0253804736, 0.0097911209, -0.0453545265, 0.0343857706, -0.0314916074, -0.0411339402, -0.0330245942, 0.0091581699, 0.042451717, 0.0116045931, 0.0136531331, 0.0222303737, -0.0031024988, 0.0023678618, 0.0142621826, 0.0556458756, -0.0229931921, 0.0291535743, 0.041032616, 0.0410208851, 0.0449683517, 0.0000021054, -0.0637156367, -0.026210621, -0.0203264467, -0.0004955922, 0.0098781167, 0.0667171553, -0.0069269384, -0.0412157252, 0.0182884689, -0.0054774364, 0.0136379199, 0.0558918901, 0.0206686966, 0.0018229256, 0.0837494731, 0.0023143005, -0.0281629693, -0.0117658749, -0.039530348, -0.0057237297, -0.0132468678, 0.0132335108, -0.0156682376, -0.0208185613, -0.0190702751, -0.0391054712, 0.0215184465, 0.0121753095, 0.0139168892, -0.0222295225, -0.0024716754, -0.0210110955, -0.0217726473, -0.0041236468, 0.0906454548, -0.0255514774, -0.0196445584, -0.012802422, -0.0017286937, -0.0334858336, -0.0349866562, -0.007707546, 0.0280134231, 0.0185626671, 0.0393200628, 0.0354909003, -0.0161165819, 0.0379248485, 0.0086554028, -0.0290310513, 0.060913302, 0.0296635032, -0.0292932056, 0.0472548865, -0.0002418045, 0.0144887883, -0.0419316627, -0.0126272095, -0.011711305, -0.0545129366, 0.0146295205, -0.0200699512, 0.0083369175, 0.0297956429, -0.0595481135, 0.0283369292, 0.0514854454, -0.0203920025, 0.0325073674, 0.0035006448, 0.0453879349, -0.0363206789, 0.0267921574, -0.0659358874, -0.0163414516, -0.0051876721, 0.0055793063, 0.020261284, 0.0051224949, -0.0141341193, 0.003155038, -0.0876223743, -0.0073909224, -0.0055567422, 0.0416985154, 0.0327682272, 0.0010440509, -0.0555284917, -0.0074473657, -0.0371252298, 0.0913146138, -0.0093385736, -0.0104780598, -0.0065878569, -0.0204812121, 0.0323426276, 0.0320447274, -0.021699775, -0.0501491763, 0.0197024662, 0.0629947931, -0.0242599808, 0.0075511965, -0.0045307591, 0.0252757091, -0.0271230079, -0.0986185148, 0.0080639655, -0.077636674, 0.0538633354, -0.013056173, 0.0324843377, -0.0261806548, 0.0006613653, -0.0221676398, -0.0034248992, 0.0493281148, 0.0081994906, 0.012775789, 0.0023449147, -0.0414247364, 0.0236290172, 0.1107248887, 0.0233987309, 0.0193090606, 0.0473254994, -0.0339672491, -0.0391958244, 0.07267382, -0.0127908364, 0.0311296154, -0.0351026058, 0.0048777638, 0.0237524118, 0.027346449, 0.0703573599, 0.0059287865, -0.0039868709, -0.0248007141, 0.0646486059, 0.0080520092, 0.0286482107, -0.001193494, 0.0240789596, 0.0174923427, -0.0236589201, 0.0152883688, -0.0355915576, 0.0279743001, -0.0271647796, 0.023297295, -0.0038818386, 0.0645133778, -0.0263467412, -0.0365521275, 0.0015376484, -0.016447749, -0.0142978644, 0.0405922905, 0.0685515404, -0.021541344, -0.0324823186, 0.027741747, 0.0710451528, -0.0659915581, 0.0241095778, -0.0107719135, 0.0199839137, 0.0817899927, -0.002365168, -0.0047210301, -0.0275721233, -0.0086630918, -0.0109704277, 0.062801607, 0.0807128251, -0.0104825934, 0.0208536591, -0.0765824988, -0.0306410491, 0.015671635, -0.0130926743, 0.0749488845, -0.0174978655, 0.0233070124, -0.0069298851, -0.017135771, -0.0580081344, -0.0165417623, -0.0267012455, 0.0042769583, 0.0295201596, 0.0367283076, 0.0468448512, 0.021120891, -0.0220476128, -0.0200690571, 0.015477444, -0.0240530539, 0.0122884111, 0.0057951896, -0.0136770448, -0.0463957675, 0.0362068489, -0.0028479029, -0.0352428779, 0.0460962914, -0.0423009396, -0.0360922888, -0.0152834123, 0.015836291, 0.0519721806, -0.0336289592, 0.0422972664, -0.0112507287, -0.0019024207, -0.0408982188, 0.0312018078, 0.0013572162, 0.0170699395, -0.0043609645, -0.0369453132, 0.0080721052, -0.0714295283, -0.03133462, 0.0735783353, 0.0183208827, 0.0241971798, 0.0344578847, 0.0478734225, -0.0213438086, -0.026857242, -0.0679377466, 0.0216235779, -0.0281493813, 0.0292496793, 0.0071973135, 0.0130859548, -0.0036057455, -0.0087321484, -0.0759827346, -0.0098998928, 0.0189947952, 0.0210172255, 0.0070129023, 0.0023614154, -0.0088658221, -0.0516336896, -0.0166136827, 0.0086226258, 0.0046665003, -0.0426181294, 0.0037014002, -0.026528934, 0.0273320097, -0.052946128, 0.0000822026, -0.0275422074, -0.0523296297, -0.0278568305, 0.008353659, 0.0213027243, 0.0474860594, 0.0023869374, -0.0240010545, 0.0702835023, 0.0035935219, -0.0803575814, 0.0139597366, -0.0211025234, -0.0366629325, -0.0586308241, -0.0173341576, -0.0065742899, 0.0654779673, -0.0072154929, -0.0064731534, -0.0520762578, -0.0600712299, -0.0051652156, -0.0389057845, -0.031288553, 0.0470093228, -0.0211388599, 0.0509228371, -0.0143885016, -0.048676081, 0.0583466291, -0.0256407484, 0.0006517852, -0.0658034682, -0.0259281527, -0.0462368168, -0.021057779, 0.0091274828, 0.03848885, -0.0276181996, -0.012787791, -0.0648719147, -0.0324610919, 0.0173611995, -0.0301509723, 0.0593100525, -0.0084052747, -0.0080762077, -0.0356743298, -0.0790282488, -0.0204676092, -0.0046271118, -0.0103311902, -0.0242448151, 0.0302537642, -0.0322483629, -0.0073169405, -0.0080588451, 0.0307629257, 0.0130062364, -0.0165857598, 0.0308846217, -0.0084818034, 0.0114527373, 0.0825016126, 0.0058929888, 0.0062121069, -0.0432739593, 0.0070323325, 0.0199612398, 0.0557931922, 0.0010238868, 0.0040654927, 0.0065549272, 0.0791954845, -0.0290906541, -0.0201380067, -0.0191379283, 0.0290803108, -0.0214943923, 0.0604057275, 0.0860762447, 0.0074778008, -0.0866232365, 0.0047527109, -0.040769808, 0.0833600685, 0.0175856221, 0.0452425443, -0.0788840353, -0.0003044776, 0.0039511621, -0.0014045133, 0.0181957986, 0.0087755257, -0.0004360941, -0.1532870382, 0.0136059783, 0.0242893063, -0.071692355, -0.0170612875, -0.0179817695, 0.0000378585, -0.0476054512, 0.0563784465, 0.0029393083, -0.0075379792, -0.0258543584, 0.0139935967, -0.0125437621, -0.0436429381, 0.021755198, -0.0456413403, 0.027565062, 0.0796314254, 0.046333272, -0.0117985634, -0.0245990865, -0.0021396559, 0.03766004, -0.0462185629, -0.0187355187, -0.0048182309, -0.005170973, -0.0324128196, 0.0169255026, 0.0312067773, -0.0209174585, 0.0258904081, 0.0322571844, 0.0377882756, 0.0155505519, 0.0038261428, 0.0209372956, 0.0030977016, 0.017442612, 0.059308812, -0.0044071209, -0.0886736661, 0.000430094, -0.0230656154, -0.0321525969, -0.0543205738, -0.0262946766, 0.0147296982, -0.0331293456, -0.0129624568, -0.049299866, -0.0376099236, 0.0130520761, 0.0289211627, 0.0220069047, 0.0060492721, -0.0130064469, 0.0004619136, -0.0020084197, 0.0304781105, -0.0455221198, 0.0180935357, -0.0992326587, -0.0132693909, 0.0245423391, -0.0566598587, 0.0080684535, -0.0035246776, -0.028483646, -0.0622015931, -0.0356341153, 0.0594355278, 0.0105033377, 0.0874435604, 0.0123781143, -0.025427416, 0.0111519666, -0.0009334173, 0.0026904305, 0.0214240849, 0.0499681905, 0.0228453446, -0.0122614829, 0.0527645685, -0.055287227, -0.0160058457, 0.0196134541, 0.0516834259, -0.0146518694, -0.0340259857, 0.0173091702, 0.0233960263, -0.0129537042, -0.0570924543, 0.0009921113, -0.0500482731, 0.0451821499, -0.0362568684, -0.0262950584, -0.0201744717, -0.0205988046, 0.0595084019, -0.016956035, 0.0022974892, -0.0120458659, 0.0129738832, -0.0054815528, -0.0075933426, 0.028259242, 0.0099026412, 0.015535906, 0.0510568321, 0.0504861921, -0.0058720843, 0.0090281824, 0.0317572542, 0.0481771231, 0.0092959683, 0.038701646, 0.0053575127, -0.0170635264, 0.0054544229, 0.0206678789, 0.0038387158, -0.0371327475, -0.0270587932, -0.0247831848, 0.0960708335, -0.02973965, 0.0956685096, 0.0022600528, -0.0188167766, -0.0409296006, 0.0310383532, -0.0324775949, -0.0111182295, 0.0172250904, 0.0063992133, -0.033289928, 0.0198511928, 0.0665233806, 0.0185835082, 0.0232114848, 0.0041093314, 0.0152443834, -0.0277077071, -0.025784729, 0.0195676554, 0.007803136, -0.0437659547, -0.0286611058, -0.0457398742, -0.0791161284, 0.0117270919, 0.0139654269, -0.0459340215, 0.0135303494, 0.016370751, 0.0436878949, -0.0431017727, 0.0178693943, -0.0599813424, -0.0466616936, -0.0197354462, -0.0155435242, 0.0256672949, -6.20465224e-33, -0.0259475969, 0.0158077404, 0.0161583573, -0.0323576294, -0.0258191396, -0.0241179243, 0.0149913337, 0.0053124777, -0.014633853, -0.0160584934, -0.0155722015, -0.0435490943, 0.0240507647, 0.0392271653, 0.0389889367, 0.009711232, 0.0390244834, 0.0136827212, -0.0234282929, 0.0072630546, 0.0420931652, 0.0234691631, 0.108306095, -0.0260067489, -0.0003266325, 0.0266449936, -0.0061094505, 0.0282349344, -0.038478706, 0.0829208344, -0.0097640892, 0.0589059182, -0.0094575174, -0.0362559296, -0.0180936493, -0.0119406367, -0.0493889637, -0.0177712124, 0.0291934721, 0.0540801845, 0.0038386986, -0.0349280462, 0.0140049504, -0.0037245911, -0.0128735304, -0.0008285339, 0.0313198231, -0.029631855, -0.0287530608, -0.0012496179, -0.0590758286, 0.0140440594, -0.0069523994, 0.0155988699, 0.0249734819, 0.0742330253, -0.0059722955, 0.0464086048, -0.0754605979, 0.0473151356, -0.0004258541, 0.0268411469, 0.1036126837, 0.0188615378, 0.0179684199, 0.0344473571, 0.0254564863, -0.0269504301, 0.0659569353, -0.0066564456, 0.0210484769, 0.0266028084, -0.0144102285, 0.0839115158, 0.0124303978, -0.0103105465, -0.0554591566, 0.0305424202, 0.0307305455, 0.0014445103, 0.0092973663, 0.026540501, -0.0302193388, -0.0208913889, -0.0380773656, -0.0341299511, -0.0303771887, -0.0702176914, 0.0278614368, 0.0039590248, -0.0024080263, 0.0018649613, 0.0604909472, -0.0406467728, -0.0607179925, 0.030903304, -0.0372655466, 0.0044253804, 0.0035646574, 0.030126892, -0.073701486, -0.0275746137, -0.0472180806, -0.0297519844, -0.0231082588, 0.0103034629, 0.0430070423, 0.0139215766, -0.0598334, 0.0276384447, -0.0213967692, -0.014087664, 0.0051041497, 0.0577707998, 0.0288471244, -0.0383230634, 0.0041220766, 0.085256353, 0.0083152922, -0.0277395584, -0.0274946131, -0.0393331945, -0.0080165407, 0.0339578912, -0.012829395, 0.0208105072, 0.0006688914, 0.0047597885, 0.0363500156, -0.0139050735, -0.0049755578, -0.0137682892, 2.766e-7, 0.0238779224, 0.01543165, -0.0019972329, 0.0090070991, -0.037527699, 0.0365671553, -0.0399850905, 0.013134853, 0.0150471721, 0.0143763358, 0.010962625, 0.0225886684, 0.0613143817, 0.018532807, -0.09635932, 0.0019520179, -0.0401079766, 0.0047118096, -0.0356997922, -0.0144831548, -0.0134933917, 0.1141386405, 0.023424264, -0.0221076123, 0.0030256491, 0.0445804894, 0.0578586869, -0.0867228508, -0.0523873046, 0.0475562774, -0.0019882242, -0.0275256354, -0.0330882706, -0.0203491207, -0.0268480983, 0.0321104936, 0.0086961277, 0.0757891238, 0.0085562998, -0.0646894276, 0.0097188894, 0.035865698, -0.0323991105, -0.0613330305, 0.0519660227, -0.0020706707, -0.0320722982, -0.02193092, 0.0055096708, -0.0161880534, 0.0489976965, -0.0602640174, -0.0043727066, 0.017691249, 0.0320725925, -0.006646113, -0.0385761149, -0.0281267893, -0.0127706565, 0.0338681713, -0.032363303, -0.0393901691, -0.0019614252, 0.0247863401, -0.0100894123, -0.0337021686, -0.0043238336, 2.413719233e-34, 0.0397067741, 0.0070060389, 0.0226628091, 0.0085253995, 0.013146162, -0.0113254404, -0.0003534138, 0.0189168025, 0.0080701457, -0.0517208762, -0.0183395427 ]
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.
Ensemble of pre-trained language models and data augmentation for hate speech detection from Arabic tweets: 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.0569463335, 0.0878730342, -0.0007432296, -0.0022232649, 0.0028888579, 0.0694678351, 0.0546268187, -0.0120649561, 0.0091609256, -0.0753292292, -0.0250315126, -0.0668185428, 0.0168350022, -0.0043272558, -0.0120254168, -0.025019398, 0.011385615, 0.0150095308, 0.0058519258, -0.0427545868, 0.0695412233, 0.0246679448, -0.0262537915, 0.0129487794, -0.0520636328, 0.0323491767, 0.0139596611, -0.0394462608, 0.0252561457, 0.0300431773, 0.0561218411, 0.0938482955, -0.003654009, 0.0607487261, 0.0000018006, -0.0461745113, -0.0114530409, -0.0175209232, -0.0200061016, -0.0482452437, 0.0527527146, -0.025482079, -0.018904157, 0.030555198, -0.0127911074, 0.0013647989, 0.0749445856, 0.0670114532, 0.0561633706, 0.0636122152, 0.0047393902, -0.0198204014, -0.0055339551, 0.0186484437, -0.0018647993, 0.0554598384, 0.0228422824, -0.0420582257, -0.0496464185, -0.0081522912, -0.0026081642, 0.0105052805, 0.0122353667, 0.0163896829, 0.0349028818, -0.0326201953, -0.0702877119, -0.0272467416, 0.0049022203, 0.0213309489, -0.0579431728, -0.0317389257, -0.0305061061, -0.0041712024, -0.023222778, -0.02546441, 0.0133917518, 0.0086780684, -0.0249242485, 0.0474397168, 0.0006496105, 0.0314232036, 0.0498014912, 0.0851199999, -0.0259476304, 0.0520366021, -0.028615538, -0.0473904237, 0.0231391247, 0.0410714671, 0.0036163705, 0.0131256636, 0.0163170695, -0.0097166859, -0.0037438283, -0.0005827982, -0.0429544263, -0.0823621824, 0.0113138435, -0.0690306649, 0.0222171228, 0.0515420362, -0.0103526013, 0.0046421112, -0.0148721384, -0.0007150059, 0.0375590958, 0.0111708995, -0.02657797, -0.0005006604, -0.0431085601, 0.0270661004, 0.0095350388, 0.0298084673, -0.0099251792, 0.0473591909, -0.0715331286, -0.0076425243, -0.0414699279, -0.0196653847, -0.0082614543, -0.0187090077, -0.0007347852, -0.0168143194, 0.0082333786, -0.005283352, 0.0172598474, 0.035708528, -0.0756123215, -0.095728524, 0.0143439835, 0.0246776398, -0.0211337563, 0.0091489684, 0.0331346504, 0.0345136672, 0.009974109, -0.0629197285, -0.007241175, 0.0207486674, -0.0344444774, -0.0221354626, -0.0232202951, -0.0707255602, 0.0337830149, 0.0115734134, -0.0242755748, -0.0234739427, 0.0105015356, 0.0222674366, -0.0157053974, 0.0785087049, -0.0017621559, -0.0050317203, 0.0607436635, 0.0118848532, 0.0371456817, 0.0815360919, 0.0197465699, 0.0276989266, 0.0239340607, 0.0118010212, 0.0329693258, 0.0739343166, 0.0313477851, 0.029622972, -0.044779405, -0.022450896, -0.0224130992, -0.0297091845, -0.0311582424, 0.0139846392, 0.0090556135, -0.0238272399, 0.0417100862, 0.0290852003, -0.031596411, 0.0203297175, -0.0012764559, 0.0146241896, 0.0122298757, -0.0423501283, -0.0487724617, -0.0409300998, -0.0467070751, -0.0334469043, 0.0422705561, 0.0849698409, -0.0208423343, -0.0629617423, -0.0201986637, -0.0187700838, 0.0388927944, 0.0003033342, 0.0548890345, 0.0031794833, 0.0127571216, -0.0150095541, 0.0628602356, -0.0298037603, 0.0071633076, -0.0416901112, -0.0138194095, 0.0632879809, -0.0109815169, -0.0359096527, -0.0042408411, -0.0715748742, -0.004878276, 0.0359126702, 0.0012481639, 0.0098225791, 0.0224978235, -0.0170078836, -0.0354693793, 0.0516780503, 0.0229689572, 0.0111461319, 0.070231691, 0.0411054268, -0.0108594615, 0.0186417922, -0.0592935309, 0.0206575859, 0.0246693809, -0.0141200405, 0.0279258359, 0.0371995158, 0.0306062214, 0.0327561386, -0.0566844381, -0.0627713874, 0.0199754927, -0.0126146972, -0.0858384594, 0.0132319257, -0.0619813837, -0.0338089094, 0.0378002413, 0.0015757649, -0.0282291826, 0.0202533472, -0.0200562645, 0.0018985769, 0.0832445323, -0.0141290985, -0.0076513044, -0.0284389686, 0.0119662285, -0.0624019951, 0.0601601824, -0.0022946999, 0.0685871691, -0.017782392, -0.0179804582, -0.0373817794, -0.0626298711, 0.0523596667, 0.05119019, -0.0525951423, -0.0234843902, 0.0096823154, 0.037617404, 0.0235759988, -0.0373979025, -0.0175242778, 0.0083562089, -0.0837576166, -0.0100370198, -0.0455787219, -0.0105119264, -0.0265052691, 0.0267069563, -0.0418556072, 0.0087973084, -0.0058667725, -0.0728040412, 0.0766318813, -0.0045595434, -0.0104329437, -0.0797798112, -0.0088392887, -0.0174209978, -0.0128609044, 0.0082127145, 0.02800248, 0.0202121306, -0.0852802545, 0.0609453581, -0.0531123616, -0.003759088, 0.0236768033, 0.0092956861, -0.0324612409, 0.022026578, 0.0312100705, -0.0361391604, 0.0250080395, 0.0569089428, 0.0624891296, 0.0232994668, 0.0223325267, -0.0048333243, 0.0008176634, -0.0039580599, 0.026554279, -0.0091689257, -0.0293454882, -0.0263840538, 0.0495098606, 0.0186399277, -0.0236860048, -0.0445251279, 0.0193959512, -0.0370616205, -0.0449222475, -0.0353583321, -0.0612500086, -0.0014993205, -0.0173185356, -0.0246274415, -0.0969116911, 0.0329205878, -0.0040463698, 0.0324922837, -0.0291650034, -0.0480596758, -0.0137514211, 0.0198700521, 0.0133645646, 0.0338956863, -0.0295491666, 0.0292205289, 0.0266279038, -0.0275851265, 0.0122376634, -0.0225117672, -0.0092264805, -0.0079792608, 0.0210884474, 0.0046295617, -0.0332706086, -0.0698083565, -0.0510876477, -0.0568992309, -0.0200380906, 0.0227485243, -0.0257125515, -0.0338310711, 0.0050341114, 0.02245556, -0.0158275366, 0.0036037017, 0.0174104832, 0.0460444465, -0.0596697368, -0.0239816569, -0.0139954984, 0.0153789958, -0.0161717329, -0.0127811264, 0.0347337425, -0.0214237291, -0.0059709847, -0.0569578335, -0.0220244434, 0.0189452991, -0.0116688963, 0.0022842747, -0.0771963671, 0.0033872125, 0.0053076106, 0.0283244997, 0.0997001082, 0.0157442112, -0.0310927723, -0.0118630854, 0.005377559, -0.0110869715, -0.0060843895, -0.0203358885, -0.0803852677, 0.0018879238, 0.0012432436, -0.0003973233, -0.0652795359, -0.0388468914, 0.0219382998, -0.0642883554, -0.0192958638, -0.0018696414, -0.0680076033, -0.0211780686, -0.0071658609, 0.029692227, -0.0202555843, 0.0143744973, -0.0600122921, 0.0261452757, 0.0395834446, 0.0502092838, -0.0633292198, -0.0544244386, 0.0025915233, -0.0431399979, 0.0296476427, 0.0359521434, 0.0061498028, -0.043723952, 0.030217506, -0.0004877542, -0.0236553326, -0.0196935758, -0.0488989428, 0.0523361601, -0.0093787909, -0.0316111296, -0.0043439432, 0.0045815893, -0.0330144316, 0.0107265804, -0.0005388674, 0.0062540905, 0.0133025954, 0.0407503583, -0.054770533, 0.0134252924, 0.0054245051, 0.06775181, -0.0102965664, -0.0549376607, 0.0364279412, -0.055995591, -0.0433989577, -0.0523570739, -0.0383925326, 0.010465648, 0.0094910488, -0.0091911135, -0.0276670624, -0.0399389975, 0.0372850187, 0.0032100989, 0.0076603424, 0.0236764476, -0.0216235295, -0.0016298477, -0.0413113795, -0.0157396309, 0.0127499979, 0.0448033735, 0.0072106812, -0.0308564976, -0.0407166034, -0.0524135828, -0.0011277591, -0.0179873928, -0.0451986752, -0.0329421461, 0.0764377862, 0.0350826494, 0.0081622154, 0.0018080729, -0.0111007215, -0.0637427941, 0.0757864267, 0.1088716686, -0.0004128465, -0.0115584405, 0.0408797972, -0.0275087785, 0.0073954258, 0.0266121309, 0.0046832529, 0.066074118, 0.049510017, -0.087872915, -0.0607726537, -0.0049647135, -0.0152020706, -0.0328703672, 0.0277365576, -0.0246361084, -0.0648411959, -0.0488065332, -0.011792942, 0.0167041719, -0.0363777094, -0.0021047748, 0.019136386, 0.0066957702, -0.0001396513, -0.0372429565, -0.0096285893, -0.0257496927, -0.0136907892, -0.0087318849, 0.0313228145, 0.0226567946, 0.0068001454, 0.0186834112, 0.0441377275, -0.0150973815, -0.0070824912, 0.0184419416, -0.0221417397, 0.0041270596, -0.0326917395, 0.0011340051, 0.0275481828, 0.0180013478, 0.0051664109, 0.0261131227, -0.0126937376, -0.0724564716, 0.0141147058, -0.0046930593, -0.0592060164, 0.0334548503, 0.0079081068, -0.0102873705, -0.022870671, -0.0076101944, -0.0139783975, -0.0161724389, -0.0070692906, 0.0170271322, -0.0307196956, 0.0270403754, 0.0379595943, -0.0192025527, 0.0328670666, 0.0782426149, -0.0219187699, -0.0200594999, 0.0290967356, 0.031868875, -0.0017901042, -0.0094645899, 0.047621116, -0.0244665034, -0.0462138541, 0.0141895786, -0.0468997024, 0.0300975312, 0.0227333121, 0.0184358321, 0.0585078709, -0.0244191028, 0.0544009656, -0.0261394717, 0.0062355576, 0.0147848902, -0.05114308, 0.0152915511, -5.340864828e-33, 0.0032468897, -0.0039787591, -0.0165575761, -0.0416877829, 0.03521014, -0.0313363746, 0.0583711304, 0.0354560725, -0.0016243499, 0.0357435904, -0.0075466852, 0.0260468498, 0.0097070122, 0.0273150671, -0.0022570689, -0.0096007055, 0.0330679007, -0.0152184162, -0.0158028565, -0.0003890607, 0.0547761843, 0.0198178496, 0.074309364, -0.0690138787, 0.0152006885, -0.0315373391, -0.028668398, 0.0055447295, 0.0173947942, 0.0821430609, -0.0082100686, 0.1098295897, 0.0496160984, -0.0203310493, 0.013556907, 0.0163664091, -0.0091775134, 0.0100004021, -0.0160816405, 0.0484281629, 0.0390195809, 0.0226914324, 0.0136503354, 0.0206170641, -0.070387058, 0.0011574874, 0.0421812087, -0.0514292344, 0.0237261858, -0.0348379649, -0.0800190568, 0.0417740643, -0.0214456432, -0.0033698569, 0.0042747399, 0.0449029356, 0.0421053544, 0.0100894021, -0.0345385261, 0.0192896426, 0.0286708735, -0.0134945512, 0.0077942205, 0.0070838281, -0.0085595995, 0.0642967746, 0.0012056003, 0.0078727799, -0.0260238703, 0.0173035245, 0.0305156093, -0.0150941275, 0.0254981872, 0.059013553, 0.02442782, -0.0488778241, -0.053712111, 0.0194122624, 0.0386342853, -0.0193029288, 0.0135240005, -0.0312580727, -0.0649477541, -0.0151884342, 0.0027038718, -0.0634401217, -0.0093503688, -0.0122769242, -0.0003204276, 0.0004265354, -0.0337047689, 0.0102527635, 0.0067347861, -0.0087800818, -0.0287967194, 0.0451475382, -0.0345588699, -0.0144171054, 0.0291313753, 0.036909949, -0.0430154577, -0.0223015901, 0.0116343861, 0.0141751729, 0.0093617188, 0.0023010976, 0.0823180079, 0.0469086431, -0.0827737153, 0.0513412803, 0.0174846277, 0.0559042245, 0.0014560422, 0.0734622851, -0.0036844758, 0.0374474823, -0.0147269694, 0.0016188315, 0.0178022329, -0.0400657468, -0.0022515049, -0.0285835862, -0.0628995895, -0.0299678147, 0.025535211, 0.0034535103, 0.0007041342, -0.023834236, 0.0139460294, -0.0887912959, 0.0327493288, -0.057498496, 2.418e-7, 0.0190466903, 0.0292800236, -0.0213620849, -0.049417451, 0.012001914, 0.038576331, 0.0229776967, 0.0007358917, -0.0140291536, 0.0234040357, -0.0255921111, 0.0723022074, 0.0189799462, 0.0260478444, -0.021310227, -0.0245496221, -0.0429827832, 0.0338810086, -0.0335181877, 0.0202025957, -0.0000553296, 0.1499527097, 0.0586938709, -0.0353758782, -0.0431186073, -0.0290493425, 0.0227497537, -0.0340166464, -0.0180991292, 0.0047960808, 0.0916184634, -0.0010957284, 0.0198636688, 0.0156462658, -0.0303556249, 0.0258227866, 0.0407443382, 0.0058715502, 0.0129495496, 0.0627313405, 0.0090859076, -0.0096878381, -0.009317643, -0.0349932946, 0.037011385, -0.0012283663, -0.0151890349, -0.04663096, -0.0111463824, 0.0097692572, 0.0765533149, -0.0034688758, 0.0140266679, 0.0078671593, 0.0413613468, -0.0056866328, -0.0183220338, -0.0596487895, 0.0146609107, -0.0189840384, -0.0192188472, -0.0030199571, 0.0087921117, -0.0043784925, 0.0375260971, 0.0444733277, 0.0414336398, 1.516724519e-34, 0.0313633829, -0.0032850408, -0.0207044668, -0.0134120593, 0.0146281859, -0.0130258221, -0.0051273196, -0.0038168854, 0.0265740622, -0.0187733788, 0.0116086314 ]
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.
Predicting vs. Acting: A Trade-off Between World Modeling & Agent Modeling: 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.0228695869, 0.0152431857, -0.0207411312, -0.0356522612, -0.0115693454, 0.0121732727, 0.0058866059, 0.0054274499, -0.0442153551, -0.0107157333, -0.0744718015, 0.0033859275, 0.0351425409, 0.018520005, -0.0793356672, 0.0317722447, -0.0417560078, -0.0097244857, 0.0100295888, -0.0192147605, -0.0037253203, -0.0025794599, 0.045089405, -0.017705854, -0.0184091516, -0.0658933148, 0.0195961744, 0.0320081934, -0.0166457333, -0.0107555818, 0.0631795973, 0.0374783352, 0.0556393154, 0.0000017849, -0.0464098305, 0.0169985443, -0.0080744401, -0.0065579149, -0.0377746373, 0.0318429358, -0.0019120881, -0.0292193778, 0.0010126946, -0.0183866639, 0.0079819737, 0.0226895232, 0.0579903051, 0.0233488977, 0.0885175765, 0.006964555, 0.0264615808, 0.0412688702, -0.0408029445, 0.0711541697, -0.0140669355, 0.0117451232, -0.0405313596, 0.0094891954, 0.0016064401, -0.0244651213, 0.0040561561, 0.029358685, -0.0212468822, 0.0232734028, 0.0597056597, 0.0123052699, -0.0298604146, -0.0092116473, 0.0653304234, 0.018890813, -0.0068968404, 0.0222166739, -0.008915497, -0.0089862756, 0.0103960838, -0.0243069045, 0.0883856118, -0.0143598411, 0.0170571953, 0.0370853283, -0.0126108648, 0.042926006, 0.0160746183, 0.0069032847, 0.0486571006, 0.0067413738, -0.0237049554, -0.0059079244, 0.0191404931, 0.0397973098, -0.0933046266, -0.029784685, 0.0472256355, -0.0389826037, 0.0240877047, -0.0846339539, 0.0375159085, 0.0368674845, -0.0053880555, 0.0210184138, 0.0379695557, 0.0076786461, -0.0061939773, -0.0192988701, 0.0341104977, -0.0292499196, 0.02161121, -0.031483192, 0.0556004904, -0.0139229102, -0.0239311326, -0.0235113446, 0.0264921244, -0.0527929552, -0.0544737056, -0.0458364636, 0.0469591431, 0.0148686413, 0.0192981903, -0.0184179284, 0.0119501622, -0.0665325448, 0.002153144, -0.0610947981, 0.019639574, -0.0307266489, -0.011898119, 0.0667558685, -0.0152273662, -0.0039688125, 0.0151698552, -0.0144154346, -0.0071515851, -0.0502575897, 0.0589633621, -0.0196236689, 0.0078039742, -0.0385702215, -0.0547343343, 0.0051246127, -0.082124427, 0.0332491323, -0.0461027473, 0.033454679, -0.00435215, -0.0167316813, -0.019912662, 0.0171833821, 0.0039237724, -0.0171622317, 0.0208890121, -0.014459881, -0.0005088585, 0.0377607495, -0.0213233475, -0.003871381, 0.050762862, 0.0219608881, 0.0541471802, 0.0030409559, 0.0220941287, 0.0209161676, 0.0333302505, -0.0083592925, 0.0125309378, 0.0190877076, -0.0182570387, 0.0242344737, 0.0694918111, 0.0563861057, 0.0443284698, -0.0412639193, 0.0130911656, 0.0646945909, 0.0319762416, 0.0132903662, -0.0251770746, 0.0829808488, -0.0003089981, -0.0179319791, 0.0729269534, -0.0633459389, 0.0391928479, 0.0029315897, 0.0522653162, 0.0167760458, 0.0061387443, -0.0291445274, -0.0175941568, -0.010950122, -0.0061950507, -0.0370027535, -0.0691819564, 0.0193363465, 0.0235490594, -0.0555021241, 0.0422309712, 0.0223396681, -0.068859376, 0.0386530496, -0.0430041105, 0.0536294021, 0.0849824175, 0.0505569093, -0.0079675261, -0.0264082681, -0.0206461903, 0.0406426229, 0.1096686423, 0.0583444387, 0.0041478816, -0.0107742613, -0.0369169749, -0.0363378115, -0.0113534573, -0.0055843275, 0.0138225043, -0.0139847025, 0.005440135, 0.0192348771, -0.0085781906, -0.0427021421, 0.0578778125, -0.0619471632, 0.0020963107, -0.0308055878, 0.027899202, 0.0218867715, -0.0212624967, -0.0072391941, 0.0403565466, 0.0211966615, -0.0033187815, -0.0231103264, 0.0071236091, -0.060622178, -0.044797089, 0.0067650364, -0.0121488068, 0.0198379848, -0.0054476741, -0.0141549865, -0.0552164279, -0.0266323667, -0.0272815991, 0.0401760489, -0.0279258545, 0.0236346647, 0.0370940194, -0.0226404574, -0.034948729, 0.0508953445, -0.0069476496, -0.0247715041, 0.0006896284, 0.0234254636, -0.0185284372, -0.0698947757, 0.0192663502, 0.0167794675, 0.0053410036, -0.0195184983, 0.0419179462, 0.0215145219, -0.0539562106, -0.0435498618, -0.0170373619, -0.0110973334, -0.0215788856, 0.0018570048, 0.0221314784, -0.0022118785, -0.0137482034, 0.0090782708, -0.0500258692, 0.0171611123, 0.0461645164, 0.0149518205, 0.0619971976, 0.0070249201, -0.0129477335, -0.0395859219, -0.0079241293, 0.0036959851, 0.0296141617, 0.0212942548, 0.0113950921, -0.06003071, 0.0226516519, -0.0464219376, -0.0023532764, -0.0277735516, -0.0158460401, 0.0294609815, -0.0358017944, 0.0480922833, 0.0376040414, 0.0319343396, 0.0549026877, 0.0328615382, 0.014911266, -0.0387695804, 0.0216250625, -0.0561581105, 0.0260956306, -0.0520058461, -0.022980772, 0.0145539613, 0.0489598513, 0.0018244246, 0.0311290864, -0.0411093459, -0.006825618, 0.0304334145, -0.0639219284, 0.0020906783, -0.0300694387, -0.0416158102, 0.0293908846, -0.027709173, -0.0783842206, 0.0501585081, -0.0314362831, 0.0183599852, 0.0039898925, 0.0283202548, -0.0294221323, 0.0444720574, 0.0462752469, 0.0281652119, -0.002921886, -0.0251381733, -0.0625865683, 0.001541908, 0.0059864181, 0.0237854104, 0.0329936743, -0.023279313, -0.0124528036, -0.0348017737, -0.0354287215, -0.0483057275, -0.0264420453, 0.0100519238, -0.0048131463, -0.0037757477, -0.0222466085, -0.0382768214, 0.018964408, 0.0341231264, 0.0403134823, -0.0582856648, -0.0163097661, -0.0432393998, 0.0400071293, 0.0709359497, -0.0272424649, 0.0267394651, -0.077828832, 0.0572985262, 0.0378929637, 0.0507453419, -0.0109930579, 0.0053038076, -0.0015260477, 0.0032821156, -0.0453698151, -0.0392165817, 0.0439687856, 0.038360063, -0.0535842851, -0.0145795345, 0.1087012067, 0.0079348357, -0.0201240629, 0.0105521008, -0.0357066616, 0.110057056, -0.0130222514, 0.0224296469, -0.0435582586, -0.0011093693, 0.0218045153, 0.0135984169, -0.0139788557, -0.046481438, 0.0219763126, -0.0804320574, 0.0699324459, 0.0391011722, -0.0696394444, 0.0106094629, 0.0058007622, -0.0137615744, 0.0304774232, 0.0211483557, 0.0470449142, -0.0351647697, 0.0108865472, 0.0192284528, -0.0446625575, 0.015038535, -0.0431639142, -0.0455751903, 0.0340627767, 0.07513953, 0.0155961066, 0.0131052695, -0.0291209072, -0.0066770352, 0.0396192186, 0.0495817736, -0.0123648234, 0.0527921766, -0.0257867388, 0.0118641276, -0.0180870425, 0.0409978852, -0.0191069432, -0.0287197903, -0.0224225186, 0.0532023497, -0.0465216376, -0.0391466878, -0.0222018585, 0.0203592647, 0.0209611338, 0.0752084553, 0.0095645506, -0.0378641374, -0.0769215748, -0.0178854354, 0.018558722, -0.0539188795, 0.0305080283, -0.0011455656, -0.039084889, -0.0213045757, -0.0642944947, -0.0979080871, 0.0146587612, 0.0552975722, -0.0101683838, -0.0017473146, 0.0054049799, -0.0241666529, 0.0105761848, -0.0036195454, -0.0391232371, 0.0096023688, -0.0605715886, -0.0251479857, 0.007741774, -0.0733604059, 0.0173145402, -0.0026779079, -0.0617937744, -0.0493376553, 0.011898214, 0.0393684991, 0.0264416728, 0.065963544, 0.0247242991, -0.0159677379, 0.0581625476, 0.0010649314, -0.0314381607, 0.0534143187, -0.0110535212, 0.0156557821, -0.0246863533, 0.0375497118, -0.0310283471, -0.0387659855, 0.0259279087, 0.0709934086, 0.0099840872, -0.041073069, -0.0100715989, -0.0089192977, -0.0133513352, -0.0599916354, 0.0160202514, -0.0386524647, 0.0050276243, -0.0160036255, -0.004531723, -0.023185594, 0.0143509582, 0.0349303074, 0.0348789319, 0.0154405488, 0.0247111619, -0.016085593, 0.0700560659, 0.0050526415, -0.0182356928, -0.0152064273, 0.0427685641, 0.0373630822, 0.0026593592, -0.0284090154, 0.0068924683, -0.0342787653, 0.0331706777, 0.012030554, 0.0870064646, 0.0234955288, 0.0161856543, 0.0074659209, 0.005645534, -0.0919316411, -0.042871844, -0.040357057, 0.0075781234, 0.0319212042, 0.0278333295, 0.0592948534, -0.0575338565, 0.0057385694, -0.0211002808, 0.0300854854, 0.0436030179, -0.0498133078, 0.0200566091, 0.0142552648, -0.0435384661, -0.0107186483, 0.0594724379, 0.035350401, 0.0431646705, -0.0054304488, -0.002805063, -0.0353126228, -0.0517824627, 0.0396808051, 0.0056493171, -0.0064367419, -0.0564392731, -0.0597202294, -0.0254164319, 0.0688206181, 0.0314469635, -0.0406700224, -0.0260878075, 0.0331448838, 0.0444516577, -0.0186778139, -0.0279184803, -0.0646791458, 0.0018088407, -0.0355679691, 0.0050819553, -0.028151311, -5.373570387e-33, -0.054560367, -0.0261659082, 0.0436300486, -0.0175606906, -0.0715328455, -0.0201644152, -0.050097879, -0.0080426559, 0.0310867969, 0.0181473773, -0.0190119948, -0.0309487283, 0.0238456391, 0.0509458929, 0.0202657226, -0.0165862385, 0.0428299159, -0.0339543782, -0.0546116009, 0.035502959, 0.0465805158, 0.0114522474, 0.0196705386, 0.0096479207, 0.0021164143, -0.0358183384, -0.0163019653, 0.0141734518, -0.022547869, 0.0427805968, -0.0318587385, -0.0103058778, 0.0144320689, -0.0179348867, -0.034584526, 0.045293685, -0.0395623557, -0.0001225363, -0.0018105782, -0.0116789043, -0.0804554671, -0.0355379581, 0.0189595409, -0.0026426492, -0.0218747463, -0.0083196349, 0.0258443281, -0.0158883519, -0.0505104996, -0.0167498048, -0.0921330601, 0.0096777529, 0.0184183437, -0.0010356582, -0.0361131988, 0.0317135975, -0.0057225944, 0.0017135534, -0.0587951019, 0.0196422841, 0.0106165158, 0.0126966638, 0.0574197993, 0.0636755973, -0.003447403, 0.0723814815, 0.0334860608, 0.0137077877, -0.0392480493, 0.0528536588, 0.0049395561, 0.0424699858, -0.0289503355, 0.0472070538, -0.0211275965, 0.0300319605, -0.0426534228, 0.0540888608, 0.0155459391, 0.0298064165, 0.0180747025, -0.0035483325, -0.0064935097, -0.0123232016, -0.0291007478, -0.0137840807, 0.0156124895, -0.040083874, 0.019252982, 0.0365014374, 0.0194543451, -0.0333973989, 0.0386306718, 0.0057406654, -0.0124836965, 0.0316359997, -0.0471303426, 0.025018163, -0.013981089, -0.0054107676, -0.0661291108, -0.0364648849, 0.0267702788, 0.0128166312, -0.028426243, 0.0295945946, 0.0250429567, 0.0339555889, -0.0593211353, 0.014849239, -0.0380045399, 0.0320751779, 0.0178400073, -0.0200447775, 0.0498048365, -0.0700982213, -0.0138082523, 0.0596352033, -0.0346057564, -0.02715105, -0.0080846734, 0.0053349691, -0.0018554884, 0.0155342231, -0.0161820911, 0.0213727262, -0.0543468595, 0.0394327864, 0.0502480008, -0.054860875, 0.0106177991, 0.0298128966, 2.404e-7, -0.0017904326, -0.009775701, 0.0691433772, 0.008106418, 0.0296840779, 0.0282278508, -0.0179243013, 0.0391235054, 0.007696596, 0.0008223635, 0.0494087264, -0.0022789978, 0.0635019019, 0.0034648711, -0.0788992122, -0.0063575669, -0.0999806225, -0.010140799, -0.0517943911, -0.0326473564, 0.0137933623, 0.03826138, -0.0055366596, -0.0254370943, 0.0313097127, -0.0071375584, 0.0812476873, -0.0193286147, -0.0083666397, 0.0396395288, -0.0294565298, -0.0478223972, -0.0146893794, -0.0190434344, -0.0142490529, -0.0141771799, -0.0041103675, 0.0608848818, 0.0288916621, -0.0493745804, 0.0072411154, 0.0065800315, 0.0215731841, -0.025811892, 0.0400295891, -0.0089038694, 0.000310395, 0.0278682914, -0.0112023298, 0.0112852203, -0.0290189516, -0.0252072252, -0.0153291849, 0.0388305858, 0.0060872021, 0.0044447496, 0.010509803, -0.0519577749, -0.0320723318, -0.0380896516, -0.0662697107, -0.0656373948, -0.0633687526, 0.0435559712, 0.0237667561, -0.0798634812, -0.059501227, 2.481792295e-34, 0.019036511, -0.0225876588, 0.0038027873, 0.0018284317, 0.0223391689, 0.0130492495, 0.0376814492, 0.0385194421, 0.0294233523, -0.0803335607, -0.0409725197 ]
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.
Evaluating the Robustness of Adverse Drug Event Classification Models Using Templates: 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.0414472148, 0.0526569039, 0.0115031153, -0.0246459637, -0.020024674, 0.0191580933, -0.0178662967, 0.0202215742, 0.0440749191, -0.0632089674, 0.0420878008, -0.0268980879, -0.0701821446, 0.0466163792, -0.033273764, -0.02242692, 0.0393958688, 0.0622770786, 0.0275637377, 0.0245721787, 0.0376656279, 0.0130971763, -0.0410568081, 0.0311525967, 0.0115873925, -0.0041073207, 0.0522271954, -0.0087400973, 0.0350317881, -0.0856578052, 0.0154756894, 0.0285579842, -0.0237233806, 0.011217745, 0.000001596, -0.0475142151, 0.0200954899, 0.020181831, -0.0005795619, -0.0391648114, 0.0740689486, -0.061019782, 0.0020850331, 0.0418600626, -0.0434431769, -0.035580121, 0.0295214485, 0.0629653335, 0.0188753475, 0.0926582143, -0.0398983583, 0.0017423813, 0.0202146471, -0.0118002929, 0.0113262162, -0.033918418, 0.0463913828, -0.0612969361, 0.0053952183, -0.0285130609, 0.0331928618, 0.027755497, -0.0169549026, 0.0227927621, 0.0099742003, 0.0181254502, -0.0513035022, -0.0282292683, -0.0086943852, 0.0199188776, 0.0202560183, -0.0275769327, 0.0128704477, -0.0192090664, 0.0182784647, 0.0465598702, -0.0027721485, -0.0240448732, -0.0241725147, 0.0430756062, 0.0401616134, 0.0348008573, 0.0328940675, 0.0312198028, 0.0394463614, 0.0593461208, 0.0010373109, -0.0448783599, -0.0125985397, 0.0070659183, 0.0155658517, -0.013125537, 0.0446688086, -0.0168627333, 0.0021531181, 0.0253393836, 0.0108079147, 0.0101274168, 0.0594526753, -0.1651219428, -0.015171783, -0.0145498831, 0.0010900155, 0.031495966, -0.0067217145, -0.0433485657, 0.0073051942, 0.0309789423, 0.0157305524, 0.0528836362, -0.0565307438, 0.0341159403, -0.0012999981, 0.0264554042, -0.0084115211, 0.0088767186, -0.0512490608, 0.0129144285, -0.0413925387, -0.0291432291, -0.010180328, 0.0158540569, -0.0131038707, 0.0187515765, -0.0119745014, -0.0095919566, 0.0098619023, 0.0254041366, -0.0325583369, -0.0155026568, 0.0290523637, 0.0051119076, 0.0069503477, -0.0125155644, -0.0097476766, 0.0764748305, 0.040986035, -0.0291491151, -0.0290416684, -0.0143474573, -0.0320321135, -0.0198788419, -0.0148379616, -0.0314365961, 0.0180593543, 0.0059061488, 0.0053123641, -0.0548125096, 0.0129428012, -0.0229438227, -0.0491972715, 0.0402173586, 0.0275210273, 0.0064735687, -0.010566364, 0.0424263813, 0.0059233471, 0.060196694, 0.0102350023, 0.0205752123, 0.0468137376, 0.0037878782, 0.0030715144, 0.0066975802, 0.0360402912, -0.0123064565, -0.0076308716, 0.0128977736, -0.0295900907, -0.0077308021, -0.059201017, 0.02775166, -0.0063190917, -0.0287181456, 0.0229790527, -0.0073273373, -0.0248411484, -0.0085378112, 0.0026945234, -0.0118093314, -0.0390335172, -0.0239362884, -0.0171890073, -0.0388124436, -0.039509736, -0.0267416257, 0.0052311276, -0.0312497336, -0.0249753036, -0.0149994288, -0.0402051955, -0.0310829114, 0.0336461663, -0.0036255596, 0.0291563272, -0.0337090604, -0.0734310746, 0.0649139285, 0.0341980867, -0.0223450512, -0.013031045, -0.0518482961, 0.0201967172, 0.0725916997, 0.0467662923, -0.0232172161, -0.0243291911, -0.0326628536, -0.0036585766, 0.0135407699, 0.0346801057, -0.0167044345, 0.0230754986, 0.0244096369, 0.0211979561, 0.0293088909, 0.0487295575, -0.033154346, 0.0051269452, 0.033558771, -0.0226692744, 0.0307396874, -0.0685386658, 0.0419153571, 0.0274654943, -0.0549401455, -0.0063228109, 0.01188266, 0.0704910457, 0.0196817238, -0.0046258382, 0.0047840602, 0.0521072783, -0.0803350732, -0.0584241971, 0.0125360321, 0.0281576216, -0.0304528978, 0.0050813686, -0.0026968759, -0.0107677309, 0.0295228008, -0.0566817895, 0.0019188937, 0.0332947634, -0.0145415477, 0.0362222306, -0.0130577898, -0.0075671775, -0.0101283584, 0.0023164104, -0.0148188062, 0.0084652454, -0.0239974633, 0.008161732, -0.0553100295, -0.0757227615, 0.0033638279, -0.0064426991, -0.0207710378, 0.0166895874, -0.0129462071, 0.0052211108, 0.0430015512, -0.0229849368, 0.0043947059, 0.0043922407, -0.0843519494, -0.0087613035, -0.0253417306, 0.0424621999, 0.0170775, -0.0204087943, 0.0009808516, -0.0240361635, -0.0156014124, -0.0705822334, 0.0344824344, 0.0438706726, 0.0040994934, 0.0515154004, 0.0109718209, -0.022405304, -0.0105968714, -0.0619199313, 0.0424738862, -0.0004406938, -0.0724205971, 0.0028537177, 0.0019872407, -0.0444114208, -0.0076272036, 0.0071110856, -0.0325182378, 0.0078243595, 0.0213713236, -0.012392059, 0.0475481488, -0.0031052579, 0.0543686934, 0.0147227896, 0.0486392826, -0.002600143, 0.0037150495, -0.0793146044, -0.0083909761, 0.0099800481, -0.0587432086, 0.0078003979, 0.0643505529, 0.0251141954, -0.0037462504, -0.0628284141, 0.0122398194, -0.041659385, -0.0096969353, -0.0214880537, -0.0297854804, -0.0374419279, 0.0047773831, -0.0371629074, -0.0639962256, 0.0586084612, 0.0463732183, 0.030561151, -0.0589973256, -0.0303585082, -0.0512229837, -0.027530672, 0.0185764246, 0.0042927791, 0.0255652126, 0.0174083877, 0.0778530911, -0.0641320646, 0.0203429535, -0.0255702082, 0.0362302661, -0.0256465301, 0.0187342651, 0.000582736, -0.0408685356, -0.033941105, -0.071012862, -0.0138108255, -0.0113310628, -0.0247927196, 0.0295196176, -0.0318120234, 0.0641094968, -0.0708209872, 0.0319203958, -0.0098707397, -0.0162757449, 0.0562119335, 0.0095635438, 0.0349137187, -0.0817362815, 0.0261230003, -0.0022804912, 0.0419333987, 0.0579451919, 0.0155674918, 0.0211411603, -0.0085072918, 0.0001979549, -0.0050431634, -0.0480953828, -0.015199515, 0.0373666473, 0.0107154371, -0.044174999, 0.0050738007, 0.0849195123, 0.0237655602, -0.0250819642, 0.0454557426, 0.0120609384, -0.0399944596, 0.0019650366, -0.0374508165, -0.0338016562, -0.0106688831, -0.04705045, 0.0127289444, -0.0490040369, -0.0172497965, 0.0125231463, -0.0260668714, 0.0023208417, 0.0137751792, -0.0140720606, -0.0112116113, -0.0652225688, -0.0023466812, -0.0613819323, -0.0170036517, -0.0420979522, 0.014111164, -0.0196377076, 0.0016455478, -0.086243771, -0.0875909701, 0.0282105915, 0.011331806, 0.0264498107, 0.0165743902, 0.0374210477, -0.02574181, 0.0019766989, 0.0433313623, -0.0135601955, -0.0186808258, 0.0095777456, 0.0702815205, -0.0142140677, 0.0169827864, -0.0688074529, 0.0200214963, -0.0457254201, -0.007388751, -0.0277648941, 0.0999512598, -0.0222231988, -0.0587398186, -0.0516762435, 0.0409446508, 0.0576915182, 0.0556548387, 0.0029986156, 0.010227846, -0.0346588008, 0.0169683006, 0.0142197888, -0.0629167706, -0.0239404887, -0.0391261019, 0.009875806, -0.0310933813, -0.062989004, -0.0216298625, -0.0201618411, -0.0224748012, -0.0393349752, -0.0111729186, 0.0049286643, -0.0172294453, -0.011142957, 0.0616832897, 0.0682174563, 0.0426934995, -0.0532934479, -0.0281551089, 0.0486606322, 0.0741633698, -0.0194347799, 0.0348936506, -0.0363534838, -0.0691616237, 0.0318965092, 0.0206187423, 0.0251288507, -0.002241706, -0.012965736, 0.0016860786, 0.0223405547, 0.0560750291, -0.0085682217, -0.0593267083, 0.0525006391, 0.0140354, -0.0033799994, 0.0188648105, -0.0063602552, 0.0451785512, -0.0052239131, -0.009161761, -0.0358130187, 0.019858297, 0.0075426549, -0.0248856377, 0.0545499697, -0.0021726941, -0.0692500025, -0.0157174151, -0.0115501741, 0.0012265773, 0.0071965619, 0.0258832779, -0.0104934638, 0.0270739123, -0.0144633921, -0.0665438771, 0.0257778894, -0.098724544, 0.0185053684, -0.0534398817, 0.0533919372, 0.0232577473, 0.0230041575, 0.0380607955, -0.0045047579, -0.028320998, 0.0078330627, 0.0104998508, -0.0115070939, -0.0256988145, 0.0448271446, -0.0305024814, 0.0513258129, 0.0036257452, 0.0239907932, -0.0360297188, 0.0231421515, -0.0406972021, 0.0045265169, 0.0276317019, -0.0266701356, 0.0544706248, -0.0323231146, -0.0186909847, -0.0344539396, 0.0449441895, -0.0342577696, 0.0078577036, 0.0354405269, 0.01618612, -0.0238507837, 0.0051671159, 0.0589000396, -0.00514314, 0.0470663868, 0.0423881598, -0.0477121472, -0.01127508, -0.0390175283, 0.0215049088, -0.0004269535, -0.0431053899, 0.0595695712, -0.1002176777, -0.0281742495, 0.033844769, -0.0459746346, 0.0382953696, -0.0023470931, 0.0143595897, 0.0487190969, 0.0471025072, 0.039491374, -0.0340836383, 0.012709504, -0.018503977, 0.003156963, -0.0653194934, -5.13512797e-33, 0.0325838178, -0.0143365404, -0.0504927151, -0.0051630288, 0.0248347893, 0.0145161282, -0.0267531257, 0.0087956088, 0.0160337035, 0.0355933942, 0.0357338004, 0.0241341144, -0.0081300605, 0.0076163439, 0.0043511209, -0.0454142801, 0.0447821096, 0.0052645728, -0.0188836195, 0.044859793, 0.0313390344, 0.0509497151, 0.0181772523, -0.0942307115, 0.0530216433, -0.0001771702, 0.0096363211, -0.0117242904, 0.0133530172, 0.0849538445, -0.0095397364, 0.0831227452, 0.0577738211, -0.0353053994, 0.0225782096, -0.0285505001, -0.0187109746, -0.0223729517, -0.000335816, -0.0304469112, 0.0042936248, -0.0251361821, 0.0255250167, 0.009479207, -0.0679796562, 0.0038495674, 0.0184418559, -0.0249610003, -0.01030841, -0.0605461635, -0.0566710383, 0.0451033302, -0.0134919947, -0.0002673082, -0.015999807, 0.0439270511, 0.0031313924, 0.0389968343, -0.0226941463, -0.010378968, -0.032973092, -0.0144826593, -0.0079202894, -0.0645794719, -0.0291251428, 0.032896515, -0.0026025437, 0.0590845086, 0.0004106694, 0.0228890274, -0.0431128256, 0.0169996955, 0.0468747206, 0.04533213, 0.0507930107, -0.0213678274, -0.0979185775, 0.0108557055, -0.0077210539, 0.0380231738, 0.0649902597, -0.0037456108, -0.0758746415, -0.0227751713, 0.0216247197, -0.0110038724, -0.0126594715, -0.0143753951, 0.001302236, 0.0102540832, 0.0005769283, 0.0299947113, -0.0073589976, -0.0203315336, -0.0108735412, 0.0511857606, 0.0104740625, -0.0018064773, 0.0034608853, 0.0101733003, -0.0829578489, 0.0097227115, 0.0096554523, 0.0010370762, 0.0273390971, -0.0334979929, 0.0653768927, -0.0056709643, -0.053231243, -0.0039428184, 0.0117034381, 0.0482774116, 0.0146272201, 0.0611949712, 0.0241201539, 0.014694931, 0.0113194771, 0.0785020068, -0.0064995014, 0.0086550582, -0.0074215271, -0.0184075311, -0.0064890748, 0.0294099562, -0.0313257799, -0.0020346425, -0.0045214267, 0.047295697, 0.0267451704, -0.0662201196, -0.0131417541, -0.0588047467, 2.423e-7, 0.0816616789, 0.0425162241, -0.0061878758, 0.0091877356, 0.0485262461, 0.0269666407, -0.0173368398, 0.0352633931, 0.0058079734, 0.0337832496, 0.0060208733, 0.0032859035, 0.013491706, 0.0440190807, -0.0147428457, -0.0147035168, -0.0923684463, 0.0020705068, -0.0349971801, 0.0035400554, 0.0704615787, 0.0698276311, -0.0037270265, 0.0082666185, -0.0119122788, -0.0084447423, 0.0528989807, -0.0508775935, -0.0337539874, 0.0252476521, 0.0161686949, 0.0000353339, -0.0147861643, 0.0368323959, -0.0395541154, -0.0144725982, -0.0179740917, 0.0656661391, -0.0330120474, -0.016307978, 0.0154432673, -0.0476883911, 0.0230530109, -0.0208441615, 0.0692061037, -0.0584262647, -0.055947341, -0.0420476831, -0.0108392201, 0.0168732181, 0.090985246, -0.0146348486, -0.064346835, 0.0187235698, 0.0182982963, 0.011391337, 0.0024506655, -0.0805008635, -0.02619428, 0.0522984602, -0.031354133, -0.050776843, 0.0410975963, -0.005093921, -0.006908041, -0.0691849962, 0.0279258899, 1.988136784e-34, 0.0737204328, 0.041921027, -0.017444741, 0.011117666, 0.0367561355, -0.0070831655, 0.0039337114, -0.0483718589, 0.0364846662, -0.0204303786, 0.0154111469 ]
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.
CEB: Compositional Evaluation Benchmark for Fairness in Large Language Models: 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.0577800833, 0.0760449246, -0.0310098622, 0.0424228981, -0.0481786579, 0.0337121598, 0.0283069424, -0.0150803933, 0.01749474, -0.0850760266, -0.0068309619, -0.0098290294, 0.0326126255, -0.0081002656, 0.0056968955, -0.0451778881, 0.0380880795, 0.0271971431, 0.0525406376, -0.0412755273, 0.0431926847, 0.0278886259, 0.0258768387, 0.0634042397, -0.0226400048, 0.0220755544, 0.0840221569, -0.000884679, -0.0042142491, -0.0217507221, 0.0261263512, 0.0748657435, -0.0393197425, 0.0562195778, 0.0000018013, -0.0761671215, 0.014782452, 0.0198288076, -0.0062514441, 0.0111446083, 0.0987619534, -0.0148457242, -0.0063029961, 0.0327302366, -0.0243043695, 0.0125798993, 0.0451908037, 0.0180470832, 0.0210593343, 0.0394261293, 0.0047213375, -0.0318755321, -0.0322198942, -0.0089057265, -0.0047393432, -0.0051814578, 0.0538621619, -0.0100188889, -0.0625877976, -0.045937065, -0.0144519974, 0.0090889577, 0.0071168295, 0.0085776094, 0.0288516972, 0.004644515, -0.0578602366, -0.0438622274, 0.0045950278, 0.0711534619, 0.004278936, -0.0161703341, -0.0052809347, -0.0370108411, 0.0421024784, -0.0016093235, -0.0381417014, 0.0565760024, 0.0078042522, 0.0274150111, 0.0300108884, 0.0308904201, 0.0322957337, 0.0584761128, 0.0125633208, 0.0574240424, 0.0284706708, -0.0556259379, 0.0026233953, 0.0336930901, 0.0234547071, -0.0427310318, -0.0068531958, -0.0360798351, -0.0241824407, 0.0083883386, -0.0274596903, -0.0316555463, 0.0543709807, -0.0675110072, 0.0191161502, 0.011237069, 0.0025910058, 0.0374935009, 0.0167058669, 0.0150866471, 0.0039486154, 0.0189177319, -0.0094365086, -0.0209506415, -0.000541694, 0.0049450467, 0.0219461322, -0.0018237254, -0.0402957089, 0.0307651982, -0.0358527452, -0.00127532, -0.0721135661, -0.0125169251, 0.0565251336, 0.0285083186, -0.0043158904, 0.013916309, -0.0316672176, 0.0140975136, -0.0279297139, 0.0389258862, -0.0264235307, -0.0820655897, 0.0145999985, 0.0045406609, -0.0154095637, -0.048832655, 0.004790307, 0.0576279014, 0.0592204593, -0.0239986721, -0.0190842394, -0.0307694692, -0.0041345791, -0.0439666919, -0.0158273671, -0.0592327788, 0.0310321152, 0.0031898899, 0.0145229306, -0.0439872742, -0.0192807987, 0.0153233372, -0.0799393803, 0.0484677516, 0.0129282251, 0.0046357224, 0.0350116715, 0.0030844889, -0.012861954, 0.1066155955, 0.023542583, -0.0292640999, 0.0741456375, 0.0058970898, -0.020408906, 0.0272295829, 0.0107512129, 0.007439604, -0.0271822959, 0.0162674971, -0.0369363725, 0.0067274519, 0.0416885763, 0.0690484792, 0.0080403062, -0.0311904661, 0.0547208413, 0.0377903357, 0.0069147088, 0.0072293007, -0.0014209773, 0.0164244939, -0.0196640883, 0.0018807625, -0.0728719085, -0.0144586992, -0.0428995043, -0.0326845087, 0.0300660729, 0.0449061878, -0.0039944174, -0.0135690756, -0.0183012728, 0.0355341546, 0.0497664213, -0.0207345355, 0.0085142888, -0.0015385346, -0.0120725753, 0.0607295334, 0.0511660837, -0.0512236282, 0.0285471231, -0.0338549837, 0.0238418132, 0.0274418667, 0.0346269608, -0.0256960541, 0.0363411568, -0.0017036952, -0.0101383626, 0.0588978343, 0.0634232685, -0.0081741, -0.0027975629, -0.0275747925, -0.038100373, 0.0085814223, 0.0555799492, -0.0071340087, 0.0403651409, 0.0097683314, 0.0081843818, -0.0541679896, -0.0532009639, 0.0493847877, 0.037754789, -0.0207010452, -0.01439064, -0.0119730774, 0.0327971689, 0.0188848972, -0.0575946905, 0.0097871916, -0.0244123898, -0.0015437331, -0.0192845631, -0.0057111955, -0.0447106957, -0.0226627421, 0.0234022103, -0.0737794414, -0.020622896, 0.0504673012, -0.0336940438, 0.0086288881, 0.0425815098, -0.0154390223, 0.0375179984, -0.0062591084, 0.0133742802, -0.0517385565, 0.0243560337, -0.055475302, 0.0395570435, -0.015218717, 0.0146744372, 0.01700899, -0.0538465418, 0.0069782115, -0.0135095632, -0.0417288654, 0.0192282889, -0.0211259183, 0.0128913149, 0.0447189473, -0.0127333673, -0.0314591825, -0.0056419349, -0.0799333975, 0.0009537763, -0.031640254, 0.0090164579, 0.0310488325, 0.0300731361, -0.019470999, 0.010599413, -0.0218131859, -0.0505181924, 0.0218063667, 0.051014863, -0.0020017875, -0.0327836759, -0.0002634427, -0.0578939728, -0.0479921028, -0.0309048351, 0.0673365816, 0.0330139883, 0.0154294884, -0.0317530893, -0.0192792043, -0.0117061986, -0.002337452, 0.0135731595, -0.0130327186, -0.0029061751, 0.0506686755, 0.005150815, 0.0430167057, 0.042399507, -0.0076764403, 0.0618343912, -0.0026604435, -0.0632848442, -0.0478246994, -0.0101466095, 0.0177785847, -0.0196981803, -0.0646486878, 0.0248811189, 0.0556462929, 0.0242322423, -0.0240363684, -0.0409356654, 0.0436449945, -0.0807189867, -0.0518456846, -0.0163033884, -0.0517614186, -0.0304343197, 0.0110794846, -0.0498061962, -0.0673910528, 0.0388664752, -0.010399268, 0.0368883535, -0.0379903801, 0.0251364429, -0.0565214939, 0.0195485484, -0.0136270765, 0.0186490007, -0.0044790786, -0.0215788949, -0.0377809368, -0.0177376512, 0.066302456, -0.0281436034, 0.0113974325, -0.0296994671, 0.0065279077, -0.0265385322, -0.0257385429, -0.0305718333, -0.0550644621, -0.0155361528, 0.0345908441, 0.0675310045, 0.0037096001, -0.010126248, -0.0053641475, -0.012414257, 0.0057303682, -0.004817449, 0.0069590858, 0.0081145922, -0.0005970502, 0.0122633474, -0.0050613163, 0.068524994, 0.0202168506, 0.0134922909, 0.0264347401, 0.0287771281, 0.0471067019, 0.0342857353, 0.0116574755, 0.0352954529, -0.0571488664, 0.0074299397, 0.0107170204, 0.0554739684, -0.0398064218, 0.0387679599, 0.108402051, 0.0180457402, -0.067446813, 0.0220230054, 0.0039768219, -0.0095687555, 0.0395137779, -0.0249629859, -0.1016201079, -0.0070146504, 0.0410147421, 0.0089952452, -0.0723691955, -0.0544821545, 0.0036959117, -0.1384821683, 0.0129353432, 0.0031513337, -0.0092934892, -0.0281203389, -0.0531258285, 0.0181244183, -0.0400062352, 0.0361396335, -0.0094481567, -0.0060227639, -0.007233928, 0.0080079827, -0.071764648, -0.0644594654, 0.0304696225, -0.0718125328, 0.0698993057, 0.038168598, 0.0320900641, -0.0247532967, 0.0113115832, 0.0552258082, -0.0320130289, -0.0297697876, -0.0201270245, 0.0425047837, -0.0424598306, -0.0150983743, -0.0462512933, 0.0293447152, 0.0063354033, 0.0239481088, -0.0070850723, 0.0499262139, 0.0480253883, -0.0293043777, -0.0717794672, -0.0152329821, 0.0168338083, 0.1057793424, 0.0327442847, -0.0162443575, -0.0182437208, -0.054992009, -0.0288938116, -0.0226629749, -0.0567018799, 0.0370960273, 0.0128471898, -0.0188957229, -0.0405763052, -0.0471968688, -0.0023217769, -0.0461839363, 0.0146897975, -0.0275154579, 0.0125089809, -0.0285837054, -0.0309447292, 0.0200130623, -0.0256325155, 0.0488941669, -0.0091490904, -0.0141097913, -0.0426115058, 0.0131666018, -0.0323316492, -0.0048075519, -0.0623531342, -0.0619173273, 0.0386027731, 0.0057464433, 0.0150947114, 0.0230945591, -0.0110789491, -0.0786214992, 0.0610923395, 0.0476356596, -0.039526917, 0.0256403387, 0.0194074679, -0.0321987569, 0.0323098153, 0.0273758676, -0.0507288203, -0.0008978026, 0.0189072266, 0.0379388593, 0.0284732562, -0.0174853466, 0.0060951109, 0.0254132785, 0.0429226868, -0.0320045091, 0.0138575137, -0.0531075299, -0.0410480127, -0.0248944126, -0.0639462397, -0.010137571, -0.0078727687, 0.0213641413, 0.0363990515, -0.0484876819, 0.0167304669, -0.0642821863, 0.01375225, -0.0565680265, 0.0767387748, 0.0041629262, -0.0129518528, 0.0020223109, 0.005514273, -0.0168505199, 0.0084594237, -0.0398320071, 0.0009395223, 0.0206674896, -0.0079148673, 0.0124463663, 0.0341562293, -0.0216426533, 0.0078052911, -0.0395622179, 0.0042833467, -0.0008396611, -0.0024501644, 0.0387677811, -0.0463940166, 0.0485829785, 0.0247275941, -0.0155962752, -0.004074235, -0.0192795321, -0.0031647629, -0.0148888482, 0.0294677429, 0.0018252248, -0.0252793282, 0.0210772138, 0.0719001666, 0.0260610096, 0.0686208829, -0.0291950628, -0.0279543139, 0.006056862, -0.0438334867, 0.0282339826, 0.0005617164, -0.0328230858, -0.0318802781, -0.0980284587, -0.0629226342, -0.0439631715, 0.0073460354, 0.0435186252, -0.0263470132, 0.0076743751, 0.0612366609, -0.0199891757, -0.0315794758, -0.0247347895, -0.0430643559, -0.0386060551, -0.0132836374, -0.0093173478, -6.207266245e-33, 0.0149428453, -0.0111485189, -0.0439267457, -0.0310364813, -0.01847611, 0.0183101743, 0.0035889831, 0.0060459101, -0.0367567614, 0.027082039, 0.0030268899, 0.0176754314, 0.0142429359, 0.0044105141, 0.0248247236, -0.0153227756, 0.0462261811, -0.0068366136, -0.0300548505, -0.0026825762, -0.0348064005, -0.0018179906, 0.0436790399, -0.0421575084, 0.0917316601, 0.021695843, -0.0030322275, 0.0078385798, -0.0051856483, 0.0498957708, -0.0163288098, 0.1098558307, 0.0515537634, -0.0276483633, -0.0050130589, 0.0314735807, -0.023175193, -0.0133326799, 0.0529500209, 0.0154104596, 0.0233789515, 0.0062477742, 0.0478542894, 0.0324688256, -0.0786464587, -0.0316116475, 0.0418350138, -0.0012100245, 0.0254095495, 0.0127972411, -0.0441919193, 0.0458478183, -0.038411092, 0.0264125969, -0.0167369954, 0.0047578975, 0.0218044221, 0.0627483651, -0.0293978751, 0.007888969, -0.0090603614, -0.0074792323, 0.0348611102, -0.0099521186, 0.0138507066, 0.0675049871, 0.0363753922, 0.0560043938, -0.0343565233, -0.0502296388, 0.0235885307, -0.0182671268, 0.0375966355, 0.0894890875, 0.0523607507, -0.0078241006, -0.0398261249, -0.0013376502, 0.0236480143, 0.0266632382, 0.0333292559, -0.00946867, -0.0584644973, -0.0521016978, -0.0656509548, -0.047100015, -0.0228554793, 0.0231917556, 0.0432495661, 0.0124330875, -0.0227825232, 0.0059943493, 0.0131736621, -0.0731431693, -0.0083169136, 0.0475522168, -0.0000251807, -0.0353791788, 0.0308683496, 0.0051008547, -0.0841322392, 0.0125609068, 0.0201364867, 0.0384041294, 0.0190113056, -0.0238585435, 0.0054301452, 0.0051882965, -0.0524802543, 0.0105717797, -0.022480702, 0.0077225254, -0.0011476843, 0.0302090067, 0.0371600129, 0.0058266325, 0.0030889709, -0.0126961041, 0.0379405506, 0.0118740415, -0.0319955014, 0.0007526468, -0.0248564705, 0.0229884256, -0.0399156064, -0.0208042972, -0.0180997234, -0.0072278716, 0.058587078, -0.0217954814, -0.0223200638, -0.0541137606, 2.427e-7, 0.0409873538, 0.0480747782, -0.0051240372, 0.0347592421, 0.0105310446, 0.0266943946, 0.0327885933, 0.0629746765, 0.0059653958, 0.0144151198, -0.0233648177, 0.0113518266, 0.0135375019, 0.0168988314, -0.0455770008, -0.0043411539, -0.1103743091, 0.0293788128, -0.0298451316, -0.0081177438, 0.0177202299, 0.0534861051, 0.0276463889, -0.0041720993, -0.0307520833, -0.0288523473, 0.0179090519, -0.0417352803, 0.0124050435, 0.0078067537, 0.0196609069, 0.0294451844, 0.0460617132, 0.0201572478, 0.0021465393, 0.0292596761, -0.0085747307, 0.0093985358, -0.0042889719, 0.0192085486, -0.0226643682, -0.037237253, -0.0198990367, -0.0826980919, 0.0617346577, 0.0161666386, -0.0404054448, -0.0809185058, -0.0175469536, -0.0173017606, 0.0639286786, -0.0074314671, -0.0134046366, -0.000643959, 0.0348711945, 0.0153730568, -0.0178721137, -0.0677943751, -0.0421463288, -0.0385725908, -0.0205856375, -0.0573514067, 0.0092691388, 0.0399446636, -0.0041788802, -0.0244739521, 0.0394793525, 2.223921436e-34, 0.0344848484, -0.0001984394, 0.0363237113, -0.0336091779, 0.0464897119, 0.0314571038, -0.0113570532, -0.0259082131, -0.0076952558, -0.0544741526, 0.0049886783 ]
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.
Learning to Refine with Fine-Grained Natural Language Feedback: 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.0932064354, 0.0357644856, 0.0270781107, 0.0088774469, -0.014885365, 0.0055967271, -0.0422750302, -0.043947231, -0.0213042591, -0.097833626, -0.0226342604, -0.0295961052, 0.0060786307, -0.0092228735, 0.0244695209, -0.0468807705, 0.0446255542, -0.0179916359, 0.0128059722, -0.0011964064, 0.0189844519, 0.0379940793, 0.022936523, 0.0434586853, -0.0026557564, -0.026745405, 0.0168830547, -0.0036620779, 0.0063083768, -0.0005872098, 0.0613604896, 0.0498639345, 0.0269474685, 0.0651732013, 0.0000017776, -0.0448566489, -0.0152611183, -0.0000277846, -0.0195159484, 0.0469249636, 0.0682857856, -0.0227497295, 0.0011983424, 0.0005103942, -0.0103616053, -0.0218933523, 0.0016929222, 0.0699562803, 0.1117353216, 0.0836629346, 0.0276140403, -0.0419528335, 0.0102615375, -0.0113513963, -0.0306334924, -0.0033304156, 0.0229665693, 0.0451564081, -0.0116292853, 0.035264425, -0.003460272, 0.0019832561, 0.0219802279, -0.0649867877, 0.050809361, -0.0065593338, -0.0519889332, 0.0060117827, -0.0046725869, 0.0585650466, 0.0256664213, -0.0301411189, -0.0290499404, -0.0009259264, 0.0195752755, -0.0321466401, -0.024277145, 0.0415120274, -0.0328621119, 0.0124133397, -0.0002892723, -0.0418570191, 0.0186378118, 0.0475852862, -0.0006889141, 0.0254856497, -0.0143721951, -0.0259581283, -0.0000755324, 0.0390973203, -0.0291707367, -0.0475896485, -0.0181243382, 0.0267564766, -0.0304982103, -0.0129482271, -0.0582866259, -0.0110760927, 0.0289601181, -0.0219189916, 0.030852152, -0.0279639605, -0.0197624359, 0.0492623299, -0.0126775978, 0.0321673788, 0.0132927019, 0.0013865994, -0.0489412397, -0.0081580598, -0.0481970534, -0.0039846851, -0.0195589885, 0.0396220349, -0.0249330048, 0.0100292284, -0.0385341272, 0.0141465142, -0.0207626279, 0.0384648256, -0.016364973, 0.0144398212, -0.0217581391, -0.0053177057, -0.0648318157, 0.0610457212, -0.0171289444, 0.0135236457, -0.0012230993, -0.0525359549, -0.0134892194, 0.0299160257, -0.0130542805, 0.0060819471, 0.0001532286, -0.0170437247, -0.0277110916, -0.0096509419, -0.0575593933, -0.0365086161, -0.0294105969, -0.0672012419, -0.0081578447, -0.0518994965, -0.0262577254, -0.0271813087, -0.0189195015, -0.0267177578, 0.0120437518, -0.006705469, -0.0490688831, 0.0576812513, -0.0353598483, -0.0164442994, 0.0337991342, 0.0027961242, 0.0218039379, 0.0457233526, 0.026151048, -0.0194408372, 0.059679687, 0.0167250708, 0.0208872184, -0.0070805792, -0.0009987109, 0.0257857442, 0.0185346548, 0.00070662, -0.0377946198, 0.0219659209, 0.0495033376, 0.031314306, -0.036355447, 0.0075635402, 0.0725011304, 0.0019347363, 0.0155819161, 0.0290732179, 0.0380320065, 0.0237524007, 0.0266864263, 0.0536762699, -0.0517034903, -0.0139407963, -0.0044571683, 0.0250533056, 0.0454780757, -0.0086331889, -0.0244914591, -0.0977537185, -0.0102961129, -0.0022807645, -0.0063228784, -0.0147847123, 0.0401677564, 0.0438606367, -0.03207184, 0.0266183484, 0.0294323899, -0.0399351716, 0.0198829807, -0.0227523297, 0.0555895381, 0.0761162192, 0.0630307421, -0.0356635265, -0.0742852688, -0.0368239023, 0.0089408774, 0.0330635794, 0.0819356367, -0.0418936834, -0.0382964052, -0.024274908, -0.0292995293, -0.0469807424, 0.0460436791, -0.0069499789, 0.0216937084, -0.0566317923, 0.0421354994, -0.0125501156, -0.0763682351, 0.0293155424, 0.0351059847, -0.0237868391, 0.0111758504, -0.0145709729, 0.0084970584, 0.0207905676, -0.0246842168, 0.0054035289, -0.0036008065, -0.0030037872, -0.0199482851, -0.0199702084, 0.0063411836, -0.023049999, 0.0522529818, -0.0040043648, -0.0196453445, 0.0120112831, -0.0781293064, -0.0208610352, 0.0011693031, -0.0320810452, -0.0302282218, -0.0453455858, 0.0452533923, -0.0129571278, -0.0189764164, -0.0462737381, 0.0429328717, 0.0097702751, -0.0011132105, -0.0144351283, -0.027485406, 0.0049465969, -0.0310389511, -0.0350688696, -0.0078229448, 0.0299431402, 0.0356985889, 0.0516488105, 0.0395533741, -0.0411232151, -0.0213956125, -0.0847793072, -0.0066995844, -0.0515907668, 0.0106774122, 0.0231585298, -0.0191527996, -0.0010428471, -0.0256942734, 0.0046236636, -0.020436056, 0.0384760313, 0.0072924998, 0.0604019687, 0.0207641441, 0.0168908928, -0.0499586016, 0.0030872996, -0.0135094393, 0.023075534, 0.0238591637, -0.0040885922, -0.0860488415, 0.0014489933, -0.0535885021, 0.0346537903, 0.0045165727, 0.0018480696, 0.014111679, 0.0146472296, 0.0269464627, 0.0641104653, 0.0142904138, 0.0269618798, 0.0433157384, 0.0097198673, -0.0332730673, 0.0164451394, -0.0141020576, -0.0269470271, -0.0129884109, 0.006582296, 0.0415599905, 0.0653486401, -0.0146133862, -0.0275347419, -0.024891302, 0.0565986149, -0.039364256, -0.0100481445, -0.0007947485, -0.047720857, 0.0172863603, 0.0267342981, -0.0450174958, -0.0306476876, 0.0919778347, -0.0267030019, 0.0218780376, -0.042781774, -0.0078650825, -0.045694612, 0.0227967389, -0.0139811262, -0.0114938449, -0.0103835436, 0.0042331754, -0.0252567735, -0.0467053913, 0.0558468848, -0.0219768453, 0.1156832278, -0.0943361744, 0.0151199475, -0.0186626166, -0.0672650114, -0.037760362, -0.0470547862, -0.0387467295, 0.0020593009, -0.0172572974, -0.0081817359, -0.0426478125, -0.0062711565, 0.0126089901, 0.0674035028, -0.0455476344, -0.0288830288, -0.0056183501, 0.0038429687, 0.0520218797, 0.0374181606, 0.0502576716, -0.0232230723, 0.0290978029, 0.0438783318, -0.0076093986, 0.0104007283, -0.0409032889, -0.0096030021, -0.0059111658, -0.0496194251, -0.0180867184, -0.0258946512, 0.0674739182, -0.0808739811, -0.0277831387, 0.1129132807, 0.0166766327, 0.0068623964, -0.0104169864, -0.0241821092, 0.0177387875, 0.0171493143, 0.0329986624, -0.0659597516, -0.0338217206, -0.0158870257, 0.0505249761, 0.0171836726, -0.0100267846, -0.0086742593, -0.1278422028, 0.0593144, 0.0191978533, -0.0079424232, -0.0426877998, -0.0018829262, 0.0110553745, 0.0034597374, 0.0178784747, 0.0407882407, -0.0210739151, -0.0045709298, 0.0263793096, -0.0271953847, -0.0340717733, 0.0125043225, -0.042335894, 0.0009700231, 0.039626807, 0.0230944082, 0.0310501307, 0.0056204572, 0.0661374703, -0.0194242001, 0.0067558852, -0.0130892359, 0.0445285216, -0.0071985773, 0.0175274722, -0.0095543796, 0.0225774553, 0.0165313669, 0.0147985779, -0.0060572405, 0.0387787297, -0.0201395005, -0.0068780328, -0.0239093974, 0.0341081619, -0.0364891291, 0.0525650121, 0.0206610784, -0.0164898597, -0.0381511338, -0.0230942611, -0.0240545701, -0.0371213891, -0.0292611215, 0.0077119512, -0.0220806077, 0.0365447253, -0.084086284, -0.0495555811, -0.0046502193, -0.0227489341, 0.0146852564, -0.0322500058, 0.0057039564, -0.0261146296, -0.0020154803, 0.0293500163, -0.0409882478, 0.0084437476, -0.0284824744, -0.0003161033, 0.0329515785, -0.0091500245, -0.0170359835, 0.0165983289, -0.0879494548, -0.0375626162, -0.0316917188, 0.0604843311, 0.0199266318, 0.0870457515, -0.0278889276, -0.0556804277, 0.017808225, 0.0327755399, -0.0419457592, 0.0438005701, 0.0294382442, 0.0013656719, -0.0310991276, 0.0370234773, -0.0510449074, 0.005346986, 0.0150640327, 0.0224686991, -0.0079405019, -0.0616801195, 0.0309249684, 0.0158272721, 0.0329143368, 0.0074792956, 0.0153389722, -0.035803359, 0.0245520025, 0.0159462411, -0.0787258297, -0.0171664879, 0.0393242128, -0.0110646635, -0.0396007895, -0.034056019, 0.0328181125, -0.0319624506, 0.1026287377, -0.0678532273, -0.0101347053, 0.0350427888, -0.0287609119, -0.030146718, -0.0146327997, -0.0508109368, -0.0129259732, 0.0020498817, 0.0399830751, 0.0086097661, 0.0359071456, 0.0222762786, 0.0097055798, -0.0116047198, -0.0049606459, -0.0805517808, 0.0033866845, -0.0542145297, 0.0228082202, 0.0383303314, -0.0050449809, 0.0489057265, -0.0128547177, -0.0313491598, -0.0435302332, 0.0253853854, 0.0247902498, -0.01399225, 0.0126975812, 0.0276981536, 0.0014865057, 0.0203188695, 0.0431437418, -0.0019924722, 0.0449745581, -0.0037495319, -0.035394676, -0.0548826642, -0.0737705901, -0.0083446419, -0.0024367035, 0.0122134024, 0.0024038698, -0.0610979013, -0.0318993889, 0.0528433658, 0.02295289, 0.0096375141, -0.0142970327, 0.0056152358, 0.0564771891, -0.0140514094, -0.0566343293, -0.0607557148, -0.0010883226, 0.004313488, 0.0128673157, -0.0565842651, -5.77258974e-33, -0.0477927215, -0.0230409317, 0.0021923042, -0.0058597708, -0.0639682263, 0.020020308, -0.0231126137, -0.0134988008, 0.006977906, 0.0372855887, -0.0155260647, 0.0459504388, -0.0042413305, 0.0104306666, -0.0070598526, -0.0027944581, 0.0963302031, 0.0195003599, -0.0532813184, 0.0164891314, 0.0254806336, -0.0128829619, 0.0707833171, -0.0354919843, 0.0714418218, -0.0051878267, -0.0374388918, 0.0501473248, -0.0156500973, 0.055536516, 0.010886658, 0.0553750694, 0.0324493609, -0.0540401153, -0.0160597693, -0.0191980377, -0.0787650347, -0.0091796778, 0.0215051435, -0.0020663892, -0.0279724151, -0.0140247764, 0.0720452443, 0.0027398416, -0.0118053118, -0.0234375857, 0.0390141718, -0.0471805818, -0.0202397667, -0.0405309871, -0.0569843315, 0.0345075913, 0.000695535, -0.0196740571, -0.0573645011, 0.0423560664, 0.0084753791, 0.0102659557, -0.0590670928, -0.0001676112, 0.0760974661, 0.0396761708, 0.0288540665, -0.0038036439, -0.0252283979, 0.0653647333, -0.0635836199, 0.0263695214, -0.0594157241, -0.0201453418, -0.0012504322, -0.0006937398, 0.0423874632, 0.081280984, 0.0004070124, 0.0388958864, -0.0490396507, 0.0267908331, -0.0121479118, 0.0888273567, 0.0129649676, -0.025283087, 0.0028993706, -0.0139807742, -0.0805483237, 0.0160096716, -0.0115547962, 0.0449739359, 0.004348712, 0.0421427265, -0.0431503281, 0.0072378833, -0.0057555474, -0.0249739941, 0.0136140594, 0.0063965456, -0.0303515978, 0.0039582276, 0.0099359415, -0.0272327103, -0.0063111172, 0.018875042, 0.0187590588, -0.0165834948, -0.002775786, -0.0091177709, 0.0795103386, -0.0025297157, -0.0625479594, 0.0449587852, -0.0034178023, 0.0460087284, -0.0357420556, 0.0370811298, 0.0323462225, 0.0182510894, -0.0192552265, 0.0664943978, 0.0127477469, 0.0272241738, -0.0123120965, 0.0303307287, 0.0259296708, 0.0263551958, -0.0135290083, 0.0356594846, 0.0171631239, 0.0155102862, -0.0074491589, -0.0576850809, -0.0047031441, 0.0120051857, 2.402e-7, 0.0379549973, 0.0538413078, 0.0524253398, -0.0166678522, 0.01731438, 0.0397225469, 0.0085858563, -0.0048836265, 0.0107120564, -0.0192653537, 0.0309247524, 0.0287490655, 0.0650948808, 0.0081213824, -0.0714659914, 0.0080172857, -0.0813533142, -0.0053974967, -0.0317101181, -0.0594461337, 0.0366679914, 0.0841630101, 0.0045043174, -0.0352990553, -0.0019229471, -0.0607072785, 0.0839421153, 0.0090249116, -0.0382079519, 0.0490233228, 0.0636209175, 0.0167329554, 0.006710392, 0.0112067498, -0.0014034841, 0.0019244557, -0.0095945401, 0.0534041561, 0.00589759, 0.0351249389, -0.0197124612, 0.0004220166, 0.0255157501, -0.0267976318, 0.0449818932, -0.0353209972, 0.0111065432, -0.0524403863, 0.0035925433, -0.0092497738, 0.029294692, -0.0291354507, -0.019820448, 0.0402765833, 0.0026352629, 0.0165640153, -0.0062032044, -0.0674279556, -0.0335520357, 0.0203226395, -0.0050753783, -0.0396008529, 0.0195857882, -0.0037593108, 0.0079728877, -0.0724632517, 0.0211859345, 2.343978209e-34, 0.0876350924, -0.0225120634, 0.012010158, -0.0111078238, 0.0547993295, 0.0358816795, -0.0244623087, -0.0266930982, 0.0289267208, -0.0468990766, 0.0016642349 ]
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.
Is Your AI-Generated Code Really Secure? Evaluating Large Language Models on Secure Code Generation with CodeSecEval: 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.00880876, 0.102618292, -0.0179086402, 0.0175101422, -0.0270183347, -0.0255466308, 0.013007761, -0.0137659861, 0.0153867612, -0.0150920553, 0.0290943421, 0.0079806196, 0.0223498903, 0.0510909595, 0.0706537887, 0.0335779376, 0.0392537303, -0.0829263926, 0.000594233, 0.0126567632, -0.0156150544, 0.0098248674, -0.0148165384, 0.0375402346, 0.0127433278, -0.0279218759, -0.0324188359, 0.0321954489, 0.0053332304, -0.0237475242, 0.0067264135, 0.0329900756, -0.0299987439, -0.0155208129, 0.0000024328, -0.0394593962, -0.014701209, 0.0453152396, -0.0040999302, 0.0456605256, -0.0239617955, -0.0355236307, -0.0142457169, 0.0439788103, -0.0051290193, 0.0229294375, 0.0438437201, -0.0045028022, 0.0815348104, 0.0610942245, 0.0206505917, 0.0071689845, 0.0430754721, 0.0111479266, 0.03900804, -0.0473612994, 0.0009238736, 0.029066788, -0.015897207, 0.0349948369, 0.0146509409, -0.0095538162, 0.0401091278, -0.0259818248, 0.0194931645, 0.0364669189, -0.0453708023, -0.0315949433, -0.0060725785, 0.0155551992, -0.041949667, -0.0305854809, -0.0009044556, -0.0089851627, -0.0124714067, -0.004934526, 0.020161448, 0.047369767, 0.0221924838, -0.0000720302, 0.025122866, -0.0262901913, 0.0291323662, -0.0005500009, 0.0100916428, 0.05140201, 0.0036823291, -0.001799373, -0.0281421728, -0.0585915521, 0.0051458278, -0.0745360479, -0.0237104725, 0.0456898995, 0.0345322974, 0.0061557172, -0.0435631163, -0.0017613613, 0.0676803589, -0.0349545851, -0.0060364348, 0.0229261313, -0.0303327609, -0.0185901131, -0.0338991657, 0.0431807972, 0.004156759, 0.0174519196, 0.0358519889, 0.0326567255, -0.0220598243, 0.0067460448, 0.0123143643, 0.0265852381, 0.0135348784, 0.0531080626, -0.0210655015, 0.0238460079, -0.0280275326, 0.1051737219, -0.0314505324, -0.0161225256, -0.0037861413, 0.01124998, 0.0355427489, -0.0717921332, -0.0236110911, -0.0190022253, -0.0188063197, -0.0954385623, -0.0013373868, 0.0076694614, -0.0668831393, -0.0156089123, -0.0002006899, 0.1053203344, 0.0442319699, 0.0305376127, -0.0670962632, -0.084914282, -0.0316338949, 0.0137194563, -0.0117038982, -0.0950277224, -0.070387423, -0.0005179954, -0.0010735659, -0.1163633838, 0.0186841656, -0.007664714, -0.0337750688, 0.0375822894, -0.0700757131, 0.0285583641, 0.0054054367, 0.0432771854, 0.0057052672, -0.0062560383, 0.044506941, 0.0303218514, 0.0374999158, -0.0455738455, 0.1054026186, -0.0072576231, -0.0149425697, 0.0438433737, 0.009341741, 0.0307673458, 0.0381907895, -0.0386540927, -0.0086701848, 0.0546872802, 0.0074329223, -0.0180929806, 0.0487296507, 0.016434567, -0.0204217248, 0.0493090451, 0.0157081783, 0.0164961517, 0.0134819746, -0.04988648, -0.0621522442, 0.0439304225, -0.0493391342, -0.0259135813, -0.0468400829, 0.0426220782, -0.0034893265, -0.0273305643, -0.0164137855, -0.040543519, -0.0163280871, -0.0001872079, 0.0037260319, 0.0184020661, 0.0083700148, 0.0058531011, 0.0124613764, -0.0681483075, -0.0446468517, -0.0818032548, 0.0129656764, 0.0620671585, 0.0325306803, -0.0292015821, -0.0447805002, -0.023891218, -0.0152171794, -0.0447436906, 0.018229723, 0.015066131, 0.0293967687, -0.0403994508, -0.0031000189, -0.0585957319, 0.0206716079, 0.0226220023, 0.0282141007, -0.0243350845, 0.0254348386, 0.0077276975, -0.0685713664, 0.0403935611, -0.0147694815, -0.0071716425, 0.0295137074, -0.0200573914, -0.0089528058, -0.0074036522, -0.0277876407, 0.0466609634, 0.0336764567, 0.0266563687, -0.0134146735, -0.0179654937, -0.0037530195, 0.048099041, 0.0219604131, -0.0413110331, -0.0050098058, 0.0222329888, -0.0511724427, 0.0143811461, 0.068713598, -0.0389200076, -0.0314666703, 0.0043746922, 0.0211797729, -0.0186111983, -0.0081555638, -0.0143899499, 0.0085261324, 0.0121057499, -0.0142309265, -0.0277554691, 0.0749924034, 0.0207197201, -0.0124234296, -0.0247027054, 0.0049713161, -0.0580871813, 0.0424361899, 0.0129955569, 0.0564479083, -0.0204742383, -0.0238152519, -0.0307581481, -0.0030729834, -0.012556036, 0.0143858343, 0.0317453891, -0.0012701721, -0.0242009703, -0.0016297912, -0.0186912678, -0.0399899185, -0.0300187301, -0.0041761813, 0.0102368006, -0.0379516296, -0.051831726, -0.025484601, 0.0098668095, -0.0273638144, 0.05505611, -0.0078884214, 0.0293928627, -0.0417714827, 0.0823989436, 0.016532721, -0.0065334416, -0.0072389902, -0.0673394501, -0.0116368029, -0.0036278989, 0.0109647866, 0.0108063957, 0.0146274772, 0.0067625074, 0.0793730542, 0.0199489556, -0.0134127187, -0.0144021697, 0.0638670847, -0.0768079832, -0.0132347066, -0.0534509309, 0.0257086344, 0.0307971276, 0.0108672502, -0.0185599327, -0.0458013341, 0.0237704311, 0.0052479394, -0.0076009701, 0.0155163696, -0.0618782379, 0.0129025374, 0.0620203055, -0.035030067, -0.0995620936, 0.0268354658, -0.0483213887, 0.0168961231, -0.0152956871, -0.0519209802, -0.0319442414, 0.0405791253, -0.0202483367, 0.0241357461, 0.0242264718, -0.0074716597, -0.0409223028, -0.0354369171, -0.0107053695, -0.0198557694, 0.0227785464, -0.0441801213, -0.0380249731, 0.005817669, -0.0228358284, -0.0356125385, -0.0188917406, -0.0301504042, -0.0077968319, 0.0044593844, -0.0015625039, 0.0469573885, -0.0344346389, 0.0444449633, -0.0006062062, 0.0221385714, -0.0375839509, -0.0099323867, -0.0370833352, -0.0211026631, -0.0978627056, -0.0007885647, -0.0161753073, 0.0264471602, 0.0433994494, 0.0647676438, 0.0784793794, -0.091712229, 0.0011709284, -0.0076287878, -0.0283083878, -0.0016486844, 0.0680976883, 0.0364618301, -0.0191911981, -0.0272047799, 0.0447117873, 0.0207100958, -0.029543519, 0.0380285941, -0.0150941284, 0.0135000153, 0.0489061922, 0.0265818853, -0.0809279755, 0.0053984402, 0.0270614661, 0.0500662066, -0.0196230002, -0.0099913124, 0.0042876084, -0.092063047, 0.0442368314, 0.0159336925, -0.0149784675, -0.0550201871, -0.0567901731, -0.0119569097, -0.013701967, -0.0315406881, 0.0330551602, 0.0080819633, 0.0175978988, 0.0027965892, -0.0402309, -0.022594925, 0.0359260403, -0.0398587957, 0.0326571167, 0.0965340808, 0.0068350509, -0.0111601101, 0.0081754979, 0.0422936007, -0.0050803553, 0.0040127281, 0.0228776988, 0.0424574427, 0.0185712148, -0.0112579465, 0.0647235736, 0.0510826595, -0.0573216788, -0.0497954562, 0.0688611344, 0.000394242, -0.0263253357, -0.0000440521, -0.0358617306, -0.0113736559, 0.0261523668, 0.0376393534, 0.0444404669, -0.0081902351, -0.017708214, -0.0529950112, 0.0349160172, -0.0566044897, -0.0103411535, 0.0033728967, 0.0214279722, -0.0341794118, -0.0410517417, -0.010099804, -0.0371152721, -0.0109117916, 0.0553753451, -0.071612753, 0.0069973064, 0.0282817688, -0.0362484045, -0.0017187048, -0.0474261306, 0.037061777, -0.0127639007, 0.0001084257, -0.0149315465, -0.0259891972, -0.0207621306, 0.0020716577, -0.0581343807, -0.0480067916, -0.0159592722, 0.0928770006, 0.0202276763, -0.0293655787, -0.0429923944, -0.0621438995, -0.0023210116, 0.0079495115, -0.0638628155, 0.0055495985, 0.0429533049, -0.0302036405, 0.048312474, -0.0306379776, -0.0486022308, -0.0204792339, 0.0566301346, -0.0335766114, -0.0134011796, 0.0042359936, 0.0098746754, 0.0572740957, -0.0028486711, 0.0115470355, 0.0221446045, 0.0238651894, 0.0029762869, 0.0057722293, -0.0120533425, -0.0117012495, 0.0405016728, 0.0169699322, -0.0145845721, 0.0542099066, -0.0009105221, -0.0156389996, 0.0315780304, 0.02628446, 0.0709935501, 0.0327185132, 0.0833303556, 0.0575766675, -0.0048742089, -0.0155899907, 0.0306666885, -0.0290628765, 0.0181232132, 0.0143018169, 0.0160777755, -0.0330292769, 0.0342220739, 0.0017209068, 0.0344469994, -0.0525013842, -0.0738979876, 0.0303657372, 0.0265996922, 0.0136074005, 0.0658842027, 0.0148455631, -0.0145391561, 0.0111033712, -0.0633726418, 0.0499463566, -0.0000023084, -0.0589053594, -0.0101912152, 0.0000901437, -0.0237781741, -0.0203243233, 0.1032805368, -0.0065688696, 0.0423943214, -0.0360548459, -0.0218375623, -0.0193729773, 0.0114773791, 0.0390486494, 0.0051678973, -0.033894781, -0.065213725, -0.0307648964, -0.0973005146, 0.0004437538, 0.0048258994, 0.0656909496, 0.0459734499, 0.0045545511, 0.0735270828, 0.0012822947, 0.0258953087, -0.0688116997, -0.0204661544, 0.0135274949, -0.0378192849, -0.0197976399, -5.75675179e-33, 0.0264896844, -0.0265257396, -0.0295619164, 0.0115559027, 0.0398600362, 0.0142559158, -0.0613421574, 0.0057273023, -0.0280241556, -0.0127819236, 0.037528947, 0.0301444288, -0.0072848396, -0.0142766144, 0.0462181419, 0.0138434647, 0.0082893623, 0.0261368845, -0.0414800718, 0.0477928184, -0.0346135497, -0.0052233953, -0.017041197, -0.0774508566, 0.022258237, -0.0087617738, -0.0210488439, -0.0403278917, -0.0131157134, 0.0487325378, 0.023683466, 0.0175586306, -0.0072443541, -0.0150663219, -0.0097083598, -0.0176594779, 0.0222105253, -0.0273977146, -0.0335351862, -0.0422013029, 0.0237002373, -0.1222729459, 0.0456670187, -0.0001912358, 0.0014447005, -0.0147904558, 0.0073701898, -0.0120098665, 0.0421423353, -0.0514286868, -0.0005765037, 0.0317531154, -0.0879381597, 0.0086486395, -0.0102871656, 0.0100675067, 0.009348941, 0.0213759448, 0.0464288034, 0.0306425672, 0.0434693173, -0.0004073718, 0.0421485864, -0.0309452564, -0.0435676575, 0.004755347, 0.0202876329, 0.0012067514, -0.007849006, 0.0309405532, 0.0089329714, 0.0572339483, 0.0574491546, 0.0650061741, 0.0004628005, -0.0270779673, -0.0538950153, 0.0285565294, -0.0343545862, 0.0413568132, 0.0199251454, 0.0068511572, -0.0654177219, 0.0173183121, -0.04272357, -0.0455038399, -0.0238033105, -0.0209828205, 0.0136800632, -0.019965142, -0.0460508354, 0.008283251, -0.0202037264, -0.0442062877, 0.0360243879, 0.0614248291, -0.0257061496, -0.015080248, -0.032327354, 0.0217762236, 0.0120410817, -0.0107927816, 0.0091958651, -0.0183053836, 0.075681597, 0.0105820708, 0.0237378739, 0.0283478647, -0.0608417802, -0.0034265995, -0.0377952717, 0.0135063678, 0.011311057, 0.0386419669, -0.011007579, -0.0080417721, 0.0192160793, 0.0025838269, 0.017583767, 0.0020560238, -0.0476444587, 0.0289558154, -0.0104373284, 0.0338999368, -0.0003213178, -0.0263977218, -0.0162007026, 0.0289999563, 0.0421663001, -0.0305256993, -0.0478088669, 0.0014146745, 3.123e-7, 0.0063194023, 0.0219641868, 0.0021197353, 0.0205493961, 0.0177406128, 0.0607184581, -0.0331633948, 0.025552813, 0.0088598123, -0.0075800274, -0.0447467566, 0.0176249389, 0.0642181262, 0.0427241847, 0.0304826126, 0.0026132229, -0.0444949605, 0.0045063049, -0.0675226226, 0.0277588945, 0.0467814915, 0.0515168421, -0.0034196533, -0.0183344539, -0.004930282, -0.0415910818, -0.0168390311, -0.0163324755, 0.0293592177, 0.0394391194, -0.0496501364, 0.0839014947, 0.0220875423, 0.0029346291, -0.0456160232, -0.0530482195, -0.0435919128, 0.060392797, 0.023604434, 0.035666015, 0.0061690374, -0.0133256204, -0.001862854, -0.0700284615, 0.0502019301, 0.0159985498, -0.015188056, -0.0080355452, -0.0221371595, -0.0168587808, 0.0380932577, -0.0323433913, 0.0144020375, -0.0090386458, -0.0260717366, -0.003430774, -0.0040815268, -0.0270431694, -0.0441180654, -0.014463855, -0.0075950073, -0.0198943485, 0.0019549986, 0.0480027534, 0.0229099523, -0.0114439093, 0.0451224782, 2.852638033e-34, -0.0067346324, -0.0707493126, 0.0006669091, 0.0053950078, 0.0521267653, -0.0068403245, -0.0144662857, 0.0173993781, -0.0361660421, 0.0530292764, -0.0339667276 ]
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.
SafaRi:Adaptive Sequence Transformer for Weakly Supervised Referring Expression Segmentation: 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.0392106213, 0.0175329354, 0.0470881872, -0.0137627237, -0.0077207778, 0.0008019329, 0.0241955966, 0.0111811124, -0.0219109152, -0.0367900394, -0.0803452879, 0.0044623641, 0.0248978287, 0.0345440023, 0.049394723, -0.0253867116, 0.0304768309, 0.000100001, 0.0138673251, 0.0404139645, 0.0579101779, -0.0208967421, -0.0148427784, 0.0512497276, -0.0677380264, -0.0083783846, 0.0236276984, -0.0101962015, 0.033483047, -0.0494017489, 0.0065172138, 0.0251513999, 0.0191856027, 0.0045352192, 0.0000020285, 0.0065200492, -0.0477396473, 0.0378859043, -0.016606234, -0.0144396629, 0.0766287073, -0.021454351, -0.0163305476, -0.0010076463, 0.0026549618, -0.0506893508, 0.0672953576, 0.0992734805, 0.0893954411, 0.0243586805, -0.0438207611, -0.0311726257, 0.0176323894, -0.0560967289, 0.0262120664, -0.0693534315, 0.0223288797, -0.0142808044, -0.0219018459, -0.0216290597, -0.003496439, 0.0515221432, -0.0016993138, -0.0399877653, 0.0134035749, 0.0329339243, -0.0521125942, -0.03151251, -0.0048734471, 0.0734227598, 0.0247161556, 0.0227179881, -0.0141370455, 0.0161915515, 0.0054824217, -0.0042363671, -0.0244831294, 0.0104591446, 0.0153729739, 0.0225089919, -0.0447004847, 0.0547398143, -0.0104776258, -0.0064109941, 0.0368642509, 0.005123321, 0.0230069794, -0.0102134412, 0.0192845818, 0.0298461076, -0.0556752235, -0.0124059506, 0.0377341919, 0.0006726456, 0.0475660861, 0.0077564204, -0.0502796285, -0.0147429435, -0.0004175714, -0.0052426043, 0.0370091237, -0.0327270441, -0.0784747601, 0.0836568847, -0.054866869, 0.0457721539, -0.0348996036, 0.03601804, -0.0119539136, -0.0205145031, -0.0503809378, 0.0011088214, -0.04785515, 0.0137742758, -0.0328553766, -0.0268545821, -0.04682016, -0.0228975136, -0.0406382978, -0.018485276, 0.0075551323, 0.0243401676, -0.0522804186, 0.0137007795, 0.0117592141, 0.0126435962, -0.0236838683, -0.0022682706, -0.0129407076, -0.0636598915, -0.0216447935, 0.0583933815, 0.0098901987, -0.0321822129, -0.004886548, 0.0544256195, -0.0429011583, -0.06209049, -0.0249359589, -0.0451087765, -0.0891233087, -0.0460681617, 0.0536935031, -0.0104857599, 0.0032520818, -0.0170580652, -0.0019330278, -0.0466863252, 0.0013363237, -0.0014326631, -0.0172582008, 0.0647113472, 0.0101481229, -0.0537796244, -0.0100580771, 0.0252640843, 0.0275531318, 0.0374178179, 0.0354072526, 0.0019537981, 0.0127635589, 0.0636800453, 0.0089770081, 0.041940961, 0.0130402539, 0.0101988465, -0.0577569939, -0.0206735432, 0.0238322504, -0.0140604693, 0.0212721489, 0.0462840572, -0.0257314406, -0.018350536, 0.021588834, -0.0065652519, -0.0517330691, 0.0133498358, 0.0227554012, 0.0184868556, -0.0223270021, 0.0020917337, -0.0366813503, 0.0327079035, 0.0149438735, 0.0162085369, 0.0256927796, -0.0231643282, -0.0380175859, -0.0082391277, 0.0259910766, -0.0083800368, -0.0102389632, -0.0105907712, 0.0403530858, 0.0388429314, -0.0426298715, 0.0654879585, 0.0052794106, -0.0483259186, -0.0292167701, -0.0284177493, 0.0138510745, -0.0368985049, 0.0197423343, -0.0507407896, -0.0380062945, -0.004298883, 0.0562166087, 0.0464520082, -0.0201921482, 0.0007204782, 0.0051999977, -0.0448831059, -0.0537857451, -0.0325031802, -0.0059114667, -0.0209995341, -0.0177657157, -0.0168060381, 0.0280315634, -0.0393906906, 0.0318233334, 0.0562337935, 0.0535012633, -0.0192624964, -0.0348044783, 0.0065184622, 0.0174015742, -0.0062455228, -0.0335333385, 0.0121753216, 0.0272715297, -0.0266676657, 0.0458937325, 0.0112044914, -0.0578433946, -0.0540735051, 0.0374127664, -0.0442289039, -0.0190187544, 0.0095750531, -0.0272992961, -0.0393564105, -0.0022035288, -0.0394288599, 0.0064604692, -0.0426364057, 0.0165868979, 0.0112045771, 0.0200009719, -0.0294879787, 0.0332321562, 0.0029705106, -0.0258760173, 0.0132568981, -0.0041445838, 0.0132206837, 0.0000298747, -0.0252900701, -0.0478369929, -0.0319982357, -0.0518117733, 0.009486191, 0.0138955824, -0.0627530068, -0.0152508263, -0.0313465334, -0.0265847091, -0.023055844, 0.0091546066, -0.0057494096, -0.0095262164, 0.018435657, -0.0499131158, -0.0255029853, 0.035679128, -0.0024823088, 0.0026380783, 0.0237871576, 0.0318828635, 0.0112578291, -0.0485030897, -0.0080230236, 0.0129592177, 0.0518581979, 0.043740537, -0.0697659031, -0.0192537736, 0.016639689, -0.0124942111, 0.0384381562, 0.0065991902, -0.0012514349, 0.0198388901, 0.0301723257, 0.0322938077, 0.0515385419, -0.0102014346, -0.0206464995, -0.0155654522, -0.0516024679, -0.0049941577, 0.026601268, 0.0151099497, -0.0321273431, -0.002231515, -0.0126583129, -0.0160566624, 0.063406691, -0.0444775932, 0.034132801, -0.0280589778, -0.019845847, 0.0056207972, -0.0411582924, -0.0046894555, 0.0298104882, -0.0100382157, -0.0321304947, -0.0553262495, -0.0068743331, 0.0375363715, -0.0668253601, -0.0586575568, -0.0187070407, 0.0123063382, -0.010819314, 0.0126516875, 0.0052835657, -0.0030285313, 0.0717737824, -0.0107163955, -0.0351189785, -0.0320655406, -0.0148959374, -0.0030091286, 0.0344240367, 0.0186000131, 0.0316879153, -0.0302722212, -0.0126771796, -0.0343305841, -0.0246188473, -0.0407339111, 0.014922305, -0.02538242, 0.0041269111, -0.059421204, 0.0466497056, 0.0667927265, 0.0708476976, -0.0153044313, -0.006693522, -0.0274853911, 0.0426764451, 0.0632721037, 0.0327096581, -0.0350528359, -0.0101835262, -0.0178703368, 0.0541335009, 0.0471051335, -0.0044313055, -0.0167208239, 0.0017226861, 0.0195287131, 0.0211587399, -0.0013862754, 0.0164059214, 0.0529084168, -0.0596356802, -0.0499702245, 0.0760574192, 0.0067784893, -0.0501913764, -0.050798472, -0.0072032651, 0.0279541463, 0.0383213758, 0.003655053, -0.0521508232, -0.087613292, -0.0001204173, 0.0232698545, 0.029038446, 0.0005185602, -0.0084531112, -0.0847569779, 0.0420970283, 0.0004968389, -0.0464829206, -0.0139071699, -0.0188569501, 0.0329195336, -0.0172629077, -0.0242306143, -0.012114956, -0.0120861018, -0.0052519478, 0.0137821371, 0.008520795, -0.0106556276, 0.0000482138, -0.0334858522, -0.0197238419, 0.0574355349, 0.0347187929, 0.0130070057, -0.0413935818, 0.0257220101, -0.0418091975, -0.011297009, 0.0001588752, 0.0940617695, -0.0378386304, -0.028064739, -0.0275251307, 0.0041263122, -0.0029686643, -0.0319665708, -0.0246968549, 0.0526232608, 0.0177727193, 0.0505281501, -0.0313226804, 0.0427051187, -0.0236291159, 0.0152910315, 0.0174776278, -0.0242239535, -0.0157472398, 0.0117519982, 0.0541510582, -0.0267557111, 0.002350952, 0.013209071, -0.0649986342, -0.0302073583, -0.0654957965, 0.0024190696, 0.0419863649, 0.050491441, -0.0040072924, -0.0344407707, 0.0205094125, -0.0017681563, -0.0499678738, 0.0444312468, -0.0604593456, 0.0003911118, -0.0486800522, 0.0314357951, 0.0616334453, -0.0024891631, -0.0174976513, 0.0723386034, -0.0225135181, -0.0210577138, 0.0019055069, 0.0650221929, 0.0061749271, 0.0206641108, -0.0010596256, -0.0415758155, 0.0271411482, -0.019553313, -0.0092769125, 0.0251678433, 0.0495526567, -0.0606890209, -0.0218653157, 0.0165612306, -0.0516752601, 0.0434731431, 0.0475905463, 0.0116514293, -0.0310279522, 0.0055014901, 0.0120952176, -0.0288225301, 0.1089884043, -0.0101848105, 0.0428034626, -0.0201220363, 0.012218303, 0.0520916469, -0.0113175083, -0.053749539, 0.0502126776, -0.0169333238, 0.0219895598, 0.0164185017, 0.042457141, -0.0295544341, 0.0762998983, -0.0208871942, 0.0297379736, 0.0301183034, 0.0010318436, -0.0802702606, 0.0307127107, 0.0152799403, -0.007589859, 0.0302762482, 0.0354793258, -0.0214047749, 0.0697386786, 0.0057792678, 0.0161155984, 0.0043810885, 0.0450615548, 0.0069542746, 0.1104039997, -0.0533943251, 0.0180874877, 0.0223621782, -0.041506879, 0.056423761, 0.0316730738, -0.0254335534, -0.0164779946, 0.0089316526, -0.0436933227, -0.0601216778, 0.0106702261, 0.0195047557, -0.0057890429, 0.0297828261, 0.0396020822, 0.019377755, 0.0292457193, -0.0114306724, -0.0154197905, -0.0656497851, -0.0017286113, -0.0023625565, -0.0135134533, 0.0035397683, 0.0002436515, -0.0074724713, -0.044547718, 0.074433066, -0.0458431356, -0.0403469503, 0.0332890674, 0.062395528, -0.017954994, 0.0186101384, -0.0472160615, -0.010771879, -0.0114833973, 0.0350671858, 0.0053003877, 0.0106500015, -6.056187303e-33, -0.0483381264, -0.0156605616, 0.0053694234, -0.0389712229, -0.038122952, 0.0728779584, -0.049485825, -0.0005443959, -0.0140124243, 0.0358298831, 0.0123160565, -0.0334091783, 0.0450455584, 0.03069002, -0.0221816339, -0.0200542286, 0.0602873787, 0.0096089691, -0.0078633744, 0.0319246911, 0.0120815793, 0.027030319, 0.0907086134, -0.1035034955, -0.0102202734, 0.0326181985, -0.0498977676, -0.0140286433, 0.0335233696, 0.0566612743, -0.0095968712, -0.0002004809, -0.0161545109, -0.0464817882, -0.004224964, 0.0346773416, -0.1062011793, 0.0296580009, -0.0083756372, 0.029032262, -0.0272039454, -0.0101696365, 0.0339232571, -0.0085660573, 0.0032179542, -0.0221836194, 0.0304780416, -0.0532640852, 0.0009789687, -0.0169713777, -0.0766358152, 0.0236003511, 0.0041354587, -0.0191196352, 0.0560691096, 0.0510283224, 0.0336475074, -0.0070565576, -0.0604779646, -0.0004009713, 0.000261914, 0.0618105419, 0.0415417552, 0.0607425869, 0.008380794, 0.0438950807, 0.0268015116, -0.0513639115, 0.0381720699, -0.043476332, 0.0100225164, 0.0457221195, 0.0784049705, 0.0456188694, 0.0114516597, 0.0563569479, -0.0632124171, -0.012953301, -0.0014874937, 0.075978376, 0.0068747685, 0.0157076996, 0.0138456728, 0.0219174679, 0.0018515498, -0.0273810588, -0.0414246246, 0.003297217, 0.0227661617, 0.0481273793, -0.0489920676, 0.1112449393, 0.072776109, 0.0458491631, 0.0038349654, 0.0069872937, 0.0125427926, 0.0569236577, -0.0173841584, -0.0086586392, -0.0821270347, -0.0426336974, 0.0706509203, -0.009901952, 0.008144537, -0.0172586255, 0.073417224, 0.0097173527, -0.0568032488, -0.0184539277, 0.006050983, 0.0478979051, -0.0185611676, 0.0205164198, 0.0152880764, -0.0088682193, -0.03866354, 0.0638723671, -0.0092738913, 0.0101194317, -0.0049583865, -0.0375291109, -0.0044699493, 0.027168788, -0.0451123752, 0.0122600896, 0.0034449594, -0.0068638511, 0.0105820615, -0.072142452, -0.0162011534, 0.0244574044, 2.736e-7, 0.0122675058, 0.0156777911, 0.0744753331, -0.0453606658, -0.0085450262, 0.0408942476, -0.0033532819, 0.0283123199, 0.008336232, -0.0276266523, -0.0091091227, -0.002706276, 0.0362192839, 0.0159184169, -0.0587827079, -0.020549709, -0.0753757954, -0.0224121418, 0.0090574324, 0.0182493795, 0.012740613, 0.1236840785, -0.0251501165, -0.0238278415, -0.012530216, -0.0697479174, 0.0417469665, 0.0332347527, -0.0065574185, -0.0140662147, 0.0088492623, 0.0014451145, -0.0499134623, 0.022580022, -0.0068055275, -0.0091503933, 0.0740522146, 0.0237556528, -0.0191807486, -0.0299534686, 0.0240567978, 0.0539774112, 0.0042905114, 0.0240289569, 0.0784312636, -0.0755902678, -0.0145139508, -0.043472793, -0.037967246, 0.019397134, -0.0065837977, -0.0410019308, -0.0105036087, 0.0239823144, 0.0288623162, -0.0000495813, -0.0795442462, -0.0568208322, -0.025235014, 0.0132675776, -0.0070315362, 0.010764027, -0.0668982565, 0.0074491855, 0.0075250166, -0.0415463001, -0.0285851397, 2.475511436e-34, 0.0069029573, -0.0116570387, -0.0027076828, 0.0063034436, 0.0110115884, -0.0030874202, -0.0689821094, 0.0068716728, -0.0085337264, -0.0653414577, -0.019589439 ]
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.
Talking to Machines: do you read me?: 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.0721859932, 0.0210515708, -0.0358208306, 0.0448399223, -0.0215410143, 0.0074198819, 0.0317967758, -0.0466668978, -0.0033105884, -0.0452121943, -0.0342501178, -0.0249422584, -0.0078153471, 0.082704775, 0.0530508794, -0.077205956, 0.0154592898, -0.0428489521, 0.0108633805, -0.0220963769, 0.0036860143, -0.0279434472, -0.0592894554, 0.0723629221, -0.0164620075, -0.0230163895, -0.0797546357, -0.0247427616, -0.0087177772, 0.026393231, -0.0018917847, -0.0029702878, 0.0489982069, 0.022572672, 0.000002009, -0.0312100984, 0.0348810218, -0.0202589016, -0.0291546993, -0.0519468561, 0.0080101341, 0.0279623363, -0.0219560806, 0.0174606908, -0.0506274588, 0.0037877467, 0.0698583946, 0.0744419619, 0.0586440526, 0.0794635341, -0.009110569, -0.0250240099, 0.0587490983, -0.0116464226, -0.0011832715, -0.0673882142, 0.0182040222, 0.0370526686, 0.0467489026, 0.0142582878, -0.0172615796, 0.030295426, 0.0182883982, -0.0536643304, -0.0021710729, 0.0237136371, 0.0147464518, -0.0403349623, -0.0479151644, 0.1059089229, 0.0264286734, 0.0215033591, 0.0188112464, 0.012792483, 0.0003326749, -0.0372319855, -0.0595948435, 0.0311851855, 0.0092522791, -0.0074375551, -0.0320961401, 0.0226707011, -0.0234710053, -0.0011472731, -0.0109812915, 0.0447286256, -0.0348180272, -0.0087579228, 0.0215559024, 0.0012597765, 0.0130187171, -0.0751565099, -0.0172621999, 0.0683090761, -0.0607282743, 0.0135516757, -0.0212178826, 0.0066654994, 0.0011945491, -0.0570622087, 0.0057330783, 0.0145714395, -0.0140129859, 0.0388336815, 0.0356130637, 0.0612920299, -0.0628212094, 0.0039064274, -0.0136693874, -0.0290535819, -0.0514250845, -0.0111431554, -0.0512211993, 0.0347917117, -0.0500025786, -0.0418733992, -0.008627085, 0.0867174342, -0.0131323198, 0.0435521156, -0.0272098351, 0.030691782, -0.0311337579, 0.0224811733, -0.0611184984, 0.0282665472, -0.0197328776, 0.0128537333, 0.0061309687, -0.0584049486, 0.0088067949, 0.032414604, 0.0006714017, 0.0056158672, -0.011273942, 0.0791098699, -0.0327042118, 0.0003834274, 0.0298457853, -0.0175994355, -0.0148728061, -0.0776430368, 0.0028047375, -0.0200643223, 0.0333333053, -0.0208372455, 0.0073253089, -0.0282685533, 0.003147888, 0.0068886359, -0.01050587, 0.0660829768, -0.0056930981, 0.021054849, 0.0571025163, 0.0052799582, -0.0249465201, 0.0379834883, 0.0410656407, 0.0080743637, 0.0334021784, -0.0244328771, 0.0233604331, 0.0214086939, -0.0245430227, -0.0305519924, 0.0312762819, 0.0303666554, -0.0151183987, 0.0394809619, 0.0108001884, 0.0883468986, -0.0171605349, -0.0016343052, 0.0425376594, 0.0433643907, -0.0222056415, 0.0126035092, 0.0364283994, 0.0517040379, 0.0188178923, 0.0090251397, -0.0092269657, 0.040801201, 0.0253134836, -0.0104679931, 0.0252975132, -0.0223386791, -0.0555704162, -0.0517814606, 0.0317853056, 0.0050533665, 0.0430079922, 0.0270086601, 0.048216369, -0.0122493915, -0.0611099973, -0.0364577286, -0.0216715727, -0.0140506225, -0.0456415862, -0.0777522177, 0.0443934426, 0.0273110326, 0.0231374539, -0.0293263011, -0.0467853434, -0.0313007534, 0.0058358801, 0.0511087626, 0.0464218445, -0.0414767675, 0.0164936613, -0.0347855091, -0.0000581274, -0.0391384847, -0.0158166103, -0.0013022701, -0.0765312091, -0.0069749756, -0.0010449965, 0.036537189, 0.0108080944, 0.0033216486, 0.0215754602, -0.0008750396, 0.0036252481, 0.0166059881, 0.0326568931, 0.0266815871, -0.0204537269, 0.0055045891, 0.0463233702, -0.0041603274, 0.0232095048, 0.0485457107, -0.0117229717, -0.0223293621, 0.0079913465, -0.0423368551, -0.0156902224, 0.0482191555, -0.0115127787, -0.068883799, 0.040588934, -0.0692898184, -0.0031388348, -0.0162478779, 0.0178654846, -0.0062232362, 0.0241212174, 0.0029047092, 0.0211732872, 0.016227711, 0.0026368324, 0.0471155271, 0.0094908951, 0.0214429051, -0.0971281305, -0.0241050217, 0.0305070393, 0.0082396567, 0.0040370692, 0.0260643121, -0.0058976416, -0.0199485831, -0.0241712723, -0.1042731851, -0.0123177115, -0.0266874488, -0.0189875513, -0.0291041266, 0.0033294535, 0.0193629451, -0.049571868, -0.0520363003, 0.0419948883, 0.0575329177, 0.0057298802, 0.0721675381, 0.0500761792, -0.0344819017, -0.0340496488, 0.0009943232, -0.0005713794, 0.0305758398, 0.0408714488, -0.0431060828, -0.0480028316, 0.0097372923, -0.0397400036, 0.0630427003, -0.0491813309, -0.007620573, 0.0456423052, 0.0239419695, 0.0407695137, 0.0850361437, 0.0091919852, 0.0687799528, 0.0053015598, -0.0209492352, -0.0261952784, 0.0639961883, -0.0037703342, -0.0192287154, -0.0583715998, -0.0234889667, 0.0451495573, 0.0467255637, -0.0084254043, 0.0157306399, -0.0252841227, 0.0485762767, 0.0479675457, -0.0467598103, 0.0089944275, -0.0217145607, -0.0258802995, 0.0366359316, 0.0048574517, -0.0030063945, 0.0705115348, -0.011542012, -0.0319568254, -0.0359774493, -0.0634454116, -0.0198889896, 0.0683273524, -0.0054936646, -0.0082416749, 0.0298261158, -0.0319572389, -0.0468397066, -0.0175096188, -0.0204547867, -0.0012434404, 0.0216369014, -0.0410454348, 0.0056021647, -0.0053120502, -0.0450711586, -0.0503444746, -0.0007605439, -0.0548413396, 0.0340821259, 0.0045483089, -0.0251721349, -0.0592983663, -0.0029258039, 0.0263554696, 0.0056904214, 0.0078693768, 0.0033717789, -0.0564457849, 0.0217375588, 0.0531597957, 0.0452854, -0.0199850369, -0.0184603333, 0.0807249397, 0.0267669335, 0.0250667389, -0.0088942274, -0.0318656452, -0.0424549766, 0.0162568204, -0.0028918146, -0.0375397317, 0.0094987378, 0.0532988533, -0.0242151581, -0.005389865, 0.0706566349, -0.0152334366, -0.0386832915, 0.0062594661, -0.01528819, 0.0060313847, -0.0123827057, 0.0482218191, -0.0690069273, -0.0108362436, -0.002112112, -0.0091925114, -0.0375849307, -0.0252214875, -0.0226408895, -0.0680911243, 0.0621231273, -0.0453801118, -0.0091415616, -0.0396277532, 0.0220861509, -0.0071639898, -0.0126762334, 0.0453965068, 0.0075472509, 0.0266942605, -0.0277320538, 0.0242785122, 0.0005468759, 0.0087023536, -0.008766734, -0.0219816286, 0.068209514, 0.0443519503, 0.0425170138, 0.005387058, -0.0104199415, 0.0054116487, 0.007200256, 0.0159088429, 0.0039724386, 0.0017757926, -0.0281026904, -0.0408989824, -0.0225076284, 0.0244727805, 0.0076957257, 0.017708756, 0.0413699895, 0.0356029756, -0.0799073726, 0.0094923722, -0.0355001353, 0.0371676199, 0.0221052859, 0.0411191769, 0.0091464231, -0.05742459, -0.0469280444, -0.0176762864, -0.0288928133, -0.0192196593, 0.0022884014, -0.0280876793, 0.0104071684, 0.0168584846, -0.055693008, -0.0551959649, 0.0129603324, 0.0255117342, -0.0059330501, -0.0232273117, 0.019775454, 0.0375080369, -0.0228976645, -0.0149183832, -0.0073603746, 0.0141968075, -0.0473193564, -0.0121307904, 0.0605407618, -0.0437253192, -0.019667346, -0.0025306731, -0.0869861394, -0.0598549023, -0.0586475171, 0.0698649362, 0.0249842443, 0.0380382203, 0.0068906639, -0.059941493, -0.0126136895, -0.013000981, -0.0323126204, 0.0106847566, 0.0378536694, 0.0172903258, -0.0165050086, 0.0535094887, -0.0478170663, 0.0125853568, -0.0382469445, 0.024004057, -0.041888766, -0.0791172907, -0.0046304683, -0.0246518329, 0.0196594894, 0.061832808, -0.0125160078, -0.0215091109, 0.036286667, 0.0076157227, -0.0155964456, -0.0851789489, 0.0255353767, -0.0472812243, 0.0201405305, 0.0334524326, -0.021772461, -0.0469196513, 0.0394008383, 0.0317102857, 0.0104599567, 0.0044441265, -0.0154411616, -0.0015418535, 0.013110443, -0.0079065226, 0.0422887802, 0.038158305, 0.0327275991, 0.021370424, 0.0783493072, 0.0387796722, -0.0357607454, 0.0167415775, 0.0360848345, -0.0782203004, -0.082873486, 0.0298572183, 0.0553510338, 0.0078575546, 0.0550609715, 0.0089110862, -0.0504583046, 0.0305010248, -0.0182179511, 0.0702562183, -0.0020808917, -0.0286574401, 0.0317507908, 0.0074275648, -0.0219231788, 0.0115473522, 0.0457877554, -0.0013783434, -0.0012989873, 0.0037400823, -0.003631176, -0.0631569251, -0.0299452581, 0.0373000018, 0.0215101019, 0.0015365423, 0.0021527221, 0.0062943571, -0.0366846062, 0.0127521604, 0.0253191292, 0.0069324919, -0.0556095988, 0.0209256932, 0.0362208933, 0.0408451185, 0.0026445293, -0.0412147045, 0.0299438946, -0.0424062386, -0.0245153178, -0.0251131207, -5.932914313e-33, -0.023115566, -0.0253361929, 0.033310838, 0.025988698, -0.0739583671, -0.0208670516, -0.0312299095, 0.0022794413, -0.0385393202, 0.013366404, -0.0300522838, 0.0174636729, 0.0103100184, 0.0157167483, -0.0141032711, -0.032313928, 0.0380737968, -0.0110060833, 0.0213338491, 0.0561224706, -0.0039727227, 0.0004877592, 0.0004209724, -0.0534042567, 0.0573370084, -0.0121156424, -0.0062692459, 0.0633570254, 0.0150279626, 0.0467717424, -0.0310400035, 0.0524246022, 0.021511564, -0.0259886924, -0.0237228833, 0.0692660436, -0.0559257865, -0.007597297, 0.0270604026, 0.0350361317, -0.0546522737, -0.0334053338, 0.0278695691, -0.0278385337, -0.0181287434, 0.0346118584, 0.0289209466, -0.0017363684, -0.01266139, 0.0077560334, -0.059581656, -0.0140565159, -0.0464504734, -0.0701893568, 0.0133821592, 0.0729445294, 0.0086678434, -0.0611957423, -0.0068437066, 0.0450801551, 0.0005460707, -0.039940197, 0.0292471256, 0.0247426555, 0.039431747, 0.0384805836, 0.0649137422, 0.0408455618, -0.0185551085, -0.0145264016, -0.0015763888, 0.0649513006, 0.0200470872, 0.0265998207, -0.0703356192, 0.0316450633, -0.0465059653, 0.0064147143, 0.0410309508, 0.0470067225, 0.0214852579, 0.0006593594, -0.0458615273, -0.0158923212, -0.0388979353, 0.0149504496, -0.0074923141, -0.0374819897, 0.011232907, -0.0105800005, 0.0116095962, 0.0117611121, 0.0503455065, -0.0724159479, 0.0246737637, -0.0006457312, -0.0206685681, 0.0284157414, -0.0152454637, -0.0039434629, -0.0402035527, -0.0194558557, 0.0045617642, 0.0188572574, 0.0159673635, 0.0244083721, -0.036130473, 0.0202433523, -0.0035676146, -0.0104390616, -0.0189984255, 0.0497804098, -0.0239905994, 0.0771784037, -0.0007366846, 0.0157380868, -0.0403511189, 0.0741206706, -0.0533868708, -0.024658706, -0.0295651052, -0.0337649696, 0.0109749893, 0.0175804142, -0.0782792643, -0.0004453256, -0.0327152275, 0.0370175838, 0.0112579595, -0.0401816517, 0.0027600375, -0.015167335, 2.652e-7, -0.0433298387, 0.011279054, 0.0527008027, 0.0370435566, 0.0415683091, 0.0497742109, 0.0023156784, 0.0546749085, -0.0087668132, 0.0040775957, 0.0174479876, 0.0352581367, 0.034847714, -0.0218967758, -0.0828663036, -0.0465847142, -0.0466902032, -0.043846, -0.0293993019, 0.0104796831, 0.0509871989, 0.068433933, -0.0122139864, -0.0012026276, -0.0191072505, -0.0083308266, 0.0467335209, -0.0314563662, -0.0096587725, 0.0256275032, 0.0627538711, 0.0096170455, -0.0268862825, 0.0027215909, 0.0514999256, 0.0323032103, -0.0044684377, 0.0575024374, 0.0211530831, -0.0619404167, -0.0133901248, -0.0032331685, 0.0011031425, -0.0230098441, 0.0436435714, -0.0655269325, -0.0539210364, -0.031158641, 0.013382813, -0.0148236072, -0.0044010943, -0.014787904, -0.0021955341, -0.0047816946, 0.0143397078, -0.0349828638, 0.0394231901, -0.0550683439, 0.0430539884, -0.0296667088, -0.0681890175, -0.060034845, -0.0322148465, -0.0475925319, 0.0417421125, -0.013814602, -0.0113910632, 1.586484943e-34, 0.0472659767, -0.0025714848, 0.0046956991, 0.0603126511, 0.0081536835, 0.0073305829, -0.0106489332, -0.0033759566, 0.0762038231, -0.0692411065, -0.0369391106 ]
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.
Pelican: Correcting Hallucination in Vision-LLMs via Claim Decomposition and Program of Thought Verification: 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.0182559751, 0.0297398716, -0.0069583314, 0.0610644296, -0.0407723784, 0.0151135968, -0.0368324742, 0.0081863198, 0.0386585109, -0.0451975577, 0.0220712721, -0.0123109017, 0.01631644, -0.0183441639, 0.0172174238, -0.0722773746, 0.0504624397, -0.057732854, 0.0180483237, -0.0084966887, 0.0051424392, -0.0077906228, -0.0326574221, 0.041033037, -0.0361138657, -0.0767728314, -0.0099267047, 0.0182364322, 0.0117676156, -0.0232203938, -0.0422237627, 0.0330412276, -0.0168874562, 0.0065097827, 0.0000022681, -0.0644086897, 0.0128953857, -0.0085661085, 0.0076201907, 0.0164727401, -0.0156568829, 0.0017238943, 0.030872941, 0.0214253962, -0.0315959044, 0.0014335215, 0.0424387679, 0.0437575467, 0.0752286986, 0.0442944169, -0.0025402769, 0.0288420413, 0.029812349, 0.0492533259, 0.0497343913, -0.0162253231, 0.0213285629, 0.0524537563, -0.0071450612, -0.0600253418, -0.0265199244, 0.0490973741, 0.0217713937, 0.0036653839, -0.0021097981, 0.0152461594, -0.0761415511, -0.0445855744, -0.0459235832, 0.0496401303, -0.0277569462, -0.0470793992, -0.0027706078, 0.0035282311, 0.0337526016, 0.0295821223, -0.051323086, 0.0554764196, -0.0313048884, -0.0194813702, 0.0010340469, -0.0144682406, 0.0122118685, -0.0054739807, -0.0228895545, 0.0355302915, 0.0022740907, -0.0376276337, 0.0191037711, 0.0268128496, -0.0256208796, -0.0693284348, 0.0121397022, 0.0429608189, -0.048901502, -0.0065518976, -0.0313897096, 0.00241284, -0.0114883222, -0.0496865101, 0.0552463904, 0.0227612797, -0.0649694726, 0.0415565856, -0.0385722779, 0.0559375659, -0.0267581865, 0.0619305521, -0.0078389263, 0.0079386914, -0.0356479399, -0.0108653139, -0.0474978387, 0.0391078331, -0.0082934648, -0.0245478749, 0.0057799732, 0.024570981, -0.0489460975, 0.0458478928, -0.0288709365, 0.0138896955, 0.0344276577, -0.026656555, -0.0455453098, 0.0338852964, 0.0065267901, -0.0168061722, 0.0038600683, -0.0863624066, -0.0115675572, 0.0493022613, -0.0183977559, 0.022995865, -0.0039971359, 0.0336053632, -0.004406394, -0.002630596, -0.059853144, -0.0583769754, -0.0143326521, -0.0488017276, 0.0194253586, -0.0914402753, -0.0164424889, -0.0040334798, -0.0016928157, -0.0240791664, 0.0324337669, 0.0295717027, -0.0371391363, 0.0700771883, -0.0384654552, 0.0168236997, -0.0117014358, 0.0350688547, -0.0209683813, 0.0474912077, 0.0426447503, 0.0274794959, 0.0273335353, -0.0046444195, 0.0835830718, 0.0283051375, -0.0083516594, -0.0187509209, -0.0376527235, 0.0002447258, 0.0013466564, 0.0100941956, -0.0333445296, 0.0838147923, -0.0169704258, -0.0328478813, 0.0715705752, 0.034322273, -0.0258351229, -0.0456426106, 0.0243167821, -0.0049127927, 0.0239601154, 0.043569386, -0.0670021623, 0.0567805432, -0.046178855, -0.0110659553, -0.0057280818, 0.0027776675, -0.0194869861, -0.0710805058, -0.033700183, 0.0195086561, 0.0107399765, 0.0353332944, 0.000996694, 0.0329843462, -0.0506639555, 0.0380739197, 0.0006431086, -0.0510484464, -0.0283087213, -0.0553827696, 0.0416961201, 0.0562762283, 0.0619167611, -0.0083293095, 0.00865677, -0.0310855247, 0.0486381724, 0.0408275351, 0.024213545, 0.0044161077, 0.013124018, -0.0425720401, -0.0065387175, -0.0057654283, 0.0031755483, -0.0297431257, 0.0074800649, -0.0213861912, -0.0267475564, -0.0179623049, -0.0285332482, 0.0503849089, 0.0520261191, 0.0117187351, -0.0539549999, 0.0086744931, 0.0092944242, -0.0054341676, 0.0004789555, 0.0212455764, 0.0223196913, -0.0120597677, 0.006592677, -0.0014328791, -0.0353428535, -0.0234912075, 0.0464284271, -0.0541926622, -0.0231681187, -0.0039160387, -0.0130875716, 0.0038894142, 0.0043493677, -0.0360195972, 0.0236172788, -0.0249334797, 0.0362193286, 0.0180721153, 0.0020767928, -0.004802729, 0.0558835529, -0.0471425466, -0.0226640385, 0.033645995, 0.014112127, 0.0032264488, -0.0382925086, 0.0012981567, 0.0157954637, -0.0046306294, 0.0262619592, -0.0139173223, -0.0096166749, -0.0578276664, 0.0220609028, -0.0785970986, -0.02561027, -0.0249894001, -0.0372267962, 0.0090189092, -0.034778323, -0.0168031715, -0.0221012309, -0.0061461637, 0.0431670025, 0.0005172339, 0.0233590342, 0.0204564016, -0.0319203511, -0.0186153706, 0.0085639013, 0.0033019783, -0.021776706, 0.0613019839, 0.0116306981, -0.0747216418, -0.0663342029, 0.06983459, -0.0484220572, 0.0471225977, -0.0016301484, 0.0137688052, 0.0267699864, -0.0018762948, 0.042970974, 0.0965174511, -0.0148956385, 0.0059790947, 0.0735032186, -0.0352564268, -0.0321673825, 0.0023585984, 0.025433369, -0.040421363, 0.0336753912, -0.0399073586, -0.007547921, 0.0265501812, 0.0092723519, 0.0107408138, -0.063297227, 0.03176976, -0.0135526955, -0.0617350303, -0.0077057746, -0.0316180587, -0.0032204334, 0.0509351492, -0.0382975154, -0.0847667605, 0.0757178962, -0.03051861, 0.0000187885, 0.0246781241, 0.0123393713, 0.0151727088, 0.0592728518, 0.0276389495, -0.0017162521, -0.0092953714, 0.0078385957, -0.074708946, -0.0376391374, 0.0008044566, -0.0283621252, 0.0601456724, -0.0836650953, -0.0059717936, 0.0017064302, 0.0092561124, -0.0778432786, 0.0374131054, -0.0199974496, -0.0372484848, -0.099529244, 0.0229416657, -0.0257857814, -0.0045797979, 0.0246317461, -0.0137118259, 0.0017347641, -0.0311663337, -0.009269271, 0.0149578555, 0.030430438, 0.0081041241, 0.033834029, -0.0350225009, 0.0377473086, 0.1070088148, 0.0204563811, 0.0401588231, -0.0436676145, 0.0077555371, 0.0023401238, 0.0238089059, 0.0049742316, 0.0369986966, 0.0686328635, -0.079311952, 0.0068244198, 0.065780282, 0.050874643, -0.0413950793, 0.0013978849, -0.0410798006, 0.0304226931, 0.043576777, 0.0000985334, -0.1185047328, -0.0202030297, -0.0176565424, -0.018337179, -0.0111384196, -0.0358642451, -0.0200450066, -0.0832941681, 0.0649508238, 0.0237646755, 0.0425766036, -0.016667977, 0.0214471389, -0.0019717601, 0.0388497561, -0.0139735714, 0.0064081689, 0.0092939623, -0.0063488171, 0.0140142851, -0.0258669406, 0.0314850397, 0.0224160161, -0.0338018574, -0.0045726807, 0.0446677059, -0.0202823784, 0.0052158632, -0.1209433451, 0.0193470921, 0.0100782095, 0.0002101745, -0.0061080488, 0.0488147326, -0.0081689237, -0.0077881459, -0.0001368973, 0.0034330259, -0.0118966913, -0.0607475266, 0.0348122381, 0.0803100392, -0.0365678854, -0.0590157323, -0.0331720114, 0.0411723219, -0.0357222408, 0.0640328601, 0.0307924226, 0.0134761054, -0.0408024937, -0.0356384069, -0.0049086805, -0.039564129, -0.0624945201, 0.0459569655, 0.0766867846, 0.007540076, -0.0758261383, -0.0072012153, 0.0501446016, 0.0339056477, -0.0131499944, -0.0039923168, 0.0040139868, 0.0091843782, -0.0838338435, 0.049699448, -0.0515636764, 0.0276987702, -0.0229199696, 0.0185251813, 0.0073297191, -0.009104738, 0.010029301, 0.0413588099, -0.0678449869, -0.052536197, -0.018652074, 0.0709330589, 0.0275192503, 0.052520629, 0.0186817069, -0.0243256986, 0.0274670962, 0.0480713621, 0.0363582596, 0.0417166948, -0.0129305441, -0.0254534353, 0.0113896728, 0.0053116591, -0.010891824, -0.0067399931, 0.0272154994, 0.0307134055, 0.000248812, -0.004876995, 0.050608363, 0.0465779938, 0.0164802596, 0.0096671358, 0.0348192863, 0.0002642988, -0.0008009664, -0.0066770241, -0.0160554927, -0.0563614555, 0.0308184307, 0.0030231171, -0.0187677499, 0.0413664952, -0.0311544929, -0.0241400208, -0.025504753, -0.0140401833, -0.0251539014, -0.0135497106, -0.0088234572, 0.0317766964, 0.0029182774, -0.0239784922, 0.0043850155, -0.0044414224, 0.0650165901, 0.0425354354, 0.1051294506, 0.0194129366, -0.0152833723, -0.0386157744, 0.0223372877, -0.021690717, -0.1140119955, 0.0069407364, 0.0541109629, 0.029872302, 0.0368214026, -0.0016328489, -0.0373229496, 0.0135672791, -0.0130699845, 0.0143647557, 0.0416225307, -0.0478602611, 0.0355058238, 0.0407236405, -0.016387023, -0.0379315056, 0.0348267183, -0.0328443237, 0.0102440836, 0.0010025693, -0.0201779567, -0.0567610674, -0.059916839, -0.0208045468, 0.0159724168, -0.0039817537, 0.0131954029, -0.0849269331, -0.0745458528, -0.0234492682, 0.0382052436, 0.0490846634, -0.0122236954, 0.0249239672, 0.0464900583, 0.0178970564, -0.0364425704, 0.0137386089, -0.0241481066, 0.0347029716, -0.0044413833, -0.0063965414, -6.121767031e-33, -0.0256701205, -0.0624191426, 0.0484370403, 0.0210217685, -0.0000717741, -0.007355351, -0.0058205016, 0.0282452945, -0.0093324063, 0.0146835353, 0.0371503979, 0.0303669125, 0.0067602149, 0.0152294794, -0.004075943, -0.0224332772, 0.019348342, 0.017592635, -0.0446511954, -0.0053175674, -0.0181624703, -0.0310302563, 0.0424968749, -0.0801799595, 0.0219145603, 0.0089831036, -0.0102728261, 0.0094472356, -0.0483985692, 0.0467954017, -0.0226732679, 0.0423112474, 0.0220251773, 0.0201871134, -0.0297459941, 0.0254712962, -0.0193224624, -0.0290120244, 0.0473572165, 0.0313626342, -0.1110072881, 0.0104717277, 0.0419072099, 0.009977377, -0.0200986248, -0.026617026, 0.0355068855, -0.0439977571, -0.0191981066, 0.0503887534, -0.0349424668, -0.0225957017, -0.001465818, -0.0491787679, 0.0201884396, 0.0348480903, -0.0165774953, 0.0322673023, -0.0759565309, 0.0299123265, -0.0260156989, -0.0327155516, 0.0934689939, 0.0040294463, -0.0030548042, 0.0493878424, 0.060658928, -0.0100035071, -0.0321913958, -0.026567718, -0.0050888332, 0.0662718415, 0.0777270347, 0.0023838882, 0.0224961806, 0.0196146108, -0.062345311, -0.0093312925, -0.0322024114, 0.0454766639, 0.0225056186, -0.0018112801, -0.0314839259, -0.0240012519, -0.0043660277, 0.0165328886, -0.0402940549, 0.0087036015, 0.0579365157, 0.0051878425, -0.011198462, 0.0153507376, 0.0235558897, -0.0452922061, 0.0162762851, -0.0233237166, -0.0148940589, 0.0328686424, -0.0027038546, 0.0226351712, -0.0025596188, 0.0434585698, 0.0263880938, -0.0225761402, 0.0385086536, 0.0410393104, 0.0256181341, -0.0091512995, -0.0503791794, 0.0040726322, -0.0573421009, 0.0096766585, 0.00571858, -0.0027879572, 0.04137142, 0.0065966039, -0.0396226235, 0.0135466354, -0.0128390994, -0.0534181036, -0.0240807831, 0.0198516473, -0.02324415, 0.0117333531, -0.0170536228, -0.0196876973, -0.0526134148, -0.0278955437, 0.018205462, -0.0539094694, -0.0118873669, 0.0050125173, 2.952e-7, -0.0177989341, 0.0554755814, 0.0172635559, 0.0495992787, 0.0028037445, 0.0251303911, -0.0152661307, 0.0025352784, 0.0477985442, -0.1173551157, -0.0259899199, 0.0552534498, 0.0303241573, 0.01562146, -0.0421979427, 0.0003866401, 0.0236233491, -0.0210928321, -0.0606759861, 0.0154471844, 0.0762124211, -0.0078494204, 0.0230181012, -0.0013268678, 0.0408420749, -0.0492017865, 0.0569291711, -0.0092852777, 0.0001918716, -0.0120159341, 0.026000239, 0.016043419, 0.0184283238, 0.078242138, 0.0113724386, -0.0321648717, 0.0135231176, -0.0007611881, -0.0335632712, -0.0071528698, -0.0466944464, -0.0052506877, 0.011706017, -0.0490078963, 0.0500660464, -0.0229995474, -0.0150379511, 0.0189976301, -0.0224574953, -0.0262137596, 0.035864722, 0.0232657492, -0.0215959419, 0.0025977721, 0.0154697429, 0.0337852091, -0.0382824354, -0.0501415841, -0.0011389095, -0.0245652273, 0.0023248484, -0.0372400098, 0.0033257937, -0.0021103818, -0.0146623608, -0.0558016226, -0.0484230854, 2.946928751e-34, 0.0257718023, -0.0003869736, 0.0624447539, 0.0280493293, 0.0233530086, -0.015318186, 0.0032830159, 0.0022440697, 0.0009613488, -0.0339446962, -0.0180658363 ]
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.
Generative Large Language Models in Automated Fact-Checking: A Survey: 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.0598127954, 0.0696576014, -0.0060874932, 0.0521616898, -0.0448511317, 0.0082022632, 0.0264705401, -0.0130626587, 0.0099519491, -0.0683752596, 0.0293405745, -0.0448018797, 0.0006200498, 0.0280356314, 0.0370805599, -0.0012056387, 0.026695665, -0.0239887387, 0.058050666, -0.0284096375, 0.0050698733, 0.0367253609, -0.007633266, 0.0154566634, -0.0246953573, -0.0165746864, 0.0391229019, 0.0003526974, 0.0156683605, -0.0201398898, -0.0183854848, 0.0480825752, 0.0374842063, 0.0882757157, 0.0000016646, -0.041406706, 0.0092389863, 0.029205, -0.0440803617, 0.0344616361, 0.0379625857, 0.0091820564, -0.0503323041, 0.0144398417, -0.0080833379, -0.0329042226, 0.0319013782, 0.023540251, 0.079011932, 0.0991236717, 0.0008700831, -0.0145060876, 0.0181602463, 0.0076321336, -0.0053979182, -0.0184110533, 0.0752956197, 0.0425149053, -0.0275542792, 0.0381248333, 0.0224579796, 0.0246228445, 0.003053983, -0.0429237895, -0.0537308641, 0.0209252182, -0.0122941248, 0.0000678579, 0.0148974247, 0.025314128, 0.0155756315, -0.0457200035, 0.0155422725, -0.0050029983, -0.011913036, 0.060955517, -0.0251331385, 0.0909307003, -0.0464862473, 0.0068898145, 0.0182870459, -0.029803982, 0.050525818, 0.0465018265, -0.0013399812, 0.0621704198, 0.037276689, -0.0255902838, -0.0140672652, -0.0071534412, -0.0214271545, -0.0794748068, -0.0157361645, 0.0168849248, -0.0144406864, 0.0159033705, -0.0043356256, -0.0006527965, 0.0415162034, -0.0717434064, 0.0052263015, -0.0080869803, -0.0223950297, 0.0628159568, -0.0352872424, 0.0216887072, -0.0322453119, -0.0205072574, 0.0314284712, -0.0232981667, 0.0035161523, 0.0109160319, 0.0009506148, -0.0022853184, -0.0055535347, 0.0222001038, -0.0480243489, 0.013262379, -0.0304727815, 0.0489884764, -0.0021029012, -0.0129180551, -0.0004428122, -0.0381645635, -0.0638444349, 0.0172264799, -0.003384836, 0.0327204987, -0.0087655429, -0.052084446, 0.0118314307, 0.0431423895, -0.0157561563, -0.0105680916, 0.0004188443, 0.0027275591, 0.0344836339, 0.0374017581, -0.059178222, -0.0251155552, -0.0355078317, -0.0708609894, -0.0052260617, -0.0913268477, -0.0269904919, -0.0105468798, -0.0063354159, -0.0038571989, -0.0028638286, 0.0299358461, -0.0134216798, 0.0489174426, -0.0094507094, 0.0269688182, 0.0389137492, -0.011316482, 0.024780415, 0.0409191661, 0.0218209084, 0.0502750091, 0.0510850586, 0.0447130688, 0.041576732, 0.007649411, 0.0063195266, 0.0175439082, -0.0065188091, -0.0141531331, -0.0033519727, -0.0184679646, -0.0048649739, 0.0824664086, -0.0253036376, -0.0049579637, 0.0866672695, 0.0011666581, -0.0169742033, 0.0012283565, 0.0956345052, -0.0214403458, 0.0092220949, 0.0053030802, -0.0372805707, 0.0126599791, -0.050821498, 0.0069076098, 0.0049111061, 0.0986374319, 0.0010063732, -0.0388314053, -0.032463219, 0.011371728, -0.0105967857, 0.0218483526, 0.0370312147, 0.0082063712, -0.0140091116, 0.0056071281, 0.0363682844, -0.036990229, 0.0127114374, -0.0903522596, 0.0386614129, 0.0546289347, 0.0684673265, 0.0087716375, -0.0013722718, -0.0364174582, 0.0117845675, 0.0364046991, 0.0369455889, -0.0204657782, -0.0650130659, -0.0178074259, -0.002056557, -0.009622246, 0.0419658236, -0.0203009341, 0.0650936067, -0.0069637117, 0.0084012169, -0.034614794, -0.0332472511, 0.0089729959, -0.0038427559, 0.0014176866, -0.009020498, 0.0160818025, 0.0014611754, 0.0128666097, -0.0284400228, -0.0101607703, 0.0197825432, -0.0034406483, -0.0475964472, -0.0188739132, 0.0232725609, 0.0126190241, 0.0385778472, -0.0171355084, -0.0452953503, 0.0103488881, -0.0397091173, 0.0047384072, -0.0151370009, -0.0347332768, 0.0005355998, -0.0715524554, 0.0006676259, -0.010266779, -0.0003671259, -0.002124585, 0.0958730578, -0.025322387, 0.0219969656, 0.0107719917, 0.0053883004, 0.0097452458, -0.0262004677, -0.0260590669, 0.0201104302, 0.0217077117, 0.018292455, 0.0346951373, -0.0210151635, -0.0010077799, -0.0217733067, -0.0506176092, -0.007229134, -0.0109249065, 0.0104230177, 0.0242841356, -0.0087515432, -0.0115632517, 0.0404977091, -0.012907085, 0.0006859555, 0.0431710742, 0.012294949, 0.0368325301, -0.0336359851, -0.0299407132, -0.0041579492, 0.0127558187, -0.0365980268, 0.0442308709, 0.0441887043, -0.0268879514, -0.0751761943, 0.0035789493, -0.0724141821, 0.040370889, -0.0129825771, -0.0327075496, 0.0190005396, -0.0083217248, 0.0511356778, 0.0419236794, 0.0333118886, 0.015144974, 0.0541150123, 0.0059304209, -0.000518523, -0.0117635978, -0.0387521982, -0.0180436168, -0.0038147909, -0.0591731817, 0.0169034004, 0.0184280928, 0.0294090603, -0.0327886604, -0.0303505771, 0.0560562164, -0.036188025, -0.0146225775, 0.0215850472, -0.0382718109, 0.000623838, 0.05398909, -0.0151415886, -0.0356655456, 0.0847063884, -0.0418170504, 0.0610360317, -0.0062245806, -0.0226675458, -0.0065398016, 0.0265091546, -0.0226718374, 0.0460917279, 0.0267521795, 0.0180869717, -0.0043420373, -0.0212387592, 0.0661761686, -0.0225057062, 0.0458639786, -0.0688147098, 0.0227883346, 0.0349761955, -0.0231808368, -0.0469095483, -0.0699182823, -0.0283726994, -0.0182479694, -0.0153684895, -0.0339091346, -0.0515442938, 0.0049322164, 0.042694509, 0.013450807, 0.0010860118, -0.0116140433, -0.0017048105, 0.0088542169, 0.0453940108, 0.016814379, 0.0625765547, -0.0132558662, -0.0097430442, 0.0597302057, -0.0235975385, 0.0094047487, -0.0213119369, -0.0449717566, -0.0051558861, -0.0084909219, 0.0461301692, 0.0028892972, 0.0222015809, -0.0524950512, -0.0097395219, 0.0933182314, 0.0101286452, 0.0114663597, -0.0108851306, 0.0021294791, -0.0210547354, 0.0170629676, -0.0013740495, -0.0937653109, 0.0230983514, -0.0101648187, -0.026743589, -0.0458831936, -0.0238022618, -0.0168909617, -0.1252034605, 0.058113981, 0.0103600286, 0.0158605743, -0.0526180752, -0.0568638667, 0.0091145886, 0.0185399521, -0.0025409516, 0.0191494804, 0.0243423749, -0.0326027572, 0.0002386313, -0.0074822283, -0.0675483197, 0.0481161438, -0.036309246, 0.0593693927, 0.0259264763, 0.0191388354, 0.0078058955, -0.0207223315, 0.0119434986, 0.007019348, -0.0515314937, 0.0068631484, 0.0039974302, -0.0117443334, -0.0004159584, -0.0504475795, 0.0253478158, 0.0227233022, -0.0318933092, -0.0210664105, 0.0810134187, 0.0008582313, -0.0595784001, -0.0136552798, 0.0203095563, 0.0269854739, 0.0787143186, 0.0061040181, 0.0171649717, 0.0010581074, -0.0441891365, -0.0332273319, -0.0027240564, -0.065833576, 0.0361038968, 0.0262259562, -0.0380057059, -0.0654717088, 0.0329930559, 0.0078580435, 0.020124929, -0.0043712105, -0.0197638925, 0.0489252806, -0.0107213221, 0.0028690309, -0.0168434251, -0.0651989505, 0.0461310409, -0.0096548554, 0.0060761287, 0.0449941941, -0.0173199456, -0.0057785665, 0.0445322543, -0.0971832797, -0.0771693736, -0.0010249572, 0.0020120542, 0.024040211, 0.0143037857, -0.0590458289, -0.030119054, 0.0329332836, 0.0555487312, -0.0182173122, 0.0172701646, 0.002259484, 0.0087891594, 0.013839962, 0.0185190942, -0.0302071236, 0.0192194022, 0.0201920811, 0.0246244334, -0.0481084809, -0.0422038771, 0.0475455076, 0.0481165573, 0.021969799, -0.0240987018, -0.0182554107, -0.0490728766, -0.0168986656, -0.0471225679, -0.0590388216, 0.0350665674, 0.0231856555, -0.0116107566, 0.0016337513, -0.0336534157, -0.0192119945, -0.0447963998, 0.0500499047, -0.031982787, -0.0136754615, 0.0047487593, 0.0128386589, 0.0286472142, -0.0419587679, -0.018007461, 0.0243473239, -0.0159857403, 0.0252773333, 0.0056274119, 0.0252028108, 0.0184628144, -0.0297323, -0.0148940273, -0.0609921888, -0.052559603, -0.0306783263, -0.0326940455, 0.0316836573, 0.0581294335, 0.0221603718, 0.0153098879, -0.0199973676, -0.0478260331, 0.0015737469, -0.0177494846, 0.037122786, -0.0302174333, 0.0364575647, 0.0152913434, -0.0357715674, 0.0078312429, 0.0375992693, 0.0036900472, 0.0687594041, 0.0050723176, -0.0713098571, -0.0355436467, -0.0801192001, -0.0603105426, -0.0338456482, -0.0084168632, 0.0030194963, -0.0982885808, -0.0806962401, -0.0086416006, 0.055613026, 0.0362030938, 0.0182898268, -0.039188765, 0.0903037935, 0.0338520855, -0.0011472098, -0.0572160557, 0.0396606475, 0.0038475255, -0.0221612342, -0.0129645094, -6.238772432e-33, -0.0107218232, -0.0762125477, 0.0152658839, -0.0195167772, -0.0230132956, 0.002805152, -0.0309513342, -0.0290042441, -0.0246233735, 0.0613793731, 0.0198152401, 0.0333813839, 0.0065771258, 0.0021673373, -0.0375532769, -0.0014246443, 0.0577014349, 0.0129091991, -0.0535454527, 0.0116471443, 0.0544005372, -0.0576723367, 0.0017340507, -0.0648086965, 0.056797538, -0.0404794924, -0.0585729666, 0.063085109, -0.0472171195, 0.0518391244, 0.0142290033, 0.0378140584, 0.0350792371, -0.0288117044, 0.0198464617, 0.0043877414, -0.0442848429, 0.0185133126, 0.0544815026, -0.0363528244, 0.0294190999, -0.0152181862, 0.023919018, -0.0200505052, -0.0158686098, 0.020749405, 0.0173464734, -0.0223803446, 0.0264323708, -0.0458777212, -0.0663608536, 0.0146342395, 0.0252232067, 0.0209725294, -0.0508227497, -0.0011150873, -0.0001569952, 0.0021296255, -0.0427934937, 0.0525593273, 0.0293984357, -0.0008435263, 0.0581756532, -0.0307108741, -0.0168384891, 0.041845873, -0.0416018367, 0.0359785147, -0.0874457508, 0.008124222, -0.0257980004, 0.0281697884, 0.0250294935, 0.1118584275, -0.0167710204, -0.0293866824, -0.0835474506, 0.0171027649, 0.0252963807, 0.025267886, 0.0480955243, -0.0370108411, -0.0321016014, -0.0041431482, -0.0360020623, 0.0299363881, -0.0497636609, 0.0030644252, -0.010222951, 0.0167678893, -0.0501936041, -0.000300474, -0.0023106537, -0.0583402887, -0.0062869103, 0.0264577344, -0.0100605479, -0.0078679342, -0.0037494486, 0.0241052546, -0.0389330313, 0.0181018319, 0.0234564207, 0.0128109707, -0.024591554, 0.0078160493, 0.0276904143, 0.0186053533, -0.0559181795, 0.0340874121, -0.0354385786, 0.0286555421, -0.0045641046, -0.0388551876, 0.0255514402, 0.0182040855, -0.0112256594, -0.0091105532, 0.0150149986, 0.0208881292, -0.0149114057, 0.0326069295, -0.0032196774, 0.0261955243, -0.0351130702, 0.0188099034, -0.0286615547, 0.0096971802, 0.015238151, -0.0499080271, 0.0062726573, 0.0134223839, 2.522e-7, 0.0011406236, 0.0648408011, -0.0112051982, 0.0335967913, 0.0297312979, 0.0131404214, 0.0086513367, -0.0324118286, -0.0065531721, -0.0693509057, -0.0150492098, 0.0615264997, 0.0147460783, 0.0570921563, -0.0236039236, 0.03751266, -0.0513349511, -0.0430828817, -0.0443650186, -0.0310988538, 0.0319192521, 0.0577630959, 0.0385364443, -0.0103675118, -0.0028985003, -0.0472853556, 0.0505331196, 0.0422289632, -0.0836996436, 0.0275368746, 0.048421979, -0.0057612048, 0.0208425373, 0.0078748753, -0.0013759218, -0.0273891669, -0.0207921509, 0.0679445788, 0.0182140134, 0.0200876631, -0.0560973845, -0.0539028049, 0.033152394, -0.0543374941, 0.040469259, -0.0124700554, -0.0040998482, -0.0678342432, -0.0066334233, -0.0015292836, -0.0147684831, -0.0350162983, -0.0328645594, 0.0062352275, -0.0108344806, 0.0506169014, 0.016094232, -0.0353166871, 0.0117753316, 0.0015504047, -0.0616246127, -0.0992050394, 0.0407355577, -0.0156561136, 0.0349523462, -0.0437311754, 0.0661349893, 2.234354637e-34, 0.0471925735, 0.0168748181, -0.0230096821, -0.0319459029, 0.0855543688, 0.0528847165, -0.0529627241, -0.0141803948, 0.0169309974, -0.0526907034, -0.0148083959 ]
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.
MORPHEUS: Modeling Role from Personalized Dialogue History by Exploring and Utilizing Latent Space: 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.0994861349, -0.0126458053, 0.0316941217, -0.0038125101, -0.0171740167, 0.0315221474, -0.0440808423, -0.0372708328, -0.0067044552, -0.0409662575, -0.1048857272, -0.018943131, 0.0479978137, 0.0092961583, -0.0783857852, 0.0278324895, 0.0036118669, 0.0291689336, -0.0156304948, 0.0023227129, 0.0185461398, -0.0392798036, 0.0587928146, -0.0005370901, -0.0365638547, -0.0396993235, 0.0074724173, 0.0792086199, -0.0010352272, 0.0610717833, 0.0553516597, 0.0436213724, 0.0112336269, 0.0000020311, -0.010131171, 0.0029076845, -0.0170874838, 0.0243490785, -0.0045320936, 0.0300507806, 0.0174597427, -0.0002151213, 0.0159782525, -0.0826167688, -0.0308705475, 0.0454996862, 0.037406873, 0.0591830201, 0.095512405, -0.0138833756, -0.0169958454, -0.0281061511, -0.0370267704, 0.0484169088, -0.0305771772, 0.0010375557, 0.0022816663, 0.0162022505, 0.0193198361, -0.0156503152, 0.003265603, 0.0080721667, -0.0481164679, 0.030559551, 0.0432566926, 0.0149251129, -0.0021684929, -0.0185426231, 0.0971803591, 0.0801859573, 0.0087277712, 0.0011332609, -0.0019592799, -0.0072945394, -0.007594855, -0.029598061, 0.0360437036, 0.003246845, -0.0146808019, -0.0030622131, 0.0518712215, -0.0320873521, 0.0135994349, -0.0081707779, 0.0438667834, 0.0189139247, -0.0285338182, -0.0501221754, -0.022359306, 0.001419354, -0.0551490411, 0.024526706, 0.0184175856, -0.0387346856, 0.0277443454, -0.0512355939, 0.0161603279, 0.0034229201, -0.0126210377, -0.0144522553, 0.0277641788, 0.0083231283, 0.0003008991, 0.0236925744, 0.0217565782, -0.0067785336, -0.013708801, -0.023063045, 0.0080869971, -0.0268839635, -0.0395977646, -0.0412964933, 0.0220692772, -0.0348149166, -0.0462098569, -0.0280559063, 0.0464440957, -0.025838986, -0.0004901864, 0.0248118192, 0.0698216707, -0.0518735796, 0.0148714846, -0.0146289393, -0.005411102, -0.0433159657, -0.0040794755, 0.0408904999, 0.0027955431, -0.005052519, 0.0246138275, 0.0291907508, -0.0319988839, -0.0399104171, 0.0378774703, -0.0340598747, -0.0069932942, 0.042617932, -0.0583715439, -0.0529472344, -0.0609541275, -0.0308161266, -0.0210143011, 0.0417491272, -0.0167118721, -0.0096349185, 0.0020594564, 0.0220228471, 0.0245711841, -0.0128462734, 0.0600662343, 0.0021668531, 0.0146347908, 0.0279151443, 0.0363461412, 0.0336668044, 0.0357098915, 0.0308238156, 0.007717655, 0.0233422723, 0.0183533989, -0.02025019, 0.0142594529, -0.0098024365, -0.0028699385, 0.0305769015, 0.0166598391, -0.0195765775, 0.0325579904, 0.0574005507, 0.0257238448, -0.0600231476, -0.0266455654, 0.0539954267, 0.0323507339, -0.0130251385, 0.0223227553, 0.0714406371, 0.0379607491, 0.0070421835, 0.0120418435, -0.0042536044, 0.0186197571, 0.0433948599, -0.0421196893, 0.0100924037, -0.0056073498, -0.0197438523, -0.0088137249, 0.0469766632, -0.013246295, -0.0066905166, -0.0005394361, 0.0063938769, 0.0168481059, -0.0266449694, 0.0720351785, 0.0217966549, -0.0907954127, -0.0022610947, 0.0059620002, 0.0163869895, 0.0900881439, 0.0569617935, -0.0267188344, -0.0505920015, -0.0157114659, -0.0202434063, 0.039310649, 0.0273794811, -0.036762163, 0.0241985582, -0.0686450005, -0.0232451353, 0.0019083148, 0.0069288905, 0.0565022565, 0.0258249678, 0.0030257932, 0.0244001541, 0.0301839877, 0.0190011933, 0.0002945568, -0.055975996, -0.0170005616, 0.0199298244, 0.0122690685, 0.0433345586, 0.0360255763, -0.0080300448, 0.0026308303, 0.0230301302, -0.0137386033, -0.0057872231, 0.0549820215, -0.0947993696, -0.043326918, 0.0174456909, -0.018538082, 0.0067450195, 0.0391008779, -0.0105253626, -0.0575058609, 0.0332707763, -0.0296047498, -0.0127874827, -0.0527939796, -0.0103548178, 0.0390047319, 0.0433845483, -0.0395708047, 0.0355852246, -0.0013062814, 0.0078123678, 0.0655667186, 0.0499306209, 0.0140064806, -0.0660885349, -0.0072094966, -0.0206097122, -0.0072103883, 0.0114071891, 0.0430804007, 0.0040966142, -0.0129703954, -0.0443404615, -0.0871050879, 0.0230641738, -0.0194347817, -0.0225284696, 0.0429431647, 0.0275160335, -0.0073439563, 0.0081785461, -0.0845174715, 0.0170504935, 0.0356026217, -0.029473979, 0.0248897411, 0.0171542037, -0.0305523444, -0.0406469926, 0.0238889046, 0.0034144947, 0.0215678662, -0.0152077088, 0.0050356663, -0.0133281192, -0.0139600551, -0.0036714899, 0.0452266671, -0.033743903, -0.0421948843, 0.0290781222, 0.0097006047, 0.0495432243, 0.0065134978, 0.0650108308, 0.0538921058, -0.0202659722, -0.0340101682, -0.0441787876, 0.0258431006, -0.0432610177, 0.0075795408, -0.041249983, -0.060730353, 0.0220878068, 0.0287774354, 0.034375377, -0.0053820317, -0.0736444592, -0.0036043541, 0.0247260462, -0.0703710318, 0.0731503069, -0.0077001415, -0.0532096922, 0.0083734244, -0.0277629662, 0.0006415225, 0.0613716282, -0.0088856192, -0.0229874961, -0.0093148872, -0.0040033036, -0.0524658263, 0.0525134429, 0.0000140195, 0.0378772095, -0.0124757541, -0.0399910882, -0.0397526361, 0.0038765273, 0.0239310786, -0.0308084171, 0.0066653863, -0.0266972799, -0.0089387847, 0.0058691036, -0.0250372887, -0.0530899242, -0.0666924119, 0.0294395704, 0.0123091303, 0.0256952886, -0.0381937176, -0.0238360371, 0.0312779844, -0.0313837491, 0.0017193736, -0.0331557393, 0.0116715617, -0.0342997424, 0.0427865461, 0.0501273386, 0.0188352633, -0.0262685437, -0.0326230712, 0.0468136966, 0.0556054972, -0.0130884778, 0.0098335175, -0.0122202532, -0.0204142742, 0.0403249599, -0.000967123, -0.0025435984, -0.0106807277, 0.0736861974, -0.0089444965, -0.0444981568, 0.1206076443, 0.0248736721, -0.0678278431, 0.0122168036, 0.0159964245, 0.0457192473, -0.0031753408, 0.0120228203, -0.0704614595, 0.016422946, -0.0380725935, 0.0377874598, -0.032790862, -0.0512712523, -0.0318951383, -0.1150250435, 0.0599382818, 0.0064799278, -0.0360046774, 0.0045927903, 0.0120891584, 0.0084025385, -0.0031454945, 0.0212697051, -0.0020770705, 0.0056060948, 0.0092664808, 0.0257335082, -0.0296001323, -0.0536627881, 0.0018811391, -0.0329909548, 0.0873808116, 0.0225780196, 0.0703047439, 0.0516376719, -0.0038646851, -0.0284613222, 0.0180393588, -0.0132193752, 0.0090101315, 0.0829029307, -0.0306591857, -0.0156587958, -0.0166292395, 0.0497850962, -0.0098410649, -0.0380196571, 0.0304408725, -0.0193005055, -0.0555642508, 0.011753941, -0.0074957213, 0.0794663206, 0.0612714738, 0.0618440323, -0.0036969639, -0.0537017472, -0.0257530157, 0.0051036552, 0.0345289335, -0.0745277852, -0.0134759955, -0.0194916222, -0.0000769339, -0.0300190095, -0.067979008, -0.0542790033, 0.0059656953, 0.0434813835, -0.00953825, -0.0060333912, -0.0319002755, -0.0234698765, -0.0491013713, -0.0319327377, -0.0437962636, 0.0189450067, -0.0171361566, -0.0692837909, 0.0331752487, -0.0543551221, -0.0052497014, -0.0042747548, -0.0865412503, -0.072031796, -0.0169829652, 0.043953944, 0.0226088408, 0.0886778533, 0.0073981984, -0.0451390743, 0.0071179941, 0.0044818395, -0.013703662, 0.0149570946, 0.0036206485, 0.0413450226, -0.0391491577, 0.0304932613, 0.0068229153, 0.0095121339, -0.0119025037, 0.0322424881, -0.048951488, -0.093391493, 0.0041055386, -0.0308027826, 0.0076737693, -0.0052546291, -0.0009229896, -0.0529983789, -0.0036214131, -0.083027795, -0.0060624504, -0.0554491021, -0.0125107672, 0.0411248766, -0.0342851058, 0.0065379953, -0.0419167355, -0.0429061018, 0.0103273969, -0.0539099872, 0.0022957509, 0.04086769, 0.0046685259, 0.0214004219, -0.0014168872, -0.0173624065, -0.0038123957, -0.0016221994, 0.0254506022, 0.0157275647, 0.0737227648, 0.010030061, -0.0350988396, 0.0200013965, 0.0231643543, -0.0921987221, -0.0149711221, -0.0252376907, 0.0058221961, 0.0261893626, -0.0213451423, 0.0415338874, -0.0377070196, 0.0260646343, 0.0002499146, 0.0431248806, 0.0013119391, -0.0319880433, 0.0224924181, 0.0019846503, -0.0110803545, 0.0297904294, 0.1022746041, 0.0361775309, 0.0143435365, -0.0198517609, -0.0028084395, -0.0649141222, -0.0246208627, 0.028914785, 0.0610603616, -0.0149159078, 0.0136357481, -0.035439387, -0.024160184, -0.0194435734, 0.0050986195, -0.0137325078, 0.0148709603, 0.0292538311, 0.0422740094, -0.0197954234, -0.0189953502, -0.0739314407, 0.0045326385, -0.0296298657, -0.0140772844, -0.0433736779, -6.296864629e-33, -0.0500837117, -0.0460354909, 0.0287512615, 0.0340330154, -0.0879486278, -0.0092940452, -0.0333113857, -0.0038350406, 0.0434013121, 0.0055916915, -0.0046070307, -0.0164634585, 0.0096236384, 0.0568081066, 0.0066633597, 0.0165923089, 0.0552624241, 0.0052697393, 0.0021421353, 0.0468344986, 0.0318560824, 0.0224555247, 0.0011594157, -0.0729946867, 0.0122814719, -0.0188266579, -0.0334618278, 0.0077050147, 0.02015559, 0.0397556424, -0.0129018715, 0.0052352003, 0.0057162256, 0.0010841298, -0.0117756026, 0.0640207008, -0.088782981, -0.010495807, 0.0323053859, 0.0192924626, -0.0324769132, -0.0431951992, -0.0228111651, -0.0349191278, 0.0383441038, -0.0147745349, 0.0285540149, -0.024529675, -0.0117963823, -0.0176383145, -0.0481412485, 0.0180784836, -0.0390942134, -0.0241428968, -0.0029849715, 0.0496464819, 0.0096427267, -0.0505216569, -0.0435818657, 0.0190987997, -0.0390136912, -0.0007476234, 0.0118809501, 0.097466886, -0.0061793104, 0.0488590971, 0.0724223554, 0.0341461152, -0.0050857165, 0.0006274741, -0.0254268404, 0.0445355251, -0.0283537805, 0.0485754237, -0.0359024405, -0.0012453542, -0.0378021784, 0.0409657061, 0.0317290351, -0.0336482041, 0.0370710082, 0.010409263, -0.0140577788, -0.0152287204, -0.0190370437, -0.0186176132, 0.0001925484, -0.0190741289, -0.0006024166, 0.0364047065, -0.0541022643, -0.0120490165, 0.0280956123, -0.0537811667, -0.0058229081, 0.005529657, -0.03137004, -0.0065941336, -0.0245460719, -0.0001351949, -0.0497413687, -0.034956038, 0.0648847818, -0.0088585103, 0.0013144828, 0.0407225452, -0.0015903525, 0.0081325397, -0.0445374958, -0.0154105118, -0.0290962085, 0.0655888543, -0.0284851324, 0.0670578629, 0.0010288951, -0.0154692801, -0.0309769399, 0.0329774432, 0.0107517028, 0.0097627668, -0.0244418941, -0.0024131802, 0.0177702159, 0.0093472293, -0.041637674, 0.0300505925, -0.00354201, 0.0024518745, 0.0514761619, -0.01980206, 0.0013930479, -0.0047736415, 2.69e-7, -0.0048859483, -0.0090308329, 0.0338740051, 0.0126528908, 0.0344327278, 0.0209486466, 0.0056334604, 0.059961956, 0.0170469582, 0.0058159917, 0.0540279262, 0.0330927633, 0.0474889912, 0.0139160445, -0.094647713, -0.0261359494, -0.0543890782, -0.0393172875, -0.0300908536, -0.0144016529, 0.0892818794, 0.0422920138, 0.027031865, -0.0054084044, -0.001903453, -0.0021292581, 0.0817165524, 0.0017928369, -0.0279929023, 0.0559105128, 0.0374775417, -0.0316236094, -0.0033527252, 0.0092353728, -0.0112804994, 0.0253249388, -0.0082609244, 0.0699394271, -0.0012386434, -0.0697720125, 0.0139775397, 0.0129724089, 0.0031456465, -0.0293944441, 0.0539906994, -0.0301892776, -0.0262552164, -0.012047031, -0.0343235098, 0.0201408062, -0.003031905, -0.0146384491, -0.021037275, 0.0388172045, 0.0075019519, 0.0147536229, 0.0136062475, -0.0892471895, -0.0084459977, -0.0344950929, -0.0895367935, -0.026425248, 0.0066287392, -0.0263201483, -0.0090749171, 0.0131922103, 0.020032512, 2.383433723e-34, 0.0188943073, 0.0306777544, -0.0275410973, 0.0239984877, 0.0215962045, -0.0140421651, 0.0258810949, 0.0148234628, 0.047662586, -0.0522246733, -0.0488666445 ]
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.
RVISA: Reasoning and Verification for Implicit Sentiment Analysis: 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.0309274085, 0.0589554384, 0.0131497346, 0.0500787944, -0.0036120741, 0.0398426577, 0.0148663484, -0.0146367475, 0.0145177823, -0.0369993895, -0.0203259755, 0.0170760583, 0.0044256514, 0.0382268466, 0.01580205, -0.0005479216, 0.0312386435, 0.0058777896, 0.0531554818, -0.0341577195, 0.0205002651, 0.0484630205, -0.0064107776, 0.015975425, 0.0100455554, -0.0105301319, -0.023611417, 0.0093555218, -0.0067195273, -0.03825083, 0.0323498175, 0.0285885558, 0.0368383676, -0.0109929293, 0.0000021595, -0.0246686302, -0.0175215304, -0.0029623015, -0.0048772269, -0.0202851892, 0.0000781262, -0.0210758001, 0.0259850528, 0.0217445865, -0.0422255732, 0.0003246615, 0.0174194742, 0.1065403447, 0.0808299258, 0.0525997169, -0.0245201476, -0.0291335769, -0.0260070655, -0.0101771913, 0.0123433704, -0.0362340435, 0.0057053291, -0.0077104201, -0.0505849868, 0.0324357636, 0.0152459936, 0.0060539222, 0.0309318695, -0.0241971649, -0.0033636016, 0.0214527398, 0.0258001145, -0.0412324257, -0.0246396083, 0.0449363329, 0.0530526862, -0.0110277068, -0.016066201, -0.0088027045, -0.0417222828, -0.000305462, -0.0106443148, 0.0184061639, -0.016369842, 0.0244084746, 0.0287938938, 0.0290171709, 0.0103686126, 0.0534613468, -0.0028066204, 0.0635107458, -0.0231983569, -0.0264679343, 0.0406183414, 0.0473399311, 0.00886878, -0.0398241095, 0.0102992924, 0.0431969538, -0.0314304121, 0.0203758553, -0.0021476231, 0.0248810928, 0.0021556823, -0.0353647731, -0.0091639506, 0.0397982188, 0.0122606345, 0.0346817076, -0.0288973991, 0.014610569, -0.0019044902, 0.023709476, 0.0143992687, -0.0270836949, -0.0257020835, -0.0183620043, -0.0028178636, 0.0457367226, -0.0451259576, -0.0035580697, -0.0479287803, 0.0008916158, -0.0406226553, 0.0130749522, 0.0168539379, 0.0453784019, 0.0005166722, -0.0102843968, -0.0822399929, 0.030278964, -0.0321661942, 0.0547656938, 0.0093463892, -0.0289377756, -0.0141758472, 0.0163291097, 0.0156870242, -0.0107868006, 0.0049080267, 0.0352702439, -0.021533737, -0.0149367554, -0.0721890181, -0.0686166808, -0.0200928617, -0.0781557932, -0.0103158709, -0.0339693278, 0.0288709085, 0.0089047402, 0.0011201716, -0.0191895571, 0.0143194757, 0.014146449, -0.0086492859, 0.100319691, -0.0140136415, -0.0243736263, -0.0200741533, 0.0235577654, 0.0111856386, 0.0613669269, 0.0025092668, 0.0594103411, 0.0175329335, 0.0091940025, -0.0409985371, -0.0577080622, 0.0272985026, -0.0130265718, -0.0408516638, 0.0302069541, -0.076021038, -0.0183811635, 0.0222005136, 0.052866634, -0.0126096783, -0.0020431415, 0.0405371748, 0.0294211172, -0.0206723232, 0.0543197691, 0.0407458358, 0.0181051791, -0.007245339, -0.0194523893, -0.001572095, 0.0733317658, -0.0356791094, -0.0404476896, 0.0464511178, -0.0193650592, -0.043534331, -0.0796296597, -0.0013984472, -0.0255935695, 0.0440907218, 0.0256038476, 0.0622368529, 0.0148412623, -0.0884600952, -0.0033515051, 0.0319281109, -0.0614881702, -0.0155637255, -0.0539683215, 0.0784123093, 0.0986999646, 0.0069984091, 0.0201800968, -0.0002264146, -0.0151469642, -0.0008318884, 0.0654882118, 0.0381133407, -0.0316747837, 0.0224089511, -0.0713022947, -0.0381222107, -0.0194674246, 0.0063270358, 0.0130720437, -0.0103906523, 0.050193578, 0.0200726409, -0.0002490052, 0.0097779268, 0.0050757313, -0.0211731158, -0.0177258309, 0.0203019585, 0.020972671, 0.0265668835, 0.0362101942, 0.0243148673, 0.0069627645, 0.0091788461, -0.0312311742, -0.070331715, -0.0035802261, -0.0562981516, -0.0768702403, -0.0071311113, -0.0188249946, -0.0545581467, 0.0043425756, -0.0422849841, -0.0024292422, 0.0104222139, -0.0178762022, 0.0231251623, -0.0561568886, -0.0262517538, -0.0088986177, 0.0165518336, 0.0247697644, 0.0566827096, -0.0057546827, -0.0242329929, 0.0001223684, 0.0062360405, -0.0079356162, -0.0140117304, 0.0075960839, -0.0167704001, 0.0175331607, -0.0043638293, -0.0034438474, 0.0075559374, -0.0222422108, -0.0265136939, -0.0718519092, -0.0170802828, -0.0083419979, -0.0000837875, -0.000840086, -0.0024219044, 0.0364465863, 0.0398528539, -0.002213957, 0.0294233821, -0.0057157446, 0.0113463914, 0.0567492694, -0.0183035284, 0.0215870198, -0.032030616, 0.0232818071, -0.0300106946, 0.0371642374, 0.0438765958, 0.0099744974, -0.043828886, 0.0480762944, -0.0486888029, -0.0060668881, -0.0031222217, -0.0538284369, 0.0358685404, 0.0108690867, 0.011127322, 0.0477751531, 0.0220959447, 0.0564867705, 0.0144499689, -0.0112428525, -0.0799785107, 0.0168641694, -0.0566416048, 0.0107012754, -0.0171068441, -0.0242157932, -0.0170345884, 0.0746976882, 0.0202863812, 0.0128194736, -0.0876672938, 0.0343791433, 0.0202914421, -0.0009627232, -0.0233970359, -0.0327492505, 0.0246468354, 0.0525279753, -0.0381146297, -0.0283013731, 0.0987888575, -0.0177162923, -0.0014758134, -0.0246243645, -0.0248380546, -0.0333299898, 0.0229911711, -0.0666285008, -0.0054599787, 0.0008671614, 0.0215450842, 0.0193812679, -0.0456042178, 0.0048534158, -0.0305041522, 0.0373219661, -0.015983047, 0.0261667278, 0.0482954942, -0.0456876419, -0.0256224237, -0.0499740355, -0.0482619181, -0.0134108113, -0.0215595495, -0.0120326765, 0.0325904042, -0.0007155114, -0.01148507, -0.0231515095, -0.0050047911, -0.0447292663, -0.0035696833, 0.0007223034, 0.0349439234, 0.0113824503, 0.0376981124, -0.0296751764, 0.0308255143, 0.0440653637, -0.0401035659, -0.0344209448, -0.0537892208, 0.0265271552, 0.0017574618, 0.049276419, 0.0399515554, -0.0294962637, 0.0653121993, -0.0419065878, 0.0094710356, 0.1220458671, 0.0162059087, -0.0605792776, 0.0165452827, -0.0244479068, 0.0132127525, 0.0383458138, 0.0022570116, -0.036419563, -0.0674414411, -0.0044289571, 0.0377721414, -0.025690848, -0.0239449963, -0.0173621066, -0.1434026808, 0.0352383107, -0.0220380612, 0.0220117755, -0.0417837836, -0.063728638, -0.0000801078, 0.016049359, 0.0066576703, -0.0286653321, 0.0198133811, -0.0085912542, -0.0004145677, -0.0029531226, -0.0687527508, 0.0553243719, 0.008540567, 0.0169581175, 0.0123202363, 0.0565950908, 0.0295705758, -0.0402434692, 0.0591124222, -0.0435010754, 0.0192031935, -0.0430746265, 0.0610966124, -0.0395337604, 0.0020113087, -0.0523192547, 0.0074501634, -0.0589716546, 0.0020082202, -0.0263276994, 0.0555323847, -0.0346875712, -0.0270906072, 0.0020739639, 0.0301123355, 0.0306026246, 0.0771779791, 0.0197309479, 0.0056606662, -0.0302721132, -0.0392774753, -0.0143129686, -0.0473364741, -0.0371504501, 0.0019622308, 0.0162794534, -0.0197916776, -0.0352155752, -0.0506072678, 0.0217089802, 0.0267949402, -0.0357037336, -0.0225752573, 0.0173381735, -0.0440126806, -0.0402112231, 0.0388911031, 0.0019353348, 0.0217225458, 0.0332491435, -0.0194816403, 0.0283384919, -0.0230185818, -0.0190146249, -0.0004078331, -0.0199253596, -0.0492244661, -0.0511125922, 0.0578521863, 0.016709825, 0.0504156388, -0.0085593928, -0.0135285864, 0.0507809296, 0.0461673327, -0.0406924523, -0.0005680277, 0.0349852853, 0.0580333099, 0.0203974657, 0.0449601971, -0.0270682573, 0.0102219451, 0.0224663056, 0.0198048148, 0.002435999, -0.0004234603, 0.0141717391, -0.0064232126, 0.0288268551, 0.0292766187, -0.0243657064, -0.0483133681, 0.0101323863, -0.0310411118, -0.0297915228, -0.0587342158, 0.0015311103, -0.0194131061, -0.0116964122, -0.0553444065, -0.0356835276, -0.0270593558, 0.0329334475, -0.0235856045, 0.0655490234, 0.0356646515, 0.0402958691, -0.0018903733, 0.005247545, -0.0258175191, -0.0011753321, 0.0023185161, 0.0104421172, -0.0226333253, 0.0526868701, 0.0319763832, 0.0251355525, -0.0344976112, -0.0217959546, -0.0102646369, -0.0322664827, -0.0094993068, -0.0406748801, -0.0136330994, -0.0192217249, 0.0637617707, -0.0116378581, 0.0204495825, 0.0454268791, 0.0501457788, -0.0081876563, -0.0337101705, 0.0355468988, 0.0094393613, -0.0178563725, 0.0115038948, 0.0515485555, -0.080403544, 0.0337405689, -0.0091066537, -0.0355793014, -0.0358432084, -0.014975966, 0.0357549116, 0.0099893454, 0.0185779035, 0.0289407279, -0.0264810827, -0.0755098984, 0.0045114728, -0.0301867984, -0.0140494732, 0.0153046697, -0.006686864, 0.0655344427, 0.0153672248, 0.0274159573, -0.0420043841, -0.0042649633, -0.0650948286, -0.0075533483, -0.0462191254, -7.329977226e-33, -0.0109404027, -0.0553252771, -0.0075156698, -0.0322316326, -0.0241219159, 0.0374048501, -0.0995360762, -0.0294330902, 0.0250045583, 0.0698522627, 0.0022478045, 0.0360234343, 0.0084356079, 0.0157255847, 0.00634631, -0.0177862849, 0.0470167547, 0.0176231675, -0.0168956723, 0.0137853557, 0.0488708727, -0.002053231, 0.0127010467, -0.1039021164, 0.0416520908, 0.0115227774, -0.0418747701, 0.0537072308, -0.0083506694, 0.0268921014, -0.0164375696, 0.0347150601, 0.0265233591, -0.0185339972, 0.014601755, 0.0421542302, -0.1020674035, -0.0241489913, 0.0111706164, -0.0078636948, -0.0523367375, -0.0379736759, 0.0239485558, 0.0182958264, -0.0180024169, 0.0058311746, 0.0145057607, -0.004018975, 0.058682926, -0.0696775913, -0.0182557274, 0.0022018738, -0.0441353209, -0.0063445079, 0.0195667315, 0.037939392, -0.00756254, 0.0508435741, -0.055018384, 0.0252163112, -0.0560894199, -0.0408131443, 0.0416033939, -0.0529500693, -0.0085452078, 0.0915337577, 0.0081885578, 0.0057552117, -0.0605486594, 0.0341250338, -0.0245746579, 0.0300144423, 0.0242415052, 0.0265293866, 0.0336423256, -0.0274969134, -0.0576400124, 0.017612787, 0.0127982358, 0.0238874853, 0.1067067087, -0.0208678171, -0.043010205, -0.0346792266, 0.0041656913, -0.0334371887, -0.0510828607, -0.0339024253, 0.0133496514, 0.0357922912, -0.0254075043, -0.0249176044, -0.0072339918, -0.0353972912, 0.008614812, 0.047576461, 0.0037092359, -0.0083098169, 0.0134428535, -0.007430864, -0.0255046431, -0.0150064426, 0.0086491546, -0.0007190019, 0.0144767724, 0.0276276842, 0.0342605747, 0.0255714376, -0.0619744509, -0.0178625025, -0.0714701116, 0.0269226804, -0.0414462797, 0.0568077043, -0.003347523, 0.0408268534, -0.0449654609, 0.0824593157, -0.0377635807, 0.0654802024, 0.0071205623, 0.014507154, 0.0147088692, 0.0228426885, -0.0242581721, -0.0462451801, -0.0031283607, -0.076891996, -0.0119861178, -0.0437945388, -0.0147613268, 0.0246543605, 2.931e-7, 0.007727846, 0.0886767805, 0.0122856861, -0.0083491439, -0.0004138049, 0.0668984503, 0.0107631078, -0.0289096255, 0.0011365709, -0.0254447833, 0.0019532789, 0.0695833266, 0.0456773639, 0.0602916926, -0.0291534103, 0.0237253215, -0.0107840123, -0.0460754521, -0.00846704, 0.0216129832, 0.0984469876, 0.0636808574, 0.0317052826, -0.0162985846, 0.0018958225, -0.0044587869, 0.0536852144, -0.0013230514, -0.0060518435, 0.0017704106, -0.013082183, -0.0200634468, 0.0034083857, 0.0128826126, 0.006094873, 0.0025493968, -0.0404026844, 0.0805147886, -0.0118254041, -0.0820679069, -0.0085526314, 0.0302653108, 0.0127984183, -0.012130294, 0.068494007, -0.0860691816, -0.0823923126, -0.0070752273, -0.0110271089, -0.0102836844, -0.0150946723, 0.0192460641, -0.0174387172, 0.0022480895, -0.0029145593, -0.0113928076, -0.036459621, -0.1009544656, 0.006980252, -0.0176232681, -0.0334333442, -0.026539756, 0.015879849, 0.0477261171, 0.0625461787, -0.0421281084, 0.0323008522, 2.814737983e-34, 0.0531152487, -0.0012755258, -0.0010288102, 0.0204517078, 0.0814958066, 0.0300800279, -0.0284962151, -0.0086229937, 0.0639244765, -0.0549772792, -0.0148022175 ]
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.
Open foundation models for Azerbaijani language: 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.0147234919, 0.0566831268, -0.0054346514, 0.0331928469, -0.024036482, 0.0318288319, 0.0229526535, -0.0095109669, -0.005655379, 0.0099315699, 0.0020156258, -0.0924847573, 0.0191121735, 0.0135316802, 0.0066956477, -0.00894251, 0.0207004584, -0.0453367792, -0.0359526463, -0.0175660215, 0.0373811238, 0.0408341587, -0.0085222535, 0.0110566271, 0.005385899, -0.0010194904, -0.0498092808, 0.0073006963, -0.0182023793, -0.0062538595, -0.0338053294, 0.0099152084, -0.001955271, 0.051347781, 0.0000017475, -0.0454288982, -0.0576416887, -0.0364493132, 0.0193802025, -0.0083662029, 0.0275235642, -0.0550084822, -0.0221531037, 0.0613473244, -0.0239038151, -0.0408806801, 0.0589565039, -0.0172953606, 0.0677433312, 0.0364483856, -0.0017269728, -0.0731099918, 0.0072236373, -0.0082254913, -0.0219150279, -0.0414364897, 0.0309837814, 0.0067553543, -0.0586830117, -0.019679023, -0.0314864367, 0.0102106351, 0.0207508802, -0.0005685613, 0.0004109023, 0.0270089991, -0.0364215672, -0.0578988381, 0.0237562191, 0.0723952875, -0.0084105572, -0.0231547784, 0.0273404028, 0.0470423065, -0.0423115008, 0.0185530689, -0.0732528046, 0.0785052404, -0.025192827, 0.0207183845, 0.0569402464, 0.0095808804, -0.009720942, 0.0138782868, 0.0095405355, 0.0608418994, 0.0277159456, -0.0210036729, -0.0088613247, 0.0042668064, -0.029241601, -0.035974402, 0.0289770532, 0.0201115701, -0.0026847608, 0.0283703078, -0.0457651541, -0.0515368544, 0.028235333, -0.0478736944, 0.0580415986, 0.0539762676, 0.0134391822, 0.0117479861, -0.0621571653, 0.0031064083, 0.0056117536, -0.0211805683, -0.0396158695, -0.038593255, -0.0276521556, 0.0117655043, -0.0926435813, -0.0109272767, -0.0604531467, 0.0249435529, -0.0134936627, 0.0312307458, 0.0330202654, 0.048294045, -0.0134805087, -0.0129592028, -0.0450918078, 0.0065764412, 0.0230493583, -0.0070022894, -0.0367572978, -0.0027476035, -0.0216872804, -0.1016549543, -0.0044622519, 0.0108726993, 0.0183490161, 0.0285640154, -0.0222228635, 0.0054753451, 0.0151094543, -0.0072330465, -0.030396916, -0.014214986, -0.00359309, -0.0474259481, -0.0222158358, -0.0512372814, 0.0246092062, 0.035098087, -0.0041310284, -0.0333214439, -0.0101417201, 0.0224676058, -0.0115205767, 0.0309007373, -0.0111596044, 0.0110737188, 0.0391827449, -0.01788955, 0.0685956851, 0.0669935867, 0.0264735669, 0.0226296615, 0.0481491201, -0.012936445, 0.0133533068, 0.0467168726, 0.0343045257, 0.0412137099, 0.0371318012, 0.0298776124, -0.0028932989, 0.0790146291, 0.0195860267, 0.0655303523, -0.0136786774, -0.0141767068, 0.0761119872, 0.0374222472, 0.0142437099, 0.0688543245, 0.0565126725, 0.0318791606, 0.015805183, -0.0148563543, 0.0293586701, -0.0093417941, -0.0200218856, 0.0369190536, -0.0094972793, 0.052713763, -0.0578386411, -0.0080564329, -0.0168792829, -0.047263097, -0.0061783078, -0.0364836343, 0.1041022241, -0.0179610997, -0.0473933071, -0.0155669609, 0.0227486603, -0.0485335849, 0.0655770451, -0.0441101193, 0.0579406023, 0.0352447443, 0.0686042532, -0.0031500075, 0.0168089792, -0.0422671027, 0.0034893895, 0.0454170667, 0.0081910724, -0.0568663925, -0.0037093661, -0.0637685955, 0.0209205691, -0.0112483958, 0.0032300907, 0.0204366986, -0.0513922088, 0.0448769778, 0.0252257138, -0.0403312631, 0.0076778331, 0.0327203125, -0.0263613015, 0.0227480195, -0.0058549559, -0.008673924, 0.0200642906, 0.015093863, 0.0073531084, -0.0144747477, 0.035001155, -0.0082240477, 0.0028910725, 0.0130573381, -0.0373717993, -0.0243421774, 0.013060566, -0.0200887918, 0.0421698317, 0.0178907514, -0.0393468142, -0.0433918014, 0.0853921622, 0.0199741945, -0.0046464317, -0.0668217018, 0.0318285711, -0.004627795, 0.0293405037, 0.0048785433, 0.0418987274, -0.0236392561, -0.0105589703, 0.0043383236, -0.0019435217, 0.0405048579, -0.0193954017, -0.0025386605, 0.0717903525, 0.0130713247, 0.0080256546, 0.0006719267, -0.0199122969, -0.0314609334, 0.0219015609, -0.1030176654, 0.0357192233, -0.0342745706, 0.050554391, 0.0289771948, 0.0337551124, -0.0003335821, 0.0284628421, -0.0404691957, 0.0109566292, 0.0591456778, -0.0249949992, -0.0059502665, -0.0226984508, -0.0177720729, -0.0158893205, -0.0124412449, 0.0326836519, 0.0360908285, -0.0324373916, -0.0054967147, -0.0386968143, -0.0026202546, -0.0324630365, 0.036057841, 0.0060313325, -0.0523922667, -0.0018905272, -0.0051322863, 0.0106405271, -0.0050834324, -0.0138821462, 0.0316300131, 0.0469474569, -0.0258003306, -0.0003992707, -0.0436159894, -0.0668127313, -0.0230640732, -0.0147626754, -0.0141812973, -0.0542758442, 0.0592449829, 0.0054420414, -0.0119351894, -0.0690020397, -0.0036187838, -0.048810944, 0.008566658, -0.0252053887, 0.0168127436, -0.0062179696, 0.049405586, -0.0527551547, -0.0062511652, 0.0268620476, -0.0654369965, -0.0002364767, -0.0210410766, 0.0252050553, -0.0763670877, 0.0206367467, -0.0053000636, 0.0054466631, -0.0062745181, 0.0252877027, -0.0325312689, 0.03182742, 0.0191825163, -0.0259564873, 0.0209518839, -0.0654094368, 0.0134548759, -0.0006734779, 0.0014195998, -0.0318719707, -0.0324578993, -0.0000070214, 0.0121401371, 0.0052363309, 0.0087220976, -0.0045052264, 0.0349091105, -0.0134930974, 0.0457380451, -0.0101902587, 0.0254113898, -0.0342266932, 0.0492187738, 0.0424394161, -0.0394643843, 0.0059419004, -0.0603333935, 0.0358977355, 0.0349035375, 0.0234362353, -0.0417057015, -0.0202306136, -0.0005121871, 0.0303242169, -0.008467203, -0.0199550744, -0.0071943323, -0.011391216, -0.0250562914, -0.0257473849, 0.1101957411, 0.0146395685, 0.0393273719, 0.0209071357, -0.0293578282, 0.031474635, 0.0215468071, -0.0047573871, -0.0984105095, -0.0060074166, 0.0100975493, 0.0332914479, 0.0051726303, -0.0221973676, -0.0026166644, -0.1262637973, -0.0211217348, 0.015148622, -0.0527746007, -0.013220286, -0.0228738394, 0.0148655511, -0.0302294828, -0.038923312, 0.0258747023, 0.0068388716, 0.0551829822, 0.0454245135, -0.0267089698, -0.0858391598, -0.0298764165, -0.0307160448, 0.0195053145, 0.0468774959, -0.0025766047, -0.0124007044, -0.0144930715, -0.0197329782, -0.0826925635, -0.0586950146, -0.0205225199, 0.0050695115, -0.0035475686, 0.0051711104, 0.0112532293, 0.0230604615, -0.0596009232, 0.0174952708, -0.0086486721, 0.0496662632, -0.0086938525, -0.0182093792, 0.0356432684, -0.015679406, 0.0220784396, 0.0574773438, -0.012208689, -0.0190202538, -0.0236298945, 0.0024115148, -0.0193755366, -0.0395453982, 0.0060192919, 0.0507321991, 0.0251013283, -0.0522258468, -0.0582142733, -0.0307042226, 0.0411638059, 0.0062873624, 0.0122152036, 0.0302771498, 0.0093568051, -0.0308409147, 0.0028050358, 0.0196431261, -0.0070500574, -0.0219027381, -0.0625775382, -0.0358936191, 0.0368308574, -0.0681773573, -0.012795954, 0.0498430207, -0.0366780721, -0.031067444, 0.0374954194, 0.0317802243, 0.0296552572, 0.0060181995, 0.004759755, -0.0456865653, 0.0070394236, -0.0221871193, -0.0344207734, 0.0386602059, -0.0211338755, -0.0159297641, 0.0059154327, 0.0436056778, -0.0092353364, 0.0254011378, -0.0166331623, -0.0116309822, -0.0150712989, -0.0152501268, -0.0004498611, -0.0142763359, 0.0452859662, -0.0414113924, 0.0093294354, -0.0603388734, 0.0050686197, -0.0344630107, 0.006439982, -0.0339131467, 0.0040078643, 0.0284290109, 0.0052516642, -0.0314699449, 0.0224238299, -0.0295184869, 0.0146369347, -0.0252823085, -0.0203847867, -0.000763057, 0.0244946331, 0.0048736641, -0.0006136843, -0.0252420604, -0.003127127, -0.0336430818, 0.0053961431, -0.0284474418, 0.0396276414, -0.0163332298, 0.0156271793, 0.074903436, 0.0382730924, -0.0024499164, -0.0219367743, -0.0474552661, 0.0138473557, 0.0388901271, 0.0063718599, 0.0962288305, -0.0169023741, -0.0048339106, -0.0444325581, 0.0773927197, 0.0222273376, -0.0635447353, 0.0281993467, -0.0303528029, -0.0261738133, 0.0159781389, 0.046960704, 0.0395931639, 0.0407402776, -0.0255467799, 0.0166145526, -0.0184992384, 0.0063712886, -0.0164799541, -0.011023175, -0.0386522189, 0.0061625191, -0.0650240555, -0.0323865637, 0.0073132855, 0.0311515275, 0.0200994965, -0.0053747213, 0.0876566842, 0.0392948911, -0.0067192335, 0.0181257036, -0.0572622158, -0.0071686748, -0.0725726783, -0.0387419499, 0.0194825269, -5.779605237e-33, -0.0313755646, 0.0253061578, 0.0080179814, -0.0436548293, 0.0064639617, -0.0289883129, -0.021118274, 0.0075024031, 0.0024495674, -0.0335076191, -0.0164610669, 0.0165523961, 0.009535267, 0.0088699311, 0.0017738034, -0.0021612756, 0.0610404536, -0.0174053181, -0.0060030511, 0.0524278879, 0.0740410611, 0.0273982454, 0.0816859677, -0.0385893993, -0.004670776, -0.0547951981, -0.0151020065, -0.0153431864, 0.0252787936, 0.0312895775, -0.0232080109, 0.0588073097, 0.0211515371, -0.0184536651, -0.0028304481, -0.0244141966, -0.0759472027, 0.0344838649, 0.0027947701, 0.0497557856, -0.0921895951, -0.0125353066, -0.0060725347, -0.0019690623, -0.0047504329, 0.0491794385, 0.0046909479, -0.038270995, -0.0008316355, -0.0158620141, -0.0555468872, 0.0330065563, -0.0326217487, -0.0228772815, 0.0400671996, 0.0651029274, 0.0003280603, -0.0083499784, -0.0029119407, -0.0014857547, -0.0478282534, 0.0188684408, 0.1108488366, 0.0107587324, -0.0007418178, 0.0302198157, -0.041239161, -0.074691616, -0.0358085521, 0.0297526605, 0.0056737517, 0.0118762832, 0.0100836968, 0.0771407932, 0.0132768042, -0.0542970039, -0.1161633581, 0.0375019833, 0.0336815938, 0.0612396002, -0.000947701, -0.0276944209, 0.0123893265, -0.0378277637, -0.0178742614, -0.0616796874, -0.0203437563, -0.013375951, 0.0285702646, -0.0088721011, -0.0301982518, -0.0026538798, 0.0454506688, -0.0202109795, 0.0137376795, 0.041116897, -0.0671572685, 0.0236005448, -0.030353779, 0.060322009, -0.0557494983, -0.0809990019, 0.0027540501, 0.0038044997, 0.0017791406, 0.0082902666, 0.0106239067, 0.0206995215, -0.025591908, 0.0607045963, -0.0609660521, 0.0881268084, 0.0148713905, 0.0479998998, 0.0124679469, -0.011346071, -0.0182332806, 0.0931576267, 0.0322936773, -0.0031706276, -0.0015099745, -0.069843322, 0.0407773517, -0.0107820285, -0.0274813995, 0.0491313934, -0.0102050398, -0.0118619362, 0.0459915698, -0.0231710821, -0.0033006379, 0.0191781167, 2.573e-7, 0.040513292, 0.0139123714, 0.0279812589, 0.0114281829, 0.0437213294, 0.0193365794, -0.0080819773, 0.0483906493, -0.0341241583, -0.0001257822, 0.0191794392, 0.0321077295, 0.1008628234, 0.0103280228, -0.0455690809, -0.0214001518, -0.0432413295, 0.0545896962, -0.0595050454, 0.0313296355, 0.0443165824, 0.0920789763, -0.0142788673, 0.0034505674, -0.0229885317, -0.0080949599, 0.0872877464, 0.0102731017, -0.0235905778, 0.0224184971, 0.0105821649, 0.0584991053, -0.0244322121, -0.0084315976, -0.0086423289, 0.031312786, 0.0179231595, 0.0314190164, 0.0086891195, 0.0107783806, 0.0652385056, -0.052255407, -0.0275509171, -0.0680925176, 0.1025241837, 0.030426193, -0.0474296659, 0.0068173232, -0.0337443016, -0.0153306359, -0.0291196164, -0.0371734723, -0.0325073302, 0.0168296359, 0.0136356624, -0.0794242397, -0.0046123373, -0.0163161736, 0.0022001576, -0.0316386111, -0.0149112344, -0.0521028265, -0.002985874, 0.0440743379, 0.0061807912, 0.0097444421, -0.0117331268, 1.834306818e-34, 0.0498269387, 0.0160957109, 0.0038919954, -0.0179537572, 0.0150907813, -0.0574016199, 0.0038839837, 0.0063069346, -0.0146238431, -0.0568934865, -0.049695801 ]