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/2402.01620v2
http://arxiv.org/pdf/2402.01620v2
MAGDi: Structured Distillation of Multi-Agent Interaction Graphs Improves Reasoning in Smaller Language Models
2024-02-02T18:35:14
2024-06-07T18:13:16
Justin Chih-Yao Chen, Swarnadeep Saha, Elias Stengel-Eskin, Mohit Bansal
cs.CL
cs.CL
Multi-agent interactions between Large Language Model (LLM) agents have shown major improvements on diverse reasoning tasks. However, these involve long generations from multiple models across several rounds, making them expensive. Moreover, these multi-agent approaches fail to provide a final, single model for efficient inference. To address this, we introduce MAGDi, a new method for structured distillation of the reasoning interactions between multiple LLMs into smaller LMs. MAGDi teaches smaller models by representing multi-agent interactions as graphs, augmenting a base student model with a graph encoder, and distilling knowledge using three objective functions: next-token prediction, a contrastive loss between correct and incorrect reasoning, and a graph-based objective to model the interaction structure. Experiments on seven widely used commonsense and math reasoning benchmarks show that MAGDi improves the reasoning capabilities of smaller models, outperforming several methods that distill from a single teacher and multiple teachers. Moreover, MAGDi also demonstrates an order of magnitude higher efficiency over its teachers. We conduct extensive analyses to show that MAGDi (1) enhances the generalizability to out-of-domain tasks, (2) scales positively with the size and strength of the base student model, and (3) obtains larger improvements (via our multi-teacher training) when applying self-consistency -- an inference technique that relies on model diversity.
MAGDi: Structured Distillation of Multi-Agent Interaction Graphs Improves Reasoning in Smaller Language Models: Multi-agent interactions between Large Language Model (LLM) agents have shown major improvements on diverse reasoning tasks. However, these involve long generations from multiple models across several rounds, making them expensive. Moreover, these multi-agent approaches fail to provide a final, single model for efficient inference. To address this, we introduce MAGDi, a new method for structured distillation of the reasoning interactions between multiple LLMs into smaller LMs. MAGDi teaches smaller models by representing multi-agent interactions as graphs, augmenting a base student model with a graph encoder, and distilling knowledge using three objective functions: next-token prediction, a contrastive loss between correct and incorrect reasoning, and a graph-based objective to model the interaction structure. Experiments on seven widely used commonsense and math reasoning benchmarks show that MAGDi improves the reasoning capabilities of smaller models, outperforming several methods that distill from a single teacher and multiple teachers. Moreover, MAGDi also demonstrates an order of magnitude higher efficiency over its teachers. We conduct extensive analyses to show that MAGDi (1) enhances the generalizability to out-of-domain tasks, (2) scales positively with the size and strength of the base student model, and (3) obtains larger improvements (via our multi-teacher training) when applying self-consistency -- an inference technique that relies on model diversity.
[ 0.0226944853, 0.0312068034, -0.0113660619, 0.0567800812, -0.0329687633, -0.0015925973, 0.0406379402, -0.0314631723, 0.0289232153, -0.0343291461, -0.0116810743, 0.0057998518, -0.0137578696, 0.000858457, 0.0302886404, -0.0562180169, 0.0330669694, -0.0520930775, 0.0018231131, -0.0349331684, -0.0151373334, 0.0043546637, -0.0120037412, 0.0433342122, -0.0123658273, -0.0298302602, -0.0356906019, -0.0144800795, 0.0112844137, -0.0107906405, -0.0311278328, 0.0521667302, 0.0731891543, 0.0064186975, 0.0000021058, -0.044839222, -8.437e-7, -0.0093071777, -0.0449209176, -0.0045642336, 0.0115638664, -0.0036046531, 0.0330942348, 0.0031573712, -0.0420298465, -0.0249537993, 0.013873253, 0.0007100611, 0.076688908, 0.0649945736, 0.0134520316, -0.0694579706, 0.0089217024, -0.0025968351, 0.0106639974, -0.0440089926, 0.0427692346, 0.073259078, 0.0223870948, -0.017654324, -0.0653111413, 0.0154673224, 0.0730708241, -0.0190348439, 0.0033861154, 0.0494606569, 0.01326341, -0.0084949471, 0.0119956648, 0.0877679512, 0.0116698416, 0.0071462719, -0.0408510827, 0.0073436825, 0.0385143086, 0.0405396596, -0.0629077852, 0.0066305296, -0.0025804578, 0.0081535159, -0.0008747256, -0.0410614759, 0.0299999453, 0.0197959822, -0.0451911725, 0.0763443932, -0.0228078403, -0.0117562125, 0.0262289979, 0.0125096729, -0.036732778, -0.0323453657, 0.0001173895, 0.0516114272, -0.0218168348, 0.0242196545, -0.0272739977, -0.0037782353, -0.0214994848, -0.0107248612, 0.0128604965, 0.0290842541, 0.0227441825, 0.0524044931, -0.0127156805, 0.0691000223, 0.0132635599, 0.0835964084, -0.024842687, -0.0119149145, -0.0688747689, 0.0033652449, -0.0280920584, 0.0828070268, -0.001631818, -0.0131204212, -0.0298159048, 0.0165008679, -0.0340155885, 0.0160194952, 0.0312427655, 0.016062377, 0.0002871405, -0.029516479, -0.034643352, 0.0840362012, -0.0460614972, 0.0260143839, 0.0336874872, -0.0453249142, -0.0393199138, -0.0008139693, 0.0133529846, -0.0175235998, -0.00183446, 0.0612296425, -0.0284605157, -0.0167364031, -0.0215380862, -0.0285896491, 0.0264588892, -0.0847955197, 0.0079117306, -0.0874862447, 0.0553821437, -0.0019889048, -0.0070393011, -0.0709033161, 0.022385506, -0.0332768746, -0.0243847929, 0.0780809298, 0.0056412076, 0.0133666517, -0.0003301712, 0.0148760583, -0.0670400709, 0.0736647174, 0.0178425051, -0.0105706528, 0.0185097009, -0.0135943685, -0.018348705, 0.0212644879, 0.0210134238, 0.0256069787, 0.0264724027, 0.000626167, -0.031099949, 0.0474261977, 0.000156413, 0.038254492, -0.0749276802, -0.0285776556, 0.0470673703, 0.0533134937, -0.002536098, -0.0231979601, 0.0323572792, 0.0223480705, 0.0161802713, 0.0197711196, -0.0819152743, 0.0240053572, 0.004524305, 0.005288898, 0.0036861023, 0.0125142727, -0.0295545626, -0.0371051691, 0.0072342595, 0.000471271, 0.0441952348, 0.0157662369, 0.0714170337, -0.0006973681, -0.03272653, 0.0426773988, 0.0480168313, -0.0405635871, 0.0223117974, -0.0530113839, 0.015174197, 0.0519992262, 0.0484971777, 0.0057217381, -0.0457344949, 0.0005128295, 0.0175356809, 0.0227374528, 0.0193917044, -0.0349625759, 0.010295419, -0.061920397, -0.0413041376, -0.0197863914, -0.010486492, 0.0219250564, 0.0284354575, -0.0058935932, 0.0028983462, -0.0629047155, 0.0175059605, 0.0112579847, -0.0444904976, -0.0119762924, -0.0475681424, 0.0026812868, 0.0287507493, 0.0066369968, 0.0044890884, -0.0045284471, 0.0095166508, -0.0052712569, -0.0151050519, 0.0046395841, -0.0426685326, -0.1132073477, 0.0409763008, -0.0145354215, -0.0336700082, 0.0091708964, -0.0563130118, -0.0317661427, 0.0610920824, -0.012492395, 0.0424148738, -0.0168343317, -0.0020651938, -0.0082624154, -0.0248005483, 0.0273610465, 0.0796448961, -0.0265806653, -0.0352462903, 0.0035027023, 0.0477935709, -0.0149662765, -0.0309185125, 0.0286897775, 0.021382859, -0.0007625044, 0.0240014791, -0.0089145284, 0.0175770335, -0.0491941981, -0.0088275969, -0.0368735194, -0.0234483834, -0.0075285812, 0.0184277762, -0.0006465031, -0.0123533597, 0.0293572322, -0.0030180076, -0.0185938794, 0.021625815, -0.0017031898, 0.0278937705, -0.0055202199, 0.0025520825, -0.0425297543, -0.0080309054, -0.0380881391, -0.0263011567, 0.0683465078, 0.0189744998, 0.0183006022, -0.0292255487, 0.0123872319, -0.0589009225, 0.0296690855, -0.025624644, -0.0222080443, 0.0450181589, -0.0257608127, 0.0125688864, 0.1047217697, -0.0367992744, 0.0785591304, 0.0428130478, -0.03117905, -0.0784584954, 0.0290241055, -0.0233145356, 0.009088208, -0.0717388988, -0.0002586733, -0.067923896, 0.028653523, -0.010189414, 0.000142648, -0.0666027367, 0.0054624761, 0.0232074298, -0.0252326373, -0.011041102, -0.0236204285, 0.0057184217, 0.0012911411, -0.0386093259, 0.0044360487, 0.0990761667, 0.0255809333, -0.0173608027, -0.0229509231, 0.0088644, -0.0211122669, 0.0721486509, -0.000119865, -0.0043378551, -0.0187539104, -0.018546164, -0.078836292, -0.0355206132, 0.0621806979, -0.0047998335, 0.0429395549, -0.0616873503, 0.0062140008, 0.0068569691, -0.0399714448, -0.0252289977, 0.0157680344, -0.0286571477, 0.04276428, -0.0115801217, -0.0212493371, -0.0459822118, -0.0195580404, -0.0037726983, -0.0183405317, -0.0265574027, -0.0010860054, -0.0209921524, 0.0255604442, 0.0205575917, 0.0159769971, 0.0086888801, -0.0932507887, 0.0568378344, 0.0629549399, 0.0452331863, -0.0646826252, -0.0105858278, 0.0115423333, -0.0166667923, 0.0015966321, 0.0057163471, 0.0168918762, 0.0622897409, -0.0726368055, 0.0007712447, 0.1070184857, 0.0024076868, -0.0070644454, -0.0012053406, -0.029941773, 0.0629289523, 0.0101680122, -0.0017788826, -0.0530582853, -0.056559708, 0.0114591494, 0.0004994139, 0.049562525, -0.0584950298, 0.0159754138, -0.110288009, 0.0090007782, 0.0478465036, -0.0124545312, -0.0128335422, -0.0572055168, -0.0063066171, -0.0227269344, 0.0087987529, 0.020447677, 0.0185531285, 0.0062260656, 0.0053934399, 0.01427479, -0.0382812805, 0.0303900223, -0.0248642117, 0.0203675833, -0.0031368292, 0.0043583186, 0.0105037326, -0.0610461459, 0.0484432727, 0.0435284078, 0.0034566973, -0.012675846, 0.047231175, -0.0182429608, 0.011917091, -0.0108145429, 0.0417950004, -0.0411413088, -0.0190773513, 0.0225148946, 0.0962254778, 0.0048139719, -0.0533897728, 0.0059617823, 0.0013143158, -0.0189688914, 0.0559939034, 0.0402879901, 0.0030411629, -0.0626640841, -0.0648314282, -0.0398460776, -0.0442149341, -0.0229457822, 0.031985458, 0.014490271, 0.0075667868, 0.0045241555, -0.0603516139, 0.058407221, 0.0307213124, -0.0190117061, -0.0046610306, 0.0506634414, 0.0236216113, 0.0016518728, 0.0154715125, -0.0465385877, 0.0061909878, 0.0207195114, 0.0070993765, -0.0021754613, 0.0006297023, -0.0147017492, 0.0021594404, -0.0862156078, -0.0871210545, -0.0314627141, 0.0441060849, 0.0206479002, 0.0852504075, 0.0131715508, -0.0015287363, 0.0366184376, -0.0201569144, -0.015338202, 0.0038307784, 0.0445765555, -0.0414223857, 0.0355725661, 0.0547473766, -0.0417487547, 0.0093115335, 0.0047907187, 0.0640825555, -0.0612791069, -0.0098980591, 0.0082407873, 0.0220892299, -0.0147920167, 0.0392976888, -0.0039380994, -0.0417316891, 0.0170356687, -0.043086499, -0.0188638587, -0.036382053, 0.007295365, 0.0211070869, -0.0067723175, 0.0464433841, -0.0294557214, 0.01710294, 0.0211635325, 0.0294852573, 0.0215158369, 0.0053833127, 0.0013346015, 0.0535352156, -0.0146517716, -0.0254950039, -0.0091233682, 0.0084399702, 0.0230838601, -0.0004985733, 0.0476366207, 0.0445702486, -0.0076643433, -0.0007719831, -0.026043931, -0.0686315149, -0.0529246703, 0.0009742263, 0.0227133874, 0.0260740798, 0.06346789, 0.0201641079, -0.0374829322, 0.0074657523, 0.0079462975, 0.0605088733, 0.0064870138, -0.0573088937, 0.050335262, 0.0298195165, 0.0238051042, -0.0182090569, 0.0527085327, -0.0032684833, 0.0428593531, -0.0101961335, 0.0093239006, -0.0361802951, -0.0658917874, -0.0118436543, 0.037185546, 0.0151162464, 0.0378289782, -0.0545715243, -0.0774018094, -0.0443826951, 0.0206822176, -0.014046602, -0.0043892711, 0.0331877172, 0.0426229909, -0.0180815775, -0.0563197546, -0.0024178736, 0.0315228142, -0.0372877643, -0.0248366799, 0.0057231099, -6.149915345e-33, -0.0370479673, -0.0513991378, 0.0528110564, -0.0033291746, -0.0292671919, -0.0225436054, -0.053338889, -0.0096756816, -0.0637577027, 0.0380353034, 0.0165795479, 0.0295464173, -0.0040052533, 0.0173478052, 0.0058125951, -0.0143654747, 0.0281091575, 0.0172893405, 0.001346969, 0.0194576513, 0.0175429564, 0.0051578954, 0.0583422445, -0.0475533232, 0.006492984, -0.0022777412, 0.0052815177, 0.0447721817, -0.0520261079, 0.0495861322, 0.0215687305, 0.0529338233, 0.008844926, -0.0417727977, -0.0164240301, -0.0171191134, -0.0721050948, -0.0645035654, 0.028723998, 0.0231402591, -0.0714088827, -0.0353506878, 0.0289834682, 0.0214754753, 0.0048861876, -0.0750966072, 0.0372964256, -0.0038102744, -0.0238314141, 0.0595484562, -0.0313842371, 0.0109516634, -0.0383001901, -0.0224066637, 0.0039439863, 0.030867964, -0.0047125411, -0.0187368691, -0.0492681041, 0.0266647432, 0.0251483694, -0.0149355847, 0.0548471063, 0.0235734787, 0.0232364722, 0.0587446168, 0.0086962776, -0.0039633163, -0.0444161668, -0.032583952, 0.0218253899, 0.0922697857, 0.0178756937, 0.0537950024, -0.0166142229, -0.0014013477, -0.0893208161, -0.0025969078, 0.0317127183, 0.0632286146, -0.0079076812, 0.0017747273, -0.0108853392, -0.048949115, -0.0380688272, -0.0088269617, -0.0101419929, -0.0530336015, 0.0168989282, -0.013459608, -0.0104765706, -0.008756944, 0.0194195155, -0.0723788291, -0.0344994329, 0.055566892, -0.0184049867, 0.0118826982, -0.0143660475, 0.0281440113, -0.0502468012, -0.0345507078, 0.0175503623, -0.014987451, 0.0073849401, 0.0368967503, 0.0641118884, 0.0039547398, -0.0129289161, -0.0290686693, -0.0476909056, -0.0262560267, 0.0137544051, -0.0019791166, 0.0381977223, 0.0436056145, -0.021854559, 0.0328321643, 0.025469901, -0.0173990056, -0.0281505827, 0.0203459412, -0.0153659591, 0.0049612965, -0.0283354484, -0.0041363169, -0.0642354861, -0.0117184464, 0.0392581038, -0.0274442341, -0.0247572809, 0.0184581447, 2.686e-7, 0.0304206349, 0.0379970297, 0.0135567151, 0.0133403363, 0.0065633738, 0.0594400875, -0.0368378535, -0.0056223711, 0.0356755704, -0.0546149015, 0.018892793, 0.1010846943, 0.0220011361, 0.0408411399, -0.0548805185, 0.0292399134, -0.0436564684, -0.0257136598, -0.027071666, -0.0087891696, 0.0455222391, 0.0501737446, 0.0590312667, -0.0085112117, -0.0180995408, -0.0461567789, 0.053792946, 0.0069176652, -0.0049479059, 0.0110189216, -0.063352786, -0.0351135693, 0.0254842024, 0.0543431155, 0.0295160189, 0.0092131915, -0.032352712, 0.0490814261, -0.0402699932, -0.0176317859, -0.0079402989, -0.0226705186, -0.0043409783, -0.0389738567, 0.066296719, -0.0658887401, -0.0435230918, 0.0306478534, -0.0256982781, -0.0154285729, -0.0031404756, 0.0071772244, 0.0035752982, 0.0110499132, 0.0011237555, -0.0142093329, 0.0198262967, -0.021015618, 0.0085021211, -0.010123075, -0.0428726897, -0.0815418735, -0.0000858963, -0.0212245528, 0.0196907315, -0.0212790612, 0.0012025727, 2.32555532e-34, 0.0356467366, 0.0008856529, 0.0361806899, 0.0462658331, 0.0494084544, -0.047586631, -0.0483631901, 0.009812938, 0.0467998497, -0.077606611, -0.0355416574 ]
http://arxiv.org/abs/2402.01619v1
http://arxiv.org/pdf/2402.01619v1
KB-Plugin: A Plug-and-play Framework for Large Language Models to Induce Programs over Low-resourced Knowledge Bases
2024-02-02T18:32:24
2024-02-02T18:32:24
Jiajie Zhang, Shulin Cao, Linmei Hu, Ling Feng, Lei Hou, Juanzi Li
cs.CL
cs.CL
Program induction (PI) has become a promising paradigm for using knowledge bases (KBs) to help large language models (LLMs) answer complex knowledge-intensive questions. Nonetheless, PI typically relies on a large number of parallel question-program pairs to make the LLM aware of the schema of the given KB, and is thus challenging for many low-resourced KBs that lack annotated data. To this end, we propose KB-Plugin, a plug-and-play framework that enables LLMs to induce programs over any low-resourced KB. Firstly, KB-Plugin adopts self-supervised learning to encode the detailed schema information of a given KB into a pluggable module, namely schema plugin. Secondly, KB-Plugin utilizes abundant annotated data from a rich-resourced KB to train another pluggable module, namely PI plugin, which can help the LLM extract question-relevant schema information from the schema plugin of any KB and utilize this information to induce programs over this KB. Experiments on five heterogeneous KBQA datasets show that KB-Plugin achieves better or comparable performance with 25$\times$ smaller backbone LLM compared to SoTA PI methods for low-resourced KBs, and even approaches the performance of supervised methods. Our code and data are available at https://github.com/THU-KEG/KB-Plugin.
KB-Plugin: A Plug-and-play Framework for Large Language Models to Induce Programs over Low-resourced Knowledge Bases: Program induction (PI) has become a promising paradigm for using knowledge bases (KBs) to help large language models (LLMs) answer complex knowledge-intensive questions. Nonetheless, PI typically relies on a large number of parallel question-program pairs to make the LLM aware of the schema of the given KB, and is thus challenging for many low-resourced KBs that lack annotated data. To this end, we propose KB-Plugin, a plug-and-play framework that enables LLMs to induce programs over any low-resourced KB. Firstly, KB-Plugin adopts self-supervised learning to encode the detailed schema information of a given KB into a pluggable module, namely schema plugin. Secondly, KB-Plugin utilizes abundant annotated data from a rich-resourced KB to train another pluggable module, namely PI plugin, which can help the LLM extract question-relevant schema information from the schema plugin of any KB and utilize this information to induce programs over this KB. Experiments on five heterogeneous KBQA datasets show that KB-Plugin achieves better or comparable performance with 25$\times$ smaller backbone LLM compared to SoTA PI methods for low-resourced KBs, and even approaches the performance of supervised methods. Our code and data are available at https://github.com/THU-KEG/KB-Plugin.
[ 0.00706085, 0.0330496393, -0.011866522, 0.0419889092, -0.0071523734, 0.0393429436, -0.0173680857, -0.0199511535, 0.0453921258, -0.0506235212, -0.02311562, 0.0517476872, -0.0298141334, 0.0419823937, 0.0294323135, -0.0013613937, 0.0319158547, -0.0463426411, -0.014150071, -0.0158812907, -0.0087898625, 0.0271330737, -0.005644171, 0.021166509, -0.0074257511, -0.0175935887, -0.0217977017, -0.0182912182, -0.0433076285, -0.0286661237, 0.0024571761, 0.0617456362, 0.0348556451, 0.0336190686, 0.0000020505, -0.0624894463, -0.0284614004, 0.0080379229, -0.0663050935, 0.0306313783, -0.012163789, -0.02177318, 0.0121127414, 0.006484441, -0.0599139221, -0.0261295158, 0.0299882293, 0.02595984, 0.0681987852, 0.0548551045, 0.0038022664, -0.0206382833, 0.0371288024, -0.011849354, 0.020531727, -0.0027306515, 0.0200472753, 0.034638755, -0.0048038354, 0.0388978794, 0.0102641685, 0.0388686769, 0.0270157773, -0.0231305435, 0.0260747038, 0.041041024, -0.0642780066, 0.0010576213, -0.0179787707, 0.0982179716, -0.0352640375, -0.0361320488, 0.0018805431, -0.0091470135, 0.0138757378, 0.0234765075, -0.0412586406, 0.0214568935, 0.0117053771, -0.0017725676, 0.0581254698, -0.0145654641, 0.0374407731, -0.0225702319, -0.0234318338, 0.0874842927, 0.0315188505, -0.0594360754, 0.0233427212, 0.0049087256, -0.0273988992, -0.0373393111, -0.0545679219, 0.0302925911, -0.0096664075, 0.039355915, 0.0051872144, -0.0095493523, 0.038482327, -0.0336214118, 0.018637646, 0.0407022014, -0.034922827, 0.0547495, -0.0736634657, 0.0413456745, 0.0068245656, 0.0069060749, -0.017486766, 0.0089793755, -0.0671789423, -0.0092341155, -0.055073116, 0.0452614725, -0.0004343203, 0.0070334226, 0.0023171201, 0.0799721777, -0.0051907566, 0.0474294238, 0.0261520315, -0.0139741218, -0.0058779358, -0.001953386, -0.0240951385, 0.0426500887, -0.0491785146, -0.0112594524, -0.0229797065, -0.0106590781, -0.0171056353, 0.0123215057, 0.0091265123, -0.0134798605, 0.0090599684, 0.0222203769, -0.0053344686, -0.0167385936, -0.0457978584, -0.0312893093, 0.0042468561, -0.0445393212, -0.0232772473, -0.1040100008, 0.0414750166, 0.0209975597, -0.0135749662, -0.0226295032, 0.019187415, 0.0076721883, -0.0056009423, 0.0695504993, -0.0443747528, 0.0108605539, 0.0208970122, 0.0124861328, -0.0370287821, 0.0769465864, -0.0171214901, 0.006941447, 0.0191819519, -0.0238127634, -0.01495759, 0.0393928699, 0.0533514321, 0.033129897, 0.0160154067, 0.0435681231, 0.0481198244, 0.0318319164, -0.0078533385, 0.0167457163, -0.006767944, 0.0309660584, 0.0138666937, 0.0610107817, 0.010997247, 0.0349624678, 0.076220192, 0.0303776879, 0.0391353965, -0.0214293599, -0.0761099681, 0.0421331786, -0.0510820933, 0.0236228704, 0.0111725153, 0.0280236937, -0.0312521458, -0.0381040648, -0.0015491289, -0.0174329747, -0.0376049839, -0.0014782023, 0.0661748499, 0.053312704, -0.011605273, 0.0622877143, 0.0337231867, -0.0307857376, -0.0087536983, -0.0504038408, 0.0597561151, 0.0488531739, 0.0459396839, -0.0747153014, -0.0190222785, -0.005623939, 0.0056900205, 0.0466721542, 0.0268720351, -0.0494790561, -0.0348168984, -0.0188394319, -0.0160760507, -0.059307564, 0.0197316539, 0.0105886953, 0.0476274081, -0.0124059319, 0.0261649955, -0.0297938734, 0.0034960127, 0.045822978, -0.0533645377, -0.0190037396, -0.0020920604, 0.022927722, 0.0136717856, 0.0063788267, 0.0052123587, 0.0110342391, 0.052158691, -0.0417102054, -0.0374066457, -0.0275165122, 0.0027959775, -0.0946940407, 0.0456771366, 0.0355026536, 0.0039950088, -0.0242755935, -0.0409646705, -0.0442527682, 0.0318997093, 0.0093969656, 0.0644375607, -0.0502884127, 0.0020602369, 0.024636317, 0.0002059484, -0.0274122078, 0.0834401846, 0.0203663353, 0.0136119155, 0.0411050022, -0.0050493497, 0.0161748677, 0.0039741807, -0.0231008269, -0.0003496833, -0.020335624, 0.0199305974, 0.0083820047, 0.0018086807, -0.0698166341, -0.0126928166, -0.1015423164, 0.0224740151, -0.0055034258, 0.0173602886, 0.0003920691, 0.0178038217, 0.0045988807, -0.0156895947, -0.0531705841, 0.012283097, 0.0024443038, 0.0348682813, 0.01525041, 0.030402625, -0.0126878731, -0.0068255961, -0.0099922847, -0.0101584122, 0.0498195142, -0.0044653835, 0.0249930248, -0.0547350012, 0.0326805934, -0.0282426588, 0.00992388, -0.0090344558, -0.036076434, 0.0164936297, -0.0556495078, 0.0222140495, 0.0506860726, -0.0319470316, -0.0139204189, 0.0614909716, 0.0104289753, -0.0891409889, 0.027466543, 0.0013632041, -0.021207653, -0.0238736514, -0.0273636915, 0.0036460031, 0.0715102479, -0.0260017999, -0.0200043619, -0.0353884473, 0.0290605202, -0.0009431339, -0.0094997529, -0.0413403586, 0.0010497179, 0.0208643768, 0.0257450994, -0.0174441114, -0.0548365191, 0.080135107, -0.0364054292, -0.0243343841, -0.0134876026, 0.0107544642, -0.050347548, 0.0817960426, 0.0019721061, 0.008328083, -0.0139347464, 0.0098174224, -0.0459896028, 0.0298143122, -0.0083527286, -0.0189476851, 0.0772604123, -0.0150621003, 0.0335857458, 0.009228061, -0.0364828221, -0.070309706, -0.0153156053, -0.0207393691, 0.0006930281, 0.0008840571, -0.0060662678, 0.0464939922, -0.0101341605, 0.0080115767, 0.0396786369, 0.0055302237, -0.0172340553, -0.0050675576, 0.0086273793, 0.032969512, 0.0012402624, 0.0013713879, 0.0192589629, 0.0713016838, 0.0302745346, -0.0116297035, -0.0248762965, -0.012627542, 0.0208672471, 0.0008361568, -0.0460261665, -0.031807337, 0.0106641371, 0.0029155486, -0.069960326, -0.0272755567, 0.1205500215, 0.0499149114, -0.0382335819, -0.0162753034, -0.0271315388, 0.0302301832, 0.0504086427, 0.0667514578, -0.0958284289, -0.0315159597, -0.0289584659, 0.0286904834, 0.01017348, -0.0197638571, -0.0096881352, -0.1500795782, 0.0233483613, 0.0089413654, -0.0647476837, -0.02736721, -0.0620992221, -0.0169165693, 0.0022615229, -0.032109201, 0.0099024829, -0.018360652, 0.0117840134, -0.0019876645, -0.0128336996, -0.0458670966, 0.0310634188, -0.011702437, 0.0840380639, 0.0429457054, -0.0055994228, -0.0067265453, 0.0017690711, -0.0034063633, -0.0131841907, -0.0235799681, -0.0172112565, 0.0301234182, -0.0011022404, -0.0172848292, 0.0235250518, 0.0458843447, -0.0531629138, -0.0083022248, 0.0391018353, 0.1089217514, -0.0183140654, -0.0215544775, 0.0097183883, -0.0352055319, 0.0098772142, 0.0783718899, 0.0463583767, -0.014659116, 0.0040130741, -0.0357779413, -0.0388711095, -0.04093723, -0.0299113281, 0.0332040936, 0.0026970243, -0.0042590327, -0.0874548927, -0.0113083674, 0.0522683226, 0.0193207841, 0.0281631332, 0.0289871823, -0.002396248, 0.0025490783, -0.0620583743, 0.0336501077, -0.0683346912, -0.0358695313, -0.0431896374, -0.0669738725, 0.0259780958, -0.0543523766, -0.0171832033, -0.0390633531, -0.0872262046, -0.0473958887, -0.0103116194, 0.0882642716, 0.0082597118, 0.0557726063, -0.0324649699, -0.0137184272, 0.0454473235, 0.048404932, -0.0726164058, -0.0401825234, 0.0261717699, -0.0039339331, -0.0102130808, 0.0620672815, -0.057788644, 0.0077137146, -0.0018144876, 0.0477896184, -0.0292530004, -0.0234541371, 0.0331985727, 0.0277774427, -0.0126679465, -0.0008237672, -0.0023493834, -0.0381927863, 0.0014429596, -0.0049749068, -0.0380403474, -0.0467132106, 0.022830395, -0.0073818364, -0.0266320854, 0.0381451435, -0.0360717587, -0.0294097625, 0.012539329, 0.0173790064, 0.0065655974, 0.0320708975, 0.0230255555, 0.0533857122, 0.006833558, -0.0266540349, 0.0290070716, 0.0214079618, 0.0236496776, -0.0437085517, 0.0450943597, 0.0040913313, 0.0068562967, -0.0392723083, 0.0127328793, -0.0201834384, -0.0577270165, -0.0011317525, 0.0300217494, 0.0651965216, -0.0081122788, 0.0331454389, -0.0377595685, -0.0317015313, 0.0089557497, -0.0004557998, 0.0215354208, -0.0099726813, 0.0414648354, 0.0350768641, -0.0234194584, 0.0011936272, 0.0855325833, -0.0083290888, 0.0432591401, 0.0353381485, 0.0192749295, -0.0532181598, -0.0241960138, 0.0072570024, 0.0296518914, -0.0486952029, 0.0256872568, -0.0241169035, -0.0851640105, -0.0255084019, -0.0124134058, -0.0718924701, 0.0259812456, 0.0259395931, 0.0566435419, 0.0220665317, -0.0124956602, -0.0438374206, 0.0471644439, -0.0421080738, -0.0530110374, 0.0330883227, -6.31938857e-33, -0.0218053292, -0.0179578084, 0.0234427284, -0.0060050646, 0.0073927697, 0.0260636993, -0.0481743962, 0.0168778971, -0.0076403748, 0.0069250255, -0.0137300417, -0.0113691399, -0.0110360105, 0.0100430073, 0.0323634446, -0.0330130681, 0.00294312, -0.0043973089, -0.0133210327, 0.0332271755, 0.0147859594, 0.0147755258, 0.0108134495, -0.0083269197, 0.03862831, -0.0153358923, 0.0138343899, 0.0355193466, -0.0419111922, 0.0647912025, -0.0216979031, 0.0562739037, 0.0390566066, -0.0384575315, 0.0072490033, 0.0114547936, -0.0809532776, -0.0426847562, 0.0368319601, -0.0259729903, -0.0270191859, -0.0270475466, 0.0353207402, -0.0127347829, 0.0429892205, -0.0088961525, 0.0243493952, -0.033868894, -0.0052769687, -0.0057339631, -0.0579675809, -0.0097281439, 0.002159979, -0.0221935213, 0.0304494537, -0.0065630735, 0.015090283, 0.0232781041, -0.0250879694, 0.0268147383, -0.0038380835, 0.0537131019, 0.05147947, 0.0027149217, 0.0219800733, 0.0100697139, 0.0042670635, -0.0075691976, -0.0163525697, -0.0097774994, 0.0184604544, 0.0332714133, 0.0522688478, 0.0370597914, 0.0244196709, 0.0208427403, -0.0516552366, 0.0125859296, 0.044432357, 0.0041229795, -0.0098894173, -0.0145883327, -0.0283171535, -0.0191706065, -0.055552531, 0.0005636, -0.0535701998, -0.0470167696, 0.0239661448, 0.0019497909, -0.0218767375, -0.0119117657, -0.0007481183, -0.043915417, 0.0059790029, 0.0558242053, 0.0034656541, 0.0004852297, -0.0110756606, 0.0605220981, -0.0644828305, -0.0219870452, 0.0327553302, -0.0375415199, 0.0216977019, 0.0483677611, 0.0452656336, 0.0029960007, -0.0650109649, -0.0089414483, -0.0676036179, -0.0005310209, -0.0055483654, 0.0256374553, 0.005166423, 0.0426447093, 0.0233977698, 0.0185448248, 0.0170473903, -0.0071571041, -0.0268529728, -0.0237332731, 0.0034396243, -0.000556528, -0.0376393162, 0.017189661, -0.0693365484, 0.0071211811, -0.0310020167, -0.049995698, -0.0107826563, -0.0170207713, 2.772e-7, 0.0613251999, 0.0391693115, -0.0035434375, 0.0200922005, 0.0207554922, 0.0187995713, -0.041517891, 0.0010355412, 0.0376013145, -0.034806896, 0.0226185508, 0.0468880981, 0.0239746179, 0.0335612483, -0.1187511757, -0.0145649835, -0.0212210771, 0.0188056193, -0.0811388642, -0.0199309587, 0.0576535724, 0.0833589658, 0.0292503368, 0.0029806425, -0.0003998722, -0.0332902595, 0.0378953218, 0.0060662795, -0.0217703748, 0.0367603488, -0.0321640298, 0.0701870248, -0.0209888648, 0.0551033393, -0.0321500935, 0.0279888622, 0.0025057979, 0.052734714, 0.0089859003, -0.0161861125, 0.0054024952, -0.0433409736, 0.0239113159, -0.0665609762, 0.0919504017, -0.0726963207, 0.0046223346, 0.0084867841, -0.0004242484, -0.0454466641, -0.0117500676, -0.0622698851, -0.0062280884, 0.0073496415, 0.0303743556, -0.0168014914, -0.0177347139, -0.0606517643, -0.0244884584, 0.039163325, -0.0072705257, -0.0544108413, -0.0542598963, -0.0249514133, -0.0182018969, -0.0495600626, 0.0311194696, 3.000026658e-34, 0.0346036702, -0.0157408696, 0.0329594724, 0.0300443806, 0.0206251591, -0.0298565645, -0.0126903001, -0.0213665701, 0.0252325702, -0.093470946, 0.014504469 ]
http://arxiv.org/abs/2402.01618v1
http://arxiv.org/pdf/2402.01618v1
Style Vectors for Steering Generative Large Language Model
2024-02-02T18:31:15
2024-02-02T18:31:15
Kai Konen, Sophie Jentzsch, Diaoulé Diallo, Peer Schütt, Oliver Bensch, Roxanne El Baff, Dominik Opitz, Tobias Hecking
cs.CL
cs.CL
This research explores strategies for steering the output of large language models (LLMs) towards specific styles, such as sentiment, emotion, or writing style, by adding style vectors to the activations of hidden layers during text generation. We show that style vectors can be simply computed from recorded layer activations for input texts in a specific style in contrast to more complex training-based approaches. Through a series of experiments, we demonstrate the effectiveness of activation engineering using such style vectors to influence the style of generated text in a nuanced and parameterisable way, distinguishing it from prompt engineering. The presented research constitutes a significant step towards developing more adaptive and effective AI-empowered interactive systems.
Style Vectors for Steering Generative Large Language Model: This research explores strategies for steering the output of large language models (LLMs) towards specific styles, such as sentiment, emotion, or writing style, by adding style vectors to the activations of hidden layers during text generation. We show that style vectors can be simply computed from recorded layer activations for input texts in a specific style in contrast to more complex training-based approaches. Through a series of experiments, we demonstrate the effectiveness of activation engineering using such style vectors to influence the style of generated text in a nuanced and parameterisable way, distinguishing it from prompt engineering. The presented research constitutes a significant step towards developing more adaptive and effective AI-empowered interactive systems.
[ 0.0159442723, 0.0386417247, -0.0120710991, 0.030667156, -0.0128320009, 0.0128770815, 0.0211616736, 0.0134086646, 0.0140392529, -0.0430889726, -0.0556594133, -0.0430174656, -0.0219074376, 0.0441896431, 0.0207328908, -0.0441030152, -0.0240586735, -0.0076008327, 0.0226140134, -0.0002658905, 0.0387914218, 0.0344151407, -0.0062476466, 0.048461888, -0.0072738989, -0.0321869813, 0.0000322213, 0.0453670658, 0.0140883271, -0.013954483, 0.0357898027, 0.0362852179, 0.0078069745, 0.0369762294, 0.0000017724, -0.0154268416, 0.0329627655, -0.0365043469, 0.0481870361, 0.0256749541, 0.0757290795, 0.0127998926, -0.0363404453, 0.003780382, -0.0261749253, -0.028499119, 0.0595316738, 0.0817941427, 0.0621521212, 0.0791578144, -0.0155323148, -0.0284593217, -0.0012995776, -0.0210702475, 0.0153210294, 0.0241074283, 0.0027269477, -0.0213206243, -0.0131884739, 0.0084286118, 0.01851671, 0.0365422778, 0.0193973016, -0.0701049492, 0.0151534481, 0.0153445257, -0.0127564827, 0.0021265347, 0.0045227003, 0.0823024064, -0.0013996018, -0.0102914264, 0.003525442, -0.0264947377, 0.0183669459, -0.0116347624, -0.0402442291, 0.0077944682, -0.0104519082, 0.0153863514, -0.0109566245, 0.0187801402, 0.0214813408, 0.0300339982, 0.0253631398, -0.0017565887, 0.0140591012, -0.0103205368, -0.0355286822, 0.0110885873, 0.0009123593, -0.0493595637, 0.0299368575, 0.0130706038, -0.026757665, 0.0155118499, -0.0454988889, -0.0156790838, -0.0153469387, -0.0724638849, 0.0802262053, 0.0138493013, -0.000191607, -0.0001635865, -0.0236657653, 0.032334853, -0.0550938956, -0.0160088502, -0.0195239857, 0.014552407, -0.0236278307, -0.0321863219, -0.011563058, -0.0057878429, -0.0194048937, -0.0366915949, -0.0377441943, 0.0237206109, -0.0149724958, -0.0003316258, -0.004992683, 0.0290856306, -0.0125947883, -0.0167556722, -0.0001133846, 0.0079520736, -0.0286052823, 0.0083249053, 0.0113038532, -0.0083814571, 0.0073764618, 0.0360054113, 0.0213972218, -0.0096331378, -0.0308370013, 0.0103006903, -0.038728483, 0.0130903032, -0.0703120902, -0.0249356925, 0.0068502398, -0.0144311134, 0.0290611051, -0.0470408127, -0.007881253, -0.0052326354, -0.0126344562, -0.0446668379, 0.0019660529, 0.0197396651, -0.0107997051, 0.009673968, 0.0205320157, -0.0175844859, 0.039330367, -0.0035553903, 0.0269267019, 0.0470452532, 0.0531259626, 0.09601105, 0.0105013009, -0.0108081847, 0.0592890009, 0.054755684, 0.0067967759, 0.0250026509, -0.0715478361, -0.0653143674, -0.0070596063, 0.0514564551, 0.0406830572, 0.058969859, -0.017182108, 0.0205473378, 0.1015913412, -0.0078651356, 0.0279341526, 0.0490792207, 0.0570763163, 0.0140425665, 0.0150890248, -0.0095940614, 0.0122019229, 0.0300978124, -0.0158829205, 0.0217606165, 0.020671133, 0.0068193693, -0.0428196751, -0.0617710464, -0.0032103853, 0.0089996727, 0.0034962327, 0.0103319576, 0.012099863, 0.0406736359, -0.0395060703, -0.0355025977, 0.0283326674, -0.083360225, 0.016013978, -0.0530784354, 0.0395070054, 0.1260631084, 0.0364661366, 0.005821201, -0.0131670302, 0.0039645424, 0.0052362084, 0.0920827836, 0.0238679312, -0.0248802155, 0.0127753187, -0.0729625449, 0.0088362424, -0.0191660132, 0.0118218204, 0.0160651542, -0.0319969319, 0.0155244293, 0.0081316913, -0.0052709756, -0.0624583513, 0.0368397534, -0.0256743487, -0.082067959, 0.033325959, 0.0005511881, -0.006590019, 0.0075050788, -0.0564586595, -0.0045614797, -0.0310492087, -0.0610704534, -0.0498786122, 0.0398040302, -0.0278491862, -0.03078123, -0.0289086085, -0.0077505298, -0.0052023791, -0.0034052001, -0.0368237458, -0.0332962647, 0.0136728529, -0.048972562, 0.0132088279, -0.033482451, -0.0108234566, -0.0066399584, 0.0047127786, -0.0347777642, 0.0236305725, 0.012516181, -0.0432608388, 0.0223900247, 0.0342935659, -0.0106340675, 0.0167707317, -0.0220242459, 0.0045552738, 0.0447416529, -0.002096724, 0.0338523537, 0.0137363533, -0.0171068329, -0.0561250784, -0.078390114, -0.0187369455, -0.028117124, -0.0028319927, 0.028967306, 0.017386876, -0.0332580805, 0.0074268174, -0.0604690872, -0.0058236853, -0.0172556471, 0.0005750922, 0.0298453979, -0.0158491842, -0.0087224953, -0.0657912567, -0.0047117458, 0.0060857655, 0.0342091657, 0.0469464883, 0.019290762, -0.0539964661, -0.0108822677, -0.0185057446, 0.0000207494, -0.0057434724, -0.0678058341, 0.0217729677, -0.0369670764, 0.0504341461, 0.0878807604, 0.0457144119, 0.0712261423, 0.0468715802, 0.0072706309, -0.0532077514, 0.0204971954, -0.0299154799, 0.0257852934, -0.016841365, -0.0200442392, 0.0280541666, 0.0491196625, 0.0370341912, 0.0194451548, -0.0487984568, 0.019140698, 0.0248524267, -0.0515707545, 0.0295885373, -0.0257439632, -0.0197585803, 0.0168182738, -0.0004513163, -0.0451382846, 0.0427407846, -0.016835345, -0.0190105531, -0.0071558137, -0.0069735148, -0.0133955562, 0.058253061, -0.0036884095, 0.0164988842, -0.0059111305, -0.0096065924, -0.0272339303, 0.0045052408, 0.0222936757, -0.0201918706, 0.0299987607, -0.033550065, -0.0186277516, 0.026279334, -0.0465304479, -0.0466056392, -0.0252536237, 0.0021303783, -0.0153310644, 0.0553442314, -0.0644182041, 0.0206432231, -0.0137824668, 0.0179087128, 0.0388377607, -0.0429328009, -0.0307364352, -0.0018488785, 0.0261668786, 0.0547867231, -0.0040633478, -0.0247648675, -0.0228159931, 0.0106356675, 0.0260856543, -0.0020349284, 0.0162670203, -0.0480484627, -0.0072334302, 0.0503110848, -0.0197317284, -0.0331016518, -0.0127769699, 0.0505655631, -0.0610584617, -0.0097781941, 0.1300036609, 0.0334420018, -0.071246624, -0.0138246343, -0.0039958502, 0.060115695, 0.0073872451, 0.05627371, -0.040111497, -0.012436619, -0.008962784, 0.0283271447, -0.0132641522, 0.0166275725, 0.0125726722, -0.1005313471, 0.0327414386, 0.013601453, -0.0093179438, -0.026675418, 0.0055651627, 0.0062467125, 0.0297337808, -0.0182554275, -0.0128006283, 0.003658013, -0.0183694102, 0.0202330649, -0.0206119474, -0.0387934819, -0.0409979634, -0.0138113648, 0.0546130538, 0.0835184008, 0.0735525638, 0.007356598, -0.0616198517, 0.0217365846, -0.0000367093, 0.0312947072, -0.0200265218, 0.0437764935, 0.0052305921, -0.0086691491, -0.049597472, 0.0455827154, 0.0261715092, 0.0236332025, -0.0079178074, 0.0084551601, -0.0532865189, -0.0487627313, -0.0440754481, 0.0066894726, 0.0374477431, 0.0289201792, 0.0527567901, -0.0965628251, -0.0547342971, -0.0648866966, 0.0165755954, -0.0840350613, -0.0698486716, -0.0215707105, -0.0210546721, -0.0257238913, -0.109006092, -0.0380652845, -0.0054813009, 0.0575757138, 0.001643901, -0.0395146124, 0.0146788107, -0.0100843124, -0.0070365495, -0.0088536106, 0.0182079542, 0.0065406151, -0.0157068502, -0.0525618009, 0.0329518802, -0.0865314081, 0.0112334844, 0.0127792433, -0.0159666575, -0.0645917505, 0.0291761905, 0.0477043316, 0.0068828696, 0.032928694, -0.0098338295, -0.1187497824, 0.0923301727, 0.0605327487, 0.0200959984, 0.0069080694, 0.0206628237, 0.049777966, -0.0074124504, 0.0185751282, -0.027832659, 0.0586438403, 0.0468133092, 0.0317684188, -0.0050363243, -0.0025616328, -0.0127723683, -0.0092500234, 0.0183297545, -0.0398607627, 0.0011890667, -0.0454130806, -0.0133692268, -0.027093295, -0.031591583, -0.0587998517, -0.0078220787, -0.0025140771, 0.0165194478, -0.0501057059, 0.0089682471, 0.0239790175, 0.0202159379, -0.0587061867, 0.0300193988, 0.014526397, 0.0525181927, 0.0129510146, 0.0349714942, -0.0323350653, 0.0811842009, -0.0203043092, 0.0166075751, 0.0052236388, 0.0530338883, 0.0321130641, -0.00845215, -0.0228283238, 0.0459124856, -0.0406947881, -0.0183066856, -0.0213077161, 0.0223239623, 0.0385181382, 0.0000894924, 0.082353957, -0.0355929881, 0.0098223202, -0.0055819387, 0.0214961171, 0.0304527283, -0.0444798656, 0.0004805279, -0.0073179901, -0.016619835, -0.0408891067, 0.0529066212, -0.0260187872, 0.0391792879, -0.0079972399, 0.0083904359, -0.0204067659, -0.0089638121, 0.0622783415, -0.00587, 0.0195935667, 0.014387995, -0.0291659534, -0.041240111, 0.0343590863, 0.0020125988, 0.0102923112, -0.0293496083, 0.0382895768, 0.0437590405, 0.0015592801, -0.0031726835, -0.0510243177, 0.0134420265, -0.063341774, -0.0172152705, -0.0302392747, -5.713951306e-33, -0.0226446819, -0.0356358774, -0.0160456207, 0.0573992431, -0.0438620336, -0.0119898729, -0.0483316295, 0.0253582206, 0.0285370219, 0.0552227385, -0.0321315899, -0.0049826391, -0.0019936967, 0.0487143621, 0.0220853593, 0.0146108503, 0.0625858828, -0.0009500777, -0.0363021642, 0.0505651012, 0.0481233187, 0.0006677347, 0.0244816691, -0.084129028, 0.002237895, -0.0313059799, -0.0341830701, 0.0073999143, 0.0178368036, 0.0359999277, -0.013870935, 0.0319274478, 0.0076459795, -0.0399199501, -0.0029534746, 0.0277245287, 0.002054027, -0.0299803205, -0.0159583464, 0.0201064162, -0.0373572186, -0.0527289249, 0.0494707711, 0.0132346721, -0.0272182301, 0.0251722448, 0.0405025519, 0.003974861, 0.0010357475, -0.1381399184, -0.0849304497, 0.0241307449, -0.0141768111, -0.0310715064, 0.005043617, -0.0041703847, -0.0059475261, 0.0012493781, -0.0699006543, 0.0057280371, -0.0104386155, 0.0191968139, 0.0163593777, 0.0794515014, 0.0075510116, 0.0558695458, 0.0308798086, 0.0649861023, -0.0917828158, 0.0300400313, 0.0404000655, 0.0082849367, 0.0059538856, 0.0507362373, -0.0036682601, -0.0134283826, 0.0142862406, 0.0252926033, 0.0550719909, -0.0273309853, 0.0487854518, 0.0260351859, -0.0108105047, -0.004579369, -0.0495130867, -0.0236707926, -0.0263206922, -0.0090747215, -0.0000629527, 0.0221672207, -0.002865938, -0.0413020998, -0.0015422514, 0.0275300499, -0.0263163801, 0.0114110187, -0.0719765499, 0.074213624, -0.0109097734, -0.036598932, -0.0049684714, -0.0087801619, 0.0215884615, 0.0079619922, 0.0036602761, 0.0185210966, 0.0316440128, 0.0596410595, -0.0667253286, 0.0033379823, -0.0241806712, 0.0195397325, 0.0239206553, -0.0260648429, 0.0095280902, -0.0240040086, -0.0349961668, 0.0272285528, -0.0075045945, 0.0479051061, 0.0024066032, -0.0395451076, 0.0022017916, 0.0097350739, -0.0820191279, -0.0037350978, -0.0271917339, 0.0124359122, -0.0002371461, -0.0678015277, -0.0155954249, 0.007036957, 2.494e-7, -0.0055462406, 0.0585142262, 0.0028118, 0.0670713857, 0.0303935111, 0.0474737696, 0.0428462587, 0.0135700852, 0.0258519072, 0.0305097476, 0.0060185143, 0.0199065469, 0.0544607379, -0.0056411084, -0.1055639684, -0.0080842823, -0.0429526679, 0.0602377653, -0.0320439599, -0.0039110743, 0.0708665103, 0.0389364399, 0.0164844524, -0.0076359096, 0.0539026968, -0.0190334804, 0.0646503642, -0.0090128584, 0.035767179, 0.0183885414, 0.0238971692, -0.0313897394, -0.0254833363, -0.0293742064, -0.0098279826, -0.0289168339, -0.019771859, 0.0635536835, 0.011722195, -0.0128092412, 0.0069115036, 0.0218662824, 0.0242380612, -0.0390839465, 0.0432284065, -0.0001668239, -0.0211542025, -0.0544053428, 0.0243352596, -0.0268078633, 0.0081149656, -0.0566180535, -0.0309996735, 0.0216584876, 0.0094888881, -0.0187369641, -0.0279278848, -0.0769380927, -0.0573227964, -0.0355100855, -0.0299055874, -0.0203775875, -0.0530003645, 0.051546175, -0.0032512131, -0.0066318503, 0.0136316093, 2.068267846e-34, 0.0246912222, -0.0372521095, -0.0065058027, 0.0359936208, 0.0445436724, 0.0428832881, 0.0210873056, 0.0092544649, 0.0533942841, -0.1056307256, -0.0102176368 ]
http://arxiv.org/abs/2402.01613v1
http://arxiv.org/pdf/2402.01613v1
Nomic Embed: Training a Reproducible Long Context Text Embedder
2024-02-02T18:23:18
2024-02-02T18:23:18
Zach Nussbaum, John X. Morris, Brandon Duderstadt, Andriy Mulyar
cs.CL
cs.CL, cs.AI
This technical report describes the training of nomic-embed-text-v1, the first fully reproducible, open-source, open-weights, open-data, 8192 context length English text embedding model that outperforms both OpenAI Ada-002 and OpenAI text-embedding-3-small on short and long-context tasks. We release the training code and model weights under an Apache 2 license. In contrast with other open-source models, we release a training data loader with 235 million curated text pairs that allows for the full replication of nomic-embed-text-v1. You can find code and data to replicate the model at https://github.com/nomic-ai/contrastors
Nomic Embed: Training a Reproducible Long Context Text Embedder: This technical report describes the training of nomic-embed-text-v1, the first fully reproducible, open-source, open-weights, open-data, 8192 context length English text embedding model that outperforms both OpenAI Ada-002 and OpenAI text-embedding-3-small on short and long-context tasks. We release the training code and model weights under an Apache 2 license. In contrast with other open-source models, we release a training data loader with 235 million curated text pairs that allows for the full replication of nomic-embed-text-v1. You can find code and data to replicate the model at https://github.com/nomic-ai/contrastors
[ -0.0287391413, 0.0207973514, 0.0171902087, 0.0802318379, -0.0349175967, -0.0157953501, 0.0354990028, -0.0083404789, 0.0071267807, -0.0168973673, -0.0209429245, -0.0096223168, 0.0227959212, 0.0165497363, 0.0477149263, -0.0620042719, 0.0040856688, -0.0039992318, -0.0168455541, 0.0113050258, 0.0135878613, -0.0051891198, 0.0206305664, 0.0266557168, -0.0156869944, -0.0302507579, -0.0207844432, -0.0052759899, 0.0582018681, -0.048336722, 0.0131274816, 0.0162322111, 0.0565947033, -0.0091269035, 0.0000017906, -0.0187657122, 0.0047948742, 0.0211185589, -0.0027559714, -0.0172812827, 0.0598922223, -0.0477060974, -0.0004733804, 0.0362763666, -0.0036957546, 0.0081161726, 0.0187924933, 0.0543395653, 0.0196734034, 0.0678324625, -0.0072067222, -0.0441131182, 0.0439369641, -0.0676735491, 0.0116295675, -0.00088265, 0.0208350811, -0.0441850349, 0.0131078614, 0.0573401824, -0.0551071726, 0.0139159858, 0.072874561, 0.0093373004, 0.0208989754, 0.0638132617, -0.0371661745, 0.0357654765, 0.0075123534, 0.1268730015, 0.0278555714, 0.0201054588, -0.0118050072, 0.0056993132, -0.0298562404, -0.0694515556, -0.0073499526, 0.0206767973, 0.0084659401, 0.0535143167, 0.0269281138, 0.0295538586, 0.0255897325, 0.0022167938, -0.0092755565, -0.0122525003, 0.0027730539, -0.0536440127, -0.0193912946, -0.023193635, -0.0414699987, -0.0056795725, 0.0344159454, 0.0226727873, 0.0104259448, 0.0225401334, -0.0593016744, -0.0792238414, 0.0423370786, -0.0434173308, -0.0139311589, 0.035614036, -0.0513760112, 0.0567864627, -0.0551103354, 0.0284946449, -0.0240940079, -0.0063837944, -0.0244810712, -0.0440502353, -0.0120715043, 0.0129956668, -0.0273045711, -0.0029747083, -0.0824515522, -0.0704655796, -0.0168102495, 0.0100802816, -0.0061221034, 0.0394290909, 0.0246465039, 0.0217611976, -0.0298925191, -0.0005438769, 0.0093139736, 0.0100173792, -0.0449713618, 0.0079590082, -0.0168692525, -0.0198142491, -0.016699234, 0.0385840647, 0.0269723739, -0.047335729, -0.0132640395, 0.0374391302, -0.0126068657, -0.0564927235, -0.0424161479, 0.000878731, -0.0434569009, -0.0213338528, -0.0574337915, -0.0626179576, 0.0071334513, -0.0316151716, 0.012055343, -0.0203832258, 0.0112292152, 0.0330987498, -0.0252189394, 0.0784426033, 0.0062133074, -0.0601551831, 0.0155439563, 0.0345353633, 0.0351984389, 0.0568730682, 0.0121255759, -0.0077162329, 0.0473335683, 0.0308155864, -0.0340670757, -0.0046118414, 0.0224467013, 0.0073975502, -0.0217401795, 0.028015459, 0.036067117, 0.0686173066, 0.0583931282, 0.0795296431, -0.0131246159, -0.0531882942, 0.0161972865, 0.0380826406, 0.0887786299, 0.0025565538, 0.0667340085, 0.0104754735, -0.0400426909, -0.0089802463, -0.0181263778, 0.0004089059, -0.0048184795, 0.0279500242, 0.0660662875, 0.0314446054, -0.041224625, -0.0092508616, 0.0020260639, -0.0741142929, 0.0185900014, -0.0235022027, 0.0400217734, -0.012002958, -0.0713432357, -0.0186266843, 0.0143211894, -0.0148081277, 0.0223147552, 0.0118479682, 0.0426994786, 0.0855445787, 0.027225025, -0.0448770598, 0.0312865265, -0.0363926217, 0.0169922952, 0.0596592315, -0.0260542314, -0.0198786613, 0.0503091328, -0.0819664001, -0.007110395, -0.0239395201, 0.0120619778, 0.012386064, 0.0031327899, 0.0801870227, 0.0586497523, 0.0085634189, 0.0139386384, 0.0391008519, -0.0466320626, -0.0493061692, 0.0009935787, 0.0096033318, 0.0078787114, 0.0439686961, -0.0121773193, 0.0101731587, 0.033211574, -0.0804449767, -0.0311290845, -0.0150963543, -0.0749655291, -0.0778672025, 0.035877768, -0.04306392, 0.0149055999, 0.0327337794, -0.0369338915, -0.0412865207, -0.0066166311, 0.0233631358, 0.0239540674, -0.0203623809, -0.0310858525, 0.0144508136, 0.025789855, -0.0060196612, 0.0653135553, -0.0016142967, -0.0003215901, 0.0399220288, 0.0534821749, 0.0101436758, -0.0409990177, -0.0314669013, -0.0219561048, 0.0205799323, -0.0009444107, -0.0348385274, -0.0105673354, -0.0432524942, -0.0154379271, -0.1040510386, 0.014187173, -0.018453503, -0.0157031026, 0.0165188145, 0.0004576404, 0.0078527033, 0.002484994, -0.0326001421, 0.0025146652, -0.0287395045, 0.0056298506, 0.022417767, 0.003272759, 0.0144966822, -0.04456985, -0.0034827006, -0.0167491473, 0.0504810922, -0.0271066558, 0.0073240213, -0.035776794, 0.0266360696, 0.0227924995, 0.0107504511, -0.0242761839, -0.0162222292, -0.0163595527, 0.0046476205, 0.0744434744, 0.0545021519, 0.0279384442, 0.0115308948, 0.0067606606, 0.0252157655, -0.0204912983, 0.0170141011, 0.01135231, 0.0401897989, -0.0241102334, 0.0023747105, -0.0233299378, 0.0510320254, -0.0002570387, -0.0111463256, -0.0608864874, -0.0297529064, -0.0184840765, 0.0092532355, -0.0066968487, -0.0234640017, -0.0378037691, -0.0127318576, -0.040139582, -0.0121308807, 0.0541989431, -0.037177071, -0.0029066529, -0.0470467694, -0.0432654321, -0.0693441108, 0.0307015106, -0.0194541141, 0.0168931354, 0.0189194679, 0.0141627416, -0.0030680744, -0.0130304564, -0.0186235122, 0.0018993746, 0.0535475053, 0.0131314881, -0.0089129163, -0.0144870318, -0.0593607873, -0.0272239055, -0.0477050133, -0.0438347124, 0.0390172377, 0.0364942215, -0.0007837315, 0.0118194818, -0.0308562219, 0.0093938969, 0.088248536, -0.0030566629, 0.0031864317, -0.0189345758, 0.0488364585, 0.0270181205, 0.0059516085, -0.0259991866, -0.0181778371, 0.0459351502, 0.0272069722, 0.0036236127, -0.0250761397, -0.0619552061, -0.017522512, -0.0309130941, -0.0178876687, -0.0084429104, 0.0063649397, 0.032503657, -0.033379361, -0.0022610994, 0.0991940051, 0.0130992867, -0.0902282372, 0.0024338604, -0.051473666, 0.017641753, 0.0011823298, -0.0114695774, -0.1040164158, -0.0661316887, -0.0139017459, 0.0100593176, 0.044571422, -0.0184027441, 0.0062873475, -0.0750172138, -0.024973508, 0.0218251087, -0.0410438105, -0.0328923501, -0.0534510575, -0.0007088045, -0.0311424825, 0.0097784251, -0.0023518119, -0.0098511931, -0.0199143719, -0.0112004327, 0.0200924259, -0.0668309331, 0.0073255268, -0.0620949082, 0.0531200171, 0.0321837366, 0.0256512426, 0.0073898663, -0.0129374908, 0.0290464908, -0.0647554845, 0.006687501, -0.0264649168, 0.1036298275, -0.0483220294, 0.0361406989, -0.0278115701, 0.037463259, -0.0400842577, -0.0082458742, 0.0332040377, 0.0758874714, 0.0450394489, 0.0142906439, -0.0421459973, -0.0207806099, 0.0538314544, 0.0581034273, 0.0042245104, -0.0299206581, -0.0280315056, -0.0214625299, 0.0183088016, -0.037661545, -0.0110366112, -0.0400944538, -0.0059826109, 0.0098857842, -0.0543842763, -0.0616236068, 0.0172484536, 0.0325283408, 0.0014726348, 0.0000627566, -0.0562797114, -0.0277671404, -0.0389991328, 0.0043581463, -0.0118934792, 0.0524364412, -0.0454313383, 0.0391254947, 0.0527650565, -0.0048203319, 0.0120388959, -0.0069771204, -0.0295491666, -0.0445623733, -0.0182346571, 0.0375954397, 0.0058570988, 0.0518229268, -0.0068779415, -0.0012585089, 0.0847663432, -0.0001392236, -0.0101163676, 0.0196002331, 0.0436417684, 0.0119994609, 0.0139180925, 0.0375204012, -0.0291176755, 0.0006336334, -0.0034813592, -0.0056282072, -0.0123075172, -0.0018714835, -0.0242666658, -0.0766442344, 0.0064769057, -0.001909987, 0.0080843335, -0.0476386137, 0.033682242, -0.0383442938, -0.0030297956, -0.0314187631, 0.0467306897, 0.0513405353, -0.0119429072, 0.0090331314, 0.0224147215, -0.0010688364, 0.0187975653, -0.0201079734, 0.0613181069, 0.0489549935, 0.0293751303, 0.0071393582, 0.0302886777, -0.0245717168, -0.0243904591, -0.0484151579, 0.0514336862, -0.0147603871, 0.0333685912, 0.0158310495, -0.0063466141, -0.0017126689, 0.0291277468, -0.0403899848, 0.0476638265, -0.0218004435, -0.0024872588, 0.0576692559, -0.0152813839, 0.0221378393, 0.0022438038, 0.0013661996, -0.0169502813, 0.03821145, -0.0424521528, -0.0246445201, 0.0114257466, 0.036213018, -0.0001646788, 0.0267059691, 0.0928751156, -0.0139672738, 0.0300573651, 0.0450001322, 0.0130726909, -0.0363461263, 0.0164632741, 0.0328397341, 0.0721295998, -0.0355380587, -0.0041355295, 0.0072064796, -0.0645106658, 0.0338879377, -0.0188971087, -0.0347084589, 0.0151910232, 0.0240015443, 0.0066518299, 0.0067297113, -0.0094022239, -0.0104754176, 0.0288363919, -0.0242457986, -0.060736306, -0.0365435295, -5.739131865e-33, -0.002460188, -0.0140153412, 0.0069063087, -0.0635247603, -0.0581492931, 0.0613775477, -0.0416084118, -0.0114928819, -0.0236303583, 0.0151291341, -0.0146923363, 0.0184229724, -0.0051679909, 0.0585247427, -0.0233163256, -0.0210604277, 0.0307282675, 0.0145751117, 0.0138404854, 0.021841336, 0.0189871658, 0.0330503359, -0.020050196, -0.0563000105, 0.0364655852, 0.0143538481, 0.0143138617, 0.0123289376, 0.0358010493, 0.074542284, -0.0430030152, 0.0442761034, 0.0242837407, -0.0363214426, -0.0250317547, 0.057589829, -0.0903557912, 0.0038899251, -0.033699479, -0.040083915, -0.0771853477, -0.0622908995, 0.0195946321, -0.0054547242, 0.0234692991, -0.0288235378, 0.0596923232, -0.0253090393, -0.0241820794, 0.0229323413, -0.0520363264, 0.039960295, -0.0019281987, 0.0003451325, 0.0359232537, -0.0058266521, 0.0523994863, 0.0530455485, -0.0878925771, -0.0218380261, -0.0214892123, 0.0152557427, 0.0050363671, 0.0059917909, 0.0045374488, 0.0300826766, -0.0191511046, -0.0037617427, -0.0322570652, -0.0365084708, -0.0083962977, 0.0088051073, 0.0467118397, 0.0607904196, 0.0479932167, -0.0145254238, -0.0488371514, 0.0143947266, -0.0015903169, 0.0022065011, 0.0099718645, 0.0308047403, -0.0356473364, -0.0154885408, 0.0062685166, -0.0478158519, -0.0223782454, -0.0556127727, 0.0164435785, 0.0476736315, -0.0180096515, -0.0071760016, 0.0288551003, -0.0209990311, 0.0035182813, 0.0523897037, 0.0271514226, 0.0180134699, 0.0206295718, 0.0246402565, -0.0644122064, -0.0049370094, 0.0498109385, 0.0436376482, 0.0168330874, -0.0113856401, 0.0578997396, 0.0228003766, -0.0641535148, -0.0062504252, -0.018329462, -0.0254826937, -0.0162639245, 0.0430877469, 0.0113903247, 0.0018624521, -0.004396305, 0.0671338886, 0.0187398158, 0.0032898139, -0.0183774102, -0.0495598428, -0.0135810142, 0.0008177392, -0.0156380571, -0.0002126732, -0.0257615056, 0.0537746921, 0.0503848195, -0.0635199472, -0.0017889766, 0.0112197353, 2.29e-7, 0.0033256488, -0.0105091929, 0.054432407, -0.0443101823, 0.028218111, 0.0310611855, 0.0091719646, 0.0738166124, -0.0443704501, 0.0144821173, 0.0077010421, 0.029146336, 0.0229880493, -0.0075289952, -0.0882340744, 0.0240979902, -0.0485898182, 0.0043757167, -0.0417792238, 0.002388943, 0.0600436926, 0.121859543, 0.0134261055, 0.0326234661, 0.0160053745, -0.0406677239, 0.0483186394, -0.0132645098, 0.0418327078, -0.030882284, -0.047673054, 0.0254254546, -0.0388356037, -0.0447736867, -0.0197798144, 0.0426395945, -0.0207586326, 0.0737477094, 0.0222311709, -0.0520898029, 0.0225913599, 0.010302959, -0.0336654894, -0.0233865026, 0.0716368109, -0.039225556, -0.0278188307, -0.0026761089, -0.0074869297, -0.0116118034, 0.0303672329, 0.0210572239, -0.0220862329, -0.0081715994, 0.0073215719, -0.0232180823, -0.0028090817, -0.1031137928, -0.0298040882, -0.0101316646, -0.0621484742, 0.0206660517, -0.0514777377, 0.0148205878, 0.0546021871, -0.0486275144, 0.0347148292, 2.181355224e-34, 0.0262917783, -0.0322066098, -0.0105383089, 0.0363023467, 0.0187550653, -0.0380798094, -0.0112238778, -0.0447751991, 0.0625484362, -0.0650375634, -0.0351265259 ]
http://arxiv.org/abs/2402.01828v1
http://arxiv.org/pdf/2402.01828v1
Retrieval Augmented End-to-End Spoken Dialog Models
2024-02-02T18:23:09
2024-02-02T18:23:09
Mingqiu Wang, Izhak Shafran, Hagen Soltau, Wei Han, Yuan Cao, Dian Yu, Laurent El Shafey
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
We recently developed SLM, a joint speech and language model, which fuses a pretrained foundational speech model and a large language model (LLM), while preserving the in-context learning capability intrinsic to the pretrained LLM. In this paper, we apply SLM to speech dialog applications where the dialog states are inferred directly from the audio signal. Task-oriented dialogs often contain domain-specific entities, i.e., restaurants, hotels, train stations, and city names, which are difficult to recognize, however, critical for the downstream applications. Inspired by the RAG (retrieval-augmented generation) paradigm, we propose a retrieval augmented SLM (ReSLM) that overcomes this weakness. We first train a speech retriever to retrieve text entities mentioned in the audio. The retrieved entities are then added as text inputs to the underlying SLM to bias model predictions. We evaluated ReSLM on speech MultiWoz task (DSTC-11 challenge), and found that this retrieval augmentation boosts model performance, achieving joint goal accuracy (38.6% vs 32.7%), slot error rate (20.6% vs 24.8%) and ASR word error rate (5.5% vs 6.7%). While demonstrated on dialog state tracking, our approach is broadly applicable to other speech tasks requiring contextual information or domain-specific entities, such as contextual ASR with biasing capability.
Retrieval Augmented End-to-End Spoken Dialog Models: We recently developed SLM, a joint speech and language model, which fuses a pretrained foundational speech model and a large language model (LLM), while preserving the in-context learning capability intrinsic to the pretrained LLM. In this paper, we apply SLM to speech dialog applications where the dialog states are inferred directly from the audio signal. Task-oriented dialogs often contain domain-specific entities, i.e., restaurants, hotels, train stations, and city names, which are difficult to recognize, however, critical for the downstream applications. Inspired by the RAG (retrieval-augmented generation) paradigm, we propose a retrieval augmented SLM (ReSLM) that overcomes this weakness. We first train a speech retriever to retrieve text entities mentioned in the audio. The retrieved entities are then added as text inputs to the underlying SLM to bias model predictions. We evaluated ReSLM on speech MultiWoz task (DSTC-11 challenge), and found that this retrieval augmentation boosts model performance, achieving joint goal accuracy (38.6% vs 32.7%), slot error rate (20.6% vs 24.8%) and ASR word error rate (5.5% vs 6.7%). While demonstrated on dialog state tracking, our approach is broadly applicable to other speech tasks requiring contextual information or domain-specific entities, such as contextual ASR with biasing capability.
[ 0.0097549129, 0.0700295568, 0.0159913227, 0.0522064194, 0.0178400706, -0.0235948451, 0.0150897605, -0.0223145541, 0.0188360922, -0.0673104823, -0.0646580979, -0.0460148677, -0.0347727872, 0.0337720923, 0.0169574562, -0.0315033644, 0.0497836657, -0.0515900515, 0.0005919732, 0.0176496208, 0.0327080935, 0.0070226737, -0.0222285688, 0.0382378772, -0.0261196177, 0.0185229816, -0.0240412056, 0.0374675058, 0.0114537096, -0.033072181, 0.0223399494, -0.0055560628, 0.0707647428, 0.0243572816, 0.0000018695, -0.0544904061, -0.0363880955, 0.0126503129, -0.0691511258, -0.0279169772, -0.0022193876, 0.0169947259, -0.0005749376, 0.0536271632, 0.0113184685, -0.0255535021, -0.0011560848, 0.0648274571, 0.0411664285, 0.0848931447, -0.0036543733, -0.0282138083, 0.0230863821, -0.0420428403, -0.0061552487, -0.0578316003, -0.0119991954, -0.0252154525, -0.0271587651, 0.047402177, 0.0312036127, 0.0375754125, 0.0039368235, 0.0035059135, -0.011850277, 0.0010411055, -0.0416258052, -0.0004798582, -0.0317037478, 0.0684586167, 0.0302059129, -0.0063048615, 0.032133583, 0.0122741545, -0.0176680852, -0.0262987558, -0.0426804237, -0.0000879773, -0.0013839965, 0.0178584047, -0.0369515531, 0.0193612706, 0.0129253492, 0.0113713313, -0.0380248651, 0.0314289145, 0.0143201584, -0.0308706574, -0.0105194421, -0.0139757227, -0.0022755223, -0.0355655923, 0.0183230788, 0.019098958, -0.0819579437, 0.0316938981, -0.0172660314, -0.003352907, -0.0007941109, -0.0108727422, 0.0151234688, 0.0294099338, -0.0742897317, 0.0414342023, 0.0058818911, 0.0333906561, -0.0173787978, -0.0202837326, -0.0322342068, -0.0254647322, -0.0167923886, 0.0070908028, -0.0501859747, 0.0296450406, -0.0693759024, -0.0346860439, -0.0046780668, 0.0115224896, -0.0099418722, 0.0014657029, -0.006582248, 0.041296199, -0.0552511513, -0.031269487, -0.0087257354, 0.030791482, 0.0029891867, 0.0580281802, 0.0313837938, -0.0238963272, -0.0253913626, 0.0256422777, 0.0481828004, -0.0162950922, 0.0069318642, 0.050798241, -0.0316882469, -0.0449319892, -0.0365969315, -0.0328345113, -0.0275286064, -0.0716077611, -0.0151911993, -0.0245030969, 0.0308520459, -0.0187649727, -0.0184282418, -0.0250389818, 0.0288716275, 0.0039108675, 0.0175228771, 0.0333262607, -0.0020700353, 0.0012262576, 0.0573447794, 0.007818914, 0.0024321193, 0.0462259799, 0.0238443781, 0.0345035978, 0.026463192, 0.007277057, -0.0003339962, 0.0331339836, 0.0418216102, 0.0137331802, -0.0120021338, 0.0278197154, -0.0130940108, -0.0047266707, 0.0176760703, 0.0608609989, -0.043861758, 0.0120206112, 0.0441221595, 0.0449057594, 0.0649607405, -0.0168413669, -0.0010401248, 0.035317935, -0.0270985737, -0.0271064248, -0.0195419379, -0.0049012243, -0.0238192379, 0.0210510399, 0.076025486, 0.0213963035, -0.0179040115, -0.0263291989, 0.0211427808, -0.0107604852, -0.0039060286, 0.0604972914, 0.0563286021, 0.0205407683, -0.0856274366, 0.0430614874, -0.0114887068, -0.0617027767, -0.001858265, -0.0450639091, 0.0058222059, 0.0484628305, 0.0318361372, -0.0293282308, -0.0215514749, -0.0391450524, -0.0026031593, 0.0436343886, 0.0114035951, 0.0026768739, 0.0643811524, -0.0628417507, -0.0185355917, 0.034636803, 0.013995708, 0.0548507869, 0.0148352915, 0.0134385191, 0.0627145693, 0.017494956, 0.0261872131, -0.0290140007, 0.0128057357, -0.0252047088, 0.0132067278, 0.0039189188, 0.0413041413, 0.0490720607, -0.0436080769, -0.0072312118, 0.0489923805, -0.0137245301, -0.0039994223, 0.0341652818, -0.0856767073, -0.0375088751, 0.0198513865, 0.0496630594, 0.0314927213, 0.0118989451, -0.0063305139, -0.0863590986, 0.0180073306, -0.0326597504, 0.052559495, -0.0707221627, 0.0322932974, 0.0504502915, 0.0069626383, -0.0255291834, 0.0183270816, 0.0358811356, -0.0067472169, 0.0339797884, 0.0436531939, 0.0049900794, -0.083787851, -0.0131005654, 0.003621981, -0.0130639924, 0.0489658825, 0.0360432342, -0.0312338229, -0.0442562923, -0.0238072239, -0.1070961654, 0.0196734443, -0.0303282365, -0.0042051305, -0.0226634312, 0.0143103227, -0.0060502486, -0.0439157858, -0.0094910562, -0.0468732789, 0.0574139245, -0.025603693, -0.0380643122, 0.0524823852, -0.0145271318, -0.0645775124, 0.0365469791, 0.0256958418, -0.0022980173, -0.0294211563, -0.0053886115, -0.053488154, 0.0368157886, -0.0082678702, 0.0477328114, -0.0418327153, -0.0084715122, -0.0013661406, -0.0090177422, 0.0074836616, 0.0419203229, 0.0261777043, 0.0040910398, -0.0158818848, -0.055696141, -0.0942835882, 0.0493123494, 0.0034193066, -0.0010537017, -0.0263509341, 0.0431861356, 0.0277055632, 0.0240682792, 0.0103808744, 0.0223251618, 0.0070039644, -0.0241548046, 0.0197480805, -0.0343791582, -0.0318333954, -0.042791497, -0.0607371926, 0.059905421, -0.012168779, -0.0287393536, 0.0202621482, -0.0826734751, -0.0271806121, -0.0377461091, -0.0406529382, -0.0422280319, 0.0421120599, -0.0320792645, 0.0163754765, 0.003594981, -0.0557000265, -0.0091045247, 0.0033179314, -0.0107655181, -0.0761768296, 0.0863624588, 0.0011696697, 0.0161875933, 0.001277949, -0.0665296391, -0.0612383485, -0.0079187714, -0.0189793762, -0.0176219735, -0.0156157361, -0.0073587317, -0.0388217978, 0.0077665444, 0.0220747273, 0.0477540344, 0.0125336517, 0.0081652403, -0.0261231083, 0.0362157412, 0.0679504648, 0.0552693084, -0.0367860459, -0.0045917328, 0.0353205055, 0.0187469609, 0.0561258383, -0.0286889616, -0.026101714, -0.0171588045, 0.0414260514, 0.0138600804, -0.0144385425, 0.0314847454, 0.0390033908, -0.0719040185, -0.0253791101, 0.0950064212, 0.013156496, -0.0074101547, -0.0622185692, 0.000722467, 0.0067773168, 0.0321241207, 0.0207433105, -0.0641620383, -0.0549945012, 0.0570055619, 0.0343443528, 0.0138283633, 0.0263246298, -0.0000041642, -0.1073661596, 0.0458126925, 0.0208144952, -0.0440961607, -0.0410610847, -0.024558248, 0.0001737859, 0.0265079308, 0.0435268581, 0.0381616391, -0.0239099357, -0.0229197312, 0.0346828178, 0.0005470216, -0.015601892, 0.0081416443, -0.034101665, 0.0702531114, 0.0730653927, 0.0217379183, 0.0211585686, 0.0019273501, 0.023771679, -0.0029123719, 0.0155541366, 0.0134727499, 0.0393586047, -0.0399067998, -0.0166394599, -0.0146746915, 0.0330077708, 0.0126473894, -0.0117313834, 0.0154394656, 0.0079436908, -0.0389544182, 0.0422051027, -0.0106732482, 0.0027782656, 0.0252819005, 0.0428887755, 0.0072324108, -0.0064504319, -0.006861934, -0.0022307425, 0.0124680912, -0.0236675348, 0.0008170115, -0.0038753918, 0.0040593026, 0.0110538546, -0.0399756283, -0.030825587, -0.0183983203, 0.0390007235, 0.0137478933, 0.0185124408, -0.0115878098, 0.0027541197, -0.0426317006, 0.039483007, -0.0450822301, 0.0269383676, -0.0677710772, 0.0030700583, 0.0668228194, -0.0764628723, -0.0344558433, 0.0532758906, -0.0613639019, -0.0582161136, -0.0261562094, 0.039635282, 0.0179447848, 0.0804868117, -0.0058354987, -0.021227086, 0.0394827686, 0.0024877477, -0.0730022639, -0.0035541886, 0.0551079102, 0.0303726867, -0.0396051556, 0.0133141512, -0.0868972838, 0.0509071127, -0.0374696851, 0.036672309, -0.028654512, -0.0676304549, -0.0203657597, 0.0083122794, 0.0713934079, 0.0233677533, 0.0042100032, -0.0597588606, 0.0779898092, 0.000277951, 0.0119337551, -0.0488364846, 0.0000170996, 0.0078893164, -0.0218372717, 0.007037336, -0.0074928799, -0.0189989042, 0.0393300541, -0.0224031042, 0.003459116, 0.0071367165, -0.0080578998, 0.0147571182, 0.0054533766, -0.0097244969, 0.054023508, 0.0420300663, 0.0464789905, -0.0187600348, 0.0738568082, -0.0067071095, -0.0146366972, -0.0025225151, 0.0060687931, -0.0548457094, -0.0402486734, -0.0328199901, 0.0402861573, 0.0229532216, -0.0093004163, 0.05430061, 0.0086217178, 0.0228845682, -0.0411039367, 0.036239434, -0.0110724764, -0.0448967144, 0.0353069305, 0.0164131392, -0.0164076295, 0.0432896018, 0.0305364709, 0.0223039947, 0.028206829, -0.0167468302, 0.0122141307, -0.0452791899, -0.0608732067, 0.0084081162, 0.0471379198, -0.0200494062, -0.0150542464, -0.0137774292, -0.0700953454, 0.025167536, -0.0066084662, -0.0223423541, -0.0330238305, 0.0213397536, 0.0258581527, -0.0122646131, -0.0078376103, -0.0056080329, -0.0408974588, -0.0258261971, -0.0142762959, 0.01139702, -5.952675842e-33, -0.0509423316, -0.0113240592, 0.0464155562, -0.0332785547, -0.0441166312, -0.0039015955, -0.0388926491, 0.0098078968, -0.00957976, -0.0432382077, -0.0124813644, 0.0221575908, 0.021718001, 0.0656038746, -0.0378743298, -0.0109600089, 0.0887171999, 0.0010310268, 0.0026926373, 0.0056427466, 0.0432523713, 0.0590247363, 0.0121627217, -0.0636212975, -0.0085468125, -0.0213670097, 0.0059284437, 0.0015885236, 0.0114349294, 0.0437738076, 0.0050131842, 0.0357518904, -0.0201225895, -0.0486439876, -0.0139107686, 0.0426319912, -0.0743322968, 0.0055643641, 0.0111183412, 0.014460911, 0.0167699419, 0.0047110748, 0.0018022803, -0.0024512738, 0.0148946419, 0.0171062909, 0.0052481261, -0.0040928293, -0.0232369211, -0.012160968, -0.0212518424, 0.0179889668, 0.0000150086, -0.0516759865, 0.0300636645, 0.0511424392, 0.0478713512, -0.0099602798, -0.0444101542, 0.0022541499, -0.0031240326, 0.0072053978, 0.0260949656, 0.0581800677, -0.0184593014, 0.0654062852, 0.0374724753, -0.0292204786, -0.02900628, -0.0738713592, 0.0140271131, 0.0618454702, -0.0397115014, 0.0429731272, 0.0073463176, -0.0191204157, -0.0234277025, 0.0202140845, 0.0102574918, 0.030349141, 0.0156175904, 0.0294388812, -0.0403740369, 0.007338251, -0.0552702583, 0.0083110491, -0.0341279879, -0.0276535936, 0.0907152742, 0.0859324038, 0.0011750055, 0.0092070447, 0.0747412145, 0.0015030296, -0.0003492796, 0.0269598458, -0.0208350793, -0.034806598, -0.0497899577, 0.0588097721, -0.0479876176, -0.0350423343, 0.0797816515, 0.0278418195, -0.0209038835, -0.0276425239, -0.0278602298, 0.0198589973, -0.0705330968, 0.0380320735, -0.0292326584, 0.057106398, -0.0298909415, 0.0259130839, 0.0404234566, -0.0062669637, -0.0138984732, 0.085422948, -0.0121980989, 0.0016902181, -0.0462929085, -0.0655728504, 0.0134986825, 0.0004431099, -0.0347378589, 0.0392302163, 0.0260184221, -0.0361651145, 0.0153741734, -0.0219740346, 0.0082088718, -0.0035378651, 2.71e-7, -0.0252930801, 0.0033678249, 0.034733966, -0.0046734679, 0.0009944083, 0.037748035, -0.0161710139, 0.0087026535, 0.0439869016, 0.0084706433, -0.0072789527, 0.0044424329, 0.0697436482, 0.0135717755, -0.1069470048, -0.0156777855, -0.0618038774, 0.0197358932, -0.0322597884, -0.0403519124, 0.0252762325, 0.0925169811, -0.0238223765, -0.0202914719, 0.023928551, -0.047408402, 0.0592823885, -0.0259982347, -0.0121315615, -0.000648471, -0.0018449114, 0.047361847, -0.0301680472, -0.0358625129, -0.0196767524, 0.0611060038, 0.0038713522, 0.0690205693, 0.0100635476, -0.0911520496, -0.0134151932, 0.0493590608, 0.0070721102, -0.0168416165, 0.0506288595, -0.021741312, 0.0132173998, -0.0445749573, -0.0638102889, -0.0306032468, -0.0199857745, 0.0030919223, 0.0040873401, -0.0020359454, 0.0047788611, 0.004823938, 0.0068201842, -0.1331802011, -0.0234061815, -0.0054590683, -0.0648761541, -0.017876653, -0.0486509316, -0.0112258457, -0.014483016, -0.0308764912, -0.0065756706, 2.163108429e-34, 0.0352606177, -0.0078221951, 0.0057779839, 0.0503623113, 0.0398076735, -0.0225605462, -0.0352197178, 0.0074477624, 0.0159100611, -0.0569690205, -0.0219376143 ]
http://arxiv.org/abs/2402.01826v1
http://arxiv.org/pdf/2402.01826v1
Leveraging Large Language Models for Analyzing Blood Pressure Variations Across Biological Sex from Scientific Literature
2024-02-02T18:15:51
2024-02-02T18:15:51
Yuting Guo, Seyedeh Somayyeh Mousavi, Reza Sameni, Abeed Sarker
cs.CL
cs.CL, cs.AI
Hypertension, defined as blood pressure (BP) that is above normal, holds paramount significance in the realm of public health, as it serves as a critical precursor to various cardiovascular diseases (CVDs) and significantly contributes to elevated mortality rates worldwide. However, many existing BP measurement technologies and standards might be biased because they do not consider clinical outcomes, comorbidities, or demographic factors, making them inconclusive for diagnostic purposes. There is limited data-driven research focused on studying the variance in BP measurements across these variables. In this work, we employed GPT-35-turbo, a large language model (LLM), to automatically extract the mean and standard deviation values of BP for both males and females from a dataset comprising 25 million abstracts sourced from PubMed. 993 article abstracts met our predefined inclusion criteria (i.e., presence of references to blood pressure, units of blood pressure such as mmHg, and mention of biological sex). Based on the automatically-extracted information from these articles, we conducted an analysis of the variations of BP values across biological sex. Our results showed the viability of utilizing LLMs to study the BP variations across different demographic factors.
Leveraging Large Language Models for Analyzing Blood Pressure Variations Across Biological Sex from Scientific Literature: Hypertension, defined as blood pressure (BP) that is above normal, holds paramount significance in the realm of public health, as it serves as a critical precursor to various cardiovascular diseases (CVDs) and significantly contributes to elevated mortality rates worldwide. However, many existing BP measurement technologies and standards might be biased because they do not consider clinical outcomes, comorbidities, or demographic factors, making them inconclusive for diagnostic purposes. There is limited data-driven research focused on studying the variance in BP measurements across these variables. In this work, we employed GPT-35-turbo, a large language model (LLM), to automatically extract the mean and standard deviation values of BP for both males and females from a dataset comprising 25 million abstracts sourced from PubMed. 993 article abstracts met our predefined inclusion criteria (i.e., presence of references to blood pressure, units of blood pressure such as mmHg, and mention of biological sex). Based on the automatically-extracted information from these articles, we conducted an analysis of the variations of BP values across biological sex. Our results showed the viability of utilizing LLMs to study the BP variations across different demographic factors.
[ 0.0049384232, 0.0854228437, 0.0007384067, 0.0028861146, 0.0002329752, 0.0181041881, 0.0347655751, 0.0278634094, -0.0061306562, 0.0003927294, 0.0239290576, -0.0603706837, 0.0246534646, 0.0292100944, -0.0071780477, -0.0425423719, -0.0227811672, -0.0028696663, 0.1057922021, -0.0222994853, -0.0105170533, -0.0092527661, 0.0101195062, 0.0353232548, 0.0516353287, -0.0259250719, 0.0583971962, -0.0315930881, 0.0188747086, -0.0444002375, -0.00919268, 0.0662951544, -0.0020316187, -0.0057013389, 0.0000018414, -0.0832929239, -0.0039375881, 0.0712630227, 0.023456702, 0.0096780751, 0.074693121, -0.0513952263, -0.0152819157, 0.0002157266, -0.0225370582, -0.068562232, 0.0385145806, 0.000442909, -0.0051856148, 0.0127697922, -0.0237517562, 0.0077311178, -0.0256869756, -0.0577025376, 0.0400914885, -0.0576646961, 0.0728674531, 0.0171594843, 0.0248820521, 0.0332628712, -0.0105818706, 0.0309420004, -0.0373975076, 0.0417160727, -0.0289030615, 0.0271852277, -0.0347327739, -0.0311307348, 0.0016981227, 0.0560842715, -0.0195726082, 0.0191183332, 0.0591893829, 0.0095200837, 0.0024815793, 0.0084143709, -0.0758729428, 0.0063606454, -0.0332134292, -0.0193677656, -0.0063793706, -0.0376105122, 0.0215167943, -0.0276218504, -0.0232507903, 0.0236519091, 0.0153381024, -0.0153463846, 0.0259314124, -0.0030535606, -0.0399210677, -0.0399847515, 0.0409927182, -0.0229875371, 0.0041931071, -0.0018528999, 0.0225670636, -0.0519240946, 0.0794828162, -0.0721313879, 0.0517060943, 0.0340511352, 0.0475135893, 0.0283075254, -0.0075603547, -0.0052408371, -0.0455808453, -0.0093444632, -0.0485790819, 0.0132211214, -0.0645989254, -0.0097522289, 0.0068351687, 0.0006602523, 0.0140460292, 0.0216405876, -0.1118842363, -0.0212257914, -0.0189815275, -0.0248253196, -0.0072489833, 0.0031357184, 0.0022839888, 0.0047498932, 0.0038294173, 0.048875019, 0.0024225547, 0.0247425605, -0.0384193063, -0.0206216462, 0.0283403415, -0.0152250547, 0.0232201442, 0.0149803609, 0.0320400149, 0.0332024209, 0.0134922508, 0.0257755537, 0.0119085517, -0.0154953618, -0.0379182808, -0.0051664542, -0.0071028015, -0.0937775001, 0.0680201128, 0.0303477552, 0.0168516953, -0.0324185006, -0.0002088717, 0.010880298, -0.0353988819, 0.0309578404, -0.0148236565, 0.0280301664, 0.0451731831, -0.0040848753, 0.013692976, 0.0727744699, 0.0511971749, -0.0554903187, 0.0166764781, -0.0204160344, -0.014378801, 0.0563588701, 0.024841575, -0.0255741421, -0.0355522372, 0.0095361983, 0.0324265845, 0.058431156, 0.0166579019, 0.032254152, 0.0205225423, -0.0025679851, 0.0317041539, 0.0894271508, 0.0124210957, 0.0664162338, 0.0245084148, -0.0434960537, 0.0110440319, -0.0386108607, -0.0108625628, -0.0236340482, -0.0067294016, 0.028747417, -0.0312043037, 0.0176883359, 0.0091248024, -0.0341611765, -0.0546012446, -0.0023812097, -0.0145233525, -0.0411475748, 0.0490463078, -0.040908739, 0.014558265, 0.0346941054, 0.0181538146, -0.0356714316, -0.0000615123, 0.0091391252, -0.0026528966, 0.0132048614, -0.0111014564, -0.0380535685, 0.0470712855, -0.0207234267, 0.0247713942, 0.0102889445, 0.015971452, 0.0084511479, 0.0290272348, -0.0316711552, -0.0023396271, 0.0356863141, 0.0260069631, -0.0048913262, -0.0114486478, 0.0393285565, 0.0028003685, -0.0398011543, -0.0712843835, 0.0165669285, -0.1002538353, -0.007328352, 0.0335413702, -0.0355216675, 0.0127965566, -0.0252974089, -0.0136891697, 0.0344593152, -0.0180924255, -0.046273116, -0.0476947613, -0.0260503087, 0.0497963168, 0.0318891369, 0.0353151783, -0.0864492208, -0.0158404876, -0.0274136979, -0.0383087024, -0.0128222927, -0.0173295718, -0.028808536, 0.0112533728, 0.0115324315, -0.0219767895, 0.0175881926, 0.0218401272, -0.0223663896, -0.0043984661, 0.0306005627, -0.0023930813, 0.0318989493, -0.0545936488, 0.007021836, -0.0172891356, -0.0164625347, -0.0098260855, 0.0205638483, 0.0070399069, 0.0212377012, -0.0068384823, 0.0000398941, -0.0307342783, -0.0752007291, -0.0026221729, 0.0319246016, 0.0256339703, 0.0086912354, 0.0280588102, -0.0340608917, 0.0061383029, -0.0206626058, -0.0059436485, 0.0187836792, 0.0530369356, 0.0509283356, -0.0152210556, 0.0339198709, -0.0304705016, -0.0142693361, -0.0579093955, 0.0362070985, 0.0346450992, 0.0113851922, 0.033067245, 0.0019420115, -0.0479244292, -0.0268203765, 0.0259843841, -0.0438111909, 0.0056868321, 0.0141275246, 0.0730860308, 0.0465447232, 0.0065251184, -0.043813888, 0.0458373353, -0.010750182, -0.0084140571, -0.0014805656, -0.0524554253, 0.0106536057, 0.0212171879, -0.0548736453, -0.0215240978, 0.057994578, 0.0097505748, -0.0078772539, 0.0089930817, 0.0207689647, -0.0350030027, 0.008086388, -0.0928170085, 0.0175448079, -0.0301253535, 0.0512880683, 0.0186064634, -0.0283304919, 0.0465110652, -0.0045967973, 0.0276962835, -0.045671057, 0.0011421546, -0.0446852297, -0.0320976228, -0.0301480256, 0.0095373495, 0.0310183018, 0.0050667012, 0.0070915469, -0.0005226679, 0.0350328535, -0.0541522242, 0.0641796142, -0.057289511, 0.020872429, 0.0191360451, -0.0323908888, -0.0060147219, -0.011710804, -0.0424473695, -0.0016853836, 0.0325759873, -0.0329208337, -0.0146912131, 0.0490955785, 0.0119970087, 0.0281061437, -0.0231980756, -0.0169670079, 0.0072912415, -0.0310554951, 0.064976722, -0.0391945355, -0.0001683858, -0.0327088311, 0.03053388, 0.0469506085, -0.0172459725, 0.0327799842, 0.0036473272, 0.050041385, -0.027310472, -0.0260948297, -0.0097900396, -0.0249739829, -0.0279586948, -0.0293092281, 0.0159580465, 0.1210441962, 0.0291663669, -0.0520376302, -0.0237984844, -0.063059479, -0.0083713476, -0.0166930296, 0.0019027462, -0.0416280255, 0.0052726143, 0.008206646, 0.0412484035, 0.0017637978, -0.029848, -0.0270937961, -0.0384735465, 0.0116457371, 0.0356065147, -0.037377689, 0.0306811426, -0.083969593, 0.0310976151, -0.0582488477, -0.0136987716, -0.0320838913, -0.0262153596, 0.0077501372, 0.0036635883, -0.1004030108, -0.078851752, 0.0591952503, -0.0224879868, 0.0331119411, 0.0449221544, 0.0482050814, -0.0216905493, 0.0098281465, 0.0400211029, -0.026862165, -0.0412102602, -0.0446517691, 0.0558368899, 0.0587423071, -0.0076095909, -0.0711328611, 0.0912941322, -0.0267561097, 0.0220899805, 0.0050754105, 0.0505475849, 0.0363264494, -0.0453559831, -0.0393875204, 0.0287307631, 0.0189768691, 0.0614567325, -0.0106821936, -0.0140585285, -0.0119988639, 0.0004712737, -0.0332898051, 0.0579901263, -0.0693514869, -0.0191933755, -0.0388963521, -0.0595861077, -0.0065927249, 0.0058617848, 0.0654890463, -0.0101434598, 0.0361636579, 0.0103143752, 0.0913448036, -0.0191333424, -0.0195508413, 0.0435174555, 0.0237763021, 0.0041803792, -0.0074111251, 0.0039948332, 0.0659335703, 0.0488199703, -0.0276290029, 0.0735206157, -0.0550035648, -0.0137339197, -0.0127645917, 0.038615454, 0.0284770653, 0.0038410965, 0.0014413799, -0.0154764429, 0.0248848815, 0.0188326258, -0.0070256647, -0.0049421461, -0.0653113797, 0.0135839051, 0.0271984879, -0.0072485902, -0.003067127, 0.0455929637, -0.025102431, -0.0091599515, 0.0009911549, -0.0353312641, 0.0319798253, 0.0477387682, -0.0017908107, -0.010319625, -0.0280678794, -0.0267032478, -0.0056686038, -0.0686598867, 0.0134547483, -0.0248038135, 0.0372001491, -0.0100403968, 0.0080164373, -0.0252421219, -0.0472451448, -0.0470757298, -0.0337619372, -0.0756671727, 0.0691052526, -0.0245168339, 0.0073555871, 0.0512223281, -0.0305939224, 0.0132711791, -0.0066806069, -0.0158733148, 0.0374933928, 0.0006964497, 0.016949838, -0.024383368, 0.0267708451, -0.0392364301, 0.0062348084, -0.0585023388, 0.0110385399, -0.0007861963, 0.0636098385, 0.0066468315, -0.0022212754, 0.0412201621, -0.0180594493, -0.0156202493, -0.053769391, 0.0004925273, -0.0210729595, 0.0701669604, 0.0602020025, 0.0023186824, -0.0137481168, -0.0430551618, 0.0841225237, 0.032532312, -0.0022318137, 0.024583621, -0.106807217, -0.0002294068, 0.0184874833, 0.0109544815, -0.0163914803, -0.0895249918, -0.0029651085, -0.074848637, -0.055474598, 0.0383158475, 0.021114463, -0.0220012479, 0.0190832298, -0.0769813731, 0.0752257705, -0.0617663376, -0.0371651649, -0.0210408568, 0.0549781546, -0.0535370894, -0.0222032089, 0.0084264418, -5.403398189e-33, 0.003429126, -0.0228224546, -0.0034184365, -0.0258411113, 0.004262466, 0.0476620197, -0.0354321674, 0.0124980323, 0.0394765772, 0.091260992, -0.0275649577, -0.0127846962, 0.0380922258, 0.0055446499, 0.0377784111, -0.024713859, 0.0064275302, -0.0036279273, 0.0293990802, -0.0327456407, 0.0008280274, 0.0475599878, 0.0220888462, -0.0634412318, 0.0396180786, 0.0308421254, 0.0070442837, -0.0299105272, 0.0193887334, 0.0504927561, -0.007358592, 0.079103075, 0.009203814, -0.0080466615, -0.0055048517, 0.012538203, -0.0662766993, -0.0341356993, 0.0407679714, -0.056493748, 0.0346410014, 0.0197153687, 0.0649025738, -0.0013773609, -0.0189509392, -0.0608090796, 0.0465672947, -0.0797631368, 0.0021529512, -0.0142550375, -0.0186038669, 0.0183548816, -0.0017861783, 0.0538165085, 0.0201314874, 0.0003784309, -0.0742907003, 0.0191208143, -0.0623526163, -0.0139544802, 0.0609541088, 0.0268503781, -0.0061034667, -0.0165121313, 0.0502071083, 0.004274955, -0.0070328107, -0.0396038666, 0.001242705, -0.0183503348, -0.0207116231, 0.0106554022, 0.0438227542, 0.0416460931, 0.0134062786, -0.042188514, -0.101905182, 0.0406762958, -0.0013522278, -0.0243207179, 0.0035368542, -0.0145827699, -0.0028381099, 0.0006607279, -0.0036450268, -0.0211849045, -0.0171889439, -0.0483476147, -0.0194547661, -0.0130076231, 0.0020489569, 0.0100624971, 0.0311047845, -0.0276069492, -0.0651408434, -0.0179152787, 0.0379235335, -0.0391441472, 0.0210270621, -0.0025761132, -0.0146360742, 0.0071653384, -0.0001956041, 0.0353143699, 0.0349418893, -0.0124951061, -0.01652628, -0.0161623638, -0.0489661396, -0.0311926045, -0.0164117776, -0.003267962, -0.016271662, 0.0459253713, -0.0002054527, -0.010392148, 0.0172840524, 0.0386607014, 0.0392924659, 0.0202348325, -0.0127548939, 0.0480211154, -0.0081231445, 0.0175740756, -0.0237583164, -0.0180564113, 0.0048222933, 0.0005823104, 0.0416921005, -0.0150206704, 0.0041070557, -0.038942717, 2.525e-7, 0.0718091205, 0.0511524417, 0.0131409848, -0.0053386046, 0.0204466376, -0.0039917924, -0.0402005129, 0.0030845595, 0.0553651638, -0.0228686184, 0.0274076127, 0.000141482, 0.022772016, 0.0412966944, -0.0224667247, -0.0116494671, -0.0546624847, -0.0370711647, -0.0193815045, -0.0290054753, 0.0251594093, 0.0630279109, -0.0463000163, -0.0214115977, -0.0052276263, 0.0270793699, 0.0339258723, -0.0497424826, -0.0162847321, 0.0669484586, -0.0126737263, -0.0100500938, 0.0431455784, 0.051566001, -0.0153407557, -0.0173091926, 0.0340218209, 0.073936753, -0.0232177526, 0.088164784, 0.0304998662, -0.0116480496, 0.033192195, -0.0814162269, 0.0482510999, -0.05723463, -0.0544911362, -0.0757062584, -0.0021746417, -0.0305764489, 0.0774954185, -0.0316178165, 0.0019203268, 0.0278693233, -0.0018364906, 0.0366411917, -0.0161988083, 0.0039062719, -0.0002113647, 0.0198170766, -0.0423112623, -0.0271757226, -0.0006160414, 0.0259176791, -0.0155280093, -0.0523760319, 0.0182122774, 2.129762731e-34, 0.0308202282, 0.0308853779, -0.0316558369, -0.0125481477, 0.0357555598, -0.0134012904, -0.0154062593, 0.0172355659, -0.0218695402, -0.0710123777, 0.003845199 ]
http://arxiv.org/abs/2402.01592v1
http://arxiv.org/pdf/2402.01592v1
Towards Sustainable Workplace Mental Health: A Novel Approach to Early Intervention and Support
2024-02-02T17:35:49
2024-02-02T17:35:49
David W. Vinson, Mihael Arcan, David-Paul Niland, Fionn Delahunty
cs.CL
cs.CL
Employee well-being is a critical concern in the contemporary workplace, as highlighted by the American Psychological Association's 2021 report, indicating that 71% of employees experience stress or tension. This stress contributes significantly to workplace attrition and absenteeism, with 61% of attrition and 16% of sick days attributed to poor mental health. A major challenge for employers is that employees often remain unaware of their mental health issues until they reach a crisis point, resulting in limited utilization of corporate well-being benefits. This research addresses this challenge by presenting a groundbreaking stress detection algorithm that provides real-time support preemptively. Leveraging automated chatbot technology, the algorithm objectively measures mental health levels by analyzing chat conversations, offering personalized treatment suggestions in real-time based on linguistic biomarkers. The study explores the feasibility of integrating these innovations into practical learning applications within real-world contexts and introduces a chatbot-style system integrated into the broader employee experience platform. This platform, encompassing various features, aims to enhance overall employee well-being, detect stress in real time, and proactively engage with individuals to improve support effectiveness, demonstrating a 22% increase when assistance is provided early. Overall, the study emphasizes the importance of fostering a supportive workplace environment for employees' mental health.
Towards Sustainable Workplace Mental Health: A Novel Approach to Early Intervention and Support: Employee well-being is a critical concern in the contemporary workplace, as highlighted by the American Psychological Association's 2021 report, indicating that 71% of employees experience stress or tension. This stress contributes significantly to workplace attrition and absenteeism, with 61% of attrition and 16% of sick days attributed to poor mental health. A major challenge for employers is that employees often remain unaware of their mental health issues until they reach a crisis point, resulting in limited utilization of corporate well-being benefits. This research addresses this challenge by presenting a groundbreaking stress detection algorithm that provides real-time support preemptively. Leveraging automated chatbot technology, the algorithm objectively measures mental health levels by analyzing chat conversations, offering personalized treatment suggestions in real-time based on linguistic biomarkers. The study explores the feasibility of integrating these innovations into practical learning applications within real-world contexts and introduces a chatbot-style system integrated into the broader employee experience platform. This platform, encompassing various features, aims to enhance overall employee well-being, detect stress in real time, and proactively engage with individuals to improve support effectiveness, demonstrating a 22% increase when assistance is provided early. Overall, the study emphasizes the importance of fostering a supportive workplace environment for employees' mental health.
[ 0.0688396171, 0.0037695111, -0.0499602892, -0.0636318177, -0.0275991373, 0.025360629, 0.0361022502, 0.061393287, 0.1383939385, -0.0364434384, 0.0661256462, 0.0777152851, -0.0116997482, 0.035217572, 0.003980278, -0.0477738939, -0.0260578096, 0.0461418219, 0.067093581, 0.0480531715, 0.0226978771, 0.0412156358, -0.044920031, 0.0522646829, -0.0539071187, -0.0238497891, 0.0554428361, 0.0249291435, 0.0561080985, -0.0051305825, 0.0043029664, 0.0313517898, -0.0410535485, 0.0082481895, 0.0000025002, -0.005288525, -0.023719335, 0.0043557063, -0.010849311, -0.0838940889, 0.0473685712, -0.0518195629, -0.0268779788, 0.0519872606, -0.0101792002, 0.0064376011, 0.0156524852, 0.0147790853, 0.0606556162, 0.0116971387, -0.0460212752, 0.0488717146, -0.0480373129, 0.0185141359, -0.0255107526, 0.0129964286, 0.0355396792, -0.0312228166, 0.0541293025, -0.0945662558, 0.0179855693, -0.0025606435, -0.0520532839, -0.0004844428, -0.0419636853, 0.0048936317, -0.0017392003, -0.048634246, -0.0025410191, 0.0539071485, -0.0362759568, 0.0356581807, 0.0017556412, -0.0423459709, 0.0779605582, 0.0007794135, 0.0049893749, -0.0153036471, -0.0373624638, -0.0252373125, 0.0160427671, 0.0311347805, -0.0123095084, -0.0224144906, 0.0690705851, -0.0013484539, -0.0097712735, -0.0348452739, 0.0270032883, -0.005175849, 0.0024335091, -0.0209535193, 0.0460288003, 0.0494394451, -0.0310927164, -0.0164137892, -0.0224827193, -0.0763055608, -0.0016729459, -0.036095418, -0.0383963175, 0.0589454323, -0.0375843979, -0.0020618767, 0.0582891032, 0.0105396919, 0.0297413021, -0.0726398677, -0.0312907659, 0.0273944233, -0.0348683447, 0.0205085222, -0.0383972712, -0.0148515701, 0.0120292306, -0.02813676, -0.0772707015, 0.0258325096, -0.0313700773, -0.0217317678, -0.0055634622, -0.0271157213, 0.0168111287, 0.0646332204, 0.0597422719, -0.0032700978, -0.0293920562, -0.0215162467, 0.0197116844, -0.0977018476, 0.0471263714, 0.0211948678, 0.0054373029, 0.0274860971, 0.0384666063, 0.0202097651, 0.0099449186, -0.0658055171, -0.0523826182, -0.0279392265, -0.0278352071, -0.011893183, 0.0172289889, -0.0336097702, 0.0467633232, -0.0193783194, -0.0167510472, 0.0303171314, 0.0390196592, -0.0111731393, -0.0144696971, -0.0124530336, -0.0793725103, -0.0182377566, 0.0088321241, 0.0375962406, -0.0000636443, 0.0108245006, 0.0005889704, 0.0185131971, 0.0469810925, -0.0473461039, 0.0003206482, 0.0298348963, -0.0264918525, -0.0728241429, 0.0828912929, -0.0301188435, -0.0580414794, 0.029037552, -0.0468938723, -0.0130813112, -0.0420830399, 0.0910919905, 0.0121375993, 0.063744776, -0.0047423868, 0.0385556035, -0.0388784856, 0.0535664037, -0.0210091714, -0.0562760122, -0.0053848722, 0.0096381614, -0.0261194631, -0.0483866557, 0.0105096195, 0.0057985676, -0.0325265117, -0.081515789, -0.0336495005, -0.0249371529, 0.0200087521, 0.0176293887, -0.0033598079, -0.0378361493, 0.0086438647, 0.0248862617, 0.0315858983, -0.0373198465, -0.0383162163, -0.0517678335, 0.018448336, 0.1133091748, 0.0154508613, -0.0354068726, -0.0123943938, -0.0433704369, -0.0065945289, 0.0134311868, 0.0273208041, 0.0158982202, 0.0211397968, 0.019120276, 0.0040403767, 0.0322162583, 0.0194198247, -0.003437374, -0.0095327692, 0.0415286422, -0.0608669706, 0.0236226115, -0.013156523, 0.032201346, 0.024795508, -0.0408504382, -0.0130191883, 0.0138940541, 0.0293747652, 0.0778191984, 0.0110652642, 0.0043788343, -0.010861475, -0.0357395671, -0.0211843513, 0.0449899286, 0.0171371587, -0.0041761063, 0.0191256851, 0.0226795599, -0.0301739648, 0.0561203435, -0.0150626572, 0.0243828278, 0.005300777, -0.011469787, 0.0237164386, 0.002640574, -0.0400384665, -0.0376521125, 0.050873898, -0.0229109004, -0.0135503979, 0.0068131126, 0.0144467251, -0.0638502985, -0.0247801691, -0.0292074159, -0.0487488508, 0.0017639243, -0.0111739626, -0.006464527, -0.012368124, -0.0280355159, 0.0370414704, -0.0392930768, 0.0105773266, -0.1451461166, -0.014030871, -0.0020722593, -0.0667921975, 0.010951967, -0.0022346554, -0.0263638645, -0.0510366522, -0.0117821125, 0.0531774759, 0.0505475402, 0.0277825575, 0.0011017948, -0.0032724086, -0.0109036835, -0.0260823369, -0.0056144977, -0.0286605675, -0.0324557312, 0.0735647827, -0.0146437436, -0.0598797686, -0.0379064679, -0.0334216841, -0.0158118624, -0.0023449219, -0.0512322597, 0.0057258541, -0.0116873309, 0.0460940041, 0.0562610663, 0.0141786402, 0.0496078506, -0.0103805382, 0.0232195929, 0.0249804873, -0.0030054119, -0.0099629071, 0.0241600163, -0.015674077, -0.0430980437, -0.0102512585, -0.0013693252, 0.0224037971, 0.0131393708, -0.0468643643, 0.029879434, -0.0239093732, 0.0154707609, -0.0370951071, 0.0227227807, -0.0201034285, -0.0018676284, 0.02715398, -0.0044693961, -0.0214482471, 0.0227545351, 0.0141278254, -0.0718453452, -0.0553142838, -0.0129887871, 0.0227290746, -0.0362301283, 0.0068265488, 0.0527960286, -0.014736956, 0.0514872298, -0.0246517472, -0.0412145741, -0.0628755242, -0.0900113806, -0.0372581743, -0.0077790488, 0.0300984588, 0.0014784002, -0.0462057516, -0.0153075494, -0.0853056833, 0.0160398725, 0.0352082178, 0.0158590786, -0.0700391978, -0.0432151668, 0.0349528715, 0.0286237784, 0.0380156375, -0.0124456333, 0.0232248381, -0.0302301273, 0.0275148135, 0.0172065422, 0.0448769368, 0.0193910208, 0.0565007217, 0.0665793121, -0.0126310838, 0.0134223737, 0.0244750511, -0.0309843831, -0.0189503394, 0.0136346743, 0.0074438993, -0.0138883032, -0.0093040299, 0.0077882707, -0.008370446, 0.0845366791, -0.0158593934, -0.0082562715, 0.0204748381, -0.0454828404, -0.0553159527, 0.0116237644, 0.0135725932, 0.0090369964, -0.0141444895, 0.000419204, 0.0440317951, -0.006510424, -0.0321769454, 0.0318687037, 0.0063023902, 0.058967229, -0.0233551227, -0.0097169606, -0.0061827493, 0.0144700147, 0.0204269569, 0.0057717627, -0.0063966927, -0.0499563888, 0.0181757268, -0.0167330261, -0.0027286769, -0.0584952049, -0.00670757, 0.0639026091, -0.0056926664, 0.0022195037, 0.0438646078, 0.1014421508, 0.0179300327, 0.0122944918, 0.0143188545, 0.0610782653, 0.0199689995, -0.0053515071, 0.0790601447, -0.0102780787, 0.0149676977, -0.0392501615, 0.0388316326, -0.0720287785, 0.0405894816, 0.0245594028, 0.0335191712, 0.0293140654, -0.0242609885, -0.0192140713, 0.0717896, 0.0434102379, 0.0093896054, -0.0045467229, -0.0690120682, 0.0067249369, 0.0311512463, 0.0460949577, 0.0182331298, -0.0280381013, -0.0084249247, -0.0485413559, -0.0061524627, -0.045384489, -0.073884815, 0.0454527773, -0.0239191297, -0.0254087579, -0.052395191, -0.0120200627, 0.0476595834, -0.0066262283, -0.0077587729, 0.0215340294, 0.0798902214, -0.0259797219, -0.0092381993, -0.0155727388, 0.0219813082, 0.0013435619, 0.0098346435, -0.0380098261, 0.028269764, 0.0509506948, 0.0182203315, 0.0024472673, -0.0563989803, 0.0106837684, 0.0173476674, 0.0257303063, 0.0030351698, -0.0830212906, 0.0230940506, 0.015702622, 0.0671307296, -0.0192776639, -0.0053390572, -0.028673457, 0.0293344017, 0.0102033513, 0.0090691606, 0.0392445065, -0.0150376903, -0.0003743278, 0.0394016877, -0.0205097217, 0.0011438602, -0.0445992388, 0.002285741, -0.0137334289, 0.0110571133, -0.0135232275, -0.0163469054, 0.0029435935, -0.0329558998, 0.0072107268, 0.024052009, 0.0211865176, -0.0323622636, -0.0108197797, -0.017849315, 0.0235578232, -0.0148970401, 0.0098122573, -0.0312822275, -0.0188784841, 0.014131072, 0.058956407, -0.011689798, 0.0267106127, 0.0005470946, 0.0837574601, -0.0296023395, 0.0006945916, 0.005098877, 0.0643971115, -0.0354356579, -0.0830758885, 0.0161628034, 0.0059506861, 0.0370120779, 0.0296607856, 0.0469481908, -0.0064846817, -0.03379713, -0.0067282589, -0.0158817619, -0.0554556288, 0.0014100724, -0.0196562018, -0.0235743336, -0.0276729409, -0.0287023708, -0.0099923275, -0.0152873844, 0.0050362735, 0.0344522521, 0.0051227487, -0.0197365507, 0.0216071587, 0.0253986493, 0.0340112038, -0.0249352455, 0.007468279, -0.0358149149, -0.0352197513, 0.0495102853, -0.0281503946, -0.0265459791, -0.0039289398, 0.0244195648, 0.0348286331, 0.0136948237, -0.0180655904, -0.0578127801, 0.0333941542, -0.0247595385, 0.014627764, -0.0103087341, -5.762188452e-33, 0.017397888, -0.0019037188, -0.0139051564, 0.026828045, 0.034369085, -0.0011415998, 0.0375577286, 0.0058271228, -0.0047978787, 0.0068557458, 0.023631148, 0.1043004319, -0.0282515977, -0.0239444021, -0.0122025795, 0.0023726358, 0.0206756517, -0.0356701724, -0.0053139916, 0.0213668123, 0.0131247658, 0.0770736784, 0.0475301482, -0.0886000395, 0.0082706669, 0.0171882883, -0.0039700759, 0.0029655595, 0.0510278307, 0.0060005137, -0.0102445735, 0.0755877569, 0.0032551857, 0.0387095101, 0.0381760895, 0.0762866512, -0.0232120734, -0.0714237541, -0.0323628671, 0.0170858521, -0.0308581088, -0.0118919453, -0.0277109854, -0.0158304684, -0.0015924283, -0.054145813, 0.0316282585, -0.0604858436, 0.0457054786, 0.0036573461, -0.0139921624, -0.0054111569, -0.0292660855, 0.0079286834, -0.0298474878, 0.0862128139, -0.0419238545, -0.0094252722, -0.0563265532, -0.0147204939, -0.0060118386, -0.0405351408, -0.0126944762, -0.0460277386, 0.0119850794, 0.0119852722, -0.0018410395, 0.0005766551, 0.0116800629, 0.0242897496, 0.0068674684, 0.020973172, 0.0696285814, -0.0004239612, 0.019937329, -0.0361066535, -0.0335293189, 0.0086969575, 0.0780483633, -0.0349401347, 0.0325130746, 0.0309654996, -0.0291057248, -0.0089614606, 0.0044114725, 0.0239237752, -0.0193198845, -0.0336410552, 0.0097786374, 0.0212608259, -0.027239114, -0.0705342442, -0.0312211365, -0.0322089009, 0.0573166944, 0.00852805, 0.0230144616, -0.0170195475, 0.0104004517, -0.0465691984, -0.0521268398, 0.0036462212, -0.0134222927, 0.0351043604, 0.0669183657, -0.0379462913, 0.0275374092, -0.0284307562, 0.0072790487, -0.0108758742, 0.024705302, 0.1003259569, 0.0063874978, -0.0116300546, -0.0341357253, 0.0067735207, 0.0106112063, 0.0457191318, 0.0717758462, 0.0175028816, -0.0526856743, 0.0298883561, -0.0145383766, -0.0252584238, -0.0403171144, -0.0563051812, -0.0030709098, 0.0097773056, 0.033239238, -0.0808565766, -0.0020666679, -0.0653621927, 3.046e-7, -0.0059889895, 0.0440704077, -0.0362106636, -0.0236002579, 0.0234898049, 0.0092197582, 0.0168873593, 0.0069848667, 0.0239730906, 0.0157849994, 0.0098822657, -0.01275157, 0.0371301919, 0.028579751, 0.0377117209, -0.0865918398, 0.0007723006, -0.0453718081, -0.0182857681, 0.0160281975, 0.0861072317, 0.0466811471, 0.0241208486, -0.0299542695, -0.0057472354, -0.0116832741, 0.0070098876, -0.039039582, 0.0140262423, 0.0092783393, 0.0004945389, 0.0176857933, -0.0238120407, 0.0105859712, -0.0036988123, 0.0073136031, 0.0000351536, 0.0365030095, -0.0355299562, 0.0197369717, 0.0300068371, 0.0137319611, 0.0081243692, -0.0197005607, 0.0255470276, -0.1124023125, -0.0489879102, -0.015091043, -0.054285638, -0.0477446094, 0.0234328732, -0.0247900765, -0.0415011458, 0.0426766723, 0.0135705415, 0.0142169381, 0.0087174252, -0.0051974244, -0.0055736569, -0.0008244349, -0.0554055162, -0.0634532943, 0.0131179299, -0.0045653847, -0.0492966436, -0.0169859212, 0.014089887, 2.213213876e-34, -0.0079015559, 0.0705171898, -0.0266123582, 0.0378938094, 0.00492342, -0.001207443, -0.0031010977, 0.0199427195, 0.0044772951, -0.008125904, -0.0149786863 ]
http://arxiv.org/abs/2402.01591v2
http://arxiv.org/pdf/2402.01591v2
BAT: Learning to Reason about Spatial Sounds with Large Language Models
2024-02-02T17:34:53
2024-05-25T17:05:11
Zhisheng Zheng, Puyuan Peng, Ziyang Ma, Xie Chen, Eunsol Choi, David Harwath
eess.AS
eess.AS, cs.AI, cs.CL, cs.SD
Spatial sound reasoning is a fundamental human skill, enabling us to navigate and interpret our surroundings based on sound. In this paper we present BAT, which combines the spatial sound perception ability of a binaural acoustic scene analysis model with the natural language reasoning capabilities of a large language model (LLM) to replicate this innate ability. To address the lack of existing datasets of in-the-wild spatial sounds, we synthesized a binaural audio dataset using AudioSet and SoundSpaces 2.0. Next, we developed SpatialSoundQA, a spatial sound-based question-answering dataset, offering a range of QA tasks that train BAT in various aspects of spatial sound perception and reasoning. The acoustic front end encoder of BAT is a novel spatial audio encoder named Spatial Audio Spectrogram Transformer, or Spatial-AST, which by itself achieves strong performance across sound event detection, spatial localization, and distance estimation. By integrating Spatial-AST with LLaMA-2 7B model, BAT transcends standard Sound Event Localization and Detection (SELD) tasks, enabling the model to reason about the relationships between the sounds in its environment. Our experiments demonstrate BAT's superior performance on both spatial sound perception and reasoning, showcasing the immense potential of LLMs in navigating and interpreting complex spatial audio environments.
BAT: Learning to Reason about Spatial Sounds with Large Language Models: Spatial sound reasoning is a fundamental human skill, enabling us to navigate and interpret our surroundings based on sound. In this paper we present BAT, which combines the spatial sound perception ability of a binaural acoustic scene analysis model with the natural language reasoning capabilities of a large language model (LLM) to replicate this innate ability. To address the lack of existing datasets of in-the-wild spatial sounds, we synthesized a binaural audio dataset using AudioSet and SoundSpaces 2.0. Next, we developed SpatialSoundQA, a spatial sound-based question-answering dataset, offering a range of QA tasks that train BAT in various aspects of spatial sound perception and reasoning. The acoustic front end encoder of BAT is a novel spatial audio encoder named Spatial Audio Spectrogram Transformer, or Spatial-AST, which by itself achieves strong performance across sound event detection, spatial localization, and distance estimation. By integrating Spatial-AST with LLaMA-2 7B model, BAT transcends standard Sound Event Localization and Detection (SELD) tasks, enabling the model to reason about the relationships between the sounds in its environment. Our experiments demonstrate BAT's superior performance on both spatial sound perception and reasoning, showcasing the immense potential of LLMs in navigating and interpreting complex spatial audio environments.
[ 0.0116651785, 0.0466137826, 0.0075793071, 0.0520652831, -0.0115584331, -0.0086139608, 0.0483363755, -0.048285272, -0.0379369035, -0.0098541882, -0.0604433529, 0.0231987052, 0.0219505914, 0.0448601469, 0.0271410495, -0.0617055371, 0.0241808891, -0.0493218154, 0.0212348942, -0.0201809239, -0.0223566666, 0.0116292881, -0.0736225247, 0.0674301386, -0.0237035342, -0.0022596018, -0.0077913003, 0.0059148199, 0.0093410583, -0.0452674776, 0.0090592718, 0.0091886921, 0.0823909938, -0.0046771988, 0.0000016204, -0.0361571498, 0.02477034, -0.0050921184, -0.0007892781, -0.015295797, -0.0694373623, 0.0074268929, -0.008996875, 0.0370719507, -0.0187286083, -0.0316284932, 0.043742571, -0.0086913751, 0.0312827677, 0.0181689896, -0.0084479218, -0.0997217968, 0.0039863056, -0.0248034094, 0.0547972359, -0.0052188262, -0.0004910706, -0.0115342019, 0.0300939269, 0.0540041104, -0.0340604149, 0.0229834281, 0.0381109864, 0.0157469995, 0.0270524565, 0.0578766502, -0.0132607836, -0.0140787167, -0.0320402719, 0.0864675716, 0.0406003408, -0.0380340889, -0.0067564715, 0.0546579584, -0.0149998842, -0.0326081887, -0.0748088583, 0.0280158669, -0.0100092329, 0.01355075, -0.0593165681, 0.014848127, 0.018452907, -0.0334612802, 0.0047762673, 0.0803077966, 0.0033789016, -0.0176313911, -0.0276985597, -0.0331593342, -0.008122134, -0.0383206978, 0.0277997237, 0.0624936782, -0.0326178856, 0.0059962319, 0.0228396282, 0.028274687, -0.0178897157, -0.024650136, -0.0260615628, 0.0206796695, -0.0601848103, 0.0884868875, -0.0469039567, 0.0268924516, -0.0165894367, 0.0183535349, -0.0203247108, -0.0415171608, -0.0106728524, -0.0252128672, -0.0538306907, -0.000348766, -0.0513087399, -0.0529284701, 0.0098744771, -0.0185894538, -0.0420380123, 0.0231862627, 0.0016366312, 0.0601332597, 0.0169867724, -0.018480327, 0.0161577202, 0.0148157449, -0.026481865, 0.0759504884, -0.0431142934, -0.0138327582, -0.0278655645, 0.0292534996, 0.0473179333, -0.0130790249, -0.0003096265, 0.0765419155, 0.0045512435, -0.0207664929, -0.0097428476, -0.0055005229, -0.0367971957, -0.0279572438, -0.0009849606, -0.0685170516, 0.0305460598, -0.0084663201, -0.0534895435, -0.0116263162, -0.0005228685, 0.0034451354, 0.0219414141, 0.0932508782, -0.0144693926, 0.0464014187, 0.0819259211, 0.0109556988, 0.018051587, 0.016467968, 0.0814170092, 0.0076628607, 0.0123108719, -0.0160274114, -0.0231208149, 0.0289514381, -0.0036817784, -0.0138325728, -0.0500885844, 0.014133554, -0.0184163097, 0.0496872626, 0.0081163272, 0.0201509781, -0.040298067, -0.0339881331, 0.0372460634, 0.1044767946, -0.0156357922, -0.0004042304, 0.0418610573, 0.0012975131, -0.028500814, -0.0635623634, -0.0308178719, 0.0669744834, -0.0082036285, -0.0136045292, 0.063571237, 0.0031638641, -0.0338856243, -0.0179808009, -0.03631448, 0.0056873676, -0.0001193118, 0.0535205267, 0.024827376, 0.0181972943, -0.0263414197, 0.0759579837, -0.0120738531, -0.0387578756, -0.0311293211, -0.0152206933, 0.1061508805, 0.034968812, 0.0101567311, -0.0466043167, -0.028384421, -0.0086440146, 0.0157611389, 0.0464992672, 0.030354755, -0.0196988676, 0.0306071118, -0.0179708768, -0.0630458668, -0.0049458607, 0.0052391156, 0.0218465161, 0.0409124345, 0.0285799131, 0.0033166134, -0.0587615632, 0.0438796319, -0.0035742216, 0.0252654552, -0.0285861101, -0.0236020964, 0.0145050995, 0.0212033913, -0.0096973926, 0.0038523998, 0.012906272, 0.0389656387, -0.0258354191, -0.0018366013, 0.0446897335, -0.0546208955, -0.0507300496, 0.0381965004, -0.0394633301, 0.0123489983, 0.0569172166, -0.0256728008, -0.0165711064, 0.0393029638, -0.0504378416, 0.0061065755, -0.0228338912, -0.0214322954, 0.0228564125, 0.0206047837, -0.0056148469, 0.0188897047, 0.0332063735, 0.006133738, -0.0733568668, 0.0320674591, 0.0584916621, -0.0118169468, 0.0347603895, 0.0126270419, -0.015592928, -0.0112730246, -0.0338756815, -0.0033533175, -0.0367084444, -0.0031605945, -0.0735065416, 0.0041403915, -0.0046584206, -0.0030519008, 0.0180079099, -0.0460356735, -0.014286356, -0.0488690175, -0.0397031344, -0.0270076245, -0.0048433174, 0.0154742096, -0.0058090216, -0.0605613254, -0.0472069606, -0.0184382647, -0.0108748907, 0.0001147094, 0.0116112623, 0.0088810781, 0.0107362112, -0.0388455614, -0.0203419998, -0.0342990197, 0.0160197113, 0.0083656469, -0.0114943478, 0.0452671386, -0.0401318967, -0.0098405126, 0.04283759, -0.0199229307, -0.0016778439, 0.0484522954, -0.0022634191, -0.0408392176, 0.0354851, 0.0138416542, 0.0409475118, -0.0304739531, -0.0030687142, -0.0407863483, 0.0394445285, 0.0241252016, -0.0037615208, -0.0145500423, -0.0007044196, 0.0061526541, -0.0081048366, -0.0720568076, -0.0503262579, -0.0016579368, 0.0647766665, -0.0549801588, -0.0149172014, 0.0240471177, -0.066314809, -0.0250937473, -0.0724019036, -0.0065881619, -0.036338713, 0.0799755901, -0.0183032081, 0.004825287, -0.0215182137, -0.0381365977, 0.0155722378, -0.0335432552, 0.0005845934, -0.0284771975, 0.0056927525, -0.0301494785, 0.0192284137, 0.0002154317, -0.0197956283, -0.0417919345, 0.01111311, -0.0732440203, 0.0068350057, -0.0573627762, -0.0268309265, 0.0041641816, 0.0348349996, 0.0453849174, 0.0644644052, -0.0031924532, -0.0042821742, -0.0133033954, 0.0300064087, 0.0678218231, 0.1011071578, -0.0220680386, 0.0012796054, -0.0298110042, 0.0303912126, -0.0159422718, 0.0006813519, -0.0667453334, 0.0822853073, 0.0354312696, 0.0364722125, -0.02719054, 0.0441042818, 0.0613439567, -0.0539980046, -0.0409599915, 0.0836298093, 0.0735772923, 0.0154133663, 0.0126277059, -0.0241262428, 0.0044660899, 0.0349670127, -0.0132016558, -0.0192082003, -0.061558038, 0.0251472238, -0.0136053981, 0.0831686109, 0.0274439044, 0.0033330272, -0.0727770776, 0.0704471916, 0.0045647407, -0.114210546, -0.06114107, -0.012830032, 0.0040630456, 0.0019651535, -0.0083941612, -0.0013339418, 0.0041005351, -0.0054801898, 0.0089285448, -0.0154560786, 0.0164230149, 0.0372846834, -0.0240833499, 0.0233741049, 0.049084153, 0.0465956256, -0.0119740888, -0.0549032316, -0.018366253, 0.0276812874, 0.01955905, 0.0065036728, 0.0480625816, 0.0416340232, -0.0217570458, 0.0201651193, 0.0384221114, -0.0670417547, -0.0300228633, 0.0321684554, 0.0741381794, -0.0254403166, 0.0285961535, -0.0331963375, 0.0695085004, -0.0214177556, 0.0759951398, 0.039750237, 0.0380858891, -0.042134691, -0.0125673776, -0.0680909082, -0.0320620164, -0.0069242753, -0.0010369888, 0.0401451476, 0.0014705613, -0.0508341491, 0.0033206958, 0.0364386886, 0.0381606184, 0.0044159093, -0.0119395312, 0.0015254032, 0.0012814833, -0.0589943901, 0.0515335798, -0.0223034546, 0.0406071097, 0.0172833484, 0.0229400825, 0.0621081516, -0.0654652491, -0.0231506508, 0.0368388817, -0.0504218154, -0.0441786051, -0.0258236565, -0.0168920942, 0.0242550187, 0.0333693326, -0.0356287919, -0.0058562448, 0.0558941923, -0.0090269772, -0.0486344844, 0.0482038073, 0.0433103815, 0.0233564246, 0.0104441242, 0.0091419527, -0.0505802333, 0.0256095938, -0.0144128222, 0.0206070915, 0.0058669643, -0.0023029698, -0.0271058679, -0.041271463, 0.064769797, 0.0187444687, -0.0189404916, -0.032600075, 0.0461531579, -0.0114738401, 0.0520111136, -0.038133584, 0.0229718331, 0.0150205335, 0.0272657555, -0.0269097127, -0.0075838598, 0.0203107353, -0.0000893966, 0.000297143, 0.0324499905, 0.046179805, -0.0548387654, 0.0030853862, -0.0145729864, 0.0093705179, 0.000062429, -0.0123036569, 0.0431541726, 0.0243695434, 0.026457645, 0.0074400022, -0.0146783637, -0.0377163291, 0.0260873251, -0.0525058061, -0.0742158964, 0.0347711258, 0.0424301289, 0.0548557565, -0.01073658, -0.0167840794, 0.0109736472, 0.007253834, 0.0189534165, 0.0128948782, -0.0226188954, -0.0142015656, 0.0731703714, 0.0355249606, -0.0107193002, -0.0168927442, 0.0376964062, -0.0169792846, 0.0316672623, -0.0211379398, 0.0330301523, -0.0256196689, -0.0299967397, -0.0242040884, 0.0435430892, -0.0065871873, 0.0237658415, 0.0203906242, -0.0755315274, -0.0139066344, -0.0014285293, -0.0154497921, -0.004137022, 0.0549196117, 0.0299974307, 0.0136392778, -0.031453371, 0.0411964394, -0.0383637734, -0.0021815023, -0.0336444676, 0.0110177277, -5.488308554e-33, -0.0208075289, -0.0490507297, 0.0526804626, -0.01039341, 0.0076638232, -0.0217772946, -0.0629002601, -0.0328861549, -0.022006372, 0.0060585672, 0.0242776144, 0.0268707983, 0.006301654, 0.0192568619, 0.0364215001, -0.011011757, 0.0145504298, -0.011046242, 0.0192161072, -0.0159944668, 0.0668302029, 0.007365908, 0.0306117591, -0.050190255, -0.0651179552, 0.0220699515, -0.0010773522, 0.0154791735, -0.0631302893, 0.0551424138, -0.0277323667, 0.0161626097, -0.0144541431, -0.0338099785, -0.0086773997, 0.0296660643, -0.1028194278, -0.0456595495, -0.0043308642, 0.0264990367, -0.0343972631, -0.0157955065, 0.0463292412, 0.0104750982, 0.0036538974, -0.0235780329, 0.0363684557, -0.0291742682, -0.0121715544, -0.0110390857, -0.0363414921, -0.0016113564, -0.0424184948, -0.0561652891, 0.010825878, 0.0264244992, 0.006822098, 0.0211495757, -0.0228513274, 0.0566763096, 0.003133798, 0.0170742758, 0.0393284336, -0.0048542302, -0.0103780283, 0.0452502593, 0.0769757554, -0.0917901248, -0.0205387976, 0.0033257115, 0.0272744503, 0.0373713337, 0.0471038856, -0.0006631589, 0.0193832293, 0.0127714593, -0.0507891439, 0.0080948286, -0.0385879464, 0.0125004901, 0.0242655706, 0.0282580219, -0.0203666929, -0.0155435745, -0.0337333716, 0.0186280627, -0.0419202112, 0.0094026439, 0.0490182042, 0.0077626775, 0.0438282937, 0.002084143, 0.0197626967, -0.0242315643, 0.0269710533, 0.0379993655, -0.0218905285, -0.0026085179, 0.0217858646, 0.0427492782, -0.0298118312, 0.0345197655, 0.0797334611, 0.0161265098, 0.0174988881, 0.0016798968, 0.0112416316, 0.0540321022, -0.0450713411, -0.0105752824, -0.0208500233, -0.0287320837, 0.0041211573, 0.0184798054, 0.0240284763, 0.0158800296, -0.0492904261, 0.0168509893, -0.0572420694, 0.0141417114, -0.0557372309, -0.0273726601, -0.0813588277, 0.0320569575, -0.0162738878, 0.0036856183, -0.0235874467, -0.0671145171, 0.0028858522, -0.0788565278, -0.0260237493, 0.0189658273, 2.536e-7, -0.0086991601, 0.0036399891, 0.0158570856, -0.0045226389, 0.0430806205, 0.0153701743, -0.0181411598, 0.0251990799, 0.0087301889, -0.0156368148, 0.0019820714, 0.055283092, 0.0578665584, 0.0224933643, -0.1000741944, 0.0401405469, -0.0577827767, 0.0140815191, -0.0557743646, -0.0063543557, 0.0716144219, 0.0715066791, -0.0085766669, -0.0256239343, 0.0320356525, -0.0325941965, 0.0095605208, -0.0064473012, 0.0495504066, -0.0424960367, 0.018468231, -0.0346810594, -0.0076144668, -0.0124372728, -0.0209730864, -0.0093584061, 0.0123222442, 0.0418674536, -0.0151536353, -0.076054886, -0.0122344438, 0.0411405228, -0.0086903824, -0.067036584, 0.1018823981, -0.0294033345, -0.0280956347, 0.0341596678, -0.0186390579, -0.0232473407, -0.0150272343, 0.0127855344, 0.0317251682, -0.0685020909, 0.0110980468, -0.0219888352, 0.0030280298, -0.1074199528, -0.0210128818, 0.0363395698, -0.0447720401, 0.0121405134, -0.0095908819, -0.0267007239, 0.0160846785, -0.0083468072, -0.0462775491, 1.633618593e-34, 0.0002108483, -0.0089221429, 0.0273927413, -0.0146529377, -0.0107777892, -0.013335485, -0.0224721562, -0.0230037272, 0.0269705951, -0.0160070267, -0.0101367095 ]
http://arxiv.org/abs/2402.01586v2
http://arxiv.org/pdf/2402.01586v2
TrustAgent: Towards Safe and Trustworthy LLM-based Agents through Agent Constitution
2024-02-02T17:26:23
2024-02-18T04:11:55
Wenyue Hua, Xianjun Yang, Zelong Li, Wei Cheng, Yongfeng Zhang
cs.CL
cs.CL, cs.AI, cs.LG, cs.MA
The emergence of LLM-based agents has garnered considerable attention, yet their trustworthiness remains an under-explored area. As agents can directly interact with the physical environment, their reliability and safety is critical. This paper presents an Agent-Constitution-based agent framework, TrustAgent, an initial investigation into improving the safety dimension of trustworthiness in LLM-based agents. This framework consists of threefold strategies: pre-planning strategy which injects safety knowledge to the model prior to plan generation, in-planning strategy which bolsters safety during plan generation, and post-planning strategy which ensures safety by post-planning inspection. Through experimental analysis, we demonstrate how these approaches can effectively elevate an LLM agent's safety by identifying and preventing potential dangers. Furthermore, we explore the intricate relationships between safety and helpfulness, and between the model's reasoning ability and its efficacy as a safe agent. This paper underscores the imperative of integrating safety awareness and trustworthiness into the design and deployment of LLM-based agents, not only to enhance their performance but also to ensure their responsible integration into human-centric environments. Data and code are available at https://github.com/agiresearch/TrustAgent.
TrustAgent: Towards Safe and Trustworthy LLM-based Agents through Agent Constitution: The emergence of LLM-based agents has garnered considerable attention, yet their trustworthiness remains an under-explored area. As agents can directly interact with the physical environment, their reliability and safety is critical. This paper presents an Agent-Constitution-based agent framework, TrustAgent, an initial investigation into improving the safety dimension of trustworthiness in LLM-based agents. This framework consists of threefold strategies: pre-planning strategy which injects safety knowledge to the model prior to plan generation, in-planning strategy which bolsters safety during plan generation, and post-planning strategy which ensures safety by post-planning inspection. Through experimental analysis, we demonstrate how these approaches can effectively elevate an LLM agent's safety by identifying and preventing potential dangers. Furthermore, we explore the intricate relationships between safety and helpfulness, and between the model's reasoning ability and its efficacy as a safe agent. This paper underscores the imperative of integrating safety awareness and trustworthiness into the design and deployment of LLM-based agents, not only to enhance their performance but also to ensure their responsible integration into human-centric environments. Data and code are available at https://github.com/agiresearch/TrustAgent.
[ -0.0127455546, 0.0219047125, 0.0164981838, 0.0305874702, -0.0267628636, -0.0235720035, -0.0340472013, -0.0241211355, 0.0378317349, -0.0042167767, -0.0000302174, 0.0287099909, -0.0435232893, 0.007970619, 0.0093422579, 0.0116454456, 0.046774108, -0.0496429466, -0.0010838313, 0.0206371527, -0.0080072964, -0.0382721685, -0.0127354879, 0.0088016558, -0.0262427051, -0.0036152184, -0.0437341407, 0.0186889302, 0.0652584285, -0.0405528806, -0.0041409088, -0.0083438549, 0.0454949476, -0.005329249, 0.0000021198, -0.0473873988, -0.0116472645, 0.0013379885, -0.0105127357, -0.0834444016, 0.0179034304, 0.0210864339, -0.0291922037, 0.0304288585, -0.0407599472, 0.0593476668, -0.0003288383, 0.0315552801, 0.0368270427, 0.0502948202, 0.0063941409, 0.0600577816, 0.0507507659, 0.0486680456, 0.0166346543, -0.0663534403, -0.0098364949, -0.0201652888, 0.0329218879, 0.0113875475, 0.0086477175, -0.0378350541, 0.019126961, -0.011861193, 0.0102332756, 0.0104454681, 0.024998121, -0.0591915175, -0.0505253896, 0.0218028463, 0.0387633853, 0.0186767969, 0.0247050375, 0.0203381572, -0.0048489734, 0.0292327963, 0.0142186983, 0.0101439506, -0.006827388, -0.0095513258, -0.0234914552, 0.006814952, 0.0247897841, 0.0174626764, 0.0196492132, 0.1310978085, -0.02204342, 0.0270761922, 0.0162214711, -0.0141796507, 0.0596624389, -0.0458276905, -0.0079761837, 0.068164818, -0.0587185472, 0.0186828002, -0.0105236555, 0.0681485608, 0.033754088, -0.0202826448, -0.0230670515, -0.0219421573, 0.0072681443, 0.00805985, -0.000605388, 0.0298503563, 0.0087961927, 0.0552895367, 0.0028411238, 0.0110668708, -0.005097542, 0.0233750548, -0.0029720939, 0.0195862595, 0.0129494611, 0.0337825306, 0.0005688719, 0.0514143333, -0.0336931907, 0.0529981777, -0.0170601942, 0.0092694648, 0.0266686585, -0.0052704033, -0.072354272, -0.0988084152, -0.0332373232, 0.0058397376, 0.0005075136, -0.0454840101, 0.0037947961, -0.0043893415, -0.0327602439, -0.0097594755, -0.0360462815, 0.1056250706, 0.0136493249, -0.0535699129, -0.0651896149, -0.0424160436, 0.047409974, -0.054175064, 0.0017320466, -0.0306833554, 0.0013112017, -0.0317413695, -0.0400343128, -0.0669809207, 0.0444298796, -0.011264164, 0.0023247264, 0.0379352942, -0.0586117171, 0.0109498594, -0.0281337537, 0.0657878742, -0.0631074011, -0.00417784, 0.045744136, 0.0478044413, 0.0275203995, 0.0262239743, 0.0670796409, 0.0019663163, -0.0362277701, 0.0119621633, 0.0774540678, 0.0033444713, -0.0461805686, 0.017527448, -0.0358058587, -0.002231387, -0.0118015567, 0.0311967023, 0.062711291, 0.0204524696, -0.0160002559, -0.0327370353, -0.0159999356, 0.0509401672, -0.0175977405, -0.0432059802, -0.0854512528, 0.0537050627, -0.0556177236, -0.0140184043, -0.0994247273, 0.0505113006, -0.0328809842, -0.035116557, -0.0086976429, -0.0527725853, 0.0611537322, -0.0027630345, 0.0016827119, 0.0040825098, -0.0189036336, 0.0079516657, -0.0150891142, -0.0325441137, -0.0423514061, -0.0771138817, 0.0519715808, 0.0952119976, 0.0140812863, -0.0085955402, -0.0820166245, -0.004893105, -0.004928302, -0.0211196262, -0.0410384536, -0.0092425384, 0.0444071107, -0.0262341909, -0.0628276765, 0.0036546763, 0.025827663, 0.0398518331, 0.0107814912, 0.0212539434, -0.0154647827, -0.011534607, 0.0024875188, 0.0476706326, -0.0119950622, -0.0061437231, -0.0580798611, 0.0038087873, 0.0184031688, 0.0008113042, 0.0157138091, -0.0074130846, 0.0693514571, 0.0411980487, -0.0334704146, 0.0394744985, 0.008087662, 0.0550868995, 0.0098971641, -0.0354669839, 0.012689339, 0.02551613, -0.0088293348, -0.0143452184, -0.0351908207, 0.0017240063, -0.011560142, -0.033353474, 0.0194301624, 0.0009952682, -0.0427068844, -0.0042169266, 0.0079158591, -0.0044195219, -0.0826916844, -0.0007337151, 0.0720550567, 0.0160309691, -0.020906413, 0.0270998813, -0.0079163006, 0.0102423867, 0.0444162264, 0.0068724095, 0.043808274, -0.0125484066, -0.0067944941, 0.0084467754, -0.0134943686, -0.0232912581, -0.0027478507, -0.0166642051, -0.0506211184, -0.0033645562, 0.0037490465, 0.0146211199, 0.0949007198, -0.010802608, -0.014142626, 0.0385834686, -0.0169316251, -0.0643751994, -0.0091722924, 0.0429720543, 0.0024024392, -0.0178475752, 0.0106109325, -0.0205441117, -0.0547020584, 0.0441333987, -0.0409744978, -0.0225305334, -0.013759098, -0.04402164, 0.0212045871, 0.0232675802, -0.0650486872, -0.0005259675, -0.0094338953, 0.0164677091, 0.084024325, -0.0290265158, -0.0400356315, 0.0100539746, -0.005089479, -0.0126815932, -0.021471994, 0.0210449658, -0.0156351998, 0.0056213401, -0.0577206239, 0.0253179856, 0.0162843745, 0.0025490508, 0.0431128666, -0.0609372519, 0.063376449, -0.0497985333, -0.0256848969, 0.0840625614, 0.0060802856, -0.0393968783, 0.0397490188, -0.0152624603, 0.0091118412, 0.0302483812, -0.0466951616, -0.0223721061, 0.0490588173, -0.0020168077, -0.0185673907, -0.0122710913, 0.0145251807, -0.006237566, -0.0526885837, 0.0053710714, -0.0158721954, 0.0093359007, -0.0608209819, -0.0297051277, 0.0039018518, -0.0440794118, -0.0561335012, -0.0019213564, -0.0278965663, 0.0181678534, -0.0869282559, -0.0205914751, -0.0217331164, -0.0231254287, 0.0373429544, -0.0303239264, -0.00483817, 0.0024134933, -0.0322968438, -0.0478785299, -0.0081733726, 0.0311737377, 0.0661854893, 0.0017255353, 0.0517428257, 0.0731095746, -0.0098153939, -0.05217994, -0.0585580543, -0.0159941278, -0.0012913099, 0.0442858376, 0.0277310517, 0.0484403335, 0.0640108809, 0.004171961, -0.017717896, 0.0155395763, 0.0004275141, 0.014277908, 0.0310432333, -0.0516357794, -0.0086529646, 0.0035109578, 0.0185117703, -0.0105357794, -0.0068609267, 0.0158176031, 0.0121193975, -0.0191463679, -0.044632718, 0.0274606105, 0.0011289476, 0.0917117223, 0.0002822061, 0.0061111767, -0.0094440309, -0.0429444052, -0.0030594321, -0.0106537743, 0.0279324744, 0.0309806429, 0.0295872074, -0.0537579879, 0.0002560557, -0.025963759, -0.0133991055, -0.0000719375, -0.0694916621, 0.0278829075, 0.0774158239, 0.0067506474, -0.033613611, -0.0588987246, -0.0206507239, 0.0506081581, 0.0630537048, -0.0127821267, -0.0185399894, -0.0271507837, 0.0421960987, 0.0015085874, 0.0121124787, -0.0290932897, -0.0680846348, 0.049980849, 0.0655464977, -0.0625236332, -0.0257441532, -0.0667020008, 0.0029484062, 0.0454100445, 0.0433913618, -0.0340332501, 0.0277431495, -0.0416953079, -0.0071006049, -0.0261137467, 0.010289629, -0.005613972, 0.0245546885, -0.0402054638, -0.0202557538, -0.0269102212, -0.0463304818, -0.0049130018, -0.0004759337, 0.0048010885, -0.0684524849, 0.008382557, 0.0525335595, -0.0155123873, -0.013093018, 0.0005568561, 0.0389313139, 0.0221205149, 0.0610396191, 0.0317606516, -0.049785573, 0.024118755, 0.0155381449, -0.0139680905, -0.0173044857, 0.0250507034, 0.0853161886, 0.0339345522, -0.0092175966, -0.0424678177, 0.0081261657, 0.0633351132, -0.0192327071, -0.0673063397, 0.0091331601, 0.0308828838, 0.0008722874, 0.0222970154, 0.0135387713, -0.0509956032, -0.0001500659, 0.0236900318, 0.008007287, -0.0617837571, -0.0224511009, 0.0023034289, 0.036798615, -0.0009808689, 0.0244398862, 0.0658901632, -0.0001932899, 0.0437906496, 0.0054558869, 0.0290185045, -0.0246098805, 0.0628300086, -0.019089818, -0.005112574, 0.0436422341, -0.0408614762, 0.0114072198, 0.0117388051, 0.0405831821, 0.0469967313, 0.0040936498, -0.0075835055, 0.0185548849, 0.0126910834, -0.0031470493, 0.0324153602, -0.0180902388, 0.004974789, 0.0465344153, 0.0065018088, -0.0166639909, -0.0061267619, -0.0506002679, 0.026144892, -0.0580192916, -0.0639418587, 0.0336565934, 0.0650055632, 0.0233743023, 0.0796382353, 0.0025431924, -0.0836071894, 0.0299692545, -0.0172689781, -0.004326785, 0.0233286731, -0.0130864605, 0.0330672227, 0.0329808518, -0.0128688328, -0.0161798466, 0.0189702436, -0.0122913364, 0.0317397155, -0.0496727452, -0.0621683747, -0.0448031835, -0.015050645, 0.014888363, 0.0208711643, -0.022355359, -0.0711171255, -0.0654718652, -0.0143344468, 0.0227620769, 0.0402312018, -0.0114589687, -0.0285643805, 0.0019141318, -0.0068685352, 0.0256502237, -0.0419582427, -0.0043226257, -0.0945906714, -0.0044079507, 0.0248784814, 0.0121103432, -5.41420392e-33, 0.0156492405, -0.0594658926, 0.0518412888, 0.0451299921, 0.0135179237, -0.0425216705, -0.0153150856, 0.013465534, 0.0105247833, -0.0025077539, -0.021427935, 0.0155202756, 0.0276561268, -0.0614317991, 0.0265975874, -0.0171531998, -0.0099785207, 0.000042151, -0.0010102366, -0.0300981719, -0.0236369893, 0.023544427, 0.0143010113, -0.0661893189, 0.0357567631, -0.016837243, -0.0447870865, 0.0373825245, -0.0811082125, 0.0251783039, 0.0135053108, -0.0142471446, 0.0064411135, 0.0275148172, -0.0204031616, 0.0233372506, -0.0127230026, -0.0568932518, -0.0187267642, -0.0218792893, -0.0942578763, -0.0471094549, 0.0055606342, -0.0054101273, -0.0541686639, 0.0067872363, 0.0142390365, -0.0140040787, 0.0133163156, -0.0099468259, -0.027851956, 0.0104375212, 0.0039417706, -0.039554514, 0.0418455973, -0.0019532233, -0.0037751142, -0.0341007859, -0.0432848334, 0.0109220566, -0.0256752558, -0.0817002803, 0.0207061786, -0.0230511054, -0.0399598777, 0.0529188514, 0.0190759841, 0.0181705225, -0.0291665476, -0.0082221739, -0.0288254637, 0.1249169782, 0.0062396699, 0.0698033869, -0.0677867308, -0.0107513508, -0.0608375818, 0.0787531808, 0.0371414237, 0.0824726224, 0.0235263929, -0.0009757301, -0.0332957357, 0.0158405136, 0.0193628184, 0.0181771498, -0.0042456854, -0.0384030342, -0.0021638563, 0.0214599725, -0.0124279046, -0.0325585864, -0.0320222452, 0.0049984325, 0.0301453955, 0.0030881406, 0.030322846, -0.0322179273, -0.0128899552, 0.0244158655, -0.0415098481, -0.027611604, -0.0396844037, -0.0333859138, 0.0356721468, 0.0184974913, -0.0007527563, 0.0711780488, 0.0165790711, -0.00336793, -0.0286201648, 0.0209796391, 0.0530403256, -0.0611824505, 0.0128661627, -0.0367185324, 0.0021220965, 0.0388713405, -0.0159051195, -0.0475365147, 0.0043088575, 0.0540747829, -0.0217955709, 0.0110512925, -0.0084267808, -0.0242898725, -0.0127171995, 0.0042730379, 0.0187660139, -0.0299945995, 0.0171483569, -0.0079341074, 2.928e-7, -0.0563278422, 0.0184100885, 0.0066754115, 0.0143277962, 0.0279840622, 0.057536263, -0.0492600463, 0.0580670498, -0.0409261249, -0.03699008, 0.068349652, 0.0248060245, 0.0172802061, 0.0565172471, -0.003211621, -0.009010626, 0.0418051742, -0.0277975295, -0.0168536473, -0.0060519492, 0.0576037951, -0.001656981, 0.0169740543, -0.0379049554, 0.0255237985, -0.0222221054, 0.0050458168, -0.0781816989, 0.0098837567, -0.0084602898, 0.0264252778, 0.0316549689, 0.0105269169, 0.0448400266, 0.0120488498, -0.0055535594, -0.0654090121, 0.093892321, -0.0113551412, -0.0338130556, 0.0053199017, -0.0713621974, 0.0169545952, 0.0020245614, 0.0075725578, 0.0224936046, 0.0013100115, 0.0478212796, -0.0428798832, -0.0147537459, -0.0331604108, -0.0124473004, 0.0259967353, -0.0279242732, -0.0157395583, -0.0041592559, -0.0232890677, -0.0051021688, 0.0388126411, -0.0156272687, 0.0079420405, -0.1112807095, 0.0266793314, 0.0524134487, -0.0051714601, -0.0517616682, -0.0244242325, 2.147726443e-34, -0.0430662371, -0.0152537469, -0.0374477096, 0.0419053994, 0.0527367964, 0.0441857278, 0.0056857523, 0.0000424435, 0.0356308259, 0.0190599449, -0.0276323669 ]
http://arxiv.org/abs/2402.01582v1
http://arxiv.org/pdf/2402.01582v1
Automating Sound Change Prediction for Phylogenetic Inference: A Tukanoan Case Study
2024-02-02T17:20:16
2024-02-02T17:20:16
Kalvin Chang, Nathaniel R. Robinson, Anna Cai, Ting Chen, Annie Zhang, David R. Mortensen
cs.CL
cs.CL
We describe a set of new methods to partially automate linguistic phylogenetic inference given (1) cognate sets with their respective protoforms and sound laws, (2) a mapping from phones to their articulatory features and (3) a typological database of sound changes. We train a neural network on these sound change data to weight articulatory distances between phones and predict intermediate sound change steps between historical protoforms and their modern descendants, replacing a linguistic expert in part of a parsimony-based phylogenetic inference algorithm. In our best experiments on Tukanoan languages, this method produces trees with a Generalized Quartet Distance of 0.12 from a tree that used expert annotations, a significant improvement over other semi-automated baselines. We discuss potential benefits and drawbacks to our neural approach and parsimony-based tree prediction. We also experiment with a minimal generalization learner for automatic sound law induction, finding it comparably effective to sound laws from expert annotation. Our code is publicly available at https://github.com/cmu-llab/aiscp.
Automating Sound Change Prediction for Phylogenetic Inference: A Tukanoan Case Study: We describe a set of new methods to partially automate linguistic phylogenetic inference given (1) cognate sets with their respective protoforms and sound laws, (2) a mapping from phones to their articulatory features and (3) a typological database of sound changes. We train a neural network on these sound change data to weight articulatory distances between phones and predict intermediate sound change steps between historical protoforms and their modern descendants, replacing a linguistic expert in part of a parsimony-based phylogenetic inference algorithm. In our best experiments on Tukanoan languages, this method produces trees with a Generalized Quartet Distance of 0.12 from a tree that used expert annotations, a significant improvement over other semi-automated baselines. We discuss potential benefits and drawbacks to our neural approach and parsimony-based tree prediction. We also experiment with a minimal generalization learner for automatic sound law induction, finding it comparably effective to sound laws from expert annotation. Our code is publicly available at https://github.com/cmu-llab/aiscp.
[ -0.0105780102, 0.0839198977, -0.0502472781, -0.016765045, -0.0256410427, 0.000283972, -0.0063220984, -0.0033268488, -0.0661940649, 0.0017082058, -0.0343760252, -0.0413663499, 0.0884004012, -0.0018646836, 0.0474803336, -0.0206909645, 0.0159392711, -0.0277619921, 0.041416686, 0.003504283, -0.0356443077, -0.0001506527, -0.0406850539, 0.0339631289, -0.0501862466, -0.0268477369, -0.0401989669, -0.0127700716, 0.0220288262, -0.0238400958, -0.0193214733, -0.0026220484, -0.0061586364, 0.0805365741, 0.000001457, -0.0477643125, 0.0492653102, -0.0021327194, -0.0409516469, 0.0257741213, 0.0045790961, 0.0760883465, -0.008044526, -0.024574155, -0.0044798898, 0.0033458509, 0.0935668722, -0.0800297931, -0.0065316334, 0.0530766249, -0.0023969198, -0.0798958316, 0.058211755, -0.0016043764, 0.0169729013, 0.0255951602, 0.0222200323, -0.0115194982, 0.0163158588, -0.0380878635, 0.0122958142, 0.0316862836, -0.0047760531, 0.0069197915, -0.0441173203, -0.0146756712, 0.0190272406, -0.084820956, 0.0136823216, 0.0105734905, 0.0360679179, -0.0590774007, -0.044103384, 0.0292174313, -0.0355850868, -0.0146694407, 0.0090102879, 0.0034480006, -0.0380334891, 0.0043942807, 0.0622007251, -0.0313186981, 0.0114727654, -0.026633881, -0.0077208788, 0.0363456607, 0.0490080751, -0.0373549163, 0.0042886138, -0.0272626095, 0.0298481714, -0.0101449089, 0.0316449516, 0.0362080634, -0.0288690366, 0.0018587963, 0.085768871, -0.0149495499, 0.0237100236, -0.0365324654, 0.0228301827, 0.0241601616, -0.071962893, -0.01801176, -0.0508453213, -0.0178460162, 0.0193502884, -0.0713628381, 0.0215955712, 0.0027216191, -0.0499682426, -0.0443273969, 0.0112550538, -0.0135876136, -0.0181646757, 0.044550214, 0.0061572948, -0.0348891802, -0.0019900773, -0.0222001858, -0.0077337953, -0.0407103635, -0.0216391552, 0.0316141695, 0.0021271417, -0.009732876, -0.0349096693, 0.0613718964, -0.0367689244, -0.0820758417, 0.0149638448, 0.0102986125, 0.0100973388, 0.0490283966, 0.0170308258, 0.0471902452, -0.0129842684, -0.0048222481, -0.007399796, 0.0046636174, -0.0616227575, 0.0178886876, -0.0458842777, -0.0289844628, 0.0282634143, -0.026263576, -0.0330675468, -0.0236166213, -0.0495930463, -0.0509621464, -0.0002843318, 0.0269383453, -0.0510784537, 0.0444085374, 0.0407544747, -0.0069307019, -0.0010551219, -0.0088922679, 0.0426727943, -0.0341676995, 0.0384440683, -0.0403576978, -0.0586614907, 0.0159283504, -0.0201166477, -0.0393148325, -0.0052121724, -0.0280740988, -0.00244382, 0.0249631498, -0.0062312786, 0.0193599612, -0.008298967, -0.0320516042, 0.0060455841, 0.0653180256, 0.0438778847, 0.0471150056, 0.0785749927, -0.0507325493, -0.0085171517, 0.0131996134, 0.0265223309, -0.0390349105, -0.0262792222, -0.0121920258, -0.0351421572, 0.0165617, 0.0070173796, -0.0188272316, 0.0005163079, -0.0312323309, -0.036105331, -0.0208135657, 0.0330255777, 0.0173293762, 0.0038876638, 0.0128128706, 0.0411625393, -0.0120704239, -0.0155268619, -0.0125450063, 0.1070073768, -0.0042664902, -0.0460451581, -0.0657505915, 0.0165947266, 0.045703847, -0.0159381609, 0.0484184027, 0.0020792382, -0.0519415885, 0.012610429, -0.0099595832, -0.009007562, 0.0417032912, 0.0477300882, 0.0673868358, -0.0202550646, 0.0514193922, 0.0311386362, -0.0311814882, 0.0051015629, 0.0198002513, -0.033179149, -0.0119788088, -0.006844088, 0.0181764755, 0.0442665666, 0.0553507544, -0.0112070451, 0.0232341327, 0.0210353378, -0.00258649, 0.0283610746, 0.0319978148, -0.0394549929, 0.0222318172, 0.0975090191, 0.0216068272, 0.0126525043, -0.0325189121, 0.0266940538, -0.0246127546, 0.0515042543, -0.0419932827, 0.0683517754, -0.0078483988, 0.0260805879, -0.0614125878, -0.0223798137, 0.0050648465, 0.0426585712, 0.0769914612, 0.0068614399, -0.0051214406, -0.0245208628, 0.0116686057, -0.0326912478, 0.0173165537, 0.0232233666, -0.017372014, -0.0650062263, 0.0032167458, -0.027680546, -0.0145247215, 0.0222718194, -0.0540063605, -0.0367931947, -0.0066776942, 0.0904065594, -0.0161886755, -0.0024237083, -0.0020751012, -0.0179347601, 0.0071228668, 0.0043471651, -0.057312455, 0.0159878395, 0.002532677, -0.034768194, -0.0263460968, -0.05002198, -0.0276528466, 0.0040419959, 0.0510953255, 0.0175625868, -0.0748655796, -0.0336450972, -0.0702854618, -0.0813017413, -0.0039427513, 0.0091047361, 0.001892342, 0.0208821222, -0.0156900808, 0.008617931, -0.0466454364, -0.0351308919, -0.0589177199, 0.0434578359, -0.012418732, -0.0167524163, -0.0220094733, -0.0153828328, 0.0116274161, -0.0405972973, -0.0079690255, -0.0379850455, 0.0673025027, -0.0042266157, -0.0355141275, -0.023271231, -0.0195443071, 0.0164891854, 0.0153927431, 0.0443531722, -0.067254439, -0.0260577239, 0.0423867628, -0.0379413851, -0.0401302725, 0.0886608809, -0.0274056531, -0.017840296, -0.007857224, -0.0251565445, -0.0569122471, 0.0911549777, 0.0173647683, -0.0206868704, 0.0428795107, -0.0279050563, -0.0103660598, 0.0317124017, 0.0752085373, 0.0004726201, -0.0083787721, -0.0687764436, 0.0217593051, -0.0149092581, 0.0115374606, 0.0096203322, 0.0610107705, -0.0481399931, 0.0301801022, -0.030477941, -0.0144912265, 0.0439048186, 0.0257313643, -0.0172792692, 0.0237410199, 0.0252781752, 0.0484673865, 0.0044196402, 0.0648832321, -0.0167882871, 0.049703043, -0.0139385005, 0.0409044288, 0.0855578333, -0.0272455551, -0.0107287923, 0.0269511864, -0.0671601444, 0.0202616248, -0.0057817642, -0.0216491949, -0.0411792882, 0.0004247678, -0.0026962636, 0.0186570659, 0.0358777232, 0.0295832027, 0.0261562392, 0.0339358672, 0.0466415547, 0.0062177903, 0.0234527923, 0.0003512822, -0.0303548407, -0.0504141338, 0.0002107437, 0.0184935667, 0.0111681009, 0.0380371772, -0.0425171331, 0.0225363355, -0.0842507929, -0.0158577207, 0.0305276196, -0.0510166958, 0.0239439551, -0.0451028459, 0.0147616314, -0.002219042, -0.0437959842, 0.0669901222, 0.0160267726, 0.007398589, 0.0349636786, -0.0919240415, -0.0149616851, 0.0040760264, -0.0348951072, -0.0095588639, 0.0489650629, 0.031418696, -0.029624844, -0.0285020154, 0.0870629847, -0.0130293863, 0.014130502, -0.0135285296, -0.0112405913, 0.1066821069, 0.0311327688, 0.0387955494, 0.0107234754, -0.0025679518, 0.0033354159, 0.0443028323, 0.0853626058, 0.0092047909, -0.0618355013, 0.01430084, 0.0107185962, -0.0492636338, 0.0014669455, 0.0287852995, -0.0234331638, -0.004428538, -0.0106528345, 0.007172761, 0.0315998942, 0.0104527026, 0.0187405292, 0.0067312075, -0.0858913064, -0.1082845479, 0.0139265619, 0.0127368653, 0.0157096144, 0.0561563, -0.0267137531, -0.0122253839, -0.0082975151, -0.0380215496, -0.0032293273, 0.0345067531, 0.0253232978, 0.0037460811, 0.004835302, 0.0761858299, 0.0062711495, -0.0040614363, -0.0041069645, 0.0121544134, -0.0798859671, -0.0044512944, 0.0062333373, 0.016459344, 0.0238640215, 0.0180261638, -0.0499269888, 0.0147660142, 0.0267817229, -0.0061675566, 0.0260007046, 0.0441535674, -0.0471157506, -0.0128829051, 0.0255516842, -0.0491623245, 0.0200578794, -0.0064489059, 0.013417148, 0.0020503819, -0.0313303322, 0.0155377807, 0.0011676741, 0.0295151379, -0.0388709866, -0.0469013564, -0.0045572254, 0.015806945, 0.0378897041, 0.0211557839, -0.005324658, 0.0163396914, -0.0123898732, 0.0715558454, 0.0024511453, -0.038258303, 0.0293651186, 0.0346057601, -0.0091064917, 0.0682263523, 0.0775173903, 0.0818450451, -0.0248615742, -0.0038174808, -0.0194695164, 0.049197726, -0.0658038333, 0.0357976072, -0.0168015156, -0.0331315249, 0.0047959895, 0.0174831767, 0.0030322385, -0.0260622352, 0.0138549982, -0.0105180517, 0.0069527114, 0.0145000238, 0.0494824313, 0.0043114559, 0.0248967744, -0.0235879309, -0.0210713502, 0.007892468, 0.0210663248, -0.041788999, -0.0290023182, -0.0292962845, 0.0231718849, -0.0348552838, 0.0367103592, 0.0037172458, -0.0220691934, 0.0455890484, -0.0270554572, 0.010528069, 0.012412739, -0.0389256887, -0.0385772772, -0.0014348899, -0.0383557007, -0.0513093211, -0.0235458557, -0.0577363297, -0.0019897541, 0.0200339798, 0.0102038505, 0.0249017142, 0.0476866215, 0.023808578, 0.0313575342, 0.0227887258, 0.0071381833, -0.0238776598, -0.008741051, 0.0298204925, -0.0140620396, -4.533887589e-33, 0.0048442031, 0.0022634317, -0.0130657107, 0.0464914255, -0.0070660901, -0.0081740683, -0.0393335335, 0.0039472049, -0.0305677261, 0.0137478998, 0.0542987883, -0.0096242661, -0.0125950258, -0.0457062721, 0.0448608771, 0.0429313593, 0.0267479829, -0.0312941745, 0.036834728, -0.0118954387, 0.0242095701, 0.0049970779, 0.0612584241, -0.0411411859, 0.0233465377, 0.0650591031, 0.0058779656, 0.0062174085, -0.0626266599, -0.0033549792, 0.0059523289, 0.0231927261, -0.0206991509, 0.0319062695, 0.0267693121, -0.0423702002, -0.0855232477, -0.0292866714, -0.0029422662, 0.0092305159, 0.0124303233, 0.0133464038, 0.0358613096, 0.0178146604, -0.0257803891, 0.0180217717, 0.0242715459, -0.0842688307, -0.0023997265, -0.0396666713, -0.0460155308, 0.0495702438, -0.0216144193, -0.004440892, 0.0219013859, 0.0710750148, -0.0215327106, -0.0222679544, -0.0312050506, 0.0885926336, 0.0270860009, -0.0236561429, 0.0441197753, 0.0021830553, -0.0374059789, 0.0081086149, 0.1108283326, -0.0694368407, 0.0111505687, 0.0343453735, 0.0016624202, 0.0282007009, 0.0196280796, -0.0306640081, 0.0334424712, -0.0368318297, -0.0282298401, -0.0238899067, 0.0669459701, -0.0066031953, -0.0384753309, 0.0355448313, -0.0196133107, 0.0008429234, -0.0086693224, -0.0591366403, -0.0067268079, -0.0254390985, -0.0300028771, -0.0486914515, 0.0415925905, 0.0385655165, -0.0194978788, -0.0082133422, -0.0093472432, -0.0344167128, -0.0260906983, 0.0081451591, 0.0035837463, 0.022970438, 0.0230665971, -0.002102705, 0.0348955765, 0.0067757573, 0.0286627375, -0.0203874446, -0.0134568401, 0.0555506758, -0.0338959768, -0.0012692609, 0.0141037107, -0.0972989127, 0.0119475154, 0.0368036591, 0.0447395593, 0.018892888, 0.0209165327, -0.0214826483, 0.0528339632, 0.0219968744, -0.0163908694, 0.0286271032, -0.0633163601, -0.0121223247, -0.0211624186, 0.0012536183, 0.0329366215, 0.0374997742, -0.0325340889, 0.0012755835, -0.00444277, 0.0367342271, 2.488e-7, 0.0207335819, -0.0124932304, 0.0655082315, -0.0114580616, 0.0346695781, -0.0285227634, -0.0487660877, -0.0549960136, 0.0084571522, -0.033825241, 0.0302883312, -0.0287746377, 0.0709166974, 0.0571746752, -0.0548558198, -0.0205272511, -0.1239747033, -0.0113770477, -0.0606073663, -0.0129073905, -0.0220222063, 0.0749799609, -0.0209161472, -0.076401554, -0.0133043639, 0.019796798, 0.0106731234, -0.0087705683, 0.0372907035, -0.0359815508, 0.0135680595, -0.09989959, 0.0099811936, -0.0005475855, -0.0467339121, 0.0247703847, -0.0103982603, -0.0328604728, -0.001263147, 0.0186980981, 0.0343078487, 0.0348849595, -0.0255045351, -0.018911818, 0.0158706158, 0.0540241413, -0.0027811958, -0.0203539524, -0.0351739936, 0.0198997669, 0.0051254919, 0.0052685346, 0.0464521609, 0.0041957893, -0.0017912552, -0.0117386561, -0.0284972955, -0.0182760041, -0.0311844144, 0.0578911453, -0.046570681, -0.0394064486, 0.0056590466, 0.0006483882, 0.0099972859, 0.0142074665, 0.0245691892, 1.674546689e-34, 0.0011804424, -0.0335387215, 0.0339708664, 0.0175738577, -0.0257921852, -0.0422667079, 0.0542261824, 0.0439414792, 0.0523653068, -0.0075834938, -0.0194200967 ]
http://arxiv.org/abs/2402.01579v1
http://arxiv.org/pdf/2402.01579v1
How Paralingual are Paralinguistic Representations? A Case Study in Speech Emotion Recognition
2024-02-02T17:17:42
2024-02-02T17:17:42
Orchid Chetia Phukan, Gautam Siddharth Kashyap, Arun Balaji Buduru, Rajesh Sharma
eess.AS
eess.AS, cs.CL, cs.SD
Pre-trained Models (PTMs) have facilitated substantial progress in the field of Speech Emotion Recognition (SER). SER is an area with applications ranging from HumanComputer Interaction to Healthcare. Recent studies have leveraged various PTM representations as input features for downstream models for SER. PTM specifically pre-trained for paralinguistic tasks have obtained state-of-the-art (SOTA) performance for SER. However, such PTM haven't been evaluated for SER in multilingual settings and experimented only with English. So, we fill this gap, by performing a comprehensive comparative study of five PTMs (TRILLsson, wav2vec2, XLS-R, x-vector, Whisper) for assessing the effectiveness of paralingual PTM (TRILLsson) for SER across multiple languages. Representations from TRILLsson achieved the best performance among all the PTMs. This demonstrates that TRILLsson is able to effectively capture the various paralinguistic features from speech data for better SER. We also show that downstream models using TRILLsson representations achieve SOTA performance in terms of accuracy across various multi-lingual datasets.
How Paralingual are Paralinguistic Representations? A Case Study in Speech Emotion Recognition: Pre-trained Models (PTMs) have facilitated substantial progress in the field of Speech Emotion Recognition (SER). SER is an area with applications ranging from HumanComputer Interaction to Healthcare. Recent studies have leveraged various PTM representations as input features for downstream models for SER. PTM specifically pre-trained for paralinguistic tasks have obtained state-of-the-art (SOTA) performance for SER. However, such PTM haven't been evaluated for SER in multilingual settings and experimented only with English. So, we fill this gap, by performing a comprehensive comparative study of five PTMs (TRILLsson, wav2vec2, XLS-R, x-vector, Whisper) for assessing the effectiveness of paralingual PTM (TRILLsson) for SER across multiple languages. Representations from TRILLsson achieved the best performance among all the PTMs. This demonstrates that TRILLsson is able to effectively capture the various paralinguistic features from speech data for better SER. We also show that downstream models using TRILLsson representations achieve SOTA performance in terms of accuracy across various multi-lingual datasets.
[ -0.0125423633, 0.0260122642, -0.001478228, 0.028922718, 0.0032057874, 0.0247347765, 0.0230450444, -0.034025982, -0.0357043222, -0.041136235, -0.1098840162, -0.0042461152, 0.0017460128, -0.0323228948, -0.0068028462, -0.0891902894, 0.053706985, 0.008529217, 0.0304777082, -0.0228382926, 0.0114877075, 0.0173852071, -0.0459849723, 0.0444826744, 0.0205380265, 0.0100630326, -0.0303545184, 0.014339665, 0.0191279631, -0.0145347426, 0.0044295043, 0.0221026428, 0.0325399451, 0.0189313069, 0.0000020274, -0.0238552708, 0.0039207139, -0.0152095212, -0.0196235515, 0.0326647796, 0.0724798739, 0.0144540267, -0.0275157075, 0.00819516, -0.0213067196, -0.0198558662, 0.0526827276, 0.0215942562, 0.0672783032, 0.0212977026, -0.0254328903, 0.0101513909, 0.0112954043, 0.0056312722, -0.006117173, -0.0125707705, -0.0216253325, -0.034839116, 0.0204477403, -0.0613909513, -0.0252546091, 0.0489170216, -0.007642501, 0.0373020209, -0.038629923, -0.0090390313, -0.0186745469, -0.0533698462, -0.0356882848, 0.0499909185, -0.0841152593, 0.000940131, -0.053916581, 0.0013682815, -0.0251070727, -0.0308362264, -0.0131426975, -0.0227775685, 0.0345612541, -0.0120089436, 0.0211744066, 0.0707693174, -0.0113827484, -0.0033107388, 0.0138980672, 0.0113515705, -0.0037761584, -0.033019267, 0.0518586971, -0.0155366482, 0.0040458441, 0.0481835008, 0.0107644843, -0.0387076586, -0.0266750194, -0.0019163386, -0.006081976, -0.0686013848, -0.0182689149, -0.0827206597, 0.0337560289, 0.0187827386, -0.094481051, -0.0039266017, -0.0130579537, 0.0436938405, -0.0074519855, 0.0129816644, -0.0138576301, -0.0064407303, -0.0271304045, 0.0358546674, -0.0107619464, 0.0354963765, -0.0166259725, -0.0058844467, -0.0803157613, -0.0023612112, -0.0394074544, -0.0009948049, 0.0204828661, 0.0084320223, 0.0115438281, 0.0151469791, 0.0073208571, 0.0423211008, 0.0080455011, 0.056808956, -0.0548374541, -0.1051121354, 0.0518352091, -0.0041667246, 0.0263984613, -0.0220062826, 0.0542699397, 0.0378821753, 0.0001799297, -0.0584315248, -0.031461481, 0.0239010472, 0.0059408359, -0.0716127381, 0.0052798074, -0.0129842116, 0.0604441538, -0.0072459914, 0.0279935841, -0.0348325633, -0.0141542815, -0.0335487872, -0.0283873901, 0.0573670566, 0.0044848383, 0.0057376851, -0.0033950573, 0.0047316179, -0.0094915312, 0.035137184, 0.0144554088, 0.0295934994, 0.026420312, -0.0680450127, -0.0075196647, 0.0143005811, 0.003265382, -0.0366952308, -0.0247388855, -0.009265027, 0.03697877, -0.0024754221, 0.0610131174, 0.0154564446, -0.0095490757, -0.0451922305, 0.0670393109, 0.0585398823, 0.0005857421, 0.0182407666, 0.0498761088, -0.0027074362, 0.0416627862, -0.0234404877, -0.0382145159, -0.014227083, -0.0255585425, 0.0057074763, 0.0066506821, 0.0130999433, -0.0375168435, -0.0425880812, -0.0044877683, -0.0424206629, -0.0176677965, 0.0456223004, 0.0391194858, -0.0367797315, -0.0444824696, 0.0410680212, 0.0275026914, -0.0788936242, 0.0204033181, -0.0277946871, -0.0048043705, 0.0609198101, -0.0299898349, -0.0257254243, -0.0138525497, -0.0381722525, 0.0089050634, 0.0057109133, 0.0151484674, 0.0234656874, 0.1172498614, -0.0438345149, 0.0037096695, -0.0028708472, -0.0050698956, 0.0451241955, -0.024969494, 0.059171807, -0.0151642468, 0.001226784, -0.0015677885, -0.0140434438, -0.0592924394, -0.0500797741, -0.0097837048, -0.0011395544, 0.063688077, 0.0530509427, -0.0401794016, -0.0043082619, 0.0279203746, -0.0325545855, 0.0483017787, 0.0645908564, -0.0069615203, -0.0193692744, 0.0269632302, 0.0183253419, 0.0214619525, 0.0695608705, -0.019991694, -0.0161725301, 0.0700783655, -0.0026941947, 0.0668025687, -0.0488342196, 0.0031368705, -0.0451492481, 0.0581844412, 0.0596855134, -0.036515411, 0.0159737915, 0.008642721, -0.0263672397, 0.0118746981, -0.0082005244, -0.0285364259, -0.0699115247, 0.0175052248, -0.0071898247, 0.0294259526, -0.0012985438, -0.0274629146, -0.0027707356, -0.0347162858, -0.092547901, -0.0147831142, -0.0022916528, -0.0017111944, -0.0254075788, -0.0033912261, -0.0381645598, -0.0307694469, -0.0399409942, -0.0062351101, 0.0235220417, 0.0106599024, -0.0245177373, -0.0225149244, -0.0102528287, -0.0718362182, 0.0311999843, 0.0089409174, 0.0076098903, -0.0298512261, 0.0002740909, -0.0134948622, 0.0060503688, -0.0234055966, 0.0266163833, 0.0145970974, -0.0720373765, -0.0174931753, -0.021079272, -0.0025899927, -0.0015455491, -0.0275857616, 0.0446572229, 0.0270508491, -0.0194945484, -0.0278426558, 0.0381853841, -0.0113640968, -0.0282607712, -0.023098154, -0.0002397866, -0.0326263867, 0.0529705025, 0.0291420333, 0.0168547761, -0.0486526266, -0.0039139749, 0.0118822251, -0.0267301779, -0.0243475996, -0.0192504879, -0.0246548709, 0.0121408869, 0.0444205627, -0.0430428945, 0.0132618481, -0.0751890242, -0.0608335659, -0.0885160416, -0.0226056967, -0.0165267065, 0.0480820462, -0.0587390549, 0.0076670572, -0.0290379059, -0.0053908387, -0.0023105592, -0.0075042499, -0.0118478015, -0.0702229291, -0.0029569077, 0.0098908227, -0.0430811755, 0.0305906516, -0.0185634289, -0.0126276957, -0.046945639, -0.0620219223, 0.0082582599, -0.0350758061, 0.0135632912, 0.0034901383, 0.0023371056, 0.0287481397, -0.0121410592, 0.0133281332, -0.0014426868, 0.0004701586, 0.0050234972, -0.0018680235, 0.0566698425, 0.0095392875, 0.024454318, 0.0283568408, 0.0023616247, 0.08554212, -0.0134947691, -0.039563369, 0.0585712455, 0.024951268, 0.0145480139, -0.0091979727, -0.0001745118, -0.0192998368, -0.0390959159, 0.0807887167, 0.1149859652, -0.0025306297, -0.041324053, 0.0025641434, -0.0101302564, -0.0141878258, 0.0142139392, -0.0017692165, -0.0007742757, -0.0002801388, 0.0055397172, 0.0181813128, 0.007695002, 0.0066781868, 0.0040430888, -0.0691522285, 0.0564360432, 0.021283228, -0.0004818424, -0.0386764817, -0.0301003046, -0.0133160884, -0.0195739809, 0.0542613231, -0.0498567149, -0.0234824456, -0.0385988951, 0.0412179902, -0.0448882505, -0.0425419286, 0.0567906611, -0.038457647, 0.0043728156, 0.0022789035, 0.0546958297, -0.0245272312, -0.0843693838, 0.0114217177, -0.0075526494, -0.0050876145, -0.0195201915, 0.0069659087, 0.0248913821, -0.0219359826, 0.0070586051, 0.0081442455, -0.0557696484, 0.0139794825, -0.0226855706, 0.0829183087, -0.037530534, -0.0043026013, 0.0060921926, 0.0642920285, 0.0417820476, 0.046884995, 0.0272820108, -0.0344910212, -0.0366815962, 0.0278789531, 0.0325371884, 0.0470184609, -0.0574016944, 0.0341046713, -0.0141226947, -0.0484264567, -0.0286815297, -0.070839718, -0.013797855, 0.0447515883, -0.0065882625, 0.0331856161, -0.029857967, 0.0031573998, -0.0474286675, 0.0392817482, 0.0672838166, 0.0163059831, 0.0001558774, 0.008593481, 0.0443137325, -0.0127426656, -0.0351237282, -0.0284345113, -0.0312996842, -0.0586384311, 0.0530966036, 0.0303687789, 0.0094367415, 0.0207308251, -0.0068763867, -0.0247417688, 0.0735817626, -0.0128972093, -0.0587273613, 0.0255560651, 0.0986052454, 0.0230513886, -0.0367048196, 0.0077662249, -0.0141144833, 0.0311786272, 0.0106980288, -0.016464524, 0.0326597728, -0.0218683556, -0.035954114, 0.0252782535, 0.0945682228, 0.0140889203, -0.0003383172, -0.0233874377, 0.0208496563, -0.0214037895, 0.0790210813, -0.0468742959, -0.0610616617, 0.0022911397, 0.0127301421, -0.0383245982, -0.0256363899, -0.0364021286, -0.0209126305, 0.0144051295, 0.0766877607, 0.01539151, 0.0278394502, -0.0076952684, 0.0599016249, 0.001070796, 0.0693937466, -0.0132027036, -0.0088171083, -0.0273981392, 0.00831345, -0.0159006175, -0.003812369, 0.008043726, 0.0505537391, -0.0140735479, -0.0711788982, -0.0089116422, -0.0164211728, 0.047889404, -0.0153947445, 0.0814615339, -0.0242425576, 0.0401399992, -0.003712324, 0.0133779738, -0.069623597, 0.0118456408, 0.0175985601, -0.035529986, -0.0458194837, -0.018204039, 0.0249278378, 0.0245144628, 0.049889259, 0.0062826467, 0.0093800221, -0.0412115939, -0.0333244652, 0.0387809128, -0.0221748445, -0.0286490899, 0.0261674877, -0.0591234863, -0.0554948375, 0.0263811275, -0.0387934893, -0.0382993482, -0.0361361839, 0.0274423603, 0.0469745733, -0.0119163087, 0.0290179513, 0.0044557233, -0.0196096208, -0.041202832, -0.0275038164, 0.0547266528, -6.242424546e-33, 0.0109141702, 0.039991349, -0.0306752138, 0.0329567641, -0.02566378, 0.0354660116, -0.0247191563, 0.0242857467, -0.0107667409, 0.0083438242, 0.0011595188, -0.0210221279, 0.0237315353, -0.0012656035, 0.013564501, -0.0438455231, 0.0355652496, -0.0313013121, 0.0602009557, 0.0015884117, 0.0299438648, 0.0479357354, 0.0917505771, -0.0887114108, 0.0203773919, 0.0307678822, -0.00073526, -0.0257419273, 0.0619393401, 0.0348301493, -0.0198752508, 0.0747433454, -0.0107466178, 0.0164695345, -0.0171288773, 0.0149060637, -0.0443280749, -0.033223141, 0.0235335361, 0.0518935584, -0.0467326604, -0.0065427101, 0.0050710612, 0.0299025606, -0.0421808846, -0.0084738936, -0.0023960879, -0.0256677661, 0.031181274, -0.0474843644, -0.0376564413, 0.0009333645, -0.0086171562, 0.0127584441, 0.0842900723, 0.0847773254, -0.0320665836, 0.0151458615, -0.0519863218, -0.0187792815, -0.0184652414, -0.0088875536, 0.0452907644, -0.0464095958, 0.0118424119, 0.0559744313, 0.066521816, -0.0215175021, 0.019816855, 0.060270641, 0.0490928665, 0.0669392198, 0.0374610685, 0.0373114049, -0.0216617603, -0.0012653937, 0.0072676595, -0.0078970557, 0.0779443383, -0.0027192372, 0.0348127522, 0.0124092018, -0.0162106529, -0.0046833451, -0.0535254702, -0.0362626091, -0.0167981908, -0.0677228644, 0.0651034564, -0.0428401791, 0.0436527468, 0.0094581982, 0.049566403, -0.0047731805, 0.0129966568, 0.0114914319, -0.009699597, 0.0280828513, 0.0083880825, 0.0116195614, -0.0153527642, -0.0213659182, 0.001660466, 0.0047068996, 0.0851477981, -0.0303212348, -0.038429182, 0.0457974635, -0.0277456976, -0.0065588942, -0.0063151899, 0.03798398, 0.0169803072, 0.0069525074, 0.0303130895, 0.0242117327, -0.013885037, 0.0010250174, -0.0200243946, -0.014532824, -0.0143623473, -0.0035436554, 0.0143036591, 0.0596341118, -0.0305624641, -0.0036630493, -0.0154602071, -0.0123803383, 0.0406165458, -0.0334656425, 0.0002158731, -0.0097788256, 2.879e-7, -0.007346882, 0.0247797072, 0.0300287642, -0.0415425226, -0.001463018, 0.0227082558, -0.0295401886, 0.0277098417, 0.0183952786, 0.0045892466, -0.001310386, -0.0116961589, 0.090712294, 0.0509984791, -0.0683324561, -0.0580915436, -0.0686381012, 0.0256698895, -0.0226055328, 0.0340778716, 0.0664099827, 0.0970511287, 0.0213696938, -0.0240722578, 0.0009591618, 0.0198849831, 0.0232984349, -0.0627769828, -0.0350766107, -0.0024297333, -0.0298212375, -0.0572571494, -0.0171046685, 0.0160439219, -0.0180923436, 0.0511512123, 0.0125667676, 0.0409239791, -0.0067239488, -0.0878740251, 0.0212754477, 0.0342464596, -0.0433860235, -0.0741081908, 0.0440713726, 0.0009455445, -0.0270000529, 0.0128149102, -0.0193135738, 0.0191089083, 0.0596001334, -0.0486945808, -0.0053570666, 0.0359211713, -0.0036785305, -0.0355689339, -0.0347390063, -0.0360308886, -0.0092037879, 0.0617932901, -0.0464824438, -0.0366504304, -0.0210171491, 0.0102901738, 0.0649038628, -0.0194837339, 0.0048380848, 2.038760183e-34, 0.0179323759, -0.0441341177, 0.0372802727, 0.0317684449, 0.005322109, -0.0057227719, 0.0603152178, 0.0169586055, 0.0452413633, -0.0086844973, 0.0096969139 ]
http://arxiv.org/abs/2402.01577v1
http://arxiv.org/pdf/2402.01577v1
Deep Active Learning for Data Mining from Conflict Text Corpora
2024-02-02T17:16:23
2024-02-02T17:16:23
Mihai Croicu
cs.CY
cs.CY, cs.CL, stat.ML
High-resolution event data on armed conflict and related processes have revolutionized the study of political contention with datasets like UCDP GED, ACLED etc. However, most of these datasets limit themselves to collecting spatio-temporal (high-resolution) and intensity data. Information on dynamics, such as targets, tactics, purposes etc. are rarely collected owing to the extreme workload of collecting data. However, most datasets rely on a rich corpus of textual data allowing further mining of further information connected to each event. This paper proposes one such approach that is inexpensive and high performance, leveraging active learning - an iterative process of improving a machine learning model based on sequential (guided) human input. Active learning is employed to then step-wise train (fine-tuning) of a large, encoder-only language model adapted for extracting sub-classes of events relating to conflict dynamics. The approach shows performance similar to human (gold-standard) coding while reducing the amount of required human annotation by as much as 99%.
Deep Active Learning for Data Mining from Conflict Text Corpora: High-resolution event data on armed conflict and related processes have revolutionized the study of political contention with datasets like UCDP GED, ACLED etc. However, most of these datasets limit themselves to collecting spatio-temporal (high-resolution) and intensity data. Information on dynamics, such as targets, tactics, purposes etc. are rarely collected owing to the extreme workload of collecting data. However, most datasets rely on a rich corpus of textual data allowing further mining of further information connected to each event. This paper proposes one such approach that is inexpensive and high performance, leveraging active learning - an iterative process of improving a machine learning model based on sequential (guided) human input. Active learning is employed to then step-wise train (fine-tuning) of a large, encoder-only language model adapted for extracting sub-classes of events relating to conflict dynamics. The approach shows performance similar to human (gold-standard) coding while reducing the amount of required human annotation by as much as 99%.
[ 0.012718414, 0.0518015027, 0.0028687483, 0.0068274057, 0.0077497223, 0.0383959673, 0.0215986427, -0.0257779993, 0.0010689301, -0.0323537365, 0.0591488332, -0.0217339788, -0.0227274839, 0.0738808513, 0.000513616, -0.0553740337, 0.0416610613, -0.017476961, 0.053716708, 0.007124153, -0.0212819502, -0.001902084, -0.0465981364, 0.0160410516, -0.0387298763, 0.0477224961, -0.0641089603, -0.0344642885, 0.0236132294, -0.0094971145, -0.0031155332, 0.0093904985, 0.0518899821, 0.0318118706, 0.0000020048, -0.040219672, -0.0094490079, -0.0365008637, -0.0357049331, 0.0073725875, 0.0203294251, -0.0311308336, -0.0036493021, -0.0088527156, -0.0501417182, -0.0429288819, 0.0268156622, 0.01560893, 0.0690351427, 0.0717699602, -0.019013932, -0.0134184863, 0.0314062349, -0.0129636442, -0.0535713881, -0.0283252262, 0.0168204978, -0.0203792341, -0.0370084569, 0.0384929255, 0.0281024296, 0.0262595769, 0.028169645, 0.0005384561, -0.0272923857, 0.0259990245, -0.0422969237, 0.0277804956, 0.0253012013, 0.0141998054, 0.0018890235, -0.0112054637, 0.0130581539, -0.029596325, -0.01731373, -0.013022163, 0.0006836642, -0.0117043806, -0.0190282706, 0.0326157585, 0.023684822, -0.000530335, 0.0026098504, 0.0165932234, -0.0155701637, -0.006298949, -0.0448184423, -0.0228049047, 0.0349432305, 0.0121135078, -0.0221630987, -0.0208702795, 0.0196469352, 0.0352880433, -0.0437097512, -0.0163747706, -0.0210784711, -0.0192645267, 0.0138223069, -0.1004735082, -0.0258020647, -0.0098031648, -0.0225630179, 0.0765552819, 0.0215289705, -0.0181361418, 0.0254128166, 0.0302036572, 0.0159865227, -0.0212553386, -0.0775792673, 0.0008692505, -0.0145367514, 0.0323161073, 0.0077458108, -0.0082175629, -0.0639916509, -0.0134237455, -0.0037875588, 0.0109044965, -0.0174964573, 0.0058173202, -0.0503654219, -0.0076755336, -0.035831999, -0.0178637579, -0.0332038105, 0.0451862141, -0.0367414728, -0.0555986799, 0.0337165445, -0.0113040237, 0.0131858392, -0.00104226, -0.0061840392, 0.0495316945, -0.0417400338, -0.0065239337, -0.0697824731, 0.0249172673, 0.0492125005, 0.0165431648, 0.005563987, -0.069825545, 0.035700798, -0.0313231163, 0.0031114714, -0.0658108294, -0.0109255807, -0.0060498794, -0.0267068371, 0.067042686, -0.0502155684, 0.0017478118, 0.0572198965, -0.0100134229, 0.0340837836, 0.0844845846, 0.0671837553, 0.0348979309, 0.0670105964, -0.0073822537, 0.009783892, 0.013559781, -0.0284277219, 0.0210828874, -0.0567081757, 0.0146038188, -0.0699171647, -0.0196259264, -0.0296844468, -0.0243717525, -0.0101735257, -0.0434969738, 0.061208263, -0.0048809717, -0.0512012839, 0.0105266795, 0.0206430107, 0.0472815298, 0.021693591, -0.0185693633, 0.0371261314, -0.0066252947, -0.0195459854, -0.0418623351, 0.0188476928, 0.0335407667, -0.0249148477, -0.0427408516, -0.0016643803, -0.0318775438, 0.014975246, 0.024132669, 0.0608004667, -0.0133694932, -0.0010864657, 0.0220361408, 0.0816202611, -0.0296013746, 0.0061697508, -0.0399589054, -0.0354080945, 0.0072236937, 0.0167059489, -0.0752805918, -0.0776035413, -0.0823571309, 0.0678142533, -0.0054528397, 0.0223942138, -0.0254432242, 0.0526147336, -0.0550173372, -0.0480444469, 0.0245596804, 0.0104575055, -0.0012813543, -0.0096147535, 0.0062400498, -0.0184892509, 0.0226504933, -0.0653640851, 0.0598803423, 0.0024106819, -0.0433004126, 0.0271846745, 0.0419086926, 0.0596171878, 0.0272260047, -0.0013345224, -0.0388088413, 0.0389115736, -0.0344794095, -0.0048819911, 0.0065267948, 0.0585307032, 0.0853112042, 0.0037337013, -0.009205414, -0.0266558994, 0.0008847169, -0.0296241362, -0.0068008243, 0.0006606212, -0.0186336115, -0.0425654277, -0.0118216285, 0.0142179355, -0.0304610897, -0.0005605925, -0.0710969046, 0.0753246546, -0.0072077322, -0.0157191176, 0.0270722788, -0.0309489165, 0.0591665991, -0.0099374866, 0.0036595494, 0.0353932567, -0.0092989402, -0.0030213643, 0.0273816772, -0.0246914197, 0.0169882327, -0.027634548, -0.0275957175, -0.0107512306, -0.0196039136, -0.010778442, 0.051572226, -0.0226866808, -0.0244551208, 0.0118577471, 0.0164447092, 0.0100846393, -0.0278176647, 0.0043156482, 0.0259758625, 0.0114595825, 0.0430736765, -0.0413397476, -0.0081480639, -0.0164489541, 0.0566553846, 0.0322758108, -0.046867311, -0.0111735836, 0.0187197924, -0.0204335544, 0.0535800718, -0.0394415855, -0.0773360282, 0.0570876412, -0.0231049899, -0.0390927643, 0.0331594981, 0.038773071, 0.1083377451, 0.0349942856, -0.0264865197, -0.0307111815, 0.0325515345, -0.0717323869, -0.0345295332, -0.0667198747, -0.0131583884, -0.0205468405, 0.0264814477, 0.0285256859, 0.0363216102, -0.0142236482, -0.0173358526, -0.0213338062, -0.0135697192, -0.0638048872, 0.0034671212, 0.0006386339, 0.0515338108, -0.0117807761, -0.0061469795, 0.0714182779, 0.0297083054, 0.0157780219, -0.0430743322, -0.0224330276, -0.0271281004, 0.06134497, 0.0126794549, 0.0073799808, -0.0074763242, -0.0208640359, -0.0336591899, -0.0576524101, 0.026261976, -0.041330304, 0.0079090353, -0.0396206342, -0.0011352567, -0.0203635748, 0.0055296146, -0.042559959, -0.0424614809, 0.0133825177, 0.0366695225, -0.0039147278, 0.0020185811, -0.008408051, 0.0392741263, 0.0303446241, 0.0439570174, 0.0475520901, -0.0302863438, -0.0424654372, 0.0416239612, 0.031306915, -0.0477224961, -0.0251078699, -0.0242112949, -0.0431487635, 0.0204955712, -0.0208142791, -0.004974782, -0.0479833744, -0.0015379565, 0.0549535528, -0.0434909984, 0.0271400828, -0.0139949778, 0.0031648215, -0.0525084622, 0.0263537429, 0.0879797041, 0.0636222363, -0.0742002055, 0.0196384788, 0.0214371253, -0.0147696184, 0.0058459877, -0.0019493781, -0.049654033, 0.0186292939, 0.0030848812, 0.0115354601, -0.0209544916, -0.0785476491, 0.0149836252, -0.0723246932, -0.0167571157, -0.0065802867, -0.0259479322, -0.0417538993, -0.0711167082, 0.0130476868, -0.0466650724, -0.0335988104, -0.0199456625, 0.0207059179, -0.0009522054, 0.047558967, -0.0868350938, -0.0686533749, -0.0077220015, -0.047571864, 0.0222011954, 0.0155010503, 0.0568892322, -0.0148954205, 0.0638013259, 0.0580767989, -0.0383137837, -0.0300201233, 0.0131706372, 0.0800587758, -0.0060873562, -0.0414853096, 0.0128184417, 0.0291413795, 0.0153653864, -0.0087373527, 0.01981722, 0.0383930765, -0.0437025838, 0.0644566491, 0.0065918029, -0.0186867453, 0.0555702932, -0.0096373511, -0.0107808625, -0.0127456794, 0.0054009627, -0.0048144832, 0.04972535, -0.0395606384, -0.0470788777, 0.0322787426, -0.0169152785, -0.0457074046, -0.024356056, -0.0783972219, 0.0631489381, 0.0665258393, 0.0041725296, 0.0124952365, 0.0430009998, -0.0125604589, -0.0391016454, 0.003556947, 0.0078070974, 0.00081425, -0.0008515608, -0.1001123488, -0.0293905027, 0.0328073017, -0.0196780004, 0.0544297919, -0.0387389436, -0.0305521972, 0.03275989, -0.0067152716, 0.0190400817, 0.0258079004, -0.0194370504, -0.0439246111, 0.0118784839, 0.012786041, 0.0191165879, -0.0336894579, 0.035153009, -0.023833368, 0.0185421407, 0.0076106028, -0.0072711129, 0.017195465, 0.0430876352, -0.0537363477, -0.1120995656, -0.0819359943, 0.0138244359, -0.0542402305, 0.0920859724, -0.0044046696, -0.0944098979, -0.0567183793, 0.0162233897, -0.0141776642, 0.0068506394, 0.012664197, 0.0266500786, -0.0056723473, 0.0239329059, -0.0274503659, 0.0616792962, 0.0152092315, 0.0324564427, -0.0385271609, 0.0456165038, -0.0010484381, 0.0501350872, -0.0052347793, 0.0275194813, -0.0050227041, 0.0446840934, -0.0133914854, 0.0086141741, -0.0114321299, 0.0270420015, 0.0325901993, 0.0609731004, 0.0319089592, 0.0142020416, -0.0398837663, -0.0279724766, -0.0420774706, 0.0265055913, 0.0860362649, -0.0366684943, 0.0139387362, -0.0184037182, -0.0157553889, 0.0127735091, 0.0062616598, -0.0076413336, -0.0280086752, -0.019977184, 0.0545020401, -0.0264987145, 0.0763668865, 0.0700515956, 0.0076876399, 0.0507479087, 0.0484585911, -0.0319802836, -0.0037652601, -0.0225840453, 0.0457243808, 0.0395505093, -0.0179334525, 0.0060890107, -0.012296522, -0.0381121002, -0.0000524909, -0.007675854, -0.0114526041, 0.0035677594, 0.0336707123, 0.037007831, 0.0057513509, 0.0990789607, -0.0654868558, 0.0322722048, 0.0204687547, -0.0068212608, 0.032882981, -5.865101145e-33, -0.027843114, -0.0167355835, 0.000537643, -0.0161571819, -0.0342573412, 0.0213790014, -0.0444347225, -0.0376077928, -0.0196663681, 0.0280566923, 0.0042671063, -0.0059849974, 0.0182921924, 0.0014030959, 0.0060374467, -0.0191104785, 0.0288287662, 0.0125447875, 0.0029680554, 0.0147038456, 0.0897115394, -0.0070197419, 0.0235466491, -0.1191503629, -0.0024214527, 0.0286803264, 0.0003221973, 0.0011655183, 0.072001107, 0.0562556908, -0.0305069219, 0.0002021409, 0.0190721322, -0.0368875861, 0.009818458, -0.0389252268, -0.0405034423, 0.0216570981, -0.0317581259, 0.0319293737, 0.0192050375, 0.0125955502, -0.0071941018, 0.0135023305, 0.006969553, 0.0077276435, 0.0621009953, -0.0450660661, -0.0063357963, -0.064047806, -0.047852356, 0.0408823453, -0.0816572681, 0.0018953339, -0.0019346119, -0.0129000479, 0.0240836684, 0.0059912419, -0.091578126, 0.0249002222, -0.0105103897, 0.0466932133, -0.0096408529, -0.017165415, 0.0061158445, 0.0748169571, -0.0051181843, 0.0121827889, -0.0323018022, 0.0250578355, 0.0218899027, 0.0280972328, 0.0227356087, 0.0833198503, 0.0317994319, -0.0360293612, -0.1068930477, 0.014358921, 0.0744794011, 0.0196904764, 0.0097407047, 0.0189747866, 0.0007965469, -0.0181500297, 0.0220902096, -0.0136593776, -0.0030844093, -0.0164070409, -0.0189583078, -0.0300997011, -0.0295597669, 0.0490999818, 0.0303017311, 0.0131247425, 0.0344271921, 0.0339418836, 0.0102956397, 0.0493259653, -0.019231949, -0.0003624854, -0.026553778, -0.0566542968, 0.0103560314, -0.0118481787, 0.0436802022, 0.0141578084, 0.0187360048, 0.0268032588, -0.0176752079, 0.0182393491, 0.0038140852, 0.0047872341, -0.0102900295, 0.053103853, 0.0009535555, -0.0222208109, 0.0096292682, 0.0352257565, 0.0363219902, -0.0484537892, 0.0407815538, -0.0052845483, -0.0283094049, -0.0014561651, 0.0096036596, -0.0130555024, -0.0353264622, 0.041722957, -0.0059424215, -0.0450531431, -0.0068822992, -0.0492026508, 2.641e-7, 0.0241114236, 0.0518388525, 0.0179154743, -0.0103908572, -0.0045407531, 0.0425707959, -0.0005080174, 0.0383615643, -0.0003125967, -0.0120631736, 0.0446323119, 0.0449812375, 0.0343521535, 0.0667643324, -0.0706479922, -0.0535652936, -0.0431377478, 0.0018871462, -0.0850456133, 0.0100446111, 0.0365341306, 0.0404914878, 0.0596507937, -0.0237243976, -0.0227988288, -0.0289929602, 0.0087420261, 0.0028708319, -0.0531935692, 0.034347374, 0.0229398124, -0.0207678284, -0.0558289215, 0.0373682715, -0.0219639, -0.0119635928, 0.016671313, 0.0466648303, -0.0134791834, -0.0104656611, -0.0181700774, -0.0545174554, -0.0171312969, -0.0117293429, 0.0831959918, -0.0335070193, -0.0468125008, 0.0057349163, -0.0369828008, 0.0024460286, 0.0301373918, 0.0139342491, -0.0082989708, 0.0165324546, -0.0178042818, 0.0130067291, -0.003752785, -0.047270041, -0.0077876039, -0.0073677772, -0.042409312, -0.0120822983, 0.0343736485, 0.0422225371, 0.0219804682, 0.0572701469, 0.0417803004, 2.315137501e-34, 0.0291863829, 0.059803661, -0.0130799683, 0.0005552322, 0.0178866163, 0.0162530188, -0.0160966348, -0.0028953832, 0.0097103491, -0.0071700998, 0.008582565 ]
http://arxiv.org/abs/2402.01825v2
http://arxiv.org/pdf/2402.01825v2
Fractal Patterns May Illuminate the Success of Next-Token Prediction
2024-02-02T17:09:33
2024-05-22T16:19:13
Ibrahim Alabdulmohsin, Vinh Q. Tran, Mostafa Dehghani
cs.CL
cs.CL, cs.AI
We study the fractal structure of language, aiming to provide a precise formalism for quantifying properties that may have been previously suspected but not formally shown. We establish that language is: (1) self-similar, exhibiting complexities at all levels of granularity, with no particular characteristic context length, and (2) long-range dependent (LRD), with a Hurst parameter of approximately H=0.7. Based on these findings, we argue that short-term patterns/dependencies in language, such as in paragraphs, mirror the patterns/dependencies over larger scopes, like entire documents. This may shed some light on how next-token prediction can capture the structure of text across multiple levels of granularity, from words and clauses to broader contexts and intents. In addition, we carry out an extensive analysis across different domains and architectures, showing that fractal parameters are robust. Finally, we demonstrate that the tiny variations in fractal parameters seen across LLMs improve upon perplexity-based bits-per-byte (BPB) in predicting their downstream performance. We hope these findings offer a fresh perspective on language and the mechanisms underlying the success of LLMs.
Fractal Patterns May Illuminate the Success of Next-Token Prediction: We study the fractal structure of language, aiming to provide a precise formalism for quantifying properties that may have been previously suspected but not formally shown. We establish that language is: (1) self-similar, exhibiting complexities at all levels of granularity, with no particular characteristic context length, and (2) long-range dependent (LRD), with a Hurst parameter of approximately H=0.7. Based on these findings, we argue that short-term patterns/dependencies in language, such as in paragraphs, mirror the patterns/dependencies over larger scopes, like entire documents. This may shed some light on how next-token prediction can capture the structure of text across multiple levels of granularity, from words and clauses to broader contexts and intents. In addition, we carry out an extensive analysis across different domains and architectures, showing that fractal parameters are robust. Finally, we demonstrate that the tiny variations in fractal parameters seen across LLMs improve upon perplexity-based bits-per-byte (BPB) in predicting their downstream performance. We hope these findings offer a fresh perspective on language and the mechanisms underlying the success of LLMs.
[ -0.0007373187, -0.0051052407, -0.0393622182, 0.0220813118, -0.0868274793, 0.0049643945, -0.0284229256, 0.0693240985, -0.0567674115, -0.0177856646, 0.0503833853, -0.1222547591, 0.0075028422, 0.0592628308, 0.0293324888, -0.043220818, 0.0335926637, -0.0502976179, 0.0059616212, 0.0031308655, 0.0041114674, -0.0497822613, 0.0343117602, 0.0070736418, -0.0231768154, -0.0204181056, -0.0524100438, 0.0222610328, -0.0092058377, -0.0217058137, -0.033323504, 0.029571509, -0.0433431193, 0.0417426489, 0.0000018703, -0.0805810615, 0.0039392067, -0.0088476343, 0.0048820702, 0.0348870568, 0.0090096314, 0.0021293345, -0.0332362391, -0.0067607486, -0.0092487903, -0.0072480086, 0.0217878595, 0.0720003843, 0.0019911844, 0.0994209349, -0.0303017274, -0.047798451, 0.0337704122, 0.0105932327, 0.0408057086, 0.0281952191, 0.0223289877, -0.0273004565, 0.0061387382, 0.0042756191, -0.0273270253, -0.0150471441, 0.0119622303, 0.0062144278, -0.0250681862, 0.0445698984, 0.0227155592, 0.0007582413, -0.0000781587, 0.0375524387, -0.0089540444, 0.0093077123, 0.0370167159, -0.002997373, -0.0174032133, 0.0339345448, -0.0477058589, 0.0016174888, -0.032556653, 0.0206278767, 0.0358931683, 0.0049651805, 0.0258036256, -0.0070260856, -0.0510290675, 0.0660716817, -0.0077877543, -0.0382007025, -0.050998006, -0.057476379, 0.0481291115, -0.0634153113, -0.0219626743, -0.0018540074, 0.0301613193, -0.0018355228, -0.0409127697, 0.0184042547, 0.0517938472, -0.0193392783, 0.0293313526, 0.0228052568, -0.0082205674, 0.0395484865, -0.0135166934, -0.0110704601, -0.0567220524, 0.0399059244, -0.0087283365, 0.0344989114, 0.0057571353, 0.010795719, -0.007150373, 0.0661161542, 0.00870746, -0.0249169562, -0.0299068652, 0.0055843918, 0.0271183886, -0.0121456459, -0.0361105241, -0.0270853955, 0.0344565548, -0.0063829734, -0.0456664823, -0.0196755063, -0.0486667044, -0.0102615552, -0.0050348113, -0.0202411748, -0.019853523, 0.0368116684, -0.0030299709, 0.0014204175, -0.0037263713, 0.0892443955, 0.0385164842, -0.036607489, -0.0383233726, -0.0181741584, -0.0128852474, -0.0268810596, 0.0112349046, -0.0556358732, -0.0375968404, 0.0321063884, -0.0364904068, 0.0225940477, -0.0175649412, 0.0287028104, -0.0171485469, 0.0863158181, -0.025135098, 0.0027844419, -0.0313495547, 0.0002922743, -0.0130798612, 0.0605410039, 0.0372696593, 0.0491589494, 0.0489582904, -0.0092260074, -0.0077964906, 0.0255652145, -0.0206994098, 0.005860969, -0.0355570354, -0.0024269435, 0.0193852633, 0.0102988193, 0.0357380398, 0.0652229711, -0.024691904, -0.0575825237, 0.0427801311, 0.1079499871, 0.0304200929, 0.0236629546, 0.0013627377, 0.0245863348, 0.0272352546, 0.0553096272, -0.0182317439, -0.0032312411, 0.0408402793, 0.027027199, 0.0768020377, 0.0420568325, -0.0039727609, -0.0572083257, -0.0475809909, -0.0326826982, -0.010098259, -0.0884206742, 0.0311251208, -0.009324397, -0.0487058051, 0.0415911004, 0.0186834335, -0.0176777095, -0.0347609557, -0.0547815636, 0.027840361, 0.0888969377, 0.050088428, -0.0417607017, 0.0137378266, 0.0115828868, 0.0114070736, 0.0160260685, -0.0229745544, 0.0366935357, 0.0112948725, -0.0549272262, 0.0010055258, 0.021874601, -0.0123144267, 0.032412786, -0.0033184395, 0.028484324, -0.0164797958, -0.0155310975, 0.0000535036, 0.0126925958, 0.0485916212, 0.0195412785, 0.0198723245, -0.0014038467, 0.0491819344, 0.0089359144, -0.0288353078, 0.0249243584, 0.0415327065, -0.0386779867, -0.0270813089, -0.0190370437, -0.062129885, 0.0008347179, 0.0109412577, 0.0127403541, 0.0315540098, -0.0126112429, 0.0070796637, -0.0144949388, 0.0240121651, -0.0680722967, 0.079978548, -0.0222369339, 0.0268094577, 0.003476856, 0.0515069291, -0.0303282235, 0.0295423418, -0.014512185, 0.04213164, -0.0136797847, 0.0371572077, 0.0371788889, 0.021387279, 0.0123447254, 0.021826895, -0.0250890609, -0.0057015428, 0.0198667441, -0.0252306964, -0.0289335903, -0.0517882295, 0.0064938054, -0.0239393115, -0.0143548883, 0.0314031765, 0.004264276, 0.0032085867, -0.0442457199, -0.0463243723, -0.0127224578, 0.0235863887, 0.004690608, -0.0063064741, 0.0708632991, -0.0133523019, -0.0604956336, -0.0188550204, -0.0235624202, -0.0380472504, 0.0523932688, -0.0080296742, -0.0165135004, -0.0581966005, 0.0399505235, 0.0015354321, -0.0230718907, -0.0428109355, -0.0499427281, 0.018636208, -0.0589214079, 0.056014441, 0.0318425111, 0.0315371938, 0.0199263301, 0.0111371558, -0.004992669, -0.0055153081, -0.0179707631, -0.026971247, 0.0898609534, -0.0543546826, -0.0332633592, 0.0245841872, 0.0720298812, 0.0031657019, 0.0092726788, -0.011055463, 0.041435428, 0.0212400518, 0.0017779288, 0.0489370264, 0.011442068, -0.0580106713, 0.0568561144, -0.0133656608, -0.1000115871, 0.0342599973, -0.0150460079, 0.0005260542, 0.0092578251, -0.0177009627, -0.0449655689, 0.0912997648, 0.041556254, -0.0023548407, 0.0183524434, -0.0514743999, -0.0278329346, 0.0055535003, -0.0199650414, -0.015679827, 0.0393087789, 0.0037347514, 0.0061085271, -0.0006134123, -0.0281080548, -0.0131982882, -0.0147104748, 0.0415367112, -0.0208694302, 0.0422032364, -0.0524516888, -0.024784511, 0.0238617025, -0.0074000396, 0.0180222187, -0.0391290933, -0.0308501814, -0.0217048582, 0.0718719661, 0.0299645029, 0.0011250729, 0.0672129467, 0.0044791983, 0.0347308815, 0.05474139, 0.02801135, 0.0129581019, 0.0000104663, -0.0120036872, 0.0108979279, -0.0329498798, -0.0512363873, 0.0708898976, 0.0638841167, -0.0441419147, 0.0074029276, 0.1135173962, -0.0082775401, -0.0021222853, 0.0019459493, -0.0291052628, 0.0633281991, 0.0120119872, -0.0113278581, -0.0672598332, -0.0081620691, 0.0105658369, 0.0030072653, -0.0065764491, -0.0312440656, 0.0098700896, -0.0495090708, 0.0239727497, -0.0008611232, 0.0017455067, 0.0096460935, -0.0588753521, -0.0101882815, 0.0417266116, -0.026069304, 0.0149217295, -0.0213035103, -0.0068506794, 0.0127770891, -0.0661090016, 0.0316953957, -0.0048137694, -0.0269250758, 0.0195664261, 0.0092820739, 0.0234603062, -0.0270213056, 0.0007188155, -0.0238323584, 0.0316278636, 0.0262042992, -0.0235236268, 0.080252327, 0.0490585566, 0.0057022129, -0.0443373211, -0.0405723751, -0.0140071427, -0.008344654, -0.01257734, 0.0381625965, -0.0387891196, -0.0683339685, -0.0664244592, -0.0082060378, -0.0541178249, 0.0829034671, 0.0188438073, -0.0222512987, -0.1190482974, -0.0397256948, 0.042817995, -0.0483844168, 0.0112506347, -0.0041249883, 0.0190924015, -0.035878446, -0.0380998813, -0.0216762535, -0.0403682962, 0.0661038309, -0.0043404358, 0.0338363275, 0.0301623773, -0.0112726446, -0.0695492178, -0.0564013645, 0.0198280532, 0.012010199, -0.0757464692, -0.0020334111, 0.0073053059, -0.0124492757, -0.0096275359, -0.00140372, -0.0669604465, -0.0556565374, 0.0260820724, 0.0061287233, 0.0193799529, 0.0103935832, 0.0404900983, -0.0405111015, 0.0522098839, 0.0442033149, -0.0588531978, 0.0253920704, 0.0173692964, -0.0074389041, 0.009223382, 0.0342313014, 0.0036845796, 0.0031757408, -0.0310556423, 0.0154846599, -0.0193193033, -0.0341397412, 0.011368243, -0.0045034722, 0.0277113765, 0.002654277, -0.0024639387, 0.0506040528, 0.028613437, -0.0246410314, 0.0321491547, -0.0133923143, -0.0297133662, -0.0081794793, -0.007242871, -0.0290543642, 0.000276119, -0.015067176, -0.0065505854, 0.03319465, 0.007262079, -0.0503341705, 0.0124288332, 0.0467674211, -0.0397538766, 0.0295695551, -0.0080670938, -0.0194022078, 0.0407090038, -0.0215968974, 0.0261979755, 0.0159174688, 0.0075305491, -0.0034415396, 0.0445355102, -0.0890819877, -0.0480578803, 0.0010898623, -0.0158170145, 0.0110300956, -0.0064812414, 0.0348882191, -0.0518334694, 0.0298825093, -0.0083051622, 0.0107742865, -0.0108619714, -0.0076950248, 0.0039807861, 0.0243839752, -0.0530276485, -0.0056330021, 0.0593470894, 0.0209684465, 0.0002461096, 0.0098720286, -0.0190249905, -0.0241836347, -0.0290296841, -0.0074739181, 0.0523901619, 0.009412243, -0.0122866044, -0.0697311834, -0.0559951849, 0.0770904794, 0.0134982839, 0.0207877569, -0.0257186331, 0.0277586542, 0.0709218755, 0.0083871307, -0.04503005, -0.0330120027, 0.0094976267, 0.0132791819, -0.0019890494, 0.0077639045, -5.764430707e-33, 0.0023514321, -0.0362014845, -0.0032124086, 0.0533689074, 0.0133384429, 0.0085523445, -0.0057077035, -0.0116606057, 0.0395744145, -0.0081465142, -0.0220647175, 0.0081120646, 0.0124410763, 0.0123761864, 0.032235384, -0.0152624715, 0.0253512748, -0.0277225673, 0.00924253, 0.0247215256, 0.0004398717, 0.0116341179, 0.027762454, -0.018456541, -0.0132272746, -0.0005228697, 0.023686612, -0.0142952194, 0.0172573328, 0.0290726405, -0.0141303279, 0.0140145607, 0.0284957178, -0.0238828063, -0.0432699807, 0.0302548222, -0.0460446924, -0.0485373102, 0.0004888275, 0.0114726434, 0.0045397761, -0.0444893613, 0.0627120137, -0.0095268255, -0.0530551784, -0.0227270368, 0.027168896, 0.0247550253, -0.0107313553, -0.0362515189, -0.022978697, 0.0459583849, -0.0021595247, 0.020197833, -0.0082551111, -0.0197795853, 0.0279085655, -0.011889088, -0.0567289926, 0.0596917085, -0.0131753189, 0.0726763681, -0.0171610378, 0.0267520454, 0.0094644642, 0.0865156502, 0.1305291802, 0.0185998753, -0.0009911624, -0.0178061258, 0.0392064825, -0.0044493848, -0.0035562175, 0.007774184, 0.0741471499, 0.0207430888, -0.067645371, 0.0250308998, 0.0250599459, 0.0332402363, 0.0044567608, 0.0058170911, -0.0827059075, -0.0247755721, 0.0098850876, 0.0635035634, 0.0046703597, -0.0493951663, 0.0174252819, -0.0379087254, 0.0585921891, -0.0136338556, -0.0023603528, -0.0396576859, -0.0367451608, -0.0460204482, -0.0272844154, 0.0295259766, 0.0042525264, 0.0129743433, -0.0165716298, -0.0443429649, -0.0342002809, -0.0139635019, 0.0167130064, 0.0095705697, 0.0045655593, 0.0109076137, -0.1265535355, -0.0119189639, 0.0297947582, -0.0279821046, 0.0296460278, -0.045250643, 0.0487655327, -0.0054190811, 0.007906151, 0.0281602889, 0.0148832826, -0.0032404535, -0.0351577811, -0.0428734832, -0.0143034048, 0.0607933886, -0.0489262268, -0.0208674949, -0.1006197855, 0.0378638878, 0.0063564978, -0.0808451995, -0.0302961338, 0.045493532, 2.708e-7, 0.0339917801, 0.0844952762, 0.0560821705, 0.0276841, 0.031761039, 0.0105102491, -0.0140965907, 0.0059014987, -0.0444934554, -0.003195524, -0.0075268201, -0.0190972891, 0.0181479342, 0.0091480408, -0.1354997903, 0.057269603, -0.038373515, -0.0129069015, -0.050329484, 0.0499609374, 0.0205072202, 0.0649330765, 0.0014671629, -0.001747349, 0.0013161299, -0.0553181358, 0.0214609932, -0.021177955, 0.016545523, 0.0208576974, -0.0113785155, -0.0448011346, -0.0010384363, 0.0096980724, 0.019363476, 0.0082643507, -0.0248073973, 0.016001733, 0.0080882674, 0.003224361, 0.0193562079, -0.0466057286, -0.0098819211, -0.0405646861, 0.0526184551, 0.0254829004, -0.0564927459, -0.0043348572, 0.0173060242, -0.0029458851, 0.0143414289, 0.0445528105, -0.0227878001, 0.0219563488, 0.0028407117, -0.0530724414, 0.0469276868, -0.0371884778, -0.0243115053, 0.0300838724, -0.0228677448, -0.0501270927, -0.1099808887, 0.0293846726, 0.0456906632, -0.0481675975, -0.0200590417, 2.841390251e-34, 0.0578550734, -0.0269870833, 0.0095129302, 0.0380321331, -0.0036591664, -0.0313223116, 0.0136117954, 0.0420675762, 0.0145934103, -0.0498531349, -0.0330046117 ]
http://arxiv.org/abs/2402.01822v2
http://arxiv.org/pdf/2402.01822v2
Building Guardrails for Large Language Models
2024-02-02T16:35:00
2024-05-29T12:57:01
Yi Dong, Ronghui Mu, Gaojie Jin, Yi Qi, Jinwei Hu, Xingyu Zhao, Jie Meng, Wenjie Ruan, Xiaowei Huang
cs.CL
cs.CL, cs.AI
As Large Language Models (LLMs) become more integrated into our daily lives, it is crucial to identify and mitigate their risks, especially when the risks can have profound impacts on human users and societies. Guardrails, which filter the inputs or outputs of LLMs, have emerged as a core safeguarding technology. This position paper takes a deep look at current open-source solutions (Llama Guard, Nvidia NeMo, Guardrails AI), and discusses the challenges and the road towards building more complete solutions. Drawing on robust evidence from previous research, we advocate for a systematic approach to construct guardrails for LLMs, based on comprehensive consideration of diverse contexts across various LLMs applications. We propose employing socio-technical methods through collaboration with a multi-disciplinary team to pinpoint precise technical requirements, exploring advanced neural-symbolic implementations to embrace the complexity of the requirements, and developing verification and testing to ensure the utmost quality of the final product.
Building Guardrails for Large Language Models: As Large Language Models (LLMs) become more integrated into our daily lives, it is crucial to identify and mitigate their risks, especially when the risks can have profound impacts on human users and societies. Guardrails, which filter the inputs or outputs of LLMs, have emerged as a core safeguarding technology. This position paper takes a deep look at current open-source solutions (Llama Guard, Nvidia NeMo, Guardrails AI), and discusses the challenges and the road towards building more complete solutions. Drawing on robust evidence from previous research, we advocate for a systematic approach to construct guardrails for LLMs, based on comprehensive consideration of diverse contexts across various LLMs applications. We propose employing socio-technical methods through collaboration with a multi-disciplinary team to pinpoint precise technical requirements, exploring advanced neural-symbolic implementations to embrace the complexity of the requirements, and developing verification and testing to ensure the utmost quality of the final product.
[ 0.0229296051, 0.1093415245, -0.0501866825, 0.0632096753, -0.0362375639, -0.0334422886, 0.0076895114, 0.0242742524, 0.052227024, -0.030023057, 0.0210824143, -0.0299914572, -0.0279089194, 0.049169641, 0.055513598, -0.025706958, 0.0545484498, -0.0676601157, 0.0072435346, 0.0040628905, 0.0163452774, 0.0174357332, 0.0393290929, 0.0392678566, -0.0228685364, -0.0170795191, 0.0063491245, -0.0095786443, 0.0245955251, -0.0180959068, -0.0018659596, 0.0193461441, 0.0057777101, 0.0914692134, 0.0000022735, -0.0593208559, -0.0078331735, 0.012864545, 0.0017956846, 0.0028870306, 0.0271923561, -0.0352229811, -0.0478083454, 0.0268605221, -0.0230528042, 0.0181390438, 0.0352500156, 0.0228239913, 0.0805794895, 0.059095107, -0.0087387525, -0.0114976242, 0.0345328525, 0.0016244067, -0.064621903, -0.0161173325, 0.0343110226, -0.0228859037, 0.0034829066, -0.002141742, -0.0040399097, 0.0601419732, 0.0428870246, -0.0300691761, -0.0373627469, 0.006631881, -0.0572694875, -0.0293097738, -0.03589895, 0.0658642203, -0.0525157377, -0.0334404111, 0.0303824022, -0.0140959593, 0.0052996753, -0.025662249, -0.0179635193, 0.0421376862, -0.0019072684, 0.025980629, 0.0209689066, -0.0177638698, 0.0568745472, 0.0257559717, -0.0043022824, 0.0825199708, 0.0246800743, -0.0235340539, 0.0125321522, -0.0154679017, 0.024450209, -0.063778542, 0.0535432026, 0.0347698852, -0.0332623944, 0.017467577, -0.0526546501, -0.0357384607, 0.0301383156, -0.0847119093, 0.0267873239, 0.0295654684, -0.0026202474, 0.0166056398, -0.0044991923, 0.0395188704, -0.0480297767, 0.0488859043, 0.0220200345, 0.0107432147, -0.0054020695, -0.0087345717, -0.0255979523, 0.0294462666, -0.0347370543, 0.0116975671, 0.0130958352, 0.0393803865, -0.0576863922, 0.0472697429, -0.0283306874, 0.0077503636, 0.0555936471, -0.0250122957, 0.0046036886, -0.014678238, -0.0150724417, 0.0044980301, -0.0242834687, -0.0656152815, 0.0267472547, 0.0314610787, -0.0462215617, -0.0048954659, 0.0018526606, 0.1069914848, 0.039830815, 0.0019115987, -0.0608157106, -0.0562746115, -0.0118701961, -0.055583559, 0.0172944125, -0.0543325394, -0.0110446764, -0.0278654732, -0.0068341941, -0.0973167568, -0.003712635, 0.0250022914, -0.0030154013, 0.0292730574, -0.0033561385, -0.0230214912, 0.0321477279, 0.0410510823, 0.0187988766, 0.0659563839, 0.062160559, 0.0107731745, 0.0592401624, 0.0043071336, 0.0122150816, 0.0624336749, -0.0043462189, 0.0256459471, -0.0795889348, -0.0110067818, 0.0028234618, 0.0095418589, -0.0099000707, 0.0997535959, 0.0060304645, -0.0494812727, 0.0830736682, 0.0554670766, -0.0347538926, 0.0141074555, 0.0298824813, -0.0016816281, -0.008790222, -0.0271863788, -0.0315982327, -0.0091179516, -0.0424556248, -0.0250018481, -0.0258923192, 0.0727784857, -0.0119657246, -0.0233240835, -0.0218453426, -0.0337176062, 0.0331756808, 0.0034022098, 0.0192712396, -0.0307970047, -0.0066176979, 0.0478168055, 0.0049206936, -0.0317825004, 0.0158533081, -0.077396065, 0.0309985299, 0.0688280016, 0.047532171, -0.0278896801, -0.0115183825, -0.0293620173, -0.0208153054, 0.0602321811, 0.0068340767, -0.0037062678, 0.025474675, -0.0545227826, 0.0141366478, 0.0255299006, 0.0197460633, 0.0143449334, 0.0106263412, 0.0442730524, -0.0018934383, 0.0298083052, -0.0792543963, 0.0397597887, -0.0292823184, -0.0372423939, -0.0197460148, 0.0088409139, -0.0057991394, 0.0259783752, -0.007691958, 0.0084717693, 0.034970317, -0.0229582768, 0.0022163123, -0.0328708887, -0.0473083816, 0.0548083633, 0.068881385, -0.0263737142, 0.0012719556, 0.0584275648, -0.0319411978, -0.0133421943, 0.0614301078, -0.0181334652, 0.0147544155, -0.0288932826, 0.0052100732, -0.0448820591, 0.0255053286, -0.022483306, 0.011080455, -0.0047899149, -0.033156909, 0.0397667028, -0.0339178666, 0.0347492024, -0.0253466163, -0.0723158419, 0.0178139452, -0.0080026342, 0.0563688166, 0.0061445748, 0.0208331831, -0.0174011309, 0.0046377638, -0.0355289094, -0.0152363926, -0.018119663, 0.0213447716, 0.0008603525, -0.0208975021, -0.0270616449, -0.0174517129, 0.013901935, 0.0021311108, 0.0001907282, -0.008689886, 0.0213956293, -0.0152818188, -0.0737314746, -0.0232519619, -0.0136646181, -0.0364893675, 0.044573158, -0.0153353401, -0.040800035, -0.0676917061, -0.0025382002, -0.0279023293, 0.0533042476, 0.0094488431, -0.0128612136, 0.0362252593, 0.0255279355, 0.0073366049, 0.0294917263, -0.0128383795, 0.0066879019, 0.0831521899, -0.0097287903, -0.0444768965, -0.0118021388, 0.0175974406, -0.0017530145, -0.0240124334, 0.0112483893, 0.0088803759, 0.0523888171, -0.0128409006, -0.0198637657, -0.0550078601, 0.0495191105, -0.0619842708, -0.0210637022, -0.0122472774, -0.0819197297, -0.0488253236, 0.049851492, -0.0040760445, -0.0380823016, 0.0874425545, -0.0350742787, 0.0148878898, -0.007667182, -0.0375752449, -0.046285063, 0.0534482934, -0.0264792088, 0.0297530126, 0.0601847768, -0.0124544688, -0.0297166724, -0.0143749239, -0.0144738751, -0.0142151406, 0.0315483473, -0.0638634339, -0.0058448398, -0.0082281046, -0.0392888151, -0.028202761, -0.0319512635, -0.0609600917, 0.0284536853, 0.0152828638, -0.0010754426, 0.0308658555, 0.0190198012, -0.0062969513, 0.0097889137, 0.0010916564, -0.0043114517, -0.0356793888, 0.0003282598, 0.0293377247, -0.0214977115, 0.0550310947, -0.0115849124, 0.0137326038, 0.0440588854, 0.0211372748, -0.0241499674, -0.046818614, -0.0168498177, 0.0528210811, -0.0139892735, -0.0089721633, 0.042958688, 0.0177181978, -0.0689072385, 0.0008314997, 0.0696056634, 0.0117750103, -0.0237203985, 0.0347442776, -0.0433324277, 0.0385580361, 0.0227914657, 0.0407355651, -0.0927337334, -0.0006501769, 0.0320210792, 0.0063894941, -0.0115361176, -0.014833644, -0.0294256695, -0.071652703, 0.0438569486, 0.031774018, -0.0552656502, 0.0062317504, -0.0080820499, -0.024374783, -0.0013016192, 0.0341290459, -0.0027238911, -0.0093799653, -0.0478913896, 0.0171212479, -0.0598311722, -0.0251787305, 0.0138267344, -0.0583071969, 0.0426551774, 0.0386666358, 0.0193070769, -0.018778393, -0.0559157915, 0.0645037889, -0.0062254006, -0.0042009912, -0.0056528817, 0.0144203501, 0.0237410069, -0.0231382418, -0.0227186959, 0.0123446612, -0.0293339007, -0.0397372432, 0.0185953435, 0.1072970778, -0.0299944319, -0.0258499142, -0.0356941968, -0.0144143617, 0.0155955683, 0.0433111116, 0.0096968962, -0.0534710474, -0.0383361615, -0.0423288494, -0.0146863088, -0.0325857587, -0.051568035, -0.0061204745, 0.0047131861, -0.0570528246, -0.0355088562, -0.0183834992, -0.0240286849, 0.0066536437, 0.0500983186, -0.0209201351, 0.0801161453, -0.0362369046, 0.0147585645, 0.0140153058, -0.0771291256, 0.0469809733, -0.0369083025, 0.0732602701, -0.0072146556, 0.0073560067, 0.0012299838, 0.0332169533, -0.056890808, -0.1061406285, 0.015326093, 0.0697770193, 0.0343789794, -0.0054405048, -0.0251152813, -0.075422883, 0.0731285214, 0.0327253751, -0.0279121045, 0.0098252082, 0.0349066965, -0.0571045168, 0.0049189832, 0.0381045453, -0.016866643, -0.0335150212, -0.0002381974, -0.0015988798, -0.0417024605, -0.0284417178, -0.0108799674, 0.0286439452, -0.0133732473, -0.0544014536, 0.0053860173, -0.0481074303, 0.0111476099, -0.0119444225, -0.0006645506, -0.0057537756, 0.0354891159, 0.0045361272, -0.0131718172, -0.0021346125, -0.0191367418, 0.0014487555, 0.0414891616, -0.0214717183, 0.0274372008, 0.0078021958, 0.0520059988, 0.033285521, 0.0036405609, -0.0047860998, 0.0478876084, -0.0304746367, 0.0469174981, -0.0349185281, 0.0208726134, 0.0071843732, 0.0106287338, -0.0286163893, 0.0401411578, -0.0011816982, -0.0700798929, -0.0047747209, 0.0440792702, 0.0493409149, 0.0286729019, 0.0333864093, -0.037474636, 0.0011664971, -0.0311701782, -0.0177817848, -0.0098598637, -0.0557999946, 0.0068403804, 0.0129678659, -0.0205389131, 0.0065877633, 0.0410561524, 0.0014602474, 0.0441381522, 0.019362852, -0.0262310915, -0.0325981155, -0.028128447, 0.0228174254, 0.0120527213, -0.0777534992, -0.0376497395, -0.1120008901, -0.0772297457, -0.0029906945, 0.0406704023, -0.0229059178, -0.0139338514, -0.0030525376, 0.0001373066, 0.037541192, -0.0107843643, -0.0306726322, -0.0279122498, -0.0211969297, -0.0091293789, 0.0029960121, -6.64329163e-33, -0.0013919418, -0.0273015033, 0.0339698195, -0.0085347807, 0.0047551137, -0.0071614818, -0.0166182034, -0.0013202149, -0.0015083031, -0.0054337634, -0.0033348557, -0.0062866095, 0.0125393951, -0.0087906253, 0.0334414281, -0.0120838145, 0.0184688531, 0.0033659723, -0.0001371916, 0.0283053108, 0.0369057804, -0.0140787279, 0.017912088, -0.0913355798, 0.0625141561, 0.0115745151, -0.0081186583, 0.0242836978, -0.0653154999, 0.0670472533, -0.0182762463, 0.0480418317, 0.0076841037, -0.0415178016, -0.009664434, 0.0351401195, -0.0283020306, -0.0363650732, 0.0198599566, 0.0331087224, -0.0150739914, -0.0704038963, 0.0654003471, -0.0086935619, -0.0309980605, 0.039570082, 0.0073063793, -0.0131722381, -0.0041512735, -0.0264343247, -0.0530231744, 0.0125586856, -0.0144131472, 0.0201120041, 0.0146174254, 0.0128316619, -0.0083645098, -0.0124114752, -0.0809785202, 0.0074459487, 0.0042842976, -0.0069420123, 0.09006273, 0.0189106371, -0.022300452, 0.0480010733, -0.004793603, -0.0217126012, 0.0042144707, -0.0177229401, 0.0573106296, 0.0383548215, 0.0376315266, 0.0218796078, 0.0145194903, -0.0477732345, -0.0837703943, 0.0139568355, -0.0058691869, 0.0693420842, 0.0287024938, 0.0290725753, -0.0319387577, -0.0337887555, -0.0184871014, -0.0495966114, -0.0157174952, -0.0058049471, 0.0246481113, -0.003767781, -0.0223978925, 0.0027187064, 0.0209224932, -0.0654195771, -0.0221039765, 0.0024990588, 0.0149401492, -0.0229838304, 0.0266112369, 0.0456834845, -0.0235296898, -0.0157088395, -0.0358345322, -0.0281576961, 0.0546021834, -0.0176732913, 0.027118694, 0.0655881092, -0.0579335615, 0.0287059732, -0.0364356115, 0.0448868535, 0.043826323, 0.0284769461, 0.0105716633, -0.0239885598, 0.0207004305, 0.0135685392, 0.0619035847, -0.0164905787, 0.0134830112, 0.0807533786, 0.0054645156, 0.0165913161, -0.0108308708, -0.0095830681, -0.0311376154, 0.0783908218, 0.0789849535, -0.0759272128, -0.009653681, -0.0216476694, 2.876e-7, 0.006091638, 0.0438520536, 0.039335914, 0.0047804858, 0.026862165, 0.0574631244, -0.0134992786, 0.0374368913, -0.0377791896, 0.0049043871, -0.016542308, 0.0244710669, 0.0478016473, 0.0502350107, -0.0741532668, 0.0052376497, -0.0679342374, 0.0063872971, -0.0751543939, -0.0105136773, 0.0417937152, 0.0644063503, 0.024037566, -0.0348316245, -0.0214104522, -0.0718102008, 0.0138099408, -0.0080247149, 0.025681166, 0.0146488473, 0.048753906, 0.0335687324, 0.0047985855, 0.0002641167, -0.0024260322, 0.0285267849, -0.0495604761, 0.0710302815, -0.00391078, 0.0045131482, 0.0113743059, -0.0565807931, -0.0268546939, -0.0635678545, 0.0607445762, 0.029167885, -0.0195364822, -0.0487359352, 0.0239395052, -0.0400727987, 0.0284751281, -0.0241020359, -0.0018940183, -0.002038643, 0.0068476335, -0.0244176686, 0.0059529734, -0.0470214598, -0.0369243659, -0.0039976626, -0.0185931809, -0.029190341, -0.020955326, 0.0444150008, -0.0101705883, -0.0452940725, 0.0255424455, 2.709047954e-34, 0.0074084536, -0.0267149452, 0.0019925442, 0.0189181734, 0.0196038038, 0.0284826197, -0.0473528244, 0.0056763543, 0.0030273141, -0.0208506715, -0.0218610279 ]
http://arxiv.org/abs/2402.01535v2
http://arxiv.org/pdf/2402.01535v2
An Empirical Analysis of Diversity in Argument Summarization
2024-02-02T16:26:52
2024-02-14T10:51:08
Michiel van der Meer, Piek Vossen, Catholijn M. Jonker, Pradeep K. Murukannaiah
cs.CL
cs.CL, cs.AI
Presenting high-level arguments is a crucial task for fostering participation in online societal discussions. Current argument summarization approaches miss an important facet of this task -- capturing diversity -- which is important for accommodating multiple perspectives. We introduce three aspects of diversity: those of opinions, annotators, and sources. We evaluate approaches to a popular argument summarization task called Key Point Analysis, which shows how these approaches struggle to (1) represent arguments shared by few people, (2) deal with data from various sources, and (3) align with subjectivity in human-provided annotations. We find that both general-purpose LLMs and dedicated KPA models exhibit this behavior, but have complementary strengths. Further, we observe that diversification of training data may ameliorate generalization. Addressing diversity in argument summarization requires a mix of strategies to deal with subjectivity.
An Empirical Analysis of Diversity in Argument Summarization: Presenting high-level arguments is a crucial task for fostering participation in online societal discussions. Current argument summarization approaches miss an important facet of this task -- capturing diversity -- which is important for accommodating multiple perspectives. We introduce three aspects of diversity: those of opinions, annotators, and sources. We evaluate approaches to a popular argument summarization task called Key Point Analysis, which shows how these approaches struggle to (1) represent arguments shared by few people, (2) deal with data from various sources, and (3) align with subjectivity in human-provided annotations. We find that both general-purpose LLMs and dedicated KPA models exhibit this behavior, but have complementary strengths. Further, we observe that diversification of training data may ameliorate generalization. Addressing diversity in argument summarization requires a mix of strategies to deal with subjectivity.
[ 0.0421890095, -0.0002275963, 0.039616365, 0.0234968141, 0.0053251018, 0.0221053436, -0.0338071361, -0.0372554064, -0.0075020478, -0.0756919309, 0.0077124252, -0.0328449607, 0.0107171191, -0.0124088703, -0.0061540371, -0.1078201532, -0.007609115, 0.020665722, 0.0661180615, -0.0275947545, 0.032169342, -0.006082416, -0.0326968394, 0.0568543375, -0.0181349665, -0.021300992, -0.0058745295, -0.0148261646, 0.0844316781, -0.0121554714, 0.0072932113, 0.0359104797, -0.0066462103, -0.0083379596, 0.0000015089, -0.0348142907, 0.0120360609, -0.0169672593, 0.0003281396, 0.0319798961, 0.0306672659, 0.0269464795, 0.0297566336, 0.0246271268, -0.0096108234, 0.0124560278, 0.0262953639, 0.1106157005, 0.0986927599, 0.0606025383, 0.0040576695, -0.0428630076, -0.0033386231, -0.0238411501, -0.0511139594, -0.0064118202, 0.0037705936, 0.0152375242, -0.0223224144, 0.0222885367, 0.0297854729, 0.0073250122, -0.0239948221, -0.0040000943, 0.027313672, 0.0117220115, -0.0415486209, -0.0160673205, 0.0191357005, 0.0701721534, 0.0275865532, 0.0086915875, 0.0506068803, -0.0138752749, 0.0370830335, 0.0051597608, -0.0790754259, 0.0779184625, -0.0200069621, 0.0385202132, 0.0134612005, 0.0514368117, -0.0013147752, 0.0032799505, 0.0368525125, 0.0121510234, -0.0231890958, -0.0138305658, 0.0073876628, 0.0359583236, -0.0367738679, -0.0427366346, 0.0047163968, 0.0286118276, 0.037426874, 0.0116834212, -0.0019007593, 0.0118899848, 0.0555343218, -0.1253924519, 0.0216423366, -0.0499700308, 0.0128787272, 0.0632323995, -0.0095282039, -0.0388684347, 0.0056367461, 0.0128311682, 0.0112698283, -0.0167588126, -0.059463717, -0.0001332614, 0.0251352675, 0.0521678105, -0.0040995628, -0.0039298935, -0.0010764225, -0.0044583767, -0.036764022, -0.0238056369, -0.0015760197, 0.0313678682, 0.0477331281, -0.0112285856, -0.0294515472, 0.0550104529, -0.0830873996, -0.0051054414, 0.0124464883, -0.0285843294, -0.0028559649, 0.0510919467, 0.0145135131, 0.0175094269, -0.0235529412, -0.0097462405, -0.0184341446, 0.005725184, -0.0294965468, -0.0348165892, -0.0254846178, -0.0190450661, 0.0189839955, -0.0727158338, 0.0016078958, -0.0059650932, -0.0245637782, -0.0291098244, 0.0102925003, 0.0297600161, -0.0429388694, 0.0041404259, 0.0127340639, 0.0044389074, 0.0916142911, 0.0189829413, -0.0413711704, 0.0563517138, 0.0120913722, 0.0212289318, 0.0434299186, 0.0264070109, 0.0076429318, 0.0026839415, -0.006788841, -0.0010463162, 0.0600636862, -0.0095512848, -0.056977693, 0.0033119535, 0.0205680821, 0.0555041805, -0.0362125114, -0.0187069904, 0.0290292539, 0.0868359283, -0.0131903384, -0.0078638904, -0.0201514252, 0.0405550413, 0.0581151322, 0.0333317891, 0.0218438823, 0.0228284113, -0.0258134678, 0.0038258622, 0.051678516, 0.0124354502, -0.0182735864, -0.0586120039, -0.0428396985, 0.0029678391, -0.02810774, -0.0043727136, -0.0156423301, 0.0016441442, 0.0223546252, 0.0567900054, 0.0100353854, -0.0664030015, -0.0336899497, -0.0147231743, 0.0099236388, -0.0052677779, -0.0345093124, -0.0249933396, -0.0234061722, -0.0466910414, 0.0528954007, 0.064505823, 0.0835497826, -0.036126107, -0.0353878476, -0.0464111753, -0.0369786024, -0.0277221128, 0.0277547613, 0.0416609198, 0.0045841099, -0.0504681766, 0.0406212434, -0.0116309943, -0.0194897428, 0.0132938875, 0.0144805685, 0.0204937756, -0.0122955358, -0.0002843218, 0.0285240319, 0.0838255882, -0.0076605044, 0.0125657599, 0.0205416959, -0.0309421383, -0.0209796969, 0.0253784135, -0.0227056891, 0.00226912, 0.0430978499, -0.0838797912, -0.0337862261, -0.0061073983, -0.0215124898, -0.0383214802, 0.0325970687, -0.0374657251, -0.0398591347, 0.00673278, -0.0279373787, 0.0054687685, -0.0174293797, -0.0597326458, 0.0788076892, 0.0090230256, -0.0206121765, -0.0007199968, -0.0505321957, 0.0143598346, -0.0677739605, -0.0301418994, -0.004047689, 0.0261666942, 0.0251067113, 0.0524950214, -0.0476227887, -0.021040434, -0.0253810324, -0.1120354682, -0.0070831035, -0.0216378756, 0.0107617127, 0.0382874049, -0.028817188, 0.0091351522, -0.0071406411, -0.0712626353, -0.0521365404, -0.0206705499, 0.0390668586, 0.0485109687, 0.0190206189, 0.0687305257, -0.0491577536, -0.0142638898, 0.0012029711, 0.0637134537, 0.0218181256, -0.0425418094, -0.0096188812, -0.0024450717, -0.0339718461, -0.0227475278, -0.016629355, 0.0355096683, 0.0317689255, 0.0314858258, 0.0555761009, 0.046055913, 0.0303490367, 0.024304688, 0.013162286, 0.0299118832, -0.0755904689, -0.0303165223, -0.0066905189, 0.0638207868, 0.0162496958, -0.0339217931, 0.054622896, 0.075853996, -0.0062618097, 0.0172018949, -0.0837650225, 0.0325438492, -0.0393496677, -0.0251199473, -0.0612545535, -0.0295598824, -0.0104748383, -0.0026235655, -0.0366355143, 0.0312969498, 0.0407169387, -0.0042349021, 0.0577319004, 0.012713966, -0.0140237762, -0.0613420308, 0.0180414636, -0.015593878, 0.0064708721, -0.0075091869, -0.0053781243, -0.0138155287, -0.0101426709, 0.0649917573, -0.0344283134, 0.0946251005, -0.0293914657, -0.0052552116, -0.0199212003, -0.0115174064, -0.0195096675, -0.0253887698, -0.0433199517, -0.0037770614, -0.0059519154, 0.0346961692, 0.0154836038, 0.0028191574, 0.0163148679, -0.0147704566, -0.0087017557, 0.004934628, 0.0214730036, 0.0371643268, 0.0378979817, 0.0278659295, 0.0620425567, -0.022073226, -0.0065178135, 0.0647114813, 0.0074995416, -0.0382093489, -0.0052487245, -0.0476899482, -0.0226504989, -0.0754861236, -0.0547321327, -0.0334150679, 0.06557744, -0.0142233344, 0.0676510781, 0.0706863031, 0.0213426352, -0.0157318432, -0.0133155547, -0.043492157, 0.0107342191, 0.0009699489, -0.011260245, -0.0544731133, 0.0026874377, -0.0534412898, 0.0368394703, -0.0249293037, -0.056807477, 0.0067581469, -0.1024559885, 0.0133643374, 0.0000176788, 0.0071776463, -0.0064494875, -0.0506602563, 0.0151240556, -0.0505277216, -0.0225762278, 0.0083962642, -0.0040796059, 0.0190044716, 0.0570811927, -0.0815059468, 0.0142995967, -0.017354453, -0.0315062106, 0.0360596105, 0.0144687193, 0.0221189186, -0.0115744667, -0.000529443, 0.0483010598, 0.0116562592, 0.009934579, 0.0197363794, 0.032106217, -0.0020976004, 0.0031940651, -0.0131659182, 0.0268994663, -0.0004379138, -0.0430815481, 0.0127867516, 0.023829367, 0.0097824363, -0.0134866685, -0.0250705611, 0.0479839854, -0.0400349274, 0.0656721517, 0.0446222089, 0.0187245756, -0.0403381214, -0.0557761528, 0.0028779425, -0.0622357763, -0.0380248316, 0.0055008596, -0.0000133934, 0.0155594414, -0.0863730386, -0.0568778925, -0.0165443793, -0.0286131985, -0.0194851458, -0.0183599666, 0.0071308017, 0.0259848889, 0.0079484917, 0.0260875914, -0.0088627972, -0.0377457738, -0.0101909256, -0.0205682926, 0.0114675965, -0.0086033158, -0.0238033812, 0.0003932805, -0.0376498029, -0.0633070841, 0.0038887954, 0.0589771606, 0.0193020068, 0.0309494063, 0.037938375, -0.0548770949, 0.038355846, 0.0190526228, 0.0635410771, 0.0071422923, 0.0415127724, 0.0497680046, -0.0077013983, -0.0054564695, -0.0288093351, 0.0417135879, -0.0227852501, 0.0243966859, -0.0644977018, -0.0216149725, -0.0213350803, 0.0260715745, 0.0176080801, 0.0243435968, -0.0565425158, -0.0500403382, -0.0376385376, -0.0346223935, -0.0039068586, -0.0233494677, 0.0280360598, -0.0435020663, -0.0354275256, -0.0133714266, 0.011497424, 0.0023446344, 0.062765412, -0.0543861277, 0.016953012, 0.0301568024, -0.0426824614, -0.0483247265, -0.0054244832, -0.0678984672, 0.0510877408, -0.0224865824, 0.0127309412, 0.0137469675, -0.0111840796, -0.0214751195, -0.0090221688, 0.0383332781, 0.0145775098, -0.0740840062, -0.0314692035, -0.0183508825, 0.0302689895, 0.0307491887, -0.0061465772, 0.0728213042, 0.0012046717, -0.013325097, 0.0077485316, 0.0173927546, 0.0158233624, 0.0072789378, 0.0078579579, 0.0254931003, -0.0136917289, -0.0056465692, 0.075693436, -0.0744597092, 0.0303530172, -0.0056814775, -0.0144951027, -0.0671120882, -0.0353287309, -0.0178947728, 0.0057639945, 0.0148346312, -0.0141274687, -0.0522513799, 0.014341414, 0.033773277, -0.0025086752, 0.0393546894, 0.0073976954, 0.0218626745, 0.0283124335, 0.0024768612, 0.0316140726, -0.0518743284, -0.0048188041, -0.0005019414, 0.0321885049, 0.005905035, -5.783352493e-33, -0.0166464634, -0.0247706976, -0.0417699106, 0.0593659766, -0.0185126588, 0.0100630438, -0.0266792383, 0.0632752031, -0.0137997372, 0.0308723692, 0.0193427876, 0.0225493889, 0.0169520918, 0.0104452027, 0.0180179551, -0.0193172414, 0.0253848247, -0.0034386306, -0.0388834178, 0.0228200592, 0.0154485907, -0.0332658216, 0.0318943113, -0.0467205197, 0.0804343522, -0.0088206641, -0.0192585196, 0.0053032162, 0.0217264928, 0.0426174551, 0.0042361859, 0.0507928468, 0.0522952154, -0.0609977841, -0.0185034685, 0.0249954239, -0.0280976351, -0.0354436971, 0.0319830216, -0.0532632172, -0.0286666565, -0.0623686537, 0.0490678363, 0.0101540983, 0.0097339666, -0.0579350702, 0.0595122166, -0.0402412117, -0.0163105745, -0.0752694756, -0.0115940254, 0.0608396754, -0.0296666641, 0.0113402465, -0.0112566659, 0.0291741807, 0.0176862758, 0.0330946259, -0.0515457354, 0.0457135886, 0.0320734419, 0.0015085815, 0.0211443901, -0.021846978, -0.0008598399, 0.071754925, -0.0206904896, 0.021151768, -0.0544067919, -0.0008122473, -0.0483764373, 0.0187727436, 0.0623681843, 0.0842058435, 0.001568319, 0.0454238355, -0.0515728891, 0.0203060135, 0.0281964019, -0.0198103059, 0.0209171623, -0.0169631988, -0.0176156517, 0.0193074998, -0.0372433402, -0.0389567055, -0.0056097675, -0.0168507509, -0.0402242504, 0.0123321284, -0.0590941459, 0.0321177244, -0.010269681, -0.0240007117, 0.008095731, -0.0041760271, 0.0082406281, 0.0259403829, 0.0256795771, -0.0251904596, -0.0390481874, 0.0337774791, -0.0011216515, -0.0121403448, 0.0428590849, 0.0024097811, 0.0418715365, -0.0316356458, -0.0410180166, -0.012888724, 0.0130937863, 0.0415021479, -0.032276962, 0.0339399055, 0.0058471337, 0.0180875212, 0.0016034232, 0.0548822284, 0.0071385261, 0.0364354812, 0.0114975385, -0.0257828087, -0.0108747063, -0.0108446591, -0.0159470551, 0.0127729457, 0.0467744097, 0.0111788623, 0.0231612287, -0.0174841043, -0.0161402225, -0.0157028474, 2.124e-7, 0.0564576387, 0.0467962138, 0.0402477905, -0.0385535322, -0.0020255228, 0.0367703252, 0.0301298704, 0.0349898785, 0.0087296199, -0.0665564016, -0.0089411642, 0.0460886955, 0.0281441845, 0.0659635589, -0.0863614529, -0.0798952878, -0.0691397339, -0.0082078995, -0.0060842414, 0.0054695765, 0.0721872747, 0.0327623226, -0.0161852352, 0.0091432277, -0.0453155413, 0.027455071, 0.0761045665, -0.0319876634, -0.0550667048, 0.0108261155, 0.0877213553, -0.0630981922, 0.0189584941, 0.0019544517, -0.0170589145, -0.0117120547, 0.0491058268, 0.030962389, 0.0384034328, -0.0721435398, 0.0135958884, -0.0099765332, 0.0401667319, -0.0261056852, 0.0518483557, -0.0917273089, -0.0484800413, -0.0605700091, -0.044194825, 0.012451794, 0.0264510214, 0.000654039, -0.0057153879, 0.0073181591, -0.0143029699, -0.02755934, 0.0052674995, -0.0795169398, -0.080345951, 0.0014377383, -0.0189538579, -0.0289139301, 0.0116511406, -0.0396312289, 0.0078424895, -0.0148707004, 0.0009614863, 1.337896013e-34, 0.0517028384, -0.0179033801, -0.0147347981, 0.0028982176, 0.0179911349, 0.0164821688, -0.0095120072, -0.0241962634, 0.0137449699, -0.0210322011, 0.0044719838 ]
http://arxiv.org/abs/2402.01528v2
http://arxiv.org/pdf/2402.01528v2
Decoding Speculative Decoding
2024-02-02T16:15:24
2024-04-26T04:52:57
Minghao Yan, Saurabh Agarwal, Shivaram Venkataraman
cs.LG
cs.LG, cs.CL
Speculative Decoding is a widely used technique to speed up inference for Large Language Models (LLMs) without sacrificing quality. When performing inference, speculative decoding uses a smaller draft model to generate speculative tokens and then uses the target LLM to verify those draft tokens. The speedup provided by speculative decoding heavily depends on the choice of the draft model. In this work, we perform a detailed study comprising over 350 experiments with LLaMA-65B and OPT-66B using speculative decoding and delineate the factors that affect the performance gain provided by speculative decoding. Our experiments indicate that the performance of speculative decoding depends heavily on the latency of the draft model, and the draft model's capability in language modeling does not correlate strongly with its performance in speculative decoding. Based on these insights we explore a new design space for draft models and design hardware-efficient draft models for speculative decoding. Our newly designed draft model for LLaMA-65B can provide 60% higher throughput than existing draft models and can generalize further to the LLaMA-2 model family and supervised fine-tuned models.
Decoding Speculative Decoding: Speculative Decoding is a widely used technique to speed up inference for Large Language Models (LLMs) without sacrificing quality. When performing inference, speculative decoding uses a smaller draft model to generate speculative tokens and then uses the target LLM to verify those draft tokens. The speedup provided by speculative decoding heavily depends on the choice of the draft model. In this work, we perform a detailed study comprising over 350 experiments with LLaMA-65B and OPT-66B using speculative decoding and delineate the factors that affect the performance gain provided by speculative decoding. Our experiments indicate that the performance of speculative decoding depends heavily on the latency of the draft model, and the draft model's capability in language modeling does not correlate strongly with its performance in speculative decoding. Based on these insights we explore a new design space for draft models and design hardware-efficient draft models for speculative decoding. Our newly designed draft model for LLaMA-65B can provide 60% higher throughput than existing draft models and can generalize further to the LLaMA-2 model family and supervised fine-tuned models.
[ 0.0196587443, 0.0634133667, 0.0058515011, 0.02228285, -0.0304487869, 0.0013357319, 0.0071259672, 0.0148209482, -0.0519812033, -0.0084563904, 0.0073919874, -0.0698815882, 0.0144847734, 0.0152512686, 0.0127329007, 0.0144853853, 0.0341640227, -0.0650136992, 0.0245167725, -0.0308250207, -0.032896556, 0.0249310564, 0.0233819131, 0.0263432357, 0.0322102755, 0.0109503986, -0.0298579466, 0.0067061586, -0.0463760346, -0.0516204573, -0.0094708465, 0.0298290681, 0.0069549284, 0.019760482, 0.0000020462, -0.0013247743, -0.0074335579, 0.0081947474, -0.0517545491, 0.0859795213, 0.0767330453, -0.0267864354, -0.0519853868, 0.0208343342, 0.0127358288, -0.0440570861, 0.0614318885, -0.0165539999, -0.0244241972, 0.050173495, -0.0027302797, -0.0401510261, 0.0388482846, -0.0101313731, -0.0632871836, -0.0582403615, 0.0231735241, -0.0085615003, -0.0171611328, 0.0212547909, -0.0051961592, 0.0263120644, 0.0402493849, 0.0106005184, -0.0445376001, 0.0241512321, 0.0102207707, -0.0228363499, -0.0085240258, 0.0091010528, -0.0256444942, -0.0874086171, -0.0035390388, 0.0043129683, -0.0333569758, -0.0327399634, -0.0286596976, 0.0370918959, -0.0499365814, 0.0173105411, 0.0963051394, 0.0192608349, 0.0536655113, -0.0000955231, -0.0496433899, 0.07542108, 0.0389401428, 0.0038397464, -0.0398363955, 0.0049934466, -0.0007934343, -0.06848602, 0.0223066285, -0.0013336083, -0.0409667715, 0.0009746477, -0.0689292997, -0.0447647646, 0.0177572947, -0.0574273132, 0.0321104899, 0.0888204277, -0.0010898547, -0.0042039859, -0.034441907, -0.027840307, -0.0682079419, 0.0222828332, -0.0460583009, -0.0008936636, 0.0389304385, -0.0222554859, -0.0415751301, 0.0374976583, -0.03695485, -0.0360097364, -0.0215829927, -0.0015343989, 0.0439728014, -0.005309239, 0.0272759609, -0.0243368745, -0.033799164, -0.0186296925, 0.0291174222, 0.0143975448, -0.0100165717, 0.0364246145, -0.0230910648, -0.0948948264, -0.0105667608, 0.0173206422, 0.0064375624, -0.0190360546, 0.0029584756, 0.0534693487, -0.0126224076, -0.0438856296, -0.0233927239, -0.0261822846, 0.0380175747, -0.0512446463, 0.0171210188, -0.056365557, 0.0306502488, 0.0239737295, 0.0100069661, -0.0129449572, -0.0237470455, 0.0153896231, 0.009961444, 0.0408024751, -0.0242640786, 0.0036603764, 0.0128628621, 0.0013012799, 0.0061097629, 0.1244232953, 0.0152873853, 0.0390036479, 0.0157963857, -0.0090100169, -0.0387461819, 0.0690903813, 0.0454893671, -0.0082475888, -0.0253617093, -0.0178450327, 0.0116915125, -0.0019649372, 0.0324871466, 0.0575966723, -0.0516150892, -0.016340185, 0.0435835458, 0.0674848482, 0.0089066317, -0.0108145745, 0.0154915312, 0.0203044731, 0.023507243, -0.0019021247, -0.0122648682, 0.0246347096, -0.0182161685, 0.0214096233, 0.0551069453, 0.0574791841, -0.0065944511, 0.0068847341, -0.0299087651, -0.0318679884, -0.0194271076, 0.0175137855, 0.0708093122, -0.0174244475, -0.0537928194, 0.0464954413, 0.0269737802, -0.0311738569, -0.0436525419, -0.0682960376, 0.0463042893, 0.0646258593, 0.0470930003, 0.0457358062, 0.0221485626, 0.0381472334, -0.0305714943, 0.0259600561, 0.0247899592, 0.0116131771, 0.0119628031, -0.0424141474, -0.0052004894, 0.0573296919, 0.0401025899, 0.0523118712, 0.0654977188, 0.0055419807, -0.0039628171, -0.0099360058, -0.0234936252, 0.0138911847, 0.012892901, 0.0327739604, 0.0063338084, -0.0110201593, 0.0273025744, -0.0137718609, -0.0026693486, 0.0215289965, 0.04049192, -0.0535164177, 0.0205835886, -0.0022264461, -0.0596504286, -0.0114023518, 0.0150495162, 0.015639076, 0.0223945342, 0.0306472573, 0.008900417, -0.0357108042, 0.0342022814, -0.0338930823, 0.0694550425, -0.0412732512, 0.0463595577, -0.0106247207, 0.0429893248, 0.0112544065, 0.0393726639, -0.045608826, -0.0114987744, 0.0028196881, 0.000348741, 0.008698876, -0.0160773378, -0.0183703694, 0.0392536335, -0.0027396407, -0.0096838549, -0.0416507535, -0.0183533132, 0.0234211441, -0.0045244396, -0.0710815117, -0.0071701333, -0.0482992269, 0.0385903791, 0.0099551491, -0.0008821339, -0.0078850575, -0.0107663954, 0.0034114423, -0.0110077728, -0.0055028489, 0.020588059, -0.0323368609, -0.0108190412, -0.0573865101, -0.0201126207, -0.0390372723, 0.0211162809, 0.0639109313, -0.0380763337, -0.0403731056, -0.0821188539, 0.0110244527, 0.0538578779, 0.0136880903, -0.007649289, -0.0340044796, 0.0222224444, -0.0359143056, -0.0129795391, -0.0035807856, -0.0295217093, -0.0001977561, 0.0286002457, 0.0276843682, -0.0418049693, -0.010217295, 0.015070118, -0.0144049609, -0.0578835122, -0.0588711202, -0.0369891264, 0.0808542892, -0.0071484302, -0.0062477202, -0.0487179495, -0.0232522599, -0.0019458904, -0.0352925472, -0.0102932062, -0.033687517, -0.0041847117, 0.0688512772, -0.0203790478, -0.0735555589, 0.0502114929, -0.0657378063, 0.0017102169, 0.0015099576, 0.0141105857, -0.0218603201, 0.0335118547, -0.0210336689, 0.0234521702, -0.0267577227, -0.0359739624, 0.0265542176, 0.028327236, 0.0022079933, -0.0464858636, 0.0391047001, -0.051159732, 0.0377760157, -0.0459719226, -0.0175511371, -0.0055643441, -0.0049581849, -0.0652331933, -0.0028971264, 0.0627067611, -0.0345730297, 0.0152797755, 0.0481361002, -0.0863237232, 0.0468687713, -0.0080137784, 0.0223512668, -0.0208683219, 0.0046265805, 0.015760228, -0.0268170889, 0.036746271, -0.0445865132, 0.0089370357, 0.045153819, 0.0323452502, 0.0208194219, -0.0766251907, 0.0061637145, 0.0584738851, 0.0167732034, -0.0036919671, 0.0687738657, 0.0432520472, -0.0454490781, -0.0039020404, 0.0768723041, 0.0033691232, -0.0482925288, -0.0023883309, 0.015854843, 0.0508474298, -0.0083904257, 0.018562546, -0.0722184479, -0.0251039267, 0.0546702072, 0.0123572852, -0.0051633934, 0.023137413, -0.0255659334, -0.0915846825, 0.0502343364, 0.0213755034, -0.0085696205, 0.0075683086, -0.0418693498, -0.054082714, 0.0463107303, 0.0501889139, 0.0418639667, 0.0399867669, -0.0111382296, 0.0141439987, -0.0200246666, -0.0462016277, 0.0356171504, 0.0023364641, 0.0901679173, 0.0223717764, -0.0348245017, 0.0193624403, -0.0189651754, 0.0093830163, -0.0154611673, -0.0119814631, -0.0097679021, -0.0221498944, -0.0064808046, 0.0033116655, 0.0042341645, -0.00277185, -0.0281610861, 0.0008123879, -0.0523777828, 0.022708023, -0.0215638597, -0.032213591, -0.0112180337, -0.0231510568, -0.0137675051, 0.0302410498, 0.0152526265, -0.0072280834, -0.0424553938, -0.0474349335, -0.0463832654, -0.0896679759, 0.000316862, 0.0173821524, 0.0381752513, -0.0493015163, 0.000652738, 0.0295046121, 0.0047984803, 0.0206855983, 0.0020431227, 0.0535187088, 0.0248500407, -0.0336222947, -0.0666529536, 0.00151094, -0.0223776698, 0.0464760512, -0.0576973818, 0.0145687526, 0.0295906514, -0.0125000458, -0.0152528463, 0.0366125889, -0.1058337986, -0.0657543242, 0.0036046233, 0.031390056, 0.033507362, 0.005145546, -0.0392728262, -0.0733121634, 0.0022369281, 0.0212534387, -0.057670109, 0.0296660941, 0.0073782858, -0.0413248874, 0.0196707044, 0.026190538, -0.015992552, 0.0101085883, -0.0094408114, 0.0025603638, 0.0126808919, -0.0192706343, 0.0085059581, 0.0294294227, 0.009751413, -0.0475372262, -0.0277103726, 0.0333928242, 0.0839630663, -0.0137999952, 0.0158980656, 0.008237279, 0.0019261605, 0.0143694188, -0.0329079218, -0.0046888669, -0.0130627397, 0.0350868367, 0.0384550132, 0.0287041198, 0.0002180454, -0.0235473868, 0.0258705206, 0.0512234122, -0.0391428508, -0.0102298334, -0.0036133488, 0.0059748008, 0.0448479205, -0.0528689921, -0.0241043419, -0.0038968904, 0.0144048501, -0.0445821099, 0.0195457321, -0.0212328155, -0.0470930673, -0.0389142372, 0.0268775914, 0.0425751098, 0.0288711376, 0.0313640758, -0.003233155, 0.0079416391, -0.0147938831, 0.010740092, -0.0145911621, -0.0206681881, 0.0689300969, 0.0081246216, -0.0170532316, 0.0062936945, 0.0356097519, 0.0416795611, 0.0496376418, -0.0025776136, 0.0115947388, -0.0046619386, -0.0555864759, -0.0397125594, 0.033383064, -0.0531902276, -0.0213968065, -0.0204427037, -0.0437532663, 0.007625211, 0.0018505473, 0.0084196273, -0.011596526, -0.0076067392, 0.0704824775, 0.0112157129, -0.0388539322, -0.0088279527, -0.0295730028, 0.0340238065, -0.0148236053, 0.0200725123, -6.692465497e-33, -0.0135873603, -0.0074574081, 0.0251271408, -0.065012522, -0.0013411042, -0.0109569831, -0.0318659246, -0.0269777104, -0.0213674679, -0.0149784759, -0.0325920135, 0.035423018, 0.046777565, 0.0204218086, -0.011993831, 0.0171958655, 0.063580893, -0.0152199492, -0.0126985312, -0.014957807, 0.0233526919, 0.0204720013, 0.0156821404, 0.0145394756, -0.0192437544, -0.0380432643, -0.0049820859, -0.0520924367, -0.0241647959, 0.0567462221, -0.0364269838, 0.0223767739, 0.0215292405, -0.0037137808, -0.0190145969, 0.0127092516, -0.0886054263, 0.0464235879, 0.0474126935, 0.0496794805, 0.0231987704, -0.0543831103, -0.0345807374, 0.0625422895, -0.0365092643, 0.015820533, -0.0552475154, -0.0033354501, -0.0543203503, -0.0290732309, 0.009612916, 0.0225081146, 0.0314353965, 0.0501715094, 0.0993643701, -0.0064424048, -0.0308034141, 0.0126325199, -0.040995691, 0.0165271796, -0.0045646634, 0.0618780069, 0.074028708, 0.0050259782, -0.0297405589, 0.0198170356, 0.0244192313, -0.0473826006, -0.0514468923, 0.0126525629, 0.0473097861, 0.0069760862, -0.0072574872, 0.0213979594, 0.0788079798, -0.0569557063, -0.0559029914, -0.0058545084, 0.0395567417, 0.0248301029, 0.0832214653, 0.0396964289, -0.0299032684, -0.0505214408, -0.0574896112, -0.0428065509, -0.052954793, -0.0228835419, 0.021467125, 0.0486079752, -0.0318627954, -0.0158512089, 0.0529699773, -0.0472231805, -0.0078249341, 0.0095881568, -0.0023075924, 0.0395179242, -0.0268101133, 0.038558729, -0.0050925817, -0.048307199, 0.0355411284, -0.0255587548, 0.0031703413, -0.0204235818, -0.0207222681, 0.0295812469, -0.0780689493, 0.0035218636, -0.0348931253, 0.0245964155, 0.0203201417, 0.0202396084, 0.0614187308, 0.0017469805, 0.0167294592, 0.0187758058, -0.0417459011, 0.0451933481, -0.0207348894, 0.0077928426, 0.0221134517, 0.0625204891, -0.0031464144, 0.0221695658, -0.054397583, 0.0103247864, 0.0344904847, -0.0449579246, -0.0360421725, 0.0597450547, 2.713e-7, 0.037763603, 0.0572138652, 0.0627138168, 0.0231167488, 0.0192424897, 0.002790953, -0.0008409579, 0.0008229659, 0.0140812779, -0.0122425407, -0.0250646397, 0.0199345257, 0.0579066835, 0.012660658, -0.0579812601, -0.0110062584, -0.0228444468, 0.025713481, -0.0382700078, -0.0634398758, 0.0039321864, 0.1177777573, -0.0391894877, -0.0275740698, 0.0448505059, 0.009237499, -0.002180174, 0.0041810237, -0.0317788757, 0.0118519431, -0.0136798937, 0.0065036048, -0.009116604, 0.0341281146, 0.0085484544, -0.0132420231, -0.0485145487, 0.0772399157, 0.004472347, -0.0272971578, 0.0180938765, -0.0293018464, -0.0340004079, -0.0217721667, 0.0538766086, 0.004595845, -0.0161583144, -0.0556622408, -0.0190137327, -0.025939934, -0.0456162542, -0.0116326241, 0.0557149388, 0.0561123826, 0.0304307267, -0.0169530697, 0.0019625113, -0.05922563, -0.050813552, -0.0254849214, -0.0538563021, -0.0476524681, -0.0521171205, 0.0259462912, 0.0339030251, -0.0518902838, 0.0274522528, 2.732570469e-34, 0.064003706, 0.0125203058, -0.005031989, 0.1022951156, -0.0108620394, -0.0458047688, 0.0374292731, 0.0471358187, -0.0204219222, -0.0595923029, -0.0216281805 ]
http://arxiv.org/abs/2402.01521v1
http://arxiv.org/pdf/2402.01521v1
K-Level Reasoning with Large Language Models
2024-02-02T16:07:05
2024-02-02T16:07:05
Yadong Zhang, Shaoguang Mao, Tao Ge, Xun Wang, Yan Xia, Man Lan, Furu Wei
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) have demonstrated their proficiency in complex reasoning tasks, their performance in dynamic, interactive, and competitive scenarios - such as business strategy and stock market analysis - remains underexplored. To bridge this gap, we formally explore the dynamic reasoning capabilities of LLMs for decision-making in rapidly evolving environments. We introduce two game theory-based pilot challenges that mirror the complexities of real-world dynamic decision-making. These challenges are well-defined, enabling clear, controllable, and precise evaluation of LLMs' dynamic reasoning abilities. Through extensive experiments, we find that existing reasoning methods tend to falter in dynamic settings that require k-level thinking - a key concept not tackled by previous works. To address this, we propose a novel reasoning approach for LLMs, named "K-Level Reasoning". This approach adopts the perspective of rivals to recursively employ k-level thinking based on available historical information, which significantly improves the prediction accuracy of rivals' subsequent moves and informs more strategic decision-making. This research not only sets a robust quantitative benchmark for the assessment of dynamic reasoning but also markedly enhances the proficiency of LLMs in dynamic contexts.
K-Level Reasoning with Large Language Models: While Large Language Models (LLMs) have demonstrated their proficiency in complex reasoning tasks, their performance in dynamic, interactive, and competitive scenarios - such as business strategy and stock market analysis - remains underexplored. To bridge this gap, we formally explore the dynamic reasoning capabilities of LLMs for decision-making in rapidly evolving environments. We introduce two game theory-based pilot challenges that mirror the complexities of real-world dynamic decision-making. These challenges are well-defined, enabling clear, controllable, and precise evaluation of LLMs' dynamic reasoning abilities. Through extensive experiments, we find that existing reasoning methods tend to falter in dynamic settings that require k-level thinking - a key concept not tackled by previous works. To address this, we propose a novel reasoning approach for LLMs, named "K-Level Reasoning". This approach adopts the perspective of rivals to recursively employ k-level thinking based on available historical information, which significantly improves the prediction accuracy of rivals' subsequent moves and informs more strategic decision-making. This research not only sets a robust quantitative benchmark for the assessment of dynamic reasoning but also markedly enhances the proficiency of LLMs in dynamic contexts.
[ 0.0430647247, 0.0389436483, -0.0324204005, 0.0049967179, -0.0585107319, 0.0193798412, -0.002839556, 0.0323961265, 0.0076250327, -0.035528522, 0.0273958109, -0.0373802893, 0.0012719902, 0.0606897883, 0.0113838464, -0.0250810906, 0.0060607577, -0.082746543, 0.0399996415, -0.0460653305, -0.0262570735, -0.0197695326, -0.0215915516, -0.0026788777, 0.0140723716, -0.0148060536, -0.0216199216, -0.0341818929, 0.0248165391, -0.0438595377, -0.0320228003, 0.0109106582, 0.0274146274, 0.0030155841, 0.0000021456, -0.0567941219, -0.0180699993, -0.0464153662, -0.0749611333, 0.0069110263, 0.0008568735, 0.0158399083, 0.0145606985, 0.0086245853, -0.0370678939, 0.0099777794, -0.0090600969, 0.0080452682, 0.0599248745, 0.0460648537, 0.02780075, -0.0397997499, 0.007964625, -0.0290407874, -0.0350497626, -0.0908876657, 0.0259812586, 0.0135349901, 0.0080330186, -0.0092364149, 0.0172364973, 0.0298355762, 0.0044032759, -0.0026846097, -0.0480902344, 0.0385864712, 0.0046572466, 0.0611959845, -0.0018978977, 0.0267060306, -0.0113906292, 0.0268316511, 0.0081681972, -0.003732441, -0.0193483122, -0.0040272041, -0.0278280564, 0.0438916832, -0.0203802362, -0.0012078939, 0.0117256809, 0.021107506, 0.0531585813, 0.0201686155, -0.0374088176, 0.1248620152, -0.0251662619, -0.0292170998, 0.0197341926, -0.0266620331, 0.0229817517, -0.0762441531, -0.0186835919, 0.0772358477, -0.037970271, 0.0355823338, 0.0431223735, 0.0414674617, -0.0221093278, -0.066326648, 0.0097964434, 0.021165289, 0.0827723145, 0.0708957836, -0.0215686932, 0.0402345546, -0.0103419563, -0.0042324071, 0.0179069135, 0.0101508582, -0.0610349476, -0.0342549607, -0.0076477178, 0.0385027938, -0.0054292278, 0.0189261958, -0.0316417962, 0.0237326212, -0.0547760539, 0.0575521328, -0.0490688607, 0.0074483701, 0.0238933899, -0.0559844635, -0.0915092081, -0.0183389895, -0.0246859472, 0.0074760835, -0.0048322468, -0.028663855, 0.0163339078, -0.0476943664, -0.0296157096, -0.0358118825, 0.0027651582, 0.0861369222, -0.0037209198, 0.0384725444, -0.0507647283, -0.0436886027, -0.0078608142, -0.0895855874, -0.025905773, -0.0624925196, 0.0014838844, 0.0084412899, -0.0223659929, -0.020194754, 0.0116556734, -0.0143392272, -0.023999, 0.0791107565, 0.0490795225, 0.0247516707, -0.0081299152, 0.0113030532, 0.0072085587, 0.0876818448, 0.0286165103, 0.0105573321, 0.0062938067, 0.0376080908, -0.0144693935, 0.0237265136, -0.0186309777, -0.0166505035, -0.0594541989, 0.0223610085, 0.0131394053, 0.0208042376, -0.0478974581, -0.0068621291, -0.031823013, -0.0041243793, 0.0690588132, 0.0172592569, 0.0393937938, 0.0436728783, 0.0239785612, -0.0059007467, -0.0400361232, -0.0307257529, 0.000112044, 0.0107815731, -0.0482716896, 0.0039511858, -0.046073094, 0.0200790558, -0.0011621696, -0.0366988592, -0.0251739714, 0.0215487164, 0.0142554771, 0.0243773311, 0.0564195625, -0.0136213824, -0.007827024, 0.0498699695, 0.0054464606, 0.0104443524, -0.001715267, -0.0418779589, 0.0176341012, 0.0907789916, 0.0569235198, -0.0381979831, -0.0366440415, -0.0157575477, -0.0208971091, 0.0273830872, 0.0552603528, -0.0290927775, -0.0321061239, -0.0208872743, -0.0342665054, -0.0094017964, 0.0081544379, 0.0253816564, -0.0045888736, 0.045298215, -0.0064081261, -0.0209751073, 0.0248117335, -0.0146988025, -0.0316004492, -0.0385025777, -0.0400624946, 0.0252526347, 0.0098535242, -0.0030529206, 0.003178234, 0.0205805264, -0.0062412452, -0.0239639096, -0.0295570325, 0.036823336, 0.0076650088, -0.0098137911, 0.0244979039, 0.0123922387, -0.0241683666, -0.0270867739, -0.0249230172, 0.0126260091, 0.076342009, 0.0037037411, 0.0293915439, -0.0190569386, -0.0071892077, -0.036006175, -0.0220519435, -0.0169362314, 0.1166582182, 0.0294971913, -0.0082985777, 0.0241078548, -0.01678776, -0.0043353476, -0.0399888903, 0.0206178632, 0.0544336401, -0.0072436021, -0.0124159735, 0.0023917672, -0.0430461206, -0.0451542176, -0.0028733355, -0.0351856276, 0.0114283431, 0.0119234128, 0.0158471204, -0.0066164006, -0.0370802321, 0.0092838407, 0.0319275074, -0.0123250317, 0.0112951389, 0.0457514413, 0.0336557887, 0.0482755899, 0.0291849058, -0.0111247385, 0.0351710059, -0.0116432663, -0.0529564805, 0.0489285402, 0.015060341, 0.0278572179, -0.0100443643, -0.0092408443, -0.0644814894, 0.0193383992, -0.0215509851, -0.0044307499, 0.0136276931, -0.0537435114, -0.0199792031, 0.0699614286, 0.0017435673, 0.0014036132, 0.044179149, -0.0824032649, -0.0534800291, 0.0396031477, -0.0269233845, -0.0052343248, -0.0840509683, -0.0089380033, -0.019697303, 0.091767855, -0.0152030298, -0.000684155, -0.047289744, 0.0259144008, -0.0046051792, 0.0250363089, -0.0817320272, 0.002554286, 0.021299623, 0.1041027158, -0.0109052099, 0.015881503, 0.0963156894, 0.0308317244, 0.0103489328, -0.0217829868, 0.028338667, -0.0332307369, 0.077195324, -0.0585136302, -0.0060600759, -0.0314457193, -0.0048004431, -0.047332067, -0.0662418082, 0.056291718, -0.0267986823, 0.0427664146, -0.0765583366, -0.0149660511, 0.0108476244, -0.0335970558, -0.0538811423, 0.000012925, -0.0736292973, 0.0244099181, -0.0094362944, 0.0028864273, -0.0620153658, 0.0266639236, 0.0343909897, -0.0443065353, -0.0079583917, -0.0294525046, 0.0027094537, 0.0047397395, 0.033000052, 0.0360154733, 0.0423617922, -0.0263705868, 0.0736528412, 0.0369336605, 0.0540779196, -0.0227660313, -0.0051658568, 0.0351878144, 0.0070051225, -0.0078187855, -0.0031632159, 0.035369467, -0.0325096473, -0.0799444541, 0.0072693173, 0.055109933, 0.0281097032, 0.0477437638, 0.0019185968, -0.0313030705, 0.0147799645, 0.0220428538, 0.0584193133, -0.060992308, -0.0448008366, -0.004719344, -0.0061114314, -0.0024198457, -0.0776283816, -0.001985511, -0.1518506557, 0.0208750349, -0.000171487, 0.0140018221, -0.0031041016, 0.0036097509, 0.0009252467, -0.0384964235, -0.0381020345, 0.0413455851, 0.0269042011, -0.0139888953, 0.0176350772, -0.0310983546, -0.0205209684, 0.0611205548, -0.0144640803, -0.0090916799, 0.0278090984, 0.0397669636, 0.007036645, -0.0376911908, 0.0025516024, 0.0035062518, 0.0259221606, 0.0196911264, 0.0102902604, -0.0006269864, -0.000600935, 0.0214126781, -0.0128059713, -0.0018480935, -0.0129414639, 0.0300232377, 0.0819696635, -0.0022071193, -0.0361448489, 0.033524204, 0.0132587114, -0.0203499347, 0.0416587591, -0.023584934, -0.0252969395, -0.0485755093, -0.0662607998, -0.0247604549, -0.0473465063, -0.0231882911, 0.0133965649, 0.0080308923, 0.0011304414, -0.0597346313, -0.0190908611, 0.0365985781, 0.0427825898, 0.0051834648, 0.0093974955, 0.0164214429, 0.0375180952, -0.0598120764, -0.0114135286, -0.0395631418, 0.0366638936, 0.0050007962, 0.0195228569, -0.0151825948, -0.0592019036, -0.0390591137, 0.0076151048, -0.061823085, -0.0739098564, 0.0040871818, 0.0398934409, 0.0322905816, 0.0339551494, -0.0218437109, -0.0127161527, 0.0496670678, -0.0263275877, 0.0055771749, -0.0179491881, 0.0332684442, 0.0030861532, 0.0254315287, 0.0462234803, -0.0417145304, -0.0081060966, 0.0332337543, 0.0177922957, -0.0467927828, 0.0205510203, -0.0239758287, -0.0159441177, 0.0125310505, 0.0415434912, -0.0751474574, 0.0003769517, 0.0460539386, 0.0137919979, -0.0589216799, 0.0108918333, -0.004573903, 0.0264178142, 0.007038434, 0.0188606009, 0.0060565765, 0.0151657937, -0.0234174449, 0.0088769132, 0.0147114424, 0.0479895771, 0.0385444127, 0.0625602975, -0.0091253426, 0.0117901852, 0.0161108188, -0.0076184338, 0.0663500726, -0.0047087064, 0.03093886, 0.037398383, -0.0485731922, -0.0379572771, -0.0406275839, -0.049867183, -0.0974832103, 0.0710206628, 0.0334784724, 0.0290085655, -0.0015312668, -0.0458532795, -0.0717821121, 0.006484834, 0.0283060092, -0.0318105295, -0.0029742722, -0.082858704, 0.0299562439, 0.0427606069, -0.0252961013, 0.0174115207, 0.0498030782, -0.0159885995, 0.0283718146, -0.0479915328, -0.0452784039, 0.0028783528, -0.0245219506, -0.0024085192, 0.063886337, 0.0123811951, 0.0385811515, -0.0972780064, -0.0514370501, 0.010335112, 0.0214607902, -0.0084811822, -0.0024106, -0.000978251, 0.0485126153, 0.0506916344, -0.0047374242, -0.0428422131, 0.0388122201, -0.0271051191, 0.0162151176, -0.0032698517, -6.251674218e-33, 0.0209869426, -0.0150516015, 0.0444822684, -0.0478508025, -0.0245370287, -0.0083593111, -0.0409590937, -0.0164624173, -0.0131494422, 0.0178792365, -0.023264626, 0.0074411826, 0.0028039888, -0.0135059711, 0.0299749281, -0.0320510566, -0.020893028, 0.0177158117, -0.0498971343, 0.0139538823, 0.0480489396, 0.0026684951, 0.0456266813, -0.0235980377, 0.0013076422, 0.0131925587, -0.0119076213, 0.0377972797, -0.0690115541, 0.0355441235, 0.0023129496, -0.0128977401, 0.0229718443, -0.0854272246, 0.0175237451, -0.0164601486, -0.0178386439, -0.0071578631, -0.0023937188, -0.0064514652, 0.0225479528, 0.0035591447, -0.0103817033, 0.0364605859, 0.00869535, -0.0198637694, 0.02624535, -0.0732528865, 0.0038940534, 0.0128537044, -0.0263980161, 0.0268483032, -0.0581441671, 0.0383095816, 0.0384892486, 0.0224584024, -0.0041773217, 0.0053959428, -0.0437197611, 0.0810794532, 0.0326528214, -0.0107756797, 0.0648828, 0.0134093873, 0.025726309, 0.0575622655, -0.0208154283, 0.021210935, -0.0374925211, 0.0048954859, -0.0323277265, 0.0778173581, 0.0380060561, 0.0170988478, 0.0163203012, -0.0046662353, -0.0687814355, -0.0045027607, 0.0557397678, 0.0501929894, 0.0305590034, 0.0140376082, -0.0369901732, -0.0518632755, -0.0142221088, 0.0138040837, -0.0415893719, -0.0166075528, 0.0166358761, 0.0009463281, -0.0110523766, 0.0281474646, 0.0058328439, -0.0291503984, -0.0443210453, 0.0055350247, 0.0214006621, 0.0186391808, 0.0048175612, 0.0163616985, -0.0193265136, -0.0090176808, -0.0368340053, -0.0176911745, 0.0034455776, 0.0035297989, -0.0147840083, 0.0168168209, -0.0092842802, -0.0182950925, -0.0390978381, 0.0271120071, 0.0296118855, -0.0111900149, 0.041019246, 0.0111232605, 0.0218005218, -0.0108605949, 0.0296908095, -0.0275807921, 0.0114352424, 0.0435473248, -0.0147152096, 0.0079348106, 0.0078524342, -0.0170731619, -0.0193886608, 0.0062174117, -0.0183760356, -0.0423917659, -0.012272113, 0.0423937216, 2.836e-7, -0.002818326, 0.0595558546, -0.0197150484, 0.0123791248, 0.0163911264, 0.0665634871, -0.0603437014, -0.0418027118, 0.0145806177, -0.018734986, 0.0282007381, 0.0532920547, 0.0593774915, 0.0567811169, -0.0457156971, -0.0125553608, -0.0423634052, -0.0102723949, -0.0712032318, -0.0205658302, 0.0314151086, 0.0172645934, 0.0353071764, -0.0046651848, 0.0379422829, -0.0860095546, 0.0469769165, -0.0152619192, 0.0368610658, 0.0209033061, 0.0130827501, -0.015547975, -0.0150426235, 0.0398711637, -0.003406472, 0.0369083099, -0.0299229976, 0.0384170972, 0.0189906023, -0.0280499086, -0.0321085528, -0.0504512936, -0.0099775596, -0.069930248, 0.1175867543, -0.0639757067, -0.0332362987, 0.002076711, 0.0382618941, -0.0357660279, -0.0154679539, 0.0083906492, -0.0157805402, 0.0073120082, -0.0232286379, -0.0147969611, 0.0416191295, -0.0707443208, -0.0162687451, 0.0176590532, -0.051509846, -0.0129641416, -0.0243279506, 0.0156017728, 0.0287430603, 0.0048676427, 0.0224207751, 2.557767112e-34, 0.0427635871, 0.0262012258, -0.0288993791, 0.0000412879, 0.0774278045, 0.0105361203, -0.0162882786, 0.0139452117, 0.0487467684, -0.0853400752, -0.0273214765 ]
http://arxiv.org/abs/2402.01513v1
http://arxiv.org/pdf/2402.01513v1
Multilingual Gradient Word-Order Typology from Universal Dependencies
2024-02-02T15:54:19
2024-02-02T15:54:19
Emi Baylor, Esther Ploeger, Johannes Bjerva
cs.CL
cs.CL
While information from the field of linguistic typology has the potential to improve performance on NLP tasks, reliable typological data is a prerequisite. Existing typological databases, including WALS and Grambank, suffer from inconsistencies primarily caused by their categorical format. Furthermore, typological categorisations by definition differ significantly from the continuous nature of phenomena, as found in natural language corpora. In this paper, we introduce a new seed dataset made up of continuous-valued data, rather than categorical data, that can better reflect the variability of language. While this initial dataset focuses on word-order typology, we also present the methodology used to create the dataset, which can be easily adapted to generate data for a broader set of features and languages.
Multilingual Gradient Word-Order Typology from Universal Dependencies: While information from the field of linguistic typology has the potential to improve performance on NLP tasks, reliable typological data is a prerequisite. Existing typological databases, including WALS and Grambank, suffer from inconsistencies primarily caused by their categorical format. Furthermore, typological categorisations by definition differ significantly from the continuous nature of phenomena, as found in natural language corpora. In this paper, we introduce a new seed dataset made up of continuous-valued data, rather than categorical data, that can better reflect the variability of language. While this initial dataset focuses on word-order typology, we also present the methodology used to create the dataset, which can be easily adapted to generate data for a broader set of features and languages.
[ 0.0078679631, 0.1115000471, -0.0317605212, 0.0416570939, -0.0188312363, 0.0209222715, 0.0063544204, 0.0020781206, -0.0023597004, -0.0471155718, 0.012804199, -0.0782622546, 0.0414588489, 0.0187914241, 0.0350072272, -0.0718783215, 0.0168422032, 0.0092170797, -0.006922747, 0.0055732881, -0.0000051805, 0.021440601, -0.008950063, 0.0288271178, -0.0605183542, -0.0250278506, 0.0286432635, -0.0062019164, 0.0296985656, -0.0243754257, 0.0578844473, 0.052252993, 0.0066549028, -0.017361505, 0.000001785, -0.0445645601, -0.0304729715, -0.0078283511, 0.0376794003, -0.045945134, -0.0012394151, -0.0296653751, -0.0399132594, 0.0270552021, -0.0440388136, -0.0282476172, 0.0464155301, 0.0048739119, 0.0183503665, 0.0249654595, -0.0201765243, -0.0878580511, 0.0310890973, 0.0122911297, -0.0054461895, 0.0215250533, 0.0054690726, -0.0050774473, -0.0149003854, 0.0112735964, -0.0249255095, -0.0059337979, 0.0016280735, 0.0073975599, -0.0232058614, -0.0028580267, -0.0128904497, -0.0273311716, -0.0111001255, 0.0705902353, -0.0255904831, -0.0156002175, 0.0131144598, -0.0111099286, -0.0118542491, 0.0115143666, -0.000993008, 0.064588733, -0.0183273144, 0.031939473, 0.0769352168, 0.028735308, -0.0085814865, 0.0091737062, -0.0662460178, 0.1109037474, 0.0156926662, -0.0409880131, -0.0025998249, -0.0317865349, -0.0195057988, -0.0294529069, 0.0014615945, -0.039876271, 0.0050331512, 0.0072259498, -0.0152953602, -0.028780194, 0.0226856973, -0.0669298768, 0.0288226046, -0.0274197031, -0.0197634678, 0.0129011385, 0.0408376716, 0.0295151714, 0.0117580779, -0.0348195396, -0.0098205674, -0.0169133693, -0.0285019316, -0.0030144793, 0.0197411627, 0.0111445943, -0.0345171951, 0.0383269824, -0.0637181178, 0.0009835332, -0.0249012932, -0.0123755382, 0.0224944912, 0.0089404713, -0.0064374008, -0.0079560149, -0.0273881238, 0.0038848729, -0.0172597226, 0.0169951506, -0.03945392, -0.0451788343, 0.0407847613, 0.0088916495, 0.020254571, 0.0130965915, 0.0087995883, 0.0416918583, 0.0499107763, -0.0126384394, -0.0365359522, -0.0022733039, -0.0198609773, 0.0020894471, -0.013166381, -0.090877004, 0.0201221202, 0.0306575783, -0.0175814517, -0.038070187, 0.0001542067, 0.0088849189, -0.0624756366, 0.0711972937, -0.0487679206, -0.0157549456, -0.0294882599, -0.051100187, 0.00684459, 0.057624992, 0.0241194312, -0.0434789434, 0.0983958095, -0.0304896366, -0.0192266777, 0.0250504073, -0.0283500943, 0.0033220032, -0.0436252207, -0.010174891, -0.0055444231, 0.0238066558, 0.0405528285, 0.029501671, 0.005375179, -0.0333087668, 0.0388782248, 0.0617190935, 0.0497690439, -0.0132375229, 0.0139653496, 0.0032946547, -0.0093749557, 0.0297352616, 0.0228138734, -0.0577421598, 0.0034456863, -0.0158996228, -0.0419557281, 0.0763816983, 0.000975436, -0.0450588912, -0.0425561592, -0.0280386638, 0.0081509734, -0.0413957052, 0.0346166454, 0.0077852155, 0.0097403927, 0.0208178833, 0.0574900806, -0.0553371422, -0.0357417129, 0.0395716168, 0.0095794955, 0.0754184723, -0.0106064705, -0.0373421051, -0.022708701, 0.037557479, -0.002753742, 0.0120408321, -0.0086616687, -0.0484638363, 0.0415436663, -0.036182452, 0.0134921223, 0.0395864919, 0.0024172028, 0.0290208291, -0.0142587265, 0.0460889265, -0.021868255, 0.0127455313, -0.0424979515, 0.0256705619, -0.0339080989, -0.0220606569, 0.0424334966, -0.0022724508, 0.0350065567, 0.0479522161, -0.0353499353, 0.0185873527, 0.0404442623, -0.0527751483, 0.0048755822, 0.0456156284, -0.028998306, -0.0131781064, 0.0258666873, -0.0155801848, 0.0048675551, -0.0053294296, -0.0268883035, -0.0184330996, 0.0164173525, 0.0433500037, 0.0597777441, -0.041040536, 0.0252300464, 0.0100228302, 0.0385270566, -0.0441909321, 0.0298399143, 0.0010180025, 0.0740455985, -0.0289989561, -0.0290647242, 0.0119559374, 0.0405048952, 0.0408878438, 0.0655545592, 0.011360364, 0.0260484386, 0.0274524353, 0.0090559619, -0.0108368602, -0.0011032708, -0.0963751078, 0.0162186064, -0.0118333781, 0.0341448188, 0.0084962584, 0.0400567427, -0.0125447856, -0.0075207562, -0.017617546, 0.0068233511, 0.0086309966, 0.0189911295, 0.0674587488, -0.0387600623, 0.001567499, -0.012321298, -0.0259842332, 0.000676912, 0.0468393713, -0.0585616715, 0.010287472, -0.0189159364, -0.0140271895, -0.0129500795, 0.0517654642, 0.0033925693, -0.059235815, 0.0090862401, 0.0193443391, 0.0462940335, 0.0116961394, 0.0379097499, 0.0281015001, 0.0218564551, -0.0212876741, -0.012467552, -0.0383468904, -0.019446278, 0.0618309043, 0.017805161, -0.0306487512, -0.0062654368, 0.0995765626, 0.019721875, -0.0537473522, 0.0008087155, 0.0180007555, -0.080322206, -0.0106967576, -0.050043799, 0.0234273896, -0.0570279919, 0.0266529936, 0.0080704493, -0.0298575014, 0.0146267898, -0.0025911971, 0.0132038631, -0.0548456572, -0.029830087, -0.0575830825, 0.0347182751, -0.011844323, -0.007921041, -0.0006500379, -0.0253218636, -0.0441426635, -0.018370593, 0.0190631486, -0.0014660938, 0.0290966313, -0.0619744509, -0.0042457548, -0.016223954, -0.0733080059, -0.021193698, -0.0807561651, 0.0327036604, -0.0135058919, 0.0548218861, -0.0473985635, 0.0313237719, -0.0016371902, 0.0159628447, 0.0499446169, -0.0382091366, -0.0012113265, 0.0095338244, 0.1023278758, -0.0004726649, 0.0072469027, 0.0094042355, 0.0517651401, -0.0119832326, 0.0299083162, -0.0073221321, 0.0270422306, -0.009826838, 0.0138698248, 0.0337020867, -0.0267963614, -0.0608920529, -0.0225748867, -0.0031314453, -0.0122831576, 0.0258038528, 0.0996482447, 0.0471005775, -0.0196442734, 0.0420938171, 0.0091122622, 0.0468596034, 0.0252583586, 0.0030515161, -0.0448957495, 0.0213454831, -0.0014221785, 0.000547628, -0.0333419479, -0.0271212813, -0.0072053461, -0.0693754405, 0.005775549, -0.0104847252, -0.0069964398, 0.0091113048, -0.0270658098, -0.0186413638, -0.0097334003, -0.0144378021, -0.0038689366, -0.0118925981, 0.0117613021, 0.0386729129, -0.0676068962, -0.0516114458, 0.0047836285, -0.0314545035, -0.0077712326, 0.0051530991, 0.047069978, -0.0810812786, -0.0161134936, 0.0316800661, -0.031112019, -0.0489272252, -0.0042664222, 0.0225841235, -0.0000149854, -0.021279281, -0.019705737, 0.0217274502, -0.0599542707, 0.0061349045, 0.007745727, 0.0453957804, -0.0075358097, -0.0047356267, -0.0433100648, -0.0451369882, 0.0450008102, 0.0168219823, -0.0159817617, -0.0751638189, 0.0009010927, -0.0428874604, 0.003468107, -0.0325978994, -0.0590894446, 0.0368350036, -0.0002964961, -0.0570687056, -0.0922086686, -0.0646567941, -0.020273149, 0.0456538014, 0.0017319989, -0.0147126364, 0.0184559021, -0.0272420943, -0.0549490489, 0.0187097266, 0.0709817782, -0.0165149905, -0.0458048582, -0.0403977782, 0.0778208375, 0.0261321459, -0.0401364639, -0.0002708344, 0.0091888783, -0.0527142771, 0.0618696921, 0.0055983006, 0.0152626755, 0.0136352582, 0.0110158743, -0.0284571033, 0.0844794735, 0.0372576192, 0.008367192, -0.0018939768, 0.0250721667, -0.0137760239, 0.0079649426, 0.0241997428, -0.0090787308, 0.0374271385, -0.0342077389, 0.0088634137, 0.0073373131, -0.0148218451, 0.0092513189, -0.0445010848, 0.0196048077, -0.022091601, -0.0416775867, -0.0703511387, 0.0088331988, -0.0673801452, -0.0392381288, -0.0203189552, 0.042293787, 0.0151888533, 0.0113286413, -0.0696450099, -0.0231729951, 0.0019424198, 0.0182505753, -0.0085527543, 0.0396425314, 0.080687739, 0.0178755857, -0.0130166197, -0.0067015504, -0.0178142488, 0.0244397745, -0.0756965801, 0.0466565229, -0.0430672467, -0.0134751061, 0.0015776632, -0.0341389291, -0.0363947675, 0.091672942, -0.0088046668, 0.027903432, -0.0052212416, 0.0029605941, 0.0728648156, -0.0476530008, 0.0617393404, -0.0230283272, -0.0041666538, 0.005004589, 0.0245217122, 0.0320065022, -0.0073341858, -0.0164511725, 0.0093701109, -0.0624126755, 0.0227497052, 0.1172210574, 0.0495085865, -0.0281361602, 0.0339314118, -0.0186149329, -0.0095575303, 0.0362654403, 0.0274009164, 0.0007489596, 0.0125200255, 0.0324667096, -0.0830163285, -0.0488130413, 0.0420158654, 0.0145629086, 0.0047424692, 0.0307393372, 0.0261245128, 0.1089082137, 0.0298934747, 0.0315316617, -0.0524787046, -0.0097411647, -0.0450678915, -0.049442593, 0.0006149805, -6.20732355e-33, 0.0036923529, -0.0430424586, -0.0619211756, -0.0279489253, 0.0223170538, 0.0250059273, 0.04850813, -0.0101719527, 0.00052385, 0.0149326446, -0.0422656275, 0.0202841144, 0.0188110191, 0.0274052043, 0.0686258078, 0.0342028216, -0.0351527892, -0.0179154854, 0.0182278138, -0.014157665, 0.0744543672, 0.0340390503, 0.1238751784, -0.0641337857, 0.0494456366, 0.005257919, 0.0101496521, -0.0083750328, 0.0408098362, 0.03426769, -0.012149455, 0.0793243945, 0.0520683229, -0.0205943007, 0.0071900692, -0.0075612459, -0.0183782689, -0.0516715832, 0.0003631506, 0.0240441654, -0.0422074273, -0.0006766157, 0.0164797567, -0.0202630367, -0.0199342463, 0.0048997533, 0.0305589624, -0.0186467804, -0.0289219115, -0.0210646465, -0.0461363047, 0.0517331883, 0.011897428, 0.0240028314, 0.0155835012, 0.0116214231, -0.0130849443, -0.0043708491, -0.0580611415, 0.0278317947, -0.0130216926, 0.0702782571, 0.0017568436, 0.0017975388, 0.0063157734, 0.0389882624, -0.0200927798, 0.0043491647, 0.0301968455, 0.0191830248, 0.0025916838, 0.015169384, -0.0187960695, 0.0429985188, 0.0672626495, -0.0493079014, -0.0537858643, 0.0269187763, 0.0480451062, -0.0328904726, -0.0053304313, -0.0234791245, -0.0525390059, -0.0405320749, -0.0118625844, -0.0496158116, 0.0163896084, -0.0185762309, 0.0006843515, -0.0459512398, 0.0223015137, 0.0166924465, -0.0007565588, -0.0261730757, -0.101310052, 0.0427164547, -0.0142134754, 0.0421418473, 0.0257923435, 0.0403819419, -0.0473030433, -0.0301043354, -0.0276117306, 0.0462588891, 0.0531559177, 0.0158788431, 0.0179358032, 0.0216641631, -0.0524125025, -0.0106643774, -0.0010647869, -0.0024152298, -0.0411057658, 0.0676860437, 0.0133415805, 0.004307834, 0.0026800241, 0.0521303937, 0.06854067, 0.0030784332, -0.0212461315, 0.0108706756, -0.0129914973, 0.0436636321, -0.0247996096, -0.0304027647, -0.0070188059, 0.0410907492, 0.0254210792, -0.0128142126, -0.0029629422, -0.0217028428, 2.674e-7, 0.0078513995, 0.0597672947, 0.0197632685, 0.030333288, 0.0381238796, 0.0126820514, 0.0041636485, 0.0330311768, -0.0813711658, -0.025935296, 0.0017829847, -0.0497681685, 0.0264824685, 0.039153073, -0.1178240031, -0.0352056623, -0.0244704522, 0.0079736663, -0.0540236272, -0.0176891964, 0.0479788408, 0.1373100132, 0.000707196, 0.0099617252, -0.0332369618, 0.0230385922, 0.0318945311, -0.0153731015, -0.004022608, -0.0248895083, 0.0371458307, -0.0337213501, 0.0212937985, -0.0122733023, -0.02468789, 0.036191538, -0.0085875895, -0.0028482643, -0.0240715537, -0.0197966956, 0.0196246728, -0.0265526585, -0.0376578085, -0.0924026817, 0.0622901171, 0.0282346737, -0.0471408069, -0.0209225416, -0.0137611749, 0.0365397893, 0.0169828217, -0.0417920724, -0.0233579818, 0.0190154724, 0.0229553431, -0.0470921397, -0.0261439104, -0.046234183, -0.0284064822, 0.0240052622, 0.0085232127, -0.0174661782, 0.0394120775, 0.0120953666, 0.0393716432, -0.010758847, 0.014894776, 2.841603309e-34, 0.0329101086, 0.0019855385, 0.0285701677, 0.0141010797, 0.0233898554, -0.0399859659, 0.0220186803, 0.0160085931, -0.0082553048, -0.0405723751, -0.0142665002 ]
http://arxiv.org/abs/2402.01512v1
http://arxiv.org/pdf/2402.01512v1
Distractor Generation for Multiple-Choice Questions: A Survey of Methods, Datasets, and Evaluation
2024-02-02T15:53:31
2024-02-02T15:53:31
Elaf Alhazmi, Quan Z. Sheng, Wei Emma Zhang, Munazza Zaib, Ahoud Alhazmi
cs.CL
cs.CL
Distractors are important in learning evaluation. This paper surveys distractor generation tasks using English multiple-choice question datasets for textual and multimodal contexts. In particular, this paper presents a thorough literature review of the recent studies on distractor generation tasks, discusses multiple choice components and their characteristics, analyzes the related datasets, and summarizes the evaluation metrics of distractor generation. Our investigation reveals that more than half of datasets are human-generated from educational sources in specific domains such as Science and English, which are largely text-based, with a lack of open domain and multimodal datasets.
Distractor Generation for Multiple-Choice Questions: A Survey of Methods, Datasets, and Evaluation: Distractors are important in learning evaluation. This paper surveys distractor generation tasks using English multiple-choice question datasets for textual and multimodal contexts. In particular, this paper presents a thorough literature review of the recent studies on distractor generation tasks, discusses multiple choice components and their characteristics, analyzes the related datasets, and summarizes the evaluation metrics of distractor generation. Our investigation reveals that more than half of datasets are human-generated from educational sources in specific domains such as Science and English, which are largely text-based, with a lack of open domain and multimodal datasets.
[ -0.0039329431, -0.019438874, -0.0255731083, 0.0124780368, -0.0156783741, 0.0076464899, 0.0812034309, -0.0143917855, 0.0642423481, -0.0328356661, -0.0241038129, -0.0177513231, -0.0508018769, -0.066625163, 0.0514299609, -0.0861281827, 0.026348792, -0.0286567211, 0.0148437349, 0.019852953, -0.0203655884, -0.0357038788, -0.0329935141, 0.0035421117, -0.0050090565, -0.0581784882, -0.0221810471, -0.0096784774, 0.0358575359, -0.0717051849, 0.0364729017, 0.0581060052, -0.0129139591, -0.0279015936, 0.0000020408, -0.0437883846, 0.0007428146, -0.026107071, -0.0120774368, -0.0066742008, 0.0295919199, 0.089621149, 0.0414304025, -0.0036121076, -0.0145684779, 0.010051812, 0.0383190401, 0.0206496641, 0.050648924, 0.0218596384, 0.0063689752, 0.0115226619, 0.0047510634, 0.0366216674, 0.0676421821, 0.0172310583, -0.0403028801, 0.0119915847, -0.0103286402, 0.0507935844, -0.0531625487, 0.0075269942, 0.0048794318, 0.0372901075, 0.0129531398, 0.0241725352, -0.0375688076, -0.0567604788, -0.0218091402, 0.1001563966, 0.0050154785, 0.0079414835, -0.026520744, -0.0217220951, 0.0222723112, 0.0708868504, -0.0615882166, 0.0408727825, -0.045715183, -0.0237375535, 0.0169629529, -0.0220862515, -0.0283551347, 0.0010475612, 0.0242688637, -0.0285755899, 0.0285959207, -0.0300617032, 0.0388098471, 0.0034062574, 0.0065203113, -0.051453907, 0.0198994409, 0.0151514299, -0.0828375518, 0.0140054068, -0.0483769104, -0.094014369, 0.0350416042, -0.0220529605, 0.0122546488, 0.031552922, -0.0521934852, 0.0127398195, -0.0006260384, 0.0434789173, -0.0523860306, 0.0346488357, -0.0008944526, 0.04250383, -0.0144804874, 0.0148439547, 0.004179447, 0.0142821725, -0.0378723405, -0.023927182, -0.0086803231, 0.0129602514, -0.0088559762, 0.004792314, -0.0083439276, 0.0230549052, 0.0069325212, 0.0170063097, -0.0402443036, 0.0302096065, -0.0315788388, -0.0077449726, -0.0085431002, -0.0101279374, 0.0140890023, 0.0516295955, 0.0310023185, -0.0627963468, 0.0031733979, 0.0715272501, -0.0242521539, -0.0268868431, -0.0274185538, -0.0220647398, 0.0251368657, -0.0456679724, 0.0519459955, -0.0075251595, 0.0003895471, 0.0086794868, 0.0067040785, -0.0188531596, 0.0347764194, 0.0632912591, 0.0496762693, 0.0195152946, -0.0128439227, -0.0317391679, 0.0367643684, -0.0105166305, -0.0049153683, 0.0545781776, 0.0201272219, 0.01397302, 0.0646148995, -0.0784165636, 0.0215803701, 0.0149171948, -0.0331023969, -0.0458745807, 0.0310542025, 0.0052497596, 0.0426948816, 0.0258605126, -0.0057942374, 0.0505144671, -0.0074951742, 0.0241673142, 0.0450263955, 0.0094858175, 0.0211408436, -0.0111979991, -0.0018026733, 0.0019156309, 0.0095951408, 0.0853734314, -0.0094636744, 0.0246126521, -0.0143155409, 0.0086019728, 0.0165223498, 0.0411179475, -0.0021242031, -0.0532060899, -0.0200689286, 0.0399427302, -0.0079475157, 0.0325686485, 0.0431101844, -0.011132855, -0.0717105865, 0.0299194828, -0.000448627, -0.0696065351, 0.0146697722, 0.0064199748, 0.0724732354, 0.0568309911, 0.0068242666, -0.0571536571, -0.0746680945, -0.0079036169, 0.0648093671, 0.0292924978, 0.0138617791, -0.0408071578, 0.0145113114, -0.0702456981, -0.0374519415, -0.0377435759, -0.018865509, -0.0128584439, 0.0193761159, -0.0073761991, -0.0276696756, -0.0051698852, -0.0386188142, 0.0515928157, -0.0147753097, -0.0510107651, -0.0069628558, 0.0146948518, 0.0233435221, 0.0055501522, -0.0120909391, -0.0024195868, 0.0145944273, -0.000809686, 0.0508853123, 0.0053936057, -0.0276421066, 0.002348314, 0.0408599637, -0.0661470219, -0.0199518427, 0.0237795487, 0.0156484172, -0.0041634222, 0.009808558, -0.050656464, -0.0298392884, 0.0290486515, 0.0160933398, 0.0010394743, 0.0051477901, -0.0259880181, 0.0897991881, 0.0214774292, 0.0601243824, 0.0526165999, 0.0500011295, 0.0242083054, -0.0157705992, 0.0162769519, -0.026329834, -0.0235115066, 0.0211633705, 0.0064038909, 0.0133901462, -0.1428515017, 0.0016037113, -0.0114972703, 0.0331446417, -0.0076532131, 0.0102543654, 0.0202876609, -0.0494269393, -0.0020668411, 0.0046574795, -0.0226202756, 0.021943355, -0.0179656558, 0.0133197065, -0.0115531217, -0.0576207116, 0.043781966, -0.0204810239, 0.000697641, -0.0205178466, 0.0465203077, 0.0451889746, 0.0070852228, -0.0124559458, 0.0518973023, 0.0295793358, -0.0153799923, 0.0328589901, 0.026236549, 0.0836118236, -0.0100495685, 0.1067444235, 0.0397330634, 0.0399425626, 0.0296582337, 0.0360530913, -0.0431981273, -0.0519018359, 0.0185612366, -0.0129407207, 0.0038386639, 0.0282234736, -0.0621709973, 0.0320824571, 0.0112491464, 0.0417561978, -0.0113136461, -0.0099575724, 0.0333045945, -0.0234830473, -0.0507475957, -0.0540812872, 0.0175622683, -0.0643360838, 0.0459042378, -0.0162762012, -0.0196909774, 0.0357244052, 0.0089338897, 0.0214738976, -0.0631266385, 0.0596440136, 0.0013128754, -0.0008826599, -0.0446601212, -0.0027448186, 0.0561614633, -0.0229075365, -0.0250925664, 0.0035056937, 0.0267002657, -0.0267105289, 0.0505247489, -0.0616899356, -0.0561254509, 0.0338596553, 0.0056486265, -0.0503703095, -0.019751763, 0.0329327099, -0.057780847, 0.0071915393, 0.0227965228, -0.0303042009, -0.0488900542, 0.0633510575, 0.0101210568, -0.0112205613, -0.0223221965, 0.0060377666, 0.0840776041, 0.0315918364, 0.0712105334, -0.009191839, -0.0554322228, -0.0071851355, 0.0520429909, 0.0425778553, -0.0595124811, 0.0106897131, 0.035553176, 0.0344664454, -0.0333383903, 0.005403982, 0.026189154, 0.0881806016, -0.0397017226, -0.0188503526, 0.0556528568, 0.0322059207, -0.0109217195, -0.0252704527, -0.0387550145, -0.0405888781, 0.0341039784, -0.0354460925, -0.0304640513, -0.037021447, -0.0432331488, 0.0158808175, -0.0079183234, -0.0102294087, 0.0105989082, -0.0926873311, 0.0449026041, -0.0133189252, -0.0936679468, 0.0287347939, -0.0301859565, -0.0104568098, -0.0000902131, -0.013173297, 0.0032491859, 0.0215522014, 0.0257031843, 0.0500783287, 0.0222829096, -0.0003775451, -0.0528672673, -0.0377549268, -0.0307849478, -0.0298087224, 0.005795761, -0.0224937815, -0.0754309073, -0.004751707, -0.072338298, -0.0095976433, 0.0103766713, 0.0682626665, 0.0054388596, -0.0016437516, -0.0741358846, 0.0432850979, -0.0050396537, -0.0491507724, 0.091144219, 0.0593554117, -0.0007400081, -0.0174135622, -0.0134980557, 0.0128504597, 0.0168377347, 0.0128304325, 0.0392637439, -0.0747231618, 0.0295888353, -0.0224301033, 0.0679482371, -0.0806481317, -0.001970489, 0.0102407634, -0.0487397462, -0.014270165, -0.0413047336, -0.0513985381, 0.0616074912, 0.0305560231, 0.0181735083, 0.0181938354, 0.0133468509, 0.0039199148, -0.0149846366, 0.032143645, 0.0332283825, -0.0193239171, -0.0023255809, -0.0734992772, -0.0371000171, 0.0066412468, 0.009179214, 0.0668168813, -0.02830703, -0.0159864109, 0.0240563378, 0.0504490696, 0.0098662637, -0.0533473305, 0.0671551228, -0.0157349911, -0.0551926903, -0.0142026981, -0.0139238434, -0.0052985675, -0.0379472561, -0.0306821838, -0.0013785558, -0.0463773124, 0.0000894476, -0.0168106016, 0.0325356722, 0.0160222389, -0.0416248031, 0.0128689473, 0.0200796612, 0.0169739649, 0.0175148156, -0.0675323904, -0.0050776056, -0.055241067, 0.0027692965, -0.0048065642, -0.0526734404, 0.0058445702, -0.0071459548, 0.0137345931, -0.0251452979, 0.0031578953, -0.0176415909, -0.0433806032, -0.0120668793, -0.0465309694, 0.0504451878, 0.0420376919, 0.019266732, 0.0203533079, 0.0125279175, -0.0182514936, -0.0139336959, 0.0286111813, 0.0487921834, 0.0448754951, 0.102280423, 0.0127408942, -0.0298845731, 0.0322522447, -0.0097227646, -0.0031728654, 0.0138057116, -0.0223278143, 0.0088650659, 0.016445078, -0.0068204594, 0.0284806285, 0.0305637922, -0.0136413323, -0.0246180315, 0.0424738415, 0.007177541, -0.0209973361, 0.0244746394, 0.010563883, 0.0263241213, -0.0551144443, 0.0586110912, -0.0290103722, -0.001983501, 0.0150922025, -0.0216188841, -0.0875271857, 0.0026053402, -0.0366917774, 0.0555655174, 0.0223583151, 0.0173571203, -0.0577023812, -0.0292767268, 0.0035842522, 0.0136657758, 0.0394505002, -0.0088766767, 0.0394313522, 0.028058894, -0.0365183614, -0.0069560106, 0.0039284881, 0.0587169118, -0.0742237791, -0.0131070716, -0.0474430174, -5.735588851e-33, -0.0306082312, -0.0688582286, 0.0479004495, -0.032818526, -0.009928274, -0.0166757386, -0.051710669, 0.0399920233, 0.0061799325, -0.0212031733, 0.0136233745, -0.0371298976, 0.0033954221, 0.0586114898, 0.0298168268, -0.0459278263, -0.0102997376, -0.0123245576, -0.0258138888, 0.0208625048, 0.0636574551, -0.0312539637, 0.0399875902, -0.030966837, 0.034602277, -0.0361022092, 0.0122238705, -0.0477164946, -0.0123310965, 0.045773197, -0.0500546992, 0.093141444, 0.0113451378, -0.0586931445, -0.0229192805, 0.0500012003, -0.0182811022, -0.0801762715, 0.0045792782, 0.0086115906, -0.0661174953, -0.0610373057, 0.0448418185, 0.0211608913, -0.0183004234, -0.0184123628, 0.0574518032, 0.0110017229, -0.0208674315, 0.0169394705, -0.0952439383, -0.0005873452, -0.0498242751, -0.0141892359, 0.0048491079, 0.0686642304, -0.0138922557, -0.0069828997, -0.0371690802, 0.0782671571, 0.0162401851, -0.0178007856, 0.0266475733, 0.01229198, 0.0027183089, 0.0531101227, 0.0492854193, -0.0005407943, 0.0258529652, -0.0228640437, -0.0070690718, 0.0495537072, 0.0517575666, 0.0578052066, 0.0220540352, -0.0040255194, -0.0269872863, 0.0380479284, -0.030286191, 0.0001109982, 0.0029577501, -0.0533309951, 0.0171448607, -0.0117996056, -0.0087003708, 0.0112706413, -0.0391953848, 0.0062696715, 0.0547029115, -0.0673132241, 0.0148706809, -0.0056732688, 0.0163541343, 0.0106066018, 0.0266200844, 0.0052706813, -0.0028399273, 0.0592420101, -0.0006808451, -0.0489985868, -0.0171460342, -0.006238597, 0.0355380699, 0.0060887756, 0.0440876447, 0.0008762886, -0.022754034, -0.0216188468, -0.0401422046, 0.0036640675, -0.0488618799, 0.0115410378, 0.037839774, 0.000932521, 0.0395600758, -0.0097483369, -0.0397328325, 0.0090413764, 0.0094303638, -0.0198738556, -0.0251856465, -0.0585449785, -0.003696112, 0.0104291802, 0.002436341, 0.0082215378, -0.0366952755, -0.0166906156, 0.024462916, -0.0702038184, 0.0099988496, 0.0027180081, 2.512e-7, 0.0247366354, 0.0518482327, -0.0072062407, 0.0168806911, 0.0017497401, 0.0221597143, 0.0025663034, -0.006498503, 0.023149725, -0.0127756633, -0.0434035175, -0.0138730705, -0.0205959119, 0.0149382772, -0.0493837185, -0.0594323911, 0.0543073379, 0.0148044461, -0.0280020759, 0.0568631142, 0.0943306684, -0.0196599141, -0.0065206187, -0.0220306255, -0.0342367552, 0.0410991423, -0.0051743239, -0.0157685764, -0.0102170091, -0.0147736575, 0.0234339908, -0.0006061265, -0.0210253373, 0.0473331586, -0.0223781131, -0.07968501, 0.0355270244, -0.0198705196, 0.0303282551, -0.042547375, -0.0006390553, 0.017786609, -0.0064428924, -0.0139239505, 0.0373821892, -0.0082501918, -0.0161459018, 0.0510623753, -0.0473471321, -0.0067576454, 0.0031347594, -0.0179352798, 0.0049567902, -0.0352741256, -0.0118721221, 0.0211189948, 0.0023256689, -0.00485407, -0.0163081922, 0.0482913777, -0.0249603596, -0.0407809317, -0.0153386006, -0.0460979007, 0.0113055632, -0.0101401284, -0.0235783365, 1.294507529e-34, -0.0173098296, 0.0218929518, 0.0496554561, 0.021215843, -0.014928746, -0.055267632, 0.0246301033, -0.0095921513, 0.0325862244, -0.0498836003, -0.0092451433 ]
http://arxiv.org/abs/2402.01510v1
http://arxiv.org/pdf/2402.01510v1
A Hybrid Strategy for Chat Transcript Summarization
2024-02-02T15:44:28
2024-02-02T15:44:28
Pratik K. Biswas
cs.CL
cs.CL, 68, I.7
Text summarization is the process of condensing a piece of text to fewer sentences, while still preserving its content. Chat transcript, in this context, is a textual copy of a digital or online conversation between a customer (caller) and agent(s). This paper presents an indigenously (locally) developed hybrid method that first combines extractive and abstractive summarization techniques in compressing ill-punctuated or un-punctuated chat transcripts to produce more readable punctuated summaries and then optimizes the overall quality of summarization through reinforcement learning. Extensive testing, evaluations, comparisons, and validation have demonstrated the efficacy of this approach for large-scale deployment of chat transcript summarization, in the absence of manually generated reference (annotated) summaries.
A Hybrid Strategy for Chat Transcript Summarization: Text summarization is the process of condensing a piece of text to fewer sentences, while still preserving its content. Chat transcript, in this context, is a textual copy of a digital or online conversation between a customer (caller) and agent(s). This paper presents an indigenously (locally) developed hybrid method that first combines extractive and abstractive summarization techniques in compressing ill-punctuated or un-punctuated chat transcripts to produce more readable punctuated summaries and then optimizes the overall quality of summarization through reinforcement learning. Extensive testing, evaluations, comparisons, and validation have demonstrated the efficacy of this approach for large-scale deployment of chat transcript summarization, in the absence of manually generated reference (annotated) summaries.
[ 0.075571917, -0.0046465448, -0.0156048043, -0.0300218426, -0.0197632201, 0.0142100835, -0.0391951315, 0.0063715028, -0.0056363624, -0.0172532704, 0.0035326304, 0.0024043061, 0.0284179915, 0.0163752306, -0.0252179671, -0.12411163, 0.0314885117, -0.0042892043, 0.0297291502, 0.0268727094, 0.038608212, 0.0059106317, 0.0157499667, 0.0255394019, 0.0143938214, 0.000113976, -0.0246805288, 0.013319362, 0.0295835286, -0.0084828446, 0.0014563488, -0.0106855594, -0.0302086566, 0.0345498845, 0.000001695, -0.0553486943, -0.0530362241, -0.0126574142, 0.0141163459, 0.0111465752, 0.0872972608, -0.0015482694, -0.0354961492, 0.0456977002, -0.0144878533, 0.0064590052, 0.0402603336, 0.0697421804, 0.0734260604, 0.0826674327, -0.0221280549, -0.0139104696, 0.0192148052, 0.0105383154, -0.0126215899, -0.0157120246, -0.0125617096, 0.0492750965, 0.0386152677, -0.0326386653, 0.0182886403, 0.0357302241, 0.001219744, -0.0389239378, -0.0406387411, 0.0370255597, -0.0581206009, -0.0219797194, -0.0261727087, 0.0350145288, 0.0137460539, 0.0173629373, 0.0410973541, 0.0188947339, 0.0079387212, -0.027516434, -0.0860557035, 0.0279044472, -0.0240664836, 0.0284882579, -0.0409997106, 0.042020198, -0.0475945659, 0.0078143142, -0.051397942, -0.0500978194, -0.0343041644, -0.0293726027, -0.0462154225, 0.0111675411, 0.0298741329, -0.0419857576, 0.060711138, 0.0268393625, -0.0307391509, -0.0196582954, -0.0153718563, -0.0623251721, 0.0195934959, -0.0366270952, 0.0021259205, 0.006291057, 0.0304176155, 0.0504901484, -0.0118733952, 0.0053766961, 0.0512857772, 0.0030707621, -0.0355907157, 0.006254096, -0.0389150716, -0.0171550512, -0.032644853, 0.0542856008, 0.0003290471, -0.0367952175, -0.0620789565, 0.0406288207, 0.0309636053, 0.009520743, 0.010203151, -0.0129544083, -0.0420287251, 0.0351543091, 0.0167705938, -0.0077713486, -0.0347013809, -0.0088850828, 0.0340312123, -0.049426917, 0.0204353668, 0.0240128469, 0.048802238, 0.0200024415, -0.0507588498, 0.0474010184, -0.0431789123, -0.0277878009, 0.00355398, -0.038044218, 0.0011320936, -0.0004162889, -0.0375045203, -0.037589632, -0.007061631, -0.0169320218, -0.041619014, 0.048880782, -0.0028373506, 0.0067957975, -0.0249122716, 0.0191153791, -0.0236957669, 0.0107581429, 0.0464245267, 0.001248489, -0.0040922668, 0.0540401004, 0.055289913, 0.0662474111, 0.066574201, 0.0255764034, 0.0305881053, 0.0335346647, -0.0076444321, 0.0052175033, 0.0112675894, -0.0163776465, -0.0211699773, -0.0417317599, 0.0287804361, 0.0729533955, -0.0454267189, 0.0565115958, 0.060742002, 0.07141985, -0.0136688547, 0.007534158, 0.0191979073, 0.0802825168, 0.0236931015, 0.0715302899, 0.0016620115, 0.0294989664, -0.0072364793, 0.0437584557, 0.1044270322, 0.0174766909, -0.0156453997, -0.0557791069, 0.0361012481, -0.018382309, 0.0412149653, 0.0060391328, 0.0177806448, -0.0004493919, -0.035125345, 0.0029659111, -0.0020218221, -0.0468651503, -0.0188830793, -0.0382699408, 0.0109177446, 0.0609688126, 0.033774998, -0.0339224972, -0.0177151412, -0.041592665, -0.0393810682, 0.0328145027, 0.0255255606, -0.0276122931, -0.0208522286, -0.0379239842, -0.0287059937, 0.0360035449, -0.0229962002, -0.0088650659, -0.0042406465, 0.0114537412, 0.0246184617, 0.0527094826, -0.0529526509, 0.0099556297, -0.0126422103, -0.0082730623, 0.0016562, -0.012484964, 0.0351070911, 0.0400915109, -0.0141491191, -0.005912568, 0.0021878905, 0.0203187298, -0.0247989781, 0.0574346073, -0.047051806, -0.0418425985, 0.0155458627, -0.0676582679, 0.0164636858, 0.0038720637, -0.038924817, -0.0511533953, 0.0086039063, -0.0605365634, 0.0648939759, -0.0407216698, 0.0200606938, 0.0050412826, -0.0082097715, -0.012757251, 0.009751183, 0.0019902675, -0.0243323762, 0.0102113318, -0.0776959881, -0.0198900178, -0.0398625657, 0.0455036126, 0.0185825359, -0.0108222319, 0.0176681243, 0.068502374, 0.0286373887, -0.0383087359, -0.0337943584, -0.1111610532, -0.0054628416, -0.0174034908, 0.0108480109, 0.0314978398, 0.0714401007, -0.0333121382, -0.044575002, -0.0033669521, -0.0393386558, 0.0445169881, 0.0097175278, 0.0339540802, 0.035069257, 0.0159612726, -0.0647661388, -0.0171931535, 0.0179845374, 0.0376923271, 0.0140456259, -0.0525936298, -0.0431631543, -0.0132112084, -0.0037953209, -0.0299751647, 0.016804371, -0.0426757149, -0.0143806785, -0.0037589322, 0.0411244854, 0.0312995166, 0.0510185212, 0.013758339, -0.0097395778, 0.0183356665, -0.0506738983, 0.0073167882, -0.0330448933, -0.0067227758, 0.0031307635, -0.033429265, 0.0465146005, 0.0265435614, -0.0015641761, 0.0263104662, -0.018609805, 0.0090604983, -0.0271061696, -0.0315435082, -0.0298900772, -0.0135446321, -0.0365772806, 0.0118307294, -0.0334918909, -0.0486083888, 0.076462768, 0.0368902571, 0.0073932158, -0.0875707567, -0.044590354, -0.0381344706, 0.0280572288, -0.0086330688, 0.0342637524, -0.0106455591, -0.0720955655, -0.0399270579, -0.0511423014, 0.0478589386, -0.02140259, 0.0194577947, 0.0016967652, -0.0090412796, -0.0043433374, -0.0334219635, -0.0262100492, -0.0390246175, -0.0069519151, 0.0081033865, 0.0472019203, -0.0064508962, -0.066508688, 0.0548233688, 0.0451305546, 0.0450363196, -0.0138520738, -0.0308675002, 0.0031876592, 0.0490999743, 0.0309165251, -0.0152550684, 0.0122421617, -0.045031555, 0.0358928144, 0.0390398242, 0.0166233368, -0.0344555229, 0.0459817573, -0.0373305939, -0.0078193704, -0.0874373168, -0.0002428917, 0.0016334222, 0.0430404916, -0.0194446407, 0.0084281275, 0.0956838503, 0.0275268164, -0.0443644933, -0.0272327699, -0.0395470299, 0.0296679549, -0.0091051375, 0.0485058948, -0.0742884278, 0.0079275873, 0.0018595685, 0.0456057079, 0.011499716, -0.0168708805, -0.0009530712, -0.0849666595, 0.0269868989, 0.0196322389, -0.0981981009, 0.0160736293, -0.0224042423, -0.0015487547, -0.0116305742, 0.0211897735, 0.0098157022, -0.0261290651, 0.0050965636, 0.0237901192, -0.0927162841, 0.032268513, -0.0747343674, -0.0208406765, 0.0148778157, 0.0858011767, 0.0421753712, 0.0316564329, 0.0440214947, 0.0162026566, -0.0066134864, -0.0046878704, -0.0008822439, 0.0700599253, 0.021913182, 0.016742425, -0.0244892724, 0.0235723108, 0.06149593, 0.0132578341, 0.0282728542, 0.0048498577, 0.0266299136, -0.0091802962, -0.0427722037, 0.0425669998, 0.0270563718, 0.0333895348, 0.0268159881, -0.0208102353, -0.0712972954, -0.0323904566, -0.0233159475, -0.0577326268, -0.0144680589, -0.0110246958, -0.0551293194, -0.0262495428, -0.1096054018, -0.0677737817, -0.0058374228, -0.0252036694, -0.0206152573, -0.0049342895, 0.026406724, 0.0443407446, -0.0329286642, -0.0649475902, -0.0076193218, -0.0061846767, -0.0245891716, 0.0142218471, 0.0159708597, -0.0523045808, 0.0097027263, -0.0196130592, -0.0275367629, -0.0293971151, -0.0107711526, 0.0325713083, 0.0141558107, 0.0734903216, -0.0024932071, 0.0024474282, 0.0597864613, 0.033982113, -0.0221761558, -0.0086254319, 0.0320510231, 0.0760936961, -0.0151221622, 0.0085270163, -0.0718092024, 0.0427065007, -0.0573549271, 0.0189415608, -0.0510342754, -0.0163129549, -0.0005427343, 0.0275089592, -0.0059230118, -0.0079354653, -0.0173919313, 0.0071740807, 0.0001736198, -0.0202278551, -0.0129760569, -0.0083716055, 0.0400630794, -0.0232954957, 0.0284238346, 0.0101248678, 0.0587484315, -0.0181118157, 0.025725361, -0.0276088677, 0.0106566176, 0.0160726532, -0.0176094472, -0.030764902, 0.0001634722, -0.0271292124, -0.0076133334, 0.0081609683, 0.0505603775, -0.0135043971, 0.0190660059, 0.010664627, -0.0178993642, 0.0219802596, 0.0357188098, -0.077468954, 0.0358232409, -0.0214040242, 0.0485686809, 0.0430046506, -0.0247989148, 0.0613578744, 0.0102264509, 0.0153927039, -0.0141327484, 0.0169864316, 0.0025966875, -0.0255798958, -0.0842612907, 0.013871369, 0.0034435978, 0.0113965748, 0.0525658652, -0.0809405148, 0.0009655691, -0.004574968, -0.0521365851, -0.0381094366, -0.0202552453, 0.0074045863, 0.0397765152, 0.0137306955, -0.0326269381, -0.0190633535, -0.0051532481, 0.0039717304, 0.0273568425, 0.0345632248, -0.0033735659, 0.0358851664, -0.0067242137, 0.0184259042, 0.0086516337, -0.0542290919, -0.0478803627, -0.0244636033, 0.0108433142, 0.0124324886, -5.531671071e-33, -0.0134128798, -0.0206766091, -0.0165385064, 0.026922131, -0.0651161522, 0.0038322443, -0.032926783, -0.0445622578, 0.0525799654, -0.0173960235, -0.0349922925, 0.0197398365, 0.0303989649, 0.0234607738, -0.0055167791, 0.0417821035, 0.0528777279, -0.0182818174, -0.0234091133, 0.0628741533, 0.0268251467, 0.0301269256, -0.0056722192, -0.0550329499, 0.0170101188, -0.0006634869, -0.0108999936, 0.0070381486, 0.0802181885, 0.0452195592, -0.0079701105, -0.0261975005, 0.0085420981, -0.0264471825, -0.0506024472, 0.0304393787, -0.0841978937, -0.0294027589, 0.0126194675, -0.000388966, -0.0296486896, -0.0115660531, 0.0394933596, -0.0364769064, 0.0311723929, -0.0099952323, 0.0442766808, -0.0401920155, -0.0356006473, -0.0591471903, -0.0336502716, 0.0339840949, -0.0620050617, 0.0030022704, 0.024249021, 0.0720820129, 0.0114704734, -0.0422874577, -0.0198178571, 0.0532222427, 0.0246092118, 0.0147287091, 0.0279288888, 0.053163223, 0.0045838133, 0.0510174669, 0.0065171616, -0.0053832242, -0.0206329729, -0.0026975798, -0.019178031, -0.0025402913, -0.0126076881, 0.0200166181, 0.014354175, 0.0051656673, -0.0286223944, 0.0778102949, 0.0394387618, 0.0047676894, 0.0334729478, 0.0373756289, -0.0326786302, 0.0108987708, 0.0013927702, 0.0291712992, 0.016480295, -0.0443065949, -0.0149951009, 0.0283173434, -0.069608897, -0.0325353332, 0.0256931912, -0.0486834459, 0.0162789859, -0.0254851319, -0.0334974304, 0.03453492, -0.0276499595, -0.0591494627, -0.0096086385, 0.0028652051, 0.0346079431, 0.0147991301, -0.0133013939, 0.01907265, 0.0469322801, -0.0013252718, -0.0466924272, 0.0211580358, 0.0555400066, 0.0520493574, -0.0430676267, -0.0070007574, 0.0126292212, -0.0127964299, 0.0007210899, 0.0331421159, 0.004905628, 0.0009060304, -0.0092544137, -0.0106914658, 0.0039086035, 0.0099235708, -0.0463761427, 0.0311386138, -0.0242669322, 0.0346966088, 0.0089228731, -0.0374449678, -0.0135435462, 0.0138098551, 2.405e-7, -0.0040008305, 0.0637842938, 0.0772509426, -0.0309420768, -0.004269131, 0.0130635519, 0.0165935252, 0.0104359733, 0.013486525, 0.0341476426, 0.0752913877, 0.0210178699, 0.0566148087, 0.0235842951, -0.1591325253, -0.0557938293, -0.1043780595, -0.0568864681, -0.0375257544, 0.011093745, 0.0549138822, 0.0484053679, -0.0020635219, 0.0129923765, -0.0078919912, -0.0003417249, -0.0025933511, -0.0086957142, -0.0191215817, 0.0111257145, 0.0497347154, 0.0004444309, -0.021019388, -0.058934886, 0.0016576934, -0.021026196, 0.0413313434, 0.0355512872, 0.0248330235, 0.0084018605, 0.0218334999, -0.0131590087, 0.0399665572, 0.0133752748, 0.0224425606, -0.0584384166, -0.0239508282, -0.025967326, -0.0312180743, -0.0348758548, -0.0216386728, -0.0014635457, -0.0439648144, 0.0690938085, -0.0229304116, 0.020849824, 0.0018685173, -0.0811570957, -0.0204690639, 0.0337358341, 0.0175935328, -0.0370536447, -0.018508669, 0.0258580539, -0.0038093766, -0.0426164083, 0.0266944245, 1.910644385e-34, 0.0514830239, -0.0009772333, -0.0287382938, 0.0123422425, 0.0248450469, -0.0214834996, 0.0559511371, 0.0229056161, 0.0659610033, -0.054851573, -0.0090901563 ]
http://arxiv.org/abs/2402.01505v1
http://arxiv.org/pdf/2402.01505v1
Code-Switched Language Identification is Harder Than You Think
2024-02-02T15:38:47
2024-02-02T15:38:47
Laurie Burchell, Alexandra Birch, Robert P. Thompson, Kenneth Heafield
cs.CL
cs.CL
Code switching (CS) is a very common phenomenon in written and spoken communication but one that is handled poorly by many natural language processing applications. Looking to the application of building CS corpora, we explore CS language identification (LID) for corpus building. We make the task more realistic by scaling it to more languages and considering models with simpler architectures for faster inference. We also reformulate the task as a sentence-level multi-label tagging problem to make it more tractable. Having defined the task, we investigate three reasonable models for this task and define metrics which better reflect desired performance. We present empirical evidence that no current approach is adequate and finally provide recommendations for future work in this area.
Code-Switched Language Identification is Harder Than You Think: Code switching (CS) is a very common phenomenon in written and spoken communication but one that is handled poorly by many natural language processing applications. Looking to the application of building CS corpora, we explore CS language identification (LID) for corpus building. We make the task more realistic by scaling it to more languages and considering models with simpler architectures for faster inference. We also reformulate the task as a sentence-level multi-label tagging problem to make it more tractable. Having defined the task, we investigate three reasonable models for this task and define metrics which better reflect desired performance. We present empirical evidence that no current approach is adequate and finally provide recommendations for future work in this area.
[ 0.0199300852, 0.0412724689, -0.0212705713, 0.0395075791, -0.0352547355, 0.0323593095, 0.0110873552, 0.0028098156, 0.0403632522, -0.0409684554, -0.0351133905, 0.0086029638, 0.0008330573, 0.0313372761, 0.0447353907, 0.0358197205, 0.0672831461, -0.033038117, 0.0123573914, 0.0368810184, 0.0254327636, 0.0025595529, 0.0215246528, 0.025748536, 0.0019531229, -0.0093945339, 0.0372354314, 0.0281559955, -0.0072416463, -0.0198548622, 0.0523199588, 0.0344548263, -0.0281452127, 0.0593740344, 0.0000015046, -0.0178174824, -0.0795571059, -0.0367894769, -0.0297094267, -0.0113827558, 0.0555974059, -0.0447404683, 0.0006353439, 0.0345421284, -0.0024864774, -0.0458595045, 0.0833112523, -0.0455983132, 0.0283681434, 0.0809044912, -0.0161996372, -0.0317079984, -0.046686314, 0.0121187167, -0.0182337947, -0.063733682, 0.0124466587, 0.0029049788, 0.0248678047, -0.0321737602, 0.0024160231, 0.0335445516, -0.0435063727, 0.0081721041, -0.0293808412, -0.0198743343, -0.0620310754, 0.0142542832, -0.0081713945, 0.0074863187, -0.0731137246, -0.0654384941, 0.0393695608, -0.0013633079, -0.0308395829, -0.0767789483, 0.0116040697, 0.0135002853, -0.054387752, 0.0048563192, 0.0668071434, 0.0207498837, 0.0470035709, 0.0027050963, -0.0406343043, 0.0597870015, 0.0203173645, 0.0225871764, -0.0185298938, -0.0010133946, 0.0176918563, -0.0654256865, 0.0218748227, -0.0035186841, -0.0578666814, 0.0181251131, -0.0357492156, -0.0437315367, -0.0291029494, -0.0177553985, 0.0027549311, 0.0129155917, -0.0333774909, 0.0386164002, -0.0599773601, 0.0171383079, 0.0040256134, -0.0218078103, -0.0260216761, -0.0349846259, -0.0444999225, 0.011282282, -0.0578580573, -0.0156063, 0.0303753987, 0.0209706686, -0.0128563857, 0.0116704209, 0.0179228261, 0.0124105755, -0.0348771177, -0.0908176675, 0.0097344201, 0.0221238844, 0.0808995888, 0.0075490358, -0.0067091072, -0.0209920462, -0.022183137, -0.0776342452, -0.0261822827, 0.0647703484, 0.004902286, -0.0135354446, 0.0282683, 0.0233265292, -0.0080329683, -0.0099142315, -0.0760536864, -0.0164124817, -0.0291418079, -0.0410373285, -0.0173143856, -0.0759176761, -0.0028638442, 0.016884841, 0.0393586121, -0.0776826814, -0.0186235942, -0.0271794312, -0.000940404, 0.0786907896, -0.0478716269, -0.0131727234, 0.0168287978, -0.0152825313, -0.0092053879, 0.0736089945, 0.0414282568, -0.0026972673, 0.0921765938, -0.0327586271, 0.0390447117, 0.0860462487, -0.0436290279, 0.0202092249, 0.0122731058, -0.04514575, 0.0634773001, -0.0378420986, 0.0084331101, 0.0259935651, -0.007893282, 0.0094734784, -0.0252479333, 0.0181695614, -0.0185505655, -0.0017938762, 0.0226988439, 0.0089081535, -0.0123260617, 0.0161595363, 0.0249271356, -0.0281416699, -0.012946235, -0.013574291, -0.0008768851, -0.0023744407, -0.0170444585, 0.0169407297, -0.041401498, -0.0483386703, 0.0240611155, -0.0356334895, 0.0436139926, -0.0024882904, 0.0113954134, 0.0243014339, 0.02226514, -0.0413579606, 0.0319822691, -0.0482076108, -0.0109056216, 0.0293220337, 0.0367635675, -0.0365907624, 0.0120054716, -0.0234172698, 0.0163374152, 0.0332677513, 0.0113905575, -0.0380452611, 0.0377728418, -0.0326514356, 0.0167247113, 0.0311729144, 0.0046232734, 0.0445678346, 0.01070878, 0.0004318017, -0.0055662729, -0.0308764465, -0.0070947423, 0.0357186496, -0.0265550427, 0.0016004214, 0.0623795912, -0.0101544019, 0.0358500741, -0.0119383382, -0.0226913858, 0.0073285676, -0.0401554853, -0.0336654894, 0.0124443658, 0.0217256416, 0.0185921025, -0.0411766432, 0.0407755375, -0.0192083959, -0.0240346007, 0.0327062309, -0.0226293784, -0.0635780692, 0.0590047613, -0.0340913758, 0.0334399939, -0.0118042137, 0.0507496372, -0.0137807131, -0.0041344501, -0.0139254145, 0.0221976433, 0.0294335186, 0.048649393, -0.0022327004, -0.0126652578, 0.0634222776, -0.0122416569, -0.0311381612, 0.0188064855, -0.0340925753, -0.0226535108, 0.0273971539, 0.0065404545, -0.0092612375, -0.0088221412, -0.0572733358, -0.0018867759, -0.0428781062, 0.0599304773, 0.0066295667, 0.0001974517, -0.0264574531, -0.029109275, -0.0345800668, -0.0033921518, -0.0131698549, 0.0147323785, 0.0104134381, -0.0126106832, -0.0512471795, -0.0627413094, 0.003847498, -0.0256484039, 0.0554768257, -0.0050860676, -0.0999457911, -0.1046399921, 0.009251927, -0.0006085747, 0.0422664657, 0.0061859195, -0.0354367234, 0.0025444122, -0.012968841, 0.0455593318, 0.0281319842, -0.0133024901, -0.0382792801, 0.0567459874, -0.0122901034, -0.0267971605, -0.0248994064, 0.0104361195, -0.0387788452, -0.0267378613, -0.0607732497, 0.0558574758, 0.0794607326, -0.0119635584, -0.0086602541, -0.0231634211, -0.0632360056, -0.0254096948, -0.0005816293, 0.0207936782, -0.0088113239, -0.0119860983, 0.0498318635, -0.0056784283, -0.0505022816, 0.0313813202, -0.0522737652, -0.0108723855, -0.0958757922, -0.0164670553, -0.0112202317, 0.0431936942, 0.0075856405, 0.0271991547, 0.0782952011, -0.0568284616, -0.0013393232, 0.0305514783, 0.0063102674, -0.022785183, -0.0057424493, -0.0671903491, 0.0280681141, -0.0028375245, -0.0327950157, -0.0208740979, -0.0314944722, -0.0586538948, 0.0072691357, 0.0625053644, -0.015984904, 0.0002693562, 0.0249072798, 0.0191593356, 0.0845571831, 0.0213720351, 0.022617409, -0.0083363382, 0.0398957729, -0.00181929, -0.0553985164, 0.0192223154, -0.0033443864, -0.0224882811, 0.0142588038, 0.0625340939, 0.0598307922, -0.0290791057, -0.0166182723, 0.0512763336, -0.0384207927, -0.0279055852, -0.0022900095, 0.0167511906, 0.0052762679, -0.0311466921, 0.100921303, 0.0437218882, -0.0962242708, -0.0258062426, 0.0264304858, 0.0309662465, 0.0309743993, 0.0086519886, -0.0859899893, -0.0545534417, 0.0382254049, 0.0225752685, -0.0353651643, -0.0283849668, -0.0346282609, -0.0583134778, 0.0085559562, 0.0102294544, -0.0202126373, -0.023331793, -0.024372844, 0.0058437739, -0.0051882593, -0.0698668584, -0.0179923233, 0.0052355509, -0.0017913877, 0.031706959, -0.0373784453, -0.0127310706, -0.005737816, -0.0489146449, 0.0545762926, 0.0682809204, -0.0064276489, -0.02113837, 0.001340589, 0.0384330563, -0.0361219235, -0.0411816686, -0.0300860852, 0.0315687358, -0.0322126858, -0.0323753431, 0.0632876903, 0.0068528634, -0.0477890223, -0.0070477175, 0.011382224, -0.0005612079, 0.0075947153, -0.0151952319, 0.0553763807, -0.0019315928, 0.0374539681, 0.044503402, 0.0289509669, -0.0533894859, -0.000014556, -0.0395404175, 0.0313965455, -0.0305578653, -0.011155759, 0.0074218428, -0.0204208065, -0.0722150654, -0.0695042312, 0.0195445269, 0.0250104163, 0.0310326032, 0.0122169424, 0.0336294957, 0.013287697, 0.0118108029, -0.0526870042, -0.0208899602, -0.0502475761, 0.0420309789, -0.0733120665, -0.0210902486, 0.0423632935, -0.0127882101, -0.0032941713, 0.0288043767, -0.1334987432, -0.0453031212, 0.0160346217, -0.0260784235, 0.0145268561, 0.000733908, -0.0474203005, -0.0323787965, -0.0749432296, -0.0002346811, -0.0312366262, -0.0001411267, 0.0356153548, 0.0039022355, -0.0223803949, 0.0205152631, -0.0281250607, 0.0061407113, 0.0593419969, -0.0057376246, -0.0746801719, 0.0015194691, 0.0131239342, 0.0275746677, 0.0403045155, -0.0534817241, -0.0038475504, -0.024124898, -0.0145305637, 0.0449567549, -0.0268073883, -0.0101193227, -0.0194916222, 0.0370488875, -0.0127023002, -0.0204021242, 0.0639908239, -0.0223106463, 0.0261234045, 0.0161110107, 0.0414874703, 0.0454544462, 0.0682824031, -0.013388956, -0.0225655735, -0.0083339149, 0.0457855612, 0.033811897, 0.0408589914, -0.0270054899, 0.0208270587, 0.0243375469, -0.0257613901, 0.0103957504, 0.0456218123, -0.0262297988, 0.0251014344, 0.0165472105, -0.0131605687, 0.0614300743, 0.008687471, 0.0934113041, -0.0031308923, 0.0005713177, -0.048557613, 0.0310749561, 0.0039869905, -0.02776362, -0.011755975, -0.011225027, -0.0468580462, 0.0064056111, 0.0836592987, 0.028156599, 0.0119010145, -0.0020935708, -0.0394051746, -0.0075323372, 0.020309234, -0.0164622702, -0.0012266219, -0.0032148946, -0.002338907, -0.0270346329, -0.0436385088, 0.0347710326, -0.0068346425, 0.0737807453, 0.0267517045, 0.0018387637, 0.0856759921, 0.0202614609, 0.0182627179, -0.0544546656, 0.0033213883, 0.0671425015, -0.0211033355, -0.0123444917, -5.101670829e-33, 0.0002042966, -0.0164953861, -0.0458893478, 0.0241727103, 0.0552774966, -0.0205195099, -0.058222454, 0.0267889015, -0.0151186706, -0.0563526899, 0.0090684975, 0.0209357049, 0.0332812443, -0.0173908528, 0.0248697884, 0.0012816699, 0.0172439292, 0.0261397045, -0.0419405587, 0.0007818226, 0.0372689255, -0.0027321561, 0.0689619184, -0.0555472821, 0.0185580794, -0.0310225245, -0.012179683, -0.019090727, 0.0470602699, 0.0432110019, -0.0008206884, 0.0175014101, 0.0361717381, -0.000988623, -0.0041021272, 0.0293654688, -0.0254054349, 0.0105749546, 0.0131453872, 0.0587437153, 0.0339045748, -0.0629862845, -0.0060097049, -0.0317403674, 0.0072279046, 0.0139890527, 0.0215002224, -0.0219873507, 0.0152380932, -0.0219254717, -0.0672338828, 0.0733739957, -0.0001558065, 0.0088677611, 0.0678309426, 0.0659733713, -0.0149757108, 0.0504559502, -0.0461969264, 0.0265505575, -0.0184801109, 0.0559455976, 0.0265273731, 0.0467678122, -0.0307502877, 0.0259983335, 0.0586245917, -0.0106741888, 0.0249355622, 0.0111737875, 0.0382485315, -0.038523715, 0.0622288287, 0.0508571751, 0.0292568188, -0.0061094519, -0.0511419177, -0.0095234225, 0.0555901304, -0.0380596407, -0.0007816199, 0.0162910428, -0.0303210039, -0.0248223227, -0.0213633124, -0.0814954117, -0.0327115431, -0.0017327798, 0.0387083925, -0.0182722844, -0.0147018302, 0.0038859623, 0.0799052119, -0.0250976346, 0.0062976875, -0.0304175317, 0.0242073443, 0.0696671084, 0.0076596765, 0.0624841526, -0.0603269115, -0.0352379493, 0.0219110791, 0.008631113, 0.0598755255, -0.0110787386, 0.0479029305, 0.0309907123, -0.0563585274, -0.0025761502, 0.0008323949, 0.0211589094, -0.0459722877, 0.0453909822, 0.0032865356, -0.0053767045, 0.029935563, 0.0065217922, 0.0305163469, 0.0044927085, -0.0165895093, -0.0566556379, -0.0422207564, 0.0487102829, -0.0312034804, -0.0140974615, -0.0044787782, 0.0652199313, 0.0097106555, -0.017721111, 0.0344206803, 0.0190164223, 2.197e-7, 0.031959042, 0.0084784105, 0.0071311137, 0.0093362629, 0.0165419802, 0.0132437525, -0.0234467927, -0.0014994575, 0.0024451779, -0.0160933323, -0.0550799072, -0.0341119356, 0.0914444551, 0.024192201, -0.0842666551, -0.0089418553, 0.0176732969, 0.0357882828, -0.0215436798, 0.0075396928, 0.0322716348, 0.1099314764, -0.0100341858, 0.0155883124, -0.0095632123, -0.0296911057, -0.0100848638, -0.0021187791, 0.013788606, 0.0407305658, -0.0058365059, 0.0172819421, -0.0118000917, 0.0139385369, -0.0168399345, -0.0088974033, 0.0211705603, 0.0294554308, -0.0058592241, 0.0295387618, -0.0178878829, -0.0095014824, -0.0130573595, -0.0252701379, 0.0484619699, 0.0435007252, 0.028960418, -0.0088237859, 0.0029584633, -0.0003031332, -0.0266404692, 0.0004135121, -0.0713908225, 0.0700171739, 0.0197734926, -0.0157630257, -0.0205598287, -0.0719494671, -0.0221203975, 0.0027396216, -0.0110069094, -0.0193674397, 0.0221430268, -0.0271597113, 0.037321046, -0.0541488938, 0.0367849693, 1.829610006e-34, 0.0012156981, -0.0187397581, -0.0328198932, 0.0448432602, 0.0276397765, -0.019748807, -0.0681959912, 0.0444257632, -0.0259801894, -0.0173126515, 0.0165227447 ]
http://arxiv.org/abs/2402.01495v1
http://arxiv.org/pdf/2402.01495v1
A Comparative Analysis of Conversational Large Language Models in Knowledge-Based Text Generation
2024-02-02T15:26:39
2024-02-02T15:26:39
Phillip Schneider, Manuel Klettner, Elena Simperl, Florian Matthes
cs.CL
cs.CL
Generating natural language text from graph-structured data is essential for conversational information seeking. Semantic triples derived from knowledge graphs can serve as a valuable source for grounding responses from conversational agents by providing a factual basis for the information they communicate. This is especially relevant in the context of large language models, which offer great potential for conversational interaction but are prone to hallucinating, omitting, or producing conflicting information. In this study, we conduct an empirical analysis of conversational large language models in generating natural language text from semantic triples. We compare four large language models of varying sizes with different prompting techniques. Through a series of benchmark experiments on the WebNLG dataset, we analyze the models' performance and identify the most common issues in the generated predictions. Our findings show that the capabilities of large language models in triple verbalization can be significantly improved through few-shot prompting, post-processing, and efficient fine-tuning techniques, particularly for smaller models that exhibit lower zero-shot performance.
A Comparative Analysis of Conversational Large Language Models in Knowledge-Based Text Generation: Generating natural language text from graph-structured data is essential for conversational information seeking. Semantic triples derived from knowledge graphs can serve as a valuable source for grounding responses from conversational agents by providing a factual basis for the information they communicate. This is especially relevant in the context of large language models, which offer great potential for conversational interaction but are prone to hallucinating, omitting, or producing conflicting information. In this study, we conduct an empirical analysis of conversational large language models in generating natural language text from semantic triples. We compare four large language models of varying sizes with different prompting techniques. Through a series of benchmark experiments on the WebNLG dataset, we analyze the models' performance and identify the most common issues in the generated predictions. Our findings show that the capabilities of large language models in triple verbalization can be significantly improved through few-shot prompting, post-processing, and efficient fine-tuning techniques, particularly for smaller models that exhibit lower zero-shot performance.
[ 0.0734867677, -0.0008997399, 0.0142087406, 0.0380366817, -0.0426537134, -0.0089468807, 0.0216158442, 0.002067653, 0.0218633711, -0.0953990668, 0.0023495746, -0.0331753008, 0.0093864799, 0.0446684584, 0.0235607233, -0.0297199599, 0.0175447371, -0.0416963212, 0.0188564379, -0.0008109068, 0.0181321129, 0.0262211841, 0.0069631403, 0.0369970649, -0.0173395462, 0.0091873137, -0.0283275153, 0.0219317302, -0.0287727714, -0.0416248813, -0.020233443, 0.0433131456, 0.0191450194, 0.0213030484, 0.0000018022, -0.0548605509, -0.0032015459, -0.0070036068, -0.0009240163, 0.0004899651, 0.0328371152, -0.013349032, 0.0200801287, 0.0136779463, -0.0591129586, -0.0100476472, 0.0284416378, 0.060334526, 0.0392330885, 0.071296826, -0.0230835211, -0.0186169371, -0.0099667981, -0.0111724911, 0.0428956412, -0.021754887, 0.0287016537, 0.0707768202, 0.0283083972, 0.0085369181, 0.0182609595, 0.0167273469, -0.0218126569, -0.0356541052, 0.0404288098, 0.0421705768, -0.0274892729, -0.0384203009, -0.0092214812, 0.1045573503, 0.0263925008, 0.0035596576, 0.0003135006, -0.0044745458, 0.0190754067, -0.0056832936, -0.0505261458, 0.0632680431, -0.0161935464, -0.0135154398, -0.0234506968, -0.0055067521, 0.0278556123, 0.0081293555, -0.0282677431, 0.0656920001, 0.0172522329, -0.0101014106, -0.0095500993, -0.0088164052, -0.025360018, -0.0964880064, -0.0103908889, 0.0347106494, -0.0483066775, 0.0257227477, -0.0600166135, 0.0179142486, 0.0127632106, -0.0120861391, 0.016182797, 0.0313226767, 0.0255506262, 0.0286398996, -0.0145340953, 0.0408406034, -0.0019231706, -0.0213940199, -0.0290728472, -0.003785758, -0.0280097462, -0.0141016701, -0.0401496738, 0.0690106377, -0.0528544821, -0.0654518753, -0.0315069556, 0.0457587652, 0.0159606785, 0.0395936705, 0.0257630944, 0.0265785363, -0.0235764738, -0.0014070442, -0.0187225901, 0.0226055048, -0.0223727375, 0.0112006152, 0.0503187366, -0.0690049604, 0.0251832921, 0.0234315079, 0.0451702923, -0.0099997669, -0.0156795066, 0.0694947839, -0.0056049735, -0.0339629315, -0.0184298903, -0.0750777796, -0.0313932933, -0.0773611069, -0.0038667228, -0.0597140267, 0.0543712825, 0.0267155934, -0.0262216628, -0.0240348708, 0.0405645445, 0.0141414823, -0.0480371416, 0.0392855145, -0.0634771436, 0.0085108057, -0.0041787266, -0.0001425693, -0.0128512783, 0.0479462557, 0.0467764884, 0.038760718, 0.0550126284, 0.0049240435, -0.0282270256, 0.0236227997, 0.0027716982, 0.0146778487, -0.0066934386, 0.0084135504, -0.004952882, 0.0686796978, 0.0022612624, 0.0856417343, -0.0513839722, 0.0369434468, 0.0793520957, 0.0266639031, 0.0076690707, 0.0139282569, 0.0873993635, 0.0307973735, 0.0008482224, 0.0045627775, -0.0291533396, 0.0028684414, -0.0312239118, 0.0519137792, 0.0285194479, 0.0311739091, -0.0183316879, -0.032723289, 0.0094750663, -0.0040698233, 0.0330047123, -0.0168451611, 0.0354135595, 0.0272504222, -0.0735429004, 0.0125540802, 0.0459688418, -0.0682509318, 0.0158303957, -0.0288645551, 0.0333444811, 0.1040528938, 0.0481996536, 0.0456623733, -0.0351888165, 0.0110445069, 0.0270224772, 0.0368821993, 0.0436468832, -0.0123630287, -0.0141438693, -0.045134455, -0.0101533029, -0.0301885717, -0.0084570795, 0.0293901004, 0.0201749112, -0.0024192806, 0.0377023555, -0.0134488055, -0.00678638, -0.0022161433, -0.0412979424, 0.0287205745, 0.0072874753, -0.0194572136, -0.0166013725, 0.0271573961, -0.0223782305, 0.0289096721, 0.0139367646, -0.008964465, -0.0212326441, 0.0215967111, -0.0292868279, -0.0655043349, 0.0244400203, 0.0136009175, 0.0274486858, -0.0451463833, -0.0102092233, -0.0533964001, 0.0016436465, -0.0285990108, 0.0593065284, -0.0112911705, 0.0149528701, 0.0578960665, -0.0092649013, -0.0144234225, 0.0650709048, 0.0206857286, 0.0016104796, 0.0344879888, 0.0201800447, -0.0137766795, -0.0494725704, 0.0159375928, 0.045907937, 0.0045623211, -0.0046194158, 0.0315983146, 0.0122386236, -0.0456743874, -0.0245929305, -0.1166732833, 0.02048425, -0.0033063928, -0.0055194553, 0.0163915213, 0.0252918173, 0.0108159371, 0.0202748161, -0.0839176103, 0.0373959951, 0.0326869823, 0.0197611284, 0.0299901813, 0.0244690888, -0.0353978574, -0.0189021546, 0.0016009574, -0.0011404516, 0.0838099793, 0.0532104857, -0.0395430773, -0.0372027494, 0.0709016845, -0.0902126357, 0.0164235309, -0.0111185238, -0.0134141194, 0.0086341687, -0.0250033438, 0.0512689129, 0.0345663466, 0.0190977622, 0.0374174342, 0.0265512094, -0.0320355147, -0.0406018794, -0.0092052864, -0.037765678, 0.0003760218, -0.0375024974, -0.0249011628, -0.0077714999, 0.0149712712, 0.0377607942, 0.0188467093, -0.0562526695, 0.0308831222, 0.023419654, -0.0262779612, -0.0199786704, -0.0101754209, -0.0073197284, 0.0376855731, -0.0180539936, -0.0046731727, 0.0380291492, -0.0601224825, -0.0085671283, 0.0152915725, 0.0133323697, -0.0368875526, 0.0465500988, 0.0043696957, 0.048715543, -0.0229511857, -0.0129566379, -0.0274549611, -0.0228072796, 0.0331113562, -0.0311742928, 0.0138477562, -0.0394041575, 0.0228122491, 0.0139742289, -0.0367801227, -0.0302812122, -0.0234533735, -0.042744305, 0.023867324, 0.0444953442, -0.0478156321, -0.0143366521, 0.0181227773, 0.0265304931, 0.0306798909, -0.0290381107, -0.0309761018, -0.0512025915, 0.0503129251, 0.0626503527, -0.0038578804, 0.0100919874, -0.0235848725, 0.0576932319, 0.0564657263, 0.0066968105, 0.0165266357, -0.0315427147, -0.0127443401, -0.0004648473, -0.0193517487, -0.0352593809, 0.0344479159, 0.0348461457, -0.0305101182, 0.0011929685, 0.1303432882, 0.0161953606, -0.0079296129, 0.0120920381, 0.0154176475, 0.0465222262, 0.0108496211, 0.0077778581, -0.1047562584, -0.0304827504, 0.0038077072, 0.0012495406, -0.0035037224, -0.0578091443, -0.0346170999, -0.1382638812, 0.0272799581, 0.013529636, 0.0086885104, -0.0253723282, -0.0086232061, -0.0204482879, 0.0245432574, -0.014365253, -0.0022766546, -0.0265994798, 0.0080554765, 0.0077337227, -0.0069122403, -0.0521981381, 0.0241195299, -0.0184997525, 0.0396213681, 0.0320433863, 0.0307779144, 0.020969145, 0.0103160255, 0.0198186934, 0.0422857068, 0.008534682, -0.0113729946, 0.0147018926, -0.0236341599, 0.0042758817, -0.0457287095, 0.0274951309, -0.0066087078, -0.0100698993, -0.0052503599, 0.0044402573, -0.0379959196, -0.0279295351, 0.0160762649, 0.0541793033, 0.0237458535, 0.0769805685, 0.0386872031, -0.0269472674, -0.0403426699, -0.017385859, -0.0074723042, -0.0542052537, -0.0141664408, 0.0379590318, 0.0077559398, -0.0091064163, -0.0723682493, -0.0532273464, 0.0391415842, 0.0338496193, 0.0081712427, 0.0032543181, 0.0365316086, 0.0012884906, -0.0003509639, 0.0001167271, -0.0284218211, 0.0086043598, -0.033286605, -0.0005440583, 0.02612889, -0.0585051961, -0.0051608151, 0.0010786082, -0.0856921747, -0.0863416195, -0.0368596204, 0.0391225554, 0.0274832398, 0.0577683635, 0.0037868856, -0.0327316411, 0.004352231, 0.0566020049, -0.0368997864, 0.0324463323, -0.0214087237, 0.0524630621, 0.0058233081, 0.0445318036, -0.0450140946, 0.0070286402, -0.0319891758, 0.062676765, -0.0269150604, -0.0562905073, 0.0167324636, 0.0681844056, -0.0299058799, -0.0092649115, 0.0227123182, -0.0255883727, -0.0057291295, -0.074912563, -0.0364008546, -0.0865108669, -0.0037707367, -0.0005703989, -0.0099402713, 0.0127339959, -0.0252447687, -0.0171032492, 0.0294404589, -0.0174606834, -0.0387879424, -0.0252959803, -0.0326835364, 0.0765150264, -0.0402047746, -0.051612705, 0.051225923, -0.0144152846, 0.0053206054, -0.0242857616, 0.0617026873, 0.0180729199, -0.0516357459, -0.026442552, 0.0197194982, -0.036846526, -0.043343652, -0.0124176051, 0.0187415369, 0.0417932421, 0.0286964811, 0.0822015777, -0.0561962053, 0.0106319366, -0.0250221286, 0.0692312196, 0.0153690251, -0.0696023777, 0.0530932322, -0.009463313, -0.0282415841, -0.0011411788, 0.0841256231, 0.0467124172, 0.0356971286, 0.0327967033, -0.0282551739, -0.0472541973, -0.0381454565, 0.0000425272, 0.0230217092, -0.0007238798, -0.0064295488, -0.0687704086, -0.046573285, -0.0187975653, -0.0121244518, -0.0126381936, -0.009052949, 0.0449954718, 0.0648261756, 0.0115229618, -0.0134726148, -0.055787582, 0.0081188101, -0.0541577786, -0.0028192201, -0.0223795325, -6.301916316e-33, -0.0331346765, -0.0689505264, 0.0407079756, -0.0105218338, -0.0485150069, -0.0139183011, -0.0505243987, 0.0107220039, -0.0132000446, 0.0106003573, -0.0050272522, 0.0012771328, 0.0080211833, 0.0405970514, -0.0370762013, -0.009527198, 0.0454919226, -0.0127449855, -0.0379642397, 0.0558121391, 0.0608424731, 0.0176845584, 0.0188776888, -0.0490534492, 0.0254638847, -0.0460806303, -0.031890966, 0.0162778217, 0.0181762595, 0.0381170027, -0.0174512807, 0.0414497815, 0.0138024734, -0.0026399042, -0.0146701075, 0.0174618084, -0.0363222845, -0.0114325499, 0.0423755124, -0.0010515209, -0.0477085747, -0.0302541275, 0.008919918, -0.0239448734, 0.0043818047, -0.0177895688, 0.0145911062, -0.017451765, -0.0677155182, -0.0592742823, -0.0510202572, 0.0285753198, -0.0028207854, -0.024868777, -0.0082081985, 0.0456028283, 0.0012205086, -0.0068722242, -0.0318471044, 0.0611172654, 0.0061391122, 0.0030006794, 0.0405838974, 0.0256290808, 0.0126941679, 0.0725568458, 0.0125501119, 0.0360578634, -0.0320990048, 0.0015833963, -0.0144006191, 0.0723120272, -0.0200511236, 0.0631575063, -0.0263457317, 0.0112307183, -0.0649992824, -0.0233961977, -0.0194450822, -0.0061212778, 0.0226414558, -0.0471236631, -0.041524142, -0.0378091559, -0.0539595298, 0.0047146613, -0.0360660404, -0.0382416919, 0.0332567431, 0.0089938417, 0.0047920342, -0.0060320566, 0.0361607261, -0.0336008966, -0.026460804, 0.0660898685, -0.0543573685, 0.02955167, -0.033061076, 0.0106823985, -0.0510893613, -0.0424084067, 0.023426624, 0.0013718603, -0.0094675785, 0.0526384562, -0.0072016227, 0.0033274046, -0.0473135784, -0.0030949579, -0.0412510931, 0.0077566053, -0.0157371517, -0.02275162, 0.0318274796, 0.0025177491, -0.0398913771, 0.0647084042, 0.0073187989, -0.0008547797, -0.0016777328, -0.0328748748, 0.018396413, 0.0246505421, -0.0268320162, 0.0149770966, -0.0501529314, -0.0114466343, 0.0608380549, -0.0228549968, -0.0149234822, -0.0078917304, 2.678e-7, 0.0066113616, 0.0606857799, 0.0046585859, 0.0413663834, 0.012502973, 0.0356215835, 0.028038606, 0.0214553028, 0.0192397088, -0.0227347929, 0.0088904798, 0.0290494841, 0.0122424709, 0.0098495726, -0.0721526071, -0.0023333237, -0.0809831172, -0.0386804901, -0.0623718202, -0.0188120082, 0.0748387948, 0.0491956249, 0.0063120546, 0.0058137188, -0.0066775554, -0.0755846873, 0.0705565065, -0.0209248457, -0.0448748544, 0.0488101169, 0.057362061, -0.0023095603, -0.0165885203, 0.0340499803, 0.0059704776, -0.0098296562, 0.0026638242, 0.0560113117, 0.0129628228, 0.0178324226, 0.0239412896, -0.0274685901, -0.0094298543, -0.0333408788, 0.0654750839, -0.0702401176, -0.0161515996, 0.0174764674, -0.0032075578, -0.0327099152, -0.0342680514, -0.0504242517, 0.0015247681, 0.0153805064, 0.0049546189, 0.0135006867, 0.0078501189, -0.0247151125, -0.0122270202, -0.0109825619, -0.0318026431, -0.0806317031, -0.0348438099, -0.0265002009, 0.0241549164, -0.0569879077, 0.0030423542, 2.615286668e-34, 0.0502677895, -0.0040923632, 0.00988991, -0.0137716467, 0.0586608723, 0.0007053483, 0.0419459194, 0.0049024723, 0.0231058747, -0.1208257526, -0.0174738709 ]
http://arxiv.org/abs/2402.01469v1
http://arxiv.org/pdf/2402.01469v1
AMOR: A Recipe for Building Adaptable Modular Knowledge Agents Through Process Feedback
2024-02-02T14:56:48
2024-02-02T14:56:48
Jian Guan, Wei Wu, Zujie Wen, Peng Xu, Hongning Wang, Minlie Huang
cs.CL
cs.CL
The notable success of large language models (LLMs) has sparked an upsurge in building language agents to complete various complex tasks. We present AMOR, an agent framework based on open-source LLMs, which reasons with external knowledge bases and adapts to specific domains through human supervision to the reasoning process. AMOR builds reasoning logic over a finite state machine (FSM) that solves problems through autonomous executions and transitions over disentangled modules. This allows humans to provide direct feedback to the individual modules, and thus naturally forms process supervision. Based on this reasoning and feedback framework, we develop AMOR through two-stage fine-tuning: warm-up and adaptation. The former fine-tunes the LLM with examples automatically constructed from various public datasets and enables AMOR to generalize across different knowledge environments, while the latter tailors AMOR to specific domains using process feedback. Extensive experiments across multiple domains demonstrate the advantage of AMOR to strong baselines, thanks to its FSM-based reasoning and process feedback mechanism.
AMOR: A Recipe for Building Adaptable Modular Knowledge Agents Through Process Feedback: The notable success of large language models (LLMs) has sparked an upsurge in building language agents to complete various complex tasks. We present AMOR, an agent framework based on open-source LLMs, which reasons with external knowledge bases and adapts to specific domains through human supervision to the reasoning process. AMOR builds reasoning logic over a finite state machine (FSM) that solves problems through autonomous executions and transitions over disentangled modules. This allows humans to provide direct feedback to the individual modules, and thus naturally forms process supervision. Based on this reasoning and feedback framework, we develop AMOR through two-stage fine-tuning: warm-up and adaptation. The former fine-tunes the LLM with examples automatically constructed from various public datasets and enables AMOR to generalize across different knowledge environments, while the latter tailors AMOR to specific domains using process feedback. Extensive experiments across multiple domains demonstrate the advantage of AMOR to strong baselines, thanks to its FSM-based reasoning and process feedback mechanism.
[ 0.0343669727, 0.0537111349, -0.0318286568, 0.0240010973, -0.0384437889, 0.0153870182, -0.0055585378, -0.0238521043, 0.0494167693, -0.0080211451, 0.0056683365, 0.0082424851, -0.0172004458, 0.0557499677, -0.0051937965, -0.0446358919, 0.0442266539, -0.0690019652, 0.0074227857, -0.023165442, -0.0109778158, -0.0035034975, -0.018350631, 0.008925315, 0.0198637303, 0.0218881927, -0.0523302667, -0.0189348031, 0.014809127, -0.0113669634, -0.0230859239, 0.0208025593, 0.0476916283, 0.0195765328, 0.0000021943, -0.0545130074, 0.0201379601, 0.0018912401, -0.0316426717, -0.0498818457, -0.0211938117, -0.0107889604, -0.0032247438, 0.0276725683, -0.0479301363, -0.0039049096, 0.0273446981, 0.0205247272, 0.0783654451, 0.0784484744, -0.0050017955, -0.0370986313, 0.0136059597, -0.0011350939, -0.0008227737, -0.0331705809, 0.0350407586, 0.0158323273, 0.0482582189, -0.0184716582, -0.0299019851, 0.0089421859, 0.040303003, -0.0254639015, -0.0274116173, 0.03557574, 0.0043344353, -0.043135222, -0.0065777348, 0.0808674321, 0.048954647, -0.0123918727, 0.0172421858, 0.0037939672, -0.0057042209, 0.0133081479, -0.0442045927, 0.0432237945, 0.0064802798, 0.0213322211, 0.0322107524, -0.0232188459, 0.0129734017, 0.0335970595, -0.0643759295, 0.1142170578, 0.0078951847, -0.0188292135, -0.0045800931, 0.0093296766, 0.0136692524, -0.0629633442, 0.0047755544, 0.0802052394, -0.0509413853, 0.04983031, -0.0364124067, -0.0261937752, -0.0251051653, -0.0424250551, -0.0061592972, 0.0560786128, 0.0237291567, 0.0730663314, -0.0364313573, 0.0407511108, 0.0006888642, 0.0549520217, -0.014400376, -0.0447732136, -0.1152695939, 0.0233047791, -0.0026785254, 0.0401571207, -0.0114694564, 0.0026081924, 0.0000681732, 0.0785359517, -0.0369922966, 0.0747460946, -0.0056209532, -0.0094798403, -0.0063551953, -0.0372945704, -0.0918075442, 0.0607616305, -0.0487729087, 0.0178766884, 0.011932889, -0.0052850167, -0.0031145676, 0.0139394859, -0.0031830522, -0.0013802424, 0.0184620637, 0.1006566882, -0.0070379619, -0.0090824133, -0.0165879931, -0.044502493, 0.0330881961, -0.0779570714, -0.0036561023, -0.0414614975, 0.0598893799, 0.0122050606, -0.0244246274, -0.0451799929, 0.010779609, -0.0087786652, -0.0314881355, 0.0630446076, -0.0361660346, 0.0207407828, -0.0140548898, 0.0206778776, 0.0127574299, 0.0695097074, 0.0322373658, 0.0328627378, 0.0228309892, 0.0175092295, 0.0170880668, 0.0115609756, 0.0055067302, 0.031955108, -0.0113417739, 0.039079383, -0.0327770673, 0.0339023136, -0.0001573546, 0.0265815482, 0.000077973, 0.0305070281, 0.053833548, 0.0240892116, -0.0002099319, 0.0236965939, 0.0131049193, 0.034029074, -0.0143852476, -0.0423284285, -0.0467250571, 0.0697140619, -0.0248736329, 0.0204225853, -0.0411700979, 0.0254184939, -0.0454393774, -0.0394161493, 0.0087028779, -0.0011645068, 0.0408920683, 0.0438142456, 0.0805069208, 0.017672874, -0.0518256202, 0.0211288258, 0.0293912906, -0.030326765, 0.0113880662, -0.0796913579, 0.0615074784, 0.1090017334, 0.0547795221, -0.028940497, -0.0365881845, -0.0024123599, -0.0094928779, 0.0645279139, 0.0042392449, -0.0139595252, 0.0041088141, -0.0328815393, -0.0470803566, 0.0029241401, -0.0117404796, 0.0265944414, 0.0219375808, -0.0063430839, -0.0242467579, 0.0044296985, 0.0121546844, 0.0315818675, -0.0462037139, 0.0124787306, -0.0126839047, 0.0067993784, 0.0414299071, 0.0149375228, 0.0120125515, -0.0055163219, 0.0401328132, -0.0137112252, -0.049869258, 0.0262361113, 0.0096864831, -0.0161417462, 0.0303992666, -0.0161481798, 0.0002745614, -0.031078659, -0.0537934266, -0.0684076026, 0.0851314887, -0.0077105779, 0.0302215926, -0.0134948725, -0.0113170044, -0.0204604827, -0.0060849548, -0.0164212938, 0.0405235998, 0.0094553418, -0.0502691492, 0.0100545436, -0.0067017358, 0.0019970832, 0.0252155866, 0.0062784352, 0.0442670435, 0.0180275403, 0.0231005233, 0.0272178762, 0.0055370289, -0.0422693603, -0.057973478, -0.0941186398, -0.0187258162, 0.004738817, -0.0062468648, 0.0166230649, 0.0054583238, 0.0030160961, -0.0067652413, 0.005010549, 0.0274103973, 0.0158478096, 0.0195934456, 0.0224177651, 0.0256547723, -0.0652204901, -0.0291829538, 0.0051601394, -0.0081630787, -0.0084705902, -0.0061920858, 0.0232281517, -0.0942768902, 0.0136961956, -0.0533211082, 0.0537191965, -0.0161104687, -0.0274885427, 0.0353514589, -0.0311650299, 0.0106015084, 0.0494394638, -0.0269904491, 0.0268119462, 0.0874772519, -0.0329535939, -0.0397569463, 0.0371008664, -0.0386347622, 0.010885166, -0.0561687164, 0.0021593133, -0.000814632, 0.0775797591, -0.0056917034, 0.0043062409, -0.0719652101, -0.0083764819, 0.01618471, -0.0092863915, -0.0009857243, -0.0251941979, -0.0013095295, 0.0488957837, -0.0041004135, -0.0082120514, 0.1096252725, -0.0055952538, -0.0117757972, -0.0066058356, -0.026111152, -0.0346399806, 0.0934925973, -0.0074819336, -0.0164466221, -0.0228830855, 0.0112343188, -0.0463479795, -0.03291291, 0.0460543893, -0.004333633, 0.0420176014, -0.0943553671, 0.0110828774, 0.0182050541, 0.0001919069, -0.043988362, 0.0234727412, -0.0605608784, 0.0240229238, -0.0355465375, -0.0298226383, -0.0459932797, -0.0099738576, 0.048823677, 0.0092371516, 0.0022361851, -0.0081615262, -0.0607221685, -0.0559244752, 0.0239386056, 0.0236903504, -0.0141085144, -0.0594403483, 0.0699380189, 0.0157662407, 0.0193514563, -0.0506798178, -0.0373660959, -0.0038337787, 0.0224879086, -0.0221047718, 0.018047696, 0.0150020085, 0.0522301085, -0.0669497401, -0.0088872872, 0.119109273, -0.0045468649, -0.0244465601, -0.0038715864, -0.0213737004, 0.0229570121, 0.0434014499, 0.0685057715, -0.0765493736, -0.0262310263, 0.0200390555, 0.0135013964, 0.0128010781, -0.0469511412, 0.0033164958, -0.0912004337, 0.0304301865, 0.0042731422, -0.0114008328, -0.0643033162, -0.0398083702, 0.0271705687, -0.0041312496, -0.0193715915, 0.0241743773, 0.0172291696, -0.0193206295, -0.0221975036, 0.0219145603, -0.0390772372, 0.0307347178, -0.0178340506, 0.0627412051, 0.0524390675, 0.0038353223, 0.0033960233, -0.0611093119, -0.0053416481, -0.0200249702, 0.0004719243, -0.0122250477, -0.0059449696, 0.0197421126, -0.0133798718, -0.0256845094, 0.0275089256, -0.0464646593, -0.0294475984, 0.0147417868, 0.1137044057, -0.0447422341, -0.0383262634, -0.0277955886, -0.0266158171, -0.0055410592, 0.0606765635, -0.0159817748, -0.0429948717, -0.0397917815, -0.016103534, -0.0534790903, -0.019027587, -0.0174970031, -0.0032463744, -0.0342441164, 0.0042466903, -0.0456630439, -0.0082779052, 0.0698209628, 0.015139835, 0.0404182561, -0.0199001543, 0.0598922595, 0.0153288255, -0.01200746, 0.0020484091, -0.0400757752, 0.0330781788, -0.0209588166, -0.0372723527, -0.0013104404, -0.0399258845, 0.0057147811, -0.0065833516, -0.0480328649, -0.0651854649, 0.0023589968, 0.0452119187, 0.0274976306, 0.0563838296, -0.025354879, -0.0359635465, 0.0332813561, -0.0249158032, -0.063792944, -0.022732025, 0.0190262124, 0.0167354643, 0.0036053478, 0.0413125493, -0.0584111363, 0.0020234727, -0.0076069408, 0.0302012097, -0.0295247845, -0.0176978018, 0.0142068285, -0.004648827, -0.0143757975, -0.0137037635, -0.0310814269, -0.0372918472, 0.0252837054, -0.0152278431, -0.0029521117, -0.0540584102, 0.0087704612, -0.0114261396, -0.0323366262, 0.0607762821, -0.0050277445, -0.0039458806, 0.0119526982, 0.0483708382, 0.0018542439, -0.0356878564, 0.0544989854, 0.0233699605, 0.0263465401, 0.0001704248, 0.0422677025, -0.0011937616, 0.0487171523, -0.0269520022, 0.0619119368, 0.035895016, -0.0023958741, -0.0403014645, 0.0089995684, -0.063190788, -0.0688281655, 0.0277676787, 0.0469178818, 0.0510132909, 0.0447239056, 0.0397232622, -0.0771518275, 0.022208767, 0.0326490402, 0.0747734532, -0.0143055376, -0.0330561176, 0.0026571029, 0.0405213386, 0.0118905464, -0.0154682556, 0.0479043089, -0.0112751843, 0.0402891897, -0.0181129649, -0.0011710782, -0.0479831956, -0.0436667763, -0.012620097, 0.0129249617, -0.0332298018, 0.0291671399, -0.0503493287, -0.0327344313, -0.0728484541, 0.0102901356, -0.0375834629, -0.0170152988, 0.0476411991, 0.0082571972, 0.0189674105, -0.0234910473, -0.0288249236, 0.0047075879, 0.0042593568, -0.0159773026, 0.003860147, -6.364664939e-33, -0.0566498898, 0.0021670377, 0.062699236, 0.0107960384, -0.036201857, -0.0623247996, -0.0798095837, 0.0025084924, -0.0004444595, 0.0198615603, -0.0051092114, 0.0073028905, 0.001862802, 0.0068317195, 0.0323018469, -0.0154835414, 0.0400915593, -0.0026317504, -0.0074611749, 0.0228925012, 0.0425085016, -0.0074817897, 0.045978073, -0.0593466163, 0.0193590205, 0.0136310393, -0.0129579669, 0.0459944941, -0.035577558, 0.0275778323, 0.0151848532, 0.0149290757, 0.0096564097, 0.0048800204, -0.0179140642, -0.0241876394, -0.0572078452, -0.0285554919, 0.0344940349, 0.0169525351, -0.049784001, -0.0191940255, 0.032955993, -0.0156870428, 0.0187543985, 0.0177452974, 0.0422117375, -0.0336532295, -0.0018028114, 0.0221922379, -0.0449865237, -0.0021361921, -0.0116693331, -0.0247234795, 0.014722297, 0.0226032939, 0.0061482526, -0.0527344011, -0.025449181, 0.0365722701, 0.029047925, -0.0053266785, 0.0636764541, 0.0084827011, 0.026305316, 0.0276431944, 0.0124933291, 0.0300163832, -0.0407546721, 0.0100522321, 0.0248763692, 0.0813100338, 0.0395779274, 0.0094519239, -0.0171333533, 0.0001820154, -0.0550907627, -0.0126870908, 0.0124524459, 0.1074174866, 0.0247688461, 0.0372653902, -0.0149465147, -0.0324185081, -0.0516678281, 0.0197134633, -0.0122589217, -0.0380620956, 0.0067000124, 0.0217319634, -0.0088199563, -0.0765348375, 0.0154937236, -0.0518810079, 0.0018596611, 0.0041403235, -0.0220261924, 0.0187159628, 0.0099170525, -0.0021686689, -0.0523755997, -0.0421307944, 0.014785829, -0.0487034954, 0.0041812938, 0.0355754569, -0.0321838669, 0.0540770777, -0.0229790863, -0.0098172147, -0.0810001418, 0.0287486389, -0.0010712545, 0.0040341388, -0.0233133845, 0.0340677686, -0.0292214639, 0.0295073986, -0.0394843705, -0.018448472, -0.0134241544, 0.0305697899, 0.0216747671, 0.0336809047, -0.0374395698, -0.0394502729, -0.0734223574, -0.0218281262, 0.0284354519, -0.0454192907, -0.0036394198, 0.0090238713, 3.035e-7, -0.0246350486, 0.0487336144, -0.0112316115, 0.035136342, 0.0437222533, 0.049154412, -0.056670256, 0.0011883893, -0.0266472585, -0.0278075207, 0.0123531371, 0.0524003953, 0.0358252302, 0.0327132493, -0.0594543703, -0.0108827353, 0.0287424065, -0.0241613872, -0.0502955541, -0.0097086625, 0.0274534505, 0.0455800891, 0.0805343464, -0.0014491447, 0.0306565519, -0.0371389464, 0.0416223891, -0.019266054, 0.0009204535, 0.0108897807, -0.0094963387, 0.0360709317, 0.0052666715, 0.0375364907, 0.0299455822, 0.0163628738, -0.0896594077, 0.0631481111, 0.0102361068, -0.0143870236, -0.0249257796, -0.0230886564, 0.0079838112, -0.0209083315, 0.0554025397, -0.061410334, -0.0328309275, 0.0096049206, 0.0079592057, -0.0199630149, -0.0661018789, 0.0048211319, -0.0119166877, -0.0116130188, 0.007156522, -0.0236941446, -0.0179928485, -0.0490820818, 0.0038794307, -0.0217215121, -0.050743904, -0.0393020362, -0.0189411901, -0.0155134248, -0.0026279476, -0.0348762907, 0.0146943014, 2.945018343e-34, 0.0275996458, 0.0132573629, -0.0219461136, 0.0373680517, 0.0475635268, -0.0124240341, -0.0542208739, 0.013989538, 0.0537765399, -0.0722673759, -0.032203868 ]
http://arxiv.org/abs/2402.01453v1
http://arxiv.org/pdf/2402.01453v1
The Queen of England is not England's Queen: On the Lack of Factual Coherency in PLMs
2024-02-02T14:42:09
2024-02-02T14:42:09
Paul Youssef, Jörg Schlötterer, Christin Seifert
cs.CL
cs.CL
Factual knowledge encoded in Pre-trained Language Models (PLMs) enriches their representations and justifies their use as knowledge bases. Previous work has focused on probing PLMs for factual knowledge by measuring how often they can correctly predict an object entity given a subject and a relation, and improving fact retrieval by optimizing the prompts used for querying PLMs. In this work, we consider a complementary aspect, namely the coherency of factual knowledge in PLMs, i.e., how often can PLMs predict the subject entity given its initial prediction of the object entity. This goes beyond evaluating how much PLMs know, and focuses on the internal state of knowledge inside them. Our results indicate that PLMs have low coherency using manually written, optimized and paraphrased prompts, but including an evidence paragraph leads to substantial improvement. This shows that PLMs fail to model inverse relations and need further enhancements to be able to handle retrieving facts from their parameters in a coherent manner, and to be considered as knowledge bases.
The Queen of England is not England's Queen: On the Lack of Factual Coherency in PLMs: Factual knowledge encoded in Pre-trained Language Models (PLMs) enriches their representations and justifies their use as knowledge bases. Previous work has focused on probing PLMs for factual knowledge by measuring how often they can correctly predict an object entity given a subject and a relation, and improving fact retrieval by optimizing the prompts used for querying PLMs. In this work, we consider a complementary aspect, namely the coherency of factual knowledge in PLMs, i.e., how often can PLMs predict the subject entity given its initial prediction of the object entity. This goes beyond evaluating how much PLMs know, and focuses on the internal state of knowledge inside them. Our results indicate that PLMs have low coherency using manually written, optimized and paraphrased prompts, but including an evidence paragraph leads to substantial improvement. This shows that PLMs fail to model inverse relations and need further enhancements to be able to handle retrieving facts from their parameters in a coherent manner, and to be considered as knowledge bases.
[ 0.0620701388, -0.0028472876, -0.0126864137, 0.0431064591, -0.0483566038, -0.0224329904, -0.0258694887, -0.0127832871, -0.0012850598, -0.0451853611, -0.0151610738, -0.0352880806, -0.0089440355, -0.0034039083, 0.0079634972, -0.0479517691, 0.0875640586, -0.019096829, 0.051662907, -0.0086413492, -0.0173486061, -0.0004494639, -0.014686049, 0.0126142995, -0.0501746647, -0.0175223406, -0.0222275537, -0.0039287154, -0.012076213, -0.0136435973, -0.0164304301, 0.0385299474, 0.0187027864, -0.0184552539, 0.0000020084, -0.0678887069, 0.0166145954, -0.036483936, -0.0589872114, 0.0231477879, -0.0005788745, 0.0117031075, 0.0255917925, -0.0021910989, -0.0362644643, -0.0223556198, 0.005935817, 0.0662366897, 0.059478201, 0.0924401358, 0.0036426377, 0.0033013572, -0.0009524035, -0.0290602557, -0.0091058332, -0.0437103845, 0.019279968, 0.0074816602, -0.0150990142, 0.0582446754, -0.0022135461, 0.0621851124, 0.0019595046, -0.0072660968, -0.0075840289, 0.046378769, -0.0168475285, -0.0438438877, 0.0031522152, 0.0444670692, 0.0164867248, -0.0043503819, 0.0022022843, -0.0057900823, 0.018749088, 0.0341935605, -0.0037342601, 0.0371524394, -0.0143448813, 0.0266358536, 0.013738215, 0.0011074477, 0.0314858109, 0.0272408947, -0.0360521786, 0.061636135, -0.0032783411, -0.0333233587, 0.00632125, 0.0192453302, -0.0141574359, -0.0461573005, 0.0096198432, 0.024412578, -0.0132096075, 0.0321187563, -0.04373594, 0.0125198662, 0.0182807352, -0.0817516744, 0.0120784305, 0.0295082163, -0.0820619166, 0.0683569089, -0.0228193216, 0.0456487983, 0.0123033132, 0.046797283, -0.0147667527, -0.0206148885, -0.0405812785, -0.0121739497, -0.0375886075, 0.0433323458, 0.0014682293, -0.0118184257, 0.0151238488, -0.0070003448, 0.0122644799, 0.0264161676, -0.022404192, 0.020298982, -0.0064764032, -0.0190145653, -0.0883413479, 0.0407663696, -0.0119562503, 0.0043825652, -0.0269219168, -0.0702391863, -0.0305599514, -0.0087692123, -0.0075818552, -0.0091103958, 0.0112922424, 0.0082425699, -0.0058786538, -0.0566419959, -0.0740859434, -0.0414265506, -0.0085031185, -0.0942963362, -0.0133479815, -0.0211892296, 0.0253419131, -0.0041831513, -0.008661964, -0.0433914959, 0.0253382139, 0.0428083353, -0.0562113449, 0.0359183513, -0.0277863108, 0.0363913216, 0.0224721376, 0.0300125238, 0.0114130145, 0.0682951957, 0.0062395763, 0.0144556696, 0.0440508574, 0.0114362258, -0.0037903285, -0.0023209266, 0.0474893041, -0.0505823754, 0.0156565495, 0.0279027075, -0.024607433, 0.0419368334, 0.0597624816, 0.0366954356, 0.0158713721, -0.0279761646, 0.0843573809, -0.0031013065, 0.007002343, 0.0113107124, 0.0781200528, -0.0040638992, 0.0526371486, 0.0599099025, -0.0874040499, -0.0132717388, -0.0207727849, 0.0432514325, -0.0192589201, 0.0484644733, -0.0371618681, -0.0474234745, -0.0076040849, -0.0081188334, -0.0590459406, 0.029836094, 0.0521133691, 0.0077156769, -0.0470114276, 0.0685906038, 0.0250071231, -0.0511258915, 0.0213500205, -0.0118193673, 0.0393491536, 0.072206296, 0.0198750589, -0.0409642942, -0.0369950347, 0.0213807449, 0.0337416716, 0.0296830982, 0.0544349849, 0.0025072664, 0.0550184362, 0.0044309078, 0.0108549213, -0.0093950406, 0.0308476202, -0.0026532034, 0.0059180376, -0.0010014855, 0.0343686454, -0.0052282657, 0.0129459836, 0.0521483161, -0.0304189194, 0.0063968198, -0.0125561003, 0.0024916646, -0.0001830477, 0.0448294394, -0.0103936261, 0.0276599806, 0.070475325, -0.0055602523, 0.0009366275, 0.0156420432, -0.0570225976, -0.0523734391, 0.0216736495, -0.0201414619, -0.0266273823, -0.0135912644, 0.0011437691, -0.0291848723, 0.0107961856, -0.0062444145, 0.0750821009, -0.0460923277, 0.0283917673, -0.0031827099, -0.0394642688, -0.0226663761, 0.0783789381, 0.0012365212, -0.0002745428, 0.0415286832, -0.003373655, -0.0026944347, -0.0359316655, -0.0300701335, -0.0001521181, 0.0334248766, -0.0149896489, 0.0177844875, -0.0391813666, -0.0396972373, -0.0058000442, -0.0953892693, -0.0032611093, -0.0177478306, -0.0236646309, 0.007295317, -0.026019711, -0.0299460404, -0.0355453901, -0.0037492118, -0.0126990881, -0.0072483616, 0.0151082315, 0.0349927619, 0.0176435597, 0.0106657017, -0.0356087275, 0.017291341, -0.0096242521, 0.0256957654, -0.0026307278, 0.0123057086, -0.0465145186, 0.0816093683, -0.0453475043, -0.0068084449, -0.030617075, -0.0046851039, -0.0019865828, -0.0099886646, 0.0546905585, 0.0448880196, 0.0432947353, 0.0144116627, 0.0597783998, -0.0371848047, -0.0326578841, 0.0299439244, -0.0525085479, 0.0053754691, -0.0017815107, -0.0002095851, 0.0196626876, 0.0165402126, 0.0256534107, -0.018728707, -0.0522451177, 0.0209371317, -0.0004119901, -0.0263103377, -0.063312985, -0.0289738048, 0.0119625609, 0.0548439175, -0.021388853, -0.0511842668, 0.0709903017, -0.0638492033, 0.0180870127, 0.0018549666, -0.0138722248, -0.004014255, 0.0512728952, 0.0071595712, 0.0258633271, -0.002651047, -0.0135686044, -0.0374649726, -0.0062535657, 0.0189357996, -0.03252884, 0.0477897935, -0.0507085249, 0.0108519951, 0.0424562767, -0.0382079817, -0.0722730681, -0.094300665, -0.0301946159, -0.0066436213, -0.0283174589, 0.0128881857, -0.0182340275, 0.0039402777, 0.0358149521, 0.0209772009, -0.0031257614, -0.0157999545, -0.003162235, -0.033383023, 0.0385070741, 0.0490815528, 0.0096567506, -0.0171182882, -0.0038990672, 0.0065116868, -0.0294702202, -0.0276218727, 0.0199370869, -0.0013036472, 0.002948089, -0.0428817123, -0.0617118217, 0.0169392526, 0.0010035438, -0.0652290508, -0.0328360349, 0.148397103, 0.024006851, 0.0114221079, -0.0283281207, -0.0003729769, -0.0005685084, 0.0210982598, 0.0111461263, -0.0638671815, -0.0128474189, 0.0073522725, -0.0331033021, -0.0101575172, -0.0337364674, -0.0622118227, -0.1339486241, 0.016251687, -0.0359249599, 0.0065210061, -0.0627393201, -0.0247639567, -0.0133072529, -0.0039679841, 0.0099670105, 0.0364462808, -0.0280802473, 0.0179837346, -0.0023987265, -0.0376808904, -0.0516056195, -0.0084460676, -0.0594125874, 0.0495157167, 0.0658477396, 0.0156073691, -0.0000460408, -0.0403805189, -0.0270674527, -0.0005692911, 0.0198480953, -0.0031572159, 0.0646825433, -0.029481044, -0.0064732837, -0.0236096755, -0.0111374501, 0.0383796841, -0.023881413, 0.0224066004, 0.032614328, -0.04762052, -0.0241720751, 0.006368245, 0.0472811535, 0.0116828838, 0.1421079934, 0.0383590497, 0.024203198, -0.0045253607, 0.001554244, 0.0560786761, 0.0181297585, -0.0429210514, 0.0178203173, -0.0101840207, 0.0232743323, -0.0678554624, -0.0393010825, 0.0332473665, 0.0597327985, 0.0226568282, 0.0068546315, 0.0666297004, -0.0225750413, -0.0161788259, 0.0173341185, -0.0351694077, -0.034730494, -0.0805954933, -0.0093891453, 0.0343825258, -0.0477119498, -0.0064508212, -0.0248019863, -0.0193569679, -0.0580618903, 0.0652275831, 0.0604590066, 0.0283175409, 0.0258412901, -0.0199865121, -0.0237844754, 0.035276778, -0.0080331704, -0.0683417693, 0.0469472855, -0.0018998045, -0.02013712, -0.0152742798, 0.0467905924, -0.0122754639, 0.0169989932, -0.0188861974, 0.0246550962, 0.0069066244, -0.0725751743, 0.0331010856, 0.0183186438, 0.0929179788, -0.0013796737, 0.0118427044, -0.0550975613, 0.0063774129, -0.0522738621, -0.0204201676, -0.0174959246, 0.0117433723, -0.0123194167, -0.0031959976, -0.0315442793, -0.0246317834, -0.0598004796, 0.0438491739, 0.0055747642, -0.0473274216, 0.0137947677, -0.0008186228, 0.0091980593, -0.0195186175, 0.0062529566, 0.0463118516, -0.017914217, 0.0371812992, 0.0021843661, 0.0475258827, 0.018329259, -0.0105113098, -0.0215195529, -0.0009706799, -0.0852387771, -0.0234026834, 0.0194237828, 0.0447678901, 0.0620597452, -0.0794691369, 0.0424846411, -0.0326777957, 0.0086198682, -0.0015702089, 0.0252118502, 0.0580187179, -0.0318538658, 0.0408322923, 0.0064847227, -0.0336735845, 0.0271723475, 0.096021533, -0.0137325199, 0.0675609633, 0.0097350832, -0.0419819392, -0.0221376196, -0.0321367532, 0.0018659187, 0.0016561245, -0.0529052652, 0.016635634, -0.0932394862, -0.0411943644, 0.0333452187, 0.0024903892, -0.015551107, -0.0271421671, 0.02476044, 0.0899254456, 0.0284732506, -0.0273297932, -0.0340263769, 0.0305181965, 0.0081582135, 0.0063123265, -0.0275040604, -6.876364976e-33, -0.0884204432, -0.0124554504, 0.0334408395, -0.0000785268, -0.018804457, 0.0298188869, -0.0374505296, 0.0256220121, -0.0468916148, 0.0359967947, -0.0179496985, 0.0335940644, 0.0167169813, 0.0019125614, -0.0161117781, -0.0417222939, 0.0429259203, 0.0233578365, -0.0188485682, -0.0162664019, 0.0600626916, 0.0507215373, 0.0422160849, -0.0397756845, 0.0392386392, -0.0023385512, -0.0029512956, 0.0519869998, -0.0140675642, 0.008954566, 0.0020966106, 0.0480242185, 0.0133939944, -0.0372692496, -0.0216814261, 0.0331976041, -0.0897993073, -0.0708735436, 0.0948225185, -0.0199159123, 0.0146512371, -0.0103826215, 0.0225966182, -0.0104924198, 0.0144680347, 0.0152249867, 0.0371626504, 0.0022041649, 0.0210582018, -0.006558849, -0.0601604916, 0.0181839745, -0.0039857891, -0.006892391, 0.0150748463, -0.0150042931, 0.0180733725, -0.0190739464, -0.0702356324, 0.0194523092, -0.0006511887, 0.0464376211, 0.0291664023, -0.0030889297, 0.0041582361, 0.0707893819, -0.0058200536, 0.0159591008, -0.0882801414, 0.0462373868, 0.0570556521, 0.0315591916, 0.025564976, 0.0649522692, 0.0111106448, -0.0000253743, -0.0682590306, 0.000838156, -0.011013763, 0.0276216194, 0.004658706, -0.032803677, -0.0270176996, -0.0417340659, -0.0453038476, 0.0296113361, -0.0192604791, -0.0380125083, 0.0114223212, 0.0128662875, 0.0087586204, -0.0193705279, 0.0160847027, 0.0174416583, -0.0244608261, 0.0027781466, -0.0226614475, -0.0311509203, -0.0052801953, 0.0438279584, -0.069883883, -0.0052202181, 0.0255147405, 0.014690442, -0.0147550916, 0.0261812303, 0.0071015679, 0.0106901666, -0.0463150367, -0.0142341433, -0.0128371781, 0.0145499203, -0.0262090564, -0.0463145971, 0.0314250402, 0.0423359126, -0.0322791263, 0.0105017535, 0.0142249474, -0.0040278551, -0.0451350138, -0.0198174678, 0.0084612118, 0.0246120207, 0.0094358064, 0.004711749, -0.021158617, -0.0007236484, 0.0202875435, -0.0463087, 0.0013354575, 0.0217907038, 2.741e-7, 0.0586167499, 0.0448687077, 0.0316355862, 0.0256277695, -0.0566962138, 0.0238930546, -0.0422154106, 0.0042546066, 0.0230230317, -0.0770638734, -0.0019315217, 0.0516912676, 0.0069097909, 0.037525028, -0.1089382768, -0.0033625336, -0.0577319972, -0.0380677022, -0.0539355949, -0.0188279636, 0.0392749831, 0.0565259494, 0.0348705873, -0.0131803378, -0.0137660373, -0.0197582375, 0.0439957976, -0.0442707501, -0.0459523723, 0.0076911221, 0.0834180564, 0.0099661713, 0.0067713084, 0.0433265083, 0.0034658227, 0.0286527593, -0.0080546727, 0.0457788371, 0.0380846187, 0.0089545026, -0.0258865897, 0.0007518397, -0.0110063711, -0.0227615163, 0.0804390907, -0.0211221911, -0.0156983268, -0.0116865393, -0.004598781, 0.0050225384, 0.0387956649, 0.0086892098, -0.0379593782, 0.020939501, 0.018182056, -0.0042928434, 0.0077026682, -0.0693596527, -0.0548289418, 0.0079798298, -0.0275088418, -0.0249589253, -0.0146248806, -0.014497349, 0.0347344466, -0.0665552542, 0.0311743356, 2.364924738e-34, 0.0262120962, -0.0033376112, -0.0017572824, 0.0193513855, 0.0526522361, 0.006671268, 0.0050285347, 0.0050302399, -0.012995895, -0.0658827499, 0.0157296285 ]
http://arxiv.org/abs/2402.01427v2
http://arxiv.org/pdf/2402.01427v2
The effect of diversity on group decision-making
2024-02-02T14:15:01
2024-05-20T15:46:42
Georgi Karadzhov, Andreas Vlachos, Tom Stafford
cs.CL
cs.CL
We explore different aspects of cognitive diversity and its effect on the success of group deliberation. To evaluate this, we use 500 dialogues from small, online groups discussing the Wason Card Selection task - the DeliData corpus. Leveraging the corpus, we perform quantitative analysis evaluating three different measures of cognitive diversity. First, we analyse the effect of group size as a proxy measure for diversity. Second, we evaluate the effect of the size of the initial idea pool. Finally, we look into the content of the discussion by analysing discussed solutions, discussion patterns, and how conversational probing can improve those characteristics. Despite the reputation of groups for compounding bias, we show that small groups can, through dialogue, overcome intuitive biases and improve individual decision-making. Across a large sample and different operationalisations, we consistently find that greater cognitive diversity is associated with more successful group deliberation. Code and data used for the analysis are available in the repository: https://github.com/gkaradzhov/cognitive-diversity-groups-cogsci24.
The effect of diversity on group decision-making: We explore different aspects of cognitive diversity and its effect on the success of group deliberation. To evaluate this, we use 500 dialogues from small, online groups discussing the Wason Card Selection task - the DeliData corpus. Leveraging the corpus, we perform quantitative analysis evaluating three different measures of cognitive diversity. First, we analyse the effect of group size as a proxy measure for diversity. Second, we evaluate the effect of the size of the initial idea pool. Finally, we look into the content of the discussion by analysing discussed solutions, discussion patterns, and how conversational probing can improve those characteristics. Despite the reputation of groups for compounding bias, we show that small groups can, through dialogue, overcome intuitive biases and improve individual decision-making. Across a large sample and different operationalisations, we consistently find that greater cognitive diversity is associated with more successful group deliberation. Code and data used for the analysis are available in the repository: https://github.com/gkaradzhov/cognitive-diversity-groups-cogsci24.
[ 0.033924412, 0.04027538, -0.0376387872, -0.0188319813, -0.051284112, -0.0001997594, 0.0596818291, -0.0153454281, 0.0025535468, -0.0111411698, -0.029328052, -0.0280154385, 0.0472488441, 0.0022590938, 0.0091813691, -0.0264288858, 0.0116187483, -0.016253097, 0.0828635395, -0.0344617628, 0.0189607609, -0.0248415042, -0.0414043441, 0.0554569326, 0.0241807196, -0.012314165, -0.0339734517, -0.0333536454, 0.0534229949, -0.0056226435, 0.0069260797, 0.069864504, -0.0196904801, 0.0090580704, 0.0000022704, -0.0157899447, -0.024753537, -0.0336196274, 0.0161810033, -0.019808352, 0.002186887, 0.0937462375, -0.0061623338, 0.0277823508, -0.0318320058, 0.0275002085, 0.0163362902, 0.0051261531, 0.0046100393, -0.0075371661, 0.0074587031, 0.0028824359, -0.0655368343, -0.0097438339, -0.003731577, 0.0134742875, -0.0097584464, -0.0018932511, 0.0016283391, -0.000048572, 0.0103115607, -0.0306271836, -0.0424703173, -0.0254554562, -0.0115849106, 0.0250927191, -0.0363077521, -0.0472600758, 0.025078835, 0.0460876264, 0.0566013195, 0.0475358889, -0.0112797255, -0.0128894532, 0.0522902496, 0.0242136009, -0.0313429534, 0.0457565635, -0.0258137062, -0.0316830836, -0.0250833388, 0.053803999, -0.0276080519, 0.0104347216, -0.0041190162, 0.0643422976, -0.0205566417, 0.0131075969, -0.0165366959, 0.0066523599, -0.0210506022, -0.0497602709, -0.0180842858, -0.008094511, -0.0563434623, -0.0091858935, 0.0906673968, -0.0003466382, 0.0420556776, -0.0237817373, 0.0316784605, 0.0155526083, 0.0444129519, 0.0267745126, 0.0845451802, -0.0389411151, -0.0036473572, 0.01572733, 0.0039895396, -0.0044446001, -0.0603193305, 0.0080113094, -0.0009156448, 0.0494423248, -0.0184071586, -0.0007945249, -0.0056202705, -0.0066829878, -0.0540340953, -0.0130671719, -0.037507683, 0.03042938, 0.0289689284, 0.0004335462, -0.0601986721, 0.0358306766, -0.0452422015, 0.011366968, 0.0037468616, -0.0470789857, 0.0211257208, 0.0036633068, -0.006142172, -0.0284028258, 0.0026066848, 0.0018984098, -0.033962518, -0.0014097503, 0.0189408679, 0.0000397888, -0.0051599499, -0.0446213782, 0.0025186089, -0.0549640283, 0.0067129955, 0.0190711692, 0.0179845653, 0.0020693205, -0.0045672753, -0.0195552111, 0.0044616139, 0.0376020484, -0.0014781796, 0.0222301707, 0.1075905114, 0.0346313305, -0.0398540273, 0.0589366555, 0.0222678222, -0.0130917607, 0.0016971951, 0.0004734733, 0.0103911813, -0.0027651377, -0.0395152494, -0.0086706979, 0.0426367484, 0.0224647261, -0.0581167154, -0.0196177475, -0.0284546223, 0.0667736456, -0.0529233292, 0.0391261131, 0.0433717333, 0.0875552148, 0.031545043, 0.0335863978, -0.0803233981, 0.036827337, -0.016037548, -0.0412371494, 0.0317960717, 0.0561570674, 0.0417008586, -0.0199840311, 0.0975241065, 0.0260056816, -0.019221684, -0.0194925312, -0.0149957072, 0.0323603377, 0.0561769791, 0.0113952132, -0.0339176841, -0.0381383672, 0.0237773024, 0.0445216447, 0.0000586701, -0.0174376089, -0.0839928091, -0.0278511941, 0.0733138695, -0.006118631, 0.0271138027, -0.0083175115, -0.0340414196, -0.0481965467, -0.0219046008, 0.0256994348, 0.1027221233, -0.007577328, -0.0349067226, -0.0529783815, -0.0379053093, 0.034860231, -0.0027041971, 0.0758705586, 0.0312878601, 0.0131972469, -0.0453765802, 0.0630955771, 0.0106675662, 0.0023594769, 0.0379481465, 0.0546813756, -0.0337596387, 0.0130729191, 0.0706479326, 0.0180889815, -0.0353100002, 0.0132587738, -0.02437043, 0.0050583854, -0.0394000039, 0.0341984592, -0.0473234653, 0.034745086, 0.0156600568, -0.0849759653, -0.0112811057, -0.022239998, 0.0333893448, 0.0038983074, 0.0997891873, -0.0055760951, -0.0835071802, 0.0308742225, -0.0206424501, -0.0607406497, -0.023962969, -0.0238077771, 0.0586953126, 0.0030033407, -0.0098418649, 0.006181302, -0.0536987148, 0.0488080829, -0.0606356114, 0.0125739062, 0.0361735858, 0.0407847799, 0.0012264735, 0.0338868722, -0.0244162902, -0.0217935219, -0.0116835656, -0.0894800127, -0.0166512057, -0.0012388428, 0.0084244842, -0.0104709165, -0.0206617471, 0.0047659674, 0.0227702223, -0.0194338001, 0.008746976, 0.0104175396, 0.0451949127, 0.0185188223, 0.0182516612, 0.0186563693, -0.0026819129, -0.0037590973, 0.014867275, 0.0302228089, 0.0584811606, -0.0753085017, 0.0005687447, -0.031960655, -0.0659636706, -0.0240631718, -0.010384894, -0.0207994804, 0.077074036, 0.0197409261, 0.009213984, -0.0094014052, 0.0498905331, 0.0026329083, 0.0239258669, -0.0019205972, -0.0503393784, 0.0041381195, 0.0133278547, 0.0730174184, 0.0196242407, -0.0448817722, 0.0173642542, 0.050044626, 0.0088604819, 0.0155038731, -0.0321347974, 0.0478004254, -0.0354581699, -0.0333770439, -0.0527366176, -0.0931667387, -0.0040949457, 0.0399099551, -0.0235583168, 0.007216203, 0.0239555798, 0.067360796, 0.0103445994, -0.0612651035, 0.0100162691, -0.0821235254, 0.0394325554, -0.0589927956, -0.0102362474, 0.0338482521, -0.0175229292, -0.0620591044, -0.0456524901, 0.0585756339, -0.0428399704, 0.0838924348, -0.0178954415, -0.013188201, -0.0504809469, -0.0258783083, -0.0178714804, 0.0162710957, -0.0206310004, -0.0033266596, 0.1342477947, -0.0094482834, -0.0650281608, 0.0053402786, 0.053327512, -0.006621053, 0.0345182158, -0.0120123671, 0.0525918491, -0.0330050588, -0.0464655049, 0.0548564456, 0.0961645171, -0.0599534251, 0.041387789, 0.0551777557, 0.0051523498, -0.060702201, -0.0161959697, -0.0567114167, 0.0006745232, 0.0021881389, -0.0132062063, -0.0251124408, 0.054574877, 0.0184272025, 0.0242054164, 0.0338582061, 0.0209780149, -0.0630850121, -0.0234522074, -0.0640809983, 0.0374911092, 0.0212963708, -0.0135099571, -0.060353823, 0.0146642132, -0.0084343366, -0.0091006197, -0.0545618199, -0.0633884594, -0.0436018594, -0.0691043809, 0.0317305028, 0.0049254266, -0.0104785999, 0.0135114696, 0.0368803889, 0.03002817, -0.0209008623, 0.0030945977, 0.0094529931, 0.0325272083, 0.0320794359, 0.031567622, -0.1095129326, 0.0142956479, -0.0018429809, -0.0174066219, -0.0008484625, 0.0290872734, 0.0461208187, -0.0134416837, -0.0416421033, 0.0612390153, -0.0081317779, -0.006548875, 0.0121671362, 0.0383706391, 0.0070399409, 0.0266063716, -0.0029318088, -0.0058709304, 0.0155462828, -0.0298659038, 0.0248819515, -0.007114728, -0.0093388129, -0.0161143802, 0.0097723724, -0.0006323174, 0.0339298695, 0.0298617817, 0.0204486419, -0.0199948605, 0.0024874634, -0.0274506845, 0.0030548736, -0.0331087708, -0.0283805206, -0.0150729567, 0.0814983994, 0.041326236, -0.0181801654, -0.0184451398, 0.0162074398, -0.0050280676, -0.0271244384, 0.0030527702, -0.0246420968, 0.0530197471, 0.0206250697, 0.0147269936, 0.0378156193, -0.0127723804, -0.0369734652, -0.0604633801, -0.0809765682, 0.0146333911, -0.0086349417, 0.0091217514, -0.0427577011, -0.0296262223, 0.0244368985, 0.0033835229, 0.0319896154, -0.0401763953, 0.0168140177, -0.0376433358, 0.0275900569, 0.0296815298, 0.0266154949, -0.0127639705, 0.0011189563, 0.0604557618, 0.0026843981, -0.0102071371, 0.0438017063, 0.0233149026, 0.024625944, -0.0138862142, -0.0295449179, -0.0246419162, 0.0013921291, -0.024241142, -0.0253452286, -0.0264974553, 0.001572358, -0.0294499025, -0.0286569949, 0.0165203139, -0.012672117, -0.0014853526, -0.0779565573, -0.0027642676, -0.0676117763, 0.0141674094, 0.036808461, 0.0123007009, 0.0344187468, -0.0371221043, 0.0863560736, 0.0374642797, -0.0253440738, 0.003569457, -0.0038316033, 0.0064692255, 0.0216183383, -0.0444458611, 0.036360871, 0.0214716196, 0.0589800067, -0.0146092437, -0.0471241586, 0.0301988367, 0.020599708, -0.050080996, -0.1039339751, 0.0470900312, 0.02971703, -0.0324872807, 0.0372745059, -0.0303861536, -0.0196849145, -0.0030331328, -0.012384654, -0.0087751383, -0.0395979919, 0.0165794343, 0.0014560772, 0.0339796282, -0.0208317097, -0.0230225399, 0.0515980944, -0.0710379034, -0.0450092144, -0.050691314, -0.0048225308, -0.0590456687, -0.0091428673, -0.0112913614, 0.0314385742, -0.0182363894, 0.0083715674, -0.09752094, 0.0335239619, 0.0125418138, 0.0072905314, 0.063762337, -0.0010807842, 0.0015948632, 0.0234742332, -0.0024333536, 0.0134428516, -0.011081839, 0.0264803655, -0.0422079526, 0.021010438, -0.0454897396, -6.198538934e-33, -0.0029346559, -0.0635636151, -0.0004926794, -0.064464204, 0.0190629587, -0.0541660935, -0.0061818687, 0.0574360713, -0.0077157407, 0.0177224651, -0.0052222186, 0.0152628953, 0.0047078277, -0.0194051005, 0.0400258154, 0.0039824615, 0.0311395098, -0.0154845631, -0.0400020294, -0.0160594136, 0.0313106477, -0.0196670275, -0.0223819204, -0.0002482078, 0.0022846907, 0.0331216268, 0.0200208016, -0.0455030277, 0.019266028, 0.0414873138, -0.0005435842, -0.0195368156, 0.0256069209, -0.0784073323, -0.0363135301, 0.0562710054, -0.0084154513, -0.0279968679, -0.0042027468, -0.0281939507, 0.0155109586, -0.0074735112, -0.0349707752, 0.0238220468, -0.031533204, -0.044342123, -0.002769439, 0.0017640778, -0.00158142, 0.0163143277, -0.0337054282, 0.0324185677, -0.0400465429, 0.0340592228, -0.0190240834, 0.0300881732, -0.0092640771, -0.0162966214, -0.0630964115, 0.0634679273, -0.0068310699, -0.0332342871, 0.0028262162, 0.0059002452, -0.0083961487, 0.0405957364, 0.0159537029, 0.072137624, -0.0511467867, -0.0407801792, -0.0484737866, 0.057816837, 0.064588964, 0.0604002774, 0.0214505102, -0.0122713158, -0.0116716577, 0.0053465194, -0.0015327212, -0.0011951638, 0.0557493605, 0.0289096255, -0.051531855, -0.0110882111, 0.0169409402, -0.0295124277, -0.008231882, 0.0002841461, -0.0095442152, 0.0170099437, -0.0543718748, -0.0145838866, 0.056028869, -0.0254715905, -0.0102766454, 0.017635351, -0.0103113763, 0.0025134629, 0.0051804497, -0.0575958677, -0.0929867253, 0.0034273863, -0.0158537868, 0.0611980408, 0.0418952554, 0.0046496531, -0.0037118099, -0.0086239474, -0.042008765, -0.0132000381, -0.0011116235, 0.0537387468, 0.0126625001, -0.0083424635, 0.0110119414, 0.0047217607, 0.009793872, -0.0484998301, 0.0086613428, -0.0218272042, 0.0078524984, 0.0000687425, -0.0689766631, -0.0189596247, -0.0133504346, -0.0236689411, 0.0070589716, -0.0034579157, 0.0427789316, 0.0440281257, -0.0151483612, -0.0536437072, 2.847e-7, 0.0122959465, 0.0280951653, -0.008032185, -0.020348791, 0.0494892821, 0.0310686398, 0.0065499428, 0.0079297172, 0.0135581568, -0.0383160859, 0.0225958116, 0.0386746414, 0.0225420985, 0.0710868835, -0.0219774097, -0.0732287243, -0.0318180658, 0.0178472809, -0.0097365957, 0.0285779852, -0.0035208911, -0.0033603206, -0.0037811671, 0.0110133877, -0.0605860762, 0.0302783567, 0.0255528074, -0.0341622755, -0.0126477303, 0.0455618501, 0.0643319115, -0.074478887, -0.0069127516, 0.0545213483, 0.0340602323, -0.015152147, -0.0346216597, -0.0355689712, 0.0268565919, 0.0048168367, -0.0006269711, -0.0040992955, 0.0294545926, -0.0152150532, 0.0220317002, -0.0556072406, -0.0408166833, -0.0556944385, -0.0080689443, -0.0153144253, 0.0761797056, 0.0316180624, 0.0293949135, -0.0008663139, -0.0247983951, -0.0147534469, 0.0345303789, -0.0474829413, -0.0291185044, -0.0381956808, -0.0550451316, -0.0874290019, -0.0002661978, -0.0234975554, -0.0068393429, 0.0281662811, 0.003674889, 1.908186408e-34, 0.0040322542, 0.0097018378, -0.0300849341, 0.0400009006, 0.0424709991, -0.0265380107, -0.0011171408, -0.0464700833, 0.0605057664, 0.016758129, -0.0034843485 ]
http://arxiv.org/abs/2402.01423v1
http://arxiv.org/pdf/2402.01423v1
Different Tastes of Entities: Investigating Human Label Variation in Named Entity Annotations
2024-02-02T14:08:34
2024-02-02T14:08:34
Siyao Peng, Zihang Sun, Sebastian Loftus, Barbara Plank
cs.CL
cs.CL
Named Entity Recognition (NER) is a key information extraction task with a long-standing tradition. While recent studies address and aim to correct annotation errors via re-labeling efforts, little is known about the sources of human label variation, such as text ambiguity, annotation error, or guideline divergence. This is especially the case for high-quality datasets and beyond English CoNLL03. This paper studies disagreements in expert-annotated named entity datasets for three languages: English, Danish, and Bavarian. We show that text ambiguity and artificial guideline changes are dominant factors for diverse annotations among high-quality revisions. We survey student annotations on a subset of difficult entities and substantiate the feasibility and necessity of manifold annotations for understanding named entity ambiguities from a distributional perspective.
Different Tastes of Entities: Investigating Human Label Variation in Named Entity Annotations: Named Entity Recognition (NER) is a key information extraction task with a long-standing tradition. While recent studies address and aim to correct annotation errors via re-labeling efforts, little is known about the sources of human label variation, such as text ambiguity, annotation error, or guideline divergence. This is especially the case for high-quality datasets and beyond English CoNLL03. This paper studies disagreements in expert-annotated named entity datasets for three languages: English, Danish, and Bavarian. We show that text ambiguity and artificial guideline changes are dominant factors for diverse annotations among high-quality revisions. We survey student annotations on a subset of difficult entities and substantiate the feasibility and necessity of manifold annotations for understanding named entity ambiguities from a distributional perspective.
[ 0.080125995, 0.0155769996, -0.0206776056, 0.0263556913, 0.0109564178, 0.0468082502, 0.009353688, -0.0381201617, 0.0046391883, -0.0312054679, -0.0098505802, -0.0179852471, 0.0365535133, -0.0760436729, 0.0342538655, -0.0620547347, 0.0344944075, -0.0059863175, 0.0507192686, -0.0021481153, 0.000809028, -0.0164603908, -0.0024448743, 0.0206303727, -0.0101249591, 0.0147701567, 0.0027445434, -0.0022417756, 0.0313152596, -0.0281520169, 0.0200008769, 0.0837107226, -0.0357668325, 0.0945529938, 0.0000015977, -0.0463263579, -0.0198995993, 0.0059666461, -0.0283339377, 0.0092274817, 0.0056414646, -0.0063753184, -0.0243789088, -0.0624706596, -0.0034474407, -0.0430517867, 0.0583763272, 0.0406500548, 0.0245959312, 0.0519094914, 0.0033451384, -0.039253138, -0.020006014, -0.016710842, -0.0008774974, -0.0175506156, 0.0248885024, 0.0076670917, -0.0259910505, 0.0341181047, -0.0094460119, 0.0439848863, -0.021927584, 0.0222448632, 0.0247577764, 0.041877687, -0.0193258598, -0.0230681449, 0.0263739787, 0.0549484678, 0.0318913199, 0.0208949298, 0.0312450863, -0.0192746725, 0.011508679, 0.0345572121, 0.0144392392, 0.025263628, -0.0698748305, -0.0053630495, 0.0271799602, -0.0318982974, 0.0129688578, 0.007389158, -0.0062410859, 0.0633857474, -0.0051268744, -0.0472227298, 0.0511306748, 0.0465668701, -0.0513406731, -0.0555043966, 0.0231617521, -0.0274138637, 0.0080348961, 0.0125315972, -0.0359639227, -0.0689311922, 0.0164491143, -0.0503716506, -0.0158411339, -0.0069284597, -0.0352209695, 0.0305248052, 0.022838708, 0.0120593989, -0.001652882, 0.0396211296, -0.007429102, -0.011586519, -0.0407995842, -0.0040823724, -0.0171629228, 0.0072922758, -0.0074649942, 0.0355086848, -0.0548355021, -0.0188425295, -0.0209987871, 0.0316430256, -0.0140094254, -0.031151263, -0.0360695459, 0.0191008542, -0.0642162338, -0.0032230471, -0.034655612, 0.0162931215, -0.0351223163, -0.0048513589, 0.0223874711, -0.0059906985, -0.0095782476, -0.0404300243, 0.0015797331, 0.0282114614, 0.0072097955, -0.0106890714, -0.0237080511, -0.0377086252, -0.0249703191, -0.020925723, 0.015741488, -0.0515298657, 0.0313551649, 0.0168943014, -0.0098092332, -0.098926127, 0.0023782789, -0.020574959, -0.0858578831, 0.0683988556, -0.0556332767, 0.0009352889, 0.054719504, 0.002747416, -0.0152114592, 0.0204277579, 0.0099955099, -0.0288810879, 0.0648301318, 0.0125606433, -0.0011775896, 0.0179336164, -0.002102369, -0.0155483447, 0.033865355, -0.0125858393, -0.0124964779, 0.0531732664, 0.0588626526, 0.0464459769, -0.0268630031, -0.0519173853, 0.0172952618, 0.0493477061, -0.0016596576, -0.0332961492, -0.0068061319, -0.0019974932, 0.0414449722, 0.0354277864, -0.0276072025, -0.001735649, 0.0189284105, 0.0156186894, -0.0013107824, -0.0077195712, 0.0042564077, -0.0232540183, -0.0136216916, 0.0249376781, -0.0107437922, -0.0191263296, 0.0237321984, -0.0061587715, -0.0034034955, 0.0576611981, 0.0245020557, -0.0356028527, 0.0284056179, 0.0451858491, 0.0123531381, 0.0543357544, -0.0074503897, -0.0146698626, -0.0251786988, -0.0102557363, -0.0046584685, 0.0402185023, 0.0403758362, -0.0529931895, 0.0174040869, -0.0136787388, -0.0156482905, 0.0061216136, 0.0266934447, 0.0118871387, 0.0026734404, 0.0059178886, 0.0023169741, -0.0761687011, -0.0676584616, 0.050157547, -0.0185030419, -0.0126371374, -0.0275374223, 0.0379859395, -0.0021229282, 0.043479193, -0.0266455151, -0.0002928117, -0.0163129568, -0.0105006425, 0.0147920614, -0.0099678989, 0.0449428856, -0.0060024601, 0.0260592289, -0.0572098047, -0.0560808294, -0.0509488508, -0.0282206163, -0.0363910682, -0.0620116033, -0.0120408768, 0.0098551614, 0.0105972821, 0.0095738405, 0.0022376657, -0.0179330558, -0.0747389123, 0.0417199247, -0.0080200648, 0.0462949798, -0.0011287477, -0.0125056654, 0.0041682743, -0.0194972958, -0.0557984821, 0.0459484644, 0.0408939123, -0.0188336782, 0.0155652082, -0.0367807485, -0.0549390055, -0.0261431895, -0.0552243292, -0.017911965, -0.0218926854, 0.0551880822, 0.0058626644, -0.0120641766, -0.0166194923, -0.0165978968, 0.0274838582, -0.0572036691, -0.0654852986, 0.0423877984, 0.0447939932, 0.0206385721, 0.0054100105, -0.0181417279, -0.0073361476, -0.0334928781, 0.0102530895, 0.0415587351, -0.0800326988, -0.0815452412, 0.0365948156, -0.0662308484, -0.0083448607, 0.0151085667, 0.0266855583, 0.0158394016, 0.0580863245, 0.0816704929, 0.0427645892, -0.0374976434, 0.0392236449, 0.0249982495, -0.0342734829, -0.0401930325, -0.0016854495, -0.0132642491, -0.0073451791, -0.026010761, -0.0717915744, 0.028904289, 0.0444315001, -0.024288509, 0.0032861691, -0.0345410593, 0.0394794866, -0.07950712, -0.0088669714, -0.0196311958, 0.0184414219, -0.0027446754, 0.0775992051, -0.0013683405, 0.0004195634, 0.0845245123, -0.0034285239, 0.0110308481, -0.0335268266, 0.0223631188, -0.011218288, 0.0182947535, -0.0112749673, -0.000630843, 0.0452299342, -0.0708856061, -0.0329671539, 0.0637290254, 0.0619994886, -0.0146426745, 0.0453703813, -0.0321219005, 0.004986302, -0.018426301, -0.0080727953, -0.0062867347, -0.0219658464, -0.0505695827, -0.0024505428, 0.0291505978, -0.0197075624, 0.0009962252, 0.016470151, 0.0036379427, 0.0153422309, 0.0037989696, -0.008494637, -0.0202587806, -0.0172744598, 0.0204413235, 0.0562001429, 0.0343551673, -0.0303292852, -0.0387189984, 0.0276304688, -0.014989553, -0.0024813218, 0.0393860787, -0.0260787643, 0.0305685233, -0.0735909417, -0.0660207719, -0.0029666557, 0.0480721369, -0.0489428751, 0.0078829704, 0.0713731647, 0.0202079564, -0.011442055, -0.0001622636, -0.0031400037, 0.0127223972, 0.0054614111, 0.0092014056, -0.0887294635, 0.0066084331, 0.0015220334, 0.0344841331, -0.0343020819, -0.0735007226, 0.0074195336, -0.0785369352, 0.0183622763, 0.0084986566, -0.1089468077, 0.0223301034, -0.0462567136, 0.0162322484, -0.036157243, 0.0134563781, -0.0157786664, 0.0152772255, 0.050670851, 0.0456815176, 0.0025054838, -0.0792676881, -0.0101792188, -0.0545480512, 0.0606352538, 0.0029163938, 0.0225297883, -0.0372444801, -0.0480606481, 0.015395592, -0.0152477268, -0.0134914294, -0.0240086671, 0.086544849, -0.0164991226, -0.0106265256, -0.0347314067, -0.0057517067, 0.0035835425, -0.0201116186, -0.0051766555, 0.0337573588, 0.0056682271, 0.0123312101, 0.0078371065, -0.0086730281, 0.0148426369, 0.0614697784, 0.028138604, -0.0192034449, -0.0096368082, -0.0081810988, 0.0662091076, 0.0098357014, -0.0079399645, 0.0564312786, -0.0777268931, -0.0861523896, -0.0367295332, -0.08421956, 0.0285609793, 0.0280652475, 0.05659426, 0.0068317326, 0.0516527593, -0.005687234, -0.0465013571, 0.0689354911, 0.0083193108, 0.0174318235, -0.040349111, -0.0543297976, -0.0046212068, 0.0407955945, -0.0364878662, -0.0082717007, -0.0403964147, -0.0700756758, 0.0587509051, -0.0018466915, 0.0210357886, 0.0515645444, 0.0080320537, -0.0809317827, -0.045302622, 0.0441012308, 0.017795505, 0.0165945794, 0.0177381039, 0.052845668, -0.0120364949, 0.0180195831, -0.0307508633, 0.0024131653, 0.0489461422, 0.0171012487, -0.0243199617, -0.0354628526, -0.0126719931, 0.0449296646, 0.0527333692, -0.0301522817, -0.0019531429, -0.0462987162, -0.0072536897, 0.0232721996, -0.014469916, 0.0195595659, -0.0354513749, -0.0111011118, -0.0103347264, -0.0494125262, 0.0823982507, -0.0054672435, 0.0640615672, -0.0777918547, -0.0007966519, 0.0519758761, 0.0661657825, 0.0095946556, -0.0027392919, 0.0114125405, 0.0291858651, 0.0481661707, 0.076808244, 0.0094751669, 0.0088071479, 0.0334541425, 0.0016993405, -0.0340555757, -0.0090325475, -0.0603590943, -0.0143608833, -0.0133960433, 0.0238038395, 0.023890635, -0.0015191076, 0.0768545717, -0.0155490963, -0.0129476404, -0.0059649553, 0.0046865344, 0.0050142794, 0.0133338012, 0.0402294174, -0.0044288142, -0.0208562668, -0.0085238237, 0.044443462, 0.007260168, 0.0247776993, -0.0455009937, -0.0308690164, -0.0212433767, 0.0028590776, -0.0175263304, -0.0075386176, -0.0119749224, -0.012994566, -0.0900810286, -0.028325757, 0.0430068374, -0.0141926482, -0.0099752322, 0.0155673632, -0.0049406383, 0.0373812094, -0.0040993914, -0.0523954704, -0.0274478681, 0.0151952785, 0.0112106558, -0.0420354754, -0.0356843844, -5.775762473e-33, -0.0386193022, -0.0311081093, -0.0254206136, -0.0160759613, -0.0182994828, 0.0202793814, -0.0029059255, 0.0186989848, 0.0051264307, 0.0083642127, -0.0046874327, 0.0026329155, 0.0392323583, -0.031367179, 0.0537135005, -0.0456881076, 0.0509589128, 0.0388088897, -0.0520634614, -0.0186484177, 0.0497440509, 0.009712209, 0.1019576639, -0.1129737794, 0.1262732595, 0.0162609834, 0.0236696638, -0.0020379794, 0.0470499545, 0.0319350399, -0.002663431, 0.0448644906, 0.0048619816, -0.0354283378, -0.0204684231, -0.0470652506, -0.1096697375, -0.0321712755, 0.0061009545, 0.0717678517, 0.0093139242, -0.0543992668, 0.0612809844, 0.0040850462, -0.0317293741, 0.0363390744, 0.0676893145, 0.0165180657, -0.0019672797, -0.0111966161, -0.0233106893, 0.0348876305, 0.0020379215, 0.0693496615, 0.0597856753, -0.0198186822, 0.023828432, -0.0128621012, -0.0954575613, 0.0138730817, 0.017026227, -0.0303927381, 0.0123692267, 0.0082935542, -0.0075070751, 0.0262324251, 0.059273947, 0.0641415492, -0.0250422917, -0.0276685506, 0.0239604749, -0.0053094905, -0.023341747, 0.0499460362, 0.0175585598, -0.037511915, -0.0135947503, 0.0171438511, -0.0361044034, -0.0253668632, -0.0365534164, -0.0102399476, -0.0797943771, -0.0439335965, -0.0283910558, -0.055477567, -0.0189860575, 0.02392531, 0.0021597408, -0.049152866, -0.0130191389, 0.0434126966, -0.0146491416, -0.0089087449, -0.0745532662, -0.0829333812, 0.0224118661, 0.0445834361, -0.0095838318, -0.001373554, -0.0615321323, -0.0109627675, 0.0207029507, 0.0320438556, 0.0495484956, 0.0095636426, 0.0442705564, -0.0288523287, -0.0516270697, -0.0062093912, 0.0051636775, -0.0124367876, -0.0189590398, -0.0229598656, 0.0454924367, 0.0054916581, 0.0007246008, -0.0124756275, 0.0762679428, 0.0238441415, -0.0181415118, 0.0351438113, 0.0251765922, 0.0125604337, -0.003171853, -0.0008510023, 0.0505097918, -0.0095230006, 0.0175460242, -0.0293804314, 0.0046484922, -0.0218463223, 2.378e-7, 0.0604324825, 0.0603648201, 0.0155301448, -0.0482579954, -0.0077873636, 0.0052885078, 0.0138231181, 0.0062351115, -0.010788261, -0.0149294846, -0.0065475181, -0.0417711698, 0.0234399252, 0.0608596466, -0.0479714163, -0.0523462854, -0.0014743687, 0.0447655134, -0.0632003918, 0.0473197512, 0.0493364669, 0.0244047269, 0.0322479978, 0.0070448075, -0.0475968421, 0.0046436014, 0.02721579, -0.0072239987, 0.0581779703, 0.032260593, 0.0748544633, 0.0352289192, 0.0430594832, 0.0914223194, 0.0099174669, -0.0200752933, 0.0640351102, 0.030814616, -0.0031760368, 0.0414779969, -0.0374067128, -0.0171480346, 0.0146805793, -0.0316524692, 0.003499537, -0.041595839, -0.0468817726, 0.01608143, -0.0369371399, 0.0233985931, 0.0425030552, 0.0247842185, -0.0037983949, 0.0361565277, 0.023597829, 0.0016925526, -0.0157114826, -0.0336302966, 0.0084677609, 0.0407106578, 0.00880842, -0.0494871549, 0.0156044951, -0.0168715473, -0.0109744929, -0.0625610799, 0.0034579877, 1.681594949e-34, -0.0098533472, 0.0141916508, 0.0010745694, 0.0309464075, 0.0085756769, -0.0019027621, 0.0117356526, 0.0026087642, -0.0290187243, -0.0013640175, -0.0075878371 ]
http://arxiv.org/abs/2402.01416v1
http://arxiv.org/pdf/2402.01416v1
Sequence Shortening for Context-Aware Machine Translation
2024-02-02T13:55:37
2024-02-02T13:55:37
Paweł Mąka, Yusuf Can Semerci, Jan Scholtes, Gerasimos Spanakis
cs.CL
cs.CL, cs.AI, cs.LG
Context-aware Machine Translation aims to improve translations of sentences by incorporating surrounding sentences as context. Towards this task, two main architectures have been applied, namely single-encoder (based on concatenation) and multi-encoder models. In this study, we show that a special case of multi-encoder architecture, where the latent representation of the source sentence is cached and reused as the context in the next step, achieves higher accuracy on the contrastive datasets (where the models have to rank the correct translation among the provided sentences) and comparable BLEU and COMET scores as the single- and multi-encoder approaches. Furthermore, we investigate the application of Sequence Shortening to the cached representations. We test three pooling-based shortening techniques and introduce two novel methods - Latent Grouping and Latent Selecting, where the network learns to group tokens or selects the tokens to be cached as context. Our experiments show that the two methods achieve competitive BLEU and COMET scores and accuracies on the contrastive datasets to the other tested methods while potentially allowing for higher interpretability and reducing the growth of memory requirements with increased context size.
Sequence Shortening for Context-Aware Machine Translation: Context-aware Machine Translation aims to improve translations of sentences by incorporating surrounding sentences as context. Towards this task, two main architectures have been applied, namely single-encoder (based on concatenation) and multi-encoder models. In this study, we show that a special case of multi-encoder architecture, where the latent representation of the source sentence is cached and reused as the context in the next step, achieves higher accuracy on the contrastive datasets (where the models have to rank the correct translation among the provided sentences) and comparable BLEU and COMET scores as the single- and multi-encoder approaches. Furthermore, we investigate the application of Sequence Shortening to the cached representations. We test three pooling-based shortening techniques and introduce two novel methods - Latent Grouping and Latent Selecting, where the network learns to group tokens or selects the tokens to be cached as context. Our experiments show that the two methods achieve competitive BLEU and COMET scores and accuracies on the contrastive datasets to the other tested methods while potentially allowing for higher interpretability and reducing the growth of memory requirements with increased context size.
[ 0.0160385724, 0.027410442, -0.0215498004, 0.0342556275, -0.0590947419, 0.0162421931, 0.0444168411, -0.0052500013, -0.0674610659, -0.0369937271, -0.0004940767, -0.058928553, 0.058026813, -0.0153472777, 0.0509284399, -0.0636065677, 0.0318068527, 0.0101466281, 0.0011009569, 0.0143229486, -0.0071887774, 0.0086573716, 0.0240248851, 0.0335143134, 0.0109527661, 0.0183947235, -0.0129281646, 0.0185142756, 0.038865149, -0.0332110487, 0.0033164825, 0.0511240028, 0.0218024198, 0.0082782339, 0.0000023178, -0.0209551286, -0.0576348752, -0.0239227582, 0.0061309254, 0.0042490968, 0.0599632449, -0.0432152413, -0.002644368, 0.0318425708, 0.0007157015, -0.0014344405, 0.0381672904, 0.0146124158, 0.0462890118, 0.071716316, -0.0258195344, -0.0680977851, -0.0188391581, -0.0463803522, -0.0143561391, -0.0590367056, -0.0051386789, -0.0395088196, -0.0386120155, 0.0123795532, -0.0419914462, 0.0453861244, 0.0536059849, 0.0291020386, -0.010107751, 0.0244708881, -0.0356915742, -0.0090902364, -0.0131562604, 0.0608778968, -0.0322356522, -0.0177252684, -0.0235083271, -0.0036417851, 0.0004349073, -0.0532202832, -0.0541613922, 0.0038229621, 0.0163736306, 0.0112959398, -0.0139751919, 0.0552808791, 0.0312556624, 0.0058231223, -0.0521045402, -0.0409720875, 0.0358458199, -0.0175310019, -0.0703337044, 0.0070349406, -0.0164704118, -0.0283405557, 0.036699187, 0.0114729526, -0.0181660727, 0.020507304, -0.032817468, -0.053364031, 0.0032613671, -0.0294765644, -0.0124301771, 0.0629402399, -0.0165321156, 0.0237000827, -0.0406901985, 0.081804812, 0.001176005, -0.0276513714, -0.0846488029, -0.0391131863, -0.0342675671, 0.0208243709, -0.0274776313, 0.0271907952, -0.0599868372, -0.0281822197, -0.070158191, 0.0112900417, 0.0147785107, -0.0181625001, -0.0152799422, 0.0190812703, -0.0451231711, 0.0309129264, 0.0006573871, 0.0348777436, -0.0377301499, -0.0028094945, 0.0345200114, -0.0609516054, -0.0388766415, 0.0139984395, 0.0340760686, -0.0397410542, -0.0173089802, 0.0745290592, -0.0102736959, -0.0476564541, -0.0122040901, -0.0304203462, -0.0387517028, -0.039370019, -0.0006145827, -0.0763035491, 0.0605420433, -0.0039945338, 0.0176246539, -0.0244284347, -0.0075964378, 0.0075699328, -0.0000714671, 0.0587845333, 0.0167305656, -0.0649172813, 0.0041290005, 0.0201600119, 0.0208297968, 0.0432271473, 0.0646106154, 0.0543439873, 0.0344878025, -0.0046804217, -0.0104035875, -0.0009581934, 0.0230429824, 0.0036702654, -0.0022536085, -0.017574789, 0.0000968888, 0.016365502, 0.0209116694, 0.0521318205, -0.048938904, -0.0064633847, 0.0278202929, 0.0381030329, 0.0275278799, 0.0392394625, 0.0564644039, 0.0025068927, -0.0415028557, 0.0402739011, -0.0101718446, 0.0501215234, 0.000857933, 0.003637475, 0.0751247704, 0.0427866764, -0.0255415607, -0.0204797667, 0.0040654992, -0.0325045325, 0.0276818965, -0.0330041125, 0.0276785139, 0.0126114395, -0.0656437203, 0.0509653687, -0.0151945101, -0.0762528181, -0.0042511919, 0.0001836562, -0.04673177, 0.0798859969, 0.0302919168, 0.0224103797, -0.0586996451, -0.0191326141, -0.0399556421, -0.0037343397, 0.0188596416, 0.0084724389, 0.0416438617, -0.0666619837, -0.0169782601, -0.0194187872, -0.0148073621, 0.0282589886, -0.0028225787, 0.0224875342, 0.0616542026, 0.0321510769, 0.0066861999, 0.0317510627, 0.0075163944, -0.0339713953, 0.0296993945, 0.0378319547, 0.0501476005, 0.0280386619, 0.0221433993, 0.0034358301, 0.0485324413, -0.0627697408, -0.0284145381, 0.0304353666, -0.1048262641, -0.1234709918, 0.0015753644, -0.0263374019, 0.0133884856, 0.0007102497, -0.0721434206, -0.0728404, -0.0049201879, -0.0389137827, 0.0315711312, -0.0251771137, 0.0334225297, 0.0025329648, 0.0326310359, -0.0193275511, 0.0766678974, -0.041227486, 0.0034806132, 0.0220678411, 0.029551914, 0.0322460271, -0.0485992394, -0.0135670491, 0.0082351472, 0.0185601972, 0.0003966666, 0.0600531474, 0.0102240676, -0.0381010175, -0.0073111593, -0.0879322812, 0.0158231724, -0.0355188325, 0.0121417083, 0.0337038785, 0.0439760238, 0.0296114087, -0.0073139481, -0.0202236511, 0.0055044745, -0.0105582988, 0.0331767797, 0.034244854, 0.0007701888, -0.0321858339, -0.0146301901, -0.0188265443, 0.0155026019, 0.0770602301, -0.0241633914, -0.0424205214, -0.0339944772, 0.0336741135, -0.0304049794, -0.0345037542, -0.0035757283, -0.0446449667, 0.0015618876, -0.0025245578, 0.0402105413, 0.0401567407, 0.0257946551, 0.0498505235, 0.0174942724, 0.0093835844, -0.0136889964, -0.0105970958, -0.0354738608, -0.0071951472, -0.0147954477, -0.0205226615, 0.0018249496, 0.0329934098, 0.0225372184, 0.0205565356, -0.0687396973, -0.0129752103, 0.0269965921, -0.0368224233, -0.0446106456, -0.0038402476, -0.0121615594, 0.0221934896, -0.0335922949, -0.0314116478, 0.0624174438, -0.0255434234, -0.0040062792, -0.0535197929, -0.0085964203, -0.0407826528, 0.0455351882, 0.0021322579, 0.0235315356, -0.0692794248, -0.0237438288, -0.0360624343, 0.0007546283, -0.0073525882, -0.0167142842, 0.0192798022, -0.0484961905, -0.0227339044, -0.0022003725, -0.0272624418, -0.0202118661, 0.0143143479, 0.0179552585, 0.0394645184, 0.0592443831, 0.0125934593, -0.0619040206, 0.0105064344, 0.0163810253, 0.0837835521, -0.0152083393, 0.0299122445, -0.018977005, 0.0598865822, 0.0058952342, 0.0028243186, 0.0510346815, -0.0525834821, 0.0438655391, 0.057643421, 0.0362959616, -0.0312292892, -0.0328663513, -0.007378058, 0.0106055159, -0.0023171464, -0.0169567484, 0.012330058, 0.0504565686, -0.0653454289, -0.0220186412, 0.11510849, 0.0309201609, -0.0652173087, 0.0168321598, 0.0270474385, 0.0122226244, 0.0077904086, -0.0101707131, -0.0661767721, -0.0374502651, -0.0005626241, -0.0005983631, 0.0098828562, 0.0161002092, -0.0339770615, -0.0753337443, 0.0013350005, 0.0352269597, -0.0842874423, -0.0319274142, -0.031002339, -0.0209687464, -0.0031937473, 0.048262015, 0.0134640252, 0.0287400428, -0.0260194149, 0.0077439668, 0.0155355148, -0.0788892359, -0.021531051, -0.0347278528, -0.0049761166, 0.0643419623, 0.0313278437, 0.0285896044, -0.0157079827, 0.0304275714, -0.0566329919, 0.0363099687, -0.0219223481, 0.0233336128, -0.0158966649, 0.0130156148, 0.0229343213, 0.0019462146, -0.0494281724, -0.0206759777, 0.0108970022, 0.0374823511, -0.0065714354, 0.0097232452, 0.0051583867, -0.0324314609, -0.0048849666, 0.0453543179, 0.0384385325, -0.0216937605, 0.0033500437, -0.0226214584, -0.0294531081, -0.0690363869, 0.0337631702, -0.0318303183, -0.0376581065, -0.032888107, -0.0972708687, -0.0562284477, 0.0289921686, 0.0347163416, -0.0164550077, 0.036003489, 0.001329304, 0.0078437002, -0.0301482696, -0.0009556267, -0.0007951929, 0.0073169633, -0.0224987306, 0.0172067322, 0.0294286571, -0.011227496, -0.0103302151, 0.0214047413, -0.0987099633, -0.0473361462, -0.0166776888, 0.0474364124, 0.0115956469, 0.0566892028, 0.0042112116, -0.0025825317, 0.0317838602, 0.0117597664, -0.0533529632, 0.0272181518, -0.0035117979, 0.0007595786, -0.0109113082, 0.0207197126, -0.0324018896, 0.0282943621, 0.0020955633, 0.0516629182, -0.0182932075, -0.04027652, 0.022075139, -0.0141769685, 0.0399865955, -0.0235475674, -0.0332849845, 0.00422975, 0.0581127964, -0.0095062871, 0.0034194123, -0.0115966657, 0.0003224372, -0.0043254551, 0.0203700513, -0.0018142845, 0.0206439272, 0.0169476662, -0.0531348474, -0.0056421957, 0.0105873682, 0.0123489834, 0.0319293067, -0.0181988254, 0.054185953, -0.0329411589, -0.0213886257, -0.0174340736, 0.0088330125, -0.068259038, 0.0103760939, 0.0265934877, 0.0331063084, -0.0293103289, 0.0666406751, -0.0674129203, 0.0440740474, -0.0345445871, -0.0116906632, 0.0691928938, -0.0143888313, 0.0733098313, 0.0273391828, -0.0111371158, -0.0306825209, 0.0562598482, -0.0062116454, -0.0491264164, -0.0197071377, 0.0056849327, -0.0138840312, 0.0206005033, 0.0628062114, -0.0442904979, -0.0022176604, -0.0047126301, -0.0169984922, -0.0342279412, -0.0059056659, -0.0166522395, 0.0320317633, 0.0099407118, -0.006772059, -0.0013665353, -0.0429163463, 0.030849902, -0.0080410419, 0.0243370403, 0.0123752505, 0.0675173923, 0.0823449194, -0.0242341626, -0.010282021, -0.0149524184, 0.0071028266, -0.0170047134, -0.0197199453, -0.0372386985, -6.814982131e-33, -0.0383662134, -0.0438255593, 0.0073624421, -0.0488817655, -0.025085235, 0.0125760539, -0.0689004809, -0.0498243906, 0.0147419423, -0.0212115888, -0.0026133955, -0.0085538756, 0.022338029, 0.0403800569, 0.0138518885, -0.0045376844, 0.0933065861, 0.0305870585, -0.0136486813, 0.0260306988, 0.0575842001, 0.0394201018, 0.0526697524, -0.0402748063, -0.0094856787, -0.0036752825, 0.0020427797, 0.002444034, 0.0225463863, 0.0518237241, 0.0117337117, 0.0259108059, 0.0344406478, -0.0346298479, -0.0325929411, -0.0011096218, -0.1047616079, -0.0273142718, 0.0143491719, 0.0101384781, -0.0495324992, -0.1067364588, 0.0567367673, -0.0195628833, 0.0295801405, 0.0113470247, 0.0125844972, -0.0320963562, -0.0509611405, -0.0375055932, -0.0592930876, 0.0038019682, -0.0115563106, 0.0235136077, 0.0111478893, 0.0561358966, -0.0230074096, 0.0480242781, -0.0871967524, 0.0115111126, -0.0288804732, 0.0630522445, 0.0684003085, 0.0269610174, -0.0001279748, 0.0199041143, 0.0110357841, -0.0286471136, -0.0097842496, -0.0050473888, 0.0035470212, 0.0136826364, 0.0760161132, 0.0350084975, 0.0617263727, -0.0397203229, -0.0732907653, 0.0145352604, -0.0073375828, 0.0166849215, 0.0337253697, 0.0487987287, -0.0050928448, -0.0226696078, -0.0375558473, -0.0036361502, -0.0304851271, -0.0340626985, 0.0200916715, 0.0366197415, -0.0386290215, 0.0109590562, 0.0643843114, -0.001748109, 0.0352499746, 0.0111616729, -0.0137642762, 0.0086741112, 0.0107107898, 0.0340381488, -0.027731685, -0.0130809397, 0.0415196046, -0.0099190725, 0.0112421717, -0.0326367207, 0.0639632717, 0.0108910268, -0.0448713675, 0.0100325635, -0.0426290743, -0.0264951494, -0.0327023789, -0.0150284674, 0.0006681998, 0.0372971594, -0.0178729463, 0.0652853921, -0.0034700676, -0.0126434918, -0.004428877, -0.0134589672, 0.0154872546, 0.055228021, -0.0545980074, 0.004569808, -0.0134215569, 0.0431215949, 0.0851745903, -0.0349595696, -0.041616559, 0.0209461004, 3.02e-7, 0.0484123677, 0.0486317277, 0.0338987187, -0.0390287265, 0.019135233, 0.0109327761, 0.0021405297, 0.0326573253, -0.0043856627, 0.0614801385, 0.0452409349, 0.0294569023, 0.0442731529, 0.0288911201, -0.0745386779, 0.016237447, -0.041401457, 0.0021266199, -0.0280068237, 0.0131908078, 0.0866266638, 0.1130360812, 0.0086724367, 0.0175011028, -0.0087449662, 0.0011232251, 0.0444388092, -0.0195621401, -0.013281405, -0.0159331057, -0.0352880135, 0.0356450714, -0.033172518, -0.0129432883, -0.0157202799, 0.0242276788, 0.0169334561, 0.0561239868, -0.0045981822, -0.0537840351, 0.0269879345, 0.0203262568, -0.0195104219, 0.0129393144, 0.0659620166, -0.0566534586, -0.0168668386, -0.0061204573, -0.0029458199, 0.0450346768, 0.0270640496, 0.020549655, -0.0297163595, 0.0207938757, 0.0337735526, 0.0133389896, -0.0196964219, -0.1049117744, -0.0024657112, 0.0018316419, -0.0162077397, -0.0042320453, -0.0470551178, -0.0054408647, 0.0378093347, -0.0204717312, 0.001710295, 2.925061342e-34, 0.0234924518, -0.0212785993, -0.0134358201, 0.0253640991, 0.0316186249, -0.0557770655, -0.0391915739, 0.0010854242, 0.0073608686, -0.0538207367, -0.0489013903 ]
http://arxiv.org/abs/2402.01404v1
http://arxiv.org/pdf/2402.01404v1
On Measuring Context Utilization in Document-Level MT Systems
2024-02-02T13:37:07
2024-02-02T13:37:07
Wafaa Mohammed, Vlad Niculae
cs.CL
cs.CL
Document-level translation models are usually evaluated using general metrics such as BLEU, which are not informative about the benefits of context. Current work on context-aware evaluation, such as contrastive methods, only measure translation accuracy on words that need context for disambiguation. Such measures cannot reveal whether the translation model uses the correct supporting context. We propose to complement accuracy-based evaluation with measures of context utilization. We find that perturbation-based analysis (comparing models' performance when provided with correct versus random context) is an effective measure of overall context utilization. For a finer-grained phenomenon-specific evaluation, we propose to measure how much the supporting context contributes to handling context-dependent discourse phenomena. We show that automatically-annotated supporting context gives similar conclusions to human-annotated context and can be used as alternative for cases where human annotations are not available. Finally, we highlight the importance of using discourse-rich datasets when assessing context utilization.
On Measuring Context Utilization in Document-Level MT Systems: Document-level translation models are usually evaluated using general metrics such as BLEU, which are not informative about the benefits of context. Current work on context-aware evaluation, such as contrastive methods, only measure translation accuracy on words that need context for disambiguation. Such measures cannot reveal whether the translation model uses the correct supporting context. We propose to complement accuracy-based evaluation with measures of context utilization. We find that perturbation-based analysis (comparing models' performance when provided with correct versus random context) is an effective measure of overall context utilization. For a finer-grained phenomenon-specific evaluation, we propose to measure how much the supporting context contributes to handling context-dependent discourse phenomena. We show that automatically-annotated supporting context gives similar conclusions to human-annotated context and can be used as alternative for cases where human annotations are not available. Finally, we highlight the importance of using discourse-rich datasets when assessing context utilization.
[ 0.0269591492, 0.0038651701, -0.0209790561, 0.0462119803, -0.0454256907, 0.0136889582, 0.0462707318, -0.0306905229, -0.0777115226, -0.0669681653, -0.0462230369, -0.0213614069, 0.0459090583, -0.0468181409, 0.019043982, -0.0665059835, 0.0402387269, -0.0325515755, -0.0237859339, 0.0181244295, 0.0100049032, 0.0041620452, 0.0058281478, 0.0090010464, -0.0156798493, -0.0224454794, 0.020027779, 0.0282286648, 0.0700713098, -0.0099494392, -0.023287151, 0.0597717054, 0.00807223, 0.0632835701, 0.0000019503, -0.0546714552, -0.0421931557, 0.0247137211, -0.0133932661, 0.0379147939, 0.0823985189, -0.0416174047, -0.0086430879, -0.0039984593, -0.0305199884, 0.0114444932, 0.0186745524, -0.0167627241, 0.018254796, 0.0064064125, -0.0240244474, -0.0082614804, -0.0532668382, 0.0136698931, 0.0058832401, -0.057923533, -0.0289012715, 0.0357348099, -0.0141290035, 0.0245067962, 0.0028412084, 0.0754285306, 0.0172635186, -0.0143104382, -0.0130673191, -0.0002109275, -0.0214438792, 0.0167191457, -0.001407012, 0.0547912493, 0.1086530015, -0.0068729133, -0.0006341392, 0.0064274664, -0.0098943645, 0.0359399728, -0.0277788956, -0.006792088, -0.0170333702, 0.0107142515, 0.0595826358, 0.042626068, 0.0022230372, 0.0362229571, -0.0386438295, 0.0133761438, 0.029398283, -0.0000215431, -0.0192201808, 0.0185181331, -0.0651555359, -0.0439654663, 0.043682646, -0.0104595004, -0.0329415798, 0.0345000774, -0.0233612917, -0.0813583285, 0.037737336, -0.0922394022, -0.0115527241, 0.0406950116, -0.0280343387, 0.0460724682, 0.0257520899, 0.0327044725, -0.013604261, -0.0490049049, -0.0358259566, -0.0222672876, -0.0230683386, 0.0343698934, -0.0374472365, -0.000740008, -0.0761639252, -0.0153441085, -0.0463097468, 0.0385403745, 0.0254077204, -0.0155181065, 0.0014003995, -0.0313368924, -0.0705781803, 0.0141706364, 0.0071013775, 0.0344549865, -0.032430999, -0.0152702862, -0.018612057, -0.0320655107, -0.000169487, 0.029755557, -0.0351055302, -0.0407424718, -0.0580896474, 0.0605115779, 0.0038284927, -0.0315227062, -0.000150606, -0.0273523238, -0.0518306084, -0.0402082168, -0.0218283329, -0.0680739358, -0.0125367865, 0.0291363448, 0.0133901024, -0.0033972417, 0.0181154702, -0.0110166706, -0.0055245971, 0.0925877467, 0.0084885955, -0.0059809983, 0.0460755043, 0.0058378242, -0.0132960007, 0.0784441084, 0.0633356571, -0.0278283805, 0.048215434, 0.0269511919, -0.0396621004, 0.034503825, -0.0222259015, 0.0134010194, -0.0183549095, -0.0016517271, -0.0286547225, 0.0041973139, 0.0161871426, 0.0706711709, -0.0378387719, 0.0188983027, 0.0356427431, 0.0305979196, 0.0102665517, 0.0068385843, 0.0553075336, 0.0048210276, -0.015847113, 0.0453863516, 0.0093053831, -0.0147738196, -0.0178702809, 0.0043384382, 0.0244006086, -0.0017272113, -0.0189954676, -0.0525449179, -0.0199697074, -0.0073499922, 0.0445393212, -0.0335726067, 0.0782433674, 0.016866792, -0.0042354558, 0.0392989181, -0.0103107626, -0.0440652445, 0.0110528264, -0.0185924098, -0.0426505953, 0.0768323317, 0.0689960718, -0.0388480164, -0.023296535, 0.0141614638, 0.0219938997, 0.0649498031, 0.0244077984, -0.0057964628, 0.0265137702, -0.0187414624, -0.0190301649, -0.0034695829, 0.0317946635, 0.0105134714, 0.0088412631, 0.0174716376, 0.0308671705, -0.0583303869, -0.0132146208, 0.0195262861, -0.0352858081, -0.0101666991, -0.0078162793, -0.0043231407, 0.0216080416, 0.0462643132, -0.0310307555, -0.006282663, 0.0071932827, -0.0318675749, 0.0315924399, 0.0800335556, -0.055647362, -0.0510509908, 0.031142896, -0.0303322598, -0.019205492, -0.0389339179, 0.0039568306, -0.046574045, 0.0098079508, -0.0533809364, 0.0326829106, -0.0339814164, 0.0336089134, -0.023691494, -0.0303498786, -0.045949731, 0.0528364107, 0.0059544854, 0.0065068081, 0.0599272735, 0.0167989507, 0.0536878519, 0.0011558838, -0.0257395934, 0.0049849888, 0.0391084887, -0.0048198788, 0.0529523082, 0.0166787282, -0.031500645, -0.0102602402, -0.1319395006, 0.0043763686, -0.0500044487, 0.044202961, 0.0688196421, 0.040354982, 0.0017636945, 0.0091081932, 0.0467876345, -0.0366496406, -0.0142877558, 0.0148484567, 0.0375294499, 0.0201139227, 0.0239119567, -0.0661756694, 0.0032934684, 0.0036196513, 0.0445695259, 0.039932441, -0.0591442585, -0.0449067727, 0.0463031121, -0.0340688862, -0.0145831052, 0.010921225, -0.0325542837, 0.0473486222, 0.0199846178, 0.0550332256, 0.0364829451, 0.0020095522, 0.0549068376, 0.0295802187, -0.0386533774, -0.0480125025, -0.012471824, 0.0113242567, -0.0054968232, -0.0200403389, -0.0367401503, 0.004631754, 0.0488184094, 0.0227571875, 0.0067928038, -0.0326155461, -0.0052096257, -0.0697501078, -0.0627507493, 0.0148960873, 0.0230623819, -0.0156762712, 0.0718976408, -0.0143640898, -0.0244628005, 0.0760760903, -0.0333643295, -0.0002291144, -0.0749069601, 0.0144163435, -0.0258088838, 0.0335935019, -0.0520312823, -0.0050590062, -0.0526329949, -0.0542118736, -0.0183273498, -0.00293797, 0.0473787971, -0.0331754759, 0.0527307093, -0.1145503893, 0.0172495898, -0.0136352619, -0.0119720958, -0.0308400281, -0.0074416334, -0.0033820488, 0.0242983438, 0.0374532677, -0.0196936671, -0.0006467685, 0.0461240113, 0.0490523539, 0.0641799271, -0.0004389943, -0.0249526557, -0.023314137, 0.0341360383, 0.0024514564, 0.0019732169, 0.0499508269, -0.02765649, 0.0483129099, 0.0376652852, 0.0035700125, -0.0410781763, -0.0283373035, -0.0394229479, 0.0019537471, -0.01675676, -0.059521582, -0.0152588272, 0.0922557414, -0.0639895573, -0.0515402593, 0.1365837306, 0.0407215916, -0.0351269022, -0.0313869193, -0.0321015269, 0.0258488022, -0.0224115588, -0.013733252, -0.0978492945, -0.0150631312, 0.0064148903, 0.0167761445, 0.0236925967, -0.0118037295, 0.0081194891, -0.0349473618, 0.0213657822, 0.0152721154, -0.04415543, 0.0106373737, -0.0069004493, 0.0443091877, -0.008477536, 0.0478974469, -0.0266326033, -0.003198894, 0.0013259136, -0.0059676818, 0.0201103613, -0.0646475777, -0.0092392992, -0.0401394479, 0.0219396185, 0.0462457612, 0.0204998553, 0.0186785832, -0.0060723508, 0.0113512054, -0.0539377369, 0.0156280566, -0.043703109, 0.009001961, 0.0018039045, 0.0119890645, -0.0381734669, 0.0006635114, -0.0115841599, -0.0137851229, -0.0118395872, 0.0209643636, -0.0342608355, 0.0389984138, -0.0235471129, 0.0103618, 0.0265618395, 0.0628696829, 0.0404011831, -0.0518701375, -0.0285827331, -0.0098688565, 0.0086644078, -0.0317638442, 0.0320472755, -0.0489419326, -0.0494643934, -0.0373827852, -0.090281643, -0.0650808364, 0.0050860299, 0.0249947347, -0.0004291436, 0.0485858396, 0.0010239629, -0.0006299664, -0.0009887413, 0.0040189684, -0.0159014352, 0.0149515308, -0.0167270936, -0.0176168662, 0.0257569235, 0.0127126416, -0.0004725216, 0.0186550152, -0.0403537527, -0.0745586529, 0.007698088, -0.0100894403, 0.0229579452, 0.0389968865, -0.0192847252, -0.027060682, 0.0160541758, -0.0144652436, -0.0077308631, 0.0398011208, 0.0542456433, 0.0425432809, -0.0094901137, 0.0284277163, -0.0187534895, 0.0124143958, -0.0166017655, 0.0565205924, -0.0610346012, -0.0495105423, -0.0059985612, -0.0238193143, 0.0463561676, -0.0473937094, -0.013824556, -0.0104519455, -0.0081098266, -0.0664492399, -0.0009564589, -0.0285841189, 0.0018614634, 0.0031313759, -0.0091625443, -0.0325573012, 0.0353531986, -0.0577533655, 0.0228147004, -0.0113570178, 0.0173803773, 0.0060079205, -0.0009077301, -0.048509568, 0.0245495904, -0.0000189809, -0.0247412082, -0.0109117944, 0.0342204496, -0.024746567, 0.0799347758, 0.0094489185, -0.0178357009, 0.032672286, 0.057962507, -0.0478164405, 0.0755263641, 0.0077247536, 0.0094445189, 0.0729139, -0.0226864573, 0.1256814003, -0.0220012758, 0.0079672467, -0.0110709686, 0.0788160115, 0.0143592758, 0.0344270319, -0.023162473, 0.0125124194, 0.0107650608, 0.0454345271, 0.0606344156, -0.0345119685, -0.0179262068, -0.0092024384, -0.0217932202, -0.0206894986, 0.0003906531, -0.0508681722, 0.0161358491, -0.0230446626, -0.0092155701, -0.0764823481, -0.0416463427, 0.0283214636, 0.0272006337, -0.0215980411, -0.0108304275, 0.0259656645, 0.0710196048, -0.0173959918, -0.0221594814, -0.0569053628, 0.0025010705, -0.0046447027, -0.0073840758, -0.0813538954, -6.08914192e-33, -0.08068946, -0.050840281, -0.0052239639, 0.0176511128, -0.0031450547, 0.0251871403, -0.0502907857, 0.0014739587, 0.014689059, 0.0284416582, -0.0076175998, 0.0261903182, 0.0253098439, -0.0133143207, -0.0216966402, -0.0094907405, 0.0477953069, 0.0121951113, -0.0355585627, 0.0176971182, 0.0507082902, -0.0201780256, 0.0718604326, -0.0956207588, 0.0702356771, -0.0089774625, 0.0187250674, 0.0091232182, 0.0309801493, 0.0507203229, 0.0023953724, 0.0278443396, 0.0324546918, -0.0004211663, -0.0316684544, 0.0316401087, -0.0970441177, -0.024021307, 0.0808823258, 0.0313351713, -0.022088103, -0.0373845287, 0.024892509, -0.0077880495, -0.0292234104, 0.0136638293, 0.0199424345, -0.0284150634, -0.0183843058, -0.0278848577, -0.0740796626, 0.0404104404, -0.0036833528, 0.0056093591, 0.0377194434, 0.024838319, -0.0076140845, -0.0000085088, -0.0769193992, 0.0047086803, -0.0100001628, -0.0009441869, 0.0650215968, 0.0203888882, 0.0158176292, 0.0180696175, -0.0189439002, 0.002377708, 0.0268309638, -0.0394063517, 0.0455620363, -0.0113503598, 0.0404477306, 0.0578479283, 0.0198651217, 0.0281763356, -0.0452027284, 0.0239318777, -0.0260744318, 0.028428033, 0.029917093, 0.0167529471, -0.0552196726, -0.0151995886, -0.0634855404, -0.0010612935, -0.0061567212, -0.0263439547, -0.0082705598, -0.0325051956, -0.0481837541, -0.0193003286, 0.0709989071, -0.009422374, -0.0098117543, -0.0023098914, -0.0049589588, 0.0395003408, 0.0023014622, 0.024043208, -0.0207046829, -0.0032714901, 0.0158960149, 0.0520355217, 0.0177371576, -0.0392177701, 0.0125261024, 0.0081091244, -0.024260819, 0.0225793887, -0.0178126954, -0.0013105681, -0.0510182828, -0.0170831289, 0.0235714335, 0.0083345035, 0.0038385899, 0.0467679985, 0.0458885506, 0.0026264056, -0.048216369, -0.0004764569, -0.0212332737, 0.0204361938, -0.0430673026, 0.0171320606, -0.0033215848, 0.0592313595, 0.0471084416, -0.0128560774, -0.0160061568, 0.0271863714, 2.566e-7, 0.0879524797, 0.065457195, 0.0083866892, -0.0031261449, 0.0385458991, -0.003542132, -0.007426667, -0.0065416759, 0.0122517394, -0.0085299369, 0.0273379628, 0.0099184299, 0.068350926, 0.0464938581, -0.0282129031, -0.050995782, -0.0317824446, 0.0014978762, -0.0275414623, 0.0165649466, 0.0528387316, 0.0407836437, -0.0222397521, 0.0239591673, -0.0494776219, -0.0478316732, 0.0668120012, -0.0510397069, -0.0144589441, 0.0220544264, 0.0263516326, 0.0276714098, -0.0102659417, -0.0144283492, -0.0122022759, 0.008220355, 0.0202424806, 0.0593921281, 0.0149528505, -0.0383389108, -0.005880292, -0.041105058, 0.0166386161, -0.0214232728, 0.0241615046, -0.0272575263, 0.0125222802, -0.0192267466, 0.0033513054, 0.0001723154, 0.021263754, 0.0048120101, -0.051582776, 0.0304854214, 0.0075402884, -0.0032724193, -0.0422906131, -0.0472444296, -0.0234847926, 0.0080627333, -0.0188948903, -0.0388280079, 0.0065105972, -0.0594676994, -0.0357206874, -0.0261464659, 0.0078196097, 2.277948488e-34, 0.0656321496, -0.0110753337, 0.0066945916, 0.0264645107, 0.0360005833, -0.0128803095, -0.02440813, -0.006918198, 0.021696765, -0.0679693148, 0.0128470603 ]
http://arxiv.org/abs/2402.01812v1
http://arxiv.org/pdf/2402.01812v1
Distilling LLMs' Decomposition Abilities into Compact Language Models
2024-02-02T13:23:15
2024-02-02T13:23:15
Denis Tarasov, Kumar Shridhar
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have demonstrated proficiency in their reasoning abilities, yet their large size presents scalability challenges and limits any further customization. In contrast, compact models offer customized training but often fall short in solving complex reasoning tasks. This study focuses on distilling the LLMs' decomposition skills into compact models using offline reinforcement learning. We leverage the advancements in the LLM`s capabilities to provide feedback and generate a specialized task-specific dataset for training compact models. The development of an AI-generated dataset and the establishment of baselines constitute the primary contributions of our work, underscoring the potential of compact models in replicating complex problem-solving skills.
Distilling LLMs' Decomposition Abilities into Compact Language Models: Large Language Models (LLMs) have demonstrated proficiency in their reasoning abilities, yet their large size presents scalability challenges and limits any further customization. In contrast, compact models offer customized training but often fall short in solving complex reasoning tasks. This study focuses on distilling the LLMs' decomposition skills into compact models using offline reinforcement learning. We leverage the advancements in the LLM`s capabilities to provide feedback and generate a specialized task-specific dataset for training compact models. The development of an AI-generated dataset and the establishment of baselines constitute the primary contributions of our work, underscoring the potential of compact models in replicating complex problem-solving skills.
[ 0.0244825557, 0.0607212372, -0.0301890559, -0.0063131643, -0.0495212004, 0.0301803164, 0.0243869051, 0.0178750046, -0.0340247341, -0.0035807514, -0.0024887903, 0.0057175965, -0.0067039924, 0.0292898118, -0.0170032736, -0.0165257007, 0.0282611102, -0.0685492679, 0.002676931, 0.0043182722, -0.0247362219, 0.0353204533, -0.0260391086, 0.0633001029, 0.0284074415, -0.0269890465, -0.0440224446, -0.0181894507, -0.0158160757, 0.0105492845, -0.0087323943, 0.024730375, 0.0724627674, 0.0311201792, 0.0000018498, -0.037403021, -0.0205434039, -0.0325300023, -0.0627296716, -0.0180318188, 0.0143681876, -0.0164511967, 0.0048736674, 0.0285124667, -0.0529167987, -0.0263693966, 0.0137734339, 0.0421084352, 0.0525904968, 0.090827018, 0.0175275523, -0.011633629, 0.0182126537, -0.0262072049, 0.0172215998, -0.0323606431, 0.0036959765, 0.0603463873, 0.0279144086, -0.0321408622, -0.0066367537, -0.0156914257, 0.0549708009, 0.0230835937, -0.0390968807, 0.0346098766, -0.0312647521, -0.0213059206, 0.0010741914, 0.0368122943, -0.0611678101, -0.0178085249, -0.0056326543, -0.028659353, 0.0021830448, 0.0004540586, -0.0476206988, 0.0596429557, -0.0011129639, 0.052500084, 0.0122942561, -0.0480539761, 0.0215542819, 0.0167586356, -0.042142231, 0.0917902663, -0.0180349462, -0.0417454094, -0.0007105845, -0.0188353453, -0.0556685627, -0.0344725698, -0.0093256487, 0.0650480688, -0.056621667, 0.0283040628, -0.0366084501, -0.0173211657, 0.0003597009, -0.0023791546, 0.0944786891, 0.0171049498, 0.0441968292, 0.0570829362, -0.0200359393, 0.0744357482, -0.0023258496, 0.023159055, -0.0220648479, -0.0020326299, -0.0804968327, -0.0195872337, -0.0342567302, 0.0617405549, -0.0309974384, 0.0078669116, -0.0148337986, 0.0187115949, -0.0154210124, 0.049538184, 0.0383006148, 0.0018278696, -0.039737381, -0.0203537196, -0.0620422401, 0.0147177977, -0.0387090854, 0.0550361685, 0.0106655629, -0.0518822707, 0.0014134741, -0.0138993179, -0.0083867246, -0.0287519842, 0.0340604521, 0.0729617029, -0.0094678123, -0.03930071, -0.0266763922, -0.0275706965, 0.0255433172, -0.0812152326, 0.008471258, -0.0827366859, 0.0470765494, -0.0335836709, -0.0167891122, -0.0454200506, 0.0052679772, 0.0227921791, 0.0048435493, 0.0701870844, 0.041302748, 0.0303170774, 0.0178150833, -0.0075411811, -0.0038198098, 0.0879346132, 0.0180303734, 0.0115306349, 0.0113094952, -0.0101458048, 0.0167610012, 0.0340636447, 0.0268244892, 0.0216834601, -0.0611384138, 0.0119148996, -0.0111149196, 0.0346965194, 0.0111771077, 0.0274409931, -0.0382189117, 0.0272204094, 0.0552404039, 0.0613516346, 0.0393857807, 0.0296743475, 0.027228659, 0.0240423437, -0.0110654868, -0.0105562611, -0.0500972681, 0.0196472928, -0.0179007966, 0.0289024729, -0.0367791094, 0.0272271745, -0.0311929528, -0.0545059443, -0.0059278272, 0.0114058843, 0.0095895911, 0.0282879733, 0.0539271124, 0.017934354, -0.0158504415, 0.0414064676, 0.0238328576, -0.0382421464, 0.0023947551, -0.0847781524, 0.0409172736, 0.0457856059, 0.0734774396, -0.0241296962, -0.0342083909, -0.0165172927, -0.0372522064, 0.0320333801, -0.0076795956, -0.0274417624, 0.0003727794, -0.0508134328, -0.0290918648, -0.0276829787, 0.0250730105, -0.0010818269, 0.0439992771, -0.0040698876, -0.0053099948, -0.0256407689, -0.0365987681, 0.0417380407, -0.0554134138, -0.0381436385, 0.0069626011, 0.0060031423, 0.0232559238, -0.017236175, -0.0014788511, 0.0056888498, 0.0332038328, -0.0296294969, -0.005797897, -0.0204061344, -0.0204396416, -0.0588375032, 0.043164596, -0.0339437388, 0.0196235385, 0.0598173663, -0.0518029965, -0.0241345689, -0.0061988286, -0.0210167579, 0.0189563408, -0.0401487611, -0.0025729055, -0.0090889689, -0.0025941911, -0.004054883, 0.0765134692, -0.0554402173, 0.0349822305, 0.0290007759, -0.0326958634, -0.0258215554, -0.0622252785, 0.0149865868, -0.0022961739, -0.0081538958, 0.020068258, -0.002630085, 0.0519084185, -0.0162833575, -0.0320711844, -0.0385317318, -0.0125244809, -0.0105502103, 0.0139754657, 0.0454711504, -0.009356495, 0.0021650754, -0.0024277265, -0.012011881, -0.0065549063, 0.0526699387, 0.0055193971, 0.034353599, 0.0075826766, -0.0295499377, -0.0235247053, -0.0385468788, -0.0085362354, 0.0268468224, -0.0558421426, 0.0254007634, -0.0572846346, 0.0262885503, -0.0245635714, 0.0487359464, -0.0111091686, -0.0463816822, 0.0190491118, -0.0519495383, 0.0181108266, 0.1001805589, 0.0030882473, 0.0518709272, 0.1040504947, 0.006583794, -0.0629649684, 0.0298229903, -0.0278421454, -0.0255195517, -0.047376629, -0.037488386, -0.0015153275, 0.087680459, -0.0209808666, 0.0146940993, -0.0581535548, 0.0029930335, 0.0069823032, -0.0365431979, -0.0379108004, 0.0043529575, -0.0219288338, 0.0543977506, -0.0448132567, -0.0515793227, 0.086487174, 0.0121047068, -0.0153423203, -0.0352613181, -0.0418028906, -0.0400832556, 0.0811734498, -0.0025128115, -0.0079511702, -0.0154361501, -0.0118669393, -0.0827006176, -0.0349813402, 0.026125297, -0.0268784333, 0.0362138562, -0.0436343998, -0.0018292131, 0.000998826, -0.0336066075, -0.0474706925, -0.0143111134, -0.0290579945, 0.0195589382, -0.0001366114, -0.0016723482, -0.0518058725, 0.0056279143, 0.0307477303, 0.0334876142, 0.0071160817, -0.0014373179, -0.028350452, 0.0163449459, 0.0653021038, 0.0581754297, 0.0191774294, -0.0409196094, 0.0440524183, 0.0370245725, 0.057642024, -0.0230621491, -0.0036732429, 0.0438043922, 0.0239321087, -0.0297802519, 0.0089092981, 0.0421241112, 0.0094653713, -0.0761024356, -0.0483661927, 0.1051916704, 0.0410056077, -0.0368254744, 0.0141226724, -0.0400238074, 0.0320793428, 0.024855217, 0.0489410087, -0.0566198044, -0.0213032365, 0.009227898, 0.0131828487, 0.0111082988, -0.0222353879, -0.0168709271, -0.1325613707, 0.0146126607, 0.0227948651, -0.0155692184, -0.0072584124, -0.0310560912, -0.0222010445, -0.0118825734, 0.0373948775, 0.0330936424, -0.0090866657, -0.0333543941, 0.0087270346, -0.0080442177, -0.0385706052, 0.0360165983, -0.0018922826, 0.0660605207, 0.0434200913, 0.0222498327, 0.0060770325, -0.0360354744, 0.0333931781, 0.020321304, 0.0147775961, -0.0057744971, 0.0042314734, -0.0069039511, 0.0120653156, -0.0028034425, 0.0541109778, -0.0375974104, -0.0256565306, 0.022322759, 0.1119487137, -0.0350554101, -0.0124492077, -0.0076647564, -0.0290396363, 0.0021179926, 0.0633904785, 0.0333850756, -0.0387542397, -0.069151558, -0.0013875365, -0.0418312885, -0.0401577801, -0.0220800936, -0.0016139313, -0.0009015193, 0.0226390753, -0.0275593661, -0.0323689952, 0.0370335132, 0.0533844717, -0.0180584043, -0.0267593488, 0.0151318694, 0.0421960652, -0.0461150855, 0.0207119994, -0.0373274274, 0.0061374148, -0.0320060924, 0.0144966953, 0.0058439318, -0.0497797765, -0.024871679, -0.0367000364, -0.0942754447, -0.0532083623, -0.0010901988, 0.0470472313, 0.0342141837, 0.0448615514, -0.001966797, -0.0613704287, 0.0371545404, -0.0077987495, -0.0737700313, 0.0230555944, 0.0402877405, -0.0103461966, 0.0314038247, 0.0535234027, -0.0311651379, 0.0232843459, -0.0096219266, 0.0422658399, -0.0277766772, 0.0199289322, 0.0303224158, -0.0029059926, -0.0238952246, 0.0085811615, -0.0135717038, -0.0296164155, 0.0608779006, -0.0158522855, -0.0111163659, -0.0269129518, 0.0072093955, 0.0349860713, 0.010246533, 0.0224513449, -0.0038535104, 0.0003596653, 0.0407257676, -0.0098700719, 0.017770499, 0.0442876369, 0.0251272805, 0.0360908583, 0.0060631246, -0.0113889379, 0.0082995845, -0.0334708579, 0.0131087471, 0.0033275695, 0.0440465137, 0.0238045398, 0.019402368, -0.0700236782, 0.011911042, -0.0473224819, -0.0614847615, 0.0177120306, 0.0093963519, 0.0543175898, 0.0202009995, -0.0006438791, -0.0232905578, 0.0003181419, -0.0079394588, -0.0138189951, -0.0098898904, -0.0084775155, 0.0320570469, 0.043689575, 0.0045293705, -0.0194681659, 0.0932739452, 0.0155555299, 0.0519068018, -0.0206960756, 0.051052589, -0.0405368842, -0.0144539755, -0.0323495194, 0.0540539622, -0.0247199163, -0.0121797705, -0.0325634815, -0.075626947, -0.0163201466, 0.0414923355, -0.0096991463, -0.008138679, 0.0265567824, 0.0431844071, 0.0091027124, -0.010339288, -0.0066473586, 0.0054536164, -0.0095690424, -0.0321727581, -0.0336484984, -5.908938269e-33, -0.0101695554, -0.0248349998, 0.0628966093, -0.0453726463, -0.024503218, 0.0105752964, -0.0146275908, 0.0037468034, -0.00934627, -0.0009782814, -0.0392454639, 0.0392076336, -0.0048722127, 0.0399914198, 0.0132391267, -0.0223129373, 0.0177623183, -0.0341456421, -0.0369672216, 0.018799603, 0.0339116678, -0.0126001565, 0.0355681926, 0.0017834299, -0.0384505913, 0.0021423453, -0.0328942537, 0.0679775327, -0.033820767, 0.0939143151, -0.0234046336, -0.0005471209, 0.0413162746, -0.0429697931, -0.0147664696, 0.0247377623, -0.0795702487, -0.0496510081, 0.0363010764, -0.0221937615, -0.0385954268, -0.0241297819, 0.0189459864, 0.0042484975, -0.0068497905, -0.001432933, 0.003855818, -0.0641498268, -0.0218298659, 0.0005167268, -0.0141073763, -0.0244685803, -0.0193191376, -0.0152928885, 0.0432900116, 0.0200781152, -0.039680697, -0.0044296021, 0.0149953095, 0.0302683841, 0.0252968855, 0.0391730256, 0.0710484684, 0.0046194727, 0.003465367, 0.0381917171, -0.01580102, 0.0069586844, -0.0504417457, -0.0233773515, 0.0568409003, 0.0845193714, 0.0152091375, 0.0040740441, 0.0172641706, 0.0003128477, -0.0540075526, 0.0063492646, 0.0537785962, 0.0751030073, 0.0418416262, 0.0071311407, -0.0240677856, -0.0024422552, -0.0460396186, -0.0095126899, -0.0351342112, -0.0274484139, 0.0390746109, 0.0426534042, -0.0243600551, -0.069038868, 0.0292890165, -0.047927808, 0.0078849094, 0.0411643609, -0.0103222681, 0.0162484795, 0.0089138662, -0.0126986969, -0.0644442439, -0.0568090081, 0.0027353598, -0.0150128035, -0.0021122985, -0.0016717754, -0.0044099772, 0.0427049398, -0.0703146756, -0.0098708346, -0.0407389589, 0.0401055962, 0.0051282141, 0.0347001515, 0.0690106302, -0.0008258764, -0.0126025043, 0.0134104704, -0.0132432487, -0.0614334121, -0.0212017223, 0.0236250535, 0.002873729, 0.0542443469, -0.0178993046, -0.0094360886, -0.0603462309, -0.0030559832, 0.0456663445, -0.0209892578, 0.0028952244, 0.027475968, 2.495e-7, -0.01896617, 0.0357949995, 0.015164909, 0.0320229009, 0.0318187512, 0.0160672609, -0.0314905234, -0.0251037292, -0.0100942915, -0.0157857426, 0.0426916704, 0.0570560768, 0.0443741791, 0.0270408541, -0.0490212142, 0.0258387383, -0.0461629964, -0.016626168, -0.0704205036, -0.0268412698, 0.0011287038, 0.1072448418, 0.0330150314, -0.0305134039, -0.0233914368, -0.0047207256, 0.0207190756, -0.0313692875, 0.0018455789, -0.0303465985, 0.015757788, 0.0348138213, -0.012835877, 0.0048447535, 0.009517597, 0.0374511108, -0.0379315838, 0.0933110863, 0.0136520676, -0.0387419872, -0.0211105961, -0.0268761516, -0.0045666532, -0.0339502357, 0.0713009387, -0.0631074756, -0.0129450159, -0.023585584, 0.0056526246, -0.0167421885, -0.0360993966, -0.0258967504, 0.0205833185, 0.0229587704, 0.0085789571, -0.0003224373, 0.0198671091, -0.0901254788, -0.0054765255, 0.0606004186, -0.0286571868, -0.0468778759, -0.0485271849, 0.0076462473, 0.0408626087, -0.0618475787, -0.0202046912, 2.501854907e-34, 0.0118930144, -0.0028347271, 0.0230191387, 0.069627963, 0.0015655798, -0.0306787156, -0.002691993, 0.016518699, 0.0424797498, -0.0958246812, -0.021754615 ]
http://arxiv.org/abs/2402.01391v2
http://arxiv.org/pdf/2402.01391v2
StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
2024-02-02T13:14:31
2024-02-05T13:28:23
Shihan Dou, Yan Liu, Haoxiang Jia, Limao Xiong, Enyu Zhou, Wei Shen, Junjie Shan, Caishuang Huang, Xiao Wang, Xiaoran Fan, Zhiheng Xi, Yuhao Zhou, Tao Ji, Rui Zheng, Qi Zhang, Xuanjing Huang, Tao Gui
cs.SE
cs.SE, cs.CL
The advancement of large language models (LLMs) has significantly propelled the field of code generation. Previous work integrated reinforcement learning (RL) with compiler feedback for exploring the output space of LLMs to enhance code generation quality. However, the lengthy code generated by LLMs in response to complex human requirements makes RL exploration a challenge. Also, since the unit tests may not cover the complicated code, optimizing LLMs by using these unexecuted code snippets is ineffective. To tackle these challenges, we introduce StepCoder, a novel RL framework for code generation, consisting of two main components: CCCS addresses the exploration challenge by breaking the long sequences code generation task into a Curriculum of Code Completion Subtasks, while FGO only optimizes the model by masking the unexecuted code segments to provide Fine-Grained Optimization. In addition, we furthermore construct the APPS+ dataset for RL training, which is manually verified to ensure the correctness of unit tests. Experimental results show that our method improves the ability to explore the output space and outperforms state-of-the-art approaches in corresponding benchmarks. Our dataset APPS+ and StepCoder are available online.
StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback: The advancement of large language models (LLMs) has significantly propelled the field of code generation. Previous work integrated reinforcement learning (RL) with compiler feedback for exploring the output space of LLMs to enhance code generation quality. However, the lengthy code generated by LLMs in response to complex human requirements makes RL exploration a challenge. Also, since the unit tests may not cover the complicated code, optimizing LLMs by using these unexecuted code snippets is ineffective. To tackle these challenges, we introduce StepCoder, a novel RL framework for code generation, consisting of two main components: CCCS addresses the exploration challenge by breaking the long sequences code generation task into a Curriculum of Code Completion Subtasks, while FGO only optimizes the model by masking the unexecuted code segments to provide Fine-Grained Optimization. In addition, we furthermore construct the APPS+ dataset for RL training, which is manually verified to ensure the correctness of unit tests. Experimental results show that our method improves the ability to explore the output space and outperforms state-of-the-art approaches in corresponding benchmarks. Our dataset APPS+ and StepCoder are available online.
[ 0.000011608, 0.075938046, -0.0261998046, -0.0070111277, -0.0103936596, 0.0024879486, -0.052993495, 0.0012006167, -0.015146913, 0.0256645847, 0.0047209212, 0.0226513632, 0.0010767874, 0.0319671296, 0.0260479636, -0.0180589743, -0.0017836711, -0.0460651554, -0.0531873778, 0.0075900452, -0.023644438, 0.0148723191, 0.0197991561, 0.0567800738, 0.0190886576, -0.0240718927, -0.0200387873, 0.0350110382, -0.0127857067, -0.0387424193, 0.0305238236, 0.0464752018, 0.0106464708, 0.0263774209, 0.0000024258, -0.0384137109, 0.0060524601, -0.0041611143, 0.0126105472, 0.0275178645, -0.0053894408, -0.0011044745, -0.0062090531, 0.0317425281, -0.0259366278, -0.0395001136, 0.0298459828, -0.0263704173, 0.053530965, 0.0813154206, 0.0325925685, -0.0077703316, -0.0085224649, -0.0199935902, 0.0597263314, 0.0015968209, -0.008809546, 0.0343350843, 0.0520024896, -0.0324636176, -0.0217589028, -0.0166960005, 0.0580710024, -0.0113483826, -0.0375579782, 0.0740389228, -0.0102504995, -0.0150667783, 0.0021472625, 0.0251717865, -0.090521276, -0.0298913661, 0.0384171978, -0.0139643066, -0.0271097235, -0.0363016874, -0.0063040801, 0.0359985605, -0.0334890969, 0.0025866549, 0.0079168808, -0.0353124067, 0.0023056071, 0.0017419541, -0.0336656235, 0.0294929799, -0.0049391547, -0.0280213971, -0.0289564785, 0.0052160039, 0.0409879163, -0.047891017, -0.0514682159, 0.0416203141, -0.0683825761, -0.0007260714, -0.0578690544, -0.0047426964, 0.0184245463, -0.0169581994, 0.0404784195, 0.0284818057, -0.0038963433, -0.0062336358, -0.0745177045, 0.0522330664, -0.0130271055, -0.0175572243, -0.0431648977, 0.0451801531, -0.0350862704, 0.0253957696, -0.030803185, 0.0484187081, -0.0070289117, 0.0265545417, -0.0626142323, 0.0332359001, 0.0117970714, 0.0970205367, 0.0057687117, -0.013611964, -0.0374524035, 0.0209701136, 0.0304764733, -0.0200481489, -0.0380173028, -0.0699716806, 0.0193015467, -0.0607768781, -0.0050829863, 0.0184832029, -0.0301634502, -0.0301171429, 0.018714346, 0.0673956499, -0.0025011047, 0.0075558079, -0.0204071458, -0.0423000082, 0.0189227778, -0.062087018, 0.0006952843, -0.1023580059, -0.0401511788, 0.003406157, -0.0334035009, -0.0215393379, 0.0177264791, 0.0011825716, 0.0312230494, 0.0078954557, -0.0213988498, 0.0107050072, 0.0049108202, 0.0118879694, -0.0103790415, 0.0662083179, 0.0483315624, 0.0418811515, -0.0200545974, -0.0265439954, 0.0419201739, 0.040887218, 0.0123530384, 0.0123829516, -0.0025241016, 0.0271395892, 0.0066392086, 0.0154709229, 0.0368362702, 0.0153465439, -0.0179696828, 0.0215751901, -0.0149627337, 0.0157146621, 0.0112921521, 0.0384265408, 0.0784678757, 0.0311515331, -0.0143013271, -0.0034046164, -0.019358702, 0.0506109372, 0.0119814742, 0.038927123, 0.0026010084, 0.0662340224, -0.0074792751, -0.0605800673, 0.0206269957, -0.0073735416, 0.0113205016, 0.0355680138, 0.0346689783, 0.0013561809, -0.0778951347, -0.0200196672, 0.0195841435, -0.0725245848, -0.0297732297, -0.0526592545, 0.0864206553, 0.0376982987, 0.0403468683, -0.0343833789, -0.0128327552, -0.0329493321, -0.0055826749, 0.0046217199, 0.0217220765, 0.0020326439, 0.0051817195, -0.0555616133, -0.0235984642, -0.0260059014, -0.0086161327, 0.0669388399, 0.0685568303, -0.0330769978, 0.0308109839, 0.0141452691, -0.0912181512, 0.0334068313, -0.0214610603, -0.0053608394, 0.0498983003, -0.0232045408, 0.0210959744, -0.0456549861, -0.04773679, 0.00340132, 0.0337256677, -0.0185705256, -0.0166277606, -0.0347484984, -0.049384214, -0.0684528127, -0.0066034221, -0.0415563248, -0.047599148, 0.0049104076, -0.056460388, -0.0043985904, 0.0301895179, -0.0199443214, 0.025961617, 0.01379734, 0.0127536189, -0.0138839893, 0.014567364, -0.0182773918, 0.0466296859, -0.0287322588, 0.0255369619, -0.0104203941, 0.0635016188, -0.0009924977, 0.0155787263, 0.0199186709, 0.0109542552, -0.0357066579, 0.0265978724, 0.019333601, 0.0778333768, -0.015914645, -0.0529190712, -0.0588454641, 0.0432346389, -0.0227292776, 0.0226481836, 0.0046108402, 0.0475923531, -0.0019304904, -0.0003536798, -0.0029825815, -0.0115406718, 0.0350092202, 0.0010978107, -0.0034885886, -0.0226518251, -0.0421922468, -0.021151226, -0.0132686179, -0.01137345, 0.0338648781, -0.0416524187, 0.0391809866, -0.068678081, 0.0497474708, 0.0336228013, 0.0189914964, -0.0245821644, -0.045484338, 0.015115154, -0.0582444668, 0.0570609234, 0.0516269989, -0.0049696537, 0.0329478048, 0.0252145343, -0.0012631782, -0.0641337782, 0.0380280986, 0.0078467829, -0.0569202304, -0.0188964661, -0.0321455225, 0.0557790734, 0.0659197569, 0.0004928794, -0.0123773757, -0.0601166077, 0.033980865, 0.0121894181, -0.0133432476, 0.0375399739, 0.004099248, -0.0236502737, 0.0477185547, -0.0404736772, -0.0836898908, 0.0638669133, -0.0224413276, -0.012492639, -0.026447149, -0.0286898483, -0.0610872731, 0.009194958, 0.0197850894, 0.02875554, -0.0190915149, -0.0278242752, -0.0075081876, -0.0008668472, -0.0169463698, -0.0328763351, 0.0654814392, -0.0184602868, -0.0033991253, 0.0008668312, -0.0349148586, -0.0472094715, 0.0365388319, 0.0084989499, -0.0158891696, 0.0191578194, -0.0231359936, 0.0442951024, -0.0086498559, 0.0121513773, 0.057871215, -0.0027639107, -0.040787261, 0.0005890593, -0.0256481431, -0.0054470254, -0.0527552404, -0.0012092931, -0.0367436111, -0.0083820252, 0.0053933584, 0.0670522377, 0.0635696948, -0.0690141246, 0.0171371922, 0.0355129763, -0.0176158566, -0.0011079778, 0.0811860859, 0.0573656149, -0.0713677481, -0.0536492504, 0.0893492401, 0.0204023123, -0.0457319617, 0.0099830553, 0.0007166112, 0.1009442732, 0.0667712614, 0.0682935193, -0.0708172023, -0.0109503567, -0.0025356982, 0.0350713134, -0.0192597583, -0.0033858551, -0.0179153979, -0.1322353333, 0.0381954089, 0.0145054972, -0.0195050463, -0.0322396271, -0.0206943974, -0.0344025269, 0.0206909534, -0.0438906364, 0.0574847981, -0.010857041, 0.0276445523, 0.0056554847, -0.0312261637, -0.0115879811, 0.0250175688, -0.0329991318, 0.0270710289, 0.1405014694, -0.0016321017, 0.0036812851, 0.0114459246, 0.0170777161, 0.0120891146, 0.0058496157, -0.0410578176, 0.0120751588, 0.0152870594, -0.009100209, 0.0467961952, 0.0359362774, -0.0366780981, -0.0140368184, 0.0726320893, 0.0443770997, 0.0144250598, -0.0400324985, -0.0150068756, -0.0090414295, 0.0086639067, 0.0239520483, 0.0302726235, -0.0397045612, -0.0556706935, -0.0666364357, -0.0257289596, -0.076171793, 0.0135737518, -0.0149169806, -0.0016054404, 0.0175126288, -0.0262723211, 0.001473038, 0.0068071885, 0.024203429, 0.003951571, -0.0445231795, 0.0024279351, -0.0156297497, -0.0741841346, -0.0002713759, -0.0204704367, 0.018078845, -0.0331168845, -0.0073460992, -0.0176275503, -0.0354833603, 0.0125640547, 0.0257265307, -0.0743795633, -0.0655002072, -0.0587024428, 0.0938617215, 0.0096772257, 0.0697405264, -0.0312203579, -0.037193954, 0.008541028, -0.0189386457, -0.0216575302, 0.0091654332, 0.0225040391, 0.0060817511, 0.0183989648, -0.0186993647, -0.0661403015, 0.0044798795, 0.0272298045, -0.0045870845, 0.0152613902, 0.0121131539, 0.0362039432, -0.037625283, -0.0075472859, -0.005380183, -0.0117987944, 0.0120420773, -0.0008082127, 0.0066336365, -0.0209326874, -0.0351521075, 0.0245832447, 0.0244733375, -0.011465461, 0.0459140167, -0.0095653497, -0.0099545931, 0.0721888095, -0.0151107162, 0.0612306036, -0.0105422465, 0.0340526477, 0.1169488132, -0.0053460714, -0.0053970935, 0.034603104, 0.0099373646, 0.0225984361, 0.0146473898, 0.0684327781, 0.0248065274, 0.0549773462, 0.0406205356, -0.012040318, -0.0155306766, -0.0463366508, -0.0397545993, 0.0174136665, 0.0389043652, 0.0489173904, 0.0226935055, -0.0256795343, 0.0278383121, -0.0113194743, 0.0349843465, -0.0452004373, -0.0526078679, 0.0200768448, 0.0270693228, -0.0077788313, -0.0494321361, 0.1002105325, 0.0198780242, 0.0097828535, -0.0074096718, 0.0159218777, -0.0382127278, -0.0049837376, 0.0402888544, -0.0072190114, 0.0037290305, -0.0118932854, 0.0001568423, -0.0417889878, -0.012256884, 0.0639909133, 0.0360862315, 0.0009155627, 0.0371471979, 0.0489509068, -0.0129107824, -0.0049158777, -0.035019394, -0.0140931681, -0.0019418795, -0.0694803521, -0.0088031981, -6.369952459e-33, -0.0166645739, -0.0196228363, 0.02377267, 0.0082798759, -0.0155827142, -0.0229323246, -0.0517696515, -0.0179398041, 0.0456605554, -0.0371057279, 0.0292692054, 0.0155427968, -0.0210245606, 0.018019937, 0.0480460972, 0.0280514788, 0.0683255717, 0.0205383375, -0.0641482472, 0.0423548333, -0.0732747465, 0.0356647745, -0.0255844761, -0.0249368567, -0.0654247776, 0.0016024176, 0.0291338563, 0.0002994711, -0.0071477825, 0.0382895134, 0.0267513897, -0.002778884, -0.0169643443, -0.0488334857, -0.0415442586, 0.0009595628, -0.0437825434, -0.0401573777, -0.0014221665, 0.0113234334, -0.0299104955, -0.0739670619, 0.0532771721, 0.0064720409, -0.011717231, 0.0007707638, 0.0057650236, 0.0162661336, -0.0102039315, -0.0466486961, -0.0552805103, 0.0298394617, -0.0278190095, -0.0248190481, -0.0065385047, 0.0378265344, -0.026031835, 0.0127864005, 0.0339324847, 0.0076563722, 0.0308715738, 0.0716603994, 0.0668947101, 0.0403859541, 0.0256266426, -0.01316131, 0.0411651246, 0.0055037006, -0.0277979821, 0.0137513718, 0.0405034125, 0.032098338, -0.0108644245, 0.0296711307, 0.0047581336, -0.0089377528, -0.0179792233, -0.0004319022, 0.01025433, 0.0386494659, 0.048308976, 0.0081705302, -0.0214345921, -0.0163864121, -0.0600021891, -0.0024572031, -0.0121671809, -0.0560485572, 0.0549685173, 0.0271819085, -0.0248853788, -0.026516743, 0.0186914615, -0.0148683917, -0.0049076593, 0.0347529463, -0.0763801485, 0.0211828202, -0.0287446231, -0.0013645778, -0.0118002268, -0.0396590605, 0.0210530777, -0.0486422554, 0.0585928932, 0.0315501206, 0.0216729604, 0.0087795565, -0.0678475052, 0.0190333128, -0.0789606199, 0.0327629484, -0.0120569058, 0.0283301733, 0.0108188633, -0.0129698291, -0.0046540969, 0.0503179431, -0.0060381629, -0.0394377634, -0.0421424173, -0.0122049963, 0.0153632984, 0.0260481648, -0.0400679447, -0.0222943109, -0.0583136864, 0.0408789627, 0.0139757879, -0.0498803258, -0.0615385324, 0.0356405601, 3.031e-7, -0.0548793077, 0.0451574139, 0.0122596715, 0.0544849448, -0.0005186884, 0.036249876, -0.0091806957, -0.0014608243, 0.0203963686, 0.0050225556, -0.0265006498, 0.0047878888, 0.0461248681, 0.0075867381, -0.0497419313, 0.0263339821, -0.0187040381, 0.0187435206, -0.0715497658, -0.0174831022, -0.0067266389, 0.058711715, -0.0001761619, 0.0155811058, 0.055441834, 0.0243645888, 0.009146492, -0.0104437834, -0.0050443043, 0.011464254, -0.0818831176, 0.028751811, -0.0135319866, -0.034826722, -0.0117336381, -0.0061053499, -0.0154620353, 0.054017812, 0.0229659956, 0.0423951596, 0.0779191479, 0.0069190557, -0.0088137221, -0.0587150902, 0.0358228572, -0.0561226755, 0.0221877601, -0.0384180248, 0.0028521502, -0.0177584179, -0.0210457221, -0.0348071046, 0.0361403264, -0.0146054458, 0.0019963854, -0.0127873132, -0.0380791612, -0.0147603545, -0.0448876768, 0.0264266487, -0.0137042981, -0.0199259184, -0.0706120133, 0.0617707558, -0.037863072, -0.0378173478, -0.0059546391, 3.109309291e-34, 0.0090277232, -0.0437445268, 0.0100041367, 0.0077224458, 0.0434860252, -0.0283067599, -0.0348850973, 0.0547493696, 0.036358308, 0.0049050651, -0.0446162857 ]
http://arxiv.org/abs/2402.01383v2
http://arxiv.org/pdf/2402.01383v2
LLM-based NLG Evaluation: Current Status and Challenges
2024-02-02T13:06:35
2024-02-26T14:55:48
Mingqi Gao, Xinyu Hu, Jie Ruan, Xiao Pu, Xiaojun Wan
cs.CL
cs.CL
Evaluating natural language generation (NLG) is a vital but challenging problem in artificial intelligence. Traditional evaluation metrics mainly capturing content (e.g. n-gram) overlap between system outputs and references are far from satisfactory, and large language models (LLMs) such as ChatGPT have demonstrated great potential in NLG evaluation in recent years. Various automatic evaluation methods based on LLMs have been proposed, including metrics derived from LLMs, prompting LLMs, and fine-tuning LLMs with labeled evaluation data. In this survey, we first give a taxonomy of LLM-based NLG evaluation methods, and discuss their pros and cons, respectively. We also discuss human-LLM collaboration for NLG evaluation. Lastly, we discuss several open problems in this area and point out future research directions.
LLM-based NLG Evaluation: Current Status and Challenges: Evaluating natural language generation (NLG) is a vital but challenging problem in artificial intelligence. Traditional evaluation metrics mainly capturing content (e.g. n-gram) overlap between system outputs and references are far from satisfactory, and large language models (LLMs) such as ChatGPT have demonstrated great potential in NLG evaluation in recent years. Various automatic evaluation methods based on LLMs have been proposed, including metrics derived from LLMs, prompting LLMs, and fine-tuning LLMs with labeled evaluation data. In this survey, we first give a taxonomy of LLM-based NLG evaluation methods, and discuss their pros and cons, respectively. We also discuss human-LLM collaboration for NLG evaluation. Lastly, we discuss several open problems in this area and point out future research directions.
[ 0.0334375761, 0.0217239726, 0.0070879031, 0.0256338976, -0.0640479773, -0.0014772029, -0.006828154, 0.0027227846, 0.0284797475, -0.0742750689, -0.0398850292, -0.0496460013, 0.015200885, 0.0080924872, 0.0270865336, -0.0069424259, 0.0112047782, -0.0010469477, 0.0069096428, 0.0293043703, -0.0096447011, 0.025245389, 0.0008211719, 0.0600895882, -0.0023372262, 0.0105707683, 0.0161788333, 0.0160652008, 0.0276759993, -0.0554202199, -0.0103031257, 0.0212520659, -0.0299208667, 0.0187432077, 0.0000018838, -0.0681776851, -0.0033172809, -0.0041874344, 0.0063254721, 0.0397564769, 0.0762783065, 0.0209090617, 0.0034243285, 0.029851146, -0.0460533872, 0.0207879022, 0.0005524835, 0.0317730419, 0.0688478574, 0.0651408061, 0.0149162626, 0.0134200267, -0.0074075167, -0.0168543272, 0.0167752672, -0.0329098329, -0.0039016134, 0.0395422578, 0.0199560523, 0.011038634, 0.0274387691, 0.0254605915, -0.0001663761, -0.0172733162, 0.0106119309, 0.0283029247, -0.0487380885, -0.0210082997, -0.01629843, 0.0540459305, -0.0087441579, -0.0174712986, 0.0284499247, -0.0173881873, 0.0238523819, -0.0134949712, -0.0309597608, 0.0421073474, -0.0030389999, 0.030127896, 0.034974061, 0.0330221392, 0.0278482828, 0.0370499194, 0.0361527279, 0.0566646829, 0.0284680706, -0.0041297222, -0.0135129532, 0.0160841756, -0.0028729432, -0.0591942072, -0.0039428789, 0.0304805692, -0.0460333079, 0.0157311857, -0.0398451686, 0.0110571124, 0.0577218048, -0.0423444621, 0.0439418107, 0.0222023986, 0.0077442848, 0.0055167731, -0.0354351886, 0.0584963188, 0.0137860784, -0.0163202845, -0.0605291575, 0.0305625424, -0.0575349405, -0.0120548978, -0.0451047644, 0.0371009409, -0.0326695293, -0.0453502983, -0.0709910542, 0.0143512553, -0.0029130932, -0.0192272626, 0.0193462782, 0.0087749073, -0.0296750255, 0.0201558694, -0.0316713266, -0.0162974969, -0.0076490282, 0.0117851449, 0.0353490114, -0.0408669189, 0.0080053331, 0.0511589721, -0.0061800219, 0.0046785148, -0.0072191302, 0.1048588306, 0.0023199532, -0.0144048855, -0.0431671068, -0.0624903627, -0.0427456126, -0.0619296953, -0.0047310838, -0.0676030815, 0.0108959042, -0.0023609751, -0.0201832354, -0.0170243643, 0.0226188079, 0.0350217894, 0.0011389018, 0.020726312, -0.001951314, 0.0140933478, 0.0419520512, 0.0116973855, 0.00985392, 0.0548721887, 0.0528403111, 0.0420739464, 0.0341599621, 0.0181151871, 0.0200867001, 0.0465250202, -0.004675705, -0.0150413951, 0.0199426021, -0.0352548286, -0.0275201872, 0.0380019546, 0.0248249508, 0.0857041925, -0.0320393704, 0.0100494176, 0.0282718893, 0.0238091294, 0.0110404631, 0.0119744828, 0.1021503881, 0.0365394838, 0.0161921773, 0.0339952633, 0.0044740774, 0.0148367463, -0.0488112196, 0.0210607983, 0.0551351607, 0.042999018, 0.0041698939, -0.0675279796, -0.0322393775, 0.0084784729, 0.0089956736, -0.04472683, 0.008401922, 0.0209337976, -0.0636240691, 0.061953485, -0.0000812552, -0.0625014901, 0.0363223925, -0.058221899, 0.009080369, 0.0461916849, 0.0779150128, 0.0307682417, -0.0350393578, 0.0198717061, -0.0138229681, 0.0726522878, 0.0225358009, 0.0033974922, -0.0097696818, -0.0389763974, -0.0057018618, -0.0093220156, 0.021626357, 0.0086831553, 0.0110382102, -0.0033890572, 0.0548555255, -0.0278400127, -0.0650654361, 0.0475542955, -0.0257035065, -0.0090978127, 0.0238238983, -0.0384246521, 0.0460243598, 0.0182558727, -0.0246806331, 0.0605208129, 0.0210116152, -0.0255557615, -0.029977493, 0.0258492138, -0.0254855901, -0.0445551351, 0.0262203515, -0.0618618578, 0.0278882366, -0.0172523074, -0.0391996168, -0.0422861092, 0.0009791137, -0.0644792989, 0.0135387238, -0.0597220957, 0.0382331274, 0.0454566777, -0.0095927473, -0.0568152927, 0.0577940568, -0.0029282607, 0.0234763883, 0.0345774032, 0.0313959382, 0.0489452109, -0.0361875743, -0.0311780162, 0.0002013295, -0.017828105, 0.0076269293, 0.0400041342, 0.0661005601, -0.0667280406, -0.0789269358, -0.0881029516, 0.020114081, -0.0085315779, 0.0494468622, 0.0232857764, -0.0295177642, -0.0097184023, 0.0240560379, -0.0419530161, -0.001569949, 0.0774050727, -0.0178256724, 0.0501383021, 0.0056233113, -0.0273674261, -0.0380774103, 0.0323883705, 0.0170713738, 0.030893933, 0.0513136126, -0.0072699431, -0.07504078, 0.0377125591, -0.06129333, -0.0523811691, 0.0111682974, -0.0647153035, 0.0249941237, 0.0275310986, 0.0314843841, -0.0030559853, 0.0400943086, 0.0067503382, 0.0249154642, -0.0071233874, -0.0347242057, -0.03064196, -0.0338383242, -0.0310997106, 0.0255273264, -0.0338745117, 0.0326306038, 0.0519365147, 0.0137317227, 0.0032948242, -0.0398004949, 0.0312509127, -0.0442337245, -0.0362268873, -0.0303609353, -0.020008821, -0.0285680499, 0.0333403572, -0.0182247255, -0.0726101398, 0.0386978313, -0.0795442536, 0.0146346958, -0.0432261787, -0.0044809282, -0.0513005555, 0.0412448309, 0.0023464416, 0.0253773071, -0.0112930313, 0.0001596854, -0.0521696769, 0.0242269523, -0.0057998467, -0.0512199104, 0.0258512702, -0.0681319237, -0.0013317281, 0.0156465862, 0.0094654886, -0.0618124679, -0.0226713419, -0.008660526, 0.0008545483, 0.0400261767, 0.0153318914, -0.0119437128, 0.0188044086, -0.0074008075, -0.0243620034, -0.0026466697, -0.0107709495, -0.0023767855, 0.0494528152, 0.0617813431, 0.0211568102, 0.0028426722, 0.0098684216, -0.0022297564, 0.0307927057, -0.0023715962, 0.0514211021, -0.0062475684, -0.0005349351, 0.0065362165, -0.0199714135, -0.0238590632, 0.0348459147, 0.0284634475, -0.0406317785, -0.0369087532, 0.1251871288, 0.0427841842, 0.0029060075, 0.0120495996, -0.0211637784, 0.0593775846, -0.013929449, 0.0163656287, -0.0678226799, -0.0236059744, -0.0118703805, 0.0243511535, -0.0218769535, -0.000710091, -0.0279224832, -0.1272988617, 0.0357610993, 0.0388214327, -0.0290674362, 0.0058508818, -0.004772197, -0.0374724083, -0.0147602726, -0.0151893236, -0.0000232945, -0.0277670212, 0.0325463191, 0.0277928058, -0.0689688995, -0.0588064715, -0.0105602201, -0.0268328302, 0.0731085762, 0.0487475656, 0.0352632105, 0.0303521473, -0.0267028026, 0.050114207, -0.0348130502, 0.0213776398, -0.0198965445, 0.0110242367, -0.0065843286, 0.009684938, -0.0316667967, 0.0093670767, -0.0209198371, -0.0054814238, 0.0060376911, 0.0436357595, -0.0309986155, -0.0055336123, -0.014616576, 0.0661953166, 0.0325549655, 0.1064546183, 0.0461212806, -0.0333367959, -0.027734993, -0.0244501438, 0.0161699764, -0.0520633087, -0.0302292109, 0.021676546, -0.0207901243, 0.0122034298, -0.1218002737, -0.0388443768, -0.0220894627, -0.0151034873, 0.0003382835, 0.0106590576, -0.0156478174, -0.0082134316, -0.0124753146, 0.0171472672, -0.0168442409, -0.0102004074, -0.0714792162, -0.006062163, 0.027740268, -0.0473005287, -0.025494514, 0.0909026489, -0.0804703832, -0.0570842959, -0.0188380983, 0.0266979635, 0.0260739904, -0.0129216108, -0.008855829, -0.0194102433, 0.0240966994, 0.0832807124, -0.014546819, 0.041157797, -0.0146382758, 0.0373664536, -0.023763489, 0.010795434, -0.0483374745, 0.0166902561, -0.0255881734, 0.0705945641, 0.00323243, -0.0600760728, 0.0044214283, 0.0563383885, 0.0155573217, -0.0864391103, 0.0025162098, -0.0070916768, -0.0556247793, -0.0120363953, -0.0212456472, -0.0648288205, -0.0072222915, 0.011450679, -0.0009375205, -0.0255828165, -0.0075850673, -0.0564081222, 0.0595704243, 0.0005942287, -0.0127460444, -0.0113366712, -0.0027411531, -0.0253711995, -0.0144167859, -0.0130641414, -0.0078802928, -0.0376099683, 0.0107737351, -0.0190554671, 0.0551344417, 0.0093591819, 0.0204461962, 0.014341319, 0.0597594529, -0.0227082577, 0.013828503, -0.0597888678, 0.0436383747, 0.0774872676, 0.012451129, 0.1054469496, -0.0453203134, 0.0106595717, -0.0214220844, 0.0721214116, 0.0097750183, -0.0374589674, 0.0114750937, -0.0003443048, -0.0431666821, -0.0130155552, 0.0753174871, 0.0196138695, 0.0105177443, -0.0016347861, -0.0265176222, -0.0509713218, -0.0352890417, -0.0350331441, -0.0221533123, 0.0054953741, 0.0038269127, -0.0780382454, -0.0474413, 0.0073222346, 0.0519406386, 0.0310459603, -0.0096367141, 0.0598636754, 0.0373252071, -0.0300129373, 0.0290936437, -0.0397633649, -0.0223893691, -0.047753945, -0.0017248457, -0.028458897, -6.153564153e-33, -0.0560345799, -0.0870671272, 0.0319180079, 0.0084490171, -0.0592695475, 0.0072048823, -0.0353803411, 0.0220529921, 0.0480053909, -0.0005705655, 0.0260005891, -0.0430627242, 0.007326866, 0.009994572, -0.0100147994, -0.017740069, 0.0240005534, -0.015602693, -0.0585613735, 0.0168658383, 0.018226603, 0.000948631, 0.0093763694, -0.0603500083, 0.0175635051, -0.0163219832, -0.0422348343, -0.0187478736, 0.0232814513, 0.0715818703, -0.0413020849, 0.0256782938, 0.031996198, -0.0278556589, -0.0096593928, 0.0032325685, -0.0206988398, -0.0345036574, 0.0116518494, -0.0262349602, -0.0179607011, -0.0341157354, 0.0430877209, -0.0170888267, -0.0676308051, 0.0255595539, 0.0160356443, -0.0362768881, -0.0140385488, -0.0254710726, -0.0486587994, 0.0350118876, 0.0058240104, -0.0247340798, -0.0213971585, 0.0346140563, -0.0351918265, 0.008910032, -0.016129816, 0.0306748282, 0.0064494936, 0.0267276503, 0.0812157616, -0.0015881188, -0.0258057434, 0.0705570877, -0.0234477893, -0.0130419321, -0.042912215, -0.0218836721, 0.0000484886, 0.0452761091, 0.0558717549, 0.0521895364, 0.0161964539, 0.0246461518, -0.046782665, 0.0820465237, 0.0055742203, 0.0110970186, 0.0086606313, -0.0253789295, -0.0120187923, -0.0079492452, -0.0418220051, -0.0093205487, -0.0137456749, -0.0382388346, 0.0629659593, 0.0098785972, -0.0245825332, -0.0418216959, 0.0200239047, -0.0042335303, 0.0138222957, 0.0213821698, -0.0447885282, 0.0025215358, -0.019908227, -0.018639639, -0.0393568054, -0.0335441828, 0.0416478403, 0.0423578843, 0.0182714816, -0.0362424366, 0.0138696032, -0.0016383604, -0.0355217382, 0.0523753762, -0.0350443386, 0.0388119258, -0.0062758462, -0.0336410701, 0.0187056493, -0.0435956791, -0.0380640551, 0.0183116347, 0.0071182889, 0.0130302198, 0.0179353543, -0.0223787464, 0.0020139783, 0.0065039867, -0.0466847904, 0.0575068966, 0.0077354135, 0.0046569658, 0.0085839126, -0.0007962153, -0.0118368445, 0.0069416775, 2.578e-7, 0.0362676121, 0.0469166562, 0.0297913961, 0.0396954566, -0.0028083986, -0.0033242775, -0.0072973138, 0.0073096794, 0.0054548318, 0.0070410473, -0.0030903379, -0.0031338029, 0.0722937584, -0.0076576541, -0.0607079603, -0.009297777, -0.0754720271, 0.0015628216, -0.0274822079, -0.021224428, 0.0753926709, 0.0369134992, -0.0302351955, -0.0112620899, -0.0310022589, -0.0767958164, 0.0719431937, -0.0478463396, -0.0386885703, 0.0267701447, 0.0973710045, 0.0269866772, -0.0006661334, -0.0074713095, -0.0070506828, -0.0112783732, 0.0404346921, 0.0518821515, 0.0480115265, -0.0280247666, 0.0223994926, 0.0131700421, 0.0112271393, -0.0440936312, 0.0429665707, -0.0476381741, -0.0061558485, -0.0305672549, -0.0129633406, -0.014596872, 0.0081466883, -0.0307828225, -0.0383308902, 0.0322200507, 0.0191134401, 0.0035709068, -0.0134579577, -0.029460948, -0.0402645506, -0.0171058793, -0.040731404, -0.0361894108, -0.0330069773, 0.0394446738, 0.005118357, -0.066057235, -0.0108870929, 2.263830617e-34, 0.0421141759, -0.0385680795, 0.0169543847, -0.0062147239, 0.0541784577, 0.0420808941, -0.0211164504, 0.0170847941, -0.0087846965, -0.0816833526, 0.0145655731 ]
http://arxiv.org/abs/2402.01376v2
http://arxiv.org/pdf/2402.01376v2
LoTR: Low Tensor Rank Weight Adaptation
2024-02-02T13:00:38
2024-02-05T12:42:52
Daniel Bershatsky, Daria Cherniuk, Talgat Daulbaev, Aleksandr Mikhalev, Ivan Oseledets
cs.CL
cs.CL, cs.AI, cs.LG
In this paper we generalize and extend an idea of low-rank adaptation (LoRA) of large language models (LLMs) based on Transformer architecture. Widely used LoRA-like methods of fine-tuning LLMs are based on matrix factorization of gradient update. We introduce LoTR, a novel approach for parameter-efficient fine-tuning of LLMs which represents a gradient update to parameters in a form of tensor decomposition. Low-rank adapter for each layer is constructed as a product of three matrices, and tensor structure arises from sharing left and right multipliers of this product among layers. Simultaneous compression of a sequence of layers with low-rank tensor representation allows LoTR to archive even better parameter efficiency then LoRA especially for deep models. Moreover, the core tensor does not depend on original weight dimension and can be made arbitrary small, which allows for extremely cheap and fast downstream fine-tuning.
LoTR: Low Tensor Rank Weight Adaptation: In this paper we generalize and extend an idea of low-rank adaptation (LoRA) of large language models (LLMs) based on Transformer architecture. Widely used LoRA-like methods of fine-tuning LLMs are based on matrix factorization of gradient update. We introduce LoTR, a novel approach for parameter-efficient fine-tuning of LLMs which represents a gradient update to parameters in a form of tensor decomposition. Low-rank adapter for each layer is constructed as a product of three matrices, and tensor structure arises from sharing left and right multipliers of this product among layers. Simultaneous compression of a sequence of layers with low-rank tensor representation allows LoTR to archive even better parameter efficiency then LoRA especially for deep models. Moreover, the core tensor does not depend on original weight dimension and can be made arbitrary small, which allows for extremely cheap and fast downstream fine-tuning.
[ 0.0135504007, 0.0581069402, -0.0153174195, 0.056430947, 0.0266633928, 0.0431350358, 0.0141161513, 0.0223363414, -0.0212311856, -0.0297000129, -0.0579737164, -0.0312762596, 0.0186145194, -0.0309404526, 0.0139351934, -0.0361202694, 0.0051834704, -0.0476406552, -0.0227015764, -0.0152715445, -0.0257256944, 0.0240517594, 0.0076197446, -0.003494181, 0.0644411966, 0.0095924605, -0.0151361702, 0.0015349525, 0.0184956379, 0.0559696481, 0.0164411403, 0.0361198038, 0.0336481221, 0.0348025337, 0.0000019582, 0.0214574393, -0.0145187443, -0.0138126528, 0.0027641745, 0.0247497149, 0.0487671755, -0.0247739814, -0.0479867905, 0.0006672275, -0.0175296105, -0.0326873437, 0.050681591, 0.0195256118, 0.0688495934, 0.0702534169, -0.0273986291, -0.0430877991, 0.0092325071, -0.0322567448, -0.0562093593, -0.0466691814, 0.0177486166, -0.0283477865, -0.0516325608, -0.0129906274, -0.0387725309, 0.005451086, -0.000119712, 0.0065138503, -0.0152665693, -0.0001372483, -0.044507876, -0.0176809542, 0.0013842389, 0.0682266578, -0.0669308752, 0.0052355989, 0.0082502486, -0.0180266872, 0.0038335165, -0.0549178645, -0.0219977386, 0.0027409249, 0.0514174253, 0.0215212051, 0.008415021, -0.0325719304, 0.0173871424, 0.0184064191, -0.0574785136, -0.0085715204, 0.0528949089, 0.0055733514, -0.0680723861, -0.0086677335, 0.0030737326, 0.0066048866, 0.0204013232, 0.0240838714, -0.0265672691, -0.014825982, -0.0753224194, -0.0910326317, -0.0115051158, -0.0536066443, 0.078570269, 0.0567129701, -0.0183155816, 0.048856739, -0.0799067467, 0.0559309721, -0.0427727364, -0.0092126448, -0.0349069349, -0.0216134209, 0.0307987183, 0.0303190481, -0.0333572142, 0.0099828541, -0.0574673787, -0.0132780951, -0.0226967186, 0.0488257483, 0.0012825404, -0.0278191008, 0.0212850515, 0.0030788162, -0.0263812803, -0.049143441, 0.0050127548, 0.0637766123, 0.0213281084, 0.0226311404, -0.0463268608, -0.0238609947, -0.0099285459, 0.0218294077, 0.0768941119, -0.0066685705, 0.059126962, 0.0367143229, -0.0381706618, -0.043666739, -0.0141283721, 0.0531499535, 0.0270501878, -0.0428279079, 0.011719618, -0.0208039209, 0.0387586653, -0.0116632674, 0.0285006668, -0.0336919092, -0.0188463423, 0.0140076857, -0.0744656324, 0.0302887801, 0.0224369876, -0.01015017, 0.0262919664, -0.0017647489, 0.0201483909, 0.0414519794, 0.0369217694, 0.0320745669, -0.0110519584, -0.0513737388, -0.0368045978, 0.0436875597, 0.0014285466, 0.0402591005, -0.0108436085, -0.0214986559, -0.0184175484, 0.0129919536, 0.0608979426, 0.074959524, -0.0248987135, -0.0070728497, 0.0541839264, 0.0323213637, 0.0759193823, 0.0749722943, 0.0045101857, -0.0415702797, -0.0210212953, 0.0084018344, -0.0129002081, 0.0606928095, -0.0076984852, -0.0262148827, 0.0370784104, 0.083110556, -0.0439587869, 0.0027996602, -0.0011234534, -0.0013704749, 0.0259568803, 0.00382023, 0.0342535675, 0.0073839109, -0.050015673, 0.0664350837, 0.018284006, -0.0429186374, 0.0116033023, -0.0523470975, -0.0055939378, 0.0370968655, 0.0209946614, 0.0084717562, -0.0119844386, -0.0048073446, 0.0131469164, 0.0031322953, 0.0197837725, 0.0186704099, 0.0524105206, -0.0744837299, 0.0110995127, 0.0311808288, -0.004574101, 0.006167334, -0.0268468764, 0.017376557, 0.0220719017, 0.0088847633, 0.0136728063, 0.0238823295, -0.0331044607, -0.0120839272, 0.0566141307, 0.0008744044, 0.0121282125, 0.0022804129, 0.0190787315, -0.0534321666, 0.0283213891, -0.0525156856, -0.0037971586, -0.0525824539, -0.0285891145, 0.0188520011, 0.0192349162, 0.0026372196, 0.0202058144, 0.0622665398, -0.0382094383, -0.0487747304, 0.0502814502, -0.0262432322, 0.0200724546, -0.0246579479, 0.0106796846, -0.0182998106, 0.0734758973, -0.0096197547, 0.0142940823, -0.0133742522, 0.0037320121, 0.0685390383, -0.0139763011, -0.0075161462, -0.0112260124, -0.0579536371, 0.0300731268, 0.0048675947, 0.0433881134, 0.0181527268, 0.019146869, 0.0138706975, -0.0462073982, -0.0886602551, 0.0248997957, -0.0466108397, 0.0185497329, 0.0453764237, 0.0528791063, 0.0300270002, -0.0155122839, -0.019189816, 0.0305282157, -0.0320264846, 0.0075950976, 0.0042711841, -0.0054434352, 0.0183473118, -0.0260339323, -0.0426992141, 0.0387373418, 0.0415469334, -0.0396342985, 0.0128756193, -0.0917528197, -0.0320759229, -0.0180259142, 0.0635064989, -0.005999364, -0.0640862733, -0.028417334, -0.0179545972, 0.0907886475, 0.0667181537, 0.0243348144, 0.0157409776, 0.0646510795, 0.0440935455, 0.0104925307, 0.0018163688, -0.018905187, -0.0441436023, -0.0442111865, -0.005936373, -0.0330954976, 0.0408480577, -0.0216656923, 0.0013543551, -0.075319007, -0.026499778, -0.0068428903, 0.0156774055, -0.0201318767, 0.0083705364, -0.0299608763, -0.0018014731, 0.0186015125, 0.0042045028, 0.0447071046, -0.0282146912, -0.0350130722, -0.041157987, -0.0491476357, -0.0463190973, 0.0021841573, 0.0042363051, 0.0401165336, -0.0635726601, 0.0049808915, -0.0505604707, 0.0213629175, 0.0250603501, -0.0419532508, 0.0222558044, -0.0172557216, -0.0103038251, -0.0620838478, -0.0395107642, 0.0131618511, -0.0099004377, -0.0104455231, 0.0241085868, 0.0348238908, -0.0500427298, -0.0215517804, 0.0114423661, 0.0194479842, 0.0775792375, -0.0108488165, 0.0131220929, -0.0381822325, 0.0509479195, 0.0621751733, 0.0467816927, 0.0220981315, 0.0047236015, 0.0270530246, 0.02462795, 0.0188710801, 0.0092834514, -0.0735038444, 0.0244734641, 0.0756695196, 0.0323231518, -0.0051372265, -0.0141971866, 0.0002677019, -0.0074534416, 0.0240041893, 0.0521400422, -0.0229277499, -0.0772530511, 0.0011692094, -0.0037602687, 0.0417934582, 0.0139109837, 0.0264700018, -0.0430575386, -0.0116025191, 0.0139972707, 0.0088764727, 0.0272688828, -0.0218080115, 0.006908007, -0.0542422421, 0.0237049442, 0.0097045125, 0.0285190456, -0.0387652144, -0.0463754833, 0.0252069328, 0.0045932671, 0.0654591545, 0.0229637306, -0.0043367469, -0.059087038, 0.0178791154, 0.0048352573, -0.058824867, -0.0193257108, 0.0051070875, 0.0311328974, -0.026671594, 0.0135435862, -0.0046808356, -0.0493959934, 0.02588352, -0.0279741343, -0.0096202325, -0.0046974807, -0.0272852797, 0.0244475622, -0.0488491207, 0.0049833669, 0.0376370065, -0.0355799906, 0.0173790883, -0.0571147986, 0.0651030689, -0.0008335211, -0.0225457642, -0.0103887292, -0.0464067236, -0.0334447324, 0.0315596424, 0.0157744288, -0.0593535453, 0.0347938128, 0.0293383747, -0.0073160189, -0.0076729474, -0.0427779481, -0.015723262, -0.016335573, 0.0037155913, -0.0160708725, 0.0550455824, 0.0017255069, 0.0186589211, -0.0243180748, -0.0182574913, 0.0120833414, 0.009463571, -0.0338068604, 0.0085388748, -0.0234444048, -0.0182249416, -0.0309216529, 0.0121892877, 0.0736671388, -0.0032037394, -0.0060224668, 0.0049240477, -0.0919693857, -0.0429360121, -0.0056955027, 0.0296856351, 0.0080383653, -0.0032182427, 0.0193168316, -0.0915136561, 0.061004512, -0.0045986278, -0.0163293239, 0.0833278075, 0.0038793138, -0.0841648355, -0.0337983742, 0.0332853273, -0.0756238997, 0.0042727087, 0.0167824142, 0.0236350689, 0.0016377721, -0.0289324708, -0.0093276659, -0.0128708091, 0.0164231379, -0.0065830792, -0.0057834545, -0.0168185439, 0.0608980246, -0.0055219014, 0.0119867986, -0.034671355, -0.0183015447, 0.0205296539, -0.0007391842, -0.0206521582, 0.0122372778, 0.0656200051, 0.0230492353, -0.0139112743, 0.032774087, -0.0207439512, -0.0067517781, 0.0680127889, 0.0174935013, -0.0276516248, 0.002282752, 0.0037031062, 0.020007316, -0.0542126745, -0.0141120516, 0.0193412639, -0.0107633546, -0.066575259, 0.0655998513, -0.0299869683, -0.1091452539, -0.036245957, -0.0046247346, 0.0498208925, 0.0378956385, 0.0562353171, 0.0101024834, -0.0264125168, -0.00344173, -0.0206665583, -0.0045710979, 0.0021604334, 0.0244710818, 0.0038863679, 0.0059669088, 0.0633523166, 0.0286596138, 0.0164839942, 0.0231283046, -0.0228100065, 0.0083675887, -0.0253732167, -0.0207093544, -0.024346035, 0.0431027748, -0.0099161742, -0.0083960071, 0.0369605869, -0.0436099395, -0.0420706458, -0.0279489588, 0.0088029886, -0.0689743459, 0.0083251949, 0.0379314572, -0.0040036379, 0.022515174, 0.0046605053, -0.0081750257, -0.001300153, -0.0268696602, -0.0126634659, -6.252623429e-33, -0.0295519661, 0.0529185124, 0.0025110815, 0.0057882308, -0.0112111205, 0.0154661108, -0.0206666179, 0.0104224626, -0.0193717089, -0.006068347, -0.0268544517, -0.0130395135, 0.0037935164, 0.0167253148, -0.0137657803, 0.0184021499, 0.0674165562, -0.0130445771, -0.0126568545, 0.0414204709, 0.0048057181, 0.0232805219, 0.0569243915, -0.0171266645, -0.0630805194, 0.0060475571, -0.0275630336, 0.0031097552, 0.023072185, 0.0420026369, -0.0576152839, 0.0300148409, 0.0198126435, -0.0379505716, -0.021947369, 0.0081967711, -0.0938856825, 0.004548938, 0.0172767248, 0.0286788531, -0.0405003466, -0.0337966606, 0.0595029965, 0.0374838896, -0.023531856, -0.0254778787, 0.0131819369, -0.0145508805, -0.0317463391, -0.0328280814, -0.0292071626, 0.0082884301, -0.000083352, -0.0192513019, 0.0340314917, 0.0212935898, -0.0194255542, 0.0482629389, -0.0775324404, -0.0248550903, -0.031455297, 0.079889439, 0.0291836113, 0.0190298315, -0.0339136124, 0.0223652124, -0.0062229754, 0.0103111416, 0.0086838081, -0.0437620915, 0.077022545, 0.0076030358, 0.0601908602, 0.025632672, 0.0076906784, -0.0380615927, -0.05289267, -0.0431913882, 0.0254104529, 0.0179654863, 0.0574949905, 0.0553909466, 0.0228788126, -0.0199065004, -0.0512108542, -0.0071993568, -0.0497456901, 0.0093615586, -0.0125015834, 0.0401134342, -0.0485197529, -0.031451229, 0.0518357567, -0.0463731512, 0.0401551723, 0.0265172869, -0.0284609925, 0.0272365212, 0.0237459876, 0.0145849613, -0.011216497, -0.0535341054, 0.0256021731, -0.0373246744, 0.0009478116, -0.0136280833, 0.0156856943, 0.0857179537, -0.0601049252, -0.0311098117, 0.0002963403, -0.00327816, 0.0012412806, 0.0694083497, -0.023695685, 0.0068266881, 0.006766988, 0.0477272496, 0.0079057943, 0.0562671423, -0.0128808822, -0.0051848143, 0.0494977236, 0.0262728073, -0.0502232946, -0.0067156786, -0.0263728797, 0.0416345038, 0.0729469359, -0.0648143813, -0.0233493671, 0.0099249659, 2.717e-7, -0.0051312675, 0.0341264047, -0.0126435226, -0.0479617938, 0.0395861715, 0.0318254493, 0.0220994316, 0.0555212945, 0.0475667343, 0.0260632373, 0.0266161468, 0.0108132912, 0.0012265777, -0.0223012846, -0.0534872897, -0.0059884987, -0.0875595063, 0.0252595376, -0.0218454674, -0.0394650884, -0.0133955711, 0.1128410324, 0.0128267268, -0.0465542078, -0.0013577935, 0.0047884737, 0.0382680334, -0.0331663899, 0.0197818037, -0.0053062052, 0.0687194467, 0.0347036943, -0.0429509692, -0.0312087759, -0.0015817994, 0.0619622134, -0.0462773964, 0.0678392127, -0.0324659199, 0.005609253, 0.0455803908, 0.0095285634, -0.0206112433, -0.0659565851, 0.0558815636, -0.0177237242, -0.0091386111, -0.0905436426, -0.0169538278, -0.0110067278, -0.0123655712, -0.0355761014, -0.0018655487, 0.0420947559, 0.0497310981, 0.0004965216, -0.0247957408, -0.1097611934, 0.0348204523, -0.0001989022, -0.0418871753, -0.045067478, -0.0421873555, -0.0717285946, 0.0679487884, -0.0321029872, 0.0298284497, 2.114106845e-34, 0.0257299654, -0.0035483327, 0.0230905339, 0.0214638691, 0.0194264241, -0.0387905315, 0.00098895, 0.0247988608, 0.0070437673, -0.112066865, -0.0393785238 ]
http://arxiv.org/abs/2402.01375v1
http://arxiv.org/pdf/2402.01375v1
Dive into the Chasm: Probing the Gap between In- and Cross-Topic Generalization
2024-02-02T12:59:27
2024-02-02T12:59:27
Andreas Waldis, Yufang Hou, Iryna Gurevych
cs.CL
cs.CL
Pre-trained language models (LMs) perform well in In-Topic setups, where training and testing data come from the same topics. However, they face challenges in Cross-Topic scenarios where testing data is derived from distinct topics -- such as Gun Control. This study analyzes various LMs with three probing-based experiments to shed light on the reasons behind the In- vs. Cross-Topic generalization gap. Thereby, we demonstrate, for the first time, that generalization gaps and the robustness of the embedding space vary significantly across LMs. Additionally, we assess larger LMs and underscore the relevance of our analysis for recent models. Overall, diverse pre-training objectives, architectural regularization, or data deduplication contribute to more robust LMs and diminish generalization gaps. Our research contributes to a deeper understanding and comparison of language models across different generalization scenarios.
Dive into the Chasm: Probing the Gap between In- and Cross-Topic Generalization: Pre-trained language models (LMs) perform well in In-Topic setups, where training and testing data come from the same topics. However, they face challenges in Cross-Topic scenarios where testing data is derived from distinct topics -- such as Gun Control. This study analyzes various LMs with three probing-based experiments to shed light on the reasons behind the In- vs. Cross-Topic generalization gap. Thereby, we demonstrate, for the first time, that generalization gaps and the robustness of the embedding space vary significantly across LMs. Additionally, we assess larger LMs and underscore the relevance of our analysis for recent models. Overall, diverse pre-training objectives, architectural regularization, or data deduplication contribute to more robust LMs and diminish generalization gaps. Our research contributes to a deeper understanding and comparison of language models across different generalization scenarios.
[ 0.0240215287, 0.0454439111, -0.0167212095, 0.0416943803, -0.0087597929, 0.0242278986, 0.0159617588, 0.0045047426, -0.0506872684, -0.0474520624, -0.0410138592, -0.0200530309, -0.0225910265, 0.0120780757, 0.0386836529, -0.0225687027, 0.0478618182, -0.0120471381, 0.0070854006, 0.0022933388, 0.0058104252, -0.0001844727, 0.0353523493, 0.0295435954, 0.008711841, 0.0207592957, -0.0255302079, -0.0200001746, -0.0059196637, -0.0303567927, 0.0171720851, 0.0364680663, 0.0781249627, 0.0204374865, 0.0000017338, -0.0258850511, -0.0006989607, -0.0149310417, 0.0119901728, 0.0389573984, 0.0513927527, -0.064252153, 0.0357408822, 0.0195763838, -0.0168640427, -0.0868749171, 0.0172889065, 0.0749109536, 0.0343738124, 0.0670365095, -0.0183796417, -0.0220267344, 0.0367926769, -0.0575778745, 0.0144050997, -0.0670403615, 0.0169351883, 0.0112820296, 0.008611856, 0.0540704578, -0.0315901786, 0.009107722, 0.0189669933, 0.0453978963, -0.0211718064, 0.0351790413, -0.0311985556, -0.0142428372, -0.0078907665, 0.0901177004, -0.0649057105, -0.0268055256, 0.0069708172, -0.0166146345, -0.0132331382, 0.0058178399, -0.0398664922, -0.0050686989, 0.0405023359, 0.0255359281, 0.0354877673, -0.0187021252, 0.053879939, -0.0096580097, -0.0337590054, 0.0538116172, 0.0282147657, -0.0453954972, -0.0085084336, 0.0199039076, -0.0359214805, -0.0353756659, -0.0045213657, 0.003952567, -0.0123232575, 0.0288831983, -0.0645922273, -0.023853289, 0.0316588283, -0.0077155526, 0.0446846075, 0.0147113455, -0.0421568789, 0.0629561767, -0.0047442894, 0.0458913036, -0.0266054478, 0.0476210453, -0.0368031152, 0.0083648618, -0.058446072, -0.0149817327, -0.02676416, 0.0081445919, 0.0387689881, -0.0474654622, 0.0024967724, 0.0234766547, -0.0143706864, -0.0053641926, -0.0437570438, -0.0248415619, -0.0365623645, -0.0138159133, 0.026085645, -0.0055584158, -0.0511209369, 0.0610019751, -0.0123826368, -0.0143002979, -0.0123164933, -0.0018874506, -0.0045700562, -0.0077667362, 0.008514666, 0.0322139524, -0.0066648242, -0.0466332287, -0.033854153, 0.0112195425, -0.0107884668, -0.0374760069, 0.0237090774, -0.0393747203, 0.0476102531, 0.0004368736, -0.0013520326, -0.023137711, -0.0122124748, 0.0022990555, -0.0642803982, 0.0770794526, 0.0058930386, 0.0133900307, 0.0507840328, 0.0279196147, 0.033138454, 0.1019009128, -0.013338943, -0.0043621147, 0.0621176474, 0.0084042987, 0.0025138678, 0.0141559057, 0.0375938676, 0.0226846244, -0.0307142157, 0.0200036038, 0.0336323492, 0.0239907615, 0.0451894775, 0.0262844805, -0.0593398251, -0.0351171903, 0.0374383442, 0.1085559428, 0.0215577334, 0.0142057203, 0.042577263, 0.0211365577, -0.0084873652, 0.03388739, -0.0352804698, -0.0478628911, -0.029704906, -0.0080965227, 0.0382125489, -0.0185134672, -0.0624746867, -0.0024567537, -0.0340509973, -0.047208067, 0.0059927371, -0.0401079655, 0.0622619651, 0.0093187364, -0.0167582948, 0.0256960541, 0.0369362347, -0.0252492018, 0.0013467711, -0.0236698855, 0.0308625475, 0.0191479456, 0.0349738598, -0.0282200184, -0.0322572738, 0.0067283828, 0.0542919412, 0.0190429501, 0.0667246357, -0.0322840363, 0.0588487536, -0.0237187017, -0.0336885937, -0.063012898, 0.0387804396, 0.0038723876, 0.0203312188, 0.0064718244, 0.029954616, -0.0639239624, 0.0334254131, 0.0599728227, -0.0522729829, 0.0035434845, -0.0169206597, -0.0101717496, 0.0166273154, -0.0177706648, -0.0281746127, 0.0102783144, 0.0231293067, -0.0333106741, 0.001318834, -0.0241671447, -0.0383292139, -0.0320814215, 0.0288114045, -0.0470874719, 0.0241491925, 0.0233332757, -0.047239583, -0.0096116411, 0.0159326438, 0.009757936, 0.0631862134, -0.0378135592, 0.0189010687, -0.0642498881, -0.0075927372, -0.0278732274, 0.0269345883, -0.0023179043, 0.0115312645, -0.0241368786, 0.0091463868, 0.0495778844, -0.0003163941, -0.0537693202, 0.0112762628, -0.0210685693, 0.0135017913, 0.0097830258, -0.0224116258, -0.0213519987, -0.0041078576, -0.1005587503, 0.0142023899, -0.0325066335, -0.02134992, 0.0233180467, -0.0242549349, -0.0093376394, -0.0072038574, -0.0195633564, -0.0462136343, 0.0023556051, 0.0498484895, 0.0290951282, -0.0063162111, 0.0226000678, -0.0663234666, -0.036923483, -0.026509231, 0.0670652241, -0.0514830463, 0.0411425978, -0.0650229454, 0.0559912659, -0.0329538621, 0.0083696833, -0.0291248783, -0.0215644501, 0.0177667998, -0.0189158414, 0.0254036188, 0.0468726493, -0.0132388566, 0.0138870897, 0.0793225467, 0.0133592701, -0.0516864583, -0.0291359127, 0.000370471, -0.0118604712, -0.032532122, 0.0086700162, 0.0058357082, 0.1027704328, -0.0154361259, -0.0042751054, -0.0405151434, -0.0056813504, -0.0512328744, -0.0014187581, -0.0584434681, -0.0243419781, -0.0121415611, 0.0392054766, -0.0349862762, -0.0507331118, 0.0606568232, -0.0229521133, 0.0074686948, -0.0329574086, -0.0050197579, -0.0289979503, 0.0648711398, 0.0156240007, -0.0093735093, 0.0007602868, -0.0151823899, -0.0531282611, 0.0006783441, -0.0052100923, -0.0226935074, 0.0590210967, 0.0032546804, -0.007348639, -0.0074134581, -0.0273899063, -0.0249617491, -0.0826337188, 0.0002921705, 0.0014532114, 0.0124651622, 0.0134484237, -0.0058095106, 0.0155294081, -0.0163701698, 0.035211049, 0.0064859404, -0.0036627273, -0.0172435958, 0.0331896357, 0.051136326, -0.0776821002, -0.0321843959, -0.0347179212, -0.0017329825, 0.0102902548, 0.0369809978, 0.007204615, -0.0470513143, 0.027225703, 0.0277795475, -0.0154898874, -0.0375913009, 0.0154142622, 0.0427292734, -0.0171296, -0.0025239571, 0.1024953648, 0.0366804078, -0.0286475644, 0.0184255168, 0.0054980479, 0.0258483067, 0.0335645191, 0.0148076536, -0.070752278, -0.0032736843, 0.0054680589, -0.0143777197, 0.0218080077, -0.0034368162, -0.0067819129, -0.1109358743, -0.0040752208, 0.0095209982, -0.0345634185, -0.0234796889, -0.06623853, 0.0096215168, -0.0025261007, 0.0493333377, -0.0034913642, -0.0243718717, 0.0030134164, 0.0050587081, -0.0450555123, -0.0746408924, 0.0052045262, -0.0550325811, 0.0400756039, 0.0485926904, 0.004702826, 0.0119184051, 0.00389833, 0.0432822295, 0.0268371198, -0.0120951757, 0.0048864591, 0.0462789983, -0.0064635887, -0.0030517005, 0.0273639318, 0.0041551664, -0.0149510624, -0.0249696318, 0.0027420945, 0.0681023747, -0.0071079298, -0.0334653519, -0.026262505, 0.0015803217, 0.0099398484, 0.086810559, 0.0530799404, -0.0522319451, -0.0299013872, -0.0087838927, 0.0079215262, -0.0028348146, -0.0286859963, 0.0108677531, -0.0143558579, -0.0284478571, -0.0168208312, -0.0503997505, 0.0275373608, 0.0130947949, -0.0005811738, -0.0109438039, -0.0158121046, -0.0341617055, -0.0290297363, 0.0408925824, -0.0329342335, -0.0281604696, -0.0165944882, -0.0088689215, 0.0159494113, 0.0281195529, -0.0344571397, -0.0078362515, -0.0999302119, -0.0756699219, 0.0298910607, 0.000804698, 0.0138135087, 0.0236421861, 0.0003488899, -0.0703294128, 0.0893407315, -0.0267591588, -0.0493993051, 0.0192548539, 0.0410093926, -0.0432961248, 0.0258689392, 0.0160011109, -0.0464199297, 0.035454873, 0.0433456227, 0.0007702864, -0.0273412038, 0.022372501, -0.015590474, -0.0299469288, 0.0965766609, 0.0213972088, -0.0193946678, -0.0496069752, -0.0131450361, -0.0264713056, 0.0088760471, -0.0302795004, -0.0204073321, 0.0675871745, -0.0010707183, -0.0314512067, -0.0107492106, -0.02460053, 0.0972426683, -0.0299500469, 0.0072115809, 0.0252514239, 0.0438156798, 0.0281195901, 0.0160846747, -0.0186840389, 0.0398782752, -0.0412192531, 0.0051229326, -0.0371273868, 0.0133690927, 0.0034691729, 0.0417279974, -0.0128066503, 0.0131698474, -0.0830148011, -0.0317387953, -0.0041047903, 0.0174761117, 0.0384051912, -0.0282959454, 0.0239437539, 0.0092576556, -0.0212484952, -0.0252457988, 0.0078996643, -0.0366300717, -0.044633545, 0.0442978926, 0.0151600651, -0.0328261741, 0.0468263328, 0.0993614048, 0.0295201689, 0.0471315533, 0.0094327545, 0.0066944566, -0.0321168117, 0.0315247737, 0.080108203, 0.0340012461, -0.0423529856, 0.0124842823, -0.0116520273, -0.0471254736, 0.0162313171, -0.0272157788, -0.0363088027, 0.0464986265, 0.0039299852, 0.0972704664, -0.013442928, 0.0311382171, -0.0157630593, -0.0313106626, 0.0185317267, -0.0472420454, -0.0372315161, -6.197939432e-33, -0.0232834592, 0.0286799949, 0.0011097915, -0.0504727513, 0.0051487163, 0.0172375888, -0.0236332808, 0.0415919088, -0.0279633738, 0.001664169, -0.0234918259, 0.0332838371, -0.0013210307, 0.0174343307, 0.0061871582, -0.0315930396, 0.036260616, -0.0054758736, -0.0050515076, 0.0251453128, -0.0031737403, 0.0552057959, 0.0451676734, -0.0465590209, 0.0276114121, -0.0086966464, 0.0267435331, -0.0123654529, 0.0550810695, 0.0632949993, -0.0357036144, 0.0350616388, 0.0478226356, -0.03545155, -0.0389500856, 0.040679846, -0.0385206677, -0.0534528643, 0.0076760305, -0.0272009484, -0.0064853295, -0.0175753422, 0.0244287625, -0.0263517406, 0.008399901, -0.0325059183, 0.0357577391, 0.0108244, -0.0323745944, -0.0046246983, -0.0803817213, 0.0247719381, -0.0039965287, 0.0182628781, 0.0182702933, 0.0202358104, 0.0181952603, 0.0399517417, -0.0230428129, 0.0368456393, 0.0007061341, 0.0363409258, 0.0230934545, -0.010677129, -0.0106735872, 0.0690388083, -0.0143529056, 0.0194055159, 0.0134394355, -0.0350270122, 0.0807574615, 0.0408956222, 0.0139407245, 0.0343139358, 0.0581617169, -0.0124369413, -0.0765812621, -0.0092582209, 0.0309746508, -0.0093929004, 0.0264358055, 0.0570722446, -0.0139208529, -0.031380672, -0.057538107, -0.0211776998, -0.0226863008, -0.0561855063, 0.0367206819, 0.0344804265, 0.0069121453, 0.0170911197, 0.0407930128, -0.052477356, -0.0170693528, 0.039569445, -0.0273874011, -0.0123619707, -0.0014515176, 0.0463475958, -0.0853678957, -0.0652305782, 0.01688236, -0.0166188776, 0.0338182896, -0.012627637, 0.0290848035, -0.0123080872, -0.0807989612, -0.0260200538, -0.0058408729, -0.051843293, 0.0196356829, 0.0381736271, 0.0489069223, 0.0112656411, 0.0129407309, 0.033726003, 0.0474856794, -0.0377261192, -0.0207654312, -0.0387530178, -0.0198012274, 0.0297274031, -0.0075770221, -0.0193117894, -0.0306525193, -0.0049582855, 0.0696968064, -0.0622935668, -0.0290592816, -0.0115189143, 2.415e-7, 0.0469839238, 0.0398200154, -0.0183795393, 0.0095961988, -0.0000818961, 0.0029687434, -0.0295487214, 0.0516977981, 0.0051271282, -0.006414135, 0.0132155092, 0.0375941955, 0.0336613879, 0.0383398645, -0.0536993816, 0.0226929374, -0.0770237595, 0.0430856645, -0.0441484414, -0.0007662816, -0.0181024615, 0.1075430736, 0.0278866813, 0.0110363457, -0.0324788168, -0.0659090877, 0.0765039995, -0.0631591082, -0.024346577, 0.0376696736, 0.0233431626, 0.0753565282, -0.0001990552, 0.0011251174, -0.0145223197, 0.0511195362, 0.0096562076, 0.0488958843, 0.0119329328, -0.0218825825, -0.0270618331, -0.0229042582, -0.0357262604, -0.0701530725, 0.0945822224, -0.0684590414, -0.0287928637, -0.0891002491, 0.0130994683, -0.0090387994, 0.0461454839, -0.0188511331, 0.0074863569, -0.0094307, 0.0285343919, 0.0095150117, -0.0022931146, -0.0822196975, -0.0194240045, 0.0668006465, -0.0494388603, -0.0244651511, -0.0295053087, -0.0106093185, 0.0559511557, -0.0349018238, 0.0309273731, 2.227931892e-34, 0.0451101884, -0.0139309913, 0.0224911459, -0.0031675999, 0.0237847194, -0.0279676653, -0.0229142085, -0.0068107215, 0.0069488715, -0.0562447831, 0.0258701574 ]
http://arxiv.org/abs/2402.01364v2
http://arxiv.org/pdf/2402.01364v2
Continual Learning for Large Language Models: A Survey
2024-02-02T12:34:09
2024-02-07T07:14:39
Tongtong Wu, Linhao Luo, Yuan-Fang Li, Shirui Pan, Thuy-Trang Vu, Gholamreza Haffari
cs.CL
cs.CL, cs.LG
Large language models (LLMs) are not amenable to frequent re-training, due to high training costs arising from their massive scale. However, updates are necessary to endow LLMs with new skills and keep them up-to-date with rapidly evolving human knowledge. This paper surveys recent works on continual learning for LLMs. Due to the unique nature of LLMs, we catalog continue learning techniques in a novel multi-staged categorization scheme, involving continual pretraining, instruction tuning, and alignment. We contrast continual learning for LLMs with simpler adaptation methods used in smaller models, as well as with other enhancement strategies like retrieval-augmented generation and model editing. Moreover, informed by a discussion of benchmarks and evaluation, we identify several challenges and future work directions for this crucial task.
Continual Learning for Large Language Models: A Survey: Large language models (LLMs) are not amenable to frequent re-training, due to high training costs arising from their massive scale. However, updates are necessary to endow LLMs with new skills and keep them up-to-date with rapidly evolving human knowledge. This paper surveys recent works on continual learning for LLMs. Due to the unique nature of LLMs, we catalog continue learning techniques in a novel multi-staged categorization scheme, involving continual pretraining, instruction tuning, and alignment. We contrast continual learning for LLMs with simpler adaptation methods used in smaller models, as well as with other enhancement strategies like retrieval-augmented generation and model editing. Moreover, informed by a discussion of benchmarks and evaluation, we identify several challenges and future work directions for this crucial task.
[ 0.0449237712, 0.0818701833, -0.0066690589, 0.0137032671, -0.0005573806, 0.0370463319, -0.00322394, -0.0421951823, 0.0106978929, -0.0699621364, -0.0649378896, -0.0360750072, -0.0339140631, -0.0092999851, 0.0262695365, -0.0321605578, 0.0640041828, -0.0174481198, -0.0120390551, -0.0062273098, -0.0011554398, 0.0140146222, -0.0134955058, 0.0187534727, -0.0168750659, -0.0099176299, -0.0034757904, -0.0360964872, -0.0035541046, -0.0216073282, 0.0328590795, 0.0482795723, 0.0445498042, 0.0557591841, 0.0000018038, -0.0532530658, -0.0378737599, -0.0223937351, -0.0439643748, -0.0105040446, 0.0682971776, -0.0021482329, -0.0184083022, 0.0373074077, -0.0297928136, -0.0323850028, 0.086093314, -0.0031805763, 0.0722865388, 0.0597344749, 0.0026885034, -0.0497602783, 0.0587986782, -0.0381720774, -0.0255338587, -0.0414566882, 0.0228223037, 0.010112837, -0.0170380771, 0.0156953689, 0.0049197953, 0.0472159497, 0.0202819984, -0.0205790363, 0.0185516533, 0.0471759737, 0.0004015724, -0.0130407168, -0.0046878969, 0.0385904834, -0.0280858856, -0.0476072207, -0.0214984082, 0.0219343361, -0.01009659, -0.0088088298, -0.0436296985, 0.0202480443, 0.0270040259, 0.030435944, 0.0553507991, -0.040108528, 0.0214253366, 0.0279110558, -0.0649386123, -0.0067910375, 0.0361541621, -0.0368551239, -0.0169967227, 0.0169604309, -0.0348427556, -0.027078351, 0.0070329243, 0.0508380309, -0.0531114452, 0.0240750089, -0.0727728605, 0.0006731234, -0.002294675, -0.0646707118, 0.0513531566, 0.0331790559, -0.0083405469, 0.0562690571, -0.026314415, 0.0424852073, 0.0086426297, 0.0091819325, -0.0612086281, -0.0041613108, -0.0860045478, -0.0205668118, -0.0494267642, 0.0227812454, 0.008874069, -0.0082641477, -0.0284128748, 0.0628426298, 0.0309926309, 0.0118064014, -0.0067367218, -0.0378427096, -0.0732242092, -0.010961283, 0.018601859, 0.0549787767, 0.0142962458, 0.016835494, -0.0194726046, -0.0086018378, -0.0030646748, 0.0326999761, -0.0140880188, -0.0382996313, 0.0077724545, 0.0212987605, -0.0603601113, -0.0327434577, -0.0535440557, 0.0216307323, -0.0101112453, -0.0359226502, -0.0110028414, -0.0236267783, 0.0237660613, -0.0150129758, 0.0069499942, -0.0558238067, 0.0016670736, -0.025199173, -0.0197209381, 0.0698195323, 0.0042517707, 0.0337201729, 0.0363384821, -0.020590663, 0.0238163229, 0.0669484437, 0.0234798044, -0.0293066036, 0.0356354378, -0.0205493905, 0.0079143727, 0.0368902385, 0.0008049201, 0.0206881613, -0.0476128235, 0.0123037826, 0.0336954035, 0.0291986372, 0.0394312963, 0.01310129, -0.0135399187, 0.0095224641, 0.0444288366, 0.0032135649, 0.0554313213, 0.0551154912, 0.0527729876, 0.0009453819, 0.0086173369, 0.0026838903, -0.04799385, -0.0098649515, -0.0339121707, 0.0120098982, -0.0123289591, 0.0106959175, -0.0506054088, -0.0299202818, 0.0036714345, 0.0090373373, -0.0190770905, 0.0258449055, 0.0609368607, -0.0037063973, -0.0153805567, 0.062536791, 0.0432689153, -0.0319966003, 0.0149603449, -0.0588050894, 0.0072882343, 0.0743730068, 0.0315654054, -0.0480630882, -0.0772014409, 0.0113188308, 0.0297924634, 0.0064994423, 0.0587372668, -0.0486815907, 0.0126505084, -0.0487928465, -0.0037038962, 0.0079210093, 0.0292743091, 0.0056272834, 0.0281260349, 0.0210051071, 0.0179329664, -0.0043742633, -0.0373580828, 0.0586445779, -0.0641388819, -0.0218595769, 0.0005184801, 0.0043556504, -0.0122274719, -0.0009257657, -0.0578467399, -0.0013043841, 0.0394950397, -0.046222236, 0.0340051539, 0.0213812981, -0.0332384482, -0.0286664851, 0.0761426464, 0.0736984834, -0.0292505529, -0.005810868, -0.0374030806, -0.0094596948, 0.0044042645, -0.0024746021, 0.0549771488, -0.0557872988, 0.0711531714, -0.0274106991, -0.0043716906, -0.0637283027, 0.0388833992, 0.0121744741, 0.0024182342, 0.0214961693, -0.0052698767, -0.013949248, -0.078723073, -0.0059152776, 0.0342312716, 0.0109178778, 0.0357394032, -0.0032119171, 0.028943941, -0.0304730162, -0.0615682118, -0.098389186, 0.0218483694, -0.0216642767, 0.0138222063, 0.0187918451, 0.0025932326, -0.0121499654, -0.0295220129, -0.0075045265, -0.0192501899, -0.0075258831, 0.0290704202, 0.0007096523, -0.0053205295, -0.03556877, -0.0401951484, -0.0271547381, 0.0155092021, 0.0380215384, -0.0294003896, -0.0039690109, -0.0816364959, 0.0022479016, -0.0275437068, 0.0336865932, 0.0080969958, -0.0152974408, -0.0284518804, -0.0225529764, 0.0181530695, 0.0449817814, 0.0324333794, 0.0452416874, 0.0521902293, 0.0025542364, -0.0258635972, 0.0144530972, -0.0309391394, -0.0669841543, -0.0390921049, -0.0077751237, 0.003337173, 0.0739119798, -0.0466259345, -0.0200292654, -0.0353655405, -0.0081415381, -0.054261256, -0.0139967334, -0.0589403324, 0.0047603347, -0.0117381904, -0.0211174712, -0.0300140511, -0.0575721487, 0.0575149506, -0.0021119926, -0.0069274069, -0.0713114515, -0.0403694101, -0.0130009549, 0.0438514277, -0.033238247, 0.0300864987, 0.0045006317, -0.0313505903, -0.0825863332, -0.0035979343, 0.0245822277, -0.0170509648, 0.0454590581, -0.0371768922, 0.040346358, -0.0180959217, -0.0323970914, -0.0650585443, -0.0710070655, -0.0052180784, 0.0044871285, -0.0191121381, 0.003538043, -0.0526264384, 0.0385046788, 0.0245308541, 0.055338677, -0.0025898796, -0.0057042795, -0.0135030588, 0.0544699468, 0.0365775563, 0.0452734865, -0.0217984095, -0.0440345779, 0.016562229, 0.0244015604, 0.0327742361, -0.0193828363, -0.0155115854, 0.018749088, 0.05024039, -0.0420680232, 0.0106569743, -0.0222790428, 0.0113960458, -0.0416245311, -0.0250177234, 0.1281949878, 0.0415628217, -0.0526650771, 0.001455978, -0.0123629719, 0.0321929604, 0.0182160325, 0.0524400175, -0.0398288704, -0.0051225103, 0.0187962446, 0.0341558605, 0.0347050391, 0.0013500392, -0.017284805, -0.0952986628, 0.0200305339, 0.054710038, -0.0366114788, 0.0003352293, -0.0256988779, -0.0041392446, 0.004895201, 0.003808453, 0.0421049297, -0.0074958405, -0.0224981271, 0.0254902598, -0.0025808527, -0.0427853577, 0.0048780194, -0.030188987, 0.070124492, 0.0501362756, 0.0231809523, 0.0359930806, -0.0155676957, 0.0993876681, -0.0329826362, -0.013400767, -0.017093258, 0.0135031193, -0.0181866903, -0.0004714034, 0.036670249, -0.009472616, -0.0059094303, -0.0102404198, 0.0223000292, 0.0667659789, -0.0006348027, 0.0160212517, 0.0000415864, -0.0524937063, 0.0139990691, 0.0398596525, 0.0032673487, -0.0523719266, -0.0069796965, -0.0087828115, 0.0020748833, -0.0108131375, -0.0227822755, 0.0165769588, -0.0770279318, -0.0259867385, -0.0522323363, -0.0083847102, 0.014198266, 0.0328441933, 0.0237191375, -0.0154958172, -0.0002538924, -0.0201879069, -0.0568932407, 0.0217823032, -0.0547630936, -0.0037192763, -0.0830628574, -0.0440953411, 0.0541310273, -0.0138486149, -0.0073071592, -0.0306415353, -0.0509146526, -0.0550099388, -0.0038031146, 0.0339424387, 0.0169392806, 0.0821097121, -0.0090526277, -0.0675046518, 0.0384713598, 0.002567569, -0.0371223502, 0.0369687304, 0.0143802902, 0.0004577794, -0.0099884421, 0.0360317789, -0.0455792956, 0.0208962318, 0.0139131211, 0.0644220039, 0.0007952193, -0.0327747911, 0.0166704245, -0.02263611, 0.0035423834, -0.0214425176, -0.0048311129, -0.0665289238, 0.0190902222, 0.0073571685, -0.0323490165, -0.0242901556, 0.0106361983, 0.0490766279, -0.0007727824, -0.0005735701, -0.0119101256, 0.0242480207, 0.043957755, -0.0253157448, -0.0120896408, 0.0037433228, 0.0101357428, 0.0184855014, 0.0239903573, -0.030096285, 0.0157568306, 0.0003768816, 0.0392209552, -0.042503316, 0.0275232755, 0.0054402626, -0.003530639, -0.0620346479, 0.0494406857, -0.0286959112, -0.0574454665, -0.0609490313, 0.0345056467, 0.0942482725, 0.015687732, 0.0575624853, -0.0003939516, -0.0336318314, -0.0325522386, 0.0074502314, -0.007956625, -0.0420358293, -0.0127789602, 0.0238647629, -0.0210954342, 0.0437824391, 0.0687464029, 0.0231490973, 0.0269905329, -0.0239257123, 0.0027725636, -0.0458449721, -0.0001511364, -0.017457515, -0.009447623, -0.027225161, 0.0384250246, -0.0132979229, -0.0709937438, 0.0339723676, -0.0047830665, -0.0289497916, 0.0001043048, 0.0113184527, 0.0419131182, -0.0141393431, 0.0196544956, -0.032118611, 0.0054194923, 0.0416093208, -0.0343133174, -0.022558134, -6.185482131e-33, -0.0429001153, 0.0405791923, 0.0510382243, -0.0636457354, -0.0743144527, -0.0070598144, -0.0499558151, 0.0278759971, 0.0146916937, -0.0164819509, 0.002395449, -0.0088572707, 0.0080712298, 0.0198740158, 0.0272505302, -0.0114350235, 0.0539057553, 0.0036686535, -0.0093599493, 0.0383179374, 0.0319881253, 0.0327231511, 0.0488192998, -0.0548826903, -0.0090314159, 0.0446604453, 0.008065124, 0.0645150393, 0.0483395085, 0.0814873949, -0.0302792769, 0.01661193, 0.0224324558, -0.0224428754, -0.0199687444, -0.0254824217, -0.064478904, -0.0161463432, -0.0069325799, 0.020465849, -0.0213958714, -0.0426717736, 0.019845929, -0.0101395547, -0.0016613093, 0.0124222115, 0.0201000292, -0.0372230858, -0.0348935835, 0.0086817024, -0.0734626874, 0.0134989368, -0.0083024437, -0.035321366, 0.0126386201, 0.0043020318, 0.0135624874, -0.0121295452, -0.0644020364, 0.0071855765, 0.0213670526, 0.0726702139, 0.0512110628, 0.044496201, 0.0208965521, 0.0195598956, 0.0095881065, -0.0211379621, 0.017354805, -0.0058981017, 0.0560265817, -0.0075657493, -0.0069528376, 0.0125740757, 0.0351740979, -0.0370372646, -0.0280316286, -0.0129365148, 0.0226654857, 0.0430875048, 0.0299368668, 0.0239705872, 0.0080566788, -0.023600081, -0.0482816175, 0.0290310271, -0.0465978161, 0.010985299, 0.0584772304, 0.0510712303, -0.0304966588, -0.0230063293, 0.063073203, -0.0368172079, -0.0403687358, 0.0201887134, -0.0079332525, 0.0337161496, 0.0037380478, 0.0407967903, -0.0330037326, -0.0512073077, -0.000521973, -0.0409702025, -0.0180832054, -0.0080509316, 0.0328069516, 0.0605484061, -0.0467371531, 0.0168329272, 0.0027662425, -0.0024959797, 0.0236559398, 0.0530357584, 0.0181289185, 0.0274971705, 0.0212934818, 0.0457959026, 0.0678957924, -0.0238940846, -0.0253214296, 0.0430329964, 0.032071799, 0.0338906832, -0.0143447146, 0.0248506479, -0.0221167877, 0.0122679239, -0.0135099264, -0.0956638157, -0.005235021, -0.0196446553, 2.509e-7, 0.0316706598, 0.0290487092, 0.0002243618, -0.0072578667, 0.0447153337, 0.012915344, -0.0258581769, -0.0005187708, 0.0471675433, 0.0554395281, 0.02558388, 0.0321659148, 0.0641201958, 0.0003848822, -0.0631163269, -0.0104543781, -0.0297389291, 0.0700495169, -0.0633051395, -0.0038588068, 0.0249779113, 0.1251498759, 0.0098150223, 0.0012838417, -0.02097564, -0.0850375816, 0.0859321207, 0.0140054766, 0.0222773105, 0.0285349395, -0.01385382, 0.0595014989, -0.02130468, -0.0183917582, -0.0170691516, 0.0348027609, -0.0236845296, 0.0581025071, -0.0386292376, -0.0145961018, 0.0281137619, 0.0130331507, -0.0046627135, -0.042691879, 0.0577702597, -0.0846514553, 0.0033303131, -0.0094262213, -0.006191826, -0.0039871861, -0.0113976886, -0.0162388515, -0.0504278019, 0.0284099784, 0.0475230478, 0.0350174271, -0.0336986855, -0.0995030105, -0.0287808087, 0.0173323508, -0.0534417443, -0.0400526673, 0.0004212075, -0.0094344812, 0.0142132724, -0.0486408211, 0.0392090976, 2.334144235e-34, 0.0211407617, -0.0046890392, 0.017277658, 0.0757476911, 0.0081772022, -0.0387669951, 0.0038889118, 0.0105234319, 0.0055837212, -0.0919672698, -0.0122310137 ]
http://arxiv.org/abs/2402.01360v1
http://arxiv.org/pdf/2402.01360v1
What Makes Medical Claims (Un)Verifiable? Analyzing Entity and Relation Properties for Fact Verification
2024-02-02T12:27:58
2024-02-02T12:27:58
Amelie Wührl, Yarik Menchaca Resendiz, Lara Grimminger, Roman Klinger
cs.CL
cs.CL
Biomedical claim verification fails if no evidence can be discovered. In these cases, the fact-checking verdict remains unknown and the claim is unverifiable. To improve upon this, we have to understand if there are any claim properties that impact its verifiability. In this work we assume that entities and relations define the core variables in a biomedical claim's anatomy and analyze if their properties help us to differentiate verifiable from unverifiable claims. In a study with trained annotation experts we prompt them to find evidence for biomedical claims, and observe how they refine search queries for their evidence search. This leads to the first corpus for scientific fact verification annotated with subject-relation-object triplets, evidence documents, and fact-checking verdicts (the BEAR-Fact corpus). We find (1) that discovering evidence for negated claims (e.g., X-does-not-cause-Y) is particularly challenging. Further, we see that annotators process queries mostly by adding constraints to the search and by normalizing entities to canonical names. (2) We compare our in-house annotations with a small crowdsourcing setting where we employ medical experts and laypeople. We find that domain expertise does not have a substantial effect on the reliability of annotations. Finally, (3), we demonstrate that it is possible to reliably estimate the success of evidence retrieval purely from the claim text~(.82\F), whereas identifying unverifiable claims proves more challenging (.27\F). The dataset is available at http://www.ims.uni-stuttgart.de/data/bioclaim.
What Makes Medical Claims (Un)Verifiable? Analyzing Entity and Relation Properties for Fact Verification: Biomedical claim verification fails if no evidence can be discovered. In these cases, the fact-checking verdict remains unknown and the claim is unverifiable. To improve upon this, we have to understand if there are any claim properties that impact its verifiability. In this work we assume that entities and relations define the core variables in a biomedical claim's anatomy and analyze if their properties help us to differentiate verifiable from unverifiable claims. In a study with trained annotation experts we prompt them to find evidence for biomedical claims, and observe how they refine search queries for their evidence search. This leads to the first corpus for scientific fact verification annotated with subject-relation-object triplets, evidence documents, and fact-checking verdicts (the BEAR-Fact corpus). We find (1) that discovering evidence for negated claims (e.g., X-does-not-cause-Y) is particularly challenging. Further, we see that annotators process queries mostly by adding constraints to the search and by normalizing entities to canonical names. (2) We compare our in-house annotations with a small crowdsourcing setting where we employ medical experts and laypeople. We find that domain expertise does not have a substantial effect on the reliability of annotations. Finally, (3), we demonstrate that it is possible to reliably estimate the success of evidence retrieval purely from the claim text~(.82\F), whereas identifying unverifiable claims proves more challenging (.27\F). The dataset is available at http://www.ims.uni-stuttgart.de/data/bioclaim.
[ 0.0652240738, 0.0414031893, 0.0207128264, -0.0156509951, -0.0084136967, 0.0060188081, -0.0065547312, 0.0285206344, 0.0071219504, -0.0219710451, 0.0360165723, 0.0100176437, 0.015256023, -0.0204764809, -0.0024239966, -0.0220310241, 0.0206624214, 0.0456312932, 0.1103167757, -0.0100061698, -0.008164959, 0.0017815387, -0.0508440696, 0.0386711098, -0.0435430929, 0.0137949185, 0.0465210602, -0.0145958345, 0.0147705814, -0.0842375159, -0.0016093478, 0.0512145646, -0.033266589, 0.0405405574, 0.0000018551, -0.0467154793, -0.0249168258, 0.0622939989, -0.0644885376, -0.0091127558, 0.0027444933, 0.0164457094, 0.0031654809, 0.0130946888, -0.0122493794, -0.0437617302, 0.0489932895, 0.0524026975, 0.0258726832, 0.0872368813, -0.0178968981, -0.0010687704, 0.0122681428, -0.013170871, 0.0236580409, -0.0197977461, 0.0365163237, 0.0145046832, 0.0372398533, 0.0129066361, 0.0476895534, 0.0524875782, -0.033622019, -0.0013964731, -0.0101070292, 0.0351367779, -0.0472558104, -0.0348197073, 0.0340160243, 0.0124579566, 0.0688524097, -0.0316616222, 0.0272705834, 0.0122067593, 0.0094666779, 0.080977492, 0.002479523, 0.0379975885, -0.0333597325, -0.026692573, 0.0168888066, 0.0270888675, 0.0452549942, -0.0000847654, 0.01948932, 0.0219388101, -0.0267741773, -0.0339953266, 0.0171671659, 0.0006332643, 0.0175762326, -0.0883717164, 0.0363639481, -0.0074197869, -0.0120035401, 0.0167626385, 0.0195845682, -0.0307288542, 0.1095708311, -0.0549339205, -0.0248593334, -0.0317513533, -0.0453892164, 0.054749392, -0.0166049451, -0.0532478727, -0.0431116894, 0.0291897431, 0.0096545452, 0.0010010774, -0.0481062233, -0.0215340126, -0.0202685054, 0.0156960152, -0.001180323, 0.0430357195, -0.0441543758, -0.0593770333, -0.023591375, 0.0297622681, -0.0239409786, 0.0007154426, -0.0218126904, -0.0030033006, -0.0556723922, 0.0163688753, -0.006593233, 0.0293051712, -0.0245205313, -0.0393275023, 0.0231717937, 0.028609233, 0.0263052452, 0.0021731632, 0.0280670002, 0.005358886, 0.0476122387, -0.0199264847, -0.0089870896, -0.0626993552, -0.0129793249, -0.0113278329, 0.0126437703, -0.0298062097, -0.0113711022, 0.0045564268, -0.004623001, -0.0535854772, -0.0025420461, 0.0163158327, -0.0430470258, 0.0491905101, -0.0740988255, -0.0159446765, 0.0254263654, 0.0158123206, 0.0058862003, 0.0025249184, 0.0281406529, 0.0032929019, 0.0425589196, 0.0150186354, 0.0201165043, -0.033351168, 0.0604816638, -0.0340754762, 0.0868394524, 0.0228065606, -0.0023103605, 0.0493382402, -0.0652842373, 0.044719968, -0.0426494628, -0.0389696509, 0.0193483531, 0.0393796749, -0.011491172, -0.0482368022, -0.0111946976, -0.0432486832, 0.0328641608, -0.0085018743, -0.0305091646, -0.0008313521, -0.018879829, -0.0249291901, 0.0057426612, -0.0199779905, 0.0168529246, -0.0613101721, -0.0521547869, 0.0238377899, -0.0585759915, -0.0300449692, 0.0202120189, 0.0095154755, -0.000371423, 0.0325742401, 0.026925629, -0.0331525318, -0.0207736585, -0.0311891194, 0.008598052, -0.0268092919, 0.0353777409, -0.0199811105, -0.011935669, -0.0024529831, -0.0110437097, 0.0236053206, 0.0259976815, -0.0325819999, -0.0181860961, 0.0083690574, -0.0253932532, 0.0079617025, 0.0305347871, -0.0371511951, 0.0321037471, 0.0252701584, -0.0130684217, -0.0446739867, -0.0347052403, 0.0265286285, -0.0145742474, 0.0103027709, -0.020245675, 0.0026218444, 0.0553817116, 0.0367146432, 0.0069390284, 0.0452399477, 0.0285209324, -0.0191315301, -0.0444646664, 0.024130404, 0.0807242617, 0.0297555327, 0.0030630399, -0.0917240307, -0.0340269841, -0.0365943834, 0.0083281081, -0.0073623355, -0.071206525, -0.0546142645, 0.0156058259, -0.0182508901, -0.0179208089, 0.016992528, -0.0361190848, -0.0290281661, 0.0424806438, 0.0109942518, -0.0097507127, -0.0453353859, -0.0651822612, 0.0509162396, -0.0407262109, -0.0376493409, -0.0006028633, 0.0297641642, 0.0050848546, 0.0332342386, -0.0719188005, -0.0262471847, 0.0250424352, -0.0979166478, -0.0070209848, 0.0154079124, 0.0314813405, -0.0274341088, -0.0247825291, 0.0176688917, -0.0261130724, -0.0163102001, -0.0507505462, -0.0040302011, 0.0288225673, 0.0503133647, 0.0252889264, 0.0097718043, -0.0224805754, -0.0044339299, -0.0414437428, 0.0096275555, 0.0526394472, -0.0500371158, 0.0021667711, 0.0066704997, -0.0276302174, 0.0122453496, 0.0065887538, 0.0303282365, 0.0483888797, 0.0258498527, -0.052387666, 0.0263819396, 0.0068266792, 0.0187606867, 0.0249268003, 0.0370265171, -0.0150333755, 0.0014630515, -0.0308206752, 0.0017361045, 0.0251245499, -0.0453468263, 0.0582242347, 0.0301447082, -0.0018387429, -0.0283938702, -0.0424051471, 0.0132807083, -0.0343691893, -0.0023520202, 0.011452863, 0.0112710297, 0.0094872136, 0.0742708445, 0.0014036488, -0.0163878072, 0.0791491196, -0.0228273645, 0.0324426368, -0.0344123431, 0.0069333543, 0.0152855897, 0.0099002151, 0.0133198444, 0.013883641, 0.0606810227, 0.0117118405, 0.0458908565, 0.0035541232, 0.0830339789, -0.0386620834, -0.0238130223, 0.0044620978, 0.0631214306, 0.0105321137, -0.0521501489, -0.0136064468, -0.0356356464, -0.0239839461, -0.0118446862, -0.0284137521, -0.0040999255, -0.0811826587, -0.0119037386, 0.0264789443, 0.0491552986, 0.0320758633, -0.0124111176, 0.0038837001, -0.0310023706, -0.0094930325, 0.0268466529, 0.0240778066, -0.0071845078, -0.0634852871, 0.076593481, -0.047146067, 0.0110332174, -0.0086958017, -0.0363030322, -0.0353370719, -0.0446244292, 0.0028508152, -0.0256755017, 0.0127904583, -0.0538468696, 0.0184834599, 0.0511519834, 0.0115684066, 0.0276314002, 0.0256186165, 0.0156792477, -0.0583804995, 0.0060382225, 0.0093909521, -0.1230851561, 0.0106587904, -0.0258620996, 0.003265463, -0.0488895029, -0.0416880213, 0.0024161316, -0.0362061821, 0.0701211989, -0.0248944387, 0.0161238797, -0.004721534, -0.0884546041, 0.0071598422, -0.045305945, -0.030645702, -0.0140629383, 0.0398466103, 0.0133069148, 0.0242486466, -0.0103922943, -0.0575421527, 0.0127043081, -0.0256238393, 0.0301669631, 0.0336463079, 0.0285927001, -0.0197020452, -0.0550382212, -0.0459937677, 0.0487614311, -0.0229777396, 0.0082115717, 0.1056300104, -0.0022040554, 0.0044534481, -0.0561120138, 0.0090319384, -0.0306032319, -0.0309822224, -0.0083666388, 0.0567853004, -0.026147861, -0.0264195781, -0.0550048985, -0.0201946981, -0.0147315729, 0.0706967339, -0.0025748869, 0.0442477129, -0.0068941889, 0.009226406, 0.0363410711, 0.0192373209, -0.0387989879, 0.071860835, -0.0448013768, -0.0532554574, -0.0798690617, 0.001795055, 0.0143393027, 0.0447036177, -0.0105020218, 0.0012225275, 0.0527307428, 0.0074932463, -0.0640164241, 0.0881044194, -0.0153357023, 0.0121019054, -0.023365017, -0.0097340131, 0.060636308, 0.0302363615, -0.023047816, 0.005415, 0.0170483757, -0.0131007889, -0.0355956368, -0.0043980205, 0.0273606237, -0.0052695344, -0.0147999628, -0.0556931421, -0.0267474186, 0.0798305646, -0.0274448097, -0.0248468928, 0.0082208207, -0.0662715435, -0.0222484004, -0.0236818679, -0.0087912483, 0.0443213731, -0.01523533, 0.0194983445, -0.0433698036, -0.0073731435, 0.0656130761, 0.0853485912, 0.0914491117, -0.0121450275, 0.0008090766, -0.0105377659, -0.0129614323, 0.0010091346, -0.019279195, -0.0190260708, -0.0170403402, -0.0105202068, 0.0017126868, -0.0173317436, 0.0083172116, -0.05016388, 0.0297801755, -0.0206829943, 0.0303548537, 0.0106371325, 0.0238813534, 0.0245742444, -0.0359283127, -0.0005332759, -0.0177427027, -0.0111028226, 0.0622650422, 0.0004120011, -0.0143615808, 0.0363597125, 0.0031990069, 0.0201537069, -0.023568023, -0.0592816509, 0.0063409745, -0.0256970171, 0.0402529798, -0.001261628, 0.0098794131, 0.023307059, -0.0329399444, -0.007845141, -0.0091583626, -0.0060784104, 0.000183062, 0.0278173238, 0.0433632173, 0.0114575597, -0.0218746234, -0.0162380934, 0.0572335906, 0.0199198294, 0.0642738268, -0.055872228, -0.060923405, -0.0372699313, -0.0700213835, -0.0403015018, 0.0072036646, -0.029144844, -0.0173671097, -0.0875494182, -0.0283374004, -0.0003588344, 0.0384976082, 0.007915427, 0.0146351978, -0.0190816745, 0.0611814782, 0.0276772417, -0.0654321909, -0.0146080554, 0.0517586023, -0.0334833078, 0.0126888501, 0.0263649747, -6.120716065e-33, -0.0046641668, -0.0908825845, -0.0088466853, 0.0081186295, 0.0463070422, 0.0510036349, -0.0327438638, -0.0096025094, -0.0211875346, 0.0757729784, 0.0080775553, 0.0363482684, 0.0195167121, -0.0263381228, 0.0243703723, 0.015592766, 0.0470417365, 0.0206163116, -0.0458840318, -0.0097945454, 0.0197473448, -0.0219371598, 0.0257487074, -0.1437121481, 0.0692746714, 0.016758794, -0.006963193, 0.03633973, -0.068443574, 0.0656347424, 0.0085045742, 0.0046640825, 0.0208847672, -0.0168677531, 0.022505777, -0.0497361794, -0.0911562145, 0.016352253, 0.0317929685, -0.0210589822, -0.0563694127, -0.0146046281, 0.0566208325, -0.0021200876, -0.0456981733, 0.0164616145, 0.0253232922, -0.0305216368, -0.0040688096, -0.0673936605, -0.0122974543, 0.0526871458, 0.0240084156, 0.0187898558, -0.0021048423, -0.0073850099, -0.0068747597, 0.027932886, -0.0305558387, 0.017973749, -0.0232449342, -0.0085998429, -0.0156745818, -0.0749649853, -0.0321598984, 0.0609749779, -0.0071118539, 0.0519695729, -0.0101496056, -0.0013339604, -0.0420474634, 0.0552625842, 0.0627836138, 0.0860850364, 0.0446095765, 0.0225199349, -0.0819440782, 0.0250530336, -0.0300014168, 0.011939724, 0.0018759198, -0.01641169, -0.0564470477, 0.0039723832, -0.0266257208, -0.011191139, -0.0179811623, 0.0356808975, -0.0182343088, 0.016505884, 0.000108406, 0.0564337187, -0.0269822273, -0.0156075666, 0.0189762935, -0.0310623366, 0.0487533323, -0.0090831518, -0.0278726146, -0.0048585786, -0.0476771966, 0.0264186878, -0.007439625, 0.0179356821, 0.0422564596, 0.0258595701, 0.046359051, -0.043849431, -0.0393746048, -0.0115282759, 0.0241995156, 0.0157902949, -0.0213331748, -0.0542800277, 0.0601720177, 0.0330186039, 0.0221682899, 0.0098932739, 0.010617286, 0.0394348577, -0.0504059233, 0.0170762204, -0.0106187118, -0.015479981, 0.0018769912, -0.024556838, 0.0156378318, 0.0145943714, 0.0069030453, -0.0551131777, 0.0386275984, -0.0019027637, 2.792e-7, 0.0681876764, 0.0537916794, 0.0349956714, -0.0131311473, 0.0293670949, 0.039896898, 0.0079539884, -0.0366923399, 0.0136477398, -0.1007949784, -0.0007910817, -0.0182593204, 0.0107573736, 0.031052202, -0.0715068206, -0.0724117458, -0.0231226273, -0.0462866351, -0.0115515944, 0.009462541, 0.0408239327, -0.011816442, 0.0046744742, -0.0060802456, -0.0202059522, -0.009081969, 0.0403257087, -0.0078808358, 0.0119640864, 0.0204752143, 0.0835129768, -0.0129378764, 0.0411260538, 0.0715293214, -0.0363525413, 0.0127614103, 0.0028223391, 0.0639566705, -0.0094771916, 0.030980913, -0.0173702314, -0.0451731905, 0.0425025895, -0.0026886854, 0.0003056661, -0.0165932197, -0.052242022, -0.0422582887, -0.0176079739, 0.0113327373, 0.0406851694, 0.0422885902, -0.0072464175, -0.0033261315, -0.0150175756, 0.0347839855, -0.0165342223, -0.0458812416, -0.0071992511, 0.0296453498, -0.0266562514, -0.0534143783, 0.0386457667, -0.022815872, 0.0089523401, -0.0697019473, -0.0080226986, 1.984250076e-34, 0.0206304826, 0.0110359723, 0.0107734678, -0.0232329331, 0.0472987778, 0.0277537312, -0.0031839886, -0.0175663009, 0.0259405226, -0.0122233285, 0.0067179264 ]
http://arxiv.org/abs/2402.01352v1
http://arxiv.org/pdf/2402.01352v1
Describing Images $\textit{Fast and Slow}$: Quantifying and Predicting the Variation in Human Signals during Visuo-Linguistic Processes
2024-02-02T12:11:16
2024-02-02T12:11:16
Ece Takmaz, Sandro Pezzelle, Raquel Fernández
cs.CL
cs.CL, cs.AI, cs.CV
There is an intricate relation between the properties of an image and how humans behave while describing the image. This behavior shows ample variation, as manifested in human signals such as eye movements and when humans start to describe the image. Despite the value of such signals of visuo-linguistic variation, they are virtually disregarded in the training of current pretrained models, which motivates further investigation. Using a corpus of Dutch image descriptions with concurrently collected eye-tracking data, we explore the nature of the variation in visuo-linguistic signals, and find that they correlate with each other. Given this result, we hypothesize that variation stems partly from the properties of the images, and explore whether image representations encoded by pretrained vision encoders can capture such variation. Our results indicate that pretrained models do so to a weak-to-moderate degree, suggesting that the models lack biases about what makes a stimulus complex for humans and what leads to variations in human outputs.
Describing Images $\textit{Fast and Slow}$: Quantifying and Predicting the Variation in Human Signals during Visuo-Linguistic Processes: There is an intricate relation between the properties of an image and how humans behave while describing the image. This behavior shows ample variation, as manifested in human signals such as eye movements and when humans start to describe the image. Despite the value of such signals of visuo-linguistic variation, they are virtually disregarded in the training of current pretrained models, which motivates further investigation. Using a corpus of Dutch image descriptions with concurrently collected eye-tracking data, we explore the nature of the variation in visuo-linguistic signals, and find that they correlate with each other. Given this result, we hypothesize that variation stems partly from the properties of the images, and explore whether image representations encoded by pretrained vision encoders can capture such variation. Our results indicate that pretrained models do so to a weak-to-moderate degree, suggesting that the models lack biases about what makes a stimulus complex for humans and what leads to variations in human outputs.
[ 0.0097258538, 0.0380448103, -0.0383378901, 0.0379962362, 0.0076137744, 0.0213009715, -0.0232177749, 0.0067328573, -0.0209701974, -0.068534188, -0.0546452291, -0.0710793585, 0.0530774146, 0.0749512538, 0.0127097126, -0.1259235293, -0.0045931335, -0.0136930197, -0.0347826332, -0.0032866045, 0.0337053016, -0.0402131118, 0.0143698938, 0.0301806759, 0.0007335058, 0.0094412751, -0.0436920971, 0.008981212, 0.006873521, 0.0040542553, 0.0116164759, 0.0678022653, -0.0075494736, -0.0398532376, 0.0000019736, -0.0027293058, 0.0904394165, -0.0588180982, 0.0276170671, 0.0419901982, 0.0085874684, -0.0303433314, -0.0037860989, -0.0417622477, -0.0218309183, -0.0520408675, 0.0794032365, 0.0044828877, 0.0470255502, 0.0304878242, -0.0058722789, -0.0259840284, -0.0240686424, -0.0547470599, 0.0393858254, 0.0011342776, 0.006587483, -0.025085222, 0.0081789605, 0.0050415662, -0.102339007, -0.0227201078, 0.0220739264, 0.0796269625, 0.0603126436, 0.0366877243, -0.0077701523, -0.0328095742, -0.0280308817, 0.0829899311, -0.0187232774, -0.0340880379, -0.0341296978, -0.0095055476, 0.0023659372, 0.0154835451, 0.0115646571, 0.0263393614, -0.0170074366, -0.0001095586, -0.064190872, 0.0416374914, -0.0133749172, -0.0092832297, -0.0005622917, -0.0374558717, -0.0031288159, -0.0056457273, 0.0115820169, 0.0301724877, -0.0072757252, -0.0486364774, -0.0062903003, -0.025612535, 0.0275883451, -0.0577226169, -0.050129097, -0.0365068391, -0.0049233497, -0.0309479069, 0.0518603921, -0.0041022017, -0.0909345746, 0.0144222891, 0.0178064704, 0.1143298298, -0.0613465086, 0.0121455844, -0.0742489398, 0.0115705989, -0.0617479086, -0.0136984745, -0.0078746676, -0.0288611799, 0.0124906078, -0.0322623588, -0.0525749139, 0.0199683104, -0.0308339372, -0.0269275438, -0.0503298901, 0.0546267182, -0.0268972162, 0.0068885488, -0.0703221262, 0.0085653523, -0.0252562463, 0.0291365553, -0.0390179791, -0.0467932709, -0.0044740355, 0.0581436493, -0.0030457452, -0.0037735139, -0.0007389537, 0.0327349827, -0.0087464545, 0.010769357, 0.0105947666, 0.001183402, 0.0007821444, -0.0270113405, 0.0365448631, -0.0238788724, 0.0276666395, 0.0073189782, 0.0162657313, -0.0482883081, -0.0236400459, -0.0184813775, -0.0089030089, 0.065349333, -0.0563663729, 0.0024964071, -0.0238785911, -0.0055812974, 0.0205673538, 0.0315835103, 0.0313746743, 0.0180861354, -0.0168832857, -0.0409902483, 0.030477602, 0.026213102, -0.0167346951, 0.0098276827, -0.0269256253, -0.0398375206, 0.0295315627, 0.0229681116, 0.0985054746, 0.0493788384, -0.0428010225, -0.0701665431, 0.0699001774, 0.0690446645, 0.0057841009, 0.000082319, 0.0602132045, 0.0054513146, 0.0382202156, 0.051329881, -0.0162402224, 0.0467863791, 0.0633000955, 0.0177258141, -0.0500481203, 0.0281478614, -0.0588418804, -0.0350621082, -0.0034462092, -0.0442290567, 0.0443683378, -0.0068303952, 0.0173290893, 0.0079277195, 0.001302858, 0.0293296855, 0.0127557563, 0.0033135074, -0.0025534695, -0.0301021319, -0.0026283583, 0.0883317143, -0.0324261971, 0.0393654183, 0.0279809944, -0.0031270119, 0.0120511027, 0.0156360939, 0.0227099825, 0.0233372208, 0.0430601649, -0.0368980095, -0.060004767, -0.0586928055, 0.0086194556, 0.0168010611, -0.0364209488, -0.0242748689, 0.0035231533, 0.019391831, -0.0249980353, 0.0297414958, 0.0379072204, 0.0152628087, -0.0023092006, 0.0064960974, 0.0262021571, -0.0282127876, -0.0076113627, 0.0241871923, 0.0083682379, 0.0032867286, 0.0773744881, 0.071250245, -0.0189393442, 0.0081448713, 0.0080857174, -0.0644987896, 0.0019353526, 0.0219046045, 0.0162529424, -0.0301733632, 0.0102768326, -0.0683451444, -0.0260616187, -0.0055418103, 0.0156580247, 0.0201667659, 0.0394329727, 0.0259404667, 0.0323072933, -0.0096654054, -0.0020972535, -0.0119736595, 0.0143455239, 0.0337228589, -0.0317852907, -0.0077854474, 0.0118803559, -0.0057470952, 0.0037008803, 0.0000397222, -0.0182915758, -0.0439852327, 0.0319414586, -0.0383876115, -0.043961402, -0.0241392441, -0.0366867408, 0.0126353344, -0.0086123561, -0.0011072032, -0.0383747667, -0.0270408932, 0.0756568462, -0.0226458441, 0.0081260037, 0.0100887269, 0.0076746773, -0.0049791713, -0.0211160742, -0.0003846878, 0.0391896814, 0.0696953237, 0.0105330572, -0.0223229751, -0.0575022884, 0.0408696234, -0.0042063296, 0.033078827, 0.0059627537, -0.0430295616, 0.0392751954, 0.0096799703, 0.0065930677, 0.0938050821, 0.0477413796, 0.0585746802, 0.0582771748, -0.0013404887, -0.0191633049, -0.0499523766, -0.0183936954, -0.0019586156, -0.0208564103, -0.0377646461, 0.0152409822, 0.0408417471, 0.0373575054, 0.0335387774, -0.0967360139, 0.0041947635, 0.0138008194, -0.0619108714, -0.0239296407, -0.0013479142, -0.0199760888, 0.0570236854, -0.0262528267, -0.0723543093, 0.057550773, 0.0106598968, -0.0210247692, 0.0191535056, 0.045107007, 0.0185175538, 0.0580932647, 0.024183318, 0.0064421464, 0.002597956, 0.0296450462, -0.0430705585, 0.0183658618, 0.0418563485, 0.014985323, 0.0201694369, -0.0344016589, -0.0337071121, -0.0123569397, -0.0217016097, -0.0262783784, -0.014480467, -0.038080506, -0.0072460212, -0.0052820356, 0.0228547435, -0.0067854617, 0.0366822481, 0.0123400288, -0.0022323418, -0.0071226992, -0.0337464288, -0.0049090791, 0.0175859556, 0.0496016592, 0.0210477356, -0.0414988175, -0.0845933333, -0.022136189, 0.0571636334, -0.0148099735, 0.0585268587, -0.0982146785, 0.0595630296, -0.0079211779, 0.0072637424, -0.0285412651, 0.0558869541, 0.0097474745, -0.0138759725, -0.0112795802, 0.0542823747, 0.0101998271, -0.0316474847, 0.0367978513, 0.0311423223, -0.002445753, 0.0169499535, 0.0115797929, -0.0673943385, -0.0206142236, -0.0476807579, -0.006348351, 0.0234935042, 0.0089194458, 0.0026026135, -0.0387737602, 0.0306320451, 0.0627303347, -0.0172077883, -0.0478402227, 0.0086278124, 0.0040602144, -0.0006777076, -0.0072879069, -0.0305457152, -0.0000230262, 0.0420719124, 0.0356028713, 0.0136050163, -0.0194571149, 0.0089007178, -0.0438310243, -0.0148138627, 0.0589527972, -0.0420271307, 0.0026945579, -0.0449361689, -0.0192767121, -0.0194332246, 0.0206180718, 0.0080720577, 0.0627399161, -0.0256967321, -0.0520052873, -0.0299922824, 0.0115357609, -0.0279330201, -0.0316123962, -0.0374222398, -0.022206204, -0.0555941053, -0.010048301, -0.0353097841, -0.009256999, -0.0144210206, 0.0146069461, 0.0070666308, -0.0775675178, -0.0059054527, -0.0092281066, 0.0202660952, -0.0294088144, -0.078170687, 0.0267670639, 0.0309565719, -0.0312470961, -0.0454635061, -0.0705898106, -0.0494718626, 0.0203755517, 0.0121937785, -0.0619056337, 0.0599230565, -0.0289576203, -0.0682493225, 0.0932697281, 0.0397880115, -0.0060835821, -0.0488706417, -0.0788383335, 0.0347426608, -0.0080133826, -0.011003647, -0.0059652147, -0.0675223917, -0.0251145121, 0.0210097879, 0.0360523909, 0.0140430117, 0.0533394329, 0.0214394592, -0.0558355525, -0.0153315365, 0.0037344918, 0.0202984214, 0.0572099648, -0.0194323231, -0.0208128504, -0.0145858442, -0.0172443613, -0.0323392823, 0.013012263, 0.0194578469, -0.0403572246, -0.0166198965, -0.0698339567, 0.0173976626, -0.02434, 0.0665469021, -0.0350664556, 0.0215783603, -0.0012995134, -0.019285962, 0.0431256592, 0.0129886447, -0.042409867, -0.0216338262, 0.050887838, 0.0371323116, -0.0116460593, 0.0087101236, -0.002083512, -0.0185440537, -0.0523291938, -0.0137360012, 0.0019942739, -0.0228435453, -0.0522571951, 0.0477921292, 0.0278358273, 0.0432321019, -0.009811772, 0.024950752, 0.0276883002, 0.0442224517, 0.0291910227, 0.0331709199, -0.0111211706, 0.0041177529, -0.0042091259, -0.0285980962, -0.0336789489, -0.0216839314, 0.0091100037, -0.0506881215, 0.0094877901, -0.013565545, 0.0271679126, -0.0508365892, 0.0351773612, 0.0046372991, 0.0046708989, 0.0237667225, -0.0030540132, -0.0039064963, -0.0138473017, 0.0559140667, -0.0056106402, 0.0102444347, -0.0097545739, -0.0141619481, -0.0582886301, -0.0016890801, 0.0389810838, -0.0200585257, -0.0078657204, 0.0425434411, 0.0001693218, -0.0434350148, 0.0433772728, -0.0052076112, 0.0657099485, 0.0326728821, 0.108490333, 0.0385337546, -0.0359989256, 0.0150055904, -0.0071521471, -0.0539642386, 0.0119981486, 0.0143430578, -0.019586198, -5.633734837e-33, -0.0038917309, -0.0006322766, -0.0178169943, -0.0251724329, 0.0002159702, -0.0157311335, -0.0061811106, 0.0199242514, 0.0085514942, 0.0212161802, 0.060995806, 0.0093956208, 0.0125561031, 0.0071865721, 0.0361764506, -0.0155244088, 0.0174137373, -0.0166958403, -0.0290246569, -0.0266020745, 0.042406071, -0.0204949938, 0.0471688546, -0.0787350014, 0.0076997941, 0.009698363, -0.0238970444, -0.0305778515, 0.0593497157, 0.0641234368, -0.0494928546, 0.0602396503, 0.0190107897, 0.0210636985, -0.0281466637, -0.0031925743, -0.0254394934, -0.0138536179, 0.0048426581, 0.0822331682, -0.0638886541, -0.011176154, 0.0756618157, -0.0153364232, -0.0423257463, -0.0194758922, 0.060516119, -0.0288864262, 0.0146502443, -0.0157549754, -0.0469157211, -0.0268627256, -0.0362144671, -0.035892155, 0.0553027242, 0.0283502601, -0.0333471373, -0.0090912348, -0.0338159613, 0.0412190482, -0.0260125175, 0.010030848, 0.0234160889, 0.0396313891, 0.0587862469, 0.0444924794, 0.0731468201, 0.0199171491, -0.0166738946, -0.0148135535, 0.0527161472, 0.006564701, 0.0244871564, 0.0344596691, 0.0520065874, -0.0044675078, -0.0152349584, 0.0023103836, -0.0494889766, 0.0717188939, -0.0062511708, 0.0229062289, -0.0296572614, -0.0191219114, -0.0036571149, -0.0014209615, -0.0178322867, -0.0128158974, 0.0276898537, -0.0079852277, 0.047286123, 0.003022443, 0.0569242015, -0.0284978207, 0.0208692104, -0.0562727526, -0.0471705645, 0.0650868639, 0.0259568635, -0.0203911252, -0.0221791789, -0.034975376, 0.0550037362, 0.0086802691, 0.0426066779, 0.0191296283, -0.0119074862, -0.0025837759, -0.0157575142, -0.028363714, -0.0050052842, -0.0350230075, 0.0258578733, -0.0292847008, 0.0535484776, 0.0133270286, -0.050633166, 0.0294156857, -0.0714774132, -0.0604404248, -0.0360259265, -0.0480342992, 0.0153312301, 0.0663792714, -0.0151434261, 0.020010177, -0.0597602762, -0.0245635081, 0.0025547643, -0.0247866493, -0.0167624056, 0.0386427306, 2.704e-7, 0.0143982423, 0.0140962759, 0.0156059945, 0.0083756624, 0.0479696207, 0.0327229872, -0.0103143733, 0.0208424795, -0.0176773835, -0.0752267465, 0.0239997134, 0.0573057234, 0.0301967673, -0.0562123805, -0.0075435424, 0.013460408, -0.0103071127, 0.0319897719, -0.0244429801, 0.003688731, 0.0467425585, 0.0348423123, -0.0339089371, 0.0311279465, 0.0448163934, -0.01512744, 0.1138074845, -0.0273082517, 0.0280057117, -0.0161229447, 0.0262103304, -0.0007223479, -0.0160214156, 0.0771668404, -0.0158633832, -0.0304614957, 0.0488852337, -0.0230629481, -0.0513205156, -0.0165109113, -0.0170358904, 0.0154847428, 0.0015454969, -0.0218750276, 0.0452550836, -0.043288812, -0.0318008997, 0.0062601347, -0.024227988, 0.0265934523, 0.0545391627, -0.0166925658, -0.0242087115, 0.0048369886, 0.039626725, 0.0149476053, -0.0446341597, -0.0581068471, -0.0238804594, 0.0086760893, -0.0678986758, -0.0070204418, -0.0525755137, 0.0167278126, 0.0824041739, 0.0348959491, -0.0278887693, 1.330251167e-34, 0.0210594051, 0.0316255167, 0.0543597266, 0.0022826516, -0.0077131218, -0.0395676941, -0.0221773386, 0.014265894, 0.024816988, -0.0206148047, -0.0180232283 ]
http://arxiv.org/abs/2402.01349v2
http://arxiv.org/pdf/2402.01349v2
Beyond the Answers: Reviewing the Rationality of Multiple Choice Question Answering for the Evaluation of Large Language Models
2024-02-02T12:07:00
2024-05-30T01:57:14
Haochun Wang, Sendong Zhao, Zewen Qiang, Nuwa Xi, Bing Qin, Ting Liu
cs.CL
cs.CL, cs.AI
In the field of natural language processing (NLP), Large Language Models (LLMs) have precipitated a paradigm shift, markedly enhancing performance in natural language generation tasks. Despite these advancements, the comprehensive evaluation of LLMs remains an inevitable challenge for the community. Recently, the utilization of Multiple Choice Question Answering (MCQA) as a benchmark for LLMs has gained considerable traction. This study first investigates the limitations of MCQA as an evaluation method for LLMs and then analyzes the fundamental reason for the limitations of MCQA, that while LLMs may select the correct answers, it is possible that they also recognize other wrong options as correct. Finally, we propose a dataset augmenting method for Multiple-Choice Questions (MCQs), MCQA+, that can more accurately reflect the performance of the model, which underscores the need for more robust evaluation mechanisms in assessing the performance of LLMs.
Beyond the Answers: Reviewing the Rationality of Multiple Choice Question Answering for the Evaluation of Large Language Models: In the field of natural language processing (NLP), Large Language Models (LLMs) have precipitated a paradigm shift, markedly enhancing performance in natural language generation tasks. Despite these advancements, the comprehensive evaluation of LLMs remains an inevitable challenge for the community. Recently, the utilization of Multiple Choice Question Answering (MCQA) as a benchmark for LLMs has gained considerable traction. This study first investigates the limitations of MCQA as an evaluation method for LLMs and then analyzes the fundamental reason for the limitations of MCQA, that while LLMs may select the correct answers, it is possible that they also recognize other wrong options as correct. Finally, we propose a dataset augmenting method for Multiple-Choice Questions (MCQs), MCQA+, that can more accurately reflect the performance of the model, which underscores the need for more robust evaluation mechanisms in assessing the performance of LLMs.
[ 0.0597997829, 0.0576246753, -0.0123515418, 0.035483364, -0.0578241833, 0.0324513949, 0.0238813628, -0.0044162134, 0.0265264101, -0.0735643581, 0.0039602285, -0.0402810611, -0.0156724136, -0.018540889, 0.0273778327, 0.0042252713, 0.0294223949, -0.0391742513, -0.0106345536, 0.0016110627, 0.0107889697, 0.0249736048, 0.023308564, 0.035786666, 0.0116393454, -0.0038321298, 0.0061173895, -0.0082140863, 0.005972221, -0.0341868512, -0.0014984544, 0.0621602535, 0.0120686963, 0.0318134278, 0.0000018384, -0.0767294914, 0.0132297976, -0.0090845032, -0.0569565184, 0.0285360198, 0.0262263827, 0.0423534475, 0.0454493575, 0.0464654006, -0.0131643722, -0.0052379388, 0.027481176, 0.0255200006, 0.061284408, 0.0526708849, 0.0275176838, -0.0321408883, 0.0150962574, -0.0106910532, 0.005269303, -0.0256502945, 0.0431711674, 0.0342002064, 0.0057359496, 0.0008761862, 0.0047612563, 0.0020693766, 0.0090725468, 0.0258763488, -0.0059860172, 0.0239238646, -0.0339201987, -0.0269749947, -0.0069422936, 0.0853827745, 0.007548186, -0.0053465664, -0.0174108576, -0.0187240615, -0.0079041338, 0.0330027193, -0.0436375476, 0.0258576795, -0.0127021652, 0.0121201314, 0.0156876277, -0.0072055501, 0.007270237, 0.0508491397, -0.0147444122, 0.0666585714, 0.0217069723, -0.0209649503, 0.0263249204, 0.0238590352, -0.0565101206, -0.0529220961, 0.0230171103, 0.0391026363, -0.0552234352, 0.024313163, -0.0349616669, -0.001766149, 0.057128638, -0.0509410016, 0.0456503965, 0.013795726, -0.0017220624, 0.0346293636, -0.0307386648, 0.0707933083, -0.0169631019, 0.0033456499, -0.0810055137, -0.0231385026, -0.0261312909, -0.0298960209, -0.0168247838, 0.0558587797, -0.0448675081, -0.0258387905, -0.0268282797, 0.0137669025, 0.021097403, 0.0002704369, 0.0134554645, 0.0428453609, -0.0001909195, 0.0120564569, -0.0758042634, 0.048716601, -0.0338222086, 0.040789891, 0.0357938558, -0.0698870718, -0.0030164977, 0.0107986499, 0.031113375, -0.0406800397, 0.0366215035, 0.0731851831, 0.002172766, -0.0334960818, -0.0296909437, -0.0379532389, -0.0315738991, -0.0738089383, -0.0078736134, -0.0836567134, 0.025779739, 0.0466545075, -0.0042513488, -0.0042755036, 0.0326866321, 0.0580212548, -0.0196523722, 0.0340204015, 0.0014583645, 0.0275312904, 0.0529564023, -0.0051120613, 0.0229319409, 0.0653457791, 0.0349717736, -0.000021959, 0.0519503206, -0.0181545746, 0.0254755113, 0.0380333923, -0.006733946, 0.0107289087, -0.026020484, 0.0621104203, -0.0143036833, 0.0353819653, 0.0075040604, 0.0693334416, -0.0157675538, -0.0347006284, 0.0484457612, 0.0579720959, -0.0141856018, -0.016782606, 0.0275339037, -0.0065874909, 0.0209047869, 0.0063251215, 0.0091175195, 0.0024956763, -0.0499653406, 0.0193085819, 0.0464623235, 0.0488282517, -0.0134129161, -0.0574416444, -0.0526062101, 0.024248017, 0.0024765118, 0.0667024702, 0.0303805508, -0.0072956174, -0.0407998897, 0.0294357073, -0.0071293507, -0.0398803502, 0.0021447612, -0.0616653785, 0.0672993287, 0.0425562076, 0.0754687786, 0.0122656915, -0.0576655567, -0.0156193646, 0.0052110935, 0.0426399745, 0.0466774702, -0.0261703767, 0.0052196854, -0.0297499765, -0.0026849443, -0.0099743679, -0.0006792855, 0.0004118201, 0.0202790536, -0.0088026915, 0.0151968226, -0.0176214315, -0.0514418855, 0.045041196, -0.0164920036, -0.0476150513, 0.0115630915, -0.0260230787, 0.0291179754, 0.0082862778, -0.025085289, 0.0356322862, 0.0331302546, -0.017264463, -0.0315654911, -0.039025262, -0.034266226, -0.0518536679, 0.0421574973, -0.0206129868, -0.0113275871, 0.0502835587, -0.0431361236, -0.0449714176, -0.0269216932, -0.0476544835, -0.0086851446, -0.0338069834, 0.0052788719, 0.0122536775, 0.0163555052, -0.0694020018, 0.0756618902, -0.0086046802, 0.0753612071, -0.0002590677, 0.0519013256, 0.0210362747, -0.0165107157, -0.0224744845, 0.0293394178, 0.0024095655, 0.0090537118, 0.0340423025, 0.0184934307, -0.0787954926, -0.0160424374, -0.0756961778, 0.0310576186, -0.0047508101, 0.0109497868, 0.0323377214, -0.0024682705, -0.0259799287, -0.0069145979, -0.0682456121, -0.0245190505, 0.0685613751, 0.0203631464, 0.0314280167, -0.0222043842, 0.0195969343, -0.0483059958, -0.001748092, 0.0043839724, 0.0651754811, -0.0016076436, 0.0294462964, -0.0419935547, 0.0182007924, -0.0513404384, -0.0268625319, 0.0250068493, -0.0106868464, 0.0089676334, 0.0014170117, 0.0288622677, 0.0210509226, 0.0179912839, 0.0003778174, 0.0525243357, 0.0014869741, -0.0291830022, -0.0057811937, -0.0285732914, -0.0310928524, -0.0045817546, -0.0391279683, -0.0221072324, 0.0589410141, 0.0263293106, -0.0175466128, 0.0068196999, 0.0377329476, -0.0191939808, -0.0279095732, -0.0737833008, -0.0301730298, -0.0018660299, 0.0619262867, -0.0170626771, -0.0451894552, 0.066397801, -0.0536271296, 0.0040259548, -0.0635409579, -0.0025697418, -0.0464601256, 0.0407401733, 0.011398661, 0.0049800901, 0.0026465484, -0.0083314646, -0.0354602858, -0.0170193948, -0.0160433259, -0.0799159631, 0.0505323745, -0.0623508655, 0.0039399187, -0.0040492527, -0.0115072187, -0.0386294127, -0.0474217497, -0.0413090028, -0.0014483397, 0.0323055238, 0.0122433724, -0.0058518909, 0.0187999383, 0.0230843555, -0.0039435239, -0.0354478359, -0.0103621371, -0.0156157091, 0.1172963753, 0.0720631704, 0.062962018, 0.0588525496, -0.0161280427, 0.0410651229, 0.041688662, 0.0427808762, 0.0246279798, -0.020782901, 0.0103856483, 0.0228810385, -0.0244288128, -0.0037122536, 0.0159522742, 0.0597341917, -0.0500131957, -0.0421563387, 0.1088074967, 0.0670872182, 0.0155273424, 0.0026145992, -0.0015582963, 0.0254934654, 0.0290337335, 0.0255720057, -0.0603679791, -0.0380270146, -0.0107247084, 0.0223584399, -0.0319087543, -0.0297250487, -0.0095238658, -0.1364308745, 0.0276307166, -0.000602095, -0.0546389408, 0.0068098889, -0.0594887584, -0.0154146664, -0.0125374207, 0.0228839573, 0.0041431338, -0.0044670855, 0.0130273206, 0.0507456996, -0.0118054273, -0.0385789014, 0.0425184593, -0.0354962833, 0.0404034965, 0.0561928563, 0.024293758, -0.0026496081, 0.0044949348, 0.01584333, -0.0620014109, -0.0060087778, -0.0167033877, 0.0191973727, 0.0230025798, -0.0083597004, -0.0490888208, 0.0209105592, -0.0346236229, -0.0050149956, 0.0363384336, 0.0622243062, -0.0173776895, 0.0043402552, -0.0204541739, 0.0170230661, -0.0311109759, 0.077482067, 0.0223294459, -0.0427990295, -0.0387643427, -0.0363251418, -0.0042634206, -0.0479692221, -0.0365264378, 0.0304303151, 0.0072992621, 0.0408789255, -0.0707687587, -0.0369418524, 0.0636273697, 0.0055924519, -0.0315009058, 0.0308614578, -0.0007033788, 0.0223388821, -0.0161478464, 0.0222254023, -0.0159173794, 0.0128811747, -0.0261198897, 0.0004444257, 0.0085058399, -0.0230671111, -0.018871922, 0.0360940322, -0.1032984704, -0.0537509322, -0.0439576991, 0.0084291762, 0.0242545232, -0.012934546, -0.0117735052, -0.0669973865, 0.023713002, 0.0218192134, -0.0165814217, 0.0148991039, -0.0440942235, 0.0213072058, -0.0042838356, 0.0073403004, -0.0212891363, 0.0040883208, 0.0022425109, 0.0670104623, -0.0037914373, -0.0338052586, 0.0594260953, 0.0439410582, 0.0108950483, -0.0075233881, 0.0202074591, -0.0166529361, -0.0035410966, -0.0220148712, -0.0374877043, -0.0213647112, -0.0061714626, 0.0311406367, -0.0363099277, -0.0245229211, -0.036580231, -0.0291864723, 0.0610082783, -0.0395041183, 0.00840961, 0.0418322496, -0.0121452827, 0.0037444385, -0.0154608879, -0.0463270061, -0.0156622641, -0.0265507344, 0.0264803376, 0.0064862431, 0.0743481144, -0.0260430276, -0.0013360283, 0.0287679285, -0.0070909816, -0.0652837306, -0.0533124134, -0.0458857231, 0.0377464294, 0.0367180333, -0.0099023161, 0.0417215712, 0.0078041628, -0.0152976057, -0.0506874733, 0.0060424297, 0.0008613174, -0.0319021158, 0.0706152543, 0.0214615818, -0.025982501, 0.0000593292, 0.0896347463, 0.0520088598, 0.0374538861, 0.0141399279, -0.0395023748, -0.0275414772, -0.0416914001, -0.0174973719, 0.0063948003, -0.0035969391, 0.0170252416, -0.050625138, -0.0699896738, -0.0034451012, 0.0216651615, 0.0430850312, -0.0224130861, 0.0226251427, 0.0630328432, 0.0086597074, -0.0265231133, -0.0695323572, 0.0212014206, -0.0655043274, 0.0100924233, -0.0254050009, -6.3513532e-33, -0.0296569038, -0.0399344042, 0.0472972617, -0.0557835363, -0.0173082706, 0.000228812, -0.0230357926, -0.0030551241, -0.017375676, -0.0254101939, -0.0130152358, -0.004405438, -0.0089096371, 0.0520402491, 0.0177253168, -0.0500384308, 0.0090582697, -0.0276049059, -0.0326467603, 0.0121396938, 0.0343465582, -0.0000542121, 0.0296503082, 0.0132369548, -0.010385178, -0.0234793406, -0.0100936536, 0.0029747752, -0.0449124575, 0.0891934037, -0.0354088768, 0.0590667278, 0.0291800424, -0.0419578068, 0.003472982, 0.0474752188, -0.0361270122, -0.0341146104, 0.0286376625, -0.0136164185, -0.0217905268, -0.0082276184, 0.0296564102, 0.00110407, -0.0085712913, 0.014721592, 0.0128516592, -0.0365078934, -0.022355957, -0.0148218432, -0.028663028, 0.0207937844, -0.022144286, -0.010609773, -0.0451048128, 0.0796204209, -0.0466191731, 0.0486946963, -0.0292082094, 0.0138873402, 0.0664087459, 0.0143310735, 0.0574769899, 0.0359529518, -0.0068106945, 0.03905892, 0.0021272502, -0.0362645499, -0.0114150755, -0.0036101551, -0.0228957646, 0.0319191366, 0.0676340312, 0.0565863326, 0.0236470625, 0.0078371493, -0.083900094, 0.0380449295, -0.0048228195, 0.0092860823, 0.0411130451, -0.0400205664, -0.0156540517, -0.031372916, -0.085421294, 0.0213018805, -0.0352271274, -0.0059564975, 0.0629732013, -0.0100085493, -0.0102786729, 0.0078656739, 0.0419861935, -0.0401745066, -0.0305741839, 0.0093189888, -0.0378927737, 0.0319483019, 0.0049143918, 0.0400939211, -0.07478863, 0.0103804013, 0.0241281111, -0.0302625485, -0.0212886892, -0.008273609, -0.0019786656, -0.004965852, -0.0677366555, 0.0054700663, -0.0589967109, 0.0078412956, -0.0180042479, -0.011472106, 0.0340511426, -0.0033134145, -0.0198239051, 0.0497621223, -0.0098430291, -0.0085122362, -0.023647666, -0.0401132032, -0.0110320486, 0.0288693476, -0.0228126775, 0.021752663, -0.0289667882, -0.0023469552, 0.0099162236, -0.0311891418, -0.0078537185, 0.0252157245, 2.5e-7, 0.0771961957, 0.0578108616, -0.0121584339, 0.0277232248, -0.0050698752, 0.0140149733, -0.0274516456, 0.030985795, 0.0323133208, -0.0046538976, -0.0080584837, 0.0153913796, 0.0504235439, 0.0400444269, -0.0276634414, -0.017044656, -0.0815503001, 0.0024400437, -0.0593174584, -0.0090987245, 0.0758654848, 0.0956418067, -0.0111910971, -0.0239174739, -0.0340377614, -0.0304645766, 0.065011695, -0.0387094766, -0.0218519047, 0.0095955823, 0.0387273729, 0.0370292552, 0.0288645029, 0.048014909, 0.0093166428, 0.0052483468, 0.0250286479, 0.0444180779, 0.0371292979, -0.0458421633, -0.0146745145, -0.01615417, 0.01155697, -0.0803665742, 0.099499397, -0.0545417331, -0.0232757218, -0.0470046885, -0.0211389344, -0.0198602024, 0.0374491997, -0.0407039933, -0.0064958576, 0.0041003642, 0.0051927888, -0.0037733265, -0.0025174432, -0.0366511829, 0.0090598892, 0.026608523, -0.0484174192, -0.0618804917, -0.0483270884, -0.0080600707, -0.0006067698, -0.0617724285, -0.0170865096, 2.225575393e-34, 0.0204294436, -0.0219267886, 0.0023480845, 0.0138382511, 0.0513998531, -0.0178867802, 0.0009059617, -0.0029376054, -0.0229836479, -0.1160947978, 0.0020211288 ]
http://arxiv.org/abs/2402.01345v6
http://arxiv.org/pdf/2402.01345v6
Skip \n: A Simple Method to Reduce Hallucination in Large Vision-Language Models
2024-02-02T12:02:46
2024-05-08T02:15:45
Zongbo Han, Zechen Bai, Haiyang Mei, Qianli Xu, Changqing Zhang, Mike Zheng Shou
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Recent advancements in large vision-language models (LVLMs) have demonstrated impressive capability in visual information understanding with human language. Despite these advances, LVLMs still face challenges with multimodal hallucination, such as generating text descriptions of objects that are not present in the visual information. However, the underlying fundamental reasons of multimodal hallucinations remain poorly explored. In this paper, we propose a new perspective, suggesting that the inherent biases in LVLMs might be a key factor in hallucinations. Specifically, we systematically identify a semantic shift bias related to paragraph breaks (\n\n), where the content before and after '\n\n' in the training data frequently exhibit significant semantic changes. This pattern leads the model to infer that the contents following '\n\n' should be obviously different from the preceding contents with less hallucinatory descriptions, thereby increasing the probability of hallucinatory descriptions subsequent to the '\n\n'. We have validated this hypothesis on multiple publicly available LVLMs. Besides, we find that deliberately inserting '\n\n' at the generated description can induce more hallucinations. A simple method is proposed to effectively mitigate the hallucination of LVLMs by skipping the output of '\n'.
Skip \n: A Simple Method to Reduce Hallucination in Large Vision-Language Models: Recent advancements in large vision-language models (LVLMs) have demonstrated impressive capability in visual information understanding with human language. Despite these advances, LVLMs still face challenges with multimodal hallucination, such as generating text descriptions of objects that are not present in the visual information. However, the underlying fundamental reasons of multimodal hallucinations remain poorly explored. In this paper, we propose a new perspective, suggesting that the inherent biases in LVLMs might be a key factor in hallucinations. Specifically, we systematically identify a semantic shift bias related to paragraph breaks (\n\n), where the content before and after '\n\n' in the training data frequently exhibit significant semantic changes. This pattern leads the model to infer that the contents following '\n\n' should be obviously different from the preceding contents with less hallucinatory descriptions, thereby increasing the probability of hallucinatory descriptions subsequent to the '\n\n'. We have validated this hypothesis on multiple publicly available LVLMs. Besides, we find that deliberately inserting '\n\n' at the generated description can induce more hallucinations. A simple method is proposed to effectively mitigate the hallucination of LVLMs by skipping the output of '\n'.
[ -0.0104903765, 0.0476973057, 0.0109890681, 0.0607862733, -0.0396360233, 0.0202308055, -0.0218080785, 0.0132702375, -0.0032703294, -0.065973103, -0.0069694757, -0.066597335, 0.0512050502, 0.0250117201, 0.0556056164, -0.0750311464, 0.036045108, -0.0690040663, -0.0490715988, 0.0118638799, -0.0144548006, -0.0301306155, -0.0079755252, 0.0164676774, -0.0172206517, -0.0633868501, -0.0112623097, 0.0156658776, 0.0125008598, -0.0246403068, -0.0659984425, 0.0211196616, -0.0143063329, 0.023233626, 0.0000018795, -0.0347677916, 0.0255433097, 0.0046683759, 0.0312999599, 0.0164958481, 0.0229331609, -0.0555014126, -0.0040919879, -0.0199253671, -0.0033269178, -0.0336016677, 0.0656300411, 0.0799825415, 0.0220316947, 0.0628606975, -0.01558364, -0.0410333574, 0.005822659, 0.0122812223, 0.0762810633, 0.0182870142, 0.0570402555, -0.006462222, -0.0251793414, -0.0385497734, -0.0546419211, 0.0051876679, 0.0228303913, 0.0033924598, 0.0154857673, 0.0543220565, -0.0580510087, -0.0370895043, -0.024632981, 0.0451158062, -0.0626830161, -0.0379054807, 0.0110065853, 0.0317584388, 0.0197768994, -0.0330671296, -0.0335027203, 0.0761635229, -0.0321896151, 0.0144272959, -0.0345920995, -0.0205761883, 0.0268700197, -0.0156488102, -0.0553932376, 0.0371748507, 0.0099169435, -0.0144393574, 0.0368007869, 0.0120595135, -0.0304777734, -0.0441512354, -0.0105824945, 0.0031655682, -0.028036071, -0.0244126841, -0.0597293712, 0.0131337661, 0.0001602516, -0.0779987723, 0.0324560665, -0.0175145697, -0.0779633671, 0.0405481532, -0.0577711761, 0.0397404321, -0.0259887818, 0.0695304275, -0.016677998, 0.0152836423, -0.0020835055, -0.0114070009, -0.0239581186, -0.0014777674, -0.0280188844, -0.0704483241, -0.0087479977, 0.0037578344, -0.0256509762, 0.0169154387, -0.0449548922, 0.0176819544, 0.0159981679, -0.0312741511, 0.0054006963, 0.0026432443, 0.0263015237, -0.0211218111, -0.0137184495, -0.0693552047, -0.0136209643, 0.0726632252, -0.016588755, 0.0087368041, -0.0459268391, 0.0904944763, -0.0114647336, -0.0044359723, -0.0323304944, 0.0050593778, -0.0424087681, -0.0347362794, 0.0361827575, -0.0380119123, -0.0070268926, -0.0136288395, 0.0073216115, -0.0105279051, 0.0364702716, 0.0299026761, -0.0445509255, 0.082046099, -0.0567576997, -0.0053922031, 0.0148118176, 0.0198177733, 0.02098516, 0.0489572436, 0.0304899234, 0.0424839258, 0.0164952613, -0.021698324, 0.0429575332, 0.0218846519, -0.0420399345, -0.0070121307, -0.0996156931, -0.0391871221, 0.0354144387, 0.0322616883, 0.0590548888, 0.0841310993, -0.0364347957, -0.0534845367, 0.0667817667, 0.0281230584, 0.0166401695, -0.0078063589, 0.0542494357, 0.012339741, -0.010055732, 0.0522875786, -0.0643730164, 0.0159809031, -0.0017254255, 0.0146973096, 0.0137797799, 0.0152185988, -0.0090438398, -0.0225051399, -0.0097284345, -0.0027491029, 0.0164611954, -0.0229140092, 0.0195398889, 0.0243609138, -0.0568074398, -0.0170164537, 0.0257967114, 0.0009402527, 0.0163229425, -0.033012595, 0.0064836219, 0.075951755, 0.0394567922, 0.0075067533, 0.0287962332, -0.0368564576, 0.0432327986, 0.0761425048, 0.006775097, 0.0161481388, 0.0263120327, -0.0470979549, -0.0087346276, 0.0077982093, 0.0198437274, 0.0048783179, -0.051488582, -0.0172777586, 0.0014267325, -0.0216800123, -0.0268374458, 0.0585174076, 0.0336172841, -0.0031328008, -0.0444550663, 0.0038868645, -0.0156293791, -0.0136077004, -0.0242993422, 0.0368162803, 0.011356378, -0.0417401344, -0.003674434, 0.0149989054, -0.0421946496, -0.0175687969, 0.0163103603, -0.0467224419, 0.0458108224, -0.0057178708, 0.0217219647, -0.0134287998, 0.0001135831, -0.0341539383, 0.0366142206, -0.0242383871, 0.0444963574, 0.0230624638, 0.0440322272, -0.0248500351, 0.0569301955, -0.0299659707, -0.0023635873, 0.0084523782, 0.0202287976, -0.0026505443, -0.0110326614, -0.0173085053, 0.0488170721, -0.0027564012, 0.0229322612, -0.0260216948, -0.0330371074, -0.0457375385, -0.0115975542, -0.0519164242, -0.0144582251, -0.0153046846, -0.0396451652, 0.0101113832, -0.0359962322, -0.0040753931, -0.0310399011, -0.0073690983, 0.0417289361, -0.0197903216, 0.0434502997, 0.0148382615, -0.0051131854, -0.0381187871, 0.0029895403, -0.0079671638, -0.0050035692, 0.0907841027, -0.0055066138, -0.0765131935, -0.1069301441, 0.0333212912, -0.0300234184, 0.0256855581, -0.0082809031, 0.0052441978, -0.0043962491, -0.0041652634, 0.0579076856, 0.115393512, 0.0431277454, 0.044050891, 0.0714107975, -0.0124501493, 0.0090763448, -0.039052587, 0.0108051896, -0.001696852, -0.0170928054, -0.0167122968, 0.0057894331, 0.0523750372, 0.0114134587, 0.0393118486, -0.0669610798, 0.0251070727, -0.0304770842, -0.0693083629, -0.0130688567, -0.0216222648, -0.0293701254, 0.0187015254, -0.0396473482, -0.0662062988, 0.0172852837, -0.0272061676, -0.0140779065, 0.0060928245, 0.0320835933, -0.0011669522, 0.039706558, 0.0659143105, 0.03478631, 0.0096167242, -0.0177775491, -0.0572476424, -0.0091554439, -0.0535741188, -0.0006067904, 0.0473225564, -0.0464127287, -0.0079859616, -0.00544693, -0.0011382326, -0.0361304507, -0.0265835989, -0.0007320366, -0.0436183959, -0.0561828725, 0.0161102917, -0.0383591577, 0.0353129208, 0.0242616925, 0.0172673371, -0.0417150855, -0.0180663317, -0.0126551064, 0.0233887229, 0.0714367628, -0.0229601078, 0.0377243944, -0.0696977302, 0.0176274162, 0.0764313936, 0.0130940797, 0.0556335002, -0.0379275046, -0.0138769643, -0.0067004221, 0.0068953284, -0.0433792099, 0.0390092991, 0.0283724144, -0.0802355781, -0.0017730017, 0.0437144376, 0.0277122315, -0.056491971, 0.0144363018, -0.0088647362, 0.0734915435, -0.0063629895, -0.0176636111, -0.0712146088, -0.0209761839, -0.0340167172, -0.0295281578, 0.0156932622, -0.0145697054, -0.0345318951, -0.0569699407, 0.055060219, 0.0460577421, -0.0077012689, -0.0341072716, 0.0319196284, 0.0062884679, 0.0301728323, 0.0191366728, 0.000926146, -0.0255787, -0.0183726735, 0.0308028255, 0.0002965053, 0.0097466242, -0.0363370404, -0.0392519422, 0.0170505252, 0.0779955164, 0.0087970737, -0.014953291, -0.0610368587, 0.050723996, -0.0277690385, 0.0189725216, 0.0159091856, 0.0676121116, -0.0163150001, -0.0126612522, 0.0348380022, 0.006050461, -0.0117277708, -0.0443417765, -0.0022858779, -0.0017547489, -0.0435063988, -0.0890903324, -0.0153811136, 0.0489288382, -0.029945327, 0.062063504, 0.0391372815, -0.0517200008, -0.0650765598, -0.0229625888, 0.0276431143, -0.0200967118, -0.0245164763, 0.0411749333, 0.063353464, -0.0390159525, -0.0664998293, -0.0463782735, 0.0119672017, 0.0471331365, 0.0004636207, 0.0187932067, -0.0166632999, -0.0235201381, -0.0252859537, 0.0340380929, -0.0228075944, 0.0105625838, -0.0435446352, 0.0117166499, 0.0258294214, -0.0290397797, 0.0172551349, 0.0029943748, -0.09871535, -0.0457666479, 0.0263453256, 0.02984933, 0.0242401622, 0.0780458078, 0.0193849113, -0.0455977172, 0.0513078272, 0.0336747095, 0.0439171009, 0.0637846366, -0.0118999537, 0.0064435834, 0.0045635579, 0.0185160749, 0.0152079668, -0.031052582, 0.0226916485, -0.0104132295, 0.0178263765, 0.002181784, 0.0285751298, -0.0402359329, 0.0274524409, -0.020583367, 0.051295422, 0.0087924926, -0.0094643151, -0.0254713669, -0.0100981407, -0.0380626991, 0.0129285483, 0.0308832377, 0.0284316987, 0.0123526258, -0.0210444424, -0.0067884577, -0.0082086604, -0.0396146029, -0.0421948954, 0.0007935564, -0.0420068093, 0.0508184619, 0.012479526, -0.0292141885, 0.0232316647, -0.0297529679, 0.0382655151, 0.0111713903, 0.0787255466, 0.0336501338, -0.0310324989, -0.0422088914, 0.0329366624, -0.0217914991, -0.057496734, -0.0276061054, 0.0365213417, 0.0369029604, 0.0055918377, 0.0605012886, -0.0263659116, 0.0146333175, -0.0407039784, 0.0280253179, 0.050392624, -0.0502045602, 0.012480719, 0.0286439899, -0.0563118346, -0.0255535543, 0.0740395263, 0.02274937, 0.0119300205, 0.0205492545, -0.0141923893, -0.0459152311, -0.0297971927, 0.0059206085, -0.0101915142, -0.0207699966, -0.0071646208, -0.0184937976, -0.028989682, -0.0003760322, 0.0082836458, 0.0511916019, 0.0143647296, 0.0214983691, 0.0497050099, -0.0184295736, -0.0397566073, 0.0016015898, -0.0442533605, 0.0758698955, -0.0001646334, 0.0202663746, -5.436093829e-33, -0.0105801309, -0.003019819, 0.0220860057, 0.0017962629, -0.0282761492, -0.0222699903, 0.0015197524, 0.0228737202, 0.0294742994, 0.0276865736, 0.0338150822, 0.0158834793, 0.0234614927, 0.0175177716, 0.0007115925, -0.0282498077, 0.0613057576, -0.0015001667, -0.0179299209, -0.0091975126, -0.0129849203, 0.0165067408, 0.0345371813, -0.030381659, 0.0145452227, 0.0079725934, -0.0443813726, -0.0094440393, 0.0281146839, 0.0467857867, -0.0566946194, 0.0129340095, 0.037443269, 0.0248623341, -0.0511419475, 0.0492408611, 0.0048199571, 0.0372808725, -0.0044729267, 0.0548739508, -0.0810773671, -0.0050916756, 0.0654265881, -0.0235541705, 0.0143680871, -0.0255951658, 0.0389584526, -0.0510242581, -0.0528883636, 0.0580968112, -0.0647801831, -0.0079344949, 0.0191085283, -0.0146002434, 0.0397888161, 0.0012108493, -0.0196292475, -0.0030557476, -0.0366658792, 0.014798834, -0.0054389397, 0.0139169358, 0.0258827209, 0.0589880496, 0.0037830465, 0.0751013234, 0.1215006933, -0.0146410214, -0.0212428421, -0.0308674611, 0.0257621706, 0.0068532815, 0.0095107621, 0.0183356088, 0.0652915761, 0.0182435438, -0.0268585384, -0.032816641, -0.0890967473, 0.036322169, 0.0661656484, 0.0154570937, -0.0310122278, -0.0344702639, 0.0002461713, -0.0050364765, -0.0297236182, -0.008559715, 0.0527278595, 0.0039817714, 0.000404897, 0.0306897406, 0.0449471697, -0.0263673421, -0.0011301538, 0.0016898464, -0.0535181202, 0.0384202972, -0.0101151848, -0.0114330156, -0.0131763453, -0.0049562054, 0.0556004085, -0.008449967, 0.0210132748, 0.0254125949, 0.0339012966, -0.0024352511, -0.0723504052, -0.0107725495, -0.0302895084, -0.0341441184, 0.0403866135, 0.04040806, 0.0682392791, -0.0168079566, -0.0216775984, 0.0482608378, 0.0001332846, -0.0298966188, 0.0171722397, 0.0223462172, -0.0209503714, 0.0260244198, -0.0083450638, 0.0000098759, -0.0352163576, -0.0386007838, 0.0514320843, -0.0636342987, -0.0173817463, -0.0012627408, 2.556e-7, -0.017165821, 0.0504555255, 0.0261561144, 0.0020310965, 0.0247972105, 0.0225694645, 0.0287704952, 0.0393424109, 0.000698304, -0.0521413907, -0.0294060968, 0.0291469432, 0.0500472561, -0.011758172, -0.0480743572, 0.0234634578, -0.0070395521, -0.0009029528, -0.0817052871, -0.042914398, 0.044420708, 0.0186206773, -0.052463159, -0.0083554406, 0.0592273362, -0.0713584721, 0.0618253648, -0.0107583581, -0.0002493422, 0.0289176181, 0.0168917999, 0.0125347059, -0.0080078999, 0.0774209201, 0.0003266154, -0.0512781106, 0.0594452582, 0.0067034028, -0.0446201377, 0.0120806638, -0.0121884067, 0.0134165343, -0.0132648246, -0.0512982197, 0.0647193864, -0.0292182229, -0.0292999297, 0.0027242682, -0.0167722758, -0.0115431109, 0.0474923924, -0.0308609623, -0.0177639443, 0.0045446618, 0.0404582843, 0.0229494888, -0.0313067511, -0.0536795035, -0.0169568732, -0.0002767884, -0.024809761, 0.0060315011, -0.0474147722, 0.00618598, 0.0035549952, -0.0813832134, -0.0400957018, 2.49202208e-34, 0.0075274785, -0.0166074391, 0.0501486436, -0.0082166148, 0.0003070135, -0.0205032341, 0.0465510227, 0.0108096916, -0.0443421938, -0.0437569246, -0.0127004273 ]
http://arxiv.org/abs/2402.03469v2
http://arxiv.org/pdf/2402.03469v2
Rethinking the Role of Proxy Rewards in Language Model Alignment
2024-02-02T11:58:08
2024-04-29T01:09:06
Sungdong Kim, Minjoon Seo
cs.LG
cs.LG, cs.AI, cs.CL
Learning from human feedback via proxy reward modeling has been studied to align Large Language Models (LLMs) with human values. However, achieving reliable training through that proxy reward model (RM) is not a trivial problem, and its behavior remained as a black-box. In this paper, we study the role of proxy rewards in the LLM alignment via `reverse reward engineering' by composing interpretable features as a white-box reward function. We aim to replicate the ground truth (gold) reward signal by achieving a monotonic relationship between the proxy and gold reward signals after training the model using the proxy reward in reinforcement learning (RL). Our findings indicate that successfully emulating the gold reward requires generating responses that are relevant with enough length to open-ended questions, while also ensuring response consistency in closed-ended questions. Furthermore, resulting models optimizing our devised white-box reward show competitive performances with strong open-source RMs in alignment benchmarks. We highlight its potential usage as a simple but strong reward baseline for the LLM alignment, not requiring explicit human feedback dataset and RM training. Our code is available at https://github.com/naver-ai/rethinking-proxy-reward.
Rethinking the Role of Proxy Rewards in Language Model Alignment: Learning from human feedback via proxy reward modeling has been studied to align Large Language Models (LLMs) with human values. However, achieving reliable training through that proxy reward model (RM) is not a trivial problem, and its behavior remained as a black-box. In this paper, we study the role of proxy rewards in the LLM alignment via `reverse reward engineering' by composing interpretable features as a white-box reward function. We aim to replicate the ground truth (gold) reward signal by achieving a monotonic relationship between the proxy and gold reward signals after training the model using the proxy reward in reinforcement learning (RL). Our findings indicate that successfully emulating the gold reward requires generating responses that are relevant with enough length to open-ended questions, while also ensuring response consistency in closed-ended questions. Furthermore, resulting models optimizing our devised white-box reward show competitive performances with strong open-source RMs in alignment benchmarks. We highlight its potential usage as a simple but strong reward baseline for the LLM alignment, not requiring explicit human feedback dataset and RM training. Our code is available at https://github.com/naver-ai/rethinking-proxy-reward.
[ 0.036343839, 0.0770398751, -0.0090013389, 0.0171791986, -0.0507728569, 0.0067199753, -0.0449613556, -0.0056164507, -0.0427806191, -0.0015343154, -0.0592492111, -0.0176033899, 0.0055316156, 0.0092774397, 0.0192441791, -0.0487418734, 0.0781891346, -0.0300493333, 0.0158944875, -0.0204158537, 0.0156804696, 0.0068267598, -0.0000511098, 0.04589542, -0.0095924903, -0.0080665043, -0.0280966852, -0.0099294847, 0.0326803587, 0.0041465601, 0.0151362075, 0.034245763, 0.0190615673, 0.0799817517, 0.0000021041, -0.0555272847, -0.02091044, -0.0051774504, -0.0544058345, -0.0288266465, 0.0124021769, -0.0049673384, -0.0101304511, 0.0173649639, -0.0314512625, 0.0141472286, 0.0570609644, 0.0343418457, 0.0522233844, 0.0677222162, 0.0165117066, -0.0332866162, 0.0424618721, -0.0252589304, 0.0314546973, -0.0339290984, -0.0059587937, 0.022328848, 0.0050053755, -0.0092401765, -0.0219597835, 0.0254632737, 0.03151723, -0.0034930874, 0.0020222915, 0.0395887159, 0.0214490276, -0.0065421271, -0.0085496791, 0.0623070411, -0.019125307, -0.0378970727, -0.0227597728, -0.0154809142, 0.0166866723, -0.0085775135, -0.009061167, 0.0148744918, 0.0355123319, 0.0437727086, 0.0701970458, -0.0087415855, 0.0321218222, -0.0040955544, -0.0020861388, 0.0707833543, 0.0166385658, -0.042116195, -0.0145038236, 0.0212540124, -0.025350878, -0.0489004105, -0.0261758175, 0.0169645268, -0.0548881628, 0.0417452715, -0.0527968369, -0.0267469715, 0.0040873764, 0.0117851477, 0.0415048338, 0.0499515831, -0.0210260786, 0.0517069846, -0.0225706622, 0.0821686611, -0.0505588055, 0.0792804211, -0.0416452996, -0.0157711785, -0.0179965701, -0.0323356874, 0.0155232884, 0.0230929442, -0.000215357, -0.0053643039, -0.0483573042, 0.0202593319, -0.0364242457, 0.0557450615, 0.0104977246, 0.0178576615, -0.037340045, -0.0229536165, -0.0308037456, 0.041796349, -0.0376513451, 0.02339972, 0.0242276508, -0.0201405939, -0.0159667674, -0.001371099, -0.0169669781, -0.0341309346, -0.0056728497, 0.0851254836, -0.014739031, -0.0112902038, -0.0077278321, -0.0270629358, -0.0012074232, -0.0480831079, -0.0157050751, -0.0641105995, 0.0321080945, -0.0195261687, -0.0316543467, -0.0325978883, 0.0121658957, -0.0029095556, -0.0073002311, 0.0679181963, 0.0119069433, 0.0056502833, -0.0018529483, -0.0370383821, -0.019869335, 0.0650336668, 0.0555994324, 0.0192279927, 0.0178313646, -0.0112224342, -0.0181866027, 0.0276541375, 0.0524612255, 0.0129237622, -0.0298529267, 0.01495496, 0.0561399199, 0.0539051294, 0.0635192692, 0.0058872369, 0.0101998933, -0.026399523, 0.0662453696, 0.0527236946, -0.0131563889, -0.0227507241, 0.0053372341, -0.0003965603, -0.0382546075, 0.0188608523, -0.0777581409, 0.0337710716, -0.0320384689, 0.0322505049, -0.0040679136, -0.002484024, -0.0273554903, -0.0397594683, -0.0068417368, -0.0227752551, 0.025172526, 0.0446855202, 0.0581835881, -0.0157683659, -0.0476205871, 0.0116792601, 0.0562776662, -0.0210135188, 0.0325543955, -0.0488186739, 0.0620298833, 0.0562253781, 0.0271107741, -0.0267388094, 0.0042500445, -0.0270524565, -0.0324398428, 0.0647563189, 0.0443020612, -0.0082618902, -0.0109018926, -0.0225387905, -0.0332183242, -0.0062826364, 0.0095838159, 0.0277094916, 0.0264879558, -0.0299240239, -0.0113771195, -0.0070189307, -0.0548428968, 0.0465984717, -0.0214615557, -0.0342505947, -0.0131893381, 0.0255025513, 0.0239461567, -0.0069611329, 0.0049881549, 0.0152138444, 0.0252464563, -0.025203282, -0.0061815917, 0.0209079776, -0.0634966493, -0.0135446545, 0.0329796113, -0.0144430716, -0.0221544076, 0.0946684778, -0.0276215468, -0.041961506, 0.0196209513, -0.0267969221, 0.0588595048, -0.0053810445, 0.0494185686, -0.0359407999, -0.0039830939, -0.0707324669, 0.0279297084, 0.0011646692, 0.0247434303, -0.0290299393, -0.0358126238, -0.002053234, -0.052344773, -0.0107722469, 0.020093957, -0.004928818, 0.0328275301, 0.0459423214, 0.0028912562, -0.050679151, -0.0219524447, -0.0168191362, 0.0046447511, -0.029923737, 0.0397886895, 0.0562338196, 0.0002536984, 0.0064969929, -0.0215857551, -0.0836932957, -0.0263692979, 0.0224913247, -0.0035876827, 0.0521689951, -0.009206471, -0.0039070547, -0.0671877563, -0.0160985794, -0.023285225, 0.0273293145, -0.004709688, 0.0769989714, -0.0752487183, -0.0033380042, -0.0260482039, 0.0176542494, -0.00610602, -0.0291271098, 0.0123752458, 0.0205836948, 0.002682507, 0.087699987, 0.0264996141, 0.0166506507, 0.0247778669, 0.0453789309, -0.1066638678, -0.0080759432, -0.0474438816, -0.0664336681, -0.0503957719, -0.0310943518, 0.0004780676, 0.0936094224, 0.0166273471, 0.011480188, -0.0767953023, 0.0171795506, -0.0030840861, -0.0441805758, -0.0500233471, -0.0083230315, -0.0479039066, 0.0322922319, -0.0565692186, -0.065582104, 0.097694546, -0.0122818742, -0.0037281378, -0.0335624069, -0.0201238617, -0.0318787098, 0.0483652987, -0.0217397641, 0.0281023141, 0.0034899348, -0.0361475758, -0.0808941573, -0.0297258962, 0.0296302047, -0.0496329926, 0.0337805599, -0.0244720485, 0.0072035794, -0.0096245725, -0.0372908264, -0.0784871727, -0.0397255495, -0.0193891432, 0.0179891009, -0.0325675532, -0.0002169846, -0.017885888, -0.0026654513, 0.0460906252, 0.0057356693, -0.0184978284, 0.0174161904, -0.0423201136, 0.0163109787, 0.0926940143, 0.0280806385, 0.0278727245, -0.0397509262, 0.0150242308, 0.0226596538, 0.0572450459, 0.0371636935, 0.0093364073, 0.0056489026, 0.0550201051, -0.0601243973, 0.0024344306, 0.0072903847, 0.0269790012, -0.057871975, -0.0155410208, 0.0961586684, 0.0454604737, -0.044369258, 0.0219900813, -0.027479982, 0.0614961386, 0.0110322973, 0.0197566748, -0.0749193206, -0.0152085023, 0.0183443837, 0.0134856375, 0.0037793601, -0.0023527257, 0.0020151483, -0.1328915656, -0.0279813819, 0.0087243225, -0.0627418011, -0.0135455523, -0.0121664265, 0.0053080614, -0.0112790298, 0.0311055444, 0.0473898761, 0.027630128, -0.0182755478, 0.014179267, 0.05317555, -0.0103357434, 0.0320037641, -0.0490718447, 0.0764404163, 0.117887035, 0.007826563, -0.0100068068, -0.0398887768, -0.0148448348, -0.0102349073, -0.0331194997, 0.0383854881, 0.0254416019, -0.0260361005, -0.0290896818, 0.0106769949, 0.0530016087, -0.0383268222, 0.01448764, -0.0089897541, 0.0845531225, 0.0113636684, -0.0023515141, -0.0029053111, -0.0191021524, 0.0137546714, 0.0837035179, 0.0100755822, -0.0590093397, -0.0276923496, -0.0051642205, -0.0152245862, -0.0085334824, -0.0527525991, 0.0226275921, -0.0024108035, 0.0176582281, -0.057883881, -0.0609873421, -0.0068381149, 0.0075512696, 0.0075797108, -0.0124372942, -0.0310716983, -0.0440006964, -0.0493122563, 0.0524128005, -0.049226243, 0.0451085679, -0.0604573339, -0.0027895505, -0.0194448717, -0.0449866243, -0.0366406515, -0.0431087688, -0.0542232767, -0.0595402829, -0.0119706616, 0.0338364653, 0.0165575277, 0.0738204494, -0.0210277624, -0.0012115669, 0.0167788826, -0.0113469362, -0.0437737852, 0.0154343201, 0.0230176654, 0.0092505664, -0.0046894499, 0.0382289886, -0.0605270714, -0.0006150391, 0.0382085182, 0.0394602753, 0.0063296896, -0.0053517637, 0.0679611489, 0.0088026384, 0.0388564952, -0.01395051, 0.0016478089, -0.0184735972, 0.0041789953, -0.0212980397, -0.0318920836, -0.0038057899, -0.0297588501, 0.0302703865, -0.0089813713, 0.0173624307, -0.043372456, -0.0209548045, 0.0305157714, -0.0271131676, -0.0150248678, -0.0230646618, 0.0279864259, 0.0043621529, 0.0319825783, -0.0132790394, 0.0148105603, 0.0130607653, 0.0700374171, 0.0026798779, 0.0439438932, 0.0450688116, 0.0055512269, -0.0055904957, 0.0173327941, -0.0572470166, -0.0249624513, -0.0084449667, 0.0140230702, 0.0537450127, 0.0004547964, 0.0355105139, 0.0018537859, -0.0156991072, -0.0060301046, 0.0181301497, -0.0334428474, -0.0218985267, 0.0581803918, 0.0253247749, -0.0132322656, -0.0153493611, 0.0360778831, 0.0000238724, 0.0386153944, -0.0487604998, 0.0322419256, -0.0140396673, -0.0165236071, 0.0249060392, 0.0060844496, -0.0427317023, 0.0061967201, -0.059471339, -0.082314685, -0.0529905483, 0.0692795068, 0.0049057025, -0.0126322098, 0.0411077738, 0.032007698, -0.0468503386, -0.0033747097, -0.0473376252, -0.0051141889, -0.0218643397, -0.0294492468, -0.0466548465, -6.671419006e-33, -0.038743414, -0.0153669892, 0.0365609527, -0.0085957898, -0.0531346016, 0.0072977352, -0.0212236885, -0.0028315485, -0.0228626207, -0.012204282, -0.0041901292, -0.0204097871, 0.0022809252, 0.0125304544, 0.0152993752, -0.0299283899, 0.0190720223, -0.0053265924, -0.0418607891, -0.0125331823, 0.0395624265, 0.0052719666, 0.0826230496, -0.0448657013, 0.0655865744, 0.0060902308, -0.0312282518, 0.0384765677, -0.008876102, 0.0489134341, -0.0105590718, 0.0258018076, 0.0082954904, -0.0389955826, 0.0070298333, 0.0174179617, -0.0671122819, -0.0130233299, 0.0517697521, 0.0243399367, -0.0703926086, -0.0343910865, 0.0519858934, -0.0393609032, -0.0234882254, -0.0060137073, 0.032181032, -0.0038387103, -0.0125892051, 0.0542382412, -0.0855252817, -0.0096730236, -0.018734565, -0.0247261561, 0.0105470587, 0.0667619482, 0.009965119, 0.0452550761, -0.0267937984, 0.0303034969, 0.010066702, 0.0361496285, 0.0984295085, 0.05116494, 0.0279205926, 0.0516265631, 0.0152087053, -0.0208938923, 0.0061795339, -0.0010045888, 0.0450289622, -0.0093289157, 0.0512000062, 0.0406401716, 0.033961527, -0.0107156448, -0.0235681161, 0.002847166, -0.0169138256, 0.0171625372, 0.0046980851, 0.03258029, -0.0475821272, -0.0127333906, -0.0837780312, -0.0070533655, -0.0320315473, -0.0594721735, 0.0380645394, 0.0066886353, -0.0254834164, -0.0310934, 0.0081148772, -0.0489012599, -0.009800721, 0.0151353311, -0.0036089881, 0.0179129764, -0.0093861334, 0.0194172282, -0.0664948896, -0.0052288175, -0.0120814107, -0.0110560823, 0.0241063423, 0.051907219, 0.0134069556, 0.0221214425, -0.0463194363, 0.0217228066, -0.0449351706, 0.0097059691, -0.0098370761, -0.0534558818, 0.0601375513, -0.0029431949, -0.0045114215, 0.0445114225, 0.0281818397, -0.007194391, -0.0426811501, 0.0026564097, -0.0256000385, 0.0373986065, -0.044574406, 0.0103353178, -0.0124441963, 0.0221342482, 0.0332002044, -0.0382813066, -0.007552987, -0.016045345, 2.771e-7, 0.0220878739, 0.0105651468, 0.0431079417, 0.0365668908, -0.0013630238, 0.0739766881, -0.0043800739, 0.0260637943, 0.0278815776, -0.0045221504, 0.0074219373, 0.0063070082, 0.0608091876, -0.0153341014, -0.0684579015, 0.0268554818, -0.0932459384, 0.018170571, -0.0222006235, 0.0011844789, 0.0394177511, 0.0913908631, 0.0428947397, -0.0015660431, -0.0046319775, 0.030782396, 0.0552539639, -0.0610923171, -0.0337192975, 0.0117183458, -0.0091080675, -0.009208695, 0.009605634, -0.0199878924, 0.0104040382, 0.0362604409, -0.0222712103, 0.0421535149, -0.0303594973, -0.0392085835, -0.067165859, -0.0030636205, 0.0113110328, -0.0742211789, 0.0351132341, -0.0404274724, -0.0387974828, -0.0781566426, -0.0149372136, -0.0236952677, 0.0221347697, -0.0084571624, -0.0141313933, 0.0112030981, 0.0263874456, 0.0362703949, -0.0049140286, -0.0527787991, -0.0525061786, 0.0354443602, -0.0117940456, -0.0222650934, -0.0169732627, 0.0441736802, -0.0139518604, -0.0665806383, -0.0110010421, 2.421149184e-34, 0.0054955105, -0.0125841489, 0.0304712616, 0.047288008, 0.0128578311, 0.0118559161, -0.0026433179, 0.006885401, 0.0745797232, -0.0189353749, -0.0270789228 ]
http://arxiv.org/abs/2402.01300v1
http://arxiv.org/pdf/2402.01300v1
Two Approaches to Diachronic Normalization of Polish Texts
2024-02-02T10:42:06
2024-02-02T10:42:06
Kacper Dudzic, Filip Graliński, Krzysztof Jassem, Marek Kubis, Piotr Wierzchoń
cs.CL
cs.CL
This paper discusses two approaches to the diachronic normalization of Polish texts: a rule-based solution that relies on a set of handcrafted patterns, and a neural normalization model based on the text-to-text transfer transformer architecture. The training and evaluation data prepared for the task are discussed in detail, along with experiments conducted to compare the proposed normalization solutions. A quantitative and qualitative analysis is made. It is shown that at the current stage of inquiry into the problem, the rule-based solution outperforms the neural one on 3 out of 4 variants of the prepared dataset, although in practice both approaches have distinct advantages and disadvantages.
Two Approaches to Diachronic Normalization of Polish Texts: This paper discusses two approaches to the diachronic normalization of Polish texts: a rule-based solution that relies on a set of handcrafted patterns, and a neural normalization model based on the text-to-text transfer transformer architecture. The training and evaluation data prepared for the task are discussed in detail, along with experiments conducted to compare the proposed normalization solutions. A quantitative and qualitative analysis is made. It is shown that at the current stage of inquiry into the problem, the rule-based solution outperforms the neural one on 3 out of 4 variants of the prepared dataset, although in practice both approaches have distinct advantages and disadvantages.
[ -0.0023805203, 0.0429318212, 0.0078459373, 0.0363583192, -0.0525395498, 0.013612601, 0.0225911606, 0.029707931, -0.044736661, 0.0231335983, 0.0145927789, 0.0040545319, 0.0424991213, 0.0250874739, -0.0063743661, -0.0717780143, 0.0306464452, -0.0004260208, -0.0617734492, 0.0332514755, 0.0275232773, -0.015722556, 0.0077872924, 0.0017922493, -0.0555142611, 0.0179088302, 0.0065421876, -0.0084128845, 0.0027770456, 0.0000852936, -0.008638476, 0.0128268367, 0.0150965666, 0.0411243588, 0.0000017643, -0.0381557345, -0.0394446999, -0.0318165049, 0.0500385091, -0.0074399645, 0.0493489131, -0.084722124, -0.0420937091, 0.0032959485, -0.0245625135, -0.0340003036, 0.0764256865, 0.0996235609, 0.0300395377, 0.0766055882, -0.0429100059, -0.0871226341, 0.0480655879, 0.0092761666, -0.058849372, -0.0065238392, 0.0185634736, 0.0248663574, -0.0263923518, -0.0077038435, 0.0034972832, 0.0583383031, 0.0085258121, -0.0586010218, 0.0224458035, 0.0096691195, 0.0535074845, -0.0012819065, -0.0285142343, 0.0069047417, -0.0145535776, -0.0222740229, -0.017011242, 0.0115817385, -0.0315979868, 0.0190027934, -0.0425818749, -0.0142672462, -0.0133688953, 0.0322172306, 0.0317996144, 0.0412594974, -0.0042513981, -0.0184117816, -0.0170752183, 0.0565696657, 0.0082641114, -0.0513274558, 0.0196652655, -0.0171003491, 0.0761732832, 0.0150995972, 0.1006159484, 0.0512853861, 0.0318190306, 0.0039386805, -0.0277529657, -0.0311465114, -0.0343528017, -0.0284466408, -0.0007416297, 0.052116517, -0.0055515491, -0.003638705, -0.0664980933, 0.056981612, 0.0044214958, -0.0057080234, -0.0861616284, -0.0322193652, -0.0587211885, 0.010458217, -0.0739737824, 0.0145381447, -0.0308215115, 0.0114639904, -0.0417520702, -0.0357642807, 0.0533776358, -0.0180224832, 0.0443230979, -0.0064125629, -0.0438568629, -0.0170288533, -0.014290398, 0.0643086433, -0.0670376793, -0.0127689941, -0.058609616, -0.0323325396, 0.0233641472, 0.0208969302, 0.0344110988, -0.0247342065, 0.0010929722, 0.0224123206, -0.06382595, 0.0103867203, -0.0787618905, -0.0091505833, -0.0296248756, 0.0103493575, -0.0146563342, -0.0511263087, 0.003873497, -0.0019798535, -0.002471989, -0.0167243835, -0.0235860199, 0.0156522021, -0.0375126712, 0.0583168976, -0.0335182473, 0.01908518, 0.0649244636, -0.0333430357, 0.0144345434, -0.001718628, 0.0552747883, 0.0197343994, 0.0022379074, -0.0286655314, -0.006586473, 0.0841751322, -0.0166229159, -0.0512951426, -0.0660907775, -0.0143517014, -0.0030059707, 0.0050824923, 0.0783100128, 0.0795560777, 0.0099026645, -0.0322150141, 0.0410143696, 0.0581732728, 0.0440122373, 0.036269851, 0.0457190983, -0.0459555238, 0.0190925635, 0.0245539751, 0.0141523313, -0.0142970299, 0.0017444037, -0.0059441058, -0.0761844963, 0.0237568077, -0.0047993381, -0.0084003722, 0.0385611877, -0.0179801155, 0.0459518433, -0.0720063671, 0.0421359874, 0.0159882568, -0.0201744772, 0.0198572073, -0.0033146353, -0.0093012014, 0.026858598, 0.0405092761, -0.0252142251, 0.0765027776, 0.0644382611, -0.0296672489, 0.0054691955, -0.0125574395, -0.0179009885, 0.0456360839, -0.0028901992, -0.0292070154, -0.0041995114, -0.0763361901, -0.0159489159, 0.0496260263, -0.0295970775, 0.0287101232, -0.0378216468, 0.0270402431, 0.0081261247, 0.0185950939, -0.0533343107, 0.0479182787, -0.0113519048, -0.0247137696, -0.0332792066, 0.0185869616, -0.0129453121, 0.0552800894, 0.0181932021, -0.0030841888, 0.0295446366, -0.085418418, 0.0292434935, 0.0423328578, -0.0938812569, 0.0002137827, 0.0381072238, -0.0626948997, -0.0085032396, 0.0108680455, 0.0027995212, -0.0498973392, -0.0016883496, -0.0242582578, -0.0034401203, -0.0120356502, 0.0419567376, -0.0181278251, 0.0149070509, -0.0308477785, 0.0216155015, -0.0019713759, 0.0025983304, -0.0037388385, -0.0444876961, 0.0318281204, -0.0291231554, -0.0042994851, 0.058048062, -0.0373049378, -0.0214314424, 0.0140162976, 0.005870332, -0.0371454842, -0.0117254956, -0.023129411, -0.0158449356, -0.0050882483, 0.0546100251, 0.0300783031, 0.0261527505, 0.0308602136, -0.0625780821, -0.065165475, -0.0022868933, 0.0170127451, -0.0351924375, 0.0981575921, 0.0115360282, -0.0133431237, -0.0045219902, -0.0125764078, -0.0154995043, -0.005929892, 0.0295072757, -0.0637429729, -0.0801012367, 0.0445700027, 0.0000954973, 0.0404933728, -0.0044503892, -0.0404770114, 0.0118307043, 0.0111805182, 0.0889558718, 0.022874115, -0.0010154112, -0.0546305515, -0.0012420932, -0.0407517478, -0.0184234716, -0.0167895518, -0.020837944, 0.0738698021, -0.0229583811, -0.0554991849, 0.0025790995, 0.0515728705, -0.0179972239, 0.0412143245, -0.0180372428, -0.0096690943, -0.0674800649, 0.0130803678, -0.0252704639, -0.0122906435, -0.0053808647, 0.0195512511, -0.0038122716, 0.0142189041, 0.0367928185, -0.0224505775, -0.026225701, -0.0483805798, -0.039139647, -0.0334504917, 0.0330587029, 0.0078517273, 0.0318152308, -0.0115519855, -0.0841608495, -0.0305324327, -0.0513624214, 0.0056757797, -0.0110139167, 0.0489357971, -0.0190704819, 0.0064923894, -0.0638739318, -0.0097787185, -0.0138909416, -0.0087125059, 0.0054753227, 0.033078514, 0.0011588268, -0.0274319556, -0.0398432761, 0.0491227955, -0.003882057, 0.0678813756, 0.003856305, -0.0032864159, -0.0165518317, 0.0946944281, -0.0005773024, -0.0097170193, -0.0353363007, 0.0133450096, -0.0032604295, 0.0050059622, 0.0018485744, -0.0290426686, -0.055865068, -0.0268950742, -0.025023099, -0.0143902898, -0.0009330191, -0.0338568576, -0.0241864193, -0.0485164002, 0.0033427717, 0.0759421363, 0.002062557, -0.0409844406, -0.0216962285, -0.0122743733, -0.0357228033, -0.049561087, -0.0128083732, -0.0325238034, 0.0158678778, -0.0139015177, 0.0156308226, 0.0301380213, -0.0493295155, 0.0063258293, -0.0460393354, -0.0712533742, 0.0278812405, -0.0622538552, -0.0707311556, -0.019612534, -0.013691809, -0.0107563846, 0.0307535976, 0.0230743531, 0.0039184894, -0.0199563503, 0.0238544978, -0.0594669618, -0.041122485, -0.0261843856, -0.0158560332, 0.0554434657, 0.0333328992, 0.0465669632, -0.0273796879, -0.0119521879, -0.020814728, 0.0193299036, 0.0307551753, -0.0381964408, 0.0381764732, 0.0709849969, -0.0155587047, -0.0324099287, 0.0154359639, 0.0181135423, 0.0093685407, 0.0104597779, 0.0397398025, 0.0343382321, -0.0183523931, 0.0152891316, -0.019109847, 0.0104026524, 0.0321034193, -0.0204200819, 0.0140434746, -0.0325159393, -0.023274269, 0.0225011893, -0.1069793329, -0.0458789244, 0.0171076357, -0.0374268815, -0.0410964638, -0.0884302631, -0.0516207367, -0.0074112657, 0.0454301201, 0.0457420349, -0.0293410886, 0.0510766953, -0.0148867676, -0.0375487544, -0.0036158864, -0.033779934, 0.0010972428, -0.0784899145, 0.0253351051, -0.0335872248, -0.0238333102, 0.0205198117, -0.0150680672, -0.0067531094, 0.0052702818, 0.0492092781, -0.0182006285, 0.0207443759, -0.0019467379, -0.0056866943, -0.0378926098, 0.0284255072, 0.038635198, -0.0078317523, -0.0468791462, -0.0090461448, 0.0126783848, 0.0052222922, 0.0146838846, -0.0002390735, 0.0691790059, -0.002462924, -0.0027875132, -0.0023837043, -0.0255755205, -0.0084286891, 0.0289161634, 0.0043151882, 0.0091640763, 0.0032035643, -0.0129908202, -0.0094937775, -0.0616774745, 0.0194934644, 0.0154735558, 0.0279237665, 0.0375126377, 0.0414988883, -0.0121323047, -0.0021235051, -0.0153714037, -0.0454680249, -0.0231938362, -0.0011428362, 0.0295003485, 0.0634479821, 0.0048194584, 0.0111979153, 0.0144040454, 0.0044911755, 0.0128603848, 0.0255544018, -0.011268924, -0.0056317123, 0.0100394897, 0.0110436669, -0.0436259508, -0.007101424, -0.0238463581, 0.0638765544, -0.0106828734, -0.0321969241, 0.0734626055, 0.0122207385, 0.0762923136, -0.003178542, 0.0135711608, 0.0268037803, -0.0027105315, 0.0356645212, 0.0521326847, -0.0190210622, -0.0094085569, 0.0170782376, -0.0137585457, 0.0009324232, -0.0590403415, 0.0112788985, 0.0096378587, -0.0422614105, -0.0354037993, 0.0180636365, -0.0196780879, -0.0760091245, -0.0536585525, -0.0491836965, -0.0385563336, -0.0035352868, 0.0070708161, 0.028149398, -0.0046480554, -0.0000888635, 0.0056105056, -0.0434950255, 0.024810072, 0.0229135621, 0.0311659593, 0.0878570527, 0.0223979242, -0.0592452399, -0.0759644136, -5.63050884e-33, -0.0041413759, -0.0187033508, 0.0260704532, 0.0090712402, -0.0438049883, -0.0098148566, -0.0028155828, -0.0357177928, -0.0053451168, 0.0070107742, -0.0381929316, -0.0229244754, 0.0362134948, -0.0101969941, 0.0463040285, 0.0297478028, 0.0487795919, -0.0203568731, -0.0058208029, -0.0012453436, 0.067328997, 0.0360688008, 0.0940223336, -0.0654525831, 0.0146133127, 0.0024385322, -0.0211752001, 0.0194985438, 0.1028745249, 0.0044732406, -0.0126619525, 0.0227508824, 0.0372386388, -0.0054432969, -0.0196483098, 0.0428448841, -0.103434816, -0.0353538394, 0.0009557184, 0.0824437365, 0.0342960879, -0.0199668258, 0.0511909463, -0.0432569273, -0.0111525385, 0.0566900969, 0.0173057746, -0.0430235825, 0.0222562142, 0.0075635794, -0.0655069649, 0.0181544572, 0.0100791939, 0.0020295065, 0.0734344199, 0.0344137773, -0.0025195125, -0.0260519478, -0.0652992725, 0.003865266, 0.0513771288, 0.0558970608, 0.0127254957, 0.0038961782, -0.0266816821, -0.0225905124, 0.0707300678, -0.0280712191, 0.0027307197, 0.0357557759, 0.0546457991, -0.0210759621, 0.0774298236, 0.0138772205, 0.0725997239, 0.0108355265, -0.0233763102, 0.0362063609, 0.084579967, 0.0424428768, -0.0124470908, 0.001841156, -0.0195038877, 0.0006145794, 0.0392795242, 0.0103927962, 0.0037991907, -0.0236371495, 0.0177143086, -0.0084296688, 0.0045467587, 0.0267674085, 0.0117267603, -0.0346459486, -0.0287120976, 0.0061500538, 0.0045602196, 0.0299269222, -0.0158471595, -0.0070954375, -0.0575760938, -0.0856839642, 0.0474205986, 0.0371723771, 0.0100778267, -0.0107264863, -0.0051746885, 0.0347795002, -0.0609728135, 0.0106750811, 0.0101420637, -0.012657593, 0.0260217413, 0.0314818546, 0.007785683, -0.0356869735, 0.0012987391, -0.0239083692, 0.0650899485, -0.0176301599, 0.0134250745, -0.0265466217, 0.0882045329, 0.0188430399, -0.0180730298, 0.0461984873, -0.0127593903, 0.0292628687, 0.0260948334, 0.0401181951, 0.0024141385, 0.017047096, 2.467e-7, 0.0576649755, 0.0330558382, 0.085463874, -0.0035640392, 0.0196838751, -0.0314529054, -0.0380856954, 0.0022009832, -0.0138583053, 0.0752429739, 0.0390224829, -0.0483466536, 0.0462864339, 0.039855063, -0.0434353836, -0.0651334897, -0.036605984, -0.0293251369, -0.0330843367, 0.0572737567, 0.0457699969, 0.0390816368, 0.0020228697, -0.0293466542, -0.012422625, -0.0318493582, -0.0087242452, 0.019779345, 0.0101565011, 0.00814238, 0.0601155385, -0.0020218659, -0.0268983729, 0.0352694914, 0.0319875814, 0.0396808162, 0.0029755449, 0.0219493583, -0.0168723632, 0.0546561107, 0.0055520847, -0.0357157737, -0.0311699025, -0.0334591344, 0.0103603425, -0.0143426182, -0.0051140031, 0.036676079, -0.0135870427, 0.0561469682, -0.0109259859, 0.0054657748, -0.0581703633, 0.0081465095, 0.0399669111, 0.0188418441, -0.0235203058, -0.0365213044, -0.0028825793, -0.0010719838, 0.0273814108, -0.0207767952, -0.038178578, 0.000110819, -0.0099760266, 0.0222428348, 0.0234341137, 2.013575676e-34, -0.0012975187, -0.0188395362, -0.0061781304, -0.0044263005, -0.0375836864, -0.0208895914, -0.0029555757, 0.0269756131, -0.0242947247, -0.055947721, -0.0143813211 ]
http://arxiv.org/abs/2402.01293v2
http://arxiv.org/pdf/2402.01293v2
Can MLLMs Perform Text-to-Image In-Context Learning?
2024-02-02T10:30:05
2024-04-15T21:30:10
Yuchen Zeng, Wonjun Kang, Yicong Chen, Hyung Il Koo, Kangwook Lee
cs.LG
cs.LG, cs.CL
The evolution from Large Language Models (LLMs) to Multimodal Large Language Models (MLLMs) has spurred research into extending In-Context Learning (ICL) to its multimodal counterpart. Existing such studies have primarily concentrated on image-to-text ICL. However, the Text-to-Image ICL (T2I-ICL), with its unique characteristics and potential applications, remains underexplored. To address this gap, we formally define the task of T2I-ICL and present CoBSAT, the first T2I-ICL benchmark dataset, encompassing ten tasks. Utilizing our dataset to benchmark six state-of-the-art MLLMs, we uncover considerable difficulties MLLMs encounter in solving T2I-ICL. We identify the primary challenges as the inherent complexity of multimodality and image generation, and show that strategies such as fine-tuning and Chain-of-Thought prompting help to mitigate these difficulties, leading to notable improvements in performance. Our code and dataset are available at https://github.com/UW-Madison-Lee-Lab/CoBSAT.
Can MLLMs Perform Text-to-Image In-Context Learning?: The evolution from Large Language Models (LLMs) to Multimodal Large Language Models (MLLMs) has spurred research into extending In-Context Learning (ICL) to its multimodal counterpart. Existing such studies have primarily concentrated on image-to-text ICL. However, the Text-to-Image ICL (T2I-ICL), with its unique characteristics and potential applications, remains underexplored. To address this gap, we formally define the task of T2I-ICL and present CoBSAT, the first T2I-ICL benchmark dataset, encompassing ten tasks. Utilizing our dataset to benchmark six state-of-the-art MLLMs, we uncover considerable difficulties MLLMs encounter in solving T2I-ICL. We identify the primary challenges as the inherent complexity of multimodality and image generation, and show that strategies such as fine-tuning and Chain-of-Thought prompting help to mitigate these difficulties, leading to notable improvements in performance. Our code and dataset are available at https://github.com/UW-Madison-Lee-Lab/CoBSAT.
[ 0.0028312644, 0.070443444, 0.0264788419, 0.0955645069, -0.0489239581, 0.0180584695, 0.0455006734, -0.0130962925, -0.0016384678, -0.0694046691, -0.0709452033, -0.0393936485, 0.0292502642, 0.0194776859, 0.0528365895, -0.0531517304, -0.0135208741, -0.0537137464, -0.040228337, -0.0040827552, 0.0233658236, 0.0356525667, -0.0134190219, 0.0209374204, -0.054308597, -0.0327410065, 0.0146527747, 0.0536384769, 0.0193395596, -0.01814791, -0.0061800396, 0.0240292531, 0.0482753068, 0.0032681914, 0.0000018367, -0.0287729893, 0.0121261347, -0.0013058267, 0.0316479318, -0.020808816, 0.0702396631, -0.0568754934, 0.0060391715, -0.0121687884, -0.029696675, 0.0253089815, 0.0620431527, 0.0511101559, 0.0538843758, 0.0752047971, -0.0277688764, -0.02079162, 0.0062677059, -0.029950235, 0.0217689518, -0.0342970155, 0.0084280791, 0.0025124124, 0.0037768586, -0.0136940507, -0.0354949795, 0.0723629072, 0.0348963551, -0.0143290795, -0.0415130667, 0.0482303575, 0.0050044106, -0.0368554071, -0.0185402445, 0.0933922008, -0.0356011949, -0.0153314117, -0.041021347, 0.0000808455, -0.004099133, -0.0111082429, -0.0149647901, 0.0548281074, -0.0185873806, 0.0300058126, -0.0287421625, -0.0087590814, 0.0247906316, -0.0062002488, -0.01736225, 0.0164331924, 0.0263317078, -0.0002247653, -0.0236427579, 0.0109496294, -0.030850349, -0.0323671363, 0.0001426602, 0.0326441303, -0.0306453872, 0.0019472725, -0.0676495656, -0.0296256933, -0.0193143375, -0.0100154355, 0.0680415183, -0.0085897474, -0.0314887092, 0.0511560179, -0.0059357556, 0.0065462706, -0.0120868646, 0.0157304369, -0.0408966504, -0.0388859995, 0.0026278654, 0.0097952774, -0.0394481272, -0.0244306549, -0.0373328887, -0.0317261219, -0.0092640556, 0.013452217, -0.0136642251, 0.0048990222, -0.0320126005, -0.00154492, -0.0448315293, -0.0354888625, 0.0190648008, 0.0211379398, 0.0282975528, 0.028990522, 0.005920426, -0.0291022845, 0.007436418, 0.0398681983, 0.0425133519, -0.0366760679, -0.0053633922, 0.0597914793, -0.0497401468, -0.0542746633, -0.0296131782, -0.0176351015, -0.0408046246, -0.0894417837, 0.0180849638, -0.0651058778, 0.0345995277, -0.0088386247, 0.0122038377, -0.0211809855, -0.0119364625, 0.0016251209, -0.0017555878, 0.1090829447, 0.0025375802, -0.012656875, 0.0379248224, 0.0066094766, 0.0042415727, 0.0798057243, 0.0303348191, 0.0491929315, 0.0269897766, 0.0290728938, 0.0051297233, 0.0951137021, 0.0120029943, 0.0353411436, -0.0307997577, -0.0085329199, 0.0117159616, 0.0474285334, 0.0436992496, 0.0699006766, -0.0283934083, -0.0049728435, 0.1072335243, 0.0179636609, 0.0440618321, -0.0050764899, 0.0556198731, 0.0035974784, -0.0008454528, -0.0034896173, -0.0553340055, 0.0293141436, -0.0022519424, 0.0147203449, 0.0279137343, 0.0557284057, -0.0335053094, -0.0077416361, 0.0139812818, -0.0454239622, -0.0128163006, 0.0100379074, 0.0393094569, 0.034734156, -0.0449562222, -0.0119508477, 0.0275667328, -0.0185242351, 0.0028319885, -0.0327851586, 0.0188749917, 0.0494559817, 0.029740639, -0.0005812977, -0.0142952893, -0.0103102988, 0.0544503704, 0.0860657021, -0.0277856104, -0.0110008698, 0.05392069, -0.0572882667, -0.0439761542, 0.0153403739, -0.0106522199, 0.0093251476, 0.0020603815, 0.0223654509, -0.0004663119, 0.0007347413, 0.0223673526, 0.0345406719, -0.0050690128, 0.024465153, -0.0136150355, 0.0277057234, -0.0051997839, -0.0255619567, -0.0184723847, -0.0134119699, -0.0015960755, -0.060391508, -0.0052975202, 0.0172824059, -0.0598993562, -0.0613338798, 0.0175706167, -0.0543038771, -0.0251868311, 0.0118845748, -0.0418487266, -0.0103367344, -0.0319200195, -0.0083502885, 0.0029345292, -0.0269775391, -0.0265151262, 0.0378011726, 0.0169383213, -0.0301666185, 0.0323563516, -0.0217338745, -0.02489274, 0.0247690715, 0.0179547723, -0.0254168157, -0.0070863827, -0.0219353251, 0.008673883, 0.0081378603, 0.0297081787, -0.0042152903, 0.065615803, -0.0445578322, -0.023849953, -0.0973005444, -0.0321941897, -0.0326998942, -0.0365272835, 0.0190393608, 0.0064453613, 0.0033828262, -0.0232072007, -0.032978002, 0.0215079281, 0.0089125205, 0.024439346, 0.025516592, 0.0079346346, 0.0261502061, -0.0274712536, -0.0067754663, 0.022919273, 0.0681949556, -0.0145481694, -0.0346186198, -0.0407378227, 0.0010982781, -0.0228506494, 0.0208822414, -0.0210846625, 0.0227134135, 0.0225441232, -0.0425240211, 0.0757497028, 0.0575091057, 0.0263966154, 0.0033340678, 0.0125980806, -0.0066898684, -0.0544064045, -0.0103403898, 0.0189770106, -0.032194864, -0.0214719903, -0.0243360754, -0.0204037707, 0.0425893106, -0.0014751066, 0.0184898656, -0.0402791426, 0.0153062213, -0.0069467705, -0.0525941402, -0.0689708665, 0.0303640626, 0.0014376978, 0.0189111661, -0.0493053459, -0.0743541569, 0.0182298888, -0.049401138, -0.0220816489, -0.0023626778, 0.0051637422, -0.0247045122, 0.0523295477, 0.0246390849, 0.0470847599, -0.0112615125, 0.0164285991, -0.0593838878, 0.0069814064, 0.0040683537, 0.0090475688, 0.0902163684, -0.0385293998, 0.0214027558, -0.0376911871, -0.0439890511, -0.0209106747, -0.0273237694, -0.0132377809, -0.0177813787, -0.0376502424, -0.0191871207, -0.0136878658, 0.0053291465, 0.0145363342, 0.0280883648, -0.0050377557, -0.03307366, -0.0119432621, 0.0770389661, 0.0612850785, 0.0119122276, -0.0202236082, -0.0343600474, 0.0051421463, 0.0446225181, 0.0239143725, -0.0046012453, -0.0624708645, 0.0209131688, 0.0176032353, 0.0787711218, 0.0112296529, 0.0227424242, 0.0638104007, -0.023489384, -0.0287797432, 0.0686377957, -0.0104823532, -0.0746398345, -0.0363443419, 0.0235105958, 0.0567447804, 0.0043653967, -0.0082041407, -0.076097928, -0.0636122897, -0.0179967415, -0.0032395129, 0.033361502, 0.0093877222, -0.0327066369, -0.0693493187, 0.0544859655, 0.0047347993, -0.0413262136, -0.0374536328, 0.0093887998, -0.005495023, 0.0259430856, 0.0198922716, -0.0002639091, -0.0144673288, -0.0022032065, -0.0002038061, 0.0236086212, -0.0649705455, 0.0011897713, -0.0364006869, 0.00619253, 0.0441575274, 0.0307133514, 0.0189627856, -0.0132325906, 0.0799295828, 0.0172699597, -0.0225416999, -0.0292063318, 0.0485808849, -0.0051385057, -0.0157762878, 0.0085963756, 0.063223891, -0.0215257704, 0.004770007, -0.0025811724, 0.0300535411, -0.0011652415, -0.0122149484, -0.0308264345, 0.0068516871, 0.03225803, 0.0481161289, 0.0303082094, -0.0700046122, -0.014808761, -0.0199898127, -0.0068384469, -0.0355440974, -0.0174673032, -0.0019900051, -0.0053463755, 0.0385860205, -0.081875436, -0.0404218063, 0.0115875648, 0.061690934, -0.010877464, -0.0058206683, -0.0401096717, -0.0067257835, -0.0345991664, 0.0508657917, -0.0436867438, 0.0429835767, -0.0534676462, -0.0044758702, 0.045270022, -0.0581468605, 0.0070615909, 0.0447537936, -0.1130040213, -0.027315801, -0.036914587, 0.0485262685, 0.0116398865, 0.0721317008, 0.0119586168, -0.042672988, 0.0471382849, 0.0513831377, 0.0189733133, 0.0239855498, -0.0031465092, 0.0418790504, -0.0088421712, 0.0458317883, -0.0428836234, 0.0214245319, 0.0266369972, 0.0165396128, -0.0082222298, -0.0353906304, 0.0060761021, -0.0065928889, 0.0120837381, -0.0601767749, -0.0019699046, -0.0385651812, -0.0075133662, -0.0199582409, -0.033690583, -0.096563302, -0.0161190648, 0.030436974, 0.0197112449, -0.0071970215, -0.0047480236, 0.0550548211, 0.0530269071, -0.0389977768, 0.010893099, 0.0373548679, 0.0167383589, 0.0234160051, 0.0267698523, -0.0066026486, 0.0414841101, -0.0292413738, 0.0365350395, -0.019376358, 0.0781873986, 0.03665369, -0.0325540341, -0.0308271982, 0.0474561304, -0.0091258092, -0.0043086093, -0.0632653385, 0.0402299017, 0.0723466054, 0.0252727624, 0.0694139525, -0.0282103848, -0.0240315832, -0.0346044749, 0.0615398809, 0.0035043783, -0.0481620692, 0.0551028475, -0.0199890248, 0.0209460817, 0.0145869376, 0.0593513176, 0.0010421386, 0.0164949857, 0.0321890041, 0.0444693305, -0.0377746895, -0.0275465064, 0.0330120586, -0.0160432216, 0.0117810117, 0.0210592374, -0.0081242751, -0.0590864532, 0.0073679537, 0.0265114568, -0.0228178855, 0.0183612406, 0.036668919, 0.0573238917, 0.0215954222, 0.0079289386, -0.0133500928, -0.002371897, 0.0344558507, -0.0312121473, -0.0283046942, -5.899515579e-33, -0.0431568101, -0.0437102504, 0.0463879779, 0.0064374045, -0.007446798, 0.0207550507, -0.0126391361, 0.0263436791, -0.0140433349, -0.0000334338, -0.0061203702, -0.0317131579, 0.0010693714, 0.0727805495, -0.0285842307, 0.0005131823, 0.0162947141, -0.0299501456, -0.0118877338, 0.009238001, -0.0013803768, 0.012703062, 0.0303474069, -0.0440301374, -0.0168455951, -0.0163818784, -0.0459954552, 0.0166369472, -0.0118777333, 0.0330567807, -0.0303269252, 0.0230357759, 0.0233221818, 0.0091319224, -0.0423192382, 0.0225825403, -0.0838542059, 0.0287018567, -0.0213909689, 0.0183154643, -0.0858466923, 0.013532876, 0.0467983447, -0.0144460574, 0.0064469869, -0.0579763837, 0.0385059528, -0.0121124731, -0.0193172283, -0.0211065803, -0.0584219694, 0.0065205065, 0.0001126943, -0.0427897498, 0.0300514922, 0.0734912902, 0.0055269911, 0.0334993191, -0.0672777891, 0.0160260256, -0.0322532691, 0.0110838087, 0.0879273862, 0.0506786518, -0.0125026377, 0.042507939, 0.0232806224, -0.0089016976, -0.0029398089, 0.0078114439, 0.0498272367, 0.0687687993, 0.0286640152, 0.0936249793, -0.0105030378, 0.0462119095, -0.0382317901, 0.0337387323, -0.0295048468, -0.0092541631, 0.035323564, 0.0070656505, -0.0044504218, 0.0008944345, -0.0486103147, -0.0220355913, -0.0429420769, 0.0075033451, 0.0492979176, 0.0254206881, -0.0028300618, -0.0063913446, 0.0836080164, -0.0175058674, -0.0488117822, -0.0100653432, -0.0263403822, 0.0514076874, -0.0122230332, 0.0309309307, -0.0389197767, -0.0262942687, 0.0268358607, 0.0340760946, 0.0136161894, 0.0104892813, 0.080648087, 0.0219020639, -0.0528374948, -0.0067927428, -0.0487079546, 0.0433409512, -0.0173530076, 0.044755958, 0.026761869, -0.0351872332, -0.0530113578, 0.0297987182, 0.0000645416, -0.0296105631, -0.0011971479, -0.0297134425, -0.0258479882, -0.0035825754, -0.022729421, 0.0244209878, -0.0458858497, -0.0359091051, 0.0513692312, -0.0544451475, -0.0032795821, 0.0229098238, 2.341e-7, 0.0335322767, 0.0109732924, 0.0070614046, 0.0089489594, 0.0375897549, 0.0659548342, -0.0499426238, 0.0219628196, 0.0159614533, 0.0005323234, -0.0026066864, 0.0436778031, 0.0548838973, -0.0096960571, -0.0178491212, 0.0207236856, -0.0319856107, 0.0330647901, -0.0501633324, -0.0185824241, 0.0350122005, 0.0785976946, -0.0314985625, -0.0567907803, 0.046709463, -0.0578125678, 0.0932859629, -0.0561837815, -0.0098025193, -0.0242141727, -0.0054312567, -0.002996017, 0.0018097319, 0.0042790971, 0.0127884289, -0.0424494669, 0.0432113186, 0.0434938855, -0.0075002415, -0.0496038646, 0.0070729409, 0.0328930505, -0.046963416, -0.0566000305, 0.0702420473, -0.052663777, -0.0154130403, -0.0396514684, 0.0143434228, -0.0163617563, 0.0157531984, -0.0438322723, -0.0478077196, 0.0298323911, 0.0562964082, -0.0158901569, -0.0376543663, -0.0792436302, -0.0646727756, -0.0206716489, -0.0544903427, -0.0092469528, -0.0684615448, 0.0268776827, 0.0226051249, -0.0370778143, -0.040718589, 1.785276191e-34, -0.0047644773, -0.0218407959, 0.018285362, 0.0113052754, 0.0093119275, -0.0092684245, -0.0614871532, -0.0044067437, -0.0217044, -0.0622620173, -0.0064980779 ]
http://arxiv.org/abs/2402.01806v1
http://arxiv.org/pdf/2402.01806v1
HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text
2024-02-02T10:06:43
2024-02-02T10:06:43
Han Liu, Zhi Xu, Xiaotong Zhang, Feng Zhang, Fenglong Ma, Hongyang Chen, Hong Yu, Xianchao Zhang
cs.CL
cs.CL, cs.AI
Black-box hard-label adversarial attack on text is a practical and challenging task, as the text data space is inherently discrete and non-differentiable, and only the predicted label is accessible. Research on this problem is still in the embryonic stage and only a few methods are available. Nevertheless, existing methods rely on the complex heuristic algorithm or unreliable gradient estimation strategy, which probably fall into the local optimum and inevitably consume numerous queries, thus are difficult to craft satisfactory adversarial examples with high semantic similarity and low perturbation rate in a limited query budget. To alleviate above issues, we propose a simple yet effective framework to generate high quality textual adversarial examples under the black-box hard-label attack scenarios, named HQA-Attack. Specifically, after initializing an adversarial example randomly, HQA-attack first constantly substitutes original words back as many as possible, thus shrinking the perturbation rate. Then it leverages the synonym set of the remaining changed words to further optimize the adversarial example with the direction which can improve the semantic similarity and satisfy the adversarial condition simultaneously. In addition, during the optimizing procedure, it searches a transition synonym word for each changed word, thus avoiding traversing the whole synonym set and reducing the query number to some extent. Extensive experimental results on five text classification datasets, three natural language inference datasets and two real-world APIs have shown that the proposed HQA-Attack method outperforms other strong baselines significantly.
HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text: Black-box hard-label adversarial attack on text is a practical and challenging task, as the text data space is inherently discrete and non-differentiable, and only the predicted label is accessible. Research on this problem is still in the embryonic stage and only a few methods are available. Nevertheless, existing methods rely on the complex heuristic algorithm or unreliable gradient estimation strategy, which probably fall into the local optimum and inevitably consume numerous queries, thus are difficult to craft satisfactory adversarial examples with high semantic similarity and low perturbation rate in a limited query budget. To alleviate above issues, we propose a simple yet effective framework to generate high quality textual adversarial examples under the black-box hard-label attack scenarios, named HQA-Attack. Specifically, after initializing an adversarial example randomly, HQA-attack first constantly substitutes original words back as many as possible, thus shrinking the perturbation rate. Then it leverages the synonym set of the remaining changed words to further optimize the adversarial example with the direction which can improve the semantic similarity and satisfy the adversarial condition simultaneously. In addition, during the optimizing procedure, it searches a transition synonym word for each changed word, thus avoiding traversing the whole synonym set and reducing the query number to some extent. Extensive experimental results on five text classification datasets, three natural language inference datasets and two real-world APIs have shown that the proposed HQA-Attack method outperforms other strong baselines significantly.
[ 0.0704244301, 0.0672181472, -0.0124511607, 0.0111602657, -0.0623153895, 0.0022995644, 0.0017680732, 0.0283385254, 0.0345332101, -0.0446759909, 0.0036901198, -0.0308294091, 0.012631041, -0.0003530378, 0.0563261621, -0.0055350428, 0.0507679433, 0.037742231, -0.0485260896, -0.0248016305, -0.0044693039, 0.010448521, -0.0069074868, 0.0036018707, -0.0157106332, -0.0145437559, -0.0332572609, 0.0253191795, 0.0495433919, -0.0229206812, 0.0601439551, 0.03983289, -0.0110732252, 0.1045621708, 0.0000019485, -0.0318985097, -0.0557479076, 0.0251127165, -0.012599458, 0.0116965054, 0.0567972884, -0.0348217189, -0.0025706731, 0.0077450955, -0.0162960198, -0.0203024056, 0.0153122814, 0.0550471023, 0.0851854533, 0.1125141382, -0.0179762878, -0.0621120892, -0.0051629418, -0.0649363697, -0.0061176089, -0.0813983232, 0.0588256456, -0.0392669626, -0.0264734216, 0.0125108035, -0.0052495706, 0.0299933031, 0.0444984362, 0.0204782914, 0.0077614649, 0.0234129485, -0.0114413537, -0.0007969649, 0.02681024, 0.0937823877, -0.0485278144, -0.0208875239, 0.0152414311, 0.0005260819, 0.011937188, -0.042994678, 0.0098244473, -0.0304314978, 0.003857719, 0.0225047767, 0.0140158627, -0.0040222933, 0.060002204, 0.0170992538, 0.019650802, 0.0002433427, 0.03426826, -0.0354135595, 0.0268521383, -0.0551346689, -0.0044151857, -0.0171963107, 0.0146004194, 0.0267881379, 0.0030536333, 0.0060968781, -0.0871672705, -0.0698063448, 0.0337524936, -0.0701621175, 0.0310579389, -0.0211876538, -0.0221672654, 0.0405258872, -0.0330958739, -0.0093279779, -0.0166932847, 0.0598850474, -0.0144603653, -0.0328812413, -0.0156859476, -0.0118874973, -0.0576352514, 0.0354922451, -0.0163721628, -0.0032938106, -0.045359049, -0.0162481181, -0.0295334626, 0.0352412499, -0.0262782797, 0.0256825462, -0.0360367596, -0.0165773034, 0.0143003697, -0.0765734389, -0.0483130775, 0.0051135584, -0.0209255088, -0.0676447079, -0.0241311081, 0.0186404977, -0.0212827399, -0.0280554965, 0.0024770049, 0.1140647754, -0.0188325625, -0.0337536074, -0.0604540184, -0.0240316931, 0.0032259012, -0.0185177773, -0.013718361, -0.0239989217, 0.0108059682, -0.0547262616, -0.0207062997, -0.0576313324, 0.0000727952, 0.0215690881, 0.0045955111, 0.0836958066, -0.023777876, -0.0519664884, 0.0389122739, 0.0371263027, -0.0155840525, 0.0752916113, -0.0379520655, 0.0604718812, 0.0379071198, 0.0208234359, -0.0075247274, 0.0206701327, 0.0471089073, 0.0289251432, -0.0408341177, 0.0074629406, 0.0007700265, 0.0379542895, -0.0370413102, 0.0513708442, -0.0297607798, -0.0981426537, 0.0368810445, -0.0226488709, 0.0003657562, 0.0544763431, -0.0042372528, 0.0015688819, -0.0277221091, -0.0112884389, -0.0232953392, -0.0105639827, -0.0427993611, -0.0479112528, 0.0553272814, 0.0119706597, -0.018158773, -0.0380813256, 0.0118646286, 0.0009731278, 0.006370571, -0.0513021015, 0.0196823925, 0.0762170851, -0.015195515, 0.0476123951, 0.0353289507, 0.0054817637, -0.0000204158, -0.03915672, -0.0080225002, 0.009329753, 0.0689062327, -0.0303428378, 0.0347989351, -0.0169177819, -0.0007987936, 0.0041337125, 0.0266326852, -0.0097109014, -0.0065105888, -0.0662631467, -0.0127597274, -0.0375412367, 0.0259097591, 0.0432437882, 0.0220490061, 0.0259886477, 0.0466659106, -0.0047325697, -0.0324005224, 0.0346752442, 0.0268838722, -0.055293493, 0.0410027914, 0.0337919258, 0.0519808494, -0.0079125986, -0.0012087793, 0.007295392, 0.0300111547, -0.0196704213, -0.0778326988, -0.0519131012, 0.0462059714, -0.034046866, 0.0323854946, -0.0455635674, -0.0033548381, 0.0740492344, -0.0605713166, 0.0030451962, 0.0205889661, -0.0470297933, 0.010753734, -0.0118021863, -0.0322611704, -0.0079844743, 0.0610119477, -0.0225884914, 0.057284791, -0.0136056384, 0.0010258189, -0.0208696909, 0.0433530845, 0.0088464301, 0.0137127414, -0.0514524914, 0.0023805548, -0.0170849636, 0.0084386291, -0.0041582161, -0.0254913066, -0.0270729065, -0.0268450566, -0.0026179082, -0.0165632274, -0.0388671234, -0.0252831802, 0.0591039918, -0.0095365457, -0.0069688614, -0.0312009212, 0.0039645601, 0.0334071778, -0.068015404, 0.0428375117, 0.0494337492, 0.0275706444, -0.0279972665, -0.013096706, -0.0056405133, 0.004395965, 0.0774526969, 0.0019231074, 0.0104255555, -0.0078110397, 0.0017611576, -0.0084920796, 0.0342333838, -0.035357222, -0.0341793448, -0.0009991027, 0.0243722312, 0.000934768, 0.054220777, 0.0577202253, 0.0339708701, 0.027209634, 0.012990539, -0.0121049695, -0.0148530118, -0.042705223, 0.0057258084, -0.0499313176, -0.0279406141, 0.0292960983, 0.0398941934, 0.0334575735, -0.0020752903, -0.0164250042, 0.0263825469, 0.0150561472, -0.0370382071, -0.0498447269, 0.0427503064, -0.0383679084, -0.0349588953, -0.0162484366, -0.0323365703, 0.0761261806, -0.019181164, 0.0344019085, -0.0297814924, -0.0528701469, 0.0037151724, 0.0414676219, -0.0184232686, 0.0213722289, -0.0036000686, 0.0130225783, -0.0129046803, -0.0148269478, 0.0538306348, -0.0029582209, -0.0210976601, 0.0195460171, 0.0006748176, -0.0023724257, -0.010973026, -0.0410189964, -0.0667203441, 0.0012256148, -0.0019603728, 0.0299719293, -0.0091155348, -0.0543073304, -0.0253119711, -0.0114411823, 0.0481890775, -0.0259414352, -0.0009589281, -0.0314549617, 0.0242007021, 0.0935944691, -0.0610309131, -0.0165712647, -0.0010136463, 0.0013966693, 0.0712218657, 0.0430173613, 0.0108427871, -0.0084952535, -0.0347542949, -0.0072402479, -0.0123816114, 0.0044954871, -0.0045417305, -0.0583611801, -0.0057716989, -0.010025844, 0.0541013591, -0.0052705617, -0.0160005819, 0.0346924029, -0.0296632107, 0.033766482, -0.0060515981, -0.0065883016, -0.0722385421, -0.0377553813, -0.0046906644, 0.031229442, -0.037004672, -0.0331689604, 0.0024878033, -0.1079303399, -0.0227565076, 0.0204060916, -0.0044514793, -0.011150633, -0.0155633613, 0.0090128295, -0.0153108574, -0.0090260953, -0.0029531245, 0.0628785864, -0.0095520588, 0.0036421679, 0.029941611, -0.0445841737, 0.0147489905, -0.0002781847, -0.0077548763, 0.0322460234, 0.0523007624, -0.0116087981, -0.015149883, 0.0625595599, -0.0203205552, -0.0353711024, 0.0209063813, 0.0632675812, -0.030929707, -0.0258649923, 0.0231870078, 0.0391788334, 0.0099268276, 0.0000746271, 0.0031152174, 0.0306661986, 0.0080087408, -0.0134118944, -0.0228277817, -0.0044317977, 0.0363998525, 0.0323781893, 0.0200362857, -0.061351154, -0.0288209971, -0.0003302592, 0.0316083357, -0.0297992546, -0.0157483984, 0.0273948479, -0.0149402572, -0.034127187, -0.0520980284, -0.0252077188, -0.0449218862, 0.0551655702, -0.0109809916, 0.0217732079, -0.0320003815, -0.0375241525, -0.0168414228, -0.033553943, -0.0122222956, 0.0390862301, -0.0095418412, -0.0071168989, 0.0559203885, 0.0195286814, -0.045011621, 0.0268099103, -0.0276791044, -0.072846204, 0.0166302454, -0.0050245081, 0.0051466557, 0.0549941249, -0.0517606698, -0.0778538957, 0.0221976042, 0.0751959458, 0.0346193463, 0.0014268094, 0.0461505502, -0.0434683524, 0.0345704183, 0.0756059512, -0.0363057144, 0.0052350271, 0.0611202233, 0.0078061572, -0.016240146, 0.0014627456, -0.0088960743, 0.0088121546, 0.0491900481, -0.0171950832, 0.0062887771, 0.031951353, 0.0660321489, 0.0083058877, -0.0500918217, 0.0125578344, 0.0455105901, 0.001500319, -0.0065621966, -0.0038642297, 0.0027493951, 0.0073724771, 0.0257053692, 0.009694647, -0.0105182789, 0.0176102892, 0.0734537765, 0.0367080308, -0.0022011462, -0.0073778136, -0.0127537744, 0.0436591543, 0.0455258526, -0.017728854, 0.0014273573, 0.0580702759, -0.0118311653, -0.0048024771, 0.0135130379, -0.0296732672, 0.0230951402, -0.056616582, -0.0156624448, 0.0255195685, 0.0199417118, -0.0422073565, -0.0224854741, -0.0347644091, 0.0055890153, -0.0167341866, -0.0387426205, -0.0602474511, -0.0110364407, 0.0056593912, -0.007420585, 0.0618429184, 0.0446771421, 0.0297681727, 0.0635577291, 0.02104895, -0.0169593785, -0.0370657258, -0.0034001675, 0.0361929722, 0.0041205049, 0.021044476, -0.0296632145, -0.033766713, -0.0690826252, 0.0473788977, -0.0289600343, -0.0114350952, 0.0577666275, 0.0397062339, 0.0649781004, 0.0181231778, 0.0076523041, -0.0476136953, 0.0405378379, 0.0055301194, -0.0609361716, 0.0100865578, -6.17621997e-33, 0.0017646697, -0.0321547277, -0.0351138785, -0.1045028642, 0.0092760688, -0.0007411671, 0.004260364, -0.0675959736, 0.0126087805, 0.0224315953, 0.0137749668, 0.0041728737, -0.0091606285, 0.0345283374, -0.0571854822, -0.0554673374, 0.0414005034, 0.0130667277, -0.0517641492, 0.0155031411, 0.0396297164, 0.0366627574, 0.0269581042, -0.0414401628, -0.011993234, -0.0087373415, -0.0427537933, -0.0182499532, -0.0584118068, 0.0162241776, 0.0121762687, 0.0432198904, 0.0059171924, -0.0092825443, 0.0235635713, 0.0016782013, -0.0405957885, -0.0118956445, -0.024224421, 0.0120830052, -0.014496984, -0.0089160055, 0.0412293188, 0.0000638931, -0.0021603946, 0.0043984102, 0.0004036913, -0.0310137719, -0.0232397672, -0.0162064191, -0.0207699779, 0.0385352597, -0.0018747947, 0.025554806, -0.0372669324, 0.0034431173, 0.0557712466, 0.0036715004, -0.1191231608, -0.0062308474, 0.0101758344, 0.0105386116, 0.0099037681, 0.0065554772, 0.0334642082, 0.04998767, 0.0482897498, -0.0126100238, -0.0094514731, 0.0131549696, -0.0031777334, 0.0109861521, 0.0700793341, 0.1033524647, 0.0718811527, -0.0532876439, -0.0838102549, -0.0050080027, -0.023916766, 0.0010935148, 0.040039774, 0.01652015, -0.0663467199, 0.0061835195, -0.0273427051, -0.0339002945, -0.0191556327, -0.0282839779, 0.0196962617, 0.0233168155, -0.0468735918, 0.0329647213, -0.0536044948, -0.0213315524, -0.0153476372, 0.0175751522, -0.0333387107, -0.0222259611, 0.0124236867, 0.01070954, -0.0264421906, -0.0375042558, 0.0324832089, -0.0212672539, 0.0116900438, -0.0208671633, 0.0334075727, -0.0069822506, -0.0839165002, -0.0193970148, 0.0084874667, 0.0309833474, -0.0048630936, -0.0529004969, -0.0024278727, -0.0128231328, -0.014921858, 0.0569733642, 0.0412191562, 0.0283590257, 0.006194483, 0.044164896, -0.0225439835, -0.0024097483, -0.0069120168, -0.0157482624, 0.018945558, 0.0072931116, 0.0650901124, -0.0939998776, 0.0254517142, -0.0341909267, 2.856e-7, -0.0156954397, 0.0152242836, 0.0066102818, -0.0330657326, 0.0209528711, 0.0695534796, 0.0304900147, 0.0645082146, -0.0523351766, -0.0229429249, -0.0018575179, -0.0185495019, 0.0347498581, 0.0171275176, -0.0500160642, 0.0023843099, -0.1217536926, -0.0188589487, -0.0579039678, -0.0198908523, 0.0529094376, 0.1145720333, 0.0757958069, -0.0283784922, -0.0376565754, -0.0421083495, 0.0392273702, 0.0279072933, 0.0091753528, 0.0184742231, 0.0316991508, 0.0053178589, 0.0376693681, 0.0049416707, -0.0348758586, 0.0017714188, 0.0302242972, 0.0050828345, -0.0139027266, -0.0558165722, -0.0134644611, -0.0043927841, -0.0045231371, -0.0226834286, 0.10092327, -0.0308076516, -0.0220406707, -0.0192926675, -0.0285051353, 0.0357614607, 0.0517362356, -0.0252105016, -0.0173971932, 0.0128046824, 0.0096590118, 0.0478247106, -0.0016716366, -0.1100782454, 0.0374560617, -0.0030846316, -0.018878324, 0.0202169083, -0.035502445, 0.0544104837, 0.0133039663, -0.0190804396, 0.0290141739, 2.225663785e-34, 0.0031229113, -0.0314358324, -0.016480824, -0.0042891623, 0.0356499068, 0.0094488459, 0.0337449387, -0.0027251483, 0.0133836772, -0.016690664, -0.0223439727 ]
http://arxiv.org/abs/2402.01805v3
http://arxiv.org/pdf/2402.01805v3
Can LLMs perform structured graph reasoning?
2024-02-02T09:45:33
2024-04-18T12:04:12
Palaash Agrawal, Shavak Vasania, Cheston Tan
cs.CL
cs.CL, cs.AI
Pretrained Large Language Models (LLMs) have demonstrated various reasoning capabilities through language-based prompts alone, particularly in unstructured task settings (tasks purely based on language semantics). However, LLMs often struggle with structured tasks, because of the inherent incompatibility of input representation. Reducing structured tasks to uni-dimensional language semantics often renders the problem trivial. Keeping the trade-off between LLM compatibility and structure complexity in mind, we design various graph reasoning tasks as a proxy to semi-structured tasks in this paper, in order to test the ability to navigate through representations beyond plain text in various LLMs. Particularly, we design 10 distinct problems of graph traversal, each representing increasing levels of complexity, and benchmark 5 different instruct-finetuned LLMs (GPT-4, GPT-3.5, Claude-2, Llama-2 and Palm-2) on the aforementioned tasks. Further, we analyse the performance of models across various settings such as varying sizes of graphs as well as different forms of k-shot prompting. We highlight various limitations, biases and properties of LLMs through this benchmarking process, such as an inverse relation to the average degrees of freedom of traversal per node in graphs, the overall negative impact of k-shot prompting on graph reasoning tasks, and a positive response bias which prevents LLMs from identifying the absence of a valid solution. Finally, we introduce a new prompting technique specially designed for graph traversal tasks (PathCompare), which demonstrates a notable increase in the performance of LLMs in comparison to standard prompting techniques such as Chain-of-Thought (CoT).
Can LLMs perform structured graph reasoning?: Pretrained Large Language Models (LLMs) have demonstrated various reasoning capabilities through language-based prompts alone, particularly in unstructured task settings (tasks purely based on language semantics). However, LLMs often struggle with structured tasks, because of the inherent incompatibility of input representation. Reducing structured tasks to uni-dimensional language semantics often renders the problem trivial. Keeping the trade-off between LLM compatibility and structure complexity in mind, we design various graph reasoning tasks as a proxy to semi-structured tasks in this paper, in order to test the ability to navigate through representations beyond plain text in various LLMs. Particularly, we design 10 distinct problems of graph traversal, each representing increasing levels of complexity, and benchmark 5 different instruct-finetuned LLMs (GPT-4, GPT-3.5, Claude-2, Llama-2 and Palm-2) on the aforementioned tasks. Further, we analyse the performance of models across various settings such as varying sizes of graphs as well as different forms of k-shot prompting. We highlight various limitations, biases and properties of LLMs through this benchmarking process, such as an inverse relation to the average degrees of freedom of traversal per node in graphs, the overall negative impact of k-shot prompting on graph reasoning tasks, and a positive response bias which prevents LLMs from identifying the absence of a valid solution. Finally, we introduce a new prompting technique specially designed for graph traversal tasks (PathCompare), which demonstrates a notable increase in the performance of LLMs in comparison to standard prompting techniques such as Chain-of-Thought (CoT).
[ 0.0204608738, -0.0143781574, -0.0113827558, 0.0299702249, -0.0605017357, 0.0195846297, 0.0097906813, -0.0122606913, 0.0709583163, -0.0333542041, -0.0082595153, -0.0027182442, -0.0206102487, 0.0292949528, 0.0066207633, -0.0451612175, 0.0407061987, -0.0633891672, 0.0034507301, -0.0288846791, -0.0286437888, 0.0096780034, -0.0042530745, 0.0121780988, -0.0021560383, -0.0329443067, -0.0516579933, 0.013627111, -0.0197306909, -0.0765336454, -0.0332592651, 0.0322912224, 0.0353936702, 0.0279910788, 0.0000021877, -0.0301377922, 0.0057087964, -0.017174691, -0.0749873593, -0.0013655834, -0.0063995789, -0.0182890017, 0.0244460534, -0.0069103441, -0.0196576361, -0.0438351147, 0.0300200582, 0.0351162739, 0.0612078272, 0.0779189765, 0.0008292864, -0.0277824365, -0.0009466527, -0.0070052883, 0.0127003575, -0.0477470122, 0.0300961025, 0.0254670326, 0.0469674766, 0.0233225971, -0.0290776435, 0.0181931201, 0.0397225358, -0.0062439158, 0.0192769077, 0.032098107, -0.0023522649, 0.0056825895, -0.0002077944, 0.1115732938, 0.0026153659, -0.0086934008, 0.0002770977, -0.0221483447, -0.0173464771, 0.0107013052, -0.0502035841, 0.0052363146, -0.0135363732, 0.0023441769, -0.0114165358, -0.0175656006, 0.0604639202, -0.0114577943, -0.0449791327, 0.1178959161, -0.0098626465, -0.0253745001, 0.0590670183, 0.0053909076, 0.00671783, -0.0670655966, 0.0095817717, 0.0700017139, -0.0527547039, 0.0275104512, -0.0080661569, 0.0126982136, -0.0145030003, 0.0041360189, 0.0487899333, 0.0213451572, -0.0060946434, 0.0671317354, -0.0190450549, 0.045229353, -0.0493405163, 0.0622863062, -0.0344933644, -0.0019622573, -0.0438204147, -0.0135943936, -0.0573392324, 0.0330860764, -0.021695042, -0.0446790457, -0.0059722699, 0.0621695034, -0.0126517154, 0.0257560387, 0.0225580446, -0.0007278604, 0.0407069251, -0.0263970494, -0.0467551649, 0.0124677401, -0.0503148884, -0.0069980486, -0.0073633506, 0.0073036309, -0.0113239465, -0.0015848911, 0.0287505873, -0.0562146492, 0.0298371464, 0.082614623, 0.0337360688, -0.033565782, -0.0313082747, -0.0328851603, -0.000494244, -0.072988078, 0.0504691489, -0.0817657858, 0.0503341407, 0.039586965, -0.0131171783, 0.0006099783, 0.0116874315, 0.0029367041, -0.0572464019, 0.0781710669, 0.0157482661, 0.0383045338, -0.0035650693, -0.0047993232, -0.0317818299, 0.0223693904, 0.008504414, 0.0145736998, 0.0027952592, 0.0103717092, -0.0071532144, 0.0322803296, 0.0076307179, -0.0070355642, 0.0093300175, 0.0108549129, -0.0338807441, 0.0352366753, -0.0196416266, 0.0591412298, -0.0378936343, -0.0267145373, 0.0011440425, 0.0564632341, 0.003379544, -0.048118908, 0.0623303205, 0.0056968504, -0.005954125, 0.0316750631, -0.0833943263, 0.0208506323, -0.035631787, 0.0068559973, -0.0062168255, -0.0357569866, -0.0100370673, -0.0269969534, -0.0156834312, 0.0156797152, 0.0542274863, 0.0220669936, 0.0699799284, 0.0160008967, -0.037395902, -0.0011465126, 0.026118828, 0.0044100354, -0.029734889, -0.0195876863, -0.0001359283, 0.0827583522, 0.0651394054, 0.0007695976, -0.0415955223, 0.0271880832, 0.0165163185, 0.0000480483, 0.0245876927, -0.0225084946, -0.0266574956, -0.0405106209, -0.0299151223, -0.0354100242, -0.018190885, 0.0338162817, 0.0075534773, -0.0106905987, 0.0025102396, -0.064690195, -0.0054588732, 0.0106310882, 0.0266768988, -0.0073505794, -0.0109208878, 0.0167651772, 0.0016215614, 0.0205977112, -0.0011436914, 0.0325930826, 0.0205564275, -0.0031916478, -0.0116859088, -0.0217808709, -0.0590746328, -0.0812674686, 0.0240895543, 0.0000638412, -0.0592630804, -0.0045335814, -0.0458023213, -0.0404366925, 0.0376614295, -0.0231978334, 0.0080624372, 0.002054869, 0.0230079684, 0.0343415141, -0.043295797, -0.0154581731, 0.087779507, 0.026519781, 0.018198844, 0.0346760377, 0.0258365124, 0.0036161449, -0.0553345345, -0.0123152537, 0.0422618911, 0.0211827196, -0.0294930004, 0.0031738812, -0.0009055449, -0.0484430678, 0.0247291122, -0.0894433036, -0.0046233414, -0.0023984248, 0.0151340477, -0.0169414636, -0.0128429141, 0.0086455755, -0.0383516178, -0.0626020283, 0.0489438809, 0.0406335704, 0.047192391, 0.019404687, -0.0200817492, -0.0124049885, -0.0108969156, -0.0533804335, -0.0494392589, 0.0534082763, 0.0182978585, -0.0346226096, -0.0022514393, 0.051167421, -0.038100142, 0.0324633159, -0.017041469, 0.0331553072, 0.0342798978, -0.0385982208, 0.0566794686, 0.0684801191, -0.0527559295, 0.0164700933, 0.0545836017, -0.0470748805, -0.0355108641, 0.0257688425, -0.0259581488, -0.0219444837, -0.0455693789, -0.0106344996, -0.0164731145, 0.0434353948, -0.0035511479, 0.0102005079, -0.0474856421, -0.0202310383, -0.0048632845, 0.0364809036, -0.0279227421, -0.0314589776, 0.0223390646, 0.0492054038, -0.0299518351, 0.0060772495, 0.0997969136, -0.0239432119, -0.016777711, 0.0332329497, -0.0137435663, -0.0490632951, 0.1039873213, 0.0532907173, 0.0105153732, -0.0092065074, -0.0214211661, -0.0432808399, -0.0075929877, 0.0275315195, -0.0010841249, 0.0132761318, -0.0232023615, 0.0295511782, 0.0076985713, -0.0331638232, -0.0216929987, 0.0036613855, -0.0491387919, 0.018439522, -0.0100094983, -0.0128588108, 0.0211660825, 0.0017223207, -0.0005578679, 0.0166833084, -0.0112945158, 0.0042642318, -0.0478947945, 0.0225427859, 0.0226751529, -0.0204215534, 0.0208103061, -0.0445747636, 0.0489611886, 0.0360557772, 0.0146892909, -0.0332551748, -0.0245092548, 0.0455057733, 0.000104197, -0.0058804075, -0.0329784527, -0.0025689173, 0.0408743396, -0.0866541788, -0.0060452316, 0.0879167989, 0.035406094, -0.0256858896, -0.0070119295, -0.0184285119, 0.0109443869, 0.0390296727, 0.0363355353, -0.1061252207, -0.0288043451, 0.0150825093, 0.0003165232, 0.0014347841, -0.0610428862, -0.0026589537, -0.1264254153, 0.0351919346, 0.0139515623, 0.00906255, -0.0225525908, -0.0347292237, -0.0223820191, 0.0499414615, -0.0215458274, 0.0037732152, 0.001526855, -0.0100676725, 0.0001481772, -0.0056615588, 0.0033981225, 0.0678784475, 0.0125121456, 0.0188042074, 0.0068396558, -0.0004913015, 0.0352363698, -0.0192116965, 0.0621971153, 0.0117233898, 0.0195553917, -0.0299526826, 0.008480343, 0.0073307478, -0.011946856, -0.0376886465, -0.0113095324, -0.0243305247, -0.0406738669, -0.0017639836, 0.1235010475, -0.0401308984, -0.0450185947, -0.0033695607, -0.0076149059, -0.0404312611, 0.0404969789, 0.0409717932, 0.0309271459, -0.0823668763, -0.0592803136, -0.0160901416, -0.031872049, -0.0267519094, 0.0465772673, -0.0144828623, 0.0443338193, -0.0424515083, -0.0393241048, 0.0699325874, 0.0366613381, -0.0273190904, -0.0217288174, 0.0349544436, -0.0251272582, -0.0483594127, 0.0247475374, -0.0564347692, 0.0370451249, -0.0372163579, -0.0055240542, -0.012378606, -0.0068713389, -0.0127389617, -0.0071617668, -0.0457640663, -0.0774207264, -0.0505462214, 0.017799614, 0.02219183, 0.0544380844, -0.0205548387, -0.0152948126, 0.0333871506, -0.0078103696, -0.0238572247, -0.0004989593, 0.027438337, 0.0119533995, -0.0203289501, 0.0308786388, -0.0561170653, 0.0310468357, 0.016214624, 0.0474142618, -0.0185104776, -0.0373168401, 0.0217757989, 0.0636679679, 0.0301063266, 0.067084685, 0.0090952246, -0.0183680113, 0.0071177324, -0.041369956, -0.0543639436, -0.0227439515, -0.0170804337, 0.0164471753, -0.006316564, 0.0214154832, -0.0542311706, 0.0001057304, 0.0493446514, -0.0208956469, -0.0188475437, 0.0189584959, -0.0191897862, 0.0567603968, 0.0015085142, -0.015912842, 0.0283525977, 0.0145061733, 0.0292153358, -0.0033739947, 0.0682590008, 0.0405132584, -0.0185129605, -0.0719611049, -0.0154209659, -0.0785738379, -0.0703749284, 0.049888026, 0.025741335, 0.0376687907, 0.0162912719, -0.0044912775, -0.033091221, -0.0077028968, -0.0059996513, 0.0116145974, 0.0417262018, -0.0643203408, 0.0697150007, 0.0605520755, 0.0215952247, -0.0018548791, 0.0339235254, 0.0431423262, 0.0314821415, 0.0285552572, -0.0282880608, -0.025563214, -0.0474115871, -0.0300889183, 0.0394173041, -0.0017548072, 0.0291977972, -0.0487628169, -0.0919459313, -0.0029033632, 0.0102991974, -0.0158519223, -0.0198315587, 0.040907681, 0.0297235046, 0.0583561547, -0.0465060808, -0.0148538845, 0.0369870849, -0.0155441081, -0.0183925666, -0.0007443642, -6.528633176e-33, -0.0312387627, -0.070166938, 0.0609975308, 0.0134958616, -0.0304719154, 0.0022395018, -0.0781379491, 0.0074362066, -0.0251820385, 0.0224171821, -0.017647855, 0.0060677943, -0.0022176064, 0.014825589, -0.0126629164, -0.0171919595, 0.0145152211, 0.0238710847, -0.0110389823, 0.0201906879, 0.0316210687, -0.0060699726, 0.0165192503, -0.0296767112, 0.0236296244, -0.0231787656, 0.0201403908, 0.0417729206, -0.040588405, 0.0335595831, -0.0178758223, 0.0284014456, 0.0382373668, 0.0081758434, -0.0061794817, 0.0455750935, -0.0795350373, -0.0496031605, 0.0247119516, 0.0123294862, -0.0803910196, -0.0217951164, 0.0250719488, -0.0147452382, 0.0168307777, -0.0228008889, 0.0104044629, 0.0116930949, -0.0320023559, 0.0213225782, -0.0329126865, 0.0196752585, -0.0239907894, -0.020982258, 0.0371802934, 0.0439873748, -0.0017047583, 0.0060179713, -0.0169723239, 0.0260706861, -0.0135050369, -0.0166934002, 0.0291486923, 0.0200119708, 0.0336589627, 0.0241625346, 0.007288273, 0.0010437219, -0.0454669856, 0.0323421471, -0.0142737133, 0.0713677108, -0.004852281, -0.0049227108, -0.0165470019, 0.0328442417, -0.0885346457, -0.0278147291, -0.0004637567, 0.0375055298, -0.0045374078, 0.016653413, -0.0335195363, -0.0667518377, -0.0434604622, -0.0171206258, -0.0405833311, -0.0317448974, 0.0226063728, -0.0227582306, 0.0067891954, -0.0003182884, 0.0119289868, -0.0187467728, -0.0281311199, 0.0560236424, -0.0148695298, 0.0447106548, -0.0078144986, 0.0655665174, -0.0292435344, -0.0396319181, 0.0181928892, -0.0348897837, 0.0164891463, 0.0357745774, 0.0275376756, 0.0143223694, -0.0475922041, -0.0209074169, -0.0646564215, -0.0074856034, -0.0333543867, -0.0015807425, 0.0778953806, 0.0525655746, -0.0022162348, 0.0764672533, 0.0005520391, -0.0144954957, -0.0218877774, 0.0375506654, -0.0199857913, 0.0294888299, -0.0299436636, -0.0096299462, -0.0373285376, 0.0224458929, 0.0391973332, -0.062623173, -0.0039119339, 0.0313785188, 3e-7, 0.02811688, 0.0523444265, 0.0358013064, 0.0660878345, 0.0082826428, 0.0234673973, -0.027970532, -0.0031637717, 0.0047014062, -0.0482137017, 0.0371329747, 0.0812377334, -0.0173709076, 0.026178211, -0.0553212911, 0.0495870635, -0.040764872, -0.0399610735, -0.0685012564, 0.0225356184, 0.0724793747, 0.0300088413, 0.0100040864, 0.0045677549, -0.0069887731, -0.0731308684, 0.0455457121, 0.0046419357, -0.0023481341, -0.0357619449, -0.0296355486, -0.0164138377, -0.0107998764, 0.0551048853, 0.0301777273, 0.0140297627, 0.0062235477, 0.0495787747, -0.0017634928, -0.0156878475, -0.0005218839, -0.0507653952, 0.0018104221, -0.0236529093, 0.1062869728, -0.0440664217, -0.0600491799, 0.0074495934, -0.0082977302, -0.0461005345, -0.001115569, 0.0093586855, -0.0098045487, 0.0019347089, 0.0192569476, -0.0143030025, 0.0260402076, -0.0787308961, 0.0107607339, 0.0077234861, -0.0039477581, -0.0315451063, -0.0346239395, 0.0333741643, 0.0374368727, -0.0053306371, -0.0147047061, 2.899615333e-34, 0.0449366868, -0.0037090543, 0.0138852485, -0.0235430617, 0.0327511244, -0.0167359766, -0.053235665, 0.0257560164, 0.0481214784, -0.1249096468, -0.0299935024 ]
http://arxiv.org/abs/2402.01267v1
http://arxiv.org/pdf/2402.01267v1
The Human and the Mechanical: logos, truthfulness, and ChatGPT
2024-02-02T09:41:51
2024-02-02T09:41:51
Anastasia Giannakidou, Alda Mari
cs.CL
cs.CL, cs.AI
The paper addresses the question of whether it is appropriate to talk about `mechanical minds' at all, and whether ChatGPT models can indeed be thought of as realizations of that. Our paper adds a semantic argument to the current debate. The act of human assertion requires the formation of a veridicality judgment. Modification of assertions with modals (John must be at home) and the use of subjective elements (John is obviously at home) indicate that the speaker is manipulating her judgments and, in a cooperative context, intends her epistemic state to be transparent to the addressee. Veridicality judgments are formed on the basis of two components: (i) evidence that relates to reality (exogenous evidence) and (ii) endogenous evidence, such as preferences and private beliefs. `Mechanical minds' lack these two components: (i) they do not relate to reality and (ii) do not have endogenous evidence. Therefore they lack the ability to form a belief about the world and a veridicality judgments altogether. They can only mimic that judgment, but the output is not ground in the very foundations for it.
The Human and the Mechanical: logos, truthfulness, and ChatGPT: The paper addresses the question of whether it is appropriate to talk about `mechanical minds' at all, and whether ChatGPT models can indeed be thought of as realizations of that. Our paper adds a semantic argument to the current debate. The act of human assertion requires the formation of a veridicality judgment. Modification of assertions with modals (John must be at home) and the use of subjective elements (John is obviously at home) indicate that the speaker is manipulating her judgments and, in a cooperative context, intends her epistemic state to be transparent to the addressee. Veridicality judgments are formed on the basis of two components: (i) evidence that relates to reality (exogenous evidence) and (ii) endogenous evidence, such as preferences and private beliefs. `Mechanical minds' lack these two components: (i) they do not relate to reality and (ii) do not have endogenous evidence. Therefore they lack the ability to form a belief about the world and a veridicality judgments altogether. They can only mimic that judgment, but the output is not ground in the very foundations for it.
[ 0.0366125479, 0.01649867, -0.048852507, -0.0149072828, -0.0570036434, -0.0043312716, -0.0610109605, 0.0013963956, 0.0012357878, -0.0439315885, -0.0195622109, 0.0115365488, -0.0225312915, -0.0476354659, 0.0803829283, -0.0327940136, 0.0043321014, 0.015345009, -0.0038817876, 0.0076222257, 0.0021352556, 0.0111138579, 0.0034738411, 0.0109079182, -0.0020601943, 0.0203685146, -0.0176781602, -0.0258431658, 0.028262198, -0.0075822813, -0.042869661, 0.0179498363, -0.0061311526, 0.0366076678, 0.0000023084, -0.0006570898, 0.0609555058, -0.017397197, -0.0189753659, -0.0019715892, 0.0071563595, 0.040598955, 0.0249541309, -0.0132906474, -0.0382543728, -0.0038778984, 0.0003034759, 0.0334881842, -0.0361532941, 0.0274070576, -0.0000784511, 0.0369336382, -0.0230405759, -0.0073316009, 0.0279808845, 0.0415560491, 0.0259427428, 0.0211924035, -0.010371618, 0.0045511769, -0.0218619909, 0.004164129, 0.016641615, 0.0076310756, -0.0268723406, -0.014400389, -0.0241671652, -0.0377300978, 0.0165673643, 0.0290157851, 0.1383457035, -0.0358844399, 0.0248841904, 0.0531407557, 0.0502654053, 0.0357592851, 0.0150412442, 0.0768085346, -0.0221401006, -0.012558993, -0.0051457728, 0.0078579253, -0.0198647846, 0.0050499686, 0.0026058611, 0.0231434256, -0.0344577767, 0.0098213498, 0.00135551, 0.000932353, -0.0000963715, -0.0712791681, -0.0788757056, 0.0053682718, -0.0038578773, -0.0060727936, -0.0310421344, 0.0590546876, -0.0108690979, -0.0813928992, -0.048456043, 0.0053099319, 0.0016696244, 0.0125074647, 0.0187724773, -0.0112799881, -0.0510353334, 0.1087487414, -0.0576886348, 0.0543258116, -0.0609563105, -0.0267136283, -0.0128059806, 0.0051856469, 0.0412088074, 0.0128298923, -0.014522478, -0.0038182901, -0.0421968438, -0.0201148055, -0.1026041731, 0.0065702628, -0.0199751537, -0.0343581177, -0.0413452834, 0.0166706517, -0.0290679354, 0.0200475249, -0.0295208674, -0.0683938265, 0.0199385267, -0.0110103637, -0.0150568178, 0.0325202644, -0.0047166157, 0.071494408, 0.0060617374, -0.0009366276, 0.0391191654, -0.0199819114, -0.0112945177, -0.0715329349, -0.0120794512, 0.0176491141, -0.0040606917, -0.0005780798, 0.0122234281, 0.0065124063, 0.006302359, -0.0032290919, -0.0000105933, 0.0334077477, 0.0413911231, -0.0115364082, -0.044684235, 0.0185840428, -0.032999672, 0.002035229, -0.0102755837, 0.0373722576, -0.0118627204, 0.0172032658, 0.0340332054, -0.0147682466, -0.0266536456, -0.0298745465, -0.0064317635, 0.0134772863, 0.0262514558, 0.0095972205, -0.0178576689, 0.0449284725, -0.038505882, 0.0463837087, 0.0290464163, 0.0135061583, -0.0021121546, -0.0021888774, 0.009330323, 0.0082396958, 0.0207644422, 0.0707372501, -0.0373551287, 0.0110003492, 0.0071085133, -0.0143871978, -0.0630729869, 0.0064903195, -0.0260062888, -0.0190346986, 0.01022965, 0.0097524151, 0.0208315533, 0.0167162754, 0.011557485, -0.0284998957, 0.0426113792, -0.0412447527, 0.0256225783, 0.0073109795, -0.0309175793, -0.0805217251, 0.0573019087, -0.0135522718, 0.0013477624, 0.057743419, 0.0141635947, -0.0219761692, -0.0264810938, 0.0529385693, 0.050123211, 0.0227203723, -0.0599648617, 0.0056108986, 0.0126939965, -0.0389514491, -0.0158768017, 0.0499265976, -0.1154161617, 0.0322526246, 0.0051232083, 0.0066462425, 0.0846835002, -0.003157085, 0.067001, -0.0016513665, -0.084850654, 0.00464564, 0.0161166936, -0.0321316421, 0.0049950234, 0.0196450911, 0.0167132206, -0.0207873024, -0.0301218089, 0.1077812165, -0.0453547351, 0.0948748738, -0.0116718644, -0.1279382557, 0.0187072847, -0.0279838219, 0.049895715, 0.0128573971, -0.0094068451, -0.0214593988, 0.037818525, -0.0355195925, -0.0054279999, -0.0258332007, -0.0182064064, 0.0002450735, 0.0013770212, 0.0151798669, -0.0033028862, -0.0494360514, -0.0283724666, 0.0819800347, 0.0364537574, -0.0178105198, 0.0502439551, -0.0119991284, 0.0264581945, 0.0119928522, -0.0040346258, -0.0436865427, -0.0217357576, -0.0857849568, -0.0536139868, 0.0201424249, -0.0343931317, -0.0113765085, -0.040734686, -0.0171466712, 0.0377653614, 0.0104655372, 0.0688746199, 0.0332744606, 0.0384226479, 0.0090375599, -0.0158363059, 0.0062124757, 0.0414827876, 0.0351135358, -0.0369905271, -0.020773245, 0.0153083308, -0.0334214643, -0.0305020511, -0.0275698062, -0.0669113398, -0.02466131, -0.0177807957, -0.0403671861, 0.0198284797, 0.029773172, 0.0228591263, 0.0086741848, 0.0157333557, 0.0366691239, 0.0033220588, 0.0115113799, -0.006222086, -0.0321580693, 0.013784104, 0.0028584658, 0.0001131694, -0.0429105945, 0.0010931321, 0.0338453613, 0.0406740755, 0.0400178842, -0.0543590225, 0.1171950474, -0.0247386675, -0.0316760689, 0.0053219916, -0.0244694259, -0.0108830957, 0.0445555337, 0.0079867244, -0.0258414317, 0.0255468041, 0.0146109434, 0.0000862287, 0.0496496521, 0.0200057495, 0.0091658439, 0.0612765439, 0.0444188118, 0.0258306023, 0.1202600449, -0.0094286082, -0.0503114313, -0.0170000661, 0.0296420753, -0.0094557619, -0.0303547308, -0.017884206, 0.0392448157, 0.0127718523, -0.0482774377, -0.0107604135, 0.0098726479, -0.0391275585, 0.0002712721, 0.0404823832, 0.0005847823, -0.0125413984, -0.011618671, 0.0428072847, -0.0118103605, 0.0236015432, -0.0064387484, -0.0334538408, -0.0644145012, -0.0103822388, 0.0758830532, 0.0181250125, 0.029950479, -0.0392468832, 0.0969434753, 0.0120323803, -0.0007040191, 0.0140976505, -0.0157175474, -0.0159398597, 0.0474957079, -0.0026190695, -0.0046237851, 0.0140792802, 0.0084479218, 0.0022930384, 0.0066471309, -0.0224128515, 0.0262394156, 0.0068272371, -0.0299387183, -0.0309542269, -0.0015554782, 0.0034180933, -0.1168459505, 0.0448560454, -0.0126579339, -0.0340689495, -0.0773279145, -0.0285252426, -0.0095508033, 0.0061775367, 0.0469785891, 0.0296880566, 0.0176334847, 0.0070702741, 0.0505837612, -0.0180357937, -0.0139160026, -0.023341937, 0.0085637728, 0.0132533759, 0.0295731239, 0.0121591575, 0.0156371519, 0.0309244189, -0.0015929103, 0.0129154027, 0.0146885496, -0.0125740776, 0.0310308523, -0.0296400562, -0.0821447521, 0.0021343071, 0.0162580721, 0.0123682935, 0.0153401252, -0.0826081857, -0.0286119655, -0.0026982368, -0.0747207031, -0.0063137626, 0.0406168662, 0.0090782577, 0.0461896434, 0.0632168502, -0.0258273799, -0.0616730824, 0.0150683569, -0.0113904858, -0.0435520709, 0.0199619625, 0.0044023865, 0.0036057746, 0.0186204258, -0.0288286805, -0.0348668136, 0.1057378948, -0.0956507996, -0.0380628034, 0.019849157, -0.0089325467, -0.0382932425, -0.05996757, -0.0182961971, 0.0646702275, 0.0103262868, -0.0615186021, 0.0517434143, 0.001505613, -0.0185668264, 0.0241880286, -0.0538673215, -0.0391480923, 0.023867948, 0.0107082864, -0.0060264398, -0.0645688251, -0.014316787, -0.0544502549, 0.0528673083, -0.0268626753, 0.0286210142, 0.0301700737, 0.042746339, 0.0072480952, 0.0017750296, 0.0651133433, -0.021046875, 0.0091743926, -0.0495588519, 0.080020383, 0.0011621417, 0.0482578538, -0.0285233743, -0.0096380292, 0.0477253795, 0.0117363548, -0.0138554834, -0.0472546034, 0.0059985924, -0.0282964259, 0.0758240223, 0.0126203885, -0.011970764, 0.0222683679, 0.027582122, -0.007182424, -0.0489377044, 0.0310222674, -0.0235283896, -0.0276135206, -0.0027349046, 0.0358014628, 0.0059784004, 0.0039320751, -0.036530029, -0.0495995544, 0.0123517141, 0.0480276346, 0.0004826717, 0.0041388944, 0.0250431616, 0.0056642657, 0.0100153815, 0.0138641736, 0.0567099303, -0.0132280793, 0.0597295724, -0.0243983809, 0.0835436732, 0.0351978615, -0.0383832529, -0.007332643, 0.009790306, -0.0489924587, -0.1025174856, 0.0099189822, 0.0174928885, -0.0337080359, -0.0200443771, -0.0379695483, -0.0337736234, 0.0023611092, 0.0039932816, 0.0323206149, 0.0267754197, 0.0050591957, -0.0192793552, -0.0006941613, -0.0218932498, -0.0170847159, -0.0033761398, -0.088853173, 0.015205835, -0.0149704581, -0.000184453, -0.0512439683, -0.0403680131, -0.0327671356, -0.0399428681, 0.0498615429, 0.0359046347, -0.0695101246, -0.0092372457, -0.023591537, 0.035423778, 0.0320871547, -0.0334005691, -0.0265894998, 0.0726262257, 0.015557901, -0.0231401231, -0.01699383, 0.0840584561, 0.0094016232, 0.0717491657, -0.0205760989, -6.284157535e-33, -0.0282289926, -0.0017419206, 0.015554795, -0.0268808585, -0.0743308291, -0.017560238, 0.0150952265, 0.0161940623, -0.034875989, 0.036205329, -0.0073256865, -0.0238086656, 0.011041658, -0.0493519641, 0.0497450568, -0.0453480706, 0.0112917153, -0.0136962365, 0.0041060452, -0.0372826532, -0.0104510486, -0.0400697105, 0.0448386893, -0.0352311693, 0.0724744797, -0.020911295, -0.0398060791, -0.02088557, -0.0316643864, -0.0387869403, -0.0126717752, 0.009209401, 0.0200156774, -0.0122905392, 0.0068592508, 0.0822858438, 0.0272615422, -0.0155866873, 0.0582251959, -0.0119804833, -0.0087356651, -0.0257513095, -0.0633848906, -0.0313237384, -0.0425865538, 0.006898344, 0.0306501463, 0.0218239576, 0.0167245269, 0.0030133645, -0.0492936745, -0.036578849, -0.0141555648, -0.0320696719, -0.0249135923, 0.0144486455, -0.0300007258, -0.0413017012, -0.0664042383, 0.0231749173, -0.0512997881, -0.0141246608, 0.0044226856, -0.0240687132, 0.0386089236, 0.0349991433, 0.0587226786, 0.0603419952, -0.051329013, 0.0278729238, 0.006554598, 0.0581210516, 0.0281991567, 0.034086369, -0.0314561613, -0.0029695367, 0.0143553838, -0.0564609654, 0.0446831845, 0.0286863707, 0.0318012163, 0.0093678674, -0.0356784984, -0.0078465687, -0.0007758682, -0.103055656, -0.0309257098, 0.0124302413, -0.0405172706, 0.0031113906, 0.0195860527, -0.0486585014, 0.0044556218, -0.0178558882, 0.0321737453, -0.039283447, 0.0032432987, 0.0037687758, -0.0153002208, -0.0234514102, 0.0097283218, 0.0148120401, -0.0096720727, 0.0556844212, 0.0200868044, 0.0251250621, -0.0382857211, -0.0122297136, 0.0175599568, -0.0389106721, -0.0110848872, -0.0044884859, -0.0030672366, -0.0902882367, 0.0713340491, 0.0328208841, -0.0080903489, -0.0318630487, -0.0026669172, 0.0130014522, -0.0298349056, 0.0223287717, -0.0176833719, 0.0278183669, 0.0087646395, 0.0291045643, -0.0271192696, 0.0182163306, 0.0545813516, -0.0451267026, -0.0065907491, -0.0386191756, 3.152e-7, -0.0578103065, -0.0150768673, -0.0018092695, -0.0343799591, -0.0045313011, 0.0750046819, 0.0144253969, 0.0015653386, 0.056753926, -0.0758504048, 0.0152907027, -0.0172482878, 0.0236925948, -0.0135073261, 0.0023295064, 0.0374442264, -0.0094336169, -0.0471147038, 0.0338784382, 0.0799761489, 0.0507404879, -0.0223659296, 0.0303036179, 0.0095920479, -0.0138726383, 0.0257808436, 0.0198422503, -0.0168638993, -0.0049100905, -0.0045169452, 0.0659162253, 0.0022074075, -0.0030531129, 0.0216303077, 0.0552731231, -0.0296303518, 0.0021254867, 0.0149739068, 0.0063554654, 0.0196227916, -0.020121865, -0.0467803255, -0.0086666998, 0.0128641613, 0.0454063155, -0.1218980625, -0.0135886595, -0.0210935324, -0.0042347512, 0.0140905827, 0.0216659568, 0.0185015667, -0.0198839698, 0.0265254062, 0.0326758847, -0.0045888624, 0.0207711514, -0.0394154079, 0.0198507365, 0.0055322703, -0.0379913859, -0.0245327856, 0.0217357147, 0.0186234992, 0.0391456485, -0.0555626415, -0.0329848491, 2.260821397e-34, 0.0049928874, 0.020949455, 0.0377282836, -0.021991495, 0.0521514826, 0.0380648524, 0.0415457711, 0.0158636887, 0.0244159084, -0.0301700514, -0.018229099 ]
http://arxiv.org/abs/2402.03370v1
http://arxiv.org/pdf/2402.03370v1
Detection of tortured phrases in scientific literature
2024-02-02T08:15:43
2024-02-02T08:15:43
Eléna Martel, Martin Lentschat, Cyril Labbé
cs.IR
cs.IR, cs.AI, cs.CL, cs.DL
This paper presents various automatic detection methods to extract so called tortured phrases from scientific papers. These tortured phrases, e.g. flag to clamor instead of signal to noise, are the results of paraphrasing tools used to escape plagiarism detection. We built a dataset and evaluated several strategies to flag previously undocumented tortured phrases. The proposed and tested methods are based on language models and either on embeddings similarities or on predictions of masked token. We found that an approach using token prediction and that propagates the scores to the chunk level gives the best results. With a recall value of .87 and a precision value of .61, it could retrieve new tortured phrases to be submitted to domain experts for validation.
Detection of tortured phrases in scientific literature: This paper presents various automatic detection methods to extract so called tortured phrases from scientific papers. These tortured phrases, e.g. flag to clamor instead of signal to noise, are the results of paraphrasing tools used to escape plagiarism detection. We built a dataset and evaluated several strategies to flag previously undocumented tortured phrases. The proposed and tested methods are based on language models and either on embeddings similarities or on predictions of masked token. We found that an approach using token prediction and that propagates the scores to the chunk level gives the best results. With a recall value of .87 and a precision value of .61, it could retrieve new tortured phrases to be submitted to domain experts for validation.
[ 0.0885094479, 0.0329068378, -0.016090326, 0.0398413017, -0.088777937, -0.0066342126, 0.0007789428, 0.0278030504, -0.004113696, -0.0665043592, -0.0089663249, 0.0579926409, -0.0082713533, 0.0324087627, 0.0173690673, -0.0327422395, 0.0476996973, 0.0122709004, 0.0433599837, 0.0135516999, 0.0051153549, 0.0008927508, 0.0374795049, 0.038647376, 0.0286707859, -0.024790246, 0.0476791598, 0.0074673337, 0.0265337285, -0.0395212285, 0.0194576606, 0.009707612, -0.0179323982, 0.0799049512, 0.0000015757, -0.0571742281, -0.047751274, 0.0281034764, 0.0213711802, 0.0498148464, 0.0954557806, -0.0208187681, 0.0204163138, -0.0054204217, -0.0174684338, -0.0002936067, 0.0099401763, 0.0615482479, 0.0652549714, 0.0521154702, -0.0242627095, 0.011978942, 0.0294069313, 0.0369623862, -0.0195326172, 0.0191745684, 0.0777979195, -0.0340963863, 0.042409651, 0.0615892, 0.0241000913, 0.0562365055, -0.0325807855, -0.0223718751, -0.0421787985, -0.0180285312, -0.0742744282, 0.0146531565, 0.0237500258, 0.0217530634, -0.0663923547, -0.0689819232, 0.0510770716, -0.0061588464, 0.0111678177, 0.0318639576, -0.0362017415, -0.0081036445, -0.0036513745, -0.0008936694, 0.021934256, 0.0084202746, 0.0035003636, 0.0118090687, 0.0181148369, 0.0237827729, 0.031150369, -0.0754981115, -0.0230554398, -0.0623930879, -0.0234870799, -0.0148403235, 0.0498539247, 0.0090084998, 0.0550120659, 0.0162241366, -0.063693203, -0.1066947207, 0.0589148663, -0.029215632, -0.0028631405, -0.002722983, -0.0100073917, 0.0356029123, -0.0614575259, 0.001157231, -0.0321772769, 0.0468068868, -0.011068996, 0.0131157609, -0.0271506663, -0.0515772961, -0.030856695, 0.0348793194, 0.0117557496, -0.0182106532, -0.0192936584, -0.0220888313, 0.0082967719, 0.0322863497, -0.0696374923, 0.0163786504, -0.0134626627, 0.0170004852, 0.0255295765, -0.0298800915, 0.0170968212, 0.0143173095, -0.0188284088, -0.0262048896, -0.0420694128, 0.0424135886, 0.0131812049, -0.0189718176, 0.0299166758, 0.0026326198, 0.0366942659, -0.0043474138, 0.0158454068, -0.0545910932, -0.0083273984, 0.0077421069, 0.0184068531, -0.0230875406, 0.0207941923, -0.0217560101, -0.0107166423, -0.0505732819, -0.0051961122, 0.0456030369, -0.0962279961, 0.036877282, -0.0263313781, -0.0555372387, 0.0144524751, 0.0126086352, -0.0481114611, -0.0196731705, 0.0426730737, 0.0413123481, 0.0629676878, -0.0091893012, 0.0215243567, -0.0046422156, 0.0225197319, -0.0039091916, 0.0264285319, 0.0085173361, 0.0103853457, 0.0228354838, -0.0134969996, 0.0627620667, -0.0145649128, -0.0475561135, 0.0109911365, 0.0884536877, -0.0334382914, 0.0313020907, 0.0228081048, 0.0255508665, 0.0451832078, 0.0376752391, -0.0216600168, -0.0416543409, -0.0193722248, 0.0199819971, 0.0043977415, 0.0294965543, 0.049275022, -0.0229600463, -0.0282596014, 0.0182679519, -0.0324185789, -0.0379156359, 0.0180955678, 0.0172847472, -0.0383328237, 0.000232258, 0.0227595232, -0.0145629123, 0.0064178086, -0.0234387852, 0.001013012, 0.0107981497, 0.0955663025, -0.0717012063, 0.0228509698, -0.0393196791, -0.021957526, 0.0178217459, -0.0364604965, 0.0036135565, -0.024872303, -0.0271592382, -0.0250660218, -0.021475194, 0.0010278529, -0.009850271, -0.0184500422, -0.0026068029, 0.0173189435, -0.0133981314, -0.0663517639, 0.070474498, -0.0008973784, -0.0238044765, -0.0030104814, -0.0257842634, 0.0561090149, -0.002575425, -0.0151243554, 0.0754070878, 0.042249836, -0.0734965801, -0.0342931822, 0.0196644049, 0.0030535827, 0.0060690157, 0.034018483, -0.0649074018, 0.0183778107, 0.0140549503, -0.0130585209, 0.0029022538, 0.0363823362, -0.0297832396, 0.0096576698, -0.0211058464, 0.0142695429, -0.0446746573, 0.0447531827, -0.0324237272, 0.0198911261, 0.0146989338, 0.0698346719, 0.0206684768, -0.0489988141, 0.0317334905, 0.0151874106, -0.0483237654, -0.0206759311, 0.0032517742, -0.0295858346, 0.0143267801, -0.0264697168, -0.0256513208, -0.0497161634, -0.025709305, 0.0111768357, 0.0156621486, 0.0163988639, 0.0321522616, -0.0437526964, -0.025562264, -0.0010010439, 0.0246523917, -0.0557049513, 0.0049707987, -0.0005286434, 0.0296910908, 0.014395575, -0.0198149811, -0.0356399156, 0.0152134169, -0.0623900294, 0.0613211095, 0.0134063587, -0.0315448754, -0.0612563044, 0.0322054774, 0.0240484457, -0.0157914069, -0.0131062409, -0.013110213, -0.008196285, -0.0030988962, 0.0313993059, 0.0856905133, 0.0140671181, 0.0034230861, 0.0501767769, 0.0218263362, -0.043135196, -0.0351330899, -0.0418109633, 0.0181759279, 0.0038743902, -0.0172461011, 0.1108534485, -0.0001505066, 0.0111830579, -0.0180764627, -0.0028600188, 0.0388478264, -0.0182163678, -0.0181906745, 0.0471578687, -0.0422956124, -0.0320264995, 0.0076204455, 0.0175105892, -0.0181307159, 0.0633077621, -0.0369660705, -0.000820166, -0.0755031407, -0.00293484, -0.0101327021, 0.0061252643, -0.0181971844, 0.0311823245, 0.0852360874, -0.0174567625, 0.0078221764, -0.0038816761, 0.0068746563, -0.0291291773, -0.0386175327, -0.0174777471, -0.002086468, 0.0286383983, 0.021142615, -0.02492694, -0.0615150481, 0.0206621792, 0.0348104201, 0.0297638532, -0.0079433555, -0.0539005771, -0.0109947221, 0.0260811057, 0.0205585361, -0.0294384211, 0.0001813241, -0.0395844541, 0.00635962, 0.0714099109, -0.0590753034, 0.0446753837, 0.0032102098, -0.0040686326, 0.0701621547, -0.0011524763, 0.0331571922, -0.0040085129, -0.0180175714, 0.0036788841, -0.0532406978, 0.0202586204, -0.0199384149, -0.0327129513, -0.0485103056, -0.0051998277, 0.0854178816, 0.0245544817, -0.0162406377, -0.0059068925, -0.0599966608, 0.0211455282, -0.0017318288, 0.0078403996, -0.0530733801, 0.0262913834, 0.0089377472, 0.0038206188, -0.0392570831, -0.0459665172, -0.0134293493, -0.0391453281, 0.0249737352, 0.0085866647, -0.0082162749, -0.0389547013, -0.0595928766, -0.0026098297, 0.0416266769, -0.0207193214, -0.0231532939, -0.0069401511, -0.0030205159, -0.0157826822, -0.0461169109, -0.0603947639, -0.0114511689, -0.0359609872, 0.0138405906, 0.0284717195, 0.0489190631, -0.0114079453, -0.0229512826, -0.0066500735, -0.0247934069, -0.0653362125, -0.0080436682, 0.0420790762, 0.0042004483, 0.01648633, 0.022695547, 0.066426903, -0.0412278064, -0.0186725259, 0.0403780267, 0.0764181465, -0.0100392336, -0.0222270433, -0.0602950603, 0.0128736869, -0.0075924192, 0.0779680163, 0.037272796, 0.0005860893, -0.0640794784, -0.0232855082, 0.0023468186, -0.034785267, -0.0341618285, 0.0012864834, -0.0590346493, 0.0323557779, -0.1152188778, 0.0064694849, 0.0229291599, 0.0351175219, 0.0499623977, 0.0440471359, 0.0124268839, -0.016619429, -0.052071061, 0.0033281487, 0.0066248993, 0.012965559, -0.030261308, 0.0324772522, 0.0377709754, 0.055063311, -0.0306073483, -0.0070120222, -0.0399049185, -0.074980557, 0.008102905, 0.0188370086, 0.0145956716, -0.0017370842, -0.0054781353, -0.0098995306, 0.0242176484, 0.0226526521, -0.0194879733, -0.0148013337, 0.0255497359, -0.0403717197, -0.0102641592, 0.0063952645, -0.0105633093, 0.0027404532, 0.0324222371, -0.0002865735, -0.0688559711, -0.0033718881, 0.0561369173, 0.0330608636, 0.0257268492, -0.0311257783, -0.0238338206, 0.0086968495, -0.0011969549, -0.0257539321, -0.017972555, -0.0289440434, 0.0379858427, 0.0218743719, 0.0162504632, 0.0022067823, 0.0325346999, -0.0560338683, 0.0264306217, 0.0331487209, 0.0194343142, -0.0173647776, 0.0422584489, 0.0297256149, 0.0128515745, -0.0025891494, -0.0139665585, -0.036736723, 0.0290683359, -0.0131041547, 0.003500808, 0.0447368883, -0.0056635388, -0.0112522384, 0.066737771, -0.1076143384, -0.0023044131, -0.020343272, -0.0319577977, -0.0120062949, -0.01918111, 0.0435816944, -0.0283729993, -0.0367044881, -0.0020384395, 0.0241298396, -0.0452672951, 0.0446651317, 0.0142888566, 0.0069492417, -0.0404688157, 0.0255196951, 0.0431665666, 0.0206428897, 0.0402158387, 0.0308954958, -0.0368297398, -0.0122516472, -0.0283170976, 0.0374782123, 0.035573937, 0.00353073, -0.0200179983, -0.0253317039, -0.00214541, 0.0455455109, 0.0069388887, 0.0105122207, -0.0157118756, -0.0062837717, 0.0365107469, -0.0099446652, -0.0071535492, -0.0571798384, 0.0802077055, 0.06752038, -0.0984280109, -0.033827506, -5.336455622e-33, 0.0345174335, -0.0374124311, -0.0341206267, 0.0498120449, 0.0006825819, 0.010532205, -0.0284163021, -0.0593446009, 0.0073220246, 0.0344923474, -0.0218245592, -0.0374342687, -0.0105305221, -0.0242891926, -0.0129457172, 0.0199953075, 0.0340999328, 0.0036845638, -0.0194454417, -0.0193518046, 0.0629214644, 0.0531483665, 0.029783437, -0.09327095, 0.0550862923, -0.0163487792, -0.0293483716, -0.0247862041, 0.0155262388, 0.0352967568, -0.0212307777, -0.0124320136, 0.0085979253, 0.0000354543, -0.0282550752, 0.0097831367, -0.0558337234, 0.0260744561, 0.0429099426, -0.0193302091, 0.0020772468, -0.0425352119, 0.0506018586, -0.029213503, -0.0085150823, -0.00201843, 0.055213958, -0.0362921134, -0.0324533023, -0.0706161782, -0.059732493, -0.0025067262, -0.006881637, 0.0282228906, 0.0398778953, 0.0271152593, 0.0007028498, 0.123210758, -0.050080765, 0.0122597674, -0.0314225629, 0.0481615961, -0.0211035609, -0.0575132854, 0.0456178449, 0.0448484719, -0.0146220177, -0.0245472547, 0.0520725213, 0.0426212326, 0.0295730419, 0.0395766199, 0.0645303801, 0.0207931921, 0.0796747357, 0.0063954229, -0.005277277, 0.0164149869, -0.0009430905, 0.0328390002, 0.0017508627, -0.0008558145, -0.0143120224, 0.0034931924, 0.0085540563, -0.0168111566, -0.0087408656, -0.038203299, 0.028823752, -0.0160250515, -0.0572598167, 0.0163775142, -0.0088647138, -0.0401009768, -0.0116134929, -0.0413102172, 0.0140353404, 0.0379068516, 0.0045177182, 0.0274477061, -0.0251641814, -0.0231754202, 0.0238413084, -0.0279472452, 0.0598238595, -0.0429223254, 0.0490524657, -0.0126010105, -0.077330403, 0.0137847997, 0.0319645815, -0.0167653672, 0.0252994541, 0.0045443792, -0.0278432686, 0.0312372949, 0.036617633, -0.0242894366, 0.035061866, 0.0158345662, -0.0204572566, 0.0553237312, -0.0172355548, 0.0492374822, -0.0095366668, -0.0275251567, -0.004984674, 0.0398278907, 0.0098092183, -0.0747864768, 0.0217472371, -0.0153783038, 2.456e-7, 0.0473421477, 0.0649273172, 0.0225338247, -0.0555498004, 0.0117063951, 0.0466439761, -0.0068982998, 0.0156515669, -0.0009728295, -0.0069843619, -0.0134172756, -0.0686472356, 0.0163451675, -0.0084304102, -0.1338928789, 0.0175372045, -0.0646607578, -0.0902284682, -0.0503730327, -0.0014212388, 0.0511530526, 0.0539111793, -0.0012097236, -0.0037551003, -0.0297007598, -0.0783020258, 0.0165581368, -0.0167667959, -0.033809457, 0.0590362996, 0.0472911745, -0.0194765124, 0.0173274577, 0.0016373626, -0.0322818756, 0.0120197088, 0.0257489402, 0.0303680655, 0.0278127473, -0.0036604165, -0.0209650211, -0.041896712, 0.0243674498, -0.044669576, 0.0240849499, -0.0019355596, -0.0083581097, -0.0814183801, -0.0192852132, 0.0053876401, 0.0273208097, -0.0290017389, -0.0306292716, 0.031372495, -0.0082607074, 0.0410614945, 0.0182559211, -0.0721660629, 0.0150215346, -0.0079682758, -0.0534525886, -0.0048101824, -0.0136673143, 0.0083673093, 0.0341101922, -0.0534026548, 0.0066852001, 2.702308377e-34, 0.0619677864, -0.0505571924, 0.0263631754, 0.086063236, -0.0071195439, 0.0060803248, 0.0102035133, 0.0393474288, -0.0205987766, -0.0300862063, 0.0199158825 ]
http://arxiv.org/abs/2402.01801v3
http://arxiv.org/pdf/2402.01801v3
Large Language Models for Time Series: A Survey
2024-02-02T07:24:35
2024-05-06T20:48:41
Xiyuan Zhang, Ranak Roy Chowdhury, Rajesh K. Gupta, Jingbo Shang
cs.LG
cs.LG, cs.AI, cs.CL
Large Language Models (LLMs) have seen significant use in domains such as natural language processing and computer vision. Going beyond text, image and graphics, LLMs present a significant potential for analysis of time series data, benefiting domains such as climate, IoT, healthcare, traffic, audio and finance. This survey paper provides an in-depth exploration and a detailed taxonomy of the various methodologies employed to harness the power of LLMs for time series analysis. We address the inherent challenge of bridging the gap between LLMs' original text data training and the numerical nature of time series data, and explore strategies for transferring and distilling knowledge from LLMs to numerical time series analysis. We detail various methodologies, including (1) direct prompting of LLMs, (2) time series quantization, (3) aligning techniques, (4) utilization of the vision modality as a bridging mechanism, and (5) the combination of LLMs with tools. Additionally, this survey offers a comprehensive overview of the existing multimodal time series and text datasets and delves into the challenges and future opportunities of this emerging field. We maintain an up-to-date Github repository which includes all the papers and datasets discussed in the survey.
Large Language Models for Time Series: A Survey: Large Language Models (LLMs) have seen significant use in domains such as natural language processing and computer vision. Going beyond text, image and graphics, LLMs present a significant potential for analysis of time series data, benefiting domains such as climate, IoT, healthcare, traffic, audio and finance. This survey paper provides an in-depth exploration and a detailed taxonomy of the various methodologies employed to harness the power of LLMs for time series analysis. We address the inherent challenge of bridging the gap between LLMs' original text data training and the numerical nature of time series data, and explore strategies for transferring and distilling knowledge from LLMs to numerical time series analysis. We detail various methodologies, including (1) direct prompting of LLMs, (2) time series quantization, (3) aligning techniques, (4) utilization of the vision modality as a bridging mechanism, and (5) the combination of LLMs with tools. Additionally, this survey offers a comprehensive overview of the existing multimodal time series and text datasets and delves into the challenges and future opportunities of this emerging field. We maintain an up-to-date Github repository which includes all the papers and datasets discussed in the survey.
[ -0.0498676933, 0.1181633845, -0.0008352305, 0.0312301386, -0.0393963009, 0.0272926632, 0.0188987497, 0.007002655, -0.0105505344, -0.0277933702, 0.0082306638, -0.0647758096, 0.0491421372, 0.0445346609, 0.0152548933, -0.0922205076, 0.0303406473, -0.0554608591, -0.0046970504, 0.0273725986, 0.0205916949, -0.0142778801, 0.0093440618, 0.0245575029, -0.0508149043, -0.0114342794, -0.0306704305, -0.0238670968, 0.0366594084, -0.0483051278, -0.0604073405, 0.0076022614, 0.0674734637, 0.0554633923, 0.0000020055, -0.000134038, -0.0042825714, -0.0103472974, 0.0227804892, 0.0157625843, 0.0615300871, -0.0586927421, 0.0181677174, 0.0006644375, -0.0667065382, -0.0111177769, 0.0805677399, 0.0113541894, 0.0670278817, 0.066148892, -0.0177661087, -0.0128453905, 0.0220921747, -0.0250073187, -0.0123022692, -0.0145644443, 0.0209161751, -0.0011625662, 0.0096192677, 0.0106479554, -0.0432653688, 0.0521507524, -0.0117747746, -0.002664546, -0.0010466713, 0.0649775192, -0.0001316112, 0.0074202837, -0.0374715589, 0.0497291535, 0.0090040304, -0.0165943839, 0.0247940756, 0.021081863, -0.0601849891, 0.0319255181, -0.0661396086, -0.0042944471, 0.038245257, 0.0591130406, -0.0103050824, -0.0116015878, 0.0353391208, 0.0288306549, -0.0349751785, 0.0360978208, -0.0005877542, -0.0318528563, -0.0372789949, -0.0071786321, -0.0150644127, -0.0460228994, -0.0230017267, 0.0393229574, 0.0214598328, -0.0011511183, -0.0311389882, -0.0338216573, -0.039781075, -0.0307426248, 0.0566929318, 0.0231822971, -0.0103840418, 0.0472791754, 0.0112521108, 0.0340873413, -0.0237439293, -0.0383093804, -0.0186398253, -0.0065342002, -0.0513942204, -0.0213552937, -0.004101878, -0.0580618121, -0.0119744949, -0.0039839549, -0.0600898415, -0.0000938504, 0.025253715, -0.0166067705, 0.0158414077, -0.0061965673, -0.0046466016, -0.0193512067, -0.0098608239, 0.0442019179, 0.0280046314, 0.0310298745, -0.0120026423, -0.0448833592, 0.0106399041, 0.039008826, 0.0182647556, -0.0052137082, -0.0217763614, 0.0585694015, 0.0298361052, 0.0021004807, -0.034858238, -0.0056377593, -0.0472885109, -0.0234614182, -0.0354683176, -0.0557261929, 0.0095008444, -0.0182370786, 0.0208703298, 0.0044811261, 0.0062573054, -0.0034266675, -0.0149230557, 0.0864998326, -0.0343717001, 0.017848352, 0.0149751687, -0.042424906, 0.0823456571, 0.0613762736, 0.0874192789, -0.0073303385, 0.0235868003, -0.0397090428, -0.0228902306, 0.0557537526, -0.0083534438, 0.0000872732, -0.0755586773, -0.021720849, -0.0063494123, 0.0338015109, 0.039207153, 0.0438356996, -0.0068671694, -0.0206012838, 0.0793546885, 0.0583858676, 0.0253220294, -0.0323027, 0.0204674639, -0.0057209972, 0.0013002135, -0.0320924185, 0.0197776873, 0.0361492708, -0.0097794989, 0.0218233485, 0.0057922038, 0.0406314395, -0.0183128212, -0.0316905826, -0.0239315312, -0.0277084429, 0.0134442281, -0.0173995029, 0.0723706037, -0.0669156164, 0.0028805248, 0.0065492443, 0.0239961687, -0.0152815646, 0.0128938621, 0.0014664846, 0.0062406356, 0.0677471906, -0.0082444595, -0.0041717463, 0.0411572829, -0.0206407998, 0.0470597334, 0.0201738086, -0.009239505, 0.0142832901, -0.0066049127, -0.0795210004, -0.0472042933, 0.0369413979, -0.0064967978, -0.0026160162, -0.040436253, 0.0368182249, 0.0192448143, -0.019540647, -0.0058548544, 0.0135655217, -0.0127618685, -0.0380883478, -0.0100528514, 0.0059290677, 0.0397279449, 0.0114504248, -0.019190602, 0.0091654519, 0.0313198268, -0.0548232384, 0.0143070268, 0.0574200787, -0.0248700678, -0.009384728, 0.0190237835, -0.0133464262, 0.0098943226, 0.0254259296, -0.0489486344, -0.0655716732, 0.0417187177, -0.0363264047, 0.0487263203, -0.0596775189, -0.0139779635, 0.0097621819, 0.0313205346, -0.0309018511, 0.0464000739, -0.0208898913, 0.0017646882, 0.00186739, 0.0087562967, -0.0062571764, -0.0322082266, 0.0045021712, 0.019298844, 0.0293743573, 0.0170646608, 0.0046922853, -0.0201519262, 0.0012276043, -0.0001907934, -0.1245724857, -0.0478956923, -0.0186543874, 0.0290128998, -0.01145072, -0.0064701969, -0.0217360072, -0.0046608588, -0.0027858713, 0.0221461263, 0.0089821508, 0.0010670603, 0.0549539849, -0.0189111177, -0.0156006124, -0.0242314804, -0.0219851304, -0.0412605964, 0.0750580207, -0.0022125146, -0.0568229891, -0.0155605627, -0.0100324573, -0.0299749132, 0.0189324878, -0.0117899738, -0.0054335771, 0.021563841, -0.0351645276, 0.0858949572, -0.0032139609, 0.0472879224, 0.0143434228, 0.0121284435, -0.0740730613, -0.0307493825, 0.0161073711, -0.0182784032, 0.0334922001, -0.0505186915, -0.0137782153, -0.0030495161, 0.0983909816, 0.0066460664, 0.0250472687, -0.014365335, 0.0281293709, -0.0598603971, 0.0033869096, -0.0687327608, 0.0276080109, -0.057765875, 0.0254736133, -0.0114085907, -0.0939506367, 0.0140270833, -0.047966484, 0.004021619, 0.0083037661, -0.037821766, -0.0692162663, 0.0658701882, 0.0090140784, -0.0042638434, 0.0014596134, -0.0058433921, -0.0020222454, -0.0217117462, -0.0018237111, -0.0287441202, 0.0126745822, -0.0501666591, 0.0541694313, -0.0032643476, 0.0135128899, -0.0005709084, -0.0521041751, -0.0595281497, -0.0147465738, -0.0277550947, -0.035776414, -0.0145605262, 0.06658075, -0.0074905641, -0.0051865787, 0.0132942321, 0.0095721614, -0.0050223279, 0.0691322014, 0.0741690248, 0.0205726828, -0.0158161819, -0.040935345, 0.0057650427, -0.023128124, 0.0490471795, 0.0510684177, -0.0922309384, 0.0093250601, -0.0095277485, -0.0061626919, -0.0100765182, 0.011057674, 0.0208606794, -0.0490797088, 0.0313482322, 0.0886572301, 0.00608582, -0.0215684921, 0.0070916279, 0.0364189558, 0.0106292209, -0.0155243436, -0.0392572992, -0.0782950893, -0.0319460109, 0.0019525476, -0.0090314923, 0.0016072596, -0.0389710814, -0.0171263926, -0.0662266016, 0.0317666233, 0.0360686705, -0.025753893, -0.0104253395, -0.0729790032, 0.0121461125, -0.0407919101, 0.0087692114, -0.0251234602, -0.0293869339, 0.0252986141, 0.069363445, -0.0527491458, -0.0701224133, -0.0223200582, -0.0116332099, 0.015328805, 0.0371710025, 0.0412896127, -0.0213522259, -0.0276418291, -0.0353838541, 0.0256304871, 0.0326588191, -0.015737433, -0.0099336533, 0.0007145993, -0.0359569937, -0.0251219496, 0.0604068711, -0.0233501997, 0.0109327594, 0.016538769, 0.0665828139, -0.0438882671, 0.004764535, -0.0295996964, 0.0012336995, 0.0290288106, 0.0346300416, 0.007998337, -0.0355969928, -0.0325673372, 0.0055895704, -0.006295071, -0.0403269157, -0.0794924945, -0.0243619345, -0.0060813096, -0.0100843897, -0.0392784737, -0.0115291011, 0.0190538485, 0.0321440622, -0.0025976296, 0.0473764539, 0.0616334155, -0.0220479313, -0.0597273111, 0.0442474373, -0.0490608104, 0.0537207872, -0.030638935, 0.0061763176, 0.0215762574, -0.0151346913, -0.0039203987, 0.0334472433, -0.159693554, -0.0580291115, 0.0200998783, -0.008799647, 0.0158220176, 0.0087372717, 0.0499080792, -0.0162837431, 0.0784962326, 0.0762575045, 0.002725441, 0.0245247968, -0.0215722863, 0.0365353413, 0.0082038511, 0.0091309911, -0.0015798103, 0.0279218014, -0.0212389156, 0.0246395841, -0.048079621, -0.017233802, -0.0029586332, -0.0104460632, 0.0781889781, 0.004548864, -0.0147804981, -0.0216010157, -0.0296473429, -0.0037166232, -0.0056735934, -0.032922972, -0.0006576252, 0.0173376054, 0.0218301434, -0.0410198122, 0.0262104142, 0.0362827592, -0.0205603298, -0.047903236, 0.0689235926, -0.0026351691, 0.002553683, -0.0008649449, 0.0208681691, 0.0339088738, 0.0348243825, -0.0312921219, -0.0071696532, 0.0422863029, 0.0235939231, -0.0076658758, 0.0189453457, -0.0169377942, 0.0086208116, -0.0479065292, -0.0098734433, -0.0009061035, 0.0183447599, 0.0600730181, -0.0209428668, 0.0292952862, -0.0520953573, 0.0203737859, -0.0380546972, 0.0569884144, 0.0178837087, 0.0248022899, 0.0560072921, -0.0064767818, -0.0643050969, 0.0057992851, 0.0645675436, 0.0140228299, 0.0118982019, 0.0294169299, -0.0217837617, -0.0270121656, -0.0081370221, 0.0169517845, -0.0436528958, -0.0166239925, -0.0192028638, -0.0500097871, -0.0420969278, 0.0157779697, -0.0331592895, -0.0137772569, -0.0103372866, 0.0102508478, 0.0353136286, -0.0155490432, 0.0564868227, -0.0230915658, 0.0161551647, -0.0284405798, -0.0625165626, -0.0441479012, -5.984453128e-33, -0.011099861, -0.0271699447, 0.0290269628, -0.0252858978, -0.0443737805, 0.0715844184, 0.0013689992, 0.0062945429, 0.022999743, -0.0185971837, 0.024986878, -0.0146810468, 0.018624194, 0.0061034705, 0.0385924838, 0.0199354347, 0.0483876169, -0.0406361483, 0.026067812, -0.007370933, 0.0560516566, 0.0321836248, 0.0562450364, -0.0506368205, -0.0017174779, 0.0302789938, -0.0221055113, -0.0030023281, 0.0608742759, 0.0427795686, -0.0426600575, 0.0497232974, 0.0365564041, 0.0118525885, -0.0526728369, 0.0565134399, -0.0236108024, 0.0118951863, 0.0181801524, 0.0130790155, -0.0355518162, -0.0217511244, 0.0100356955, -0.0162336826, -0.0367958918, 0.0195524395, 0.0314206183, -0.0408434458, -0.0292724129, -0.0303660315, -0.0218066797, 0.0665768683, -0.0302169695, -0.0089019015, 0.0459376574, 0.0305000991, -0.0029608908, 0.0482004769, -0.0569630265, 0.0637164041, 0.0280278381, 0.0286993347, 0.0630851686, 0.045442082, 0.0525550805, 0.0594016127, 0.0027291153, -0.0609613284, -0.0324160047, 0.0468525626, 0.0457354188, 0.0315492861, 0.011935154, 0.0451144576, 0.0403018445, -0.0314577706, -0.0325318798, 0.0184015129, 0.0116565619, 0.030905053, 0.0295259543, 0.0399042405, -0.0171169862, 0.0105803423, -0.0197398793, 0.0109799365, -0.0160609372, -0.0037555438, 0.0126275346, 0.0142812505, 0.0214299895, 0.0224837549, 0.061676234, -0.0345768929, -0.03633577, -0.0202022437, 0.0165097844, 0.0206953026, 0.017478358, 0.0107097467, -0.0738503933, -0.0675495043, 0.0275987722, 0.0329269394, 0.018410489, -0.0642332286, -0.01639615, 0.0489166491, -0.0441082008, -0.0125348996, 0.0006170479, -0.0279140137, -0.0037657802, 0.0209182967, 0.061243467, -0.0501518063, -0.013643641, 0.0503963009, -0.0206989292, -0.0044758827, 0.0193683114, -0.0521216094, -0.0177795123, 0.0253535975, -0.0053088004, 0.0043429416, -0.020281544, -0.0386855789, 0.0456956811, -0.0387411788, -0.0126050375, 0.0309119206, 2.679e-7, 0.0250948537, 0.0647973195, 0.0309305266, 0.0105983987, 0.0371093415, 0.0046341731, -0.0342761986, 0.0216909479, -0.0360454433, 0.0147380214, 0.029108528, 0.0064306301, 0.0828524232, 0.0266340021, -0.0237273406, -0.0244547259, -0.0918626636, -0.0108419247, -0.0880740955, -0.0110719688, 0.0519188792, 0.1085923016, 0.0055678403, 0.0097100437, 0.0407613441, -0.0501169972, 0.0882289708, -0.0483672805, -0.0481887497, -0.0012628457, 0.0172865149, -0.0024599871, -0.0209200568, -0.040624626, 0.0086885365, -0.002866134, 0.0166146476, 0.0145873651, -0.0021937611, -0.0079937726, -0.0122272018, 0.0196115021, -0.0373733267, -0.0430725515, 0.0474489368, -0.0206800047, -0.0394224562, -0.0851843804, -0.032147564, 0.0317160413, 0.0374598727, 0.0202009566, -0.0069600833, 0.0312061273, 0.0213278048, -0.0223436579, -0.02353682, -0.0369547568, -0.0311496835, 0.0079502249, -0.0361643992, -0.0097334003, -0.0579122044, -0.0061558378, 0.0473905616, -0.0309181642, -0.0211432911, 2.249815372e-34, 0.0386019759, -0.0241588261, -0.0335236192, 0.003235803, -0.0063903644, -0.015990505, -0.0280487165, 0.0388111435, -0.0107624279, -0.0999144763, -0.0100591918 ]
http://arxiv.org/abs/2402.01183v1
http://arxiv.org/pdf/2402.01183v1
LINGO-Space: Language-Conditioned Incremental Grounding for Space
2024-02-02T06:58:39
2024-02-02T06:58:39
Dohyun Kim, Nayoung Oh, Deokmin Hwang, Daehyung Park
cs.RO
cs.RO, cs.AI, cs.CL, cs.CV
We aim to solve the problem of spatially localizing composite instructions referring to space: space grounding. Compared to current instance grounding, space grounding is challenging due to the ill-posedness of identifying locations referred to by discrete expressions and the compositional ambiguity of referring expressions. Therefore, we propose a novel probabilistic space-grounding methodology (LINGO-Space) that accurately identifies a probabilistic distribution of space being referred to and incrementally updates it, given subsequent referring expressions leveraging configurable polar distributions. Our evaluations show that the estimation using polar distributions enables a robot to ground locations successfully through $20$ table-top manipulation benchmark tests. We also show that updating the distribution helps the grounding method accurately narrow the referring space. We finally demonstrate the robustness of the space grounding with simulated manipulation and real quadruped robot navigation tasks. Code and videos are available at https://lingo-space.github.io.
LINGO-Space: Language-Conditioned Incremental Grounding for Space: We aim to solve the problem of spatially localizing composite instructions referring to space: space grounding. Compared to current instance grounding, space grounding is challenging due to the ill-posedness of identifying locations referred to by discrete expressions and the compositional ambiguity of referring expressions. Therefore, we propose a novel probabilistic space-grounding methodology (LINGO-Space) that accurately identifies a probabilistic distribution of space being referred to and incrementally updates it, given subsequent referring expressions leveraging configurable polar distributions. Our evaluations show that the estimation using polar distributions enables a robot to ground locations successfully through $20$ table-top manipulation benchmark tests. We also show that updating the distribution helps the grounding method accurately narrow the referring space. We finally demonstrate the robustness of the space grounding with simulated manipulation and real quadruped robot navigation tasks. Code and videos are available at https://lingo-space.github.io.
[ 0.0698803887, 0.0287929997, 0.0131395459, -0.0569205247, -0.0053932276, -0.0036781286, 0.0084030684, -0.0135976197, -0.0471198857, -0.0281323809, -0.0430581495, 0.0061299521, 0.0283693243, -0.009771985, 0.0124484245, -0.0448766463, 0.0500333458, -0.0269424338, -0.0578249842, -0.0042999727, -0.0358988903, -0.023043314, -0.0524595492, 0.0343630575, -0.0429365449, 0.0236033313, -0.040179614, 0.0010525455, 0.0196965802, -0.0568371788, -0.0065696775, 0.0747036934, 0.038324222, 0.0547459275, 0.0000019712, -0.0019981877, -0.0126342401, 0.0039954172, 0.0152162071, -0.0025322973, 0.0058639161, -0.0055334005, 0.0068804184, -0.0050545963, -0.0076750894, -0.0252499301, 0.0828058198, 0.025752116, 0.0329384692, 0.0099738725, 0.0120111145, -0.0077779768, -0.0412320867, 0.0166624598, 0.0570723824, -0.0246465355, 0.0084097264, 0.0692182332, 0.0164336618, 0.0268052574, -0.0502383411, 0.0345026553, 0.0289574191, -0.0340094008, 0.0207243636, 0.0665884987, -0.0413326919, 0.0106391832, -0.0426744148, 0.0223977286, -0.0368295535, -0.055187203, -0.001297719, 0.0080355946, 0.0144752432, -0.0054294961, -0.0309608728, 0.0393270515, -0.0252362639, -0.021588169, -0.0681005716, -0.0253114719, -0.0111432495, -0.0176111646, -0.0487153381, 0.1607433259, 0.0267863553, 0.00748919, 0.0083355065, -0.0083261104, 0.0020215078, -0.0616848394, 0.0485535488, 0.002810512, -0.041644115, 0.0270283073, -0.0473130271, 0.0337043516, -0.0148094343, -0.0870150179, -0.0032102058, 0.0541293398, -0.0020693166, 0.0284983534, -0.0104136486, 0.0374341905, -0.0323730148, 0.0520767346, -0.0039004113, 0.0361740924, -0.0129138958, 0.0249695443, -0.0496823266, 0.0301366244, -0.0388784558, -0.061149098, 0.0201781634, 0.0332306102, -0.0266576763, -0.018247677, -0.0555956028, 0.0390727445, -0.0328124464, 0.020564517, 0.0198475178, -0.0336388946, -0.029512791, 0.0381233804, -0.0058659543, -0.0003452579, -0.0279273763, 0.0440292954, -0.0213927757, -0.0224284753, -0.006745446, 0.0681444779, 0.0355026722, -0.0182281695, 0.0046513472, -0.0128752878, -0.0233168602, -0.0313479602, 0.0607589297, -0.0550610945, -0.0320081934, 0.0072359601, -0.0203875694, -0.0257443413, 0.0351770632, 0.0296943132, -0.0045637116, 0.1260709316, 0.025311349, 0.0095119318, 0.0252152253, -0.0036537976, -0.0279222932, 0.0493526421, 0.0236313455, 0.0345388241, 0.0107405139, 0.0141955679, 0.0132743958, 0.0092682429, -0.0219755601, 0.0165963769, -0.0209708903, -0.0327231549, 0.0207961965, 0.0145458141, -0.0034575472, 0.0201393478, -0.0121196266, 0.0226209648, 0.0076674116, 0.0409460999, -0.0712812394, -0.0321743414, 0.0423859395, -0.0204610899, -0.0551092736, 0.0158103667, -0.0858113095, 0.0498279147, -0.0595945679, -0.0045027691, -0.0006676029, 0.029958088, -0.0129676973, -0.0081364457, -0.0143780094, 0.0149948988, 0.058719147, -0.031094702, 0.0390938036, 0.0072407001, -0.0397126861, 0.0808729231, 0.0385661051, -0.0492537804, -0.0264203977, 0.0089245392, -0.0358120278, -0.0076572387, 0.0006402188, -0.0293977037, -0.0630866289, 0.0020233185, 0.0429791249, 0.037847504, -0.0263060723, 0.0244738273, 0.0216870494, 0.0195795894, -0.0507497005, 0.0377741046, 0.0076472498, 0.0667393506, 0.0685558766, 0.0230057277, -0.0037480684, -0.0795396119, 0.0411736183, 0.0666450337, 0.0815568641, 0.0033552097, 0.0083958078, 0.0182424672, 0.0108129308, 0.020472873, -0.0223316774, 0.0019606361, 0.0381086059, 0.0221478809, 0.0062686238, 0.0162027888, -0.0155358957, 0.0163593981, 0.0521480031, -0.0668806806, -0.0203077123, -0.0197947789, -0.0037477233, -0.0069161006, 0.0239749458, -0.0099473437, 0.0226035826, 0.0439841263, 0.0235784575, -0.0093369605, -0.0005679562, 0.0052673011, 0.0028754915, -0.0452260077, 0.0334243476, 0.0117416894, 0.0754486322, 0.0471560173, -0.0274623111, -0.0072294096, -0.0281474832, 0.0121041704, -0.0327517055, 0.0572165661, 0.0501397252, -0.0121130738, -0.048391331, -0.0362139866, -0.0368745327, -0.0109709883, -0.021143984, 0.032478001, -0.0350230224, -0.0190664884, -0.0224958416, 0.0654509515, -0.0154215796, -0.0255585816, 0.0003569982, 0.0074834535, -0.0005841129, -0.0688267052, -0.0247354712, -0.0030770996, -0.0196055919, -0.0330948941, 0.0381386019, -0.0501201935, -0.0763667002, 0.019635329, -0.0197144821, 0.0442140587, 0.0095105711, -0.0271258596, 0.0323972106, -0.0268748924, 0.0124593256, 0.0836259127, -0.0554148443, -0.016546255, 0.0914396122, -0.0148624936, -0.0054496182, -0.0103119519, -0.0181288458, -0.0259920098, 0.0126469089, -0.0031277025, -0.0035997189, -0.0046777707, -0.0266066231, -0.0115946233, -0.0469176061, -0.0053291344, -0.0502209514, -0.0476684235, -0.0154505828, 0.0176202171, -0.0475730598, 0.0203681011, -0.0347984172, -0.046681352, 0.0197514798, -0.0287091788, 0.0083114346, 0.0082832202, -0.012046041, 0.0376339555, 0.0481943414, 0.0049529942, -0.0087501183, -0.0013405427, -0.0539866984, 0.0055132112, 0.0010483612, -0.0283146761, 0.0337289385, 0.03188641, -0.0882643387, 0.0412202924, 0.0240180269, -0.0246235561, -0.0446481779, 0.0378638245, 0.0058666151, 0.0178200081, -0.0256829783, -0.0872431323, -0.0219333917, 0.0181754585, 0.0569490604, 0.0464589708, -0.0363434367, -0.0027555791, -0.0328113623, -0.0492272191, 0.0024641331, 0.0297073815, -0.0434396043, 0.0239091665, -0.1043470204, 0.0177485775, 0.0579346791, -0.0260894857, -0.0089247823, 0.0057165762, 0.0103775673, 0.0241480526, 0.005024978, 0.0337320603, 0.04204439, 0.0032320151, -0.0776164457, 0.0714774206, 0.0415917747, -0.0057164091, 0.0079870746, -0.0128099024, -0.0175539106, 0.0462179929, -0.0016125015, -0.0285413787, -0.0099541536, 0.0217270311, -0.0253804009, 0.0537412688, 0.0045782886, 0.0028630651, -0.0981873348, 0.009898792, 0.0067143161, -0.1089919806, -0.1678911299, -0.0004599673, 0.0073156133, 0.0060195229, -0.0366948657, 0.0415435806, 0.0135748098, 0.0301959533, 0.0148355272, -0.020180583, -0.0045113997, -0.017830167, -0.0304702017, -0.0130340634, 0.0274668373, 0.0055155004, -0.0348534063, -0.0421132855, -0.0161465779, 0.0251068305, -0.0051007639, -0.0352634639, -0.0209275857, 0.0323165394, 0.0152238552, 0.051594533, 0.0204295367, -0.0242945291, -0.0216941051, -0.0150195817, 0.0234977137, -0.0459212698, 0.0585878864, -0.0161995385, 0.0288345888, 0.0533001609, 0.0311305188, 0.0260279085, -0.011137669, -0.0574095175, -0.0441546477, 0.0357678905, -0.0003357581, 0.008815744, -0.0201967657, -0.0313734636, -0.0566139445, -0.0593791492, 0.0107148709, 0.0581713021, 0.0732526854, 0.0251268037, -0.0287042782, -0.0168928951, 0.0195495989, -0.0421344563, -0.0069435555, 0.0088767502, 0.0171614867, -0.0175509378, 0.0042377887, 0.0046286914, -0.0066994377, -0.0294691846, 0.0530062392, 0.0211263411, -0.0495215692, 0.0645141751, 0.0671064481, 0.0233747661, -0.0030560773, -0.0080942959, 0.0411674008, -0.006814389, 0.0215369295, -0.0075080213, 0.0922817662, 0.0404663645, 0.0508671813, 0.0330086909, 0.0176665653, -0.0626006722, -0.0150464056, -0.0107560614, 0.0256344229, -0.0698574334, -0.0168163143, -0.00480321, -0.0403079167, 0.0746214464, -0.0206793863, 0.0235468373, -0.0230082218, -0.0022675737, -0.0311421528, -0.0096601555, -0.0351592377, 0.0432653092, -0.0227741711, 0.0101453625, 0.0433849134, 0.007067211, -0.0035710288, 0.039652843, 0.0603445023, -0.0408922583, 0.0425260067, -0.0146382013, 0.0137785589, 0.0052989237, 0.0064601726, -0.0148590505, 0.0125544984, 0.0449648201, -0.0134959631, 0.0105907898, 0.050176546, -0.0412570126, -0.0497418866, -0.0006645317, -0.0555556081, -0.051746659, 0.0228579324, 0.0386529155, 0.0868171379, 0.0225582328, 0.0058861319, -0.0729752108, -0.0248404816, 0.0103315273, -0.0027071664, 0.0620144941, 0.0005346906, 0.005934468, 0.0172672588, 0.0006287903, 0.00446659, 0.0120090535, -0.0200028736, 0.0597283244, -0.013234159, -0.0116817402, -0.0335279927, -0.0183216818, -0.0210685655, 0.0522761568, 0.0021049755, 0.0389320962, -0.0418026634, -0.0435371511, -0.0427528843, 0.0335527472, -0.0307973567, -0.0244645495, 0.0733216405, 0.0169238392, -0.0008746121, -0.0432431847, -0.0043693366, -0.0252438597, 0.035949707, -0.0035419222, -0.074449271, -5.721939525e-33, -0.0634809881, -0.0845481232, -0.0069893575, -0.0057044765, -0.0247482304, -0.0013046518, -0.0027483557, 0.0407376736, -0.01739382, 0.0227895118, 0.0102127865, 0.0109293982, 0.020604426, -0.0125237461, 0.0264721196, 0.0457333736, 0.0145283761, 0.0228904244, -0.0432091504, -0.0165761989, 0.0658842996, 0.0317521505, 0.0399749093, -0.0865680575, 0.0012008676, 0.0392956845, -0.0151608791, 0.0043166596, -0.0332452767, -0.0024245239, -0.0101065421, -0.0150160827, -0.0502161533, -0.0173151568, -0.0173387248, -0.0025523852, -0.0754531696, -0.0651987642, -0.0132100442, 0.043145556, 0.0121600814, 0.0033359642, 0.0501878969, -0.007279445, -0.0439553894, 0.0162150934, 0.0119481301, -0.0100618619, -0.0143644689, 0.036104545, -0.0332821161, 0.0079169469, 0.0327572301, -0.0556223802, -0.0106122317, -0.0430172384, 0.0307345428, -0.0379360728, -0.0388898738, 0.0185660757, 0.015426632, 0.0271216873, 0.0303895324, 0.0150977112, 0.0729400218, 0.0810236186, 0.0241453387, -0.0558278225, 0.0313356891, -0.0531292558, 0.0103723798, -0.0283198971, -0.0128704868, -0.0350036323, 0.0420946777, 0.0028333417, -0.0317435898, -0.0182594694, -0.0017620861, 0.0657770783, 0.0010895043, 0.0106161376, -0.0533441082, 0.0037669393, 0.0165638961, -0.0339667201, 0.0482122153, -0.0471976213, 0.0203833655, 0.0183110777, -0.0071881395, -0.0032072368, 0.0225305166, 0.0170344952, -0.0187767819, 0.0253416561, 0.0188237783, 0.0342099741, -0.004702202, -0.018172916, -0.0045539518, -0.03268639, -0.0008300362, -0.0091759199, 0.0068443073, 0.0093449568, -0.0519912057, 0.0542426482, -0.0534039773, 0.0058941566, -0.0008163516, -0.0448648371, 0.0198746361, 0.017010387, 0.0785518363, 0.0086556906, 0.0080848178, 0.0674865991, 0.0298538264, -0.0259067491, 0.0175175797, -0.0369367898, -0.0465129055, 0.0388034657, -0.0659032837, -0.0175401028, -0.0402304418, 0.0094596725, 0.0067626005, -0.0548586175, -0.03904441, 0.014061966, 2.767e-7, 0.0497186556, 0.0280351732, 0.0493421666, 0.0010803816, -0.0306267794, 0.0032313536, 0.0141278701, 0.0013106159, -0.0240866486, -0.040020857, -0.0327571519, 0.0138189346, -0.0547348559, -0.0244671181, -0.0669240654, 0.0330957547, -0.0035027077, -0.0164140072, -0.0199750066, 0.0001393377, 0.0225153267, 0.0651883334, 0.0254108254, 0.0134321013, 0.0055727917, -0.0541022606, -0.0280772708, -0.0078908158, 0.0716951638, -0.0090553295, -0.0229688343, 0.0159128178, -0.0466977507, -0.0018059242, -0.0261263065, 0.0001563305, 0.0071895407, 0.0293386579, -0.052377522, 0.0015387443, -0.0063053113, 0.0044371178, -0.0115391826, -0.0245140325, 0.0489649847, -0.051515881, 0.0370974392, 0.0083497101, 0.0353201553, 0.0141213574, -0.0200894326, 0.0302446503, -0.004282563, -0.0572865196, -0.021204643, 0.0530915894, -0.0098344395, -0.0629244968, -0.0042367671, 0.044157885, -0.0181974564, -0.0338090882, 0.0534771569, -0.0394187607, -0.0157303046, 0.0237675793, -0.0546086095, 2.524428531e-34, 0.017272111, -0.0231958274, 0.0075501101, 0.0384516306, 0.01483142, 0.0243908986, -0.0364220701, 0.0089448234, 0.043809291, 0.0176333357, -0.0330987461 ]
http://arxiv.org/abs/2402.01182v1
http://arxiv.org/pdf/2402.01182v1
In-Context Learning for Few-Shot Nested Named Entity Recognition
2024-02-02T06:57:53
2024-02-02T06:57:53
Meishan Zhang, Bin Wang, Hao Fei, Min Zhang
cs.CL
cs.CL
In nested Named entity recognition (NER), entities are nested with each other, and thus requiring more data annotations to address. This leads to the development of few-shot nested NER, where the prevalence of pretrained language models with in-context learning (ICL) offers promising solutions. In this work, we introduce an effective and innovative ICL framework for the setting of few-shot nested NER. We improve the ICL prompt by devising a novel example demonstration selection mechanism, EnDe retriever. In EnDe retriever, we employ contrastive learning to perform three types of representation learning, in terms of semantic similarity, boundary similarity, and label similarity, to generate high-quality demonstration examples. Extensive experiments over three nested NER and four flat NER datasets demonstrate the efficacy of our system.
In-Context Learning for Few-Shot Nested Named Entity Recognition: In nested Named entity recognition (NER), entities are nested with each other, and thus requiring more data annotations to address. This leads to the development of few-shot nested NER, where the prevalence of pretrained language models with in-context learning (ICL) offers promising solutions. In this work, we introduce an effective and innovative ICL framework for the setting of few-shot nested NER. We improve the ICL prompt by devising a novel example demonstration selection mechanism, EnDe retriever. In EnDe retriever, we employ contrastive learning to perform three types of representation learning, in terms of semantic similarity, boundary similarity, and label similarity, to generate high-quality demonstration examples. Extensive experiments over three nested NER and four flat NER datasets demonstrate the efficacy of our system.
[ -0.0190641861, 0.0303453896, 0.0104272952, 0.0518747196, -0.0288334414, 0.0641530082, 0.0602675006, 0.0116277942, 0.0228712223, -0.0765183792, -0.0526361205, -0.02008087, -0.0175625607, -0.0157706942, 0.0332001373, -0.0547071807, 0.0159598775, -0.0206658915, 0.0177735463, 0.0195399821, -0.0094150025, 0.0082697924, -0.0227721762, 0.0107712019, 0.0028940791, -0.0331019126, -0.0074813887, 0.0217304826, 0.0435545743, -0.1012383923, 0.0436155125, 0.0416628532, 0.0347269662, 0.0266357474, 0.0000019527, -0.0504270159, -0.0338839516, 0.0401220955, -0.0383317024, -0.0213729106, 0.0646977574, -0.0178350452, 0.0108116595, -0.0128659299, -0.0055758618, -0.0731884241, 0.0171436165, 0.0626278669, 0.0026896608, 0.0628615171, -0.0180695187, -0.0608303323, 0.0149440691, 0.0005116887, -0.0140275368, -0.0148016224, 0.0227223225, -0.0195031688, 0.0271968003, 0.0142260296, -0.0043298095, 0.0002867783, 0.0133949164, 0.0357302539, -0.0198020246, 0.0516292788, -0.0399942212, 0.0162244253, -0.0105901696, 0.0893346891, -0.0339188427, -0.0144181727, 0.0113308104, -0.0549683012, -0.0321011059, -0.0556974821, -0.0310893599, -0.0147652971, -0.0297249667, 0.0315505415, 0.039936088, 0.0476363748, 0.0000699647, -0.0224469695, -0.0112329004, -0.0236055199, 0.0216484517, -0.0351425596, -0.003506934, 0.0285256039, 0.0056262109, -0.0401157029, -0.0003790486, -0.0105998348, -0.0147774154, 0.0351439305, -0.0582046658, -0.058885362, 0.0064003374, 0.0086417515, 0.0434334502, 0.0209206771, -0.029447021, 0.0659688041, -0.0562403947, -0.0106159635, -0.016347114, 0.0190754309, 0.0170354638, -0.0028173218, -0.0554076694, 0.0302222464, -0.047662314, 0.0390079878, -0.0174811147, -0.0149218533, 0.0055451877, 0.0086044809, -0.0278196242, 0.0233955532, -0.0241997167, -0.0178574901, -0.0213478934, -0.0193340946, 0.0026886878, 0.0079196747, -0.0390762463, -0.0009797959, -0.0006204891, -0.053835392, -0.0216792673, -0.0120705729, 0.0477612764, -0.0536489934, 0.0176575575, 0.0661727265, 0.0341080762, -0.1172795445, -0.073318392, 0.0208048727, 0.003854464, -0.034624707, 0.0050531928, -0.0419798978, 0.0479218327, 0.0045330501, 0.0015020916, -0.0558990501, 0.0048575825, 0.0144389113, -0.0303724594, 0.0905830711, -0.054279428, -0.0549876653, -0.0219243225, -0.0082416497, 0.0177644081, 0.0822683647, 0.0200215988, -0.0251360834, 0.0271499213, 0.0351553448, -0.0118124103, 0.0185141582, 0.0537986904, 0.0095023345, -0.0265004486, 0.0333950557, -0.0120459478, 0.0195157751, 0.0334793814, 0.0165136214, -0.0107302852, 0.0145799136, 0.0299080107, 0.0454164483, 0.0145389652, -0.0193482097, 0.0413299166, 0.0094804754, -0.0158316381, 0.0188223906, -0.0203530546, 0.031659849, -0.0311784856, 0.0238006208, 0.0405437499, 0.0519991405, -0.0316777676, 0.0142182996, 0.0111681623, -0.0036196399, -0.0319022983, 0.0065066759, 0.0538654327, 0.0474670157, -0.0838645324, 0.037907932, 0.0619858243, -0.0008872492, -0.0021173139, -0.0031589121, 0.0167765338, 0.0355733521, 0.0394693501, -0.0397043377, -0.034285523, -0.0326192454, -0.0032773709, 0.0469676107, 0.0224963967, -0.0169296004, 0.0369672552, -0.0279613249, -0.0307898261, -0.0308639985, 0.0185089931, 0.0050053685, 0.0070714015, 0.031413883, 0.0092813186, -0.0408375785, -0.0076810652, 0.0382515006, -0.017350113, -0.0279064476, 0.0260552745, 0.0408028364, 0.0208792817, 0.0360649489, -0.0200186688, -0.0202499982, 0.0169200022, -0.0272385739, 0.0260288324, -0.0270854272, -0.0310325045, -0.1312832683, -0.0244985484, -0.0129418019, -0.0314873122, -0.0312680416, -0.0412719697, -0.0207623541, -0.0622066446, 0.0296270419, 0.0781870484, -0.0316527151, 0.0108481776, 0.0211071931, 0.0045924406, -0.0269823875, 0.0971427858, 0.0029820686, 0.0184115991, 0.0229250491, -0.0039430819, -0.0183863807, -0.0177580249, -0.0195326619, -0.0197315309, 0.0047849552, -0.0332942158, -0.0187726542, 0.0355673805, -0.0779494792, 0.0120869894, -0.0565971173, 0.0042794896, -0.030575024, 0.0339973532, -0.0038930257, 0.0178658813, -0.0252666119, -0.039517805, -0.0157798342, -0.0124883847, -0.0492355898, 0.0183283985, 0.0395165198, 0.0124213109, -0.0090974318, -0.0061334148, 0.0149291381, -0.0338428728, 0.0604993924, -0.0135504194, -0.0167614371, -0.0508295894, 0.0566048957, 0.0163024813, 0.003445724, 0.0251119528, 0.0618446171, 0.0019021938, 0.0384952836, 0.0087256292, 0.0572381094, -0.011801417, 0.0505156033, -0.0234747231, -0.0132117011, -0.0725468546, 0.0264073964, -0.0099692391, 0.0481890924, 0.0131954253, 0.0256680064, 0.0244943891, 0.046107702, -0.0167730357, 0.0240713228, -0.0294171199, 0.051007662, -0.0008832862, -0.0075186295, -0.0182468817, 0.0231095888, 0.0007043184, 0.0157562811, -0.0192879178, -0.0113899559, 0.0819803849, -0.0424732119, -0.0222014543, -0.0232233517, 0.0198360346, -0.0448282696, 0.0411481485, -0.0105170691, -0.0032474187, 0.0405083261, -0.0576063022, 0.001595545, 0.0315063074, -0.0212311987, -0.0067420714, 0.0214263499, 0.0111596957, 0.0169263147, -0.0145171368, -0.0473356321, -0.0252048746, -0.0248162374, -0.0445370711, 0.0259053893, -0.0392427929, 0.0338638574, -0.0009931852, 0.0252164099, 0.0059069288, 0.0580529869, 0.0128297163, -0.0195073579, -0.0300653093, 0.0575210862, 0.0353997536, -0.0180131774, 0.0209078509, -0.0119901914, 0.031515982, 0.0098460196, 0.0243215431, 0.0122631239, -0.0046201837, 0.0077513331, 0.0062974528, -0.0456799902, 0.0025130319, -0.0013752433, 0.0425227955, -0.0453344546, -0.0150666684, 0.0846270025, 0.0012814826, -0.042684976, -0.0076039741, 0.0178622417, 0.0131289931, 0.022316277, 0.0231469087, -0.1040340662, -0.0403873026, 0.0057142484, 0.000930222, 0.0331710167, -0.0601781122, 0.001079657, -0.1487846076, 0.041735474, -0.0017925376, -0.0709453598, -0.0059080631, -0.0384769253, 0.0333741829, -0.0004406076, 0.0285306238, -0.0138214249, -0.0414134003, -0.0036094363, -0.0034310876, 0.0347943008, -0.0840423927, 0.0487610959, -0.0637956411, 0.0330236666, 0.0121623483, 0.0079139834, 0.0171296764, -0.0034643319, -0.0246592779, -0.0522287041, -0.0144685032, -0.0246892329, 0.0302567258, -0.0578915663, -0.0300410595, -0.0151261352, 0.0135669038, -0.0220667515, -0.0326710306, -0.0013357867, 0.0580774322, 0.0107950112, 0.0052230074, -0.0243559349, -0.038108848, 0.0746401697, 0.0821264759, 0.0484861322, -0.0323078409, -0.0118841631, 0.030486349, 0.0004192459, -0.0312659852, 0.0102402521, 0.0210563261, -0.0358699821, 0.0127304895, -0.0361062102, -0.0554357581, 0.0712749958, 0.062614046, -0.0161965545, -0.0014085164, -0.0074177911, -0.0030329167, -0.0320783518, 0.0224835649, -0.0352495573, 0.0229133144, -0.0425554551, -0.0109484354, 0.0385202505, -0.0129289953, -0.0613698736, -0.0214491133, -0.0534045734, -0.0358786434, -0.0167810377, 0.035187453, -0.0016607678, 0.057484217, -0.0076789837, -0.0098820021, 0.0642550439, 0.0412255302, -0.0321156569, -0.036474105, 0.0236873776, 0.0204358995, -0.0044989269, 0.0307189152, -0.0480792783, 0.0406922363, 0.0365588404, 0.0498679169, -0.0179376118, -0.0119845523, 0.0101819122, -0.0259750951, 0.0739970133, -0.013090943, -0.0235616416, -0.047311306, 0.05011639, -0.0137452167, -0.0142233539, -0.0267266054, -0.0139308348, -0.0374733545, -0.0111324033, -0.0359550342, 0.0269613769, -0.0150449006, 0.0459283814, -0.0286885872, 0.023801621, 0.0440892279, 0.0204154849, -0.0027015023, -0.0217910483, -0.0333667099, 0.0379026905, 0.0067146048, 0.04817174, -0.05567424, 0.0425559282, 0.0129089514, 0.0015601197, -0.0432349145, 0.018350875, 0.0013810338, 0.0281304196, -0.0563558079, 0.0173828173, 0.0499362648, -0.0264650024, 0.0200424623, 0.0042088241, -0.0056025488, 0.0024950725, 0.015447991, -0.0258526858, -0.0579261631, 0.0202539917, 0.0262530427, -0.0088114385, 0.0052726967, 0.0543949753, 0.0019885821, 0.0429671779, 0.0314220265, 0.0494626872, -0.0407546684, 0.0167770181, 0.0656461492, 0.0379348397, 0.0053156102, 0.0056669973, -0.0503829718, -0.0476916134, 0.0319432169, -0.010900801, -0.0532130599, 0.042452924, 0.0253556296, 0.0180974286, 0.0090416167, -0.0498530939, -0.0161706805, -0.010064193, 0.0327494703, -0.0529727675, -0.027504459, -6.485015724e-33, -0.0468952581, -0.0194732696, 0.0116768526, -0.0291478019, 0.0232010726, 0.0202916265, -0.0349046737, -0.0389556959, -0.0108547742, -0.0144837033, -0.0141307553, -0.0353435166, 0.0267381277, 0.0314509459, -0.010377612, -0.0312201958, 0.0515444092, 0.0197297242, -0.0127328504, 0.0153682735, 0.001902589, 0.0612967797, 0.0873283967, -0.0908000171, 0.0175118279, 0.0041836728, 0.0104136989, 0.0053897835, 0.0549809225, 0.0620838031, -0.0330297239, -0.0074510598, 0.0196671728, -0.0308168288, -0.0089131603, -0.0036288684, -0.1353770792, -0.0100199832, -0.0365138948, 0.0102033122, -0.0400978252, -0.0105381552, 0.0152903199, -0.0247815754, 0.0455629341, -0.0228332672, 0.0163670834, -0.0096052103, 0.0008486547, -0.0330494791, -0.086272873, 0.0468597524, 0.02155024, 0.0204193648, 0.0372803807, -0.0070787081, 0.0362693071, 0.0317572989, -0.0911489651, -0.0187093876, 0.0129268654, -0.0487533808, 0.039366819, 0.0123242149, 0.0072887577, 0.0865295082, 0.0270071011, 0.0024317922, 0.0047945725, -0.0341763236, 0.04061139, 0.0440629832, -0.0267784335, 0.0628469586, 0.0606752336, 0.0047254465, -0.0573199242, 0.0121769393, 0.0093272403, -0.0152817089, -0.0055641597, 0.0014065077, -0.0651796311, -0.0066120368, -0.005246629, -0.0580568947, -0.0460742712, -0.0290806275, 0.0480248407, 0.0081389546, -0.0559378564, 0.0418205559, 0.052540794, -0.0014293661, -0.0651539788, 0.0106387697, 0.0487254299, 0.0091008218, -0.0109370314, 0.0033148094, -0.042800419, -0.0618089139, 0.0098790284, 0.0032948959, 0.0184898041, -0.0021834867, 0.0920476094, 0.0003526467, -0.0888873264, 0.0036227098, 0.0029748403, -0.0056239539, -0.0006649529, -0.0149177462, 0.0410242602, 0.0156459138, 0.0001596832, 0.0450873338, 0.0738904178, -0.0642533302, -0.0339942425, 0.017299626, -0.0250505041, 0.0372048952, 0.0234299526, -0.0155804306, 0.00586621, 0.0031383832, 0.0289078355, -0.0402820893, 0.0035631466, 0.0025055883, 2.658e-7, 0.0257658996, 0.0216446333, 0.0069045224, -0.0078077703, 0.0132837398, 0.0206268709, 0.0213253181, 0.0551169068, -0.0241883341, -0.0011706627, 0.0155558856, -0.0363578796, 0.0270127971, 0.0492162518, -0.0899691582, 0.0088706454, -0.0285144597, 0.0001058846, -0.0755729079, -0.0206905808, 0.082498163, 0.0627949089, 0.0279124826, -0.0069618477, -0.0140346084, -0.0277949665, 0.0577768013, 0.0007036866, 0.0352249667, 0.0020307552, -0.0585551374, 0.064747192, 0.0014661502, 0.0318330005, -0.0162064191, 0.0524411537, 0.0046554804, 0.035283532, 0.0089887632, -0.0141498884, -0.0058735535, -0.0251728855, -0.0023308711, -0.0452764258, 0.083375439, -0.11216598, 0.0103047322, -0.028524993, -0.0318017229, -0.0254406277, 0.0056799329, 0.0168662108, -0.020152092, 0.0432038419, 0.0236245915, -0.0103999805, -0.0268253461, -0.0784669742, 0.0272068158, 0.0390548296, 0.0028851724, 0.0268396921, -0.0162230823, -0.0174596012, 0.0320190974, -0.039435178, 0.0021233389, 2.452947684e-34, 0.0010149825, 0.0004443253, 0.0003778453, 0.0674170628, 0.0090494705, -0.0227231272, -0.0177603252, -0.0205582548, 0.0078538349, -0.0633058473, 0.0202819295 ]
http://arxiv.org/abs/2402.01176v2
http://arxiv.org/pdf/2402.01176v2
CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks
2024-02-02T06:44:22
2024-04-21T08:33:32
Xiaoxi Li, Zhicheng Dou, Yujia Zhou, Fangchao Liu
cs.CL
cs.CL, cs.IR
Large language models (LLMs) have gained significant attention in various fields but prone to hallucination, especially in knowledge-intensive (KI) tasks. To address this, retrieval-augmented generation (RAG) has emerged as a popular solution to enhance factual accuracy. However, traditional retrieval modules often rely on large document index and disconnect with generative tasks. With the advent of generative retrieval (GR), language models can retrieve by directly generating document identifiers (DocIDs), offering superior performance in retrieval tasks. However, the potential relationship between GR and downstream tasks remains unexplored. In this paper, we propose \textbf{CorpusLM}, a unified language model that leverages external corpus to tackle various knowledge-intensive tasks by integrating generative retrieval, closed-book generation, and RAG through a unified greedy decoding process. We design the following mechanisms to facilitate effective retrieval and generation, and improve the end-to-end effectiveness of KI tasks: (1) We develop a ranking-oriented DocID list generation strategy, which refines GR by directly learning from a DocID ranking list, to improve retrieval quality. (2) We design a continuous DocIDs-References-Answer generation strategy, which facilitates effective and efficient RAG. (3) We employ well-designed unsupervised DocID understanding tasks, to comprehend DocID semantics and their relevance to downstream tasks. We evaluate our approach on the widely used KILT benchmark with two variants of backbone models, i.e., T5 and Llama2. Experimental results demonstrate the superior performance of our models in both retrieval and downstream tasks.
CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks: Large language models (LLMs) have gained significant attention in various fields but prone to hallucination, especially in knowledge-intensive (KI) tasks. To address this, retrieval-augmented generation (RAG) has emerged as a popular solution to enhance factual accuracy. However, traditional retrieval modules often rely on large document index and disconnect with generative tasks. With the advent of generative retrieval (GR), language models can retrieve by directly generating document identifiers (DocIDs), offering superior performance in retrieval tasks. However, the potential relationship between GR and downstream tasks remains unexplored. In this paper, we propose \textbf{CorpusLM}, a unified language model that leverages external corpus to tackle various knowledge-intensive tasks by integrating generative retrieval, closed-book generation, and RAG through a unified greedy decoding process. We design the following mechanisms to facilitate effective retrieval and generation, and improve the end-to-end effectiveness of KI tasks: (1) We develop a ranking-oriented DocID list generation strategy, which refines GR by directly learning from a DocID ranking list, to improve retrieval quality. (2) We design a continuous DocIDs-References-Answer generation strategy, which facilitates effective and efficient RAG. (3) We employ well-designed unsupervised DocID understanding tasks, to comprehend DocID semantics and their relevance to downstream tasks. We evaluate our approach on the widely used KILT benchmark with two variants of backbone models, i.e., T5 and Llama2. Experimental results demonstrate the superior performance of our models in both retrieval and downstream tasks.
[ 0.0832369924, 0.0287313983, 0.0099623892, 0.0070998454, -0.0169845354, 0.0087513058, -0.0047405162, -0.0023284161, 0.0285688099, -0.049925942, -0.0134418672, 0.0002044609, -0.0291637424, -0.027260419, 0.0093090311, -0.0167778954, 0.0522772148, -0.0177600048, 0.0222034007, -0.0260012355, -0.0066399304, 0.0235464349, 0.0140826236, 0.0141170602, -0.0081554018, -0.0259170141, 0.0097709447, -0.0052378792, -0.0091046495, 0.0036543149, 0.0339288078, 0.0382553078, 0.0181595441, 0.0396873206, 0.0000020514, -0.0482896529, -0.0320031717, 0.0158264674, -0.0087655205, 0.0035805455, 0.0354528986, 0.0030938478, 0.0261164885, 0.0116716996, -0.0232973062, 0.0059219617, 0.0142508419, 0.057798285, 0.0422428474, 0.059670534, 0.0102023743, -0.0474618822, 0.0512764193, -0.0043532914, 0.0530113652, -0.0174373742, 0.0091013452, 0.0417515673, 0.0373956151, 0.0588918738, 0.0078204051, 0.0549435169, -0.0038953314, -0.0339851305, 0.0670279339, 0.0362322666, -0.0541898422, -0.0072612851, 0.0273295157, 0.0417766869, 0.0102359559, -0.058623217, 0.0284665339, 0.0255662762, 0.0051156962, 0.0239319336, -0.0717121288, 0.037319731, -0.0291309301, 0.0050742971, 0.0538165346, 0.0114744641, 0.0270013604, 0.0171121582, 0.0014931717, 0.0423857272, 0.0317193381, -0.0269606058, -0.036017105, 0.01557332, -0.0218737964, -0.0244850088, 0.0018778446, 0.0282129124, -0.0292443801, 0.0232831612, -0.001518375, -0.0645920783, 0.0572486371, -0.047176227, -0.0094966125, -0.0032652342, -0.0041323635, 0.0567507073, -0.0388827473, 0.0245871879, -0.0075950921, -0.007158102, -0.0683892891, -0.0258822236, -0.0420666598, -0.0362359695, -0.0429872684, 0.0427405052, -0.0463035963, -0.021074621, 0.0101067731, 0.0241271406, 0.0226085559, -0.0130087007, 0.0176979899, 0.0284951925, -0.0611374639, -0.0174661707, -0.0358075537, 0.0085493466, -0.0158684496, -0.0194287356, 0.0176849309, -0.0369949266, -0.0003857888, 0.0065002544, 0.0097540608, -0.0373244509, -0.0066251624, -0.0009382886, -0.0248267092, -0.0141782667, -0.0189516228, -0.0418826453, -0.0109725492, -0.0530813821, 0.0250221174, -0.0839572027, 0.037395183, 0.0368693322, -0.0214133617, -0.0220243577, 0.0223532561, 0.0375308208, -0.0355268344, 0.0225239526, 0.0164301991, 0.0022976648, 0.0520907976, 0.0117390128, 0.0241238698, 0.0398542508, -0.0040946938, 0.0225047804, 0.067489922, 0.037083324, 0.0009424342, -0.0071256845, 0.0227263831, -0.0015645295, 0.0234247893, 0.0275675301, 0.004284197, 0.0234573763, 0.0345255695, 0.0416898057, -0.0464191586, -0.0073811985, 0.0548204519, -0.0031727301, 0.0029129314, 0.0175853875, 0.0085880468, 0.0240318831, 0.0124568855, 0.0247606747, 0.010279173, 0.0171922203, -0.0064227106, 0.0065202843, 0.0426147021, 0.0127934348, -0.0272705946, -0.0307913497, -0.0084495516, 0.0007481915, -0.0371534675, 0.0098170154, 0.03888027, 0.022430595, -0.0350061432, 0.0719088316, 0.014334619, -0.0867974758, 0.0302788429, -0.0314188339, 0.0294080302, 0.0587412268, 0.1020041257, -0.0151434252, -0.0339320265, 0.0086015351, -0.0160035156, 0.0568974689, 0.0310177729, -0.0349734016, -0.0403984338, -0.0567353703, -0.0148897516, -0.0167220309, 0.0064899507, 0.013617605, 0.0039671049, -0.0085735125, 0.0295649841, -0.110402368, -0.0442440324, 0.0213933513, -0.0533201993, -0.0437658094, 0.0138746882, -0.0331465825, -0.0236126557, -0.0014389835, -0.0186051112, 0.0347574428, 0.022811152, -0.0440475009, -0.0234873146, -0.0066792271, -0.0330179259, -0.0380253866, 0.0346399248, -0.0105469637, 0.0199067425, 0.0450045504, -0.011533482, -0.0375862904, -0.0043117274, -0.0279417653, 0.0228769667, -0.0819906443, -0.0182164051, 0.0383961499, 0.0003014238, -0.0702835768, 0.0867819339, -0.0013787749, 0.0401204079, 0.0233091284, -0.0030971793, 0.0223330706, -0.0529178493, -0.0083843758, 0.0258877631, -0.013687484, 0.019677978, 0.0600832738, -0.0024676609, -0.0242529586, -0.0406861007, -0.1060617119, 0.0025096775, -0.0180373322, -0.0244046263, 0.0205375105, 0.0190714616, 0.0022308321, 0.0038526463, -0.0489868298, 0.0035045564, 0.0348880589, 0.0072626211, 0.0102858217, 0.009139522, 0.0269564725, -0.0234352704, -0.0096625313, 0.0171781126, 0.0394811407, 0.0137193911, -0.0093522752, -0.0352048539, 0.0174340364, -0.0421741344, 0.0182560086, -0.013228396, 0.019687254, 0.0156915914, -0.0260748994, 0.0779297203, 0.0184753891, 0.0533850081, 0.0160003547, 0.013598646, -0.0266161934, -0.0995713696, 0.0243850797, -0.0472572967, -0.0202572625, 0.0045954101, -0.0087721376, 0.0226306766, 0.0423886478, 0.0173555296, -0.0315841623, -0.0496865176, 0.0051914025, 0.0023209774, -0.0427294374, -0.0682330728, 0.0081250602, 0.0061125732, 0.0390754826, -0.0350639261, -0.0337436534, 0.0387681574, -0.031097874, 0.0115640694, -0.0783160552, 0.0379075408, -0.0409235284, 0.0289357752, 0.0179382302, 0.0227963887, -0.0007246612, -0.0044415537, -0.0261065736, 0.0606724322, 0.0302081089, -0.0702036098, -0.0040239003, -0.0266967118, 0.0190717392, -0.0146422647, -0.0462518446, -0.0666325167, -0.004617922, 0.0340760797, 0.0081979185, 0.0204808433, -0.0002303168, -0.0237635951, -0.0116213504, 0.0425247848, 0.0212775506, -0.0385981426, -0.0237626042, -0.0111293513, 0.0642902553, 0.0886804312, -0.0076660751, 0.0214955304, 0.0007361561, -0.0036352242, 0.0661364868, 0.0270600971, -0.0017228087, 0.0097331963, -0.029597817, 0.0501680151, -0.05916325, -0.0218595024, -0.0100907506, 0.0024898513, -0.0304283183, -0.0619721934, 0.1029082909, 0.0603654832, -0.0418597311, -0.0317161046, -0.0555794574, 0.0431301706, -0.002166451, 0.0509641767, -0.0772622079, 0.0070055053, 0.0156806372, 0.0515857004, 0.0093924534, -0.0242537856, 0.0042971345, -0.1326654702, 0.0756923705, -0.0010528381, 0.0432192124, 0.0030772081, -0.0365623869, -0.0296694431, 0.0386122391, -0.0384664387, 0.0670203716, 0.0049264557, 0.0429152474, 0.0220099259, 0.0164289977, -0.0340390131, 0.0024969045, -0.033360973, -0.0041362159, 0.072894074, 0.0396075062, 0.0269270316, -0.0428332835, 0.00940968, -0.0447808467, -0.0181263108, -0.0057850424, 0.0331873633, -0.0178807452, 0.0164922755, -0.0309330951, 0.0282146595, -0.023329027, -0.0092894034, -0.0085445223, 0.0506077223, -0.0333488919, -0.0078877909, -0.0680341423, -0.0117807044, 0.0073263175, 0.1052099094, 0.0059182714, -0.0219346266, -0.0231172182, -0.0204986092, 0.0590377264, -0.0543145537, -0.0285538342, 0.0167620555, 0.0256251767, -0.0109426714, -0.1257412434, -0.051587794, -0.0174012557, 0.0046660285, -0.016554011, 0.0294543616, -0.0270305965, -0.0323989578, -0.0519905239, 0.0124382768, -0.0318041891, -0.0376407318, -0.0585827827, -0.0221555345, 0.0646998137, -0.0676459819, -0.0229779854, 0.0282079596, -0.0071648909, -0.0383596011, -0.0018812969, 0.035520412, 0.0187212154, 0.0538999848, -0.0335732065, -0.0193415806, 0.0287751015, 0.0744125471, -0.067662552, 0.0228770468, -0.0110162031, -0.015106691, -0.020817114, 0.0375033431, -0.0962411091, 0.0301386006, -0.0312441718, 0.0743723512, 0.0164496973, -0.052353587, 0.0418653786, 0.0271904394, 0.0317295194, -0.0199540798, 0.0178312808, -0.0509779193, 0.0054847752, -0.028128257, -0.0362320766, -0.0400511436, 0.0157435406, 0.0401840061, -0.0034031372, -0.0065275268, 0.0597488917, 0.0115645016, 0.0889585614, -0.0190139581, -0.040597517, -0.0088774171, 0.0093021709, -0.0137707284, -0.0207604878, -0.0399472713, -0.0028509961, -0.0213263482, 0.062659502, -0.0293726884, 0.0332505107, 0.0102263372, -0.0190841015, 0.0019097717, 0.0057307817, -0.0698972791, -0.0197293516, -0.0465476885, -0.0068832347, 0.0225274283, -0.0063533448, 0.0565539524, -0.0438273959, -0.0216492862, -0.0460004136, 0.0003503756, 0.0418062992, -0.0212086663, -0.0008723293, 0.0249455646, -0.0124528948, -0.0134862978, 0.0904721096, 0.0009946295, 0.0094847521, -0.0082226181, -0.0257941969, -0.0429742336, -0.0466493405, -0.0311697777, 0.0107203517, 0.0023537546, 0.0085119102, -0.0379090756, -0.0318574049, 0.0176695623, 0.0172627233, 0.0064838841, -0.0188062321, 0.0441621579, 0.0866043866, -0.0224457365, -0.0181115158, -0.083149761, 0.0576749407, -0.0535074398, -0.0194269586, -0.0205173232, -6.532434431e-33, -0.0277785957, -0.0046630129, 0.0290492978, -0.0053872252, 0.0047784862, -0.0162352379, -0.0401365869, -0.0134899188, 0.0129397484, 0.0007971257, -0.015692899, -0.0075077447, 0.0026063146, 0.0466551632, -0.0071304492, 0.0217611231, 0.0318424143, -0.0083647417, -0.0287951585, 0.0490818731, 0.0792639032, 0.0332098231, 0.0065776138, -0.0551167876, 0.0213827137, -0.0481717177, 0.0209333356, 0.000553426, 0.0055886423, 0.0586723164, -0.0350761227, 0.0432168432, 0.0361562856, -0.0309277605, -0.0100048892, 0.0053122155, -0.1308225989, -0.0187357068, -0.0006578869, -0.0127877714, -0.0426908694, -0.0527798645, 0.03400914, -0.0025062431, 0.0224631596, -0.0184011534, 0.0444423668, -0.0261722337, -0.0339177065, -0.0785268769, -0.0470334589, 0.0211614147, 0.0180426501, 0.0056025698, -0.0169274751, 0.0452516116, 0.0154349878, 0.0525371768, -0.0567248203, 0.0124253705, -0.0072698011, 0.0711926222, 0.0301132128, -0.004150101, -0.0072615636, 0.0451979339, -0.0160907321, -0.0252903514, -0.023962345, -0.000979474, 0.0191162191, 0.0356844626, 0.0338874832, 0.0682349727, 0.031252604, 0.0018360229, -0.0557931885, 0.0873010978, 0.0073578698, 0.0260567199, 0.0217870828, 0.0011191793, -0.0106712896, -0.0185848717, -0.0310036168, 0.0091151809, -0.0313759036, -0.0107791536, 0.0617808551, 0.026371412, -0.0320998169, -0.0355429836, 0.0481658168, -0.0166977141, -0.0210662708, 0.0690134093, -0.0210096035, 0.0253824145, -0.0089906035, 0.0294780787, -0.0446891487, 0.0068053328, 0.0377956443, -0.0030015016, -0.0514540486, 0.0316989198, 0.0062342151, 0.0073268227, -0.0252732579, 0.0144013986, -0.0273860227, 0.0304617025, -0.0226676986, 0.0076980912, 0.0064560384, 0.0158266462, 0.0038187758, 0.0320993587, 0.0087043829, 0.0132396547, -0.0282501522, -0.0372093543, 0.0112633388, 0.0001892426, -0.0111203408, 0.0354609452, -0.0246602688, 0.0418454856, 0.02980561, -0.0540078878, 0.0071013174, 0.0391989499, 2.827e-7, 0.053183753, 0.0207569506, 0.0406907238, 0.0237117968, 0.0101610692, 0.0146279074, 0.0262364876, 0.0390169807, 0.0482716486, -0.0304093715, -0.0303372126, 0.0164868981, 0.0191372819, 0.0205682311, -0.1049508303, -0.0071140863, -0.0388900116, -0.0001318303, -0.0292606615, -0.0353146978, 0.0254741125, 0.0534506701, -0.0273356996, -0.0142960837, -0.0071910643, -0.0481639467, 0.0956192985, 0.0008470473, -0.0328965597, 0.0299410392, 0.0877022222, 0.0199793652, 0.0266490169, -0.0287261922, -0.0134977521, 0.014055741, 0.0205825549, 0.0303953346, 0.0139769474, -0.0501636788, 0.0184670668, -0.0325734839, 0.0154359965, -0.0633394122, 0.067395106, -0.0293170512, 0.0301103946, 0.0129497787, -0.058819361, 0.0123376232, -0.042902641, -0.0184670296, -0.0371690355, 0.0456431285, 0.0114381621, 0.0139780398, 0.0048277904, -0.0721715167, -0.0318721123, -0.0087852618, -0.063890703, -0.029754445, -0.0206967443, 0.0116604315, -0.0274952054, -0.0510190353, 0.0166422036, 2.809905599e-34, 0.032581877, 0.0152151706, -0.0321163796, 0.0044819191, 0.0279654153, -0.0263361223, -0.0388121642, 0.0480888709, 0.0099847876, -0.0878241882, -0.0220097378 ]
http://arxiv.org/abs/2402.01173v1
http://arxiv.org/pdf/2402.01173v1
Efficient Prompt Caching via Embedding Similarity
2024-02-02T06:34:11
2024-02-02T06:34:11
Hanlin Zhu, Banghua Zhu, Jiantao Jiao
cs.CL
cs.CL, cs.LG
Large language models (LLMs) have achieved huge success in numerous natural language process (NLP) tasks. However, it faces the challenge of significant resource consumption during inference. In this paper, we aim to improve the inference efficiency of LLMs by prompt caching, i.e., if the current prompt can be answered by the same response of a previous prompt, one can directly utilize that previous response without calling the LLM. Specifically, we focus on the prediction accuracy of prompt caching for single-round question-answering tasks via embedding similarity. The existing embeddings of prompts mostly focus on whether two prompts are semantically similar, which is not necessarily equivalent to whether the same response can answer them. Therefore, we propose a distillation-based method to fine-tune the existing embeddings for better caching prediction. Theoretically, we provide finite-sample guarantees for the convergence of our method under different types of loss functions. Empirically, we carefully construct a hard dataset based on Kwiatkowski et al. (2019) where the existing embedding model (Wang et al., 2022) only achieves an AUC of 0.51. We then fine-tune the above embedding model, which significantly improves the AUC of caching prediction from 0.51 to 0.81. We also conduct simulations demonstrating that our trained models achieve better caching efficiency than the previous embedding model.
Efficient Prompt Caching via Embedding Similarity: Large language models (LLMs) have achieved huge success in numerous natural language process (NLP) tasks. However, it faces the challenge of significant resource consumption during inference. In this paper, we aim to improve the inference efficiency of LLMs by prompt caching, i.e., if the current prompt can be answered by the same response of a previous prompt, one can directly utilize that previous response without calling the LLM. Specifically, we focus on the prediction accuracy of prompt caching for single-round question-answering tasks via embedding similarity. The existing embeddings of prompts mostly focus on whether two prompts are semantically similar, which is not necessarily equivalent to whether the same response can answer them. Therefore, we propose a distillation-based method to fine-tune the existing embeddings for better caching prediction. Theoretically, we provide finite-sample guarantees for the convergence of our method under different types of loss functions. Empirically, we carefully construct a hard dataset based on Kwiatkowski et al. (2019) where the existing embedding model (Wang et al., 2022) only achieves an AUC of 0.51. We then fine-tune the above embedding model, which significantly improves the AUC of caching prediction from 0.51 to 0.81. We also conduct simulations demonstrating that our trained models achieve better caching efficiency than the previous embedding model.
[ 0.0172155146, 0.036869444, -0.0022952373, 0.0343423001, -0.0221224092, 0.0272920039, 0.0136131309, -0.0168806463, 0.0220319144, -0.0117250467, -0.0155244367, -0.041309379, -0.0025924216, -0.0006440836, 0.0120349266, -0.0095052132, 0.0505703837, -0.035726238, 0.0132881673, -0.0151310479, -0.0076711378, -0.0043118186, 0.012041728, 0.0407936946, 0.0331983417, -0.0167785268, -0.0172396973, -0.0134074604, 0.0155574484, -0.0301166065, 0.0297793262, 0.0549947321, 0.0249039717, 0.0371466205, 0.0000020865, -0.0503876545, 0.0266226809, -0.0113144796, -0.0830171108, 0.0186074357, -0.0037693512, 0.0554483086, 0.0529333465, 0.0387570225, 0.0018418488, -0.0403634124, 0.0349944271, 0.02773959, 0.0679068789, 0.0328962915, 0.0208949316, -0.0237314478, 0.0234080963, -0.0343357325, 0.0101634739, -0.0443737209, 0.0115389302, -0.0522642434, -0.0126500912, 0.0237226058, -0.0251824744, 0.0418019816, 0.0494830906, 0.0185926091, -0.0316461846, 0.0562581718, 0.0051473696, 0.0069939326, 0.0055030249, 0.0598832555, -0.0041437414, -0.0238723606, -0.012141183, -0.0040835356, 0.0273939781, 0.0171917528, -0.0585105568, -0.0061807232, 0.0112691261, 0.0006234838, 0.0017907344, 0.0249760114, -0.0013696498, -0.0003545363, -0.013925096, 0.0311271306, 0.0317238756, -0.0339614674, 0.0038287805, -0.0038160633, -0.0136616062, -0.0465484932, -0.0109817358, 0.0253933426, -0.0407175384, 0.0007092275, -0.0312775783, 0.0254741404, 0.0256497487, 0.0064403694, 0.0603986047, 0.0308466498, -0.0083399573, 0.0631859973, -0.0400907472, 0.0638932884, -0.0073115337, 0.0088842493, -0.0470751412, -0.0000235931, -0.070716992, -0.0220324378, -0.0349894948, 0.0386071131, 0.0146871964, -0.0137814721, -0.0226488095, 0.0221828744, -0.0116073806, 0.0384559929, 0.0319326967, 0.031795755, -0.0094363168, 0.0113889966, -0.0419600233, 0.0525120832, -0.0852925405, 0.0164895039, 0.0130607616, -0.0605160818, -0.0546173602, -0.018032901, 0.0357087143, -0.0396604612, 0.0038377596, 0.0319854617, -0.0090092625, -0.0472570397, -0.0270391908, -0.0325441808, 0.0077719842, -0.0675727949, -0.0166959241, -0.0534629114, 0.0700591579, -0.0179786179, 0.0141179021, -0.0016670007, -0.0145106576, 0.0515831858, -0.0105905943, 0.0736753047, 0.0423100293, 0.0103150411, 0.0090146046, 0.0078494297, -0.0002021682, 0.027386589, -0.0106180646, 0.0053272122, 0.0395119786, -0.0322490297, -0.0153205264, 0.0053053969, 0.0232536476, 0.0002630544, 0.0509622134, 0.0352200344, 0.0400496349, 0.0337346755, 0.0342940353, 0.0228312835, -0.0290027745, -0.0665050074, 0.0646436438, 0.0568678826, -0.0228305738, -0.0332487114, 0.0380448885, 0.0314272903, -0.0139468461, 0.0390228927, -0.0725664571, 0.0316327512, -0.0006352293, -0.0026471515, 0.0481728129, -0.000876378, -0.0794829577, -0.0230192877, 0.0252145547, -0.0127651533, -0.0179747138, 0.0321720392, -0.0156398322, 0.0105514415, -0.0482713431, 0.056659054, -0.0026093412, -0.0240522791, 0.0044418187, -0.028851347, 0.039740786, 0.0355585366, 0.0232635457, -0.0164801329, -0.0042423583, -0.0451400094, 0.025838241, -0.0194103271, 0.0533552989, -0.0333875231, 0.0385922082, -0.0434110649, -0.0202539843, -0.0220506527, -0.0074880077, 0.002278259, 0.0142039694, 0.0244421549, 0.027235359, -0.0017883439, 0.0170888174, 0.0079035321, -0.0462775528, -0.1012003943, 0.0278164726, 0.0161905047, 0.0160936285, -0.0005312833, -0.0022261648, 0.034055952, 0.0174333137, -0.0594336241, -0.0354614072, -0.0063723521, -0.079881534, -0.0829751119, 0.0021888269, 0.0091246199, -0.0008531073, 0.0382631645, -0.0649340749, -0.0572807007, -0.0437491164, -0.0259878021, 0.0410904698, -0.0268039331, 0.0298654474, 0.011309525, 0.0123061519, -0.0381015763, 0.0570815057, -0.0483400822, 0.0612241216, 0.006345252, 0.0381684825, 0.0206711646, -0.0282746516, -0.0605650991, 0.0061202468, -0.0137941809, -0.0153550161, 0.050693471, -0.0060966634, -0.0417905562, 0.0049794633, -0.0752974302, 0.0213806909, -0.006594908, 0.0067306478, 0.0015706859, 0.0180602558, 0.0111253615, -0.0404699668, -0.0372738019, -0.0298239142, -0.0020607109, 0.0778674409, 0.0227576327, 0.0077700908, -0.0164217483, -0.0323274583, -0.0330410898, 0.0172474422, 0.0467702597, -0.0522351712, 0.03619764, -0.0454003364, 0.0439376533, -0.0005041529, 0.0166601557, 0.0096949963, 0.0063116369, -0.0064967046, 0.0010815597, 0.0243806262, 0.0703787506, 0.0083580725, -0.0257154852, 0.0153689981, -0.002047362, -0.0599980019, 0.0115384096, -0.0363942198, -0.0551193096, 0.0047513437, -0.0299812425, 0.0141922738, 0.0885418355, 0.0349803269, 0.0038601062, -0.0401273929, -0.0076528522, -0.0178798158, -0.0090978276, -0.0763881207, 0.0014025511, -0.0241356846, -0.0027718234, -0.022494521, -0.0558722578, 0.09438508, -0.032537654, 0.0077126641, -0.0235758536, -0.0249778815, -0.0186579376, 0.0658524409, 0.0217163637, -0.0012689722, 0.0065856744, -0.0210079532, -0.0716203228, 0.0040546488, 0.0255601052, -0.0424284525, 0.0205950066, 0.0049912464, -0.0100630401, -0.0191911273, -0.0727242976, -0.0722502694, -0.0445021503, -0.004261157, 0.0174568482, -0.0337307453, 0.0028586951, -0.0015407325, -0.0065436154, 0.0005083649, 0.0301583, -0.0265098494, -0.011086612, -0.0429918319, 0.0805483907, 0.0809081495, 0.0112529416, 0.0009100153, 0.0039796736, 0.0643605217, 0.0539756604, 0.0817344263, 0.032665886, -0.0038113566, -0.0086956583, 0.0387270972, -0.036299862, -0.0178578701, 0.0368539169, 0.0412019417, -0.0481815077, -0.0195644125, 0.1248283386, 0.0415781699, -0.0378580131, 0.0003409537, 0.005565817, 0.0499744788, 0.0446763709, -0.007420972, -0.049910292, -0.0457498729, 0.0211471822, 0.0187097192, -0.0006238231, -0.0407842509, 0.0004852249, -0.1415765136, -0.0066754958, -0.0157276969, 0.0171324536, -0.0449468568, -0.0478061587, -0.0037676906, 0.0101719182, 0.0202327706, 0.0045899637, -0.0070841336, -0.0147387488, 0.0160766076, -0.018276725, -0.0223507285, 0.0542800762, -0.0399895348, 0.0287572443, 0.0325428173, 0.0199761316, 0.0240540877, -0.0432784297, 0.0169547368, -0.0698985755, -0.0008745447, 0.0053454353, 0.0417002328, 0.0108545339, 0.0074087, -0.020648919, 0.0421702079, -0.0350257568, -0.0136093283, 0.0232272577, 0.0807838589, -0.0197199639, -0.0357682481, 0.0064134113, -0.0246806927, -0.0008253552, 0.1055488363, 0.0304151587, -0.0302682742, -0.0469479226, 0.0006845381, 0.026436409, -0.0031871272, -0.0071016094, 0.0091701513, 0.0317371413, 0.0366545729, -0.0307885297, -0.0362783186, 0.0124073112, 0.0112596462, -0.0321314447, 0.0218066256, -0.0143485656, -0.0081523024, -0.038787242, 0.0315182433, -0.0680758879, 0.0508180074, -0.0297407806, 0.0126298936, 0.0366313569, 0.0361963734, -0.0394728035, 0.0046812426, -0.1291229129, -0.0432915203, -0.0279894974, 0.0491612814, 0.0080531007, 0.0400938988, -0.0090051433, -0.0615642369, 0.0607246123, -0.0266466085, -0.0510173775, 0.0162374172, -0.0066159577, 0.0298077185, -0.0127796093, 0.0407546684, -0.0343005545, -0.0133201759, 0.010664586, 0.0423455276, -0.0169940609, -0.0539062768, 0.0250477195, 0.0112805869, 0.0205944981, 0.0304118451, 0.0045291167, -0.0307083223, 0.0477118157, 0.0441990495, -0.0087239919, -0.0060526486, 0.0044033118, 0.0409722626, -0.0412918925, 0.0062847282, -0.0189529676, 0.02290361, 0.043069873, -0.0584142283, -0.0327242725, 0.0236371867, 0.0040484611, 0.0248166397, 0.0143315112, -0.0511482619, 0.0041442397, 0.0053589703, 0.0311612505, -0.0290716253, 0.057440117, 0.00405723, 0.0308386311, -0.0110051045, 0.0132018132, -0.0776121691, -0.061634656, 0.0004236968, 0.0141736837, 0.0250290371, -0.0325678028, -0.0289769433, -0.0005080699, 0.001012523, -0.0315903164, -0.0062720473, 0.0144851804, -0.0238509569, 0.058800023, 0.0419512279, -0.0125027178, -0.0017107876, 0.0848380923, -0.0110113928, 0.05394255, -0.02450235, 0.0002979547, -0.0503979661, -0.038898237, -0.0145817399, 0.056026794, 0.005361537, 0.0181076117, -0.0453663543, -0.0708843842, -0.024494255, -0.0133763282, -0.0188704915, -0.0091998046, 0.0372193381, 0.0159097034, -0.0033224653, -0.0385420434, -0.0161867235, 0.0235002525, -0.0066061434, -0.0454260744, -0.0358015187, -6.340223472e-33, -0.017111646, -0.0055130119, 0.0177613851, -0.0293720383, -0.0151114212, 0.0106389858, -0.0188419633, -0.0304227956, -0.0450117253, -0.0089858435, -0.0381319188, -0.0031551986, 0.0180762894, 0.0337088779, -0.0058370186, -0.0553182587, 0.0770043805, -0.0133267185, -0.0252240505, 0.0534364209, 0.0506406128, 0.0133083016, -0.0051766895, 0.0116000641, 0.0032085429, -0.0109992037, 0.0342923924, 0.0357345082, -0.0169838909, 0.03152005, -0.0299812704, 0.0663694814, 0.0408540219, -0.0403892361, -0.0143545279, 0.0615283959, -0.0963136777, -0.0750620365, -0.0076962863, -0.0300796852, -0.0371033214, -0.0151612572, -0.0143051585, -0.0184189938, 0.0167147964, -0.0015804633, -0.0028417315, 0.0160745028, -0.030268129, 0.0152892629, -0.0141870333, -0.0030539613, -0.011739675, -0.0356516019, -0.0081244027, 0.0738933384, 0.0354321636, 0.0208175518, -0.0763250589, -0.0096301604, -0.0422010943, 0.0778197721, 0.028843591, 0.0085244523, 0.0135731315, 0.044486925, 0.0067141522, -0.0183881857, -0.0043110312, 0.0017949664, 0.0055725817, 0.0281941872, 0.0272422694, -0.0022402976, 0.0503785722, -0.0263840631, -0.0139457723, 0.0309892315, 0.0315103233, 0.0743990615, 0.04769779, -0.0039012467, -0.0179789625, -0.0546496995, -0.0975402817, 0.0359605476, -0.0297837183, 0.0220612455, 0.0686289519, 0.0475163646, -0.0108611211, -0.0299088843, 0.0620933026, -0.0283534322, 0.0054207826, 0.0404006802, 0.0091868583, 0.0002698596, 0.0131532988, 0.0366307795, -0.0446169898, -0.0015669136, 0.0009753242, -0.0423289202, -0.0035486221, 0.012798477, 0.0157065876, 0.009151387, -0.0948714614, 0.0018887818, -0.049500607, 0.0258237645, -0.0102883447, -0.0071587982, 0.0420528427, 0.0200632866, -0.0029697849, 0.0383479558, -0.0022716473, -0.0275333468, -0.0037085165, -0.0126603534, 0.0037680054, 0.0126836682, 0.002138169, 0.0091469064, -0.0402550399, 0.0360087417, 0.0106718205, -0.0419514775, 0.0051628975, 0.0237337351, 2.656e-7, 0.004052625, -0.0272446647, 0.0146832289, 0.0385600626, 0.0117359683, 0.0366340093, 0.020292826, 0.0459378697, 0.0071130036, -0.0408630185, -0.0163935479, 0.0239310954, 0.0361832716, 0.0234406888, -0.0982640162, 0.0069032693, -0.100793235, 0.0182032231, -0.0513524562, -0.0414005406, 0.0422090739, 0.1126480997, 0.0178654641, -0.0191671271, 0.0108142169, -0.02308481, 0.040921092, -0.0169834178, -0.0057178801, 0.0102427239, 0.017801078, -0.010758765, 0.0317902863, 0.0243813787, -0.0256747268, 0.0171346851, -0.0011921399, 0.0459440723, 0.0417870358, -0.0533226207, -0.0333150588, -0.027019687, -0.0057800109, -0.0494553335, 0.1024660841, -0.0506956205, -0.0166284423, -0.0644317865, 0.0177806448, -0.0086906618, 0.0649349838, 0.0049348711, -0.0289403666, 0.0235310905, 0.0178397894, 0.0119470395, 0.0026307963, -0.0846844763, -0.0111547764, -0.0110695576, -0.0571469367, -0.0492949411, -0.0558898896, -0.0288848989, 0.0155170979, -0.0463888235, -0.0089557646, 2.605781464e-34, 0.0238229074, 0.0005961985, 0.0575034283, 0.0353951789, 0.0351913981, -0.0222073663, -0.000333524, 0.0183634441, 0.0454795472, -0.100477457, -0.0266227853 ]
http://arxiv.org/abs/2402.01172v1
http://arxiv.org/pdf/2402.01172v1
Streaming Sequence Transduction through Dynamic Compression
2024-02-02T06:31:50
2024-02-02T06:31:50
Weiting Tan, Yunmo Chen, Tongfei Chen, Guanghui Qin, Haoran Xu, Heidi C. Zhang, Benjamin Van Durme, Philipp Koehn
cs.CL
cs.CL, cs.SD, eess.AS
We introduce STAR (Stream Transduction with Anchor Representations), a novel Transformer-based model designed for efficient sequence-to-sequence transduction over streams. STAR dynamically segments input streams to create compressed anchor representations, achieving nearly lossless compression (12x) in Automatic Speech Recognition (ASR) and outperforming existing methods. Moreover, STAR demonstrates superior segmentation and latency-quality trade-offs in simultaneous speech-to-text tasks, optimizing latency, memory footprint, and quality.
Streaming Sequence Transduction through Dynamic Compression: We introduce STAR (Stream Transduction with Anchor Representations), a novel Transformer-based model designed for efficient sequence-to-sequence transduction over streams. STAR dynamically segments input streams to create compressed anchor representations, achieving nearly lossless compression (12x) in Automatic Speech Recognition (ASR) and outperforming existing methods. Moreover, STAR demonstrates superior segmentation and latency-quality trade-offs in simultaneous speech-to-text tasks, optimizing latency, memory footprint, and quality.
[ -0.0478401072, 0.0253870822, -0.0005783228, -0.027182918, -0.0218983293, -0.0109532028, 0.0155307893, -0.0076882681, -0.0562526919, 0.0033001765, -0.0024900171, -0.0439474583, 0.0448593386, 0.0666727498, 0.0200953893, -0.0726904869, 0.046039965, -0.0240586754, -0.0154756978, 0.0158290248, 0.0247474294, 0.0080030449, 0.000291594, 0.025981918, 0.0179129764, 0.0188715849, -0.0375298783, -0.0271863304, 0.025967842, -0.0268317964, -0.0468693748, 0.0107778208, 0.0591411702, 0.0157166645, 0.000001879, 0.0224521235, -0.03600448, -0.0008008227, -0.0605967641, 0.0165054612, -0.0150377546, -0.0725311935, -0.0311288796, 0.0412277579, 0.0219013859, -0.0373962335, 0.0451430082, 0.006620002, 0.0441248827, 0.0380560718, -0.0213952269, -0.0534414947, 0.0703569576, -0.0243619569, -0.0267236494, 0.0093973642, -0.0214346517, -0.0140939197, -0.02949683, 0.0057482794, -0.0548756048, 0.0394240655, 0.0309171993, -0.0180771351, 0.031436462, -0.0011062485, -0.0647065267, -0.0408646166, -0.0339565538, 0.0331600383, -0.0603360906, -0.0383880362, 0.0087889256, -0.0027055163, -0.0094638225, -0.0678934678, -0.0312182363, 0.0411663055, 0.001149006, 0.0159885865, 0.0094917063, 0.0086447848, 0.0198630989, -0.0485786609, -0.0128090633, -0.0426908843, -0.0012259213, -0.0168061107, -0.0454559028, 0.0021578609, -0.0175668467, 0.0002214503, 0.0617950447, -0.0084616514, -0.0223879069, 0.0072748009, -0.0544956326, -0.0465553813, -0.0278356206, -0.0133094909, 0.0895596221, 0.0629659742, 0.0154540548, -0.0070449552, -0.0299826134, 0.0570043065, -0.0071352734, -0.0264921356, -0.0235649887, 0.001379066, -0.0182333943, -0.0114984475, -0.0340238698, 0.0394067392, -0.0416407026, -0.0397336297, -0.0215543658, 0.0206694454, 0.0271460824, -0.0330658667, 0.0128227053, -0.0132710598, -0.0409784503, -0.003865547, 0.074769713, 0.0929790139, -0.0047892346, 0.0151676051, 0.0338526145, -0.0282478314, -0.0266180225, 0.0217090882, 0.0239953008, 0.0003180045, -0.0103425682, -0.0229516737, -0.0086934464, -0.0415446311, 0.0000820273, 0.0019191748, 0.0130080916, -0.0166984275, 0.0179230329, -0.0375153683, 0.0398349278, 0.010114735, -0.0101272557, -0.0404812023, 0.0052811848, 0.0320003293, 0.0041688732, 0.0273843519, 0.0234663803, -0.013068663, 0.0191181991, 0.0004644874, 0.0318001844, 0.0411515236, 0.0523921475, -0.0075660772, -0.0160550978, -0.0416861214, -0.0432533138, 0.0370580778, 0.0139614595, -0.0240207817, -0.0546455272, -0.0164046083, -0.0031732833, 0.020559147, 0.0597224571, 0.0662939772, -0.0314487964, -0.0391134918, 0.0445604622, 0.0932439566, 0.0525253415, 0.069097355, 0.0342822894, 0.0368174575, -0.0218797866, -0.0147406161, 0.0467960425, 0.0586286336, 0.0466421433, 0.0304616466, 0.0233365446, 0.0547055602, -0.0179996621, 0.0100334454, -0.0278008282, -0.0159958769, -0.0196595415, -0.0115162246, -0.0090139974, 0.0230166577, -0.067028217, 0.0831073374, -0.0627196655, -0.0778056756, 0.0020591826, -0.0242835712, -0.0438914672, 0.018565556, 0.0090191653, 0.0068158838, -0.0207567979, -0.049586039, 0.0157661717, -0.0060469257, 0.0068967291, 0.0179391298, 0.0274025854, -0.0452497341, 0.0095665762, 0.0611301698, 0.0076649389, 0.0712892115, 0.0007769043, 0.0212834179, 0.0306412634, 0.0045085191, 0.0256924424, -0.0103997895, -0.0088037644, -0.0208939295, 0.0324124247, -0.0162495244, 0.0361863151, 0.0084780548, -0.004179473, 0.0176952779, 0.0601768456, -0.0388874374, 0.0134863649, 0.0557780154, -0.0820114538, -0.0132934637, -0.0063942042, -0.0396943986, 0.0284174979, 0.0737320483, 0.0277144741, -0.0826202184, 0.0289931204, -0.0442477725, 0.0336645953, -0.032485541, 0.0302985217, 0.0473516211, 0.0377970785, 0.0410898216, -0.0282777995, -0.0072744391, 0.0067534372, 0.0011151045, -0.0197703484, -0.0465299189, -0.0614238828, 0.0094138701, 0.0120231332, -0.0193481408, -0.0164005235, 0.0085811913, -0.05079313, 0.0040651131, -0.0050900267, -0.005038748, 0.0021883373, -0.0063890214, 0.0569581613, -0.0205309782, 0.0575001314, 0.0260701664, 0.0315198265, -0.0379387289, -0.0394964777, 0.0184603501, 0.0119333882, -0.0215769093, -0.0101718577, -0.0368018299, 0.0096916873, -0.0371832065, 0.010235751, 0.0443752669, -0.0224807728, -0.0344322063, -0.082397759, -0.0502478071, 0.0801916495, 0.0074745924, -0.0010575496, -0.0136768892, -0.0279575493, 0.0008621411, 0.0317964181, 0.029030785, 0.0010304844, -0.0129988194, -0.000895337, -0.0064231525, -0.0144391051, -0.0082433149, -0.0078661721, 0.0729973093, 0.0090546617, 0.022176601, -0.0058510252, 0.0476080403, -0.0058043948, 0.0118966056, -0.0407496467, -0.0679533333, 0.0251871608, -0.0104633151, -0.0125136478, -0.0828298852, -0.043671038, 0.0023170398, -0.0057797339, -0.0352723859, 0.0213751886, -0.0543627217, -0.0535900667, -0.0069077159, -0.0164759047, -0.0433255695, 0.0378084294, -0.0012367863, -0.0069681322, -0.0043965373, -0.0413252302, -0.0093900571, 0.0778449103, -0.0305924416, -0.0472397096, 0.0299557578, -0.0052886591, -0.0395990312, -0.0269774385, -0.0195138194, -0.0136001827, 0.0116583593, 0.0063720415, 0.042780187, 0.0710439235, -0.0373353399, -0.063341476, 0.0584873855, -0.0020622828, 0.0427599177, 0.0145262694, 0.0130066052, -0.0233013835, 0.0456265695, -0.0244354978, 0.0198261943, 0.0245127361, 0.0505840667, 0.036842078, 0.023973003, 0.102848433, -0.0009680864, -0.0092675621, 0.0211590398, 0.0503437817, 0.0025699579, -0.0318986438, 0.0184009429, 0.0260176379, -0.0785806924, -0.0088046668, 0.0704864338, 0.0350988209, -0.0102356784, -0.0131691592, 0.0092843324, 0.0468874499, -0.0097175399, 0.0130752502, -0.0465499423, -0.0214398, 0.0264543816, 0.0205529332, 0.0500003882, 0.0124607915, -0.0187463481, -0.0638626069, 0.0196586251, 0.0369143635, 0.0041015577, -0.033095181, -0.0626922622, -0.0405751914, 0.0026233317, 0.0071042525, 0.019858649, -0.0160335023, -0.0210256986, 0.0257148854, -0.0636924729, -0.0239330307, -0.0006734254, -0.0000173, 0.0685299262, 0.0685698166, 0.0129478658, 0.0304402784, -0.0188104734, 0.0202876199, -0.0320933647, -0.0083546592, 0.0051446487, -0.0329612456, -0.0009724904, 0.0040825116, 0.0418785103, 0.032476671, -0.0258935262, 0.0135910371, -0.0451261401, 0.0725456998, 0.0201289095, 0.0131425466, -0.0089957826, -0.0066271536, -0.0340224542, 0.0509229004, -0.0119983619, 0.0118830903, -0.0320391059, -0.0129991546, 0.0335206613, -0.0160593186, -0.0635852888, -0.0032596856, 0.0344814546, -0.1062252745, -0.0338301919, 0.0258489884, 0.0012334518, 0.0170530453, -0.0001327233, 0.0169678889, 0.0432318337, 0.0147255762, -0.0586118922, -0.0153228659, -0.0035728544, 0.0170518197, -0.0736117065, 0.0004175755, 0.0405186117, -0.0225263648, -0.0161898471, 0.0539245233, -0.0941252857, -0.0276627745, 0.0247718208, -0.0083028255, 0.0138841039, 0.0370897874, -0.0059676613, 0.0338784792, -0.0041124434, 0.0366957448, -0.0354418978, 0.0131200273, 0.0454522073, -0.0563827418, -0.0002359613, 0.0184971821, -0.021540612, -0.0005131701, -0.0614315383, 0.0224382263, -0.0224376712, -0.0010009103, 0.0033550544, 0.0228332952, 0.0495436229, 0.0099483272, 0.0155194551, 0.0471615754, 0.0585125238, -0.0017644482, 0.0808907747, -0.0368466116, 0.0227787085, 0.0130139114, 0.015010044, 0.0041988576, 0.0355013683, 0.0213953834, -0.0749062225, -0.0126980226, 0.0458958112, 0.0222639255, -0.0404675975, 0.003612238, -0.0060601691, -0.0141503867, -0.0178436283, 0.0369831212, 0.0278213415, -0.0673275441, 0.0019426323, -0.0051956116, 0.0519569851, 0.0207032897, 0.0272416212, -0.0435546413, 0.0416044332, -0.0434826165, 0.037967898, 0.013563931, 0.0117596174, 0.0343842655, -0.0263531841, 0.0368099548, -0.0298122335, 0.0336386003, -0.0546867736, -0.0486295484, -0.0151301362, 0.01279011, -0.0114498669, 0.0027432949, 0.0361984894, 0.0078679621, 0.0185899921, -0.0025483274, -0.0131700207, -0.01719792, -0.0341096334, -0.0728647634, -0.0170592051, -0.0096521527, -0.0346881412, -0.0118506933, -0.0447471887, 0.0478338003, -0.0336227044, 0.0668780357, -0.0520004183, -0.0013555392, 0.0107029695, -0.0217018425, 0.0024927841, 0.0144078704, -0.0308940355, -0.0208369717, -0.0240058377, 0.0165669192, -6.001196943e-33, 0.0024845628, 0.0444223583, -0.0014537575, -0.0116190035, -0.0385985896, 0.0354053788, -0.0168850571, -0.0033294316, 0.0200798828, -0.0510812402, -0.0279876348, 0.0260820258, 0.0305103473, 0.035566356, 0.0007611746, -0.0063869371, 0.0902596414, -0.0344564877, 0.0026719638, 0.0330887288, 0.0032901934, 0.0224633683, -0.000559422, 0.0130890058, -0.0597760826, 0.0040578507, 0.0200720876, -0.0604816899, 0.0542444959, 0.0228927173, 0.0205410421, 0.020252794, -0.0243446194, -0.0881847292, -0.0376847759, 0.0601837225, -0.1133116186, 0.0226661935, -0.0045043845, 0.0144112296, 0.0053300229, -0.0198896695, 0.0078992052, 0.0059102215, 0.0047744066, -0.0509242974, -0.0340475552, -0.0142361885, -0.0532858074, -0.075866282, -0.0070987083, 0.0292941369, -0.0388979465, -0.0049867807, 0.0653337091, 0.0685288161, -0.0305723418, -0.0717873871, -0.0532293916, 0.0570301563, 0.0286907423, 0.0752038881, 0.0242657512, -0.0203783643, 0.016810514, -0.0298179779, 0.0291400068, -0.0814409181, 0.0051996298, 0.0813982785, 0.0227883626, -0.0180026181, 0.0469927639, -0.0297673997, 0.0684539825, -0.0614883676, -0.0200343635, -0.0103326133, 0.0385402106, 0.0027479299, 0.0414932407, 0.0505256318, -0.0130371647, 0.006185187, -0.0174703114, -0.0143257985, -0.0075023803, -0.0111092543, 0.0454291031, 0.0389787406, -0.0009275289, 0.0549953468, 0.0908964574, 0.0028065604, 0.0333735459, 0.0057822256, -0.0045174342, 0.0245837104, -0.0076769707, 0.0119805289, -0.0354825594, -0.0109822182, 0.0647702962, 0.0234919377, -0.002419099, -0.013099459, 0.0150888469, 0.0721991211, -0.0545818508, -0.0254508201, -0.0019476269, 0.0366606116, -0.0190990381, -0.0076597631, 0.0515345484, -0.013220543, 0.0096558137, 0.0267259404, -0.048683919, 0.0231543295, -0.01128574, 0.0112503264, -0.0150284115, 0.0603784621, -0.0403872058, 0.0056467955, -0.0339442305, 0.0213183183, 0.0550402552, -0.0420997962, -0.0330309682, 0.0385124981, 2.653e-7, -0.0375946239, 0.0483828224, 0.0362013802, -0.0432093069, 0.0173902586, -0.0250692628, 0.0150512662, 0.0334262736, 0.0310678091, 0.0333634168, -0.0099620149, -0.0306719597, 0.0547389723, 0.0234598182, -0.1337790638, -0.0487635285, -0.0651750416, 0.0343586802, -0.0061989278, -0.0014522929, -0.00311505, 0.0894755721, -0.057385847, -0.0216643736, 0.0531513207, -0.0071279258, 0.0075073605, 0.0297202673, 0.055785913, -0.0591920018, -0.0185416341, -0.0152447866, -0.0397220291, -0.020252578, -0.0389060751, 0.0056633279, 0.0113362633, 0.0545368344, 0.008091528, -0.0696611777, 0.0074761827, 0.0358169377, -0.0363849849, 0.0472420678, 0.044347018, -0.0110636298, -0.0036520574, -0.0080628907, -0.0516630039, 0.0273145176, -0.0427736901, 0.0160225052, 0.0297694039, 0.020178657, 0.0119063593, -0.005584856, -0.0061125029, -0.041376058, -0.0093795201, -0.0232896805, -0.0372025892, 0.0024843982, -0.069762215, 0.0058389124, 0.0219896063, 0.0040207207, -0.0693870187, 2.716831013e-34, 0.0047295936, -0.0234664585, 0.0070351013, 0.0269341748, 0.0030356543, -0.0404160954, 0.0122690182, 0.0413994789, -0.0203359928, -0.0556383729, -0.0793223828 ]
http://arxiv.org/abs/2402.01799v2
http://arxiv.org/pdf/2402.01799v2
Faster and Lighter LLMs: A Survey on Current Challenges and Way Forward
2024-02-02T06:29:34
2024-04-24T04:58:46
Arnav Chavan, Raghav Magazine, Shubham Kushwaha, Mérouane Debbah, Deepak Gupta
cs.LG
cs.LG, cs.AI, cs.CL
Despite the impressive performance of LLMs, their widespread adoption faces challenges due to substantial computational and memory requirements during inference. Recent advancements in model compression and system-level optimization methods aim to enhance LLM inference. This survey offers an overview of these methods, emphasizing recent developments. Through experiments on LLaMA(/2)-7B, we evaluate various compression techniques, providing practical insights for efficient LLM deployment in a unified setting. The empirical analysis on LLaMA(/2)-7B highlights the effectiveness of these methods. Drawing from survey insights, we identify current limitations and discuss potential future directions to improve LLM inference efficiency. We release the codebase to reproduce the results presented in this paper at https://github.com/nyunAI/Faster-LLM-Survey
Faster and Lighter LLMs: A Survey on Current Challenges and Way Forward: Despite the impressive performance of LLMs, their widespread adoption faces challenges due to substantial computational and memory requirements during inference. Recent advancements in model compression and system-level optimization methods aim to enhance LLM inference. This survey offers an overview of these methods, emphasizing recent developments. Through experiments on LLaMA(/2)-7B, we evaluate various compression techniques, providing practical insights for efficient LLM deployment in a unified setting. The empirical analysis on LLaMA(/2)-7B highlights the effectiveness of these methods. Drawing from survey insights, we identify current limitations and discuss potential future directions to improve LLM inference efficiency. We release the codebase to reproduce the results presented in this paper at https://github.com/nyunAI/Faster-LLM-Survey
[ -0.0542043522, 0.048993703, -0.0052427533, 0.0578835569, -0.0345442556, -0.0229820255, -0.0072522764, 0.0285519864, -0.0062797708, 0.019763669, -0.0008341146, 0.0168181378, 0.0136247575, -0.0274963453, 0.031855505, 0.0358672328, 0.0221842956, -0.0220442917, -0.0516858958, -0.0363561399, -0.0424506739, -0.0320151933, 0.0373888873, -0.0031467483, 0.0288559571, 0.0155246612, -0.0307891872, 0.0568311997, 0.0152552752, -0.0186467785, -0.0305472668, 0.028119158, 0.0331589617, 0.0077420408, 0.0000021155, -0.0127178924, 0.0179084446, 0.039214205, -0.0364161283, 0.0741017833, 0.0279385839, 0.0166643597, -0.0079066539, 0.0194317866, 0.0474429727, 0.0090461411, 0.0599518903, -0.0131782778, -0.0222916584, 0.017005058, 0.0326240472, 0.0067319619, 0.0191397853, -0.0286934692, 0.0077082333, -0.018556755, 0.0109836012, -0.0121260164, 0.018586142, -0.0108506, 0.0022907997, 0.0022489675, 0.0295564681, -0.0029229375, -0.0197333153, 0.0098924702, 0.0274744984, 0.0001031689, -0.0170910638, 0.031727843, 0.0082561383, -0.0456886292, -0.0046263812, -0.0142206252, -0.0449518263, -0.0027420018, -0.0405476242, 0.0320594162, -0.0011940432, 0.0275052581, 0.0161309186, 0.0007682104, 0.0579231903, -0.0126489447, -0.0254937429, 0.0780450776, 0.049601011, 0.028411651, -0.0153617812, 0.0043766471, -0.0007500915, -0.0549507588, -0.0156779885, 0.0024526231, 0.0176139846, -0.0187119134, -0.0379364826, 0.0126160001, 0.0194710102, -0.0272517707, 0.0945440531, 0.0583170727, 0.0056611202, -0.0037877464, -0.0556439497, -0.0223752353, -0.056747023, 0.0033615029, -0.0218461603, 0.0164619368, 0.0483136475, 0.0213776324, 0.0188570935, 0.0504817702, -0.0434271879, 0.0251545571, -0.0421355441, 0.0132898502, 0.0178507082, -0.0256496761, 0.0033196798, -0.0058153812, 0.0020530657, 0.0087459972, -0.0219978206, -0.0070625371, -0.0401829742, 0.0246194024, -0.0057939701, -0.0397905335, -0.0499960333, 0.0282872152, -0.0306657571, -0.0098109096, 0.0550952144, 0.0703357756, 0.0148763442, -0.0563470386, -0.055281613, -0.0121868905, 0.0276273582, -0.0553501472, 0.0425471701, -0.0697080046, 0.0470818393, -0.0367736332, -0.0002690054, -0.0106338151, 0.0150330625, -0.0149591686, -0.0081477035, 0.0434221625, -0.0082234982, -0.0138701834, -0.00687285, 0.0381816216, 0.006480502, 0.0969707519, 0.0164206438, 0.0539956987, -0.010365963, 0.0036702706, -0.0178891234, 0.039598994, 0.0662455484, 0.0133985253, -0.0417680778, -0.0217691492, -0.032694377, 0.0106892558, 0.050210122, 0.0048134634, -0.0236745141, -0.0407407768, -0.0053251311, 0.0471359938, 0.0262957755, 0.0267312974, 0.0002235576, -0.0233590957, 0.0369227491, -0.0090862457, -0.0530888774, 0.0735879391, -0.0742444545, 0.0117440708, 0.0511474237, 0.0652031675, -0.0209126081, -0.0473085754, -0.061470069, -0.0231668353, -0.0353108644, 0.0051060612, 0.0111075146, -0.0324954838, -0.016051596, 0.106807299, 0.0535188168, -0.0833115354, -0.1040822864, -0.1042086333, 0.0513570122, -0.0102720791, 0.0237436984, -0.0187972914, -0.0500059351, 0.0562078916, -0.0052914727, -0.005189619, -0.0174898766, 0.0297204349, 0.0444243439, -0.0156699605, -0.0072089778, -0.0059284093, 0.0263866074, 0.0224388, 0.0481431186, -0.0325156301, 0.0134893386, -0.0566525534, -0.0072060376, 0.0075843153, -0.0146363629, 0.0094054379, 0.0544441603, -0.0046725948, 0.0442277826, -0.0224357042, -0.0102121104, -0.0345657729, 0.0776178539, -0.0536446199, 0.0015179839, -0.0477319509, 0.0001371514, -0.0447895192, 0.0404598266, -0.0278104879, 0.0337362476, 0.0142255044, -0.0642637089, -0.020824261, 0.0096138911, -0.0298372135, 0.0117481779, -0.0462392941, -0.0029302319, -0.0023439121, 0.0335537195, 0.0085282894, 0.0359107964, -0.0640390366, -0.0247177407, 0.0577327274, 0.0007760607, 0.0167212449, 0.0080932062, 0.0089640934, -0.0071304352, 0.0152939707, -0.0332262926, -0.0363273397, 0.0045564966, 0.0422823504, -0.0143257705, -0.0276034772, 0.0470412076, -0.0087945042, 0.040350534, 0.0222132783, 0.0184981171, -0.003712547, 0.0426852405, 0.0298654381, 0.0358803645, -0.0196734965, -0.0137584247, 0.010999606, -0.0295395367, -0.0698065609, -0.0180939808, -0.0386756137, 0.0042161536, 0.0448331088, -0.0664878264, -0.0393730514, -0.0307581425, 0.061256893, -0.0109161921, 0.0005736029, -0.0327734612, -0.0171847735, -0.0188127756, -0.0239872076, 0.0028237163, 0.0706618279, -0.0480808355, 0.0283758119, 0.0715819076, 0.0179739688, -0.0399752818, 0.0205243025, 0.0124160666, -0.0210330784, 0.0032479938, -0.0542082973, -0.0497520193, 0.072973147, -0.0483609997, -0.0211329795, -0.0001285282, -0.0388040133, 0.0511873811, -0.0664801747, 0.0284007117, 0.027991401, -0.0114430292, 0.0291846693, 0.0236908775, -0.0610844865, 0.0265544765, -0.0707841665, 0.0179190151, 0.0350493714, -0.0540000647, -0.0477306619, 0.017248854, 0.0030075936, 0.0353810452, -0.0377012491, 0.0360270143, 0.0178431328, 0.0154472869, 0.0058595431, -0.0198377185, 0.023669824, -0.0110438112, 0.0117115211, -0.0249880217, -0.0289008319, 0.0332113132, 0.0476082116, -0.0088381618, 0.0100938883, -0.020253215, -0.0307674035, 0.0077714934, -0.0008408224, 0.0003338636, -0.0279249214, -0.024217315, -0.0090374025, -0.0288326759, -0.004264643, -0.0233721435, 0.0100086862, 0.0848317444, -0.0182850789, 0.0098476913, 0.0339192338, 0.0013600304, 0.0345787331, -0.0706197396, -0.0277092271, 0.0626920164, 0.0140465563, -0.0426002666, 0.0692508593, 0.0369360112, -0.0462265275, 0.0021362365, 0.0280691814, 0.0084047923, -0.0473521873, 0.0073914845, -0.0255314764, 0.0691617206, 0.0227196831, 0.0596346259, -0.0789372623, -0.0464500114, 0.0510002188, 0.0297452621, -0.0226942748, 0.012715051, 0.0032609454, -0.0630432963, 0.0439831801, 0.0144937811, 0.0448338576, -0.0132863652, -0.0860729069, -0.0081600659, 0.0093588922, -0.0193971507, 0.0280236769, -0.0072358069, -0.0104598096, -0.0118299192, -0.0401431024, -0.0063688681, -0.0000872705, 0.022018237, 0.0102077918, 0.0089974161, -0.0134664997, -0.0263486318, -0.0360628292, 0.0500883125, 0.0341341123, 0.007915671, -0.0753993541, -0.0091034267, 0.0496318154, 0.0172235575, -0.0128288399, 0.0274389163, 0.0240028705, -0.0100659933, -0.036204651, 0.0587012656, -0.0333608538, -0.0231646486, -0.0176727939, -0.0168502722, -0.0232188888, 0.0661028177, 0.0258138608, 0.0287607517, -0.0614679419, -0.0354500897, -0.0504537784, -0.0069624237, 0.0008261378, -0.0135896523, 0.0041675665, -0.0199975949, 0.0399785005, 0.0669018254, -0.0300057102, 0.0115241557, -0.0159920882, -0.0343340077, -0.0251203384, -0.0395489037, -0.0856460333, -0.0091414899, -0.0381797664, 0.0303313415, -0.0338331088, 0.0339109637, 0.0410789251, -0.0148925781, 0.0050528492, 0.0642894953, -0.1389870495, -0.0611313507, -0.0506812669, 0.0713888407, 0.0228594635, 0.0573551096, 0.0330723077, -0.0081730625, 0.0460962616, 0.0614908114, 0.0024236352, 0.0864930451, 0.0055480143, -0.0073678647, 0.0182334688, 0.0085561546, 0.0054757996, 0.0091794254, 0.0166587215, 0.0218617208, 0.0087253815, -0.0759266019, -0.0553538688, 0.0683034137, 0.0165129956, -0.0043943985, -0.0365463495, 0.0303956941, 0.0723367855, -0.0155505212, 0.0331019759, -0.0341180786, 0.0090920394, -0.0076838089, -0.0330315419, 0.0069826124, -0.0005097248, 0.0730878636, 0.0081698857, 0.0038057468, 0.0235917699, -0.0253604855, -0.042067036, 0.0275668036, -0.0115435719, 0.004109995, -0.0017654703, 0.0236689392, 0.0686169639, -0.0314151756, -0.0102064386, -0.0179162733, 0.0487679206, -0.0734723359, 0.0256680157, -0.0094934907, -0.0575217605, -0.033944726, 0.0595591404, 0.0578873307, 0.0601194724, 0.0447545908, -0.0238154568, 0.0023046283, -0.0035372761, 0.0463757515, -0.0059030363, 0.0417613946, 0.0542530157, -0.0095539056, -0.0174633488, -0.0338174365, 0.0213728715, 0.0346477926, 0.0457238667, -0.0323346406, 0.0239458494, -0.0011324437, -0.06190053, 0.004494349, 0.0050890199, 0.024899723, -0.0710152015, -0.0460115224, -0.0151675567, 0.0414902121, 0.0237659365, -0.0142533621, -0.0315145217, 0.0051469896, 0.0416690074, 0.0426850095, -0.037473686, 0.0404908434, -0.0593498535, 0.0052309241, -0.0161611401, 0.054944016, -6.446826851e-33, -0.0434296988, 0.0044670911, 0.0197833367, 0.016912736, -0.0234272648, -0.0297232084, -0.0236083213, -0.0206929371, 0.0211313814, -0.0218652375, -0.0102497237, 0.0034369528, 0.0136348903, -0.0271079447, -0.0329305381, -0.0024590974, 0.023370618, 0.0098240506, -0.0323039256, 0.0015362027, -0.0132200373, 0.0148315942, 0.0065062186, -0.0069783186, -0.062446449, 0.0332837328, 0.0123713864, -0.0139809726, -0.0621274225, 0.0144032147, -0.0269413982, -0.0111521976, -0.0401942097, -0.0126026766, 0.0003836276, -0.0280573573, -0.0457623787, -0.0198868159, 0.0506389365, -0.0337670259, 0.0005579729, -0.0960073397, 0.0281128436, 0.0901624039, -0.0490408689, -0.0648455843, -0.0199798588, -0.0152168078, -0.0125729395, -0.0554175824, -0.0146929147, 0.0077352924, 0.0288621131, 0.0418155864, 0.0289976969, -0.0212522838, -0.0456209518, 0.0230658147, -0.0082571562, -0.0003941794, 0.0492313132, 0.0434930548, 0.1050013676, 0.0111695426, 0.016401764, 0.0141246384, 0.0004423531, -0.0311202332, -0.0543969683, 0.0090579493, 0.0132947015, 0.0624237582, 0.0123483082, 0.0204529092, 0.0343001671, 0.0141939027, -0.1087733731, 0.0379816107, 0.0435468182, 0.0379652157, 0.0056638364, 0.0063987025, 0.0147956582, -0.0209666006, -0.005472912, 0.012498742, -0.0120780189, -0.0272832494, -0.0207959041, 0.0027896247, -0.0531039797, -0.0364660956, 0.0273607466, -0.0412917137, 0.0252599996, -0.001714144, 0.0117399115, -0.0139470911, 0.0380611159, 0.027248919, -0.0209380873, -0.0298140608, -0.0334428176, -0.0411158726, 0.0504364297, -0.0175541248, -0.0095092952, 0.0432951599, -0.0506377518, 0.0056651141, -0.0409560837, -0.0380308889, 0.0202995222, -0.0119020389, 0.0310184024, -0.0096555538, 0.0178444535, 0.0030538717, -0.0136435889, 0.0202919561, 0.0014040591, 0.0108240014, 0.031530261, 0.0551228933, -0.0269905869, 0.0071919234, -0.0428283326, 0.0015247409, 0.0046931184, -0.0477206483, -0.0555170476, 0.0543060303, 2.806e-7, 0.0283715222, 0.0130667202, 0.0044504097, 0.0620246008, -0.0065875188, -0.0042096428, 0.0002676439, -0.0152298538, 0.0034271467, -0.0408377163, 0.0231380332, 0.0334092006, 0.0467831828, -0.0207583178, 0.0085494202, 0.0101715922, 0.0021527782, 0.0072577628, -0.0197168961, -0.0746593997, -0.0066724042, 0.0641626567, 0.0015771706, -0.0321400762, 0.0266160667, -0.0008870581, 0.0273095854, -0.0360223055, 0.0087354453, 0.0122002568, -0.0009570193, -0.0280050542, -0.0409188569, -0.0128652882, 0.0068922793, 0.0050588087, -0.0678867698, 0.0788208768, 0.0394212641, -0.0363769382, 0.0318732038, -0.0237282887, -0.0168273747, 0.0135298306, 0.0719127953, 0.0473625287, -0.0124084139, -0.0481884331, 0.0044730972, -0.0477776006, -0.0052613537, -0.0183708034, 0.0949575603, 0.0164971408, -0.03058034, -0.018424714, -0.0128042474, -0.0328713022, -0.0539165661, 0.0014874281, -0.0332881883, -0.0596808046, -0.0387367383, 0.0352389291, -0.0023968974, -0.0558343977, -0.0456791483, 3.223409844e-34, 0.0167511255, -0.0156092038, -0.0020806091, 0.1048395559, -0.0194181725, -0.0337367766, -0.0514415726, -0.0054677888, -0.0442680828, -0.0748832002, -0.0137019018 ]
http://arxiv.org/abs/2402.01158v1
http://arxiv.org/pdf/2402.01158v1
LLM-Detector: Improving AI-Generated Chinese Text Detection with Open-Source LLM Instruction Tuning
2024-02-02T05:54:12
2024-02-02T05:54:12
Rongsheng Wang, Haoming Chen, Ruizhe Zhou, Han Ma, Yaofei Duan, Yanlan Kang, Songhua Yang, Baoyu Fan, Tao Tan
cs.CL
cs.CL
ChatGPT and other general large language models (LLMs) have achieved remarkable success, but they have also raised concerns about the misuse of AI-generated texts. Existing AI-generated text detection models, such as based on BERT and RoBERTa, are prone to in-domain over-fitting, leading to poor out-of-domain (OOD) detection performance. In this paper, we first collected Chinese text responses generated by human experts and 9 types of LLMs, for which to multiple domains questions, and further created a dataset that mixed human-written sentences and sentences polished by LLMs. We then proposed LLM-Detector, a novel method for both document-level and sentence-level text detection through Instruction Tuning of LLMs. Our method leverages the wealth of knowledge LLMs acquire during pre-training, enabling them to detect the text they generate. Instruction tuning aligns the model's responses with the user's expected text detection tasks. Experimental results show that previous methods struggle with sentence-level AI-generated text detection and OOD detection. In contrast, our proposed method not only significantly outperforms baseline methods in both sentence-level and document-level text detection but also demonstrates strong generalization capabilities. Furthermore, since LLM-Detector is trained based on open-source LLMs, it is easy to customize for deployment.
LLM-Detector: Improving AI-Generated Chinese Text Detection with Open-Source LLM Instruction Tuning: ChatGPT and other general large language models (LLMs) have achieved remarkable success, but they have also raised concerns about the misuse of AI-generated texts. Existing AI-generated text detection models, such as based on BERT and RoBERTa, are prone to in-domain over-fitting, leading to poor out-of-domain (OOD) detection performance. In this paper, we first collected Chinese text responses generated by human experts and 9 types of LLMs, for which to multiple domains questions, and further created a dataset that mixed human-written sentences and sentences polished by LLMs. We then proposed LLM-Detector, a novel method for both document-level and sentence-level text detection through Instruction Tuning of LLMs. Our method leverages the wealth of knowledge LLMs acquire during pre-training, enabling them to detect the text they generate. Instruction tuning aligns the model's responses with the user's expected text detection tasks. Experimental results show that previous methods struggle with sentence-level AI-generated text detection and OOD detection. In contrast, our proposed method not only significantly outperforms baseline methods in both sentence-level and document-level text detection but also demonstrates strong generalization capabilities. Furthermore, since LLM-Detector is trained based on open-source LLMs, it is easy to customize for deployment.
[ 0.0227788668, 0.0111030517, 0.0159936305, 0.0717961788, -0.0207956191, 0.0105359908, -0.0193896759, 0.0405045971, 0.0549752265, -0.030193422, -0.0553553849, -0.0254987981, -0.028631568, 0.0191211347, -0.007558973, 0.0095054917, 0.0236635692, 0.0000921764, -0.0116840964, 0.0391940102, 0.0517133735, -0.0006728867, 0.0114646703, 0.0231179595, 0.0053316439, -0.0471071005, -0.0024360833, 0.0541284606, 0.0532981716, -0.0393995531, 0.047871504, 0.024500588, 0.0117326034, 0.0488463454, 0.0000018303, -0.0412080698, -0.0393988118, -0.010031946, -0.0149604166, 0.0382857732, 0.0523031652, 0.0001812307, -0.0284945369, 0.048586823, -0.0325786807, 0.01941319, 0.0017590383, 0.0973031148, 0.029824473, 0.1071598679, -0.0189724546, 0.0290575121, 0.050453566, 0.0034880629, 0.0023881109, -0.0482858419, 0.035373278, -0.0025129889, -0.0070125274, -0.0013391095, 0.0021604542, -0.0002583149, 0.0034477231, -0.0139849195, -0.0235236641, 0.0195117369, -0.0280944388, 0.0067695091, -0.0508535542, 0.0772879198, -0.0380583256, -0.0253879223, 0.0253162421, -0.0145384539, 0.0228200946, -0.0100822961, -0.0087365108, 0.0267168079, -0.0450084284, 0.0192594752, -0.0069105946, -0.0309051163, 0.0043616588, 0.0577163324, -0.0221547596, 0.0255852323, 0.0116041573, -0.0583871603, -0.0050164056, 0.0017040257, -0.049610436, -0.0249135885, 0.0905721784, 0.032825876, -0.0037110737, -0.0039015443, -0.0601495244, -0.0380922854, 0.0063759899, -0.0422955789, 0.0280500278, 0.0216729995, -0.0576764792, 0.0318036638, -0.0636816099, 0.0582822636, -0.0544980615, 0.0148453834, -0.0535107553, 0.0032337201, -0.002082339, -0.0188995972, -0.0490454994, 0.013102958, -0.0460759848, -0.055125203, -0.0216236338, 0.0250195432, 0.0328786485, -0.0250538196, -0.0034809103, -0.0133908344, -0.0232110322, -0.0375377536, 0.0233850069, 0.0202983748, -0.0098611303, 0.0285427291, -0.0039633554, -0.0492693819, -0.0259354524, 0.0760331452, 0.0431221984, 0.0002634095, 0.0254886746, 0.0563899279, -0.0200925376, -0.0659988821, -0.0312452, -0.0032325608, -0.0194252152, -0.0266126245, 0.0247073174, -0.047260344, -0.0342072994, -0.0182000883, 0.03476898, -0.0000128656, 0.0185649469, 0.0384664573, 0.0058413609, 0.0271511804, -0.0175795909, -0.0046943258, 0.0183953494, -0.0011962982, 0.0036641627, 0.0630978867, 0.0316140465, 0.0611636303, 0.0554585606, 0.0281418115, 0.0360221416, 0.0775490329, -0.0265597459, 0.0141582154, 0.0159875285, 0.012426381, -0.0147869298, 0.0025379488, 0.0400021933, 0.0184965171, -0.0074167573, 0.0070026987, 0.0702776983, 0.0287046693, -0.004093287, -0.0024594713, 0.0154439434, 0.0705981478, 0.0041000182, 0.0472144596, -0.0074605448, -0.0158362091, -0.0389597341, -0.0004055112, -0.002514051, 0.0323234685, -0.0102818916, -0.039452415, -0.0283783432, -0.0126213934, -0.0253872126, 0.0095664337, 0.0499148183, 0.0107547622, -0.0604380183, -0.0101338578, 0.006054352, -0.0352766104, -0.0000592081, -0.0510794483, 0.0327240452, 0.0602486432, 0.050097324, -0.0310212187, 0.012045824, -0.0052024196, 0.0328426473, 0.104967244, 0.0148512442, 0.0204116367, -0.0158684123, -0.0652711913, -0.0305909179, 0.015608564, 0.0085402234, 0.0245652385, 0.0538169444, 0.0095417462, 0.0215415042, -0.0511428304, -0.042641744, 0.0762572661, -0.0321449488, -0.0263703801, -0.0062771835, 0.0008998624, 0.000536525, 0.0090421038, -0.0349756703, 0.0070833596, 0.0206169188, -0.0461557284, -0.0273881219, -0.0285385549, -0.0256654304, -0.0541824698, 0.0134973926, -0.0410308391, -0.0318703838, 0.0328394137, -0.0385551453, -0.0134833083, -0.0481566004, -0.0237639323, 0.000072799, -0.078793861, 0.0324809663, -0.0034010215, 0.0359494984, -0.015640039, 0.0519272014, -0.0065224245, -0.0181072708, 0.0283926614, 0.0082597956, 0.0440147296, -0.0242705531, -0.0263786837, -0.0231313389, -0.0331059024, 0.0311191436, 0.0285210889, 0.0620705746, -0.0348113626, -0.0278165955, -0.0982368514, 0.048393257, -0.0467883497, 0.0139766913, 0.0428925194, -0.0011866781, -0.0455555245, -0.0205892846, -0.0174043849, -0.0212276783, 0.0024755998, -0.0187738221, 0.0305522922, -0.0566252097, 0.0164516866, -0.0242839865, 0.0214437135, -0.0254775099, -0.0031064828, 0.0117360689, -0.0583242141, -0.0697667003, 0.0290890727, 0.0361230709, 0.0213396866, 0.0026721943, -0.0687871724, -0.0183496922, -0.0132063022, 0.0494400188, 0.101255089, 0.0142807588, -0.0124163898, 0.0213772394, 0.044810228, -0.0313823782, 0.042211514, 0.0221843403, -0.0051153577, -0.0084443986, -0.0215002708, 0.0531757586, 0.0626780763, 0.0079163425, 0.0086667202, -0.0151655646, -0.0457912497, -0.0293558352, -0.040693175, -0.0232338011, -0.0065776929, -0.0585952178, 0.0081663812, -0.0379360355, -0.0479335599, 0.0364347063, -0.0293648746, -0.0133584011, -0.0833453387, -0.0100834109, -0.045093894, 0.0026290696, 0.0077042715, 0.0150822233, 0.0067852638, -0.0225042067, -0.0374184772, 0.0161709152, -0.0249807741, -0.0241549909, 0.0382401459, -0.0128033655, 0.0015430902, -0.0228312537, -0.0234730039, -0.055395741, -0.0436651297, -0.0343135782, -0.0114537552, 0.0111732241, -0.0304003172, -0.0026990906, 0.0105445962, -0.0019158165, 0.079515256, -0.0348328128, 0.0108569674, -0.0377223752, 0.0748234615, 0.0534187928, -0.0065024728, 0.0012420348, -0.047488831, 0.0474448279, 0.0547953062, 0.0117284721, -0.006012714, 0.0143509889, -0.0135881929, 0.0189655311, -0.0087104607, 0.0023430241, 0.0183033682, 0.0634754822, -0.0627650619, -0.0081790416, 0.1140012518, 0.0204322543, -0.0267359056, -0.0295209177, -0.0125491945, 0.0091336202, 0.006311839, -0.0026958275, -0.0757848322, -0.0733459145, 0.0175184254, -0.0223987363, 0.0037840691, 0.0274426658, 0.001768111, -0.1141003072, 0.025689261, 0.0085678026, 0.0052846237, -0.0225110743, 0.02362228, 0.0307998639, 0.0244450904, 0.0056847078, -0.018419208, -0.0367812514, -0.0185742825, 0.0006837402, -0.0165208261, -0.0193624608, -0.0007229249, -0.0529669672, -0.0073479554, 0.0981509238, 0.0662252605, 0.0019192919, -0.0072742426, 0.0638439208, -0.0222286507, 0.0031331719, 0.0058495156, 0.0493314639, -0.0163817331, 0.0004934338, -0.0144928014, 0.0375417471, -0.03975223, 0.0142079731, 0.0798932984, 0.0202530958, 0.0079802182, -0.0496638417, -0.0388393588, 0.0146434056, -0.0098928437, 0.108455494, 0.022757804, -0.0657274798, -0.0580866486, -0.0221474525, -0.0160371456, -0.0836663246, -0.0047607771, 0.0333293006, -0.049238462, -0.0015745888, -0.0887826532, -0.015262126, 0.0087979939, -0.012061025, 0.0110876886, -0.003025084, -0.0126451189, 0.0423701443, -0.025621729, 0.0061378269, -0.0398624726, 0.0154034067, -0.0833875611, 0.0204855166, 0.0180961899, -0.0584613308, -0.0105003184, 0.0457160659, -0.0697950125, -0.0318605229, -0.0042880811, -0.0213151835, 0.0091867289, 0.0124034481, -0.0343499072, -0.0144050522, 0.0628509521, 0.0366460457, -0.0323686749, 0.0026010678, 0.0240588859, 0.0039261649, -0.0300872289, 0.0173624456, -0.0272065327, 0.0336902253, 0.0283878036, 0.0019020353, -0.0209468659, -0.0127551537, 0.0162951741, 0.0029104489, 0.0302925799, 0.0025046528, -0.0016837799, -0.0531200916, 0.0123386038, 0.0173879694, -0.0202053599, -0.0544191785, 0.0195360798, 0.0551304333, -0.0098569011, -0.0212440155, 0.0630675703, -0.0088360338, 0.0192202348, -0.026387278, 0.0314027257, 0.0067287949, 0.0518878177, 0.0185490809, -0.0241256934, 0.0017765788, 0.0336352699, 0.000179344, 0.0161034074, 0.020776391, 0.0814941823, 0.003755342, -0.0336380638, 0.0259686913, 0.017759921, -0.0427866206, -0.0051831286, -0.0565231517, 0.0648163036, 0.0694498196, -0.0074071288, 0.0504305512, -0.0403882675, -0.0064145327, -0.0401152074, 0.0082612243, 0.002427551, -0.0097138975, -0.0041960431, -6.18e-7, -0.0381727777, -0.0578930862, 0.0841281414, 0.0422494859, 0.0526786968, 0.0328617394, -0.0305515062, -0.0534724519, -0.0128925219, 0.0517067425, 0.0129688382, -0.0118711591, 0.0494264662, -0.0167770535, -0.0299245622, -0.0080870893, -0.027592048, -0.0193221662, -0.0114570325, -0.0010035502, 0.0455298871, -0.0188409202, -0.0180172753, -0.0183378626, -0.0037725857, -0.0289251525, -0.0166378934, -0.0182901341, -5.935415544e-33, -0.0091119418, -0.04965543, -0.0121704172, -0.0126262726, 0.008725862, 0.0251480453, -0.0187098514, -0.0325485952, -0.0226648413, 0.0096210474, -0.0254275594, 0.0427950397, 0.0314553976, 0.0311919618, -0.0426783338, -0.0160766058, 0.0610208921, -0.0268034209, -0.0242994837, -0.0046190079, 0.0044909208, 0.0440789536, 0.043136891, -0.0394764058, -0.0135527933, -0.0288899541, -0.0293035842, 0.029642418, 0.0078820977, 0.0705476478, -0.0286306925, 0.0413017534, 0.0513821878, 0.0169437211, -0.0123209851, 0.0842345208, -0.0824334398, -0.0005151227, -0.0166024771, 0.0198229086, -0.0031881197, -0.0448799655, 0.015746735, -0.0221575182, 0.0208407212, 0.0064905505, 0.0684868395, -0.0523802638, 0.014582023, -0.0241645928, -0.0576021522, 0.0404503122, 0.0128153972, -0.0310403667, 0.0005115801, 0.0567932688, -0.0022062825, 0.0236267336, -0.0274272393, 0.0051244977, 0.032680396, 0.0397141874, 0.0002532473, 0.0382746644, -0.0045167292, 0.0302981269, 0.0013565243, 0.0190185197, -0.005381404, -0.0562047139, 0.0199410673, 0.0137236333, 0.0249718316, 0.0612588525, 0.0378388837, -0.0015963245, -0.0632795617, 0.0367303304, 0.0262924246, 0.0045056324, 0.0388420857, 0.0074690948, -0.074755013, 0.0067914561, 0.0188201498, -0.0242354348, -0.0434614941, -0.0040957415, 0.0465526171, 0.051357206, -0.0386041403, -0.0261450745, 0.0308692418, -0.0423921719, 0.0189043414, 0.0150024388, -0.0125590926, -0.0079202931, -0.0056649307, 0.0307210162, -0.0561122186, -0.0469625667, 0.0156583413, 0.0092538241, -0.0200857259, -0.0105210207, 0.0478363037, -0.0151300877, -0.0792758018, 0.0227761474, -0.0305603035, -0.0113761974, 0.029119119, 0.0566321351, 0.0114767672, -0.0271263197, -0.0070735114, 0.0452929437, 0.026708696, 0.0092754886, -0.0592648871, -0.0427101701, -0.04685954, 0.0159440544, -0.0368290395, 0.0320396982, -0.0182975922, 0.0051303525, 0.0233823899, -0.0659419149, 0.0025940482, -0.0093792183, 2.372e-7, 0.0389716923, 0.0126970848, 0.0389004014, 0.0371815152, 0.0010161742, 0.0505676344, -0.0085439673, 0.0433076508, 0.0020794352, 0.0148126883, 0.0227709115, 0.0174289625, 0.0867713094, -0.0313263088, -0.1183006689, 0.0097506335, -0.0213125404, 0.0029476974, -0.0552033, -0.0191272963, 0.0240805224, 0.0713851303, -0.0276588555, -0.0117266374, 0.0092454441, -0.1026429087, 0.0469418429, -0.0200679656, 0.0190414824, 0.0410443507, 0.031194672, 0.0448042601, -0.0240097381, 0.0054299068, -0.0079183048, 0.0352055319, 0.0589626655, 0.0847561881, 0.0242140479, 0.0075622057, 0.0072887815, -0.003993398, 0.0101151941, -0.0293760449, 0.0623833239, -0.0208009891, 0.0005893529, -0.0281204581, 0.0203915965, -0.0721394196, -0.0099848229, -0.0362570956, -0.022317918, 0.0333053209, 0.0271466635, -0.0212582964, -0.0226757433, -0.0616948679, -0.0559495576, -0.03359304, -0.0529691577, -0.0272423662, -0.0713246688, 0.01967787, 0.0133723598, -0.0757245272, 0.0209363438, 2.102926103e-34, 0.0183536019, -0.0302750953, -0.0286182147, 0.0491431877, 0.0435485281, -0.0108613782, -0.0003943163, -0.0238291044, -0.0082042431, -0.0648833066, 0.0130128274 ]
http://arxiv.org/abs/2402.01155v3
http://arxiv.org/pdf/2402.01155v3
CABINET: Content Relevance based Noise Reduction for Table Question Answering
2024-02-02T05:48:39
2024-02-13T09:11:01
Sohan Patnaik, Heril Changwal, Milan Aggarwal, Sumit Bhatia, Yaman Kumar, Balaji Krishnamurthy
cs.CL
cs.CL
Table understanding capability of Large Language Models (LLMs) has been extensively studied through the task of question-answering (QA) over tables. Typically, only a small part of the whole table is relevant to derive the answer for a given question. The irrelevant parts act as noise and are distracting information, resulting in sub-optimal performance due to the vulnerability of LLMs to noise. To mitigate this, we propose CABINET (Content RelevAnce-Based NoIse ReductioN for TablE QuesTion-Answering) - a framework to enable LLMs to focus on relevant tabular data by suppressing extraneous information. CABINET comprises an Unsupervised Relevance Scorer (URS), trained differentially with the QA LLM, that weighs the table content based on its relevance to the input question before feeding it to the question-answering LLM (QA LLM). To further aid the relevance scorer, CABINET employs a weakly supervised module that generates a parsing statement describing the criteria of rows and columns relevant to the question and highlights the content of corresponding table cells. CABINET significantly outperforms various tabular LLM baselines, as well as GPT3-based in-context learning methods, is more robust to noise, maintains outperformance on tables of varying sizes, and establishes new SoTA performance on WikiTQ, FeTaQA, and WikiSQL datasets. We release our code and datasets at https://github.com/Sohanpatnaik106/CABINET_QA.
CABINET: Content Relevance based Noise Reduction for Table Question Answering: Table understanding capability of Large Language Models (LLMs) has been extensively studied through the task of question-answering (QA) over tables. Typically, only a small part of the whole table is relevant to derive the answer for a given question. The irrelevant parts act as noise and are distracting information, resulting in sub-optimal performance due to the vulnerability of LLMs to noise. To mitigate this, we propose CABINET (Content RelevAnce-Based NoIse ReductioN for TablE QuesTion-Answering) - a framework to enable LLMs to focus on relevant tabular data by suppressing extraneous information. CABINET comprises an Unsupervised Relevance Scorer (URS), trained differentially with the QA LLM, that weighs the table content based on its relevance to the input question before feeding it to the question-answering LLM (QA LLM). To further aid the relevance scorer, CABINET employs a weakly supervised module that generates a parsing statement describing the criteria of rows and columns relevant to the question and highlights the content of corresponding table cells. CABINET significantly outperforms various tabular LLM baselines, as well as GPT3-based in-context learning methods, is more robust to noise, maintains outperformance on tables of varying sizes, and establishes new SoTA performance on WikiTQ, FeTaQA, and WikiSQL datasets. We release our code and datasets at https://github.com/Sohanpatnaik106/CABINET_QA.
[ 0.0335046351, 0.0733161345, 0.0127885696, 0.0324277543, -0.0126621528, 0.0370534249, -0.0386130773, 0.0141378595, -0.013336896, -0.0083941231, -0.0565246344, -0.0002563019, -0.0274596773, -0.0054872134, 0.0415666066, 0.0348047279, 0.0633894131, 0.0055669476, -0.0305981133, 0.0088453405, -0.0021330104, -0.0168790035, -0.009517218, 0.017693745, -0.0149254883, -0.0145234447, -0.0184065141, -0.0022782728, -0.0434934758, 0.0125644505, 0.0369695835, 0.0926542878, 0.0105233425, 0.032304693, 0.0000019599, 0.00626677, -0.0361059979, -0.0114656221, -0.0368273482, -0.0057154829, 0.0130427061, -0.0152663216, 0.0198292043, -0.0040752632, -0.0526197776, -0.0072085466, 0.0109705692, 0.0442338884, 0.0494149178, 0.0327753015, 0.0276884846, -0.0199719239, 0.0025523561, -0.0069784201, 0.0811423138, -0.0917041674, 0.0163819194, 0.0254068282, -0.001557076, -0.0028800927, -0.0103066657, 0.0547713526, 0.0300911758, -0.0195827298, -0.0037525699, 0.0331615023, -0.044311896, 0.0477794223, 0.0244856142, 0.1187399477, 0.0367343165, -0.0312195718, 0.0011303235, 0.0251938924, 0.0407500304, -0.0437146239, -0.0556815229, -0.0181433652, 0.0124201998, -0.0112083172, -0.0015112784, -0.0128077073, 0.0050171423, 0.0073361988, -0.01469763, 0.0737869889, -0.0176620577, -0.0452376083, 0.0130411275, -0.0099304616, -0.0218882747, -0.0183347277, 0.0045060641, 0.067633912, -0.0509938374, 0.0260162763, 0.0138220461, -0.0325576849, 0.0185012445, -0.0641025528, -0.0194054861, 0.0370705016, -0.0035247705, 0.0418198928, -0.020647753, 0.0092961639, -0.0210504383, 0.0218156483, -0.0596565679, -0.0510596894, -0.0273116287, -0.011269995, -0.0540390164, 0.0430382304, -0.0777910799, -0.025129417, 0.0081393216, -0.0030285974, -0.0007701056, 0.013327105, 0.0212702751, 0.0506124943, -0.0206728671, 0.0074962093, -0.0119333407, 0.0221311226, -0.0292974226, 0.0044313241, -0.0322025679, -0.063864395, -0.0339270718, -0.0188980401, 0.0138601307, -0.0318721272, 0.0542454645, 0.0565687679, -0.0337567776, -0.0209788885, -0.0208098236, -0.0048083416, -0.0222246163, -0.0598304421, -0.0248422623, -0.0337683409, 0.0367203727, 0.0136109339, 0.017204646, -0.0598400682, 0.0116614513, 0.0648999289, -0.0091109313, 0.0613196343, 0.017405767, 0.0278571416, 0.0282471366, 0.0046251728, -0.0209255498, 0.0851047188, 0.00976431, -0.0073089343, -0.0205793232, -0.03117783, -0.0335497409, 0.0306668431, 0.0599620566, 0.0002014661, -0.0013412256, 0.0806246996, 0.0284134503, 0.0229802076, 0.0163976122, 0.0117635569, -0.0055724294, 0.0159961917, 0.0325507969, 0.035194736, -0.0050140168, 0.0708495826, 0.0025888137, 0.0157039203, 0.0245664604, 0.0299617331, -0.0316231959, 0.0354152396, -0.0121606477, -0.0044757691, 0.0544203669, -0.0164850838, -0.0266303476, -0.0482852235, 0.016968064, 0.0025050123, -0.0276089646, 0.041700054, 0.0283772182, 0.027607223, -0.0570355989, 0.0274396613, 0.0005163817, -0.0433072373, -0.0088642733, -0.0294564087, 0.0541504547, 0.0472579151, 0.043179512, -0.0711218566, -0.0087628234, 0.0004736575, 0.0420937128, 0.0009778708, -0.0094428891, -0.0285298359, 0.0299516656, 0.0048118578, -0.0268723462, 0.0246578492, 0.0283577237, -0.0432936065, 0.0306019131, -0.0044036382, 0.0018847618, -0.0723581314, -0.0096623553, 0.0183303654, 0.0601015128, -0.0450106598, 0.0035542974, 0.0032367704, 0.0189916901, 0.0215452705, 0.0161049981, 0.0154218348, 0.0366890542, -0.0101291947, 0.0445933416, -0.0232051332, -0.0273571722, -0.0080342963, 0.0205161311, 0.0459836423, -0.06664446, 0.0017915169, -0.0415648073, -0.0273764227, 0.0244247802, -0.0463373363, -0.0373177044, -0.0431166366, -0.0263736285, 0.0271683801, 0.0410819389, -0.0227337368, 0.0790507048, -0.0118279271, 0.0407197997, 0.0295003578, -0.0607897937, 0.0226651989, -0.0385518037, 0.0260400008, -0.0454323329, -0.0365526564, 0.0368398838, 0.0054594465, 0.0382487103, -0.0639878809, -0.0154811163, -0.0874894485, 0.0300781354, -0.0518102981, 0.0258821808, 0.0375952236, 0.0261781663, -0.0119661354, -0.0417117104, -0.0446984172, -0.0006923988, 0.0139454268, -0.000882421, 0.0483721606, 0.0087057287, 0.0102323769, -0.049475275, -0.0309924185, -0.0095180767, 0.032739073, -0.0347975791, -0.0266713295, -0.0088561317, -0.0240326263, -0.0029546521, 0.029510919, 0.0236081667, -0.0160372276, -0.0204276647, -0.0306571145, 0.0322034173, 0.0415082015, -0.0415596291, 0.0175902098, 0.0091408379, -0.0209331475, -0.0553433262, 0.0403070636, -0.0179359093, 0.0050541731, -0.010830055, -0.0470172316, 0.0530331768, 0.0250219107, -0.0041485582, -0.0083661927, -0.0374965854, 0.0166007001, 0.0166824497, -0.0084877741, -0.1075479239, 0.0650621504, -0.0014603921, -0.0049309833, -0.0235292558, 0.002047804, 0.010822311, -0.0255969781, 0.0068781567, -0.042010542, 0.0091069434, -0.0556524917, 0.0578178316, -0.0001299285, -0.0053659338, -0.0470272303, -0.0429260321, -0.0432437621, -0.0389954038, -0.0213740226, -0.049151279, 0.0834744573, -0.0477492549, 0.0320020877, -0.0014860731, -0.0125708021, -0.0133347958, -0.0414513759, -0.0107358992, 0.0233849697, 0.0092036612, 0.0122952107, -0.0289902464, -0.0195019543, 0.0407775119, 0.0434605591, -0.0143296663, -0.01746496, -0.0277624428, 0.0756026655, 0.0502604879, 0.0501267351, -0.0298878346, 0.0188861806, 0.0381797515, 0.0492106415, -0.0036919266, -0.0424393415, 0.0021063455, 0.0271664914, 0.0423295312, -0.0203639455, -0.0059841005, 0.0337434895, 0.0019240252, -0.0545161925, -0.0386002772, 0.0810044929, 0.019696556, 0.0062648375, -0.0145188188, -0.0127055552, 0.018055195, 0.0136647141, 0.0646906868, -0.0594646521, -0.041529987, -0.0024316807, 0.0092414645, 0.0319739133, -0.0429502986, -0.0289614797, -0.0967211798, 0.0350915045, -0.0519100539, -0.0724935383, -0.0915471241, -0.0133674145, 0.0115876617, -0.0336791836, 0.0488813706, 0.0646931455, -0.0206030868, 0.0296487138, 0.0289260335, -0.0259083156, -0.0472613536, -0.0240566283, -0.0404922962, 0.0221990161, 0.0613454394, 0.0072568422, -0.024281038, -0.0086906878, 0.0070870374, -0.0301023461, -0.0028368977, -0.0144698545, 0.0521731526, 0.0050930711, -0.0102895871, -0.0308992341, 0.003023501, -0.0250997078, 0.0133531531, 0.0489354841, 0.0608691722, -0.0368037447, 0.010020108, 0.027621448, -0.0024342153, 0.006411117, 0.0895714536, 0.0657111034, -0.0012676826, -0.0330987163, -0.0126657309, -0.0554645471, -0.0446489416, 0.0246220212, 0.0378811397, 0.0167137552, 0.0093840742, -0.0506946854, -0.0311468709, 0.0612369999, -0.0046830978, -0.0143695576, 0.0950025767, -0.0839528814, 0.0079033626, -0.0441164635, -0.0102042332, -0.0843200535, -0.0101394653, -0.02890536, -0.0201358609, 0.0183256809, -0.0566057488, -0.030997416, 0.0264490619, -0.0592423901, 0.0057328194, -0.0152286533, 0.019146109, 0.0144044869, 0.0092558907, -0.0062642326, -0.0275882985, -0.0187952369, 0.0117538432, -0.0695436075, -0.0076848455, 0.0048897085, -0.047957249, 0.002856561, 0.0495667867, -0.0446221828, -0.0041065235, 0.0155197894, 0.0515046492, -0.0040568886, -0.0007306905, 0.0492628179, -0.0049169143, -0.0076755146, 0.0562082529, -0.0538570881, -0.0071509499, 0.0429843031, -0.0167841502, -0.0269458983, -0.0033738902, 0.0002369577, 0.0246251468, -0.024499476, -0.0331899561, 0.0043956391, 0.0111575462, 0.0436918326, -0.0376059264, -0.002351464, 0.0288887229, -0.0437685847, -0.0019334715, -0.0343591273, -0.0097372392, -0.0160793886, 0.0330249332, 0.0192357413, -0.0112434998, -0.0222166572, 0.0115641998, -0.0537897721, -0.0209239479, 0.0425574891, -0.0634751916, -0.0404226594, -0.0299903844, 0.0284184422, 0.0251295753, -0.0031406283, 0.0026582994, -0.0101921419, -0.0191841498, 0.0054195351, 0.0001639611, 0.035928607, 0.01192265, 0.0531617366, 0.011903869, -0.0016564556, -0.0109272357, 0.0860134065, 0.0536390506, 0.038828928, 0.0096885525, -0.019497944, -0.0636560321, -0.0152056068, -0.0120048122, 0.0187478364, -0.0510733873, 0.0263198297, 0.0092805037, -0.0320619009, 0.012543492, 0.0224343967, -0.0566860586, -0.0112472409, 0.0417251922, 0.0550227426, 0.0499186702, -0.0343010537, -0.0295557827, 0.0273257494, -0.0074691353, -0.0395801254, -0.0167583916, -6.524030381e-33, -0.0398601033, -0.021258967, 0.0142018432, -0.0312389825, 0.018462982, -0.0052897776, -0.056156341, -0.036612805, -0.0288049728, -0.0180405769, -0.0422578976, 0.0695654675, 0.0161046255, 0.0113922078, 0.0002651602, -0.0815051049, 0.0243163649, -0.0084963711, 0.0180441346, 0.032961335, -0.023564795, 0.0443820991, 0.0374043658, -0.0090578161, 0.0414669551, -0.0164356306, -0.0191959292, -0.0047912584, -0.0131142531, 0.0411266312, -0.0491746254, 0.0437107235, 0.0385446735, -0.0416927077, -0.0394466594, 0.014927743, -0.1657098532, -0.0138730658, 0.0153335109, 0.0166254696, -0.0213010255, -0.044092387, 0.0312910378, -0.0016065167, -0.0160279665, -0.0084441947, 0.0278973356, -0.0366458967, 0.0057097604, 0.0101298969, -0.0136202062, 0.0058920006, -0.028185131, 0.0006433352, 0.0254226178, 0.0417504944, 0.0095321024, -0.0023403917, -0.0481639765, 0.0027620897, -0.0112154204, 0.0585703962, 0.0297161359, -0.0349433236, 0.002460354, -0.0109831104, 0.0104208998, -0.0316810049, -0.0201023053, -0.0585211441, -0.0530874319, 0.0378742702, 0.0857687816, 0.0379173905, 0.0579679497, 0.0185136665, -0.0907522216, 0.073836036, -0.024458481, 0.0369761251, -0.0086052874, -0.031463787, -0.0232326388, 0.0030301777, -0.0304307435, 0.0347612463, -0.0421981327, -0.0041204365, 0.0398265012, -0.0204412658, 0.0179170221, -0.0284318589, 0.0169833004, -0.0182213746, -0.0044337092, 0.0835803226, 0.0074669407, -0.0184833053, 0.0354717337, 0.0116400039, -0.00966556, -0.0034780113, 0.0273377486, -0.0376920328, 0.0160450079, 0.01689413, 0.0314888619, 0.0172100216, -0.0488646105, -0.0097137876, -0.0295654442, 0.0729927793, -0.020359939, 0.0266342685, 0.016442515, -0.002147675, 0.0078188377, 0.0379829332, 0.0217756964, 0.0269537456, -0.0016655917, -0.0255604573, -0.0086549418, 0.0021172748, -0.0057943747, 0.0361644775, -0.0227533244, 0.039430391, -0.0207824335, -0.0230380315, 0.0050189481, 0.028553674, 2.509e-7, 0.0998430327, 0.0075006355, 0.0446682759, 0.0355600677, -0.0127213281, -0.0110244006, -0.0113918837, 0.0077599226, -0.0152133722, -0.0188414231, 0.0526575409, 0.0145907039, 0.0699244738, 0.0086917216, -0.0359631442, -0.0222354569, -0.0801192001, 0.0060621235, -0.0313970856, 0.0025298179, 0.0385390557, 0.1037571207, -0.0661692247, -0.0096473191, -0.0270977318, -0.051928889, 0.0323467627, -0.0658598244, 0.0547967628, 0.0149697056, 0.0437021181, -0.0334934071, 0.0316606164, 0.0299081281, -0.0245727375, 0.0048822737, 0.0220382232, 0.0446816422, 0.0277687963, 0.0136026833, -0.0097370362, -0.0493819155, 0.0526350141, -0.0751855969, 0.1276053041, -0.0430095084, -0.0046431255, 0.0663257465, 0.0048480574, -0.0163353439, 0.0144934691, 0.0015460595, -0.0134410281, -0.008015045, 0.0368383713, -0.0052988431, 0.0116925547, -0.0506756045, -0.0144487349, 0.0074453671, -0.0361219049, -0.0140874796, -0.0172586776, -0.0478030182, -0.0284002852, -0.0366748497, -0.0116001982, 2.118011691e-34, 0.0401614569, -0.0000952429, 0.045788832, 0.0497093648, 0.0368635468, -0.010310811, 0.0031637752, -0.0234536305, 0.0258310866, -0.1044400185, -0.0103016831 ]
http://arxiv.org/abs/2402.01152v2
http://arxiv.org/pdf/2402.01152v2
AccentFold: A Journey through African Accents for Zero-Shot ASR Adaptation to Target Accents
2024-02-02T05:38:59
2024-02-05T05:45:59
Abraham Toluwase Owodunni, Aditya Yadavalli, Chris Chinenye Emezue, Tobi Olatunji, Clinton C Mbataku
cs.CL
cs.CL, cs.SD, eess.AS
Despite advancements in speech recognition, accented speech remains challenging. While previous approaches have focused on modeling techniques or creating accented speech datasets, gathering sufficient data for the multitude of accents, particularly in the African context, remains impractical due to their sheer diversity and associated budget constraints. To address these challenges, we propose AccentFold, a method that exploits spatial relationships between learned accent embeddings to improve downstream Automatic Speech Recognition (ASR). Our exploratory analysis of speech embeddings representing 100+ African accents reveals interesting spatial accent relationships highlighting geographic and genealogical similarities, capturing consistent phonological, and morphological regularities, all learned empirically from speech. Furthermore, we discover accent relationships previously uncharacterized by the Ethnologue. Through empirical evaluation, we demonstrate the effectiveness of AccentFold by showing that, for out-of-distribution (OOD) accents, sampling accent subsets for training based on AccentFold information outperforms strong baselines a relative WER improvement of 4.6%. AccentFold presents a promising approach for improving ASR performance on accented speech, particularly in the context of African accents, where data scarcity and budget constraints pose significant challenges. Our findings emphasize the potential of leveraging linguistic relationships to improve zero-shot ASR adaptation to target accents.
AccentFold: A Journey through African Accents for Zero-Shot ASR Adaptation to Target Accents: Despite advancements in speech recognition, accented speech remains challenging. While previous approaches have focused on modeling techniques or creating accented speech datasets, gathering sufficient data for the multitude of accents, particularly in the African context, remains impractical due to their sheer diversity and associated budget constraints. To address these challenges, we propose AccentFold, a method that exploits spatial relationships between learned accent embeddings to improve downstream Automatic Speech Recognition (ASR). Our exploratory analysis of speech embeddings representing 100+ African accents reveals interesting spatial accent relationships highlighting geographic and genealogical similarities, capturing consistent phonological, and morphological regularities, all learned empirically from speech. Furthermore, we discover accent relationships previously uncharacterized by the Ethnologue. Through empirical evaluation, we demonstrate the effectiveness of AccentFold by showing that, for out-of-distribution (OOD) accents, sampling accent subsets for training based on AccentFold information outperforms strong baselines a relative WER improvement of 4.6%. AccentFold presents a promising approach for improving ASR performance on accented speech, particularly in the context of African accents, where data scarcity and budget constraints pose significant challenges. Our findings emphasize the potential of leveraging linguistic relationships to improve zero-shot ASR adaptation to target accents.
[ -0.0269521773, 0.1150067896, 0.0126382895, 0.0136564132, 0.0165043045, 0.0173638165, 0.0561581478, -0.0048922007, -0.0383093357, 0.0132552087, -0.0570255294, -0.0577982068, 0.0690147951, -0.0231400393, 0.0520673059, -0.0486737788, -0.0158640854, -0.0399317183, -0.0351368003, -0.0330995843, 0.0197539218, 0.0371311679, -0.0135324392, 0.0542457849, -0.0137226721, 0.0453173853, -0.0259488393, 0.0391634069, 0.0337410271, 0.0131815365, -0.0506159402, 0.0049794014, 0.0069603394, 0.0060735354, 0.0000019382, -0.0161961876, -0.0215586573, -0.0039416272, -0.0895922631, 0.0505890772, 0.0302873403, 0.0160144195, -0.0411011763, 0.0352448411, 0.0019476574, -0.0316625573, 0.095653981, -0.0165865496, -0.0353976861, 0.0337641425, -0.0124117788, -0.0188833363, 0.0045416583, -0.0393531583, -0.0161043685, 0.0126352785, -0.0091343289, -0.0786398053, -0.0223353114, -0.0030991265, -0.0241546389, -0.0090122577, -0.0007884204, 0.024405567, 0.002424493, 0.0303691365, -0.0139223607, -0.0104576237, -0.0068867467, 0.035723187, -0.0421624407, -0.0133760292, -0.0054299985, 0.0144206136, -0.0189220905, -0.0196787156, -0.0216506999, -0.0153426798, 0.0007338924, 0.0219341516, -0.0217776541, 0.0580759719, 0.0386763997, -0.0247376878, -0.0505990498, 0.0198427215, 0.0124951545, -0.0205591824, -0.0071400148, -0.0302077681, 0.001574774, 0.0092372298, 0.0245323367, -0.0167380776, 0.037511345, -0.0182142779, 0.0313979536, 0.0376941264, 0.030673163, 0.0416740291, 0.071620822, 0.0394368283, -0.0697174743, -0.026734665, -0.0283857174, 0.0315336958, -0.019658057, -0.0131521337, -0.0139978975, -0.0010661969, -0.0410768762, -0.0159401465, -0.0216653738, -0.0180608965, -0.0022637928, 0.0164713655, -0.0032895587, -0.0304233134, -0.0363125429, 0.0131479427, 0.0142594017, 0.0052577448, -0.0345731378, -0.0601467676, 0.0792531073, 0.0527089536, -0.0047431299, 0.035760019, -0.0548193976, -0.0751106068, -0.0179639664, -0.0022511918, 0.0536786802, 0.0489160605, 0.0199506115, -0.0140065113, 0.0485580489, -0.0328997411, -0.0389055051, 0.0247373339, -0.0611360222, 0.0112042716, -0.0264185704, -0.0496127866, 0.0051523806, -0.0300436094, 0.0238343962, -0.0308723282, -0.0320383348, -0.0346708409, 0.0404673815, 0.0563931502, 0.033923503, -0.0136688799, 0.0674709901, -0.0213806815, 0.0323515795, 0.0347685814, -0.0006773851, -0.0207620505, -0.0197382271, -0.0007502694, -0.0334707983, 0.0570578277, 0.0449382812, 0.017991744, -0.0069500678, -0.0159844514, -0.0066322279, 0.0091894278, 0.0568967424, 0.0072322991, -0.0263174307, -0.0469426028, 0.0043417555, 0.0696300492, 0.0209831614, -0.0206129625, 0.0414733365, -0.0037497531, -0.0460608043, -0.024194194, 0.0170874875, -0.0165736303, 0.0222066902, -0.0284579881, 0.0093112839, 0.0889052302, -0.0685470477, 0.0012756612, 0.0049785757, -0.0433208682, -0.0215818379, 0.0165371653, 0.0171094611, -0.0094616888, -0.0133092199, -0.0184811559, 0.0258900244, -0.0238281079, 0.0066988417, -0.0297714975, -0.0178069901, 0.0042040101, -0.0171136726, 0.0043559629, -0.0266422164, -0.0232249312, 0.021605134, -0.0095597226, -0.0194096696, -0.0165036134, 0.0808544904, -0.0840057135, 0.0172953438, 0.0370222814, 0.0141259665, 0.0727583393, -0.031739518, 0.0541975796, 0.0047690389, -0.0346541516, 0.0403565913, -0.0151721667, -0.0294804629, -0.0126246968, 0.0416646637, 0.0410469882, 0.0328535289, 0.0381873883, -0.0323646218, -0.0146016367, -0.0033418739, -0.0619669855, 0.0251406748, 0.074978739, -0.0635866597, -0.0105507998, 0.0327619053, -0.0406543761, 0.0511288084, -0.0159545038, 0.0318977386, -0.0720284507, 0.0668550283, -0.0341223218, 0.0698720515, -0.0254518948, 0.0232894421, 0.0098590944, 0.0289103594, 0.0010328479, -0.0081326691, 0.0404382609, -0.0389156304, 0.0016730165, 0.0397709049, 0.0481900163, -0.0227660835, 0.0238053557, 0.0006070785, -0.0027947892, -0.0037582894, -0.0261768121, -0.0318453573, 0.01101074, -0.0146418214, -0.0881247967, -0.0036510678, -0.0186552275, 0.0291804783, -0.0216446426, 0.046360109, -0.0067147082, -0.0219416823, -0.0118763205, -0.040678788, -0.0345141478, -0.0140765533, -0.0378543325, -0.0563566349, -0.035220217, 0.0008956386, -0.0112673128, 0.0116323363, 0.036640089, -0.0351020321, 0.012262851, -0.035297107, -0.0836422741, 0.025019275, -0.0030439999, 0.0026871411, -0.0242867656, -0.0388149954, -0.0029391232, -0.012067602, 0.003342835, -0.0560076199, -0.0159553792, 0.0063795168, -0.0145388506, -0.0294333044, -0.0328177474, 0.013510813, 0.0601180084, -0.0000393097, 0.0086621409, -0.0508322418, 0.0143836942, 0.0210097227, 0.0175289139, -0.0741571039, -0.0121169901, 0.0193611477, 0.0059293816, -0.0098259738, -0.0243211295, -0.0134991286, -0.0066543487, -0.0601142682, -0.0417841785, 0.0399801135, -0.0599841736, -0.0395722166, -0.0389807634, -0.0239799488, -0.0146759031, -0.0193984471, -0.0064288974, 0.0170519426, 0.0236467384, -0.0359973498, 0.0234682634, 0.0327802785, 0.0113554327, -0.0100682601, 0.0321258679, 0.0216988716, -0.0260602627, 0.000835323, -0.0521862805, 0.0244483743, -0.0242839232, -0.0563995652, 0.0260594152, 0.0246824641, -0.0396325104, 0.0425478704, 0.0222484134, 0.0288417693, 0.0680095106, 0.0135535365, 0.0152014885, 0.0107578998, 0.0096987933, 0.0117754377, 0.0522843935, -0.0484615862, 0.0115853073, 0.0492679626, -0.0481417365, 0.0474377051, 0.0062265005, -0.057800401, 0.0226002261, 0.0333014354, 0.004606639, -0.0193206687, -0.0059326077, 0.0317453668, 0.0235909838, 0.005601631, 0.0310780015, 0.0400412641, 0.0010880302, 0.027844891, -0.0575685166, 0.0765291452, -0.0007371034, -0.0216854047, -0.0720118806, -0.0278214067, 0.0443474464, 0.0028841223, 0.0156297963, 0.0114243971, 0.0082530677, -0.1169832051, 0.0462193377, 0.0458400585, -0.0477260016, -0.0154500362, -0.063924484, -0.0337915197, -0.0214887913, 0.0142487576, 0.0053304848, 0.0173614379, -0.0587559342, 0.0799948499, -0.0751962438, -0.0762037784, 0.0098929545, -0.0597667098, 0.0932496265, -0.0039916374, -0.022316182, 0.0059692296, -0.0312498361, -0.0521724038, -0.0245562494, 0.018023625, -0.0599624142, 0.0374168716, 0.0633705184, -0.0179820918, 0.0426974706, 0.0228662081, -0.0220403578, 0.0022899865, -0.0003985823, 0.0609926768, -0.0315029509, 0.0484128036, -0.0013123702, -0.018104732, -0.0020141872, 0.0260524433, 0.0284389164, -0.0219321512, -0.0082135322, 0.0044097658, 0.0428658873, -0.0148108117, 0.0195252933, 0.0494190231, 0.033686962, -0.0432270393, -0.0489909574, -0.003777293, 0.0146886492, 0.0513916574, 0.0255275127, -0.0312009621, -0.0252522025, 0.0008494317, -0.0204251707, 0.0125818448, -0.0333247334, 0.0528189875, 0.0280998908, 0.0280415732, 0.0426660366, -0.0585500672, 0.0262575615, -0.033559572, -0.0192957353, -0.050793305, 0.0316187218, -0.0039707422, 0.0196456555, 0.0646717921, -0.0120744715, -0.0578293763, 0.0826905891, -0.0354606137, 0.0426134653, -0.0025238458, 0.0839836225, -0.0112633435, 0.0253035612, 0.0130119873, 0.0070831482, 0.0610289611, -0.0159972068, -0.0372727588, -0.0652220473, -0.0077826176, -0.0368036143, -0.0136694517, 0.0280270912, -0.0603545383, -0.035366334, -0.0309833884, 0.0304299723, 0.0118124774, 0.0901309624, -0.0188029576, -0.0478173196, 0.0527797677, 0.0300746001, -0.0177479777, 0.0006874475, -0.0171835106, -0.017757073, 0.0082310783, 0.0661208853, 0.0366807431, 0.0273171067, -0.0038319204, 0.0493558198, -0.0122806774, 0.0453114659, -0.0097604571, 0.0297616627, -0.0425030589, -0.0315285213, -0.0146446573, -0.0014330127, -0.0263309199, 0.0385538824, 0.0009735781, 0.069960326, -0.0134913204, 0.0124824382, 0.0723372996, -0.0280347057, 0.0629883632, 0.0250405483, 0.0236285664, -0.0020929563, -0.0198687054, -0.0577591546, -0.008187688, 0.0442626961, 0.0110374652, -0.0063690362, 0.0811851546, 0.0301679894, -0.0044766543, 0.0397489294, -0.0438717157, 0.0552594736, -0.0121010598, 0.0006314687, 0.0254056714, -0.0087995809, -0.050150726, -0.0142632416, -0.0090212328, -0.0775387958, 0.0340543427, -0.0051467121, 0.0285487883, -0.0062777614, -0.001540178, -0.0513158813, -0.0329497196, 0.0129673565, 0.0203999132, -0.0580089502, -0.0024475674, -0.0235756226, 0.049734544, -6.161274294e-33, 0.0281640608, 0.0412136875, -0.0026730355, 0.0273039248, -0.0258761365, 0.0335201174, -0.0102150468, 0.0168737546, -0.0490364768, -0.0289445426, -0.0211355574, -0.0203573778, 0.02123807, 0.0294552185, 0.0087320581, 0.0309906416, 0.0431357548, -0.0015888485, 0.0090389233, -0.0196691491, 0.0270230733, 0.0374295004, 0.0314775556, -0.0414285883, -0.0530080795, 0.008255125, -0.0431425199, -0.0040239738, 0.0171549208, 0.0541784726, -0.0076013966, 0.0475791469, -0.0061755786, -0.0318152122, -0.0065751211, 0.0044223848, -0.0927930996, -0.0115762278, -0.02913207, 0.0359135121, 0.0076397718, -0.0345978774, 0.0187995192, 0.0034179299, -0.0097030262, 0.0087642036, -0.0223854594, -0.0494583584, -0.0285205245, 0.0403284542, -0.0367750451, 0.0765298605, -0.0103062587, 0.0130814351, 0.081004113, 0.0269400179, -0.0277071912, -0.0257061124, -0.0539860688, -0.0124868127, 0.0348970555, 0.038214311, 0.0078178775, 0.0242489763, -0.0331728272, -0.0093995277, 0.0874310955, -0.0975260437, 0.0036534227, -0.0356288962, 0.0805228502, -0.0163398087, -0.0051793191, 0.0390619449, 0.0688156486, -0.0572133102, -0.0481530987, 0.0065768743, 0.0504544936, -0.0040372745, -0.0273692179, 0.0250604488, -0.0068123201, -0.0170787517, -0.0203578994, -0.0396945104, -0.0221958756, -0.0188505221, 0.040598914, -0.0092152888, 0.0156469103, 0.0833953321, 0.0484847948, 0.0134853981, -0.0275158938, -0.0145865139, 0.0116228452, 0.018259421, 0.0258146655, 0.0309246797, -0.045291841, 0.004815043, 0.0081229797, 0.0638008937, 0.0093753804, -0.0176215656, 0.0709796995, 0.06021991, -0.0729376897, 0.0004726179, -0.0053796414, -0.0208372641, -0.0039913636, 0.0036624128, 0.0149234328, -0.0167633407, 0.0341574289, -0.0025479358, 0.0542945266, -0.0029900852, 0.0293315575, -0.0004458492, -0.004598164, 0.0119132912, -0.021720171, 0.0083721355, 0.0435135663, -0.0459059626, -0.0056466595, -0.0367279463, -0.0173861496, 0.0064195455, 2.669e-7, -0.0422219299, 0.0154942712, 0.0512173697, -0.0618827567, 0.0306039453, -0.009393842, -0.0322521366, -0.0325393453, -0.0147084501, 0.0171447862, 0.0384810157, 0.0059969327, 0.1093565747, 0.0339155011, -0.0635244772, 0.0251767598, -0.0326367989, 0.013854323, -0.0279694535, -0.0255795848, -0.014369457, 0.1032727808, -0.026181845, -0.0562420264, -0.0125985108, -0.0035630914, 0.0175607949, -0.0173329301, 0.0622394383, -0.0568990782, 0.0287989285, -0.0256616753, -0.0157043561, 0.0237747468, -0.0214786343, 0.0463744439, -0.0149734821, 0.0054613729, -0.062421333, -0.026157897, 0.0122572882, 0.020508213, -0.0711380988, -0.0506400689, 0.0633385926, 0.0297648348, -0.0261530336, -0.0503198504, -0.0734095275, 0.0268823821, 0.0165182203, -0.0133932065, 0.0188730061, 0.0030116418, 0.0187093038, -0.0402699113, -0.0332340971, -0.0368015058, -0.0006632168, 0.052342765, -0.0350681432, 0.0402687639, 0.0054267808, 0.0212778319, 0.0092003727, -0.013439538, 0.0220735241, 2.266092755e-34, 0.011898322, -0.0411779247, 0.0547179803, 0.0165069085, -0.0247151162, -0.038458582, -0.0001492032, 0.0213722289, 0.0279246811, -0.0325206928, -0.0463522226 ]
http://arxiv.org/abs/2402.01796v2
http://arxiv.org/pdf/2402.01796v2
Speech foundation models in healthcare: Effect of layer selection on pathological speech feature prediction
2024-02-02T05:09:42
2024-06-21T13:49:56
Daniela A. Wiepert, Rene L. Utianski, Joseph R. Duffy, John L. Stricker, Leland R. Barnard, David T. Jones, Hugo Botha
eess.AS
eess.AS, cs.CL, cs.LG
Accurately extracting clinical information from speech is critical to the diagnosis and treatment of many neurological conditions. As such, there is interest in leveraging AI for automatic, objective assessments of clinical speech to facilitate diagnosis and treatment of speech disorders. We explore transfer learning using foundation models, focusing on the impact of layer selection for the downstream task of predicting pathological speech features. We find that selecting an optimal layer can greatly improve performance (~15.8% increase in balanced accuracy per feature as compared to worst layer, ~13.6% increase as compared to final layer), though the best layer varies by predicted feature and does not always generalize well to unseen data. A learned weighted sum offers comparable performance to the average best layer in-distribution (only ~1.2% lower) and had strong generalization for out-of-distribution data (only 1.5% lower than the average best layer).
Speech foundation models in healthcare: Effect of layer selection on pathological speech feature prediction: Accurately extracting clinical information from speech is critical to the diagnosis and treatment of many neurological conditions. As such, there is interest in leveraging AI for automatic, objective assessments of clinical speech to facilitate diagnosis and treatment of speech disorders. We explore transfer learning using foundation models, focusing on the impact of layer selection for the downstream task of predicting pathological speech features. We find that selecting an optimal layer can greatly improve performance (~15.8% increase in balanced accuracy per feature as compared to worst layer, ~13.6% increase as compared to final layer), though the best layer varies by predicted feature and does not always generalize well to unseen data. A learned weighted sum offers comparable performance to the average best layer in-distribution (only ~1.2% lower) and had strong generalization for out-of-distribution data (only 1.5% lower than the average best layer).
[ -0.0161922202, 0.0810476542, -0.0085060997, -0.0190528221, -0.0129701076, -0.0028995941, 0.0193530694, -0.0111928927, -0.0566780232, 0.0353685655, -0.0220706984, -0.0518572517, 0.0364104956, 0.0495727248, -0.0262564626, -0.0450132824, 0.02687883, -0.0262686368, -0.0044912579, -0.0162495803, 0.0108408974, 0.0152318096, -0.049489364, 0.05959443, -0.0132432515, 0.035444282, 0.0390582271, -0.0155645935, -0.0004226342, -0.0210124105, -0.0050565912, 0.0261299871, -0.006088831, -0.041307915, 0.0000019314, -0.0429075025, -0.0244816225, 0.0253428798, -0.0372869596, -0.0180689134, 0.0045752786, 0.0045745783, -0.0104488572, 0.0393549539, -0.0466087498, -0.0390625186, 0.0219315048, 0.0465785898, 0.0560559258, 0.0422717296, -0.0144143477, -0.001508532, 0.0403341651, -0.0173478872, -0.0504735969, -0.0446052141, 0.0358224027, -0.0327930897, -0.0466621369, -0.1036376357, -0.0015008438, 0.019540552, -0.0112345787, 0.0308349561, 0.0554129072, 0.0260542631, -0.0274701733, -0.0496680401, -0.0304379333, 0.0872251913, -0.013695145, 0.01182546, 0.0188173894, 0.001110904, -0.0149314506, 0.0026553371, -0.0646654144, 0.0000602464, 0.0070412043, 0.0127922362, 0.0257419478, 0.0089583527, 0.0356298573, -0.0127509618, -0.0265067965, 0.0327486172, -0.0085889427, 0.0151048116, 0.0514784753, 0.0164613426, 0.0090660378, -0.0326806381, 0.0068620229, 0.0250220094, -0.0417854972, -0.0020945049, -0.0187814273, -0.0279305503, 0.0068873409, -0.0146775404, 0.0078587206, 0.0050153257, -0.0612855889, 0.0254393499, -0.0399621651, -0.0088916421, -0.016069347, 0.0444953442, -0.0156175671, -0.0213969089, -0.0352474861, 0.0266185813, -0.0080075357, 0.0759289637, 0.0473937765, -0.0207710247, -0.0598225668, -0.0358219557, -0.0501686782, -0.0290378686, 0.0494728088, 0.0319124795, 0.0014328894, 0.027149329, 0.0158086903, 0.0386094078, 0.0116968323, 0.0687180459, -0.0025223461, -0.0831590742, -0.0060854005, 0.0211652238, -0.0107181808, 0.0049892622, 0.0618150719, 0.0539783277, 0.0227653068, 0.0010347908, -0.0062689735, 0.0182329994, -0.0082110437, -0.0271655507, 0.002683945, -0.0511617772, -0.004898448, 0.011502373, 0.0425974876, -0.0573668331, -0.0021805845, -0.0215267371, -0.0062968107, 0.0045119217, -0.0099873878, 0.0357546546, 0.0617345199, -0.0031115464, -0.0650968477, 0.0114638992, 0.0487488434, -0.0288577992, -0.0173556283, -0.0603982657, -0.0103533575, 0.0543943793, 0.05896575, -0.0194191188, -0.0281003863, -0.0255677234, -0.0634280443, 0.0158658661, 0.0054729222, 0.0251845662, 0.0146755474, -0.0306833908, 0.0176939536, 0.0767306909, 0.0593502223, 0.0430989824, -0.011762578, -0.0327238664, 0.0088533703, -0.0152675947, -0.0058877054, 0.0129966233, -0.0216015, -0.0297274087, -0.0637814924, 0.0230430495, -0.033386752, -0.0275586583, 0.01104711, -0.0369797312, -0.0050245128, 0.0240718685, 0.0507909134, 0.0194262899, -0.0236821491, 0.0560374297, 0.0462585278, 0.0058709229, -0.0019027141, -0.0656996071, -0.0155801382, 0.0006893555, -0.0245417673, -0.0191614516, -0.0338781774, -0.0284278318, -0.0036701676, -0.0190252084, -0.0252933409, 0.0160377752, 0.0770638138, -0.0264119674, 0.0149331698, 0.0739283636, 0.0222029891, 0.0160780102, -0.0402302891, 0.01352291, -0.0206308644, -0.0261516813, -0.0202206876, 0.0428862721, -0.0500329882, -0.0000468743, 0.0228671506, 0.0066382918, 0.0479017086, -0.0056325118, -0.0339684449, 0.0033644834, -0.0075588026, -0.0398755819, -0.0667722672, 0.0161481798, -0.0727005154, 0.0184290726, 0.0061442964, -0.0070408052, 0.0799733251, 0.0241302475, -0.0066493829, -0.0420462638, 0.0313073061, -0.0527651049, 0.0170449633, -0.0245927274, 0.010300626, -0.0151921529, 0.0282748193, 0.0039683254, -0.0122897606, 0.0017460289, -0.0813645422, 0.0106498748, -0.0664388761, -0.0022690706, -0.058715187, -0.0059964452, 0.0116512384, -0.0371880718, 0.0057580061, -0.0281238277, -0.0238854978, 0.0051725679, 0.0153314145, -0.0767840818, 0.0055800518, -0.0007416824, -0.0101322643, 0.0145774735, 0.0332519561, 0.0023892217, -0.0150823081, -0.0508857481, -0.0014534281, 0.0444927923, -0.0170498639, -0.0023127377, 0.0315474682, -0.0318825133, -0.0475355648, 0.0010280858, -0.0257934742, 0.011250874, -0.0214961674, -0.0735520869, 0.028475767, -0.0005071057, -0.0024176689, 0.0021801675, 0.0212743878, 0.0028850283, -0.0430472754, -0.0382236689, -0.1197324842, 0.0496850722, -0.0109445341, 0.0407968871, 0.0189510398, 0.0029327353, -0.0041440721, 0.0055957725, -0.0173460711, 0.0416807085, -0.0049607246, -0.0059286444, 0.0045124651, 0.0768493116, 0.0679922998, 0.0327419005, -0.058151111, -0.0032617303, -0.0173718203, 0.0264285002, -0.0121550336, -0.0196401123, -0.0167329889, 0.0385587923, -0.0132275634, -0.0344588608, 0.0495051146, -0.0433369093, 0.0239705052, -0.0367562026, -0.0613563843, -0.0608990118, -0.0342116058, -0.0508009568, 0.0037503049, -0.0129767405, -0.0279214736, -0.0200746283, 0.0023105566, 0.0279974025, -0.0532292128, 0.0313490145, -0.0343528017, 0.0115252454, 0.0198448636, -0.0417101532, -0.0390956551, 0.0094883973, -0.0173858423, 0.0294092204, -0.0488892868, 0.0206291825, -0.021333525, -0.0109289279, -0.019221941, 0.09342134, 0.0168941319, 0.0339156128, 0.0204370581, 0.0305645261, 0.0132042104, 0.0554270521, -0.0112324115, -0.0139626153, 0.0719033033, -0.0033675339, 0.0173657723, 0.0737704188, -0.0342156515, 0.0177266747, -0.0087167853, 0.0017164027, -0.0252104104, 0.046099972, 0.0171291046, -0.0276374407, 0.0121704424, 0.0802966282, -0.0183256846, -0.0158667434, 0.0146660814, 0.0150753669, 0.0013198138, -0.0329240821, -0.0107989945, -0.01854074, -0.032892216, 0.0447659679, 0.0525037497, -0.0015425053, -0.0305195935, 0.0261397436, -0.0550381988, 0.0389870331, -0.0009619078, -0.0230280608, 0.0252637435, -0.0508393981, 0.0457873978, -0.0488522686, 0.000468028, -0.0492692851, 0.0036501943, -0.0298487637, 0.0593372062, -0.1104155779, -0.0710063353, 0.036603976, -0.0107438993, 0.0370785184, 0.0760888234, -0.0226676147, -0.0293242093, -0.0147418147, 0.0190571249, 0.0214933231, 0.0096933506, -0.0240766276, 0.0764138699, 0.0508746617, -0.0003785183, -0.0122202216, 0.0722280964, -0.0449621677, 0.0018504999, 0.0258806199, 0.0776666403, -0.0068939882, -0.0309075508, -0.0292035062, 0.0406269543, 0.0319373719, 0.0545603819, 0.0011569661, -0.0389099009, -0.0071556945, 0.0326186456, 0.0298386216, 0.024754256, -0.027573375, 0.0590822175, 0.022780478, -0.0489273407, -0.0610424727, 0.0324372984, 0.0110460641, 0.0403384306, 0.0527454689, 0.0307203904, 0.0188413132, 0.035419289, -0.0067339633, 0.0339663513, 0.0638455898, 0.0433697291, -0.0426186509, -0.0039928979, 0.0436133035, -0.0489686728, -0.0524252877, -0.0097673656, -0.0161587987, -0.0070791836, 0.0206113085, 0.0205321722, 0.0246656723, 0.0050505837, -0.0516439453, -0.000126233, 0.0689823553, -0.0017294217, -0.0615640543, 0.0319729336, 0.0571251884, -0.1079806015, -0.0072247093, 0.0405022092, -0.0191697348, 0.0720664859, 0.0082220063, 0.0152750919, -0.006659247, -0.0175264794, 0.0082210088, 0.0447313897, 0.0680649057, 0.0319459327, -0.0071981996, -0.0193010569, 0.0556782745, 0.0271880981, 0.0511836708, -0.0361653157, -0.0121368384, 0.0457611158, 0.0287282243, 0.001800968, -0.0090138875, -0.0246564411, -0.0085205287, -0.0000034492, 0.0608116277, 0.0135713806, 0.0212790854, 0.0223034061, -0.0013112646, 0.0057714269, 0.0031536992, 0.0515332408, 0.0162374917, -0.0017076019, 0.0061764754, 0.0097361403, 0.0260788221, 0.0158013385, -0.0096058631, -0.0363876149, -0.0986999795, -0.052862972, -0.0413498282, -0.0061939014, -0.0215167701, 0.0541380867, 0.0102686128, 0.032056734, -0.0359126367, 0.0086839078, -0.0642292872, 0.0526226833, 0.0185068212, 0.0008542197, 0.0123436823, -0.0033760061, 0.0415273272, 0.0449890755, 0.0534023792, -0.048135642, 0.0217606984, -0.0249614548, -0.0211338475, 0.0233973376, 0.0012719746, -0.0301191658, 0.0415668301, -0.0553011708, -0.0427298956, 0.0789335072, -0.0647343025, 0.0307773259, -0.0384974107, 0.0406368002, -0.005013959, -0.022694055, 0.0103536611, 0.0094858781, -0.0524626933, -0.0341587737, -0.0118210418, 0.0155795831, -5.697574099e-33, -0.0121632293, 0.0325691402, 0.0216531083, 0.0241635069, -0.0150991119, 0.0460390784, -0.0299463943, 0.0243816432, -0.0243881606, 0.0168733317, -0.0360336155, -0.0062615974, 0.0235658977, 0.0494658612, -0.0074430373, -0.040251296, 0.0526422933, 0.0100448271, -0.021570649, 0.0107668154, -0.008601062, 0.0627192035, 0.0486502089, -0.0788891315, -0.1064933315, 0.0359741598, -0.0277407859, -0.0133266859, -0.0062300926, 0.0266801436, 0.0124182198, 0.0406513624, 0.0251472946, -0.0441032574, 0.0033489577, -0.0033423717, -0.068969354, -0.0046418016, 0.0210416242, 0.0034875569, 0.0013032865, 0.0206920616, 0.0568524338, -0.0092018452, -0.0208171625, -0.0314777121, 0.037315879, -0.0790573806, 0.0013937659, -0.0656372979, -0.0151542351, 0.0266732965, -0.0163648259, -0.0063072741, 0.0111501003, -0.0072019831, -0.0747451633, -0.0061343303, -0.0099357357, -0.0182242822, 0.0186768081, 0.0169420913, 0.0206258465, 0.0046796803, -0.0461091138, 0.0496970005, 0.0652797073, -0.0388205014, -0.0147812478, -0.0316925719, -0.0120741343, 0.0973422304, 0.044384554, 0.0130196791, 0.0168696176, -0.0396764949, -0.1033627763, 0.007173039, -0.0009602003, 0.036003124, 0.0003529963, -0.0282957572, -0.033913143, -0.0120475274, -0.0772601143, 0.0071318275, 0.0073661678, 0.0057367631, 0.0502454713, 0.002676758, 0.0151715139, 0.0009618117, 0.0231463239, -0.0247468557, 0.0205031689, 0.0166649073, -0.0016011873, -0.0163907669, -0.0024904644, -0.003437998, -0.0737277642, -0.0348199792, -0.0024271389, 0.0252616256, 0.0571773276, -0.0056359852, 0.0218921155, 0.0219509173, -0.0163122192, -0.0190501194, -0.0009488625, 0.0264322218, 0.0057227402, 0.0913152471, 0.0216678195, 0.0126184635, -0.0204994958, 0.034333434, -0.0752425268, 0.0474201068, -0.0498596318, -0.0130181294, 0.0334261321, 0.0303660389, -0.0793640688, -0.0305831656, -0.013609333, -0.0370471328, 0.0338323452, -0.0666012466, -0.0357012823, -0.000482318, 2.777e-7, 0.0185247958, 0.0164826028, -0.0064744782, -0.0431636982, 0.0187684242, 0.0096613383, -0.0497511327, 0.019677436, 0.0099386554, -0.0100230007, 0.0189440828, 0.0343950316, 0.0829952434, 0.0255502444, -0.0486451015, -0.0338747837, -0.0973848253, 0.000753855, 0.00852005, -0.01605694, -0.0300748963, 0.0578067861, -0.0126352543, -0.1019595116, 0.0496520698, -0.0028579815, 0.0236256942, -0.0268395692, 0.0351796076, -0.0027656569, 0.0053046243, 0.0022484541, 0.0108166477, 0.0504001342, -0.0304521564, 0.057022009, 0.0067981686, 0.0563768223, -0.0533773862, -0.0561705604, 0.0189655256, 0.0501698665, 0.0425734073, 0.013090916, 0.0598859042, -0.0112658488, -0.0268614851, -0.0508689694, -0.0515215583, 0.0018526666, 0.0278543364, -0.0264297407, 0.0232534688, -0.0015037038, 0.0117828827, 0.0250317045, -0.0480907746, -0.0154331969, -0.022609679, 0.0499005653, -0.0526933409, -0.038491033, 0.0106807314, -0.0206615236, -0.0186017156, -0.062291339, 0.035897959, 2.288032484e-34, -0.0060987766, -0.0038700458, 0.0199975464, 0.0170029216, -0.0189932324, -0.0055309916, 0.0482167751, 0.0291538704, -0.0013431875, -0.0308716763, -0.0313432179 ]
http://arxiv.org/abs/2402.01135v1
http://arxiv.org/pdf/2402.01135v1
A Multi-Agent Conversational Recommender System
2024-02-02T04:20:13
2024-02-02T04:20:13
Jiabao Fang, Shen Gao, Pengjie Ren, Xiuying Chen, Suzan Verberne, Zhaochun Ren
cs.IR
cs.IR, cs.CL
Due to strong capabilities in conducting fluent, multi-turn conversations with users, Large Language Models (LLMs) have the potential to further improve the performance of Conversational Recommender System (CRS). Unlike the aimless chit-chat that LLM excels at, CRS has a clear target. So it is imperative to control the dialogue flow in the LLM to successfully recommend appropriate items to the users. Furthermore, user feedback in CRS can assist the system in better modeling user preferences, which has been ignored by existing studies. However, simply prompting LLM to conduct conversational recommendation cannot address the above two key challenges. In this paper, we propose Multi-Agent Conversational Recommender System (MACRS) which contains two essential modules. First, we design a multi-agent act planning framework, which can control the dialogue flow based on four LLM-based agents. This cooperative multi-agent framework will generate various candidate responses based on different dialogue acts and then choose the most appropriate response as the system response, which can help MACRS plan suitable dialogue acts. Second, we propose a user feedback-aware reflection mechanism which leverages user feedback to reason errors made in previous turns to adjust the dialogue act planning, and higher-level user information from implicit semantics. We conduct extensive experiments based on user simulator to demonstrate the effectiveness of MACRS in recommendation and user preferences collection. Experimental results illustrate that MACRS demonstrates an improvement in user interaction experience compared to directly using LLMs.
A Multi-Agent Conversational Recommender System: Due to strong capabilities in conducting fluent, multi-turn conversations with users, Large Language Models (LLMs) have the potential to further improve the performance of Conversational Recommender System (CRS). Unlike the aimless chit-chat that LLM excels at, CRS has a clear target. So it is imperative to control the dialogue flow in the LLM to successfully recommend appropriate items to the users. Furthermore, user feedback in CRS can assist the system in better modeling user preferences, which has been ignored by existing studies. However, simply prompting LLM to conduct conversational recommendation cannot address the above two key challenges. In this paper, we propose Multi-Agent Conversational Recommender System (MACRS) which contains two essential modules. First, we design a multi-agent act planning framework, which can control the dialogue flow based on four LLM-based agents. This cooperative multi-agent framework will generate various candidate responses based on different dialogue acts and then choose the most appropriate response as the system response, which can help MACRS plan suitable dialogue acts. Second, we propose a user feedback-aware reflection mechanism which leverages user feedback to reason errors made in previous turns to adjust the dialogue act planning, and higher-level user information from implicit semantics. We conduct extensive experiments based on user simulator to demonstrate the effectiveness of MACRS in recommendation and user preferences collection. Experimental results illustrate that MACRS demonstrates an improvement in user interaction experience compared to directly using LLMs.
[ 0.0688124225, 0.0095862588, -0.0181080215, 0.0203109439, -0.0408611149, -0.0318181962, 0.0402569734, -0.0247140508, 0.0529830121, -0.0329716094, -0.0314012431, 0.0091005322, -0.022025818, 0.0401003323, -0.047675319, -0.0489363, 0.0075062108, -0.0577552766, 0.0083523942, -0.0262256619, 0.0301907845, 0.00456576, 0.0026560589, 0.0389430895, 0.004240681, -0.0134096388, -0.0375674814, -0.0212691836, -0.0312632024, -0.0059636012, 0.0329527855, 0.0225122087, 0.0232668668, 0.0008934078, 0.0000024117, -0.0584805571, -0.0085018128, -0.0384530164, -0.003880291, 0.0015080727, 0.045165237, 0.097281009, 0.0056799422, 0.0065209237, -0.0359608792, 0.0364705138, 0.0194884762, 0.0572871044, 0.0625492334, 0.0204588547, -0.017402228, 0.0055150199, -0.0196372736, 0.0090621589, 0.0256706998, -0.0278116278, 0.0030544298, 0.0132752378, 0.0473772921, 0.0204232968, 0.0072916443, -0.0000120777, -0.0196192451, -0.0590014085, -0.0143921645, 0.0195509624, -0.0226471275, -0.0519582555, -0.0081838658, 0.0741931796, 0.0407110825, -0.0045370511, -0.0139082922, 0.009162507, 0.0072381459, 0.0140967816, -0.0381398015, -0.0163420066, -0.0301041268, -0.0119671309, -0.0342634581, -0.0026340089, 0.0216427948, 0.0139425294, -0.0192583632, 0.0796324685, 0.0006074209, -0.0297315381, -0.0038816582, -0.0079321954, 0.0426013209, -0.0655190051, 0.0433979742, 0.0240987726, -0.1275705844, 0.0030702904, -0.003617336, 0.0616398379, 0.0071304413, -0.0560627431, 0.0384845622, 0.0291239619, 0.0047917305, 0.0406179577, 0.020870747, 0.0197963789, 0.0113642914, -0.0208496414, -0.0429410301, -0.0344134271, -0.0133302938, -0.0016341243, -0.0206380319, 0.0476113781, -0.0625417009, -0.0290484093, -0.0202687569, 0.0698146671, -0.0189118423, 0.0500172675, 0.0063844793, 0.0454688892, 0.0163432769, 0.0009205191, -0.1064055488, 0.017700851, -0.0348847993, 0.0098196464, 0.0249508526, -0.0336941592, 0.0469049811, 0.019792499, 0.013017253, -0.0110942749, -0.0190705564, 0.0435523801, 0.0121764941, -0.0150321694, 0.026178984, -0.0202435534, -0.0012028022, -0.0581579171, -0.0699440539, -0.0474991314, 0.0436092019, 0.046557337, -0.0008010026, -0.0087116295, 0.0390751064, 0.0320590623, -0.0107438751, 0.0718927458, 0.0088169742, 0.0193746574, 0.0280478429, 0.0193902608, -0.0602506623, 0.0065840622, 0.0249984581, 0.0724980906, 0.0537072122, 0.01772644, 0.0339119509, -0.003497083, -0.0293367021, 0.006647937, 0.0196916591, 0.0380823947, -0.0511459112, 0.043035347, -0.0048897821, 0.0690989122, -0.055212412, -0.0088815857, 0.0818501413, 0.0362123102, 0.0052150898, 0.0573711358, 0.0553881414, 0.0394059941, -0.0272638984, -0.0149844075, -0.0007232943, 0.0578994602, -0.0320202783, -0.0404919907, 0.0379556939, 0.0112245083, -0.0360338911, -0.0388640985, 0.0473282449, -0.0337433368, 0.0643523037, 0.0474951193, 0.0097836899, -0.0409713313, -0.0666832998, 0.0149362339, 0.034053456, -0.0477449149, -0.0246240329, -0.0355607122, 0.08272589, 0.158382073, 0.0417576246, 0.0265998282, -0.0229980238, -0.0053724209, -0.00473144, -0.0139734671, 0.0637727231, -0.0441394597, -0.0078583527, -0.0388672799, -0.0262762271, 0.0406735577, -0.049783323, 0.0533012562, -0.0279303174, -0.0206286963, -0.0072993301, 0.0542344898, -0.008850351, -0.0382813849, -0.0115078846, 0.0339929797, 0.0203462858, 0.0149172843, 0.0641761944, -0.0012309058, 0.0263181329, -0.0139271105, 0.0172836334, 0.0048358641, -0.0416095145, 0.0333195664, -0.0327392071, -0.0399828553, 0.0044036233, 0.0167190544, -0.0052776034, 0.0025104091, 0.0225713998, -0.0358494222, 0.0149206128, 0.0029686317, 0.0348084643, -0.0281589702, 0.026282208, 0.0218687635, 0.0022695805, -0.0158395823, 0.0343242027, 0.0247581061, -0.0061631282, 0.032253623, 0.0200905409, -0.0059137642, -0.0463971272, -0.0095244786, 0.0266516097, 0.0369821936, 0.0306656696, 0.0335800573, -0.0011417445, -0.0155443205, -0.0315605216, -0.1022417992, -0.0049200645, 0.011445879, -0.0306509808, -0.0418883748, 0.0632655695, 0.0155767482, -0.0354365185, -0.0427379087, 0.0434913114, 0.0167971086, 0.0204530824, -0.01298285, 0.0227030441, -0.0502444804, -0.0467711426, 0.0317043699, -0.0093807876, -0.0033660149, 0.003518112, 0.0185821708, -0.0497302376, -0.0255777817, -0.0433036722, 0.0060023284, -0.0320006311, -0.0074664075, 0.0122184316, -0.0260696933, 0.0237679165, 0.0134198628, 0.0182758309, 0.0594778918, 0.0216754116, -0.0457971059, -0.0972234011, 0.0382518582, -0.0277000312, -0.0082090488, -0.0556848645, -0.0081084007, 0.030042978, -0.0055954796, 0.001012734, 0.0235152524, -0.0485889204, 0.0082148658, 0.0520868115, 0.0021603834, -0.0131269963, -0.0337774009, -0.0367569439, 0.0638563111, 0.01111772, 0.0000523441, 0.0794710293, -0.0204368494, -0.0366658568, -0.0382255614, -0.0340550691, -0.0411477871, 0.003091123, 0.0052371128, 0.0296071693, -0.0335169919, -0.0048115836, -0.004163227, -0.0323643796, 0.0444639549, -0.0350917429, 0.0518902801, -0.0388974771, 0.0094643468, 0.0132412482, -0.0492846482, -0.0220900085, -0.0576812625, -0.011060643, -0.0123714916, 0.0036115216, -0.0145191923, -0.0573277548, -0.0069020921, 0.0302517936, 0.0299421214, 0.0064921579, -0.0314772017, 0.0086789662, -0.0229939763, 0.0447787493, -0.0022236621, -0.0195596702, 0.0018985958, 0.0849590451, 0.025532281, 0.0064400802, -0.0299289394, -0.0334414504, -0.0160435606, 0.053701438, 0.0114316912, 0.002676565, 0.0365756266, 0.0286492035, 0.0127491225, 0.0087309573, 0.1042610779, 0.0433886945, -0.1098913103, 0.008469237, -0.036799565, 0.0061200438, 0.0194718316, 0.0389741249, -0.0192995276, -0.0071406364, 0.0009978218, 0.010940644, -0.0047208653, -0.0332521535, 0.0075574443, -0.0846616849, 0.0389204696, -0.0281472132, 0.0024981231, 0.0306115542, -0.0377519391, 0.0010131671, -0.0012534156, 0.0450266302, -0.0130558908, 0.0088540679, -0.0283294655, -0.0180624016, 0.0012486071, -0.0033790527, 0.0626441985, -0.0273344088, 0.0478243418, 0.071714662, 0.0454945378, 0.0237105023, -0.0068065398, -0.0028985259, 0.0245126896, 0.0019658024, -0.0118803196, 0.0016593462, -0.0087487744, 0.0169034172, -0.0410236493, -0.0009174817, -0.0189920701, -0.0163738895, 0.0276447255, 0.0313021056, -0.066387549, 0.0121805035, -0.0117594693, 0.0482306182, 0.0497682989, 0.0479264297, -0.0005714285, -0.0886488929, -0.0112373764, -0.0709017962, -0.0493328273, -0.0272859149, -0.0258615371, -0.0116465846, 0.0143256346, 0.0337868407, -0.0510282032, -0.054034695, 0.00861389, -0.0139864283, 0.0045349221, 0.0286683384, 0.0120566282, 0.0061049107, 0.079565011, -0.0110296831, 0.01022074, 0.0366855115, -0.0278268997, -0.0124359895, 0.0543220676, -0.0591492094, 0.021702012, -0.0245287176, -0.0130822882, -0.0362793729, -0.0459037684, 0.0933479592, 0.0137121845, 0.0434405915, -0.0411800332, -0.0688927174, -0.0181205682, 0.0051956736, -0.0553006157, -0.0336357281, 0.0086152824, 0.0902466699, 0.0056158388, 0.043944113, -0.0474016927, -0.0123186437, -0.0414761156, 0.0112643139, -0.0587737188, -0.0859007984, 0.0145917907, -0.0020986849, -0.0029052072, 0.0225374028, 0.0439826809, 0.0303036626, 0.0320799947, -0.0463827439, -0.0506098159, -0.0365023017, -0.0024180196, 0.0008092981, -0.0546681471, 0.0236097649, -0.0254369155, -0.0335797966, 0.0123363007, 0.0080493456, 0.0656248704, 0.0048872703, -0.02888708, 0.0594878159, 0.0339904949, -0.0099775009, -0.0116779162, 0.037799444, 0.0353379734, -0.0061084167, 0.0922509804, -0.0072506471, -0.0610758811, 0.0064416188, 0.020723613, -0.0268828534, -0.0545987561, 0.0449366234, 0.0406740718, 0.0117988968, 0.0037387051, 0.0276323613, -0.0397729166, 0.0282564387, -0.0463719368, 0.0123309763, 0.005028273, -0.0369641669, 0.0319804065, 0.0298176073, -0.0051696845, 0.0198858287, 0.0467582643, -0.0403658524, -0.0221279934, -0.0034867038, -0.0606843866, -0.0533236824, -0.0150924241, -0.0089640133, 0.0300601814, -0.0448189005, -0.0145896832, -0.0291140638, -0.015062077, -0.0160070676, -0.0187808927, 0.0087377252, -0.0655035302, 0.0148209231, 0.061107073, 0.0152392322, -0.0019040186, -0.0951236114, 0.0114142094, -0.0543638356, -0.006067066, -0.0497256964, -6.448184547e-33, -0.0037284151, -0.0241046641, 0.0516761392, 0.054961279, 0.0097126896, -0.0777822435, -0.0386696458, 0.0148157934, 0.0197776426, 0.0020480596, -0.0315979384, -0.0097429752, 0.0050793765, 0.0161123425, 0.0202323645, -0.0029115737, 0.0603153892, 0.0277229771, -0.025074631, 0.0156147014, 0.0414102599, 0.0043600607, -0.0288373381, -0.0782022774, -0.001108508, -0.0279571954, -0.0063297129, 0.0073189824, -0.0253273956, 0.0639217719, -0.0032168252, 0.044389233, -0.0019162571, 0.0017504292, -0.0000602242, -0.0102126962, -0.0324235409, 0.0062543573, 0.0538605936, 0.0323226303, 0.0152850458, -0.0164992157, -0.0285440329, -0.0008829184, -0.0027585982, 0.0468527079, 0.0135358321, -0.012092487, -0.0766412839, 0.0215420946, -0.0143995592, -0.0078403056, -0.0208329316, -0.0438994132, 0.0087250713, 0.0506854951, -0.0204633344, 0.0077593564, -0.0393462516, 0.0380660295, -0.0295512322, -0.0126847317, -0.0262777489, 0.0004482995, -0.019683199, 0.0377888568, 0.0286661368, 0.0280947108, 0.005857517, 0.0010103586, -0.0568875298, 0.0697257817, -0.0152755445, 0.072786063, -0.0428868458, -0.0081554586, 0.0091060232, 0.0480751954, 0.0450833477, 0.0246729646, 0.0616082102, 0.0445719287, -0.0345638469, -0.0198294371, -0.0259382259, 0.0166851971, -0.0527096763, -0.0784848556, 0.0292515364, 0.0434260406, 0.0253430773, -0.010827071, 0.0243256092, -0.0373106599, -0.0473443121, -0.005750271, -0.025602337, -0.0084830895, -0.0109300539, 0.0021702952, -0.0550356694, -0.0166547336, -0.0034920729, -0.0274412297, -0.0289202277, 0.0402099192, -0.0044382336, 0.0235738754, -0.0168839619, -0.0059048282, -0.0151908835, -0.0366035439, -0.0391446874, 0.0213405173, 0.0204622615, 0.0090417601, -0.0521022044, 0.0518569574, -0.0315912217, -0.0203519426, -0.0319234915, -0.0973127782, 0.0112282597, -0.006734224, -0.041612532, -0.0451790616, -0.046388723, -0.006491981, 0.0605154447, -0.0236876719, -0.0105103068, -0.0223000534, 3.093e-7, -0.0465949625, 0.0492186993, -0.0447689034, -0.0013255941, 0.017309472, 0.0610717498, 0.0000542356, 0.0282722972, 0.0464722514, 0.02828083, 0.0322776549, 0.0050777891, 0.0348118357, 0.0397542268, -0.0844679475, -0.0021345031, -0.0232052896, -0.0229343455, -0.0533598475, -0.0111974124, 0.0282149836, 0.0487904735, 0.0401237831, 0.015626967, 0.0060176472, 0.0112877022, 0.0459292755, -0.0785298869, -0.0696633235, -0.0025417537, 0.0214663204, -0.033025112, -0.006946824, 0.0031497453, 0.0093414448, 0.007485582, -0.0142950313, 0.0548045933, -0.0130459853, -0.0540829599, -0.0122638885, -0.0066944472, 0.0190791134, -0.0186294988, 0.0381420404, 0.0073781307, -0.0142594855, -0.0024305976, -0.0179483853, -0.0085711516, -0.0054949736, -0.0377068706, -0.0377432257, 0.0062008481, -0.0166170001, 0.004493746, -0.0080372784, -0.0410387926, 0.0363115519, -0.0195831805, -0.037739709, -0.0507582128, -0.04383187, 0.0103274025, 0.0037300661, -0.0272868723, 0.0495510697, 2.412659681e-34, 0.037368048, 0.0230312254, -0.0030777571, 0.0274276286, 0.0614791773, 0.0230039824, 0.0066947024, 0.0222328659, 0.0615192428, -0.0605892688, -0.0368840136 ]
http://arxiv.org/abs/2402.01118v3
http://arxiv.org/pdf/2402.01118v3
PokeLLMon: A Human-Parity Agent for Pokemon Battles with Large Language Models
2024-02-02T03:22:12
2024-04-02T15:46:35
Sihao Hu, Tiansheng Huang, Ling Liu
cs.AI
cs.AI, cs.CL
We introduce PokeLLMon, the first LLM-embodied agent that achieves human-parity performance in tactical battle games, as demonstrated in Pokemon battles. The design of PokeLLMon incorporates three key strategies: (i) In-context reinforcement learning that instantly consumes text-based feedback derived from battles to iteratively refine the policy; (ii) Knowledge-augmented generation that retrieves external knowledge to counteract hallucination and enables the agent to act timely and properly; (iii) Consistent action generation to mitigate the panic switching phenomenon when the agent faces a powerful opponent and wants to elude the battle. We show that online battles against human demonstrates PokeLLMon's human-like battle strategies and just-in-time decision making, achieving 49% of win rate in the Ladder competitions and 56% of win rate in the invited battles. Our implementation and playable battle logs are available at: https://github.com/git-disl/PokeLLMon.
PokeLLMon: A Human-Parity Agent for Pokemon Battles with Large Language Models: We introduce PokeLLMon, the first LLM-embodied agent that achieves human-parity performance in tactical battle games, as demonstrated in Pokemon battles. The design of PokeLLMon incorporates three key strategies: (i) In-context reinforcement learning that instantly consumes text-based feedback derived from battles to iteratively refine the policy; (ii) Knowledge-augmented generation that retrieves external knowledge to counteract hallucination and enables the agent to act timely and properly; (iii) Consistent action generation to mitigate the panic switching phenomenon when the agent faces a powerful opponent and wants to elude the battle. We show that online battles against human demonstrates PokeLLMon's human-like battle strategies and just-in-time decision making, achieving 49% of win rate in the Ladder competitions and 56% of win rate in the invited battles. Our implementation and playable battle logs are available at: https://github.com/git-disl/PokeLLMon.
[ 0.0239315964, 0.0038126404, -0.009614734, 0.0440611653, 0.0260722823, 0.0070600184, -0.0451859348, 0.0081634596, -0.0470336527, -0.0184837412, -0.0531133786, -0.013112478, -0.0385350436, 0.0334790275, 0.0302092545, -0.0537775606, 0.0069715925, -0.0324861892, 0.0522140786, -0.0142515032, -0.0027951566, -0.0467671528, -0.0352746174, 0.036035832, 0.004973291, -0.0049230871, -0.0751736239, 0.0171819441, 0.0345334224, -0.1070015728, 0.0224250257, -0.0513494983, 0.0329048, 0.0040099635, 0.0000018319, -0.0306525379, 0.0243290383, -0.0354963206, -0.0144608179, -0.0398319475, 0.0087302933, 0.0050199865, -0.0092206234, 0.0091786925, -0.072190173, 0.0119934715, 0.0513010435, 0.0587205626, 0.0885351598, 0.0705550686, 0.0187599082, -0.0173625462, 0.0270548854, -0.0009354726, 0.0081617013, -0.0270993114, -0.022227617, -0.0464162827, 0.0211849306, -0.0136871198, 0.0017017071, -0.0332999416, 0.0401170664, 0.0012403983, -0.0340599529, 0.0463934839, -0.0021843254, 0.0267165042, -0.0225101933, 0.0313177481, -0.0241014175, -0.0129933329, 0.0257662404, 0.0098578203, 0.0340547003, -0.016877491, -0.0037853122, 0.0374320932, -0.0191348642, 0.0254926253, 0.0148121966, 0.0119061796, 0.0234854762, -0.002625233, -0.0318178162, 0.0794029757, -0.013669258, -0.0541917682, -0.0039986805, 0.0151636545, 0.0128919603, -0.0288844462, -0.0008057642, 0.0381208621, -0.0539271533, 0.0001107421, -0.0488908999, -0.0326137543, -0.0020586965, -0.0935434923, 0.0102169281, 0.0014263882, -0.0135465432, 0.0108901318, 0.0023608904, 0.0446317457, 0.012135732, 0.0409753956, 0.0058567687, 0.0278945807, -0.0186591893, 0.0179298427, -0.0520080291, 0.0359873362, -0.0103091821, -0.0256099943, -0.0440928936, 0.0210055392, -0.0375719331, 0.0393742658, -0.0281915031, 0.0180578418, 0.0195156578, 0.0096852463, -0.0496924296, -0.0522410423, -0.0351334251, -0.0069586216, 0.0203124583, -0.0344472863, -0.0029250977, -0.0050219405, -0.0459857434, -0.0200160928, 0.0261331014, 0.0826095045, 0.0039559738, -0.0165202208, -0.0013172709, 0.0229157694, 0.0303660184, -0.0584792644, -0.0110304989, -0.0485222228, 0.022993736, -0.044800438, -0.0090461457, -0.0213342104, 0.0296089482, 0.0015191317, 0.0477899387, 0.077852644, -0.008514842, 0.0125537524, 0.0027923367, -0.0071818219, -0.0570438802, 0.0486814827, 0.0804260299, 0.0001531058, -0.0170129091, -0.0062811328, 0.0414105393, 0.0507219583, -0.0041554929, -0.0097995689, 0.0022347048, -0.0272464398, -0.012439616, 0.0739725158, 0.0244038682, 0.0136133879, -0.0529616214, -0.0194129329, 0.0869603679, 0.0582121871, -0.0051503824, 0.0285344813, 0.0217679106, 0.0020140917, 0.0198473278, -0.0121804317, -0.0199430957, 0.0539731793, -0.0107346186, 0.0017112913, -0.0467374548, 0.0117638651, -0.0016453482, -0.0578644872, 0.0110636167, 0.0144549934, 0.0006200604, 0.0200670101, 0.0417212434, 0.011346329, -0.0484670475, 0.0550438873, 0.0108680408, -0.0370266661, -0.0110893296, -0.0572649352, 0.0357294641, 0.0984710753, 0.0102817081, -0.0500154868, -0.0291908048, -0.005182066, -0.0230165422, 0.0991289467, -0.0258337762, 0.0017331546, 0.0062649189, -0.0234591532, -0.0259732865, -0.0185385719, -0.0050107408, 0.0440798365, -0.014870584, 0.0297611859, -0.0439488739, 0.0532977432, -0.0143337995, 0.0478000119, 0.0035623009, -0.0297964681, -0.007398448, -0.0063238707, 0.0452241078, 0.0327484347, -0.0302665718, -0.0076008015, 0.0387853347, -0.0043470394, -0.0150569221, 0.0515558496, 0.0222609919, 0.0187953841, 0.0631675869, -0.0242404882, 0.0039113401, 0.0172780305, 0.01827785, 0.013072717, -0.0012965762, -0.0346375108, 0.0639215559, -0.0137326233, 0.0251610503, -0.0058683357, -0.0153689897, 0.0182047114, 0.0158546511, -0.0047948062, -0.0468415692, 0.0184483211, 0.0071332497, 0.0293155275, -0.0808937252, -0.0190608185, 0.0536757335, 0.0202181339, 0.0121473856, 0.0135932481, 0.0204582494, -0.0281933323, -0.0078179631, -0.0717548355, -0.0093174782, -0.0094720246, 0.0052029835, 0.0121662123, -0.0504306667, -0.0225125737, -0.0153398998, -0.0282652061, 0.0372103639, -0.0019937195, -0.0114755388, 0.0357253477, 0.0225919168, 0.0043726997, -0.0314614587, 0.037369851, 0.0076415027, 0.0152681954, -0.0286072381, 0.0149608022, -0.034514647, 0.0412845537, -0.0414308645, 0.0608329289, -0.0232120249, -0.0924353674, 0.0841789767, -0.0438439175, -0.009136837, 0.0319618694, 0.0312063359, 0.0201146603, 0.0941121429, -0.0056918976, -0.0486392714, 0.0450330228, 0.0144582018, -0.0211941581, -0.0464967676, -0.0125672724, 0.0354464985, 0.0906785578, -0.0445088148, 0.0369878933, -0.0497026742, 0.0067547653, 0.0208398178, -0.0727125183, -0.0471974835, 0.015718421, -0.0418763906, -0.0227274857, -0.0476394072, -0.0140826004, 0.0836420953, 0.003846504, 0.0002942241, -0.015261774, -0.0278624687, -0.0019180417, 0.0610796176, -0.0129373772, 0.021318147, -0.051176846, -0.0017145155, -0.0115083475, -0.0381404273, 0.0180788115, -0.0404231474, 0.0166970007, -0.0479779914, -0.0102098398, 0.0353704281, -0.0373222306, -0.0216480102, 0.0057362616, -0.0491834842, -0.0182640776, -0.0394823514, -0.0616137646, -0.0439613312, -0.0354183018, 0.031406492, 0.0104357852, -0.013359529, -0.0253601614, -0.0109681142, -0.0457545407, 0.0703829303, 0.0786401331, 0.0261205491, -0.0400972068, 0.048249431, 0.0766129047, 0.0736977011, -0.0650183186, -0.0317363553, 0.0141399074, -0.0078768954, -0.0363447852, -0.014124346, 0.0227552112, 0.0211401395, -0.0836866498, 0.0067326063, 0.0787540451, 0.0149814915, 0.0107214535, 0.0036934428, -0.0669237673, -0.0016820983, -0.0082770698, 0.0110755032, -0.0370975323, -0.0072150487, -0.0217465926, 0.0606048852, 0.0167829711, -0.0253197383, 0.023247635, -0.0956455246, -0.0052312277, 0.0231857635, 0.0169319734, -0.0263417326, 0.0201579649, -0.0188553296, -0.0056347121, -0.0083736219, 0.0280594751, 0.0198293962, -0.0182437468, 0.0046695718, -0.0049552238, 0.0749257058, 0.0010562838, -0.0749960169, 0.0187580995, 0.0587522052, 0.0688850507, -0.0352863111, -0.0787249729, -0.0489547513, 0.0382360816, 0.0346259922, 0.0018439362, -0.0075560901, -0.0168107525, -0.0133165205, 0.0026868335, 0.0002295005, -0.007551407, -0.0305414721, 0.0610363334, 0.0488708764, -0.0223924331, -0.018501522, -0.0225019008, -0.0184956603, 0.0158331208, 0.037811365, -0.0333960503, -0.0632654727, -0.0685073584, -0.0270041153, 0.007568473, -0.0360588245, -0.0340209194, -0.0010474243, 0.015381828, 0.0097291386, -0.0891716704, -0.06992127, 0.0191806629, 0.0568417311, 0.0123184882, 0.0082788141, -0.056712497, 0.0011371931, -0.0058590481, -0.0167158935, 0.0137280347, 0.0194345545, -0.0327500403, -0.0429236032, 0.0005573264, -0.0466286205, 0.0312814973, 0.0418370776, 0.0329404101, -0.0145281516, 0.023699278, 0.0751793087, 0.0175025538, 0.0165007208, 0.0342041552, -0.0222364571, 0.0778652132, 0.0174370818, -0.0060762945, 0.0342082344, 0.0320227295, 0.0149681447, 0.0226426963, 0.0198893081, -0.0570039004, -0.0504329763, 0.0142224198, 0.0362120867, -0.055713404, -0.0301779769, 0.0044552544, -0.0155576468, 0.0459061973, -0.0386226177, -0.0366577469, 0.0103711551, -0.0005716673, -0.023026254, 0.017888587, -0.0506480746, -0.0090237586, 0.0075070895, 0.0278003309, 0.0292862225, 0.0125498278, -0.0052737887, -0.0442614146, -0.0150237065, 0.0541887395, 0.0597519688, 0.0263453256, 0.0078179305, 0.0279529709, 0.0366814062, 0.0428506359, 0.0114714, 0.0077460073, 0.0424007364, 0.0569559969, 0.0140922032, -0.0339110494, -0.0120284948, 0.0225934628, -0.0407577008, -0.0146376528, 0.0546474271, 0.022094382, 0.0712127537, 0.0694809258, 0.0274472106, -0.0437238961, 0.0065041902, 0.0063698753, 0.0072010527, -0.0148671707, -0.0396658853, 0.0148409642, 0.0476017296, -0.0229465906, -0.0055623739, 0.0374632664, 0.0304961745, 0.093575187, -0.01260438, -0.0072409436, -0.0241390262, -0.0121696237, 0.0001105078, 0.0510813594, -0.0056090136, -0.0275789388, -0.0656119958, -0.0320479982, 0.0075380718, 0.1180754602, 0.0080569349, -0.0513036512, 0.0195504818, -0.0040205405, -0.0043373071, -0.0117823733, -0.0370697565, 0.0163111649, 0.0038000562, -0.0043012886, -0.0112103131, -4.74037162e-33, -0.028670352, -0.0606192611, 0.063402243, -0.0088413218, -0.0603084825, -0.0163205024, -0.0552265458, 0.0108589828, 0.0129747996, 0.01095179, -0.0111267213, 0.0116065368, -0.0121905208, -0.0310204197, 0.0403971337, -0.034552034, 0.0238939375, 0.0002961378, -0.0193063151, -0.0308865998, 0.0133172376, 0.0228961203, -0.0062165549, -0.0208360422, 0.0164093729, 0.0188799407, -0.0190157052, 0.0248083249, -0.0468014292, 0.0441989973, 0.0003639931, -0.0105335237, 0.0024429492, -0.00437201, -0.016627796, 0.0040819589, -0.0383318104, -0.0354225971, -0.0363531187, -0.0006798701, -0.0111722592, -0.0068289535, 0.0311003495, 0.0242014825, -0.0428610332, 0.0168331936, 0.0045317332, -0.0328470767, 0.0142062372, -0.007451701, -0.0144600226, 0.008126393, 0.0116800219, -0.0293798801, 0.0386263989, -0.0196532998, -0.0321404859, -0.0412828773, -0.0525245257, 0.0448492728, -0.0002897694, -0.0754305869, 0.0326162092, 0.0740040988, 0.0577196293, 0.0693931505, 0.0510174669, -0.0117062451, -0.0571889803, -0.0222386234, 0.0322766006, 0.0576651618, 0.05916382, 0.0407184176, 0.026056109, -0.0202658307, -0.0239840727, 0.0542474203, 0.064777717, 0.0432961807, 0.0138147818, 0.0616799891, -0.0511509292, 0.0063067074, 0.0277477223, 0.0030570091, 0.0032857321, -0.0879123285, -0.0019252212, -0.0208070278, 0.0050528944, -0.0596099645, 0.0266925879, 0.0090273432, 0.0075790677, 0.0152518256, -0.029574737, 0.0199893788, -0.0175318271, -0.0431989543, -0.0116660977, -0.0297647882, 0.0007094028, -0.0058711399, 0.0390906744, 0.0455012321, -0.0076920711, 0.0357992463, -0.0204654709, -0.004073367, -0.0163662229, 0.0209903251, 0.058082711, -0.0141662508, 0.0582686365, -0.0610530637, -0.0050905673, -0.0030910508, -0.0355251133, -0.0761675164, -0.0315470956, 0.0518532842, -0.021069441, -0.005738189, -0.0274695046, 0.0429314412, -0.0439981483, 0.0810342282, -0.0376803726, -0.0578712225, -0.0327069052, -0.0103969527, 2.651e-7, -0.0357546881, 0.0153339356, -0.0017556879, -0.0088197393, -0.0051117926, 0.0822333321, -0.0639717951, 0.0352743268, -0.0137487892, -0.0356683061, 0.0364083312, 0.0617785752, 0.0288922638, 0.0012665865, -0.0855847299, -0.0611341633, -0.0551902615, -0.0029692876, -0.0191050656, 0.0005596053, 0.0352371633, 0.0035352237, 0.0401201062, -0.0068468191, 0.0394593738, -0.0038501208, 0.0002672702, -0.0290002804, 0.0070504877, -0.0482644178, -0.0366855189, 0.0190724153, -0.0568988807, -0.0410672426, -0.0024398232, 0.0315656587, 0.0208126456, 0.0283977091, -0.0273919832, -0.0132653508, -0.0089878086, 0.0118144145, -0.0206300169, -0.0121984947, 0.0176062994, 0.0346156992, -0.0046086754, -0.0471984819, -0.0240810923, -0.0418745689, -0.0733187422, -0.0512462296, -0.0333808996, -0.0210678205, -0.0343736298, -0.0188138038, 0.0179316159, -0.0566735864, -0.0023353947, 0.023801472, -0.0266572181, -0.0543839, -0.0753532201, 0.0693280622, 0.0096379118, 0.0067965896, 0.0071245143, 1.770558405e-34, -0.029202858, -0.0115249315, -0.0146348448, 0.0138477869, 0.0310496558, 0.0458240807, 0.0297284834, 0.0027416139, 0.0736328512, 0.0191666707, -0.0058858674 ]
http://arxiv.org/abs/2402.01117v1
http://arxiv.org/pdf/2402.01117v1
DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models
2024-02-02T03:21:00
2024-02-02T03:21:00
Mohammadreza Pourreza, Davood Rafiei
cs.CL
cs.CL, cs.DB, cs.HC
Leading models for the text-to-SQL task heavily rely on proprietary Large Language Models (LLMs), posing concerns over data privacy. Closing the performance gap between small open-source models and large proprietary models is crucial to mitigate this reliance. To this end, we introduce a novel two-stage fine-tuning approach that decomposes the task into two simpler tasks. Through comprehensive evaluation on two large cross-domain datasets and two small LLMs, we show that this approach improves execution accuracy by 3 to 7 percent, effectively aligning the performance of open-source models with their proprietary counterparts.
DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models: Leading models for the text-to-SQL task heavily rely on proprietary Large Language Models (LLMs), posing concerns over data privacy. Closing the performance gap between small open-source models and large proprietary models is crucial to mitigate this reliance. To this end, we introduce a novel two-stage fine-tuning approach that decomposes the task into two simpler tasks. Through comprehensive evaluation on two large cross-domain datasets and two small LLMs, we show that this approach improves execution accuracy by 3 to 7 percent, effectively aligning the performance of open-source models with their proprietary counterparts.
[ -0.006263298, 0.0937620476, -0.015136783, 0.0430443063, -0.0253399368, 0.0013681672, 0.0572394095, 0.0004264676, 0.0136666447, -0.0324182808, -0.0221036971, 0.0040458222, 0.0023994469, 0.0477208868, 0.0293500144, 0.004633415, 0.0210985392, -0.0219952166, -0.0559975095, -0.000556912, -0.0456898138, 0.0213780738, 0.0518257767, -0.0280446224, 0.0257235207, -0.0209165681, -0.0011807146, 0.0034395456, -0.0105807148, 0.0129861161, -0.0109640788, 0.0455862209, 0.0350778289, 0.0544238612, 0.0000020354, -0.0398980416, -0.0530165508, 0.0567921326, -0.0216942877, 0.0284038913, 0.0482796617, -0.0411179103, 0.0490945019, 0.0367324986, -0.0336260498, -0.0121032922, 0.0101189343, 0.025021594, 0.0632482544, 0.0793086439, -0.0109456452, -0.0426351912, -0.0377505906, -0.0205178764, 0.0004598096, -0.0394725911, 0.0170381032, 0.0107757971, -0.0069455393, 0.0122192334, 0.0058340607, 0.0135960663, -0.0448171273, 0.0212735403, -0.0219218917, -0.0467909835, -0.0024367683, 0.0186312608, 0.0289091263, 0.010360905, 0.0282458644, -0.0180222522, 0.0194358621, 0.0233359095, 0.0240684766, -0.0157152917, 0.0104198875, 0.0075278785, 0.0056578587, 0.0146431094, -0.0135146007, -0.0231371149, -0.0022644694, -0.0020886315, -0.0460484177, 0.0154628847, -0.0103534227, 0.0007918656, -0.0213893838, -0.0328816921, 0.0071353852, -0.0498373881, 0.0485600382, -0.0209288187, -0.034420263, -0.0184325315, -0.0619493909, -0.0294156279, 0.0088516464, -0.0441463217, 0.0292512104, 0.0310586877, 0.0425274856, 0.0440319963, 0.0141426651, 0.0123047857, 0.0199158434, 0.0000257644, -0.0163425915, -0.0359458663, -0.0122584188, 0.0412805304, 0.0009244859, 0.0495168269, -0.1265345663, 0.029209042, -0.0185901187, 0.0388575271, 0.0087210145, 0.0373122394, 0.037621811, 0.002274022, -0.0157341938, -0.0312587097, 0.0022725654, -0.035899058, 0.0107199848, 0.0402132347, 0.0119611714, -0.0563895293, -0.0057125925, -0.0397150517, 0.0200708788, -0.0393918492, 0.0173266865, 0.0327063911, 0.0021411346, -0.0052674036, -0.0871729329, -0.069958441, -0.0125426231, -0.0212187227, -0.0296774115, -0.0290458817, 0.0523658842, 0.0039934618, -0.017974684, -0.1010143235, -0.0458024181, 0.015690526, -0.0343921967, 0.0557142645, -0.0269714445, 0.0225018673, 0.0091304295, -0.013628223, 0.0459497049, 0.067045182, 0.0192541685, 0.0565487444, 0.0210715719, -0.0162043795, -0.0345603637, 0.0135177663, 0.0197296254, 0.0491030812, -0.0672592819, 0.0849670842, -0.0082601709, -0.0138684632, 0.0211783666, 0.0539530776, 0.0121906893, -0.0255051553, 0.0744396299, 0.026890561, 0.0281585623, 0.0315040946, -0.0386125483, 0.0668706596, -0.0140517261, -0.0444221906, -0.0348431394, -0.0293185841, -0.0272549167, -0.0105679501, 0.0202232655, 0.0325852595, -0.0151743079, -0.0183471758, -0.0068020071, -0.0490185134, 0.0202716552, 0.0424821712, 0.022999011, 0.0207813811, 0.0279006381, 0.0349583551, -0.0141026424, -0.0188521948, -0.0073586782, -0.0211265795, -0.0400090627, 0.0713164285, -0.0049684197, -0.022329364, 0.0186997484, -0.0358422883, 0.0431751348, 0.0018528169, 0.0061530843, -0.002434755, 0.0341956541, -0.0058078109, -0.0485657603, 0.0424430743, 0.0435767099, -0.0102191623, 0.0204657856, 0.0127011118, 0.0234371498, -0.0388129205, -0.0144651411, 0.0212430377, -0.018286474, -0.0320832916, 0.0473178737, 0.0076138852, 0.020184366, 0.0355171338, -0.0167865641, 0.0014424172, 0.001390636, 0.0289505254, -0.0220692661, -0.0614963025, 0.0659100115, 0.0111303022, 0.0010478632, -0.00119555, 0.0205253623, 0.0395852365, -0.0497481041, -0.0095626563, 0.0020609675, 0.0009699762, -0.0014082676, -0.0194917135, 0.01522722, -0.0164468829, 0.0007948647, -0.0417608991, 0.0112844184, -0.0323691517, 0.016785007, -0.0287057031, -0.0748462677, 0.0299103465, -0.0322832577, 0.043054726, -0.0445651039, -0.0166158453, 0.0508786961, -0.0156552866, -0.0048221466, -0.0240296181, -0.0314571671, -0.0164185818, 0.0306308921, 0.0085205613, 0.0748629197, -0.0065600821, 0.0394207351, -0.0268772207, 0.0040656114, -0.0531679019, -0.0323017687, -0.0179200638, 0.0052486411, 0.0315774456, -0.0120959338, -0.0250408519, 0.0169568136, -0.0288783256, -0.0059551694, 0.0437910631, -0.0690058172, -0.0321224704, -0.0345637351, 0.0585488565, -0.0161349364, 0.0428138748, 0.0110218683, -0.0238923542, -0.0495926104, 0.0046695499, -0.0264240149, 0.0473144576, -0.0125694582, -0.0683667064, -0.0135235069, -0.0105069224, -0.0473231822, -0.0096352426, -0.0220893137, -0.0074510635, -0.0209083334, -0.0388788767, 0.0493169129, 0.0119987885, 0.0209461506, -0.0389676914, -0.0109061254, 0.0178147387, 0.0235646572, 0.0116336411, -0.0172715764, 0.0321282037, 0.0075737746, 0.0315104388, 0.0097506624, -0.0193148758, 0.0624645613, -0.0403959341, 0.0353847593, -0.0251704678, -0.0107652498, -0.0433548205, 0.0252438504, -0.0125059681, 0.0472983792, 0.0148926433, -0.0365414508, -0.0257237628, -0.0015491644, 0.0450372919, -0.0614011697, 0.0912272036, 0.0243945904, -0.0203770399, -0.011707427, -0.0373982526, -0.0070723202, -0.0514614135, -0.0306692626, 0.0213890374, 0.0779274106, -0.040504016, -0.0379319377, -0.0204124134, 0.004555827, 0.0345630385, 0.0108274082, -0.0143673224, -0.0071962327, -0.0368459076, -0.008963177, -0.0329164155, 0.0079624802, -0.0123022916, -0.0003375344, 0.0518451147, 0.0254063644, -0.0280637983, 0.0049593626, -0.0294924993, 0.0079112956, -0.0047249156, -0.0178349465, 0.0294670835, -0.002500341, -0.03797267, 0.0127588296, 0.0749082267, 0.0051256195, 0.0115227792, -0.0103708087, 0.0495455042, 0.0189090408, 0.0322063416, 0.0269580986, -0.1450498104, -0.0317805298, 0.0032563976, 0.0709948242, 0.0420127399, -0.0505663417, -0.0095868362, -0.1068244651, 0.0301893465, 0.0032624642, -0.0081583047, -0.0106943622, -0.0361872911, -0.0158061478, -0.0406805724, -0.0002742801, 0.0101692267, -0.0303128697, -0.0126605574, -0.0025470387, -0.0035449441, -0.0691746697, -0.0203160308, -0.0500738621, 0.0157063678, 0.0199130159, 0.0202594791, 0.0393970646, -0.0067971703, 0.0027164335, -0.002865762, -0.0334799066, -0.0075165727, 0.0592311136, -0.0073646684, 0.0135030262, 0.0045273737, 0.0592289679, -0.0362329632, 0.0355562977, -0.0005940672, 0.0735696778, -0.0197417829, 0.0246313829, 0.0236535165, -0.0453418083, 0.0149832759, 0.0712184235, -0.0131067475, -0.0350439884, -0.0142463921, -0.0022965621, -0.0150579959, -0.0265390705, -0.002246673, 0.0498023927, -0.0504859202, -0.0740766451, -0.0362555757, 0.0062375255, 0.0200490542, 0.0022267285, -0.0034960844, 0.0626145527, 0.0025093968, -0.039000757, -0.0606628545, 0.0107707139, -0.0608404726, 0.0098754456, -0.0346643291, 0.0507366583, 0.0078729894, -0.0193381794, -0.0397590697, -0.0222664997, -0.0748058408, -0.0607616343, 0.0183564108, -0.0003870282, 0.0118568745, -0.0012550512, 0.0016822201, -0.0913443416, 0.002708127, 0.0734023675, -0.0365190879, -0.0451489091, 0.0173729397, -0.0162407495, -0.0176355932, 0.048507154, -0.032383848, -0.0064326441, 0.033135362, -0.0849826038, 0.014318998, -0.0065658395, 0.0098402482, 0.0821415931, 0.0627735853, 0.0397878066, 0.0055126338, -0.0256251171, 0.0569738932, -0.053335771, -0.0420300625, -0.0415713638, 0.0096220747, 0.0371089317, 0.0043410412, 0.0063163629, 0.0106314924, 0.0321503021, 0.0265768357, -0.0817394853, 0.034897238, 0.0142422868, 0.009293654, 0.0592680201, -0.0522611402, -0.0119538475, 0.067306675, 0.0364181139, 0.052937638, -0.0295907706, 0.0203840062, 0.0084511051, 0.0468980744, -0.0287460648, 0.0311086122, 0.0052936343, -0.0352692977, -0.0327765457, -0.0333042666, 0.0169366039, 0.0243793, 0.0477952883, -0.0092447214, -0.0094690863, -0.0269976649, 0.0208132956, 0.0247964654, 0.0175662208, -0.0248096418, -0.0248324051, -0.0357391872, 0.0040744226, 0.0961486995, 0.0257438049, 0.0030218528, -0.0305391382, -0.0732006356, -0.0393695459, -0.0480243005, -0.0013536684, 0.0034996397, -0.0305584464, -0.0535948947, -0.0383040272, -0.0250457525, -0.0077229631, -0.0009779799, -0.0336248539, -0.0123071549, 0.0226208996, 0.0391453989, 0.0306046586, -0.0396595597, -0.0604372174, -0.0190934166, 0.0103289094, -0.0681242943, 0.0111159924, -6.308017866e-33, 0.0091777984, 0.0100609949, -0.0100824581, 0.0122317355, 0.0190447252, -0.0136977369, 0.0233808681, -0.0086031947, -0.0235916227, 0.0076917275, -0.0526449047, 0.0257655531, 0.0374492034, 0.0462696142, 0.0137591604, 0.0107430117, 0.0472001955, -0.0463043638, -0.0253648721, 0.0165917557, 0.0645201132, 0.0198714305, 0.0187610146, -0.0534032583, 0.0072379666, -0.008913476, -0.0533725023, 0.0236769207, 0.0106001282, 0.0099546667, 0.0154766003, -0.0168260448, 0.013712273, -0.0252906922, -0.0277020764, -0.0115257381, -0.0577397123, 0.0289423931, -0.0019285644, 0.0038254652, 0.0430283584, -0.0374820605, 0.0628067032, -0.0283815619, -0.0425675362, -0.0429527946, -0.0476100706, -0.0616812222, -0.0159648862, -0.0681041107, 0.0081344042, 0.0389670357, 0.0234041195, 0.0146546941, 0.0836253092, 0.0216334499, -0.008504618, -0.0133257667, -0.023960812, 0.0172615647, 0.0604189523, 0.0411314443, 0.0454925187, 0.0137436949, 0.0069425241, -0.010176261, 0.0327169038, 0.0134220095, 0.0221793801, 0.0376627743, -0.0264747906, 0.0696224719, 0.0101579232, 0.0676869154, -0.0232155472, -0.0518485382, -0.1023299173, 0.0472606681, -0.090756394, -0.03103281, 0.0502827987, -0.0066511864, -0.0885738954, -0.0423792489, -0.0442219973, 0.0401109643, -0.0241006128, 0.0140290819, 0.0040519135, 0.0056907935, -0.0204519574, -0.0008310708, 0.047705967, -0.0439219438, -0.0312884487, 0.0145874703, 0.0010217285, -0.0434486084, -0.0178809315, -0.0147736482, -0.0487027243, -0.0425725579, -0.0171663053, -0.0031105776, 0.0150705809, 0.0167457908, 0.0378303863, -0.009874952, -0.0838805437, 0.0214904044, 0.0014646649, 0.049137827, -0.0084862215, 0.0538732596, 0.027437605, -0.0284055974, 0.0388502814, 0.0495835058, 0.0251339767, -0.0099081285, -0.0002029721, 0.0166234933, 0.0402671918, 0.0029567797, 0.0535728522, 0.0136007946, 0.0186957996, -0.0517304018, 0.0987300351, 0.0255007278, -0.0108052287, -0.0003928882, 2.735e-7, 0.0483001694, 0.039744962, -0.0294965506, 0.0426315218, 0.0120983263, 0.0678953528, 0.0209879614, 0.0437624492, 0.009365852, 0.0278123636, 0.0069347383, -0.0292941406, 0.0773030818, 0.0343217961, -0.0577469543, -0.0184374489, 0.023759773, 0.0108015761, -0.0654943585, -0.0097413668, 0.0204679295, 0.0746378228, -0.0111833755, -0.0121439938, 0.0196485966, -0.0405452363, 0.0186830703, -0.0654773042, -0.0330334716, 0.0489398539, 0.0392810106, 0.0153048001, -0.0000713174, 0.0086414721, -0.0296605323, 0.049408216, -0.0461121164, 0.1188706681, 0.0185769703, 0.0452326424, 0.0269741993, -0.1091963947, -0.0306273848, -0.0106761707, 0.0738709494, -0.0395711251, -0.0284732562, 0.0342562124, 0.0127031207, -0.0512491241, 0.0125850188, 0.0054283561, 0.0317314304, -0.0342772715, 0.0354489572, 0.0336952955, -0.0045918897, -0.0366902538, -0.0396393128, 0.0145120239, -0.0337588638, -0.0137635851, 0.0317646004, 0.0354187973, -0.0134448875, -0.004886549, 0.0335959308, 2.781607869e-34, 0.0098123718, 0.0047988193, -0.0027398977, -0.0289013088, 0.0582203679, -0.0159423742, 0.0436638407, -0.0168824065, -0.0019844824, -0.0841608495, -0.008309301 ]
http://arxiv.org/abs/2402.01115v3
http://arxiv.org/pdf/2402.01115v3
Interpretation of Intracardiac Electrograms Through Textual Representations
2024-02-02T03:15:13
2024-04-12T01:32:32
William Jongwon Han, Diana Gomez, Avi Alok, Chaojing Duan, Michael A. Rosenberg, Douglas Weber, Emerson Liu, Ding Zhao
cs.CL
cs.CL, eess.SP, I.2.7; J.3
Understanding the irregular electrical activity of atrial fibrillation (AFib) has been a key challenge in electrocardiography. For serious cases of AFib, catheter ablations are performed to collect intracardiac electrograms (EGMs). EGMs offer intricately detailed and localized electrical activity of the heart and are an ideal modality for interpretable cardiac studies. Recent advancements in artificial intelligence (AI) has allowed some works to utilize deep learning frameworks to interpret EGMs during AFib. Additionally, language models (LMs) have shown exceptional performance in being able to generalize to unseen domains, especially in healthcare. In this study, we are the first to leverage pretrained LMs for finetuning of EGM interpolation and AFib classification via masked language modeling. We formulate the EGM as a textual sequence and present competitive performances on AFib classification compared against other representations. Lastly, we provide a comprehensive interpretability study to provide a multi-perspective intuition of the model's behavior, which could greatly benefit the clinical use.
Interpretation of Intracardiac Electrograms Through Textual Representations: Understanding the irregular electrical activity of atrial fibrillation (AFib) has been a key challenge in electrocardiography. For serious cases of AFib, catheter ablations are performed to collect intracardiac electrograms (EGMs). EGMs offer intricately detailed and localized electrical activity of the heart and are an ideal modality for interpretable cardiac studies. Recent advancements in artificial intelligence (AI) has allowed some works to utilize deep learning frameworks to interpret EGMs during AFib. Additionally, language models (LMs) have shown exceptional performance in being able to generalize to unseen domains, especially in healthcare. In this study, we are the first to leverage pretrained LMs for finetuning of EGM interpolation and AFib classification via masked language modeling. We formulate the EGM as a textual sequence and present competitive performances on AFib classification compared against other representations. Lastly, we provide a comprehensive interpretability study to provide a multi-perspective intuition of the model's behavior, which could greatly benefit the clinical use.
[ -0.0077070748, 0.0099003585, 0.00967116, 0.0436520614, 0.0104638319, 0.0306841861, 0.0235228892, 0.0213874988, -0.0256347489, 0.0043135644, -0.0044090473, -0.083887279, 0.0253288895, 0.0895421058, -0.0135241514, -0.0618015788, 0.015186239, 0.0030576081, 0.0302417427, 0.0017177075, 0.0143198585, 0.0113313263, -0.0119860573, 0.0579727069, 0.0177282579, -0.0181705579, -0.0101665333, -0.0172448382, 0.0389768705, -0.0405147448, -0.020929629, 0.0217355564, -0.0067763398, 0.0351387002, 0.0000021785, -0.0196505189, -0.0247485135, 0.0153315971, -0.0570378937, -0.0194208957, 0.0283588767, -0.0537442863, 0.0349725746, -0.0141136441, -0.072678566, -0.0017197452, 0.0450767539, 0.0368880481, 0.0745316446, 0.0373215377, -0.0278652646, -0.0296019204, -0.0071839024, -0.0335556716, 0.0236956328, -0.0538752563, 0.0125718992, -0.039799206, 0.0158886518, 0.0259853657, -0.0312907584, 0.0406690836, 0.0421941802, 0.0617108122, 0.0513905548, 0.0321817435, -0.0269988943, -0.0303568635, -0.0139289694, 0.0895137116, -0.0425502434, 0.0057224995, -0.0123743797, -0.0029807014, -0.0090039298, 0.0023386569, -0.0414851233, 0.0064793783, -0.0076968349, 0.0235907584, 0.0464106947, 0.0082819015, 0.0229254961, -0.0033475291, -0.0852534175, -0.0079948921, -0.0086018946, 0.0172981359, 0.0126368003, 0.0067524775, -0.0607713759, -0.0245382544, 0.0574865639, 0.0100065414, 0.0113507174, 0.0113875279, -0.0628280416, -0.0534819663, 0.0084333336, -0.0312785544, 0.0109089501, 0.0254371017, 0.0034685631, 0.0417349823, -0.0143224578, -0.0149792302, -0.0537598431, 0.0685286745, -0.0151891885, 0.0302094892, -0.0465610847, -0.0279933717, -0.0235687923, 0.0294792429, -0.0238670353, -0.0129802022, -0.051467821, -0.035458155, -0.0267029889, 0.0001654479, -0.0619593598, 0.0350096412, -0.0180550329, -0.0062576281, -0.0074674557, -0.0093403868, -0.005469962, 0.0024889123, -0.0194846597, -0.0237696581, -0.0101131573, 0.0009376159, 0.0235622656, -0.0282649342, 0.0185256377, 0.0626284629, 0.0286329072, -0.0076572453, -0.0233735312, -0.0546657741, -0.0151351262, 0.0065115173, 0.0195308924, -0.0493798368, 0.0349248163, 0.0010731478, 0.019116031, -0.0551611856, 0.0170390997, 0.0209755227, 0.0034127536, 0.1009197012, -0.0614825077, -0.0332732834, 0.0119442632, 0.0400600769, 0.041626785, 0.0192237403, 0.0484380238, -0.0116568748, 0.0081153959, -0.0198587663, 0.0217123833, 0.023614563, 0.0200007148, -0.0541840568, -0.0247336924, -0.0347533822, 0.0000782575, 0.0421480574, 0.0401470438, 0.0352825299, 0.0143926833, -0.0519837439, 0.0204564147, 0.0437958017, 0.0044177077, 0.0672612935, 0.0487573706, -0.0211739969, -0.0048369938, -0.0046783616, 0.0059816246, 0.0036232457, 0.0123138912, -0.0089847893, -0.0499689057, -0.0495882481, -0.0102416985, -0.0547470972, -0.0315554291, -0.0215003807, 0.0069420235, 0.0022130061, 0.0619499572, -0.0221759323, -0.0562805869, 0.0367529392, 0.0150756799, 0.0102533158, -0.0231415853, -0.027780056, -0.0094140023, 0.0668656975, 0.0174557902, -0.0468573086, 0.021634154, -0.0594171025, 0.0268349685, 0.0390554443, 0.0188916605, 0.0117460266, 0.0473411195, -0.0577522516, -0.0206387136, 0.0122967297, -0.0121447248, 0.0141708953, -0.0932045504, 0.0187396966, -0.0079327291, -0.0218435749, -0.0439658612, 0.0415659882, -0.0297745615, -0.0557975918, 0.0055224071, 0.0493249111, 0.04265894, 0.0077006761, -0.0192276146, 0.0064801103, 0.016388217, -0.0698636845, -0.0358206704, -0.0164663903, -0.0584945194, -0.0120098311, 0.0258373544, -0.0337670073, -0.0117295943, -0.0000164181, -0.0454972051, -0.0081100613, -0.0286084209, -0.0371889211, 0.0135009699, 0.0006883693, 0.017676821, 0.0090806996, 0.0526938327, -0.0342495032, 0.0000353583, 0.0092156669, 0.009012213, 0.0273035355, -0.0183530916, 0.0367998257, -0.016189402, -0.0426728912, 0.017964635, 0.0098193567, -0.0148694208, -0.0127723347, 0.0230721422, -0.0146689555, 0.0294157472, -0.0667886883, -0.0055357302, 0.0147547247, 0.0181063786, 0.0219189916, 0.0105516193, 0.0067118155, -0.0017801187, -0.0082069887, -0.0482062399, 0.0174227003, 0.0006350865, 0.0436100103, 0.0656422451, 0.000711201, -0.0127049098, -0.0110340491, -0.0528830849, 0.0966039822, 0.0089951819, -0.027441714, -0.025120791, -0.0066764103, 0.0091524189, 0.0245548356, 0.0028577982, -0.0534423217, -0.0036077099, -0.0342976004, -0.0209829397, 0.0578948595, 0.0034999265, 0.0808212236, 0.009328424, 0.0042814412, -0.0050954446, 0.0135501018, -0.0084746368, 0.0247958153, -0.0163712371, -0.0385087617, 0.0002733244, 0.1236135289, 0.0395452604, 0.0005262987, -0.0294168349, 0.0104270028, -0.0081275171, -0.0247591361, -0.075755477, -0.0186724663, -0.0095487535, 0.067955263, 0.0009420311, -0.0218463913, 0.1027028635, 0.0001061073, -0.002544391, -0.0563919954, -0.0360602103, -0.0440814234, 0.043522872, -0.0281485207, 0.0323031992, -0.0015947662, -0.0331120379, -0.0106396368, 0.0300995503, -0.0449252836, -0.0505292192, 0.0640648007, -0.0468657948, -0.0132153034, 0.0157269295, -0.000150526, -0.0466552824, -0.0399234965, -0.0157032255, 0.0010979213, 0.0245122369, 0.0371297784, -0.0405182578, 0.0727779493, -0.0237420946, 0.0266245082, 0.0036188692, -0.015200329, -0.0180215258, 0.0469791107, 0.0027280236, -0.0091032078, 0.0204515737, -0.036245279, 0.031639073, 0.04104371, -0.02167641, 0.032590583, -0.0660933256, 0.0140372105, -0.0283772461, -0.0423893742, -0.0307711866, -0.0014289406, -0.0002152893, -0.0665818006, -0.0092427144, 0.1353977025, 0.0264846142, -0.0677688271, 0.0230740625, 0.0047569457, 0.0041418606, -0.0151444301, -0.0209659562, -0.1160874963, -0.0301072877, -0.0016642234, 0.0077560702, 0.0091659222, -0.0119618932, 0.0156610999, -0.0239087958, 0.00757288, 0.0304182321, -0.028635513, -0.0699656531, -0.057959009, -0.0111506525, -0.0144058689, 0.0018003049, -0.0484712534, -0.0196203999, 0.0112965256, 0.0053656586, -0.0609087795, -0.0626907945, 0.0161985327, -0.0072798342, 0.0040042181, 0.0542892851, 0.0161184128, -0.0511755832, 0.0213481374, 0.0034535357, -0.0049413578, -0.0235965289, -0.0038905868, 0.0552489869, 0.0230993424, -0.0286297016, 0.0286029335, 0.054234907, -0.0648462921, -0.0255405456, -0.0138096176, 0.0570942424, -0.0719591156, -0.0308035035, -0.043579638, 0.0281334743, 0.0400124118, 0.0503637008, 0.0277062897, -0.0359955877, -0.0183786694, -0.0394658484, 0.0515604615, -0.0059900652, -0.043579977, 0.0354652442, -0.0135218026, -0.0274975225, -0.0186713915, -0.0645819157, 0.0303067453, 0.0103822509, 0.0473016948, 0.0105430223, 0.0693531334, -0.0297985636, -0.0433645919, 0.0714101121, 0.0219622348, 0.0599281192, -0.0131837288, -0.0440197289, -0.0114087407, -0.0070087686, -0.065071173, 0.0647479445, -0.0413559601, 0.0150345471, 0.0276576299, 0.031832628, 0.0293205529, 0.0247180145, -0.0442217775, -0.0256561283, 0.0176043026, -0.0040383637, -0.0071763652, -0.0054136962, 0.0394437686, 0.0157022178, -0.0303871632, 0.0063365302, 0.0113270059, 0.0143945469, -0.0111869508, 0.0201806966, -0.0196922999, -0.0177702997, 0.0157948434, 0.0084455432, 0.0218361579, -0.0052444432, -0.0276436564, -0.0181813799, 0.0259327237, 0.0129583143, 0.0195541009, -0.0297468621, -0.0054006903, 0.0120598534, -0.0246574767, -0.024397647, -0.0447562337, -0.0361843891, -0.0744230524, -0.0314215012, 0.0920030773, -0.0131198009, 0.0135607878, 0.031241674, 0.0095329443, -0.0023080762, 0.009859113, 0.001701926, 0.0015560744, -0.000355371, 0.0307455882, 0.0158771258, 0.0455862433, -0.029533485, 0.05408049, -0.0239586681, 0.0332315825, 0.0012515445, 0.0034173322, 0.0265379976, -0.0505112, -0.0056304811, -0.004501272, 0.0017757699, -0.0048506474, 0.0405513793, -0.0307810064, 0.0246762279, 0.0614372306, 0.0088596418, 0.0087432237, 0.0082746623, 0.0875573084, 0.0175997373, 0.0431621969, 0.0179898366, -0.0737804696, -0.0541586019, -0.00440006, 0.0323080979, 0.0313914903, -0.0316164456, 0.0064930618, -0.0204278138, -0.0569854639, 0.0798701718, -0.0197441075, -0.0145599488, -0.0185300466, 0.0752528757, 0.0605091453, -0.0264318995, 0.0230377559, 0.0260856654, 0.0297289323, -0.0217962991, -0.0383581407, -0.0474202298, -5.813595758e-33, -0.0126910172, -0.0182686914, 0.0136465859, -0.0116067827, -0.0185525734, 0.0349204578, -0.0485273786, -0.0038853991, 0.0150702251, 0.0435221829, -0.0298603121, 0.0033789633, 0.0295846313, 0.0399622619, -0.0184477735, -0.0707883909, 0.0479712412, 0.0230035651, 0.018352678, 0.0139776515, -0.022645466, 0.085882768, 0.0734379366, -0.090743877, 0.0169892777, 0.0317250676, -0.0007124814, -0.0348796993, 0.0186719354, 0.0475723296, -0.0631399974, 0.0602668524, 0.0334187783, -0.0114158345, -0.0201151278, 0.0198773108, -0.0726579577, 0.0014906659, 0.0119557036, 0.0352732241, -0.0244134273, -0.0590187423, 0.0536294766, -0.0068882816, 0.0333287865, -0.0058680344, 0.0634999946, -0.0619267896, -0.0030375924, -0.039894864, -0.0035246729, 0.0354529321, -0.0481059849, -0.005625925, 0.0451737344, -0.0247062389, -0.0449149087, 0.0391686521, -0.0608546399, -0.0377067216, 0.0571710132, 0.0196600426, 0.0090154326, -0.0203242581, -0.0202419031, 0.0450518765, 0.0271760933, -0.0193584263, -0.0384590924, 0.0682091191, 0.0038450449, 0.065513365, 0.0496181287, -0.0039694076, 0.0243793838, -0.014809614, -0.1025366485, 0.0291421842, -0.0629278496, 0.0368914865, 0.0003856237, -0.0140287876, -0.0484697111, -0.0126251318, -0.0159471147, -0.0258182064, -0.0166648421, -0.0150420945, 0.0249605849, -0.0438488126, 0.0238300674, 0.0472981669, 0.0295658167, -0.0498131402, 0.0173755717, -0.0189372227, 0.0512329005, -0.0003783037, 0.018865183, -0.018129047, 0.0376415662, -0.0371156745, 0.0239780676, -0.0033190839, 0.0865473598, -0.025984237, 0.0129461419, 0.0135787968, -0.0358617269, -0.0119714271, -0.0013328802, -0.0338076837, 0.000562384, 0.0516227148, 0.0218416303, -0.0128031215, 0.000464859, 0.0784197897, -0.0414143465, 0.0267153587, -0.003576318, -0.0278565753, -0.0021644321, 0.0441619977, -0.0684872195, -0.0592251346, -0.0235534497, 0.0271635707, 0.0206551161, -0.0830132142, -0.0341100506, -0.007346971, 2.813e-7, 0.0711970031, 0.0237552989, 0.0285923425, 0.004327191, -0.009184421, 0.0209068526, -0.0130959041, 0.0106034111, -0.0320628881, -0.0102701485, 0.0291867238, 0.0330372341, 0.0351182856, 0.0138942683, -0.0586703978, -0.0258147772, -0.0638632029, 0.0332719944, -0.0232097153, -0.0111914324, 0.0652280077, 0.0901620686, -0.022725502, -0.0328651108, 0.0458009429, -0.004351201, 0.0404569991, -0.0263526402, 0.0042772484, 0.0218544174, -0.0240750853, 0.0214963797, 0.0173152853, 0.0319092423, 0.0030601008, -0.0047093625, 0.0454416946, 0.0580982566, -0.0588492304, 0.0017055789, 0.0038182242, 0.0184922125, 0.0313638486, -0.0302739069, 0.0795778781, -0.054728318, -0.0554473251, 0.0011646412, -0.0301149469, -0.0456824489, 0.0551161729, -0.0301584247, -0.0215618387, 0.0198827516, 0.0356605724, -0.0268834736, -0.0334318727, -0.0471199267, -0.0001723829, 0.0252106693, -0.0303499438, 0.0053797006, -0.0049853818, 0.0028211898, 0.0507906303, -0.0491117276, -0.0171112008, 2.66545617e-34, 0.0100365914, 0.0072997264, -0.0011271657, 0.0753110424, 0.028563492, -0.0212099273, 0.0086496752, -0.0029694526, -0.0044848877, -0.085225977, -0.0199071821 ]
http://arxiv.org/abs/2402.03369v1
http://arxiv.org/pdf/2402.03369v1
Evaluation of Google's Voice Recognition and Sentence Classification for Health Care Applications
2024-02-02T03:13:09
2024-02-02T03:13:09
Majbah Uddin, Nathan Huynh, Jose M Vidal, Kevin M Taaffe, Lawrence D Fredendall, Joel S Greenstein
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
This study examined the use of voice recognition technology in perioperative services (Periop) to enable Periop staff to record workflow milestones using mobile technology. The use of mobile technology to improve patient flow and quality of care could be facilitated if such voice recognition technology could be made robust. The goal of this experiment was to allow the Periop staff to provide care without being interrupted with data entry and querying tasks. However, the results are generalizable to other situations where an engineering manager attempts to improve communication performance using mobile technology. This study enhanced Google's voice recognition capability by using post-processing classifiers (i.e., bag-of-sentences, support vector machine, and maximum entropy). The experiments investigated three factors (original phrasing, reduced phrasing, and personalized phrasing) at three levels (zero training repetition, 5 training repetitions, and 10 training repetitions). Results indicated that personal phrasing yielded the highest correctness and that training the device to recognize an individual's voice improved correctness as well. Although simplistic, the bag-of-sentences classifier significantly improved voice recognition correctness. The classification efficiency of the maximum entropy and support vector machine algorithms was found to be nearly identical. These results suggest that engineering managers could significantly enhance Google's voice recognition technology by using post-processing techniques, which would facilitate its use in health care and other applications.
Evaluation of Google's Voice Recognition and Sentence Classification for Health Care Applications: This study examined the use of voice recognition technology in perioperative services (Periop) to enable Periop staff to record workflow milestones using mobile technology. The use of mobile technology to improve patient flow and quality of care could be facilitated if such voice recognition technology could be made robust. The goal of this experiment was to allow the Periop staff to provide care without being interrupted with data entry and querying tasks. However, the results are generalizable to other situations where an engineering manager attempts to improve communication performance using mobile technology. This study enhanced Google's voice recognition capability by using post-processing classifiers (i.e., bag-of-sentences, support vector machine, and maximum entropy). The experiments investigated three factors (original phrasing, reduced phrasing, and personalized phrasing) at three levels (zero training repetition, 5 training repetitions, and 10 training repetitions). Results indicated that personal phrasing yielded the highest correctness and that training the device to recognize an individual's voice improved correctness as well. Although simplistic, the bag-of-sentences classifier significantly improved voice recognition correctness. The classification efficiency of the maximum entropy and support vector machine algorithms was found to be nearly identical. These results suggest that engineering managers could significantly enhance Google's voice recognition technology by using post-processing techniques, which would facilitate its use in health care and other applications.
[ 0.0648658052, 0.0055177482, -0.049013406, -0.03555049, -0.024675712, 0.0007251253, 0.0457351096, -0.0008694528, 0.0058876541, -0.0822295398, 0.0358193815, -0.0296366699, 0.0322692208, -0.0010536993, 0.0151878484, -0.065605998, 0.0207175892, 0.0222081076, 0.0274573471, 0.0241271649, -0.0077576474, 0.0262546614, -0.0237870794, 0.0546651818, -0.0063671847, 0.0194161143, 0.0208327062, 0.0059915944, 0.0321696214, -0.0661138073, -0.0117768832, 0.0054001701, -0.0316100083, 0.0082288682, 0.0000018365, -0.0368532278, -0.0105139194, 0.034771163, -0.0659164935, -0.0544965975, 0.0401479155, 0.0160194635, -0.0304579064, 0.053423848, -0.0122929104, -0.0198891889, 0.0623293668, 0.0745170787, 0.0086831124, 0.0562138818, -0.0401193462, -0.0270109978, 0.0129513303, 0.0177487861, 0.0057246066, -0.045603931, 0.0031118882, -0.0193201788, 0.0341835171, -0.0455191992, 0.0559612624, 0.0236716159, -0.0177049879, 0.0331671461, 0.0105681485, 0.0450996794, -0.0258936509, 0.0007212158, -0.0294319987, 0.0068143853, -0.006762235, 0.0099749714, -0.0097106295, -0.0046910965, -0.0221229903, -0.0206548609, 0.008120006, -0.0413829908, -0.0301563535, -0.0140034435, -0.0456439815, 0.0324171744, -0.0017111914, -0.0299073029, 0.0023293837, -0.045773644, -0.0151671479, -0.0735352188, 0.03335445, 0.0234473888, -0.0057384088, 0.0315175802, 0.0310707353, 0.0211637355, -0.017719578, 0.0159062035, -0.0143463481, -0.0546383969, 0.0357791521, -0.0877824649, 0.0212076921, 0.0086561637, 0.006027868, 0.00398847, 0.0021487107, 0.0123528987, 0.0033740462, 0.0139223021, -0.0406998247, 0.04658705, -0.0787023231, -0.0094938129, -0.0076601766, 0.041198466, 0.0344095007, -0.0278459731, -0.0814646482, -0.0135611892, 0.025126135, 0.0042553432, -0.0033469249, 0.0144280428, -0.0003266929, 0.0371180587, -0.0079310015, -0.0194435976, 0.0105780717, 0.0724498034, -0.0312260147, -0.0528861471, 0.0594284907, -0.0041830749, 0.0471711196, 0.0334702469, 0.0236572865, -0.0067198123, -0.0223755799, -0.0383447483, -0.0782124996, -0.0256146938, -0.0197961275, -0.0162683781, -0.008689126, -0.012526487, -0.0062984256, 0.020178929, -0.0157883652, 0.0102679729, 0.0341938511, 0.0021314868, -0.0235086977, 0.0242431704, -0.0343845673, 0.0179459117, 0.067520082, 0.0099387709, 0.0300746616, 0.0124457926, 0.0209365021, -0.0383001268, 0.0161760468, -0.0609835647, 0.0010706942, 0.0242512375, -0.0592607819, -0.0783450231, 0.0236645713, -0.0120158996, -0.0088028312, -0.0045385063, -0.02437016, 0.0727083236, 0.0206855368, 0.0879048333, 0.0507446788, 0.0635238066, 0.0453483723, 0.0055067558, -0.0241180696, 0.0179060772, 0.0037137528, -0.0319777243, 0.0247170217, -0.0623228438, 0.0028848117, -0.0048595187, -0.0046825381, 0.0044160658, -0.0425016917, -0.0366358459, -0.0484803319, -0.0368864685, -0.0384409763, 0.0316792801, 0.0380053222, -0.0256080776, -0.0383118205, 0.0196070354, -0.0138891907, -0.0393451974, -0.0486484692, -0.0319779739, -0.0207056552, 0.1184505969, 0.0417352132, -0.0552394092, 0.0142226554, -0.0711658895, -0.0549166501, -0.0016653612, 0.0058981655, 0.0061485381, -0.0056753834, -0.0365382321, 0.0079684863, 0.0581569411, 0.0057730014, -0.0252422281, -0.0155682871, 0.0648003891, 0.0241606999, 0.0265539829, -0.0387391709, 0.0241499636, 0.0505753346, -0.0555217862, 0.0190669242, 0.0096413251, 0.0413086154, 0.0697509572, -0.0305537432, -0.0074347691, 0.0264215898, -0.0260773823, -0.0095649604, 0.0471525565, -0.0173101891, 0.0383053944, -0.0059313914, 0.0144486213, -0.0015296418, 0.0194234625, -0.0047147619, -0.0392542817, -0.0423169658, -0.067266874, 0.0371064842, -0.0354913063, 0.0637053251, 0.0093474211, 0.0068540243, -0.0415784307, -0.0004454801, 0.0256725326, 0.0045630094, -0.0469559692, -0.0211250782, 0.038585905, -0.0437166654, -0.0081116296, 0.0463963486, -0.0346923955, 0.0736426786, -0.0096085034, 0.0100794267, -0.0125504239, -0.003365072, -0.118760936, -0.0437909476, 0.0012777013, 0.0066970186, 0.0213392228, 0.014812056, 0.0226334874, -0.0392716601, -0.0245159883, -0.0235440545, 0.0041265981, -0.0175715107, 0.0187286306, -0.0068049096, -0.0043132673, 0.0011509708, -0.0042697843, -0.03309194, 0.0299367141, 0.0344687104, -0.0241273586, -0.042854283, -0.0069845892, 0.0185269043, -0.0152385617, 0.0108488789, -0.0125172818, -0.0044156704, 0.0083967559, 0.0164013915, 0.0284420326, 0.0320435949, -0.0153505132, -0.0068438589, 0.0494832657, 0.0341236219, -0.0027934294, -0.0103339916, 0.0063986341, -0.020133229, -0.0333361775, 0.0014787713, -0.0114004873, 0.0160911698, 0.0687234327, 0.0058937706, -0.0250220355, -0.0258326475, -0.0105925426, -0.0324322619, 0.0028556751, -0.0610175133, 0.045039963, 0.0293936804, -0.0289158262, 0.0298437923, -0.0014794873, 0.0127956057, -0.098914966, -0.0600356236, 0.0072098933, 0.0449286103, -0.0869383663, 0.0322136059, 0.0343507789, -0.0587711185, 0.012835796, -0.0036168857, -0.0273596644, -0.0628606975, -0.0155122085, 0.0085401367, 0.0106747476, 0.00037675, -0.0514751785, -0.0511464924, -0.0219224785, -0.0497315563, 0.0079337517, 0.0469677225, -0.0050429036, -0.0306350105, 0.0782936588, 0.0044055777, 0.0584040284, 0.0381975621, -0.0050113825, 0.0212301146, 0.0132671371, -0.0006487324, 0.0474753864, -0.0345081501, 0.0483999625, 0.0544849411, 0.0058419826, 0.0575599112, -0.0081788134, -0.0137588773, -0.0393157527, 0.0023661277, -0.0496476404, -0.0324526094, 0.0444009714, 0.0432166979, -0.0335733145, 0.0362576433, 0.0632224828, 0.0175045207, -0.0614879429, -0.0067100516, 0.0141627043, -0.0883713216, 0.0039066738, 0.0359039791, -0.0163060222, 0.0005843067, -0.0029484662, 0.0527176224, -0.0129880561, 0.0370292366, 0.007798085, -0.0480144098, 0.0482145846, 0.0043735462, -0.0367212705, -0.0305139534, -0.0267987773, -0.0062410724, 0.0136366077, -0.0025425898, -0.0408319645, -0.0401639566, -0.0347447582, 0.0158040859, -0.1150291115, -0.0813989416, 0.0171343535, 0.0015905199, -0.0000897468, 0.135465771, 0.0242103953, -0.0250118095, -0.0482570082, 0.0130393486, -0.01007469, 0.0571199358, -0.0089505883, 0.0620542616, 0.0012887728, 0.0146619305, 0.0241817646, -0.0028406312, -0.0322159119, 0.0149448141, 0.0488207154, 0.0635377243, -0.0406570062, -0.021258356, -0.0209028441, 0.0450114273, 0.0230382215, 0.0044638263, -0.0181783773, -0.0260317903, -0.0696232319, 0.0268326048, 0.0335092284, 0.0425310656, 0.0204221588, 0.0293698348, -0.0082357842, -0.0847275257, -0.0278441831, -0.0267792437, 0.0076559321, 0.0511458032, 0.0442158096, 0.0475482792, 0.0301633421, 0.090846613, -0.0502586178, -0.0530041717, 0.0428555571, 0.0565933213, -0.0512778684, -0.0253450666, 0.0114289848, 0.0127822077, -0.0076121283, -0.0552156866, 0.0365773924, -0.0327199474, 0.0368616395, 0.0249889735, 0.0255865417, -0.0041432772, -0.0200414397, -0.0590541139, 0.0279153474, 0.0475572012, -0.0631193295, 0.0158147644, 0.0232566018, 0.0104806824, -0.0207179282, -0.0278479885, 0.0000790294, 0.0327297747, -0.0094419559, -0.0246872585, -0.0474231467, -0.0580979176, -0.0009017527, 0.0312179383, 0.0237978473, -0.003358328, -0.0319304504, -0.0053390698, 0.0396830253, 0.0298382249, 0.0304023158, 0.0003754291, -0.0301698782, -0.0235106573, 0.0262794755, 0.0217050668, 0.0131412214, -0.0846399888, -0.0527148619, -0.0040633148, 0.044381775, 0.0100885723, 0.0553514957, -0.0146267898, 0.0137064839, -0.0239171609, -0.0166126266, 0.0459582657, 0.0196520016, 0.0279478729, 0.0441090725, -0.0305968467, 0.0231095981, -0.0277418047, 0.0602846332, -0.0559359491, -0.0510980301, -0.0065039471, -0.0168711189, 0.0416343883, 0.003476525, -0.03354479, -0.0211906284, 0.0110102911, -0.0477329008, 0.0247277562, -0.0105627254, 0.0397035629, 0.0035485737, 0.0047097183, -0.0439793877, -0.0100741656, 0.0456507392, -0.007953777, -0.0070845638, -0.0453808792, -0.0273582898, -0.0579468086, -0.0122423125, 0.0399703979, 0.0676788539, -0.0490970127, -0.0224968288, -0.0439566821, -0.0129658906, 0.050156109, -0.0687947869, 0.0468470305, -0.0689806491, 0.0429403856, 0.0494071171, 0.0116459057, -0.0020436402, -0.0250291135, -0.0283583924, -0.0345177203, 0.043836765, -0.0092864614, -5.539709248e-33, 0.0244927946, -0.0386984423, -0.0163535327, 0.0435232632, -0.0040617264, 0.0203548912, 0.0212430451, 0.0460782498, 0.01139371, -0.0352962911, -0.0395007133, -0.002062666, 0.0245446749, -0.0069547356, 0.0163713731, -0.0170607101, 0.097667262, -0.0116542056, 0.0035981301, 0.0213804003, 0.0112084299, 0.0749553218, 0.0459502041, -0.1071044356, -0.0017764556, 0.0282093473, -0.0185505915, -0.0499224104, 0.0643157884, -0.0137192216, 0.0111135645, 0.0352746844, 0.0371915847, -0.0230883062, 0.0182862021, 0.0818527192, -0.0289680157, 0.0039811684, 0.0024282211, 0.0392397419, -0.0104186144, -0.0286765676, 0.0459653065, -0.0293885246, -0.0635691807, 0.0168073084, 0.0573245399, -0.0152328992, -0.0404456034, -0.0598808676, -0.0118519757, 0.0116543882, -0.0003924932, 0.0018616802, 0.0051583238, 0.0462551974, -0.0634548515, -0.0028995248, -0.0303802527, 0.0178601258, 0.0006619273, -0.0187968947, -0.0140729556, 0.0390406027, -0.0121040549, 0.0283704139, 0.045796115, -0.0219335929, -0.0327650234, -0.0147310691, -0.0184429046, 0.0368040018, 0.0516188666, 0.0011595768, 0.0504090041, -0.0730771869, -0.0251238178, 0.0241423827, -0.0126204323, -0.0198983923, 0.0307879075, -0.0039972709, -0.0698726326, -0.0156772286, 0.0035433671, -0.0069385441, -0.0107292784, -0.0253944024, 0.0330324434, -0.0019948129, -0.0105900159, 0.0321650505, 0.007887939, -0.0194283668, 0.0496776141, -0.0652342513, 0.009085251, 0.0169094186, -0.0258552656, -0.0558488816, -0.0833122358, -0.0185075309, 0.0223116893, 0.0594189391, 0.0476162098, -0.0186598618, 0.0230333395, -0.0055689807, -0.0573771968, -0.0040548667, 0.0637029856, 0.0148639791, -0.0097002462, -0.0081987977, 0.0273006149, -0.0045210309, 0.0165907498, 0.0433184318, -0.015259169, 0.0108649544, -0.0374123827, -0.041869361, -0.0062282621, 0.0086787688, -0.0302769803, -0.0010598464, -0.0537272468, 0.02381997, -0.0005570641, 0.0003487613, -0.0001194771, -0.0112406584, 2.646e-7, 0.037983004, 0.0337970741, -0.0165685005, -0.0170376357, 0.0410008654, 0.0158263482, 0.0452070124, -0.0225769207, -0.0091662062, 0.0478348024, 0.0605654083, -0.0436038785, 0.0636042431, 0.011884965, -0.0730933771, -0.0662576184, -0.0475147143, 0.0233968198, -0.056201227, 0.0618275851, 0.0941296145, 0.064240858, -0.0224065986, -0.0470894463, -0.0076213325, -0.0171569698, 0.01233098, -0.0201032013, 0.0662899688, -0.028304534, 0.0466419086, 0.0370268114, -0.0174920931, 0.0515634269, -0.0194263849, -0.0149296438, 0.0049058213, 0.0382229835, -0.0610962771, -0.0014190748, 0.0104947248, 0.0226368997, 0.0231768731, -0.0171718001, 0.0313790664, -0.0080914935, -0.0451859795, -0.0122054815, -0.0161038395, -0.0415566005, 0.0537901223, 0.0113446694, -0.0069122445, -0.0021351629, -0.0081452094, -0.0223444942, -0.0378162339, -0.0255222693, 0.0218436159, 0.0262117423, -0.0043411292, -0.0476793833, 0.0201873928, -0.0080594933, 0.0226395056, -0.0016284485, 0.0369325541, 1.892875824e-34, 0.0188224707, -0.0047496636, -0.0042797527, 0.0484727249, 0.0051425477, 0.0039608576, 0.0595440827, 0.0145423403, 0.0109322108, -0.0303328391, 0.0001139255 ]
http://arxiv.org/abs/2402.01109v3
http://arxiv.org/pdf/2402.01109v3
Vaccine: Perturbation-aware Alignment for Large Language Model
2024-02-02T02:56:50
2024-02-29T07:15:13
Tiansheng Huang, Sihao Hu, Ling Liu
cs.LG
cs.LG, cs.CL
The new paradigm of finetuning-as-a-service introduces a new attack surface for Large Language Models (LLMs): a few harmful data uploaded by users can easily trick the finetuning to produce an alignment-broken model. We conduct an empirical analysis and uncover a \textit{harmful embedding drift} phenomenon, showing a probable cause of the alignment-broken effect. Inspired by our findings, we propose Vaccine, a perturbation-aware alignment technique to mitigate the security risk of users finetuning. The core idea of Vaccine is to produce invariant hidden embeddings by progressively adding crafted perturbation to them in the alignment phase. This enables the embeddings to withstand harmful perturbation from un-sanitized user data in the finetuning phase. Our results on open source mainstream LLMs (e.g., Llama2, Opt, Vicuna) demonstrate that Vaccine can boost the robustness of alignment against harmful prompts induced embedding drift while reserving reasoning ability towards benign prompts. Our code is available at \url{https://github.com/git-disl/Vaccine}.
Vaccine: Perturbation-aware Alignment for Large Language Model: The new paradigm of finetuning-as-a-service introduces a new attack surface for Large Language Models (LLMs): a few harmful data uploaded by users can easily trick the finetuning to produce an alignment-broken model. We conduct an empirical analysis and uncover a \textit{harmful embedding drift} phenomenon, showing a probable cause of the alignment-broken effect. Inspired by our findings, we propose Vaccine, a perturbation-aware alignment technique to mitigate the security risk of users finetuning. The core idea of Vaccine is to produce invariant hidden embeddings by progressively adding crafted perturbation to them in the alignment phase. This enables the embeddings to withstand harmful perturbation from un-sanitized user data in the finetuning phase. Our results on open source mainstream LLMs (e.g., Llama2, Opt, Vicuna) demonstrate that Vaccine can boost the robustness of alignment against harmful prompts induced embedding drift while reserving reasoning ability towards benign prompts. Our code is available at \url{https://github.com/git-disl/Vaccine}.
[ 0.0011265796, 0.0646190271, -0.0178641155, 0.0625250265, -0.0194243528, 0.0062500639, 0.0235147979, -0.0323814303, 0.0097585088, 0.0117626833, 0.0026131063, -0.0085100252, 0.0016050393, 0.0091028698, 0.0591496006, 0.0220019035, 0.0806744844, -0.0247444753, -0.0188969355, -0.016311856, 0.0216267053, -0.0301653277, 0.0204282086, -0.0065057892, 0.0203192402, -0.0292446259, -0.0347424224, 0.0281082131, 0.0385369137, -0.0044852695, -0.010356308, 0.0503280982, -0.013336652, 0.1202104613, 0.0000019503, -0.0392178111, -0.060619209, 0.0544583835, -0.0504048169, 0.0386775918, 0.0171237979, -0.0248687863, -0.0601089112, 0.0262663569, -0.0268660579, 0.0241085943, 0.0856067613, -0.0242412444, 0.1092037186, 0.078735657, -0.002397507, -0.0212939419, 0.0006899668, -0.017366074, -0.0357589461, -0.0370365456, 0.0202045236, -0.0250201598, -0.0310867447, 0.0173238441, -0.029637089, 0.0261718109, -0.0133199031, -0.047657866, -0.014045639, -0.0006847399, -0.0560593344, -0.0371920951, 0.0121603524, 0.0582491085, -0.0275359508, -0.0086947512, 0.009279999, -0.003000648, 0.0207881834, 0.0166690238, -0.0121497661, 0.000255947, 0.0444276147, 0.0214634892, 0.0242270753, -0.0477291644, 0.0457024761, -0.0224066842, -0.002817913, 0.0397736765, 0.0398006067, -0.0367090404, -0.0563366674, -0.0551230945, -0.0159831587, -0.0715800151, -0.0111471154, 0.009596983, -0.0195316542, 0.0225666538, -0.0888425931, -0.0658630654, 0.0452452563, -0.0391458645, 0.0352375694, 0.0594487153, -0.0113253025, 0.0310150441, -0.0176963601, 0.0498086289, -0.0291401148, 0.059704002, 0.0226140767, 0.0490442999, 0.0323281214, 0.0149659868, -0.009846475, 0.0178911462, -0.0144495303, 0.0100263683, -0.0294258799, 0.066989176, 0.0057294657, 0.1012527347, -0.0462617017, -0.0273693167, -0.0227806196, 0.0030726239, 0.0264546219, -0.0069419281, 0.0015302331, -0.0393657498, -0.0019920997, -0.0490574948, -0.0371921472, 0.0037442001, -0.0159324128, -0.0309105087, -0.0109452074, 0.061449986, 0.0305798575, -0.0023207606, -0.0076498273, -0.0756418779, -0.0177387781, -0.0348875634, -0.0171370506, -0.0690045282, -0.0034372704, 0.0041215988, -0.0261047017, -0.1121000424, -0.0075826752, 0.0064800461, -0.0481283702, 0.0646853074, -0.0552524365, -0.0005203054, -0.030980058, -0.0083733751, 0.0165672954, 0.0600301735, 0.0340595096, 0.0096078003, 0.0643343478, -0.0272810366, -0.0027251975, 0.0656122416, 0.0103864428, 0.046605099, -0.0189298764, 0.0119568855, 0.0700223893, 0.0347295254, 0.0000425776, 0.0496954881, 0.0283466708, -0.0434742086, 0.0688916519, 0.0618236326, -0.0261449218, 0.01552423, -0.0234883241, 0.0051906859, -0.0192806609, 0.0418958217, -0.0813371763, -0.0026843878, -0.0480993651, 0.0155266738, 0.0281582754, 0.0690317973, 0.016714517, 0.0212521534, -0.013778233, -0.0315942131, -0.0058224327, -0.0056015658, 0.0037555506, -0.01175356, -0.0021506373, 0.0643591136, 0.0249035228, -0.0510455184, -0.0071465871, -0.0370768756, -0.0054601412, 0.0430169739, 0.0670955628, -0.0210601874, -0.0737920552, -0.0207900498, -0.004330527, 0.0142223081, 0.0432524681, 0.0118982354, -0.0006861688, -0.0224345569, -0.0236432869, -0.000938441, 0.0072554215, -0.0197337233, 0.007748398, 0.0050979611, 0.0100012813, -0.0077454802, -0.0164696164, 0.0264972448, -0.0260641556, -0.0321139954, -0.0416542031, 0.0395990647, 0.0137981623, 0.0061533847, -0.0272857863, 0.0170042031, 0.0500440113, 0.0234228913, 0.0546394177, -0.0015918044, 0.0105448179, 0.0036081243, 0.076055795, 0.0098464638, -0.0099626966, 0.0100795859, -0.0602255054, -0.015897803, 0.0277699232, -0.0098566664, 0.0075827525, 0.0105359452, 0.0495956652, -0.0318825841, 0.041277919, -0.0410561413, -0.0039671115, -0.0120237358, 0.0388430469, -0.0059508504, 0.0063915676, 0.0240209736, -0.008419089, -0.0766296312, 0.0248356424, 0.0034288706, 0.017333027, -0.0130917626, -0.0045101857, -0.018434843, -0.0330893882, -0.0301316101, 0.0008699287, 0.0020429273, 0.0599507503, 0.0213884618, 0.0341915153, -0.0303015318, -0.0108982427, -0.0096614389, -0.0163573753, -0.0067179427, 0.0336276367, 0.0408149883, -0.0217613727, -0.0625482574, -0.038605094, -0.0085643381, -0.0211490467, 0.0328644365, -0.0181981064, -0.0053276694, -0.0862469226, -0.0237198621, -0.0498658679, 0.0350587703, 0.0100089116, -0.0710178092, -0.0191116966, 0.0065286485, 0.0109773101, 0.0870601237, -0.0201980192, -0.0041144397, 0.0513324402, 0.0067448462, -0.0163282342, -0.0207586475, 0.0156117287, -0.0480518676, -0.0571777038, 0.0288356077, -0.0105375247, 0.0339996703, -0.0251388811, -0.0309391767, -0.040483743, 0.0579092801, 0.012994864, 0.0191031508, 0.0396940336, -0.0083303656, -0.0547212064, 0.0395135209, -0.0049157855, -0.078074351, 0.070750691, -0.052526813, -0.0043024463, -0.006759583, -0.0083708158, -0.0157758482, 0.011423503, -0.0061614416, 0.0380250737, 0.0227330364, -0.0291992873, -0.0625665113, 0.0032152107, 0.0613773763, -0.0540747978, 0.0254845154, 0.0056787501, -0.0104209557, -0.041272793, -0.0424697623, -0.0184190702, -0.0720831901, -0.0294132382, -0.032099735, 0.0256896615, -0.0331271552, 0.0119268429, -0.0104246968, 0.0166413467, -0.000517902, -0.0088624693, 0.0366024785, -0.0495691225, 0.0019311304, 0.0209943596, -0.0247896109, 0.0157944523, -0.0288949106, 0.0127329547, 0.0573189221, 0.0205811672, -0.012821909, -0.0258025564, -0.0141055444, 0.0509595051, -0.0274097845, -0.0152649675, 0.0197760388, 0.0338351093, -0.0218906105, -0.0024254676, 0.0680448711, 0.0142976372, -0.0131432787, 0.0282288231, -0.0311578121, 0.0746998042, 0.0220510513, 0.0414980017, -0.1016278788, -0.0090935584, 0.0524057038, 0.0425477028, 0.0077847615, -0.0226360839, -0.0313758776, -0.0976349711, 0.0364499092, 0.0472233519, 0.0067014499, -0.0334476046, -0.0231622551, 0.0132454103, 0.0179610066, 0.0366769135, 0.0206312165, -0.0045146313, 0.005431741, 0.010649805, 0.0073729912, -0.0560492724, -0.0359531604, -0.0658430308, 0.0758221298, 0.0858605951, -0.0089248046, 0.0054864809, -0.0593076311, 0.0440522656, 0.0333973654, -0.027789332, 0.0150582576, 0.0232754294, 0.0161048453, -0.0345675088, 0.0221898351, 0.0154476026, 0.0117600411, 0.0011200408, -0.017125573, 0.0689943284, 0.0009526326, 0.0386276767, -0.0016813715, -0.0456157923, 0.0004024595, 0.0409890823, 0.0252505559, -0.0299176052, -0.0122330729, -0.0588021465, 0.010075598, 0.0305802748, -0.0144490227, 0.0056239995, -0.0236715619, -0.0398066416, -0.0337053649, -0.0023558, -0.0093250908, 0.0506163128, 0.0555017069, 0.0130568063, 0.0208733976, -0.0205785781, -0.0365924053, -0.0032788482, -0.0592265949, 0.0487370156, -0.0523970947, 0.0348098166, -0.0041438323, 0.0172414742, -0.0157325156, -0.0297657754, -0.0977639407, -0.1193162724, 0.0351888873, 0.0453936532, 0.0342696086, 0.0502561703, -0.0248391703, -0.0553040057, 0.0540523343, 0.0437506288, -0.052135691, 0.011967402, 0.0286320336, -0.0486857966, 0.0149674024, 0.048589915, -0.0287111867, -0.082798712, 0.0344418623, -0.0195409413, -0.0043557426, -0.0249165967, -0.0267991517, 0.0682089105, 0.0328869186, -0.0296556074, 0.0145994779, -0.0080429446, 0.048152402, -0.011621247, -0.029769225, -0.0144540416, -0.0100679779, -0.0149135599, -0.028681241, 0.0418461412, 0.0278790314, 0.0088093039, 0.0276701413, -0.0112123275, 0.0271050651, -0.0167231951, 0.0021372112, 0.0860557333, 0.0205575638, -0.0010474733, 0.06100104, -0.0051618973, 0.0433931835, -0.0391771756, 0.0037988173, 0.0293621458, 0.0154380947, -0.0310257841, 0.0587550849, -0.020432001, -0.0509744138, -0.0188772716, 0.0055373018, 0.0293382332, 0.0179578848, 0.0565323867, 0.0198609438, -0.0148331476, -0.0294313356, 0.0115073724, -0.0177740436, -0.0371810794, 0.0236369148, -0.0243970212, -0.0216275994, 0.0393455327, 0.0671389028, -0.0296017081, 0.031690795, -0.0201312061, -0.0329700559, -0.0452457815, 0.0036327543, 0.0009659347, 0.0148889413, -0.0496630706, -0.0512538329, -0.056715481, -0.0983873159, -0.0325965546, 0.0172197185, -0.0161164794, 0.0101834675, -0.0279733278, 0.0529161878, 0.0019856438, 0.0079598799, -0.0383537896, 0.0094714817, 0.0091940844, -0.058115337, 0.025621051, -6.220005665e-33, 0.0041504395, 0.0008532731, -0.0390707292, 0.0041173664, -0.012944011, -0.0121904751, -0.0367515273, 0.0025603189, -0.0074624843, -0.0231868736, -0.0301995277, -0.00852706, 0.0131414654, 0.0044228882, 0.0025272926, -0.0316239782, 0.0120152207, 0.0088683078, -0.0476764515, 0.0062535922, 0.0150148403, -0.0054640048, 0.0371056721, -0.0566457659, 0.032208737, -0.026630383, -0.0156176332, 0.0233009197, -0.0385359712, 0.0559666045, 0.0191819686, -0.0313779116, -0.0276311282, 0.0131894657, -0.0225954615, 0.0097947801, -0.0118752159, -0.0139666004, 0.0223379154, 0.0345587395, 0.0095935445, -0.0655671582, 0.0537397377, -0.0294844322, -0.0109370025, 0.0088088643, -0.0062062563, -0.0061429706, -0.031425789, 0.0059562819, -0.0353642963, 0.0192246623, -0.0181665458, 0.0018013094, 0.0448156521, -0.0374797508, 0.0516668558, 0.0188186243, -0.0361216478, 0.0164549965, 0.0391348265, 0.0362754278, 0.0796438605, 0.0048455973, -0.0023434979, 0.0438988246, 0.0038057026, -0.0206961706, 0.0414747335, 0.0021261931, 0.0014838546, 0.0006897775, -0.002587788, 0.0533919521, 0.0298907608, -0.0189851765, -0.023074856, 0.0148031274, -0.0128049245, 0.01908792, 0.0243300889, 0.0179935955, -0.0395588242, -0.0034934364, -0.0470832102, -0.0419618599, -0.0314492621, -0.0299960617, -0.0122320103, -0.0183058046, -0.0364956893, -0.0030540565, 0.0249132738, -0.0440589078, -0.0281259865, -0.0026635407, -0.0174175985, -0.011863376, -0.0147712976, 0.0244887639, 0.0161841121, -0.0169094149, -0.0259683635, -0.0651192144, 0.050377503, 0.0067367279, 0.0521982461, 0.0430208929, -0.0922838002, 0.0208787881, -0.033784043, 0.0264949854, 0.0121354861, -0.0030997838, 0.060329169, -0.034396749, 0.0192143582, 0.0189441349, 0.0748472139, 0.0474944897, -0.0293548945, 0.0343598016, 0.0121121034, 0.0115143796, -0.0056642299, 0.018564526, 0.0248678327, 0.0770435482, 0.0386806615, -0.0463421047, -0.0030764379, -0.0349581093, 2.819e-7, 0.0386232026, 0.0634987354, 0.0425251648, -0.0032560767, 0.0251081381, 0.074705556, -0.0458025262, 0.0429944545, -0.0065848152, 0.0150002064, -0.0278745536, -0.0201219358, 0.0526240803, 0.0230102967, -0.0619167909, 0.0252059363, -0.0612735599, 0.0410426222, -0.0557059646, -0.0234063659, 0.0217757858, 0.1100754589, 0.0336536244, -0.0128790354, -0.0054190583, -0.0579110309, 0.0001814297, 0.022185361, 0.0001344136, -0.00134503, 0.0175845306, 0.0190505981, -0.0013126481, -0.0170604885, -0.0540619045, 0.0131386686, -0.054447934, 0.0460650511, -0.0047594928, 0.0244121235, -0.0136157898, -0.0674164519, -0.0219519418, -0.055979114, 0.0473187789, 0.0039630234, -0.040999826, -0.0579880178, -0.0401099399, -0.0354510918, 0.0279381443, -0.009855614, -0.0085577453, 0.0376418605, 0.0162494872, -0.0240479931, -0.0181891229, -0.0639568791, -0.0650078952, -0.0138364444, -0.0188335013, -0.044706475, 0.0159963816, 0.0176667944, 0.0293008462, -0.0302433558, 0.0183285773, 3.086569445e-34, 0.0159196947, -0.0510169081, 0.0399669223, 0.0377045833, 0.0253127646, -0.0364505127, 0.0410497934, 0.020092003, 0.0159378015, -0.040062122, -0.0429454781 ]
http://arxiv.org/abs/2402.01108v1
http://arxiv.org/pdf/2402.01108v1
Reasoning Capacity in Multi-Agent Systems: Limitations, Challenges and Human-Centered Solutions
2024-02-02T02:53:11
2024-02-02T02:53:11
Pouya Pezeshkpour, Eser Kandogan, Nikita Bhutani, Sajjadur Rahman, Tom Mitchell, Estevam Hruschka
cs.CL
cs.CL, cs.LG
Remarkable performance of large language models (LLMs) in a variety of tasks brings forth many opportunities as well as challenges of utilizing them in production settings. Towards practical adoption of LLMs, multi-agent systems hold great promise to augment, integrate, and orchestrate LLMs in the larger context of enterprise platforms that use existing proprietary data and models to tackle complex real-world tasks. Despite the tremendous success of these systems, current approaches rely on narrow, single-focus objectives for optimization and evaluation, often overlooking potential constraints in real-world scenarios, including restricted budgets, resources and time. Furthermore, interpreting, analyzing, and debugging these systems requires different components to be evaluated in relation to one another. This demand is currently not feasible with existing methodologies. In this postion paper, we introduce the concept of reasoning capacity as a unifying criterion to enable integration of constraints during optimization and establish connections among different components within the system, which also enable a more holistic and comprehensive approach to evaluation. We present a formal definition of reasoning capacity and illustrate its utility in identifying limitations within each component of the system. We then argue how these limitations can be addressed with a self-reflective process wherein human-feedback is used to alleviate shortcomings in reasoning and enhance overall consistency of the system.
Reasoning Capacity in Multi-Agent Systems: Limitations, Challenges and Human-Centered Solutions: Remarkable performance of large language models (LLMs) in a variety of tasks brings forth many opportunities as well as challenges of utilizing them in production settings. Towards practical adoption of LLMs, multi-agent systems hold great promise to augment, integrate, and orchestrate LLMs in the larger context of enterprise platforms that use existing proprietary data and models to tackle complex real-world tasks. Despite the tremendous success of these systems, current approaches rely on narrow, single-focus objectives for optimization and evaluation, often overlooking potential constraints in real-world scenarios, including restricted budgets, resources and time. Furthermore, interpreting, analyzing, and debugging these systems requires different components to be evaluated in relation to one another. This demand is currently not feasible with existing methodologies. In this postion paper, we introduce the concept of reasoning capacity as a unifying criterion to enable integration of constraints during optimization and establish connections among different components within the system, which also enable a more holistic and comprehensive approach to evaluation. We present a formal definition of reasoning capacity and illustrate its utility in identifying limitations within each component of the system. We then argue how these limitations can be addressed with a self-reflective process wherein human-feedback is used to alleviate shortcomings in reasoning and enhance overall consistency of the system.
[ 0.0469949916, 0.0153058069, -0.0248940811, 0.0359101444, -0.0497494787, 0.00591793, 0.001852348, -0.0102212094, 0.0338141136, -0.03263098, -0.0217685848, 0.0006390685, -0.0061119418, 0.023475185, 0.0081225364, -0.010151227, 0.0034343593, -0.0402021855, 0.0053761993, -0.0084145293, 0.0048928675, 0.0019656285, 0.0117772305, 0.0456966385, -0.0132881533, -0.0078258459, 0.003851413, -0.022117367, 0.0229903385, 0.001564341, -0.0552281439, 0.0171979945, 0.0276117828, -0.0010801813, 0.0000023756, -0.0870426446, -0.0305596795, 0.0183669552, -0.0919440985, 0.0081991497, 0.0494430177, 0.0134499762, -0.016522387, 0.0252103657, -0.0401414931, 0.0395910554, 0.005067626, -0.0209138207, 0.0633948371, 0.0443029851, -0.0119528892, 0.0145371286, -0.03762931, 0.0252172258, -0.0383638591, -0.088498801, 0.0165534671, 0.05740593, 0.0839031711, -0.027849447, 0.0226120073, 0.030712124, 0.0382251143, -0.0427382961, -0.0294767749, 0.0198044889, 0.0162642654, -0.0266775973, -0.0212070476, 0.020050047, 0.0672702342, 0.0160396621, -0.0066173221, -0.0060358574, -0.0036161719, -0.0176223144, -0.0136203803, 0.0334851258, -0.0287303664, -0.0031954413, -0.028911896, -0.0084065972, 0.0147699723, 0.0155266514, -0.059205763, 0.1201673821, -0.0309525654, -0.0120447185, -0.0047610668, -0.0025107579, 0.0069632898, -0.0481239147, 0.0023214954, 0.0880982578, -0.0786634982, 0.0195816923, 0.0197841786, 0.0051410613, 0.0167626571, -0.0682687908, 0.0191663392, 0.009844223, 0.0391984321, 0.0548591167, 0.0111901602, 0.0831122175, -0.0237013567, 0.0318986103, -0.0308545269, -0.0287727527, -0.102411896, -0.02700831, -0.0474267192, 0.021089131, 0.0109649766, -0.0130740609, -0.0074244607, 0.0506867543, -0.026552774, 0.0514990427, -0.0107407812, -0.0326369479, 0.0023871986, -0.0609046258, -0.0661686286, 0.0143314293, -0.0223187022, 0.0296838861, -0.007680262, -0.05738502, 0.0267740823, 0.0195727441, -0.0500595197, -0.0027363701, -0.0113912206, 0.0733797178, 0.0235637054, 0.0157042257, -0.0248096455, -0.0608085804, -0.0209739674, -0.0957261547, -0.0681848526, -0.0432440341, -0.0206085499, 0.0290524811, -0.021721432, -0.0348367132, -0.0041449517, -0.045239009, -0.0204692166, 0.0567743741, -0.0209851395, 0.0492530502, 0.0272433311, 0.0287363119, -0.0075934506, 0.0868227854, 0.061570704, 0.033274319, 0.0345015004, 0.0430263132, 0.0263199061, 0.0140392734, -0.0245678946, 0.0056857504, -0.0230423473, 0.0490824692, -0.0444371328, 0.0136398925, -0.0332737267, 0.0455168784, -0.0070774844, 0.0009032861, 0.0286541842, 0.0347882882, -0.0046320045, -0.0148526933, 0.0429356061, 0.0348318964, -0.0153219271, -0.0408528484, 0.009699652, 0.0167634115, 0.0178623218, -0.0106495731, 0.002750983, -0.0099247759, -0.0233581569, -0.0715496689, -0.0358256735, 0.0074151801, 0.0134096043, 0.011232798, 0.060177613, -0.0255366266, -0.0164390858, 0.0131271631, -0.0266965386, -0.0244871825, 0.0044660047, -0.0809571519, 0.0090739084, 0.1196614355, 0.0595598221, -0.0304045919, -0.0061855749, 0.0066120378, 0.0085692042, 0.0351781584, 0.0464537255, -0.0148621369, -0.0204389077, -0.024528075, -0.051636707, 0.0280944817, -0.0011381726, 0.0262980573, -0.0527527779, -0.0013630041, -0.0088875638, 0.0056411228, -0.0309673399, 0.0087809497, -0.0305215903, 0.0128828846, -0.0617541485, 0.048265256, 0.0452138744, 0.0460603721, -0.0238509905, 0.0371806212, -0.0004725874, -0.0238573756, -0.0643984452, 0.0400385149, 0.028411096, 0.0593531765, 0.0023482973, 0.0118937269, -0.004837954, 0.0122787179, 0.0190915801, -0.0447666831, 0.060590826, -0.0564350411, 0.005250691, -0.021759158, 0.0307103992, -0.061068356, -0.034357965, -0.0221858043, 0.0291937087, 0.005982318, -0.0407506973, 0.003956839, 0.0321759693, 0.0465209745, -0.0482572317, 0.0033457992, 0.057385046, 0.0365440287, 0.0229438208, 0.0366418399, -0.0218640547, -0.0159482658, -0.0179006197, -0.0740227476, -0.0268844906, -0.0052533029, 0.0187336076, -0.0081082163, -0.0279152524, 0.0059203445, 0.0137621723, 0.0109468028, 0.0371693298, 0.0303868819, 0.0238563716, 0.0160894599, 0.0536339171, -0.0591536239, 0.0086734639, 0.0277935117, -0.0212466344, 0.0258765239, 0.0460413024, 0.0046325317, -0.0733825788, 0.0305571016, -0.0413971916, -0.0046987967, 0.0122006498, -0.0299281999, 0.0509755537, -0.0089953281, -0.0088915266, 0.028288424, -0.0423245095, 0.0426644087, -0.001257654, -0.0417321771, -0.0568245798, 0.0020616797, -0.0105579365, -0.0029048861, -0.0495405272, -0.000581735, -0.0076335212, 0.0313418582, 0.0061554476, -0.017456919, -0.0516117699, 0.0478489511, -0.0541451648, -0.029239215, -0.036388889, -0.0476154312, 0.0011750343, 0.0781852752, -0.0037048054, -0.0361936241, 0.0584496073, -0.0036292565, -0.002873769, -0.0369445421, -0.0388359688, -0.0672615692, 0.0712438822, -0.0340709314, 0.0069017084, -0.0218729731, -0.0071012531, -0.0304210093, -0.0433093309, 0.0373202823, 0.0010229249, 0.0318326578, -0.0604104772, 0.0407310016, -0.0007595701, -0.0350568295, 0.0019403114, 0.0324624218, -0.077453889, 0.0358218998, -0.0054537938, -0.0023385521, -0.043488238, 0.0345396698, 0.0425861031, -0.0013784068, 0.0283685494, -0.0428394862, -0.0042112772, -0.0833962336, -0.0178195722, 0.041907452, 0.0589482822, -0.0253577922, 0.0730495602, 0.0211113133, 0.0518263504, -0.03575176, -0.02530385, -0.0128114661, -0.0225588288, 0.0002344111, 0.0241394565, 0.0155962277, 0.0308749974, -0.0632119626, -0.0033490921, 0.0559066832, 0.0149975559, -0.0199493021, 0.0212666895, -0.0446603969, -0.0314397775, 0.0385052338, 0.0585053787, -0.0244316291, -0.0162613783, 0.0008927475, 0.0192325804, -0.0070187766, -0.0435084216, -0.0232188702, -0.0610366911, 0.057115674, -0.0180847049, -0.0022883245, -0.0447955579, -0.0126211643, -0.0185232554, -0.0369601175, 0.0166661907, 0.0265599266, 0.043981012, -0.039360024, 0.027731467, -0.0390102789, -0.0331809893, 0.0359780528, -0.0241117384, 0.0556928255, 0.0560313165, 0.0170129202, 0.0192414261, -0.0495378226, 0.0078400793, 0.0322461873, 0.0380005576, 0.0013699197, -0.014641053, 0.0268229935, 0.0014460089, -0.0034819043, -0.0299370345, -0.031528905, -0.025093874, 0.035244856, 0.0939124972, -0.0155757545, 0.0065920856, 0.0002049849, 0.0059081418, 0.0048708357, 0.0592032708, -0.0064147497, -0.0343597941, -0.0653080121, 0.000492308, -0.0426264368, -0.0534410551, -0.0304765608, 0.0755762309, 0.004729114, -0.0095194317, -0.0255988427, -0.069768697, 0.0166734681, 0.0331286155, -0.0075844103, -0.0034505944, 0.0314635746, 0.0156782512, 0.0114017772, -0.0362248793, -0.0267000832, 0.048471909, -0.0163180958, 0.0265933219, -0.0178541541, -0.0211469289, 0.0075059608, -0.0414875932, -0.0409266129, -0.0534578487, 0.0042348681, 0.0311760772, 0.0372479334, -0.0055457586, -0.0180189498, -0.0841048658, 0.0292091109, -0.0427623168, -0.0620456487, -0.0060372902, 0.0183657203, 0.028128311, 0.0041398937, 0.0525526851, -0.0570896417, 0.0353910774, -0.0036873342, 0.0287232958, -0.0378381684, -0.0467493348, 0.0040607825, 0.0268807933, -0.0619185753, 0.0090090912, -0.0191218685, -0.0185831804, 0.0148302196, -0.029378701, -0.0171171259, -0.0445529744, 0.00467521, -0.0265455227, -0.0279428996, 0.0544268712, -0.0230484214, -0.0099901566, -0.0238835923, 0.0463227518, 0.037716791, -0.0076749474, 0.0116573703, 0.0123601314, 0.0011025796, -0.0058903592, 0.0083697801, -0.0248945691, 0.0340200514, 0.0287553575, 0.0810996071, 0.0275473576, -0.0312872455, -0.0089281406, 0.0075394632, -0.0403657109, -0.0606244095, 0.0475361831, 0.0093989931, 0.0376536883, 0.0541922785, 0.0046293754, -0.0542862788, 0.0288327727, -0.0173180662, 0.0093338192, 0.0235428866, -0.026038494, -0.0173091795, 0.0480245501, -0.0324889943, 0.0000562138, 0.0632012933, -0.008833739, 0.0207329858, -0.0606769882, -0.0574504994, -0.0610202998, -0.0478927717, -0.0287643205, -0.0250627678, -0.0308225695, 0.0197681561, -0.1064544246, -0.0399053022, 0.001670312, 0.0806083158, 0.0047209268, -0.0101306196, -0.0061232839, 0.0556636415, 0.0308696982, -0.0227075405, -0.038043458, -0.0284820907, -0.0640698224, 0.057955198, 0.0352716818, -6.206687314e-33, -0.0188766327, -0.0569341518, 0.0920232981, -0.0035795604, -0.0070424317, -0.0118472921, -0.0405176021, 0.0101932809, 0.0030800421, 0.0324220844, -0.0097810002, 0.0000237947, 0.0188688841, -0.031022599, 0.0268838741, 0.0216538943, 0.0060761869, 0.0199700408, -0.0273253415, -0.0044896142, 0.0656411573, -0.0166736823, 0.0204821881, -0.0406999663, 0.0330426395, -0.0009769213, -0.0262750685, 0.064674817, -0.0174911749, 0.0759017467, 0.0030139596, 0.0234356243, 0.0281024352, -0.0673649311, -0.0290851034, 0.0161461048, 0.0081953332, -0.0212759487, 0.0033197445, 0.0313869007, -0.004635632, 0.0002400919, 0.0027198128, 0.0046360432, -0.0227640811, 0.0359139144, 0.0243060719, -0.0365233533, 0.0135529432, 0.0219669677, -0.0607223399, 0.0298798215, -0.0408655703, 0.0192556158, 0.0380529501, 0.0350632668, -0.0397688858, -0.0255809519, -0.0634921566, 0.0227665249, -0.0168891344, -0.0452014618, 0.0731867328, 0.0268085077, -0.0026038287, 0.0400832035, 0.0066296374, 0.0337931402, -0.0308808647, -0.0248873737, 0.0022982208, 0.0623439662, 0.0402421877, 0.0656821877, -0.0678959042, 0.0003551817, -0.0563339256, 0.0281332862, 0.0053250529, 0.0630861744, 0.0776127353, 0.0273520518, -0.0662505031, -0.0316929482, -0.0273064617, 0.0460760929, -0.0426959358, -0.0265108962, 0.0332797654, 0.0136631271, -0.0523441993, 0.0150693031, 0.0501635931, -0.0416222848, -0.0260237828, -0.0086050835, 0.0205122139, -0.0048102723, 0.0160721745, 0.0172414351, -0.052709084, -0.0055584703, -0.0188535042, 0.057194531, 0.0398273282, -0.0086811259, -0.0063684331, 0.023573339, -0.0008785835, -0.005108967, -0.0491476543, 0.0262648128, 0.0076092831, -0.0258279238, 0.0285653211, -0.0034782495, -0.0087286336, 0.0331258997, -0.0022738031, -0.043811433, 0.0106172413, 0.0389125086, 0.015855711, -0.0209331326, -0.0367096998, -0.0076291109, -0.0313347876, 0.0212750025, 0.0475116596, 0.0005068235, -0.0067956625, 0.020213604, 3.086e-7, 0.0173372235, 0.0271473732, 0.0008309433, -0.0062364913, 0.0207691062, 0.0701552704, -0.0311366096, -0.0221356712, -0.0242116675, -0.0229063667, 0.0464395918, 0.0520957559, 0.049654521, 0.0480750203, -0.0131451637, -0.0237153061, -0.0103856744, 0.0016926226, -0.0512334555, -0.0018576513, 0.0801393539, 0.0041095819, 0.0289662648, -0.0031978125, -0.0139149874, -0.0745211542, 0.0094811628, -0.0372007303, 0.030755695, 0.0324287936, 0.0448687673, 0.0034584929, 0.0168722533, 0.0483669043, 0.0225499067, 0.0330561548, -0.0281372815, 0.0702149197, -0.0251480881, -0.020958459, 0.0018403116, -0.0669989735, 0.0145593109, -0.0392512865, 0.0207681656, -0.0649966598, -0.0505927466, -0.013504535, 0.0413074121, -0.039398741, -0.0173341874, 0.0042535146, -0.0236449577, 0.0089913812, -0.0055479086, -0.0384718552, 0.032443773, -0.0726025179, 0.0384394303, -0.0171330515, -0.0578159988, -0.0389596, -0.0262777228, 0.0006081411, 0.0265294556, -0.0332570039, 0.0208679028, 2.527160178e-34, 0.0172686968, 0.0018338234, 0.0126761375, 0.0217839442, 0.0453445725, 0.0369267389, -0.0465877391, 0.0209785923, 0.0320239291, -0.0683242902, -0.0163400136 ]
http://arxiv.org/abs/2402.01789v2
http://arxiv.org/pdf/2402.01789v2
The Political Preferences of LLMs
2024-02-02T02:43:10
2024-06-02T04:48:36
David Rozado
cs.CY
cs.CY, cs.AI, cs.CL
I report here a comprehensive analysis about the political preferences embedded in Large Language Models (LLMs). Namely, I administer 11 political orientation tests, designed to identify the political preferences of the test taker, to 24 state-of-the-art conversational LLMs, both closed and open source. When probed with questions/statements with political connotations, most conversational LLMs tend to generate responses that are diagnosed by most political test instruments as manifesting preferences for left-of-center viewpoints. This does not appear to be the case for five additional base (i.e. foundation) models upon which LLMs optimized for conversation with humans are built. However, the weak performance of the base models at coherently answering the tests' questions makes this subset of results inconclusive. Finally, I demonstrate that LLMs can be steered towards specific locations in the political spectrum through Supervised Fine-Tuning (SFT) with only modest amounts of politically aligned data, suggesting SFT's potential to embed political orientation in LLMs. With LLMs beginning to partially displace traditional information sources like search engines and Wikipedia, the societal implications of political biases embedded in LLMs are substantial.
The Political Preferences of LLMs: I report here a comprehensive analysis about the political preferences embedded in Large Language Models (LLMs). Namely, I administer 11 political orientation tests, designed to identify the political preferences of the test taker, to 24 state-of-the-art conversational LLMs, both closed and open source. When probed with questions/statements with political connotations, most conversational LLMs tend to generate responses that are diagnosed by most political test instruments as manifesting preferences for left-of-center viewpoints. This does not appear to be the case for five additional base (i.e. foundation) models upon which LLMs optimized for conversation with humans are built. However, the weak performance of the base models at coherently answering the tests' questions makes this subset of results inconclusive. Finally, I demonstrate that LLMs can be steered towards specific locations in the political spectrum through Supervised Fine-Tuning (SFT) with only modest amounts of politically aligned data, suggesting SFT's potential to embed political orientation in LLMs. With LLMs beginning to partially displace traditional information sources like search engines and Wikipedia, the societal implications of political biases embedded in LLMs are substantial.
[ 0.058940459, 0.0679727867, -0.025217738, 0.0174819659, -0.0273496006, 0.0163027029, 0.0098989327, -0.0102726491, 0.0188235659, -0.0681791678, -0.0187653396, -0.0405806303, -0.0182526801, -0.004577931, -0.0000065746, -0.0748710632, 0.0508921742, 0.0259438939, 0.0606004409, -0.0702388659, 0.0054570492, 0.0324598439, -0.0123964408, 0.0328767709, -0.0010685592, 0.0062164441, -0.0173643176, 0.0029030764, 0.0383198634, 0.0258674286, 0.0271505211, 0.0595677905, -0.0002284853, -0.0108581288, 0.0000018738, -0.0417793281, 0.0097401533, -0.0597087108, 0.0297576524, -0.0186668597, 0.0745474473, 0.0192806702, -0.0085056163, 0.023849424, -0.0453038923, 0.016128147, 0.0323609412, 0.0269059483, 0.0110059036, 0.0408420116, 0.0222339872, -0.034307979, -0.0146701932, 0.0051821889, -0.0078302147, -0.0318529457, 0.0511059947, -0.0147932507, -0.0417134725, 0.0349980816, -0.0442570746, -0.0000245954, 0.0091386912, 0.0070770308, -0.023095509, -0.0039775199, -0.0140391923, -0.0186553262, 0.0091351159, 0.0614276193, 0.0070012924, -0.0150245633, 0.0186898597, -0.0171999186, 0.0115079284, 0.0399338007, -0.0444023088, 0.0444659367, -0.0112098409, 0.0167930685, 0.0342694484, -0.041265022, -0.0006537381, 0.0736822113, -0.0387175567, 0.1065403745, -0.0268878657, -0.0154802417, 0.0183886643, -0.0016322989, 0.027070025, -0.0423170626, 0.0215960685, -0.0273999255, -0.0023251206, 0.0269073527, -0.024192756, 0.0637668222, 0.0375440009, -0.0432924815, -0.0006477396, 0.0429833941, -0.0131334038, 0.0664483011, 0.0724622011, -0.0180869363, -0.0161391217, 0.0115562975, 0.0016700408, -0.0261406414, -0.0136143668, 0.0011898957, 0.033512339, 0.0022248465, -0.0187087804, 0.0103618717, -0.0162791517, -0.0021973234, -0.0161239505, 0.0127622252, -0.0366963781, 0.0068221372, -0.0048356443, -0.0134937037, -0.0811032206, 0.0559443608, -0.0614227913, 0.0466380715, -0.0148736816, -0.0421367958, 0.0412962288, 0.0474054478, -0.0275725164, -0.0316335373, 0.0099552255, -0.0033462357, 0.0129514355, -0.0075493883, 0.020374123, 0.0039661182, -0.0166578516, -0.0510768257, 0.0314776488, -0.046481099, 0.0441211089, 0.0281368047, -0.0051953029, -0.0521414727, 0.0092160776, 0.0387278013, -0.0573493764, 0.0518673062, 0.0353125557, 0.0372329168, 0.0316837579, 0.0193276573, 0.0121719455, 0.0965889618, -0.0013969259, 0.0149981482, 0.0375443697, -0.060950648, 0.0063322424, 0.0287786182, -0.0403655246, 0.0249953344, -0.0445836112, 0.0423201732, -0.0299555231, -0.0180177502, 0.0641506389, 0.0473276898, 0.0136507796, -0.0463823788, 0.0796149671, 0.0676470399, -0.0125947185, 0.0246168748, -0.0038386197, 0.0506875664, 0.0097929845, 0.0446915217, -0.0401907116, 0.0169892851, -0.0607586205, -0.0398899987, 0.0088433512, 0.0578676313, -0.0290201548, -0.0301886816, -0.017382415, 0.0084910942, 0.0516360998, 0.0444285199, 0.0428567119, -0.0586385652, -0.0057857442, 0.022845095, 0.041247271, -0.0349421874, -0.0152230402, -0.0686074272, 0.0423967391, 0.0443234779, -0.0086485874, -0.0080460273, -0.0088952016, -0.0323428251, 0.0288456269, 0.100302659, 0.1171760708, -0.0318636522, -0.0231910236, -0.0272914749, -0.0120416526, 0.0030842875, 0.0108047957, 0.0488176681, 0.0271001514, 0.0174745005, -0.0056964434, -0.0153307691, -0.0066872034, 0.013183848, -0.0169177055, 0.0061235745, -0.0079936953, 0.030221751, 0.0354643613, 0.0084293243, 0.0030446881, -0.0260904357, 0.0187478364, 0.0148344282, -0.0003904617, -0.0109751932, -0.0649412349, 0.029746037, 0.0083252825, -0.0185692608, -0.0163750052, 0.0432053283, -0.0126797268, 0.0044670547, 0.0461150631, -0.0027869323, 0.0224969387, -0.014412934, -0.0056343214, -0.0615302287, 0.0013181921, -0.0751089752, 0.0448427536, -0.0082944063, 0.0149962455, 0.0224238392, -0.0368464254, 0.0210583061, -0.0149347587, -0.0280293077, 0.0220607203, 0.0122033898, 0.0250343699, 0.0576993339, -0.0380927697, -0.0563852824, -0.06571652, -0.0434953682, -0.001160849, -0.025857605, 0.0258379653, 0.017831726, -0.0265364219, -0.0247529782, 0.0232145917, -0.0470291078, -0.001793602, -0.017544806, 0.0281906947, 0.0169633608, -0.0070298691, -0.0264316425, -0.0301852301, 0.0172384121, -0.0246741734, -0.0215938222, -0.0000585287, -0.0043506739, -0.0109797148, 0.0278635137, -0.0664330125, -0.018641118, -0.0389740765, -0.0435435288, 0.0195013806, 0.0260714442, 0.0287653599, 0.0997113064, 0.0594771877, 0.0129207615, 0.04178451, 0.0119668711, -0.0828136355, -0.0222488344, -0.0309793092, -0.0006333556, -0.0594710708, -0.0476749204, 0.0036444936, 0.0669634268, 0.0124412421, 0.0088820318, -0.045402348, 0.0636870041, -0.0065105204, -0.0320030898, -0.0078276293, 0.0095952414, -0.0147694517, 0.0499704555, 0.0094849896, -0.0341285728, 0.0472203083, 0.0227385331, 0.0405656062, -0.020485878, -0.0148207294, -0.0127222221, 0.0317260437, -0.0136379423, 0.0007609696, -0.0224280022, -0.0048260633, -0.0675578713, -0.0417488702, 0.0318542495, -0.0603589118, 0.0390583128, -0.052463945, -0.0123962164, 0.0054061506, -0.0291754715, -0.0552409627, -0.0540242791, -0.0267153624, 0.0068909712, 0.051889699, -0.0325601771, -0.0017565807, 0.0077142431, 0.0431096703, -0.0550539233, -0.0079906471, 0.01602103, 0.0130802486, 0.0012324331, 0.0283107832, 0.0288429093, 0.0354535878, 0.0059254779, 0.0124420505, 0.0103466604, -0.00266898, 0.0322850011, 0.0085092969, -0.0483874641, 0.0543323979, -0.0149412062, -0.0358466022, 0.0009609825, 0.0456100479, -0.0199191477, 0.0240809638, 0.095857285, 0.0336466208, -0.0622719452, -0.0221986584, -0.0259556379, -0.0150018698, 0.0435622782, 0.0133442935, -0.0809868574, 0.0228191372, 0.0100076655, -0.0035901759, -0.0494023338, -0.010523296, -0.0235074647, -0.1251732856, -0.0068822405, -0.0118698142, -0.0298958253, -0.0157344062, -0.0359927863, 0.0465307683, -0.0038854999, 0.0161776189, 0.0076240306, 0.0085915383, 0.0018444734, -0.0075393789, -0.0572928078, -0.0690582544, 0.0388519131, 0.013195103, 0.042766422, 0.0322428048, 0.0513665788, -0.0037909381, -0.0350487977, 0.0669987723, -0.0138553688, -0.0198435243, -0.0249555986, 0.0052554077, -0.0295281187, 0.0123426691, -0.0209874921, 0.0439742915, 0.0236439034, 0.0001446126, 0.0032732254, 0.029423112, -0.0394250304, -0.0349713154, 0.0103197647, 0.0403018631, 0.0512236394, 0.0745513067, 0.0607521608, -0.0765918046, 0.0257883538, -0.0614522025, -0.0062700561, -0.0123234773, -0.0493607782, -0.0156014143, -0.0174760818, 0.0081301993, -0.0127631528, -0.0658482313, 0.0177446883, -0.0216417443, -0.010404814, -0.0208466034, 0.0322491638, -0.0079561127, 0.0070874318, 0.0486810058, -0.0252123084, 0.0069003524, -0.0289286878, -0.074706018, 0.0228232071, -0.0474233739, -0.0210468005, -0.0157244243, 0.0019857963, -0.0587140284, 0.0547157377, 0.0118692117, 0.017419355, 0.0122589003, -0.0037930789, -0.0550535917, -0.004927373, 0.0564863347, -0.0376609266, 0.0124966614, 0.0043530483, 0.0577207617, 0.0078129685, 0.0259482097, -0.0069571664, 0.0416132994, 0.0537653752, -0.0306664929, -0.0628992319, -0.0864866227, 0.0095166434, 0.0095144734, 0.067242004, 0.0230658595, -0.0499293394, -0.0244850256, -0.0276814103, -0.0078680841, -0.0469289832, 0.0304730181, -0.0443147607, 0.0327483453, -0.0631077141, -0.0204159562, 0.019003382, -0.057558272, 0.0347366445, -0.023247499, 0.036544092, -0.0212604143, 0.0191888418, 0.0175658613, 0.0195776224, -0.0164119583, 0.0462373756, 0.0152078215, 0.0543455482, 0.0249039773, 0.0778010115, 0.0105005195, -0.0173744448, 0.0451482348, -0.0269774795, -0.0299779158, -0.0764101371, 0.0118392035, 0.0423592068, 0.0172858853, -0.0146284718, 0.0197802056, -0.0059745968, -0.0223608408, -0.0242248513, 0.0151923718, 0.019658003, -0.0361702368, 0.0698799044, -0.0057583824, -0.0556626096, -0.0077814348, 0.0407823585, -0.0077965632, 0.0215240065, 0.0260365903, 0.0022289304, -0.0283640046, -0.0099713011, 0.004605012, -0.0046648905, -0.0405556299, -0.0091694193, -0.0707140341, -0.0365142971, 0.0092163496, 0.012340175, -0.0105671547, -0.0129918884, 0.0242927913, 0.0755270198, -0.0392134078, 0.0197430979, -0.0556733236, 0.0645065457, -0.0584091768, -0.014638138, -0.0239463504, -6.238360275e-33, -0.0162882861, -0.026399482, 0.0119111575, -0.0213824995, 0.0060184118, -0.0349566974, -0.0083600208, 0.0692622587, -0.0588278472, 0.0041287276, -0.0030003339, 0.0261874404, 0.0217183139, 0.0017756879, -0.016490519, -0.0309669841, 0.0106244739, -0.0065046572, -0.0381716937, 0.0061520911, 0.0158137102, -0.0029472949, 0.045221854, -0.0729172751, 0.0027743136, 0.0074459752, 0.0166132115, -0.0042207744, -0.0306035876, 0.0174526051, -0.0213785078, 0.0353668034, 0.0299664326, -0.0002862666, -0.0033349835, 0.0745417327, -0.0032887505, -0.0183084961, 0.0371109359, 0.0118314717, 0.015331015, -0.0535181239, 0.0147022689, -0.008711759, -0.0594061799, 0.0062576248, 0.0400085486, -0.0330782346, 0.0116462922, 0.0114508281, -0.0230249707, 0.0124840122, -0.0086114844, -0.0232931394, -0.0502867587, 0.063515, 0.0393784083, 0.0554536544, -0.0314102024, 0.0682273954, -0.0324748345, -0.0009904107, 0.070503287, -0.0202187337, 0.0261160862, 0.0724349618, 0.0331008956, 0.0523519963, -0.0472639315, -0.0709247515, 0.0574561022, -0.0106779914, 0.028741112, 0.0589045025, -0.0085177105, -0.0637052134, -0.0469624996, -0.0172197912, 0.0668380111, -0.0000264443, 0.0158748571, -0.0191388614, -0.0207433961, -0.0370888375, -0.0652816296, -0.0471143872, -0.0243030973, -0.0175472554, 0.0111170597, 0.0138618685, -0.0317967236, -0.0206382591, 0.0503292009, -0.0354473032, -0.0128456913, 0.0306397267, -0.040658325, -0.0131039517, -0.0024422293, 0.0138617186, -0.0721749067, -0.0137094958, -0.0422202386, -0.0227315836, 0.0028012022, 0.0009835961, -0.0099807587, -0.001570406, -0.0595146157, -0.0135482913, -0.0172612183, -0.0101065822, 0.0037918477, 0.0295156147, 0.0318361335, 0.051524248, 0.0160306133, 0.0478541031, 0.0303705819, -0.0080536949, -0.0155879557, -0.069546327, -0.0619813427, 0.0355616175, -0.0426393226, -0.0281256884, -0.0335426331, 0.0439488664, 0.0045436835, -0.0085891541, -0.0231568068, -0.0271756575, 2.458e-7, 0.0421902798, 0.1003488153, -0.0391583778, 0.0201680698, -0.0186532997, 0.0093256496, 0.0252230577, 0.0080251498, -0.0020203658, -0.0459690168, -0.0434189811, 0.0062119705, 0.0610299669, 0.0182009172, -0.0874487981, 0.0128479479, -0.018695958, 0.0401767679, -0.0458372161, 0.0324602462, -0.0311870202, 0.0293021202, 0.0209616255, 0.0241512228, -0.034315303, 0.0175994951, 0.05710743, -0.0747406632, -0.0514096208, 0.0331885628, 0.0129494974, -0.0019664762, 0.0302429497, 0.0487874933, 0.0167708918, 0.0185797717, -0.0410118476, 0.0955823287, 0.0112048034, -0.0344136693, -0.0252652112, -0.0208038203, 0.0038427804, -0.0401735306, 0.0644024462, -0.0458720662, -0.002182971, -0.0367568657, -0.0070542544, -0.0082137669, 0.0478839129, -0.0424732566, -0.0278369337, -0.0103449384, 0.0078785988, -0.0053801783, 0.0067673977, -0.0314477645, -0.0097393245, -0.0285951123, -0.0487152413, -0.0921303034, 0.008748888, 0.0023447454, 0.0251746178, 0.0038478593, 0.0064560906, 1.77132833e-34, 0.0295924284, 0.0145218093, -0.0084415311, -0.0499584377, 0.0538383424, 0.0160390809, 0.0117428843, 0.0027274608, 0.0292364471, -0.0959713683, 0.0177149437 ]
http://arxiv.org/abs/2402.01788v1
http://arxiv.org/pdf/2402.01788v1
LitLLM: A Toolkit for Scientific Literature Review
2024-02-02T02:41:28
2024-02-02T02:41:28
Shubham Agarwal, Issam H. Laradji, Laurent Charlin, Christopher Pal
cs.CL
cs.CL, cs.AI, cs.IR
Conducting literature reviews for scientific papers is essential for understanding research, its limitations, and building on existing work. It is a tedious task which makes an automatic literature review generator appealing. Unfortunately, many existing works that generate such reviews using Large Language Models (LLMs) have significant limitations. They tend to hallucinate-generate non-actual information-and ignore the latest research they have not been trained on. To address these limitations, we propose a toolkit that operates on Retrieval Augmented Generation (RAG) principles, specialized prompting and instructing techniques with the help of LLMs. Our system first initiates a web search to retrieve relevant papers by summarizing user-provided abstracts into keywords using an off-the-shelf LLM. Authors can enhance the search by supplementing it with relevant papers or keywords, contributing to a tailored retrieval process. Second, the system re-ranks the retrieved papers based on the user-provided abstract. Finally, the related work section is generated based on the re-ranked results and the abstract. There is a substantial reduction in time and effort for literature review compared to traditional methods, establishing our toolkit as an efficient alternative. Our open-source toolkit is accessible at https://github.com/shubhamagarwal92/LitLLM and Huggingface space (https://huggingface.co/spaces/shubhamagarwal92/LitLLM) with the video demo at https://youtu.be/E2ggOZBAFw0.
LitLLM: A Toolkit for Scientific Literature Review: Conducting literature reviews for scientific papers is essential for understanding research, its limitations, and building on existing work. It is a tedious task which makes an automatic literature review generator appealing. Unfortunately, many existing works that generate such reviews using Large Language Models (LLMs) have significant limitations. They tend to hallucinate-generate non-actual information-and ignore the latest research they have not been trained on. To address these limitations, we propose a toolkit that operates on Retrieval Augmented Generation (RAG) principles, specialized prompting and instructing techniques with the help of LLMs. Our system first initiates a web search to retrieve relevant papers by summarizing user-provided abstracts into keywords using an off-the-shelf LLM. Authors can enhance the search by supplementing it with relevant papers or keywords, contributing to a tailored retrieval process. Second, the system re-ranks the retrieved papers based on the user-provided abstract. Finally, the related work section is generated based on the re-ranked results and the abstract. There is a substantial reduction in time and effort for literature review compared to traditional methods, establishing our toolkit as an efficient alternative. Our open-source toolkit is accessible at https://github.com/shubhamagarwal92/LitLLM and Huggingface space (https://huggingface.co/spaces/shubhamagarwal92/LitLLM) with the video demo at https://youtu.be/E2ggOZBAFw0.
[ 0.0741975009, -0.0101971272, -0.0027261043, -0.0238522161, -0.0053264103, -0.0261853598, 0.0263785236, 0.0013910505, 0.0020490901, -0.0621657781, -0.0563550629, -0.0101877339, -0.0061802729, 0.0391389914, 0.0396462083, -0.0449735336, 0.0214512609, -0.0086460738, 0.0230675843, -0.0054163355, -0.0106985234, -0.0083372658, 0.0060225404, 0.0268013962, 0.0794492885, -0.0096763643, -0.0033856207, -0.0102080116, 0.0269308612, -0.0541723371, 0.0351397656, 0.0419179797, 0.0064891106, 0.0712846741, 0.0000021893, -0.0693989545, -0.0223471485, 0.02102286, 0.0500864647, 0.0261746496, 0.1148177087, 0.0077247946, 0.0013056666, 0.0020969035, -0.0145375617, -0.0211377833, 0.0146116391, 0.0274471045, 0.0142427199, 0.025924135, 0.0052450472, -0.0265236665, 0.0092247212, -0.0205613151, 0.0252911113, 0.024477493, 0.0068760356, 0.0346922986, 0.0914851278, 0.0903194845, 0.0477279052, 0.0426219255, -0.0285686273, -0.0681811124, 0.0693900809, 0.0246018618, -0.0515966564, -0.0286631994, 0.0140725635, 0.0546653159, 0.0223252829, -0.0407413617, 0.0336716585, -0.018619407, -0.0254097302, 0.0812163278, -0.0921851844, 0.0296875965, 0.0171879809, -0.0294868145, 0.0060555423, -0.0061686798, 0.0291174538, 0.0201042425, 0.0364581086, 0.0425614826, 0.0210365038, -0.0309877247, -0.0142315133, -0.0097933868, 0.0337855145, -0.0297214389, -0.007811923, 0.0444352627, -0.0148209529, -0.0144771067, 0.0537263602, -0.0656715855, 0.10565947, -0.035612978, 0.0148234433, -0.0302176978, 0.0098543279, 0.0193118975, -0.0163397659, -0.0422229506, -0.0209050719, -0.0518670902, -0.0263609681, 0.0307792891, -0.0243215859, -0.0607702807, 0.0001075273, 0.0047597592, -0.0359965488, -0.0112337209, -0.042658601, 0.0025895128, -0.0185549892, 0.0007000859, 0.0051781214, 0.0297897737, -0.0346046649, 0.0089430111, -0.0144158499, 0.0329044051, 0.0183770265, 0.0238751881, 0.0008100022, 0.0090383571, -0.0080202427, 0.0195754431, 0.0067615877, -0.0012995001, 0.0341607518, 0.0011525766, 0.0211111773, -0.0428103283, 0.0165825672, -0.0534034781, 0.0003753085, -0.0264076404, 0.0182759017, -0.1006409377, 0.0217317212, 0.0131685426, -0.0140944421, 0.0126960715, 0.0182931777, 0.0473105982, -0.0197383165, -0.0010386022, -0.0715207383, 0.0092463167, 0.0486760251, 0.02314776, 0.0355544537, 0.0171699394, -0.0279941745, 0.0184576176, 0.0357345603, -0.0073287687, 0.0217817519, 0.0052137389, -0.0025629657, 0.0078195035, 0.0154432245, 0.002222735, -0.0386962146, 0.0265659057, 0.010191598, 0.0242806189, -0.042293869, 0.042065423, 0.0126748905, 0.0674270466, 0.0239732321, 0.0327849463, 0.0082727419, 0.0226222221, 0.0335531384, -0.017475199, 0.0082834698, 0.0403549224, -0.0266695507, 0.0155933676, 0.0282446668, 0.0417283922, 0.0062662973, -0.0294643939, -0.0111874631, 0.0224819556, -0.0066440273, -0.0246666893, 0.0849565268, 0.0252443478, -0.0139379883, 0.0072331829, 0.0297587719, -0.0569038168, 0.0362948999, -0.0140543273, 0.0435712375, 0.0593808964, 0.1121318042, -0.0499910712, -0.0046342476, 0.0099851778, -0.0305290204, 0.0552022122, 0.0154799791, -0.0089856265, -0.0518314838, -0.0261580143, -0.036269445, -0.035238456, -0.0238618124, -0.0003038808, 0.0138847176, -0.00690025, 0.0289582498, -0.0338488631, -0.0787376314, 0.0136353038, -0.0412068516, -0.0188159235, 0.0016552344, -0.0641823113, 0.027979847, 0.0283100978, -0.0282498356, 0.0634199232, 0.0673921108, -0.0197533518, -0.044435814, 0.0035886606, 0.045009762, 0.0421057865, 0.017865954, -0.0553242788, 0.0466583632, 0.0114355553, -0.0024430151, -0.0467348881, 0.0423403345, 0.0147552472, 0.0401245654, -0.0120955212, 0.0125444736, -0.0153176468, -0.0193760358, -0.0470954403, 0.0557318628, 0.03141056, 0.0618599169, 0.0414799824, -0.0270349439, -0.0016463252, -0.0226195827, -0.0222611297, 0.0174868088, 0.004898482, 0.00643055, 0.0737819746, 0.0173602272, -0.0261813365, -0.0235628746, -0.0917915702, -0.0022477845, 0.0269478709, -0.0057068728, 0.0269746184, 0.0123578049, -0.0075174882, -0.0027080588, 0.0030589569, -0.0044042678, 0.0391322225, -0.0085728606, 0.0303771365, 0.0064473795, 0.0237761289, -0.080139935, -0.0320842043, -0.0014001849, 0.0279584769, 0.0551983826, 0.0029261005, -0.0606363229, 0.0572119951, -0.0161777642, -0.0137205319, -0.0280760769, 0.0149175255, 0.0133473882, -0.0217743851, 0.0235636812, 0.0336335897, 0.0208946075, 0.0028059329, 0.0884450227, -0.0145843746, -0.0669468343, -0.0266130753, -0.027137544, -0.0148977777, 0.0347343795, -0.034582302, 0.053795971, -0.0063444758, -0.0071175448, -0.0152610857, 0.016214909, -0.0134772966, -0.0128836064, -0.0134459948, -0.0301541369, -0.0321424529, 0.0038947358, 0.0305088349, 0.0274530519, -0.0467542037, 0.0373710953, -0.0401119776, -0.0060511241, -0.0877685398, 0.0163229294, -0.0466021001, 0.0392979048, 0.0075585721, 0.011674501, -0.0429700799, 0.0217741895, -0.0147997895, 0.000356941, 0.0016212336, -0.0456978418, 0.0075345356, -0.0398362465, 0.0118697844, -0.0208732225, 0.015636513, -0.0044776355, -0.0185033511, -0.0085332422, 0.0113171022, 0.0287767462, -0.0327198468, -0.0227331799, 0.0175892096, 0.089121528, 0.0180695299, -0.0419944339, -0.0280202478, -0.0072053466, 0.0136484373, 0.0736809671, -0.0609685332, 0.0116848918, 0.0045090909, 0.0103265541, 0.0582803562, 0.0085587995, 0.0091547193, -0.0219591111, -0.0444032736, 0.0456571244, -0.0509293899, -0.0134507166, -0.0165800359, 0.0060732686, -0.0435093194, 0.0018242401, 0.0920033902, 0.0437706523, -0.083083652, -0.0307104699, -0.0854364708, 0.0178073142, 0.0155011117, 0.0466899201, -0.0471423231, 0.0388104096, 0.0012750018, 0.0625883713, -0.0070643779, 0.0085357251, 0.0167220123, -0.0725634545, 0.0596113279, 0.0239712112, 0.0123301484, -0.0042335629, -0.0705511197, 0.0131918201, 0.0106985681, -0.0421716385, 0.0724284202, -0.0575490221, 0.0086829476, 0.0092014996, -0.0158267692, -0.0457813591, 0.0071325954, -0.0454123504, 0.0167391282, 0.0335253328, 0.0092943273, -0.0217801593, -0.0007602438, 0.0134597616, -0.0393877551, -0.0097078253, -0.0281048659, 0.0112017719, 0.0294210613, 0.0302043576, -0.0507445708, 0.0336836316, -0.0095763747, -0.0274726767, 0.0437715501, 0.0479522608, -0.0436628759, 0.0081435479, -0.0921440572, 0.0189804956, -0.0109457178, 0.0546489321, 0.0034934296, -0.023658989, -0.0226092152, 0.0051930351, 0.0159421656, 0.0302117635, -0.0531324521, -0.0022215394, -0.037669424, -0.0086568138, -0.0469764993, -0.0093646338, 0.0004970477, 0.0137889087, 0.0361822098, 0.0541531928, 0.0162117593, -0.0304254089, -0.0431173518, 0.0278276112, 0.0197993368, -0.007415507, -0.0069891219, -0.03360283, 0.108942695, -0.0449418388, 0.0012412497, 0.0040095043, 0.0159966685, -0.041023206, -0.0382164121, 0.0423080027, 0.0288002212, -0.0002229442, -0.0200798474, -0.0276275594, 0.0558997728, 0.0309271272, -0.0116485655, -0.0082253795, -0.0345238671, 0.0090027256, -0.017949434, -0.0503573045, -0.0834235325, 0.0101234736, -0.0318958201, 0.0109686796, -0.0192223992, -0.0415072665, 0.0196287893, 0.0351342708, 0.0075546405, -0.0596609935, 0.0265311431, -0.0235943105, -0.0010250459, -0.0402693637, -0.0186458733, -0.0242675524, 0.0542480387, -0.0031055936, -0.0198198203, 0.0237512682, 0.036270801, -0.0379720628, 0.0757602081, -0.040303003, 0.0667267963, -0.0363380425, 0.0119914124, 0.0358421244, -0.0192508679, -0.0342240147, -0.0264033917, -0.0805639476, 0.0251576994, -0.0187250953, 0.0100855362, 0.014242433, -0.0261501875, -0.0205186084, 0.0443167724, -0.1005320698, -0.0454554372, -0.0449472442, -0.0208215471, 0.0240224246, 0.0157181658, 0.0796134695, -0.050866127, -0.0127540808, -0.0282382388, 0.0240672305, 0.0015718555, 0.0084695769, -0.0012878841, 0.0302249361, -0.0170273576, -0.0272356179, 0.0723262206, -0.0068122931, -0.0301389843, 0.0120991766, -0.0460434891, -0.017542474, -0.0501450375, 0.0088628689, 0.0330002382, -0.0252267607, -0.054249689, -0.029528195, -0.0074816477, 0.005994048, 0.0209146552, -0.0188432522, -0.0424158499, 0.0199470036, 0.0823736414, 0.0042220219, -0.0158901382, -0.0446245037, 0.0573930405, -0.0321877636, -0.0505938269, -0.0253051203, -6.492626315e-33, -0.0083858455, -0.0578067973, 0.0261321887, -0.0109530585, -0.0279184692, 0.0115839727, -0.057403218, -0.0218390152, 0.0341250636, 0.0018031857, -0.0190474968, 0.0058213025, -0.0098880967, 0.0040066279, 0.0617253445, 0.0489463992, 0.0225253664, 0.0082184589, -0.012425377, 0.0602212884, 0.0235267431, 0.0016635755, -0.005782201, -0.0424658619, 0.0563550331, -0.0164001416, 0.0026024678, -0.0244232193, 0.0007929922, 0.0532670915, -0.0323068649, 0.031340912, 0.0107130138, -0.0003307237, -0.0112253027, 0.0073446915, -0.0547566488, 0.0114087667, 0.0161848459, -0.0353469215, -0.0225642323, -0.0111707533, 0.0511676185, -0.0183839593, -0.035373386, 0.0370106325, 0.0629484504, -0.040096987, -0.0529706664, -0.0821938366, -0.0490267463, 0.004378417, -0.0006643743, 0.0346510857, -0.010157859, 0.0863217339, -0.0175493024, 0.0705303922, -0.0420264266, 0.0538321957, 0.0036791244, 0.0497753024, 0.0357455239, -0.0044729146, 0.0294561107, 0.0443751626, -0.0519612767, -0.0113654453, 0.0321079716, -0.0336559191, 0.0162504241, 0.0161792748, 0.0207202248, 0.0121601075, 0.0196532831, -0.0187463928, -0.0432021022, 0.0612967983, 0.0121279918, 0.0423929133, 0.0710784644, -0.0055897059, 0.0449287221, -0.0221989695, 0.0084503898, -0.0144038694, -0.0077516674, -0.0426538028, -0.0053922869, 0.0082938755, -0.0459276065, -0.0587957986, -0.0018907411, -0.014204558, -0.0073296102, 0.0481998399, -0.0061807521, 0.0353872925, -0.013790139, -0.0171817243, -0.0388795137, -0.0210038163, -0.0007282312, 0.0118578877, -0.0231045298, -0.0011341557, -0.0036945061, 0.0136437137, -0.0421520695, 0.005905617, 0.0036244651, 0.0136817843, -0.0069941869, 0.0030085125, -0.0250011943, 0.0167331975, 0.0255637877, 0.0166158937, 0.0199218988, 0.033924263, -0.0062205717, -0.0150283575, -0.0118199941, 0.0305491071, 0.0134085231, 0.0439072587, -0.0284038614, 0.039554663, 0.043524351, -0.0422205776, -0.0038210372, -0.0071887905, 3.078e-7, 0.0522399954, 0.0531347804, -0.0178402364, 0.0012169369, 0.0562108755, -0.0111224269, 0.006600962, 0.0047645569, 0.037098188, 0.0349324867, 0.0177514218, -0.0147134317, -0.0035988844, 0.018120084, -0.1001512483, -0.0266806763, -0.0909738094, -0.0854946524, -0.048723802, -0.0186855476, 0.0158864688, 0.0049115038, -0.0296505671, -0.0041569215, -0.045184534, -0.05771612, 0.040094763, -0.0257849637, -0.0053166305, 0.0411123335, 0.0574890077, -0.0066928286, 0.0114957709, -0.0588766299, -0.0245525856, 0.0089923209, -0.0211655572, -0.0096184025, 0.0131563349, -0.0034946054, 0.0564087182, -0.0306129698, 0.0492443107, -0.0642151162, 0.0290698465, -0.03389927, -0.0060607535, -0.0420758724, -0.0633864403, -0.0219966713, 0.0188318584, -0.0463835634, -0.0350223444, 0.0516798757, -0.0325083695, -0.0125196278, -0.027736757, -0.034579508, -0.0143712573, 0.0580158345, -0.0398650803, -0.0672365651, -0.0095346794, -0.0414051153, -0.0431679636, -0.0512679815, 0.0116729205, 3.095872151e-34, 0.0956117734, -0.0114958081, -0.0164204538, 0.0146288164, 0.0252274554, 0.0057216878, -0.0661886856, 0.0508514196, 0.0152353169, -0.0913028568, -0.0186719652 ]
http://arxiv.org/abs/2402.01097v1
http://arxiv.org/pdf/2402.01097v1
Let's Negotiate! A Survey of Negotiation Dialogue Systems
2024-02-02T02:12:46
2024-02-02T02:12:46
Haolan Zhan, Yufei Wang, Tao Feng, Yuncheng Hua, Suraj Sharma, Zhuang Li, Lizhen Qu, Zhaleh Semnani Azad, Ingrid Zukerman, Gholamreza Haffari
cs.CL
cs.CL
Negotiation is a crucial ability in human communication. Recently, there has been a resurgent research interest in negotiation dialogue systems, whose goal is to create intelligent agents that can assist people in resolving conflicts or reaching agreements. Although there have been many explorations into negotiation dialogue systems, a systematic review of this task has not been performed to date. We aim to fill this gap by investigating recent studies in the field of negotiation dialogue systems, and covering benchmarks, evaluations and methodologies within the literature. We also discuss potential future directions, including multi-modal, multi-party and cross-cultural negotiation scenarios. Our goal is to provide the community with a systematic overview of negotiation dialogue systems and to inspire future research.
Let's Negotiate! A Survey of Negotiation Dialogue Systems: Negotiation is a crucial ability in human communication. Recently, there has been a resurgent research interest in negotiation dialogue systems, whose goal is to create intelligent agents that can assist people in resolving conflicts or reaching agreements. Although there have been many explorations into negotiation dialogue systems, a systematic review of this task has not been performed to date. We aim to fill this gap by investigating recent studies in the field of negotiation dialogue systems, and covering benchmarks, evaluations and methodologies within the literature. We also discuss potential future directions, including multi-modal, multi-party and cross-cultural negotiation scenarios. Our goal is to provide the community with a systematic overview of negotiation dialogue systems and to inspire future research.
[ 0.0893710032, 0.029815061, -0.0300944801, -0.0017689844, -0.0412676819, -0.0183041003, 0.0561509877, 0.018224081, 0.0096797878, -0.0354786888, -0.0269345883, -0.0148911476, 0.0058863489, 0.0273430813, 0.0004389705, -0.0568104461, 0.0401588641, -0.0042124218, 0.0686253011, -0.0157782994, 0.0310659893, -0.0012941958, -0.0421825089, 0.0635636672, -0.0740353763, -0.0072159581, -0.0762924105, -0.0038168612, 0.0496472828, -0.0005244746, -0.0343716405, 0.0477720685, -0.0126475459, 0.0375744253, 0.0000016829, -0.0706954598, -0.0011651559, -0.0222250987, -0.0257546566, -0.0267678108, 0.0717607588, -0.0225345939, -0.0148716755, 0.0372627452, -0.0623643249, -0.0103330323, 0.0359689258, 0.0831660256, 0.0664801896, 0.0633407161, -0.0041155485, 0.0188819375, -0.0128650488, -0.0187924933, -0.0385876372, -0.070671998, -0.0035403329, -0.0234569106, -0.0035367513, -0.0022730471, 0.0048092064, -0.0058593675, 0.00891174, -0.0619098917, -0.0981224477, 0.0231693275, -0.0672956407, -0.0292154029, -0.0120307859, 0.075772129, 0.0504730679, 0.0192508157, 0.001728675, -0.0019465429, 0.0153638581, -0.0199874919, -0.0244595725, 0.0264121871, -0.0125896661, -0.0164367985, -0.0113878669, 0.003739794, -0.0288560782, -0.0122977505, -0.0184287075, 0.0596300215, -0.017081894, -0.0157496948, 0.0100003602, -0.0242547002, 0.0416756533, -0.1103130803, 0.0009721701, 0.0325778276, -0.0900494531, 0.0088961767, -0.0100694001, 0.0061998153, 0.0287665576, -0.0284695327, -0.0016819895, 0.0257350486, 0.0151074361, 0.0422383361, 0.0755276904, -0.015094894, 0.0129021313, 0.0173223559, 0.0043081585, -0.017466642, -0.0587916225, -0.0150471609, -0.0599135458, 0.0026301665, -0.0385535732, -0.0188764706, -0.011953407, 0.0121613331, -0.0474257693, 0.0350085162, -0.0113993017, 0.0282492787, -0.00366121, 0.0173833016, -0.0549660772, -0.0101793325, -0.0665121824, 0.0168650337, 0.0205578823, -0.0349859223, 0.0087608779, 0.0298884287, -0.0140028596, 0.0274490453, -0.0166367814, 0.058908049, -0.0219715014, 0.0145523893, 0.0316523202, -0.0233322699, 0.0139810601, -0.079410173, -0.0354818814, -0.0350081027, 0.074187763, -0.0198363066, -0.0620303154, -0.0418087468, 0.0321472026, 0.0180156995, 0.0043870569, 0.0476404205, 0.0156344119, 0.0173411667, 0.05017801, 0.0305368081, -0.0609034412, 0.0251198504, 0.0747989863, 0.0116792005, 0.0450596884, 0.027618086, 0.0310523696, 0.0250154622, -0.0119624687, -0.0031065147, 0.057182081, 0.0232124776, -0.0054730363, 0.0390536562, -0.0600782633, 0.0565382354, -0.0669239312, -0.0683944002, 0.0702485368, 0.0837135017, -0.0328309983, 0.044280827, 0.0043344069, 0.0571776889, 0.0334419794, -0.0509116165, -0.0279735737, 0.0328375809, -0.003094089, -0.0379236676, 0.0014942327, 0.0206864495, -0.0377137698, -0.0428170376, 0.0261086598, -0.006421362, 0.0724982321, 0.0284777693, 0.012263827, -0.0180338398, -0.0333016925, -0.024165066, -0.0170369204, -0.0126204779, -0.0447061248, -0.0226968806, -0.0076688514, 0.0227505341, 0.046083767, -0.0246973354, -0.0246670097, -0.0334529281, -0.0228414461, 0.0589302033, 0.0720538646, -0.0278403983, 0.0123063382, -0.0546411276, -0.0345708951, 0.0156275518, -0.0214981474, 0.028283257, -0.004554654, -0.000422022, -0.0190972164, 0.0364736579, 0.0569218397, -0.0082263639, 0.0463994518, 0.0339031145, 0.0181108844, 0.0191912185, 0.0511991493, 0.0316985585, -0.007583377, -0.0141580012, 0.0246481523, 0.0163755901, -0.0341483951, 0.0713118911, -0.006198192, -0.0330413692, 0.0170478541, -0.0264976993, -0.0328999311, -0.011037061, -0.0097979251, -0.0413073897, 0.0405259393, -0.0062506027, -0.0080629056, -0.0358440056, 0.0115255807, 0.0164278001, -0.0109262858, -0.0022478017, 0.0095453309, 0.0311952978, -0.0558541454, 0.0229435582, -0.0257950276, 0.0397198386, -0.0546812713, 0.0194871761, 0.0425343625, 0.0075704874, -0.0060650208, 0.0165718868, 0.0169251524, -0.0366231985, -0.0360239185, -0.0952105224, -0.0147750163, 0.0075969039, -0.0132665578, -0.0271990504, -0.0197475143, 0.0145733645, 0.0028226853, -0.0578603484, 0.0520209596, 0.0658408105, -0.0165810585, 0.0377898626, 0.0087262699, -0.0439976901, -0.0080953073, 0.0160860922, -0.0103018228, 0.0274023972, -0.014949155, -0.0097968848, -0.0215251874, -0.0067069461, -0.0631862581, 0.0438961983, -0.0115766628, -0.0635867119, 0.0636908859, 0.0321516432, -0.008216897, 0.0515674576, 0.0525678284, 0.0731151849, -0.014602582, -0.0420141108, -0.0646525919, 0.041684512, -0.0097713834, 0.0367943235, -0.070007503, -0.0270930566, -0.0144941621, 0.0080021704, 0.0066319909, 0.0442956649, -0.0224969313, 0.052866444, 0.0749612451, -0.0520496964, 0.0153099075, -0.0124807116, -0.0245675705, 0.0861821249, -0.0016804115, 0.0036006619, 0.0622359626, -0.0066990801, -0.0035268955, 0.0087508298, -0.0008134908, -0.0465099551, 0.0529554412, -0.0475013219, 0.010181535, 0.042063769, -0.0213593151, -0.0243971758, -0.0449494645, 0.0482047163, -0.0376056693, 0.0058970628, -0.0342382342, -0.0216433797, -0.0072401594, -0.0291175041, -0.0450181626, -0.0187671874, -0.0099892281, 0.0382918231, 0.0203471668, 0.0023912226, -0.0719237775, 0.0177160054, 0.0073158164, -0.001777018, 0.0772496536, -0.0069533759, -0.0193478558, -0.0506078303, 0.0276005659, 0.055915609, 0.0101416958, 0.0109270085, 0.040920414, 0.0427861102, 0.0051689805, -0.0089968564, 0.0080178296, -0.0207799282, 0.0163775124, -0.001781397, 0.0080878297, -0.0181326848, -0.0015868735, -0.0200376082, 0.0285730381, 0.0438223071, 0.036082793, -0.0023334776, 0.0065069455, -0.0440245084, -0.0001644296, -0.0094023785, 0.021845147, -0.0986567363, 0.002544157, -0.0201824084, 0.0002085723, -0.0609977618, -0.0517447814, 0.0000920385, -0.0644886643, 0.0276109613, -0.0103366682, -0.0128023829, 0.0273733512, 0.0328139998, 0.0056670629, 0.0008338358, -0.0044175722, -0.0271641724, 0.0716844797, -0.0380889028, -0.0328646787, 0.0045026313, 0.0212920606, 0.016115183, -0.032034725, 0.0490399711, 0.032373827, 0.047549136, 0.0500489771, 0.0104345614, 0.0014189484, 0.0579131246, -0.0332793407, -0.0013563382, 0.000775583, -0.0266250372, 0.0082180249, -0.0240059793, 0.0299058519, -0.0052174563, -0.0431384258, 0.057951156, 0.0268542767, -0.0554520376, 0.0131561812, 0.0081996536, 0.03225068, 0.0363005027, 0.0369638465, 0.0049675889, -0.0362163484, -0.0787449628, -0.0251914933, -0.0397825763, -0.017289672, -0.0317430496, 0.0144607946, 0.0258412156, 0.0136515526, -0.0188739654, -0.1150345057, 0.0284779537, 0.0328213833, -0.0024722018, -0.0192886554, 0.0507362373, 0.0259448122, 0.0385070294, -0.0068411417, -0.0003843363, -0.0077271257, -0.0087135229, -0.0173808038, -0.0222792029, -0.0453144014, -0.0011264976, 0.0064836019, -0.0121062389, -0.0272639394, -0.0409027338, 0.0565925241, 0.0281434152, -0.0011101075, 0.0039304141, -0.0162982643, -0.0517758206, 0.0011247399, 0.0198142771, -0.0297804922, 0.0394847058, 0.0512484573, -0.0006555294, 0.0381817967, -0.015698513, 0.0297620147, 0.0090981396, 0.0250102151, -0.0420224965, -0.0733114555, 0.0177403446, -0.0288898908, -0.0544218607, 0.030320717, -0.0542834997, -0.0120625198, 0.0350463726, -0.0547752194, -0.0197269842, -0.0387489945, -0.024675183, -0.0501267388, -0.0200459417, 0.0428852178, -0.0136117255, -0.0441104583, 0.0260249823, 0.0373255648, 0.0403469428, 0.0028080945, -0.0071281791, -0.0066137421, -0.0183302052, 0.0237669237, 0.0360973142, -0.0068971631, 0.018894935, 0.0233701244, 0.0873906463, 0.0315661095, -0.0566664711, 0.0068921521, 0.0300948955, -0.0455712862, -0.0634429157, 0.0688084066, 0.0500541218, 0.0267671645, 0.0440707281, 0.0057322206, -0.041121006, 0.0205729418, 0.0104012433, 0.03962522, 0.0140934139, -0.0468487293, 0.0174606461, 0.0267646667, -0.0190043915, 0.0229111612, -0.0086390879, -0.0671232641, -0.0053364993, -0.0147940814, -0.037872415, -0.0587874427, -0.0273025353, -0.0391974375, -0.0012988701, -0.0150331324, 0.008709779, -0.070996359, 0.005197702, -0.0036097546, 0.0203176662, 0.004982613, -0.0052787508, 0.0173023883, 0.0292176045, 0.0256061293, -0.0160560384, -0.0296359938, 0.0125472164, -0.0537541434, -0.0297225472, -0.0369737707, -4.987549062e-33, 0.0004216977, -0.0499346741, 0.0394460708, 0.0536033288, -0.0374659859, -0.0758107901, -0.0270476528, -0.0010186264, -0.016588835, 0.0380106308, -0.0541132465, 0.006248855, 0.0310282335, -0.0364272371, -0.0021473621, -0.0030343698, 0.0217414629, -0.0216221549, -0.0459147841, -0.0034201122, 0.0223614033, -0.0417902134, 0.0092888828, -0.0940997973, -0.0050252485, -0.0182785373, -0.0280328672, 0.0365612805, -0.0170723405, 0.0689877793, -0.003620042, 0.0042465422, 0.0034706888, -0.0105365114, 0.0201743226, 0.0370877348, -0.0469339304, 0.018519124, 0.0043427707, -0.0132965809, -0.0238989461, -0.0102527253, -0.0155186402, 0.0027581954, -0.0166502949, 0.0115300333, -0.0125754336, -0.0112034446, 0.000589495, 0.0178564899, -0.0544800498, 0.0202103946, -0.0607461259, -0.0373599865, -0.0047161086, 0.0481804907, 0.0064379834, -0.0539320745, -0.0457367264, 0.0373523198, -0.0153109403, -0.0419292599, 0.0349406004, -0.0358218998, 0.0193705373, 0.0401285104, 0.0566873401, 0.0686837435, -0.0032312737, -0.0729729757, -0.0232401751, 0.0775177404, 0.0289152618, 0.0876122266, -0.0621792302, -0.0232437439, -0.0360646918, 0.0029808283, 0.0778532326, 0.0535570756, 0.0096189007, 0.0071883099, 0.0240596998, -0.0057666288, -0.03912884, -0.0357822999, -0.0196204763, -0.0525519364, 0.0443530455, 0.0445636548, 0.0313653648, 0.0053588063, 0.0426648259, -0.0345217958, 0.0180782415, 0.0206485223, 0.0327446312, 0.042137403, -0.0147304926, -0.0292448383, -0.0273661036, -0.0171976425, 0.0204113573, -0.0202216655, 0.0443547405, 0.0071605346, -0.0030453112, -0.0170190148, -0.007934643, 0.0094076879, 0.0050151986, 0.0811859593, -0.055125095, -0.0158342663, 0.0047824401, 0.0073598488, -0.0154393809, -0.0103819165, -0.00978358, -0.0304968394, -0.0609140061, 0.0047444296, 0.0236216076, 0.0123892436, -0.0243565496, 0.0177174676, -0.0043244073, -0.0237466916, 0.002446779, 0.025133146, -0.0096144145, -0.0271076988, 2.28e-7, -0.0335953832, 0.025322672, 0.0223644301, 0.0580819584, 0.0230794102, 0.066987507, 0.0052608885, 0.0477884859, 0.0143955098, -0.022591887, 0.0342388749, 0.0177886952, 0.0539886393, 0.0600562021, -0.0539936386, -0.0129310004, 0.0001813272, -0.0874563828, -0.0477873795, 0.007771228, 0.1064219102, 0.0116121843, 0.0106007997, 0.0261877459, -0.0345561616, 0.0180093218, 0.031665083, -0.0596596003, -0.0200870484, 0.0430944227, 0.0266895983, -0.0963216573, 0.0192721486, 0.0142305633, 0.0222251341, 0.0289969947, -0.0487271287, 0.0343355685, -0.0167176649, -0.061548546, 0.0025956545, -0.0045329812, 0.0106577035, -0.0305353906, 0.0007973618, -0.0445009358, -0.0393355489, -0.0016938857, 0.0042934823, -0.0256441962, 0.0141651137, 0.0036538632, 0.01303636, -0.0041140504, 0.0081394371, 0.0078581301, 0.0668921545, -0.0592987463, 0.007809557, 0.0109935189, -0.0257453471, -0.0157050919, 0.0248712245, -0.0005307817, 0.0147973569, -0.0014149527, -0.0259556919, 1.190468014e-34, 0.0238456577, -0.0110854469, -0.0061073676, 0.0920787975, 0.0551125407, 0.0188360978, 0.0077985106, 0.0068983715, 0.0396200642, -0.0556406677, -0.0184292104 ]
http://arxiv.org/abs/2402.01093v1
http://arxiv.org/pdf/2402.01093v1
Specialized Language Models with Cheap Inference from Limited Domain Data
2024-02-02T01:45:18
2024-02-02T01:45:18
David Grangier, Angelos Katharopoulos, Pierre Ablin, Awni Hannun
cs.LG
cs.LG, cs.CL
Large language models have emerged as a versatile tool but are challenging to apply to tasks lacking large inference budgets and large in-domain training sets. This work formalizes these constraints and distinguishes four important variables: the pretraining budget (for training before the target domain is known), the specialization budget (for training after the target domain is known), the inference budget, and the in-domain training set size. Across these settings, we compare different approaches from the machine learning literature. Limited by inference cost, we find better alternatives to the standard practice of training very large vanilla transformer models. In particular, we show that hyper-networks and mixture of experts have better perplexity for large pretraining budgets, while small models trained on importance sampled datasets are attractive for large specialization budgets.
Specialized Language Models with Cheap Inference from Limited Domain Data: Large language models have emerged as a versatile tool but are challenging to apply to tasks lacking large inference budgets and large in-domain training sets. This work formalizes these constraints and distinguishes four important variables: the pretraining budget (for training before the target domain is known), the specialization budget (for training after the target domain is known), the inference budget, and the in-domain training set size. Across these settings, we compare different approaches from the machine learning literature. Limited by inference cost, we find better alternatives to the standard practice of training very large vanilla transformer models. In particular, we show that hyper-networks and mixture of experts have better perplexity for large pretraining budgets, while small models trained on importance sampled datasets are attractive for large specialization budgets.
[ 0.0311550982, 0.068064779, 0.0044500353, 0.0241870489, -0.0194940809, 0.0086687431, 0.0122571103, -0.007608193, -0.0429445095, -0.0188867021, -0.045056656, -0.0241079442, -0.0084973397, -0.0049649635, 0.007560004, -0.0532794334, 0.0015296496, -0.0213460345, -0.0242277011, -0.0117519405, -0.0135173136, 0.0312511623, -0.0085012484, 0.0356137492, -0.0000261782, 0.0154729821, -0.0222087093, 0.0144325551, 0.0002899971, 0.0042948849, -0.0053684846, 0.0615360141, 0.0446926244, 0.0288058873, 0.0000018459, -0.033496324, -0.0483530089, -0.0211710688, -0.032043431, -0.0156031372, 0.0343140773, -0.063434951, 0.020318184, 0.016807517, -0.0219510831, -0.0674657598, 0.0809777752, 0.0573439039, 0.0312110875, 0.0844595656, -0.0124247484, -0.0272199549, 0.0148243504, -0.0730405226, -0.0329545178, -0.0657140985, -0.0001834315, -0.0042833555, -0.029424049, 0.0039525321, -0.0165481605, 0.0145563018, 0.0420433953, 0.0386080667, -0.0294723324, 0.0248346049, -0.0368280225, -0.0120201921, 0.0021071285, 0.0544885434, -0.067139037, -0.0188926738, 0.0024791837, -0.0075230123, -0.0058387625, 0.0305279195, -0.0072919689, 0.0400638394, 0.0107474811, 0.0091534881, 0.0149507504, 0.0144732734, 0.0433820561, 0.0104555236, -0.0793006271, 0.0162311532, 0.0158045255, 0.016826991, -0.0143636977, -0.0057928632, -0.0840996802, -0.0321583934, -0.0328992195, 0.0208154749, 0.0146845253, 0.0052669635, -0.0561433062, -0.0538456105, -0.0256536044, 0.0357765257, 0.0144987274, 0.0088431723, 0.0021694507, 0.0617356263, -0.0004477025, 0.0113031808, -0.0485193543, 0.0093319826, -0.0260934923, -0.0313566178, -0.0269864909, -0.0065589603, -0.0758325011, 0.0209794007, -0.0163554009, -0.0091101304, -0.012873061, -0.0080821449, 0.0021687404, -0.0081469519, 0.0188937839, -0.0014276309, -0.0766641945, -0.0569429249, 0.0373627841, 0.0575209819, -0.0015442489, 0.050099995, -0.0071453997, -0.0395330936, -0.0219835602, 0.0492859557, 0.0198172592, -0.0218204278, 0.0276184678, 0.0967281982, -0.0121927923, -0.0538945906, -0.025848154, 0.0210395753, -0.002276242, -0.0778991282, 0.0102255028, -0.0814772099, 0.0223385468, 0.0105550326, 0.0134697417, -0.0411964655, 0.0062328079, -0.0173168518, -0.016211126, 0.0816977769, -0.0020703392, 0.0247163493, 0.0065642814, -0.0185100548, -0.0265760552, 0.0763707235, 0.0113210771, -0.0253721792, 0.0202195607, -0.0203443449, 0.0249252617, 0.043058034, 0.0104744425, 0.0126727512, -0.0247274563, -0.017013846, -0.0404366478, -0.0111751296, 0.0182021353, 0.0369747728, -0.036796283, 0.0039490722, 0.0495297089, 0.0446851514, -0.0014283594, 0.009443976, 0.0500269718, 0.0272055082, -0.0111624105, -0.0141494526, -0.0574480407, -0.0119352546, 0.0048231711, -0.0052616601, -0.0139154689, 0.0216525514, -0.0651282445, -0.0358483903, 0.0261400323, -0.0429715067, 0.0020163893, 0.0204109568, 0.1136653721, 0.0464915819, -0.0193312597, 0.0963243395, 0.0344458185, -0.0200797208, 0.0029862972, -0.0400788561, -0.0087562297, 0.0205279179, 0.0061329524, -0.0454966091, -0.009135806, -0.0245019272, 0.0327641703, 0.0077615338, 0.0183908083, 0.0114516551, 0.0408705436, -0.0558927134, 0.0120067159, -0.0050535556, 0.0607766658, 0.0192709118, 0.0247621909, -0.0075042313, 0.0367510207, -0.0741211101, 0.0071455576, 0.0072349999, -0.0366721302, 0.0105412006, 0.0090312408, 0.0380939096, 0.0242202152, 0.0001156349, -0.0366430171, 0.0034289917, 0.0055442839, -0.0448965579, -0.0182790104, -0.0075758537, -0.0027201201, -0.0484705083, 0.0213874672, -0.073814556, 0.005639791, 0.0525422283, -0.0489825532, -0.0346059278, 0.0175788216, -0.0325667076, 0.0632667318, -0.0426373594, 0.0212362837, -0.0015757908, 0.0243177954, -0.0507021807, 0.0457413606, -0.0048273569, 0.0293769315, -0.0088342857, -0.0190709401, 0.0220618267, -0.0309781116, -0.0542330295, -0.009051159, -0.0141018452, 0.0284226462, -0.0156173976, -0.0013151104, 0.0199702494, -0.0402387902, -0.0637065023, -0.0328755081, -0.0648834631, -0.0062744254, 0.0102213556, 0.0409050956, 0.0078948149, -0.0137227392, -0.0134530151, -0.0074143796, 0.00659345, 0.0039938688, 0.0061279307, 0.0070780022, -0.0265008435, -0.0132692987, -0.0415492207, 0.0108444458, 0.0815636069, -0.0033825266, 0.0023595893, -0.0433734804, 0.0140345618, -0.0055282502, 0.0555698052, -0.0251818001, -0.044956103, -0.0188791305, -0.0421062335, 0.0241299681, 0.0441025048, -0.0079363883, -0.0154658919, 0.0114960885, 0.0327360369, -0.045887351, -0.0008395515, -0.0537160486, -0.0335562937, -0.0396765135, 0.0052752001, -0.0003305425, 0.0647343621, -0.0238337014, -0.0314458422, -0.0370533355, 0.0281441044, 0.0083973221, -0.0087768342, 0.0334866904, 0.0282592755, 0.0352133177, 0.0551054627, -0.0182253662, -0.0375624448, 0.0749103129, -0.0060773706, 0.0078748437, -0.0593502037, -0.0334963463, -0.0531084575, 0.0457668304, 0.0079118712, 0.0179761816, 0.0325757153, -0.0395831019, -0.0596456081, 0.008049977, 0.0105646765, -0.0019704404, 0.1019373462, -0.0150105143, 0.0323059857, -0.0152738625, -0.048926957, -0.0375248156, -0.0628105104, -0.0453897081, 0.0018557033, 0.0202933773, -0.0254479032, -0.0495950654, 0.0470048338, -0.0121518411, 0.0891453251, 0.0023348723, 0.0177783873, -0.022200549, 0.0423879921, 0.0216386132, -0.0023774768, 0.0041156411, -0.0382908881, 0.0173248611, 0.0148548288, 0.0111241769, -0.003188127, -0.0421699099, -0.0054649934, 0.0257975385, -0.0043439516, -0.0149469469, 0.001134631, 0.03988396, -0.0235997196, -0.0180748943, 0.1160196066, -0.0002456296, -0.0576505698, 0.0086850962, 0.0335663892, 0.0194214284, 0.0172812678, 0.0265844632, -0.080179669, -0.0173694976, 0.0147916824, 0.0050477264, 0.0175090842, -0.015483127, 0.0045040981, -0.1237997934, 0.0236419551, -0.002137163, -0.0423434675, -0.0454935431, -0.0244332235, 0.0053931689, -0.0261937995, 0.0018214581, -0.0291482136, 0.009755509, -0.0414914414, 0.0205311868, 0.0123175634, -0.0783237293, 0.0122178299, -0.0444279052, 0.0065238159, 0.0089732567, -0.0173717979, -0.0180321038, -0.0249871481, 0.0367034264, 0.0255418774, -0.0185235534, 0.0078062792, 0.0659370944, 0.0188961513, -0.0412059575, 0.0380707048, 0.054611776, -0.038948372, 0.0095876791, -0.0023557593, 0.0523772277, -0.0369223952, -0.0036692289, 0.0211437549, -0.0235288572, 0.0166518837, 0.0564641021, 0.0072323959, -0.0632526278, 0.0166648086, -0.0001831297, -0.0005172427, -0.0316628516, -0.0047505172, 0.0204093717, 0.0278577544, -0.0876871273, -0.0367779173, 0.0060723932, 0.0210045539, 0.0573341697, 0.0114247575, -0.0186422523, 0.0386568196, 0.0308966022, -0.0645852834, 0.0704038516, -0.0460149944, 0.0059964485, -0.059198603, 0.002620236, 0.0670305863, -0.0159769841, -0.0269115008, -0.0172441341, -0.0610338189, -0.0578065217, -0.0310735703, 0.0406470634, 0.0294514578, 0.0406247266, -0.0240290444, -0.043301031, -0.0105426377, 0.0246485751, -0.0455673784, -0.0110017881, 0.0659784004, -0.0385055505, -0.0043831333, 0.0579022951, -0.0233715698, 0.0670972914, 0.0542863458, -0.0037358017, -0.0257167332, -0.0125140613, 0.0170480274, -0.0301526748, 0.0636202693, 0.0016933581, 0.0412445478, -0.019490689, 0.0163160898, -0.0056764423, -0.025065342, -0.0615944155, -0.0184476841, 0.0482553467, 0.0379495956, -0.0170770772, -0.0173358116, 0.0107958214, 0.0500538461, -0.0016318042, 0.0152645744, -0.0094037671, -0.0268591866, 0.0499471761, -0.006266485, -0.0212605353, -0.0128264455, 0.0204063263, 0.0008382234, -0.0091421297, 0.0277439225, 0.0179817844, -0.0064288354, -0.0770489126, -0.0007344294, -0.0525215864, -0.0612231754, -0.0063622198, 0.0004691967, 0.0640029609, -0.0427677706, 0.0072496831, -0.0034921088, -0.0053697149, -0.0323080644, 0.0348194391, 0.0171928126, -0.0101452693, 0.0178701282, 0.0340531953, -0.0146405818, 0.0500896983, 0.1039423719, 0.0287126843, 0.0400211252, 0.0137417391, 0.0109581398, -0.0453152843, -0.0032064233, 0.0048492812, 0.0400910713, -0.0191016663, 0.0319552161, -0.0303627476, -0.0957635269, 0.0125625972, -0.034766376, -0.020132754, 0.006519414, 0.0314787291, 0.0498037226, -0.0456739478, -0.0112695843, -0.0334896073, 0.0171280783, 0.0469590798, -0.0141411684, -0.0283042733, -6.148502548e-33, 0.0300832093, 0.0084445318, -0.0136711197, -0.0176248848, 0.0141766006, 0.0101241814, -0.0207564514, 0.0237959642, -0.0355004296, 0.0111922473, -0.0188830569, 0.0163649749, 0.0121316193, 0.0574254543, -0.016407812, 0.0020795106, 0.0570862517, 0.0160348918, -0.0098876329, 0.0020981634, 0.0040309518, 0.0184692685, 0.0834413692, -0.0777383223, -0.0532371476, -0.0046293051, -0.0127413115, 0.0525714979, 0.0183699783, 0.0245443135, 0.0208880305, 0.0341634117, 0.0257509649, -0.0930782408, -0.0058119851, 0.0053300178, -0.0740179792, -0.0031417301, -0.0039925319, 0.0053987605, 0.018705897, -0.0244388431, 0.0608436763, 0.0022866053, 0.0236582421, -0.0174136087, 0.0237823706, -0.0203899201, 0.0007401612, -0.0111703584, -0.0315767415, 0.0472865924, 0.0062562716, -0.0165944714, 0.0118622547, 0.0423796512, -0.0149609772, 0.0116444053, -0.0207389016, 0.0159694254, 0.0403148793, 0.0318664797, 0.0320657939, 0.0424271896, -0.0111145815, 0.0232300609, 0.0284849126, 0.0171914976, 0.0094530545, 0.0144725377, 0.0524360165, 0.0630119517, 0.0309077278, 0.0268542394, 0.0218448676, -0.0010590209, -0.0796160921, -0.0355104282, -0.0192106031, 0.0161926821, 0.0443358943, -0.0072184275, -0.0448563658, -0.0196641758, -0.0449792817, -0.0029866786, -0.0195201095, -0.0077149635, -0.0072977217, 0.0512553193, -0.0332547277, 0.0140968896, 0.0426722541, -0.0718989521, -0.0269996542, 0.0281639416, 0.01749295, 0.0353786908, -0.0258058086, 0.0079759443, -0.0282215159, -0.0352965891, -0.0090480857, 0.0092325406, -0.0088272607, -0.0218544174, 0.0556018464, 0.00690324, -0.0735001191, -0.0325380005, -0.0055154706, 0.0176902302, 0.0018364872, 0.1119986326, 0.0447250307, 0.0251846854, -0.0207799617, 0.018440051, 0.0088499244, -0.0435481891, 0.0040433221, 0.0521602333, 0.027071232, 0.0264793076, -0.0190026034, -0.0266360622, -0.041713383, -0.0395025909, 0.0353561528, -0.060471382, -0.0183016043, 0.0109611498, 2.6e-7, 0.0318769552, 0.0069779572, 0.0099682352, -0.0129832933, 0.0318530761, 0.0134098828, 0.0249742158, -0.0146987233, -0.0185146648, -0.0105855679, 0.0317969136, 0.0384984873, 0.0419255868, 0.0005274002, -0.1146412417, -0.0362123661, 0.0002836859, 0.0174779948, -0.0190480594, -0.0148016615, 0.0102584288, 0.1665715277, 0.0316052921, -0.0055342787, 0.0001876637, -0.0427894369, 0.0458563231, -0.0137171373, 0.0193052441, 0.0532008111, 0.0167577136, 0.0719119385, -0.0026285884, 0.0394444466, 0.0079886075, 0.0501617976, 0.0393030643, 0.0787680224, -0.010348428, -0.0114741502, 0.0113502722, -0.0007684203, -0.0323072076, -0.0342268758, 0.0592869408, -0.1359159499, -0.0259815603, -0.0223662648, -0.0251784828, -0.00362307, -0.0122069083, 0.0010858412, -0.0021609154, 0.0395017155, 0.0381465144, -0.0148683898, 0.0101495069, -0.0683672354, 0.0068823565, 0.020779334, -0.0755773559, -0.0215797536, 0.0031666148, -0.0348058306, 0.0549951829, -0.0190746486, 0.0401211679, 2.425168824e-34, 0.0610243753, -0.021728497, -0.011820511, 0.0161138475, 0.0043638228, -0.0267084613, -0.0260888897, -0.016657697, 0.0139080463, -0.1035872176, 0.0075218738 ]
http://arxiv.org/abs/2402.01091v1
http://arxiv.org/pdf/2402.01091v1
Reading Between the Tweets: Deciphering Ideological Stances of Interconnected Mixed-Ideology Communities
2024-02-02T01:39:00
2024-02-02T01:39:00
Zihao He, Ashwin Rao, Siyi Guo, Negar Mokhberian, Kristina Lerman
cs.CL
cs.CL, cs.CY, cs.SI
Recent advances in NLP have improved our ability to understand the nuanced worldviews of online communities. Existing research focused on probing ideological stances treats liberals and conservatives as separate groups. However, this fails to account for the nuanced views of the organically formed online communities and the connections between them. In this paper, we study discussions of the 2020 U.S. election on Twitter to identify complex interacting communities. Capitalizing on this interconnectedness, we introduce a novel approach that harnesses message passing when finetuning language models (LMs) to probe the nuanced ideologies of these communities. By comparing the responses generated by LMs and real-world survey results, our method shows higher alignment than existing baselines, highlighting the potential of using LMs in revealing complex ideologies within and across interconnected mixed-ideology communities.
Reading Between the Tweets: Deciphering Ideological Stances of Interconnected Mixed-Ideology Communities: Recent advances in NLP have improved our ability to understand the nuanced worldviews of online communities. Existing research focused on probing ideological stances treats liberals and conservatives as separate groups. However, this fails to account for the nuanced views of the organically formed online communities and the connections between them. In this paper, we study discussions of the 2020 U.S. election on Twitter to identify complex interacting communities. Capitalizing on this interconnectedness, we introduce a novel approach that harnesses message passing when finetuning language models (LMs) to probe the nuanced ideologies of these communities. By comparing the responses generated by LMs and real-world survey results, our method shows higher alignment than existing baselines, highlighting the potential of using LMs in revealing complex ideologies within and across interconnected mixed-ideology communities.
[ 0.027249923, 0.0502380542, -0.0080502043, 0.0533032082, -0.0472298376, 0.0089585325, -0.0366451219, -0.0087475087, 0.006807331, -0.0422234461, 0.0235186499, -0.0174020622, -0.0083269589, -0.0023341661, -0.0103199324, -0.0571155846, 0.0325362906, 0.0302261543, 0.0441427566, -0.0413766652, 0.0634705275, 0.0407794267, 0.0096511077, 0.0274269972, -0.0028823751, -0.0283084046, 0.0076614758, 0.020550942, 0.0588494428, 0.0331346504, 0.0439518876, 0.0336643644, -0.028826585, 0.0618714988, 0.000001738, -0.0024812203, -0.0422227457, -0.0431698821, 0.0443662107, 0.0000269072, 0.1022434831, -0.0037702553, 0.021312708, 0.0182825308, -0.0456998162, 0.0391369276, 0.0490483642, 0.0399580412, 0.0604273304, 0.0421242565, -0.0123728067, -0.0337070264, -0.0163202584, -0.0097420234, -0.0468035713, -0.0365092382, 0.0636425167, -0.0355073325, -0.0555256158, 0.0380485654, -0.0154537167, 0.0448012687, -0.0063105104, 0.0061373706, -0.0268970691, -0.0054839794, 0.0100138215, -0.0108923586, 0.0206825733, 0.0639907271, 0.0008865933, -0.0119400481, 0.05789667, -0.0291704535, -0.0468147211, 0.0471688323, -0.0677024871, -0.0239131358, -0.0324295685, 0.0443896428, 0.0496185161, -0.0009653439, 0.0239761733, 0.0490363613, -0.0523395725, 0.0921018645, -0.0149280168, 0.0051610218, -0.026851112, 0.0288671609, -0.0091633527, 0.0059949504, 0.0259796958, -0.0255187899, 0.029674761, 0.0132886022, -0.0394051112, 0.0211022291, 0.0074210134, -0.0364317037, -0.0048901346, -0.0165342726, 0.009839992, 0.0653228462, 0.034010496, -0.0607346706, -0.0300587751, 0.0044151712, 0.019567417, -0.0277604889, -0.033306431, -0.0165677909, 0.0067149526, 0.0121499728, -0.0170100201, -0.0063009071, -0.0076180287, -0.0139691103, -0.0583896749, -0.0280156005, -0.0380367599, -0.0197343659, 0.0314685367, -0.031772688, -0.0181932282, 0.0660719797, -0.0640770197, 0.0209479611, -0.0309915971, -0.0300901663, 0.0190088209, 0.0409177057, 0.0179079734, -0.0430100001, -0.0286977552, 0.0085203424, 0.0169442389, -0.0040146601, 0.0213395022, -0.0366732851, -0.0189845916, -0.0257812012, 0.0230254382, -0.0804748908, 0.0676853359, 0.0158904009, 0.0149232326, -0.0537391491, 0.0018538651, 0.0420076996, -0.0785055682, 0.0448251925, 0.0242934395, 0.030543562, 0.0222219024, 0.0127986129, 0.0471751094, 0.094744876, -0.0054215128, 0.0176743884, 0.0437874645, 0.0060515385, -0.0167755913, 0.0416538455, -0.0000889751, 0.0165939759, -0.0274007041, 0.0082292883, -0.0323448479, -0.0258886311, -0.0034368848, 0.0843227133, 0.0130250724, -0.028489178, 0.0352401286, 0.0537008755, -0.0097191604, -0.0166815016, 0.0288290605, 0.0391606577, -0.00679196, 0.0326493941, 0.013410476, -0.0069903927, -0.0107571557, -0.0508416928, 0.0730394647, 0.0444418117, -0.0177093111, -0.0107320733, -0.0037988436, 0.0055788867, 0.0365132764, -0.0366354808, 0.0228773747, -0.0514696427, -0.0085344967, 0.0237569902, 0.0497763529, -0.0074499357, 0.0019177889, -0.0374248065, -0.0175422486, 0.0430246703, 0.0008747593, 0.0004130678, 0.0012775421, -0.0194268934, 0.0888359994, 0.0477947034, 0.0541648827, -0.021945972, -0.046467986, -0.0183722842, 0.0301316287, 0.0357352272, 0.0051699267, 0.0366287306, 0.0204796214, 0.0048687267, -0.0166743286, 0.0266709272, 0.0199057255, 0.0100433677, 0.0111311777, 0.0302209966, 0.0005060389, 0.0126463156, 0.0094511369, 0.0353495963, -0.0123076979, -0.0273878295, 0.0181063637, -0.0166013669, -0.0530684702, -0.0000067831, -0.0416997634, 0.023060685, 0.0196673945, -0.0421499871, -0.0264130123, 0.026891252, -0.005055469, 0.0061513027, 0.0779756904, 0.0054348027, -0.0114380103, -0.0015191978, -0.014762491, -0.0461617485, -0.0153414207, -0.0554401278, 0.056756191, -0.0190040804, 0.0272210408, -0.0067074383, -0.0863184556, 0.0135308839, 0.0225716159, -0.0140571306, 0.0139508881, 0.0018457263, 0.0089524258, 0.0386239514, -0.0469925366, -0.0207571331, -0.0587593801, -0.0293406937, -0.015785072, -0.0167834628, 0.0213565845, 0.0363476649, -0.0117495703, 0.0192691498, 0.0579115786, -0.0063589625, -0.0069205789, -0.0090772053, 0.0129422331, 0.0330704711, 0.0003666365, -0.0043941233, -0.0402990505, -0.0258714054, -0.0406621546, 0.0340224057, 0.0033659635, -0.0770702213, 0.0032406405, -0.0401260704, -0.0450013764, -0.0181502067, -0.052463375, -0.0343517773, 0.02000097, -0.0216213893, 0.048052635, 0.0368758477, 0.0403935499, 0.0530217774, -0.001234396, 0.0025618677, -0.0340357199, -0.0251490474, -0.0490801595, 0.0155614503, -0.041620072, -0.0334543996, 0.0018537322, 0.1082172915, 0.0112815704, -0.0074352561, -0.063223362, 0.0562098995, -0.0599962287, -0.0102835158, 0.0219106916, -0.0016328472, 0.0067696827, 0.0063522514, -0.0086068101, -0.0031783187, 0.0251685828, 0.0131424116, 0.0482394993, -0.0001429238, -0.0462019853, -0.0128168371, 0.0111074531, 0.00030175, 0.005302188, 0.0126372697, -0.0045009847, -0.0158076044, -0.0265656225, 0.0460753851, -0.0441967361, 0.0450523719, -0.0186188072, 0.0413291976, 0.0157302972, 0.0106308162, -0.0006189161, -0.0799623951, -0.0467280485, -0.0095847277, 0.0535220578, -0.0246837437, 0.0043051504, 0.0428388119, 0.012692715, -0.0778614432, -0.006481376, 0.0091221053, 0.0030966268, 0.0405905209, 0.0166664794, -0.0319778286, 0.0381482728, -0.0129511189, -0.0144620854, 0.0564155281, 0.0158963278, 0.0343582481, -0.0061588991, -0.0757210553, 0.0081315245, -0.0200832542, -0.0076987152, -0.0378387161, 0.0804727003, -0.0111685703, 0.0236657094, 0.0776331127, 0.0538663603, -0.0113746375, -0.0153826093, 0.0169678517, 0.0105053866, 0.0084865913, -0.0031073429, -0.0947353691, 0.0088606905, 0.0118853198, 0.0129285539, -0.0410134494, -0.0614565499, -0.0008470256, -0.071639657, -0.0275468044, 0.011605625, 0.0189559888, -0.0355278067, -0.0472450852, 0.0515558012, 0.0020739369, -0.0521602295, -0.0277601276, 0.0066365739, 0.0223587342, 0.0009128844, -0.0769698396, -0.0489117391, 0.0185668934, -0.0162011627, 0.0382858589, -0.0084034931, 0.048873309, 0.0172360744, 0.0088504627, 0.0716255978, -0.0765776113, -0.0248217955, -0.0465431735, 0.0351804346, -0.0297879092, -0.0103013236, -0.0043103285, 0.0338453837, -0.0053091971, -0.0065772478, -0.0353267416, 0.0461128727, -0.0059215096, -0.0597452931, -0.0031167537, 0.0600561984, 0.0458624177, 0.0449146293, 0.0414106622, -0.0245878715, 0.0049304538, -0.0606392622, 0.0278600194, -0.0173272323, -0.0665506423, -0.0498713441, 0.0051346598, -0.0051766019, -0.0450981855, -0.0585606657, 0.0217214096, -0.0013271533, -0.0229996592, -0.0075494773, 0.0445420854, -0.0284434743, -0.0205664039, 0.0173135363, -0.0473010205, 0.0453601852, 0.003643488, -0.0400144868, -0.0015903633, 0.0277408995, -0.0451406054, 0.0192086063, -0.08616741, -0.0852854773, 0.0365494713, -0.0166813936, 0.023126265, -0.001432022, -0.0568604805, -0.0370515771, -0.0176580921, 0.0669508576, -0.0341218933, -0.0040416266, 0.0369252115, 0.0546051897, 0.0371696763, 0.0495632216, 0.0101169171, 0.0064490251, 0.0212501399, -0.0248452425, -0.0908293352, -0.0624707527, -0.0147563154, -0.0050072279, 0.0471664108, 0.0584608577, -0.0793817937, -0.0441254936, -0.053410247, -0.0486553982, -0.0452001095, 0.000235606, -0.0220470391, 0.0267192684, 0.0058980538, -0.0714089945, 0.0361141041, -0.0132785225, 0.0492194593, -0.0524170883, 0.033436574, -0.0287524723, 0.0190633517, 0.0188580342, -0.0029078741, 0.0089429356, 0.0181936324, -0.0283578075, 0.027874032, -0.0051612412, 0.0259705558, 0.0119368555, -0.0149044627, 0.0270690303, -0.0197294839, -0.0471236184, -0.0681613684, -0.0047462373, 0.0437816307, -0.0074835187, 0.0088292994, 0.0557802133, 0.0222052205, -0.0261774343, -0.0276198089, 0.0399337076, 0.0078200893, -0.0273380894, 0.01331353, 0.0231812447, -0.0423278399, 0.0056447969, 0.0571635813, -0.0504653193, 0.0169817228, 0.0616366826, -0.0002852755, -0.0152821466, -0.0117123164, -0.0097571695, 0.0220211633, 0.0020689163, 0.0134381093, -0.0396535769, -0.0459558554, 0.0685417876, -0.0331791788, 0.0075206147, 0.0220975336, -0.0187704973, 0.0716715828, 0.0127392802, 0.0588818602, -0.0657297075, 0.015710799, -0.0353805833, -0.0427031852, -0.0015707377, -6.70995318e-33, 0.0004660148, -0.0350155681, -0.0229486059, -0.008919118, -0.0272269882, -0.0099514583, -0.0165592376, 0.0530525185, -0.0241720676, 0.0222670659, 0.0153952846, 0.0476213731, 0.0169103127, 0.0299165174, -0.0099733341, -0.0198809952, -0.011057076, 0.0074121808, 0.0154504534, 0.0306752454, 0.020852115, 0.0049053067, 0.0151776578, -0.0846979171, 0.0444413349, -0.0117997276, 0.0074296128, 0.0098944679, 0.0256947502, -0.0054508336, -0.0394869447, 0.0131775131, 0.0526118204, -0.0162795726, 0.0190868489, 0.0796159878, -0.0273846574, -0.0268415734, 0.0210988577, -0.0199817363, 0.0016754707, -0.0270831697, 0.0358758569, 0.0022474697, 0.0051051276, -0.0106269214, 0.0496907867, 0.0100817522, 0.0404085778, -0.0333807357, -0.0453197137, 0.0558565035, -0.0339373425, -0.0008062145, -0.0144294146, 0.0185229685, 0.0632001609, 0.0888655931, -0.046143312, 0.0229691789, -0.0566240288, 0.011577555, -0.0022567674, -0.0388960354, -0.0058584479, 0.0640913472, -0.0346872285, 0.0383486226, -0.0418727249, 0.0103828721, 0.0302168187, -0.017289741, 0.057095632, 0.0613885559, -0.0218594614, -0.0496935882, -0.0472468324, -0.015218067, 0.0569905043, -0.0189747289, 0.0405338518, -0.0123313004, -0.0132844392, -0.0155721055, -0.0163461473, -0.0760186389, -0.0295581911, -0.011433119, -0.0460682474, -0.0030909488, -0.0605517216, 0.0197654031, 0.0365879126, -0.0341226384, -0.0619517863, 0.0326099433, -0.0211795103, 0.0203299597, 0.0021182352, 0.0584034771, -0.0471872576, -0.013055115, -0.0169155262, -0.0070429007, 0.0202635899, -0.0397566967, 0.0165559892, -0.0003902107, -0.0816664025, -0.02664987, -0.0191655438, -0.0022581227, -0.0401136503, 0.01636458, 0.0541947596, 0.0598839223, 0.0161212087, 0.0302271899, 0.0448886342, 0.0061083422, 0.0210727155, -0.0048203431, -0.0701174587, 0.0024363142, -0.0313827433, -0.0448544435, -0.0349500738, 0.027695898, 0.0040742252, -0.0428884849, -0.0172739774, -0.0177385397, 2.519e-7, 0.0721696168, 0.076487489, -0.0054062791, 0.022710206, 0.0022513091, 0.0093431445, 0.0533202402, 0.0003952988, -0.0445797034, -0.0675586313, -0.0345575809, 0.0650793985, 0.0430326648, 0.0034747636, -0.0457052514, 0.0194345396, -0.0158827193, 0.0157414824, -0.0288799293, -0.0011906201, 0.0065234099, 0.0356189832, 0.0476498976, 0.0383703336, -0.0246669576, -0.0132808881, 0.0655877963, -0.0393159762, -0.0425194204, 0.0349632055, 0.0142570306, -0.0793551207, 0.018803671, 0.0334888771, 0.024507232, -0.0034181757, 0.0110205933, 0.0586227216, 0.0329653136, -0.0139460415, -0.01365087, -0.0228959229, 0.0016068399, -0.0403860584, 0.0737867132, -0.0989233106, -0.0308465976, -0.0830567181, -0.0265895575, -0.0040894109, 0.0208170954, 0.0018693166, -0.0418366231, 0.0339367203, -0.0149967847, 0.0027451145, -0.007627768, -0.0748786628, 0.0214406289, -0.0080811735, -0.0525324456, -0.0387657322, 0.0025472455, -0.0166222434, 0.0568996109, 0.0165436734, 0.0204704218, 1.859235219e-34, 0.0372105129, -0.0175963975, -0.026381338, -0.0098899668, 0.0524273217, 0.010168843, -0.0495293438, 0.0184705947, 0.0093231257, -0.0596558377, 0.0005026775 ]
http://arxiv.org/abs/2402.01065v1
http://arxiv.org/pdf/2402.01065v1
Evaluation Methodology for Large Language Models for Multilingual Document Question and Answer
2024-02-01T23:46:05
2024-02-01T23:46:05
Adar Kahana, Jaya Susan Mathew, Said Bleik, Jeremy Reynolds, Oren Elisha
cs.CL
cs.CL, cs.AI
With the widespread adoption of Large Language Models (LLMs), in this paper we investigate the multilingual capability of these models. Our preliminary results show that, translating the native language context, question and answer into a high resource language produced the best results.
Evaluation Methodology for Large Language Models for Multilingual Document Question and Answer: With the widespread adoption of Large Language Models (LLMs), in this paper we investigate the multilingual capability of these models. Our preliminary results show that, translating the native language context, question and answer into a high resource language produced the best results.
[ 0.0494856872, 0.0018480358, -0.0039560432, 0.0650831386, -0.0469229408, 0.0264483523, 0.0355421752, 0.0006605303, -0.0010371732, -0.0584950298, -0.0591947995, -0.0472965576, -0.036297746, -0.0113794822, 0.0147299636, -0.0333666131, 0.0083473306, -0.0606536902, -0.0032178357, -0.0225877445, 0.0258316807, 0.03209389, 0.0329475403, 0.0033410259, 0.0079012159, -0.0278478451, 0.0244542845, 0.0062173628, -0.0005837365, -0.0364860222, -0.009124266, 0.0277203284, -0.0010860999, 0.0270338133, 0.0000015601, -0.0511039421, -0.0028231211, 0.0333289318, -0.0090024658, 0.0039116116, 0.0330819152, 0.0062560551, 0.0164213646, 0.0271610729, -0.0298468247, 0.0074626678, 0.0132905329, 0.0318339095, 0.074178271, 0.034981288, -0.0100803943, -0.0580908172, 0.031733945, -0.0008045905, 0.0236653481, -0.0595858619, 0.0010601203, 0.0752420053, 0.052015081, 0.0134829609, 0.0236725993, 0.0393037163, 0.034161862, -0.0474514626, -0.0391276106, -0.0257349424, -0.0083856741, 0.011076428, 0.0111858165, 0.0631533936, 0.0151157696, 0.0126429098, -0.0396529175, 0.0231605992, 0.0100078862, 0.037054427, -0.0656237453, 0.0070916424, 0.0009514563, -0.0204198826, 0.0625097305, 0.0073117856, 0.0155376438, 0.0129267508, -0.023873046, 0.0653088018, 0.0341565982, -0.0112858629, -0.0051772073, 0.0040808027, 0.0169154909, -0.0529455952, 0.0154466508, 0.0602755472, -0.035169486, 0.0191334356, 0.0013236782, -0.0379370674, 0.0539806522, -0.0920733362, 0.0046113324, -0.0007240599, -0.0070553771, 0.1008951515, -0.0316121913, 0.0494941771, -0.0398785435, -0.0198302642, -0.0779484585, -0.0727017522, -0.0345951281, -0.0062350607, -0.0200243518, 0.04175945, -0.0477204993, -0.0064152521, -0.0148237711, 0.0391102582, 0.0440678, 0.0092539247, 0.0214682054, -0.0344561636, -0.0104405582, -0.0458775312, -0.0244609602, 0.0547828414, -0.0382233709, -0.0067273453, -0.0151648447, -0.068830803, 0.0626200289, 0.0354365595, -0.0038615679, -0.045048479, -0.0016171689, 0.0742903501, 0.0104155922, 0.0225934759, -0.0195156913, -0.0069633848, 0.0238602385, -0.0404703878, -0.0224440601, -0.1027986929, 0.0213201884, 0.0230650436, 0.018144438, 0.0251721889, 0.0235763006, 0.0213140845, -0.0140006458, 0.0125481188, 0.012243838, 0.0252602808, 0.0851860866, -0.0114398161, 0.0356518403, 0.0819812045, -0.014528444, -0.011447873, 0.0640168265, -0.0003911296, -0.0054121139, 0.0576936603, -0.0202947203, 0.0283308625, -0.0007846353, 0.0943551287, 0.0167752691, 0.0011842033, -0.0271469336, 0.0567560345, -0.0104135973, 0.0032728345, 0.0243380442, 0.046363432, 0.0115067773, 0.0099051995, 0.0394019708, -0.0125074591, 0.0092848549, -0.0103928121, 0.0164146982, 0.0334295332, -0.0204050727, -0.0188354868, 0.0245512296, 0.0401382111, -0.0493644364, -0.0160084181, -0.0308300313, -0.0182182137, -0.0234826859, 0.013534273, 0.0352908894, -0.00517412, 0.010583546, 0.0427770838, -0.0104407966, -0.0127501478, 0.0213855952, -0.0434162356, 0.0186444856, 0.0231670346, 0.0369985625, -0.0248511862, -0.0326992869, -0.0198954288, 0.0054737632, 0.0311482437, 0.0706562325, -0.0204955116, -0.0148283383, -0.0239085648, -0.0024562853, -0.0110905068, -0.0218976289, 0.0271125473, -0.0070102843, 0.038506873, 0.0089105517, -0.0571637452, -0.049527064, -0.0074764267, -0.0308221541, -0.0115663083, 0.0120717073, 0.0040599117, 0.0002800641, 0.0491923057, -0.0020501281, 0.023489926, 0.0144061567, -0.0629132614, -0.01072287, -0.0007566179, -0.0427021161, -0.0289664306, 0.0421093702, -0.0340981856, -0.0101358118, -0.0000099056, -0.0035547686, -0.0577021949, -0.0418881476, -0.0308202878, 0.0125438133, -0.0539226122, -0.0066160052, -0.0089942096, -0.00805429, -0.0644963309, 0.0390575156, 0.0017121015, 0.0624554195, 0.027202975, -0.0002793314, 0.0532943755, -0.0306352358, -0.0415540785, 0.0804129019, -0.0013014784, 0.0084386021, 0.0318132304, 0.0335216485, -0.0378110223, -0.0411067605, -0.0696685761, -0.0167239755, -0.0295339637, 0.0375956148, 0.0355521329, 0.0211564861, 0.0138961282, -0.023520289, -0.1019836441, -0.0264206827, 0.0602261908, 0.0362122282, 0.0151278693, 0.0197677687, 0.0397869647, -0.0271739494, -0.0185260903, 0.0419589877, 0.0587485023, 0.0199296623, -0.0035607796, -0.0488346964, 0.0049661873, -0.0469430014, -0.0242955796, 0.0267811846, -0.0356588811, -0.0245980639, -0.0395513289, 0.042669557, 0.0222682208, -0.0188254565, -0.0089455377, 0.010618262, 0.0104466174, -0.0317299552, -0.005570373, 0.0187555142, -0.0437742472, -0.050268773, -0.0402130075, 0.012290623, 0.0231747869, -0.0107084597, -0.0081271436, -0.0209004041, -0.0029292512, -0.0638107508, -0.0121778361, -0.076875031, -0.0010662128, 0.0063023693, 0.053864304, 0.005938556, 0.0007852613, 0.0554267541, -0.0334762894, -0.0109633701, -0.0764783993, -0.01655728, -0.0670158267, 0.045330286, -0.035003446, 0.05081762, -0.0790700018, -0.0257568154, -0.0238482151, -0.0044257799, 0.0231976546, -0.0307884961, 0.0262389388, -0.0213709213, -0.0016238493, -0.0365587808, -0.0240992084, -0.0136723137, -0.0268393625, -0.0122900922, 0.0194770545, -0.0051167882, 0.0047077471, -0.0124560082, 0.0378985144, 0.0557849891, 0.0017401669, -0.0378717817, 0.0006640599, 0.0202315375, 0.1174942777, 0.043761272, 0.0340063535, 0.0084988475, -0.0246558413, 0.0614192858, 0.033275824, 0.0262614209, -0.0133819189, 0.018346902, -0.0260022171, 0.0484388359, -0.0224053748, -0.0480886437, -0.0221108682, 0.0490233526, -0.0588466488, -0.0034194703, 0.0984610245, 0.0560915247, -0.0545073859, -0.0439211987, -0.1025487036, -0.0147450529, 0.0301985666, 0.0738477856, -0.0673378855, 0.0164233353, -0.0299558565, -0.0303075947, 0.0253661983, 0.0123841567, 0.0237749331, -0.0971463621, 0.0114968875, -0.0299035776, -0.0635950789, -0.0138892783, -0.0293074977, -0.0286938921, 0.0192473847, 0.0046527563, 0.0151470304, 0.0074681812, -0.0095728124, 0.0008165611, -0.0134570114, -0.0142663354, 0.0306061581, -0.023490876, -0.0028331184, 0.0759056956, 0.043831028, -0.0352269076, -0.0138146691, 0.028299205, -0.0525729023, 0.0036771495, 0.0038084884, -0.0195270963, 0.0205699746, -0.0043709856, -0.0183827523, -0.008509594, -0.0241832994, 0.0366002582, 0.0512802862, 0.0896545053, -0.0198808312, 0.0205624942, -0.0150639853, -0.0187646169, 0.0077414485, 0.0611867346, 0.0072224466, -0.0405634269, -0.0199697465, -0.0327834189, -0.0438843779, -0.0251258332, 0.0016336197, 0.0252817236, 0.0021051208, 0.0206082091, -0.0817748755, -0.0498199686, 0.0060064611, 0.0065705138, 0.0023920676, 0.033557307, -0.0264104344, -0.0148476986, 0.0332361497, -0.0072486373, -0.0377219394, 0.0479432195, -0.0675467104, 0.0178140104, 0.0753269717, -0.0081963567, -0.0046345033, -0.0193425808, -0.0302040298, -0.04313761, -0.0453329273, 0.0274590421, 0.0174817406, -0.0149496272, -0.0581465662, -0.056037508, 0.016972499, -0.0342528224, -0.0368623957, -0.0067754872, 0.0099636428, 0.045049198, -0.0194711685, 0.0527357087, -0.0685640424, 0.0187791437, -0.0003776865, 0.0397118591, -0.0154524185, -0.0697840303, 0.0033312219, 0.0715378895, -0.0564680472, 0.0215123575, -0.0021116792, -0.0116302082, 0.0424088649, -0.0544853099, -0.0248073526, -0.0248919018, 0.0300448369, 0.0495378114, -0.0385024138, 0.0144780232, 0.0230525956, 0.0067303344, 0.0017238752, -0.0154669257, 0.0473792329, 0.0449228249, 0.0017824991, 0.0008318709, 0.031445682, -0.0472647436, -0.018063046, -0.0104306843, 0.0196906626, -0.0166596361, 0.0809754953, -0.0161518063, -0.0354852639, 0.0253448058, 0.0176809877, -0.0391208604, -0.074571304, 0.0008571524, 0.0100616338, 0.067557916, 0.0169982314, 0.0465878509, 0.0061044595, -0.0307206642, -0.0255151279, 0.0295038819, 0.0527080223, -0.0460337587, 0.0723536685, 0.0180300847, -0.0077794977, 0.0085309753, 0.0667664707, -0.0106091266, -0.026150357, 0.0164653212, -0.0017343266, -0.0434987731, 0.0025981176, 0.0045280191, -0.0014266617, -0.0278088339, 0.0295009967, -0.0269095134, -0.0535454415, -0.0088608228, 0.0200785901, -0.0156162195, 0.0050408235, 0.0214133803, 0.0925712585, 0.0406935737, 0.0158577226, -0.0829313025, 0.0393137187, -0.0565444082, -0.0055781151, 0.0091037052, -5.567314631e-33, -0.01558246, -0.0193026178, 0.0232903846, -0.0310564507, 0.0101910206, 0.0003750185, -0.0190184917, -0.0018027043, -0.0364273041, 0.0044871978, -0.0328695141, -0.0046933857, 0.0082583549, 0.0229768567, -0.010708754, -0.0207972564, 0.0012454418, -0.0009079247, 0.0084969858, 0.0356020667, 0.013854051, 0.0091650141, 0.0625665411, -0.0458116792, 0.0554876477, -0.0502688363, 0.0096088247, 0.0325725861, 0.004388981, 0.0863468125, -0.0208263621, 0.0182294454, 0.0527365208, -0.0579808243, -0.0051799389, 0.0032368968, -0.0312398151, -0.0217502303, 0.0427370481, 0.0106818229, -0.0412642285, -0.0336383954, -0.0094236862, -0.0082138143, 0.0338450968, 0.0119522819, 0.0327501521, -0.0383755341, -0.0093115028, -0.0116398595, -0.0587606244, 0.0286007896, 0.0238879845, 0.0432349183, -0.0101813963, 0.0671883076, -0.0399441905, 0.0069295382, -0.0237273034, 0.0010287329, 0.0067661526, 0.0298807342, 0.0494156145, -0.0035065329, -0.0153806666, 0.0034987261, -0.031969402, 0.0179937948, 0.0260945503, 0.0059357681, -0.0284265485, 0.0209698156, 0.07547196, 0.0807021037, -0.0345546305, 0.0278134886, -0.0745968074, 0.0619733296, 0.0112764416, 0.0381799899, 0.0190789346, -0.0057169218, 0.0184385162, 0.00786791, -0.060761556, 0.030455729, -0.0528899804, -0.0376786068, 0.0239240993, -0.0406093784, -0.0013753744, 0.0034395743, 0.0822196007, -0.0304029062, -0.0311911907, 0.0496384054, 0.0068153357, 0.0246082079, 0.0055208635, 0.0727562308, -0.0369120352, 0.0141668217, -0.0377356485, -0.0298437923, -0.0224843808, 0.0014804286, 0.0050483793, -0.0224219896, -0.0635079816, 0.0025012426, -0.023595741, -0.0080662919, -0.0249841865, 0.0417886525, -0.0122142425, -0.0338894315, 0.0003013999, 0.0828406364, 0.0018791953, -0.0228448622, -0.0374138728, -0.0451556183, 0.0195114464, 0.0104501154, -0.0513494611, 0.0319300368, -0.0356210433, 0.0329268239, 0.015383373, -0.0162035208, -0.0049498258, 0.0063374783, 2.247e-7, 0.0644853041, 0.0067247711, -0.0222029909, 0.0187002905, 0.0422208942, -0.0021719404, -0.0157620758, 0.0235774964, 0.0388109088, 0.0319512524, -0.0200298075, 0.0052408483, 0.0532683432, 0.050765492, -0.0874197856, -0.0154802427, -0.0636145547, -0.0001484814, -0.0336719714, 0.0059807212, 0.0216545686, 0.0794349238, -0.0401790552, 0.0067928773, -0.0605657175, -0.0665814653, 0.0503026098, -0.0291416086, -0.0493675917, 0.0327462405, 0.0379451178, 0.0214336999, 0.0245016906, -0.0090974253, -0.007303806, -0.0003496837, 0.0622897707, 0.0539360158, 0.0035612669, -0.0227716099, 0.020259833, -0.0339177139, 0.0036232383, -0.0858131945, 0.0715584084, 0.0042894916, -0.032201048, -0.0159946233, -0.0046873223, -0.0329791456, 0.0421087444, -0.0584904328, -0.0263937134, 0.0248045344, 0.021135943, -0.0259826928, 0.0020664968, -0.0154095516, -0.0278189145, 0.0133543322, -0.0137910787, -0.0620967969, -0.0175297093, -0.0209052414, -0.0275844149, -0.0201132596, 0.0231815819, 1.456514642e-34, 0.0359169133, -0.004095064, 0.018059833, 0.0400874354, 0.0238388125, -0.0181362797, -0.0173402354, 0.0098463334, -0.0008890409, -0.1134813428, 0.0016725146 ]
http://arxiv.org/abs/2402.01053v1
http://arxiv.org/pdf/2402.01053v1
Plan-Grounded Large Language Models for Dual Goal Conversational Settings
2024-02-01T22:56:39
2024-02-01T22:56:39
Diogo Glória-Silva, Rafael Ferreira, Diogo Tavares, David Semedo, João Magalhães
cs.CL
cs.CL, cs.AI
Training Large Language Models (LLMs) to follow user instructions has been shown to supply the LLM with ample capacity to converse fluently while being aligned with humans. Yet, it is not completely clear how an LLM can lead a plan-grounded conversation in mixed-initiative settings where instructions flow in both directions of the conversation, i.e. both the LLM and the user provide instructions to one another. In this paper, we tackle a dual goal mixed-initiative conversational setting where the LLM not only grounds the conversation on an arbitrary plan but also seeks to satisfy both a procedural plan and user instructions. The LLM is then responsible for guiding the user through the plan and, at the same time, adapting to new circumstances, answering questions, and activating safety guardrails when needed. We propose a novel LLM that grounds the dialogue on a procedural plan, can take the dialogue initiative, and enforces guardrails on the system's behavior, while also improving the LLM's responses to unexpected user behavior. Experiments in controlled settings and with real users show that the best-performing model, which we call PlanLLM, achieves a 2.1x improvement over a strong baseline. Moreover, experiments also show good generalization to unseen domains.
Plan-Grounded Large Language Models for Dual Goal Conversational Settings: Training Large Language Models (LLMs) to follow user instructions has been shown to supply the LLM with ample capacity to converse fluently while being aligned with humans. Yet, it is not completely clear how an LLM can lead a plan-grounded conversation in mixed-initiative settings where instructions flow in both directions of the conversation, i.e. both the LLM and the user provide instructions to one another. In this paper, we tackle a dual goal mixed-initiative conversational setting where the LLM not only grounds the conversation on an arbitrary plan but also seeks to satisfy both a procedural plan and user instructions. The LLM is then responsible for guiding the user through the plan and, at the same time, adapting to new circumstances, answering questions, and activating safety guardrails when needed. We propose a novel LLM that grounds the dialogue on a procedural plan, can take the dialogue initiative, and enforces guardrails on the system's behavior, while also improving the LLM's responses to unexpected user behavior. Experiments in controlled settings and with real users show that the best-performing model, which we call PlanLLM, achieves a 2.1x improvement over a strong baseline. Moreover, experiments also show good generalization to unseen domains.
[ 0.0551729277, 0.0331221335, -0.0187420007, 0.03303032, -0.0080799768, 0.0084108096, -0.0080046561, -0.0310915206, 0.0047994773, -0.0316726379, -0.0212705787, -0.038583152, -0.0426787101, 0.0483023189, 0.0161951762, -0.0422321968, 0.0363180339, -0.0708286911, 0.0167211797, -0.0067276028, 0.0090832245, 0.0057392474, -0.0117546981, 0.0612849928, 0.0025889988, -0.0014159955, -0.0418826193, 0.0156809408, 0.0001041998, -0.0417773686, 0.0250517279, 0.0206775591, 0.066408515, 0.0243226755, 0.0000020467, -0.05930309, 0.014049843, -0.0439293422, -0.0170361046, -0.0440025814, -0.0378769189, -0.0186366905, -0.0132486215, 0.0291854609, -0.0514228046, 0.0188937653, 0.0089842752, 0.1022804379, 0.0649916977, 0.0791352168, -0.0009001665, -0.0535914339, 0.0079900855, -0.0191127099, -0.0259294771, -0.0800786242, 0.0057494631, 0.030188933, -0.0070327944, 0.0284503829, 0.0132366521, 0.0018494128, 0.0144671844, -0.0464793108, -0.0244529881, 0.0367242321, -0.0402626805, -0.0340248756, -0.0229464862, 0.1068523377, -0.0046498962, 0.0045094187, 0.0354841612, -0.0040600919, -0.0054917941, -0.020902684, -0.0469951294, 0.0124668041, 0.0078692017, 0.0075828824, -0.0094293971, 0.01305677, 0.0235737916, 0.0163960308, -0.0487227291, 0.0769015029, -0.0226907227, -0.0379946008, 0.0201485027, 0.0034206768, 0.0078812903, -0.0686776266, 0.0105118118, 0.0649306551, -0.0946189091, 0.0438474566, -0.0205994491, 0.0138801355, 0.0048346464, -0.0282741357, 0.0207006261, 0.0393129699, 0.0130898068, 0.0535706505, 0.0127912862, 0.0494123325, -0.0048311292, 0.0163968317, -0.0083175162, 0.0192507058, -0.0369088314, 0.0084902691, -0.055380106, 0.0270512886, -0.0579111278, -0.0340538882, -0.0018580466, 0.075641036, -0.0174377635, 0.0525726601, 0.014584003, -0.0130984755, -0.0427491926, -0.047776401, -0.0498771071, 0.0140637252, -0.0385752954, 0.0407207012, 0.0210308935, -0.0307986978, -0.0028925864, 0.017644383, 0.0000052504, 0.0062696356, -0.0294412132, 0.0705935955, -0.0063729966, -0.0064413468, -0.0345991664, -0.0404907502, -0.0142165152, -0.0729085431, -0.0053377473, -0.0206913892, 0.0290480573, 0.0010303066, -0.0090854345, -0.0092532067, 0.0295069888, 0.0163543336, -0.0090444768, 0.0428150557, 0.0185445752, 0.0213866103, 0.0106280129, 0.0225957185, -0.0289381538, 0.0922281891, 0.0310424231, 0.0129439887, -0.0026315469, -0.0041718511, 0.0091059366, 0.0399106555, 0.0025103968, 0.0156983491, 0.0197946448, 0.0303455181, 0.0386642851, 0.0377302915, 0.0220526066, 0.0616915077, -0.0215451494, 0.0261711571, 0.0706641451, 0.0630270541, -0.0352555588, 0.0133664105, 0.0427861027, 0.0218348335, -0.0273001958, 0.0190083534, -0.0693433881, 0.0121312095, -0.0232364889, 0.0015453576, 0.0022752839, -0.0006643543, -0.0429002829, -0.0247865207, 0.0266071856, -0.0132053476, 0.0251127724, -0.0005784868, 0.0273375586, 0.0078759445, -0.0889544785, -0.0052027819, -0.0038119368, -0.007979176, -0.0114184236, -0.0162354615, 0.0231769513, 0.0922539234, 0.0228500552, -0.0195371062, -0.0342938937, -0.0371006839, 0.0439715423, 0.0421120226, 0.0245836023, -0.0232814997, 0.009678727, -0.0609674603, -0.0185210798, -0.0194939543, -0.0208356176, 0.0085983807, 0.0107014989, -0.0051658577, -0.0111655118, 0.0248493869, -0.0205617975, 0.0089758504, -0.0364887007, 0.006571841, -0.006058157, -0.0059893434, 0.0404915474, 0.0063236919, 0.009546143, -0.0107285855, 0.0427063406, -0.0240566246, -0.0237050112, 0.0123862503, -0.0815720335, -0.020514762, 0.0251484234, 0.0080210567, -0.0327861793, -0.0186704695, -0.0258154254, -0.0500477739, -0.0151138557, -0.0099989688, 0.0333062783, -0.0358993933, 0.0349757075, 0.0404431894, -0.0355015546, -0.0467079543, 0.0322803482, 0.0069501745, -0.0243726783, 0.0383032858, -0.0239787623, -0.0186960381, -0.0684563965, 0.004570296, 0.03748421, -0.007421697, -0.0019468617, 0.0206565354, 0.0322495885, -0.0529678278, -0.057351239, -0.1148410216, -0.0135874832, -0.0424668901, -0.0120026805, -0.0012022493, 0.018888792, -0.0016021858, -0.0296082143, -0.0354409032, 0.0216223989, 0.040458288, -0.0181213971, 0.0284415949, 0.0456848815, -0.0303857513, -0.0402051136, 0.0497665145, -0.0067452518, -0.0113644013, 0.0044976836, -0.031942267, -0.0737754256, 0.0723096877, -0.0030132981, 0.0496305078, -0.0300985519, -0.0202047043, 0.0041460162, 0.0032766149, 0.0568200648, 0.0696755871, 0.0065519246, 0.0309219547, 0.0268084761, -0.0252862182, -0.0831124187, 0.0524539351, -0.0102889966, -0.021966828, -0.0747512579, 0.0179576837, 0.0300920885, 0.0492992066, -0.007868357, 0.0468701683, -0.055208873, 0.0127683301, 0.0120110502, -0.0559915826, -0.0156707, -0.0229934286, -0.0414206386, 0.0429940782, -0.0092404438, -0.0206533186, 0.0601500235, -0.009363235, -0.0271787159, -0.0131537551, -0.0221813861, -0.0216570627, 0.0266580489, -0.0138280522, 0.0206670053, 0.0126787527, -0.031751927, -0.0287921205, -0.0113702193, -0.0167096257, -0.0236740038, 0.0743637457, -0.0862979591, 0.0201265067, 0.0082411859, -0.065327473, -0.0683245957, -0.0370185412, -0.0539826639, -0.001150573, -0.0024278655, -0.0161993913, -0.0266669895, -0.0017604308, 0.026500158, 0.0456190743, 0.0031442095, -0.0053759795, -0.0315997042, -0.0393262058, 0.0639024004, 0.0427602455, -0.0250061881, -0.0200723168, 0.0863449872, 0.0139111653, 0.0368203633, -0.0119932573, -0.0242157318, -0.0215906054, 0.0277805459, 0.0198475253, -0.02116118, 0.0456917435, 0.0892196372, -0.015224155, -0.0268974807, 0.1251456887, 0.0079182545, -0.0297481287, -0.0015840735, -0.0519914851, 0.0476551652, 0.0120764682, 0.0355180055, -0.0488275178, -0.0278829094, 0.005879736, -0.0129729658, 0.0022858048, -0.0279828683, -0.0140324375, -0.1123363525, 0.0110912239, 0.0056842137, -0.0285204016, 0.0116665419, -0.0026831685, 0.0095362617, 0.0189443007, 0.0587539636, -0.0189541634, -0.0012879239, -0.0254805237, 0.0031909137, -0.0162381213, -0.035082072, 0.0098743066, -0.0267077852, 0.0818547159, 0.101012744, 0.0364822857, 0.0175492521, 0.0118464744, 0.0570313819, 0.0394989476, 0.0200258307, -0.0066899383, -0.0136391874, -0.0293448344, 0.0007383028, -0.0031735974, 0.0637629256, -0.0352204815, -0.0192144271, 0.0526561812, 0.0604050457, -0.0566566847, 0.0089602545, 0.0057698051, 0.0363751277, 0.0459399112, 0.059568651, 0.015689401, -0.0624346286, -0.0185819604, -0.0227214526, -0.0176204182, -0.0616346225, -0.0320648216, -0.011751798, -0.0073783649, 0.0534359217, -0.0487452298, -0.0601529814, 0.0453347303, 0.0413031243, 0.0363164395, -0.0207653698, 0.0408588722, 0.0028430836, 0.0456814878, -0.0006726364, -0.0408983678, 0.042053096, -0.089358218, 0.0005282565, 0.0225291867, -0.0174217429, 0.006994301, 0.0370071381, -0.0326887853, -0.0655081272, -0.0282693189, 0.0635837317, 0.0183185115, 0.0507497974, -0.0037824006, -0.0627744123, -0.002813508, -0.0222614594, -0.0352800488, 0.0127213737, 0.0237811953, 0.0698554367, -0.0122142471, 0.0554369986, -0.0514178649, -0.0079090009, 0.0011488312, 0.0517887548, -0.0715041012, -0.0628717989, 0.0176738705, -0.0055947108, 0.0316930301, 0.0016940241, -0.0038359526, 0.0023860598, 0.0378888585, -0.0211379901, -0.0258229729, -0.0587514378, 0.0223606452, 0.0105414465, -0.0325048827, 0.0353221521, -0.0253140666, -0.020564286, 0.0183295161, 0.0009059355, -0.0291626174, -0.0082447864, 0.0063102986, 0.0295731518, 0.0208096113, -0.0184081439, 0.0476139039, 0.0511175767, 0.0354709588, 0.0287926849, 0.1027894765, 0.0306414664, -0.0110301366, -0.0105916457, 0.0088830711, -0.0440129526, -0.0704030693, 0.0408120491, 0.0357723236, 0.0416778028, 0.0301278792, 0.042320963, -0.0382759534, 0.0256228559, -0.0391789526, 0.0253999773, 0.0165193491, -0.0457576439, 0.0580724478, 0.0155903371, -0.0268530976, 0.0110853966, 0.0653088242, 0.0055817999, 0.0340940878, -0.0302922688, 0.0410946459, -0.0520001166, -0.0257086977, 0.0050019133, 0.0482472293, -0.0139820594, 0.0061195549, -0.0426819958, -0.0209333934, -0.0323785096, 0.0062847165, -0.0336816944, -0.0461234674, 0.0333985835, 0.0305933934, -0.0184191093, -0.0349631198, -0.0173667371, -0.0254452508, 0.0043684081, -0.0243328568, -0.0744669065, -5.767508298e-33, -0.0452075228, -0.0309452135, 0.0506397188, -0.0032740894, -0.0286837034, -0.0220926851, -0.0316981003, 0.0122901089, -0.0220385138, 0.0161877219, -0.0275311787, 0.0215872638, 0.0169581659, 0.0110053224, -0.0106542017, -0.0202024169, 0.0479212739, 0.0040486264, -0.0247304346, 0.0384581685, 0.0389078334, 0.0163575001, -0.0161765106, -0.0940018073, 0.0137041416, -0.0012665055, -0.0171821713, 0.0581494868, -0.001073637, 0.0452605747, -0.016769534, 0.0055363006, 0.0075224251, -0.021937862, -0.0333556309, 0.07244201, -0.0191081483, -0.0144929253, 0.0587304458, 0.0000106936, -0.0290280748, -0.0548497476, 0.0083669024, -0.0311608128, -0.0196003653, 0.0083782449, 0.0138988933, 0.0042909542, -0.0183492713, 0.0184241012, -0.0721944645, -0.0079615088, -0.0228048488, -0.0503312871, -0.0073306523, 0.0258260611, 0.0032556891, -0.0299374964, 0.0012966504, 0.0423528627, -0.0484127216, -0.0159877669, 0.0530441999, 0.0186189208, -0.0033735689, 0.0710584745, -0.0004806566, 0.0343034305, -0.0263095871, -0.0619987734, -0.0173237678, 0.0423586927, -0.0255023539, 0.0094393538, -0.061066851, 0.0247082971, -0.0493763871, 0.0151780583, 0.0180520918, 0.0516148396, 0.0214625653, 0.0338402838, -0.0301135648, -0.0168638714, -0.0327376015, 0.0268691648, -0.004626893, -0.026000157, 0.051368136, 0.0326028205, 0.0299579296, -0.0154597647, 0.0498686358, -0.0409487523, -0.0204595849, 0.0347065255, -0.009474867, -0.0011666499, -0.0118610375, 0.0348116048, -0.070938319, -0.0361584648, 0.0362313986, 0.0054212529, 0.0154426061, 0.0267034303, 0.0057923854, 0.0109490957, -0.0469429456, -0.0072288634, -0.0411524028, 0.0207449012, -0.0245288312, 0.003799537, 0.0311683472, -0.0074221813, -0.022820456, 0.079580307, 0.0001659442, -0.0758721381, -0.0282181278, -0.0713964179, -0.0016418598, 0.0232988354, -0.0401835591, -0.0003673124, -0.0052505927, -0.0072877011, 0.0183097851, -0.02916901, -0.0111385062, 0.0073991185, 2.733e-7, -0.0235927384, 0.0442312174, 0.0065827444, 0.0254180431, 0.0074565439, 0.0492286868, -0.0316866525, 0.0396540761, 0.0067954464, -0.019005321, 0.0153777059, 0.0392296426, 0.015841702, -0.008885745, -0.0940041468, -0.0118857315, -0.0456506722, -0.022324698, -0.0638975799, -0.0172172599, 0.0605208464, 0.0511274524, -0.0233685542, 0.0164144095, 0.0185220689, -0.0391403325, 0.0646115467, -0.0463986509, -0.0285052415, 0.0100370971, -0.0057477229, 0.0057164724, -0.0093479594, 0.0177489575, 0.0051324163, 0.0459172055, -0.0275439005, 0.1089503095, -0.0044396976, -0.0073112315, -0.0048277313, -0.0164603833, 0.0020770268, -0.0293066278, 0.0350678042, -0.0657558069, -0.0208053105, 0.025982393, 0.0242350828, -0.0501638576, -0.0292283688, -0.0037044222, -0.013528889, 0.0059521878, 0.0245427135, 0.0046265656, 0.0063305502, -0.0700745359, 0.0360101387, -0.0011761172, -0.0401859656, -0.0615291558, -0.0285744071, 0.0319790393, -0.000556372, -0.0363152809, 0.0071265195, 2.360508599e-34, 0.0122991642, -0.0019290806, 0.0174755845, 0.0402912721, 0.0378131494, 0.0057243891, -0.0040534185, 0.0270323921, 0.05816596, -0.0925803557, -0.0069885845 ]
http://arxiv.org/abs/2402.01051v1
http://arxiv.org/pdf/2402.01051v1
Generation, Distillation and Evaluation of Motivational Interviewing-Style Reflections with a Foundational Language Model
2024-02-01T22:54:31
2024-02-01T22:54:31
Andrew Brown, Jiading Zhu, Mohamed Abdelwahab, Alec Dong, Cindy Wang, Jonathan Rose
cs.CL
cs.CL
Large Foundational Language Models are capable of performing many tasks at a high level but are difficult to deploy in many applications because of their size and proprietary ownership. Many will be motivated to distill specific capabilities of foundational models into smaller models that can be owned and controlled. In the development of a therapeutic chatbot, we wish to distill a capability known as reflective listening, in which a therapist produces reflections of client speech. These reflections either restate what a client has said, or connect what was said to a relevant observation, idea or guess that encourages and guides the client to continue contemplation. In this paper, we present a method for distilling the generation of reflections from a Foundational Language Model (GPT-4) into smaller models. We first show that GPT-4, using zero-shot prompting, can generate reflections at near 100% success rate, superior to all previous methods. Using reflections generated by GPT-4, we fine-tune different sizes of the GPT-2 family. The GPT-2-small model achieves 83% success on a hold-out test set and the GPT-2 XL achieves 90% success. We also show that GPT-4 can help in the labor-intensive task of evaluating the quality of the distilled models, using it as a zero-shot classifier. Using triple-human review as a guide, the classifier achieves a Cohen-Kappa of 0.66, a substantial inter-rater reliability figure.
Generation, Distillation and Evaluation of Motivational Interviewing-Style Reflections with a Foundational Language Model: Large Foundational Language Models are capable of performing many tasks at a high level but are difficult to deploy in many applications because of their size and proprietary ownership. Many will be motivated to distill specific capabilities of foundational models into smaller models that can be owned and controlled. In the development of a therapeutic chatbot, we wish to distill a capability known as reflective listening, in which a therapist produces reflections of client speech. These reflections either restate what a client has said, or connect what was said to a relevant observation, idea or guess that encourages and guides the client to continue contemplation. In this paper, we present a method for distilling the generation of reflections from a Foundational Language Model (GPT-4) into smaller models. We first show that GPT-4, using zero-shot prompting, can generate reflections at near 100% success rate, superior to all previous methods. Using reflections generated by GPT-4, we fine-tune different sizes of the GPT-2 family. The GPT-2-small model achieves 83% success on a hold-out test set and the GPT-2 XL achieves 90% success. We also show that GPT-4 can help in the labor-intensive task of evaluating the quality of the distilled models, using it as a zero-shot classifier. Using triple-human review as a guide, the classifier achieves a Cohen-Kappa of 0.66, a substantial inter-rater reliability figure.
[ 0.1002195403, 0.0361246727, -0.0246075206, -0.0298449509, -0.0641693622, -0.0107831964, 0.0187935084, -0.0140017141, -0.0109659052, -0.0314320102, -0.0210455041, -0.0077205966, 0.0055990019, 0.0550892875, -0.0303534996, -0.0927999467, 0.0250275824, 0.0002273524, 0.0375214033, -0.0014039262, 0.0180841479, 0.0303182993, -0.0352297351, 0.0815206617, 0.0042824517, -0.0243585091, -0.0183532313, 0.0141836097, -0.0153904976, -0.0537321903, -0.0283457711, 0.0469370671, 0.0073857512, 0.0025770681, 0.0000024265, -0.0039021857, 0.0036148969, -0.0051033329, 0.0027398868, -0.0622045286, 0.0982244536, -0.0098082507, -0.0224230029, 0.0258833971, -0.0224066246, -0.0005346396, 0.013238485, 0.0544789359, 0.0914622843, 0.0524855517, -0.0087573249, 0.0141378781, -0.0149368672, 0.0176746361, 0.010238559, 0.0050095352, -0.0283689555, 0.0222742204, 0.0392152034, 0.0250653569, -0.0243144035, 0.0015386323, 0.0064785993, -0.0035553207, 0.0100670103, 0.0342065506, -0.0311849955, -0.0549697839, -0.0337328948, 0.0549738482, 0.0624974854, 0.0012277145, -0.0110507142, 0.0037671279, 0.0408162586, -0.0334497616, -0.0349853151, 0.0112942904, 0.0121750394, 0.010712347, -0.0224943012, 0.0150196701, -0.0323681831, -0.0200349893, 0.0550211295, -0.017658079, 0.0054118014, -0.0122139752, 0.0159248505, 0.0158858057, 0.0503848456, -0.0669168681, -0.0278426781, 0.0378237516, -0.0417140834, 0.0158391781, -0.044679869, 0.004739766, -0.0048935995, 0.0291916821, 0.034480691, 0.0433765426, -0.0403002501, -0.0082381703, 0.0086984253, 0.0309035573, 0.0591974482, 0.0128735518, -0.0398432501, 0.0085712811, -0.0724645555, -0.0047497582, -0.0423448719, 0.0258480459, 0.0016863026, -0.0515135862, -0.0647912547, 0.0220221765, -0.0154763926, 0.0019691391, -0.0323783271, -0.0040889634, -0.0123027563, 0.0294392277, -0.0108653223, 0.0245076977, -0.0169609543, 0.0055766348, 0.0527384765, -0.1182408705, 0.0288013462, -0.0065621887, -0.0098108137, 0.0227049999, 0.013219825, 0.0444203168, 0.0019690462, -0.0549734049, 0.0322216153, -0.0043446706, -0.0434632152, -0.0587859191, 0.0075186947, -0.0391875803, -0.008778763, -0.0017778064, 0.0000880047, -0.0309539959, 0.0358715542, 0.0034104004, -0.0269835033, 0.0730467066, -0.019613985, 0.0258813314, 0.0027876289, 0.0284096692, -0.0284951329, 0.0393967144, 0.0107027842, 0.0115115279, -0.0047880705, -0.0596830882, 0.0373556353, -0.0401628464, -0.0083331848, -0.0323179103, -0.015973771, -0.0209440254, -0.0317885801, 0.0508047454, -0.0422454961, 0.0427443124, -0.0253920797, 0.046577394, 0.0699274167, 0.0572031289, 0.0037800753, 0.061101608, 0.0250788312, 0.0417317003, 0.0055821873, -0.0181952026, -0.0360470377, 0.0281738881, -0.0019381305, -0.0226527583, -0.0086422907, -0.0169845298, -0.0308359731, -0.0418937169, 0.0054658344, -0.0113561377, 0.0018204591, 0.0233742092, 0.0133278295, -0.0018259871, -0.0344581641, -0.0162552539, 0.026459394, -0.066381827, -0.0428787507, -0.0764457807, 0.0222722758, 0.1043866947, 0.0537861623, 0.0154024204, -0.0107521024, -0.0145938154, -0.0034004671, 0.0490503088, 0.0380376764, 0.0250581987, -0.0154172648, -0.0151985092, -0.0036628782, -0.0069380086, 0.0067465906, 0.0113525633, -0.0515737012, 0.0274067093, -0.0230219588, 0.0411107838, -0.0191879123, 0.039118588, 0.0216293894, -0.0054690987, 0.0087188864, -0.0302986484, 0.0249179676, 0.0462352931, -0.0131805781, 0.0217242874, 0.0349997617, 0.0014365435, -0.0237425473, 0.0715271905, -0.0294909906, -0.043696776, 0.0094936499, -0.0429049246, 0.0159064922, 0.0422522873, 0.0282279439, -0.035339158, 0.038180504, -0.0708026215, 0.0813362002, -0.0217118841, 0.0282918997, -0.0252620298, 0.0135525456, -0.0048060319, 0.0008477019, 0.0139035108, 0.0164233781, 0.0035170396, -0.0653726831, -0.0221269112, -0.0609247796, -0.0162065178, -0.0026832405, -0.0256191362, 0.0098535344, -0.0037197529, 0.0223543681, -0.0605162568, -0.0470066406, -0.1061210111, -0.0286296736, -0.0006973288, -0.0419066995, 0.0079504326, -0.0286709573, -0.0062164241, -0.0230854079, -0.0617204718, 0.0161813498, 0.0361176953, 0.0244927797, -0.0110628009, 0.0075363107, -0.0372733176, -0.0213605575, 0.0160380192, -0.0023026839, 0.0121690696, 0.010333118, 0.0437503271, -0.0638618395, 0.0471075065, -0.0201461241, -0.0200527254, -0.002691627, -0.0619115978, 0.0679660961, 0.0050914208, 0.0261275936, 0.0307154898, 0.0316305384, 0.0333110131, 0.0210699774, 0.0036915266, -0.0560133681, -0.0124501381, 0.0104369912, -0.0227075182, 0.007938196, -0.0697974339, 0.0013372462, 0.0207073316, 0.0419463813, 0.0377255715, -0.0790587664, 0.0230105035, 0.0017950754, -0.0253373291, 0.0019514483, -0.0184704717, -0.0195759349, 0.0163214635, 0.0092635136, -0.029403761, 0.0596684515, -0.0164737217, -0.0177795123, -0.0320998356, -0.0216627792, 0.0050930856, 0.0343832932, -0.0424201116, 0.0100948913, 0.0405715965, -0.0013543094, 0.0061586485, -0.0389995053, 0.0000259524, -0.0521323606, -0.005394733, -0.0387782976, 0.0054366961, 0.0201380812, -0.0126852086, -0.0702149644, -0.0627873912, -0.0451387279, 0.0042255153, -0.0169852544, 0.0315882787, -0.0177752934, 0.0050059967, 0.0320765898, 0.0523194149, 0.0124231102, -0.0261215772, -0.0008947001, -0.0544884875, 0.0433791876, -0.0112702707, 0.0413602404, 0.0044754236, 0.1071882993, 0.0280057769, 0.0638685003, 0.0511735119, -0.0262491442, -0.0259153396, -0.0103146732, 0.0234502777, 0.0088450164, 0.0246435981, 0.0608002357, -0.0131606776, -0.0421151295, 0.1093927547, 0.0049536796, -0.0867598057, 0.0127939293, -0.0580474101, -0.0127152139, 0.019541651, -0.0007757624, -0.0637521669, -0.0324099101, 0.0198866501, 0.0480516553, -0.0419265516, -0.016643839, -0.0080549652, -0.0875189751, 0.0404469855, -0.0097210631, -0.0127932876, -0.0056833704, -0.0020038483, -0.0032021357, 0.006440171, -0.006424766, -0.010606382, -0.0153950024, 0.0148113482, -0.010540178, -0.0427848957, -0.0302974451, 0.0743621513, 0.0107250791, 0.0998408794, 0.0578917786, 0.0566119701, 0.0261222497, 0.0078128548, -0.0019882414, 0.0171624254, 0.0312442966, 0.024253536, 0.0335991867, -0.0062866309, 0.0074208491, -0.0389943905, 0.06036276, -0.0507078394, 0.0034945884, 0.0375111066, 0.0418954417, -0.0633948743, 0.0047440487, -0.0141272899, 0.0610370375, 0.0321714021, 0.0726566464, 0.0607605763, -0.0566144176, 0.0025826781, 0.0199802145, 0.0352439433, 0.0055582118, -0.0863218904, 0.0077664549, -0.0073122177, 0.0469355769, -0.0925378427, -0.0683175027, 0.0205519404, 0.0049843402, -0.015074756, -0.0178103726, -0.0450296737, 0.044330094, 0.0102668516, 0.0249355305, -0.0053207246, 0.012714182, -0.0617822707, -0.0164132304, 0.0426513329, -0.0718296766, 0.0048330729, -0.0048462101, -0.0087180519, -0.0156071223, 0.032246653, 0.0407256857, 0.0233202763, -0.0047049709, 0.0012518422, 0.0217523891, -0.0192176644, -0.0129834404, -0.0440394878, 0.0075651463, 0.0238962378, 0.0537167452, 0.0045342101, 0.0172339305, -0.0196880922, 0.0463174917, 0.0185929071, 0.0207177531, 0.0093658585, -0.050559368, 0.0461800955, 0.023358617, 0.0366660431, -0.0212142821, 0.0179506503, 0.0202575624, -0.0131898895, -0.0555960424, 0.0012434507, -0.0755795985, -0.0050215321, -0.0013065378, 0.0022321716, 0.0049921442, -0.0323425271, -0.1121441275, 0.0263111368, -0.0442022607, 0.0113039371, 0.007142507, -0.0105774188, -0.0287356377, -0.0065223733, -0.0128719937, 0.0086229052, -0.0206306204, 0.0186166354, 0.0027652108, 0.1136195362, 0.0072178445, -0.0360211879, 0.0188662559, 0.0492908396, -0.0593213812, -0.0446067564, 0.0038226775, 0.056224592, 0.0263579246, 0.0735412017, 0.0222687032, -0.0362994596, 0.0380113795, 0.0009436246, 0.0428503491, -0.015898969, -0.037076544, -0.0200933479, 0.0161346737, -0.0057870527, -0.0348136947, 0.0215474404, -0.0467694104, 0.0261621494, -0.0050957003, 0.0058616493, -0.0620869026, 0.0081243776, -0.0029715977, -0.0093084807, -0.0110594062, 0.0187780783, -0.0794396251, -0.0364320762, -0.032391049, -0.010650984, 0.0058485474, -0.0736989751, 0.0367390029, 0.0337213725, -0.017217407, -0.0267824568, -0.0584364757, 0.0201528762, -0.015046115, 0.0111063235, -0.0230634622, -6.225391633e-33, -0.0095783956, 0.0101933032, 0.0138794845, 0.0298533943, -0.0607524849, 0.005322149, -0.0400233343, 0.0291663166, -0.0144764902, 0.0082862973, -0.0185199343, 0.029130578, 0.0094046313, 0.0023426204, 0.0332496539, 0.0326326527, 0.0391856804, -0.0280006658, -0.0517153107, 0.0166654605, 0.0035263784, 0.0351722278, 0.0432970896, -0.0591866821, 0.015347654, 0.0165352467, -0.0173339713, 0.0012598392, 0.0103181321, 0.0267026704, -0.0141370809, 0.0392612219, 0.0313238539, -0.0472560637, -0.0085259397, 0.0101213921, -0.0227566715, -0.0342191011, 0.0154391322, 0.0070450236, -0.060263548, -0.0068317088, -0.002255447, -0.051923003, -0.0368967019, 0.0224230234, -0.0086127073, -0.0370218307, 0.0044129174, 0.0554791801, -0.0432584696, -0.0244230125, -0.0106476685, -0.0995227993, -0.0181078073, 0.0767557248, -0.0515330769, -0.0109837465, -0.0189564265, 0.0473941788, 0.0252372939, 0.0050017694, 0.0172442757, -0.0061800359, -0.0022369786, 0.0605344735, 0.0367806442, 0.0188247524, -0.0125737321, -0.018031558, 0.0191327315, 0.0238091871, 0.078993924, 0.0475945286, 0.00247895, -0.0057358854, 0.0041410998, 0.0002417083, 0.0484487787, 0.0045755859, 0.0620411597, 0.0067009353, -0.0180823077, 0.009201711, -0.058303684, -0.0205454472, -0.0087914877, -0.0675818399, 0.0498575382, 0.0239972156, -0.0403690077, -0.040903911, 0.0218119938, -0.0311964117, 0.0406100154, 0.0011739522, -0.0451613963, 0.0387280732, -0.0276909508, -0.0353347771, -0.0518401675, 0.0182513017, 0.0624820106, 0.025290506, 0.0417688489, -0.0007513882, -0.005466504, 0.0194253139, -0.0270034373, -0.0180595741, -0.033008907, 0.0672235265, -0.010875484, -0.0019441734, -0.0240099784, 0.0388350561, -0.0389646031, 0.048283793, 0.0001608624, 0.0076555065, -0.0595160201, 0.0091586933, -0.0117285, -0.0058958228, -0.0542257167, -0.0177258793, -0.043523401, -0.0144505166, 0.0457412899, 0.0140536707, -0.0195661169, -0.0068029887, 3.165e-7, -0.0453716069, 0.0272093322, 0.0000448888, 0.0010590579, 0.0412560739, 0.0590273105, 0.0070978096, 0.0399813689, 0.0295038782, -0.0613293163, 0.0015854265, 0.0218419675, 0.081908673, 0.0145419389, -0.0629127547, -0.020014558, -0.0560345761, -0.0521638133, -0.0343427397, 0.0077047306, 0.0862712041, 0.053799402, 0.0076064854, -0.0266556069, 0.0010753864, 0.0430589765, 0.0425478742, -0.0474844873, -0.031379465, 0.0083637536, -0.0062700268, -0.0220114496, 0.0014699092, 0.0031008914, 0.0307280645, 0.0013739071, -0.025360886, 0.0530196913, -0.0498628542, -0.0508491956, 0.0334027298, 0.0581938587, -0.0201229416, -0.0094903484, 0.0311195683, -0.0783298835, -0.0377983376, -0.0495605282, -0.0335851796, -0.0341341235, 0.0515392572, -0.0274472479, -0.0386882573, 0.0344578028, -0.0133432737, 0.0028774205, 0.0017679716, -0.0239079669, 0.0243030023, -0.0304273441, -0.0509994142, -0.0178862009, -0.0137564745, -0.0424932912, -0.0411670506, -0.101911962, 0.0069310362, 2.463572591e-34, 0.0125971232, 0.0325557142, 0.0353843383, 0.0575882196, 0.0269768368, 0.0507841296, 0.0071441298, 0.024282461, 0.0397916101, -0.034276884, -0.0279064532 ]
http://arxiv.org/abs/2402.01786v2
http://arxiv.org/pdf/2402.01786v2
COA-GPT: Generative Pre-trained Transformers for Accelerated Course of Action Development in Military Operations
2024-02-01T21:51:09
2024-03-28T15:22:42
Vinicius G. Goecks, Nicholas Waytowich
cs.AI
cs.AI, cs.CL, cs.HC, cs.LG, I.2.6; I.2.7; J.7
The development of Courses of Action (COAs) in military operations is traditionally a time-consuming and intricate process. Addressing this challenge, this study introduces COA-GPT, a novel algorithm employing Large Language Models (LLMs) for rapid and efficient generation of valid COAs. COA-GPT incorporates military doctrine and domain expertise to LLMs through in-context learning, allowing commanders to input mission information - in both text and image formats - and receive strategically aligned COAs for review and approval. Uniquely, COA-GPT not only accelerates COA development, producing initial COAs within seconds, but also facilitates real-time refinement based on commander feedback. This work evaluates COA-GPT in a military-relevant scenario within a militarized version of the StarCraft II game, comparing its performance against state-of-the-art reinforcement learning algorithms. Our results demonstrate COA-GPT's superiority in generating strategically sound COAs more swiftly, with added benefits of enhanced adaptability and alignment with commander intentions. COA-GPT's capability to rapidly adapt and update COAs during missions presents a transformative potential for military planning, particularly in addressing planning discrepancies and capitalizing on emergent windows of opportunities.
COA-GPT: Generative Pre-trained Transformers for Accelerated Course of Action Development in Military Operations: The development of Courses of Action (COAs) in military operations is traditionally a time-consuming and intricate process. Addressing this challenge, this study introduces COA-GPT, a novel algorithm employing Large Language Models (LLMs) for rapid and efficient generation of valid COAs. COA-GPT incorporates military doctrine and domain expertise to LLMs through in-context learning, allowing commanders to input mission information - in both text and image formats - and receive strategically aligned COAs for review and approval. Uniquely, COA-GPT not only accelerates COA development, producing initial COAs within seconds, but also facilitates real-time refinement based on commander feedback. This work evaluates COA-GPT in a military-relevant scenario within a militarized version of the StarCraft II game, comparing its performance against state-of-the-art reinforcement learning algorithms. Our results demonstrate COA-GPT's superiority in generating strategically sound COAs more swiftly, with added benefits of enhanced adaptability and alignment with commander intentions. COA-GPT's capability to rapidly adapt and update COAs during missions presents a transformative potential for military planning, particularly in addressing planning discrepancies and capitalizing on emergent windows of opportunities.
[ 0.0467906445, 0.0203074925, 0.0054622102, -0.052788347, -0.0170096457, -0.0206342544, -0.0315369293, -0.0322076194, -0.0545499921, -0.0372944549, -0.0169287641, -0.0506405979, -0.0255891569, 0.0595880747, -0.0003272637, 0.0000406103, 0.0505113788, -0.0521441661, -0.005769453, 0.0299811661, -0.0372745134, -0.0104388976, -0.0275410321, 0.0347351432, 0.0204246547, -0.0077984533, -0.0641541034, -0.0120504973, 0.035691224, -0.0709051415, 0.0007963414, 0.0186249781, 0.0554429255, 0.0032896975, 0.0000020111, -0.0393921845, -0.0239384919, -0.0475361049, -0.0168965682, 0.0224951692, 0.0354954153, -0.0146674421, -0.0411262363, 0.0395896398, -0.0619435161, 0.0046251398, 0.0553479455, 0.0698278844, 0.0675801113, 0.0884934738, 0.0047336649, -0.0298310667, -0.0508124195, -0.036100544, -0.0428506583, -0.0391952507, 0.0071388348, 0.0040598889, -0.0082956534, 0.0281425379, -0.0025559373, -0.0184790939, -0.0118247997, 0.0123753585, -0.0250083189, 0.0705424473, 0.016458381, 0.018564973, -0.0035445909, 0.0198987108, -0.0077641411, -0.0055333627, 0.0111754993, -0.0118546458, -0.0159092359, 0.0068995017, -0.0249455404, -0.0054088049, -0.0062239026, 0.0079338886, 0.0216197986, -0.0035981126, 0.0061321291, -0.0068150614, -0.0381373391, 0.0521056466, -0.0151140131, -0.0369886346, -0.0069446429, 0.0098808995, -0.0296528675, -0.060398221, -0.0336342677, 0.0677504316, -0.1265224218, 0.0037848812, -0.0181928333, 0.01837915, 0.0231305975, -0.0028638383, 0.0906620622, 0.0214689933, -0.0035386314, 0.0481275134, -0.0166271906, 0.1027941331, -0.0227932651, 0.0288334973, -0.0356737934, 0.0350168534, -0.08364214, -0.030638421, -0.036266841, 0.0425651707, 0.0037271255, -0.061812941, -0.0919617265, 0.0094831558, -0.0316879228, 0.0442690812, 0.0233088098, 0.0245265923, -0.0499837622, 0.010898849, -0.0762559846, -0.0211270694, 0.0139587745, 0.030554194, 0.0077222567, 0.0251268316, 0.028160736, -0.0100023039, -0.0380604267, 0.0005833931, 0.0010580658, 0.0988318697, -0.0401182994, -0.009442864, -0.0253371727, 0.0100573581, 0.0055973441, -0.0442106202, 0.0190784335, -0.0761963353, -0.0079740183, -0.0156223159, 0.0011911412, 0.0061259009, -0.0117248632, 0.0067838826, 0.0127349291, 0.0515809059, 0.0543794744, 0.0342865288, -0.0006324704, 0.0086461343, 0.0075811786, 0.0602438301, 0.0464582071, 0.0622820668, -0.0016193979, 0.0136035085, 0.0632344037, 0.0552097745, -0.0441040993, 0.0271496028, -0.0067583923, -0.004803712, -0.0096064638, 0.0560315065, 0.0230554845, -0.0076035061, -0.0162746739, 0.0121713681, 0.06614317, 0.0113307247, 0.0160279553, 0.0135354362, 0.1027511731, 0.0525181852, -0.0106625343, -0.0415705815, -0.0213842746, 0.0266917627, 0.0165077578, 0.0014526075, -0.0348007083, 0.0446385071, -0.0171934906, -0.0142043512, 0.0294126216, -0.0137986345, -0.0062730061, -0.0322595574, 0.0200330466, -0.0043530809, -0.0642890781, -0.0099756084, 0.0301340558, -0.0165940616, -0.0036888539, -0.0286449324, -0.0087801954, 0.084225975, 0.0471809171, -0.0582389347, -0.0956757888, -0.0441889875, -0.0252208896, 0.0359083079, 0.0309723001, -0.0201872438, 0.0262295362, -0.0169471931, -0.0409501642, -0.0214061979, -0.0053620352, 0.0482431538, -0.0033743577, 0.0244320929, -0.0077376189, 0.0482077748, -0.0220769849, 0.0343112536, 0.0484584086, -0.0605962649, 0.0264267866, 0.0112514002, 0.056708768, 0.0206459649, -0.0248950683, 0.0140134897, -0.0101150377, 0.0011193554, -0.0114986049, -0.0122231059, -0.0393217504, 0.0540821739, 0.0090505052, -0.0266092084, -0.0035170342, 0.0073049078, -0.0360377915, -0.0223384276, 0.0013302725, -0.0311369896, 0.0209565107, 0.0066974196, 0.0115452018, 0.0032595303, -0.0036860257, -0.0559151657, 0.033642754, -0.00044355, -0.0617857389, 0.0314799584, 0.0049758754, 0.0076690428, 0.0078462949, 0.0191103294, 0.0491978452, 0.0143361576, -0.0186137017, 0.0522965118, 0.0652724057, -0.0074445205, -0.0708889663, -0.0487234257, -0.0105222389, -0.0090295374, 0.0009042993, 0.0163629036, -0.0440350585, -0.0127032576, 0.0390277915, -0.0030793499, 0.0124560772, 0.0076370765, -0.0126491291, 0.0244824551, 0.0371829644, -0.0025552514, -0.0147487838, -0.0074575581, 0.0084091201, 0.0250865389, 0.0029780352, 0.0365742892, -0.0655869097, 0.0383866876, -0.0283279605, 0.0393912196, -0.0247214548, -0.1043505073, 0.0659373403, -0.0541686676, 0.0515592434, 0.0098986216, 0.0284406766, 0.0375227407, 0.0842647478, -0.0078538945, -0.0153363626, 0.0060758665, -0.0786970481, -0.0913542211, -0.0957227126, 0.0115215527, 0.0355271995, 0.046257969, 0.0002597338, 0.0274507739, -0.0669020712, -0.0358612798, -0.0164449215, -0.0158693604, -0.0073498162, -0.0146961482, -0.0285656787, 0.0408981219, -0.0214368924, 0.01093511, 0.055349458, 0.0238939393, -0.011946301, -0.0311197154, 0.0036493964, -0.0179905444, 0.0365593284, 0.022700889, 0.0020324634, 0.0296677072, -0.0381590798, -0.0685105324, -0.026111301, 0.015072355, -0.0484430268, 0.0276328027, -0.0203926452, -0.018435033, 0.0094816973, -0.012008395, -0.019797897, 0.0096437447, -0.0134184789, 0.023349965, -0.0021512061, -0.0487997048, -0.0476846099, -0.0236119628, 0.0768261626, 0.0441562273, -0.0071055209, -0.0465187095, -0.0449645184, -0.0165633429, 0.0622902252, -0.0219273008, -0.0016571095, -0.0314334705, -0.0190966595, 0.0240710247, 0.0061083045, -0.0358595401, -0.0652511418, 0.0222789738, 0.0174481869, -0.0266932547, 0.0003545665, 0.0413259417, 0.0276344195, -0.0454554521, 0.0066255145, 0.0781751424, 0.0277506243, -0.0689317584, 0.0063921567, 0.0144489622, 0.01517299, 0.0291920286, 0.0369524807, -0.0579483584, 0.0097604888, -0.0322237238, 0.0049707009, -0.0346565768, -0.0316097215, 0.0080802515, -0.1248607263, 0.0176409986, -0.0135684796, -0.0550771542, -0.0351189487, -0.0395018607, 0.0194526147, -0.0127904639, -0.0515044034, 0.0189587809, 0.0071421326, -0.0014480312, 0.0305837132, -0.0351900384, -0.033578217, 0.0210194457, -0.0514541306, 0.0309315976, 0.0697190091, 0.010044666, -0.0117852073, 0.0031773443, 0.0220547356, 0.0249918699, 0.0152738933, 0.0041772989, -0.0094774021, -0.0087576415, -0.0109573957, 0.0178230293, 0.0116641847, 0.0252341758, -0.0416198596, 0.0034414206, 0.0695608333, -0.0417073444, 0.0084948987, 0.0014279266, 0.0121908765, 0.0758133605, -0.008081452, -0.0310284607, -0.0638401359, -0.0480552502, 0.0127003174, 0.0192122385, -0.0720939189, -0.0798643157, 0.0032886434, 0.0395910554, -0.013799889, -0.0525764301, -0.0349549837, 0.0102940723, 0.030914342, 0.0484179966, -0.012331279, -0.0011584761, 0.0238627493, -0.0119427983, -0.0111513212, 0.0003610251, -0.0087742498, -0.0814090148, -0.0577003472, -0.0043525863, -0.0464626215, -0.0245633423, 0.002881147, -0.018652482, -0.0373713002, 0.0482548587, 0.0688382387, 0.01679058, -0.0221249815, 0.0203602184, -0.0126575371, 0.046065107, 0.0347053893, -0.0186556038, 0.0052106874, 0.0346552171, 0.041811794, 0.0185132995, 0.0051551126, -0.0367347822, 0.0360308811, 0.0150074791, -0.0142030707, -0.0112699308, -0.0156195201, 0.0290710442, -0.0701625049, 0.0389127173, -0.0738741606, -0.0069806268, 0.0021429744, 0.0009771963, -0.0185479671, -0.0061112549, 0.0115969693, 0.0203768406, 0.0284758899, 0.0007422953, 0.0389364809, -0.0029637555, -0.0075915041, -0.0100459196, 0.0045368024, -0.0008249326, 0.0401646458, 0.0285429172, 0.0530349873, 0.0030978075, 0.0249843597, 0.0095805237, -0.0121511966, 0.0057898937, 0.0210855268, 0.068798475, 0.0448242649, -0.0003471949, -0.0237161685, 0.0007393779, -0.0454624034, -0.0595657043, 0.0092374589, 0.0372303799, 0.0749137774, 0.0233342722, 0.010197591, -0.0827868134, 0.0165513922, 0.0154820485, -0.0051817303, -0.0324928686, -0.0091279512, 0.0265604407, 0.0387130342, 0.0164853539, 0.0602746084, 0.0554332361, 0.0001721616, 0.04285492, -0.0069456147, -0.0335842185, -0.0284009129, -0.0254542939, -0.0191448722, 0.0368658528, -0.0281731952, 0.0313506648, -0.0671965852, 0.0039093113, -0.0052864924, 0.0749235377, 0.0016178315, -0.0356457867, 0.0077246823, 0.0447509736, -0.0269778986, 0.0190756395, -0.0556213036, -0.0117460182, 0.0033570065, -0.019873105, -0.0295663867, -5.632930726e-33, 0.0000491477, -0.0166794248, 0.0997576863, -0.0172439441, -0.0739063844, 0.0070432811, -0.0395083763, 0.0155395512, 0.0354213417, 0.0179886371, -0.0127947805, -0.0103663998, -0.0031584394, 0.0309905093, 0.0378196612, -0.0126874018, 0.0336987413, -0.0069523919, -0.04176303, 0.0466098152, 0.0469486676, -0.0261204299, 0.0223025121, -0.0858758762, -0.048297286, 0.052422747, -0.0264724158, 0.0005962956, -0.0057868967, 0.0780958086, -0.0066740965, -0.0074853413, -0.0098695392, -0.0517630577, 0.0029975998, 0.0129751833, -0.0151033206, 0.0022781109, -0.0174368974, -0.0092269843, -0.016465852, -0.0310565438, -0.0350700766, 0.0185227506, -0.0214632899, 0.0098038912, 0.0217317604, 0.0198761728, 0.0181360375, -0.0207252465, -0.0884063244, 0.0222708434, -0.0215220582, -0.0227754749, -0.0076895817, 0.0446144007, -0.0026932487, -0.0023958129, -0.0100447768, 0.0621205345, 0.0364891663, 0.0362830758, 0.0246973503, 0.0549568795, 0.0123872906, 0.0513851978, -0.0405230485, 0.0305614341, -0.0381560512, -0.0269697849, 0.0015301658, 0.0657647625, 0.0152550275, 0.0477637015, 0.0229901783, 0.002528046, -0.0484468676, -0.0026550423, -0.0188302286, 0.0729372129, 0.0623899102, 0.0076717692, -0.0002599878, 0.016068479, 0.0020734225, 0.0056826668, 0.0059339348, -0.0340189002, 0.0233977921, 0.018352231, -0.0164365228, 0.0255751703, 0.0558614768, 0.0136089651, 0.0448636599, 0.0207148753, -0.0547802821, 0.0625371188, -0.0469797887, -0.0351061709, -0.0645176023, -0.0519592278, 0.0597075261, -0.0478523932, 0.0099448347, 0.0181211922, -0.0139630632, 0.0375977233, -0.0273506474, 0.0003000089, -0.0134085063, 0.0275120661, 0.0059813624, -0.0591704436, 0.0423259884, -0.0291408543, -0.0164834186, -0.0214650799, 0.0121525256, -0.1188081354, 0.0177335124, -0.0135901803, 0.0171042699, 0.0212962348, -0.0258785207, 0.0488511734, -0.0616774336, 0.0573281348, -0.0122239273, -0.0445550121, -0.0114063453, 0.0454602353, 2.786e-7, 0.0163156614, 0.0484691449, 0.0083259558, -0.0015745917, -0.0080097588, 0.0426201373, -0.011002806, 0.0137149496, 0.0036533368, -0.0147367585, 0.065178223, 0.0612525716, -0.0061682886, -0.0023814165, -0.0343875252, -0.0250478182, -0.0259550009, -0.0246852376, -0.1007302478, 0.0028067608, 0.0710971132, 0.0395167693, 0.0201080292, -0.0435535759, 0.0117080584, 0.0351070054, 0.0324589685, 0.0135520259, 0.0233373307, 0.0067178812, 0.0050384458, -0.0024626949, -0.0621927306, 0.0075724521, -0.0155314356, -0.017292222, -0.0135014998, 0.0417505912, 0.0104868812, -0.0106497668, -0.0256177746, -0.0036952258, -0.0240625404, -0.0538882501, 0.0506103747, -0.1048455089, -0.0116573134, -0.0245855134, -0.0310553964, -0.0074581136, -0.0287704077, -0.0058927932, -0.0074515096, -0.0053699077, -0.0167715549, 0.03470001, 0.0106444126, -0.0563212521, 0.0417260155, 0.0638484806, -0.0243549086, -0.0183005445, 0.0063091526, 0.0038038162, 0.0233890396, 0.0273526441, 0.0067626331, 2.334961341e-34, -0.0039944872, -0.0122797079, 0.006686585, -0.0230047833, -0.0002084404, 0.025868468, -0.0400016271, 0.028134549, 0.0256180037, -0.031838458, -0.0250799358 ]
http://arxiv.org/abs/2402.01035v2
http://arxiv.org/pdf/2402.01035v2
Getting the most out of your tokenizer for pre-training and domain adaptation
2024-02-01T21:49:34
2024-02-07T10:51:11
Gautier Dagan, Gabriel Synnaeve, Baptiste Rozière
cs.CL
cs.CL
Tokenization is an understudied and often neglected component of modern LLMs. Most published works use a single tokenizer for all experiments, often borrowed from another model, without performing ablations or analysis to optimize tokenization. Moreover, the tokenizer is generally kept unchanged when fine-tuning a base model. In this paper, we show that the size, pre-tokenization regular expression, and training data of a tokenizer can significantly impact the model's generation speed, effective context size, memory usage, and downstream performance. We train specialized Byte-Pair Encoding code tokenizers, and conduct extensive ablations on the impact of tokenizer design on the performance of LLMs for code generation tasks such as HumanEval and MBPP, and provide recommendations for tokenizer hyper-parameters selection and switching the tokenizer in a pre-trained LLM. We perform our experiments on models trained from scratch and from pre-trained models, verifying their applicability to a wide range of use-cases. We find that when fine-tuning on more than 50 billion tokens, we can specialize the tokenizer of a pre-trained LLM to obtain large gains in generation speed and effective context size.
Getting the most out of your tokenizer for pre-training and domain adaptation: Tokenization is an understudied and often neglected component of modern LLMs. Most published works use a single tokenizer for all experiments, often borrowed from another model, without performing ablations or analysis to optimize tokenization. Moreover, the tokenizer is generally kept unchanged when fine-tuning a base model. In this paper, we show that the size, pre-tokenization regular expression, and training data of a tokenizer can significantly impact the model's generation speed, effective context size, memory usage, and downstream performance. We train specialized Byte-Pair Encoding code tokenizers, and conduct extensive ablations on the impact of tokenizer design on the performance of LLMs for code generation tasks such as HumanEval and MBPP, and provide recommendations for tokenizer hyper-parameters selection and switching the tokenizer in a pre-trained LLM. We perform our experiments on models trained from scratch and from pre-trained models, verifying their applicability to a wide range of use-cases. We find that when fine-tuning on more than 50 billion tokens, we can specialize the tokenizer of a pre-trained LLM to obtain large gains in generation speed and effective context size.
[ 0.0161132384, 0.0746295005, 0.0062264549, -0.0015635518, 0.011285617, 0.0109303156, 0.011455995, 0.0242660344, -0.0623396486, -0.0701432154, -0.0212147608, -0.0019974397, -0.0654143766, 0.0377111174, 0.0648325086, 0.0084513389, 0.0758742094, -0.0153272673, 0.0046186545, 0.0116075333, -0.0123993941, -0.0034526798, 0.0244972967, 0.0734612569, -0.0304257702, 0.0168375224, -0.0205651969, 0.0584119484, -0.0339706875, -0.0416267663, -0.0011682314, 0.0116525143, 0.0099157039, -0.0033846595, 0.0000018633, -0.0508915335, -0.0401828475, 0.0145188356, -0.0100978818, 0.0520666987, 0.0352218226, -0.0134409498, -0.0282888114, 0.0426045433, -0.0237838421, -0.0086485362, 0.0622989163, 0.0228258837, 0.050254982, 0.0883511677, -0.0002489936, 0.0046895146, 0.0335782953, 0.0160333049, 0.013694576, -0.0223258827, 0.0146643445, -0.0233369954, -0.0142050656, -0.0243525691, -0.0263836831, -0.0301021934, 0.004399288, 0.001280764, 0.0031128118, 0.0138385557, -0.0394233875, 0.0069468268, -0.0330388062, 0.0059278766, -0.0454650894, -0.0254131015, 0.0183411594, 0.0102692824, -0.0063350261, -0.0534229353, -0.0090762228, 0.0400491804, 0.013087661, 0.0361721851, 0.0146532003, -0.0244820807, 0.0257211979, -0.009739833, -0.0498513579, 0.0605649687, 0.0318771005, -0.006539647, -0.0209814254, -0.0089780996, -0.0175484959, -0.0838630199, 0.0109647075, 0.0373634771, -0.0073036025, 0.0056734346, -0.0852913037, -0.0344957188, 0.0285327509, -0.0007787434, 0.0273864344, 0.0657968894, -0.0290597286, -0.0327716544, -0.0967017934, 0.0276844855, -0.0122532733, 0.0415965021, -0.0177241731, -0.0005342721, -0.0403098501, -0.002348159, -0.0596253537, 0.0816334859, -0.0239224788, 0.0318490118, -0.0380722359, 0.0536157601, 0.029381847, 0.008074983, -0.0160110127, -0.0246342532, -0.0231288299, 0.0181131978, -0.0097957077, -0.0314235352, -0.0399500653, -0.0129150059, 0.0162246469, -0.0884218886, -0.0222557019, 0.0151090324, -0.0166192427, -0.0409848951, 0.0258919634, 0.1108825877, -0.0003384278, -0.0214298014, -0.0758763999, -0.0433127843, 0.0323049165, -0.0042044506, 0.0000188, -0.0568783022, -0.0275111068, -0.0041761645, -0.0166339111, -0.0509652533, -0.0021578914, -0.0232067071, -0.0033071914, 0.038747821, -0.0457800105, -0.0340254754, -0.0151457647, -0.0157344285, -0.0140034594, 0.0682974905, 0.0209545158, 0.0356714502, 0.0251787379, -0.0244402718, 0.0077629643, 0.0439448617, 0.0086194836, -0.0054358323, -0.0141843269, 0.010573077, 0.047566928, 0.0057283482, 0.097814396, 0.0494817309, -0.0514992364, 0.0044343546, -0.0160737392, 0.0675515458, 0.0278491396, 0.0371403545, 0.0811927617, -0.0056579611, -0.0146110719, -0.0241778661, -0.0397165604, 0.0030669537, -0.0015901569, 0.0058925003, 0.0167581253, 0.0721758232, -0.0134419557, -0.0518984981, -0.0144647239, -0.0178085789, -0.0238403231, -0.057564199, 0.0178377982, 0.0062314039, -0.0657176897, 0.0914234817, 0.0128499344, -0.0857359022, -0.0212761592, -0.0815800428, -0.0028559475, 0.0600273497, 0.0552910082, -0.0374462567, -0.0414679535, 0.002059785, -0.0033823063, -0.0090160351, 0.0418006815, 0.0107326992, 0.0291779451, -0.0664876252, -0.0238263085, -0.0514757261, 0.0192974694, 0.0416854322, 0.025817506, -0.0084853014, 0.0285744928, -0.0393315963, -0.0040961243, 0.0726047531, 0.0221515689, -0.0309848022, 0.0402355008, -0.0053267665, 0.03549264, -0.0068099382, -0.0363949724, 0.0252111144, 0.0405415595, -0.0180646218, 0.00549404, 0.001675653, -0.0342015587, 0.0026449419, 0.0624273159, -0.0114013646, 0.0167962629, 0.0024034993, -0.0269121006, -0.0391087793, 0.0246127322, -0.0326028578, 0.0822510347, -0.005946713, 0.0584440008, -0.0143245738, 0.0105657894, -0.0557698756, -0.0043500387, 0.0114114927, -0.0430869609, -0.0319389701, 0.0447793603, 0.0383492149, -0.0049751517, -0.0176075138, -0.0324901156, -0.0350123718, 0.0073609329, 0.0081729637, 0.0423394702, -0.0330953859, -0.0345958993, -0.0811710432, 0.0389577709, -0.0284668151, 0.0431610085, 0.0091427043, 0.0338116772, -0.0106162298, -0.0037300317, -0.0344158784, -0.0116887856, -0.0253848042, 0.007636616, 0.0225151349, -0.0001690671, -0.0599221326, -0.0180676188, -0.0066619781, -0.0202436224, 0.0453310125, -0.0345407687, -0.0157789495, -0.0530526042, 0.0588810556, -0.0056734406, 0.0384463854, 0.0042347396, -0.0471075326, 0.0336331241, -0.0326365121, 0.0311361253, 0.0266219862, 0.0075381291, 0.0174991228, 0.050932847, 0.0241434928, -0.0793642849, 0.0114425598, 0.0315445587, -0.0518193915, -0.0515403748, -0.0046542636, 0.0692214593, 0.05546543, -0.0342308208, -0.0206489172, -0.0227280948, 0.0073654093, 0.0331222899, -0.0534344949, 0.0138190426, -0.022951128, 0.0007302666, 0.052725438, 0.0037029928, -0.0736688673, 0.0350237787, -0.0394194648, 0.0071618413, -0.0245344844, 0.0126861986, -0.053399194, 0.0190460812, -0.0212717932, 0.0197484158, 0.0068148812, -0.0640469417, -0.0211743973, 0.0037633381, -0.0191328712, -0.0107894372, 0.0345454104, -0.0279180631, 0.004213552, -0.0261543337, -0.0476810858, -0.0596211068, 0.0146656791, -0.0133778015, 0.0036875694, 0.0604248568, -0.0098726209, -0.0201669931, 0.0196269806, -0.0254221372, 0.0160028674, 0.0046091639, -0.0330264829, -0.0125304814, -0.0054235486, -0.0068698945, -0.0039080828, 0.0217677653, 0.014502882, -0.0111046536, 0.0511354543, 0.0384237692, -0.0250569154, -0.0527162142, 0.0317412317, 0.0506525822, -0.0681493655, -0.0063805478, 0.0370923877, 0.0873884559, -0.0404864885, -0.0271922164, 0.0972128958, 0.0333920047, -0.034317784, 0.028148273, -0.0140631367, 0.0249229092, 0.0358040705, 0.0393913724, -0.0875260383, -0.0236978605, 0.0279824734, 0.0247500781, -0.0215806384, -0.0112875011, -0.0177852213, -0.0904125497, 0.0137962457, 0.0305893663, -0.0275600962, 0.0176522192, -0.0330569893, -0.041499, 0.0055264523, 0.0399433523, 0.02776918, 0.004052815, 0.0124636032, 0.0270927474, -0.0007505573, -0.0044894065, -0.0135301454, -0.0573417619, 0.0448962525, 0.0912831351, -0.0295747519, 0.0054880115, -0.0226354916, 0.0781417042, 0.048431538, 0.0370709971, -0.0446769707, 0.010369434, -0.015720509, -0.0098206578, 0.0372088626, 0.006108054, -0.0272946116, -0.0264557395, 0.0244341176, 0.0126159238, -0.0110708857, 0.0112866461, -0.038536761, -0.0352468863, -0.0365566686, 0.042878028, 0.0492263287, -0.0204064157, -0.0584962592, -0.0757856593, -0.0379068404, -0.0962398499, 0.0218351707, -0.0320598483, -0.021081632, -0.0133428695, -0.0539358072, 0.0375408866, 0.0291142575, 0.0663134977, 0.00314964, -0.016589053, -0.0320803858, -0.0024600145, -0.0757458806, 0.0255738311, -0.0330490582, 0.0008028748, -0.0843106955, -0.0119977882, 0.0133863147, -0.0115732439, 0.0004586675, 0.0021482995, -0.0500100479, -0.0717443004, -0.0284346417, 0.0829629824, 0.0169938169, 0.0526434854, -0.012150581, -0.0487226546, 0.0118949255, 0.0481136441, -0.0451677106, 0.0242083427, 0.0577115156, 0.0000955444, 0.0090099378, -0.0226952713, -0.0489073135, 0.0066217291, 0.0504100733, 0.0002434901, 0.0258774646, 0.0115395878, 0.0241567716, 0.0687036514, 0.0016800289, -0.026777124, 0.0084408121, 0.0395547748, 0.0215175208, -0.0184542816, 0.0150372256, -0.0407099314, 0.0130347498, -0.006269264, 0.0039420468, 0.0106601613, -0.025088843, -0.0377085581, 0.0603438616, 0.0224508271, 0.0373021327, -0.0422750376, 0.0507832058, 0.0544546433, -0.0093815355, 0.000925797, -0.0115122395, 0.0244042575, 0.0196013991, -0.04790603, -0.0164949596, 0.0003599562, 0.0736563578, -0.0462690257, 0.0483753048, -0.0205536876, -0.0308550335, -0.0273243245, 0.01454446, 0.0467129573, 0.0294110868, 0.0166769251, -0.0015934929, 0.0072606974, -0.00583841, 0.0220013298, -0.0095260879, -0.0069937254, 0.027725067, -0.0105069103, -0.0426160581, -0.0487489104, 0.0684348866, 0.0184327234, 0.0552621819, -0.0119686937, 0.0059552751, -0.0399429016, 0.0223194081, 0.0415465869, 0.03219188, -0.0091251777, -0.0437637679, -0.0197365247, -0.0546333157, 0.020193819, 0.0046707555, 0.024085924, 0.0301195551, 0.0302666947, 0.0704172403, 0.0069978451, -0.0218475871, -0.0127987713, -0.0041949535, 0.041730728, -0.040009737, 0.013269335, -5.455918174e-33, -0.0111627514, -0.0052931439, 0.037684571, -0.0149265463, -0.0237879362, -0.0169411357, -0.0072474713, -0.0165966824, 0.0208606273, -0.0577386171, -0.0016155363, -0.0034652385, 0.0148271378, 0.0042029889, 0.0092098992, 0.0139858788, 0.0591024272, -0.0045679412, -0.0468428917, -0.0150677022, -0.0127830161, 0.0328332484, 0.0149053652, -0.036057204, -0.0564162657, 0.0271221008, -0.0120251244, -0.0275761429, 0.0282557253, 0.0590186939, 0.0085388422, 0.017068876, -0.0013142055, -0.0170838833, -0.0414469205, -0.0100212172, -0.0610946119, -0.0236612689, 0.0239214804, 0.0135008106, 0.0289586931, -0.1304963529, 0.0674511492, 0.0234304257, -0.0460387282, 0.023952039, -0.0233652424, -0.0036220846, -0.0155787356, -0.0614238977, -0.0521252081, 0.0111993114, -0.0213380493, 0.0346899107, 0.0194517784, -0.0410346612, -0.0012717484, 0.0408854708, 0.0079619735, 0.0271812156, 0.0249732658, 0.0278143231, 0.0684846044, 0.0168361887, 0.0176161826, 0.0385972783, 0.0461949483, 0.0139353015, 0.0128905466, 0.0281298254, 0.0521304533, 0.042678386, 0.0010975322, 0.0155247441, 0.0563609935, -0.0422982462, -0.0620769374, 0.0335680321, 0.0149367275, 0.0104974881, 0.007269308, 0.073940374, 0.0142894862, 0.008768267, -0.0276650768, 0.0190629363, -0.0144561222, -0.0645487905, 0.0464872383, -0.0029509801, -0.0209188722, -0.008631276, 0.0344516672, -0.0335308611, 0.0125852199, -0.0112077435, -0.0110428771, 0.0021595925, -0.0163863096, -0.0057239151, 0.0006300525, -0.064006187, 0.0436821021, -0.0525133274, 0.0501091778, -0.0217379853, 0.0259938613, 0.0012572957, -0.0831870139, -0.0004435391, -0.0324233063, 0.0232592914, 0.043646574, 0.0386045538, -0.0057979277, -0.0132637108, 0.0094761821, -0.0194520913, -0.0169507079, -0.0583536364, -0.0328658558, 0.0219475776, 0.0336971991, 0.0517966338, -0.0425340272, 0.0050491439, -0.0366972573, 0.0428317189, 0.0303240716, -0.0571903661, -0.0600978695, 0.01154612, 2.638e-7, 0.0500532389, 0.0422791801, 0.0420850255, -0.0128413364, 0.0021725392, 0.0087057408, 0.001768996, 0.0048596738, -0.0107519673, 0.0340402909, -0.020406248, 0.0194141082, 0.0163914096, 0.0087193325, -0.0535896607, 0.0137532568, 0.0069148811, 0.0173046887, -0.0528531298, 0.0086902902, 0.0187684614, 0.0989536718, -0.0294138547, -0.016465418, 0.0364270173, -0.0301745739, 0.0125849452, -0.0255940668, -0.0016804879, 0.0296758339, -0.0336387865, 0.0117395474, 0.0064721066, -0.00689526, -0.0183707587, 0.0049515357, -0.0177726503, 0.0630453229, -0.0017439768, -0.017872192, 0.0399239436, -0.0230444353, 0.0157259032, -0.0159220397, 0.0541365184, 0.0148603562, -0.0002436053, -0.0436910726, -0.037718825, -0.0137410881, -0.0473239869, -0.0298040565, 0.0223162379, 0.0573927201, 0.0235783774, -0.0078828996, -0.0205276255, -0.0706942454, -0.025872143, -0.0158329234, -0.026321549, -0.0668802336, -0.0563430488, 0.0590486005, 0.0520762242, -0.0316537693, -0.0114738718, 2.887649627e-34, 0.0375298783, -0.0604305044, 0.0256962515, 0.0850254148, 0.0313375182, -0.0090392586, -0.0144260311, 0.0398232229, -0.0007013681, -0.0215294864, -0.0121217938 ]
http://arxiv.org/abs/2402.01032v2
http://arxiv.org/pdf/2402.01032v2
Repeat After Me: Transformers are Better than State Space Models at Copying
2024-02-01T21:44:11
2024-06-03T22:22:15
Samy Jelassi, David Brandfonbrener, Sham M. Kakade, Eran Malach
cs.LG
cs.LG, cs.AI, cs.CL
Transformers are the dominant architecture for sequence modeling, but there is growing interest in models that use a fixed-size latent state that does not depend on the sequence length, which we refer to as "generalized state space models" (GSSMs). In this paper we show that while GSSMs are promising in terms of inference-time efficiency, they are limited compared to transformer models on tasks that require copying from the input context. We start with a theoretical analysis of the simple task of string copying and prove that a two layer transformer can copy strings of exponential length while GSSMs are fundamentally limited by their fixed-size latent state. Empirically, we find that transformers outperform GSSMs in terms of efficiency and generalization on synthetic tasks that require copying the context. Finally, we evaluate pretrained large language models and find that transformer models dramatically outperform state space models at copying and retrieving information from context. Taken together, these results suggest a fundamental gap between transformers and GSSMs on tasks of practical interest.
Repeat After Me: Transformers are Better than State Space Models at Copying: Transformers are the dominant architecture for sequence modeling, but there is growing interest in models that use a fixed-size latent state that does not depend on the sequence length, which we refer to as "generalized state space models" (GSSMs). In this paper we show that while GSSMs are promising in terms of inference-time efficiency, they are limited compared to transformer models on tasks that require copying from the input context. We start with a theoretical analysis of the simple task of string copying and prove that a two layer transformer can copy strings of exponential length while GSSMs are fundamentally limited by their fixed-size latent state. Empirically, we find that transformers outperform GSSMs in terms of efficiency and generalization on synthetic tasks that require copying the context. Finally, we evaluate pretrained large language models and find that transformer models dramatically outperform state space models at copying and retrieving information from context. Taken together, these results suggest a fundamental gap between transformers and GSSMs on tasks of practical interest.
[ 0.0228232704, 0.0804753453, -0.0093130423, 0.0174628142, -0.0670726299, 0.0028901321, 0.0167699717, -0.0000413182, -0.0589296557, -0.036595121, -0.0034674464, -0.076499626, 0.0277413297, 0.0224725679, 0.0362640396, -0.0649292991, 0.0461344272, -0.0344700739, -0.0402353853, 0.0106461328, -0.0124877365, -0.0519452989, 0.0071099773, 0.0604416579, 0.0181839168, 0.0136999078, -0.0410012342, -0.0248545371, 0.0154988859, -0.0051018004, -0.0157871954, 0.0357289724, 0.0402696654, 0.0287299603, 0.0000017343, -0.0045051291, 0.0147103621, -0.0002689878, -0.0096214572, 0.0117420992, 0.0075114197, -0.0089118825, -0.0037151913, 0.0310645998, -0.0257674437, -0.046273686, 0.060203068, 0.0391388088, 0.0482833348, 0.0989551321, -0.0249097031, -0.0306255817, 0.0228441563, -0.0617200211, 0.0166522954, -0.0265295394, 0.0405574739, -0.0129853832, 0.0194118638, 0.0060536549, -0.0478992686, 0.0469755642, 0.0201971456, 0.0176839959, -0.0325662643, 0.0461638719, 0.0070374091, -0.0287018195, -0.0043086731, 0.0690007582, -0.0489407219, -0.0167487357, 0.0188317653, -0.0017730265, 0.0049170069, 0.0293223895, -0.0230265688, 0.0492439754, -0.0061443867, 0.0289061926, -0.0092990967, -0.0095329825, 0.0426170528, -0.0258089695, -0.0579823256, 0.0229069032, 0.0225418303, -0.0314713605, -0.0494942181, -0.0142053943, 0.0175925009, -0.0856930315, 0.0328432694, 0.0638398007, -0.008200394, 0.0157630723, -0.054808896, -0.0528849661, -0.0298806131, -0.000228315, 0.0395638309, 0.0438735299, -0.015971357, 0.0276813339, -0.0328858346, 0.0704501122, -0.0588591509, 0.0485633612, -0.0406875685, -0.0013871291, -0.040523883, 0.0042285994, -0.0377605185, 0.0452660099, -0.0035882145, -0.0516970456, -0.0301802661, 0.0246601123, 0.0135283712, -0.0263885055, 0.0139120175, 0.010994412, -0.0331192017, 0.0069848779, 0.0013684066, 0.0248748995, 0.0253856089, 0.0343289711, 0.0392868742, -0.0297905263, -0.0407645218, 0.0097032338, 0.0469594449, -0.014606812, -0.0082871309, 0.0707083046, -0.0039080433, -0.0786744505, -0.0125649096, 0.0307899378, 0.0029427037, -0.0494582504, 0.0227604508, -0.0332272127, 0.0189018697, 0.0161067341, -0.0012150292, -0.0246303994, 0.0154319182, 0.0307572614, -0.0078401817, 0.0635050535, 0.0380547307, -0.0029648575, -0.0148307076, 0.0082110707, -0.0013490143, -0.0206788313, 0.0427165478, 0.0422064848, -0.0073064147, -0.0149271749, 0.0433851108, 0.0484859385, 0.0076830792, 0.0057391017, -0.0081201056, -0.0477162786, -0.0161301009, 0.0145557299, 0.0309611037, 0.0801687613, -0.0463467799, 0.0120758172, 0.0828043893, 0.0506847054, 0.0553340651, 0.034610521, 0.0941092521, 0.0320363529, -0.0045174663, 0.0017749051, -0.0276520401, 0.042138502, 0.0219246075, 0.0222217478, 0.0034265558, 0.0261102803, -0.0336518884, -0.003582112, -0.0124740629, -0.0492770635, -0.0063743661, -0.0210059509, 0.067023553, 0.0264045298, -0.0922308788, 0.0813498497, -0.0211195517, -0.057086587, 0.0049480191, -0.0534263887, 0.0036602644, 0.0146116698, 0.0236570463, -0.017560605, -0.0349997468, -0.0114746653, -0.0184020642, 0.0185176395, 0.0085225524, 0.0132010197, 0.0125757111, -0.0330139697, -0.0449998342, 0.0188899338, -0.006547031, 0.0079970974, 0.0400853641, 0.0241473522, 0.0480650179, -0.0113817928, 0.0072338609, 0.0301169623, -0.0302866716, -0.0307516661, -0.0124419592, -0.0079439413, 0.0463506654, -0.0175897628, -0.0163580645, 0.0445071608, 0.0288619902, -0.0389749072, -0.0605602786, 0.0272124447, -0.117847532, -0.0401412547, -0.0076154396, -0.0201907903, 0.0525537208, 0.0776953772, -0.052777335, -0.0580221415, 0.0113108549, -0.0601290278, 0.0314947404, -0.0295211691, 0.015693225, 0.0426829979, 0.0393378474, -0.0106489072, 0.0406859964, -0.0394132547, -0.0181683097, 0.030980764, 0.0272377059, -0.0079080146, -0.0024889449, -0.0313756242, -0.0100013018, -0.0267927181, -0.0046199234, 0.0177262481, -0.0250457376, 0.0033675786, -0.0188266989, -0.0418412164, -0.0171495136, -0.0368592031, 0.0358823314, 0.0111781573, 0.0482233316, 0.0159714818, 0.0045018853, -0.0399574041, 0.0071149208, 0.0098611135, 0.0120183825, 0.0327679329, 0.0203075316, -0.0388019942, -0.051447317, -0.020159144, 0.0010932292, 0.0669004247, -0.0479171015, -0.0298770536, -0.0651330873, 0.0065466091, 0.0116042979, 0.0381900929, -0.0333017036, -0.0176812001, 0.0045194449, -0.0310080126, 0.0625597164, 0.0251235887, 0.0346491337, 0.0232617352, 0.008261295, 0.0073553589, -0.0128334472, 0.0089197718, -0.0706515983, 0.0120679252, -0.0700605959, -0.0006291115, 0.0407695584, 0.1027667746, -0.0131809646, -0.0040779924, -0.0785655603, -0.0341135524, 0.0008711335, -0.0032904439, 0.009182875, -0.0300878584, -0.0661782697, 0.0060586603, -0.0315610841, -0.0208030585, 0.0417866781, -0.0512586161, -0.0018897275, 0.0198223125, -0.0096224053, -0.0339791402, 0.076024048, 0.0380350575, -0.0017940676, -0.021462163, -0.0178696103, -0.0328893177, 0.0268237665, 0.0270988569, -0.0169383585, 0.0295137744, -0.0475852825, 0.0277481973, -0.0170082245, -0.0471970439, -0.0341954678, -0.0027352325, -0.0158500373, 0.0059110527, 0.0355374925, -0.0344110392, -0.0476472154, 0.0349736027, 0.0279729012, 0.1104861423, -0.0062084091, 0.0053098747, -0.020429017, 0.0640324578, 0.0336828195, 0.0011607582, 0.0115173515, -0.0355892479, 0.0015240078, 0.0460878462, 0.0372984149, 0.0318801142, -0.0365592875, -0.0007601667, 0.0405997932, -0.0353798568, -0.0363765843, 0.0380356461, 0.0390233733, -0.0404875763, -0.0477380492, 0.0926680863, 0.0075380984, -0.0423723087, 0.0253460649, 0.0158336181, -0.009206038, 0.0124211004, 0.0033892002, -0.0639639646, -0.0347450636, 0.0116213262, -0.0252744295, -0.0009299275, -0.0236862358, -0.0146199875, -0.0707385913, -0.0196586307, -0.0189049598, -0.0732208863, -0.0467765816, -0.0430169366, 0.0083591156, 0.0041409847, -0.0124976598, 0.0253760759, -0.0247217286, -0.0008538712, 0.0429721326, -0.0141821494, -0.052366592, 0.013411439, -0.0058881165, 0.0236317459, 0.0703005418, 0.0040256223, 0.0054759798, -0.0786116794, 0.0397704206, 0.0034837704, 0.0217251293, 0.0215994995, 0.0215383042, -0.019246513, -0.0158907566, -0.0153525015, 0.0376927108, -0.0347152613, -0.0176315177, -0.0249750242, 0.0348743014, -0.0022667574, -0.0482918583, -0.0040756678, -0.0377002358, 0.0056339647, 0.0628454536, 0.0449659601, -0.0291730203, -0.050108701, 0.0098944623, -0.0192092843, -0.0521012247, -0.0355970785, -0.0160742961, 0.0444030054, -0.0509824753, -0.0737496689, -0.0363693424, 0.0169676375, 0.0281641986, 0.0051432373, -0.0121513559, 0.0544199124, 0.0013354199, -0.0432844907, -0.0146618551, -0.0288804676, 0.0272431821, -0.0274428893, -0.0059652748, 0.0260679033, 0.0070595094, -0.061585445, -0.0407156385, -0.1350759268, -0.0339655951, 0.0406056792, 0.0574786738, 0.0191684701, 0.00713077, 0.0146742873, -0.0005445987, 0.0572496802, 0.0088393968, -0.0095483344, -0.0069537931, 0.0420501307, -0.065549843, 0.0116376812, 0.032742314, -0.0345724262, 0.0224856492, 0.0246418454, 0.0378885008, -0.011611877, -0.0308469404, 0.002475362, -0.021832943, 0.0506616868, 0.0085856067, 0.0218169447, 0.0176748764, 0.0255849063, 0.0078800097, 0.0377955176, -0.0616540872, -0.0144828008, 0.0277020577, 0.0470326692, 0.0060063079, 0.0110224839, 0.030017674, 0.0084613152, 0.0094175749, 0.0000722269, 0.0044961404, 0.0094939899, 0.0546016693, 0.0031553488, -0.0129385525, 0.0018430433, 0.0197951943, 0.0274131764, -0.0375352278, 0.0439077094, 0.034645386, 0.0381031595, -0.0105728172, 0.0251673032, -0.1030034199, -0.0222798195, -0.03478783, -0.0003872798, 0.0666977763, -0.0097499546, 0.0264362656, -0.0370416306, 0.0198036451, -0.0095158145, 0.0669572949, -0.0170363132, -0.0293570925, 0.0256801751, 0.0138937822, 0.0137148146, 0.0150088184, 0.0948971733, 0.0323337056, 0.0590255, -0.0285160486, 0.0082353614, -0.0347492211, -0.0308761243, -0.0079740984, -0.006041192, -0.0087839467, -0.0190287512, -0.0386471599, -0.0782465786, 0.0283168387, 0.0054635047, 0.0239213463, -0.0319793336, 0.0517930537, 0.0563130043, 0.0009050332, -0.0128969504, -0.024068933, -0.0135672865, 0.0303307157, -0.0249573458, -0.0064152945, -5.659770568e-33, -0.0062479791, -0.00051762, 0.0470396169, 0.0044659269, -0.0636824816, 0.000757166, -0.0741673335, -0.0078592636, 0.0151516004, -0.0131896855, -0.02360126, 0.0113085117, 0.0155334538, 0.061462339, -0.0066980836, -0.0225265156, 0.0646685809, 0.0148310307, -0.0119098639, 0.0067296997, 0.0028383881, 0.0418679453, 0.0626454875, -0.0002852124, -0.015730273, -0.013383409, 0.0308532864, -0.0230200961, -0.0230799839, 0.0089955898, -0.0238535255, 0.0112916222, 0.0229154266, -0.0748609975, -0.0278032199, 0.0316381752, -0.0502179153, -0.0168944318, -0.0053188875, -0.0174235534, -0.0454131402, -0.0174346771, 0.0332605205, 0.0175836757, 0.0096607609, 0.0067139948, 0.0288117602, 0.0006752319, -0.0410329811, -0.0538479611, -0.0611794144, 0.0077660517, 0.0254626535, 0.0000103571, 0.0261180773, 0.0664604381, -0.0367360227, 0.0132087329, -0.0363254286, 0.0122151645, -0.001882406, 0.0649668276, 0.0493490994, 0.0461753085, 0.0135154286, 0.0120714232, -0.0063373824, -0.0462324284, -0.066838868, -0.0170567036, 0.0305714421, 0.0238479916, 0.0239412244, -0.0119394613, 0.0208455771, -0.0211019181, -0.032204099, 0.0017376437, -0.005965997, 0.0564039424, 0.0151283331, 0.007919034, 0.0041531995, -0.0060076374, -0.0412647761, 0.0234697629, 0.000101728, -0.014330945, 0.0359689482, 0.0488499887, 0.0041334615, 0.0244079381, 0.0575275049, -0.021827288, -0.0146412784, -0.0214935672, -0.0056828512, 0.0174296256, -0.0215508901, -0.0159854107, -0.0944696739, -0.0395403244, 0.0168971717, 0.0438455492, 0.0139548834, -0.0044518826, 0.0174210127, 0.0591708533, -0.0678892657, -0.0274585709, -0.0563422218, 0.0206293855, -0.0218443759, 0.0412921347, 0.0671224967, 0.0144020859, -0.0226114374, 0.0190117378, -0.0350761749, -0.0342719629, -0.0133592021, 0.0185688771, 0.0208379589, 0.0238596182, -0.0378892794, -0.021886345, -0.0852570608, 0.0651768371, 0.0169704054, -0.0681360736, -0.0263911858, 0.0326631106, 2.467e-7, 0.0285137109, -0.0027797034, 0.0604795925, 0.0079099946, 0.0191566236, 0.0251353737, -0.0034467052, 0.0259177685, -0.0014274776, 0.0374004506, 0.0312498473, 0.0268794149, 0.0330220386, -0.0369883738, -0.1053902507, -0.0311674923, -0.0875376314, 0.0088848202, -0.0216647424, -0.0026228214, 0.0346502885, 0.0916839167, 0.0194942486, -0.0110081807, 0.0208451953, -0.0099356556, 0.0668120831, 0.0088855503, 0.0483975485, -0.0068829693, 0.0153162358, 0.0157111399, -0.0049767862, 0.0032802005, -0.0115761617, -0.0109480098, -0.0017647939, 0.0633430183, 0.0030255087, -0.0367652215, -0.0283092111, 0.0161757935, -0.0198193137, -0.0203034077, 0.0552322194, -0.091383256, -0.0066726189, -0.021222936, -0.0464483537, 0.033122167, -0.0613887832, 0.0390950814, 0.0018553212, 0.0084202606, 0.0127172349, 0.0205854792, 0.0101729985, -0.1027270406, 0.0075894799, -0.0148385186, -0.0505643226, -0.01152445, -0.0988917202, -0.0088389162, 0.0530913174, -0.0045357421, -0.0503925607, 2.275657422e-34, -0.0099787358, -0.0213128664, 0.018385794, 0.0258426145, -0.0347241499, -0.0130047509, 0.0216246694, 0.0189876165, -0.0190062523, -0.0464868285, -0.0636354163 ]
http://arxiv.org/abs/2402.01030v4
http://arxiv.org/pdf/2402.01030v4
Executable Code Actions Elicit Better LLM Agents
2024-02-01T21:38:58
2024-06-07T01:53:07
Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, Heng Ji
cs.CL
cs.CL, cs.AI
Large Language Model (LLM) agents, capable of performing a broad range of actions, such as invoking tools and controlling robots, show great potential in tackling real-world challenges. LLM agents are typically prompted to produce actions by generating JSON or text in a pre-defined format, which is usually limited by constrained action space (e.g., the scope of pre-defined tools) and restricted flexibility (e.g., inability to compose multiple tools). This work proposes to use executable Python code to consolidate LLM agents' actions into a unified action space (CodeAct). Integrated with a Python interpreter, CodeAct can execute code actions and dynamically revise prior actions or emit new actions upon new observations through multi-turn interactions. Our extensive analysis of 17 LLMs on API-Bank and a newly curated benchmark shows that CodeAct outperforms widely used alternatives (up to 20% higher success rate). The encouraging performance of CodeAct motivates us to build an open-source LLM agent that interacts with environments by executing interpretable code and collaborates with users using natural language. To this end, we collect an instruction-tuning dataset CodeActInstruct that consists of 7k multi-turn interactions using CodeAct. We show that it can be used with existing data to improve models in agent-oriented tasks without compromising their general capability. CodeActAgent, finetuned from Llama2 and Mistral, is integrated with Python interpreter and uniquely tailored to perform sophisticated tasks (e.g., model training) using existing libraries and autonomously self-debug.
Executable Code Actions Elicit Better LLM Agents: Large Language Model (LLM) agents, capable of performing a broad range of actions, such as invoking tools and controlling robots, show great potential in tackling real-world challenges. LLM agents are typically prompted to produce actions by generating JSON or text in a pre-defined format, which is usually limited by constrained action space (e.g., the scope of pre-defined tools) and restricted flexibility (e.g., inability to compose multiple tools). This work proposes to use executable Python code to consolidate LLM agents' actions into a unified action space (CodeAct). Integrated with a Python interpreter, CodeAct can execute code actions and dynamically revise prior actions or emit new actions upon new observations through multi-turn interactions. Our extensive analysis of 17 LLMs on API-Bank and a newly curated benchmark shows that CodeAct outperforms widely used alternatives (up to 20% higher success rate). The encouraging performance of CodeAct motivates us to build an open-source LLM agent that interacts with environments by executing interpretable code and collaborates with users using natural language. To this end, we collect an instruction-tuning dataset CodeActInstruct that consists of 7k multi-turn interactions using CodeAct. We show that it can be used with existing data to improve models in agent-oriented tasks without compromising their general capability. CodeActAgent, finetuned from Llama2 and Mistral, is integrated with Python interpreter and uniquely tailored to perform sophisticated tasks (e.g., model training) using existing libraries and autonomously self-debug.
[ 0.014943731, 0.0604493544, -0.0173248239, 0.0293273088, -0.0170146227, 0.0256824531, -0.0116490191, -0.0222226232, 0.0428530276, -0.0406153537, -0.0311527904, 0.0353065096, -0.0316151604, 0.0720818564, 0.0225038622, -0.0387798473, 0.054419782, -0.0474654548, 0.0079475809, 0.0141019123, -0.0187169835, 0.0069511933, -0.0383804962, 0.0809039772, 0.0222121049, -0.0136608742, -0.0437251106, 0.0117783723, 0.0070843762, -0.0136360154, 0.0030146008, 0.0280205775, 0.0652401373, 0.0389130414, 0.0000020971, -0.0508191176, 0.0139601072, -0.0151906321, -0.0345745832, -0.0193388909, 0.0408809334, -0.0136836432, -0.0051008081, 0.02607584, -0.069845356, -0.0006730346, 0.0438113995, -0.0210339818, 0.0763436109, 0.0705966577, 0.0137643525, 0.0322094932, -0.0022687151, 0.0040359329, -0.0209799856, -0.0182314441, -0.0013778902, 0.0061970991, 0.0397107378, 0.0031250017, -0.0195381641, 0.0097195115, 0.0330701917, -0.0274470598, -0.0044286088, 0.0469494127, -0.0403636545, -0.0554407239, -0.0451192483, 0.0641683191, -0.0146474866, -0.0159317721, 0.0178635884, -0.0107381511, 0.0060891057, -0.0182493366, -0.0304251052, 0.0315572768, 0.0099828644, 0.0070909266, 0.0001776156, -0.0489984713, 0.0226432215, 0.0009907905, -0.0289109182, 0.0900358185, -0.0093531776, 0.0103183025, -0.0342592672, -0.0205708519, 0.0325940065, -0.0856060833, -0.022171542, 0.0597118102, -0.0740988031, 0.0235899147, -0.0398035608, 0.0044722655, 0.0043107523, 0.0019035904, 0.0360422097, 0.042611748, -0.0037066191, 0.0291925669, -0.0025328055, 0.0553204976, 0.0013724198, 0.0501915812, -0.0121313212, 0.0072338576, -0.0569702163, -0.0005898454, -0.0157076754, 0.0262410529, -0.0203516372, -0.0173634738, -0.0001640538, 0.0680713728, -0.0205254015, 0.033770293, -0.0139783565, -0.0074144513, -0.0253626909, 0.0131741567, -0.030776253, 0.0132073993, -0.0270465892, 0.0138938334, 0.0375231616, -0.0703263059, -0.0086437846, 0.0149165448, 0.0014603803, -0.0126928585, 0.0230287295, 0.1092332229, 0.0121605424, -0.026219707, -0.006481681, -0.0294786319, 0.0472009704, -0.058595337, -0.0145429168, -0.0869977027, 0.0317795463, 0.0104877474, -0.0219015349, -0.0663590506, 0.0202463064, -0.0087911552, -0.0099966023, 0.0760086104, -0.0182986688, 0.0220748968, 0.0161182918, 0.0024348663, -0.0315026641, 0.0587245263, 0.052466657, 0.0423202254, 0.0238397755, 0.0027489229, 0.0377455167, 0.0400164314, -0.0227530356, 0.0172155108, 0.0362674221, 0.0094264671, 0.0003869175, 0.0294011384, 0.0421488471, 0.0004188065, -0.0235519968, 0.0080987895, 0.048896309, 0.050179597, -0.0226152744, -0.0340965651, 0.0571758747, 0.0269603748, -0.0041783694, -0.0373793915, -0.0609221123, 0.0538897328, -0.0002060721, -0.0009035922, -0.0212423615, 0.0384197198, -0.0153948907, -0.0569411032, 0.0046186661, -0.0257829037, 0.0417532958, 0.023496259, 0.0389973521, 0.00309877, -0.0564999022, 0.019266054, 0.0321802832, -0.070067063, -0.0241248067, -0.0923519135, 0.0435301811, 0.074403733, 0.0495131724, -0.042921152, -0.0614721403, -0.0145439124, -0.0136607895, 0.0353248976, 0.0071851048, -0.0174260456, 0.023211306, -0.0193684548, -0.0454736687, -0.0538292266, -0.0010520237, 0.0436318927, 0.0273389556, -0.02618392, -0.0227912199, 0.0011172735, -0.0203204155, 0.0513842553, -0.0223033912, -0.0286664255, -0.0221057367, 0.0000669244, 0.0568153337, -0.0014924894, -0.0171321165, -0.0151477316, 0.0527145788, -0.0049198954, -0.0268896762, 0.0053810026, 0.0002503254, -0.0094213849, 0.0376080908, 0.0046318946, -0.0288125779, 0.0546367988, -0.0415777415, -0.030293664, 0.0318741351, -0.0075636837, 0.0494918525, 0.0169602968, 0.0139400167, -0.0180646572, 0.0112987095, -0.0009425189, 0.019574808, 0.0082881004, -0.0365001485, 0.024081884, 0.053505484, 0.0002401461, -0.0010071305, 0.0027209669, 0.0211664345, 0.0153758833, 0.0237911399, 0.0422416553, 0.0321524478, -0.0304683615, -0.0337801948, -0.0836229846, 0.0067534237, -0.0338962562, -0.0093349451, 0.0260669515, 0.020728007, -0.0100230677, -0.0018119233, 0.0078709293, 0.0139621515, 0.0054823849, 0.0299226195, 0.0197702553, 0.0065092472, -0.0720215514, -0.0576900952, 0.0069555165, -0.0081110829, 0.011951346, 0.0213752966, 0.0065114647, -0.0724493265, 0.0328110568, -0.0184757132, 0.0241995584, -0.0406580009, -0.0774081945, 0.0629721805, -0.0326685496, 0.003306601, 0.0969642475, -0.035216745, 0.0388396196, 0.0971195325, -0.0001188913, -0.0820560455, 0.0162771754, -0.0072994488, -0.0321422927, -0.0519061796, -0.0079885842, 0.0218103956, 0.0816161036, -0.0024859139, 0.0177208055, -0.0341058485, -0.0097996257, 0.0183742661, -0.0583833419, 0.0116288681, -0.0084433518, -0.0436831638, 0.0636727586, -0.0205428284, -0.0906231403, 0.0718982741, -0.0090236729, -0.0391707942, -0.0161960553, -0.050143443, -0.0315344408, 0.0923818126, 0.0365408026, 0.0068636024, -0.0149797574, -0.0358253494, -0.0311802775, -0.0012317224, -0.00784731, -0.0066214534, 0.0442967527, -0.0718432069, -0.0028251181, 0.0066298139, -0.0295762327, -0.0313287079, 0.0087817619, -0.0442746058, 0.0157312676, 0.0066393488, -0.0664075539, -0.0216052122, -0.0301681161, 0.0553368889, 0.0405861214, 0.0068069468, -0.0275163613, -0.0513578914, -0.0532503277, 0.0232280977, 0.0220003612, -0.0132788019, -0.008150897, 0.0324250013, 0.0387406275, 0.0237702727, -0.0220516957, -0.0637180209, 0.0122559089, 0.0242895037, -0.022680711, 0.0210198537, 0.0435429439, 0.0741505101, -0.0697085708, -0.0178818274, 0.1024900749, 0.0194399934, -0.0253878925, 0.0209804382, -0.0460570492, 0.0202265009, 0.0509857498, 0.0477579199, -0.0496286601, -0.0393103249, 0.001064298, 0.0464017093, 0.0052583436, -0.022233557, 0.0026043833, -0.1011878848, 0.0506750941, -0.0084959306, -0.0139971515, -0.0293507278, -0.0582145602, 0.0285689123, -0.0306934621, 0.0079052635, 0.038776096, 0.0027272706, -0.0000062206, -0.01084542, -0.01103104, -0.0198676493, 0.0320339538, -0.0385049134, 0.0582425483, 0.1018076017, 0.0130560054, 0.0081118643, 0.0028287678, 0.0026443137, 0.0274692811, 0.0282192696, -0.0187631845, 0.0354369842, 0.0057605118, -0.0244273655, 0.0181567445, 0.0541450083, -0.074908413, -0.0265386719, 0.0068445364, 0.057668943, -0.0311883036, 0.0055750506, -0.0144989509, -0.0242059659, 0.0160023235, 0.0254420191, 0.0247934181, -0.0241683368, -0.0588843822, -0.0578746386, -0.0558886416, -0.0283270162, -0.0366583429, -0.0134470565, 0.0021149206, -0.0255219955, -0.0571535714, -0.0651914328, 0.0493640974, -0.0021423937, 0.0250861049, -0.0184816159, 0.0384776257, 0.02301687, -0.0177820921, 0.0073440936, -0.0314720571, 0.0341208689, -0.0442568921, -0.0669618249, 0.0394758359, -0.0359758101, -0.008312678, 0.0164795779, -0.0634781867, -0.0760596469, 0.0099116871, 0.0796780363, 0.0262727663, 0.045917362, 0.0032797726, -0.0210805815, -0.0216932781, 0.0340055451, -0.0559698716, 0.029253222, 0.0322130919, 0.0486594178, 0.0056420038, 0.0279319771, -0.0779440254, -0.0088502467, -0.0061696353, 0.0208209399, -0.0745111033, -0.0511501022, 0.0094307829, -0.002870782, -0.0044595096, -0.0112460051, -0.00910665, -0.0267617013, -0.0003150505, -0.0065260413, 0.0135484263, -0.0718725324, 0.0041168286, -0.0206327513, -0.0288754869, 0.0476777665, 0.0259651709, -0.0230322871, 0.0176644232, -0.0044837291, 0.0630674362, 0.0160291437, 0.0428311229, 0.0479657203, 0.0154226674, -0.0138228675, 0.0160933044, -0.0100632394, 0.0274442267, 0.0011974348, 0.0532843955, 0.0086810775, 0.0064752041, -0.0129968161, 0.0382011421, -0.0822324082, -0.089276351, 0.0319545865, 0.0046127769, 0.046618104, 0.0272834506, 0.0646944344, -0.0671216846, 0.0159091074, -0.0047590118, 0.0400897712, 0.0005644636, -0.0340757519, 0.0278060734, 0.0312447939, -0.0073467963, -0.0130557027, 0.0821064785, -0.0338290781, 0.0850791484, -0.0032781844, -0.0011006384, -0.0472471304, -0.0486923568, 0.0428083092, -0.0097342543, -0.0069712782, -0.012141387, -0.0081177922, -0.039479401, -0.0412513018, 0.0386223234, -0.0257407203, -0.0481027737, 0.042924393, 0.0329916477, 0.0128678754, -0.0125890104, -0.0426626652, -0.0000335636, -0.0038450386, -0.0364891626, -0.0335426703, -5.826059672e-33, -0.0321664996, -0.0430832729, 0.0536244512, 0.0201065335, -0.0020293561, -0.0194293, -0.0679577366, 0.0001590358, -0.027275268, -0.0131702349, 0.0127487201, 0.022402158, 0.0022354901, -0.0179311167, 0.042512428, 0.0021657455, 0.0252317861, -0.0187481362, -0.0328287072, 0.0402370207, 0.0286238715, 0.0038681894, 0.0176487919, -0.0882537141, 0.0071676229, 0.0065300092, -0.0047850655, 0.008876957, -0.0408380814, 0.0528933555, 0.0042412719, 0.0253990088, 0.0076777413, -0.0234430749, -0.0306782667, 0.0024398426, -0.0260235369, -0.0284050927, 0.0008019703, 0.0162920374, -0.0419189483, -0.0553964823, 0.0416398086, -0.0091501065, -0.0319264792, 0.0042387359, 0.0363761894, -0.0085282624, -0.0142277032, -0.0014601222, -0.0719949007, 0.0086538028, -0.0255661923, -0.0579287708, 0.0029010095, 0.013895411, -0.0023751089, 0.0204448272, -0.034921091, 0.0222338848, 0.0188894067, 0.0101939291, 0.0821857974, 0.0127481725, 0.0295838211, 0.0488740429, 0.0383015573, -0.0005478772, -0.0011220351, 0.0223975405, 0.0226175319, 0.0667724982, -0.0031733096, 0.033527337, -0.0315138474, 0.0038611817, -0.0260204319, 0.0184440911, 0.0238388199, 0.0549893416, 0.004814317, 0.0391904712, -0.0236958321, 0.0047573787, -0.0251633637, 0.0003495751, -0.0123660294, -0.0438445732, 0.0258601401, 0.0075182123, 0.0036054086, -0.0582740903, 0.0257821567, -0.0305706449, -0.0110058775, 0.0290365461, -0.0371419638, 0.0375934802, 0.0069983434, 0.0044705812, -0.0306945052, -0.0160404351, 0.0143557722, -0.0117877461, 0.058233805, 0.0164599475, -0.0144199952, 0.0649984926, -0.0416767821, 0.0048580249, -0.0768061802, 0.0035897819, 0.0086726472, -0.0019218154, 0.0102237295, -0.0146432333, -0.0120430263, 0.0581023544, -0.0304715242, -0.0560601912, -0.0424029455, -0.0030413927, -0.0046565807, -0.0065925703, -0.0723559782, -0.0216459967, -0.0855377764, 0.0516992696, 0.0196656305, -0.0173544865, -0.0193331707, 0.001590058, 2.785e-7, 0.0073367544, 0.0357195064, 0.0003544045, 0.0618399233, 0.0232365802, 0.059290804, -0.0376303196, 0.027052667, 0.0080267005, -0.0319417268, -0.0039187642, 0.0410884693, 0.0367242023, 0.0227810387, -0.05998962, 0.0156415198, -0.0098559754, -0.0141984206, -0.0725527108, -0.0087069599, 0.0526565984, 0.0824083462, 0.0242839437, 0.0021129972, 0.026269678, -0.0290495325, 0.0033657607, -0.0425784513, 0.0283301398, 0.0176113416, -0.0541737378, 0.0269889757, -0.0083681643, -0.0108657628, -0.007695335, -0.0063337605, -0.0584917478, 0.0932579935, -0.0145502081, -0.0235325359, 0.0238595996, -0.0184419416, 0.0053090048, -0.0555658676, 0.0396023393, -0.0420318544, -0.0178001374, -0.0122015662, 0.0180895142, 0.0047649508, -0.0330201574, -0.0260410588, 0.0064004404, 0.0223909374, -0.0180919375, -0.0286052972, -0.0211275872, -0.0656275526, -0.0136254514, -0.0273864362, -0.0470845029, -0.0492351055, -0.0430854522, -0.0034983046, -0.0002338593, -0.0354751535, -0.0006414867, 2.669465019e-34, -0.0087938178, -0.0199528281, 0.0160187483, 0.0717890486, 0.0492796265, 0.0087259216, -0.017153902, 0.0311688352, 0.052504357, -0.0531185009, -0.0256252568 ]
http://arxiv.org/abs/2402.01025v1
http://arxiv.org/pdf/2402.01025v1
Graph-based Clustering for Detecting Semantic Change Across Time and Languages
2024-02-01T21:27:19
2024-02-01T21:27:19
Xianghe Ma, Michael Strube, Wei Zhao
cs.CL
cs.CL
Despite the predominance of contextualized embeddings in NLP, approaches to detect semantic change relying on these embeddings and clustering methods underperform simpler counterparts based on static word embeddings. This stems from the poor quality of the clustering methods to produce sense clusters -- which struggle to capture word senses, especially those with low frequency. This issue hinders the next step in examining how changes in word senses in one language influence another. To address this issue, we propose a graph-based clustering approach to capture nuanced changes in both high- and low-frequency word senses across time and languages, including the acquisition and loss of these senses over time. Our experimental results show that our approach substantially surpasses previous approaches in the SemEval2020 binary classification task across four languages. Moreover, we showcase the ability of our approach as a versatile visualization tool to detect semantic changes in both intra-language and inter-language setups. We make our code and data publicly available.
Graph-based Clustering for Detecting Semantic Change Across Time and Languages: Despite the predominance of contextualized embeddings in NLP, approaches to detect semantic change relying on these embeddings and clustering methods underperform simpler counterparts based on static word embeddings. This stems from the poor quality of the clustering methods to produce sense clusters -- which struggle to capture word senses, especially those with low frequency. This issue hinders the next step in examining how changes in word senses in one language influence another. To address this issue, we propose a graph-based clustering approach to capture nuanced changes in both high- and low-frequency word senses across time and languages, including the acquisition and loss of these senses over time. Our experimental results show that our approach substantially surpasses previous approaches in the SemEval2020 binary classification task across four languages. Moreover, we showcase the ability of our approach as a versatile visualization tool to detect semantic changes in both intra-language and inter-language setups. We make our code and data publicly available.
[ -0.0366795771, 0.0331198499, -0.0418890007, 0.0341885425, -0.0176152047, -0.012071874, -0.0337103792, 0.0456400327, 0.0250133835, -0.0059570149, 0.0161850229, -0.0024123662, 0.0350418277, 0.0225571003, 0.0285681598, -0.0270882435, 0.0999894738, 0.0249376167, -0.0459812507, 0.026407022, 0.0190557931, -0.0113828294, -0.0103593161, 0.0077513801, -0.0337620154, -0.0262257755, -0.0271275602, -0.053582374, 0.0135107934, -0.0181759242, -0.0541975647, 0.0591397993, 0.0644520596, 0.07895533, 0.0000016677, -0.0495197438, -0.0230473541, -0.0447964557, 0.0009481958, 0.0334745422, 0.0766673386, -0.0379431508, 0.0009633664, -0.0399498157, -0.0428360812, -0.0512610488, 0.0318988375, -0.0400284603, 0.0058300779, 0.014184827, -0.0111292107, -0.0000938175, 0.0014593117, -0.0073831873, 0.0081627406, 0.0167567562, -0.0094473204, 0.017367119, -0.0263748262, -0.0075120255, -0.0910631344, 0.0060419491, -0.0260896683, -0.0162837729, 0.0366399027, 0.0453459248, 0.0072009927, 0.019916296, 0.0065890355, 0.0373755917, -0.0091120629, -0.0256329942, -0.0183675513, 0.0239181966, -0.0181262586, -0.0095337909, -0.0099451393, -0.0442788377, 0.0256337803, 0.0281726886, 0.0400159582, -0.0221206881, 0.0515820831, 0.0233550947, -0.0075336783, 0.0671618506, 0.0296842586, -0.0199157838, 0.0008939658, 0.0160226729, 0.0119927227, 0.0039681909, 0.0081433477, 0.0054173917, -0.010221092, 0.0428722873, 0.0092453575, 0.0024009969, 0.0100889625, -0.0379778109, -0.0182270724, -0.0141789392, -0.0408474356, 0.0478007048, -0.0362100601, 0.0113126952, 0.0208169874, -0.0146952635, -0.0307869986, 0.0061619836, -0.0653563514, 0.0210081618, -0.031500522, 0.0013583711, -0.0304394234, -0.0207385644, -0.0393266007, 0.0358709432, -0.0109711103, -0.0155041097, -0.0224485863, 0.0134655852, -0.0090634087, 0.0569434054, -0.0176313892, 0.031110324, -0.050829161, 0.0129705239, -0.0484639034, -0.0168492831, 0.0136367353, 0.011749994, 0.0144474935, -0.0062596183, -0.0404433496, 0.0427464657, -0.0087135751, -0.0006462986, -0.0615510978, -0.0375178605, -0.0425389931, 0.0111372797, -0.0310076121, -0.0640706569, 0.0205735471, -0.0094190137, 0.0221166126, -0.0471613556, -0.0138548715, -0.0401176251, -0.0444492288, 0.0779232159, -0.0504136011, -0.0154301478, -0.0121735176, -0.0357042663, 0.0050126943, 0.066075258, 0.0279515013, -0.0478724912, 0.0828658938, -0.0051345597, -0.0898545384, 0.0062805139, -0.0032297238, 0.0558103286, -0.0040078913, -0.0711044595, 0.0120871607, 0.0488145128, 0.0240181126, 0.0067996909, -0.0486404411, -0.0566903837, 0.0048937327, 0.0585195348, 0.039565742, -0.020184774, 0.006783722, -0.0075390171, -0.0419683456, 0.001544926, 0.012157294, -0.0322272182, -0.0173823442, -0.0505397394, -0.0022093754, -0.010524556, -0.0160831045, 0.0018984295, 0.0080179702, 0.0151451789, 0.0936374143, -0.052450873, 0.0570916012, 0.0281690545, 0.0281249005, 0.0282033812, 0.0745415613, -0.0407973193, 0.0512314066, 0.0126925083, 0.0206313841, 0.0526604839, 0.0272744857, -0.0215998814, 0.0381856672, 0.0384307578, -0.0016708525, -0.0138757331, 0.0115450798, -0.0416432545, 0.0320252329, -0.0383241326, -0.0006195065, -0.0047591417, 0.0021371329, 0.0161297098, -0.0016581219, 0.035328716, -0.0120981475, -0.1001865789, 0.0075722733, 0.032165572, 0.0204239599, 0.0283346046, 0.0063484856, 0.0220171362, -0.0036398082, 0.0302656256, 0.0240655635, -0.0101253036, 0.0196175575, -0.0145422863, 0.0282361265, 0.0665590614, -0.0116284275, -0.0419164635, 0.0516988821, 0.0046962402, -0.012733385, -0.035126999, -0.0478624143, -0.0053832368, 0.0997163579, -0.0502111427, 0.0821272209, -0.0396162085, 0.0049137659, -0.0423905216, 0.0201159846, -0.0466923639, 0.0622812696, -0.0109412726, 0.0113011207, -0.0428166799, 0.0464745983, 0.0221716408, -0.0088436445, -0.0153198428, 0.0425288677, 0.0415378399, -0.0136230458, 0.0128200026, -0.0266304538, -0.0613298081, 0.0658681914, -0.1043039635, -0.0298847053, -0.024141198, 0.0013675673, 0.0469630472, 0.0056615961, 0.019957561, -0.0346917175, -0.0102414563, 0.0649182498, -0.0059551108, 0.052471675, 0.0582267307, -0.0329755917, 0.0181113463, -0.037340682, -0.0268066078, -0.0369123295, 0.0680574104, 0.0208936483, -0.0106154904, -0.0316466205, -0.0134658534, -0.0597890802, 0.0200155545, 0.0159836486, 0.0307793468, 0.0141276894, -0.0271348897, 0.0475737192, 0.0163922682, 0.0012330305, 0.0889093503, 0.0787238106, -0.0538193397, -0.0569025762, -0.0373649821, -0.0386543684, 0.0368543491, -0.0414918475, -0.007090372, 0.0196713954, 0.0144751491, 0.0522714145, -0.0096319793, -0.0366041064, -0.0144373951, -0.0773982257, 0.0124351354, -0.0415654331, 0.0103594819, -0.0223179702, 0.0197997279, -0.0297263656, -0.0293283556, 0.0503941029, 0.0222110301, 0.0421524271, -0.0383539274, -0.051751364, -0.03694712, 0.0710940659, -0.0033867455, 0.0206590686, -0.032357607, -0.0370519012, -0.0623221099, 0.0116002029, 0.0639101118, -0.0017169197, 0.0427234136, -0.0729772076, -0.0026392166, 0.0268837903, 0.0312434807, 0.00992727, 0.0190723594, -0.0077957795, 0.0193752125, 0.0404276475, -0.0100599695, 0.0238019787, 0.0197725296, -0.0140361013, 0.0036572139, 0.0198374595, -0.0186988059, 0.0038414493, 0.0378030539, -0.0138844224, -0.0136160776, -0.0257126056, -0.0193329193, -0.0224350858, 0.0459708609, -0.0038170402, -0.0536122918, -0.090889588, 0.0328067765, 0.0037365875, -0.0294910539, 0.009163023, -0.0582776926, 0.0216294825, -0.0099844085, -0.0103591383, 0.0404757746, 0.0405045375, -0.0776138678, 0.054548189, -0.0057899929, 0.0014927196, 0.0162759684, -0.0391884968, -0.0600975491, -0.0330820046, -0.0338296741, 0.0001192136, 0.0196915437, -0.0696146637, 0.0194677804, -0.0782955214, -0.0166182499, 0.0228717569, -0.0699039251, 0.0060205818, -0.065446049, 0.043900162, -0.0031403254, -0.0246752258, -0.030152617, 0.0203337669, 0.0033257892, 0.0180186182, -0.0450078882, -0.0095931841, 0.0212856121, -0.0300359465, 0.015505285, 0.0200594123, 0.0657585189, -0.0044999653, -0.0431207567, 0.0401758887, -0.012548889, -0.0178570542, -0.0461641476, 0.0411009379, 0.0398799255, 0.0096088424, 0.0204635002, -0.0326838307, 0.0217492655, -0.0246387217, 0.0268498063, 0.0700536892, -0.0197324324, -0.0420508571, -0.0170802344, 0.004032271, -0.0186302029, -0.0174742509, 0.0185346995, -0.0071047693, 0.0055936226, 0.0052474719, 0.0590822212, 0.0189836845, -0.0227792636, -0.051611606, -0.0505462661, 0.0097587435, -0.0871298462, -0.0076053259, 0.0190043896, -0.0097498279, 0.0316831283, -0.0011185298, 0.0163811371, -0.0448482968, -0.1208460405, -0.002489001, -0.0315137357, 0.0281315483, 0.0002625654, -0.0239909012, 0.0262040868, 0.0459986478, 0.0051656556, -0.0007269467, -0.0657768771, -0.0451592393, 0.0073538767, -0.0675061718, 0.0034231325, 0.0584497452, -0.0314787365, 0.0035705834, 0.0550032705, -0.017734006, 0.0096730851, 0.0222287308, -0.0427879766, -0.0004662608, -0.0068247053, 0.0213566851, -0.0261056814, -0.0096486658, -0.0179468263, 0.0316718444, -0.0578095615, -0.0042081964, 0.0093902443, -0.0082710739, 0.0668367147, 0.0097759711, -0.0438175574, -0.048137635, -0.0526076742, -0.0029135672, -0.0235538632, 0.056003198, -0.0442813374, 0.0120062009, 0.0044392403, -0.0331607163, 0.0411339104, -0.0068808007, 0.0163833052, 0.0007160317, -0.0047983034, 0.0723782852, 0.0213948563, -0.0029892984, 0.0599190854, 0.0090389382, -0.0081853187, -0.0452541597, -0.0009003799, -0.0216035862, 0.0140115516, 0.0265833773, -0.0331993997, -0.0524642207, 0.0280321687, -0.0273562819, 0.0348719545, 0.0374953151, -0.0296994504, 0.032975588, -0.013941424, 0.0652880669, -0.0233154055, -0.0116174547, -0.0322825573, 0.0207708888, 0.0004127319, -0.0416255891, 0.0427003726, 0.0084052719, 0.0094999829, 0.0565164909, 0.015739236, -0.0639200285, 0.0405772887, -0.0201494936, -0.0482065156, 0.0002211954, 0.0098507246, 0.001058773, 0.0407400168, -0.001617886, 0.0215781573, -0.0545219183, -0.0461076163, 0.0300785229, -0.010925795, 0.0090675987, 0.0631824955, 0.0404276177, 0.025907591, 0.0446753278, 0.0416369587, -0.0567946471, 0.0278808698, -0.0021265745, -0.0462207496, -0.029865155, -5.832856601e-33, -0.0018484284, -0.0414509624, -0.0257230643, -0.0081377123, -0.0565217249, 0.0244726222, -0.0272176061, 0.0282358676, -0.0354750231, 0.0400994159, 0.0451605655, 0.0308656078, -0.0009380548, -0.0321949422, 0.0335199311, -0.0018934456, 0.041466359, 0.0134795131, -0.0006673028, 0.0146876266, 0.0914016515, -0.0249401163, 0.0830607936, -0.0151534872, 0.055543419, 0.0823122859, 0.0222869553, 0.0447005369, 0.0304564275, 0.0142862983, -0.002313846, 0.1099020615, 0.014129662, 0.028838763, -0.022970302, -0.0502566397, -0.0775843859, -0.0804986209, 0.0147241587, 0.0303935166, -0.0398306809, -0.0252667014, 0.0129449302, 0.0024689382, -0.0008009896, 0.0089300182, 0.061473418, 0.0107971057, -0.064275369, 0.0069412645, -0.0342792384, 0.0501224771, -0.0236801524, 0.0365259759, 0.0004831798, 0.0030541844, 0.0292197186, -0.0353089385, -0.0943455845, 0.0736615285, -0.0431546494, -0.0139840376, 0.0195168592, 0.0019144509, 0.0033269776, 0.0514669903, 0.0228028223, -0.0369685553, 0.011798935, 0.0452075563, 0.0857133195, -0.009199894, 0.0034608054, 0.0337223411, 0.0116297463, -0.0543652922, -0.0106468033, -0.0051318007, 0.0536946729, 0.0492233783, -0.0070050498, 0.0407723635, -0.0067894277, -0.0347948633, -0.0236365795, -0.0396466665, -0.0473456047, -0.0410108604, -0.0044920691, -0.0403103456, -0.0008834575, -0.0030996504, -0.0161657427, -0.0290504489, -0.0290964916, 0.015904732, -0.0164468493, 0.025721848, 0.0316012539, 0.0104669575, 0.0203698985, -0.0296761971, 0.0321825929, -0.0045361142, 0.0313142017, -0.0174324866, 0.0170748495, -0.0408724509, -0.0073254262, 0.0068967897, 0.0029730434, -0.0880036727, -0.0394604392, -0.0452283323, -0.0024459956, -0.0001691139, -0.0112858303, 0.0220156536, 0.1004014909, 0.0174603518, -0.0058067269, -0.0001045633, -0.0085991202, 0.0337727778, -0.0302638058, -0.0180269349, 0.0006571973, 0.045468729, 0.044865571, -0.0427800454, -0.0270759538, -0.0177897681, 2.57e-7, 0.0747569576, 0.0683428794, 0.0237748828, 0.0040805074, 0.0281642117, -0.0121807856, -0.0378827378, 0.0289793126, -0.0231829938, 0.023673512, -0.00248157, 0.0325505771, 0.0129486034, 0.0627931431, -0.0012702174, 0.017942654, -0.0035864105, -0.0069420678, -0.0605027713, 0.0102527672, 0.0492464192, 0.0361128226, 0.0309152361, -0.0012824289, -0.0268425159, -0.027649818, 0.0321069732, -0.0059967889, 0.0106669068, -0.0459619239, -0.0381405614, 0.0030035274, 0.0337636322, 0.0213372167, -0.0272703934, -0.0155621525, 0.0004653176, -0.0444053784, -0.0542217977, 0.0068716356, -0.0131206298, 0.0193682648, 0.0262636356, -0.0142115522, 0.0499820746, -0.0081421286, 0.0013980527, -0.0197150316, -0.0259087626, 0.0409103036, 0.0541541688, -0.0020867866, -0.0915404484, 0.0350282006, 0.0130901504, 0.0370754078, -0.0591382757, -0.0577638745, -0.0023688725, 0.0369309522, 0.0170974508, -0.0508905128, 0.0309321936, -0.01643591, -0.0089857178, 0.0110023292, 0.034416426, 1.6185252e-34, 0.0105614131, 0.0454139002, 0.0117609408, -0.0154086845, 0.0180489719, -0.0576959029, 0.028218627, -0.0085998466, 0.0283994805, -0.0309528857, -0.0120589947 ]
http://arxiv.org/abs/2402.01019v1
http://arxiv.org/pdf/2402.01019v1
Domain-Independent Deception: A New Taxonomy and Linguistic Analysis
2024-02-01T21:13:04
2024-02-01T21:13:04
Rakesh M. Verma, Nachum Dershowitz, Victor Zeng, Dainis Boumber, Xuting Liu
cs.CL
cs.CL, cs.CR, cs.CY
Internet-based economies and societies are drowning in deceptive attacks. These attacks take many forms, such as fake news, phishing, and job scams, which we call ``domains of deception.'' Machine-learning and natural-language-processing researchers have been attempting to ameliorate this precarious situation by designing domain-specific detectors. Only a few recent works have considered domain-independent deception. We collect these disparate threads of research and investigate domain-independent deception. First, we provide a new computational definition of deception and break down deception into a new taxonomy. Then, we analyze the debate on linguistic cues for deception and supply guidelines for systematic reviews. Finally, we investigate common linguistic features and give evidence for knowledge transfer across different forms of deception.
Domain-Independent Deception: A New Taxonomy and Linguistic Analysis: Internet-based economies and societies are drowning in deceptive attacks. These attacks take many forms, such as fake news, phishing, and job scams, which we call ``domains of deception.'' Machine-learning and natural-language-processing researchers have been attempting to ameliorate this precarious situation by designing domain-specific detectors. Only a few recent works have considered domain-independent deception. We collect these disparate threads of research and investigate domain-independent deception. First, we provide a new computational definition of deception and break down deception into a new taxonomy. Then, we analyze the debate on linguistic cues for deception and supply guidelines for systematic reviews. Finally, we investigate common linguistic features and give evidence for knowledge transfer across different forms of deception.
[ 0.0710611492, 0.039401073, -0.0696734414, 0.0606088974, -0.0732681304, 0.004124844, 0.0457280874, 0.0335257128, 0.0140959835, -0.0367669016, -0.0245578568, -0.0174279828, 0.0601102002, 0.0477230959, 0.0560732782, -0.0202919971, 0.0317091979, 0.0113411704, 0.0402120575, -0.0053487369, 0.0223513432, 0.0236662515, -0.0041211192, 0.0364160873, -0.0233385488, -0.029653132, 0.02458225, -0.0281581059, 0.0257198159, -0.0078649968, 0.0361925885, 0.0427789092, 0.0071534738, 0.0650515705, 0.0000019847, -0.0612355992, -0.000008667, -0.0190486088, -0.0708480924, 0.028326381, 0.0707672611, -0.0398255885, -0.0027606047, 0.0079791714, -0.0248567667, 0.0005046186, 0.0366448648, 0.0877583027, 0.067878142, 0.0889112353, -0.0077413758, -0.0041125808, 0.008731666, -0.0051566055, -0.0167588554, -0.0003933986, 0.0620403364, -0.0640635639, -0.0572873875, 0.0069715763, -0.0092234891, -0.0329029597, -0.0457342379, -0.0057938402, -0.0468912609, 0.018536957, -0.0305818934, -0.0281258207, -0.0044063451, 0.0096601089, -0.0039295522, -0.0135748517, 0.0076283198, 0.0098086968, 0.0233755726, 0.0474002622, 0.0297650322, 0.0456691049, -0.0306508914, -0.0344774239, -0.0136785805, 0.0166602787, 0.043236088, 0.0361124389, 0.0255301371, 0.0280461386, -0.0165557228, -0.0314962417, 0.0195278097, -0.0304625221, 0.0089697177, -0.0686358139, -0.018077964, -0.0025670989, -0.0193465278, 0.0053234394, -0.0467401035, -0.0034773543, 0.0460957699, -0.0692504644, 0.0149037866, -0.0103269517, -0.0058755833, 0.002883886, 0.0256865919, 0.0383370481, -0.0241197851, 0.0085524246, -0.0397305153, 0.0144041851, 0.0039545819, -0.0140932966, 0.0157117303, 0.0212884042, 0.0406617336, 0.0069370493, -0.0998671278, -0.0064315698, -0.0810612068, 0.002832297, -0.0364887938, 0.0166481808, -0.0297674704, -0.0198436715, -0.0298276134, 0.0261833686, 0.0089205867, 0.0415548012, -0.0260839052, -0.0624520145, 0.0008637491, 0.0292903613, -0.0343520716, 0.0043174471, -0.0121399127, 0.039766252, 0.0388199203, -0.023361126, -0.0522055067, -0.0406308956, -0.0768091008, -0.0415674224, -0.0079728607, -0.0391894616, -0.0171590988, -0.0232112147, -0.0145810824, -0.0554131046, -0.0056942562, 0.0208201539, -0.060702309, 0.0445547327, -0.0359159149, 0.0013820765, 0.0547181629, 0.0045815371, -0.0440848432, 0.0338056125, -0.018121589, 0.0992264524, 0.0686637238, 0.0117366575, 0.046509631, -0.0007970523, 0.0203881841, -0.0005285261, 0.0549431406, -0.0076070088, 0.0134979226, -0.0244050138, -0.0113857649, -0.0063480446, -0.0249568503, -0.0221899971, 0.079729721, 0.0178404804, -0.0214289483, 0.007656849, 0.0405078419, 0.0457544774, -0.0069224699, 0.0087988107, -0.0442499928, -0.032340467, -0.0787293315, -0.0166074056, -0.0426044539, 0.0182742123, 0.0251951478, -0.0477718562, -0.0282325614, -0.0236438401, -0.0012381267, -0.0036889021, 0.0015296699, 0.0304647032, -0.0144451139, 0.0014320677, 0.0415436476, 0.0175421312, -0.0093214344, -0.0422457978, -0.0111145489, 0.0312100761, -0.002575509, 0.0480958521, 0.0133364024, -0.0566001832, 0.0025318523, 0.035461165, 0.0048449421, 0.008262529, -0.0158490427, 0.0153083801, -0.0215260237, -0.0326602869, -0.0034646522, 0.0104210535, -0.0163098313, 0.029043179, 0.0259529222, -0.016663257, 0.0428586192, 0.0264775567, 0.0186068192, -0.0078427354, -0.0074789915, 0.0452443771, 0.0515362024, -0.0091648586, 0.0083351564, -0.0072754878, 0.0339157395, -0.0111175049, -0.0496131815, -0.0268204715, 0.0409195758, 0.0188812912, -0.0035862839, -0.0697308704, -0.0163307842, 0.0139996381, 0.0035997648, 0.033178784, 0.0640802011, -0.0407452621, -0.0100762276, -0.0230039787, -0.0002045046, -0.0333523527, 0.0532444194, -0.0006397607, 0.0943672508, -0.0308853183, 0.0048335451, -0.0395250581, -0.0481606573, -0.0074332054, 0.0082613584, 0.0468890183, -0.0401247665, -0.0135425562, -0.011139866, 0.045005016, 0.0060071042, -0.0232213102, -0.014862013, -0.047162246, -0.0642429963, -0.0018624829, -0.0093689458, 0.0097422944, -0.0167942792, -0.0056951428, 0.035503637, -0.0077227009, -0.00340098, -0.0075522307, -0.0011561826, 0.0262484141, -0.0318211056, -0.0331809409, 0.0275334995, 0.0277183317, -0.0273581818, 0.0398823358, 0.0109757241, -0.0551885217, -0.0581537113, -0.0217636395, -0.0441344418, 0.0174988247, -0.0140103465, -0.0229176953, -0.0281712078, 0.0308732521, -0.0544977672, 0.0002453716, 0.0791611075, 0.0546800494, -0.0000832277, 0.0397900864, -0.0198112093, -0.0304429159, -0.0292787831, 0.0399757996, -0.0207720716, -0.0611456782, 0.0599956326, 0.0491974093, 0.0586712323, 0.0038912082, -0.0028469956, 0.0594230108, -0.0398722962, -0.0577682406, 0.023634648, -0.0655692369, -0.012869739, 0.0452805758, 0.0161262471, -0.0514249094, 0.1025350168, -0.0253808163, 0.0281534605, -0.013667102, -0.0067252126, 0.0259855613, -0.0130256992, -0.0144254286, 0.0364444442, 0.1332314014, -0.0263960827, 0.0171118379, -0.0120976139, 0.060148783, -0.0075812498, 0.004836685, -0.0151494714, 0.0195422638, 0.0425254144, -0.0424664728, -0.0720643029, -0.0811225995, 0.0069268807, -0.0442291163, -0.0041787522, -0.0127940783, -0.0772241428, -0.0759966522, -0.0211788788, -0.0429329723, -0.0014979407, -0.0242751725, -0.0081674373, 0.0059651122, 0.0197854005, -0.0127553958, 0.0492543019, -0.0181572139, -0.0444083251, 0.0380622298, -0.0462182723, 0.0074908584, 0.030989917, -0.0012865989, 0.0279357322, -0.0206556842, 0.023135541, 0.0093977125, -0.0549032465, 0.0051364098, 0.007765179, 0.0581426956, 0.0083249416, 0.0049396032, 0.0160873234, 0.0034837967, 0.0017502112, 0.012262688, -0.0289994348, -0.0845704526, -0.0059850635, 0.0035346779, 0.0077793864, -0.0689768717, -0.0039281226, -0.0228563622, -0.0822639093, 0.0461033247, 0.0113034109, -0.0371330716, -0.0376055725, -0.0275607239, -0.0359446071, 0.0352390446, 0.0369468629, -0.0408474728, -0.0114952717, -0.0266653765, -0.0122538637, -0.0362124257, -0.0455685481, -0.0177228358, 0.0028231535, 0.0435004607, 0.0365347937, 0.0474240482, -0.0109088235, -0.0567151085, -0.0198912453, 0.0052609863, -0.0272094589, -0.0108556086, 0.0958954021, -0.026941197, -0.0035055643, -0.0044865115, 0.0147436485, -0.0301974528, -0.0081769191, 0.0097421193, 0.0534832478, 0.0042264867, -0.0836688653, 0.004030006, -0.0126797101, 0.0568801649, 0.0361253843, -0.0391015373, 0.0237918776, -0.0160851814, -0.035137888, 0.0114422143, 0.0751478747, -0.0578535236, 0.0683465302, 0.0207199641, -0.0371587053, -0.0524545871, -0.0131346704, -0.0237941984, -0.022295313, 0.043618422, -0.0186524168, 0.040176861, 0.0064323279, -0.0703752488, -0.0015093014, -0.0426295772, 0.0666525513, -0.0310222115, 0.0220428705, 0.0023656089, -0.0601713993, 0.0354502648, 0.010702936, -0.0256874971, -0.0036629869, 0.0254663881, 0.0140697183, 0.015260363, 0.0381976739, -0.0337751508, 0.0016825608, 0.0307302531, 0.0044871522, -0.0602191873, 0.0093418993, 0.072070241, -0.0070332414, 0.0066294046, 0.0169369746, 0.0007718506, 0.0517274775, 0.0283890571, -0.0359723493, -0.0195082035, 0.0052416278, 0.0728538781, 0.0007900392, 0.0683114082, -0.0074490709, 0.0565532818, 0.0081914868, -0.0199937895, 0.0021032507, -0.0305319466, -0.010417386, -0.0478892922, 0.0386936702, 0.0524645112, 0.0212131608, 0.0130921695, -0.0735060945, -0.0330439024, -0.0067011141, -0.0090443306, 0.0379022025, 0.0554834418, 0.0060470114, 0.0000145118, 0.0171847995, 0.0412329212, 0.0103991134, 0.0430808999, 0.015882995, 0.0092236698, 0.0164463446, -0.0225361008, -0.0341045484, -0.0182214342, 0.0046570208, -0.0008189488, 0.005702029, 0.0048233876, 0.0097712958, -0.0052653407, 0.0075915088, 0.0082164193, 0.0018769242, 0.0175774097, -0.0156113999, -0.0280247498, -0.0569218062, 0.008372427, -0.0100028384, -0.038831614, 0.025281664, 0.0610874295, -0.0145810815, 0.0174644757, -0.0349680074, -0.0600226745, -0.0131161483, -0.0481502004, 0.0118632969, 0.0368153118, 0.000922051, -0.0178476349, -0.1033626869, -0.072847344, 0.0139620602, -0.0519068763, 0.0517960675, -0.0101545639, -0.0109160151, 0.0865505636, 0.0088427439, 0.020352181, -0.0790240616, 0.0303195622, 0.0072583808, -0.0043981099, -0.0132962773, -6.13983695e-33, 0.0409571342, -0.0767935365, -0.0334876254, 0.0282407496, 0.01206306, 0.0381394587, 0.0258541424, -0.0163652189, -0.0037850568, 0.0626183823, -0.011674487, 0.0235708021, -0.0030976171, 0.0088559026, -0.0463282131, 0.0132540008, 0.0235137232, -0.0066619501, -0.032421343, -0.0169000924, 0.0399284028, -0.007460102, 0.0577036403, -0.0853748769, 0.0859833136, 0.0098065045, -0.0598282441, 0.0290980525, -0.0009253709, 0.0212479513, -0.0105083343, 0.0531653576, 0.027555842, -0.0349506959, 0.0139362579, 0.0317297317, -0.0006708986, -0.0295207892, 0.0617894679, 0.005311897, 0.0162665565, -0.0154883927, 0.0306051802, -0.0345218182, -0.0556661747, 0.0237022638, 0.0280877519, -0.009021054, 0.0058486369, -0.0294332784, -0.0662350506, -0.0227582045, -0.0093556596, 0.0110368952, 0.0037652415, 0.0949729159, 0.0066402392, -0.0112041952, -0.0916035026, 0.0529962443, -0.0221348535, -0.0194468852, 0.0253066383, -0.0291504152, -0.0304060299, 0.0752010643, 0.0298645161, 0.017253967, -0.0106178513, 0.0342216231, -0.0017772979, 0.0463177301, 0.0522417426, 0.0681047887, -0.0101136994, -0.0575994849, -0.0405033417, -0.0151038086, 0.0270988792, -0.0194377135, 0.017544521, -0.04042501, -0.0436172932, -0.0295272749, -0.0118970368, 0.017556414, -0.0487430692, 0.0175016802, 0.0246012062, 0.0019978581, -0.0319519415, 0.0140484897, -0.0064924061, -0.0888383538, -0.0105373273, -0.0000474595, 0.0315624177, -0.0152024738, 0.03607044, 0.001453713, -0.0102177458, -0.033939071, -0.0007857839, 0.0053315777, 0.0479263216, -0.0544331856, 0.0347472988, -0.0153703047, -0.0195313208, -0.021356253, 0.0067429096, 0.0365404263, 0.0131765092, -0.0032195593, 0.0376051441, 0.0119990874, -0.0254097953, -0.0352901556, 0.0410700962, -0.0072585978, -0.0326717198, 0.0687072277, -0.0301195532, 0.0446081571, -0.0565454103, -0.0388402455, -0.0277103819, 0.0220646504, 0.0294437874, -0.0566167533, -0.0327601358, -0.050397303, 2.815e-7, -0.0262960885, 0.0498203523, -0.0640909821, 0.0290241763, 0.021688642, 0.0941316932, 0.0353340879, 0.0247498844, 0.025506271, -0.052142866, -0.0363910943, -0.0174369887, 0.0203862805, 0.00307168, -0.0669302642, 0.0232885517, 0.0226455964, -0.0187626164, -0.0257091448, 0.0083158119, 0.0203962047, 0.0619424917, 0.049704317, -0.0641150996, -0.0234879069, 0.0176596567, -0.0073024994, 0.0090150395, -0.0063126734, 0.02705447, 0.0101454323, -0.0379328281, -0.0015159622, 0.0548076592, -0.0262727626, 0.0137919541, -0.0305741541, 0.0273095462, 0.0067740264, 0.0278536621, -0.0463386811, -0.0496028513, 0.039034985, -0.0477020033, 0.0245710667, -0.0392873697, -0.0462993383, -0.0627442226, -0.0295832418, -0.0228702705, 0.0380865447, 0.0104030641, -0.0436347015, 0.0546707623, 0.0266447235, 0.0392464995, 0.0198775064, -0.0127549507, 0.0305788238, 0.0108884918, 0.001988553, -0.0045578433, 0.029622063, 0.0359616876, 0.0654218867, -0.033296112, 0.0396544077, 2.424240137e-34, 0.0056974641, -0.0197788421, 0.016368879, -0.0063898102, 0.0439810492, 0.0109763397, 0.0184406247, 0.0186721142, -0.0071417452, 0.0209335107, 0.0098544015 ]
http://arxiv.org/abs/2402.01018v1
http://arxiv.org/pdf/2402.01018v1
HR-MultiWOZ: A Task Oriented Dialogue (TOD) Dataset for HR LLM Agent
2024-02-01T21:10:44
2024-02-01T21:10:44
Weijie Xu, Zicheng Huang, Wenxiang Hu, Xi Fang, Rajesh Kumar Cherukuri, Naumaan Nayyar, Lorenzo Malandri, Srinivasan H. Sengamedu
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
Recent advancements in Large Language Models (LLMs) have been reshaping Natural Language Processing (NLP) task in several domains. Their use in the field of Human Resources (HR) has still room for expansions and could be beneficial for several time consuming tasks. Examples such as time-off submissions, medical claims filing, and access requests are noteworthy, but they are by no means the sole instances. However, the aforementioned developments must grapple with the pivotal challenge of constructing a high-quality training dataset. On one hand, most conversation datasets are solving problems for customers not employees. On the other hand, gathering conversations with HR could raise privacy concerns. To solve it, we introduce HR-Multiwoz, a fully-labeled dataset of 550 conversations spanning 10 HR domains to evaluate LLM Agent. Our work has the following contributions: (1) It is the first labeled open-sourced conversation dataset in the HR domain for NLP research. (2) It provides a detailed recipe for the data generation procedure along with data analysis and human evaluations. The data generation pipeline is transferable and can be easily adapted for labeled conversation data generation in other domains. (3) The proposed data-collection pipeline is mostly based on LLMs with minimal human involvement for annotation, which is time and cost-efficient.
HR-MultiWOZ: A Task Oriented Dialogue (TOD) Dataset for HR LLM Agent: Recent advancements in Large Language Models (LLMs) have been reshaping Natural Language Processing (NLP) task in several domains. Their use in the field of Human Resources (HR) has still room for expansions and could be beneficial for several time consuming tasks. Examples such as time-off submissions, medical claims filing, and access requests are noteworthy, but they are by no means the sole instances. However, the aforementioned developments must grapple with the pivotal challenge of constructing a high-quality training dataset. On one hand, most conversation datasets are solving problems for customers not employees. On the other hand, gathering conversations with HR could raise privacy concerns. To solve it, we introduce HR-Multiwoz, a fully-labeled dataset of 550 conversations spanning 10 HR domains to evaluate LLM Agent. Our work has the following contributions: (1) It is the first labeled open-sourced conversation dataset in the HR domain for NLP research. (2) It provides a detailed recipe for the data generation procedure along with data analysis and human evaluations. The data generation pipeline is transferable and can be easily adapted for labeled conversation data generation in other domains. (3) The proposed data-collection pipeline is mostly based on LLMs with minimal human involvement for annotation, which is time and cost-efficient.
[ 0.085756816, 0.0444417819, -0.0121942125, 0.0079494519, -0.052069854, 0.0192118194, 0.024360748, -0.0191122014, 0.0483096279, -0.0570917167, -0.0464067049, -0.0304775368, -0.0124584176, 0.0039391434, 0.0125527633, -0.0386088192, 0.0192349106, 0.0209591612, 0.0272957478, 0.0248051863, 0.0049397754, 0.039146848, -0.0234328397, 0.0600359887, -0.0084438324, -0.0193926245, -0.0050068959, 0.0036936025, 0.0299595967, -0.0000671669, 0.0339739285, 0.055096399, 0.0374789573, -0.0107934065, 0.0000017491, -0.071971029, 0.0056032864, 0.0027001817, -0.0522199012, -0.0549566746, 0.04772361, -0.0285585374, -0.0042852056, 0.0368420146, -0.041009333, 0.0089537287, -0.0142645938, 0.0943050385, 0.0769114196, 0.0882036462, -0.0138445655, -0.0008358718, -0.0084320679, -0.0420124009, 0.0112048509, -0.0725152269, 0.0357869603, -0.003652849, -0.0118914833, 0.0163582191, 0.0512129366, -0.0176417548, -0.0134998355, -0.0365830436, 0.014438631, -0.0028045611, -0.025961332, -0.0233871527, -0.0188450925, 0.0929462612, 0.0365490951, 0.0324485563, 0.0084552877, -0.0004740004, 0.038489785, -0.0181992408, -0.0268447027, 0.0468912162, -0.0235005766, -0.0086148055, -0.0183977075, 0.0097134598, -0.0193585884, 0.0098270522, 0.0361659154, 0.0325451791, -0.0215417687, -0.0354525074, 0.0305622257, 0.0108499937, 0.0433569849, -0.0510583296, 0.0100070508, 0.015431379, -0.0358012915, 0.0308390707, -0.0444657467, 0.0182228182, 0.0525362454, -0.0912118256, 0.0055063437, 0.0067995945, 0.0085306074, 0.0362216793, 0.0161838923, 0.0115938541, 0.0022708999, -0.0102696056, -0.0115064019, -0.0362856798, -0.075852409, 0.0054895012, -0.0339535847, 0.02816239, -0.0467741229, -0.0042334418, -0.0637172982, 0.0350773633, -0.0269926954, 0.0172781423, 0.0123304175, 0.0059307911, -0.0144448597, 0.0209454205, -0.0696484372, -0.0252779126, -0.0096165566, 0.0401553437, 0.0069829877, -0.068446584, -0.0027318911, 0.0188656021, 0.0163534787, -0.0073207067, -0.0154668177, 0.0651981831, 0.0142301042, -0.042744644, -0.036059767, -0.0400663689, 0.0013331193, -0.0419092104, -0.0106291063, -0.0315106772, 0.0704356283, -0.0370479487, -0.0211215205, -0.0404142067, 0.0409775972, 0.0666667446, -0.0263698641, 0.0471534543, -0.0303606521, 0.0155660016, 0.0388757139, 0.0192322023, 0.00172083, 0.0597863607, 0.0320861489, 0.0162371174, 0.0720099434, -0.0092262393, 0.0074532507, 0.0303423237, 0.0119199185, -0.0081778737, 0.0583268441, 0.0641651154, -0.0039173025, 0.0566469878, 0.0131849926, 0.042956125, -0.0440123305, -0.006553276, 0.0219130702, 0.0575619079, -0.0124530951, 0.0188020766, 0.0270011816, 0.0700361505, -0.0132761374, -0.0241678786, -0.0348317288, -0.0162433945, -0.0226319134, -0.043358162, 0.0107222572, -0.0120058935, -0.0556671135, -0.0380233228, -0.0023753254, -0.0117379138, 0.0034857804, -0.0025868618, 0.0225597229, 0.0427865013, -0.0635201558, 0.0614377297, 0.0261223726, -0.0446786769, -0.0398292243, -0.0395584889, 0.0063810311, 0.0793527737, 0.0469849482, -0.0325896628, -0.0214984026, -0.0803698078, 0.020660378, 0.0682050884, 0.0564292558, -0.0181008447, 0.0156172756, -0.0512167066, -0.0238432214, -0.0140146958, -0.0030210228, -0.0190870017, 0.0179628208, -0.0222376361, 0.0286663361, 0.0037638212, -0.0623105802, 0.0346143506, -0.015838135, -0.0088043176, 0.0547423214, 0.0096264491, 0.0308548156, 0.0589220673, 0.0062896102, 0.0038412246, 0.0173797645, -0.0213935785, -0.0398609601, 0.005053319, -0.0064583346, -0.0461975373, 0.0290769506, -0.0047292761, -0.0314019993, 0.0408218093, -0.0356371179, -0.0210596547, -0.0305848997, -0.0254086237, 0.0045290221, -0.0458675735, 0.0070189675, 0.0154204322, 0.0291520432, -0.0257786158, 0.0595712066, -0.0184057169, 0.0012259837, -0.0147855971, -0.0176407732, 0.0177945215, -0.0736441016, 0.0105335591, 0.0073851901, 0.0107044708, 0.0054146349, 0.0197192952, 0.0091206646, -0.0767805725, -0.0282422099, -0.099206157, 0.0085799424, -0.0028748508, 0.0197300557, -0.0075500184, -0.0179480109, -0.0020922543, -0.0289481468, -0.0453010388, -0.0183932576, 0.0506946146, 0.0058325971, 0.0769331753, 0.004453091, -0.021975223, -0.0224031862, -0.0116212815, -0.0091016451, 0.0121378833, 0.0124943256, -0.0127548175, -0.0425739177, 0.0693077222, -0.0343156196, 0.0202260036, -0.0151541978, -0.0022906314, 0.0157193113, 0.0340267159, 0.0217914488, 0.0304488894, 0.0332982056, 0.0314798877, -0.0295092501, -0.0013553678, -0.0247555505, 0.0182967428, -0.0291649234, 0.0050876248, -0.0608152337, -0.041316431, 0.0350195207, 0.016706828, 0.0084552607, 0.0111592617, -0.0321403965, -0.0031158822, 0.0069247507, -0.013782097, -0.0250112917, -0.0049650888, -0.0214494951, 0.0335000977, 0.002608336, -0.0280331429, 0.046506051, -0.0094036106, 0.019695295, -0.052674979, -0.0347948931, -0.0682130009, 0.0781862661, -0.0360299349, 0.0033189785, 0.0180910788, -0.0426713191, 0.012502105, -0.0212373491, 0.0145053128, -0.0411968194, 0.0120994672, -0.0201765578, 0.0062926156, -0.0129325166, -0.0503074639, -0.0616547838, -0.048647061, -0.0224441849, 0.0097207669, -0.0127742179, 0.015978571, -0.072054252, -0.0329601131, -0.0139087951, 0.0171627104, 0.0266668275, -0.0114342328, -0.0165200382, 0.0262249541, 0.0435247496, 0.0398852453, -0.0008374999, 0.0000929537, 0.0584614314, 0.0505346693, 0.0533397719, -0.0063340752, 0.0318918861, -0.0457876399, 0.006077237, -0.0430058464, 0.015092358, -0.0240670424, 0.0387825109, -0.037498571, 0.012393998, 0.1003045887, 0.0140346019, -0.0407453328, -0.0080846408, -0.0218652338, -0.014964059, 0.0136719877, 0.0193098392, -0.06272953, -0.0371460393, -0.0235192869, 0.0106602199, -0.0549545288, -0.0825243071, 0.0015499735, -0.1190874353, 0.0366888382, -0.0393883921, 0.022979416, -0.011961001, -0.0285911597, -0.0068755285, -0.0120141488, 0.0284284595, -0.0326521061, -0.0141402325, -0.0404647402, 0.0214273855, -0.0222093742, -0.0476403795, 0.0692313164, -0.033914011, 0.0407549515, 0.0417593829, 0.0610086359, 0.0206340812, -0.0076153493, 0.0387088209, 0.0214445814, -0.0017329896, 0.0141337989, 0.0709470883, -0.0420589186, -0.0057033836, -0.0517246649, 0.0570261441, -0.0614780746, -0.000119449, 0.0338433571, 0.052129522, -0.0493598022, 0.0330557078, -0.002583904, 0.0287560225, 0.028623037, 0.0768168569, -0.0039449437, -0.05100495, 0.0011566926, 0.0047848863, -0.0098058088, -0.0232313424, -0.0070886691, 0.0132503798, -0.0178049076, 0.0278076772, -0.0481503271, -0.066232264, 0.0438718311, -0.0044703903, 0.0094431741, -0.0062919655, 0.0141394865, 0.0143276844, -0.0412637107, 0.0282501876, -0.0411892496, 0.0462646708, -0.0413019396, -0.0292647798, 0.0400629938, -0.0062688263, -0.0161254182, 0.0518676825, -0.0839528814, -0.0379172675, -0.0550678037, 0.0200560018, 0.0170687586, 0.0491693281, 0.0114547685, -0.0192923415, -0.0173726622, 0.0231377333, -0.0887905508, -0.0062057422, 0.0148225175, 0.0698473081, -0.0131951738, 0.0593116172, -0.0381671749, 0.0108173629, -0.0045939521, 0.0207808167, -0.0172437392, -0.0669883937, -0.0064121746, -0.0069217905, 0.0117336111, 0.0432205684, -0.0025979332, -0.0700638145, 0.023454668, -0.0324445814, -0.037504375, -0.0498056263, 0.0227116905, 0.0013816562, -0.0329835154, 0.0148970578, 0.012591267, -0.0739473924, 0.0278878268, -0.0420162082, 0.0288726892, 0.0093201213, -0.0106385881, -0.0220567901, -0.0243056212, -0.0307951868, 0.0180618782, -0.0038613004, 0.0235269517, 0.0345151015, 0.0652399957, 0.0161168016, 0.0149639454, 0.0286362935, 0.0213219784, -0.0316203162, -0.0416884795, 0.0045935786, -0.0021027699, 0.0104493657, 0.0247419085, 0.0559539869, -0.022398835, 0.0055875541, 0.002249765, 0.0547521859, -0.0298116561, -0.0096136481, 0.0597389936, 0.0092000701, -0.0456045456, -0.0050907801, 0.0630422309, 0.0191202387, 0.0276174638, -0.023686422, -0.0214947164, -0.074579522, -0.0467701517, 0.0470781513, 0.0220806729, 0.0002861875, -0.0133555979, -0.0580896772, -0.033239428, -0.0054152631, -0.0220706835, -0.012585015, -0.0097529162, 0.0418004543, 0.0454661548, 0.0072339601, -0.0300436988, -0.0769834444, -0.0049844249, -0.0063305618, -0.005404334, -0.006960528, -5.251072855e-33, -0.0124746654, -0.0244417004, 0.0282698888, 0.0292733777, -0.023991419, -0.0049509848, 0.0222229585, -0.013919414, -0.0418486297, -0.008256278, -0.016368052, 0.0383498259, 0.0135157183, 0.0401512198, -0.000084688, -0.0049476242, 0.0488112494, -0.0341413133, -0.0027952979, 0.0437998027, 0.0242802631, 0.0384885073, 0.0607501417, -0.0588238761, 0.0464656129, -0.0135424584, -0.0192778166, 0.063214004, 0.0273941718, 0.05533088, -0.0428381935, 0.063373819, 0.0272990633, -0.035873346, 0.0235554818, 0.0631322861, -0.05745719, -0.022756638, 0.0341428779, 0.0112175895, -0.0169511419, -0.0356279723, 0.0116178039, -0.0047487337, 0.01160884, 0.0053029605, 0.0307071079, -0.0361250639, -0.0083562089, -0.0028099066, -0.046895504, 0.0424595997, -0.0125564346, -0.0459821597, -0.0210571997, 0.0422168076, -0.0206749476, -0.0094835889, -0.0826871991, 0.0209267214, -0.0042498391, -0.0424365103, -0.0032429672, -0.009590975, 0.0159369558, 0.0702439845, 0.0441859253, 0.0673292652, -0.019513825, 0.0052505252, -0.0452814065, 0.0659143925, -0.0340753049, 0.0220951159, -0.043237403, -0.0185969044, -0.0526580811, 0.0230428502, 0.0235650372, 0.0167822074, 0.0336179584, -0.0215775575, -0.0415188968, -0.0060367426, -0.0056499769, 0.0089606224, -0.0007684338, -0.0055465982, 0.0211469457, 0.0353512317, 0.0142715778, 0.0164174922, -0.0069454354, -0.044954285, 0.0071154516, 0.0238362923, -0.0236527752, -0.0328454748, -0.0065863407, -0.0487015955, -0.0933840796, -0.031785883, 0.0119263781, 0.0106042186, 0.0260102525, 0.0050523919, 0.0230221823, -0.0299111847, -0.0537144206, -0.0018053496, -0.0240664836, 0.0767041668, -0.0532791689, 0.0563608706, -0.0049683172, 0.011841069, -0.0210150518, 0.1195071414, 0.0051476406, -0.0057821199, -0.0307255071, 0.0156132262, 0.0371533781, 0.0155887287, -0.0052847443, -0.0130607812, 0.0132603692, 0.0203098655, 0.0503048599, -0.0069196331, 0.0137325637, -0.0156623069, 2.454e-7, 0.0012021112, 0.0154884905, 0.0179281291, 0.019487638, 0.0332815014, 0.0531939454, 0.0057263062, 0.0563492402, -0.006790447, -0.0072411411, 0.0149670867, -0.009045111, 0.0625593439, 0.0176391248, -0.0801085606, -0.0867239386, 0.0013565901, -0.0611171946, -0.0565206893, 0.0021671013, 0.0959580541, 0.0925351083, 0.0390032977, -0.0235755946, -0.0457118899, -0.0223749559, 0.0791913345, -0.0350217447, -0.0633214265, 0.0377083346, 0.0380118005, 0.0164704714, -0.0125178704, 0.0229901113, -0.0170056205, 0.0490412116, 0.014257988, 0.0887969434, -0.0098300595, -0.0442648903, 0.0083225043, -0.0356893167, -0.0261397213, -0.0024159593, 0.0368955992, -0.0507914051, -0.0789966881, -0.0026663886, 0.0312420651, -0.0188162904, 0.0336907431, -0.0124228327, 0.0037368608, 0.0013732339, 0.0261981357, -0.0105565647, -0.0056455419, -0.0651986301, 0.0354697965, -0.0093119498, -0.0790442154, -0.0643471181, 0.0063636154, -0.0140986973, -0.0051075979, -0.0204300992, 0.0339773037, 1.652826332e-34, 0.0295081828, 0.0130882738, -0.0243139528, 0.0480055548, 0.040485356, 0.0036172075, 0.0097009409, -0.0163668394, 0.0160846431, -0.0698432103, 0.013714388 ]
http://arxiv.org/abs/2402.01783v1
http://arxiv.org/pdf/2402.01783v1
Hierarchical Multi-Label Classification of Online Vaccine Concerns
2024-02-01T20:56:07
2024-02-01T20:56:07
Chloe Qinyu Zhu, Rickard Stureborg, Bhuwan Dhingra
cs.CL
cs.CL, cs.AI, cs.LG
Vaccine concerns are an ever-evolving target, and can shift quickly as seen during the COVID-19 pandemic. Identifying longitudinal trends in vaccine concerns and misinformation might inform the healthcare space by helping public health efforts strategically allocate resources or information campaigns. We explore the task of detecting vaccine concerns in online discourse using large language models (LLMs) in a zero-shot setting without the need for expensive training datasets. Since real-time monitoring of online sources requires large-scale inference, we explore cost-accuracy trade-offs of different prompting strategies and offer concrete takeaways that may inform choices in system designs for current applications. An analysis of different prompting strategies reveals that classifying the concerns over multiple passes through the LLM, each consisting a boolean question whether the text mentions a vaccine concern or not, works the best. Our results indicate that GPT-4 can strongly outperform crowdworker accuracy when compared to ground truth annotations provided by experts on the recently introduced VaxConcerns dataset, achieving an overall F1 score of 78.7%.
Hierarchical Multi-Label Classification of Online Vaccine Concerns: Vaccine concerns are an ever-evolving target, and can shift quickly as seen during the COVID-19 pandemic. Identifying longitudinal trends in vaccine concerns and misinformation might inform the healthcare space by helping public health efforts strategically allocate resources or information campaigns. We explore the task of detecting vaccine concerns in online discourse using large language models (LLMs) in a zero-shot setting without the need for expensive training datasets. Since real-time monitoring of online sources requires large-scale inference, we explore cost-accuracy trade-offs of different prompting strategies and offer concrete takeaways that may inform choices in system designs for current applications. An analysis of different prompting strategies reveals that classifying the concerns over multiple passes through the LLM, each consisting a boolean question whether the text mentions a vaccine concern or not, works the best. Our results indicate that GPT-4 can strongly outperform crowdworker accuracy when compared to ground truth annotations provided by experts on the recently introduced VaxConcerns dataset, achieving an overall F1 score of 78.7%.
[ 0.0547863729, 0.0868248045, -0.0015373412, -0.0100571224, -0.0283869561, 0.0130225467, 0.0323434137, -0.0108852098, 0.0164755192, -0.0804095566, 0.0165654644, -0.0268065929, -0.0019938936, 0.0013528111, -0.013841955, -0.0461528786, 0.0382807292, 0.0156432204, 0.0829092339, 0.0167112332, 0.029685745, 0.0186558571, -0.0495956689, 0.0583392568, -0.0021606449, -0.0100322301, 0.0055923918, -0.0156295002, 0.0509944484, -0.1289876103, 0.0659511834, 0.0440945141, 0.0312113091, 0.0541787595, 0.0000017274, -0.0261856467, -0.0234809518, 0.0100745168, -0.0155871427, -0.0083420901, 0.0591686592, -0.0247814339, 0.0352825597, 0.0543183014, -0.0378979407, -0.0327266343, 0.0539613478, 0.0464820862, 0.0422224551, 0.0466833226, -0.0178766977, -0.0160373896, 0.0354946591, 0.0033941267, -0.0002886295, -0.0753738657, 0.0570963658, -0.0431336202, 0.0038862361, 0.0628286824, 0.0367761292, 0.0367096178, -0.0416290313, -0.0088012312, 0.0194985159, 0.0309514441, -0.03857987, -0.0202225707, -0.0220506955, 0.067630522, 0.0288291164, -0.0078667626, 0.0196826961, -0.0251157004, 0.0063062664, 0.0070540169, -0.0249993801, -0.004867834, -0.0157192145, 0.0238472428, 0.0223232321, 0.0108665023, 0.0429114327, 0.0304277241, 0.0422172546, 0.0607685521, -0.0267404933, -0.0389359929, 0.006290501, 0.0110981576, 0.0151549689, -0.0506586209, 0.0294635743, 0.0230598748, -0.0376588255, 0.025052987, 0.0034589311, -0.0418674015, 0.0460996367, -0.0921530649, -0.0303071644, -0.0210929643, 0.0029473128, 0.0366278924, 0.0468298867, -0.0141078401, -0.0203960966, -0.0090112826, 0.0462731719, 0.00489537, -0.0831008404, -0.0030452702, -0.0505376048, 0.0314331464, 0.0161901359, 0.0325700566, -0.0676945075, -0.0141690327, -0.0325100981, -0.0206417441, -0.0442037247, 0.0018267073, 0.0033000908, -0.0002293874, -0.0035757003, 0.0805386901, -0.0406015068, 0.043683514, -0.0079495721, -0.043184109, 0.014708125, -0.0014991489, 0.0154425725, -0.0159454662, -0.0122787142, 0.0157590788, 0.0186732057, -0.0182885937, -0.0239898637, -0.0329767168, -0.0504565276, -0.0195043758, -0.034227062, -0.039901495, 0.0100665903, 0.0004693569, 0.001819712, -0.0052076508, 0.0026341416, 0.0063973833, -0.067873165, 0.0701641962, -0.0182127636, -0.0028905964, 0.0705338344, 0.014909219, 0.0171853695, 0.0369327366, 0.016198393, 0.004516209, 0.0326729827, -0.0031278711, 0.0378249325, 0.0051391334, 0.0248250794, 0.0122012934, 0.040493533, -0.0008415777, 0.0161557645, 0.023482915, -0.0541676283, 0.0506100394, -0.0129948827, -0.0229601897, 0.0642241165, 0.0507000424, -0.0892425627, -0.084490709, -0.0082888678, 0.0677584559, -0.0197146703, -0.0373897143, -0.0022068324, -0.0209671389, -0.0490151793, -0.0653036237, 0.0136516746, -0.0190457888, -0.0229843184, -0.0262673944, -0.0488382466, 0.0032139404, 0.003179132, -0.0029255531, 0.0352373086, -0.0290816277, -0.0407455824, 0.0268344879, 0.047861442, -0.0003608937, -0.00558746, -0.0696488321, 0.0192565843, 0.0273577366, 0.0211844072, -0.019352017, -0.0728987157, -0.0579450354, 0.056948401, 0.0205997694, 0.0267703775, -0.028996747, -0.014809371, -0.0233626291, -0.0191084705, 0.0349385031, 0.0333850197, 0.0083283149, 0.0303617511, -0.0040533305, -0.0141137969, 0.0171398818, -0.0171802081, 0.0425575078, 0.0171150472, -0.0262707081, 0.0131124398, 0.027469011, 0.0840142071, 0.009601797, 0.0341935195, 0.0098586539, 0.0246572439, -0.034821488, -0.0216298159, -0.040922571, 0.0057710321, 0.0047982903, 0.0247867666, -0.0123025347, -0.0222299434, 0.0049099149, -0.0567663126, 0.0320165865, -0.0023189532, -0.0060417694, 0.0093637668, -0.0176347233, -0.0067727165, -0.0157281142, -0.0006598313, -0.033306703, 0.0325381495, -0.0198924802, -0.0017295363, 0.004518291, -0.0483606607, -0.017731769, -0.0324613079, 0.0138878478, -0.0020238154, 0.0150495628, -0.0015413858, 0.0181576982, -0.0276678316, -0.0290952642, -0.0139334453, -0.0989725068, -0.0008943379, 0.0030843932, 0.0362281166, 0.0179427732, -0.0167522058, 0.0259390827, -0.0078744031, -0.0324096903, 0.0054874485, 0.0067950212, 0.0603539683, 0.0599705279, 0.0116506638, 0.0204828698, -0.0274504907, 0.002278215, -0.0660452396, 0.0072651999, 0.0548821539, -0.0572860502, -0.0228172187, -0.0668392405, -0.0405318402, 0.0092480313, -0.0096602645, -0.0156608969, 0.0250621866, 0.0044310652, -0.0105732176, 0.0164580233, 0.0349880382, 0.0364016108, 0.0522283018, 0.0243555382, -0.0187890977, 0.0188330673, -0.0450710095, -0.0294253752, -0.0233302303, 0.0060412544, 0.0182514787, 0.1128047109, 0.0186725687, 0.0069309976, -0.0636230037, 0.0196738541, -0.0511116832, -0.003606006, -0.0877162442, -0.0186791196, -0.0284545012, 0.0345206819, -0.0252539683, -0.0272785909, 0.0524590276, 0.0283699222, 0.0204482861, -0.0498261936, -0.0302750599, -0.0258513447, 0.0012821796, 0.002855733, 0.0066359271, 0.0583671778, -0.0095036449, 0.0081956303, -0.0297249202, 0.0064426535, -0.0476212576, -0.056993816, -0.0380119607, 0.0384156965, -0.0077473526, -0.0559290834, -0.0518217236, -0.0948256403, -0.072491847, -0.0306324568, 0.0099178571, -0.0072574047, -0.0558275767, 0.0195658803, -0.0045463578, 0.0429012552, 0.0095666777, -0.035177961, 0.024331633, 0.0510528125, 0.0297322664, -0.033856038, 0.0090358527, -0.030102253, -0.0063794106, 0.0560232215, 0.0169895906, 0.0192915443, -0.0054853247, -0.0188330021, 0.0064821509, -0.0129606975, -0.0212898422, 0.0319337249, 0.0404606089, -0.0600361563, 0.0281926058, 0.0954581201, 0.0333791971, -0.014896391, 0.0036494653, 0.0048629208, 0.013515288, -0.0070378175, -0.0045356099, -0.0635675788, -0.0271428321, -0.0042512193, 0.041961506, -0.0423671938, -0.0547289923, -0.0081960214, -0.0635864064, 0.0467963554, -0.0114599811, -0.0279498361, 0.0418643542, -0.0579759665, 0.0119716097, 0.0048072999, -0.0107630733, -0.0219779331, 0.039605584, -0.011664236, 0.0046490184, -0.0710559413, -0.0215713568, 0.0405058824, 0.0165123343, 0.0499085262, 0.0256706644, 0.0708715394, -0.000458222, -0.0687906146, 0.0382861756, -0.0036010034, -0.0581370406, -0.0197973419, 0.0888716951, -0.0303055346, 0.0036756475, -0.0554240271, 0.031147873, -0.040152546, -0.0150519339, 0.0154285282, 0.091036655, 0.00184228, -0.046461191, -0.0351431817, 0.0299717952, 0.0229136776, 0.0566816181, 0.0092433486, -0.0523402095, -0.0083931675, 0.0053338772, 0.0314131528, -0.0316159613, -0.0099548548, 0.0028266208, -0.0104253618, -0.0576435365, -0.054034505, -0.0023175573, 0.0424768142, -0.026856903, -0.0255400054, -0.0228748713, 0.052246958, 0.0310766958, -0.027936589, 0.0233775862, -0.0169744659, 0.0083691189, -0.0548243597, -0.0166744739, 0.0410623625, 0.0233451761, -0.0300104152, 0.06025213, -0.0679893643, -0.0726281106, -0.0158588607, -0.00668213, 0.0195258111, 0.0072623729, 0.0032015103, 0.0091022784, 0.0499600433, 0.0595347621, -0.0055265157, -0.0395685211, 0.0180208329, 0.0275200866, -0.0037171482, 0.0268572196, 0.0101128519, 0.0138489259, -0.0098753236, -0.0151902093, -0.0768500268, -0.0172151159, -0.0018081012, 0.0051522702, 0.0767290294, -0.0081858607, -0.025028849, -0.0486534685, -0.0232330989, 0.0227651447, -0.0339452513, 0.0026427617, -0.015350149, 0.0122057721, -0.0415235721, -0.0503820963, 0.0317296349, -0.0156341027, 0.0269598942, -0.0190100726, 0.0025134608, 0.0142541965, 0.0622517541, 0.0439142734, -0.0304325968, -0.002694895, 0.0321480557, 0.0300018359, 0.0124791199, -0.0062307846, 0.0133911036, -0.008308202, 0.0222875681, 0.0272475071, -0.0041106883, -0.0462070666, -0.0422100313, -0.0208937954, 0.019990379, -0.0042001191, 0.0245555621, 0.0412188284, -0.0069380985, -0.0544390492, -0.0237024035, 0.0556750596, -0.0217223708, -0.0267806482, 0.0334498435, 0.0038824666, -0.0570413023, 0.0104119303, 0.0544695891, 0.0229737684, 0.0878052562, 0.0370636247, -0.0560230091, -0.0445532762, -0.0049263113, -0.0150434067, 0.0532776713, -0.0088918526, 0.0629952773, -0.0676797181, -0.0129255978, 0.0306440704, -0.0396207161, -0.0108342571, 0.0026148553, 0.0183233358, -0.0057491334, 0.007016297, -0.0125247529, -0.0549495742, 0.0158769786, 0.0064657344, -0.0348588899, -0.0453267954, -6.239429975e-33, 0.0090434374, -0.0576708913, -0.0191039518, -0.0319140479, 0.0017230853, 0.050034292, -0.017556686, 0.0230369996, -0.0090686055, 0.0347955488, 0.0375304185, 0.0025012821, -0.0078462204, 0.0304669514, 0.0181304645, -0.0279483441, 0.0503453836, -0.0278313365, -0.0000336819, 0.049442444, 0.0314024985, 0.011141927, 0.0306786317, -0.076633133, 0.0642205998, -0.0141431801, 0.0040628193, 0.0481307022, 0.0018212388, 0.0437618382, -0.0154205421, 0.048791565, 0.0560557097, -0.0020017396, 0.0371273085, 0.0626373962, -0.0534505807, -0.0154963881, -0.0420768559, -0.0238182731, -0.0495793074, -0.0379186794, 0.0419551134, 0.0355070271, -0.0099734738, -0.0027923009, 0.0402489007, -0.0133252535, 0.009752986, -0.0367590152, -0.0506923571, 0.0222462807, -0.0267266966, 0.0017770635, -0.0078796698, 0.0633481517, -0.0239449237, 0.1195316687, -0.028211711, 0.0336280353, 0.0161120687, -0.0154956765, -0.00161726, 0.0026792197, 0.0096389307, 0.026731912, 0.0032853629, 0.0059602256, -0.0405251384, -0.0099376068, -0.0133116795, -0.0016174527, 0.0417900234, 0.0479953215, 0.0576566719, 0.0077001648, -0.0979785249, 0.0032255244, -0.0277155936, 0.0234276392, 0.0203749128, -0.0033998576, -0.0307420492, -0.0158415195, -0.0170142297, -0.0252000801, -0.0204269309, 0.0223513599, 0.0198794249, 0.0052984837, -0.0215508938, -0.0014794989, -0.0104580168, 0.0113568893, -0.0573382415, 0.0152833825, 0.0409557745, 0.0004431221, 0.0125506483, 0.0375719629, -0.0621938668, 0.0133930184, -0.0016834874, -0.0160549693, 0.0285745952, -0.0103125125, 0.0405189134, -0.0363792405, -0.0895895958, -0.0221866127, 0.0126568358, 0.0480178185, -0.0336715356, 0.0716881528, 0.036768239, 0.0016294201, 0.0219814349, 0.0739164501, 0.0075915135, 0.0014300571, 0.0116058607, -0.0207052473, -0.0555038489, -0.0044730809, -0.0240792036, -0.0152580217, 0.0016183219, 0.0423693694, 0.0025108343, -0.0821851864, -0.0063047241, -0.0447240919, 2.531e-7, 0.0847447217, 0.0940363854, -0.014402708, -0.029480366, 0.0349513553, 0.0487983339, -0.0157017987, 0.0052125067, -0.0123555753, -0.0455247089, 0.0207633674, 0.0100321975, 0.0344118476, 0.054842487, -0.0609630495, -0.0482845455, -0.0736671761, 0.0338727869, -0.0458586477, 0.0132085243, 0.082352221, 0.0517282635, 0.0280909166, -0.0086788666, -0.0119137559, 0.0299738962, 0.057273753, 0.0060903188, -0.0148835005, 0.0244069491, -0.008213453, 0.0175401419, -0.0049288962, 0.0396973863, -0.0365293697, -0.0468982011, -0.0379799791, 0.0605268739, -0.0224180408, -0.0129254777, 0.0081957867, -0.0046557994, -0.0254666433, -0.0123628806, 0.0427887179, -0.0712755844, -0.0512681417, -0.0277464278, -0.0097478386, -0.0054106228, 0.0387655646, -0.0142233213, -0.0326874703, 0.0022802139, -0.0001880981, -0.0010872093, -0.0053867162, -0.0584221892, 0.0272384882, 0.0066880565, -0.0498672314, -0.0665881261, 0.0220248252, 0.0047918172, 0.0124743972, -0.0271237046, 0.067562744, 1.897682035e-34, 0.0327537768, -0.0039847656, -0.0146078961, -0.0048582205, 0.0127076153, 0.0385576375, -0.0350827388, -0.0226186011, 0.039196346, -0.030780917, 0.0338427499 ]
http://arxiv.org/abs/2402.00978v1
http://arxiv.org/pdf/2402.00978v1
An Information-Theoretic Approach to Analyze NLP Classification Tasks
2024-02-01T19:49:44
2024-02-01T19:49:44
Luran Wang, Mark Gales, Vatsal Raina
cs.CL
cs.CL, cs.AI, cs.IT, math.IT
Understanding the importance of the inputs on the output is useful across many tasks. This work provides an information-theoretic framework to analyse the influence of inputs for text classification tasks. Natural language processing (NLP) tasks take either a single element input or multiple element inputs to predict an output variable, where an element is a block of text. Each text element has two components: an associated semantic meaning and a linguistic realization. Multiple-choice reading comprehension (MCRC) and sentiment classification (SC) are selected to showcase the framework. For MCRC, it is found that the context influence on the output compared to the question influence reduces on more challenging datasets. In particular, more challenging contexts allow a greater variation in complexity of questions. Hence, test creators need to carefully consider the choice of the context when designing multiple-choice questions for assessment. For SC, it is found the semantic meaning of the input text dominates (above 80\% for all datasets considered) compared to its linguistic realisation when determining the sentiment. The framework is made available at: https://github.com/WangLuran/nlp-element-influence
An Information-Theoretic Approach to Analyze NLP Classification Tasks: Understanding the importance of the inputs on the output is useful across many tasks. This work provides an information-theoretic framework to analyse the influence of inputs for text classification tasks. Natural language processing (NLP) tasks take either a single element input or multiple element inputs to predict an output variable, where an element is a block of text. Each text element has two components: an associated semantic meaning and a linguistic realization. Multiple-choice reading comprehension (MCRC) and sentiment classification (SC) are selected to showcase the framework. For MCRC, it is found that the context influence on the output compared to the question influence reduces on more challenging datasets. In particular, more challenging contexts allow a greater variation in complexity of questions. Hence, test creators need to carefully consider the choice of the context when designing multiple-choice questions for assessment. For SC, it is found the semantic meaning of the input text dominates (above 80\% for all datasets considered) compared to its linguistic realisation when determining the sentiment. The framework is made available at: https://github.com/WangLuran/nlp-element-influence
[ 0.0213973597, -0.0468060672, -0.0237324759, 0.0243144389, -0.072902061, 0.0480123498, 0.01464306, 0.0303570591, 0.042907849, -0.0944327414, 0.0180308092, 0.0031798268, 0.002599651, -0.0413689762, -0.001526594, -0.0505566709, 0.0354054384, 0.0080795605, 0.0005630259, -0.0074768146, 0.0060923025, -0.0050646546, 0.0006560853, -0.0192482956, 0.0087488536, -0.0155516984, -0.0037091519, -0.0269050654, 0.0117964754, -0.0330634192, 0.0003195636, 0.0576972142, -0.0114235524, 0.0136301517, 0.0000021454, -0.055939313, -0.0306798667, -0.0035563121, -0.0188981146, -0.008984101, 0.0719170347, 0.0093276538, 0.037649218, 0.0174813084, -0.0094363876, -0.010484701, 0.0255138669, 0.0810695589, 0.0477023236, 0.0719216391, 0.0066874484, -0.0215393081, -0.0042853686, 0.056060873, 0.071155563, -0.0073825633, 0.0193112977, 0.0234951023, -0.0089805331, 0.0330674015, 0.002268733, 0.0226865578, 0.0107109733, 0.0449573733, 0.0157482233, 0.0034726728, 0.0229669027, -0.016096117, -0.0157630052, 0.0303340293, 0.0471522436, -0.0324861631, -0.0609855503, -0.0268088281, -0.0079382537, 0.0507797338, -0.0088875676, -0.0025764471, -0.0221453272, 0.0068357061, 0.0351514705, 0.0216085576, -0.0015351879, 0.0422277339, -0.0082700346, 0.0601793081, -0.0189788546, -0.0587861277, 0.0412494168, 0.0430925637, -0.0048332522, 0.0048898407, 0.0194360353, 0.0150142936, 0.0102644861, 0.0197331477, 0.0087892935, -0.0610492229, 0.0523340441, -0.0838350058, -0.0032681525, 0.0268081632, 0.016266752, 0.0183947999, 0.0008402796, 0.0470483936, 0.023222141, 0.0008762204, -0.0676610395, 0.018011352, -0.0710786805, -0.0131133506, 0.0159716699, 0.0527337007, -0.0180890374, -0.0047821016, -0.024995584, 0.0058366437, -0.0095558111, -0.0147085646, -0.0343672447, 0.000411374, -0.0163828526, 0.0731988326, -0.0572813451, 0.0198387355, -0.0504640006, 0.0219898447, -0.0350379199, 0.0049497844, 0.0359784961, 0.0313739516, 0.0100235483, -0.0312371142, 0.0102171982, 0.0509455912, 0.000568323, -0.0391553976, -0.0283947736, -0.0494425707, -0.0059419866, -0.0380135998, -0.0016203044, -0.0125082713, -0.0108861821, 0.0254373625, -0.0036600947, -0.0004270367, -0.0137137054, 0.0495715626, 0.0083550457, 0.0871106461, 0.0228534769, -0.0337503515, 0.0303809643, 0.0166173689, 0.0387490205, 0.0528599024, -0.0206559543, -0.0080706077, 0.0554112531, -0.0335059911, -0.0006580368, -0.0138845388, -0.0174795594, -0.0097611072, 0.0071941284, 0.0287161414, -0.0154398009, 0.0016713128, -0.0251853205, 0.0362531394, -0.0101616466, -0.01124328, 0.0300167818, 0.0216832068, 0.0431003608, -0.0171764921, 0.0150343925, 0.0299598407, 0.0106298998, 0.0574987605, -0.003869578, -0.0107966987, -0.0614887178, 0.007731678, 0.0014741264, -0.0377292112, 0.0057017147, -0.0789294764, -0.0231187996, 0.0274969079, 0.0648203641, 0.0203224551, 0.0580466576, 0.001969235, -0.0475476682, -0.0376617201, 0.0169260297, -0.0542849191, 0.0053898073, -0.026422061, 0.0481894128, 0.0349002294, 0.0252731685, -0.0476715602, -0.0083652781, -0.0018508176, -0.0309449863, 0.0082744341, 0.031398274, -0.0298085567, -0.0104216654, -0.0319349207, -0.0003437896, 0.0223470367, -0.013734349, 0.0060614399, -0.0089175161, -0.0057012928, -0.0003599056, 0.014597672, -0.0424965397, 0.0450025387, 0.0360263214, -0.0748606399, -0.0032698519, 0.0306677874, 0.0657917336, 0.0330883153, -0.002433531, -0.0171631519, 0.0109634176, -0.0224380679, -0.025782004, -0.0149098029, -0.0151694948, -0.0559228361, 0.0046206284, -0.0546646975, 0.0050720293, 0.0287742428, -0.0119347181, -0.0260465872, -0.0053083617, -0.0528750941, -0.0027072073, -0.0235860683, -0.0217043944, -0.052343294, -0.0300970022, -0.1067644656, 0.0578007735, 0.0103622312, 0.0893788785, -0.0158662144, 0.0383602045, 0.0557725243, 0.0236287098, -0.0479608811, 0.0088922977, 0.013695159, 0.0034065836, 0.0640765801, 0.0206119474, -0.0504447259, -0.0123249097, -0.0848994404, -0.0032928949, 0.0096520809, 0.026812559, 0.0304430462, -0.0116069308, 0.0082100108, 0.0147078549, -0.0123431971, -0.0020973107, -0.0268464442, 0.0285978038, 0.0390418395, 0.0123302527, 0.0341808014, -0.0121821314, -0.0054033427, -0.0535906926, 0.0341194868, 0.0767918825, -0.0172883291, -0.0477639176, 0.0399338044, -0.0086948285, -0.0233911499, 0.0028744701, -0.0158923566, 0.0275915395, -0.0063942731, 0.0178090297, 0.0335264988, 0.0074069602, 0.0394846834, 0.0074958019, 0.0102175632, -0.0435437821, 0.0220081452, -0.0393160321, 0.0424852371, -0.0164779034, -0.0460408553, 0.0116239842, 0.0637906417, 0.0381276421, -0.0490837917, -0.0216157623, 0.0218104329, -0.0911206901, -0.0180087797, -0.0833608806, -0.0014642334, -0.0063678212, 0.0575414486, 0.0022359444, -0.0162997525, 0.0701393262, -0.0201191362, 0.0107170567, -0.1644206047, -0.002899653, -0.0415858142, 0.0642627999, 0.0216055866, -0.0028210536, 0.0295201056, -0.0144099537, -0.023861317, -0.0336276665, 0.0166197568, -0.0255495235, 0.0414074101, -0.0284690801, -0.0225506555, -0.0075273332, -0.0185603369, 0.0163610838, -0.0095362272, 0.0062744636, -0.0405487604, 0.0440990366, 0.0155801084, 0.0100768255, -0.0232525598, 0.0193042234, -0.0257584602, -0.0267258473, -0.0320185423, -0.0022548204, 0.0613719821, -0.0112276962, 0.032169234, 0.030850336, -0.0150057944, 0.0011203559, 0.0409553982, -0.0002314369, 0.0323889963, -0.0022173894, 0.0090617901, 0.0320124477, -0.0617717505, -0.0009953309, -0.0170655698, 0.0448112674, -0.0692595541, -0.0131698055, 0.0839286149, 0.0542037487, -0.029455753, -0.0065476075, -0.0089637944, -0.0062884148, 0.0365474746, 0.0037716643, -0.0327991061, -0.0408367179, -0.0153999692, -0.0033620659, -0.0666923672, 0.0038511483, -0.0095629981, -0.0668486431, -0.0088141663, -0.0267707948, -0.0596309118, -0.0425556824, -0.0806767866, -0.0115140565, -0.0019914024, 0.0140047763, -0.0205202065, 0.0068065976, 0.0271141604, 0.0279550329, -0.0209311023, 0.0168389361, 0.0234939232, 0.0355627239, 0.0068362458, 0.0430575386, 0.042453289, -0.0479510501, 0.0198116899, 0.0344757885, -0.1090750173, -0.0001574591, -0.0470441505, 0.0667325407, 0.0251691714, 0.0187389906, -0.0603895299, 0.0082850223, -0.0193007607, -0.0021437588, 0.0226753093, 0.0483470857, -0.0076752249, -0.0500915833, -0.0460110903, 0.0244611297, 0.0157333221, 0.0861415043, 0.032861121, -0.0891554132, -0.0143002057, -0.0402157605, 0.0234494805, -0.0737768188, -0.0356576145, 0.0304161664, -0.0031595605, -0.0199224409, -0.0398518257, -0.0895134658, 0.0345269926, 0.0107220644, 0.001912673, 0.0320591889, 0.0204173643, -0.0175730009, -0.026454147, 0.0010144557, 0.0314333178, 0.0103531042, 0.0257655978, -0.0270673689, 0.0345757678, -0.0211736895, -0.0352676921, 0.0022615911, -0.0339075774, -0.0049524945, -0.0027379922, -0.0055879825, 0.0153203849, 0.0237157941, 0.0138676688, -0.0495445132, 0.0709467381, -0.0262638908, -0.0251914132, 0.0040299585, 0.0134639163, 0.0449106954, 0.0270791687, -0.0027613938, 0.0074812225, 0.0337347649, 0.0154426964, -0.0209848192, -0.0163601898, -0.0136602707, 0.0233918, 0.0349625424, 0.0286444165, 0.0157569367, -0.0190336034, -0.0223193467, -0.0145240724, 0.0109258909, -0.0529704764, 0.0038275369, -0.0192201808, 0.0121553903, -0.0219621938, -0.0716801509, -0.0043756217, -0.0276802555, 0.0272451062, -0.0237250682, 0.0509248152, 0.0579716675, 0.0580016524, -0.0079781767, 0.0117264194, -0.0492541119, -0.0261154212, -0.030825058, 0.0077146152, 0.0275058784, 0.074109152, 0.0349948369, -0.0068001719, 0.0011122557, -0.0108595174, -0.0573577508, 0.0830857754, 0.0141208721, -0.0140340319, -0.0453373939, -0.0141176367, -0.0050634802, -0.0253781602, 0.0026544896, -0.0183972418, 0.0306075476, 0.0101349885, -0.0078875544, 0.0492558777, 0.0098621622, -0.0027994029, -0.0027376956, 0.0529022068, -0.0341613404, 0.0023885469, 0.0214082208, -0.0158326905, -0.0649934933, 0.0002886596, -0.006995922, 0.0694340169, 0.0092568081, 0.032047648, -0.0572415069, -0.0480746552, 0.031961035, 0.0118081216, 0.0527841337, -0.0045757554, 0.027603846, 0.069432199, -0.0082826819, -0.010348279, -0.0460728966, -0.0002384483, -0.0656011254, -0.0279741678, -0.0235329308, -6.225642161e-33, -0.0160911176, -0.0311027337, -0.0049667875, 0.0180527121, 0.0177565925, 0.0220249705, 0.0058540055, -0.0055193105, -0.0138334911, 0.0152857332, -0.0004733319, 0.0105448393, -0.018967703, 0.0560645349, 0.0028769274, -0.0208311547, 0.0170866083, -0.0062121293, -0.0188609902, 0.0205569323, 0.0472430401, -0.0125181777, 0.0299325511, -0.0841812417, 0.0730015561, -0.0119700683, 0.0006042676, -0.0163409915, -0.0102583067, 0.0155412201, -0.0363562927, 0.0939601362, 0.0695954114, -0.0711899027, 0.0247923527, 0.0785735771, -0.040226832, -0.1004986241, 0.0197655205, 0.046288915, -0.0281045493, -0.017802611, 0.0434723832, -0.0205679815, -0.0017297402, -0.0275664665, 0.0702788979, 0.015198837, -0.0130845336, -0.0370546058, -0.0739103928, 0.0174434669, -0.0382624157, 0.0158595126, 0.0201733354, 0.0865320489, -0.0175693613, 0.0302234124, -0.0654897243, 0.0049966658, -0.0106416224, 0.0110450145, -0.0239533279, 0.0103805047, -0.0018368035, 0.0482557677, -0.0055827927, -0.0312894918, -0.0161077864, -0.004825715, 0.0121365665, -0.0338888317, 0.0365090184, 0.0719045848, 0.0549136922, -0.0409656502, -0.07175266, 0.0509801134, 0.0610779747, -0.007325531, 0.0226562675, -0.0264612343, -0.0787851214, -0.0377688818, -0.0546765216, -0.0229146779, -0.0385200717, -0.02755991, 0.0198028311, -0.0577885509, -0.0273224693, -0.0073430566, 0.0034841783, -0.0411404148, -0.0048249508, 0.0009445864, -0.0346495695, 0.0579977483, -0.0004203971, 0.0039748619, 0.0010418646, -0.0218002852, -0.0315146372, 0.00749913, 0.0398163125, -0.0147401216, 0.0401008464, 0.015691489, -0.0496193394, -0.0613259636, -0.0143109029, -0.0199151281, 0.0282285064, 0.0433365367, -0.0070707053, 0.0467930213, 0.0003303129, 0.024182668, 0.0412271209, 0.0233901292, -0.0016987697, -0.0593105182, -0.0267968159, -0.0117682004, -0.0315650888, -0.0613870658, 0.006609492, -0.0121577363, 0.0052562593, -0.0542223416, 0.015787486, 0.0340396203, 2.83e-7, 0.0672280863, 0.0906108618, -0.0415863581, 0.0147061972, 0.0095042158, 0.0503669828, 0.040125262, 0.0046922504, 0.0200243052, -0.0162299573, 0.0032535165, -0.0067506349, -0.0139427288, 0.0178368445, -0.1017615646, -0.0481497832, 0.0337225497, 0.0368205495, -0.0051259324, 0.0868249312, 0.1124305502, 0.0571519844, 0.0154632097, -0.0041535343, -0.0415255576, -0.0088592898, -0.0104021318, -0.0508125685, 0.0223632753, 0.0476267226, 0.0015978712, -0.0138071515, 0.0507068671, 0.0849142075, -0.0067402408, -0.0079343701, 0.0075492891, -0.0000803078, 0.0233733729, -0.0428857207, -0.0000915617, -0.0164340511, 0.0143880267, -0.0404516868, 0.0789732561, -0.0428855121, -0.0613686554, -0.0281016193, -0.0053964676, -0.0250747763, 0.0336876251, 0.0328144915, -0.0234616473, 0.0103705917, -0.0205428656, -0.0334792808, -0.0094229467, -0.0504062735, 0.002629492, 0.0198211875, -0.0110796923, -0.02444157, -0.0326735713, -0.0070566679, 0.0651904419, -0.0838080272, -0.0068221628, 2.430719131e-34, 0.0100398874, -0.0070965458, 0.0122257639, -0.00148441, 0.0206654798, 0.0004363057, -0.023398485, -0.0005294132, 0.0394648649, -0.078459464, 0.0231718868 ]
http://arxiv.org/abs/2402.00969v1
http://arxiv.org/pdf/2402.00969v1
SPARQL Generation with Entity Pre-trained GPT for KG Question Answering
2024-02-01T19:38:32
2024-02-01T19:38:32
Diego Bustamante, Hideaki Takeda
cs.CL
cs.CL, cs.AI, cs.DB, cs.IR, 68P20, 68T50, H.2.3; H.3.3; I.2.7
Knowledge Graphs popularity has been rapidly growing in last years. All that knowledge is available for people to query it through the many online databases on the internet. Though, it would be a great achievement if non-programmer users could access whatever information they want to know. There has been a lot of effort oriented to solve this task using natural language processing tools and creativity encouragement by way of many challenges. Our approach focuses on assuming a correct entity linking on the natural language questions and training a GPT model to create SPARQL queries from them. We managed to isolate which property of the task can be the most difficult to solve at few or zero-shot and we proposed pre-training on all entities (under CWA) to improve the performance. We obtained a 62.703% accuracy of exact SPARQL matches on testing at 3-shots, a F1 of 0.809 on the entity linking challenge and a F1 of 0.009 on the question answering challenge.
SPARQL Generation with Entity Pre-trained GPT for KG Question Answering: Knowledge Graphs popularity has been rapidly growing in last years. All that knowledge is available for people to query it through the many online databases on the internet. Though, it would be a great achievement if non-programmer users could access whatever information they want to know. There has been a lot of effort oriented to solve this task using natural language processing tools and creativity encouragement by way of many challenges. Our approach focuses on assuming a correct entity linking on the natural language questions and training a GPT model to create SPARQL queries from them. We managed to isolate which property of the task can be the most difficult to solve at few or zero-shot and we proposed pre-training on all entities (under CWA) to improve the performance. We obtained a 62.703% accuracy of exact SPARQL matches on testing at 3-shots, a F1 of 0.809 on the entity linking challenge and a F1 of 0.009 on the question answering challenge.
[ 0.0738215894, 0.0352768712, 0.0144542158, 0.0107837748, -0.0103956023, 0.0302895792, -0.0439535752, -0.0036051462, 0.0431983359, -0.0473703891, 0.008543903, 0.0182876028, -0.0534593053, 0.0289198607, 0.0233764015, -0.0308523811, 0.0156399198, 0.0337392688, -0.0118258558, -0.0049875034, 0.0100167785, 0.0728503019, -0.0367439762, 0.0037243161, -0.041028861, -0.0110176606, -0.0301624499, 0.0206237119, -0.0108307134, -0.0269492734, 0.0027791637, 0.0607978664, 0.0158537161, 0.0176408011, 0.0000018847, -0.0677138418, -0.0378251821, 0.0223679245, -0.0553842261, -0.0462078787, -0.0492694192, 0.0042446726, 0.0405004025, 0.034874659, -0.0628917366, -0.0483803339, 0.0293559823, 0.0660328791, 0.049848713, 0.0685541332, -0.0108705238, -0.0497160479, 0.0078736031, -0.0045524486, 0.053183198, -0.0654457584, -0.0017598406, 0.0068777292, 0.019982053, -0.002560976, -0.0090768589, -0.0055233319, 0.0134664308, 0.040217571, 0.0051984079, 0.0052898107, -0.0543026626, 0.0327066481, 0.0002931951, 0.0853620619, 0.01646691, -0.0150321508, 0.0196523611, 0.0157113131, -0.0251778439, 0.0073493635, -0.0028228776, -0.0271849632, -0.0161548741, -0.0017848331, -0.0267322697, -0.013570671, -0.0095057162, -0.0071827848, -0.0286814198, 0.0745909065, 0.0325205773, -0.0289883818, 0.0201815702, 0.0294963513, -0.0263028629, -0.0343477651, 0.001720436, 0.0263571441, -0.018512439, 0.0387370698, -0.0534488671, 0.0072824168, 0.0167255513, 0.0067147459, -0.0213963147, 0.0281412769, 0.0631755143, 0.0465477109, -0.0372318029, 0.0306823794, -0.0013975854, 0.0106923385, -0.0236454979, -0.0502239391, -0.098478511, -0.0059857182, -0.091012165, 0.0517318286, -0.0286085363, -0.0347530358, -0.0299601164, 0.0366670191, 0.036695756, -0.0005351791, 0.0505034029, 0.036593888, -0.0143262176, -0.0149301235, -0.072271876, 0.0173812304, -0.0461655185, -0.0197049789, -0.0356142409, -0.0499897674, -0.0065529593, -0.007553421, 0.0340495408, -0.0675563067, 0.0094657131, 0.0360118784, 0.0102691064, -0.0241127443, -0.0788449571, -0.067213878, 0.0401464738, -0.0444022119, -0.0167769883, -0.0349165797, 0.0519906357, 0.0020540098, -0.0014045569, -0.0456398502, 0.0176508892, 0.0290293042, -0.0503564626, 0.067159839, -0.0768091381, 0.0078121242, 0.0064323316, -0.0040956689, 0.0237569921, 0.0791556016, 0.0005321211, -0.0255929977, 0.0390488952, 0.0091170687, -0.0418658815, 0.0081645977, 0.0551052392, -0.0115210824, 0.0444022268, 0.0522993654, -0.0349006504, 0.0283547174, 0.0097314864, 0.0476457141, -0.0142889516, -0.010758915, 0.005232065, 0.0490797125, 0.0081784064, 0.0320039243, 0.0390908718, 0.0320984535, 0.0033902624, 0.0068881018, -0.0411228798, 0.0271061808, -0.0305206254, 0.017384829, 0.0048725712, 0.0389113314, -0.0346154794, 0.0079239113, 0.0085794423, 0.0351670906, -0.0212762635, 0.0322353169, 0.0369737633, 0.0340771712, -0.0582244024, 0.084533684, -0.0014810668, -0.0282920226, 0.00690705, -0.0213703699, 0.0008273385, 0.0321041569, 0.0476719625, 0.0066143046, -0.0727477446, 0.0040700315, -0.0250799917, 0.0330922231, 0.0104220491, -0.0036874523, 0.0001058203, -0.0195637923, -0.0457435213, 0.0141249523, 0.0051494879, -0.0026377456, 0.0605157316, 0.0632814765, 0.0547357127, -0.0327669419, 0.0510409735, 0.0300245769, 0.0001918774, -0.0393726453, -0.0045283181, 0.0087748645, 0.0119596384, 0.0440521389, 0.0007686301, 0.0194892958, 0.0064988593, 0.0026758106, -0.0346602872, -0.0008933821, 0.0344043933, -0.0639209822, 0.034093231, -0.0430648737, -0.0077760355, 0.0052577048, -0.0442724861, -0.0484571271, 0.0043630023, -0.0154595813, 0.0427959338, -0.0437897369, -0.0354512744, 0.061980322, -0.0465578325, -0.0281248987, 0.046083495, 0.0281795822, 0.030610837, -0.0379087441, 0.0045737671, 0.0419411436, -0.0700589418, -0.0254206285, -0.0192672443, -0.003160469, 0.0152154276, 0.0010864375, 0.0141548719, -0.1057891399, 0.013753172, -0.0937892795, 0.0376164205, -0.0101126274, 0.0382001922, 0.0267462339, 0.0077844574, -0.0313399546, -0.0244466495, -0.0795128867, 0.005715956, 0.0197743867, 0.0199187398, 0.0210288279, 0.0169485379, 0.0218787249, -0.0085221743, -0.0017374107, -0.028741559, 0.0157206282, 0.0323588178, 0.0196149666, 0.0028647529, 0.0389943346, -0.0645583123, 0.0139484992, 0.0380391255, -0.0023594548, 0.0050876308, -0.0251876749, 0.0038227476, 0.0117572621, -0.008494339, -0.0003316066, -0.0448933803, -0.0265729874, -0.041263748, 0.0370838419, -0.0301849581, -0.0023111198, -0.0011299243, 0.0068320855, 0.0731820166, 0.0140604367, 0.006848624, -0.0380474664, -0.0678721145, 0.062315397, 0.0008306327, 0.0218182914, -0.0470465869, 0.031769909, 0.0417204723, 0.0106552616, -0.0127325989, 0.0114263492, 0.0571741797, -0.0035871228, 0.0204612073, -0.0442441069, 0.0190493688, -0.0320170559, 0.0397654586, 0.0119061349, 0.0350524969, -0.0213752016, -0.0369846523, -0.0381107144, 0.0120063862, 0.0254136194, -0.0066785053, 0.001174476, -0.0010285863, 0.0421715602, 0.0197818074, -0.0038880613, -0.0258413535, 0.0050850157, -0.0204112958, 0.0081638955, 0.0244285073, 0.0165013038, 0.0165002197, 0.0205955971, -0.0302608479, -0.017241098, -0.0074027199, -0.0356692076, -0.0068965601, 0.0614906214, 0.0997832119, -0.0062426147, -0.0309316535, 0.0330334865, -0.0398109518, 0.0565084629, 0.0605260357, -0.0501994342, 0.0222696569, 0.032953348, 0.0103021339, -0.0957645029, 0.0012275438, -0.013106836, 0.0091826357, -0.0238819234, 0.0086403862, 0.1077614054, 0.0498047918, 0.0206205491, -0.0287230406, 0.0293705333, 0.0282457732, 0.0208014846, 0.0576337762, -0.1283174753, -0.0461161137, -0.0391490608, 0.0257906206, -0.0070994133, -0.0831908956, -0.014346065, -0.1371567249, 0.001344783, -0.0303521138, -0.0507665351, -0.0331913792, -0.0317102037, -0.0373060331, -0.0421090871, -0.031960912, 0.0243495069, -0.0160413515, 0.0424462482, 0.0190165099, 0.0208980646, -0.0222257171, 0.0367904529, -0.0706024021, 0.020311404, 0.0352528058, 0.0282061063, 0.0057165711, -0.0127655901, -0.0685811266, -0.0231627338, -0.0089208307, -0.0179231279, 0.0646826029, -0.0429744273, -0.0185662042, -0.0349387228, -0.0011473808, -0.055078242, 0.0246680528, 0.0041264063, 0.0689934492, 0.0058253417, 0.0087797036, -0.0121019185, -0.0202741679, -0.005627417, 0.0606573224, -0.0052219951, 0.0132054016, -0.0760817602, -0.0147047453, 0.0253869444, -0.0418094732, -0.0326429904, 0.0325404033, -0.0172422919, -0.0070770252, -0.057966128, -0.0614421666, 0.0772115514, 0.0738487765, -0.0227245893, 0.008938292, -0.0330136828, 0.0451777019, -0.0528886952, 0.0344948694, -0.0342958383, -0.0063976683, -0.060031455, -0.0101406202, 0.0329015702, -0.0050712046, -0.0378100909, 0.0054066679, -0.059665747, -0.0419206321, -0.0455134585, 0.0482924841, 0.0210358705, 0.0033259541, -0.0307747703, -0.0119560743, 0.0232499056, 0.0296383332, -0.0668331459, -0.0215759389, -0.00951338, -0.0022789331, -0.0104935262, 0.0361992419, -0.0568954013, -0.0069067236, -0.02341621, 0.084127821, -0.022025127, -0.0535615757, 0.0654931664, 0.0711469576, -0.006244448, 0.0267345197, 0.0278479327, -0.0251703504, 0.0117252497, 0.0035893887, -0.0037566004, -0.046144817, 0.0029311157, 0.0158270244, -0.0086017484, -0.0132732103, -0.0289062001, -0.0256066918, 0.0402877964, -0.0187949389, -0.0523060337, 0.0430209897, -0.0214353241, 0.0363063253, -0.0179609545, -0.0147695364, 0.0062404633, 0.0320717134, 0.0285096187, -0.0217594858, 0.0493653864, 0.0120538296, 0.0003421412, -0.0139488531, 0.0009804921, -0.0246430226, -0.0596379973, -0.0407091081, -0.00227294, 0.0604815744, -0.0057392661, 0.0215503611, -0.0121588418, -0.0101917228, 0.009502843, 0.0106267035, 0.003106338, 0.0143072, 0.0563075207, 0.0266783647, -0.005367652, -0.0271857847, 0.087699689, 0.0437477082, 0.0666114092, 0.0331318378, -0.0654375553, -0.0264484938, -0.0366825275, 0.0300821532, -0.0123921055, 0.0027189904, 0.020874979, -0.0382237658, -0.0880544186, 0.0007653175, 0.0001799225, -0.011662866, 0.0173279326, 0.0853418484, 0.0548739098, 0.0303822383, -0.0405377597, -0.0162987672, -0.0197005384, -0.0320715345, -0.0239252076, 0.0038693692, -6.282753554e-33, -0.0339604802, -0.0357376225, 0.0380517766, -0.0095069669, -0.0111638457, -0.0436317995, 0.010646021, -0.0135588646, -0.039879214, 0.0026665279, -0.0065902518, 0.0085517466, 0.0045703053, 0.0156359784, -0.0213945936, -0.0283332095, 0.0098492512, -0.0125304982, 0.0349895842, 0.0187700503, 0.0398071185, 0.0448499322, 0.0345146172, 0.0060376883, -0.0048260288, -0.0122441193, 0.0008870575, 0.0258980226, 0.0149427494, 0.0500258654, -0.0137684466, 0.0210445225, 0.0212343168, -0.0192756932, 0.0162733495, -0.0513096936, -0.1013448834, -0.0724574924, 0.003694843, 0.012785349, -0.0075337975, -0.0007154209, 0.0291159861, -0.0280570276, 0.0413210951, -0.0197548717, 0.0349702276, 0.0265568495, -0.0005414945, -0.0867578015, -0.035501983, 0.0193090271, -0.0070241559, 0.0163313337, -0.0229243748, -0.021138519, 0.0073934007, -0.0131088756, -0.0427208804, -0.0064034807, 0.0242748912, 0.0089930231, 0.0020967103, -0.0392526537, 0.0196639299, -0.0019727512, -0.0180715378, -0.0320746712, -0.0197541881, 0.0455906093, -0.0111854188, 0.0291194767, 0.0142481551, 0.0456594564, 0.0679160655, 0.0014971212, -0.070492968, 0.0405574217, -0.0248027798, 0.0331357792, -0.0413814485, -0.0221682042, -0.0389876328, -0.0198456291, -0.0397094898, 0.0248003006, -0.0458001532, -0.0639101863, 0.0478765778, -0.0136825647, 0.0027097519, 0.0140722943, -0.0024051103, -0.0234510917, -0.0031152877, 0.0451729633, 0.0048381728, -0.0313768908, -0.0105203325, 0.0394958444, -0.0624569319, 0.0062639466, 0.0243740696, -0.0304567963, -0.0196484439, 0.0089645851, -0.0280855894, -0.0014465146, -0.0620558858, 0.0011033242, -0.0069016288, 0.0383625291, -0.0156312902, 0.0033595434, 0.0112350294, 0.0223776773, 0.0086278729, 0.0194944888, 0.0292416923, -0.0222388823, -0.0175479762, 0.017287096, 0.0390934199, 0.00184817, 0.0048827142, 0.0077765197, -0.0171984341, -0.0210610386, -0.0250046607, -0.0537516885, -0.0198097415, 0.0010812314, 2.632e-7, 0.0427389741, 0.0044804998, 0.0331413709, 0.0700038299, -0.033886455, -0.0083658267, 0.0295856334, 0.0627396628, 0.0193939172, -0.0000204492, 0.0156314019, 0.0210828204, -0.0182222687, 0.0641092286, -0.1046150997, 0.0072867894, -0.0042015766, -0.0393630192, -0.0529579222, -0.0171716455, 0.0805310607, 0.0321548879, 0.0162658058, 0.0066529172, -0.0131920194, -0.0523170158, 0.0472514071, 0.0311847813, -0.0035146116, 0.0386244729, 0.0430567898, 0.0050763655, -0.0079174405, 0.0490502864, -0.0185137074, 0.0164164025, 0.0201690421, 0.0259374827, -0.0260216892, -0.0330279022, 0.0172938537, -0.0587281473, 0.0182635784, -0.0308925509, 0.1025783718, -0.0445017591, 0.0064561376, 0.1019520611, -0.0452060364, -0.0446795337, 0.0052231564, -0.0440170802, -0.0160657298, 0.0102374321, 0.0480988957, 0.0093713766, 0.0197603591, -0.0613437705, 0.0412585512, 0.0315566808, -0.0079344865, -0.0251491796, 0.0098862275, -0.0215413906, 0.0127245896, 0.0012978552, -0.0038870745, 2.340367927e-34, 0.0104088066, 0.0401314013, 0.0261848345, 0.0251795668, 0.058838442, -0.0064892061, 0.0109512135, -0.0107610272, 0.0341078788, -0.0743324012, -0.0066905031 ]
http://arxiv.org/abs/2402.00956v2
http://arxiv.org/pdf/2402.00956v2
Exploring Spatial Schema Intuitions in Large Language and Vision Models
2024-02-01T19:25:50
2024-05-27T14:29:31
Philipp Wicke, Lennart Wachowiak
cs.CL
cs.CL
Despite the ubiquity of large language models (LLMs) in AI research, the question of embodiment in LLMs remains underexplored, distinguishing them from embodied systems in robotics where sensory perception directly informs physical action. Our investigation navigates the intriguing terrain of whether LLMs, despite their non-embodied nature, effectively capture implicit human intuitions about fundamental, spatial building blocks of language. We employ insights from spatial cognitive foundations developed through early sensorimotor experiences, guiding our exploration through the reproduction of three psycholinguistic experiments. Surprisingly, correlations between model outputs and human responses emerge, revealing adaptability without a tangible connection to embodied experiences. Notable distinctions include polarized language model responses and reduced correlations in vision language models. This research contributes to a nuanced understanding of the interplay between language, spatial experiences, and the computations made by large language models. More at https://cisnlp.github.io/Spatial_Schemas/
Exploring Spatial Schema Intuitions in Large Language and Vision Models: Despite the ubiquity of large language models (LLMs) in AI research, the question of embodiment in LLMs remains underexplored, distinguishing them from embodied systems in robotics where sensory perception directly informs physical action. Our investigation navigates the intriguing terrain of whether LLMs, despite their non-embodied nature, effectively capture implicit human intuitions about fundamental, spatial building blocks of language. We employ insights from spatial cognitive foundations developed through early sensorimotor experiences, guiding our exploration through the reproduction of three psycholinguistic experiments. Surprisingly, correlations between model outputs and human responses emerge, revealing adaptability without a tangible connection to embodied experiences. Notable distinctions include polarized language model responses and reduced correlations in vision language models. This research contributes to a nuanced understanding of the interplay between language, spatial experiences, and the computations made by large language models. More at https://cisnlp.github.io/Spatial_Schemas/
[ 0.0233351272, 0.0329131186, -0.0569436029, 0.025527101, -0.0405641198, 0.0174511243, -0.0155260991, 0.0030488546, 0.011330314, -0.0666136891, -0.0665311441, -0.0227630232, 0.0595853403, 0.0193254594, 0.0380322859, -0.0713060871, -0.0061620874, -0.056565512, -0.0359436609, 0.0052871373, -0.0445399918, -0.0094108516, -0.0152518349, 0.0413452499, -0.0100521687, 0.0341749862, -0.0240932647, -0.0176264402, -0.0278773513, -0.0253660604, -0.0563965626, -0.0284708925, 0.059761975, 0.0106101101, 0.0000017585, -0.0219038185, 0.0449659564, 0.0030433089, 0.0376507305, -0.0004858971, 0.0282590818, -0.0543666966, 0.0099843461, -0.029131256, -0.0403364226, -0.0356905386, 0.0819657296, -0.0042904485, -0.0344970711, 0.010652326, -0.0209770389, -0.0433128625, 0.0030442371, 0.0050988882, -0.0069721388, 0.0697340742, 0.013630731, 0.0121243019, 0.0286895819, 0.0383199453, -0.0847392306, 0.0042971107, 0.0326932594, 0.0404606909, -0.0314832181, 0.0613178164, 0.0011539058, -0.0329516158, 0.0092327213, 0.0421966128, 0.0020339496, -0.0392694846, 0.0131441476, 0.0087765483, -0.007258506, 0.0077343723, -0.0376518592, 0.0493922271, 0.023501087, 0.0428406149, -0.0506524742, -0.0209549703, -0.0028868923, -0.0079878895, -0.0306328814, 0.0961675197, 0.014427661, 0.0131425876, -0.0309829134, 0.0064263563, 0.0001596131, -0.0586469136, -0.0157586467, 0.0394637063, 0.0077311127, 0.0132208522, 0.0016439949, 0.0522712842, -0.0164273772, -0.0458987206, 0.0888453946, 0.0299805515, -0.0117764492, 0.0210417956, -0.0315134414, 0.0927577689, -0.0300430413, 0.0779577941, -0.0396582633, 0.0234678816, -0.0108230542, -0.0132184485, -0.0092236074, 0.0297145955, -0.0310661867, -0.0463948101, 0.0169495735, 0.050265871, 0.0037560714, 0.0012626004, -0.053282544, 0.030046409, 0.0216967221, 0.0009505755, -0.0255963411, -0.0084915385, 0.0109081548, 0.0593895949, -0.0643692762, -0.060194239, 0.0016280721, 0.056859415, -0.0238232352, -0.0282913893, -0.0392379798, 0.0563534871, 0.0605172403, -0.0288232509, 0.0284368265, 0.010405086, -0.0221777838, 0.0008563131, 0.0472760722, -0.0243220683, -0.0157098286, 0.0248268005, -0.0158862788, -0.0730612278, -0.008408851, -0.0156717077, -0.0168594625, 0.0602761172, 0.0143881775, 0.0277751964, 0.0197954532, -0.0071749506, 0.027745625, 0.0344735906, 0.0725823715, 0.044579532, -0.0148967318, -0.001750198, 0.0291322973, 0.0084928712, -0.021533167, 0.0184256583, -0.0816591159, -0.0112592205, 0.0209078193, 0.038512297, 0.026891401, 0.0628597736, -0.0043708752, -0.0022195159, 0.0677538887, 0.1067554355, -0.0423573479, -0.0205899067, 0.0419097766, -0.0157815684, -0.0118415728, -0.0132868038, -0.0440001823, 0.0218565706, 0.0345419385, -0.004340637, -0.0307055693, 0.0163703095, -0.0284753181, -0.015242056, -0.0358034857, 0.0050441264, 0.0212414619, 0.0056052818, 0.0311623663, 0.0110424925, 0.0090666059, -0.002005605, 0.000377323, -0.0254936889, -0.0204211753, -0.0240411665, 0.0086105587, -0.0052750353, -0.0097537385, -0.0043624402, 0.0149724577, 0.017749086, 0.029474495, 0.0642777756, 0.0545769595, 0.0148262298, 0.0012696014, 0.0173472762, -0.0036791884, 0.0031212976, 0.0297905393, 0.0229452252, -0.0126775969, 0.0053796316, 0.0020343882, -0.0458680615, -0.0292845201, 0.0427782275, -0.0287366845, 0.0043073767, -0.06042476, 0.0082411813, -0.0144722229, -0.0370459668, -0.03119036, 0.0519540384, 0.0237321146, -0.0305822622, 0.0197331421, 0.0930237845, -0.0246811416, 0.0310899019, 0.0265059602, -0.0192098599, 0.050747104, 0.0046910732, 0.0205940083, -0.0087058563, 0.053398747, -0.0619706586, 0.0700755268, 0.0004279265, 0.0027811485, -0.026452478, 0.0015043685, -0.0483527221, 0.0204552785, -0.0028175996, -0.0039398405, -0.0101644993, 0.0072699166, 0.0413542762, 0.0007890427, 0.007788619, 0.0328953564, 0.0161126666, 0.012653104, -0.0021006435, -0.0360159837, -0.0551772006, -0.0257428102, -0.0588972531, -0.0393719114, 0.0163121577, -0.0058849859, 0.0089483755, -0.0691498592, -0.0239436254, -0.0197679382, 0.0053735753, 0.0016071623, -0.0085511226, 0.0428489856, 0.0371408239, -0.0269776173, -0.0381457955, -0.0281270053, 0.0003086655, -0.0272526667, 0.0454951078, 0.0177611075, -0.007915793, -0.050933592, 0.0241204929, -0.0249917191, 0.0140355667, 0.006219238, -0.0162708536, 0.0660139322, -0.0293763448, -0.0088244053, 0.0668716654, -0.0312081035, 0.0775792971, 0.0854857266, -0.0369121395, -0.0211347267, -0.0527428053, -0.0268497299, 0.0121396091, -0.0169698242, -0.0385828353, -0.0134211024, 0.0689744651, 0.01103797, -0.0040734857, -0.0479782261, 0.0634450242, -0.0580247454, -0.0556214415, -0.0143399192, 0.0010069187, -0.0306095704, 0.0579077378, -0.0526567288, -0.0538405292, -0.0024279652, -0.0462457724, 0.0157408807, 0.0244153272, 0.0472566672, -0.0020669301, 0.140071854, 0.0474877916, 0.003883118, 0.0024695816, -0.0048986864, -0.024176307, -0.0324201211, -0.0300655738, -0.0163027421, -0.0193463396, -0.100257419, 0.0057959878, -0.0050192103, -0.0218840763, -0.0160830114, 0.029874865, -0.0475523248, 0.023488082, -0.0218940321, -0.0410917178, 0.0166581869, 0.0451812074, 0.0672247335, 0.0334292762, -0.0132066784, -0.0084938258, -0.0328028984, -0.0084732324, 0.0597263761, 0.0863461047, -0.0058759269, -0.0024842401, -0.02969799, 0.014962038, -0.0140399272, 0.0483406335, -0.0566599779, 0.0487524197, 0.0457302853, 0.0306991786, -0.0382566974, 0.0145002771, 0.0708246008, -0.0276496727, -0.0519597828, 0.046378158, 0.0434273109, 0.0010844291, 0.0304917973, -0.0349217281, 0.0149390139, 0.0554664694, -0.0039136661, -0.0102942055, 0.0183167979, 0.0126476306, -0.0593647175, 0.0056118448, -0.0463898443, 0.0006502226, -0.1196159199, 0.0274448954, 0.0016207214, -0.1081639826, -0.0649331063, -0.0206782073, 0.0282559413, 0.0532136708, -0.026825089, -0.0003923947, -0.0125789149, 0.0338420831, 0.0152682364, -0.000273122, 0.0233442318, -0.0185961351, -0.0230614468, 0.0240157954, 0.0252971146, 0.0516477041, -0.0181481373, -0.0465118326, 0.0092377439, 0.0030769678, 0.0365569629, 0.0058721052, -0.0105750691, 0.0466088168, -0.0102348607, 0.0098016299, -0.000357248, -0.0539979115, -0.0291588828, -0.0335406475, 0.0361925848, -0.0735961199, -0.0046218084, -0.0119326217, 0.0286677424, -0.0263714269, 0.0227870941, 0.0560122468, -0.0411488675, -0.0456377156, -0.0149283987, -0.0038326208, 0.0549367964, -0.0896700919, 0.0303446595, 0.0506172515, 0.0086367726, -0.0563682057, -0.023793878, 0.0238406006, 0.0423252247, 0.0499838926, -0.0327991247, -0.0158985928, -0.0474571325, -0.0430946834, 0.047119081, -0.022178404, 0.0038194982, 0.0201516729, 0.0248902384, 0.0271192528, -0.0778097063, -0.0049829544, -0.0016437332, -0.0248378646, -0.0586489476, 0.0281600785, 0.035396684, 0.0258789733, 0.0107266046, 0.020197792, -0.0047125285, 0.0321646295, 0.0178773757, 0.0112957237, 0.106417045, -0.0165219158, 0.0247167069, 0.0230503492, 0.0213682875, 0.0021547452, -0.0049048481, 0.0346307009, -0.0050501321, 0.0032471211, -0.0055416245, 0.0104176709, -0.0150497397, 0.0659483448, -0.0029364489, -0.0125842132, -0.0051993947, -0.0484573916, -0.0306289978, 0.0121410796, -0.0293457974, -0.0180691108, 0.0294185504, 0.0443010814, -0.0132635934, -0.0065536737, -0.0021420296, 0.0556049459, 0.0486696288, -0.0210347697, 0.0138902115, -0.0084789526, 0.0015676722, 0.0532655865, 0.0021617857, 0.0538459979, -0.0919343904, 0.0438757837, 0.0235226993, -0.0211863685, 0.0335557833, -0.036702916, -0.0451659188, 0.0297139082, -0.0257922858, -0.1053482443, 0.0189612806, 0.019765405, 0.0459955223, -0.0585889518, 0.0309219081, -0.0681521222, 0.0188269801, -0.0025632903, 0.0022069167, 0.0301808789, -0.0188515391, 0.0301116742, 0.013754, -0.0283375196, 0.0022594382, 0.0176452361, -0.0193268619, 0.0371761508, 0.0208210107, -0.0112559041, -0.0017823859, -0.003468347, 0.0315370783, -0.0161980167, -0.0117696002, 0.0246268399, -0.0540145114, -0.0562712625, 0.0042613116, 0.0287718661, -0.0046103424, -0.0078321723, 0.0601194799, 0.0248890463, 0.0009942317, 0.0009511141, -0.0188230854, 0.0060723205, 0.0039491672, -0.0181488581, 0.0075505832, -5.251507788e-33, -0.0245107021, -0.0554997548, 0.029347185, -0.0096357726, -0.0209480263, 0.0037324631, -0.0511930324, 0.0325935744, -0.040030539, 0.0101435333, 0.0226233248, -0.0100371093, -0.0035589777, 0.0115328254, 0.0495741814, 0.0298985224, -0.0191079807, -0.029683806, -0.0140572051, -0.0419865735, 0.0417783, -0.0338062309, 0.0215578023, -0.0669103563, 0.0003929069, 0.0609094501, -0.00426149, 0.0144450516, -0.0209136978, 0.0201319475, -0.0634736121, 0.0244242344, 0.034163218, 0.0164783895, -0.0131174764, 0.0308748297, -0.0052618505, -0.045439031, 0.0198019315, 0.0453253165, -0.0532632805, -0.0191623401, 0.0566363893, -0.0432148762, -0.0484382212, 0.0280441158, 0.0173872504, -0.0385772176, -0.0298502855, 0.05151207, -0.0520079732, -0.0188909248, 0.0187924057, -0.0362580568, 0.0340110287, -0.0268806256, 0.0065877098, 0.0430081524, -0.0312170908, 0.0388661288, -0.038147755, 0.0168166105, 0.0419047922, 0.0282866787, 0.065520823, 0.0878014788, 0.0845995918, 0.0129321553, -0.0353030637, -0.0373116881, 0.0904399082, 0.0030988995, -0.0106260804, 0.0259294957, -0.0319598056, -0.0115867853, -0.004656842, -0.032170102, -0.0476393327, 0.0263480581, 0.0330926403, 0.0023706413, -0.0256738961, -0.0121172061, -0.0321492441, -0.0640036166, -0.0173822623, 0.0179393589, 0.0030620284, -0.0320767909, 0.0597048961, 0.0019274381, 0.024551969, -0.0520082153, -0.0402880944, -0.0401495658, -0.0501383692, 0.0332811885, 0.0078764437, 0.0251179151, 0.0033063963, -0.0301239416, -0.0123459911, 0.0485357493, -0.0029524809, 0.0298195276, -0.0139316786, 0.0404251069, -0.0104188621, -0.0311505198, -0.0284913536, -0.0844713002, 0.0389201269, -0.0252051707, 0.0411529504, 0.0205290876, -0.0289152078, 0.0039311335, -0.0063731535, -0.0058770911, -0.0096370829, 0.0061676446, -0.082769312, 0.0223161653, -0.0290076118, -0.0271294881, -0.0469047688, 0.0101777883, 0.0659256577, -0.0419376828, -0.0314366296, -0.0419350713, 2.679e-7, 0.0357631445, 0.0569957197, 0.0257210862, -0.0166233703, 0.049093198, 0.0132015226, -0.0043474291, 0.0273528788, -0.0292356052, -0.0242851004, -0.0011800734, 0.047150176, 0.0184425991, -0.0287226737, -0.0536833443, 0.0679832473, -0.0090691419, -0.0069946763, -0.0416536219, 0.0388990343, 0.0087313214, 0.0205516126, -0.0063370545, -0.0087202732, -0.0275795329, -0.0019784623, 0.0306793544, -0.0891862959, 0.070024237, -0.040667776, -0.0109939529, -0.032820832, -0.0059463587, -0.0001372636, 0.028434515, -0.0238013864, 0.0107814325, 0.0108890729, -0.0298128091, -0.0008462788, -0.0013772025, -0.0150747197, -0.0316534676, -0.0905707479, 0.0502693467, -0.1017523855, -0.0218620487, 0.0074775405, 0.025130868, 0.0012678133, 0.0224337541, 0.0136471419, -0.00108431, -0.0225299634, 0.0113596721, -0.0087306295, -0.0218416248, -0.0292422958, -0.0266062357, 0.0159669816, -0.0529209301, -0.0266735088, -0.0322218575, -0.0159809459, 0.0120251421, -0.0481720418, -0.0399000011, 1.978579923e-34, -0.0013936608, 0.0289354585, 0.0191587713, -0.0164310224, 0.0086464928, -0.0193090551, 0.032316573, 0.0206929296, 0.0272323806, -0.0462610722, -0.0176386442 ]
http://arxiv.org/abs/2402.01781v2
http://arxiv.org/pdf/2402.01781v2
When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboards
2024-02-01T19:12:25
2024-07-03T11:20:43
Norah Alzahrani, Hisham Abdullah Alyahya, Yazeed Alnumay, Sultan Alrashed, Shaykhah Alsubaie, Yusef Almushaykeh, Faisal Mirza, Nouf Alotaibi, Nora Altwairesh, Areeb Alowisheq, M Saiful Bari, Haidar Khan
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Model (LLM) leaderboards based on benchmark rankings are regularly used to guide practitioners in model selection. Often, the published leaderboard rankings are taken at face value - we show this is a (potentially costly) mistake. Under existing leaderboards, the relative performance of LLMs is highly sensitive to (often minute) details. We show that for popular multiple-choice question benchmarks (e.g., MMLU), minor perturbations to the benchmark, such as changing the order of choices or the method of answer selection, result in changes in rankings up to 8 positions. We explain this phenomenon by conducting systematic experiments over three broad categories of benchmark perturbations and identifying the sources of this behavior. Our analysis results in several best-practice recommendations, including the advantage of a hybrid scoring method for answer selection. Our study highlights the dangers of relying on simple benchmark evaluations and charts the path for more robust evaluation schemes on the existing benchmarks. The code for this paper is available at https://github.com/National-Center-for-AI-Saudi-Arabia/lm-evaluation-harness.
When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboards: Large Language Model (LLM) leaderboards based on benchmark rankings are regularly used to guide practitioners in model selection. Often, the published leaderboard rankings are taken at face value - we show this is a (potentially costly) mistake. Under existing leaderboards, the relative performance of LLMs is highly sensitive to (often minute) details. We show that for popular multiple-choice question benchmarks (e.g., MMLU), minor perturbations to the benchmark, such as changing the order of choices or the method of answer selection, result in changes in rankings up to 8 positions. We explain this phenomenon by conducting systematic experiments over three broad categories of benchmark perturbations and identifying the sources of this behavior. Our analysis results in several best-practice recommendations, including the advantage of a hybrid scoring method for answer selection. Our study highlights the dangers of relying on simple benchmark evaluations and charts the path for more robust evaluation schemes on the existing benchmarks. The code for this paper is available at https://github.com/National-Center-for-AI-Saudi-Arabia/lm-evaluation-harness.
[ 0.0169463269, 0.0776604488, -0.0172421262, 0.0556237623, -0.0335127749, 0.0085482532, 0.012924945, 0.0150855714, 0.0189844836, -0.0439954065, -0.026181858, -0.0266867448, 0.007896103, -0.0192707554, 0.046973411, -0.0095312148, 0.0422609895, -0.0465841591, 0.0005373964, -0.030150488, -0.0388462283, -0.019129049, 0.0013428257, 0.0124737294, 0.0483494923, 0.0061456091, 0.0197746195, -0.013961901, 0.009414399, -0.047829587, -0.0296183415, 0.058404725, -0.0199562069, 0.0198546369, 0.0000020952, -0.062291339, -0.0108202826, -0.0132216727, -0.0281580333, 0.0605701581, -0.0232106186, 0.0527178384, 0.0009112457, 0.0073363227, -0.0399363264, 0.0177855697, 0.0061908038, -0.0273849368, 0.0432463884, 0.0325283259, 0.0201427042, 0.0071481434, 0.0192932319, -0.0252435841, -0.0000599912, -0.0496543832, 0.0213298034, 0.0285866577, 0.0225583557, 0.0160658658, -0.0494929589, 0.0116580138, -0.0015678197, 0.0082500502, 0.0162031222, 0.0411213152, -0.0550293028, 0.0107370345, 0.025183877, 0.0877154917, -0.0468704551, -0.0031291046, -0.0008030618, -0.0163621642, 0.007910653, 0.0112330085, -0.0744591057, 0.0087724682, 0.0245774351, -0.01442191, 0.0468063317, 0.0031167509, 0.0314922333, 0.0205246862, -0.0519076474, 0.0964160413, 0.0326294899, -0.0420405753, 0.0378066488, -0.0011929558, -0.0402067155, -0.059853524, 0.0100369938, 0.0023349784, -0.0525872484, 0.0258053597, 0.0141663896, 0.0155498693, 0.0277254432, -0.0418662094, 0.0600089319, 0.0220644437, 0.0117500983, 0.0502853431, -0.0249161422, 0.1111063585, 0.0099805109, 0.041995097, -0.0630315617, 0.0268604364, 0.000407116, -0.0023498291, 0.0472272225, 0.0282847509, 0.0003261691, 0.0066570835, -0.0613066778, -0.0033744895, -0.0239539482, 0.0222959556, 0.0014962781, -0.0093908235, 0.0185868759, 0.0381822214, -0.0303310603, 0.0290469509, -0.0378377065, -0.0000246661, 0.0064426735, -0.0606673062, 0.0094094211, 0.0026884528, -0.019894015, -0.0286952984, 0.0394191444, 0.0572808906, -0.014748021, -0.0071720402, 0.062624529, 0.0001055847, -0.0175995864, -0.0514526963, 0.0169647653, -0.092357032, 0.0319580585, 0.0373355821, 0.0180154555, -0.0076016607, 0.0192913003, 0.0362410508, -0.0056237062, 0.0138958506, 0.0293886214, -0.0030870379, 0.0165152475, 0.0122933835, -0.0090096844, 0.0575866103, 0.0231936034, 0.0207861401, 0.0486280881, -0.0548027419, -0.0021671341, 0.0578063317, 0.0057656346, 0.0115145445, -0.0102002248, 0.0652124509, 0.0123352092, 0.042597089, -0.0269002505, 0.0406932831, -0.0112453736, -0.0262969863, 0.0714550614, 0.0743975267, -0.0065794149, -0.0136514949, -0.0211403333, -0.039692916, 0.0289846603, 0.012772142, -0.0263726432, 0.0027668024, -0.0183879938, -0.0064930846, 0.0093560331, 0.0377765112, -0.0006972883, -0.0635760948, -0.0137619292, 0.0280109439, -0.0314658992, 0.051517047, 0.0410564765, -0.0385754704, -0.0168583654, 0.0474107191, -0.012211022, -0.0392265394, 0.0055429693, -0.0581391491, -0.0130236037, 0.0016703701, 0.0518328287, -0.0238872562, -0.040820837, 0.0022944936, -0.0084682247, 0.0123049207, 0.059532214, -0.02859997, -0.01125398, -0.0191513393, 0.0033701742, -0.0024093499, 0.0042447201, 0.0018111479, -0.0005041922, -0.0020821949, -0.0243959241, -0.0550082214, -0.0441768095, 0.0231523644, -0.0099499589, -0.0443397313, 0.0012340281, -0.0391614176, 0.0417269282, 0.0023268729, -0.0096045863, 0.0133355809, 0.0429508351, -0.00913327, -0.0149715208, -0.0273203664, -0.0445269495, -0.0204075295, 0.0442913659, -0.0182024222, -0.0161387157, 0.0982472673, -0.0433535129, -0.0306711439, -0.0106328512, 0.0011929136, 0.0024635103, 0.0191543326, 0.053107582, -0.0353489183, -0.0065358249, -0.0774695054, 0.0745421872, -0.0143355345, 0.0621946827, 0.0369636379, 0.0364812389, 0.0159303583, -0.0181247965, -0.0270128902, 0.0794355795, -0.0243550017, 0.0180667192, 0.0269724168, -0.0048986515, -0.0795926079, -0.0281746536, -0.0886061713, 0.0042378176, -0.0125653874, 0.0005931789, 0.017754063, -0.0175538976, -0.0042815832, -0.0120046129, -0.0370328352, -0.0299748387, 0.0294046234, 0.0426765569, 0.0147695467, -0.0029562882, 0.0028227025, -0.0636340603, -0.0486115701, -0.0140570467, 0.0679389462, -0.0043200972, 0.0381176956, -0.0066524087, 0.0383101776, -0.0789038613, -0.0221728068, -0.0188630223, -0.0128937075, 0.0221235063, -0.0213535205, 0.0161127616, 0.0745180324, 0.0111722481, 0.0186471064, 0.0713354945, -0.005031975, -0.0706162602, -0.0133006899, 0.0128347734, -0.0219295155, -0.0451454297, -0.055663608, 0.0181307495, 0.0439725555, 0.0037200644, -0.0087798042, 0.0035436775, 0.0526032299, -0.0804561973, -0.0262409057, -0.084732838, 0.0266646445, -0.0274728313, 0.0632428676, -0.0061949356, -0.0555297807, 0.0359635279, -0.0199301708, 0.0050600949, -0.0595061071, 0.0084391758, -0.0410257168, 0.0194628704, 0.0292840749, 0.0062560681, -0.0545370206, -0.000851111, -0.0644215494, -0.0300901067, 0.0118949283, -0.060255453, 0.0515666232, -0.0359191149, 0.0024990039, -0.016633125, -0.0604413599, -0.0269187074, -0.0318592861, -0.0337302387, 0.0167698916, 0.0375555567, -0.0114359437, 0.0095626861, -0.0293163229, 0.0297375303, 0.0135397017, -0.0409960635, -0.0039891852, -0.0019807043, 0.0623535141, 0.0532140955, -0.0005220778, 0.0591448769, -0.0496565588, 0.0490475297, 0.0567150861, 0.089762643, 0.0169123616, 0.0078938175, 0.0160019286, 0.0478682518, -0.0575160868, -0.0398449115, 0.0496713445, 0.0365408659, -0.024424389, -0.0014907693, 0.1048815772, 0.0412650891, 0.0035005703, 0.0236864127, 0.0060275048, 0.0323225595, 0.020314794, 0.0406554826, -0.0426497683, 0.014543321, 0.0036473821, 0.0226732399, -0.0274708848, -0.0300118253, 0.0141451061, -0.1242933497, 0.0229592659, -0.0076399432, -0.0526068285, 0.042035941, -0.0572952665, 0.0009542294, -0.014249837, 0.0103285071, 0.0401525609, -0.0176956151, 0.0156785343, 0.0202615373, -0.061771661, -0.045160614, 0.0503142029, -0.0167125221, 0.0392840207, 0.0176251121, 0.049780421, -0.0522127412, -0.0069503081, 0.0437475406, -0.0394993946, -0.0174414348, -0.0402297825, 0.0329753906, 0.0307936054, 0.0036277436, -0.0273538511, -0.0184734091, -0.0021802229, 0.0336071514, 0.0304732919, 0.0689330697, 0.01610245, -0.0394941419, 0.0039014288, -0.006058624, -0.0427612513, 0.0535126999, 0.0172979347, -0.0386085175, -0.0189727191, -0.0656332299, -0.0068231709, -0.0130952038, -0.0672024712, 0.0010788627, 0.0116364919, 0.0224730484, -0.0302694924, -0.046107579, 0.0210229978, 0.0078743473, -0.0066048945, 0.0492478833, -0.0202698782, -0.0002936809, 0.001332512, 0.009483221, 0.0077104778, 0.0156696569, -0.0482566506, 0.0205760915, 0.0511923023, 0.0153511725, -0.0398094915, -0.0212359242, -0.0654637292, -0.0358384401, 0.0009436103, 0.0556993373, 0.0207105689, -0.0176454093, 0.0260336027, -0.0537619479, -0.0006550744, -0.0150039308, 0.0209397264, 0.0395991914, -0.0079903351, -0.0401167311, -0.01759132, 0.0027500887, -0.0367614441, 0.0123286936, 0.0647050738, 0.0458133444, -0.0181788728, -0.0183483269, 0.0244615749, 0.0580949076, 0.0135537712, 0.0002453991, -0.0198078305, 0.0153313642, 0.0292787515, -0.0329138972, -0.0202286392, 0.0063266684, -0.0358587056, 0.0310096219, 0.0078084571, -0.0206151512, 0.0200227443, 0.0009559767, 0.0336932689, -0.0809534043, 0.0323182382, 0.0197997745, 0.0095078703, 0.0285081677, -0.0036532432, -0.0508755296, -0.0004731825, 0.0101865781, 0.0901608169, -0.0055508837, 0.0266194306, -0.0073722461, -0.0264765937, 0.0324435718, 0.0409916043, -0.0935454369, -0.063312985, -0.0208844692, 0.0141839003, 0.0678238422, 0.0021813693, 0.0564527884, 0.0208882447, -0.0166920293, -0.0405102521, -0.0500959307, 0.0160570219, -0.030751599, 0.0049276357, 0.0308168717, 0.0070809713, 0.0454833694, 0.0597341694, 0.0448399484, -0.0030663041, 0.0354072154, 0.0117911492, -0.0294638854, -0.0115122516, -0.0106005594, 0.0154076172, -0.011932198, -0.0208243523, -0.0770645663, -0.0765419602, 0.0086759143, 0.0285184886, 0.0306499302, -0.0220485386, 0.011215318, 0.061971359, -0.0124861859, -0.0161862485, -0.0599910133, -0.0025857629, -0.065264523, -0.0250561181, -0.0142404651, -6.178663529e-33, -0.0268286243, -0.024430709, 0.0166083332, -0.0412949547, 0.0070556793, 0.0054229083, -0.0073774909, 0.0211989954, -0.040199589, -0.017412411, -0.0564241111, -0.0163299441, 0.0000317148, 0.0145268077, 0.0249005333, -0.0374253131, 0.0127627887, -0.0015172346, -0.0559791401, -0.0008118027, -0.0013471834, -0.0013969037, 0.0375969596, -0.0433425941, 0.0135161187, 0.0009915081, 0.0106403902, -0.0099721896, -0.0560855083, 0.0651244074, 0.0090955542, 0.0569379404, 0.0280820001, -0.0473600961, -0.0089191934, -0.021257665, -0.0161903296, -0.05090262, 0.0182831455, 0.0094939163, -0.0029297904, -0.0109253023, 0.0244216546, 0.0149604836, -0.0635715574, -0.0333291069, 0.0241658762, -0.0317290388, -0.0479715578, -0.0039180177, -0.0208192077, 0.0269836541, -0.0287014786, 0.0476111397, -0.0304973125, 0.0593070202, -0.014531468, 0.0164159741, -0.0177242234, 0.0205746237, 0.0578410439, 0.0538121872, 0.0872511044, 0.0298884418, -0.0216382165, 0.056162376, 0.0339285359, 0.0329783633, 0.0554416366, -0.0446832031, 0.0157077741, 0.021234164, 0.0886816531, 0.0295125879, 0.042952098, 0.0273425058, -0.0930018649, 0.0311625469, 0.0378395878, -0.0186343286, 0.0108749345, 0.0021936765, -0.0518853627, -0.03134045, -0.078214936, 0.0316584595, -0.0383538157, -0.0264722556, 0.0637444407, -0.0377216935, -0.0224515684, -0.0120196538, 0.0394936688, -0.0306118503, -0.0490778983, 0.0029244099, -0.0002299767, 0.0427716784, 0.0086147534, 0.0390995257, -0.0458271652, 0.021903418, -0.0185255408, 0.0066691586, 0.0264210999, 0.0048495992, -0.0363455191, -0.0138013503, -0.0369669497, -0.0091929147, -0.0271649547, -0.0436775684, 0.0085101454, -0.0094629535, 0.0205698404, -0.0146436645, 0.0087976977, 0.0499329567, 0.0181450918, -0.0092551522, -0.0464421138, 0.0058995932, -0.0058836848, -0.0047762375, -0.0089359265, -0.0115695335, -0.0394767337, 0.0555613302, 0.0196358338, -0.0415724553, -0.0198375881, -0.0020946998, 2.696e-7, 0.0547090955, 0.084853217, -0.0380197614, 0.0226936713, 0.0137316613, 0.0111126984, -0.0383437425, 0.0098045906, 0.0702077746, 0.0396918356, -0.0086843884, -0.0041160416, 0.0384488851, 0.0494889729, -0.0441124029, -0.0393047966, -0.0637901872, 0.0051436843, -0.0706575513, -0.0020060337, 0.0339758731, 0.052493155, -0.0187743772, -0.0062783388, -0.0492516868, -0.0210435055, 0.0407273285, -0.0670941249, -0.0052206554, 0.025959231, 0.0163582191, 0.0012749363, 0.0128742652, 0.0287978165, -0.012083835, -0.0079588126, 0.0538529456, 0.0481135435, 0.0093274908, -0.013338075, -0.0066782525, -0.0064158011, 0.0124185234, -0.0981271565, 0.0942500457, -0.0348162353, -0.0314629041, -0.0427484401, -0.0449346043, -0.0332538299, 0.042181965, -0.0174174998, -0.0147185093, 0.0081368536, -0.003041564, 0.0057244333, -0.003657544, -0.0139418347, -0.0346420966, 0.0104165301, -0.0258659832, -0.1007635072, -0.0368613563, -0.0053492058, -0.0353780538, -0.0266480017, -0.0238057151, 2.777597642e-34, 0.0056930957, -0.0002215937, 0.0544382259, 0.0019937463, 0.0284940731, -0.0039805127, -0.0027156204, 0.0135237062, 0.0059914277, -0.100649029, -0.009542821 ]
http://arxiv.org/abs/2402.00861v2
http://arxiv.org/pdf/2402.00861v2
Evaluating Large Language Models for Generalization and Robustness via Data Compression
2024-02-01T18:56:18
2024-02-04T01:16:25
Yucheng Li, Yunhao Guo, Frank Guerin, Chenghua Lin
cs.CL
cs.CL, cs.AI
Existing methods for evaluating large language models face challenges such as data contamination, sensitivity to prompts, and the high cost of benchmark creation. To address this, we propose a lossless data compression based evaluation approach that tests how models' predictive abilities generalize after their training cutoff. Specifically, we collect comprehensive test data spanning 83 months from 2017 to 2023 and split the data into training and testing periods according to models' training data cutoff. We measure: 1) the compression performance on the testing period as a measure of generalization on unseen data; and 2) the performance gap between the training and testing period as a measure of robustness. Our experiments test 14 representative large language models with various sizes on sources including Wikipedia, news articles, code, arXiv papers, and multi-modal data. We find that the compression rate of many models reduces significantly after their cutoff date, but models such as Mistral and Llama-2 demonstrate a good balance between performance and robustness. Results also suggest that models struggle to generalize on news and code data, but work especially well on arXiv papers. We also find the context size and tokenization implementation have a big impact of on the overall compression performance.
Evaluating Large Language Models for Generalization and Robustness via Data Compression: Existing methods for evaluating large language models face challenges such as data contamination, sensitivity to prompts, and the high cost of benchmark creation. To address this, we propose a lossless data compression based evaluation approach that tests how models' predictive abilities generalize after their training cutoff. Specifically, we collect comprehensive test data spanning 83 months from 2017 to 2023 and split the data into training and testing periods according to models' training data cutoff. We measure: 1) the compression performance on the testing period as a measure of generalization on unseen data; and 2) the performance gap between the training and testing period as a measure of robustness. Our experiments test 14 representative large language models with various sizes on sources including Wikipedia, news articles, code, arXiv papers, and multi-modal data. We find that the compression rate of many models reduces significantly after their cutoff date, but models such as Mistral and Llama-2 demonstrate a good balance between performance and robustness. Results also suggest that models struggle to generalize on news and code data, but work especially well on arXiv papers. We also find the context size and tokenization implementation have a big impact of on the overall compression performance.
[ 0.0198734421, 0.1124004051, -0.0000662271, 0.0124112889, -0.0212875474, 0.0022573033, 0.0105025806, 0.0643052012, -0.0147027373, -0.0218789764, -0.0069479225, -0.0279417112, 0.0064250557, 0.0352106281, 0.0247125719, -0.0368987396, 0.0376625918, -0.03483475, 0.014526573, -0.0101647526, 0.0161661059, -0.0261413213, 0.0674390569, 0.0491754189, 0.0294566359, 0.0061818333, -0.0071606077, -0.0092975898, -0.0427216068, -0.0175404754, -0.012668442, 0.0732739717, 0.0392638147, 0.0617379174, 0.0000017352, -0.0682694614, -0.0089013595, 0.0310011711, -0.0351925492, 0.0408525243, 0.0568961576, -0.065086633, 0.005677409, 0.0025081339, 0.0003492976, -0.0473990813, 0.0445249975, 0.034620028, 0.04044291, 0.0452207327, 0.0017989617, -0.0113053154, 0.0573207028, -0.0337326042, -0.0091227908, -0.0254445039, 0.0235895924, 0.0044829543, -0.0105206501, 0.0262684431, -0.0376683436, 0.028291814, 0.0237266663, 0.001821868, -0.0186785012, 0.0302401111, -0.0667853206, -0.0342248715, 0.0035806422, 0.0416652523, 0.0039644102, -0.0510556586, 0.0047203526, 0.0099999513, -0.0061041936, 0.011490142, -0.0703287646, 0.0192202628, 0.0181512814, 0.0003361787, 0.0160820205, -0.0031995021, 0.0525697991, 0.0097450595, -0.0185650792, 0.0538317822, 0.0174431354, -0.0381993093, 0.0244459491, -0.0044181054, -0.0315783657, -0.0472845212, -0.019947717, 0.0131382504, 0.0014264485, 0.0119704502, -0.0590801574, -0.0449358448, 0.0592450686, -0.0595232062, 0.0100097926, 0.0168749858, -0.003345059, 0.0553670712, -0.0441247597, 0.0408610553, -0.0160284098, 0.0171086211, 0.0033523731, -0.0228374284, -0.0347635597, -0.0022903101, -0.0094492026, 0.052121602, 0.0066261655, 0.0001219747, -0.0353382342, 0.0159024745, 0.0143261282, 0.0278537571, 0.0387993902, -0.020932667, -0.0352330916, -0.0090028122, 0.0027327393, 0.0039487598, -0.0398376584, 0.0167995766, 0.0041353637, -0.0445430242, -0.0046707164, 0.0188565794, 0.0108804265, -0.0297454633, 0.0213391352, 0.0632457584, 0.02577498, -0.0342206843, -0.0257893037, -0.0210732147, -0.0022937546, -0.0499655828, -0.0163736735, -0.0692873672, 0.0121643515, 0.023569854, 0.0070281499, -0.0442640223, -0.023897009, -0.0010093803, -0.0575288832, 0.0358071551, -0.0133855408, 0.0028666961, 0.0111183189, 0.0021377217, 0.0135324467, 0.0917838737, 0.0252254512, 0.0077138846, 0.0587809198, -0.0258636624, -0.0078411903, 0.0339829959, 0.0690804571, 0.0327287577, -0.0313470252, 0.0282078497, 0.0157069042, 0.0195271578, 0.0301485825, 0.0756059438, -0.0400932841, -0.0387647338, 0.043886859, 0.0449632518, 0.0331370756, 0.0322135985, 0.0312755518, -0.0209862031, 0.0165059697, -0.0054920153, -0.0421536043, -0.0179312099, -0.0399046205, 0.0142704686, 0.0397721641, 0.0114004137, -0.0264391154, -0.0314353295, -0.0342398286, -0.021486653, 0.0456935614, -0.029324919, 0.0630051866, -0.0156318899, -0.0256198104, 0.0517720282, 0.0323372595, -0.0483861081, 0.006218038, -0.0593079589, 0.0297579356, 0.0170978438, 0.0628199726, -0.0063392762, 0.028982481, -0.0270218793, 0.0231353175, -0.016646659, 0.0305794198, -0.0231461097, 0.0135699036, -0.0427027866, -0.0306551512, 0.0241302215, 0.0274277888, -0.0108435852, 0.0483959503, 0.0262321904, 0.0126192598, -0.0808249414, -0.0495390631, 0.0401124358, -0.0482984781, -0.008240222, -0.0116611207, -0.0167239774, 0.0373569876, -0.0146315377, -0.0191772003, -0.0042805774, 0.0609517209, -0.0248312913, -0.005911395, -0.0205031373, -0.0135074612, -0.0118882498, 0.0344868042, -0.0223732386, 0.0358923562, 0.0520595498, -0.02546327, -0.0326489247, 0.0228042565, -0.0248289611, 0.0557081215, -0.0304596052, 0.0035290776, -0.0591198355, 0.0508380383, -0.0149266878, 0.0358920433, -0.0384449847, 0.0497416109, 0.0125050321, -0.0131849954, 0.0166602973, -0.0200456902, -0.0752295107, 0.0358703621, -0.0291658621, 0.0230673589, 0.0494269691, -0.0062791896, -0.0105724204, -0.0116092153, -0.1033419222, -0.0073533254, -0.0390992351, 0.0125627145, 0.0156219369, -0.0035434722, 0.0012332681, -0.0001739306, -0.018660428, -0.0125401095, 0.0105560282, 0.0312771797, 0.0277282763, 0.013652483, -0.0202910863, -0.0515567362, -0.060442213, -0.0121050868, 0.1102372482, -0.0222135466, -0.0136082638, -0.0279668029, 0.0516091324, -0.0257907044, 0.004679013, -0.0189575553, -0.0344012007, -0.0076295533, -0.027262412, -0.0011705166, 0.0520341396, 0.0008722812, 0.0217177086, 0.0694099069, 0.0255029909, -0.057787016, -0.0108298715, -0.0091591356, -0.0232501328, -0.0433092415, -0.0471057668, 0.0036964065, 0.0750898048, -0.0102904728, -0.0049295346, -0.0579728521, -0.0294211172, -0.0363349393, -0.0130858831, -0.031493213, -0.0125514111, 0.00906213, 0.0631612316, 0.0148265976, -0.0751260743, 0.0680867508, -0.0279337857, 0.0148447379, 0.0034759718, -0.0215432197, -0.0521826036, 0.0626890585, -0.0059737628, 0.0155512122, 0.0098689329, 0.00014138, -0.0449685231, 0.0041658822, 0.0034387377, -0.0351509601, 0.0306073651, -0.0253193695, 0.0212358814, -0.0133788772, -0.0172446165, 0.0004199641, -0.031490352, 0.0023761194, 0.0288267825, 0.0453665443, -0.0245972034, -0.021705674, 0.0318497457, 0.0017562212, 0.0611607023, -0.0001883825, -0.0237819534, 0.0228486061, 0.0190537479, 0.0406463072, -0.0063953553, 0.0281435475, -0.0229786392, 0.0194880459, 0.0270726532, 0.0469116233, 0.0328951031, -0.0473937802, -0.018782841, 0.0273048133, -0.0257906038, -0.0292370915, 0.0324691571, 0.0444326885, -0.0544819869, -0.0199184362, 0.1012912616, 0.0214017145, -0.0397611968, -0.0009765563, 0.0004762622, 0.0756636113, 0.0117807211, 0.0155658284, -0.0696974844, -0.0061747641, 0.0135057494, 0.0266135167, 0.0067383964, -0.0461369567, 0.0044837128, -0.0860825554, 0.0173182301, -0.005525216, -0.0219099093, -0.0157206152, -0.089539744, 0.0101530841, -0.0463051461, 0.0332071967, 0.0098144757, -0.0152165564, 0.0005336477, 0.0242084917, -0.0567410737, -0.0830150247, 0.0212834012, 0.0027075009, 0.039109122, 0.0322117321, 0.0147586055, -0.0225274786, 0.0056387675, 0.0322748944, 0.0227362346, -0.0301125888, -0.0128655545, 0.0605640672, 0.0252200812, 0.0160495955, 0.0259764753, 0.0381774269, -0.0141592938, 0.0122144092, -0.0005683798, 0.0762537941, 0.0086092362, -0.0447100922, -0.0399631113, -0.0456746072, -0.0345935076, 0.0881221518, 0.0403912328, -0.0253743101, -0.035516534, -0.0294410121, -0.0033050575, -0.0066158846, -0.024285512, -0.018438112, -0.0016195156, -0.0253941845, -0.0708658993, -0.0287371464, 0.0016153568, 0.0250070523, -0.0050370004, 0.010559747, -0.0136863468, 0.0140313711, -0.0671040043, -0.0033616282, -0.012053878, -0.0073467568, -0.0779358521, 0.0371501371, 0.0140478183, 0.0090530831, -0.0422384441, 0.019016305, -0.1284223944, -0.0675307587, -0.0043961746, 0.0364913531, 0.0317641534, 0.0341489613, -0.0026819406, -0.0834198594, 0.0545391701, 0.0480733365, -0.0228120461, 0.0221939106, 0.0473196022, -0.0387447178, 0.0021458555, 0.0412606522, -0.0590845309, 0.008015112, -0.0245881863, -0.0039204992, -0.0235865619, -0.0042314501, 0.0042823586, 0.038654048, 0.0247654524, -0.018252695, -0.0201508664, 0.0097244214, -0.0014569841, -0.010014317, 0.0157237481, -0.0290782228, 0.038039472, 0.0420218445, 0.0037506011, 0.0011740348, 0.0335422046, 0.0161732174, 0.0224513635, -0.0628730655, 0.0182083156, -0.0064936881, 0.0189036187, 0.0597323626, 0.0078325868, -0.0204098243, -0.0405439921, -0.015313861, 0.0237825271, -0.0433714539, 0.0046288478, 0.0084401444, 0.0380138196, 0.0154438363, 0.021133123, -0.0942095071, -0.0271894187, -0.0288554467, 0.0355058499, 0.0143521558, 0.0034988627, 0.0329313017, -0.0382602774, -0.0075242608, -0.0331971832, 0.0078762136, 0.0246860757, -0.0086342013, 0.0404256359, 0.0085701616, -0.0431905054, 0.0181018729, 0.1153417826, 0.0367735326, 0.037510287, -0.0251365285, -0.0050996807, -0.0427100509, -0.0044892617, -0.0078979088, 0.023874294, -0.0306083672, -0.0247280728, -0.0201729089, -0.0594393611, -0.0038983943, -0.0081849815, 0.0062404191, -0.0175124146, 0.0022232721, 0.0865470096, 0.011574774, 0.0423686318, -0.0257621258, -0.0129356729, 0.0171040706, -0.0269368347, -0.0222177524, -6.074432445e-33, 0.0160073843, 0.0269189235, -0.0109772235, -0.0552144237, 0.0076747844, 0.0368713662, -0.0376023874, -0.0158230569, -0.0463192016, -0.0127302632, -0.0263460875, 0.0122980308, -0.006018294, 0.0124379089, 0.0207549613, -0.013401635, 0.0525159426, -0.0049624755, -0.0369715989, 0.0332392566, 0.0425831117, 0.0178173538, 0.0485367663, -0.0628732741, 0.0506097078, 0.008253606, -0.0214125495, -0.0244049747, 0.0401357897, 0.0682820901, -0.0325229056, 0.0253662392, 0.0107883187, -0.059362907, -0.0226692706, 0.0022331865, -0.0670607015, -0.0125005208, 0.0157963168, -0.0242200047, -0.0037375633, -0.0326193757, 0.0595849268, -0.0050210031, -0.0151717588, -0.021686757, 0.0212635845, -0.0110530052, -0.0543528125, -0.0455375761, -0.0205229428, 0.0211071968, -0.0274527483, 0.0295852628, 0.029358644, 0.0535341352, 0.0013626333, 0.1000327617, -0.0248208363, 0.0188962817, 0.0134051405, 0.052473668, 0.0565279052, -0.036914032, 0.0010016075, 0.0441737287, -0.0067641982, 0.0188828763, 0.0101989247, 0.0184562132, 0.0707045048, 0.0043520704, 0.0351722389, 0.0739951506, 0.066722393, -0.0310886055, -0.0873146653, 0.016242737, 0.0333880596, 0.0283925403, 0.0308119897, 0.0371762998, -0.043505609, -0.0193407536, -0.0503594428, -0.0371297672, -0.0071987524, -0.0468536541, 0.0112087857, 0.0194395483, -0.0325784832, 0.002643266, 0.0294694584, -0.08198338, -0.079432413, 0.0639828742, -0.0349693559, 0.033859279, 0.0180293489, 0.0225013066, -0.0575150773, -0.01919543, 0.0154220052, -0.000620188, 0.0299324468, -0.0305545665, 0.0408931673, 0.0367180929, -0.0783630982, -0.0097100548, -0.0196528267, -0.0139761232, 0.0055591199, 0.0004721026, 0.0491338298, 0.014258978, 0.0166214779, 0.0169850979, 0.0349702239, 0.025710104, -0.0398847796, -0.0277734268, 0.0137805622, 0.0309206117, -0.0039426158, -0.0560646132, -0.0413233526, 0.0210979432, 0.0511381775, -0.0420265384, -0.0119097438, 0.022665007, 2.524e-7, 0.0428657793, 0.056611266, -0.0086110504, -0.0048187333, 0.0043370831, 0.0035484966, -0.0189294294, 0.032855019, -0.0192910433, -0.0176214986, -0.0105690798, -0.0166407004, 0.0388612077, 0.0342852846, -0.0935909003, -0.0395518132, -0.1168600023, -0.0143109215, -0.0643321127, 0.0111736134, 0.02711723, 0.1460368186, 0.0084305899, -0.0093765976, 0.0049406881, -0.0305574946, 0.0457517691, -0.0467798263, -0.0050543798, 0.0318028517, 0.0189866554, 0.0324064158, 0.0031050262, -0.0072859302, -0.0358472057, 0.0111011723, -0.0034274373, 0.0692875385, 0.024446493, 0.0226764586, 0.0258510765, -0.0442115255, -0.0137850568, -0.0649673864, 0.0816281959, 0.0017077301, -0.0262541976, -0.0427570455, -0.0065618372, -0.0188119002, 0.0569574572, -0.0291448869, 0.0139425248, 0.0243627336, -0.0228274204, -0.0045828191, 0.0037392238, -0.0674018189, -0.029657485, 0.0052422271, -0.0209658295, -0.0575924292, -0.0509043261, -0.0208781902, 0.0310349278, -0.0652338713, 0.031953454, 2.583413781e-34, 0.0657483488, -0.0127659217, -0.0121084759, 0.0120015219, 0.0129187601, -0.0500331335, 0.0092177447, 0.0121344579, -0.01319825, -0.0797664821, 0.0051441947 ]
http://arxiv.org/abs/2402.00858v1
http://arxiv.org/pdf/2402.00858v1
Can Large Language Models Understand Context?
2024-02-01T18:55:29
2024-02-01T18:55:29
Yilun Zhu, Joel Ruben Antony Moniz, Shruti Bhargava, Jiarui Lu, Dhivya Piraviperumal, Site Li, Yuan Zhang, Hong Yu, Bo-Hsiang Tseng
cs.CL
cs.CL
Understanding context is key to understanding human language, an ability which Large Language Models (LLMs) have been increasingly seen to demonstrate to an impressive extent. However, though the evaluation of LLMs encompasses various domains within the realm of Natural Language Processing, limited attention has been paid to probing their linguistic capability of understanding contextual features. This paper introduces a context understanding benchmark by adapting existing datasets to suit the evaluation of generative models. This benchmark comprises of four distinct tasks and nine datasets, all featuring prompts designed to assess the models' ability to understand context. First, we evaluate the performance of LLMs under the in-context learning pretraining scenario. Experimental results indicate that pre-trained dense models struggle with understanding more nuanced contextual features when compared to state-of-the-art fine-tuned models. Second, as LLM compression holds growing significance in both research and real-world applications, we assess the context understanding of quantized models under in-context-learning settings. We find that 3-bit post-training quantization leads to varying degrees of performance reduction on our benchmark. We conduct an extensive analysis of these scenarios to substantiate our experimental results.
Can Large Language Models Understand Context?: Understanding context is key to understanding human language, an ability which Large Language Models (LLMs) have been increasingly seen to demonstrate to an impressive extent. However, though the evaluation of LLMs encompasses various domains within the realm of Natural Language Processing, limited attention has been paid to probing their linguistic capability of understanding contextual features. This paper introduces a context understanding benchmark by adapting existing datasets to suit the evaluation of generative models. This benchmark comprises of four distinct tasks and nine datasets, all featuring prompts designed to assess the models' ability to understand context. First, we evaluate the performance of LLMs under the in-context learning pretraining scenario. Experimental results indicate that pre-trained dense models struggle with understanding more nuanced contextual features when compared to state-of-the-art fine-tuned models. Second, as LLM compression holds growing significance in both research and real-world applications, we assess the context understanding of quantized models under in-context-learning settings. We find that 3-bit post-training quantization leads to varying degrees of performance reduction on our benchmark. We conduct an extensive analysis of these scenarios to substantiate our experimental results.
[ -0.0094426991, 0.0601472445, 0.0007511431, 0.066660881, -0.0078893993, 0.02884968, 0.0398651101, 0.00262744, -0.0607965663, -0.0626093745, -0.0317620635, -0.0577952042, -0.0003459056, 0.0320737921, 0.0233575162, -0.0286931992, 0.0381608829, -0.010883051, 0.0029685074, 0.0041346974, -0.02250457, -0.0013148178, 0.0179334227, 0.0319016837, -0.0152222477, -0.0191765726, -0.0092372065, 0.0373063385, 0.0217312165, -0.0298252869, 0.0007772922, 0.0643685609, 0.0721410438, 0.0285020433, 0.0000019758, -0.0408355407, 0.0008596777, -0.0202673115, -0.0800474733, 0.0160233267, 0.0274261627, -0.0275957845, -0.0340482183, -0.0138588203, -0.0446680933, -0.0114749512, 0.0302928239, 0.0192380883, 0.0122720888, 0.0520697832, -0.012344379, -0.0287990756, 0.0070604822, -0.0426235199, 0.0199540257, -0.0552979633, 0.0139776533, 0.0320167355, -0.0082803564, 0.008912188, -0.0424632952, 0.0234065484, 0.038951546, 0.04296216, -0.0105593763, 0.0455458276, -0.0406355038, 0.0051796013, -0.0244645402, 0.0737654492, -0.0524372235, -0.0126634911, -0.0071209436, -0.009580994, -0.0145236617, -0.075745739, -0.0252749827, 0.0286898967, 0.0130022587, 0.0409414954, -0.015557833, 0.0284886174, 0.0427405573, 0.024072431, -0.0531569868, 0.0320986174, -0.0015337697, -0.0118308142, -0.0104582794, -0.0033541936, -0.0712269098, -0.043024119, -0.0152784539, 0.0262286235, -0.0218707081, 0.0195002817, -0.0518318489, 0.0029580775, 0.0161261111, -0.0158660747, -0.0055384706, 0.0401136912, -0.034617696, 0.0554660596, -0.0082188752, 0.0513311289, -0.0151226399, 0.0099191703, -0.0309825968, 0.014068027, -0.0226917751, 0.0053567691, -0.0432488136, -0.0000055825, -0.0732035562, -0.0352919959, -0.0300307926, 0.0274236631, 0.0020393964, 0.000116864, 0.0083602956, 0.0230957996, -0.0420896672, -0.0018291253, 0.0164337475, -0.0083223637, -0.0274225269, 0.030841466, 0.0185721107, -0.0738855675, -0.0077921948, 0.0091139823, 0.0212074928, -0.0388062596, 0.006972685, 0.0195943769, 0.0129530169, -0.0646261424, -0.0092833247, -0.0142146936, -0.0262430776, -0.0816681683, -0.045163881, -0.0492787473, -0.0009348186, -0.0056214789, 0.0166395009, -0.0342570432, -0.0060214694, -0.0115702618, 0.0093044788, 0.097796835, -0.0068110386, -0.0088337716, 0.0063101701, 0.0328362547, 0.0745250881, 0.0748776123, 0.0141921667, 0.0374478325, 0.0072833034, 0.0129644154, -0.01956583, 0.0353124328, 0.0408948138, -0.0042112027, -0.0286966227, 0.0046452172, -0.0069633201, 0.0587102063, 0.072077021, 0.0544290543, -0.0533894524, -0.0356358066, 0.0364702605, 0.0613670014, 0.0554701947, 0.0150180468, 0.046422109, 0.0188724324, -0.0159196761, -0.0050038411, -0.0660415068, -0.0062767048, -0.0078083235, 0.0122338682, 0.0286288634, 0.0086953659, -0.0281245112, -0.0243374053, -0.0155513566, -0.0073081455, 0.0023088453, 0.0260308292, 0.0282563455, 0.0131467078, -0.0346798599, 0.035657078, 0.02788602, -0.04694416, -0.0183412768, -0.0595267974, 0.0261386167, 0.0730299428, 0.0412967168, -0.0000620108, 0.0155168427, -0.0091514653, 0.0160333645, 0.0091448696, 0.0031173541, -0.0131223034, 0.0567713343, -0.0352550372, -0.0495439023, -0.0317754187, 0.0120517947, 0.0363449231, 0.0280114058, 0.0041410248, 0.0213585217, -0.0301646329, 0.0350111574, 0.0306618325, -0.0202137157, -0.0598612763, 0.0067979228, 0.0156655647, 0.0414157659, 0.0170962233, -0.0235153772, -0.0171618294, 0.0398207791, -0.0497107543, 0.0373993441, 0.0072394442, -0.1102535874, -0.0798798278, 0.0078642778, 0.0176538825, -0.0076802098, -0.0143835424, -0.0668817312, -0.0226845201, 0.0031251782, -0.0099211158, 0.0694114566, -0.0614607632, -0.0042946846, 0.0062168445, 0.0568564348, -0.0432995148, 0.0824359357, -0.0177881215, 0.0008969802, 0.0439565741, 0.0603744872, 0.01717305, -0.0381958298, -0.0245002769, -0.0043937825, -0.0147466892, 0.0039499751, -0.008885473, 0.0058301846, -0.0381751284, 0.0128898723, -0.1243169308, -0.0094080977, -0.0527346097, 0.0116638597, 0.0377305225, 0.016054634, -0.0182005856, -0.0231680572, -0.0384394675, -0.0079196226, 0.0005733666, 0.0090432884, 0.0084806811, 0.0234802142, -0.0088969572, -0.0429921336, -0.0147422897, 0.0106815379, 0.0527577922, -0.0192838963, 0.0003731014, -0.0471040718, 0.0436436795, 0.0153476074, 0.022764273, -0.0210530572, -0.0049631139, 0.0198496412, -0.0379519351, 0.0455257222, 0.0917986035, 0.0148270708, 0.0631324202, 0.049606435, -0.0040533203, -0.0581608079, 0.0059565664, -0.0073520201, -0.0322372057, -0.0517970696, -0.0327019356, -0.0110631725, 0.0753415823, 0.0109654469, 0.0113018705, -0.0421166606, 0.0085285464, -0.0110344132, -0.0429137908, -0.0846627355, 0.0010471826, -0.0149286445, 0.0840869918, -0.0296509005, -0.0466006324, 0.0353320241, -0.0398483351, -0.0060895598, -0.0078229522, -0.0222816356, -0.0348588489, 0.0907458365, 0.0030516062, 0.0215852279, -0.0022784697, -0.0309562627, -0.0495684482, -0.0055219536, -0.0171635933, -0.017520193, 0.0246831272, -0.0451411568, 0.0214584731, -0.0239613075, -0.0354532972, -0.0511146933, -0.0488055795, -0.0201801937, 0.0266867522, 0.0242943205, 0.004723696, 0.0285808351, 0.0277174301, -0.0255303122, 0.051256787, 0.0155494325, -0.0259255301, -0.0152050424, 0.0551713631, 0.0377222337, 0.0129592326, 0.0262847189, -0.0057322094, 0.0115788458, 0.040208187, 0.0248849634, 0.0147812935, -0.0708047524, 0.0338621624, 0.0181471296, 0.0021067115, -0.0105035724, 0.0397876948, 0.0564418137, -0.0691840202, -0.0348515585, 0.1172018126, 0.0239471607, -0.0411552303, 0.0132647427, 0.0096289916, 0.0049571726, 0.0131919077, -0.0058347993, -0.1247162074, -0.0471959524, 0.0048474162, -0.0208245721, 0.0046703401, -0.009397665, -0.0220494494, -0.080296725, 0.023985127, -0.0030033707, -0.0311524626, -0.0168198645, 0.0046465346, -0.0046519926, -0.0150274402, 0.0676487237, 0.0000038528, -0.0155938501, -0.0131927915, 0.0142971538, 0.037474934, -0.0857679546, 0.0599349402, 0.0012323589, 0.0637717247, 0.0826578587, 0.0239324328, 0.0354849733, 0.0076179001, 0.0149564231, -0.0079361657, 0.0222268384, -0.0064314683, 0.0265407171, -0.0071210954, 0.0045324443, 0.031281516, 0.0093053821, -0.0311516486, -0.0387007333, 0.0049213069, -0.0011831569, -0.0134765999, -0.0035313193, -0.0142801208, -0.0219057053, 0.0224917587, 0.0935643911, 0.0625888407, -0.0097232619, -0.0479113348, -0.0219197143, 0.0227475278, -0.0353607908, -0.0123907942, -0.0194097236, 0.0102027841, -0.024106402, -0.041298449, -0.0200961567, 0.0188292898, 0.02983105, -0.0096842414, -0.0029449172, -0.0160149876, 0.0167431291, -0.0736338794, 0.027289262, -0.0210381243, 0.0269329529, -0.061269626, 0.0108774984, 0.0178381801, -0.0338054225, -0.0279413313, 0.0087928222, -0.1218090951, -0.0415764526, 0.0160435606, 0.001932119, 0.019315945, 0.0818486214, -0.0026295462, -0.062434189, 0.0610643476, 0.0272990745, -0.0042611589, 0.0409475788, 0.0226908736, 0.0286172535, 0.0014680154, 0.0408509411, -0.0373905562, 0.0604655743, 0.0185670108, 0.0282104164, -0.0749430582, -0.0377725922, 0.0103073902, -0.0361466706, 0.0544861145, -0.0300171226, -0.0104305875, 0.0059482707, 0.0092371143, -0.0164657924, 0.0288007818, -0.0437815264, -0.0444013886, 0.0409088023, -0.0054296888, -0.0105301095, 0.0184165854, -0.0040925741, 0.0298204217, -0.0273442287, 0.0154189663, -0.0006817713, 0.017579047, 0.0365584008, 0.0163807534, -0.0239060987, 0.0230770539, -0.002450373, 0.0512204021, -0.0240968782, 0.0496001653, -0.0076114945, 0.0062455004, -0.016831724, 0.0445989706, -0.0764959157, 0.0011600857, -0.0339869112, 0.0254119765, 0.0489385128, -0.0207752362, 0.0255805198, -0.0143006761, -0.0004180008, -0.0145901786, 0.017428996, 0.0110760089, -0.0436769053, 0.0558713377, 0.0311828088, -0.0231491234, 0.017007893, 0.077610217, 0.0364804976, 0.0255803745, 0.0030490721, 0.0152669903, -0.0358630978, -0.0068811621, -0.0228913445, 0.0252227671, 0.001837225, 0.0483550169, -0.024302749, -0.0568052344, -0.0140376268, 0.010587303, 0.0218663588, -0.0119597251, 0.0369874462, 0.0371942669, -0.0107873781, -0.0266718101, -0.0091535728, -0.0000770578, -0.0099158604, -0.0049291337, -0.0457295738, -6.372238061e-33, -0.0294566993, -0.0125874747, 0.025928678, -0.0594956465, -0.0019584931, 0.0334323198, -0.0442007482, -0.0001469263, -0.0302145034, -0.0215379708, -0.0262268167, 0.0285336766, 0.0213949047, 0.0507806279, -0.0401217304, -0.0090696299, 0.081866473, -0.010958774, -0.0004409843, 0.0189195462, 0.0087870425, 0.0184783358, 0.0285090003, -0.0202267729, 0.0000863538, -0.0120300585, -0.0231514107, 0.00763408, 0.0045344834, 0.0384948291, -0.0551052205, 0.0127433762, 0.0291326363, -0.0111677712, -0.0458389372, 0.0413023047, -0.1050637662, 0.0028986072, 0.0186623484, 0.0191804245, -0.0249120593, -0.035362225, 0.0440032668, -0.0201248564, -0.0117874593, -0.0167144369, 0.001166243, -0.0341471694, -0.0426298156, -0.0955659524, -0.047794193, 0.0228230432, -0.013999138, 0.0014508611, 0.062566258, 0.007010174, -0.0233341213, 0.018576337, -0.0490251668, 0.011821989, 0.0137792947, 0.0457107536, 0.0652733073, 0.0385949463, 0.0095317038, 0.0453385711, -0.0011904994, -0.0321309268, -0.0385968611, 0.0001819873, 0.036166124, 0.0473827757, -0.0060333461, 0.0720534325, 0.0785522088, -0.0073831128, -0.068274796, -0.0004588931, -0.0045122853, 0.011326707, 0.0387049019, 0.0327443704, -0.0289533064, -0.0136423549, -0.0494115092, -0.0270954836, -0.0337057076, -0.028377315, 0.0411738195, 0.0143204723, -0.0052089682, -0.0235773977, 0.0368661582, -0.0715015903, -0.0096681565, 0.0365820788, -0.0024924395, -0.0092567205, 0.0209901687, 0.0451448038, -0.0447705314, -0.0201425627, 0.0400429592, 0.0381243862, 0.0135567328, -0.024282163, 0.0494844802, 0.0065815612, -0.0556257926, -0.0157683343, -0.0341964066, 0.0299935024, -0.0317047052, 0.0295331255, 0.0461008474, 0.0199500937, -0.0075252778, 0.0342724212, -0.0115246391, -0.018593166, -0.0072549866, -0.0034269707, 0.0032243943, 0.0447899066, -0.0455016978, -0.025007952, -0.0288699493, 0.0098504946, 0.1078256741, -0.0282543283, -0.0219743084, 0.0444768891, 2.533e-7, 0.0399343334, 0.0159531422, 0.008597631, -0.0329380184, 0.0237670634, 0.014302332, -0.0033583494, 0.0087059876, -0.0062869214, -0.0161496755, 0.0304162335, 0.0505624525, 0.0312489569, -0.0080364095, -0.0608007014, 0.0338661224, -0.0505237579, 0.0107010528, -0.0432141237, 0.0010211177, 0.0538725294, 0.1229483932, -0.030925516, -0.0132985171, 0.0459440872, -0.01644844, 0.0469068587, -0.0580764897, 0.043670319, 0.0124116857, -0.0170995705, 0.0478249379, 0.0021249084, -0.0038930119, 0.007451694, -0.0005824626, -0.0367452204, 0.0990871862, 0.0046483502, -0.0536742993, -0.0188416634, -0.0004710546, -0.0029743894, -0.0521044582, 0.0764086545, -0.0683861375, -0.0077146036, -0.0657915324, 0.004458698, -0.010057779, 0.0108128227, 0.0048737586, 0.0077125882, -0.0004250573, 0.014735749, -0.0367442369, -0.0253044106, -0.1280643195, -0.031449616, 0.0085026212, -0.037368305, -0.0226357169, -0.0479872227, -0.0079362346, 0.05515128, -0.0137764057, 0.0028773253, 2.121941331e-34, 0.026515346, 0.0090819839, 0.0231831186, 0.0091946023, -0.0090449601, 0.0024653787, -0.0234572105, 0.0051237731, 0.0061219358, -0.0734737888, 0.006974271 ]
http://arxiv.org/abs/2402.00856v4
http://arxiv.org/pdf/2402.00856v4
Towards Efficient Exact Optimization of Language Model Alignment
2024-02-01T18:51:54
2024-06-05T08:15:12
Haozhe Ji, Cheng Lu, Yilin Niu, Pei Ke, Hongning Wang, Jun Zhu, Jie Tang, Minlie Huang
cs.CL
cs.CL
The alignment of language models with human preferences is vital for their application in real-world tasks. The problem is formulated as optimizing the model's policy to maximize the expected reward that reflects human preferences with minimal deviation from the initial policy. While considered as a straightforward solution, reinforcement learning (RL) suffers from high variance in policy updates, which impedes efficient policy improvement. Recently, direct preference optimization (DPO) was proposed to directly optimize the policy from preference data. However, we show that DPO derived based on the optimal solution of the problem leads to a compromised mean-seeking approximation of the optimal solution in practice. In this paper, we propose efficient exact optimization (EXO) of the alignment objective. EXO is guaranteed to optimize in the same direction as RL algorithms asymptotically for arbitrary policy parametrization. This leads to the same mode-seeking solution, while enables efficient optimization by circumventing the complexities of RL. We also compare our method to DPO with both theoretical and empirical analyses, and further demonstrate the advantages of our method over existing approaches on realistic human preference data. Code is available at https://github.com/haozheji/exact-optimization.
Towards Efficient Exact Optimization of Language Model Alignment: The alignment of language models with human preferences is vital for their application in real-world tasks. The problem is formulated as optimizing the model's policy to maximize the expected reward that reflects human preferences with minimal deviation from the initial policy. While considered as a straightforward solution, reinforcement learning (RL) suffers from high variance in policy updates, which impedes efficient policy improvement. Recently, direct preference optimization (DPO) was proposed to directly optimize the policy from preference data. However, we show that DPO derived based on the optimal solution of the problem leads to a compromised mean-seeking approximation of the optimal solution in practice. In this paper, we propose efficient exact optimization (EXO) of the alignment objective. EXO is guaranteed to optimize in the same direction as RL algorithms asymptotically for arbitrary policy parametrization. This leads to the same mode-seeking solution, while enables efficient optimization by circumventing the complexities of RL. We also compare our method to DPO with both theoretical and empirical analyses, and further demonstrate the advantages of our method over existing approaches on realistic human preference data. Code is available at https://github.com/haozheji/exact-optimization.
[ 0.0341312923, 0.0663005561, 0.0020699247, 0.0309819859, -0.0356167443, 0.0038347167, -0.0634626895, -0.0167579316, -0.0425906181, 0.0076315026, -0.0276715681, -0.0388717167, 0.0202860814, 0.0040714825, -0.0090694129, -0.0503823981, 0.0608992204, -0.0295747425, 0.0200321432, -0.0133302016, 0.0483486727, -0.0085942298, -0.0150886206, 0.0235643927, 0.0336303525, 0.0076640514, -0.0178502258, 0.0023090392, 0.0677433088, 0.0124744279, 0.0372498967, 0.022682406, 0.0077320905, 0.0497957058, 0.0000022349, -0.0348901264, -0.0368931182, -0.0338081047, 0.0111416792, -0.042846825, 0.058485914, 0.0252443086, -0.0389843993, 0.030952448, -0.0205220804, 0.0288466495, 0.1001721397, 0.0102990605, 0.0371144153, 0.0653492734, 0.0070577557, 0.0003198284, -0.0367926806, -0.0309846513, -0.0001750532, -0.0253118146, 0.0237254966, -0.0316565111, 0.0027011065, 0.0009127906, -0.0201965868, 0.0226918627, -0.0290316585, 0.0099148713, -0.0333256014, 0.0329881571, 0.0090635968, -0.0176367667, -0.0062604398, 0.0653022453, -0.0363703258, -0.0639567971, 0.0213720389, -0.0301796161, 0.0003208079, 0.0303223561, 0.0183090065, -0.017383201, -0.0024669957, 0.0523367412, 0.0295408368, -0.0290685333, 0.0296034571, 0.0158842988, -0.0151904607, 0.0767324492, 0.0093739992, -0.0333382785, 0.0116869863, 0.0019279426, -0.0181336999, -0.0445602946, 0.0144069027, -0.0067812027, -0.0691016465, 0.0328542553, -0.0481891148, -0.0206988063, -0.0093984175, -0.0510749109, 0.0417986959, 0.069926396, 0.0208208319, 0.0122853965, 0.0370333157, 0.0719867572, -0.0286595337, -0.0363615043, -0.064297542, 0.0277751051, -0.0220940243, 0.0056476067, -0.0018930418, -0.0020735105, -0.0248087682, -0.017349204, -0.0604866557, 0.0404593758, -0.0128487563, 0.0255708061, -0.0022015402, 0.0054808767, -0.066487655, -0.0154867163, -0.0420608819, 0.0236514099, -0.0201090109, 0.0032964116, 0.008279724, 0.0313568786, 0.0273995213, 0.0074886451, -0.0275216047, -0.0224025231, -0.0110561205, 0.0918641314, -0.0243721548, 0.020622367, 0.0044547208, -0.0025733612, -0.0282925032, -0.02650561, -0.0512554832, -0.0741792768, 0.0058931047, -0.0206308886, -0.0339437276, -0.0598485209, -0.0119715519, -0.0049996227, -0.0308528729, 0.0641137138, 0.0071579469, 0.0110913543, 0.032043267, -0.0363082476, -0.0050260909, 0.0742742345, 0.0353560708, 0.0306317247, 0.0095398529, -0.0127046304, -0.0118501522, 0.0699308068, 0.0087060072, 0.0139776086, -0.0253542531, 0.0068217013, 0.0128872134, 0.0563743263, 0.0694830045, 0.0168682989, -0.0086938385, -0.0277981665, 0.0643685684, 0.0288296975, 0.0285994112, -0.043802686, -0.0085441004, 0.0415773802, -0.0500969552, -0.0138196517, -0.0525360331, 0.028579412, -0.0302580912, 0.0265692007, 0.0079217944, 0.0388511196, 0.0003315913, -0.03508012, 0.0124055846, -0.0165137667, 0.0203591771, 0.0450667292, 0.0146801118, -0.035732165, -0.0494803675, -0.0062787635, 0.0464285128, -0.003681941, 0.0020655906, -0.0184721015, 0.0184301529, 0.0605951808, 0.0070289164, -0.0184215736, -0.0550267249, -0.0032747958, -0.0495464914, 0.0555643886, 0.0364716984, -0.0289317407, -0.0196585618, -0.0601418018, -0.0609065704, 0.0597995594, -0.0129611371, 0.0289537683, 0.0318255536, 0.0062930812, -0.0191765558, -0.012596081, -0.0592686944, 0.0238021947, -0.010093336, -0.0417620353, 0.0031393257, 0.0406094044, 0.0449454449, -0.008831366, 0.0054700105, 0.0022800555, -0.0136805093, 0.0167955905, 0.0132514164, 0.0105090924, -0.0483295955, -0.0017513941, 0.0661040023, -0.0288876183, -0.0384200104, 0.0558767207, -0.0329018012, -0.0474339612, -0.0241122562, -0.0215110146, 0.0384636261, 0.0084850444, 0.0415809192, -0.0294731893, -0.0220510326, -0.0787299797, 0.0444992483, -0.0095744375, 0.0124290744, 0.0107369348, -0.0244653076, -0.0108094001, -0.0673743859, -0.0375512019, 0.0399038978, 0.0015342956, 0.0558576882, 0.0829351768, 0.0288347211, -0.0228922032, -0.0268539581, -0.0402039215, 0.0002977523, -0.0108298706, 0.0277530309, 0.0449800156, 0.0239083935, -0.0369073078, -0.0297625214, -0.042713996, 0.0096988259, -0.0374458507, -0.0043571535, 0.028941907, 0.0052648024, -0.0263120532, -0.0779177994, -0.0020718137, -0.0030941162, -0.0301012378, -0.0224622209, 0.0455782972, -0.0473713875, 0.0350291394, -0.0289173406, 0.0464406721, -0.0121454364, -0.0450249054, 0.0001312004, -0.0112474896, 0.0320543945, 0.0950123668, 0.0549193285, 0.0167987924, 0.0607543215, 0.039226234, -0.094031997, 0.0125533082, -0.0796031505, -0.0457585491, -0.0475446731, -0.0302385148, 0.0338927843, 0.1009573117, -0.0089884717, 0.006387996, -0.0656368881, -0.0130469557, -0.0000605494, -0.0182549488, -0.0128224343, 0.0462792926, -0.0561481975, 0.0417179354, -0.052132681, -0.0816898718, 0.0984641612, -0.0076938774, 0.0253241658, -0.081480369, -0.0326256864, -0.0004749192, -0.0307717081, -0.0049701068, 0.0457812212, -0.0245194416, -0.0161575265, -0.0765949041, -0.0330086201, 0.0664099827, -0.0398731902, 0.066590555, -0.0158148408, 0.0307858977, -0.0115901623, -0.0707922652, -0.0519792289, -0.025360072, -0.0164768249, -0.0289974939, 0.004015035, -0.0569038726, -0.0187535994, -0.0015622039, 0.0520941019, 0.0309425537, 0.0034891784, -0.011768776, -0.0190464221, -0.0124724424, 0.1006203294, -0.0115901101, -0.0403128676, -0.0023504149, -0.0155104389, 0.0056988047, 0.0585680418, 0.0157834385, -0.0353687704, 0.0166711267, 0.0677054673, -0.0628920645, -0.005043, 0.0596684515, 0.0186251905, -0.0086702555, -0.0033761128, 0.0856532902, 0.0322258957, -0.0657529458, 0.0111565059, -0.0157305524, 0.0592778437, 0.0044078343, 0.0435264744, -0.0059229056, -0.0147278057, 0.0133125335, 0.0757208765, 0.0135279419, -0.0026121386, 0.007543656, -0.1143104807, -0.0470896997, 0.0173676107, -0.0776137561, -0.030762529, -0.0176299084, 0.0328500755, -0.0374334492, 0.0523585714, 0.020920556, 0.0171304364, 0.0094766393, 0.0237211175, 0.0413405038, -0.0186797157, 0.0048990939, -0.0382364839, 0.0543953441, 0.110693194, 0.0260445587, 0.0091417683, -0.0051706517, 0.0073995902, 0.0456153341, -0.0486177541, -0.0011868301, -0.041583024, -0.025282653, -0.009839586, -0.0090041431, 0.0743646845, -0.0167454537, 0.0189510584, 0.0097360555, 0.0406710207, 0.0055591459, 0.0241415557, -0.0013355913, -0.0104030222, 0.0484982803, 0.0387958251, -0.0104356045, -0.0797977448, -0.006695929, -0.0581060611, -0.0279594455, -0.0430018269, -0.0480443873, -0.0231866464, -0.0054014088, -0.0012513836, -0.0602979474, -0.0208167955, -0.0242791381, 0.05324829, 0.0174173936, 0.0141795464, 0.0278071519, -0.0328500234, -0.0163072105, -0.0007391353, -0.0182775222, 0.0131690986, -0.0899354219, -0.013748657, -0.0074478528, -0.039448496, -0.0332482569, -0.0162834097, -0.0059842337, -0.1087083295, -0.0002416498, 0.0432627089, 0.0122553147, 0.0904125273, -0.0014508303, -0.0377658978, 0.0324463323, 0.0281130336, 0.0020866254, 0.0110320095, 0.0199031197, 0.0264103506, -0.0070592272, 0.031613946, -0.0458633117, -0.0132580651, 0.0216098204, 0.0282970779, -0.0276738722, -0.0403745323, 0.0424178988, 0.003703126, 0.028789524, -0.0447609238, -0.0274520703, -0.0310830437, -0.0170257576, 0.027089145, -0.040572077, 0.0060381861, -0.0164621342, 0.0335237272, -0.0049694474, 0.0289457254, -0.0060472842, 0.016225569, -0.0029206707, -0.000780659, -0.0002121643, 0.0122234765, 0.0489482284, 0.0694140047, 0.0358098149, 0.0156702846, 0.0393272825, 0.0100866212, 0.0664678365, -0.0061361403, 0.026352413, 0.0661581531, 0.022813471, -0.0105088064, -0.0027901644, -0.0109208794, -0.0646860003, -0.0291291922, -0.0116991373, 0.0615819506, -0.0388953462, 0.0580341332, -0.046612855, 0.0000631563, -0.0307178609, 0.0185770988, -0.0278082769, -0.0046119075, 0.0241911821, 0.0225786939, 0.0043627648, 0.012637536, 0.065144226, 0.0110726701, 0.0311251264, -0.0364860483, 0.0108689144, -0.0361093171, 0.0047010933, 0.0128517775, 0.0132325795, -0.0629383177, -0.0260040984, -0.0251050368, -0.0633488297, -0.0157562941, 0.0475362092, 0.0024871405, 0.0048461179, 0.0613702796, 0.0277005341, -0.0410214067, 0.039066337, -0.0566154122, -0.0249284822, -0.0115624564, -0.0219996236, -0.0453016199, -6.401568114e-33, -0.0254162848, -0.0149747832, 0.0060879025, -0.0045964592, -0.0076754703, -0.0478554331, 0.0114965653, 0.0241145417, -0.0134520018, -0.0265752487, 0.0028265542, -0.0239910893, 0.0168795418, -0.0132174883, 0.0260697678, 0.0263306126, 0.0022728951, -0.0230291691, -0.0676562116, -0.0208060928, 0.0449908376, 0.0004303005, 0.0218140855, -0.0565776899, 0.0269133467, 0.0320597626, -0.0139783118, 0.0329030529, 0.0105801076, 0.0845888704, 0.0043185405, 0.0038796426, -0.0139027955, -0.024258567, -0.0310251545, -0.006532568, -0.0214900468, -0.0318820514, 0.024989916, 0.036416553, -0.0186974388, -0.0224569626, 0.0435224138, -0.0029089833, -0.059683539, 0.0192783736, 0.0213042535, -0.0044154138, -0.0249655358, 0.0424821638, -0.05436318, -0.001180205, -0.0066531086, -0.0114104953, 0.0604878739, -0.0140180429, 0.0078588361, 0.01737074, -0.0233251899, 0.0412434079, -0.0222945306, 0.0632287189, 0.1183242723, 0.0715746209, 0.0123907141, 0.0299008768, 0.0304722153, -0.0542729162, 0.0436593965, -0.012769863, 0.0443198234, -0.0145005807, -0.0156043591, 0.0460940227, 0.024601344, -0.0050166608, 0.0013061736, 0.035529051, 0.0099436836, 0.0085751917, 0.0318469703, 0.0481104292, -0.0779942349, -0.0117452247, -0.0723545253, 0.0024503556, -0.0394129679, -0.0366231911, 0.0306461807, 0.0088855922, -0.0139541393, -0.0588867366, 0.013878868, -0.0346325375, -0.0078446222, 0.0020633216, -0.0509617142, -0.0104775643, -0.0012160863, 0.0272033997, -0.0558295101, -0.0488513894, -0.0516418107, -0.0157845113, -0.0108592901, 0.0294395369, -0.0039149467, 0.0108042285, -0.0429318585, 0.0361260884, -0.0194238536, -0.0190037712, 0.0109028947, 0.0123883579, 0.0678552911, -0.039035093, 0.0020064751, 0.0446195267, 0.028364867, -0.0362629592, -0.0192432292, -0.0184243955, -0.0331824012, 0.0234988015, -0.0209101699, 0.0364870317, -0.024736939, 0.0207616296, -0.0115904557, -0.0228449665, -0.0169729181, 0.0000946483, 2.819e-7, 0.0213107672, 0.0497289151, 0.0377962701, 0.0419831276, -0.0459238812, 0.0678767711, -0.0150734838, 0.0184084997, -0.0007059054, 0.0149867078, 0.0320736431, 0.0068136728, 0.0172562879, -0.0123548219, -0.0838626847, 0.0116714556, -0.0500291809, 0.0604232997, -0.0237106699, 0.010730193, -0.0076201963, 0.0639088824, 0.0193320196, 0.015400378, 0.0070237159, 0.0245705917, 0.0488921255, -0.0605461188, 0.0201400053, 0.0111208912, -0.0049004592, -0.0035365424, -0.0420967229, -0.0444741249, -0.0001399538, 0.0296039488, -0.0212713871, 0.0612295344, 0.0087052472, -0.02768787, -0.0258037578, 0.0167270694, -0.0049869348, -0.0514168814, 0.0096810628, -0.0368801467, 0.0022617946, -0.0195596535, -0.0121062063, -0.0027121152, -0.0015548087, -0.0334495343, -0.0145529779, 0.011905713, 0.0148787014, 0.0249031968, -0.0124610113, -0.0269587003, -0.0163662415, 0.0313640162, -0.041202195, -0.0281014219, -0.0195627529, 0.0780293643, 0.0213368274, -0.0184371788, -0.0095914211, 2.531534073e-34, 0.0016430212, -0.0123880627, 0.0303128567, 0.0061643911, -0.0132329781, 0.0177919306, -0.003877556, 0.0398520865, 0.0480141938, -0.052237235, -0.0455564633 ]
http://arxiv.org/abs/2402.00841v2
http://arxiv.org/pdf/2402.00841v2
Tiny Titans: Can Smaller Large Language Models Punch Above Their Weight in the Real World for Meeting Summarization?
2024-02-01T18:31:34
2024-04-15T17:56:58
Xue-Yong Fu, Md Tahmid Rahman Laskar, Elena Khasanova, Cheng Chen, Shashi Bhushan TN
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated impressive capabilities to solve a wide range of tasks without being explicitly fine-tuned on task-specific datasets. However, deploying LLMs in the real world is not trivial, as it requires substantial computing resources. In this paper, we investigate whether smaller, compact LLMs are a good alternative to the comparatively Larger LLMs2 to address significant costs associated with utilizing LLMs in the real world. In this regard, we study the meeting summarization task in a real-world industrial environment and conduct extensive experiments by comparing the performance of fine-tuned compact LLMs (e.g., FLAN-T5, TinyLLaMA, LiteLLaMA) with zero-shot larger LLMs (e.g., LLaMA-2, GPT-3.5, PaLM-2). We observe that most smaller LLMs, even after fine-tuning, fail to outperform larger zero-shot LLMs in meeting summarization datasets. However, a notable exception is FLAN-T5 (780M parameters), which performs on par or even better than many zero-shot Larger LLMs (from 7B to above 70B parameters), while being significantly smaller. This makes compact LLMs like FLAN-T5 a suitable cost-efficient solution for real-world industrial deployment.
Tiny Titans: Can Smaller Large Language Models Punch Above Their Weight in the Real World for Meeting Summarization?: Large Language Models (LLMs) have demonstrated impressive capabilities to solve a wide range of tasks without being explicitly fine-tuned on task-specific datasets. However, deploying LLMs in the real world is not trivial, as it requires substantial computing resources. In this paper, we investigate whether smaller, compact LLMs are a good alternative to the comparatively Larger LLMs2 to address significant costs associated with utilizing LLMs in the real world. In this regard, we study the meeting summarization task in a real-world industrial environment and conduct extensive experiments by comparing the performance of fine-tuned compact LLMs (e.g., FLAN-T5, TinyLLaMA, LiteLLaMA) with zero-shot larger LLMs (e.g., LLaMA-2, GPT-3.5, PaLM-2). We observe that most smaller LLMs, even after fine-tuning, fail to outperform larger zero-shot LLMs in meeting summarization datasets. However, a notable exception is FLAN-T5 (780M parameters), which performs on par or even better than many zero-shot Larger LLMs (from 7B to above 70B parameters), while being significantly smaller. This makes compact LLMs like FLAN-T5 a suitable cost-efficient solution for real-world industrial deployment.
[ 0.0317331143, -0.0179038495, 0.0206128322, 0.0521008186, -0.0181146972, -0.0118932351, 0.0252281968, -0.0079309652, -0.0316879377, -0.0420408472, -0.0444614626, -0.0466287285, 0.0336721428, 0.0314320624, 0.0138277635, -0.0908507854, 0.0152801452, -0.0404906012, -0.0326511078, -0.0153756617, 0.0172879472, -0.0053503625, 0.0247558337, 0.0434258878, 0.0085791685, 0.0079536196, -0.0119546428, -0.0001618514, 0.0183969028, 0.0124574974, -0.0210680868, 0.0070459326, 0.0387512222, 0.0421412997, 0.0000019719, -0.0284519196, 0.0022518476, -0.0187357478, -0.012165904, 0.0528653711, 0.074485071, -0.019536823, -0.0058011673, 0.0463978648, -0.0109727718, -0.0053374651, 0.0214181561, 0.0412178598, 0.0383138657, 0.0561138839, -0.0052494686, -0.036037676, -0.0045467061, -0.0387406424, -0.0349185802, -0.0503026061, 0.0134124001, 0.0084582148, 0.0118666273, -0.0147302588, 0.0247817282, 0.0520311296, -0.0245917719, -0.0251041446, -0.0162034128, 0.0488491692, -0.08077804, 0.0001522548, -0.0093307644, 0.0635003746, 0.0036185337, 0.0062366552, 0.0259860735, -0.0004161073, -0.0174051654, -0.0453028716, -0.0893363208, 0.0194493905, 0.0066165039, 0.027827831, -0.0074406834, 0.0211194083, -0.009854964, 0.0034704879, -0.0210489612, 0.0357463621, -0.0036435407, -0.0100833531, -0.0567036979, -0.0035090474, -0.0074881543, -0.0620315671, 0.0308403093, 0.0445727222, -0.0028969445, 0.0233638845, -0.0498085991, -0.0213257, 0.0109901251, -0.0504999645, 0.0413476117, 0.0263798088, 0.0400487594, 0.0626349673, -0.0087447185, 0.0366513431, 0.0083588678, 0.0095441081, -0.0741164908, -0.0158734284, 0.0041001984, 0.023082545, -0.0283359922, 0.0306484457, -0.0718021914, -0.052002266, -0.0213788189, 0.0336807109, 0.0425579138, 0.0140441479, 0.0082776193, 0.0001118951, -0.0063858293, -0.0195779148, 0.0135644907, 0.0470595025, -0.0094367368, -0.0097200004, 0.0159606766, -0.0570765994, 0.0040515526, 0.0198924392, 0.0161627103, 0.0290142633, -0.0137088625, 0.0681374818, -0.0172045305, -0.0400203131, -0.0092690485, -0.0102431215, -0.011222898, -0.0640286282, -0.0368959755, -0.0703086257, 0.0188838523, 0.017357856, -0.0072633051, 0.0078640468, 0.0014869332, 0.0040920824, -0.0470250472, 0.0239273217, -0.022374237, 0.053581316, 0.0452418141, -0.0124057923, 0.0129710231, 0.0682605058, 0.0686247274, 0.0778445378, 0.0495158285, 0.0245132633, -0.0003163406, 0.0631230697, -0.012117085, 0.0239117835, -0.0042576231, -0.0134457182, -0.0248830374, 0.0096754488, 0.0200941861, 0.0791446045, -0.0230541993, 0.0244801678, 0.0895513892, 0.0775581524, 0.030200785, -0.0068799648, -0.0110998293, 0.0353695899, 0.0092270123, 0.0114149246, 0.0005269343, 0.0233171843, -0.030281432, 0.0437047221, 0.1115079224, 0.0159402471, -0.0411584042, -0.027298985, -0.0279182438, -0.0020066698, -0.0523510613, -0.0056410707, 0.0302848425, -0.0493078381, -0.0694796816, 0.0737945884, 0.0237726104, -0.0547387376, -0.0250405185, -0.0419797935, 0.0003435866, 0.0775860623, 0.0481275953, -0.035377305, -0.0239949487, -0.0085074781, -0.0030127056, 0.0551589169, 0.0857318938, -0.0142128058, 0.0046142004, -0.0640766099, -0.0097183157, 0.0355055258, -0.0103571294, -0.0049336767, 0.0021131232, -0.0019986315, 0.0375645421, -0.0001443592, -0.0599905103, 0.012293241, 0.0067724125, -0.0043590348, -0.0198496711, -0.008182711, 0.0282848906, 0.0387186557, -0.0077048405, -0.0046834387, 0.0435689799, -0.0339602716, 0.042229645, -0.014148158, -0.0381125994, -0.0256130397, 0.0521276258, -0.0018373899, 0.0342779756, 0.0323477685, -0.062799491, -0.0767738298, 0.012105817, -0.0472343229, 0.011747703, -0.0227103159, 0.0383507758, -0.0034445496, 0.0020919347, -0.0206493773, 0.0269466303, -0.0062340568, -0.0166736916, 0.0383080617, -0.0043654321, 0.0054574851, -0.0666956678, -0.0315581225, 0.0288521908, 0.0287545491, 0.0199281015, 0.0186762866, 0.018416198, -0.0192958713, -0.0268235039, -0.1029175147, 0.0080188671, -0.0175673496, 0.0043217284, 0.0273543857, 0.0232330784, -0.0035113122, 0.0108827334, -0.0435436219, 0.002521215, 0.0403641239, 0.0139170866, 0.0257631931, 0.0312809311, -0.0180262607, -0.0875602812, -0.0236868877, 0.0365930237, 0.0292713959, -0.0040921122, -0.058332596, -0.0557414442, 0.0400067568, -0.0245888121, -0.0018370394, 0.0031728463, -0.0347875468, -0.0268238336, -0.0234338474, 0.0508716814, 0.0434770882, 0.0174249262, -0.0010674022, 0.0352840982, 0.0031064248, -0.0472126044, -0.0055988003, -0.0144978985, -0.0000959101, -0.0106263123, -0.0229681432, 0.0060301353, 0.0264923647, -0.0084432513, 0.0305675212, -0.0500181243, 0.0244744327, 0.0015835798, -0.0013367042, -0.0264380667, -0.0099333525, -0.0505778901, 0.0625176057, -0.011016381, -0.0337318815, -0.0025683653, -0.0548664145, 0.0016648675, -0.0153419338, -0.0252654497, -0.0606711358, 0.0212152209, -0.007101832, 0.0275426731, -0.055230774, -0.0259100795, -0.0272718463, -0.008843313, -0.0082545886, -0.0461999215, 0.081576921, -0.037049111, 0.0351691581, -0.0565596521, -0.027917007, -0.0108658215, -0.001063233, -0.0648716539, 0.0243197586, 0.0090876315, 0.0064246827, -0.1092842817, 0.0779539645, 0.0263631195, 0.0668762922, -0.0158282891, 0.0065386966, -0.0189502034, 0.0516482852, 0.0367771536, 0.0337995142, 0.0490912534, -0.0352516659, 0.017151773, 0.0293155238, 0.08490289, -0.0203316081, -0.0013799921, -0.0488277301, 0.0304163788, -0.0243233498, -0.0099613899, -0.0103992363, 0.0577881001, -0.0368142612, 0.0213597715, 0.1019013152, -0.0072262152, -0.0419374034, -0.0230345074, 0.0026277814, 0.0541319549, -0.0035899598, 0.0182514228, -0.0689558238, -0.0233257711, 0.0251895338, 0.0441939794, 0.0034830614, -0.0052986103, -0.0402665623, -0.1147160456, 0.0361535251, 0.0233293623, -0.013189272, -0.0271530375, -0.0205095131, 0.0114104217, -0.0257030353, 0.0443706736, 0.0371640474, -0.0349009782, -0.0387593023, 0.0274379905, -0.0749913752, -0.0398462974, -0.0130021563, -0.0094748614, 0.0417736396, 0.016132025, 0.0241594482, 0.0124216201, 0.0055935532, 0.0374789089, -0.006485011, 0.0193649977, -0.0153036881, 0.0485942997, -0.0051964321, -0.0071817203, 0.0109726209, 0.0073833982, -0.0089784916, 0.0212464426, 0.0080549829, 0.015566959, -0.0028029799, 0.0011774136, -0.0158391763, 0.0461410061, -0.0486662909, 0.075012967, 0.0354384184, 0.0072381231, -0.0443670563, -0.0225536395, -0.021924248, -0.026505949, -0.0172205251, -0.0237505399, -0.0276992805, -0.0329360068, -0.0546941943, -0.0463085808, 0.0551356263, 0.0153456135, -0.0139355054, 0.008505363, -0.0311337542, 0.0392174423, -0.0350499004, -0.0148351351, -0.0649258941, -0.0126748523, -0.0940628275, 0.011103875, 0.0417141654, -0.0016863459, -0.0110325413, 0.0295854043, -0.1135374829, -0.0777354091, -0.0164153706, 0.0442726128, 0.0343246236, 0.0425831154, 0.0308039207, -0.0419449843, 0.0589085557, 0.0150313694, 0.0024981666, 0.0493358932, -0.0057200301, 0.0005465184, -0.0325288735, 0.0322515927, -0.0636424199, 0.0313935466, -0.0329676978, 0.0283067469, -0.0343755409, -0.084318772, -0.0357288234, 0.0657550022, -0.015200696, -0.0064996378, -0.0210424028, -0.0142454356, 0.0140155647, -0.0222146679, 0.0006446417, -0.037295036, 0.0031136582, -0.0481873639, -0.0048668687, -0.0006814927, 0.0206794795, -0.0108224368, 0.0163528323, -0.0348852761, 0.0084398258, -0.0405470505, -0.059381187, 0.0117753008, -0.0105722314, -0.0651611164, -0.0002809514, -0.0196060743, 0.0058877957, -0.0181421209, -0.011359971, 0.0137714632, -0.0016154968, -0.029626783, 0.0742563307, -0.0671432316, -0.0466102734, -0.0479121506, 0.0575674996, 0.0554075167, -0.0023657451, 0.0862885341, -0.0239313487, 0.018484816, -0.0615930073, 0.0119217765, 0.0154665532, -0.0086103352, -0.0068097897, 0.0234158896, 0.0032757598, 0.0389057957, 0.0930252522, -0.0186793059, 0.0025687502, 0.0212512929, -0.0016468671, -0.0454944707, -0.0090925246, -0.0176257435, 0.043722406, 0.0095655797, -0.0413947515, -0.0605837181, -0.0011481349, 0.0485767387, -0.0173846688, -0.0107012484, -0.0746518075, 0.0425862521, 0.0260078367, 0.0558837131, 0.0311378893, -0.0237096436, -0.0408946238, -0.0007355808, 0.0159009043, 0.0183914062, -6.5043673e-33, -0.0483125225, -0.0199456196, 0.0098170126, 0.0399222001, -0.0429005772, 0.0176123958, -0.0505371094, -0.0106990999, -0.0099628642, -0.0365811437, -0.038676627, 0.0087885791, 0.0338296518, 0.0197673514, -0.0147595946, 0.0194086228, 0.0665213615, -0.0155825587, -0.0270496272, 0.0471048951, 0.0322138146, 0.0177635718, 0.0092686368, -0.032762412, -0.0285300631, -0.0317671448, 0.0020501669, -0.0126008745, 0.0558631346, 0.0282146521, -0.0366226844, 0.0529782362, 0.0253175963, -0.0051724189, -0.0475840569, 0.0216997527, -0.0294482112, 0.0001262788, 0.0337983556, 0.0101885507, 0.0180587191, -0.0220008269, 0.0280628242, 0.009011629, -0.0194703266, -0.035459891, 0.0168823507, -0.0428456515, -0.0650564954, -0.0156941283, -0.0064511192, 0.0374897346, 0.0160271917, -0.0344017223, 0.0670309216, 0.0228628237, 0.0007468852, -0.0027799825, -0.0393840559, 0.0723882243, 0.0605444871, 0.0426008292, 0.0709915683, 0.0446820594, 0.0064080935, 0.0696512833, 0.0099251894, 0.0110299038, 0.0073052123, -0.0289471149, 0.0019144439, 0.0349307135, 0.0144919977, 0.0173020028, 0.0127254175, 0.0104815997, -0.0205873027, 0.0380968899, 0.0106575293, -0.0026760255, 0.058586888, 0.018696025, -0.0118623106, -0.0174899139, -0.0109150773, 0.0451260582, -0.0294198878, -0.0102815442, 0.0030259751, 0.0328353159, -0.0311682038, -0.0164332446, 0.052681081, -0.0247772001, 0.0083782142, 0.0200124104, -0.0092110429, 0.0212350171, -0.0176777784, -0.0129960207, -0.0673689023, -0.0033691181, 0.008701195, 0.0148026841, -0.017093692, 0.0003947401, -0.005443057, 0.0150378644, -0.0410755724, 0.0174349211, -0.0078484211, 0.0249215402, -0.0413475893, -0.0095828464, 0.0276579428, -0.035441488, 0.0014313693, 0.0543395467, -0.0266857948, -0.0303993374, 0.0131675666, -0.0119401533, 0.005563586, 0.0369189195, -0.0693181008, 0.042143777, -0.0489753224, 0.0281159561, 0.0735053644, -0.0063104224, -0.0298705082, -0.0172247682, 2.648e-7, 0.0264070369, 0.0482562445, 0.0586101972, 0.0153028285, 0.0069999588, 0.0232324675, -0.0075963857, 0.0183472149, 0.0283096768, 0.0334493145, 0.0315402336, 0.0215758719, 0.0653847978, 0.0158712752, -0.0757592618, 0.0225901138, -0.106279701, -0.0138840741, -0.0399067663, -0.0080964519, 0.0121491235, 0.1120699197, -0.0106551638, -0.0199724417, -0.0262841154, -0.0489329696, 0.0451439582, -0.0488171764, -0.0367734358, 0.0062119318, 0.0300248377, 0.0465191975, -0.0441936143, -0.0166794956, 0.0202504545, -0.0110643087, 0.0309821721, 0.0758037195, -0.0029088762, -0.0091826366, 0.0497264154, -0.0198944081, -0.0204362143, -0.0000858015, 0.0492926724, -0.042689357, 0.0015847198, -0.00238894, -0.0074159629, -0.0171759091, -0.046480231, 0.000282664, -0.0252314173, 0.0280259158, -0.0201744959, -0.0352033004, 0.0046775434, -0.0787133425, -0.013351813, 0.0350213498, -0.0266763046, -0.0716269463, -0.032538645, -0.0383866392, -0.0025539938, -0.0229996145, -0.018515775, 2.459415658e-34, 0.0530916192, -0.0110342931, -0.0396071486, 0.0552716888, -0.0015563286, -0.0233283155, 0.004141829, -0.0060210936, 0.0150330951, -0.1134790927, -0.0051506259 ]
http://arxiv.org/abs/2402.00838v4
http://arxiv.org/pdf/2402.00838v4
OLMo: Accelerating the Science of Language Models
2024-02-01T18:28:55
2024-06-07T21:59:52
Dirk Groeneveld, Iz Beltagy, Pete Walsh, Akshita Bhagia, Rodney Kinney, Oyvind Tafjord, Ananya Harsh Jha, Hamish Ivison, Ian Magnusson, Yizhong Wang, Shane Arora, David Atkinson, Russell Authur, Khyathi Raghavi Chandu, Arman Cohan, Jennifer Dumas, Yanai Elazar, Yuling Gu, Jack Hessel, Tushar Khot, William Merrill, Jacob Morrison, Niklas Muennighoff, Aakanksha Naik, Crystal Nam, Matthew E. Peters, Valentina Pyatkin, Abhilasha Ravichander, Dustin Schwenk, Saurabh Shah, Will Smith, Emma Strubell, Nishant Subramani, Mitchell Wortsman, Pradeep Dasigi, Nathan Lambert, Kyle Richardson, Luke Zettlemoyer, Jesse Dodge, Kyle Lo, Luca Soldaini, Noah A. Smith, Hannaneh Hajishirzi
cs.CL
cs.CL
Language models (LMs) have become ubiquitous in both NLP research and in commercial product offerings. As their commercial importance has surged, the most powerful models have become closed off, gated behind proprietary interfaces, with important details of their training data, architectures, and development undisclosed. Given the importance of these details in scientifically studying these models, including their biases and potential risks, we believe it is essential for the research community to have access to powerful, truly open LMs. To this end, we have built OLMo, a competitive, truly Open Language Model, to enable the scientific study of language models. Unlike most prior efforts that have only released model weights and inference code, we release OLMo alongside open training data and training and evaluation code. We hope this release will empower the open research community and inspire a new wave of innovation.
OLMo: Accelerating the Science of Language Models: Language models (LMs) have become ubiquitous in both NLP research and in commercial product offerings. As their commercial importance has surged, the most powerful models have become closed off, gated behind proprietary interfaces, with important details of their training data, architectures, and development undisclosed. Given the importance of these details in scientifically studying these models, including their biases and potential risks, we believe it is essential for the research community to have access to powerful, truly open LMs. To this end, we have built OLMo, a competitive, truly Open Language Model, to enable the scientific study of language models. Unlike most prior efforts that have only released model weights and inference code, we release OLMo alongside open training data and training and evaluation code. We hope this release will empower the open research community and inspire a new wave of innovation.
[ 0.0362867638, 0.105918698, -0.0129534611, 0.0552931391, -0.0228223354, -0.0065288497, 0.0054404368, 0.0170985777, -0.0138259353, -0.0379685611, -0.0576814227, -0.0289225969, 0.001408962, 0.0576569103, 0.0192445293, -0.0202745255, 0.0347661078, -0.0276184492, 0.0010852836, 0.0002001015, 0.0203756504, 0.0224962253, 0.0161427166, 0.0380040891, 0.0439382195, -0.0184789859, 0.0207128618, -0.0011127738, -0.0344034694, -0.027907582, 0.0150310341, 0.074209705, 0.0042267176, 0.0549657159, 0.0000018969, -0.0525051914, -0.01812464, -0.0016967532, -0.0398790538, 0.0296899136, 0.0719039813, -0.0318085477, 0.0077424301, 0.0173326638, -0.024725724, -0.0377316102, 0.076293759, 0.0098527446, 0.0291984063, 0.0687943548, -0.0014340752, -0.0272201765, 0.0306166485, -0.0528754592, -0.0277572572, -0.0042358669, 0.0321825519, -0.0171992444, -0.021436356, 0.0366941318, -0.0162084717, 0.0292847771, -0.0005617143, 0.0250292551, 0.0037191892, 0.0388742536, -0.030108707, -0.0517595746, -0.012761713, 0.0803925171, 0.0057313992, -0.0478004999, 0.00627671, 0.0066289306, -0.045755066, -0.0054330733, -0.063839294, 0.0734839737, 0.0421679057, 0.0514481366, 0.0405567735, -0.0000844561, 0.0470606387, 0.0318076685, 0.0066415886, 0.0784802139, 0.0383991636, -0.006857316, 0.003234216, -0.0203534495, -0.0256221667, -0.0557974353, -0.0121543268, -0.0035218569, 0.0262893215, 0.0247925669, -0.0271741748, -0.0264642332, 0.0481570177, -0.0548444614, 0.0745345429, 0.019205194, -0.0132130869, 0.0260973312, 0.001405976, 0.0181470122, -0.0184127484, 0.0195959043, -0.0138532137, -0.0057600439, -0.0258942451, -0.0167684238, -0.0063888193, 0.0189374853, -0.0551416837, -0.0325132385, -0.0234644599, 0.0042775534, 0.0036000537, -0.0297158193, 0.0366560109, 0.0147925233, -0.0147509044, -0.0099637117, -0.0361820087, 0.0170558803, -0.0029907636, 0.014399468, -0.0168590136, -0.0755530149, -0.0174731072, 0.030372927, -0.0175966583, -0.0264187604, 0.0050846385, 0.0677018538, 0.0460855514, -0.0326753147, -0.008616901, -0.0071958718, -0.0234835111, -0.0632959828, -0.0083892802, -0.078123346, 0.0179171078, 0.018465694, 0.0232174825, -0.0567372255, 0.0205974691, 0.0188286174, -0.0570156686, 0.0655861944, -0.0620644949, -0.0169371944, -0.0122814337, -0.0077704052, 0.0473242439, 0.0574845374, 0.0113825956, -0.0314606242, 0.0654137656, 0.0042841495, -0.0011452779, 0.0643365383, 0.009419376, -0.0147588039, -0.019518923, 0.0282636061, 0.0391045846, 0.0361653976, 0.0317706838, 0.0655710697, -0.0147249978, -0.0376473255, 0.0755773336, 0.0507767312, 0.0280467439, 0.022179123, 0.0128702531, -0.0071349042, 0.000866349, -0.0420870259, -0.0314571895, -0.0080332113, -0.0298165642, 0.0091453465, 0.0288484227, 0.0407284684, -0.0188167114, -0.0205595754, -0.064552635, -0.0312905684, -0.0040797056, -0.0219859872, 0.0582868345, 0.0025987278, 0.016759932, 0.0683100522, 0.0774586573, -0.0450343452, 0.0103393011, -0.0574986525, 0.047650557, 0.0244659074, 0.0621866696, -0.0016061811, 0.0166136678, -0.0147051048, -0.0034867397, 0.0695086047, 0.0640145466, -0.0080719339, 0.0244992729, -0.0373415574, 0.0067787259, -0.0189093444, 0.0408910997, 0.0028556834, 0.0456186049, -0.0153875286, 0.0150456773, -0.0324465446, -0.0524076559, 0.0551057272, -0.0550006367, -0.0221902374, -0.0068561677, -0.0459402166, 0.0302048922, 0.0105618872, -0.0020157353, 0.0274874698, 0.0385248736, -0.0281792879, -0.004320947, -0.0022016955, 0.0048451093, -0.0194057412, 0.0456479415, -0.0129860668, 0.0336254612, 0.047327131, -0.0248756949, -0.0226801354, 0.0515261255, 0.0122967716, 0.0608382337, -0.0699031428, 0.0211834032, -0.0139885107, 0.0306230746, -0.0165305827, 0.0580336936, -0.0213872306, 0.0503329933, 0.0260382742, -0.0212867558, 0.0196162965, -0.0411442891, -0.0330500938, 0.0094765676, -0.0149453422, 0.0102314912, 0.0044056699, -0.005654953, -0.0335587263, -0.0174354631, -0.0768203214, 0.0326310955, -0.0207384862, 0.0181031879, 0.0252208784, 0.0120298825, -0.0131174214, 0.0080419611, 0.0034155573, -0.0173638519, 0.0105719091, 0.0089756809, 0.0378815942, -0.0143384477, -0.0172658227, -0.0606169924, -0.0508442707, -0.0092934035, 0.0590024889, -0.0274243709, 0.016075816, -0.0276152492, 0.0048820893, -0.0455991402, 0.0566605926, -0.0120832929, -0.0148145249, 0.0081879105, -0.0383467153, 0.0219225753, 0.0461446345, -0.0061454456, 0.0274981186, 0.063779287, -0.0108163236, -0.0320262052, -0.0268696267, -0.0337008201, -0.023545118, -0.0237375479, -0.0243287627, -0.0027767103, 0.0973172337, -0.0080517363, -0.0266231392, -0.0203020182, 0.0026233857, -0.0277888235, -0.0074272188, -0.000914422, 0.0093082963, -0.0325327478, 0.035878595, -0.0433314592, -0.0743656531, 0.0469780192, -0.0665842667, 0.008312895, -0.0324148312, -0.0068379249, -0.0735322759, 0.0626690611, -0.0032166762, 0.0058781505, 0.0401897579, 0.0004094124, 0.0000922545, 0.0181015283, 0.0023094516, -0.0417690948, 0.0162714664, -0.0507548973, 0.0193043146, 0.0050415606, -0.0248978604, 0.000063188, -0.0325899422, -0.0466232449, 0.0318931043, 0.0159068443, -0.0169174653, -0.0381675437, 0.0187958553, -0.0039968756, 0.0301107354, -0.0176932532, 0.0230099224, -0.0191026591, 0.0238815844, 0.0782113373, -0.0095471973, 0.0152113494, -0.0626315773, -0.0109862555, 0.0417664945, 0.0426221229, 0.038050618, -0.037204776, 0.0047694026, 0.0509534217, -0.0257200897, -0.0330896229, -0.0008588443, 0.0222726241, -0.0259281155, -0.0092549538, 0.1276543885, 0.0219028089, -0.0596260466, 0.0077963718, -0.0140901618, 0.045436278, 0.0310709085, 0.0037519862, -0.0783985406, -0.0459344313, 0.0055575506, 0.0148650827, 0.0031735601, -0.0194435939, -0.0150072044, -0.1059533879, -0.0047111325, -0.004662191, -0.0346756168, -0.0062794746, -0.0574279763, -0.0014105787, -0.063979283, 0.0146124782, 0.01579028, -0.0213712305, 0.0165598076, 0.0141881173, -0.0213519465, -0.0525551848, 0.0314375833, -0.064629823, 0.0669117495, 0.0637016371, -0.0057349564, -0.0084153963, -0.0387392975, 0.0383688584, -0.0133400913, -0.0173557922, -0.0474699475, 0.047029011, -0.0261017885, -0.0065764459, -0.0337017961, 0.0374632776, -0.0529870987, -0.0063365097, -0.0334612168, 0.0700860545, 0.0341701284, -0.0240363348, -0.0249487069, -0.0165967923, -0.0176413525, 0.0801798105, 0.0064105638, -0.0436414704, -0.0278614704, -0.0199370552, 0.0018085187, 0.0005785821, -0.0349780433, 0.0106090177, 0.0229585133, -0.0471514687, -0.040862821, -0.0054574073, 0.017094627, -0.0029324652, 0.0183648374, 0.0086917067, -0.0308772363, -0.0340245292, -0.043537464, 0.0581475385, -0.0490020402, 0.0193598606, -0.0613628589, 0.0043658977, 0.0592394844, 0.0003489318, -0.0209951308, 0.029409498, -0.0925985575, -0.0839945003, -0.0090306932, 0.0607803687, 0.0320506319, -0.0045127319, 0.0004218328, -0.0751992688, 0.0115426704, -0.0028899538, -0.0256097391, 0.0282778852, 0.0168650914, -0.0271622613, 0.0335319564, 0.0448689833, -0.0208603721, -0.0033351011, 0.0164940543, 0.0406125896, -0.0066484823, -0.042466931, 0.0251448266, -0.0189912822, 0.0617352314, -0.0024658462, -0.0203596614, -0.0637977123, -0.000465943, -0.0175369196, -0.0079754889, -0.0566275306, 0.0127103571, 0.0545022637, 0.0220656674, -0.0126640964, 0.0172179826, -0.0272869579, 0.064406015, -0.0525824651, 0.0232224073, 0.037776161, -0.0040678354, -0.0025953962, 0.0020817737, -0.025837943, 0.0284247939, -0.0768195316, 0.0310459416, -0.0348667093, 0.0275004748, -0.0037012098, 0.0032102535, 0.0200201347, 0.0237727482, -0.0497532226, -0.0052436125, -0.027108904, 0.0323589891, 0.0344958231, 0.0047822325, 0.075893268, -0.0217577741, -0.0104495175, -0.030530069, 0.0404725894, -0.0083241565, -0.0473840013, 0.0491884947, 0.0157126803, -0.0325881243, -0.0103708804, 0.0950509757, 0.051517237, 0.0263436846, -0.020823678, 0.0052462374, -0.0148368794, 0.0042196969, 0.0402137041, 0.0318069458, -0.0446880683, 0.0163237117, -0.0391093381, -0.067312941, -0.0004162992, 0.0214926116, 0.010806853, -0.010038876, 0.0185980834, 0.078840524, 0.013146258, -0.0469946004, -0.0488416851, -0.022356905, -0.0233370177, -0.0238108747, -0.0173451938, -6.706835181e-33, -0.018379651, 0.0119759161, -0.0090893004, -0.0110368794, -0.0325256437, 0.0076217838, -0.0185395479, 0.0385939069, -0.0451144837, -0.0290595554, 0.0019045925, 0.0295864493, -0.0031268117, 0.0427101739, 0.0199197084, 0.0238411482, 0.0199017748, -0.0376095548, -0.0077439616, -0.0149851469, 0.0239142962, 0.0338152088, 0.0476977304, -0.0152849844, 0.0652718022, -0.0362147763, -0.0134349838, 0.0325795561, -0.0114546893, 0.0641066879, -0.050108321, 0.0241651535, 0.0287859049, -0.0323883146, -0.008260794, -0.0180195123, -0.0684889778, 0.0093528451, 0.03800584, -0.0215503313, -0.0275706481, -0.0084754545, 0.0335086882, -0.0161398984, -0.007426051, -0.0231165886, 0.0177830365, -0.0227834545, -0.0309701469, 0.0345600508, -0.0352764465, 0.0330301784, 0.0178110264, 0.0091529638, 0.0316071957, -0.0073920768, -0.0206964016, 0.0226104856, -0.0186439231, 0.0167927723, 0.0315102674, 0.0566668734, 0.0571055412, 0.0505042113, 0.0175623242, 0.0535898022, 0.0060715619, -0.0342108682, -0.0325059406, 0.0150136054, 0.0516259931, 0.0612599961, 0.0536791347, 0.0140142217, 0.01789915, 0.0000993985, -0.0685757697, -0.019776497, 0.0369168967, 0.0200069677, 0.029108569, 0.0160752386, -0.0091790222, -0.027856607, -0.0515907221, -0.079565376, -0.040547356, -0.0137491729, 0.017018646, 0.0262705144, -0.0209719855, -0.0140371062, 0.0209663771, -0.0631933659, -0.0169474669, -0.0056349155, 0.0266301874, 0.0204812344, -0.0056621111, 0.0303630661, -0.1055314243, -0.0363458879, -0.0172469839, -0.0223308485, -0.0028727567, 0.0047853165, 0.0066967988, 0.0063987621, -0.0507160164, 0.0017136693, -0.0374502167, -0.0003891453, 0.0054609394, 0.0555681363, 0.0249781683, 0.0003663616, -0.0006614993, 0.0468020216, 0.0392312109, 0.0335128047, -0.0521084927, -0.0078331754, 0.0050368658, 0.014785097, -0.0218209419, 0.0017496352, -0.0317674316, 0.0132175302, 0.0265327264, -0.0298771095, -0.0133809261, 0.0083413664, 2.503e-7, 0.073156625, 0.0193859152, 0.0063534472, 0.0417120084, 0.0205051601, 0.0144317942, -0.0264567249, 0.0544075333, 0.0048024929, -0.0162373967, -0.0404197127, 0.0175404102, 0.0665570647, -0.0093202377, -0.0738014653, -0.0105581321, -0.0619828999, -0.003462187, -0.0528963394, -0.0314083658, 0.0008918633, 0.1281647086, 0.0110765034, 0.0057063033, -0.0309759211, -0.036610052, 0.0872514695, -0.047859624, -0.0040649264, 0.0307099707, 0.0154057853, 0.0384732224, -0.0154378619, -0.0310251676, -0.014520674, 0.0392539985, -0.0056864326, 0.0646379888, 0.0043455814, -0.0503100492, 0.0458716229, -0.0422255769, -0.0373422652, -0.0681260601, 0.0902065337, -0.0181332082, -0.0413790494, -0.0475614481, 0.0056435103, 0.0045796107, 0.0127452603, -0.0547468662, -0.0153316706, 0.0027938776, 0.013215105, -0.0321225375, -0.0295974091, -0.0651678368, -0.0646881312, -0.0508959666, -0.0364099108, -0.0495038554, -0.0132370787, -0.0152943404, -0.0022084927, -0.0336811505, 0.0137841199, 2.608489923e-34, 0.0584463887, -0.0112635009, -0.0158047806, 0.0394023508, 0.0296027176, -0.0364489108, 0.0337164737, 0.0163774583, -0.0147486562, -0.1251100153, -0.0143562434 ]
http://arxiv.org/abs/2402.00835v1
http://arxiv.org/pdf/2402.00835v1
ALISON: Fast and Effective Stylometric Authorship Obfuscation
2024-02-01T18:22:32
2024-02-01T18:22:32
Eric Xing, Saranya Venkatraman, Thai Le, Dongwon Lee
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.2.0
Authorship Attribution (AA) and Authorship Obfuscation (AO) are two competing tasks of increasing importance in privacy research. Modern AA leverages an author's consistent writing style to match a text to its author using an AA classifier. AO is the corresponding adversarial task, aiming to modify a text in such a way that its semantics are preserved, yet an AA model cannot correctly infer its authorship. To address privacy concerns raised by state-of-the-art (SOTA) AA methods, new AO methods have been proposed but remain largely impractical to use due to their prohibitively slow training and obfuscation speed, often taking hours. To this challenge, we propose a practical AO method, ALISON, that (1) dramatically reduces training/obfuscation time, demonstrating more than 10x faster obfuscation than SOTA AO methods, (2) achieves better obfuscation success through attacking three transformer-based AA methods on two benchmark datasets, typically performing 15% better than competing methods, (3) does not require direct signals from a target AA classifier during obfuscation, and (4) utilizes unique stylometric features, allowing sound model interpretation for explainable obfuscation. We also demonstrate that ALISON can effectively prevent four SOTA AA methods from accurately determining the authorship of ChatGPT-generated texts, all while minimally changing the original text semantics. To ensure the reproducibility of our findings, our code and data are available at: https://github.com/EricX003/ALISON.
ALISON: Fast and Effective Stylometric Authorship Obfuscation: Authorship Attribution (AA) and Authorship Obfuscation (AO) are two competing tasks of increasing importance in privacy research. Modern AA leverages an author's consistent writing style to match a text to its author using an AA classifier. AO is the corresponding adversarial task, aiming to modify a text in such a way that its semantics are preserved, yet an AA model cannot correctly infer its authorship. To address privacy concerns raised by state-of-the-art (SOTA) AA methods, new AO methods have been proposed but remain largely impractical to use due to their prohibitively slow training and obfuscation speed, often taking hours. To this challenge, we propose a practical AO method, ALISON, that (1) dramatically reduces training/obfuscation time, demonstrating more than 10x faster obfuscation than SOTA AO methods, (2) achieves better obfuscation success through attacking three transformer-based AA methods on two benchmark datasets, typically performing 15% better than competing methods, (3) does not require direct signals from a target AA classifier during obfuscation, and (4) utilizes unique stylometric features, allowing sound model interpretation for explainable obfuscation. We also demonstrate that ALISON can effectively prevent four SOTA AA methods from accurately determining the authorship of ChatGPT-generated texts, all while minimally changing the original text semantics. To ensure the reproducibility of our findings, our code and data are available at: https://github.com/EricX003/ALISON.
[ 0.0106004095, 0.1068911776, -0.0321827866, 0.0633746237, -0.068033278, -0.0002673095, 0.0890969709, 0.0059057046, -0.000261078, 0.0287859514, -0.0207476299, -0.0249851905, 0.0430014133, 0.0230260808, 0.0217398778, 0.0591879562, -0.035121534, 0.0413170531, 0.0113014821, -0.006679853, -0.0195582267, 0.0214523301, 0.0267890934, 0.0313385278, 0.0339593813, -0.0436090343, 0.0191319417, -0.0033505708, 0.0359416157, 0.0323518887, 0.0056269434, 0.0401070043, -0.0218126979, 0.1121439561, 0.0000019416, -0.0239089299, -0.0262721125, 0.0558774024, -0.018263761, 0.0086228279, 0.069678694, 0.0136172147, -0.0133657586, 0.0156427808, -0.024010526, 0.0202863943, 0.0239577014, 0.0431634746, 0.0390173271, 0.0993603915, -0.0257085562, -0.0592808314, 0.0296171252, -0.0340806246, 0.015377556, -0.0084914481, 0.0083906464, -0.0805582553, -0.0413309187, 0.044661209, -0.0007415784, 0.0777708441, 0.0040125116, -0.006727322, -0.0259813089, 0.0172567423, 0.0052754432, 0.022683518, 0.042565573, 0.0070124995, -0.0028681753, -0.0458154269, 0.0335731134, 0.0403754301, 0.0143870367, 0.0442433804, 0.014882734, 0.0334827602, -0.053540796, -0.0364854708, -0.0223976821, 0.0044214115, 0.0298511889, 0.0084571103, 0.0237292424, -0.0011604256, 0.0057164202, -0.0039734798, -0.0553132258, -0.0500072986, -0.0207009241, -0.0542284921, 0.0742888972, -0.0133863203, 0.0598117188, -0.0072851316, -0.0582069084, -0.0773271173, 0.0024118572, -0.0274557881, 0.0171406344, -0.011183653, 0.0078736022, 0.0304569565, -0.032278236, 0.057088051, -0.0321031697, 0.0276890993, -0.0033650291, -0.0053716358, -0.0286187027, -0.0334285982, -0.038156718, 0.0030949789, -0.0188971385, 0.0023754535, -0.0316037238, 0.0030282254, 0.0156664029, 0.0092145596, -0.0415378734, 0.0103171254, -0.0535043478, 0.0119557669, 0.0526909828, -0.0227899347, 0.0127470549, -0.0059135864, -0.0047810455, 0.0062421248, -0.0216736402, 0.0189331565, 0.0139630958, -0.0138149913, 0.0242559426, 0.0493347421, -0.0036064724, -0.0110592982, 0.0210151635, -0.0359921642, -0.028092999, -0.0223382823, -0.0303972531, -0.0065158959, -0.0070445379, 0.0010156117, -0.0192043148, -0.0966187939, -0.0303130541, 0.0203058124, -0.0402259789, 0.0667288378, 0.0217792224, -0.0357816778, 0.0546669438, 0.0274798144, 0.0055495496, -0.0279470459, 0.0551628843, 0.091032207, 0.0370237306, -0.0236960948, 0.0487097874, 0.0035279642, 0.0458525829, 0.0076457243, 0.0413790867, -0.0106488606, -0.0053117694, -0.0216833651, 0.0032871244, 0.0175217185, 0.0152758611, -0.0823354721, 0.0554919839, 0.0161398165, -0.0023736665, 0.0671308935, -0.0125655429, 0.0318388939, -0.0012897042, -0.0227997694, -0.0189909283, 0.0101927612, -0.098516129, -0.0401569642, -0.0527338423, 0.0243007243, -0.0042714393, -0.007899221, 0.0253923405, -0.0207099672, 0.041546423, 0.0161375217, 0.0076560513, 0.0395010896, -0.0373980924, -0.0242265407, -0.0207694788, -0.0515688844, -0.0255983062, -0.059321858, 0.0030320466, 0.0139043014, 0.0775873736, -0.0293801986, 0.0214927513, -0.0594082512, -0.0000604529, 0.0054474343, -0.0251283348, 0.0181568824, 0.0683315322, -0.0430616438, -0.0255209971, -0.0434084982, -0.0056744823, 0.0746378824, 0.0338288732, 0.0029638079, 0.0383239314, -0.0345360003, 0.0041235392, 0.0196584798, -0.0264826026, -0.0571825616, 0.0516652241, 0.0092038121, 0.0315956771, -0.0044103041, -0.0165298134, 0.0077467985, -0.0042787283, -0.0379288457, -0.0311476942, -0.0021658046, 0.0233841147, -0.0331874713, -0.0063444981, -0.0082367612, -0.0082138311, 0.0372196659, -0.0277741756, -0.0095102862, 0.012882269, 0.0019776148, 0.0076076351, -0.0241889022, 0.0064078569, -0.0120176729, 0.0559615865, -0.0445657521, 0.0355846249, 0.0072484184, 0.0124006355, -0.0582578555, -0.0299301986, 0.0432220288, -0.0036981571, -0.0100525189, -0.0353156514, -0.0434511714, 0.0124161262, 0.0182549506, 0.0060294885, 0.0302165039, -0.0869685635, -0.0141905686, 0.0065038418, -0.0023006245, 0.0246183369, -0.0089032827, -0.0030417547, 0.0012826165, -0.0099992193, -0.0439812243, -0.0559842177, -0.0687458441, -0.0044561969, 0.0347220302, 0.0135859232, -0.0426363051, 0.0099684736, -0.0031329687, -0.0137876561, 0.0237229988, 0.0248698015, -0.0164901447, -0.0298962723, 0.0203125626, -0.0079120519, -0.0032275401, -0.0427914299, -0.0274238195, -0.0091136461, 0.0211842842, -0.0241924431, 0.059699554, 0.0115694804, 0.0211153161, -0.0165986642, 0.0231020153, 0.0138227651, 0.0079543684, -0.015172217, 0.0263347477, -0.0082005402, -0.0567224473, 0.0333484001, -0.006197344, 0.0177766904, -0.0383099541, -0.0409539081, 0.015454405, 0.0278791655, -0.0302954186, 0.0211563725, -0.0180781316, 0.0301723611, -0.0403372906, -0.0491680689, -0.0308624282, 0.0494372584, -0.0626377463, -0.0101530114, -0.0242352895, -0.011099983, -0.0303623695, 0.072510384, 0.017491959, 0.0412487425, 0.0631103814, -0.0339180641, -0.0050354721, 0.0304287504, 0.0821328536, 0.0015605439, -0.0231764428, 0.023597246, -0.0065699723, 0.0298358686, -0.0376126468, -0.0121088456, -0.1183990315, 0.0238854084, -0.0146302702, 0.0090221521, -0.072280243, -0.0510675758, -0.053181082, 0.0515643172, 0.0170717929, -0.0163547583, -0.0157415476, -0.0201000236, 0.0211057253, -0.0207714401, -0.0504206531, -0.0286723152, -0.0116028516, -0.0180678666, 0.0510046966, 0.0035867733, 0.0129359495, 0.0326397642, -0.0397096686, -0.007232361, -0.0140464893, -0.0687106997, 0.0044388985, 0.0416500047, -0.0393779576, -0.002999106, 0.1028324738, 0.0014692602, -0.0072485614, -0.0201144125, 0.0228065886, 0.023181852, -0.0154378545, 0.0012381551, -0.0946442187, -0.0037839056, 0.0061762389, 0.0356448181, -0.0266950652, -0.020282425, -0.040450532, -0.0365720578, 0.0077542397, 0.0016119912, -0.0640715361, 0.0140471663, -0.0333706662, -0.0558558442, -0.0103525342, -0.0406802706, -0.0440355353, 0.0162683222, -0.0141875809, -0.0392516069, 0.0035937072, 0.0384934582, 0.0052018072, -0.0206199531, -0.0022040003, 0.0609211214, 0.0838569403, -0.0269980654, -0.0284057781, -0.029169742, 0.0253746435, -0.0223866459, -0.0135639729, 0.0957463086, -0.0071045444, 0.0042462726, -0.0226473603, 0.0883293897, -0.0036742445, -0.0141148176, 0.0251042657, -0.0108342804, -0.0061019626, -0.0333318301, 0.0338170566, -0.0230778195, 0.0243854728, 0.0519119911, -0.029939279, -0.0318139829, -0.0532218888, -0.0397205465, 0.0426905639, -0.0137364184, -0.0106614465, 0.0084007811, -0.002770687, -0.094670862, -0.0312361382, 0.0193312224, -0.0330576263, -0.0117486669, 0.03075606, 0.0279647671, -0.002051305, -0.0157088228, -0.0572440065, -0.0268461667, -0.048359111, 0.0577067807, -0.0015891955, 0.0102088563, -0.0028530057, -0.0140629886, 0.008079771, 0.0285883043, -0.0641651824, -0.037037883, 0.0383259766, -0.0181141086, 0.0082710432, 0.0536287278, -0.062589176, -0.0801756755, 0.0309894402, 0.052140031, -0.0173497181, 0.0166339539, 0.0588722043, -0.0479378812, -0.0127156479, 0.0191376489, 0.004562004, 0.0218463801, 0.0721519962, -0.0787709504, -0.0414385088, 0.0171013065, -0.0080584036, 0.0364788957, 0.0355391242, -0.0338488594, 0.018582575, 0.0048644012, 0.0030626578, -0.0137865106, 0.0114765894, -0.0082026673, -0.0198014583, 0.0431464054, -0.0039194007, 0.0113812443, 0.0417619571, 0.0214612205, 0.024720883, -0.0276723001, 0.0468676761, -0.018031178, 0.0707090124, -0.0052348864, 0.0205952246, 0.0158341937, 0.0420403443, 0.0417453721, 0.0570475832, -0.0109361168, 0.0096107712, 0.0257986449, 0.0366668068, -0.0269401502, 0.0562365688, -0.0807250887, 0.0131827444, -0.0434597805, 0.0578945763, -0.0265353341, 0.0101970285, 0.0178738739, -0.0303803906, 0.0050219013, -0.0127197495, 0.051064603, -0.0016184382, -0.0138244601, -0.0468002707, -0.0270123761, -0.0307337437, 0.0229902044, 0.07502345, 0.0421217941, 0.026806958, 0.0283181947, -0.0608785003, -0.0435060225, -0.0459821746, 0.0222396385, 0.0094913431, 0.0305390321, -0.0044491715, -0.0444049649, -0.0313476883, 0.0461301096, -0.0149705103, 0.0376414359, -0.0145173706, -0.0279755853, 0.0432007425, -0.0159887522, -0.0317385308, -0.0675891787, 0.0354337022, 0.0264054537, -0.0620828234, 0.0425611325, -4.979405458e-33, 0.0289269742, -0.018138323, -0.028025873, 0.0375018828, 0.0262739845, 0.0212742444, -0.0038692032, -0.0354190096, -0.0179840978, -0.011170391, -0.0415098257, 0.0169319324, -0.0158239007, 0.0321897827, -0.0287613776, 0.0089394599, 0.0501779951, 0.0309337974, -0.0325900689, 0.044530075, 0.0609934293, -0.0017915751, 0.0353791825, -0.0822958201, 0.0449375659, -0.0361506864, -0.0785523281, -0.0208260436, -0.05574302, 0.0259563513, -0.0014408532, -0.004721167, 0.0058863424, 0.0041358373, -0.0023629421, 0.0205578785, -0.0813214853, -0.017416073, -0.0088201156, 0.0186996255, 0.0309763011, -0.0668108165, 0.0543378741, -0.0379352272, 0.0101823779, -0.0249787383, 0.0343039967, 0.0052625723, -0.0184609126, -0.0573634654, -0.031415008, 0.0163467918, -0.0387653746, -0.0239787456, 0.040152289, -0.0012406053, 0.009104399, -0.027325131, -0.0690944344, -0.0234901011, -0.0089237764, -0.0236409716, -0.0108517297, 0.0305407923, 0.0296619684, -0.0073611103, 0.0330342986, 0.0298312381, -0.0228363518, 0.0326416418, 0.035354197, 0.0341564864, 0.0754257962, 0.0804222003, 0.0370579213, -0.0593471006, -0.052877415, 0.0254732892, 0.0036432366, -0.0304718651, 0.0324144214, 0.0131140091, -0.0818032026, -0.0320220105, -0.0330825187, -0.0553497933, -0.0086068902, 0.0118139097, -0.0180498622, -0.0229823887, -0.0453829691, 0.0080822203, 0.0009513422, -0.066523537, -0.0178331528, 0.0212894492, -0.0183530767, 0.0492429845, 0.004897912, 0.0133682387, -0.008277717, -0.0091045517, 0.0313869938, 0.0015248735, 0.0244770218, -0.01634451, 0.1222281009, 0.0179354828, -0.0720966831, -0.0317850895, 0.0052441712, 0.0636499003, 0.0524621271, 0.0067112697, -0.0025920777, 0.0182420053, 0.0109613854, -0.0154685387, 0.0243553016, 0.0177210011, -0.0459463187, 0.0376178324, 0.0132152159, -0.0259909052, 0.0037981493, -0.0281639379, 0.0502773076, -0.0378330648, 0.0485585555, -0.042949561, -0.0067829723, -0.0359958448, 2.596e-7, 0.0653103217, -0.0094405338, 0.0342514403, -0.0165880248, 0.0145278564, 0.0610742532, 0.0480561666, 0.0426120982, -0.0238356069, 0.0163349081, -0.0019607837, -0.0001269248, 0.0839018524, 0.0082492549, -0.0581681915, 0.0055281366, -0.0033044405, 0.0015374834, -0.0547339842, 0.0298730917, 0.0118325306, 0.0487435535, 0.0664475709, -0.038299188, -0.0167675819, -0.053785488, 0.0510547273, -0.0134380041, 0.0191807225, 0.0354679748, 0.0083511192, -0.0048242393, 0.0328612477, -0.0326253325, -0.0271699652, -0.0054442445, -0.0351511315, 0.080755949, -0.0019623474, 0.0063329046, 0.0105119599, -0.0402703546, -0.008286343, -0.0320423208, 0.0366805643, 0.0457185991, -0.049926769, 0.0033790495, 0.0143530583, -0.0244573727, 0.0309617575, 0.0090410309, -0.0245139822, 0.0182519387, 0.0216310993, -0.0365666971, -0.0031914879, -0.065421164, -0.0277493577, -0.020318795, -0.0352880917, 0.0323058255, 0.0114813615, 0.0079426914, 0.0659819245, -0.0523146763, 0.0432345346, 2.729922392e-34, -0.0011320146, 0.0008978978, -0.0269841626, 0.0099602053, 0.0447222367, -0.0017194713, 0.0652450621, 0.0276405644, 0.002942302, -0.0466781892, -0.0018194666 ]
http://arxiv.org/abs/2402.01778v1
http://arxiv.org/pdf/2402.01778v1
Introduction to speech recognition
2024-02-01T17:54:15
2024-02-01T17:54:15
Gabriel Dauphin
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
This document contains lectures and practical experimentations using Matlab and implementing a system which is actually correctly classifying three words (one, two and three) with the help of a very small database. To achieve this performance, it uses speech modeling specificities, powerful computer algorithms (dynamic time warping and Dijktra's algorithm) and machine learning (nearest neighbor). This document introduces also some machine learning evaluation metrics.
Introduction to speech recognition: This document contains lectures and practical experimentations using Matlab and implementing a system which is actually correctly classifying three words (one, two and three) with the help of a very small database. To achieve this performance, it uses speech modeling specificities, powerful computer algorithms (dynamic time warping and Dijktra's algorithm) and machine learning (nearest neighbor). This document introduces also some machine learning evaluation metrics.
[ 0.0292417184, -0.0229308121, 0.0035267384, 0.0085104806, -0.0453116186, 0.0208095983, 0.0236227643, 0.0136552732, -0.0065445988, -0.0543685891, -0.0124469567, 0.0237116236, 0.0914454237, 0.0049860203, 0.0002267579, -0.0840996951, 0.0568361245, -0.0269914027, 0.0305753592, -0.0094281277, 0.01662568, 0.0162720587, -0.0520660207, 0.0595768988, -0.0360814445, 0.0439229496, -0.0178873353, -0.0493860953, 0.000334782, -0.0219946783, -0.0116057405, 0.0229285602, 0.0044462578, 0.0134395817, 0.0000017283, -0.0463621616, 0.0051092166, -0.029686654, -0.0175229162, -0.0482703112, 0.0275409874, 0.0207194444, 0.0028686803, 0.0299542006, -0.0484036021, -0.0180229582, 0.0580838025, 0.0136931026, 0.0355953872, 0.0859728307, -0.0110542048, -0.0466401353, -0.0176959857, 0.0264594611, 0.0112083117, -0.0162773803, -0.0025353138, 0.0154445414, 0.0282060113, -0.0534158014, 0.0089633726, 0.023058746, -0.0687263012, 0.0148193985, 0.0506813973, 0.0181417242, -0.0502550043, -0.0571375154, -0.0442521609, 0.0524165444, -0.0183944553, -0.0363078713, 0.0180463139, 0.0035980539, -0.0410667993, -0.0193541218, 0.0174302626, -0.0625778139, -0.0147068454, -0.0276866686, 0.0213721115, 0.0517046899, -0.0055630794, 0.0158142559, -0.0097112199, 0.0190708954, -0.0125758443, -0.0234643016, 0.0018585031, -0.056747999, 0.0551281609, -0.0221480411, 0.0515740663, 0.0272382107, 0.0255883988, -0.0187428854, -0.0101829488, -0.0529749282, 0.0102929939, -0.0948385373, -0.0026609944, -0.0024117678, -0.0113595733, 0.0375274532, -0.0189450663, 0.0419298597, 0.0176272076, -0.0198414735, -0.03406699, 0.0227974206, -0.0425468013, 0.0327017419, -0.0342604853, 0.0322104804, 0.0208510421, -0.0173664223, -0.0792777464, -0.0156026985, 0.0193328578, -0.0093091289, 0.0390336625, 0.00864184, 0.0072253323, 0.0054139434, 0.0021031022, -0.0200518258, -0.0067938105, 0.044830393, -0.0485884584, -0.0847712681, 0.032046508, 0.0171106141, 0.0199861266, 0.0170796849, 0.0350403003, 0.0752868727, -0.0044445796, -0.0330444947, -0.0350016952, 0.0141879814, -0.0151393069, -0.0402182154, -0.0540676564, -0.0589775071, -0.0068538012, 0.0027816598, 0.0129211703, 0.026077766, 0.0081669437, -0.0300267637, 0.0186063051, 0.0702485293, 0.020333875, 0.0232009422, 0.0926268771, -0.0100693805, 0.0518516079, 0.0005437302, 0.0732899606, -0.0298784487, 0.0105425557, -0.0491045862, 0.0099437181, 0.0280048363, -0.0487046577, -0.0712535381, -0.0322078653, -0.004544965, -0.0025782802, 0.0139977811, -0.0025724731, 0.0391252786, 0.0047611985, 0.0298838727, 0.0369773582, 0.0872190446, 0.0343721882, 0.0072404132, 0.0179484431, 0.0135211032, -0.0081104646, -0.0750290379, 0.0221121851, 0.0040459279, -0.0084137963, -0.0057592462, 0.0180434473, 0.0504306145, -0.0188551415, -0.0203714781, 0.0067028068, -0.0494497977, 0.0007018973, -0.0218280926, 0.0661777407, -0.0334798023, -0.0384019576, 0.0054178983, -0.0037667744, 0.0128678568, -0.019763872, -0.0411362797, 0.038190823, 0.0259115379, 0.0025644049, -0.0219119042, 0.0164595339, -0.0278179944, -0.0060415608, -0.0233038496, 0.0402536653, -0.0060205893, 0.0063051707, -0.0702335164, -0.0003972254, 0.1206737012, -0.0049423249, 0.0504447967, -0.0298750699, 0.0452600494, 0.0415078402, 0.0075854468, 0.0336741917, -0.0152801182, 0.0536085069, -0.0278949365, 0.0072753956, 0.0383233838, 0.090272896, 0.0417360403, 0.0084570125, 0.0053315093, 0.0164539851, 0.0024814932, 0.0527211279, 0.0385489799, 0.0048257541, -0.0194120593, 0.0498343371, -0.0010110479, 0.0094202226, 0.0375132449, 0.0155109512, -0.0932243913, 0.0438775308, -0.0474661477, 0.0353470594, -0.0380817875, 0.0645243526, -0.0181473494, 0.0358701646, -0.0077791261, 0.0187487882, 0.005992197, 0.017965015, -0.0264975093, -0.0339691006, 0.0294351839, -0.0483814664, -0.0205334499, 0.0315798037, -0.0458650328, -0.0098139448, -0.0347564891, -0.0016270566, -0.0252240282, 0.0051455358, -0.0070370729, -0.0414145328, 0.0212900229, 0.0255640801, -0.0559430122, -0.0074964748, -0.0095355399, -0.0628189519, -0.0103489337, 0.0269904472, 0.020910304, -0.0666811094, -0.0094033834, -0.0197456945, -0.0801900625, -0.014608915, 0.0048968298, -0.0196913127, -0.0005650726, 0.0232344251, -0.1039176285, 0.0017951264, -0.0536155403, -0.01362128, 0.0251452383, 0.0404544771, -0.0279666763, -0.0125114564, 0.0068925684, 0.0323829725, -0.0214622244, -0.0092366347, -0.0096212169, 0.0155834416, -0.0134641472, -0.0415242091, -0.0035630839, -0.0148720238, 0.0566967316, -0.0103553934, -0.0085037695, -0.0586911887, 0.0055914647, 0.0716294646, 0.0347061902, -0.0054171062, -0.0045647467, -0.0114179282, -0.0113551058, -0.0262775831, 0.0001206788, -0.0371445939, 0.0228209309, 0.0150211938, -0.0350716673, 0.0559946559, -0.0553148799, -0.0211372878, -0.0496397056, -0.0846486688, 0.0199207533, 0.0164168291, -0.0664103627, 0.009387223, -0.0203814376, -0.0692098364, 0.034570016, -0.0194901489, 0.0457882173, -0.0506592095, -0.0270622056, -0.0166059323, 0.0121881654, -0.0073877238, 0.0103554782, -0.0066298014, -0.0142113948, -0.0607739761, -0.0246785022, -0.0461675972, 0.0072534154, -0.0162399523, 0.0606890656, -0.0457216166, 0.0435162634, 0.0039407914, 0.0141657144, -0.0232046619, 0.0621223673, 0.0027069666, 0.0372234918, -0.0222472344, 0.0452282913, 0.0583862811, -0.0162725747, 0.066996567, 0.0086389612, -0.0637386143, 0.023226561, 0.0218434911, -0.0250059515, -0.0024972083, 0.0330802873, -0.009344182, -0.0261685159, -0.0004360346, 0.0778707936, 0.0067917439, -0.0174107105, 0.0027487248, 0.0214761887, -0.0625156611, -0.0130897444, 0.0114531415, -0.0043474045, -0.0034158572, 0.0155088836, 0.0386473313, -0.0299985837, 0.0250416622, 0.0048747933, -0.0640286058, 0.0159513205, 0.0306712296, 0.0010012588, -0.0871203691, -0.0523097478, -0.0361916907, -0.0081791235, -0.0102798035, -0.0141360452, 0.0308142472, -0.0308125392, 0.0397670045, -0.0426740646, -0.0443707481, 0.0518674143, 0.0397068076, 0.080059886, 0.0193068795, 0.018303303, -0.0495012105, -0.058071699, 0.013289799, 0.0178896971, 0.0105255675, -0.0436018221, -0.0366905555, 0.0133247981, -0.0141683398, -0.0148831652, 0.0194272622, -0.0089804186, 0.0282754358, 0.0261080135, 0.0525384061, -0.0545717105, -0.0029626326, -0.0036170476, 0.0351400413, 0.0309792664, 0.0220498182, 0.0056267641, -0.0189203545, 0.0036093395, 0.0496131852, 0.0166958999, 0.010319679, 0.0077021071, -0.0065876613, -0.0286635272, -0.0523803458, -0.0489067771, 0.0053305621, -0.0181461275, 0.0371804051, 0.0512662567, 0.0383385643, -0.0045730979, 0.067602776, -0.0618179776, 0.0044709644, 0.0692088231, 0.0420535915, -0.0604618937, 0.0008887983, 0.0676447973, -0.0036598979, -0.0510410592, -0.0648749843, -0.0621472895, -0.0379335396, 0.0254440475, 0.0188710447, 0.0244917348, 0.0204581097, -0.0508005619, -0.0254095849, 0.0339389071, -0.0215618014, -0.0160391536, -0.0268405899, 0.0372865349, 0.0123321451, -0.0246639792, -0.0088508204, -0.0170097705, 0.0464216322, -0.015319841, -0.0697357133, -0.0513312668, -0.0299782641, -0.0172227472, 0.02457105, 0.086106874, 0.0019176004, 0.0047838856, -0.0439396426, 0.0095842723, 0.0649380088, 0.0379837081, 0.0022299525, -0.0138145834, 0.0190043077, 0.0313414373, -0.0301847383, -0.0528534912, -0.0175783709, -0.1162519678, 0.0484960824, 0.0830019563, 0.0616947152, 0.0631116852, -0.0377140567, -0.0137065463, -0.0089784972, 0.0590823181, 0.0268246289, -0.0133242272, -0.0024149208, -0.003333369, -0.0251002889, 0.0042197392, 0.0000548399, 0.021635564, 0.013568541, 0.0294790249, -0.0387852341, 0.0177971162, 0.0219147503, -0.0034881122, 0.003340404, -0.0158703402, 0.0283648111, -0.0136797931, 0.0452582128, -0.0402595773, 0.0216402337, 0.007596571, -0.0032247277, -0.0271708667, 0.0349746086, 0.0138462046, -0.0231602713, 0.0076379767, 0.0451442003, -0.0208461583, -0.0597078539, 0.0220486503, -0.0042555435, 0.0106094973, -0.0325415917, 0.0237815082, -0.0146979485, -0.0300493017, 0.0287284181, 0.0222829022, 0.0164460465, 0.0132970791, 0.0096532144, -0.0142650176, -0.0024487695, 0.0389538407, 0.0009446756, -0.0481131487, -0.0081636384, -0.0021377595, -0.0080184825, -5.727186638e-33, -0.0138357561, -0.0549897738, -0.0185914896, -0.0196570475, -0.0260641407, -0.0122499075, -0.0028976037, 0.016714897, -0.0230548084, -0.040770594, 0.0091387583, 0.0332919061, 0.0335403048, -0.0379646532, 0.0270475149, 0.0053203981, 0.0142343016, 0.0005477516, 0.0100658983, -0.0129422843, 0.0425793231, 0.0446435474, 0.0630332977, -0.0768485367, -0.0213251989, 0.02459893, -0.0633620843, -0.0046940707, 0.0234478768, 0.0096804984, -0.0168525893, 0.0424286798, -0.0066311732, -0.0102442922, -0.0022418115, 0.0236086752, -0.0719093233, -0.0297634173, -0.0071867062, 0.1004948094, 0.0727965981, -0.0040920614, 0.0127389515, 0.0081697199, -0.0721359923, 0.0463797823, 0.0418064445, -0.0481201671, -0.023156615, -0.0337740369, -0.0153285954, 0.0526009388, -0.0450993255, -0.0329381935, 0.0874015689, 0.0289469361, -0.0299781393, -0.0781709254, -0.0016241552, 0.0603324883, 0.0299356729, 0.011979443, 0.035912782, 0.0127603514, -0.010598368, 0.0118994499, 0.0744786263, -0.0844380558, 0.0593650155, 0.0063042878, 0.0215747133, 0.0466348678, 0.0240978189, 0.0096578933, 0.048499871, -0.0774470046, -0.0262199994, 0.0105994297, 0.0903766155, 0.0048183808, -0.0157305934, -0.0244121235, -0.0539067648, 0.0328473225, 0.0081274221, -0.0143282851, -0.0157276634, -0.016603943, 0.0482173078, -0.008784188, -0.0145903667, 0.0030971915, -0.0001318146, 0.002713867, 0.03944299, -0.0267843828, 0.0534980185, -0.0128327999, -0.0097781671, -0.0058603222, -0.0142140426, -0.063399367, -0.0011875303, 0.0238924716, 0.0636124536, -0.032217335, -0.0353003703, 0.03803844, -0.0562529378, -0.000472444, 0.0480332151, -0.0350922011, 0.0006710407, 0.0267351829, 0.0409095362, -0.0363852009, 0.0000059965, -0.0065148058, 0.0143904518, 0.0069918102, 0.0241279304, 0.0079970174, -0.0019181747, 0.0438811816, -0.044998277, -0.0038066038, -0.0343864895, -0.0109648071, 0.0024384668, 0.0238075946, 0.0003084323, 0.0154309738, 2.581e-7, -0.0110464115, 0.0692689642, 0.01551772, -0.0210640505, -0.0162025727, -0.0152198952, -0.0391500592, 0.0096354913, -0.0465239212, 0.0428445861, 0.0706775412, -0.0611684173, 0.0671930239, 0.0114276195, -0.0655234307, -0.0316154473, -0.0581624508, 0.0139660425, -0.0670101345, 0.0684883669, 0.0065306639, 0.0879681632, 0.0200477149, -0.0080820005, -0.0263917148, -0.0379718319, -0.0363517068, -0.0056840964, 0.044842571, -0.0169236902, 0.0801729113, 0.0005637993, -0.0016925471, 0.0150178019, -0.0254825279, 0.0642963871, 0.0297796763, 0.0453826264, -0.0441766456, -0.0332259573, 0.0036713351, 0.041356761, -0.0316664763, 0.0241582375, 0.0357221924, 0.0308339633, -0.022606492, -0.017937921, -0.0019508315, -0.0136397835, 0.0374692231, 0.0079990756, -0.0023887164, -0.0141454907, 0.007602857, -0.0379137546, -0.0172232948, -0.0579326972, 0.011787083, 0.0280528236, -0.049806755, -0.0334981941, 0.0303101782, 0.0058158096, 0.0683682561, 0.0029581948, -0.0134977521, 1.700439937e-34, -0.0073752156, -0.0516257212, -0.0354000255, 0.045112025, -0.0297127571, -0.0260915533, 0.0321649946, 0.0076633678, 0.0301254261, -0.0464187786, -0.036957223 ]
http://arxiv.org/abs/2402.00798v3
http://arxiv.org/pdf/2402.00798v3
Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agents
2024-02-01T17:30:50
2024-06-18T05:44:03
Zelong Li, Wenyue Hua, Hao Wang, He Zhu, Yongfeng Zhang
cs.LG
cs.LG, cs.AI, cs.CL, cs.FL
Recent advancements on Large Language Models (LLMs) enable AI Agents to automatically generate and execute multi-step plans to solve complex tasks. However, since LLM's content generation process is hardly controllable, current LLM-based agents frequently generate invalid or non-executable plans, which jeopardizes the performance of the generated plans and corrupts users' trust in LLM-based agents. In response, this paper proposes a novel ``Formal-LLM'' framework for LLM-based agents by integrating the expressiveness of natural language and the precision of formal language. Specifically, the framework allows human users to express their requirements or constraints for the planning process as an automaton. A stack-based LLM plan generation process is then conducted under the supervision of the automaton to ensure that the generated plan satisfies the constraints, making the planning process controllable. We conduct experiments on both benchmark tasks and practical real-life tasks, and our framework achieves over 50% overall performance increase, which validates the feasibility and effectiveness of employing Formal-LLM to guide the plan generation of agents, preventing the agents from generating invalid and unsuccessful plans. Further, more controllable LLM-based agents can facilitate the broader utilization of LLM in application scenarios where high validity of planning is essential. The work is open-sourced at https://github.com/agiresearch/Formal-LLM.
Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agents: Recent advancements on Large Language Models (LLMs) enable AI Agents to automatically generate and execute multi-step plans to solve complex tasks. However, since LLM's content generation process is hardly controllable, current LLM-based agents frequently generate invalid or non-executable plans, which jeopardizes the performance of the generated plans and corrupts users' trust in LLM-based agents. In response, this paper proposes a novel ``Formal-LLM'' framework for LLM-based agents by integrating the expressiveness of natural language and the precision of formal language. Specifically, the framework allows human users to express their requirements or constraints for the planning process as an automaton. A stack-based LLM plan generation process is then conducted under the supervision of the automaton to ensure that the generated plan satisfies the constraints, making the planning process controllable. We conduct experiments on both benchmark tasks and practical real-life tasks, and our framework achieves over 50% overall performance increase, which validates the feasibility and effectiveness of employing Formal-LLM to guide the plan generation of agents, preventing the agents from generating invalid and unsuccessful plans. Further, more controllable LLM-based agents can facilitate the broader utilization of LLM in application scenarios where high validity of planning is essential. The work is open-sourced at https://github.com/agiresearch/Formal-LLM.
[ 0.0474032871, 0.0528956242, -0.0150533384, 0.0394999832, -0.0472952947, -0.041244451, -0.0330485851, -0.0229622703, 0.0359468162, -0.0576245524, 0.0205887984, 0.0179895833, -0.0262813214, 0.0927781612, 0.0071417741, -0.0583621152, 0.0235982202, -0.043422278, 0.0425542444, 0.0188060831, 0.00932144, 0.0002796726, -0.0009194267, 0.0264816992, -0.0040817847, 0.0179918874, -0.0589638092, -0.0045711542, -0.005759235, -0.044848904, -0.0194541812, 0.0334684514, 0.0135181956, -0.0001064375, 0.0000022804, -0.0859565139, -0.0030951358, -0.0004147994, -0.0436424576, 0.0036287727, -0.0079525104, -0.0031720053, -0.0224601571, 0.0192940645, -0.0520505905, 0.0533644557, 0.010943722, 0.0524691306, 0.0871664807, 0.0637280494, -0.0118827708, 0.0028122715, 0.0248898473, 0.0192412622, -0.0035436305, -0.0624913611, 0.0145374881, 0.0093486821, 0.0675649941, 0.0338470899, 0.0161327869, 0.0005896412, 0.0132563272, -0.0265124422, -0.0373418778, -0.0016090001, -0.008939283, -0.0554972664, -0.0510808527, 0.0653714463, 0.0079902709, -0.0154922102, 0.0677115768, -0.0281560943, 0.0000392444, 0.0086628012, -0.0406314954, 0.0510253049, -0.0141964322, 0.0043596691, -0.0216677971, -0.0150835514, 0.029724801, 0.0189394094, -0.0057411799, 0.0968084261, -0.0009912959, -0.0208182503, 0.0092095137, -0.0261463393, 0.0336901955, -0.104511179, 0.0453379117, 0.0820105374, -0.0714239702, 0.0331644863, -0.0379188061, -0.0047734235, 0.0378294252, -0.0421749726, 0.0243647527, 0.0430972241, 0.0148878284, 0.0229796544, -0.0059357365, 0.0738093331, -0.022041209, 0.0099853892, -0.0278913993, 0.0090078674, -0.0389320031, -0.0082842978, -0.0427163877, 0.0334420651, -0.0442297086, -0.0124652963, -0.0360082313, 0.0613085888, -0.048799593, 0.075871408, -8.619e-7, -0.0048379707, -0.0178540573, -0.0183530543, -0.0826621428, -0.0562499762, -0.0554489605, 0.0033317218, -0.0005320451, -0.0168304704, 0.0303440113, 0.031612169, 0.0069089904, 0.0423924662, -0.0102298912, 0.0838810205, 0.0041366084, 0.0116016865, -0.0364453942, -0.0706503913, 0.0161315445, -0.0557629429, -0.0103209354, -0.0775860995, 0.0161820222, -0.0075976332, -0.0514757596, -0.0301330723, 0.0264858734, 0.0371647701, -0.0054719723, 0.0576871894, -0.034860909, 0.0063104313, 0.0082590021, 0.016034184, -0.0207649302, 0.0299729798, 0.0682027414, 0.0607247613, 0.0246324912, 0.0508335158, 0.0388557091, 0.0628992692, -0.028830247, -0.0196818002, -0.0043244474, 0.0129324943, -0.0202517938, 0.0316821374, -0.0270135552, 0.0708905533, 0.0056041726, 0.0153147969, 0.0202354416, 0.0470583923, 0.0023368106, -0.0031287253, 0.0675110891, 0.0590145178, -0.0018959857, -0.033875972, -0.0386945568, 0.0260584112, -0.0578204282, 0.0026917574, -0.0265542194, -0.0024722717, 0.0041047325, -0.069977358, -0.0168591365, -0.0221014433, 0.0486336686, 0.0051231449, 0.0294381361, 0.0160200074, -0.0593681447, -0.0016134994, -0.0230223387, -0.0327739827, -0.0210642684, -0.0535478145, 0.0438045785, 0.0818950087, 0.0320357941, -0.0310671497, -0.0369795561, 0.0033151705, -0.0306823868, 0.0532432087, 0.0252400767, -0.0191351417, -0.02896709, -0.0265191998, -0.0274728555, -0.005450312, -0.0010148663, 0.0089304978, 0.0220878609, -0.0073213424, -0.0003906665, 0.0130543085, -0.025771698, 0.0486225709, -0.0065586567, -0.0300757177, -0.0163162723, -0.0195105579, 0.0508228391, 0.0172820296, 0.0105042243, 0.0295756105, 0.052768331, -0.0027825418, -0.0684365556, -0.0128500545, -0.0327776708, 0.0389231145, 0.0469004102, -0.0131363235, -0.0221892111, -0.0067063188, -0.024876805, -0.0523046516, 0.0079032909, -0.0220664497, -0.0015333683, -0.012871244, 0.0062720524, 0.036093168, -0.0434988812, -0.0289785489, 0.0532571077, 0.0173828807, -0.0656683445, 0.0316427648, 0.0116462726, 0.0117004663, -0.0143767521, -0.0146453781, 0.0220801011, 0.0296121817, 0.0157572385, 0.0526379123, 0.0529492535, -0.020355558, -0.0233945251, -0.0488482639, 0.0180366244, -0.0190322511, 0.0008724054, -0.0130798286, -0.0119962711, -0.0134419482, -0.0078671873, -0.0262062121, 0.0299548637, 0.0294359941, -0.0240954757, 0.0390078351, 0.0317164548, -0.0676649362, -0.0499877073, 0.0159070473, -0.0262127109, -0.0384266563, 0.0379512943, -0.0399464555, -0.0609317161, 0.0471950024, -0.0203405228, 0.025232017, -0.0230475068, -0.0046840822, 0.0269332528, -0.0307279807, -0.021093037, 0.0105579402, -0.0275991783, 0.020305369, 0.0687293038, -0.0267862324, -0.061828766, 0.0252032541, -0.0041913358, -0.0071670003, -0.0225259233, -0.0209313463, 0.0442892462, 0.0405426957, 0.0002778583, 0.0345447585, -0.0272730161, -0.0087062493, 0.0204372462, -0.0018223242, 0.0085045937, -0.0695522502, -0.039676901, 0.0865750611, 0.012431371, -0.0435816832, 0.0576764233, -0.0304150209, -0.006034317, 0.016156394, -0.022055937, -0.0459798388, 0.0777660087, 0.0169448592, 0.0084905652, 0.0152890859, 0.0202652942, -0.0099639157, -0.0427672975, 0.0091851745, -0.0076773744, 0.0479821488, -0.0880831778, 0.0205032155, 0.0099512711, -0.0296195466, -0.0528069623, -0.0133591285, -0.0502665751, 0.0332950652, -0.0080029005, -0.0340445749, -0.0136068482, -0.040338546, 0.0196733233, 0.0435057692, 0.0156119606, -0.0187624022, -0.0432582758, -0.0529804714, 0.0274071861, 0.0368448719, -0.0144200819, 0.024045499, 0.0275977477, 0.0422418043, 0.0155149503, 0.0144637488, -0.0461576618, 0.0048905881, 0.0135572106, -0.0209902581, -0.0069612274, 0.0739623159, 0.0324248634, -0.0469741859, -0.0109884189, 0.1016148925, 0.0382020287, 0.0151456436, 0.0229205992, -0.0440562032, 0.005056798, 0.0317440815, 0.0602684692, -0.0629085377, -0.0149895567, 0.0090481304, 0.0024645629, -0.010884027, -0.0276212078, -0.0331296884, -0.1045869887, 0.0299153086, -0.0072728582, -0.0018559493, 0.0284299254, -0.0496869646, -0.0190779567, 0.0223254003, 0.0022657772, -0.0024624942, 0.0263296962, -0.034566544, -0.0030195634, -0.0523593239, -0.0004919358, 0.0173071809, -0.0326300152, 0.0541004315, 0.0806120634, 0.0410315432, -0.005325404, -0.0251460504, 0.0467010513, 0.0704885647, 0.0336722247, -0.0281598419, -0.0291592982, 0.0069519505, 0.0073901089, -0.0254960135, 0.0481497273, -0.061394155, -0.0561817177, 0.041556716, 0.1018645242, -0.017682977, -0.0164044481, -0.0547500364, 0.0035361233, 0.0318242125, 0.052439373, -0.0225584712, -0.0182394963, -0.0672691688, -0.0593664981, -0.0440437496, -0.0384884365, -0.0321036503, 0.0057768673, -0.0127705811, 0.0279199257, -0.0709479302, -0.0424088575, 0.0487266146, 0.0112716779, 0.0319768861, -0.0365895927, 0.0698035359, -0.0093651433, 0.0012235175, -0.0010356751, -0.0280243792, 0.0394962206, -0.0309302602, -0.0183591172, 0.0018124573, -0.0186818652, 0.0016244077, 0.0309021361, -0.0312069673, -0.0608123578, -0.0102684284, 0.0702680647, 0.0237868614, -0.021552721, 0.0058059492, -0.0388233662, 0.0167711619, 0.0115081752, -0.0493487567, 0.0004907188, 0.0236942507, 0.050165277, 0.0178941432, 0.0314275883, -0.0744573399, 0.0150169926, -0.0238452554, 0.0585674122, -0.0445885211, -0.0251528304, 0.0261791218, 0.0548810139, -0.0271303132, -0.0279617365, 0.0008663871, -0.0044053136, -0.0114206048, -0.0545552447, -0.0441641361, -0.0527182072, 0.0353603475, -0.0393249057, -0.0306178983, 0.0497696288, -0.0304585863, -0.0446162969, -0.0195573922, 0.0256423429, 0.0137663335, 0.0073303017, 0.0188524295, 0.028496407, -0.0088340882, 0.0055895215, 0.0573087521, -0.01225382, 0.0307649691, 0.0216938965, 0.0267408472, 0.017097069, 0.0143137695, -0.0639582276, -0.02128876, -0.0022030454, -0.0761899427, 0.0470543243, 0.0525826216, 0.0427510515, 0.0318241715, 0.0178516004, -0.092553243, 0.0298183821, -0.0000384937, -0.0103491936, 0.0104686441, -0.0605541766, 0.0421437174, 0.0236132294, -0.0132448506, -0.0194305219, 0.0431214795, 0.0158001054, 0.0243957937, -0.0196012314, -0.0210904926, -0.0793627203, -0.0335418805, -0.0066489219, 0.0197968911, -0.0347004086, -0.0319102854, -0.0618458651, -0.0466104224, 0.0197166558, 0.043304503, 0.0119176842, -0.0335740484, 0.0386703201, 0.0032113616, 0.0228120778, -0.0219191127, -0.0298452806, -0.017571291, 0.0159404222, -0.0162315909, -0.0276612099, -5.939647691e-33, -0.0201413874, -0.0844367743, 0.062442176, 0.0147159379, 0.0287908334, -0.0294381846, -0.0540098511, 0.0248475466, 0.051662337, 0.0216514468, -0.0215656478, -0.0076427823, 0.0165653061, -0.0084566223, 0.0171736013, -0.0044761323, 0.0208195839, -0.0188627802, -0.0270702466, -0.0319397897, 0.0329747684, -0.0264745001, -0.0050801379, -0.0655183345, 0.0515365489, 0.0035877645, -0.0349071734, 0.031255912, -0.0176767409, 0.0459386185, -0.0161594134, 0.0173579454, 0.0011213931, 0.0047125937, -0.0503021702, 0.0638660491, -0.0097409207, -0.0577737689, 0.0271449201, -0.0003215171, -0.0537414961, -0.0162614044, 0.0564743131, -0.0143409483, -0.0626474693, 0.0697557032, 0.0122273033, 0.0090324413, 0.0092838332, -0.005737552, -0.0851978883, 0.0188052654, -0.0105856974, -0.0117802406, 0.0133495387, -0.0216759779, -0.0076070107, -0.0256373622, -0.0136689311, 0.0004711903, -0.0089703184, -0.0326936953, 0.0728241503, -0.0234265719, -0.0042646076, 0.0573926717, -0.0040417728, 0.0199377462, -0.032791663, -0.0062934691, -0.0151715493, 0.0801603943, 0.008340654, 0.0372858606, 0.0059817065, 0.0203473158, -0.0359429605, 0.0425410271, -0.0116166221, 0.0772829279, 0.0409209244, 0.0307654161, -0.0367281325, -0.0029968524, -0.0350176468, 0.0424265116, -0.0200878289, 0.0055322354, 0.0333708227, 0.0209302027, 0.0172685571, -0.0151375085, -0.0116634723, -0.0231828876, -0.0043829354, -0.0004732735, -0.0231717285, 0.011157915, -0.0159291942, 0.0307750963, -0.034339793, -0.0195585936, -0.0136042507, -0.0308600515, 0.034552101, 0.0438282415, -0.0389737561, 0.0386867486, -0.0406346545, 0.0104638701, -0.0448610559, -0.0056072292, 0.0079715792, -0.0237577558, 0.0370947868, -0.0192999169, -0.0207556803, 0.0261241551, -0.0236586612, -0.0839930177, -0.0200150944, 0.0324476026, 0.0226653386, -0.0014098426, -0.0340879709, -0.0225388445, -0.0386161879, 0.0038935877, 0.0373083279, -0.0337496437, 0.0145846279, 0.0243445989, 2.997e-7, -0.0177825, 0.0659464449, 0.0142020313, 0.068736583, 0.0109229973, 0.0421364382, 0.0032430105, 0.0080163404, -0.0566982068, -0.0298896413, 0.0231610686, 0.0240711421, 0.0130055984, 0.0458698794, -0.0580748133, 0.0219910946, 0.002031758, -0.0112986648, -0.0829241499, 0.0202144999, 0.0770389736, 0.0290160459, 0.0339888036, 0.0141473301, -0.0089769941, -0.0492360443, 0.0202888492, -0.0382241122, 0.0140932929, 0.0352802649, 0.01496334, 0.0225286018, -0.0033832619, 0.025803756, 0.0215337928, 0.0111794444, -0.030903751, 0.1110531613, 0.0011551821, -0.0106104389, -0.0149638411, -0.0693098754, 0.0128785428, -0.006793146, 0.0118632428, -0.0101718595, -0.0230677947, -0.0214698166, 0.0186875202, -0.0287701394, -0.0445351936, -0.0084666843, 0.0250598881, 0.0094839409, -0.0081098909, -0.0097824261, -0.0048747286, -0.0586624257, 0.005123077, -0.0114414515, -0.0436971895, -0.0015203473, -0.0511527024, 0.0322078839, -0.0070594028, -0.0173599031, 0.0146402931, 2.883219713e-34, -0.0195969697, -0.0049675568, -0.0069216914, 0.0364696942, 0.0499895923, 0.0584216379, -0.0387676768, 0.0563222803, 0.0503911376, -0.0612153336, -0.0445186198 ]
http://arxiv.org/abs/2402.00794v2
http://arxiv.org/pdf/2402.00794v2
ReAGent: A Model-agnostic Feature Attribution Method for Generative Language Models
2024-02-01T17:25:51
2024-02-07T21:01:16
Zhixue Zhao, Boxuan Shan
cs.CL
cs.CL, cs.AI, cs.LG
Feature attribution methods (FAs), such as gradients and attention, are widely employed approaches to derive the importance of all input features to the model predictions. Existing work in natural language processing has mostly focused on developing and testing FAs for encoder-only language models (LMs) in classification tasks. However, it is unknown if it is faithful to use these FAs for decoder-only models on text generation, due to the inherent differences between model architectures and task settings respectively. Moreover, previous work has demonstrated that there is no `one-wins-all' FA across models and tasks. This makes the selection of a FA computationally expensive for large LMs since input importance derivation often requires multiple forward and backward passes including gradient computations that might be prohibitive even with access to large compute. To address these issues, we present a model-agnostic FA for generative LMs called Recursive Attribution Generator (ReAGent). Our method updates the token importance distribution in a recursive manner. For each update, we compute the difference in the probability distribution over the vocabulary for predicting the next token between using the original input and using a modified version where a part of the input is replaced with RoBERTa predictions. Our intuition is that replacing an important token in the context should have resulted in a larger change in the model's confidence in predicting the token than replacing an unimportant token. Our method can be universally applied to any generative LM without accessing internal model weights or additional training and fine-tuning, as most other FAs require. We extensively compare the faithfulness of ReAGent with seven popular FAs across six decoder-only LMs of various sizes. The results show that our method consistently provides more faithful token importance distributions.
ReAGent: A Model-agnostic Feature Attribution Method for Generative Language Models: Feature attribution methods (FAs), such as gradients and attention, are widely employed approaches to derive the importance of all input features to the model predictions. Existing work in natural language processing has mostly focused on developing and testing FAs for encoder-only language models (LMs) in classification tasks. However, it is unknown if it is faithful to use these FAs for decoder-only models on text generation, due to the inherent differences between model architectures and task settings respectively. Moreover, previous work has demonstrated that there is no `one-wins-all' FA across models and tasks. This makes the selection of a FA computationally expensive for large LMs since input importance derivation often requires multiple forward and backward passes including gradient computations that might be prohibitive even with access to large compute. To address these issues, we present a model-agnostic FA for generative LMs called Recursive Attribution Generator (ReAGent). Our method updates the token importance distribution in a recursive manner. For each update, we compute the difference in the probability distribution over the vocabulary for predicting the next token between using the original input and using a modified version where a part of the input is replaced with RoBERTa predictions. Our intuition is that replacing an important token in the context should have resulted in a larger change in the model's confidence in predicting the token than replacing an unimportant token. Our method can be universally applied to any generative LM without accessing internal model weights or additional training and fine-tuning, as most other FAs require. We extensively compare the faithfulness of ReAGent with seven popular FAs across six decoder-only LMs of various sizes. The results show that our method consistently provides more faithful token importance distributions.
[ 0.0355987102, 0.0746422485, -0.0076412479, 0.0122499121, -0.0303927865, 0.0131142531, 0.0229891986, -0.0425209291, -0.0423683077, -0.0325537175, 0.020249486, -0.0407331027, 0.039822232, 0.0501931459, 0.0445228219, -0.0260246806, -0.0134521518, 0.0015983375, 0.0277100019, 0.0066157696, -0.0192893576, -0.0032756261, 0.0272257943, 0.0686363503, -0.0122032985, 0.0063992571, 0.0103917206, 0.0207040887, 0.0444944315, -0.0024656595, 0.0197364073, 0.0417955369, 0.0088053532, 0.0133411195, 0.0000021023, -0.0194991063, -0.0078982161, -0.00618889, 0.012189066, -0.0009371386, 0.0423010327, -0.0170770548, -0.0108871674, 0.0267253947, -0.028029684, -0.0186978783, 0.069889687, 0.0198807586, 0.0062705614, 0.0590034574, -0.0035540739, -0.0233939309, 0.0236356668, -0.0466150977, 0.0429447405, -0.016958138, 0.000579424, -0.0374683961, -0.0692246929, -0.0047349487, -0.0450864024, 0.0560527854, 0.0443723537, -0.0224141255, 0.0622674078, 0.0505462028, 0.0117056407, 0.0064809453, -0.0143007888, 0.0620327741, -0.0537922457, -0.0369474292, -0.0088964421, -0.0064920303, -0.0125230355, -0.0045497539, -0.0351440087, 0.0243771523, 0.0099608023, 0.0210435484, 0.047420729, -0.0149399182, 0.0345610119, 0.0110763796, 0.0046185493, 0.0253942292, 0.036816597, 0.0122543117, -0.0467310213, 0.0290549826, -0.0536706522, -0.084193334, -0.002316704, 0.0175612066, 0.0202280283, 0.0164807513, -0.0554435365, -0.0307004414, -0.0037044752, -0.011689336, 0.0397376716, 0.0438116528, -0.0014143074, -0.0089345844, -0.0580334216, 0.069041416, 0.0257819816, 0.0053090514, -0.0263384115, 0.005613266, -0.0268322527, -0.0244022012, -0.0238382686, 0.0225045923, -0.0144894551, -0.0246680379, -0.0482753851, 0.0041534728, -0.015799161, -0.0592969358, 0.0425460897, 0.0666333511, -0.0660280213, 0.0017058555, 0.0031269698, 0.0353724882, -0.0328797176, 0.0306192134, 0.0292226411, -0.0668988749, -0.046157144, 0.0362047032, 0.0266194306, -0.0181647763, 0.0009313017, 0.0638056621, -0.0199002828, -0.0397553854, -0.0230845418, -0.0381464548, -0.0232957415, -0.0565474108, -0.0128076393, -0.0560109392, -0.0066941446, 0.0027433892, -0.011700836, -0.0673406422, -0.0062051252, 0.0133262761, 0.0013271556, 0.0437472798, 0.0578942485, 0.0138531197, 0.0521808453, -0.0230332483, 0.0111262444, 0.018980762, 0.0536124445, 0.0894848257, -0.0182203148, 0.0191732775, 0.0166938975, 0.0106837079, 0.0119434642, 0.0057731252, -0.026252402, -0.0387934633, -0.0113829151, -0.0015995544, 0.0846037716, 0.0205623396, -0.037829265, 0.0000777879, 0.0829823017, 0.002892989, 0.0111184008, 0.0422513895, 0.0796874762, -0.0122883292, -0.0268651713, -0.0073507624, -0.0390999056, 0.0714503005, 0.002882215, -0.0029302198, 0.0419543125, 0.017995704, -0.0177754778, -0.0454396755, 0.0342717692, -0.0079117026, 0.0000562538, 0.0048747482, 0.0464223586, 0.0446577594, -0.0731709301, 0.0242699571, -0.0079260264, -0.0647664666, 0.0434574783, -0.0585998707, 0.0030660927, 0.0905198529, 0.0606430322, 0.0173017029, -0.0054446445, 0.0043916358, 0.0103928782, 0.0240615215, 0.0070743025, 0.0000469156, 0.0065823724, -0.0523732975, -0.0364834554, -0.0242699124, 0.0354283564, 0.0707539171, -0.0054080714, 0.0161490776, 0.0520997755, -0.0447233394, -0.0277410895, 0.0172530003, -0.0038348327, -0.0611087941, 0.0474663675, -0.0189727731, 0.020212207, -0.0160326511, -0.0051068962, 0.0327467322, 0.0022304109, -0.0498566777, 0.0007812452, 0.0228482988, -0.0633809566, -0.0700101703, -0.0044245091, -0.0388796665, 0.0474018678, 0.0388377234, -0.04268815, -0.0570068434, 0.0866888538, -0.0663445741, 0.0370664969, -0.0450392067, 0.0356671214, 0.0146753779, 0.0331908576, -0.0085584894, 0.0540885516, -0.0386261716, -0.0048006801, 0.0179633852, 0.0118088918, -0.0143811386, -0.037320137, 0.0072466414, -0.0367084555, -0.0091817556, 0.0013332529, 0.0168936793, 0.0082826549, 0.0157536678, -0.0345257372, -0.0646267906, 0.00006586, -0.0454985015, 0.0431862622, 0.0228332579, 0.0345363207, 0.0208288338, -0.0201530922, -0.0414324701, -0.0214369968, -0.0121891862, -0.0032225868, -0.0019847329, -0.0196963921, -0.0018925559, -0.0237199925, -0.0154070882, 0.0206652638, 0.0521208458, 0.0118153123, 0.0115529383, -0.0495206825, 0.0048159207, -0.0235992447, -0.0170424655, -0.0049802796, -0.0487199239, -0.0019534661, 0.0253288615, 0.0705651641, 0.0468897261, 0.0164160039, 0.0488290302, 0.0214308463, 0.0025660782, -0.0539637804, -0.0055286135, -0.040863093, 0.0057122135, -0.0140360063, -0.0727354512, -0.0047393129, 0.0796301439, 0.0225973316, -0.0204911064, -0.0722846016, 0.0369423479, 0.006539735, -0.0570424758, -0.0057609612, -0.00931066, -0.0298346356, -0.0162005872, -0.0411640145, -0.0947657377, 0.0573552772, -0.0548547395, 0.0192500744, -0.0274550822, 0.0246710069, -0.0468386821, 0.0310458187, 0.0222934056, 0.0081598861, 0.0139160445, -0.0368302427, -0.0163631644, 0.0461715721, 0.0373050794, -0.0421668179, 0.0316938087, -0.0600506552, 0.0051111295, 0.027557699, 0.0081851734, -0.0369163528, -0.006621304, 0.0081442054, 0.0306661632, 0.0068574366, -0.0256986097, -0.0150213884, -0.0208370797, 0.0271959137, 0.0425435603, -0.0150689585, 0.0144776003, 0.0001373695, 0.0273789167, 0.0519681536, -0.0004483456, 0.00815445, -0.032354027, -0.0327442884, 0.0237418897, 0.027497815, 0.0131914616, -0.0186692867, 0.022179639, 0.0072201053, -0.0130376453, -0.0125997784, 0.0368943214, 0.0647543967, -0.0657229125, -0.0392719172, 0.0976773575, 0.0142070772, -0.0679814219, 0.0269843824, 0.0200534929, 0.0713378042, 0.020154221, -0.0007185964, -0.0377949141, -0.0559367053, 0.0137244351, 0.0377986431, -0.0232534036, -0.025064161, -0.0182919931, -0.0982820243, 0.0414380468, 0.002877498, -0.0606180914, -0.0331351459, -0.0353486314, -0.0229146443, -0.0131781111, -0.022262292, 0.0063848901, -0.0041211382, 0.0348337255, 0.0228894372, -0.0155218225, -0.0563369431, -0.0126777636, -0.0132633317, 0.0253507011, 0.1148013696, 0.0024408305, 0.0105651505, -0.0100814942, 0.0060700015, -0.0126370406, 0.0227986164, -0.0184988696, 0.0452267379, -0.030058587, 0.0128389783, -0.0255828854, 0.0400779098, -0.0448177643, 0.0005953205, 0.00668948, 0.0433927476, 0.0104480386, -0.0470662564, -0.0150973201, -0.0405576304, 0.0493932739, 0.066648975, 0.0648655146, -0.0314984731, -0.0719854906, -0.0549795702, 0.0228417739, -0.0507094823, -0.0078495918, -0.0175756905, 0.0271998625, -0.0842707753, -0.1062628031, -0.0236478895, 0.0165461935, -0.0042746007, -0.0062671234, -0.0073580309, -0.0348104723, -0.0496162884, -0.0559023656, 0.0067489715, -0.0171153378, 0.0074086478, -0.0311341956, -0.0198683813, 0.0204459783, -0.0578922667, -0.015631482, 0.0040675895, -0.086450316, -0.0390789174, -0.0117254686, 0.064380765, 0.0159154292, 0.0580175035, 0.0015898905, -0.0686702877, 0.0958569348, 0.0077722091, -0.0201862976, 0.0387800783, 0.0099110575, -0.037763305, -0.0122308489, 0.0349482447, -0.0313099176, 0.0179181136, 0.0415242426, 0.0685980767, 0.032176584, -0.0255064964, 0.0051333401, -0.022996271, 0.0137049407, -0.0365769155, -0.0279132742, -0.0315391906, 0.018804336, 0.0125656426, 0.0020511206, -0.0640994534, 0.0274652354, 0.0298790354, 0.0444527902, -0.0199401379, -0.0066847997, -0.0056976387, 0.022540316, 0.0027568466, 0.0130680129, -0.0330728926, 0.0192899685, 0.0158686116, 0.0060992027, 0.0003070391, -0.0073864814, -0.0058328616, 0.0305670016, -0.0113812052, -0.0009749146, 0.007025654, 0.0105206575, -0.028266158, 0.0106845833, -0.0688038915, 0.0131331291, -0.0938982889, 0.0095109008, 0.0322987288, 0.0212322492, 0.0927238241, -0.0196806267, 0.0175384786, -0.0337077342, 0.0416883677, 0.0079369796, -0.0288912486, -0.000956178, 0.0017933625, -0.0175576136, 0.0000241788, 0.1029496565, 0.0529285483, 0.0325837359, -0.0470264107, -0.0163230915, -0.0118107796, -0.0397836417, -0.004278305, 0.0062534683, -0.0033595674, 0.0217243228, -0.0255417563, -0.0775059685, 0.009835396, -0.0321715474, 0.0177996662, -0.021439435, 0.0427976474, 0.0278696958, -0.0434076488, -0.0164094549, -0.0651137233, -0.0082738977, -0.0279074199, -0.0292867869, -0.016380569, -6.584300181e-33, -0.0056484104, -0.0299145896, 0.0016110325, -0.014448707, -0.0246490054, 0.0060731377, -0.0756403804, -0.0287815221, 0.033807192, 0.0343535915, 0.0068870354, 0.0079881996, 0.0108865956, 0.0515771396, 0.0145605085, -0.0027698937, 0.0660705417, 0.0253008623, -0.0451381132, 0.0639909878, 0.029492354, 0.0246791784, 0.0675264075, 0.013340476, 0.0144184083, -0.0119735254, -0.0075326269, 0.0048683332, 0.0014024766, 0.0415509753, -0.0236722659, 0.0347711109, 0.0288999714, -0.079707697, -0.0572113916, -0.0016541128, -0.0597354285, -0.0189895872, -0.0227194522, -0.010187489, -0.0456065536, -0.0761358142, 0.0588988774, 0.0259543564, -0.010068953, -0.0303294919, 0.0499540865, -0.0145807443, -0.0352061167, -0.041349262, -0.062404491, 0.0325466134, -0.0084861517, -0.0297811925, 0.0101429047, 0.0168042406, -0.0084121898, -0.0149342446, -0.0291473959, 0.0203376859, 0.0196866337, 0.0293611027, 0.0642806143, 0.0351552032, 0.0115131503, 0.040438354, 0.0243444145, -0.012512113, -0.0477927923, -0.0110917604, 0.0024697634, 0.0222801175, 0.0254563112, 0.0243689008, 0.0619673394, 0.0043095443, -0.0657610521, 0.0354747698, -0.009903538, 0.0408880599, 0.0667211711, -0.0021507686, -0.0025970417, -0.0358486101, -0.0412548035, -0.0196518153, -0.0270083714, -0.0464423075, 0.0421113446, 0.0417250432, -0.0347947069, -0.0361447558, 0.0376697071, -0.0480908826, 0.0123986378, 0.0492810532, -0.014248495, 0.0352465808, 0.0163221247, 0.0203096252, -0.0346192122, 0.0112385973, 0.060404744, 0.0078404937, 0.0077750725, 0.0005557894, 0.0303836595, 0.0359861106, -0.0433577485, 0.0047734408, -0.052631937, 0.0197174121, -0.0036557799, 0.0523676015, 0.0029686182, 0.001501114, -0.0346205309, 0.0193487201, -0.0156382676, 0.0312825851, -0.0369141512, 0.0052750753, 0.0162384044, 0.026639415, -0.076415956, 0.003516664, -0.0369112976, 0.0115853865, 0.0320225582, -0.0079518156, -0.041500017, 0.0240696892, 2.834e-7, 0.0394586027, 0.0050724996, 0.0367360301, 0.0000373891, 0.028112689, 0.0277353935, 0.0396062732, 0.0594842248, 0.0377290919, -0.0034446106, 0.0210000649, 0.0334067754, 0.0782050565, -0.0224748496, -0.0854592472, 0.0346817262, -0.0638854802, 0.0218710899, 0.0101316441, -0.0500881597, 0.0013132526, 0.0714810491, -0.0042703659, -0.0257462375, 0.0099127889, 0.0228658207, 0.0652209818, -0.0019655647, -0.0001946389, 0.0176954698, 0.0482828729, 0.0125020118, -0.0186121128, -0.0058387802, -0.0394398645, -0.0288768299, -0.0040927632, 0.0528775491, -0.0179631226, -0.0749029219, -0.008877079, 0.0255205855, 0.036202807, -0.0233492758, 0.0437560864, -0.0449976437, -0.0099595394, -0.0085090976, -0.0221839175, 0.0069899536, 0.008551118, -0.0391643569, -0.0092614386, 0.0470148399, 0.0140352957, 0.0185144488, -0.0356442221, -0.0687587261, -0.0356691405, -0.0238039158, -0.0585633442, -0.0321137086, -0.0655611902, -0.0125132883, 0.0301039182, -0.0512032211, 0.0066630156, 2.458309729e-34, 0.0415030792, 0.0107274847, 0.0130941225, 0.0309328809, 0.0198172703, -0.0047927848, 0.0132335648, 0.016246656, 0.0352899171, -0.0805566609, -0.0586769357 ]
http://arxiv.org/abs/2402.00786v4
http://arxiv.org/pdf/2402.00786v4
CroissantLLM: A Truly Bilingual French-English Language Model
2024-02-01T17:17:55
2024-03-29T14:56:42
Manuel Faysse, Patrick Fernandes, Nuno M. Guerreiro, António Loison, Duarte M. Alves, Caio Corro, Nicolas Boizard, João Alves, Ricardo Rei, Pedro H. Martins, Antoni Bigata Casademunt, François Yvon, André F. T. Martins, Gautier Viaud, Céline Hudelot, Pierre Colombo
cs.CL
cs.CL, cs.LG
We introduce CroissantLLM, a 1.3B language model pretrained on a set of 3T English and French tokens, to bring to the research and industrial community a high-performance, fully open-sourced bilingual model that runs swiftly on consumer-grade local hardware. To that end, we pioneer the approach of training an intrinsically bilingual model with a 1:1 English-to-French pretraining data ratio, a custom tokenizer, and bilingual finetuning datasets. We release the training dataset, notably containing a French split with manually curated, high-quality, and varied data sources. To assess performance outside of English, we craft a novel benchmark, FrenchBench, consisting of an array of classification and generation tasks, covering various orthogonal aspects of model performance in the French Language. Additionally, rooted in transparency and to foster further Large Language Model research, we release codebases, and dozens of checkpoints across various model sizes, training data distributions, and training steps, as well as fine-tuned Chat models, and strong translation models. We evaluate our model through the FMTI framework, and validate 81 % of the transparency criteria, far beyond the scores of even most open initiatives. This work enriches the NLP landscape, breaking away from previous English-centric work in order to strengthen our understanding of multilinguality in language models.
CroissantLLM: A Truly Bilingual French-English Language Model: We introduce CroissantLLM, a 1.3B language model pretrained on a set of 3T English and French tokens, to bring to the research and industrial community a high-performance, fully open-sourced bilingual model that runs swiftly on consumer-grade local hardware. To that end, we pioneer the approach of training an intrinsically bilingual model with a 1:1 English-to-French pretraining data ratio, a custom tokenizer, and bilingual finetuning datasets. We release the training dataset, notably containing a French split with manually curated, high-quality, and varied data sources. To assess performance outside of English, we craft a novel benchmark, FrenchBench, consisting of an array of classification and generation tasks, covering various orthogonal aspects of model performance in the French Language. Additionally, rooted in transparency and to foster further Large Language Model research, we release codebases, and dozens of checkpoints across various model sizes, training data distributions, and training steps, as well as fine-tuned Chat models, and strong translation models. We evaluate our model through the FMTI framework, and validate 81 % of the transparency criteria, far beyond the scores of even most open initiatives. This work enriches the NLP landscape, breaking away from previous English-centric work in order to strengthen our understanding of multilinguality in language models.
[ -0.0261002742, 0.0991822332, 0.002364933, 0.0733932257, -0.0356368721, -0.0040317588, 0.0259212293, -0.037574973, -0.0159642715, -0.042673301, -0.0573209189, -0.0427905321, -0.0315163694, 0.0201337319, 0.036259301, -0.0188137144, 0.0657696575, -0.0241801981, -0.0188171696, -0.014819121, 0.0189591534, 0.0337256826, 0.0197237339, 0.0600100309, 0.0061432733, -0.0139293829, 0.0037614352, 0.030185489, -0.0150859496, 0.0016886997, 0.0257236697, 0.0672843903, 0.0083080605, 0.0741143301, 0.0000020547, -0.0282514077, -0.010607806, 0.0031871232, 0.0089680254, -0.0002008371, 0.0270157978, -0.040225625, -0.0065806992, 0.0298569165, -0.0358151868, -0.023160208, 0.0300621726, 0.0147765642, 0.031746164, 0.0764632225, -0.0105367983, -0.0169417653, -0.0123245372, -0.0570324697, -0.0275607277, -0.013321816, -0.0139561174, -0.0220418908, -0.0257252026, -0.0086084511, -0.036689017, 0.0431388915, 0.0430535115, 0.0199865028, -0.0143816052, 0.0200580526, -0.0542929024, -0.023424739, -0.009944167, 0.0833148137, -0.0499408431, -0.0382524431, -0.0070534418, 0.0244364627, -0.0120282983, -0.0781851336, -0.0278933886, -0.0052951118, 0.0237166826, 0.0310856327, 0.0304072946, -0.0147669017, 0.0491889454, -0.0121522481, -0.0512573943, 0.0223660655, 0.0291607194, -0.0089017479, 0.012258457, 0.0287568029, 0.0032089332, -0.0450769514, -0.0023011602, -0.0108361281, -0.0341682732, -0.0068872548, -0.0314961448, -0.0006227487, 0.0252802838, -0.05076617, -0.0228231475, 0.0333894677, -0.0284328125, 0.0491516888, -0.0143629694, 0.016391607, -0.0386923365, 0.0305480547, -0.049973309, -0.0236272961, -0.0255881492, 0.0124869216, -0.0407513231, -0.0176573247, -0.0492306128, -0.0239006802, -0.013294803, -0.0225833133, 0.0095299827, 0.0013584524, 0.0706114992, -0.0054413355, -0.0351642035, -0.005349867, 0.013170246, 0.0670890287, -0.0442563295, 0.0011902346, 0.0134603297, -0.1135945246, -0.0157695804, 0.0065049659, -0.0437036604, -0.0516466089, 0.0084918095, 0.0900555104, -0.0269667972, -0.0269206297, -0.0077640312, -0.0248130672, 0.0038758353, -0.0920024663, -0.0147673758, -0.1046811491, 0.0576017983, 0.0070618191, 0.0576810576, -0.0353795215, 0.0120319175, -0.0146287028, -0.0174091402, 0.0676257238, -0.0279500727, -0.0154677304, 0.0109943636, -0.0036622735, 0.0017574009, 0.1166533083, 0.0259163044, -0.0256979186, 0.0532498844, -0.011260042, -0.0299346894, 0.0796143264, 0.0429084525, 0.0073126201, -0.0222590268, -0.0031820748, 0.026275849, 0.0383754373, 0.0574624166, 0.0594768897, -0.0244107712, -0.0106349625, 0.0375206843, -0.0064282441, 0.0143000241, 0.0535776541, 0.0454635434, 0.0145076988, 0.0055111535, -0.018458385, -0.0275076106, 0.009088424, 0.0021586043, -0.0127274897, 0.0363942757, 0.0493949503, -0.0448105596, -0.0158359502, 0.003806835, -0.0165768787, 0.0390513279, 0.0031323151, 0.0442671701, 0.0240562093, -0.0221867096, 0.0624520406, 0.0403869264, -0.0333732739, 0.0222674552, -0.0276132822, -0.014997378, 0.0729556233, 0.0212161541, 0.010239413, -0.0180283114, -0.0324664004, 0.0129237818, 0.0316042528, 0.0664658323, -0.0088829016, 0.0533199385, -0.0585147478, 0.0020804661, -0.0281574707, 0.0188466888, 0.0490514226, 0.0085513247, 0.0328283571, -0.0103378054, -0.0282941312, -0.0333056934, 0.0322801694, -0.0591337383, 0.003014548, 0.0022656459, 0.0007664054, -0.0099474676, 0.0099255955, -0.0234527607, 0.0013866082, 0.0272536203, -0.0370639227, 0.0196355786, 0.0384318419, -0.0211970545, -0.041140195, 0.0394863151, -0.0170770735, -0.0119836712, 0.0228306875, -0.0571798645, -0.0277929045, 0.0348342918, 0.0117681222, 0.0403235853, -0.0366865322, 0.0169586968, 0.0231396891, 0.0169681106, 0.0079915663, 0.0249114726, -0.0152719393, 0.0382447876, 0.0116320197, -0.0157877356, 0.0401661955, -0.0350210182, -0.0340131484, 0.0413223915, -0.0131295957, 0.0355394855, 0.0277069584, 0.06194368, -0.0118533839, -0.0332012028, -0.0803149194, 0.0018508894, -0.0450010188, 0.010951519, 0.0128983492, 0.017829109, -0.0128932176, -0.0452168398, -0.0362152755, -0.0243228525, -0.0009172804, 0.0182610881, 0.0024592003, 0.0035375308, -0.0095695639, -0.0233280379, -0.0156629253, 0.032312613, 0.0505698025, -0.0344424434, 0.0084752254, -0.0187501144, 0.0022703423, -0.0229696184, 0.0421833731, -0.0159573928, -0.0460369661, -0.0061176247, -0.0370859578, 0.016882604, 0.0404813662, -0.0002999266, 0.0143951746, 0.0163736455, -0.0102782743, -0.0614696108, 0.0313245356, -0.0098841889, -0.0453266725, -0.0565217808, -0.0281613767, -0.0048058629, 0.0773920715, -0.0277952533, -0.0211397968, -0.0531224199, -0.0003004328, -0.0228051189, -0.0391019322, -0.0360250361, 0.0712239295, 0.0064724516, 0.0304444935, -0.0301791392, -0.0205819327, 0.0676015913, -0.047283303, 0.0020730454, -0.0318827741, -0.0073345397, -0.0200726595, 0.0448035188, -0.0039230199, 0.0244253557, 0.0044594221, -0.0168884192, -0.0379808955, 0.01233528, 0.0127952034, -0.0177102163, 0.0599750876, -0.0202046297, -0.0111160744, 0.0003698847, -0.072941497, -0.0138387056, -0.0268466827, -0.0296724346, 0.010407134, 0.0249308962, -0.0184045583, -0.0285670459, 0.0019430342, 0.0012206866, 0.0812831223, -0.0140876314, 0.0159645453, 0.0001945713, 0.0080544511, 0.0309600942, -0.0016706304, 0.0024314744, -0.0691847131, 0.0126323635, 0.0249974262, 0.0318083316, 0.007027999, -0.0270244125, -0.015571611, 0.0373441316, 0.0037862239, -0.0495813601, -0.0330889784, 0.0592552237, -0.0476635545, -0.0619093478, 0.1001603976, -0.0098346742, -0.0552856885, -0.0037615132, 0.0128239617, 0.0471121632, 0.0404656939, 0.0107465563, -0.0807151347, -0.0234248787, 0.0151564488, 0.0031056891, 0.043944519, 0.0238980651, -0.0060033556, -0.0891234726, 0.0047398848, -0.0085545303, -0.0827068239, -0.0013383141, -0.0231202301, -0.0568575598, -0.0534131825, 0.0548052862, -0.0243932568, 0.0174642224, -0.003469927, 0.00531663, 0.0029601317, -0.0708770603, 0.0096709337, -0.0680473447, 0.0410341099, 0.0457100645, 0.0230315402, -0.0155180087, -0.0289526917, 0.0496887192, -0.0003666737, -0.0056936615, -0.0187373683, 0.0176364128, -0.0080281179, -0.0312691368, 0.0255144611, -0.0228345096, -0.0113403667, 0.0203905627, 0.0216844808, 0.0387037396, 0.0092708636, 0.0116712777, -0.003027855, -0.0125938868, 0.0025431137, 0.0620420165, 0.0236946847, -0.0399141088, -0.037840683, -0.0461728014, -0.0205889903, -0.0857151896, -0.0236423127, 0.0074722958, -0.0165367592, -0.0486043692, -0.0429532602, -0.0458555855, 0.0141699761, 0.0295772199, 0.0151957162, 0.0104131978, -0.0215282161, -0.006611859, -0.0382555462, 0.0702976957, -0.0242842883, 0.0053293188, -0.0775364786, -0.0047761649, 0.0179272406, -0.0246632937, -0.0272380412, 0.0243472401, -0.0833857954, -0.0722407922, -0.0311171561, 0.0771755055, 0.0201797485, 0.0596135966, -0.032117378, -0.0469068289, -0.0124267824, 0.0291334521, -0.0263368171, -0.0133643709, 0.0575261302, -0.0373158008, -0.0114296135, 0.0542068779, -0.0271229912, 0.0210994016, -0.0009859777, 0.0677901208, 0.019484235, -0.0174058303, 0.0082495036, -0.0098520694, 0.0572680943, -0.0401352048, 0.0024974423, -0.051498536, 0.0127487611, -0.0320055075, -0.0050966647, -0.0294330567, 0.0150680756, 0.0494544022, 0.0045448556, -0.0055151898, -0.0181509219, 0.0440441631, 0.0185693037, -0.0210994966, -0.0282653049, 0.0097758556, 0.0139794964, 0.040710073, 0.019211391, -0.0129022077, 0.0347594842, -0.0041541778, 0.0285986811, -0.0857487023, 0.0414651595, 0.0403933227, 0.0195884444, -0.0121137341, 0.0299765039, -0.0192009546, -0.0388444252, -0.0137998182, 0.0214354526, 0.0839151889, 0.0069613219, 0.1003278866, -0.0084623815, -0.041789569, -0.0372514725, 0.0571035035, -0.0026573723, -0.0467385873, 0.0013973055, -0.0083911726, -0.0401891321, -0.0271431636, 0.0817220509, -0.0071645621, 0.011436753, 0.0225327294, 0.0266529098, -0.0224667881, -0.0000880614, 0.0217836667, 0.0072598513, -0.0277227107, -0.0173657555, -0.0170570165, -0.0599143356, -0.005822727, 0.0333993211, -0.0068456749, 0.0098158149, 0.0210492685, 0.0892428085, 0.0016268506, -0.0050233612, -0.0510366261, 0.0164086279, 0.0107604368, -0.021647647, -0.0034578582, -6.416529219e-33, 0.0021684209, 0.0419697389, -0.0008592546, -0.0137570351, -0.0177474152, 0.0105140172, -0.0264665876, 0.00335606, -0.0431390777, 0.0033267988, -0.0014246391, 0.0128161032, 0.0173099674, 0.0553486273, 0.011023677, -0.001966438, 0.0599776544, 0.0082324119, -0.012012464, 0.0284308922, 0.0248377379, 0.0553434417, 0.0814985782, -0.0244945586, 0.006617839, -0.0332670324, -0.0219741911, 0.0247798059, -0.0263724476, 0.0733283609, -0.0372107811, 0.0481605791, 0.0027879816, -0.0228722058, -0.0209549088, -0.0350547247, -0.1090833023, -0.0161148831, 0.0060552475, 0.0542990416, -0.0269038025, -0.0120274406, 0.0362608954, -0.0048428248, -0.0249522496, 0.0126156826, 0.0099749323, -0.0042729764, -0.0023377871, -0.0038413242, -0.0667477176, 0.0109692179, 0.0318158902, 0.0029215629, 0.0408384278, 0.0692748353, -0.000563144, -0.0296869185, -0.0689871535, -0.0018041686, -0.0252835378, 0.0430114493, 0.0764561594, 0.0338981189, 0.008868942, 0.056417156, 0.0536175556, 0.0066613234, 0.0031072814, 0.0342973247, 0.0795321167, 0.018475404, 0.0561631285, 0.075419113, 0.0225157719, -0.0076452773, -0.0730482712, -0.0018499056, 0.0244946051, -0.0131274424, 0.0128087783, 0.0098444205, -0.00836452, -0.0225178674, -0.0577708371, -0.0362557285, -0.0206335206, -0.0186508447, 0.0327863619, 0.0274920668, 0.0225406121, -0.0277574547, 0.064551495, -0.0102413362, -0.0365476273, 0.0161442086, 0.0118766464, -0.0089791948, -0.0209583156, 0.0903746039, -0.0501809418, -0.0510875322, -0.0130709829, -0.0013167545, 0.0165931266, 0.0040187845, 0.0546516366, 0.011737315, -0.047701925, 0.0075376458, -0.0558577366, 0.0418752171, -0.0100798747, 0.053096924, 0.0516974404, -0.0120493798, -0.0075214216, 0.0672068074, 0.019157378, -0.0056765885, -0.040382769, -0.0295831226, 0.0185357984, 0.0484759696, -0.0236420389, 0.0127990218, -0.0608547181, -0.0275095664, 0.0252468158, -0.068691507, -0.0400079302, 0.0159269478, 2.651e-7, 0.0482415445, -0.0037920712, 0.027811652, 0.0248884298, -0.0058361753, 0.0185762085, -0.0559797809, 0.0380419083, -0.0098447669, 0.0105440235, -0.0413270369, 0.0333631895, 0.0796591863, 0.0358993709, -0.084623307, 0.00227871, -0.0498171523, 0.0226925593, -0.0391381495, -0.0128395688, -0.0147505896, 0.1266647875, 0.0024445581, 0.015383143, -0.0007949576, -0.0241594128, 0.0620249249, -0.0360035524, -0.0138090067, 0.0118072247, 0.0075167948, 0.0542629026, -0.0172774661, -0.0220678672, -0.0169415213, -0.0187930632, 0.0191703141, 0.0584047958, -0.0013202305, -0.0083596492, 0.0309244152, -0.042828694, -0.038236659, -0.0710602328, 0.0321372487, -0.0243099052, 0.0106572956, -0.0383751951, -0.0110174986, 0.0007817911, 0.0676272139, -0.054884728, -0.0222911239, 0.0389360636, 0.0431138091, 0.0022672634, -0.0290496685, -0.0679805204, -0.0558552891, -0.0133551285, -0.0348813795, -0.0161741804, 0.005601509, 0.0245750472, -0.0168456212, -0.0341919251, 0.0238398965, 2.571491008e-34, 0.0480796136, -0.001311159, 0.0051471819, 0.0172208641, 0.0489906147, -0.0456663594, -0.0115176868, -0.0149225127, -0.0359607339, -0.0330592729, -0.0202147011 ]
http://arxiv.org/abs/2402.00746v6
http://arxiv.org/pdf/2402.00746v6
Health-LLM: Personalized Retrieval-Augmented Disease Prediction System
2024-02-01T16:40:32
2024-03-19T22:12:19
Mingyu Jin, Qinkai Yu, Dong Shu, Chong Zhang, Lizhou Fan, Wenyue Hua, Suiyuan Zhu, Yanda Meng, Zhenting Wang, Mengnan Du, Yongfeng Zhang
cs.CL
cs.CL
Recent advancements in artificial intelligence (AI), especially large language models (LLMs), have significantly advanced healthcare applications and demonstrated potentials in intelligent medical treatment. However, there are conspicuous challenges such as vast data volumes and inconsistent symptom characterization standards, preventing full integration of healthcare AI systems with individual patients' needs. To promote professional and personalized healthcare, we propose an innovative framework, Heath-LLM, which combines large-scale feature extraction and medical knowledge trade-off scoring. Compared to traditional health management applications, our system has three main advantages: (1) It integrates health reports and medical knowledge into a large model to ask relevant questions to large language model for disease prediction; (2) It leverages a retrieval augmented generation (RAG) mechanism to enhance feature extraction; (3) It incorporates a semi-automated feature updating framework that can merge and delete features to improve accuracy of disease prediction. We experiment on a large number of health reports to assess the effectiveness of Health-LLM system. The results indicate that the proposed system surpasses the existing ones and has the potential to significantly advance disease prediction and personalized health management. The code is available at https://github.com/jmyissb/HealthLLM.
Health-LLM: Personalized Retrieval-Augmented Disease Prediction System: Recent advancements in artificial intelligence (AI), especially large language models (LLMs), have significantly advanced healthcare applications and demonstrated potentials in intelligent medical treatment. However, there are conspicuous challenges such as vast data volumes and inconsistent symptom characterization standards, preventing full integration of healthcare AI systems with individual patients' needs. To promote professional and personalized healthcare, we propose an innovative framework, Heath-LLM, which combines large-scale feature extraction and medical knowledge trade-off scoring. Compared to traditional health management applications, our system has three main advantages: (1) It integrates health reports and medical knowledge into a large model to ask relevant questions to large language model for disease prediction; (2) It leverages a retrieval augmented generation (RAG) mechanism to enhance feature extraction; (3) It incorporates a semi-automated feature updating framework that can merge and delete features to improve accuracy of disease prediction. We experiment on a large number of health reports to assess the effectiveness of Health-LLM system. The results indicate that the proposed system surpasses the existing ones and has the potential to significantly advance disease prediction and personalized health management. The code is available at https://github.com/jmyissb/HealthLLM.
[ 0.0622438528, 0.060057912, -0.0179050285, -0.0307288375, 0.011773238, -0.00147374, -0.0003428992, 0.0415938012, 0.087533623, -0.0027975235, 0.0047548097, -0.0192328934, -0.0190132596, 0.0792957544, -0.0259897672, -0.042562291, 0.0369715951, 0.0352208428, 0.0378150456, 0.0174262002, -0.0113039035, 0.0091621382, -0.002494456, 0.0651992485, 0.0092093702, 0.0078793429, 0.0281475168, -0.0325850509, 0.0263274647, -0.0609420575, 0.0016436555, -0.0013823338, -0.0338431112, -0.0187483076, 0.0000020023, -0.0575642847, -0.0327303894, 0.0181305651, 0.0060846247, -0.0744574368, 0.0410960875, -0.0330891535, 0.0061988547, 0.0121474974, -0.0519936942, -0.0300505552, 0.0255466793, 0.054807689, 0.0548572466, 0.0602974296, -0.0138010364, -0.0161499735, 0.0112511553, -0.0051726666, 0.0599486381, -0.0351560526, 0.0501974188, -0.0011482743, 0.0429615267, -0.0436150096, 0.0262177866, 0.0548350401, -0.0324920565, 0.0347455479, 0.0331865773, 0.0563788973, -0.010358464, -0.0346276723, -0.014996035, 0.0344690904, -0.0073602567, 0.0004306972, 0.0255450401, 0.0128891906, 0.0102836695, 0.0103508234, -0.0235781595, -0.0473571569, -0.0298375748, 0.0169639289, 0.0173779372, -0.0099596502, 0.0303056501, 0.0005637922, -0.0159772746, 0.0358589664, -0.0113648456, -0.0220547114, -0.0035538655, -0.0249371752, -0.0036539955, -0.0311632287, 0.0349220149, 0.0623931549, -0.0517639965, -0.0116267493, 0.0128526734, -0.058561556, 0.0959270075, -0.0521165356, 0.0115933288, -0.0008831046, -0.0160472021, 0.0202771313, 0.0186717473, 0.0008467462, -0.0094999531, -0.016499294, -0.0481608957, 0.009198321, -0.0802899227, -0.021010166, -0.0102001606, 0.0498600416, 0.0315274261, 0.0136701837, -0.080068551, -0.0238956027, -0.0377740525, 0.0204941984, 0.0406322405, 0.0749057233, -0.0205505062, 0.0167103019, -0.0336395241, 0.0201950967, -0.0155180758, 0.0009986281, -0.0060839015, -0.0191926025, 0.0436802171, -0.0173701718, 0.0182662364, -0.0014501762, 0.0540939011, 0.0386863351, 0.0255538337, -0.0377125069, 0.0097918827, -0.0616777353, -0.0230135769, -0.0149580417, -0.0302136242, -0.0715884939, 0.0352752022, -0.0050653368, -0.0000253688, -0.0477306433, 0.0186191015, 0.0132882027, -0.0483680405, 0.022291759, -0.0377609022, 0.0140585154, 0.0590928085, 0.0115756541, 0.0158079993, -0.0029605965, 0.0073011946, 0.0208558999, 0.0132231936, -0.004706753, 0.0272989888, 0.0119947577, 0.0196103118, -0.0367678702, 0.0321341269, 0.0160512701, -0.0018362736, 0.0488865264, -0.0696374774, 0.0596993566, 0.0328929797, 0.0005409421, 0.0243918803, 0.0491377451, 0.0645866618, 0.0227403697, 0.0075549022, -0.0078971516, -0.0068600592, -0.047206156, 0.024023179, -0.0051707295, -0.0629033148, 0.0013175693, -0.0097531928, 0.0317629762, -0.0251435265, -0.0563011356, -0.0375281759, -0.0246355962, -0.005160172, 0.0034069635, 0.0427655056, -0.0273964107, 0.0036628612, 0.0492963269, 0.0448677465, -0.0288528316, -0.0245873854, -0.0675170198, 0.0111278985, 0.0986724272, 0.0483851619, -0.0589177981, -0.0089055067, 0.0111290291, -0.0431039557, -0.0501688458, 0.0222696085, -0.0206987876, 0.0036875827, -0.0240654983, 0.0053833183, 0.0744137019, 0.0045175338, -0.0351241864, -0.011415679, 0.0389119759, -0.0101645514, 0.0052097715, -0.0343262777, 0.0200097691, -0.0521965697, -0.0171700008, 0.0115029896, 0.009797046, 0.0337965339, 0.0195930284, 0.0138923982, 0.038633883, 0.0445256382, -0.0642926991, -0.0522687845, 0.0034239672, -0.0022607413, -0.0136281746, -0.0001175939, 0.0252118502, 0.0504208133, -0.0243110247, -0.0268797353, -0.0238691196, -0.0283824764, -0.0472979844, 0.0187296122, -0.0252108239, 0.0043658395, 0.0267545842, -0.0015161181, -0.0464030392, 0.0369419307, -0.0153375175, -0.0289863404, -0.0251126215, -0.0792952925, -0.0096949758, -0.044030644, -0.0167576913, 0.0208773073, -0.0002637377, 0.0155792236, 0.0165702011, 0.0021788457, -0.0238793902, -0.0084857317, -0.1385587901, 0.0124860546, 0.0199513845, -0.0143586639, 0.001915523, 0.0368030258, -0.0112369228, -0.0338042676, -0.0640685484, -0.0150266057, 0.0545537584, 0.0062286435, 0.037087936, 0.0707579404, 0.0008131007, -0.0399221741, 0.0083200186, -0.0375787318, 0.0287508704, 0.0076322658, -0.0170260929, -0.0058202217, 0.0069587049, -0.0782666653, 0.0126813715, 0.027520068, -0.012134538, -0.0273035765, -0.0608331524, -0.0133781722, 0.0265366249, -0.0019628711, 0.0171465501, 0.0683060139, 0.0117386859, -0.0502248444, 0.0318708047, -0.0630532131, -0.0086197788, 0.0128606074, -0.052036304, 0.015307812, 0.0302337445, 0.0392638966, 0.0088453395, -0.0646556541, 0.0383784957, -0.0039932332, 0.0321819335, -0.0644483194, 0.0355567597, -0.0246688463, 0.0345333368, -0.0109366328, -0.0512273572, 0.1016636342, 0.0015216703, 0.0516932756, -0.088497974, -0.0181219485, -0.0425683521, 0.0206637662, -0.0064071706, 0.0391372554, -0.0020637093, 0.0102010602, 0.0141680492, 0.0204074346, -0.0110480068, -0.1033623442, 0.0249154642, 0.0000168708, 0.0273335185, 0.0473306924, -0.0303029735, -0.0380268358, -0.0304411203, -0.0330190919, -0.011269032, -0.0182389282, 0.0249967799, -0.0589122847, 0.0165848825, -0.0012801576, 0.0375748388, 0.0267477036, -0.0152365314, 0.0415100008, -0.0066809966, 0.0519882329, 0.0124652861, -0.0335786641, 0.0062034451, 0.0173441488, 0.0562198311, 0.009335598, 0.0168813299, 0.0347443558, 0.0192386527, 0.0203864817, -0.0418068692, -0.0057121301, 0.0193282031, -0.0047755302, -0.0551969372, 0.0003132653, 0.0990534052, 0.0671603307, -0.0614023358, 0.0175012294, -0.0360243693, -0.0143578257, -0.0163283274, 0.0459353775, -0.0566909425, -0.0265830476, -0.0111928685, 0.0455461107, -0.0339439027, -0.0258412361, 0.0198847428, -0.0299297236, 0.0045969896, -0.0015654205, -0.0281855501, -0.0616023391, -0.0347106159, 0.004774204, 0.0019091858, -0.0485379845, -0.0116993906, -0.0156871527, -0.0050067799, -0.0004471594, -0.0594431572, -0.0677271783, 0.0414880328, -0.0125965355, 0.0073891319, 0.1274106503, 0.0511144102, 0.0144625735, -0.040869873, -0.0577660799, 0.0585859753, 0.038211789, -0.0424918681, 0.0835851207, 0.0262119547, 0.0033728215, -0.0635114461, 0.0116406968, -0.0204728246, -0.0174070057, 0.0177293699, 0.0966320112, -0.0411656648, -0.0287475456, -0.0568780899, 0.0084659113, 0.0220123343, 0.0561555251, -0.0231735818, -0.0163580384, -0.012677066, 0.0242692586, 0.021150697, 0.034218885, -0.0449991636, 0.0490739197, -0.0527331904, -0.0203227513, -0.0865880176, -0.0253672805, 0.0348887742, -0.0341294482, 0.0119628133, 0.0134887267, -0.0005986909, 0.0119224247, -0.0613046475, 0.0297161024, 0.0465020388, 0.0028542667, -0.0418531448, -0.0265835114, 0.0691719428, -0.0315283127, -0.012681297, 0.0078692334, -0.0249499958, -0.0058350889, 0.0190962143, 0.0384847559, 0.017691724, 0.0052090837, -0.0049263905, -0.013981916, 0.0804530233, 0.0576356687, -0.0553107299, -0.0259947628, -0.0250397287, -0.0305624902, 0.0028581282, 0.0293119662, -0.0390996858, 0.0186550822, -0.0154745579, 0.0274251774, -0.0133560887, -0.0209479798, 0.0155515084, 0.0596095063, 0.0415763333, 0.0082149943, -0.0400563441, -0.0281781144, 0.0182882361, -0.0106314728, -0.0044590463, -0.022406159, 0.0088159982, 0.0083456999, -0.0182701349, 0.004948034, 0.0490502045, -0.0359631293, -0.0269062482, -0.0418873392, 0.0410208404, -0.0200525485, 0.0167911071, 0.0656239316, -0.0031890285, 0.0162693784, 0.0254709758, 0.0078801839, 0.0172693413, -0.0259598587, 0.0363690071, -0.0259046331, 0.0148495082, -0.0299202036, 0.0524628349, -0.0373170003, -0.0544265732, -0.0204463191, 0.0184400547, 0.0351378731, -0.0022896999, 0.0421890505, -0.0256104805, -0.0139373206, -0.0301199742, -0.0168577693, -0.0141426688, 0.0076282616, 0.0188428536, -0.0043646311, -0.0360271186, -0.0378649943, 0.0743535161, -0.0175381023, 0.0143048, -0.0101856189, -0.0754086748, -0.0404477715, 0.0032582025, 0.041761443, 0.0251249745, -0.0813820213, -0.0165665466, -0.0543521158, -0.0299481153, 0.0587028526, -0.0233961567, -0.037219651, -0.0071390891, 0.0534685589, 0.0541328155, 0.0015189034, -0.0145785967, -0.0410850048, 0.0336239785, -0.0869332552, -0.0274783671, 0.0126241585, -5.892638203e-33, -0.0003005145, -0.0267614946, 0.037258856, -0.0226581618, 0.0326033272, 0.0016693524, -0.0034440556, -0.0119746439, 0.0166341607, 0.0131018087, -0.0031418633, -0.0164470356, -0.0044557173, 0.0132705094, 0.0102648679, -0.0230731461, 0.03975695, 0.0181887969, -0.0072591528, 0.0220885705, 0.0251746811, 0.085121423, 0.0082678832, -0.0785016865, -0.0045852452, -0.0126777925, 0.0211023763, 0.0282195248, -0.0056669149, 0.0576400571, -0.0382675007, 0.0667531788, 0.0371601954, 0.0026918561, 0.0099175144, -0.0117748706, -0.0357228592, -0.0276218615, -0.031097047, -0.0552211031, -0.0151503319, -0.0294054672, 0.0537854955, -0.0138875172, -0.0454096533, 0.0133515568, 0.0501058921, -0.0563660413, -0.0144376215, -0.0567592047, 0.0019239406, 0.0242757034, 0.021158278, 0.019833114, -0.0193859339, 0.0242930185, -0.0174970981, 0.056928467, -0.0145496773, -0.0069949133, 0.0063330201, 0.0404891111, 0.0182705708, -0.0182694066, -0.0165269282, 0.0546307042, 0.0268353075, -0.0184152201, -0.0522066206, 0.0220274273, -0.0380988419, 0.0378356092, 0.0319002941, 0.0182169192, 0.0193674527, -0.0424731858, -0.07598681, 0.0876339227, -0.0602350384, 0.0329084024, 0.0087477025, -0.0073713749, -0.0297311507, 0.0107913557, -0.0230483785, 0.0475387722, -0.0498222373, -0.0475314371, 0.0289981402, 0.0150716389, 0.0158495307, 0.0154981473, -0.0287673119, -0.0202605817, 0.009398994, 0.0100035574, 0.0114049083, -0.020761909, -0.0384363905, 0.0021575976, -0.0280255359, 0.0091512715, -0.001822402, -0.0378917195, 0.0166857876, 0.02310903, 0.0218712222, -0.0491549708, -0.0386325829, -0.0106474711, 0.0479435325, 0.0009639819, -0.022877859, 0.0145710567, 0.0127401873, 0.038687665, -0.005327052, 0.0789413378, 0.0329626277, 0.0344704352, -0.0823512971, -0.0419417247, 0.0367060117, -0.0229584556, -0.0304633062, 0.004870493, -0.0598219782, 0.0470248014, 0.0425846279, -0.0343405604, 0.0025664314, 0.007092671, 2.82e-7, 0.077145949, 0.0475999042, -0.0182073209, -0.0312822647, 0.0089004645, 0.0225961097, 0.0026203322, -0.0002484883, 0.0142875686, 0.0414770953, 0.045442611, 0.0225006919, 0.0187639315, 0.0696741343, -0.0661269799, -0.0145180663, -0.0699985549, -0.0495902263, -0.0534621961, -0.0165721681, 0.0586061813, 0.0617455728, -0.0216858052, -0.0410177447, 0.0591423176, -0.0090347519, 0.0270419139, -0.0216368679, -0.0360120721, 0.0254455749, 0.0246765874, 0.0147914505, 0.018341098, -0.013117224, -0.0303596184, -0.0155754909, -0.0063547306, 0.0586025566, -0.0523903146, -0.0155443689, 0.0153775206, 0.0272773709, 0.0264744535, -0.0016452544, 0.0746823028, -0.0136300484, -0.033674553, -0.0146512203, 0.0079816822, -0.0123490514, 0.0372867323, -0.0369667597, -0.043496456, 0.0362148359, 0.0067137629, 0.025031101, -0.0029385944, -0.0612643138, -0.0321221165, 0.0367756113, -0.042435348, -0.0484898016, 0.020985093, -0.0089379791, -0.0390444286, -0.0883211121, 0.0322851315, 2.542490966e-34, 0.0136642344, 0.0412374996, -0.0055952095, -0.0118153654, 0.0400175788, -0.0051993108, -0.003084355, 0.0253869612, 0.0107743042, -0.0750784054, -0.019705398 ]
http://arxiv.org/abs/2402.00745v1
http://arxiv.org/pdf/2402.00745v1
Enhancing Ethical Explanations of Large Language Models through Iterative Symbolic Refinement
2024-02-01T16:39:51
2024-02-01T16:39:51
Xin Quan, Marco Valentino, Louise A. Dennis, André Freitas
cs.CL
cs.CL
An increasing amount of research in Natural Language Inference (NLI) focuses on the application and evaluation of Large Language Models (LLMs) and their reasoning capabilities. Despite their success, however, LLMs are still prone to factual errors and inconsistencies in their explanations, offering limited control and interpretability for inference in complex domains. In this paper, we focus on ethical NLI, investigating how hybrid neuro-symbolic techniques can enhance the logical validity and alignment of ethical explanations produced by LLMs. Specifically, we present an abductive-deductive framework named Logic-Explainer, which integrates LLMs with an external backward-chaining solver to refine step-wise natural language explanations and jointly verify their correctness, reduce incompleteness and minimise redundancy. An extensive empirical analysis demonstrates that Logic-Explainer can improve explanations generated via in-context learning methods and Chain-of-Thought (CoT) on challenging ethical NLI tasks, while, at the same time, producing formal proofs describing and supporting models' reasoning. As ethical NLI requires commonsense reasoning to identify underlying moral violations, our results suggest the effectiveness of neuro-symbolic methods for multi-step NLI more broadly, opening new opportunities to enhance the logical consistency, reliability, and alignment of LLMs.
Enhancing Ethical Explanations of Large Language Models through Iterative Symbolic Refinement: An increasing amount of research in Natural Language Inference (NLI) focuses on the application and evaluation of Large Language Models (LLMs) and their reasoning capabilities. Despite their success, however, LLMs are still prone to factual errors and inconsistencies in their explanations, offering limited control and interpretability for inference in complex domains. In this paper, we focus on ethical NLI, investigating how hybrid neuro-symbolic techniques can enhance the logical validity and alignment of ethical explanations produced by LLMs. Specifically, we present an abductive-deductive framework named Logic-Explainer, which integrates LLMs with an external backward-chaining solver to refine step-wise natural language explanations and jointly verify their correctness, reduce incompleteness and minimise redundancy. An extensive empirical analysis demonstrates that Logic-Explainer can improve explanations generated via in-context learning methods and Chain-of-Thought (CoT) on challenging ethical NLI tasks, while, at the same time, producing formal proofs describing and supporting models' reasoning. As ethical NLI requires commonsense reasoning to identify underlying moral violations, our results suggest the effectiveness of neuro-symbolic methods for multi-step NLI more broadly, opening new opportunities to enhance the logical consistency, reliability, and alignment of LLMs.
[ 0.0486272722, 0.0966747478, -0.0355758965, 0.0595077388, -0.0737259388, 0.010569145, 0.0391711481, -0.0279151388, -0.0012345474, -0.0212659687, 0.0208041053, 0.0201635156, 0.0206624735, 0.0043954155, 0.0289122947, -0.0165866744, 0.0318811648, -0.0014651694, 0.0376887508, -0.0060281558, -0.0011932568, 0.0694181025, 0.0373607837, 0.0120526208, 0.0028044807, 0.0053648874, -0.0180825312, -0.003890367, 0.0184680764, -0.000618092, -0.022996746, 0.0155068422, 0.0721672922, 0.0482119992, 0.0000020208, -0.0499677956, 0.0057788878, 0.0466520339, -0.0419670604, 0.0211530365, 0.0446550548, -0.03356345, 0.0240890738, 0.0008557707, 0.0104914522, 0.0503055826, 0.0413007103, 0.0640155897, 0.0482552275, 0.0437819846, 0.0121257296, -0.025690116, 0.0327705927, -0.0124788033, -0.048571486, -0.0112213837, 0.0426446125, 0.0036022407, -0.0209145602, -0.0012874581, -0.0043545798, 0.0280901343, 0.0813508481, -0.0129866265, -0.0592986904, -0.0161287244, -0.0082386564, -0.0209165793, -0.0080698254, 0.0300977603, -0.0025065071, -0.0459584817, 0.011039488, 0.0253537409, 0.0041752867, 0.0018676649, -0.0219829567, 0.0799623951, -0.0391067266, 0.0104069309, 0.0543602295, -0.0061284914, 0.0626781136, 0.0721947551, 0.0219649673, 0.0242652595, -0.0188712087, -0.0215984751, 0.001075147, -0.0131188063, -0.0247658733, -0.0288024507, 0.0299925953, 0.0419160686, -0.034327358, 0.0533407591, 0.0152403945, 0.0111924624, 0.0345856212, -0.0283101555, 0.0321650431, 0.0431724116, 0.0251368284, 0.0167803112, -0.0194073282, 0.0061729383, -0.0427189134, 0.0536193252, -0.0245841388, -0.0123951146, -0.0263733789, -0.0423583947, -0.0102140782, 0.0181297604, -0.036329601, 0.0282147694, 0.0245565381, -0.0173787661, -0.0451797098, -0.0051850495, -0.0198391993, 0.0364699289, -0.0009986581, -0.0262893252, -0.0335992947, 0.0129084764, -0.0498532057, 0.0425427034, 0.0291534457, -0.0104143741, -0.0228291545, -0.0404924043, -0.0412772819, -0.0052145915, 0.0139918178, 0.089511402, 0.0166535061, 0.0265689585, -0.0513773449, -0.0450092554, -0.0151467919, -0.068317242, -0.0224266816, -0.051865302, 0.0313267447, -0.0255118422, -0.0405971482, -0.0564642325, 0.0283972323, 0.0030777839, -0.0333924443, 0.0697653368, -0.0172535125, -0.0049674115, 0.0203757752, 0.0353080519, -0.0108480901, 0.0362465195, 0.0407636911, 0.0172602106, 0.0025559985, 0.0076867933, -0.0030337053, -0.013061258, 0.0318260416, 0.0144215329, -0.0462595709, -0.0118186772, -0.0448996238, 0.0439536013, 0.0286507234, 0.0391465053, -0.0163279939, -0.0250583403, 0.0358267352, 0.0717788935, -0.0020639999, 0.0144266132, 0.0515691116, -0.0185027625, -0.0116067845, -0.0138625037, -0.087827757, 0.0308736973, -0.0136119099, -0.0203438308, -0.081439279, 0.0679505989, 0.0063693267, -0.0631408691, 0.0273104049, -0.0009193926, 0.0534665994, 0.0186524522, 0.0284887608, 0.0181442667, 0.0020769024, 0.0207330901, 0.0575675853, -0.0545143969, -0.002774548, -0.0472115465, 0.0449715741, 0.0582448877, 0.0487507917, 0.0102780228, -0.0075806314, -0.0655179173, -0.01833825, 0.0382755436, -0.030159466, -0.0108533595, 0.0235342495, -0.0266273804, -0.033528477, -0.0464367867, 0.0231863037, 0.0098562045, 0.0191458538, -0.0283693261, 0.0288642701, -0.0396122113, -0.0296060294, 0.0495976731, -0.0331824981, 0.0180705748, -0.0311889295, 0.0241563823, 0.0170198753, 0.0001454444, 0.0161924325, -0.0178372972, 0.0052076192, -0.004970232, -0.0173036698, 0.0214836355, -0.0382628702, -0.0309845153, 0.0374619104, -0.0530042388, -0.0208213441, 0.038673684, -0.0676319674, 0.0159059223, 0.0110221757, -0.0511234812, -0.0103485361, -0.0670997798, -0.0252610538, -0.0613341182, -0.0367713384, -0.0109286038, 0.0737173185, -0.0192018896, -0.0222239979, 0.0031251123, -0.0000844076, 0.0190189052, -0.0149456933, 0.0207084361, 0.0139524015, -0.0317979269, -0.0042793071, 0.0046088351, 0.0204213075, -0.0152198561, -0.0048577562, -0.0473265052, 0.0065649231, 0.0009244007, -0.0162556767, -0.0136725549, -0.0175529122, 0.0176290758, 0.0077334833, 0.0139854355, -0.0102763018, -0.0072398772, 0.0027086223, 0.0203872547, -0.0256044548, -0.0647776648, 0.0111474935, -0.0091779884, -0.054315988, 0.0571981445, 0.0284542087, 0.0074603441, -0.0405469462, -0.0146877831, -0.065292038, 0.008863884, 0.0033760222, -0.0162160099, 0.0178740304, 0.0657765865, -0.0454979092, 0.0726651847, 0.0187278874, 0.0420734249, 0.0386990532, 0.0367509127, -0.0488288663, 0.0021192173, -0.0012750729, 0.0178070869, -0.0272208918, -0.0450676605, -0.0138697429, 0.0618987828, -0.0057826666, -0.008089371, -0.0286121909, 0.0405988134, -0.0395571105, -0.0646708682, -0.0213934127, -0.0916337594, 0.0095664216, 0.0463085398, -0.043212425, -0.0642780513, 0.1139770746, 0.0199526697, 0.0317511223, -0.0206099488, -0.0223677848, -0.040697854, 0.0783746466, -0.0285941288, 0.049145069, 0.0310294125, -0.0078201676, -0.0136940349, -0.0296675302, 0.0515095368, -0.0110749248, 0.0587851033, -0.0714612827, -0.0053484342, 0.0307842847, -0.0534540229, -0.0340377949, -0.0485029183, -0.0353020988, -0.0153506454, -0.020610515, 0.0097375633, 0.008622651, 0.0011470198, 0.0369099528, -0.0190193877, 0.0180488024, 0.0080223316, -0.0287364889, -0.0408724956, 0.013093926, -0.0107820015, 0.0637703538, 0.0224235728, 0.0244707782, 0.0336872935, -0.0044492874, 0.0155343106, -0.024878988, 0.055754222, -0.0203988813, -0.0193317793, 0.0263107978, 0.0151653662, 0.0098986384, -0.0656380579, -0.0099701174, 0.0904853716, 0.0082855858, -0.0256780591, 0.0355536155, -0.0300758202, -0.030757308, 0.0015734517, 0.0149514582, -0.0970301926, -0.0220604222, 0.0145559488, -0.0105805527, -0.0436913408, -0.0446219333, -0.0145823266, -0.0973766148, 0.0252408832, 0.0218933094, -0.0455319434, 0.0125351408, -0.0684267431, -0.0039967224, -0.0161170997, 0.0180189349, 0.0144222463, 0.0087326728, -0.0218157191, -0.0032396305, 0.0226516016, 0.0098908078, 0.0519912951, -0.0474530421, 0.0378338806, 0.0302908812, 0.033592198, -0.0141827874, -0.0271938965, 0.0201952402, -0.0005000317, 0.0071076266, -0.0054797996, 0.006628905, -0.0104610361, 0.0077292258, -0.062603943, 0.040679317, -0.0106040118, -0.0722346306, -0.0076785111, 0.0847143456, 0.0133860819, -0.0175340008, -0.0041965377, 0.004695463, -0.0033423509, 0.0717501268, 0.0225318465, -0.0106907422, -0.023234101, -0.0350403748, -0.061795231, 0.011849748, -0.0141641451, -0.0040685479, 0.0151029415, -0.0032715132, -0.0162511859, -0.02000992, 0.0025717148, 0.0043581468, 0.0357153043, -0.0207523927, 0.0271386653, -0.0191032123, -0.0150750075, 0.0319830775, -0.0431907028, 0.0188591201, 0.0460643247, 0.0661732107, -0.0326438732, -0.0229480229, -0.0057002753, 0.0401957221, 0.0062210066, -0.0322828777, -0.0098710842, 0.039309755, 0.0187506787, 0.0695685521, -0.0307679102, -0.004120369, -0.0172819868, 0.0526982322, -0.0240310933, 0.0039620162, 0.0409903042, 0.0058336523, 0.0208222251, 0.0315489247, -0.0246587414, -0.0142557025, 0.016720064, 0.0487165749, -0.0423979275, 0.0008241945, 0.0606290027, 0.0262823012, -0.0272315815, -0.035781879, -0.0225230753, -0.0387865156, -0.0139871798, -0.0223851204, -0.0472180247, -0.02431974, 0.0396574549, 0.0478544496, -0.0028963597, -0.0261795241, -0.0211116001, -0.0004138688, -0.0133659802, -0.0010102422, -0.0212835502, 0.0230504107, 0.0221376065, -0.0263609085, 0.0074427528, -0.036662478, 0.007617095, -0.0247023683, 0.056395188, -0.0240822472, 0.0702403039, 0.0624127723, -0.0060955957, -0.0539490841, -0.0065159174, -0.0467270128, -0.020237362, 0.0258562025, -0.0278738886, -0.0074887048, 0.006395686, 0.0223814826, 0.0032983243, -0.0065519502, 0.0396386832, 0.0402846411, -0.0073894104, -0.0618237741, 0.0206771903, 0.0116361855, -0.0184577424, -0.0017874925, 0.0242433771, -0.0111309001, 0.0469395928, 0.014979166, -0.0269416366, 0.004024507, -0.0659072176, 0.001404649, -0.0252049454, -0.0144331129, -0.0231074821, -0.0723341703, -0.0799066052, -0.056627959, 0.0188209992, 0.0121392095, -0.0229240078, -0.0051341411, 0.0656720847, 0.0248515233, -0.0739912987, -0.0030327162, 0.0165253673, -0.0084271245, -0.0172639173, -0.0499921739, -5.44350826e-33, -0.0158573445, -0.0459448099, 0.0061584697, -0.0079333745, -0.0291804764, -0.0168187078, -0.0454818085, -0.0318892486, -0.0250580739, 0.0703429505, 0.0031794526, 0.0283634178, 0.0059543876, -0.006811073, -0.0081776856, -0.0463915132, -0.0015019329, 0.0389978625, -0.0222859625, 0.0037414418, 0.0000646302, -0.0055072773, 0.0370469242, -0.0797507465, 0.0552909151, 0.0285796896, -0.0154511128, 0.0528317466, -0.0737137422, 0.0022359695, 0.0110427653, 0.0411769003, 0.0216783043, -0.03208239, 0.0394245498, 0.0274879336, -0.0484900773, 0.0099622365, 0.0935990587, -0.0387331359, -0.0549048968, -0.062756218, 0.0522093065, 0.0116877379, 0.0006989953, -0.0121797938, 0.0293183234, -0.0298351031, 0.0101337684, -0.022974018, -0.0863720402, -0.0245297626, -0.0469496883, -0.0201802421, -0.0634004623, 0.0204154998, -0.0393144153, -0.0060635647, -0.0198970605, -0.0305222496, 0.0312365089, -0.0751957148, 0.0819811076, -0.0321874879, 0.0070666079, 0.0535017848, -0.0174666084, 0.0088580064, -0.0924474448, -0.0014903203, -0.0041742893, 0.0688321516, 0.0864730626, 0.0222523473, 0.0058641639, 0.0272403155, -0.0666211098, -0.022354804, -0.0076300874, 0.0782535225, 0.0264965612, -0.0086687272, -0.0234520193, -0.0332636163, -0.0665284619, -0.0342990607, -0.0263993219, -0.0336564295, 0.0200239457, -0.0081450809, -0.0492145009, -0.0056677368, -0.0123258345, -0.0823208764, 0.0277442709, 0.0329656713, 0.0551994108, -0.03278023, 0.0138177378, 0.0393346436, -0.0227679107, 0.0104506044, -0.0008036396, 0.0107552288, 0.0546860918, -0.0293875076, 0.0641255453, 0.0142333219, 0.0227473937, 0.0278522, -0.0687663332, -0.0003342832, 0.0084364181, -0.0136227543, 0.0318146907, 0.0436431579, -0.0273173917, -0.0182319582, 0.0401328877, 0.0129999761, -0.0265804399, 0.0401950479, -0.0266751684, 0.0159636177, -0.0118818153, -0.0012484565, -0.0326329134, 0.018295655, 0.0524709299, -0.0676861554, -0.0148543082, 0.0365071073, 2.658e-7, 0.027692901, 0.0133486185, 0.0359361619, -0.0046437508, -0.0113774315, 0.0372723937, 0.0219738465, 0.0089476714, 0.0086982111, -0.0727614909, -0.0001643352, 0.0905787125, 0.0548259281, 0.0160483811, 0.0311668832, -0.0127852419, -0.0655361414, -0.034743581, -0.0659417734, 0.0361650735, 0.0255697761, 0.0418911725, 0.0650300682, -0.0216900986, -0.0011815907, -0.034097787, 0.0606085211, -0.0427352861, 0.0071008746, -0.0141496677, 0.0091150999, -0.0357466377, 0.0481244847, -0.0089791454, 0.053193409, -0.0030525078, -0.0117477402, 0.0469196923, -0.0357363001, 0.0052945996, -0.0717429221, -0.074044846, 0.0093705701, -0.0775866359, 0.0593127273, -0.0499025434, -0.0273456201, -0.0240109582, 0.0119728176, -0.0362432227, 0.0093135154, 0.0212743953, 0.016818691, 0.0106633706, -0.0036173239, 0.0074603651, 0.0136899147, -0.0630611926, -0.0575815216, 0.0043328679, -0.0047074533, 0.0159880891, 0.0214877427, 0.0270467233, 0.0678630918, -0.0810246319, 0.0224422831, 2.337048762e-34, -0.0174764562, -0.0232100058, 0.0348873846, 0.0362529568, 0.0697210282, 0.0537501313, -0.0542074889, 0.0040452941, 0.0170565303, -0.0260877162, -0.0030360643 ]
http://arxiv.org/abs/2402.00744v1
http://arxiv.org/pdf/2402.00744v1
BATON: Aligning Text-to-Audio Model with Human Preference Feedback
2024-02-01T16:39:47
2024-02-01T16:39:47
Huan Liao, Haonan Han, Kai Yang, Tianjiao Du, Rui Yang, Zunnan Xu, Qinmei Xu, Jingquan Liu, Jiasheng Lu, Xiu Li
cs.SD
cs.SD, cs.CL, eess.AS
With the development of AI-Generated Content (AIGC), text-to-audio models are gaining widespread attention. However, it is challenging for these models to generate audio aligned with human preference due to the inherent information density of natural language and limited model understanding ability. To alleviate this issue, we formulate the BATON, a framework designed to enhance the alignment between generated audio and text prompt using human preference feedback. Our BATON comprises three key stages: Firstly, we curated a dataset containing both prompts and the corresponding generated audio, which was then annotated based on human feedback. Secondly, we introduced a reward model using the constructed dataset, which can mimic human preference by assigning rewards to input text-audio pairs. Finally, we employed the reward model to fine-tune an off-the-shelf text-to-audio model. The experiment results demonstrate that our BATON can significantly improve the generation quality of the original text-to-audio models, concerning audio integrity, temporal relationship, and alignment with human preference.
BATON: Aligning Text-to-Audio Model with Human Preference Feedback: With the development of AI-Generated Content (AIGC), text-to-audio models are gaining widespread attention. However, it is challenging for these models to generate audio aligned with human preference due to the inherent information density of natural language and limited model understanding ability. To alleviate this issue, we formulate the BATON, a framework designed to enhance the alignment between generated audio and text prompt using human preference feedback. Our BATON comprises three key stages: Firstly, we curated a dataset containing both prompts and the corresponding generated audio, which was then annotated based on human feedback. Secondly, we introduced a reward model using the constructed dataset, which can mimic human preference by assigning rewards to input text-audio pairs. Finally, we employed the reward model to fine-tune an off-the-shelf text-to-audio model. The experiment results demonstrate that our BATON can significantly improve the generation quality of the original text-to-audio models, concerning audio integrity, temporal relationship, and alignment with human preference.
[ 0.0157685783, -0.0056441003, -0.0053438474, -0.0143731991, -0.020860523, -0.0237833839, -0.0049972525, -0.027807124, -0.0480917357, 0.0182872284, -0.0677661151, 0.0129910214, 0.0214358997, 0.0402945988, 0.0027230105, -0.1175362021, 0.0042964979, -0.0468778051, 0.0178685356, 0.0204317421, 0.0141128134, 0.0309060756, -0.0322696231, 0.0262941048, -0.0390728489, -0.0300927442, -0.0161360968, 0.0460698269, 0.0253886245, -0.0245567132, -0.0461642034, 0.0509611666, -0.0038513707, 0.011188875, 0.000001592, -0.0415719785, 0.01692467, 0.0171985254, -0.0132998545, -0.0100941826, 0.0284379143, 0.0629008561, -0.0605764948, 0.0269784294, -0.0043558208, 0.0550826266, 0.0575341545, 0.0280956998, 0.0491924994, 0.0419542491, -0.0118699102, -0.0088305324, -0.0012707581, -0.0248982161, 0.0303216726, 0.0223732851, -0.0350397415, -0.0169275645, 0.0697663501, 0.0235671867, 0.0356732495, 0.0345482342, 0.02153695, -0.0105521465, 0.0507315286, 0.0530143529, -0.0180649851, -0.0213058498, -0.0374807045, 0.0754664838, 0.0268166568, -0.0153370127, -0.0173128024, -0.0171406083, 0.0470371172, -0.0123836808, -0.0266047698, -0.0114897303, -0.0188890249, 0.0064112721, -0.0514767244, 0.0337088667, 0.0336637422, -0.0385741033, 0.0552033819, -0.0030383952, 0.0311444234, -0.035060443, -0.0013088357, -0.0058130021, -0.0151073709, -0.0526138321, 0.0564152226, 0.0101505686, -0.0287861079, -0.0302399378, -0.0621703118, -0.0054264218, -0.0281603746, -0.0077442382, 0.0608825982, 0.0401230976, -0.0472412109, 0.0517592914, -0.0053900294, 0.031843327, -0.0184013732, -0.0029476574, -0.0237675607, 0.0201030802, -0.0053052288, -0.0235741939, -0.0163332801, -0.0089277271, -0.0421700813, -0.0409450196, -0.0239986833, -0.0134295514, -0.044695437, 0.0603924729, 0.0270715449, 0.0482296646, -0.0410912819, 0.0068417331, -0.0275512766, -0.0109191919, -0.0324145779, 0.067538999, 0.0567916408, 0.0110442583, 0.0042002918, -0.0025702079, 0.0175564457, -0.0066266963, 0.0161150433, 0.0618220419, -0.0172879081, 0.0091933245, -0.0042731003, -0.0310409907, -0.0391658507, 0.0165740568, -0.0678475797, -0.0668566599, 0.0471878685, -0.0190730281, -0.0360145234, -0.0196207166, -0.0108592333, 0.0236862004, 0.0005350088, 0.0638270527, -0.01191145, 0.0552981719, 0.0448759496, -0.0079542529, -0.025130799, -0.0039320178, 0.0920167267, 0.0554346777, 0.0207856651, -0.0010525279, -0.0089100916, 0.0588534251, -0.0027716055, -0.0191585459, -0.0302034859, -0.011108065, -0.0098232534, 0.072025843, 0.0403512456, 0.0539656132, 0.0016449369, -0.0068063037, 0.1033102944, 0.030038964, 0.0160459634, -0.0344334617, 0.0432335436, 0.0130630592, -0.0128344307, 0.0258000176, 0.0184398033, 0.0495591052, 0.0100358641, 0.0447955392, 0.0521757342, 0.0159396399, -0.0152193094, -0.03950895, -0.0018485596, -0.0164870489, -0.0055661574, -0.0027216563, -0.0057670348, 0.0341941603, -0.0598610789, -0.019368602, -0.0143321035, -0.0645405203, 0.037164744, -0.0148630012, 0.0809118748, 0.1286528111, 0.0430936962, -0.0271679014, 0.0529688969, -0.0349664837, -0.0158096626, 0.0702003911, 0.007607142, -0.042139288, -0.0188584495, -0.0272090584, -0.0281106513, -0.0045753834, -0.0340556428, 0.0272706579, -0.0192957018, 0.0183516815, 0.0111075733, 0.0207313169, 0.0000305336, 0.0082121985, -0.0028164068, -0.0481036119, 0.001654105, 0.0278586969, 0.0438350849, 0.0557230897, -0.0297835078, 0.0268833414, 0.0209869705, 0.0134331407, 0.0177786257, 0.046591673, -0.0680672079, 0.0283942148, 0.0336788334, -0.0478985012, 0.0326972902, 0.0173728168, 0.0234946422, -0.0525357127, -0.018500613, -0.0076042176, 0.0305454098, -0.0145994816, 0.037686877, 0.0204416122, -0.0253786817, -0.0037646249, -0.002861066, 0.0274410527, -0.0318928808, 0.0206636786, 0.0308609195, -0.0047379318, -0.0603374243, -0.0015224698, 0.0484680496, -0.0110984379, 0.0054183011, 0.0321413465, -0.0246145539, -0.0617585927, -0.0454012044, -0.0462856591, -0.0102044484, 0.0163086895, -0.0138042243, 0.0095315566, -0.0006762731, -0.0260262042, -0.0139113395, -0.0393516161, -0.0658615977, 0.017361626, -0.0114371385, -0.0218829755, -0.0098973438, 0.0115164034, -0.0564808473, 0.0242677797, 0.0133592365, -0.0330219232, 0.0093386574, 0.0103881089, -0.0356031694, 0.0007254336, -0.0134569984, -0.0079198256, 0.031890437, 0.0150570031, 0.0390187427, 0.0267073698, 0.0999782607, 0.0595812351, 0.0115782591, 0.0217673536, 0.0342345759, 0.005881208, -0.0660849512, 0.0188684314, -0.0096312398, 0.0308695156, -0.002197179, 0.0089868158, 0.0093689095, 0.0292406362, 0.0751020759, 0.0507115237, -0.0482710078, 0.010372485, -0.0126017742, -0.01638937, -0.0243571997, -0.069565095, -0.0522142164, 0.0478392541, -0.0390079431, -0.0526297577, 0.0630755648, -0.068454653, -0.0080111418, -0.020436503, -0.0197826177, -0.0067469599, 0.0378655829, -0.0515451431, 0.0129670324, 0.026575014, -0.0020534028, -0.0510467142, 0.0020480233, 0.054119233, -0.0584337041, -0.0081141219, -0.0099162413, -0.0181588642, 0.0109308772, -0.0350750275, -0.0278583616, -0.0208127052, -0.0127228722, -0.0018817654, 0.0046294271, -0.0183614846, 0.0060057174, 0.0176047068, 0.0262375809, 0.0296591576, -0.0159897357, -0.003798729, -0.0336452983, 0.0543582588, 0.0503216498, -0.0081789671, -0.0459876657, -0.0300615523, 0.016406266, -0.0226491746, 0.0300047752, -0.0032995711, -0.0350424498, -0.0053946399, 0.0254091714, 0.0049220761, -0.0111600496, 0.0514924154, 0.0241949074, -0.0320538953, 0.0136161232, 0.0972068682, 0.042652946, -0.0088646431, 0.0059210104, 0.0061967978, 0.0460753925, 0.0035492121, 0.0075831977, -0.0583938099, -0.0170800779, 0.0431817137, 0.0655120835, 0.0362351425, 0.0423921682, 0.0096103149, -0.0880117714, 0.0420761183, 0.0164219588, -0.0065547898, -0.0129872654, -0.0213621743, -0.0100942636, 0.0141489226, -0.003828339, 0.0115373228, -0.0078007895, 0.0112520279, 0.0448107198, 0.0092963735, -0.0313055404, -0.0082168039, -0.029411925, 0.0952469856, 0.1301376522, 0.0589488335, -0.004728741, -0.0398934186, -0.060660731, 0.0321639702, 0.0080655664, 0.0291787777, 0.0218851473, 0.0148971444, 0.0036296209, -0.002802287, 0.0644363016, 0.0227437094, -0.0179895591, 0.0383116007, 0.0298270825, -0.0083475094, 0.010932371, -0.0690360293, 0.0341094695, 0.0298470333, 0.058704704, 0.0266233478, -0.0564846359, 0.0083047831, -0.0273587145, 0.0051492271, -0.0932426527, -0.0127307046, -0.0031236731, -0.0020208871, -0.0357914828, -0.0739390105, -0.0231418498, -0.0227493551, 0.0194827728, 0.0423216783, 0.0001978512, -0.026870247, -0.0047895447, -0.0574131757, 0.0280676857, 0.0135296732, 0.0579886734, -0.060139928, -0.048717726, 0.0042741871, -0.091974996, -0.0074535632, 0.0329792276, -0.0227272492, -0.0439530946, -0.0191856548, 0.028183084, 0.0251744017, 0.0708937272, -0.0085583217, -0.0201037638, 0.0262177084, 0.0431777574, -0.0563771389, 0.0063838619, 0.0127284974, 0.0344696902, 0.0039898469, -0.0201680325, -0.0620468594, 0.0201096572, 0.014022748, 0.0247556698, 0.0485079102, -0.0681109577, 0.022452699, -0.0080226762, -0.0053971857, -0.0473832935, 0.021206297, -0.0497658662, -0.0102851093, -0.01066468, -0.006307459, -0.0409015678, -0.0018999571, 0.0221088845, 0.0083118174, -0.0340173915, -0.0352090448, -0.0242908932, 0.0069214297, -0.068464525, -0.0052212686, 0.0131508233, 0.004076764, 0.0270748362, -0.0086811697, 0.0363947898, 0.0196663272, -0.0094474936, 0.0284805857, 0.0327882692, 0.0362922736, 0.0164648257, -0.0118521908, 0.0189015567, 0.053028699, -0.0272809193, 0.0278619491, -0.0472289883, -0.0097705824, 0.0369598456, -0.02874122, 0.0299790781, 0.0042827697, 0.0083266227, -0.0047487887, 0.0266220327, -0.0145404749, -0.0386527851, -0.0158682559, 0.0036673134, -0.00117306, -0.0180242155, 0.0239917524, -0.0675971732, -0.0073890472, -0.0549965613, -0.0109874997, -0.0259437542, -0.0103064412, -0.0182701461, 0.0160024241, -0.0252928361, -0.0169306528, -0.0421655066, -0.06220356, 0.0223387722, 0.0359133407, 0.0187535305, -0.0030389973, 0.0624189265, 0.0113770831, -0.0443837494, 0.0297567639, 0.0200984553, -0.0551224761, -0.0502704531, -0.0485011451, -0.0441552848, -4.638447076e-33, -0.0519117713, -0.026663864, -0.0094700679, 0.0288943723, -0.0203641113, -0.0294386167, -0.043292772, -0.0050069392, 0.0413603336, -0.0109031694, -0.0104657728, -0.0278622732, 0.0155160865, 0.0168029945, 0.0172267314, 0.0100268247, 0.0721216053, -0.027939111, -0.0645770505, 0.0319622718, 0.0410676375, 0.0064491522, -0.0222652741, -0.0897001028, 0.0115077738, 0.0007092726, -0.0560504049, -0.0323676132, 0.0071914983, 0.071540229, 0.0138130775, 0.0257692952, -0.0351324975, -0.0184212998, 0.0060666609, 0.0606356412, -0.0469405018, -0.0094141532, 0.0099192252, 0.0057817632, -0.0171783566, -0.045107659, 0.0121856378, -0.0112486081, -0.0415014774, 0.0192304943, 0.0631852299, -0.0237259772, 0.0097895144, -0.0500659011, -0.0676552653, -0.0052269367, -0.0619095936, -0.0733063221, 0.0208798088, 0.0648080334, 0.0012676016, 0.0149895465, -0.0589802749, 0.0713394061, 0.0189954992, 0.0092936363, 0.0667298213, 0.0129494928, -0.020227991, 0.0569713376, 0.0197950695, -0.0576223508, -0.0275566503, 0.0396808535, -0.0189697836, 0.0361705013, 0.0312248394, 0.0140738245, -0.0105127981, -0.0338727348, 0.0367261842, 0.0775670335, -0.016713053, -0.0358648263, 0.0128198387, 0.0462992564, -0.0556442216, 0.0240297839, -0.058211308, -0.0367169194, -0.0342757441, -0.0601080507, 0.0490611456, -0.0210291948, 0.0082940459, -0.0372184291, -0.0052496716, 0.0093219094, 0.0209635496, -0.022651732, -0.0681816265, 0.045295734, -0.0076500541, -0.0314868949, -0.011159692, 0.0103773698, 0.1083453223, 0.016004242, 0.0250732694, 0.02148984, -0.0001751387, 0.0638932884, -0.056868583, 0.0149466982, 0.0118900007, 0.0297499262, 0.0074117193, -0.0250507742, 0.0188249685, -0.000707854, -0.0486780442, 0.0215448868, -0.0176652297, -0.0014324263, -0.0366250314, -0.0642818063, -0.0372838341, -0.0186657291, -0.0256604347, 0.013794315, -0.001345994, -0.0157606397, 0.0100963488, -0.0130087333, -0.0315320157, 0.0120700505, 2.357e-7, -0.029277347, -0.0037534952, 0.0277677327, 0.0137296431, 0.0300034396, 0.0290071424, -0.0290876366, 0.0060612061, 0.0182978809, -0.0006346906, 0.0286890157, -0.0221579093, 0.0834223181, 0.0008690834, -0.1024439707, 0.0103602502, -0.1018913239, 0.0326124243, -0.0283284802, 0.0116748577, 0.0780562311, 0.0426751748, 0.0359568521, -0.0147460401, 0.0155250812, 0.0351651721, 0.0092878975, -0.0313483886, 0.0304769315, -0.0558383167, 0.0173794311, -0.0548320487, -0.0532965586, -0.0191586241, -0.0431375429, 0.0078240978, 0.0578064173, 0.0388314128, -0.0042119441, -0.0515138879, -0.0466399118, 0.0396928266, 0.0140493559, -0.0350375958, 0.0340389684, 0.0120927896, -0.0036453318, -0.0348410979, -0.0618379414, -0.0125546288, -0.0249066465, -0.0340816006, -0.012968529, -0.0407148898, 0.0201025214, 0.047274109, -0.0089390101, -0.0163063593, -0.022808427, 0.0056474516, -0.0342243239, -0.0218484979, -0.0613212921, 0.0285577849, -0.0238935333, -0.0794889331, -0.0065102219, 1.660954921e-34, 0.0080262935, -0.0409522951, 0.028911164, -0.0270646028, 0.0266480278, 0.0283209737, 0.0573649518, 0.0163758248, 0.0295999367, -0.0274805799, -0.0593850128 ]
http://arxiv.org/abs/2402.00743v2
http://arxiv.org/pdf/2402.00743v2
Theoretical Understanding of In-Context Learning in Shallow Transformers with Unstructured Data
2024-02-01T16:39:45
2024-06-18T13:11:32
Yue Xing, Xiaofeng Lin, Chenheng Xu, Namjoon Suh, Qifan Song, Guang Cheng
cs.LG
cs.LG, cs.CL, stat.ML
Large language models (LLMs) are powerful models that can learn concepts at the inference stage via in-context learning (ICL). While theoretical studies, e.g., \cite{zhang2023trained}, attempt to explain the mechanism of ICL, they assume the input $x_i$ and the output $y_i$ of each demonstration example are in the same token (i.e., structured data). However, in real practice, the examples are usually text input, and all words, regardless of their logic relationship, are stored in different tokens (i.e., unstructured data \cite{wibisono2023role}). To understand how LLMs learn from the unstructured data in ICL, this paper studies the role of each component in the transformer architecture and provides a theoretical understanding to explain the success of the architecture. In particular, we consider a simple transformer with one/two attention layers and linear regression tasks for the ICL prediction. We observe that (1) a transformer with two layers of (self-)attentions with a look-ahead attention mask can learn from the prompt in the unstructured data, and (2) positional encoding can match the $x_i$ and $y_i$ tokens to achieve a better ICL performance.
Theoretical Understanding of In-Context Learning in Shallow Transformers with Unstructured Data: Large language models (LLMs) are powerful models that can learn concepts at the inference stage via in-context learning (ICL). While theoretical studies, e.g., \cite{zhang2023trained}, attempt to explain the mechanism of ICL, they assume the input $x_i$ and the output $y_i$ of each demonstration example are in the same token (i.e., structured data). However, in real practice, the examples are usually text input, and all words, regardless of their logic relationship, are stored in different tokens (i.e., unstructured data \cite{wibisono2023role}). To understand how LLMs learn from the unstructured data in ICL, this paper studies the role of each component in the transformer architecture and provides a theoretical understanding to explain the success of the architecture. In particular, we consider a simple transformer with one/two attention layers and linear regression tasks for the ICL prediction. We observe that (1) a transformer with two layers of (self-)attentions with a look-ahead attention mask can learn from the prompt in the unstructured data, and (2) positional encoding can match the $x_i$ and $y_i$ tokens to achieve a better ICL performance.
[ 0.0126974564, 0.0302695297, -0.009469769, 0.0434493236, -0.0260804966, 0.0123852622, 0.0185880214, -0.0082319453, -0.0288999211, -0.0637990013, -0.0694711581, -0.0228743888, 0.0342610553, 0.0113156177, 0.0434300415, -0.024324201, 0.038275443, -0.0486330539, -0.0065551563, 0.0052705454, -0.0219437778, -0.0349338315, 0.0359612368, 0.0257010534, -0.0124008069, -0.0178156551, -0.0248174313, 0.0026614098, -0.0451773964, -0.0160904173, 0.0065667122, 0.0252283644, 0.0241886806, 0.0506239682, 0.0000019704, -0.0288833007, -0.0233686082, -0.0137941511, -0.0295098945, -0.0458195545, 0.0002963906, -0.0640803054, -0.0091113737, -0.0043990351, -0.0348200202, -0.0337690972, 0.0640259609, 0.0938731208, 0.054109212, 0.090990074, -0.0269100163, -0.0428246073, 0.0273599494, -0.040174529, 0.0019139101, -0.0199546982, 0.0362966992, -0.0653823614, -0.0307926089, 0.0367625393, -0.0485124104, 0.0475737974, 0.0269197784, 0.0353165977, -0.0049185273, 0.0572247207, -0.0558106117, -0.0280285589, -0.0295700803, 0.0322909988, -0.0614865907, -0.0309900995, -0.0264784042, 0.0041750427, 0.0157755017, -0.0315704681, -0.0353227481, 0.045618806, -0.0129589932, 0.0302632954, 0.0250560269, 0.0120234415, 0.0270709954, -0.0162826423, -0.0632800609, 0.0870967507, -0.0038803637, -0.0701671541, -0.007932933, -0.0019371992, -0.0070136287, -0.0541089699, -0.0029352487, 0.0447209626, -0.0421026349, 0.0406627432, -0.046697557, -0.037897151, -0.0212543756, -0.0318364538, 0.0321319811, 0.0329745747, -0.0203475989, 0.043576818, -0.0470659994, 0.0809574425, -0.0419587158, 0.0575788803, -0.0250322688, -0.020111192, 0.0065346011, -0.0224822424, -0.0618949048, 0.03248927, -0.0447526835, -0.0128171248, 0.0081401737, 0.0508662723, -0.0216762666, 0.0006563043, 0.0106557375, -0.0044717416, -0.0724365115, -0.0025691856, -0.0235548113, 0.0306991395, 0.0162153877, 0.0228025503, 0.011250928, -0.065213941, -0.0235000849, 0.0186837185, 0.0397107713, -0.0327014662, 0.0023795476, 0.0774075314, -0.0278671943, -0.0482588783, -0.0427921228, -0.0009525867, -0.0113779046, -0.0542562343, 0.0421126671, -0.0600152425, 0.0188475307, 0.0349629931, -0.0028317154, -0.0382344946, -0.0055017178, 0.0556276441, -0.0398140326, 0.0746311694, 0.0349769406, -0.0129882451, -0.0129465004, -0.0082458789, -0.0068209409, 0.0471356027, -0.0053803525, 0.0248267725, 0.0021192087, -0.0202695336, 0.0007061816, 0.0376332439, 0.0307160504, -0.0018376034, -0.0321015976, 0.021084277, -0.0046519856, 0.0263542645, 0.0293617547, 0.0747892186, -0.0094369277, 0.0007006066, 0.0688853934, 0.0545448661, 0.0442353375, 0.0488850847, 0.0202945583, 0.0008771957, -0.0096150627, 0.0473097749, -0.0691590905, 0.0136094997, 0.0007947225, 0.0037112064, -0.0022264803, -0.0086903367, -0.05272891, -0.0377998613, -0.0050476426, -0.0146599384, -0.0019432311, -0.0078809876, 0.0543220565, 0.0590478852, -0.0754836351, 0.088913098, 0.0136840288, 0.0007968455, -0.0063620973, -0.0470847078, 0.0076048002, -0.0134163322, 0.0051735095, -0.0214148872, -0.0281247627, -0.0058004344, -0.0018165827, 0.0428289473, -0.0136383092, -0.001886863, -0.0194937978, -0.0124668097, -0.019430453, -0.0030931951, -0.0086678034, 0.0019544102, 0.0046301465, -0.0311755575, -0.0070273438, -0.0079307565, 0.014982109, 0.0405971184, -0.0209483616, -0.0433215015, -0.0107291956, 0.0210100207, 0.0456984229, -0.0196997672, 0.0239577424, 0.0238206927, 0.0526454113, -0.027940331, -0.0072994046, 0.0028974507, -0.1035549492, -0.0397831872, 0.0095513733, -0.0407319479, -0.0128688235, 0.0365970582, -0.0071539078, -0.0402336977, 0.0045832694, -0.0527837239, 0.0711211786, -0.0059404843, 0.0142496666, 0.0138534922, 0.0329377204, -0.0475181378, 0.0797711834, -0.0085841669, 0.0159695875, 0.0278053731, 0.0252850428, -0.0125540998, -0.0096415449, -0.0243521184, -0.0147437155, -0.0370948762, -0.009478203, -0.0142606795, -0.0262146275, -0.0367504545, -0.0357902944, -0.0495995767, -0.0286570229, -0.0359718055, -0.0039866087, 0.0176541451, 0.004045492, 0.0152470479, -0.0263363756, -0.0339624062, 0.0040165884, 0.0220380016, 0.0249063522, 0.0357878394, 0.0138872294, -0.003538212, -0.0082511427, -0.0218370762, -0.0223591626, 0.0660025701, -0.0014167078, -0.0416273773, -0.0867690518, 0.0290306453, 0.0433662981, 0.0569975674, -0.0341326445, -0.0172598194, 0.0105023906, 0.0008133792, 0.0764742196, 0.0890052319, 0.0087158075, 0.0345450118, 0.0259106513, -0.0103712641, -0.03999817, 0.025503708, -0.037404675, -0.0024893431, -0.0789853856, 0.0210923087, 0.0377278738, 0.0879219323, -0.003769869, -0.0022159149, -0.0393580347, 0.011003416, 0.0115827238, -0.0257144272, -0.0118951043, -0.0251302905, -0.0286701173, 0.0255425554, -0.0109478952, -0.0481273085, 0.0370967053, -0.0422850326, -0.0323171355, -0.0412154719, 0.0068629058, -0.03912092, 0.0281136222, 0.0177039392, 0.0066713528, -0.0024543179, -0.0363660119, -0.0852917284, 0.0265614502, -0.0299203526, 0.0044939164, 0.0847994983, 0.0142570324, -0.0071166647, -0.0209558494, -0.025634272, -0.0703076422, -0.0305668749, -0.0252433326, 0.0232665539, 0.0371631309, -0.0017078249, -0.0452355593, 0.0218139365, 0.0293253493, 0.0502407923, -0.0136190401, -0.024884142, -0.0379634686, 0.0271779373, 0.0225946438, 0.0262458678, 0.0379221179, -0.0189889986, 0.0042619566, 0.0573702008, 0.0408017114, -0.0043051103, -0.0203721654, 0.0122844074, 0.0549151823, -0.0127780754, -0.0064529702, 0.0273372401, 0.0320381783, -0.0490774438, -0.0540779941, 0.1091117486, -0.0070697013, -0.0707618445, 0.0020379839, -0.0034782554, -0.0001526827, 0.0330330022, 0.0209313743, -0.0311210975, -0.0188261271, 0.0121446261, -0.0046400856, 0.0067766178, -0.0046681543, -0.0004407232, -0.1087072715, 0.0157561246, -0.0158923957, -0.0624198392, -0.0704604909, -0.0372244231, 0.0055663292, 0.0226753987, 0.0411025658, 0.0184870809, -0.0448119715, -0.0417256579, 0.011635826, -0.0003657844, -0.0298237279, 0.0213442873, -0.0229925942, 0.0122677442, 0.0576929599, 0.0150537128, -0.0300875343, -0.0664223582, 0.036495246, 0.0029534569, 0.0114162983, -0.006221089, 0.0297274273, -0.0256063621, -0.0075311554, 0.0017426059, 0.0349126309, -0.0383732207, -0.0029553457, -0.0408509746, 0.088236779, -0.0121332742, -0.0303122997, -0.0033678161, -0.0298800766, -0.0071639512, 0.0723718926, 0.027101852, -0.0282995403, -0.0432815626, -0.0061508846, 0.0273340251, 0.0069747437, -0.0231491383, 0.0386645049, -0.0030096513, -0.027563408, -0.0519830957, -0.0221631359, 0.0142119806, 0.0455421358, 0.0031204922, -0.0097917309, 0.0337558351, -0.0006780622, -0.0281244852, 0.027733, -0.0188312586, 0.0085916808, -0.0626046881, -0.0006653928, 0.0279171672, -0.0435189977, -0.0255521424, -0.0080088759, -0.0855185241, -0.0251881089, 0.0387865752, 0.0352323651, 0.0183482375, 0.0935161784, -0.0104550505, -0.0163298696, 0.0885516182, 0.0209464971, -0.0224059131, 0.0178930834, 0.0494649448, -0.0093232412, 0.0052063526, 0.0428523123, -0.0384537578, 0.0194595139, 0.0503378734, 0.0118105663, -0.0044658836, -0.009147902, 0.0529019125, -0.0212099999, 0.0957012698, 0.0098189367, 0.0432413667, -0.0028122757, 0.0371144526, 0.0163758509, -0.0129874405, -0.0428399369, -0.0414785296, 0.011854264, 0.0232641548, 0.006339604, 0.0122239087, 0.009086147, 0.0187437646, -0.0043872073, 0.0183675475, 0.0346925557, -0.0046997839, 0.0267801397, 0.0304006655, -0.018998282, -0.0083207171, 0.018745074, 0.0428478643, -0.006485254, 0.0464938954, 0.0387171395, 0.0009659117, -0.0527071394, 0.0161618944, -0.0889868662, 0.0106902234, -0.0134177981, -0.019503111, 0.0155156748, -0.0618390553, -0.0025262975, -0.0150119355, -0.0079720868, -0.0099970186, 0.0100417575, -0.0121757733, -0.0289039146, 0.0535809509, 0.0090987924, -0.0052114143, -0.0195793509, 0.0767106339, 0.0124344667, 0.0075079426, 0.0093453005, 0.0094086658, -0.0298143905, -0.0035630709, 0.0326258093, 0.0133827394, -0.0075568599, -0.0058531198, -0.0222511999, -0.0579691455, 0.0301116873, -0.0119800046, 0.0124315256, -0.0481733382, 0.0349407792, 0.0750638247, 0.0296013653, -0.0020493474, -0.0000469464, 0.0184681583, 0.0466529056, -0.0080835391, -0.0384003334, -6.324038385e-33, -0.0281213876, -0.0233593155, 0.0191643946, 0.0181086678, 0.0003596052, 0.0237829462, -0.0367139727, -0.0184337199, -0.0237745158, -0.0047772364, -0.049975846, 0.0056439023, 0.0112266997, 0.0520462543, -0.0000466333, -0.029836718, 0.0304230638, 0.0035609491, -0.0100359721, 0.0045334511, 0.0226354003, 0.0126586175, 0.0760124847, -0.0367446467, -0.0045572775, -0.0273257289, 0.0141802607, 0.0422861613, -0.0199062023, 0.0609420761, -0.0201700497, 0.0290976241, 0.0386160053, -0.0666089132, -0.0329963341, 0.0871572047, -0.1030636132, -0.0189879816, 0.0024684833, 0.0491212867, -0.0469105057, -0.0096594058, 0.0882170051, 0.0012895567, -0.002549802, -0.0347955339, 0.0256996863, 0.0008669269, -0.0345247388, -0.0165684652, -0.0683007911, -0.0014637234, 0.0351497792, -0.012140953, 0.0288889799, 0.0610170551, 0.0106549831, 0.0414523296, -0.0836062208, 0.0048582507, -0.0233589374, 0.0562063493, 0.0431821719, 0.0434115008, -0.0051798387, 0.0462137908, 0.0348251946, 0.0116815818, -0.0239879377, -0.0514821708, 0.049270466, 0.0440101698, 0.0127709582, 0.0001493399, 0.051326856, 0.0105045177, -0.0495549329, -0.0235559978, -0.0249448996, 0.0651972592, 0.0395969674, -0.00115562, -0.0186804123, -0.0368775092, -0.0198108405, -0.0145719321, -0.0289705712, -0.0004279672, 0.0254991371, 0.0287498981, 0.0057015554, 0.0081649031, 0.0440464206, -0.0446643941, -0.0062293774, 0.0105674649, 0.0125654973, 0.0117369285, -0.0022893592, 0.0281915087, -0.0743365288, -0.0384924486, -0.0082621239, 0.0155777847, 0.0092303995, 0.030936949, 0.074885942, 0.0452434011, -0.0582531132, -0.0486618504, -0.0467685685, -0.0066816788, -0.0209050775, 0.0179256089, 0.0542225689, 0.0279925819, -0.026767388, 0.0149951642, 0.0092413994, -0.0100314515, -0.0313836262, 0.0291508883, -0.0139265954, 0.0065342044, -0.0109505728, -0.033727359, -0.063691169, 0.0254096519, 0.0469111949, -0.0654332712, -0.0055072536, 0.0265199151, 2.758e-7, 0.0351094939, 0.0380545296, 0.0429650955, 0.0075262901, 0.0501409806, 0.0297835954, -0.020739574, 0.0429098532, 0.0325804763, 0.0032864173, 0.0061812983, -0.0032867556, -0.0035601221, 0.0219150726, -0.0969532058, -0.0184125137, -0.0567942448, 0.0283343848, -0.0070796004, 0.0213190597, 0.019332204, 0.1260453314, -0.0171839651, -0.0203698259, -0.0154565191, -0.0118339844, 0.052953437, -0.005076481, 0.0495671071, 0.0165812429, -0.0164480191, 0.0032633755, 0.0148909362, 0.036485102, 0.0103745433, 0.0317646265, -0.0056190798, 0.0334001817, -0.00203825, -0.0466255806, 0.0045396262, 0.000718259, -0.0226255301, -0.0713343695, 0.0512022674, -0.1312265992, -0.0425269604, -0.0300650559, -0.012449489, 0.0189553369, -0.0498594269, 0.033771418, -0.0149286883, 0.0015261, 0.0223950949, -0.006447149, -0.00335727, -0.0813732892, -0.0341121927, 0.0065807318, -0.0598810092, -0.0301648397, -0.0646177977, -0.0006918337, 0.064886108, -0.0137432329, -0.0068700048, 2.621272046e-34, -0.0095775342, -0.0006134453, 0.0197911859, 0.0388992317, -0.0143435989, -0.0520108156, 0.0162718631, 0.0421288647, 0.0354608074, -0.0687978268, -0.0148974936 ]
http://arxiv.org/abs/2402.00742v1
http://arxiv.org/pdf/2402.00742v1
Transforming and Combining Rewards for Aligning Large Language Models
2024-02-01T16:39:28
2024-02-01T16:39:28
Zihao Wang, Chirag Nagpal, Jonathan Berant, Jacob Eisenstein, Alex D'Amour, Sanmi Koyejo, Victor Veitch
cs.CL
cs.CL, cs.AI, 68T50, I.2
A common approach for aligning language models to human preferences is to first learn a reward model from preference data, and then use this reward model to update the language model. We study two closely related problems that arise in this approach. First, any monotone transformation of the reward model preserves preference ranking; is there a choice that is ``better'' than others? Second, we often wish to align language models to multiple properties: how should we combine multiple reward models? Using a probabilistic interpretation of the alignment procedure, we identify a natural choice for transformation for (the common case of) rewards learned from Bradley-Terry preference models. This derived transformation has two important properties. First, it emphasizes improving poorly-performing outputs, rather than outputs that already score well. This mitigates both underfitting (where some prompts are not improved) and reward hacking (where the model learns to exploit misspecification of the reward model). Second, it enables principled aggregation of rewards by linking summation to logical conjunction: the sum of transformed rewards corresponds to the probability that the output is ``good'' in all measured properties, in a sense we make precise. Experiments aligning language models to be both helpful and harmless using RLHF show substantial improvements over the baseline (non-transformed) approach.
Transforming and Combining Rewards for Aligning Large Language Models: A common approach for aligning language models to human preferences is to first learn a reward model from preference data, and then use this reward model to update the language model. We study two closely related problems that arise in this approach. First, any monotone transformation of the reward model preserves preference ranking; is there a choice that is ``better'' than others? Second, we often wish to align language models to multiple properties: how should we combine multiple reward models? Using a probabilistic interpretation of the alignment procedure, we identify a natural choice for transformation for (the common case of) rewards learned from Bradley-Terry preference models. This derived transformation has two important properties. First, it emphasizes improving poorly-performing outputs, rather than outputs that already score well. This mitigates both underfitting (where some prompts are not improved) and reward hacking (where the model learns to exploit misspecification of the reward model). Second, it enables principled aggregation of rewards by linking summation to logical conjunction: the sum of transformed rewards corresponds to the probability that the output is ``good'' in all measured properties, in a sense we make precise. Experiments aligning language models to be both helpful and harmless using RLHF show substantial improvements over the baseline (non-transformed) approach.
[ 0.0451663397, 0.0755147785, 0.0009661389, -0.0080218008, -0.0514567792, 0.0113260951, -0.032021109, -0.0093150856, -0.0649641082, -0.0183343906, -0.0598041825, -0.0078734141, 0.0251433551, 0.0013505514, -0.0050270027, -0.095349133, 0.0545339361, -0.0354372486, 0.0082278494, -0.0256153811, -0.0052092723, -0.0288366601, 0.004408895, 0.0261799637, 0.0519717894, 0.0047267382, 0.0301109627, -0.0250748675, 0.0556785725, -0.0013505172, -0.0144997193, 0.0438702442, 0.0036074338, 0.0243037958, 0.0000019599, -0.0762152374, -0.0191036537, -0.0210284218, -0.0090321079, 0.0054541905, 0.0539129078, 0.0410377681, -0.0119906198, 0.0218910761, -0.0161559042, 0.0140316458, 0.042363409, 0.0126925735, 0.0062001403, 0.0290682018, 0.0193035044, -0.0097326636, -0.0092197573, -0.0483560339, 0.0257005468, -0.0108399745, 0.0058101416, -0.0207346417, 0.0144756911, 0.0031764917, -0.0152320787, -0.0011362268, -0.0077386689, -0.0003673004, 0.0582448244, 0.048143588, 0.0020210643, 0.0054239174, -0.0078745186, 0.0172372609, -0.0201062821, 0.0095455339, -0.0213254169, -0.0114587834, 0.0366646051, 0.0080096107, -0.0161972158, 0.003802761, 0.0283888392, 0.0284475591, 0.0607349314, 0.0214539692, 0.0276689492, 0.0241042562, -0.0084855417, 0.1099936813, 0.0180516783, -0.0546975136, 0.0037337102, 0.0318102241, -0.0241219234, -0.040882811, -0.020033082, -0.0115534561, -0.0272835065, 0.0256288238, 0.0130774183, 0.0588929616, -0.0000951554, -0.0172574949, 0.0532556325, 0.0382525288, -0.0110971974, 0.0317742303, -0.0223840922, 0.0815740973, -0.0150235435, 0.0373753496, -0.0602360442, 0.0482070558, -0.0082126483, -0.0133692753, 0.028245097, 0.0365104415, 0.0019848002, -0.0018735406, -0.0939688981, 0.0186399464, -0.0382692814, 0.0371728204, 0.0201565605, 0.0220154244, -0.0571804121, 0.0091579659, -0.0755235553, 0.0394247137, -0.0113368984, 0.0229793601, 0.036148604, 0.0348116681, 0.0223797392, -0.0147924963, -0.0202958602, -0.0375196375, 0.0013579157, 0.0775827467, 0.0063630883, -0.0092096422, 0.025683796, 0.0060084225, -0.0418255851, -0.0096001411, -0.0127090272, -0.0798319802, 0.0135178203, -0.0110396408, -0.0009245816, -0.0181933343, -0.005222911, -0.0319957696, -0.0461162366, 0.0511803068, 0.040252097, 0.0150843104, -0.0019821129, -0.015841227, -0.0305163711, 0.0362916663, 0.0386909358, 0.0601751804, 0.0292916559, -0.033990059, -0.0088722361, 0.0381007865, -0.0098446188, 0.0281423591, -0.0195088368, -0.0078868372, 0.0381642729, 0.0341447219, 0.0588693582, 0.0261220299, -0.0178128853, 0.0178505518, 0.0858631581, 0.0224519633, 0.0297223907, -0.04891048, -0.0275641214, -0.0378644839, -0.031584207, 0.044799272, -0.0514436401, 0.0237820931, -0.0310301278, 0.0152202277, 0.0278946515, 0.00970932, -0.003023765, -0.0388235562, 0.0051676542, -0.018594997, 0.0555889755, 0.045263432, 0.073080115, -0.0189917237, -0.027194513, -0.027990194, 0.064380534, -0.0444035381, 0.0329731889, -0.0739562213, 0.0385086574, 0.0758681968, 0.02853873, -0.020817589, 0.0262358431, -0.0274999868, -0.0829773769, 0.0363057293, 0.054017406, -0.0268102102, -0.0164609589, -0.0023696148, -0.0363251083, 0.0175408274, 0.0160586927, 0.0346438065, -0.00889978, -0.0523489155, -0.0287348814, 0.0399844125, -0.0379779004, 0.0142580112, 0.0280062426, 0.0047884961, 0.0199030079, 0.0155678969, 0.0518988073, -0.0160351917, 0.0103407856, 0.0270135533, -0.0006092764, -0.0101994565, -0.0107982345, 0.0345822759, -0.0272198413, -0.0050793295, 0.0199020971, 0.0071662925, 0.0194984153, 0.0602452569, 0.0016250038, -0.0114339208, 0.0061919773, -0.0217928719, 0.0539306141, 0.0355913714, 0.0630757809, -0.0313445032, -0.0608325787, -0.0802766234, 0.0638046265, -0.0151530067, 0.0391743891, -0.0481701531, -0.0544898883, -0.0162787698, -0.0790712014, -0.0220722128, 0.0193238202, 0.0035593736, 0.0382543057, 0.0718067437, 0.0000688771, -0.033961907, -0.0476713553, -0.0158346295, -0.0010341888, 0.0100223916, 0.0118468879, 0.0312484913, -0.0058672857, 0.0148022659, 0.0049536191, -0.0604430214, -0.0163767654, 0.0415257774, 0.0433581434, 0.0283931196, 0.0168621708, -0.0246109813, -0.0618481338, -0.0398363955, -0.0277178753, 0.0034132632, 0.0037897474, 0.0406370461, -0.0529132672, 0.0435148217, -0.0469038635, -0.0107163265, -0.0118212737, -0.0177779328, 0.0243790001, 0.0161924697, 0.0315591842, 0.1014969647, 0.0366199464, 0.0291318782, 0.0752919242, 0.010683707, -0.0813051537, -0.0227612909, -0.0593864545, -0.0490812585, -0.0193764977, -0.0710714832, -0.0035068053, 0.0588699542, 0.0200300682, -0.0042936895, -0.0569467433, 0.0188704319, -0.0399863981, -0.0459704585, -0.05938356, -0.0297491215, -0.0317725725, 0.0580854341, -0.0367765278, -0.0733292624, 0.0579028018, 0.0056166695, 0.0357842147, -0.0523350015, -0.0059154341, -0.0129217487, 0.0002114808, 0.0214457568, 0.0383286774, -0.0163211618, -0.0247994326, -0.0757692903, -0.0402907617, 0.0678731054, -0.0407868065, 0.0544932187, -0.0147808585, -0.010305359, -0.0236126352, -0.0854958966, -0.0408289433, -0.0521742888, 0.0181125905, -0.0044689253, 0.0206339471, -0.0146314381, -0.0343185626, -0.0223051701, 0.0676171929, -0.0195385497, -0.0146319736, -0.0096597802, -0.0003592106, -0.0018834096, 0.0757453963, 0.0029744715, 0.0233111735, -0.0467477068, -0.0389967784, 0.0212095995, 0.0319170728, 0.0283118933, 0.0189484004, 0.023630593, 0.0665802658, -0.0485870093, -0.030222062, 0.0292629525, 0.0092349052, 0.0021297135, -0.0035796817, 0.0740025118, 0.0289113354, -0.0428128392, 0.0259199832, -0.020309737, 0.0313198864, -0.0059255138, 0.0242829509, -0.065926753, 0.0203072913, 0.007705315, 0.0356021151, -0.0274777282, -0.0058732214, 0.0445725359, -0.1245660856, -0.0225997511, 0.0146206217, -0.0425167456, 0.0054213107, -0.0344228633, -0.0010792596, -0.0353972837, -0.0122614037, 0.0240528379, 0.0084406948, 0.0075123417, 0.0224622004, 0.0533851311, -0.0126419188, 0.0059983465, -0.0381474011, 0.0579553917, 0.1238534078, 0.0018370401, -0.0379588231, -0.0526438206, -0.0378706455, 0.0426818095, -0.0341431871, 0.022282552, 0.0009375489, 0.0018102526, -0.0009867457, -0.0346529782, 0.0219608471, 0.0248856936, -0.0102311457, -0.0131413946, 0.0352648459, 0.0281996112, -0.0136730447, -0.0157111213, -0.0061266501, -0.000440069, 0.0757143572, -0.0127802445, -0.0786293224, 0.0396614894, -0.0398168005, -0.0446372181, -0.0013052617, -0.0347425602, 0.014755344, -0.0006011133, -0.035054259, -0.0812923685, -0.0353603251, -0.0226949919, 0.0253894068, 0.0247835685, -0.0104701519, -0.0235873181, -0.0023320273, -0.0065511297, 0.0344206393, -0.0017312885, 0.0128510492, -0.0868799612, -0.0042957882, 0.0065168305, -0.0513620265, -0.0441093892, -0.0644725263, 0.005698754, -0.0683981255, 0.0129728308, 0.0697012544, 0.0343322717, 0.0222740583, 0.0127701685, -0.0201074257, -0.0100860428, 0.02587457, -0.0158755872, 0.0204680655, 0.0178746562, 0.014720019, -0.0084202476, 0.0005759771, -0.0639762208, 0.0130457887, 0.0425807424, 0.0343216136, -0.0003195964, -0.0538241267, 0.0638775006, 0.0211632494, 0.0375816599, -0.0350064263, 0.0009428153, -0.0170258954, -0.0194993354, -0.0027868643, -0.0453842022, 0.0072524287, -0.0419032425, 0.0668458715, 0.021123223, 0.0099492297, -0.0130055388, 0.0026608179, 0.0147106433, -0.0463389345, -0.0119280834, 0.015483994, 0.0144844502, 0.0277738795, 0.0330740102, -0.0232708082, -0.0114787119, 0.0130347665, 0.0539410301, 0.0158571005, 0.0422953926, 0.0287354123, 0.0071597141, -0.0027003037, 0.0392749719, -0.046048861, -0.0292495061, -0.0221332405, -0.0316261128, 0.035466779, -0.0153697422, 0.0667021126, -0.0140596451, -0.0197599437, -0.0310106725, -0.0079963608, -0.0188011639, -0.0176878348, 0.0372712761, 0.0240974296, 0.0091217831, -0.0498116575, 0.0376544334, -0.0316309482, 0.0095772976, -0.041091416, -0.0063222768, -0.0095609063, -0.0173456594, 0.007241738, 0.0345784873, -0.0467363484, -0.0056671933, -0.0661785156, -0.0435750149, -0.0469644219, 0.0709224865, 0.0404577851, -0.0207268111, 0.0172004793, 0.0297799092, -0.0413296744, 0.0081764078, -0.0578348078, 0.0011438561, -0.0165266544, -0.0049138237, -0.0467821024, -5.792527226e-33, -0.0390954576, 0.0142652113, 0.0112298727, 0.0064324997, -0.006807724, -0.0367444828, 0.0159714315, 0.0536288172, -0.0171902198, -0.0084692277, -0.0058697746, -0.0629587993, 0.0037499347, -0.0180654228, 0.0371027254, -0.0006726031, 0.0366663635, 0.0115543827, -0.0922333822, -0.0179177262, 0.0464419201, -0.0249814112, 0.0680591613, -0.0456783287, 0.0430313237, 0.0537505113, -0.0388500728, 0.022299774, -0.0251079202, 0.0592333861, 0.0179324783, 0.0318899043, 0.0042517716, -0.0530570075, 0.0032236108, 0.022944361, -0.0277101677, -0.0054160655, 0.0683400333, -0.0057818838, -0.0112085454, -0.0414596573, 0.0361265242, 0.0034836323, -0.0663935393, 0.0056911302, 0.0268246271, -0.0328934938, -0.0354523249, 0.0273264498, -0.0661808476, -0.0123307602, 0.0018654146, -0.0178990234, -0.0060298792, 0.036276374, -0.0200501755, 0.0490521565, -0.0342307873, 0.0912459493, 0.0275883246, 0.0443952084, 0.0776367784, 0.0186472144, 0.0013587587, 0.0391924977, 0.0197487641, 0.0077131726, 0.0240151919, -0.0196792651, 0.0384036414, 0.0059703197, 0.0548680313, 0.0267869495, 0.0476150252, -0.0233754907, -0.0135662453, 0.0421798825, 0.0208967011, -0.019535318, 0.0313445218, 0.0527848341, -0.0522332378, -0.0390012152, -0.05282088, -0.0081225233, -0.0344568603, -0.0582875237, 0.0429249592, 0.0100943185, -0.0175811257, -0.0219424665, 0.0221719779, -0.0359641165, -0.0577008389, 0.0061454433, -0.0300990567, 0.0375028439, -0.0256970208, -0.0257400498, -0.0732476488, 0.0011893492, -0.0443604328, 0.0121183395, -0.01599681, 0.052335754, 0.0297117662, -0.0063308533, -0.0372580253, 0.0197512414, -0.0197825413, -0.0118182078, 0.0277659558, -0.0194908269, 0.038951803, -0.0260243937, 0.0035300038, 0.0061520608, 0.0008549913, -0.0549903214, -0.0670092255, 0.0087898104, -0.0021920879, 0.0189635977, -0.0058098184, -0.0117068896, -0.0110222828, 0.0405193195, 0.0216947012, 0.0007989946, -0.0252246205, -0.0320576653, 2.644e-7, 0.0304977931, 0.0287775565, -0.028129857, 0.0183085129, -0.0251811426, 0.0655823052, -0.0151628507, 0.0271816347, 0.0804786831, 0.0317130536, -0.0060145841, -0.0081166718, -0.005551355, -0.0044025658, -0.0157523565, -0.0435951576, -0.0535375141, 0.0077252327, 0.0055441391, -0.0004074966, 0.036459852, 0.0496179499, 0.0466386303, 0.0024396644, -0.019553164, 0.0177463293, 0.0532533005, -0.0832897946, -0.0178643744, 0.0152579695, -0.0153992381, -0.0241036825, -0.0197951328, -0.0030251453, 0.0226914361, -0.0025512218, 0.0182845127, 0.0432962067, -0.0236451216, -0.0226121061, -0.037710987, 0.0006087875, 0.0114376657, -0.0744990855, 0.0330734961, -0.0614103489, -0.0323965587, -0.0244714264, -0.0211410075, -0.0004176177, 0.0189486332, -0.0238127708, -0.0259343181, -0.0169623028, 0.0130096618, 0.0598683693, -0.0005134235, -0.0413940214, -0.0364801139, 0.048912935, -0.0205879398, -0.0924902856, -0.012314178, 0.0771049857, -0.0380133688, -0.0883255824, -0.0156189622, 2.415360333e-34, 0.0097704791, 0.0259205438, 0.0414053127, -0.0220411289, 0.021412624, 0.0094756, -0.009158575, 0.004442119, 0.0573339611, -0.0454139784, -0.0279115848 ]
http://arxiv.org/abs/2402.00723v1
http://arxiv.org/pdf/2402.00723v1
Improving Semantic Control in Discrete Latent Spaces with Transformer Quantized Variational Autoencoders
2024-02-01T16:14:35
2024-02-01T16:14:35
Yingji Zhang, Danilo S. Carvalho, Marco Valentino, Ian Pratt-Hartmann, Andre Freitas
cs.CL
cs.CL
Achieving precise semantic control over the latent spaces of Variational AutoEncoders (VAEs) holds significant value for downstream tasks in NLP as the underlying generative mechanisms could be better localised, explained and improved upon. Recent research, however, has struggled to achieve consistent results, primarily due to the inevitable loss of semantic information in the variational bottleneck and limited control over the decoding mechanism. To overcome these challenges, we investigate discrete latent spaces in Vector Quantized Variational AutoEncoders (VQVAEs) to improve semantic control and generation in Transformer-based VAEs. In particular, We propose T5VQVAE, a novel model that leverages the controllability of VQVAEs to guide the self-attention mechanism in T5 at the token-level, exploiting its full generalization capabilities. Experimental results indicate that T5VQVAE outperforms existing state-of-the-art VAE models, including Optimus, in terms of controllability and preservation of semantic information across different tasks such as auto-encoding of sentences and mathematical expressions, text transfer, and inference. Moreover, T5VQVAE exhibits improved inference capabilities, suggesting potential applications for downstream natural language and symbolic reasoning tasks.
Improving Semantic Control in Discrete Latent Spaces with Transformer Quantized Variational Autoencoders: Achieving precise semantic control over the latent spaces of Variational AutoEncoders (VAEs) holds significant value for downstream tasks in NLP as the underlying generative mechanisms could be better localised, explained and improved upon. Recent research, however, has struggled to achieve consistent results, primarily due to the inevitable loss of semantic information in the variational bottleneck and limited control over the decoding mechanism. To overcome these challenges, we investigate discrete latent spaces in Vector Quantized Variational AutoEncoders (VQVAEs) to improve semantic control and generation in Transformer-based VAEs. In particular, We propose T5VQVAE, a novel model that leverages the controllability of VQVAEs to guide the self-attention mechanism in T5 at the token-level, exploiting its full generalization capabilities. Experimental results indicate that T5VQVAE outperforms existing state-of-the-art VAE models, including Optimus, in terms of controllability and preservation of semantic information across different tasks such as auto-encoding of sentences and mathematical expressions, text transfer, and inference. Moreover, T5VQVAE exhibits improved inference capabilities, suggesting potential applications for downstream natural language and symbolic reasoning tasks.
[ 0.021848077, 0.1191178337, -0.0336612314, 0.0244558584, -0.0151450094, 0.0055524562, 0.0348345265, -0.0370918103, -0.0483623035, -0.0026466846, 0.0039884271, -0.0187495667, -0.0465337746, 0.0577908792, 0.0626603514, -0.0484321974, 0.0500127375, -0.0113457944, -0.0165567528, -0.0534899607, -0.0054912958, -0.0416673943, 0.0084214238, 0.0202640183, -0.023037903, -0.0053814664, -0.0073733595, -0.0432921164, 0.0130108064, 0.0241602305, -0.0024317298, 0.050038211, 0.0526116826, -0.0220011417, 0.0000021123, 0.0046402942, -0.020139616, -0.0255420879, -0.0455729738, -0.0281654242, 0.0178880207, -0.0571403354, -0.0078983745, -0.0305623505, -0.0036708522, -0.0761160627, 0.072186023, 0.0434754528, 0.0557062477, 0.0330822654, -0.0127848266, -0.0281134155, 0.0287561361, -0.0420486182, 0.0424279049, -0.0729860663, 0.0259046387, -0.009058686, 0.0000808536, 0.0339424089, -0.0901969671, 0.0416075289, 0.0645012632, -0.0217476841, 0.0111719305, 0.0376364179, 0.008383384, -0.0415187702, -0.0411075391, 0.0315124653, -0.0241983794, -0.0439017676, -0.0277415384, -0.0120640052, -0.0295702126, 0.0174183194, -0.0260599833, 0.0533904731, 0.0287798773, -0.0042994209, 0.0224123057, 0.0427445732, 0.0188337546, 0.0072980155, -0.039493937, 0.0111588724, 0.0375911109, -0.0239076205, -0.0036917876, 0.0097197676, -0.1076287329, -0.003658595, 0.014109889, 0.0037261343, -0.0308552366, -0.0060918727, -0.0326858982, -0.0678492486, -0.0501099788, 0.0260878839, 0.0286260936, 0.0818757787, 0.0137626771, 0.0085943043, -0.0270618722, 0.0836821496, -0.0717022568, 0.0377281681, -0.0416497029, -0.0347478911, 0.0184685215, -0.0184806753, -0.0443006307, 0.0130930822, -0.0288467407, -0.0266284496, -0.0122308582, 0.0418215245, -0.0312003568, -0.013069435, -0.0004964478, 0.0691303611, -0.055236049, 0.0097743515, 0.0221315399, 0.0161734559, -0.0548447073, 0.0083652493, 0.0007461161, -0.0245936811, -0.036721386, 0.0166968033, 0.059886165, -0.0621798635, -0.0129470276, 0.0424611494, -0.0059509971, 0.0049365233, 0.0020505672, 0.0127374465, -0.0194322914, -0.0306820646, 0.0323947072, -0.0193655081, 0.0312307533, 0.0153957568, -0.009295865, -0.0141880214, -0.0056160828, -0.0059764269, 0.0054745488, 0.0771794617, 0.0542818084, -0.025931837, 0.0240281224, -0.0038687091, 0.0281714369, 0.0330657288, 0.006128693, 0.0402522869, -0.0157879591, 0.0134029407, -0.0114454757, 0.0203496441, 0.0515294224, -0.0460376479, -0.0385703929, -0.0285867266, -0.0206034277, 0.0390624776, 0.0877021849, 0.0505648553, -0.0589865148, -0.037131872, 0.020031495, 0.0342540294, 0.0576642565, 0.0181732439, 0.0456232466, -0.0034577257, -0.0283197127, -0.019555416, -0.0282450989, 0.0980247036, 0.0495350659, 0.0048406399, 0.0009646841, -0.0006821773, -0.0103922691, -0.0382965393, 0.0116056474, 0.0141546605, -0.0025781495, -0.0124336258, 0.0343314558, 0.0550427027, -0.0210168026, 0.0786293596, 0.0136927143, -0.0117361844, 0.0252245404, -0.0091866981, 0.0333952941, 0.0077791996, 0.0207022559, 0.0154452091, 0.0220184941, -0.0083104419, -0.0316067301, 0.0505750291, 0.0121852383, -0.004505672, -0.0328764208, -0.0203536376, -0.0708408356, -0.073905766, 0.0095534809, -0.004860518, 0.0192543268, -0.0184782594, -0.0177445021, -0.0167838242, 0.0641226918, 0.0309013166, -0.0137311164, -0.0124051711, 0.0303408615, 0.0125223985, 0.0306042284, -0.0063938256, 0.0073921094, 0.0255948734, 0.0064993468, -0.0563923754, -0.0340213552, -0.0078514889, -0.064040713, -0.078343913, 0.0078497604, -0.0367924869, -0.005440271, 0.0304504838, -0.0238514822, -0.0139897577, 0.0753771737, -0.0531932376, -0.0188637376, -0.0338714235, -0.0478961058, 0.0355849601, 0.0397803076, 0.0011350038, 0.0668629482, -0.0398012064, 0.0234413687, 0.033300627, 0.0787939355, -0.0099306237, 0.007871272, 0.0162114073, -0.0176849924, 0.018190762, 0.0038267719, 0.0293501467, -0.0049305959, -0.0041291383, -0.0290146563, -0.060186144, -0.0102539426, -0.0489212088, -0.0149601195, 0.0186338425, 0.0521829911, 0.0219519008, 0.0206702258, -0.000030823, 0.006216248, -0.0064248187, 0.011179287, 0.0202138461, -0.0244672019, 0.0417859033, -0.016566705, -0.0385595374, -0.010870412, 0.0558362938, -0.0075566433, 0.0085185273, 0.0126418844, -0.0281562451, -0.0003815682, -0.0053095422, -0.0209520999, -0.0159745086, -0.0035477397, -0.0302913897, 0.0714719817, 0.0257555414, 0.0188067127, 0.061839886, 0.0365574397, 0.0092372103, -0.0360407159, 0.0345172212, -0.1009173989, -0.0096398285, -0.0055568274, 0.0354163721, -0.0023782756, 0.0596819073, 0.0285880882, -0.0012992254, -0.0688159019, 0.067384012, -0.0040908, -0.0324227512, 0.0154943205, 0.0225730278, -0.0362686813, 0.0456204005, -0.0612809286, 0.0216796752, 0.0656642541, 0.0433363467, -0.0005805634, -0.019379098, 0.0453586653, -0.0255690385, 0.0274022818, 0.0570382811, 0.0177619476, -0.0221445058, -0.0354580209, -0.0295308605, 0.0367454141, 0.0056705163, 0.0230874643, 0.0297413915, 0.0078439554, 0.0110008484, 0.0254152846, -0.0290751234, -0.0494066961, -0.003446704, 0.0317781344, 0.0454763882, 0.0593730472, 0.0058959718, -0.0119548701, -0.0213372465, 0.0210703295, 0.0447588861, -0.0331636555, -0.0186858289, -0.0319132917, 0.0559188761, 0.0528945848, 0.0430770032, 0.0275677051, -0.0246865395, -0.066852279, 0.0366894975, -0.0052405503, -0.0001589115, -0.0035832277, 0.0686158538, 0.0218740869, -0.0147032607, 0.044677455, -0.0178691465, 0.0280896835, -0.0286110491, -0.0591274984, 0.0521415919, -0.016120648, -0.0035450608, 0.0174832325, -0.0555516705, 0.0114501277, 0.0105249528, 0.0116702244, -0.0745894164, -0.0237719417, -0.0283940583, -0.0009389831, 0.027567815, 0.000430715, -0.0087176282, -0.0393807217, 0.0248757731, -0.0062862812, -0.0119330715, 0.0033195307, -0.0015188479, 0.0050645471, -0.0426430292, 0.0545489751, -0.0095912479, 0.0087871384, 0.0046524862, 0.016349148, 0.0670867041, -0.0481769703, -0.0029182727, -0.0218312591, 0.0159288049, 0.0805415213, 0.0076873219, -0.0132054156, -0.0391754545, -0.0034991114, -0.0536197051, -0.0021704407, -0.008987817, 0.0415330008, -0.0428195149, -0.0183832049, 0.016185021, 0.034060318, -0.0115567949, -0.0330221914, -0.0350960009, 0.0491657779, 0.0019469131, -0.0490712523, -0.0244445633, -0.0173627939, -0.0621210784, 0.0378563143, 0.0387015343, -0.0223570205, -0.0608257875, -0.0148210712, 0.0283121169, -0.0475262739, -0.0587995909, -0.0366595201, 0.0564100444, -0.1235490814, -0.0327164344, -0.0238774884, 0.0052994466, 0.0107523585, -0.0308778621, -0.0345336162, 0.0421226099, -0.0493930988, -0.0606204197, -0.0177748147, 0.0126626911, 0.0013312841, 0.0160875004, -0.0037552647, 0.0030106576, -0.0634463578, -0.0299876258, -0.031569276, -0.09899728, -0.0427267365, 0.0280566365, 0.0472832881, 0.0004139918, 0.0758747682, -0.0103009669, -0.0288441479, 0.0798718557, 0.0153730372, -0.021121975, 0.0248458162, 0.0058581526, 0.0171921775, 0.0021662235, 0.0392712839, -0.0215115286, 0.013233711, 0.0305301864, 0.0763262808, -0.0112319812, 0.0022885888, 0.0281585399, -0.0846560821, 0.0183685087, -0.0004553661, 0.0082946932, -0.0293756425, -0.0046873172, -0.0156963039, -0.0165939182, -0.0564602241, 0.0205885582, 0.0239528622, 0.0401075408, -0.0256241206, -0.007819565, 0.0487740785, -0.0124735832, -0.0016651114, 0.0117187081, 0.0183090158, 0.0152814798, -0.0170745626, 0.0278203022, -0.0056658075, -0.0119919125, 0.0043220655, 0.0398979224, -0.0198840145, 0.0477803983, 0.0599817745, -0.013357888, -0.0160890631, 0.0039530634, -0.070901297, -0.0335830338, -0.0301995333, -0.0308203679, 0.0037185163, 0.0202080607, 0.0199288726, -0.033683341, -0.0242902003, 0.0167198554, -0.0089078061, -0.0049675447, -0.0500740744, 0.0442517363, 0.0023836691, 0.0338285901, -0.0438389331, 0.0120261228, -0.0052349637, -0.001827903, -0.0470988676, 0.0186008196, -0.0435476862, -0.0105308425, -0.0297234301, 0.0068148663, 0.0091039296, 0.0218123291, -0.0085805068, -0.0368407965, 0.0250721928, 0.0101086749, -0.0310165007, -0.0038110709, 0.0326912999, 0.0499366783, 0.0002336577, -0.0929984972, -0.0181639791, 0.0266993083, 0.0344503969, -0.0126095079, -0.0538902022, -7.071062106e-33, -0.0395717435, -0.039373748, 0.0132577745, -0.0215994455, -0.0307194963, 0.0038449124, -0.0750369355, -0.0424620509, 0.0091660703, 0.0295358002, 0.0109767523, 0.0238495022, -0.0088908877, 0.0414621346, 0.0364426672, -0.0527862161, 0.0566567034, -0.0017977023, -0.0074179294, 0.0270078816, -0.0067718443, 0.0309920572, 0.0473106578, -0.024093952, 0.0239680801, 0.0379279815, 0.0362035893, 0.0054803477, 0.0059368946, 0.0461656936, -0.0411902256, 0.0069281314, 0.014580356, -0.038718868, -0.0271165632, -0.0294211376, -0.094994314, -0.052768074, -0.0238879099, 0.0171098746, -0.0319822617, -0.0388987474, 0.0866490453, -0.0141606126, 0.002583568, -0.0587844439, 0.011993641, 0.0128030824, 0.0035715445, -0.1061893106, -0.0514261611, -0.0029604074, 0.0050040488, 0.0237274878, 0.0278856773, -0.0393561982, 0.0028681739, 0.047271803, -0.0447137319, -0.0033219634, -0.0213539973, 0.0218584705, 0.0581938289, 0.0003008434, 0.0236546174, 0.0004241304, 0.0462242849, -0.0635448322, -0.0646096542, 0.0108580356, 0.026520567, 0.0065162177, 0.0391873643, -0.0050140717, 0.05593035, 0.0249853022, 0.0005821623, -0.033483509, -0.0657688528, 0.0817623138, 0.0180522427, 0.0367441587, 0.0042893612, -0.0209852625, -0.0094426712, -0.0336490497, -0.053698536, -0.0175899193, 0.0143901333, -0.0038496829, -0.0313133225, -0.0045130937, 0.0151433591, -0.0480153561, -0.0180449989, 0.0377999209, 0.0063399496, 0.0335996225, 0.005614317, 0.0285049286, -0.067578733, 0.0373757258, 0.0337384902, -0.0039076428, -0.0148865227, 0.0158161242, -0.0149090206, 0.060351342, -0.0302514266, -0.0304685142, -0.0573498718, -0.0288164634, -0.0259372815, 0.0306647848, 0.0301272944, 0.051724311, -0.017253926, 0.0270298608, 0.0213586204, 0.0221259892, -0.0243141558, 0.0217875354, 0.0303991623, 0.0657646209, -0.0441536829, -0.0263169985, -0.0459498689, 0.0619361475, 0.0287716165, -0.0781419799, -0.0031486491, 0.0437638275, 2.821e-7, 0.0665443391, 0.0173386727, 0.0262336079, 0.0061123762, -0.0007578019, 0.0289810654, 0.0366698541, 0.0309728198, 0.008089371, -0.0082122851, 0.0235668104, 0.0480658188, -0.0204063524, -0.0019006721, -0.0080854408, 0.0372460186, -0.00614799, -0.0044047134, -0.000199359, -0.024165025, 0.0830580592, 0.1043610126, -0.0006551254, 0.0122563727, 0.0276899636, 0.0416978188, 0.0639217943, 0.0376239009, -0.0120832566, 0.0196915064, 0.0081877494, -0.0394397303, 0.0186089166, -0.0290644541, -0.0079652471, 0.0259691272, -0.0040040705, 0.0383763537, 0.0090778191, -0.063168861, -0.0576984622, -0.0126997186, -0.0046501514, -0.0063769971, 0.0391881354, -0.1265438646, -0.0217799544, 0.0103297522, -0.0344210453, 0.0525765307, 0.0079929428, 0.008167672, -0.0290027596, -0.0057790936, 0.0416909494, 0.0527640507, -0.0204338338, -0.0867554471, 0.0105773974, 0.0014062335, -0.0456440523, 0.0315044671, -0.044479914, 0.0032418231, 0.0338492766, 0.0044494434, -0.0520743914, 2.534546966e-34, -0.0037106283, 0.0169167705, -0.0173573662, 0.0116629424, 0.0046365405, -0.0418593027, 0.0089856442, 0.008049543, 0.0020288334, -0.012004354, -0.0527141169 ]
http://arxiv.org/abs/2402.00711v2
http://arxiv.org/pdf/2402.00711v2
Explaining Text Classifiers with Counterfactual Representations
2024-02-01T16:06:35
2024-04-29T16:04:38
Pirmin Lemberger, Antoine Saillenfest
cs.LG
cs.LG, cs.CL, 62Fxx
One well motivated explanation method for classifiers leverages counterfactuals which are hypothetical events identical to real observations in all aspects except for one categorical feature. Constructing such counterfactual poses specific challenges for texts, however, as some attribute values may not necessarily align with plausible real-world events. In this paper we propose a simple method for generating counterfactuals by intervening in the space of text representations which bypasses this limitation. We argue that our interventions are minimally disruptive and that they are theoretically sound as they align with counterfactuals as defined in Pearl's causal inference framework. To validate our method, we conducted experiments first on a synthetic dataset and then on a realistic dataset of counterfactuals. This allows for a direct comparison between classifier predictions based on ground truth counterfactuals - obtained through explicit text interventions - and our counterfactuals, derived through interventions in the representation space. Eventually, we study a real world scenario where our counterfactuals can be leveraged both for explaining a classifier and for bias mitigation.
Explaining Text Classifiers with Counterfactual Representations: One well motivated explanation method for classifiers leverages counterfactuals which are hypothetical events identical to real observations in all aspects except for one categorical feature. Constructing such counterfactual poses specific challenges for texts, however, as some attribute values may not necessarily align with plausible real-world events. In this paper we propose a simple method for generating counterfactuals by intervening in the space of text representations which bypasses this limitation. We argue that our interventions are minimally disruptive and that they are theoretically sound as they align with counterfactuals as defined in Pearl's causal inference framework. To validate our method, we conducted experiments first on a synthetic dataset and then on a realistic dataset of counterfactuals. This allows for a direct comparison between classifier predictions based on ground truth counterfactuals - obtained through explicit text interventions - and our counterfactuals, derived through interventions in the representation space. Eventually, we study a real world scenario where our counterfactuals can be leveraged both for explaining a classifier and for bias mitigation.
[ 0.0246692058, 0.0596515425, -0.0229620729, 0.0080101304, -0.0452306904, 0.0453999527, 0.0455311388, 0.001611112, 0.017556794, -0.0487518013, 0.0753780305, 0.0335880257, -0.0176360421, 0.0301381834, 0.0205058921, -0.0281206351, 0.0193596873, -0.0002065542, 0.0252459887, -0.0246149972, -0.0007828816, 0.0210648868, -0.0038002643, 0.0276707038, -0.0074580316, -0.0164015777, -0.0156821553, -0.0021946512, 0.0149532678, -0.0050849216, 0.0103884619, -0.0035473511, 0.0097155012, 0.0255316459, 0.0000021265, -0.0226965137, -0.0261839107, 0.0307559595, -0.0494509339, -0.0143497847, -0.0106355827, -0.0330997594, 0.0213228446, -0.0027667461, -0.0192803517, 0.0508630238, 0.0453946069, 0.0633772537, -0.003285392, 0.0694192275, -0.022526633, -0.0515096448, -0.0056106676, 0.0145666031, 0.0390346497, -0.0054959939, 0.0100509301, -0.0183900744, -0.0372011364, -0.0009366769, -0.0124199865, 0.0054566297, 0.035319306, 0.010333864, 0.0285979267, 0.0402040854, 0.0193594471, 0.0071819089, 0.0185223147, 0.0020271137, 0.0494247489, -0.0682948455, 0.0193921477, -0.0403034054, 0.0532609075, 0.0520625971, -0.0060259136, -0.01989129, -0.0125310961, 0.0088490918, 0.0428532548, 0.0493472479, 0.0637407154, 0.045569893, -0.0038934692, 0.0433846973, -0.0054722275, -0.0020810629, -0.0487555414, 0.0231741052, 0.0041243676, -0.0289957244, 0.0076781148, 0.0034540698, -0.0211408157, -0.0036175563, 0.006593409, -0.0318413004, 0.0130685251, -0.100435555, 0.0140331583, 0.0299664009, -0.0155714164, 0.0220110808, -0.0096750306, 0.0251156148, -0.022695506, 0.0200036131, -0.0083766123, -0.0027112372, -0.0440244712, -0.0428905711, 0.0020591191, -0.0041775121, -0.0357043184, 0.056287501, 0.0074417959, 0.005902777, -0.0477481, 0.0102941496, -0.0313206725, 0.0498299375, -0.0313941687, -0.0202717781, -0.0390937366, 0.0084801605, -0.044465486, 0.0302993972, -0.0228792485, -0.0252365042, -0.0028483153, 0.0098499097, 0.0059064361, -0.033467222, 0.004678546, 0.0786533579, 0.0357859544, 0.0216647219, -0.0258654449, -0.0540290214, -0.0275502689, -0.0483447611, -0.0236066673, -0.0247819256, -0.0463570766, 0.0331570059, 0.0038519714, -0.0293922219, -0.0217554476, -0.0283119008, -0.0332013853, 0.0804623291, -0.0053461432, -0.0209713783, 0.0269048549, -0.0013701151, -0.0246415436, 0.0495386682, 0.034217447, 0.0008933679, 0.0411330611, -0.0384234153, 0.0239933189, -0.0348279402, 0.043945916, -0.0229090415, -0.0504306853, 0.005115476, -0.0231104698, -0.0172739271, 0.002392723, -0.0504666902, -0.0103785396, -0.0220020693, 0.0491958372, -0.03291272, -0.0121773956, 0.0331357345, 0.0185608268, -0.0096250325, -0.055174619, 0.0599043556, -0.0530208871, 0.0263715181, -0.0822436288, -0.0046212571, -0.0283238608, -0.0153328646, -0.0359294936, -0.0798198059, -0.0069156052, 0.0002467266, 0.0196098667, 0.0242184456, 0.0552662723, 0.0146629354, -0.0125051858, -0.0225648526, 0.0273978487, -0.0218469296, 0.0139494222, -0.0361719094, 0.0062108412, 0.0977146626, 0.0371127315, -0.080798693, 0.0254935529, -0.0177635681, -0.0018094671, -0.0170436502, 0.0513573401, -0.0185595267, -0.0052588722, -0.0187994055, -0.0055518313, -0.0398928896, 0.0557027012, 0.0080594979, -0.0039824974, -0.0190979205, -0.0035419776, 0.0069026845, -0.027993599, 0.0500395373, 0.0097854817, -0.0288574677, 0.0129847014, 0.0226519704, -0.0007062616, 0.0294001251, 0.0049696905, -0.0067987046, 0.0207140893, 0.0113420915, -0.0385445394, 0.033247482, 0.0014186695, -0.0448538177, -0.0080621541, -0.0414375141, -0.0450870544, 0.0422447808, -0.0372236036, -0.0099044768, 0.0295119546, -0.0261787698, 0.072192356, -0.0223580319, 0.0012704856, -0.0089104678, -0.0023982404, -0.0149993384, 0.0607845411, 0.0093783624, -0.0112228524, -0.0359851941, -0.0340935476, 0.0251359604, -0.025624875, 0.0411864892, -0.0008897053, -0.0059404867, -0.0121645555, 0.030444013, -0.0439068042, -0.0093142809, 0.0126629183, -0.0258521233, -0.027586475, -0.0366091318, -0.0209117774, 0.0077009117, -0.018550111, 0.0105026588, -0.0328355618, -0.0163144451, -0.0292474609, -0.0041909795, 0.0281414352, 0.0458390042, -0.0256931987, 0.0096495757, 0.0036515561, 0.0039325221, -0.0546715669, 0.0942267552, 0.053419441, -0.0131301796, -0.0533057712, -0.0463097505, -0.0016886079, -0.0230585691, -0.022582192, -0.0057332953, -0.0020337412, 0.017465191, -0.031595327, 0.0382223576, 0.0020275111, 0.0562600829, 0.039599482, 0.0300484467, -0.046114061, -0.0173201524, -0.0447372794, 0.0371222086, -0.0335550755, -0.0611782484, -0.0447337627, 0.0462986417, -0.0070480611, -0.0381005518, -0.0779963136, 0.0291299038, 0.0075512049, -0.0374882482, -0.0213122182, -0.0592088439, 0.0069532762, 0.0571842939, -0.0084037576, -0.065403834, 0.084012486, 0.0083784899, 0.0228901543, -0.0417832993, -0.0176226795, -0.0030620187, 0.0557816923, -0.0107553294, -0.003638241, 0.0476930104, 0.0280193742, 0.006341185, -0.00199613, 0.039584294, 0.0264401454, -0.0117952526, -0.0703057051, 0.0075446633, 0.0241999533, -0.0322505236, -0.0543487184, -0.0975491479, -0.0036406624, -0.0041187988, -0.0368405916, -0.011592214, -0.0493101142, 0.0074607362, -0.0009143539, 0.0299391188, -0.0152046327, -0.0233887415, 0.0040773097, -0.0226003956, 0.0033943269, -0.0081633888, 0.0279450435, -0.0301408675, 0.0152462143, 0.0149804614, -0.0077629117, -0.0309364311, -0.0151067022, 0.0180826262, -0.033550363, -0.0220864881, -0.0155765684, 0.0006538242, 0.0022584731, -0.0387361385, -0.003458187, 0.0691557154, 0.0467857309, -0.0035566788, 0.0433656611, 0.0160137471, 0.0131264487, 0.0012684598, -0.0325186327, -0.0517220311, -0.0106139956, -0.0009817262, -0.0012418681, -0.042023018, -0.0090486817, 0.0123351002, -0.047775805, 0.0465508401, 0.0100850957, -0.0064565944, -0.0321393311, -0.041600991, -0.0478577912, -0.0471298322, -0.0614424124, -0.0269083232, 0.0422931388, 0.0368000939, 0.0057384879, -0.0124661997, -0.0240956265, -0.0166894067, 0.0172107089, 0.0017181491, 0.045816429, 0.0342704169, 0.0135540552, 0.0255230274, -0.0207544118, -0.0134096546, 0.0380091183, 0.0016527331, 0.1124841422, 0.009016348, 0.0008453077, -0.0283697862, 0.0489528067, -0.0061678141, -0.0556522161, 0.0001213914, 0.0530673489, -0.0327159241, -0.0190427098, -0.0115483264, -0.0083076674, 0.012159735, 0.0795105323, 0.0075404849, -0.035545934, -0.0441157855, -0.0542658791, -0.003149973, -0.0134568373, -0.0108476002, -0.0349007845, 0.0636144653, -0.0544018075, -0.0100290654, -0.0613339469, -0.0313211642, -0.0050511379, -0.0121479565, -0.0119010145, -0.0573176295, -0.0087907752, -0.049354393, 0.0312942713, 0.0021619555, 0.0339953676, 0.0719733834, -0.049504403, 0.0208574235, -0.0498969369, -0.0310696904, -0.0051320461, -0.0083624311, -0.0620201081, 0.0212454852, 0.0073124142, 0.030373618, 0.0789297894, -0.0099106682, -0.0745971948, 0.0358023383, 0.0690330341, -0.0626722798, 0.0098219858, 0.0691176653, -0.0123728886, 0.0117984777, 0.0254921168, 0.0046104505, 0.0090423189, 0.0188252274, -0.0140162017, -0.0524575636, 0.013809666, 0.0238558073, -0.0327412933, 0.0553741753, -0.0275930762, -0.0289150737, -0.0159757249, 0.029083414, -0.0472842976, -0.0311220419, 0.0105109746, -0.0001313255, 0.0236661304, 0.0099357944, -0.0318785645, 0.0153064644, -0.0492508374, 0.0039275144, -0.0222160202, 0.0566280968, 0.0603989139, 0.0541290939, -0.0014282204, 0.0007881308, -0.0094521223, -0.0089054396, 0.0367854089, 0.0406696536, -0.0107731549, 0.0264387392, 0.0297168903, 0.0231734291, -0.0327336788, -0.0501956493, -0.1349329501, 0.0487014726, -0.0164102651, 0.0411803313, -0.0123192314, -0.0385823064, 0.0138779953, -0.0151309436, -0.0298971366, 0.019302303, 0.0420133732, 0.0658895522, -0.0312587731, -0.006725092, 0.004483467, -0.0532666072, 0.0054421797, 0.038801454, 0.0169770066, 0.0633177683, -0.0288664754, -0.0204457138, -0.0181369726, -0.0865184739, 0.0190504733, 0.0553568788, 0.0051388615, -0.0137620522, -0.1085462272, -0.0411799848, 0.0283565391, -0.0112639833, 0.0386112593, -0.0295663867, -0.0329118557, 0.0250484254, -0.004745055, -0.0292845499, -0.0112750186, 0.0408589989, -0.0024644258, 0.0304033682, -0.0586523935, -6.005070564e-33, -0.0085039213, -0.0883127749, -0.0107865576, -0.0270559881, 0.0456157401, 0.0072491621, -0.0085494639, -0.0472138785, -0.0034475503, 0.0504525155, 0.0164484642, 0.045090761, 0.0188655164, 0.0109556615, -0.0086311018, -0.0306758806, 0.0421981998, 0.0147760846, -0.0308101159, 0.0287165474, 0.0221361183, 0.005457757, 0.0420956686, -0.1182096228, 0.0967542455, -0.0204655882, -0.0359214917, -0.009298889, -0.0651526079, 0.0308814105, -0.0207859538, 0.0457558967, 0.0363643691, -0.0122341998, 0.01467543, -0.0086387498, -0.033407636, -0.0237176809, 0.0333342291, 0.0292322412, 0.0301968083, -0.0505221821, 0.0199559089, 0.0156817157, -0.0273541007, -0.0079090381, 0.0669274554, -0.0320247076, 0.0239117183, 0.0318807848, -0.085790813, 0.0414818451, -0.0611971542, 0.0127160074, 0.0358669534, 0.0584925339, 0.047587987, 0.0250227228, -0.0183967333, 0.0395667925, 0.0364210606, -0.0522600748, 0.0301896669, 0.006283097, -0.0093383417, 0.0530725196, 0.0483809225, 0.0182793327, -0.0613252968, -0.012275192, -0.0029287366, 0.0112517178, 0.0970454887, 0.1517470181, 0.0706856325, -0.0184463412, -0.0850689784, 0.0171603151, -0.016439762, -0.0704414621, 0.0308966804, -0.0038910971, -0.0734779388, -0.0361273475, -0.0297534075, -0.0532597005, -0.0181038417, 0.0234552044, -0.0039963289, -0.0098929442, -0.0369584225, 0.0640318021, -0.0098597184, -0.0614669323, -0.0033656342, 0.0384028181, -0.000187611, -0.0123972334, 0.0094789164, -0.0272246096, -0.0045210239, 0.0030625786, 0.0296519417, 0.0349339209, 0.053520035, 0.0133522879, 0.0831175447, 0.0113492645, -0.0332527608, -0.0001695497, -0.0218993574, -0.023223307, -0.0015511654, -0.0193181206, 0.0323116034, 0.0384644605, -0.009213984, 0.0222253464, 0.017931655, 0.031480588, -0.0101239961, 0.0008780771, -0.0448585153, 0.011442394, 0.0022795461, -0.0243871622, 0.0302547067, -0.0257865414, 0.0284944642, -0.0560071617, -0.024140723, -0.0230710618, 2.596e-7, 0.0596667677, 0.0215754677, 0.051645644, -0.0137281511, 0.0353313014, 0.0674663484, -0.0011730139, 0.0064378907, 0.0062559801, 0.005072773, 0.0597918145, 0.0166556463, 0.0334460661, 0.0154562397, -0.0061969003, 0.0337916352, -0.049347654, -0.036520347, -0.0358774699, 0.033940874, 0.093929179, 0.0435972996, 0.0574123859, -0.0011088724, 0.0160164665, 0.0159411151, 0.0467951037, -0.0491499528, 0.0295747966, -0.0147798685, -0.0216882564, -0.0153770484, -0.014926496, 0.0611494146, -0.0300147515, -0.0022730634, -0.0509781092, 0.0235938188, -0.0475891903, -0.0166552234, -0.0554358214, -0.04198974, 0.0089813331, -0.0504502803, 0.0672044232, 0.0140249394, -0.0295124054, -0.0035459318, -0.0335085988, 0.0159438569, 0.0096187592, 0.0264179893, -0.0235225055, 0.0137673216, -0.0189098697, 0.011499133, 0.0015404727, -0.072936967, -0.0529067367, 0.006730231, -0.0159453284, -0.0164689533, -0.0092066675, 0.0464508235, 0.0756079331, -0.0754186586, 0.0278380066, 2.467952456e-34, 0.0414322615, 0.055989638, -0.0270415451, -0.0129190404, 0.0488135964, 0.008555891, 0.0353948176, 0.0207446348, 0.0840807706, -0.0247692261, -0.0038358935 ]