id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.12950v1
http://arxiv.org/pdf/2406.12950v1
MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction
2024-06-18T12:54:47
2024-06-18T12:54:47
Yuyan Liu, Sirui Ding, Sheng Zhou, Wenqi Fan, Qiaoyu Tan
q-bio.QM
q-bio.QM, cs.AI, cs.CE, cs.CL, cs.LG
Molecular property prediction (MPP) is a fundamental and crucial task in drug discovery. However, prior methods are limited by the requirement for a large number of labeled molecules and their restricted ability to generalize for unseen and new tasks, both of which are essential for real-world applications. To address these challenges, we present MolecularGPT for few-shot MPP. From a perspective on instruction tuning, we fine-tune large language models (LLMs) based on curated molecular instructions spanning over 1000 property prediction tasks. This enables building a versatile and specialized LLM that can be adapted to novel MPP tasks without any fine-tuning through zero- and few-shot in-context learning (ICL). MolecularGPT exhibits competitive in-context reasoning capabilities across 10 downstream evaluation datasets, setting new benchmarks for few-shot molecular prediction tasks. More importantly, with just two-shot examples, MolecularGPT can outperform standard supervised graph neural network methods on 4 out of 7 datasets. It also excels state-of-the-art LLM baselines by up to 16.6% increase on classification accuracy and decrease of 199.17 on regression metrics (e.g., RMSE) under zero-shot. This study demonstrates the potential of LLMs as effective few-shot molecular property predictors. The code is available at https://github.com/NYUSHCS/MolecularGPT.
[ 0.0004663382, 0.0773982406, 0.022000473, 0.0021083502, -0.0073080286, -0.0031557642, 0.0254919752, -0.0047045266, 0.0366819464, -0.020869391, -0.0166091081, -0.0099213114, -0.0150893349, 0.0389466994, 0.030694427, 0.0331300534, 0.0163362306, -0.0045547104, -0.0174128748, -0.041715879, 0.0005822152, 0.0286169816, 0.0386001468, 0.0187572669, 0.0306660533, -0.0319021158, -0.0016641866, 0.0068713394, -0.0126470197, -0.0551226176, 0.0060430947, 0.0450241677, 0.024798695, 0.035812594, 0.0000019393, -0.03051644, -0.0139547056, 0.0398132876, -0.0163857751, 0.0007452266, 0.0338154323, -0.016171487, 0.0212451853, -0.0120029533, -0.0127823623, -0.0434247777, 0.0769622847, 0.0227367636, -0.0194936544, 0.0612753071, 0.0083260722, -0.0343206562, 0.0357224755, -0.0287413225, 0.1043369547, -0.0604314804, 0.0436343476, 0.0131718572, 0.0082753301, -0.0040314025, -0.0231842175, 0.0053736521, -0.0089926617, -0.0007372097, 0.0194799136, 0.0315668359, -0.0189198777, -0.0222431701, 0.0011245166, 0.1184570268, -0.0373410732, -0.0304654967, -0.0620077625, -0.0065340828, -0.0320437215, -0.0083622243, -0.0536324196, 0.0035579382, 0.0158921499, 0.0318158455, 0.0027763236, 0.0121910973, 0.0753399357, 0.0012739009, 0.0128225172, 0.0661761314, 0.0020708912, 0.0138561316, 0.0118289515, -0.0115277115, -0.0734528229, 0.0061156815, -0.0610685237, 0.0032782799, -0.0136478003, 0.0196376368, 0.0542603806, 0.0058072302, 0.0320980214, -0.0408789292, 0.0631083697, 0.0130430413, 0.0168213025, 0.0496036597, -0.049464792, 0.0201422293, -0.028088348, 0.0365832113, -0.0123759946, -0.0006426873, -0.0941292718, 0.0291944854, 0.0043976824, 0.0363556184, 0.0084055504, -0.0169950239, -0.0722578913, 0.0216427594, 0.0077360077, 0.0053731701, 0.0260768123, 0.0523227975, -0.0189461652, 0.0149798123, -0.017368177, 0.0177574325, 0.0058883955, -0.008776674, -0.0304460991, -0.0504732952, -0.0396344215, -0.0024997108, 0.0079440586, -0.0410852917, 0.0525311381, 0.0755628273, 0.0161044337, -0.0531579852, 0.0043128869, -0.0520278849, -0.0120805167, -0.0873223767, 0.0267063379, -0.0631707981, 0.0249778461, 0.0354888178, -0.0013591544, -0.0651294589, 0.0111863306, -0.0010315017, -0.0535864644, 0.1041488051, 0.016132962, -0.0513618402, 0.0039944309, 0.000791806, -0.008751926, 0.0236055832, -0.0021719106, 0.019283792, -0.0131597547, 0.0017557581, -0.0068254191, 0.0074263862, 0.0385139249, -0.0484915562, 0.0053264098, 0.0143733593, 0.0394876413, 0.0159883089, -0.0382953361, -0.0041738227, -0.007233005, -0.0219475701, 0.03635199, 0.024574006, 0.016378697, 0.0176158175, 0.0085620321, 0.0283691548, -0.041245956, -0.0660802647, -0.0701441541, 0.0455049686, -0.027054267, 0.0270893164, 0.044796519, 0.0022170506, -0.0170018803, 0.0076940525, -0.0180549622, -0.0189322736, 0.0083265658, -0.0406618454, 0.0560376234, -0.0384139344, -0.1126198992, 0.0228445549, 0.0630264729, -0.0129136713, -0.0473986082, -0.0002023084, 0.0304535348, 0.0368986949, 0.033828076, -0.0387385152, -0.0322896875, 0.0104280477, -0.0168132763, -0.0363346972, -0.0080335597, -0.0132465642, 0.0403147936, -0.0172256976, -0.0023957642, -0.0536764041, 0.0127768079, 0.0056242547, 0.0141786076, -0.0065911934, 0.0049931146, -0.0577318147, 0.0006059897, 0.0044942698, 0.0083733713, -0.056057442, 0.0459658056, -0.0071122791, 0.0348052271, -0.0118315201, 0.0024738589, 0.0249885786, 0.0310653653, -0.0394662991, -0.0108546037, -0.0595863797, 0.0016921797, -0.0662405491, 0.0392695665, 0.0053444132, 0.0349567048, -0.0147907585, -0.0773569271, -0.0226488169, 0.0725049227, -0.004446778, 0.0170758925, -0.0403325781, -0.0130171496, 0.0012893851, 0.0717155486, -0.0230235327, 0.0215150714, 0.0063870056, -0.0004033438, 0.0197794661, 0.0165838096, 0.0255665537, -0.0018654612, 0.0146293985, -0.0005658009, 0.0246564522, 0.0149154328, 0.0048339777, 0.0049934057, -0.0148577224, 0.0087004164, -0.0358321145, 0.0059872488, -0.0120573789, 0.0119004063, -0.0106227165, 0.0022348654, 0.0171334427, -0.0124490373, -0.020910833, 0.0116310017, -0.0454540811, 0.0005503829, 0.02616781, 0.0227656141, -0.0624365807, -0.0340176448, -0.0559084602, -0.0382613391, 0.0967729613, -0.0270274002, -0.0259935036, 0.0412568003, 0.0080142384, -0.0043256888, 0.0077200043, -0.009412311, 0.014358948, -0.007432682, -0.0358203351, -0.0127097759, 0.0202295426, -0.0590384714, -0.000897163, 0.0530095845, 0.0082548475, -0.015096643, 0.0140413186, -0.0579903573, -0.0438365005, 0.0446958058, 0.019762272, -0.0485214889, 0.0544747598, -0.0154053504, -0.0071661365, -0.0578103513, 0.0227739513, 0.0182343926, -0.0199995227, -0.0440144762, 0.0310507827, 0.0152599113, -0.0154575985, 0.0223053414, -0.0763914809, 0.0725581199, -0.0159597043, 0.0083946669, -0.0230149161, 0.0112439413, -0.041438546, 0.0228205211, 0.0298911948, 0.0084360316, 0.0083904881, 0.0060521332, -0.0173736326, -0.0313584358, 0.0121553, -0.0098541919, 0.0133151487, -0.0082025789, 0.0036095099, 0.0272528641, -0.0305777285, 0.0236814339, 0.0089958068, -0.0295016486, 0.0655417144, 0.0151694557, -0.0387113914, 0.0001386323, -0.0080709169, -0.0258340389, 0.0124790445, -0.03096224, 0.0035350996, -0.0258039068, -0.0155759836, 0.0374428295, -0.1126678288, -0.0060294778, -0.0388675854, 0.0593204424, 0.0214703977, -0.0118419221, 0.0031647258, -0.0272952225, 0.0334886648, -0.0140870064, 0.0201515052, -0.0479689799, 0.0400138833, 0.0058140755, -0.0429376177, -0.0235511232, 0.1024140045, 0.0272936039, -0.0448279642, 0.0096759871, 0.0043715681, -0.0015375308, 0.0011101858, 0.0602005236, -0.0981111825, -0.0631358996, -0.0640622601, 0.0242519043, 0.0202349331, -0.026659904, -0.0107705025, -0.0589979626, 0.0399628021, 0.0201835372, -0.0449272506, -0.0251124594, -0.0721176788, -0.0438451618, -0.0567113608, -0.0081764599, 0.0090698227, 0.016914105, 0.0022656454, -0.0095367506, -0.0252730232, -0.0420843326, 0.089268446, 0.0076909671, -0.0177225936, 0.0572041236, -0.00524113, 0.0264011733, 0.0120598609, 0.0288507063, 0.0162424874, 0.0275083631, -0.0328535698, 0.0783404782, 0.0157540608, -0.0017666628, -0.0201381855, 0.0341131799, -0.0357235521, -0.0433268547, -0.0481537543, 0.116483286, -0.0067680348, -0.0509380437, -0.0211552214, -0.0036196935, -0.0071679037, 0.0476115867, -0.0076281424, -0.0130842393, -0.0799539313, -0.0109648192, -0.0117347781, -0.0332694389, 0.0145981805, 0.0012515201, -0.0083688283, -0.0111287357, -0.0202760044, 0.0177114792, 0.0426853709, -0.0370908901, -0.0262933206, 0.0211071577, 0.0284257252, -0.0249016453, -0.0738215894, 0.0131807672, 0.022704944, 0.018108936, -0.0253207255, -0.0235217493, 0.0651590526, -0.0144908763, -0.0060840128, 0.0445369184, -0.1071162298, -0.0725572482, -0.0451297872, 0.02642617, 0.009436151, 0.0380341709, -0.0008582871, -0.0533543751, 0.0634339973, 0.0460231788, 0.0265878178, -0.0320996121, 0.0053767231, -0.0304110032, -0.0166986287, 0.0218396727, -0.0113192853, 0.0308861714, 0.039295353, -0.0151386168, 0.0137352729, 0.0241379347, 0.0350636207, 0.0175258964, 0.0703665763, 0.0068286718, 0.010383103, -0.0122266151, -0.0055657034, 0.042271696, 0.0129717262, -0.0145771215, -0.0263213199, 0.0481874309, -0.0260725208, -0.0343121625, -0.0245932657, -0.0072592101, 0.0130751617, -0.031033162, 0.0027082977, -0.0211611278, -0.0174996555, 0.0985040069, -0.0070836735, -0.0070861708, 0.0099385148, -0.043818891, 0.0344779864, -0.0262805037, 0.0437963083, 0.0104904659, 0.0613005869, -0.0460133366, 0.0071685221, 0.0106188767, -0.0019135097, -0.0768021122, 0.0407733805, 0.0373719074, 0.0021445116, 0.024323795, -0.0163609181, -0.0139877712, -0.0497679561, 0.0418403931, -0.0006910212, -0.0291179791, 0.0510140024, 0.0365900509, -0.0430176184, -0.0120445564, 0.0683714002, 0.056519255, 0.0389078073, 0.0264327284, -0.0259767994, -0.0335431807, -0.0002389074, -0.017654404, 0.0268267877, -0.0100039383, 0.0568920188, -0.0407624021, -0.0366238877, 0.0300150961, -0.0128122987, -0.0090622343, 0.0301235449, -0.006255846, 0.033837188, 0.0157747269, -0.0760528743, -0.0161589142, -0.0100691803, 0.0090551404, -0.0300370976, -0.0050155893, -5.986532283e-33, 0.0161074363, -0.0306789316, -0.0090674609, 0.0128227137, 0.0366800055, -0.0005059129, -0.0912417173, -0.010365136, -0.010805456, 0.0711825117, 0.0086585963, -0.0052543068, -0.0074907616, -0.0035664425, 0.0224720445, -0.0247764774, 0.0031689233, 0.0239316672, 0.0253925063, 0.0476859547, 0.0449834131, 0.0466484353, 0.0673349872, -0.006562504, -0.0303087141, 0.0163754709, -0.005609279, -0.0153419329, -0.0509060882, 0.0382175855, -0.0071991868, 0.054844968, -0.024269646, -0.0514895692, -0.0246745571, -0.0206500143, -0.0357499085, 0.0028983462, 0.0112167262, -0.0036588341, 0.0079145692, -0.0075266906, -0.0236292034, 0.0078466479, -0.0164761823, -0.0582375303, 0.014607762, -0.000652025, -0.0303057488, -0.0167956762, -0.0417550988, 0.0467038937, 0.0153092435, 0.0010396806, 0.0080922078, -0.0255298894, 0.0201748312, 0.0399677828, -0.0344124809, 0.0217017084, -0.032605093, 0.0311733056, 0.0653390884, 0.0061325203, 0.0278245732, 0.059103407, -0.0149891665, 0.0112990774, -0.0177874546, 0.0005562451, 0.0010026527, 0.0927387848, 0.0112121589, 0.0082961572, 0.040109314, 0.0329034403, -0.1355352104, -0.0120550841, -0.0020162098, 0.027755864, 0.0151648913, 0.0205805991, -0.0011637325, -0.0432334132, -0.0212220494, 0.0073798131, -0.0173383635, -0.0266086012, -0.0141736865, -0.0377780572, -0.0390843414, 0.0194267631, 0.033439029, -0.0639845431, -0.0282998234, 0.0600243472, -0.025376739, -0.0096605644, -0.0135994125, 0.0038367193, -0.0655805096, -0.0146607691, 0.0230633058, -0.0410703346, 0.026550727, 0.0008441313, 0.0669126809, 0.0316089578, -0.0411913767, -0.0473123528, -0.0810301304, 0.0075608175, 0.0160587952, 0.0321856402, 0.0022990364, 0.0431416295, -0.0158830844, 0.0946824327, 0.0417511314, 0.0027100765, 0.0200976301, 0.0185723919, 0.0433212593, -0.0032148128, -0.0867272243, 0.0082776612, -0.0207324196, -0.0162764341, 0.0151843913, -0.0410105698, -0.0445507839, 0.0134926941, 2.797e-7, 0.078332305, 0.0505090393, 0.0164986085, 0.0225267671, 0.0041303588, 0.0461743362, 0.0073155374, 0.0285785049, -0.0540189818, -0.045189634, 0.0582310371, -0.0121856602, 0.0222192854, -0.009287416, -0.0533105917, 0.0536223464, -0.0411025099, -0.0248791538, -0.0625830144, -0.005081784, -0.0167310107, 0.1323898137, 0.0356310047, -0.0078003961, 0.0679707006, -0.026776785, 0.0440054536, -0.015605079, -0.0175723061, 0.0357895531, -0.0500607938, -0.0531882569, -0.0074030114, 0.0449771434, -0.0258298814, 0.0042919731, -0.0185767915, 0.0456210747, -0.0278873518, -0.0261210185, 0.0275896657, -0.0130575579, 0.0139932092, -0.0395248532, 0.0636371374, -0.0492746495, -0.0751687363, -0.0102479709, -0.0212581642, -0.0021691667, 0.0658252314, 0.0330816135, 0.0469928123, 0.029655423, -0.0097122071, -0.016479576, -0.006600827, -0.0555631146, -0.0484375507, 0.0271578245, -0.0087442109, -0.0030384059, -0.0395653024, -0.007251645, 0.036586944, -0.0259196665, 0.0004694719, 2.657716963e-34, 0.0661366954, -0.0179983713, 0.0206847619, -0.0039138487, 0.0570332147, -0.0122995013, -0.0171773117, 0.0151677839, 0.0122717572, -0.0844206288, -0.0158131272 ]
http://arxiv.org/abs/2406.12566v2
http://arxiv.org/pdf/2406.12566v2
RichRAG: Crafting Rich Responses for Multi-faceted Queries in Retrieval-Augmented Generation
2024-06-18T12:52:51
2024-06-21T18:12:15
Shuting Wang, Xin Yu, Mang Wang, Weipeng Chen, Yutao Zhu, Zhicheng Dou
cs.CL
cs.CL
Retrieval-augmented generation (RAG) effectively addresses issues of static knowledge and hallucination in large language models. Existing studies mostly focus on question scenarios with clear user intents and concise answers. However, it is prevalent that users issue broad, open-ended queries with diverse sub-intents, for which they desire rich and long-form answers covering multiple relevant aspects. To tackle this important yet underexplored problem, we propose a novel RAG framework, namely RichRAG. It includes a sub-aspect explorer to identify potential sub-aspects of input questions, a multi-faceted retriever to build a candidate pool of diverse external documents related to these sub-aspects, and a generative list-wise ranker, which is a key module to provide the top-k most valuable documents for the final generator. These ranked documents sufficiently cover various query aspects and are aware of the generator's preferences, hence incentivizing it to produce rich and comprehensive responses for users. The training of our ranker involves a supervised fine-tuning stage to ensure the basic coverage of documents, and a reinforcement learning stage to align downstream LLM's preferences to the ranking of documents. Experimental results on two publicly available datasets prove that our framework effectively and efficiently provides comprehensive and satisfying responses to users.
[ 0.0600785278, 0.0170545876, -0.004641287, 0.0057123345, 0.0072776792, -0.0071778172, -0.0418475531, 0.0099610919, 0.0090785325, -0.0446620099, -0.0081836274, -0.0116189327, -0.050849475, 0.0032207677, 0.0200950503, -0.0567977913, 0.0411033668, -0.0250964388, -0.009092628, 0.0029573848, 0.0096291527, 0.0450514294, 0.0174909253, 0.0330228135, 0.012334411, -0.0051250849, -0.0470326617, 0.0200377721, 0.0013978021, -0.0179463774, 0.02450669, 0.0336284004, 0.0195591208, 0.0305731483, 0.0000019564, -0.057631202, -0.0407359898, 0.0052870018, 0.0061264001, -0.032980185, 0.0369845815, 0.0554579422, 0.0371747501, 0.0131527949, -0.0541509315, 0.0035581111, 0.0046394384, 0.0606752448, 0.0590554401, 0.0604710095, 0.0056774043, -0.0124410549, 0.0328248627, -0.0372117013, 0.0819253772, -0.0449532978, -0.0180661138, -0.0078026433, 0.0555084944, 0.0514705293, 0.0090026427, 0.0077322689, 0.013928296, -0.037667729, 0.0421286635, 0.0173673481, -0.0668412969, 0.0034902056, 0.0210995637, 0.0826183408, 0.0178046543, -0.0035330716, 0.0191034693, -0.0207321681, 0.0215432141, 0.0312417634, -0.0432188287, 0.0096304929, -0.0445378013, -0.021274941, 0.0241283346, 0.0036549091, -0.002083241, 0.0241571702, -0.027976172, 0.0395268984, 0.0200738907, -0.036929775, -0.0018082208, 0.0113855377, 0.0081793787, -0.0579240061, -0.0067477091, 0.040646363, -0.0697195828, 0.0134071829, 0.0007826577, -0.0126759773, 0.058062695, -0.0161278881, -0.0008241556, 0.0148288012, -0.027215872, 0.0360825248, 0.0028295871, 0.0064887353, -0.0316123515, -0.0147999097, -0.0587805286, -0.0141915688, -0.0471090339, -0.0420141853, -0.0321422108, 0.0560141839, -0.0365006588, -0.0053616622, -0.033071626, 0.047446195, 0.0065033869, 0.0072479411, 0.0328778923, 0.0557932891, -0.0730256662, -0.0128183234, -0.0663996562, 0.0222062189, -0.044864174, -0.0004587257, 0.0595750175, -0.0290209167, 0.0080345022, 0.0208409578, 0.0198879689, -0.0340431109, -0.0074358578, 0.018903736, -0.011506048, -0.0075955535, -0.0415834598, -0.0742026791, 0.0170267075, -0.0371921025, 0.0036353741, -0.0684849396, 0.0208754428, 0.0156493802, -0.0325298682, -0.0038756817, 0.01406781, 0.0552891865, 0.006268526, 0.0098117255, 0.0148199396, -0.0171174817, 0.046061188, 0.0218177587, 0.016623795, 0.0537934974, -0.0228085611, 0.0555713959, 0.0436177813, 0.0147248171, 0.0154193668, -0.0062946198, 0.0080211554, -0.0001789008, 0.012105803, 0.053457655, -0.027961025, 0.0174387936, 0.0042744307, 0.0411248654, -0.0328075439, 0.0201316867, -0.0016874975, -0.0073140957, 0.0541864373, 0.0329128951, 0.0541566052, 0.0393154398, -0.0145799899, 0.047062885, 0.0068727001, 0.0635722652, -0.0245897919, 0.0165766291, 0.0626876578, 0.0290478878, -0.0385344587, -0.0441138707, 0.0108958073, 0.0167007092, -0.043197833, 0.0358723626, 0.0344851725, 0.0533260629, -0.0482451022, 0.0328123979, 0.0119407037, -0.0568761975, 0.0404513441, -0.0365845598, 0.0553659089, 0.0674367845, 0.0782400444, -0.0558319539, -0.0217758138, -0.0081018843, -0.0080122892, 0.0150017962, 0.0507136881, -0.0354679264, -0.005155026, -0.0581625141, -0.0447037183, -0.0320693962, -0.0037036622, 0.0295956302, 0.0196576584, 0.0118591283, 0.0439376943, -0.0606331453, -0.0011294532, 0.0206371471, -0.0232210271, -0.0372782089, 0.0335183255, -0.0081546009, -0.0031091, 0.0239255968, 0.0059701386, 0.0291975606, 0.0302695297, -0.0232076682, -0.0316766724, -0.0242308266, -0.0230985172, -0.0064512021, -0.0010884387, -0.017989248, -0.0036615913, -0.0187009424, -0.041924417, -0.0357864909, -0.0286403876, -0.0365126245, 0.0346280076, -0.0751087442, -0.0082970401, 0.042940557, -0.0002342248, -0.0644985884, 0.1037297547, 0.0092087472, 0.0088043744, 0.0482800305, -0.0107115367, 0.0192231201, -0.0688930228, -0.0044894791, 0.0177386608, -0.0380801745, 0.0219118893, 0.0546786413, 0.0162471272, -0.0774517804, -0.0311302505, -0.0777605772, -0.0010068098, -0.0198223572, 0.0094360411, 0.0118605467, 0.0564465784, 0.0104127461, -0.0163945518, -0.0630159229, 0.0087919608, 0.0423122086, 0.0166124161, 0.0241740383, 0.0354993343, 0.0469268188, -0.0269273054, -0.0137602314, -0.0000263703, 0.0130879544, 0.0110324482, 0.0417942479, -0.038664788, 0.0141743235, -0.0526120327, -0.0025031129, -0.0121747982, 0.0215935856, 0.0129424632, -0.0660157725, 0.0227157697, 0.0359662361, 0.0435739458, 0.0074907504, 0.0236879792, -0.0080672931, -0.0890214518, 0.0306532886, -0.0389101654, -0.0166910496, 0.0040641245, -0.0159965623, 0.0385471024, 0.0125485361, 0.0003070142, -0.0024376155, -0.0494110994, 0.0306615662, 0.0219927579, -0.0341812521, -0.032096941, -0.0013384453, 0.009805942, 0.0459682047, -0.0039054623, -0.022996081, 0.085580796, 0.0046165357, 0.0046436032, -0.0516368188, 0.0256169848, -0.0643334165, 0.0430176556, -0.019416146, 0.0253554303, -0.0182187296, -0.0072223805, -0.0612648651, 0.0122810919, 0.0218586288, -0.056576252, 0.0284321383, -0.0329996943, 0.0026108506, -0.0117370943, -0.048178032, -0.0509273782, -0.0452957302, 0.0456438027, -0.0067347884, -0.0181947164, 0.0000032854, -0.0011515983, -0.0424336977, 0.0364512503, 0.0084467689, -0.0338034332, -0.042986773, 0.0041271332, 0.077443853, 0.111488089, 0.0063882601, 0.0028105909, -0.0122748818, 0.0099056242, 0.0547881313, 0.0359160341, -0.0290841088, 0.0473159589, -0.003824828, 0.0612784587, -0.0456288233, -0.0234215762, 0.0233270843, 0.0224052072, -0.0451031178, -0.0408502519, 0.060235627, 0.0598342493, -0.0464877263, -0.0097761014, -0.0614712872, 0.076715745, 0.022879187, 0.0934195071, -0.0780851021, 0.0226547346, -0.0187962707, 0.0609766804, -0.0099235112, -0.0059978119, -0.0127993878, -0.1414198279, 0.0530757345, -0.023947034, -0.0065069618, 0.0402876176, -0.0000443991, -0.0149695724, 0.0288681686, -0.0197775923, 0.0386407971, -0.0225238521, 0.0032144494, 0.0095558232, 0.0454843082, -0.0290299617, -0.0028416016, -0.0088662477, -0.0319706611, 0.0717751905, 0.0261290316, 0.0295985639, -0.0484252833, -0.0058305264, -0.0277966075, 0.0220848098, -0.0159261767, 0.0256070588, -0.0000498077, 0.0193697792, -0.0253501777, 0.027217105, 0.0065998309, -0.009419078, 0.0131079964, 0.0518283136, -0.0391154364, 0.0178974457, -0.0470198579, -0.0173809472, 0.0189255085, 0.049853567, 0.0039243368, -0.0183229949, -0.0267603397, -0.0363681354, 0.0312009752, -0.0666881129, -0.0174256805, 0.0183534306, -0.0046434836, 0.0340084583, -0.0730923861, -0.0337458402, 0.0127522284, 0.0400310047, -0.0196288619, 0.0071815732, -0.0340503827, -0.0149586471, -0.0306850318, 0.0184119549, 0.0002963545, -0.0233598575, -0.0171242431, -0.0451973043, 0.0517274328, -0.0862664208, -0.0101079317, 0.0048937672, -0.0087311948, -0.0480543189, -0.0146149546, 0.0619804002, 0.0208074078, 0.0468055941, -0.0254915729, -0.0574386865, 0.0446274392, 0.0533118099, -0.0367140658, -0.0258713886, -0.0116713364, 0.0048722215, -0.0202788543, 0.0308554452, -0.1067315787, -0.0033695053, -0.0361427143, 0.0512119681, 0.0135923484, -0.0403365754, 0.0381503962, 0.0153751597, -0.0064661582, -0.0127526801, 0.0193918832, -0.0363996476, 0.0296542887, -0.0327191092, -0.0448729284, -0.0246470515, 0.0230724011, 0.0136533938, -0.040862266, 0.011789429, 0.0315984488, -0.0232334863, 0.0883662924, -0.0767527744, -0.0135751115, 0.004410163, -0.0202293582, 0.0177703314, -0.0020378302, -0.0236444063, -0.007231073, 0.0117113357, 0.076352112, -0.0334364772, 0.0671071261, -0.0056737042, -0.0022384431, 0.0156985819, 0.0129519571, -0.0704204664, -0.0767576024, -0.0437537953, -0.0061827111, -0.0026914421, -0.0005506411, 0.0278667491, -0.0004971684, -0.0224884097, -0.0071797585, 0.0079221195, 0.0292497352, -0.0554262735, 0.0074383663, 0.048567377, -0.0206722543, 0.0006859066, 0.0543435365, -0.036546655, 0.0005646453, -0.0203585085, -0.0087680537, -0.0486333035, -0.052889023, -0.0024515782, 0.0578872226, -0.0112671033, -0.0011014803, -0.0658323541, -0.0346905179, -0.0141255017, 0.0074905716, -0.0154493954, -0.005250141, 0.063759163, 0.0751589164, -0.0008658102, -0.0232228823, -0.0692178905, 0.0115593364, -0.0968779847, -0.0274102744, -0.0006514753, -6.350935899e-33, -0.040524669, -0.0258143451, 0.0375624374, -0.0457658544, -0.016074378, -0.0094497874, -0.0300379992, -0.0074351062, -0.011752489, -0.0297111999, -0.0297796931, -0.0033074317, 0.0037799922, 0.0351902843, 0.0052600005, -0.0025344316, 0.0404179394, 0.0055058608, -0.0383351371, 0.0704398453, 0.0552673973, 0.0111786965, 0.0088775791, -0.0521741249, 0.0039513828, -0.0139334314, -0.0072819511, 0.0281969402, -0.0245274827, 0.0860860422, -0.0023631281, 0.0368648395, 0.0193315763, -0.0339754112, 0.0019647218, -0.0054043261, -0.074604176, -0.0323047787, 0.0025646898, -0.0351181664, -0.0511937551, -0.0423964188, 0.0160239656, -0.0246967301, 0.0355340764, -0.0049928245, 0.0382401235, 0.0064357095, -0.0248483419, -0.0749049708, -0.0385976695, 0.0066721723, -0.003874378, 0.0056564962, -0.029241221, 0.1036132202, 0.0240356326, 0.0599005185, -0.0033702701, 0.0341129713, -0.0136232097, 0.0633852258, 0.0637562126, -0.0032770245, -0.0102060018, 0.0403909311, 0.0086307824, 0.0123352148, -0.0041727028, -0.0237565786, -0.02521093, 0.0693240687, -0.0072321622, 0.0636256486, 0.0182644054, 0.0112848682, -0.0277832784, 0.0849168301, -0.0164348129, 0.027347533, 0.0121516306, -0.0004825076, -0.0169330053, -0.0177947544, -0.0200378727, 0.0230961964, -0.0510260575, -0.0305758473, 0.0463000052, 0.0401524939, -0.0255372841, -0.0117307445, 0.0290145781, -0.0116238967, -0.0024030898, 0.043989215, -0.0513277613, -0.0055519668, -0.0025558267, 0.0252722986, -0.0142803621, -0.0066018975, 0.0426841266, -0.0270321313, -0.0301712062, 0.0364611931, 0.0148283113, 0.0071412264, -0.0426901616, 0.0230382867, -0.0378760248, 0.0444126502, -0.0363497287, 0.0091730803, 0.0159991663, 0.0207805745, -0.0276914686, 0.0443935208, 0.019392781, 0.0160169844, -0.0402715169, -0.0468054451, 0.0153939016, 0.0106225777, 0.0018387246, 0.036100015, -0.0122652529, 0.0250930674, 0.0319248475, -0.0331834517, -0.0270683337, 0.0378237218, 2.707e-7, 0.0205509141, 0.0114041567, 0.0219770614, 0.0390355885, -0.0094851404, 0.0167083777, 0.0250162985, 0.0424530953, 0.0432974696, 0.0066689034, 0.006400316, 0.0018922923, 0.0327750817, 0.0389198139, -0.1041471064, 0.0049161511, -0.040080823, -0.0271226037, -0.063368544, -0.0432597063, 0.0751001984, 0.0468515754, -0.0379272886, -0.0118426466, -0.0022654918, -0.0151084578, 0.0692864284, 0.0215474907, -0.0300528351, 0.0320905223, 0.0464604758, 0.0136040235, 0.0086154221, -0.0375453308, -0.0384842865, 0.0164742786, 0.0037553818, 0.0159669928, 0.0182408299, -0.1005359367, 0.0125293164, -0.0052176621, 0.0340864398, -0.0647176355, 0.0657243282, -0.0115573639, 0.0101410374, -0.0020494803, -0.0413158871, -0.0128863715, -0.0142937144, -0.047966443, -0.0098514073, 0.0180105921, -0.0068516708, 0.0118914656, -0.0057643703, -0.0513962917, -0.0326199047, 0.0055138459, -0.0371824391, -0.0530217327, -0.0385148562, 0.0399314612, -0.0418721177, -0.0451263152, -0.0008141957, 2.597314232e-34, 0.0390181579, 0.0260668863, -0.0097639076, 0.0134645822, 0.0394267067, 0.0130324746, -0.0240648072, 0.0272910874, 0.039113678, -0.0886317044, -0.0411609747 ]
http://arxiv.org/abs/2406.12564v1
http://arxiv.org/pdf/2406.12564v1
Low-Resource Machine Translation through the Lens of Personalized Federated Learning
2024-06-18T12:50:00
2024-06-18T12:50:00
Viktor Moskvoretskii, Nazarii Tupitsa, Chris Biemann, Samuel Horváth, Eduard Gorbunov, Irina Nikishina
cs.CL
cs.CL, cs.LG
We present a new approach based on the Personalized Federated Learning algorithm MeritFed that can be applied to Natural Language Tasks with heterogeneous data. We evaluate it on the Low-Resource Machine Translation task, using the dataset from the Large-Scale Multilingual Machine Translation Shared Task (Small Track #2) and the subset of Sami languages from the multilingual benchmark for Finno-Ugric languages. In addition to its effectiveness, MeritFed is also highly interpretable, as it can be applied to track the impact of each language used for training. Our analysis reveals that target dataset size affects weight distribution across auxiliary languages, that unrelated languages do not interfere with the training, and auxiliary optimizer parameters have minimal impact. Our approach is easy to apply with a few lines of code, and we provide scripts for reproducing the experiments at https://github.com/VityaVitalich/MeritFed
[ 0.0329551734, 0.0623644292, -0.0160425045, 0.0330826081, -0.0273905098, 0.0269569475, 0.0503877699, -0.0149328932, -0.0062599001, -0.0117074791, -0.0463619791, -0.0520026982, 0.0582443736, -0.0131734712, 0.0125889163, -0.0446367674, 0.0480429009, -0.0227510352, -0.0094334846, -0.0323233642, -0.0301499292, 0.0390451662, -0.0127411727, 0.0362683199, -0.0362096578, -0.024695741, -0.00572757, 0.0167778544, 0.0368835591, 0.0080609545, 0.0036253533, 0.0520017482, -0.0064321253, 0.117776148, 0.0000021201, -0.035755977, -0.0146218389, 0.0016172274, 0.025906926, 0.0385101363, 0.0577254184, -0.0010372002, -0.0158077125, 0.0123513062, -0.033385504, -0.0374329835, 0.0699605718, -0.0162402634, 0.0342745855, 0.0961107016, -0.0070665143, -0.0484644845, -0.0344331972, -0.0407226682, -0.092410028, 0.0090448288, -0.0176317375, 0.0138958218, -0.0486601032, -0.038246803, -0.0329749212, 0.0318834074, 0.0152213518, 0.0324251726, 0.0264413245, -0.0063005225, -0.057157021, -0.0257892441, -0.0318840407, 0.0790620148, -0.0182784759, 0.0046918956, -0.0241316278, -0.0275678225, -0.0087348819, -0.0011593298, -0.0065736175, 0.001728464, -0.0140095782, 0.0193589646, 0.0685415789, 0.0538617149, 0.0167378634, 0.002197207, -0.0247500278, 0.0416927338, -0.0181480721, 0.0167034399, -0.01020901, 0.0139370197, -0.0104317712, -0.0213017296, 0.0486722849, -0.001750025, -0.0398360975, -0.0132165095, -0.0533155762, -0.1215954348, 0.0224596467, -0.034085054, 0.0220561214, 0.0448822416, 0.0062883967, 0.0347042494, 0.0046980134, -0.0261695515, -0.0334338881, 0.0187808126, -0.0644608662, -0.0119201178, -0.0661143064, 0.0204060264, -0.0332524702, 0.0204747785, -0.0264682453, 0.0100011695, -0.0217385031, -0.01312178, -0.0317931473, 0.0142838722, 0.0460869037, -0.0187426992, -0.089231059, -0.0026899569, 0.0147406729, 0.0531868637, -0.0499478243, 0.0041372557, -0.0202493351, -0.0220578872, -0.0132666342, 0.0254525337, 0.0012246299, -0.034387175, 0.0031795774, 0.0563280545, -0.0103783766, -0.0248122904, 0.0072200196, -0.0227120109, 0.0269880891, -0.0655075386, -0.0380607806, -0.0819868147, 0.0529851206, 0.0025728608, 0.0221935418, -0.0177527666, -0.0235648472, -0.0233602431, -0.0341549926, 0.0389632508, 0.0065400782, -0.0206704214, 0.0105807204, -0.0145972185, -0.0293508954, 0.119964458, 0.0304739904, 0.044241, 0.0535516292, 0.0001569401, -0.0851171091, 0.0296690837, 0.0003508218, 0.0620661713, 0.0020082113, 0.015777139, -0.0596963875, 0.0219131391, 0.0360789411, -0.0068358481, -0.0076777264, 0.01787032, 0.0529619083, 0.0773358122, 0.0467056073, 0.0267236121, 0.0066040871, 0.0308624115, 0.0428373106, 0.0407007597, -0.0070687039, 0.0153925456, 0.006408209, -0.0450442843, 0.0212557856, 0.1098902598, -0.017135974, -0.0448514782, 0.0243454166, -0.0491453372, -0.0325185098, 0.0028753453, 0.0527787544, 0.001414553, -0.0214331318, -0.000105264, 0.0339846276, -0.0167293344, 0.0190904327, 0.0179156214, -0.0303708445, 0.0374103822, 0.0372127965, -0.0392655768, -0.0167629365, -0.0462609194, -0.0013881897, 0.0097581847, 0.0440637246, 0.0037887867, 0.0457619727, -0.0532880574, -0.040787071, 0.0374529064, 0.0143244294, 0.0187740047, -0.0380610637, 0.050291732, -0.0102856811, 0.0244184453, -0.0472840033, 0.0308722928, 0.0150086554, 0.000540094, 0.0741941631, 0.0146837402, 0.0471674763, 0.0349682085, 0.0057802415, -0.0139547568, -0.0070924377, -0.0346865281, -0.0494701155, 0.0184922293, 0.0076438352, -0.0459492654, -0.0002892391, -0.0263895076, -0.0191106107, 0.0290090498, -0.0640470013, -0.0416530743, 0.0230575632, -0.035916537, 0.0009792849, -0.011025086, 0.0166822206, 0.0030582272, 0.0239133742, -0.0433684252, 0.020210335, -0.0161255579, -0.0480766222, 0.0040394221, -0.070676744, 0.049183473, -0.0660880134, 0.0504835695, 0.0263026711, 0.0358496942, 0.0251621548, 0.0210392363, 0.0141607486, 0.0055283513, -0.0037664066, -0.0358844958, 0.0377454236, -0.033973828, 0.0496397503, 0.0251591485, 0.0594307184, 0.0039371215, -0.0292717461, -0.0139983455, 0.0139082121, -0.0184101388, -0.0005797875, -0.0241619907, -0.0042524002, 0.0144083397, -0.0073387083, -0.0372135341, 0.0209013186, 0.0618899129, 0.0144560859, -0.0340823159, -0.0709339678, -0.0196822379, -0.0722385943, 0.0113762282, 0.0305779073, -0.0355877765, -0.019538844, 0.0048906654, 0.0210968498, 0.0292498879, -0.0405435637, -0.0132232215, 0.0334788822, 0.0204995405, -0.0658431277, 0.0144813182, -0.0389635563, 0.0572790951, -0.0161415804, 0.0069106021, 0.0297530796, 0.0288651213, 0.018010417, -0.022493856, -0.0605598167, 0.0546185821, -0.0223807488, -0.0120055536, -0.0340601876, 0.0632549003, 0.0338331088, 0.0372954831, 0.0007484423, -0.0702123493, 0.0961006433, 0.0165347811, 0.0117832003, -0.0547491759, -0.0331400298, -0.0693563446, 0.0320721716, -0.0382703729, 0.0416178219, -0.0243574865, -0.0185099803, -0.019937586, 0.0474065579, 0.0182711016, -0.0257678274, 0.0064404518, -0.0115248319, -0.004755001, -0.0216509588, -0.0161290541, 0.0057652574, -0.0404377617, -0.0116838682, -0.0231730901, -0.0237077512, -0.0148541676, -0.0221293326, -0.016842274, -0.0075211106, 0.033852309, -0.0258771181, 0.0207014885, -0.0167067684, 0.0382282548, -0.0165959932, -0.044348482, 0.0114445277, -0.0200296771, 0.0012832559, 0.0293626264, 0.0305494815, -0.0374797471, 0.0139896814, -0.0331132337, 0.0535860285, -0.0267644804, -0.0283827148, -0.040992979, 0.0599582754, -0.0495543256, 0.0482564345, 0.0649199113, 0.0063581415, -0.0424022079, 0.0273185894, -0.0263601132, 0.0597721487, 0.0092369672, 0.0214071032, -0.0709221512, -0.0218411721, 0.007404271, 0.0436343849, 0.0268809274, -0.0109364456, -0.016014982, -0.0587891415, -0.0014718769, 0.0544184931, -0.0599373952, -0.0321188457, -0.0229608845, -0.0434627458, -0.0529479235, -0.0179816894, -0.0422149301, 0.0422713421, 0.0280109737, 0.0131227477, -0.0086874478, -0.0853208825, -0.029683413, -0.0255145859, 0.0513902791, 0.0084421877, 0.0094197579, -0.0151106268, -0.0841485709, -0.0211879574, 0.0346732773, -0.0419991091, -0.0557229184, 0.0268979445, -0.0056850254, -0.0348572135, 0.0063524074, 0.0054586525, -0.0062795989, 0.0328913778, 0.0523220114, 0.0693891346, -0.0137088606, 0.0224965028, 0.0147121651, -0.0466365553, 0.0670247376, 0.0214441158, -0.0038071494, -0.0329466835, -0.0111958813, -0.0048142369, -0.0371474251, -0.0601081811, -0.0182946362, 0.0564140081, -0.0147443339, -0.022411, -0.0653402731, -0.0294852834, 0.0386661254, 0.0474781916, -0.0011877218, 0.0443904549, -0.0091314139, -0.0056261709, -0.036508698, 0.094962813, -0.0307858624, 0.0504062213, -0.0756059512, -0.0598940551, -0.0124168349, -0.0295653567, 0.0080443257, 0.0395108052, -0.0579974353, -0.0517158285, -0.0343421921, 0.0620949082, 0.0139055047, 0.0435910635, -0.0138023654, -0.0458550677, 0.0275130421, -0.0172606464, -0.0501031987, 0.0000886476, 0.0644686073, -0.0643015876, -0.0017625026, 0.0604966506, 0.0201264434, 0.0180861317, -0.0018941802, 0.0290677659, 0.051228635, -0.0553160459, -0.0348240398, 0.0257979929, 0.0392296091, -0.0567337126, -0.0432288647, -0.0309141818, 0.0244390182, -0.0077818842, -0.0014857689, -0.0473874807, -0.0191343781, 0.0121992761, 0.0079177553, 0.0011475118, -0.0063748662, -0.0016519161, -0.0319256857, -0.0059350636, 0.029839417, -0.0350647345, 0.0149257332, 0.0361910276, 0.0260031652, 0.0023471082, 0.0118897082, 0.0042274413, 0.0318502523, -0.0260525346, 0.0293031149, -0.0224616583, 0.0272992272, -0.029307805, 0.0432741381, -0.0260178912, -0.0543164313, 0.0237436797, -0.0330906548, 0.0534111708, -0.0034382674, 0.0824361071, 0.0194378216, -0.0045501459, -0.0173558965, 0.0472271852, -0.0278128441, -0.011471292, -0.0162017271, -0.0277506802, -0.013604911, 0.0747423768, 0.0913868919, -0.0187886655, 0.0049527986, -0.0244214926, -0.0045307982, -0.034232866, -0.0340984166, 0.0416726246, 0.0469221286, -0.0468157642, -0.007099865, -0.0560462587, -0.0463835001, -0.0087492876, -0.0227549877, -0.0153737403, -0.0126736378, 0.0396123938, 0.0103467694, -0.0451858342, 0.0323846452, -0.0696126968, 0.0172796659, -0.0081036333, -0.0095392801, 0.0064053391, -6.195564934e-33, -0.0105554797, -0.0008584234, -0.0077644694, 0.0205256697, 0.0208735336, 0.0267997496, 0.0130028669, -0.0147539629, 0.0282218214, 0.0079581011, -0.0027658802, -0.0349634476, 0.0203107744, 0.0128445374, 0.0063309558, 0.0394790582, 0.0338367075, -0.0079259444, -0.0237354822, 0.0335335061, 0.0503044352, 0.0244436581, 0.0954007134, -0.0614049621, 0.0385802388, 0.0047554285, 0.0024313766, 0.0229270253, -0.0125869168, 0.0219280049, -0.0141114341, 0.0324209034, 0.0015217804, -0.0294719357, -0.0251688249, -0.0327965617, -0.0745585263, -0.0158487726, -0.0038772011, 0.0665503219, -0.0500835739, -0.0363480709, 0.0278077535, -0.0139059993, -0.0195711982, -0.013751125, 0.0316796377, -0.0103106694, -0.0231105257, -0.0186744798, -0.0527570024, 0.0313334763, -0.0144050326, 0.0156921837, 0.0247098729, 0.0691331327, 0.0009234192, -0.0173194241, -0.0421187878, -0.0049687098, -0.0591944978, 0.023917865, 0.0532009713, 0.0209884532, -0.0291174054, 0.0038185162, 0.0605278388, -0.0098742517, 0.0090984004, 0.0445277244, 0.0239566229, -0.0247358996, 0.0392239727, 0.0424582399, 0.0200054757, -0.027075354, -0.0711671337, 0.0527155884, 0.0547631569, -0.0507350191, 0.0009294348, -0.0000929565, -0.0140957506, 0.0046693445, -0.0224067643, -0.0181110371, -0.0097137708, -0.0028752908, -0.028660059, 0.0026385142, -0.0523872487, -0.0056196037, 0.0412302017, -0.0166066159, 0.0069016176, -0.005948652, 0.0103349434, 0.0215182565, -0.0035933652, 0.0292326733, -0.0262882188, -0.034002617, -0.0033249764, -0.0040213973, 0.0443641767, -0.0044446103, 0.0778192878, 0.031328924, -0.0184894875, 0.0123037938, -0.0328356475, 0.0067760358, -0.0169138573, 0.0779567212, 0.0352203995, -0.0084341569, -0.0232844725, 0.0212058015, 0.0472723246, -0.0078528086, -0.0266856998, -0.022475278, 0.0291878991, 0.0346818678, -0.0259702075, -0.0060451687, -0.0411797985, 0.003544268, 0.04821245, -0.0314161107, -0.0171222482, -0.035260208, 2.797e-7, 0.0424930379, 0.0413472839, -0.0318111628, -0.0503670014, 0.0214917511, 0.0303598586, -0.0431758054, 0.0424454063, -0.0179282278, 0.0459854342, 0.0294985697, 0.0397816673, 0.0483562425, 0.0133737922, -0.0642556101, -0.0444090143, -0.0068519916, 0.0713523701, -0.0692568123, -0.0201946646, -0.0309264548, 0.0775698796, 0.0646259636, -0.0284900796, -0.0142831802, 0.031001335, 0.0542852618, 0.022218585, -0.0381990671, -0.0166305918, 0.0309413355, 0.0519269817, -0.0575423241, -0.0171186775, -0.0236643888, 0.0253117085, 0.0156744178, 0.0797074884, -0.023196578, 0.0262219477, 0.0049268925, 0.0134318443, -0.0333331116, 0.0231032595, 0.0347762555, -0.014959217, -0.0633163005, 0.0023647314, 0.0419496857, 0.0532090478, 0.0556536689, -0.00204183, -0.0383386239, 0.0501168929, 0.042365253, -0.0263722483, -0.0525228046, -0.0365074724, -0.0273812767, -0.0286445394, -0.0116824927, -0.0379241519, -0.0114574935, 0.0462507196, -0.006310401, -0.0331682153, -0.0232049413, 2.561557163e-34, 0.0568351299, 0.0049695754, 0.0144203827, -0.0421068743, 0.0059660831, -0.0478041731, -0.0147602549, 0.0063615129, 0.0282206517, 0.0153508903, -0.0243114922 ]
http://arxiv.org/abs/2406.12549v1
http://arxiv.org/pdf/2406.12549v1
MultiSocial: Multilingual Benchmark of Machine-Generated Text Detection of Social-Media Texts
2024-06-18T12:26:09
2024-06-18T12:26:09
Dominik Macko, Jakub Kopal, Robert Moro, Ivan Srba
cs.CL
cs.CL, cs.AI
Recent LLMs are able to generate high-quality multilingual texts, indistinguishable for humans from authentic human-written ones. Research in machine-generated text detection is however mostly focused on the English language and longer texts, such as news articles, scientific papers or student essays. Social-media texts are usually much shorter and often feature informal language, grammatical errors, or distinct linguistic items (e.g., emoticons, hashtags). There is a gap in studying the ability of existing methods in detection of such texts, reflected also in the lack of existing multilingual benchmark datasets. To fill this gap we propose the first multilingual (22 languages) and multi-platform (5 social media platforms) dataset for benchmarking machine-generated text detection in the social-media domain, called MultiSocial. It contains 472,097 texts, of which about 58k are human-written and approximately the same amount is generated by each of 7 multilingual LLMs. We use this benchmark to compare existing detection methods in zero-shot as well as fine-tuned form. Our results indicate that the fine-tuned detectors have no problem to be trained on social-media texts and that the platform selection for training matters.
[ 0.0517812558, 0.0416139811, 0.0210984815, 0.096069105, -0.0268808808, 0.0398823954, 0.0044946214, 0.0479927212, 0.0209237467, -0.0296828505, -0.0244253855, -0.0449122787, -0.0224174429, 0.0073719635, 0.0041572619, 0.0058788508, 0.0303136129, 0.0264865961, 0.0059602619, 0.0106100896, 0.0402661413, 0.0456299856, 0.0154502466, 0.0017025498, -0.0383153409, 0.0156111522, 0.0265961885, 0.0518594943, 0.0363807492, -0.0398065783, 0.0328363217, 0.056851238, -0.0057593621, 0.1229308173, 0.0000015987, -0.0168041848, 0.0038641361, -0.0236879624, 0.0129232854, -0.0346966051, 0.1006567255, -0.0823612586, -0.0413909815, 0.0249504503, -0.038976863, 0.030522177, 0.0411367156, 0.0209906101, 0.0029073113, 0.0880909711, -0.0476091243, 0.0047665671, 0.0174061824, -0.0068616546, -0.0108361226, -0.0082483096, -0.0095450217, -0.0485617593, -0.0319903605, 0.0214306898, 0.0132868141, 0.025464572, 0.0178646892, -0.0191708896, -0.0359805934, -0.0040312558, -0.0294756778, -0.0412094444, -0.0212631822, 0.0635729432, -0.0491989702, -0.0309203658, 0.0259069782, -0.0278344098, -0.0039753048, -0.0110242637, 0.0153688658, 0.0369480141, -0.0385948978, 0.0423406959, 0.0026298321, 0.0068001733, 0.0253924783, 0.0815230608, 0.0363088809, 0.0273067914, 0.0074525219, -0.0228147935, 0.0010803896, 0.0530271344, 0.001493006, -0.0041089761, 0.0782492608, 0.0135828592, -0.0002227672, -0.0186606925, -0.0637649596, -0.0898271501, 0.0422350392, -0.0762199163, 0.0190712195, -0.0236634929, 0.0016354123, 0.0369582772, -0.0503912196, 0.0119033894, -0.0424323082, 0.0284488797, -0.003504043, 0.0104512665, 0.0140757849, 0.0260229278, -0.0045495983, -0.0290308073, -0.0417529494, 0.0015676859, -0.0504282303, 0.0207434501, 0.0293123815, -0.00613093, -0.0521389879, -0.0373154692, -0.03935422, -0.0050144303, 0.0499023534, 0.0192027744, -0.0265769307, 0.0120794522, 0.0009353497, -0.0595314763, 0.0023140779, 0.0676964521, 0.0701602548, -0.0122920601, 0.0204377752, 0.0281492509, -0.0409070626, -0.073409684, -0.0525272861, -0.0344169401, -0.031102499, -0.0639694706, 0.0152282575, -0.0903188363, 0.0298089851, -0.0119395833, -0.0091158925, 0.0241484903, 0.0150325261, 0.0410043783, -0.0261176061, 0.03189639, -0.040727295, -0.0069391928, 0.0253897328, 0.0100681866, 0.0270556118, 0.0873854384, 0.0179011412, 0.0812663287, 0.0778263137, 0.0210687686, 0.0130192153, 0.0762690082, -0.0160019025, 0.0427706167, 0.0008573306, -0.0509056598, -0.0378789678, 0.0022123568, 0.0233753156, 0.0366725326, -0.012178571, 0.0010086116, 0.0600249246, 0.0423706099, 0.0103355199, -0.0129967285, 0.0441270061, 0.0378762223, -0.0051689125, 0.0338051133, -0.0150688253, -0.013407724, -0.0395442136, -0.0301115215, 0.0178506169, 0.0228222311, -0.0256997105, -0.0089410255, -0.0009451965, -0.0478474386, 0.0309100244, -0.0477033854, 0.0622997805, -0.0038794524, -0.0375130251, 0.0008215707, 0.021960061, -0.0548165478, 0.0151205882, -0.0223627575, 0.0434865206, 0.0557111055, 0.0113165788, -0.0062912158, 0.029974157, -0.0026188972, 0.0498666242, 0.1221998483, 0.0115544824, 0.0214376766, 0.0288241282, -0.0378085636, -0.0062293909, 0.0124587417, -0.0030490637, 0.0008404417, 0.0314558558, 0.0583737716, 0.0241549332, 0.0211334582, -0.0418570898, 0.0327810235, -0.0202606115, 0.0253715515, 0.0073840767, 0.0024771779, -0.0036779279, 0.0386810787, -0.008939378, -0.0327692367, 0.018375013, -0.0561569929, -0.0312312692, -0.0082623791, -0.0293306727, -0.0381327905, 0.0083088176, -0.0552432351, -0.0293952785, 0.0347984768, -0.053615611, -0.0243067481, 0.0217159204, -0.0115956469, -0.0019928822, -0.0419921055, -0.0236443914, -0.0438135825, 0.0499154702, 0.0416195579, 0.035910055, -0.0343442336, 0.0035964472, -0.0149167525, -0.0390511565, 0.0407085977, -0.0024920721, -0.0099566886, 0.0247353427, -0.0279041976, 0.0249455906, 0.0364460908, 0.048036173, -0.0475357361, -0.03979614, -0.0927604362, 0.0133503368, -0.0625042096, 0.0212715771, 0.027314879, 0.000875248, -0.0138340695, -0.0456698574, -0.0266714357, 0.0344863273, 0.0568541922, 0.0189042576, 0.0569195971, -0.0287761446, 0.0527987368, -0.0325965472, -0.0134970602, 0.0116118249, 0.0073552257, 0.0491978601, -0.0793850943, -0.018447103, 0.024217166, 0.001281822, -0.0083333058, 0.0176026095, -0.0563060716, 0.0109073445, 0.0170632675, 0.0118092066, 0.0616027452, 0.0257577822, 0.012534393, -0.0364439264, 0.0448816158, -0.0137013262, -0.0029867301, 0.0004714165, -0.0010999672, -0.0276316348, -0.0595731027, 0.0151467817, 0.0361385345, -0.034974616, 0.0282948315, -0.0048416187, -0.0061462787, -0.0292002615, -0.0366454273, 0.0008773169, 0.0025482769, -0.0153076993, 0.0200552382, -0.0426186174, -0.0594924763, 0.0235903617, -0.0146280527, -0.0033035863, -0.0110110678, -0.0493895002, -0.0280803982, 0.0121894749, 0.0143179996, 0.0542561971, -0.0523107313, -0.010261273, -0.0104234451, 0.0168030914, 0.0422633812, -0.0125302579, 0.0031105073, 0.0187746473, 0.0016627586, -0.0248129107, -0.0314544253, -0.0284719206, -0.0501330793, -0.0336312465, -0.0389820039, -0.0178503543, -0.0355218612, -0.0068283719, -0.0400281511, -0.0085089384, 0.0478284508, -0.0105807995, -0.0112167755, -0.0144303236, 0.0561366715, 0.0147210872, -0.0286775231, 0.0214934219, -0.065172188, 0.0051279617, 0.0808909535, 0.0139839239, -0.0023047172, 0.0064876089, -0.0204518139, 0.0097173583, 0.0391669646, -0.0134068662, -0.0248253588, 0.0796794519, -0.019460706, 0.0269783903, 0.0844756514, 0.0029090038, -0.0494268462, -0.0081682913, -0.0104650995, -0.0036015641, 0.0264296066, -0.0099350838, -0.1248520538, -0.0399012826, -0.0096396767, -0.0012558177, -0.0101995142, -0.0003121571, -0.004404577, -0.0809867531, -0.0049851122, 0.0296658371, -0.0236170217, -0.0031810724, -0.007348205, -0.0174009223, -0.01118764, -0.0003519999, -0.0301856007, -0.002991321, -0.0261183158, -0.0100033581, -0.0245862957, -0.0647777766, -0.0230572559, -0.0557898507, -0.0214172378, 0.0120667191, 0.0531047471, -0.02665109, -0.0395123698, 0.0428113043, 0.008156986, -0.0101913875, -0.0350756608, 0.0512192659, -0.004271274, -0.0226974636, -0.0278922804, 0.0273222011, -0.052912768, 0.0017336288, 0.0047059939, 0.0198323913, 0.0434129313, -0.0563646294, -0.0186724663, 0.0102160526, 0.0261531584, 0.0479564853, 0.0166585054, -0.0608375855, -0.0569704995, -0.0114749204, -0.0077370899, -0.0934744775, -0.0173496995, -0.0099604484, -0.0377359539, -0.0427503251, -0.0657271445, -0.0422244072, -0.0247090124, 0.0236714929, -0.0340524428, -0.0273679998, -0.0156677682, -0.0416300148, -0.0335888453, -0.0010670351, -0.0180222373, 0.0341451168, -0.045267731, 0.0268812589, -0.0291986968, -0.022138644, 0.0181509554, 0.0144248782, -0.0874022767, -0.0588807762, -0.0212662574, 0.0007054896, 0.011056846, -0.0049763341, -0.0371009335, -0.052562993, 0.0355884731, 0.0631989986, -0.0233444367, 0.0157743189, 0.0259623881, 0.0074344203, -0.0247561261, 0.0435856171, -0.0123056779, 0.0314042345, 0.0406801552, -0.0316571854, -0.0360191874, -0.0075362152, -0.0308501944, 0.0120346025, 0.0330332592, -0.039518144, -0.036068704, -0.0506570563, -0.0397553258, 0.0007209022, -0.0134875346, -0.0554432534, 0.0112296948, 0.0200220589, 0.0051279985, -0.0161888804, 0.0009284278, -0.0043334933, 0.0432054326, -0.0436771996, 0.0451466702, 0.0198897347, 0.0581759959, 0.0188579056, 0.01718341, 0.0020269058, 0.0716514364, 0.0086180689, 0.0307618845, -0.0177273043, 0.0453425609, -0.0070326566, -0.0196484514, 0.0305713806, 0.0320402533, 0.0083059911, 0.030496072, -0.0538654886, 0.0396953598, 0.0965956971, -0.0230273977, 0.0860155001, -0.0131457113, -0.0044265301, -0.0288712587, 0.0159206912, -0.0221676603, -0.0545885153, -0.0272897668, -0.0299577527, -0.0306198932, 0.0299690682, 0.0757978857, -0.0133874156, 0.0132106328, 0.0489076599, -0.0073551624, -0.0277871229, 0.0225197766, 0.0279918555, 0.0086454749, -0.0115687083, 0.0268270206, -0.0274244081, -0.0423175916, 0.0306009017, -0.0323177837, 0.0038290648, 0.0320408791, -0.0180309266, 0.0737086087, 0.0109263407, 0.0569032431, -0.0380618609, -0.0163382683, -0.0020029163, -0.0312140398, 0.0138583574, -5.894474913e-33, 0.0280318595, -0.074132815, -0.0473519601, -0.0187407341, 0.0030104381, 0.0288531985, -0.0211482868, 0.0114527429, 0.005787177, 0.017617546, -0.0089707039, 0.0262377616, 0.0196786728, 0.0249746479, -0.0083608814, -0.0195850451, 0.0291792043, -0.021226624, -0.033518333, 0.0070416932, 0.0457375459, 0.0266245231, 0.0652634874, -0.0469097756, 0.0241400674, -0.0473600067, -0.0395109691, 0.0163993537, 0.0349019095, 0.0491880439, -0.0229074098, 0.0560738929, 0.0564915203, 0.0352654643, -0.0165361557, 0.0659148768, -0.0254065972, -0.0128866462, -0.0320849307, 0.0352320895, -0.0724461302, -0.0520358086, 0.0347020291, -0.0390227214, -0.0246708877, 0.019857157, 0.0239954777, -0.0309807584, 0.0233837105, -0.0306639988, -0.0847837552, 0.0626548454, 0.02408503, 0.0099734478, 0.031668704, 0.0704724863, 0.008445641, 0.0366002731, -0.057433527, 0.0150314244, -0.0534570515, -0.0051707467, 0.0271128044, -0.0053913649, -0.047289744, 0.0294338726, 0.0260253735, 0.0517931581, 0.0144612845, -0.0088449437, 0.0020974684, 0.0053646043, 0.0768562257, 0.1038106307, 0.0392627716, -0.049598936, -0.0743745491, 0.0216810573, 0.0518548265, -0.0347928479, 0.0113423299, -0.0002602391, -0.0205184445, 0.0122005977, 0.0131745311, -0.0488107167, -0.0399855524, -0.0172293689, -0.0007145757, 0.044346422, -0.0267668553, 0.0114405341, 0.0322700776, -0.0292026382, -0.0226172842, -0.0018926295, -0.0227623656, 0.0320026129, 0.0072298734, 0.0328894258, -0.0311894584, -0.0467054322, 0.0100253774, 0.0161555838, -0.0023864633, -0.009912801, 0.0874369442, 0.0042997859, -0.0557258762, 0.0166007914, -0.0274192467, 0.0298614707, -0.0005953847, 0.0230633803, 0.0168981627, -0.0528917685, -0.0220118891, 0.0394706242, 0.0299282409, 0.0237711407, -0.0203598216, -0.0219055973, -0.0273959991, 0.0243266877, -0.0176112764, 0.0166387521, -0.0333191827, -0.0084271049, 0.0223863423, -0.0561809726, 0.0124858562, -0.0290367883, 2.317e-7, 0.0220252834, 0.033829771, 0.014702565, -0.019994352, 0.0398899205, 0.0432097539, -0.01147018, 0.0320807956, -0.0622311085, 0.0196267441, -0.0320259109, 0.0334033072, 0.0855625123, 0.0135164717, -0.0645999759, 0.0200614389, -0.0767792538, 0.0123193841, -0.0445639454, -0.0200807173, 0.0258859619, 0.0525507592, 0.0116141587, -0.0344099887, -0.0089387447, -0.0792037398, 0.0684855506, -0.01503208, -0.0091503272, -0.0126713701, 0.0339569598, 0.0149205662, -0.0022078503, -0.0199716147, -0.0244394578, -0.0285098255, 0.0429252088, 0.0571053885, 0.0273890644, 0.0313792564, 0.0509832948, -0.0166828632, -0.0157402232, -0.0072437539, 0.048741363, -0.0086864224, -0.0344308019, -0.0306185, 0.023981927, -0.0318199508, 0.0541331433, -0.0344062112, -0.0530729257, 0.0505458638, 0.050390806, -0.0104668792, -0.0278314799, -0.0296618268, -0.0085313888, -0.0124711432, -0.0191933047, 0.0121274404, -0.0705616698, 0.0293746591, 0.046127364, -0.0252317488, 0.0366002545, 1.618426592e-34, 0.0303472187, -0.0298180357, 0.0042281426, -0.0119289225, -0.0055376152, 0.0202252474, -0.0410341546, -0.010232782, -0.0063633253, 0.0034852112, 0.0514092892 ]
http://arxiv.org/abs/2406.12548v1
http://arxiv.org/pdf/2406.12548v1
P-Tailor: Customizing Personality Traits for Language Models via Mixture of Specialized LoRA Experts
2024-06-18T12:25:13
2024-06-18T12:25:13
Yuhao Dan, Jie Zhou, Qin Chen, Junfeng Tian, Liang He
cs.CL
cs.CL
Personalized large language models (LLMs) have attracted great attention in many applications, such as intelligent education and emotional support. Most work focuses on controlling the character settings based on the profile (e.g., age, skill, experience, and so on). Conversely, the psychological theory-based personality traits with implicit expression and behavior are not well modeled, limiting their potential application in more specialized fields such as the psychological counseling agents. In this paper, we propose a mixture of experts (MoE)-based personalized LLMs, named P-tailor, to model the Big Five Personality Traits. Particularly, we learn specialized LoRA experts to represent various traits, such as openness, conscientiousness, extraversion, agreeableness and neuroticism. Then, we integrate P-Tailor with a personality specialization loss, promoting experts to specialize in distinct personality traits, thereby enhancing the efficiency of model parameter utilization. Due to the lack of datasets, we also curate a high-quality personality crafting dataset (PCD) to learn and develop the ability to exhibit different personality traits across various topics. We conduct extensive experiments to verify the great performance and effectiveness of P-Tailor in manipulation of the fine-grained personality traits of LLMs.
[ 0.0714927688, 0.0428879373, -0.0474421717, 0.0186639931, -0.0145653086, -0.007083578, 0.039768137, -0.0413791686, 0.0046471716, 0.0257075187, -0.0547281094, 0.0273231473, -0.0298600625, 0.029690804, 0.0212968197, -0.0706354678, 0.0393278599, -0.0078625167, 0.0629869998, -0.0368030705, 0.0014033836, 0.0548186116, 0.0029097577, 0.0429938398, 0.0118013527, -0.0143627357, 0.0071465797, -0.0182452854, 0.037720874, 0.0105465287, 0.0401402526, 0.0646283031, -0.0000567506, -0.0359322913, 0.0000019981, -0.0287690088, -0.0381735265, -0.015210811, 0.0149166817, -0.0344412103, 0.0930004343, 0.0470370091, 0.0038208314, 0.0463545173, -0.0575926974, -0.0144811319, 0.0114285974, 0.0538564995, 0.0823324472, 0.0648077354, -0.0050366153, -0.0205164123, -0.0011845072, -0.0039048211, 0.0239486564, -0.022259783, 0.0152758537, -0.0325032286, -0.0239687935, 0.0162032526, -0.0148251001, -0.0135342712, -0.0149240615, 0.0043830615, 0.0012457287, -0.046103444, -0.0208169017, -0.0178795699, 0.0065259933, 0.0515869595, 0.0189475194, -0.0013522794, -0.0118696596, -0.0247437656, 0.0342447236, 0.0101028373, 0.0121417008, 0.0135086607, -0.0081176041, -0.0101012792, 0.0441211239, 0.0080157854, -0.0346291065, -0.0008847457, -0.0267267823, 0.0516213402, -0.0101629039, 0.0084257368, 0.0024785805, -0.019457357, 0.0163566731, -0.0334234349, 0.0272075105, 0.008970594, -0.0155819627, 0.0215623807, -0.0572762899, 0.0155153805, 0.0114407288, 0.0009296589, 0.028589461, 0.0239148997, -0.0015105979, -0.0124245575, 0.0253419876, 0.0125346854, 0.0366093554, 0.0225343071, -0.0321054831, -0.0229086708, -0.0938242227, -0.0011035047, -0.0029141523, 0.007654164, 0.0104515133, 0.0180955902, -0.0781863779, 0.0295827817, -0.0382052213, 0.0044778092, 0.011963659, 0.0034785317, -0.0137755666, 0.0048130904, -0.0813662782, 0.018042447, -0.0435554571, -0.0019276105, -0.0164702851, -0.0202875491, 0.0495285206, 0.0049511031, 0.0037275765, -0.0288863555, 0.0552693605, 0.0520451553, 0.0088132862, -0.0399993509, -0.0382557362, -0.0270535331, -0.0085754916, -0.0639603063, 0.0150456131, -0.0278553702, 0.0401563011, -0.034320835, 0.0026463941, -0.0931494758, -0.0315141343, 0.0010351411, -0.0093507897, 0.0407560654, -0.0043603815, 0.0142975226, 0.0151048163, -0.0050665173, -0.0061692246, 0.0388835929, 0.0157213211, 0.0159336179, 0.0066197026, -0.0543699451, 0.0279254001, 0.0296981875, -0.0240026787, 0.014286573, -0.0453909896, -0.0151032396, -0.0059368564, -0.01040754, 0.0691395327, 0.00895504, -0.0090548834, -0.0009718818, 0.0757826939, 0.0588323101, 0.0753836483, 0.0697291568, 0.0185907446, 0.0514742509, 0.047849711, -0.0321302526, -0.0215310864, 0.0296445917, -0.0357960276, 0.0101040937, -0.0514789857, 0.0423998907, -0.0235445667, -0.0599747449, 0.0110476604, -0.0159954391, 0.0196072552, 0.0475826152, -0.0090980595, -0.0150687983, 0.0023598415, 0.0074733063, 0.0575049967, -0.0554534942, -0.0398762263, -0.0628234148, 0.0002630243, 0.1210019961, -0.0015913701, -0.0349151976, -0.0450322479, -0.0115003577, -0.0668357313, 0.0238888096, 0.0489890128, -0.0120851956, -0.0073481519, -0.0624086335, -0.0035607452, -0.0121341487, 0.0008629524, 0.0166233405, 0.003621347, 0.0174939949, -0.0087049501, 0.0312347338, 0.004207626, 0.0104545597, -0.0990861133, -0.0084770303, 0.0156035637, 0.0337166153, 0.0333938152, 0.0271978229, 0.0150733674, -0.0226025302, 0.0076966304, 0.0096093779, -0.0148361428, 0.0300916173, 0.0136718554, 0.0100907199, 0.0203476865, -0.0259937067, -0.0175803266, -0.0137762967, -0.0027633298, -0.0160972681, -0.0011486117, -0.034565974, 0.0508428104, -0.0154649587, 0.031579949, -0.0458390526, 0.0625423938, -0.0114612868, 0.0303377863, -0.0097574536, -0.0205337312, 0.0110136624, 0.0156742539, -0.0279207341, -0.0681869835, -0.019390827, -0.045947928, 0.0362992473, 0.0500974916, 0.0092907008, 0.0330747291, -0.0547627397, -0.1055581346, -0.0342461318, 0.0085932529, 0.0459788293, -0.0100680636, 0.0041967141, -0.0133537585, -0.049519714, 0.0021263361, -0.0499882065, 0.0002417926, -0.0083066104, 0.0068221544, 0.0208822712, 0.0018909308, -0.0263405684, -0.0565209016, -0.0164722782, -0.0332742147, 0.0010780322, -0.0335947834, 0.066074349, -0.0252436604, 0.0201868024, -0.0689983144, 0.0146804433, -0.011067085, -0.0725062117, 0.0100620445, -0.0182308443, 0.0221139621, 0.0652467236, 0.0062470315, 0.0240513347, 0.0239394158, 0.0038996083, -0.0384652056, 0.0300911739, -0.0103788907, -0.0006040608, -0.0399073847, -0.0300718397, -0.0387427583, 0.0126502141, 0.0122798169, -0.0024202766, -0.0684206039, 0.0502356961, 0.0589738488, -0.0637333468, 0.0828202143, 0.0593756437, 0.0123966159, 0.0428893641, 0.0174044818, 0.0081413947, 0.0623608045, 0.0212453306, 0.0091007994, -0.0208322536, -0.0697344914, -0.0471516475, 0.0341770165, -0.0273150261, 0.000380975, 0.024184322, -0.0084403194, -0.0393182337, -0.0476373583, 0.0206860509, -0.0447058007, 0.0167501569, -0.0034504894, -0.0540815108, 0.0493374616, -0.0158377867, -0.0259794313, -0.0508189052, -0.0381505154, -0.0209975075, 0.0344936587, -0.0262054801, -0.0609392747, -0.0404677242, 0.0122651421, -0.0074442127, -0.0310977865, -0.00412144, -0.012140546, -0.0624029487, 0.0543944724, 0.0353868902, -0.0002991508, -0.0695857853, -0.0177068096, -0.0171929467, -0.0575447306, -0.023432333, -0.0027670085, 0.0426730663, 0.0135930432, -0.0188760757, 0.0023019407, 0.014990082, 0.0316222198, -0.0220071226, 0.0218067076, 0.1207656786, 0.0232122671, -0.0243188702, 0.0137875425, -0.0021402305, 0.022788981, 0.0450213216, 0.0705197155, -0.0023991358, -0.0095911454, -0.035356421, 0.0214889981, -0.0333160684, -0.0261495579, -0.0297281519, -0.0923639387, 0.0353285, 0.0251006857, -0.030934168, -0.0002752622, -0.0117334332, -0.0091007398, -0.0516112372, 0.0065939482, -0.05336041, -0.0071002198, -0.0118913446, -0.0101635167, -0.0478887372, -0.0479164347, 0.084688589, -0.0097787036, 0.0677977651, -0.0058642281, 0.0165280774, -0.0232616048, -0.0321908519, -0.0922241956, 0.0659879819, 0.0082788533, 0.0257277768, 0.0606359653, -0.0222051423, -0.0016056498, -0.0750422105, 0.0270076357, -0.014441641, 0.0379707627, 0.0242494773, 0.0378775746, 0.0173441097, -0.0300233234, -0.0244342238, 0.0060433899, 0.0255558137, 0.0382189229, -0.0296087004, -0.1183706671, 0.0150058251, -0.0009528258, -0.0454189219, 0.0041228333, -0.0714922473, 0.0352216251, -0.0116871791, -0.0234269891, -0.0210570265, -0.0633127391, 0.0424890406, 0.0480565093, -0.0016677356, -0.0317511149, -0.0278276373, 0.0282557663, -0.0133844726, 0.0357523002, -0.0261209328, -0.0043927119, -0.0588628985, -0.0490072258, 0.0711596683, -0.0698649064, -0.0030825129, 0.0243621599, -0.0469244123, -0.0588587262, 0.0337316692, 0.0588517338, 0.0210686848, 0.044368092, 0.0096793994, -0.0775912851, 0.0341859311, 0.0116465483, -0.0290807132, 0.0271549374, 0.0157059617, 0.0255465433, 0.0020893277, 0.0207258593, -0.0289668329, 0.0577773936, 0.0120864669, -0.0241003446, -0.0163746495, -0.0783681795, 0.0113520706, 0.041113738, -0.0494996607, -0.0102837142, -0.0234121513, -0.0239029024, 0.0014700288, -0.0417855233, -0.01814791, -0.0166422855, -0.0589063503, 0.0084024779, -0.0164617747, 0.0073230616, -0.0704654157, -0.0238177814, -0.0071690013, -0.0421587005, 0.0237398837, 0.0187060069, 0.0359322876, -0.0204628631, 0.0302061159, -0.0142742563, -0.0169635862, -0.0012236066, 0.0399215892, -0.0035335571, 0.0496353656, -0.0427426398, 0.0142622711, -0.0537833646, 0.0422720239, -0.0114982296, -0.0463170111, 0.0028761111, 0.0193422958, 0.0162018668, 0.008371491, 0.0459249876, -0.0167562198, 0.0072747683, -0.0055354796, 0.0511634424, 0.001000652, -0.0076632779, 0.0023027319, 0.0086458335, -0.0015016552, -0.0454242304, 0.0197560452, 0.0487089008, 0.0341790095, -0.0346078724, -0.0055887555, -0.0765596703, 0.031875968, 0.0280217379, 0.0218292642, -0.0034566009, 0.0005632634, -0.0742071196, -0.087085858, 0.0587589815, -0.0022080161, -0.0254657827, -0.0133537939, 0.012642704, 0.0172362514, -0.036762625, -0.0175442584, -0.0497805662, -0.0111667663, 0.0256410353, 0.0007266527, 0.0137279797, -5.540156303e-33, -0.0264519434, 0.0044036517, 0.0321212336, 0.0046450137, 0.0162254944, -0.0487114489, -0.0035762035, 0.0279801134, -0.0249526761, -0.0095077576, -0.0406962745, -0.0013648702, 0.0043906989, -0.0211877506, 0.0259473305, 0.0420049764, 0.0546227507, 0.0205642004, 0.0121212499, -0.0043063825, 0.0087117748, 0.0133792618, 0.0755425543, -0.0714631975, -0.0019471465, -0.031592492, -0.0235870238, 0.0004990093, 0.0139837405, 0.0908520892, 0.0183839723, 0.0497996397, 0.0077506034, -0.0013151428, -0.0289876629, -0.0307922084, -0.0431305915, -0.058925245, 0.0045681023, 0.0052590184, 0.0242615622, -0.070867829, 0.0049790279, -0.0109423492, -0.0009221723, -0.0361821651, 0.062163841, -0.0165058747, 0.0328859054, 0.0642036796, -0.0386416465, -0.002870512, -0.0339267701, 0.0169960875, 0.000066997, -0.0192391742, -0.0262526032, 0.0003712561, -0.037763983, 0.0477875732, 0.0186757054, -0.0238321535, -0.0009789946, 0.0095873326, -0.0095141912, 0.0221767332, 0.0647656992, 0.0731858835, 0.0535617769, -0.0113804908, 0.055452399, 0.0734790787, -0.0041954606, 0.0769841596, -0.0219353754, -0.0512147918, 0.0014501853, 0.00843737, 0.0971218199, -0.0351285636, 0.0467350893, 0.0181350801, -0.0384710468, -0.0152480863, -0.0210412219, 0.0119166085, -0.015090391, -0.0376955345, 0.0098321578, -0.0164362919, -0.0163183957, -0.0326882154, 0.0122455638, -0.0408096574, 0.0218548402, 0.007536551, -0.0767800212, 0.0288897213, -0.0124728922, 0.0034265073, -0.0523562282, -0.0490523912, 0.0009728324, -0.0239646286, 0.0463003553, 0.0341206715, 0.0213168729, 0.0608134829, -0.0685451403, -0.0031070791, 0.0273898728, 0.0273853485, 0.0013543546, 0.0234554969, -0.0107236654, 0.0124495933, -0.0159736648, 0.0209682789, -0.0078897551, 0.0059754108, -0.0210458897, -0.0099742161, 0.0626565516, 0.0040723281, -0.0097722895, -0.0026341935, -0.0486751124, -0.026919486, 0.0507478006, -0.0144231869, 0.0140287858, 0.0040892968, 2.696e-7, -0.0401634835, 0.0552935079, -0.048964262, 0.0381972753, 0.0072327857, 0.0433882885, 0.007221946, -0.0007991189, 0.0367777534, -0.0013739094, 0.021219993, 0.0436550491, 0.0302880146, 0.0067359866, -0.0571097024, 0.0087548345, 0.0315719508, 0.0168178622, -0.0195044726, 0.0102930991, 0.0432637073, 0.079144232, 0.0630738437, -0.0071053323, 0.0011803198, 0.034130089, 0.0320016742, 0.01083213, -0.033396285, 0.0527983457, -0.0197070055, 0.0168602262, 0.0089461207, 0.0499643348, 0.0107680578, 0.0293195304, -0.0257912967, 0.1017300412, -0.0575194247, -0.0284971315, 0.0338896886, 0.0246380512, -0.0421274863, 0.010737069, 0.0377347991, 0.0010972095, -0.0766641423, -0.035458494, -0.0216905288, -0.0202036537, 0.0151304901, -0.0221545715, 0.0016250269, 0.0330492035, 0.0094114328, -0.0388539061, -0.0067975358, -0.0637515336, 0.0340914838, 0.0130626261, -0.0441418998, -0.0488398783, 0.0185383037, 0.012881482, 0.0473478921, -0.0408491716, 0.0557829514, 2.16685394e-34, -0.0057752822, 0.0687250495, 0.0202474818, -0.0176294036, 0.0704855919, 0.0240640324, 0.012905472, 0.0240335185, 0.044541683, -0.069233641, -0.0287771076 ]
http://arxiv.org/abs/2406.12546v1
http://arxiv.org/pdf/2406.12546v1
Liar, Liar, Logical Mire: A Benchmark for Suppositional Reasoning in Large Language Models
2024-06-18T12:24:22
2024-06-18T12:24:22
Philipp Mondorf, Barbara Plank
cs.CL
cs.CL
Knights and knaves problems represent a classic genre of logical puzzles where characters either tell the truth or lie. The objective is to logically deduce each character's identity based on their statements. The challenge arises from the truth-telling or lying behavior, which influences the logical implications of each statement. Solving these puzzles requires not only direct deductions from individual statements, but the ability to assess the truthfulness of statements by reasoning through various hypothetical scenarios. As such, knights and knaves puzzles serve as compelling examples of suppositional reasoning. In this paper, we introduce $\textit{TruthQuest}$, a benchmark for suppositional reasoning based on the principles of knights and knaves puzzles. Our benchmark presents problems of varying complexity, considering both the number of characters and the types of logical statements involved. Evaluations on $\textit{TruthQuest}$ show that large language models like Llama 3 and Mixtral-8x7B exhibit significant difficulties solving these tasks. A detailed error analysis of the models' output reveals that lower-performing models exhibit a diverse range of reasoning errors, frequently failing to grasp the concept of truth and lies. In comparison, more proficient models primarily struggle with accurately inferring the logical implications of potentially false statements.
[ 0.0867247358, 0.0438881442, -0.034620259, 0.0684406012, -0.1151972935, 0.0027782386, 0.0155607518, -0.0010260388, 0.0134077827, -0.0336981565, 0.0444486849, 0.0058044232, 0.0193974487, -0.0242631938, 0.0273017585, -0.0089368867, 0.0826816186, -0.0467793941, 0.0330067053, -0.025606744, -0.0022906794, 0.0089029074, -0.0381507501, -0.012446885, -0.044245176, -0.0290005244, -0.0183951911, -0.0111954473, 0.0091812043, 0.0167112816, -0.0263703167, 0.0135915009, 0.0023039908, 0.0412150547, 0.0000023238, -0.0414138511, -0.0057163807, -0.0203458257, -0.0776998773, 0.0341589972, 0.0013825301, 0.0124679189, 0.0125110736, 0.0137130283, -0.0140842861, -0.0027940555, 0.0459184162, 0.0688396841, 0.0558976345, 0.0667208731, 0.0244522747, -0.0315650813, -0.0132837705, -0.0127337174, 0.0163881183, -0.0599476807, 0.0101958299, 0.0124858227, 0.0288402252, -0.0008961, 0.019423835, 0.0182451475, 0.0167571586, -0.0017192217, -0.073839128, 0.0076357471, -0.0274283439, 0.0109366309, 0.0016701511, 0.0243768319, -0.0105059184, -0.0123190284, -0.0051185014, 0.0098664174, 0.017384775, 0.0404498391, 0.0304109678, 0.0662278756, -0.0536922254, -0.0363983028, 0.0151165891, 0.0265566781, 0.0263883844, -0.0254658181, -0.0429567285, 0.1012278348, -0.024894448, -0.0106642125, 0.0146371545, -0.0461098962, -0.032184273, -0.0764893591, -0.0220184289, 0.0407956317, -0.024247501, 0.0245887414, -0.0140090892, 0.0063771894, 0.0470819287, -0.0609118715, 0.0560422055, 0.0272996817, 0.0003017006, 0.0490582772, -0.0078816786, 0.0661838353, -0.0089038741, 0.0050032632, -0.0256730635, 0.011570205, 0.0038364446, -0.0174198318, -0.0376101136, 0.0480992869, -0.026554469, 0.0233403314, 0.0111982115, -0.0287668481, -0.0034223187, 0.0594999939, -0.0273826141, -0.0142138917, -0.0012119024, -0.0340745561, -0.0524344631, 0.0183975734, -0.05871794, 0.0236532073, -0.0075843674, -0.0520183593, -0.0099355942, -0.0283580087, -0.0073542949, -0.0310522877, 0.04076593, 0.0602088533, 0.0159161296, 0.0201571919, -0.0362274684, -0.0415100008, -0.0338993594, -0.1070835292, -0.0319372676, -0.0690230355, 0.0336677358, 0.0037898796, -0.0092719942, -0.0305748917, 0.0243430082, 0.0051361849, -0.0179781336, 0.0693066493, 0.030262636, 0.0258482695, -0.0127246706, 0.0145847248, -0.0318326689, 0.0526791401, 0.0099534029, 0.0435707942, 0.0051642307, 0.010847901, 0.0001798661, 0.0169605128, 0.0199300665, -0.0536279865, 0.0090458859, 0.0402068608, 0.0678662211, 0.0345425308, -0.0306203347, 0.0524942018, -0.0125984447, -0.0644547343, 0.0435095355, -0.028306568, 0.0115347011, -0.0177088622, 0.020136971, -0.0306079984, 0.0558786578, 0.0173639264, -0.0564220883, 0.0283012446, -0.0356910229, 0.0109882364, -0.0191350989, 0.0523762926, 0.006615418, -0.032448858, -0.0163089037, 0.0048471428, -0.0442710295, 0.0274754409, 0.0160719194, -0.0154415965, -0.0348234512, 0.0266884156, 0.0284063779, -0.0588577278, -0.0303854216, -0.050566379, 0.0329365805, 0.0178456921, 0.0416782759, -0.0281409398, -0.0310171451, 0.0024109141, 0.0110781165, -0.0019591083, 0.0264222845, -0.0032120815, 0.0292275418, -0.0052548666, 0.0134644583, -0.0317361653, 0.0183320194, 0.0175879132, -0.008934156, -0.0089490144, -0.024275817, -0.0964320824, 0.0444683097, 0.0357386991, -0.0025524846, 0.0276766345, -0.0581770502, 0.0280237384, 0.0137648564, -0.0003848523, -0.0308726933, 0.0161740631, 0.0146797523, -0.0346185975, 0.0108242407, -0.0216802228, -0.0295180567, -0.0614308491, 0.0469145812, -0.0514803529, -0.0275148228, 0.0563835651, -0.0246277004, -0.01701474, 0.0044473619, -0.0485791452, 0.0068588145, 0.0022385032, 0.0228459518, -0.030327376, -0.0403406955, -0.0282195285, 0.1035276577, -0.0120738149, 0.020965077, -0.0740073472, -0.0344783515, 0.031355191, -0.0607921854, -0.0075925123, -0.0127728935, 0.0010533321, 0.0065410682, 0.005105752, -0.0074045612, -0.0005042465, -0.0674975887, -0.0610519424, -0.002203681, 0.0145320781, -0.0020628057, -0.015802756, -0.0101340637, -0.0214402881, 0.0047343834, -0.0312971361, -0.0114127789, 0.0171421506, -0.0110731414, 0.0053313184, 0.0177426692, -0.0048263893, -0.0027505448, 0.0175780393, -0.0229302589, 0.0223993417, -0.0060009165, 0.0036379783, -0.0038356374, 0.0665427446, -0.0917234123, 0.0297283847, -0.0199525729, -0.0204602275, 0.0084032239, -0.0048712404, -0.0143153667, 0.0908383653, 0.0014979509, 0.013636807, 0.0337369554, -0.0384304598, -0.0230905656, 0.0188328456, -0.000345709, 0.0129264407, -0.0020893249, -0.0806714743, -0.0073018698, 0.0500621684, 0.0225522052, -0.0078394981, -0.0176871121, 0.0160204414, 0.0036029143, -0.0133868949, 0.0107247187, -0.0302256048, 0.0389813371, 0.0529711843, -0.0274202134, 0.0102289449, 0.1007976457, -0.0290696081, 0.0319469012, 0.0101936664, 0.0292699933, -0.0193729233, 0.0717320219, 0.0040855724, 0.0486962311, 0.0356774591, 0.0007421891, -0.0259294044, -0.0475274809, 0.0591986775, -0.0404488333, 0.0029706913, -0.0568231568, 0.0171776228, -0.00988732, -0.0690523833, -0.0487541705, -0.0315029621, -0.0686632469, -0.0451320596, -0.064297542, -0.0228662957, -0.0494047552, -0.0027752446, 0.0016080012, -0.0233307835, 0.0090890015, 0.0097826105, -0.0284954179, -0.028654946, 0.0084812958, 0.02653425, 0.0627970472, -0.0183045343, 0.0086140297, 0.0452425741, 0.0094703818, 0.0508356132, -0.0300725941, -0.0004126721, -0.008669965, -0.0065038223, -0.0090907011, 0.0072417175, 0.0080066789, -0.0474651903, 0.008114391, 0.0883104056, 0.0468196347, 0.0752172172, 0.010060044, -0.021862261, 0.0090609984, 0.0051181442, 0.026018735, -0.1080503017, -0.0247700624, 0.0350525789, -0.0315882228, -0.0464390703, -0.067000553, 0.0014294257, -0.1323006302, 0.0622931831, 0.0085946117, -0.0328002833, -0.0583677702, -0.0099479659, 0.0048546842, 0.009152689, 0.0009101943, 0.0414363667, 0.0172103848, -0.0085217273, -0.0053531216, 0.007849508, 0.0149388406, 0.0380318761, -0.0056527397, 0.0644113868, 0.0167083479, 0.0281002689, -0.0073362547, -0.0527566448, -0.0023721457, 0.0613396876, -0.0262378901, -0.016992256, 0.0207954757, 0.0024801388, -0.0316462107, -0.0435001105, -0.0055587208, 0.0165995471, -0.0194394123, 0.0196927488, 0.0498718992, -0.013638474, -0.0551634468, -0.0010643917, 0.019611096, -0.01887279, 0.0749611855, 0.0251518413, 0.0240609013, -0.0413085818, -0.0258746631, -0.0254471637, -0.0084867636, -0.0241360608, 0.0481977761, 0.0664472952, 0.0838598385, -0.0363272391, 0.0141454898, 0.0286483709, 0.0155718084, 0.0080584353, -0.017187655, 0.0211354829, 0.0178706553, -0.0746371597, -0.017764315, -0.0500725172, 0.0411289446, -0.0312573612, 0.0547552519, 0.0045149345, -0.0487275682, -0.0107382145, -0.0329648331, -0.0269912034, -0.0382514223, 0.0304857455, 0.065702714, 0.0297304597, 0.000794216, -0.0282369293, -0.0097266594, -0.0115220705, 0.0290334411, -0.0318243504, 0.0429923981, 0.0155964168, -0.0321673676, 0.0113153234, 0.0232128333, 0.00068369, 0.0356569551, 0.0249241218, -0.0155400233, -0.0194752198, -0.0421389081, 0.0462776795, 0.0376576744, -0.0255100075, 0.0520819277, 0.0259716697, -0.0058838194, 0.0067007495, -0.0430234596, -0.0219308045, -0.0146370009, 0.007308681, 0.0014938014, 0.0491154231, 0.0338255279, -0.0002538037, 0.0114214979, 0.000833915, 0.0142198708, -0.0078448933, 0.023707252, 0.0234063379, 0.0126034273, -0.0153970765, -0.0283720568, 0.0147046484, -0.0193414968, 0.0819027945, 0.0090795811, 0.0279221553, 0.0460211076, -0.0310951173, -0.0481649712, -0.0010180795, -0.0698997751, -0.0247960314, 0.0623948723, -0.0124535095, 0.0107613569, -0.0174193121, -0.0221944172, -0.0202497095, 0.0112284198, 0.0123599507, -0.0012513009, 0.0551772304, -0.014300066, 0.0525514372, 0.0336603038, 0.0113855936, 0.0135462256, 0.0263028909, -0.0155646708, 0.0889195874, 0.0321453847, -0.0031410118, -0.0493793599, -0.0335564502, -0.0260005053, 0.0160847865, -0.0021846322, 0.0139115583, -0.1074485183, -0.0579718091, 0.0424250737, 0.0437110513, 0.0265063383, -0.0076287454, 0.0021126645, 0.0599959791, 0.0658898205, -0.0423970222, -0.0290202219, 0.0291810278, -0.011055843, 0.0077337702, 0.0234551989, -6.927866323e-33, -0.0495953262, -0.0308638271, 0.005297638, -0.001370815, -0.0214082133, -0.0143543845, -0.0077330517, 0.0055613131, -0.0985296965, 0.0076573207, 0.0074126949, 0.0397331826, 0.007672207, -0.0134384725, -0.0539889075, 0.0130828312, 0.0034964953, 0.0207610615, -0.0540078059, -0.0436230376, 0.0314949192, -0.0558597594, 0.030402638, -0.0816741511, 0.0100426637, 0.0071219639, -0.0392215736, 0.0498657003, -0.0909913406, 0.0203889273, -0.0109525863, -0.0009947912, 0.0062441975, 0.0038406118, 0.0584989488, 0.0039617624, -0.038272284, -0.0173128806, 0.0794398859, 0.0029641364, -0.0070758024, -0.0331800617, -0.0000578843, -0.0041230302, -0.0090408456, -0.030797746, 0.0029729577, -0.0259156656, 0.0380327292, 0.0568040311, -0.0435710996, 0.0024849456, -0.0308472067, -0.0545747541, 0.0032385951, 0.027221499, 0.0044982568, -0.0453455299, -0.0551265441, 0.0252154395, 0.0255331304, -0.0228361357, 0.0151463188, -0.0162135027, -0.0156474691, 0.0663546026, 0.0142359594, -0.007889864, -0.0406513475, 0.065860413, 0.0159841068, 0.0831695721, 0.1023076028, 0.079031989, -0.002027174, -0.0049429177, -0.0910938084, -0.0146549111, 0.0405635387, -0.0136925541, 0.037953753, -0.0363209918, -0.0591572337, -0.0246943254, -0.0613668747, -0.0217088573, -0.0418116525, 0.0044020414, 0.0088020759, -0.0099904025, -0.0155589143, -0.0271822363, 0.0201762486, -0.0462738648, 0.0060062618, -0.0459238701, 0.0307665952, 0.0231965668, 0.0012303443, 0.0641908422, -0.0154310223, 0.0079542873, 0.0259559192, 0.0290581416, 0.0274343342, 0.0075598932, 0.0203151349, 0.023786135, -0.0406076685, 0.0068664863, -0.0373435058, 0.0238019247, -0.0114994477, -0.0327946097, 0.0643731877, -0.0028213686, -0.0199398156, -0.0462957621, -0.014108208, -0.0375735797, -0.0632746965, 0.0579514615, -0.0275507011, 0.0220007058, 0.0055370941, -0.0051108985, -0.0582441613, 0.0048784795, -0.0308535546, -0.0049392106, -0.0132523924, -0.0044658328, 3.112e-7, 0.0098813232, 0.0127755851, 0.0391078219, 0.0705081746, -0.0051734275, 0.0576905496, -0.0065835826, -0.0037447594, 0.0204666723, -0.0943051204, -0.0262668449, 0.0353130847, 0.0226155967, 0.0423144996, -0.0210482031, 0.0417542122, -0.0078468081, -0.057001356, -0.0433660969, 0.0336637683, 0.0575870611, 0.0560727082, 0.0413485877, -0.010900083, 0.000387907, -0.0326972082, 0.0189626459, 0.0220314935, -0.008716315, 0.0129116271, 0.0009817478, -0.0062907408, 0.0029709549, 0.0645879507, 0.0612812415, -0.0003274287, -0.0008359757, 0.0212534312, -0.0237047747, -0.0067951707, -0.0299846381, -0.0246972516, -0.0285566449, -0.0805674493, 0.0990503356, 0.0014260828, -0.0458826348, -0.0418390296, 0.0056665679, 0.0088099716, 0.0084874118, 0.0227450319, -0.0200009253, 0.0275359806, 0.0080343587, -0.0181574933, 0.0045347409, -0.0614182614, -0.0327359848, -0.0051799831, 0.0104388371, -0.0432610922, 0.0280049555, 0.0022473526, 0.0255513862, -0.0490879118, -0.00424624, 2.770798142e-34, 0.0175181311, 0.0082374709, 0.0082981372, -0.0145629868, 0.0768177435, -0.0029879257, -0.0600457415, 0.0061959531, 0.0229816828, -0.0376794524, -0.0022741053 ]
http://arxiv.org/abs/2406.12534v3
http://arxiv.org/pdf/2406.12534v3
Unified Active Retrieval for Retrieval Augmented Generation
2024-06-18T12:09:02
2024-06-27T15:37:15
Qinyuan Cheng, Xiaonan Li, Shimin Li, Qin Zhu, Zhangyue Yin, Yunfan Shao, Linyang Li, Tianxiang Sun, Hang Yan, Xipeng Qiu
cs.CL
cs.CL
In Retrieval-Augmented Generation (RAG), retrieval is not always helpful and applying it to every instruction is sub-optimal. Therefore, determining whether to retrieve is crucial for RAG, which is usually referred to as Active Retrieval. However, existing active retrieval methods face two challenges: 1. They usually rely on a single criterion, which struggles with handling various types of instructions. 2. They depend on specialized and highly differentiated procedures, and thus combining them makes the RAG system more complicated and leads to higher response latency. To address these challenges, we propose Unified Active Retrieval (UAR). UAR contains four orthogonal criteria and casts them into plug-and-play classification tasks, which achieves multifaceted retrieval timing judgements with negligible extra inference cost. We further introduce the Unified Active Retrieval Criteria (UAR-Criteria), designed to process diverse active retrieval scenarios through a standardized procedure. Experiments on four representative types of user instructions show that UAR significantly outperforms existing work on the retrieval timing judgement and the performance of downstream tasks, which shows the effectiveness of UAR and its helpfulness to downstream tasks.
[ 0.0311694983, 0.0249346253, -0.0151624046, -0.0222313944, -0.0077183195, 0.0113154612, -0.0035176026, 0.0142810578, -0.0053543281, -0.0436404198, 0.0000753191, -0.0537325367, -0.0095195118, -0.0087126084, -0.0074469764, -0.0208806135, 0.065694049, 0.0247412622, -0.0011906328, 0.0390591919, -0.0150363268, 0.004703966, -0.0208484307, 0.0629342645, -0.0231169034, 0.0147671523, -0.0076217554, 0.0564504229, 0.034444876, -0.0159912184, 0.0237314533, 0.034938667, 0.0067057, 0.0216755215, 0.0000020378, -0.0312534384, -0.0393128507, -0.0079899542, -0.0228877049, 0.0101571316, 0.0076877354, 0.0905330107, -0.0286463387, 0.0347367488, -0.034701746, -0.0108831301, 0.0474248268, -0.0065748277, 0.0279081967, 0.0572360903, -0.0056265327, 0.0294054747, -0.0148902349, -0.0203983244, 0.0605968162, -0.0135829216, -0.0177009813, -0.008742719, 0.0423769504, 0.0284905378, 0.0398208313, 0.0530695505, 0.0366320945, 0.0040021897, -0.0045695012, 0.0006286205, -0.0392958596, 0.0004290771, -0.0094244843, 0.0155758215, 0.050438825, 0.0059404015, 0.0232638195, -0.0152362837, 0.0037469014, 0.0019788106, -0.0255787428, -0.0120715089, -0.0654295534, -0.0084911101, -0.0348619223, 0.0176628884, 0.002399443, -0.0267401561, -0.0044948542, 0.0343531854, 0.0100851031, -0.0386671573, -0.0194525495, 0.0161830094, -0.0160099436, 0.0052224398, 0.0277767964, 0.0424161628, -0.0316582173, -0.0044246581, -0.0274564847, -0.0284950715, 0.034645047, -0.0055342559, 0.0860607922, 0.0564273112, -0.0385343544, -0.0052064746, -0.0326447375, 0.0524181351, -0.0106118843, -0.0193340499, -0.037819583, 0.0457341596, -0.063170597, -0.0389025435, -0.0464783162, 0.0635650381, -0.0391434282, -0.014630788, -0.0588726997, 0.0236043148, -0.02960895, -0.0202302895, 0.0127189495, 0.0347209238, -0.0748089403, 0.0424068235, -0.0328904949, 0.0218889378, -0.0299833957, 0.0016212467, 0.020501798, -0.0771731138, -0.0117374165, 0.0203096289, -0.002623057, -0.0005005985, 0.005667754, 0.0208283123, -0.0377612747, -0.0400967486, -0.0465981364, -0.0810715333, 0.0195423719, -0.0270828251, 0.0217031129, -0.0470388085, -0.0004566656, -0.0007815054, -0.0289696269, 0.0160544645, 0.0001724603, 0.0468796678, 0.0228239074, -0.0016109428, 0.0336097255, 0.0002594547, 0.0163045917, 0.0350395814, -0.0039358307, 0.0250555295, -0.0115733892, 0.04643251, 0.0138224429, 0.0110199908, 0.0027484589, 0.0008629553, 0.0164165068, -0.0251672287, 0.0005235877, -0.0155541506, -0.0498256981, -0.0225074738, -0.0003933059, 0.0139065338, -0.0332032219, 0.0263056885, -0.0069927932, 0.0103926854, 0.0216020606, -0.0530706719, 0.0784712359, 0.0223416574, -0.0347423926, 0.042925816, -0.0095763458, 0.0477986522, -0.0299109109, 0.0059620128, 0.0248212684, 0.0476115271, -0.0034303465, -0.047185801, -0.0016651088, 0.0008363915, -0.0017510544, 0.0157179032, 0.0041919276, 0.0247239005, -0.071378693, 0.0494264588, 0.0012345244, -0.0894970298, -0.0348332785, -0.0875449702, 0.0022550786, 0.0758153871, 0.0720531866, -0.0138985701, -0.0431415215, 0.0678761676, 0.0045217322, -0.0310487952, 0.0165848099, -0.0158865452, -0.0001059725, -0.0552065298, -0.0518494658, 0.0089608114, 0.0063431216, 0.0642703846, 0.0534136519, -0.0113249552, 0.0476921946, 0.01538218, 0.0009167977, 0.0159254596, 0.0268351026, -0.0550831743, 0.0047001876, 0.0221311729, 0.0184612647, -0.0050545866, -0.0173352342, 0.0173250306, 0.0474638566, -0.0078239739, 0.0111269215, 0.0014269016, -0.0651762486, -0.0088891285, -0.0205134563, 0.0486468077, 0.0102625675, 0.0252762642, 0.0011098618, -0.0357036069, -0.0138607435, -0.0417993069, 0.0104128337, -0.0342897996, 0.0485279784, 0.0174573343, -0.0221935362, -0.0347427316, 0.0676003993, -0.0288144015, -0.0088043297, 0.0772985443, 0.0008893551, 0.0353854299, -0.0638038218, 0.0033792569, 0.0055239461, -0.0476884879, -0.0109294252, 0.0639010146, -0.0082278624, -0.0230252314, -0.0149091594, -0.0655672476, 0.0116696609, -0.0277480483, 0.0335928164, -0.0156319141, 0.0398647003, 0.0122665791, -0.0218750592, 0.0057575204, 0.0484588258, 0.0159655269, 0.0248326045, -0.0247082431, 0.0219342951, -0.0279659592, -0.0167413447, -0.0226276722, 0.008483029, 0.0068692002, 0.0060566054, -0.0195741337, -0.0500489436, 0.0262786914, -0.0411287807, 0.0173328854, 0.0032803167, -0.000950455, 0.0572696999, -0.0388642736, 0.0078591742, 0.0553662628, 0.0024203488, 0.0254652835, 0.0181140359, -0.0416503772, -0.0869695693, 0.0481670797, -0.0173159502, -0.0540076047, 0.0324886404, -0.0120707685, 0.0155569594, 0.035068281, 0.0134433676, 0.0027185746, -0.0433308333, -0.0192757826, -0.0155677758, -0.0195280667, -0.0138567174, -0.0346676931, -0.0363784134, 0.0030412865, -0.0437897556, -0.0838142931, 0.0488022342, -0.0336380824, -0.0115279909, -0.034981519, 0.0116330264, 0.0107798502, 0.0666704178, 0.0083695874, 0.0184318442, -0.0270813145, -0.0376534499, -0.0479577668, 0.0126474611, 0.0114859054, -0.0741910487, -0.0030540749, -0.0380858704, 0.0015388493, -0.0191741455, -0.036827676, -0.0551820174, 0.0407076441, 0.0702688247, 0.0026939111, 0.0199104641, -0.0434465781, -0.0344780646, -0.010321591, 0.0379659012, 0.0432567447, -0.0108035514, -0.0300607923, -0.0267679896, 0.0133818351, 0.0428929515, -0.0295596365, -0.0534615256, 0.0110940263, -0.0423803516, 0.0487999767, 0.0535111353, -0.0332583375, -0.0292480141, -0.0024747627, 0.0564563982, 0.0052289888, -0.026816383, 0.0852808654, 0.0401507095, -0.0598753951, -0.03278137, 0.0413820706, 0.0382735468, -0.0142446449, -0.0297081284, -0.0027569763, 0.0243450403, 0.018394528, 0.0461625122, -0.0564425178, -0.0278110188, 0.0020814496, 0.0828015506, -0.0094812643, 0.0219997391, 0.0019274382, -0.0745793805, 0.0454582572, 0.0133334445, -0.0055158772, -0.0247035846, -0.0096139377, -0.022771081, 0.0553505234, -0.0135985911, 0.0403729491, -0.005094049, 0.0210522842, 0.0332344361, 0.0178923681, -0.0127751715, 0.0217549894, 0.0077417637, 0.0037395658, 0.1076846495, 0.0147491004, 0.0620669313, -0.08546336, 0.0149083724, -0.0309817083, 0.0594248809, -0.0252739191, 0.0277304873, 0.0162902642, 0.0254871566, -0.0499188751, -0.0119786495, 0.0268313345, -0.0272596143, -0.0370003767, 0.0471257269, -0.0545713305, 0.0124147693, -0.0654488951, -0.0073637213, 0.0513015091, -0.0009268602, -0.0042882613, 0.0105198761, -0.0396976806, 0.0213069059, 0.0367442705, -0.1237469092, -0.0054901936, 0.0075511485, -0.0298832804, -0.0299306624, -0.0799363106, -0.024676729, -0.0418305881, 0.0673138723, -0.0231579877, 0.0046103988, -0.0287338607, 0.0121227074, -0.0905789211, 0.0234168544, 0.0208256356, -0.0059714247, -0.0427752063, -0.0700914264, -0.0027220147, -0.002558795, -0.0118857082, 0.0533313528, -0.0084440047, -0.0533518158, 0.0046546073, 0.0526457205, 0.0272564292, 0.006956914, 0.0126809916, -0.0170311183, 0.0349149033, 0.051406838, -0.0062155463, 0.023387488, 0.0233286303, -0.031454958, -0.0421099141, -0.0128697185, -0.0887415782, 0.0478051268, -0.0141471671, 0.0537357107, -0.0025836984, -0.0257918034, 0.0014244693, 0.0272486545, 0.0447288826, -0.0108023025, -0.017494332, -0.0014154098, 0.0434366278, 0.0059387982, -0.0058412431, -0.026393069, 0.0410664566, -0.0124025587, -0.0135099096, 0.027699504, -0.0145505136, 0.0147942463, 0.0638681874, -0.0121941837, -0.006136057, -0.0189583711, 0.0147078857, 0.0023888033, -0.0000474063, -0.0234072693, 0.0360217281, 0.0131087238, 0.0545111187, -0.0391255058, 0.0787547156, -0.0046106675, 0.0458096415, -0.0281365737, 0.0370630436, -0.0287337508, 0.0067954478, -0.0255004857, -0.0214517973, 0.0271642506, 0.0063668964, 0.054169111, -0.0013141871, 0.0117423702, -0.0271349102, 0.030752033, 0.0164462999, -0.0597842522, -0.0371314101, 0.0360046625, 0.0141845308, -0.0146618625, 0.0352250338, -0.0927466899, 0.0152130239, -0.0783973783, -0.031790778, -0.0278398842, -0.0675189793, 0.0331128202, -0.0029416326, -0.0160690732, -0.0284351986, -0.028937567, -0.0029237459, -0.0091467313, 0.0316693448, -0.0041275499, -0.0152573958, 0.049416095, 0.0751630291, 0.0055546914, -0.0721685812, -0.0174307972, -0.0121499468, -0.0803689435, 0.0241573043, -0.0360026471, -6.260058431e-33, -0.0614464656, -0.0224920921, 0.0337608196, -0.0524970703, -0.0074522039, 0.0221424848, -0.031672921, -0.004245935, 0.0349929556, -0.0580405779, 0.0041930424, -0.007178952, 0.0263151266, 0.0057620988, 0.0131954225, 0.0345565267, 0.0470083877, 0.0127105769, -0.0824288651, 0.0579796918, 0.1122478396, 0.0103189247, 0.006662902, -0.0522187427, -0.018947389, 0.0116502298, 0.038971711, -0.0090869488, -0.0277451165, 0.0774466023, 0.0234128814, -0.0012224806, 0.0006607155, -0.0240806453, -0.0100942217, 0.0235551652, -0.054953739, -0.0359903015, -0.0126819536, 0.0036083169, -0.0513054915, -0.027140867, 0.013249265, -0.0105709042, -0.0405934304, 0.0023816512, 0.0086951656, 0.020936789, -0.028345447, -0.0542424954, -0.0689098909, 0.0021986973, 0.0199284106, 0.0020061254, 0.0028940239, 0.0658624172, 0.0240631606, -0.050355617, -0.060977485, 0.0157276597, -0.0161222778, 0.0988826454, 0.0470902175, 0.0385490879, 0.0107670864, 0.0252477974, 0.0121655054, -0.0018451968, -0.0260060746, 0.0096788313, 0.0131973559, 0.0456472374, -0.0222217962, -0.004182016, 0.0912243053, -0.0330551043, -0.0019319346, 0.0723151714, 0.0228680633, 0.0721058846, 0.0280246921, 0.0226733591, -0.0765447617, 0.0169532355, 0.0121971155, 0.0706867501, -0.0379572995, -0.0757223815, 0.0647300184, 0.0700723305, -0.0389268063, 0.0049473126, 0.0754818693, 0.0406302735, 0.0290010776, 0.0178158339, -0.0310417544, 0.0034115976, -0.0394236222, 0.0089269103, 0.0023512982, -0.0656660125, 0.0993226618, -0.0255068, 0.0217593927, -0.000258929, 0.001915097, 0.0593517348, -0.0504749194, 0.0207048021, -0.025707094, 0.0207234956, -0.0181038696, -0.0416886732, 0.0297008678, 0.0207177494, -0.0168975722, 0.0346575826, -0.0128706573, -0.0224024002, -0.0679206029, -0.0592782423, 0.006484292, -0.0013377637, -0.0211522318, 0.0666496679, -0.0246237051, 0.0459212139, -0.0293857045, -0.0156347211, -0.0200448427, 0.0297991242, 2.878e-7, 0.0090539996, -0.0120611973, 0.044672478, 0.0164323617, -0.0278071407, -0.009361024, 0.0254600123, 0.0064293095, 0.0181562044, 0.0408262163, 0.0033918014, 0.0082537206, 0.0300971419, 0.0095287515, -0.0396055914, -0.0412572287, -0.0223143529, 0.0385520644, -0.0383984335, -0.0236302204, 0.089278236, -0.0005395833, -0.0465519018, -0.0175668895, 0.0397002958, -0.0509471968, 0.0278417822, 0.0259473566, 0.0351944081, -0.018697964, 0.0466832295, 0.0146195199, -0.0162117891, -0.0330642983, -0.0176443923, -0.0011731425, -0.0066871177, 0.0285053067, -0.0156730283, -0.0874798, 0.0171985868, 0.0046980311, 0.0000951118, 0.0348423645, 0.0429999456, -0.0038547378, 0.0190695301, 0.0254610162, -0.0264758989, -0.0030919414, -0.0385118239, 0.0265710652, 0.0215682611, 0.0114045842, -0.0120706744, 0.0100890147, -0.0319618732, -0.090263851, 0.0030413654, 0.0143210022, -0.0261122659, -0.062263675, -0.0644480437, 0.0489612408, -0.0225818586, -0.0496484227, -0.014463908, 2.929389549e-34, -0.0111218784, -0.0065731113, 0.0180401821, 0.0152910892, 0.0348577425, -0.0037844463, -0.0261733569, 0.0501717068, 0.0198825877, -0.0503280908, -0.0479534417 ]
http://arxiv.org/abs/2406.12527v1
http://arxiv.org/pdf/2406.12527v1
FuseGen: PLM Fusion for Data-generation based Zero-shot Learning
2024-06-18T11:55:05
2024-06-18T11:55:05
Tianyuan Zou, Yang Liu, Peng Li, Jianqing Zhang, Jingjing Liu, Ya-Qin Zhang
cs.CL
cs.CL
Data generation-based zero-shot learning, although effective in training Small Task-specific Models (STMs) via synthetic datasets generated by Pre-trained Language Models (PLMs), is often limited by the low quality of such synthetic datasets. Previous solutions have primarily focused on single PLM settings, where synthetic datasets are typically restricted to specific sub-spaces and often deviate from real-world distributions, leading to severe distribution bias. To mitigate such bias, we propose FuseGen, a novel data generation-based zero-shot learning framework that introduces a new criteria for subset selection from synthetic datasets via utilizing multiple PLMs and trained STMs. The chosen subset provides in-context feedback to each PLM, enhancing dataset quality through iterative data generation. Trained STMs are then used for sample re-weighting as well, further improving data quality. Extensive experiments across diverse tasks demonstrate that FuseGen substantially outperforms existing methods, highly effective in boosting STM performance in a PLM-agnostic way. Code is provided in https://github.com/LindaLydia/FuseGen.
[ -0.0161037575, 0.0376470499, 0.0160682835, 0.0478710309, -0.0067719594, 0.0017098306, 0.0430871621, 0.0090444284, -0.0485747717, -0.0459408611, -0.0689668804, -0.0317983292, -0.002361991, 0.0068827877, 0.0661373511, 0.0051112343, 0.0198510811, 0.0224445481, -0.0276647657, 0.0106593147, -0.004924207, 0.0320319757, -0.0157206822, 0.0268771276, 0.016865585, -0.0035182794, 0.0108164186, 0.045712661, 0.0166467652, -0.0322017111, 0.0015832217, 0.053834375, 0.0487579219, 0.0545501485, 0.0000019323, -0.0299645029, 0.0040430008, -0.0256179664, -0.0473261513, -0.0461561866, 0.0577130467, -0.00978861, -0.0149220498, 0.0142010339, -0.0208200272, -0.0669223592, 0.0445156358, 0.0108722905, 0.0188699104, 0.1033591107, -0.0263720267, -0.0063855373, -0.0383330435, -0.0380873494, 0.0466946699, 0.021899106, 0.0186737664, -0.0207319204, 0.0080010239, 0.0086670257, -0.0013061067, -0.0148343788, -0.0062161265, -0.0147201614, 0.0220569875, 0.0530468374, -0.0911436677, -0.0428471789, 0.0188821517, 0.0944959968, -0.060581319, -0.046575468, -0.0084419735, -0.0304413103, -0.035989549, -0.0180641599, -0.0739502236, 0.0299311336, 0.0205935054, 0.0761804581, -0.0324114859, -0.0088066757, 0.0275728181, -0.004297772, -0.0265593063, 0.0083394088, 0.0079510882, -0.0008446384, -0.0307698343, 0.0043080305, -0.0042113764, -0.0443342589, -0.0488703996, 0.0248376355, -0.0077210236, 0.0097498707, -0.0829626098, -0.0492674187, 0.0178175587, -0.0142748365, 0.0964119807, 0.0353134573, -0.0096205575, 0.03053982, -0.0420976691, 0.0077138063, 0.0311515331, 0.0384407528, -0.0507141575, -0.0131619843, -0.051655516, 0.0256425627, 0.0050221542, 0.0440349914, -0.0255990736, -0.0093860142, -0.0294767823, 0.0219137799, -0.0024734654, 0.0054220445, 0.021327395, 0.0030647716, -0.0501735695, -0.0003953808, 0.0320982412, 0.0537435897, 0.0073442124, 0.0483951233, -0.0319305956, -0.0603995658, -0.0403721966, 0.0485725813, 0.0195517652, -0.0237930194, 0.0198722482, 0.0468287058, -0.0214434434, -0.0468578823, -0.0617725588, -0.0089180609, 0.0088931993, -0.0634097308, 0.0047393981, -0.0683853105, 0.0264058355, -0.016974099, -0.0107979402, -0.0185002126, 0.0081336098, 0.0200265106, -0.0291192718, 0.0809844434, -0.0411840864, 0.0111603383, -0.0226960443, -0.012326668, 0.0039343974, 0.1057747304, 0.0197720844, 0.0033623623, 0.0221802928, 0.0316191167, 0.0176330134, 0.0462073274, 0.0394288823, 0.0281807147, -0.0394786634, -0.0225235429, 0.0123845013, -0.0050222334, 0.0503630377, -0.023100337, -0.0485286266, 0.0252295453, 0.0577327386, 0.0262651201, 0.0527931936, -0.0214532502, 0.0556847304, 0.0085058641, -0.0104396222, -0.0154426862, -0.0094185313, -0.00263873, -0.0295415446, 0.0033969528, -0.0084087625, 0.0148817161, -0.0620830357, 0.0024455772, -0.0043294174, -0.0256383717, -0.0249521378, 0.0150152072, 0.085959807, 0.0276815183, -0.0563243553, 0.042399209, 0.021498302, -0.0644952655, 0.0167051498, -0.0172205865, 0.0385656245, 0.0638964623, 0.04432166, -0.0420181677, -0.0403835922, -0.0034226447, 0.0464575216, 0.0358566903, -0.022475075, -0.020612685, 0.0478828698, -0.0646546632, -0.0494564474, -0.0273620654, 0.0078596799, -0.0006133273, -0.014285841, 0.0118628312, 0.0291275457, -0.0220883545, -0.0085293232, 0.0420561917, -0.0425257087, -0.0309511553, 0.0510784648, -0.0212195516, 0.0007309449, 0.0073481952, -0.0417241044, 0.0005859355, 0.0365461446, -0.0417987593, 0.013129347, 0.0028590113, -0.0212922469, -0.0700994805, 0.0293240473, -0.0173747204, 0.0257444009, -0.0039686789, -0.0831956193, -0.0475669429, 0.0096619297, 0.0402208976, 0.0063041984, -0.0615128204, 0.0200627055, -0.0004380181, 0.0273815971, -0.0319050215, 0.0311899129, 0.020996742, -0.0048581054, 0.017012313, 0.0443681851, 0.0330647416, -0.0389792398, -0.0004061321, -0.0073825703, -0.0197902564, 0.0179768, -0.0028201535, 0.028237354, -0.0313271768, 0.0112310741, -0.0854930803, 0.0285816323, -0.0201840959, 0.0086916424, 0.0119116073, -0.0090150442, -0.0222079623, -0.0219372585, -0.0067850119, -0.0005570376, 0.0175977554, -0.0105594527, 0.0191806573, -0.0182487685, 0.021710502, -0.0341046378, -0.0096346987, -0.0007625797, 0.0586189441, -0.0278999675, -0.000792772, -0.0193881895, 0.056616798, -0.0167734921, 0.0303254351, -0.0059166225, -0.0044848034, 0.0054874094, -0.0295668729, -0.0032512171, 0.0171643533, -0.0352446027, -0.0185111146, 0.0310577787, -0.012906841, -0.0361847319, -0.0099582076, -0.0121654579, 0.003515563, -0.013450196, 0.0140586877, -0.0235740449, 0.0454291292, -0.0170060247, -0.0164016485, -0.0468752086, 0.0373252816, 0.0154148508, -0.0147717455, -0.0059927823, 0.0200745352, -0.0219488181, 0.0160361212, -0.0622283034, -0.0450983047, 0.0048308675, -0.0573749244, -0.0154194171, -0.0328458659, 0.0035525546, -0.021510249, 0.0146122864, 0.0111377891, -0.011723835, 0.0394129753, 0.0090848347, -0.0459213145, -0.006577861, 0.0086631821, -0.0066654063, 0.0425512418, -0.0324969143, 0.0325238779, -0.0487405285, -0.0025724547, -0.0506387055, -0.0507080965, -0.0059301741, 0.020641936, -0.0654499158, -0.001763302, -0.0320903622, -0.0248498581, -0.0069295159, 0.0929986686, -0.0151217235, -0.0046984684, -0.0276655778, 0.02616404, 0.0375426151, -0.0142157348, -0.0468265601, -0.0092107523, -0.0148483803, 0.0223391559, 0.0425030813, 0.0340929516, -0.0348454714, 0.0141425654, 0.039881181, 0.0199673604, -0.0104681626, 0.0048689791, 0.0299790632, -0.0370023288, 0.0060380767, 0.1023682132, 0.0224322677, -0.057852149, -0.0157412868, -0.004596475, 0.0279314592, 0.0369550176, 0.0238162763, -0.1162232161, -0.0504280515, -0.008732371, 0.0128651364, -0.0141965654, -0.0170100722, -0.0311554447, -0.1497634053, 0.0436280221, 0.0276969541, -0.0483031161, 0.0085209515, -0.0449266434, 0.0120736696, -0.0298232827, 0.0040316624, 0.0002043175, -0.0121711213, -0.006811202, 0.032376755, 0.0061326977, -0.1296804249, 0.0108494805, -0.0300523732, 0.0452585146, 0.0523298047, 0.0194473807, 0.0102295447, -0.0022504006, 0.0071968166, 0.0112005938, -0.0192283783, -0.0291163344, 0.0658451021, -0.027112674, -0.0022716182, 0.0460883826, 0.0423261188, -0.0431656912, -0.0231569186, -0.0212477539, 0.0595941804, -0.020547308, 0.017894499, -0.0240909532, -0.031391371, 0.0329405181, 0.0624023415, 0.0403785557, -0.0059448928, -0.0121722529, 0.0027020203, -0.0465567596, -0.0851963088, 0.012563495, 0.0150407506, -0.0306335445, -0.0434953868, -0.0312060285, -0.0175664201, 0.0804355666, 0.0584229454, -0.0144722164, 0.0097853448, -0.0505810007, -0.0101375254, -0.0685663894, 0.0012118515, -0.0561600439, 0.039258454, -0.0303270463, -0.0220057946, 0.0337504297, -0.023045091, 0.0061633247, 0.0091522047, -0.0881487727, -0.0579408668, -0.0337840989, 0.0743826851, 0.0146051813, 0.0337094329, 0.000005366, -0.0389145203, 0.0955204815, 0.0622485019, -0.0138450852, 0.0046028462, 0.0605717935, -0.0594285876, 0.0080796052, 0.0334266722, -0.0322673805, 0.0431945473, 0.0515363589, 0.0121649969, -0.0211872756, 0.0206861924, -0.0192616954, -0.0245493352, 0.062732242, -0.0246324316, 0.0081106592, -0.0379442573, 0.0095095057, -0.0403064303, 0.0084022852, -0.0656095371, -0.009729214, 0.0146872886, -0.023741208, 0.0071908631, 0.0140382694, -0.0917374119, 0.0691573918, -0.0490265302, 0.0216767956, 0.024477914, 0.0088849114, 0.024880033, 0.0077601899, 0.0023774246, 0.0093982127, 0.002183022, -0.0056004515, -0.0183263049, 0.0219353363, 0.0175960958, 0.044190567, -0.048850432, 0.0352376141, -0.0213173144, 0.0064551756, -0.0551576726, 0.0180892423, 0.0871434659, -0.0279686842, 0.0587157719, 0.0130254002, -0.0092945276, -0.0335249789, 0.042978406, -0.0261970107, -0.0247591846, 0.0064476454, 0.0089275464, -0.0209027827, 0.0116937077, 0.1322923899, 0.0256009586, 0.0287347604, -0.0206739567, 0.0243874118, -0.0329522155, 0.0080004716, 0.0463424213, 0.0166300759, -0.0029940871, 0.0033573604, -0.0437474772, -0.0678370893, 0.0203589648, -0.0304537546, -0.0126230381, 0.0222504959, 0.036103107, 0.0318884328, -0.0147453761, 0.0435547456, -0.0282858405, -0.0280696079, 0.0304397885, -0.0198695008, -0.0024139341, -6.076354011e-33, -0.0187904108, -0.01199813, 0.0247622579, -0.0148862284, -0.0189778339, 0.0226333048, -0.0474678092, -0.0038546163, 0.0001315524, -0.0205289926, -0.0264807995, -0.0083229141, 0.0270595923, 0.0437681824, -0.0027774489, 0.0086106481, 0.061950691, -0.027513789, -0.0155703044, 0.0166643653, 0.0384072363, 0.0502137206, 0.068911925, 0.0057072593, -0.0080140214, -0.0089503964, -0.0053495965, 0.0193465315, 0.0451978296, 0.0577075891, 0.0214300379, 0.0603898913, 0.0272236001, -0.0495318063, -0.0523731038, 0.0019545243, -0.0366139896, -0.047735963, 0.0082882382, 0.0008371585, -0.0167361964, -0.0037608468, 0.029848747, -0.0115625663, 0.007455653, -0.0215126183, 0.0323817283, -0.0357458293, -0.0321345627, -0.0106202578, -0.0569788665, 0.0128699737, 0.0260095578, -0.0360637456, 0.0521013401, 0.0343819857, 0.0031710125, 0.0351521187, -0.0568243749, 0.0208968557, 0.0030111268, 0.046203807, 0.0682378411, 0.0742474422, 0.0323244743, 0.0546799302, 0.0092044063, 0.0071320152, -0.0343126431, -0.0050562322, 0.0638555139, 0.039475631, 0.0112184472, 0.0761361718, 0.046424862, 0.0184162464, -0.0806871355, 0.0411584899, 0.0231139455, 0.0049707745, 0.0054157483, 0.0268685259, 0.0418573543, -0.0287467279, -0.0161502063, -0.0425096713, -0.0322608054, -0.0185683388, 0.013110159, 0.0332180336, -0.0247356687, 0.0134253372, 0.0796089768, -0.0441979468, -0.0202626232, 0.0333580635, -0.0335419774, 0.0084631676, 0.0212204121, -0.0242448971, -0.0715928078, -0.0447356552, 0.0637214035, 0.0251191873, 0.0132666053, 0.0135908015, 0.0628080294, 0.041858241, -0.0087516718, -0.0100172888, -0.0342288651, 0.0034600559, 0.0091448557, 0.1004184633, 0.0041878335, 0.0271817613, -0.0108315684, 0.038836617, 0.0041624228, -0.0392979831, 0.0152429258, 0.0192851052, -0.0027360655, 0.024195224, -0.0286230873, 0.00912508, -0.0415582135, -0.000357264, 0.0536052473, -0.0459088497, -0.0142720407, -0.00370637, 2.547e-7, 0.029752763, -0.0031167183, -0.0157207083, -0.0019841781, -0.0002880605, 0.0275355875, -0.0354965329, 0.034821488, -0.0092138229, -0.0040113861, 0.0179421213, 0.0285777487, 0.0548074432, 0.0126985144, -0.0975466892, 0.0360950045, -0.0318307579, 0.0321664661, -0.0435821414, -0.0179264974, 0.0215094518, 0.1000885293, 0.0316384993, -0.0341418535, 0.0443185829, 0.0050645019, 0.0597184077, 0.0033888002, -0.0003709141, 0.0224474426, -0.0015355129, 0.0287058558, -0.024025932, 0.0179337524, -0.0466588847, 0.0071586324, -0.0143878134, 0.0385130569, -0.0411968753, -0.0526984297, 0.0073118149, -0.0003471238, -0.008347244, -0.0358200073, 0.0805502012, -0.0720489472, -0.0190374535, -0.0155507466, -0.024321625, 0.0317989103, 0.0169568677, -0.02535519, -0.0338259116, 0.0168022271, 0.0540734567, -0.0094008958, -0.0636809692, -0.0639319718, -0.0259731784, -0.0085868025, -0.0416595303, -0.0139785334, -0.0000376578, -0.0538541041, 0.0103067122, -0.044885993, 0.0158795081, 2.575346033e-34, 0.0122103021, -0.0064896941, 0.006073168, -0.0142679289, -0.030546993, -0.0079966215, -0.0441641584, 0.0078870477, -0.0053745736, -0.0399110168, -0.0139329601 ]
http://arxiv.org/abs/2406.12502v1
http://arxiv.org/pdf/2406.12502v1
Code-Optimise: Self-Generated Preference Data for Correctness and Efficiency
2024-06-18T11:05:37
2024-06-18T11:05:37
Leonidas Gee, Milan Gritta, Gerasimos Lampouras, Ignacio Iacobacci
cs.CL
cs.CL
Code Language Models have been trained to generate accurate solutions, typically with no regard for runtime. On the other hand, previous works that explored execution optimisation have observed corresponding drops in functional correctness. To that end, we introduce Code-Optimise, a framework that incorporates both correctness (passed, failed) and runtime (quick, slow) as learning signals via self-generated preference data. Our framework is both lightweight and robust as it dynamically selects solutions to reduce overfitting while avoiding a reliance on larger models for learning signals. Code-Optimise achieves significant improvements in pass@k while decreasing the competitive baseline runtimes by an additional 6% for in-domain data and up to 3% for out-of-domain data. As a byproduct, the average length of the generated solutions is reduced by up to 48% on MBPP and 23% on HumanEval, resulting in faster and cheaper inference. The generated data and codebase will be open-sourced at www.open-source.link.
[ -0.0169261955, 0.0968105197, -0.0141376574, -0.0004381622, -0.0312378854, 0.0060268501, -0.0371943749, 0.0109874718, 0.0245266072, -0.0164731964, 0.0133723924, 0.0486129411, -0.0218011346, 0.0525024422, 0.0108226491, -0.00813423, 0.0463032499, -0.0347029269, -0.0308374371, -0.0068077259, -0.0216761325, 0.0098486887, -0.0049652602, 0.0190323107, 0.0027064129, -0.0484787114, 0.0027426949, 0.0298943873, -0.0256862193, -0.0176196098, 0.0481465757, 0.0408370532, -0.0163741354, 0.0032442394, 0.0000025112, 0.0032023003, -0.0170489475, 0.0135080554, -0.0088081947, 0.0730716437, 0.0342331827, 0.0155608421, -0.001723991, 0.0437187329, -0.0363526419, -0.0054194368, 0.0484469496, -0.0599935763, 0.0286871158, 0.0555807278, 0.0281827208, 0.0332453325, -0.0142025305, -0.0113795344, -0.0138385985, -0.0508008301, -0.0089435382, -0.0258068405, 0.0037314403, -0.0210315399, 0.0067050126, 0.0108304415, 0.0100916624, 0.0062882164, 0.008538045, 0.0054078293, -0.0156715065, 0.0036655478, -0.0020015032, 0.0123936394, -0.0986308977, -0.0661544874, 0.0169565231, -0.0495948941, -0.0522104762, -0.0415688232, 0.0183027554, -0.0187078137, -0.0427349322, -0.0112835774, 0.0211609229, 0.0155820828, 0.0035926506, 0.0049306299, -0.0267972089, 0.0934651196, 0.0046816226, 0.0179268885, 0.0025421029, -0.0065951655, -0.0149689848, -0.0525476709, -0.005477448, 0.0083129155, 0.0014913509, 0.0042757811, -0.038090948, -0.0007905485, 0.0215043798, -0.0670082718, 0.0285033174, 0.044351209, -0.0118593834, -0.0309530459, -0.0660427585, 0.0310241058, -0.020157041, -0.0290242974, -0.0112883076, 0.0458928533, 0.0049117892, 0.0277263392, -0.0190930124, 0.0456955731, -0.0190831739, 0.0487881489, -0.0555309728, 0.0396532565, -0.0046124556, 0.0386894196, -0.0256670918, 0.0119945556, -0.0260662735, 0.0281971227, -0.0031804149, 0.0002502929, -0.0469188653, -0.0451087169, -0.0378458053, -0.0503263026, 0.0180236455, -0.0049049039, -0.0447469689, -0.0345313773, 0.0425499082, 0.0628942475, 0.0142100463, 0.0169335175, -0.0406047702, -0.0321010351, 0.012329556, -0.0142838815, 0.0016899658, -0.1082436293, -0.0461673476, 0.0069809752, -0.0090169003, -0.0597116277, -0.0126462663, 0.0045676487, 0.0112040229, 0.0506782793, -0.0158731025, -0.0022087088, -0.0177346319, 0.0026853159, 0.0051384941, 0.0977640599, 0.0142561449, 0.0200058036, 0.0145985251, -0.0619143695, -0.00183282, 0.0211939923, 0.0334546082, -0.0153443487, 0.0023079861, 0.0362633318, 0.0424860716, -0.0235484634, 0.0343664289, -0.0084681846, -0.0029320179, -0.0311166849, -0.0383941345, 0.0012535575, 0.0414660983, 0.0033101987, 0.0511206351, 0.0388356857, -0.0097507341, -0.0234652963, -0.0594717748, 0.0451167598, -0.00608795, 0.0133428434, -0.0264481883, 0.0482257903, 0.0024096631, -0.0599799193, -0.0037985048, -0.0132608516, -0.020906793, 0.0337009616, 0.0360607319, 0.0104500521, -0.0588763952, -0.0112241078, 0.0413832478, -0.0177152324, -0.0796535611, -0.0532220379, 0.0172428656, 0.0252640303, 0.0210499, -0.0494731665, -0.0172179267, 0.018074939, -0.007492627, -0.0431866907, 0.0517164804, -0.0325198844, 0.0354330465, -0.0354561806, -0.0119074294, 0.0071699894, 0.0154937906, 0.088497147, 0.0419089571, -0.0283871852, 0.0361633487, -0.0137238633, -0.0424344093, 0.0169502441, 0.0078604277, -0.0228384864, 0.0667849332, 0.0163650233, 0.0428900644, -0.0554952398, -0.0155000482, 0.0068391622, 0.0380219631, 0.0126077319, 0.0070223762, -0.0414919965, -0.0646144673, -0.0248987805, 0.0169301834, -0.0360717475, -0.0196827706, 0.0483171865, -0.0547105335, -0.0004932889, 0.0610042736, -0.0237980802, 0.035678234, 0.0247144923, 0.0062857871, -0.0087607084, -0.0290786475, -0.0270948876, 0.0469981804, 0.0423674136, 0.0236473773, -0.0129922135, 0.0654817, 0.0262842514, 0.0347744487, 0.0107309511, 0.0054454603, -0.0424610078, 0.0330957398, 0.0142940721, 0.0101770721, 0.0027686225, 0.0043593915, -0.0730548427, 0.0294041876, -0.000857636, 0.0188803449, 0.0000010145, 0.0182802975, 0.0196958464, -0.0326984189, -0.0014999107, 0.0081637716, -0.0090754442, 0.0160359256, 0.0065292255, -0.0182683449, -0.041368477, -0.0357233882, -0.0255150832, -0.0589425452, 0.0125288554, -0.0583012253, 0.029957708, -0.0424631611, 0.0765099972, -0.007102665, 0.0433467478, -0.0413624533, -0.0500830188, -0.0005737094, -0.0412057675, 0.0090105105, 0.0742797405, 0.0024977692, -0.037110433, 0.0282400455, 0.0146415271, -0.1193374693, 0.0264694579, 0.0115415305, -0.0306167509, 0.0181851368, -0.0034534435, 0.024754459, 0.085675925, -0.0009416557, -0.0454805791, -0.0539443679, -0.012079834, 0.0408937335, -0.0038351931, 0.0220808554, -0.0027180533, 0.0063926466, 0.0566392727, -0.0072764074, -0.0888848752, 0.0848640949, -0.0086817425, -0.0002825837, -0.049808383, -0.0316442661, -0.0301452782, -0.0012949463, 0.0164783821, -0.0024165437, -0.0045447475, -0.0133505454, -0.0155199952, -0.0203854423, 0.0153671736, -0.0615982935, 0.0650896132, -0.0136619145, 0.0011410058, 0.0048006978, -0.0517767929, -0.0611938275, -0.0139641101, -0.0061129914, -0.0277069397, 0.0075131464, 0.0043026153, 0.0490198098, 0.0073180459, -0.042907387, 0.0621375479, 0.0222928412, -0.0352584384, -0.0059891581, -0.0669562519, -0.0179830659, -0.0787911639, -0.009274127, 0.0173172001, -0.0115140239, 0.0317895971, 0.084982954, 0.0452370234, -0.0817396045, 0.0169546176, 0.0378289223, -0.0292762928, -0.0434733778, 0.0755752996, 0.0316092484, -0.066112712, -0.038801685, 0.0481524393, 0.0431821384, -0.0359416157, 0.0096659362, 0.0047754482, 0.0732768551, 0.0718529373, 0.0671595931, -0.0678541064, -0.0284850001, 0.0033121512, 0.0875117108, -0.0223593023, -0.0153712053, 0.008108696, -0.1194795966, 0.0018624656, 0.0183673892, -0.0123054022, -0.0304755811, -0.0584715866, -0.0209717248, -0.0238391664, -0.0555749163, 0.0383567661, -0.0026341914, 0.0218473561, 0.0231277067, -0.0280043799, 0.0214869846, 0.0603982359, -0.0262697469, 0.0273778122, 0.1027509719, -0.0115852691, 0.0242650248, 0.0001663887, 0.0137955574, -0.0419696942, -0.0018036732, -0.0471494123, 0.0370698906, -0.0059329206, -0.0050485171, 0.0400858372, 0.0199665017, -0.0352100506, 0.0029722059, 0.0554852225, 0.0596582741, -0.0028514715, -0.01746279, -0.0394191965, 0.0044340622, 0.0122120595, -0.0047090962, 0.0036819887, -0.026219992, -0.0369837619, -0.0916049182, -0.0143386526, -0.0873347744, -0.0173452757, -0.0271458942, -0.0208964311, -0.0189116914, -0.0165043101, 0.0258869212, 0.0359087139, 0.0729813054, 0.0078504141, -0.0428704023, -0.0099885762, -0.031060392, -0.1004284248, 0.0064872582, -0.0169150475, 0.0217437521, -0.0487895682, -0.0142000932, 0.0356310159, -0.0066649588, -0.009841756, 0.0181545261, -0.073782295, -0.0520153642, -0.0104803573, 0.1250636578, 0.0211532731, 0.0477526896, -0.055257041, -0.0021477384, 0.0040296186, 0.0344163179, -0.0469798744, -0.0196468439, 0.0481347963, -0.0275499858, 0.0134118004, -0.0229988117, -0.0458300523, 0.0178304091, 0.0312899984, -0.0163429324, 0.0007927563, -0.0012806115, 0.0235305559, 0.0019735289, 0.0220280904, 0.0243797358, -0.0718601122, 0.0215527713, 0.0039084204, 0.0313957334, -0.0298592187, -0.0361593105, 0.0618297532, -0.0137232943, 0.0046943012, 0.0125570288, -0.0387210436, -0.0198226552, 0.0164002087, 0.00023522, 0.0268912632, 0.046594318, 0.0530373268, 0.0948617607, 0.0059343684, -0.0114779603, 0.0181780439, 0.0440507717, 0.0668120384, -0.0256223381, 0.0244737342, 0.0140750399, 0.0724213347, 0.0014091079, -0.0331754088, -0.0259153955, -0.0529383384, -0.0445822291, -0.0278013032, 0.0122774802, -0.0074048005, 0.0196320675, -0.0346599557, 0.018303832, -0.0338059887, 0.051572945, -0.0434296392, -0.0053390041, 0.0142795099, 0.0348951966, -0.0114822993, -0.0458286852, 0.075748913, 0.0123672932, 0.0358998291, -0.0310305674, -0.0038536803, -0.0423771068, -0.0009914758, 0.0363586098, 0.0282937717, -0.0107401665, -0.0348880887, -0.0106149213, -0.0649321452, -0.0039197588, 0.0234317072, 0.0430226885, -0.008431471, 0.0420890525, 0.0838390216, 0.030870216, -0.003687442, -0.0453058779, 0.017182773, 0.0304268431, -0.0418897532, -0.0262369346, -6.217244723e-33, -0.0248861816, -0.011319587, -0.01677089, -0.0080369338, 0.0245294552, -0.016041385, -0.0065558478, -0.0044233766, 0.0124516366, -0.0417878442, 0.0146220215, 0.0168723464, 0.0055765482, -0.0323029235, 0.0556295104, 0.0313104503, 0.0171108507, -0.0070629632, -0.0675013289, 0.0109075019, -0.0202403795, 0.024025226, -0.0000332169, -0.0391290784, -0.0542596094, 0.0369221196, 0.0463136472, -0.0193302464, -0.0283232555, 0.0555626489, 0.0310258195, -0.0077393018, -0.0331808291, -0.0154877407, -0.0343058929, -0.0515343398, -0.0314147584, -0.0261761509, 0.0304474849, 0.0326514691, 0.0133424224, -0.0551750474, 0.0589136556, 0.0145224622, -0.0189063195, 0.0041723484, 0.0057127834, 0.0163443517, -0.0132693956, -0.0238133054, -0.0442137718, 0.0318242908, -0.032605622, -0.0095349569, 0.0085660387, 0.0364601947, -0.0135004548, 0.023614293, 0.0227692109, 0.021205252, 0.012952243, 0.0597489811, 0.0552013516, 0.0076974127, 0.0142987054, -0.0231418405, 0.0694936663, 0.0108579025, 0.0070566535, 0.0092023397, 0.0599010848, 0.0476440862, 0.0385842882, 0.0140218576, 0.0604892224, -0.0438977443, -0.0350972973, 0.0318437852, 0.0346910805, -0.0215246677, -0.0003712766, 0.0077927746, -0.0536047518, -0.0141820265, -0.0335783735, -0.0164114553, -0.0388015397, -0.0522761196, 0.035712216, 0.0024254445, -0.0582638718, 0.0158119053, 0.035772562, -0.0186499078, -0.0025449498, -0.0004808576, -0.0414869152, 0.0156973936, -0.0040297755, 0.047437571, -0.0144904191, -0.0181946885, -0.0044143628, -0.0427387059, 0.0845239833, -0.0118759181, -0.0083940625, 0.0160915479, -0.0817596987, -0.0011029262, -0.0613663048, -0.0182947833, 0.0068217297, 0.0248508453, 0.0304120556, 0.0134808552, 0.0267253052, 0.044252295, -0.0230496991, -0.0412452966, -0.0803414956, -0.0086455327, 0.0414991155, 0.0446531065, -0.016858831, -0.0495087169, -0.0298667476, 0.0073972037, -0.0216377527, -0.0129461195, -0.0374620818, 0.0517566763, 3.136e-7, 0.0110283429, 0.0125256414, 0.0068613752, 0.0651720688, -0.0228201002, 0.0483296439, 0.0027422432, -0.0083200438, 0.0418614671, 0.027276, -0.0259146802, -0.0075677908, 0.0487689413, 0.0385530628, -0.0118493512, -0.0019932494, 0.0490259118, 0.0221676156, -0.0366117246, -0.0376816466, -0.0380906984, 0.0635547638, 0.0074399109, 0.003630548, 0.0492447875, 0.043224182, -0.0109585142, 0.0016990576, 0.013224218, 0.0189269874, -0.0909708589, -0.0027051969, -0.0144733666, 0.0053439778, -0.0118444925, -0.0130272722, -0.0051352112, 0.0793281347, 0.0225376301, -0.010167663, 0.0378653966, -0.0259935837, 0.0189811327, -0.0424155369, 0.0694359541, 0.0006946373, 0.0040812804, -0.0290952809, -0.0130119007, -0.0297975969, -0.0130520165, -0.0025885305, 0.0198773649, 0.0170658417, 0.014095027, -0.0099124545, -0.0436365046, -0.0249836836, -0.0487525165, 0.0356003195, -0.0239688288, -0.0338173397, -0.0624685287, 0.0714728311, 0.0259146765, -0.0173705909, 0.0151230777, 3.209527302e-34, 0.0407027155, -0.0329474658, 0.0120486738, 0.0400471091, 0.0385779664, -0.0158437863, -0.0105468724, 0.0152367568, 0.0499329008, 0.0200171992, -0.0518484339 ]
http://arxiv.org/abs/2406.12494v1
http://arxiv.org/pdf/2406.12494v1
LightPAL: Lightweight Passage Retrieval for Open Domain Multi-Document Summarization
2024-06-18T10:57:27
2024-06-18T10:57:27
Masafumi Enomoto, Kunihiro Takeoka, Kosuke Akimoto, Kiril Gashteovski, Masafumi Oyamada
cs.CL
cs.CL
Open-Domain Multi-Document Summarization (ODMDS) is crucial for addressing diverse information needs, which aims to generate a summary as answer to user's query, synthesizing relevant content from multiple documents in a large collection. Existing approaches that first find relevant passages and then generate a summary using a language model are inadequate for ODMDS. This is because open-ended queries often require additional context for the retrieved passages to cover the topic comprehensively, making it challenging to retrieve all relevant passages initially. While iterative retrieval methods have been explored for multi-hop question answering (MQA), they are impractical for ODMDS due to high latency from repeated large language model (LLM) inference for reasoning. To address this issue, we propose LightPAL, a lightweight passage retrieval method for ODMDS that constructs a graph representing passage relationships using an LLM during indexing and employs random walk instead of iterative reasoning and retrieval at inference time. Experiments on ODMDS benchmarks show that LightPAL outperforms baseline retrievers in summary quality while being significantly more efficient than an iterative MQA approach.
[ 0.016698448, 0.004900441, 0.0205167942, -0.0005651208, -0.0461525023, -0.0057350541, -0.0286537781, -0.0081517845, 0.0378689095, -0.0289599542, 0.0269880705, -0.0147402147, -0.0104245525, -0.0096646287, -0.0258550923, -0.0621788055, 0.0313434936, -0.0270877611, -0.0020864091, -0.0241951216, 0.0090709999, 0.0216859337, 0.0073195547, 0.0128555121, 0.0237916131, -0.0313741043, -0.0314194486, -0.0006602545, 0.0249269009, -0.0412513912, 0.002334211, -0.0029339227, 0.034947902, -0.0240780395, 0.0000018011, -0.0613910481, -0.0703962445, 0.0115067335, 0.0195605867, 0.0011256938, 0.032118991, 0.0245532319, 0.0696211159, 0.0335791335, 0.0014101827, 0.0128257852, -0.0061492706, 0.0773896202, 0.053823635, 0.0373539403, 0.000491938, -0.0516174622, -0.015083639, 0.0129774772, 0.0013306125, -0.076903291, 0.0041604615, 0.0571990125, 0.0465990417, 0.0054476946, -0.0006176893, 0.016314853, -0.016757708, 0.0156389829, -0.0201828387, 0.0191660188, 0.0006612825, 0.0169590618, 0.0187022742, 0.1056256369, 0.0334080867, 0.0144727984, 0.021597812, 0.0303465296, -0.0009191927, 0.0506313629, -0.1047504544, 0.0491852239, -0.0506505743, 0.006736639, -0.0262592193, 0.0125832139, 0.0089092106, 0.0333351716, -0.030279329, 0.0511913411, 0.0312749594, 0.0061279293, -0.0150128389, -0.0084966095, -0.0028122335, -0.0361113995, 0.0247586239, 0.0965774804, -0.0128316656, 0.0115700187, -0.0186990723, -0.0284974612, 0.0450043194, -0.0329031274, 0.0156544056, 0.0153109636, 0.0119798146, 0.0658992305, -0.0396166071, -0.0138476091, -0.0205414966, -0.0101520093, -0.0695247203, -0.0494843349, -0.0059043313, 0.001549114, -0.0466437973, 0.0885111243, -0.0551826991, -0.0356401056, -0.008208896, 0.0510074757, 0.0523371287, -0.0445847996, -0.0135562392, 0.0284147747, 0.0125888065, -0.0030159636, -0.0227942895, 0.0595031418, -0.0506608635, -0.0212254822, 0.0174473412, 0.0171956588, -0.0185774937, 0.0161296222, 0.0425883904, 0.0139278984, 0.0116549218, 0.0697942823, -0.0144732194, -0.0335099399, -0.0394353308, -0.0461725928, -0.0011069988, -0.0453022942, 0.0086376807, -0.0856443048, 0.0132009741, 0.0409012698, -0.0251501594, -0.0000178654, 0.0298794284, 0.0483308844, -0.0568623729, 0.0086350637, -0.0170726087, -0.0081545198, 0.0257035568, 0.0265379325, 0.02247959, 0.0735678971, 0.0130750798, 0.0290063545, 0.0705002025, 0.0551624335, -0.0153843304, -0.0013259363, -0.0021365017, 0.0181117468, 0.0569460541, 0.0137749035, -0.00357439, -0.0109776165, 0.0142179197, 0.050862629, -0.0484523438, 0.0189663172, 0.0092465263, 0.0725370124, 0.0354021676, -0.0113457283, -0.010055135, 0.035655167, 0.0356745422, 0.0327621512, 0.0172567461, 0.055474665, -0.0259125214, 0.0462636016, 0.0887515396, 0.041936934, -0.0178816281, -0.0179035608, -0.0138420127, 0.0102158906, 0.0085646426, 0.0258838031, 0.0384869799, 0.0003782992, -0.0408475325, 0.0877302811, 0.0388444252, -0.0460930206, -0.0055278353, -0.016749382, 0.0043122005, 0.0224210341, 0.0561082475, -0.0318395197, -0.0149701973, -0.008264347, 0.0101505546, 0.0115977945, 0.0362748951, -0.0195734799, -0.0182357021, -0.0595254339, -0.0358932652, -0.0152494311, -0.0166061167, 0.0176697671, 0.0238285884, -0.0127457017, 0.048772864, -0.0634912103, -0.0214882698, 0.0135644013, -0.0167728309, -0.0047235889, 0.0004628726, -0.0247912724, -0.0133044049, 0.052416306, 0.0018967399, 0.0353099331, 0.0424056947, -0.0265721586, -0.0507133454, -0.0038298282, -0.0287369806, -0.0067259911, 0.0507096797, -0.0400632583, 0.0060369172, 0.0156212701, -0.0022224751, -0.062986061, 0.0098091895, -0.0589968562, 0.0107517261, -0.0257518403, -0.0251903832, 0.029158188, -0.0100461114, -0.0543621294, 0.082496278, 0.0217357613, 0.0494303815, 0.0449225307, 0.0296320822, 0.0203785934, -0.0109729348, 0.0056093596, 0.0072611482, -0.0067007504, 0.0138376057, 0.0458067693, 0.0078791091, -0.0383679718, 0.0038815222, -0.1059733406, 0.0001654514, -0.0038642827, 0.0164248906, 0.0328886174, 0.0413450859, 0.0000736534, -0.0273907278, -0.0355066955, -0.0003920831, 0.0315361507, 0.0241042227, 0.017279502, 0.0118270507, 0.0094711492, -0.0204023998, -0.0062556043, -0.0152568482, 0.0602251515, 0.0048586908, -0.0197162647, -0.0231610835, -0.0085582789, -0.0591045059, -0.0032296672, 0.0016780824, 0.0333997235, 0.0045497254, -0.0485670455, 0.0613847002, 0.0164977778, 0.0257002879, -0.0279749706, 0.0443948284, -0.0338413008, -0.0422370248, 0.0172863752, -0.0339884087, 0.0213334523, 0.0195646286, -0.0191336162, 0.0101550845, 0.0167527199, 0.0075213541, -0.0165819656, 0.0055067707, -0.0282424968, 0.0002056854, 0.0507124476, -0.0600853153, 0.003237565, -0.0163835846, 0.0262730513, -0.0084443474, 0.0015086945, 0.0436217412, -0.0121451477, 0.0253186543, -0.0739265457, 0.0038933081, -0.0892984569, 0.0875128806, -0.0405619107, 0.0513462201, -0.0302096326, -0.0327834785, -0.0219552927, -0.0200298857, 0.0340525396, -0.0606628507, 0.075815618, -0.0382272117, 0.0191795882, -0.0279203597, -0.0211566966, -0.0095307566, -0.0142356157, -0.028132502, 0.022705337, -0.0125469984, -0.0063107084, -0.0235721264, 0.0111823054, 0.0344383717, 0.0255754031, -0.0588337705, -0.0138485618, 0.0040325546, 0.0711555034, 0.0883922726, 0.0014446673, 0.0412493907, -0.0528504774, 0.0331543349, 0.0753649548, 0.0273177959, -0.030500276, 0.0458918363, -0.0240815878, 0.0071158279, -0.0677814335, 0.009116808, -0.0072603412, 0.0509100854, -0.0427866317, -0.0208546948, 0.082175687, 0.0280621797, -0.0571860969, -0.0348793156, -0.0374051258, 0.0147695774, 0.0204583853, 0.029110318, -0.0871489272, -0.034679696, 0.0044796038, 0.0509761013, 0.0331291817, -0.0463206246, -0.0091215754, -0.0624438003, -0.008971015, -0.0037909367, -0.0653265044, -0.0312974229, -0.0751739517, -0.0014890305, 0.0373439007, -0.0142218964, 0.0572117642, -0.0330635458, -0.009130206, -0.0064898957, -0.0101867234, 0.0527845919, 0.0117906621, -0.0257209297, -0.0418705307, 0.0243844371, 0.0268203784, 0.0034031798, 0.0194921512, 0.0510703996, -0.0586905442, -0.0101860287, -0.0000328781, 0.0164781939, -0.0047407402, 0.0144172776, -0.0627666488, 0.0253451429, -0.016892653, -0.0137105864, -0.0080469009, 0.0418601222, 0.0123432223, -0.0023878394, -0.0559227653, 0.0394809805, -0.0464756489, 0.0666642264, -0.003475483, -0.0026796402, -0.0686696842, -0.0369092561, -0.0141002322, -0.0440893583, -0.0232630093, 0.0216610879, -0.0346785448, 0.0285137836, -0.0558164716, -0.040251106, 0.0239045545, 0.032870423, -0.0318278633, 0.0241171103, -0.0025834476, 0.0171098504, -0.0487958118, 0.0048427978, -0.0257447883, -0.0101414379, -0.0145562803, 0.0240921844, 0.0642364845, -0.0406274386, -0.0107262069, 0.0264370162, -0.0835102126, -0.0447088517, -0.0113673583, -0.0035176806, 0.0140386261, 0.0308532212, -0.0032221647, 0.0176694542, 0.0667092055, 0.0004884438, -0.0038515627, 0.0075130933, -0.010621489, 0.0500317439, -0.0242861211, 0.0081495922, -0.1188085079, 0.0204737019, -0.0620547049, 0.08081799, -0.0112751983, -0.1068145409, 0.022171, 0.0539901815, -0.0154777076, 0.0294019394, 0.0028803195, -0.0073803677, -0.0044458462, -0.020169666, -0.044153966, -0.0009630554, 0.0540432073, -0.0248160344, -0.046487201, 0.0235135462, 0.0494133905, 0.0250910148, 0.0450021848, -0.0390493013, -0.0107306056, -0.0286852084, -0.0430401266, -0.0364136361, -0.029892588, -0.0383300334, -0.0418190062, -0.0429407991, 0.0298626292, -0.0048912605, 0.0336942486, 0.0218236074, -0.0166633856, -0.0408888459, 0.0051370035, -0.1243724078, -0.0098214, -0.0248991698, 0.0040847836, 0.046264302, 0.0039999126, 0.0531254672, -0.0043158964, -0.0205202196, -0.007249142, 0.0173037313, 0.0156783424, 0.016134534, 0.0002930053, 0.0355654508, 0.0088404128, 0.0317272469, 0.075429365, -0.04964789, 0.0120347282, 0.0106287478, -0.0412460417, -0.0265128296, -0.0477769934, -0.03226972, 0.041450154, -0.004457219, -0.0500987768, -0.0406244509, -0.0149777578, 0.028757086, 0.0054991716, 0.0124451173, -0.0122215347, 0.0408321582, 0.0622369312, 0.0517352559, -0.0470541455, -0.0529593751, 0.0334106684, -0.0180712231, 0.0079106167, 0.0094551835, -6.0737918e-33, -0.0289621912, -0.0460168011, 0.0061009759, -0.0121695092, -0.0495693274, 0.0047928826, -0.0303437319, -0.009703137, -0.0171883162, 0.0034378737, 0.0011001865, 0.0075162128, -0.0001899174, 0.0300174896, -0.0236035883, 0.015716901, 0.010109162, 0.0008297572, -0.0194125306, 0.0240836889, 0.0755562112, 0.0348703973, -0.0120044183, -0.0025053467, 0.0146764154, -0.0386213921, -0.0052512884, 0.0002595166, 0.0350665338, 0.0254689585, 0.0136231678, 0.0059269099, 0.031000413, -0.0092625162, -0.0250710249, 0.0266881064, -0.1129615679, -0.0329041556, 0.0061573326, -0.0412905142, -0.0355873369, -0.0213424303, 0.0299892873, -0.01725615, 0.0622505024, -0.0475399159, 0.0365443677, -0.00860452, -0.04674647, -0.0813363045, 0.0217062049, 0.0288519952, -0.0225496776, -0.015333917, -0.0400346033, 0.0658658445, -0.0011340602, 0.0132098915, -0.0111428108, 0.0362900421, -0.0140944701, 0.0039045054, -0.0068630646, 0.0247021466, 0.0244113132, 0.0598271266, -0.0255877804, -0.0331957787, -0.0317130387, -0.0032305573, -0.0229563918, -0.0019520544, -0.0037766099, 0.0095011536, 0.0112981992, 0.0526786037, -0.0942710489, 0.0708750039, 0.0015040969, 0.0319835357, 0.0163265597, 0.0079492666, 0.0034037833, -0.0197628029, -0.0184407793, 0.049114421, -0.0206788685, -0.0377734415, -0.0125078838, 0.0094993403, -0.0463053025, -0.0395549089, 0.0197001603, -0.0391135104, -0.0007318112, 0.0383189507, -0.0084639993, 0.0132234832, -0.0154629443, 0.0195303466, -0.0172218848, 0.0121167945, -0.0035295729, -0.029367039, -0.0302156806, 0.0099315988, -0.00164965, -0.0109782927, -0.0593850613, 0.0032887447, -0.0099934414, -0.0062050018, -0.0272279475, 0.0157390535, 0.028836647, -0.0042874413, 0.0110017862, 0.0902552754, 0.0083928248, 0.0343767405, -0.0252303667, -0.0273998063, 0.0117856422, 0.0155281518, 0.0066709612, 0.0449912585, -0.021665968, 0.0527765863, -0.0168838948, -0.0589657538, -0.0179517251, 0.0527702086, 2.612e-7, 0.0487593561, 0.0178708099, 0.0465418361, 0.0675679594, -0.018674884, -0.0016361526, 0.015443367, 0.0331209749, 0.0170268323, -0.0060131806, 0.0083354069, 0.0393152237, 0.0024556078, 0.0551293939, -0.1046784222, -0.033182811, -0.0290868748, -0.0732370391, -0.0253801551, -0.028023161, 0.0415101685, 0.0290532392, -0.0215238277, 0.0069409306, -0.0276178122, -0.0496777259, 0.0496422537, 0.0374835804, -0.062790826, 0.0106813265, 0.0462872013, -0.0243643261, 0.0019527542, -0.0296361744, 0.0143518401, 0.0237898845, 0.0452002771, 0.0146259665, 0.0182337947, -0.0724343657, 0.0072636348, -0.0555888675, 0.0406277403, 0.0239548739, 0.0798248872, -0.0030074804, -0.0003704739, -0.0130231176, -0.0374330953, -0.0055921786, -0.0202695355, 0.0182060767, -0.02545847, 0.0571354777, -0.026382871, -0.0250239633, 0.0252255723, -0.0863790363, -0.0258614868, 0.0440464914, -0.0130656324, -0.0297726952, 0.0057630055, -0.027581647, 0.0109170293, -0.0681692213, -0.0097889323, 2.371570643e-34, 0.0733254477, -0.0095438734, -0.0462776683, 0.0079222061, 0.0361852422, -0.0440085605, -0.0158524346, 0.0004225203, 0.0313908532, -0.1060271114, -0.0137358923 ]
http://arxiv.org/abs/2406.12480v1
http://arxiv.org/pdf/2406.12480v1
The Power of LLM-Generated Synthetic Data for Stance Detection in Online Political Discussions
2024-06-18T10:36:21
2024-06-18T10:36:21
Stefan Sylvius Wagner, Maike Behrendt, Marc Ziegele, Stefan Harmeling
cs.CL
cs.CL, cs.LG
Stance detection holds great potential for enhancing the quality of online political discussions, as it has shown to be useful for summarizing discussions, detecting misinformation, and evaluating opinion distributions. Usually, transformer-based models are used directly for stance detection, which require large amounts of data. However, the broad range of debate questions in online political discussion creates a variety of possible scenarios that the model is faced with and thus makes data acquisition for model training difficult. In this work, we show how to leverage LLM-generated synthetic data to train and improve stance detection agents for online political discussions:(i) We generate synthetic data for specific debate questions by prompting a Mistral-7B model and show that fine-tuning with the generated synthetic data can substantially improve the performance of stance detection. (ii) We examine the impact of combining synthetic data with the most informative samples from an unlabelled dataset. First, we use the synthetic data to select the most informative samples, second, we combine both these samples and the synthetic data for fine-tuning. This approach reduces labelling effort and consistently surpasses the performance of the baseline model that is trained with fully labeled data. Overall, we show in comprehensive experiments that LLM-generated data greatly improves stance detection performance for online political discussions.
[ 0.0158364791, 0.0570939593, 0.0261279736, 0.0619023852, 0.0071949344, 0.0210628174, -0.0086881593, -0.0150057049, 0.0236395299, -0.0552544221, -0.0032390689, -0.0294488054, -0.0469234996, 0.02880002, -0.0125005236, -0.0200915765, 0.0397753082, 0.0236312151, 0.0292048492, 0.0061965566, 0.0427862741, 0.0318693146, -0.0353192948, -0.0086209374, -0.021900652, -0.0066988794, -0.0064644273, -0.0004248287, 0.0686249658, -0.0071728253, 0.0210478809, 0.0445086621, 0.0294180736, 0.0316640399, 0.0000016266, -0.0076245782, -0.0420115665, -0.0427185148, -0.0274519306, -0.0395243987, 0.0381112546, -0.0276551433, -0.0004776816, 0.0379102565, -0.0804576427, 0.0404658318, 0.0189160258, 0.0618247278, 0.084449403, 0.0869012848, -0.0010671747, -0.0295916665, 0.0031879321, -0.0148755852, -0.0147579806, -0.0339604653, 0.020521123, -0.0103814658, -0.0739490911, 0.0776305422, -0.0197789669, 0.0017135682, 0.0325427391, -0.0240341742, -0.0400877967, -0.0031212454, -0.0141809396, -0.0227268301, -0.0110878255, 0.081032902, 0.0236718915, -0.0376827158, 0.023396112, -0.0253546089, 0.0246833507, 0.0310125798, -0.0213530734, 0.0216209199, -0.0426972173, 0.0507486202, 0.027545305, -0.0002809196, -0.0061961138, 0.0227353144, 0.0005358534, 0.030750256, -0.0597108454, -0.0213020742, -0.0006187875, 0.0181609523, -0.0018010739, -0.024729263, 0.0233725719, 0.0260730553, -0.0068488256, 0.0357345305, -0.035199713, 0.0083707795, 0.0345479809, -0.0700596571, -0.0079664011, 0.0075928792, -0.0100886086, 0.0898351222, -0.0201802924, 0.0105177574, -0.0362058058, 0.0033814802, -0.01559358, 0.0016229312, -0.0328494981, -0.0008275169, -0.0108617563, 0.0308511965, -0.0862972587, -0.0022016268, -0.0085521089, 0.0096733142, -0.0021585417, -0.0000201267, 0.0301054772, -0.0069794585, -0.0038343573, 0.0080153402, -0.0439206585, 0.056617856, -0.0116803786, 0.034295287, 0.0114174215, -0.0591082089, -0.0127368765, 0.047322493, 0.007329491, 0.0021335038, 0.0151109202, 0.0188872851, 0.0062361737, 0.0038347708, 0.0075050192, -0.0148394601, -0.0026884221, -0.0551875755, 0.0254632644, -0.0803234875, 0.0570554696, -0.0031583365, -0.0042646327, -0.012711009, 0.0204522144, 0.0343069434, 0.0325387605, 0.0954532698, -0.0127067221, -0.0223439764, 0.0232143961, 0.0167534575, 0.0045950413, 0.0947670788, -0.0239243265, 0.0342317633, 0.0351699442, -0.0027598173, 0.0096318834, 0.0044430275, 0.0258959234, 0.0072486312, 0.0351789631, 0.0525796786, -0.0731682852, -0.0229118429, 0.0031701087, 0.0510688946, 0.0030219632, -0.0466239639, 0.0744007826, 0.0131165469, 0.0132509246, 0.0154217612, -0.0019398468, 0.0395839736, 0.0211142655, 0.0040250593, 0.0040342496, 0.0526707694, -0.0125239026, -0.0186679065, -0.0256269109, 0.0324376747, -0.0249462947, -0.0824218094, -0.0117055923, 0.0085958643, -0.006966826, 0.0242993403, 0.0012589998, 0.0212996677, -0.0539742, 0.0908602104, 0.0313388593, -0.0645565391, -0.0184344761, -0.0368888378, 0.038641762, -0.0021056735, -0.0256417394, -0.0380351879, -0.0683127642, -0.0468385592, 0.0387320556, 0.0881153718, 0.0532755889, -0.043689914, -0.0282305945, -0.034284845, -0.0085967565, -0.0173423849, 0.0107945092, 0.0400573723, 0.001052246, 0.0023341882, 0.0008114683, 0.0079733711, 0.0422795005, 0.0206189882, 0.004503319, -0.0132478606, 0.0061692442, 0.0062541566, 0.0356122702, 0.030581113, -0.0002227894, -0.0236443151, 0.0612455122, -0.0125556858, -0.0526921004, -0.0258383788, -0.0323039666, -0.0769662559, 0.0264440794, -0.0302518532, -0.05543584, 0.0322083682, -0.0535400659, 0.0116862832, 0.004368803, -0.0280961823, -0.0589338019, -0.0577783883, -0.0564251356, -0.0146274893, 0.0116272597, -0.0520989895, 0.0757356063, -0.0221764985, -0.0144155612, 0.0227835272, -0.0188841727, 0.0248543303, -0.03120704, 0.002857645, -0.0073410757, 0.0134399598, 0.0345221981, 0.0199673045, -0.016038835, -0.0236331448, -0.0555179827, -0.0898868069, -0.0123755718, -0.0367320888, 0.0444866642, 0.0516413413, -0.0397262536, 0.0003621925, 0.0119608296, -0.0676465034, -0.0436010025, 0.0013154729, 0.0028852136, 0.0464851074, 0.0051440648, 0.0018516819, -0.0294656642, 0.0216309652, -0.0107910307, 0.0068994015, 0.019064635, -0.0581756085, -0.0343571752, -0.0057999864, -0.0336332545, -0.007026596, -0.0468866043, -0.034858875, 0.0363152176, -0.0097263511, 0.0218208507, 0.0431000702, 0.0453346074, 0.0669684708, -0.0162218791, 0.038714841, -0.0461332574, -0.0037469196, -0.0584059246, 0.0518634506, -0.0493302159, -0.0003783841, 0.04884376, 0.0811756551, -0.0126846442, -0.0021168906, -0.0256628264, 0.072673358, -0.0083878711, -0.0143556036, -0.001400908, 0.0125962878, -0.0291117225, 0.0124484822, -0.0219200607, -0.0223631691, 0.0583120994, 0.0160649307, 0.0202965941, -0.0327832773, -0.0586753041, -0.0650798231, -0.0087202527, 0.0163148642, -0.0098369177, -0.0225049593, 0.0177592281, -0.0074950149, -0.029601207, 0.0456677526, -0.0544799231, 0.0276019722, -0.0033912496, 0.0392432958, 0.003403879, -0.0420416817, -0.0298655014, -0.072322011, -0.0239180159, -0.0134864524, -0.0076599275, 0.0016863842, 0.030541379, -0.0058480049, -0.014176988, 0.010110911, -0.0159429871, -0.0054420689, 0.0051231403, 0.0447171293, 0.0117152352, -0.0004994964, 0.0468579791, -0.0333711356, 0.0345974676, 0.0822470412, -0.0333471335, 0.0276229531, -0.0121118072, -0.0400271229, 0.0153237525, -0.0130476682, 0.0255887881, -0.0520574413, 0.0711607486, -0.0344683044, 0.0156560559, 0.0855932161, 0.0348364599, 0.0079697147, -0.0272271242, 0.0192964692, -0.0321682431, 0.0139319692, -0.0088964105, -0.0679972991, -0.0074291802, -0.0368470177, 0.009261176, -0.0339223333, -0.0107341362, -0.0006510027, -0.0758902282, -0.0021572434, -0.0451549068, -0.0398659222, -0.01753713, -0.066375263, 0.019831242, -0.0523996428, 0.0171286743, 0.0049754293, 0.0159386769, -0.0248072129, 0.0250367373, -0.0307807568, -0.0198124945, -0.0157789681, -0.007338556, 0.0112150786, -0.0057654795, 0.0479139872, -0.0040216888, -0.0458875, 0.0740647763, -0.0173846893, -0.0022879485, -0.0185558572, 0.0561755262, -0.0358607806, -0.0252171308, -0.0206971671, 0.035376519, -0.0214685909, -0.0107829347, -0.0417172387, 0.0220779758, -0.0025176571, -0.0068767173, -0.0111668073, 0.0515977256, 0.042977199, 0.056311056, 0.0322379097, -0.0251131542, -0.0255804453, -0.0539575927, -0.0366183557, -0.060129229, -0.0398917831, -0.0231381506, -0.004039994, 0.0466753766, -0.0619241819, -0.0187587198, -0.0068326015, 0.0202732049, -0.0562230758, -0.0141886808, 0.016630087, 0.0232133456, -0.0442895368, 0.0369943008, -0.0193453636, 0.013340855, -0.0059520733, -0.0523207076, 0.0581648163, -0.0020894175, -0.0325835049, -0.0016263592, -0.0894926414, -0.0396881849, -0.0272776838, 0.0537322387, 0.0193923321, 0.01539414, 0.0120262783, 0.016295284, 0.0250329226, 0.0901705846, 0.0048850318, -0.0050608595, 0.0370584391, 0.0608166046, 0.0014937251, 0.0071589896, 0.0209122729, 0.0291796755, 0.051426895, -0.0094942935, -0.0949760526, -0.0091820695, 0.0159611814, -0.0021745474, 0.0310391225, 0.050816305, -0.0373826362, -0.0379344635, 0.0034954511, -0.0087081166, -0.0279059745, -0.0198127218, 0.0198449176, -0.0022957092, -0.0531173386, -0.0309150983, 0.0577537045, -0.0363839269, 0.0871027187, -0.0606970787, 0.0579419173, 0.0314176232, -0.02679649, -0.0033691472, -0.0076427869, -0.0407172963, -0.0016468236, 0.0563509241, 0.0116415173, 0.0417295881, 0.0322084725, 0.0074951607, 0.0016396103, 0.0502239056, -0.0056944694, -0.021354463, -0.0331386216, -0.0638483167, 0.0538080297, -0.0024049606, 0.0033216372, 0.0165847689, -0.0031282215, -0.0448842123, -0.0045220987, 0.0149933081, -0.013073232, -0.0175885949, 0.0554529615, 0.0373064019, -0.0220745169, -0.0062531335, 0.0296798032, -0.0252865292, 0.031009797, 0.0302763823, -0.0097058518, -0.056346491, -0.0055234777, -0.0312876143, -0.0287786089, 0.0185215268, 0.0172504727, -0.0464708991, -0.0356522985, 0.0355322845, 0.0332455635, 0.0138406772, 0.028619891, 0.0014392869, 0.0489877425, 0.0205651503, 0.0448075458, -0.0577332824, 0.0163471568, -0.0176819041, -0.022672642, -0.0088305585, -5.742173089e-33, -0.0238134712, -0.0629919395, -0.0072002742, 0.0041179694, 0.0018639574, 0.0039362488, -0.0106843198, 0.0145332366, -0.0156373028, 0.0419363901, 0.0261641834, 0.0538517274, 0.0121084368, 0.0229567736, -0.0680885613, -0.0484939404, 0.0216470044, -0.012083007, -0.0413469225, 0.000889064, 0.0397263728, -0.0096468478, 0.0462007113, -0.0540275238, 0.024532387, -0.0104400786, -0.0228470564, 0.0449671969, -0.0200385284, 0.0801929161, -0.0091145327, 0.0350498147, 0.0700447634, -0.0592619143, -0.0083294678, 0.0699114278, -0.0503774062, -0.0067355856, 0.0002315964, 0.007458325, -0.0033165086, 0.007027809, 0.020704696, 0.0064969868, -0.0133962957, -0.0083446931, 0.0209360272, -0.0253788047, 0.0426679254, -0.0914045572, -0.024082914, 0.0260576606, 0.0124286078, -0.0268517397, -0.0294163506, 0.0499526076, 0.0346568041, 0.0545697734, -0.0489997417, 0.01447846, -0.0284561124, 0.0234257318, 0.0119293137, -0.0127820838, -0.0035796522, 0.0577188469, -0.0006806629, 0.0419666916, -0.0787193179, 0.0156761743, -0.0182744414, 0.0106688999, 0.099282749, 0.0707608312, 0.0325437412, -0.0161033534, -0.0743835121, 0.0113587184, 0.0401345938, -0.0175066572, 0.0080575868, 0.0114309099, 0.0162998103, 0.0072787874, -0.0290108789, -0.0309233833, -0.0252940804, 0.009790278, -0.0243872497, 0.0402706563, -0.0557421222, 0.0169018824, 0.0249870811, -0.0583676361, -0.0082820868, 0.0295501426, -0.0016032594, 0.0033180683, 0.015611168, -0.0081808111, -0.0335058421, 0.0040060193, 0.0142558739, -0.01050922, -0.000840771, -0.0157212988, 0.0552428737, -0.0307380483, -0.0683868825, -0.0060326969, -0.0282326713, 0.0429909192, -0.0324863419, 0.0935018286, 0.0245427303, -0.0106366808, -0.008572788, 0.0644910559, -0.026982354, 0.0144531354, -0.0111758066, 0.0410902649, -0.0537459329, 0.045986861, -0.0341727249, -0.0368291326, -0.0002654539, 0.0479922593, -0.0294858888, -0.0914250463, 0.0098019782, 0.0223680064, 2.286e-7, 0.0376719423, 0.0480111912, 0.0234618541, -0.0104013616, 0.0465246029, 0.0270687621, 0.0099684894, 0.0141857499, 0.0037366832, -0.0996761099, -0.0239600558, 0.0693653673, 0.0310572349, 0.0376214832, -0.1220439076, -0.0433300473, -0.0234210305, -0.0093916962, -0.0102834124, 0.0117734466, 0.0110586248, 0.0725084469, -0.0067084227, -0.0091699446, -0.0057058167, 0.0420302339, 0.0438201614, -0.0003554388, -0.0343817808, 0.0178266093, 0.0439347811, -0.0641663149, -0.0015646745, 0.0133181028, -0.0091901869, 0.0087259766, -0.0090583051, 0.0735390559, 0.0592395887, -0.0664755926, -0.003464621, -0.0118004587, 0.0217700936, 0.0060627433, 0.0545121543, -0.08433339, -0.0238019954, -0.0359126367, -0.0671803653, -0.0047731623, 0.025733579, -0.0172158852, -0.0132527836, 0.0350834504, 0.0034731915, -0.0161501598, 0.0197316203, -0.0512851514, -0.0120781418, -0.0193944834, -0.0654604882, -0.0716767535, 0.0450118706, -0.0307093561, 0.0323379822, -0.018531505, -0.0030626401, 1.720849343e-34, 0.0428878143, -0.0038741394, -0.0155041609, 0.0213561114, 0.0324941091, 0.0195111968, -0.020457251, -0.0194774028, 0.0298184194, -0.0384462811, 0.0060703014 ]
http://arxiv.org/abs/2406.12474v1
http://arxiv.org/pdf/2406.12474v1
Exploring Intra and Inter-language Consistency in Embeddings with ICA
2024-06-18T10:24:50
2024-06-18T10:24:50
Rongzhi Li, Takeru Matsuda, Hitomi Yanaka
cs.CL
cs.CL, stat.ME
Word embeddings represent words as multidimensional real vectors, facilitating data analysis and processing, but are often challenging to interpret. Independent Component Analysis (ICA) creates clearer semantic axes by identifying independent key features. Previous research has shown ICA's potential to reveal universal semantic axes across languages. However, it lacked verification of the consistency of independent components within and across languages. We investigated the consistency of semantic axes in two ways: both within a single language and across multiple languages. We first probed into intra-language consistency, focusing on the reproducibility of axes by performing ICA multiple times and clustering the outcomes. Then, we statistically examined inter-language consistency by verifying those axes' correspondences using statistical tests. We newly applied statistical methods to establish a robust framework that ensures the reliability and universality of semantic axes.
[ -0.0061671096, 0.0516856834, -0.0191882513, 0.0652831644, -0.0170830544, 0.027357908, 0.0394690558, -0.007067367, -0.0095670959, -0.0005599877, -0.0280096512, -0.0440526605, 0.0669199303, -0.0189772956, 0.0162445121, -0.0271447022, 0.0597403161, 0.0218814947, -0.0090767378, 0.0030771154, 0.0110854581, -0.0078174556, -0.0050918036, 0.0237258673, -0.0609450638, -0.0118023939, 0.0551424995, -0.0756084397, 0.0186054483, -0.025708396, -0.0554955155, 0.0396552607, 0.0186865106, 0.0175994691, 0.0000017682, -0.0305269957, -0.0131823849, 0.0009685831, 0.0361224487, 0.0152166188, -0.0029067856, -0.0527287759, 0.0121008158, -0.0536635481, -0.0271594469, -0.0504684299, 0.0786970407, 0.0456144735, -0.019010704, 0.0176647753, -0.0275622346, -0.035903208, -0.0269664247, -0.039386902, -0.0116678253, 0.0410996936, 0.0061199637, -0.0080859903, -0.0815996453, 0.0347676277, -0.0613529719, 0.0127021056, -0.0011427299, 0.0330706872, 0.0144110797, 0.0728491321, -0.006805656, -0.0336513594, 0.0391254425, 0.0913725421, 0.0338926427, 0.0294990968, -0.0139819514, -0.027797319, -0.0123581877, 0.0672177076, -0.065785788, 0.0051753703, 0.0407251008, 0.0238211639, 0.0216715224, 0.0272160303, 0.0067557781, -0.0392924733, -0.0425420329, 0.0769508332, 0.0411277935, -0.0497180335, 0.014162248, 0.0038728842, -0.0176011585, 0.0277916044, -0.0156351775, -0.0442454219, 0.0328090414, 0.0294112135, 0.0253533609, -0.0080100242, 0.0413113944, -0.0275874399, 0.0384404361, 0.0085366424, -0.0167667847, 0.0082489643, 0.0108952653, 0.0553630553, 0.000399667, 0.0641411021, -0.0106589766, 0.0420120023, -0.0204083603, -0.0169746596, 0.0474144258, -0.0099054398, 0.0043613156, -0.039757695, -0.0316939503, 0.0299143232, -0.0465995595, -0.0072783232, -0.0097803334, 0.009891361, 0.0035451064, 0.0480500087, -0.0075752554, 0.026532352, -0.0638052374, 0.0187676474, -0.0757640228, -0.0211236123, 0.0019810991, 0.0461216383, 0.0054574548, -0.0188241433, -0.0407193564, 0.0355389789, 0.0055029965, -0.0140391327, 0.0585949942, -0.004112937, -0.0481209792, -0.0413569026, 0.0284296237, -0.0855516121, 0.0601948313, 0.0110662449, 0.0242794976, -0.0800403059, 0.0074299029, -0.0111464029, -0.0529019795, 0.0520542078, -0.011257112, 0.0078846887, -0.0216112603, 0.0142675433, 0.0522815585, 0.0394318961, -0.006923052, -0.0556637384, 0.0864675865, -0.055770494, 0.0001421302, 0.0166221093, -0.0287394859, 0.0051802099, -0.0558378734, -0.0102230618, 0.0587697253, 0.0011090974, 0.0047066407, 0.027384812, -0.0270693172, -0.0164575912, 0.0017845774, 0.0915200636, -0.0105395308, -0.0261898041, 0.0176497847, 0.0059435638, 0.017108772, 0.0295076985, -0.0258100424, -0.0007496451, 0.0866492093, 0.0030828263, 0.0278305467, -0.0048755491, -0.0114761218, -0.0139743974, -0.0519659482, -0.0100905122, 0.0006900338, -0.0636445656, 0.0295672882, -0.0234555397, 0.0486845523, -0.014761229, 0.0335936658, -0.062729165, -0.0125362705, 0.0382352881, 0.0404635146, 0.0204041321, 0.004836292, -0.0057550133, 0.0102171777, 0.0330397673, 0.0174775664, 0.0313804187, -0.0176443588, -0.0339300148, 0.0278140269, -0.0313314088, -0.0322423354, 0.0245290771, 0.0265686214, 0.0282246135, -0.0167471841, 0.033260148, -0.0102342386, -0.0148367472, -0.0026855513, 0.0529851131, -0.018190898, 0.0118288044, 0.0181779768, 0.015406427, 0.0131501211, 0.0043012165, -0.0397953391, 0.0136182792, 0.0510228276, -0.0284576919, -0.0020678425, 0.0380975679, 0.0021401988, 0.0022515096, 0.0337144919, -0.0859752446, -0.0132812401, 0.0006877285, 0.0165102687, -0.016395729, 0.0417859033, -0.0228005014, -0.0289016087, -0.0156470519, -0.0112705389, -0.0423242711, 0.0573782921, -0.031794738, 0.0381423086, -0.0130984709, 0.0672131106, -0.0051441705, -0.0214570723, 0.0513729155, -0.0143269729, 0.0036926575, 0.0654806793, 0.0028792378, -0.006311269, -0.0012644142, 0.0014676006, -0.031965211, 0.0006937586, -0.0719540194, -0.0193819255, 0.0055689374, 0.0335611105, 0.0209184662, -0.0230370145, -0.0081729349, 0.0069878655, -0.0232289173, 0.0096985139, -0.0235338006, 0.0564838164, 0.0487786829, -0.0507344231, -0.0068256836, -0.0487282798, -0.013942576, -0.0345920324, 0.0717464089, 0.0226100869, -0.0182753652, 0.0020230454, -0.0276312772, -0.0709929764, -0.0244327448, -0.0112942494, -0.0146462973, 0.0573602505, 0.0190230608, 0.0336859114, -0.005624881, -0.0175666753, 0.0025969832, 0.0785580054, -0.0485976823, -0.0455045812, -0.0292282142, -0.0302697588, 0.0900461152, 0.010484037, -0.0516857728, -0.0030483615, 0.0809922591, 0.0583801605, 0.0012545746, -0.0318667591, 0.0159644596, -0.065193072, -0.0090010306, -0.0618936308, -0.0134495301, -0.032395754, 0.0233990047, 0.0001904768, -0.0498850867, 0.0346460044, -0.036560446, -0.002310669, -0.0403659269, 0.0195624363, -0.043368917, 0.0364328623, -0.0534481481, -0.0198708065, -0.0294104498, -0.0059551192, -0.0084668873, 0.0442023501, 0.0206435211, -0.0191898793, 0.0477519557, -0.013195727, -0.0194902234, -0.00454567, -0.0033168388, -0.0134654744, -0.0521126315, 0.0109587237, -0.028961869, 0.0339177176, -0.0222925525, -0.0043104859, 0.0240854081, 0.0487332791, -0.0268006716, -0.0219028778, 0.0129619865, -0.0198673531, 0.0298057441, 0.0300770681, -0.0062737954, 0.010015808, -0.0049023163, -0.0015690741, 0.0236696135, -0.0191408917, 0.0162369218, -0.0016560034, 0.0131762326, -0.0131599847, 0.035036169, -0.0297895242, -0.0386089534, 0.0151033318, 0.0277684927, 0.0015576696, 0.0681414008, 0.0241526328, -0.0798354372, 0.0281847026, -0.0116547048, 0.0054272227, 0.0382829048, -0.0213345811, -0.0451377258, -0.0069041359, -0.0290624797, 0.0055369153, 0.0097399084, -0.0195368044, -0.0098431967, -0.0840482786, 0.0452416316, 0.0020680977, -0.0482742377, -0.0481891669, -0.0942310989, 0.0369021334, 0.012347932, 0.0230311844, -0.036473643, -0.0209564827, 0.007479602, -0.0156791769, -0.0847250819, -0.0523825623, -0.0333097652, -0.0272228997, 0.0008931076, -0.0127448598, 0.0550737232, -0.0428081602, -0.0445932299, 0.0270943623, -0.060103368, -0.0382512286, -0.0233519915, 0.0517231412, 0.0214210842, -0.0425347276, -0.0305643734, -0.0245464575, -0.0097581139, -0.0011381423, -0.0202957727, 0.0947897136, -0.0078194356, -0.041003935, -0.0297439657, -0.0036504455, -0.0011713139, 0.0559863411, 0.0322993062, -0.0171450451, 0.0017560979, 0.0200150963, 0.0271325186, 0.0487566739, -0.0271259435, 0.0041662017, -0.0222399272, -0.0317583978, -0.081949465, -0.0601765811, 0.0433459245, 0.0207118504, 0.0190785956, 0.0108645, -0.054276403, -0.0441731885, -0.0357575417, 0.040960528, -0.0040723528, 0.0054419693, 0.0359446146, 0.0304950774, -0.0102247205, 0.012546652, -0.0221182797, 0.0086620795, 0.0185106322, -0.0587470904, 0.0140119297, -0.0400060751, 0.0025248562, 0.0318554305, -0.0102315648, -0.0167006068, 0.0333583429, 0.0121307606, -0.0134743275, 0.0184967928, -0.0031501902, -0.0549494736, 0.020942606, 0.0148588996, -0.0101442253, 0.0227520298, 0.0114546092, 0.0529596247, 0.0198248271, -0.0150198154, -0.0111571355, 0.0305174664, 0.059388224, -0.0053258045, 0.0207398459, -0.0740140527, -0.0433481894, -0.0434935167, -0.0226050746, 0.0207848977, -0.0135229789, 0.0429591574, 0.004583457, -0.0475573465, 0.0463048145, -0.0329117551, -0.0106819319, -0.0187479295, 0.0265240185, 0.01030898, 0.0159183554, -0.0470944643, 0.0442264751, -0.0131931938, 0.0072991555, -0.0574317686, -0.0086383447, -0.0190903731, -0.0125746466, -0.0164027158, -0.0338531211, -0.0515102893, 0.0193794779, -0.0092305234, 0.0493976325, 0.0184137002, -0.0382232405, 0.0104850512, -0.0101761315, 0.076638639, -0.004866885, 0.0144607928, -0.0114377057, -0.0137940869, -0.0288833063, 0.0262398943, 0.0520498902, -0.0010550275, -0.046505779, 0.0076719858, 0.0634719282, -0.0286369827, -0.0121651841, -0.0915324613, -0.0188733935, -0.0212382656, 0.0350639597, 0.0394482464, 0.02877138, -0.0630497336, -0.0224670935, -0.06195556, -0.0283335689, 0.0182944816, -0.0021639797, -0.0192495007, 0.0622837245, -0.0163814463, 0.0681104511, 0.0155570554, 0.0247070249, -0.0039592977, -0.0054996838, -0.0504436158, -0.0604977533, -0.0175130758, -6.131164006e-33, -0.0052892854, 0.0005132807, -0.0302830115, 0.0071783913, -0.0419919938, 0.0475422293, -0.0203707498, 0.045543354, 0.005490581, 0.077083312, 0.0123591302, -0.001574248, 0.0132447416, -0.0208897535, 0.0788998976, 0.0143751027, -0.0343927741, 0.0045786342, -0.0537165329, -0.005070786, 0.0733414218, -0.0085505908, 0.1206211671, -0.0792265534, 0.066715546, 0.0317242183, 0.0398826003, -0.0054314854, 0.0298732929, 0.0597346611, -0.0692573413, 0.0598701052, 0.0610037073, -0.0154721066, -0.014154152, 0.0341343805, -0.0437504724, -0.0750289634, 0.0536735244, -0.0002010359, -0.0738338828, -0.039852377, 0.0418653898, -0.0465923436, -0.0311894305, 0.0113131432, 0.0489417389, 0.0219908375, -0.0072010085, 0.039694719, -0.0551720299, 0.0027768193, -0.0203654524, 0.0627717897, 0.034763176, -0.0023190496, 0.0072298688, 0.007952353, -0.0362647437, 0.0481359325, -0.0684663653, 0.0046409923, 0.0338406302, -0.0045509511, 0.0238270722, 0.1185159683, 0.0563839749, -0.0371451974, 0.0103141712, -0.0355645046, 0.0871012956, 0.0118360789, 0.0570696145, 0.0553113818, -0.0062776934, -0.004388385, -0.0566908494, 0.0023109983, -0.0167212281, -0.0038424481, 0.0235931817, -0.0299035199, -0.0669071749, -0.027386466, -0.019663848, -0.0239223074, -0.0187827572, -0.0286095254, 0.0294440649, -0.0181700364, -0.0076265754, 0.0380188897, 0.0404331908, -0.0232142881, -0.0169440955, 0.025553681, -0.030478755, 0.049374532, 0.023759244, -0.0348304175, -0.0137757985, -0.0090590306, -0.0071019023, 0.006134755, 0.0516877994, -0.0199642405, 0.0342088081, -0.0180099513, -0.0650608167, -0.0289870556, -0.0045529264, -0.0838638693, -0.0141887916, -0.0240872391, 0.0316813439, 0.0165680032, -0.029053662, 0.0052870535, 0.0596840046, 0.0436914563, -0.0301854219, -0.0342003517, -0.0177504495, 0.0111539848, 0.0082928129, -0.01330972, -0.0267810728, -0.0106559247, 0.0430121943, -0.043114949, 0.0037378764, 0.0049574776, 2.475e-7, 0.0392251238, 0.0742018372, 0.0016980183, -0.0176564306, 0.0463643633, -0.0221476257, -0.0470153019, 0.0180504955, -0.0308011621, 0.0051380009, 0.0057519469, 0.0226075556, 0.0103037916, 0.0496740416, -0.0045668157, 0.0328697637, -0.0441683233, 0.0014731333, -0.0328554213, -0.0139764743, 0.0137039255, 0.094651565, -0.0011755504, 0.0078318175, -0.0607233644, -0.0124586718, 0.0376994684, -0.0241441987, 0.0212163478, 0.0061481497, -0.0287720989, 0.0063938522, 0.0759723112, 0.0216625854, 0.0321504772, 0.0380610749, 0.0494159423, 0.0042338078, -0.0155938379, 0.0590835735, 0.0232356004, 0.0049288133, 0.0132313929, -0.0509388261, 0.072225593, -0.0419401564, -0.0417099446, -0.0456953906, -0.0079844594, 0.0429591909, 0.0900022164, 0.0133169619, 0.0026465396, 0.0384087488, 0.0137344645, 0.0117368791, -0.0309656672, -0.010298715, -0.0248504691, 0.0143839773, -0.0284487344, -0.0283132382, 0.0019947141, -0.0202771332, 0.0240590516, -0.0205683075, -0.0028111693, 2.145802489e-34, -0.0078556072, 0.0232329685, 0.0184887052, 0.005118398, 0.0059843408, -0.0714596733, 0.0316785723, 0.0147964153, -0.0394151881, -0.069183372, 0.017465936 ]
http://arxiv.org/abs/2406.12471v1
http://arxiv.org/pdf/2406.12471v1
Fighting Randomness with Randomness: Mitigating Optimisation Instability of Fine-Tuning using Delayed Ensemble and Noisy Interpolation
2024-06-18T10:20:36
2024-06-18T10:20:36
Branislav Pecher, Jan Cegin, Robert Belanec, Jakub Simko, Ivan Srba, Maria Bielikova
cs.CL
cs.CL
While fine-tuning of pre-trained language models generally helps to overcome the lack of labelled training samples, it also displays model performance instability. This instability mainly originates from randomness in initialisation or data shuffling. To address this, researchers either modify the training process or augment the available samples, which typically results in increased computational costs. We propose a new mitigation strategy, called Delayed Ensemble with Noisy Interpolation (DENI), that leverages the strengths of ensembling, noise regularisation and model interpolation, while retaining computational efficiency. We compare DENI with 9 representative mitigation strategies across 3 models, 4 tuning strategies and 7 text classification datasets. We show that: 1) DENI outperforms the best performing mitigation strategy (Ensemble), while using only a fraction of its cost; 2) the mitigation strategies are beneficial for parameter-efficient fine-tuning (PEFT) methods, outperforming full fine-tuning in specific cases; and 3) combining DENI with data augmentation often leads to even more effective instability mitigation.
[ 0.0415850691, 0.10567642, -0.0065557193, 0.0286336336, 0.0195554011, 0.0171104018, -0.0181017034, -0.0009753556, -0.0408267528, -0.0643706694, -0.0205298662, -0.0513121821, 0.0290084016, -0.0252902973, 0.0300336648, -0.0514111444, 0.053269282, -0.0259874146, 0.0196650308, -0.024997633, 0.0037143985, -0.0076261349, 0.0149404779, 0.0333228372, 0.0217772014, 0.0100049116, -0.0044422955, 0.0241741166, 0.0040722173, 0.0150724174, 0.0464242324, 0.1025011018, 0.0105597721, 0.063870348, 0.0000021701, -0.044631198, -0.0342003442, 0.0127320075, -0.0329186767, 0.019949032, 0.0493799634, 0.0125418287, -0.0061102188, 0.0174383763, -0.0129780667, -0.0381716862, 0.0511772633, 0.0295846574, 0.0294959769, 0.0643884316, -0.0018570643, -0.0137119647, 0.0036859126, -0.0378722586, -0.0257616844, -0.0585931726, 0.0255195778, -0.0270997509, -0.0141929686, -0.0160235576, -0.0252800472, -0.0079035712, -0.0200986508, 0.0229521226, 0.0087067056, 0.0136548793, -0.0487153493, -0.0437203161, -0.0261328351, 0.0792383701, -0.0718658939, -0.0174365845, -0.010187489, -0.0229925681, 0.0151918856, 0.0037471328, -0.0015971503, 0.0115653593, 0.0122483158, 0.0337056294, 0.0348983631, 0.0113988062, 0.0696882457, 0.0265779179, -0.0096939057, 0.046669554, 0.0154317394, -0.0296564158, -0.0073472629, 0.0168367792, -0.0513173789, -0.0415650234, -0.0365845896, -0.0047831945, -0.02458179, 0.0098092901, -0.0967988819, -0.0815992802, 0.0066558435, -0.0007377881, 0.0292681549, 0.0194061454, 0.0180295464, 0.020850854, 0.0038079196, -0.0150634283, 0.0275126267, 0.0530135259, -0.0290462021, 0.0184741858, -0.0195622332, 0.0147608211, -0.0434393845, 0.0116187064, -0.0328401886, -0.0058061932, -0.0315719321, 0.0068364823, 0.0285859667, -0.0210707132, -0.0142292045, -0.0088644791, -0.0264906418, 0.0130934501, 0.0322937742, 0.0207988936, -0.0019952853, 0.0309526045, 0.0049093147, -0.0542313196, -0.0355631299, -0.0152767012, 0.0178021081, -0.021949999, 0.0341736786, 0.0201306529, 0.0021545161, -0.0553313531, -0.0246663243, -0.0171488542, -0.0297867786, -0.0511121973, -0.0182285104, -0.0395168737, 0.016926039, 0.0015167703, 0.0277178362, -0.0766488388, -0.0047192392, -0.0305256303, -0.0628767684, 0.0744241849, -0.0961928666, 0.0188708548, 0.0127064958, 0.0026375134, 0.0611743703, 0.0812807679, 0.0367517844, -0.0286676455, 0.0436060205, -0.0173036642, 0.0065521118, 0.034585163, 0.0337956436, 0.01281079, -0.0311659724, -0.0191103984, 0.048943229, -0.0031058255, -0.0034794935, 0.013483298, -0.0439772233, 0.0084374538, 0.0495476574, -0.0046970029, -0.0243261531, -0.0005484714, -0.045952864, -0.0122477636, 0.009070416, 0.0034122048, -0.0522845276, 0.0021651958, -0.0457126126, -0.0229494814, 0.0518547557, 0.0449380465, -0.017316537, -0.0389316157, -0.0227155462, -0.0011376492, 0.0136352722, 0.0283257272, 0.0316975676, 0.0021971194, -0.0091975518, 0.0572008938, 0.0576880872, -0.0354691632, -0.0139792403, -0.0496901721, -0.003595798, 0.1105859578, 0.0369729809, -0.0175353549, -0.0380643755, -0.0326824561, 0.0420114696, -0.0109458137, 0.0328655876, -0.0054203295, 0.058680512, -0.0515037552, -0.0526233278, 0.031965185, 0.0175311919, -0.0045990101, 0.0273061804, 0.0108826431, 0.0087294793, -0.0264023468, -0.0468977466, 0.038221471, -0.0266521927, -0.0289986115, 0.0248745847, 0.0036180154, 0.0298301075, -0.0161069352, -0.0465292707, -0.0194985867, 0.0237545054, -0.0032493272, 0.0107952235, -0.0282684546, -0.0275558848, -0.0370036066, 0.0532154068, 0.0524419807, -0.0091114799, -0.000090456, -0.0584338568, -0.065211542, 0.0212366842, 0.0199486818, 0.0032526101, -0.0342042223, 0.0376246534, -0.0678881258, 0.0754279196, -0.0656932816, 0.0152602121, 0.0032863333, 0.0383470505, -0.0371005647, 0.014608888, 0.0162714329, -0.0038410716, -0.046069596, 0.0316353738, -0.0185104925, 0.0254944228, 0.0011128951, -0.0112772724, -0.0170832146, -0.0395688415, -0.0726554617, -0.0250935908, -0.0418030098, -0.0025707246, -0.0008534102, 0.0387311205, -0.0311134346, -0.0237685777, 0.0185222644, -0.0149903605, 0.0061500976, 0.0168611929, -0.0137100425, 0.0097547248, -0.0386483073, -0.0312898308, -0.0298453532, 0.0341424681, 0.0519732907, -0.0178093538, -0.0308052674, -0.0928561017, -0.016564874, -0.0140452329, 0.0280833878, -0.0067471168, -0.0451525412, -0.0336651541, -0.0208696481, 0.0055896835, 0.0290336888, -0.0048554111, 0.0031622457, 0.047493536, 0.0248104464, -0.0250055138, -0.007025871, -0.0068522058, -0.0197217539, -0.0482932255, 0.0126037505, -0.0346601903, 0.0663609356, -0.0326702632, -0.0331138931, -0.0447461009, 0.0384324715, -0.0230146572, -0.0279913414, -0.0397717319, -0.0288958102, -0.0215721577, 0.0319048762, -0.0357904322, -0.0489050597, 0.0771958455, -0.0156387687, 0.0055702501, -0.0606978796, -0.0233657788, 0.0063229455, 0.0163148921, -0.0012923334, 0.0068898671, 0.0472668931, 0.0006868339, -0.0458769277, -0.04536568, 0.0247666426, -0.0289722141, 0.0268493947, 0.0077298745, 0.0356350094, -0.0245804191, -0.0468181223, -0.0202750936, -0.115206793, -0.0267356951, -0.0009426866, 0.0634112284, -0.0355086438, -0.0069112685, -0.0024430868, -0.0318065472, 0.033504121, -0.0457280688, 0.0016155259, -0.0109673105, 0.026295973, 0.0399603359, 0.011989695, 0.0398516767, -0.0403032005, 0.0065529514, 0.000633817, 0.0388930999, 0.0348197594, -0.0438669585, -0.0028758834, 0.0428164266, -0.0049775047, -0.0338307098, 0.0168547239, 0.0379189476, -0.0378711447, -0.0394783728, 0.1252605021, 0.003430218, -0.0425399356, 0.0092854286, 0.0194461346, 0.0968925282, 0.0246810336, 0.0285214651, -0.0082877045, -0.0524499267, 0.0386793427, 0.0447900966, 0.0035695967, -0.005734378, 0.0176479891, -0.0734541863, 0.0264847316, 0.0420360416, -0.044345431, 0.0056456281, -0.0414287709, -0.0004363673, -0.00116468, 0.0519739464, 0.0130917821, 0.0124701597, 0.030497944, 0.0530600064, -0.0214646813, -0.1243094951, -0.0028630886, -0.0285803396, 0.0603390299, 0.0562352501, -0.0184475146, -0.0062765921, 0.0076466165, 0.0695237815, 0.015559826, -0.0127042048, -0.003329206, 0.0762882605, 0.0095187062, -0.0217701979, 0.0297237523, 0.0017441707, -0.0250376351, 0.0011160453, -0.0385632999, 0.0290440246, -0.0289808121, -0.0007363965, 0.0267041977, -0.0430297777, 0.0427548662, 0.054050263, 0.0255998448, -0.0433214568, -0.0163724907, -0.0286712255, 0.0185515806, -0.0593631975, 0.0144549068, 0.0343357138, 0.0095256241, -0.0233965423, -0.0172736738, -0.0504052937, 0.0087694395, 0.0113741606, 0.018281525, 0.0443253592, -0.0305200368, 0.027923774, -0.0488928296, 0.0066550393, -0.0052328114, 0.0377713144, -0.0268089101, -0.007755531, 0.0175679494, 0.0127477394, -0.009408094, 0.0207795091, -0.0890381113, -0.0896421447, 0.0383757204, 0.044052165, 0.0117968265, 0.0571563207, -0.0082577178, -0.1068695486, 0.0754710957, 0.0606429949, 0.0216074716, 0.0394400693, 0.0268608704, -0.0918388516, -0.0101052988, 0.0306996386, -0.0431518517, 0.0164102558, 0.0521027073, -0.0019406441, -0.0168330111, -0.0478240214, -0.0316721238, 0.0133051099, 0.0628549829, -0.0530923232, -0.0250337012, -0.0216436759, 0.0329603516, 0.0299767833, -0.0226956978, -0.0305609927, 0.0018847381, 0.0400828868, -0.0062533771, -0.032588169, 0.0445388108, 0.0302107967, 0.0299460758, -0.0035337615, 0.0187381227, -0.0373647958, 0.006095395, 0.0575132929, 0.0265253615, -0.004250288, 0.05418979, 0.0080478312, 0.0004252852, -0.0296457168, -0.0264975633, 0.0380722843, 0.0308666024, -0.0581091717, 0.0315246135, -0.0535780676, -0.032035172, -0.0413635187, 0.0062493482, 0.0539314561, -0.0082277097, 0.0508888327, 0.0215835534, -0.0208069384, -0.025732711, -0.0049448549, 0.0089520533, 0.0070424243, 0.019434398, -0.0031933656, -0.0342626423, 0.0255031269, 0.0945814624, 0.0170373116, 0.0528672859, 0.0127929151, 0.0104658278, -0.0317831896, 0.0019774162, -0.0272204503, 0.0236025304, -0.0086714588, 0.0225670207, 0.0216364712, -0.0405494943, 0.0155827487, -0.0123387445, 0.0178886577, 0.0040332167, 0.0160184391, 0.0428516306, -0.0170540158, 0.0308178626, -0.0317318998, -0.0554762632, 0.0141155338, -0.020292975, -0.0060540289, -7.286649974e-33, -0.0048952713, 0.0212856364, -0.0440065116, -0.0330599733, -0.0112103904, -0.0288274009, 0.0024325529, 0.0255522057, -0.0120088831, 0.0043586669, -0.031793002, 0.0228143129, 0.0197179057, 0.0225944966, 0.0070944857, -0.0118753742, 0.0642162189, -0.0161207207, -0.0324746035, 0.0114081288, 0.0408713073, 0.0619751513, 0.0649813265, -0.0541597977, -0.0143468212, 0.0137449242, -0.017587265, -0.0224902276, -0.0223940797, 0.0265365131, 0.0124812191, 0.0507461056, 0.000990541, -0.0087605054, -0.0459115729, 0.0062722806, -0.0642218813, -0.0202918462, -0.0120942919, 0.0382098109, 0.0063250586, -0.0334594585, 0.0649581179, -0.0047004474, -0.0167977791, -0.0135186734, 0.02089197, -0.0469657704, -0.0470935777, -0.0405817926, -0.0223818254, 0.0317884162, 0.0142327538, 0.000729089, 0.0278720893, 0.0013473913, 0.0008194964, 0.0224298108, -0.0509111509, -0.0196501892, 0.0622125939, 0.0826053768, -0.0032849037, 0.0717220455, -0.0053962325, 0.045222532, 0.0104293991, 0.0301791243, 0.0188868828, 0.0020012958, 0.0649053901, 0.0163674466, 0.0325406455, 0.0263203904, 0.0558198914, -0.0307529494, -0.0677803382, 0.0173976067, -0.0067054429, -0.0429810472, 0.0531146154, 0.0242001712, -0.032156691, -0.0530030131, -0.0598314628, -0.0337924771, -0.0248367451, 0.0130561572, -0.0005314258, 0.0446503721, -0.0353203975, 0.0075788596, 0.0446502641, -0.049913764, -0.0425523296, 0.012451048, -0.0156961363, -0.0113838287, 0.0069476124, 0.0014412047, -0.0165214352, -0.0587510355, 0.0319928788, 0.0106703816, 0.0133301308, -0.0410044193, 0.0822076723, 0.0293675102, -0.061698664, 0.0007730576, 0.025242094, 0.0570618436, 0.0348058194, 0.0324679278, 0.0375006795, 0.0059414338, 0.0248120818, 0.0250412039, 0.0452736206, 0.0222876016, -0.0025964202, -0.0269018561, 0.0128517821, 0.0185621604, 0.0138510233, 0.014530398, -0.0262176655, -0.0315972492, 0.0336326845, -0.0643375516, -0.0034378311, 0.0054404964, 2.852e-7, 0.0334406495, 0.0537937582, -0.0100905979, -0.0402556956, 0.0336636752, 0.0191151146, -0.0183253158, -0.0088658994, -0.0118291993, -0.0058240145, 0.012598142, 0.0197088886, 0.0614441559, 0.0052392967, -0.0705716833, -0.0247687139, -0.0685667694, 0.0887134001, -0.0231761374, -0.0315161757, 0.0095862309, 0.1344900429, 0.0300293509, -0.0355103649, -0.0076301508, -0.0320633054, 0.0547816269, -0.0252769776, 0.0092017278, 0.0541831478, 0.0190260485, 0.0403423347, 0.0121450545, 0.0093714697, -0.0522714555, 0.022078108, -0.0291424114, 0.0139363008, -0.0412237532, -0.0008962678, -0.016106233, 0.0149664525, 0.0097125601, -0.0391675606, 0.0827933252, -0.064402014, -0.0298277829, -0.0355250165, -0.0161219295, -0.0400518775, 0.0545547493, -0.0175741296, -0.0015477471, 0.0353465937, 0.0217904374, 0.0065277568, -0.0324065499, -0.1084493473, -0.0107177431, 0.030857496, -0.0223381631, -0.0440979116, -0.0041039586, -0.0504935086, 0.0342042707, -0.0375628471, 0.0032775423, 2.985747386e-34, 0.0506070405, -0.0270197261, 0.0342064388, -0.0077852909, 0.0088481093, -0.0346853361, 0.0232840497, 0.0067771263, -0.0094311675, -0.0567112416, -0.007892129 ]
http://arxiv.org/abs/2406.12468v1
http://arxiv.org/pdf/2406.12468v1
Adaptive Token Biaser: Knowledge Editing via Biasing Key Entities
2024-06-18T10:18:06
2024-06-18T10:18:06
Baolong Bi, Shenghua Liu, Yiwei Wang, Lingrui Mei, Hongcheng Gao, Yilong Xu, Xueqi Cheng
cs.CL
cs.CL, cs.AI
The parametric knowledge memorized by large language models (LLMs) becomes outdated quickly. In-context editing (ICE) is currently the most effective method for updating the knowledge of LLMs. Recent advancements involve enhancing ICE by modifying the decoding strategy, obviating the need for altering internal model structures or adjusting external prompts. However, this enhancement operates across the entire sequence generation, encompassing a plethora of non-critical tokens. In this work, we introduce $\textbf{A}$daptive $\textbf{T}$oken $\textbf{Bias}$er ($\textbf{ATBias}$), a new decoding technique designed to enhance ICE. It focuses on the tokens that are mostly related to knowledge during decoding, biasing their logits by matching key entities related to new and parametric knowledge. Experimental results show that ATBias significantly enhances ICE performance, achieving up to a 32.3% improvement over state-of-the-art ICE methods while incurring only half the latency. ATBias not only improves the knowledge editing capabilities of ICE but can also be widely applied to LLMs with negligible cost.
[ 0.0438549332, 0.0335428342, -0.0086433245, 0.0135771763, -0.0457305126, 0.0034532328, -0.0180394873, -0.0191356931, -0.0193714183, -0.0645237043, -0.0243767202, -0.0284197889, 0.0201282743, 0.0214359816, 0.025398124, -0.0479614213, 0.0695358068, -0.0459528752, 0.0425939038, 0.0074849832, -0.0067086103, -0.0037138283, -0.0016245146, 0.0447328389, 0.0119251739, -0.0173794515, -0.0269088447, 0.0148890791, 0.0026156695, -0.0416821912, -0.0064362502, 0.0658869371, -0.0219599772, 0.0219074097, 0.0000023821, -0.0466758423, -0.0621034727, -0.0051761232, -0.0531933159, 0.0522375852, 0.0371061563, 0.0138964085, -0.0466313325, 0.0194149762, -0.0286885034, -0.0131599968, 0.0713972598, 0.0088379411, 0.0691061541, 0.0628568083, -0.0064582294, 0.0180823095, 0.0300627574, -0.0063976469, 0.0051009012, -0.0409437902, 0.0457179584, -0.0342827775, -0.0442698225, 0.0000433912, -0.0282035992, 0.0428220406, 0.0174616352, -0.0079480447, 0.0318873525, 0.0307140704, -0.0276053883, 0.0020092223, -0.0358367115, 0.0314755291, -0.0136118131, -0.0306773577, -0.0065992502, 0.003865584, 0.0302212331, -0.018155247, -0.0454718731, -0.0069307471, -0.0037106453, -0.0024550844, 0.0401520208, -0.0431859493, 0.0250108019, 0.0007097243, -0.0564069822, 0.0471560806, 0.0522255637, -0.0254953224, -0.0399411134, -0.0224959683, -0.0287534259, -0.1011918187, 0.0149784125, 0.0418932587, -0.0272427052, 0.0285177156, -0.065326415, -0.0337215625, -0.0112247234, -0.0348856486, 0.0235464498, 0.0800878257, -0.0190753974, 0.0304900017, -0.0449495614, 0.0533285253, 0.0247231778, -0.0114480471, -0.0211372152, 0.0064484864, -0.0402832702, -0.037695609, -0.0677190423, 0.0498429276, -0.030811796, -0.0113468692, -0.0288333669, 0.0504929498, 0.0346947797, 0.0139269037, 0.0275125429, -0.0111003537, -0.0086345486, -0.0010435116, -0.0069022048, 0.0361042693, -0.0156181026, -0.0152554931, -0.0027788342, -0.0626998395, -0.0184932891, -0.009360685, 0.0242299289, -0.031346079, -0.0230126213, 0.0681650639, -0.0229485352, -0.0296986736, -0.048991289, -0.0467529818, -0.0165079366, -0.0265025925, -0.0312636644, -0.0618359447, 0.0293169655, 0.0245603323, -0.029288156, -0.049301967, 0.0058982358, 0.01729808, -0.0362485871, 0.0373456702, -0.0118384268, 0.0132458946, 0.0216941293, 0.0008463199, 0.0040306528, 0.0745612904, 0.0264819283, 0.0060471366, 0.0485922135, -0.0048305453, -0.0231820233, 0.065794453, 0.04343329, -0.0052888878, -0.0277447794, 0.0085217441, 0.0411829613, 0.0170532539, 0.0411025733, 0.0312341694, -0.0486915819, 0.0115543883, 0.0784523785, 0.0086880066, -0.0001040751, 0.0301798899, 0.0210299287, -0.0230930671, 0.0031479257, 0.0023503497, -0.0328273065, 0.0361679569, 0.0066859475, 0.0332121812, 0.0443557911, 0.0403272137, -0.0092286412, -0.018047573, 0.0100555485, 0.0148797426, -0.0324791148, -0.0095773097, 0.0186451767, 0.0202239435, -0.0763749853, 0.0965006649, 0.0102616344, -0.0293084867, -0.0007664285, -0.0381549001, -0.0136158802, 0.1045336723, 0.0658145696, 0.0012662678, -0.0548174307, 0.0140386801, -0.0099321678, 0.0078813853, 0.0304055624, -0.0178539027, -0.0148708532, -0.0679759309, -0.0422943942, 0.0118888915, 0.0129559068, 0.0466424525, 0.0534022823, 0.0247517321, 0.0245114304, -0.0436276831, -0.0030099554, 0.0062588071, -0.032556925, -0.0186456572, 0.0030768646, 0.0028423562, 0.0125287632, 0.0217156596, -0.0098773837, 0.0188032668, 0.0263960939, -0.0292508975, 0.0115581797, 0.0499683805, -0.0848219097, -0.051789742, 0.0527934618, 0.0322210044, -0.0153057659, -0.0386299491, -0.0030383673, -0.0495522767, 0.0116456635, -0.0212267917, 0.1244502589, -0.0385199673, 0.0613987558, 0.0131186359, -0.0126050506, -0.0240033753, 0.0405213982, -0.0310490262, -0.0358700603, 0.044914145, -0.017966073, -0.0281632934, -0.0295693148, 0.0094661824, 0.029691821, 0.0074703437, -0.0314386413, -0.0018977138, -0.0013808634, -0.0267621968, -0.0374002345, -0.0870907679, -0.0041782963, -0.0322869979, 0.0141915362, 0.0295889918, 0.0452196784, -0.0180237293, 0.0020899794, -0.0093647987, -0.0132606113, -0.0328264646, 0.0306451395, -0.0016167936, 0.0349893831, -0.0393819138, -0.0103791077, 0.0158884022, -0.012394188, 0.0387067087, -0.0174379647, -0.0427207984, -0.0720812082, 0.0185542479, -0.0123905502, 0.0008924906, 0.0046908073, -0.0120078614, -0.0186685957, -0.0102350023, 0.1036793143, 0.0257990267, 0.0001462937, 0.0046005468, 0.030539548, -0.0561368428, -0.0573235191, 0.0013994958, 0.0069099758, -0.0204627384, -0.0319515318, -0.0218573976, 0.027295528, 0.0492221974, 0.0258512739, -0.0008467239, -0.0671870336, 0.0136117702, -0.0007289417, -0.0364685133, -0.0297807064, -0.0304943863, -0.0298311822, -0.0000497923, -0.0386441164, -0.0213919114, 0.0572205819, -0.0420466885, 0.0063717547, -0.0307764653, 0.0393683948, -0.015094135, 0.0351504646, -0.0124068391, 0.0305055548, -0.0144088771, -0.0443072319, -0.0502032228, 0.0051622144, -0.024069149, -0.0304299854, 0.0088763563, -0.0636735931, -0.0084796827, 0.0047403001, -0.0109058637, -0.0336587615, 0.0270336065, -0.0151693057, 0.0101487637, 0.0406055078, -0.0327948257, -0.0195885133, 0.0118400119, 0.0192134846, 0.0763555393, -0.0226557776, 0.0052193701, -0.0110094445, 0.0138342287, 0.0515917465, -0.0099145472, -0.0024695543, -0.0138945235, 0.0433137938, 0.0723409355, 0.0636885613, -0.0536483862, -0.00725498, 0.0022521145, 0.0333728008, -0.065627791, -0.0046193949, 0.0295407884, 0.0294620544, -0.0649840757, -0.0146365194, 0.1339019388, 0.0293710697, -0.0655748174, 0.0174503792, -0.0220806077, 0.0325900428, 0.0190105215, 0.0112979794, -0.0908793062, -0.0446379408, 0.0451138765, 0.0312223062, -0.0076579056, -0.0395538434, -0.0297358166, -0.1195184663, 0.007496634, 0.0084586916, -0.0543192066, -0.023385575, -0.0255971085, -0.0146534275, 0.0125745805, 0.0464411601, 0.062491186, 0.0165664963, 0.020539714, 0.0042246529, -0.0245687813, -0.0512137078, -0.0098324874, -0.0088960212, 0.0733615309, 0.0672600716, 0.0144911278, 0.0434782505, 0.0032484359, 0.0526704006, -0.0067234356, 0.0248863399, -0.0453721546, -0.0057941135, -0.0322298892, 0.0041664075, 0.0029669632, 0.0409235992, -0.0018786751, -0.0287324972, 0.027157411, 0.0843638778, -0.0004872894, 0.0335260257, 0.0035508587, -0.0600656867, 0.0056212824, 0.0752203465, 0.032168515, -0.0308038127, -0.0031467504, -0.0529552028, 0.009264241, -0.0537999906, 0.0127941268, -0.0141835557, -0.0127337789, -0.015036297, -0.0831737295, -0.0025941969, 0.0587114505, 0.0504865944, 0.0340056531, 0.0413189307, 0.0053591277, -0.0229318589, -0.0703921467, -0.0265832674, -0.0427918471, -0.0143812057, -0.0776621625, -0.0224002507, -0.0140146576, -0.0461804941, -0.0066346442, 0.0394326709, -0.0295724068, -0.0780489966, 0.0389772914, 0.0463119447, 0.0216802079, 0.0954270288, -0.0007819507, -0.0443059765, 0.0556692854, 0.043566592, -0.0411217064, 0.0400424525, -0.003165219, 0.0434185602, -0.0213246793, 0.0350922197, -0.0547218099, -0.0581754632, 0.0327755064, 0.0755157098, -0.0012164155, -0.0164131653, 0.0225520786, 0.0386177376, -0.0058517866, -0.0255180523, -0.0143595161, -0.0000456612, 0.0827714577, -0.0254138652, -0.000643388, -0.0113479448, 0.0258592274, 0.0119292066, -0.0085022049, 0.0009902809, -0.012147937, -0.0021782315, -0.0076710931, 0.0041139023, -0.0013364169, -0.0387665704, 0.0490828119, 0.073158145, -0.0218944307, -0.0184001159, 0.0188479275, 0.0039272169, 0.0036873822, -0.0645920262, 0.0352094397, 0.0316738971, -0.0181230474, -0.0438884757, 0.0366320349, -0.0527383201, -0.0109714745, -0.0315018222, 0.0385490172, 0.0570518598, -0.0002752488, 0.0458613113, -0.0543514602, -0.011707088, -0.0218109116, 0.0217426661, 0.0343644433, -0.0420922525, -0.0164488815, 0.0138167758, -0.0076964707, 0.0161503311, 0.0691468269, -0.0093868934, 0.1061413363, -0.0304911733, -0.0179331396, -0.0395319201, -0.031050209, 0.0079725198, -0.0046844217, -0.0523086749, -0.0192397591, -0.0353669189, -0.0400520898, -0.0052810004, -0.0120617794, -0.0132983038, -0.0121904034, 0.0129338484, 0.0495057888, -0.025222417, -0.0363375619, -0.0091007352, 0.0184810869, -0.0066530597, -0.0422971621, -0.0053407224, -6.638081986e-33, -0.0280725211, -0.0003829614, 0.0139202261, -0.0134275733, -0.0259848237, -0.0040745819, -0.056565661, -0.018032331, 0.0401989371, -0.0386351943, -0.0254013892, -0.0087209055, 0.0220202357, 0.0090316487, 0.0010940245, 0.0231031366, 0.0744345486, 0.0017018225, -0.0374319218, 0.0302314535, 0.0503209531, 0.0501536764, 0.0694426894, -0.0129900677, 0.0351808183, 0.0200209469, 0.0220862459, 0.008510178, -0.0010317095, 0.0439582206, -0.009815231, 0.011675694, 0.0035138784, -0.0435930975, -0.0443017371, -0.0306017622, -0.0780720189, -0.0000768341, 0.0501556993, 0.0494459383, 0.0238792636, -0.0943575501, 0.010081769, 0.0031552762, -0.0362098962, 0.025518503, -0.0041323667, -0.0269269478, -0.0323959216, -0.0214566924, -0.0394981354, 0.0374476165, -0.0195581559, 0.0259853806, 0.0103615485, -0.0210038871, 0.0098549696, -0.0118021667, -0.0604096428, 0.0289359819, 0.0363025777, 0.0712259412, 0.0628199428, 0.0133987926, 0.0279629976, 0.0448443294, 0.0273133423, -0.004511686, 0.0008136716, 0.0102755008, 0.0328653641, 0.0011466146, -0.0033187089, 0.024781717, 0.031149298, -0.0263156425, -0.0268526543, 0.0031366951, -0.0001628912, 0.0574950688, 0.0342487022, 0.0295539852, -0.0186519567, -0.00804717, -0.0583843179, -0.0074985926, -0.0546298288, -0.0291912835, 0.065378204, 0.0280133747, -0.0323999114, -0.0432444997, 0.0554184318, 0.0074719354, -0.0168392584, 0.0286642238, 0.0035224948, 0.0347381793, -0.0276341103, 0.0165939461, -0.0503506139, -0.0064850068, 0.0525537506, -0.0005634411, 0.0052625034, 0.0049731131, 0.0063766502, 0.038515415, -0.0752592757, 0.0101073682, -0.0251164604, 0.0292227045, 0.0039857826, -0.0443661585, 0.0436988883, -0.0096002743, 0.0027207343, 0.0232941117, 0.0208230205, -0.0208074488, -0.027973542, 0.0057365494, 0.0285461023, 0.0254014209, -0.0242617782, 0.0244174562, -0.0044197915, -0.0193913672, 0.0025668165, -0.0234980378, -0.0205467679, 0.0264721476, 3.036e-7, 0.0226902682, 0.0651535615, 0.0559438914, -0.0079828287, 0.0222749561, 0.0029205247, -0.0172686633, -0.0050184685, 0.0107027674, 0.0229023825, 0.006198952, 0.0222690627, 0.0158750918, -0.0013017992, -0.0975482911, 0.0041716937, -0.0342312679, 0.0304916929, -0.0671798512, 0.0068236291, 0.0106452461, 0.0590976886, -0.0188124441, 0.0068450784, 0.0029231203, -0.0435896665, 0.0247455407, -0.0228018966, 0.0064130756, 0.0068531325, 0.0118362699, 0.0108981663, 0.0100026345, 0.0275816917, -0.0347722657, -0.01852859, -0.0127986651, 0.0617907941, -0.0073722466, -0.0230015367, 0.0130438115, 0.0070104529, -0.0186182689, -0.066494301, 0.067971006, -0.0038592515, 0.0052450541, -0.0360181853, -0.0260325074, 0.0055041867, -0.0509088449, -0.011957353, -0.0047697788, 0.0428432897, 0.0196733065, 0.0463670157, -0.0118547874, -0.0562635176, -0.0449237898, -0.029576445, -0.0197400488, -0.0695146397, -0.0699032843, 0.010171067, 0.0280381665, -0.074921377, 0.0031734752, 3.382460199e-34, 0.0203151274, 0.0022174916, 0.0298664682, 0.0772963315, 0.04736742, -0.0314277932, 0.0002215932, 0.0426757485, 0.0183965284, -0.0922143608, -0.0669975206 ]
http://arxiv.org/abs/2406.12442v1
http://arxiv.org/pdf/2406.12442v1
Abstraction-of-Thought Makes Language Models Better Reasoners
2024-06-18T09:46:44
2024-06-18T09:46:44
Ruixin Hong, Hongming Zhang, Xiaoman Pan, Dong Yu, Changshui Zhang
cs.CL
cs.CL, cs.AI
Abstract reasoning, the ability to reason from the abstract essence of a problem, serves as a key to generalization in human reasoning. However, eliciting language models to perform reasoning with abstraction remains unexplored. This paper seeks to bridge this gap by introducing a novel structured reasoning format called Abstraction-of-Thought (AoT). The uniqueness of AoT lies in its explicit requirement for varying levels of abstraction within the reasoning process. This approach could elicit language models to first contemplate on the abstract level before incorporating concrete details, which is overlooked by the prevailing step-by-step Chain-of-Thought (CoT) method. To align models with the AoT format, we present AoT Collection, a generic finetuning dataset consisting of 348k high-quality samples with AoT reasoning processes, collected via an automated and scalable pipeline. We finetune a wide range of language models with AoT Collection and conduct extensive evaluations on 23 unseen tasks from the challenging benchmark Big-Bench Hard. Experimental results indicate that models aligned to AoT reasoning format substantially outperform those aligned to CoT in many reasoning tasks.
[ 0.0200377591, 0.0402204171, -0.0192732457, 0.0368134603, -0.0311515108, 0.0537599064, 0.0136404345, -0.0286476519, -0.0247699581, -0.0171835143, 0.0289925002, -0.0062335157, -0.0038626522, 0.0347301178, 0.0414159447, -0.0925318748, 0.0191912614, -0.0555107519, 0.0420537703, 0.0066635963, 0.000249073, 0.0301479362, -0.0173562337, 0.021027742, 0.0292759649, -0.0449670404, -0.0476806201, -0.0125855105, 0.0299139302, -0.0203828309, -0.0205322672, 0.0130626662, 0.0276699644, 0.0023163664, 0.0000025309, -0.043774195, -0.0128682228, 0.008606297, -0.0169620309, 0.0035427168, -0.0505937859, 0.008214009, 0.0119071202, 0.0242765844, -0.0082076686, 0.0067838188, 0.016176505, 0.0615001358, 0.0683224797, 0.0412117578, -0.00542237, -0.0357747115, 0.0045161238, 0.0081736911, -0.0078674387, -0.019701045, -0.0188408885, 0.0495498367, 0.0198699459, 0.0329922512, -0.0019000423, 0.0303896498, 0.0549423024, 0.0152679551, -0.0135160256, 0.0412658826, -0.0503555462, -0.0338820592, 0.0146486768, 0.0525820367, -0.0423105359, -0.0449061804, 0.0075938087, -0.027755795, -0.0055921739, -0.0297425613, -0.0410955772, 0.0559363551, -0.0210851319, 0.0130517976, 0.0266501829, -0.0085204691, 0.0237893146, 0.0318252482, -0.0718899444, 0.0675056055, -0.0328830555, -0.0239874274, 0.0339683369, -0.0244294163, -0.0403881446, -0.0782053843, -0.0179305933, 0.0296298023, -0.0414193086, 0.0008604605, 0.0087279575, -0.0181189626, -0.0273663308, 0.025028564, 0.0497717038, 0.060746491, 0.0149554973, 0.0396782234, -0.0412793495, 0.0221820138, -0.0246252641, 0.0383984149, -0.0430724211, 0.0112608587, -0.0542589538, -0.0164398886, -0.0412669964, 0.0576542467, -0.0216080602, 0.0116904499, 0.0228274129, 0.0116295172, -0.0400337987, 0.0076499749, -0.010156678, 0.0106309783, 0.0240878612, -0.0409446023, -0.0393696167, -0.0110953227, -0.0724031255, 0.0256035756, 0.0615908578, -0.019108532, -0.010496608, -0.014405976, -0.0201597959, -0.025387153, 0.0108548831, 0.0465619899, -0.0021696051, 0.0350270011, -0.0412148461, -0.055204317, 0.0454966687, -0.0599770509, 0.0133134667, -0.0811266825, 0.0293284412, 0.0287072305, -0.0096150888, -0.0088962764, 0.006615472, 0.0015300134, -0.029420102, 0.0793622881, -0.0339778624, 0.0179956704, -0.0019968434, 0.0230993275, -0.0299174432, 0.0418775082, 0.0325280093, 0.024811944, -0.0115446914, 0.0124584949, 0.0008428558, 0.0142680919, 0.010365908, -0.045293387, -0.0048425766, 0.0230198149, -0.0887089521, 0.0358365141, 0.0122094173, 0.0594588816, -0.0228984598, 0.0406824909, 0.0091275061, 0.0435735583, -0.0284176245, 0.0272003952, 0.0686812326, -0.0008862989, 0.002849278, -0.0152351568, -0.0574217103, 0.0650335774, 0.0096568251, 0.0242984369, -0.0079262983, -0.0112300385, -0.0378537811, -0.0509402566, -0.0162573531, 0.0345824622, 0.0027737943, 0.0248517059, 0.0202595741, 0.0245845579, -0.0092185577, 0.049586948, 0.0140037183, -0.0238443799, -0.0383090638, -0.0549859442, 0.0384586565, 0.02167923, 0.0325878412, -0.0001519799, -0.0290591177, -0.039487008, 0.033172138, 0.01286845, 0.0489176102, -0.0210627951, -0.0246980414, -0.051909335, -0.0059690648, -0.0217739251, -0.0042142579, -0.0154693807, 0.0075710327, -0.0384721607, 0.0162826981, -0.0381325819, -0.0534223579, 0.021514127, -0.0273387246, -0.0161360353, -0.0332805887, 0.0409504585, 0.0031127688, -0.0028490354, -0.0085230414, 0.0440570153, -0.0272429604, -0.0236457586, -0.0238145757, 0.0209802333, -0.029164277, -0.0016934236, 0.0166362431, -0.0481604114, -0.0527463369, 0.0195976645, -0.0535208248, -0.0188860986, 0.0284982417, -0.0098662777, 0.0207167566, -0.0259909071, 0.0253786761, -0.0124587584, -0.0541338548, -0.0110976193, 0.0907192081, -0.015833145, -0.0119263493, 0.0332461037, 0.0098040905, 0.035873618, -0.0184822716, -0.0095381364, 0.0175104905, -0.0195947252, -0.0138437077, 0.0097372076, 0.0470224097, -0.0907377154, 0.0119359754, -0.0318835005, -0.0084342696, -0.006422196, 0.0121072223, 0.0350081995, 0.0067002689, 0.0222337376, 0.0160784367, -0.0205767918, 0.0041305199, -0.0151549028, 0.0211917814, 0.037329562, -0.0213233363, -0.0098076221, -0.0125418482, -0.019196583, -0.0657090321, 0.0238832776, -0.0296276808, 0.0058662798, -0.0388063006, 0.058234673, -0.058136221, 0.0036500485, -0.0084863082, -0.0211833138, 0.0483116396, -0.0377285294, 0.0109334439, 0.0843852088, -0.0186887886, 0.0028920658, 0.0520231575, -0.0063904533, -0.0487131216, 0.0425488986, 0.0125465784, 0.0159014836, 0.0243740324, -0.0153587479, -0.0156444497, 0.0777950734, -0.0138446419, -0.0002469388, -0.0898290351, 0.0566233918, -0.0220742393, 0.0069156759, -0.0533558764, -0.0332937129, -0.0094130952, 0.0771201327, -0.0446416065, -0.0145005994, 0.0929531679, 0.0111621795, 0.0053554359, -0.0496467464, 0.0185309015, -0.0109853102, 0.0830234289, -0.0271598771, 0.0057299691, 0.020682402, -0.0054509398, -0.0639788434, -0.0159060042, 0.0199620239, -0.0167056024, 0.0418429039, -0.0495728254, -0.0232606009, -0.0045046918, -0.0406563617, -0.0412601046, 0.0270797573, -0.0736109689, 0.0294906348, -0.0038885716, -0.0039426484, -0.0135642709, -0.0089799576, 0.0317302532, 0.0196769405, -0.0008790037, -0.0255760588, -0.0346234404, 0.0015531256, 0.0387794636, -0.012487906, 0.0699491352, -0.0225668401, 0.0783709064, 0.0333423838, 0.0496431738, -0.0009058686, -0.0536846668, 0.016223643, -0.0160880964, -0.0073438887, -0.0193665493, 0.0136240581, 0.0700328946, -0.0739935264, -0.0404353216, 0.1146301106, 0.0352159888, -0.0001136844, 0.0159368273, -0.0538715646, 0.0774151683, 0.050798662, 0.0308034979, -0.0546638109, -0.0400617495, 0.0552799553, -0.0032512054, -0.0051051346, -0.0604614429, 0.0043810252, -0.0936927125, 0.0478089191, 0.0037307534, -0.0358644873, -0.0233195741, -0.0039706663, -0.0000018948, 0.0301346947, -0.0276365988, 0.0469334871, 0.016196426, 0.0256033428, 0.0267420858, -0.0155041935, -0.0051416922, 0.0591884963, -0.0362499803, 0.0231028628, 0.0144291585, 0.0312991254, 0.0234392062, -0.0563945025, 0.0821044296, -0.0251509994, 0.0216766614, -0.0185374822, 0.0122333672, 0.020938972, -0.0179234818, -0.0296952147, 0.0633923337, -0.0176762454, -0.0418350771, -0.0008321451, 0.1208641008, -0.0273509752, -0.0384446941, -0.0096883178, -0.0084181326, -0.039610628, 0.0482616201, 0.0571888909, -0.0124956928, -0.0556866191, -0.0476182178, -0.0425984636, -0.0451776385, -0.0217430945, 0.0003739993, 0.0306494329, 0.0171881337, -0.0343175158, -0.0340924785, 0.0546369627, 0.0110272216, 0.0004021116, -0.0462736636, 0.0339017175, -0.0139801819, -0.0407802165, 0.0466659777, -0.0143949315, 0.0412075669, 0.0230429713, -0.0019289994, -0.0079499343, -0.0231686234, -0.0258885566, 0.0513423607, -0.0566589497, -0.0577183664, -0.0232878458, 0.0302898008, 0.0268223025, 0.0301803704, -0.0167886745, -0.0583260059, 0.0214859899, -0.0368475281, -0.0206403937, -0.0103559475, 0.0237525497, 0.0069730063, 0.0358122922, 0.0660357624, -0.0220114551, 0.0169242322, 0.0276439004, 0.0331165865, 0.0030248195, 0.0488447435, 0.0376953743, 0.0366178565, -0.0055677919, 0.0047931969, -0.0110706901, -0.044599507, 0.0194134507, -0.0178601164, -0.052059561, -0.0456731692, 0.0254492071, 0.0030506605, -0.0082268454, -0.0109181041, -0.0188499074, 0.0291895363, 0.029563006, 0.0318891518, 0.0145075694, 0.0063264607, 0.0340528935, 0.0436541513, -0.0209013317, -0.019672174, -0.0054182354, -0.0357623175, 0.0680577531, -0.0311888382, 0.064451918, 0.0645362139, 0.0202517584, -0.0552583002, -0.0000496297, -0.0629109219, -0.1098167375, 0.0431125052, -0.0509986654, -0.0011739286, -0.0204948224, 0.0352335833, -0.0349751674, -0.0145538393, 0.0407901555, 0.0451869629, -0.0053835949, -0.026326878, 0.0047791549, 0.0443002768, 0.0043059229, -0.0422950387, 0.0275721047, -0.0804464072, 0.0138791585, 0.005957182, -0.0036763996, -0.0308043286, 0.0142074609, -0.0570430607, 0.051812198, 0.0092268493, 0.014740197, -0.0461129397, -0.0885577425, -0.0541539975, 0.0425195806, 0.0004039643, 0.0141771957, 0.0355594978, 0.0498905443, 0.0000463251, -0.0433679074, 0.0121041881, -0.0044323918, -0.023857018, -0.0317373127, -0.0664765835, -6.932668217e-33, -0.0009042552, 0.0089585371, 0.0424580537, 0.0140585965, -0.0452952757, -0.0081818113, -0.0707614943, 0.0248016976, -0.0316033922, 0.0523916781, -0.0287318006, 0.0203166753, -0.0058715334, 0.0160282124, 0.0294680092, 0.0052615674, 0.0171750672, -0.0089204004, -0.0444895811, 0.0176115967, 0.0396426134, -0.0256136451, 0.0144305341, -0.0609813333, 0.000391889, 0.0233116169, -0.0155397458, 0.0368907936, -0.0518674292, 0.0209768359, 0.0101984954, -0.0101033291, 0.0333476216, -0.0061863787, -0.0091034481, 0.0002920477, -0.0699076578, -0.0357777216, 0.0562171154, -0.006432489, -0.0865675136, -0.0472223721, 0.0014739445, 0.0019703642, 0.0169629715, -0.0532020181, 0.0054714554, -0.0248082578, 0.0416868292, -0.006878091, -0.0332242809, 0.002617751, -0.0594482236, -0.0139400242, 0.0452736579, 0.0303604584, -0.0307680108, -0.0041162167, -0.035048604, 0.0059427726, 0.0324008018, -0.005044295, 0.084930636, -0.0100661246, -0.0054892791, 0.0412178077, 0.018263083, -0.000625629, -0.0333874598, 0.0554990284, 0.0064030839, 0.0769803673, 0.0174990743, -0.0382470936, 0.0048030452, 0.007759355, -0.0531414486, -0.0020981834, -0.0440331772, 0.0594505928, 0.0536997057, 0.0170637071, -0.0213770699, -0.0253714453, -0.0670329258, -0.0353042819, -0.0402525701, -0.0008809088, 0.0280055478, -0.0199424103, -0.0392829627, -0.0362074636, 0.0042371056, -0.0395700485, 0.0216493569, 0.025048146, -0.0421897955, 0.0268506948, -0.0038892485, 0.0212414525, -0.0401479006, -0.006638689, -0.0119255446, 0.0341489799, 0.0375042036, 0.0137819853, 0.0676924214, 0.0026531906, -0.0339504778, -0.005088394, -0.0995342582, 0.0218002386, -0.0356209278, 0.0491571426, -0.0050236001, 0.0552444234, -0.0075741606, 0.0035698966, 0.0042951144, -0.0358298905, -0.0276561882, 0.0795188248, 0.005567085, 0.016201742, -0.0151340365, -0.0206305664, -0.0546763279, 0.0028909426, 0.0823893994, -0.0436152332, -0.0326626264, 0.0584441647, 3.109e-7, -0.0001561825, 0.0442483686, 0.0284317899, 0.0602206998, 0.0119385729, 0.048726473, 0.0158135109, -0.0365342535, 0.0558603927, -0.0555561706, -0.0239526201, 0.0679462627, 0.0384585783, 0.0293129217, -0.0515347049, 0.0110938298, -0.0387341641, -0.0371741466, -0.0441860482, -0.0113406451, 0.0656835958, 0.0440332219, 0.0315299667, -0.0204165056, 0.0265903864, 0.0275700763, 0.0139372395, -0.0091000181, 0.0378320664, 0.018633293, -0.017730413, 0.0284615904, 0.0166664328, 0.0287424624, 0.014910317, -0.0097340941, -0.0192447267, 0.0236448552, -0.0011296989, -0.0011310203, -0.0173666887, -0.0374721922, 0.0197453257, -0.0891673565, 0.0845676512, -0.0494545661, -0.0397076234, 0.003206613, 0.0089301532, 0.0086095426, -0.0259185117, 0.0097515406, 0.0128101772, 0.0165470541, -0.0057706395, -0.0081844926, -0.0122334631, -0.0741810352, -0.0542902499, 0.0242586676, -0.0047245962, -0.0281197838, -0.025712546, 0.0112929679, 0.0109658949, -0.0801024958, -0.0179203227, 2.998129566e-34, 0.0060601444, 0.0108463969, 0.0452963524, 0.0295119751, 0.0667560995, -0.0115743987, -0.0185026936, 0.0071515553, 0.0145941814, -0.0612571649, -0.0360095799 ]
http://arxiv.org/abs/2406.12430v1
http://arxiv.org/pdf/2406.12430v1
PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makers
2024-06-18T09:25:35
2024-06-18T09:25:35
Myeonghwa Lee, Seonho An, Min-Soo Kim
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7
In this paper, we conduct a study to utilize LLMs as a solution for decision making that requires complex data analysis. We define Decision QA as the task of answering the best decision, $d_{best}$, for a decision-making question $Q$, business rules $R$ and a database $D$. Since there is no benchmark that can examine Decision QA, we propose Decision QA benchmark, DQA. It has two scenarios, Locating and Building, constructed from two video games (Europa Universalis IV and Victoria 3) that have almost the same goal as Decision QA. To address Decision QA effectively, we also propose a new RAG technique called the iterative plan-then-retrieval augmented generation (PlanRAG). Our PlanRAG-based LM generates the plan for decision making as the first step, and the retriever generates the queries for data analysis as the second step. The proposed method outperforms the state-of-the-art iterative RAG method by 15.8% in the Locating scenario and by 7.4% in the Building scenario, respectively. We release our code and benchmark at https://github.com/myeon9h/PlanRAG.
[ 0.0309034828, 0.067848593, -0.0225629359, 0.0336766206, -0.0256953109, -0.0070285345, -0.0457592793, -0.0171527844, 0.0010848223, -0.0256939195, -0.0106128287, -0.0341912843, -0.0326957218, 0.0315163955, 0.0236571394, -0.0038996739, 0.0067579653, -0.048520375, 0.011162092, -0.0151994452, -0.026328085, 0.0003931263, -0.0079495087, 0.0343231261, 0.0149621665, 0.0031419406, -0.0479039885, 0.0103694918, 0.021064885, -0.0607775226, -0.0079800822, 0.0174110215, 0.0423110649, 0.0179413725, 0.0000020327, -0.0586977415, -0.0376049429, -0.010293344, -0.0137435272, -0.0040812152, 0.0014267982, 0.0368034467, -0.0206065159, 0.0349500738, -0.0724003464, -0.0126869315, 0.0409680642, 0.0285019986, 0.0343952253, 0.0755433813, 0.000641958, -0.0805272907, 0.0091714421, -0.0418992043, 0.005358201, -0.0703742579, -0.012577991, 0.0420889631, 0.041529566, -0.0084585892, 0.013148373, 0.0206636433, 0.0106627904, -0.0129087353, -0.0489678457, 0.0355329104, -0.0099206381, 0.0085292868, -0.0231040101, 0.0575479195, 0.0097818775, 0.0060919048, 0.0514907204, 0.0195997078, 0.003885851, -0.0107147824, -0.030291535, 0.020407455, -0.0183680188, 0.0306751635, -0.02276434, -0.0115859918, 0.0323674046, -0.0086529311, -0.0609089211, 0.0797919035, -0.0028847337, -0.0367847271, -0.0066615418, -0.0100099146, -0.0028235412, -0.0675866231, -0.0250382181, 0.0507604666, -0.0915027112, 0.015964454, 0.0122618796, 0.0242996868, 0.0046816366, -0.009273733, 0.0580179282, 0.0272639785, 0.0327212699, 0.019440705, -0.0076151444, 0.038925793, -0.0126127647, -0.0204983559, -0.0602692626, 0.0178343449, -0.0289260596, -0.0117507484, -0.0487271622, 0.0550469756, -0.0946868658, -0.0279674307, -0.028823832, 0.035232529, -0.0280534346, 0.053211011, 0.00654996, 0.0334891938, 0.0027379962, 0.0013566297, -0.0822180361, -0.020458499, -0.0361792669, 0.0229045134, 0.0212555043, -0.0330812894, 0.0273657758, 0.0045960988, 0.0019653179, 0.0110709192, 0.0222505368, 0.0879476368, -0.0310221259, 0.0012479972, -0.0663784072, -0.0710791051, -0.0043913806, -0.1093697771, -0.0051842602, -0.0763203651, 0.018216962, -0.0086490847, -0.0342263021, -0.0136751672, 0.0033355714, 0.0078170933, 0.0211795941, 0.0473591052, 0.0234357882, 0.048185721, 0.014545639, 0.0178786311, 0.0313178785, 0.0944324955, 0.0370705947, 0.0732446015, -0.0086080292, 0.0042696018, 0.0338633694, 0.0462948903, 0.0008374606, 0.0049091638, -0.0521276072, 0.0329729095, -0.0335883349, 0.0391045511, -0.0028108601, 0.0407806598, -0.0575425737, 0.0405962095, 0.019068459, -0.0117270881, 0.072385475, 0.0283844806, 0.0416794792, 0.033626277, -0.0229905993, -0.0038805935, 0.0231109392, 0.0393331274, -0.0302920733, 0.0184946358, -0.007870717, 0.0309538711, -0.0047127116, -0.054975953, 0.0271714851, 0.0113361552, -0.0074127875, 0.0398368165, 0.0249865185, 0.0221352987, -0.0772202015, 0.0254251007, -0.0063293865, -0.0260766372, -0.0203926694, -0.0545814447, 0.0728352666, 0.0818549693, 0.0674185604, -0.0383833125, -0.027670566, 0.006581116, -0.0414292924, 0.0078226831, 0.0390501879, -0.0318229534, -0.0238969307, -0.0651863515, -0.0606188588, -0.014994747, 0.0140768355, 0.0500629172, 0.0240623429, -0.0093194693, 0.0211762246, -0.0098813772, 0.00268166, -0.0028389585, -0.0164322127, -0.0370292328, 0.0284261256, -0.0062026009, 0.0504550301, 0.0103972424, -0.0375763737, 0.0327852406, 0.0403957814, -0.0131569393, -0.026890602, -0.0052620806, 0.0071789208, -0.0208102595, 0.0277998131, -0.0223577246, -0.0025947085, -0.0112129394, -0.0470121726, -0.0481387414, -0.015850028, -0.0407576524, 0.0200898387, -0.0516764857, 0.0247310232, 0.0146292634, -0.027186431, -0.0567540601, 0.0779626966, -0.0108215781, -0.022216741, 0.0405836627, 0.0161655657, 0.0140721668, -0.0793498307, 0.0262770429, 0.0709012672, 0.005782532, 0.0150303245, 0.0338903479, 0.0186841991, -0.049412407, -0.047641933, -0.0833923295, 0.0184608605, -0.0043275817, 0.0308990236, -0.0103448704, 0.0045891968, -0.014361782, -0.0061835162, -0.0557593778, 0.0285788849, 0.0163840652, 0.0053206868, 0.0129969902, 0.0317708366, -0.0208341498, -0.0312838331, -0.0060755778, -0.0008124918, -0.0006978512, 0.0023214277, 0.0291331466, -0.0630623102, 0.0342047289, -0.0456965007, 0.0305534117, -0.014909924, -0.0152925849, 0.0381447747, -0.0418101996, 0.0552497245, -0.0051943003, 0.0162663683, -0.0023640217, 0.0740463808, -0.0425922312, -0.0817968324, 0.0521677136, -0.0217609387, -0.044962611, -0.047281269, -0.0321816504, 0.0357654877, 0.015826514, -0.0160804093, -0.0066997134, -0.0480079316, 0.0251425039, 0.0343972147, -0.0420772545, -0.0307432562, -0.0033872095, 0.0107470248, 0.074529022, 0.0134053621, -0.0131550841, 0.0516527444, -0.0263280701, 0.0070747435, -0.0241348054, -0.0033276444, -0.0603273921, 0.0643531978, -0.0019367702, 0.0163783934, -0.0757080093, -0.0144312195, -0.0385458916, -0.0426049829, 0.0036313587, -0.0540006086, 0.0489099175, -0.06954436, -0.0068380279, 0.0137555972, -0.0504633076, -0.0539122298, -0.0076832385, -0.0366802365, -0.022079302, 0.0288147572, -0.0227324981, -0.0488411412, -0.0221633296, 0.0389675982, 0.0236108582, -0.0123510221, -0.0204914492, -0.0177401844, 0.012488774, 0.0996698514, 0.0580396764, 0.0205485355, 0.0231847763, 0.0414436422, 0.0372143239, 0.0031613316, -0.009022682, -0.0245811418, 0.0132532697, 0.042416919, -0.0040759873, -0.0089689502, 0.0525502376, -0.006758274, -0.0389812328, -0.0059836451, 0.0756700635, 0.0223931782, 0.0107019851, 0.0029430087, -0.0264790803, 0.0538550131, 0.024908131, 0.0724341497, -0.0826392695, -0.01922049, -0.0019359152, 0.0235072821, -0.0247574057, -0.0375334807, -0.0186366122, -0.1449866444, 0.079736948, -0.0062203915, -0.004695117, 0.0065024947, -0.0141542256, -0.0203358922, -0.0004688435, -0.0028484978, 0.0363832861, 0.0018035676, 0.012940268, -0.0039766966, 0.0190803204, 0.0014472167, 0.0132737067, -0.0065207137, 0.0164302588, 0.099079363, 0.0476413928, 0.0218292177, -0.0175508931, 0.0265408196, 0.0433373116, 0.0117879752, 0.0037244614, 0.0056939637, 0.0404732637, -0.0012231019, -0.0053847469, 0.0133586358, 0.0025301804, -0.0256513413, 0.0416083001, 0.0592825934, -0.0251697656, -0.0223022997, -0.0104581006, 0.0070985993, 0.0363456309, 0.0411888994, -0.0166953579, 0.0013291708, -0.0534340069, -0.0117104119, -0.0025445593, -0.0753127038, -0.0221781582, -0.0046457779, 0.0149725964, 0.0180127677, -0.0631587505, -0.0365033299, 0.0141403312, 0.0581240095, 0.0057612481, 0.001696761, 0.0072946474, 0.0007111982, -0.0284870621, -0.0315979272, -0.0302681252, 0.0059144455, -0.0432716347, -0.0057124305, 0.0382772647, -0.0654124767, 0.0020545144, 0.0406234898, -0.0268944167, -0.0629415438, -0.0092571843, 0.0556864217, 0.0261103194, 0.0162680801, 0.019156592, -0.0428551324, 0.0739179701, 0.05981813, -0.0056463876, 0.0028604625, -0.0015785355, 0.0324680433, -0.0088169295, 0.013280862, -0.0500686951, 0.0120350812, -0.0154102603, 0.0708979368, -0.0364625268, 0.0068193446, 0.0164490547, 0.0628144518, 0.0001739057, -0.0546042509, -0.035882581, -0.0100391032, 0.0563714951, -0.0422519706, -0.0123617286, -0.0524760932, 0.0041292422, 0.0248868763, -0.0391231701, 0.0597810224, -0.0194916278, -0.0005047568, -0.0087133739, 0.0066229519, -0.0019674203, 0.0470168479, -0.0114340717, 0.0862674713, -0.0146106239, 0.024312187, 0.0257988721, 0.027883878, 0.0635870844, 0.0119370474, 0.0413474701, 0.021771783, -0.0253284797, -0.0323899649, 0.0058518914, -0.0128930211, -0.0872553214, 0.0219610259, 0.0411982797, 0.0460272022, 0.0260302126, 0.0262694973, -0.0286496244, 0.0107936775, -0.0116882334, -0.0163365044, 0.0000229312, -0.0644171089, 0.0234391056, 0.0431952551, -0.0376642793, -0.0175493099, 0.0533449203, 0.0102621922, 0.043415647, -0.0559070371, -0.0284601878, -0.0568685792, -0.0782969296, -0.0139582483, 0.0217426419, -0.0322989821, -0.0173593834, -0.0678129271, -0.0228138734, -0.0389841869, 0.0652517974, -0.0052333642, -0.0169877559, 0.0329276919, 0.045349516, 0.0020354996, -0.0059499019, -0.0767870173, 0.0150459073, -0.0688456818, -0.0276984517, -0.0260849111, -5.907949017e-33, -0.0153213367, -0.0424892269, 0.107573159, -0.0832683966, -0.0268086735, -0.0328776538, -0.0364859998, -0.0155800628, 0.0155216083, 0.0002367651, -0.0239032079, -0.0033654671, 0.0144131752, 0.0327106006, -0.0030893951, -0.0358271971, 0.0426959693, 0.0318973698, -0.0447428375, 0.0024322988, 0.026072856, 0.0023873835, 0.0051842695, -0.0419159047, -0.0516166501, 0.0132895438, -0.0361045897, 0.0500125475, -0.0356304832, 0.0590275638, 0.0075496668, 0.0111164898, 0.0036401965, -0.0345314629, -0.0144693451, 0.0147008402, -0.0383664258, -0.0163327157, 0.0201918259, -0.0183959194, -0.0147416145, -0.0438180678, 0.0234553311, 0.0122362049, -0.0304455347, 0.0112468572, 0.0050391685, -0.0181479547, -0.0084894365, -0.0201887693, -0.0589291416, 0.0034577975, -0.0091207139, -0.0095224502, 0.0478183255, 0.0530534945, 0.0131045887, 0.0133655099, -0.0330363102, 0.0493880771, 0.0244510993, 0.0121809198, 0.0692314878, 0.0155097265, 0.0180059914, 0.0180775709, 0.0386276506, -0.0190440137, -0.0483689457, -0.0026769226, -0.0219625458, 0.108912982, -0.0335172117, 0.0439944007, -0.0050494764, 0.0062020598, -0.0719957799, 0.0588721521, -0.0106522767, 0.0635030344, 0.0354385301, 0.0018174514, -0.0311968345, -0.0113002192, -0.0481218249, 0.0156161441, -0.0132268947, -0.0148548149, 0.034772139, 0.0271943118, 0.0000389812, -0.0112246834, 0.0282059889, -0.0481831059, -0.0237762555, 0.0252229273, -0.0620636158, 0.0008061866, -0.0232291035, 0.0437639318, -0.0199042335, -0.0309854783, 0.0477036163, -0.0019232829, -0.0102992635, 0.0248967111, -0.0260160193, 0.0427772254, -0.0358904079, 0.0192371849, -0.0425477847, 0.0497410186, -0.0148242461, -0.0515668318, 0.0124656651, -0.0200834461, -0.0152574405, -0.0175775308, 0.0233049151, -0.0109355832, 0.0017281155, -0.04033079, 0.0020219958, 0.0195905957, 0.0007575021, 0.0400306769, -0.0133521175, 0.0172632895, 0.052402243, -0.0094856909, -0.0194629673, 0.038540028, 2.835e-7, -0.0139379604, 0.0316925235, 0.0091381436, 0.0496622734, -0.0247284248, 0.0386468284, -0.0078998003, -0.0033078138, 0.0339998752, 0.0144332638, 0.0555887818, 0.0203665104, 0.0231683385, 0.0250649285, -0.0883104131, 0.0185570866, -0.0478022881, -0.0206533466, -0.0559258573, -0.0203529336, 0.054187201, 0.0597848035, -0.0052947928, -0.0209431089, 0.0292843003, -0.0022719556, 0.0331513472, -0.0229545292, -0.0114696342, 0.0483483486, 0.0624056309, -0.0161115602, -0.0119191958, -0.0264174286, -0.0114253871, 0.0268542338, -0.020634871, 0.0439668559, 0.0311543066, -0.0474175774, -0.0065995166, -0.0553131811, 0.0056915032, -0.0201980732, 0.0672474578, -0.0141751459, -0.0366252214, -0.0120278643, -0.0084572071, -0.0330680646, -0.0334133133, -0.0196605232, 0.0085819084, -0.0050361119, -0.0071078753, -0.0088303816, 0.0194401257, -0.05025585, 0.0167528316, 0.0450050943, -0.0547802038, -0.0313316435, -0.0375468209, 0.051342193, -0.0158081241, -0.0543553457, -0.0006214271, 2.362559056e-34, 0.0030112383, 0.0270943902, -0.0233205762, 0.0115966406, 0.0633054897, 0.0246647131, -0.0092334086, 0.0304737594, 0.0152458576, -0.0744247586, -0.0240697023 ]
http://arxiv.org/abs/2406.12428v1
http://arxiv.org/pdf/2406.12428v1
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
2024-06-18T09:23:54
2024-06-18T09:23:54
Kentaro Mitsui, Koh Mitsuda, Toshiaki Wakatsuki, Yukiya Hono, Kei Sawada
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
Multimodal language models that process both text and speech have a potential for applications in spoken dialogue systems. However, current models face two major challenges in response generation latency: (1) generating a spoken response requires the prior generation of a written response, and (2) speech sequences are significantly longer than text sequences. This study addresses these issues by extending the input and output sequences of the language model to support the parallel generation of text and speech. Our experiments on spoken question answering tasks demonstrate that our approach improves latency while maintaining the quality of response content. Additionally, we show that latency can be further reduced by generating speech in multiple sequences. Demo samples are available at https://rinnakk.github.io/research/publications/PSLM.
[ 0.0150962491, 0.0334079973, -0.0064008264, 0.0202592555, -0.0447302312, -0.0182446074, 0.0270013381, 0.0170368012, -0.019101182, -0.0408332534, -0.0136074768, -0.0658737794, 0.0241463427, 0.0202840287, 0.0389974453, -0.064218916, 0.0413312837, -0.0521864668, -0.0145177627, -0.0282484014, 0.0041000382, 0.006702058, -0.0474600457, 0.0189928077, -0.001135792, -0.0256065708, -0.0518474989, 0.0164613146, 0.0068110954, -0.023207726, -0.0167060867, 0.0123314979, -0.0029878935, 0.0141293807, 0.0000016463, -0.0301928427, 0.0456178784, -0.0070794853, 0.0068716728, 0.0052721375, 0.0070315469, 0.0406711027, -0.003168463, 0.0459881648, -0.0186090171, -0.0064630914, 0.0340586938, 0.0170309469, 0.0580013618, 0.0569057912, -0.0069672456, 0.0020141469, 0.0327830315, -0.0140258279, 0.0112810908, -0.0132058468, -0.0374341495, -0.0087944716, 0.0433909185, 0.0250749011, -0.005546147, 0.0705295801, 0.0248543005, -0.0201752465, -0.0325929597, 0.0373285376, 0.02734253, -0.021338094, -0.0471787862, 0.0843890235, 0.0016430685, 0.0008318449, 0.012121778, -0.0039143292, 0.0004118481, -0.0259719342, -0.0434473678, 0.0464464799, -0.0267533492, 0.015297561, -0.0479672998, -0.0181064978, -0.0137365116, -0.0131090833, 0.0356713049, 0.0375758596, 0.0281731803, -0.021641897, -0.0357644707, -0.0214773286, 0.0057557411, -0.0649790019, 0.0034030159, 0.0736702755, -0.0741467401, 0.0104449056, -0.0534776896, -0.0273625217, 0.0138861286, -0.0350893065, 0.0463532582, 0.0427821726, -0.0192208849, 0.0047514434, -0.0321700945, 0.06479875, -0.0036035124, -0.0050505647, -0.0227805525, -0.0118530188, -0.0108054532, -0.0157077722, -0.0336162001, 0.0305150636, -0.0941113308, -0.0587657392, 0.0058178059, 0.0618904084, 0.0221075751, -0.0204896405, 0.0224814266, 0.0167976022, 0.0013861662, -0.0099422606, -0.0362458266, 0.0484455898, 0.0014173042, 0.0376141965, 0.0235571079, -0.0513240434, -0.016902294, 0.0385529101, 0.0134459408, -0.0044599436, -0.0289322119, 0.0866789818, -0.0487008579, -0.0154156312, -0.0360286795, -0.029619325, -0.019436188, -0.0581764467, 0.0183281377, -0.0593224876, 0.0106295366, 0.0070240865, -0.0290843546, 0.0296570193, 0.0162678231, 0.037630368, 0.018672267, 0.0417206436, -0.0358183347, 0.0403119549, 0.0676810816, 0.0199488848, 0.0318185538, 0.0300924908, 0.0516741127, -0.0132997846, 0.0207936931, -0.0326219983, -0.0100819981, 0.0586629361, 0.0098289307, -0.0185630433, -0.0104875639, 0.0054265694, -0.0093875015, 0.0321938433, 0.0416069366, 0.0655690506, -0.0415776446, -0.0227295328, 0.0781359822, 0.0628584176, -0.0024966956, -0.0318941809, 0.0537872165, 0.0295367073, 0.0134737799, -0.0013811535, -0.0096552866, 0.064161703, 0.0147715844, 0.0433401614, 0.0756100118, 0.0428081043, -0.0355553441, -0.0150986677, 0.0012914276, -0.0263776518, -0.0142319258, 0.0179458689, 0.0245093554, 0.0356361754, -0.083332561, 0.0383388437, -0.0226154644, -0.0666732937, -0.0130371144, -0.0359592885, 0.0097673712, 0.0849514008, 0.01510855, 0.0323999748, -0.0256940667, -0.0065844879, 0.0016694943, 0.08894182, 0.0037281308, -0.0052492702, 0.0268047135, -0.0285767615, -0.0077201473, 0.0330060497, -0.0335084386, 0.0510877073, 0.0144439014, 0.0026887089, 0.0105713559, 0.0256723519, 0.0624936335, 0.0084958756, -0.035207428, 0.0091085481, 0.0013038245, -0.0269343145, 0.0565905795, 0.0084712701, -0.0193531215, 0.0179425068, 0.0437609553, -0.0205112826, -0.0091159325, 0.019992264, -0.0462097935, -0.0636826083, 0.0386842415, -0.0017671257, 0.0278720111, 0.0782908201, 0.0072885356, -0.0777918547, 0.0110742291, -0.080614306, 0.0017179843, -0.0625024289, 0.0042279498, 0.0727767944, 0.0042250594, -0.0412733071, 0.0004978049, -0.029380098, 0.0325614512, 0.0568812378, 0.0669845864, 0.0076430799, -0.0898359343, -0.0101880599, 0.0371741168, -0.0183506031, 0.0171122365, 0.0049635721, 0.0073401364, -0.019477956, -0.0100981127, -0.0885544345, 0.00334946, 0.0019857823, -0.010036733, 0.0130126402, 0.016481325, -0.0036969541, -0.0305003598, -0.0608528629, 0.0463151, 0.1004466787, 0.0054810778, 0.0121871727, 0.0081279213, -0.0276402775, -0.0356779359, 0.0066538989, 0.0410369374, 0.0411794856, -0.0356379226, -0.0117469374, -0.0606473722, -0.0246736743, -0.0424022377, 0.0536196567, -0.0036813843, -0.0605380684, 0.0175263882, -0.0085114008, 0.061245326, 0.000468308, 0.048763942, -0.0042421892, 0.0080901058, -0.0210289638, -0.0346564539, 0.0429202802, -0.0221707914, 0.0190104693, -0.0194716901, -0.0130300932, -0.0139692398, 0.0611145459, 0.0272100605, 0.0143571049, -0.0180522539, -0.0010739418, 0.0500023663, -0.0435858108, -0.0118394168, -0.006583258, -0.0726302341, 0.0326987021, -0.0243181679, -0.0677257478, 0.0061181746, -0.0789262205, -0.0179309174, -0.005288112, -0.0286002327, -0.0090795662, 0.0559655353, 0.0245426893, -0.0032946561, -0.069668524, -0.0159087665, -0.0303114206, 0.0295088962, -0.0155589683, -0.0464388058, 0.0349462591, -0.0266632494, 0.0138835907, -0.0318931751, -0.0303974971, -0.0337283835, -0.0134015838, -0.0080343913, 0.0117679499, 0.0037203042, -0.0221517961, 0.0011866945, 0.0322617292, 0.0069298977, 0.0333610214, -0.0202379897, 0.0073999031, -0.040200118, 0.0644411892, 0.0545925051, 0.0527619161, -0.0104794437, -0.0033783263, 0.0310849603, 0.0323483497, 0.0548792556, -0.0060276282, -0.0398501605, -0.001529573, 0.029870471, 0.0097059608, -0.0358272679, 0.0556425117, 0.0358222201, -0.0488835312, -0.0150448615, 0.0909538642, 0.0056212838, 0.0095199905, -0.0111251138, -0.0141605614, 0.041155383, 0.0196572971, 0.0126616061, -0.0532862172, -0.0240161587, 0.006373954, 0.0132851806, 0.0159613751, 0.0156405214, -0.0388336405, -0.0988427401, 0.0212765839, -0.000387791, -0.0432447642, -0.0073273852, -0.0212747399, -0.0405373275, 0.0642037913, 0.0281159058, 0.0537306592, 0.002671585, -0.0079567051, 0.0292505119, -0.0131482985, -0.0097176591, 0.0078353863, 0.0051431265, 0.0560136624, 0.0470585041, 0.0094979601, 0.0130841536, -0.0730301514, 0.0457146391, -0.0063645579, -0.006922117, -0.001326538, 0.0001099449, 0.0075050178, -0.0307413284, -0.0268896278, 0.0251683202, -0.0080537759, -0.0067675216, 0.0033617043, 0.0231442861, -0.050204657, -0.0079999827, -0.0302414931, 0.0601551235, 0.0110620316, 0.0432301909, 0.0065689925, -0.0662498027, -0.0582317077, 0.0142195858, -0.019877281, -0.0642340705, -0.0034833523, -0.0072601889, 0.0253002197, 0.0252464954, -0.0711235628, -0.0334654115, -0.0065836022, 0.0479874574, -0.0293677244, 0.0293868985, -0.0185688846, 0.0168940797, -0.0348178819, -0.005220111, 0.0059929541, 0.0101163229, -0.0745547712, -0.0132736741, 0.0249997918, -0.0644026771, -0.022260556, 0.0273371283, -0.1210484356, -0.0623548515, -0.0330657363, 0.0395542197, 0.0176485721, 0.0352097191, 0.0202869233, -0.041350916, 0.0133189727, 0.0338189006, -0.0375277922, 0.0461095609, -0.0023440195, 0.0301270057, -0.0250535943, 0.0088582588, -0.0474457219, 0.0239911843, -0.0134416306, 0.0329130925, -0.0064725433, -0.0961555317, -0.0337037258, 0.0449265018, 0.0417265482, -0.0116864024, -0.0069468124, 0.0087848697, 0.0497218147, -0.0095465407, 0.0334903672, -0.0720667019, -0.006334452, -0.0200307388, -0.0114058377, 0.0166265164, -0.035693381, -0.012981033, 0.0356270596, 0.0006486273, -0.0055490495, 0.0167064462, -0.0272054616, 0.0143448636, 0.0039820606, -0.0106014684, 0.0080407253, 0.0002803224, -0.0002521857, -0.0032390568, 0.0648900568, 0.0034953274, -0.0105040446, 0.036717616, 0.0096698692, -0.0695380718, -0.0390590169, -0.0077504981, 0.0363206342, 0.0442670919, 0.0479674749, 0.0471949317, 0.0081797885, 0.0231132004, -0.0672579482, 0.0703585595, -0.0108847171, -0.0281462669, 0.0624294281, 0.0156690776, -0.0178712718, 0.0003988676, 0.0688830912, 0.029600516, 0.0107203107, 0.0188098438, 0.0318149216, -0.0446688496, -0.0622892007, -0.0166282672, 0.0274261199, 0.0009451467, -0.0087216459, 0.0055290344, -0.0478599034, 0.0368735157, 0.0510827079, 0.0060815457, -0.0240728315, 0.0437423065, 0.0346228182, 0.0216433536, -0.0267315134, -0.0406175815, -0.011823561, -0.0218231119, -0.0264949203, 0.0071262242, -5.401845434e-33, -0.0768874511, -0.0630579218, 0.0857438892, 0.0209813118, -0.0509893745, -0.0057407925, -0.02120848, 0.0231389049, 0.0037728343, -0.0223769005, -0.0089951083, 0.0044494062, -0.0040014945, 0.0608976707, -0.0397138149, 0.0082080569, 0.0516323932, -0.0446521193, 0.0173844025, 0.0106845582, 0.0320223421, 0.0255430285, -0.010149383, 0.0224631149, -0.0170186982, -0.0147415819, 0.0132624144, -0.0057218685, -0.0090780314, 0.0568605922, -0.0369537808, 0.0669402033, 0.0112949964, -0.0330167077, -0.0453704633, 0.0724129304, -0.0509647019, -0.0102432063, 0.0369261205, 0.011006915, -0.0549462251, 0.0016306455, 0.0193136744, -0.0095134918, -0.0064747315, -0.0170060601, 0.0089962743, 0.0016949307, -0.0544288792, -0.0171994511, -0.0154149523, 0.0016123482, -0.0053426088, -0.0213379879, 0.007626507, 0.075191237, -0.0149389673, -0.0085571744, -0.0183887463, 0.0197764244, -0.0137257902, 0.0344831347, 0.0610110089, 0.0421753898, 0.0125902416, 0.0437155589, 0.0170690659, -0.0422712304, -0.0160972569, 0.0102557614, 0.0246933959, 0.0171831977, 0.0474194996, 0.0355161466, -0.0284892004, -0.0172014032, -0.0458879545, 0.0294288881, -0.0014043009, -0.0082875118, 0.0345020033, 0.0005094802, 0.022128243, 0.0007442549, -0.0588868596, 0.0418926887, -0.0090643996, -0.0107083507, 0.076443933, 0.0324764885, 0.0320040435, -0.0405567624, 0.101922296, -0.0098623456, -0.0106523233, -0.0124897771, -0.0357710719, 0.0360128134, -0.0193735175, 0.017440863, -0.0323803425, 0.0052871425, 0.0602121092, 0.0177785847, -0.0088471072, 0.0052221832, -0.0367016569, -0.0008273375, -0.0797373354, 0.0159520563, -0.0232925657, 0.0701316446, 0.0103556365, 0.0327170119, 0.0359762833, -0.0625124127, -0.0275828317, 0.0677813515, -0.0723046064, -0.0647015497, -0.0055211834, -0.0575916171, -0.0075542764, 0.0174249914, -0.0491804257, 0.0720058829, -0.0333302058, 0.0197903942, -0.0033692354, -0.0404338539, -0.0064356099, 0.0369797386, 2.283e-7, -0.0112590464, -0.0004721233, 0.0324681699, 0.0595481358, 0.0565800928, -0.0156228673, 0.0077072643, 0.0343003683, 0.0032162725, -0.0031322353, -0.0322977789, -0.0020452931, 0.0491394177, -0.0003536969, -0.0810451508, -0.034995269, -0.0875469446, 0.0239915457, -0.0044101654, 0.0063613583, 0.0325840227, 0.0158741623, -0.0424099043, -0.0218279734, 0.0081081688, -0.018221816, 0.0610591322, -0.020066591, -0.0225514546, -0.0255601965, 0.046397984, -0.0193237141, 0.0023952331, 0.0161001645, -0.015080451, -0.0138918459, 0.0181754027, 0.0479833744, 0.0193757303, -0.1150744185, 0.0099155521, 0.0125518786, -0.015661912, -0.0024103331, 0.0632711649, -0.00121324, -0.0085464641, -0.0406278297, -0.0259450469, -0.0295976903, -0.0132708186, -0.0342539623, -0.0072232941, -0.0004098538, 0.0144821005, -0.0186904036, 0.0335238054, -0.0678907856, -0.012805636, 0.0141951973, -0.0885253027, -0.0574082732, -0.0712666661, 0.0002705075, 0.0346010923, -0.0337750614, -0.0568614639, 1.606414509e-34, 0.0060105477, -0.0313764401, 0.0131542003, 0.0495204367, -0.0259836204, -0.0358403362, 0.0019774537, 0.004869068, 0.0172246732, -0.0827022567, -0.0531222634 ]
http://arxiv.org/abs/2406.12422v1
http://arxiv.org/pdf/2406.12422v1
Open-Source Web Service with Morphological Dictionary-Supplemented Deep Learning for Morphosyntactic Analysis of Czech
2024-06-18T09:14:58
2024-06-18T09:14:58
Milan Straka, Jana Straková
cs.CL
cs.CL
We present an open-source web service for Czech morphosyntactic analysis. The system combines a deep learning model with rescoring by a high-precision morphological dictionary at inference time. We show that our hybrid method surpasses two competitive baselines: While the deep learning model ensures generalization for out-of-vocabulary words and better disambiguation, an improvement over an existing morphological analyser MorphoDiTa, at the same time, the deep learning model benefits from inference-time guidance of a manually curated morphological dictionary. We achieve 50% error reduction in lemmatization and 58% error reduction in POS tagging over MorphoDiTa, while also offering dependency parsing. The model is trained on one of the currently largest Czech morphosyntactic corpora, the PDT-C 1.0, with the trained models available at https://hdl.handle.net/11234/1-5293. We provide the tool as a web service deployed at https://lindat.mff.cuni.cz/services/udpipe/. The source code is available at GitHub (https://github.com/ufal/udpipe/tree/udpipe-2), along with a Python client for a simple use. The documentation for the models can be found at https://ufal.mff.cuni.cz/udpipe/2/models#czech_pdtc1.0_model.
[ -0.0040430343, 0.088388592, 0.0099536274, 0.039643947, -0.027138548, 0.0142243961, -0.0345816128, -0.0335067213, -0.0625756234, 0.0010100051, 0.0189933013, -0.0235665757, 0.0207950529, 0.0121502299, 0.0308223609, -0.0165218282, 0.0391422361, -0.0364003032, -0.0400577597, -0.0191746522, 0.022110451, 0.0266718138, -0.0435634367, 0.0127793392, -0.0350826718, -0.0304770693, -0.017929649, 0.0316815712, -0.0026961467, -0.0347379856, 0.0156321581, 0.0202176515, -0.0087421276, 0.0678686053, 0.0000020581, -0.0761525407, -0.0268338881, -0.0114553748, -0.0350718498, -0.0038652169, 0.0595866889, -0.0876304209, -0.0538876541, -0.0116118919, 0.007638562, -0.0298870187, 0.0694743469, -0.0467272922, -0.000627654, 0.0506487936, -0.0177495498, -0.0961847827, 0.0663030148, 0.0173939969, -0.0899018869, 0.016147526, 0.0124063604, -0.0264309626, -0.0376083255, -0.0256244615, -0.0046959287, 0.0442782007, -0.0005897394, -0.0325121544, -0.0268617198, -0.002672012, -0.0171633624, -0.0508012287, 0.0265149102, 0.0416093208, -0.0339763686, -0.021373786, 0.0210440811, 0.0054613757, -0.0071442476, -0.0088418927, -0.0348507203, 0.0393422917, 0.0016070638, 0.0285243094, 0.064276509, -0.0168249514, 0.0014951798, 0.0064681224, -0.0185122099, 0.0399805307, 0.0449297428, -0.0008375935, 0.0276420601, 0.0034299821, 0.0394708849, -0.0186626147, 0.0329466164, 0.0182471238, -0.0374479294, 0.0223785434, 0.0065241181, -0.0677458346, 0.0488895997, -0.0240177605, 0.0100936927, -0.0101105422, -0.047644373, 0.0164002515, -0.0358110815, -0.0088473875, 0.0109032048, 0.0045826002, -0.0221147109, -0.0390552618, -0.0125782341, 0.0005752699, -0.0540726259, 0.0038674311, -0.0010126815, 0.0402374156, -0.042577453, 0.0019821369, 0.0354721472, 0.0208329838, 0.0024197791, 0.026905369, -0.0546076447, 0.0242550652, -0.025645759, 0.0783441141, -0.0314450711, -0.0096532907, -0.0539325774, -0.0603926815, 0.0049270932, 0.0187640376, 0.0091805095, -0.0356564038, 0.0297236666, 0.05084344, -0.0078328857, -0.0162887424, 0.0076445355, -0.0251795631, -0.0288646687, -0.0271664895, 0.0078647649, -0.0763158426, -0.0176499821, 0.0014248496, -0.0009124776, -0.0150533114, -0.0101202801, 0.0079811458, -0.0318496823, 0.0733683929, -0.0390013792, -0.0243211295, 0.0123937391, -0.0391519777, 0.0620864071, 0.0386326872, 0.0053526047, 0.0062824804, 0.0174838416, 0.0079298085, -0.0135568278, 0.0373708159, -0.0282129906, -0.0493535735, -0.0271169785, -0.0000610078, -0.0381786861, 0.0334518142, 0.0689748898, 0.0861029923, 0.0115726236, -0.0229872596, 0.0179638509, 0.0532572903, 0.0386397876, 0.0168770012, 0.0275159366, 0.0440940149, 0.0064828312, -0.0186036229, -0.0043844837, -0.0418265052, 0.0123661421, 0.0383906178, -0.0967395455, 0.0610904694, 0.0165693741, -0.0180099364, -0.0198154133, -0.0466806777, -0.0036756727, -0.0326909572, 0.0851053819, -0.0113110328, -0.0274510104, 0.0312040541, 0.0518903658, -0.0131322797, 0.0000457251, -0.0124581484, 0.0031570422, 0.0437886938, 0.0232066326, -0.0525166728, -0.0496399961, 0.0003793639, -0.0294239037, 0.0237428024, 0.0069403001, -0.0315984488, 0.0050881593, -0.0619373508, 0.029125886, 0.0269065574, 0.0254813544, 0.017107144, -0.0444430597, 0.0446127392, 0.0099065509, 0.0196936149, 0.0095699988, 0.0239173304, 0.0024977792, 0.0055321157, -0.0473755859, 0.017096892, -0.0144666135, 0.0377209336, -0.0129721602, 0.0355266295, 0.0324072503, -0.0219618212, 0.0501603633, 0.0107990429, -0.0363476761, -0.0323596559, 0.0737929493, -0.0323783718, -0.009080817, -0.0189275667, 0.0064546047, -0.0393381044, 0.065724194, -0.0542585291, 0.0134262592, -0.0459095836, 0.0279321987, 0.0181767214, 0.0695349947, -0.0198044069, 0.0398314856, 0.0242721904, 0.0110034272, 0.0318967514, -0.0050395918, 0.0042049303, 0.0030859825, -0.0190710966, 0.0254581012, -0.0335288979, -0.044702407, -0.0309170391, 0.0015772538, -0.0199551694, 0.0135964574, -0.0936902761, 0.0090844333, -0.0214067567, 0.0649762526, -0.0000987001, 0.0372475646, 0.0115929674, -0.0261415076, -0.0099362377, 0.0029497999, -0.0000996901, -0.0118429363, 0.0345526598, -0.0139706377, -0.0050573396, -0.041349709, -0.0110182641, -0.0203247499, 0.0032303804, -0.0159088317, -0.0557817295, -0.0122799072, 0.0009627174, -0.0344220996, 0.0590596534, 0.0126230828, -0.0835420415, 0.0208207015, -0.0194314811, 0.0974901095, 0.017614264, -0.0393864512, -0.0097014718, 0.0255706348, -0.0494988151, -0.0271498933, -0.0257544834, -0.0105730668, 0.0112187332, -0.0470391512, -0.0023309155, -0.0281694308, 0.0830624774, -0.0542779714, -0.0181532074, 0.0186673291, -0.0143751763, -0.0491441153, 0.0210917871, 0.0314706154, 0.0106676668, -0.0376452357, 0.0196938124, 0.0133395363, 0.0073278267, 0.0795063972, -0.0296293795, -0.0386579521, -0.040831428, -0.0311374869, -0.0317126401, 0.0647954643, 0.0142671047, -0.0151973516, 0.0443651713, -0.0876937136, -0.041584637, 0.0084563503, 0.0380221866, -0.0285106022, 0.0444204621, -0.0979855657, 0.0221726447, -0.0431832038, -0.0176147018, -0.0060679186, -0.0395375825, -0.0150665147, 0.0420237742, 0.0328220949, -0.0419443958, 0.0778768659, 0.008654872, -0.019682372, 0.0581667162, 0.0056632417, 0.0387685858, -0.0215516295, 0.022533888, 0.011889888, 0.0240301974, 0.0128582772, 0.0211107489, 0.0226305798, 0.0170076732, -0.0126015395, -0.0068346635, -0.0099765379, -0.0176024493, 0.0212271437, -0.0122909769, -0.0747111365, -0.0586337522, 0.0025892803, -0.0389799811, -0.0255026948, 0.0851500183, 0.0242820568, -0.0306519885, -0.0062300093, -0.0104875565, 0.0273350347, 0.0006237125, 0.0096493354, -0.0887757465, -0.0175258424, 0.0341008678, 0.0284764804, -0.0061576194, -0.0109778764, 0.0228216406, -0.1050476953, -0.0106507428, -0.0113886651, 0.0021116955, 0.0338684358, -0.025197858, -0.019104762, -0.0360719971, -0.0239099786, 0.0170027371, -0.0258679278, 0.011279719, 0.0368449613, -0.0438494645, -0.0355367772, -0.027646834, -0.0470445044, 0.0105372733, 0.0170449726, 0.0388001502, -0.042578496, -0.0192580596, 0.0794645548, -0.0405548029, -0.0332184583, -0.0050663659, 0.0183369126, 0.0484631658, -0.0449843146, -0.0132118715, 0.0017746191, -0.028016353, -0.0168507826, -0.0598795861, 0.0316242799, 0.0170374382, 0.0249508489, 0.000065468, -0.0197113343, -0.0165689252, 0.0022336238, 0.0060345433, 0.0293096192, -0.0598161146, -0.0051539107, -0.0035752845, -0.0010058987, -0.0153909139, 0.030587744, -0.0304810964, -0.0800143033, -0.0877903327, -0.0500494428, 0.0524751991, 0.0061437604, -0.0079267593, 0.0077366834, -0.0163992345, -0.0005274932, -0.0818505585, 0.0567423403, 0.0134443492, 0.0378147326, -0.0661622882, -0.0332814716, 0.1026994064, 0.0321904011, -0.0229378156, 0.032619115, -0.0188879669, -0.0424582437, 0.0430170521, 0.0150830206, 0.0177482404, 0.0052278684, -0.0663420334, -0.0498531163, 0.0149807585, 0.0234090686, -0.0217383374, -0.0026142511, 0.0400302261, -0.0168528073, 0.01456019, 0.0136776343, 0.0213811323, 0.0160453282, -0.0615674034, -0.0028196324, -0.020623317, -0.0408000983, 0.0028338004, 0.0011016933, 0.0340238772, -0.0024717366, 0.0317802764, -0.0121940076, 0.0162562206, 0.0048880167, -0.0127625614, 0.0153190885, 0.0200097151, 0.0249851644, -0.014217779, -0.0397306681, 0.0370882004, -0.010717894, -0.0312263276, 0.0188859403, 0.0119609265, 0.0906518251, 0.0212564189, 0.0071852864, 0.0094360085, -0.0084188776, 0.0352619998, -0.0147667136, 0.0345687419, -0.0609570555, -0.0431237146, -0.0511807054, -0.0275874808, -0.0277640428, 0.0231086928, 0.0283928234, 0.0306261554, -0.0222592466, 0.0189399943, 0.0774425119, -0.0132789984, 0.0960292816, -0.0042627216, 0.0147996694, -0.0042607603, 0.0241788439, -0.03343907, -0.0107281031, 0.0207944326, 0.0092624715, -0.0293715652, -0.0263617132, 0.0213354751, 0.0423336662, 0.0325791053, -0.0108580859, 0.0028947981, -0.0209459532, -0.0060934173, -0.0317649432, 0.0141822509, -0.0320227221, -0.0211809501, -0.0368137844, -0.0812650993, -0.0164649636, 0.0455419943, 0.0019093193, 0.0093137948, 0.0425240807, 0.0062195682, 0.0028470596, -0.0206097551, -0.0311392713, 0.0470831357, 0.0382150114, -0.0347043313, 0.0024442545, -5.871937012e-33, -0.0063531892, 0.0152791711, -0.0297404621, -0.0615096651, -0.0177971199, -0.0274852645, -0.0158379041, -0.0021145246, -0.0213976223, 0.0269973632, -0.0040878397, 0.0148548521, 0.0447283164, 0.0098380717, 0.0195737518, 0.0035175628, 0.024819646, -0.0175009593, 0.0418887697, -0.0126549182, 0.0333574787, 0.0529372133, 0.1484920233, -0.015634438, -0.0016918827, -0.0039883042, -0.0104021989, 0.0181919113, 0.0132888919, 0.0413171612, -0.0191700719, 0.0250687655, -0.0014126801, -0.0015991738, -0.0039487616, -0.0085684611, -0.1069704965, -0.0096433023, 0.0141334701, 0.060419824, -0.0419034623, -0.0076048439, 0.0629190281, 0.0124854427, 0.0308991559, 0.0605868213, 0.0393934138, -0.0278965645, 0.0078625856, -0.0099161752, -0.0758991688, 0.0295255836, 0.0019754185, -0.0142033827, 0.078456223, -0.0347969048, 0.0325846188, -0.046365045, 0.0141257774, -0.0135954721, 0.0440464206, 0.0738304332, 0.0444886759, -0.0000856803, -0.038136974, 0.0246916171, 0.0359557271, -0.0896036476, 0.0594910309, 0.044762779, 0.0620669238, 0.0423220582, 0.0110202422, 0.031470485, 0.0285520889, -0.0255816542, -0.0880915821, -0.014525325, 0.0675143898, 0.0470960476, -0.0644799992, -0.0045583993, -0.0118537042, -0.0222569034, 0.0096516442, -0.027397519, -0.0125643201, 0.0026289269, 0.0042241304, -0.033785291, -0.0349862538, 0.0639202297, 0.0162461493, -0.0140209887, -0.050792437, -0.0428016484, 0.0063605164, 0.05954016, -0.042783346, 0.0485884771, -0.0127839437, -0.0327295288, -0.006026844, 0.0403614864, 0.0379736461, 0.022318013, -0.0064973491, 0.0120632956, -0.0388618149, 0.0232385006, -0.0356975868, 0.0064327423, -0.0099924579, 0.1065018922, 0.0273279585, -0.0059735826, -0.0039885412, 0.006949394, 0.069932662, 0.0078950264, -0.0381998569, -0.0280244611, 0.0175202414, 0.0237961952, -0.035921853, 0.0312529355, 0.009775606, 0.0414445885, 0.0069759907, 0.0111287246, 0.0208494104, 0.0119207669, 2.87e-7, 0.0549000911, 0.0687411353, 0.0327771865, 0.0052294233, 0.0339218602, -0.0287654158, -0.0174779687, -0.0067994907, -0.059033107, -0.0118401013, -0.0035772463, -0.0261824969, 0.0260217004, 0.0545197353, -0.1075261757, -0.0278846752, -0.0335074551, 0.0127961412, -0.0529248677, 0.0269831941, 0.0377964713, 0.1163066998, 0.0003327165, -0.0436278358, -0.0226309393, 0.0093922494, 0.0078586219, 0.0361401476, -0.00446006, 0.0278498884, 0.0309874192, 0.0122348564, -0.0041064676, 0.0196805596, 0.0051177847, 0.0207506716, 0.0068617188, 0.0170280263, -0.0417684689, -0.0176528376, 0.0472913459, -0.0533840209, 0.0026965898, -0.0261240974, 0.0723531395, 0.0078602089, 0.0098635321, -0.0335500836, -0.0231983513, 0.0251938887, 0.005902953, -0.0078314068, -0.0235597286, 0.0412859507, 0.0220786538, -0.0466382913, -0.0610226914, -0.0952036753, -0.0164793655, 0.0211465638, 0.0016523984, -0.0288265739, 0.0098671038, -0.0142807253, -0.0149549553, -0.0084170848, -0.023966454, 2.571926768e-34, -0.0089864172, 0.0026885748, 0.013636698, 0.0338597149, -0.0259188525, 0.0017610129, 0.0439667553, 0.0459920466, -0.023855418, -0.0221128929, -0.0231682658 ]
http://arxiv.org/abs/2406.12420v1
http://arxiv.org/pdf/2406.12420v1
MMUTF: Multimodal Multimedia Event Argument Extraction with Unified Template Filling
2024-06-18T09:14:17
2024-06-18T09:14:17
Philipp Seeberger, Dominik Wagner, Korbinian Riedhammer
cs.CL
cs.CL, cs.LG
With the advancement of multimedia technologies, news documents and user-generated content are often represented as multiple modalities, making Multimedia Event Extraction (MEE) an increasingly important challenge. However, recent MEE methods employ weak alignment strategies and data augmentation with simple classification models, which ignore the capabilities of natural language-formulated event templates for the challenging Event Argument Extraction (EAE) task. In this work, we focus on EAE and address this issue by introducing a unified template filling model that connects the textual and visual modalities via textual prompts. This approach enables the exploitation of cross-ontology transfer and the incorporation of event-specific semantics. Experiments on the M2E2 benchmark demonstrate the effectiveness of our approach. Our system surpasses the current SOTA on textual EAE by +7% F1, and performs generally better than the second-best systems for multimedia EAE.
[ 0.0084403343, 0.0263678879, 0.0422964506, 0.0550747663, -0.0184291136, 0.0196380764, -0.016895486, 0.0252554957, -0.0104215741, -0.1112702638, 0.0023128155, 0.0041298438, -0.0676676854, 0.0457012504, -0.0070800893, -0.0903669447, 0.0404068492, -0.0088648014, -0.0051527796, 0.0461376086, 0.0165631622, 0.044322852, -0.0365402773, 0.0154687176, -0.0641002804, -0.0073003918, -0.0145626804, 0.0248438437, 0.0447157733, -0.0229323488, -0.0517706089, -0.0005702674, 0.0707634017, -0.0124313431, 0.0000018516, -0.0637560859, -0.021320859, 0.0049730013, -0.0058280993, -0.005870658, 0.0272208396, -0.0203988627, -0.0107010193, -0.0304314792, 0.0036372757, -0.0244280268, 0.0380276479, 0.0757889748, 0.0290055498, 0.0699054152, -0.0616925806, -0.0157882068, 0.0387885273, -0.0042640097, 0.0063243606, -0.0207489114, -0.00626403, -0.0062466711, 0.033739198, 0.0121179847, -0.0004008604, 0.0338061638, -0.0125695979, 0.0214918554, -0.0396502279, 0.0290362351, -0.0181707852, 0.0094309663, -0.0520449355, 0.041389849, 0.0233937949, 0.0311253089, 0.0230924208, -0.0140350973, -0.0106252572, 0.0791541338, -0.0476375408, 0.0309644882, -0.0439098999, 0.0281025097, 0.0522416085, 0.0301019847, -0.012803779, -0.001254837, 0.0227305349, 0.0249305405, 0.0453523248, 0.0238300487, -0.0289837122, 0.0057924786, -0.0128553305, -0.0611597672, 0.0228955932, 0.0068896217, 0.0170982517, 0.0163340848, -0.0446181893, -0.0014789198, -0.0215887688, -0.0330235511, 0.0047208667, 0.023378687, -0.0520163998, 0.1058304459, -0.0139785549, -0.0203383137, -0.0325797424, -0.0004365534, 0.0010015479, -0.0269107688, -0.0618757792, 0.0290357322, -0.0211342368, 0.0238697194, -0.0414845943, -0.0423958302, 0.0173973441, 0.0229562763, 0.005196468, 0.0070177075, -0.0097630164, -0.0242290497, -0.0350374132, -0.0078695593, -0.0361393765, 0.028426785, -0.0289179701, 0.0102617536, 0.0068577826, -0.0410708226, -0.0028787397, 0.0389869064, 0.0405974351, -0.0434955247, -0.0124386661, 0.0530288368, -0.0644906238, -0.0150964642, -0.0509003103, -0.0536662266, -0.0315919295, 0.0149785075, 0.0151486006, -0.0749227181, 0.0562765524, 0.000093857, 0.003837591, 0.0026267003, 0.0028326288, -0.0160733256, -0.0598990247, 0.0700582936, 0.0107516935, -0.0132156145, 0.0361647271, 0.007025335, -0.0162402149, 0.0658705458, 0.0173503626, 0.0578637607, 0.0872475132, 0.0368007459, -0.0033509394, 0.0274964683, -0.0245880857, -0.0004501496, -0.0132820215, -0.0122423545, 0.0056900303, 0.0105598206, 0.0617579855, -0.0111335162, -0.0467350781, -0.0192522313, 0.0373908281, -0.0031537674, -0.0287106596, -0.0345475823, 0.057878878, -0.0146550415, -0.0164544247, 0.026318118, -0.0128142312, 0.0299564581, 0.0190471616, -0.0013595941, 0.0366346724, 0.0053196698, -0.0391625278, 0.0029091334, 0.0099395495, -0.0502679534, -0.0125065129, -0.0175537895, 0.0252413042, -0.0161010362, -0.0375821963, 0.069000259, 0.0174171869, -0.0165725816, 0.0299476553, 0.0070753405, 0.0204932876, 0.0189779736, 0.0147135863, -0.0349412337, -0.056926433, -0.0004553289, 0.0417648628, 0.0164777283, 0.0113839135, -0.0167302061, 0.0347593129, -0.0447449237, -0.0137401717, -0.0573585033, 0.0049238526, 0.0241287109, -0.0236174334, 0.0314310454, 0.0090293065, 0.0155181792, 0.0195679627, 0.0217277911, 0.0606920347, -0.0487460345, -0.0430302955, 0.0337979533, 0.0306031462, 0.0117975259, -0.005645073, -0.0275162738, 0.0002050648, -0.0284622554, -0.0094511742, 0.051347997, -0.0526711717, -0.037692558, 0.0131723061, -0.051651299, -0.0234861132, 0.0076104817, -0.0374657251, -0.0442967229, -0.0214514565, 0.0186263118, 0.0137563711, -0.0467775799, 0.0141920699, 0.0705564022, 0.00153957, 0.0053711091, 0.0562657304, 0.040014971, -0.0382949896, -0.0116102677, 0.0040552458, 0.0356811509, -0.0404377952, -0.0152638173, 0.0321210288, -0.0127805853, -0.007574047, 0.037228141, -0.0428239256, -0.0625464171, 0.0108929127, -0.1285298765, 0.0058676763, 0.0005465873, 0.0452666879, 0.0189051162, 0.0219913069, -0.0128879678, -0.0091292774, -0.0450208373, -0.0839024633, -0.0290666185, 0.0289003812, 0.0443215705, 0.0378942043, 0.0376370735, -0.0199752487, -0.0001836417, -0.038927149, 0.071493879, 0.0000958755, -0.0436758138, -0.0083401632, -0.0314434692, -0.0161474161, 0.0478747785, -0.0048067383, 0.0041872794, 0.0132551445, -0.0034337924, 0.0268903747, 0.0506834164, 0.0038500228, 0.043363452, -0.0325070955, -0.0393667072, -0.0555965416, 0.0285712816, -0.0183098316, 0.0127462689, 0.0109784566, -0.0002982885, 0.0150439925, 0.0247335583, -0.0066301012, 0.0527572967, -0.0535377264, -0.0123002278, 0.046868939, 0.0143477498, -0.0251335725, -0.0212299936, -0.000372414, 0.0131321903, -0.0336197317, 0.0077750245, 0.0441009998, -0.0307982732, -0.0132224718, 0.0008354, 0.0385916904, -0.0494141392, 0.0724107549, -0.0082558161, 0.0281923451, 0.0157097578, -0.0483382605, -0.0078247366, -0.0545505024, 0.0758420378, 0.0048528505, -0.001495241, -0.0294351969, 0.0128436955, -0.0251657572, -0.0147812292, -0.014862556, -0.0242366474, -0.0074250577, -0.0074610733, -0.0573182181, 0.0133739682, -0.019018203, 0.0144266998, 0.001494846, 0.0185224228, -0.0058993376, -0.0010702484, -0.0152615719, 0.1222869381, 0.047487434, -0.0011295223, -0.0659016445, 0.0120329708, 0.0029286104, 0.0718474463, -0.0027711284, -0.0000514729, -0.0342150815, 0.0481315143, 0.0020799735, -0.0217854958, -0.0254427921, -0.0043922644, 0.0732835084, -0.0640154332, 0.0489996299, 0.062109109, 0.0332298614, 0.0078676948, -0.0319550969, 0.0401626937, -0.0302708037, 0.0203486476, 0.0147169009, -0.0630572811, -0.0589767694, -0.0250106342, 0.0013842623, -0.0119103622, 0.0081715602, 0.0052598286, -0.0545174517, 0.055482734, -0.0141572701, 0.0259684026, 0.0040302617, -0.0582643561, 0.0316384695, -0.0285151694, -0.033054173, -0.0265859533, 0.0047847638, -0.0124477847, -0.0083514089, -0.0029024594, -0.0538564473, 0.0157236513, -0.0559886843, 0.0046283365, -0.029717043, 0.0415991731, -0.0142304879, -0.0323115662, -0.0074565592, -0.0271803439, 0.0042690123, -0.0083930828, 0.0458013527, -0.0599339046, -0.0170929302, 0.011103374, 0.0398063958, 0.0363966487, -0.059055429, -0.0242722165, 0.1019929796, 0.0014181407, 0.0367444977, -0.0095227305, -0.0277259834, 0.0358280055, 0.049312897, -0.0143943867, 0.0058608898, -0.0058214818, 0.0181452595, -0.0128138708, -0.0332999937, 0.0195845086, 0.0090360194, -0.050728064, -0.0752514601, -0.082197465, -0.0322892703, 0.0109156687, 0.0492537729, -0.0502110869, -0.006824397, -0.0004542075, 0.0044175638, -0.0595409758, 0.0907175019, -0.0126652699, -0.0072719436, -0.0123061724, 0.0115649896, 0.0148496581, -0.0033155626, -0.0246961024, 0.0595376715, -0.0134007204, -0.0243380386, -0.0577863269, 0.002320844, 0.0034114996, 0.0602926575, 0.0349819176, 0.0057401285, 0.0232706517, 0.0252245311, -0.0029295643, -0.0383338071, 0.0349489972, -0.0062212069, -0.0308431555, -0.0127562443, -0.0155799482, 0.0249904301, -0.0212210435, 0.0412174948, -0.0326510668, -0.0039623929, 0.0105680507, -0.0080160582, 0.0591510162, -0.0232616663, -0.0413419157, -0.0297115911, -0.0054405597, -0.029558789, -0.0115701659, -0.0441819876, 0.0469466783, -0.038012974, 0.0207399968, -0.0172877535, 0.0050725746, -0.0217615645, 0.01681206, -0.0450511165, -0.0165821984, 0.009078078, 0.0100853108, -0.0517318696, -0.0011774169, -0.0065312823, 0.0229401793, 0.0171980318, -0.0022354305, -0.0713227317, 0.0855696425, 0.0277306139, 0.0056638066, 0.0004020694, 0.0393229686, -0.011825569, 0.0391333774, -0.035790924, 0.0071302694, 0.0643150955, -0.0697557554, 0.0151501354, -0.0164392777, -0.0285667386, 0.0307316612, 0.0364287011, 0.0192873161, -0.0018099766, 0.0612267777, 0.0157802086, -0.0003420977, 0.0480516255, 0.0183422733, -0.0703316107, 0.0371784419, 0.0224984977, -0.0294278115, -0.0393166617, -0.0078214034, 0.0837639421, 0.0099719707, -0.0226194598, -0.0321449675, -0.0159329493, 0.0075605097, 0.0479695052, 0.0041615847, -0.0359685011, 0.0494068712, 0.0430818088, 0.0512097105, 0.0487873033, -0.0015983887, -0.0155794481, -0.0223305114, 0.0066230269, -0.0042937691, -0.0120936735, -6.355099353e-33, -0.0230766553, 0.0122330952, 0.0061401874, 0.0691920146, -0.0058572819, 0.0206064023, -0.0139426505, -0.0181831755, 0.0369763523, -0.0041582086, 0.0248674266, -0.0543545857, 0.0188970994, -0.0105636539, -0.0063536749, -0.0058211461, 0.0108268289, -0.0046921507, -0.0470278338, -0.0024560811, 0.0674782693, 0.0049674315, 0.0476337187, -0.1188553199, -0.0055766194, 0.0642938018, -0.0284671858, -0.0212687608, 0.0911152959, 0.0763115659, -0.012276968, 0.0138989501, 0.0131997773, -0.0553471111, 0.0187359061, 0.02271544, -0.0824797153, -0.0255700629, 0.0526877977, -0.0053640483, -0.0498065911, -0.0420131981, -0.0111970911, -0.0096929586, 0.0462517962, -0.0306673329, 0.0269995369, 0.0089179203, 0.0175891928, -0.0606484078, -0.0827437937, 0.0448011868, -0.015326011, -0.0296039209, 0.0211466923, -0.0220490936, 0.0643355176, 0.0263191927, -0.0376681462, 0.0065004365, -0.0715494826, -0.0070058038, 0.0500601679, -0.0219680779, -0.0469170175, 0.0426364541, -0.0412125699, -0.0400681682, -0.0204471964, 0.0399791673, -0.0125764236, 0.0942874253, -0.0055891466, 0.0459723808, 0.021003399, 0.0346886106, -0.0423225798, 0.0426960923, 0.0005486562, 0.0399103127, -0.0301337559, 0.0334329568, -0.0243986621, 0.0275494754, -0.0182150956, 0.0019173926, -0.0293684267, -0.0304050446, 0.0058762366, 0.0111503517, -0.0041104066, 0.0914262682, 0.0674311742, 0.0315026827, -0.0081621185, -0.0232251883, -0.0113610821, 0.0607657954, -0.0227674711, 0.0069555286, -0.0101944795, -0.0428421423, 0.0700489432, -0.0182954911, 0.0400672927, 0.0017393051, 0.0277980138, 0.0336838178, -0.041145809, 0.0078756381, 0.0022743656, -0.0248666182, -0.0494231135, 0.003690283, 0.0403467901, -0.0094489604, -0.0447948575, 0.020104371, 0.0141203078, 0.0043860078, -0.0213537514, -0.0849577188, -0.0128562003, 0.0264591277, 0.0097191008, 0.0349033028, 0.0036072386, -0.0351825692, -0.0079465928, -0.0169365052, -0.0114158513, 0.0396982394, 2.66e-7, 0.0312250443, 0.0220612101, 0.0413849652, 0.0144259194, 0.0010141502, 0.0349049866, -0.0014218175, 0.0551448278, 0.0106866034, -0.0245578792, 0.0103337793, 0.0196638275, 0.0220768321, 0.0230230484, -0.0321167037, -0.0117013818, -0.0184625033, -0.0155508686, -0.0776946917, 0.0174672492, 0.1138035432, 0.0523977429, 0.0195618086, -0.002401324, 0.0104317619, -0.0295472387, 0.0722363964, -0.0144326827, -0.072702229, 0.0067173783, 0.0209130272, 0.0104739303, -0.0397531204, 0.0382556021, -0.0135247689, -0.0103267655, 0.0318106376, 0.0352169387, -0.0199777484, -0.0135900714, -0.0512371249, 0.0009536631, -0.00627437, -0.0481084213, 0.0747200251, -0.0251634028, -0.0160856638, -0.0487507284, -0.0859981924, 0.0552116595, -0.0369182602, -0.0018152188, -0.0497463495, 0.0424393937, 0.0418018959, 0.0054667103, -0.0495683253, -0.1204749569, 0.0170627665, 0.018962834, -0.0005771714, -0.0136590041, -0.010075218, -0.0564533211, 0.0373035595, -0.072632134, -0.0637817979, 2.257690266e-34, -0.0091522029, 0.0314858444, -0.0086320899, -0.0049905437, 0.043347612, 0.013588638, -0.0401881188, 0.0050542168, -0.0225697123, -0.0174582209, -0.010566324 ]
http://arxiv.org/abs/2406.12419v1
http://arxiv.org/pdf/2406.12419v1
AI-Assisted Human Evaluation of Machine Translation
2024-06-18T09:12:11
2024-06-18T09:12:11
Vilém Zouhar, Tom Kocmi, Mrinmaya Sachan
cs.CL
cs.CL
Annually, research teams spend large amounts of money to evaluate the quality of machine translation systems (WMT, inter alia). This is expensive because it requires detailed human labor. The recently proposed annotation protocol, Error Span Annotation (ESA), has annotators marking erroneous parts of the translation. In our work, we help the annotators by pre-filling the span annotations with automatic quality estimation. With AI assistance, we obtain more detailed annotations while cutting down the time per span annotation by half (71s/error span $\rightarrow$ 31s/error span). The biggest advantage of ESA$^\mathrm{AI}$ protocol is an accurate priming of annotators (pre-filled error spans) before they assign the final score as opposed to starting from scratch. In addition, the annotation budget can be reduced by up to 24% with filtering of examples that the AI deems to be very likely to be correct.
[ 0.0299345572, -0.0078570805, -0.009787295, 0.0362739637, -0.0059410171, 0.0193325318, 0.0119864019, -0.0090653831, -0.0235318299, -0.026520893, 0.001586199, -0.0079198601, 0.0376801863, -0.0140861366, 0.0429478399, -0.0632465929, 0.0246456116, -0.0013623316, 0.0136912465, 0.021010574, 0.0191274062, -0.0061629727, -0.0239173174, 0.0488884002, -0.031324774, 0.0115971239, 0.0044331714, 0.017771082, 0.0601508878, -0.0556751788, -0.0120753134, 0.0620659851, -0.0356701091, 0.0732721835, 0.0000018775, -0.0492063016, -0.0336089469, 0.049086228, -0.0020760477, 0.0416241251, 0.0117643317, -0.0218632463, -0.0352304578, -0.0023684422, -0.0283566937, -0.0004332738, 0.0671952069, -0.0156088108, 0.1059287637, 0.034628205, -0.0230424423, 0.0223821793, -0.0073467125, -0.0146030951, 0.002636912, -0.0747859851, -0.024044428, 0.0067395167, -0.0097579146, 0.0034024578, 0.0065708375, 0.0382768251, 0.0180080477, -0.0392197669, 0.005234377, -0.0207381099, -0.0718370453, -0.049255304, -0.0117197689, 0.0488062724, 0.013142067, -0.0063768723, -0.0237758048, -0.0106566865, -0.0037093575, -0.0353847332, -0.0099352952, 0.0140932081, 0.000989828, -0.0101536009, 0.0104128756, 0.0500726588, 0.0073490897, -0.0010153531, -0.0279167034, 0.030681273, 0.0029374096, -0.0376448147, -0.013071632, 0.0596237034, -0.0157012064, -0.0305461176, 0.0651812851, -0.0118216462, 0.0021255058, -0.009964074, -0.0475094765, -0.078028366, 0.0275072064, -0.040238142, 0.0082781566, 0.041913271, -0.0342154913, 0.0336279385, -0.0141965505, 0.0601110607, 0.0161527302, 0.0005261637, -0.0410707369, 0.0014391034, -0.0048923823, 0.0404905789, -0.0486338586, -0.0238448791, -0.0254360586, 0.0349566527, -0.0677390099, -0.0038799555, -0.025848968, 0.0618086271, -0.0039245696, -0.0357872695, -0.0313358605, -0.0089095738, -0.0083248513, 0.0171638802, -0.0289869457, -0.0084799612, 0.0131771695, -0.0687891096, -0.0197275765, 0.0294750594, 0.002526256, -0.0144070089, 0.0037082853, 0.0469751433, 0.0197960045, -0.0278525446, 0.0074919621, -0.0232287161, -0.016274808, -0.027298728, -0.0225208346, -0.0627000332, 0.0346867628, 0.0031612725, 0.009846299, -0.0029582267, 0.0234088525, 0.0041940976, 0.0108389482, 0.0644448102, -0.0425611809, -0.0208405964, 0.0185032487, -0.0099236136, -0.0247776378, 0.0335490666, 0.0727963746, 0.025643941, 0.0447523966, 0.0276777577, 0.0215527359, 0.0564316623, -0.0014064834, 0.0013028793, 0.0168678891, -0.0211299602, -0.026653368, 0.0237832684, 0.0186440535, 0.068636097, -0.0220867526, 0.0363406539, 0.028679831, 0.0541838929, -0.0226641968, 0.0556391813, 0.0586856231, -0.0006966679, 0.0421046391, 0.000185251, -0.0279065277, 0.0220264979, -0.0179273356, -0.0156195424, 0.0573519878, 0.0083614821, 0.0142721618, -0.0832072571, -0.0230847783, -0.0180297531, 0.0171367563, -0.0445572548, 0.0396858826, 0.0194748882, -0.0277459137, 0.0051872996, -0.0091843065, -0.0611733757, 0.0050228415, -0.0208503287, -0.0192027912, 0.0900479108, 0.0585770793, -0.0296246801, -0.0043885158, -0.0131118884, 0.0021436946, 0.0387854353, 0.0851630867, -0.0076745721, -0.0330850817, -0.0380437449, -0.0120798564, 0.0528883152, 0.0108249905, 0.0136433002, -0.0060575972, 0.0108791776, 0.0103630582, -0.0300121922, -0.1279696822, 0.0309879947, 0.0400518067, -0.0181799475, 0.0083795413, 0.0132360766, 0.0577896312, 0.071145162, -0.0323544815, 0.0081872074, 0.0099446215, -0.0202315561, -0.0332592651, 0.0320034064, -0.000296475, -0.0101552336, 0.0334068052, -0.0827597231, -0.0419989713, 0.0048711319, -0.0399300642, -0.0340203904, -0.0558441393, -0.071528852, -0.0286657605, -0.0414728783, 0.0476032421, -0.0013232321, -0.015793886, -0.0472515821, 0.0079674516, -0.0012044378, 0.0164065603, -0.010073334, -0.0138521269, 0.0405038297, -0.0314987339, -0.0716963187, 0.0166749433, 0.0327711813, 0.027940467, 0.0338989384, 0.0059750951, -0.0275931656, 0.0020261018, -0.0687538609, -0.0120963184, -0.0116069671, 0.0447219238, 0.0193329807, -0.0183579661, 0.0060660308, -0.0031934595, 0.006171687, -0.0094434777, 0.0022061514, -0.0101672355, 0.0559140854, 0.0131621724, 0.023204688, -0.0535517, 0.0095374268, -0.0212683436, 0.0204646271, 0.089170821, -0.0403557085, -0.0988822654, 0.0201104414, -0.0262504052, 0.0059681376, 0.0475870147, -0.0738777518, 0.0122382501, 0.0064862254, -0.045886863, 0.0333248712, -0.0095113385, 0.0223914962, 0.045825135, 0.0267636012, -0.0168391708, 0.0081616146, 0.0070022396, -0.0077727935, 0.01610405, -0.0438088849, 0.0190571435, 0.0164808985, -0.0093240151, 0.0051219305, -0.0424794219, -0.0117279598, -0.0474903658, -0.0227275714, 0.0171320755, -0.0185239781, -0.0063992478, 0.072488524, -0.0072329524, -0.0476099998, 0.0822477043, -0.0516336076, -0.0224473998, -0.0578093939, 0.0559115745, 0.00393546, 0.0191571917, -0.026832927, 0.0165082179, -0.0439583026, 0.0036083558, -0.0007643775, 0.0380801857, 0.0553324036, -0.0447164811, 0.0061803567, -0.0832237229, -0.0005951439, -0.0181299429, -0.0036302123, -0.0253778435, 0.009319623, -0.0378354415, -0.0225386247, 0.0133809112, -0.0312664695, -0.0182369929, 0.0083583286, 0.0353896022, 0.0635605156, -0.0034040704, -0.0034769569, -0.0023581656, -0.0049290331, -0.0476699434, 0.0163935255, 0.0468118042, -0.0403474085, 0.022628922, 0.0287606865, -0.0189069938, 0.0254638921, -0.0185530372, -0.0188055355, 0.0450461283, -0.0140028577, -0.0382147655, 0.0026263071, 0.0484417416, -0.0645450801, -0.0066953567, 0.1159306467, 0.0433662795, -0.0507108048, -0.0145542305, -0.0137398224, -0.0018309884, 0.0138072418, 0.0240101945, -0.0980404168, 0.0088134278, 0.0167804733, 0.0656318292, 0.0054127448, -0.0002014933, -0.0008301114, -0.0918118283, 0.0556821153, 0.0469124801, -0.0574564449, -0.0290370788, -0.0031913968, -0.0169870816, -0.0360113829, 0.0093569243, -0.0104789445, 0.0529766455, 0.0084393257, 0.0392076597, -0.0358478948, -0.0739730969, -0.0202750769, -0.0583902374, 0.0651147142, 0.1006033346, 0.0493206792, -0.0113868965, -0.0328971148, 0.0159318186, -0.0127901332, -0.0166661888, -0.0045189396, 0.0647411644, 0.0189128276, -0.0240060799, 0.018164726, -0.0101880934, -0.0107570756, 0.0047284858, 0.0090503767, 0.0572729632, -0.0120637799, 0.049681142, 0.0201182049, -0.0117338859, -0.0039021845, 0.0382587798, 0.0231194142, -0.0409110375, -0.0131501714, -0.0497993417, -0.0162975099, -0.1055056974, -0.0212268755, 0.0217421781, -0.0616390072, -0.067138806, -0.1091984138, -0.0792746469, 0.0250744708, 0.0466507934, 0.0162495393, -0.0229822546, 0.0145841641, 0.0165171232, -0.0087104216, -0.0075791241, -0.0098384237, 0.0213257857, -0.0129125658, 0.0074517448, -0.0234515071, 0.0052211713, -0.0063304049, 0.0458578989, -0.0368376225, -0.0464074574, 0.0067065391, 0.0712989718, 0.0256500691, 0.0085430117, -0.0640555546, -0.0453992747, -0.0066676317, 0.0149325859, 0.0045966455, -0.0021166089, 0.0254233442, 0.0138139213, -0.0249813758, 0.0020546217, -0.0100146225, -0.0033026892, -0.0233897287, 0.0265310686, -0.0228663627, -0.0472241826, 0.0236297045, 0.0479762331, 0.0344913341, -0.0640548393, -0.0362670608, -0.0129851894, -0.0030769568, -0.0176537782, -0.0419730619, -0.0480107851, 0.0143337743, 0.0061904909, -0.0426812209, -0.0004435314, 0.0340454802, -0.0525129624, -0.0227078516, -0.0207331758, 0.0208390485, 0.0081587136, 0.0650831684, -0.0166949537, 0.0283241495, -0.002895006, -0.0166251883, 0.0159979202, 0.022597013, -0.0200666096, 0.0046174144, 0.0098460447, 0.0144693935, 0.0534689799, 0.0458895899, -0.02118087, 0.0319339372, -0.0482165292, 0.0317551158, 0.0858047977, 0.0152180288, 0.1324177533, -0.0087386072, -0.0141255371, -0.0181831568, 0.0384471714, 0.0092153931, 0.0031106314, -0.038717594, -0.00240908, 0.0179822557, -0.0009622157, 0.0139897782, -0.0427628569, 0.0134022823, -0.0424400121, -0.046072118, -0.0409851149, -0.0084095858, -0.0522612222, -0.0426542386, -0.0211814735, -0.0350925624, -0.0388180241, -0.0397678353, 0.0086657796, 0.0530981869, 0.0314429328, 0.0009384634, 0.015097796, 0.0654145032, -0.0375977084, 0.0211970229, -0.0276564062, -0.0375922285, 0.0076404531, -0.0205590278, -0.0407254957, -5.594065944e-33, -0.038384188, -0.0766931921, -0.0258670803, -0.0188219585, -0.012953382, -0.013196785, -0.0360377841, 0.0025010898, 0.0328688361, 0.0319774263, 0.0035044618, -0.0140088489, 0.0337036774, -0.047694359, 0.0334352702, 0.0232904665, 0.0550760329, 0.0108631849, -0.0547765791, -0.0180366263, 0.0044445349, -0.0164600778, 0.063310802, -0.0858927146, 0.0955407619, -0.0227503665, -0.0695091784, 0.0050987015, 0.0286329873, 0.038726829, 0.0295531116, 0.0154213365, 0.0198333524, 0.0052045882, -0.0259425882, -0.0371387824, -0.0764929652, -0.0067576668, 0.0025458566, 0.0658348203, -0.0343845151, -0.0206117891, 0.0426185019, -0.0572419725, -0.046852015, 0.0357872695, 0.0380704813, -0.0686190128, 0.006074944, -0.0091902902, -0.0405005738, 0.034556713, -0.0253769066, -0.0192019958, 0.0291427076, 0.053737592, -0.0072881118, -0.0186981801, -0.0643827543, 0.0104046334, -0.0073569147, 0.0019519733, 0.0656087995, -0.049524799, -0.0420479625, 0.0097570736, 0.0077195698, -0.0100778677, 0.0373858847, 0.0056480626, 0.0215478893, -0.0225198492, 0.1023817435, 0.0518860444, 0.0057395371, -0.0049291942, -0.0393823124, 0.0954981446, -0.0407960601, 0.014013676, -0.0102372896, 0.0043675322, -0.0633827671, 0.0061783446, -0.0483411849, -0.0665497631, -0.0212765206, -0.0214161258, -0.0084019881, 0.0011613681, -0.0483501963, 0.0252951775, 0.0492885821, -0.00901228, 0.0258109327, -0.0417734571, -0.0170224141, 0.0349953882, -0.0136993863, -0.0011443296, 0.0179161113, -0.0037312428, 0.0121118892, 0.041900795, 0.0375125147, -0.0323023796, 0.0697858855, 0.0398187414, -0.0438582264, 0.0381189212, -0.023350846, -0.0054568537, -0.000121316, -0.0183177553, 0.0121795218, -0.0253880378, -0.0156474151, 0.0342468582, 0.0135385152, 0.0510122702, -0.0442740172, 0.0197727513, 0.0098347301, 0.0070425016, -0.0590537377, 0.0204808619, 0.0165495109, 0.0130839553, 0.0115336347, -0.0329326056, -0.0208759643, -0.0381292701, 2.475e-7, 0.0588919707, 0.0707826093, 0.0506679676, -0.0042680809, 0.0108984523, 0.0012887719, -0.0264144987, 0.009680856, -0.0106564127, 0.0483263992, 0.0594869703, -0.0101139341, 0.0854137391, 0.0581188463, -0.0341964327, -0.0520796627, -0.023811806, -0.0069823121, -0.0196752269, -0.0098219188, 0.0915328711, 0.0488829128, 0.0061693857, 0.005959894, -0.0078972671, -0.0372938886, 0.0477141812, 0.0235187002, -0.0097165108, 0.0085548228, 0.0679562315, 0.0325426608, -0.0258865897, 0.014850148, -0.0378444977, 0.0019435904, 0.0619069003, 0.0480316319, -0.0085103214, 0.0132893212, 0.0137180164, -0.0013166749, 0.027551854, -0.0086051915, 0.0147685437, -0.0043364684, -0.0080502341, 0.0199126583, -0.0203793291, 0.0012294921, 0.0572582968, -0.0090598874, -0.0120538566, 0.0234959833, 0.0280372873, 0.0100616273, -0.0243911874, -0.0309877824, -0.0321226567, -0.001639858, 0.0115402341, -0.05428195, 0.0105206249, -0.0086633814, -0.0080814641, -0.0322361365, 0.0029340098, 2.016674205e-34, 0.0586954281, -0.0470489301, 0.0264124367, 0.0038849402, 0.0476250127, 0.0225699674, -0.0330538712, -0.001036345, 0.0144634601, -0.008785367, -0.0157050677 ]
http://arxiv.org/abs/2406.12416v2
http://arxiv.org/pdf/2406.12416v2
Beyond Under-Alignment: Atomic Preference Enhanced Factuality Tuning for Large Language Models
2024-06-18T09:07:30
2024-06-27T12:07:55
Hongbang Yuan, Yubo Chen, Pengfei Cao, Zhuoran Jin, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have achieved remarkable success but still tend to generate factually erroneous responses, a phenomenon known as hallucination. A recent trend is to use preference learning to fine-tune models to align with factuality. However, existing work primarily evaluates fine-tuned models on in-domain (ID) datasets and the factuality on out-of-domain (OOD) datasets remains underexplored. In this paper, we conduct a comprehensive evaluation of the factuality of different models tuned by various preference learning algorithms and demonstrate that their performance on OOD datasets either increases minimally or decreases. Subsequently, we reveal that the main cause of model's failure to uphold factuality under a distribution shift is \textbf{under-alignment}, rather than \textbf{over-alignment}, by analyzing the token distribution shift of the models before and after tuning. Finally, we propose \textbf{APEFT} (\textbf{A}tomic \textbf{P}reference \textbf{E}nhanced \textbf{F}actuality \textbf{T}uning), a framework that enhances model's awareness of factuality at the granularity of individual facts. Extensive experiments demonstrate that APEFT improves model performance by an average of $\boldsymbol{3.45\%}$ on both ID and OOD datasets, which is highly effective.
[ 0.0427362062, 0.0712805167, 0.0030159818, 0.0409595668, -0.0574467219, 0.012402284, -0.0121317254, -0.0357727297, -0.0434777923, -0.0437773168, -0.0286460947, -0.0634027049, 0.007062322, -0.0114242034, -0.0025058426, -0.0043306025, 0.0588257201, -0.0238968786, 0.0209141616, -0.0220510457, 0.0177368391, 0.0086768111, -0.0286087785, 0.0178217925, -0.0018071681, -0.0067368192, 0.0124165947, 0.0090408176, 0.0294950306, 0.0164693259, -0.0092448024, 0.0531414412, 0.0030228004, 0.0385436118, 0.0000020942, -0.0578642078, -0.0202858187, -0.0156508312, -0.0289709363, 0.0307701267, 0.0547855869, 0.0091114501, -0.0364494994, 0.0108300541, -0.029673133, 0.0192441065, 0.0883743316, 0.0429551713, 0.01209452, 0.1035632044, 0.0000630463, -0.0343416147, 0.0171748362, -0.0216610711, -0.0097087463, 0.0152920354, 0.0318341367, -0.0085981609, -0.0374688543, 0.0059620556, -0.0062797558, 0.0159264412, -0.0082865823, 0.034552265, 0.0242380146, 0.0384167992, -0.0608783923, -0.022452144, 0.0124018732, 0.0898965746, 0.0067847203, -0.044963181, -0.015428517, -0.0298811626, -0.0228905138, 0.0219587013, -0.0085176211, 0.0036811745, -0.0097311353, 0.0654223785, 0.0663343295, -0.0030091305, 0.0293464195, 0.0247892551, -0.0593904369, 0.0996209979, -0.0002388814, -0.0377568603, -0.0007567553, -0.0089970119, -0.0619803667, -0.0346851647, 0.0066882102, -0.0201603491, -0.026523849, 0.0377254151, -0.0460357331, 0.0353538059, 0.0394571461, -0.0846055448, 0.0468242876, 0.0462974422, -0.0391631052, 0.0299332179, 0.0056320103, 0.0566666797, -0.0144630363, 0.0484631024, -0.0502551757, 0.0199864581, -0.0185704213, 0.0230996069, 0.0130047491, 0.0284456518, -0.0188513137, -0.0065223374, -0.0327293351, -0.0117978062, -0.0087315161, 0.0379611552, -0.0182358809, 0.0137683321, -0.0615069568, -0.0281287283, -0.0678565949, 0.0852937028, -0.011167746, -0.0018498345, 0.0017072038, -0.043323148, -0.0012250062, -0.006887076, -0.0300115701, -0.0337699614, -0.0045950045, 0.0290233698, -0.0028504748, -0.0181023236, -0.0034319244, 0.0174376983, -0.0511023849, -0.0934438035, 0.0097895917, -0.0752137154, 0.0235385336, 0.0199442841, 0.0043482026, -0.0725228339, 0.0069015594, 0.0006322166, -0.0481670536, 0.0618575178, 0.024049297, -0.0119025819, -0.0276962668, -0.0284874775, 0.0278656222, 0.0589376502, 0.037877623, 0.0152229024, 0.0382939689, -0.0009034856, -0.0223959517, 0.0028970288, 0.0091456408, 0.0246235505, -0.0337471478, 0.0134591125, 0.0165727288, 0.0370176509, 0.0485701151, 0.0218465254, 0.0068276343, -0.0413011424, 0.0961412266, -0.032928016, 0.0144313667, -0.001035924, -0.0218061581, 0.0161435269, 0.0168662146, 0.0615896657, -0.0816360563, 0.0538787283, -0.026663607, 0.0429390743, 0.0212969612, 0.046908129, -0.0052930359, -0.0609007254, -0.0097558936, -0.0034920711, -0.0297459308, 0.0118585257, 0.0454515181, -0.0223229099, -0.041830603, 0.0343588889, 0.0737032741, -0.0304269381, -0.0142748049, -0.0331278481, 0.0384697989, 0.0761271343, 0.0373687893, -0.0527544729, -0.0559829362, -0.0044675041, -0.024239799, 0.0773183182, 0.046965789, 0.0046872939, -0.0023957905, -0.0587808602, -0.0159728043, -0.0156511012, 0.0247704498, 0.0220595095, -0.0089478428, -0.0103887208, 0.0000977396, -0.0278221127, -0.0207923502, 0.0279885866, 0.0022625988, 0.0016199579, 0.0037566843, 0.0217689835, 0.0360434577, -0.0091983657, -0.0241768546, 0.0140405009, 0.0195486378, 0.0033260807, 0.0011409216, -0.023571549, -0.0654160157, -0.0144381216, 0.0669756457, 0.0039740084, 0.0198298506, 0.0111942515, -0.053427536, -0.0303929988, -0.0115338247, -0.0086266184, 0.031465508, -0.02530564, 0.0372895375, -0.0002496645, 0.0156623591, -0.0641135126, 0.0645366833, -0.0279238205, 0.0175097305, 0.0007341007, 0.0011040773, -0.0038454647, -0.0308385771, 0.0089312159, 0.0296628196, 0.0101834442, 0.0248842742, 0.0451055989, -0.0220162757, -0.0203564633, -0.0188673306, -0.0672676936, 0.0317784287, -0.0303120948, -0.0062387008, 0.0338851325, -0.0067305733, 0.0013984781, 0.0000103008, -0.0291839, -0.0136074442, -0.0300731305, -0.0051550381, 0.0420333073, 0.0027747722, -0.0086714644, -0.0554612279, -0.0054265787, -0.0285597127, -0.0062848511, -0.0379165635, 0.0104007619, -0.0615373701, 0.0395719223, -0.0811577141, 0.0157194864, -0.0212370623, -0.0396382883, -0.0157375466, 0.0162012205, 0.0441740192, 0.0792382509, 0.0216008816, 0.0074894526, 0.0953295678, 0.0301758647, -0.0502352528, -0.0058298297, -0.0380108021, 0.0230509285, -0.0281911418, -0.0202196352, -0.0049810507, 0.0613037758, 0.0122803636, -0.0024588637, -0.0500911996, 0.020083895, -0.0256676488, -0.0311258901, 0.015511062, 0.0249121971, -0.0175388604, 0.043593958, -0.0275621433, -0.0365168713, 0.1110917255, -0.0291049387, 0.0300401337, -0.0824582279, -0.0107581886, -0.0218856409, -0.0216005389, 0.0352756567, 0.0226704143, 0.0295802634, 0.0168617852, -0.0671027973, -0.052478727, 0.033731211, -0.0347211547, 0.0866133422, -0.0458936766, 0.009089428, 0.0076119467, -0.0595516413, -0.0332973525, -0.0792244747, 0.0034078518, 0.0014959408, -0.0184937436, -0.0414645299, -0.0641893446, -0.0104088504, 0.016113542, 0.0447264686, -0.0228408501, -0.0010591561, -0.0182002541, 0.0170862097, 0.0814877599, 0.0166300591, 0.0641647503, 0.0000667764, -0.0106353555, 0.0445968509, 0.0469453186, -0.013051576, -0.0260361619, -0.0092181005, 0.0300361384, -0.0289460607, -0.0307508614, 0.0066300989, 0.037203081, -0.018131135, -0.0115210125, 0.1161021143, 0.0435694717, 0.0048865709, 0.0217899848, 0.0055710142, 0.0374475196, 0.0077115302, 0.0074068764, -0.0658130124, -0.0233778581, 0.0085559627, 0.0058358666, -0.0195421837, -0.0122420397, 0.002145163, -0.1194635779, 0.020444015, 0.0381950438, -0.020915255, -0.0353744589, -0.0519913137, 0.0246870052, -0.0549584813, 0.0444680303, 0.0126931826, -0.0065913899, -0.0090110367, 0.0337825269, 0.0097717224, -0.0535139032, 0.0295557175, -0.0203117095, 0.0730600283, 0.0787326023, 0.0402625799, -0.0258292295, -0.0206061471, -0.0032049862, 0.0006284234, -0.0201052036, -0.0182740055, 0.019247245, -0.0072820922, -0.0076279724, -0.0288823582, 0.0298777036, 0.0117080137, -0.0205386207, -0.0390850455, 0.0512239896, -0.0205076654, -0.0015884265, -0.0151068578, 0.0124677988, 0.0049768374, 0.068444401, -0.0043204515, -0.041684974, -0.0149794668, -0.0555342101, -0.0153119741, -0.037873935, 0.0215100218, 0.0093987705, -0.0106982552, -0.0215714928, -0.079216063, -0.0019562868, -0.0267390367, 0.0285512004, 0.0080223568, -0.0217091702, 0.0294925123, -0.0152456155, -0.0049392255, 0.0304285921, -0.0577782467, 0.0271214526, -0.0487188213, -0.0096854921, 0.061340481, -0.0340415612, -0.018294394, 0.0067954767, -0.0162901636, -0.0822845548, 0.0321544111, 0.0521425791, 0.0268466529, 0.0661906004, -0.0082958145, -0.0413958579, 0.0396115892, 0.0488034002, -0.0372570939, 0.0110974386, 0.0416056514, -0.0152016627, 0.0021341615, 0.0341618359, -0.0041996818, 0.0022089819, 0.027249882, 0.0485130511, -0.0124419918, -0.0571839251, 0.0644336566, 0.0115847904, 0.0434055962, -0.0037793152, -0.0211500786, -0.0382067077, 0.0371796265, -0.0061970991, -0.011902649, -0.0212488547, -0.029246591, 0.0406135581, 0.003466069, -0.0184351243, -0.0328386799, -0.0281823426, 0.0279058032, -0.0035467399, 0.0045371163, 0.0186384786, 0.0229774117, 0.0382911526, 0.0103092566, -0.0540359877, 0.0273939166, 0.0308405068, 0.0713231266, 0.0009997041, 0.0668947846, 0.0327019729, -0.0088671222, -0.0300209876, 0.0157378353, -0.0568840094, 0.0270265378, -0.0511106141, 0.0013750512, 0.0410040505, -0.0371560752, 0.0486252829, -0.033409711, -0.0076832999, -0.0311167184, 0.0609079078, 0.0123733561, 0.0058853971, 0.0263602342, 0.0166232511, -0.0267648436, 0.040978618, 0.0650808588, 0.0148683069, 0.0304834805, 0.0053881477, 0.0007194714, -0.037302684, -0.0293751005, -0.0632124841, 0.0313249715, -0.0437716991, -0.011868367, -0.0746532828, -0.0647325069, -0.0016128812, 0.0142839123, 0.0058162818, -0.0624052584, 0.0152117899, 0.0694695339, -0.025112072, -0.0175859947, -0.0550221018, -0.0147557044, -0.0026895478, 0.0197876971, -0.051687438, -6.6477541e-33, -0.0476645529, 0.0107792551, -0.0168035254, -0.0148993842, -0.0156212486, -0.0210768878, -0.005670106, -0.0020770074, -0.0456824116, 0.0042055333, -0.0017107022, 0.0028193672, 0.0280778445, 0.0045577749, -0.0232707858, -0.0316905081, 0.0533824861, 0.0188909434, -0.0565322228, -0.0203049891, 0.0541234128, -0.0165773183, 0.0723271444, -0.0479956493, 0.0177172702, 0.0211758129, -0.0144875627, 0.0263538603, -0.059368562, 0.0759888589, 0.0066740606, 0.0617667139, 0.0017452487, -0.0325935856, -0.0012099015, -0.0095134191, -0.0551224165, -0.0274627581, 0.0768389702, 0.0046552923, 0.0659424067, -0.0281021856, 0.0171681233, 0.0103662722, -0.0339301303, -0.0344874747, 0.0336406603, -0.0427205116, -0.0492766201, 0.0467827469, -0.08160308, 0.0056123771, 0.0047589401, -0.0124926139, -0.0062442939, 0.0280530024, 0.0127489734, 0.0117789088, -0.0779359639, 0.0245833155, 0.0214469079, 0.0429806001, 0.0523890369, 0.0171904918, -0.0113782436, 0.0489367098, 0.0184583645, -0.0024965808, 0.01151942, -0.0340072401, 0.0300658252, 0.0296564121, 0.0303369071, 0.0485397018, 0.0205524135, -0.0117049003, -0.0649555549, 0.003380765, 0.045140408, 0.0028846893, 0.0347434841, 0.0301485546, -0.0755191967, -0.0129789934, -0.030834049, 0.0204505641, -0.037016321, -0.0295063555, -0.0007658842, -0.0114979995, -0.0440685079, 0.0230688453, 0.0307260957, -0.0539345182, -0.0361775793, 0.0260911696, -0.04652391, 0.0409506187, -0.0128268301, 0.0022615138, -0.0826154277, -0.0181835443, -0.0077392012, -0.0067522349, -0.0183044206, 0.0198033918, 0.0486129187, 0.0174033307, -0.0530372523, 0.0130772972, -0.0410518795, -0.0272543598, 0.0194554105, 0.0158168972, 0.0216871034, 0.0200829413, -0.0247484706, 0.0311849099, 0.0052630189, 0.0019635127, -0.0325306989, -0.0183285382, -0.0042453869, 0.0474190302, -0.0224327687, -0.0069059189, -0.0259207189, -0.0160382371, -0.0111765089, -0.0250791442, -0.0379676819, -0.0011351897, 2.766e-7, 0.0229651555, 0.051435668, 0.0030892151, 0.0091025624, -0.0304673426, 0.0691690817, -0.0420561172, 0.0028653161, 0.0415804945, -0.0217977762, 0.0182905942, 0.0211328641, 0.0383765399, 0.0062993378, -0.0833966658, 0.0174878519, -0.0241600871, -0.0044111386, -0.0388793498, -0.0040162536, -0.013561666, 0.1191827133, 0.0498689264, -0.0040422175, 0.0137105957, 0.0159311518, 0.058267653, -0.0374884941, -0.0435818546, 0.0288354326, 0.0014169504, -0.0036684512, -0.0171332024, 0.0252938159, -0.0077993926, 0.0268866289, -0.0155432224, 0.0647326484, -0.0037303374, -0.0386780649, -0.0354422256, -0.0298415571, 0.0115549797, -0.0860174298, 0.0677265376, -0.0311073009, -0.0433198363, -0.0257268045, -0.0423723198, 0.0321742445, 0.0168673787, -0.0116319275, -0.037713021, 0.0089103961, 0.0194887146, 0.0244296864, -0.0335866511, -0.0205461979, -0.0454860553, 0.0485873036, -0.0105066197, -0.068416059, 0.0164947733, 0.0184924174, 0.0241076928, -0.0746752545, 0.0065081883, 2.923389936e-34, 0.0509282686, 0.0226638895, 0.0197369941, -0.0005333581, 0.0184142441, -0.0005488504, -0.0123899551, 0.0145514039, 0.0320793204, -0.0560836531, -0.0024609999 ]
http://arxiv.org/abs/2406.12403v1
http://arxiv.org/pdf/2406.12403v1
PDSS: A Privacy-Preserving Framework for Step-by-Step Distillation of Large Language Models
2024-06-18T08:48:14
2024-06-18T08:48:14
Tao Fan, Yan Kang, Weijing Chen, Hanlin Gu, Yuanfeng Song, Lixin Fan, Kai Chen, Qiang Yang
cs.CL
cs.CL, cs.AI
In the context of real-world applications, leveraging large language models (LLMs) for domain-specific tasks often faces two major challenges: domain-specific knowledge privacy and constrained resources. To address these issues, we propose PDSS, a privacy-preserving framework for step-by-step distillation of LLMs. PDSS works on a server-client architecture, wherein client transmits perturbed prompts to the server's LLM for rationale generation. The generated rationales are then decoded by the client and used to enrich the training of task-specific small language model(SLM) within a multi-task learning paradigm. PDSS introduces two privacy protection strategies: the Exponential Mechanism Strategy and the Encoder-Decoder Strategy, balancing prompt privacy and rationale usability. Experiments demonstrate the effectiveness of PDSS in various text generation tasks, enabling the training of task-specific SLM with enhanced performance while prioritizing data privacy protection.
[ 0.0204563569, 0.0912831202, -0.0073370659, 0.0400521643, -0.038813334, 0.0015227102, 0.0837366953, -0.0418599881, -0.0191955864, -0.0208513234, -0.0019714974, -0.0341563858, -0.0044360403, 0.0360409953, 0.0313048586, -0.0073918537, 0.0038056085, -0.033260636, 0.017595375, -0.0190594345, -0.040423274, 0.0172662307, 0.0158179738, 0.0463207699, 0.0666091517, -0.0538857654, -0.0475114584, 0.0088609932, 0.0081880586, 0.0105470326, -0.019007517, 0.0318269357, 0.0717659295, 0.0287365913, 0.0000022029, -0.0674772859, -0.0614573173, 0.0233484954, -0.0728182942, 0.0082419943, 0.0103644384, 0.0014241289, 0.0123152304, 0.0176047869, -0.0204930324, 0.0302747469, 0.0394643806, 0.0268133916, 0.0752638876, 0.0766811073, -0.0037168683, -0.027647756, -0.0210745502, -0.0404855348, -0.0300554447, -0.0255368724, -0.0000394307, -0.0448761545, -0.0380030833, 0.0306248404, 0.0148367388, -0.0091429101, 0.0239509456, -0.0026165142, -0.0205959268, 0.0290228128, 0.0567919165, -0.0601426065, -0.0235792957, 0.0500532761, 0.0215914883, -0.014583691, 0.0496164374, 0.0241494216, 0.0017395522, 0.0166056436, -0.041419711, 0.0781506002, 0.0022476886, 0.0303834286, 0.0411266387, -0.0111500407, 0.0055308943, 0.0213294439, -0.0004585736, 0.0174974874, 0.0135892229, 0.012918463, -0.0599926524, -0.0147640826, -0.0069537084, -0.082556963, 0.0510704741, 0.048326917, -0.0090339333, 0.009035727, -0.0509947836, -0.0230110846, 0.0177074093, 0.0282166023, 0.0187939163, -0.0170482043, 0.0641962215, 0.0080493856, -0.0140236504, 0.0677061304, 0.0177755691, 0.0450915024, 0.0025023583, 0.0167851709, -0.0331470259, -0.0047401763, -0.0177182388, 0.0874942318, -0.1194469929, -0.0047727693, -0.0303184316, 0.0364797898, -0.0227639098, 0.0340266041, 0.032402955, 0.0230423845, -0.025646694, -0.040874742, -0.0002500518, 0.0030531893, -0.0257640053, 0.0084776478, 0.0467394665, -0.0443606824, -0.0305376146, -0.0057414342, 0.0122969812, 0.0036449016, -0.0503113754, 0.0502186865, -0.0185793079, -0.0097666299, -0.0205195863, -0.1275815219, 0.0125464145, -0.0639592931, -0.0083702607, -0.0297105759, 0.0249651335, -0.0151577704, -0.0147106461, -0.0750698522, 0.000159794, 0.0386731848, 0.0029346079, 0.0643064529, -0.0072573344, -0.0134539874, -0.0119407596, 0.0519419946, -0.0067449496, 0.0367489867, 0.0332476906, 0.0437740088, 0.0285684746, -0.004832732, -0.0052169426, -0.0463239625, 0.0349206775, 0.0061961366, -0.0314171985, 0.0244125873, -0.0165606719, -0.019110648, 0.0152284494, 0.0718821138, -0.0109634409, 0.010137381, 0.0769285262, 0.0509188771, 0.027095532, 0.0063938946, -0.0122386403, 0.0461559743, -0.0555263087, 0.0187234171, -0.0408540368, 0.0122868149, -0.0186011419, -0.0011289681, -0.0190729741, 0.0439356863, -0.0036413837, -0.0085089207, 0.0511173159, -0.0887636766, 0.0143592125, 0.0384861194, 0.0130604608, 0.0303521343, -0.0243280437, 0.042492792, -0.0080117406, -0.0832938179, 0.0240568947, -0.0617297776, 0.0371196605, 0.0827771202, 0.0341500305, 0.0255724806, 0.0027577288, -0.0543265976, 0.003239631, 0.0270753372, -0.0161634311, -0.0084731001, 0.0589127652, -0.0691953823, -0.0601180345, -0.0231516585, 0.0161663871, -0.0063162041, -0.0049189706, -0.0122309299, 0.0449419841, -0.0237247348, 0.0249300096, 0.0188142061, -0.0330090113, -0.0463082679, 0.0172420256, 0.0165228918, 0.0298842471, 0.0330474488, 0.0193057451, 0.0293061566, 0.0283275452, -0.0334749743, 0.0076644323, 0.0066649839, -0.0370106287, -0.0449477695, -0.0216450412, 0.0086090239, 0.0397704169, 0.0454413779, -0.0191875156, -0.0430599116, -0.0053789988, -0.0059258197, 0.0034014899, -0.0467439815, 0.0158353802, 0.0149758253, 0.0062815063, -0.0338809825, 0.0267716367, -0.0161696617, -0.0341719538, -0.0106900102, 0.0092872623, -0.0267719384, -0.0362015441, 0.041619461, 0.0153843127, -0.0275561139, 0.0060304063, 0.009466188, 0.0106535163, 0.0078913281, -0.0104436465, -0.0234393198, 0.0310872849, -0.0139657045, 0.0386888012, 0.0263883881, 0.0304400455, 0.0269600824, -0.0251134858, -0.0576247871, 0.002232674, -0.0201457199, 0.0190074556, 0.029223524, -0.0067479229, -0.0430090763, 0.0251308586, -0.0057397005, 0.015258613, 0.055280216, -0.0389399938, 0.033040449, -0.0577814542, 0.0643154681, -0.0157781914, -0.0081438981, 0.0163969062, -0.0007590961, -0.0051910165, 0.023344595, -0.0004716536, 0.0418980867, 0.0362829007, 0.0252015069, 0.0403768718, -0.003562059, -0.0543609001, -0.009964034, -0.0285071079, -0.0060328334, -0.039347291, -0.0210537091, 0.0533024631, 0.0414359011, 0.0133343302, -0.042074386, -0.0376922525, 0.0509778112, -0.0041058548, -0.0434486903, -0.0346070156, -0.0583174489, -0.0296235438, 0.0256575104, -0.0086545292, -0.0551932007, 0.0902642161, -0.0319847688, 0.0133276219, -0.0314040296, -0.0254200418, -0.0200188532, 0.0742721036, -0.0280385576, 0.0601535626, 0.0333867818, -0.0505056418, -0.0361260027, 0.0034169673, 0.0392265096, -0.042041, 0.033831276, -0.0460804924, -0.0390964523, -0.0234411489, -0.0598208904, -0.0329877585, -0.0830384716, 0.0106280642, 0.011138211, 0.0032195118, -0.0081077581, 0.0083956737, -0.0162476506, 0.0356156863, 0.0270937085, 0.0001503968, 0.0139200455, -0.0497655943, 0.0162567813, 0.0356473885, 0.0237840507, 0.0044182609, -0.0440765284, 0.0563407317, 0.0706419945, 0.0467062928, -0.0225145258, 0.0252216402, -0.0210920107, 0.0126127154, -0.0157106277, -0.0053650299, 0.0342062525, 0.0917260349, -0.0344792046, -0.0091130259, 0.0998151973, 0.0098674204, -0.0354514234, -0.0003746276, 0.0447800271, 0.0564283431, -0.0062638051, -0.0111303572, -0.087244913, -0.0080623496, 0.032665059, 0.0675177723, -0.0203341637, -0.0310014412, -0.0488316528, -0.103546083, 0.0230150931, 0.0041218977, 0.0340204835, -0.0034132903, -0.0390665382, -0.0328439288, 0.0271907672, 0.0121023487, -0.0032538485, 0.0036283813, -0.0248950236, 0.0209195446, 0.0047269696, -0.0645004809, -0.0400392339, -0.0296401512, 0.0267541036, 0.0421324112, 0.0330314562, 0.0426299721, -0.0433490016, -0.010124865, 0.0106621832, 0.0051928815, 0.0153453071, 0.0076201861, 0.0202348344, 0.0216337424, -0.016827533, 0.072974436, -0.0384166092, -0.028614115, 0.0173452646, 0.0432007201, -0.0414193012, -0.0158719402, 0.0192771461, -0.0333776176, 0.0316052884, 0.0894617662, 0.0241530892, -0.0425911099, -0.025673667, -0.0228378177, 0.0074850954, -0.0554832853, 0.051872544, -0.0130494591, -0.0015356166, -0.0196316782, -0.0688048601, 0.0218864419, -0.0117532304, 0.0401310138, 0.0213294365, 0.0107119437, 0.0458019935, -0.0077328901, -0.0500980429, -0.0175761878, -0.0682546124, 0.0072134347, -0.0035864944, 0.0119831413, 0.0242407713, -0.0402389839, -0.0201728605, -0.00645361, -0.0552436821, -0.0697755888, -0.021608619, 0.0267084911, 0.0214563441, 0.0460766777, -0.0213932227, -0.048266083, 0.0502683856, 0.020111274, -0.0507692844, 0.0019804216, 0.0336541235, -0.0251636282, -0.0028628048, 0.0360771306, -0.0177898109, -0.0205685887, 0.0095144231, 0.0079591293, -0.0077343527, -0.0437293127, 0.0093908301, 0.0525452383, 0.0170841999, -0.0059613734, 0.015566187, -0.0709208772, 0.0342341699, -0.0464145802, 0.0252385382, -0.0538589582, -0.0197853539, 0.0270624943, -0.0116406437, 0.0530969836, -0.0069250995, 0.0394759104, -0.0001215798, -0.0541943051, 0.0551835522, -0.0374220237, 0.00786989, 0.043756716, 0.001786705, -0.0316217206, 0.0411398783, 0.0153551381, 0.0174263306, -0.0269854814, 0.0646514371, 0.0324791819, 0.0222994518, -0.0025111826, 0.0451141186, -0.0395197868, -0.065735653, -0.0045538619, -0.0184422228, -0.0013193851, 0.0638931021, 0.0429343916, -0.0291671064, 0.0116904993, -0.0155252609, 0.0609163158, 0.0155599006, -0.0385633819, -0.0125545729, 0.0106913531, -0.0215935744, 0.0206433609, 0.1084265336, 0.0120231379, -0.0023969891, -0.0328339748, -0.0199293308, -0.0612173826, -0.0457257666, -0.0454813354, 0.0498896129, -0.017837422, -0.0293133054, -0.0307251457, -0.0645159185, -0.0361744054, -0.0189610962, 0.0055083353, -0.0344587825, 0.0423785895, 0.0121576982, -0.0214506462, -0.0525802225, -0.077646561, 0.0072017754, -0.0150986211, -0.0048315134, -0.0032505367, -6.326055827e-33, -0.0073258937, -0.0167015549, 0.0017734813, -0.0037294482, -0.0155624887, 0.0137176709, -0.0476376042, -0.0258341599, 0.0156864524, -0.0122846048, -0.0189045444, -0.0072981636, 0.0252422113, 0.0623199753, -0.0302903876, -0.0059002773, 0.0983989462, -0.0123909358, -0.0088981902, 0.0716341361, 0.0598338582, 0.0172629748, -0.0002212407, -0.0702627078, 0.0288612619, 0.0082902908, -0.0369462967, 0.0145653579, -0.0321570225, 0.0387900583, -0.0097697685, 0.009715816, 0.0027865698, -0.0412208773, -0.0205193479, 0.0658902675, -0.0646403432, -0.0089909127, -0.0004240094, -0.0456881821, -0.0243544932, -0.0868056566, 0.03611302, -0.0193121098, -0.0011381451, 0.0082906587, -0.0237713214, -0.0072550983, -0.0054373345, -0.0207341537, -0.0134730823, -0.0222403742, -0.0220625233, -0.0216387492, 0.0428533405, 0.0115014678, -0.0080381641, -0.0346369669, -0.0131063163, 0.0348847769, 0.0407129042, -0.0150296288, 0.0648082644, 0.0279229358, 0.0114830993, 0.0573452413, 0.0300513636, 0.0255973581, -0.0472091995, 0.0039757416, -0.0208490286, 0.0596018359, 0.0131620923, 0.0098672472, -0.0247767139, -0.0148151182, -0.0657553673, 0.0087082041, -0.0096708732, -0.0095536504, 0.0780143663, -0.0004945957, -0.0111141456, -0.0208199229, -0.050614588, 0.0342784412, -0.0222071912, 0.0104425345, 0.0304735769, 0.0335396416, -0.0620798171, -0.0215843841, 0.0459878929, -0.0557268634, -0.0104328413, 0.0486180298, 0.0500838868, -0.0475252904, 0.0107182665, -0.0363603346, -0.0499028601, -0.0065549673, 0.0137915863, -0.0311989412, 0.0043360777, 0.0233539678, 0.024631124, 0.0023317498, -0.0377171449, -0.0002139421, -0.0667656884, 0.0613040142, 0.015702052, 0.0397180058, 0.054520715, -0.0198330767, -0.0256571919, 0.0163143054, 0.001121444, -0.0185677335, -0.0201998111, 0.05087585, 0.0137620345, 0.0239910912, -0.0028200645, -0.0166857988, 0.008330619, 0.0052260407, 0.093332313, -0.0024383531, 0.0020784354, -0.0169207491, 2.914e-7, -0.0349855833, 0.0167412423, -0.0107107405, -0.0062754364, 0.0317363404, 0.0453797914, 0.0397136211, 0.0365875773, -0.0120966733, -0.0028017699, -0.0205667242, 0.0114899362, 0.0703155026, 0.0268635396, -0.0795027465, -0.015352834, -0.0036473523, 0.0018310772, -0.044914104, 0.013651127, 0.0506975465, 0.0254295915, 0.018703226, -0.0292345956, 0.018061623, -0.0136586642, 0.023456499, -0.0477784239, -0.0099719865, -0.0160942469, 0.0326798148, 0.0244719367, 0.0142465103, 0.0108895767, -0.0355125964, 0.0146171283, -0.087409474, 0.110797599, 0.0226126742, -0.0318870842, 0.0067305989, -0.0445788726, -0.0085057672, -0.0360022411, 0.0578293353, -0.0264263265, -0.0553995408, 0.0061019268, 0.0154219912, -0.0851130933, -0.037267115, -0.0117848832, 0.0124154603, -0.0067232559, -0.0205689948, -0.0180708803, 0.0148949288, -0.0529404394, -0.020050237, -0.0227127243, -0.0413183495, -0.0447859094, -0.0122791231, -0.0023133704, 0.0120950341, -0.0457684174, 0.0361584835, 3.06849553e-34, -0.0205609053, -0.0106252283, 0.0053674108, 0.031220004, 0.0480938964, 0.0099379066, -0.019576218, 0.0047476231, 0.046263773, -0.0630542189, -0.0327802487 ]
http://arxiv.org/abs/2406.12402v1
http://arxiv.org/pdf/2406.12402v1
Flee the Flaw: Annotating the Underlying Logic of Fallacious Arguments Through Templates and Slot-filling
2024-06-18T08:44:45
2024-06-18T08:44:45
Irfan Robbani, Paul Reisert, Naoya Inoue, Surawat Pothong, Camélia Guerraoui, Wenzhi Wang, Shoichi Naito, Jungmin Choi, Kentaro Inui
cs.CL
cs.CL
Prior research in computational argumentation has mainly focused on scoring the quality of arguments, with less attention on explicating logical errors. In this work, we introduce four sets of explainable templates for common informal logical fallacies designed to explicate a fallacy's implicit logic. Using our templates, we conduct an annotation study on top of 400 fallacious arguments taken from LOGIC dataset and achieve a high agreement score (Krippendorf's alpha of 0.54) and reasonable coverage (0.83). Finally, we conduct an experiment for detecting the structure of fallacies and discover that state-of-the-art language models struggle with detecting fallacy templates (0.47 accuracy). To facilitate research on fallacies, we make our dataset and guidelines publicly available.
[ 0.0348818749, 0.0350771286, 0.0045265746, 0.0299800634, -0.015243358, 0.0427510664, 0.0284468904, 0.0131382598, 0.0031227602, -0.0676376, 0.0344528034, 0.0217340495, 0.0290160868, 0.0224359073, 0.0188216828, -0.0650842637, 0.0288383719, -0.0022517857, 0.0739499032, -0.0228125658, 0.0157724749, 0.0109922048, -0.0505674742, 0.0453137904, -0.0125307664, -0.0621406697, 0.0234784372, 0.0259086676, 0.0082602203, -0.0128249452, 0.031596005, 0.0505058989, -0.0107317157, 0.0464202762, 0.0000022325, -0.009313521, 0.0334285088, 0.0166493915, -0.0504077785, 0.0426516272, 0.0417716168, -0.0038177248, -0.009398099, 0.0126132593, 0.0221555308, -0.0427697413, 0.0531948395, 0.1088902429, 0.0724373385, 0.0807295963, 0.0090242904, -0.0199789181, -0.0034145799, -0.0205940623, -0.0490716733, -0.0101028383, 0.017420087, 0.0612693876, -0.0473762974, 0.0016372795, 0.0208791383, -0.0130205201, 0.0491120629, -0.0300442744, -0.0018726623, 0.0256051086, -0.0468908735, -0.0226557478, -0.0133785661, 0.0237024147, 0.0140777072, -0.0775611028, 0.0086013256, -0.0358921736, -0.0118072452, 0.0249124449, -0.0085769994, 0.0320319347, -0.0184700415, -0.016602695, 0.101122357, 0.0082851835, 0.0363200419, 0.0353207439, 0.0667832121, 0.0306713898, 0.0006335358, -0.0273824874, -0.0074105784, -0.004472957, 0.0222507901, -0.0762261823, -0.0017133013, -0.0088868681, -0.0047633215, 0.0258177351, -0.0296446774, -0.0060360986, 0.0602066442, -0.0450459085, 0.04136068, 0.0000868377, 0.0041289437, 0.0364857949, -0.0232231934, -0.0031451492, -0.0293197688, 0.0014470561, 0.0182677209, 0.0003426917, -0.0435118936, -0.0458728001, 0.004839045, 0.0138653908, -0.0066645616, 0.0157554541, -0.0066405432, -0.0475548171, -0.0693084672, 0.0074747368, -0.0081194574, 0.0402158201, -0.0128341038, -0.0444733538, -0.056540478, 0.0542682856, -0.0355432183, 0.0345621035, 0.0007482245, -0.0603283271, -0.0161436535, 0.0433832631, -0.0312312637, -0.0057582348, -0.019755803, -0.0058876588, 0.0173136219, 0.056944795, -0.0165438857, -0.019856371, -0.0394454524, -0.0267058164, -0.0175729059, -0.0995718092, -0.012916239, -0.0306123979, 0.0117519116, -0.0597199835, -0.0067947842, 0.0515850745, -0.0242286287, 0.0142907575, -0.0453601405, -0.0299526025, 0.0602458231, 0.0113069685, -0.0177889671, 0.0550887547, 0.0002919433, 0.0248190351, 0.0207111128, -0.0061830785, 0.0240227804, -0.0307993535, 0.0109830331, 0.0126837138, 0.0203214195, 0.0159033295, -0.0315736607, 0.0098182503, 0.034219034, 0.0227922704, -0.0386124998, -0.0292932671, 0.0148877352, 0.0296064746, 0.0355898589, 0.0294009484, 0.0543489382, -0.0329973511, 0.009851194, -0.0214812793, -0.0361332931, -0.0124740796, -0.0184004158, -0.0612819903, 0.0041730548, 0.0185341798, 0.0238641649, -0.065228641, -0.035055846, -0.0001495244, -0.0029167626, -0.0051835706, 0.0128257629, 0.0527840741, -0.0141346036, 0.0502044633, 0.0321569927, -0.0220573694, -0.0515342876, 0.0023486149, 0.0388384573, 0.0004315179, 0.0046398388, -0.0018578662, -0.0190793369, -0.029069243, 0.027038224, 0.0509136505, 0.0891596451, -0.0333568268, -0.0198982004, -0.0269680209, -0.0180831961, -0.0249811634, 0.0778547153, 0.0089308582, 0.0248084348, -0.0276650619, 0.0412332676, -0.0074170707, -0.0544169657, 0.0370317809, 0.0150237195, 0.0146677289, -0.0136143956, -0.012478563, 0.0525943674, 0.0129237557, 0.0040427153, 0.0062556257, 0.0202059243, -0.0164467953, -0.0243492909, -0.0113896336, -0.0233308598, -0.0049793036, 0.0311840679, -0.0574852079, -0.0279602502, -0.02120471, -0.0511726327, 0.0166459773, 0.0169331096, -0.0464832261, 0.0081798928, -0.0149209173, -0.0205242112, 0.0059308033, -0.0170620903, 0.0161499847, 0.1047665998, 0.0118357241, 0.0497538, -0.0258366019, -0.0007470336, 0.0126239853, -0.0508220755, 0.0044586873, -0.0210385434, 0.0131689161, -0.0077870875, 0.0301458314, -0.0207627341, -0.050640814, 0.0182360802, -0.0903829858, 0.0027239795, -0.0168903451, 0.0092661735, 0.0284215733, -0.0546441749, 0.007376906, -0.0121938158, -0.0017136047, -0.0804232284, -0.0337627269, -0.0021519449, 0.0603999868, -0.0245902557, 0.0088893836, -0.0043066167, 0.0090243071, -0.0293735899, 0.019998759, 0.0034791843, 0.0323430933, -0.0159985386, -0.0004079267, -0.0136511633, -0.0278474297, -0.0044834265, -0.0170458537, 0.0194292311, 0.030021457, -0.0425086617, 0.0639913455, 0.013968219, 0.0717478767, 0.0298063233, 0.0040231771, -0.0376967527, -0.0106966179, 0.0226482395, 0.0706537887, -0.0012793728, -0.0673697442, -0.0003962201, 0.0706237331, 0.0057368609, 0.0344822481, -0.0599365011, 0.0694436133, -0.0530858785, -0.0247052591, 0.0312631167, -0.0371510796, -0.0263509341, 0.0177122541, -0.0411478579, -0.0017652923, 0.0402766094, -0.0221923254, 0.0481910519, -0.002585052, -0.0032749875, -0.0217008386, 0.0072701424, -0.0032166559, -0.0097798705, 0.0546630248, -0.0066224616, -0.0056410944, -0.0362280533, 0.0684011355, -0.0220899209, 0.0238616373, -0.064169392, -0.0204988513, 0.023226833, -0.0378689431, -0.0326305032, -0.0433918573, -0.0639992431, -0.030896293, -0.0520894267, -0.0012014398, -0.0099119321, -0.0642778799, 0.0085269241, 0.01898757, 0.021193156, 0.013727379, 0.0336146913, 0.0226854403, 0.0063828416, 0.0451209024, 0.0311152916, 0.0216829441, 0.0029853203, 0.0935346708, -0.0242640097, 0.0596920662, -0.0603553019, -0.0012290498, -0.031515006, -0.0203315206, -0.0310806744, -0.0162781384, 0.0360150486, -0.0647405908, 0.0203114785, 0.0801414251, 0.0182391871, 0.0193807352, -0.0002390856, -0.0235012546, 0.0227710269, 0.0236561019, -0.0382496417, -0.0914321542, -0.0355357789, 0.018360449, 0.0356711447, -0.05452355, -0.0079487795, 0.028620258, -0.1224412173, 0.0362512842, 0.0130000124, 0.0272271801, 0.0227120742, -0.0525622889, 0.0271261502, -0.0093220752, -0.0126590375, 0.0032434175, 0.0091418894, 0.0034858729, 0.0464788191, -0.0532822125, -0.0189865213, 0.0249462873, 0.0116506061, 0.0881387219, 0.0036607957, 0.0701857507, -0.0283909142, 0.016674025, 0.0083860578, -0.0606731959, -0.0367673337, -0.0366420597, 0.0251071677, 0.0128247207, 0.0001128788, -0.0236524288, 0.056177672, -0.0197392795, -0.0635836124, 0.0065404503, 0.0629600137, 0.0194906779, -0.0272912625, -0.0045789718, 0.0121440971, -0.0027423748, 0.0739068091, 0.0276169796, 0.0443174243, -0.0206802282, -0.058423508, -0.0194203462, -0.072087951, -0.0383251645, 0.0498496331, 0.0283382833, -0.0479909405, -0.0560876019, -0.0544131063, 0.004695931, -0.0039349608, 0.0188392177, -0.0400654823, -0.0146246981, -0.0097439988, -0.014775143, 0.028362019, -0.0159851909, 0.000848045, -0.0016635738, -0.0078902887, -0.0564998202, 0.015136471, -0.0369945168, 0.0824386105, -0.0401169248, -0.0340345465, 0.0085653253, 0.0383386537, 0.0169821512, 0.050093513, -0.0337344594, -0.0210455246, 0.0281567685, 0.0095653208, -0.0235670991, -0.0121216988, 0.0471037254, -0.0751040056, 0.0370873287, 0.0041835601, -0.0096711861, 0.0210596491, 0.0160503127, 0.0473931544, -0.0635817274, 0.0672260746, 0.0458049849, 0.0083717061, 0.0223400909, 0.0065862723, -0.0191001017, -0.0213649385, 0.0058056731, -0.0517032966, -0.0642725155, 0.0162980724, 0.0659968406, -0.0011082477, -0.007478069, -0.0243693627, -0.0522499271, -0.0427751057, 0.0251188688, 0.0169452932, 0.0215504505, 0.0474844202, 0.0283299778, 0.0006452057, -0.0109331487, -0.0578603335, 0.0019790442, -0.0032708338, 0.036866717, 0.0059823697, 0.0526606776, 0.0410531908, 0.007095376, 0.0433323011, -0.034403909, 0.0083187763, -0.0400371887, 0.0194816329, -0.0031598252, -0.0021827784, -0.0564657673, 0.0523880683, -0.0062895897, -0.0310942791, -0.0084450468, 0.0133937141, 0.0281952824, -0.0510848053, 0.0443642214, 0.0334102176, -0.0366172753, -0.0113596311, 0.0218090694, -0.0338145234, 0.038443584, 0.0439227559, -0.0242554657, -0.0309880208, -0.0308171399, -0.0402495451, 0.0455367267, 0.0000065453, -0.0273898821, -0.0852825791, -0.0686405301, 0.001277828, 0.0297251511, 0.0302640721, 0.0237666834, -0.0414562076, 0.0694256574, 0.0120833991, 0.0189991929, -0.0549734272, 0.0281515606, -0.0181752406, 0.00167716, -0.019714376, -6.628907987e-33, -0.0088131605, -0.059450414, -0.0460928716, -0.0045652925, 0.0168592744, 0.0291039813, -0.0400950946, -0.0164056662, 0.0011069144, 0.1071093529, 0.0317298248, 0.0398927145, 0.0181724653, 0.0009899901, -0.0056539457, -0.0027241602, 0.0194646977, 0.0280324798, -0.0378641225, -0.0181049109, 0.020095991, -0.0364442281, 0.0137201194, -0.0482652187, 0.059784051, 0.0025231598, -0.0467789359, 0.006990429, -0.031921979, 0.0590082183, -0.0066143121, 0.0326888375, 0.025159847, -0.0193879567, 0.0383344032, 0.0161909163, -0.0815195069, -0.0207597259, 0.0841541737, -0.0101185562, -0.0021390836, -0.0553839207, 0.0210256111, 0.0202615112, -0.0076267882, -0.03925547, 0.0325152501, -0.0532815531, 0.0072066463, -0.0095579438, -0.0573348142, 0.0288951602, -0.0550528206, -0.006362136, -0.0569687895, 0.044457268, 0.0071524316, 0.0362206511, -0.0806913376, 0.0101601789, -0.0167700034, -0.0050555235, 0.0076870988, -0.0773608908, 0.0019327982, 0.0577607006, -0.0145012895, 0.0030307311, -0.0510207489, 0.0393641442, -0.0453428999, 0.0145142404, 0.0688453242, 0.0321027897, 0.0796536729, 0.0129937641, -0.0600515977, -0.0450453199, 0.017911775, 0.0522545092, 0.0138262687, -0.0368870944, -0.0653954893, 0.0037865359, -0.0581321642, -0.0851830766, -0.0092980005, -0.0374604538, 0.0029489158, 0.0201194361, -0.0273706764, 0.0272761192, -0.0547957681, -0.0226284824, 0.0311614592, 0.0043321121, 0.0146651734, -0.0320867635, 0.0093532205, 0.0241759121, -0.0184457079, -0.0011641147, -0.0033542851, 0.0205596276, 0.0553059019, -0.0164049156, 0.0654361099, -0.0295046084, -0.0624022521, -0.0153756524, -0.0380465314, -0.0102139702, -0.0348257944, 0.0379520766, 0.0625233799, 0.0439736098, -0.0157675277, -0.0053043845, 0.0136979008, -0.0042089624, -0.0497238599, 0.0108611202, -0.0087215248, 0.015318051, -0.0108373016, -0.0399974175, 0.0003353589, -0.0087427767, 0.0331221409, -0.0571776032, 0.0099160057, -0.0155200288, 2.745e-7, 0.0566372275, 0.0691376179, 0.0077784406, -0.0113743227, 0.0266891494, 0.0576820485, 0.0009217258, 0.0047869021, -0.0049667819, -0.045110587, -0.0306399725, 0.0140398312, 0.0472669937, 0.0211690348, -0.0598134883, 0.0208094306, -0.0758949742, -0.0306148436, -0.0385068282, -0.0044819401, 0.0385242812, 0.0678640231, 0.0650217459, -0.0072332988, -0.0090250205, 0.0102692107, 0.0398055352, -0.000708497, -0.0190033708, 0.0005914964, 0.0435462184, -0.0271058455, 0.0075801848, 0.0334934965, -0.0305252057, -0.0091568809, 0.0072410582, 0.0571109392, -0.0100954566, -0.0108281588, -0.0844708458, -0.0326053873, 0.0350196511, -0.0720578581, 0.0402974263, -0.0427678004, -0.0305813551, -0.0135295857, -0.0701688752, 0.011709298, 0.0106417825, 0.0242363904, -0.0269227661, -0.0110342596, -0.0061708242, 0.0012106675, -0.0062105074, -0.0430411436, -0.0303593632, 0.0354244076, -0.0377744809, -0.0098817069, 0.0062198164, -0.0269411933, 0.0363453925, -0.0220972244, 0.0233343225, 2.265703831e-34, 0.0139410896, -0.0031374833, 0.0186401252, 0.0157704335, 0.0717296675, 0.0272116028, 0.0080429064, -0.016839968, 0.0305538662, -0.0128621757, -0.0007199535 ]
http://arxiv.org/abs/2406.12399v1
http://arxiv.org/pdf/2406.12399v1
QueerBench: Quantifying Discrimination in Language Models Toward Queer Identities
2024-06-18T08:40:29
2024-06-18T08:40:29
Mae Sosto, Alberto Barrón-Cedeño
cs.CL
cs.CL, cs.AI, cs.CY
With the increasing role of Natural Language Processing (NLP) in various applications, challenges concerning bias and stereotype perpetuation are accentuated, which often leads to hate speech and harm. Despite existing studies on sexism and misogyny, issues like homophobia and transphobia remain underexplored and often adopt binary perspectives, putting the safety of LGBTQIA+ individuals at high risk in online spaces. In this paper, we assess the potential harm caused by sentence completions generated by English large language models (LLMs) concerning LGBTQIA+ individuals. This is achieved using QueerBench, our new assessment framework, which employs a template-based approach and a Masked Language Modeling (MLM) task. The analysis indicates that large language models tend to exhibit discriminatory behaviour more frequently towards individuals within the LGBTQIA+ community, reaching a difference gap of 7.2% in the QueerBench score of harmfulness.
[ 0.0413238294, 0.0627954528, -0.0428333059, 0.0022205533, -0.0072478419, 0.0416755341, 0.0519914329, -0.0026861397, 0.0567695871, -0.0747384429, 0.0159064904, -0.0439972728, -0.0010577234, 0.0074028755, 0.0442952663, -0.0163584482, 0.0187122617, 0.0348135941, 0.0067086034, -0.0343255475, 0.031363003, 0.0348299555, 0.0239792224, 0.0787125751, 0.018105017, -0.0470539294, 0.0621101037, -0.0042706658, 0.0023716453, 0.0155254994, 0.0344037376, 0.0434920564, -0.0344800912, 0.0323162898, 0.0000017016, -0.0660533831, 0.0273207482, 0.0253122598, 0.0057058441, -0.0138047459, 0.0087148659, -0.0114084352, -0.0007602118, 0.0706306845, -0.0063072625, 0.0174136367, 0.0598842613, 0.0109651843, 0.0485124029, 0.0117747681, -0.0087629734, -0.0155393826, -0.0130563295, -0.0052280845, 0.0173920766, 0.0149798943, 0.0551505946, -0.0463727452, -0.033335112, -0.0364070237, -0.0210551005, 0.0253613852, 0.0061340122, 0.025412282, 0.0224591643, -0.0243636258, -0.0192272216, -0.0545160174, 0.0461985134, 0.0429721586, -0.0023510952, 0.0085042864, 0.0237459186, 0.0093329502, -0.0055454881, 0.0229570568, -0.0327283703, 0.0484754071, -0.0224985108, -0.0184796639, -0.0235878788, -0.0512659028, 0.062219929, 0.0635080263, 0.0334127881, 0.0714482591, 0.0357917137, -0.0240376946, -0.0004579276, -0.0257233325, -0.0165934078, -0.0309871454, 0.0452250242, -0.0000959526, -0.0255662035, 0.0477848686, -0.0186372306, -0.044100143, 0.0403731093, -0.0324816629, 0.0523355044, 0.074949868, -0.0030774528, -0.0223960727, -0.0213760268, 0.0654371232, -0.007218543, 0.0071375733, 0.0123788984, 0.0023943158, 0.0292157587, -0.0392994881, 0.007652936, -0.0174646135, -0.0111923199, 0.0512535125, -0.0196521766, -0.0238962956, -0.0787404925, 0.0127559435, -0.0186361354, 0.0136364531, -0.0277284626, 0.0201407466, 0.0036963159, -0.0206203256, -0.0310991742, 0.0292685963, -0.0540480874, -0.062429022, 0.0329110399, 0.0123798754, 0.0017862564, -0.0604118034, 0.0161517244, 0.0511775352, 0.0308888033, -0.0552561916, 0.0243490934, -0.0108485082, -0.0451792777, -0.0402139761, -0.0124052027, -0.0628555268, -0.0060033672, 0.0164726749, -0.0128015028, -0.0566273183, 0.0069865305, 0.0181509089, -0.0290644877, 0.0656023398, 0.0278257001, -0.0015960361, 0.0629664958, 0.0292376578, 0.000127664, 0.0646023378, 0.0211777221, 0.0218405984, 0.0182615165, -0.0258359797, 0.0044861822, 0.0203214269, 0.0027734879, 0.0193813276, -0.0282911118, 0.0254851319, -0.0142063582, 0.0105788531, 0.0030428334, 0.0489358418, 0.013347595, -0.0114193261, 0.0395568125, 0.0645147711, 0.0191819444, 0.0401200615, 0.0383181125, 0.0251049995, -0.0062826085, 0.0029599601, -0.0874992535, -0.0407024138, -0.0269108284, -0.0264898539, -0.0082488498, 0.0421179272, -0.017797783, -0.0363926627, -0.0437209718, 0.012854524, 0.0726001784, -0.0054205474, -0.0055994201, 0.0061420589, -0.0104445452, 0.0333843976, 0.0155592896, -0.021760758, 0.0466085337, -0.0134377573, -0.0143727474, 0.0402504019, 0.0159461815, -0.0383817665, -0.0062782075, -0.0707845464, -0.0596152544, 0.0481569208, 0.0253477562, 0.0077399421, -0.0065778405, -0.0119293202, -0.0264703259, 0.0476363972, 0.0029150962, -0.0178433564, 0.0646183491, 0.0265313387, 0.0134652425, -0.0086849974, -0.047839608, 0.0343339965, -0.0104751484, -0.0677258521, -0.0056138765, 0.0101320622, 0.034955658, 0.006413247, -0.0349646024, -0.0124845877, -0.0336322784, 0.0063709212, -0.0761660114, -0.0101684602, -0.0273138601, 0.0198415983, 0.0397598296, -0.0615350753, -0.03142092, 0.1101433784, 0.0074377786, 0.0148147084, 0.0626082793, -0.0476188436, 0.0043816338, -0.0183460154, -0.0207473226, -0.0545911677, 0.0210990924, -0.0440937206, 0.0410792567, -0.0266773794, 0.06268695, -0.0251852665, -0.0534281284, -0.0050020972, 0.0081212716, -0.0684078634, -0.0133164367, -0.0286312774, 0.026290061, 0.0265517756, -0.0106695741, -0.0239745751, -0.0198076013, -0.0931008607, -0.0213530492, 0.0095590586, -0.0135157919, -0.0227836128, -0.0184248388, -0.0424582213, 0.0244453475, -0.0060825814, -0.0766007304, 0.0152993482, 0.0457487032, -0.0028132848, -0.0374310985, -0.0194157772, -0.024338983, -0.0380645767, -0.0413803235, 0.045307979, 0.0054936316, -0.0430490784, -0.0008488973, -0.0117432727, -0.0350155346, -0.0184249673, 0.0235459264, -0.0397298932, 0.0514363684, 0.0515332557, 0.069040373, 0.0323913693, 0.0721293762, 0.022248935, 0.0546904765, 0.0304654445, -0.0069016716, -0.000165745, -0.0010280822, 0.0056522004, -0.0140841976, -0.089046821, -0.0185708907, 0.0098512731, 0.079284519, -0.0443578623, -0.0625699759, 0.0560843013, -0.0920332074, -0.0558883622, -0.0419874415, -0.0591929071, -0.0447615311, -0.0074735805, -0.0495938323, -0.0516328253, 0.0468846373, 0.0082537942, -0.011438339, -0.0275450256, 0.0034429249, 0.003879667, 0.0516708381, 0.0058628842, 0.0661641285, -0.0184852425, -0.0560352951, -0.0195421316, -0.0529201925, 0.004542382, -0.0449779592, 0.0290152524, -0.0222653709, 0.0099868057, 0.0177010819, -0.0200171378, -0.056148421, -0.0511914529, -0.0351130404, -0.0113809183, -0.0059847729, 0.0097552929, 0.0215342529, 0.0047582793, 0.0122354655, -0.0104786092, -0.0268928148, -0.0082116509, 0.0063631004, -0.0132623902, 0.0053590592, -0.0372283421, 0.0696756616, 0.0075750826, -0.0158179495, 0.0226256028, -0.004186044, 0.0701482743, 0.0159821287, 0.0145010725, 0.0275525525, -0.0405996591, -0.0287899412, -0.0171718132, 0.0468343981, -0.0146963932, 0.0178472977, 0.0684121922, 0.0227443296, 0.0147941895, 0.0323643386, -0.0203881506, 0.0041682776, 0.0174436904, -0.0148233706, -0.1012453362, 0.0165532939, 0.011825541, 0.0271181576, -0.0753927007, -0.0452400409, 0.0092025846, -0.0519103184, 0.0242992137, -0.011347604, -0.0187070053, -0.044859793, -0.0257597044, 0.0532366261, 0.013738865, 0.0183081515, -0.0138020702, -0.004749109, 0.0231356788, 0.0161449332, -0.0670346171, -0.0063743507, 0.0077646524, -0.0359565951, 0.0264234692, 0.0080876388, 0.0634059086, -0.0498288237, 0.0039914246, 0.0300049782, -0.0278420132, -0.0237466656, -0.0312749706, 0.0059988191, 0.0189946964, -0.030436594, -0.0275813881, 0.02645755, 0.0139041543, 0.0030164011, 0.008826538, 0.0398779884, 0.0104127331, -0.0275769681, -0.0285634287, 0.0211183522, -0.0216247048, 0.0942241848, 0.0463125482, -0.0346073322, 0.0103439316, -0.1084168106, 0.0284372028, 0.0206188112, -0.093789421, -0.0210416876, 0.0362158492, -0.0207919851, -0.0268024951, -0.0447683074, 0.0411104709, -0.0190501101, 0.0334532559, -0.0165664833, -0.0243226774, -0.0043175439, -0.0574016832, 0.0328566246, -0.0033618731, 0.0481901839, 0.0069761388, 0.0085262591, -0.0372007303, -0.007343458, -0.0377451926, 0.0367281064, -0.0191634987, -0.0443540104, 0.0698514879, 0.0227001514, 0.0238192864, -0.0150680766, -0.0151904738, -0.0822850317, 0.0393470041, 0.0320576839, -0.0199310947, 0.0289412756, 0.0376943685, -0.0132999215, 0.0004024929, 0.034704037, 0.0095212609, -0.0045921556, 0.0160508566, 0.0181543697, -0.009656162, -0.0441652164, -0.0075244568, 0.0220801271, -0.0098288152, -0.0386180133, -0.0031193274, -0.0190248117, -0.0461696312, -0.0009857861, -0.0500717461, 0.0161309261, -0.0412954278, 0.0231773555, 0.0356365442, -0.0443502218, 0.0052435193, -0.0589556545, 0.0195071176, -0.0427232385, 0.0325473659, -0.0083249044, 0.0281558819, 0.0118661886, 0.0034450176, -0.014456355, -0.0143069606, -0.0454251803, 0.0092166951, 0.019991776, 0.0116199758, 0.0092428355, 0.0305136759, 0.0082454365, -0.0296415109, -0.0021056221, -0.0575061701, -0.0159335844, -0.0530962721, -0.0205092262, -0.0141945882, 0.0060667223, 0.0134797152, -0.0269306172, -0.0291095898, -0.0164493714, 0.0061509847, -0.0185000543, 0.0542234294, 0.0108314622, -0.0138981137, -0.0301342849, 0.0267171618, 0.0338145606, 0.0472962335, 0.0217218697, -0.0199483261, -0.0114084929, -0.0282357112, -0.0131565165, 0.0315609947, 0.0040455386, 0.0063238773, -0.0864949897, -0.0659716129, 0.014755398, -0.0385604352, 0.0312180854, -0.0423159637, -0.0064321277, 0.0468535908, 0.0048820679, -0.0343217999, -0.02301443, 0.0237662122, 0.0453727171, -0.0161957443, -0.0137654729, -5.33340852e-33, -0.0299256779, -0.0644235611, -0.0344683342, -0.009045653, -0.0103976531, -0.0077295233, 0.0255034659, 0.0010966064, 0.0007441607, -0.0137786064, 0.0155459885, 0.0518870652, 0.0131577654, 0.0093785385, -0.0092735421, -0.0276227016, 0.0456787758, 0.0137942685, -0.0175531395, -0.0074025202, -0.0233486556, 0.0238483157, 0.0152173284, -0.081869185, 0.0916151404, 0.0168220457, -0.0283576977, -0.0312845185, -0.023147814, 0.0226768181, -0.0391094461, 0.0893410295, 0.0127396369, 0.0111044142, 0.0391096473, 0.1109346375, -0.0381122641, -0.0090636415, 0.057216391, 0.0081790723, 0.0580642149, -0.0267257858, 0.0373603404, 0.0036352552, -0.0416889042, -0.0354153812, 0.0436679572, -0.0386092179, 0.0361167528, -0.0086055538, -0.0357063226, 0.0177992154, -0.0152840493, 0.0383308157, -0.0283835623, 0.0580818467, 0.0238167159, 0.0153355235, -0.0544837564, -0.0073063807, -0.0167927071, 0.0025652396, 0.0342910513, 0.0053122141, 0.0499938354, 0.0545575581, 0.0282245409, -0.0057122973, -0.0455687381, -0.0129408501, 0.0578238554, -0.0107967146, 0.052885253, 0.0332807973, 0.0064291144, -0.045802962, -0.0018388848, 0.0028836655, 0.0256094858, 0.0118644601, 0.0271885805, -0.028724771, -0.0290222224, -0.0632597879, -0.071581319, -0.0701923072, -0.0205757599, -0.0089005427, 0.0241536126, -0.047672864, -0.0590358898, 0.0084230145, -0.0400045514, -0.0154329678, -0.0454479717, 0.0218518656, -0.0172518548, -0.0239020884, 0.0358568393, 0.0395308398, -0.02053288, 0.0191090796, 0.0089508016, -0.0021654738, 0.0564746335, -0.0060649845, -0.0144304512, 0.0409193188, -0.0864531025, 0.0001007148, -0.0026974131, 0.0387883112, 0.0198210217, 0.060902968, 0.0397880115, 0.0509931557, -0.0002133085, 0.0318408497, 0.0773331821, 0.025062805, -0.0537187792, -0.0037466255, -0.0450332724, 0.0484188348, -0.0252439622, -0.0501035638, -0.024611989, 0.0688517541, 0.0950661004, -0.0605290867, -0.0012319181, -0.05237763, 2.336e-7, 0.0307163764, 0.0312448256, -0.0192790125, 0.0397317, 0.0107072089, 0.0329406485, 0.0494541377, 0.0365166217, 0.0700479001, 0.0275199618, -0.0529487394, 0.031608589, 0.013799428, 0.0381036289, -0.0106593957, -0.0238644928, -0.0312425941, 0.0444522239, -0.0528102368, 0.0295304637, -0.0150522981, 0.0764814392, 0.0892597064, -0.0282678362, -0.0411799476, -0.0334613249, -0.0017004247, -0.0360572711, 0.0107986005, -0.0096444311, 0.0655815452, 0.0193261206, 0.0728430375, -0.0014602896, 0.0209170729, -0.0027120237, 0.0384328105, 0.0091236131, -0.0012751125, 0.0470914282, -0.013353006, -0.0268475097, -0.0363884717, -0.0562201291, 0.0657576099, -0.005040721, 0.0056105237, -0.0322198831, -0.0791062415, -0.0284156054, 0.0422414131, -0.0332147554, -0.0613334104, 0.0102492422, 0.0300466735, -0.0226146374, 0.0430583768, -0.0728487223, -0.0249779541, -0.0225209463, -0.0104595479, -0.028830478, -0.0116659086, 0.0038768267, -0.0263618734, -0.0373754054, 0.0281538069, 2.044659466e-34, 0.0215585046, 0.0351068489, -0.0065289838, -0.023068333, 0.0361835249, 0.0126164155, 0.0115222391, 0.0074434387, 0.0085180905, -0.0276744161, -0.002391878 ]
http://arxiv.org/abs/2406.12397v1
http://arxiv.org/pdf/2406.12397v1
Unveiling the Flaws: Exploring Imperfections in Synthetic Data and Mitigation Strategies for Large Language Models
2024-06-18T08:38:59
2024-06-18T08:38:59
Jie Chen, Yupeng Zhang, Bingning Wang, Wayne Xin Zhao, Ji-Rong Wen, Weipeng Chen
cs.CL
cs.CL
Synthetic data has been proposed as a solution to address the issue of high-quality data scarcity in the training of large language models (LLMs). Studies have shown that synthetic data can effectively improve the performance of LLMs on downstream benchmarks. However, despite its potential benefits, our analysis suggests that there may be inherent flaws in synthetic data. The uniform format of synthetic data can lead to pattern overfitting and cause significant shifts in the output distribution, thereby reducing the model's instruction-following capabilities. Our work delves into these specific flaws associated with question-answer (Q-A) pairs, a prevalent type of synthetic data, and presents a method based on unlearning techniques to mitigate these flaws. The empirical results demonstrate the effectiveness of our approach, which can reverse the instruction-following issues caused by pattern overfitting without compromising performance on benchmarks at relatively low cost. Our work has yielded key insights into the effective use of synthetic data, aiming to promote more robust and efficient LLM training.
[ 0.0522944368, 0.0929353237, -0.0097321514, 0.0735364035, 0.0073353322, 0.0135366758, -0.007778015, 0.0046862718, -0.014247302, -0.0715736002, -0.0169696864, -0.0657604188, -0.0061778929, 0.0373631865, 0.0419615619, -0.0137428744, 0.0673499927, -0.0462839864, -0.0351364315, 0.0019695123, 0.0071896701, 0.0183691587, 0.0171846654, 0.0043103737, -0.0025403067, -0.020401109, -0.0182295758, 0.0112974197, -0.0179078765, 0.0126178088, 0.0225048997, 0.0638890266, 0.0017530053, 0.0446317494, 0.0000018622, -0.0332046002, -0.0112968329, -0.0001010177, -0.0478896648, 0.0497974493, 0.0060670641, 0.0114642493, -0.0051329168, 0.0570816249, -0.0358272158, -0.0335932188, 0.0347085483, 0.0249871202, 0.0576137304, 0.1114100292, 0.0017300583, -0.0476655923, 0.0483749732, -0.0162544493, 0.0310652684, 0.0069005019, 0.0357060768, -0.0124027496, -0.0006875631, 0.0120820291, -0.0214021411, 0.010414524, 0.0264737625, 0.0063424259, -0.003529497, 0.0345406421, -0.0454794317, -0.0157995224, -0.0058766929, 0.1030975506, -0.0333059877, -0.0112660425, 0.0009962022, -0.013937409, 0.0266136173, 0.0023455913, -0.0226956885, 0.0286361966, 0.0030787124, 0.0383862741, 0.0247819256, -0.0385964811, 0.0311812069, -0.0264830068, -0.0542860217, 0.0172483176, 0.0204303171, -0.039885845, -0.017958682, 0.0102410298, -0.046260003, -0.0325714983, -0.0275178514, 0.0192884803, -0.0242459234, 0.0407439955, -0.0642055944, -0.0226625912, 0.01206234, -0.0578234941, 0.0569673926, 0.0368642844, -0.0052673994, 0.012706439, -0.0224241782, 0.0371440277, -0.0100435754, 0.0594551042, -0.059950266, 0.0189120322, -0.029804131, -0.0063374666, -0.02156673, 0.0612771697, -0.0675399005, -0.0107591627, 0.0005256762, 0.0288713798, 0.0133427056, 0.0062268297, 0.0178159699, 0.0123172589, -0.0138246296, 0.026763415, -0.0405158475, 0.0011163687, -0.0166601446, 0.0203463603, -0.0176436044, -0.0994020551, -0.0044393186, 0.0163240898, 0.0127084777, -0.0285636578, 0.0158570632, 0.0697229952, -0.016933335, -0.0221436955, -0.0416049175, -0.0132247657, -0.0021184704, -0.0605647862, 0.0081800018, -0.0824934989, 0.0565174408, 0.0109218005, -0.0076852976, -0.0028572194, 0.0295953881, 0.0396579504, -0.049807135, 0.038969852, -0.0282197502, 0.0364916287, -0.0162890889, -0.0118393013, 0.0578273982, 0.0754903108, 0.0408514403, -0.0288571529, 0.0311922692, -0.033655405, 0.0177409928, 0.0436118506, 0.0534509867, 0.0086226407, -0.0274698008, 0.0466466285, 0.0475937761, 0.0239742715, 0.0459193848, 0.0521877669, -0.0277561154, -0.0417978019, 0.0658160076, 0.0009899593, -0.0078237932, 0.0269895028, 0.0480439253, 0.0057073091, 0.0222618748, 0.019363502, -0.0422239713, -0.0104761226, 0.0051027983, 0.023001926, 0.0276274439, 0.0099967923, -0.0497107133, -0.0604559667, -0.0080996696, 0.0002824556, -0.0330290422, 0.0388569534, 0.0223311894, 0.0332946032, -0.0646325052, 0.0323375911, 0.0249925628, -0.035367433, -0.0036964449, -0.0434621572, 0.0340152457, 0.0569212809, 0.0343151502, -0.0071675237, -0.0436353385, -0.0163171235, -0.0110559063, 0.0479126945, 0.0541447066, -0.0289111324, 0.0393438302, -0.043711137, -0.0160890631, -0.0139290439, -0.0061717723, 0.0099733192, 0.0222402439, -0.0042682644, 0.0039563491, -0.0353882499, -0.0647482947, 0.0529337898, -0.0513281524, -0.0547624007, 0.0247472432, -0.0175829791, 0.0103598936, 0.0101561546, -0.016577458, 0.0329947174, 0.0500179902, -0.009475504, -0.0133571895, -0.0163886175, -0.0789388567, -0.0663587078, 0.0308648981, -0.0167981982, -0.0265855305, 0.0547582693, -0.05443196, -0.0472033285, -0.0138391759, -0.0454870872, 0.0220527202, -0.0340282917, 0.0348643027, 0.0163398813, 0.0344181769, -0.0385289602, 0.0361660458, -0.0114296917, 0.0463177413, -0.0046961377, 0.0234677158, 0.0125755016, -0.0369794257, -0.0224192031, 0.0234065894, -0.0201847628, 0.0309527162, -0.022311613, 0.0002759516, -0.0515290238, -0.0100109288, -0.0596056059, 0.0165599491, -0.023316646, 0.0190967843, 0.0388038941, 0.0001062556, -0.0313718133, -0.0333393253, -0.0633750856, -0.0416695513, 0.0146885654, 0.0228331573, 0.0462227836, 0.0348926596, -0.0171393082, -0.0363369472, -0.0224198345, -0.03688021, 0.0521088652, -0.0283140671, 0.0236110296, -0.0726561919, 0.0333237462, -0.0126853539, 0.066630438, -0.0062733395, -0.0385709777, 0.0085798642, -0.0344659165, 0.0442948565, 0.0444516689, 0.0074786679, -0.0203128606, 0.0436573662, 0.015357147, -0.0631916523, 0.0152250594, -0.0374886431, -0.0226403475, -0.0491343662, -0.0510680899, 0.0008942732, 0.0655970424, 0.0064700115, -0.0131546753, -0.041843459, 0.0174183603, 0.0165686179, -0.0302649159, -0.0473430306, 0.0075219716, -0.0240395125, 0.0269224215, -0.0335766971, -0.0402864218, 0.0523199812, -0.0266561918, -0.0166817792, -0.0620784611, 0.0012703622, -0.0493989959, 0.0093626315, 0.0144642247, -0.0028909219, -0.0162341744, -0.0222072788, -0.0678990036, -0.0125478003, -0.0046692584, -0.0404199511, 0.0419446416, -0.0223972872, -0.002443841, -0.0286135804, -0.0340941064, -0.0715534315, -0.058955878, 0.0173391234, -0.0166371334, 0.0111546768, -0.023663871, 0.02314738, -0.0328046083, -0.0177848749, 0.0602966584, -0.0304763503, 0.0021281675, -0.0259065218, 0.0775302351, 0.0635574982, -0.0106517486, 0.0084892167, -0.0521055721, 0.0459082909, 0.0578188188, 0.047032766, 0.0307603236, -0.0065173362, 0.0047472077, 0.0366259776, -0.0062608835, -0.0130378613, 0.04726189, 0.03006001, -0.0408127904, -0.0384458564, 0.0988819301, 0.0396548882, -0.0196925346, 0.0098281428, 0.0157686342, 0.0595995001, 0.0449558236, 0.0470612757, -0.0907316953, -0.0164149664, -0.0169157367, 0.0216896553, -0.0084604947, -0.0186708644, -0.0089126006, -0.1750640273, 0.0175910126, -0.005553971, -0.078833729, -0.0356308818, -0.0452818349, -0.0186614357, 0.0021300407, 0.025015166, 0.0161009431, -0.0408605561, 0.0064979875, 0.0573061332, -0.0197687559, -0.0579118095, 0.0228663366, -0.0289492141, 0.0685256496, 0.051669009, 0.0247001834, -0.0019082023, -0.0048791198, 0.0323060192, -0.0196460448, -0.0030815741, -0.002006894, 0.09126959, -0.0203124285, -0.0142931649, 0.0121325096, 0.0186534245, -0.0369853936, 0.0199390892, 0.0089197122, 0.0774931908, 0.0048003802, -0.0311821606, -0.0316696838, -0.0247163642, 0.0075500021, 0.0769157857, 0.0496540144, -0.0502719022, -0.0539858118, -0.0199586116, -0.0319379158, -0.0756467506, -0.0276464447, 0.0475128479, 0.0087737842, 0.0058939084, -0.0812554434, -0.0805933625, 0.0351257399, 0.0047833081, -0.0107308747, 0.0145724053, -0.0283705126, -0.0119232452, -0.0471955277, 0.0404201932, -0.0331420898, 0.0163969509, -0.0626229271, -0.0172647014, 0.012413892, -0.0099786557, -0.0081738606, -0.011508734, -0.089993313, -0.0744631588, -0.0007543662, 0.0528502055, 0.0153329987, 0.0665675476, 0.0113991126, -0.0260174107, 0.024466427, 0.0478738993, -0.0310271233, -0.0172269214, 0.0476596467, -0.0223554149, 0.0000904348, 0.0131452689, -0.0043120976, 0.0113455476, 0.041083239, 0.0341956913, -0.0415283628, -0.0064914082, 0.0455662981, 0.0231237914, 0.0243114494, 0.0202255063, -0.0010876441, -0.0245541502, 0.0498638526, -0.0356321111, -0.0115650957, -0.0511143468, 0.0192991309, 0.020029109, 0.0168923624, -0.0079613561, -0.0005924327, -0.0260553006, 0.0353877209, -0.0193282962, -0.003315828, 0.0282555632, 0.0140047949, 0.0362049416, 0.0050303885, -0.0173827801, 0.0099323932, 0.0337926224, 0.0584542006, 0.0065852604, 0.0420859009, 0.0077405106, 0.0054391827, 0.006191222, -0.0061258161, -0.0658166185, -0.0499539636, -0.0597167388, 0.0219336618, 0.0191447884, -0.0182665102, 0.0302262548, 0.0134307854, 0.0004472261, -0.0160625558, 0.0110033462, -0.0221195463, -0.0073828637, 0.0408690497, 0.0311225727, -0.0262927208, -0.009547499, 0.0885099024, 0.0325100645, 0.0644458085, -0.0129601778, 0.0265800003, -0.0391069986, -0.0137311211, 0.030039655, -0.021964062, -0.0242752302, -0.0131015098, -0.0254370347, -0.0822702125, -0.0315206572, 0.0211571977, 0.015628159, -0.0004441237, 0.0262863096, 0.0456327759, 0.0018940112, 0.0061553265, -0.0640500262, 0.0118051609, -0.0241523348, -0.0340469144, -0.0160782319, -6.223566678e-33, -0.002831406, -0.0117587438, 0.0237849988, -0.029692959, -0.0176444612, -0.0007241098, -0.0199123602, -0.0045684623, -0.0414722078, -0.0183818415, -0.0311821885, 0.0311940052, 0.0150530161, 0.029183045, -0.0001559094, -0.0256751236, 0.0508234017, -0.0249339137, -0.0021591212, 0.0221447069, 0.026197644, 0.0146409348, 0.0590998083, -0.0362726711, 0.0009110677, -0.0406128466, 0.0159542598, 0.0302350391, -0.05293037, 0.0685170144, -0.0325809531, 0.0593678951, 0.0248473343, -0.0144584505, -0.0393910035, 0.0383707881, -0.0533025824, -0.030357495, 0.0281094406, 0.0160948224, -0.0250894371, -0.0224360768, 0.0191709679, -0.015113188, 0.0124997394, -0.0115748728, 0.0205279775, -0.0183269177, -0.0170754194, 0.0009973998, -0.0450298414, 0.0188321564, 0.0039896923, 0.0045327065, -0.0085297208, 0.0872479007, 0.0210648738, -0.0092665693, -0.0441534035, 0.0287976116, 0.0501957387, 0.0659868047, 0.0371172503, 0.0455863364, -0.0076543917, 0.0319402069, 0.05187352, 0.0230738427, 0.0278267395, 0.0125422152, 0.0345734321, 0.0220986623, 0.0585640818, 0.0733231828, 0.0712114275, 0.0004393886, -0.0711410195, 0.0176993869, -0.0017603835, -0.0164924022, 0.0073549277, -0.0200678855, -0.0436337031, -0.0287146606, -0.043446973, 0.0154285543, -0.033837229, -0.0116290366, 0.0506864153, 0.0128936144, -0.0153245116, 0.0149728283, 0.0379393212, -0.0494828559, -0.0176281985, -0.0027291572, -0.0350999273, 0.0339021683, 0.0004650785, 0.0162533168, -0.0652730465, -0.0505801141, 0.0293152872, -0.027024379, 0.0150885861, 0.0164685678, 0.0405051969, 0.0151173417, -0.0787201673, -0.0062499265, -0.0276569501, 0.0340714641, -0.0052611833, 0.003262769, 0.0235133879, 0.0062566861, -0.0101074697, 0.0562442616, 0.0036912248, 0.0071361489, -0.048952125, -0.0139495833, 0.0040946295, 0.0417592078, -0.0031228552, -0.0101237046, -0.0521464646, 0.0227694642, 0.0300967507, -0.0735885948, -0.0137701752, 0.0236535948, 2.423e-7, 0.0420340374, 0.0128836269, 0.0516863577, 0.0210589077, 0.0027259893, 0.0162680317, -0.004457836, 0.0224332977, 0.03756449, 0.0054973583, 0.0073540546, 0.013464191, 0.0506923348, 0.023523327, -0.1079632863, -0.0213852581, -0.075972341, -0.0108298166, -0.0738561526, -0.0173765011, 0.0270797648, 0.1222472116, -0.0180919115, -0.0197873674, 0.002702707, 0.0099311965, 0.0410987884, -0.0123720495, -0.0219663586, 0.0418981463, -0.0038711084, -0.0011832578, 0.008979449, 0.0074853702, -0.0271506179, 0.0280454308, -0.0159962326, 0.0555934645, 0.0072159995, -0.0446907245, 0.0044303862, -0.0140737975, -0.0079527991, -0.0568919666, 0.0691097081, -0.0448423512, -0.0143821333, -0.0280685704, -0.0188128203, -0.0040121423, 0.0197120011, -0.0378965996, 0.0090019396, 0.017662257, 0.0287648533, -0.0258654412, 0.007101099, -0.0573139712, -0.0252113789, 0.0143376943, -0.0264786873, -0.0532675162, -0.0300080683, -0.0062895278, 0.0121438289, -0.0395667963, 0.0018954639, 2.450880237e-34, 0.02580663, 0.0013889222, 0.0442700014, 0.0309347436, 0.015215829, -0.0298178382, -0.0077453665, 0.0242902692, 0.0266938824, -0.0676409453, -0.0444298983 ]
http://arxiv.org/abs/2406.12946v1
http://arxiv.org/pdf/2406.12946v1
Instruction Data Generation and Unsupervised Adaptation for Speech Language Models
2024-06-18T08:27:00
2024-06-18T08:27:00
Vahid Noroozi, Zhehuai Chen, Somshubra Majumdar, Steve Huang, Jagadeesh Balam, Boris Ginsburg
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
In this paper, we propose three methods for generating synthetic samples to train and evaluate multimodal large language models capable of processing both text and speech inputs. Addressing the scarcity of samples containing both modalities, synthetic data generation emerges as a crucial strategy to enhance the performance of such systems and facilitate the modeling of cross-modal relationships between the speech and text domains. Our process employs large language models to generate textual components and text-to-speech systems to generate speech components. The proposed methods offer a practical and effective means to expand the training dataset for these models. Experimental results show progress in achieving an integrated understanding of text and speech. We also highlight the potential of using unlabeled speech data to generate synthetic samples comparable in quality to those with available transcriptions, enabling the expansion of these models to more languages.
[ 0.0179555193, 0.0681667626, -0.0145568987, 0.0322830528, -0.0279245768, -0.0058123693, 0.045647718, -0.0188067686, -0.0264941342, -0.0934974104, -0.0687451586, -0.0501748063, 0.0004961482, 0.0299609508, 0.0635799095, -0.0771179795, 0.0288026966, -0.0874251351, -0.0667146295, 0.0039748107, 0.0228551216, 0.0513555743, -0.0359578021, 0.0207971763, -0.048725415, 0.0010224663, -0.020388104, -0.0075281099, -0.0188570749, -0.0106736859, -0.0278801434, 0.0191592388, 0.0579973944, 0.0215784758, 0.0000017148, -0.0405283831, 0.0061398912, 0.0129214767, -0.0200736634, 0.0121892309, 0.0923234895, -0.0107182711, -0.0196364094, 0.0359870829, -0.0053381459, -0.0384662524, 0.0524200648, 0.034029033, 0.0601720624, 0.0873223394, -0.0197268054, -0.0214963891, 0.0113192117, 0.0027533353, 0.0139445905, 0.019512238, 0.012027164, 0.0006923005, 0.0296698958, 0.0095604872, -0.0331959203, 0.0303310379, 0.0072392127, -0.0222944357, -0.001580586, 0.0252023432, 0.0048299185, -0.0459507816, -0.0399750732, 0.0886534899, 0.0021220886, -0.0239343215, 0.0051305387, 0.0075438861, -0.0209667385, 0.0163197741, -0.0234352536, 0.0395938419, 0.0236479435, 0.0203761123, 0.0102952747, -0.0290189292, 0.0150870373, -0.0190348495, -0.0117602134, -0.0037564684, 0.0407806672, -0.0276813898, 0.0046204119, -0.0213484541, -0.0025093425, -0.0287000835, 0.0038477117, 0.0261245891, -0.0165161267, 0.0167848356, -0.0776358545, -0.0581835359, -0.0244755875, -0.0198646337, 0.0684841052, 0.0043567084, -0.0503466539, 0.0140609993, -0.0262059961, 0.0159360524, -0.0194097087, 0.013618933, -0.0404167883, -0.011401129, -0.0367093347, 0.0144473696, -0.0454072505, 0.0079238713, -0.0883565098, -0.0286417287, -0.0010155967, 0.0192846339, 0.0107037071, -0.0259399321, 0.0550486371, -0.0091021191, -0.0772322863, -0.0117668835, -0.010526238, 0.0103712101, -0.0030174856, 0.0543204024, -0.0052040657, -0.061457064, 0.022550378, 0.0460261367, 0.0198447015, -0.0128864106, 0.0283255819, 0.095490396, -0.0468625464, -0.0135912383, -0.0649452657, -0.0150705492, -0.0314569063, -0.0657088086, 0.0248171836, -0.0693933591, 0.0411123745, -0.0147121269, -0.0017675495, -0.0065979827, 0.0171047002, -0.0099981241, 0.001536791, 0.0738356784, -0.0075593186, 0.0381460451, 0.0295614284, -0.0416422337, 0.0599513762, 0.0718851015, 0.0718255267, -0.0157220308, 0.0217195116, -0.0296615884, -0.0104493406, 0.0802346319, -0.000290783, 0.0121622831, -0.0241781175, -0.017763637, 0.0300945845, 0.019438928, 0.0353257023, 0.0614100136, -0.020474948, 0.0064372825, 0.059358377, 0.0144739877, 0.0365189202, 0.0255251843, 0.1080397069, 0.0130099552, 0.002497955, -0.0117262937, -0.0099958936, -0.0075653438, 0.0048242137, 0.0247574951, 0.0171658192, 0.0487295911, -0.042006541, -0.0294944383, -0.0000548782, -0.0103259757, -0.006189554, 0.0037881613, 0.0746804252, 0.0603411645, -0.0565461107, 0.0090654148, 0.0398352444, -0.0461869501, 0.0509200171, 0.0016499609, 0.0072990614, 0.0669482723, 0.0061886609, -0.0111542689, 0.0188656151, -0.012503664, 0.0054236529, 0.0639785305, 0.0326307081, -0.026473837, 0.0201633312, -0.0692283884, -0.0086187832, 0.0145155778, 0.0010569898, 0.0515234694, -0.0220942833, -0.0052025947, -0.0003965415, -0.0336586423, -0.0071874838, 0.043467056, -0.0373220183, -0.0368226208, 0.0151617387, -0.0132980281, 0.0533595532, 0.0273481049, -0.0416844971, 0.0090205111, 0.0271544214, -0.0348514616, 0.0287589766, 0.0100345118, -0.0684621409, -0.0286833234, 0.0169155523, -0.0415485352, 0.0125691006, 0.0249208417, 0.0158992931, -0.0623274744, 0.0287474133, -0.0680089518, 0.0289669149, -0.0581416488, 0.0135155125, 0.0313000344, 0.0132799568, 0.0029124888, 0.004145565, 0.0249361191, -0.015084384, 0.0358473845, 0.0511518531, -0.017230114, -0.0479797013, -0.0112009123, 0.0208781455, -0.0143020181, 0.0359470434, -0.0247243997, 0.0081059486, -0.0254764855, -0.0250996593, -0.1014703214, 0.0081484085, -0.0081668682, 0.0123608587, 0.0284612197, 0.0075031798, -0.0064826384, 0.0038235453, -0.0253263004, -0.0111334259, 0.0387325622, 0.004222176, -0.0194881801, 0.0087979157, -0.0279715247, -0.0249705557, -0.002268885, -0.0056301965, 0.0638869703, -0.0118774706, -0.0056040213, -0.0651200488, 0.0243642312, 0.0108194174, 0.0734964311, 0.0054057059, -0.0628410578, 0.0140127083, -0.0244296286, 0.0879350975, 0.0231005196, 0.0208948608, 0.0202202909, 0.0375366397, -0.0356349461, -0.0506174192, 0.0178310424, -0.0207672361, 0.0040228921, -0.051094491, -0.026237024, -0.0218911543, 0.0707416907, 0.0254446417, 0.012174895, -0.0488633476, -0.0091999983, -0.0038699538, -0.065149188, -0.0085395928, -0.0024135704, -0.04748464, -0.0042832838, -0.0184529144, -0.0317960493, 0.0133408969, -0.0885684118, -0.0346701965, -0.0453143828, -0.0283811241, 0.0002881281, 0.0356730446, 0.0105036153, 0.0214533135, -0.0039893719, -0.0044939546, -0.0410129689, 0.0241869967, 0.0229526423, -0.0298665389, 0.0039154477, -0.0501156375, 0.0088425074, 0.0083785523, -0.0021743523, -0.0433209985, -0.0261568855, 0.0021789914, 0.0036910251, 0.0085643316, -0.0117218085, -0.012431412, 0.0209680852, 0.0328915417, 0.0460577831, 0.0078504048, 0.0184151493, -0.0428776965, 0.035153985, 0.0540245324, 0.0226162691, -0.0525762588, -0.0516060814, 0.0302749369, -0.0137836225, 0.0486798733, 0.0160712264, -0.047643356, 0.0345272459, 0.0003617684, 0.028831115, -0.00778346, 0.0417300686, 0.0304415394, -0.0435141772, 0.0010638915, 0.0722875744, -0.0022287709, -0.0225202944, -0.0039544888, 0.0359496698, 0.0113563668, 0.0157485846, 0.0193127077, -0.045679152, -0.0315314084, 0.0154959168, 0.0130611053, -0.0080296025, 0.015390872, -0.0262207948, -0.1461726576, 0.040915966, 0.0170188062, -0.0725806653, -0.0448489748, -0.0295372512, -0.0072025498, 0.0183680393, 0.0186801143, 0.0107814372, -0.0304434355, -0.0221810173, 0.053642828, -0.0017401638, -0.0764180869, -0.0074101123, -0.0230507404, 0.0841483846, 0.0426462181, 0.015132579, 0.0018115147, -0.0254373085, 0.0339933969, -0.0137780644, -0.0073044021, -0.008950131, 0.0395908915, -0.0096902587, -0.0304591805, 0.0044940286, 0.0790631697, 0.0005858457, 0.001602459, -0.0069383299, 0.0696381554, -0.002372504, -0.0102338884, -0.0064391308, 0.019533705, 0.0261929035, 0.0445777103, 0.0136557175, -0.0961293653, -0.0066539259, 0.0058293631, -0.0193465669, -0.0533098765, -0.0451621935, 0.0378607288, -0.0696910769, -0.0063047535, -0.0681222305, -0.0101270983, 0.0363057293, 0.0653752312, 0.0311015323, -0.016399309, 0.0164850019, -0.0069519226, -0.0361575484, 0.0421620645, -0.0399718508, 0.0310039259, -0.0413973518, -0.067095764, 0.0228583962, -0.0766539797, 0.0008347835, 0.0082393615, -0.0449906886, -0.0618371032, 0.0023599272, 0.0292020086, 0.0161476657, 0.0715391189, 0.0026452281, -0.0388699174, 0.0497746691, 0.035950359, -0.0560388416, 0.0089570098, 0.0296510458, -0.0184513647, -0.008337046, -0.0050003477, -0.0431672074, 0.0481896177, 0.020934049, 0.0306690931, -0.0096497564, -0.0182099603, 0.0173092708, 0.0247967094, 0.0207392387, -0.0185345672, 0.0100991605, -0.0747091547, 0.0066803684, -0.0088722315, 0.0092309183, -0.0715850145, 0.0112434793, 0.0292499755, 0.0414724126, -0.0012403585, -0.0150662828, 0.0030766863, 0.0151475593, 0.0030961393, 0.0344521217, 0.0348932147, 0.0468501747, 0.0066002328, 0.0153266257, 0.002898003, 0.0219282228, -0.0222058818, 0.012046109, -0.0020838922, 0.0510059223, -0.0174378958, -0.0294331368, -0.0127898278, -0.0087715108, -0.0203590132, 0.0211101864, -0.0832812339, 0.0481707714, 0.0439977646, -0.0169887003, 0.0534534305, -0.0303795263, 0.0043634577, -0.0186783224, 0.0577972494, -0.014673247, -0.0090913968, 0.023700932, 0.0040728259, -0.0114653101, -0.0080633489, 0.0634407327, 0.0511245988, 0.0704505742, -0.0250075236, 0.0418863893, -0.0568095855, -0.0313755162, 0.0131787658, -0.0014806417, -0.0243658572, 0.0087781288, -0.0024003822, -0.0732246637, -0.0214684121, 0.0440110192, 0.0017575186, -0.0065488676, 0.0624625385, -0.0008817447, -0.0404399335, 0.0228184033, -0.0259320829, 0.0049842438, 0.0130143045, -0.0216112267, 0.0010207325, -5.687979493e-33, -0.0365416668, 0.0144678624, 0.0351092182, -0.0005610997, -0.0450467654, -0.0120118652, -0.0063841478, 0.0111312224, 0.0257727131, -0.003855818, 0.0141428774, -0.0116379093, 0.0131366113, 0.0538241267, -0.014233212, 0.0209911261, 0.0658394024, -0.0635271668, 0.0144085083, 0.0387555286, 0.0450887233, 0.0122598931, 0.0547018014, -0.0612380169, -0.0090127019, -0.0084935501, -0.0120716626, -0.00042611, 0.0127607351, 0.0835361108, -0.0362266824, 0.0580386929, -0.0046375529, -0.0347619578, -0.0397625081, 0.0556351095, -0.0587387271, 0.0173987038, 0.0555560589, 0.0270969998, -0.0543734543, -0.027064966, 0.0165941678, -0.0192859527, -0.0153252119, 0.0035975964, 0.0320687816, -0.0408915244, 0.0254921708, -0.0287351683, -0.0627280548, 0.0090755057, -0.0113464557, -0.0326857641, 0.0317027308, 0.0731102675, -0.0026180628, -0.0215136223, -0.0005999254, 0.0557369106, 0.0012972904, 0.0395140573, 0.0653878599, 0.0453787819, 0.0196492597, 0.0502835922, 0.0348677821, -0.0428721569, 0.0101201599, -0.0133427596, 0.0458286293, 0.0501378216, 0.0136556067, 0.1033475026, -0.0049674744, -0.0010448071, -0.0311890952, 0.0009248233, 0.0008415454, -0.0234462302, 0.032924328, -0.0048951129, 0.0179830808, 0.0154954381, -0.0757557377, -0.0190113056, -0.0207715333, 0.0002534091, 0.0634778589, 0.0314183198, -0.0318188444, -0.0075832643, 0.0856757611, -0.0334335789, -0.0121637974, -0.0387496501, -0.022757899, 0.0218074694, -0.017666677, 0.0126098283, -0.053266231, -0.0781273916, 0.0832275748, 0.0000417211, 0.0114633739, -0.0035136051, -0.0265388172, 0.0331566222, -0.0501755364, 0.00674984, -0.0242068265, 0.0444611982, -0.0044605024, 0.0187134389, 0.0418738462, 0.0014392772, -0.0386568755, 0.0306975991, -0.013398543, -0.0184162073, -0.0153797893, -0.0479786359, -0.0079117715, 0.0642068312, -0.0480703898, 0.0293454994, -0.0486311987, -0.0523151681, 0.0427835248, -0.0432345457, 0.0007848499, 0.0445934311, 2.538e-7, -0.00118489, 0.0138999354, 0.004876669, -0.0045199413, 0.0467897542, 0.0161280613, -0.0232399441, 0.0310257357, 0.0171850547, -0.0322122276, -0.0242461413, 0.0008848577, 0.0680388957, 0.0143190362, -0.0591341965, -0.021273721, -0.0301548298, 0.0296741091, -0.0648972467, 0.0059514581, 0.0121272085, 0.0970029682, -0.0498373546, -0.0361944139, -0.0015326564, -0.0083860625, 0.0542120375, -0.0421131216, -0.0335594863, -0.0051564309, -0.013780416, 0.007889878, -0.0126029532, 0.0167869236, -0.0281253587, 0.0170352459, 0.0285609663, 0.05438127, 0.0104782544, -0.0195845459, 0.0324734934, 0.0145446407, -0.0650464594, -0.000073158, 0.0373436064, -0.0254039783, 0.0083276778, -0.0375209451, -0.011362562, 0.0087849991, -0.0481078699, -0.060803175, -0.0048651244, 0.0327403136, 0.0409311689, -0.0118396403, -0.0126509862, -0.026448423, -0.0106558185, 0.0200381726, -0.075489454, -0.0495792702, -0.0374082886, -0.0168997962, 0.033582665, -0.0538522303, -0.0163997822, 2.068828961e-34, 0.0098208841, -0.0124845086, 0.020007195, -0.0323664509, 0.0005229286, -0.0300064497, 0.0047487668, 0.0166422836, 0.0089817578, -0.0937793925, -0.0445828512 ]
http://arxiv.org/abs/2406.12389v1
http://arxiv.org/pdf/2406.12389v1
EMO-KNOW: A Large Scale Dataset on Emotion and Emotion-cause
2024-06-18T08:26:33
2024-06-18T08:26:33
Mia Huong Nguyen, Yasith Samaradivakara, Prasanth Sasikumar, Chitralekha Gupta, Suranga Nanayakkara
cs.CL
cs.CL
Emotion-Cause analysis has attracted the attention of researchers in recent years. However, most existing datasets are limited in size and number of emotion categories. They often focus on extracting parts of the document that contain the emotion cause and fail to provide more abstractive, generalizable root cause. To bridge this gap, we introduce a large-scale dataset of emotion causes, derived from 9.8 million cleaned tweets over 15 years. We describe our curation process, which includes a comprehensive pipeline for data gathering, cleaning, labeling, and validation, ensuring the dataset's reliability and richness. We extract emotion labels and provide abstractive summarization of the events causing emotions. The final dataset comprises over 700,000 tweets with corresponding emotion-cause pairs spanning 48 emotion classes, validated by human evaluators. The novelty of our dataset stems from its broad spectrum of emotion classes and the abstractive emotion cause that facilitates the development of an emotion-cause knowledge graph for nuanced reasoning. Our dataset will enable the design of emotion-aware systems that account for the diverse emotional responses of different people for the same event.
[ 0.0295601208, 0.0671598464, -0.0004464653, -0.0177375227, 0.0390267037, 0.0431576818, -0.0085170278, 0.0084980996, 0.0507046357, -0.0031768004, 0.009426767, 0.0334345214, -0.0610079058, 0.042996347, -0.0024310024, -0.0819037557, -0.0089499885, 0.0865357444, 0.0702307299, -0.0134448968, 0.0530213676, 0.0631422102, -0.0001730915, 0.0277207885, -0.0472272933, -0.0218960606, -0.0118931187, 0.0331383459, 0.0364653841, -0.0330411643, 0.0440967754, 0.0261905137, 0.0072943396, 0.0115268659, 0.00000229, 0.0021117867, -0.0294749308, -0.0449790247, 0.0166856032, -0.0435812213, 0.0740822926, -0.0388456769, 0.0011352999, 0.0194326136, -0.0089528849, -0.0200176053, 0.0396309793, 0.0677169114, 0.0894076377, 0.0782874152, -0.0501187071, 0.0104335351, -0.0399918742, -0.0061832862, 0.007295195, 0.0344476923, 0.0272281338, -0.0210142322, 0.0051489328, -0.0762038231, -0.0006718076, -0.0012755799, -0.007249176, 0.0093797492, 0.0168186165, -0.0020539449, -0.017391257, -0.0387152061, 0.0106509812, 0.0833200365, -0.0024178773, -0.0089879222, 0.0548030175, -0.0206035357, 0.0044386713, -0.0029850218, -0.020332193, -0.0013099835, -0.0300857313, 0.0428159945, -0.0252405182, 0.0134973591, 0.038499549, 0.0491622463, 0.0166343208, 0.0234594066, -0.0267703589, -0.0263125319, 0.0177718159, -0.0064246645, -0.0114883976, -0.0359347947, -0.0040188818, -0.0146888094, -0.0348241888, 0.0210564211, -0.0373722613, -0.040759135, -0.0137187159, -0.0362870768, -0.0430357642, 0.0052400706, 0.0280684233, 0.006427818, 0.0787605494, -0.0470842533, -0.0056457166, -0.0012598663, -0.0196336973, -0.0232650507, -0.0482657254, 0.0203166362, -0.0094953701, -0.0119880997, -0.0108183064, -0.0020347992, -0.0777340829, -0.0075601847, -0.0542560034, 0.0156556293, -0.027607061, 0.0233361367, 0.0029729498, -0.0081746019, 0.0061384803, 0.0029385781, -0.0491099246, 0.0442096181, 0.0094887139, -0.0221515037, 0.0291920304, -0.0293679275, 0.0439538844, 0.001115018, 0.0153853074, -0.0032805868, 0.0328784436, 0.0014313027, -0.0356736258, -0.0551045313, 0.0080321273, -0.0049490551, -0.010141843, -0.0380246192, 0.0469698682, 0.0120867584, 0.0277061351, -0.0507768318, 0.0182697568, -0.0172688309, -0.055576358, 0.0495928302, -0.080969736, 0.0103175193, -0.0133671435, 0.0284315888, 0.0012278558, 0.047997348, 0.0515457951, 0.0761320814, 0.093140699, -0.0299528167, 0.0240435563, -0.0100380545, 0.026697753, -0.036238607, 0.0146093834, -0.0406511836, -0.0772854835, 0.0439410061, -0.0138445366, 0.0004919085, -0.00901262, 0.0004497764, 0.0279804952, 0.0425118767, -0.0196692999, 0.06434609, -0.0434436873, 0.0297861323, 0.0161591209, -0.0729321912, -0.0023011123, 0.0315450989, -0.0146665452, -0.0028804359, 0.0046979398, 0.0106246164, -0.0483914763, -0.0340190642, -0.0401895791, -0.0017086099, -0.0327347517, -0.000206354, 0.0161707569, -0.0210483577, -0.0471398383, 0.0153232617, 0.0327063315, -0.1137270108, -0.0179107282, -0.0123282028, 0.0226633325, 0.0626816824, 0.0197941307, -0.0581697896, -0.0202039573, -0.0227606129, 0.0129016377, 0.0200099591, -0.0012097721, -0.0165328421, 0.0070067053, -0.0556991026, 0.0032286809, 0.0203049611, -0.007402638, 0.0034259812, -0.0182717498, 0.0272367392, -0.0336834043, 0.0025954116, -0.0164704621, 0.0016948819, -0.0400532223, -0.0161816422, 0.0066536926, 0.030618595, 0.0342678428, 0.0392785408, 0.0017126226, -0.0286651887, 0.0240742508, -0.0091339136, -0.0433308706, 0.0454909727, 0.0056328746, -0.0092616575, 0.0394518971, -0.0507473536, -0.0418059044, 0.0598209016, -0.0756965503, -0.032581795, 0.0439429507, 0.0103134476, 0.0192694869, -0.001933926, -0.0294731837, -0.0178071801, 0.0174614657, 0.0414287187, 0.0553417243, 0.0106292609, -0.0146751218, -0.0272511709, -0.0358221829, -0.0007284381, 0.0034170877, -0.0423307791, -0.0067261131, 0.0013486408, 0.0078677125, 0.018249156, -0.0458061583, -0.1120753363, -0.0387152992, -0.0914284959, 0.0148891564, -0.0029423982, -0.0220835935, 0.018686194, 0.0040815938, -0.0227346886, 0.0034860994, -0.0108135454, 0.0484814048, 0.0151653849, 0.0162155274, 0.0277798939, -0.0324045308, 0.0336615555, -0.0665875524, -0.0002720267, -0.04949411, 0.0204229001, 0.0185089912, 0.0125623774, 0.0249642134, 0.0426726937, -0.0588376075, 0.0077787144, 0.0100860214, -0.0419678837, -0.0078976462, -0.024852192, 0.0103681302, 0.0211057179, 0.0018481454, 0.0960072428, -0.0082441261, -0.0122498795, -0.0351896659, 0.0285034664, -0.0324281305, 0.0234780069, -0.0191708561, -0.0460539199, -0.0487153716, 0.0651764125, 0.0019478797, -0.0007640327, -0.0535022244, 0.0171637423, 0.0010609841, -0.0159445573, -0.0383955054, -0.0265979227, 0.0035094109, 0.0219958015, -0.0278392844, -0.0487374328, 0.008631018, 0.0663787723, 0.0051048305, -0.0125276344, -0.0083328467, -0.0078555727, 0.0727603659, -0.0422952659, 0.0013245642, 0.0207910314, 0.0226440486, 0.0251539536, -0.0660026073, -0.0133992815, -0.0463208519, 0.00828207, -0.0409125499, -0.0076816599, 0.0341776311, -0.0536562018, -0.01995969, -0.0709010139, -0.057441473, -0.029896155, -0.016139552, -0.0255269129, -0.0227567609, -0.0660055801, 0.0260570664, -0.0248098634, 0.0277475733, -0.0394894369, 0.0200518742, 0.0183345787, 0.0487725921, -0.0252143238, 0.0294880886, -0.0117303086, 0.0400807485, 0.059808448, 0.0607892573, -0.0381147414, -0.0180843268, 0.0409317836, -0.0253195148, 0.012119527, 0.028370209, -0.0635661706, 0.0387146436, -0.0209666677, 0.0397873148, 0.1046546549, 0.020370217, -0.0199078526, 0.0303389952, 0.0130292745, 0.0104480311, 0.0168923195, 0.021392433, -0.0408166349, -0.0244571902, -0.010744717, 0.0474471971, -0.000040541, -0.059940964, 0.007030264, -0.061519742, 0.0391119979, -0.0024973084, 0.0121818632, -0.0345419757, -0.0140878763, 0.0173243247, -0.0405820943, -0.0389307514, -0.0491853543, 0.0131517844, -0.0022701628, 0.031987451, -0.0129560838, -0.0347248316, 0.0419990644, -0.0136666568, 0.0468518026, -0.0435470194, 0.1121630371, 0.0072087413, -0.023907043, -0.001011668, 0.0118087176, -0.0334380046, 0.0034287982, 0.078718029, 0.0169808585, -0.0216228664, -0.0559395552, 0.0878234059, -0.0865843296, -0.0061255307, -0.0351805873, 0.0736338273, -0.0102606462, -0.0136301201, -0.0361559317, 0.0089216074, 0.0252671745, 0.0215313304, 0.0362863354, -0.0363225676, 0.0013693323, -0.0172498878, 0.0308588147, -0.0425118431, -0.0309993438, -0.016830476, -0.041966375, -0.0640366897, -0.0479365177, -0.0596747994, 0.0354851559, -0.0014721638, -0.0280784518, -0.079731591, 0.0182155427, -0.0271037277, -0.04523056, 0.0657911599, 0.0283037387, 0.0278638452, 0.020061031, -0.0220966283, -0.002045963, 0.0286111906, -0.0116346963, -0.001601923, -0.0187753476, -0.038484633, 0.0487802811, -0.0048941621, 0.0145004671, 0.0097142095, 0.019991722, -0.0414629057, 0.0385347269, 0.0593477525, -0.0160329882, -0.0345501415, 0.0465263315, 0.0180597734, 0.0129259303, 0.0348128006, -0.0400452912, 0.0473336726, 0.0047373422, -0.0297149532, -0.0338447317, 0.0273064412, -0.016391661, 0.0164742302, 0.0586927161, 0.0033403547, -0.0719245523, -0.047415778, -0.0309225209, -0.0223098826, -0.0059006982, -0.0309279207, -0.0000012929, -0.0067769927, 0.0067951852, -0.0782310739, -0.0405452214, -0.0050241593, -0.0075255781, -0.0287900437, 0.0486788377, -0.0061775357, 0.0160291996, -0.0093504665, 0.0170820151, 0.0241758227, 0.016825432, -0.0026851702, 0.0044736168, -0.0063171419, 0.0106926793, 0.0146586774, 0.0116398884, 0.0131299663, 0.0249075405, -0.0107814902, -0.0335403942, 0.0064804247, -0.0190876629, 0.0269811302, -0.0585928559, 0.0683438927, -0.0320910215, 0.0039856532, 0.003508687, 0.0163469482, -0.0355083495, -0.030091675, 0.0121744638, 0.0080040395, -0.0210813936, 0.0017578554, 0.0322870128, -0.085380584, 0.0807731152, 0.0305333603, -0.0297368523, -0.0132570639, 0.0393439122, 0.0578651652, -0.0126029691, -0.002826486, 0.0320006013, -0.0742130652, -0.0481104143, 0.0257999077, -0.0419559404, -0.0232864972, -0.0002133708, 0.0299693495, 0.0437620692, -0.0162235573, 0.0486702807, -0.0394849665, 0.0217016935, -0.0928606465, -0.0363482013, 0.0139654325, -6.596462139e-33, 0.0594692864, -0.0149866538, -0.0408731028, -0.0101029603, -0.0350796953, 0.0447334237, -0.0269735549, -0.0062452084, 0.0233121403, 0.0814395696, -0.0513767563, 0.0798056871, 0.0013042858, 0.0246184673, 0.0228835251, -0.0060724234, 0.0197199099, -0.0125129502, 0.0042381515, 0.0713040903, 0.0718566403, 0.0558325388, 0.039886225, -0.107823953, 0.0174342785, 0.014295348, -0.0143920463, -0.0004935845, 0.0621548519, 0.0296420343, 0.0046635759, 0.0809751824, 0.0040775631, -0.0049572457, -0.0027127974, 0.034126658, -0.0333899595, -0.0326968841, -0.0227547418, -0.0235090628, -0.0479208529, -0.0268472861, 0.0052804165, 0.0354513377, 0.0052801301, -0.0460879095, 0.0443325117, 0.0045799888, 0.0452785231, -0.0582271293, 0.0253091566, 0.0324974842, -0.0553634949, -0.0282776281, 0.0292884912, 0.0412731357, 0.0015194761, 0.0401976742, -0.0446493924, 0.0223932303, -0.0456333123, -0.0315253064, -0.0041283192, -0.0559748672, 0.0139967697, 0.0809495226, -0.0065261112, 0.036898233, -0.0271581337, 0.0629367903, -0.0442887843, 0.081257008, 0.0210675355, 0.0452529676, 0.0196406003, -0.0492208116, -0.032546673, 0.0598697886, 0.0046801288, 0.0211157836, 0.0104315821, 0.0044529103, -0.0024149152, 0.0112893991, 0.0165547393, -0.0213766173, -0.0073223747, 0.0059036538, -0.0371891931, -0.0476501472, -0.0006771168, 0.0040277429, -0.0318338349, -0.0203369837, -0.0094382679, 0.0223916918, 0.002590785, 0.0414024033, 0.0235708468, 0.0041332939, -0.0167472474, 0.0099146664, 0.0180109721, 0.02421166, 0.0692784116, 0.002706469, 0.0025009788, 0.0355449878, -0.0327933691, 0.0110171819, -0.024955174, 0.0186401699, -0.037041232, -0.0131391622, -0.0425849706, 0.0551664978, 0.0126430811, -0.0135294748, 0.0462229326, 0.0816203281, 0.019472016, -0.0178057868, -0.0382537358, 0.0211915076, -0.0030437722, -0.0336602926, -0.0511996225, -0.0351720862, 0.0503790304, -0.0206330419, -0.0177301392, -0.0351955853, 2.988e-7, -0.0044527594, 0.0472211353, 0.0364040472, -0.0039898222, 0.0179906804, 0.0718085766, 0.0008842816, 0.0407968909, -0.0105514247, -0.0398163833, 0.0516419224, -0.013567036, 0.0589020327, 0.0407588221, -0.067362085, -0.0260051191, -0.0246366337, -0.0053790542, -0.0409244038, 0.0039238781, 0.0779428855, 0.059529867, 0.0873695239, -0.0278618615, 0.0321984924, 0.03425074, 0.0172290988, -0.0530391224, 0.0326017626, 0.0221974738, 0.0298121721, -0.0583321974, -0.0064146151, -0.0167698413, -0.0137172565, -0.0417790078, 0.0191617515, 0.0189207532, 0.010823125, 0.0006466198, 0.0280814022, 0.000981222, -0.0024248981, -0.0324683748, 0.0127588613, -0.0441432148, -0.051554922, -0.0103786746, -0.024492519, 0.0000793673, 0.0257880315, -0.0151650133, -0.0457912125, 0.0116791055, -0.008642083, -0.0071427003, -0.0180791542, -0.0940267816, 0.0235640947, 0.0154032577, -0.0259059612, -0.012516682, 0.0025270812, 0.0113152368, 0.0474040546, -0.0357932821, 0.0176792704, 2.239730457e-34, -0.0096549885, 0.0116941622, -0.0451479144, -0.0121443849, 0.0323136151, -0.0266807601, -0.0236270335, -0.0277552009, 0.0304503106, -0.0593821928, 0.0209611412 ]
http://arxiv.org/abs/2406.12387v1
http://arxiv.org/pdf/2406.12387v1
Performant ASR Models for Medical Entities in Accented Speech
2024-06-18T08:19:48
2024-06-18T08:19:48
Tejumade Afonja, Tobi Olatunji, Sewade Ogun, Naome A. Etori, Abraham Owodunni, Moshood Yekini
eess.AS
eess.AS, cs.CL, cs.SD
Recent strides in automatic speech recognition (ASR) have accelerated their application in the medical domain where their performance on accented medical named entities (NE) such as drug names, diagnoses, and lab results, is largely unknown. We rigorously evaluate multiple ASR models on a clinical English dataset of 93 African accents. Our analysis reveals that despite some models achieving low overall word error rates (WER), errors in clinical entities are higher, potentially posing substantial risks to patient safety. To empirically demonstrate this, we extract clinical entities from transcripts, develop a novel algorithm to align ASR predictions with these entities, and compute medical NE Recall, medical WER, and character error rate. Our results show that fine-tuning on accented clinical speech improves medical WER by a wide margin (25-34 % relative), improving their practical applicability in healthcare environments.
[ 0.0259871967, 0.0865032598, 0.0137403784, -0.0287643969, 0.0335432254, 0.0085619176, 0.0282881651, -0.0268445946, 0.0023685098, 0.0122408839, -0.0167368744, -0.0887520462, 0.0601905696, 0.0124229155, 0.0294992849, -0.0260777064, 0.0135417888, -0.0258303545, 0.0296413619, -0.0315188132, -0.0116778035, 0.0274987668, -0.0366131291, 0.071241051, 0.0165882353, 0.0556695089, 0.0225341357, -0.0161303487, 0.034042947, -0.0499832034, -0.0446609296, 0.0104584983, -0.0826145634, -0.0123543106, 0.0000018707, -0.0418549329, -0.0079494631, 0.0393780358, -0.088614054, -0.0223955382, 0.0365836732, -0.0215644445, -0.0412733629, 0.0179982129, -0.0094960053, -0.0210468732, 0.0642772913, 0.0068935328, -0.0089214351, 0.0467502475, 0.0082433885, 0.0113192443, 0.0188420005, -0.0277322605, 0.0049587651, -0.0485664345, 0.0376253836, -0.0385247916, -0.002356292, -0.0316253752, 0.0049856235, 0.0169068761, -0.040443901, 0.0121132582, -0.0023041896, 0.033307001, -0.0379183479, -0.0365090854, 0.0070578735, 0.0534690693, -0.0187614094, -0.001843123, 0.0114517082, 0.0181892738, -0.0314970799, -0.0163988657, 0.0053418959, -0.0046561477, -0.0564931072, 0.0000985866, 0.037832614, 0.0189659763, 0.0482988209, -0.0054188501, -0.0474353693, -0.0115956087, 0.0117504625, -0.0203267839, 0.031865336, -0.0018700765, -0.0131997885, -0.0007820441, 0.0388340503, -0.0000205783, -0.0412398167, 0.0132029168, 0.0135961147, -0.0113846604, 0.0595257469, -0.0376637913, 0.0138806561, 0.0005410297, -0.0229460523, 0.0146246543, -0.0303476769, 0.043007575, -0.001107069, 0.0053876592, -0.0094930632, 0.0111862784, -0.0119987419, 0.0011134874, -0.0039162547, 0.0132786809, 0.0016094488, 0.0234442316, -0.0976124108, -0.0555758514, -0.0294678248, 0.0443324484, 0.0750268549, 0.0198374856, -0.0219659675, -0.0357421674, 0.0440187901, -0.0052219937, 0.0338331871, 0.0055434313, -0.0459047221, -0.0816075876, 0.0303324647, -0.0333728045, 0.0225562453, 0.0337108113, 0.0641409978, 0.0473634079, 0.0426016003, -0.0466151312, -0.0006194662, -0.0046441494, -0.05646649, 0.0149288485, -0.0298554748, -0.0415307954, 0.0366057307, 0.0105536953, 0.0218716934, -0.0694502145, 0.0179905333, -0.0124716414, 0.0023143524, 0.0605846494, -0.0160308089, -0.0003159212, 0.0287759099, 0.0150485188, 0.0236826055, -0.0200091433, 0.0125616267, -0.0704259872, -0.0282200128, -0.0137289641, -0.0106138252, 0.0380060747, 0.022200115, -0.0822884664, 0.0001190954, -0.0073295161, -0.0031185683, 0.0515466556, -0.000303317, 0.0809485167, 0.02995429, -0.03950404, -0.0114125805, 0.0430918038, 0.0026433661, -0.0124038067, -0.0024037245, -0.0440226421, -0.0087423036, -0.0384369195, -0.0057684667, -0.0339637883, 0.0299356598, -0.0117679276, 0.0026850961, 0.0379706249, -0.0245265439, -0.0047976919, -0.0204350203, -0.045903489, -0.0644106194, 0.0303225759, 0.0103896512, -0.0301412009, -0.0716303363, 0.0299921259, 0.0450880602, -0.0286418572, -0.0004410891, -0.0552236326, -0.0156395826, 0.0596641377, 0.0159875937, 0.0025134447, -0.0368060209, -0.0355097838, -0.055514168, -0.0220152549, -0.0409795791, -0.005431735, 0.052714631, -0.0591797121, 0.0316895843, 0.0906132162, 0.0064730244, 0.0140117491, 0.010037805, 0.0581263602, 0.0048027621, -0.0337791406, -0.0159775782, 0.0090350155, -0.0647145063, -0.0160698537, 0.0358331874, -0.0063372487, 0.0396231152, 0.0335490629, -0.0248090997, 0.0291955378, -0.0149209844, -0.0477615409, -0.0030780069, 0.0393195264, -0.0625679567, -0.0224570055, 0.0193339884, -0.0113305151, 0.0391655341, -0.0283922087, 0.0217621271, -0.0393830948, -0.0217999294, -0.0550852828, 0.0484818146, -0.0029030729, 0.0429342203, 0.0436200537, 0.0228364915, -0.0063744131, -0.0314577445, -0.0177395642, 0.0170706231, 0.0192648564, -0.0156166553, -0.0185470767, -0.0244668052, -0.0146846985, 0.0384220108, -0.0027306268, 0.0055745188, -0.032614693, -0.0176740699, 0.0069624176, -0.0122360354, -0.0994801894, -0.0251539014, 0.0262592584, 0.0119659351, 0.0103721824, 0.0414927974, 0.014755534, -0.008819635, -0.0146172065, -0.0622254349, 6.82e-8, -0.0205776058, -0.0323000289, -0.0010186156, -0.0307634231, -0.0182269979, 0.0159191042, -0.0168204512, 0.006359708, -0.0116642257, -0.0373574607, -0.0115152569, -0.0135107823, 0.0154262222, -0.0050957897, -0.0013114805, -0.0092257718, -0.0090418709, -0.0026593255, -0.0042380095, 0.0401192829, -0.0294481888, 0.003472528, 0.0021160368, 0.0024301328, 0.0014658211, -0.0077032177, -0.0074512069, 0.013288659, 0.0369458012, -0.0765732974, -0.0329210274, 0.0883508101, 0.0336464196, 0.028781265, -0.025457304, -0.0273731332, -0.018580718, -0.0011288074, -0.0360204503, -0.0189236738, -0.0478646383, 0.0103538092, -0.0140896579, -0.024953289, 0.081276156, -0.0605913065, 0.0004790847, -0.0325483568, -0.0027348537, -0.0267660171, -0.0510016643, -0.0213652384, 0.0030577849, 0.016278144, -0.0634609014, 0.0646070689, 0.0508640409, 0.0097402744, -0.0898840874, 0.0561176129, 0.001588578, -0.0146269221, 0.0156787876, -0.0577915385, -0.0095539736, -0.0059511675, -0.0551614873, 0.0155964913, 0.0241923016, -0.0219377019, -0.019048946, 0.0391202495, -0.0172790624, 0.0764153004, 0.0239859354, 0.0158303007, 0.0235860385, -0.0205701571, 0.0014189493, 0.013057353, -0.0226773173, -0.0296895057, 0.0440368094, 0.0296336357, -0.0077190492, 0.0213885847, 0.0074501927, -0.0149641633, 0.018657608, 0.0019805364, -0.0215508174, 0.0250875205, 0.0391461626, -0.0242800247, -0.0002720596, 0.1067496613, 0.0289799813, 0.0005253984, 0.020160092, -0.0068399352, 0.0030738197, -0.0372365452, -0.0199444555, -0.04609254, -0.0445220768, 0.0489975214, 0.0684575811, -0.0138331139, -0.0318413265, 0.0297495145, -0.0509076118, 0.0243141539, 0.031520173, -0.0595827289, -0.0132482629, -0.049501013, -0.0215171818, -0.0570857972, 0.0134862205, 0.00451768, 0.0250288676, -0.0239783525, 0.0418727249, -0.1101536825, -0.0984600261, 0.0290224738, -0.0166686047, 0.0712703764, 0.0678106844, -0.0177744571, -0.0068316059, -0.0265877675, -0.0544743799, -0.028115442, 0.0017564128, -0.010424816, 0.0580107756, 0.0337462574, -0.0235547181, -0.0281740557, 0.0428429283, -0.0520264655, -0.0071312399, -0.0320977159, 0.0327711515, -0.0475261733, -0.0174592305, -0.0069909678, 0.0267155878, 0.0251346845, 0.0381277353, -0.011225394, -0.0012783197, -0.0320066288, 0.0353200398, 0.0878007263, -0.0243261401, -0.0150479116, 0.0360731222, 0.0166257862, -0.0475927889, -0.0341176167, -0.0217170641, 0.0429581329, -0.0272357929, 0.0226907097, 0.0043660966, -0.0050010881, 0.0282829013, -0.021664694, 0.0286636967, 0.0276854932, 0.0426870324, -0.0631827563, 0.0184965115, 0.0733038783, -0.0014304629, -0.0220218152, -0.0036929394, -0.0041128546, -0.0231077131, 0.0741490051, 0.0178907178, 0.0147692477, -0.0038097815, 0.0010404852, -0.0218824036, 0.0329638161, 0.0042947228, -0.0066078552, -0.0286408979, 0.0050700251, 0.0027950595, -0.0105169825, 0.0063451231, 0.0151320845, 0.0655514821, -0.0145139592, 0.0090792151, -0.0630373359, -0.063812159, 0.0056438018, 0.0318108015, 0.0510145612, -0.0292737223, -0.0326204859, -0.0305597279, 0.0370777212, 0.0538360588, 0.0884012356, 0.0145521322, -0.029760167, 0.033416409, -0.0063403104, -0.0366934538, 0.0200026538, -0.0535481609, -0.0917012766, -0.0084744757, 0.0818711892, 0.0282103457, 0.0412058271, 0.0834185183, -0.0010522477, -0.0119066844, 0.0548660047, 0.0583839752, 0.0451247655, -0.0068389941, -0.0003822907, -0.0337323844, 0.0190638974, 0.0131026562, 0.0316326879, -0.0069039385, 0.0405090936, -0.0435976237, 0.0503088795, 0.0487436727, 0.007080738, 0.0352566913, 0.0109917838, 0.0338745415, -0.0443828665, 0.0129072648, -0.0555837862, 0.0496725962, 0.059855368, 0.0025882623, -0.0107547864, 0.0242909659, 0.0710573643, -0.004825288, 0.0489862673, -0.0160639733, -0.0160036683, -0.0387075469, -0.0210044887, -0.0091316793, -0.0407492295, -0.0956919417, -0.0050314465, -0.0447747, -0.0550892688, 0.0588533953, -0.018896902, 0.0134153124, 0.0022638682, 0.0144986166, 0.0023771245, -0.0135253267, 0.0142115317, 0.0110558299, -0.0013195248, -0.0368772075, 0.004659568, 0.0460008048, -5.438189515e-33, 0.0052326955, -0.0035626076, -0.0040930272, 0.0037562449, 0.0109177921, 0.0607509613, -0.0212975536, 0.0399787277, -0.0241114516, 0.0105026411, -0.034800496, -0.0202177763, 0.0261871926, 0.0347941965, 0.0204547979, -0.0355228148, 0.0281841196, 0.040125113, -0.0244793594, -0.0147522399, 0.0033407207, 0.0809244886, 0.0580061674, -0.0490850806, -0.0151484888, 0.0091317585, 0.0174314324, -0.0373095162, 0.0152402716, 0.0343499705, -0.021709159, 0.0323635861, 0.0085107535, -0.0142051643, -0.0070400452, -0.0304398704, -0.0881663933, 0.0320322365, -0.0097266994, 0.0176148042, -0.0023347831, -0.0466230661, 0.0718126446, -0.0027318071, -0.0850634873, 0.0271367189, -0.0118445354, -0.0528284907, -0.0149831939, -0.0362714715, 0.0082383733, 0.0753232986, -0.0000585365, 0.0230201371, 0.0405467227, -0.010735047, -0.0326793231, -0.0026989048, -0.0260451268, -0.0289224219, 0.0364844203, 0.0440509096, 0.0093857348, -0.0306386165, -0.080354847, 0.0317293964, 0.0760761872, -0.0588551983, -0.0367500372, -0.0096856141, -0.0299562216, 0.0232159495, 0.0207493082, 0.0301863216, 0.028982101, -0.0431600921, -0.0424089991, 0.0422821604, -0.0530540384, 0.0587096363, 0.0069755777, -0.029192673, -0.0853520483, -0.0076051839, -0.0290417466, 0.0167141706, -0.0044922959, 0.0044929287, 0.0509376526, -0.0270212628, 0.0206140056, 0.0645166859, 0.0206800979, 0.0192975774, 0.0180055462, -0.0352780595, 0.0606314316, 0.0309783313, -0.0500227027, 0.0108415373, -0.0671922043, 0.0076134647, 0.0215812474, 0.0037533897, 0.0395624824, -0.0063933954, 0.0213455167, -0.0006244966, -0.0914105624, -0.0019644329, 0.0176881198, 0.02483215, -0.0016186174, 0.0269821044, 0.0512911156, -0.008887928, 0.0286967736, 0.0271297954, -0.008671077, 0.0086610466, -0.0121836467, -0.0209423844, 0.0388405211, 0.0192448255, -0.0632938445, -0.0046119429, 0.0085347332, 0.0167386495, -0.0062782057, -0.0410590582, 0.0000219892, 0.0019600424, 2.648e-7, 0.0304733049, 0.0358534977, 0.0238533001, -0.051672712, 0.0101348106, 0.0013933048, -0.0045574014, -0.0104074273, -0.0179933887, 0.0149960369, 0.0271989834, -0.0407780334, 0.0837577283, 0.0402296074, -0.0837452933, -0.0393313766, -0.0954317153, -0.0061026728, 0.0073156753, -0.029532304, -0.0225589201, 0.0969664976, -0.0540728308, -0.0741638765, -0.0001479845, -0.0227068439, 0.0385771319, -0.0331037305, 0.0088627022, 0.0327222571, 0.0186727569, 0.0009899694, 0.0194037464, 0.0683059916, -0.0402689017, 0.0254236069, -0.0017925649, 0.0675347894, -0.0802397877, -0.0072726463, 0.0289527681, 0.0206968524, -0.0235006828, -0.0217617154, 0.0446695648, 0.0470797867, -0.0462495387, -0.0459014624, -0.0390195101, -0.0006113817, 0.0593123697, -0.0145258075, 0.0025379693, 0.0261317007, 0.0194361191, -0.001516876, -0.0517582037, -0.0266672838, 0.0033958247, 0.053171929, -0.0204653833, 0.0102937454, 0.062984854, 0.0036002761, -0.0512670688, -0.0766132027, 0.0155604267, 2.265395035e-34, 0.0272549093, -0.0206139889, 0.0298286229, 0.0619152002, 0.0046002241, -0.0354462378, 0.0326455534, 0.0148949996, -0.0063278833, -0.0233283695, -0.0421891212 ]
http://arxiv.org/abs/2406.12386v1
http://arxiv.org/pdf/2406.12386v1
IPEval: A Bilingual Intellectual Property Agency Consultation Evaluation Benchmark for Large Language Models
2024-06-18T08:18:18
2024-06-18T08:18:18
Qiyao Wang, Jianguo Huang, Shule Lu, Yuan Lin, Kan Xu, Liang Yang, Hongfei Lin
cs.CL
cs.CL
The rapid development of Large Language Models (LLMs) in vertical domains, including intellectual property (IP), lacks a specific evaluation benchmark for assessing their understanding, application, and reasoning abilities. To fill this gap, we introduce IPEval, the first evaluation benchmark tailored for IP agency and consulting tasks. IPEval comprises 2657 multiple-choice questions across four major dimensions: creation, application, protection, and management of IP. These questions span patent rights (inventions, utility models, designs), trademarks, copyrights, trade secrets, and other related laws. Evaluation methods include zero-shot, 5-few-shot, and Chain of Thought (CoT) for seven LLM types, predominantly in English or Chinese. Results show superior English performance by models like GPT series and Qwen series, while Chinese-centric LLMs excel in Chinese tests, albeit specialized IP LLMs lag behind general-purpose ones. Regional and temporal aspects of IP underscore the need for LLMs to grasp legal nuances and evolving laws. IPEval aims to accurately gauge LLM capabilities in IP and spur development of specialized models. Website: \url{https://ipeval.github.io/}
[ 0.0283457078, 0.0581412427, -0.0266210549, 0.031231612, -0.0994562954, -0.009097117, 0.0924728513, 0.0230404045, 0.0268755611, -0.0358270444, -0.0222675744, -0.0352209099, 0.0012824694, -0.0234577842, 0.0082034748, -0.0075827944, 0.0019498317, -0.0075163799, 0.025994787, -0.0434408188, 0.0313756913, 0.0024961617, -0.0089551173, 0.0473571755, 0.0225474592, -0.0300075989, 0.0462116711, -0.027156245, -0.0008895716, -0.0478697233, -0.0048105968, 0.0860617831, 0.0055745635, 0.0298082102, 0.0000022172, -0.1085911989, -0.017398499, 0.0082433298, 0.0616158061, 0.0903891101, 0.040119689, 0.032180585, -0.0161456931, 0.0103080105, -0.0423936434, 0.0467548147, -0.0153251989, 0.0261568371, 0.0239471328, 0.025603665, -0.005021954, -0.0137448264, 0.0180714801, -0.0428985655, -0.0272992104, -0.1036984995, 0.0059232535, 0.0508658811, 0.0570122227, -0.0394752882, 0.0133899124, 0.041154325, 0.0306771044, -0.0443994664, -0.0424724892, -0.0117812632, -0.0427128784, 0.0156424195, 0.0128245531, 0.0382822677, 0.0809293389, 0.0184414294, -0.0087691033, -0.0005620566, 0.0608035214, -0.0067718243, -0.0151927741, 0.0377807878, 0.0036035187, 0.0108561125, 0.0337010585, 0.0148970243, -0.0013088, 0.0274484009, -0.0044337143, 0.0681523383, -0.0068277484, -0.0235401634, 0.0031162628, -0.0169237945, 0.0499278679, -0.0445360877, 0.0210460331, 0.0069416626, -0.0098517518, 0.0209264345, 0.0110971853, -0.0070019858, 0.0190833993, -0.0483762734, 0.0109974304, 0.0180728622, -0.0254220832, 0.0423656628, -0.0477166921, 0.0761298686, -0.038124498, 0.0229693577, -0.0038446051, -0.0355530344, -0.0678296462, -0.0101753706, -0.0168484133, 0.054713171, -0.0403112732, 0.0049201725, -0.0557233728, -0.0218133386, -0.0536304265, 0.0266398676, -0.0151605243, -0.0120125944, 0.0408922136, -0.0682535619, -0.0607840419, 0.0377871804, -0.0360651799, 0.0371252969, -0.0210690107, -0.0276802778, 0.0415606014, 0.0095581645, -0.0374010541, -0.024478294, 0.0107831396, 0.102220118, -0.0085067935, 0.0286698267, -0.021598544, -0.0424001329, 0.0007450933, -0.07163091, -0.0217949096, -0.0864702314, -0.0079573821, -0.0275247991, -0.0189298727, -0.0892529935, 0.0003622766, -0.0066374135, -0.0156281739, 0.0039281086, -0.007572473, 0.0078142183, -0.032004714, 0.037563514, -0.004733894, 0.0188862868, -0.0088235205, 0.013735082, 0.0359333679, -0.0359879769, 0.0048557515, 0.0356182978, -0.0368330441, 0.0276428945, 0.0015731071, 0.0050550671, 0.0146395871, 0.0010459156, -0.022373775, 0.0482379496, -0.0048792711, 0.0503198169, 0.0701187402, 0.0619440265, -0.0040054191, 0.0281003751, -0.0066799042, 0.0016413319, 0.0036998838, -0.0424830988, -0.0126085263, 0.0081716264, -0.0128242355, -0.0153880231, -0.026646778, 0.0309018977, -0.0098151071, -0.0483039357, 0.0050665438, 0.0574203543, 0.0329497568, 0.006876627, 0.0221212264, -0.0191249885, -0.0062627415, 0.0584615692, -0.0459733345, -0.0195681937, -0.0458957441, 0.0020537653, 0.0042255884, 0.0496331975, -0.0051303641, 0.0306617022, 0.0134506449, -0.0174643062, -0.0257744938, 0.0841334984, 0.0434699133, 0.0123692378, -0.0249889176, -0.0107325409, -0.0142753096, -0.0071262866, 0.0047515598, 0.0315843932, -0.0327156857, 0.0481605865, 0.0289195478, -0.0547621362, 0.0087820077, -0.0291061196, -0.0397816747, -0.020769855, -0.0030998022, 0.0116067138, 0.0176610779, 0.0578298755, -0.037381608, 0.0274826083, 0.0166815817, -0.032024242, -0.0162895042, 0.044563558, 0.063251242, 0.0575175211, 0.0510668866, -0.0325731412, 0.0148131549, -0.0494901203, -0.012261034, -0.0102822576, 0.014449358, 0.0123015167, -0.0122913895, -0.0358979665, 0.003516143, -0.0656884015, 0.0223932434, -0.0018379245, 0.0095151793, -0.0128836446, 0.0202496033, 0.0483582914, -0.0253438056, 0.0794375017, -0.0237232614, -0.0459762253, 0.0317768306, -0.0272588823, 0.0060724486, 0.0540663339, 0.0384362638, -0.0115441242, 0.0134813469, -0.0738483593, -0.0165994316, -0.0103850663, 0.0223558303, 0.0139379427, -0.0439373851, -0.0181567352, 0.0351164378, -0.0451535769, -0.0613200068, -0.0245116465, 0.0078752311, 0.0088549005, -0.0378379524, -0.0660424307, 0.018272873, -0.0066865562, -0.0122304037, -0.0187838823, 0.0219436511, -0.017507242, -0.0192575641, -0.00823591, -0.0597309358, -0.0109681888, 0.0029086731, -0.0291319806, 0.0014736047, 0.0133982394, -0.0234843325, -0.0235729497, -0.0069279601, -0.0039618127, 0.0336063839, -0.0413901918, -0.0398898683, 0.0025126955, 0.0582748614, 0.0022325828, -0.0099884551, -0.013597291, 0.0048042298, 0.0363137573, 0.0010411419, 0.0025418538, -0.0193544067, -0.0114374077, -0.0544166602, -0.0244519897, -0.0228410605, -0.0082209921, -0.0104450025, 0.1023821011, -0.0119178686, -0.0279630814, 0.0407859646, -0.0547437258, 0.0337131955, -0.0624261722, -0.0040368163, -0.0327454545, 0.0807279274, -0.0604552254, -0.0006988989, -0.0133214276, -0.0139016882, -0.0152094644, 0.0174706168, 0.0663547739, -0.0277189892, 0.0150251929, -0.027432913, 0.0199900847, -0.0021820115, 0.0069390363, -0.0005151629, 0.0266353376, 0.0024125087, 0.0622448623, 0.0570432879, 0.0148932803, 0.0142551437, 0.0046993345, 0.0352507979, 0.0134404777, 0.0196364895, 0.0229198691, -0.0087388633, 0.0039775847, -0.0177085977, -0.0182233658, 0.0041156821, -0.0030986448, 0.0307865124, -0.0122507904, -0.0124390256, 0.0126989959, 0.0245631766, 0.0288932715, 0.0161667988, -0.0030437156, -0.0311942771, 0.0312725976, 0.0345312916, -0.0458974279, 0.0242702942, 0.0724350512, -0.0025709691, 0.0194885097, 0.0044023795, -0.005594329, -0.0482347794, 0.0361712798, 0.0195175894, -0.1350954175, 0.048059281, -0.0314886346, -0.0252900086, -0.0618126132, -0.0451092497, -0.0189026874, -0.1025652289, 0.0709987655, 0.0144859953, -0.0106512289, -0.0098551745, 0.0367160477, -0.0240543149, 0.0175111014, 0.0156420469, -0.0223954618, 0.0268832128, -0.0210614223, 0.0260593314, -0.0712256581, 0.0153570129, 0.0678646117, -0.0210749358, -0.0150985904, 0.0536726117, -0.0060217031, -0.0108642494, -0.050067313, 0.0123452833, -0.0078577762, -0.0195658486, 0.0346055478, -0.026490273, 0.0554068796, 0.0153279956, -0.0177147929, -0.0032922986, -0.020338038, -0.0227131192, 0.0499457531, 0.0844991654, -0.0247482751, 0.0015510406, 0.000068428, -0.0121824807, -0.0318128839, 0.0404655635, 0.0192590617, -0.0481565595, -0.024711933, -0.043862056, -0.06340231, -0.0862917379, -0.0196578391, 0.0027873334, -0.0130390162, -0.0296170339, -0.0685592294, -0.0315681621, -0.0174009483, 0.0270139873, 0.0266836453, 0.0378722586, 0.0434558615, -0.0104285274, -0.0097823804, -0.0236890204, -0.0086521944, 0.039611917, -0.0191806704, 0.0426243581, 0.0003094898, 0.0006964762, -0.0198984854, 0.0169181768, -0.0428231396, -0.0497481078, -0.0330894031, -0.0142221758, 0.0205452479, -0.0654420778, -0.0461533144, -0.0327283554, 0.0617940575, 0.0204282477, 0.0168759357, -0.0154621871, 0.0357658267, -0.0123948595, -0.0230015982, -0.0028483279, -0.0196098313, 0.0049737711, 0.0397957712, 0.054202307, 0.0160493162, -0.0102743264, 0.0676581338, 0.0924838036, -0.0110611701, -0.0118463198, 0.0221999846, -0.0038320143, -0.007089464, 0.0004085518, -0.0450394489, -0.034869656, -0.0477652103, 0.0543636866, -0.0531282015, -0.0084999492, 0.0815660655, 0.0262795873, -0.0169935953, -0.0177683663, 0.058753632, -0.022879608, 0.0432730205, 0.0058232779, -0.0127832815, 0.001663364, 0.0221691281, -0.0421213061, 0.0465165079, -0.0037223618, 0.0882418156, -0.0160405431, 0.026493635, 0.0028995441, 0.0343502648, 0.0149337463, -0.1036696732, 0.0171295088, 0.0815527961, 0.0785181224, 0.0127322925, 0.0058253189, -0.0409797654, 0.0099640666, -0.0186223108, 0.0197768118, -0.0274025518, -0.0609655976, 0.0199265964, 0.0042783315, -0.0052831089, -0.0078251418, 0.0562992357, -0.0054242304, -0.0131248962, -0.0406279266, 0.0006972714, -0.0013373794, -0.0388138704, 0.0079063103, 0.0141891968, -0.014546697, 0.0098637724, -0.1185452417, -0.0347065441, -0.0590267889, -0.0107399793, -0.0143746436, 0.0226039477, -0.0277104005, 0.0881528035, 0.025336381, -0.0402178876, -0.0516756848, 0.0029930943, -0.0113807078, -0.0360635594, -0.0086515993, -6.273842572e-33, 0.0133200232, -0.0408545099, 0.0385899059, -0.0041730516, 0.0003554416, -0.0218486674, -0.0366980918, 0.0218335465, -0.0332122408, 0.0258596539, -0.0216893256, -0.0439818315, 0.0014815331, -0.0078880396, 0.0294319969, -0.0018669396, -0.0266365744, 0.039558094, -0.0153579051, -0.0248184744, -0.0100962631, -0.0013505027, 0.0696442798, -0.0832973197, 0.0530117825, 0.0250668731, -0.0113994498, -0.0079376986, -0.0660834014, 0.0440816619, 0.0096131461, 0.0323070325, 0.0292048454, -0.1274576187, 0.0045182551, -0.0395427644, -0.0144791771, 0.0013113592, 0.0424162485, -0.0134312287, 0.0483440943, -0.0392465703, 0.0182069186, 0.0085184239, -0.0689358264, -0.0147133172, 0.0147574134, -0.0237601381, -0.0081544742, -0.0168856569, -0.0587825179, 0.017389223, -0.0322809964, 0.0525236949, 0.0279237609, 0.0124323945, -0.0412553549, 0.035522677, -0.1042993963, 0.0270662569, -0.0208257791, -0.0067854198, 0.0761053041, -0.0570475422, 0.0070113889, 0.0400135703, 0.0029383528, 0.0339213088, 0.0124101276, -0.0249472931, 0.0312987082, 0.0832961127, 0.0270997062, 0.041573938, -0.0095945783, 0.0021875002, -0.0162963681, 0.008439959, 0.0443098471, 0.0278498996, -0.0065630279, 0.0176749025, -0.0011498961, -0.0383432284, -0.0377792828, -0.0600207783, -0.0036214152, -0.0131991254, 0.0574271083, -0.0343931764, 0.0195906498, 0.0022250691, 0.0643693805, -0.0390797593, -0.0358050354, -0.0198774543, -0.011055734, 0.0486980192, 0.0126775187, 0.0250598118, -0.0940020382, 0.0116227791, -0.0280186217, -0.0018505915, 0.021391904, -0.0176471304, -0.0084895054, -0.0287958048, -0.0109766852, -0.0119677726, -0.0300762281, 0.0114655457, 0.0403018147, 0.0409872942, -0.0193680711, 0.0235322304, 0.0010811057, 0.008665571, 0.0204294324, -0.0487953983, -0.0332982689, -0.0284847673, -0.0258804094, -0.0085841184, -0.0128608327, 0.0134554086, -0.0047418685, 0.0411620066, 0.0535316393, -0.0003734432, -0.0247400627, 0.0197580885, 2.934e-7, 0.0475710332, 0.0114183594, -0.0090527292, 0.0284013208, -0.0020317086, 0.0507764257, -0.033451464, 0.0535326414, 0.0065500122, -0.0380524732, 0.0081201866, -0.028461447, 0.0648103207, 0.0340616517, -0.0571146309, -0.038838055, -0.03021436, -0.0102734268, -0.0482710227, 0.0235251244, 0.0440112874, 0.0071488, 0.0315840058, -0.0255450979, -0.0004443558, -0.0299148336, 0.030033445, -0.0237903725, -0.0033016277, 0.0333158113, 0.0650091022, -0.0346415155, 0.0182180069, 0.0532797351, 0.0220804401, 0.0481482111, 0.0012614683, 0.0434096754, 0.0361075215, 0.0262856707, -0.0355078727, -0.0608583614, 0.014614773, -0.0704065859, 0.0044343006, 0.0556226857, -0.0362881906, 0.0334616452, -0.0241478179, -0.0218389723, 0.0228113327, 0.0202748813, 0.0062355283, 0.0052762893, 0.0129382722, -0.0030743154, -0.0159753151, -0.0236524791, 0.0030614287, 0.0021454655, -0.0174907222, 0.0157692321, -0.0311146528, 0.0019717743, 0.0265889652, -0.048768606, 0.0522963367, 2.60520887e-34, -0.0001074285, -0.0608074367, 0.012416387, 0.0470664389, 0.0614335649, 0.0575972088, 0.0097529031, -0.0021973897, -0.0517054349, -0.0575987995, 0.0192464218 ]
http://arxiv.org/abs/2406.12382v1
http://arxiv.org/pdf/2406.12382v1
From Instance Training to Instruction Learning: Task Adapters Generation from Instructions
2024-06-18T08:14:28
2024-06-18T08:14:28
Huanxuan Liao, Yao Xu, Shizhu He, Yuanzhe Zhang, Yanchao Hao, Shengping Liu, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models (LLMs) have acquired the ability to solve general tasks by utilizing instruction finetuning (IFT). However, IFT still relies heavily on instance training of extensive task data, which greatly limits the adaptability of LLMs to real-world scenarios where labeled task instances are scarce and broader task generalization becomes paramount. Contrary to LLMs, humans acquire skills and complete tasks not merely through repeated practice but also by understanding and following instructional guidelines. This paper is dedicated to simulating human learning to address the shortcomings of instance training, focusing on instruction learning to enhance cross-task generalization. Within this context, we introduce Task Adapters Generation from Instructions (TAGI), which automatically constructs the task-specific model in a parameter generation manner based on the given task instructions without retraining for unseen tasks. Specifically, we utilize knowledge distillation to enhance the consistency between TAGI developed through Learning with Instruction and task-specific models developed through Training with Instance, by aligning the labels, output logits, and adapter parameters between them. TAGI is endowed with cross-task generalization capabilities through a two-stage training process that includes hypernetwork pretraining and finetuning. We evaluate TAGI on the Super-Natural Instructions and P3 datasets. The experimental results demonstrate that TAGI can match or even outperform traditional meta-trained models and other hypernetwork models, while significantly reducing computational requirements.
[ 0.0041905129, -0.0146493986, -0.0140342079, 0.0067914966, -0.0053699249, 0.0307588633, -0.0006616779, -0.0425871871, -0.018643003, -0.0144698462, -0.0527810529, 0.0212018862, -0.033040788, -0.0158970822, 0.038910117, -0.0319176577, 0.0587959811, -0.0322604924, -0.0371648483, 0.0090795122, 0.0016525518, 0.0074788402, -0.0260973275, 0.0421811938, 0.0128520867, 0.000420116, -0.0332043581, 0.0039814361, 0.0144613171, -0.0294292457, 0.0389224999, 0.0186413843, 0.0879845396, -0.0015791836, 0.0000020478, -0.0142262662, 0.0127636883, -0.022362778, -0.0369259156, -0.0245167762, 0.0065405713, 0.0087848026, 0.0025992342, 0.0186252389, -0.0339237116, -0.024013523, 0.0345085151, 0.0573667325, 0.0579751246, 0.0639301538, -0.0026064138, -0.0092491833, 0.0032483593, -0.0117936349, 0.043859221, -0.0248060599, 0.017005235, 0.0252091531, 0.0163685586, -0.0030481075, -0.0185313951, -0.0047079925, 0.0339768864, 0.0312346313, -0.0182737969, 0.0354088061, -0.0268285554, 0.0134877181, -0.0440087467, 0.0473319218, -0.0352647826, -0.0251724124, -0.0129822027, 0.0101133734, 0.0157972798, 0.0254951809, -0.0247972962, -0.0086243814, 0.0039620125, 0.0220686402, 0.0098346323, -0.007968721, 0.0017923146, -0.0073648142, 0.011939114, 0.0748142749, -0.004242565, -0.0280523784, 0.0274286252, -0.0029579352, -0.0273562856, -0.0239660125, 0.0131160161, 0.0364795104, -0.0229276679, 0.0079168379, -0.0597077198, -0.0302165411, -0.0264012963, -0.0135333445, 0.1155068427, 0.0441274755, -0.0185218826, 0.0024692055, -0.070037961, 0.0681153834, -0.0176765658, 0.0238492787, -0.0605320781, 0.038742695, -0.120131366, 0.0085921688, -0.080417335, 0.0434446521, -0.0339849889, 0.0175924562, -0.0151380505, 0.034046609, -0.033255972, -0.0240952689, 0.0241122805, 0.0045742332, -0.084532015, -0.0053450279, -0.0390096642, 0.0164200496, -0.0355211571, 0.0506388731, 0.0020036227, -0.0221194141, -0.0119660236, 0.0048476588, -0.0164069291, -0.0206084419, 0.0381042659, 0.0704434738, -0.0544096716, -0.0169208534, -0.0489858873, -0.0000767903, 0.0081497235, -0.0661289394, 0.0332886502, -0.0493295938, 0.0475915708, -0.0399989672, -0.0207360014, -0.021951383, 0.006541858, -0.0080330865, 0.0038803066, 0.0625757203, 0.0070287432, 0.0196003262, 0.009705117, -0.0222973097, -0.0436583273, 0.054490298, 0.0294998586, 0.00858845, -0.0241977293, -0.0060674292, 0.0136249997, 0.0386329927, 0.0264251493, 0.005595753, 0.0053160056, -0.0077713192, 0.0307501517, 0.0166860335, 0.0531573296, -0.0012090711, -0.0298588686, 0.0207831133, 0.0597462021, 0.0064277845, -0.0050278585, -0.0066259983, 0.1131231636, 0.0187594984, -0.0204505082, 0.0344652645, -0.0898281559, 0.0394786596, 0.0049388888, 0.0171263311, -0.0175711196, 0.0249442011, -0.0730423108, -0.039283175, 0.0445606224, -0.0022676492, -0.0001885268, 0.0020959096, 0.0425124578, 0.0376844667, -0.0752735659, 0.0186109841, 0.0402907096, -0.0191446505, 0.0197798423, -0.0568544269, 0.0023559125, 0.0586270355, 0.0027730076, -0.0392333157, -0.0628208295, -0.0066827587, 0.0389336571, -0.0007825018, 0.017164547, -0.0382087715, 0.004872032, -0.0529898219, -0.0282433853, -0.0022220826, -0.0135456529, 0.0299215764, 0.0023247544, -0.0566949323, 0.0180827472, -0.0554842688, -0.0582617186, 0.0472284108, -0.0598603003, -0.0452160202, -0.0190286934, 0.0045969081, 0.0182355549, -0.0066734157, -0.0123646539, -0.0024838697, 0.0366471447, -0.0262883082, 0.0074014971, -0.0035273728, -0.059947513, -0.0365699306, 0.0037727174, -0.0520994738, 0.0034916296, 0.0331898853, -0.0398082212, -0.0620874837, -0.0281688422, 0.0080665182, 0.0434969142, -0.0030926671, 0.0090336874, 0.0192643572, -0.0104634967, -0.0175387617, 0.0212037731, 0.0117412126, -0.0180367492, -0.0130722001, -0.0292524062, -0.0209357422, -0.0399288051, -0.0146689992, -0.0067944443, -0.0229451805, 0.0276535973, -0.0005420755, 0.0423702113, -0.0434468761, -0.0319064558, -0.0848015025, 0.0215519052, -0.0174688902, 0.0372531973, 0.0483841673, -0.0105796736, -0.0126024215, -0.0321431309, -0.0347979888, 0.0293560531, -0.0236326735, 0.0022252684, -0.0068723061, 0.0358504392, -0.0132947927, -0.0445621312, -0.0162948947, -0.0126795759, -0.0105037829, -0.0353115872, 0.025433166, -0.0617227741, 0.0711640939, -0.0038668935, 0.058183983, -0.0104614599, -0.0346774012, 0.0332564972, -0.0210027434, 0.0523007736, 0.0698792338, -0.0312974304, -0.0040402375, 0.0443490222, 0.0086216489, -0.0699208528, 0.0341021642, -0.0710468143, -0.0466724262, -0.0591216199, -0.0042116544, -0.0146661038, 0.0941378102, -0.0045864037, -0.0083494494, -0.0711197481, -0.0154982498, -0.0105396081, -0.0471711233, -0.0064085755, 0.0111026689, -0.0127019165, -0.0320256986, -0.0488980711, -0.0505319387, 0.0513748936, 0.0065224972, 0.0067783012, -0.0316144899, -0.018775221, 0.0182068627, 0.035610199, 0.0275914278, 0.0077561866, 0.0283605829, -0.0139511349, -0.0814991146, 0.0023163185, 0.024231283, 0.0087086335, 0.0357524417, -0.063011609, -0.0120376199, 0.0006540692, -0.0317670591, -0.0387840904, 0.0264255162, 0.0331412703, 0.0299405009, -0.0208917409, 0.0057772039, -0.0315404236, -0.0048343302, 0.0311684236, 0.0617847219, -0.0333246812, -0.0223060008, -0.056885045, -0.0002966161, 0.0194788259, 0.0043238844, -0.0441168286, -0.0396113917, -0.0040592682, 0.0152897183, 0.0812923834, -0.0116360122, -0.0338893682, 0.029505806, 0.007068811, -0.0302355196, 0.0138837053, 0.0620036535, 0.0825144649, -0.0683992207, -0.0221594609, 0.086532712, 0.0178622454, -0.013508183, 0.018682925, 0.0283371732, -0.0073394412, 0.0426600203, 0.0538347475, -0.0195171498, -0.0168243386, -0.0111815892, 0.0289929137, 0.0217052642, -0.0341571122, 0.0157721695, -0.1025202051, 0.0070710974, 0.025409257, -0.0328730345, -0.0328492671, -0.0155181857, 0.0067632464, -0.0103570344, -0.002630098, 0.0027737773, -0.0068443003, 0.0131052313, 0.0527867787, 0.0128780054, -0.0614568889, 0.0412840992, -0.0428434871, 0.07837262, 0.052563522, -0.0173309725, -0.0161589403, -0.010377517, 0.0028864192, 0.031299416, 0.0262684058, -0.0055374657, 0.0485717654, -0.0223743673, -0.0056926855, 0.0101328352, 0.0516709462, -0.0243396834, -0.0029008873, 0.0321124122, 0.0850016549, -0.0164532308, -0.0127951801, 0.007289967, -0.029807223, 0.0460853502, 0.0422182791, 0.0081558414, -0.0542999171, -0.004928695, -0.0086980714, -0.0452250913, -0.073391445, 0.0030812735, 0.0643681437, -0.0422894731, 0.0095614009, -0.0446832553, -0.0271364991, 0.0702034608, 0.0376900621, 0.0475803614, -0.045921959, 0.0595827512, -0.0178869721, -0.0495336652, 0.0014975653, -0.0270650424, 0.013771194, -0.0362865888, -0.0603070483, 0.0589664616, -0.0241029412, 0.0002204666, 0.0040380871, -0.0312959738, -0.0375345387, -0.0064254152, 0.0942265019, 0.0115725324, 0.0831426606, 0.0109347561, -0.0023668956, 0.0156046133, 0.0106269466, -0.0479850061, 0.0055670082, 0.0500180908, -0.0098722745, 0.0141841546, 0.0052099978, -0.0475972369, 0.0741563365, 0.0539953336, 0.0140531901, -0.0109650483, 0.0137526225, 0.0503025055, -0.0220371205, 0.0300819594, -0.0136473048, 0.0291522536, -0.0408807285, -0.0204967204, 0.0100718942, 0.0148134241, -0.0542947687, 0.0233484581, 0.0285061728, 0.0257923137, 0.0670140162, 0.0174516421, 0.0095935939, 0.0432093143, -0.044494696, 0.0111252861, -0.0151193049, 0.0470258333, 0.026794089, 0.0474737547, -0.012284332, -0.0117664635, 0.0287245065, 0.0351653434, -0.0157447141, 0.0594447404, 0.0143422997, 0.0314060971, -0.0392937809, 0.0415842384, -0.0507975779, -0.0154064251, -0.0676983595, -0.0153912986, 0.036535833, -0.0220425893, -0.0017279353, -0.0204569157, 0.0248555113, -0.0141403722, 0.0293900929, -0.0340418853, 0.0186694916, 0.0269256048, 0.0475734696, 0.0147545431, 0.0133022889, 0.0730598792, -0.0037837594, 0.0736501217, 0.009527809, 0.0315620489, -0.0631016418, -0.0252203569, 0.0394996181, 0.0162301622, -0.0223581903, -0.00196355, 0.0061234646, -0.0577217713, -0.0335043408, 0.043605268, 0.0014389189, -0.0208266173, 0.0656107366, 0.0183289293, -0.0466998816, -0.0451337025, -0.0140773347, -0.0212432668, 0.0223591458, 0.0043595475, -0.0157741122, -5.540159977e-33, -0.0432427414, 0.0131801097, 0.0522326902, -0.0098301545, -0.0235336572, -0.0149190947, -0.0284069609, -0.0071286159, -0.010843154, 0.0113424622, 0.0116460547, -0.0083517237, 0.0176307503, 0.0111206761, 0.0435359851, 0.0102535058, 0.0585788302, -0.0485889167, -0.0088993087, 0.0558461547, 0.0352900289, 0.0087064737, 0.0789982677, -0.0525881983, 0.0060921437, 0.0004169385, -0.0104442779, 0.0258393846, 0.0069457144, 0.0369841196, 0.008550562, 0.0411690027, 0.0163207836, -0.0658379644, -0.0519068055, 0.0195168667, -0.0841268376, -0.0374690257, 0.0105087459, -0.0233226307, -0.0566979051, -0.0269296505, 0.0342806503, 0.0020300657, -0.0369245037, 0.0045668273, 0.0392033421, -0.0167230777, -0.0067201569, -0.0211779345, -0.0834032148, -0.0307617988, -0.0084586265, -0.0663875416, 0.0177218299, 0.0421198867, -0.0215342455, -0.0675983727, -0.0641986206, 0.0282864925, -0.0012129403, 0.0484829843, 0.0427533351, 0.0435638614, 0.0222847275, 0.0195293091, 0.0458207428, 0.02546666, 0.0283473711, 0.0295391269, 0.0510256812, 0.0738033354, -0.0039352672, 0.0029787014, 0.0153718842, -0.0241195261, -0.021738166, 0.0197675116, -0.0082104532, 0.0411252566, 0.0101087056, 0.0088152345, -0.0297695044, -0.0039478755, -0.0316136368, 0.006958032, 0.0190233421, -0.0386328697, 0.0627292693, 0.0073416661, 0.0004277209, -0.0079937819, 0.0496790558, -0.0489040501, 0.0264564995, -0.0240501184, -0.0235615522, 0.023281049, -0.0010998007, 0.0003867317, -0.0703910962, -0.0881380439, 0.023647517, 0.0169940908, 0.0287955776, 0.0242506992, 0.05814014, 0.0388598219, -0.042321682, -0.0059654224, -0.05495378, 0.0048468905, 0.0684718862, 0.0315995663, 0.0170220695, 0.018645579, -0.0270411689, 0.0254859533, -0.0190914143, -0.1101898402, -0.0034616624, 0.0235353913, -0.0002823309, 0.0445922352, -0.0112234037, 0.0196317006, -0.0817702562, -0.0221891589, 0.009638397, -0.0315674953, -0.0130631197, 0.0523540452, 2.745e-7, -0.0135229966, 0.0138519537, 0.0339052603, -0.0013381094, 0.0193106383, 0.0372139141, -0.009493107, 0.0386880115, 0.0034662904, -0.0457829833, 0.0302239954, 0.0668250024, 0.0090098903, 0.0027617808, -0.074443154, -0.006554509, 0.0160684884, 0.0019867376, -0.0263483804, 0.0302843545, 0.0327534117, 0.0468208492, 0.0066788755, 0.0211627223, 0.002690315, -0.0228642002, 0.0186247882, -0.0105286827, -0.0014890088, 0.0222222432, -0.0564085543, 0.0332683958, -0.0428356342, 0.0604250953, -0.0204371251, 0.0128777409, -0.0096388198, 0.0574892461, -0.0305455681, 0.0007682999, -0.007393349, -0.0018710422, -0.0087390989, -0.0184134878, 0.0347315669, -0.120113112, -0.0041225026, -0.0023027479, 0.0084764231, 0.0224984121, -0.0579150915, -0.0062607415, 0.0201350842, 0.0054222085, 0.0279265456, 0.007016012, -0.0372016616, -0.0524924025, 0.0160494074, 0.0775921494, -0.0441407599, -0.0587457865, -0.0260318723, -0.0260351636, 0.0072944774, -0.0453054868, -0.0042081149, 2.152571454e-34, -0.0161380135, 0.0021988489, 0.0520185605, 0.0041983575, -0.0132966852, -0.0176893622, -0.1068187058, 0.0109675219, 0.0263447259, -0.0698247254, -0.0521230623 ]
http://arxiv.org/abs/2406.12381v2
http://arxiv.org/pdf/2406.12381v2
QOG:Question and Options Generation based on Language Model
2024-06-18T08:09:58
2024-07-02T09:21:03
Jincheng Zhou
cs.CL
cs.CL, cs.LG
Question-Options Generation (QOG) is a task that involves generating a set of question-options pairs given context. This task has various applications, including fine-tuning large models, information retrieval, and automated multiple-choice question generation for education. In this paper, we develop QOG models using three different methods based on fine-tuning sequence-to-sequence language models (LMs). Experiments demonstrate that the end-to-end QOG model is computationally efficient and stable during both training and inference, outperforming other methods. Furthermore, our analysis indicates that our QOG models are competitive on the QOG task compared to the large language model Llama 3-8B.
[ 0.0497165546, 0.0213046838, -0.006125981, 0.0261746254, -0.0414654762, 0.0141029228, 0.0033600584, -0.0110471537, 0.0015209139, -0.0546145551, 0.0057717026, -0.0693939105, -0.0588135757, 0.0131212333, 0.0477357544, -0.0390659831, 0.0267740786, -0.0252591632, -0.0284985248, -0.0132557927, -0.0131070819, 0.0118948463, -0.002026188, 0.0267104488, 0.0436374657, -0.0272854529, -0.0616964288, 0.011954586, 0.012260383, -0.045470573, 0.0069831531, 0.0434051491, -0.0100207506, -0.0122589963, 0.0000019469, -0.0570023507, -0.0369228274, -0.0208249744, -0.0372016951, -0.0053276466, 0.0080909925, 0.0549673513, 0.0326016285, 0.0557667501, -0.031898994, 0.0034065107, 0.0333390348, 0.0164577477, 0.0706912205, 0.0771641433, 0.0117255859, -0.0215844456, 0.0202071555, -0.0531113371, 0.0312963203, -0.0142122526, 0.0129610933, 0.0045195804, 0.0571134351, 0.0491320863, 0.0064444435, 0.0274762176, 0.0203505997, -0.0121094491, -0.0045191813, 0.0100405989, -0.0128688011, -0.0215000398, -0.0030581874, 0.1065195352, -0.0112203276, -0.0035717655, 0.0231460072, -0.0132002356, 0.0224537384, 0.0275053587, -0.0426056795, 0.0433612913, -0.007087986, -0.0247532278, 0.0454710089, -0.021170469, -0.0078790234, 0.0262834635, -0.0250964742, 0.0341081321, 0.028753737, -0.0219668522, -0.0267404821, -0.0098686954, -0.0388221629, -0.0933815241, 0.0149330432, 0.0574849769, -0.0379198641, 0.0236391686, -0.0510143153, -0.0071598203, 0.0233789552, -0.002137572, 0.0178086087, 0.0397058576, 0.0203609578, 0.014768241, -0.0128388312, 0.042888578, 0.012416142, 0.0282227658, -0.0930987746, 0.0143224755, -0.0078860242, -0.0041906792, -0.0534481965, 0.0410965569, -0.0866939127, -0.0405794792, -0.0427319705, 0.0263868384, 0.0544702448, 0.0101227593, 0.0092099132, 0.0202433895, -0.0401725098, 0.0063783014, -0.0527744405, -0.00806926, -0.0282213688, -0.0097931279, 0.0741140693, -0.0151846064, 0.0050710058, 0.011380326, 0.0241159033, -0.0191908386, 0.0072245798, 0.0753113627, -0.0212738588, -0.0248852242, 0.0058286288, -0.0318817198, -0.0140358014, -0.0457809754, 0.0003791829, -0.0633683875, 0.0199386273, 0.0083000744, -0.0196740106, 0.0031931149, 0.0375241898, 0.0500534549, 0.0058184378, 0.0388991684, 0.0085725673, 0.0090394616, 0.0373640507, 0.0050872522, 0.0289454442, 0.0514436848, 0.0347247161, 0.025978677, 0.0248895716, -0.0050815446, -0.0029186911, 0.0396231189, -0.0006065027, -0.0100501189, -0.0244502574, 0.0339404158, 0.0128478818, 0.0492484011, -0.0419173092, 0.0622587167, -0.0212308131, -0.0147363693, 0.0341380239, 0.0325885825, 0.0426396839, -0.0010937778, 0.0547146425, 0.0275699496, 0.0027862976, -0.0081296321, -0.0232254993, 0.0367628299, 0.0131342979, 0.0353364013, 0.0428549051, 0.0406714194, -0.0193650592, -0.062855795, 0.0004841937, 0.0188559443, -0.0191319399, 0.0349624865, 0.0139447944, 0.0161845889, -0.0697796866, 0.0217489172, -0.0005254316, -0.0412686244, 0.0013206817, -0.0507257693, 0.0820030123, 0.0377580971, 0.0551035851, 0.0108502265, -0.0615205094, -0.0093300482, -0.0219766907, 0.055018682, 0.0470655151, -0.0175883286, -0.0230381005, -0.0684522614, -0.0126953414, 0.0083637675, 0.002639812, 0.0054912474, 0.0093069151, 0.0067645865, 0.0464481413, -0.0174111575, -0.0347642861, 0.0295788068, -0.038397409, -0.0415033586, 0.0241197739, -0.0000278484, 0.0037721689, -0.0027189674, 0.0181342624, 0.0337380059, 0.0374097154, -0.0434199497, -0.0144867999, -0.0255971737, -0.0665222183, -0.085615404, 0.0277998466, 0.0031008136, 0.0365299843, 0.0027818575, -0.0378128402, -0.0531318039, -0.0326088071, -0.016735198, -0.0094963862, -0.0591784641, 0.0173992384, 0.0396049768, -0.0170767047, -0.0751740932, 0.0683184564, 0.0034209976, 0.0112232706, 0.0105302017, 0.0626794249, 0.0065457663, -0.0665555, -0.0117081301, 0.0261243396, -0.0440053195, 0.0278647989, 0.0138945663, 0.0563337356, -0.0538634062, -0.037945956, -0.0742021203, 0.0436556526, -0.0133506814, 0.0053375526, 0.0124977538, 0.0217373464, -0.02196436, -0.0192013178, -0.0718772709, 0.016226504, 0.0410258099, -0.0013424626, 0.0429288186, 0.0218071733, -0.0057045734, -0.0540499911, -0.0124591673, 0.0100243594, 0.027392447, -0.0052516349, 0.044671122, -0.0500700511, 0.0211478509, -0.0468594022, -0.0024228788, 0.0158640537, -0.0297748893, 0.0107483575, -0.036845509, 0.0578435212, 0.0546210892, 0.0429954305, 0.0011648183, 0.0322953612, 0.0205804911, -0.051955279, 0.0372650214, -0.0417762883, -0.0306118559, 0.0133272614, -0.0480933115, 0.0048017944, 0.0673049912, 0.0116398791, -0.015685562, -0.0373376347, 0.0684113055, 0.012587185, 0.0054091299, -0.0524544716, 0.0110378191, -0.0212487262, 0.0778844506, -0.0079136128, -0.0273561962, 0.0522605702, -0.0399637297, 0.013032617, -0.0750064626, -0.0116666723, -0.0330554172, 0.0397949815, 0.0145241255, 0.0363115929, 0.0472452082, -0.0026471152, -0.1053679734, 0.0049031312, 0.0105080325, -0.0624869168, 0.0594798103, -0.044565767, -0.0231285393, -0.0075779003, -0.0338726975, -0.0614128113, -0.0125116073, -0.0075541795, -0.0081685018, 0.0046683499, -0.0060520908, 0.0015585796, 0.0131437397, -0.0014913789, 0.0354529917, -0.049485188, 0.0046733185, -0.0211624261, 0.0841455832, 0.1026384458, 0.038589038, 0.0244414024, -0.0132110994, 0.0688438639, 0.0288893767, 0.020586174, 0.0374053903, 0.0274311621, -0.0016422743, 0.0078309681, -0.0169354882, -0.0140158478, 0.0455926396, 0.063324593, -0.0427798219, -0.0542650707, 0.0995882004, 0.0346449092, -0.0032012223, -0.0166613609, -0.0178109705, 0.0412771627, 0.0176957212, 0.0596649051, -0.0644486248, -0.0356075019, -0.013187889, 0.0313244089, -0.0150096146, -0.0133021493, 0.0004180184, -0.1140031591, 0.0330603272, -0.0039148265, -0.0169082154, 0.0156737827, -0.0057918285, -0.0271705948, 0.0184007939, -0.0028293077, 0.0353745073, -0.0233473573, 0.0175215192, 0.0431633741, 0.027684316, -0.0076184561, 0.013668919, -0.0189793892, 0.0155907003, 0.065063335, -0.0000874507, 0.0050959657, -0.012669893, 0.0134560503, -0.0381930694, -0.027103534, 0.0041083, -0.0187198762, -0.0055021956, -0.0322419181, -0.0187428538, 0.0545067154, -0.0015271853, 0.028910948, 0.0558031239, 0.0324203894, -0.0133094545, -0.0192058496, -0.0313177556, 0.0221524462, -0.0022401013, 0.0789498389, 0.0462930277, -0.0745384097, -0.0175378919, -0.0476379208, 0.0038704432, -0.1038868204, -0.0088486057, -0.0127645032, -0.0038024192, 0.0219435599, -0.1046409756, -0.0308500808, 0.040179532, 0.0255759042, 0.0073701958, 0.0083724633, 0.032849595, -0.0125787798, -0.0229482111, 0.0060479711, -0.009068816, -0.0104799271, -0.0587458536, -0.0019778854, 0.0274104681, -0.0494942814, -0.0305202827, 0.0222437344, -0.062277995, -0.0643202439, -0.0265886541, 0.0634015426, 0.0144723738, 0.0011787078, -0.010986032, 0.0163468085, 0.0048843417, 0.0249509849, 0.0389543995, -0.0061843153, -0.0290944353, 0.0157850645, -0.0282077473, 0.0240653343, -0.0447318219, 0.0260184463, -0.0085065588, 0.0746913552, -0.0441489778, -0.0522734858, 0.0450610109, 0.0209333226, -0.0056527941, -0.0270536933, -0.0258501489, -0.0161289833, 0.0284265745, -0.0105700847, -0.0190169271, -0.0534670725, 0.0078396583, 0.0262484867, -0.0245250054, 0.0290278383, -0.0719450787, -0.016162781, 0.0722125545, 0.0081543587, 0.0182667673, -0.0102635911, 0.0353300758, 0.0532603711, -0.0206734296, -0.0341496989, 0.0032354053, -0.007005868, 0.0657378584, -0.0086401058, 0.1035373956, 0.0054772445, -0.0230363347, 0.0125345523, 0.0277323201, -0.0144360652, -0.0583873987, -0.0406351015, 0.0061880667, 0.0147126783, 0.015164718, -0.0292356256, 0.0000207672, -0.0058586206, -0.0203021392, 0.0553382225, 0.0015441665, -0.0186338909, 0.0585590862, 0.0140177691, -0.0049374579, -0.0274914131, 0.0405061543, 0.0303373262, 0.016588401, 0.0180023368, 0.0274964944, -0.0557575747, -0.0116113517, -0.0134656979, 0.0357946418, -0.0115660932, 0.0107355826, -0.0319367647, -0.0496898703, 0.000634517, 0.0329494029, 0.0113519812, -0.0008972719, 0.0382920355, 0.0642803609, -0.0112293512, 0.0080847396, -0.0444612056, 0.035125006, -0.0716473609, -0.0467615239, 0.0174154453, -6.3225962e-33, -0.0466627441, -0.0505606979, 0.0341945961, -0.0550291538, -0.0165037811, -0.0333106592, -0.0394996516, 0.0190941971, -0.0354559869, -0.0238453709, -0.0039382451, -0.0264755972, -0.0093690027, 0.0426451899, 0.0059147542, -0.0247564018, 0.0210741442, -0.0217470694, -0.0078214183, 0.0316026583, 0.0259420089, 0.0160892643, 0.0037952997, 0.0251198113, -0.0058703343, -0.0577361397, -0.0020098547, 0.0210773982, -0.0562644415, 0.0795497298, -0.0317941979, 0.0041266424, 0.0117667224, -0.0285055675, 0.0045019272, 0.0564539805, -0.0503869429, -0.0417189002, 0.0017863606, -0.0556572713, -0.0324599482, -0.062094301, 0.0078147557, -0.015498532, 0.0350139178, 0.008841428, 0.0198718756, -0.0131780999, -0.0278556235, 0.0005501255, -0.0211352371, -0.0029360654, 0.00405504, -0.0445985347, -0.0469772071, 0.092351675, -0.0080611603, 0.0122627439, 0.0181111824, 0.0089333784, 0.0625241101, 0.0418284535, 0.049215965, 0.0410802998, -0.0292447619, 0.0307444539, -0.0288811065, -0.0495109968, -0.0115448153, 0.0199772641, -0.0082813399, 0.0470866896, 0.0409286954, 0.0611140616, 0.026626084, 0.0134659857, -0.0641090646, 0.0446261726, 0.0113498829, 0.000826815, 0.0119532496, -0.0405079536, -0.0024893754, -0.0076750419, -0.0711514875, -0.011753045, -0.0406336114, -0.0349401161, 0.0750552863, 0.0022605441, -0.0508736968, -0.0331327207, 0.033887133, 0.0014311461, -0.0019344083, -0.0142149134, -0.0378631316, 0.0134809157, -0.0246843975, 0.0390950367, -0.0546109192, -0.0021009864, 0.0273389835, -0.0171989333, -0.0355214737, 0.041202765, -0.0056261988, -0.028385371, -0.0516162328, 0.0165759753, -0.0321095102, 0.04614456, -0.027578624, 0.0117929718, -0.0077059423, 0.0036491351, -0.0090716034, 0.0561034903, -0.0147497403, -0.0440064259, -0.045344647, -0.0636742264, 0.0202688072, 0.0416982956, -0.0197591465, 0.0384743065, -0.0268493593, 0.0260786396, 0.0226780698, -0.0177849308, 0.0007815453, 0.0371548049, 2.618e-7, 0.0520836078, 0.0332214832, 0.0072560003, 0.0326686651, -0.0285652932, 0.0366495326, 0.029398581, 0.012055303, 0.038012784, -0.0079878466, -0.0086222738, 0.0034664874, 0.0318905152, -0.0054290053, -0.113877058, -0.0134356841, -0.0392244868, -0.0001273599, -0.0633798763, -0.0210464336, 0.0924016535, 0.0961551517, -0.0245513543, -0.004626648, -0.0257906709, -0.0257499907, 0.0327575691, -0.0197309367, -0.0283451658, 0.0443063714, 0.0037573806, 0.0281801298, 0.0093180425, -0.0081086718, -0.0172900297, 0.0038529851, 0.0105809355, 0.0758138821, 0.0407989249, -0.039159704, 0.0279916544, 0.0055797542, 0.0198473204, -0.087188445, 0.0652023628, -0.0553471632, 0.0338353664, -0.016005015, -0.0306765214, -0.0081849666, 0.0034405433, -0.0566863939, 0.0056878794, -0.0079505034, 0.0101342965, -0.0201861244, 0.0423438959, -0.0419910774, -0.0091322334, 0.0107964585, -0.0081971409, -0.033235725, -0.0720000267, -0.0325538591, -0.0209997371, -0.0280409735, -0.0199308656, 2.326612576e-34, 0.0132824434, -0.0186456982, -0.0008171916, 0.0328107066, 0.0177882966, -0.0182469226, 0.0043424773, 0.0091831852, 0.0099522388, -0.1047847867, -0.0203329753 ]
http://arxiv.org/abs/2406.12373v2
http://arxiv.org/pdf/2406.12373v2
WebCanvas: Benchmarking Web Agents in Online Environments
2024-06-18T07:58:33
2024-06-27T16:56:13
Yichen Pan, Dehan Kong, Sida Zhou, Cheng Cui, Yifei Leng, Bing Jiang, Hangyu Liu, Yanyi Shang, Shuyan Zhou, Tongshuang Wu, Zhengyang Wu
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
For web agents to be practically useful, they must adapt to the continuously evolving web environment characterized by frequent updates to user interfaces and content. However, most existing benchmarks only capture the static aspects of the web. To bridge this gap, we introduce WebCanvas, an innovative online evaluation framework for web agents that effectively addresses the dynamic nature of web interactions. WebCanvas contains three main components to facilitate realistic assessments: (1) A novel evaluation metric which reliably capture critical intermediate actions or states necessary for task completions while disregarding noise caused by insignificant events or changed web-elements. (2) A benchmark dataset called Mind2Web-Live, a refined version of original Mind2Web static dataset containing 542 tasks with 2439 intermediate evaluation states; (3) Lightweight and generalizable annotation tools and testing pipelines that enables the community to collect and maintain the high-quality, up-to-date dataset. Building on WebCanvas, we open-source an agent framework with extensible modules for reasoning, providing a foundation for the community to conduct online inference and evaluations. Our best-performing agent achieves a task success rate of 23.1% and a task completion rate of 48.8% on the Mind2Web-Live test set. Additionally, we analyze the performance discrepancies across various websites, domains, and experimental environments. We encourage the community to contribute further insights on online agent evaluation, thereby advancing this field of research.
[ 0.0223862622, 0.0029158003, -0.0311267469, -0.0358434208, -0.018999679, 0.0267760474, 0.0337948166, 0.0211037751, 0.0751027092, -0.0402007736, -0.0520320833, -0.0253158137, -0.0009014731, 0.0600346848, -0.0106717525, -0.0547016189, -0.0059333993, -0.0113274045, 0.0103028761, 0.0281727761, 0.0103804916, -0.0215923768, -0.0489082523, 0.0706941932, -0.0063155536, -0.0371390171, -0.0326501057, -0.0103307376, 0.0323942229, -0.0378467478, -0.005955582, 0.0168339331, 0.0071412604, 0.0080304882, 0.0000022436, -0.0586582795, 0.032822296, -0.0259023365, -0.0423925593, -0.0299077071, 0.0189429466, 0.056621816, -0.0081923595, 0.046772629, -0.0282025915, 0.0289976485, 0.0195781942, 0.0183166508, 0.0151602617, 0.0195522271, -0.0194449387, 0.0831903964, 0.0163237061, 0.0157124884, 0.0297523662, -0.0764685795, 0.003067808, -0.0138637666, 0.0178975984, -0.0606511012, 0.0132857859, -0.0212193634, 0.0118235284, -0.0128290784, -0.0033792106, 0.0281709768, -0.0535067469, -0.0455366448, -0.0195220802, 0.0846848637, 0.0311213471, 0.0449294485, 0.0271581542, 0.0158422962, -0.0046647321, 0.0292631779, -0.0485229902, 0.000256985, -0.0277897473, -0.034459237, -0.0286844708, 0.0279879551, 0.0073950491, 0.0169313401, -0.0129736839, 0.0766866505, -0.011224648, -0.019397879, 0.0078557143, 0.0065079001, 0.0384277925, -0.0701049119, 0.0169215389, 0.0389473736, -0.0789003968, -0.009278981, 0.0075437101, 0.0269099865, 0.0187297035, -0.0377866477, 0.0659344569, 0.0406538509, -0.0092305336, 0.0726471245, 0.004341335, 0.0722059086, 0.0166651253, -0.0203920435, -0.0039995858, 0.0206619259, -0.0954826102, 0.045859281, 0.0292208102, 0.0398310162, 0.0060852286, -0.0395930558, 0.0032835833, 0.0551569685, -0.0448472761, 0.0412464291, -0.0366051234, 0.0092675714, -0.0295530017, 0.0348225124, -0.0755626485, -0.012317826, -0.0745263696, 0.0225034207, 0.0223129168, -0.0889047682, 0.0073201242, 0.0033399765, 0.0272618365, -0.0217913464, -0.0106172068, 0.0808420256, 0.0173382256, -0.0381811075, -0.0160538759, -0.0611972325, 0.0347802714, -0.0475959331, -0.060316693, -0.0234603658, 0.063269861, 0.0129623339, -0.0579301529, 0.0157387629, -0.0013724673, 0.0145164728, 0.0154335033, 0.0368883014, -0.0020831989, -0.0173564963, -0.0053754076, 0.0303063057, -0.0903624818, 0.0223837607, 0.0024250643, 0.1022023335, 0.0491182022, 0.037185356, 0.0478485674, 0.0064347968, -0.0333175622, 0.0235911403, 0.0813993365, 0.0379106104, 0.0185335744, 0.0290481392, -0.0046693995, 0.0092807477, -0.044065211, 0.0282926951, 0.0899324045, 0.0402272716, -0.0307764467, -0.0381571315, 0.0036680063, 0.0266653467, 0.0210940856, -0.0190302115, -0.0545945168, 0.056855198, -0.0278756581, -0.0432406478, -0.0240698494, 0.0316038057, -0.0393641219, -0.0586002767, 0.0125934146, -0.0228811018, 0.0698757842, 0.005389059, 0.0395799279, -0.0090132039, -0.0279329624, -0.0241290946, -0.0053563691, -0.0328974612, -0.0078346934, -0.0944497287, 0.0162140094, 0.0975837931, 0.0936177447, -0.039948348, -0.0964878276, -0.0047308351, 0.0287643056, -0.001097503, 0.0382874236, -0.0280018505, -0.010226598, -0.008554766, -0.0911208168, -0.023271434, -0.0070113186, 0.0169105772, 0.0194269493, 0.0361885354, -0.0093932441, -0.0441180915, 0.0179644767, 0.0150706926, 0.013509444, -0.0013340586, -0.0342647657, 0.0259308852, 0.056799069, 0.0021540388, 0.0412198491, -0.0154751083, 0.01107678, 0.0246319752, -0.0414279476, 0.0083705727, 0.059056662, 0.020920055, 0.0503356904, -0.0381592177, 0.0110290293, 0.0633390769, -0.0072118891, -0.0191439334, 0.0096081654, -0.014936287, 0.0165577717, 0.0132430764, 0.0083385669, -0.0104634054, -0.0023844568, 0.0162408929, 0.0443125702, 0.0210787635, -0.0205792412, 0.028448863, 0.0096797403, -0.0053795599, -0.010549725, 0.0235289894, -0.021052381, -0.0208264254, 0.0111589143, 0.0325179659, -0.0099837389, -0.0811648965, 0.011603388, -0.0969961733, 0.0078738462, -0.0124986134, 0.0101846252, 0.0262333527, 0.006301892, 0.0166022182, -0.0240794402, -0.0085005732, 0.039406091, -0.0192761794, 0.0470466278, 0.0374858491, 0.0331875682, -0.0596114099, -0.0551040173, 0.0122949854, -0.0062448182, -0.0169059969, 0.02821064, 0.0179306492, -0.01674827, -0.0017935237, -0.0498358719, 0.0063339612, -0.0353683382, -0.0495705083, 0.0387563854, -0.0264924634, -0.0228101425, 0.0841850713, 0.0250472873, 0.0509708859, 0.0341999568, -0.0225296598, -0.0480260514, 0.0088609904, 0.001529177, 0.0216373205, -0.0739830136, -0.0031032981, -0.0010831024, 0.0409438387, -0.0052319048, 0.0239144843, -0.0405522585, 0.0065508415, -0.0096007427, -0.0370521694, -0.0242389664, 0.005377572, -0.0274192933, 0.0490996763, -0.0237866919, -0.0204870459, 0.0554882362, -0.000610785, 0.0043504261, -0.0142794652, -0.0023086313, -0.0011313874, 0.0471396893, 0.0011775962, -0.001141295, -0.0319397189, -0.0197401885, -0.039449688, -0.0036819233, 0.0636011064, -0.0439157225, -0.0250004586, -0.0128420936, -0.0104292827, -0.0119142337, -0.0446435772, -0.0354271084, -0.0055632838, -0.0198166072, -0.0115165291, -0.0058051636, -0.0316004343, -0.0648579001, -0.0074331495, 0.0213665292, 0.0515618622, -0.0134524908, -0.0511841476, -0.0157245602, -0.0229265224, 0.0332685411, 0.0541309454, 0.0069470243, -0.0093245395, 0.0244248621, 0.0695443302, 0.0422017723, -0.043763198, -0.0137785301, -0.0114627033, 0.0174368583, -0.0596688613, -0.0072589843, 0.052416794, 0.0075267213, -0.063472949, 0.0024227151, 0.100127019, 0.0463915318, -0.0330326706, -0.0110704601, -0.0343274586, -0.0185827091, 0.0311455298, 0.0094709527, -0.0385483503, -0.0313151479, 0.0423210599, 0.0423629098, 0.0048561427, -0.0416953117, 0.0652527809, -0.0577717163, 0.0293377656, -0.0433585197, 0.0465849005, 0.0393588506, -0.0545163788, 0.0532812104, -0.0092916396, -0.0053180517, 0.0339634158, -0.0000479234, -0.0255833957, 0.0126749752, -0.042824164, -0.0546018109, 0.0636325777, -0.043592412, 0.0466517545, 0.0679036155, 0.0552914105, 0.0143987518, -0.0714887008, 0.0038858033, 0.0066901972, 0.0149907265, -0.0020102169, 0.0905677006, -0.0100128399, 0.0207149331, -0.0424568467, 0.0007025294, -0.0353414901, 0.0058092158, 0.0289433114, 0.0609328859, -0.0371876769, 0.0023895786, -0.0391577892, -0.0310969558, 0.0235715117, 0.0554567203, 0.0106199533, -0.0374724045, -0.0657995418, -0.0177078824, -0.0179894976, -0.0261232089, 0.0133528868, -0.0149874063, -0.010228754, -0.0135761239, -0.1015166268, -0.0861253589, 0.0522749722, 0.0303435791, 0.0079003545, -0.0467121825, 0.0149890408, 0.0373774953, -0.0308941919, 0.009720318, -0.0168753173, 0.0437972173, 0.0020596816, -0.0126170982, 0.0264559351, -0.0384839214, -0.0056535648, -0.0094042914, -0.0424137972, 0.0058108717, -0.0092388662, 0.0324980058, 0.0265769232, 0.0021319936, -0.0541207306, -0.016320359, -0.0063347723, -0.0322516747, -0.0597085357, -0.0568551868, 0.0547815822, 0.0263566952, -0.0067297085, -0.0074307462, -0.0838135108, -0.0226124693, -0.0384839438, 0.020736374, -0.0089693507, 0.0156214144, 0.0057549365, 0.0177841373, 0.0176881533, 0.0188959185, -0.0215211976, 0.0054089548, 0.0229374785, 0.0245451201, -0.0002343184, -0.0389270633, 0.0026888628, -0.0069098477, 0.0284616947, 0.0336626209, 0.0639953464, -0.0102436189, -0.0454353616, -0.0328952447, -0.0105809197, 0.0163181312, 0.0239046477, -0.0038647463, -0.0109543595, -0.0281108283, -0.0141129876, 0.0357236266, 0.0485471748, -0.0184406377, 0.0319180973, 0.0171923861, -0.0006985636, -0.0024817113, 0.0611186847, -0.0664125606, -0.0296952855, 0.0053511276, 0.011513846, 0.0144524947, 0.0364459381, 0.0512386523, -0.0041934531, 0.0164840482, -0.011537605, -0.011720214, 0.0005741326, -0.0165302418, -0.039574638, 0.048499655, 0.005545882, 0.0103177698, 0.0453306027, -0.0778055936, 0.0269054137, -0.0436710343, -0.0477845818, -0.0336140953, -0.0076003424, -0.0311851464, 0.0644801259, -0.0083696181, -0.0791966245, -0.0227531828, -0.0443222262, 0.0125363711, 0.0259932801, -0.0159222055, 0.0077612153, 0.0538286343, 0.0453633107, 0.0389192812, -0.0096137235, -0.0360319242, -0.0491660908, -0.0090634339, 0.0345132351, -0.0352380686, -6.071632931e-33, 0.008499776, -0.0135300308, 0.0187135935, 0.028681118, -0.0209573004, -0.0250707995, -0.0522790626, -0.0016677394, 0.0232053734, 0.0016467364, -0.0119886575, 0.0137819434, 0.0249465778, -0.0299654976, 0.019810956, -0.0497232527, 0.0431864746, 0.0019011635, -0.0568747371, 0.0416130051, 0.0145015568, 0.0070965234, -0.0161843523, -0.0500731878, 0.0195707977, -0.0113523295, -0.0413806774, -0.0092662647, 0.0103431689, 0.0604545847, -0.0245521702, 0.0306217298, 0.0409281366, 0.012919886, 0.019856425, -0.0081136003, -0.063448891, -0.0388776846, -0.0245023649, 0.0243460126, -0.0407079272, 0.0068791346, 0.001978657, 0.011424832, -0.0493152663, 0.0192540344, 0.0463565253, -0.0389596075, 0.0114195459, -0.000941324, -0.0686631277, -0.0122561343, -0.0156693514, -0.0352100059, -0.0077090715, 0.0878326297, 0.001051503, -0.0375216901, -0.068155095, 0.0165440086, -0.04043369, -0.0117288744, 0.0561212488, 0.0032529065, -0.014015683, 0.0550749749, 0.0321889631, 0.0500999391, -0.010175487, 0.0123539614, 0.0482811518, 0.049643442, 0.0005435955, 0.0253751073, -0.010635172, -0.0109358458, -0.013899656, 0.0941981375, 0.1059078649, 0.0449193306, 0.0242642649, 0.0044669709, -0.0561084561, 0.0132139996, -0.0186883919, 0.034744963, -0.0630360097, -0.0401830189, 0.0761432275, 0.0457128733, -0.0242579989, -0.0538868941, -0.0050461092, -0.0168711301, -0.0093351472, -0.0013426002, -0.0181730259, 0.0304322839, 0.0228283014, -0.0619832985, 0.0020395552, -0.0430870801, -0.0034122688, 0.0240769219, 0.0475872308, -0.0262898337, -0.0136812329, 0.035270296, -0.0178810433, -0.0139391534, -0.0492137894, 0.0123132654, 0.0107618496, -0.0195350032, 0.0327497385, -0.0201312024, -0.0183379687, 0.040047586, -0.0044833818, 0.017970968, -0.0559773408, -0.0053479667, 0.0161357205, -0.040302977, -0.0426166728, -0.0454150811, -0.0620307662, 0.0334479585, -0.0283461567, -0.0553456023, -0.026001187, -0.0109906681, 2.884e-7, -0.0336732455, 0.0581381544, -0.0170347858, 0.0258633848, 0.0414614901, 0.0319350734, -0.0393888354, -0.0117770452, -0.004995876, -0.0185067207, 0.0253824648, 0.0250084028, 0.031456545, 0.0627918318, -0.0241518766, -0.0475089327, 0.0181998834, 0.0129879788, -0.041354347, 0.0150457211, 0.0255600307, 0.0074370615, 0.0145785389, -0.0022111316, 0.0593114607, -0.0249767639, 0.005704069, -0.009140091, 0.0121379588, -0.0163139738, 0.0149058132, 0.0302391555, -0.0009287113, 0.0146447141, -0.017161373, -0.0136816343, -0.0289656129, 0.0471464992, 0.0214175358, -0.0298265498, -0.0026194626, -0.0398159176, 0.0611226968, -0.0201467089, 0.0881440043, -0.0121312905, -0.0268866401, 0.0025572714, -0.0444077924, -0.0353663675, -0.0254334062, -0.0008703684, -0.0252429489, -0.014023833, -0.0172738712, 0.0076272651, -0.0207509827, -0.0606661662, 0.0273567419, 0.0083148368, -0.0352895446, -0.0771194473, -0.0365715474, -0.0006508016, 0.0244440455, -0.0323754959, -0.0175396334, 2.416046345e-34, -0.0047418405, 0.0327887274, 0.0343608595, 0.0207063071, 0.0316727646, 0.0435687378, -0.0279788282, -0.0093796328, 0.0521619171, -0.0469025113, -0.0056825993 ]
http://arxiv.org/abs/2406.12369v1
http://arxiv.org/pdf/2406.12369v1
A Comparative Study of Continuous Sign Language Recognition Techniques
2024-06-18T07:51:44
2024-06-18T07:51:44
Sarah Alyami, Hamzah Luqman
cs.CL
cs.CL, cs.CV
Continuous Sign Language Recognition (CSLR) focuses on the interpretation of a sequence of sign language gestures performed continually without pauses. In this study, we conduct an empirical evaluation of recent deep learning CSLR techniques and assess their performance across various datasets and sign languages. The models selected for analysis implement a range of approaches for extracting meaningful features and employ distinct training strategies. To determine their efficacy in modeling different sign languages, these models were evaluated using multiple datasets, specifically RWTH-PHOENIX-Weather-2014, ArabSign, and GrSL, each representing a unique sign language. The performance of the models was further tested with unseen signers and sentences. The conducted experiments establish new benchmarks on the selected datasets and provide valuable insights into the robustness and generalization of the evaluated techniques under challenging scenarios.
[ -0.0360482447, 0.0598847717, -0.0034790637, 0.0419859402, -0.0317401737, 0.0567554533, 0.0543422401, -0.0179224927, 0.0532503612, -0.0239557829, -0.0292096976, -0.0315470025, 0.0290395934, 0.0315427445, -0.0164583921, -0.0534928814, 0.0359590948, -0.0366658941, -0.0268081855, 0.003754535, 0.013544267, -0.0164285135, -0.0410539731, 0.0602725931, -0.0853483081, -0.0054674069, -0.0119184125, -0.0198621657, 0.0449499674, -0.0201939121, -0.0645748377, 0.0128360027, 0.0406539589, 0.0412911922, 0.0000020832, -0.0095721427, 0.0150327738, -0.0149389775, -0.0198459346, -0.0055605583, 0.026932776, -0.0791595504, -0.0162790325, 0.0147135388, -0.0351119451, -0.0662328601, 0.024179101, 0.0646664202, 0.0079820585, 0.0083706453, 0.0062221484, 0.0014276451, 0.0596368872, -0.0326738544, -0.016539555, 0.0053289798, 0.0110192765, -0.0210360643, -0.0029267762, -0.0620062761, -0.0191195607, 0.0736887828, 0.0484026782, -0.0370077938, -0.0577466153, 0.0128501402, -0.0499806218, 0.0048455046, 0.0066968282, 0.0611152835, -0.0492553189, 0.0198642276, 0.0084956707, -0.0642111376, -0.0119146612, -0.0157088451, -0.0159835964, 0.025957318, 0.0128695592, 0.0128406016, -0.0229153968, 0.034506239, 0.0607039817, -0.0204711817, -0.0125380568, 0.0258764569, -0.0213152952, -0.0029117805, 0.0106796511, -0.0266665146, 0.0182427317, -0.0105493367, 0.026313806, -0.0124691166, 0.0078344624, -0.0202661213, -0.0186595805, 0.0034510074, -0.0068739555, -0.026954677, -0.0315447636, 0.0361933485, -0.0244201478, 0.0273148138, 0.0038421892, 0.0155262575, -0.0046221982, 0.0459141769, 0.0101822019, 0.0315492898, -0.0205700416, 0.004732728, 0.0067658927, -0.0189061239, 0.0106713092, -0.0463548824, -0.0291439686, 0.0070450474, 0.0233822986, -0.0242975745, 0.0195416175, 0.0276228506, 0.0271271914, 0.0282521248, 0.0398413427, 0.0403770767, 0.0141064739, 0.0259113982, -0.015321712, -0.0901695341, 0.0163114425, 0.020769693, 0.0145488, 0.0074629425, 0.0033279497, 0.0367360748, -0.0065969462, -0.0413497947, 0.0055114911, 0.0225300044, 0.0157101452, -0.0422216132, -0.0067499885, -0.032644432, 0.0284484942, -0.0243702587, -0.0053437897, -0.0765240565, -0.0017406791, -0.055728741, 0.0471754521, 0.0420032777, -0.0038509588, -0.0043738261, 0.05115382, -0.0084340777, -0.0143954121, 0.020390464, 0.04576708, 0.0172063857, -0.0079434197, -0.0251328442, 0.0135829998, 0.066134192, -0.045245219, -0.0093430793, 0.0100355223, -0.038404271, 0.0126624536, 0.0526115112, -0.0006463872, -0.0118854921, -0.0172328465, -0.039039474, 0.0190043561, 0.0755754933, 0.0252395291, -0.0235477965, 0.0406709723, 0.0193281434, 0.0540296398, -0.045610033, -0.0207780283, -0.006399428, 0.0685068741, -0.0514964312, -0.0673251152, -0.0009584901, -0.0472150631, -0.0272018481, -0.0104796207, -0.0617428273, 0.0205910895, 0.0588993616, 0.0760122091, -0.0576850437, -0.0313055664, -0.0533543937, 0.0031126894, 0.011275759, 0.01049753, -0.0137084583, -0.0137347197, 0.0185074992, -0.0371016748, -0.0239337068, -0.0208681133, -0.0250225421, 0.0028483665, 0.002279704, 0.0094945095, 0.0390655771, 0.0848343074, -0.0335148461, -0.0548684187, 0.0427608751, 0.0170384794, 0.0400796942, -0.07505849, 0.0681257322, 0.0194419306, 0.0053023817, 0.0190614592, 0.0562496223, -0.0129315555, -0.0244651306, 0.0526661575, 0.0156576522, 0.0247650836, 0.0408766754, -0.0223206375, -0.038832847, 0.0450980999, -0.0490148216, -0.0036833265, 0.0648530498, -0.0917949975, -0.0334166363, 0.0121344877, -0.0297739245, -0.0314303376, 0.0373012312, -0.0126840901, -0.0469303168, 0.0352337062, 0.0102559729, 0.0091260653, -0.0246205237, 0.0094786454, -0.0137832109, 0.0223472621, -0.0048217261, 0.0104101393, -0.0193671882, -0.0521171503, -0.0172347818, -0.0426595509, 0.0507643111, -0.0808963254, 0.009272106, 0.0369380526, -0.0379545726, 0.0094994493, 0.0255502835, 0.0443098284, -0.0178935286, 0.0457344502, -0.06927827, -0.0123899886, -0.0270901024, 0.0161767155, -0.0388987511, -0.0007281969, -0.004637599, -0.0174399372, -0.0256932508, -0.0263177734, 0.0164631382, -0.0689440221, -0.0033382857, 0.0065079802, -0.0484554656, -0.0365395248, -0.0341539197, 0.0006431728, 0.0521240048, 0.0125480648, -0.0456379615, 0.0013134957, -0.053352166, 0.0322100855, 0.0393808968, -0.0158973914, 0.0175940767, 0.0378305651, 0.0031453848, -0.0832462758, 0.0041861637, -0.0073534511, 0.0369888879, 0.0052751135, -0.0011250519, -0.0231935158, 0.0040181978, -0.0076590786, 0.0599732809, -0.053484045, -0.0171992052, 0.0024294008, 0.0563791767, 0.0202914532, 0.0402697138, -0.0256100502, -0.0572609156, -0.0006352101, -0.0548618585, -0.0238681827, 0.028092999, -0.0248630717, -0.0241950881, -0.0004677221, -0.0562535077, -0.0006698555, -0.0342300087, -0.0289584175, 0.0319432504, -0.0336175561, -0.0453295708, 0.0426874906, 0.0039521526, 0.0010859444, -0.0441804267, -0.050513424, 0.0257852711, 0.0304780081, -0.0035159697, 0.0063818726, -0.0074522905, -0.0065223039, 0.0041425703, -0.032047864, 0.0188498255, -0.0401492119, 0.0016742556, -0.0334940962, 0.0113449059, 0.027618371, -0.0145091936, -0.0191038605, -0.0153796924, -0.000104029, 0.0592273921, 0.0250251312, 0.0177394748, -0.0291057806, -0.0084293839, 0.027235195, 0.0210580174, 0.0050239041, -0.0201748386, 0.0106471507, -0.0043298863, -0.0327091329, 0.0516072288, -0.0852616355, 0.006740273, 0.0047237733, 0.0145299565, -0.018302219, 0.0230206512, 0.0300771929, -0.055159159, 0.0459517054, 0.0548399426, 0.0116141587, -0.044367604, 0.0274721328, 0.0351805836, -0.0199879594, -0.0417151935, -0.0470504686, -0.0718426928, -0.066250667, 0.0092428355, 0.032959912, 0.027181562, -0.0185427591, -0.0075428411, 0.0006457138, 0.0115063637, -0.005280247, -0.0774034709, 0.0034648504, -0.0098796478, 0.0270164106, -0.0017264541, 0.0361433104, -0.0105440989, -0.0001872504, -0.0252543017, 0.0253179222, -0.0668049529, -0.0836632624, 0.0389101543, -0.0093082972, 0.0031019431, 0.0088574849, -0.0224466436, 0.0201639626, -0.0661192983, 0.0324038863, 0.005927389, 0.0208797194, -0.0272500347, -0.0081465254, -0.0014560325, -0.035541527, 0.022695221, 0.0566035733, -0.1081874222, 0.0244911592, 0.0465769619, 0.0462809429, -0.0462646373, -0.0299764704, -0.0147702545, -0.0764951333, 0.0092908461, 0.0161812939, 0.0017255673, -0.0489124097, -0.0543954484, 0.0111406641, 0.0033451079, 0.0417916365, -0.0144070936, -0.0043275319, -0.0002156487, -0.0701815858, 0.0043069702, -0.0617753007, 0.033891961, 0.0048865099, 0.0022193012, 0.0167331863, 0.0460739583, 0.0079140663, -0.0413616896, 0.0574118011, 0.0098619042, 0.0866058394, -0.0612003021, 0.0059274714, -0.0280587636, -0.0103618307, 0.0159023013, -0.01248438, -0.0959222689, -0.0098389518, 0.026791526, -0.0098031722, 0.0067728981, 0.0117694093, 0.0008176469, -0.0442949459, -0.0310976747, 0.0479323305, 0.0330293886, 0.0101330448, 0.0443428531, -0.0646795034, -0.0298386123, -0.0010111405, 0.0214873906, 0.0301028527, -0.0066326433, -0.0201093927, -0.1186020598, 0.0263610464, -0.0395761542, -0.0142257502, 0.002732222, -0.0011165426, -0.0428650007, -0.0347536206, 0.0210031178, 0.012484245, 0.0483799316, -0.0720067024, -0.008863043, 0.0188560262, 0.0439290144, 0.0127061363, 0.0128342193, 0.0125399735, 0.0127716307, -0.0085632643, 0.1179330051, 0.0561196394, 0.0552244931, -0.0150918756, 0.0125465523, -0.0299592912, 0.0665207952, -0.0164960604, -0.0113954758, -0.0011640337, -0.023633277, 0.0154388612, 0.0212585256, 0.031816218, 0.0296931155, 0.0384765416, -0.0676811337, -0.0128366323, 0.0240269043, 0.0313468277, 0.0414303988, 0.0308612343, -0.0015271958, 0.0247695092, -0.0506885238, 0.0332535952, -0.0039067739, -0.0262302607, 0.0132974479, -0.0100828558, -0.0376525298, 0.0166433118, 0.0133253159, -0.0545676202, -0.0247885678, -0.0103211021, 0.0235780086, -0.0682462007, 0.0146731166, 0.0403442048, -0.0229539443, -0.0226847753, 0.0321180448, 0.0036296656, -0.0100931935, 0.0285971407, -0.0208556224, 0.0197665561, 0.0335608311, 0.0101598324, -0.0134409973, -0.0032573231, 0.0189981256, -0.0131787313, -0.0312077831, -0.0088169556, -0.0299783703, -0.0444782637, -5.493480729e-33, 0.0335826091, -0.0149184335, -0.0129136061, -0.0105623668, -0.0331542715, 0.0314839818, -0.0399760827, 0.0408439115, -0.0034001032, -0.0071656634, -0.0025864637, -0.030433733, 0.0088688387, -0.0066653229, 0.009604862, -0.0488684885, 0.0296445414, -0.025046993, -0.0082553793, 0.0322627239, 0.0205548219, 0.0263308343, 0.0780970678, -0.1189684942, 0.0169974454, -0.0187132284, -0.0233469196, -0.0367789194, 0.0071904007, 0.01286506, -0.0460869558, 0.0186834894, 0.0102785286, -0.0019535641, -0.0112470686, 0.0183365159, -0.038855955, 0.0046180785, -0.059001971, 0.1000010818, -0.0562245436, 0.0274038911, 0.0085406145, 0.0288057048, -0.0436226986, 0.0120292976, 0.039395202, -0.0126118958, -0.0162992999, -0.0617883317, -0.0086758416, 0.0695688874, -0.0477969162, -0.0161032975, 0.0278031193, 0.0304158498, -0.0531217493, -0.0280776508, -0.0422366485, -0.0025202374, 0.048991397, -0.0074304678, 0.0709018186, -0.0214831904, 0.0416141562, 0.0572021753, 0.029888019, -0.0576265827, 0.0419977941, 0.0101994788, 0.104794018, 0.0363395624, 0.0141863599, 0.0635901541, 0.0667740926, -0.0337173566, -0.0481238477, -0.0131464386, 0.1044107825, 0.0465135798, -0.023271041, 0.0106169078, -0.0097750807, 0.0184063558, -0.0379462764, 0.0132769858, 0.0256639421, -0.0059464411, 0.052486334, 0.0295417719, -0.011987255, 0.0519169122, 0.0758238211, -0.0042601335, -0.0242105648, 0.0509550944, 0.0014632692, 0.034293022, 0.047217302, -0.0063345633, -0.0548608154, -0.0407585762, 0.0294999201, -0.0270865429, 0.0623779669, -0.0364916623, 0.0054164156, 0.0822203904, -0.0013967499, -0.0037242246, 0.0060877656, 0.0505055264, 0.0138211064, 0.0281625111, 0.0500959046, -0.0650322884, -0.0141842114, 0.0636350214, -0.0272451937, 0.0022676515, -0.0127886524, 0.0393655933, 0.0182714537, 0.0435149036, -0.0329421312, -0.0087090675, 0.0128029045, -0.0625845268, 0.0502971597, -0.0819071829, 0.0145920357, 0.0190370586, 2.535e-7, -0.0047500557, 0.0132839559, 0.0330127403, 0.0045404215, 0.0363370031, 0.0384219401, -0.0128374333, 0.0029486364, 0.0068085175, 0.0574080423, 0.0096215243, -0.0198913962, 0.0534102768, 0.0127504207, -0.0462168679, 0.0399425589, -0.0100360662, 0.0278108194, -0.0397012234, 0.0398006588, 0.0334037542, 0.0836509392, -0.0093829967, -0.0299445689, 0.0433403626, -0.0511268601, 0.0453707054, -0.0517461412, 0.0563005731, -0.0194760617, 0.057170447, -0.0365873836, 0.015439407, -0.0305461865, 4.522e-7, 0.0190290008, 0.0035030094, 0.0002534498, -0.0358114764, -0.0251403395, 0.0329100005, 0.0249077491, -0.0213787835, 0.0053738793, 0.0816092044, -0.0618624799, -0.0001170936, -0.037698973, -0.0224412456, -0.0163800623, 0.0415174849, 0.0245479755, 0.0582596958, 0.0420090184, 0.0169010628, -0.1010552943, -0.0149062378, -0.0326501615, -0.0030115899, -0.0310841985, -0.056445878, 0.0313828103, -0.0313070826, 0.0184544157, -0.0022433167, 0.0154836271, -0.0354750827, 1.556584224e-34, 0.0180166606, 0.0121891638, 0.0072511756, 0.0242726598, -0.0432025976, -0.024217952, 0.0474749915, 0.040651001, -0.0037593346, -0.01332522, -0.0081216209 ]
http://arxiv.org/abs/2406.12364v1
http://arxiv.org/pdf/2406.12364v1
Does Context Help Mitigate Gender Bias in Neural Machine Translation?
2024-06-18T07:44:13
2024-06-18T07:44:13
Harritxu Gete, Thierry Etchegoyhen
cs.CL
cs.CL
Neural Machine Translation models tend to perpetuate gender bias present in their training data distribution. Context-aware models have been previously suggested as a means to mitigate this type of bias. In this work, we examine this claim by analysing in detail the translation of stereotypical professions in English to German, and translation with non-informative context in Basque to Spanish. Our results show that, although context-aware models can significantly enhance translation accuracy for feminine terms, they can still maintain or even amplify gender bias. These results highlight the need for more fine-grained approaches to bias mitigation in Neural Machine Translation.
[ -0.0001638297, 0.0677663237, -0.0240281858, 0.0357968919, 0.0227500573, 0.0014709666, 0.0794816017, -0.021732118, -0.063564755, -0.0215119068, -0.0395077579, -0.0409259573, 0.0492147319, -0.0237688217, 0.0338330269, -0.0091432575, 0.0086093955, 0.0334498324, -0.0064221276, -0.0380348489, -0.0214396454, 0.0117753875, 0.0170888882, 0.0525636338, 0.0198789574, -0.031641338, 0.0476882122, 0.0589359589, 0.0175966937, 0.0315199569, 0.0583189838, 0.0310840476, 0.0027403431, 0.052291546, 0.0000016007, -0.0365199409, 0.0033039358, 0.0326643623, -0.0065201526, -0.0217514075, 0.0296396408, -0.0741852969, -0.034472838, 0.0102415401, -0.0171174295, 0.0082603628, 0.0270554572, 0.0112711666, 0.0239362568, 0.0354498178, -0.0132909818, -0.004207145, -0.0589080229, -0.0774373934, -0.0028589533, -0.0257269889, -0.0086362809, -0.0466860794, -0.0861141607, 0.0328785479, -0.0364985391, 0.0314159356, 0.0125808986, 0.0093081724, -0.0421397015, 0.0438206196, -0.0070376201, -0.0282027945, 0.0152517781, 0.0358085148, -0.0111278258, 0.0151720094, -0.0128460256, -0.0150921168, 0.0322200134, -0.0123115405, -0.0415337272, 0.0311056171, 0.0054811877, -0.0186653361, 0.0237069484, 0.0230175741, 0.037833143, 0.0293023214, -0.0266923904, 0.0603817664, 0.0150408074, -0.0336848274, 0.0193809438, 0.0201681443, 0.0178562142, -0.0396517515, 0.0403396823, -0.0138733834, 0.0228950437, 0.0032881349, -0.0156050008, -0.0368873216, 0.0304033682, -0.0799687356, -0.0300348457, 0.0637860596, 0.0027876629, 0.0174598843, 0.0080940947, 0.0376164354, -0.0129078776, -0.0005883611, -0.0533478409, -0.0384984501, -0.0179492868, -0.0022954289, -0.0332673602, -0.0597891808, -0.0725474879, 0.0307524018, -0.0294443108, 0.0111002596, -0.0462578088, 0.0007583871, 0.0299707763, 0.0330586582, -0.0750283375, 0.0245338436, 0.0096159177, 0.0344628915, -0.0424221829, 0.0161336996, -0.0164998267, -0.0693715364, -0.0038250575, -0.0101540564, -0.024066411, -0.0393689163, 0.0014026854, 0.0353208072, 0.01186998, -0.0143679157, 0.0097385077, -0.0222146399, -0.0360062495, -0.058943551, 0.0332874171, -0.0454869308, 0.0506617762, 0.0311029144, 0.0248909257, -0.0353584997, -0.0256039482, 0.0289559402, -0.0300999209, 0.0660637766, 0.0562138744, -0.007731867, 0.0736069083, 0.0221497323, -0.0482859612, 0.0798779726, 0.0498597957, 0.008432799, 0.0113840513, 0.023501439, -0.0288706329, 0.0472928844, 0.0368206315, 0.0257150084, -0.0365307257, 0.0170802604, -0.0073182876, 0.0664185733, 0.112902157, -0.0364158228, -0.0023687177, 0.0042834552, 0.068002373, 0.0646240488, 0.0663637891, 0.0613814518, 0.037640281, -0.0477260351, -0.0265353899, 0.015780339, -0.0814394131, -0.0073288847, -0.0193320494, -0.02485447, -0.0522539429, 0.0344012268, -0.0222638492, -0.0400670059, 0.0253671035, 0.0235810373, 0.0071181948, -0.0068760188, 0.0079698991, 0.0330486074, 0.0109283552, 0.0420890264, -0.0085921232, -0.0460725576, 0.0051722229, -0.0163735412, -0.0308205299, 0.0364320055, 0.0008053705, -0.0177881308, -0.0358436219, -0.016924968, -0.0088903904, 0.0444316454, 0.0561499298, 0.0308185201, 0.0513465032, -0.023364557, -0.0245361812, 0.008182223, 0.039301008, 0.0170668513, 0.0137614142, 0.0726254955, 0.0508271456, -0.0442168228, -0.0837954506, 0.0227509812, -0.0263192412, -0.0376760587, 0.0485822633, 0.0102546616, -0.0018594306, 0.0337039009, -0.0285610687, -0.0116201798, 0.0125546269, -0.0386532098, 0.0052940906, 0.0586350337, -0.0635055527, -0.0348525196, -0.017726656, -0.0462761372, -0.0669540614, -0.0181366988, -0.0320268758, 0.0002795127, 0.0278808866, -0.0053060497, -0.0065536839, -0.0334242322, 0.0079117659, 0.0050985613, 0.0409369431, -0.0381485894, 0.0196591523, -0.0258471239, -0.0307601839, 0.0221702885, -0.0232384726, 0.0030991572, -0.0862466395, -0.0325212292, 0.0331020132, 0.0319409482, 0.0296936464, 0.025342321, 0.0084146587, 0.0051274528, -0.0170969982, -0.0684255958, 0.0195007138, -0.02336457, 0.0025277473, 0.021268703, 0.0326055922, -0.0125053236, -0.009639333, -0.0439817905, 0.0042621559, -0.0048640328, 0.0296877325, 0.0239077844, 0.0132294511, 0.0296723321, -0.0337626524, -0.0373899192, -0.0357305482, 0.051188603, 0.052461002, -0.0035440144, -0.0732837394, 0.0169997495, -0.0123273497, 0.0030836617, -0.0213920753, -0.0342413299, 0.0018641161, 0.0230401345, 0.0086083412, 0.1067026779, -0.0127464244, 0.0053358758, 0.0390302502, 0.0246430617, -0.0497296825, 0.0037333404, 0.0162466951, 0.0067837932, -0.0057810354, -0.066708155, 0.0160912983, 0.0126941111, 0.0034473829, -0.0347801, -0.0121753551, 0.0341401435, -0.0275368113, -0.027233392, -0.0356989391, 0.0250810366, 0.0268848669, 0.0580579117, -0.0254223812, -0.0357056931, 0.0170989446, -0.0180909615, 0.0092374086, -0.015374179, -0.0385853611, -0.0643339977, 0.0405414253, -0.0373382457, 0.0295906067, 0.0002031639, -0.0027305041, -0.0790094882, -0.0268073734, 0.0119826188, -0.0134501932, 0.0286066979, -0.0344552808, -0.0143695697, -0.0213581752, -0.0315528139, -0.0326552875, -0.0029098154, 0.0138845332, 0.0174349118, -0.0078174025, -0.0060154679, -0.0160413664, -0.0046164086, -0.0241610724, 0.0933738202, -0.0113075515, -0.0088072987, -0.0277350564, -0.003514356, -0.0014608121, 0.0120820962, 0.0164225232, -0.0720099807, -0.0280454308, -0.0007976231, -0.0341333076, 0.0083552087, -0.0458718874, -0.0040977797, 0.0471461192, -0.0427199006, -0.0349762067, -0.0216360856, 0.0117374854, -0.0757998303, -0.0022775789, 0.0944640189, -0.0132974638, -0.0859591961, -0.0047048754, -0.0115988571, 0.0111670019, 0.0290630665, 0.0356588587, -0.038718313, 0.0074134306, 0.0347785093, 0.012131664, 0.0161930826, 0.0011927841, -0.0401595272, -0.0938746929, 0.0022590596, 0.0197253786, -0.0954393744, -0.0470356159, 0.0164756365, -0.0198088717, -0.0519586578, 0.0627909228, -0.0166687686, 0.0192786641, 0.0035948835, -0.0134288408, 0.0201594401, -0.0550422557, 0.0081386873, -0.1102586463, 0.0407359637, 0.0569916517, 0.0467029437, -0.0320002772, 0.0000543409, 0.0283786003, 0.0003206977, 0.0252774619, -0.0015901945, 0.0100180488, -0.0340389423, -0.0133138057, 0.008817452, 0.0083691245, 0.0049468637, 0.0283292066, 0.0058947094, 0.0118289515, -0.0071986807, 0.0144080287, -0.0550118089, -0.0245756581, 0.0148947528, 0.0644313321, 0.0102031613, -0.0587689131, -0.0172948502, -0.0338702574, -0.0072119413, 0.0226984769, -0.0090022376, -0.0001392696, -0.0198507123, -0.0742375478, -0.0448996797, -0.0537935421, 0.0098035969, 0.0340045542, 0.0247273874, -0.0433295257, 0.0144796725, -0.003080271, -0.0636397675, 0.0627788007, -0.0137531105, 0.0330050811, 0.0058469283, 0.0143270092, -0.0132155642, -0.0480339378, -0.0260594916, 0.0262133982, -0.0532113053, -0.0563013516, -0.0028633184, 0.0493376032, 0.0269706734, 0.0842315108, -0.0163057409, -0.0454766825, 0.0343785919, 0.0659241676, -0.0244507995, 0.0295205768, 0.0465184189, 0.0230270624, 0.014981308, 0.0332732834, -0.0379863903, 0.0000112236, 0.0041948515, 0.0335040763, -0.0001668357, -0.0596309304, 0.003952628, -0.0259294007, 0.0094228713, -0.055266656, -0.000219662, -0.0393449217, 0.0114939511, -0.0220932253, -0.0209862106, -0.0161049943, -0.0592694618, 0.0558127388, 0.0176579151, 0.0296980143, -0.001900863, -0.0068738712, 0.0011712891, -0.0299846474, -0.0251170471, -0.0115353102, 0.0311679803, -0.0169514902, 0.039188534, 0.0159030724, 0.0010548997, -0.0209628716, 0.0377016589, 0.0034663952, 0.0318342969, 0.016996365, 0.0431121551, -0.0363195203, 0.0262631737, -0.0579249747, -0.0121623995, -0.0191779286, 0.0144207953, 0.0570497215, -0.0325856544, 0.0573176257, 0.0118761947, -0.0186634958, 0.0192038193, -0.0007997615, 0.0333482325, 0.0333709456, 0.0291439109, -0.013233345, 0.0386596434, -0.0160928015, 0.0499238372, 0.0346688256, 0.0509855412, -0.034804143, -0.0453415588, 0.0017631004, -0.001785435, 0.023799032, -0.047007218, -0.0343974419, -0.0270364657, -0.0742354915, -0.058489576, 0.0077624917, -0.0082279239, 0.0176127609, -0.0153505085, 0.0077786618, 0.0740571842, -0.0438553728, -0.0384648368, -0.0321914777, 0.0017334708, 0.0121645276, -0.0161864683, -0.0628827289, -5.320091271e-33, -0.0346536115, -0.0344371237, 0.0314238742, -0.0277768187, 0.0017597788, 0.0306205954, -0.0001497796, -0.0265495293, 0.0065749758, 0.0180289708, -0.0133986063, 0.0556491725, 0.017080972, -0.0092664417, 0.0049776854, 0.0216183774, 0.0794718117, 0.0455951057, -0.0099820402, -0.0513982475, -0.0332639553, 0.0238402411, 0.0616724566, -0.0809550658, 0.1081386283, -0.0054756296, -0.0021934672, 0.0165038388, -0.0129636107, 0.0155845731, 0.0098123932, 0.0307402089, 0.0177801922, -0.0321524702, 0.011660194, 0.025793165, -0.0968845859, -0.0224057324, 0.0169839617, 0.0508773103, 0.0207140129, -0.0542501882, 0.0870724767, 0.0011109461, -0.0504036471, -0.0177305825, 0.0399317443, -0.0169547554, 0.004184165, 0.0284214932, -0.0541365482, -0.0077805356, -0.0170716308, 0.0221750047, 0.0286902599, 0.0204247013, -0.0106053473, -0.0088721998, -0.1009541452, 0.0154320803, -0.017891027, -0.001871051, 0.0494426973, 0.0140527273, 0.0120698279, -0.0010191813, 0.0897172689, 0.0440305695, -0.0133451484, -0.0598446243, 0.0263593029, -0.0352090374, 0.0436121784, 0.045013357, 0.062858209, 0.017654093, -0.0907464176, -0.0236741863, -0.017982088, -0.0086276336, 0.0261403695, -0.0106933862, -0.0514992587, -0.028414404, -0.0448483303, -0.0907984301, -0.0139810164, -0.0005731257, 0.0022862959, 0.030465737, -0.0000566827, 0.0185092092, -0.0050130272, -0.0786752328, 0.0297512859, 0.0020282394, -0.016527446, -0.0549738035, 0.0378575064, 0.0176957604, -0.0229996908, -0.0063420385, -0.028008502, 0.0486193113, 0.0463411398, 0.0256036259, 0.0505034588, 0.0146926707, -0.0236045551, -0.0177084003, -0.0668660849, -0.0074642897, -0.0017708872, 0.0471465997, 0.0281815827, 0.0043966891, -0.0018167394, 0.0054975906, 0.0756988153, 0.0281610787, -0.011745478, 0.0107188048, 0.0318178982, 0.0461645201, -0.0540946387, -0.0284069683, 0.0381032564, 0.0306299198, 0.0714458078, -0.0575087965, -0.0352914818, -0.0261527058, 2.261e-7, 0.0348284878, 0.0574015565, -0.0027406358, 0.0546023734, 0.0371641666, 0.0197447613, -0.006742591, 0.0598802529, 0.0306282155, 0.0532425605, -0.0090092486, 0.0248195827, 0.0108437948, 0.0194927342, -0.0638206601, -0.0424740352, -0.0473147035, 0.0513268672, -0.0160792321, 0.018390283, -0.0014263424, 0.0720184892, 0.0146096107, -0.0129094897, 0.0023421701, -0.0385528058, 0.075843446, -0.008891522, 0.0337504447, 0.0115027735, 0.0073331366, 0.0507842042, 0.0000865715, 0.0075787092, 0.0138479592, 0.008526098, 0.0330207497, 0.0577325746, -0.0307210051, 0.0412984006, 0.0074614775, -0.0296898838, -0.0216481946, -0.0491928793, 0.036724098, -0.0340216644, -0.0220816508, -0.012039247, -0.0059849983, 0.0257249177, 0.0768096, 0.0000873002, -0.0216988176, -0.0162483491, 0.0491651632, 0.0083205057, -0.0326070115, -0.0360233374, -0.0472350158, -0.0010640909, -0.0138995014, -0.0424213447, -0.0102285799, 0.0257159378, 0.0207822863, -0.0446325131, 0.0139007084, 1.709957079e-34, 0.0093200067, 0.0351935513, 0.0020870958, -0.0064105955, 0.0020673573, -0.0065144743, -0.0082453089, -0.0245765299, 0.0394351631, 0.0337474048, -0.0327453613 ]
http://arxiv.org/abs/2406.12354v1
http://arxiv.org/pdf/2406.12354v1
Cross-Lingual Unlearning of Selective Knowledge in Multilingual Language Models
2024-06-18T07:40:18
2024-06-18T07:40:18
Minseok Choi, Kyunghyun Min, Jaegul Choo
cs.CL
cs.CL
Pretrained language models memorize vast amounts of information, including private and copyrighted data, raising significant safety concerns. Retraining these models after excluding sensitive data is prohibitively expensive, making machine unlearning a viable, cost-effective alternative. Previous research has focused on machine unlearning for monolingual models, but we find that unlearning in one language does not necessarily transfer to others. This vulnerability makes models susceptible to low-resource language attacks, where sensitive information remains accessible in less dominant languages. This paper presents a pioneering approach to machine unlearning for multilingual language models, selectively erasing information across different languages while maintaining overall performance. Specifically, our method employs an adaptive unlearning scheme that assigns language-dependent weights to address different language performances of multilingual language models. Empirical results demonstrate the effectiveness of our framework compared to existing unlearning baselines, setting a new standard for secure and adaptable multilingual language models.
[ -0.0003862758, 0.1014594138, -0.011766606, 0.081178762, -0.0475793891, 0.0091811353, 0.0578261502, 0.0123721249, 0.0082242573, 0.0017996685, -0.0405754, -0.017222615, -0.0180143006, -0.0021299741, 0.0268392768, 0.019569857, 0.0400752723, -0.05594505, 0.0030223918, -0.0538568459, 0.0135625545, 0.0107290288, 0.0287911426, -0.0162086505, 0.0147463176, -0.0331617333, -0.0349204428, -0.0262867082, -0.0039698179, 0.0074908501, 0.02463286, 0.0367417894, 0.0036667488, 0.0677602962, 0.000002224, -0.018884426, -0.0590991937, 0.0298160724, -0.0273273084, 0.0571559891, 0.0131765315, -0.036939498, -0.0141895739, -0.0025230644, -0.0230842941, -0.0046026772, 0.0348734446, 0.025482107, 0.0580332056, 0.0697552711, -0.0127468342, -0.0211300887, -0.0265762862, -0.0341830626, -0.0093065463, -0.0655010343, 0.0217703562, -0.020939948, -0.0674339384, -0.0142641254, 0.0030360939, 0.0373761766, 0.0085487142, 0.0365891382, -0.0696886852, 0.0139714368, -0.0274848565, 0.0127113611, -0.0159117915, 0.0285496265, -0.0611894093, -0.0472925231, 0.0107716145, -0.0040716361, 0.0116048446, 0.0169813465, 0.0026332468, 0.0331054665, -0.0186939929, -0.0064061536, 0.0055837152, -0.0221434254, 0.0676705986, 0.014184745, -0.0085096313, 0.0556799509, 0.0174848232, -0.0173667837, 0.0083324332, -0.0503373668, 0.0408393033, -0.0442576632, 0.0315633714, -0.0098975608, 0.0265017264, 0.0348292775, -0.0574204586, -0.0418498181, 0.0374773853, -0.0742111951, 0.0331724621, 0.002067259, -0.0146949077, 0.0541565046, -0.0098578418, 0.0396142416, 0.0012432104, 0.0247009825, 0.0060788929, -0.0198551193, -0.0164867528, -0.0206642561, 0.0170703102, 0.0572375953, 0.0180834532, 0.0408441238, -0.0300042853, 0.0126147987, -0.0324147902, 0.0250639785, -0.0154229198, -0.0400444344, -0.0328305066, -0.0223300196, 0.0134928199, 0.0111990217, -0.0074758921, -0.0106478082, -0.0260799509, -0.0744827092, -0.0174064785, -0.0227385089, -0.0197272152, -0.0168068204, -0.0000267627, 0.102756992, 0.0020528047, -0.0085288743, -0.0627010465, -0.0675226897, 0.0020958323, -0.0402844362, 0.0310070086, -0.0615155809, 0.0088432739, -0.0155631555, -0.0038872284, -0.0909610689, -0.0112417582, -0.0053912918, -0.0749739259, 0.0548566133, -0.0149075724, -0.0223617163, -0.0110932998, -0.0019964557, -0.0117389597, 0.0619038641, -0.0237196852, 0.0313918479, 0.0693609267, -0.0331916474, 0.0505783372, 0.053845223, 0.0344073586, 0.0047460627, -0.0185863506, 0.0110791223, 0.0627936646, -0.0840902925, -0.0024660055, 0.0295193195, -0.0054627676, -0.0529099815, 0.079685986, 0.0149803469, -0.0291923881, 0.0537129715, -0.0080692461, -0.0057591326, -0.0053387759, 0.0251693297, -0.0528763905, -0.0060339072, -0.0656307191, -0.0134751061, -0.0266610421, 0.046504423, -0.0273914076, -0.0027353121, 0.0217847992, -0.0603686087, 0.0517487265, 0.0535028279, 0.041119881, 0.0592958517, 0.0126142697, 0.0798631981, 0.0525112301, -0.0929777324, 0.0024774072, -0.0245208479, -0.0239430461, 0.0583908148, 0.0195513517, -0.0352870673, 0.0131498873, -0.0183290262, 0.0201151613, -0.0037578768, 0.0334451795, 0.0067008352, 0.0992326587, -0.0578554235, -0.0218112823, -0.0062673376, 0.0329595171, 0.0467395857, -0.010109771, -0.0012738375, 0.0192825552, -0.0402755514, -0.0467203632, 0.0138508053, -0.0631064177, -0.026224358, 0.0379554667, 0.0063652224, 0.0129182879, 0.0257910471, -0.0251119435, 0.0141092716, 0.0433662646, 0.0203240737, 0.0110554276, -0.0242360644, -0.0178310368, 0.0290012676, 0.0234298967, 0.0033413228, 0.043173369, 0.0315754861, -0.028199438, -0.0048642471, 0.048511181, 0.0149957752, 0.0285328403, -0.023678327, 0.0240704417, -0.0483194999, 0.0254470557, 0.0035882059, 0.0344431065, -0.014555363, -0.0028547749, -0.0338819958, -0.0383302346, 0.0277098194, -0.0325976051, -0.0656210184, 0.0113311373, -0.023729505, 0.0490052402, 0.0187283102, -0.0003223066, 0.0046862923, -0.019814508, -0.0253723878, -0.0283238124, -0.0366360992, 0.0249336343, 0.0122243557, 0.0167906918, -0.0209997669, -0.051696375, -0.0249213129, -0.0148548372, -0.045754727, 0.0393123664, -0.005752739, -0.0172401331, -0.0000250743, 0.0136384042, -0.0209347829, 0.0375283062, 0.0646691173, -0.0324421227, -0.0091958288, -0.0046987687, 0.0425216705, -0.0528660901, 0.0414933451, -0.017256666, -0.0310514495, -0.0038419818, 0.0078036631, -0.0367555134, 0.0461160764, -0.0151193095, 0.0071969512, 0.067552112, -0.0235256031, -0.0180590153, 0.0011017307, -0.0019989118, -0.0359729044, -0.0389373936, -0.0078646317, 0.0140740955, 0.0201483592, 0.0158134922, -0.01180143, -0.0324269831, 0.0193377957, -0.0041333348, -0.042282328, -0.0426053591, -0.0080126291, -0.0023232596, 0.0203812346, -0.0055942978, -0.0547337383, 0.0418166444, -0.0245623887, 0.0361940414, -0.0354948863, -0.0234446116, 0.0093595972, 0.0324248411, -0.018300727, 0.0667390302, 0.0410404988, -0.0169237219, -0.0449863039, -0.0359569788, 0.0599386282, -0.0505499244, -0.0198565815, -0.0339344367, -0.0197306238, 0.0247903261, -0.0395058058, -0.0247903448, -0.0170234516, -0.0026399975, -0.0052872896, -0.0194346905, -0.0359433219, -0.0044997437, -0.0435665101, 0.0855620801, 0.0140315713, 0.0106034148, 0.0327812992, -0.0138479732, -0.0147292893, 0.0064715571, -0.0732014924, -0.0295681227, -0.0391209461, 0.0087611107, 0.0687926486, 0.0450519659, -0.0197763313, 0.0156163815, 0.0106185731, 0.0282700844, -0.0197475255, -0.0276991408, 0.0366666988, 0.0106120668, -0.0326965414, 0.0058643986, 0.0627999678, -0.0008725623, -0.0421899594, -0.0165436585, 0.0095575862, 0.0024462384, -0.0017195825, 0.0084433295, -0.0790929943, 0.0009896418, 0.0147857992, 0.0386564247, -0.0034070704, -0.0302823372, -0.0174521636, -0.0919656083, -0.038236253, 0.0407617763, -0.0659428239, -0.0345722549, -0.0445603989, -0.047561828, -0.0155950524, 0.0141076408, -0.0292922296, 0.0136381537, -0.0096400995, 0.0053988704, -0.0560368523, -0.04223096, 0.0186871011, -0.030739978, 0.0075965147, 0.0378686413, 0.0163405146, -0.0507070571, -0.0323467366, 0.0248761661, -0.0052064923, -0.0102049205, -0.0054103928, 0.0341470242, 0.0166400541, -0.0319153592, 0.0393195525, 0.0464388952, 0.0202548988, -0.0406523384, 0.0305951592, 0.0434338301, 0.0051710387, 0.0073949508, 0.0195868481, -0.0447185114, 0.028865261, 0.0429499932, -0.0123278592, -0.0418442748, -0.0213895831, -0.0500220172, 0.0129835941, -0.016469799, 0.0051443805, 0.0313557312, -0.0244372915, -0.0661598369, -0.0237861332, -0.0114973783, -0.0464514792, 0.0036419132, 0.0513764732, 0.0286004469, 0.0489196964, -0.0103795705, -0.0522190407, -0.0377217345, -0.0717924833, 0.0139600057, -0.0193329584, 0.0109318737, -0.0139088919, -0.0166380107, -0.0111815929, 0.0036561864, -0.0443011671, -0.0970909446, 0.0262772013, 0.0694946349, 0.0177549962, 0.0276488476, -0.0274808295, -0.0674886033, 0.1032044888, 0.0202760939, -0.0341995656, -0.0032312828, 0.0831343681, -0.0541684143, -0.0040068589, 0.0530767627, -0.054259181, -0.0147681329, 0.0918766037, -0.0271350387, -0.0393006168, -0.0107647367, -0.0048175319, 0.0582589284, 0.0187942535, 0.0090784207, 0.0155807966, -0.0135307843, 0.0340904929, -0.0150223766, -0.0363160223, 0.0083892979, 0.0230138488, 0.0446819812, 0.0072461879, 0.044862628, 0.0027382888, 0.0366818309, -0.0138585176, -0.0070791999, -0.0150253968, 0.050849963, 0.0516737439, 0.032659512, -0.00378525, -0.0135436747, 0.0458530411, 0.0105277672, 0.0255577248, -0.0260881577, 0.0471871532, -0.0138972681, 0.0130554074, -0.0397729911, 0.0132333348, -0.0336115211, -0.0552864671, -0.0203642678, 0.012043234, 0.040910352, -0.0035686956, 0.0120690977, -0.0132302344, 0.0033355823, -0.0493090078, 0.0131249363, 0.0210927743, -0.0475357398, -0.0060904375, -0.0058291103, -0.0333481841, 0.0657616779, 0.1091397479, -0.0144198453, 0.0555739477, -0.0140756955, -0.0182992853, -0.0351498127, -0.0228348859, 0.0351541713, 0.0182614997, -0.0522123352, -0.0325107574, -0.0329346918, -0.0819548517, 0.0164170805, -0.0117560904, 0.0397752747, 0.0079789739, -0.0042139008, 0.0835695565, -0.0025686186, 0.0438563339, -0.0966036469, 0.0115432153, 0.0240290854, -0.0144286705, 0.0228066463, -6.234348166e-33, 0.0512101911, 0.0137053048, -0.029773375, 0.0294463281, 0.0614735335, 0.0316652805, 0.0012272461, -0.0030152714, -0.0457892977, -0.0135676134, -0.0296831075, -0.012690966, 0.0109070083, 0.0211244803, -0.0230797976, -0.0018302572, 0.0195708834, -0.0049624713, -0.0225448087, 0.0445001833, 0.0920990705, 0.0544384085, 0.0894595757, -0.0926861987, 0.048162017, -0.0123296697, -0.0469743572, 0.0029791989, -0.0128610646, 0.038398128, -0.0354886465, 0.014020904, -0.0034040373, -0.0223551877, -0.0144934161, 0.0092303352, -0.0169739276, -0.0105970865, -0.0069728787, 0.0068455492, 0.0570231415, -0.0635060668, 0.0139211519, -0.0323474444, 0.002260685, 0.0080679851, 0.0002233874, -0.0103395563, -0.036949642, -0.0162810236, -0.0078021884, 0.006649327, -0.0377277471, 0.0049653682, 0.0634064078, 0.0163259767, 0.0038718886, -0.0350144617, -0.0727325827, 0.0521934219, 0.0152369067, 0.0321006067, 0.0721297115, 0.0196077358, 0.0118378149, 0.0669045299, 0.0463781357, 0.0140486043, 0.0584115088, 0.02061655, 0.0202142801, 0.0316162296, 0.0350107364, 0.0692922696, 0.0470608734, -0.0513994657, -0.0630411729, -0.0071522994, -0.0147110326, 0.0334064513, 0.0385544077, 0.0162094552, -0.018611934, -0.0219637845, -0.0516123809, -0.0360159278, -0.0432063416, -0.0130704371, 0.0041972487, -0.0062476117, -0.0502721295, 0.016203098, 0.028003186, -0.0279692635, -0.0297942311, 0.0642467812, 0.0161083024, -0.0271771252, -0.0083572995, 0.0253385156, -0.030634068, -0.0251590796, -0.0246430375, -0.0510190576, 0.0253110472, 0.0029350133, 0.0618582107, 0.0483896434, -0.053493809, -0.0038841336, -0.0263458844, 0.0105812699, 0.0565818772, 0.0675451234, 0.0292846281, 0.0097717484, 0.0052376762, -0.0110172238, 0.0611181743, -0.0149123119, -0.0494465306, 0.001577047, -0.0062505095, 0.0254702624, 0.0035121876, -0.0215796828, 0.0139043601, 0.0343199596, 0.0574829467, 0.0002612638, 0.0112123583, 0.0082879253, 2.966e-7, 0.0035538359, -0.0175693892, 0.0028198841, -0.0182119384, 0.0091460198, 0.0680101812, -0.0437969156, 0.066405721, -0.0435560197, -0.0093023889, -0.0418190658, 0.0151241245, 0.06533961, 0.0509194918, -0.0706151202, -0.0167958196, -0.0599553548, -0.0167269688, -0.0583926551, -0.012182083, -0.0212749392, 0.0858329758, 0.017626524, -0.0266166199, -0.0364525653, -0.0597711951, 0.0156978443, -0.0400440656, -0.037181627, -0.0197714772, 0.0288039353, 0.0773339048, 0.0025820686, 0.0104901241, -0.0475615524, 0.0002930595, -0.0152494237, 0.0683614686, 0.0550740436, -0.0194592644, -0.0028679259, -0.0205386952, -0.030631721, -0.0026102643, 0.0522174314, 0.0415990651, -0.0292470921, -0.0058078575, -0.0103075067, -0.0153675778, 0.0641268939, -0.029654745, -0.0157188755, 0.0469621606, 0.0258969199, 0.011076577, -0.0161065906, -0.047058586, -0.032504946, -0.0284924172, -0.0152306855, -0.0031008879, 0.0151810618, -0.0115347132, -0.0100077167, -0.0600101911, 0.0801873878, 2.360911068e-34, -0.0047561675, -0.0649750382, -0.0065270257, 0.0119015146, 0.0248646289, -0.0282229073, -0.0019505135, 0.0341267623, -0.0259507746, -0.018156575, -0.0042177509 ]
http://arxiv.org/abs/2406.12347v1
http://arxiv.org/pdf/2406.12347v1
Interpreting Bias in Large Language Models: A Feature-Based Approach
2024-06-18T07:28:15
2024-06-18T07:28:15
Nirmalendu Prakash, Lee Ka Wei Roy
cs.CL
cs.CL
Large Language Models (LLMs) such as Mistral and LLaMA have showcased remarkable performance across various natural language processing (NLP) tasks. Despite their success, these models inherit social biases from the diverse datasets on which they are trained. This paper investigates the propagation of biases within LLMs through a novel feature-based analytical approach. Drawing inspiration from causal mediation analysis, we hypothesize the evolution of bias-related features and validate them using interpretability techniques like activation and attribution patching. Our contributions are threefold: (1) We introduce and empirically validate a feature-based method for bias analysis in LLMs, applied to LLaMA-2-7B, LLaMA-3-8B, and Mistral-7B-v0.3 with templates from a professions dataset. (2) We extend our method to another form of gender bias, demonstrating its generalizability. (3) We differentiate the roles of MLPs and attention heads in bias propagation and implement targeted debiasing using a counterfactual dataset. Our findings reveal the complex nature of bias in LLMs and emphasize the necessity for tailored debiasing strategies, offering a deeper understanding of bias mechanisms and pathways for effective mitigation.
[ 0.0408669747, 0.0492234267, -0.0423021242, 0.0477227606, 0.0041945018, 0.0169408824, 0.0396262668, -0.0241107568, 0.0555674657, -0.0591172352, -0.0309635438, -0.0007975146, 0.0254704114, 0.007942806, 0.0428581499, -0.0439350419, 0.0200711694, 0.011520151, 0.0566066764, -0.023596203, 0.0183358938, 0.0113011096, 0.0268948413, 0.0541814305, 0.0198318902, -0.032686621, 0.0688084885, -0.0045820451, 0.0057011754, 0.0014553638, 0.0276979096, 0.0470140502, -0.0090471562, 0.023142172, 0.00000197, -0.0716660991, 0.0170675404, 0.0095459679, -0.0253438838, -0.0072751516, 0.0571565814, -0.0133115761, 0.002988067, 0.0271143541, -0.0164788179, 0.004395016, 0.0322060511, 0.0438874774, 0.0300737917, 0.0473927371, -0.0058761938, -0.0413633212, -0.0286221765, -0.0277462173, 0.0193081219, -0.029618971, 0.0439974628, -0.0469168201, -0.0669257864, -0.0221002959, -0.0425750948, 0.0195669588, -0.0098362351, -0.0079140048, 0.03654911, 0.0152802113, 0.003753504, -0.048646275, -0.0092422394, 0.0546845384, 0.0064693214, -0.0387744159, 0.0069771069, -0.0294306856, 0.040367756, 0.0357611589, -0.0450101122, 0.0143394358, 0.0100933742, 0.0018733644, 0.0508948304, 0.0077326009, 0.0371365771, 0.0298051145, 0.0033190073, 0.0450006761, 0.0014211573, -0.0310425386, 0.0290689506, 0.0352789797, 0.0465925708, -0.0670890361, 0.0216446202, -0.0162304118, -0.009297207, 0.0223408509, -0.0103719905, -0.0087220883, 0.038510181, -0.0731269419, -0.0158260297, 0.0192324668, -0.0352682956, 0.0310671497, -0.0292071365, -0.0033257448, -0.0400287099, 0.0069706012, 0.0067226859, -0.015367507, -0.0227232687, -0.0271607488, 0.0236630067, -0.0376024991, -0.0086472379, 0.0317979716, -0.0150973434, -0.0043795113, -0.0540480278, -0.0171809215, 0.0285745598, 0.0367527716, -0.0195745677, 0.0089319451, -0.0452697687, 0.0421306528, -0.0327384286, 0.0583703853, -0.0317418687, -0.0802086815, -0.0250948463, 0.0219611265, 0.0129326135, -0.0475734882, -0.0061230431, 0.0556548014, 0.0214111377, -0.0348835997, -0.0316168815, -0.0372346044, -0.0112353684, -0.0680754185, -0.0065306081, -0.0226170942, 0.0245326925, 0.0396796092, 0.0150706396, -0.0280238111, -0.0025771137, 0.0270362981, -0.0829889774, 0.0468277968, 0.0272439811, 0.0220408868, 0.0395710804, 0.0094767297, -0.0151046095, 0.0944973603, 0.0229807105, 0.0232520625, 0.0071670385, 0.0020060092, 0.0192584526, 0.0303974636, 0.0359445401, -0.0125813298, -0.0255246554, 0.0045125247, -0.035961464, 0.0110899713, 0.094043754, 0.0037769289, -0.0288921427, -0.0081454283, 0.0721649677, 0.0173865017, 0.0097077228, 0.0242940057, 0.0200730301, -0.0100382734, 0.0028095203, 0.009823055, -0.0801564679, 0.0177981351, 0.0012926742, -0.0439634956, -0.031936083, 0.0256073829, -0.0042319428, -0.0343392342, -0.0049841343, 0.0396224335, -0.016094191, 0.0178972688, 0.0288656, 0.0243636407, -0.0129594486, 0.0695855394, 0.0346969441, -0.0027877998, 0.0015254301, -0.0394955054, 0.0059685619, 0.0583844669, 0.0140871489, -0.0239505209, -0.001321425, -0.0400322042, -0.0217232648, 0.0363275297, 0.0543519445, -0.0098983217, -0.005914839, -0.0351561978, -0.0191512797, 0.0024040176, 0.0535252765, 0.0228414685, 0.0193227064, 0.0153808668, 0.0094033293, -0.0390582308, -0.0628681183, 0.0401497446, 0.0123523818, -0.0437116697, -0.0261812862, 0.0137684727, 0.034585271, 0.0237500034, -0.0173712652, -0.0037907779, 0.0003316802, -0.0122608272, 0.0141204521, 0.0436339006, -0.0274650119, -0.0071989498, 0.001728147, -0.0485150479, -0.0671134517, 0.0237595588, -0.021639498, -0.0059246635, 0.0555559732, -0.0191907398, 0.038394887, 0.0001093096, -0.0053611761, -0.030229101, 0.0394249782, -0.0451114327, 0.0715763494, -0.0141204409, -0.0426670983, 0.0238571577, -0.0466460474, 0.0103285499, -0.0460790098, -0.0064234729, -0.0047012237, 0.0312253851, -0.0248069521, 0.0168851614, -0.0509931371, -0.0378895514, -0.0336628295, -0.0827279985, -0.0118199559, -0.0294173583, 0.0046373354, 0.0189899597, -0.007791887, -0.0178384501, -0.0215935037, -0.0100171398, -0.0244671516, 0.0027283148, 0.0421256237, 0.0116631631, -0.0272351913, -0.0165252201, -0.0569341891, -0.0078380583, -0.0554863773, 0.0590198115, 0.0440609157, -0.0487719513, -0.0685886964, -0.0097392611, -0.0067844186, 0.0014507977, -0.0127419513, -0.0128873959, 0.0086104535, 0.0444763191, 0.020571908, 0.0989611074, -0.0143848974, 0.0415192284, 0.0723503232, 0.0161102973, -0.0650590509, -0.0281099658, 0.000512572, 0.0219818447, -0.0423867032, -0.0583666004, -0.0194348525, 0.0751970932, 0.0274416767, -0.0170935262, -0.0258634351, 0.0378130339, -0.0121100256, -0.065628849, 0.0053558764, -0.0337708369, -0.0141154015, 0.0361287706, -0.0468105525, -0.0798325911, 0.0246019382, 0.0003399461, 0.0156541113, -0.0277222525, 0.0156938676, -0.0619151704, 0.0363874212, 0.013135246, 0.0169635806, 0.007321931, -0.0453456566, -0.0578586236, -0.0142630236, 0.0299475361, -0.0113301808, -0.0038499837, -0.041546721, -0.0034340515, 0.0166929327, -0.0075057968, -0.0374306627, -0.0543355346, -0.05154052, -0.0082959021, 0.0071857828, 0.0106710475, -0.0332015678, -0.0285585951, 0.0088235596, 0.0118995728, -0.0095884176, -0.0007150398, -0.0136156045, 0.0027544838, 0.0347823761, 0.026344277, 0.0588450171, -0.0059695914, -0.007503551, 0.0168986451, 0.0042753397, 0.0170889515, -0.0256599542, -0.0065253745, 0.0320685878, -0.0573721565, 0.0039937627, -0.004391674, 0.0548151173, -0.0752989054, 0.0183673687, 0.0907108113, 0.0011727342, -0.0669202134, 0.0173568353, -0.0060290033, 0.0073968447, 0.0595791563, -0.000692041, -0.0741766766, -0.0150732109, 0.0190926977, 0.0034120115, -0.0271353815, -0.0253011528, -0.007814073, -0.1182606965, 0.0383817926, -0.0359722935, 0.0035071003, -0.0121490909, -0.050553713, 0.0064415815, -0.049788408, 0.0376852453, -0.0138919409, -0.0045116311, 0.0032031978, 0.0182166826, -0.0042352388, -0.07039202, 0.0217317268, -0.0446779542, 0.1001931429, 0.0723292828, 0.0382455289, -0.0281663649, 0.0006490177, 0.0466900431, 0.0117055401, 0.0207039863, -0.0243744627, 0.0685226992, -0.0330491662, -0.0200367589, -0.0138861882, 0.0491846167, 0.0043351613, 0.0196692627, -0.0181119274, 0.0538209602, 0.02913622, -0.0442865007, -0.0272204317, -0.0183297042, 0.0012565684, 0.0780855566, 0.0281713065, -0.0121473996, -0.0355365053, -0.0220060814, -0.0305243693, 0.0708534122, -0.0848965719, 0.0124767795, 0.0179494433, -0.037913058, -0.0197512526, -0.0520879664, 0.0360148996, -0.0109502748, 0.0161652993, -0.0068719112, 0.0092411544, -0.0254036915, -0.0212412011, 0.0659105107, -0.0268879142, 0.029590996, 0.0260165576, -0.0197377671, -0.018935781, -0.0439913422, -0.0302777961, 0.017008815, -0.0792790577, -0.0473062955, 0.0410208069, 0.0463713109, 0.0271367803, 0.0663223043, -0.030214604, -0.1062219441, 0.0421252958, 0.0286844987, -0.0315377712, 0.0327276438, 0.0133216269, -0.0078507317, 0.0200604759, 0.0244785547, -0.0327509679, 0.0005933422, 0.0284950417, 0.0068942094, 0.0028389522, -0.0043052733, 0.000427295, -0.007757016, 0.0503697731, -0.0336278565, 0.0412923209, -0.0637306124, -0.010769289, -0.0110787759, -0.0321056359, -0.0077774599, -0.0202007648, 0.0420166589, 0.010671299, -0.0208371896, -0.0450355336, -0.0644711033, 0.0024950132, -0.0383493491, 0.0551978983, -0.0036109493, 0.0010033607, -0.0000386518, 0.016830733, -0.0076190257, 0.0327591263, -0.0204099212, 0.0421332419, 0.0567019805, 0.0269792806, 0.007715059, 0.0006137381, -0.032808736, -0.0082327332, -0.0597479157, -0.0354010127, 0.009697563, 0.0471782573, 0.0355792083, -0.0740689486, 0.0771560296, 0.0055052969, 0.0065979119, 0.0300045963, -0.0241700951, 0.0034209227, 0.0118923988, 0.0375927463, -0.0040027974, -0.022205539, 0.0155177377, 0.0794265866, 0.0331676118, 0.0715110675, -0.0432677306, -0.0550427698, -0.0015748164, -0.0481665544, 0.0461182781, 0.0014283966, -0.0408669002, -0.0198862143, -0.0936574414, -0.0532107987, -0.0073395018, -0.0381066203, 0.0202199928, -0.0449451171, -0.010060641, 0.0589200333, -0.016427394, -0.0443707928, -0.0155784506, -0.0212915633, -0.008537461, 0.0003430683, -0.0140027478, -6.581769929e-33, -0.0181842856, -0.039983917, -0.0122745866, -0.0177543256, -0.0113412561, 0.0068208897, -0.0226747729, -0.0194851775, -0.0271207634, 0.0343431085, -0.0016613471, 0.0489617512, 0.0228215568, -0.0251626242, 0.0348202512, -0.0327719115, 0.0686304495, 0.0138748307, -0.0061036651, -0.0148453023, -0.0221438333, 0.0111640263, 0.0696692318, -0.1049527079, 0.1014146656, 0.0142898252, -0.0083933687, 0.0081978338, -0.0430018641, 0.0372279771, -0.0358636007, 0.0668973401, 0.0337638408, -0.0692236796, -0.0016952929, 0.0239878278, -0.0495105051, -0.0337754637, 0.0612852424, 0.0435286053, 0.0179235395, -0.0316366851, 0.0662031919, 0.0210578647, -0.0295688808, -0.0068149483, 0.0668117851, -0.0053658094, 0.0375758857, 0.0242501963, -0.0608409345, 0.0251012519, -0.0233906992, 0.0242363103, -0.0032919259, -0.0098717762, -0.0083819591, 0.0577096455, -0.0720735267, -0.0095918151, 0.0264504347, -0.0130197527, 0.0470974371, 0.0023164013, 0.0179838575, 0.0680896938, 0.0790908635, 0.0569281168, -0.0208161399, -0.0559828319, 0.0108242705, -0.0042325077, 0.0023964127, 0.0476943143, 0.0461347029, 0.0224233959, -0.0719346404, -0.0442058593, 0.0158998817, 0.048511751, 0.0345147774, -0.0090306625, -0.0496339239, -0.03647824, -0.0601020381, -0.0754097328, -0.0261252671, -0.0003815517, 0.0197426192, 0.0246585943, -0.0021064635, 0.0194203611, -0.0034206163, -0.0563068651, -0.0042894334, 0.0095747784, -0.0125842001, -0.0083962521, 0.0304402392, -0.0023589861, -0.0956079736, 0.0195878223, -0.0119990995, 0.0371156968, 0.0439900942, 0.0184577499, 0.0063206595, -0.0079248324, -0.0421667434, 0.0063428846, -0.0423428267, -0.026558198, 0.0039877212, 0.0420986712, 0.059746474, 0.0033241317, -0.0180539768, -0.0036372459, 0.0681396574, 0.0421332717, -0.0075880424, 0.0048249802, -0.0111374734, 0.0151088415, -0.0457711928, -0.0229060706, 0.0081662145, -0.0009953036, 0.0211880729, -0.0519637801, -0.0155528765, -0.0543726273, 2.683e-7, 0.0292056948, 0.0911427364, -0.0073551331, 0.0372530632, 0.0466862731, 0.022363374, 0.025322279, 0.056053333, 0.0451051742, -0.0217499174, -0.0190428142, 0.0324555747, -0.0081734341, 0.0198109765, -0.0645889342, -0.0042632762, -0.0495611876, 0.0086581958, -0.0159221627, -0.0270078033, 0.0139062656, 0.0707242936, 0.0238412451, 0.0054667559, -0.0101726204, 0.0096210865, 0.0545139126, -0.0092341099, 0.0063614282, 0.0198683422, 0.0416464731, -0.0007574392, -0.0002025219, 0.0351445861, 0.0059548924, 0.0493238568, -0.0264481176, 0.0556751862, -0.0292879809, 0.0113019999, -0.0224619955, -0.0255741831, -0.0083235148, -0.0771406218, 0.0596759841, -0.0178213976, -0.0621824451, -0.0583769456, -0.0128974793, -0.0162191093, 0.0530073419, 0.0139039364, 0.0110535463, -0.0047217011, 0.0016610513, -0.0097789736, -0.0456816591, -0.0733200759, -0.0546915978, -0.0250096526, -0.0221607815, -0.0642240345, -0.0005795461, 0.0184685942, 0.0304483008, -0.0495477468, 0.0292261895, 2.175610914e-34, 0.0211748928, 0.0368274115, 0.0279570054, 0.0063966513, 0.0256480295, 0.0043201805, -0.029149672, 0.0088380529, 0.0466788597, -0.0561927631, 0.0031704949 ]
http://arxiv.org/abs/2406.12336v1
http://arxiv.org/pdf/2406.12336v1
A Compass for Navigating the World of Sentence Embeddings for the Telecom Domain
2024-06-18T07:03:34
2024-06-18T07:03:34
Sujoy Roychowdhury, Sumit Soman, H. G. Ranjani, Vansh Chhabra, Neeraj Gunda, Subhadip Bandyopadhyay, Sai Krishna Bala
cs.CL
cs.CL, cs.LG, 68T50, I.2.7
A plethora of sentence embedding models makes it challenging to choose one, especially for domains such as telecom, rich with specialized vocabulary. We evaluate multiple embeddings obtained from publicly available models and their domain-adapted variants, on both point retrieval accuracies as well as their (95\%) confidence intervals. We establish a systematic method to obtain thresholds for similarity scores for different embeddings. We observe that fine-tuning improves mean bootstrapped accuracies as well as tightens confidence intervals. The pre-training combined with fine-tuning makes confidence intervals even tighter. To understand these variations, we analyse and report significant correlations between the distributional overlap between top-$K$, correct and random sentence similarities with retrieval accuracies and similarity thresholds. Following current literature, we analyze if retrieval accuracy variations can be attributed to isotropy of embeddings. Our conclusions are that isotropy of embeddings (as measured by two independent state-of-the-art isotropy metric definitions) cannot be attributed to better retrieval performance. However, domain adaptation which improves retrieval accuracies also improves isotropy. We establish that domain adaptation moves domain specific embeddings further away from general domain embeddings.
[ 0.0307162367, 0.0122914333, -0.0188644398, 0.0039970735, -0.0379010998, 0.0083505968, 0.0168794487, -0.0337606892, -0.0258985367, -0.0727637559, -0.0448617674, -0.0387223698, -0.0188349616, -0.0212839618, 0.0277660377, -0.0095271971, 0.0278421715, 0.0639805645, -0.0041448036, 0.0184966419, -0.0030069016, 0.0116893435, 0.0034901262, 0.0516748168, 0.0093501769, 0.0004104142, 0.0436823182, -0.0023677892, 0.0410944484, -0.0344748013, 0.0596821643, 0.0115083624, 0.0526985526, 0.0148971854, 0.0000017372, -0.0476216413, -0.0314989351, -0.020280635, -0.00412068, 0.0050724144, 0.0254674572, -0.000737057, 0.0310103036, 0.0303285886, -0.018993983, -0.0278591439, 0.0226356424, 0.0408546142, 0.0126347365, 0.0682147443, -0.0195772089, 0.0059465854, 0.0065932977, -0.0145682851, -0.0469999351, -0.0396301039, 0.0029269257, 0.0229589846, -0.0166999381, 0.029918978, 0.031447541, 0.0335111618, 0.0047066882, 0.0321029201, 0.0262032636, 0.0385353267, -0.0151245855, 0.0287169646, -0.0046299179, 0.0349706262, 0.0373188779, -0.0375800356, -0.0212848522, 0.038185779, 0.0033079074, 0.0135264015, -0.0643273219, -0.0009925085, 0.0311872475, 0.0402132981, -0.0393611342, 0.0432702862, 0.0258059148, -0.006993311, -0.0326007381, 0.0325787365, 0.0325099267, -0.0966920108, 0.0119275842, 0.0543393902, -0.0333202705, 0.0364188403, 0.0472909287, -0.0417212658, 0.0091187926, 0.0142193707, -0.0123679191, -0.0132160913, 0.0269171502, -0.0396176949, 0.0756899491, 0.0257708002, -0.0080610337, 0.0166494623, -0.0307788886, 0.0160096753, -0.0113118002, 0.0342328809, -0.0473880358, 0.0005175215, -0.0889012218, -0.0234413259, -0.0228680186, 0.0438663587, 0.0130328247, -0.0218074601, -0.0656905696, 0.0292958505, 0.0239827018, -0.02573785, -0.0191961657, 0.0108957691, -0.0408327654, 0.0137189105, -0.0064294282, -0.0034935491, -0.048821874, 0.0604056381, -0.0011150106, -0.0415650792, -0.0083431331, 0.0027302713, 0.0067632305, -0.0372529514, -0.0311817378, -0.0034888303, -0.0066608456, -0.0557411872, 0.0060231676, -0.0039608376, -0.0317465998, -0.0298770238, 0.0196992215, -0.0368683822, 0.0119929332, 0.0146517595, -0.0028761406, -0.0280107558, -0.0128305685, 0.0400322936, -0.0348105766, 0.0410850234, 0.0599525645, 0.0153407445, -0.0005771051, -0.0012960616, 0.0492712967, 0.0532541797, -0.0052452013, -0.0107543776, 0.0616150089, 0.0168571956, -0.0251893271, -0.0038519239, -0.0019373634, 0.002192229, 0.0187718645, 0.0251792204, 0.0051556397, 0.0259230509, 0.0070246528, 0.0064003374, -0.0457495004, 0.0183591563, 0.0431327187, 0.0634779111, 0.0542691238, -0.0300030764, 0.0297423955, 0.0295096245, -0.0536423773, 0.0111273481, -0.0333927646, -0.0434257425, -0.0056808391, 0.0200343858, 0.0361141637, 0.0043519186, -0.0384836048, -0.0169158597, 0.0058253924, -0.0144629497, -0.0351757742, -0.0318819322, 0.0349612199, 0.0031682097, -0.0210523251, 0.0769635215, 0.0233734399, -0.0670045465, -0.050190676, 0.0274491459, -0.0370858312, 0.0151533848, 0.0345852561, -0.0166407023, 0.0092570931, 0.0010227049, 0.0366516337, 0.0262295231, 0.0513751917, 0.0052810903, 0.0113859819, -0.0712525845, -0.0351045653, -0.0001049822, 0.0408345126, -0.0097067906, 0.0299221873, 0.0245364942, 0.0541591384, -0.0993926302, 0.0206657387, 0.0321246162, -0.0154554518, 0.0112589132, -0.0051906789, 0.0380802639, -0.0062911767, 0.0290785022, -0.0237995964, 0.0224202052, 0.0160644371, -0.0564503707, -0.0412253812, -0.0230462346, -0.0818430409, -0.0340267532, 0.0091786105, -0.0571439639, -0.0008812256, 0.0662246048, -0.0203449335, -0.0006788567, 0.007775581, -0.0279082302, 0.056673903, -0.0735992938, 0.022548588, -0.0145310815, 0.0404086858, -0.0403009579, 0.0538413525, 0.0107248984, 0.0180986803, -0.0351934955, -0.0192240439, 0.0552260429, -0.0301555302, -0.024288699, -0.0373682827, -0.0344406478, 0.0414054729, 0.0199956559, -0.0129020978, -0.0145301614, -0.0006017282, -0.0547119714, 0.0201190747, -0.0165900737, 0.0335010625, 0.0214130878, 0.0150118303, -0.0070321006, -0.0345929079, 0.0128052672, -0.0137093663, 0.0096135587, 0.049030222, 0.0557528138, -0.0049701119, -0.0444310568, -0.0538860932, -0.0245740451, -0.0323473737, 0.0912769437, -0.0494066887, -0.0357036106, -0.0449881963, 0.0669748485, -0.0344326682, -0.0044705668, 0.0006412431, -0.0360890105, 0.0061181481, 0.0364975929, 0.0191667173, 0.0316264033, 0.0193381477, -0.0007613627, 0.0252557546, 0.0346136689, -0.0768659115, 0.004140133, -0.0482735112, -0.0369297229, -0.0370474719, -0.0150969261, 0.0628593192, 0.0594704263, 0.0148315318, 0.0033663791, -0.0388253219, -0.0258912481, -0.009186672, -0.0122515718, -0.0340146124, 0.0228872541, -0.0184458867, 0.0552426688, -0.0123996167, -0.0334390178, 0.0703401044, 0.0091761341, 0.0183501076, -0.0708516389, -0.0528353266, -0.0079727136, 0.0552754626, -0.0095250616, 0.0192859825, 0.062654011, -0.0272333585, -0.0399033912, 0.0050571579, 0.0245219544, -0.0225481205, 0.0308849197, 0.0348253809, 0.0236887168, 0.0166206956, -0.0832846314, -0.0423262119, -0.0542592742, -0.0305110477, -0.0028919459, -0.0020728374, 0.0176234152, -0.070080936, 0.014871168, -0.0201762393, -0.0486928038, 0.0033448886, -0.0144146122, -0.0261126291, 0.049424801, 0.0591690615, 0.0108425273, -0.0394134708, 0.0047592288, 0.0273935329, 0.0056403475, -0.0024244941, 0.0320493877, -0.0100283558, -0.0238021519, 0.0154141448, -0.0461953767, -0.0310884155, 0.0117787244, 0.0730619952, 0.0294962917, -0.0368295275, 0.0994603187, 0.0369815081, 0.0006512489, -0.0129779065, 0.0108284438, 0.0508562736, 0.0347864218, 0.0385179073, -0.0564440154, -0.0211432241, 0.0116798934, 0.0184625424, 0.0175241716, 0.0133254053, -0.0078092734, -0.1355116516, 0.0082692401, 0.0023524242, 0.0062816762, -0.0498582572, -0.0517317094, 0.0053054858, 0.0398651436, 0.0390159525, -0.0246430095, -0.0129834311, 0.0019571993, 0.0358377509, -0.0644300953, -0.075230062, 0.007185719, -0.0562689677, 0.0093450136, 0.0420234539, 0.013397838, 0.0111613246, -0.0168908536, 0.0143194506, -0.0311507173, -0.0168545265, 0.0285726544, 0.0540950708, -0.0185346473, -0.0023277544, -0.0367392115, -0.0316028856, -0.0236837175, -0.014511833, 0.0014671404, 0.0771671608, -0.0074129645, -0.0014259001, -0.031485308, 0.0459235907, -0.0165466461, 0.0768254548, 0.0472584292, -0.0089094378, -0.0359820947, -0.000253747, 0.0221758969, -0.0447793007, -0.0228224918, 0.0511195809, 0.0015569798, -0.0007269742, -0.0675026253, -0.0446967855, -0.0050475588, 0.0296578538, -0.0069237426, 0.0108853215, -0.0258848555, -0.0202563889, -0.051108107, -0.0088510616, -0.0290834606, 0.0260476246, -0.0338854566, 0.0500464886, 0.0256426055, 0.0130617497, -0.0515787713, -0.0714218691, -0.0675258785, -0.0726684779, -0.0422289036, -0.025313152, 0.0054115974, 0.0209172517, -0.0169839282, -0.0042945147, 0.0546162091, 0.046598196, -0.047951825, 0.014418059, 0.0422750749, -0.0422596782, 0.0127790347, 0.0622667521, -0.071015276, 0.0440041907, -0.007521288, 0.0774238482, -0.0085565569, -0.0437226556, 0.0411446691, -0.0211516153, 0.0808505788, 0.0240571257, -0.0422628, -0.0295195375, -0.0015669883, 0.001053042, 0.0066491445, -0.0034261984, -0.024749212, 0.0235155784, 0.0168535989, -0.0086208181, 0.0318905376, -0.0148943467, 0.0689544305, -0.0437552072, 0.0038671347, -0.012038257, 0.0035012707, -0.0225559026, 0.0097849397, -0.0603618287, 0.0005325254, -0.0057747825, 0.0213695224, -0.0242506042, -0.0034420684, -0.005558311, 0.0112762116, -0.042190101, 0.025498651, -0.0676260218, 0.0395846851, -0.0086996118, -0.0211739466, 0.03985966, -0.0470350645, 0.0230137073, -0.0165783055, 0.0000281452, -0.0183065534, 0.0153399035, -0.0343627147, 0.0240480285, 0.0572962947, -0.0071957824, -0.052405104, 0.014360006, 0.0699503869, 0.0080034724, 0.0607297122, -0.0452451296, -0.0810482875, -0.0379884206, -0.0219991077, 0.0387713611, 0.030041365, -0.0108639151, -0.0030805224, -0.030224653, -0.058524847, 0.0014580472, -0.0195708685, -0.0258845408, 0.0030237401, 0.0162450206, 0.0612878613, -0.0094056781, 0.0155055737, -0.0193484165, -0.0224018507, 0.0040394263, -0.0222807992, -0.0487755835, -6.087236517e-33, -0.0091235973, 0.0485811308, -0.0200497936, -0.0269412603, -0.0182155147, 0.004390324, 0.0060377587, 0.005833277, -0.0533564687, 0.0215470809, 0.0038256142, -0.0018580313, 0.0250456408, 0.0174868964, -0.0281321127, -0.0106693227, 0.0495873988, 0.0163179133, -0.0074492143, -0.0258949362, 0.0227061417, 0.0837940276, 0.0663351044, -0.0716695637, -0.0040717069, -0.008668975, 0.0370559432, 0.0111116702, 0.0756911784, 0.0769105405, -0.0236788224, 0.0598400757, 0.0319486149, -0.0309000798, -0.0031281959, 0.0546138361, -0.0816849247, -0.0316468067, 0.0088163754, 0.0068646003, 0.0174808782, -0.0010826915, 0.0299463104, -0.0182414781, -0.015375426, -0.0214963313, 0.0422054008, -0.0077138548, -0.0380936339, 0.0122936107, -0.0528559834, 0.001469551, 0.0182370525, -0.0295481849, -0.011217799, 0.0499721318, 0.0135030402, 0.0357703604, 0.0021457497, 0.0349531621, -0.0319213457, 0.0386718251, 0.009639346, -0.0053063221, -0.0101444591, 0.0743357092, -0.0092539927, -0.0189400166, 0.004420728, -0.056915585, 0.0159305558, 0.0143558988, -0.0418679155, 0.0649867058, -0.000146229, -0.0266546309, -0.0884342417, 0.0081479251, 0.0078473929, -0.0217016265, 0.0734776855, 0.035078641, -0.0851336494, -0.0349572264, -0.0052207788, 0.0231211726, -0.0149642117, -0.0464606993, 0.0765881687, -0.0031688956, 0.0134503059, 0.0134243956, 0.009379168, -0.0518882945, -0.0259056427, -0.0350512303, -0.0118054496, -0.0062022889, -0.0110374382, 0.0057951529, -0.0167612545, -0.0235660132, -0.0323411971, 0.0312060416, -0.0072537903, -0.0293262992, 0.0892932862, -0.0391557813, -0.0682663098, -0.0172026772, -0.0084029306, -0.0765845254, -0.0227170289, 0.0195922609, 0.0093843089, 0.0455173589, -0.0039877384, 0.0774696991, 0.017542256, -0.0274890307, -0.0116232857, -0.0323375724, 0.0241156295, 0.0363177881, -0.0166818593, -0.0012121949, -0.0612797774, 0.0640685037, 0.0142053096, -0.0268602949, -0.0331536978, 0.0157620925, 2.545e-7, 0.0675316751, 0.0106223812, 0.0081764599, -0.0057141758, -0.007064736, 0.0358514786, 0.0003598271, 0.0412654653, -0.0068624122, -0.0008404294, 0.023852367, -0.0020461509, 0.0539006405, 0.0041523436, -0.0975439847, -0.0052236607, -0.0711970255, -0.0256982297, -0.0701283813, -0.0056139836, 0.0711772665, 0.0939419195, 0.0258816872, 0.0139355855, -0.027560927, -0.0526113212, 0.0580601171, -0.0531638674, -0.0137399519, 0.0093874279, -0.0058842041, 0.0513389371, 0.018570438, 0.0128718829, -0.0085369302, 0.0454572178, 0.0457623526, 0.0001890421, 0.028528491, -0.0185730495, -0.0275542289, -0.0178230777, -0.0064945919, -0.0307934005, 0.0321526974, -0.0942124203, -0.0382465236, -0.0282482691, -0.0179798715, 0.0096808765, 0.0306023937, 0.0399407409, -0.0275148042, -0.011206938, 0.0391937234, 0.0404537544, -0.0247904155, -0.0736379921, 0.0361064598, 0.0716834292, -0.0250172727, -0.0211717542, -0.0426502116, -0.0065977755, 0.0557257943, -0.0217070915, 0.0408981889, 2.187127544e-34, 0.0319446921, 0.0422962457, 0.0464013107, -0.0028977701, 0.0381995738, -0.025106702, 0.0401383378, -0.0123929223, 0.0421233363, -0.0709423497, 0.0349302851 ]
http://arxiv.org/abs/2406.12335v1
http://arxiv.org/pdf/2406.12335v1
Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters
2024-06-18T07:01:11
2024-06-18T07:01:11
Zhiyu Guo, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.LG
Scaling the context size of large language models (LLMs) enables them to perform various new tasks, e.g., book summarization. However, the memory cost of the Key and Value (KV) cache in attention significantly limits the practical applications of LLMs. Recent works have explored token pruning for KV cache reduction in LLMs, relying solely on attention scores as a token importance indicator. However, our investigation into value vector norms revealed a notably non-uniform pattern questioning their reliance only on attention scores. Inspired by this, we propose a new method: Value-Aware Token Pruning (VATP) which uses both attention scores and the $ \ell_{1} $ norm of value vectors to evaluate token importance. Extensive experiments on LLaMA2-7B-chat and Vicuna-v1.5-7B across 16 LongBench tasks demonstrate VATP's superior performance.
[ 0.0264543518, -0.0072908285, -0.0183903072, 0.0435028188, -0.0270780046, -0.0020899191, -0.0073768576, 0.0208404437, -0.0035122714, -0.0277455412, -0.0366969705, -0.0456854999, 0.0192479528, 0.0206398461, 0.0201316196, -0.0457411893, 0.0883157328, -0.0237461086, 0.0466943383, -0.0127823204, -0.0145386793, -0.0298143644, 0.0500500612, 0.0519605018, 0.000009079, -0.0104932105, 0.0248551238, -0.0103156138, 0.0200447012, 0.0073504457, -0.0077215354, 0.0383652225, -0.0355421528, -0.0213948786, 0.0000020564, -0.0428664722, -0.0083379159, -0.0182335041, -0.0153728491, 0.0682300925, 0.0766176805, 0.0321975574, -0.0208411105, 0.0109124752, 0.0248531066, -0.0107058678, 0.0432720557, 0.0073926398, 0.066872403, 0.0481050313, 0.0078158826, -0.0054597706, -0.0057741487, -0.0178785548, 0.032679271, -0.0811515078, 0.0071535711, -0.0091699418, -0.04454289, 0.0031190305, -0.0232760869, 0.0512052402, 0.0215204358, 0.0065735751, 0.0429089479, 0.0508539788, -0.0674162209, 0.0134522319, 0.0225581378, 0.0360792801, -0.0421549939, -0.0430451035, 0.0132872453, 0.0180676263, 0.0059763929, -0.0622565895, -0.0559197403, -0.0003245961, -0.003868608, 0.0001612826, 0.0365244187, -0.0165973958, 0.0151461251, -0.0177110657, -0.0282985326, 0.0041960441, 0.0377244167, 0.0016183996, -0.0610164329, -0.0390516371, -0.0465813056, -0.0768378749, 0.0170698948, 0.0480262935, -0.0085583832, 0.0078224707, -0.0431282595, -0.027495712, 0.0098387515, -0.0596202128, 0.0067168023, 0.0560375787, -0.0132767372, 0.0397428311, -0.0362038203, 0.0859093443, 0.0260362029, 0.0174093377, -0.0488660187, 0.0000912524, -0.0030168695, -0.0068671708, -0.0226012431, 0.0415735692, -0.0145664886, 0.0029067781, -0.0328662507, 0.0202032998, 0.0264575407, -0.0228197966, -0.0036179144, 0.0149984369, 0.0009237701, 0.0348347053, -0.0020302122, 0.0375197269, -0.0386331305, -0.0540056415, -0.0283319019, -0.0646670461, -0.0322044343, 0.0140069593, -0.0081878547, -0.0361778587, -0.0015177643, 0.0948706046, 0.0013891195, -0.054960873, -0.0036676861, -0.0230899211, 0.0101399552, -0.0625720397, 0.0109864958, -0.0547154844, -0.018593546, 0.0053318008, 0.0003294007, 0.0209611505, -0.0216494258, 0.0540804081, -0.0308563653, 0.0002461084, 0.0646049157, 0.0077202534, 0.0087719988, -0.0058947075, 0.00859496, 0.0498891138, 0.0310016293, 0.0519663654, 0.0124124037, -0.0332647115, -0.0375220217, 0.0119661652, 0.0352151804, 0.0042036143, -0.0308548249, -0.0003037306, 0.0179495141, -0.0204919726, 0.0564669073, 0.0817981809, -0.051580511, -0.0066904053, 0.0669495314, 0.0616366155, 0.0177338235, 0.0181283671, -0.0155509645, -0.015021841, 0.0115655893, 0.0194722824, -0.0644457117, 0.0763900429, 0.0055398927, 0.006310585, 0.0694259554, 0.0173563231, -0.036907427, -0.0368528441, -0.0091348169, -0.0002292017, -0.0124036139, -0.0038403138, 0.0244272295, -0.0162971579, -0.0435052365, 0.0725652426, 0.016365137, -0.0404595248, -0.0077101155, -0.055808384, 0.0105645545, 0.0641804338, 0.053751722, -0.0044997884, -0.0204305127, 0.0479026027, 0.0021142596, -0.0314284451, 0.0441027619, 0.0073108273, -0.0040719174, -0.0519250296, 0.0150083657, -0.0426908992, -0.0027088532, -0.0139891366, 0.0231431443, 0.0210910402, 0.0098130787, -0.0447619222, -0.0346053652, 0.0066200751, 0.0296940319, -0.0078344494, 0.0089785429, 0.0121711371, 0.0152133116, -0.0123997265, -0.0003286576, 0.037793126, 0.0354382247, -0.0389126018, 0.033383213, 0.0126328347, -0.069502607, -0.0378808714, 0.056939438, -0.0017940454, 0.0342023894, 0.0408022813, -0.0320089087, -0.0343822613, 0.0584784038, -0.0470494181, 0.0628500134, -0.0007926252, 0.0269342791, -0.0284269769, 0.0491225757, -0.0261234716, 0.0510522313, -0.0309119709, 0.0335613377, -0.0014625799, 0.0222623702, -0.0118671088, -0.0053490545, -0.0361327454, 0.0069756722, -0.0119285695, 0.01939198, 0.0081981337, 0.0088288225, -0.0222486611, -0.012323034, -0.1084060222, -0.0027214864, -0.0251497105, 0.0613788627, 0.0232324712, 0.0320401564, 0.0107536642, -0.0031334271, -0.0048828786, -0.0149546452, -0.0047213868, 0.0435439087, 0.0206714571, -0.0310358834, -0.0115952482, -0.0387791991, -0.0407860093, 0.0128265945, 0.0545428321, -0.0368091501, -0.0363619924, -0.0179695208, 0.0392840281, -0.0198689215, 0.0013382882, -0.0109086623, -0.035361927, -0.004662768, 0.025799606, 0.0756500438, 0.0787924752, 0.0213283785, 0.0111238463, 0.045021493, -0.0297181103, -0.0459971279, 0.0057403031, 0.024882555, -0.0047158902, -0.0114301713, -0.0212739911, 0.0220623352, 0.0565530583, -0.0272715352, -0.0246049166, -0.0479860529, -0.0088402629, -0.0093430653, -0.0237557758, -0.011206639, 0.0029244975, -0.0570262335, 0.0044525629, -0.0328074992, -0.055950813, 0.0392386541, -0.0365095697, -0.009385325, -0.0501643494, 0.0314959362, -0.0437412634, 0.0317263156, 0.0025886574, 0.028898323, -0.0544658117, -0.0472344235, -0.0112787466, -0.0039800219, -0.0505860262, -0.0529662743, 0.0646306351, -0.0169363152, 0.0095695285, -0.0209485833, -0.0027972262, -0.0191346016, 0.024077611, -0.0201683007, 0.0125646591, 0.0551030226, -0.0083894227, -0.0083655119, 0.0444497317, 0.0269780923, 0.0332723968, -0.0218636785, 0.0071574058, -0.0019674252, 0.021560682, 0.0360801928, 0.0059026214, 0.0495205894, -0.0271082614, 0.0113865882, 0.0982099622, 0.0729431733, -0.0130259534, 0.0048147608, -0.0085367057, 0.034426719, -0.0485692956, -0.0143430149, -0.0032168478, 0.0453892723, -0.0532140136, -0.0307795946, 0.0811925381, 0.0231683534, -0.0635193959, 0.0267711692, -0.0321044587, 0.0256292559, 0.0360472202, 0.0397672057, -0.0892176479, -0.0261982121, 0.034961734, 0.0256900731, 0.0040837778, -0.02588333, -0.0315036178, -0.0903299227, -0.0019008648, 0.0010129448, -0.0782346055, 0.0031534641, -0.0602865927, -0.0009477721, 0.0007586008, 0.038266547, 0.0184804536, -0.0176079292, -0.0024479246, 0.0026774951, 0.0211872645, -0.0183944311, 0.0585279055, -0.0094809765, 0.0402052775, 0.0663565695, 0.0268132202, 0.0296408739, -0.0174553264, 0.0625484735, 0.0133799519, 0.0165523142, -0.0340573117, 0.0103437332, -0.0131200468, -0.0255977511, -0.0226822682, -0.0219663344, 0.0129580284, 0.0100914668, -0.0136704976, 0.0441473909, 0.0077743945, -0.0575878881, -0.0094437134, -0.0298434012, -0.0387122221, 0.0637118071, 0.07870996, -0.0093208579, -0.0621847138, -0.0198134612, -0.0059667276, -0.0446229838, -0.0381633379, -0.0264554359, -0.0106148357, -0.0716894865, -0.0649385303, -0.0151955597, 0.0063107237, 0.0282996669, -0.034633439, -0.0020941624, -0.0088798003, -0.0071240966, -0.0420883372, 0.0266299713, -0.0645142123, 0.0069768107, -0.0844233632, 0.0358515903, 0.0092811733, -0.0177460723, -0.0330087729, -0.0041475799, -0.0981873348, -0.0591230467, -0.0018253247, 0.079874523, 0.020650791, 0.0260332525, -0.0019929763, -0.0614609458, 0.0354613326, 0.0263183601, -0.080668211, 0.0764648765, -0.005744372, -0.0197711736, -0.0017144841, 0.0356032066, -0.0391599759, 0.0103289839, 0.0112721873, 0.0443920717, 0.0424764156, -0.007096109, -0.0374032743, 0.0503997505, 0.000229952, 0.0327325724, -0.0149526363, 0.0108771762, 0.055246044, 0.0116567621, 0.0028636211, -0.0197196566, 0.0093247574, -0.0436071754, 0.0207980126, -0.0082378341, 0.0004038352, 0.0280871186, -0.0047965087, 0.0040930738, 0.0027805869, -0.0236139111, 0.0318668336, 0.0305064116, 0.0017393599, -0.0373042226, -0.0268999301, -0.0020970928, 0.0308934879, -0.0573116615, -0.0345949233, -0.0027972045, 0.0095876697, -0.0424912311, 0.0597798079, -0.0638824031, -0.0333861895, 0.0115921209, 0.0009637426, 0.0356302038, -0.0244402625, 0.0677019283, -0.0000010584, 0.0009511862, -0.0488693118, -0.0119197303, 0.0156661719, -0.0379801095, -0.0163776129, 0.0159089267, 0.0062307771, 0.0006334626, 0.0835903436, -0.0213749018, 0.0396199264, -0.0021550755, -0.017326409, -0.0183634553, -0.0122906882, -0.0351182707, 0.0300009158, -0.0026325539, -0.0435344689, -0.0761939511, -0.068783693, 0.0219513606, -0.0224902388, 0.0021155674, -0.0152092306, 0.0216303635, 0.0484494939, 0.0392321236, -0.0310242251, -0.0088062985, 0.0011858019, -0.0164934937, -0.0132896183, 0.0220018458, -6.691577999e-33, -0.0300975535, -0.0163672008, -0.0013850975, -0.0280890334, -0.0303096082, 0.0497440249, -0.0705526173, -0.0447038971, -0.0156726316, -0.0448387675, -0.0445549265, 0.0076179695, 0.0212078635, -0.0110841487, -0.0102681099, 0.0030399696, 0.0506417118, 0.0222956631, -0.0444941744, 0.0735814422, 0.0521433391, 0.024210399, 0.0819005221, 0.0020277163, -0.0198582802, 0.0259550102, 0.0690640658, -0.0015932142, -0.0148049137, 0.0234319717, -0.037354283, 0.0358767882, 0.033810921, -0.0714587197, -0.0375813134, -0.0147515666, -0.0590931661, -0.0466151647, 0.0694866478, 0.0045918743, 0.0151240453, -0.0737630427, 0.041357249, 0.0510063171, -0.0082681132, -0.0123253325, 0.0084091369, 0.0007046913, -0.0618970059, -0.0087296087, -0.0301585887, 0.0222014841, -0.0111693768, 0.0089503899, 0.0295501333, -0.0001812158, 0.0099651618, 0.0332926847, -0.0509462431, 0.0289225578, -0.0042495234, 0.0934220552, 0.0944451243, 0.0362923369, 0.0180587322, 0.0632818565, 0.0510921702, 0.0236719269, -0.0150793698, 0.0255535021, 0.0625024065, 0.0053254394, 0.005104288, -0.0314089395, 0.0328886621, -0.0490673035, -0.0521123447, -0.0075830519, 0.0189084113, 0.0765624419, 0.0438026078, 0.0113097094, -0.0276242476, -0.0341695808, -0.020159686, 0.0197321437, -0.0603497922, -0.0269210506, 0.0101680309, -0.0030458502, -0.0455765128, -0.0234621298, 0.0512979291, -0.0107659763, -0.0047882828, 0.0517102033, 0.0192461945, 0.0414036214, -0.0086960988, 0.029025957, -0.0603106059, 0.0081499023, 0.0188404135, -0.0272298232, 0.0181218404, -0.0054862262, -0.0134645607, 0.0060581514, -0.0471939221, -0.0105393436, -0.0501561053, -0.004232449, 0.0079544745, 0.0510155074, 0.0279230978, 0.0022852905, 0.0235934053, 0.091896899, 0.011184847, -0.0138921924, -0.0405080318, 0.0003277991, 0.0265253223, 0.0282167196, -0.0372263975, 0.0098377485, -0.0719545484, 0.0747092664, -0.0047919727, -0.0385365039, -0.0422391184, 0.0264080334, 2.853e-7, 0.0146823246, 0.0436294414, 0.0394698121, 0.001820636, -0.0049060057, 0.0252305996, 0.0123106418, 0.0197916552, 0.0256877877, 0.0459423065, -0.0110752536, 0.0378367715, 0.0166229792, 0.0194054507, -0.0868322849, 0.0194847994, -0.088292107, -0.0264330041, -0.0265393853, -0.0250029936, -0.0120342197, 0.0776167884, 0.006359302, -0.0136291897, 0.0076040137, 0.0012042843, 0.0122014163, -0.0023859246, -0.0254932214, 0.032351356, 0.044293426, -0.0011332559, -0.0142337484, -0.0325081833, 0.0136193037, -0.0204912629, 0.0025765765, 0.0567055494, 0.0034733026, -0.0583033971, 0.0301824957, 0.0038111247, -0.025829671, -0.0383465365, 0.0992393866, -0.0095402561, -0.0096292645, -0.0618392937, 0.0070711132, -0.0041050282, -0.0131286252, 0.0092966305, -0.0237623435, 0.0705991983, -0.0132427141, -0.0193921532, -0.0183802005, -0.0811549649, -0.0583553053, -0.0258144364, -0.0498785116, -0.050929144, -0.0688966587, 0.026055662, -0.0055495962, -0.0502405316, -0.0130342375, 2.837650939e-34, 0.0368289314, -0.0222035013, 0.0165035427, 0.0404902846, 0.0307865329, -0.0147071453, 0.0002034588, 0.0284929909, -0.0081556374, -0.0646153986, -0.0572181307 ]
http://arxiv.org/abs/2406.12331v1
http://arxiv.org/pdf/2406.12331v1
Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
2024-06-18T06:54:28
2024-06-18T06:54:28
Weizhi Fei, Xueyan Niu, Guoqing Xie, Yanhua Zhang, Bo Bai, Lei Deng, Wei Han
cs.CL
cs.CL, cs.AI
Current Large Language Models (LLMs) face inherent limitations due to their pre-defined context lengths, which impede their capacity for multi-hop reasoning within extensive textual contexts. While existing techniques like Retrieval-Augmented Generation (RAG) have attempted to bridge this gap by sourcing external information, they fall short when direct answers are not readily available. We introduce a novel approach that re-imagines information retrieval through dynamic in-context editing, inspired by recent breakthroughs in knowledge editing. By treating lengthy contexts as malleable external knowledge, our method interactively gathers and integrates relevant information, thereby enabling LLMs to perform sophisticated reasoning steps. Experimental results demonstrate that our method effectively empowers context-limited LLMs, such as Llama2, to engage in multi-hop reasoning with improved performance, which outperforms state-of-the-art context window extrapolation methods and even compares favorably to more advanced commercial long-context models. Our interactive method not only enhances reasoning capabilities but also mitigates the associated training and computational costs, making it a pragmatic solution for enhancing LLMs' reasoning within expansive contexts.
[ 0.0478259549, 0.0379182845, -0.0230002813, 0.0430646278, -0.0300385058, -0.0046037845, -0.0005950651, -0.0240678955, -0.0075213471, -0.0500474647, -0.0247303974, -0.0380414613, -0.0120511604, 0.0144455917, 0.0206545871, -0.0262550265, 0.0561570488, -0.0321184956, -0.0022221778, 0.0148039255, 0.0054293568, 0.0005236832, 0.0177683365, 0.0043748454, 0.0027293295, -0.0292907283, -0.0366082452, 0.0016988203, 0.0153690167, -0.0146779353, 0.0040346198, 0.0206239428, 0.060115438, 0.0240613073, 0.0000021933, -0.0591503568, -0.0536790937, -0.0059174309, -0.0348221585, 0.0101417312, 0.019844573, 0.0194425117, -0.0023486868, 0.0003819801, -0.0329614729, 0.0375289619, 0.0143290032, 0.0241157245, 0.0727232471, 0.060447149, 0.0036523372, -0.0194798149, 0.0056139929, -0.0451493859, 0.0610321499, -0.0417775959, 0.0208009295, 0.008164377, 0.0303552523, 0.0327175818, 0.0074078217, 0.05010565, 0.0389719307, -0.0389260575, 0.0071777534, 0.0310267266, -0.0090237251, 0.0008907084, 0.0123065002, 0.0546915941, 0.0197595358, -0.0088471379, -0.0073317294, 0.0271101296, 0.0017578921, 0.0139515726, -0.0591662414, 0.0234040339, -0.0219851807, 0.0092167268, 0.0049486253, -0.0297806542, 0.0476354733, 0.0198512617, -0.0472710878, 0.0887593031, 0.0147662396, -0.0278383866, -0.026458893, -0.0204450972, -0.0258313697, -0.0447774827, 0.009997136, 0.0839950889, -0.032335896, 0.0445770398, -0.0170466229, -0.0035396202, 0.0285744146, -0.0236517303, -0.0056420784, 0.0585369579, -0.0177286845, 0.0569560118, -0.0460400842, 0.0139723718, -0.0285270195, 0.0038621896, -0.0409762748, -0.0151630733, -0.0370759144, -0.0472151823, -0.0547945499, 0.0180069525, -0.0768255368, -0.0020919377, -0.0260877833, 0.0559176877, -0.0161071867, 0.0099168932, -0.0275718663, 0.0149819395, -0.0387362465, -0.0249142572, -0.0490624085, 0.017077351, -0.0313969478, 0.023182312, 0.0366147831, -0.0222825408, -0.0231352672, -0.0087251971, 0.0006087104, -0.0335888155, 0.004234218, 0.0737343132, -0.0401285477, -0.0301869381, -0.0460133329, -0.0715152547, -0.032136783, -0.0702729598, 0.0143290907, -0.0581356101, 0.0234473068, 0.0043708296, -0.0483029, -0.0391419232, 0.0249629579, 0.0392834172, -0.0206938516, 0.0742349103, 0.0046870573, 0.0068914825, 0.0494980812, 0.0459623113, 0.0122097852, 0.0643509105, 0.0179426018, 0.0104996525, 0.0360781774, 0.0502340533, 0.0004947746, 0.0240388159, 0.0366081931, 0.0062669539, -0.0459452011, 0.0332763866, 0.020351002, 0.0168671794, 0.01103797, 0.0148673831, -0.0475476235, 0.0214172006, 0.0380803831, 0.0218445174, 0.0349460877, -0.0120451218, 0.0571736991, -0.0271719564, -0.0150731336, -0.0010927097, -0.0480819456, 0.0602552854, -0.0376312882, 0.0210750569, 0.0367060155, 0.0235682633, -0.0022083186, -0.0480748154, -0.0151249105, 0.0329345539, 0.0055215801, 0.0338595547, 0.0336246602, 0.0327381007, -0.009950161, 0.0434590615, 0.0124570038, -0.0366591215, 0.0026455037, -0.0528188124, 0.0403943621, 0.0986861736, 0.0757031143, -0.0349527374, -0.0406340174, 0.0000326483, 0.0124271531, 0.0310967471, 0.0128074838, -0.0302614998, -0.023271272, -0.0298658367, -0.033209756, -0.0527977645, 0.0138105731, -0.0081627248, 0.0523480102, -0.0088602258, 0.0576741584, -0.047810588, 0.036644008, 0.0140051255, -0.0477796532, -0.0214458629, -0.0313787535, 0.0131718535, -0.0174249653, -0.0013039111, -0.0154065443, 0.0288211517, 0.017680794, -0.0368199646, -0.0246282537, 0.0079930862, -0.0539452583, -0.0371504053, 0.0327334478, 0.0247007851, -0.0012618667, -0.0535619147, -0.0301675498, -0.0363096222, 0.0051740403, -0.0198145732, 0.0602610521, -0.0747319758, 0.0077308062, 0.010969908, -0.0145683428, -0.0414734297, 0.0885028392, 0.0050718817, -0.0254230238, 0.0603354461, 0.0451333858, -0.0058214758, -0.0357857272, 0.0021870728, 0.0155318016, 0.0124308504, -0.0364118516, -0.0280040801, -0.0083203921, -0.0557998307, -0.0214564931, -0.0696561709, 0.0174940489, -0.0148424059, -0.0048649074, 0.0355122387, 0.0327562764, -0.0052240752, 0.0052816668, -0.0185206942, 0.0037892731, 0.0280123875, 0.0397396274, 0.0332793482, 0.0456450023, -0.0181678478, -0.0314148404, 0.0103099057, -0.0080405204, 0.0351913236, 0.0122761838, -0.0242890939, -0.0504091941, 0.0237778816, -0.0614470579, 0.0136116259, -0.0320370123, 0.0024901961, -0.0010129877, -0.0394387841, 0.0593033098, 0.0548579283, -0.008324015, 0.0023706234, 0.0602878109, -0.0408485606, -0.0354070403, 0.0406041779, -0.0015618936, -0.0196823981, -0.0005290302, 0.0100570945, -0.0189611744, 0.0483329818, -0.0203929245, -0.027461363, -0.015958434, 0.025469413, 0.0079130912, -0.0024527228, -0.0717175007, -0.0449899957, 0.0017646648, 0.0717809796, -0.0579724163, -0.049373731, 0.0885500759, -0.0337138735, 0.0154253328, -0.0301381331, 0.0074130655, -0.0495400168, 0.0773276761, -0.0308742877, 0.0208891332, -0.0402403846, 0.0162112564, -0.0515976921, -0.0061711557, 0.0076073473, -0.0418733135, 0.0769327655, -0.0500738658, 0.0300670173, 0.0024386356, -0.0282905307, -0.0550901778, 0.0011117312, -0.0053850156, 0.0026787587, 0.0024333966, -0.0061978539, 0.0015417011, -0.0114975926, 0.0574565344, 0.0692139864, -0.0182486717, -0.0206797458, -0.01311401, 0.0223136861, 0.0502282232, 0.0102299629, 0.0054625748, -0.0416988879, 0.0444800258, 0.0563885793, 0.027915813, -0.0784131661, 0.029255148, -0.0008977733, -0.016733313, -0.0166453607, -0.0064542261, 0.0138155026, 0.045553498, -0.0861514732, -0.062268842, 0.0920159966, 0.0594508126, -0.0477042794, 0.0009971999, -0.0679519325, 0.0232961625, 0.045679681, 0.070509851, -0.0796671212, -0.0430371575, 0.0456750132, 0.0091252765, -0.0036821272, -0.0339635275, -0.0284614917, -0.1039116457, 0.0379453935, -0.0121202534, -0.0194548853, -0.0042877677, -0.0440813564, 0.0185783133, 0.0600986741, -0.0102055995, 0.0702518597, 0.0016697871, 0.0164949, -0.0401343815, 0.0522784181, -0.0078273891, 0.0353181064, 0.021307366, 0.0013929113, 0.0453716964, 0.0129538625, 0.050747294, -0.0246837344, 0.056406498, -0.019679606, 0.0499786139, -0.012383732, 0.0116196889, 0.0082677212, 0.0120704453, -0.0181319192, 0.0421858989, -0.0003346896, -0.0556479171, 0.0045599779, 0.0855347887, -0.0267533865, 0.050838396, -0.0170166604, -0.0110114301, 0.0038410223, 0.0701746196, 0.0305690281, -0.0102875978, -0.0225406643, -0.0478921868, -0.0386673398, -0.0237414036, -0.0060016331, 0.0102735013, -0.0111268666, 0.0269625541, -0.0688930526, -0.0232614018, 0.0255962554, 0.0483628437, 0.0145685766, 0.0210649576, -0.0189340152, -0.019057462, -0.0760663524, 0.0161771737, -0.0426265672, 0.0146261072, 0.0078426385, 0.0211611036, 0.0209108926, -0.0653461218, -0.0149153825, 0.0374812819, -0.0482575446, -0.0675811991, -0.0214988533, 0.0066156262, 0.0284848344, 0.0696223825, -0.0169290733, -0.0167161804, 0.0537102334, 0.0227900408, -0.0285311472, 0.0256686211, -0.0124280611, 0.0630540997, 0.0154195251, 0.0459619612, -0.0761129633, -0.0025784443, 0.011166269, 0.0384048857, -0.010000566, -0.0095154494, 0.0259508565, 0.0004359917, -0.0136731239, 0.0143428622, -0.0006807212, -0.0464958288, 0.0585681386, -0.0460661836, -0.0373379886, -0.014133729, 0.0288656, -0.019050248, -0.0316811241, 0.0253279861, 0.02495577, 0.0232290197, 0.0421141386, -0.0067723631, -0.0027767294, -0.0024557579, -0.0053987727, 0.0294474661, -0.0055856137, 0.0014075796, 0.0199233945, -0.0300710909, 0.0529011078, -0.0517615639, 0.0758055672, 0.0233117994, -0.0285276528, -0.0647091866, -0.0041150185, -0.1000168473, -0.0346541218, 0.0064336173, 0.0314386748, 0.0261217747, 0.0121820178, 0.0234532785, -0.0158598851, -0.0299354643, 0.0254863948, 0.0168406293, 0.0238853768, -0.0740129426, 0.0084182518, 0.0337441154, 0.0018096269, 0.0162376668, 0.0535462759, -0.0562025309, 0.0818211213, -0.0388166122, -0.0184629671, -0.0312123727, -0.0521860197, -0.0179150216, 0.0272271335, -0.0127291363, -0.0182495546, -0.044102259, -0.0760386512, -0.0012501804, 0.0142692709, -0.0440763161, -0.0049280114, 0.0036049981, 0.0709885135, 0.0121098831, -0.0474223755, -0.0124762291, 0.0300129894, -0.036932867, 0.0027419787, -0.0052976073, -6.42854571e-33, -0.0385452062, -0.0428505428, 0.0647036135, -0.0650106966, -0.0397571325, -0.0086095156, -0.0698335394, -0.0192693435, -0.0052653169, -0.0060266224, -0.0354264155, 0.0291228183, -0.0097165536, 0.0134980232, -0.0016299869, 0.0096845953, 0.0221987404, 0.039771989, -0.022964552, 0.0398193337, 0.0829209313, 0.0333182216, 0.0053578205, -0.0106935371, 0.0328514539, 0.0136772534, -0.004812832, 0.0758963227, -0.0511142053, 0.0539799742, -0.0201987289, 0.0001325535, 0.0269132797, -0.0268791001, -0.0025023576, 0.0310340747, -0.0786180124, -0.0015893821, 0.0170972906, -0.0401653759, -0.0258944053, -0.0658456534, 0.0386164002, -0.0015501818, 0.0230948552, -0.0078367749, 0.0201017093, -0.0449008457, 0.0038807101, -0.0261743981, -0.0641622916, 0.0078110183, -0.0159410741, 0.0000327032, -0.0269902479, 0.0287250448, 0.0236927215, 0.036105752, -0.0582032055, 0.013719283, -0.0075081689, 0.0315315612, 0.0595619865, 0.0123228459, 0.0180828031, 0.0286590364, -0.0195351373, 0.0028777476, -0.056983225, -0.0283775534, -0.0099236723, 0.0227772798, -0.0016968249, 0.0607830808, 0.028224593, -0.0057163625, -0.0718189105, 0.00813461, -0.0202539079, 0.0454077236, 0.0239595231, 0.0351792946, -0.0003402301, -0.0109894024, -0.0518942289, 0.042235598, -0.0521882772, -0.0202687178, 0.0442601927, 0.0353695638, -0.0238489583, -0.0174243711, 0.0117762899, -0.0105594629, 0.0072614616, 0.0550637282, -0.0307972562, 0.0105599444, -0.0106078135, 0.0175332706, -0.0140360305, -0.0028997571, 0.0357002169, 0.012493277, -0.0192099717, -0.0092889722, 0.0456618182, 0.0150471851, -0.0517026596, 0.0104749715, -0.07058613, 0.0481947586, -0.000895423, -0.0232778192, 0.0263545513, 0.022503702, -0.0176856145, 0.0418706201, 0.0301499721, 0.0102160797, -0.0113088842, -0.0120472182, -0.0055412017, 0.011165102, -0.0168941766, 0.0249603968, -0.0091731912, 0.0218846556, 0.0078267809, -0.0828043148, -0.0102348356, 0.0521703549, 2.913e-7, 0.0426498353, 0.0318526961, 0.0261023734, 0.0155666973, 0.0384252444, -0.00459002, -0.0168258194, -0.0137491245, 0.0111721717, -0.0371798314, -0.0094534829, 0.0689562634, 0.011331724, 0.033827845, -0.0456525758, -0.0029068463, -0.0170640443, -0.0248014107, -0.0518235862, -0.0183048155, 0.0643488914, 0.0482176878, -0.0107864365, -0.0218498334, -0.0023543146, -0.0856973529, 0.0657824576, -0.0084924689, 0.0065791272, 0.0133038508, 0.0164584573, 0.0343098156, 0.0082967235, -0.0189882386, -0.0103574581, 0.0354124829, -0.0394717231, 0.0610093549, 0.0186890755, -0.0319333598, -0.0066189305, -0.0265573971, -0.009369636, -0.0634525418, 0.10578987, -0.0504201278, 0.0024322907, -0.0081147207, -0.0016272644, -0.0180751979, -0.0412696339, -0.0045208731, 0.0113295959, 0.0209292211, -0.018804064, 0.0058573429, -0.0047669797, -0.1131862849, -0.0461295024, 0.0061387187, -0.060280405, -0.0195880588, -0.0660221726, -0.0186383035, 0.0317112319, -0.0682628229, 0.0064479713, 2.959602738e-34, 0.0158009157, -0.0069909082, -0.0071677673, 0.0200582836, 0.0540673658, -0.0140103186, -0.0154481707, 0.0047952882, 0.0289435759, -0.0998815373, -0.0375380218 ]
http://arxiv.org/abs/2406.12329v1
http://arxiv.org/pdf/2406.12329v1
SNAP: Unlearning Selective Knowledge in Large Language Models with Negative Instructions
2024-06-18T06:54:05
2024-06-18T06:54:05
Minseok Choi, Daniel Rim, Dohyun Lee, Jaegul Choo
cs.CL
cs.CL
Instruction-following large language models (LLMs), such as ChatGPT, have become increasingly popular with the general audience, many of whom are incorporating them into their daily routines. However, these LLMs inadvertently disclose personal or copyrighted information, which calls for a machine unlearning method to remove selective knowledge. Previous attempts sought to forget the link between the target information and its associated entities, but it rather led to generating undesirable responses about the target, compromising the end-user experience. In this work, we propose SNAP, an innovative framework designed to selectively unlearn information by 1) training an LLM with negative instructions to generate obliterated responses, 2) augmenting hard positives to retain the original LLM performance, and 3) applying the novel Wasserstein regularization to ensure adequate deviation from the initial weights of the LLM. We evaluate our framework on various NLP benchmarks and demonstrate that our approach retains the original LLM capabilities, while successfully unlearning the specified information.
[ 0.0513117798, 0.0779238492, -0.0358090475, 0.0417947397, -0.0513366573, -0.0125841498, -0.0227260254, 0.0291002262, 0.0395962857, -0.0271308422, -0.0670808628, -0.0038790356, -0.0371713527, -0.0041212109, 0.0001939396, -0.0065430156, 0.0485891774, 0.0076193898, -0.0011323442, -0.0233196095, 0.0338207595, 0.0050832732, 0.0175234005, 0.0293236841, -0.0019754614, -0.054797031, 0.0086102337, 0.0085131386, 0.010557198, -0.0144287162, 0.0417392366, 0.0677918419, 0.000101625, 0.0504779145, 0.0000019472, -0.0270267278, -0.0189343169, -0.0147522641, -0.0284216739, 0.0116485218, 0.0446954519, -0.0205902606, 0.0036346987, 0.0099303387, -0.0458667278, 0.0157374553, 0.0371917449, 0.0670053288, 0.0776140541, 0.0752204731, -0.00421543, -0.0015605043, 0.0235160943, -0.0348366089, 0.0241937507, -0.0520933382, 0.0335233249, -0.0346223786, -0.0062562642, -0.0040545543, 0.0061354293, 0.0502216183, 0.0190072842, 0.0223782957, 0.0081900964, 0.0276303403, -0.0699412376, 0.0016030308, -0.0217147339, 0.09095788, -0.0009361683, -0.0080344761, -0.0067480165, 0.0024172042, -0.0066923802, -0.0099868812, -0.0478540547, 0.0002584519, 0.0013680632, 0.0294044055, -0.045291014, -0.0205526892, 0.0410016701, 0.0276306719, 0.0339986458, 0.0560488403, 0.0264910683, -0.0336520299, 0.0294824988, -0.0046122801, -0.0231993813, -0.0391379744, 0.0308226366, 0.007233636, -0.009737879, 0.0272643548, -0.0263230391, -0.0151625657, 0.0220822189, -0.0295028035, 0.0239797737, 0.0126049072, 0.0255567878, 0.0411016941, -0.035658326, 0.0340059921, 0.007343886, 0.0316024311, -0.0267795958, 0.010521695, -0.0358046591, -0.0327315591, -0.0124679292, 0.0804210454, -0.0156366453, 0.0123671098, -0.0339774899, 0.0269811451, -0.0465093479, 0.0168327801, 0.0033514937, 0.0289992224, -0.0366923362, -0.0276580676, -0.0432007536, 0.047913976, -0.0378644131, 0.0095517142, -0.0038720807, -0.0399744809, -0.0150538739, -0.0048627071, -0.0026170935, -0.0112005658, 0.0000905268, 0.0738411024, 0.0047434447, -0.0314067416, -0.050647866, -0.0243532006, -0.013577926, -0.0670149177, -0.0123927183, -0.0148948748, 0.0191530865, -0.0080892034, -0.013556106, -0.0824214369, 0.0164785869, 0.0425060727, -0.0663844347, 0.0696219057, -0.020875711, -0.02937649, -0.0101313684, 0.0364910141, 0.0042758072, 0.0742325112, -0.0269110668, 0.0412844941, 0.0257194508, 0.0024566676, 0.0405986793, 0.0471861102, 0.0632645115, 0.0151230507, -0.0339710712, -0.0067965975, -0.0083953375, -0.0183287282, 0.0368810706, 0.0875954702, -0.0286338143, -0.040632084, 0.0738288239, 0.0450176187, -0.0383973271, 0.0371538326, -0.0016855014, 0.0265863482, -0.009340384, 0.0403973237, -0.063453652, 0.0116598187, -0.0788253546, -0.0135157537, -0.0189430099, -0.0038629435, -0.0297777262, -0.0233538691, 0.0093542216, -0.0398087762, 0.0391709283, 0.0146874338, 0.0177240539, 0.0310741104, -0.0539410636, 0.0871922895, 0.0489530303, -0.0531442165, 0.0247406345, -0.037657667, 0.0185135249, 0.0689028278, 0.0884059444, -0.0470313467, -0.0205135513, -0.0136238579, -0.0406516045, 0.0372225493, 0.017008476, -0.0037379293, 0.0245786533, -0.0516688488, -0.0186811537, 0.0158894062, 0.020054657, 0.0151382433, 0.0443727151, -0.0193032399, 0.0158857331, -0.0166327879, -0.0113701113, 0.0200179946, -0.0334830433, -0.0761846825, 0.0131767709, 0.0147046726, 0.0073767607, 0.0163753778, 0.0114208059, 0.0022280226, 0.0527870618, -0.0123702483, -0.0487454347, -0.0323898681, -0.045504041, -0.0667812228, 0.0167957693, -0.0259725917, 0.0045452258, 0.0633738711, -0.0304334164, -0.0109956982, 0.0154104941, 0.0042949202, 0.0505704172, -0.0423630737, 0.0148856295, 0.0150120668, 0.0055968794, -0.0456007831, 0.0481296219, -0.0399568453, 0.0149636138, 0.0077048163, -0.0593124144, -0.0175970588, -0.0353748687, -0.0272090808, 0.0172255114, 0.0000389975, 0.0166358072, 0.0311824158, -0.0140970321, -0.0288956109, -0.0233445894, -0.0947813317, 0.0076529109, -0.0010627914, 0.0085266624, 0.0231720526, 0.0156126367, 0.0150403669, -0.0325889774, -0.0277327318, -0.012169227, -0.0095351823, 0.0283072535, 0.0132647157, 0.0040968726, -0.0162258353, -0.0150047773, -0.0076365173, -0.0020736139, 0.0125326756, -0.045808021, 0.0099639352, -0.0081776725, 0.0408992618, -0.0614485107, 0.0587880611, -0.0065793423, -0.0419517569, -0.0034841073, -0.0106957108, 0.0080629932, 0.0226377975, -0.0034615486, 0.0491977446, 0.0128423218, 0.0144609576, -0.0389466546, 0.0273360033, -0.0456773266, -0.0264268797, -0.0226934794, -0.0096603232, 0.0076971129, 0.045100525, 0.0254514478, -0.005009234, -0.0853061974, 0.0080284998, -0.0391825326, -0.0605425574, -0.0396991111, 0.002130497, -0.0319775678, -0.0226174779, -0.0493921712, -0.072698541, 0.0699445605, 0.0218248349, 0.0193143226, -0.0169177111, 0.0018534102, 0.0029603709, 0.0696576461, 0.0018989474, 0.02941202, 0.0160528347, -0.0386892371, -0.0525915399, -0.0228818171, 0.0128609063, -0.0380456448, 0.0087701473, -0.0488902852, -0.0059068049, 0.0181667227, -0.0461759605, -0.0792968795, -0.0907774195, 0.004277024, -0.0079288166, 0.0403487831, 0.0071020387, -0.0314302519, -0.0385503955, 0.0132093383, 0.0053583905, -0.0071655205, 0.0188101362, -0.0265599862, 0.022567397, 0.0760438219, -0.0404413827, -0.0244975574, -0.0013332387, 0.0009438928, 0.0826740414, 0.0460201725, -0.0235431008, 0.0370350257, -0.0272920579, 0.0228880141, -0.0352938548, -0.020620238, 0.0129815107, 0.0674928725, -0.0421246216, -0.0149550531, 0.1268617362, 0.0245212521, -0.0624316894, 0.0074526388, 0.0311307237, 0.045228038, 0.0070749228, 0.0042736437, -0.0855837092, -0.0429196656, -0.0072446587, 0.0070269625, -0.0079482105, -0.0386675261, -0.0218458995, -0.1350542754, -0.0351998545, 0.01896042, -0.0476955324, 0.0045158924, -0.0041133719, 0.0032464296, 0.0023853339, 0.0236554891, 0.0014149356, -0.030405784, 0.0185019616, -0.0002176707, -0.0362925567, -0.0292565636, 0.0187522713, -0.0385189541, 0.064441964, 0.0554193296, 0.0402884781, 0.0007604881, -0.0554636344, 0.0362422727, 0.0038090535, 0.0077339942, -0.0277894121, 0.0790713802, -0.0383947119, 0.0102814492, -0.0463762805, 0.0517944098, -0.0074233483, -0.0239514988, -0.0058816946, 0.0712411925, -0.0011472998, -0.0092616836, 0.0075201732, -0.00638222, 0.0333627984, 0.1163936034, -0.006800876, -0.0543347374, -0.0245954171, -0.0327248871, 0.0122371018, 0.0068647717, -0.0215436313, 0.0121169006, 0.000977141, -0.0083266497, -0.0719552413, -0.056593705, 0.025122555, 0.0021603722, 0.0287022498, 0.0118594486, 0.0024019377, 0.0155659718, -0.0076924465, -0.0060013593, -0.0487489812, 0.0098095424, -0.0427387096, 0.0072756372, 0.0045468961, -0.001237764, -0.0011847123, 0.019171318, -0.0943188593, -0.0754605979, -0.0095892316, 0.0461694598, 0.0300482288, 0.0500291176, -0.030842036, -0.0418706946, 0.0432800502, 0.1031164303, -0.0448213331, 0.0019775811, 0.0532786734, 0.0083584813, 0.0011662483, 0.0671026632, -0.0271607917, 0.011969666, 0.0437154658, 0.0412951782, -0.0448814631, -0.0075323679, 0.0193046499, 0.0490195937, 0.0409856886, -0.0163501687, -0.030029688, -0.0217552036, -0.0026010452, -0.0358266011, -0.0186834633, -0.0150144706, -0.0137683153, 0.0457028523, -0.0051946351, -0.0283112172, -0.0099852728, -0.0304882843, 0.0526274741, -0.04070298, -0.0560252964, 0.0421449505, -0.0093738483, 0.0079922369, 0.017143935, -0.0184718054, 0.0439998992, 0.0281141084, 0.0196318179, -0.0289609935, 0.0639357641, 0.0058129751, -0.0139751863, -0.0348672979, 0.0040318496, -0.0229005311, 0.000325008, -0.0189014338, 0.0722280368, 0.0241738092, 0.0049917744, 0.0315797813, 0.0076566809, -0.0301999282, -0.0134738674, 0.0259379186, -0.0130722262, -0.0273375902, 0.0321010686, 0.0072413171, -0.0339790545, 0.0089800917, 0.0875127539, -0.0238769073, 0.0754977986, -0.0523365587, -0.013821681, -0.058887843, -0.038520053, 0.022538431, 0.0314614624, 0.0013957492, 0.0578920916, -0.0722932741, -0.0693024769, -0.0175714046, -0.0038717235, 0.0122939823, -0.0404130891, 0.0357613713, 0.0294141546, -0.0162805915, -0.0676422119, -0.0626043379, 0.0005822239, -0.0047884127, -0.0299363527, -0.027272189, -6.440009718e-33, -0.0091109863, 0.0010420246, 0.0069713295, 0.0206862781, -0.0149981827, -0.0097038494, 0.0170057919, -0.0147410175, -0.0104591958, 0.0074954918, -0.0310434699, 0.0022701463, -0.0068973, 0.009591761, -0.0367686078, -0.0218581334, 0.0777373239, -0.0089124106, -0.0087863551, 0.0427276641, 0.0466860831, 0.0595804714, 0.0584036112, -0.0534881875, 0.0300599281, -0.0314222164, -0.0467453226, 0.0327873304, 0.0244669374, 0.0181875117, -0.0538146682, 0.021512473, 0.0218804386, -0.0321556441, 0.014541747, 0.002217399, -0.0590240285, -0.0235726628, 0.0394626334, 0.0022892701, -0.0410384461, -0.0391821973, 0.0503213964, -0.0303721335, -0.021207476, 0.0018846714, 0.0146613512, 0.0154625028, -0.0290949941, -0.0034695389, -0.0498441011, 0.009682104, 0.0173155349, -0.0219925437, -0.0050366628, 0.0235576816, -0.0190536026, -0.006246211, -0.0546911173, -0.0100123249, 0.0197002869, 0.023274079, 0.0506008565, 0.0088346917, 0.0205670595, 0.0949905813, 0.0226944108, 0.0052687093, 0.001768481, -0.0206425264, 0.0435039327, 0.0232048631, 0.0151943797, 0.0421148054, 0.0278632063, -0.0523240194, -0.039356336, 0.0099023506, 0.0343954638, 0.047793258, 0.0004524761, 0.0508057587, -0.0435238853, -0.0137679502, -0.0267320853, -0.0049888552, -0.0244621076, -0.0314280204, 0.0316997096, 0.0102441581, -0.0646250397, 0.0180139765, -0.0040488923, -0.0518492796, -0.0329299383, 0.0374646224, -0.0039321119, -0.0142792417, 0.0212606397, 0.0061632041, -0.0752272084, 0.0129231848, 0.0192067511, -0.0219733883, 0.006374768, 0.0186027326, 0.085294798, 0.0206290446, -0.0690987185, -0.0052322107, -0.0445238948, 0.0542952381, 0.0345204622, -0.0104769142, 0.0212646648, 0.0374182388, -0.0225764792, 0.0418088995, 0.0402728803, 0.0275542308, -0.0578771308, -0.0028550369, 0.0381223001, -0.0078796046, -0.0250312705, -0.0084631238, 0.0195065774, -0.0050198166, 0.017982889, -0.0627087578, -0.0143767064, -0.0237069614, 2.682e-7, -0.0058027417, 0.0199789107, 0.0096403975, 0.0256818216, 0.0195757989, 0.0383992642, -0.0056223311, 0.0363320597, 0.0095771337, -0.0062748827, 0.0177261643, 0.0299896467, 0.0395607017, 0.0374432504, -0.0902059823, -0.0016498275, -0.019564515, -0.0383467376, -0.0460120253, 0.0087943375, 0.0422451757, 0.108719185, 0.0640313849, -0.0009757061, 0.0112609705, -0.0459949076, 0.0785369053, -0.021497624, -0.0416844375, -0.0050304946, 0.0498850457, 0.0066536209, 0.0184040256, 0.0014311871, -0.0300607141, -0.0329103321, 0.0043652635, 0.0982255712, -0.0133265648, -0.04759207, -0.0238104872, -0.0185442939, -0.0039858539, 0.0030681619, 0.0835022703, -0.0189468823, -0.0120559279, -0.0149587113, -0.03036022, -0.0366917998, 0.0224629808, -0.0159242079, -0.0248065796, 0.019535698, 0.0018349071, 0.0188951455, -0.0485436693, -0.0679776371, -0.0012568135, -0.0007113838, -0.0475126989, -0.0520658866, -0.0010443372, -0.0037790188, -0.0305739082, -0.0884569511, 0.0303233974, 2.472127068e-34, 0.0264794193, -0.0136597566, -0.0013671373, 0.0179170165, 0.0230394527, 0.0101240594, 0.0137894647, 0.0222448632, 0.0377189182, -0.0586264171, -0.0066318247 ]
http://arxiv.org/abs/2406.12321v1
http://arxiv.org/pdf/2406.12321v1
Automatic benchmarking of large multimodal models via iterative experiment programming
2024-06-18T06:43:46
2024-06-18T06:43:46
Alessandro Conti, Enrico Fini, Paolo Rota, Yiming Wang, Massimiliano Mancini, Elisa Ricci
cs.AI
cs.AI, cs.CL, cs.CV
Assessing the capabilities of large multimodal models (LMMs) often requires the creation of ad-hoc evaluations. Currently, building new benchmarks requires tremendous amounts of manual work for each specific analysis. This makes the evaluation process tedious and costly. In this paper, we present APEx, Automatic Programming of Experiments, the first framework for automatic benchmarking of LMMs. Given a research question expressed in natural language, APEx leverages a large language model (LLM) and a library of pre-specified tools to generate a set of experiments for the model at hand, and progressively compile a scientific report. The report drives the testing procedure: based on the current status of the investigation, APEx chooses which experiments to perform and whether the results are sufficient to draw conclusions. Finally, the LLM refines the report, presenting the results to the user in natural language. Thanks to its modularity, our framework is flexible and extensible as new tools become available. Empirically, APEx reproduces the findings of existing studies while allowing for arbitrary analyses and hypothesis testing.
[ 0.0060273539, 0.0675992742, -0.0343660526, 0.0734327957, -0.0666019544, -0.0046845195, 0.0180031583, 0.0096018743, -0.0051605981, -0.0976406783, -0.0487729385, -0.0304699074, 0.0145006701, 0.0602217354, 0.0611646585, -0.0700686276, 0.0435857289, -0.0222289097, -0.0351667367, 0.0312536769, 0.0142699433, -0.0041074553, -0.0401414372, 0.0525398701, -0.008622624, -0.0051667681, -0.0409344472, 0.0083779925, -0.0179759841, -0.0502915233, -0.0225963853, 0.0401899554, 0.0471152514, 0.0121417502, 0.0000023224, -0.0584002472, 0.0016537912, 0.0183523968, 0.0444134735, 0.0119502172, 0.1176332906, 0.0081675155, 0.0224875025, -0.0149637191, -0.0058857445, -0.0205115564, 0.0573678538, -0.0285742711, 0.0375376903, 0.0093814405, -0.007690792, -0.0010023213, -0.0108785694, 0.0287671871, 0.0026941041, -0.0046298518, -0.0021259165, 0.0358643048, 0.0655737594, -0.0088925548, -0.0282067154, 0.0236424562, 0.0151567338, 0.009942038, -0.0140937362, 0.0146090267, 0.0089551397, -0.0451865755, -0.0209244359, 0.0722700208, 0.0062924279, 0.004303331, 0.0051238816, 0.0009043296, -0.0230082776, 0.0448009446, -0.0644263998, 0.0383304432, 0.0116684278, -0.0351783931, -0.0376551412, 0.007513959, 0.0147576518, 0.00684446, 0.0042895456, 0.0421995297, 0.0422452092, -0.0031699797, -0.0007302957, -0.0192877427, 0.0101647256, -0.0659933388, -0.0141192405, 0.0165647529, -0.0266727749, 0.0069362572, -0.0111250533, -0.0418523066, 0.0498491563, -0.0447375961, 0.0947919115, 0.0366787165, -0.0109600695, 0.0309603531, 0.0040067956, 0.0393917821, -0.0293354727, 0.0163650308, -0.0192655213, 0.0369255506, -0.0768826455, -0.0195551384, 0.0123049254, -0.0128585799, -0.0339451879, -0.0545170084, -0.0099561075, 0.0207420122, 0.0117601268, 0.0005489586, -0.054819487, -0.0150621179, -0.034038648, 0.0241317675, -0.0295172743, 0.0493363924, -0.0413342677, 0.0154769691, 0.0096109062, -0.0577811152, 0.0468825623, 0.0423833691, -0.0174355358, -0.0235392656, -0.0075632124, 0.1116201878, -0.0070506469, -0.0156136602, -0.0178329051, -0.050379999, -0.0055132769, -0.0527754724, 0.0366558842, -0.0990461707, 0.0493512265, 0.0289611779, 0.0035842645, 0.0036169549, 0.0032225011, 0.0006169649, 0.019177964, 0.103503339, 0.0194033552, 0.0051146755, 0.0350207798, 0.0055058659, -0.0083517237, 0.0863946974, 0.0173392985, 0.014544202, 0.036148034, -0.0324475653, -0.0042594727, 0.0569011867, -0.0259168632, 0.006297023, -0.041978959, 0.0094579598, 0.0471652299, 0.0807399303, -0.0210294314, 0.0517273284, -0.0297115874, -0.0015293666, 0.0870151743, 0.0645863935, -0.0191835202, -0.0102221575, 0.0397183001, -0.0149553716, 0.0209299065, 0.0133496383, -0.0290801506, 0.053197138, -0.0150463395, -0.0008851326, 0.022508882, 0.0270034671, -0.00741885, -0.0278206263, -0.0435058326, 0.0058927475, 0.0360440314, -0.0269483756, 0.0492903031, 0.0011289456, -0.0390169173, -0.0186668672, 0.0076763635, -0.0648957565, -0.0102675231, -0.0443341322, 0.0136782965, 0.0432798155, 0.0606621467, -0.0267118849, -0.0034621896, 0.0115679819, 0.0245659593, 0.0506353267, 0.0526428558, -0.0038091952, 0.0174546149, -0.0239010658, -0.0293178763, -0.0596565418, 0.0026037325, 0.0350728408, -0.0011415938, -0.0203018729, -0.0118764136, -0.0597475469, 0.0059135389, 0.0337382294, -0.0346264206, -0.0026175701, -0.039110817, -0.0191196837, 0.0234108008, -0.0260839388, -0.0301877111, 0.0264721494, 0.0203372706, -0.02332462, -0.0093867434, 0.0412754901, 0.0298388191, 0.0103542646, 0.0287661925, -0.0810049921, -0.0191532169, 0.0492705144, -0.0111315455, -0.0064654462, 0.0392649025, -0.0390163586, 0.0291215125, -0.0189051051, 0.0049778931, -0.0257982109, -0.0190291926, -0.0254818369, 0.0334698334, -0.0016502206, 0.034335684, -0.0058913548, -0.0084914258, 0.0133418804, -0.0108606452, -0.0305302553, 0.0316727236, -0.0082544181, 0.0141777322, 0.0161392987, -0.0275229998, -0.0462737456, -0.0227380916, -0.1198442951, 0.0038266561, 0.0082495445, 0.0092832725, 0.0270522535, -0.0090653617, -0.0020361778, 0.0212740656, 0.0114599792, 0.002368489, 0.0126793562, 0.0606609136, 0.0299988575, -0.0042767702, -0.0131977769, -0.0652885959, -0.0210740529, -0.0516476892, 0.0773369297, 0.0177421924, 0.0212378539, -0.0086001344, -0.0182367973, -0.0384308472, -0.0002118016, -0.0088315317, -0.0423668697, 0.083711803, -0.0288858935, 0.0621767677, 0.0574763454, 0.010260527, 0.0221558847, 0.0762278736, -0.0461302511, -0.0503799133, -0.017530648, 0.0035340542, 0.0010700513, -0.0003352874, -0.0854903534, 0.0098555302, 0.0473168083, 0.0187995899, 0.0435663015, -0.0201680548, 0.040409483, -0.0355213806, -0.0551435985, -0.0649825558, 0.0043454128, -0.0240505859, 0.0217766706, -0.0142086595, -0.0444521718, 0.0500885583, -0.0378276631, -0.0046469532, -0.0084924707, 0.0469122529, -0.0372952744, 0.1082127839, 0.0321414694, 0.0227311105, -0.0106154587, 0.0150107658, -0.0146590685, 0.0024022711, 0.0330254249, -0.0283847805, 0.0130842803, -0.0803612471, 0.0021561952, -0.0023764654, -0.0185955688, -0.0135363108, -0.0223669019, -0.0322484486, -0.0205370206, 0.0108062699, -0.0081686424, -0.0172602367, 0.0293299668, 0.0521611832, 0.0008387193, -0.0095294369, -0.0239168294, -0.0388856009, -0.0019217827, 0.0105692614, 0.0153568611, -0.0362544432, -0.0436731651, -0.0056289835, 0.0464268215, 0.000758889, 0.015033477, -0.1022769734, 0.0216697138, -0.0080633853, 0.0056726271, 0.0084867245, 0.0389163569, 0.0458074622, -0.0463838466, 0.0398767591, 0.0628536046, 0.0304242745, -0.0363901444, 0.0070372852, -0.0228778254, 0.0268769227, 0.0390495323, 0.0153483041, -0.0873712823, -0.0346802585, 0.0089510307, -0.0069107749, 0.0161142237, -0.0080150627, 0.016030455, -0.1233534515, 0.0168639775, -0.007727907, -0.037997324, 0.0021908111, -0.0606062263, 0.0208562277, -0.0151734417, -0.0233034585, 0.0431145392, -0.0200703032, 0.0115505271, -0.0036756126, -0.0121784797, -0.0770606101, 0.0062190429, -0.0499446876, 0.0240931045, 0.0573149957, 0.0326802582, -0.0209527463, -0.0274989344, 0.0294215251, 0.0241429657, 0.0290899947, -0.0190847479, 0.0209297743, 0.0279828366, -0.012350182, -0.0417608023, 0.0074739107, 0.0014022577, -0.0245586056, 0.0018082602, 0.03064676, -0.0145221381, -0.004679752, -0.0661570579, 0.0084374072, 0.0104735559, 0.0495023541, 0.0381551683, -0.0404384285, -0.0290008131, -0.0349498019, -0.0093138376, -0.0277570933, -0.0614865646, -0.0115229553, 0.0065206736, 0.0587902777, -0.0660707727, -0.0142570436, 0.0217643753, 0.0176495314, 0.0098222233, -0.0289526172, -0.0117299836, 0.0021557442, -0.0459116325, 0.0436042212, 0.013293488, 0.0562228709, -0.0352561213, 0.0058653448, 0.0132495603, -0.0076194387, 0.0039573708, 0.0512424372, -0.0677111596, -0.068525508, -0.0171357002, 0.0812718719, 0.0138234356, -0.0187326856, 0.0203683414, -0.0785275698, -0.0504363552, 0.0196327697, -0.0158247948, 0.0195663814, -0.0169900097, -0.0013567333, 0.0028583149, -0.023966454, -0.0117701078, 0.0012875125, -0.027286455, 0.0438283607, 0.0099969413, -0.0316539109, 0.0284631699, 0.0204852764, 0.0240307841, -0.035275016, -0.0279368777, -0.0022351574, -0.044817932, -0.0521457531, -0.0315068811, -0.0344299115, 0.0204556696, -0.0161314011, 0.0158097558, 0.0232781637, 0.0190568417, -0.025379559, 0.0366834961, -0.0258961227, 0.0633235797, 0.0355327688, -0.0135962097, -0.0068581505, 0.0358767025, -0.0251763649, 0.0146709187, -0.0580003969, 0.0476646833, -0.0270838812, 0.0593375079, 0.0118928989, -0.0184650533, -0.0284171849, 0.039995458, 0.0077054207, -0.0199380722, -0.0166077204, 0.0237447545, 0.0456958041, 0.0137933493, 0.0280142985, -0.0620982572, -0.0064311968, -0.0446603894, 0.0308671817, -0.0169067644, 0.0044425693, 0.0434942171, 0.027721066, 0.0076613147, -0.0349972211, 0.049262248, 0.0093127452, 0.0044648563, 0.018073028, 0.0027767729, -0.0482982434, -0.0071840412, 0.0588770807, 0.0192167927, -0.0228183996, -0.0400797576, -0.0305599701, -0.0653233975, -0.0065645673, 0.0592548586, 0.0109996237, 0.0066385604, 0.0521073155, 0.0626556277, 0.0150363101, -0.0176377911, -0.0114901476, 0.0349426307, -0.032144513, -0.0219040103, -0.0016966761, -6.708270019e-33, 0.0052528926, -0.0313471518, 0.0407881886, -0.0475115776, 0.011969734, 0.005343101, -0.048849456, 0.0393603779, 0.0242705382, -0.0044658757, 0.038408339, -0.0451894067, 0.0003457012, -0.0211093761, 0.0146404831, 0.0154248457, 0.0205936618, -0.0032577217, -0.0563824996, -0.039273873, 0.0155765824, -0.0084165083, 0.032720048, -0.0574534908, 0.0084958449, 0.0108110029, -0.0371021107, -0.0036707891, -0.0254478734, 0.0631884634, -0.0474449173, 0.0358680114, 0.0239047371, -0.0115556531, -0.0265876818, 0.0498968661, -0.0222408008, -0.0063400958, 0.0295762755, 0.0188175682, -0.0865071565, 0.0142498827, 0.0416994728, -0.0267074686, -0.0352857262, 0.012795127, 0.0339103974, -0.0063055335, 0.0119950688, 0.0238202643, -0.0880640075, 0.0362809226, -0.0107806725, -0.0289300587, 0.0104801971, 0.0624083467, -0.0102609722, -0.0024860261, -0.0147671374, 0.0460976735, -0.0128471842, 0.0099870246, 0.096658662, 0.0350407623, 0.025664445, 0.0558245331, 0.0043991362, 0.0017753736, -0.0060821953, 0.0268780719, 0.0656249002, 0.0461585857, 0.0505672507, 0.098184593, 0.0096386652, 0.0339875631, -0.0052015376, 0.0362626277, 0.0163456462, 0.0189518556, 0.0217372328, 0.0517278947, -0.0088991858, 0.0048633493, -0.0715562552, 0.0180206262, -0.0616676584, -0.0406432562, 0.0598752834, -0.0184821356, -0.0192294512, 0.0014810046, 0.0680684522, -0.0261966456, -0.0456775799, -0.0232702438, -0.0257527549, 0.0749922767, 0.0104204519, 0.018464148, -0.0143027734, -0.0108802123, 0.018774854, 0.0107978955, 0.0647039711, -0.0074198749, -0.039334245, 0.0368423089, -0.0296367984, 0.0057692574, -0.0201436263, -0.0451330766, 0.0147879301, -0.0150041496, 0.0406663492, -0.0160872545, -0.0447341017, 0.0249172337, 0.0035884071, -0.0111109577, -0.0889136717, -0.055505801, -0.0288308132, 0.0171903148, -0.0178733878, 0.0077793445, -0.081334196, -0.0362156853, 0.0202482902, -0.032996349, -0.028647691, 0.0259619877, 2.91e-7, 0.0586376004, 0.0672449321, -0.0132290255, 0.010796763, 0.0296864863, 0.0262408592, -0.0452151373, 0.0325938128, 0.0162627399, -0.0512572415, -0.0326976664, 0.0278077777, 0.0500160158, 0.0575430021, -0.01362749, -0.0257775746, -0.0241101962, -0.0010184264, -0.0693911165, 0.0147653474, 0.0297431722, 0.0290879589, -0.0064459774, 0.0075088008, -0.0090760477, -0.0469004624, 0.0612897575, -0.0332356617, -0.0390664004, 0.0170688052, -0.0218590088, 0.0026907574, 0.0181548223, 0.0044350675, -0.0005848424, -0.0591272265, 0.015439136, 0.0238389987, -0.0073020738, -0.0080160815, 0.022031866, -0.0020029831, -0.0218864214, -0.0573599264, 0.0588260107, -0.0508964211, -0.0161861759, -0.0422811247, -0.0137751773, -0.0095005063, 0.0433214866, -0.0448351279, -0.0331020206, 0.0304004177, 0.0057236864, -0.00008352, -0.0498000458, -0.0240184162, -0.0447564274, 0.0192013308, -0.0792636052, -0.0328836739, -0.049785845, -0.0266719069, -0.0037711982, -0.0901413634, -0.0331629962, 2.635892257e-34, 0.0353640765, 0.0086379461, 0.0446799435, -0.0147460978, 0.0556619875, 0.0010125479, -0.052821897, 0.0176025964, 0.0082985079, -0.0716506243, -0.0118009439 ]
http://arxiv.org/abs/2406.12319v1
http://arxiv.org/pdf/2406.12319v1
PRePair: Pointwise Reasoning Enhance Pairwise Evaluating for Robust Instruction-Following Assessments
2024-06-18T06:43:04
2024-06-18T06:43:04
Hawon Jeong, ChaeHun Park, Jimin Hong, Jaegul Choo
cs.CL
cs.CL
Pairwise evaluation using large language models (LLMs) is widely used for evaluating natural language generation (NLG) tasks. However, the reliability of LLMs is often compromised by biases, such as favoring verbosity and authoritative tone. In the study, we focus on the comparison of two LLM-based evaluation approaches, pointwise and pairwise. Our findings demonstrate that pointwise evaluators exhibit more robustness against undesirable preferences. Further analysis reveals that pairwise evaluators can accurately identify the shortcomings of low-quality outputs even when their judgment is incorrect. These results indicate that LLMs are more severely influenced by their bias in a pairwise evaluation setup. To mitigate this, we propose a hybrid method that integrates pointwise reasoning into pairwise evaluation. Experimental results show that our method enhances the robustness of pairwise evaluators against adversarial samples while preserving accuracy on normal samples.
[ 0.0022768232, 0.0463206023, 0.0007530524, 0.0248616897, -0.0443999693, 0.0201393943, 0.0630684197, -0.0463004559, -0.0084161907, -0.0823259205, -0.0143090477, -0.0372029319, 0.0052746399, -0.0029753831, 0.054793898, -0.0529421233, 0.0244433191, -0.034566991, 0.0091467071, -0.0112755243, 0.0179638732, 0.020572843, -0.0250915885, 0.0397141166, 0.0542764738, -0.0472717434, 0.0180593338, -0.0033972296, 0.0251299329, -0.0363986753, 0.0054457542, 0.0579094738, -0.0133507084, -0.0007534871, 0.0000021065, -0.0459048115, -0.0188063569, 0.0067571164, 0.0160811469, 0.066353552, 0.0133643756, 0.0411726199, -0.0038082255, 0.0075750519, -0.0345089398, -0.0098963082, -0.0028455055, 0.0283033643, 0.0780769885, 0.0465066805, 0.0175751112, -0.0191170741, 0.012412007, -0.0077514942, -0.011825352, -0.0373582765, -0.0044256691, -0.0093283961, 0.0260211267, 0.0312169287, 0.0076658158, 0.0230707061, 0.0189513527, -0.0219938252, -0.0069844644, 0.0267167464, -0.0105587598, -0.0212829541, 0.0012058016, 0.0732675865, -0.0050064642, 0.0260382537, -0.0018054415, -0.0279992856, 0.0060305498, 0.0065091532, -0.0335220285, 0.0352650806, -0.0354823172, 0.0034623381, 0.0239334609, -0.0140972594, -0.0062435782, 0.0247166809, -0.0128646912, 0.0486519523, 0.006760973, -0.0285427868, 0.0037762625, 0.0335686244, -0.1004896685, -0.0500499308, 0.0133760078, 0.0330118239, -0.0564353876, 0.0271774027, -0.0503226034, -0.0078193294, 0.027383266, -0.0480150543, 0.0614519753, 0.0246951263, -0.0287146606, -0.0096071195, -0.04191643, 0.0635056347, 0.0315460414, 0.034586329, -0.0306583811, 0.0611970685, -0.0293342825, 0.0003876018, -0.0193031728, 0.0667504519, -0.0144176111, 0.0083866352, -0.0589176528, -0.0132188471, -0.0480381772, 0.0179225188, 0.0090635922, 0.0216319282, -0.0132982656, 0.0190237574, -0.0160193108, 0.0349371135, -0.0394280963, 0.0330286734, 0.0170096532, -0.0390370712, 0.0171944555, 0.0543323606, -0.0041091801, -0.0172037128, 0.0128010008, 0.0566943027, -0.0171783175, -0.02519821, -0.0365462638, -0.0601157695, -0.0407178849, -0.0543485172, -0.0177162979, -0.075925909, -0.0003019335, -0.0005164812, -0.023240231, -0.0250977222, 0.0141248275, 0.0439045541, -0.0165121593, 0.0237268228, 0.0614074096, 0.0052858619, -0.0019114523, 0.0285014641, -0.0082237339, 0.0280115288, 0.0475067608, 0.0079571353, 0.0029115409, -0.0260119736, -0.0078872247, 0.0163542721, 0.0182829369, 0.0063478537, -0.0249132086, -0.0223478507, -0.0078402199, 0.024063386, 0.0281705335, 0.0812341273, -0.0216338001, 0.0273175035, 0.0634001866, -0.0295674019, 0.0297116432, -0.0184758678, 0.1171875075, -0.0028439243, -0.0189722851, 0.0801656768, -0.0368943512, 0.0274882447, -0.0548229553, 0.0094520207, 0.0476863012, 0.0428392217, -0.0077864067, -0.0698308423, 0.0161213242, 0.0288089979, 0.0000870048, -0.0072934348, 0.0316412747, 0.0289249606, -0.0789678022, -0.0427717641, 0.0025089653, -0.0526523814, 0.0430394709, -0.0541064814, 0.0411308482, 0.0655974746, 0.0544674769, 0.0350841843, -0.0183692668, -0.0085574677, -0.0014450864, 0.0284998659, 0.0321606621, -0.0187295154, 0.0065691103, -0.0547140278, -0.029271163, -0.0225273389, 0.0074279034, 0.0315058604, -0.0129018314, 0.0143775707, 0.0185214803, 0.0031466077, -0.0812241361, 0.0354968049, -0.0018093756, -0.057226155, 0.0020327468, 0.0115521848, 0.0276675317, 0.0147684757, -0.0161570013, 0.0402758941, 0.0019210352, -0.0158681031, 0.0057907989, 0.0022149938, -0.0632656664, -0.0659859553, -0.006460763, -0.0366944559, -0.0216349103, 0.0007833518, -0.0271807499, -0.0083795488, -0.0048414059, -0.0205251072, -0.0473793596, -0.005546099, 0.0366861038, 0.0077414187, -0.0054512182, -0.0625683963, 0.0509459972, 0.008468369, 0.019516496, 0.0184999947, 0.0297382046, -0.0102807246, -0.0358882546, -0.0503475778, 0.0237625297, -0.011990319, 0.0077299662, 0.0371928141, 0.0457805917, -0.0565489866, -0.0472650789, -0.062192671, 0.0172535013, -0.0194988046, 0.0438670106, 0.0473906696, -0.0540917665, 0.0089404676, 0.0425695553, -0.0419087, -0.0250321478, 0.0186689533, 0.0311077144, 0.0212329142, 0.0264679361, -0.013765729, -0.0276929662, -0.0046033487, -0.0371356197, 0.0261095073, 0.0479116067, 0.0243513584, -0.0602073669, 0.102597326, -0.0354073197, -0.0265191793, 0.0355576612, -0.0463034138, 0.0512619875, 0.0248020664, 0.0340952799, 0.0834829435, 0.0114890058, 0.0177837908, 0.0651725084, -0.0193864387, -0.0592182949, -0.0072379075, -0.0137776481, -0.018892495, -0.0111323316, -0.0466650762, -0.002131938, 0.0466576368, 0.0590663292, -0.0043858471, -0.03320482, 0.0606800355, -0.07017041, -0.0255965367, -0.0178413782, -0.0453464948, 0.0008556704, -0.0102754729, -0.0289062653, -0.0503379852, 0.1039972231, -0.0452350378, -0.0021838096, -0.0372088514, 0.0214894097, -0.0199835673, 0.0236257743, -0.0021767255, 0.0258010998, -0.0224071126, -0.0250417981, -0.0762068629, -0.0016039755, 0.0355352052, -0.0307124183, 0.0265412088, -0.0870062485, -0.0397638381, 0.0076595168, -0.0078337034, -0.0411690772, -0.0117825996, 0.0349019654, 0.0003171467, 0.0157480333, 0.0036885762, 0.0015525919, -0.0044626612, 0.0333723724, -0.0120571032, -0.0604282953, -0.0102582835, -0.0095891971, 0.032450404, 0.0294451937, -0.0210125204, 0.0145357382, -0.0403432474, 0.0472968221, 0.0483598709, 0.0021988635, 0.0543134585, -0.0168773923, 0.0154242767, 0.0212380942, -0.0164037757, -0.0481220745, 0.0514896475, 0.0778254867, -0.0669820905, -0.0207743049, 0.0936657414, 0.0174674708, 0.0082947109, 0.0014912796, 0.01125261, 0.0255588889, -0.0077159833, 0.0147455633, -0.0322551765, -0.0108736595, -0.0218266696, 0.0545975156, -0.0594279543, -0.0283609983, -0.0057397499, -0.1410894841, 0.0442433022, 0.0283612218, -0.0437967516, -0.0193592794, -0.0187577959, -0.0184292421, 0.0040994575, 0.0487309843, 0.0390129872, -0.0081904745, 0.0299487226, 0.0713873506, -0.0217036288, -0.047451891, 0.0350995176, -0.0430268496, 0.0496739894, 0.0775934532, 0.0415516421, 0.0060581667, -0.041812595, 0.0117531652, -0.0668916702, 0.0134131545, -0.0182380714, 0.0071923807, -0.0028624376, -0.0003363799, -0.0164830461, 0.0512296967, 0.0070973095, 0.0208655819, 0.0048568891, 0.0485323556, -0.015229811, -0.025250813, -0.0235504881, 0.0692311376, 0.0117788687, 0.0714011043, 0.0457708538, -0.0560831167, -0.036573384, -0.0242734384, -0.055053968, -0.0907548666, -0.052779559, 0.0668689907, -0.0026303113, 0.021233473, -0.0961644053, -0.0524533503, 0.0297192894, 0.0301555693, -0.0182217099, 0.0142670255, -0.0471652597, 0.0071446719, 0.0235426426, 0.0085334964, 0.0264391825, 0.0242734104, -0.057461191, -0.0259904806, 0.0130663682, 0.0048419894, -0.0225969329, 0.0537908375, -0.041457653, -0.0766196921, -0.0144353323, 0.0677271038, 0.0164185334, 0.0178332031, 0.0151190963, -0.0355349667, 0.0220765956, 0.0373332277, -0.0117083145, 0.0345793925, 0.0403017625, 0.0265706051, 0.0025277955, -0.0023719273, -0.0000450613, 0.026460547, 0.0255223177, 0.0444587134, 0.0083097573, -0.0218231212, 0.021573374, 0.0701243132, 0.0435791314, -0.0534478314, -0.0036049599, -0.0379135236, -0.0121319573, -0.042468112, -0.0253969934, -0.0407025926, 0.0103613436, 0.0054884693, -0.0178204887, -0.0126727438, -0.0088385111, -0.0048243315, 0.0234381706, -0.0073770131, 0.0646619424, -0.0118338307, -0.006927493, 0.0240089502, 0.009007684, -0.0404297896, -0.0037188393, -0.0095559247, 0.0498592742, 0.0003582762, 0.0789036378, -0.0022795706, 0.0192217529, 0.0223168656, 0.0225209519, -0.0096175922, -0.0234687813, -0.04217574, -0.006543221, 0.0045428914, 0.0110575594, 0.0693383962, -0.0251094159, 0.0391501188, -0.0364899486, 0.0531206578, 0.0078437692, -0.0428913943, 0.0504313074, 0.0050534867, 0.0169628821, -0.036525216, 0.0518541299, -0.0261080749, 0.0225153062, -0.0195010304, 0.0130740125, -0.0375123136, -0.0665093139, 0.0140177812, -0.0327170007, -0.0113076149, -0.0032005997, -0.0504585207, -0.0357844234, -0.0330596045, 0.0633201897, 0.057084579, -0.0365796201, 0.0203936491, 0.0660538822, -0.0585194454, 0.0143861528, -0.0554229431, -0.0070971041, 0.0016355503, -0.0147800623, -0.0327980854, -6.406531639e-33, -0.059034247, -0.0696440041, 0.0470117144, -0.0463426076, -0.0092890179, -0.0115726599, -0.0453116484, 0.019858636, 0.0066373111, -0.0016648949, 0.0385386199, -0.0225926302, -0.0073337844, 0.0023554428, 0.0186764468, -0.0204330832, 0.0476096794, 0.0098374914, -0.0364428647, 0.0341975875, 0.0334802419, -0.0323163792, 0.0338560641, -0.0474635102, 0.056391336, 0.0084191551, -0.043430984, -0.0093814954, -0.069644168, 0.0755494162, 0.015812872, 0.0133834928, 0.0227269176, -0.0384049304, -0.0136379125, 0.0028286013, -0.0150898648, -0.0214082114, 0.0283327922, -0.0096315844, -0.0553755239, -0.0503934212, 0.0441665649, 0.0035333377, -0.04302416, -0.0164303705, 0.0304313097, -0.0066213585, 0.0021065737, -0.0120512722, -0.0540049411, 0.0245978273, -0.0282757524, -0.0318317972, -0.0214323718, 0.0758651718, -0.0318634361, -0.0104791233, -0.0223873463, 0.0341968387, 0.030753959, 0.0293378253, 0.0756026432, -0.0190753881, -0.0224960744, 0.0591093786, 0.0142433504, 0.0023020729, 0.0133621795, 0.0069257473, 0.0309359822, 0.0258615296, 0.0766665414, 0.0519084223, 0.0214450024, 0.0039456147, -0.0804540589, 0.0521866046, 0.0020344341, 0.0097684255, 0.0193431862, -0.0317365229, -0.0448347107, -0.0348786414, -0.0578611046, -0.0533878468, -0.0338086262, -0.0413138047, 0.0405613221, -0.0129506597, -0.0616305694, -0.019021159, 0.0429376476, 0.0099234618, -0.0198615268, 0.0073915669, -0.0797769651, 0.041009631, -0.0294058379, 0.0052014082, -0.04176227, -0.0116420444, 0.0069493568, -0.0084553864, 0.0397796296, 0.0135475919, 0.049207218, 0.0041919807, -0.0560264885, 0.0098308986, -0.045878645, 0.0339476019, 0.0196695402, -0.0103743272, 0.0354580134, -0.0181347933, -0.0266085826, 0.0594116487, -0.0281843469, -0.0228224546, -0.0461883508, -0.0106840534, -0.0146941105, 0.0215585902, -0.0365098566, -0.0075589316, 0.012250552, -0.0070812479, 0.018452242, -0.0449607074, -0.0194561481, -0.0079361582, 2.794e-7, 0.0146195767, 0.0468480997, -0.0014070682, 0.0121503687, 0.0071975319, 0.0308386609, -0.0020372844, 0.0032936151, 0.0223603956, -0.0242917221, 0.0007907698, 0.0165692121, 0.0349407382, 0.046363987, -0.0231094677, 0.015497935, -0.0647613555, 0.0214467458, -0.0443744734, -0.0093864715, 0.0990555659, 0.0025978424, -0.0214383453, 0.0205322355, 0.0141592417, -0.0236975513, 0.0533997938, 0.0103873154, -0.0095235407, 0.0189646427, 0.0546716154, -0.0445328392, 0.02449934, 0.0341861099, -0.0024088935, -0.0404772535, 0.0078682052, 0.0740550458, 0.0499740466, -0.0067420928, 0.005627302, -0.0104094939, 0.000950033, -0.0457728095, 0.0599337667, -0.0739020631, -0.0463332087, 0.0028388891, -0.016802635, -0.0256286021, 0.0102766817, -0.0216020364, 0.0031539244, 0.0252330229, -0.0105109848, -0.0284982882, 0.0023799893, -0.0237687286, -0.019325275, 0.0187306907, 0.0019870051, -0.0669189468, -0.0276240837, 0.0173882153, -0.0319639817, -0.0560006574, -0.0318272747, 2.502725048e-34, 0.0229343753, -0.0244758856, 0.0527117886, -0.0466540791, 0.0366227962, 0.0183552634, -0.0264111944, 0.00388058, 0.0195403248, -0.0528806262, -0.0361091234 ]
http://arxiv.org/abs/2406.12317v1
http://arxiv.org/pdf/2406.12317v1
Finding Task-specific Subnetworks in Multi-task Spoken Language Understanding Model
2024-06-18T06:39:41
2024-06-18T06:39:41
Hayato Futami, Siddhant Arora, Yosuke Kashiwagi, Emiru Tsunoo, Shinji Watanabe
cs.CL
cs.CL, eess.AS
Recently, multi-task spoken language understanding (SLU) models have emerged, designed to address various speech processing tasks. However, these models often rely on a large number of parameters. Also, they often encounter difficulties in adapting to new data for a specific task without experiencing catastrophic forgetting of previously trained tasks. In this study, we propose finding task-specific subnetworks within a multi-task SLU model via neural network pruning. In addition to model compression, we expect that the forgetting of previously trained tasks can be mitigated by updating only a task-specific subnetwork. We conduct experiments on top of the state-of-the-art multi-task SLU model ``UniverSLU'', trained for several tasks such as emotion recognition (ER), intent classification (IC), and automatic speech recognition (ASR). We show that pruned models were successful in adapting to additional ASR or IC data with minimal performance degradation on previously trained tasks.
[ -0.010324656, 0.0303465109, -0.0022730643, 0.06128392, -0.0074918037, 0.0165726412, 0.0584505349, -0.0449184068, -0.0050325682, -0.000053911, -0.0805690661, -0.0831015408, -0.0004524341, -0.0095283221, 0.0069752163, -0.0025155842, 0.0673727542, -0.0475145504, 0.0286997911, 0.0086004231, -0.0020464084, 0.0247036982, -0.0142129911, 0.0376563482, 0.0342308693, -0.018250905, -0.0361438915, 0.0367300883, 0.0059769163, 0.0195568241, 0.0138575509, 0.0364369787, 0.0555416942, 0.0003857859, 0.0000020439, -0.0158870425, -0.036711283, -0.0320466831, -0.1131176278, -0.0105023151, 0.0453838296, 0.035977006, -0.0016743422, 0.0141216274, -0.0009119837, -0.0205279402, 0.0200020466, 0.0623900853, 0.0430494212, 0.0761620924, 0.0133145899, -0.0093819983, -0.0321488008, -0.0416212082, -0.0242242757, -0.0759288222, 0.0110196164, 0.0111539308, -0.0287579019, -0.0411419645, -0.0068302737, 0.0102238879, 0.001577319, 0.0238775574, -0.0275377855, -0.0094804307, -0.0022413847, -0.059150096, -0.0119879479, 0.0593631044, -0.057064604, -0.0092213387, -0.0008811931, -0.0037526297, -0.0126247825, -0.0431829132, -0.042206116, -0.0427785292, -0.0116805984, -0.0034695838, -0.0192837156, -0.0018244241, 0.0370443277, 0.0097489115, -0.0235240199, 0.0611547343, -0.0349439606, 0.0060633942, 0.0052970406, -0.0554845445, -0.0341226272, -0.032896731, 0.0370198265, 0.0173385218, -0.0326508656, 0.0326024257, -0.0201208442, -0.0627866909, -0.0494870692, -0.0288100652, 0.0003138788, 0.0678643882, -0.0167831536, 0.0318790413, 0.0051123179, 0.0558558926, 0.0111557059, -0.0287374891, -0.065847978, -0.0102465888, -0.0607599579, -0.0058007441, -0.0639005303, 0.0303942263, -0.0365140587, -0.0041523632, -0.0201890953, 0.0096289851, -0.0377800725, -0.004822406, 0.0468797497, 0.0039706742, -0.0473434143, 0.0102905678, 0.0254595298, 0.0489488542, 0.0049326038, 0.0539298095, -0.0176273081, -0.0493656844, -0.0482840315, 0.0159296766, 0.0306608249, -0.023069242, -0.000944675, 0.0290252771, 0.00095149, -0.0447002836, -0.0833010674, -0.022822883, -0.0184719414, -0.0589840412, 0.0261472948, -0.0231852233, 0.0384004004, -0.0499737598, 0.0143786846, -0.0543313287, -0.0089447368, -0.0289361011, -0.0422632657, 0.0777752995, 0.0243193246, -0.0007743498, 0.0075336802, -0.0028962672, 0.0004611335, 0.0636286661, 0.0049141184, 0.0139042512, 0.0182403792, -0.026891008, -0.0437303148, 0.0164244045, 0.025255654, -0.0422341861, 0.0108442344, -0.0024796743, -0.0097539891, 0.0084648039, 0.0359896198, 0.0092119323, -0.0555373393, -0.017198123, 0.0352362506, 0.038878426, 0.009432856, 0.0457569472, 0.0057797981, 0.0426390544, -0.0060427836, 0.0263427272, -0.0391659923, 0.0149342455, -0.012595281, -0.0115636177, -0.0257118866, 0.0041726176, -0.0596925281, -0.0550773665, -0.0233278144, -0.0194216929, 0.0085514216, 0.0427087545, 0.0512982756, -0.0046200096, -0.0480877571, 0.0575833619, -0.0064129713, -0.0658684969, 0.047000505, -0.05096009, 0.0243662093, 0.0652326792, -0.0010382419, -0.0430075154, -0.0419599637, -0.0176299904, 0.0246619303, -0.0274005048, 0.0161125939, -0.0276269838, 0.0700113922, -0.078740254, 0.0100645637, -0.0127820615, 0.0099271638, 0.0218394566, -0.0652017295, -0.0498206988, 0.0125087453, -0.053943146, -0.0150673324, -0.003620201, -0.0367503911, 0.0186735522, 0.0137949428, 0.0076360726, 0.0418564305, 0.0349900089, -0.0242798124, -0.0184503067, 0.0340202451, -0.0112782456, 0.0367330313, 0.0194447841, -0.0227721017, -0.0516465679, 0.017100567, 0.0177960452, 0.0187841207, 0.0811379403, -0.0366101749, -0.080789201, 0.0225294549, -0.0029352827, 0.0369386971, -0.0455453508, 0.0183932353, -0.0016735642, 0.0259492565, -0.006062401, 0.0076832292, 0.0090193935, -0.0300253313, 0.0463219769, -0.0473251007, 0.0229088832, -0.0752593279, -0.0504301265, 0.0249789692, -0.0390651226, -0.0217782781, -0.0409681424, -0.0089283576, -0.023129018, -0.0107939159, -0.0674537644, -0.0141051067, -0.0445262715, 0.020645408, 0.0066107842, 0.0224025454, 0.0056526284, -0.0400866345, 0.0269716214, 0.0169333275, -0.0145247588, -0.02359147, -0.0322537534, -0.005192983, -0.0288610067, -0.054047782, -0.0157202873, 0.0185886342, 0.046230942, -0.0209527668, -0.0531500578, -0.0489198864, 0.0619830377, -0.0113522988, 0.0408059061, -0.0219459925, -0.0182640571, -0.05183715, 0.017686937, -0.0217743684, 0.0652553812, -0.028300127, 0.0521596484, 0.0418500826, -0.0297158938, -0.0246988107, 0.059790466, -0.0145746311, 0.0101586403, -0.0139114708, 0.0141752698, -0.0140939653, 0.0796982795, 0.0315425023, -0.0112261316, -0.0366567746, -0.0521514267, -0.0111140413, -0.0344768316, -0.0422950499, -0.0388186052, -0.0193517786, 0.0144084785, -0.0043543745, -0.0103689795, 0.0143678505, -0.0461131185, -0.0149620855, -0.089557305, -0.0308446251, 0.0007351479, 0.0525185093, -0.0111249704, 0.0277301893, 0.0389811248, -0.0290272962, -0.0414424948, 0.0016579472, -0.0337584764, -0.0256454963, 0.0654579177, -0.0495646149, 0.0094802184, -0.0130830724, -0.0154994577, -0.0449538976, -0.0081967674, -0.0362040177, 0.038127739, 0.034104649, 0.0004739111, -0.0056758104, 0.035433773, 0.0146190235, 0.0303716715, 0.0146849472, 0.0216679126, -0.0100990888, 0.0391138382, 0.0170321278, 0.0491937324, 0.003959443, -0.0069177798, 0.0393333472, -0.0055399379, 0.0938518345, 0.00501417, -0.0455010049, 0.0183419827, 0.0268769991, -0.0007610414, -0.0241966043, 0.0055591776, 0.0620073527, -0.044686228, 0.0141724283, 0.1167492419, 0.0182548035, -0.0465891585, -0.0013128314, -0.0287257843, -0.0106164776, 0.0230861101, 0.026938865, -0.0224818457, -0.0488154292, 0.0346152075, -0.0025565783, 0.0422095954, -0.0036213868, -0.0274909828, -0.0478985198, 0.0367817581, 0.0159949046, -0.0232805368, 0.0202916842, -0.0175919328, 0.0269448534, -0.0326146036, 0.0520273782, -0.0098920092, 0.0233841036, -0.039092131, 0.0595777668, -0.0292507578, -0.068991214, 0.0355140306, 0.0300236549, 0.0774448514, -0.014528757, 0.050181672, -0.010820698, -0.0021365304, 0.0564221814, 0.0020716346, 0.0278736316, -0.0283679739, 0.0446090959, 0.0186732672, -0.0161736645, 0.0432458669, 0.0127520198, -0.0409847498, -0.0205805171, -0.0153394351, 0.0406247377, -0.0469262712, 0.007090332, 0.0217722356, -0.016973801, 0.0133223552, 0.0780654326, 0.0406515747, -0.0139911463, -0.0022424161, 0.0165265296, 0.0123918131, -0.0490893312, 0.0102624334, 0.0280240159, 0.0028107483, -0.0277192723, 0.024901215, -0.0051458706, 0.0323142372, 0.019459838, 0.0164523609, 0.0033781952, 0.0642617643, 0.0344808586, -0.0534305274, 0.0374337099, 0.0118333921, 0.0340968072, -0.0319422372, -0.012814722, 0.0328246728, -0.0693793073, -0.0377363451, 0.0282772258, -0.1222688258, -0.0354012884, 0.0062455619, -0.0077092489, 0.0300991088, 0.0695980936, -0.0225259475, -0.0243614111, -0.0303607676, -0.0611233376, -0.0251368713, 0.0293946769, 0.0490168445, -0.0052105915, -0.0351400524, 0.0506548509, -0.0250008814, 0.0442718267, 0.013630393, 0.0031357966, -0.017178081, -0.0327545218, -0.0146477465, 0.0259026345, 0.0668505728, 0.026276337, -0.0182400271, -0.0746320635, 0.0483184978, 0.059649013, 0.0353028513, -0.0439278893, -0.0127121666, 0.0116900206, -0.0146539751, -0.0105860494, 0.0062676244, 0.0160664227, -0.0056246407, 0.003232721, 0.0100407377, 0.0236740131, -0.0102536511, 0.0095154587, 0.0019857029, -0.0337797254, 0.0162835047, 0.0264560375, 0.0086212968, 0.0143247135, 0.0483563878, -0.0215514712, -0.0064173853, -0.0456513613, 0.0533893295, -0.0395071693, -0.0746684298, -0.0211498048, 0.0207453333, 0.0091750054, -0.0429103076, 0.014098851, 0.0230940916, 0.0476152375, -0.0538241602, 0.0403635353, 0.0038810179, 0.0029119267, 0.0610275418, -0.0053113839, -0.0207141936, 0.008058778, 0.0678528026, -0.0026123773, 0.0667429566, -0.0324535295, 0.0216261838, -0.0619891472, -0.0548013113, 0.0030259085, 0.0166970473, -0.0466633327, 0.0026026883, -0.0198313035, -0.050319884, 0.0103262933, -0.0277271252, 0.0334517919, -0.0206293575, 0.0415272638, 0.0535613187, -0.0342562199, 0.0252833571, 0.0153900273, -0.0716286674, -0.013157405, 0.0079544326, 0.0139275892, -6.279707554e-33, -0.0359576643, 0.0272855647, 0.0073882458, 0.0099232849, -0.0037414921, 0.0383152626, -0.0403247625, -0.0134553257, -0.0368581973, -0.0563705452, -0.0029661171, 0.0285560042, 0.0365249068, 0.0034747012, -0.0339745544, -0.0398848616, 0.1096040606, -0.0254220031, 0.0133489938, 0.0138722081, 0.0564731546, 0.0460945368, 0.0776123703, -0.0311058573, 0.0054354682, 0.0239903778, -0.0031940208, 0.042020984, 0.0025729276, 0.0461398587, -0.0088288886, 0.0549786277, 0.0236558635, -0.0532801785, -0.0245945342, 0.0471490733, -0.0763884261, -0.0190260503, 0.0403222442, 0.0341322422, -0.0493534692, -0.0067797336, 0.0275233258, 0.048209507, 0.0229399838, -0.0238082092, 0.0272199661, -0.0024773558, -0.016332332, 0.002601061, -0.0000368155, 0.0091648391, -0.0313598849, -0.0554276071, 0.0716947094, 0.0839081407, -0.0312500298, -0.0259571746, -0.0804987848, -0.0101784216, -0.040824376, 0.0260503776, 0.0781622827, 0.0320835486, -0.0314548872, 0.0510401726, 0.032119628, 0.0172174163, 0.0063431929, -0.0250340011, 0.018915724, 0.0572618358, -0.0142783057, -0.0085480269, -0.0072817332, -0.0365198739, -0.0589187294, -0.0185064524, 0.0690037385, 0.0519001894, 0.0385973379, 0.0363349132, 0.0027859099, -0.0062653157, -0.0424699001, -0.0173133314, -0.0323217027, 0.0020210459, 0.043591179, 0.0048500104, -0.0062900856, 0.0065706866, 0.0581960864, -0.0398115106, 0.0516801067, 0.0475245118, 0.0087982621, -0.0081153875, 0.0212548822, 0.0500491746, -0.0421038605, -0.0315277427, -0.0018867593, 0.0295424033, 0.0188909695, -0.017594697, 0.0249663237, 0.061862994, 0.0117915152, -0.0327378251, -0.045793131, 0.0100569641, -0.0178789794, 0.0971373245, 0.0552272312, 0.0358932614, -0.018074207, 0.0291176587, -0.0045763715, -0.0162893739, -0.0058339592, 0.0113608222, 0.0102876639, 0.0381568708, -0.0376815163, -0.0365735628, 0.0125718331, -0.0164389927, 0.0066055828, -0.0366529003, -0.0108486349, 0.0510681793, 2.914e-7, -0.0210449062, -0.0065795095, 0.0000869548, -0.0212757513, 0.0347061455, 0.0312924087, -0.0465543121, -0.0116835395, -0.0114689423, -0.0213662442, 0.0221932717, 0.027188234, 0.0616529062, -0.0021042195, -0.0938332528, -0.0222370028, 0.0050517623, 0.0270900019, -0.008700598, 0.0108408947, 0.0412319712, 0.0876059607, 0.0027741205, -0.0089174882, 0.0123072946, -0.0041673877, 0.004336664, -0.0422258116, 0.0086033, 0.0033457505, 0.0049988898, 0.0112278573, -0.0191405155, 0.0529415645, 0.0063707992, 0.0253682286, 0.0276509877, 0.0679120719, -0.0137503594, -0.0108004091, -0.0018265267, 0.0413195938, -0.01847977, -0.0030064664, 0.0663277656, -0.0118672308, -0.023729967, -0.0036395492, 0.0121575519, 0.0140877739, -0.0226760022, 0.0408333167, 0.0466514416, 0.0164571386, -0.0218881667, -0.0513791442, -0.0268849619, -0.072913222, 0.0244028419, 0.0107173864, -0.1026081592, -0.0171144754, -0.0292706024, -0.0343585536, 0.0717844814, -0.0682875589, -0.0023830882, 1.895448366e-34, 0.0204857998, -0.0134390416, -0.0148734925, 0.0459585376, 0.004715147, -0.0460295491, -0.0866720229, -0.0063087097, -0.0015737575, -0.0634236932, -0.0286353137 ]
http://arxiv.org/abs/2406.12307v1
http://arxiv.org/pdf/2406.12307v1
Can Tool-augmented Large Language Models be Aware of Incomplete Conditions?
2024-06-18T06:28:06
2024-06-18T06:28:06
Seungbin Yang, ChaeHun Park, Taehee Kim, Jaegul Choo
cs.CL
cs.CL
Recent advancements in integrating large language models (LLMs) with tools have allowed the models to interact with real-world environments. However, these tool-augmented LLMs often encounter incomplete scenarios when users provide partial information or the necessary tools are unavailable. Recognizing and managing such scenarios is crucial for LLMs to ensure their reliability, but this exploration remains understudied. This study examines whether LLMs can identify incomplete conditions and appropriately determine when to refrain from using tools. To this end, we address a dataset by manipulating instances from two datasets by removing necessary tools or essential information for tool invocation. We confirm that most LLMs are challenged to identify the additional information required to utilize specific tools and the absence of appropriate tools. Our research can contribute to advancing reliable LLMs by addressing scenarios that commonly arise during interactions between humans and LLMs.
[ 0.0475783236, 0.0276782345, -0.0362125374, 0.0373126082, -0.0280276518, 0.0166499559, -0.0093565816, 0.0150259398, 0.0057259924, -0.0324932374, 0.008027073, -0.0200363025, 0.0090295067, -0.0291575622, 0.0173028838, -0.0568849035, 0.0400999263, -0.0391919054, -0.063514784, 0.0081350226, -0.0041287923, 0.0177227929, -0.0021831214, 0.0453619137, -0.0191891976, 0.0035146626, -0.0144864842, 0.0076823696, 0.0062428447, 0.0253080297, -0.0179595761, 0.0646641627, 0.0201957673, 0.0245425496, 0.0000018992, -0.0526183136, 0.0298577007, -0.0218456089, -0.0474564619, -0.0264956001, 0.0476654395, -0.030573627, 0.0060862764, 0.0302602723, -0.0492481999, -0.0317018069, 0.0432718061, 0.0125249121, 0.0387859233, 0.0298998263, -0.0056018247, 0.0555478297, -0.0130475722, 0.010836524, 0.0115161361, -0.0154783502, 0.0420424752, 0.001245208, 0.0708166808, -0.0274092089, 0.0293330643, 0.0475971363, 0.0334473737, -0.0197965987, -0.0288455021, 0.0285473447, -0.027649736, -0.0478924736, 0.0142428894, 0.0546835028, 0.0205997527, -0.0254455656, 0.0081737479, -0.019148143, 0.0220792256, 0.08226832, -0.0534685776, -0.0181803778, -0.0131261339, 0.0071031232, -0.0124028744, -0.0201747976, 0.0370627828, 0.0193988495, -0.0216267221, 0.0846574903, -0.0073096603, -0.0166434534, -0.0639172792, -0.0123347845, -0.0272152573, -0.0840931758, 0.0062627755, 0.0518400818, -0.0641126931, 0.0353802554, -0.0834146738, 0.0166762006, 0.0235152412, -0.0607588887, 0.0285705123, 0.0174840111, -0.0288536269, 0.0511019342, 0.0140820658, -0.0116783967, 0.0046482123, -0.0081226574, -0.0326218829, 0.002270112, -0.0119328629, -0.0085310852, -0.0154817114, -0.0220151134, -0.0384154543, -0.0153348614, 0.0155727193, 0.0519545935, 0.0102513768, 0.044011727, -0.029296238, -0.0188526977, -0.012361588, -0.0353162624, -0.0252171829, -0.0221271981, -0.0066028014, 0.0449079163, -0.0143060535, -0.0572562777, 0.0007554694, 0.0236891638, 0.0108000077, -0.0336534008, -0.0259369425, 0.0908570215, 0.027547108, 0.0161928311, -0.0794892684, -0.0583317801, 0.0102605149, -0.067790471, -0.0255826358, -0.0706372932, 0.0383673385, 0.0461398885, -0.033572007, -0.0495867096, 0.0000152017, 0.0056271595, -0.0413841344, 0.0708481818, -0.0235489942, 0.0418639295, 0.017801661, 0.0239019264, 0.0052662105, 0.0690256134, -0.0040719095, -0.0013226004, 0.0179488026, -0.0166630726, 0.0340560712, 0.0826194808, -0.0223508701, 0.0463392958, -0.0527711362, -0.0012922899, 0.0064924206, 0.0167554691, -0.0034586727, 0.0374964364, -0.0350930877, -0.0002137469, 0.0751291215, 0.0385476239, 0.0157530103, 0.018832488, 0.0587728322, 0.0195884947, -0.0061361277, 0.0712405145, -0.067397587, -0.0252203196, -0.0663899034, -0.0010952558, -0.0110682454, 0.026828289, -0.006206098, -0.0404732637, -0.0464634113, -0.0262616668, 0.0000019345, 0.0166943073, 0.0553475693, -0.010738397, -0.0000414796, 0.0191966873, 0.0086108129, -0.0379046351, 0.0055652373, -0.0327748731, -0.0042780666, 0.0967236757, 0.0584960468, -0.0253472254, -0.0344306938, 0.0209322721, 0.0109157721, 0.004044069, 0.0529448986, -0.0122106476, 0.0127132069, -0.0445051976, -0.0276211202, 0.0562152416, 0.01097426, -0.0281318221, 0.0373283401, -0.0220822394, 0.0156962108, -0.0408640467, -0.0140937474, 0.0274099391, -0.0232320074, -0.0038518892, -0.0413779877, 0.001090929, -0.0011766874, -0.0029586127, 0.0015847308, -0.0009475427, 0.0306739602, 0.003980597, -0.0434975736, 0.0447021648, -0.0461760275, -0.0083269756, 0.0393786244, 0.0513679795, -0.0346823148, -0.0030156167, 0.0106502464, -0.0449499935, -0.0068135089, -0.0084226467, 0.0823989287, -0.0184437837, 0.0453045331, -0.010220754, 0.0148109887, -0.0381587148, 0.0434507653, -0.0130193001, 0.0258919727, 0.0281144753, -0.0249679834, -0.0317237973, -0.0367546901, -0.0308023114, 0.0162197798, 0.0228961483, 0.0276839156, -0.0001756563, 0.0032393329, -0.0247519426, -0.0155319776, -0.0921199322, -0.0144241014, 0.0005442173, 0.0153891239, 0.0249163993, 0.0158196706, -0.0445985757, 0.0021561664, 0.0175355878, 0.0018466173, 0.0132175004, 0.0267034937, 0.0122494791, 0.0092586046, -0.0424774177, -0.0197640397, -0.014595815, -0.0199511405, 0.048290953, 0.0111415386, -0.0713219419, -0.0573834702, 0.0868823677, -0.0263067484, 0.041097194, 0.0023088194, 0.0139082782, 0.0006312808, -0.0159784183, 0.0283767451, 0.0251624342, -0.0691492185, 0.0454958826, 0.0825794265, -0.0343731157, -0.0850014463, -0.0288642291, 0.0177222826, -0.0226242132, -0.0465611741, -0.0329033546, -0.0073444233, 0.0307378471, 0.0254786331, 0.0118478611, 0.0087625962, 0.0213646516, -0.0292260945, -0.055617407, 0.0078511294, -0.0478742495, -0.0462872833, 0.0890862346, -0.0001811087, -0.0611856133, 0.0800075158, -0.0436031744, -0.0078024981, 0.0169514101, -0.0333252512, -0.0003395473, 0.0307932831, 0.0070325756, -0.005995193, 0.0048658135, -0.0356469154, -0.0275414828, -0.0200582761, 0.0146660963, -0.0227326378, 0.0448470674, -0.0782765299, 0.029400697, -0.0192350913, -0.0135021713, -0.0335868038, -0.0411027856, -0.0080952691, -0.0049284925, 0.0120040076, -0.0464885011, -0.0142213665, 0.0139648868, 0.0300980527, 0.0508477949, 0.0082696499, -0.0089548938, -0.0268281195, 0.0191422496, 0.0348586403, 0.02420206, -0.0020078945, -0.0321738459, 0.0203932524, 0.0342683643, 0.0549277291, -0.0331386104, -0.0253852904, -0.0066503575, 0.0574661791, 0.0061903805, -0.0322802961, 0.0594299696, 0.0120709799, -0.0709738582, 0.0176926572, 0.1089873761, 0.045338802, -0.0451524258, -0.0083913291, -0.0510228723, -0.0041362229, 0.0115450351, 0.0255699847, -0.1059634089, -0.0058568432, 0.040392071, 0.0077040629, -0.0087517845, -0.0395220071, -0.0067155804, -0.0927421972, 0.0610950403, 0.0201911367, -0.0185620449, 0.0202204548, -0.0154741285, 0.0446118861, 0.0006552092, 0.0465800725, -0.0057597142, -0.0200935602, -0.0294282623, 0.0078509767, -0.0358727016, -0.0906108916, -0.0119879637, -0.0235538222, 0.0575420856, 0.0474352576, -0.0138248345, -0.0008042136, 0.0144766085, 0.0880791247, 0.0530016981, 0.0224373601, -0.0384483896, 0.0047422769, 0.0207078047, 0.0018086691, -0.0168562084, 0.0234028995, -0.0254305992, -0.0204700269, 0.0263754632, 0.1064628363, -0.0578237697, -0.002732201, -0.0003885535, -0.0339863412, 0.0130308112, 0.0677318797, 0.0611268654, -0.0353604257, -0.0087504238, -0.0081213359, -0.0605526716, 0.0076134023, -0.016146414, -0.0100095151, 0.0022046198, 0.0012289282, -0.0454798043, -0.0785341263, 0.0892256498, 0.0229157284, 0.0194383021, 0.0265991334, 0.0015008834, -0.0118492115, -0.0099864686, 0.0189768579, -0.0413991287, 0.0254963059, -0.0088218367, 0.0337624103, 0.0005744159, -0.0266522821, 0.0207183063, 0.0173377953, -0.0281467475, -0.1019607857, 0.0131715108, -0.0008383035, 0.0434396751, 0.0443704501, -0.0213553458, -0.0902937576, -0.023244435, 0.0479942523, -0.0265346169, 0.0213230383, 0.008305259, -0.0096810339, 0.0083848154, 0.0414263867, 0.0003675268, -0.0139850574, -0.012371337, 0.030466862, -0.0735585019, -0.054182101, 0.0307807568, 0.0162331816, 0.002625915, -0.0004160695, -0.0150181325, -0.0394562446, 0.0126886489, 0.0079631498, -0.029658379, -0.0475026444, 0.0056616599, -0.0175987594, 0.023670854, 0.01920381, -0.0047016023, -0.0392765701, 0.0464113876, -0.0470516458, 0.022117801, 0.0101060085, -0.0245122276, 0.0650590584, 0.0132145165, -0.0040666764, 0.0380003117, 0.0017070719, 0.0206093658, 0.0056259236, 0.0599358268, -0.0008469276, 0.0026004829, -0.0231497381, -0.0081119863, -0.0155164152, -0.0770380124, -0.0032917445, 0.0522410758, 0.0400187857, -0.0311704203, 0.0762579665, -0.028792141, -0.0048522134, -0.0334543847, 0.0230435114, 0.01012858, -0.0233817566, 0.0250937287, 0.0436628796, -0.0494251922, 0.0270562991, 0.0576972216, -0.0117414501, 0.048141934, -0.033054661, -0.0347331427, -0.0109252306, -0.0498766974, 0.0390647613, -0.0159827918, -0.0523263142, -0.0134416642, -0.0698756352, -0.086910069, -0.0459316075, 0.021791216, -0.0304703191, -0.0422619618, -0.0187118407, 0.0616430454, 0.0137383919, 0.0216627792, -0.0231425222, -0.0013823721, -0.0012913137, -0.0098894369, -0.0371756814, -6.100943516e-33, -0.0583066866, -0.0802733451, 0.0460266024, -0.0279413871, 0.0176997483, -0.0088709434, -0.0330558345, 0.0304497145, -0.0070850113, -0.011360663, -0.0138121825, 0.0007695255, 0.0249189287, -0.0323305354, 0.0272130296, 0.0013666038, 0.0254656374, 0.0364958271, -0.0233999994, -0.0094269421, 0.055243168, -0.0062387618, 0.0459695719, -0.0744809434, 0.060134083, -0.0307696294, -0.003492794, 0.0263459459, -0.0515163429, 0.0610127412, -0.0177029166, 0.0562428311, 0.0268991534, -0.0065307496, -0.053289149, 0.0319054127, -0.043285232, -0.0128466459, 0.0687233806, 0.0280750897, 0.0013543251, -0.0097671207, 0.0454411395, -0.002182038, -0.0107246526, 0.0358312801, 0.0240996238, -0.0250867419, -0.0122599769, 0.0066687958, -0.0449830592, 0.0344647318, 0.0207679942, -0.0405793376, 0.0115103303, 0.025989756, 0.0044536069, -0.0451838933, -0.0327028669, 0.0236796904, 0.0455922112, 0.0248018689, 0.0977007076, 0.0057086479, -0.0135731697, 0.0440352857, 0.0076192487, -0.021123752, 0.0063423845, -0.0363914445, 0.0434701182, 0.0400087163, -0.0075375941, 0.0356868692, -0.0419077799, 0.007272535, 0.0060410756, 0.0184893347, -0.0098586613, 0.0621125847, 0.0379554592, 0.0283446051, -0.0429578274, -0.0503897704, -0.0322405659, 0.0063548619, -0.042808339, -0.0200646315, 0.0337949656, -0.0012661691, 0.00420711, 0.0133114839, 0.0317503102, -0.0210229494, -0.0344752781, -0.0020412898, 0.0094154282, 0.0241480563, -0.0057919598, 0.01192501, -0.0166977439, -0.0123603456, -0.0090169478, -0.0165212099, 0.0222256053, 0.0004613143, -0.0002879769, 0.0458233096, -0.0511856228, -0.0026459387, -0.0546242334, 0.0250688586, 0.0008893682, -0.0217316784, 0.0829717368, -0.0238038599, -0.0180196315, 0.0224501118, 0.0075721671, -0.0525768958, -0.0558879152, 0.0087255966, -0.0292428974, -0.0153278215, -0.0300027486, -0.0019992825, -0.0120111611, -0.002701608, 0.0788236782, 0.0115933912, -0.0001030123, -0.0069688177, 2.647e-7, 0.0372303203, 0.0222574212, 0.0160944294, 0.017271081, -0.009053125, 0.0331422761, -0.0449507684, -0.0090762489, 0.0231003407, 0.0023226219, 0.0432947204, 0.0134664858, 0.0465766415, 0.0416281074, -0.0470161475, 0.0005622535, -0.024266813, -0.024265239, -0.062404491, -0.0170545038, 0.0379976481, 0.0290205572, 0.0242240336, -0.0057047042, -0.0260889828, -0.1010705829, 0.0193244945, -0.0772601515, -0.0327707566, 0.0008299174, 0.0280302316, 0.0180176087, 0.032375399, 0.0428933613, 0.01465471, 0.0218929425, -0.0072706267, 0.0951135084, 0.0024808208, 0.0197066851, 0.0012752321, -0.0404628888, -0.0194316376, -0.0385959595, 0.067273967, -0.0643053427, -0.0121818054, -0.0047281571, 0.0232103374, -0.0497060642, -0.0186478607, -0.0007628341, 0.0031433818, 0.0220876262, 0.0167231876, -0.0010649284, -0.0291898288, -0.0369353779, -0.0502002947, 0.0732769445, -0.0502259955, -0.0875281468, -0.0076264292, -0.0041501084, -0.0263450481, -0.0544484071, -0.0147588374, 2.552330221e-34, 0.0239983462, 0.0386331044, 0.0253914893, 0.0632991418, 0.0283407178, 0.0088354601, 0.0060326005, 0.0540916771, 0.0162709821, -0.0675951913, -0.0209993888 ]
http://arxiv.org/abs/2406.12304v1
http://arxiv.org/pdf/2406.12304v1
COT: A Generative Approach for Hate Speech Counter-Narratives via Contrastive Optimal Transport
2024-06-18T06:24:26
2024-06-18T06:24:26
Linhao Zhang, Li Jin, Guangluan Xu, Xiaoyu Li, Xian Sun
cs.CL
cs.CL, 68U15, I.2.7
Counter-narratives, which are direct responses consisting of non-aggressive fact-based arguments, have emerged as a highly effective approach to combat the proliferation of hate speech. Previous methodologies have primarily focused on fine-tuning and post-editing techniques to ensure the fluency of generated contents, while overlooking the critical aspects of individualization and relevance concerning the specific hatred targets, such as LGBT groups, immigrants, etc. This research paper introduces a novel framework based on contrastive optimal transport, which effectively addresses the challenges of maintaining target interaction and promoting diversification in generating counter-narratives. Firstly, an Optimal Transport Kernel (OTK) module is leveraged to incorporate hatred target information in the token representations, in which the comparison pairs are extracted between original and transported features. Secondly, a self-contrastive learning module is employed to address the issue of model degeneration. This module achieves this by generating an anisotropic distribution of token representations. Finally, a target-oriented search method is integrated as an improved decoding strategy to explicitly promote domain relevance and diversification in the inference process. This strategy modifies the model's confidence score by considering both token similarity and target relevance. Quantitative and qualitative experiments have been evaluated on two benchmark datasets, which demonstrate that our proposed model significantly outperforms current methods evaluated by metrics from multiple aspects.
[ 0.0389925092, 0.0572188236, -0.0291470289, 0.0460634008, -0.0544700399, -0.000670979, 0.0222389903, -0.0115760602, -0.0369495898, -0.0369180925, 0.0289718676, -0.0324081555, -0.0345011726, 0.0454886965, -0.0010167558, -0.0697364211, 0.0225053895, 0.0546756126, 0.030920038, -0.0370819531, 0.0003087477, 0.0120970672, -0.026303092, 0.0361369886, -0.0714285299, 0.0047101523, 0.0409015939, 0.0143716047, 0.076834172, -0.0105936946, 0.0422695242, 0.0275224727, 0.0285718124, 0.0372017734, 0.0000020556, -0.0458164103, -0.038831763, 0.0018397027, -0.0014269334, -0.0792795792, 0.0913363993, -0.0204980783, -0.0082337093, 0.0148805156, -0.0052174092, 0.0165342521, 0.0636050627, 0.0941587463, 0.0792810246, 0.0744045824, -0.0099244798, -0.065892823, -0.0023279518, 0.0108140642, -0.0172719955, 0.026019251, 0.01521366, -0.0236163903, -0.0731269866, -0.0014028528, -0.043571502, 0.0289276689, 0.0215330347, 0.0429611169, 0.0592946671, -0.0087918509, -0.0258719251, -0.005309199, 0.0002927609, 0.0576772913, -0.014917965, 0.0114413602, 0.0177846178, -0.0084763961, -0.0120210927, -0.027490681, -0.017780263, -0.0144094024, -0.0220188648, 0.0372062922, 0.0089558521, 0.023856163, 0.0272461493, 0.0247830413, 0.0001573688, -0.0195799209, -0.0078091808, -0.0135495272, -0.0124667324, -0.0188915748, -0.0131606786, -0.0021938782, 0.0302695334, -0.0000738232, 0.0017950649, 0.004135279, -0.0288297404, -0.0636888146, -0.0207008738, -0.0709075928, 0.0323538817, 0.0577287823, -0.0378001779, -0.02214236, 0.0031719841, 0.0258929841, -0.0140000368, 0.0014222079, -0.0072048171, -0.0155923916, -0.0486013554, -0.0001636856, -0.0167642292, 0.0212989468, -0.0287985224, 0.0423495658, -0.0267484337, -0.0121760126, -0.0496712103, -0.0372955985, -0.0372440331, 0.0388973653, -0.0011973436, 0.0010391237, -0.0203009602, 0.0361783504, -0.0552860163, -0.0059597972, -0.0413994379, -0.0331914015, 0.0032915566, 0.0379702486, -0.0011157626, -0.0493606776, 0.000358064, 0.0904603451, -0.0028340698, -0.0074816849, -0.0250596907, -0.0235445686, -0.0372888446, -0.0632613823, 0.026186578, -0.0688244849, 0.0148746623, -0.0073842169, -0.0340316482, -0.0860742554, -0.0153956618, -0.0060838363, -0.0527593531, 0.0560224503, 0.0706696883, -0.0149101987, 0.0654726028, 0.0325632542, 0.015651226, 0.0415405519, 0.006872009, 0.0500667393, 0.0234301798, -0.0064694062, -0.0128236292, -0.0057673198, 0.067473121, 0.019596111, -0.0608662851, 0.0254623871, -0.0378427841, 0.0097618019, 0.0624467321, 0.0564295016, -0.0441396646, -0.090267919, 0.0219176412, 0.0762844607, -0.0206318107, 0.0132260406, 0.0585211739, 0.0399022996, -0.0542332567, 0.0198236909, -0.0244533494, 0.0022497734, 0.0006718164, -0.0521474145, 0.0495359935, 0.0666501969, -0.0209941417, -0.0247207843, -0.0059931991, 0.0026740467, 0.032248266, -0.0439686663, 0.026752172, 0.0316469707, -0.0211127754, 0.015151144, 0.0446160622, -0.0165536013, 0.001714728, -0.0602575131, -0.0061678453, 0.0333180949, 0.0179113969, 0.0236764587, -0.0106787635, -0.0552567393, -0.0321514942, 0.0524048693, 0.0149585567, -0.0093501164, 0.0037126788, -0.0294721499, -0.0189467203, 0.0131093105, 0.0245168768, 0.0341547579, 0.0134163294, 0.018064836, 0.0218275841, 0.0024106214, -0.0148743903, 0.029426109, 0.0501422174, -0.0326939449, 0.018068064, 0.0318687707, 0.0606660433, 0.0343802534, -0.0148394005, -0.0487275347, 0.0005698948, -0.0102470033, -0.0355715416, 0.0282068346, -0.0488087758, -0.0274881776, -0.0021861678, -0.0936386138, -0.0225325357, 0.0581126474, -0.0058186003, 0.0256383121, 0.0986424088, -0.0032520669, 0.0146350674, -0.0271978863, -0.0341029055, -0.021001054, 0.024458956, -0.020386057, 0.0866492018, 0.0064033363, -0.0110374866, 0.0096432064, -0.0357482359, 0.0424258523, 0.0220827255, 0.0004714821, -0.0169944819, -0.0229722634, 0.0228693169, -0.012205827, -0.0285803266, -0.0064978972, 0.0072118035, -0.0509366505, -0.0011874881, -0.0189971905, -0.026237011, 0.0056680548, -0.0295359865, -0.0035440247, 0.0250283889, -0.0005679719, -0.0588114075, 0.0373774245, 0.0000850693, 0.0014950273, -0.0302715134, -0.0037311818, -0.0298825409, -0.0138700539, -0.0271951649, 0.0458783843, -0.025035765, -0.012871136, 0.0333108082, -0.038196981, -0.0411276296, 0.0058054137, -0.0079412507, -0.0436926298, 0.0140246954, 0.0448456518, 0.0408697985, -0.0075611826, 0.0722540542, 0.0663119406, 0.0228465889, -0.0232014284, -0.0412263051, 0.0073735383, -0.0487530194, 0.0424643122, -0.0332037061, -0.072229512, -0.0109611712, 0.0737782493, 0.0796943903, -0.0155621096, -0.104222618, 0.0253501553, -0.0608308762, -0.034072157, -0.0193092395, -0.0467759967, -0.0069637457, -0.0235928167, -0.0393504649, -0.025056472, 0.0978969783, 0.0128505286, 0.0435604528, -0.0216314867, -0.0142597146, 0.009072436, 0.0622814745, 0.0006047901, 0.0545290783, 0.0144651132, 0.0042227288, 0.006408928, -0.0375078842, 0.0090747504, -0.0123380544, -0.0092054484, -0.0181899387, 0.0042777928, 0.0228347462, -0.0392978638, -0.0628446266, -0.0802942216, -0.0113360407, -0.0418524817, 0.0070953043, -0.0147820897, -0.055766739, 0.0224197228, 0.0279635582, 0.0073916996, 0.0012787273, -0.0095609846, 0.0340507403, -0.0069988398, -0.0050451495, -0.0111217061, 0.0464490429, 0.0105569009, -0.0159242824, 0.0556141548, -0.01354683, -0.0087800212, 0.0022328608, 0.0144559909, -0.0069636013, 0.0233570989, 0.0103827808, -0.0402490012, 0.0438418277, -0.0099402228, -0.0138378339, 0.0712544024, 0.0035097746, 0.0281769466, 0.0121273771, -0.0073508793, 0.01439262, -0.0086544855, 0.0093975505, -0.0753166825, 0.0061522224, -0.0286951568, 0.0416226946, -0.0891730115, -0.0463130027, -0.0079135979, -0.0549353436, 0.0550650582, 0.0074768215, -0.0227412023, -0.0479219705, -0.0301135741, 0.0169480201, -0.0036738308, -0.0000958282, -0.0255161021, 0.0338208377, 0.000899077, 0.0210868288, -0.0390518196, -0.0103500597, 0.0054424903, -0.0125119807, 0.028710572, 0.0357702523, 0.0634242222, 0.0026930608, 0.003959585, -0.0202364866, -0.0319171809, -0.0160295554, -0.0549785681, 0.0593978241, -0.0176385697, -0.0345815495, -0.0252574608, 0.0589030609, 0.0137732979, -0.0418894961, 0.0002655324, 0.0650315881, -0.0009139507, -0.0158648677, -0.0754538253, 0.0222818777, 0.0108899977, 0.1086982265, 0.0231668595, -0.0200626627, 0.0386786126, -0.0840403065, 0.0167101528, -0.0625262186, -0.0939917266, -0.0254816748, -0.0160924867, -0.0196082816, -0.0434572697, -0.047576718, -0.0144489277, 0.0527645759, -0.0171131995, -0.0206920058, -0.0566606224, -0.0454710312, -0.0792820528, 0.0032453407, -0.0037467433, 0.0284656826, 0.0296029374, 0.014134597, -0.0113742603, -0.0438660719, -0.0557546988, 0.0321049616, -0.0300671849, -0.0667432472, 0.0500217453, 0.0391851515, 0.0207749214, 0.0277817938, 0.0001870495, -0.0421094894, 0.076263018, 0.0527803116, -0.0070147808, 0.0131208496, 0.0351356342, -0.0333912037, 0.0054343133, 0.0080336463, 0.0137789799, 0.0687952563, 0.0449178703, 0.0085386066, -0.0384946056, 0.0150628565, -0.0030458267, -0.0558497235, 0.0536148958, 0.0040817722, -0.0472639315, -0.0440432802, -0.0044734455, -0.0219969172, -0.0400731079, -0.0151926875, 0.0018546055, 0.0138772558, 0.0231934618, -0.0431634076, -0.04890953, -0.0390827395, 0.0356083624, -0.0340212546, 0.0322295316, 0.0317266881, 0.0268354956, 0.0043746005, 0.0137745542, -0.0226096697, -0.0075027938, 0.0006223449, 0.0036736333, -0.0130415102, -0.0021357369, 0.0480065532, 0.0123726651, 0.0435410216, -0.0458579212, -0.0253936797, 0.004303013, -0.0513315797, -0.0412782617, -0.0155602451, -0.0129948119, 0.0160633251, 0.0061601251, -0.018346075, 0.0011956887, 0.004886372, -0.012847784, -0.0167056695, 0.0168133583, 0.0353317373, -0.0097014895, -0.0019712469, 0.0135981115, -0.0426279269, 0.0747864917, 0.0120626334, -0.0402783379, -0.0412544422, -0.0189218838, 0.0139856078, 0.0294744223, 0.0388788134, 0.000711175, -0.0712529048, -0.045684807, 0.0441266075, -0.0253190715, 0.0174903814, -0.0097451797, 0.0235056486, 0.065313004, 0.0032496615, -0.0141540579, -0.0064615849, 0.0142117143, 0.010572914, -0.0249242391, 0.0299339108, -6.524790779e-33, -0.0115246512, -0.035730999, -0.0073147067, -0.032568641, -0.0230940245, -0.0053005787, 0.0115806591, -0.0105077857, -0.0157587808, 0.0302212127, 0.0300514642, 0.022375932, 0.0170293916, 0.0234260429, -0.0490872078, 0.0286753681, 0.0588047355, 0.0114500048, -0.0149506172, 0.0113460124, 0.0524020232, 0.0198058337, 0.0310760122, -0.0675930977, 0.0322653204, -0.0207337514, -0.0021283652, 0.0023478828, 0.0443943962, 0.0535082743, -0.0245797429, 0.0642689839, 0.0338921957, -0.0202155672, 0.0109235626, 0.0129244942, -0.0456454679, -0.030485943, 0.0369952433, -0.0360173285, 0.0052179275, -0.035408657, 0.0248444416, 0.0024417366, -0.0428655334, -0.0152324131, 0.0383802876, -0.0212327819, 0.0238334015, 0.0085529787, -0.0889638737, 0.0436405018, -0.0493381172, 0.0208713785, -0.0011796096, 0.0628597587, 0.0478057191, -0.0076574818, -0.0692682341, 0.0281573515, -0.035545554, -0.0276878588, 0.016537359, 0.000124977, 0.0127064278, 0.0695290565, 0.0243690703, 0.0021023795, -0.027215831, 0.0142062465, 0.0303225853, 0.0274465606, 0.0306904763, 0.0937507749, 0.0187657438, -0.0772367641, -0.0528426543, -0.0028154019, -0.0048864963, -0.0152634671, 0.0381302498, 0.0086726267, -0.0467479192, -0.024600653, -0.0497139618, -0.0732918531, -0.007682696, -0.052745536, 0.0191884413, 0.0083357608, -0.0493667908, 0.0108083216, 0.0442896225, 0.0261452217, 0.0235778932, 0.0285604764, -0.0269677863, 0.0056773676, 0.0255637001, 0.0486734584, -0.0456488132, 0.0132592563, 0.0214197692, -0.0125757745, 0.0395439081, -0.003711615, 0.059684068, 0.0136586223, -0.0644410253, 0.0205288585, -0.0120552396, 0.0190322939, -0.0536605567, -0.0060435184, 0.0121067828, 0.0770648867, -0.006498225, -0.0173766837, 0.053671971, -0.0400224663, -0.029534122, 0.0190219097, -0.0214780997, 0.0286085978, -0.0162758417, -0.0088903029, 0.0185260382, 0.0358426496, 0.0500075556, -0.1154123172, -0.0120342616, -0.0168581922, 2.748e-7, -0.0041279108, 0.0120501053, 0.0142770233, -0.0152529683, -0.0153490994, 0.0436231382, 0.059768647, 0.0152165014, 0.0193776172, -0.0286818258, -0.0225729737, 0.0980193466, 0.009203746, 0.0566876531, 0.0038745643, 0.0344455466, -0.0301757734, -0.0316970199, -0.0428391248, 0.0275147595, 0.037914373, 0.0745712668, 0.0688944757, -0.0247914195, -0.0119047696, 0.0377537943, 0.0281953085, -0.0243174806, -0.0146200974, -0.0210195687, 0.0092960596, -0.0146009289, 0.0140468823, 0.0035503707, -0.0039341049, 0.0224075988, -0.0005781843, 0.0189062729, 0.0214383025, -0.0595477298, 0.0041794479, 0.0033834551, -0.0253577102, -0.0332220383, 0.0190315749, -0.0194933843, -0.0195603259, -0.0456531718, -0.0524373576, 0.0410138145, 0.0140788704, -0.0053760204, -0.036731936, -0.0087417578, 0.035212595, 0.0241286289, 0.0176244229, -0.0898577124, 0.0037659302, 0.0274050981, -0.0385928489, -0.0181147102, -0.0156249218, -0.0142582227, 0.0541381128, 0.0288822092, 0.0347543471, 2.388421768e-34, 0.0453644097, 0.0047698123, -0.0286504161, -0.0685383826, 0.0415302962, 0.018275097, -0.0169384144, 0.0009983707, 0.0559862517, -0.0239292104, -0.0309192222 ]
http://arxiv.org/abs/2406.12295v1
http://arxiv.org/pdf/2406.12295v1
Fast and Slow Generating: An Empirical Study on Large and Small Language Models Collaborative Decoding
2024-06-18T05:59:28
2024-06-18T05:59:28
Kaiyan Zhang, Jianyu Wang, Ning Ding, Biqing Qi, Ermo Hua, Xingtai Lv, Bowen Zhou
cs.CL
cs.CL
Large Language Models (LLMs) demonstrate impressive performance in diverse applications, yet they face significant drawbacks, including high inference latency, expensive training cost, and generation of hallucination. Collaborative decoding between large and small language models (SLMs) offers a novel approach to address these challenges. Inspired by dual-process cognitive theory, we integrate these methods into a unified framework termed Fast and Slow Generating (FS-GEN). This paper explores several techniques within the FS-GEN framework, including speculative decoding, contrastive decoding, and emulator or proxy fine-tuning. We provide a comprehensive analysis of these methodologies, offering insights into their similarities and differences under this framework. Our study delves into the differential knowledge capabilities of LLMs versus SLMs through the FS-GEN lens, revealing that fewer than 20% of collaborative interactions are required across various methods. These interactions adhere to a scaling law relative to the parameter ratios, thereby facilitating predictable collaboration. Furthermore, we investigate the specific positions where collaboration is most effective from an uncertainty perspective, yielding novel insights that could refine FS-GEN methods. Our findings reveal that the essential difference between models of different sizes lies in the uncertainty of the next token prediction, where interventions by larger models are most needed to assist the smaller ones. Code for Reproduction: https://github.com/TsinghuaC3I/FS-GEN
[ 0.0212850366, 0.0911658332, -0.0174939316, 0.0174037311, -0.0399264731, 0.0253752712, 0.0296520498, -0.0097387433, -0.0411165841, -0.0206111092, -0.0368017629, -0.1022438779, 0.0284105074, 0.0205756724, 0.0117027881, -0.0464245006, 0.0314659849, -0.0665685087, 0.0178615823, -0.0240449775, -0.0460874885, 0.014315485, 0.0105925296, 0.0736686215, 0.0239005834, -0.004867685, -0.0026992522, 0.0191594865, 0.0006696514, -0.0180161707, -0.0072070109, 0.0738360509, 0.0095391842, 0.0982443988, 0.0000019291, -0.0404984616, 0.009250436, 0.0047304262, -0.0013024755, 0.0245924741, 0.0442759916, -0.0162221361, -0.0139238583, 0.0142089417, -0.0111873066, -0.0787024796, 0.0689641312, 0.0221453588, 0.009994396, 0.0465753451, 0.0067147114, -0.0498478971, 0.0161429718, -0.0215906184, -0.0316666737, -0.0220972802, 0.0341198146, -0.0009496345, -0.0436214954, -0.0174599085, -0.0149595235, 0.0259433575, 0.0180197842, 0.011296751, -0.024324853, 0.0457180031, -0.0134608345, -0.0643861964, -0.0024904178, 0.0394450985, -0.0289269015, -0.0242702458, -0.0068613202, 0.0054817707, -0.0071264496, -0.0000102729, -0.0300312825, 0.0259449668, -0.0311738886, 0.0576613024, 0.0443052202, 0.0071456837, 0.0385146625, -0.0132552302, -0.0462764949, 0.0271978471, 0.02023701, -0.0110623594, -0.0106515149, 0.0255855657, -0.0416296609, -0.0382519141, 0.0051224655, 0.0050757974, -0.0412564315, -0.0121233957, -0.0243250653, -0.0680004358, 0.0010052439, -0.0338381231, 0.0512766466, 0.0447498783, 0.0205345452, 0.0068139653, -0.0459639318, 0.0077579189, 0.0035890795, 0.0158199351, -0.036675103, -0.0116248, -0.0469012484, 0.0007539867, -0.0476139672, 0.0256183408, -0.0340974107, -0.0275108721, -0.0503368601, -0.0032782613, -0.0072904471, 0.0162297152, 0.0309706461, 0.0070735733, -0.0297114998, -0.0125542171, 0.0254947208, 0.0535767637, -0.0161845349, 0.0216554739, 0.0133110592, -0.0519070253, -0.0141889425, 0.0085768569, -0.0046020988, -0.0074611916, -0.0224617571, 0.0677915439, -0.0212497357, -0.0014074839, -0.0214660056, -0.0118709756, 0.0004612305, -0.0739409328, 0.0009902401, -0.0642392784, -0.0042564543, 0.0318116508, 0.0115288403, -0.0600574911, 0.0208753422, -0.0198464226, -0.0259023942, 0.0733708367, -0.0169449355, 0.0138779366, 0.02555204, 0.0252137929, -0.0250451751, 0.1140852049, 0.0266220383, 0.0357145183, 0.0014640641, 0.004532156, -0.0061928546, 0.0467485227, 0.0159149356, -0.0068155406, -0.0245332159, -0.047240369, 0.0353530794, 0.0172995627, 0.057346411, 0.0753351226, -0.0547508262, 0.0076096314, 0.0814394206, 0.0375944786, 0.0386299044, 0.0670440495, 0.0665383637, 0.0277494229, -0.0036261226, 0.0240463018, -0.0248277579, 0.0172060244, -0.0139077501, 0.0218777321, 0.0335475504, 0.0753778592, -0.0320892148, -0.0142735252, -0.0109790768, -0.0219673943, 0.0093575371, -0.0121766115, 0.0765886977, 0.0117920628, -0.0634786859, 0.04455534, 0.009325359, -0.022351779, -0.0065283347, -0.0631207451, 0.0284730215, 0.0561195761, 0.0345473625, 0.0154937105, 0.0129906284, 0.018329937, -0.029002592, 0.0259196069, 0.034167707, -0.0133329518, 0.0242492128, -0.064669311, -0.009098581, 0.0244020261, 0.0214849971, 0.018383069, 0.0129444161, -0.0018366651, 0.0127513809, 0.0292823538, -0.0386879221, 0.0180712901, -0.0017862521, 0.0047457302, 0.0025858521, -0.0106028598, 0.0276211184, -0.0112855481, -0.0171854608, 0.030846836, 0.0061363946, -0.041704759, -0.0062065236, 0.0503049009, -0.0520123243, -0.0558052845, 0.0005214717, 0.0256845634, 0.0367155932, -0.0118743908, -0.017550936, -0.0444203541, 0.0718796775, -0.0299661215, 0.0526095703, -0.0407284796, 0.024955729, -0.0013570313, 0.0175150707, -0.0249885842, 0.0567306913, -0.0184496995, 0.0069978251, 0.0375165083, 0.0082254289, -0.0061963093, -0.0224312786, -0.0014352393, 0.0344794989, -0.0033011707, -0.015495006, -0.0052189869, -0.0032322989, -0.0269843321, -0.053131979, -0.0847078636, -0.0385098048, -0.036233332, 0.0063561383, 0.0062264991, 0.0055884221, -0.0104388753, 0.0125066955, -0.003180291, 0.0394393206, 0.0151284207, 0.0293840338, -0.0260617398, 0.0219271984, -0.0350962393, -0.0235973503, -0.0100440038, 0.0195233505, 0.0603204072, -0.0069127711, -0.0300601367, -0.1005050763, 0.0406205207, -0.0011346951, 0.017814802, 0.0041412925, -0.045926258, 0.0228692759, -0.0180075262, 0.0575804301, 0.0263081249, -0.0157235172, 0.0198374875, 0.0549704581, -0.0311926045, -0.0333942473, -0.0087082917, -0.022934489, -0.0239174273, -0.0512192734, -0.0518008992, -0.0495107137, 0.0955291241, 0.0330609828, -0.0099565322, -0.0952529982, 0.022920629, -0.0166674182, -0.0631697327, -0.0021105718, -0.0297657698, -0.0115454998, 0.0357317999, -0.0287995525, -0.0618305542, 0.0800853819, -0.0388438217, -0.0208417606, -0.0236411467, 0.0044271685, -0.0134242522, 0.0621598214, -0.00128263, 0.0201624017, 0.0010357302, -0.0446998589, -0.0507869311, 0.044464983, 0.0129185719, -0.0310521498, 0.0005261891, -0.0597118512, -0.0047258851, -0.0268861707, -0.0312709399, -0.0330882221, -0.0206295978, -0.0229232479, 0.0386361964, 0.0522836335, -0.0442598127, -0.0228573252, 0.0364285037, -0.0274067353, 0.0324651822, -0.0147381397, -0.0180472992, -0.0062260432, 0.0229585655, 0.0365311988, 0.0045326529, 0.0392744727, -0.0677175224, 0.0429186486, 0.0539151393, 0.0702650845, 0.0125234853, -0.0357690714, -0.0106223002, 0.0550038218, 0.0152796851, -0.0147098731, 0.0362490341, 0.090978615, -0.0416050255, -0.0339086987, 0.1269532591, 0.0017551132, -0.0806683525, 0.0216164328, -0.0338190757, 0.0525709651, 0.0150305741, 0.0032348505, -0.0331180058, -0.0198845249, 0.0282609407, 0.0206635538, -0.0194837395, -0.0302564949, -0.0061558513, -0.0930854753, 0.0556608811, 0.0435123593, -0.0143829463, -0.0117880534, -0.0280343723, -0.0134339249, 0.0128850611, -0.0072559221, 0.0177268591, -0.0028620944, -0.0000609664, 0.0317458808, -0.0112624858, -0.0636596009, -0.012452689, -0.0305508468, 0.0817498788, 0.0479223803, -0.0164642241, 0.038188003, -0.0204157457, 0.0045210533, -0.0467037894, 0.0167743377, -0.03116793, 0.0267061498, 0.0108344695, 0.0217358693, 0.0030083058, 0.0362700336, -0.0236632824, -0.0288740825, -0.0222270731, 0.0354178399, -0.0331452936, -0.0569942258, 0.024092976, 0.0178744961, 0.0418144092, 0.0853931829, 0.0520685241, -0.0297702588, -0.0285705663, -0.0284415931, 0.0271042157, -0.053668227, -0.027529452, 0.0024221661, 0.0531625077, -0.0194256548, -0.0409338251, -0.0082424451, 0.0391410477, 0.039362181, 0.006425912, 0.0511780865, -0.0107098361, -0.0021849854, -0.0330839641, 0.0058097895, -0.0036785344, -0.0013214968, -0.0376219898, -0.0271344557, -0.0007843158, -0.0241660904, -0.0113663096, 0.0348253772, -0.1277671456, -0.0805484056, 0.0036966617, 0.0417266414, 0.0305093285, 0.026887089, -0.0107604684, -0.0870662257, 0.0523331687, 0.0316328965, -0.0323135071, 0.0050674365, 0.0191655234, -0.0081435442, 0.0007706318, 0.0524752997, -0.0026941672, -0.0027118227, 0.0206965953, 0.0487897396, -0.0264987499, -0.0206182078, -0.0003206625, -0.0097640222, 0.0127915237, -0.076462768, 0.007720686, -0.0373982042, 0.017119918, -0.0177037846, 0.0146905091, -0.045750834, -0.0190628357, 0.0394419432, -0.0233865399, 0.0078973388, -0.0125982612, 0.0405258909, 0.0179660264, -0.0192228742, 0.0059334701, -0.0023263714, 0.0397668742, 0.0568570644, -0.0035681932, -0.0199714191, 0.0050500403, -0.0146773215, 0.032653261, -0.031329155, 0.0441133007, 0.022303164, 0.0027095836, -0.045540262, 0.0112803839, -0.052750241, -0.0777287334, -0.0466942675, 0.0373169445, 0.0736167058, 0.015887456, 0.055062294, -0.0525372475, 0.0033163656, -0.0337953456, 0.0157498866, -0.0124412626, -0.0233309604, -0.0038541327, -0.0013953662, -0.0324363559, -0.0170191471, 0.1080224589, 0.0069515109, 0.0312125813, -0.0144882472, -0.0135152005, -0.0234122481, -0.0550815985, -0.0302055553, 0.0448056497, -0.0310288519, 0.0252388772, -0.0750630349, -0.0628396794, -0.0187125858, -0.0158322342, -0.0058252704, -0.0252517685, 0.0203496926, 0.0530689247, -0.0229640156, -0.0288148895, -0.0065275291, 0.0020841884, 0.0354249515, -0.0208744835, -0.0368926153, -6.566877885e-33, -0.0167571846, -0.0241778474, 0.0108520268, -0.0371549651, -0.0246215221, -0.0032360589, -0.0423500985, 0.0027427746, 0.0220985673, 0.004636256, -0.015073332, -0.0104789473, 0.0272190645, 0.0299682152, 0.0202493705, 0.0237765331, 0.0859831795, -0.0478754304, -0.0243686959, 0.0162442029, 0.0472319014, 0.0375535935, 0.0284647103, -0.0221982356, -0.0012551706, 0.0098013394, -0.0025715223, 0.0095687341, -0.014827475, 0.0429605842, -0.0227748267, 0.0365387499, 0.0245918203, -0.0243051872, -0.0513800569, -0.0111258365, -0.077787675, -0.0025264819, 0.0327268876, 0.0071718497, -0.0362612344, -0.0283673648, 0.0128297498, 0.0093665505, -0.0188573059, -0.018965207, -0.0042545344, -0.0419944376, -0.0220215432, -0.0157419275, -0.059000425, 0.0083535844, 0.0012028363, 0.0181964636, 0.0739588737, 0.0182293989, -0.0176514741, 0.0069631222, -0.0890916139, 0.0140751004, -0.0165687576, 0.0646601915, 0.0856660008, 0.049313318, 0.0125218425, 0.047920607, 0.0207711756, -0.0078789098, -0.0550614372, -0.0301767569, 0.0430542827, 0.0651925355, 0.0184803978, 0.0169632267, 0.0266528893, -0.0332808904, -0.0494285487, 0.0108442707, 0.0140936989, 0.0350525863, 0.0827688351, 0.0310228914, -0.0266277306, -0.0451437943, -0.051838886, -0.0522614829, -0.0286909733, -0.0228600856, 0.0101262964, 0.0491083823, -0.0261259247, -0.0396558307, 0.0747014806, -0.0269920006, -0.0070907362, -0.0048994888, -0.0060187308, 0.0210048445, -0.0132833356, 0.0152347069, -0.0604168065, -0.0338955224, 0.0371172726, 0.0276232958, 0.0027560794, 0.0038748148, 0.0060125627, 0.0045530763, -0.0584415533, 0.010838666, -0.0487361215, 0.0481777824, 0.0084593212, -0.0094469022, 0.0552933663, -0.007235433, -0.0227836836, -0.0364972726, -0.0045645679, 0.0374338627, 0.0099657308, 0.0104706921, 0.0071539478, 0.0377388671, -0.013768605, 0.0101299854, -0.0407798961, -0.0278924573, 0.0555622019, -0.0011735191, -0.0391343795, 0.0421584696, 2.651e-7, 0.0229308885, 0.0375082158, 0.0216851961, 0.0178184938, 0.0644135177, 0.0250813216, 0.0048365067, 0.0147432294, 0.0371000357, -0.0045488994, 0.0012182363, 0.0484004579, 0.0771143362, 0.0326569527, -0.0639747083, -0.0176773425, -0.0477344543, 0.0367576629, -0.0395090245, -0.0240918547, 0.0275924783, 0.0792778954, -0.0005640562, -0.0116686365, 0.0346580334, -0.0012799003, 0.0568218119, -0.0321324281, 0.0090153376, 0.0331273191, 0.0050182017, -0.0157959182, 0.014700802, 0.038437739, 0.0118553825, -0.0206102859, -0.0192276333, 0.0321875587, 0.0092395106, -0.0249392185, 0.0119555574, 0.0213824827, -0.0110141942, -0.0763512626, 0.0428838842, -0.0911895856, -0.0465804599, 0.0165053718, 0.0111311115, -0.0234024953, -0.0024913771, -0.0218240041, -0.0005399846, 0.0423154607, -0.002878485, 0.0191673134, -0.0119360071, -0.0533220619, -0.0114035495, -0.016018929, -0.0620584674, -0.0817360207, -0.053977102, -0.0108061898, 0.02004111, -0.0399850234, 0.0187973287, 2.760111475e-34, 0.0422894619, -0.0120309945, 0.0040433705, 0.050815694, 0.014671132, -0.0414306112, -0.0030864871, 0.0459282584, -0.0026350606, -0.090426214, -0.0316401757 ]
http://arxiv.org/abs/2406.12277v1
http://arxiv.org/pdf/2406.12277v1
What Matters in Learning Facts in Language Models? Multifaceted Knowledge Probing with Diverse Multi-Prompt Datasets
2024-06-18T05:11:35
2024-06-18T05:11:35
Xin Zhao, Naoki Yoshinaga, Daisuke Oba
cs.CL
cs.CL
Large language models (LLMs) face issues in handling factual knowledge, making it vital to evaluate their true ability to understand facts. In this study, we introduce knowledge probing frameworks, BELIEF(-ICL), to evaluate the knowledge understanding ability of not only encoder-based PLMs but also decoder-based PLMs from diverse perspectives. BELIEFs utilize a multi-prompt dataset to evaluate PLM's accuracy, consistency, and reliability in factual knowledge understanding. To provide a more reliable evaluation with BELIEFs, we semi-automatically create MyriadLAMA, which has more diverse prompts than existing datasets. We validate the effectiveness of BELIEFs in correctly and comprehensively evaluating PLM's factual understanding ability through extensive evaluations. We further investigate key factors in learning facts in LLMs, and reveal the limitation of the prompt-based knowledge probing. The dataset is anonymously publicized.
[ 0.0121467793, 0.0333953872, -0.0193394367, 0.0757289305, -0.0350706503, 0.0068232249, 0.0069693881, -0.052566424, -0.0258467048, -0.0152620096, -0.00508954, -0.0382212959, 0.0202209353, 0.0437737405, 0.0163081158, -0.0080038495, 0.0617580079, -0.0348953381, 0.0365001, -0.0115572456, -0.0092137186, 0.0067717964, -0.0302271638, 0.0168373119, -0.0318293646, -0.0226716176, -0.0335571542, -0.0091882441, 0.0156153021, -0.0373103991, -0.0447482541, 0.035434559, 0.0575812533, 0.0413052179, 0.000001934, -0.0525652915, -0.0169264302, -0.0274550896, -0.0820405856, 0.0168887433, 0.0013134689, -0.0101976674, 0.0243293997, -0.004356686, -0.0357426144, -0.0297907162, 0.0107073439, 0.0283893701, 0.0601114929, 0.053735733, 0.0090563698, -0.0039382316, 0.0055148876, -0.0205911621, 0.0067986483, -0.0016821243, 0.0422557816, -0.0082653202, -0.012944092, 0.025968628, -0.0403582491, 0.0532330982, 0.0315961316, 0.0039940276, -0.022442976, 0.0417542197, 0.031368278, -0.0859886706, 0.0034106409, 0.0439120419, 0.0315827914, 0.0118705584, -0.0349657163, -0.0104704499, 0.0092684217, 0.0345322751, -0.019793475, 0.0392403975, -0.0359079614, 0.0355552807, 0.0186600722, -0.0012934051, 0.0194200799, -0.0296656247, -0.0259959903, 0.0691219792, 0.0131319324, -0.0335165821, -0.0044186139, 0.0144199068, -0.0020388796, -0.0289318152, -0.0154626379, 0.0141668441, 0.0006700553, 0.0584962331, -0.021678742, 0.0270576142, 0.0220865216, -0.0186488405, 0.0040035606, 0.0382332094, -0.0642597079, 0.044570297, -0.0037187682, 0.0440605767, 0.0400834121, 0.040320456, -0.0133536486, -0.0229611546, -0.0337941721, 0.0030320776, 0.010656354, 0.0238662865, 0.0136504229, 0.0105493721, -0.0171544049, 0.0176600516, 0.0044997376, 0.0655693337, -0.002229885, -0.0403888412, -0.0089006452, -0.0148327611, -0.0663531274, 0.0892221332, -0.0212162323, 0.0291435532, -0.007620099, -0.0782748237, -0.0314110741, 0.0036033052, -0.0025531291, -0.0018904129, -0.011993425, 0.0002750936, -0.0116736498, -0.0432470962, -0.0406218059, -0.0246820897, 0.0064196102, -0.0732064843, -0.0362412222, -0.0703131855, 0.046399828, 0.014906276, 0.0042123948, -0.0371356271, 0.0058323122, 0.0071726111, 0.0037814337, 0.0815838128, -0.0121438997, 0.0186219066, 0.0071374639, 0.0234930441, -0.0095997602, 0.0841820017, -0.0110412808, 0.0165178739, 0.0295092445, 0.0039350903, 0.0221396089, 0.0304933805, 0.0292397384, -0.0149985589, 0.0209720023, 0.0171164516, 0.0553273186, 0.0198155995, 0.0127640953, 0.0346328653, -0.0269126538, -0.0056814332, 0.0783834532, 0.0106452908, -0.0139230387, -0.0087681338, 0.0422311127, -0.0084464317, 0.0677420422, 0.0270678997, -0.0255357139, 0.010261979, -0.027335953, 0.011041631, -0.0009479756, 0.0562261194, -0.0268123094, -0.0455652513, -0.0227796361, -0.0060325339, -0.0520999953, 0.0309411269, 0.0632846504, -0.0256138183, -0.0376433432, 0.0593467243, 0.0212092437, -0.0394158065, 0.0253706817, -0.0339834318, 0.0565421656, 0.0630368814, 0.0268242806, -0.0259089079, -0.0385812074, -0.0019574256, 0.005857103, 0.0414147228, 0.0376529098, -0.0379483551, 0.0100889476, -0.051332131, -0.0191829149, -0.0076310444, 0.0196907837, 0.0342665389, -0.0126976538, 0.0044033779, -0.0247288812, -0.0311836675, 0.036118567, 0.0375842452, -0.0282783154, 0.0086448472, -0.0370013006, 0.0046082912, 0.0134604126, 0.0352936238, 0.0044430397, -0.0054891696, 0.0441388562, -0.029740233, 0.017579142, 0.0105722463, -0.0268337913, -0.0889128521, 0.0422198214, -0.0381876752, -0.0370374434, -0.0110919187, -0.0365960374, -0.0436061807, -0.0198116638, -0.0220100321, 0.026672842, -0.053216394, 0.0057512824, -0.0201332401, 0.0301422309, 0.0092789605, 0.0870393515, -0.0355112888, -0.0046238322, 0.0498689711, 0.0011612213, 0.0169070289, -0.0525018573, -0.0479187518, 0.0066270651, -0.0140707996, -0.0094211036, 0.0057603479, -0.0092211915, -0.0432843603, -0.0040750667, -0.0776983798, -0.0076645976, -0.0095295403, -0.0002971893, 0.0218618736, -0.024976138, -0.0246890374, -0.0234772656, -0.038503807, -0.0136765828, 0.0081590479, 0.029505318, 0.0384850353, -0.0002454176, -0.0322520435, -0.0045300364, 0.0080302274, 0.00005197, 0.0402751751, 0.0188998934, 0.0046318187, -0.0533607341, 0.0006106462, -0.0468134098, -0.014008644, -0.0228993762, 0.0029208299, 0.0345336832, -0.025055591, 0.0228500515, 0.0385760441, 0.0029386487, 0.0508313999, 0.0833263695, -0.0072857626, -0.0573977418, 0.0021617892, -0.0243069474, -0.0247488506, -0.0354626738, -0.0158610716, -0.0279361103, 0.0478794686, 0.0516517349, -0.0052096676, -0.0475767031, 0.0080588395, -0.0140590379, -0.0349338278, -0.0613726899, -0.0142971333, -0.005758815, 0.0730441362, -0.0167637095, -0.0495331325, 0.1147903502, -0.0543087013, -0.0087797912, -0.0221248362, 0.0066434061, -0.0097667594, 0.0382671729, -0.0074850726, -0.0076806452, 0.0215462632, -0.0137658212, -0.0458014384, 0.0303219855, 0.0163591877, -0.0526104346, 0.0655614883, -0.0773098916, -0.0006673153, 0.0107990177, -0.0096693179, -0.094735764, -0.0406076238, -0.013902802, -0.0105636613, -0.0235441867, 0.0119922757, -0.0269736424, -0.014937561, 0.0402232632, -0.0036412629, 0.0131607605, -0.0110528739, -0.0314874835, -0.0007379598, 0.0274202581, 0.0526497327, 0.0380572714, -0.0436255746, 0.0389448702, 0.0296440739, -0.0310730375, -0.0191591941, 0.0218013916, 0.0320577696, 0.0241662133, 0.0005973674, 0.0231834799, 0.0258012097, 0.0456628203, -0.0391389355, -0.0343408473, 0.1371104717, 0.0370034762, -0.0518580526, -0.0077668047, -0.0251617003, 0.0122865187, 0.0249086618, 0.0003191202, -0.0983007476, -0.014525312, -0.0063843937, 0.0252840463, 0.0021144808, -0.0188448764, -0.0455127582, -0.1259762645, -0.0079713473, -0.0183336213, -0.0002992582, -0.077586472, -0.0702263415, -0.0016452862, -0.0154945729, 0.0435719602, 0.0276205745, 0.0250744801, 0.0082640396, 0.0170190893, -0.000080026, -0.1166008115, 0.0442299619, -0.0380678177, 0.0739924312, 0.0138336737, -0.0017752498, -0.0064847427, -0.0645485073, -0.0526913516, 0.0093468595, -0.026394695, 0.014410289, 0.0266857203, -0.0335853174, -0.0012359786, 0.0217118002, 0.0127810445, -0.0478197113, -0.0078015546, 0.0174261648, 0.1021411419, -0.0241900627, -0.0238410216, 0.0132236229, -0.0130565334, 0.0041081393, 0.1269415617, 0.0565253757, 0.0142822182, 0.0397791304, -0.0590874329, -0.0005664839, 0.008277203, -0.0208880268, 0.0615410954, 0.0152391559, -0.009315256, -0.0339934975, -0.0173205603, 0.0447866395, 0.0568354204, 0.0123264361, -0.0071040927, 0.0350218415, -0.0042616944, -0.0310679954, 0.0057709087, -0.0345609784, -0.0036465349, -0.0289391801, -0.0217652842, 0.033844877, -0.0354919955, 0.0040373122, -0.0053701773, -0.0894554257, -0.0552548468, 0.0086054746, 0.0314170457, 0.0324066281, 0.0678294748, -0.0372548997, -0.007500377, 0.0634200349, -0.0026217524, -0.0385879539, 0.0091963764, 0.0145428944, 0.0043413551, 0.0008648604, 0.0304460786, -0.0171304662, -0.0166394077, -0.0232616011, 0.02948872, -0.022537902, -0.0707089007, 0.0402859561, 0.0333999991, 0.0586653985, -0.0141891511, -0.0368344001, -0.0608455576, 0.0097583542, -0.038224563, -0.0034927679, -0.0288673844, -0.0173038468, 0.0301524643, -0.0068386546, 0.0097787278, -0.0151162632, -0.009306767, 0.0187860485, -0.006055681, 0.0080961837, 0.0265606381, 0.0037665532, 0.0125825992, -0.0221860129, -0.0207032915, 0.0206819996, -0.014403631, 0.024557095, -0.0002431495, 0.0602854639, 0.0136710554, 0.0001648211, 0.0172663797, 0.0018737628, -0.0383694284, -0.0425748937, -0.0008704305, 0.044600822, 0.0436325967, 0.0209144261, 0.0209786687, -0.0457150042, 0.0263732206, -0.001946486, 0.0282563549, 0.0156425592, -0.0390988849, 0.0757174715, 0.0159051847, -0.0327368602, -0.0093066515, 0.0842686892, -0.0344308764, 0.0517795794, -0.0396003202, 0.0002079917, -0.0468456149, -0.018461436, -0.0198586062, 0.0141282193, -0.0525236242, 0.018386839, -0.0895832628, -0.0677852407, -0.0054812622, 0.0269419067, 0.0037406455, -0.0105894636, 0.0208726022, 0.066198878, -0.0056988266, -0.0000970723, -0.0089641754, 0.0255591534, 0.009849282, -0.0002797746, -0.0062701078, -6.740131793e-33, -0.0714046061, -0.0186156463, 0.0353104845, -0.0383117124, 0.0035598474, 0.0242596958, -0.0482901447, 0.0156153413, -0.0498204976, 0.0016752676, 0.0173998978, 0.0107463077, 0.0046283994, 0.0219401997, 0.0156579167, -0.0457434393, 0.0536311045, -0.0027294771, -0.0406277664, -0.0051844209, 0.0497377068, 0.0150966346, 0.0684111267, 0.0087832157, 0.0765592754, 0.0031243612, -0.0050445916, 0.0582323559, -0.0597728081, 0.0532391742, -0.0387856066, 0.0577041656, 0.0168504063, -0.0773197114, -0.0367836505, 0.002067327, -0.0642226934, -0.0529053658, 0.0571564212, 0.0307770371, -0.00846845, -0.0065297694, -0.0059483419, -0.0078592729, 0.0038693605, 0.0163217243, 0.0301196873, -0.014268294, -0.000088053, 0.0055688415, -0.0000529763, -0.0047701118, -0.0149507215, -0.0131330229, 0.0347246639, -0.0030551478, 0.0181836579, -0.0076347524, -0.0869320184, 0.0376060791, 0.0309569389, 0.007348096, 0.1027574837, 0.0010097611, 0.0055394256, 0.0755720288, -0.0163813252, -0.0244018771, -0.0779782161, 0.0379987806, 0.0475946069, 0.0181921162, 0.0255489387, 0.0826780796, -0.0064175413, 0.0195813142, -0.0540290028, 0.0309935827, 0.0587594919, 0.0071543725, 0.0323309973, -0.0069650081, -0.0270662121, -0.0297138523, -0.0541699156, 0.0157535169, -0.0279195793, 0.0016482844, 0.0130555686, -0.0005531589, -0.0099563487, -0.0336587131, 0.0427999198, -0.0385118574, -0.0115969507, 0.0486600623, 0.0005419618, 0.0088329474, 0.0116060013, 0.0362976603, -0.0702081695, 0.012573068, 0.032113675, -0.0214361288, -0.0060349321, 0.0187187493, -0.0054915142, 0.0092598032, -0.0286591481, 0.0014145667, -0.0461607352, -0.0059218993, -0.0054858946, -0.0011662769, 0.0356939435, 0.0283492804, -0.0496332385, -0.0076833046, 0.0014251306, 0.0005099442, -0.0427177846, 0.020985594, -0.0181444231, 0.0221395269, -0.0192415603, -0.0166614875, -0.0482142642, -0.0541168265, 0.0223955531, -0.0287458804, 0.0162029918, 0.0320953764, 2.611e-7, 0.0300723482, 0.032467939, 0.0166312922, 0.0223452467, 0.0300144274, 0.0431545936, -0.0597125106, 0.0094293086, 0.016670499, -0.1123308092, 0.0109907761, 0.0485219397, 0.0350172967, 0.0618794747, -0.096675843, -0.0072267577, 0.0053457706, 0.0003314716, -0.054552611, 0.0149200028, 0.0854730681, 0.0821016058, 0.0238008257, 0.0125133898, 0.0077690887, 0.0357445925, 0.037579488, 0.0023109461, -0.0235635694, 0.0031371242, 0.0633529797, 0.0004837667, 0.0240892544, 0.0595199056, 0.0094823372, -0.0034135613, -0.0131766619, 0.043855004, 0.0493765771, -0.0628425106, -0.0378365479, -0.0001539049, -0.0190009195, -0.0695425868, 0.0737454295, -0.0274148881, -0.0376943201, -0.004867489, 0.0007920612, -0.0010015727, 0.0082671707, 0.0142333843, -0.038367942, 0.0100283008, 0.0029443651, -0.0075295623, -0.0162611138, -0.0371821709, 0.0024086875, -0.0117395306, -0.0576469749, -0.0845905393, 0.0002034795, -0.0454467349, 0.0281302631, -0.0591308139, 0.0358795561, 2.195018509e-34, 0.024599975, -0.0122060152, 0.0033471517, 0.0165766254, 0.0253456458, -0.042319335, -0.041901689, 0.0032278872, 0.0037257234, -0.0769404918, -0.001853905 ]
http://arxiv.org/abs/2406.12276v1
http://arxiv.org/pdf/2406.12276v1
CodeNav: Beyond tool-use to using real-world codebases with LLM agents
2024-06-18T05:10:38
2024-06-18T05:10:38
Tanmay Gupta, Luca Weihs, Aniruddha Kembhavi
cs.AI
cs.AI, cs.CL, cs.SE
We present CodeNav, an LLM agent that navigates and leverages previously unseen code repositories to solve user queries. In contrast to tool-use LLM agents that require ``registration'' of all relevant tools via manual descriptions within the LLM context, CodeNav automatically indexes and searches over code blocks in the target codebase, finds relevant code snippets, imports them, and uses them to iteratively generate a solution with execution feedback. To highlight the core-capabilities of CodeNav, we first showcase three case studies where we use CodeNav for solving complex user queries using three diverse codebases. Next, on three benchmarks, we quantitatively compare the effectiveness of code-use (which only has access to the target codebase) to tool-use (which has privileged access to all tool names and descriptions). Finally, we study the effect of varying kinds of tool and library descriptions on code-use performance, as well as investigate the advantage of the agent seeing source code as opposed to natural descriptions of code. All code will be made open source under a permissive license.
[ 0.0103836171, 0.0459651537, -0.0310451277, 0.0259926356, -0.0514660962, 0.02412026, -0.0173228309, 0.0339353085, 0.0382812917, -0.004770379, -0.0164580084, 0.0927152708, -0.0237017069, -0.0240002871, 0.0085401367, -0.0139230276, 0.0101071363, -0.0054087308, -0.0516310334, 0.0328779742, -0.0105210841, 0.013757932, -0.0282207932, 0.0463430807, 0.0180018265, 0.0003674063, -0.0470648929, 0.0568465218, 0.0052912459, -0.0161840357, 0.0104649207, 0.0484923385, -0.0027647358, -0.0112479441, 0.0000023224, -0.017996328, -0.0147601003, 0.0220830534, -0.0630357713, 0.0199034773, 0.0338571668, 0.0498050638, 0.0320136547, 0.002226159, -0.0400187187, 0.0434295423, 0.0195538439, -0.0531776436, 0.0376972184, 0.0399296395, 0.0243969467, 0.0280030444, -0.0489600711, 0.0413455069, 0.0634090975, -0.0719768405, -0.0090289032, 0.0372529142, 0.114637129, -0.0039562183, 0.0354488753, 0.0328539126, 0.0167613849, -0.0163187478, 0.0356267691, 0.0137243569, -0.053587798, -0.0221640542, -0.0188035164, 0.0672045276, 0.005668913, -0.0130682308, 0.0661601126, -0.0047259852, -0.0189357083, 0.0237778388, -0.0100213466, -0.0181631502, -0.0125763183, -0.0215261634, -0.0416418724, -0.0310029704, 0.0060698302, -0.0079611558, -0.025435064, 0.0455299728, -0.0123369331, 0.005579263, 0.0599721819, -0.0300643742, 0.0601357035, -0.047595229, 0.012186843, 0.0708285868, -0.031379573, 0.0129689947, 0.014542032, 0.0008829614, 0.0406082459, -0.0240811743, 0.0092530381, 0.0327368416, -0.0609993003, 0.024596205, -0.0140491668, 0.0382273607, -0.0339061283, 0.0107545191, -0.0126326913, -0.0060483776, -0.0488191471, 0.0226981863, -0.0440852568, 0.0457543172, -0.0491745844, 0.0404084176, 0.0029336531, 0.0588024966, 0.0171149187, 0.058924105, -0.0319590233, 0.0036216942, 0.0222963393, 0.0056236, -0.0348818749, -0.0812677816, -0.0415349491, -0.028386347, -0.0084902067, -0.0862052143, -0.0078528263, 0.0005570472, -0.0332946964, -0.0206830911, 0.0387661606, 0.0478878468, 0.0347997732, 0.0154706333, -0.0703848749, -0.0491218492, 0.0533435494, -0.0271768477, -0.0578399971, -0.0894783735, 0.0030292089, 0.0139665809, -0.0591469966, -0.0784214884, -0.0124896485, 0.0193313863, 0.0128418887, 0.0450168103, -0.05597068, 0.0238221884, 0.020686429, 0.0345914923, -0.0370123535, 0.0066100536, -0.0249452144, 0.0269540586, 0.0073483661, -0.0065569538, 0.0649095774, 0.0149350362, -0.0194924213, 0.0070851338, 0.0048380052, 0.0671778098, 0.0061368039, 0.0001107771, -0.0215158872, -0.0201278869, 0.003481169, 0.003587675, -0.0255525634, 0.0883089527, 0.0550292879, -0.0219382383, 0.017179152, 0.0374785401, 0.0104509136, -0.0317830369, -0.0517617278, 0.063349776, -0.0157350078, -0.0315423124, -0.0534439944, -0.0056980625, -0.0047059283, -0.0473451987, -0.0071167331, 0.0115210908, -0.032263685, 0.022267364, 0.0156590473, -0.0022786113, 0.004456012, 0.0536341742, 0.0123414164, -0.0586229749, -0.0864991248, -0.0386785455, 0.0189757254, 0.0802079886, 0.0487159155, -0.0711225942, -0.0443285666, 0.0490317121, 0.0130772181, -0.0144965146, 0.0385959744, 0.0005575088, -0.0085195629, -0.0239773691, -0.0365541503, -0.0326632001, -0.0109922504, 0.0846498013, 0.0252617896, -0.0238964558, 0.0056641591, -0.0563404858, -0.032144215, 0.0371112563, -0.0210525598, -0.0242498051, 0.0189342033, 0.0200590566, -0.0162866749, 0.020544298, -0.0008317219, -0.002623609, 0.0714022443, 0.0090409294, -0.0441175178, -0.0288929027, 0.0425352193, 0.0320782401, 0.010141436, -0.0483813249, -0.0008764637, -0.0151065355, -0.03276252, 0.0143231107, -0.0049675992, 0.0039272537, 0.0019300928, 0.0147715639, -0.0042423271, -0.0345858969, -0.0394810401, -0.029208282, 0.0531516969, 0.0415160991, 0.0021252227, 0.0560106002, 0.0479298532, 0.027559014, -0.0065170648, 0.0115123754, 0.0154623929, 0.010272854, 0.0118373875, -0.0362225734, 0.036327716, -0.0081199743, -0.0010038712, -0.0780921802, 0.0331781693, -0.0060942383, 0.0153915649, -0.0041047945, 0.0477317236, -0.0076920977, -0.0354801901, -0.0429060087, -0.0103314025, -0.0280584544, -0.0325465016, 0.030100463, 0.0216921978, -0.055166617, -0.0328203104, 0.0104962625, -0.0143782785, -0.008050764, -0.003439026, -0.0392650515, -0.0492921956, 0.0672591701, 0.0204724204, -0.013820447, -0.0158397965, 0.0239525363, -0.0040012146, -0.0215925593, -0.0416550711, 0.0299810916, -0.0606935583, 0.0272659231, 0.0693864971, -0.0002908322, -0.0729965493, 0.0156468377, 0.0657971129, -0.0398450419, -0.0045423559, -0.0328277983, 0.0659646019, -0.0158878639, -0.0095850136, 0.0292001516, 0.0105189141, -0.0254476555, 0.0343436338, -0.0299900956, 0.0121336309, -0.0096175428, -0.027640434, 0.0741569325, 0.0234132204, -0.0739416182, 0.0457490459, -0.0377911776, -0.0326799229, 0.0180769023, -0.0960136056, -0.0817378908, 0.0619735755, -0.0102051999, -0.0072245235, -0.0431850962, -0.0381780453, 0.0049493662, -0.0112167615, 0.0134350061, -0.0422915444, 0.0942572653, -0.0369874239, 0.0210055076, -0.0086068995, -0.0090117119, -0.0325143822, -0.0024437907, -0.0263200328, -0.0353454798, 0.0348795466, -0.0052185841, 0.0282716472, -0.0044919928, 0.0293594357, 0.0233698636, 0.0341343991, -0.0379399844, -0.001936465, -0.0573528968, -0.065205358, -0.0035082346, -0.0088639632, 0.0259271041, -0.0124493567, 0.0419154875, 0.0633535087, -0.0118783591, -0.0344868898, 0.0126096988, 0.0220920257, -0.0457001701, -0.0053061899, 0.0478992201, 0.003786132, -0.0464484543, 0.0228467565, 0.0389258824, 0.0618485995, -0.067589201, 0.0037695919, -0.0186762139, -0.0004539914, 0.0798938647, 0.1015443504, -0.1239518151, -0.0286417343, -0.0112112174, 0.0795615166, -0.0038696297, -0.0258073267, -0.03157942, -0.0477037914, 0.0282628406, -0.006717009, 0.0322539099, 0.0208578967, -0.0044359211, 0.0026780805, -0.0089639723, -0.0526292548, 0.0530265607, -0.0183418114, 0.0106673995, 0.0055950251, -0.0191131402, 0.043998912, 0.0171632431, 0.0039237561, -0.0026634533, 0.0850391164, 0.0154400934, 0.0279868059, -0.0250006206, 0.0257132147, -0.0145194139, 0.0419459864, -0.0595390797, 0.0491049439, 0.0085910903, -0.0067224577, 0.0136704994, 0.0093522454, -0.0544939265, -0.0056544086, 0.0594032928, 0.0222905297, -0.0529086553, 0.0189391486, -0.0308064725, -0.0221440699, -0.0131579367, 0.0219990928, 0.0374942198, 0.0309720114, -0.016959263, -0.0429485552, -0.0351726636, -0.0008081252, -0.0181563683, 0.0002743029, -0.0442522243, 0.0537991934, -0.0206728596, 0.0128602777, 0.0586731657, 0.036966417, 0.0276079383, -0.0270565301, -0.028012339, 0.0194566287, -0.025424324, 0.0018570574, -0.0239962563, 0.0373221599, -0.0118053881, -0.010775201, 0.0233246367, 0.0049114865, -0.0083891544, 0.0170664564, -0.0277957972, -0.0366988853, -0.0376289487, 0.0222652759, 0.0222965796, 0.0096200202, -0.0289510731, -0.0246122051, -0.0237673298, 0.0501183979, -0.0585565306, 0.0147657404, -0.0111769326, 0.0229274072, -0.0055529829, -0.0064298613, -0.1054373905, -0.0476162173, -0.0134567488, -0.0175060276, -0.0442038067, -0.0423902571, 0.029680552, 0.0373697802, -0.0411379039, 0.0495520718, -0.0152373444, 0.0162925478, 0.0482655205, 0.0483198203, -0.0309164543, -0.031689994, 0.005912025, -0.0512054376, -0.0650230572, 0.0655577853, 0.0353374109, -0.0539877526, 0.054127682, -0.0124969967, 0.0610612817, -0.0063242018, 0.0095306691, 0.0442632213, 0.0124360453, -0.0119254468, 0.0490147807, 0.010751578, 0.0720970929, -0.00873545, 0.004343844, -0.0187025368, 0.0380024463, 0.0026018787, -0.0121822245, -0.0411711261, -0.1081969887, 0.053171955, -0.0089612016, 0.0116847362, 0.0302176941, 0.000485872, -0.0164379235, 0.0018348347, -0.0110971406, 0.0020760067, -0.0169604253, 0.0112764155, 0.0018730743, 0.0230083931, -0.0043298583, -0.0815101266, 0.0544360541, -0.0306281745, 0.0147159938, -0.044138249, -0.0296171252, -0.0416149907, -0.0268911794, 0.0621674061, -0.0295253471, -0.0125559131, -0.0702759922, -0.0622935891, -0.0136927785, -0.0040569198, 0.0030358925, -0.0218496751, -0.0129761798, 0.057273902, 0.0655337423, 0.0529537387, -0.0373850726, -0.01589261, -0.0008470963, -0.0576532558, -0.0360657461, -0.0033450983, -5.61254398e-33, -0.0449792817, -0.0854403451, 0.0359722115, 0.0632921308, 0.0481014363, -0.0452773459, -0.0263387784, 0.0167800151, -0.0111405104, -0.031044947, -0.0044806539, 0.0232593138, 0.0158500001, -0.087149784, 0.0406510755, -0.0005007838, 0.0169336963, 0.0488405861, -0.022847008, 0.0023714239, -0.0321422219, 0.0412206762, -0.0056394301, -0.0659074783, 0.0041986485, -0.0028384496, 0.054699745, 0.0150663769, -0.0025876821, 0.0274608806, 0.0368243307, 0.000355256, -0.0339674912, 0.0168894269, 0.0030615181, -0.034994781, -0.0112221474, -0.0155330459, 0.0274249595, -0.0066243624, 0.0224777535, -0.044174742, 0.0649163947, 0.008753974, -0.0218003653, 0.0448410325, 0.0404992923, 0.0045276419, -0.0131773511, -0.041190397, 0.0094863074, 0.0296578128, -0.0318066142, 0.0254733507, -0.0219745543, 0.0368193053, -0.0095494492, 0.0100752134, 0.0050280225, -0.0168593992, 0.0084821945, 0.0116291335, 0.0552745089, -0.0064605125, -0.0001865682, -0.0217060652, 0.0197488274, -0.0318302438, 0.0054909871, 0.0035470577, -0.0056171427, 0.1073896587, 0.014830254, 0.0052389042, -0.0358255766, 0.0104889059, 0.0115436856, 0.0503801443, -0.0027311721, 0.0297686551, -0.006845776, 0.0260620713, -0.0318020321, 0.0009678695, 0.0053875493, 0.0285654739, -0.0423749574, -0.0576797165, 0.0268807355, -0.0233147964, 0.0137442462, -0.0340838768, -0.0332499817, 0.000190906, -0.0101808095, -0.0012615388, -0.0167933051, -0.0204360019, -0.0019946294, 0.0198687408, -0.0118096583, 0.0162996687, -0.032893315, -0.0073482706, 0.0862526447, -0.0042350874, 0.00296101, 0.0084272027, -0.0700094476, -0.0007283777, -0.0442784876, 0.0021769824, -0.0254505314, -0.0180908609, 0.0009301404, -0.0141401794, 0.017428264, 0.0237733983, -0.0338790268, -0.0492358319, -0.0503862612, -0.0091761034, 0.0160705, 0.0098681962, -0.0546854101, -0.0037091172, -0.0065154331, 0.0623272657, 0.0725504458, -0.0125608845, -0.0155506488, 0.036990054, 3.016e-7, 0.0174906999, 0.0215216912, -0.010658239, 0.0507527888, -0.0280587394, 0.0120690344, -0.0497592203, 0.0014108839, -0.0175689626, -0.0286745206, 0.0035161444, -0.0002401825, 0.0506007969, 0.0502937324, -0.0392688513, -0.0025642491, 0.0718741938, -0.0110913394, -0.0740312114, 0.0002846619, 0.0344825871, -0.0091793565, 0.017085202, -0.0058476599, 0.0220171399, -0.0566542856, -0.0160724856, -0.0443961546, 0.0254411548, 0.0081019253, -0.007701444, 0.0514253452, -0.0163754728, -0.0109548429, -0.0070332163, -0.0123073841, -0.0196450967, 0.0605778061, 0.0180720575, -0.0339844674, 0.010384134, -0.0863445848, -0.0176211633, -0.007734227, 0.0197923556, 0.0246536918, 0.0054321773, 0.0323184878, -0.0009152573, -0.06962993, -0.0617210791, -0.0036767726, 0.0421225987, -0.0179495756, -0.0017486264, -0.061009679, -0.0461056791, -0.0511571392, 0.0094670253, 0.0394043103, -0.0142631894, -0.042200204, -0.0329386778, 0.039242588, -0.0048559546, 0.0202071052, 0.0205458961, 2.791586254e-34, -0.0110628977, 0.0146994693, -0.0003851979, 0.0860693827, 0.0341288671, 0.0463428162, -0.0061235554, 0.019440569, 0.0021859591, -0.0404118374, -0.0118226996 ]
http://arxiv.org/abs/2406.12274v1
http://arxiv.org/pdf/2406.12274v1
SafeInfer: Context Adaptive Decoding Time Safety Alignment for Large Language Models
2024-06-18T05:03:23
2024-06-18T05:03:23
Somnath Banerjee, Soham Tripathy, Sayan Layek, Shanu Kumar, Animesh Mukherjee, Rima Hazra
cs.CL
cs.CL
Safety-aligned language models often exhibit fragile and imbalanced safety mechanisms, increasing the likelihood of generating unsafe content. In addition, incorporating new knowledge through editing techniques to language models can further compromise safety. To address these issues, we propose SafeInfer, a context-adaptive, decoding-time safety alignment strategy for generating safe responses to user queries. SafeInfer comprises two phases: the safety amplification phase, which employs safe demonstration examples to adjust the model's hidden states and increase the likelihood of safer outputs, and the safety-guided decoding phase, which influences token selection based on safety-optimized distributions, ensuring the generated content complies with ethical guidelines. Further, we present HarmEval, a novel benchmark for extensive safety evaluations, designed to address potential misuse scenarios in accordance with the policies of leading AI tech giants.
[ 0.0166577399, 0.0761397034, -0.0074112429, 0.0324776247, -0.02137734, 0.0013091979, -0.0249005407, 0.0087143555, 0.0010749383, -0.0240685325, -0.0010083236, -0.0336670615, -0.0139812725, 0.0627740771, 0.0228598136, -0.0056440234, 0.0757417753, -0.0409125388, 0.0185218863, 0.0162499528, 0.0150476433, 0.0087948469, 0.000909087, 0.0693525001, -0.0122047411, -0.0183647629, -0.0038770894, 0.0375528932, 0.0282178596, -0.0278305933, 0.013453681, 0.0404820889, -0.012117004, 0.0588229932, 0.0000019432, -0.0386441052, -0.0171297155, 0.0375371799, -0.0346467309, -0.0243803933, 0.0313368961, -0.0163248256, -0.0373054259, 0.0416783057, -0.0316269845, 0.0126214176, 0.0944589376, 0.0088764541, 0.0712401941, 0.0704661757, -0.0146153485, 0.0365887359, 0.0579774529, 0.0226912703, -0.0109904855, -0.0504749455, 0.0311108772, -0.0299568344, 0.0040703225, 0.017856745, -0.0059807347, 0.0352773331, 0.0253161993, -0.0497377776, -0.0211170856, -0.0140607301, -0.0525742024, -0.0539337844, -0.0221048612, 0.0504770987, -0.0217853487, -0.0282715652, 0.0147433141, -0.0034277192, -0.0044098836, -0.0334798433, -0.0023014706, 0.0111086508, -0.0095190033, 0.0037456506, 0.0419296511, 0.0305134468, 0.0482578166, 0.0231163427, 0.0417572483, 0.0915970653, 0.0214976016, -0.0257147774, -0.0194560513, -0.0263439212, 0.0019932911, -0.0473004542, 0.0265792105, 0.0183449537, -0.0453863852, 0.0246260986, -0.0696972087, -0.0542907193, 0.0484802499, -0.0706900731, 0.005469521, 0.0594085939, 0.0165040307, 0.0251988415, 0.0134684537, 0.0143483272, -0.0107648494, 0.0419489034, -0.0219693705, 0.0095826359, 0.0303909425, -0.0220170561, -0.0229905173, 0.0181781631, -0.0213352926, 0.0377559736, -0.037975423, 0.0508031808, -0.0372854248, 0.0324949361, 0.0106728338, 0.0093107214, -0.0437131822, 0.0044913115, 0.018793257, -0.0261276141, -0.0203647353, -0.0112478444, 0.009889273, -0.0673624724, -0.0098287743, 0.0135219684, -0.0252472721, -0.0351521559, -0.0235279649, 0.1236004308, -0.0049113021, 0.0136102755, -0.028094437, -0.0676832423, -0.0112912115, -0.0014388518, 0.0018887245, -0.0476582423, 0.0173272677, -0.0001341558, -0.0433216505, -0.1069270074, 0.014639643, 0.03331789, -0.0527546145, 0.0384593159, -0.0460364781, -0.0111495843, -0.0126117878, 0.0285388567, -0.0336902738, 0.0681934655, 0.049033612, 0.0405604951, 0.0378141664, 0.0057766526, 0.0140965376, 0.0522289909, 0.0210374892, 0.03384839, -0.0627834648, 0.0207709428, 0.0203191452, 0.0146966213, -0.0117797116, 0.0817402974, -0.0068744752, -0.0327158161, 0.0580428354, 0.0378914624, -0.0368525311, 0.0294260047, 0.0259912629, -0.0191728957, -0.0267244074, -0.0250736773, -0.0781246796, 0.0033807845, -0.0589371026, -0.0250487328, 0.0066471803, 0.0307376012, -0.008597495, -0.0225024391, -0.022924317, -0.0099783372, 0.0704202801, 0.0025418974, -0.0006444509, 0.0096872216, -0.0492073707, 0.0166588034, 0.0345645398, -0.0290866252, 0.0034328394, -0.0537498966, -0.0091658104, 0.1145476252, 0.070607014, -0.0113924043, -0.0530641079, -0.021649234, -0.0090414435, 0.0089162039, 0.0011102533, 0.0023229055, 0.0418020599, -0.0235147309, -0.0533385389, 0.0458042733, 0.0179410502, -0.0267730225, 0.031136537, 0.0316952169, -0.000578745, -0.0444089584, -0.0540597774, 0.0359036997, -0.0266967043, -0.0315513723, -0.0261441115, 0.0018432833, 0.0169729497, -0.0068563507, -0.0098232413, 0.0201079305, 0.0209492948, 0.0008325478, 0.0008251062, 0.0035868327, -0.0718755201, 0.021040611, 0.048028972, -0.0299577396, -0.0277928207, 0.056189809, -0.0188958906, 0.0012150125, 0.010217011, -0.032400243, 0.0101916753, -0.0202755202, 0.0224351995, -0.0226146579, -0.0287690796, -0.0339437909, 0.0489375517, -0.0223705713, -0.0222145822, -0.0464814417, -0.0196355805, -0.0246612635, -0.0093910014, -0.0409591645, 0.0162964985, -0.0478610881, 0.0630079955, 0.0246911496, 0.0427397341, -0.023678584, -0.0100071393, -0.0623123497, -0.0027619698, -0.0279303119, 0.0212529134, 0.0103880204, 0.0149048315, -0.0096188365, -0.0080628879, -0.0181171279, -0.0127528422, -0.0122132488, 0.0369707607, 0.0115642324, 0.0011534414, -0.0231951065, -0.0304205865, -0.0162390657, -0.0300439801, 0.0431467444, -0.0095649697, -0.010444751, -0.0354294106, 0.0296814106, -0.008030992, 0.029728746, 0.0153990686, -0.0431076959, 0.0083005028, 0.0128908847, -0.0087766051, 0.0485198237, 0.0332037695, 0.026986368, 0.0486559011, 0.0312348958, -0.0527375601, 0.0174699984, 0.007826264, -0.0277847163, -0.0170183573, -0.0329571925, 0.0175826959, 0.0241745356, -0.018894285, -0.0005740872, -0.0855098739, 0.0259691793, -0.0425317548, -0.0755654722, -0.0030213664, -0.0725193769, -0.0275514349, 0.0469801091, -0.0090548312, -0.0498003326, 0.078954123, 0.0033442921, 0.0326199308, -0.0177303702, -0.0075884, 0.0179471951, 0.0248668399, -0.0355314761, 0.0654108971, 0.0005263152, -0.0397436284, -0.045913849, -0.0217674784, 0.0254233293, -0.0543013439, 0.024039967, -0.0257396176, -0.0062258355, -0.0048193764, -0.0642769188, -0.064372912, -0.0690691173, 0.0008902168, -0.0014110832, 0.0180545952, -0.0316995792, -0.012372368, 0.0021026658, 0.0061946712, 0.0174431019, -0.0310755689, -0.0007388514, -0.0125427926, -0.0296925008, 0.0761138722, -0.052736152, 0.0218252875, -0.0133346515, 0.039996177, 0.1090674549, 0.0560863055, -0.0156965479, -0.0171669926, 0.0073680193, 0.0476197079, -0.0036778834, 0.0079609249, 0.0708610043, 0.0355955996, -0.0321507379, -0.0249996614, 0.0454479158, 0.0213297941, -0.0455971509, 0.0353841297, -0.0331472121, 0.0308092777, -0.0009230353, 0.0156430472, -0.0481263697, -0.001993095, 0.0340229496, 0.0637719408, -0.0171157829, -0.0429325737, 0.019976791, -0.0571949556, 0.0256535932, 0.0297074709, -0.0539887585, -0.0325166136, -0.020555865, -0.0034269548, 0.0072695646, 0.081996344, 0.029359255, -0.0056963237, -0.0400512926, 0.0301967468, 0.0152955409, -0.0663840771, 0.0033265399, -0.0524654277, 0.089024514, 0.0951875597, -0.0139408298, -0.0120047322, -0.0301728491, -0.0108288089, 0.0304688029, -0.0163597837, -0.0149877835, 0.0024677769, -0.0088435747, -0.0095363241, -0.028695723, 0.0092825433, -0.0122978678, -0.0401501842, -0.0045327959, 0.0584221296, -0.0254877247, -0.001257283, -0.0521923602, -0.0079374183, 0.0449854843, 0.0694280118, 0.0135112898, -0.0479539484, -0.0234650932, -0.0517822802, 0.0067135333, -0.0679171085, -0.0328989998, 0.0141613092, 0.006009215, -0.0702050701, -0.061687164, -0.005903759, -0.02766384, 0.0205694735, 0.0340711027, -0.0184503719, 0.0240944717, 0.0039732293, -0.0483611263, 0.0092642205, -0.0225035492, 0.0163747072, -0.0465589017, 0.0641053915, -0.0250302106, -0.0024031047, -0.0201691929, 0.0635629445, -0.0160003062, -0.0865300372, 0.0571056679, 0.0831220597, 0.0276758615, -0.0126393745, -0.0454495288, -0.0542890392, 0.0530000106, 0.0639503226, -0.0420382284, -0.0223895665, 0.0335571021, -0.0462653674, 0.020491017, 0.0167297609, -0.0739263594, -0.0515445583, 0.0283766314, 0.0408063717, -0.0323800743, -0.0175203718, 0.0198531281, 0.041328337, -0.0131248012, -0.0211885646, 0.0170004219, 0.0206366982, 0.0134051749, -0.0340449847, -0.03263814, -0.0135748871, 0.0485478118, 0.0146685829, -0.0216569826, 0.007601636, 0.008932638, -0.016476348, 0.0353606381, -0.0207684357, 0.0165770371, -0.0221066047, 0.0561588332, 0.0471473113, 0.0170195121, -0.028418107, 0.0392079502, 0.001068892, 0.0235149544, -0.0317002423, -0.0057937428, 0.0223906934, 0.0221764594, -0.0208384804, 0.0692123398, -0.0478921123, -0.0546793528, -0.0421535298, 0.006083102, 0.0050107962, 0.0279322602, 0.0485151671, -0.0251193028, -0.0022817808, -0.0338071808, 0.0037371381, 0.0187003091, -0.0605778471, -0.0026405591, 0.0132414438, -0.010998196, -0.0244084615, 0.0691242144, 0.0083511006, 0.0454721823, 0.008321193, -0.0139514497, -0.0134124793, -0.0193881281, 0.0354776867, 0.0259872284, -0.0513042472, -0.0340507627, -0.0558606908, -0.0935747549, -0.0088739721, 0.0082819508, 0.0012595789, 0.0307892617, 0.0222806334, 0.0378858075, 0.0142542003, -0.0211629141, -0.0268086717, -0.0168509856, 0.0154621955, -0.0332171656, -0.0276625659, -6.277850273e-33, 0.0199672636, -0.0190519746, -0.014895685, -0.0378367752, 0.0003636623, -0.0170257837, -0.0283518322, -0.0015721361, -0.0102435676, -0.0030209534, -0.0291988105, 0.0153322797, 0.0116379531, 0.0201655161, 0.0104070082, -0.0542342849, 0.0128806727, 0.0014552022, -0.0181829333, 0.0315329246, 0.0349383131, -0.0166799966, 0.0310844965, -0.1010861322, 0.032570906, 0.0071716039, -0.0408504307, 0.034496136, -0.0134681119, 0.0668088645, 0.0117436964, 0.0397860818, -0.0049911211, -0.0129549336, -0.0005657045, 0.0099087805, -0.031725388, -0.0121398028, 0.0128478045, -0.0087289708, -0.0552530289, -0.0817464292, 0.058415886, -0.0162137598, -0.0362058803, -0.0156741515, -0.009709944, 0.0096054217, -0.0096438266, -0.0636077821, -0.0458803102, 0.0096008386, -0.025505513, -0.0200806148, 0.022140963, 0.0424747095, 0.0366999805, -0.0139811793, -0.0334213413, -0.017383365, -0.0036324798, -0.0145814829, 0.0825749859, 0.0085531184, -0.0240321308, 0.0596670061, -0.0297322329, 0.0228403751, -0.0044680811, -0.0147180958, 0.0184051935, 0.0419602133, 0.0243905932, 0.0556402355, 0.0118753863, -0.0397560559, -0.0546335317, 0.0509767085, -0.0375566706, 0.0608237162, 0.0394291505, 0.0030151817, -0.094323203, -0.0056002513, -0.0358981267, 0.0199906994, -0.0418661088, -0.0278831832, 0.0284258388, -0.0204775166, -0.0609009303, -0.0282940362, 0.0038813991, -0.0451937877, 0.0311372522, 0.0319787152, 0.0249516945, -0.0218466483, -0.0027943677, 0.0730263218, 0.0364550725, -0.0205712393, 0.0267963223, -0.0477233976, 0.0309217926, 0.0027635254, 0.0117950467, 0.0544698611, -0.0600013658, 0.0103040775, -0.0196732581, 0.0643562227, 0.034307804, -0.0231573023, 0.0528066605, 0.0009718371, 0.006127242, -0.0094478028, 0.0648917779, 0.0422534607, -0.0330683701, 0.003699065, -0.0210227929, 0.020228263, 0.0011007647, -0.0056482763, -0.0076961699, 0.0304610617, 0.0483605191, -0.0720260888, -0.0171122756, 0.0212973673, 2.738e-7, 0.0422903039, 0.0571846105, 0.0345742926, 0.0249661021, 0.0142138507, 0.0587311499, -0.0002642103, 0.0756675377, -0.0039235316, 0.0115199471, 0.0128675001, 0.0053059421, 0.0599536225, 0.0766660422, -0.0438666977, -0.0270980839, -0.094058387, 0.0194326043, -0.0464457758, -0.0063807936, 0.0516153723, 0.0701571256, -0.005425449, -0.0301750731, 0.0058083693, -0.058405567, 0.0038216275, -0.0355861485, 0.0178486146, 0.0042818598, 0.0031309274, 0.0533911847, 0.051173944, 0.0039432272, -0.0205527935, -0.0244477168, -0.0070556267, 0.0789000615, -0.0384104289, -0.0267446265, -0.0109368786, -0.0499791242, 0.0183288194, -0.0666725039, 0.0335943326, 0.0140711637, -0.0015294426, -0.0250329357, -0.0249101762, -0.0138585735, 0.0165810287, -0.0315147042, -0.0257826559, 0.0303243548, 0.0182552803, 0.033634048, 0.0059434026, -0.0296249986, -0.0438441411, -0.0214125644, -0.0054865079, -0.0673765913, -0.0256749503, 0.0533663221, 0.0038836815, -0.0669262633, 0.0365897119, 2.773918023e-34, 0.003785765, -0.0411092974, 0.0158593692, 0.0224280078, 0.0448931605, 0.0279625915, 0.0076935403, 0.0197566021, 0.0101902848, -0.0140099768, -0.0437117741 ]
http://arxiv.org/abs/2406.12269v1
http://arxiv.org/pdf/2406.12269v1
Unveiling Implicit Table Knowledge with Question-Then-Pinpoint Reasoner for Insightful Table Summarization
2024-06-18T04:55:09
2024-06-18T04:55:09
Kwangwook Seo, Jinyoung Yeo, Dongha Lee
cs.CL
cs.CL
Implicit knowledge hidden within the explicit table cells, such as data insights, is the key to generating a high-quality table summary. However, unveiling such implicit knowledge is a non-trivial task. Due to the complex nature of structured tables, it is challenging even for large language models (LLMs) to mine the implicit knowledge in an insightful and faithful manner. To address this challenge, we propose a novel table reasoning framework Question-then-Pinpoint. Our work focuses on building a plug-and-play table reasoner that can self-question the insightful knowledge and answer it by faithfully pinpointing evidence on the table to provide explainable guidance for the summarizer. To train a reliable reasoner, we collect table knowledge by guiding a teacher LLM to follow the coarse-to-fine reasoning paths and refine it through two quality enhancement strategies to selectively distill the high-quality knowledge to the reasoner. Extensive experiments on two table summarization datasets, including our newly proposed InsTaSumm, validate the general effectiveness of our framework.
[ 0.030034991, 0.0591079369, 0.0065106517, 0.0125032356, -0.000610272, 0.0459034517, -0.0285538789, 0.0006868296, -0.03716195, -0.0025482681, 0.0075145774, 0.0404134393, -0.0061507002, 0.0043743509, 0.0239695124, -0.0082144821, 0.030916959, -0.0053042718, -0.0158930197, 0.0349890515, 0.0294045489, 0.0044540837, -0.0257482287, 0.0290378612, -0.0123861684, -0.0044286018, -0.0370973758, -0.0111235548, -0.0185851268, 0.008290614, 0.0028229591, 0.0468755066, 0.0136526572, 0.0157066509, 0.0000019431, -0.0009471551, -0.0768719241, -0.0028844776, -0.0431598537, 0.0070903115, -0.0353582427, -0.037103802, 0.0111886282, -0.0033408364, -0.0361191519, 0.0131176142, -0.0159436986, 0.0788795575, 0.0671664849, 0.0368850194, 0.0131091624, -0.0126252277, -0.0084228478, 0.0038932886, 0.0519407243, -0.0336620957, -0.0315488353, 0.0559652559, -0.0324446261, -0.0181966256, 0.0205648504, 0.038958922, 0.0319622867, -0.0696317554, 0.0085846754, 0.0287009068, -0.0192320943, 0.0357627422, 0.0160826202, 0.0721528232, 0.0153647456, -0.0245823041, 0.0342990234, -0.0102814799, 0.040145319, 0.0025766233, -0.0544513613, 0.0054229493, -0.0131730828, 0.0012528222, 0.0341292135, -0.0070272009, -0.0074923746, 0.0138120912, -0.0297538657, 0.0560426675, -0.0525447875, -0.0149544021, -0.0041541052, -0.0057921358, 0.0055654664, -0.0481471978, 0.0026892335, 0.0920560136, -0.0406261906, 0.0039072316, 0.0347974896, -0.0013446865, 0.0167020988, -0.0188727528, -0.0086865881, 0.0332578979, 0.0124342516, 0.0357798375, -0.0412235968, -0.0114470748, 0.0071611744, 0.0541213974, -0.0245525409, -0.0381662697, -0.0383881293, 0.0023958907, -0.0408923477, 0.0112443361, -0.0488541387, 0.019743057, 0.014118243, 0.0075660632, -0.0273480266, 0.0676236898, -0.0140373502, 0.0281593055, -0.0003948767, -0.0291979797, -0.0423005298, 0.0067076888, -0.0559852272, -0.0287508387, 0.0168898087, -0.0320100933, -0.0310814809, -0.0213363022, 0.0250918642, 0.0170097817, 0.0336878523, 0.0331765525, -0.0707770362, 0.0016723032, -0.0713798478, -0.0703265071, -0.0177546795, -0.0460878126, -0.0216150414, -0.0382985994, -0.0089176409, 0.0124455085, -0.0040668626, -0.0506811962, 0.0124421334, 0.0225973837, -0.0001147418, 0.0515963025, -0.0084959427, 0.0248860475, -0.0087276073, -0.0016410975, -0.0298994314, 0.062260285, 0.0380812511, 0.0165427271, -0.0043436335, -0.0267795678, -0.0179186296, -0.0059451344, 0.0497883298, -0.0081686452, 0.0026721128, 0.0512797609, -0.0328653194, 0.0072484864, -0.0073991641, -0.0077524409, -0.0049386807, 0.0873743668, 0.0324372873, 0.036269322, 0.0148700541, 0.0794827864, -0.001731357, -0.0057535381, 0.0262438413, 0.0444969721, -0.012101748, 0.0624868497, 0.012570763, 0.0267509725, 0.0668916181, -0.0070406301, -0.0056759836, -0.107007131, 0.0246320684, 0.0297759771, -0.0239681844, 0.0352897123, 0.0330954269, 0.0290864669, -0.0425527133, -0.0021040079, -0.0069617918, -0.068719551, -0.0166919399, -0.0278950296, 0.0784378946, 0.0547132194, 0.0454606377, -0.0745817274, -0.0136411004, -0.0196494795, 0.0277207755, 0.0097449468, 0.0305437595, -0.0632258132, -0.012600923, 0.0035203872, -0.0415792353, 0.0193431675, 0.0390023999, -0.0539373234, 0.021255454, -0.0372059904, 0.0234904233, -0.0607687794, -0.0480274223, 0.0264825355, 0.0487437323, 0.0031518573, -0.0087449057, 0.0060342792, -0.0144826882, 0.0483039729, 0.0068655973, 0.0288036913, 0.0273947511, -0.0198846199, 0.0112611903, -0.0145122213, -0.0226568729, 0.0122108785, 0.0429343916, -0.0008930105, -0.0838325322, -0.0535783805, -0.0476927944, -0.0578894578, -0.0024101753, -0.0121375974, -0.0345474184, -0.0381520987, -0.0102654472, 0.0069387993, -0.0057025305, 0.0099506285, 0.0821174458, 0.0121131605, -0.0057081939, 0.0141526647, -0.0950012207, 0.0219486784, -0.011033535, 0.0484502614, -0.0296767708, -0.0277725626, 0.0370314196, 0.0376329832, 0.0165415481, -0.0654805079, 0.0052869245, -0.0612950735, 0.012215158, -0.0313760266, -0.00999605, 0.033376731, -0.0023487525, -0.0064603803, -0.0200402103, -0.0507882349, -0.0063146157, 0.0098496713, -0.021391334, 0.0883654654, -0.0058930353, 0.0188717209, -0.0451887324, -0.0107303234, -0.0265514869, 0.0115055442, 0.0163699947, 0.0012958391, -0.002810522, -0.0182818864, -0.0018650934, -0.0059409537, 0.0363159776, -0.0014001391, 0.0029434457, -0.0289915428, 0.0010211924, 0.0596276522, -0.0163304172, 0.022720715, 0.0149428174, -0.0172066968, -0.0427393913, 0.0195136238, -0.0055215345, 0.0455098301, 0.0368761495, -0.0370354019, 0.0331761055, 0.040999528, -0.0316106826, -0.0186428428, -0.0311491303, 0.0435143262, 0.0171364695, 0.0239396188, -0.0942568928, 0.0464879796, 0.0403438322, 0.0471262634, -0.0380494073, 0.0047668493, 0.0404981598, -0.0409096666, 0.0367994234, 0.0070692562, -0.0148226069, -0.0525474213, 0.060067039, -0.0196007285, -0.0038802139, -0.0118606938, 0.0009426036, -0.0393502899, -0.0372839421, 0.0599146038, -0.0279950257, 0.1562176049, -0.0755614787, -0.0035851202, -0.0000571084, -0.0141277388, -0.0239527021, -0.0389512591, -0.0412644781, 0.0102510964, 0.0169556364, -0.0102312528, -0.0313990042, -0.0317122303, 0.0528669246, 0.0659652129, -0.0098816529, -0.0507099815, -0.0100066774, 0.0163736958, 0.0349313356, 0.0346738808, -0.0037275448, -0.0189474542, 0.0689871535, 0.0576393455, -0.0061342292, -0.0599209554, -0.0048446502, 0.0248890389, -0.0158736166, -0.0331218056, 0.0407242253, 0.0325228088, 0.0088340696, -0.0716887861, -0.0158257298, 0.0806803182, 0.0265023727, 0.0221051127, -0.0109421164, -0.0083707999, 0.0250894465, 0.0119661558, 0.0349737965, -0.0722489655, -0.0371055454, -0.001568772, 0.0045319577, 0.0148754586, -0.0480697192, -0.0161326807, -0.0934197977, 0.0176141728, -0.0252026394, -0.0511720739, -0.0711923093, -0.0268631633, -0.0033718699, -0.0284568649, 0.030174749, 0.0627255589, -0.0039335489, 0.0214503594, 0.0328701101, -0.0649653003, -0.0006398091, -0.0277131442, -0.0429561511, 0.0190069135, 0.0310871899, 0.0405742861, 0.0102989273, 0.023937026, -0.0017041042, -0.0178662892, 0.0266088545, 0.0116851013, 0.0873388723, 0.0114883184, 0.0204849262, -0.0097391428, 0.030520821, -0.0242830049, 0.0044810697, 0.0345746279, 0.0505330488, -0.0160529781, 0.0110623287, 0.0190135129, -0.0034118651, -0.0412600823, 0.063483946, 0.0519858189, 0.0265674274, -0.0297949295, -0.0509205721, -0.0590230301, -0.0786872283, 0.0264615342, 0.0392497778, -0.0225484334, -0.0052177049, -0.0450268947, -0.0308405869, 0.0708482042, 0.0208815672, 0.0000094155, 0.0342489108, -0.0410143919, -0.0009855104, -0.0532797836, -0.0085332301, -0.0459851585, 0.0017889902, 0.0104553085, -0.0309033003, -0.017498387, -0.0358965546, -0.0004695095, 0.0293615721, -0.0162511114, -0.0100369006, -0.0248790439, 0.0052908123, 0.021512758, 0.0486238524, -0.0043379101, 0.0010338594, 0.0113057438, -0.0115096364, -0.0499671176, -0.0761349499, 0.0295408424, -0.0298569947, 0.0200565942, 0.050690677, -0.0393534936, -0.0065419669, -0.0030776754, 0.023635529, -0.0202196296, 0.0238826293, 0.0607256778, 0.013912865, 0.0085974019, 0.0314457603, -0.0536539294, -0.0335719101, 0.0155688105, -0.0445877276, -0.0611472204, 0.0040979641, 0.0382413752, -0.0066540041, -0.017019188, -0.0088911112, 0.0089910105, 0.0248308145, 0.0304818489, -0.0269078314, 0.0014924892, 0.0126513578, -0.0356312506, -0.0351388045, -0.0278384369, -0.0069177994, -0.012380627, 0.0208208915, 0.0182445757, 0.0049141282, 0.0210710298, 0.0431268513, -0.0181568656, -0.0273965299, 0.0261766296, -0.0762087852, -0.0112785986, -0.0118818348, -0.0212340821, 0.0258480422, -0.0203875601, 0.0304437652, -0.0058199489, -0.0149925752, 0.0529921614, 0.0606730841, 0.0551835522, 0.0055224169, -0.0179660115, 0.004620831, -0.0013011635, -0.0322999246, 0.085210368, -0.0296774209, 0.0125189852, -0.001430331, -0.0337590724, -0.062628597, -0.0082305744, -0.0298977327, -0.0035184138, -0.0109851025, -0.0249225684, -0.0252859835, -0.0371750556, 0.0088398326, 0.0562209524, -0.0295717884, 0.0052405926, -0.0116051715, 0.0447414108, 0.0562812947, -0.0213878192, -0.0496848896, 0.0120358234, -0.0107799256, -0.0091862492, -0.004431867, -6.088783027e-33, -0.0457500182, -0.0369317494, 0.0096051032, -0.0376256816, 0.0188700669, -0.0026550323, -0.0794185624, -0.0312689692, -0.0026552798, 0.0505007952, -0.0527298376, 0.0679467395, 0.007967378, -0.0181213897, 0.0316952318, -0.0586513281, 0.0322117023, 0.0189437997, -0.0236596465, 0.0213775244, 0.0247382447, -0.0007987727, -0.0029635322, -0.0023462065, 0.0687837005, 0.0200152826, -0.0256749112, 0.0108271092, -0.0094613479, 0.0281918477, -0.0115596773, 0.0149105145, 0.0262530297, -0.0588957705, -0.0509579107, -0.0220073145, -0.1621442288, -0.0304579679, -0.0029343409, -0.0111663193, -0.0178301577, -0.0317599289, 0.0245169997, -0.0094280764, 0.0091859875, -0.033973597, 0.0389919952, -0.0495507084, 0.0061322358, -0.0264666304, 0.0130210873, 0.0307227671, -0.061559055, -0.0053466195, 0.075792484, 0.0163859408, 0.0491870493, -0.0571601205, -0.0277361795, 0.0465591699, 0.0321633182, 0.019818699, 0.0585297197, -0.027072724, -0.0064627333, 0.0251247045, -0.0011238989, 0.0017608656, -0.0458917506, 0.0167286415, -0.0622581057, 0.0508141965, 0.0769967809, 0.0109442044, 0.0452364907, 0.020114515, -0.0554366, 0.0933596045, -0.0185160059, -0.0007680898, -0.0299407206, -0.0266130809, -0.0165355504, -0.0122639211, -0.0181574989, 0.0085683707, -0.0134595679, 0.0017406784, -0.0050128186, -0.0059633739, -0.0131908739, 0.000083986, -0.0307398904, 0.0009643096, -0.006926307, 0.0342875905, 0.0058431909, -0.0202625729, 0.0123096677, -0.0252441987, -0.0104572298, -0.0020064556, 0.0160412304, -0.0149348807, 0.0343715996, 0.0602415092, 0.0866472647, 0.0082328375, -0.0385877639, -0.0002110402, -0.0323458873, 0.0550703034, -0.0261824019, -0.0134076616, -0.0197078455, 0.0153747182, -0.02070296, 0.0457466617, 0.0230310373, 0.0256966911, 0.0062183761, 0.0475448295, -0.0008207057, -0.0113003897, 0.0346152186, -0.0091556096, -0.0174506214, -0.0302446652, 0.0317468569, -0.0350054093, 0.0007320775, 0.0118543478, 2.347e-7, 0.0581117608, 0.0086941849, 0.0758156478, 0.0208770651, -0.0297150388, 0.0250958037, -0.0135361282, -0.0555727929, -0.0316166244, -0.0377854146, 0.0529136211, 0.0231662598, 0.0675977767, 0.0434194729, 0.0052436953, -0.0677788928, -0.0402572863, -0.035940621, -0.0328793563, 0.0080593321, 0.0322245546, 0.0458290987, -0.0545138642, -0.0092230067, -0.0034071531, -0.0310831629, -0.0061356565, -0.0545632057, 0.0437884778, 0.031618502, 0.0991627574, -0.0351355039, 0.0005635897, 0.0557833761, -0.0435734317, -0.0149806384, -0.0129468553, 0.0224923231, 0.0009797367, 0.0339003056, -0.0263192467, -0.0702738836, 0.0698814541, -0.0522049591, 0.1014584973, -0.0480224565, -0.0057807183, 0.0916013792, -0.0153677678, 0.0052264053, -0.0341130644, 0.0352009609, -0.0240396317, 0.0243296511, -0.0017704356, 0.0047417907, 0.0267417002, -0.0590504743, -0.0504087359, 0.0243006907, 0.025264591, -0.0044243829, 0.0070101433, -0.0451118238, -0.0181230381, -0.05894408, -0.0278156623, 2.028577693e-34, 0.0507946424, 0.013123625, 0.0133751007, 0.0077671148, 0.0993974581, -0.0245368276, -0.0141304098, -0.027755538, 0.0404867679, -0.0591185167, -0.0217093006 ]
http://arxiv.org/abs/2406.12266v2
http://arxiv.org/pdf/2406.12266v2
Towards a Client-Centered Assessment of LLM Therapists by Client Simulation
2024-06-18T04:46:55
2024-06-20T22:06:47
Jiashuo Wang, Yang Xiao, Yanran Li, Changhe Song, Chunpu Xu, Chenhao Tan, Wenjie Li
cs.CL
cs.CL
Although there is a growing belief that LLMs can be used as therapists, exploring LLMs' capabilities and inefficacy, particularly from the client's perspective, is limited. This work focuses on a client-centered assessment of LLM therapists with the involvement of simulated clients, a standard approach in clinical medical education. However, there are two challenges when applying the approach to assess LLM therapists at scale. Ethically, asking humans to frequently mimic clients and exposing them to potentially harmful LLM outputs can be risky and unsafe. Technically, it can be difficult to consistently compare the performances of different LLM therapists interacting with the same client. To this end, we adopt LLMs to simulate clients and propose ClientCAST, a client-centered approach to assessing LLM therapists by client simulation. Specifically, the simulated client is utilized to interact with LLM therapists and complete questionnaires related to the interaction. Based on the questionnaire results, we assess LLM therapists from three client-centered aspects: session outcome, therapeutic alliance, and self-reported feelings. We conduct experiments to examine the reliability of ClientCAST and use it to evaluate LLMs therapists implemented by Claude-3, GPT-3.5, LLaMA3-70B, and Mixtral 8*7B. Codes are released at https://github.com/wangjs9/ClientCAST.
[ 0.0447487421, -0.0333705284, -0.0249950457, -0.008953481, -0.0315247141, 0.0240826439, 0.0287996214, 0.02188728, 0.0358789936, 0.0428781249, -0.0599174052, -0.0027824908, -0.0380144902, -0.0394363366, 0.0262156464, -0.0621997975, 0.0060479413, 0.0505893752, -0.0153629864, 0.0341702476, -0.0126786903, -0.008558115, -0.0543560609, 0.0226341039, 0.0684617534, 0.0122802407, -0.0019403702, 0.0513327569, 0.0617391169, -0.0509416908, -0.009235248, -0.0209565554, 0.0384792127, -0.0109502077, 0.0000023341, -0.0050583789, -0.0170624442, -0.0017469246, -0.0151251312, -0.0303925034, 0.0534944721, 0.0227458924, 0.0059081926, 0.0364421345, -0.0015719278, 0.0503624044, 0.0044079009, -0.0059283595, 0.0617165081, 0.0306450669, 0.0103679821, 0.049112577, -0.0373037346, 0.0131276222, 0.0181268975, 0.0219069887, -0.0111261439, 0.0053330506, 0.0573288873, -0.03812306, -0.008308392, -0.0115943523, 0.0043657799, 0.031748604, 0.0516467579, 0.0323488191, 0.0017857166, -0.045141317, -0.0311364196, 0.035876736, 0.0756726637, 0.0393722132, 0.0218463298, -0.0055240714, 0.0348972753, -0.020146016, -0.037798252, -0.0193061549, 0.0328330398, 0.0287578106, -0.0371542685, 0.0116720712, 0.0200884566, -0.0217644069, 0.0820183158, -0.0336092748, 0.0128058251, -0.0082585588, 0.0142739536, 0.0197008178, 0.0090608168, -0.0275010839, 0.023370713, 0.0650702342, -0.0358239524, -0.0201221053, 0.0006731831, 0.0203590691, 0.0388279334, 0.042679105, 0.0600078851, 0.0341018103, -0.0127098905, -0.0067983055, 0.003461082, 0.0042239008, 0.0100944815, 0.0479072705, -0.0078234812, 0.0891417563, -0.0253850594, 0.0347773843, 0.0221073125, -0.0171569102, 0.0279053394, 0.0076260278, -0.0605622791, -0.0226973444, -0.0331336409, 0.0339615643, -0.0372108594, 0.0151259927, 0.0303837117, 0.0547954887, -0.0340102576, -0.0015594339, -0.0030212498, 0.0125967721, 0.012554951, -0.0603814125, 0.0336044952, 0.0089538917, -0.0528952442, 0.0108917626, 0.0435923189, 0.0610204376, -0.0113309305, -0.0287571382, -0.0162416399, -0.0106941732, 0.0182548165, -0.0191047564, 0.0858719051, -0.0557618961, 0.0162007008, -0.0249231067, 0.0147645213, -0.022285955, 0.0361393839, -0.0133596128, -0.0150244879, 0.0761097893, -0.0401889794, 0.0174870417, 0.0300703552, 0.0921700597, 0.002847865, -0.0043334332, 0.0156300999, -0.0207363032, 0.0114046009, -0.060290277, 0.0230265334, -0.0060502924, 0.0092342738, 0.0192658007, -0.0108558964, -0.0351283401, -0.0179488193, 0.0977449194, -0.0380099341, -0.0057257246, -0.0564196445, 0.0472467504, 0.0457082726, 0.0339034349, 0.089963913, -0.0131645603, -0.0160746034, -0.0149637014, 0.0229112059, -0.0094278352, -0.0633964241, 0.0587813966, 0.0280681513, 0.0020684686, -0.0138443131, 0.0055396608, -0.0228151381, -0.0122248111, -0.0371511728, -0.0331569463, -0.0383611806, 0.0149221839, -0.0399106294, -0.0279692952, -0.008095596, 0.0447545275, 0.0180300102, -0.0345944092, -0.0077901874, -0.0739784315, -0.0183728002, 0.1006312743, 0.0241228156, -0.0093478486, -0.0246936921, -0.0459745377, -0.0063534062, 0.0272284579, 0.013705329, 0.0232481081, -0.0063840197, 0.0055181007, -0.0365060866, 0.011324767, -0.0148976995, 0.029258579, -0.0178041738, 0.0110168159, -0.0432123877, -0.019507762, 0.0174271706, 0.0535788611, -0.096615009, -0.0456043184, -0.029296115, -0.0404519066, 0.0571281873, 0.0149280755, 0.0040186574, -0.000448928, 0.0462087803, 0.0266744066, 0.0044285767, 0.0120538445, -0.0237759687, 0.0305651631, -0.0158435944, -0.0228431076, 0.0129145542, 0.0011870486, -0.0041447403, 0.0284420047, -0.0102019729, -0.0207780078, 0.0978643224, -0.0138358306, 0.0092509286, 0.0042163348, 0.0043535768, -0.0353151523, -0.0334683806, -0.0225465484, 0.0416308306, 0.0049181269, -0.0361880958, -0.0448528305, -0.030921733, -0.0095396237, 0.0058741365, -0.0352602154, 0.0019238052, -0.0638250187, 0.0510767736, -0.08321511, -0.0107800672, -0.0847776383, 0.004492728, 0.0021313061, -0.0199245922, 0.0117692668, -0.0666681975, -0.0468744338, 0.0148882037, -0.0254470147, 0.0209578034, 0.0378579125, -0.0042642406, -0.0080297487, -0.0022420322, -0.0288645774, -0.0277644396, 0.0193885323, -0.0199638624, 0.0022108178, -0.0167434607, 0.0589880832, 0.0018880073, -0.0025218597, -0.0169364661, -0.0522378869, -0.0136210723, -0.0603857078, 0.0602035522, 0.0475325361, 0.0117885936, -0.014141758, 0.0182854347, 0.026766615, 0.0290083829, 0.0301850792, -0.0285971835, -0.0186296403, 0.0024972195, -0.1060611382, -0.0346908383, -0.103380233, -0.0170910992, 0.0397481024, 0.0036047816, 0.0456760749, 0.0185953546, -0.0070137735, 0.0302258115, 0.0158290714, 0.0240367372, 0.0115818419, -0.0353118777, -0.0294497944, 0.0095264567, -0.0106443763, 0.0301249512, -0.0134186801, -0.0050756754, 0.0188268498, -0.0140349614, 0.0025411267, -0.0093579283, -0.0504071526, -0.0232681967, -0.0318699665, -0.0149712367, 0.016859306, -0.055083707, -0.0200864635, -0.041599568, 0.0050287386, -0.0615999028, -0.0226737633, -0.0157774296, 0.0331277773, -0.0545460135, 0.0170261543, -0.0131549183, -0.0282635819, -0.0244094972, 0.0416270718, -0.0368189141, -0.0797611475, 0.0436486602, 0.0002335445, 0.026279429, -0.0142191648, 0.0162158143, -0.0307301302, -0.0199814439, 0.0230484176, 0.0505046919, -0.0421989672, 0.0178037249, 0.0631825253, 0.0030212905, 0.0079022497, -0.0276320782, -0.0040537328, -0.0078772325, 0.0082727904, 0.0329747014, 0.0386642218, 0.0353943035, 0.0314695649, -0.0073366882, 0.0677377358, 0.0029862195, -0.0478745699, 0.02944782, -0.0330416784, -0.022331981, -0.0031552843, -0.0398764834, -0.0620772094, -0.0097708562, -0.0229019132, 0.0962266549, -0.0503899865, -0.011933066, 0.0355058685, -0.0153139504, 0.0451398455, 0.00194223, 0.0448542908, -0.0098293703, -0.0038862429, 0.0320490003, 0.0054410789, 0.0351193845, 0.0068042991, 0.005085255, -0.0028627298, 0.0221874099, -0.035562098, -0.0273146294, 0.0532429665, 0.0043799109, 0.104689315, 0.0039286609, 0.016640842, -0.0200252794, -0.0741855055, -0.031689629, 0.0230187867, 0.035272155, 0.0194443539, -0.0019372938, 0.0071299938, 0.0593241677, -0.0182249099, 0.050349243, -0.0272404663, -0.0111902831, 0.0133997705, 0.0247343145, -0.0564107113, -0.019676825, -0.000077152, 0.0757433623, 0.0308263022, 0.0077595459, 0.0200117566, -0.0011296589, 0.0343562812, 0.0231713746, 0.0210272186, 0.0741264746, -0.035665635, -0.0209229011, -0.0319007821, 0.0449190773, -0.0228351783, -0.0097146668, 0.0179238282, -0.0018593799, -0.0425132662, -0.0237401891, -0.0739092529, -0.005852106, -0.0132071208, 0.0354446992, 0.0294086281, 0.0369568132, -0.0424891114, 0.0022378657, 0.0147646358, -0.0465324447, 0.0104560712, 0.0052520055, -0.0099076005, -0.0013427512, 0.0357140489, 0.0542999282, 0.0322158709, 0.0028387432, 0.039013274, 0.0608683005, -0.0133054079, 0.0713243932, -0.0461424887, 0.0385086574, -0.0223678723, 0.0535793118, -0.0084020272, -0.0397108421, 0.0173022356, 0.0101848105, 0.014921586, -0.0075948141, -0.0064348532, -0.0430935584, -0.0098387776, 0.0455135219, 0.028151989, -0.0398760885, 0.0405536629, 0.0096789096, -0.0005744806, -0.0477714427, 0.0526503362, -0.0036620207, -0.077884458, 0.010256852, 0.0143896723, 0.0116950553, -0.0663913637, -0.078307122, -0.041148264, -0.040065024, 0.0398070961, -0.0071123522, -0.0580330528, -0.0220448952, 0.0024250918, -0.0121630365, -0.005752312, -0.0028517593, 0.0215753485, 0.0179600008, 0.0674676746, -0.0005464964, 0.0152091188, 0.0243171267, 0.0461827815, 0.0069175782, -0.0754582435, -0.0359275863, 0.0695109218, -0.0031030984, 0.0668349862, -0.0247384347, -0.0617242493, 0.0381620564, -0.006472196, 0.009423364, -0.0748845339, 0.0043942407, -0.0110643636, 0.0021491437, 0.0062485454, -0.0339010432, -0.0194611922, -0.0184632223, 0.0208760742, -0.0555287302, 0.003093427, -0.0386329778, 0.0078686513, 0.0279954039, -0.0221272595, -0.0198772084, -0.0271975584, -0.0372591987, -0.0241950024, 0.022407962, -0.0029360389, -0.0286547262, -0.0870428309, 0.0351877138, -0.0221886523, -0.0083033675, -0.0139621785, -0.0087910295, 0.0355286822, 0.0450538993, -0.0026766027, 0.0051739574, -5.776561809e-33, -0.0051225722, -0.0329850353, 0.0560322106, 0.0232853275, -0.0831815451, -0.0298732147, -0.0443270057, 0.0109039834, 0.0236807559, -0.026797941, 0.0321045555, 0.0061556511, 0.0022536935, -0.0177077707, 0.0260621738, -0.049249135, -0.0146503644, -0.0230029486, -0.0104587832, -0.0413705967, -0.1014051363, 0.0333537869, 0.0245668311, -0.0774351507, 0.0291362647, -0.0068707676, -0.0218148604, -0.0310028419, -0.0525315739, -0.0130122062, 0.0077641848, 0.0124499137, 0.0170630552, -0.0146810198, 0.0264802892, -0.0299109966, -0.0280278176, -0.0041714404, -0.004558837, -0.044313658, -0.110574685, 0.0144547513, 0.051728949, -0.0186217297, -0.0394703522, -0.0218402501, 0.0131656369, -0.0201783385, 0.0118038366, 0.026295742, 0.0147333844, -0.0251209028, 0.0014337953, -0.0457549021, -0.0400994383, 0.0164162498, -0.0789114982, 0.0149282329, -0.0667969584, -0.0008719799, 0.0255478285, -0.0497692265, 0.0266973544, -0.0503944121, 0.0275398903, 0.0081748478, -0.0260455068, -0.0191930234, -0.044479318, -0.0254327226, 0.014012266, 0.0436765328, 0.0518257879, 0.0382231846, -0.0726618096, -0.0238102637, 0.0019204179, 0.0258296635, 0.0198349319, -0.0064137694, -0.0052353675, 0.0420505628, 0.0095241508, -0.0049687992, -0.0083886925, -0.0392050855, 0.0171347577, -0.0614850335, 0.0233426522, -0.0034003372, -0.0057261507, -0.0580803901, -0.0065719225, 0.0182484388, 0.0545854978, -0.0851743594, 0.022200726, 0.0563937463, -0.0022619329, -0.0397603177, -0.0579485968, 0.0131493071, -0.0088983253, -0.0415322147, 0.0889005959, -0.025867926, -0.0020884466, -0.0145226987, -0.0308260079, 0.0119171673, -0.0010109789, 0.0717955083, 0.0796543062, -0.03497006, -0.0348428041, -0.0336142816, -0.0123655489, 0.0082037561, -0.0037035104, -0.0181635935, -0.0460797027, 0.0042135697, -0.0728684142, 0.0147733651, -0.0133394683, 0.0315718986, -0.0259592608, 0.0192379002, 0.0452431589, -0.0004349013, 0.0086268857, -0.0619986244, 2.98e-7, -0.034178298, 0.0275134016, 0.029719973, 0.0002341421, 0.0194646791, 0.0307090674, -0.0277886577, 0.0901483223, 0.0505266972, -0.1056295261, 0.0413980037, 0.0198114477, 0.0375974886, 0.0284206066, 0.009130029, -0.0065064896, -0.0164549015, -0.0039063664, 0.0100466646, -0.0257765967, 0.013738378, -0.0466796756, 0.0106182918, -0.0282600578, 0.0128442599, 0.0229665022, 0.0177039914, -0.0750235319, -0.010201863, -0.0003716976, 0.0463421941, -0.01344065, 0.0120944073, 0.0383690782, -0.0215444434, -0.0611417033, -0.0043354067, 0.0944744572, -0.03917896, -0.0338518322, 0.0110893864, 0.0048664734, 0.0250645746, 0.0099429982, -0.0094270743, -0.057020437, 0.0015271477, 0.0414002687, -0.0761615261, -0.0390378051, 0.0871071219, -0.0458084978, -0.010327708, 0.0655347034, -0.0111165522, 0.0322883613, -0.0038966325, 0.0025991455, 0.0111588817, 0.0052346247, -0.0452727079, -0.0403207056, 0.0328112431, 0.0048718862, -0.0767374784, -0.0751036555, -0.0456227399, 2.213885194e-34, -0.0408011563, 0.0468007661, 0.0438289829, 0.0311955307, 0.0155445123, 0.0349901877, -0.012115987, 0.0645765811, 0.0113704186, 0.0336201936, -0.0012894927 ]
http://arxiv.org/abs/2406.12263v1
http://arxiv.org/pdf/2406.12263v1
Defending Against Social Engineering Attacks in the Age of LLMs
2024-06-18T04:39:40
2024-06-18T04:39:40
Lin Ai, Tharindu Kumarage, Amrita Bhattacharjee, Zizhou Liu, Zheng Hui, Michael Davinroy, James Cook, Laura Cassani, Kirill Trapeznikov, Matthias Kirchner, Arslan Basharat, Anthony Hoogs, Joshua Garland, Huan Liu, Julia Hirschberg
cs.CL
cs.CL
The proliferation of Large Language Models (LLMs) poses challenges in detecting and mitigating digital deception, as these models can emulate human conversational patterns and facilitate chat-based social engineering (CSE) attacks. This study investigates the dual capabilities of LLMs as both facilitators and defenders against CSE threats. We develop a novel dataset, SEConvo, simulating CSE scenarios in academic and recruitment contexts, and designed to examine how LLMs can be exploited in these situations. Our findings reveal that, while off-the-shelf LLMs generate high-quality CSE content, their detection capabilities are suboptimal, leading to increased operational costs for defense. In response, we propose ConvoSentinel, a modular defense pipeline that improves detection at both the message and the conversation levels, offering enhanced adaptability and cost-effectiveness. The retrieval-augmented module in ConvoSentinel identifies malicious intent by comparing messages to a database of similar conversations, enhancing CSE detection at all stages. Our study highlights the need for advanced strategies to leverage LLMs in cybersecurity.
[ 0.0951648355, 0.0562753342, -0.0263511222, 0.0410160199, -0.0803128481, -0.0318058692, 0.0362968892, 0.0251672454, 0.0432146229, -0.0521046445, -0.0224778652, -0.0523533933, 0.006768852, 0.0635978505, 0.0611635298, 0.0379615948, 0.0362999961, -0.0003128201, -0.0017122427, 0.0031752889, 0.0216982961, 0.0006027006, 0.0021471628, 0.044083517, 0.009072884, 0.0008693305, -0.0211743787, 0.0170290601, 0.0240774043, -0.0012393605, 0.0398872867, 0.0540349521, 0.0029063828, 0.0586639754, 0.0000020865, -0.0817179903, -0.035259828, -0.0020168948, -0.038493447, 0.0519012138, 0.0742607862, 0.001701751, -0.0242866296, 0.0320585556, -0.0591707192, 0.039350722, 0.0201651827, 0.0120563312, 0.0791918784, 0.1111127958, -0.0182797294, -0.0101441322, 0.0175847057, -0.021985814, -0.0225369688, 0.0040559298, 0.0328371897, -0.0183800813, 0.0300121512, 0.0782562122, 0.0462034456, 0.0000889998, -0.0592272952, -0.0295660459, -0.007732288, 0.0078647295, -0.019726634, -0.0140497945, 0.0056624012, 0.0276474375, -0.0245673507, -0.011465664, 0.0446020178, -0.0015085161, 0.0191887021, 0.027458895, 0.0110065071, 0.0215672776, -0.0409230813, -0.035991177, -0.0228872355, 0.0055333399, 0.0368095115, 0.0294662099, 0.0106506189, -0.0097404234, -0.0124429343, -0.0198292565, -0.0128335021, -0.0732137635, 0.0346161276, -0.041480571, 0.0327678397, 0.0146258464, -0.023404438, -0.0109236175, -0.0420576148, -0.0516480505, 0.0580316894, -0.0515911132, -0.0326654017, 0.0337549523, 0.0010523496, 0.0086637475, 0.0076969406, 0.0385917835, -0.0291981418, 0.0091399672, 0.0050320486, -0.0026430311, -0.0403658897, -0.0219735391, -0.0196531992, 0.0177635625, 0.0248877369, 0.0071229916, -0.0755374953, 0.014011451, -0.0662214383, 0.0400412418, -0.0290100314, 0.0025681085, -0.0045108804, 0.0178382471, 0.0154665019, -0.0153936679, 0.0269000251, -0.0112983836, -0.0153841777, -0.1017837301, -0.0047948691, 0.0070598205, -0.0173544623, -0.0306572728, 0.0006466741, 0.0557612479, 0.0210422631, -0.0397785529, -0.0184722207, -0.0922038555, -0.006162704, -0.0015989864, 0.0130342608, -0.0534839779, -0.0037382843, 0.0034965498, -0.012969343, -0.0423488542, -0.0082426351, -0.0079861116, -0.0484173819, 0.0329941288, 0.0093394443, 0.0111648319, 0.02626542, 0.0445237868, -0.0325651579, 0.019505281, -0.0162851401, 0.0821232647, 0.0517778248, -0.0338696167, 0.051807262, 0.0590905324, 0.0315174088, -0.0068262592, 0.0055710566, 0.0085421307, 0.0305169616, -0.0412292592, -0.015162874, 0.0055929176, -0.0220206641, -0.0460100397, 0.0728130192, 0.057577718, -0.0397081003, 0.0035372698, 0.0274776183, 0.0687917992, 0.0143755665, -0.0523883998, -0.0418898501, -0.0081675379, -0.0790423825, -0.0658705235, -0.0092097698, 0.0438456833, -0.0095079327, 0.0006801247, 0.00204983, -0.0263993852, 0.0350860693, 0.0123431468, 0.0035538864, 0.0232967697, -0.0108628646, 0.0188297369, 0.0311676562, -0.02232337, -0.0456670374, -0.0741550773, -0.0098359482, 0.0667411909, 0.0650095046, -0.0140651213, -0.0227841754, -0.0373087041, -0.0167781729, 0.0255148355, 0.038021747, 0.0170131698, 0.0099139437, -0.0097117769, -0.0089983149, -0.0130394269, 0.0056077163, -0.0097104143, 0.043459788, -0.0036410112, 0.0244011767, 0.0163878426, -0.0387723409, -0.0086651342, 0.0005101433, -0.0055147712, 0.010348401, 0.01842626, 0.0543045104, 0.0190678388, 0.0136546241, 0.0237798747, 0.0382600725, 0.0118250232, -0.0262083877, -0.043206878, 0.0295365751, 0.0558555201, 0.0105426554, 0.0147313159, -0.0113990717, 0.0452892147, -0.0155048072, 0.0340557285, 0.0928576738, -0.045122195, 0.0534321181, -0.0039861095, -0.0217953809, -0.0342387296, 0.0633481815, -0.0017928224, 0.03334089, -0.0081238141, -0.0207062867, -0.0150233023, -0.0277753957, 0.0045411414, -0.0225259271, 0.0026431878, -0.0362157375, -0.0611352734, 0.0059630321, 0.020247655, -0.0032267978, -0.0341342129, -0.0227632467, -0.0630530939, -0.0154083883, -0.0095258234, 0.0126270633, 0.0324788913, 0.0251722112, -0.0252433624, -0.0044019297, -0.014783632, 0.017048236, 0.0099618342, 0.0119264768, 0.0284743607, -0.0432338677, -0.0633501858, -0.0262225047, 0.0037375155, -0.0189870689, 0.05263789, 0.0080965664, -0.0175540149, -0.006372768, 0.0237237066, -0.042574551, 0.0048284004, -0.0348311737, -0.0643380731, 0.0227816962, -0.0311566405, -0.0121142175, 0.0268821195, 0.0814597458, 0.0578055866, 0.0234774984, 0.0119957663, -0.0577133894, -0.0248076487, -0.012683155, -0.0171865392, -0.0637980923, -0.0607800335, 0.0021292581, 0.0138791986, 0.0454187058, -0.0018134572, -0.0079266652, 0.0246717371, 0.0169376247, -0.007285919, -0.0161474962, -0.0609866455, 0.0126380157, -0.005293991, -0.0036709353, -0.0611341596, 0.0555112176, -0.0518372841, 0.0321682394, -0.0107384669, -0.075340949, 0.0200252794, 0.0456660837, 0.0003316742, 0.00931508, 0.0521462262, -0.011414621, 0.0021980451, -0.0440050177, 0.0606526174, -0.0442536175, -0.0228258446, 0.0014597224, 0.0157055203, 0.0374288708, 0.0365736596, -0.0660074875, -0.0746022984, -0.0636415854, -0.0263888743, -0.0244214647, -0.0444673784, -0.0469823033, -0.0376566388, 0.0366828367, -0.008882436, -0.0131916963, -0.0225436054, -0.0067302939, 0.0020387652, -0.0119881677, -0.0516460128, -0.0034088052, -0.0201090015, 0.041654963, 0.0760827437, -0.0147299692, -0.0113443509, -0.0281012431, -0.0329306982, 0.0158829894, 0.0034205485, -0.005185199, 0.0137006771, 0.0266499184, -0.0347712487, -0.0257694069, 0.0887650326, 0.0254268013, -0.0385940932, 0.0036766541, -0.021967249, 0.0189639889, -0.0032009969, 0.0018624293, -0.074741669, -0.0116568329, 0.0109970653, 0.0406145677, -0.0584808923, 0.0059274542, -0.0126793999, -0.0748148039, 0.0339697339, 0.0136673097, -0.0476777926, -0.0084642684, -0.0543016903, -0.0414604396, 0.0232088882, 0.0206735209, -0.0386157632, 0.004635348, -0.0017442299, -0.0227963571, -0.0623789839, 0.0015686497, 0.0285075866, -0.0320822559, 0.0524327941, 0.0199836381, 0.0313349739, -0.0200286731, -0.0186674334, 0.0772916526, 0.0092043951, -0.0138101373, 0.0102309845, 0.0739903823, 0.0253474843, 0.005145032, -0.000045289, 0.0475118533, -0.0338496752, -0.0387874469, 0.0379187614, 0.037745323, -0.0624915287, 0.023882892, -0.0159637183, 0.0229747985, 0.0604142733, 0.0676127821, -0.0181683116, -0.0235614255, 0.0058760764, -0.0216054525, 0.0156765971, 0.0195254758, -0.0502728671, 0.0153545933, -0.0012405957, -0.0338958055, -0.0280005969, -0.0074889665, -0.0326630734, -0.0133097526, 0.0293937717, -0.0382435769, 0.0205520354, 0.0118720932, -0.0534448214, 0.0005311176, -0.0544163324, 0.101748243, -0.0223595258, 0.0211157016, -0.0284694638, -0.0539637432, 0.0036277669, -0.0055781128, -0.0869786963, -0.0451665446, -0.0107129086, 0.0135490168, 0.025623003, 0.0539917126, -0.0414014906, -0.0408247039, 0.0569761209, 0.0115454867, -0.0335227624, 0.0055050235, 0.0615952685, -0.0091820806, 0.0121915257, -0.0015174563, -0.0047454336, 0.0188164227, 0.0383017696, -0.0386969186, -0.051424481, -0.035612721, 0.0183252916, 0.0343733355, 0.0351771563, 0.0131523134, 0.0150764054, 0.0226359852, -0.0253242943, -0.0291524362, -0.0152969053, 0.0243768655, -0.0069948961, 0.0101313237, 0.0048050149, 0.0510988124, 0.0015129254, -0.0549400114, 0.0407335311, -0.006697332, 0.0268873945, 0.0136917802, 0.0243595857, 0.0511570349, -0.0175534189, 0.0225941278, 0.0681404024, 0.0006976475, 0.0475492515, -0.0216675457, 0.0271886289, -0.0231762379, -0.0046334383, -0.0064784698, 0.0246653371, -0.0706907883, -0.0457610935, 0.0463084504, 0.0603204109, 0.0020644481, 0.0137006808, 0.0595767945, -0.0031311731, 0.027468076, -0.0265466776, 0.0123251332, -0.052739311, -0.051164601, -0.0127066718, -0.0124311959, -0.0296487231, 0.0566603839, 0.0566879734, -0.0379534736, 0.0471351333, 0.0085607599, -0.0881551579, -0.0040734704, -0.0254427772, 0.0484174229, 0.0526177585, -0.0320746303, -0.034965843, -0.0707145184, -0.056556154, 0.0010196905, -0.0358302966, -0.0001827437, -0.0010049818, -0.0037207315, 0.0670819506, -0.0073299198, 0.0306377839, -0.0939777121, 0.0475236326, -0.0004986908, -0.0573410206, 0.0086937482, -5.721236433e-33, 0.0709272102, -0.0553632453, -0.0101700751, 0.0267094988, -0.013505985, 0.0480394624, -0.0147904027, -0.0121975075, -0.0234561227, 0.0107548386, -0.0096204048, 0.0387947932, -0.009118652, 0.029559074, -0.0528225265, 0.0199087914, -0.0078039537, -0.0226779599, -0.0128892027, 0.0406615622, 0.0837769136, -0.0062935082, -0.0081415847, -0.0949976668, 0.0565106124, -0.0040845489, -0.0232154485, 0.0203516204, -0.001770323, 0.0378196985, -0.0047911196, 0.0305591188, 0.0099198157, -0.0030891919, 0.023306815, 0.0557351708, 0.004664117, -0.0228401665, -0.0226117168, -0.0036533661, 0.0544766486, -0.043716047, 0.0289363619, -0.0334759839, -0.0285256058, 0.0202543251, 0.0032493607, -0.0007065776, -0.0051322477, -0.0297707487, -0.0327668749, 0.0088992305, -0.0516745038, 0.019064106, -0.0331357382, 0.0753442347, 0.0433342792, 0.0140850767, -0.0534282774, 0.0770511031, -0.0469578803, -0.0199218057, 0.0171803646, -0.0002746481, -0.0060308948, 0.0366219468, 0.0184054486, 0.0155156581, 0.0032408019, -0.0018948789, 0.0145544019, 0.0341044515, 0.0423253961, 0.0552227311, -0.0083414903, -0.0877580643, -0.0659944639, 0.0251958165, 0.0764138922, -0.0163320955, 0.0299392883, -0.026712304, -0.0686914027, -0.0068411878, 0.0057837949, 0.0016570312, -0.0295760203, -0.0123489248, 0.0038167397, -0.0150020523, -0.0418529212, -0.0242106542, 0.0075386446, -0.0793049932, 0.0143095674, 0.0488941148, -0.017940335, -0.0196657963, 0.0062397653, 0.0077643245, 0.0044749784, -0.0253798869, 0.0383274853, -0.0508895218, 0.0121979583, -0.0134380097, 0.0289577134, 0.0143417157, -0.044121407, -0.0247578211, -0.01859257, 0.0509610176, -0.0468434542, -0.0159954131, 0.0190190505, 0.0427686572, -0.0087737748, -0.0040348289, 0.0403582081, 0.0095745446, -0.0415782072, 0.0181217287, -0.0266048871, 0.0245786943, -0.0191774182, 0.0135254953, -0.0554882661, 0.0195004381, 0.0509525351, -0.0565955527, -0.0052439789, -0.0541549623, 2.942e-7, -0.0168610346, 0.009235207, -0.0173501577, 0.0111451102, 0.0337958336, 0.0838882029, 0.0313690044, 0.0599305034, 0.0088594351, -0.0496450104, 0.0008488302, 0.0249518733, 0.0387973599, 0.0232812986, -0.0376606397, -0.0068633603, -0.0503799021, -0.0913520306, -0.0553856418, 0.0019443614, 0.0622382984, 0.0632367358, 0.0620921701, -0.0579450019, -0.0394017659, -0.0600129589, 0.0058246176, 0.0032663445, -0.0164197013, 0.0139343617, 0.0617883652, 0.0111872898, 0.0369308777, 0.0543161035, -0.0411918461, 0.0040002251, -0.0617612228, 0.0141638638, 0.0203259457, 0.027508162, -0.0406507403, -0.053176634, 0.0082980404, -0.054291226, 0.0460664928, -0.0151018156, -0.0219761766, -0.0336055979, -0.050019931, -0.0170593448, -0.0178306755, -0.0114658875, -0.0299937539, 0.0485848337, 0.0162561201, -0.0093358671, 0.0123552699, -0.0649561584, 0.0100208893, -0.0115754427, -0.0156362467, -0.0429905728, 0.0151997805, 0.0223497059, 0.0593036301, 0.0350391306, 0.0361527801, 2.8196133e-34, 0.024042448, -0.0202169064, 0.0050347471, -0.0058125169, 0.0469366945, 0.0215404518, -0.0020952947, 0.0412801728, 0.0144067835, -0.0110081779, 0.0141174886 ]
http://arxiv.org/abs/2406.12260v1
http://arxiv.org/pdf/2406.12260v1
Self-Supervised Time-Series Anomaly Detection Using Learnable Data Augmentation
2024-06-18T04:25:56
2024-06-18T04:25:56
Kukjin Choi, Jihun Yi, Jisoo Mok, Sungroh Yoon
cs.LG
cs.LG, cs.AI, cs.CL
Continuous efforts are being made to advance anomaly detection in various manufacturing processes to increase the productivity and safety of industrial sites. Deep learning replaced rule-based methods and recently emerged as a promising method for anomaly detection in diverse industries. However, in the real world, the scarcity of abnormal data and difficulties in obtaining labeled data create limitations in the training of detection models. In this study, we addressed these shortcomings by proposing a learnable data augmentation-based time-series anomaly detection (LATAD) technique that is trained in a self-supervised manner. LATAD extracts discriminative features from time-series data through contrastive learning. At the same time, learnable data augmentation produces challenging negative samples to enhance learning efficiency. We measured anomaly scores of the proposed technique based on latent feature similarities. As per the results, LATAD exhibited comparable or improved performance to the state-of-the-art anomaly detection assessments on several benchmark datasets and provided a gradient-based diagnosis technique to help identify root causes.
[ -0.0507508256, 0.0585849769, -0.0172870271, 0.0713590607, -0.0146621177, 0.0207442008, 0.057930544, 0.0133972121, -0.0019075676, 0.0340614505, 0.0334455408, 0.0060184356, -0.0827570632, 0.0833174363, 0.0061336164, 0.006051084, 0.0531814024, -0.0101686874, 0.0237930305, 0.0201650858, -0.0160465576, -0.0400918163, -0.0300365016, -0.0270343069, -0.0423403382, -0.0062755384, -0.0151234539, -0.0193228256, 0.0648399517, -0.0575764328, 0.0231586844, -0.0251011271, 0.0360064246, 0.094829753, 0.0000021266, 0.0012313083, -0.0259608421, -0.0334172845, -0.0099137705, 0.0086950753, -0.0101164756, -0.0640546083, 0.0197056867, 0.0105453376, -0.0638161004, -0.0500795618, 0.0086147701, 0.0861983523, 0.0117530674, 0.0467979871, -0.0187349971, 0.0223381426, 0.0181485973, -0.0466678627, -0.0245010704, -0.0072536725, -0.0019112347, -0.0405627973, 0.0104892775, -0.0293462817, -0.0188557524, 0.0036185791, 0.0508018509, -0.0067748907, 0.0748992935, 0.0567522161, 0.0016630912, 0.0425860696, -0.0004114858, 0.0494158491, -0.0186617263, -0.0166020598, 0.0142644066, -0.0561011434, 0.0075221309, -0.012875868, -0.0158621669, -0.0318500809, 0.0327776931, 0.0399836563, 0.0140112313, 0.0664272383, 0.0175364576, -0.0147623289, -0.0021593575, 0.0296747684, -0.0354428478, -0.0515723377, -0.0827722847, 0.0096957413, -0.0006957898, -0.0016189843, -0.0198021475, 0.0184491836, -0.040144708, -0.0558370166, 0.0247778315, -0.075348407, 0.014893922, 0.0044369362, -0.0105371298, 0.0180196483, -0.0736538395, 0.0072187958, -0.026546726, 0.0543658994, -0.0289417561, 0.0027263181, -0.0102412086, 0.0218826812, -0.0274751019, 0.0072516887, 0.0095040649, 0.0068068188, -0.013659751, -0.0052722809, -0.0013909285, 0.0190603193, -0.0341528244, -0.0095392466, 0.0118249226, 0.0112904944, -0.0206580572, 0.0116491327, -0.0126179038, -0.0159970131, -0.018160414, 0.0522469245, -0.0110042449, -0.0321935564, -0.046001818, 0.0201724824, 0.0278318729, 0.0130418921, -0.0058771735, 0.0277019851, -0.0162061714, 0.0037307218, -0.10125269, -0.0074619418, 0.0011719898, 0.0256635025, -0.0400103778, -0.0004831899, -0.0296418779, -0.0467249639, 0.0075943437, 0.0268344283, 0.0003866774, -0.037439432, 0.0409826748, 0.0237971321, -0.0690281391, -0.0101229222, 0.0165415742, -0.0046953931, -0.0225033965, -0.0115865665, 0.041839689, -0.0069717774, 0.0049001421, -0.0337716974, 0.0595532209, -0.022859484, 0.0216052141, -0.0507591143, -0.0222504996, 0.0019484573, -0.0609107986, -0.0097080693, 0.0647867918, -0.0555523895, 0.0164167788, -0.0608202703, 0.0121898092, -0.0228851568, -0.0022590498, -0.0048372489, 0.0357030854, 0.0101025356, -0.0811216831, -0.0215584915, 0.0108548254, 0.0409671701, -0.034978494, 0.0009691389, -0.0033796281, -0.0317551494, -0.0411634557, -0.0651740357, -0.0074797035, -0.0011309857, -0.0146551095, -0.0174446199, 0.0454215296, -0.0278128255, 0.0081053181, -0.0650290325, 0.0340055227, 0.0371926725, -0.0200895667, -0.0336266942, 0.0359339938, 0.0796254128, 0.0146640809, -0.0477103181, -0.0332920551, -0.0613918044, -0.0107314233, -0.019481061, -0.0111044869, 0.0049408977, 0.0612039939, -0.0142224589, -0.0285563897, -0.0522854887, 0.0102402382, 0.0016913974, -0.0643975586, 0.0244698878, -0.0029897813, -0.0544108748, -0.0456470177, 0.020093238, -0.0060853339, -0.0931785256, 0.0393483788, 0.0351763889, 0.0136851594, -0.0174998045, 0.0115071153, -0.0338711664, 0.0415091962, -0.0828462318, -0.0556869432, 0.0374664702, -0.0411761627, -0.0109153464, 0.0072611226, 0.000943311, -0.0131875975, 0.0332182124, -0.048497811, -0.0883634686, 0.0810904726, -0.0020352097, -0.0148215517, -0.0567796491, -0.0192072168, 0.0320272632, 0.0753328949, 0.0335341208, 0.0546313412, 0.0060420632, -0.0299878065, -0.0149942739, 0.0298000164, 0.0596655495, -0.028438529, -0.0025409765, -0.0495806299, -0.0244947765, 0.0013929895, 0.0106266579, -0.0164735299, 0.0077891257, 0.0908258706, 0.0141337002, -0.01789671, -0.0235746242, -0.0030486444, -0.0231772643, -0.0084984042, -0.0189117678, -0.0551070794, -0.002203814, -0.0091287121, -0.0084776143, -0.0076610129, 0.0679334998, 0.0330900736, -0.0240452513, -0.0004208141, 0.007572853, -0.015490937, 0.0091352034, 0.0381032303, 0.0250876639, -0.0063117505, -0.006532154, 0.0252126548, 0.0097395396, -0.0000592732, -0.0180998892, -0.0314046443, -0.0211579259, -0.0149335014, 0.0500388443, -0.010855373, -0.0033151223, 0.0082414001, 0.0204036348, -0.0146593805, 0.0294794347, -0.0456276573, 0.0832732618, 0.0364362262, 0.0147958118, -0.0353411399, 0.0327972099, 0.0154634276, -0.0250955336, -0.0135486498, 0.0085830512, 0.0218069609, -0.0360028632, -0.0116150789, -0.0109766796, -0.0258499924, 0.0385330431, 0.0042687412, -0.0164399836, 0.0280822515, 0.0345586129, -0.0043948316, 0.0264401175, -0.0647104904, -0.0097661428, 0.0104310671, 0.0250520874, -0.0137100741, -0.0335879922, -0.0758672953, 0.0092299832, 0.0156843122, 0.0120979901, 0.0065921061, -0.0572373196, -0.052335538, 0.0309094954, 0.0252548885, -0.0386773795, -0.0767169669, -0.0253396463, 0.0268889107, -0.0055848639, -0.0567495748, -0.0273326039, 0.0030587856, 0.0170719419, -0.0456046462, 0.0688619018, 0.0088539785, -0.0232898109, 0.0012800262, 0.0573809631, 0.0065905051, -0.0096404655, 0.0317277163, -0.0183807481, 0.0372846797, -0.0190443769, 0.0168938972, -0.0306815375, -0.0908984616, 0.0446455106, -0.057126265, -0.008681112, 0.0160806123, -0.0293815974, -0.0236431099, -0.0384458937, -0.0286126547, 0.0430353768, -0.0164298415, 0.0297911484, 0.0226873066, 0.020017501, -0.0058305557, 0.0046283673, -0.0406172425, -0.0089722918, 0.0073037706, 0.0054357857, 0.0599846765, -0.0108410781, -0.0357508287, 0.0286756996, -0.0466660894, 0.0633499771, -0.0263272561, -0.0650392473, -0.100178726, -0.0117135094, 0.0265005548, -0.0919707119, 0.063757211, -0.025146937, 0.0169139877, -0.0114836935, 0.0743992701, -0.0592279956, -0.0909807906, -0.0505424067, -0.0054386905, 0.0147534069, 0.0193774793, -0.0278150458, -0.012978306, -0.0277612973, -0.0318976901, 0.0015713046, 0.0460403152, -0.030301461, 0.0500204116, 0.0289298333, -0.038378261, 0.0152610028, 0.0867441967, -0.0745364055, 0.0200495105, 0.00851114, 0.0702701285, -0.0300617032, 0.0044990224, -0.0278124511, -0.0447319858, 0.0541672446, 0.0325511247, -0.0145024722, -0.0079727732, -0.0168009587, 0.0530861579, -0.0037902193, -0.0383613668, 0.0431881547, 0.0092134578, 0.0532019772, -0.0603104681, -0.0113629345, -0.083647348, -0.0248466097, 0.0217219684, 0.0000721081, 0.0247539002, -0.0783017054, -0.0152651137, -0.0767538697, -0.0080409776, 0.0223453678, 0.0040023299, 0.018025158, 0.0182536338, -0.0028501046, -0.0029815908, -0.0334962904, -0.0152002396, -0.0773866102, -0.0119312322, 0.0399831384, -0.0083329966, 0.0008569848, 0.0637947023, -0.0278408341, 0.0184943788, 0.0787134692, 0.0644489378, -0.043735534, -0.0193611495, 0.0204487704, -0.0710477754, 0.0153750144, -0.0000681577, 0.0127502708, 0.0720937774, 0.021926906, -0.0082921982, -0.049985148, -0.0379049778, 0.0089863595, -0.0074332538, 0.0424097218, 0.0157666691, 0.0294187069, -0.0623186715, 0.0056440709, 0.0198285487, 0.0396560207, -0.0081405677, 0.0489474759, 0.0342011787, -0.0038243532, -0.0425844267, 0.0383461714, 0.0181579981, -0.0327467285, -0.0538033135, 0.0089590922, -0.0006177059, 0.0544169098, -0.0285657328, 0.0395805053, 0.0316329338, 0.0077041723, 0.0416601747, 0.0290485546, 0.0363179035, 0.0017430602, 0.001356733, 0.0418119915, -0.0376422368, -0.0193053745, -0.044242315, 0.0130321104, 0.0063861022, -0.0299000684, 0.0068755946, -0.0609984063, -0.0134766977, -0.0380566008, 0.0227388963, 0.0143748941, 0.0385011509, -0.0088919178, 0.080837369, 0.0028113017, -0.0049975947, -0.0294921584, 0.0170259699, 0.0670488253, -0.0125802364, 0.0276557468, -0.0010348102, 0.0423222892, -0.0437693, 0.0374646522, 0.0935647786, 0.0325183906, 0.0186300967, -0.0029237738, -0.0017069511, 0.0019434724, 0.0127660744, -0.0004471481, -0.0086501669, 0.0400809273, 0.009549221, 0.0466834642, 0.000599188, 0.0301451664, 0.0307285599, -0.0362904817, 0.0426106118, -0.0030769771, -0.0401172303, -5.766888225e-33, 0.0234182291, -0.0438093878, 0.0087507227, 0.0047051175, 0.0221765731, 0.0273406487, 0.0286641624, -0.0484509617, 0.0300470814, 0.0182174314, -0.0099872965, 0.0687934756, 0.0067767715, 0.0148101784, 0.0383247063, -0.0435740016, 0.0770331621, 0.0092578977, 0.0467075519, 0.0517165102, 0.0714629441, 0.0248610713, 0.0513811707, -0.0752547383, 0.0024205812, -0.0099383425, -0.007755016, 0.0140863592, 0.0481498986, 0.0154054901, -0.0284550972, 0.0450453423, 0.0134825008, -0.0512466729, -0.023214478, -0.038696181, -0.0232071318, -0.0534385704, -0.0533977412, -0.0091862259, -0.0123637849, -0.0395158418, 0.0429465026, -0.0146899121, -0.013382555, 0.0327897295, 0.0399705544, -0.0267319586, 0.027442079, 0.0377027057, -0.0331319831, 0.0159443468, -0.0699917078, 0.0123501094, 0.0506404191, 0.0073742517, 0.0135909524, 0.0116288839, -0.0938862637, 0.0012746592, 0.0212691706, -0.0390277654, 0.0182901639, 0.0166683979, 0.0143074254, 0.0282996185, 0.0301130041, -0.0162237808, 0.032712359, 0.0640514195, -0.0110556642, 0.0650141239, 0.0411025323, 0.0391963832, 0.0656428412, -0.0435230583, -0.0820431635, 0.0475117788, -0.0255392157, -0.012836148, 0.0242975298, 0.0145293698, -0.0370299444, -0.0010445537, 0.0495087318, -0.0164266881, 0.0019525024, 0.0134567395, 0.0178688709, 0.0278158262, -0.0489603132, 0.013143111, 0.0030396681, -0.0467493646, 0.0322047696, 0.0056936271, -0.0150622102, -0.02343118, 0.0389681645, -0.0430988744, -0.0367326029, -0.0132022342, 0.0507588647, 0.0396789722, 0.0469325408, -0.0402463861, 0.0225768518, 0.0634469762, -0.0160707645, -0.0074529923, 0.0028818429, 0.0243214909, -0.0370365903, -0.0200825538, 0.0341944061, -0.0368012935, -0.0054416731, 0.076270096, -0.0106426887, 0.0265724845, -0.0141436029, 0.0040806388, -0.0234163385, -0.0158684999, -0.0162490327, -0.0157373156, -0.0007567068, -0.0101210056, -0.0005533479, -0.0548939407, 0.0225118939, 0.0062613441, 2.691e-7, -0.0403958149, -0.0127460361, 0.0443082042, -0.0082689244, 0.0449175499, 0.0354859419, -0.0251611862, -0.0014472213, -0.0326494351, -0.0014955235, 0.0993958116, -0.0075537041, -0.001879087, 0.0263864473, 0.0341473222, -0.0111031663, -0.0411432125, 0.0369967036, -0.0569392741, -0.0100222602, 0.0587061234, 0.0725131109, 0.054453887, -0.0404034369, 0.0897777155, -0.0367264412, 0.0107517205, 0.0016484357, 0.0052463054, -0.0116513725, 0.0573570728, 0.0940062776, 0.013284564, 0.0452231579, -0.0257308986, 0.0228570011, -0.0457240008, -0.0387111008, -0.0211263075, -0.0126669286, -0.0233081616, 0.0191017408, 0.0361889377, -0.00652174, 0.0418294743, -0.0040246872, -0.0157962888, 0.0240659174, -0.0510465503, 0.0341921933, 0.0071048378, 0.0091982614, 0.005071349, -0.0131280869, 0.0054851389, -0.0192409661, 0.0030581385, -0.0021470697, 0.0362292118, -0.0007014575, -0.0249332339, -0.0092394743, -0.0162980966, -0.0005534875, 0.0476508848, 0.0566925295, -0.0321981572, 1.822151472e-34, 0.0074141822, 0.0118877599, -0.0429824516, 0.0097023286, -0.03387798, 0.0073769656, -0.0576726161, -0.022343263, 0.0187547877, -0.0185774956, 0.0000249814 ]
http://arxiv.org/abs/2406.12255v1
http://arxiv.org/pdf/2406.12255v1
A Hopfieldian View-based Interpretation for Chain-of-Thought Reasoning
2024-06-18T04:07:13
2024-06-18T04:07:13
Lijie Hu, Liang Liu, Shu Yang, Xin Chen, Hongru Xiao, Mengdi Li, Pan Zhou, Muhammad Asif Ali, Di Wang
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
Chain-of-Thought (CoT) holds a significant place in augmenting the reasoning performance for large language models (LLMs). While some studies focus on improving CoT accuracy through methods like retrieval enhancement, yet a rigorous explanation for why CoT achieves such success remains unclear. In this paper, we analyze CoT methods under two different settings by asking the following questions: (1) For zero-shot CoT, why does prompting the model with "let's think step by step" significantly impact its outputs? (2) For few-shot CoT, why does providing examples before questioning the model could substantially improve its reasoning ability? To answer these questions, we conduct a top-down explainable analysis from the Hopfieldian view and propose a Read-and-Control approach for controlling the accuracy of CoT. Through extensive experiments on seven datasets for three different tasks, we demonstrate that our framework can decipher the inner workings of CoT, provide reasoning error localization, and control to come up with the correct reasoning path.
[ 0.0202046614, 0.0734278113, -0.0087213358, 0.0515626632, -0.0629801527, 0.0401649177, 0.0294529665, 0.0061509395, 0.0279459357, -0.0499461144, -0.0184513386, -0.0442648269, -0.0121774599, 0.0120824287, 0.0148763964, -0.0273630284, 0.0631928965, -0.0790179521, -0.0210890416, -0.0095613021, -0.0244729035, 0.0080471244, -0.0456619374, 0.032419771, -0.0031434093, -0.0255920608, -0.0312369391, -0.011020299, 0.0449893996, -0.0272088666, -0.0513583794, 0.0494145378, 0.0235674195, 0.0384920053, 0.0000021232, -0.0465982184, -0.0198119599, 0.0350739546, -0.0388289988, -0.0073218015, -0.0263433792, 0.0230944771, 0.0041852118, 0.0163133126, -0.0090426551, 0.015977608, -0.0036356754, 0.0826404318, 0.0437628441, 0.0696803033, 0.0078934329, -0.0547558442, -0.0040559, -0.032679446, 0.047881186, -0.0520985574, 0.0042827204, 0.0507031456, 0.0284928791, 0.0174204037, -0.0296836812, 0.0471476763, 0.0129563138, -0.0116323559, -0.0320165791, 0.0315463431, -0.0167367067, -0.0143617122, 0.0124422787, 0.0460054614, -0.0096437186, -0.024835946, -0.0119154565, -0.0060013211, -0.0118986983, 0.0426509306, -0.0547187142, 0.0192056186, -0.0277076531, 0.0220810715, 0.0086841872, -0.0126998695, 0.0482723787, 0.0041810633, -0.0723815113, 0.0812176615, -0.0136278262, -0.0255026296, 0.0094732894, 0.0188207775, 0.0120870825, -0.0495839119, 0.0039000178, 0.0526330322, -0.0369334333, 0.0342942849, 0.0290868375, 0.020243464, -0.0127795814, -0.0244936906, 0.0190676618, 0.0549119189, 0.0077151372, 0.056905929, -0.0453828946, 0.0196472779, -0.0496709682, 0.0182344299, -0.0294236466, -0.0065159281, -0.0683833733, -0.0272378307, -0.0506467819, 0.0583717115, -0.0134060374, -0.0094885761, -0.0088066319, -0.0032151677, -0.0217338596, 0.0013946915, -0.0109093646, 0.0045814882, 0.0435674749, -0.040277157, -0.0503221974, 0.0499650836, -0.0293777343, 0.008123978, 0.0119006345, -0.0237827506, -0.0160234924, -0.0193502791, 0.009233688, -0.0419365987, 0.0144161405, 0.0378886871, -0.0011177409, -0.0324768163, -0.0303331707, -0.041611325, -0.0238597058, -0.0783620253, 0.0182835273, -0.0559911281, 0.0125788208, 0.0293995328, 0.0103328591, -0.0234714765, 0.0033232856, 0.0232032016, -0.0684594437, 0.0656179115, 0.0509368554, 0.0023942778, -0.0100062462, 0.0115350801, -0.0413185768, 0.0579473786, 0.0202696193, 0.0073246225, 0.002992348, 0.0157890301, 0.0220954195, -0.0047432142, 0.0289793033, -0.0195598062, -0.0195308588, 0.0083481288, -0.032150846, 0.0236076098, 0.0073198099, 0.0432497151, -0.0392366722, 0.0426983796, 0.0135746263, 0.0565303005, 0.0469369739, -0.0115961907, 0.0549312085, -0.0350031592, -0.001907663, 0.0180083513, -0.056073904, 0.0516915917, -0.015956372, 0.007083172, 0.0063435747, 0.0039270227, -0.0247196835, -0.0436085314, -0.012242171, 0.0274927337, -0.004341451, 0.0391031317, 0.0559143834, 0.0022002712, -0.0173661318, 0.0552578568, 0.0060277404, -0.0444677472, -0.0020998456, -0.0596007369, -0.006142701, 0.0631787404, 0.0482702293, -0.0034820598, -0.0134543478, 0.0216124579, -0.0025883785, 0.0332463533, 0.0311717223, 0.000885681, -0.0214775112, -0.0471904501, -0.0349678434, -0.0186840557, 0.0155444415, 0.0030433561, -0.0271620639, -0.0064704698, 0.0283104647, -0.0144176204, -0.0056994739, 0.012921039, -0.009303797, -0.0060910131, -0.0256664902, 0.0443780161, 0.0071853488, 0.0299950782, -0.0030816006, 0.0393325053, -0.0033693407, -0.0296107158, -0.0142320869, 0.0206955802, -0.0240143724, -0.0433449894, 0.0024522718, -0.0124790622, -0.0289562438, -0.00937034, -0.0394417495, -0.0660486594, 0.0356114209, -0.0338362232, 0.0603291392, -0.0340414457, 0.0074919984, -0.0119184004, -0.0435701609, -0.0310372971, 0.091873087, -0.0083931116, 0.0167063009, 0.0088374643, 0.046285294, 0.0175130125, -0.0084054386, -0.0201529749, 0.0328300111, 0.0080636805, -0.0158794131, 0.0163667109, -0.0187389255, -0.0554964393, -0.0093172817, -0.0716521516, -0.0208306871, -0.0083229756, 0.0184580088, -0.0064365072, -0.0047609811, 0.0106463982, 0.002382559, -0.0382316187, 0.0094249742, 0.0102642495, 0.0143113369, 0.0206100512, -0.0029174255, -0.0445308238, -0.0057019177, -0.0118450858, -0.0518156327, 0.0641490892, -0.0346535519, -0.0419924036, -0.045265872, 0.0450434387, -0.0560123362, 0.0309112202, -0.0282309819, 0.0119284336, 0.0604624562, -0.0210700575, 0.0581054352, 0.0661486089, -0.0160715953, 0.0267128181, 0.0799767971, -0.0042294902, -0.0400139168, 0.046960365, -0.0247515626, -0.0021482031, -0.0036898314, -0.0167419408, -0.0455155112, 0.1051917374, -0.0240195096, -0.0102264509, -0.0796647966, 0.0065479372, -0.0095568923, -0.020511426, -0.0702901185, -0.0125035467, -0.0083398353, 0.0660578161, -0.013110768, -0.0339504667, 0.0731408596, -0.0368295088, 0.0341214724, -0.031206429, 0.0239923503, -0.0269086789, 0.090541333, 0.0115496954, 0.0105473399, -0.0050136484, -0.0091599151, -0.0442759767, -0.0094952481, -0.0012768564, -0.0448651277, 0.0426481962, -0.0507117845, -0.003041045, 0.014675037, -0.013008127, -0.0445390902, 0.0206249915, -0.0762379915, 0.001310469, -0.0150070665, -0.0179381799, 0.0102590565, -0.0049774526, 0.0660646111, 0.029342426, -0.0183330681, -0.0229329523, -0.0052755279, 0.0286539253, 0.0485888049, -0.0161835738, 0.0499322563, -0.0382659025, 0.040416047, 0.0499169193, 0.0499863252, 0.0157145541, 0.0094131511, -0.0105231386, -0.009096398, 0.0092571927, -0.0587859899, 0.0076460997, 0.0340606198, -0.0547369719, -0.0595177561, 0.1240225509, 0.0466284491, -0.0564708486, 0.0199559163, -0.0676337034, 0.0210102014, 0.0258816686, 0.0252920222, -0.0634322166, -0.0385370292, 0.0319750793, -0.006858021, -0.0145983072, -0.0389300585, 0.0054133553, -0.1129028425, 0.0065705525, 0.0053022676, -0.0346874222, -0.0229872763, -0.0398786403, -0.0196515433, 0.0298560001, 0.0121063422, 0.0329867974, 0.0161071345, 0.021734681, 0.0364666767, -0.0000492823, -0.0224683601, 0.0641282871, -0.012536739, 0.0313308164, 0.0541311055, 0.0151635548, 0.0378616825, -0.0352924876, 0.0586225651, -0.0197175331, 0.0342529304, -0.0257772319, 0.0032806692, 0.001197995, -0.0149458069, -0.0313705094, 0.0349776596, -0.0201080535, -0.0359922089, -0.0172927305, 0.0975548178, -0.0534567125, -0.0091705434, -0.0310065821, 0.0221262872, -0.0421669595, 0.0678003207, 0.046854388, -0.0159740113, -0.0390958972, -0.0249842834, -0.0335655063, -0.0395009443, -0.0503358394, 0.050446704, 0.0501848161, 0.0263443049, -0.0230264068, -0.0309337396, 0.001355995, 0.0657628253, -0.0337922685, 0.0182822142, 0.018820582, 0.0198832657, -0.0251180548, 0.0404189751, -0.0461414233, 0.0240610838, -0.020650208, 0.0279667769, 0.0157124698, -0.0273444243, -0.026558876, 0.0174129829, -0.064564012, -0.0409579948, 0.0002362782, 0.0389231779, 0.0329818539, 0.0586491674, -0.0043757558, -0.0277584586, 0.0112550817, 0.0187510457, 0.0121012963, 0.0245277192, 0.0111676864, 0.0389951281, 0.0258897487, 0.045468729, -0.0499082431, -0.0077231899, 0.0290700179, 0.078052938, -0.0263732374, 0.0288927611, 0.0164185371, 0.0157707389, 0.0424039401, 0.0120300641, -0.0039241347, -0.0208463967, 0.0557520315, -0.0559122376, -0.0167476442, -0.0492709801, -0.0026823904, 0.0286030937, -0.0187172238, -0.0124089103, -0.0518226959, 0.0157386325, 0.0246567409, 0.0029890754, 0.0049569155, -0.0205456447, 0.0160286985, 0.029400833, -0.0151128219, -0.0277233496, -0.004261699, -0.002417021, 0.0520054214, 0.0108580459, 0.1118977964, 0.0339242108, -0.0347139463, -0.0634579882, -0.0060548545, -0.1127570793, -0.056128256, 0.0303233247, 0.0021879037, 0.0331499316, -0.0376786664, 0.0556770749, -0.0562568083, 0.0012793946, 0.0292361733, 0.0276294481, 0.0319759026, -0.0558732711, 0.0248516835, 0.040059559, 0.014827258, -0.020627873, 0.060744144, -0.0084176799, 0.021963615, 0.0104128821, -0.0107716294, -0.0251641665, -0.046503108, -0.0315265656, 0.0215012692, -0.0193016492, 0.0210301355, -0.101561226, -0.0772629455, -0.0576262102, 0.0026184446, -0.004885233, -0.0276156645, 0.0117808962, 0.0757947117, 0.0132129872, -0.0384999774, -0.0253817569, 0.0141803175, 0.0026221385, -0.0094363326, -0.0294454042, -6.233606869e-33, -0.0253570508, -0.0635845363, 0.0436670817, -0.0281028971, -0.0281521156, 0.0106689241, -0.0596173927, 0.0230514631, -0.0482821241, 0.0340489335, -0.0144037865, 0.0117839128, 0.0065856245, 0.0383853838, 0.0039701927, 0.0031158901, 0.0062405588, 0.0255686361, -0.0150228264, 0.0172751956, 0.0953942761, 0.0170154963, 0.0347316265, -0.0132863587, 0.0195383504, -0.0186880007, -0.0030946038, 0.0659916326, -0.0747470036, 0.0394885987, -0.0178879276, -0.0087898606, 0.0226820782, -0.0470771417, -0.0001406459, -0.0056170537, -0.0640966892, -0.0132336225, 0.0397210158, 0.0080791311, -0.0134789301, -0.0183886793, 0.0208895449, 0.0127708241, -0.0072891009, -0.042155005, -0.0013003683, -0.0174463615, -0.0295794364, 0.0027503732, -0.0612770505, 0.005187179, -0.0084684268, -0.030218713, 0.0272480715, 0.0504858606, -0.0187569372, 0.0101396348, -0.0340407379, -0.0107001774, 0.0109990155, 0.0138233481, 0.0921016634, 0.008485104, 0.0073236781, 0.0558665507, 0.0461020358, -0.0102540031, -0.0892846733, -0.0144747971, 0.0146063864, 0.0131579302, 0.0432812758, -0.0076619503, 0.0443184972, 0.0422566608, -0.0829441845, -0.0285909139, -0.0047063055, 0.0671174899, 0.0324068293, 0.0172584374, -0.050395865, -0.0179687832, -0.0467926264, 0.0093931658, -0.0434933864, -0.0228177439, -0.001073705, -0.0160808992, -0.0360041633, -0.039734412, 0.0480902009, -0.0438047498, -0.009331027, 0.0329177976, -0.0077229906, 0.0347409286, -0.019324068, 0.0445694849, -0.032770019, -0.0404037237, -0.0183589142, 0.0355191268, 0.0143276798, 0.0013115946, 0.041237779, -0.0014853317, -0.0460368767, -0.0173904467, -0.1007901281, -0.0068500014, -0.0191749018, -0.0024142808, 0.0517871007, 0.0142914364, -0.0101629104, 0.0624269955, -0.010224415, -0.0230409577, 0.0059200823, 0.0349276997, -0.0342035815, 0.0025382114, -0.0158318784, -0.0218600426, -0.0279708132, 0.0205823556, 0.0575192347, -0.0651911348, -0.0133479312, 0.0333736688, 2.847e-7, 0.0466894433, 0.0431167632, 0.0046240222, 0.0575857311, 0.0111738127, 0.0272486378, -0.0009405945, -0.0339404903, 0.0159731284, -0.0379869603, 0.0175859816, 0.0637249723, 0.0417796485, 0.0195179228, -0.0319631323, -0.0183548108, -0.059730988, -0.0428881347, -0.0165650453, 0.0006879545, 0.0432190448, 0.0501846336, 0.0095117614, -0.0154371532, 0.0291494858, 0.0059208642, 0.0527061485, -0.011404206, 0.0196825825, -0.0062296288, 0.0033724688, -0.0272642169, 0.0378399901, 0.0199031103, 0.0018604614, 0.0117416065, -0.0302000195, 0.0306154713, -0.0012598552, -0.0406972989, -0.0297943857, -0.02078465, 0.0218960755, -0.1040810496, 0.0972760469, -0.0504874438, -0.0305281896, -0.0043688742, -0.0047026221, -0.0024881826, -0.0169492792, 0.0396789163, -0.0093691777, 0.0127508529, 0.0123109221, -0.0076110517, 0.0209543109, -0.0964893475, -0.0371177457, 0.0354719535, -0.0226184297, -0.014712573, -0.0419780985, -0.0179708395, 0.0308120493, -0.0509707332, -0.05654075, 2.623528444e-34, 0.0381067321, -0.0244993642, 0.0503523797, -0.0055763922, 0.0505914055, -0.0030444458, 0.0031950332, 0.0176403783, 0.0465292074, -0.0837431848, -0.0366205648 ]
http://arxiv.org/abs/2406.12252v1
http://arxiv.org/pdf/2406.12252v1
Language and Multimodal Models in Sports: A Survey of Datasets and Applications
2024-06-18T03:59:26
2024-06-18T03:59:26
Haotian Xia, Zhengbang Yang, Yun Zhao, Yuqing Wang, Jingxi Li, Rhys Tracy, Zhuangdi Zhu, Yuan-fang Wang, Hanjie Chen, Weining Shen
cs.CL
cs.CL
Recent integration of Natural Language Processing (NLP) and multimodal models has advanced the field of sports analytics. This survey presents a comprehensive review of the datasets and applications driving these innovations post-2020. We overviewed and categorized datasets into three primary types: language-based, multimodal, and convertible datasets. Language-based and multimodal datasets are for tasks involving text or multimodality (e.g., text, video, audio), respectively. Convertible datasets, initially single-modal (video), can be enriched with additional annotations, such as explanations of actions and video descriptions, to become multimodal, offering future potential for richer and more diverse applications. Our study highlights the contributions of these datasets to various applications, from improving fan experiences to supporting tactical analysis and medical diagnostics. We also discuss the challenges and future directions in dataset development, emphasizing the need for diverse, high-quality data to support real-time processing and personalized user experiences. This survey provides a foundational resource for researchers and practitioners aiming to leverage NLP and multimodal models in sports, offering insights into current trends and future opportunities in the field.
[ 0.0038268531, 0.0375120081, 0.0043728221, 0.0367543846, -0.0046187076, 0.0103751766, -0.0148680387, 0.0150016174, -0.0472157747, -0.0827397332, 0.0084840497, -0.0304573681, 0.0051577436, 0.0456113666, 0.0518140756, -0.0903257132, -0.0386662111, -0.0538533218, 0.019448325, 0.0267059188, 0.0442085899, 0.0437373407, -0.0543267354, 0.0292079374, -0.0692131445, 0.0186118949, -0.0038666236, -0.0190180875, -0.0315122679, -0.0370688029, -0.0518843122, 0.0100264084, 0.0722493976, -0.0449437909, 0.000001645, -0.0436971448, 0.045028843, -0.0535210259, -0.005268102, -0.0011159815, 0.0687235892, -0.0050418684, 0.0453917012, -0.0287960004, -0.0096586682, 0.028930692, 0.0778563619, -0.007535506, 0.0409277044, 0.0247687455, -0.0333644301, -0.0309865773, -0.0116833691, -0.0089781545, -0.0191127583, -0.0056136325, -0.0015014174, 0.0262354817, -0.0280576684, 0.018180348, -0.0086333212, 0.0101735704, -0.0309590455, 0.0250415225, -0.0186050124, 0.0029280416, -0.0289137755, -0.0149684688, -0.0086346827, 0.0364878848, -0.0218925215, 0.000418714, -0.0055992426, -0.0254109967, -0.028598588, 0.0283514559, -0.0210729372, 0.045136895, 0.0052031912, 0.0156406499, -0.0539431237, 0.0422493145, 0.0208414495, 0.0056465128, 0.0040640328, 0.0018764104, 0.0172772072, 0.018423086, -0.0224075411, 0.0295581128, 0.0201826356, -0.0614275299, -0.0025676575, -0.031118378, -0.0327653326, 0.0062679243, -0.0283074938, -0.0281745661, -0.0157801844, -0.0545088351, 0.0913165957, 0.0293332748, -0.0206160713, 0.0384052284, 0.0153927403, -0.0236314926, -0.0073095555, -0.0440237299, -0.0036465097, -0.0119336294, -0.053559199, -0.004690778, 0.0323609598, -0.0175012704, -0.0852181837, -0.0058597466, -0.049205903, 0.0367117934, 0.0195680689, -0.0044273175, 0.0061254571, 0.0113620162, 0.0483518131, -0.0014812832, -0.0395237282, 0.0212365985, -0.0491625443, 0.0211733636, -0.0090036886, -0.072292462, 0.0373231582, 0.0070833666, 0.0281728078, -0.0166259129, 0.0233409368, 0.0469523631, -0.0060927672, -0.0156063065, -0.0081000468, -0.0343467332, -0.0260593016, -0.0408514962, 0.0029526595, -0.0815358087, 0.0680700839, -0.0378327034, -0.0008058287, -0.0434979796, 0.0211183168, 0.0349934921, -0.0390779041, 0.0720014274, -0.0232149716, 0.0360161848, -0.0100291241, -0.0384439379, 0.032563895, 0.0776254684, 0.0176708139, -0.0391819738, 0.0461406894, -0.0045518423, -0.0136863086, 0.0402433351, -0.0403600782, -0.0204194915, -0.0996513069, -0.0311011355, -0.0129455775, 0.0326220691, -0.026680097, 0.0028158366, 0.0047176131, -0.0401411206, 0.0724688545, 0.0447351076, 0.017528709, -0.0655096918, 0.0703870878, -0.0160417743, 0.0035384034, -0.0238974113, 0.003633247, 0.0402754247, 0.0503661819, 0.0078192372, 0.008741362, 0.0494909063, -0.0267038532, -0.0711433589, -0.0177586954, -0.0118409945, 0.0082674026, 0.0292236079, 0.0836629719, -0.0526897535, 0.0283503402, 0.016402768, -0.001526216, -0.0320267044, 0.0117124179, 0.0082567353, -0.0400550254, 0.0730046183, -0.022225989, -0.0539287739, -0.009818254, -0.0129022943, 0.0184091181, 0.0330741592, 0.0087153101, -0.0033447025, 0.0697787702, -0.0444672965, -0.0189611651, -0.0271921307, 0.0309239011, 0.0093243634, -0.0591087453, 0.0185273308, -0.0251420196, 0.0410320126, -0.0431345962, 0.0467205793, -0.008279087, -0.0170837045, -0.0083739217, -0.0247228369, -0.0018677773, 0.0976457298, -0.0233947281, -0.0037406078, 0.0379348099, -0.0046209106, 0.0160487033, 0.1082766354, 0.021319937, 0.0156908594, 0.0393659882, -0.0411522947, -0.0152537916, 0.0089231934, -0.0274588019, -0.0364443958, 0.0082885548, 0.0020741057, 0.0401626341, -0.0215176921, -0.0190034322, 0.00302922, 0.0235309768, 0.0208467077, 0.0076209754, 0.007544308, -0.0064353095, 0.0028796464, -0.0304464716, 0.0267713405, -0.0484194532, -0.0271763727, 0.0588119663, -0.004290496, 0.0262780301, 0.078703016, -0.0093828421, -0.0716314837, 0.0423384048, -0.0861129835, -0.0053864093, -0.0188636333, 0.0000286033, 0.0051152715, 0.0148637248, -0.0415209681, -0.0231162589, -0.0171133596, -0.0249467362, 0.0210508015, 0.0082729803, 0.0208137687, 0.0141170248, 0.0399100594, -0.0074364948, -0.0205611717, 0.0115499711, 0.0684563667, -0.0014488478, -0.0411328711, -0.0486187898, -0.0249252487, -0.0616661273, 0.0330339074, 0.0047695972, 0.0147301089, 0.0580027103, 0.0072252983, 0.0148935672, 0.02581558, 0.0257050656, 0.034629263, 0.0328140035, -0.087945506, 0.0285656042, -0.0026334303, -0.019931538, -0.0253157392, -0.0637875721, -0.0260188784, 0.0563611425, 0.0474528298, -0.0166555699, 0.036162246, -0.0472346321, 0.000120397, -0.0261095446, -0.0040921769, -0.060282141, -0.0234151892, -0.0227507222, 0.0197546482, 0.0097881071, 0.0049577868, -0.0008063511, -0.0294778794, 0.0046361326, -0.0232929923, -0.0532622226, 0.0082644224, 0.0876619816, 0.0470077395, 0.0584914237, -0.0006216496, 0.0149071887, 0.023547437, -0.0171869379, 0.0486595146, -0.0084202532, -0.0181561504, -0.0102604544, 0.0145375691, 0.0266246777, 0.0037850644, 0.0216370542, -0.0039899456, -0.0462833159, -0.050629504, 0.0151502322, -0.0188520141, -0.043549858, -0.0239497051, 0.0170146152, -0.0089697065, 0.0174773596, -0.0082285749, 0.0228151716, 0.0376387313, 0.0139001869, 0.0577810369, -0.0598358959, -0.0389674865, -0.0041739251, 0.0560800359, 0.0159408227, -0.021360185, -0.021710787, 0.0262435377, -0.0081640519, 0.0183498319, -0.0349217989, 0.0530257076, 0.0805287659, -0.0441783257, 0.0647718981, 0.085157387, 0.0357483365, -0.0338296629, -0.0035529186, 0.0321513899, -0.0353129841, 0.0282102134, -0.0131394491, -0.0887138471, -0.0428073369, 0.0061365459, 0.0261901077, -0.026500795, -0.0245754085, -0.0326901041, -0.0677695572, 0.0378978066, -0.01176704, -0.0463230126, -0.0441949554, -0.0167219061, 0.0186092407, -0.0211839005, -0.0326326787, -0.0296595655, 0.0284268968, 0.0237992257, 0.0402569845, -0.0311586559, -0.0626791045, 0.0015353368, -0.0495807081, 0.0570842065, -0.0244002137, 0.0494740866, -0.0186003372, -0.0235824194, -0.0106662614, 0.043318633, 0.0270049199, -0.0028725171, 0.0643541291, -0.0549500845, -0.0162692312, -0.0256629959, 0.0243685618, 0.0073075164, -0.0297841486, 0.0283484571, 0.0683306605, 0.0216507968, 0.0596453473, -0.0372737013, 0.0004377408, 0.0256373733, 0.0012505213, 0.0012112785, -0.0648649484, 0.0198654588, -0.019247558, 0.0389438458, -0.0448355898, -0.0849862024, -0.0145828761, 0.0048409095, -0.0378674343, 0.0031512086, -0.040303085, 0.0458051786, 0.0024703669, -0.0082083065, 0.0884864405, -0.0320017785, -0.0328605287, -0.0917310268, 0.052756872, 0.019894287, -0.0036795593, 0.0059828344, -0.0217960496, 0.0624155216, -0.008177272, 0.0161693729, 0.0655840114, -0.0124130426, -0.0248101987, 0.005616209, 0.0355999693, 0.0151638547, 0.0121394312, 0.0490989313, -0.0406894982, -0.0459003821, 0.0112827225, -0.0304398909, 0.0273939874, -0.0223671179, 0.0134868408, -0.016614072, -0.0159776546, 0.0159374196, 0.0146303605, -0.0345018171, 0.012644425, -0.0433719456, -0.0090348674, 0.0242685229, -0.0164386164, 0.0952866897, -0.025792256, -0.0464322791, -0.0155149661, -0.0356308185, -0.0553014427, 0.010458366, -0.0543635041, 0.0049793641, -0.009098866, 0.023486238, -0.0136224041, 0.0179639105, -0.0431230217, 0.008787876, -0.0404388607, 0.0651546866, 0.0854971036, -0.025748184, -0.0083491951, 0.0377545245, 0.0384545363, 0.0360825844, -0.0453916267, 0.0097629735, 0.0302781388, -0.0136630712, 0.0176764671, -0.0435857028, 0.0365848802, 0.045815561, 0.0346950926, 0.065049611, -0.0207779128, 0.0200811736, 0.0871563181, -0.0220981818, 0.0131847374, -0.0049181911, 0.0020139036, 0.0134286936, 0.0628101379, -0.0128297638, -0.0570736527, 0.0189851839, -0.0078346934, -0.0451331027, 0.006910265, 0.0294663273, 0.0255304538, 0.0060449368, 0.0054633338, -0.0518710874, -0.0289438087, 0.0015794148, 0.0232861973, 0.0400267392, -0.0371714868, -0.006258369, -0.0856137499, -0.0227135662, -0.0137330787, -0.0300871097, -0.00144034, 0.0099387458, 0.0279526617, 0.0261441767, -0.0047096703, 0.009578892, -0.0319577828, 0.0237629749, -0.0268907342, -0.0387578942, 0.0112544689, -4.859082223e-33, -0.0021700712, -0.0562686324, 0.0331318825, -0.0132204499, -0.0760809779, 0.0061232168, 0.007383754, -0.0029296526, 0.00853734, 0.0127455452, 0.01254992, 0.0104446216, -0.0153081138, 0.0052871052, 0.0821541473, -0.0627783313, 0.0292913876, -0.0873103142, -0.0225881264, -0.0133658899, 0.0649498329, 0.0217868816, 0.057459306, -0.0981364995, 0.0483413525, 0.0086074527, -0.0472477041, 0.0027004408, 0.0625677705, 0.0367130861, -0.0214498416, 0.0246942043, 0.0323169492, -0.0585067123, -0.0240252502, 0.0454064384, 0.0234337449, -0.0184794664, -0.0026566966, 0.0450504273, -0.0217062794, 0.0317346491, 0.0551154837, -0.0029967881, -0.0140784839, -0.029066192, 0.0256065372, -0.0475419313, 0.0422881432, -0.0301461425, -0.0114066983, 0.070895277, -0.0240155999, -0.0082171559, 0.0662390366, 0.0334871076, 0.0022498097, 0.0116002848, -0.0370921008, 0.0542964563, -0.0355720185, -0.0068255709, 0.038134113, 0.0261045154, 0.0307578128, 0.0240829084, 0.0321808569, -0.0585011505, -0.0440111347, 0.0121674454, 0.0153724598, 0.0638948828, 0.0366984345, 0.0362175554, 0.018708054, 0.0301629435, -0.0163330268, 0.0083190622, 0.0130384667, 0.0220967848, -0.0297037456, 0.0545123927, -0.0271986891, 0.0183396116, -0.0364437364, -0.0272932239, 0.0124631422, -0.0621763617, 0.0112620248, -0.0444795303, -0.0030993845, 0.0139840292, 0.032818146, 0.0352744348, -0.0148298154, 0.0141153531, -0.0201514047, 0.1013098583, -0.002063218, -0.0198401213, -0.0469619744, 0.0050482792, 0.0177741237, -0.0127154561, 0.013275845, -0.0527048483, -0.0226296056, 0.0812618434, -0.0157674942, -0.0012168678, 0.0398264788, -0.0161962062, 0.0125201903, 0.0092333211, 0.0457730405, 0.0237219874, -0.0284639858, 0.0389423408, 0.022102667, -0.0542078987, 0.0063904882, -0.019869009, 0.0037496386, 0.0134484656, 0.015611886, 0.0018269937, -0.0046042246, -0.0199207999, 0.0342947245, 0.0030704313, -0.0313982442, -0.0030543297, 2.311e-7, 0.0591853671, 0.0749432519, -0.0436242111, -0.0386025682, 0.0061708731, 0.0346214958, -0.0327172019, 0.0562745966, -0.0086770644, 0.0116340965, 0.0347595587, 0.0251882114, 0.0212179814, 0.0325644724, -0.035684146, -0.066970177, -0.0106727062, -0.0349917561, -0.0457030311, 0.0444942862, 0.0464438535, 0.0467947349, 0.0583819337, 0.0168194827, 0.0006638116, -0.029039219, 0.041171819, -0.053857293, -0.0373025835, -0.0341197811, 0.0080029648, 0.009450091, -0.0808184743, -0.0032721953, -0.0591834486, 0.003714768, 0.0574367158, 0.0108744074, -0.0515747182, 0.0036091653, -0.0201209616, 0.0122371735, -0.0685769841, 0.004779032, 0.0381216109, -0.0051735775, -0.0423136763, -0.0435593165, -0.0408392884, -0.0010286168, 0.0145092653, -0.0408656858, -0.0211652145, 0.0240028482, 0.0056585185, 0.0145601463, -0.0115463361, -0.0497446842, 0.0042012492, 0.0122713083, -0.0325195119, 0.0233790949, -0.0205216482, 0.0023044315, -0.0110648265, -0.0552873835, -0.0108574443, 1.407873742e-34, -0.0050872155, 0.0221348815, -0.0330225155, -0.0485072993, -0.0177487489, -0.0338462815, -0.0306567661, 0.0620102808, 0.0024373734, -0.0232407656, 0.0108080041 ]
http://arxiv.org/abs/2406.12251v1
http://arxiv.org/pdf/2406.12251v1
Mitigate Negative Transfer with Similarity Heuristic Lifelong Prompt Tuning
2024-06-18T03:57:49
2024-06-18T03:57:49
Chenyuan Wu, Gangwei Jiang, Defu Lian
cs.CL
cs.CL, cs.AI, cs.LG
Lifelong prompt tuning has significantly advanced parameter-efficient lifelong learning with its efficiency and minimal storage demands on various tasks. Our empirical studies, however, highlights certain transferability constraints in the current methodologies: a universal algorithm that guarantees consistent positive transfer across all tasks is currently unattainable, especially when dealing dissimilar tasks that may engender negative transfer. Identifying the misalignment between algorithm selection and task specificity as the primary cause of negative transfer, we present the Similarity Heuristic Lifelong Prompt Tuning (SHLPT) framework. This innovative strategy partitions tasks into two distinct subsets by harnessing a learnable similarity metric, thereby facilitating fruitful transfer from tasks regardless of their similarity or dissimilarity. Additionally, SHLPT incorporates a parameter pool to combat catastrophic forgetting effectively. Our experiments shows that SHLPT outperforms state-of-the-art techniques in lifelong learning benchmarks and demonstrates robustness against negative transfer in diverse task sequences.
[ -0.0088566532, 0.0189679302, -0.0244382024, 0.0067331498, -0.0124931373, 0.0007158094, -0.0179894362, -0.0374031216, -0.0080747474, 0.0207350366, -0.0543507971, -0.0147233587, -0.0264571141, 0.0247127526, -0.0264115147, -0.0767390504, 0.0907638744, -0.0142417327, -0.0559012666, 0.0087286169, -0.0319911577, -0.0583982095, -0.0373479836, 0.0043853815, 0.0075862431, -0.0115834279, -0.033585608, 0.0264134444, 0.0473076887, -0.0110213421, -0.0077859471, 0.0067511629, -0.0049097026, -0.0123301735, 0.0000021405, -0.0677584782, -0.0567950048, -0.0497298203, -0.0326345526, -0.0354628041, 0.0692776814, 0.0509090275, -0.0155312475, 0.020478934, -0.0111235324, 0.0501898229, 0.0498846881, -0.0039144289, 0.056259159, 0.0475414246, 0.0005410961, 0.047213085, 0.0170056932, -0.0022398802, 0.0384459831, -0.0098142149, -0.0048690252, -0.0446161292, 0.0022454008, -0.0262469985, -0.0269643012, 0.0093671298, 0.0214385912, 0.017341705, 0.0740951747, 0.0209739339, 0.0103044799, -0.0019176467, -0.0066772019, 0.0383802913, -0.0392638966, -0.0196083188, 0.0203084107, -0.0156254116, 0.023310015, -0.0148806972, -0.05289625, 0.0085774222, -0.033799462, 0.0063321795, -0.0492085703, -0.0117407748, -0.0112311915, -0.0337314419, -0.0171365906, 0.0335803255, 0.0135766417, -0.0112815443, 0.0259938352, -0.0180081911, -0.0026125778, 0.0047603711, 0.0326651894, 0.0300700441, -0.0498019457, -0.0110690529, -0.0314996988, 0.0138566168, -0.0217306521, 0.0384311639, 0.0426968709, 0.0467172675, -0.0220607743, 0.0214524213, -0.0927667767, 0.0342500433, 0.0138116097, 0.0024067515, -0.0242288671, 0.0371622518, -0.1077519208, 0.0197160766, -0.0187884457, 0.0550662652, 0.026837375, 0.003046687, 0.0060452977, 0.0689983293, -0.0226758383, 0.0068325126, -0.0256393086, 0.0075365445, -0.0461531281, 0.0263890065, -0.0305034481, 0.0331318676, -0.0241906159, 0.0121529968, 0.0179365072, 0.0336760655, -0.0306825172, 0.0150186112, -0.009791784, -0.008446726, 0.0339174941, 0.0694732219, -0.031127112, 0.0131463902, -0.0625698119, 0.02050207, 0.0144531196, -0.0150744803, 0.0339024961, -0.0032145537, 0.0172022022, -0.0146355145, -0.0034678609, -0.0515245162, -0.0037136395, -0.0109829251, 0.0095399534, 0.0825931579, 0.0284743328, 0.0073783444, 0.0253715608, 0.0092741447, -0.0790647939, 0.0372874215, -0.0284717791, 0.0312867723, 0.0315308943, -0.0015642329, 0.0094842073, -0.0106829852, 0.0341992974, 0.0326549374, 0.0267025791, -0.0189541895, 0.0894151181, 0.0198819675, 0.0635698587, -0.0108932462, -0.0109399399, -0.0029413418, 0.0763757303, 0.0250193607, -0.0432017893, 0.0152102951, -0.0002338416, 0.0076812613, -0.0350814164, -0.0356262587, -0.0873022899, 0.0503721498, -0.0088715972, -0.0222825408, -0.0180627014, -0.038517423, -0.0165329259, 0.000060921, 0.0431320816, -0.0111061875, -0.0312337372, -0.0029032265, 0.0042804065, -0.023694668, -0.0571353287, 0.0467773266, -0.003348883, -0.0646149814, -0.0145695377, -0.0284567513, 0.0507979468, 0.0429084562, -0.0092016906, -0.0683380514, -0.092663385, -0.0161644537, 0.0501196124, -0.0381459072, -0.003168083, 0.0034757778, 0.0545938201, -0.005524348, -0.0633390099, 0.0188810471, -0.024805095, 0.0237325411, 0.0216832589, 0.0413960814, -0.0062760916, 0.0103133088, -0.0223088786, 0.0145057971, -0.0618167371, -0.0225014202, 0.0646472424, 0.0215135384, 0.0108504565, -0.0290303342, 0.0130991628, -0.011111103, 0.0139648402, -0.0457223356, -0.0170644615, 0.0318810381, -0.1047410443, 0.0219540056, 0.0293800961, -0.0139982626, 0.0354260169, 0.013544892, -0.0027016846, -0.0389148258, -0.0141480481, 0.0219842046, 0.0099195763, 0.0279120207, 0.0416331813, -0.03440414, -0.0004850511, -0.025053164, 0.0162263792, 0.0142449448, -0.0451337919, 0.0010843106, 0.0600162074, 0.0014705311, -0.0917254612, -0.0130964052, -0.0058289976, -0.0124381781, -0.014967843, 0.0104912706, 0.0069173751, -0.0668668151, -0.0222915467, -0.0637088344, 0.0703650564, 0.0005911565, 0.0274518188, 0.0306254495, -0.0438760631, -0.0257620718, -0.0415016189, -0.0233711731, 0.0623802729, -0.0427699499, 0.025095541, 0.0213356521, -0.001193976, -0.0035263989, -0.0182657447, 0.0190952439, 0.0131599782, -0.0347527452, -0.0384194478, -0.0071686609, -0.041042164, 0.0528091565, -0.0081772292, -0.0083845602, -0.0028382989, 0.0294743516, -0.0220836401, -0.0193864293, 0.0060726427, 0.0936011001, -0.001498231, -0.0426032394, 0.0284043029, -0.0086059757, -0.0159859378, 0.0105187185, -0.0369823463, -0.03269732, 0.0370651111, 0.0373164229, 0.0029940372, -0.0106464429, -0.0233553611, -0.0050151669, -0.0446258374, -0.0025073281, -0.036023695, 0.0127002979, -0.0450046845, 0.0044145784, -0.0189146269, -0.0233574901, -0.0291809253, -0.0534960628, 0.0411223061, 0.0344940759, -0.0004743555, -0.0039450726, -0.0054912446, -0.0059804539, 0.0456696302, -0.0302343667, -0.0176422112, 0.0427987576, -0.0351061784, -0.0631887913, 0.0294246357, 0.0800403804, 0.0014764012, 0.0095547596, -0.0136680882, -0.0235691722, -0.0489389412, -0.0919344053, -0.0626276731, 0.0110239154, 0.0618697666, 0.0257538371, -0.0146661205, 0.0109237777, -0.0271710176, -0.0209229179, 0.0167818535, 0.017688062, -0.0330675319, -0.0241671279, -0.0101151662, -0.0055778744, 0.0213432647, 0.0402170531, 0.0240791272, -0.0069897943, 0.0337542407, 0.0200197864, 0.080293566, -0.016341161, 0.0188901797, 0.0258847959, 0.0231145881, -0.0437131412, -0.0307369921, 0.035261143, 0.0462876968, -0.0192111023, -0.0538726561, 0.0465516187, 0.0297664478, -0.0661340132, -0.00672821, -0.0436164178, 0.0335188061, 0.0189492404, 0.0096709086, -0.0420395397, -0.0375697725, 0.0326874927, 0.1098692417, 0.005835054, -0.0615450814, 0.0210921671, -0.0900581181, -0.0277081151, 0.0347714089, -0.0319751799, 0.0106760589, -0.0384912752, -0.0065046474, -0.037580248, -0.0062559317, 0.0448811837, -0.0470024422, -0.0017677605, 0.0319790728, -0.0071274801, 0.0102048526, 0.0239520967, -0.0225382466, 0.0035486743, 0.0393773131, -0.0252564475, 0.025429802, -0.0464856476, 0.0558177084, -0.0120673226, 0.0266465638, -0.0148665272, 0.0231186412, -0.0068471087, -0.0072798547, 0.0010588103, 0.0527619682, -0.033294823, -0.0309113916, 0.0701321438, 0.0849462822, 0.0047974288, -0.0010217882, -0.0103465449, -0.0467607826, 0.0446238406, 0.0553883947, -0.0114960577, -0.0374054648, -0.0355930999, 0.0442444943, -0.004089375, -0.0369864441, 0.0202156827, -0.0287753865, -0.035790123, -0.0076343813, -0.0540252328, 0.0018897149, -0.0137716504, 0.0620733164, 0.042025581, -0.0222598799, -0.0185266007, 0.0300612338, -0.0618873984, 0.0065436214, -0.0236935783, -0.0077904542, -0.0735597759, -0.0027125308, 0.0492589362, -0.0062484895, 0.0097819837, -0.0476676077, -0.0574298203, -0.0287824944, -0.0038681468, 0.0629765317, 0.0056187538, 0.0754090101, -0.0050174063, 0.0040769503, 0.0406926125, 0.049179282, -0.0027551171, 0.0338381566, 0.071753636, -0.003707146, 0.0018275825, 0.0238716248, -0.0586198829, -0.0031936322, 0.0644104108, 0.0267653, 0.0431055129, 0.023727702, 0.0044604214, 0.0027019025, 0.0416395254, 0.0112126581, -0.015064273, -0.0120830918, 0.0239712931, 0.0518848337, 0.0069122743, -0.0277973525, 0.0367755368, 0.0054345205, 0.0115378397, 0.0376432389, 0.000109084, 0.0536088645, 0.0219033286, -0.0315429308, -0.0048792628, 0.001386053, 0.0591854714, -0.0155358166, 0.0295699611, -0.0257271826, 0.0039540539, 0.0569563806, 0.0286041796, -0.0358956791, 0.0903086364, 0.0348289348, 0.0374579243, -0.0382014439, 0.0528015569, -0.0283572916, -0.0660507232, -0.0296776015, 0.0098766433, 0.0730811805, 0.0204374846, -0.0188463274, 0.0150753725, -0.0162051432, -0.0528743565, 0.0155131537, -0.0085451417, 0.0299526211, -0.0429442115, 0.0149029978, 0.0222386457, -0.0010459425, 0.0183141194, -0.0722373426, 0.0221490953, -0.0007046234, 0.0093843229, -0.0402311608, 0.0193332899, 0.0228661224, 0.0259061065, 0.0112992637, 0.001652873, 0.0009191075, -0.001649497, 0.0368411131, -0.0442290306, -0.0123753389, 0.0160668399, 0.0474319831, 0.0050692731, -0.0466922149, -0.0358167849, 0.0071191825, 0.0148264049, 0.0275500212, 0.0365433767, -0.0081509892, -5.883261064e-33, -0.0275137536, 0.0361694843, 0.018536156, 0.0400311835, -0.0630704984, -0.0388607867, -0.0267354157, 0.0410101973, 0.019830836, -0.0248160474, -0.032429181, -0.0184412636, 0.0192194618, -0.0019028122, 0.0715844184, -0.0452502184, 0.0427605882, 0.0374574699, -0.0651129559, 0.0593569577, 0.0689553916, 0.044338882, 0.0159819033, -0.0353234001, -0.0321674645, 0.0539984815, 0.0387623981, 0.0120018795, 0.028774336, -0.0049608373, 0.0118220486, 0.0107162492, -0.0140159726, -0.0628987178, -0.0413619615, 0.0005634119, -0.0824362636, -0.0780417249, -0.0259013809, -0.0226088986, -0.006432368, -0.0531192385, 0.0099721085, 0.0141187888, -0.0601839423, 0.0105981994, 0.0079851896, -0.0218948424, -0.0208566524, -0.0288065653, -0.0677205473, -0.0025979087, 0.0044352091, -0.0447326973, 0.0027750998, 0.0314575136, -0.0365808234, -0.0097102718, -0.0479713529, -0.0109404437, -0.0414193496, 0.0416547433, 0.0314072222, 0.0228711199, 0.0228436477, 0.0215367712, 0.0431654043, 0.0003529554, 0.0500235856, -0.0477830358, 0.0160840731, 0.0402237512, 0.0237607174, 0.0006864209, 0.0107647618, -0.0553535037, -0.0081080738, 0.051048521, 0.0339789949, 0.0293299053, -0.0059077186, 0.0342057906, -0.0062190695, -0.024242131, -0.0274786279, 0.001553467, -0.0147091784, -0.0043623527, 0.0993708149, 0.0149348769, -0.0325667709, 0.0167491883, 0.0595645532, -0.0099781677, 0.0407457463, 0.0101079019, -0.0249055102, -0.0295977239, 0.0269310288, -0.0225076787, -0.0516752861, -0.0637744069, -0.0027873812, -0.0294105317, 0.0280993488, -0.0404361449, 0.0388263352, 0.0467635319, -0.0455526672, -0.0214079302, -0.0200093426, 0.0240211617, 0.0604757667, -0.0003628666, 0.0028482121, 0.0244566742, 0.0034062951, 0.0575460531, 0.0071220673, -0.0383670218, -0.0522170365, 0.0421200693, 0.0102700377, 0.0078201191, 0.0055412506, 0.0113812834, -0.0369244479, -0.0040573492, -0.0693272352, -0.1013188213, -0.020797519, -0.0195567459, 2.858e-7, -0.0674969777, 0.0133479917, 0.0012776203, -0.0746647418, 0.0467604585, 0.0369298458, -0.053813871, 0.0217288528, 0.0082322126, 0.0394878052, 0.031604927, 0.0274021607, 0.0196080189, 0.0010971912, -0.0693279579, -0.0085168025, -0.0147621548, 0.0384393036, -0.0519306138, 0.0009271174, 0.0397719368, 0.020715557, 0.0287205949, 0.0022011152, 0.0796727017, -0.0207765736, 0.0505546853, -0.0384794362, 0.0527024977, -0.0298545752, -0.032823801, -0.0334219635, -0.0288206879, 0.0411150716, -0.0103803333, 0.0152685549, -0.0198928844, 0.0575949587, 0.0044463496, -0.064666152, -0.0139902038, 0.0261757579, 0.0405370444, -0.0384621732, 0.0998216271, -0.056712456, 0.0101041002, -0.0146789839, -0.0358903669, -0.0205666218, 0.0230607595, 0.0260133967, -0.0328487717, -0.0229258724, -0.0028953361, 0.0919461399, -0.0588120371, -0.0759455115, 0.0474554226, 0.0279478412, -0.0075058923, -0.0601009764, -0.0510647669, 0.0154716512, 0.0122888302, -0.0626233593, 0.0151268542, 2.530505056e-34, -0.0305976048, -0.0298058186, 0.0548239276, 0.005142367, -0.024503408, -0.0124216434, -0.0001868972, 0.0098051149, 0.0646701083, 0.0188829154, -0.0164010003 ]
http://arxiv.org/abs/2406.12246v2
http://arxiv.org/pdf/2406.12246v2
TroL: Traversal of Layers for Large Language and Vision Models
2024-06-18T03:42:00
2024-06-19T21:40:03
Byung-Kwan Lee, Sangyun Chung, Chae Won Kim, Beomchan Park, Yong Man Ro
cs.LG
cs.LG, cs.CL, cs.CV
Large language and vision models (LLVMs) have been driven by the generalization power of large language models (LLMs) and the advent of visual instruction tuning. Along with scaling them up directly, these models enable LLVMs to showcase powerful vision language (VL) performances by covering diverse tasks via natural language instructions. However, existing open-source LLVMs that perform comparably to closed-source LLVMs such as GPT-4V are often considered too large (e.g., 26B, 34B, and 110B parameters), having a larger number of layers. These large models demand costly, high-end resources for both training and inference. To address this issue, we present a new efficient LLVM family with 1.8B, 3.8B, and 7B LLM model sizes, Traversal of Layers (TroL), which enables the reuse of layers in a token-wise manner. This layer traversing technique simulates the effect of looking back and retracing the answering stream while increasing the number of forward propagation layers without physically adding more layers. We demonstrate that TroL employs a simple layer traversing approach yet efficiently outperforms the open-source LLVMs with larger model sizes and rivals the performances of the closed-source LLVMs with substantial sizes.
[ 0.0222952962, 0.0512383953, 0.0067200447, 0.0534906834, -0.0311776735, 0.0144673213, -0.0057013137, -0.0196710192, 0.0034057405, -0.036027614, -0.0148286726, -0.0291975271, -0.0052239476, 0.0214955229, 0.0192750022, -0.0526085161, 0.0331604294, -0.0652390718, -0.0378983282, 0.0004385509, -0.0218636915, 0.0123608792, 0.0200395137, 0.0337433293, 0.0360906571, -0.0077610835, -0.0299782492, 0.0283029564, 0.0335219614, -0.0174278356, -0.0056600571, 0.0057334891, 0.0648235902, 0.04300173, 0.0000021667, -0.0089916922, 0.0283053722, 0.0238280892, -0.0106493058, 0.0398279727, 0.0127474694, -0.0251914822, -0.0063805995, 0.0336435549, -0.0056072581, -0.0559251197, 0.0589800328, 0.0340608023, 0.0584049597, 0.0827358142, 0.0030796148, -0.0564041212, 0.0381085835, -0.0216006227, -0.0030084152, -0.0633577257, 0.030142501, -0.0161684249, -0.0137592554, 0.0201802589, -0.0284063667, 0.0546167307, 0.064041473, 0.0057855723, -0.0159761496, 0.0393879376, -0.029667763, -0.0318319388, -0.0123641938, 0.0503858067, -0.0415911861, 0.0055812956, -0.0118847452, -0.0053310408, -0.0162552632, -0.0360937566, -0.0441456959, 0.0424273871, 0.017469706, 0.0178467073, -0.0283662956, -0.0317839943, 0.0346684158, 0.0166855399, -0.0191278644, 0.0170980748, 0.0345211327, 0.0511280112, 0.0094734048, -0.0023320634, -0.004282115, -0.0399224646, -0.0170025788, 0.0308838598, -0.0218426548, 0.0178405326, -0.0385437794, 0.0086791832, -0.0102845281, -0.0575318821, 0.0884885639, 0.0425299779, -0.0640858188, 0.0532355867, -0.0613441169, 0.035949111, -0.067686066, 0.0306733157, -0.034767326, -0.0416036882, 0.0030918464, -0.0075413962, -0.0515278131, 0.0098899249, -0.0688808858, -0.0419396311, -0.0382003747, 0.0246985406, -0.0170889739, -0.0224329885, 0.0071896594, 0.0238045789, 0.0064585702, -0.0248638168, -0.0084894244, 0.0234081615, -0.0226186477, 0.0081039155, -0.0281137116, -0.060621541, -0.0116856983, 0.0216921866, 0.008828246, -0.0183802694, 0.0350836627, 0.0870347023, -0.0217274297, -0.0498112552, -0.0545458682, 0.0249316823, 0.0155377416, -0.0751479641, 0.0256601218, -0.0746862814, 0.0183545612, -0.0195458625, 0.0023013279, 0.0046145362, 0.0282305162, 0.0446404852, -0.037723165, 0.0457807668, 0.022580618, -0.0014155873, 0.0023886899, -0.0012774884, 0.0252514984, 0.0596751086, 0.017358413, 0.0236221217, 0.0086557837, -0.0087658297, 0.0273081195, 0.0230071191, -0.0064811562, 0.0072515211, -0.0514992438, 0.0140581187, -0.0013272149, 0.0241940282, 0.0462903343, 0.0579403192, -0.0508495048, -0.0893678442, 0.0299034175, 0.0395557322, 0.0083717629, -0.0011828991, 0.0645522028, 0.0050557922, 0.0210252795, -0.0243976209, -0.0756753385, 0.0456407145, -0.0159157049, -0.0409846082, -0.0037331737, 0.0397481136, -0.044423148, -0.0196102783, -0.007603447, 0.0028665406, 0.0030293448, 0.0261089616, 0.0584360659, -0.019807037, -0.0270465687, 0.0263046343, 0.0275090076, -0.0442007519, -0.0388372354, -0.0680161119, 0.0147421723, 0.0513489991, 0.0111563755, 0.021292517, -0.0340643898, 0.033192236, 0.0374062695, 0.0487186089, 0.0216223057, 0.0202974863, 0.076337941, -0.0563525222, -0.0094229206, -0.0133118313, -0.0113056153, 0.0493812971, 0.046369046, -0.0050882408, 0.0221613869, -0.0542779155, -0.0087355915, 0.0370216556, 0.0107449163, -0.0198052675, 0.0169450156, 0.00673175, 0.0055335476, -0.0113164941, 0.0051103178, -0.0078534316, 0.0291298684, -0.0331465192, -0.0215134788, -0.0182750914, -0.0456453934, -0.0149899516, 0.0207276046, -0.0652116463, 0.009744049, 0.0464147925, -0.067316182, -0.0309090521, 0.0276887733, -0.0416340493, 0.0198468287, -0.0314673856, -0.0011642607, 0.0118610496, -0.0078695035, -0.0151985334, 0.0306533128, -0.0110096382, -0.0091154696, 0.0340820067, 0.0026189273, 0.0128138522, -0.0245444234, -0.0139106978, 0.0079929242, -0.0106743397, 0.000097206, -0.0165190883, 0.0115799475, -0.0376262181, -0.0072491961, -0.0777496845, -0.0029183577, -0.0313454941, 0.0013569499, 0.0048992741, 0.0063012419, 0.0183333233, -0.0383745544, -0.0205119271, 0.0302916169, 0.0241730418, 0.0120467823, -0.0095102098, 0.0010234377, -0.0521038957, -0.0275353119, -0.039834708, 0.0263951775, 0.0306501277, -0.0294641331, -0.028767962, -0.0547083132, -0.0131136654, -0.0050758021, 0.0751017109, -0.0326859839, -0.0329116844, -0.0043880865, -0.028219549, -0.0150758037, 0.075790666, -0.0059424909, 0.0211781636, 0.0326459184, -0.0144225396, -0.0349182375, 0.0292160306, -0.0170934275, -0.0553655699, -0.0436214842, 0.0031834831, -0.0393294059, 0.0471355207, -0.0397731662, 0.0051866882, -0.0518730879, 0.0045191264, 0.0137973391, -0.0364360139, -0.007540179, 0.007426782, -0.0085814288, 0.012801501, -0.0140855592, -0.0668301657, 0.0242273696, -0.0336312689, -0.0173012242, -0.0019805199, -0.0157280751, -0.0399898216, 0.1009632647, 0.0510358475, 0.0270927008, -0.0204878449, -0.0167462323, -0.0532631204, -0.002204888, -0.0111933295, -0.0007470534, 0.0626363903, -0.0728411153, 0.0216325577, -0.0385950692, -0.0332471989, -0.0387708656, 0.0131921889, -0.0374575071, 0.0164388381, -0.0398768261, -0.0387155302, -0.0488115363, -0.0000148196, 0.032826975, 0.0368503295, -0.0166688673, 0.0209829565, -0.0340188369, 0.0123462593, 0.0507107526, 0.0210491102, 0.0042175199, -0.0092129828, 0.0151809836, 0.0798652172, 0.0424736142, 0.0159049761, -0.0644113123, 0.0182663593, 0.0470151789, 0.0147991078, -0.0258534104, 0.0145823602, 0.0584592968, -0.1093089283, -0.0003941504, 0.0797608569, 0.0041118935, -0.0356202386, -0.0126965875, 0.01184119, 0.0092038866, 0.0350910202, 0.0447466448, -0.085299693, -0.0414401367, 0.0150707709, 0.0059032082, 0.0076456522, -0.0024856806, -0.0260567311, -0.1129230633, 0.071981132, 0.0129761547, -0.0126223769, -0.0409790538, -0.0089628268, -0.0043736631, 0.0055138408, -0.0105107902, 0.0304580946, -0.0047640651, -0.0221700538, -0.0192277208, 0.0089852028, 0.0091832625, 0.0682115406, -0.0358197391, 0.0003039682, 0.0514712185, -0.0209328383, 0.0175071079, -0.0496626571, 0.0571816862, -0.0403976813, 0.0317203328, -0.0212842394, 0.0502812788, -0.0153431846, -0.0336882286, -0.0020796983, 0.0295386072, -0.0080044707, -0.0027095065, -0.0151288593, 0.0541733205, -0.0053158035, -0.0339103304, -0.0231971089, -0.007138107, -0.0575049669, 0.0522882976, 0.0179579668, -0.0173584484, -0.0755573362, -0.0125699928, -0.0537749119, -0.0538116284, -0.0126717733, 0.0377506539, 0.0188595559, -0.0332504027, -0.0157304369, -0.0014828878, 0.0406849347, 0.0609859489, -0.0236312021, -0.0391039476, 0.0299195368, 0.0127630336, -0.0522982702, 0.0529314168, -0.041932743, 0.0410978124, -0.0516579598, -0.0024208894, 0.0143206818, 0.0035216622, -0.0050538541, 0.032037273, -0.0953472257, -0.0594711564, -0.0343241617, 0.0419555828, 0.0183521975, 0.0552545898, 0.0067541623, -0.0491700284, 0.0320165567, -0.0178494155, 0.0140117239, 0.0635343194, 0.0175681841, -0.0356942303, 0.0035416791, 0.049721729, -0.0388598666, 0.0145435352, 0.0302644577, 0.0362814069, 0.0055934503, 0.0021562937, -0.0029831654, -0.0206467379, 0.0352169983, 0.0177848395, 0.0338620991, -0.0013876173, 0.0507342853, -0.0170231517, 0.0114857471, -0.0872248635, 0.0397702791, 0.0268412698, 0.0052958722, 0.0158114508, -0.0284154378, 0.0186672956, 0.0216499791, -0.0393679291, 0.017675329, 0.0203832928, -0.0345858298, 0.0453590266, 0.0191285983, -0.0307382476, 0.0276701543, -0.0036908786, 0.0329574272, -0.0071057668, 0.0470366068, 0.0118705025, -0.0006292285, -0.048285462, 0.0135245733, -0.0591809712, -0.1094255596, -0.0373560674, 0.0579810925, 0.0486144386, 0.03527724, 0.0460615903, -0.0135575123, -0.0231299326, -0.0206378512, 0.0196814295, -0.0028581612, -0.0488528907, 0.0787639916, 0.0444121584, -0.0011304613, -0.0413901582, 0.0659245625, 0.057391692, 0.0414683037, 0.0019044592, 0.0083149588, -0.0157037601, -0.0441399291, 0.0254604518, -0.0011719594, 0.0025355213, 0.0410737582, -0.0026861192, -0.0575168021, -0.0331899002, -0.0063411682, -0.0156426914, -0.0284768194, 0.0531034395, 0.0619088747, 0.0557521693, -0.0607374236, -0.0076309857, -0.0174045935, -0.0136665916, -0.028425945, 0.0384264141, -6.618302824e-33, -0.0337799303, 0.0074202698, 0.0477113761, -0.0157004055, -0.0369331688, 0.0212953947, -0.0204548389, 0.0054274285, -0.041690059, 0.0158713795, 0.02758478, 0.0144015802, 0.0236860588, 0.0612195954, 0.018773824, 0.0032578362, 0.0384240635, -0.0103076939, 0.0043033548, 0.0238887016, -0.0120852971, 0.0268617906, 0.061117027, -0.0066611869, -0.0469263718, 0.0412638783, 0.010780924, 0.0305407606, -0.0107620861, 0.0440578684, -0.0241915453, 0.0078293243, 0.0119594233, -0.0264072083, -0.0347407013, 0.0255812015, -0.0827716216, -0.0212472603, 0.0378889553, 0.0420305468, -0.1178072467, 0.0178417563, 0.0416510515, 0.0028376083, -0.0001889862, -0.0269666631, -0.0038088618, -0.0247098617, -0.0329534039, 0.000136968, -0.0492644422, 0.0246316455, 0.0307088196, -0.0241797548, 0.026322877, 0.0326533802, -0.0313396454, 0.0219136979, -0.0387273394, -0.0264275447, 0.0068550194, 0.0268679764, 0.0416327193, 0.0729261264, 0.0201881267, 0.0260920878, 0.0430527329, -0.0608740002, -0.0375699699, -0.0225275084, 0.0300076548, 0.0710711926, 0.0380887501, 0.0085642925, 0.0131825255, 0.0383225158, -0.0652014092, -0.0346739069, 0.013311917, 0.0876512751, 0.029037701, 0.0117210103, 0.0184469726, -0.0225206446, -0.0427046083, -0.01410471, -0.0361353345, -0.0070032203, 0.0589791164, 0.0372911058, -0.0022367416, -0.0056752749, 0.0566791557, -0.0232951231, -0.0025379565, 0.0348966084, -0.0095599545, 0.0328631513, 0.0267990138, 0.066271551, -0.0367437378, -0.0043331222, 0.0031976809, -0.0280954391, -0.0068166507, -0.0041890796, 0.0137397563, 0.0325342044, -0.0781380013, -0.0116216764, -0.0681144744, -0.0020163658, -0.0123108411, 0.0736533999, 0.0309724212, -0.0185349938, -0.0014305218, 0.064601548, -0.0352423005, 0.0068289395, -0.011022944, -0.0297956187, 0.0181211419, 0.0412924066, -0.0362426229, 0.0070592845, -0.0507008433, -0.0150016928, 0.0286839008, -0.0750585422, -0.0126687028, 0.045419056, 2.864e-7, 0.0191210415, 0.0176962465, 0.0255347509, 0.0471575074, 0.0133091127, 0.0403002948, 0.0120781232, 0.0197065789, 0.0267798621, -0.0249556117, -0.0023010012, 0.056078922, 0.0469288118, -0.0017855727, -0.0391972512, 0.0409696586, -0.0366026126, -0.0128185283, -0.0343391523, -0.0393484309, 0.0159157943, 0.1039436683, -0.0130776744, -0.0308863819, 0.0388480537, -0.0497951172, 0.0564671122, -0.0076685427, 0.000989643, -0.0440259762, -0.0082748709, 0.0453319289, -0.0030760209, 0.0005694373, -0.0006811724, 0.0158720501, -0.0117796771, 0.0766362995, -0.0349232256, -0.0157203935, 0.0114100892, 0.0030625516, -0.021051636, -0.0758516937, 0.078831844, -0.0513719842, -0.0217287261, -0.0603529811, 0.0049616937, -0.0277575813, -0.0110049788, -0.0198091511, 0.0044920119, 0.0229273476, 0.0335603431, -0.0709039196, -0.0188843496, -0.0984183177, -0.0304161385, -0.0274859276, -0.0487238131, -0.0238942578, -0.0789244398, 0.0011554658, 0.0190159418, 0.0014569827, -0.0449252054, 2.568752244e-34, 0.0581757762, -0.0272462498, 0.0067823716, 0.0158437565, 0.0057838033, -0.0055806343, -0.0281180125, 0.0202998631, -0.0239795689, -0.0877241194, -0.0392898284 ]
http://arxiv.org/abs/2406.12238v1
http://arxiv.org/pdf/2406.12238v1
PFID: Privacy First Inference Delegation Framework for LLMs
2024-06-18T03:27:09
2024-06-18T03:27:09
Haoyan Yang, Zhitao Li, Yong Zhang, Jianzong Wang, Ning Cheng, Ming Li, Jing Xiao
cs.CL
cs.CL
This paper introduces a novel privacy-preservation framework named PFID for LLMs that addresses critical privacy concerns by localizing user data through model sharding and singular value decomposition. When users are interacting with LLM systems, their prompts could be subject to being exposed to eavesdroppers within or outside LLM system providers who are interested in collecting users' input. In this work, we proposed a framework to camouflage user input, so as to alleviate privacy issues. Our framework proposes to place model shards on the client and the public server, we sent compressed hidden states instead of prompts to and from servers. Clients have held back information that can re-privatized the hidden states so that overall system performance is comparable to traditional LLMs services. Our framework was designed to be communication efficient, computation can be delegated to the local client so that the server's computation burden can be lightened. We conduct extensive experiments on machine translation tasks to verify our framework's performance.
[ -0.0436648652, 0.0693669692, -0.0146947606, 0.0393993966, -0.055357337, -0.023400683, 0.0655316412, 0.0190517437, -0.001239202, 0.0098773595, -0.0266673639, 0.018107919, 0.0032950793, 0.0037312165, 0.0079450198, -0.0088032559, 0.0377419256, -0.0341248922, -0.0423730724, -0.0296854749, -0.0554023646, -0.0270317737, 0.0295434128, 0.0174659267, 0.0282720495, -0.0276267286, -0.041613631, 0.0439306423, 0.0242763273, 0.0162541568, -0.0509789325, 0.0272483528, 0.0210590642, 0.0152271977, 0.0000021353, -0.0210380591, -0.0429645479, 0.0693130046, -0.0827694312, 0.0199424475, 0.0000048608, 0.0177814756, 0.0017510023, 0.0203038715, -0.0314241052, 0.085723117, 0.0146177979, 0.0081242835, 0.061105039, 0.0314412527, 0.0054621757, 0.001401122, -0.0239422899, -0.0100395167, 0.0127784498, -0.0744435191, 0.0024576578, -0.0667253733, -0.0380866416, 0.0302109458, 0.0186410416, 0.0337128043, 0.0117713381, 0.0267570466, -0.0358589254, 0.0134256762, 0.0224118643, 0.0086087324, -0.0429040305, 0.0423870087, 0.027585078, 0.0014708674, 0.0594472736, 0.0220343564, 0.0318452194, 0.031847164, -0.0119229183, 0.0303003453, -0.0150064537, 0.0230544694, 0.005964682, -0.0161149427, 0.0221446529, 0.0153506827, -0.0186801478, 0.0585515797, 0.017977979, -0.0107852127, -0.0576649718, -0.0296498891, -0.0014587314, -0.0445626639, 0.0501376055, 0.025145879, -0.0110667543, 0.006095829, -0.0641404316, -0.0348629095, 0.0062184287, -0.0339974239, 0.0315721668, 0.0018239673, 0.0211373232, 0.0394689627, -0.02343495, 0.0151205184, -0.0333648063, 0.0344224684, -0.0059579066, 0.0100728506, 0.0248071831, 0.0298070293, -0.0025321166, 0.0724875033, -0.1066096276, 0.0299461372, -0.0289564468, 0.0440285467, -0.0053206268, 0.0623807274, -0.0225320496, 0.0075838733, -0.0097537963, -0.0220186766, -0.0316700526, -0.0466186777, -0.015444193, -0.004574771, 0.0102081876, -0.0853082761, -0.0318555087, -0.0050318404, -0.0384025574, 0.0176788829, -0.0165945869, 0.0862656161, 0.0201491434, -0.0198519807, -0.0397009924, -0.1074796692, 0.0608778931, -0.026538007, 0.0032100088, -0.0493626855, 0.053618744, -0.0104322033, -0.0164464526, -0.0773965865, -0.008442142, 0.0252075717, 0.0100657446, 0.0689352304, -0.0023573926, -0.0067036315, -0.0372388549, 0.0475700684, -0.0188622177, -0.0121451113, 0.0070276503, 0.042562861, 0.0401843376, -0.0150365476, 0.0401124842, -0.0064414279, 0.0171131473, 0.002610829, -0.0481066853, 0.0380344167, -0.0124898003, -0.0373899601, -0.0249411725, 0.0181252342, 0.0147616267, -0.042868685, 0.0756902546, 0.1322952956, -0.0040868074, 0.0380390733, -0.0544903167, 0.0273486059, -0.0236452166, -0.0203543976, -0.0557275303, 0.015913846, -0.0675643682, -0.0380050316, -0.0250941738, 0.0392553657, -0.0155804297, -0.0276130959, 0.0191765837, -0.0606345907, -0.0136880856, 0.0486521982, 0.0061958604, -0.005025655, 0.0291781593, 0.0982898697, -0.0046020136, -0.061657913, -0.0465923287, -0.0617770366, 0.0092851948, 0.0552442521, 0.051736813, -0.0049845525, 0.0031925202, -0.0095537342, -0.0231625177, 0.0166434627, 0.010387932, 0.0276424401, 0.0582747757, -0.0118478676, -0.0602684766, 0.0489016064, -0.0044354741, 0.0237250868, -0.0179581903, -0.0259880181, -0.0147819193, -0.0447779857, 0.0269691609, 0.0140542863, -0.0246184412, -0.0397580527, 0.0337232985, 0.0351508744, 0.0247369539, 0.027075069, 0.0309339818, 0.0031550811, 0.060166873, 0.0211326778, 0.0033160725, -0.0145815415, -0.0130178342, 0.0194782261, 0.0077117914, -0.0436110869, 0.0305197276, 0.0102511663, -0.0443909131, -0.0049771098, -0.0152123058, -0.0333756953, 0.0133194178, -0.018060768, 0.0136583867, -0.0043095895, 0.0072384044, -0.0413219146, 0.0055497368, -0.0715489537, -0.0096325977, -0.0152209951, -0.0178818349, 0.0160709303, -0.0402922034, -0.0012475174, 0.013906898, -0.0010759576, 0.0179114006, -0.0254574902, 0.0016541557, 0.0028000735, 0.0121216234, -0.01774594, 0.030969901, -0.0033483342, 0.0649180636, 0.0098116063, 0.0238941386, -0.0078601278, -0.0528064445, -0.0475917719, -0.0153386667, -0.0180583801, -0.0021034835, 0.0223230198, 0.0176170487, -0.0230926275, 0.0397497714, -0.0091669839, 0.0209225118, 0.0053240447, -0.0686678141, -0.0040679206, -0.0528021492, 0.0504441448, -0.0172951445, -0.0133469049, -0.0069672139, 0.0081957271, -0.0033439388, 0.0109603498, -0.0111344215, 0.0436051898, -0.0366765261, 0.0299701598, 0.0236138795, 0.0155722145, -0.064999193, -0.0115983244, -0.0072715995, -0.0130819147, -0.0518475845, -0.0101413261, 0.0472857654, 0.0003142562, 0.0078535397, -0.0095936917, 0.0111818053, 0.0213782452, 0.0476003923, -0.0413533151, -0.0055091674, 0.0342583172, -0.019188216, 0.052766975, 0.0214886107, -0.0537992194, 0.0647692233, -0.041340366, 0.0144232316, 0.0537405759, -0.0729441345, -0.0058897403, 0.0158477221, -0.0503759198, 0.0169667657, -0.0327319093, -0.0410326608, 0.0047673495, -0.0068552131, 0.0490354076, -0.0734270141, 0.0189237818, -0.0249832999, -0.0732677579, -0.0166260246, -0.0544244535, -0.015777532, -0.0206498243, 0.0264226012, -0.0124330893, -0.0217700675, -0.0292155128, 0.0249206107, -0.0074849669, 0.0348805636, -0.004691096, 0.005877621, 0.0037482078, -0.0567780435, -0.04413452, -0.0472802483, 0.0062490017, 0.0245983582, -0.0347764008, 0.0217319056, 0.1082678363, 0.0611049496, -0.0371465459, 0.0124222152, -0.0322399884, 0.0633485243, -0.018354211, 0.0017113822, 0.0289918408, 0.0612220876, -0.0206476934, 0.0188317224, 0.0267990865, 0.0069471509, -0.0587000959, -0.0075343233, -0.0057621328, 0.0182762519, 0.0256053898, 0.0163875222, -0.0999720171, 0.0031772461, 0.0296262242, 0.0914683118, -0.0072062686, -0.0631480366, -0.0135245845, -0.0417086482, 0.0331155099, 0.0218191892, 0.051865831, -0.0094533935, -0.0203845259, 0.0082911886, 0.0281710532, -0.0000096699, -0.044082623, 0.0105994092, -0.0166181177, -0.0052120909, 0.0038510121, -0.0099205906, -0.0348476991, -0.0314712934, 0.0345844589, 0.0362973921, 0.021002464, 0.006128537, -0.0722917691, -0.0011523446, 0.0345382057, -0.0078783073, -0.0135915233, -0.0152085181, 0.0073643825, 0.0175250843, -0.0267906506, 0.030955499, 0.0292801131, -0.0017641165, -0.0094999326, 0.0483901165, -0.0881905481, 0.0134375794, 0.0024578734, -0.064510949, 0.0211286098, 0.0625765398, -0.0039914516, -0.0278310571, -0.0248438045, -0.0459792204, 0.0040646265, 0.0333914794, 0.0022958375, -0.0036449044, -0.0427878834, -0.0377706029, -0.0317840539, 0.0196964592, -0.0112940092, 0.0388100073, 0.0036886965, 0.0067605861, 0.0350432843, -0.0052189133, -0.0306406394, -0.006762852, -0.1031071991, 0.0234331526, 0.0015000126, 0.0503383689, 0.018437786, -0.0128863379, -0.0083844122, -0.0132216485, -0.0470324382, -0.0527818017, -0.0078436704, 0.0561088547, 0.033316873, -0.0013347659, -0.0282942299, -0.0405226499, 0.0626622736, 0.0485239141, -0.0478698798, 0.0142164677, 0.0349891707, 0.0153409261, 0.0035138386, 0.0244108289, -0.0411131643, -0.0400574058, 0.0623471066, -0.0109611358, -0.0584834926, -0.0814040527, -0.0184588302, 0.100405708, 0.0258245301, 0.0164265782, 0.0321606956, 0.0299349744, 0.0544630364, -0.0367519595, 0.026040066, -0.0262389462, -0.0055256723, 0.001908601, -0.029356461, 0.0622834563, 0.0338415653, 0.0532680191, -0.0162350629, -0.0230290964, 0.0495453179, 0.0109268613, -0.0069607371, 0.0289122202, 0.0201752167, -0.0116084116, 0.0691425204, 0.0452640727, 0.0478060767, -0.0239349008, 0.0329484232, 0.0020889163, 0.0381779522, -0.0294044148, 0.0659225732, -0.0402857438, -0.1047316119, 0.024945261, 0.0680198669, 0.0141046448, 0.1184618399, -0.0194862839, -0.0412081219, 0.0109872296, -0.0048237303, 0.0356208123, 0.0018262877, -0.0206347499, 0.0044815652, -0.0131917726, -0.0005248474, -0.0045898072, 0.0350528955, 0.0107157929, 0.0108681815, -0.0612690337, -0.0484476201, -0.0775163695, -0.0393675454, -0.0046993135, 0.0049552331, -0.0218448434, -0.0485419221, -0.0382966325, -0.0490393825, -0.0251924619, 0.0066251247, 0.0012868338, -0.0460457616, 0.0175821036, 0.0154958451, 0.0110936081, -0.0505593456, -0.0641132444, -0.0013836765, 0.0231491756, -0.0420908146, 0.0002537984, -5.883052781e-33, -0.0223269574, -0.0579040945, 0.0048383214, 0.0485912934, 0.0094115371, -0.0408338197, 0.0027683224, 0.0262372158, 0.0269385185, -0.0247488786, -0.0480922014, 0.016091669, 0.045008637, -0.0033558633, -0.029024303, -0.0397796296, 0.0334665775, -0.03487942, -0.0132121434, -0.0003829755, 0.0240278821, 0.0167679153, 0.050680764, -0.0607361533, 0.0372658782, -0.0128970956, -0.0270279795, 0.0298599284, -0.0553401895, -0.0104202498, 0.0040743779, 0.000276033, -0.0015213366, -0.0002914687, -0.0155043295, 0.050118573, -0.0402385667, -0.0018649515, 0.0223832633, -0.0243941452, -0.0224621147, -0.0604661368, 0.0214396492, -0.0161513723, -0.0313200317, 0.0306935553, -0.0327965245, -0.0113521125, -0.0179443359, -0.0327208862, 0.0528003871, -0.0042851572, 0.0030464516, 0.0383242778, 0.0752807781, 0.0099456431, -0.0101960329, -0.0493515767, -0.0397138745, 0.0262275971, 0.016786918, -0.0554726906, 0.070370242, 0.0060168835, 0.0003401114, 0.0140103539, 0.0264533926, -0.0042191343, -0.0249044411, -0.0338930711, -0.0043758443, 0.0628942326, 0.0307238251, 0.0024559889, -0.0019600473, -0.0248010457, 0.0037245133, 0.0537347384, 0.0344904438, 0.0058006458, 0.0385898203, -0.0024890197, -0.0323083997, 0.0017052335, -0.0308172014, -0.0257884245, -0.008522057, -0.0171921179, -0.0117832338, 0.0123903193, -0.0226228796, -0.0086875902, 0.0394264124, -0.0389581583, -0.0120097753, -0.0363014378, 0.1016185135, -0.0287532955, 0.0029896935, -0.0184262041, -0.0031441476, 0.0047129658, -0.0130533315, -0.0673007295, 0.0278817061, -0.018168129, 0.0027649994, -0.0031560159, -0.0655451044, 0.0130746989, -0.0311497822, 0.0161919072, 0.0284953695, 0.0129032219, 0.0593664162, -0.0378627144, 0.026574783, 0.0016399927, -0.024799075, 0.0289668702, -0.0464272276, 0.0334979258, 0.0043863333, 0.024782585, -0.0049538496, -0.0000278814, -0.0202466752, 0.0397194177, 0.1048864052, -0.0084281983, -0.0056039286, -0.0174681116, 2.972e-7, -0.0049208575, -0.0000690913, -0.0063643544, 0.0474616624, 0.008403996, 0.0626048744, 0.0061604683, 0.0687408, -0.0240298714, -0.0132826641, -0.0123408176, -0.0053276485, 0.0889650285, 0.0209411457, -0.0629183054, -0.0662309974, 0.0105425846, 0.017636938, -0.0320424624, 0.0076817009, 0.0278475918, 0.0210010037, 0.003763082, -0.0410315879, 0.0263141692, 0.0142462878, 0.0148704853, -0.0784137473, -0.021106638, -0.0442610011, 0.0687419623, 0.0433656275, 0.0227356851, -0.0166701507, -0.0071622995, 0.0034913726, -0.0662540793, 0.1219571531, 0.0172400065, -0.0439246707, -0.0135964444, -0.0909445733, -0.0202412233, 0.0452991799, 0.0159342699, 0.042561125, -0.0161309987, 0.0057578092, 0.0170407519, -0.0859588459, 0.0118213138, 0.0068942932, 0.0333822668, -0.009779986, 0.0010263892, -0.0024127488, 0.007718985, -0.0328550711, -0.0098729245, -0.0188118238, -0.0303225294, -0.0441583171, 0.0142159369, 0.0271226559, 0.0196937434, -0.014886721, -0.0038419485, 3.110769246e-34, -0.007484477, -0.0221002288, 0.0035340169, 0.0964310542, 0.0213696547, 0.003509521, 0.0007558684, 0.0085196989, 0.0459143743, -0.0694018677, 0.0010542136 ]
http://arxiv.org/abs/2406.12233v1
http://arxiv.org/pdf/2406.12233v1
SyncVSR: Data-Efficient Visual Speech Recognition with End-to-End Crossmodal Audio Token Synchronization
2024-06-18T03:14:22
2024-06-18T03:14:22
Young Jin Ahn, Jungwoo Park, Sangha Park, Jonghyun Choi, Kee-Eung Kim
cs.AI
cs.AI, cs.CL, cs.CV
Visual Speech Recognition (VSR) stands at the intersection of computer vision and speech recognition, aiming to interpret spoken content from visual cues. A prominent challenge in VSR is the presence of homophenes-visually similar lip gestures that represent different phonemes. Prior approaches have sought to distinguish fine-grained visemes by aligning visual and auditory semantics, but often fell short of full synchronization. To address this, we present SyncVSR, an end-to-end learning framework that leverages quantized audio for frame-level crossmodal supervision. By integrating a projection layer that synchronizes visual representation with acoustic data, our encoder learns to generate discrete audio tokens from a video sequence in a non-autoregressive manner. SyncVSR shows versatility across tasks, languages, and modalities at the cost of a forward pass. Our empirical evaluations show that it not only achieves state-of-the-art results but also reduces data usage by up to ninefold.
[ -0.0296789613, 0.0509858243, 0.0094107753, 0.0104887728, -0.0007454563, -0.0181491636, 0.0231721941, -0.0101238173, -0.0034117613, -0.0359858871, -0.0361374095, -0.0086878296, 0.02288411, 0.064680554, 0.0378835909, -0.0776440427, 0.0092077283, -0.0455314033, 0.006203725, -0.0151797719, 0.037454363, 0.0047425469, -0.0594555959, 0.0421594866, -0.070782721, -0.0118712829, -0.0337028503, 0.040790271, 0.0351494513, -0.0166897159, -0.0617807955, -0.0021865543, 0.0489575937, 0.0100541115, 0.0000017026, 0.0104264636, -0.0029029588, 0.0008741714, -0.0157102551, -0.0167461354, -0.0045113522, -0.0790058672, -0.0230584834, 0.0296294689, -0.0014103489, -0.0390958712, 0.0625089407, -0.0089507662, 0.0701930746, 0.0034990124, -0.0190732908, 0.0256916378, 0.0231216568, -0.0407699384, 0.0031426053, -0.0182615742, -0.0041888333, -0.0068057738, -0.0113339089, -0.0669421032, -0.1039816812, 0.0640983656, 0.0030031661, -0.0122427614, 0.0353536308, 0.008868522, -0.0541416034, -0.0503755398, -0.0430476889, 0.0747272745, -0.0032328954, 0.0231308192, 0.011703331, 0.0114507535, -0.0298592877, 0.0074865166, -0.0169440042, 0.0213576108, 0.0016276968, 0.0046485798, -0.067906715, 0.0007098737, 0.0164235961, -0.0673293471, 0.0115888547, -0.0347949937, 0.0098808352, 0.0184214581, 0.0008264968, -0.0016194682, -0.0202653613, -0.0509554148, 0.0058951173, 0.0028824962, -0.0140929148, -0.036459256, -0.048091352, -0.0449049845, -0.0402839594, 0.0422638245, 0.0080691995, 0.0346214361, -0.0906740278, 0.0380805247, -0.0039422954, 0.0630426258, -0.0226019397, 0.0284437351, 0.0234075356, -0.0373507403, -0.0071822675, -0.0304663144, -0.0411555544, -0.0116198752, -0.0592472367, -0.0494511165, -0.0209114756, -0.0022898682, -0.0508209504, 0.0402820483, -0.0035161774, 0.0209230203, -0.005757493, 0.0163772963, -0.0087855989, 0.0454274714, 0.0200409908, 0.0443891175, -0.0271665361, -0.0406813584, -0.0155502763, 0.0134260468, 0.0170031656, 0.0060495134, 0.0270339679, 0.1099427044, -0.0249514151, -0.0296802521, 0.0189574212, 0.0059177605, -0.0424676985, -0.0291103609, 0.0310101546, -0.0662522763, 0.0365254395, -0.0026405533, 0.0140143195, 0.0263426322, 0.0085526742, -0.032990966, 0.0268447567, 0.062994048, 0.0086475853, 0.0107828192, 0.0053900173, -0.0139652574, 0.0235865004, 0.0490343124, 0.0573007688, 0.000881606, -0.0157987792, -0.0014068434, -0.0037944433, 0.0703143477, 0.0031737052, 0.0233333632, -0.0571367256, -0.0317854322, 0.0583875291, 0.043940004, 0.0684201568, 0.0727229118, -0.0469098762, -0.0497526787, 0.0453906991, 0.0524323992, 0.0018786865, -0.0347586125, 0.0175934006, -0.0018355763, -0.0055921338, -0.039250128, -0.0178600214, 0.0560848825, 0.075337261, 0.0067172553, 0.0332835764, 0.0121716904, -0.0458248481, -0.0179517139, -0.0003127894, -0.0292635728, -0.0116944388, 0.0526086725, 0.0235394333, 0.0082044862, -0.0216200929, 0.0193820689, -0.0206823628, -0.0006894539, 0.0341880769, 0.0187338889, 0.0206192359, 0.0801533237, -0.0023489615, -0.0072684297, -0.0080515454, -0.0156553779, 0.0193967763, 0.0377664231, -0.0373815559, -0.0310748089, 0.1032055318, -0.0630155429, -0.0456472486, -0.0193880145, -0.007784233, 0.0340468213, -0.0205159131, 0.0466535352, -0.0149652725, -0.0215461086, 0.0731697455, 0.013023952, -0.0061569824, 0.0169539116, -0.0138185155, 0.0432981886, 0.0169696156, 0.0076670186, -0.0286860224, -0.03169135, 0.0244604535, -0.0500634201, 0.0637903363, 0.0447312221, -0.035048686, -0.0127947703, 0.0221889969, -0.0697366893, 0.0043568644, 0.0189426746, -0.0067479643, -0.0424702987, 0.0518133864, -0.0150649985, 0.0434125736, -0.0435680896, -0.0091665713, 0.0335612223, -0.0088271163, 0.048566211, -0.0495034792, -0.0154297464, -0.0136957662, 0.0395968147, 0.0029588451, 0.0151995951, -0.0425285138, -0.0154433688, 0.0116561214, 0.0225713849, 0.0071319086, -0.0348363407, -0.0118799275, -0.0160729475, -0.0239156205, -0.0898637176, -0.0173891075, -0.0225240942, -0.0372389667, -0.0321767516, -0.0047054347, 0.0089463834, -0.0672533438, -0.0282157343, 0.0048998855, 0.0229049902, -0.0003230557, -0.0224468913, 0.0106780659, -0.024806628, -0.0191956852, 0.0065549933, 0.0439859666, 0.0001560017, -0.0467908867, -0.0190753713, -0.0049926578, -0.0849449188, -0.023897903, 0.0633226782, -0.0247670356, 0.024645647, -0.0031502401, 0.0326153636, 0.0342958495, 0.0199450981, 0.0151154594, -0.0048737284, 0.0074383235, -0.0433301404, -0.0369379371, -0.0106231272, 0.0230005533, 0.0254196841, -0.0349157229, 0.0496932566, -0.0656400919, -0.0246069133, 0.0134334648, 0.0719483122, -0.0646006465, -0.0005974307, 0.0332342125, -0.0561779216, -0.0468343683, -0.0084970547, 0.0027557178, -0.0094370265, -0.0368488766, -0.0585455522, 0.0128623303, -0.0652748048, -0.0468713827, 0.065254949, -0.0183599163, -0.0320495404, 0.0772443265, -0.0005663194, -0.0010084028, -0.0384538807, -0.052942045, -0.0487322249, 0.0047573037, -0.0041248729, 0.0029876754, 0.0291231275, -0.0408893377, -0.011784222, -0.0252939314, -0.0141069982, -0.0347307101, 0.011421781, -0.0588780604, -0.0049919584, -0.0332845561, -0.0147753144, 0.0064472179, 0.0332946926, 0.0280067753, 0.0163135007, 0.0246872082, 0.016114112, -0.0337651409, 0.0198791232, 0.0430156961, 0.0188986193, -0.066335395, -0.0489008278, -0.0062445104, 0.0231794454, 0.047750257, -0.0076096156, -0.0653835982, 0.0458773337, 0.0455705822, 0.065250434, -0.0136708785, -0.0021300199, 0.0175892077, -0.049109038, 0.0366563573, 0.035395544, -0.0216009691, -0.0472899526, -0.0129062086, 0.0227137096, 0.0252696481, 0.0155843915, -0.0154340612, -0.0891204476, -0.0560224019, 0.028433945, 0.0122870244, 0.0621092543, 0.0458427928, -0.0268365759, -0.0359041728, 0.0191768613, 0.0173699223, -0.0165561121, -0.0280845482, -0.00090883, 0.0217698738, -0.0356110223, 0.0391365327, 0.011772126, -0.0212344341, 0.0047374517, 0.0518544763, -0.0025668158, 0.0279478151, 0.01371432, -0.0574064925, 0.0107934792, 0.0571937636, 0.0292264707, 0.012338887, -0.0530683212, -0.0014872637, -0.013419332, 0.0000568621, -0.0054899482, 0.0428960323, -0.0502342135, -0.0509706028, 0.0627020895, 0.0256346446, 0.015202228, 0.0181781296, 0.0514143519, 0.0418753475, -0.0112288864, 0.0226048101, 0.0145107014, 0.0196848065, -0.0219569914, 0.0201231409, -0.0173590649, -0.0124875782, -0.0241136905, 0.027755525, 0.0280978829, -0.0037950715, 0.028608935, -0.0339274518, 0.0382723622, -0.0310619157, -0.0022368557, 0.009865189, 0.0387377255, 0.0332101285, 0.0237758886, 0.00928545, -0.0019373333, 0.041520793, -0.087684311, 0.0308284294, -0.0022811708, 0.0740192458, -0.0667366758, -0.0220938567, -0.0067007528, -0.0517121553, 0.0032096212, 0.0279882047, -0.0586337633, -0.0550303683, -0.0222098995, 0.0188960414, 0.0096461633, 0.1162687913, 0.0146994572, 0.0130087407, 0.0465036817, 0.0480915755, -0.0042942092, 0.0692869127, 0.0376598015, -0.0248168595, -0.0232088175, -0.0053851721, -0.0645754784, -0.004905446, -0.0233803503, 0.0095202588, -0.0070713898, -0.0571777597, -0.0227985214, -0.038782347, 0.0754968598, -0.0426950939, 0.0324618816, -0.0313103758, 0.0111148888, 0.0162349846, 0.0681346431, -0.093117021, 0.0108782118, 0.0087126726, 0.0462518819, -0.001238147, 0.0048225732, 0.0623675399, -0.0273104422, -0.0096151205, 0.0322110802, -0.0430981629, -0.0009992472, 0.0003012777, 0.0149190947, 0.0373269618, 0.024384642, 0.0023820035, 0.0062076431, 0.00122061, 0.0156215224, 0.034707915, -0.0240619127, 0.012505129, 0.0506572463, -0.0055449228, -0.0343423337, -0.0072021037, 0.0321283266, 0.0237499699, 0.00172244, 0.0069939368, -0.0100401742, 0.003663928, -0.0227484424, 0.0848376304, -0.0504118428, -0.0588668659, 0.0526917018, -0.0085550286, -0.0360978618, 0.013360519, 0.0098986123, 0.0044209519, -0.0166246872, -0.0383549668, 0.0458764918, -0.0395336635, -0.0340670981, 0.0385114364, -0.0127440942, -0.011726425, -0.004222577, 0.0025963667, -0.0466951877, 0.041612383, 0.0240650326, -0.0005564504, 0.0037912943, 0.0375619195, -0.0107503803, 0.0224639885, 0.0086927032, 0.0147898793, -0.0602736436, 0.0330898501, -0.004538273, 0.0142323282, -4.655712517e-33, -0.0288070869, -0.0311656017, 0.0468645431, -0.0036347692, -0.0610517599, 0.0162537303, -0.0196285471, 0.0070213005, 0.0348261073, -0.0221922342, 0.0488810167, 0.0110686775, 0.0040809037, 0.0123521909, 0.0249955375, -0.0332985781, 0.0697627887, -0.0148680694, 0.0251220297, 0.0138882436, 0.0471701622, 0.0421845727, 0.0228153691, -0.001513401, -0.0537806414, 0.0257849079, 0.0242405981, -0.0334571116, 0.022826219, 0.0240503941, -0.0157162268, -0.0013058782, -0.0264509618, 0.0199241564, 0.0170078613, 0.0094330525, -0.0803069994, 0.0272089988, 0.0060746297, 0.0561799034, -0.0882711485, 0.0267739873, 0.018666517, 0.002159059, -0.025827365, -0.0377829783, 0.0533957072, -0.0179900173, -0.0260229763, -0.0247042309, -0.0236024652, 0.0160330217, -0.0295701418, -0.0528437421, 0.0834127367, 0.0657948777, 0.0448660254, -0.0310602356, -0.0258337688, 0.0457972921, -0.0817684755, 0.0051068366, 0.0872673616, 0.0545302592, 0.0169853214, 0.0715349838, 0.0485426076, -0.1458120197, 0.0105836075, 0.0567815937, 0.0395377167, 0.0342543386, 0.0081293443, 0.0205664914, 0.0030541793, -0.0056262859, -0.0044682887, -0.018009631, -0.0224919487, 0.0003269017, -0.0089716827, 0.034682855, 0.0046657757, 0.0096549373, -0.0343543962, -0.0055516521, -0.0202044304, -0.0022173941, 0.0574443452, 0.0379141346, 0.0255640354, 0.0254128911, 0.0857805163, -0.0222544111, 0.0098249754, 0.0079299435, -0.0131116435, 0.0073181344, 0.0151100308, 0.0179811846, -0.039408084, 0.0197219625, 0.0806882232, 0.0033617197, 0.0394333713, -0.0075838631, -0.0151467994, 0.032578595, -0.041166801, -0.0208069701, 0.008972819, 0.0751877353, -0.021745028, 0.0099155009, 0.0584572405, -0.0024022071, -0.0264897309, 0.0056561162, -0.0433537699, -0.0053824815, -0.0367146172, 0.0120145064, -0.0306148641, 0.0116668977, -0.0133557422, 0.0367293879, -0.01168478, -0.0300150141, -0.0124483369, -0.0389191918, 0.0157767627, 0.0334687792, 2.513e-7, -0.0463359728, -0.0372606367, 0.0679047406, -0.02143397, 0.0342928693, 0.0166213065, -0.0414586514, 0.0250305533, 0.0052159722, -0.029533742, 0.0130958296, 0.0253923722, 0.0589307882, 0.0006146425, -0.0386095904, 0.0461910255, -0.0392417423, -0.0161717758, -0.0156390462, 0.0302915201, -0.0053235251, 0.0373546071, 0.000545465, -0.0094158771, 0.0497673526, 0.0125760334, 0.056706585, -0.0163059719, 0.0085357176, -0.0688991621, -0.0089710997, -0.039484892, -0.0118029816, 0.0228246041, -0.0188226253, -0.000239809, 0.0233962256, 0.0042482065, -0.0407327227, -0.0941320658, -0.0624659508, 0.078277193, -0.0411841124, 0.0293984041, 0.024513904, 0.0049090246, -0.0126925046, -0.0346361473, -0.0485106707, 0.0244502239, 0.0102992635, 0.0278111529, -0.04029027, 0.0372925065, 0.0384936891, -0.0399574153, -0.0044617723, -0.0618794449, 0.0107452311, -0.0385038368, -0.0561334528, -0.0229981933, -0.0482900552, 0.0169058796, -0.0164625868, -0.0016785323, -0.0781161413, 1.208436662e-34, 0.0082698558, -0.0510282815, 0.0265806187, -0.0453601219, -0.0424248725, -0.0267398041, -0.0052143643, 0.0351200886, 0.0013457212, 0.0004268601, -0.052110929 ]
http://arxiv.org/abs/2406.12232v1
http://arxiv.org/pdf/2406.12232v1
"You Gotta be a Doctor, Lin": An Investigation of Name-Based Bias of Large Language Models in Employment Recommendations
2024-06-18T03:11:43
2024-06-18T03:11:43
Huy Nghiem, John Prindle, Jieyu Zhao, Hal Daumé III
cs.AI
cs.AI, cs.CL
Social science research has shown that candidates with names indicative of certain races or genders often face discrimination in employment practices. Similarly, Large Language Models (LLMs) have demonstrated racial and gender biases in various applications. In this study, we utilize GPT-3.5-Turbo and Llama 3-70B-Instruct to simulate hiring decisions and salary recommendations for candidates with 320 first names that strongly signal their race and gender, across over 750,000 prompts. Our empirical results indicate a preference among these models for hiring candidates with White female-sounding names over other demographic groups across 40 occupations. Additionally, even among candidates with identical qualifications, salary recommendations vary by as much as 5% between different subgroups. A comparison with real-world labor data reveals inconsistent alignment with U.S. labor market characteristics, underscoring the necessity of risk investigation of LLM-powered systems.
[ 0.0440200754, 0.1042622253, -0.0355061479, -0.0303906798, 0.015578106, 0.0317948684, 0.0374181867, 0.0233279373, 0.0252904464, -0.0404837318, 0.0305388961, -0.0119412374, 0.0322046541, -0.0005196005, 0.0253996868, -0.0203489978, 0.0140098147, 0.0338500366, 0.0447813384, -0.0591668934, -0.0032628351, 0.0320428833, 0.0351087488, 0.0888686776, -0.0098367687, -0.0031855293, 0.0703080595, 0.0014541345, -0.0004419249, 0.0057400055, 0.0152246095, 0.0596420355, -0.0397318602, 0.0319091268, 0.0000019083, -0.0782845765, 0.0188486893, 0.0056553697, -0.026338689, -0.0322421752, 0.0493803918, 0.0100032371, -0.0151248788, 0.0233886763, -0.0268853586, 0.0218795016, 0.0424033552, -0.0344867744, 0.0039383271, -0.0202040244, 0.0074691908, -0.0001389473, -0.0483511984, -0.0372322798, 0.0121045513, -0.0222128201, 0.0557067133, -0.0594117977, -0.0068049035, -0.0433096178, -0.0084540807, -0.0338626914, -0.0389085039, -0.0220322944, 0.0021487819, 0.0559114665, -0.0169606153, 0.0027759182, 0.0140950773, 0.0422296524, -0.0038748998, 0.0101781851, 0.0037742252, -0.0259598419, 0.0575128756, -0.0095813898, 0.0007637982, 0.0255370699, -0.0423406996, -0.0245074164, -0.0249077156, 0.0015552538, 0.015507184, 0.0310198795, 0.0107306438, 0.1127585247, 0.0076125567, -0.0315796882, 0.020594595, 0.0010718914, 0.0910651684, -0.0647782311, 0.0496147387, -0.0142000299, -0.0510369763, 0.0136005767, -0.0030696795, 0.0245780069, 0.0348817408, -0.0775272921, 0.0016885537, 0.0601425581, 0.0313883647, 0.0116565842, 0.0284194332, 0.0202754196, -0.0136844832, -0.0351142399, 0.0087299077, -0.0097414153, -0.02690956, -0.0279983003, -0.0192325842, -0.0095785949, -0.0254150871, 0.0745105445, -0.0913055465, -0.0052553401, -0.0584605783, 0.017177064, 0.0023126092, 0.0035155686, 0.0031908301, 0.0279102419, -0.0898360237, -0.0376023091, -0.0034474253, 0.022368893, -0.0078003407, -0.0377901383, 0.0372560956, -0.0146101704, -0.0003840711, -0.0383813977, 0.006192694, 0.0619214699, 0.0562382676, -0.0033031187, -0.005695784, -0.0342202373, 0.0076536825, -0.0236535277, -0.0413651839, -0.0509550087, 0.0106044114, 0.0140660042, 0.015831599, -0.0805213749, 0.0168149639, 0.0062690522, -0.0718143806, 0.0478497036, 0.0215102211, 0.0137488348, 0.0650453568, 0.0086163469, -0.0122482879, 0.0294970665, 0.0419447459, 0.0218969975, 0.0239457097, -0.0646081418, 0.0338426158, 0.0569706336, -0.0279250294, 0.0081432704, -0.0074469764, 0.0493574068, -0.0029954284, 0.0071149184, 0.0580406599, -0.0108928215, -0.0275428519, -0.0133622373, 0.0141631756, 0.1162411794, 0.0085907094, 0.0276463535, 0.065461874, 0.0273277424, -0.0298404004, -0.0512889586, -0.060845647, -0.0096248202, -0.0569937415, -0.0297250599, -0.0195477828, 0.0457195975, -0.0343538523, 0.0005357742, 0.0138781527, 0.0078359917, 0.0081577282, 0.0137626389, -0.019657366, -0.0180182531, -0.0332572684, 0.0386544354, 0.0544444732, -0.0187680889, -0.0362968072, -0.0456267148, -0.0131929684, 0.1161794886, -0.0009821916, 0.0000324831, 0.040563941, -0.0493418388, -0.034372516, 0.0212506261, 0.0613610335, 0.0169910621, 0.0190068725, -0.0366129614, -0.0049360883, 0.0980779082, 0.0221096594, 0.0748306662, 0.0800022855, 0.0256278869, 0.0283249039, -0.0001007198, -0.0723010972, 0.0062616956, -0.0441951156, -0.071903564, 0.0276321135, -0.0093780542, -0.0011551651, -0.0128315482, -0.0132400263, -0.0020556268, -0.0687575564, 0.0208537187, 0.0023655184, 0.0043837, -0.0258946829, 0.0576090105, -0.0272653047, -0.0128400242, -0.0608259216, 0.0017785168, 0.0094300285, 0.0217212532, 0.0326926485, 0.0301907547, -0.0054194159, -0.014799308, -0.0005105039, -0.0244706199, 0.036118906, -0.0301113296, 0.0297049507, 0.017166853, 0.0014111919, 0.0088327033, 0.0012225976, -0.0291040689, -0.1374222189, -0.0085890153, 0.018041404, 0.0033960354, 0.0131951366, -0.0173113905, 0.0083115604, -0.0068591191, -0.0202248562, -0.0411505848, 0.0241210461, 0.0551877134, -0.027665358, -0.0232976954, 0.0194439813, -0.0282861348, 0.0024104246, 0.0153859602, -0.0275863484, 0.0424309894, 0.0358641148, -0.0049441527, -0.0416782238, -0.0333609879, -0.0345728956, -0.0753495172, -0.0446408801, 0.0308720693, 0.0584712587, 0.057474155, -0.0556763634, -0.0069164545, -0.0469456464, -0.0132762929, 0.0049508568, 0.0071623712, -0.0120664556, 0.0272585973, 0.021367047, 0.0332647562, -0.0163359754, 0.0090978779, 0.0199456867, -0.0255340412, -0.0199194588, -0.0079936339, 0.0156284999, 0.0458654873, 0.0110396082, -0.091946356, -0.0437194258, 0.0185242966, 0.0003732991, -0.0202060156, -0.0317346863, 0.0692237318, -0.0376434252, -0.0474219136, -0.06596037, -0.0094077559, -0.0323244482, 0.0594842248, -0.0182875209, -0.0359457433, 0.017288696, -0.0019153282, 0.0328440107, 0.023080023, -0.0362703726, -0.03654496, 0.0159533974, -0.0090722088, -0.0003920857, 0.0033827939, -0.0160850324, -0.0227729175, 0.0020473634, 0.0246374235, -0.0493663922, 0.0238698311, 0.0052556219, -0.0007798289, 0.0074854139, -0.0320269838, -0.0242517479, -0.0705918893, -0.0447921529, 0.0169509333, 0.0520682596, -0.003421356, -0.0339455977, 0.0316571519, 0.0152650867, 0.0030381652, -0.0171644911, -0.0215847939, -0.0181944557, -0.0222706422, -0.0023451543, 0.0267758723, 0.0223034937, -0.0322444141, 0.0169328842, -0.0268501174, -0.0095297797, 0.0049468651, -0.0019671049, 0.0228268299, 0.01993284, -0.0614356212, -0.0025982391, 0.0238454007, -0.0303474814, -0.0305389315, 0.0517405756, 0.0756493062, 0.0006369628, -0.0390380993, -0.0002686584, -0.0052701961, 0.0102038812, 0.0422138385, 0.042270232, -0.0724684298, 0.0195780154, 0.019700978, 0.0373631343, -0.0451801158, -0.0629948601, -0.0147887096, -0.1068059132, 0.0494645759, -0.0231893156, -0.0006951279, 0.0121411001, -0.0323382951, -0.0110391378, -0.0173482969, 0.001625563, -0.0090151802, -0.0157201048, 0.0132801319, -0.0061939475, -0.0317670219, -0.0217274632, 0.077214621, -0.046023719, -0.0183175839, 0.0543651842, 0.0459044166, -0.0516146794, 0.000427688, 0.0035527723, -0.0031859893, -0.0107928216, 0.0130842486, 0.0192299932, -0.0063588428, -0.0021009543, -0.0536636449, 0.0122171631, -0.0027557188, 0.0351580419, 0.0402382687, 0.013605467, 0.0224765521, -0.0339699648, -0.0080133434, 0.0138240391, -0.0277008228, 0.0698160678, -0.0045136153, -0.0721140802, 0.0167391524, -0.0584802367, 0.003686781, 0.0490585342, -0.0808463916, 0.0086777508, -0.013372275, 0.0132811479, 0.0210150704, -0.0672244802, 0.0068687955, 0.0102085387, 0.0293406043, -0.0262232386, 0.0197553691, -0.0182228982, -0.0002364939, 0.0478635728, -0.0533949099, 0.0737453029, 0.0119346967, 0.0089695258, -0.0080670994, -0.0252364855, -0.0554248281, -0.0029653483, -0.0227210689, -0.0311475992, 0.0057158601, 0.0160221513, 0.0389298014, 0.0191717371, -0.0209419485, -0.0596385077, -0.0070691253, 0.0577808209, -0.0057314718, 0.0293225572, -0.0306392387, 0.0163886454, -0.0030197517, -0.024879612, -0.0104418248, 0.0762493089, 0.0236959662, -0.0370550677, -0.0042037652, -0.0436290801, -0.0142849116, 0.0251029804, -0.0094453283, -0.0084664058, -0.0027199578, -0.0419180058, 0.0049541751, -0.0255347528, -0.0135135092, 0.0064585167, -0.030954767, 0.0487265475, 0.0323181376, -0.0029053271, -0.0263875853, -0.0209728219, 0.025712736, -0.0307968985, 0.0476483777, -0.0299296211, 0.0603593104, 0.0438258089, -0.0546313077, 0.0248356257, 0.0358831063, -0.0038899949, 0.0350061618, 0.0484613031, 0.0202778876, -0.0167899355, 0.0174187906, -0.005450997, 0.0089020627, -0.0242582671, -0.0744521171, 0.0274112448, 0.0312408153, -0.0040535326, -0.0590338781, 0.0200108625, 0.0095583163, 0.005091764, 0.0068883337, -0.0348161608, 0.0394906662, 0.0207328256, 0.0647731647, -0.001646239, -0.0176368915, -0.00985038, 0.0289580617, 0.0517363138, 0.0253287107, -0.0321746208, -0.0433211625, -0.0055651511, -0.0376878642, 0.0291747451, 0.0293480195, -0.0239201561, -0.0165304281, -0.1209970266, -0.036314968, -0.0223152805, -0.0164694283, 0.0217560418, -0.0268484708, -0.0047804662, 0.030002363, -0.0131168412, 0.004641749, 0.0050848271, -0.0111277578, -0.0438196063, -0.04212749, -0.0278331712, -5.881097787e-33, -0.0016386959, -0.0361248329, 0.0168044232, -0.0220552366, 0.0049605165, 0.0105172377, 0.0215804242, -0.0021245135, 0.0122266533, -0.0238930844, -0.0434394404, 0.0034423163, 0.0065811141, -0.0099108387, 0.0124995988, 0.0235976186, 0.0211746022, 0.0320210271, -0.0155741116, 0.0051088333, -0.0473520197, 0.0328063965, 0.0166996755, -0.0123937819, 0.0483178198, -0.0161438696, -0.0075547611, -0.0019556463, -0.0014310156, 0.0366628394, -0.0132226162, 0.0437695906, 0.0080251899, -0.0506896228, -0.0148166548, 0.033556439, -0.0408455245, -0.0164032895, 0.0137218339, -0.0050170696, 0.0633667931, -0.0335506834, 0.0208415128, 0.0288543385, -0.07290335, 0.01451704, 0.0755581111, -0.0156424046, 0.0468665846, 0.0307017639, -0.0168327652, 0.0441440158, -0.0467254259, 0.0667950064, 0.0052647488, 0.0254287589, 0.0011174618, 0.0596580878, -0.0675965473, -0.0094923871, 0.0188477375, -0.0065977066, 0.0101569789, 0.0147490399, 0.0121643925, 0.0070238081, 0.0738899708, 0.0338997059, -0.009322824, -0.0713746473, 0.005166206, -0.0072378889, -0.043496836, 0.0711896643, 0.0462789088, -0.0657488853, -0.0220322125, -0.0041646971, 0.0106032491, -0.0350021832, 0.0391853675, -0.016139349, -0.0503362194, -0.0493445769, -0.0275148172, -0.055752378, -0.0235471688, -0.0327059776, 0.0469121449, -0.0035616683, 0.0523020998, 0.0293286275, -0.0048838644, -0.0305227675, -0.0490531176, -0.0263665598, -0.0360883214, -0.0356003717, 0.0196536556, -0.0026536193, -0.0863329917, 0.0304962955, -0.0301865749, 0.0184764694, 0.0366662517, 0.0720609203, -0.0342126638, -0.0239040796, -0.08900249, 0.0164580103, 0.0070491633, 0.0268512946, 0.0067172898, 0.0106225098, 0.0491281636, 0.0066816392, 0.0520609803, -0.0265984125, 0.0630851239, -0.0087784939, -0.0225816034, -0.0560653284, 0.0063295569, 0.0411546677, -0.0189994555, -0.0034343766, -0.0044792597, 0.0016548183, 0.0566909313, -0.0499001034, -0.001650462, -0.0521358848, 2.486e-7, -0.0015174747, 0.0506055504, -0.0604222678, 0.0125377355, 0.0323634222, 0.0347555876, 0.0314881615, 0.0404613502, 0.0820407867, 0.0260244496, -0.0276355483, 0.0072215428, 0.003588151, 0.0027904487, -0.0790056139, 0.0018625504, -0.0715861022, -0.0074469382, -0.0626412332, -0.0152434055, -0.0068560806, 0.0670387372, 0.0803204849, -0.0229237396, -0.0416398495, -0.0030783957, 0.0239905957, -0.0597455092, 0.0104700644, 0.027511891, 0.0286606494, 0.0011400766, -0.0078377249, 0.0551228076, -0.0099000363, 0.0436254367, 0.023465097, 0.0379393324, -0.0338594653, 0.0916371122, 0.0049446891, -0.0345339142, -0.0205708761, -0.0583961718, 0.0402456224, 0.0402137041, -0.0396961085, -0.0494576991, -0.0483208001, -0.017196415, 0.0377779901, 0.0197106861, -0.0077218623, -0.0041691917, 0.0022994594, 0.0023835367, -0.0085561899, 0.008700842, 0.0262289401, -0.0069158729, -0.0191604514, -0.1097124815, 0.017045714, 0.0402382649, 0.0334490277, -0.0249391962, 0.0192312691, 2.144199501e-34, 0.0260187592, 0.054627914, 0.0131186284, -0.0354220793, 0.0479327403, 0.0314440466, 0.0071709673, 0.0007937053, 0.0351795182, -0.000454983, -0.0046515781 ]
http://arxiv.org/abs/2406.12230v1
http://arxiv.org/pdf/2406.12230v1
MCSD: An Efficient Language Model with Diverse Fusion
2024-06-18T03:08:01
2024-06-18T03:08:01
Hua Yang, Duohai Li, Shiman Li
cs.CL
cs.CL, cs.AI
Transformers excel in Natural Language Processing (NLP) due to their prowess in capturing long-term dependencies but suffer from exponential resource consumption with increasing sequence lengths. To address these challenges, we propose MCSD model, an efficient language model with linear scaling and fast inference speed. MCSD model leverages diverse feature fusion, primarily through the multi-channel slope and decay (MCSD) block, to robustly represent features. This block comprises slope and decay sections that extract features across diverse temporal receptive fields, facilitating capture of both local and global information. In addition, MCSD block conducts element-wise fusion of diverse features to further enhance the delicate feature extraction capability. For inference, we formulate the inference process into a recurrent representation, slashing space complexity to $O(1)$ and time complexity to $O(N)$ respectively. Our experiments show that MCSD attains higher throughput and lower GPU memory consumption compared to Transformers, while maintaining comparable performance to larger-scale language learning models on benchmark tests. These attributes position MCSD as a promising base for edge deployment and embodied intelligence.
[ 0.0036491004, 0.0556976907, 0.0056246114, 0.0452122577, -0.0259115752, -0.0128327627, 0.0090025412, -0.0352071337, -0.0003808848, -0.0609413125, 0.0197795425, -0.0383687653, 0.0324885324, 0.0706267133, -0.0370630883, -0.0616199784, 0.0365717672, -0.022421632, -0.0091131702, 0.0028673825, -0.0023255292, 0.0251547638, -0.0146540655, 0.0455284454, -0.0117130624, 0.0060736509, -0.0058588353, -0.0246119723, 0.0039258879, -0.0335498452, -0.0408613831, 0.0285713598, 0.0499375947, 0.0449391156, 0.0000021754, -0.0337894894, 0.0016329339, -0.0065244562, -0.0365335941, -0.0298601929, 0.0336989835, -0.0357956663, -0.0308023226, 0.0036153418, -0.0377447046, -0.0654059425, 0.0534730144, 0.0334721953, 0.048860088, 0.0495346226, -0.0203644577, -0.0670777783, 0.0413835756, -0.0071826628, -0.0235445816, -0.0087778317, 0.022953853, -0.0721859708, -0.0063965786, -0.0119039295, -0.0194176026, 0.0257614423, 0.032551676, 0.0110470615, 0.0332579277, 0.0587820411, 0.021927828, 0.0085498979, -0.035270974, 0.0508781336, -0.0447278693, -0.0189562012, 0.0043200534, 0.0129484357, -0.0360987745, -0.0401767083, -0.0046478836, 0.0258785225, 0.0032729334, 0.0080972705, -0.032397408, -0.0027051365, 0.0283996183, 0.0413381904, -0.0383771807, 0.0380249843, 0.0138719771, 0.0001641603, -0.0125334049, -0.0054177679, -0.0073415823, -0.0264682751, 0.017603578, 0.0348364748, -0.0078013227, 0.0132535975, -0.0398506895, -0.0659817606, -0.0033978764, -0.0501360819, 0.0163742434, 0.0264147688, 0.010421318, 0.0519266836, 0.0081446981, 0.0382187292, -0.019986406, 0.0026370995, -0.043424543, 0.0082134334, -0.0199212227, -0.0065574148, -0.0121797044, 0.0570771061, -0.014009905, -0.0509843566, -0.0118122082, 0.0238818228, -0.0056860601, -0.0257801153, 0.002298909, 0.0358556397, -0.0165175945, -0.0087048663, -0.0203676093, 0.0526914187, 0.0140543655, 0.028798813, 0.022701012, -0.043934714, -0.0143681485, 0.0401704796, 0.0258286446, -0.0168564245, 0.0230190922, 0.0921797901, -0.0074496111, -0.0548972376, -0.0358622484, 0.0057233996, -0.0219785273, -0.0272821784, 0.0063931718, -0.065361008, 0.0680972487, 0.0151831787, -0.0289263241, -0.036444433, 0.0213079564, 0.0290815085, -0.0203967653, 0.070852384, -0.0420889147, -0.0163774621, 0.0160969757, -0.0072994805, 0.005599509, 0.0514707156, 0.0589781925, 0.0364991091, -0.0130547788, 0.0267063566, -0.0254569296, 0.0174859837, 0.0014730104, 0.0186814237, -0.0507755615, -0.0334344283, -0.0118599711, 0.0265393425, 0.0749744475, 0.0650567859, -0.0131133534, -0.0485322475, 0.0570462085, 0.0357400961, -0.0227165334, 0.048300527, 0.0375292264, 0.0162159968, -0.0190334786, -0.0639504492, -0.051266741, 0.0426205322, 0.0016225873, 0.0125871478, 0.001351708, 0.0783873796, -0.0057748579, -0.0050686589, -0.0211806074, -0.0285459198, 0.0439674892, 0.0343446061, 0.046863135, -0.0145379584, -0.0289992299, 0.0781862363, 0.0177280623, -0.0644436926, -0.0209089033, -0.0304909442, 0.0075635137, 0.0712785423, 0.0242764857, -0.0012494342, -0.0167721491, -0.0107791042, -0.0085820984, 0.0320514962, -0.002164335, 0.002370754, 0.0626226962, -0.0445579886, -0.0301726796, 0.026432436, 0.0024427006, 0.0445640758, -0.0027344557, 0.0034313221, 0.0031610723, -0.0176049042, -0.0015403448, 0.038643714, 0.0011720618, 0.0189824644, 0.0104413647, -0.0099091986, 0.0124225477, 0.0141606387, 0.0073528723, 0.0306527782, 0.0478963032, -0.0725418776, -0.0453233495, 0.0434878059, -0.0854377672, -0.0195358135, 0.0506792925, -0.0020594096, 0.0137037029, 0.0175537542, -0.0541164391, -0.0366831273, 0.0309660565, -0.0686151385, 0.0326361507, -0.0265058931, 0.0059977095, 0.0180424359, 0.0220805351, 0.0008044823, 0.0795388967, -0.0684544593, 0.001706297, -0.0229390524, 0.0035270012, 0.0065311855, 0.0091385525, -0.01856854, 0.0376553722, -0.0082105445, 0.0282804724, 0.0132013168, -0.0220870618, -0.0004212551, -0.0106577594, -0.1029375717, -0.0106141539, -0.0258241072, 0.0086555351, -0.0122141158, 0.0195585396, 0.0330273397, -0.0062483302, -0.0143623268, -0.012079197, -0.0210089255, 0.0387070067, 0.0090037566, 0.0248264298, -0.0039383317, -0.0201971941, -0.026392661, -0.0045688008, 0.0730792359, -0.0413974673, -0.0333920047, 0.0005392994, -0.0325790234, -0.0230277833, 0.0650253668, -0.011540316, -0.0212628245, -0.0023132036, -0.0400637276, 0.0523841344, 0.0362474993, 0.0563034602, 0.0354818329, 0.0334213823, -0.0322134122, -0.0098118149, 0.0291540176, -0.0237284917, 0.0722066686, -0.0237481166, 0.0246025082, -0.0380000807, 0.0656949282, 0.008135343, 0.0023007686, -0.042388428, -0.0341565758, 0.0185221136, -0.0132639958, -0.0089159319, -0.0092214197, -0.0361995958, -0.0152756535, -0.0513220951, -0.0495539866, 0.0378389359, -0.0424427539, -0.0218386613, -0.0198845863, -0.0259072483, -0.0459522977, 0.067900531, 0.0006456992, 0.0118207261, -0.0421874411, -0.0030568675, -0.0078362087, 0.0145947197, 0.0092507768, -0.063424401, 0.0719799623, -0.0550160706, 0.0369923934, -0.0163324587, -0.0283020642, -0.0400538556, -0.0109766005, -0.0329455324, 0.0033591217, 0.0015920919, -0.0356170014, -0.0501483344, 0.0059645367, 0.0124288332, 0.0742044821, 0.0231704507, 0.0141161708, 0.0009920147, 0.0257189088, 0.0704530254, 0.0620844886, 0.011949596, 0.0121323159, 0.042842254, 0.0690040216, 0.0545745231, 0.0015632511, -0.1019393578, 0.0054532764, 0.0185588188, 0.0088640125, -0.0064947964, 0.0297179502, 0.0188941825, -0.0655764118, -0.0081867808, 0.0933504626, -0.0081660151, -0.0752899051, -0.0242081601, 0.0298197549, 0.0425710343, 0.0275960285, -0.0176040269, -0.0397017859, -0.0384671614, 0.010828835, -0.0194474123, 0.0409688093, -0.0250830874, -0.0177609101, -0.0975659043, 0.0159201734, 0.0097331721, -0.0363025144, -0.0188503545, -0.0338667445, -0.0271223988, 0.0127542876, -0.0146036642, -0.0101949358, -0.0044808122, -0.0206950121, 0.0163011607, -0.0178525578, -0.0198940281, 0.0463911742, -0.025664743, 0.007917475, 0.0568014942, 0.0336911082, 0.0043570171, -0.0800848454, 0.0335268192, -0.0488205999, -0.0122207496, -0.0220662579, 0.0364727974, -0.0440884866, 0.0126320515, -0.0089400932, 0.0261319112, -0.0454364568, -0.0300609805, -0.0638836101, 0.0881647915, -0.0373918302, -0.0070216232, -0.048727978, -0.0150653077, 0.0042177993, 0.0508408472, -0.0140957488, -0.0492903963, -0.0620427653, -0.0071323216, -0.0304942857, 0.0074435151, -0.0713691339, 0.0170994587, 0.0427814759, -0.0650178492, -0.0493315682, -0.0176100116, -0.0011957405, 0.0324047655, -0.0182114355, -0.0085645933, -0.0066210185, 0.0272283182, -0.0573557056, 0.0349171758, -0.005671131, 0.0603469908, -0.034149766, 0.0399487428, 0.0389648713, -0.0280411728, -0.030778002, 0.0464693494, -0.1051561683, -0.0693481043, 0.0196206737, 0.0146421753, 0.0191342067, 0.0387979113, -0.0083360113, 0.0203305949, 0.0363194086, 0.0625250489, -0.0151721397, 0.0239921939, 0.0271007884, -0.019217331, -0.0097332122, 0.0291328561, -0.0296327993, 0.0292302649, -0.0399770886, 0.0231130719, -0.0419955775, -0.0503459238, 0.0008281019, -0.0447969213, 0.0708850771, 0.0018016294, 0.0245378539, -0.0190842561, -0.0087181209, 0.0138368802, 0.0036373367, -0.0453573838, 0.0159316119, 0.0081292689, -0.006008219, 0.0133089572, -0.0009534753, 0.0775565803, -0.0155693926, 0.0191161316, -0.0062622656, -0.0222536027, -0.0283480417, -0.0005152143, 0.0180180464, -0.008523386, -0.0135918399, -0.0375227332, 0.0039879568, -0.0257583708, 0.0416209549, 0.0275289454, -0.0380259007, -0.015846001, 0.0258061942, -0.0585247539, -0.0252085999, -0.0406802818, -0.0414520204, 0.0516495295, -0.0035326313, 0.0498909168, -0.0046076523, 0.0266093053, -0.0321012177, 0.0298981629, 0.011140205, -0.042972248, 0.0677935034, 0.0285102148, -0.0328160711, -0.0029577205, 0.0348043479, -0.0018230736, 0.0314888097, 0.0210770462, 0.0101425508, -0.0136691798, -0.06561023, -0.0278287344, 0.04801232, -0.0237462837, 0.0129868165, -0.0541227758, -0.0469852053, 0.0785196275, -0.0268738121, 0.0127979945, -0.0133341299, 0.0543879122, 0.0451796129, -0.0036704203, -0.017353097, -0.0072458354, 0.020198999, -0.0350164585, 0.0098647373, -0.0151767172, -6.745682331e-33, -0.0081711067, -0.0040937099, 0.0398078971, 0.0033542488, -0.046522636, 0.0077802804, -0.0304867942, 0.0149601521, -0.0495407917, -0.0022170842, 0.0046060295, 0.0253031291, 0.0084004449, 0.0669013038, 0.008430142, -0.0045450977, 0.0542950109, -0.0066476809, 0.0276499409, 0.007678343, 0.0646259263, 0.0223948043, 0.0639308468, -0.0623677075, -0.0466068685, -0.0156585313, -0.0125143258, 0.0257201977, 0.0030267725, 0.017756518, -0.0425260104, 0.0517124794, 0.0180553552, -0.0351829566, -0.0256791748, -0.0003398247, -0.0923671946, -0.0053428016, 0.0004046269, 0.0218653493, -0.0473513938, -0.026572369, 0.0225954875, 0.0107426075, 0.0305543542, -0.0407549068, 0.0206190534, -0.0400071368, -0.06370572, -0.0430355258, -0.0274989121, 0.0467572361, 0.0257126279, 0.0107268421, 0.0228121877, 0.0029130108, 0.0042964672, 0.0210105069, -0.1096489951, -0.0010547293, -0.058951214, 0.0321573541, 0.0396840274, 0.0145176249, 0.0232034735, 0.0744066462, 0.0066366005, -0.0327556096, -0.0276106913, 0.026063351, 0.0447459631, 0.0309861936, 0.0368353799, -0.0261401646, 0.0488446914, -0.0401524045, -0.0137451245, -0.0124285799, 0.0363963991, 0.0726127774, 0.0361786112, 0.0216429438, -0.0268580113, -0.0167442113, -0.0225301497, -0.009959694, -0.0277365819, -0.0210207179, 0.023503691, 0.0552243032, -0.0004929577, 0.0332574248, 0.0366127566, -0.0039675268, 0.0188816637, 0.0489925891, 0.0024671312, 0.0221677069, 0.0052461927, 0.0107060447, -0.0343955718, -0.0263444632, -0.0043246266, -0.0175357331, -0.009775185, 0.0102218352, 0.017904697, 0.0569049306, -0.0773108602, -0.0167242754, -0.0407846235, 0.019300716, 0.0108095789, 0.0518927388, 0.0423872657, 0.0072780545, -0.020568464, 0.0506898798, -0.0490379222, 0.0424030274, -0.0353464223, 0.0291641019, -0.0038083862, 0.0234246459, 0.004585248, -0.0089112893, -0.0608867817, -0.0154044116, 0.0025460725, -0.0566022545, -0.015943924, 0.0331533141, 2.957e-7, 0.0014899777, 0.0139555521, 0.0382507369, 0.0182997305, 0.0241731349, 0.0304029547, 0.0402879082, 0.0242011026, -0.0152128888, -0.0212648734, -0.0270760898, 0.0451934673, 0.0451287255, 0.0173877627, -0.0842970982, 0.0079478845, -0.0662180185, -0.0317104161, -0.0345410407, -0.0031155809, 0.043972224, 0.1321792603, 0.0163962562, -0.0158439111, 0.0222104602, -0.0319523327, 0.0665414035, 0.0007800012, 0.051677078, -0.0320695005, -0.0019827797, -0.0069896141, -0.0389462821, 0.0061947932, -0.0115443943, 0.023628518, -0.010716944, 0.0645052344, -0.0355760567, -0.0411636084, 0.0263293535, -0.0163213853, -0.0387657844, 0.0159702711, 0.074148953, -0.0100423731, -0.016398754, -0.096952334, -0.0087977629, 0.028517032, -0.0102390964, 0.0222532768, 0.0192270987, -0.0065767453, -0.0020666642, -0.056577377, -0.005226654, -0.1344038844, -0.0492431447, 0.0271224696, -0.0730489716, -0.0082396064, -0.0637124926, 0.0317996517, 0.0704203472, -0.058004003, -0.0306928121, 2.876589878e-34, 0.0234982613, 0.0075133746, -0.0114851501, 0.0468534455, -0.0009429734, -0.0246762298, 0.0518624038, -0.0058460878, 0.0089836661, -0.0860038772, -0.0128886569 ]
http://arxiv.org/abs/2406.12223v1
http://arxiv.org/pdf/2406.12223v1
ToxiCloakCN: Evaluating Robustness of Offensive Language Detection in Chinese with Cloaking Perturbations
2024-06-18T02:44:56
2024-06-18T02:44:56
Yunze Xiao, Yujia Hu, Kenny Tsu Wei Choo, Roy Ka-wei Lee
cs.CL
cs.CL, cs.CY
Detecting hate speech and offensive language is essential for maintaining a safe and respectful digital environment. This study examines the limitations of state-of-the-art large language models (LLMs) in identifying offensive content within systematically perturbed data, with a focus on Chinese, a language particularly susceptible to such perturbations. We introduce \textsf{ToxiCloakCN}, an enhanced dataset derived from ToxiCN, augmented with homophonic substitutions and emoji transformations, to test the robustness of LLMs against these cloaking perturbations. Our findings reveal that existing models significantly underperform in detecting offensive content when these perturbations are applied. We provide an in-depth analysis of how different types of offensive content are affected by these perturbations and explore the alignment between human and model explanations of offensiveness. Our work highlights the urgent need for more advanced techniques in offensive language detection to combat the evolving tactics used to evade detection mechanisms.
[ 0.0530249476, 0.0694629923, -0.048265893, 0.0341318175, -0.0040357104, 0.0374899097, 0.0695068538, 0.0354338996, 0.0199004896, -0.0378774591, -0.0162371211, -0.0155991632, -0.0046524922, 0.0320211686, 0.0120833581, -0.0236061756, 0.0355179831, 0.0295349099, -0.0084631508, -0.0056373389, 0.0497265123, 0.0081137819, 0.0284959618, 0.0504362322, -0.0327461027, -0.001534759, 0.0306793619, 0.0265515018, 0.0182110779, 0.0139153274, 0.0508944392, 0.0340155214, -0.0126347253, 0.0922525451, 0.0000018619, -0.0358944237, 0.0139567666, -0.0021372912, 0.0045717224, 0.0210233312, 0.1086438373, -0.0252134185, -0.0579570904, 0.0385060646, 0.0045062099, 0.0274974424, 0.0847610012, 0.031837102, 0.0584411286, 0.057640437, -0.0102355611, -0.0185011961, 0.0033566961, 0.0082983784, -0.0067061814, 0.0223158486, 0.0732120126, -0.0344235338, -0.0533088446, -0.0065381625, -0.0406294614, -0.0024158715, 0.0143659366, 0.0082480023, -0.0344189033, -0.0245882049, 0.0006213175, -0.0342920572, 0.0386429578, 0.0680733472, -0.0647484064, -0.0201064479, -0.0109090647, -0.0037341118, -0.0190902557, -0.0260057226, -0.0159144923, -0.0081132893, 0.0240835287, 0.0152230272, -0.0133431563, -0.0175121706, 0.0581406802, 0.090752013, 0.0136140417, 0.004239494, 0.001049209, -0.0433507562, -0.0368813127, -0.048271738, -0.0248862654, 0.0029414934, 0.049118571, -0.0072438619, -0.0093712118, 0.012708446, -0.0289603006, -0.0764667839, 0.012294637, -0.0861961767, 0.0388413444, 0.05164003, -0.0613533296, -0.0005769023, -0.015766032, 0.0644206703, -0.0310882553, 0.0179106742, 0.0030166286, -0.0093063992, -0.0056416113, -0.0022183349, 0.0073893708, -0.0152792633, -0.0124398787, 0.0288497023, -0.0469827354, 0.0084397346, -0.0517293513, -0.0399995334, -0.0027783439, 0.0102088377, -0.0287105367, 0.0149998153, -0.0002384695, 0.0044720969, -0.0339477398, 0.0233002529, -0.0331881717, -0.0537985265, 0.0068505052, 0.0239540357, -0.0303643476, -0.044428654, 0.0382031128, 0.0735975206, 0.0219838861, -0.0061584637, -0.017199859, -0.0066598454, -0.0483222529, -0.0212173052, 0.0125867454, -0.0567790568, 0.0115640629, -0.0279879402, -0.0207504183, -0.090261966, 0.0086712921, 0.015553806, -0.0775805265, 0.0608597174, 0.0017870424, -0.0092432285, 0.0192006212, 0.0278291665, -0.0360090584, 0.0624404028, 0.0347809307, 0.0220264178, 0.0623712949, -0.0165078081, -0.017626714, 0.0543539561, 0.0123505602, 0.0391475037, -0.0814158097, -0.0049293255, -0.029592637, -0.0302617904, 0.0201169215, 0.0380537957, 0.0072029871, -0.067079179, 0.0740675554, 0.0446223989, -0.0495537408, 0.0498700216, 0.0275605116, 0.0196231119, -0.0500248708, -0.0125318924, -0.0654681325, -0.0170291569, -0.0316759646, -0.0464551188, 0.0050244271, 0.0707173049, -0.0211976133, -0.048562374, -0.0225026421, -0.0145742092, 0.0848114565, -0.0370777175, 0.0198575985, 0.0042409147, -0.017226778, -0.0285391808, 0.0674448982, -0.0359477885, 0.0099928835, -0.0369876176, 0.0113036679, 0.0834278315, 0.0324853435, 0.0044590929, 0.0312709622, -0.0530502237, 0.0081526069, 0.0430971719, -0.0125137093, 0.0065404228, 0.014848493, -0.0378353335, 0.0056248005, 0.0427555032, 0.0149901789, 0.0105465176, 0.0548363551, 0.0195217207, 0.0068733501, 0.0261543579, -0.0491221026, 0.0300955512, -0.0081765521, -0.0303875785, 0.0137803871, 0.0192458238, 0.0598180331, -0.0020383284, -0.0471237451, -0.0354596861, -0.0156742353, -0.0048694862, -0.0387474038, 0.0052464558, -0.0163135529, -0.0118185794, 0.0369843282, -0.0195933245, -0.0062330421, 0.0716347545, -0.0172447916, 0.0325236842, 0.0502138808, -0.0013422061, -0.0123799145, -0.039945811, -0.0113889668, -0.0719281808, 0.069892019, 0.0185023602, 0.0217766687, -0.0223461445, -0.0049787061, -0.0008560073, -0.009209156, 0.0193360597, 0.0298723355, -0.0641547143, -0.0033745882, -0.0331614092, 0.0175090823, -0.0179658737, 0.0302184466, -0.0126889702, -0.0178932548, -0.0301626492, -0.0078086322, -0.0168882962, -0.0464098416, 0.0273687281, -0.0067996602, -0.021938039, 0.0257674474, -0.0019110329, -0.0464497879, 0.0329098552, 0.0563265495, -0.007900794, -0.0704543814, -0.0405617133, -0.0212060381, -0.0284494422, -0.0255890731, 0.0287413336, -0.0246673804, -0.0644903705, 0.0525184311, -0.0106874434, -0.0342781991, 0.0144171566, -0.0060873381, -0.110843353, 0.0107129905, 0.0308350492, 0.0116998702, 0.064614743, 0.047991991, 0.0749563277, 0.038021747, -0.0128994929, -0.0274932254, -0.0036049702, -0.0226670709, -0.0068445443, -0.0111477207, -0.0539302602, -0.0393741839, 0.0538404845, 0.0415639803, -0.0192629565, -0.0604387037, 0.0361706093, -0.0613825098, -0.0463668555, -0.0334647857, -0.0715641752, -0.0508051515, -0.0129523566, -0.041202832, -0.0640803576, 0.06308496, 0.0144042196, 0.0176544823, -0.0064642983, -0.0078783128, 0.0077052102, 0.0244747009, -0.0117945857, 0.0566899739, -0.0142783858, -0.0100802705, 0.0025707853, -0.0144636268, 0.0213114843, -0.0402384885, -0.0262614042, 0.0129216947, -0.0075925579, 0.0341912694, -0.0331768058, -0.0383764878, -0.0492547825, -0.0102745909, -0.0155957714, 0.0283816289, -0.0156748518, 0.0104212994, 0.0590165518, 0.0013685398, -0.0332758799, -0.0146424016, 0.0243276842, 0.010940277, -0.0518485829, 0.0102971029, -0.0308765471, 0.0458648615, 0.015622627, 0.0333321989, 0.0771076456, -0.0243608113, -0.0072065028, 0.0039523183, 0.04378815, 0.0108160581, 0.0327306166, 0.0205088686, 0.0065681017, 0.0200331993, -0.0124405781, 0.0043344293, 0.0720718205, 0.023586968, 0.0016430278, 0.0293089189, 0.0066733202, 0.0228333715, 0.0183623992, -0.025094267, -0.0892444104, 0.0007344635, 0.0208662767, 0.0167433321, -0.0936407223, -0.0437778942, 0.0189039502, -0.0854585096, 0.0307272244, 0.0234652609, -0.0125647318, -0.0413244441, -0.0135634057, 0.0298950206, -0.0024856569, 0.0505386926, -0.0223125201, 0.0408448614, -0.046336174, 0.0007319376, -0.0448904447, -0.0265512746, 0.0375322513, -0.0325768739, 0.0305847973, 0.0421759561, 0.0507076159, -0.0455792099, -0.0011617619, 0.0402663238, 0.0168085732, -0.0129875615, -0.0320671126, 0.046947632, 0.0163838547, -0.0350255482, -0.0288019553, 0.0453012958, -0.0189428143, -0.0086009512, -0.0023958159, 0.030950984, 0.0441987664, -0.0012099154, -0.0429351069, 0.0334572867, -0.0018256855, 0.0888327286, 0.0197038669, -0.0883145481, 0.0269582458, -0.0519356765, -0.055802241, -0.0031695247, -0.0735848024, -0.0162993446, -0.0136084389, -0.0371780619, -0.0640867576, -0.0016537422, 0.0018448791, 0.0077124825, 0.0334688127, -0.0318313241, -0.0515112579, -0.0083571123, 0.0010292425, -0.0086870827, 0.0023139068, 0.0388088264, -0.0227455925, 0.0240991451, -0.0319584161, -0.0108129624, -0.0186590999, 0.0290587805, -0.0621034652, -0.0676752776, 0.0928233862, 0.04295462, 0.0141528929, 0.0042789243, -0.0271067582, -0.0443642996, 0.0417851284, 0.0468778685, -0.0128638754, 0.0150163518, 0.0681445152, -0.0242900923, 0.0120926304, 0.0156028848, -0.0236273184, 0.0339974575, 0.0611070283, -0.0123104127, -0.0340764821, -0.0231810119, 0.0047940565, 0.0094313603, 0.0322946981, -0.0132479006, -0.0568711311, -0.0203971956, -0.0089734001, -0.0075847348, -0.0224136747, -0.0175695363, -0.0076118284, 0.0350825638, 0.0097435452, -0.0554270856, -0.0077463812, -0.0240134597, 0.009446336, -0.0437353477, 0.0242704414, -0.0024153977, 0.0258777644, 0.0293533076, 0.0481358431, -0.0284075886, 0.0509362519, -0.0068115699, -0.0319513343, -0.0054936656, 0.0324373916, 0.0018882037, 0.0283032432, -0.0061087487, -0.0143330256, 0.0085041327, -0.0016651682, -0.0418792777, -0.0166872367, -0.0015474398, -0.0265534744, 0.0233622529, -0.0250640288, -0.0217738114, -0.0456554182, -0.0137553997, -0.019458374, -0.0575346537, 0.0192803629, 0.0117189232, -0.0302352179, 0.0245895535, 0.0446943417, -0.0186861157, 0.0585879721, 0.0524973497, -0.0269431174, 0.0151739512, 0.0129098399, 0.0518803932, 0.0275907572, -0.0097969007, 0.0231096968, -0.0406281687, -0.0789577588, -0.023457665, -0.0577436313, 0.0258446764, -0.0153958127, -0.0141358469, 0.0527715646, 0.0007588394, 0.0337491594, -0.0148713943, -0.0057745851, -0.0117156114, -0.0535860397, 0.0092638796, -5.772320478e-33, 0.0049310816, -0.0146470154, -0.0446166173, -0.0010192129, 0.0241177566, -0.0440893732, 0.0130548785, 0.0185975339, -0.0265342835, -0.0018645646, 0.0067736679, -0.0029154613, 0.0059085423, -0.0058393003, -0.0122478046, -0.0438861251, 0.0327040739, -0.0237974711, -0.0065539735, -0.0041778581, 0.0586365536, 0.0165702272, -0.0002602718, -0.0681609511, 0.043665532, 0.0073653036, -0.0387266353, 0.0132211056, -0.0031768829, 0.0780906156, -0.0010997517, 0.1000994444, 0.0226729382, 0.0132890195, -0.0135233719, 0.0341172591, -0.0556349494, 0.0151809417, 0.0243581962, 0.0173099898, 0.0455602705, -0.0412537791, 0.0430589356, -0.011715522, -0.0279636215, -0.020112427, 0.0115763703, -0.0536969267, 0.0275000613, -0.0333048962, -0.0492691398, 0.0097061265, -0.0352151059, -0.0079211975, -0.0254201628, 0.0290805865, 0.0186957791, 0.0493774414, -0.0628255606, 0.0177542362, 0.0183846205, -0.0101592131, 0.0051725395, 0.009982489, 0.050049562, 0.0495485701, 0.0303434636, 0.033382725, -0.0165129527, 0.017344119, 0.0680951402, 0.0125902686, 0.0472511724, 0.0447425246, 0.0273913052, -0.1097968519, -0.0545738004, -0.0214220807, 0.0537357815, 0.0080930553, 0.0417032689, 0.0154527295, -0.0628903359, -0.0402854346, -0.0229754429, -0.0466278158, -0.0364663787, -0.0590220354, 0.0392941833, -0.0305941813, -0.0382212512, -0.0466122963, 0.0318326876, -0.0500146672, 0.0044422313, 0.011269249, -0.0347760618, -0.0033668708, 0.0247106049, 0.0513359308, -0.0420647524, -0.0077093905, 0.0025964463, -0.0618067831, 0.0241204947, 0.0037051302, 0.064169921, 0.0435995385, -0.0694113448, 0.0071833241, -0.0117285317, 0.0262957308, 0.0315637738, 0.0564558357, -0.0032611175, 0.038731426, -0.0022418431, -0.0228056032, 0.0557989739, 0.0128240203, -0.03667707, -0.0009961978, -0.0488812514, 0.0081821084, -0.0276927501, -0.0128977643, 0.0013931313, 0.0025680652, 0.0602655075, -0.0866139308, -0.0009285759, -0.0339293033, 2.555e-7, 0.0185436737, 0.0432686172, 0.019479109, 0.0237922631, 0.0354923457, 0.0259091686, 0.01109997, 0.0096894549, 0.0212644171, 0.0246824976, -0.0124752279, 0.0428235494, 0.0379321091, 0.0426783487, -0.0016520737, 0.0057704789, -0.0906366855, 0.0198550578, -0.0347604752, 0.0009484452, -0.0137008587, 0.1015658155, 0.0482869968, -0.0291597303, -0.0235420763, -0.0389875211, 0.0197932515, -0.0648281127, 0.0083443243, -0.0196828172, 0.0412959605, 0.013454752, 0.0257392582, -0.016706787, 0.0066637527, 0.0044403719, 0.0225431714, 0.0626115873, 0.0177492797, 0.0144418264, -0.0130476579, -0.0408284925, -0.0101684388, -0.0625200793, 0.0708711222, 0.0033743512, -0.0200457089, -0.0220698118, -0.0112779392, -0.022103874, 0.0421236046, -0.0676788315, -0.0130809816, -0.0006981202, 0.039447397, 0.0106253, 0.0178095549, -0.0533046164, -0.0381353758, -0.0335664488, -0.0450158305, -0.056271378, -0.0130170919, 0.0142344376, 0.018977616, 0.0258612894, 0.0294536222, 2.283701522e-34, 0.0189353675, -0.041954983, 0.0001600557, -0.0202631745, 0.0553700142, 0.0150279701, 0.0431636944, 0.0160155315, 0.0204562172, -0.038193129, -0.0157458391 ]
http://arxiv.org/abs/2406.12221v1
http://arxiv.org/pdf/2406.12221v1
On-Policy Fine-grained Knowledge Feedback for Hallucination Mitigation
2024-06-18T02:43:49
2024-06-18T02:43:49
Xueru Wen, Xinyu Lu, Xinyan Guan, Yaojie Lu, Hongyu Lin, Ben He, Xianpei Han, Le Sun
cs.CL
cs.CL
Hallucination occurs when large language models (LLMs) exhibit behavior that deviates from the boundaries of their knowledge during the response generation process. Previous learning-based methods focus on detecting knowledge boundaries and finetuning models with instance-level feedback, but they suffer from inaccurate signals due to off-policy data sampling and coarse-grained feedback. In this paper, we introduce \textit{\b{R}einforcement \b{L}earning \b{f}or \b{H}allucination} (RLFH), a fine-grained feedback-based online reinforcement learning method for hallucination mitigation. Unlike previous learning-based methods, RLFH enables LLMs to explore the boundaries of their internal knowledge and provide on-policy, fine-grained feedback on these explorations. To construct fine-grained feedback for learning reliable generation behavior, RLFH decomposes the outcomes of large models into atomic facts, provides statement-level evaluation signals, and traces back the signals to the tokens of the original responses. Finally, RLFH adopts the online reinforcement algorithm with these token-level rewards to adjust model behavior for hallucination mitigation. For effective on-policy optimization, RLFH also introduces an LLM-based fact assessment framework to verify the truthfulness and helpfulness of atomic facts without human intervention. Experiments on HotpotQA, SQuADv2, and Biography benchmarks demonstrate that RLFH can balance their usage of internal knowledge during the generation process to eliminate the hallucination behavior of LLMs.
[ 0.0479393341, 0.0332691334, -0.014932909, 0.0363565199, -0.0299057253, 0.0209771805, -0.0357795693, 0.0197995026, 0.0107256174, -0.0445370227, 0.0065267156, -0.0260480326, -0.0015162005, -0.0009931664, 0.0237283111, -0.0180731006, 0.0828601271, -0.0710250884, 0.0570028126, -0.0353719294, -0.0015189709, 0.0176483244, -0.0205543544, 0.0586770102, -0.0371796787, -0.0116097918, 0.0025984552, -0.013113644, 0.0066463351, -0.0042587286, 0.0273697749, 0.0424101762, -0.0029799175, 0.0591815971, 0.0000022213, -0.0647117943, -0.044492811, -0.0012718607, -0.0058642789, -0.0151844211, 0.0291602947, -0.0100844931, -0.0109827193, 0.0257437099, -0.0194840729, 0.0344561972, 0.0564395934, 0.0843401253, 0.0495774969, 0.0554149412, 0.0217535794, -0.0297232959, 0.0444006398, 0.0115533043, 0.0539379157, 0.0062798131, 0.0183130689, 0.005834972, -0.0170121007, -0.0788960606, -0.0192796253, 0.0254271701, -0.0091044279, -0.0017398568, -0.0028604886, 0.0204541981, -0.0892498568, -0.042923715, 0.0114726862, 0.0568314306, -0.0156439245, -0.0400509313, 0.0305909105, -0.0208691508, 0.0395568423, 0.0100837033, -0.0159633569, 0.0230561867, -0.0228797924, 0.0036921077, 0.0236677267, -0.0272049028, 0.0234796032, 0.0201350227, -0.0258244351, 0.0852589607, -0.0070291418, -0.0484035797, 0.0001029531, 0.0114769498, -0.0015917551, -0.0264409408, 0.0069245175, 0.0427234508, -0.0893090293, 0.0139765944, -0.0394098684, 0.0074670357, 0.0551259927, -0.0515317135, 0.0225372054, -0.0046302476, -0.0220797379, 0.0276477486, -0.0196988806, 0.0289538521, 0.0001087514, 0.0787664652, 0.0039854324, 0.0181846172, -0.0402946733, -0.0168103594, -0.0518904142, 0.0705566034, 0.0240986738, -0.029149387, -0.0110785523, 0.002739718, -0.0546985716, 0.0687670857, -0.051232405, 0.0007442439, -0.0335312188, -0.0001766581, -0.0418895483, 0.0255777501, -0.0266974419, -0.0095276712, 0.0361295864, -0.0655952543, -0.0220822766, -0.0079205427, 0.0158875566, 0.0220783986, 0.0076086344, 0.0724091679, -0.0053752162, -0.0156066902, -0.0034260619, -0.0922375247, -0.0308419988, -0.0803002715, -0.0122090783, -0.0592462681, 0.0077110734, -0.0256535467, -0.0166742112, -0.0056694355, 0.0220749993, 0.0009183887, -0.0270830635, 0.0405295044, -0.0020244382, -0.0100479405, 0.0294957589, 0.0191822164, -0.0057534506, 0.0870341733, 0.0169347487, 0.0357319266, 0.0328973681, 0.0087245926, 0.0508813933, 0.0145764221, 0.052716691, 0.0247027073, -0.039731577, -0.0205749236, 0.0192881841, 0.034450721, 0.0209179856, 0.0336213484, -0.0563515387, 0.0439106598, 0.0680772215, -0.0162932444, 0.0106659317, 0.0067428211, 0.008700788, 0.0456707589, -0.0040460057, 0.0340170823, -0.0573685803, 0.0249024294, -0.0292687751, 0.0313554518, 0.0611551069, -0.0095273117, -0.0063086865, -0.0507499464, 0.0085998243, 0.0066329362, 0.0082616368, 0.0496056899, 0.0312182158, 0.0610391796, -0.0484377667, 0.0691016242, 0.0424882174, -0.0293477327, 0.034627378, -0.090382427, 0.0566031411, 0.0905708, 0.0843600556, -0.0309290476, -0.0367203318, -0.0458777025, -0.0123728728, 0.0570161454, 0.0262166094, -0.0316601321, 0.0087935366, -0.0362253599, -0.0151264872, 0.003280961, 0.0373722278, 0.0018437572, 0.0067436905, -0.0151820211, 0.0001582136, 0.0063257408, -0.0488571823, 0.0375659652, 0.0240610912, -0.008139899, -0.0236172602, -0.0112708379, 0.035630703, -0.0065962696, 0.0084403362, 0.0119957896, 0.0163816344, 0.0005827157, -0.0428812206, -0.0123727843, -0.0462719575, -0.044357609, 0.0369844064, 0.0053934734, 0.024454277, -0.0120710898, -0.0177946053, -0.020306332, -0.0167900547, -0.0512292013, 0.0589246415, -0.0446562916, 0.0280263964, -0.0343196094, 0.0138478298, -0.0151135838, 0.0633866638, -0.0140248798, 0.0266958009, 0.0229233149, -0.0142746223, -0.0354053639, -0.0343927927, -0.0157085638, 0.0092233093, -0.0282636173, 0.023241112, 0.0300308913, -0.0014145959, -0.0541460067, -0.0120637417, -0.0415604785, -0.0163505264, -0.0191115253, -0.0059271748, 0.0075273756, -0.0086163031, -0.0136791468, -0.0258270465, -0.0030481697, -0.0064534624, 0.007801204, 0.0395255052, 0.019340178, 0.0257857796, -0.0228449292, -0.0026671735, 0.0262892824, -0.0122720366, -0.0031083417, -0.0280742012, 0.0046356698, -0.0956232026, 0.0006031098, -0.0655291975, 0.0259086173, 0.0062066526, -0.0361798406, 0.0391678922, -0.0124781644, 0.0274096169, 0.0770286992, 0.0403712504, 0.0114288935, 0.0725176781, -0.0034021861, -0.0753092915, 0.0166818704, -0.0130176516, -0.0115967998, -0.0313092545, 0.0188718401, 0.0031825944, 0.0387564003, 0.0146370949, 0.0179142077, -0.073770918, 0.0288721677, -0.0287217461, -0.0687627494, -0.0075473334, -0.0054252394, -0.0552593209, 0.0028193844, -0.0125016263, -0.0460393988, 0.110484466, -0.0059587164, -0.0042026076, -0.0254253335, 0.024929937, 0.0187852755, 0.0349312834, -0.0082432246, 0.0212829094, -0.0017842765, -0.0284091681, -0.0513165519, -0.0400233902, 0.0496634059, -0.0668302476, -0.0095930416, -0.0121646402, -0.0215574224, 0.0028322055, -0.0147520946, -0.0645227134, -0.0341693088, -0.0101732025, -0.0371094309, -0.0597887635, -0.0123993224, 0.0130925886, -0.0007546358, 0.0198155157, 0.0241351966, -0.049333334, -0.0148333656, -0.0210377891, -0.0019414334, 0.0971589163, 0.0144251203, 0.0357380882, -0.0344991796, 0.0256790556, 0.0578622818, 0.0157044753, 0.0118516972, 0.0367474221, -0.0279979929, 0.0495925993, -0.0264440011, -0.0137496917, 0.0345526114, 0.0632390529, -0.0869681612, -0.0434934646, 0.1029031351, 0.0254982784, -0.0242409259, 0.0119997151, -0.0356223211, 0.0778626204, 0.002184476, 0.0179642215, -0.0764541551, -0.014906751, 0.0070931772, 0.0355511606, -0.0432798788, -0.0178618748, -0.0001554963, -0.132896021, 0.034322381, 0.0065793702, -0.0411173888, -0.0103239259, -0.0010176976, 0.0036331669, 0.0216476936, 0.0212937482, -0.0050107678, 0.0025219333, -0.0265547894, 0.0245954879, -0.0040266984, -0.0285518616, 0.0010670397, -0.0290777497, 0.0781520382, 0.0848686695, 0.0423293822, 0.0082121501, -0.0644511655, 0.0509347618, -0.0058891773, 0.0056080343, 0.0002646421, 0.0343193822, -0.0032941806, 0.0150215663, 0.0060704625, 0.0308937673, 0.0370973647, -0.0174704213, -0.0082037076, 0.0675778538, -0.0296080541, -0.0371271148, -0.004392731, 0.0402627364, 0.0445089303, 0.0642755404, 0.0116186207, -0.0378926657, -0.0441360809, -0.0112028634, 0.0178705379, -0.0557497889, -0.0314417966, 0.0149601428, 0.0176055171, -0.0039790277, -0.0886106044, -0.0301008336, -0.0061762896, 0.0462768115, -0.0175186098, 0.0412008949, -0.0237003677, 0.0261040702, -0.0002643454, -0.0252014045, -0.0787020847, 0.0074043185, -0.0082658483, -0.004021043, 0.0096508665, -0.0198190957, -0.0078140404, 0.0289791506, -0.0452195853, -0.0808536857, 0.0296577401, 0.0626722649, 0.0222414918, 0.0846269578, -0.0262912009, -0.0549515039, 0.105015859, 0.0661592409, -0.0396816023, -0.0039899265, 0.0433808677, -0.0095930491, -0.0083378246, 0.0367395841, -0.0498072095, -0.0123159504, 0.00732429, 0.042804312, 0.0093377521, 0.0020687482, 0.0194364619, 0.0013639095, 0.0058096242, -0.0480160639, -0.0392095, -0.0107552139, 0.0113119781, 0.0066437237, -0.0237522796, -0.0169007201, 0.0155641539, 0.0177475922, -0.0386552215, 0.0106038535, -0.0231086612, -0.006617663, 0.0181061849, -0.0386886373, -0.0177769456, 0.0029752217, 0.0292208679, 0.0344942957, -0.0051218499, -0.0276101008, 0.03682255, 0.0215372071, 0.0456004106, -0.0116003184, 0.0698604882, 0.0297129285, -0.019272875, -0.0154939443, 0.0126890168, -0.0272136033, -0.0572555289, -0.0400584117, 0.029939726, 0.032051567, 0.0382473916, 0.0434506945, -0.0153433103, -0.0051879077, 0.018634351, 0.001352135, -0.0055130525, -0.0583278872, -0.0031138198, 0.026827855, -0.0277515985, 0.0026362056, 0.0692867562, -0.0031283628, 0.0473980568, -0.0143570844, 0.0188335944, -0.0485049076, -0.0359530821, -0.0221237596, 0.0105680274, -0.0332654789, -0.0152273737, -0.0385419726, -0.0650260076, -0.0523302853, 0.0187564343, 0.0078668362, -0.0276848115, 0.0232966356, 0.037466459, -0.016879797, -0.0420700945, -0.0719257444, -0.0104955472, 0.0388155952, 0.0092968941, -0.0028880648, -6.927682652e-33, -0.0273355823, -0.0297519919, 0.0153275626, -0.0164160281, -0.053278774, -0.028074082, -0.0055746022, -0.0055712187, 0.0202701669, 0.0098096645, -0.0149385575, 0.0262878668, 0.0199099816, -0.0001197722, 0.0058446992, -0.0416466855, 0.0641605332, 0.0060949088, -0.0742933974, 0.0534434542, 0.0397459082, 0.0086341565, 0.0416583121, -0.032865759, 0.0407291912, -0.0208806582, -0.0744390786, 0.0338657796, -0.0389954224, 0.062957488, -0.0030156858, 0.0246414263, 0.0002762445, -0.0699007362, -0.0244979933, 0.0102290651, -0.0592055134, -0.0208851695, -0.0040586516, 0.0033636221, -0.0215663351, -0.0331348628, 0.0539327674, -0.0054514073, 0.0016752584, 0.0059413104, 0.0082539422, -0.0246170871, -0.0316949897, -0.0182226952, -0.0849962682, -0.0050785928, 0.0149667757, -0.0329728015, -0.008181029, 0.0309505202, 0.0095326984, -0.0297805034, -0.0611871779, 0.0421876088, 0.0245114379, 0.0080679702, 0.0497565679, 0.0285589136, -0.0121509051, 0.0517302155, -0.0063647879, 0.051979959, 0.0236967504, -0.0462482497, 0.058577694, 0.0348941348, 0.0053886557, 0.0441161469, 0.0607412681, -0.0405183025, -0.0097314129, 0.0048607658, -0.0165276844, 0.0444846228, 0.065091446, 0.0074030561, -0.0452387668, -0.0275983308, -0.0219425932, 0.020608047, -0.0209251698, -0.027843697, 0.024476666, 0.0636873692, -0.0580348931, -0.0219768416, 0.0125458203, -0.0477525108, 0.0023165951, 0.0321423486, -0.0402754061, -0.0074614859, -0.0193897523, -0.0160702262, -0.0439139046, -0.0367689468, 0.0169330891, -0.0289804377, 0.0270289369, 0.0215555746, 0.0412976742, 0.0262288414, -0.0750593767, 0.0287507232, -0.0131612727, 0.0344616659, -0.0096419128, -0.037552312, 0.0450053178, -0.0226738993, -0.0084416661, 0.0099377017, 0.0349398628, -0.0010833953, -0.0378080197, 0.0574546047, -0.0160748232, -0.0008794537, -0.0269027278, -0.0110959029, -0.0303748157, -0.0135168238, 0.0094795208, -0.0571818687, -0.0220541209, 0.0039569354, 3.075e-7, -0.0413133316, 0.0496216491, 0.0025743709, 0.0130387796, 0.0159232039, 0.0390655398, 0.0199537128, 0.0075597051, 0.0295946691, -0.0088156601, 0.0180351362, 0.0065471777, 0.0416700505, 0.0319832228, -0.102754727, -0.0262004063, -0.0702683926, 0.0121879978, -0.0533387735, -0.0582396798, 0.0089727622, 0.0504486412, 0.0196609125, -0.0226836726, 0.0155411372, -0.0203863755, 0.0406520292, 0.0262684617, -0.0170697197, 0.0258331578, 0.0200002082, 0.0168804117, 0.0161287747, 0.0237770993, -0.0153812692, -0.0020518505, -0.0528204776, 0.0101032797, 0.0046440419, -0.0359442271, -0.0355601907, -0.014660554, 0.0310161207, -0.0653997734, 0.0550775714, -0.0361785814, 0.0035392807, -0.0453080162, 0.0199803822, -0.0539292842, 0.0085287066, -0.0226576962, -0.0337551534, 0.0182395969, 0.0081619043, 0.0437402427, 0.0022983595, -0.0600990951, -0.0164082497, 0.0333229303, -0.0146925682, -0.0730283409, -0.0020675918, -0.0072704395, -0.0337972678, -0.1121578813, 0.0177482013, 3.057933759e-34, 0.0165294018, -0.0255223121, 0.0374394506, 0.0265304428, 0.0309137888, 0.0239886306, 0.0238851327, 0.0144806551, 0.0526109189, 0.0066927164, -0.0158452429 ]
http://arxiv.org/abs/2406.12216v1
http://arxiv.org/pdf/2406.12216v1
Is persona enough for personality? Using ChatGPT to reconstruct an agent's latent personality from simple descriptions
2024-06-18T02:32:57
2024-06-18T02:32:57
Yongyi Ji, Zhisheng Tang, Mayank Kejriwal
cs.CL
cs.CL, cs.AI
Personality, a fundamental aspect of human cognition, contains a range of traits that influence behaviors, thoughts, and emotions. This paper explores the capabilities of large language models (LLMs) in reconstructing these complex cognitive attributes based only on simple descriptions containing socio-demographic and personality type information. Utilizing the HEXACO personality framework, our study examines the consistency of LLMs in recovering and predicting underlying (latent) personality dimensions from simple descriptions. Our experiments reveal a significant degree of consistency in personality reconstruction, although some inconsistencies and biases, such as a tendency to default to positive traits in the absence of explicit information, are also observed. Additionally, socio-demographic factors like age and number of children were found to influence the reconstructed personality dimensions. These findings have implications for building sophisticated agent-based simulacra using LLMs and highlight the need for further research on robust personality generation in LLMs.
[ 0.0251548905, 0.0612937473, -0.0534768552, -0.0019764283, -0.0371879525, 0.002719017, 0.0308665689, -0.0389076471, 0.0161193945, 0.0018433133, -0.0319037251, -0.0670193881, -0.0024235134, -0.0047641289, 0.0420133434, -0.0603693426, 0.0245984849, -0.000314797, 0.02228784, -0.0435031764, -0.0137820905, 0.0423588641, 0.0250728745, 0.0490323529, -0.0104508204, -0.0278029703, -0.0025035578, -0.0223961733, 0.0414392315, 0.0084649436, 0.0242652148, 0.0282495189, 0.0324491151, 0.0106696645, 0.0000020567, -0.0398854576, -0.011354737, -0.004095972, 0.0159033053, 0.010605555, 0.1030631959, 0.0616873056, -0.0077113151, 0.0420386158, -0.05155183, -0.030482458, 0.0216769259, 0.0358945169, 0.0499356873, 0.0490597561, -0.0127321258, -0.0284997635, -0.0170787312, -0.0081711188, 0.0279526077, -0.0187451988, 0.0283738319, -0.0026831708, -0.0060201171, 0.0229736734, 0.009703327, -0.0137298806, -0.0107544493, 0.005226437, -0.0070289653, -0.0024994698, -0.0300397426, -0.0231625978, 0.0365011655, 0.049298089, 0.0463700853, -0.015555745, -0.0241360571, -0.007192702, 0.0248723924, -0.0066003967, 0.0072756391, 0.0335173793, -0.0038261265, -0.0179860648, 0.0175579805, -0.0003985821, 0.00675544, -0.023950614, -0.0279052872, 0.0263316482, 0.0063582733, -0.0044240667, -0.0197908767, -0.0283775739, -0.0014216204, -0.0490115695, -0.0123398295, 0.0014891459, -0.0171949547, 0.0058754692, -0.0269762091, 0.0361277051, 0.0070078201, -0.0488777235, 0.0017764821, 0.0271497834, -0.0227995086, -0.0017631636, 0.0539640822, 0.0590315163, 0.0165134314, 0.0159057621, -0.035247758, -0.0256392565, -0.0769351721, -0.0176644903, 0.004275382, 0.041766353, 0.0464621708, 0.0028753793, -0.0708899423, 0.0317880362, -0.0304906368, -0.011408994, -0.0249094348, 0.0002136484, -0.0109400498, 0.006775328, -0.0759078562, 0.0248056762, -0.0350512229, 0.0127460565, -0.0143675646, -0.0384544246, 0.0325181819, -0.0058559766, 0.0122914622, -0.0140440501, 0.0372278281, 0.0438970216, 0.0039999378, -0.0592084937, -0.0285795834, -0.0322085433, -0.0307128262, -0.0982161984, 0.0065079117, -0.0362230353, 0.0409848727, -0.0097441804, -0.0098166931, -0.0714441612, 0.0088596484, -0.0052852384, -0.008220722, 0.0470181368, 0.0100752832, 0.0201529749, -0.0067370394, -0.0005537411, -0.0125993751, 0.0137933688, 0.0110580875, 0.0165255554, 0.0199948847, -0.0304901693, 0.0392652787, 0.0364066809, -0.0278070383, 0.0079891244, 0.0030495436, -0.0214349888, 0.0360390432, 0.0214101821, 0.0570938438, 0.0418650918, -0.0382024236, -0.0036977676, 0.1018387526, 0.0631955117, 0.0090546031, 0.0499859378, 0.0241854396, 0.0714879408, 0.0437680259, -0.0043349224, -0.0389443673, 0.0177760422, -0.0228681527, -0.0117693907, -0.0389160588, 0.0393349752, -0.0367724486, -0.0004279006, 0.0126447417, -0.0083483579, 0.0313957892, 0.0141682783, -0.0043561775, -0.0233881157, -0.0060063577, -0.0003108686, 0.0668068603, -0.0420903452, -0.0376661457, -0.0847617015, 0.0158232003, 0.1064572781, 0.0297625791, 0.0044793356, -0.0135076586, -0.0046399408, -0.0277516022, 0.0161712244, 0.0446737632, -0.0158163998, 0.0137768621, -0.0343787074, 0.0167569797, 0.0074059479, 0.0062703663, 0.0227257926, 0.0186618492, -0.010770658, 0.0082596187, 0.0306082647, 0.0080648819, -0.0045330701, -0.0855808109, -0.0279679839, -0.0025865505, 0.0270325448, 0.0443356782, 0.0116900522, -0.01137265, -0.0160304457, -0.0160700306, 0.0170353949, -0.0126414476, 0.0572267771, 0.0013812508, -0.0011755197, 0.0163929276, 0.0059065586, -0.0156065617, 0.0186570883, 0.0313730873, 0.010058389, 0.0069937585, -0.0581319332, 0.0297217648, -0.0195274819, 0.02685038, -0.0495903194, 0.0698514432, 0.0160630271, 0.0284052324, 0.0050133052, -0.0263240598, 0.019600369, 0.0070014945, -0.0264924988, -0.0580524281, -0.0139439143, -0.0638119057, 0.0288250502, 0.0475510396, 0.0163888335, 0.0078990646, -0.0177159607, -0.0712501034, -0.0537857115, 0.0060482328, 0.034092553, -0.0126803862, 0.0181039944, 0.0031634597, -0.0294534508, 0.0396503136, -0.0497952029, 0.0500742272, 0.0045157596, 0.0285885688, 0.0149021074, -0.0307377726, -0.0392086953, -0.0509928241, 0.0080984198, -0.0369209312, 0.0371948034, -0.0433024988, 0.0564891174, 0.006504613, 0.0261673424, -0.0618302897, 0.0192076117, -0.0297591779, -0.0788003877, 0.0476838015, -0.0145236142, 0.0235827919, 0.049224589, 0.0309603307, 0.0372725278, 0.0186437666, 0.0004839096, -0.0351716429, -0.0070878584, -0.0359163322, -0.0137238204, -0.0370392203, -0.0906307548, -0.0504426397, 0.0406486876, 0.0159251001, -0.0028792061, -0.0737822875, 0.0464578532, 0.0356006362, -0.0483038202, 0.0511472113, 0.0528844558, -0.0221754648, 0.0177911222, 0.0003453229, 0.0032181144, 0.0614193045, -0.002316009, 0.0091166934, 0.0221012551, -0.0196703654, -0.0182694029, 0.06735643, 0.0171198193, -0.0070119859, 0.0392849185, 0.0132600619, -0.0495917574, -0.0423000604, 0.021518454, -0.0533958636, 0.0113347946, -0.0192942787, -0.0377073847, 0.0479754396, -0.0303634293, -0.027718408, -0.0531366915, -0.0195626933, 0.0109225065, 0.0422164761, -0.0249030683, -0.0641653985, -0.0278219506, 0.0439189374, -0.0293626897, -0.0263000205, -0.0149293402, -0.0167933889, -0.027502887, 0.0516100712, 0.0276912265, 0.0341149047, -0.0660163537, 0.0114825908, -0.0009453747, -0.0707069933, 0.0302035436, -0.0172952041, 0.0015701918, 0.0018198543, 0.0218060762, -0.0008248039, 0.015913045, 0.0445835777, 0.0113107385, -0.0022530782, 0.1114943251, 0.0088875499, -0.005897182, 0.0161442496, 0.0183841176, 0.0291043445, 0.0308459029, 0.0371490084, 0.000165287, 0.0091562094, -0.005963007, 0.04015911, -0.0372972526, -0.0326118805, -0.0292145461, -0.074795343, 0.0462308265, 0.0352716036, -0.0443122797, -0.0143697448, -0.0325149521, 0.0076137148, -0.0361182541, 0.0289290696, -0.0120071536, 0.0023592866, -0.0260645393, -0.0304324012, -0.0743616894, -0.0220887139, 0.1091734394, -0.0497744344, 0.0780397132, -0.0039937827, 0.0660397559, 0.0057868715, -0.0154573079, -0.0697373003, 0.0483043864, -0.0020703478, 0.0674446076, 0.052342657, -0.0171912853, 0.0121207274, -0.1008997187, 0.0207320005, 0.0054310602, 0.0096801156, -0.0056870598, 0.0204303693, 0.0000428695, -0.0514743403, -0.0184266139, 0.0201368127, 0.0217021331, 0.0444382951, -0.0309360623, -0.0903660953, -0.0099123232, 0.0206828881, -0.012112651, 0.0071412739, -0.0857352838, 0.0107794087, 0.0002644462, -0.0188913364, -0.0213989392, -0.0907664672, 0.0013435493, 0.0316678658, -0.0117245847, -0.0576338097, 0.0192875471, 0.0068099657, -0.0063573918, -0.0079675242, -0.0497010387, 0.0139516508, 0.0262688063, -0.032336574, 0.0579057895, -0.074799858, 0.0133508462, -0.0023120218, -0.0674905255, -0.0453066081, 0.037328966, 0.0229440052, 0.0226116981, 0.0367992595, 0.0125176506, -0.0515895337, 0.0252380501, -0.0150250234, -0.0270041116, 0.0530459024, -0.0289331116, 0.0563364364, -0.0055576768, 0.0276920032, -0.0335598961, 0.0477068871, -0.008004345, -0.011236324, -0.0156686585, -0.0982937887, 0.0238048062, 0.029818384, -0.0516915768, -0.0126178246, 0.0049159946, -0.0222875625, -0.0355884098, -0.0514383353, 0.014097889, -0.0007721787, -0.0787232593, 0.0172041226, 0.0071200826, -0.0013352341, -0.0555792786, -0.0322205611, 0.0522229224, -0.0139580015, -0.0357715338, -0.0068856799, 0.0179597177, 0.0002064486, 0.0096325995, -0.0065574343, -0.0018013353, -0.0395598151, 0.0348109938, -0.0029911448, 0.0509997979, -0.0231113676, -0.0022902361, -0.0414720923, 0.018910611, -0.0399293043, -0.0252727438, -0.017031759, 0.048791457, 0.0015890602, 0.0328221396, 0.0262990277, -0.040477816, 0.0045504859, -0.0355588757, 0.0420462079, 0.0010387751, -0.0309601054, -0.0028626251, 0.0099633327, -0.0131689487, -0.0183496531, 0.0221520159, 0.0410453677, 0.0157645401, -0.0326429605, -0.0387438275, -0.0452043526, 0.000901914, 0.0032371739, 0.0257804394, -0.0216187872, -0.0211799257, -0.1034793481, -0.0780561268, 0.0447822846, 0.0189857744, -0.0133167123, -0.024107581, 0.0060444516, 0.0417924896, -0.0153319286, -0.0456021167, -0.0449568331, 0.0032850597, -0.0489601381, 0.0340864286, -0.0023744109, -6.119868607e-33, -0.0332112946, 0.0074503943, 0.0396345407, 0.006706771, -0.0393342301, -0.0357184485, -0.0201532245, 0.0209031664, -0.0018914383, 0.0106519246, -0.0223492552, 0.0026622049, 0.0014130932, -0.0139625426, -0.0084531885, 0.0422584563, 0.058535371, -0.0132357841, -0.0109994849, -0.0043245391, 0.001487671, -0.011050459, 0.0392238684, -0.081482023, -0.0047796122, -0.036461968, -0.017433716, -0.0036402948, 0.0245993547, 0.038651485, -0.0203804951, 0.0564804226, 0.0258505791, 0.0019809885, -0.0038576198, 0.0325880423, -0.0434155166, -0.0315500312, 0.0116647603, -0.0002138911, 0.0020435958, -0.0603931509, -0.0185145345, -0.0157737471, -0.0186676085, -0.0276792757, 0.0466052145, -0.0053120158, 0.0483233295, 0.0264430847, -0.0623514876, -0.0129175708, -0.0179085471, 0.0003706554, -0.0180977974, -0.0043088468, -0.0242906157, -0.0021527868, -0.0645492747, 0.0555043034, -0.0221553091, -0.0352577381, -0.0125544248, 0.0373504832, 0.0349256173, 0.0520056859, 0.0894312933, 0.0757135749, -0.0376107655, -0.0366792232, 0.0558171012, 0.0391425304, -0.006046616, 0.1078503355, -0.0420790054, -0.0586145818, -0.0068181581, -0.0033620084, 0.1208749339, -0.0574081093, 0.0741285384, 0.0163423959, -0.0483392328, -0.0194959547, -0.0316701867, 0.0213483255, -0.0177205615, -0.0538060665, 0.0051436624, -0.0254460834, -0.0104907481, -0.0514887795, 0.0379205234, -0.0562798157, -0.0051039928, -0.006172935, -0.0772547573, 0.0049273428, -0.0199445747, 0.0042599919, -0.0411898755, -0.0491968319, 0.0225725211, 0.0207938999, 0.0523956567, 0.0361875072, -0.0176915713, 0.060213495, -0.0393157899, -0.0173507947, 0.0111464364, 0.0128891952, 0.0185603164, -0.0157900248, 0.0213745311, 0.009440369, 0.0046194708, -0.0347788259, 0.0180565882, 0.019570753, -0.0038804905, 0.0357132293, 0.0237117019, 0.0020747813, -0.013145674, 0.0300435629, -0.070947051, 0.0018246142, 0.038727995, -0.0324040949, 0.0002984994, -0.0078886095, 2.786e-7, -0.0499738492, 0.061030075, -0.0300796032, 0.037605647, 0.0512959361, 0.0560409948, 0.0268609244, 0.0091683809, 0.0416967571, -0.0425174534, 0.0252605621, 0.0500717312, 0.0494632348, 0.0370031707, -0.0474444814, 0.0193931479, 0.0227492023, -0.0075522042, -0.013697709, -0.0009516129, 0.0923049003, 0.0850398839, 0.0582160763, -0.0142516447, 0.0144001544, 0.0195326265, 0.0581567287, 0.0167717189, -0.0500700362, 0.043311283, -0.0588835813, 0.0027997834, 0.0109905824, 0.0515410751, 0.0332787819, 0.0203655921, -0.0258702524, 0.0675257891, -0.0549670197, -0.0130271027, 0.0092444373, -0.016440006, -0.0317219831, -0.0145182721, 0.0461684316, -0.0439622253, -0.0652613938, -0.0420581363, -0.0370747186, -0.0100865932, 0.0085297916, -0.0026956829, -0.0039554411, 0.028852297, 0.0038735271, -0.00930034, 0.0141909365, -0.0675930381, 0.0366297066, 0.0102004018, -0.0545774363, -0.0764901489, 0.0135547454, 0.0308901817, 0.060655389, -0.0518746264, 0.0627015829, 2.177575045e-34, -0.0015903502, 0.059681166, -0.0014884304, -0.0328388102, 0.0475627966, 0.0026841797, 0.0515684187, 0.0232070461, 0.0361929275, -0.0500523821, -0.0012399122 ]
http://arxiv.org/abs/2406.12213v3
http://arxiv.org/pdf/2406.12213v3
LLM-Oracle Machines
2024-06-18T02:25:33
2024-07-03T12:59:21
Jie Wang
cs.CL
cs.CL, cs.AI, cs.FL, F.1.1; F.4.1; I.2.0
Contemporary AI applications leverage large language models (LLMs) to harness their knowledge and reasoning abilities for natural language processing tasks. This approach shares similarities with the concept of oracle Turing machines (OTMs). To capture the broader potential of these computations, including those not yet realized, we propose an extension to OTMs: the LLM-oracle machine (LLM-OM), by employing a cluster of LLMs as the oracle. Each LLM acts as a black box, capable of answering queries within its expertise, albeit with a delay. We introduce four variants of the LLM-OM: basic, augmented, fault-avoidance, and $\epsilon$-fault. The first two are commonly observed in existing AI applications. The latter two are specifically designed to address the challenges of LLM hallucinations, biases, and inconsistencies, aiming to ensure reliable outcomes.
[ 0.0614300258, 0.0067866761, -0.0426973924, 0.0166694093, -0.0847539082, 0.0077836695, -0.0321783163, 0.0093875686, 0.103308484, -0.0307821147, 0.0057802047, -0.0056819734, -0.0213718805, 0.0339279361, -0.0060758204, -0.0076204333, 0.0562976152, -0.0173111595, 0.0210605506, -0.0203796327, -0.0170489158, -0.0046835993, -0.007262174, 0.0223717541, 0.0214616265, 0.0038234941, -0.0055871103, -0.0155211175, -0.0212629922, 0.0299203265, -0.0333034135, 0.0042857495, -0.0112656578, 0.0569044389, 0.0000022849, -0.0423280112, -0.0127890715, 0.0377804413, -0.0252776816, 0.0041578892, -0.0098863076, 0.0017137768, -0.0023861141, 0.0388224088, -0.06118441, -0.023124963, 0.0459299088, 0.0234663989, 0.1001790017, 0.0946859792, -0.0025077339, 0.0130711151, 0.0615110397, -0.0115942229, 0.0353686288, -0.059286952, 0.0420978889, -0.0055727758, 0.0593998395, -0.0170436036, 0.0120852394, 0.0430992506, 0.0233438239, 0.0229429193, -0.0008298958, 0.0048533119, -0.0320359953, -0.0163921211, -0.0267607979, 0.0156874917, -0.0201843884, -0.0020892622, 0.0187509749, 0.0294819083, 0.0006462762, 0.004084107, -0.0097442511, 0.0615952834, -0.0140287448, 0.0147502497, 0.0571568795, 0.0119384332, 0.0277929418, 0.0241028313, -0.0648903027, 0.0945749506, 0.0063238479, -0.0623495951, -0.0128877163, 0.0115098218, 0.0156456158, -0.057023149, 0.0173668191, 0.072766453, -0.0616510734, 0.028372772, -0.0518371984, 0.0026421382, 0.0359221138, -0.071872063, 0.0410269313, 0.0251712631, -0.0352731422, 0.0814754069, -0.0226600803, 0.0406735167, -0.0405924395, 0.047762271, -0.0057568992, -0.0386536941, -0.0339768343, -0.0329615176, 0.0041268864, 0.0649982691, -0.0268264413, -0.0189610049, 0.0087277656, 0.0445587225, -0.0305751115, 0.0418687873, -0.0210169889, -0.000235472, 0.0201439448, -0.0524234138, -0.1065889373, -0.0170418266, -0.0095575014, 0.0097200256, -0.0500632226, -0.0978420749, -0.0150489472, 0.0138328066, -0.0262039211, -0.0099331448, 0.0370882154, 0.1070595533, 0.0148553215, -0.0205668937, -0.0792023018, -0.040603932, 0.0165012851, -0.0659909323, -0.0427744053, -0.0425476618, 0.0503915697, 0.0104986914, -0.0166172478, -0.0230108183, 0.0288780946, 0.0386806168, -0.0443200655, 0.0709226578, -0.0226770379, 0.0310917534, 0.0099763796, 0.0002923931, -0.0164358839, 0.0319513418, 0.0345764309, 0.0182901509, 0.0331117623, 0.0074931914, 0.0414791666, 0.043551635, -0.0173788629, -0.014172785, -0.0608625486, 0.0271346252, 0.0021542271, 0.034724053, -0.0522863418, 0.085529536, 0.0200094786, -0.0145001533, 0.055460766, 0.0412366986, -0.0425880067, 0.0383816473, 0.0399917737, -0.029721804, -0.0010445984, -0.003651236, -0.0433142893, -0.0008624465, -0.0662411377, -0.0065814862, 0.050401438, 0.0255058315, -0.0009755665, -0.0662080869, -0.0024624038, 0.0267844945, -0.0254996438, 0.0217551608, 0.0448262654, -0.0147369048, -0.0432171449, -0.0164157655, 0.005715216, -0.0166337769, -0.0007193019, -0.0721932575, 0.0080520473, 0.1058968157, 0.0840755552, -0.058837831, -0.0093360674, 0.0090190545, -0.0383976921, 0.0255486704, 0.0399481468, 0.0182091706, -0.0535400808, -0.0439918377, 0.015282114, 0.0411878489, 0.0286281519, 0.0163466707, 0.0078444649, -0.0009564839, -0.0287567656, -0.0155842705, -0.0594959669, 0.0344033204, -0.0125526078, 0.0002640072, -0.0040617827, 0.0107899299, 0.0524031296, 0.0000809581, -0.0190781951, 0.0397585258, 0.048703488, -0.0350608267, -0.0733481348, -0.0175508186, -0.0121473586, 0.0191923976, 0.0446091481, -0.0243641455, 0.0042703114, 0.0007228034, -0.0158237144, -0.0627122, -0.0067267264, -0.0438531376, 0.0397076346, -0.0232153274, 0.0438982211, 0.006984001, 0.0039159795, -0.0217622276, 0.0945753232, -0.0312693901, -0.0028667012, 0.0172368735, -0.005651047, -0.0219823997, -0.0211000275, -0.0324889906, -0.0133965276, 0.0161591265, 0.0278594699, -0.0040197568, -0.0586408377, -0.0329834186, -0.0323403589, -0.0514993556, 0.045799911, -0.0124221202, -0.0038423745, -0.0006164202, 0.0021844062, -0.0106754461, -0.0251462869, -0.0356482305, 0.0218940526, 0.0451209247, 0.008624766, 0.0219049957, 0.0249653924, -0.0322008431, -0.0148062706, -0.0059647299, -0.0386500172, 0.0204166677, -0.0000471954, -0.0343086757, -0.0759046599, 0.0334852673, -0.0031601037, 0.0425115079, -0.007453688, 0.0064345328, -0.0083858594, -0.0665161982, -0.0042766416, 0.059348423, 0.0113689369, 0.0051479493, 0.0569276437, -0.005179937, -0.0443384089, 0.0227639563, -0.0109824911, -0.0108913612, -0.0232558791, -0.0342892148, 0.0049623293, 0.0270496644, 0.0035295188, -0.0147318486, -0.0693369657, 0.0086441636, 0.0301355906, -0.0276238732, -0.008670669, -0.0428070538, -0.0044529531, 0.0482023023, -0.0358455181, -0.0589338839, 0.0675653815, -0.0055000773, 0.0368626714, -0.0236490276, -0.0353201367, -0.0461670235, 0.0723441094, 0.0133137638, 0.0081198057, 0.0123772062, -0.0163922124, -0.0029230043, 0.0080106528, -0.0490086265, -0.0440304466, 0.0509620532, -0.0512261055, 0.0024575465, 0.0301100966, -0.0301784426, -0.030807158, -0.0142790806, -0.0550371893, -0.0127443774, -0.0164012611, 0.0005717482, -0.0868081078, -0.0080063175, -0.0097445585, 0.0220397264, -0.0085091358, -0.0005872219, -0.0427301042, -0.0394238979, 0.0174620301, 0.0101019479, 0.020354243, 0.0105629675, 0.014473604, 0.0438792035, 0.0467856564, -0.0187340789, -0.0080101145, -0.030409554, 0.0358400233, -0.0439995416, -0.0385098904, 0.0131671987, -0.0549359955, -0.0650321618, -0.0361613184, 0.1031724438, 0.0533761643, -0.0276602525, -0.021039512, -0.021449564, -0.0155143179, 0.0191030912, 0.033235237, -0.0956470072, -0.0226294007, 0.0163126234, 0.0191928968, -0.0301608872, -0.048235599, -0.0116010848, -0.1447953582, 0.0161119215, 0.0138849048, -0.0107921464, -0.042143207, -0.0227822866, -0.0234173238, -0.0389647149, -0.0160977989, 0.0352036282, 0.0340285115, -0.0165185444, -0.0087098395, -0.0082373172, 0.0068495967, 0.0652713254, -0.0161360446, 0.0400518999, 0.0618730001, 0.0089835469, 0.0070217345, -0.0431719124, -0.0105662728, 0.0058724321, 0.0284897517, -0.0142877763, 0.0160487536, -0.0125886714, -0.025639981, 0.0102963252, 0.0277854316, -0.0246993899, 0.0386584103, 0.0182279088, 0.0989405811, -0.051831495, -0.011826898, -0.0160412658, -0.0168984663, -0.0281599592, 0.0807072148, -0.0305312779, -0.0303899534, -0.0710832179, -0.0036583857, -0.0119315097, -0.042358283, -0.0415184461, 0.0050888248, 0.0165381767, -0.0209324863, -0.0452713668, -0.0260973331, 0.0100098997, 0.0187157616, 0.0345789678, -0.0006790345, 0.0339221209, -0.000706832, -0.0100195985, -0.014874585, -0.068893075, 0.0263182279, -0.0499217398, 0.0215581134, 0.0409299284, -0.0152232004, -0.0252597891, -0.0037371668, -0.0421460159, -0.0720226243, 0.0519632325, 0.0654369891, 0.0290571544, -0.0017018769, -0.0418227091, -0.0632904097, 0.0286799371, 0.0517885201, -0.0768726245, 0.0116234059, -0.0091316123, -0.0101345507, 0.0114791356, 0.0330712982, -0.0305439383, 0.0051019019, -0.0283620059, 0.0328330249, -0.0581493117, -0.005272815, 0.0395063534, 0.0147101497, 0.0291395318, 0.0244999509, 0.0091866339, -0.0101512838, 0.0246161688, -0.0151697649, -0.0459334515, -0.0164048597, 0.0040644165, 0.0337523445, -0.0097809676, 0.0107978545, -0.0631144419, -0.0327386558, -0.0171902422, 0.0013179798, -0.0165388938, 0.0569429733, 0.0039514904, 0.0348311998, -0.0181614049, 0.0041544284, 0.0584997721, 0.0104690725, 0.047884535, -0.0242030919, 0.0215719156, 0.0231396034, 0.0155516258, -0.0411387607, 0.0058391639, -0.0776179582, -0.0884344429, 0.0515966378, 0.063316077, 0.0725652426, 0.0226881895, -0.0144691933, -0.0344289318, -0.0035467062, -0.010908966, -0.0290934704, 0.0618768334, -0.0231223069, 0.0196997728, 0.0340260155, -0.0263902321, 0.0239054598, 0.0627543554, -0.0509935282, 0.0741211474, 0.0180975609, -0.0427724905, -0.0391641036, -0.0549433008, -0.0247728489, 0.0118912635, -0.0062864195, -0.0172634721, -0.0631991252, -0.0431977697, 0.0393329039, 0.0209161304, 0.0258405488, -0.0302166902, -0.0135521051, 0.0663715452, 0.0483295247, 0.0258965883, -0.0480848625, 0.0152649051, -0.0043139784, -0.0158687867, -0.0052488446, -6.901134846e-33, -0.0119910808, -0.0364952385, 0.0156425294, -0.0429610051, 0.0134708798, -0.0041911704, -0.0147462934, 0.0138681997, -0.0151831638, -0.0216986425, -0.0227378905, 0.0428140052, 0.0230911616, 0.0114385672, 0.0277337711, -0.0054623093, 0.0154074142, 0.0125101032, 0.0248335861, -0.0262825806, 0.065614529, -0.0001572582, -0.0263318568, -0.0468981564, 0.04786136, -0.0204923954, -0.0227445848, 0.0359801762, -0.0366611108, 0.055694852, -0.0224378947, 0.052487433, 0.0170057677, -0.0294321906, 0.0128077744, 0.0265078116, -0.0363243595, 0.0093803778, 0.0416453592, 0.0237054937, -0.0106143514, -0.0336695015, 0.0519823171, -0.0025799712, -0.0025469845, 0.0274624173, 0.0140457563, -0.056148883, -0.0143772941, 0.0249883328, -0.0177101959, 0.0217931271, -0.0029040652, -0.0027947037, 0.0202476513, -0.0080463961, 0.0215959158, -0.0222609174, -0.05866649, 0.0337700881, 0.026543159, -0.0018095527, 0.0165472552, -0.0209693629, 0.0018112679, 0.039011579, 0.0446790792, 0.0065791849, -0.0273661148, 0.0115463203, -0.0135547062, 0.0595723279, 0.0571137816, -0.00130483, 0.0094015012, -0.0048762988, -0.0496182777, 0.0118048228, 0.0389335342, 0.0270611346, 0.0622013845, 0.0088557005, -0.0663688928, -0.009047851, -0.0416397527, 0.0048870426, -0.0628960282, -0.0030539865, 0.0247525815, 0.0317314416, 0.0172153637, -0.006242069, -0.0039408356, -0.0434694476, 0.0570943505, -0.0014335462, -0.0027339987, -0.0079422724, -0.0021692363, 0.0398028344, -0.0304417107, -0.0097072143, -0.0060768872, -0.0159534812, -0.0108153019, 0.0149149094, -0.0004751569, -0.0005810955, -0.0666316599, -0.0069232471, -0.0138180163, 0.0280306097, 0.0066580796, -0.0323973447, 0.0638962314, 0.0159421377, -0.0006446157, 0.0386775322, 0.0069409246, 0.0162054822, -0.0102927182, 0.0116698109, -0.0278726164, -0.0199666824, -0.0060225283, 0.0150443865, -0.033547312, -0.0084929131, -0.0240210835, -0.0196335446, 0.0097121699, 0.015852822, 3.056e-7, 0.0239237491, 0.0493567474, 0.0180862341, 0.0541279279, 0.0320620388, 0.0296397172, 0.0153146861, -0.0000986251, -0.0124002555, -0.0018121034, 0.0124974018, 0.0351634175, 0.0130696185, 0.0125105614, -0.0619703531, -0.0078817867, -0.0389844105, 0.00563415, -0.0758965984, 0.0043607107, 0.0505522937, 0.0738210827, 0.0258695427, -0.0126487929, -0.0217146203, -0.0853959322, 0.038936127, -0.0038018606, -0.0106549561, 0.0374381579, 0.0334770381, 0.0828088, -0.0352763869, 0.0402322076, 0.0280364342, 0.0209149104, -0.0010155484, 0.0521706343, 0.0138876559, -0.0293277316, -0.0055399514, -0.0305418856, 0.0000306591, -0.0444807932, 0.0975926891, -0.0035350339, -0.0570330769, -0.0205371007, 0.0119460598, -0.0263888538, 0.0051480019, 0.011243172, -0.0161781795, -0.0119893448, -0.0048755817, 0.0143278744, -0.0111166844, -0.0895388573, -0.0046993177, 0.018799454, -0.0400997289, -0.0071495231, -0.0264921971, 0.0371260531, -0.010873721, -0.0759982094, 0.0156072909, 3.074834475e-34, 0.0305889659, -0.0121302726, 0.0049873781, 0.0506430902, 0.0479064099, 0.0161416382, -0.0243238322, 0.0081651416, 0.0296793189, -0.0957630351, -0.0245020185 ]
http://arxiv.org/abs/2406.12209v1
http://arxiv.org/pdf/2406.12209v1
Interface Design for Self-Supervised Speech Models
2024-06-18T02:13:48
2024-06-18T02:13:48
Yi-Jen Shih, David Harwath
cs.SD
cs.SD, cs.CL, eess.AS
Self-supervised speech (SSL) models have recently become widely adopted for many downstream speech processing tasks. The general usage pattern is to employ SSL models as feature extractors, and then train a downstream prediction head to solve a specific task. However, different layers of SSL models have been shown to capture different types of information, and the methods of combining them are not well studied. To this end, we extend the general framework for SSL model utilization by proposing the interface that connects the upstream and downstream. Under this view, the dominant technique of combining features via a layerwise weighted sum can be regarded as a specific interface. We propose several alternative interface designs and demonstrate that the weighted sum interface is suboptimal for many tasks. In particular, we show that a convolutional interface whose depth scales logarithmically with the depth of the upstream model consistently outperforms many other interface designs.
[ -0.0224735327, 0.0555654988, 0.0253710393, 0.0151193338, -0.0343632624, -0.0171024669, 0.094600752, -0.0601953194, 0.0553920269, -0.007739773, -0.0704918876, -0.0027752686, 0.0240351669, 0.0529785268, 0.0036425611, -0.0438040905, -0.0030726499, -0.0541246384, -0.0306689721, -0.0319112353, 0.0005143381, 0.0221997034, -0.0295251999, 0.0140965711, -0.015627306, 0.0151766594, -0.0419887267, -0.0002931557, -0.0191131122, 0.0141560333, -0.0112997675, 0.0714519173, 0.0241793226, 0.0492090806, 0.0000020391, -0.0163940694, -0.0004317276, 0.016559558, -0.0704866871, 0.0041625071, -0.0106288139, -0.0153019726, -0.0304902624, 0.0067872666, -0.0222513527, -0.0430247597, 0.0275142007, 0.0842266455, 0.0380422734, -0.0041596899, -0.0164734591, -0.0828198344, 0.0333996937, -0.0153291496, -0.0424326397, 0.0150778098, -0.0039935703, -0.0210546218, -0.0298986472, -0.0417655557, -0.0017117917, 0.0777535364, 0.0359486453, -0.0329893045, 0.0745272338, 0.0171281155, -0.0246847346, -0.0351018123, -0.0387131311, 0.0302096736, -0.0362981856, 0.0146179264, 0.0203993265, -0.0333185531, -0.0000560302, -0.0235326588, -0.0311708394, -0.0314016305, 0.0334264822, -0.0097900592, -0.0285382401, 0.0648360997, 0.0240672361, 0.0095094144, -0.0325487852, 0.0127370898, -0.009410602, 0.0068376269, 0.0189887211, -0.013303265, 0.0356108658, -0.0267287549, 0.000213627, 0.0035180498, 0.0330137052, -0.0338072181, -0.0082748197, -0.0456972942, -0.0286145769, -0.0570504293, 0.0206695441, 0.0350656994, -0.0447740555, 0.0293356478, -0.0152561385, 0.0339450315, -0.0048423754, -0.0012877171, -0.0024874087, 0.0308625475, 0.0078410329, 0.0048138117, -0.0603659712, 0.0856421366, -0.0015946687, -0.0085913278, -0.0348236635, 0.023604339, -0.0621851571, -0.0363077335, 0.0408862121, 0.0364310928, -0.0233935919, -0.0387146287, 0.0131957857, 0.040286988, 0.0351001285, 0.0377724506, 0.0141946124, -0.0332705043, 0.0039885794, -0.0085953455, 0.0186158344, -0.0096157622, 0.0147298602, 0.0847377554, 0.0076092426, -0.0085557876, -0.0202652514, -0.018003298, -0.022351237, -0.0311931036, -0.0004028056, -0.0629515499, 0.0140568884, -0.0475537367, 0.008129756, -0.0360236391, -0.0161775276, -0.0470141992, 0.021275349, 0.0707430318, 0.0129020289, 0.0098387757, 0.0515345484, -0.0150899161, -0.0196501389, 0.0607049391, 0.0376109332, 0.0173548162, -0.028504299, -0.0448794253, -0.0209279805, 0.0103245182, 0.0301215556, -0.0080770832, -0.0599836707, -0.0268067233, -0.0416521952, 0.0042753285, 0.0383539125, 0.0215148069, -0.0127080586, -0.020281421, 0.0592500567, 0.0985547826, 0.0478234775, 0.0256182384, -0.0013169061, 0.0314597487, 0.0250372663, 0.0357966274, -0.0245659109, 0.0487534963, -0.0260891598, -0.0053258031, 0.0724193454, 0.0619573407, -0.0689416453, -0.0834409818, 0.0240871292, -0.0260559563, 0.005772274, 0.0535353869, 0.0315773338, -0.0002246292, -0.0045412499, -0.0108844927, 0.0005941526, -0.0805892274, 0.0162141081, -0.0541742668, -0.0134175159, 0.0546661429, -0.013297651, 0.014408851, -0.0019319936, -0.0077289874, -0.01575692, 0.0286298189, 0.0220727921, 0.0068920581, 0.0834305435, -0.0225904584, -0.0726333037, 0.016706882, -0.0039368044, 0.0426937155, -0.0692770556, -0.0453705266, 0.0236156043, 0.0035979282, 0.0155815827, -0.0077623785, -0.0203297623, -0.0588317625, 0.0388282575, 0.0382766798, 0.035193868, 0.017834479, -0.0271409228, 0.0226451028, 0.0210729241, -0.0216714144, -0.064302668, 0.0312859602, -0.0691915154, -0.0015594383, 0.020304814, -0.0041230563, 0.0482203178, 0.0476255752, 0.0132980095, -0.0916423872, 0.0715576187, -0.0076356316, 0.0577215105, -0.0492726937, 0.016689606, 0.0329905525, 0.0100639854, -0.0092474772, 0.0126398504, 0.0193940084, -0.0506904274, -0.024211552, 0.0048657074, 0.0055411756, -0.0591102056, -0.028072942, 0.0131559651, -0.0315493867, 0.046158623, 0.0295788329, -0.0303556249, 0.002477905, -0.0378487222, -0.084017843, -0.021944629, -0.0417229012, 0.0078163678, -0.0185472406, 0.0492515042, -0.0147590693, -0.042077709, -0.0114915334, -0.0509967171, -0.0168885812, 0.0056052455, -0.0536901578, 0.0383159406, 0.0257475972, -0.0207648799, -0.0416420735, 0.0145141892, 0.0005967614, -0.0114227356, -0.0669840127, 0.0166686848, -0.0297538061, -0.0130821243, 0.0496597253, 0.0192149747, -0.0202389657, -0.0280813463, -0.025442807, -0.0004281161, 0.0285530649, 0.0241828579, -0.0318691581, 0.0662726387, -0.0267362334, -0.0290543139, 0.0427226163, -0.0210115183, 0.0400485583, 0.0109579014, 0.1002955064, -0.0504448153, 0.0517752767, 0.0152504267, -0.0162962601, -0.0448399074, -0.0160567835, 0.0198966097, -0.0529114343, -0.0198091045, -0.0246734414, 0.0018055845, 0.0402880795, 0.0157190189, -0.0531204715, 0.0074329576, -0.0582301617, -0.0145237008, -0.0010033058, -0.079861559, -0.0342167765, 0.0597145669, -0.0427978523, -0.0001245423, 0.0152044268, -0.0061998633, -0.0457249731, 0.0152383046, 0.0535761192, -0.0366596021, 0.0380436666, -0.0318603031, 0.0323732644, 0.0034142844, -0.0514591485, -0.0356883444, -0.0329515152, -0.0375606827, -0.0048040925, -0.0441795848, -0.0099447388, 0.0146328826, 0.0390067361, -0.0111111486, 0.0461277291, -0.004105181, 0.0009929893, -0.0017417365, 0.0135319075, 0.0440769754, 0.0697004348, -0.0138640096, 0.0592233725, 0.0870467052, -0.0090931058, 0.0806898847, 0.0221143849, -0.070412077, 0.0135380914, 0.0304450728, -0.0340736695, -0.0070599667, 0.0324276499, 0.0089724576, -0.0836553052, 0.0602273382, 0.1075560078, -0.0274335463, -0.0413322747, -0.023711089, 0.0177764297, 0.0294105243, -0.0063027879, -0.0063949544, 0.0267942492, -0.0056803236, 0.014037434, -0.0003221313, 0.0006267802, 0.0209873859, 0.0097056041, -0.0596140474, 0.0527408235, 0.0268726833, -0.0351750627, -0.002251917, -0.0494237356, 0.0145140048, -0.0600108318, 0.0291492827, -0.0114709791, -0.0368023328, -0.0392797515, 0.0430061966, -0.0504332706, 0.013149525, 0.0210209712, 0.0043885056, 0.0124718016, 0.0694107637, -0.003450613, -0.0135617545, 0.0029670733, 0.0486909226, -0.0246289968, -0.0232643522, -0.0082742022, 0.0600359775, 0.0182381645, -0.0148117309, -0.0067400238, 0.0379174873, -0.0001628356, 0.0261508338, -0.0441628546, 0.0393116586, -0.0229586903, 0.0072988402, -0.0305084288, 0.0481176786, -0.0007379914, 0.0439335927, 0.0024089837, -0.019828761, -0.0328473486, 0.0357924104, -0.0168290157, 0.0128948754, -0.0613107421, 0.0264168326, 0.0356667303, -0.096191518, 0.007020304, -0.0308890231, -0.0236761235, 0.027657371, -0.0073092552, 0.0462943874, 0.0100113042, 0.021648379, -0.0198134799, 0.0213484615, 0.0256117955, 0.0181119833, -0.0227664486, 0.0143040083, 0.0346698426, -0.0491708033, 0.0000746837, 0.0166263543, -0.053097982, -0.0793192089, 0.0081826644, -0.0069626281, 0.0093497569, 0.0359765291, -0.0358308218, -0.0231010038, 0.1075095385, 0.0238589402, -0.0537791252, 0.0163056795, 0.0715852827, -0.0258438848, -0.0170458481, 0.0396130085, -0.0576727577, 0.0520605817, -0.0537583642, -0.0239730719, -0.0488612093, -0.0386165641, 0.0116013475, -0.0006203909, 0.0839314088, 0.0214034002, 0.0707276314, -0.0286142752, 0.0651841834, -0.0027551393, 0.0128867636, -0.0476865768, -0.0004688823, 0.0009201653, 0.0013292213, 0.0273619983, 0.0359234661, 0.0283356532, -0.0153222503, -0.0244539641, 0.0228345264, -0.0483467244, -0.026142681, -0.0427771881, 0.0240675304, 0.0242342688, 0.0296487175, 0.0608052984, 0.0017866816, 0.0269794706, -0.0440149866, -0.0142508419, 0.0127872732, 0.0006026104, 0.0337625407, -0.1085534021, -0.0621864684, -0.0383047499, -0.008592655, 0.0172265191, -0.0516021885, 0.0441240706, 0.0145625258, 0.0125106992, -0.0524483174, 0.0204272103, -0.0135802869, 0.0191662032, 0.0143475253, 0.006023596, -0.0199362598, -0.0468148589, -0.0105514107, 0.0017111566, 0.0339921936, 0.0396040119, 0.0606618114, -0.0113350488, -0.0502805673, -0.0104885427, 0.0178784281, -0.0338295475, -0.0099817691, -0.0265031327, -0.0439170524, 0.0148065053, -0.0206143539, 0.0147882039, -0.0140205026, 0.0508062467, -0.0077078319, -0.0408257954, 0.0295247603, 0.035954725, -0.0672078803, -0.0380263664, -0.0073459158, 0.0209541079, -6.468074646e-33, -0.0399140492, 0.0248561762, 0.0262347646, 0.0301452391, 0.0155966366, 0.0382789746, 0.0057749259, 0.0561393574, -0.0062020547, 0.0081440136, -0.0179632083, 0.0136088058, 0.0342176855, 0.0033690042, 0.013522232, 0.0193222649, 0.0978531763, -0.0250234846, 0.0427131504, -0.005009701, 0.0111816041, 0.020933805, 0.0162823759, -0.0744889304, -0.0602954291, 0.0259110518, 0.0005007799, -0.014470174, -0.0007980068, 0.0564022996, -0.0057352311, 0.0335312933, -0.0244494006, 0.011654322, -0.0627751797, 0.0303142741, -0.0618665703, -0.0305627193, -0.0285368059, 0.0317083597, -0.044876188, -0.0217447057, 0.0372889116, 0.0262547955, -0.0425738506, -0.0882675871, 0.0481919609, 0.0192798767, -0.0217724424, -0.0285052117, 0.0155129172, 0.0390757173, -0.0151469447, -0.0377656184, 0.1152303964, 0.0172948837, 0.003230015, -0.0331464596, -0.0093998164, 0.0178310201, -0.0004457366, 0.0426608622, 0.0503132306, 0.0213148929, 0.0098638032, 0.0314490199, 0.0589458384, -0.0346313529, -0.0103956908, -0.0166411139, 0.0380659699, 0.0307970233, 0.0346611626, -0.0325714163, 0.0499794967, -0.0038370718, -0.0449814424, 0.0273495074, 0.0231715143, 0.0217406619, -0.0363198854, 0.0578003153, -0.0280936137, 0.0156704057, -0.0879954398, -0.0425790213, -0.0176353287, -0.0327040106, 0.0099395253, 0.0281979274, 0.04954331, 0.0040189596, 0.0203260146, -0.025414519, 0.0242637601, 0.0042762207, -0.0081946664, -0.0096015874, 0.0255405121, 0.0256974939, -0.0285597853, -0.0014868181, 0.0102220941, 0.0440628566, -0.0136845801, -0.0216863714, -0.0319788307, 0.0599523224, -0.0457370654, -0.0399808176, -0.0361562036, 0.0122296037, 0.0024834573, 0.0235463046, 0.0349274613, -0.0200873092, -0.0061629331, 0.0050234767, -0.0802446678, 0.0156823918, -0.0335000083, 0.011602506, 0.0012188389, 0.0044156327, 0.0098914839, -0.0131361187, -0.0300862268, -0.04431412, 0.0731640682, -0.0137111843, -0.0165936537, 0.013937681, 2.823e-7, -0.0489260219, -0.0142696947, 0.0421833396, -0.0247542635, 0.0014589389, 0.0245139375, -0.0123786861, 0.015201916, -0.0191900022, -0.000799634, -0.0129453028, 0.0507707968, 0.0608438328, 0.0289454963, -0.0428334549, -0.0132415546, -0.0374089852, 0.0080478117, -0.0069887005, -0.0326645896, 0.0048792269, 0.0536747836, -0.0071270433, -0.0317755044, 0.0246047061, 0.0254845098, 0.0338493735, 0.0295154545, 0.001126391, -0.0023880175, 0.0235179607, 0.0319947638, -0.0164207779, 0.0363223962, -0.0198884979, 0.0355904996, -0.0025182397, 0.0356515311, -0.0268660802, -0.0867165029, 0.0002445894, 0.06263832, 0.0002750846, 0.0327908546, 0.0420156047, -0.0201936793, -0.0170175489, -0.0564545617, -0.0242820419, 0.0112431953, 0.0344348364, 0.0321978778, 0.0119877951, 0.0210389495, 0.0140087921, -0.040059939, -0.0168111939, -0.0656663626, -0.0022250526, 0.0406442247, -0.0257129073, 0.007533452, -0.0680700913, 0.0277677104, 0.0463130139, -0.010483304, -0.0228855666, 1.815789338e-34, 0.0005968763, -0.0291946009, 0.0172307063, -0.0041740662, -0.06056666, -0.0320243724, 0.0187686384, 0.015445739, 0.0327803679, -0.0423424058, -0.0367709436 ]
http://arxiv.org/abs/2406.12208v1
http://arxiv.org/pdf/2406.12208v1
Knowledge Fusion By Evolving Weights of Language Models
2024-06-18T02:12:34
2024-06-18T02:12:34
Guodong Du, Jing Li, Hanting Liu, Runhua Jiang, Shuyang Yu, Yifei Guo, Sim Kuan Goh, Ho-Kin Tang
cs.CL
cs.CL, cs.AI, cs.CV, cs.NE
Fine-tuning pre-trained language models, particularly large language models, demands extensive computing resources and can result in varying performance outcomes across different domains and datasets. This paper examines the approach of integrating multiple models from diverse training scenarios into a unified model. This unified model excels across various data domains and exhibits the ability to generalize well on out-of-domain data. We propose a knowledge fusion method named Evolver, inspired by evolutionary algorithms, which does not need further training or additional training data. Specifically, our method involves aggregating the weights of different language models into a population and subsequently generating offspring models through mutation and crossover operations. These offspring models are then evaluated against their parents, allowing for the preservation of those models that show enhanced performance on development datasets. Importantly, our model evolving strategy can be seamlessly integrated with existing model merging frameworks, offering a versatile tool for model enhancement. Experimental results on mainstream language models (i.e., encoder-only, decoder-only, encoder-decoder) reveal that Evolver outperforms previous state-of-the-art models by large margins. The code is publicly available at {https://github.com/duguodong7/model-evolution}.
[ 0.0054372232, 0.1047800928, -0.004204141, 0.0270162839, -0.0151211061, 0.0364098363, -0.0334281474, -0.0262910258, -0.0388739705, -0.0282434206, -0.0148867369, -0.0010215314, 0.0199741479, 0.056637127, 0.0139731849, -0.0179904941, 0.0413572863, -0.0220562033, -0.0467995331, -0.0208031032, -0.0158127584, 0.0278691258, 0.0331133194, 0.0470218323, 0.029634539, 0.0355774388, -0.0107804285, 0.0046859346, 0.0416993387, 0.0498032756, 0.0170206912, 0.0335869119, 0.041531764, 0.1100217253, 0.0000018596, -0.0542176738, -0.0270655639, -0.0092909932, -0.015672341, -0.0171664003, 0.0456742011, -0.0184661746, -0.0300272163, 0.0299245212, -0.041753266, -0.0350230075, 0.0586067066, -0.0087236334, 0.0620006025, 0.0398301408, -0.0018286831, -0.0543641411, 0.0669679269, -0.0407369137, -0.0368029326, -0.0170781203, 0.0360842422, 0.0202424228, -0.0083637573, -0.0425236411, 0.0049058013, 0.0383545123, 0.0105489707, -0.0158043075, -0.0054280618, 0.0266159941, -0.014244983, -0.0364719778, -0.0370911323, 0.0331249684, -0.0926880389, -0.0434176996, -0.0064069857, 0.0124721108, 0.0035706917, -0.0135772061, -0.0074280784, -0.019278653, 0.0032145891, 0.0443375334, 0.0245853756, -0.0333958641, 0.0271520503, 0.0068758484, -0.0622396022, 0.0348824747, 0.0630498454, -0.0179858543, -0.0087103238, -0.010721188, -0.0097354911, -0.0636218786, 0.0016428909, 0.0236891638, 0.0350524895, 0.0112595223, -0.0990427658, -0.0458552986, -0.0129246376, -0.0251032393, 0.0480858125, 0.0511575192, 0.0046556974, 0.0555512756, -0.0415935032, 0.008387696, -0.017324524, -0.0102958651, -0.0720395595, -0.0197009202, -0.0761922449, -0.0015644761, 0.002080258, 0.0176442936, -0.035648372, -0.0288704056, -0.0203420296, 0.0402478278, 0.0343380608, -0.0189169571, 0.0349804945, -0.0131704193, 0.0076268744, -0.0059943167, 0.0043635326, 0.0476330481, 0.0172204114, 0.0096213268, -0.0007984593, -0.0441976488, 0.009681657, -0.0107493028, 0.0013486047, 0.0054337974, -0.0004500271, 0.0419552177, -0.0362863205, -0.007705308, -0.0229094531, 0.013949913, -0.0184746515, -0.0256184954, -0.0147493677, -0.0371239856, 0.0737813115, -0.0127339372, -0.0244257078, -0.0693249628, -0.0056919362, -0.0432227924, -0.0289765727, 0.0722362772, -0.0863229558, 0.0345137902, 0.0555909947, 0.00023267, 0.0059006643, 0.0908657759, -0.0068369908, -0.0363832973, -0.018163655, -0.0063632489, -0.012923494, 0.0510625429, -0.0068223663, 0.0574193075, 0.0109220091, -0.0088741425, 0.0349616334, -0.0222866926, 0.0127306469, 0.024281906, -0.0384509154, 0.0137869501, 0.0431478955, 0.0072689005, 0.0504527204, 0.0352405868, 0.0271556955, -0.0155652799, -0.0105201975, -0.0247332789, 0.0103535242, -0.0212083496, -0.0569827296, 0.0149363447, 0.0276266932, 0.0877096578, -0.0222884975, -0.0548781492, -0.0211287439, -0.0310832523, 0.0124210622, 0.0158913564, 0.0671731159, 0.0296110082, -0.0568428114, 0.0302871801, 0.0459402278, -0.0554533191, 0.0174406804, -0.0580234304, 0.0060956795, 0.0574084185, 0.030724898, 0.0013915809, -0.0464186147, 0.0248588603, -0.0378257744, -0.0006368065, 0.0385264494, -0.0217597242, 0.0108328443, -0.0579848997, -0.0888316929, 0.0066473186, 0.0138657382, 0.0545408502, -0.0015415505, 0.0085512772, 0.0358889848, -0.0043011843, -0.0186552852, 0.0317811966, -0.0447433181, 0.0333189592, -0.0069537037, -0.0260593705, 0.029996464, -0.0119515201, -0.0337609574, 0.0083701061, 0.0213121139, -0.0131986281, -0.0515553206, 0.0494486094, -0.0112516582, -0.0375912823, 0.0605461933, 0.0130664958, 0.0076002893, -0.0326699875, -0.0367002115, -0.0414659418, 0.0135930777, -0.0160991438, 0.1176260039, -0.0483288392, 0.0810218453, -0.0437419377, -0.0146413213, -0.0102208452, 0.0793659613, -0.0165690053, -0.0376954228, -0.0216627084, -0.0117105367, 0.0247216765, 0.0179370958, -0.0084983017, -0.0044967057, -0.0206410773, 0.0339019857, 0.0162686426, 0.0150918728, -0.0092974091, -0.0391645357, -0.0772617236, 0.0072297296, -0.0131949428, 0.0423931926, 0.0363019668, 0.0255520158, -0.0156171424, 0.0120965317, -0.0009278369, 0.0053253649, -0.0074767116, -0.0026252603, -0.0265262909, 0.0194784049, -0.0053613922, -0.0370529443, -0.0351434238, -0.0133545855, 0.0607674122, -0.0152220419, 0.0065113273, -0.0736098662, 0.0071071759, -0.0526307151, 0.0718831643, -0.0060514165, -0.0133457705, -0.0142320525, -0.0258798283, 0.0417737551, 0.0405180007, 0.0092165675, -0.003597419, 0.0678827763, -0.0186362937, -0.0226742402, 0.0047752447, -0.0091119073, -0.0260278471, -0.0337652527, 0.0328368321, -0.0079381578, 0.0591037571, -0.0219809469, -0.0498715453, -0.0557734109, -0.0052428399, 0.0068046218, -0.0410680473, -0.0118914479, -0.0449330695, 0.0019218195, 0.053851787, -0.0500395782, -0.0211681575, 0.0900308639, -0.0259331893, -0.010368689, -0.0676314533, -0.0232126005, -0.0465995409, 0.0047120829, 0.0011228824, 0.0231019724, 0.0028516357, -0.0057651517, -0.0365718529, 0.0180350263, 0.0188292414, -0.0274866465, 0.0501439795, -0.0589678027, 0.029870661, 0.0039257547, -0.0349001363, -0.0331338048, 0.0111596221, -0.0306614768, -0.0010418773, -0.0066410848, -0.0283914581, -0.0610440336, 0.0213766824, -0.0189580191, 0.0681521446, 0.0177505985, -0.0097055929, -0.0288156867, 0.0094172386, 0.033366289, 0.0109240003, -0.0148741398, -0.0182090718, 0.0374420285, 0.0188594442, 0.0310196634, 0.0099474965, -0.0481124483, 0.0280334987, 0.0699481443, -0.0082102409, -0.0091576055, -0.0029002926, -0.0058848364, -0.0320984833, 0.027613923, 0.0913583487, 0.0313386209, 0.0016630334, -0.0354944542, -0.0293819364, 0.0563035943, 0.0313418135, 0.0296322294, -0.0530004278, -0.0444969051, 0.0097532105, -0.0140261678, 0.0328030363, 0.0013096203, -0.0056301206, -0.1499935687, -0.0097277863, 0.0388502553, -0.0036044992, -0.0003114621, -0.0078677153, 0.0016728857, -0.0073918081, -0.0033478274, 0.0104091829, 0.0210467447, -0.022896165, -0.0038368853, 0.0237328839, -0.0800858587, 0.0019597858, -0.046017427, 0.0107848439, 0.1222468913, 0.0185413174, 0.0103835622, -0.0510646738, 0.0692609921, -0.021002125, -0.0329529606, -0.0007934452, 0.0040295292, -0.0076356735, 0.000285703, 0.0335696638, 0.0378060043, -0.0317352042, 0.0083128056, 0.0015173564, 0.034545701, 0.0111211445, -0.0325679816, -0.0128015466, -0.0544557273, -0.0056241085, 0.0415790044, -0.0059374208, -0.0495854691, 0.0107864896, -0.0127160037, -0.0248162132, -0.003531025, -0.0139848245, 0.0418860577, 0.0140889576, -0.0830496773, -0.0608547777, 0.0323908255, 0.0252058115, 0.0185524933, 0.0506436341, -0.0017898245, 0.0108568678, -0.018796619, -0.05577223, 0.0020937806, -0.0096270451, -0.0236422885, -0.0466175005, 0.0044683544, 0.0566813461, -0.0168775637, -0.0236010235, 0.012226562, -0.0797682777, -0.091396369, -0.0174729247, 0.0442354158, 0.0219280086, 0.0378315337, -0.0570202321, -0.0507455766, 0.0724881291, 0.0197671447, -0.0014709202, -0.0151430704, 0.0151556553, -0.0674507096, -0.008671998, -0.0093089752, -0.0613923669, -0.0034217332, 0.0047986545, -0.0279792733, -0.0589492097, -0.0420910791, 0.0122265788, -0.0132770073, 0.0160544831, -0.0582376383, -0.034063112, -0.0298093837, 0.0121057946, 0.0061725439, -0.0107719786, -0.0437892079, -0.0175662059, 0.0363678336, 0.0160685219, 0.0497888178, 0.0654862672, 0.0487853773, -0.00918868, -0.0172386784, 0.0051431186, 0.04002662, 0.0473265983, 0.0496726483, -0.0067110299, 0.0262768567, 0.0329203047, 0.0096180113, 0.0013451414, -0.0545848869, -0.0008376591, 0.0096907448, 0.0122077297, 0.0227377824, 0.0602374524, -0.0436786488, -0.0442529842, -0.0564563051, 0.0148944948, 0.074363336, 0.015038603, 0.0700431019, -0.0002498312, -0.0209112726, -0.0358105749, -0.0119309239, -0.0176870544, -0.032792531, 0.0295043513, -0.0003569324, -0.0206399895, 0.0200840663, 0.0626228005, -0.0185593776, 0.0630673692, -0.0232295003, 0.0104734534, -0.0174091458, 0.0061926586, -0.0023406385, -0.0104507199, -0.0231187623, 0.0302262325, -0.0071572936, -0.0674042255, -0.0025392086, 0.0379673764, -0.0019345314, 0.067335397, 0.0449162312, 0.0245091151, -0.046862416, -0.0070002973, -0.0044282079, -0.0444954, -0.0055881622, -0.0142668756, 0.0313656665, -6.040720736e-33, -0.003417942, 0.0337397903, -0.0003589266, -0.0405582301, -0.0104230503, -0.0216619838, -0.0037566442, -0.0150342463, -0.034310434, -0.0580810905, 0.00909728, 0.0178632699, -0.0049798735, 0.0048425295, 0.0077665513, 0.0072653969, 0.036406897, 0.017312279, 0.0115289008, -0.0123975435, -0.0036024244, 0.0223872419, 0.0355814174, -0.0427342616, -0.0289706308, 0.0368013121, -0.0266205873, 0.0403213613, -0.0171828978, 0.0584777817, -0.0065179812, 0.0358372256, -0.0133761475, -0.0321557932, -0.0489306599, -0.0316135623, -0.0476286449, 0.0029193978, -0.0073860004, 0.0107737482, -0.0176813044, -0.0365728475, 0.0642468333, 0.0426021852, 0.0251237433, -0.0178671498, 0.0474789105, -0.0311860461, 0.0213584248, -0.0337462984, -0.05555306, 0.02437713, -0.0163941123, -0.035214752, 0.043282073, -0.025748888, 0.0434944294, -0.0199308526, -0.033032123, 0.0512068048, 0.0502966046, 0.050007496, 0.1069306135, 0.0337888412, 0.0122074597, 0.0099101719, -0.027446324, -0.0274240486, 0.0104995519, -0.0199825671, 0.0601554699, 0.0714206025, 0.0351395607, 0.0184316989, 0.0022843319, -0.0255382415, -0.0324883573, 0.0544184037, 0.0191299301, -0.0133803235, -0.0172530077, 0.0774875283, 0.0184486602, -0.0184445195, -0.059522137, -0.0340901017, -0.0360735059, -0.0025461155, 0.0141031016, 0.0233626757, -0.0153622925, -0.0107363351, 0.0143476157, -0.0645265803, 0.0026775836, 0.0175794121, -0.0394120105, 0.0158106126, -0.0109901335, 0.0608860217, 0.0172708835, -0.0510583073, 0.0300762933, 0.0025549016, -0.002559199, -0.0178898051, 0.0036542704, 0.0253774598, -0.0649884865, 0.0357132442, -0.0053545386, 0.0100518567, 0.0404334031, 0.0340832435, 0.0388896763, 0.0256627519, 0.0072704162, -0.0246257689, 0.0436035208, 0.026234692, -0.0781499669, 0.0367350541, 0.021035213, 0.0157185551, 0.0021472371, 0.0021397881, -0.0158933774, -0.0030968217, 0.033530429, 0.0094537269, -0.0501889996, 0.0415622555, 2.545e-7, 0.0632637665, 0.0119998241, 0.0174718648, -0.0284653325, 0.0220744107, 0.0376161076, -0.0387580618, 0.0072933575, 0.0492581055, -0.0302081835, -0.0085141798, 0.0213888623, 0.0458962619, 0.0080732126, -0.0780911297, -0.0214058962, -0.0388651788, 0.0251057204, -0.0553397834, -0.00161992, 0.0308424458, 0.1083322465, 0.0220451914, -0.0211803392, 0.0023794952, -0.0055395942, 0.0614966825, 0.0081500895, 0.0176324416, 0.0412483625, -0.061938893, 0.0466057472, -0.0391959101, 0.0074882261, -0.0457861237, 0.0356792137, 0.0093826903, 0.0224388428, -0.0291984268, 0.002837992, 0.0185849145, 0.060679514, -0.0275211409, -0.031430874, 0.0962994322, -0.0295272395, 0.001396687, -0.0339568928, -0.026679812, -0.0109159769, -0.0086856857, -0.0211001597, -0.0073649827, 0.0444555245, 0.0163859297, 0.0092679076, -0.0320702493, -0.0962523669, -0.002557196, 0.035956189, -0.0619571283, -0.0406543426, -0.0003943398, 0.004783364, 0.0426118672, -0.055698324, 0.0298336167, 2.457837235e-34, -0.0071258908, 0.0139409704, 0.0494270064, 0.0126645276, 0.0308258422, -0.032308802, -0.0287950002, 0.0011436351, -0.0009306626, -0.0560469814, -0.0240785033 ]
http://arxiv.org/abs/2406.12197v1
http://arxiv.org/pdf/2406.12197v1
Debate as Optimization: Adaptive Conformal Prediction and Diverse Retrieval for Event Extraction
2024-06-18T01:53:49
2024-06-18T01:53:49
Sijia Wang, Lifu Huang
cs.CL
cs.CL, cs.AI
We propose a multi-agent debate as optimization (DAO) system for event extraction, where the primary objective is to iteratively refine the large language models (LLMs) outputs through debating without parameter tuning. In DAO, we introduce two novel modules: the Diverse-RAG (DRAG) module and the Adaptive Conformal Prediction (AdaCP) module. DRAG systematically retrieves supporting information that best fits the debate discussion, while AdaCP enhances the accuracy and reliability of event extraction by effectively rejecting less promising answers. Experimental results demonstrate a significant reduction in the performance gap between supervised approaches and tuning-free LLM-based methods by 18.1% and 17.8% on ACE05 and 17.9% and 15.2% on CASIE for event detection and argument extraction respectively.
[ 0.0500332713, 0.050489679, 0.0079337871, 0.0719095096, -0.0203839168, -0.0022868544, -0.0025850416, -0.0044477391, 0.0259798542, -0.0675712079, 0.004366708, -0.0562104993, -0.0242522005, 0.0367782824, -0.0361704044, -0.039652817, 0.0396699868, -0.0130935116, 0.0947896913, -0.0013552145, 0.0219458081, -0.0178439822, -0.0109474603, 0.0204804726, -0.0045009051, 0.0004637616, -0.0105614159, -0.0376403928, 0.037616536, -0.0026563685, 0.0538124666, 0.0278265644, 0.0281416569, 0.0472022854, 0.0000018161, -0.0377379097, -0.0306684002, -0.0161043406, -0.0352749117, 0.0203821789, 0.0656474307, 0.0673536286, 0.0120081706, 0.0072572432, -0.0492638983, -0.0229675416, 0.0154880201, 0.0733300522, 0.0428828262, 0.1053069532, -0.0076740091, -0.0465003401, 0.0094723217, -0.0082369391, -0.0490088873, -0.0406968966, 0.0442147404, -0.0298693199, -0.0019083378, 0.0217078049, 0.0272280592, 0.0324023701, -0.01504202, -0.0077427407, -0.0422500633, 0.0101522747, -0.0634941012, -0.0206009541, -0.0169993192, 0.031762328, 0.0269378312, -0.0092523368, 0.0268024933, -0.0106995897, 0.0112272697, 0.0286867376, -0.0648335442, 0.0261367336, -0.0313090384, 0.0372417681, 0.0707753971, 0.011296574, -0.0080655506, 0.0231970232, -0.0181633737, 0.0416292883, -0.0073805982, -0.000917284, -0.0250583496, -0.009777627, -0.0499618687, -0.0508421808, 0.0403622799, 0.0284767654, -0.0373166576, 0.0363139957, -0.0070283683, -0.0048413649, -0.0030184558, -0.1097663939, 0.0233723149, -0.0147726489, 0.0380370542, 0.0709332228, 0.0197588801, 0.0141715789, -0.0226672422, -0.0063822414, -0.0133317811, -0.0239675473, -0.0232852064, 0.0018124344, -0.0277076531, 0.0484157875, -0.0869549587, -0.0328824744, 0.0358117893, 0.0259938762, 0.0034524261, -0.0048047001, 0.0173435751, 0.0150538012, -0.0390989035, -0.0391872078, -0.0270877443, 0.0386941992, -0.0211695526, 0.0017109548, 0.0286399405, -0.0522081293, -0.0293781571, 0.0269452091, 0.0225177612, -0.0192131996, -0.0098847859, 0.0429382026, -0.0442357659, -0.0219760574, 0.0087584127, -0.0164423957, -0.034382917, -0.0382061452, -0.0024553146, -0.0638816208, 0.0411163606, -0.0315665044, -0.0303966086, -0.070111759, 0.0328919031, -0.0007218957, -0.0360413305, 0.0087420847, 0.005291733, -0.0152268922, 0.0640017092, 0.0018716222, -0.0223646425, 0.0682795718, 0.0526723377, 0.0349771306, 0.0745882094, 0.0383236259, -0.0076625422, 0.0236392263, 0.0292549767, -0.0220921319, 0.0467859246, 0.0221888479, -0.0043973289, 0.0008655509, -0.0015452856, 0.0464425534, -0.0376959108, -0.0663168728, 0.0650561079, 0.0255232826, -0.0085546253, -0.0132133123, -0.0272966642, 0.0299417768, 0.0312661938, 0.0431239791, 0.0038120104, -0.0090448409, -0.0082861595, -0.0027721338, 0.0214908458, 0.0109129762, -0.0083427001, -0.0521496721, -0.0126803359, -0.0142638469, 0.0084584774, 0.0349182524, 0.0336958803, -0.0176839679, -0.0612031482, 0.0382729396, 0.0497538447, -0.0294565428, -0.030959459, -0.0355123915, 0.0601841323, -0.0229563117, 0.0272473004, -0.0483759753, -0.0559121221, 0.0014519528, 0.0621304289, 0.05157144, 0.0638208017, -0.0348240659, 0.0364247821, -0.0404372551, -0.0137638738, -0.0090646194, 0.0111216474, 0.0242232364, 0.0533534735, -0.0437279902, -0.018579863, 0.0808620974, -0.0607353561, 0.0207994208, -0.0199380703, -0.0347015187, -0.0223263688, -0.0232418925, 0.0518262684, 0.0138657745, -0.0215366147, 0.0062597035, 0.0427631289, -0.0595855378, -0.0450031199, 0.0208679605, -0.0246862806, -0.0440764204, 0.0321109369, -0.0018977167, -0.026883753, -0.0158549864, -0.0213292465, -0.0164933894, 0.028569812, -0.0203279909, -0.0116471034, -0.0275395103, 0.0014318327, 0.0138488738, -0.0079241181, -0.0664523467, 0.0756796151, 0.0434408151, -0.0267995875, 0.0037600698, 0.0178784132, 0.0062617371, -0.0575987771, -0.0305151567, 0.0714868084, 0.0170218684, 0.0053333258, 0.0668812916, -0.0405947343, -0.0108067514, -0.0522707999, -0.0828723684, 0.0481141098, -0.0197257549, 0.034999337, 0.0101514179, -0.0295822844, -0.0045369775, 0.0090133706, -0.0208728649, -0.0606654696, -0.0019361415, 0.0064102695, 0.0216738917, 0.0709823668, 0.0058967923, -0.0678634793, 0.0148980943, -0.0231250841, 0.0490091033, 0.0221100654, 0.0094397515, -0.0407433882, 0.0092283003, -0.0135691147, 0.0607207827, -0.0304834824, -0.0079626851, 0.0162767954, -0.006772697, 0.0335895978, 0.0904582515, 0.0454991497, 0.0397375152, -0.0213345923, -0.0388134122, -0.0639821887, 0.0282194186, -0.0640740395, 0.0319564641, -0.047378853, 0.0034632804, 0.0646524578, 0.0715124235, 0.0023657675, 0.0246595982, -0.0556115136, 0.023664441, 0.015752919, -0.0035670865, 0.0087216292, -0.0294251163, -0.0639923215, 0.0238396265, -0.039034728, 0.0082723554, 0.0890992284, -0.017193757, -0.0117827216, -0.0609444492, -0.0151046673, -0.0541874766, 0.0479129143, -0.0304328147, -0.0037035891, -0.0072423583, -0.0091848848, -0.0345983617, -0.0451484285, 0.0487126969, -0.0528142899, 0.0851586312, -0.0574369654, 0.0034214803, -0.0203070026, -0.0275196489, -0.0413658805, -0.0471715741, -0.0045176516, -0.0083673447, 0.0356116556, 0.0049950532, -0.052894976, 0.0215943307, -0.0089357095, 0.0140717784, -0.0297235679, 0.0330457389, -0.0099744163, 0.0429757945, 0.0579159074, 0.0251630936, -0.0056844358, -0.0286458135, 0.0255744383, 0.0985704511, -0.0164776985, -0.0339116491, -0.0183616132, -0.0480565839, 0.0054842038, -0.0396316908, 0.0045893989, -0.025413435, 0.0734452829, -0.0625084564, 0.016890483, 0.099418968, 0.0241913665, -0.0018665508, -0.0366854593, -0.0046978607, 0.0340440385, 0.0009876696, 0.0161651261, -0.0489535108, -0.0173006915, -0.0262513869, 0.0111362534, -0.016838206, -0.0325173251, -0.0045924378, -0.0503221825, 0.0122496579, 0.0228876155, -0.0042701908, -0.0245384425, -0.0291982889, 0.0194449015, -0.0578888208, -0.0035295694, 0.0267539285, -0.0011914071, 0.0084750438, 0.0125322621, -0.0372549184, -0.0164839104, 0.0061092754, -0.0254760403, 0.0420678854, -0.0033698629, 0.0466720425, 0.0292791054, 0.0177039523, 0.0246601831, -0.035403505, -0.0314817689, -0.0223702472, 0.0285108592, -0.0239323713, -0.0008723554, -0.0165385064, 0.0211629365, 0.0271073468, -0.0491381362, 0.0206885599, 0.0438046567, -0.0296747331, -0.0281885099, 0.0066614072, 0.0082121091, 0.0129631069, 0.0782651827, 0.0340999514, 0.0020563898, -0.0379309207, -0.0352335796, -0.013160334, -0.0541774146, -0.0111905094, -0.0312009659, 0.0002448118, 0.0134523632, -0.0802146867, -0.0439323708, -0.0021131197, 0.0308035631, -0.0471951403, 0.00643455, 0.047333017, 0.0264263283, 0.0088345548, 0.0124777639, -0.0252726506, -0.0334019698, -0.0236056317, -0.0108736511, 0.0047706175, 0.0147133684, -0.0293328837, 0.1044795662, -0.0555724278, -0.0788650066, 0.027003292, -0.0085475054, 0.0200202093, 0.0493380204, 0.0167751834, -0.0249551572, -0.0013311154, -0.0047157421, 0.0496754348, 0.0078777932, 0.0338843875, 0.0077566099, -0.0187861007, 0.0256640427, 0.0191525463, 0.0144624608, -0.0338311195, 0.0525583029, -0.0698397532, -0.0504022427, -0.0021803619, -0.0045977156, 0.02254197, 0.0331326798, -0.0828075111, -0.0421873666, -0.0059609818, -0.0254601929, 0.0019724171, -0.0354188755, 0.0218006577, -0.0487497263, -0.0447548069, 0.0016732186, 0.0343140401, -0.0025998421, 0.0626123846, -0.0259220731, 0.0369728878, 0.010014981, -0.004486545, -0.005057435, 0.0052176891, -0.025870014, 0.0535111725, 0.0007688847, 0.0531790778, -0.0139493756, 0.0433564857, 0.0418518707, -0.0427821502, 0.0342251025, -0.0173025485, -0.0990039483, 0.0008046685, -0.0130444262, 0.0229905229, 0.0254549924, -0.0152611919, 0.0588944331, -0.0148876365, -0.0304272547, -0.0177504066, 0.0171661787, 0.008460775, 0.0199093409, 0.0365242809, 0.0444459617, -0.0440957732, 0.0176901706, 0.0666664094, -0.0118956482, 0.0446154922, 0.0114332549, -0.0030229189, -0.0608751066, -0.0724602491, 0.0179894269, 0.027851956, -0.048363775, -0.0209660288, -0.0238729436, 0.0353517123, 0.0270524584, -0.0129994657, -0.0222284924, -0.0177376736, 0.0234434307, 0.0644234419, -0.0048140134, -0.0005082285, -0.0406242348, 0.0148825599, 0.0054728845, 0.0053661116, -0.0387446769, -6.629898341e-33, -0.0476768874, -0.0233493652, 0.0170253608, 0.0486238115, -0.0005304739, -0.0067453375, -0.0543353036, 0.0118614314, -0.0367908552, 0.0236650072, 0.0292840172, 0.0003793621, 0.0192717612, -0.0000750387, -0.0141458707, -0.0405778475, 0.0268336087, -0.0030529632, -0.0244015064, 0.0127438018, 0.0574787445, 0.0193011221, 0.032627929, -0.0646951571, 0.0272068642, 0.0103105903, 0.0116286948, 0.0276376903, 0.0267858896, 0.0634921119, 0.0096972575, 0.0241207629, 0.0012871284, -0.0324593484, -0.0112768812, 0.0123023996, -0.028173266, -0.0240262747, 0.0308971275, -0.0192927793, 0.0213140119, -0.0471786894, -0.0012497823, 0.0137690743, 0.0039002805, -0.0484924167, 0.0268081706, -0.0325951055, -0.0078231273, 0.0063567143, -0.0562150404, 0.0615787208, 0.0109357387, -0.0080861989, 0.0014700388, 0.0097027486, 0.0497820899, 0.0522611924, -0.0470533967, 0.0268401522, -0.0171432495, 0.0293664224, -0.0170917194, -0.0073278495, -0.0115295788, 0.0665578246, -0.0067339302, 0.0081620496, -0.0310265776, -0.044951506, -0.0046993089, 0.0565834977, 0.0313549228, 0.0662787482, -0.0148161277, 0.0124998419, -0.0599562004, 0.0083289072, 0.0548654757, 0.0241496805, 0.0125678247, 0.0208265558, -0.0405265726, -0.0041913153, 0.0033847569, 0.0298724715, -0.0039149364, -0.0013416816, -0.0148265054, 0.0202077515, -0.0091695618, 0.058475811, 0.0507124513, -0.0332210325, 0.0324026644, 0.0163226407, -0.0079925517, 0.0027919763, -0.001919228, 0.0298405495, -0.0553977527, -0.0154149262, 0.0318541564, 0.0053089177, -0.0090205362, -0.001303602, -0.0081585394, -0.0111980913, -0.0388532057, 0.0166935809, -0.0217080209, 0.0069123842, -0.0254413635, 0.0364971757, -0.0035167716, 0.0116742859, -0.0026341141, 0.0595486425, -0.0021326013, 0.0444834046, -0.038187921, -0.0306540038, -0.0091535542, 0.0096730888, -0.0047908858, 0.0319583677, -0.0113407951, 0.0246936791, -0.0268462375, -0.0165470932, 0.0001778572, -0.0008454053, 2.481e-7, 0.0350557379, 0.054545287, 0.0529989041, 0.0084844818, 0.0042248121, 0.0272342525, -0.0064460933, -0.0073133218, 0.0285087228, 0.001274417, -0.0098247342, 0.0507368483, 0.0513258427, 0.0479117446, -0.0683056712, -0.1004653946, -0.0949232951, -0.0451553315, -0.0559747182, -0.0164984427, 0.0596521907, 0.0829957128, 0.0192894023, 0.0188474674, -0.0468126126, -0.0109073566, 0.0749423727, -0.0031895111, -0.0690132007, 0.0643605664, 0.0072523309, -0.0452760607, -0.0467965938, -0.0157569647, -0.0016594213, 0.0587635785, -0.0113992235, 0.0944779664, 0.0186292101, -0.0405193307, -0.0049875574, -0.0373752676, -0.0108939363, -0.038260553, 0.0410451815, -0.0802669451, -0.0415314063, -0.0547345541, -0.026644323, 0.0137405246, -0.0156800374, -0.0165741388, -0.0034090246, 0.0232393742, -0.0259141345, 0.0036704878, 0.0178251956, -0.0729718804, -0.023001004, 0.0036816327, -0.0825114027, -0.0239860434, 0.010980567, -0.0249333661, 0.0009405262, -0.0552979149, 0.0214827657, 2.328698849e-34, 0.0313757025, 0.041529417, -0.0545256622, 0.0521840304, 0.0709300265, 0.0076443758, -0.0407998227, 0.0065223044, 0.0072237086, -0.0603872277, -0.0009461578 ]
http://arxiv.org/abs/2406.12182v1
http://arxiv.org/pdf/2406.12182v1
Aqulia-Med LLM: Pioneering Full-Process Open-Source Medical Language Models
2024-06-18T01:30:07
2024-06-18T01:30:07
Lulu Zhao, Weihao Zeng, Xiaofeng Shi, Hua Zhou, Donglin Hao, Yonghua Lin
cs.CL
cs.CL, cs.AI
Recently, both closed-source LLMs and open-source communities have made significant strides, outperforming humans in various general domains. However, their performance in specific professional fields such as medicine, especially within the open-source community, remains suboptimal due to the complexity of medical knowledge. We propose Aquila-Med, a bilingual medical LLM based on Aquila, addressing these challenges through continue pre-training, supervised fine-tuning (SFT), and reinforcement learning from human feedback (RLHF). We construct a large-scale Chinese and English medical dataset for continue pre-training and a high-quality SFT dataset, covering extensive medical specialties. Additionally, we develop a high-quality Direct Preference Optimization (DPO) dataset for further alignment. Aquila-Med achieves notable results across single-turn, multi-turn dialogues, and medical multiple-choice questions, demonstrating the effectiveness of our approach. We open-source the datasets and the entire training process, contributing valuable resources to the research community. Our models and datasets will released at https://huggingface.co/BAAI/AquilaMed-RL.
[ 0.0453707725, 0.0532750376, -0.0002678263, 0.0232430864, -0.0133048231, 0.0192539301, -0.0232735798, 0.0067039481, 0.0110182427, 0.0261030942, -0.0880533233, -0.0368346721, -0.0160213709, -0.0011531437, 0.0245633014, -0.0459234826, 0.0444259904, 0.0031691545, 0.0081041688, -0.0290761888, 0.0038086467, 0.0152229406, -0.0528377295, 0.0360355973, 0.0601657555, 0.0028616234, 0.02875489, 0.0103525361, 0.0365065224, -0.0540314317, 0.0198144875, 0.0640449077, -0.0127241639, 0.0103825359, 0.0000019557, -0.0659259334, -0.0010963818, -0.0032100147, -0.035138648, -0.0445214473, 0.0313711204, -0.0283876341, -0.0209409688, 0.0203665253, -0.045239646, -0.0194277167, 0.0357731804, 0.0291686244, 0.0605496503, 0.0760333091, 0.014486487, -0.0011666844, 0.0285571162, -0.0515036769, 0.0191468261, -0.0455709621, 0.0201190207, -0.035709884, 0.0249256808, -0.0334401838, -0.0115496563, 0.0188700687, 0.0008698958, 0.0173480902, -0.0313277543, 0.0049338802, -0.0503314361, -0.014648241, -0.0059086466, 0.1124010906, -0.0042005558, -0.0206060112, 0.0232240204, -0.0089297034, -0.0060932902, -0.0230553672, -0.0381306261, 0.0122447889, -0.0078445962, 0.0202269889, 0.0232273694, -0.045995459, 0.0305709951, 0.0180317685, -0.0185251739, 0.0268911384, 0.0145825101, -0.0306276735, 0.0460499488, -0.0023108402, -0.0002250486, -0.0208072923, 0.0307680313, 0.0348204151, -0.0899752825, 0.0109107057, -0.0331667885, -0.0126674045, 0.0729036853, -0.0614889637, 0.0108923679, 0.0222318862, -0.0287096314, 0.0446908958, 0.0146798939, 0.0186676085, -0.0376842842, 0.0692362785, -0.0429995023, 0.0049858629, -0.0220702812, 0.0101081766, -0.0071125473, 0.0123791713, -0.0179290865, 0.0244548079, -0.0970280468, -0.0051839831, -0.0082656369, 0.0473251827, 0.0317159742, 0.0413529463, -0.0407688506, -0.0142967887, -0.0304795951, 0.0470344834, 0.0024050958, 0.0197399221, -0.029271841, -0.03971944, 0.0047037229, 0.0398362726, -0.0206775852, -0.0318567008, 0.0222832505, 0.0834751874, 0.0054899161, -0.0055120639, 0.0022721423, -0.0222419836, -0.0165849198, -0.0479757264, -0.0162611492, -0.0796580538, 0.0295482092, -0.0032253154, 0.0154123371, -0.0474029854, 0.0133706527, 0.0199903324, -0.0473356433, 0.0640516058, -0.026742341, 0.0041174563, 0.0090849372, 0.0160501469, 0.012335632, 0.0558011197, 0.037093576, -0.0333551615, 0.0169651713, -0.0316440389, -0.0062844078, 0.0351740681, 0.0288456362, -0.0023731489, 0.0000817667, 0.0367451943, 0.0059160581, 0.0967660919, -0.0051182588, 0.0503152683, -0.0160700735, -0.0263112243, 0.0242087021, 0.0418120846, 0.029997997, -0.006488218, 0.0183270257, -0.0055355555, 0.0161397066, -0.0066205598, -0.0191457216, 0.015840631, 0.0056431093, -0.0064832019, -0.0133518716, 0.0138940485, -0.0377053246, -0.0374075845, -0.0107285567, -0.0138089545, -0.0415100865, 0.0181473102, 0.0443357304, 0.0036418641, -0.0362290554, 0.0598566569, 0.0545150675, -0.0303818509, 0.0076933051, -0.0222740583, 0.010880596, 0.0621141903, 0.051312618, -0.0618421845, -0.0609973483, -0.0297448412, -0.008490162, 0.0359504819, 0.0607229769, -0.0255539846, 0.0052464074, -0.0801178962, -0.0125954058, 0.0435110964, -0.0131899845, -0.0161754657, 0.0146266269, 0.0212853309, -0.0305269249, 0.0056184335, -0.0261203554, 0.0403533392, -0.0620481931, -0.0209803749, 0.0205605589, 0.0090536317, 0.0517392643, 0.016201837, -0.0070006056, 0.0180709045, 0.0496315546, -0.0054310588, -0.0042851111, 0.0151863182, -0.0311886221, -0.0418923311, 0.042286735, -0.0242949016, -0.0507241152, -0.0111497119, -0.0745950714, -0.0367200375, -0.0367506146, -0.0029166031, 0.0153350132, -0.0059766527, 0.0245131385, 0.0283443909, -0.0009396338, -0.0631896332, 0.0030129002, -0.0200446527, 0.0413577855, 0.0543084145, -0.0214929972, 0.0171009079, -0.078975834, -0.0135785621, 0.0179857519, -0.0039884588, 0.0208849888, -0.0152848875, 0.0624729954, -0.0432072021, -0.0514472201, -0.0935141519, 0.0182831492, -0.0100979134, 0.004021313, 0.0420772471, 0.0192881413, -0.015796518, -0.0266118739, -0.0455079451, -0.0262106471, 0.0115213338, -0.0095549971, 0.0374789461, 0.0281019993, 0.0270379186, -0.0479340032, -0.0089249816, -0.0312459134, -0.0316036493, -0.0252241325, 0.0376584306, -0.0068769306, -0.0098467031, -0.0294475351, 0.0097745033, -0.0053116111, -0.046001669, 0.0044545438, 0.0065540695, 0.0066367113, 0.0521832481, 0.0069078626, -0.0148181366, 0.0248828381, 0.0090656858, -0.0376388095, 0.0266061481, -0.0348405354, -0.0593936518, -0.0466723517, -0.0181008279, -0.0208468717, 0.0768281594, 0.013535521, 0.0067328541, -0.0639860183, -0.0273114406, 0.0082310941, 0.0024238604, -0.0260305088, 0.0769480169, -0.057382144, 0.0340301394, -0.0022497664, -0.0257093888, 0.1237677187, -0.0139655322, 0.0340172462, -0.0853687301, -0.0265744645, -0.0639512762, -0.0390668735, -0.0418992415, -0.008609294, -0.0196065083, -0.0143771134, -0.0554326773, 0.0163903907, 0.0068207285, -0.0704916939, 0.0653215721, -0.0254895315, -0.0110580064, -0.0064515667, -0.0629236102, -0.041056402, -0.0304349363, -0.0352253057, -0.0042024013, 0.0143169258, -0.0030566182, -0.0292692501, -0.0184530001, 0.005922561, 0.065390937, 0.0145320063, 0.0157875866, -0.0258757342, 0.0093341507, 0.0412680507, 0.0355828814, -0.0092146909, -0.0341084488, 0.0210079271, 0.042258542, 0.0308100041, -0.0057764701, 0.0293488745, -0.0071191504, 0.0439701155, -0.0332290456, -0.0034892233, 0.0200310946, 0.0159331281, -0.0546173416, -0.0025618682, 0.111462228, 0.0078585222, -0.080305934, 0.0118504753, -0.0263409559, 0.0203266554, 0.0306336302, 0.0237127077, -0.1107855514, -0.034065742, -0.0170505196, 0.0589221269, 0.0200078376, 0.0024739716, 0.0237210095, -0.0816664025, 0.0215312988, 0.0131248701, -0.0507801473, -0.0206058174, -0.0117280632, 0.000770499, -0.0619373284, 0.0132604577, -0.0003443967, 0.0022698478, -0.0121078109, -0.0037148756, -0.0183685403, -0.0623682775, 0.0360245444, -0.0158612244, 0.0391182005, 0.0675479174, 0.0234343633, -0.0140322456, -0.0382141694, 0.0270388648, -0.0047271112, -0.0315635726, -0.0285020303, 0.0602595694, 0.0099660764, -0.0131814154, -0.0252048802, 0.0689048544, -0.0547261015, -0.0197508465, 0.02288232, 0.0800476372, -0.018595174, -0.0004984797, -0.0105381971, 0.0462594293, 0.0181340277, 0.0442330688, -0.0010905851, -0.0359727032, -0.0200745501, 0.0042577954, 0.0175367668, -0.0276263654, -0.0329219513, 0.0178789906, -0.0334533378, 0.014799919, -0.0572270639, -0.0146660646, 0.0262714587, -0.0001167909, 0.0160450954, 0.0297599304, 0.0200643893, -0.0199783631, -0.0253195427, 0.0615009703, -0.0082873935, 0.0229653735, -0.0961989686, -0.0455009714, 0.0605322197, -0.0203520823, -0.0105209956, 0.0185409021, -0.0308385845, -0.0461593233, -0.0040510851, 0.0655620992, 0.0155785838, 0.0548139513, -0.0232262798, -0.0431348644, 0.0145388907, 0.0190493315, -0.0310315937, -0.0153893679, 0.0330142677, 0.0218055639, -0.0209675711, 0.0318456441, -0.0103792669, -0.0208266992, 0.0247861706, 0.0273241363, -0.0143588735, -0.0480396748, 0.0068104048, 0.0012918559, 0.0545629859, -0.0098972274, 0.0151184108, -0.0469614863, 0.0661163032, 0.0078546554, -0.0023410574, -0.0248592161, -0.02634711, 0.0389848463, -0.0621090271, -0.0058520921, -0.0108131673, -0.0681490451, -0.0200988259, -0.0373282842, 0.0542448424, 0.0328640416, 0.0125218062, 0.0561785437, 0.0092527382, 0.0039440864, 0.0592670962, 0.008779712, 0.0574443303, 0.0013721781, 0.0736766532, 0.0157480072, 0.0434564799, 0.045964133, 0.0287591945, -0.0090615861, -0.0758240595, -0.0107894633, 0.0220688693, 0.0810449496, 0.0106469123, 0.0347377583, 0.0031992339, -0.01142467, -0.0239985194, 0.0367251225, -0.069672294, 0.0300813876, 0.0583017878, 0.0154948393, -0.0041242233, 0.004470516, 0.1035927236, -0.0094432794, 0.0486025065, 0.0060061747, 0.0015628086, -0.0474056229, -0.037183132, 0.0174257308, 0.0090599963, -0.0662061945, 0.0015115471, -0.0444130637, -0.0642951876, -0.0009930255, 0.0174703728, -0.0370553471, 0.0007674769, 0.065198414, 0.0179265123, -0.0113345236, -0.0080899261, -0.0289081112, 0.0479318574, -0.0116086276, -0.0528422408, 0.029841654, -6.14451101e-33, -0.0186725073, -0.0092744343, 0.0488798022, -0.0132564688, -0.0138195967, -0.0180391781, -0.0100679379, 0.0009741074, -0.0375864878, 0.0139439376, -0.025522517, 0.002100114, 0.0215178188, 0.045693025, 0.0024816932, -0.0374936424, 0.0051233629, 0.0073779118, -0.0213476196, 0.029678477, -0.0234508347, 0.0534251332, 0.062777482, -0.0617557205, 0.0143857738, 0.0122606354, 0.0238344129, 0.0443303958, -0.0801581293, 0.0797743723, -0.0013589105, 0.0311713312, 0.0221235901, -0.0132470056, -0.0143580819, -0.0212214552, -0.0825807527, -0.0137515413, 0.0156242605, 0.0155654373, -0.0449411348, -0.0304061715, 0.041319903, -0.0268924348, -0.0254386701, 0.0037591548, 0.0168650243, -0.0359996147, -0.0192992855, -0.014090823, -0.0074601248, 0.0341053903, 0.0028754573, -0.011838994, -0.0190658793, 0.0152919628, -0.0278009474, 0.055038251, -0.0415885597, 0.0140179023, 0.0061644576, 0.0402763225, 0.0392496996, -0.0270371754, 0.0029687041, 0.0052103568, 0.0231966432, -0.0158847496, 0.0138058914, -0.0015562547, -0.0158621483, 0.0524460003, 0.0483993478, 0.0407070965, -0.0137722492, -0.0155728804, -0.0861289948, 0.0145371258, -0.0381019451, 0.056914676, -0.0063311062, -0.0017122368, -0.0121954409, -0.0238706265, -0.0483901985, -0.0292674806, -0.0087655867, -0.0214862972, 0.0168097503, 0.0058562253, -0.0064746556, -0.0160938464, 0.0069249598, -0.0317344964, 0.0183744021, -0.0040807254, 0.0114366692, 0.0052785166, -0.0302591417, 0.0206794534, -0.0966758728, -0.0209255125, -0.0080591273, -0.0435394086, 0.0549622886, 0.0197850149, 0.0256789755, -0.0172826424, -0.0423587747, 0.0109517118, 0.011955563, 0.0077862642, 0.0025033441, 0.0441963896, 0.0075934734, 0.0098556746, 0.0103112664, 0.0945735946, 0.0121851638, -0.026845064, -0.0486214161, -0.0636918619, 0.0185911115, 0.0212404206, -0.0466030352, 0.0188792963, -0.0205198452, 0.0629311502, 0.0272047501, -0.03938815, -0.0075257723, 0.0049747778, 2.709e-7, 0.0811721012, 0.0423686206, 0.0154866595, 0.005816652, 0.012953422, 0.0188097302, -0.0296955779, 0.0162894372, -0.002393581, 0.0209589228, 0.0302829985, 0.0083031245, 0.06344001, 0.0044178492, -0.1080880389, -0.0068269623, -0.0856252983, 0.0039486415, -0.0280902795, -0.0383671746, 0.003181844, 0.0962859094, -0.0103208954, -0.0171920508, 0.0094348723, 0.0253174324, 0.0525808521, -0.0386639796, -0.0220768563, 0.0742224082, 0.0120349973, -0.0003041098, -0.0159904603, -0.0069609098, -0.0388900861, 0.0083248904, -0.0096540302, 0.1140712202, -0.0077326354, -0.0561775081, 0.0318095163, 0.0053483103, 0.0084777558, -0.0506082587, 0.0396741144, -0.0552825294, -0.034417931, -0.0083680823, 0.0209193211, -0.0512034409, 0.0852916688, -0.0525334813, -0.0291656516, 0.0130403712, 0.0521906763, 0.0244040638, -0.051398702, -0.0642334595, -0.0377325267, 0.0392453447, -0.0338702872, -0.0259615462, 0.0312306937, -0.0097117294, -0.0301987436, -0.0322708227, 0.008249565, 2.298278112e-34, 0.0344323069, -0.0045875236, 0.016423082, 0.0273705833, 0.0265895221, -0.0186011773, 0.016142359, 0.031158166, 0.0333500989, -0.0472856499, -0.0235431027 ]
http://arxiv.org/abs/2406.12168v2
http://arxiv.org/pdf/2406.12168v2
BPO: Supercharging Online Preference Learning by Adhering to the Proximity of Behavior LLM
2024-06-18T00:41:40
2024-06-19T05:25:27
Wenda Xu, Jiachen Li, William Yang Wang, Lei Li
cs.LG
cs.LG, cs.AI, cs.CL
Direct alignment from preferences (DAP) has emerged as a promising paradigm for aligning large language models (LLMs) to human desiderata from pre-collected, offline preference datasets. While recent studies indicate that existing offline DAP methods can directly benefit from online training samples, we highlight the need to develop specific online DAP algorithms to fully harness the power of online training. Specifically, we identify that the learned LLM should adhere to the proximity of the behavior LLM, which collects the training samples. To this end, we propose online Preference Optimization in proximity to the Behavior LLM (BPO), emphasizing the importance of constructing a proper trust region for LLM alignment. We conduct extensive experiments to validate the effectiveness and applicability of our approach by integrating it with various DAP methods, resulting in significant performance improvements across a wide range of tasks when training with the same amount of preference data. Even when only introducing one additional data collection phase, our online BPO improves its offline DAP baseline from 72.0% to 80.2% on TL;DR and from 82.2% to 89.1% on Anthropic Helpfulness in terms of win rate against human reference text.
[ 0.0402351394, 0.0912380964, 0.0031429119, 0.0036226762, -0.0307736285, 0.0187173914, -0.0366999507, -0.0402780809, 0.0023637717, -0.0138001284, -0.0553543866, -0.0595896877, 0.0005873879, 0.0007231058, 0.0100076701, -0.0299380682, 0.033524964, 0.0045995289, 0.0106861508, -0.0218274146, 0.0295100659, 0.0426664986, -0.027728375, 0.0174123142, 0.0298152659, -0.0095897, 0.0060020774, 0.0059729787, 0.0330117047, -0.0272765439, 0.0402188264, 0.0193585455, 0.0375824831, -0.017530581, 0.0000022136, -0.0618421584, -0.0454751737, -0.0184034202, -0.0144352, -0.031114243, 0.0430113003, 0.0298758894, 0.0048947134, 0.0242545195, -0.0406269766, 0.0200541094, 0.0421092026, -0.0000074205, -0.0013022651, 0.0794184208, 0.00137384, 0.0141989123, 0.0152052362, -0.0278189387, -0.0007648459, -0.0000103738, 0.0350093804, -0.0582636744, -0.0503116883, -0.0204043146, -0.003425322, -0.0046726796, -0.0289205704, 0.0262292903, 0.0562334061, 0.0047808737, -0.0154665653, -0.0222802181, -0.0024772929, 0.0898957923, -0.0232970938, -0.0231899433, 0.0177873895, -0.0256037526, -0.0288354158, 0.0025451886, -0.0069766277, -0.0014057815, -0.0028784352, 0.0484601334, -0.0089317504, -0.0071501173, 0.0031111478, 0.0492195338, -0.0214699004, 0.0943794549, -0.0196790751, -0.0598808676, 0.0417160504, 0.0119804153, -0.0525434837, -0.022428995, 0.0362255909, -0.0112237697, -0.044812955, 0.0329592861, -0.0329111665, 0.0458276197, 0.0113454778, -0.0058571543, 0.0872459486, 0.0470609553, 0.0072264788, 0.012718169, 0.0231876876, 0.0781367794, -0.0079105068, 0.0032202979, -0.0548285656, 0.0365835167, -0.0386556759, 0.0202143416, 0.0069103334, 0.022792412, 0.0054048994, -0.022290254, -0.0388251357, 0.0272508245, -0.0204473473, 0.0423749872, 0.0214026663, 0.0126180742, -0.0561667196, -0.0224659387, -0.0565118939, 0.0441247523, 0.0114276987, 0.0272067022, -0.0166278314, -0.0343980752, 0.0119123645, 0.0186832584, 0.0082247667, -0.0411673784, 0.0046189367, 0.079807952, -0.0174344275, -0.0301607512, 0.022310691, 0.0114305206, -0.031767834, -0.0441480987, -0.0216916651, -0.0379927605, 0.0358665884, -0.0415506139, -0.0078417612, -0.0353696831, 0.0071728481, 0.0272290371, -0.0263891593, 0.0458403416, -0.0041927965, 0.0280436575, -0.0143382456, -0.0528038964, -0.0239130631, 0.0472303852, 0.0309917908, 0.0310785789, 0.0434096269, 0.0106991278, -0.0415132977, 0.0294884089, 0.0269965976, 0.0157132391, -0.0642628372, 0.0253732447, -0.0031463052, 0.0443821922, 0.0672826394, 0.010734316, -0.0393011458, 0.0153271686, 0.1209188625, 0.0162708741, 0.001744899, -0.0125212986, -0.0287149865, 0.0922913402, -0.0317388363, 0.0057516494, -0.0597023517, 0.0117058279, -0.0158300512, 0.0261068195, 0.0226775911, 0.0434636287, -0.0047776788, -0.0406198613, -0.0038364776, -0.0262760986, 0.0088376272, 0.0420297459, 0.0173873045, -0.0032750631, -0.0312620364, -0.0241736192, 0.0422822386, -0.0243646689, 0.0130794356, -0.0119859586, 0.0666678473, 0.1019644663, 0.0484710261, -0.0165742263, -0.0473931618, -0.0315870829, -0.0251983758, 0.0510043353, 0.0089582372, -0.0429005511, 0.0000402032, -0.0713492408, -0.0544134341, 0.0201587565, -0.0130108641, -0.0024879726, 0.0504449792, -0.0072302022, -0.0283102691, -0.030523967, -0.0102420989, 0.02647838, 0.0102768634, -0.012428984, 0.0101103773, 0.0432483293, 0.0490874462, -0.009675445, 0.0100334436, -0.0111345043, 0.0106484527, -0.0029131423, -0.0185886901, -0.0079781581, -0.076654546, -0.0077578998, 0.0625962391, -0.016103046, -0.0162747148, 0.0719573796, -0.0245931391, -0.0112585742, -0.0671218708, 0.0006632249, 0.0562716536, -0.0087841926, 0.0395354591, 0.0003274981, -0.0078522256, -0.0636309087, 0.0330790244, -0.024702156, 0.0211766679, -0.0001696311, -0.0180418901, -0.0256696716, -0.0432942174, 0.0055003269, -0.012365032, -0.0145839872, 0.0139288316, 0.0353523865, 0.0329920016, -0.0427578576, -0.0356513187, -0.0309320521, 0.0117871296, -0.0003109972, 0.0303628296, 0.0266043935, -0.0280558057, -0.0189943276, -0.018728653, -0.0434949696, 0.0019736325, -0.0508550033, 0.015848849, 0.0460848138, -0.0176065303, 0.0153140528, -0.0654472858, 0.0088921012, 0.0126595348, -0.0402565487, -0.0582551099, 0.0011731659, -0.0362337492, 0.0291512534, -0.0472172722, 0.0025353751, -0.0059006428, -0.0536609255, -0.0063268505, -0.0105882809, 0.00669439, 0.117532976, 0.0478687845, -0.0192391425, 0.0639676452, 0.0371187963, -0.1013177261, -0.014463014, -0.0510097258, -0.0123663042, -0.0419272296, 0.0158373173, -0.0073407637, 0.0737459958, -0.012769415, 0.0058210851, -0.043826174, -0.0159590524, 0.0050307647, -0.0080576977, -0.0112259369, 0.0005440518, -0.0394174308, 0.0205420274, -0.0294953249, -0.0795530006, 0.0950986743, -0.0102612916, -0.0025532732, -0.073215723, -0.0271355789, 0.0016579016, 0.0001939368, 0.0290034655, 0.0112431804, 0.0228486974, -0.0102188354, -0.0788795426, -0.0333351567, 0.0443227999, -0.0289094653, 0.0300369412, -0.0407303795, 0.0030378934, -0.0062261974, -0.0727292001, -0.0473173819, -0.0493861325, -0.013684772, -0.0377524868, -0.0167001449, -0.0331776775, -0.0261150431, -0.0303493533, 0.0134263225, 0.0335834175, 0.0014789341, -0.0163139198, -0.0318730362, 0.0174337532, 0.1200399548, 0.0334360786, -0.0094735706, 0.0189446006, -0.0348628201, 0.0547950305, 0.0584028512, -0.0051090084, 0.007613868, -0.0060312557, 0.0762851387, -0.0271250494, -0.0142482575, 0.026115844, 0.0287205148, 0.0095919976, 0.0142041771, 0.1046534032, 0.0281773694, -0.0862054303, 0.0109101217, 0.0141716376, 0.043860551, 0.0231124721, 0.0119066956, -0.056226898, -0.0255416669, 0.0133186411, 0.0679456815, -0.009381108, -0.0138806906, -0.0214604363, -0.1216295958, -0.0245256089, 0.0163168777, -0.0084239012, 0.0482428521, -0.0288448874, 0.0265368875, -0.0897059441, 0.0285332799, 0.0030258175, -0.0071085696, -0.0017338981, 0.009503996, -0.0155972447, -0.0376822464, 0.0370927975, -0.033834327, 0.0294625405, 0.097838603, 0.0484755673, 0.031622909, -0.0344084725, 0.0160965491, 0.0040928177, -0.0029048391, -0.0234756507, 0.0081791515, -0.0571641997, 0.025115326, -0.032137733, 0.0729658604, -0.0208175927, 0.0060838736, 0.0074443785, 0.0498297922, 0.0089831352, 0.018417472, 0.0102677634, -0.0027846221, 0.0513439253, 0.0465401188, -0.0193685014, -0.0952722803, -0.0023276056, -0.0035472144, -0.0246999171, -0.0033432138, -0.0144467084, -0.0212540552, -0.0113433413, 0.0101319421, -0.0942059234, -0.0150230164, -0.0332292728, 0.0438351221, 0.0163609963, -0.0195055362, 0.0338564701, -0.0208483767, -0.0419452973, 0.0491258018, -0.051926367, 0.0227488391, -0.0380222835, -0.0160865523, 0.0481123142, -0.0405261591, -0.0091638956, -0.0149468919, -0.0070926421, -0.0841337293, 0.0032384689, 0.0453224778, 0.0221841447, 0.0831606835, -0.0040326435, -0.0529518388, 0.0319592692, 0.02788027, -0.0186345652, 0.0070663206, 0.0304271281, 0.0212484449, -0.0039363243, 0.0369538404, -0.0087349415, 0.0006207445, 0.0101205884, 0.0190876368, -0.0165561792, -0.0364698842, 0.0423245803, -0.0024738347, 0.0751344487, -0.0088491021, -0.0073264604, -0.048645623, 0.0355854593, 0.0323734134, -0.0125717148, -0.0302916151, -0.0379649736, 0.058782205, -0.0044143624, -0.0023500861, -0.0112828277, -0.0192346405, 0.0067059435, -0.017495336, -0.0184311774, 0.0225248467, 0.0304922722, 0.0275392309, 0.0303896368, -0.0265798047, 0.0340264961, 0.0120249605, 0.0549733676, -0.0055779158, 0.0406342149, 0.0261796936, 0.0126255052, 0.0056710588, 0.0266814027, -0.0080883494, -0.0365250409, -0.0603972971, -0.0600766614, 0.0427309237, -0.0592686087, 0.0723140314, -0.0069029164, -0.0042356835, -0.0223014224, 0.0348672532, -0.0659125969, -0.0301269628, 0.0102918111, 0.0248252861, -0.0364771448, 0.0438031331, 0.0699661598, -0.0169702768, 0.0176317319, -0.0260698069, 0.0105986455, -0.0346197933, -0.0290498286, 0.0104502076, 0.0498868488, -0.0412093475, -0.0353738368, -0.0020442361, -0.0470649414, 0.0172255859, -0.0054237442, -0.0228536502, -0.0353563279, 0.0640308782, 0.019642869, -0.0486086197, 0.0104571497, -0.0545568727, -0.0246250741, -0.0036094324, 0.0065589701, -0.0385302864, -6.563388871e-33, -0.0155822216, -0.0215537567, -0.0055564973, -0.0285916217, -0.0578377061, -0.0273239482, 0.0235871281, 0.0122953597, -0.0155878691, -0.0321434736, -0.014066427, -0.0111935101, 0.0241273306, 0.0261956193, 0.0036681655, 0.0002663289, 0.0182478148, -0.0247275624, -0.0387332849, -0.0103875445, 0.0432178229, 0.0111131314, 0.0366853215, -0.0639005676, 0.0174715146, 0.002515272, -0.0292729884, 0.0185612477, -0.004153748, 0.0797729194, -0.0124982893, 0.0202924833, -0.0022097686, 0.0043889172, -0.0041802861, 0.0142012015, -0.0380697958, 0.0109908469, 0.019565152, 0.0163256507, 0.0114203608, -0.0130571211, 0.014275643, -0.0125112254, -0.0404902883, -0.0004064927, 0.0201320983, -0.0573795512, -0.0698123872, 0.0301285665, -0.0485045016, 0.0010203227, -0.0125074266, -0.014824139, 0.0162678044, 0.0326763317, 0.0171588808, 0.0484308824, -0.0669185445, 0.075015977, -0.0301287435, 0.0218504556, 0.0692457184, -0.0361191742, 0.03081882, 0.0533718541, 0.0252537951, -0.0339826606, 0.0685686842, -0.0180637315, 0.0279183909, 0.0191490557, -0.0191521849, 0.0447289944, 0.02509032, -0.0145785743, -0.0096436813, 0.0287305787, 0.0385276861, -0.0149520012, 0.0313625857, 0.0552030541, -0.0495176353, -0.0064330525, -0.0181817226, -0.0270455685, -0.0358271599, -0.0512453355, 0.0205133613, 0.0519794933, -0.0116028739, -0.0042322637, 0.0098197693, -0.0344605632, -0.0224070437, 0.019236939, -0.0417009369, 0.0122304615, 0.0137577821, -0.0043060775, -0.1064799279, -0.0378126763, -0.0265071988, -0.0163713433, -0.0203183591, 0.0382082723, 0.036975272, 0.0350528061, -0.052903641, 0.0126817767, -0.0043818848, -0.0289524235, -0.0031501413, 0.0348850228, 0.0683991462, -0.0164041203, -0.0067761755, 0.113727279, 0.0087627945, -0.0234131347, -0.0437211506, -0.0219244845, 0.0035190652, 0.0128215188, 0.0024342681, 0.0023195494, -0.0151971038, -0.0268887132, -0.030943105, -0.0040421323, -0.0167368986, -0.0103868013, 2.797e-7, 0.005116445, 0.0476490892, 0.0159098636, 0.0050603282, -0.0007345838, 0.0285731014, -0.0109125823, -0.0013564405, 0.004965567, 0.0165305156, 0.049818024, -0.0066992524, 0.0651142821, -0.0121342298, -0.097151041, 0.0017086049, -0.0243229419, 0.0104672806, -0.0380529799, 0.0005722448, -0.002181821, 0.0884859934, 0.0100007895, -0.0050368528, 0.0213708244, 0.0446751155, 0.0624383353, -0.0526983291, -0.0066294232, 0.0123177692, -0.0211078003, -0.0319034234, -0.0662034824, -0.0020722039, -0.0108724851, 0.031642165, -0.0195308868, 0.1096037105, 0.0177805256, -0.0494507812, -0.0094923619, 0.0152749792, 0.0064384565, -0.0695710257, 0.052100677, -0.0721937791, -0.0204821713, -0.0150393778, -0.0294757988, -0.0142648518, 0.0215934496, -0.0405380242, 0.013031641, 0.0021730266, 0.0155232297, 0.0266668536, -0.0480884835, -0.0494911857, -0.0149853872, 0.0375351533, -0.0228153765, -0.0518608913, -0.0124701047, 0.046727404, 0.0155305527, -0.0442174897, 0.0038363084, 2.427540475e-34, 0.0032624837, 0.0153947836, 0.0305437632, -0.0078581339, -0.0041219541, 0.0187957138, 0.0315162912, 0.0122338543, 0.0460606478, -0.0652396902, -0.0051524853 ]
http://arxiv.org/abs/2406.12165v1
http://arxiv.org/pdf/2406.12165v1
Statistical Uncertainty in Word Embeddings: GloVe-V
2024-06-18T00:35:02
2024-06-18T00:35:02
Andrea Vallebueno, Cassandra Handan-Nader, Christopher D. Manning, Daniel E. Ho
cs.CL
cs.CL
Static word embeddings are ubiquitous in computational social science applications and contribute to practical decision-making in a variety of fields including law and healthcare. However, assessing the statistical uncertainty in downstream conclusions drawn from word embedding statistics has remained challenging. When using only point estimates for embeddings, researchers have no streamlined way of assessing the degree to which their model selection criteria or scientific conclusions are subject to noise due to sparsity in the underlying data used to generate the embeddings. We introduce a method to obtain approximate, easy-to-use, and scalable reconstruction error variance estimates for GloVe (Pennington et al., 2014), one of the most widely used word embedding models, using an analytical approximation to a multivariate normal model. To demonstrate the value of embeddings with variance (GloVe-V), we illustrate how our approach enables principled hypothesis testing in core word embedding tasks, such as comparing the similarity between different word pairs in vector space, assessing the performance of different models, and analyzing the relative degree of ethnic or gender bias in a corpus using different word lists.
[ -0.0128431255, 0.1027110219, -0.0049639591, 0.0076011042, -0.0164748039, 0.0327309668, 0.0223081037, -0.0223409776, -0.0241391957, -0.0373129733, -0.0101384129, -0.044973474, 0.0715563521, -0.0093387179, 0.0341790915, -0.0233681481, 0.0387248807, 0.0548011176, 0.0282305814, -0.0220457558, 0.0106537882, -0.0016420082, 0.003713252, 0.0558769181, -0.0148172146, 0.0295619387, 0.0616552271, -0.0223286375, 0.0070987367, -0.0395205878, 0.0058052801, 0.0758312866, 0.037350513, 0.0174724367, 0.0000018227, -0.0386817679, 0.0161470044, 0.0326828584, 0.000888621, 0.0252768211, 0.0583389848, -0.0222378131, 0.0132968212, 0.0069404263, -0.0048956904, -0.0339767039, 0.072698243, 0.0046440093, -0.0439409092, -0.0059447871, -0.0115120895, -0.0108257486, -0.0340258293, -0.0573382229, -0.0272878259, 0.0063611087, 0.0430920348, -0.0319077373, -0.0201607794, -0.0127590485, -0.048834417, 0.0294394717, -0.0140550574, 0.0677530766, 0.0151915038, 0.0543852001, -0.0022621371, -0.0123208147, 0.0560471117, 0.0543465987, 0.0259772819, 0.0070627891, -0.0110804131, 0.017166039, 0.0366953947, 0.1174525768, -0.0449860878, -0.001976765, 0.0157993659, -0.002680368, 0.01830169, 0.0086291097, 0.0564147979, 0.0234530028, -0.0242176261, 0.0384820849, 0.0236735921, -0.0545394942, 0.0123564312, 0.0052796579, -0.0218939576, 0.0031402293, -0.0012516096, -0.0422835983, -0.0064183665, 0.0248145834, -0.0170250554, -0.0247929972, 0.0529266, -0.0483936854, 0.044600971, 0.0146915894, 0.0007208197, 0.0290544201, 0.0052091326, -0.0535860658, 0.0153769208, 0.0396555662, 0.0061983648, 0.0139506152, -0.0142539544, 0.0125397891, 0.0157527998, -0.0388956405, -0.0216053855, -0.0077403579, -0.0391758606, -0.0052876123, -0.0373953171, 0.0050870846, -0.0368342884, 0.0136419795, 0.0152731761, 0.0254098698, -0.0209177732, -0.0486280918, -0.0533718616, 0.0515835732, -0.0420312844, -0.0275487434, -0.0049769529, -0.0057057878, 0.0072447374, -0.0190333892, 0.0019456283, 0.0134912133, 0.019751193, -0.0565097928, 0.0358245149, 0.0187226273, -0.055631496, -0.0239144936, -0.0024577198, -0.0903437883, 0.0441277772, 0.013180729, 0.009092873, -0.0572432727, -0.0012237622, 0.0103901243, -0.0845095813, 0.0889817774, 0.0167151876, -0.0032513284, -0.0018141847, 0.0216478277, -0.0105993496, 0.0528511293, 0.0350506306, -0.0400028899, 0.0570554659, -0.0289554149, -0.0117046693, 0.004772047, 0.0192435645, 0.0316236354, -0.0321103595, 0.0032398175, 0.0035131904, 0.0318761431, 0.0158340726, 0.0298818015, -0.0501231253, -0.0334015638, 0.0303043295, 0.1600045711, -0.0119658206, -0.0180511121, 0.0479452759, -0.0131810196, -0.0141083784, -0.0306015201, -0.0497933403, -0.0094657606, -0.0207109191, -0.0166961253, 0.0248208363, 0.0241537355, -0.007094522, -0.0161634181, -0.0353501067, -0.0042775059, 0.0409071781, -0.0220336299, 0.0276072919, -0.0329589136, 0.0066051707, -0.0122664263, 0.0360964872, -0.0362931788, -0.0140444068, -0.0052908612, 0.0345863029, 0.0122568179, 0.0419986732, -0.0231670737, 0.0100617371, -0.0331397094, -0.0051880325, 0.0310400128, 0.036099758, -0.0212141871, 0.0132280132, -0.0421007164, -0.0121613555, 0.0384490974, 0.0619881488, 0.0245096684, 0.0435430147, 0.0351980962, 0.0228982903, -0.0696508884, -0.0190987326, 0.0424682796, -0.0485110432, -0.0201769546, 0.0042256168, -0.0080940425, 0.0588409044, -0.0084138541, -0.0525840633, 0.0396144129, 0.0004573203, 0.0002685953, -0.0285508037, 0.008142475, 0.0101866461, -0.0025429451, 0.0165621471, -0.0788067654, -0.0046258331, 0.0169766918, -0.0174734816, -0.0024200038, 0.0140228178, -0.0151296183, 0.0050527602, -0.0484304391, -0.0089885266, -0.0295467824, 0.0722600669, -0.0223973319, 0.012451428, -0.0435181409, 0.0265783779, -0.0170529112, -0.0259710606, 0.0304766018, -0.0248684231, -0.0740487128, -0.0018231756, -0.0049220119, -0.007038075, 0.0209801327, -0.0299496371, 0.0129192462, -0.0007291813, -0.0890553221, 0.0013332218, -0.0034337856, -0.019921314, -0.041795712, -0.0116860569, -0.0266842786, 0.0140287457, 0.0229545441, -0.004600517, 0.0023233211, 0.0579332709, 0.0337458476, -0.0858585015, -0.0171252638, -0.0526437759, -0.0360165089, -0.0291226506, 0.0712116435, -0.014693981, -0.0093858279, -0.0014992832, 0.0170385242, -0.0576113015, -0.0057049906, -0.0005247871, -0.0064486521, 0.0205556843, 0.0249492135, 0.0420354716, 0.0432754606, -0.0000851693, 0.0236608163, 0.0602443144, -0.0021610931, -0.0390883833, -0.0264916737, -0.0458060354, 0.0435620733, -0.002353946, -0.067361407, -0.0164982025, 0.0518443435, 0.0316837914, -0.0094957324, -0.04962999, 0.0211679004, -0.0339926258, -0.0179486014, -0.0448185727, 0.0135834701, -0.0368394218, 0.0324264728, -0.0433837473, -0.0658323914, 0.038541846, -0.0043431786, 0.0431691483, -0.0267242268, 0.0062980759, 0.0083136102, 0.0273508281, -0.0100367945, -0.0090759937, -0.0326172076, 0.0288861673, -0.0253381506, -0.0088995732, 0.049621515, -0.0679173842, 0.0235966556, -0.0359128006, 0.0051705483, -0.0077102869, -0.0184577536, -0.0233548246, -0.0721178725, -0.0425829217, 0.0032249119, 0.0383421965, -0.0594918542, 0.0087801237, 0.0091878828, 0.0100287711, -0.0011120713, -0.0013529749, -0.020500334, -0.0205987915, -0.0059843971, 0.0224589054, -0.0155883441, 0.0512096845, -0.032499332, -0.0104725929, 0.0170062333, 0.0042827162, 0.0316328183, -0.0075791059, -0.0051401504, 0.0305659622, -0.016554039, -0.0268705692, 0.0143031273, 0.0517386831, 0.0252169017, 0.0147964749, 0.1005116627, 0.0216783937, -0.0108074518, 0.0343480855, -0.0080447393, 0.0101562198, 0.035599906, -0.0056239977, -0.0672004968, -0.001570505, 0.032572791, 0.0243808944, -0.0274471492, -0.0607022829, -0.0206122603, -0.0961058587, 0.0481684171, 0.0171981677, -0.0219565872, -0.0276232623, -0.0826142132, 0.0506682917, -0.0160323512, 0.0229179636, -0.0433583856, 0.0175841115, 0.0177182145, 0.0018715778, -0.058429718, -0.0981858522, 0.0342551135, -0.0790987164, 0.0763518587, -0.0175861977, 0.044779852, -0.0496918596, -0.0198876597, 0.0043500233, 0.0019622913, -0.0766055733, -0.0130466968, 0.0628078878, -0.0083106384, -0.0016185103, -0.026230488, 0.0276796184, -0.0283621866, -0.0023216305, -0.0057476107, 0.0701903775, 0.0042664511, -0.0250888988, -0.0407992527, 0.0037880309, -0.0027397997, 0.0958755091, 0.0259237979, -0.0121783465, 0.0070796222, -0.0127494335, -0.0000719655, 0.0446031429, -0.0328870527, 0.0145537853, -0.0139271291, -0.0271337871, -0.0203779452, -0.0353188217, 0.0434372947, 0.0327881761, 0.0149956672, -0.0098851016, 0.0108399801, -0.0460565016, -0.0833779424, 0.0223969016, -0.0015885921, 0.0474418849, 0.0262893364, 0.028196536, 0.0215615388, 0.0454655997, -0.053103108, -0.0000019285, -0.0352066867, -0.0482381359, 0.0128915701, -0.0009908372, 0.0151799973, 0.0010012113, -0.0261673778, -0.0415862761, 0.0780947134, 0.053294681, -0.0237944331, -0.0107846679, 0.0216096025, -0.0005886587, 0.0093765939, 0.0090862336, -0.0039933068, 0.0113667259, 0.0283154678, 0.0116629852, -0.0244452003, -0.0295610409, -0.0130052194, 0.0057753068, 0.0451015271, -0.0380079523, -0.0167980194, -0.0609880798, -0.0710117295, -0.0065733897, 0.0019058775, -0.0009524529, -0.0393825956, 0.0425450355, -0.0065134754, -0.0745919347, 0.02592941, -0.0359496288, 0.0516553111, -0.0406493209, 0.0236198865, 0.0242768321, 0.0231137127, 0.0174706373, -0.0075701424, -0.0166482385, -0.0007186708, -0.045612935, 0.0066374615, -0.0030373395, -0.0021103118, -0.0232288241, 0.009147617, -0.0258398596, 0.0023653484, -0.0610688441, -0.0433048755, 0.0199769903, 0.0230889432, -0.0141884815, -0.0351334326, 0.0329937004, -0.043129947, -0.0190980546, -0.0509296879, 0.0182374362, -0.029463103, 0.0395313762, 0.0718224198, -0.0023372262, -0.0279957876, 0.0201636329, 0.0713916123, 0.0351609327, 0.0335865058, -0.0496013574, -0.0947482288, -0.0358848274, -0.0317366607, 0.0394847132, 0.0358524173, -0.0485211685, 0.0080876816, -0.1155742034, -0.0674185231, -0.0152721554, -0.005894985, -0.0163138006, 0.0347431712, -0.0501989052, 0.0788619295, -0.0186763462, 0.038516257, -0.0244931132, 0.0265831575, -0.0140101491, -0.0727207437, -0.0056619267, -6.404664807e-33, 0.0081496639, -0.0282168165, -0.030623544, -0.0652898997, -0.0160711315, 0.02033698, -0.0020620748, 0.0351867154, -0.0202475302, 0.0539318733, -0.0086204335, 0.0066880365, 0.014616481, -0.0155675774, 0.0368882678, -0.0030952685, -0.0065661883, 0.018334005, -0.0175605305, -0.0408321209, 0.020318009, 0.0370250903, 0.0752468482, -0.06042777, 0.0835099891, 0.039432399, 0.0380798616, -0.0098324353, -0.0007007368, 0.029743053, -0.0484146699, 0.0414935425, 0.0125187794, -0.0128780147, -0.0104827574, 0.0227380563, -0.0577327758, -0.0364958197, 0.0144294407, -0.0067862468, -0.0366061889, 0.0221736822, -0.0006154848, 0.027623564, -0.0651162788, -0.01617679, 0.0319294892, -0.0161008872, -0.0538573042, -0.0108451666, -0.0485792272, 0.0475593805, -0.0209959652, 0.0110009219, 0.0164829846, 0.0004825991, 0.0249000546, 0.0094258422, -0.017227238, 0.0090327254, -0.0167907253, -0.0203199573, 0.0219789185, 0.0083107147, 0.0231987555, 0.064673081, 0.0120294457, -0.0214721169, -0.032515388, -0.0349580273, 0.0614052936, 0.0065499931, 0.0084794499, 0.0956148729, 0.0602569953, -0.0141958343, -0.0542836338, -0.0083876904, 0.048699379, 0.0159708299, 0.0650468767, -0.0023890475, -0.078878209, -0.0427879617, -0.0560557768, -0.0752074867, 0.0091315899, -0.0016082923, 0.0173373595, 0.0114939688, -0.0213584676, -0.0061253877, 0.0233290754, -0.0202321447, -0.0161858276, 0.0104077989, 0.0103622172, -0.0120651992, 0.0166574232, 0.0129169924, -0.040961735, 0.0074511464, -0.0102138976, 0.0268865377, 0.049271144, -0.0196535401, 0.0231613033, -0.0101195294, -0.075317204, -0.0131167844, -0.0052494169, -0.0533510931, 0.0234383736, -0.0108230859, 0.064747341, 0.033035934, 0.0129672932, 0.0226817299, 0.0630776957, 0.0262302719, 0.021610681, -0.0111054014, -0.0164345354, -0.0012654052, 0.0153720444, -0.0153989932, 0.0087458352, -0.0088488907, 0.0387899987, -0.0502167121, 0.009864687, -0.0249851719, 2.58e-7, 0.0717639029, 0.0640180111, -0.014508754, 0.0061258986, 0.0048129987, 0.0158698354, 0.0373571962, 0.0350056514, -0.0348126553, -0.0264678951, 0.0225304216, 0.0240829699, 0.0672444254, 0.0420486853, -0.012192118, -0.0523936525, -0.0710776076, 0.0325033702, 0.0010436516, -0.0033172171, 0.0106265955, 0.1021783724, 0.0436145402, 0.0109723071, -0.0265933275, -0.0116579682, 0.0459597446, -0.072600089, -0.0007297975, 0.0181237254, 0.0169733874, 0.0043775076, 0.0488591827, 0.0168581177, -0.00859698, 0.0264165569, 0.0313497111, -0.0040798471, 0.0104378983, 0.0632085279, -0.0306561552, -0.0351965316, 0.011832485, -0.0568549521, 0.0581619143, -0.0415342487, -0.0333636142, -0.0477325879, -0.0332114883, 0.0285523981, 0.1126722991, -0.0126076099, -0.0150988847, -0.0157013051, 0.0291931313, 0.0302029699, -0.0061163371, -0.0612784214, 0.033591859, 0.0279179215, -0.0502917208, -0.0434225015, 0.0435375758, -0.0040559899, 0.0465507135, -0.0376416855, 0.0129799033, 2.628255217e-34, 0.0505614541, 0.0286270641, 0.0249829162, -0.0055910517, 0.0445895568, -0.0276113786, 0.0494277775, -0.0287222806, 0.0454268605, -0.0802834779, 0.0130560827 ]
http://arxiv.org/abs/2406.12159v1
http://arxiv.org/pdf/2406.12159v1
Exploring the Impact of a Transformer's Latent Space Geometry on Downstream Task Performance
2024-06-18T00:17:30
2024-06-18T00:17:30
Anna C. Marbut, John W. Chandler, Travis J. Wheeler
cs.CL
cs.CL, cs.LG
It is generally thought that transformer-based large language models benefit from pre-training by learning generic linguistic knowledge that can be focused on a specific task during fine-tuning. However, we propose that much of the benefit from pre-training may be captured by geometric characteristics of the latent space representations, divorced from any specific linguistic knowledge. In this work we explore the relationship between GLUE benchmarking task performance and a variety of measures applied to the latent space resulting from BERT-type contextual language models. We find that there is a strong linear relationship between a measure of quantized cell density and average GLUE performance and that these measures may be predictive of otherwise surprising GLUE performance for several non-standard BERT-type models from the literature. These results may be suggestive of a strategy for decreasing pre-training requirements, wherein model initialization can be informed by the geometric characteristics of the model's latent space.
[ 0.0348023511, 0.036749471, -0.014257432, 0.0184460618, -0.0418159664, 0.0215418059, 0.0422503501, -0.023283232, -0.0377139822, -0.0191525184, -0.0530896969, -0.0715856031, 0.0286430158, 0.0080547389, 0.06176503, -0.049544204, 0.0196296722, -0.0281870849, -0.0213497989, -0.0102802617, -0.0247775037, -0.0243409406, -0.0024340842, 0.0468303859, -0.0420536548, -0.00988774, -0.006052352, -0.0128354272, 0.000372525, -0.0149549302, 0.0027622632, 0.0674933195, 0.017500259, 0.0257079434, 0.0000018056, -0.0325243063, -0.0042733601, 0.0069459043, 0.0004760779, 0.0470953621, -0.0134695536, -0.0692224354, -0.0377462544, 0.0120426929, -0.0197485611, -0.01137044, 0.0545058474, 0.0352298804, 0.0022692713, 0.0472568646, -0.0350232981, -0.0270842388, 0.0547945499, -0.0230520498, 0.0211702082, -0.0225804839, 0.0273734313, 0.0359074213, -0.0159127545, -0.0214369837, -0.0617564507, 0.0598541424, 0.0254864451, 0.0182212722, -0.0076159621, 0.0664239749, -0.0652975067, -0.0101132104, -0.0217244811, 0.0496438183, -0.0678818226, -0.0429708548, -0.0083506312, -0.0056165941, -0.0134285269, 0.0522709303, -0.0470407754, 0.0130242603, 0.0072836229, -0.0019051126, 0.0119160889, -0.0178069994, 0.0245769974, -0.0296849553, -0.0890589505, 0.025801817, 0.041717004, -0.0560919717, -0.0132465465, 0.0133377016, -0.0843335912, -0.0406831503, -0.0037819084, 0.0157699622, 0.0028925224, 0.0272621475, -0.0167936645, -0.0439825915, -0.0050727315, -0.0402326211, 0.0264804736, 0.0477072932, 0.0134757636, 0.0456454232, -0.0569913834, 0.1026460081, -0.0278451107, 0.0594000146, -0.0329388678, -0.0187089257, -0.0124049708, -0.0111734299, -0.0706805885, 0.0200015754, -0.0118249822, -0.0556696281, -0.0173733458, 0.0597769469, 0.0246803146, -0.0281264335, 0.051665511, 0.0086826673, -0.0347859561, 0.0061530848, 0.0190352462, 0.0078805014, -0.0030628599, 0.0112708267, -0.0299212802, -0.0481841527, -0.0170614365, 0.0219538286, 0.0119690662, -0.0597131997, 0.0036389933, 0.0213744156, 0.0046295314, -0.0704187155, -0.0165825076, 0.0541183464, -0.0683863685, -0.0384029634, 0.0460277945, -0.0374133959, 0.0040344284, 0.0416103601, -0.0099480059, -0.0045046587, -0.024907941, -0.0140802879, -0.0172395129, 0.0622094832, 0.0253379811, 0.0074820765, 0.0109815588, -0.0211531036, 0.006566966, 0.0469218604, 0.0408672243, 0.0346404873, 0.0081640538, -0.025463149, -0.0187163856, 0.0451097935, 0.0122232512, -0.014202524, -0.046145577, 0.0029964694, 0.0031618299, 0.0271308515, 0.0309207384, 0.065249294, -0.0418205224, -0.0014159031, 0.0403737314, 0.1128659844, 0.0761914328, 0.0082813501, 0.0320022106, 0.0110270362, 0.0120730558, 0.0159027949, -0.0508492179, 0.0205645245, 0.0313637778, 0.0193536729, -0.0066660894, 0.0466656834, -0.0314534418, 0.0126630692, -0.0213834178, -0.0122671491, -0.0296976734, -0.0454258099, 0.0541282892, 0.0056011407, -0.0519852079, 0.1055998653, 0.0045301537, -0.0524079315, -0.0233013835, -0.0236357823, -0.0123186195, 0.009340358, 0.0170155149, -0.0094884755, -0.0605223328, 0.039966736, 0.0114074964, 0.0374354012, 0.0069780028, -0.0000187205, -0.0108287446, -0.0332703143, -0.0371168219, 0.0130945612, 0.0180317778, 0.0123024359, 0.041469492, -0.0196998026, -0.0189673528, -0.0520117208, 0.0357499272, 0.048930712, -0.0164102986, -0.0005639223, -0.0249351654, 0.0268694293, 0.0222438611, 0.0054359646, -0.0300997831, 0.0177134983, 0.0495309755, -0.0429201946, -0.0032314665, 0.0453515202, -0.080209814, -0.0344786197, 0.012847486, 0.0024587912, 0.0176025033, -0.0136357797, 0.0131033203, -0.0323235393, 0.0241989922, -0.0485486016, 0.0981799364, -0.0322350226, 0.045754604, -0.0364227965, -0.0096060671, -0.0507481061, 0.066101104, -0.0331838839, 0.0343947932, 0.0316821188, 0.0481511205, 0.0347510725, 0.0118800057, -0.0244622324, -0.0092802737, -0.0048836255, 0.0250589494, 0.0120997401, -0.0291655157, -0.0164341442, -0.0716546327, -0.0598462559, -0.0053899097, -0.0558616631, 0.0300178975, 0.0312039442, 0.0088914866, 0.0009313539, 0.0104515534, -0.005640585, -0.0135245454, -0.0065691792, 0.0204584599, 0.0177268162, -0.0007636831, -0.0119501557, -0.0334561504, -0.0359006301, -0.0149462018, 0.0574612506, 0.0149778007, -0.0272343196, -0.0313128866, 0.0115004033, 0.0333073623, 0.0258223265, -0.0229779072, -0.0398397036, 0.0464059226, -0.0335873738, 0.1053698659, 0.0741069764, 0.0182201993, 0.0392668061, 0.0236228518, -0.0091948565, -0.0291386619, -0.0070140515, -0.0605351627, -0.007448622, -0.0687757954, -0.0079708993, 0.0221360438, 0.0862251371, -0.0247916784, -0.0006705243, -0.0955627859, 0.0030863688, -0.0211172532, -0.0067044264, 0.0238502882, 0.0082204901, -0.0470385179, 0.0302097686, -0.029764438, -0.0323171094, 0.0391277671, -0.0464492105, -0.0038508074, -0.0130985687, 0.0179886725, -0.0474678315, 0.0477621555, 0.0266657881, 0.0087809023, -0.0207761284, -0.0484802052, -0.043395631, 0.0296271201, -0.0105352225, -0.0085000452, 0.0481617562, -0.0350512713, 0.0238986872, 0.0062032901, -0.0414753594, -0.0294525437, -0.0146521032, 0.0115993721, 0.0198251288, 0.0448255725, -0.0584747456, -0.0538596548, 0.0472769886, 0.0173272137, 0.0498239957, -0.010897249, -0.0141187971, -0.0232174341, 0.0542241633, 0.02603212, 0.0603088029, 0.0205397289, -0.0302362163, -0.0336461142, 0.0187204443, 0.0115514575, 0.005542316, -0.0491209626, 0.0220896807, 0.0489732698, -0.0101051778, -0.0487392917, -0.0029889152, 0.0455379412, -0.0187826026, -0.0162662808, 0.1143418476, 0.0431759879, 0.0030922536, 0.007769132, 0.003420301, 0.053417597, 0.0063328948, 0.0085617565, -0.0499944277, -0.004521348, -0.0189079884, -0.0111236097, 0.0343861952, -0.016875824, 0.0089443121, -0.0883340612, 0.0110180192, -0.0272890534, -0.0514330044, -0.0248213876, -0.0566996485, -0.0061889184, -0.036028225, 0.0494049042, 0.0009381722, -0.0537314601, -0.0006836374, 0.0447714888, -0.0130984001, -0.0772487894, -0.0067170025, -0.0592557378, 0.0502057672, 0.0288175792, 0.0169534553, -0.0183279105, -0.0572819114, 0.0066346959, -0.0040667071, 0.0315001942, -0.0103463493, 0.0303553361, 0.0110293012, -0.0126231145, -0.0092704101, -0.0137264309, -0.0361198299, -0.020901965, -0.0494816639, 0.0489722006, -0.0157788768, 0.0044294368, -0.0008070254, -0.0107980967, -0.0308749843, 0.0763370469, 0.0275687631, -0.0363492295, -0.0625806302, -0.0098527316, 0.0425599739, -0.0157148242, -0.0224940535, -0.0028087781, -0.0218026359, -0.0365872495, -0.0431752503, -0.0058132536, 0.0523552001, 0.0607859232, -0.0015259275, -0.0190340169, -0.0048675863, -0.0086143557, -0.0535488091, 0.0397948995, 0.0248754323, 0.0270972159, -0.0682344139, 0.0236113779, 0.0463266857, -0.0166866127, -0.0358459651, -0.0462388583, -0.0546797998, -0.0635115281, 0.0357839316, 0.0138538936, 0.0231780522, 0.0477816872, 0.0115216672, -0.0357951634, 0.0365841538, 0.0305105839, -0.0277578048, 0.0386542305, 0.0351404436, -0.020082023, -0.003608424, 0.011556033, -0.0378637463, 0.0148763685, 0.012658719, 0.0664443746, -0.0499442294, -0.0368360691, 0.0063643823, -0.0373913385, 0.0727905333, 0.0060706246, 0.0234018732, -0.0182177965, 0.0244130641, -0.0118366228, 0.0468627289, -0.0310479347, -0.0231765527, 0.0408391841, 0.0287676584, -0.0170172993, 0.0508711413, -0.0177608952, 0.0344800428, -0.0357073136, 0.0156669673, -0.0018462666, -0.0085955318, 0.0487081632, 0.0376096033, -0.0120274629, -0.0096876146, 0.0104999235, 0.0217253249, -0.0213432778, 0.029037673, 0.0187174436, 0.0067806146, -0.0119152237, 0.0379338749, -0.1022662669, 0.0074262302, -0.0385772809, 0.0181355271, 0.034962099, -0.0376460329, 0.079341501, -0.0447762348, -0.0155200493, 0.006376544, -0.0256991088, 0.0267903134, 0.0083242711, 0.0452983715, 0.0254537631, 0.002701564, -0.0195880327, 0.0749519467, 0.0178326648, 0.0271346364, -0.0296220798, 0.0077087991, -0.0215422399, -0.0194632933, 0.020345334, 0.0057653608, -0.0310936626, 0.0212436039, -0.0692702681, -0.0531843118, 0.0226924978, 0.0320575424, -0.012209842, -0.0150837358, 0.0273453854, 0.0744497478, 0.0058998223, -0.0072005792, -0.0178560019, -0.0262430441, 0.010452426, 0.0086300364, -0.019595772, -5.989837994e-33, -0.0186280105, -0.0112025226, 0.0125801386, 0.0323646516, 0.0027584427, 0.0365835242, -0.0345186554, 0.0162288547, -0.0256202221, -0.0008983018, -0.0229068305, 0.0145091936, 0.0157496724, 0.0335177593, -0.0243981555, 0.0378816649, 0.0695278049, -0.0070905103, -0.0057217455, -0.0064319582, -0.0123226549, 0.0292653143, 0.0056878617, -0.028912399, -0.0148011399, 0.0101641966, 0.0350085609, 0.0207226481, 0.0268269069, 0.0660544559, -0.0316490754, 0.0158314221, 0.0148445619, -0.0252391398, -0.0271310732, 0.0256748684, -0.1127470434, -0.0289744064, 0.0188679881, 0.0042845514, -0.0342883132, -0.0133770425, 0.0268686675, -0.0169643965, -0.0187238306, -0.0291401073, 0.0328081585, -0.0051226025, -0.0532676503, -0.0430473387, -0.0754930899, 0.0234189052, 0.0067300387, 0.0139354998, 0.0552252196, -0.0197770633, 0.016786024, 0.0350673944, -0.0420760363, 0.0092891129, -0.0050708051, 0.0414425693, 0.0426053479, 0.0629494488, 0.0069455341, 0.0428402014, 0.0171138626, -0.0078147622, -0.0197633393, -0.0320155434, 0.0727399066, 0.0289347358, 0.0457857735, -0.0149200894, 0.0495025292, 0.0128312586, -0.0528559349, -0.002541424, 0.0121114124, 0.0279975608, 0.0132408878, 0.0299808886, -0.0189225879, -0.0048905551, -0.0350359604, 0.0106089562, -0.0220320653, -0.0141763622, 0.0182944518, 0.0160625353, -0.0087462263, 0.0246699974, 0.0091143949, -0.0202693678, -0.013785216, -0.0005987234, -0.003801306, 0.0336027443, -0.0234817453, 0.0627931952, -0.0804284438, -0.0266550705, 0.0307660047, 0.0410838425, 0.0230167657, 0.0053712847, 0.0371061973, 0.0502395518, -0.0729487091, -0.0279164743, -0.0271762069, -0.0332117416, -0.0122772297, 0.0368775278, 0.0422645099, 0.0059302552, 0.0015556118, 0.0059648417, -0.0012733025, 0.0045019016, -0.0071185958, 0.0135537796, 0.0087350057, 0.0231613759, -0.0364047438, -0.033199206, -0.0365619659, 0.0565022267, 0.0754625201, -0.0777239949, -0.0336369723, 0.0116960118, 2.555e-7, 0.0853697062, 0.0597198606, 0.0534507707, -0.0091671515, 0.019726038, -0.0158096459, -0.0358289704, 0.0012504761, 0.0117237782, 0.011885006, -0.0048697591, 0.0162129644, 0.0243089087, -0.0135591021, -0.0737453401, 0.0240281988, -0.0796194971, -0.008915524, -0.0401770771, 0.0458879806, 0.0493304394, 0.1022155434, -0.0385954492, -0.0288872067, -0.0229465254, -0.0360044651, 0.0557439886, -0.0243894886, 0.0437947363, 0.0458972715, 0.0081841433, 0.0258735139, -0.0115401028, 0.0273377467, -0.0125404065, 0.017359728, 0.0124946972, 0.0437597111, -0.0075125862, -0.0318944529, 0.0260954797, -0.0357025526, -0.0289093815, -0.0633988231, 0.070029825, -0.1284032464, -0.0242727175, 0.0060314462, -0.0143406689, 0.0392172039, -0.0031432211, -0.0017489218, -0.0093460251, -0.0073992959, 0.0490161702, -0.0058166771, -0.0000878254, -0.0868306383, -0.0192670804, 0.0315943994, -0.0374652594, -0.0470106341, -0.0510239862, -0.0274533667, 0.0557433031, -0.021361785, -0.016892815, 2.692510907e-34, 0.0193888247, 0.0044044093, 0.0456010588, 0.0158286691, -0.0071433242, -0.0436369106, 0.032416299, 0.0133879967, -0.0145016294, -0.1178312674, -0.0174081307 ]
http://arxiv.org/abs/2406.12158v1
http://arxiv.org/pdf/2406.12158v1
LLMs Are Prone to Fallacies in Causal Inference
2024-06-18T00:14:07
2024-06-18T00:14:07
Nitish Joshi, Abulhair Saparov, Yixin Wang, He He
cs.CL
cs.CL, cs.AI
Recent work shows that causal facts can be effectively extracted from LLMs through prompting, facilitating the creation of causal graphs for causal inference tasks. However, it is unclear if this success is limited to explicitly-mentioned causal facts in the pretraining data which the model can memorize. Thus, this work investigates: Can LLMs infer causal relations from other relational data in text? To disentangle the role of memorized causal facts vs inferred causal relations, we finetune LLMs on synthetic data containing temporal, spatial and counterfactual relations, and measure whether the LLM can then infer causal relations. We find that: (a) LLMs are susceptible to inferring causal relations from the order of two entity mentions in text (e.g. X mentioned before Y implies X causes Y); (b) if the order is randomized, LLMs still suffer from the post hoc fallacy, i.e. X occurs before Y (temporal relation) implies X causes Y. We also find that while LLMs can correctly deduce the absence of causal relations from temporal and spatial relations, they have difficulty inferring causal relations from counterfactuals, questioning their understanding of causality.
[ 0.0051862779, 0.0229839608, -0.0342074856, 0.0315865688, -0.0434094854, 0.0323117338, 0.0010530242, -0.0034447704, 0.0467608199, -0.0736187771, 0.0571605712, 0.020253744, -0.0040654112, -0.0424700007, 0.0521244071, -0.0292345714, 0.0493062176, -0.0215408262, -0.008512958, -0.0127769671, -0.0548761003, -0.0192375053, -0.0378121473, -0.0136945704, -0.0440502875, 0.0152512472, -0.007170998, -0.005851096, 0.0173106715, -0.0674490705, -0.0252418201, -0.0000303246, 0.0167878214, -0.0073059569, 0.0000018391, -0.0363966711, 0.0140944384, -0.035430871, -0.0222819205, -0.0112106716, -0.0660333335, -0.0007225173, 0.0407327041, -0.0373911336, -0.0350028761, 0.0046860706, 0.006789112, 0.0521635488, -0.0149539188, 0.0828299224, -0.0006623085, -0.0431476571, -0.002215368, 0.0018939145, 0.0746002272, 0.0136061609, 0.030085735, 0.000818457, 0.0062612067, 0.0082313651, -0.0264608152, -0.0003030015, 0.0431417972, 0.052561868, 0.0351241305, 0.0414758809, 0.0412054807, 0.0046148351, 0.0270049907, 0.075083293, 0.0941747651, -0.0384173468, 0.0191643536, -0.0115398308, 0.0363739729, 0.0963497758, -0.0466834642, 0.0287598614, -0.0314721763, 0.0146328863, 0.0285279229, 0.0050176303, 0.0591253713, 0.0157793425, -0.0122860465, 0.0803169608, -0.0009364542, -0.0492944606, -0.0204001106, 0.0461480841, 0.0558895841, -0.0347573496, -0.0237964392, 0.0247529186, -0.0153561188, 0.0342539474, 0.0185399074, 0.04600491, -0.0011170541, -0.0322572812, 0.0271026418, 0.0144986203, -0.0366248675, 0.0151203386, -0.0564499721, 0.0089948587, -0.0549981557, 0.0597572364, 0.0126356296, 0.0417041481, -0.0216372199, -0.0158632789, 0.0523930117, 0.032951612, 0.0224443264, 0.0416753814, -0.0230742972, 0.0179550517, -0.0160605926, -0.0048160837, -0.038647294, 0.008722241, 0.0056221024, -0.0055133137, -0.0958806649, -0.0150543777, -0.0504020564, 0.0800294727, -0.0550133958, -0.0288749598, -0.0286177006, 0.0073825368, 0.0054715266, -0.0116144205, -0.0078477338, 0.1149403304, 0.0342874154, -0.0101730246, -0.0856070071, -0.0370237492, 0.0237022005, -0.0227043871, 0.0581495129, -0.036551699, 0.0004487968, 0.047056362, -0.0156154558, -0.0133274132, 0.0074535059, -0.015889788, -0.0748316124, 0.0295943804, 0.005896294, 0.0272568949, -0.0025264851, 0.0096371993, 0.0140009038, 0.0379115306, 0.0284129381, 0.0318323448, -0.0213726331, 0.0230842344, 0.0140382871, 0.0105801998, 0.0376288593, 0.0251766685, -0.0476982184, -0.0490507036, -0.0269390382, 0.0153647764, 0.0439079702, 0.0072982023, -0.0290092677, 0.0009678073, 0.0533246361, 0.0041217632, -0.010318052, -0.0266050138, 0.0750548169, -0.0667081997, -0.0060446812, 0.0711137056, -0.0887984484, 0.0450348668, -0.024385361, 0.008347109, -0.007123529, -0.0154782608, -0.0119214822, -0.0435686409, -0.0232484285, -0.0069314209, -0.0463729352, 0.0006072516, 0.0575603507, 0.0225570016, -0.0357461795, 0.0552807748, 0.0112186885, -0.0100395298, -0.0034298983, 0.023128001, 0.0121261608, 0.0564525835, 0.0242234878, -0.0188630689, -0.0319541581, -0.0070293481, 0.0334983468, 0.0073255855, 0.0460527651, -0.0064348639, -0.0163740125, -0.0007659905, -0.0326829553, 0.0005950775, 0.0357908197, 0.0270903576, 0.0204309076, -0.0243506934, 0.0021037071, 0.0169300549, 0.0259510837, 0.0587068386, -0.0326191075, -0.0314157568, -0.0620475821, 0.0289569348, 0.0355586223, -0.0014125459, 0.011657441, 0.009647619, 0.0499940254, -0.0026644154, -0.0155000621, 0.0692968145, -0.0504782386, -0.0383975171, -0.0187461302, -0.0462395698, -0.0503111519, -0.0064546941, -0.0400242954, -0.0270158052, 0.055171527, -0.0033906614, 0.0327572599, 0.016847074, -0.0117350994, 0.0380614884, -0.0477277301, -0.0173295476, 0.0738592818, -0.0072791181, 0.035716217, 0.0027515765, 0.0297297258, -0.0130222877, -0.0308919139, 0.0407395847, -0.0505894274, 0.0057372712, -0.0544471182, -0.0166605301, -0.0434418917, -0.063520208, 0.0059492216, -0.0271459557, -0.0040303473, 0.0067194225, 0.0064349277, 0.0013073938, -0.0439209677, -0.0283842795, -0.0439868607, 0.0116614625, 0.0046323012, 0.0048145475, 0.0563226528, 0.056265641, -0.0610558875, 0.0302296095, -0.0313217491, 0.0317849927, -0.0835333839, 0.0377595834, 0.050547719, -0.0512773767, -0.0298255552, 0.0154275894, -0.0096475407, -0.0115566021, -0.0290598758, 0.0079291603, 0.0331444629, -0.018145442, 0.0341404453, 0.0674047023, -0.01275515, 0.0269393567, 0.0521873683, -0.0322343521, -0.0634808242, -0.0157946423, -0.0574516878, 0.0244372804, -0.0083664292, -0.0705373511, -0.0605114661, 0.0614496097, 0.0328684151, -0.0058936267, 0.009382409, 0.0175278299, 0.008908473, -0.0030881318, -0.0082684318, -0.0272523537, -0.0242633075, 0.0299402196, -0.0310625155, -0.0810279474, 0.0272686947, 0.0215385314, 0.0241371244, 0.0331260674, 0.0273818504, -0.0218810868, 0.052918829, 0.0537628084, -0.0378325433, 0.0083813621, -0.0262217261, -0.0593818463, -0.0108174961, 0.0270282459, 0.0430464186, 0.0046538659, -0.0790899917, 0.0227070022, -0.0005027279, -0.0128472429, -0.0687591806, -0.0192852747, -0.0280161053, -0.0283195674, -0.0428425893, 0.0196190644, -0.0068217893, -0.028938381, 0.0469084047, -0.0178555585, -0.02354398, -0.00607447, -0.0285729878, -0.0035691999, 0.006569366, -0.00252588, 0.021719804, -0.0325969458, -0.012116028, -0.0045082076, -0.0299104564, -0.0071173697, -0.0397035368, 0.0363008417, -0.0360493623, -0.0059710369, 0.0013421603, 0.0285137333, 0.0096165016, -0.0172571912, 0.0074257422, 0.0667013079, 0.0178108364, 0.0191578362, 0.0097978618, 0.0210709292, -0.0194835644, 0.0392744765, -0.0507575348, -0.0959990025, -0.0013816213, -0.0023020431, -0.0499911793, -0.0355923288, -0.0387528725, 0.0071541886, -0.0824759826, 0.022328943, 0.021698419, -0.0212381706, 0.025649352, -0.0615843721, -0.0204674955, 0.0137932813, -0.0569994748, -0.0166260768, -0.0187608823, 0.0416496396, 0.0210129544, -0.0051574912, -0.0198292583, -0.034988597, -0.0019575511, 0.0421625823, -0.0140806381, 0.0136083188, -0.0241273567, -0.007382114, 0.0348355025, 0.0385944284, 0.021698935, -0.0188538916, 0.0330372453, 0.0134834787, 0.0032575, -0.0362174101, -0.0088855103, 0.003966684, -0.0434265956, 0.0186818969, 0.0845598131, -0.0411485322, -0.0274784565, -0.0095670633, 0.0389884301, -0.0291500986, 0.0589417927, 0.030193055, 0.0557517633, -0.0228393301, -0.0167751648, -0.0225966163, -0.0340847149, -0.0473975874, 0.0066255527, -0.0128072901, 0.0164980534, -0.0490979217, -0.0787531286, -0.0227019303, -0.0016040555, 0.019800866, 0.0228671301, 0.0185003988, -0.0530616194, -0.0368986242, 0.0585736968, -0.0337226875, -0.0242747348, 0.0188494902, -0.037577305, 0.0186952483, -0.0315871201, -0.0002204615, 0.0171842929, -0.0691749901, -0.0692545474, 0.00614502, 0.0452424139, 0.0256348718, 0.0533084981, 0.0257202815, 0.0023738581, 0.012733995, 0.0302554592, -0.0389417224, 0.0457278974, 0.0206449591, 0.0172120277, -0.0048513659, -0.0020740316, -0.0300328173, 0.0231570583, 0.0295278057, -0.0049555451, -0.0576909035, 0.0095900334, 0.0051748259, -0.0016047735, 0.0980334729, -0.0015275055, -0.0032810527, -0.0294343084, 0.0142777981, -0.0273828749, -0.0193609912, 0.0276909582, 0.0260539353, 0.0125008933, 0.0668101385, -0.0371950865, -0.0642160401, -0.0178503506, 0.0515794232, 0.0268338919, 0.0042458782, 0.0261619315, 0.0068657068, 0.0199476443, 0.0122567331, -0.0095970454, 0.035850808, -0.0106021119, 0.0274520181, 0.0192492567, 0.0253076348, 0.0429228321, 0.0306893978, -0.0404047258, -0.0740141794, -0.1164112985, 0.0065605463, 0.0390428416, 0.0133155622, 0.0823873356, -0.0442483798, 0.0211377628, -0.0398874544, 0.034291096, 0.0313178562, 0.0348931178, 0.010630453, 0.0115707675, 0.0540868416, 0.011377017, -0.0236676335, 0.033949811, 0.0382993929, 0.0303187799, 0.1010770053, -0.0075864471, -0.0013248211, -0.0142912315, -0.0839535296, -0.0004747655, -0.0229034983, -0.010086108, -0.0092847766, -0.0743562728, -0.0422266759, 0.0202810187, -0.000020892, 0.0136694564, -0.0273461863, -0.0057175863, 0.0029294905, 0.0079907682, -0.023183668, 0.0142827546, 0.0563137643, 0.0000477441, -0.0217915401, -0.0430448242, -6.291810738e-33, -0.0490764417, -0.0812146813, 0.0513986647, 0.0109327165, 0.0040069018, 0.0130361505, -0.0395237915, -0.0011874854, -0.0026499254, 0.013046911, 0.0210308228, 0.0148320263, 0.0321633406, -0.0317750499, 0.0363228805, -0.0354228429, 0.0075311717, 0.0027202533, 0.0052270941, -0.0242018327, 0.0442868471, 0.0253416244, 0.0469443128, -0.0663389936, 0.0640747175, -0.0304430332, 0.0107459193, -0.0012631079, -0.081311278, 0.0028818585, -0.0017089951, -0.007878433, 0.0489318781, -0.0004837502, -0.0215878244, 0.0236040466, -0.0516748019, -0.095998913, 0.075893335, 0.0011091777, -0.0250954945, -0.0542710051, 0.0185879078, -0.0076192506, -0.0182407182, 0.0223090053, 0.0544979498, -0.0157561898, -0.0257005002, -0.0033470471, -0.0700904503, 0.0000579631, -0.00195939, 0.0277334023, -0.0139509533, -0.0161361061, 0.0129471747, 0.0169292316, -0.0149194784, 0.0431249626, 0.0095466971, -0.0185147673, 0.0172339622, 0.0290310234, 0.0094491234, 0.0727344528, 0.0032946244, 0.0191307534, -0.0714078918, 0.0072095306, 0.0120443031, 0.0235313959, 0.0208803918, 0.0557384789, 0.0131443255, 0.0201759022, -0.0946329981, -0.015416217, 0.0143630337, -0.0007374397, -0.0164925922, -0.0202643611, -0.0107534695, -0.0243663117, -0.0358873457, -0.0026601267, -0.0116570806, -0.0188780092, 0.0210387167, 0.0066433777, 0.0643832162, 0.0002649975, -0.0014148176, 0.0096779084, -0.0181555524, 0.0158409756, 0.0000753576, -0.0125175975, -0.0107384948, -0.0135192787, -0.0737510547, -0.0095829368, 0.0043957494, 0.0230730195, 0.061214745, 0.0340017453, 0.0552759171, -0.0336958393, -0.0108518666, -0.0391969867, -0.0381684639, -0.0518890992, 0.0219525117, -0.0786756352, 0.0720131248, 0.0381004661, -0.0115416106, 0.0401944108, 0.0342956595, 0.0116834827, -0.0034659291, 0.0063193874, -0.0613536723, 0.0440860428, -0.0121648619, -0.0041692643, -0.0008991078, 0.041926235, 0.0130189834, -0.054959774, 0.0016088876, -0.0019414976, 2.554e-7, 0.052094724, 0.051464539, 0.0401182398, 0.0376342274, 0.0177381691, -0.0219389834, -0.0290367194, -0.0260485243, 0.0294485204, 0.0060293712, 0.0242288597, 0.0415525623, 0.0363217704, 0.0151571129, -0.055489596, 0.0137334252, -0.0460961163, -0.0340106003, -0.016619714, 0.0088952836, 0.0709180161, -0.0142977294, 0.039626319, 0.0219045095, -0.0391748138, -0.0104740793, 0.0618782602, -0.0521612763, -0.0001417545, -0.0437221862, 0.0093122432, -0.0397712477, -0.0324107781, 0.0435534455, 0.0305440202, -0.027063854, -0.068851091, -0.0056196842, 0.0121025965, -0.0430938564, -0.03853314, -0.0769883171, 0.0140662985, -0.0078433622, 0.049613703, -0.0556476749, -0.0119755622, 0.0653897747, -0.0111202924, 0.0192468632, 0.0195873976, 0.0314365514, 0.0214431714, -0.0143761123, 0.0043223687, 0.0241669416, 0.0053407447, -0.0782402754, -0.0311138872, 0.0584003814, -0.0001073145, -0.0895431489, -0.0024861346, 0.0134584624, 0.0504723825, -0.0214851201, -0.0407277234, 1.893411684e-34, -0.0229615886, 0.0080332868, 0.0218105, -0.0133363158, 0.0116662504, -0.059101928, -0.037091881, 0.0455123, 0.025586063, -0.0604825094, -0.0000354512 ]
http://arxiv.org/abs/2406.15487v1
http://arxiv.org/pdf/2406.15487v1
Improving Text-To-Audio Models with Synthetic Captions
2024-06-18T00:02:15
2024-06-18T00:02:15
Zhifeng Kong, Sang-gil Lee, Deepanway Ghosal, Navonil Majumder, Ambuj Mehrish, Rafael Valle, Soujanya Poria, Bryan Catanzaro
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
It is an open challenge to obtain high quality training data, especially captions, for text-to-audio models. Although prior methods have leveraged \textit{text-only language models} to augment and improve captions, such methods have limitations related to scale and coherence between audio and captions. In this work, we propose an audio captioning pipeline that uses an \textit{audio language model} to synthesize accurate and diverse captions for audio at scale. We leverage this pipeline to produce a dataset of synthetic captions for AudioSet, named \texttt{AF-AudioSet}, and then evaluate the benefit of pre-training text-to-audio models on these synthetic captions. Through systematic evaluations on AudioCaps and MusicCaps, we find leveraging our pipeline and synthetic captions leads to significant improvements on audio generation quality, achieving a new \textit{state-of-the-art}.
[ -0.00555528, 0.0589404404, -0.0129780238, 0.0307307374, 0.0235831514, -0.0238610469, 0.0367340185, -0.0235831402, -0.0343805365, -0.0201974306, -0.0514912643, -0.0056966809, 0.0242652558, 0.0552601628, 0.0148999104, -0.0937208235, 0.0058562704, -0.0651696324, -0.0176734086, -0.0103772115, -0.0055970727, 0.0341310836, -0.0255855583, 0.0305440854, -0.0201725122, -0.0080415653, 0.0069737793, 0.0361492746, 0.004801563, -0.0149876745, -0.0252332091, 0.0644756928, 0.0382302888, 0.0252640191, 0.0000015224, 0.0055364799, -0.0028446997, 0.018724395, 0.0481100716, 0.0367511548, 0.0453926399, -0.0138412295, -0.0416905023, 0.0350280032, 0.0044650249, 0.0009926633, 0.057789322, 0.0165515039, 0.0727661327, 0.0544183031, -0.0257577412, -0.0678445548, -0.0082836468, -0.0554573573, -0.0124894287, 0.018097125, -0.0373716615, 0.0692636371, 0.0051868018, 0.0006978791, 0.0146522643, 0.0719376877, 0.0010267061, -0.0060765836, 0.0196023751, 0.0497721136, -0.0710375533, -0.0376560576, -0.0029145086, 0.0979894921, 0.0375968404, -0.0041330233, -0.0263246428, 0.018591417, 0.0156557895, -0.0361472033, -0.037068706, 0.0202404261, 0.0326802358, 0.026570417, -0.0557690188, 0.0401075631, 0.0335796699, -0.033335235, 0.0299248677, -0.0741088316, 0.0253258385, 0.0185226593, -0.0170107894, -0.0124009224, -0.0575311407, -0.0258120932, 0.0420679115, -0.0271087941, 0.019358404, -0.0247258823, -0.072269313, -0.0327040665, -0.0269205142, -0.0129867177, 0.0229396205, 0.0137076229, -0.0538908653, 0.0692601129, 0.0026897085, 0.0059690042, 0.0089473547, -0.0061771725, -0.0466224141, -0.0049834023, -0.0264674816, -0.007916417, -0.0408341959, 0.010455084, -0.0532923788, -0.0455309041, -0.0258403495, -0.0567453094, -0.0328146368, 0.0336617008, 0.0065819724, 0.0277125649, -0.0214864705, -0.0056472649, 0.0209949091, 0.0195036847, 0.0169981197, 0.0451612212, -0.0048169284, -0.0145949824, -0.0281639714, 0.0182294417, 0.0397587605, 0.0054057622, 0.0342032537, 0.0621061064, -0.0146309389, -0.0160483867, -0.0016948407, -0.006044101, -0.0406468809, -0.0211769305, -0.0550717451, -0.05567367, 0.0469699241, -0.0328632481, -0.0051402496, -0.0486043133, 0.0130653726, 0.0203612559, 0.0215620808, 0.0923018977, -0.0115864137, 0.0518671125, 0.022838736, 0.0043270504, -0.0172686949, 0.0583269224, 0.0976410285, 0.0151725374, 0.0350486748, -0.0389417373, 0.0147385495, 0.0638503581, 0.0211134832, 0.0141818048, -0.0313346162, -0.0379826315, -0.010271607, 0.0359120406, 0.0598589778, 0.064972803, 0.0104126995, 0.0064517609, 0.1009623855, 0.0168098453, 0.0090063, 0.0468083583, 0.0402030163, 0.011119551, -0.0005123475, -0.0217481758, -0.0000818798, 0.0354367271, 0.0343441889, 0.0204735678, 0.0591369309, 0.0227685142, -0.016129991, -0.0237717945, -0.0032633871, -0.0177652668, -0.040357504, -0.0216871426, -0.006982672, 0.0305348542, -0.0610050187, 0.0512168556, -0.009828262, -0.0668273196, 0.0212360378, -0.0170350522, -0.0125620496, 0.0558188707, 0.0434135981, -0.019786533, 0.0169860609, -0.0313431695, 0.0237592459, 0.0916793272, 0.0416184366, -0.0154348603, 0.0265173353, -0.0273846071, -0.0073239552, 0.000453318, -0.0095199188, 0.0326540954, -0.0122720608, 0.0391932577, 0.037185546, -0.0293194316, -0.0653075799, 0.0068494668, 0.0103495112, -0.048177287, 0.0170602091, 0.0039662467, 0.0256386828, 0.0528938249, -0.0560419336, 0.0215146746, -0.0067070224, -0.0091195311, -0.0114645744, 0.0652604476, -0.0710384697, -0.0220769178, 0.0329433158, -0.0649343431, 0.014927065, 0.0089062909, 0.0041171797, -0.0514275543, 0.0341876596, -0.04058595, 0.0156896207, -0.031577915, 0.0177392922, 0.0082431352, 0.0106323771, 0.028449893, 0.0134608475, 0.0322574377, -0.0306122564, 0.0200983658, -0.0095154094, -0.0021002516, -0.0334848799, -0.0326299965, 0.0455165133, 0.0149237616, 0.018915467, 0.0185723603, 0.0148575343, -0.0410913043, -0.0264266822, -0.0572018847, 0.002611862, -0.0053834016, -0.0177240148, -0.0077676717, -0.0139716817, 0.008881405, -0.0088883713, -0.0178383216, -0.069336839, 0.0211903844, -0.0129428748, -0.0288663805, -0.0091672987, -0.0463326536, -0.0305192769, 0.0144030722, 0.0299269967, 0.01118627, -0.0011729129, -0.0067962497, -0.0225859731, 0.0020224168, 0.0070516532, 0.0060878592, 0.0100474954, 0.0004202472, -0.0146352891, 0.021988634, 0.0293307472, 0.0093919635, -0.0018135832, 0.0041042641, 0.0574137159, 0.0237219166, -0.0119484775, 0.021781126, 0.0195447057, -0.0332581885, -0.0082969368, -0.0117831985, -0.0035219137, 0.0401772298, 0.0192350764, 0.0337553471, -0.068748869, 0.0073110699, -0.0355138071, -0.033763051, -0.0120245973, -0.0194769204, -0.0356572866, 0.0223909914, -0.0315821469, -0.0495122671, 0.0208953246, -0.0782433823, -0.052468095, -0.0527832173, -0.0174771287, -0.0260729138, 0.0662589297, -0.0150372433, 0.0287464615, 0.0127635458, -0.0225559585, -0.0189368762, 0.0156006971, 0.0254350696, -0.0695930943, 0.0295267459, -0.0396921188, -0.003869616, -0.0052017407, -0.0308401659, -0.0183395911, -0.0215341244, -0.0310141332, -0.0134314541, -0.036134325, -0.0231266059, -0.0304448567, 0.0316239819, 0.0220194012, 0.059113346, -0.0181726459, 0.0172435958, -0.0108492952, 0.0473331697, 0.0293862186, 0.0162105374, -0.0447732173, -0.0259285476, 0.0563328415, -0.0059360918, 0.0135560362, -0.0165409297, -0.0389051847, -0.0013558457, 0.0240117777, 0.033778511, -0.0273743179, 0.0255285092, 0.0437599942, -0.0375949219, -0.0024450361, 0.1094618589, 0.0262268223, -0.004901845, 0.0076904227, 0.0493660234, 0.063196063, 0.0125156213, -0.0386569276, -0.0396362916, -0.0534383059, 0.0160022844, 0.0478168949, 0.0640866756, 0.0425638855, -0.0291001778, -0.0896692723, 0.0318898857, 0.0464595705, -0.0866645798, -0.0639013574, -0.0206717104, -0.0284443609, -0.0102724535, 0.0338004492, -0.0057254806, -0.0188548304, 0.029914353, 0.0289762933, 0.0105211185, -0.061676681, -0.0119815376, -0.0493020602, 0.1000245363, 0.0805923939, 0.0444139168, -0.0427389592, 0.0097239669, -0.0217637364, -0.0184325576, -0.0081287362, 0.0338332914, 0.0773962736, -0.0020602013, -0.0222504176, 0.0608503111, 0.0531757139, -0.0286034867, -0.0099330889, 0.0323691815, 0.0082496395, 0.0251576863, -0.0087086074, -0.0313802175, 0.0686841384, 0.0087024625, 0.0845048502, 0.0408483334, -0.0122238025, 0.0335676819, -0.0096716871, 0.0130450679, -0.1274635047, -0.0349643901, 0.0257899556, -0.0018548935, -0.0452958196, -0.0612475537, -0.0287440512, 0.0167362187, -0.0035658686, 0.0409524739, -0.0126145575, -0.0060451194, 0.0220874213, -0.053485658, 0.0643953681, -0.032688003, 0.0201253965, -0.0422254875, -0.0656296313, 0.0536626652, -0.0462068655, -0.0079055158, 0.0516428612, -0.0603751913, -0.0284218807, -0.0195489265, 0.0174134802, 0.0188396331, 0.0424196757, 0.010440764, -0.0125272712, 0.0073538837, 0.0334565789, -0.0148868933, 0.034722317, 0.0410701558, -0.0068348148, -0.0160143897, 0.021012703, -0.0612183511, 0.0462941714, -0.0207201913, 0.0497371331, 0.0412624925, -0.0527868941, -0.0039802608, -0.0136193093, -0.0064739804, -0.044194255, 0.0582994409, -0.0434044152, -0.011571873, -0.0276983082, 0.0114118103, -0.051755406, 0.0256281756, 0.0453754291, 0.0537125506, -0.0342528895, -0.0008876199, -0.0322889723, -0.0049649109, -0.0239136424, 0.0184508786, 0.0361284055, -0.0654638186, 0.0137639651, -0.0153014744, -0.0004451485, 0.0148078017, 0.0084087141, 0.009637122, 0.0037255099, -0.0104747666, -0.0047844341, -0.0229891483, -0.0103968233, 0.052224122, -0.0128699727, 0.0312175769, -0.0539450161, 0.0471686944, 0.0392596684, -0.0301950909, 0.0686666146, -0.0107797431, 0.0113036679, 0.0045275828, 0.0240833219, 0.0030481003, -0.037069574, 0.0152872484, -0.0166518837, -0.0006599453, 0.0070892563, 0.0591372214, -0.0227723904, 0.0294133592, -0.0102263819, 0.0008986529, -0.0098188929, -0.0152098304, -0.069975771, -0.0227915701, -0.0140825985, 0.0273854379, -0.0303692669, -0.0732144266, -0.0182989445, -0.0145983035, 0.0146673433, 0.0016455168, 0.031797532, 0.0119202277, -0.0149425194, 0.0320319235, 0.0291467421, -0.0352027118, -0.034350194, -0.0092686033, -0.0158675462, -4.593223972e-33, -0.0535937808, 0.0067043751, -0.033095289, -0.0070794169, -0.0277156048, -0.0012890901, -0.053573776, 0.0174724478, 0.0120615205, -0.0122482618, 0.013214387, 0.0066791773, 0.0209148098, 0.0551940911, -0.0125153018, 0.0012834705, 0.083028689, -0.0310111251, -0.0239343382, 0.033009652, -0.0064009279, -0.012271584, -0.0045450926, -0.0607176423, -0.0258298665, -0.0115197431, -0.0419557579, -0.0070494344, 0.0544540137, 0.0521555468, -0.0003005936, 0.0372041911, -0.0323653668, -0.0286989547, -0.0116400244, 0.0057604779, -0.0468449332, 0.008029256, 0.0218982454, 0.0328654051, 0.0222295895, -0.0219397657, 0.018123351, -0.028682733, -0.0216142163, -0.0278245192, 0.0552962758, -0.0387429409, 0.0146478144, -0.0467868932, -0.0480171032, 0.0019260969, -0.0580150597, -0.0483279787, 0.0422033817, 0.0410497859, 0.0160323046, 0.0239961073, -0.0212351382, 0.0584938079, 0.0364406928, 0.0232731979, 0.0715785921, 0.0351611078, -0.0289364737, 0.0543488935, 0.0014811285, -0.0457633995, -0.0424636751, 0.0395599753, 0.001141231, 0.032656081, 0.0403599143, 0.0457429886, 0.0297154058, -0.013591486, -0.0028150522, 0.0517461896, -0.0978463814, -0.0379748493, 0.0305524152, 0.0394245237, -0.0338981897, 0.0367714465, -0.0846577063, -0.0316836461, -0.0214445535, -0.0291169416, 0.0371883474, -0.0090515576, -0.019495992, -0.0081529785, 0.0313778035, -0.0127955507, 0.0060502281, -0.0178045407, -0.0592680313, 0.025120208, -0.031255763, 0.0118575692, 0.0044277841, -0.0159305613, 0.1233142018, 0.0302066188, 0.0431691445, -0.0126984669, 0.0170976333, 0.0551578179, -0.051857993, 0.0043798843, -0.0073790159, 0.0112923449, -0.0269434135, 0.018800851, 0.0016031045, 0.0344644673, -0.0587817915, 0.0219371505, -0.016595589, 0.0265923813, -0.0341064259, -0.0358937718, -0.0135256676, 0.0088479137, -0.0418854915, 0.0423551612, -0.0013776649, -0.0274749734, 0.0465185419, -0.0592769161, -0.0566245578, -0.0060396632, 2.111e-7, -0.0022195054, -0.0118092773, 0.023593327, -0.0041266708, 0.0263069328, 0.0410678573, -0.0543209724, 0.0256063566, 0.0002267508, -0.0264306627, 0.0436254889, 0.0079780156, 0.0902935266, 0.0203785151, -0.0782209486, -0.0279419664, -0.0726835728, 0.0163133889, -0.0418809168, -0.041526068, 0.0491286777, 0.0960620046, -0.0030667107, -0.0473104715, 0.006951639, -0.0620045997, 0.0381107703, -0.0335906856, 0.000302177, -0.0341309831, 0.0107370066, 0.0182370897, -0.0517755076, -0.0038352655, -0.0540760159, 0.0051142699, 0.095850274, 0.0405825898, 0.0006199328, -0.0193253495, -0.0518527329, 0.0592067353, -0.0030258037, -0.002036436, 0.0686170831, -0.0178699233, -0.0295842495, -0.016228741, -0.054513175, 0.0133207496, -0.0109459218, -0.046505738, -0.0443523005, 0.0044436925, 0.0414434522, 0.0207535196, -0.0259403419, -0.0285470504, -0.0388176739, 0.0005082809, -0.0343629979, -0.0260082986, -0.043419078, -0.0235617701, -0.0033988794, -0.0195242167, 0.015818065, 1.546935528e-34, 0.0349428728, -0.0590402819, 0.0188348703, -0.0284181368, 0.0265379697, 0.006546238, 0.026793858, -0.0207880102, -0.0051418701, -0.0446409658, -0.017954791 ]
http://arxiv.org/abs/2406.12141v1
http://arxiv.org/pdf/2406.12141v1
A dual task learning approach to fine-tune a multilingual semantic speech encoder for Spoken Language Understanding
2024-06-17T23:07:53
2024-06-17T23:07:53
Gaëlle Laperrière, Sahar Ghannay, Bassam Jabaian, Yannick Estève
cs.CL
cs.CL, cs.SD, eess.AS
Self-Supervised Learning is vastly used to efficiently represent speech for Spoken Language Understanding, gradually replacing conventional approaches. Meanwhile, textual SSL models are proposed to encode language-agnostic semantics. SAMU-XLSR framework employed this semantic information to enrich multilingual speech representations. A recent study investigated SAMU-XLSR in-domain semantic enrichment by specializing it on downstream transcriptions, leading to state-of-the-art results on a challenging SLU task. This study's interest lies in the loss of multilingual performances and lack of specific-semantics training induced by such specialization in close languages without any SLU implication. We also consider SAMU-XLSR's loss of initial cross-lingual abilities due to a separate SLU fine-tuning. Therefore, this paper proposes a dual task learning approach to improve SAMU-XLSR semantic enrichment while considering distant languages for multilingual and language portability experiments.
[ -0.03143242, -0.0243970249, 0.0085519711, 0.0481893346, -0.0097172121, 0.0278654099, 0.0377272852, -0.0555875003, -0.0482194386, -0.0205194764, -0.0698555708, 0.0077114492, 0.0242764708, -0.0010345161, 0.0326938219, -0.0078369118, 0.0704459697, -0.0489106141, -0.023675641, -0.0376015045, -0.0128913699, 0.0283131078, -0.0133244023, -0.0103301937, 0.0220344905, -0.0058683963, 0.0011596015, 0.0061043478, -0.0011920199, -0.0061666477, -0.0410456657, 0.0090741478, 0.0940041468, 0.0181437917, 0.0000022317, -0.056163691, -0.0241097119, -0.01087006, -0.0554598719, -0.0139585342, 0.0067586149, -0.0236751419, -0.0020909493, 0.0082096439, -0.004646406, -0.0343899094, 0.0467528589, 0.054441832, 0.0470148958, 0.0381008722, -0.0097403415, -0.0546464212, -0.0277472623, -0.0421219207, -0.0111626405, -0.0339279771, -0.0257099364, 0.0164208468, -0.0267289709, -0.054932557, -0.0242423452, 0.0655900165, 0.0213546474, 0.0051520881, -0.0159801897, -0.0037059684, -0.0042952914, -0.0182987321, 0.0034292154, 0.0169329904, -0.036501579, 0.0006524918, -0.035801053, 0.0025409609, -0.0157569181, -0.0183116421, -0.0547302291, -0.0083545744, 0.0065529086, 0.0053737354, 0.0411754176, 0.0313587599, 0.028262157, -0.0277177729, -0.0135883344, 0.090980716, 0.0018216004, -0.0306101628, 0.0130401049, -0.0024589931, 0.00423569, 0.0248423498, 0.0158602893, -0.0125260232, -0.0380599201, 0.0326574035, -0.0011364879, -0.0514864102, -0.0227148943, -0.0306699648, 0.0593217611, 0.0580397658, -0.0396399386, 0.0273202434, -0.032294631, 0.0462212786, 0.0285502151, 0.0301398393, -0.017607389, -0.0314570405, -0.0375927165, 0.0026425114, -0.0272277687, 0.0572561063, -0.0598151907, 0.0217586681, -0.0277672708, 0.0408778079, -0.0079189688, 0.0280028321, 0.0367682502, -0.0472601876, -0.0868182331, 0.0066866297, -0.0029296225, 0.0567719936, -0.0315686427, 0.0297193844, -0.0204986781, -0.0458099693, -0.0123784216, 0.0294941906, 0.0380483791, -0.0387076512, -0.0152240489, 0.0814247876, -0.0270187166, -0.007059162, -0.0669203326, -0.0115290741, -0.0221621711, -0.0459223352, 0.0015281739, -0.0401366055, 0.0480770841, -0.0054910523, -0.0063015968, -0.046718251, -0.0106649175, -0.0283734482, 0.0281677283, 0.0600812621, 0.0000982865, -0.0199373793, 0.0058513703, -0.0260011759, -0.0172032844, 0.1105084717, -0.020681873, 0.0125850504, 0.0179124065, -0.0525657162, -0.0644940287, 0.0417457521, 0.0020964199, 0.014971802, -0.0082236398, 0.0007657849, 0.0507793538, -0.0030221459, 0.0443843864, 0.0013177885, -0.0457706712, -0.0090943575, 0.0393204093, 0.0521212108, 0.0234513134, 0.0313448012, 0.0457155257, 0.0484551676, -0.0450735427, 0.0351454392, -0.0087164361, 0.0437035039, 0.0097800195, 0.0295451842, -0.00721657, 0.0378061421, -0.0372320898, -0.0317781307, 0.0185189452, -0.0414145254, 0.0091570588, 0.0431447849, 0.0622712523, 0.0326361693, -0.0402549542, 0.0681283921, 0.056214828, -0.0764501616, 0.054363206, -0.0121112047, 0.0012259743, 0.0550170504, -0.00247201, -0.0147991423, -0.039051652, -0.0577972271, -0.0340248346, 0.0669673234, -0.0226177219, -0.0189030319, 0.0857189894, -0.059972059, -0.024136357, -0.0507438183, -0.0246810988, 0.0664065853, -0.0877942368, -0.0129324608, 0.0213392451, -0.0423887707, 0.0131761255, 0.000467482, -0.0647101253, 0.0208477043, 0.0339925326, 0.030684337, 0.0548389927, 0.0330421254, -0.0240965839, -0.0006647002, 0.011009207, -0.0636408851, 0.0022616491, 0.0341287628, -0.0463854969, -0.0675689429, 0.0201141089, -0.0190668385, -0.0119307386, 0.0445887111, -0.0083921403, -0.0620048754, 0.033086706, -0.0336792022, 0.0167673212, -0.0749995187, -0.0088661909, -0.0133689018, 0.0317029655, -0.0098314304, 0.0150993168, 0.0340804309, -0.0155026335, 0.0031647705, -0.0018116283, 0.0421928242, -0.0692033693, -0.0016943885, 0.0270544607, -0.0192144364, 0.0114466902, 0.0330237634, -0.0146927796, 0.0085136378, -0.0199468993, -0.0831249878, -0.0193423275, -0.049770765, 0.0538262725, 0.0206670985, 0.065058805, -0.0024802701, -0.0474798121, -0.0367190093, -0.0236073229, -0.0123942001, 0.0085106725, -0.0021161879, 0.0149503574, 0.0174121391, 0.0030780749, 0.0022903143, 0.0277029052, 0.016546797, -0.0423415564, -0.0391998887, -0.0623431951, 0.0291870311, -0.0371401347, -0.0033751079, 0.0172066186, 0.000194024, -0.0293215811, 0.0219941437, 0.0187102258, 0.0256426409, 0.0012406071, -0.0034429217, 0.042660743, -0.0202380791, -0.0418461151, 0.0329626352, 0.0125204725, 0.0177228861, -0.0625779182, 0.0563354157, 0.010083681, 0.0557668991, 0.0217167828, 0.019034218, -0.0469105765, -0.0587604158, -0.012003744, -0.0813261643, -0.0145578841, 0.0027911968, -0.0090034222, 0.0204053912, -0.0104159657, 0.0243134536, 0.0500477143, -0.0476067439, -0.0524887443, -0.1119907051, -0.0301549695, -0.031101726, 0.044099737, -0.0757941082, 0.037456248, -0.0178483874, -0.0485598519, -0.0352826603, 0.0202103965, 0.0297276992, -0.0018849283, 0.0455840826, -0.0052580582, 0.0121921813, -0.0244443081, -0.0516553335, -0.0074339719, -0.0131652886, -0.0173549484, -0.0033831305, -0.005737721, 0.0308571272, -0.0224345829, 0.015658671, 0.011290947, 0.0351920687, -0.0099074235, 0.0210143942, -0.0350537635, -0.0102608083, 0.0311957262, 0.0135007584, -0.0146956546, -0.0360792801, 0.0290355068, -0.0195188355, 0.020602297, -0.0511278398, -0.0055945045, 0.0375783741, 0.0648806095, -0.0241979193, -0.0180917513, 0.0228304882, 0.0631992817, -0.0536559634, -0.0035705711, 0.136211887, -0.0192072708, 0.0200181995, -0.0133623602, -0.0738653019, -0.0009939264, 0.0298675187, 0.0209132023, -0.0380350463, -0.0442178585, -0.0024596683, -0.0076809712, 0.0337005183, 0.0386553183, -0.0082957195, -0.0648956895, 0.0359943733, 0.0236224607, -0.0850573927, -0.0247676075, -0.0497678369, -0.020479532, -0.0405777246, 0.094871074, -0.030417962, -0.0002082754, -0.0145968674, 0.023741968, -0.0095220935, -0.057674557, 0.0242931899, -0.0064173103, 0.0191073064, 0.0345997848, 0.0295467265, -0.0142949121, -0.0407483429, 0.029947184, -0.0009028743, 0.010195449, -0.0041973805, 0.0055981474, 0.0004587123, -0.0244574379, 0.0262465551, 0.0020932616, -0.0332774371, 0.0231085867, 0.000108468, 0.0652236268, -0.0448277779, 0.0217743162, 0.052966021, 0.0037224833, -0.0121324779, 0.0400428399, 0.0222118068, -0.0381361358, 0.0013289923, -0.0090676947, 0.0032105185, -0.040762376, 0.013865822, 0.0387633629, -0.0038067424, -0.0694658309, 0.0078343395, -0.0690850019, -0.0043138629, 0.0371266156, -0.0103601748, 0.0479454249, 0.0152853364, -0.0008184273, -0.0655842647, -0.0067498828, -0.0147178555, 0.0259564314, -0.0058819721, 0.0084493207, 0.0307840463, -0.0455993377, -0.0042040432, -0.0140303886, -0.0479374155, -0.0414395072, -0.0156210829, -0.0141745238, 0.0076198075, 0.073133871, -0.0438590981, -0.0138674071, 0.0448567197, 0.0004525614, -0.0793871656, 0.0043450859, 0.0579015538, -0.0117867626, -0.0100640757, 0.0515710413, -0.0416188203, 0.0309086163, -0.0024141564, 0.0152770597, 0.0160121415, -0.0220907182, 0.0199207291, 0.0377550051, 0.0547117665, 0.0057590897, 0.0118900742, -0.0403462648, 0.0436386727, -0.0266802162, 0.0232674684, -0.0269411895, -0.0276788045, 0.0080671934, -0.0063095042, 0.0362399742, 0.0611635447, -0.0070627187, -0.015020988, -0.0363146141, 0.0476640686, 0.0077505093, 0.0213774145, -0.0332763158, 0.0276253372, -0.0312153548, 0.0011040487, 0.0444579087, 0.0137297064, -0.0132609224, 0.044739183, -0.0175759774, 0.0554207563, 0.0035592588, 0.0254793037, -0.0172841642, -0.0426323377, 0.002257366, -0.0374244601, 0.0427058525, -0.001052069, 0.0791469514, 0.0246921983, 0.0108020669, -0.0351489745, 0.0273443721, -0.0296193641, 0.0032428559, 0.0280491319, -0.0291758273, -0.0279923845, -0.0050873412, 0.0564651377, -0.0306546148, 0.043088384, -0.0202971268, 0.0511991866, -0.0542967804, -0.064057216, -0.0120791476, 0.0259347055, -0.0267129503, -0.0125093823, -0.0139951315, -0.0764255226, 0.0100887027, -0.0226966124, -0.0109596057, 0.0007534066, 0.0435718521, 0.0646758303, -0.0458952039, 0.0246092137, -0.0083319182, -0.058999937, 0.0359539278, 0.006419044, 0.0279278979, -6.684418504e-33, -0.0213020779, 0.0559356064, 0.0259038042, 0.0188762248, 0.0142822703, -0.0063767838, -0.0450121649, -0.0128693227, -0.0170386862, 0.0019045523, 0.0173720829, -0.0099555477, 0.0324765593, 0.0407835916, -0.0081736334, -0.0230360422, 0.0866480693, 0.0121304002, 0.0008698562, 0.0215467662, 0.091643028, 0.041070886, 0.0865332559, -0.0696994439, -0.0018728673, 0.0391118601, 0.0450847596, -0.0027743282, 0.0643814951, 0.021964645, 0.0156085193, 0.0592345484, 0.0073709874, -0.0909137875, -0.057927236, 0.0019280325, -0.0937644839, -0.0388697051, 0.0425326712, 0.0304632913, -0.0362667255, -0.0235113986, 0.0200639591, 0.008180866, -0.0008896741, -0.0460479856, 0.0313207619, 0.0017396638, -0.0299224295, -0.0657221302, -0.0664383098, 0.0189119801, -0.0187555514, -0.00995869, 0.111433439, 0.0473247208, -0.0210761894, -0.0355093479, 0.0162954461, 0.0276008397, -0.0957606658, 0.0422362685, 0.0795829222, 0.0063283513, -0.0283179507, 0.0158497952, 0.0051284321, 0.0123883113, 0.0540283918, -0.009384051, 0.027353514, -0.0039752396, -0.0134423217, 0.0292185862, -0.0129880952, -0.0414169915, -0.0715689287, -0.008133892, 0.0544403158, 0.0204290207, 0.0294620283, 0.0447873622, 0.0147404727, -0.0314543322, -0.0699862391, 0.0316518061, -0.0099941427, -0.0298146382, 0.0156172318, -0.0234002285, 0.0116801606, 0.0431286097, 0.0645079911, 0.001125544, 0.0179175381, 0.0039975275, 0.0179842152, -0.0466795564, 0.0041490127, 0.037129011, -0.0155749274, -0.0527065508, 0.019942116, 0.0093929516, 0.0085216127, -0.0156770665, 0.035605792, 0.018364368, -0.0273964815, 0.0030916149, -0.0346033201, -0.0043196292, -0.0052716364, 0.0217370354, 0.0387821868, 0.0019071638, -0.0280364268, 0.0767073631, -0.0076885466, -0.0072928644, -0.0150000304, -0.0185403153, 0.0121118724, 0.0283873733, -0.0292138103, -0.0073182182, -0.0140147349, -0.0405333415, 0.0285673346, -0.0276575945, -0.012364232, 0.0007520877, 3.055e-7, -0.0128789926, 0.0219355095, 0.0175003726, -0.0160612408, 0.0247023311, 0.024239881, -0.0188919064, 0.0128172124, -0.009229349, -0.01398711, -0.0249224268, -0.000689333, 0.0550430343, 0.0164422821, -0.0850914046, -0.0168098249, -0.0112948576, 0.0460088998, -0.0101576569, 0.0437303893, 0.0191241372, 0.0930533335, -0.0396366715, 0.0000548052, 0.0092790257, 0.0008300795, 0.0494529977, -0.0058330996, -0.0290429164, 0.011386524, -0.0443282425, 0.0210453812, 0.0174661726, 0.0473327786, -0.0361646563, 0.0550947227, 0.0460660271, 0.0333541371, -0.010584617, -0.0416412465, 0.0102294246, 0.026634803, -0.0167957749, 0.0097410223, 0.0581113957, -0.0580951944, -0.0774452388, 0.0075988867, -0.0503923595, 0.0527124405, 0.0131469676, 0.0049182782, -0.0115283625, 0.0194163229, 0.0329981484, -0.0151118198, -0.0381530225, -0.0391215719, 0.0040437104, 0.04724719, -0.0456257872, -0.014925506, -0.0085412208, -0.0058576078, 0.049784027, -0.0449187942, 0.0054291887, 2.400263037e-34, 0.0388642885, 0.0030042394, 0.0142532792, -0.0197922345, 0.0045498749, -0.0546854623, -0.0500332564, 0.0182085447, 0.0193945933, -0.0072297533, -0.0187346041 ]
http://arxiv.org/abs/2406.12138v1
http://arxiv.org/pdf/2406.12138v1
Bias in Text Embedding Models
2024-06-17T22:58:36
2024-06-17T22:58:36
Vasyl Rakivnenko, Nestor Maslej, Jessica Cervi, Volodymyr Zhukov
cs.AI
cs.AI, cs.CL
Text embedding is becoming an increasingly popular AI methodology, especially among businesses, yet the potential of text embedding models to be biased is not well understood. This paper examines the degree to which a selection of popular text embedding models are biased, particularly along gendered dimensions. More specifically, this paper studies the degree to which these models associate a list of given professions with gendered terms. The analysis reveals that text embedding models are prone to gendered biases but in varying ways. Although there are certain inter-model commonalities, for instance, greater association of professions like nurse, homemaker, and socialite with female identifiers, and greater association of professions like CEO, manager, and boss with male identifiers, not all models make the same gendered associations for each occupation. Furthermore, the magnitude and directionality of bias can also vary on a model-by-model basis and depend on the particular words models are prompted with. This paper demonstrates that gender bias afflicts text embedding models and suggests that businesses using this technology need to be mindful of the specific dimensions of this problem.
[ 0.0518072285, 0.0443692878, -0.0343181118, 0.0154280234, 0.0106570432, 0.0147731919, 0.05824662, -0.0055863466, 0.0469027236, -0.0505596548, 0.0087580439, -0.0007530235, 0.0360442102, 0.0324290395, 0.0077902698, -0.0100834509, 0.0057816221, 0.0612731725, 0.0447394773, -0.0122182248, 0.0187765229, 0.0518771559, 0.0326188058, 0.076778397, 0.0133318836, -0.0426102877, 0.074028261, -0.0167599656, 0.0206212625, 0.0301529095, 0.0213377625, 0.0415603667, 0.0169651248, 0.0104353558, 0.0000016306, -0.0491211116, 0.0032685976, 0.0172450896, -0.0348088033, -0.0364329442, 0.0408627354, 0.0102452058, 0.0011440678, 0.0433563255, -0.0197743904, 0.0130156027, 0.0335888341, 0.0590313375, 0.0115980022, -0.004667222, -0.0119316857, 0.0035430498, -0.0738233253, -0.016861707, -0.0420898497, -0.0142413341, 0.0523259975, -0.0476535633, -0.0330352411, 0.0340925232, -0.0003207556, 0.0087905675, -0.0291041322, 0.0071109897, 0.0564586408, 0.0691462681, 0.0120332269, -0.0433517769, 0.029705435, 0.0365838818, 0.0245037675, 0.0068640122, 0.0031088835, -0.0089661591, 0.0491753556, 0.0430005603, -0.0262180958, 0.0274002776, -0.0167007465, -0.004786633, 0.0026107633, -0.0011841316, 0.0145520959, 0.0403338112, -0.0013354075, 0.0217598416, -0.0092118764, -0.0639449134, 0.0309234187, -0.0014491976, 0.0379833914, -0.0560178608, 0.0306303985, -0.0337247513, 0.0097740944, 0.0219233166, -0.0211351085, 0.0043647056, 0.0164975058, -0.0670101792, -0.0204735119, 0.0224139187, 0.0318921432, 0.0251263976, -0.0334401317, 0.0086874282, 0.0085804313, 0.0023552843, -0.0165054817, -0.0278916266, -0.0477925129, -0.0396276861, 0.0006053234, 0.0036262271, 0.0094042309, -0.019070683, -0.0266420357, 0.0252337735, -0.067466028, 0.0423828289, 0.0261659287, 0.0580292158, 0.0105075333, -0.0031180477, -0.0249822624, -0.0221732482, -0.0529944599, 0.0340503976, -0.0305599254, 0.0046229772, 0.0295481719, 0.0022037863, 0.0295649953, -0.0243867971, 0.0051200287, -0.0058872565, 0.0003238114, -0.0391058214, -0.026152866, -0.0254650116, -0.0227232631, -0.0367617309, -0.0043003275, -0.0223379377, 0.0268432256, 0.0478511117, 0.0016472825, -0.0441276953, 0.0079927612, 0.0411952697, -0.0972812846, 0.0579373799, 0.0554962866, 0.0070444983, 0.0909608901, 0.020297192, -0.0206489991, 0.0719660521, 0.0422794409, 0.0529285222, 0.0189012196, 0.0092073213, -0.0020832021, 0.0235313158, -0.0107266856, 0.002103915, -0.0155430092, 0.0445399135, -0.0286731143, 0.0461869948, 0.0427861921, 0.0152799515, -0.0031308439, 0.007734919, 0.0363219194, 0.1018296778, 0.0524652563, 0.0430648327, 0.0307555031, 0.0075511569, -0.0252733957, -0.0037065451, -0.0296286009, -0.0013130679, -0.0179040376, -0.0379270613, -0.0142822471, 0.0173570625, -0.0260968972, -0.0312955566, -0.013577614, 0.0063946508, 0.0349995531, 0.0056860857, 0.0097291283, 0.0006384368, -0.0261814781, -0.0026948755, 0.0014873571, -0.0499145128, -0.0135340076, -0.013765635, 0.0015417567, 0.111315161, 0.0238541886, -0.0229295697, -0.0040571978, -0.0355787538, -0.0361376926, 0.0492390543, 0.0364049263, -0.0134198889, -0.0292132031, -0.0512663536, -0.0498245619, 0.0410860889, 0.0223977268, 0.0434737168, 0.0024468941, 0.0485012867, 0.0283392705, -0.0203023273, -0.0275258664, 0.0308441259, -0.035006281, -0.0385886431, 0.0301101878, 0.0368665494, -0.0328932852, 0.0521055087, -0.0198741704, 0.0069799055, -0.0005914976, -0.0163188763, -0.0447789319, -0.0013831812, -0.0073199063, 0.0314924158, -0.0212727375, -0.032966394, -0.064700298, 0.0080107534, 0.0098539367, 0.0004477356, 0.0452238694, -0.003536308, 0.0089068739, -0.0046054288, -0.0106080221, -0.0391899012, 0.0112760793, -0.0211371016, 0.0424680784, -0.0257103182, -0.0180794075, 0.0116418172, -0.0207300838, -0.0128219603, -0.0782983154, -0.0269018617, -0.002612991, 0.0302561261, 0.0239011664, 0.0289696567, -0.0534702577, -0.0016933412, -0.0580964237, -0.0995295718, -0.0207233578, 0.0082717948, -0.0265549161, -0.0295158923, -0.0010502925, -0.0222136881, -0.0023348131, -0.0193676371, -0.0122038601, -0.0100147054, 0.069931075, 0.0297655966, -0.0330928601, 0.0106048938, -0.0296337809, -0.0159590952, -0.057233002, 0.0612766221, 0.0565739833, -0.0185473245, -0.0723508224, -0.0066497857, -0.0428834818, -0.0084373942, -0.0146326134, 0.0080991285, 0.0144969113, 0.0409514271, 0.0517140739, 0.0795054063, 0.0168070793, 0.0351440832, 0.0240909811, 0.0166340377, -0.0294623077, -0.0196312927, 0.0260329489, 0.0627202392, 0.0090910615, -0.0876283497, -0.0115053561, -0.0023315912, -0.0037040543, -0.0176723152, -0.0631943941, 0.0719541609, -0.0436492525, -0.021444913, -0.038818147, -0.0305915177, 0.0022500854, 0.0308945775, 0.0047961641, -0.0156749599, -0.0037958149, 0.012414231, 0.0139800617, -0.0085562216, -0.056293238, -0.0527251437, 0.0335877053, -0.0424481481, 0.0343512893, 0.0191556774, -0.0334542468, -0.0726937503, -0.0119386753, -0.0114882626, -0.045588322, 0.0213308241, 0.0483423956, 0.0008809191, 0.0264372509, -0.0363462046, -0.0555423796, -0.0697333738, -0.0239986777, 0.0249642916, 0.0399427712, -0.0211777929, -0.044241827, 0.005957813, -0.0118324226, -0.0378085934, 0.0081851436, -0.0203749612, -0.0175632779, 0.0109329084, 0.060275998, 0.0029932125, -0.0128293615, 0.0094178114, -0.0200751498, -0.0147558451, -0.0281966515, -0.001926347, -0.0308574364, -0.0184555333, 0.0152664389, -0.0797256455, -0.014729715, -0.0237825047, -0.0250290837, -0.0014863884, 0.0417727269, 0.0985065177, 0.0276401769, -0.0585871711, -0.001844395, 0.0182639956, -0.0054452657, 0.0331558734, 0.0333045572, -0.0405615196, 0.0233009961, 0.0326668322, -0.0019013707, 0.0013163597, -0.0265088174, -0.036693424, -0.1206259653, 0.0103707332, -0.0175334662, 0.0008134738, -0.0378196239, -0.0324757434, -0.0189708751, -0.0515248999, 0.0268232003, -0.0239167102, -0.0338228308, 0.0043221442, 0.0195281673, -0.0329315849, -0.0564864539, 0.0280160923, -0.0748406351, 0.0371301584, 0.0519691817, 0.0679869577, -0.0431309044, -0.0146500645, -0.0305168368, 0.017154118, 0.0122558139, 0.0210733209, 0.0717921779, -0.0837460905, 0.0164164416, -0.029620681, -0.0171064008, 0.0149429599, 0.0371608213, -0.0033579005, 0.0212252364, 0.0216657389, -0.0288763382, -0.0573457778, -0.0142937917, -0.0050909487, 0.096697934, -0.0264960025, -0.0746088848, -0.0343852788, -0.0511630289, 0.0414199047, 0.0767927244, -0.0246383753, -0.0160164125, -0.0042109452, -0.0161766466, -0.0216827244, -0.080861412, 0.0460265763, 0.0132451421, 0.020002244, -0.0240221675, 0.0125204483, -0.0071688802, -0.0350130945, -0.0250370447, -0.0136820683, 0.0474682115, 0.0192873832, 0.0000830651, -0.0234809816, -0.0530627072, -0.0433502756, -0.0347207338, -0.0409117974, -0.0166661777, 0.0030423079, -0.0107901739, 0.0190868303, 0.0383592173, -0.0155279022, -0.0681434721, 0.0691284984, 0.0337060392, -0.0434856527, 0.0201752707, 0.0247340836, 0.0429079346, -0.0029075339, 0.0268843919, -0.0584953502, 0.0183082987, -0.0074665518, -0.0138267446, -0.0143769402, -0.0261261407, -0.0198953114, -0.0166139659, -0.0339686126, 0.0001756682, 0.027244024, -0.0619873032, -0.0146479774, -0.0090826908, -0.0476844981, -0.0041684532, -0.0345799103, 0.0529048406, 0.0147632584, -0.0084009869, -0.0155894654, -0.0278969593, 0.0286128782, -0.0360815115, -0.0006836416, -0.0080342889, 0.0479641557, -0.0062296167, 0.0037492237, -0.014796068, -0.0145372394, -0.0155473575, 0.0366654657, 0.0200982001, 0.0052894368, -0.0062074293, 0.0073675853, -0.0554682091, 0.0322914422, -0.0426161997, -0.0321102925, 0.0057216701, 0.0076627922, -0.0046722568, -0.0573033877, 0.0205528382, -0.0141551327, 0.007743618, 0.0244578496, -0.0402441323, 0.0141368331, 0.0248436686, 0.0186376311, 0.0073171514, -0.008390923, -0.0060640052, 0.0519662946, 0.0676681325, 0.0420478955, -0.0564086996, -0.0774161965, -0.046605777, -0.0151720857, 0.0806098804, 0.031813249, -0.0240338799, -0.0190544687, -0.1003751978, -0.0406417511, 0.0408741534, -0.0707395226, -0.0125348363, -0.0133234924, -0.0145723633, 0.0425963737, -0.0033206258, -0.0108089987, -0.0280452035, -0.0134456139, -0.0276905149, -0.0295318756, -0.0494982377, -5.470115574e-33, -0.0023837804, -0.0598072223, 0.0167472996, -0.0430540591, 0.0043496205, 0.0379343219, 0.0452531278, -0.011286635, 0.0021018111, 0.0043636374, -0.0261241458, 0.0209636539, 0.0031649244, -0.0211028364, 0.0413572863, -0.0152963409, 0.0634660572, 0.0108884992, -0.0035642353, -0.0189514663, -0.0144538255, 0.0392329805, 0.0182362683, -0.0905413255, 0.0929843336, 0.0057775145, -0.0173893571, -0.0217735972, 0.0240091179, 0.0472728014, -0.0338349976, 0.0296804011, 0.0253501944, -0.0260065049, 0.0181673914, 0.1017253026, -0.0604799427, -0.0494397655, 0.0071274932, 0.0342330486, 0.017749792, 0.0120359082, 0.013910234, 0.0275881905, -0.0331112966, -0.0170274265, 0.0949073955, 0.0110078827, 0.0272936821, 0.0510808937, -0.038810987, 0.0185092408, -0.0326061808, 0.0223714877, 0.0404193029, 0.0182361696, 0.0342450924, 0.0383387469, -0.09064091, -0.0051178588, -0.0181270409, -0.0498235188, 0.0381220654, 0.0130829634, 0.0091134235, 0.0396720059, 0.0467797592, 0.0671117976, -0.0467901416, -0.0782194063, 0.01455265, 0.0100600319, 0.001328573, 0.0280945878, 0.0152975637, 0.009661776, -0.007187861, -0.0028978379, 0.0210470725, -0.0224345829, 0.0496405736, -0.0021752254, -0.1001918837, -0.0583721362, -0.0152343847, -0.0441811308, -0.0413024649, -0.0119842971, 0.0136598675, 0.0295240153, -0.0328751877, 0.0408250019, -0.0241669808, -0.0678495988, -0.0443402417, 0.0332990475, -0.019610459, -0.0382798389, 0.045798704, -0.0218721461, -0.0851235017, 0.0088078035, 0.0048983805, 0.0290613603, 0.0091323629, 0.0310025811, 0.0016707553, -0.0147651453, -0.0744346157, -0.0374725908, 0.0176643692, -0.0458944477, -0.0081580728, -0.0006840141, 0.0422573499, 0.0135500878, 0.004825897, -0.0011556232, 0.0971468538, 0.0416374952, 0.0034847602, -0.0369401127, -0.0041347998, -0.0150244236, -0.0022965767, -0.0060457089, 0.0172286928, 0.0412053652, 0.0462921821, -0.0486573838, -0.0012874528, -0.0530242175, 2.243e-7, 0.0407114401, 0.0847903565, -0.0104757426, 0.0262442231, 0.0162960365, 0.0410517752, 0.0649812073, 0.0444153324, 0.0369858816, 0.0433049574, 0.0151001383, 0.010018154, -0.0077217561, 0.0351523794, -0.042031128, 0.0071674953, -0.0730199367, 0.0349208042, -0.0245488398, 0.013072555, 0.0189578515, 0.0338469893, 0.0638447404, 0.0039909836, -0.0325531848, -0.0359471552, 0.04980921, -0.0133397542, 0.0548617877, 0.0071571846, -0.0144690787, 0.0322444402, -0.000437824, 0.0309034344, 0.0024631936, 0.0382516719, 0.0724850297, -0.0091096936, -0.0485565215, 0.0579804331, -0.0136424247, -0.0406109728, -0.0045759389, -0.0548127182, 0.0709124729, -0.0156462993, -0.0384742916, -0.0508112796, -0.0206584353, 0.012799223, 0.0805279016, 0.0093179001, -0.0169304349, -0.0066878372, 0.0078652333, 0.0087801367, -0.0187524538, -0.0567316934, 0.0291392691, -0.0067996788, -0.0294919722, -0.0367870033, -0.0121686216, 0.0604960397, 0.0698206127, -0.0536158532, 0.0292051472, 1.755179403e-34, -0.0067754141, 0.0379531607, 0.0017435517, 0.0170206763, 0.0191369094, 0.0027841197, -0.0002816281, 0.0073254672, 0.0537969992, -0.0333545245, 0.0096397866 ]
http://arxiv.org/abs/2406.12131v1
http://arxiv.org/pdf/2406.12131v1
Gram2Vec: An Interpretable Document Vectorizer
2024-06-17T22:42:14
2024-06-17T22:42:14
Peter Zeng, Eric Sclafani, Owen Rambow
cs.CL
cs.CL
We present Gram2Vec, a grammatical style embedding algorithm that embeds documents into a higher dimensional space by extracting the normalized relative frequencies of grammatical features present in the text. Compared to neural approaches, Gram2Vec offers inherent interpretability based on how the feature vectors are generated. In our demo, we present a way to visualize a mapping of authors to documents based on their Gram2Vec vectors and highlight the ability to drop or add features to view which authors make certain linguistic choices. Next, we use authorship attribution as an application to show how Gram2Vec can explain why a document is attributed to a certain author, using cosine similarities between the Gram2Vec feature vectors to calculate the distances between candidate documents and a query document.
[ 0.0122524612, 0.0755408406, -0.0119370138, 0.051698111, -0.0120513802, 0.0337655693, 0.0125774825, 0.0163744409, -0.0249207541, -0.0054995711, 0.0159752332, 0.0239533931, 0.0043295226, 0.0113624828, 0.0345520377, -0.0236902237, -0.0174305774, 0.0138488924, 0.0088362684, 0.0153552331, 0.0235601068, 0.0297270529, 0.0204769857, 0.0671959296, -0.0260133762, -0.0534294546, -0.0078155082, 0.0034356916, 0.0231253952, 0.0377954021, -0.00952248, 0.0215697251, 0.0358624682, 0.0487064049, 0.0000019022, 0.0237963218, 0.012695305, -0.0086274007, -0.0133728525, 0.0261552725, 0.0502722599, 0.0112198573, -0.0070070163, -0.0229375307, -0.0308682434, -0.0307509974, 0.0006397319, 0.0660099015, 0.0437359102, 0.0789561495, -0.0204591472, -0.0911017656, 0.0398220681, 0.0014108192, 0.0222344454, 0.0116987852, -0.0124787968, -0.0283263717, -0.0193814822, 0.053169813, -0.0232934672, 0.031880945, 0.0018133909, -0.0750615001, 0.0479879342, 0.009014939, 0.013233358, 0.0125838658, 0.0541217439, 0.0107573895, 0.0158370771, -0.0318225659, 0.0230119266, 0.0124274306, 0.0052903974, 0.0591758899, -0.0491289459, -0.0362878852, -0.0080086095, 0.0196044557, 0.0835430399, -0.0139250755, 0.0101006711, 0.0079458505, 0.0349589474, -0.0057864846, -0.0040257755, 0.0043313019, -0.036831677, 0.0124605745, -0.0022956657, -0.019013226, 0.0714672059, 0.0001154439, 0.0130401757, 0.0171583928, -0.0243198574, -0.0710371435, 0.0021193083, -0.0836894885, 0.0746893212, -0.0455014259, 0.0062858392, 0.035213165, -0.0200589094, 0.0149621591, -0.0383639261, -0.0179794766, -0.0284747835, -0.0399983637, -0.0787822977, -0.0440050811, -0.0222760811, -0.0265245177, 0.0173239484, -0.0193345547, -0.022023771, -0.0122366305, -0.0027091021, 0.0120599773, -0.0019695356, 0.0348250084, -0.0354227014, -0.0014909403, 0.0106227221, -0.0009330537, -0.059193708, 0.0168324169, -0.026875725, 0.0216636118, -0.0134098884, 0.0343874358, 0.0512899011, -0.0239257272, -0.0251618903, -0.0272809435, 0.0285090022, -0.0329255611, 0.0118755884, -0.0451256, 0.0184480119, 0.0080979234, -0.0239200536, -0.0328508131, 0.006687202, -0.0052624317, -0.0028856194, -0.0548938699, -0.0430098511, 0.0132974023, -0.0526263006, 0.0341706052, 0.0356408954, -0.0226597805, 0.0323357843, -0.0033387551, 0.0283430666, -0.0063359593, 0.054549627, 0.0179017782, 0.020581888, -0.0180079248, 0.0262344107, -0.0288066436, 0.000542165, -0.0024338716, 0.0134837953, -0.0268821288, 0.004780137, 0.0468747318, 0.0292459186, 0.0218349677, -0.011510306, -0.0524697565, 0.0350102335, 0.0512395725, 0.0727147385, 0.0215171333, 0.078002274, 0.0191528518, 0.0116399266, 0.0022335933, -0.0054770168, 0.0246701837, -0.0271261651, -0.043792367, -0.0500288159, -0.0117617631, -0.0162545126, -0.0321270935, 0.029770799, 0.0023983847, -0.0034666713, -0.0176722184, 0.0314612165, 0.0026811457, 0.000768963, -0.0039826916, 0.0031287419, -0.0732239112, -0.0011167608, 0.0023496307, 0.0523397587, 0.0346999653, 0.0594621971, -0.0234118514, 0.03845869, -0.0356146023, 0.0192390475, 0.0108740088, 0.0042473702, -0.0017591824, 0.039612487, -0.0415443853, -0.0170005485, -0.0327701084, 0.0288810804, 0.0308786109, -0.0563043319, 0.0251650158, 0.0175754856, -0.0511447862, -0.0124005871, 0.0492876805, -0.013575945, -0.0282985214, 0.0289102476, 0.0031393541, 0.010181495, 0.0481520668, 0.0059096063, -0.0147849284, 0.0143471807, -0.0616789758, -0.0095368885, 0.0416948907, -0.0044177715, -0.0303444639, -0.0190531481, -0.0605228208, -0.0145889502, -0.0015385618, -0.0325358063, -0.0492012836, 0.0573436543, -0.0543345138, 0.0189275611, -0.0384998061, -0.0330632627, -0.0154599492, 0.015678525, -0.0402975492, 0.0575293563, 0.0265585687, 0.02674428, -0.0129667064, -0.0155486194, 0.0308919493, 0.0421273299, 0.0038702346, -0.031508904, 0.0292492751, -0.0142768966, 0.0004771037, -0.0326743647, -0.0000272464, -0.0622545928, -0.0679416284, -0.0171064362, -0.0249706563, 0.0229709782, 0.0114580179, -0.0220946874, 0.0324522294, -0.0077291904, -0.0448553637, 0.016721582, -0.0343683437, -0.036806576, 0.0574880578, -0.0373582207, -0.0118587893, -0.0481203981, -0.0180694815, -0.031741064, 0.068955414, 0.0463753529, 0.0192811769, -0.0450064577, -0.0210845545, 0.0021021555, -0.0258747973, -0.0118448343, -0.0330166258, 0.0081505021, -0.04175229, -0.0326354206, 0.0747820809, 0.0029065521, 0.0719562024, 0.003399106, 0.0048254249, -0.0582104884, -0.0178364646, -0.0032085266, 0.0818401575, -0.0310583878, -0.0445475988, 0.0284638647, 0.0691278428, 0.009433982, -0.0202460848, -0.0245371126, 0.0558019504, 0.0188314188, -0.0067752548, 0.0496089272, -0.0161582362, 0.0024159888, -0.0092464406, 0.0153824007, -0.0275752377, 0.0561616272, -0.0237460826, -0.0253567826, -0.0376222581, -0.0376746953, -0.0617481582, 0.0565643497, 0.0283846371, 0.0043914551, -0.0054200594, -0.0424753577, 0.0176874138, 0.0236168727, 0.0811719596, 0.0126248337, 0.019022923, -0.0028720147, -0.0046049347, 0.0128832357, -0.0131545691, -0.0151376836, -0.0802109614, -0.0135695767, -0.0035099979, 0.0273569766, -0.0501006581, -0.033630278, -0.0614634119, 0.0215034019, -0.0056194863, -0.0294437706, -0.0373553522, -0.0217874963, 0.0426879637, 0.0367282443, 0.0415817164, -0.0369919091, 0.0150797665, -0.0186972618, 0.0083541553, -0.0673054308, 0.0205217283, -0.0485140868, 0.0243431758, -0.0051205307, -0.0300110281, -0.065126434, -0.0396808907, 0.0539289676, -0.0538770519, -0.0118624903, 0.1042845398, 0.039181713, -0.0620129891, -0.0015705532, -0.0526353605, 0.0016451448, -0.002440617, 0.0375722721, -0.0182205904, -0.0275664143, -0.0152663514, 0.0030058499, 0.0081772804, -0.0219809599, 0.0118376939, -0.0194301605, 0.0441669226, -0.0184719395, 0.0007580059, -0.0074864849, -0.0731224865, -0.0271511786, -0.0246202424, -0.0609390698, -0.0148070883, 0.0124187712, 0.0288898405, -0.0074230968, -0.0242017731, -0.0106956698, -0.0114457905, -0.0447481424, 0.0161190908, 0.0533048064, 0.0984841958, -0.0079480801, -0.0466713198, -0.0752752498, -0.0377290584, 0.0167551804, -0.0201573018, 0.0937283635, 0.0179277398, 0.0039598746, -0.0799419582, 0.057685703, -0.0176684614, 0.0144840069, 0.0282597393, 0.0744802356, -0.0362287462, -0.0149902394, -0.0448369607, 0.0036678468, 0.0213266499, 0.0482361466, 0.0742913336, -0.0479279049, -0.0584289022, -0.0822220072, 0.0484736115, -0.0340942293, -0.0260391925, -0.0077502886, 0.0174531545, -0.0299378429, -0.0590514392, -0.0538513437, -0.0492733642, 0.0191456024, 0.0371120088, 0.030297989, 0.0025625215, -0.0736523569, -0.0276377443, -0.0000292393, 0.0132987062, 0.0334580243, 0.0286145471, -0.001532795, 0.0441549607, 0.0048457733, 0.0027901109, 0.0114579303, -0.0168852974, -0.0184044484, 0.0161078982, 0.0018269952, 0.0029939816, 0.0378820784, -0.0322453938, -0.1141094416, 0.0369816236, 0.0254167877, -0.032128416, -0.0059142723, 0.0444648005, -0.0269367322, -0.0111665539, 0.0509579256, -0.0100282198, 0.0159071907, 0.0058417134, -0.031725768, -0.0444739349, 0.0213433299, -0.0138682714, -0.0308342129, 0.0392920822, 0.0036656323, 0.0445125625, -0.0367469676, -0.0213387329, -0.0603180043, 0.00068205, -0.0465040132, 0.0105237952, 0.0304575413, -0.0462807044, -0.0361422561, 0.0223882366, -0.0192425065, 0.04103221, -0.0436128639, 0.0779344141, 0.0339586362, 0.035723675, -0.0422785319, 0.0323005542, 0.0088633159, 0.0054823896, -0.0157155339, 0.0579875223, -0.0005634822, 0.0360952914, 0.0239694621, 0.0275339205, -0.0206147432, 0.0122160157, -0.1193273589, 0.026027048, 0.0552148111, -0.0397167206, 0.0280439332, -0.0444003902, 0.0794381797, -0.0155758904, 0.0138674844, 0.0151212439, 0.0768528059, 0.0329889767, -0.0075591533, 0.0099479547, 0.0014984621, -0.0185488854, -0.0265644714, 0.0501699932, -0.0250930917, -0.0128435763, -0.0008520248, -0.0249401312, -0.0161455926, -0.0077009816, 0.0519870222, 0.027232375, 0.0196889304, 0.0072610481, -0.0245330501, -0.0119536491, 0.0349994525, -0.0353310145, -0.0145989284, -0.0166829266, 0.0072752624, 0.0388634056, -0.0096043162, -0.0167529769, -0.0662897453, 0.0522290505, -0.0640973151, -0.0776632279, -0.0004524241, -5.831080135e-33, -0.0153445126, -0.0415464379, -0.0520620532, 0.0665338933, 0.0005216349, 0.0026512847, -0.0516161434, -0.012469206, -0.0029136848, 0.0642482564, -0.0399753116, 0.0389613882, -0.0080104647, 0.0293373577, 0.0218780469, 0.0191073529, 0.0469734967, 0.0232005585, 0.0010491707, 0.0350994244, 0.0727834329, 0.0287052058, 0.0630848855, -0.1091973931, 0.0475018434, -0.000630842, 0.004438539, -0.0158153828, -0.0055457158, 0.0336883962, 0.0040918998, 0.03749042, -0.0091234408, -0.0324254856, -0.0262856334, 0.0106875254, -0.0779388174, -0.0729315132, -0.0098733474, 0.0397100113, 0.0006044109, -0.0497659892, 0.0287529454, -0.0035229039, 0.0243826266, -0.0272375457, 0.1004545018, 0.0177394077, -0.0326274224, -0.0358983241, -0.0214571506, 0.0324549861, -0.0577830784, 0.0066047772, 0.0438927449, 0.0083970986, 0.0229985639, -0.0219569895, -0.0783055201, -0.0455359332, -0.0552369952, 0.026653111, -0.0198735278, -0.0080830697, -0.0141047947, 0.0573426336, 0.0382438526, -0.0158102773, -0.0578953326, 0.0758510083, 0.030231772, 0.0190664157, 0.0634205416, 0.0596344732, 0.0234825239, -0.0050647059, -0.0407336019, 0.0402711183, 0.0202600192, 0.0236225352, 0.0055158688, 0.0032974868, -0.0410385802, -0.0423016809, -0.0162533224, -0.0644445717, -0.0200981814, -0.0158271771, -0.0252910946, -0.0466988273, -0.0093495203, -0.0163917225, 0.0069987192, -0.0220874064, -0.0369811021, 0.0651949123, -0.0301450174, 0.0328072011, 0.0051362817, -0.0175001472, 0.0153544899, -0.0088816695, 0.0059102071, 0.0185331218, 0.0470309295, -0.0039302977, 0.0763986558, -0.0121537158, -0.0147381313, -0.0256247558, -0.0074608345, -0.0242057573, -0.0260528289, 0.0317726731, 0.0130133573, 0.0107167624, -0.0190763269, 0.0176407192, 0.0059483852, 0.0359106846, -0.0175310243, -0.0464415438, -0.0058610081, 0.0052162441, -0.0497018099, -0.0118967993, -0.0235676523, 0.0001865499, 0.0601337589, -0.0685071722, 0.0039082379, -0.0069355764, 2.541e-7, 0.0567621589, 0.0329321884, 0.0222825017, -0.0038772537, 0.0326851718, 0.063525334, 0.0536679141, 0.0470676832, -0.0296800807, -0.000879287, -0.0064208712, 0.0009926901, 0.0780545026, 0.0333423615, -0.0663881525, 0.0040518111, -0.029509278, -0.0052908631, -0.0377584845, 0.0260648262, 0.0679788217, 0.0544178821, 0.0481416509, -0.0022601301, 0.0258587878, -0.0401959158, 0.0297877584, -0.0108721172, -0.0080316551, -0.0110219764, 0.0614913516, -0.0672275051, 0.0219931509, -0.0024750829, -0.0225149654, 0.0397838615, -0.0228009317, 0.0375803635, -0.009036921, 0.0264873151, -0.0266604684, -0.042945262, 0.0125988116, -0.0458788089, 0.0423655584, 0.032920979, -0.0686231405, -0.0083106812, 0.0142673785, -0.0091117928, 0.0326820873, -0.0034085077, -0.0079264687, 0.0223694537, 0.0054735197, -0.0731748566, 0.0211612023, -0.0635815114, -0.0261718277, 0.0150962044, -0.0235760212, 0.0614901148, -0.0174432751, 0.0394364893, 0.0585233569, 0.0144588929, 0.0255682599, 2.023636025e-34, 0.0242440067, 0.0257368386, 0.0196730085, 0.003148339, 0.0616183653, 0.0155889792, 0.0141105549, 0.0316461585, 0.0379688628, -0.0744198188, -0.0194185991 ]
http://arxiv.org/abs/2406.12128v1
http://arxiv.org/pdf/2406.12128v1
AI "News" Content Farms Are Easy to Make and Hard to Detect: A Case Study in Italian
2024-06-17T22:19:00
2024-06-17T22:19:00
Giovanni Puccetti, Anna Rogers, Chiara Alzetta, Felice Dell'Orletta, Andrea Esuli
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly used as "content farm" models (CFMs), to generate synthetic text that could pass for real news articles. This is already happening even for languages that do not have high-quality monolingual LLMs. We show that fine-tuning Llama (v1), mostly trained on English, on as little as 40K Italian news articles, is sufficient for producing news-like texts that native speakers of Italian struggle to identify as synthetic. We investigate three LLMs and three methods of detecting synthetic texts (log-likelihood, DetectGPT, and supervised classification), finding that they all perform better than human raters, but they are all impractical in the real world (requiring either access to token likelihood information or a large dataset of CFM texts). We also explore the possibility of creating a proxy CFM: an LLM fine-tuned on a similar dataset to one used by the real "content farm". We find that even a small amount of fine-tuning data suffices for creating a successful detector, but we need to know which base LLM is used, which is a major challenge. Our results suggest that there are currently no practical methods for detecting synthetic news-like texts 'in the wild', while generating them is too easy. We highlight the urgency of more NLP research on this problem.
[ 0.0720810965, 0.0487728156, -0.0211196635, 0.0732711703, -0.0364397056, 0.00349, 0.0059717321, 0.0448139571, 0.044584278, -0.0181408208, 0.00224932, -0.0084153898, -0.0087924525, 0.07608594, -0.0017936721, 0.0232696179, 0.0385773107, 0.0101224035, 0.0088586183, -0.0133190136, 0.0305143818, 0.0624821894, 0.054535836, 0.0323291756, -0.0480170548, -0.0182758328, 0.017052114, -0.0012674651, 0.0087265754, 0.0196001939, -0.0082972627, 0.0397316441, -0.0161706265, 0.0670286417, 0.000001757, -0.0106831295, -0.0162808541, -0.0384539478, -0.005125022, 0.0212990008, 0.0411292613, -0.0212698486, -0.0313311145, 0.0186333284, -0.0421975926, 0.0089903362, 0.0018075359, 0.0001598345, 0.0474006459, 0.108124122, -0.0272934083, -0.0021794562, 0.007277221, 0.000644056, -0.0002105723, 0.0155016342, 0.0263699163, -0.0167715959, -0.0095901079, 0.0061611957, 0.0309350584, 0.0344158411, 0.0301472079, -0.0302282237, -0.0445570461, 0.0209244564, -0.0201967843, -0.0274130255, 0.0226937197, 0.0185585581, -0.0660560951, -0.0894475132, 0.0550893731, -0.0024044865, 0.0196475219, 0.0152159575, -0.0030920315, 0.0416521579, -0.0424790978, 0.0503990278, 0.0818004087, -0.0246419776, 0.0106057879, 0.0296574403, 0.0175165907, 0.0387110263, 0.0203235298, -0.035571184, -0.0309599247, 0.0156373251, -0.0000351544, -0.062939845, 0.0457582809, 0.0232389327, 0.0002313649, -0.001652126, -0.1011032388, -0.0234504081, 0.0128804622, -0.1050320864, -0.0111346543, -0.0003779201, -0.0153056812, 0.0394453518, -0.039785061, 0.0023846349, -0.0250793826, 0.0225363169, -0.03194727, 0.0102646723, -0.0205030274, -0.010064126, -0.0435976014, 0.0211046059, -0.0666019097, -0.0382091478, -0.0040857336, 0.0102010118, 0.0215743184, 0.0092900256, -0.0025119809, 0.0020566292, -0.0126323663, -0.0003241504, -0.0042692488, 0.0079597458, -0.0140764667, 0.024525281, -0.0323522463, -0.0543309078, -0.0063098664, 0.0499546155, 0.0106290095, 0.0359799005, 0.0352661423, 0.0237739682, -0.0218614284, -0.0173081197, -0.0562815182, -0.0555406697, -0.0231118929, -0.0610461682, -0.0087002674, -0.0710974857, -0.007229141, -0.02229972, 0.0278694648, -0.0371426605, -0.0051513868, 0.0367717408, -0.0351626351, 0.0275623873, -0.0233054124, 0.007005481, 0.0068476717, -0.0113372505, 0.0192271341, 0.0837143511, 0.0392698459, 0.0890870765, 0.0525874943, 0.0163591933, 0.0478426963, 0.0585115291, 0.0177084003, 0.0448299833, -0.019944001, -0.0291294791, -0.0370104238, 0.0180387273, 0.0543699414, 0.0340513997, 0.0175766815, 0.0056542633, 0.0902411193, 0.0108006401, -0.0017992145, 0.0171834826, 0.0854087546, 0.0155861909, 0.0213447399, 0.0549013205, -0.0018413884, -0.0112419426, -0.0332335681, -0.0236336961, 0.0187263694, 0.0323914029, -0.0051576374, -0.0206980128, 0.0125774378, -0.018426422, -0.0241739079, -0.0305139441, 0.0084384149, 0.0349086747, -0.0306105874, -0.0289728716, 0.0092879292, -0.005265981, 0.0597138554, -0.0736959279, 0.0740584806, 0.0779686645, 0.0726221949, 0.0056980001, 0.0640080199, 0.0109336749, -0.0259530619, 0.0853490233, 0.0246449895, -0.0265261121, -0.0370951779, -0.003016239, 0.017230209, -0.0323608145, 0.0367506668, 0.0359862819, -0.0002962199, 0.0333107449, -0.0107819932, -0.0228757486, -0.0889936388, 0.027143281, -0.0151964743, -0.0198748261, 0.0136384992, -0.003497313, -0.0020371419, 0.0256672166, 0.0025366698, 0.0053389431, 0.0047079842, -0.0486963391, -0.0359124057, 0.0225367714, 0.0146492999, -0.033326827, -0.00773262, -0.0498382859, -0.0124999238, 0.028166566, -0.0187551435, -0.030619204, 0.0277475677, -0.0114395544, 0.0383726023, -0.0561403967, 0.0195299927, -0.0146601312, 0.0345374718, 0.0213515442, 0.0748623237, 0.00025631, 0.0208441094, 0.0312398151, -0.0181292612, 0.033135213, -0.0013025274, 0.0090356879, 0.0171289463, -0.0134555576, 0.0097314585, 0.0198322833, 0.0125424229, -0.0025005138, -0.0491052046, -0.0330700353, 0.0059496085, -0.031468384, 0.0188883953, 0.0841511935, -0.0155401099, -0.0326537713, 0.0257185176, -0.039736513, -0.0217365883, 0.0173031483, 0.0140200173, 0.0088631324, 0.003198748, 0.0311460495, -0.0189902019, 0.0511659309, -0.0186405517, 0.051050961, 0.0322251096, -0.0286883358, -0.1065426916, 0.0149015486, 0.00552862, 0.0164685622, -0.0077345781, -0.0509851649, -0.0163292978, -0.0177928228, 0.0131263444, 0.0741187558, 0.000245306, 0.0129877282, 0.0600887723, 0.0296851899, -0.0316531099, -0.0215352476, -0.0318879485, 0.0235795695, -0.0539508983, -0.0773876458, 0.0627210662, 0.0345795564, 0.0331589393, 0.0293610841, -0.0295248497, 0.0584252477, -0.0214267951, -0.020192856, 0.0405604877, -0.0352134481, -0.0277209803, 0.0537331253, -0.0055342452, -0.0144044831, 0.0424578376, -0.039490819, 0.0454772972, -0.0559155531, -0.0276081525, -0.0265431274, -0.006331733, -0.0176091082, 0.0441331342, -0.013366946, -0.0029654535, -0.0122730341, 0.0197758041, 0.0260537118, -0.0162049197, 0.0060150689, -0.0275306907, 0.0157747902, 0.0124068763, -0.0283409413, -0.0435855053, -0.0549656823, -0.0056076394, -0.0291057453, 0.0693562478, -0.0458658822, -0.0306547396, 0.0058353893, -0.013525499, 0.0654982477, -0.0408131033, -0.0034358348, -0.0055812397, 0.0730945617, 0.0497542731, -0.0499075577, 0.0189310275, -0.0035717578, 0.0064452346, 0.0336328074, -0.0039653359, 0.0557169132, -0.0012863142, -0.0266196094, 0.001622212, -0.0041272738, -0.0065648584, -0.0207803417, 0.0081317024, -0.0318752825, -0.0278515443, 0.1042377278, 0.0327711813, -0.0631445274, -0.0040567834, 0.0317224152, 0.0023748416, 0.021122057, 0.0232326016, -0.0907534584, 0.0109032188, 0.0116325319, 0.0188828222, -0.0444022603, -0.0184554439, -0.0366349965, -0.0981005803, 0.0198755376, -0.010366247, -0.029721316, -0.044517003, -0.0475022905, -0.0186882261, -0.002122679, -0.0433641635, -0.0521235578, -0.0037843981, 0.0095747998, -0.004640304, -0.0121789053, -0.0604696833, -0.0316438042, 0.0016321051, 0.0572326854, 0.0262147114, 0.0463610403, -0.0234248471, -0.0020291689, 0.0236515496, -0.0047586793, -0.0128142564, -0.021346651, 0.0442379937, -0.0197541453, -0.0302752331, 0.0108510302, 0.0259065609, 0.0075144786, 0.0055224802, 0.0145076355, 0.047458794, -0.002622627, -0.0695734471, -0.0001064619, 0.0108761508, 0.0487855449, 0.0691952109, 0.062408518, -0.0486000292, -0.008471258, -0.018961532, 0.0171748754, -0.0588832907, -0.0618483759, 0.0478715152, -0.0047595361, -0.0309966523, -0.0941818282, -0.0456082225, -0.0083852699, 0.0238032397, 0.0298391897, -0.0103635173, 0.0015420422, -0.0552000776, -0.0171880554, -0.0059613739, -0.0388546623, -0.0164721385, -0.0435131341, -0.0017552637, 0.0272827335, -0.0315508805, -0.011268314, -0.0117482124, -0.0787496492, -0.037674807, -0.0042913319, -0.001690842, 0.0211586412, 0.0342187025, -0.0383601189, -0.0366605148, 0.0542988926, 0.054900445, -0.0358605571, 0.0031834252, 0.0042218734, -0.0096590221, 0.0067546433, 0.0340957679, -0.0325281285, 0.051492583, 0.0085240435, -0.0096290298, -0.023490414, 0.0004773583, 0.0638887808, 0.0217592996, -0.0118786395, -0.0638045222, 0.0185917374, -0.0812400505, -0.0229932573, -0.0235641934, -0.0177088603, -0.0212408397, 0.0034123713, 0.043695081, 0.0105524892, -0.018999232, 0.0301756319, -0.0583997443, 0.0397963785, -0.0379511304, -0.0238480791, 0.0078523494, 0.0203613974, -0.0005717571, -0.0141729284, -0.0194586329, 0.0618144572, 0.0005650051, 0.0371752195, -0.0220666658, 0.0063370317, 0.0298070759, -0.0344899483, 0.0103536751, 0.0318557061, -0.0374470167, -0.022030836, -0.0649139285, 0.069581151, 0.0575236604, -0.0333083905, 0.0610427633, -0.041319672, -0.0038500449, -0.0029470257, -0.0026722464, 0.0271437205, -0.0427821055, -0.0297570974, -0.0006713326, -0.0481648967, 0.0141102728, 0.0824419558, 0.0109769842, 0.0670793205, 0.0262004957, -0.0330519676, -0.0320403352, -0.008443661, 0.0029160173, -0.0097521562, -0.0285641328, -0.0051297746, -0.0642839372, -0.047004234, -0.0015313536, 0.0129685169, 0.0153268036, 0.0075871926, -0.0423113592, 0.0651879087, 0.0130979, 0.0555036142, -0.0382812433, -0.0003767036, 0.0036376589, -0.0434439033, -0.0031581463, -6.146720205e-33, 0.0242457855, -0.0516054071, -0.0244025029, 0.0217445418, 0.0345103331, 0.0397274308, -0.0287776906, -0.0478814431, -0.0119937528, 0.0267740786, -0.0118375868, -0.0012753311, 0.0155476881, -0.0084901303, -0.0215563606, -0.0004919561, 0.0538192503, -0.0127987508, -0.0509400852, 0.0288340282, 0.0684145764, -0.013391423, 0.0551555529, -0.0426987261, 0.0155871101, -0.0324862897, -0.0670216978, 0.0064704949, 0.0012087218, 0.0547736809, -0.0182222929, 0.0412117094, 0.0409795903, -0.0251124799, 0.0070256763, 0.0517071001, -0.0148478132, -0.0347989537, 0.0333969593, 0.0093682911, 0.0030452814, -0.0484309793, 0.0386765376, -0.0066678426, -0.0126464106, 0.0473304428, 0.0565912165, -0.037751358, 0.0228230767, -0.0782499686, -0.0609686263, 0.0050406605, 0.0065737525, -0.0038337533, 0.009048352, 0.0377625041, 0.0194503758, 0.0142753217, -0.0472867526, 0.0362440944, -0.0402372219, 0.0393240415, 0.0431167223, -0.0265170168, -0.035872452, 0.0520996638, -0.0058107595, 0.0262562521, -0.001662842, 0.0140162744, 0.0300307702, 0.0057555265, 0.0506843477, 0.1015343219, 0.0470567346, -0.0509284474, -0.0348984599, 0.0440894514, 0.039637927, -0.0356788188, 0.0253697261, -0.0571715347, -0.0338535607, -0.0081097502, -0.0189903285, -0.0729295611, -0.0417005606, -0.0127411438, 0.0147381853, 0.0300445873, -0.0354239941, -0.0082129408, -0.0019108651, -0.0455253385, 0.0002111932, 0.0214471612, -0.0621459223, 0.0188213084, 0.0086617377, 0.0324752219, -0.0425075218, -0.0239985213, 0.0382775106, 0.0060407878, 0.0264346581, 0.0023808698, 0.0674264058, 0.0358898602, -0.0469955802, 0.0347857848, -0.0229789801, 0.0385164246, 0.0084314449, -0.014455107, 0.0234192982, -0.0358304381, -0.0095675495, -0.0325764306, 0.0378494896, 0.0425457656, -0.0142667852, -0.0300514102, -0.0169545859, 0.0487457477, -0.0529449247, -0.0064371913, -0.045164302, 0.0210996307, 0.021014031, -0.0962248966, 0.0002141352, -0.0160986707, 2.495e-7, 0.001503214, 0.0427575, -0.0015747616, -0.0025157395, 0.0239917953, 0.0175911691, 0.0043454347, 0.0474031009, -0.0377444699, -0.0357560813, -0.0132889375, -0.005118412, 0.0333139524, 0.0212849136, -0.1047440693, 0.0495432056, -0.0898540616, -0.001323482, -0.0996276438, -0.0515330993, 0.01992842, 0.0622102506, 0.0336233377, -0.041132763, -0.0045964057, -0.0405079089, 0.0198777206, 0.0234998558, -0.0611925721, 0.0233960897, 0.0660061389, 0.0188243762, 0.0092913406, -0.0291784015, -0.0398249216, 0.0005439587, -0.0101516815, 0.0369496122, 0.0312411748, 0.0048741587, 0.0040055318, -0.0636389479, -0.0103179188, -0.0518371128, 0.0651162267, -0.0005353531, 0.0040200478, -0.0738119334, -0.0360442586, -0.0346394256, 0.0040302617, -0.0477616489, -0.0139388721, 0.044827342, -0.0118407896, 0.0043678614, 0.0051152785, -0.0270272046, -0.0231693219, -0.0330918916, -0.0427613445, 0.007536062, -0.0158875939, -0.0160976183, 0.0215361677, -0.0496701449, 0.0558394194, 2.410341983e-34, 0.0462098569, 0.0107502379, -0.0025247373, -0.0027352099, 0.000705747, 0.0207541846, -0.0034106239, 0.0088333404, -0.0147364978, -0.0304168817, -0.0082041221 ]
http://arxiv.org/abs/2406.12125v1
http://arxiv.org/pdf/2406.12125v1
Efficient Sequential Decision Making with Large Language Models
2024-06-17T22:13:22
2024-06-17T22:13:22
Dingyang Chen, Qi Zhang, Yinglun Zhu
cs.LG
cs.LG, cs.CL
This paper focuses on extending the success of large language models (LLMs) to sequential decision making. Existing efforts either (i) re-train or finetune LLMs for decision making, or (ii) design prompts for pretrained LLMs. The former approach suffers from the computational burden of gradient updates, and the latter approach does not show promising results. In this paper, we propose a new approach that leverages online model selection algorithms to efficiently incorporate LLMs agents into sequential decision making. Statistically, our approach significantly outperforms both traditional decision making algorithms and vanilla LLM agents. Computationally, our approach avoids the need for expensive gradient updates of LLMs, and throughout the decision making process, it requires only a small number of LLM calls. We conduct extensive experiments to verify the effectiveness of our proposed approach. As an example, on a large-scale Amazon dataset, our approach achieves more than a $6$x performance gain over baselines while calling LLMs in only $1.5$\% of the time steps.
[ 0.0154517889, 0.1100042835, -0.0104985908, -0.0126056299, -0.0369814336, 0.0304576326, 0.0460396707, 0.0082005383, 0.0322836116, -0.0635718629, -0.0318749025, -0.0312795602, -0.0187346637, 0.0179913025, -0.0207103658, -0.0379181094, 0.0077245468, -0.072056815, 0.0229414273, -0.0318791382, -0.0209906716, -0.0014262978, 0.0014112158, 0.0285968333, 0.038991645, -0.0034072499, -0.0188216232, -0.0269055683, 0.0233468954, -0.0308820773, 0.0167645384, 0.0408393107, 0.0536958128, 0.0114718722, 0.0000021032, -0.0367021263, -0.0102055082, -0.0141081847, -0.0642496273, 0.0231409203, 0.0159453843, 0.0070129475, -0.0129759433, 0.0192363486, -0.0478689037, 0.000404867, 0.0378199257, 0.0162180793, 0.0395538025, 0.055728469, -0.0023211676, -0.0082029011, 0.0030224193, -0.0524590015, -0.0349326991, -0.0743733495, 0.0370504893, -0.0257452168, 0.0005400096, -0.0063733612, -0.0242910273, 0.0304016843, 0.0035320416, -0.0281707495, -0.0080249691, 0.037864048, 0.0106324349, -0.0101597859, -0.0374025181, 0.0674873367, -0.0515234582, 0.0104240412, 0.0317174532, -0.0225631818, -0.0114393625, -0.0038338173, -0.0225425363, 0.0230649225, 0.0083389524, 0.0433544591, 0.0049811946, -0.0014937599, 0.0298130941, 0.0667792857, -0.0624467954, 0.074971512, -0.0154516269, -0.0313586891, 0.044191964, 0.0042521823, -0.0068522971, -0.0851375163, 0.0014610769, 0.0257725343, -0.1063471735, -0.0009246508, -0.0143455202, 0.0018966474, -0.0372478068, -0.0167290997, 0.0792483464, 0.0216585025, 0.0207151007, 0.0813800097, -0.0102590807, 0.0483937338, 0.0121607734, -0.0024019785, -0.0339631811, 0.0320988744, -0.0211605225, 0.0221618339, -0.0343645439, 0.0212053005, -0.0188551228, -0.032017529, -0.0423768051, 0.0334436856, -0.0106966039, 0.0210696105, -0.0087202797, -0.0097735096, -0.0030240437, -0.0162615348, -0.0583311543, -0.0105519611, 0.0001508192, 0.036160592, -0.0106741553, -0.0337046832, 0.0203403551, 0.0167626981, -0.0005659015, -0.0103253741, 0.0065427842, 0.0928014815, -0.0357493013, -0.0309706647, -0.0294207204, 0.0098739769, 0.0412708186, -0.0683984011, -0.0432714634, -0.0280748382, 0.0184213482, 0.0049202004, -0.0007891411, -0.0317420475, 0.0049019279, 0.0135765066, -0.0132988635, 0.0618271455, 0.0067902533, 0.0387806781, 0.0112796687, -0.0292667579, -0.0073836837, 0.0646648109, 0.0229874048, 0.06325306, 0.0455072038, -0.0185213443, 0.0066461405, 0.0294489358, -0.0048482297, 0.0490740277, -0.0527323671, 0.0178243592, -0.0093146935, 0.0523989089, 0.026397543, 0.017071059, -0.0591423772, 0.0146265151, 0.081202291, 0.038874466, 0.0350631699, 0.0000538531, 0.0265917052, 0.0585584044, -0.005170723, -0.0308197159, -0.0439299382, 0.0155904591, -0.0248301215, -0.0028439502, 0.0187561195, 0.0476653352, -0.0297258552, -0.0417009033, 0.0093758851, -0.0164884627, 0.0033590035, 0.0606268756, 0.0353058055, -0.0333001725, -0.011816564, 0.0207437556, 0.0324832425, 0.0030841625, -0.0524259135, -0.0744977668, 0.0284513738, 0.0914175808, 0.0566850863, -0.0208320413, -0.0423004255, -0.0362101682, 0.0225707777, 0.028599415, 0.0325011872, -0.0355188623, 0.0034698918, -0.065736562, -0.0746911839, 0.0510376953, -0.0096235033, 0.0272715315, 0.0220422931, 0.0267497115, -0.0006445673, 0.0011605758, -0.0416454189, 0.0353877321, -0.0245565195, -0.0437948145, 0.0503121801, 0.004795955, 0.068456322, -0.0477018617, -0.0128179956, -0.0229690485, 0.0047812779, -0.0022768781, -0.0322123468, -0.0204995628, -0.0296850223, -0.0042498894, 0.0183934104, 0.0612271316, -0.0099408282, 0.0214295238, -0.0648197234, -0.0374204963, -0.0205759238, -0.0249917842, 0.0211680196, -0.0266192127, 0.0120117255, -0.0192970205, 0.0092013441, -0.0498102345, 0.0525079295, -0.0197941773, -0.002178668, 0.0470697768, 0.0157017279, -0.025475096, -0.0366306379, -0.0063995575, 0.0462981425, 0.0206228755, 0.0172748547, 0.0224068724, 0.0265671723, -0.0019258838, -0.027522089, -0.067671746, -0.0156935863, -0.0320869833, 0.0138164014, -0.0271337517, -0.0242521595, -0.0213382561, -0.0310077816, -0.0019120544, 0.0416817442, -0.0168453157, 0.0573755875, -0.0013585422, 0.003492415, -0.0336747132, -0.0318459421, -0.039616555, 0.0404988714, 0.0455566645, -0.0107819214, -0.0287271496, -0.0590320863, -0.0047750524, -0.0265388694, 0.0128379166, -0.0184024666, -0.0258471649, -0.00890199, -0.0507475138, 0.002553364, 0.0545135476, 0.030206861, 0.0599665903, 0.0633393899, 0.0023351121, -0.0600782298, 0.0250340495, -0.0208455361, -0.012769727, -0.0634226426, 0.0266412403, 0.0096429409, 0.0694351494, -0.0437751561, 0.007185691, -0.0136055844, -0.0013542393, 0.0005184811, -0.0327906087, -0.0639740303, 0.025778899, -0.0055072038, 0.071033828, 0.0208271872, -0.0793624893, 0.0760687366, 0.0222782195, -0.0024867395, -0.0418663174, -0.037177898, -0.0220847204, 0.0496092662, 0.0310456324, -0.006603905, -0.0404793285, -0.0295220129, -0.0244246349, -0.0222895555, 0.0330129489, -0.0184948407, 0.0336753577, -0.0556283519, 0.0390572175, -0.0117062815, -0.0721208155, -0.0474175401, -0.0502137579, -0.0625968054, -0.0181513987, -0.0020595524, -0.022807721, -0.050714951, 0.0119441496, 0.014689168, 0.0610839725, -0.0274980683, -0.0050386125, -0.0059607783, 0.0014755557, 0.0412861109, 0.0474146232, 0.0232904386, -0.0391225107, 0.063988924, 0.0244652163, 0.0565664023, -0.0361333787, -0.0239058733, -0.0043221614, 0.0523048006, -0.0663535073, -0.0127397776, 0.0659711882, -0.0211323891, -0.0723757371, 0.0130665451, 0.0986533463, 0.0045849998, -0.077617906, -0.0085292254, -0.0031591507, 0.0077818343, 0.0047005019, 0.0356975049, -0.0487707034, -0.0591807663, 0.0212795734, 0.0320103355, -0.0070810574, -0.0287596323, -0.0014723816, -0.0858129337, 0.0408684202, -0.0063282577, 0.0028854029, 0.0335075073, -0.0373765938, 0.0277937707, -0.0273596141, 0.019420255, 0.030371882, -0.0182330813, -0.0212981384, -0.0032838213, -0.0262276549, -0.0375483111, 0.0270556044, 0.0003720728, 0.0034867187, 0.085604094, 0.01508132, 0.0022656175, -0.0263500232, 0.0631787851, -0.0067043733, 0.0049996106, -0.0330259725, 0.0197216067, -0.0036431644, -0.0170713533, -0.0159923956, 0.0336016417, 0.0132932374, 0.0101768263, 0.0036491987, 0.0779554844, -0.059228532, -0.0332205817, 0.0163237266, -0.0295968391, 0.0439049453, 0.0237510055, -0.0177702643, -0.0891891122, -0.0736171082, -0.0380708426, -0.0547435693, -0.0343730785, -0.0246223956, 0.0111145023, -0.0109684197, -0.0185724981, -0.0449455194, -0.0043773991, 0.0415180176, 0.015944913, 0.004549433, 0.0368430167, 0.0512622558, 0.0178838875, -0.0176738277, 0.006442002, -0.0340834744, 0.0307448693, -0.0795558468, -0.0103719672, 0.0552499518, -0.0200903639, -0.0177894551, 0.005875824, -0.0528548844, -0.0582519658, 0.0042317687, 0.0388709866, 0.0237536244, 0.0206960663, -0.0052233683, -0.0689202398, 0.0495437831, 0.0571757518, -0.0161302835, -0.0092529533, 0.0308749247, 0.017923614, -0.0249149278, 0.055727642, -0.027973948, 0.023051491, 0.0265807509, 0.0069698757, -0.0351478048, -0.0352203511, -0.0138377687, 0.0015243606, 0.0344010107, -0.021104306, -0.016141966, -0.0332267322, 0.0641569793, 0.0414709374, -0.0161665697, -0.0416919142, 0.0127119226, 0.0217025187, -0.0246282816, 0.0024269125, 0.0208033044, 0.0398270227, -0.0310301539, -0.0128989397, 0.0275911018, -0.0000914588, 0.019915171, 0.0736783519, -0.023518905, -0.000071117, 0.0263531208, 0.0462689027, 0.0269514788, -0.0204404723, 0.0474618673, 0.0309076309, 0.0107914228, -0.048656255, 0.0187823158, -0.0494912416, -0.0969734341, -0.0008178107, 0.0295842141, 0.062368311, -0.0054065702, 0.0477032289, -0.03294136, -0.0098462859, -0.0443934798, 0.0116715673, -0.0019233202, -0.0241844449, 0.0193066373, 0.0367220342, -0.0375129879, 0.0402274802, 0.0663509667, 0.0092427786, 0.0106441928, 0.0167977922, -0.0285159983, -0.0412246957, -0.0469663553, -0.0106663499, -0.0064591169, -0.0228619017, -0.0008812866, -0.010758549, -0.0251565594, -0.0033102259, -0.0094737234, -0.039338395, -0.0554016978, 0.0484838262, 0.0418534577, 0.0136204557, 0.0349555351, -0.0644452497, 0.0101526314, -0.0103171756, -0.0251366254, -0.0167633593, -6.053744112e-33, 0.0271062534, -0.029401008, 0.0350188874, -0.0297550764, -0.019942943, -0.012057635, -0.0144990869, -0.0043755812, 0.0321233049, 0.0168366171, -0.0314961448, -0.0008690856, 0.0286770202, 0.0249638893, 0.0393988341, -0.0181043707, 0.0507955588, -0.0022409305, -0.0288489889, 0.0214090329, 0.0275645666, 0.0341256373, 0.0192073695, -0.0157583877, -0.037671458, 0.0150026204, -0.0181957502, 0.0019845641, -0.0325515606, 0.079551667, -0.0117158731, 0.0161391776, 0.0205262098, -0.0599340573, -0.0384429693, 0.0155798038, -0.0195297766, -0.0139018958, -0.0377697945, 0.013421217, -0.0406092256, -0.0203417223, -0.0052967072, 0.0187486559, -0.0337693468, 0.0205034837, 0.0063199461, -0.0395416208, -0.0738170147, -0.021703789, -0.0369755179, 0.0465033986, 0.0095927622, -0.0232009161, 0.0511136353, 0.0224924907, -0.0217082761, -0.0051508709, -0.0228689946, 0.0265250504, 0.0275072567, 0.0358692296, 0.0119558265, 0.0291104205, 0.0099598998, 0.0562470332, 0.0073851049, -0.0194627289, 0.0009760908, 0.0191862714, -0.0087333657, 0.0453604497, 0.0063741747, 0.0150939617, 0.0087729534, -0.026883658, -0.0726686493, -0.0005536586, 0.0502817966, 0.0488474183, 0.0570490584, 0.0229655709, -0.020316096, -0.0422882438, -0.0358092301, -0.0117270239, -0.0269639753, -0.0033389179, 0.0435390174, 0.0487903953, -0.0092991879, -0.0414841734, 0.0523044094, -0.0125227664, -0.0519760288, 0.0084497463, -0.0252408125, 0.0231074765, 0.0305346921, 0.022479482, -0.0626761913, -0.0648524985, -0.0207520742, -0.0501683168, -0.0074018212, -0.0280930493, -0.0090280641, 0.0352478214, -0.0590362996, 0.006714446, 0.0021288898, 0.0241337139, 0.0188258812, 0.047170762, 0.0529340617, -0.0250314455, 0.018595431, 0.0706008747, -0.0149716754, -0.0367873386, -0.0090850461, -0.0205524713, -0.005517635, 0.0163993314, -0.0248002205, 0.014569127, -0.0705639347, 0.0210347585, -0.0008793914, -0.0349240154, 0.0003316367, 0.0354502201, 2.762e-7, -0.012866837, 0.0647652149, -0.0178748574, 0.030916322, 0.046045538, 0.0437678732, -0.0213846695, -0.0043532765, 0.0074002515, 0.0214142539, 0.050860256, 0.0286243316, 0.0808884948, 0.0065940176, -0.0786515698, -0.0165236462, -0.0489660166, 0.0416210704, -0.0761085972, -0.0345488489, 0.0150696924, 0.1012150273, 0.0039250301, -0.0170192961, 0.0247034356, -0.0232350845, 0.0383760072, -0.03258669, 0.0041763401, 0.027821172, 0.0507509634, 0.011486602, -0.0452401824, 0.0066728452, -0.0054060696, 0.0357672274, -0.0278351214, 0.1027866825, 0.0261283182, 0.0174474344, -0.0011879457, -0.0020481765, 0.0348921828, -0.0107093547, 0.0969050378, -0.0515729599, -0.0171970818, -0.0414476059, 0.0501475148, -0.0588237382, 0.0245528556, -0.0408180431, -0.0302612055, 0.037306238, 0.0152143883, -0.0121590532, -0.0031635871, -0.0913913622, 0.0208724067, 0.0287874043, -0.0476561263, -0.0409277976, -0.0739733279, 0.0313704871, 0.0635405108, -0.0493966565, 0.0120385867, 2.274166013e-34, 0.0426531173, -0.0002986043, -0.0039739115, 0.0397006311, 0.0023909009, 0.0128068533, -0.004290726, 0.0201573242, 0.0382576697, -0.1010205373, -0.0162184909 ]
http://arxiv.org/abs/2406.12117v1
http://arxiv.org/pdf/2406.12117v1
Decoding the Narratives: Analyzing Personal Drug Experiences Shared on Reddit
2024-06-17T21:56:57
2024-06-17T21:56:57
Layla Bouzoubaa, Elham Aghakhani, Max Song, Minh Trinh, Rezvaneh Rezapour
cs.CL
cs.CL
Online communities such as drug-related subreddits serve as safe spaces for people who use drugs (PWUD), fostering discussions on substance use experiences, harm reduction, and addiction recovery. Users' shared narratives on these forums provide insights into the likelihood of developing a substance use disorder (SUD) and recovery potential. Our study aims to develop a multi-level, multi-label classification model to analyze online user-generated texts about substance use experiences. For this purpose, we first introduce a novel taxonomy to assess the nature of posts, including their intended connections (Inquisition or Disclosure), subjects (e.g., Recovery, Dependency), and specific objectives (e.g., Relapse, Quality, Safety). Using various multi-label classification algorithms on a set of annotated data, we show that GPT-4, when prompted with instructions, definitions, and examples, outperformed all other models. We apply this model to label an additional 1,000 posts and analyze the categories of linguistic expression used within posts in each class. Our analysis shows that topics such as Safety, Combination of Substances, and Mental Health see more disclosure, while discussions about physiological Effects focus on harm reduction. Our work enriches the understanding of PWUD's experiences and informs the broader knowledge base on SUD and drug use.
[ 0.0586424582, 0.0882873461, -0.0201455634, -0.0288784951, -0.0168072879, 0.0095829852, -0.0068075303, 0.004841052, 0.0469282828, -0.0753320009, 0.0250913054, 0.0145251779, -0.028013587, 0.0356670395, -0.0078550754, -0.0225670766, -0.0020368004, 0.0606624745, 0.0620678477, 0.0237545632, 0.0341714956, 0.0484991074, -0.0250055362, 0.0435191877, -0.0260539949, -0.0382230431, 0.0378400348, -0.0206596646, 0.0249051675, -0.0595749691, 0.0540135428, 0.0810544342, 0.0114062857, 0.0219925269, 0.0000018773, 0.0104580447, -0.0120815141, -0.0085356953, 0.0059632361, -0.0451671258, 0.0681025162, -0.0098060314, 0.0296284854, 0.0219987538, -0.0473906174, -0.0397151411, 0.0643890426, 0.0702348948, 0.0155026121, 0.0469263941, -0.0456538089, -0.0766309947, -0.0283126067, 0.0110031674, 0.0313671008, -0.0150895044, 0.0354814157, 0.0199446026, 0.0129426792, -0.0024761728, 0.0334348343, 0.0351109877, -0.0359274484, 0.0130182235, 0.0487203598, 0.0205590706, 0.0141757466, -0.0729776844, 0.0356494151, 0.0555594191, 0.0366904847, -0.0071455427, 0.0385718271, 0.0035944683, -0.0052589788, 0.0518970564, -0.0342854485, -0.0114406906, -0.0396569557, 0.0249482077, -0.0047495593, 0.0192547012, 0.0476876535, -0.0223166142, 0.0557652116, 0.0358626992, -0.0113248201, 0.0045871879, 0.0064729494, -0.0265294556, 0.0184086561, -0.0555896796, 0.0450616404, -0.0115173869, -0.0176201835, 0.0392529704, 0.0073915045, -0.0216245428, 0.040474806, -0.0576252081, -0.016157968, -0.0069349068, -0.0081040123, 0.0051797405, 0.0271080323, -0.0653547719, 0.0419686548, 0.0169637632, -0.0080511617, 0.0243947171, -0.0927985832, -0.0128035089, -0.0367052853, 0.0348550305, 0.0319466479, -0.0207822397, -0.0364331082, 0.0257647634, -0.014781802, -0.0749186203, -0.0271683522, -0.0022814567, -0.0131846508, 0.0430950709, -0.0009433731, 0.0098382393, -0.0251177996, 0.0321618877, 0.0104256561, 0.0502634309, 0.0432041548, -0.0109882364, 0.0381448865, -0.0434658527, -0.0206230488, 0.0407612026, 0.0220444798, -0.0200526621, -0.0555447452, -0.0522398725, -0.0285714343, -0.0066813305, -0.0060504912, -0.0432058573, 0.0728680342, -0.0038043784, 0.0062526949, -0.0504198112, 0.0270069186, 0.0225657299, -0.0622835532, 0.0574625395, -0.0423172452, 0.038704738, 0.0818697065, 0.0493054576, 0.0341442935, -0.0041762334, 0.0176896397, 0.0425504297, 0.0532781184, -0.0316595845, 0.0204296634, -0.0275717601, -0.0112945884, -0.0393534265, 0.0360233113, -0.0260636322, 0.0161311291, -0.0045653232, -0.0579170212, 0.0071594445, -0.0256298855, 0.0560136773, 0.0449919924, 0.0772664323, 0.0233910475, 0.0190096889, 0.0019516221, 0.0066727553, -0.0208561141, -0.0101328054, -0.0274349041, -0.0184986722, 0.0151901562, -0.038301181, 0.0712520257, -0.0179320294, -0.0033854577, -0.0211811196, -0.0643452927, -0.0291944183, -0.0057721161, -0.0295908544, -0.0384199619, -0.0060003269, -0.0162604228, 0.0247096326, 0.0591562465, -0.0120629193, -0.0343469903, -0.0371203087, 0.0722613558, 0.0484830886, 0.032053683, -0.030025417, -0.0014890432, -0.0341047719, 0.0679888725, 0.030562792, -0.0097905817, -0.0025377704, -0.0309667345, 0.0463930108, -0.0203548651, -0.0086852266, 0.0071371701, -0.0309445187, -0.0296597555, -0.0137517815, -0.0190359857, 0.0200490747, -0.0443859994, 0.0518445149, 0.0478808247, -0.0265549459, -0.0006205083, 0.0119310841, 0.0348611139, 0.0170199331, 0.0070724571, -0.0148358764, 0.0301294699, 0.0022089388, -0.0797860548, -0.0263281036, 0.0160562675, 0.0060274974, 0.0041352115, -0.0454143211, 0.0475509502, -0.023552848, -0.0058334363, -0.0090828836, 0.0555237457, -0.0504569858, 0.0348740034, -0.0152758192, -0.0566733181, 0.0121885967, -0.0100734103, -0.0318205506, 0.0594409741, 0.0092260353, 0.0327647179, -0.0679252222, -0.1176844463, -0.019418858, 0.0334197059, 0.0331807807, -0.005252094, -0.0391721539, 0.0332259424, 0.064866282, 0.0184884947, -0.0019054357, -0.0256867316, -0.0545230359, 0.020383589, -0.0251673926, 0.0280186292, 0.033832483, -0.0302764717, 0.0139653068, -0.0260302499, -0.0138509953, -0.0091499602, -0.0248210318, 0.0264456794, -0.00988709, 0.0344633907, 0.0279575195, -0.0062294914, -0.0058485721, -0.0487229303, 0.056308452, 0.015851438, -0.0659079701, -0.0053030783, -0.0202575605, -0.0675360486, -0.038375888, 0.0256125592, -0.0214413386, 0.0245473888, 0.0271992311, 0.0453149155, -0.0135730589, 0.0347631387, 0.0497794859, 0.0263282917, 0.0257449448, -0.0115329083, -0.012950181, -0.059525311, -0.0661469325, -0.0140717989, -0.1028139666, 0.0306473318, 0.0751934052, 0.0439112261, -0.0018499179, -0.0406967327, 0.0216251947, -0.0506546721, -0.0012580333, -0.0393542051, -0.0365513228, -0.0022173843, 0.0009364063, -0.0088068331, -0.0356215201, 0.0476536304, 0.0520220548, 0.034410242, -0.0088497773, -0.037823543, -0.0040034135, -0.0049666222, 0.0366114415, 0.0474433862, 0.0551828593, -0.007502683, 0.11200618, -0.0233005658, 0.0120288981, -0.030703472, -0.013375869, -0.0407249033, 0.0106745744, 0.0083053429, -0.0329166688, -0.00379753, -0.0852940679, -0.0120433923, -0.0313958004, -0.0069579883, 0.0229531378, -0.0270616543, 0.0087170647, -0.0011663233, 0.0096388003, -0.0027494074, -0.0305779669, 0.0099995974, 0.0382871255, 0.0558331907, -0.0582416765, -0.0021038586, 0.0096473312, 0.0244179908, 0.0480326787, -0.0172277633, 0.0291699097, 0.0357267782, -0.0299956873, -0.0075309277, -0.0058323103, -0.0115644932, 0.030760739, -0.0034774269, -0.0071270061, -0.003860181, 0.062970303, 0.0536571182, -0.0283881277, 0.0251069795, -0.0042179232, -0.0349041149, 0.0222898647, -0.018695293, -0.1196060255, -0.0002081893, -0.0526909269, 0.0122557273, -0.0703227371, -0.0119333332, -0.0024261207, -0.0176150855, 0.0288638454, -0.0020441923, -0.0742149949, 0.0338395499, -0.0820524469, -0.0039877165, -0.0298389308, -0.0136691481, -0.0228627529, 0.0013008562, 0.0016312498, 0.0353732407, -0.0541217215, -0.0301759783, 0.0004389492, -0.0087336404, 0.030869605, -0.0494861826, 0.0445046872, -0.0147607587, -0.0210991148, 0.0220873803, 0.0147771342, -0.0084340042, 0.0288716927, 0.0491262749, -0.0411430076, 0.0146378865, -0.0814054385, 0.0716099218, -0.0754087195, -0.0525346175, -0.0309789758, 0.1081643477, 0.0129709672, -0.0575644411, -0.0150435874, 0.022449078, 0.0484700054, 0.0258703213, 0.0284182783, -0.0133216763, -0.0001481373, -0.0158903562, 0.0517602116, -0.0048467484, -0.0608112067, -0.0411783755, 0.0001886123, -0.008373443, -0.0361677706, -0.0359401107, -0.0119463252, -0.059540391, -0.0030994611, -0.0043200045, 0.0116722072, -0.0293035749, -0.0210026, 0.0479665324, -0.0054021231, 0.022727102, -0.0294885188, -0.0411553383, 0.0208077282, 0.0127197541, 0.0078046084, 0.0564367585, -0.0152391316, -0.0044296891, 0.0689438134, -0.0374469124, 0.0104456479, -0.0445471555, -0.0112786945, -0.0488015451, 0.0002945751, 0.0297754891, -0.0582476668, -0.0131477844, 0.0025519398, 0.042871397, 0.0100146206, 0.008493253, -0.0089059891, 0.0041315844, -0.0108480798, -0.0573407486, -0.0668223351, -0.0311585441, 0.0088221841, -0.0340871401, 0.0473566763, -0.0189076345, -0.0054601319, -0.0390068553, -0.0431289822, -0.017419152, -0.0210975837, 0.0504997224, -0.0155838057, 0.0554413609, -0.0325762853, -0.0561000593, 0.0091818105, -0.0771852434, 0.031588871, -0.0475067124, -0.0288027339, 0.0529098399, 0.0081877643, -0.0164524857, -0.0028999473, -0.0067037186, -0.0234278161, 0.0111993197, 0.0291903913, -0.0337923281, 0.0598862991, -0.0234144796, -0.0334435329, 0.019215418, 0.0365443826, -0.0256688222, -0.0220948327, -0.0036439765, -0.0190150309, 0.0308618713, 0.0022254034, 0.0391683914, -0.0190745927, -0.0313994884, -0.0122599639, 0.0655934066, -0.0232574586, -0.0290370192, 0.0084912973, 0.0006984422, -0.0325548276, 0.0010307127, 0.053980384, 0.0039389306, -0.0026176483, -0.0003216743, -0.0486467704, -0.0133536709, 0.0018141993, -0.0462898538, 0.0724106729, -0.0110719586, 0.0037171568, -0.0624253787, -0.0407040156, 0.0082685957, -0.025592804, 0.0037931297, 0.0133907134, 0.0073054135, 0.0373568423, 0.0187768377, -0.0355136059, -0.0665221065, 0.0024413802, 0.0134700667, 0.0074339458, -0.0316605531, -5.811388768e-33, 0.0269610807, -0.0659725964, -0.0335879773, 0.0149076711, -0.0231739637, -0.0016248361, 0.0054084877, 0.0410638824, 0.0381411947, 0.0334275514, 0.045555532, 0.0099912416, 0.0030251001, 0.0083910078, 0.0235508271, 0.0126665207, 0.0147626139, -0.0112224454, -0.0236770902, 0.0532526523, 0.0191385914, 0.0523256212, 0.0274810418, -0.0827240571, 0.0724301711, 0.0116534531, 0.0212005582, 0.0182342418, 0.0160978176, 0.022575153, -0.0645225123, 0.077091068, 0.0418108255, -0.0118822893, 0.032675378, 0.0558974296, -0.0616835319, -0.0327801183, 0.0249344315, -0.0418866388, -0.056583669, -0.0469477735, 0.0272707511, 0.0006235348, 0.0335775577, -0.035898488, 0.0906451568, 0.0094642937, 0.0275438856, -0.0206188131, -0.0116842156, 0.0063118208, -0.0178008806, -0.0224891137, -0.0477645807, 0.0332872905, -0.0178738926, 0.0363507457, -0.0483251959, -0.0131158428, -0.075783059, 0.0309108291, -0.0100875162, -0.029116584, -0.0047393474, 0.0385767594, -0.0180178862, 0.0240354594, -0.0200421922, 0.0020121934, -0.0490065925, 0.0354287773, 0.0229044762, 0.0275650099, 0.0304448809, -0.0204204619, -0.0576609746, -0.0369519405, -0.019384928, -0.0117573179, 0.0258494578, 0.0130497338, -0.0158307794, -0.0071391151, -0.0256877802, -0.0049750633, -0.0221856385, -0.0080410121, -0.0560180321, -0.0250759441, -0.0394240655, 0.0277712122, -0.0272831023, -0.0356117226, -0.0474959165, 0.0040266253, 0.0113383178, 0.0235231817, -0.0114317611, 0.0195445009, -0.0537286736, 0.0557118393, 0.0023634168, 0.0164247882, 0.0540660694, -0.0216914378, 0.0608624034, -0.001510571, -0.0443808362, -0.0088233044, 0.01398376, 0.0084265079, 0.0221549477, 0.0239445511, 0.0110001639, 0.0643816814, 0.0146487625, 0.043093428, 0.0335420966, 0.025143588, -0.0060472586, -0.0236418433, -0.0324517861, 0.0011674663, 0.0040215421, 0.0000062185, -0.0079801502, 0.0369757488, 0.0716193989, -0.0387651511, -0.0039851856, -0.0373702459, 2.685e-7, 0.068489477, 0.0332278423, -0.0187157299, -0.009613459, 0.0406915769, 0.0158765353, 0.054614868, 0.0312594362, 0.0101266745, -0.0339907594, 0.0060488544, 0.0272982176, 0.0190552622, 0.0527579598, 0.013023871, -0.0040025883, -0.0588020012, -0.0344507881, -0.0841910467, 0.0032479013, 0.0593690202, 0.0310357288, 0.0256076045, -0.0114783822, -0.0299026687, -0.0004199084, 0.021166306, -0.0196195301, -0.0321846232, 0.0423433669, 0.0076311119, 0.0301650278, -0.0008384863, 0.0054355185, -0.0209185779, -0.0333268419, 0.0249804538, 0.0301943738, -0.0329930373, -0.0434582271, 0.0212831348, -0.0138085028, 0.02639414, 0.0125901587, 0.0695844069, -0.064605616, -0.0198702589, -0.0304085556, 0.0136890048, -0.0384748578, 0.0569353029, -0.0583034195, -0.0616683438, 0.047424227, 0.005933295, 0.0294978544, -0.0067448844, -0.0714643374, -0.0155392457, 0.0651040301, -0.0596464835, 0.0100344783, 0.0405296832, 0.0091694947, -0.0125920204, -0.0630369708, 0.0437076502, 1.570345429e-34, -0.0450807437, 0.0350419804, -0.0162132923, -0.0308684446, 0.0558647513, -0.0000079484, -0.0084637105, -0.0387386046, -0.0184532683, -0.042779658, 0.0101535683 ]
http://arxiv.org/abs/2406.12114v1
http://arxiv.org/pdf/2406.12114v1
Enhancing Text Classification through LLM-Driven Active Learning and Human Annotation
2024-06-17T21:45:48
2024-06-17T21:45:48
Hamidreza Rouzegar, Masoud Makrehchi
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
In the context of text classification, the financial burden of annotation exercises for creating training data is a critical issue. Active learning techniques, particularly those rooted in uncertainty sampling, offer a cost-effective solution by pinpointing the most instructive samples for manual annotation. Similarly, Large Language Models (LLMs) such as GPT-3.5 provide an alternative for automated annotation but come with concerns regarding their reliability. This study introduces a novel methodology that integrates human annotators and LLMs within an Active Learning framework. We conducted evaluations on three public datasets. IMDB for sentiment analysis, a Fake News dataset for authenticity discernment, and a Movie Genres dataset for multi-label classification.The proposed framework integrates human annotation with the output of LLMs, depending on the model uncertainty levels. This strategy achieves an optimal balance between cost efficiency and classification performance. The empirical results show a substantial decrease in the costs associated with data annotation while either maintaining or improving model accuracy.
[ 0.0549943708, 0.0304024089, -0.0085102981, 0.0306839272, -0.0158232097, 0.0419552065, 0.0150770778, 0.0229522437, 0.0359492749, -0.1207503453, -0.0256464556, -0.0208285302, -0.0365871303, 0.0011035436, 0.0284685399, -0.0300678648, 0.0315647274, -0.0319734402, 0.0547260717, 0.0104905199, 0.0105350399, 0.0241616946, -0.0055358838, 0.0081769628, -0.0293646362, 0.0171111487, 0.0240828637, 0.0035076644, 0.0051711411, -0.0237461198, 0.0168228298, 0.0787160769, 0.0197671391, 0.0616382137, 0.000001788, -0.0578451268, -0.0253283121, 0.0161110386, -0.0280603841, 0.0352979898, 0.0446778648, 0.0447903052, 0.0203825068, 0.0079036281, -0.0284411982, -0.0204514805, 0.0431090817, 0.0097173825, 0.0638335049, 0.0362723581, -0.0140247596, 0.000602546, 0.0110970503, -0.0273382552, 0.0190448463, -0.0623673163, 0.0342658199, 0.0216877852, -0.016832618, 0.0521918163, 0.0376467146, 0.0271710288, -0.0177926272, -0.0257128999, 0.0182623845, -0.0052663232, -0.050022684, -0.0202213321, 0.0206324738, 0.006143752, 0.0382257588, -0.0237527136, -0.0102560315, -0.0693875924, 0.0203632861, 0.0506942421, -0.014140496, 0.0239657219, -0.0142957009, 0.0360196158, -0.0122432308, -0.0141060688, 0.0300996006, 0.0416361801, 0.0534895323, 0.0271727405, -0.0376948155, -0.0307442769, 0.0628466234, 0.0553230569, -0.0604606643, -0.033464957, 0.0154000344, 0.0193502307, 0.0141778365, 0.0115493881, -0.0234962068, -0.031021785, 0.043344751, -0.0849334523, -0.0002348502, -0.0252629146, -0.0213937033, 0.0602759719, 0.0141860042, -0.0216981154, 0.0241912324, 0.0153072895, 0.0006185013, 0.0210849121, -0.0423512645, -0.0233991258, -0.0054675066, 0.0487207659, 0.0154685462, 0.0166964866, -0.0848899707, 0.0310673323, -0.0334349312, 0.0242237262, 0.0008900265, -0.0081664938, -0.0161542818, 0.0089208456, -0.0364408307, -0.0354249328, 0.0270351581, 0.0557304919, -0.0516150557, -0.0186233111, 0.029432565, 0.0498619005, -0.0082397461, -0.0139544262, 0.0157214683, 0.0284779966, -0.0072510182, -0.07325425, -0.0575112812, -0.0161797106, 0.0018932867, -0.0062752939, -0.0235016756, -0.0381468348, -0.0331459716, -0.0074972911, -0.0022974384, -0.038332127, -0.0021012509, 0.0018491235, -0.0275115073, 0.0641025975, -0.0305337589, -0.0191739611, 0.0751766711, -0.0060144397, -0.0231770352, 0.0540546775, 0.0256287213, 0.0594812036, 0.0763617381, 0.0243886523, 0.0300915167, 0.0223137494, 0.0001630504, 0.0202458054, -0.0180171002, 0.0082590012, -0.0214537326, -0.0116405739, -0.0380718186, 0.0329155475, -0.0192958396, 0.0130811818, 0.0593234412, 0.0194509923, -0.0401124284, -0.0436885729, 0.0342904329, 0.0382974483, 0.055307921, -0.0107129784, -0.0253373124, -0.0053897002, -0.0371634997, -0.0162407029, 0.0125576444, -0.0433234386, -0.0100891255, -0.0504296832, -0.06865298, -0.042934563, 0.0134962834, 0.044521872, 0.0476455763, -0.0171711538, -0.0013329523, 0.022752367, 0.0234653652, 0.0042648893, 0.0100562153, -0.0832860544, 0.0462442227, 0.0309481174, 0.0064564338, -0.0675487667, -0.0013968301, -0.0539457239, 0.0319872461, 0.0225572176, 0.0418966077, -0.0498827361, -0.0279387776, -0.0355314612, -0.047088407, 0.0113310982, 0.0507833064, 0.0195065737, 0.0262256693, -0.0158667713, 0.0164822619, -0.0412155837, -0.064829655, 0.0562903099, 0.0063963383, -0.0381929167, 0.0086868601, -0.0275515486, 0.0676248744, 0.0230789259, -0.0259610806, -0.0217482448, 0.0272958986, 0.0321947783, -0.0421718098, -0.0267151836, 0.0620940477, 0.0462585501, 0.0247576889, 0.0038558354, -0.0506288782, -0.0029292768, -0.0534574613, -0.0018241198, -0.074030377, -0.0311634671, -0.0368281193, -0.098910965, 0.0013266867, -0.04086354, 0.0039209016, -0.0612763017, 0.0472521633, -0.0062837396, 0.0195898805, 0.0054837186, -0.0443896614, 0.0382181518, -0.0191933792, -0.0285188667, -0.0381925069, 0.031933222, 0.0310097225, 0.0366107896, 0.0316943377, -0.0069208313, -0.0233858172, -0.0688443929, -0.0160392653, -0.0092252186, 0.0093736015, -0.002642296, -0.0213249717, -0.0120140612, 0.0024732684, 0.0003846869, -0.0256052613, -0.0164024122, 0.0340976194, 0.0298008993, -0.0047681113, 0.0255130325, -0.0297997911, 0.0103256749, -0.0002997543, 0.0229440164, 0.0545134582, -0.0529224202, -0.0670282841, 0.0043957122, 0.0037611865, 0.0018471162, 0.0216282997, -0.0049118269, -0.0046492727, 0.0015016082, -0.0766407251, 0.0137012331, 0.0188818984, 0.0364408232, 0.0304319616, 0.0334628001, -0.034572579, 0.0043525524, -0.0229190215, -0.0198466014, -0.0420833007, -0.053805314, 0.0212553944, 0.0127500724, -0.0127630066, -0.0240658149, -0.0329993591, 0.0151253249, -0.0044974829, -0.0232105162, -0.0202792715, -0.0085145729, -0.023516262, 0.0342164226, 0.0241507143, -0.0490155853, 0.0688784197, -0.0348912627, 0.0365233719, -0.0256265011, -0.0248748157, 0.0099914009, 0.0243290048, 0.0126256216, 0.0051093376, -0.0006802194, 0.0006808307, -0.0298217274, -0.0430181921, 0.0894779265, -0.026236929, 0.0059837443, -0.0376146026, 0.0397724397, 0.0053173206, -0.0062471894, -0.044831533, -0.0583042279, -0.0409780703, -0.0060814652, 0.0036853107, -0.0098614637, 0.0116572212, 0.0380664058, -0.0133648524, 0.0516588837, -0.0046330122, -0.0212280583, 0.0136172436, 0.0250681415, 0.0107055353, -0.006533308, -0.0077267066, -0.0323197842, -0.035396304, 0.0340270735, -0.0269858446, 0.0051559573, 0.0015485883, -0.0147853028, 0.0380868353, -0.0329425931, 0.0078270948, 0.0028433742, 0.0164313447, -0.0213582348, 0.000775559, 0.1258845776, 0.0414284877, -0.0750780776, -0.0234744754, 0.0156101296, -0.0011925033, 0.0210155118, 0.021180518, -0.0474455468, -0.023182245, -0.0130233029, 0.0819031149, -0.0230682213, -0.0306219086, 0.0025546849, -0.0917362571, 0.062147744, -0.0177959204, -0.0260566324, 0.025585765, -0.0642562062, -0.0011743683, -0.0286229998, 0.0097745946, -0.0475652143, 0.0242268853, 0.0268898867, 0.042415373, -0.0618034601, -0.0551894009, -0.0045314636, 0.0059526255, 0.0527215973, 0.0229537655, 0.0201703589, -0.0295261405, -0.022173008, 0.081350036, -0.0313851424, -0.0117127383, -0.010507579, 0.0950295478, -0.0032960679, 0.0178659111, 0.0221107937, 0.0179554354, -0.0011268657, -0.0193060804, 0.0163790975, 0.0578405149, -0.0287699942, 0.0297520012, -0.0142579228, -0.0082319546, 0.0300579909, 0.0411040559, -0.0182813965, -0.0515035838, 0.0037154008, -0.0097631784, 0.0178013574, -0.0057332353, -0.0141978329, 0.0459320955, -0.0872546434, -0.0493508205, -0.0491857193, -0.0233994517, 0.0248204134, 0.0463256538, 0.0180608109, 0.0353772901, 0.019548608, 0.005990447, -0.0252418239, 0.0004546736, -0.0254649129, 0.0090056146, -0.0026885811, -0.0549384765, 0.0262137949, -0.0416024476, -0.0368825346, 0.0180542041, -0.0755877718, -0.0560838878, 0.0254047215, 0.0414245054, 0.0294827651, 0.0466511287, -0.0069396226, -0.087149851, 0.0273016673, 0.0544736683, 0.0003652456, -0.0091918744, 0.0306280628, 0.0083845099, -0.0389412418, 0.0002957639, -0.062394809, 0.0151371202, 0.0585892573, -0.0246584732, -0.0563248396, -0.0544961169, 0.0016576594, 0.0391160175, 0.0752408803, -0.0539233685, 0.0014036826, -0.0378522761, 0.0013424327, 0.0133836912, -0.0273505691, -0.0281902272, 0.0185214356, 0.0310424641, -0.0153355831, -0.0722091123, 0.0076131024, -0.0036717912, 0.0714614168, -0.0253133643, -0.0007303049, 0.0260836035, 0.0163134988, -0.0122624431, -0.021886047, -0.0205069222, 0.0424407348, 0.0100770872, 0.0349697918, 0.0317291841, 0.0413992107, 0.0116624739, 0.0231878385, 0.006827754, 0.0069692382, -0.0509791821, -0.0212434176, -0.0608636923, 0.0741764903, 0.0384928212, -0.0172995571, 0.0405927673, -0.0432047956, -0.0346342549, 0.0081540514, 0.0201597251, 0.0242507048, -0.0037606643, 0.0093393885, 0.0121888677, -0.0460241251, 0.0550398864, 0.0525895581, 0.0324142836, 0.0163219627, -0.0316981375, -0.08954335, -0.0406748205, -0.0130082332, 0.0230664779, 0.0164578408, -0.0097308792, 0.001674371, -0.022226166, -0.0748777688, 0.0207659658, -0.034702681, 0.00514577, -0.0126129473, 0.0211750008, 0.0712089762, 0.01402843, 0.0469092578, -0.0581227243, -0.0233883876, 0.0242784955, 0.0065258979, 0.0142782331, -5.751205294e-33, 0.0001810507, -0.0415020101, -0.0542229153, 0.0472787023, 0.0022585851, 0.0148648117, 0.0375707783, -0.020100167, 0.0378770456, 0.0210546553, 0.0143358521, 0.0214253049, 0.0201646388, 0.0099870227, 0.0078039966, -0.026225483, 0.0247284044, -0.0153561905, -0.0274028666, 0.0045917658, 0.0358190164, 0.0151471701, 0.0282400027, -0.1273788363, 0.0835752711, 0.0066972673, -0.0643318221, 0.0271141678, 0.0056496682, 0.0387432426, -0.0212038755, 0.0490779877, 0.0139740938, -0.0151397949, 0.0191533975, -0.052037552, -0.0313737467, 0.0095011424, -0.0144445598, 0.030439496, 0.0293312073, 0.0206533447, 0.0138131538, -0.0151397297, -0.0197283905, 0.0226238407, 0.055582583, -0.0293637514, -0.0221689418, -0.0854653567, -0.0219702665, 0.0460970663, -0.0341890454, 0.0539586172, 0.0318487138, -0.0070631756, 0.0027409033, 0.0154728889, -0.0677888468, -0.0194234978, -0.0147713991, 0.002555395, -0.0087194555, 0.003570942, -0.0234505758, 0.0394888036, 0.0096599068, 0.0103588542, -0.0191088691, 0.028746644, -0.0124335308, -0.0199606568, 0.0208599549, 0.1018313617, -0.005825832, -0.0211129189, -0.0573654659, 0.0408898517, 0.0566916503, -0.0565608107, 0.0519780405, 0.011217746, -0.0235044211, -0.0287037268, -0.0255225431, -0.0241082869, -0.0117618972, -0.022507783, -0.0195167698, 0.0035946395, -0.0676655918, 0.005010087, 0.0031142158, -0.0104995407, -0.0568187162, -0.029793309, -0.0244718716, 0.0436069816, -0.0131838126, -0.0046699089, -0.0035389096, -0.0410164595, 0.0065583764, 0.0126510207, 0.0217878707, -0.0059746192, 0.0745435283, 0.0447535329, -0.0644125938, 0.0242337976, 0.0216498189, 0.0240071882, -0.0182048921, 0.037437804, 0.0015303852, -0.0074237618, 0.003263965, 0.0587315783, 0.0178976506, 0.0140375085, 0.0012549085, -0.0217263699, -0.0267274845, -0.0176705681, -0.0186766256, -0.0191814154, 0.0432230905, -0.0248525105, 0.0054088156, -0.084550418, 0.0153238839, -0.0018757841, 2.478e-7, 0.0809834972, 0.0513635948, -0.0510985926, -0.0136953145, 0.0043997727, 0.0645349473, 0.0179910213, -0.0229362473, 0.0494746715, -0.0078975335, 0.0278476011, -0.0119931502, 0.0167551376, 0.0648745, -0.0755862594, -0.0565541387, -0.0499060377, 0.0408627056, -0.0238649175, 0.0323971026, 0.0470831506, 0.0747718737, 0.0563053973, -0.0336427763, -0.0404685102, -0.0762027428, 0.0496519506, -0.0315790884, -0.0271579958, 0.0284003336, 0.0800606012, 0.0067234519, 0.0161125176, 0.030341262, -0.050894618, -0.0071080774, 0.0215951279, 0.0511774011, -0.0006523447, 0.0083822059, -0.0222024824, -0.0091067078, 0.0650815219, -0.0263732839, 0.0641509369, -0.0314163826, -0.0295568891, -0.0343832113, -0.0218934435, -0.0808128491, 0.0306559596, -0.0086101992, 0.0146663319, 0.041421596, -0.0261912141, 0.0293154065, -0.0285671651, -0.0797022805, -0.0058773719, -0.0267789438, -0.0491737388, -0.0437137261, 0.0227151792, 0.0496370532, 0.021039553, -0.0507581383, 0.0513777584, 2.15666043e-34, 0.0706028268, 0.0115330061, -0.0110720536, 0.0323401317, 0.023435466, 0.0440214872, 0.0278679598, 0.0092286309, 0.0051083886, -0.0285186265, 0.0140365995 ]
http://arxiv.org/abs/2406.12109v1
http://arxiv.org/pdf/2406.12109v1
Can LLMs Learn Macroeconomic Narratives from Social Media?
2024-06-17T21:37:09
2024-06-17T21:37:09
Almog Gueta, Amir Feder, Zorik Gekhman, Ariel Goldstein, Roi Reichart
cs.CL
cs.CL, cs.CE
This study empirically tests the $\textit{Narrative Economics}$ hypothesis, which posits that narratives (ideas that are spread virally and affect public beliefs) can influence economic fluctuations. We introduce two curated datasets containing posts from X (formerly Twitter) which capture economy-related narratives (Data will be shared upon paper acceptance). Employing Natural Language Processing (NLP) methods, we extract and summarize narratives from the tweets. We test their predictive power for $\textit{macroeconomic}$ forecasting by incorporating the tweets' or the extracted narratives' representations in downstream financial prediction tasks. Our work highlights the challenges in improving macroeconomic models with narrative data, paving the way for the research community to realistically address this important challenge. From a scientific perspective, our investigation offers valuable insights and NLP tools for narrative extraction and summarization using Large Language Models (LLMs), contributing to future research on the role of narratives in economics.
[ 0.0073191547, 0.1055663824, -0.0103541594, 0.0147105092, -0.0114422776, 0.0092568621, -0.0031313018, 0.0066490816, 0.0180807803, -0.0222676024, 0.0522057898, -0.030610403, 0.036654871, 0.0783500597, 0.0223337412, -0.0317291617, -0.0073127053, 0.0066553024, 0.0501596034, -0.0389652513, 0.0067115184, 0.0287699476, 0.0211459827, 0.0367549509, -0.0109525351, 0.016868623, 0.0146647179, -0.0324789397, 0.0088940421, 0.0163562894, -0.0091597233, 0.0020466794, 0.0594969317, 0.0417377502, 0.0000015643, -0.0445512794, -0.0137234777, -0.0413452052, 0.0163418204, -0.0032294546, 0.0738517642, -0.0498811603, 0.0611756295, -0.0044868863, -0.067802377, 0.0110732736, 0.0432943143, 0.0697165728, 0.0361115076, 0.0604129471, -0.008259994, -0.072888568, 0.0000741064, -0.0593770407, -0.0135770096, -0.0513773486, 0.041216787, -0.0254547857, -0.0497623198, -0.0135964965, 0.012794096, 0.0261201095, -0.0244999398, 0.0179287158, -0.0187167786, 0.0542644225, 0.0037601078, 0.0111852679, -0.034274336, 0.0501052812, 0.0765633434, 0.0101024201, 0.0507242754, -0.0155420508, 0.0068376935, 0.0386236012, -0.0992425829, 0.0421651378, 0.0035835535, 0.0434886329, 0.0287811887, 0.00103902, 0.0244753864, 0.0310833454, -0.0096222088, 0.0364815593, -0.0209251642, -0.0454434939, -0.0351454839, 0.0412348136, 0.0028542643, -0.0409704372, -0.0238284823, 0.0135201206, 0.0275401343, 0.0080186054, -0.0096740332, 0.0332404822, -0.0328691639, -0.1060484424, 0.0065965117, 0.0136435023, 0.0388488173, 0.0541202836, 0.0017073101, -0.0170965027, 0.0031418963, -0.0558499098, 0.0214926209, -0.0015818385, -0.0920888707, 0.0062749363, 0.0110387858, 0.0328776538, -0.0124058817, -0.0103196222, -0.0156999696, -0.0477498397, -0.0280764811, 0.0193829574, -0.0420741662, 0.017337786, -0.0249691568, -0.0158552937, -0.0594524257, 0.057195276, -0.0294097979, -0.0163423959, -0.0102802021, 0.0183299426, 0.0053619007, -0.0131905517, 0.0293592792, 0.0097420439, 0.0106511218, 0.056111943, 0.0637653992, 0.0244501699, -0.0451859795, -0.0660920367, -0.007135326, -0.0490392186, -0.0311412718, -0.0394608602, 0.0360255875, 0.0116319116, 0.0199222025, -0.0363181643, -0.0095682284, 0.0030118346, -0.0906113312, 0.0464805663, -0.0002390397, -0.0146877458, 0.0036401483, -0.0511335619, 0.0446283557, 0.0525362343, 0.0445154272, 0.0328996517, 0.0738439411, 0.0009558702, 0.0091279373, 0.028119782, -0.0077702794, -0.0355208032, 0.0170580503, -0.0088332817, -0.0225642864, -0.0138459671, 0.0075310171, 0.0218256209, -0.0017076912, 0.0242661964, 0.0476835296, 0.0434110723, -0.0044356501, 0.0013761548, 0.0340509638, 0.0153654832, 0.0054754163, 0.037039198, 0.0136037776, -0.0069964919, -0.0423543304, 0.0216741953, 0.0578298233, 0.0280275438, -0.0167260394, -0.0306550637, -0.0075492477, -0.0169374961, 0.0284328684, -0.0050760689, 0.0272656716, -0.0656318814, -0.0509048589, 0.0662891716, 0.0767042786, -0.0363917723, 0.030334888, -0.0057032499, 0.0440120324, 0.0621829107, 0.0046214215, 0.026967328, 0.0201052073, -0.0313791744, 0.0258589424, 0.0409943834, 0.0073499382, 0.0016267732, -0.0412183143, -0.01191781, -0.0235290416, 0.0112942597, 0.0418729112, 0.0086037247, 0.0378127694, -0.038702514, 0.0018219933, 0.0027879167, -0.050317131, -0.0016018825, -0.0029646673, -0.0347721875, 0.0028944891, -0.0251391362, -0.0085205613, 0.0187939201, 0.0036639313, -0.0015192615, -0.011652288, -0.0048489436, -0.0674594343, 0.0472708233, -0.0263993181, 0.0032927073, 0.009941496, -0.0400186181, -0.0129258074, -0.0306947716, -0.0369761996, -0.0190208703, 0.0814992264, -0.0189250633, -0.002831043, -0.013366905, -0.0547767989, -0.0014940815, -0.0177666582, 0.026508078, 0.0602824949, -0.0087059494, 0.0118561937, -0.0100581311, -0.0430554934, -0.0201545767, 0.0092707602, 0.0537933782, 0.0177689586, 0.0018184778, 0.018510744, 0.0550937839, -0.0400882885, 0.0104791056, -0.0324013866, -0.0601460375, -0.0174417607, 0.0022323709, 0.0023811937, 0.0223528706, -0.0255439635, -0.0077437884, 0.0261388328, -0.0196602028, -0.0193226226, 0.0100774691, -0.0037903001, 0.0340062119, 0.0071190018, 0.0148901744, -0.0369176492, 0.0016919349, -0.0427428782, 0.0641398504, 0.0489470363, -0.0286536496, 0.0099421237, -0.0488322526, -0.029318342, -0.0038994874, -0.0256060269, 0.0215588938, -0.0303918123, 0.0028510855, 0.0432571173, 0.0344518647, -0.0102570113, 0.0577525496, -0.008811486, -0.0391470939, 0.000912726, -0.0068520755, -0.0629842952, 0.0157191213, -0.0421930775, -0.0313187614, 0.028460931, 0.0992901251, 0.0095614111, 0.011167977, -0.0598513037, 0.0689884499, -0.0388021022, 0.0189495794, -0.0099482778, 0.0102040973, -0.0006300237, 0.0298166685, 0.0070609464, -0.0283066668, 0.0480479598, -0.0138605963, 0.0372323096, 0.0060227579, -0.04953086, -0.0509588979, -0.0039018092, -0.0081551122, -0.0054729977, 0.0251924619, 0.0099747172, 0.0269377697, -0.0256418996, 0.0190130882, 0.0149517562, 0.0059340969, -0.0488691404, 0.0299524218, 0.0273748692, -0.0045872214, 0.0265406985, -0.0984052345, -0.0591540225, 0.040457584, 0.0486503057, -0.067392692, -0.0393597782, -0.0026320261, 0.0218079053, -0.0442812592, -0.0190353822, -0.0226654597, 0.0253521837, 0.0448633097, 0.0415285192, -0.0156965908, 0.0054139015, -0.0558276847, 0.0058602509, -0.0062653907, 0.0225835759, 0.022613341, 0.0041283313, -0.0208928734, -0.009300245, -0.0323843062, 0.0047592144, 0.01359249, 0.0058774319, -0.0408331342, 0.0139492564, 0.104884088, 0.0122437458, 0.0576870702, 0.0015620792, 0.0398564897, 0.0002946305, -0.0202722847, 0.007328935, -0.0519416593, -0.0037390464, 0.0000377323, -0.0186290909, 0.0015492166, -0.0760424882, -0.0338164233, -0.1164617464, 0.0311615672, -0.0130179292, 0.0210661255, -0.0198572949, -0.0602701865, -0.0171243455, -0.0567346513, -0.0107970955, -0.0216538794, -0.0535182916, 0.0620343797, 0.0127115566, -0.1019371003, -0.0077021234, 0.0116261076, -0.0223803762, -0.0387829766, 0.0128682125, 0.0687822551, -0.0251641944, 0.0234759692, -0.0593987331, 0.0262544323, 0.0019490909, -0.010250451, 0.0696159825, -0.0360541381, -0.0254732892, 0.0011554672, 0.0539092161, -0.023008028, 0.0197949111, -0.004796898, 0.009953605, 0.0109010413, -0.07773114, 0.0143157989, 0.0443604626, -0.0350989252, 0.083893761, 0.0328619182, -0.0182707608, -0.0383047424, -0.0512436032, -0.0000113913, -0.0599640422, -0.051020667, -0.0410716012, -0.0127577521, -0.0061894618, -0.0598156154, -0.0784731507, 0.0247388799, 0.0036353597, 0.0148232253, -0.0053404733, 0.0741606653, 0.0071979174, -0.0253526606, -0.0177004766, -0.0800907612, 0.0141301649, 0.0270322375, 0.0300647542, 0.0397326872, 0.0300212614, -0.0235484913, 0.0364250354, -0.0994479656, -0.0794690996, 0.0076645343, -0.019083282, 0.0172425676, 0.0200049318, 0.0236847829, -0.0072092474, 0.0535942391, 0.0770931542, -0.0610748753, -0.0008388549, 0.0331524126, 0.0752774402, 0.0176429003, 0.0340831801, -0.0161580388, -0.0091060279, -0.0327432714, 0.0039111492, -0.05502709, 0.0138407685, -0.0164069999, 0.0157105122, 0.0327218473, -0.0131237404, -0.0589228682, -0.0378464833, -0.065886125, 0.008353156, -0.0002132694, -0.0135819539, -0.0003792917, 0.0113517251, 0.0032547161, -0.032744728, 0.029250361, -0.0123593323, -0.0129374098, -0.05306077, 0.0197345316, -0.0087636076, -0.0286424886, -0.0082178405, -0.0195229668, 0.011154809, -0.0028972793, -0.0333591551, -0.0029674515, 0.0176154375, -0.0388274491, 0.0025954519, -0.0048687998, 0.0271277316, -0.0442637317, -0.069094114, -0.043358244, -0.0178652108, 0.0281991288, 0.0329473354, -0.0518634059, 0.0068072607, -0.0399440117, 0.0137819303, 0.0223896392, 0.0142494021, -0.0446473882, -0.0124011319, -0.0022061383, -0.0086289719, -0.1070777103, 0.0114210052, 0.0843274295, 0.0104843294, 0.0464376397, 0.0497662872, -0.0110874707, -0.0184147526, -0.0342345499, 0.0233546775, 0.0313152224, 0.0415262692, 0.007090881, -0.0579343773, -0.0224349834, 0.0485741049, -0.0186423659, -0.0011366089, -0.0085630696, -0.0135703515, 0.0400523283, 0.0037316431, 0.0828376636, -0.0258708913, 0.0000706835, -0.0284842011, -0.0094883461, -0.055027511, -5.98027498e-33, -0.0046299249, -0.0276758578, 0.0043697227, 0.0176813398, 0.0000477351, 0.0352897346, -0.0205956511, 0.0065305484, 0.0074465098, 0.0226341318, 0.0296833534, 0.0209976435, 0.0129584521, 0.0326730348, 0.0213771593, 0.0071724639, 0.0280108228, -0.0038719857, 0.0065209283, 0.0123252086, 0.0488649979, 0.0334195867, 0.0955589563, -0.0479667075, 0.0567961521, -0.013273824, -0.0066586011, -0.0088488748, 0.0859250277, 0.0139667736, -0.0176486671, 0.0490248986, 0.0309576448, -0.0715221092, -0.046435345, 0.0151848942, -0.016499592, -0.0358097441, 0.028746428, -0.01894743, 0.0159853138, -0.012536942, 0.042825792, 0.0164084788, -0.0057740682, 0.0001725825, 0.034901686, 0.0044426844, 0.0176397972, 0.0001928914, -0.0571278818, 0.0492391586, -0.022356499, 0.0299908482, 0.0018997873, 0.0613120757, 0.0249162372, 0.0508911684, -0.0265096147, 0.0323417932, 0.0226488039, 0.0242140815, -0.005813119, -0.0469711497, 0.0072800182, 0.0748081356, 0.024481643, -0.0020556778, -0.0815652907, 0.0276420284, -0.0127604203, 0.0497754142, 0.0245293453, 0.0656547323, 0.0317541771, -0.0207061693, -0.0248278249, 0.0388474055, 0.0207678098, 0.0288925134, 0.0388547778, -0.0025329962, -0.0224121809, -0.0600573495, -0.0536839999, -0.0483114161, 0.0027592652, 0.0013557909, -0.0368787721, -0.0052150059, -0.0020260182, 0.0540239848, 0.0236389544, -0.0434052981, -0.0728126764, -0.0048418809, -0.0121588642, -0.0014944171, 0.0227976013, -0.0080544418, -0.0521134399, 0.0007428864, -0.0255326219, 0.0510274246, -0.0170257408, -0.0440327041, -0.0344144255, 0.0140250837, -0.0349334069, -0.0078943893, 0.0039638765, 0.0075087487, -0.0014603285, -0.0057566292, 0.0404539146, 0.0364501663, -0.0006999225, -0.0359421037, -0.011103088, 0.0046858992, 0.0227745753, -0.0236445852, -0.0126458751, 0.020395156, 0.0020441639, -0.0214849934, -0.0027190004, 0.0281099658, 0.0484803058, -0.0071687521, -0.0254598465, -0.0013284136, 2.327e-7, 0.0218189899, 0.0756987333, -0.0003316479, 0.0071961484, 0.0021097604, 0.0621224232, -0.0066924198, 0.0160670485, -0.021438295, -0.0522677787, -0.0089326221, 0.0440539792, 0.0472807325, 0.0256081298, -0.0531279966, 0.0001212984, -0.0882982537, 0.0094258236, -0.0603130683, 0.0010487027, 0.0174886268, 0.0400411226, 0.0556831546, -0.0075699924, -0.0085203405, -0.0482940935, 0.0608011484, -0.0577369183, -0.0660249665, 0.0256338213, -0.01608973, 0.0219172779, -0.0059762308, -0.0470532365, -0.0130648529, 0.0169609431, -0.0036948761, 0.0042067999, 0.0602638721, 0.0230454393, 0.0095346533, -0.0359757543, -0.0371200666, -0.0041227941, 0.0555983037, -0.110318467, -0.0712817237, -0.0739765391, 0.0020315449, 0.0500401482, 0.0316799283, 0.0211331379, -0.0290606413, 0.0392470844, -0.025440583, -0.0063096141, 0.0123628471, -0.0216160771, 0.0020933426, 0.0120935459, -0.0465492792, -0.0046935328, 0.009430374, 0.0026815976, 0.0048396965, -0.0455663837, 0.047724165, 1.932629573e-34, 0.0652322397, -0.0007143697, -0.04386748, 0.0241974071, 0.0837183148, 0.0141867585, -0.0300696511, -0.0000390908, 0.0123218223, -0.0802217349, 0.0178024266 ]
http://arxiv.org/abs/2406.12104v1
http://arxiv.org/pdf/2406.12104v1
End-to-end Text-to-SQL Generation within an Analytics Insight Engine
2024-06-17T21:33:01
2024-06-17T21:33:01
Karime Maamari, Amine Mhedhbi
cs.CL
cs.CL, cs.AI, cs.DB, cs.LG
Recent advancements in Text-to-SQL have pushed database management systems towards greater democratization of data access. Today's language models are at the core of these advancements. They enable impressive Text-to-SQL generation as experienced in the development of Distyl AI's Analytics Insight Engine. Its early deployment with enterprise customers has highlighted three core challenges. First, data analysts expect support with authoring SQL queries of very high complexity. Second, requests are ad-hoc and, as such, require low latency. Finally, generation requires an understanding of domain-specific terminology and practices. The design and implementation of our Text-to-SQL generation pipeline, powered by large language models, tackles these challenges. The core tenants of our approach rely on external knowledge that we extract in a pre-processing phase, on retrieving the appropriate external knowledge at query generation time, and on decomposing SQL query generation following a hierarchical CTE-based structure. Finally, an adaptation framework leverages feedback to update the external knowledge, in turn improving query generation over time. We give an overview of our end-to-end approach and highlight the operators generating SQL during inference.
[ 0.0339982733, 0.0814485401, -0.007673264, -0.0056868955, -0.0290097948, 0.0169869419, -0.0339875072, 0.0097023966, 0.0239316728, -0.0315333419, 0.0336717591, -0.0114510274, -0.019347189, 0.0973400027, 0.054716859, -0.0565759353, 0.0065815332, 0.0240278896, -0.0335447192, 0.0282512177, -0.0126966601, 0.0333674401, 0.0225504246, -0.0029718592, -0.0256017596, 0.0197513085, -0.0246541575, 0.0056129824, -0.0418833643, -0.002447848, -0.01388017, 0.0382711664, 0.0038935442, 0.022007959, 0.0000022358, -0.0674544349, -0.0362383164, 0.0248101279, -0.0248046555, -0.0349120833, 0.0578334816, -0.0331214219, 0.0370487012, 0.051925227, -0.0288496278, 0.048312407, 0.0314532034, -0.034251608, 0.0336778425, 0.0437650941, -0.010479413, -0.058264818, -0.0200937707, -0.0171723571, 0.0454207771, -0.0339361876, 0.0011301445, 0.0000491085, 0.0417324081, -0.0116441511, 0.0027634371, 0.0184337981, 0.0181169063, -0.0325095318, 0.0231121927, -0.0178138074, 0.0080808401, 0.0069034458, -0.0251336563, 0.0055838632, 0.0528407022, -0.0398944244, 0.0195824895, 0.0189531781, -0.0017066222, -0.0085880384, -0.0295068175, 0.0164830331, -0.0070622494, -0.0258885864, 0.0068492526, -0.0009719898, -0.0077513042, -0.023154499, -0.0790303126, 0.0103050703, 0.0029204937, -0.0094084367, 0.0194498375, 0.000896141, 0.0335644893, -0.0306353979, 0.0039632451, 0.0532482378, -0.08366061, 0.0234464314, -0.0318202265, -0.048837211, 0.004249848, -0.0557440892, 0.0382179096, 0.0571132004, 0.0395239927, 0.0206810087, 0.0098560993, 0.0079919174, 0.0184947103, -0.0114251496, -0.0344513729, -0.0751537234, -0.0534945689, 0.0062352973, -0.0284515303, -0.0000961439, -0.0603603087, -0.0082066879, -0.0385911241, 0.05049612, -0.0052819201, 0.0264981762, 0.0075504384, 0.0331330597, -0.0385153294, -0.0243689213, -0.0712023824, -0.0330717154, -0.0053343303, -0.0195137002, 0.0053958087, -0.0676864758, -0.0244185906, 0.014476493, -0.0025252672, 0.0158903059, 0.0142126027, 0.0474692546, -0.0169592705, 0.0431387648, -0.1062244698, -0.1046941206, 0.027938161, -0.0135092959, -0.0144751072, -0.0094897691, 0.0841972977, 0.0324157625, -0.0465086959, -0.0902918726, -0.0133442637, 0.025617322, -0.0117182843, -0.0067873658, -0.0374809541, 0.0391455069, 0.0147668151, -0.014233849, 0.0476732999, 0.096789293, 0.0153873088, 0.0258055199, 0.0164726898, -0.0106267547, 0.0068430258, 0.0225401893, 0.0649583638, 0.0283104219, -0.1056816727, 0.0620599352, -0.036216639, 0.0276217721, -0.0227935612, 0.0410298221, 0.0184525941, 0.0410488248, 0.0289864056, 0.0058859861, 0.0328594558, 0.0419582576, 0.0802931264, 0.0137119275, -0.0422254056, -0.0377302282, 0.0154280337, 0.0221074857, 0.0227796379, -0.0006102641, 0.0451769195, 0.024769444, -0.0099676587, -0.0485791527, 0.029097233, 0.0258838665, -0.0408988148, 0.0222203583, 0.0237311963, 0.0389790237, -0.0200094059, 0.0183643959, 0.0033185123, -0.0349512883, 0.0020737648, -0.013467961, -0.00657854, 0.0937233269, 0.0452966802, -0.0173383411, 0.0121294716, -0.0203968026, -0.0047464883, 0.0562509485, 0.0297432039, -0.033761207, -0.0286259744, -0.0038397454, -0.0316247605, 0.0538942851, 0.0259000864, -0.0209982879, 0.0171035621, 0.0184309315, 0.0226416979, -0.0203189664, -0.0601388663, 0.0223684013, -0.0223486889, -0.0182630382, 0.0501427799, -0.0007871741, 0.0147310318, 0.0346313231, -0.0175003652, 0.0367386527, 0.000062865, 0.0004780008, -0.0510054417, -0.0128671834, 0.0377669521, -0.0001990894, -0.0177749805, -0.0211678874, 0.0168727003, -0.0915213674, -0.026699217, -0.031437967, 0.0369994789, -0.0392791145, 0.0288062003, -0.014887346, 0.0102300113, -0.0038695266, -0.0340764858, -0.0073992489, 0.0351698548, -0.0071434565, -0.0204585101, 0.0117399599, -0.0709259436, 0.0158474091, -0.0149969589, 0.0748276338, -0.0247625895, 0.0125480816, 0.034861844, 0.0080893226, -0.0049138744, -0.0494523682, 0.006861818, -0.0194223151, 0.0143333981, 0.003908196, 0.0202795025, 0.0303655993, 0.0597075336, -0.023847675, 0.0055142264, -0.0378504731, -0.0180342346, -0.0055815033, -0.01605317, 0.0343918987, 0.0422956534, -0.0036127446, 0.0263293386, -0.0107332384, -0.0456679016, 0.0735182464, 0.0105612865, -0.0452440567, -0.0083919717, 0.0209918115, -0.0210922267, 0.0016010388, 0.0031457795, 0.0203299392, -0.012422476, -0.0367447957, 0.0160311647, 0.0176270623, 0.0142447231, -0.034151867, -0.0187977571, -0.0438153148, -0.0496724956, 0.0077815307, -0.0425374806, 0.0167920776, 0.0270777792, -0.0857552364, 0.0731669068, 0.0119765913, 0.0188888423, -0.0283221062, -0.0444196835, 0.025476126, 0.0169630013, -0.0111936871, -0.0446218662, 0.0217601452, 0.0328557789, 0.0530722439, 0.0183879808, -0.0067906477, 0.0331026241, -0.0097137084, 0.0198618844, -0.0752531588, -0.0010414227, -0.0357875153, 0.038530536, 0.0138398064, 0.0493890084, -0.0105264699, -0.003863879, -0.0296138134, -0.0285342447, -0.0111163761, -0.0190898422, 0.072000958, -0.0351324752, -0.0033059968, 0.0227077212, 0.0181679353, -0.0360681787, 0.0209144577, -0.0182880517, 0.0109883891, 0.0902923048, -0.0323241577, -0.0254473947, -0.0124557009, 0.0257981103, 0.0238834042, 0.0100150062, -0.0562578961, 0.0256678034, -0.0705478862, 0.0373750031, 0.0086534368, -0.0354516692, -0.006336716, 0.0040633418, 0.0473688319, 0.0074139824, -0.0695310384, -0.0002226093, -0.0027759776, -0.039895419, -0.0137088858, 0.0230394695, 0.047484111, -0.0695585087, -0.0646234602, 0.0055812364, 0.0468060598, 0.0181093141, 0.0067559499, -0.0055667097, 0.0249944516, 0.0562042333, 0.030013511, 0.0748984888, -0.1209840775, -0.0184753984, -0.0265963692, 0.062008284, -0.0178021416, -0.0520774648, -0.0431356318, -0.1213265806, 0.062054731, -0.0334177837, -0.0066786194, -0.0213556513, -0.0220713429, -0.0230524242, -0.0111529501, -0.0420784801, 0.0731736794, -0.0140049569, 0.0045849592, 0.014552814, -0.0135589084, -0.0668013766, -0.0349761769, 0.0030744376, -0.0327788591, 0.0445143245, 0.0241192766, 0.0169089232, 0.0175526589, -0.0268128067, -0.0137996171, 0.0038000436, -0.0510326512, 0.0726888999, -0.0063869222, 0.0130555341, 0.015479601, 0.0342112184, -0.0395568013, 0.061933998, 0.0291214623, 0.1177574992, -0.0224273223, 0.0193635412, -0.0481004603, -0.0120166028, 0.0357021652, 0.0568918586, 0.0209388267, -0.0205840226, -0.0322610587, -0.0221542623, -0.0126223657, -0.0728982314, -0.0079199411, 0.0226685088, -0.0416059829, -0.066587843, -0.0413352326, -0.0306791272, 0.0588004291, 0.0559886359, 0.036160823, 0.0307556894, 0.0073701469, -0.04719216, -0.0651126355, -0.0298195463, -0.0182531923, 0.0180472266, -0.0161941312, -0.0244860481, 0.0003359239, -0.0250527617, -0.0378754921, 0.0109802317, -0.023261629, -0.0284426343, -0.0135865835, 0.0258624256, 0.0216723997, -0.0106797041, 0.0075083971, -0.0163875315, 0.0075948681, 0.0622713938, -0.060758587, -0.071163781, -0.03078405, 0.0190459248, -0.0153296813, 0.0345543139, -0.0378212444, -0.0214557629, -0.0406763814, 0.0042698039, -0.0271964371, -0.0154293654, 0.0525464714, 0.042689614, -0.0540383756, 0.0198401976, -0.0087372409, -0.0335808694, 0.0258568581, -0.0552895516, -0.0592257492, -0.0605482794, 0.0599268004, -0.0112768477, 0.0011341838, 0.0374270305, -0.0016716709, -0.0349955522, -0.0226730425, -0.0246441457, -0.0000176944, 0.0091420813, 0.0342134945, 0.0332367718, -0.0391861387, 0.0183860511, -0.0136368126, 0.0320659392, 0.0792440251, -0.0287430808, 0.0402908176, 0.0434620529, 0.005344477, -0.0285001211, -0.021201985, -0.0258598048, -0.0129388329, -0.0375878438, -0.0043097581, -0.0138600608, 0.0513223261, 0.01108649, -0.0380097106, -0.0201686881, -0.0018540572, 0.0441675447, 0.0285041686, 0.0079459138, -0.0039265859, -0.0214975439, -0.0302137975, -0.0743738487, 0.0726632699, -0.0186240338, 0.0322369747, -0.0458245128, -0.0602357499, -0.0508577935, -0.0411313139, 0.0311181657, -0.0143312607, 0.0109514575, 0.0030656641, -0.0635417551, -0.023364285, 0.0170517098, 0.0146397613, -0.0176557433, -0.0402475372, 0.0396200456, 0.0769381523, 0.0537100025, 0.0015094184, -0.0187049415, 0.0283266772, -0.0843418613, -0.0480965041, 0.0008004451, -6.600915793e-33, -0.0222698823, -0.0195206124, 0.0483281687, -0.0305333436, -0.0109245917, -0.0407221206, -0.039809797, -0.0272225272, -0.0198915582, 0.0094640255, -0.0211216863, 0.0278882813, 0.0256459024, 0.0298601817, 0.0309599247, 0.0120863691, 0.0179350004, -0.021257855, 0.0028715131, 0.0391792618, 0.0832877532, 0.0261808299, -0.0035662299, -0.0443527848, 0.022608418, 0.001200621, -0.0025495377, 0.0283588972, 0.0114740552, 0.0181424394, 0.0044532819, 0.0090192808, 0.0018824763, -0.013176254, -0.0364349373, -0.0437192209, -0.004693252, -0.0402866229, -0.0204181634, -0.0233948436, -0.0076732016, -0.021618342, 0.0543220825, -0.0232803654, -0.0297343098, -0.0061485949, 0.0121842511, -0.0309488792, 0.0050177961, -0.0666810349, -0.0499362238, 0.0349887721, 0.0028665406, 0.0225018263, 0.0028876353, 0.0357525609, 0.0133060589, -0.0005588916, -0.0133110695, 0.0534520932, 0.0490489192, 0.0324313678, 0.0625924319, 0.0313232355, 0.0109223658, -0.0265757609, 0.0126711559, 0.0003647457, -0.0135870753, 0.067336008, -0.0268243011, 0.0687287077, -0.0038260154, 0.0513129346, -0.0434273556, -0.0277506728, -0.056000676, 0.0837251991, -0.0127578722, -0.0206954591, 0.0028049739, -0.0448282026, -0.0626910776, -0.0688627884, -0.0075232885, 0.009712168, -0.0304131303, -0.0191782974, 0.0481137857, -0.0013326836, -0.0226904079, 0.0233851038, 0.0047371029, -0.0192656666, -0.0344684906, 0.0244732127, -0.0411992297, -0.0536461547, 0.0201275013, 0.0102445064, -0.0440350957, -0.0032558022, 0.0023802056, 0.0434270129, -0.0171367321, 0.0323925018, 0.0063432958, 0.0274750777, -0.0417825542, 0.0182192139, -0.011264435, 0.0778521895, -0.042434711, -0.0238948837, -0.0161753148, 0.0208279919, 0.0246275626, 0.0566303022, 0.0176132061, -0.0008721628, 0.0165279098, 0.034805499, 0.0278741885, 0.0289748255, -0.0004265377, 0.0042091468, 0.0259087794, -0.0453489088, 0.0518369675, 0.0036786653, -0.0293430053, 0.0278281234, 2.886e-7, 0.0892405212, 0.0110089704, 0.0030049661, 0.0847801417, 0.0071456102, 0.0371307358, 0.0392749049, -0.0068597943, 0.0112617975, 0.0035294206, 0.0280128326, -0.0324939974, 0.0548435189, 0.0461709201, -0.0120576955, -0.0266693532, 0.0040543075, -0.0252823215, -0.0913348868, 0.0060619698, 0.0478618965, 0.0242284872, -0.0326169319, -0.0129677989, 0.0161309373, -0.0534794331, -0.00572418, -0.0154348239, -0.0036034381, 0.0902337804, 0.0178045984, 0.0047869086, 0.0172672458, 0.0357217714, -0.0370758399, 0.0481327288, -0.0405497961, 0.0468639545, 0.0180571694, 0.0377794169, 0.0390929244, -0.0802864656, 0.0159923378, -0.0596234426, 0.0427640975, -0.0372898541, -0.0029542439, 0.040099401, 0.0071110628, -0.0003839559, -0.0250103734, -0.0121296616, 0.0072352132, -0.0466674641, 0.0339463055, 0.0213044342, -0.0077866809, -0.0036653483, -0.0103355516, 0.0412318781, -0.0378641747, -0.0120328413, -0.0063254009, 0.0458735228, -0.0196352098, 0.0138653573, 0.0234057121, 3.140921824e-34, 0.0389373414, 0.043393936, -0.0108105782, -0.0006192679, 0.0799505711, -0.0134137226, 0.015068816, -0.0072462726, 0.0278628245, -0.0448015556, -0.0506704152 ]
http://arxiv.org/abs/2406.12094v1
http://arxiv.org/pdf/2406.12094v1
Who's asking? User personas and the mechanics of latent misalignment
2024-06-17T21:15:12
2024-06-17T21:15:12
Asma Ghandeharioun, Ann Yuan, Marius Guerard, Emily Reif, Michael A. Lepori, Lucas Dixon
cs.CL
cs.CL, cs.AI
Despite investments in improving model safety, studies show that misaligned capabilities remain latent in safety-tuned models. In this work, we shed light on the mechanics of this phenomenon. First, we show that even when model generations are safe, harmful content can persist in hidden representations and can be extracted by decoding from earlier layers. Then, we show that whether the model divulges such content depends significantly on its perception of who it is talking to, which we refer to as user persona. In fact, we find manipulating user persona to be even more effective for eliciting harmful content than direct attempts to control model refusal. We study both natural language prompting and activation steering as control methods and show that activation steering is significantly more effective at bypassing safety filters. We investigate why certain personas break model safeguards and find that they enable the model to form more charitable interpretations of otherwise dangerous queries. Finally, we show we can predict a persona's effect on refusal given only the geometry of its steering vector.
[ 0.0531471074, 0.0545499176, -0.0478846021, 0.0334397927, 0.0089887371, 0.0062842309, 0.0291634593, -0.0084793344, 0.0224932656, -0.0164789259, -0.0487231687, -0.0427029245, -0.0088469842, 0.0299755894, 0.036816109, -0.0415073223, 0.0401594415, -0.0296101179, 0.0227943119, 0.016048843, 0.0129744317, 0.0003595461, 0.0083771767, 0.0591967218, -0.0140764909, -0.0372252502, 0.0166981444, 0.0328906141, 0.0204355717, -0.0325862989, 0.0416232087, 0.0357337967, 0.0044932165, 0.0379854627, 0.0000020534, -0.0361972004, -0.0200799257, -0.0032050253, -0.0412123241, -0.0315017067, 0.0389125906, -0.0065357788, 0.018457571, 0.0304094385, -0.0562510416, 0.0146702686, 0.0273662563, 0.0992818102, 0.0431794375, 0.0678043887, -0.0123677058, 0.028211331, 0.006585347, 0.0035478496, 0.0083071478, -0.0732832998, 0.0000862796, -0.0482065789, -0.0464218035, 0.0397063382, -0.0234349109, 0.0108508877, 0.017179776, 0.0026933702, 0.0006961976, -0.0124223512, 0.0326545015, -0.0640847087, 0.0075568147, 0.0608833432, 0.0252131298, 0.0084441779, 0.0093671679, -0.0078849625, 0.0325009972, 0.0322272517, -0.0045031412, 0.0225804746, 0.0018386899, -0.0410363674, -0.0232239477, 0.0062801815, 0.0481066629, 0.0097583542, 0.0295707081, 0.0350681245, -0.0138068544, -0.032235641, 0.0131545076, -0.0079246042, 0.0473445654, -0.0500569642, 0.0072368528, -0.0000950258, -0.0717609748, 0.0074193636, -0.0574168228, 0.0288603753, 0.0048500518, -0.0526496917, 0.0206003338, 0.0470694639, -0.0066540181, 0.0148792937, 0.031878449, 0.0109263211, -0.0549160652, 0.0573479384, -0.0054195537, 0.0411943607, 0.0115796216, -0.0312574692, 0.0055565806, -0.0098701427, -0.02231979, 0.0193636008, -0.0147608705, 0.0433069095, -0.0505038351, -0.0162345879, -0.067107372, 0.0575272143, -0.0375628285, 0.0280143619, -0.0441971198, 0.0051526232, -0.0496932752, -0.0023794232, 0.0200600903, -0.0367418341, -0.0222381353, -0.0119385822, -0.0194335729, -0.0195260495, -0.0313039832, 0.08027073, 0.0083811097, -0.0387304053, -0.0284652654, -0.0812973529, -0.0118711572, -0.0432695225, 0.0050089988, 0.0134826452, 0.0187769271, 0.0118791368, -0.0289187748, -0.0907694623, 0.0013493163, 0.0157649703, -0.0639575347, 0.081148468, 0.036736466, -0.0050075506, 0.008337819, 0.0582951009, -0.0654217228, 0.0714544728, 0.0170613825, 0.0255424231, 0.0331704393, 0.0152023267, 0.0307204034, 0.0017190406, 0.0188810099, 0.0137609346, 0.0040413281, 0.022898946, -0.0013255593, -0.0048845178, 0.0062472904, 0.0398535021, -0.0358843245, -0.0167944748, 0.0960541144, 0.0385249779, -0.0562019125, 0.0211259704, -0.0131391278, 0.0093673263, -0.0386859514, 0.0355133638, -0.0941891894, 0.0213390384, -0.0682725385, -0.0607101694, -0.0081840809, 0.0154420249, -0.0251327008, -0.0220283698, 0.0172791556, -0.00524732, 0.0527949259, 0.024682276, -0.0275709648, 0.0343159139, -0.0261197165, 0.0112549672, 0.0288022906, -0.0324028432, -0.0199678838, -0.05894541, 0.0153613267, 0.0452380739, 0.039501626, 0.0036890479, -0.0085666245, -0.0380344614, -0.0038143382, 0.0169606507, 0.0508112721, -0.0039159814, 0.0059256232, 0.0072552557, -0.0818968266, -0.0217396207, 0.007509585, -0.0165110491, 0.0079360753, -0.0091458829, -0.004249739, 0.0202783775, -0.019782206, 0.0259740092, -0.0321533717, -0.0443856493, -0.0535774902, 0.0564797446, 0.0128021855, 0.0100161089, 0.0319588296, 0.0111552281, 0.0263580065, 0.0216874816, -0.0134084439, -0.0068059294, -0.067552492, 0.0410207026, -0.0015729659, -0.0359944403, -0.0220018663, 0.0212230552, 0.0125065735, 0.0124818152, 0.0355211943, -0.0196771268, 0.0337208584, 0.0104953703, 0.0142786801, -0.0243964493, -0.0205403604, -0.022686068, 0.0679639727, -0.0114469398, -0.0249926932, -0.0069185793, -0.0324009694, -0.0184456725, -0.0234267768, -0.0067657372, -0.0050842259, 0.0024879226, 0.0312049817, 0.0287259519, -0.031492997, -0.0434166156, 0.0062132431, -0.0447322838, -0.0235893968, -0.0346486084, -0.0116375061, 0.0184148252, 0.0011031608, -0.0089592449, -0.0047396277, -0.0263285879, -0.0166665409, -0.012440308, 0.052846238, 0.0172931645, 0.000608149, 0.0137558924, -0.0302642994, 0.0136849722, -0.0208928026, 0.0398117155, -0.0143643636, -0.0010602169, -0.0119560501, 0.0129092718, -0.0173496976, 0.0409993529, -0.0121772075, -0.0208017137, 0.0381936356, 0.0345786586, 0.0008437375, 0.0718588457, 0.0219013765, 0.0853250399, 0.0285223965, 0.0503135286, -0.0504129976, 0.0315731987, -0.0188884344, -0.0344283655, -0.0519143566, -0.0042760461, 0.0064897765, 0.0276479945, 0.017091779, -0.0009166346, -0.064753443, 0.0746099874, -0.0492112152, -0.083044216, 0.0199022125, -0.0347387008, -0.0105206165, 0.0608234107, -0.0246584099, -0.0477903113, 0.0845015645, 0.0331560336, 0.0021649057, 0.0314368419, -0.014969361, 0.0219488405, 0.0673336387, 0.0007482462, 0.0402551182, 0.0606816523, -0.0115974024, -0.114262633, -0.0479969643, 0.0574605428, -0.0360821187, 0.0254936777, -0.0275296792, -0.0322100259, 0.0155028552, -0.0813084841, -0.0644696578, -0.0605331212, -0.0029791736, -0.0214724652, -0.0063003995, -0.0342708193, -0.0332763158, -0.0323644243, 0.0168155339, -0.0198421571, -0.0477825217, -0.0196317732, -0.0221659839, -0.0477883369, 0.0577856153, 0.0155828279, 0.0467466526, -0.0496622585, 0.0414067358, 0.0758644044, -0.0068893963, -0.0193041805, 0.0175535847, 0.0091196243, 0.0247536022, 0.0222225972, -0.031761162, 0.0436721034, 0.0745043308, -0.0254363976, -0.0141803883, 0.0599043332, 0.0205230545, -0.0267518442, 0.0260104761, -0.0370524898, 0.0435282178, 0.0337172039, -0.0009042928, -0.0300572552, -0.0015174486, 0.0056477799, 0.0621133335, -0.0338193737, -0.0209300742, 0.0066146236, -0.0916078761, 0.0348692387, -0.0132270753, -0.0087785637, -0.0171752758, -0.0034708409, -0.0227544177, -0.0080993557, 0.0638620853, 0.0043480163, -0.0127696423, 0.000309929, 0.0067799687, 0.0149910627, -0.0430415086, -0.0012510684, -0.071640268, 0.0405669585, 0.0580419563, 0.033233285, 0.0128683364, -0.0572961979, -0.0076313321, 0.0308557451, 0.0263584591, 0.0012049172, 0.0709722266, -0.0408867486, 0.0030392592, -0.0465431809, 0.0251656901, 0.012856964, -0.0298716854, -0.0098906904, 0.0353693068, -0.0285539515, -0.0241993014, -0.0295259189, 0.0046322308, 0.0376474485, 0.0472124629, 0.0110682435, -0.0528865531, -0.0051990785, -0.0457228683, 0.0144678736, 0.0162078403, -0.0608429126, 0.0208466407, 0.0165265631, -0.0468450412, -0.0461689234, -0.0172018521, -0.0004930404, 0.0295898262, 0.0458475761, -0.0235913284, -0.0123825315, 0.0188512895, 0.0051031942, 0.0361633599, -0.0316653438, 0.0071782181, -0.0312236696, 0.0103457272, -0.0117870541, -0.0573538467, 0.0165819731, -0.0155195119, -0.0131100528, -0.0598693416, 0.0108928801, 0.0806995034, 0.0347006395, 0.0446030237, -0.0200248901, -0.0745810717, 0.0371385291, 0.0453991927, -0.0796933547, 0.0146566983, 0.0567651428, -0.0107043004, -0.027113663, 0.0285727773, -0.0482519828, -0.0447529368, 0.048539605, -0.0007800718, -0.0622577555, -0.0137371011, 0.0393535085, -0.0012584908, 0.0711677745, -0.0012557511, 0.0073229582, 0.0078531681, -0.0162363704, 0.0093631782, -0.0304350685, -0.0062536267, 0.0002282266, 0.033346381, 0.0193683337, 0.0087028658, -0.0258728806, -0.0171381142, 0.0560508817, -0.0398558676, 0.012408806, 0.0399321318, 0.0169128552, 0.0116818622, 0.0353160389, -0.0090893842, 0.0749580264, -0.0072722035, 0.016249368, 0.0212219711, 0.0646072924, 0.0209597759, 0.0137825441, -0.0243629459, 0.0256295297, -0.0909973606, -0.0925837532, 0.0148363914, 0.0007039074, -0.0133607714, -0.0100741051, 0.0072948905, 0.0121114664, -0.0052199862, -0.0026819748, 0.0009302543, 0.0163883567, -0.055750154, 0.0220262483, 0.0041419226, -0.0130983982, -0.0173917562, 0.0419389382, -0.0100054089, 0.0630079582, -0.0338701829, -0.0299441349, -0.0199048296, -0.0380444676, 0.0883901641, 0.0306561384, -0.0250196178, 0.0074791154, -0.0998308063, -0.0636337772, -0.0329932161, 0.0045820158, -0.0030945914, -0.0609173588, 0.0091095101, 0.0399265066, 0.019975435, -0.0540552065, -0.0243685599, -0.0357688069, -0.018820338, 0.0168808624, -0.035253454, -6.618552617e-33, -0.0023493271, -0.0324272215, -0.0212406814, -0.0112786507, -0.0147957699, -0.020296881, -0.00989269, 0.0293275844, -0.0251601133, -0.0107130455, -0.0341419689, 0.0301421396, -0.0020318746, -0.0200659093, -0.0018045665, -0.0805896074, 0.0298480615, -0.0372428782, -0.0341862552, 0.0277573001, 0.0313229561, 0.0157898907, -0.0056326431, -0.1107382849, 0.070374243, -0.0148834512, -0.0278806034, 0.0077628582, -0.0345373675, 0.0582774766, -0.003571738, 0.0216021128, 0.0049444153, -0.0158240739, 0.0231435243, 0.0600260235, -0.0399990678, -0.0337813757, 0.0213099364, -0.0126575558, -0.0636913329, -0.0586926714, 0.0417009629, -0.0063960077, -0.0321693346, -0.0196736548, 0.0242621638, 0.0187056772, 0.0071698884, -0.030881783, -0.0601810515, -0.0330741331, -0.0155553268, -0.0288790762, -0.0086123236, 0.0821432322, 0.0056833974, -0.0174892191, -0.0613767393, -0.011258102, -0.0273228865, -0.0162416305, 0.0361209065, 0.0670100525, -0.0113845868, 0.0740489513, 0.0059938608, 0.050005544, -0.0366106294, -0.0498812161, 0.012342195, 0.0469600931, 0.0049579642, 0.016876556, 0.016638292, -0.059005186, -0.0298649538, 0.0095257675, -0.0246315561, 0.0420975536, 0.0407885648, -0.002860981, -0.0631730407, -0.0161728989, -0.0481760874, -0.0396359153, -0.0489951931, -0.0340034626, 0.0384565443, 0.013046884, -0.0363442972, -0.0351419598, -0.0115654813, -0.0584824085, -0.0092237256, -0.0072878134, 0.0323891714, -0.0397313274, 0.0052734683, 0.0283890367, -0.0242136158, -0.0160806719, 0.0167455822, -0.0420076922, 0.0338015743, 0.0252701547, 0.0398663059, 0.0335907377, -0.0497234017, -0.0274584368, -0.0302381907, 0.0573636815, 0.011866373, 0.0474893451, 0.0395452231, 0.013688284, -0.0187697951, 0.0037488407, 0.0307537075, 0.0385445058, -0.080079928, 0.0382896438, -0.0327867009, 0.0128843067, -0.0069894143, -0.0297920182, 0.001042334, 0.0416345224, 0.0641365871, -0.1106361374, -0.0290898122, -0.0186700393, 2.883e-7, 0.001172416, 0.0394730978, 0.0080355089, 0.0521817803, 0.0173849054, 0.1020950153, 0.0025885543, 0.0898300931, 0.0282817278, -0.0211887229, -0.0017816178, 0.016567301, 0.0395698436, 0.0393568277, -0.0590042248, 0.0027012359, -0.0110632572, 0.0176391285, -0.017028885, -0.0022036859, 0.071931608, 0.0668160766, 0.022094639, -0.0215691216, -0.0014894551, -0.0199387297, 0.0416057892, -0.0469607078, 0.0373410732, -0.0410708822, 0.0298695359, 0.0270273406, 0.0175247695, 0.0398421548, -0.0066715786, 0.0140322037, -0.0263534095, 0.0638907254, -0.0116241425, -0.0516459756, -0.0191382878, -0.0148310252, 0.0041613225, -0.036840979, 0.052037932, -0.035452351, -0.0174831618, 0.006535511, 0.0258237235, 0.0031897016, 0.0311470348, -0.0019346082, -0.0238937624, -0.0161037911, 0.0143163204, 0.0213200022, 0.02994591, -0.0664326251, -0.0174703654, -0.0165834539, 0.0282957554, -0.0737623796, -0.005563709, 0.060638275, 0.0103556765, -0.0259876996, 0.0104943076, 2.595357447e-34, -0.0029700955, -0.0161886569, 0.037498232, -0.0190922264, 0.0591198653, 0.0092169391, 0.0490368828, -0.0010006822, 0.0497250669, -0.0103100687, -0.0191146918 ]
http://arxiv.org/abs/2406.12091v2
http://arxiv.org/pdf/2406.12091v2
Is poisoning a real threat to LLM alignment? Maybe more so than you think
2024-06-17T21:06:00
2024-06-19T17:56:17
Pankayaraj Pathmanathan, Souradip Chakraborty, Xiangyu Liu, Yongyuan Liang, Furong Huang
cs.LG
cs.LG, cs.CL, cs.CR
Recent advancements in Reinforcement Learning with Human Feedback (RLHF) have significantly impacted the alignment of Large Language Models (LLMs). The sensitivity of reinforcement learning algorithms such as Proximal Policy Optimization (PPO) has led to new line work on Direct Policy Optimization (DPO), which treats RLHF in a supervised learning framework. The increased practical use of these RLHF methods warrants an analysis of their vulnerabilities. In this work, we investigate the vulnerabilities of DPO to poisoning attacks under different scenarios and compare the effectiveness of preference poisoning, a first of its kind. We comprehensively analyze DPO's vulnerabilities under different types of attacks, i.e., backdoor and non-backdoor attacks, and different poisoning methods across a wide array of language models, i.e., LLama 7B, Mistral 7B, and Gemma 7B. We find that unlike PPO-based methods, which, when it comes to backdoor attacks, require at least 4\% of the data to be poisoned to elicit harmful behavior, we exploit the true vulnerabilities of DPO more simply so we can poison the model with only as much as 0.5\% of the data. We further investigate the potential reasons behind the vulnerability and how well this vulnerability translates into backdoor vs non-backdoor attacks.
[ 0.0225318298, 0.060309656, -0.0057090856, 0.0416999459, -0.0425124019, -0.0026008033, -0.0131929526, -0.008261404, -0.0003091464, -0.0052833664, -0.0477280766, -0.0008027051, 0.0290751047, 0.0226576496, 0.0496479273, -0.0134902159, 0.0758250132, -0.0279133152, -0.0158498306, -0.0257042497, 0.0098685808, -0.0216588378, 0.0227220971, 0.0214239527, 0.0304813255, -0.0291505046, -0.0296029244, 0.0312571339, 0.0583802871, -0.0107247178, -0.0070648426, 0.0059068836, 0.0008683202, 0.0706662461, 0.0000018703, -0.0365872607, -0.049243819, 0.0329026207, 0.0032059199, 0.0011823266, -0.0069784382, -0.0151757337, -0.0482023545, 0.0310036168, -0.027776029, 0.0344248116, 0.0472984798, 0.0341966599, 0.0668611303, 0.1168131828, 0.0068691899, -0.0074519683, 0.0406874605, -0.0258837976, 0.0217519235, -0.0202802457, 0.0357320718, -0.0565866902, -0.0139640616, -0.0083949948, -0.025130406, -0.0056878775, -0.011409306, -0.0180247985, -0.0687062591, 0.0294336546, 0.0139471488, -0.0280286521, -0.0062115006, 0.0486976355, -0.0488460436, 0.0141507806, 0.009616809, -0.0058663464, 0.009430185, -0.0110400198, 0.0389388539, 0.0165841263, 0.007397254, 0.0380883291, 0.0694651529, -0.0360105298, 0.073509641, -0.013336706, 0.0191588812, 0.1047163084, 0.0265500713, -0.0527596399, 0.0239286665, 0.0015412001, 0.0039723646, -0.0583453029, -0.0369075462, -0.0039576269, -0.0474602357, 0.0354322419, -0.0802223384, 0.0237439107, 0.0250552502, -0.0597019866, 0.0608427338, 0.0624369718, 0.0233714487, -0.0029541291, 0.0327752903, 0.0453972742, -0.0675240681, 0.0729792118, -0.0119564096, 0.0535968803, 0.0272107162, -0.0069273766, 0.0373243093, 0.0183053296, -0.0322591551, -0.0092014074, -0.0331651159, 0.0438180715, -0.0554102063, 0.0592102855, -0.0178615246, -0.0057889614, -0.0158614535, 0.0238665864, -0.0118568186, 0.0139793474, 0.0026694946, 0.0031828927, -0.0019373129, -0.036135383, -0.0319316499, 0.0120484633, -0.0891645551, -0.0454614908, -0.0156418607, 0.1231727749, -0.004779771, -0.0042049983, -0.0286801159, -0.0569218583, -0.04714204, -0.0476069339, -0.0151873101, -0.0534560941, -0.0245424882, -0.0355772339, -0.0157724936, -0.0692551509, 0.015259291, 0.0006208725, -0.0564623512, 0.0491314083, 0.0038114749, -0.0157865267, -0.0101608755, 0.0057154354, -0.0391901396, 0.0766015202, 0.0273909736, 0.0277086496, 0.0195428878, -0.0138429571, -0.0135031817, 0.0383254178, 0.0141977444, 0.0607182793, -0.0186561812, -0.0025909843, 0.04341086, 0.0247384645, 0.025066765, 0.0565345995, 0.0029824015, -0.0497411676, 0.0995161533, 0.007332975, -0.034729816, -0.0009125491, -0.0209942833, -0.0176160485, -0.0192960128, 0.0421298854, -0.1016563252, -0.0123229595, -0.0575552024, 0.0075573809, 0.0076794894, 0.0532692745, -0.0023639891, -0.0410389006, -0.0044945595, 0.0025555338, -0.0117649846, 0.0298283789, 0.0113807963, 0.0090364106, -0.0192616917, 0.003999942, 0.0152246421, -0.0250676349, 0.0059888698, -0.0371686928, -0.018832637, 0.0512288474, 0.0436061062, -0.0394436307, -0.0422944501, -0.0230496787, -0.0535696149, 0.0265794769, 0.0183398593, -0.0076467684, -0.001320216, 0.0006478109, -0.0231724642, -0.0111037008, 0.0011188794, 0.0043991026, 0.012123052, 0.0059750145, -0.0455347411, 0.0357126221, -0.0428181179, 0.0502600297, -0.0055088573, -0.0556957945, 0.0049007167, 0.0468299985, 0.0261526536, 0.0117977094, -0.0283246748, 0.0018154094, 0.0469148308, 0.0042714751, 0.024843365, -0.0159602035, -0.0154875377, -0.0190862026, 0.0688889697, -0.0171172619, -0.0339658521, 0.0525132716, -0.0671650842, -0.0275398027, 0.0119441813, 0.0001848836, 0.0228441823, 0.0208166037, 0.0257282015, -0.0119662024, 0.0190630071, -0.0567379929, 0.0186168533, -0.0317166522, -0.0059473272, -0.0164027158, -0.0004220497, 0.0034328753, -0.0604086109, -0.0657159016, 0.0213345643, 0.0004390115, 0.0142354472, 0.0126564512, 0.0091996584, -0.0325508937, -0.0240276512, 0.0069294879, 0.0083162561, -0.0138087412, 0.0457211994, 0.0166448317, -0.0003799903, -0.0362226553, -0.0214604586, -0.024978593, -0.0318467207, -0.0173747763, 0.029714318, 0.0399071164, 0.0096219853, -0.0357783735, -0.0314130485, -0.0169333983, -0.0289001707, 0.0223102644, -0.032741718, 0.0078894589, -0.0455633588, 0.0268944334, -0.0188558791, 0.0214918815, -0.0071612746, -0.0421506986, 0.0338478535, 0.035247054, -0.0297226328, 0.1112230122, -0.0193509869, 0.0478577428, 0.1074461862, 0.0440764315, -0.0439581685, -0.0035240713, -0.0107471365, -0.0564181767, -0.0725536272, -0.0048769582, -0.0077203214, 0.0652622059, -0.0097136628, -0.0292829853, -0.0250155423, 0.0151172746, 0.0203034803, -0.0340612382, 0.0174182914, -0.0259779058, -0.0556279607, 0.0041790842, -0.0323255621, -0.0881919488, 0.0849807486, -0.0325322635, 0.0261010639, -0.035999082, -0.0332615077, -0.0065946095, -0.0129771894, 0.0084412657, 0.0247850008, -0.0255645625, -0.0167110488, -0.0606151298, -0.0226194616, 0.0502717718, -0.0155447824, 0.0469863936, -0.0194814298, 0.0017276889, -0.0268565826, -0.0944941491, -0.0679573715, -0.0498146527, 0.0055970573, -0.0133155724, 0.0091981469, -0.0423617065, -0.0129700694, -0.0413711295, 0.018502418, -0.0199734271, -0.0164577197, -0.0066923504, -0.0361076817, -0.0040131528, 0.0528554432, -0.0516407974, 0.023602074, 0.000319221, 0.0103568509, 0.0572021417, 0.0331964195, -0.0072241584, -0.0131626884, 0.0365652256, 0.0362854898, -0.0269019622, 0.0021270022, 0.0190876909, 0.0147166671, -0.0135797486, -0.0103599289, 0.0398176536, 0.0060093398, -0.0550542697, 0.0317267925, 0.0093099643, 0.0714666322, 0.0158857517, 0.0467658155, -0.0591069907, 0.0115620224, 0.0438588709, 0.0625543818, -0.0295153782, -0.0193157252, -0.0195559319, -0.1307531893, -0.0181693267, 0.0206703041, -0.0427798182, -0.0176973306, -0.0363344364, 0.0082952539, -0.0182982888, 0.0668273494, -0.0039205868, -0.0023005574, -0.0111145442, 0.0161681995, 0.0243445262, -0.0221409164, -0.0317636095, -0.0202214811, 0.0513039865, 0.0929402858, 0.001877516, -0.0206988323, -0.0063185389, 0.0290567949, 0.0432472788, -0.0308840498, 0.0184597895, 0.0079497611, -0.0229056496, -0.0144277941, 0.0162183233, 0.0542349815, 0.003639621, 0.0008832975, -0.0053399247, 0.0542207286, -0.0035760559, 0.0001576197, -0.0171154868, -0.0130110122, 0.0377698988, 0.0425425693, -0.0051902765, -0.0457625501, -0.0237657744, -0.0616105236, -0.0207806863, 0.0105880518, -0.0444626957, 0.0344148055, -0.0121847102, -0.0273370668, -0.0371996723, -0.0056940406, -0.0209026653, 0.0584119149, 0.0349664167, 0.0136179077, -0.0234464258, -0.0005390178, -0.01137219, 0.0032550546, -0.0008766383, 0.0409766436, -0.0588719361, 0.0040460862, -0.0241685901, 0.0102480026, -0.0116051473, -0.0342158042, -0.0552790463, -0.1138358936, 0.0352443829, 0.0647670031, 0.024310492, 0.0698060095, 0.0085522113, -0.0312819593, 0.078469038, 0.0441395752, 0.0297757536, 0.0368739255, 0.0504363403, -0.0255053528, 0.0236888211, 0.0376376547, -0.0427178107, -0.0511339717, 0.0827829763, 0.0180542339, -0.0110851377, 0.0078974785, 0.0154854478, 0.0171289481, 0.062213067, -0.0522933118, 0.0320633464, 0.0019977677, 0.0329675265, -0.0063476334, -0.0061568762, 0.0122009274, -0.0244083479, 0.0173622817, -0.0082839467, 0.028861545, -0.0026909048, 0.0186471157, 0.0239055287, 0.0139170373, 0.0336601958, 0.0423254296, 0.0323349275, 0.0715589374, 0.052046258, -0.0031606231, 0.0606489182, 0.0183411762, 0.0518354066, 0.0234312471, -0.0036530022, 0.0417073928, 0.0219499152, -0.0366794728, 0.0294106342, -0.0429461487, -0.0636443943, -0.0032018325, 0.0087670134, 0.020909654, -0.0256368592, 0.0119662993, -0.0161247905, -0.0186053161, -0.0186143089, -0.0396799296, -0.0510343201, -0.014277434, 0.02917221, -0.0134497238, -0.0089618461, 0.0306253042, 0.0645747557, 0.0367205143, 0.0678379759, -0.0256282501, 0.0048302659, -0.0043740408, -0.028477544, 0.0265062973, 0.0360770524, -0.0361981429, -0.0845862851, -0.0595753267, -0.104822889, -0.0136435479, 0.0229989793, -0.007744879, 0.0163550954, -0.009378613, 0.0073223906, 0.0073727653, 0.0243596192, -0.0384699218, -0.0109289577, 0.0014294445, -0.0711303949, 0.0141027104, -5.636568881e-33, 0.0103437183, -0.0292761121, -0.0103823924, 0.0212732535, -0.0109782806, -0.0270226896, 0.0020054674, 0.0041389661, -0.0163270738, -0.0071498686, -0.0290432293, -0.0158802345, 0.0100578433, 0.0092138313, -0.0046743057, -0.0247668792, -0.0131158242, -0.0147057297, -0.0419722758, -0.0097841322, 0.0501098409, 0.0071078828, 0.0203440934, -0.0451633222, 0.050752379, 0.0101878187, -0.0301104058, 0.0360015556, -0.0769440532, 0.0726742148, 0.0136389788, 0.0192762278, -0.0132761355, -0.0109233614, 0.0046849605, 0.0390012786, -0.0062241596, -0.0371549316, 0.0048655346, 0.0001358673, -0.0074750907, -0.0738390684, 0.0630673617, 0.0178878885, -0.0383880585, -0.0001549454, -0.0031508363, -0.0088323867, -0.0366940461, 0.0176970717, -0.0512404591, -0.0066641672, 0.0001221753, 0.0199550316, 0.0103996936, -0.031106554, 0.0217126776, 0.0134988725, -0.0482660234, 0.0387064889, -0.0047548097, 0.0315506905, 0.1042595506, 0.059992034, 0.005772416, 0.0610267892, 0.0222862754, -0.0003616005, 0.0149810072, -0.0073650731, 0.0061318735, 0.0019194362, -0.0155964894, 0.0472469665, 0.0282792915, -0.0027679536, -0.0394923724, 0.0286259688, 0.0221323725, 0.0072126533, 0.007806906, 0.0235607829, -0.0740883574, -0.0177893881, -0.0333686136, -0.0419108123, -0.0130641032, -0.042975232, 0.0024063012, 0.0060803569, -0.0049889726, -0.0264914799, -0.0003545468, -0.0424935855, -0.0256973654, 0.0041669356, -0.0153032914, -0.0123070786, -0.0072741229, 0.0021930218, -0.0457204767, -0.0151952058, -0.0448754765, -0.0557847209, 0.0293513052, 0.0218672566, 0.0402522162, 0.026549276, -0.0582047366, 0.0085044308, -0.0314868279, 0.0210428294, 0.052856084, 0.0501124747, 0.0461780429, -0.050243631, 0.0210432317, 0.0251048673, 0.0584187806, 0.0368807763, -0.0121264225, 0.0318087824, -0.0305181351, -0.0039300965, 0.001760524, 0.0221658386, 0.0096015064, 0.0913256481, 0.0012502559, -0.0703917146, 0.00153329, -0.0340745561, 2.701e-7, 0.0318107642, 0.0187892877, 0.039898932, 0.0152635984, 0.0015593789, 0.0697773173, -0.0277451128, 0.0763510913, -0.0244276356, -0.0187773369, 0.0071727075, -0.0225916933, 0.0249603223, 0.0062915427, -0.0553561039, 0.0446072407, -0.0624781922, 0.0216682982, -0.0725373328, -0.0170928109, 0.0175854545, 0.1001087353, 0.0406844057, -0.0396665074, -0.0153582599, 0.0030859206, 0.0255782995, -0.0219113044, -0.0096841408, -0.0194960553, 0.0305182189, 0.0024650458, -0.0135868657, -0.0052607264, -0.0283210091, 0.0159353949, -0.0801641941, 0.0142516857, -0.018591037, -0.0763789862, -0.0400734618, -0.0294326171, 0.0081660915, -0.0327950232, 0.0531695709, 0.0002659882, -0.0205869265, -0.0035218094, -0.0025345203, -0.0452086292, 0.0680162609, -0.0318159871, 0.0016448611, 0.0305410139, -0.0156699643, 0.0180686712, 0.0023658541, -0.0641149655, -0.0258734543, -0.0122785512, -0.011659652, -0.0569042936, 0.0037966168, 0.0812231898, -0.0058716433, -0.0100077605, -0.0273565184, 2.723754261e-34, -0.0222656243, -0.0538272262, 0.0179319251, -0.0109166261, -0.0035580783, -0.0002551816, -0.0016295037, 0.0256069545, 0.0124593768, -0.0496353395, -0.0258392673 ]
http://arxiv.org/abs/2406.12084v1
http://arxiv.org/pdf/2406.12084v1
When Reasoning Meets Information Aggregation: A Case Study with Sports Narratives
2024-06-17T20:49:35
2024-06-17T20:49:35
Yebowen Hu, Kaiqiang Song, Sangwoo Cho, Xiaoyang Wang, Wenlin Yao, Hassan Foroosh, Dong Yu, Fei Liu
cs.CL
cs.CL, cs.AI
Reasoning is most powerful when an LLM accurately aggregates relevant information. We examine the critical role of information aggregation in reasoning by requiring the LLM to analyze sports narratives. To succeed at this task, an LLM must infer points from actions, identify related entities, attribute points accurately to players and teams, and compile key statistics to draw conclusions. We conduct comprehensive experiments with real NBA basketball data and present SportsGen, a new method to synthesize game narratives. By synthesizing data, we can rigorously evaluate LLMs' reasoning capabilities under complex scenarios with varying narrative lengths and density of information. Our findings show that most models, including GPT-4o, often fail to accurately aggregate basketball scores due to frequent scoring patterns. Open-source models like Llama-3 further suffer from significant score hallucinations. Finally, the effectiveness of reasoning is influenced by narrative complexity, information density, and domain-specific terms, highlighting the challenges in analytical reasoning tasks.
[ -0.0257089753, 0.0394916348, -0.0032201717, 0.0327127092, -0.0308101755, 0.0353775583, -0.0475155525, 0.0095189698, -0.0344685838, -0.0184356142, 0.0448579416, -0.0194789171, 0.048659876, 0.0422021523, 0.0080585247, -0.0301933419, -0.0326868221, -0.0235353895, 0.036662396, -0.016623918, -0.0080326702, 0.0573205389, -0.03554767, -0.0116941575, -0.0293442197, 0.007250885, -0.0114518218, -0.003436402, 0.007070797, -0.0340535119, -0.082354106, 0.0153868813, 0.0333963335, -0.0563611351, 0.0000019764, -0.0730685368, 0.0253659114, -0.0407815874, -0.0249202047, 0.0119618597, -0.0110741546, 0.0101791676, 0.0526896194, -0.0032866623, -0.0230515599, 0.0217207111, 0.0172680374, 0.0195620712, 0.0293895807, 0.0538921058, -0.0155880209, -0.0704522058, 0.0290868431, -0.0099971369, 0.0225707702, -0.0292146672, 0.0096584223, 0.0698547065, 0.0223752409, -0.0395502374, -0.0035341636, -0.0066632791, 0.006364618, 0.0327759236, 0.0001267615, 0.0673755854, 0.0291286483, 0.0260117911, 0.0071493424, 0.0468685292, 0.0046483688, -0.0091686025, 0.0453711338, -0.0123830084, 0.0291603636, -0.0034279446, -0.0433133394, 0.0319152325, -0.0349812284, 0.031602066, -0.0025671057, 0.0241502225, 0.0342075452, 0.0121226124, -0.0568151176, 0.0335969701, -0.0129516069, 0.0006759334, -0.0602939054, 0.031876985, 0.017221678, -0.0898438618, -0.0326119997, 0.0423272811, -0.0337690003, 0.0131321298, 0.0221577529, 0.0592510849, -0.0144546842, -0.0304292515, 0.0548867658, 0.0389578417, 0.031229103, 0.0498467237, -0.0037523846, -0.0107295914, -0.0092290752, 0.0066320556, -0.0217610244, -0.0020104228, -0.0827878341, 0.0149335116, 0.0446070991, 0.0623352155, -0.0411131568, 0.0460205041, -0.0184386056, 0.014924055, 0.000410005, 0.014792948, -0.0360532179, 0.0130649777, 0.0355153419, -0.0286349654, -0.0815315098, -0.0171916913, -0.0881066248, 0.0279276855, 0.0197543576, -0.0271743555, -0.006802008, -0.0258339904, 0.0254582576, 0.0136013059, 0.0341328047, 0.0353025533, 0.0086384527, 0.0470385551, -0.0691682473, -0.0602478869, 0.002308459, -0.1167575866, -0.015296679, -0.0805655047, 0.0711643845, -0.0098328581, -0.0168701392, -0.0386541039, -0.0135453995, 0.0041319956, -0.0744708627, 0.0542342961, -0.0181620754, 0.0275989193, 0.0141943144, 0.013198196, 0.0115359528, 0.0350621827, 0.0667368174, 0.0174869392, -0.0157695841, 0.0320593901, 0.0630707443, -0.0000394042, -0.0111955181, 0.0208921768, -0.0317839198, 0.0199537408, -0.0671683699, 0.0232463423, -0.042007558, 0.0294675734, -0.0327795856, 0.0183447134, 0.0667462572, 0.06990771, 0.0322686806, -0.0148796225, 0.0574788637, -0.0254890192, 0.0197770912, 0.0230949502, -0.0425467528, 0.0803428739, -0.0045510973, 0.0304268505, 0.0029580432, 0.0236032344, -0.030846158, -0.0832703933, -0.0074961456, -0.005055631, -0.0439655185, 0.0432273634, 0.0213030241, -0.0345590152, 0.0059669022, 0.0612582788, 0.0034628131, -0.0432777293, 0.022381667, -0.0176612493, 0.0425847434, 0.059315566, 0.0463532433, -0.0471858382, -0.0349465832, -0.0388484895, 0.0120261451, -0.0002480002, 0.0089997975, -0.0031335419, -0.0044839159, -0.0366365835, -0.0289473198, -0.0177584048, 0.0357877463, 0.0276075471, -0.0515184477, -0.0274209641, -0.007626859, -0.0137375602, -0.018966021, 0.0179048441, -0.0669890866, -0.0204049088, -0.0082327547, -0.0401133075, -0.0327720977, 0.0547329299, 0.0139269652, 0.024084067, 0.0197530519, -0.0049970816, -0.061869286, 0.0485642627, -0.002804426, 0.0059982305, 0.0034320694, -0.0115239853, -0.0291750915, -0.0650622174, -0.0372653529, -0.0428825915, 0.0186586976, -0.0097651314, 0.0142557425, -0.0151400128, -0.003882702, -0.0001144716, -0.0188057143, 0.0099122059, 0.0880027339, -0.0011753229, -0.00318314, -0.0100757927, -0.0082471594, 0.0104360655, -0.0228214972, 0.0736024082, 0.046357926, 0.0170597397, -0.0136358896, 0.0217470843, -0.0610973351, -0.0539799519, -0.003728814, -0.0505058989, 0.0573198274, -0.0130643696, 0.0172570609, -0.001819725, 0.0013999139, -0.0473654196, 0.0203025304, -0.0398818851, -0.0457104594, 0.0239759907, -0.0046075983, 0.0228542723, 0.035612978, 0.0049272832, -0.0142940795, 0.0157197285, -0.0370898321, 0.0567787923, 0.0462795012, -0.0078674164, -0.079237923, 0.0154486382, -0.0779377073, -0.0153877316, -0.0181558151, 0.04860254, 0.032813929, -0.0284685697, 0.0278150458, 0.054348547, -0.0078118541, 0.0044266242, 0.0613730624, -0.116795361, 0.0049545458, 0.0253831893, -0.0347089954, 0.0100528132, -0.0480502062, -0.0450691544, -0.0034971659, 0.0369289182, 0.0115860309, 0.0179353002, -0.0390732698, 0.069325693, 0.0043552909, 0.0048584598, 0.0060910815, -0.0341947079, 0.0057344362, 0.0579941832, -0.0195608586, 0.0131737161, 0.0349506624, -0.0145891625, 0.0612199269, -0.0092018992, -0.0239602849, -0.0360774584, 0.0785145238, 0.0203165002, 0.0195857491, -0.0000275365, 0.0109266303, -0.0177695733, -0.0418069772, 0.0634679496, -0.0289514065, 0.0572939664, -0.0509021133, -0.0199029483, 0.0341705941, -0.0081353486, -0.0143735902, 0.0070768055, -0.0390921719, -0.0264345054, -0.0035414153, -0.0014488605, -0.0950665325, -0.0648830235, 0.0631003752, -0.0413871296, -0.000575166, -0.0401471294, 0.0280954149, 0.016745057, 0.0059556952, 0.0016440381, 0.0205190778, -0.0693638548, 0.0431819037, 0.0674232319, 0.0024518657, 0.0095229046, 0.00889521, 0.0106402701, -0.0242286399, -0.0131997298, -0.032282643, 0.0413209796, 0.0241064429, -0.0515685491, 0.0514497049, 0.121056065, 0.0403903425, 0.0325252488, 0.0004141682, 0.0253479332, -0.0437666923, -0.00780336, 0.0024206468, -0.0789188147, -0.0013513088, 0.0239977185, 0.0141266594, -0.0311377756, -0.0753540024, -0.0359616913, -0.0605932288, 0.0486175194, 0.0187947247, 0.0432102457, -0.02697476, -0.0451355316, 0.012274473, -0.0439911671, -0.0386057906, 0.0095137693, 0.0041479124, 0.0190475825, -0.0114933187, -0.0420580581, 0.0261889286, 0.0306620467, -0.0347779654, 0.0165675469, 0.0039726552, 0.0774615556, -0.0349338539, -0.0314656086, -0.0375422575, 0.0584079027, 0.0018758813, 0.0055930372, 0.0814186186, -0.0076010325, 0.0316096246, -0.0307998974, 0.0486785062, -0.0110349441, -0.0237166062, 0.0076947496, 0.0600305311, 0.0102665825, -0.0330004096, 0.0096145114, -0.0095774066, -0.0414169431, 0.0564445667, 0.0064340434, 0.0185196288, -0.0210715085, -0.0255133305, 0.0052095787, -0.0524482131, -0.04028273, 0.0011641969, 0.0241506752, -0.003985892, -0.0063108481, -0.0690331161, -0.0008747785, 0.0189249758, -0.0152404169, 0.0563826673, -0.0332597382, -0.0426243395, -0.0695490167, 0.0190363806, -0.042203173, 0.0219735783, 0.0579771139, 0.040533185, 0.047635898, -0.0329264998, 0.0111363046, 0.0438302681, -0.0280352049, -0.0493291058, -0.0141702555, 0.0111104557, 0.0324021205, 0.0206288528, 0.0423653647, -0.0112579241, 0.0226377845, 0.0160538275, -0.0187260378, 0.0348959118, -0.0258150809, 0.0248429738, 0.0186705235, -0.0027059466, -0.0137786129, 0.0505877882, -0.0196683779, -0.0056252251, -0.0803027079, 0.0104975412, 0.0175573789, 0.0125568807, 0.0245654024, 0.0027910904, -0.0415554605, -0.0225073379, -0.0062637678, -0.0463704877, -0.006206539, -0.0041491291, -0.005360059, 0.0141428635, 0.0061616814, -0.0179109275, 0.0198455136, -0.0272515062, 0.0066535664, -0.0458244234, -0.0096958689, 0.000986381, -0.0389587991, 0.0108029936, -0.0350962915, 0.0036757507, 0.0121231973, -0.0340140425, 0.062473245, 0.0329431966, -0.0025699208, 0.0209296029, -0.0002201229, 0.0138697578, -0.0002996703, -0.0565542802, -0.0166287813, 0.0250607096, 0.0107139498, 0.0724625885, -0.004301446, -0.0024879901, -0.0097092986, 0.0207652841, 0.0131755313, 0.0022516758, 0.0026943123, 0.001077887, -0.0233365744, 0.0401853845, -0.0349735171, -0.0051476187, 0.0219538119, -0.0166794956, 0.0477782302, -0.0265903175, -0.0347732492, -0.0127884811, -0.0384910032, -0.0223724395, 0.0099147009, -0.0120153921, -0.0285633672, -0.1194168627, -0.0034795986, 0.036721658, 0.0076204101, 0.0237698164, -0.0015714552, -0.0250327382, 0.0280432198, 0.0198377296, 0.0167075805, -0.013346917, 0.0315210596, -0.0543416254, -0.0052332911, 0.0409036912, -6.119631305e-33, -0.0177702978, -0.0702861771, 0.052806139, 0.00556794, -0.0626680031, -0.0117063727, -0.0303040016, -0.0147054624, -0.0023996802, 0.0328869149, 0.0121545326, 0.0355485752, -0.0051807333, -0.0305332411, 0.0309548192, -0.0532493405, 0.0190572944, -0.0019783094, -0.0419429503, -0.0044221389, 0.0432833135, 0.0100565562, 0.0149011137, -0.0706368238, 0.035730157, -0.0378515311, -0.0157129578, 0.0024998893, -0.000930133, 0.0079917433, 0.0158308726, -0.0445067473, 0.0515188389, -0.0453812853, -0.0301705934, 0.0212324802, -0.0265738592, -0.0151244188, 0.0282584317, -0.0372819193, 0.0085605243, -0.0126621881, 0.0289675072, 0.0233635642, 0.0242646188, -0.0831981748, 0.0343338251, -0.0485669635, 0.0366067402, -0.0344957896, -0.0255476329, 0.0377050936, 0.0001334518, 0.0012507943, 0.0236968808, 0.0258470029, 0.0078052706, 0.0086789131, -0.0089156739, 0.0181935579, -0.0176538043, -0.0004816097, 0.0257959217, 0.0136961797, -0.0095695397, 0.0382670835, 0.0404209532, 0.0016492868, -0.1505180001, 0.0296170842, -0.0304787774, 0.0664824471, 0.0626278371, 0.0244473536, 0.0169969387, 0.0525811538, -0.0674882755, 0.0390924066, -0.0031163187, 0.0295039695, -0.0091543933, 0.0318790227, -0.0651319548, -0.0128015066, -0.0325432196, 0.0098730912, -0.0146158021, -0.0485540144, -0.0203054845, -0.0328985155, -0.0144416532, 0.0444647186, -0.0185055193, 0.0234980695, -0.0008464725, 0.0122549534, -0.0056553739, 0.0554949604, -0.0314253494, 0.0082818298, -0.0387237817, 0.0238008723, 0.0033716804, 0.0144625735, 0.0321433321, 0.0009223183, -0.0074316105, 0.0269859023, -0.0047476343, -0.0248600654, -0.0155110536, -0.0084092403, 0.0114465673, -0.0649148896, 0.0241232831, 0.0434503108, 0.0146449879, -0.0295622554, -0.0003178312, -0.0339870714, -0.0154779516, 0.0249097496, -0.0346644931, 0.0001701243, 0.0268189907, -0.0210448708, 0.0246701129, 0.0026886493, 0.0358866006, 0.0011547019, -0.0393262655, -0.0013140339, 2.8e-7, 0.0171241388, 0.0339018628, -0.0123283369, 0.0104819648, -0.0328775719, 0.0489401147, -0.0302413888, 0.007581864, 0.0297776498, -0.0827782229, 0.0324487723, 0.0829654559, 0.033157602, 0.0977651775, -0.074542433, -0.0492827706, 0.0194721855, -0.0559416227, -0.0559890904, 0.0011052372, 0.0994467884, -0.015708575, 0.1086001396, -0.0069890004, 0.0209030211, -0.049811434, 0.0641278699, -0.01445588, -0.0418444462, 0.072277382, 0.0328458138, 0.0163517296, -0.0435250401, 0.0242336132, -0.0400449894, -0.0002675898, -0.0034827325, 0.0083610211, -0.0085855732, -0.0088633802, -0.0326315686, -0.0656820908, -0.0131449513, 0.0189840775, 0.0605453067, -0.0270974133, -0.0584918261, 0.0085207904, -0.0513877533, 0.000465763, -0.0122893872, 0.0338966884, 0.0034981379, 0.036895819, -0.0270217247, 0.0123149687, 0.0382217728, -0.0681378171, -0.0086766575, 0.0430252515, -0.0332248919, -0.015767701, 0.014550576, 0.0063714297, 0.0068892767, -0.0659737438, 0.0027635135, 2.266365047e-34, 0.0018914568, 0.0223000813, -0.0066767717, -0.0078413747, 0.0288542882, 0.0032126897, -0.0217648596, 0.0151869496, 0.0455789939, -0.0266458038, -0.0015657913 ]
http://arxiv.org/abs/2406.12074v1
http://arxiv.org/pdf/2406.12074v1
COMMUNITY-CROSS-INSTRUCT: Unsupervised Instruction Generation for Aligning Large Language Models to Online Communities
2024-06-17T20:20:47
2024-06-17T20:20:47
Zihao He, Rebecca Dorn, Siyi Guo, Minh Duc Chu, Kristina Lerman
cs.CL
cs.CL
Social scientists use surveys to probe the opinions and beliefs of populations, but these methods are slow, costly, and prone to biases. Recent advances in large language models (LLMs) enable creating computational representations or "digital twins" of populations that generate human-like responses mimicking the population's language, styles, and attitudes. We introduce Community-Cross-Instruct, an unsupervised framework for aligning LLMs to online communities to elicit their beliefs. Given a corpus of a community's online discussions, Community-Cross-Instruct automatically generates instruction-output pairs by an advanced LLM to (1) finetune an foundational LLM to faithfully represent that community, and (2) evaluate the alignment of the finetuned model to the community. We demonstrate the method's utility in accurately representing political and fitness communities on Reddit. Unlike prior methods requiring human-authored instructions, Community-Cross-Instruct generates instructions in a fully unsupervised manner, enhancing scalability and generalization across domains. This work enables cost-effective and automated surveying of diverse online communities.
[ 0.0443663932, 0.1275036484, -0.0212361459, 0.0206152853, -0.019989118, 0.013449179, 0.0045957933, -0.0136164259, 0.0292112194, -0.0328037776, -0.0234777611, -0.0162831713, -0.0118537992, 0.0071333125, 0.0197687373, -0.021221716, -0.0003986893, 0.0198627673, -0.004557516, -0.051429484, 0.0519602112, 0.0542124771, -0.0073401351, 0.0217354447, 0.0154099343, -0.0247411039, 0.0182101708, -0.0077375565, 0.0251180772, -0.0018283906, 0.0284180734, 0.0370349735, 0.0208423063, 0.0557840168, 0.0000019214, -0.02792757, 0.0131450994, -0.0069494094, 0.0263972245, -0.002181435, 0.0914916769, 0.0184125826, 0.0267013293, 0.0201477539, -0.0495235287, 0.0382503457, 0.0756504685, -0.0250032954, 0.0783863813, 0.0442130752, 0.0011324582, -0.0519534163, -0.0301846974, -0.0066666431, -0.0049167946, 0.0261943918, 0.0335299522, 0.0102985771, 0.0058078924, 0.0366101675, -0.0198170543, 0.0145536214, -0.0295281075, -0.0394271202, 0.0095282858, -0.0065267095, -0.0253684744, -0.0398669504, 0.0099744592, 0.0840705559, 0.0289406609, -0.0168170296, 0.044155702, 0.0087502832, -0.0194792189, 0.0727459937, -0.0631384999, 0.017269861, 0.0096309185, 0.0448402539, -0.0144300358, -0.0023380043, 0.0361589901, 0.0110417819, 0.010164056, 0.0781694278, 0.0003133622, 0.0171982292, -0.0400197804, 0.0463329703, -0.0063153901, -0.0233657714, 0.0443529226, -0.0084984927, 0.0059030382, 0.0254143346, -0.0097425068, -0.0079098726, 0.0478444621, -0.0398819037, 0.0786784291, 0.0052301725, 0.011256149, 0.0525124036, 0.019151859, -0.0145161301, -0.0243462995, 0.016730167, -0.0185199417, 0.0056914617, -0.0957609266, 0.0142862359, -0.004150406, 0.0000818332, 0.0109083969, -0.0065271826, -0.0607289001, 0.007183102, -0.0677606538, -0.0234588701, 0.0064577959, 0.01391395, 0.0193025433, -0.0123295691, -0.035953477, 0.0349643528, -0.0572613887, 0.0423234515, -0.0020178291, -0.038130939, 0.0374308936, 0.0195388924, 0.0466533229, -0.0123691764, 0.0013188492, 0.0125670489, 0.0337751284, 0.018427372, 0.014344546, -0.0220933128, -0.0238421988, -0.0367748439, 0.0021682263, -0.0952519104, 0.0991425812, 0.0087594418, 0.0074336282, -0.0411638282, 0.0082089556, 0.0385528579, -0.0358031578, 0.0670814738, -0.0120359221, 0.0330889672, 0.0404880419, 0.0164233167, 0.0407753438, 0.0844577029, -0.0026730509, -0.005018462, 0.0234954581, 0.0066356505, -0.0074217799, 0.0372105613, 0.0370970406, -0.0133213792, -0.020323636, 0.0165298171, 0.0023593639, 0.019776538, 0.016423611, 0.0798850432, -0.0082072793, -0.0223109107, 0.0714708567, 0.0695415214, -0.0266309138, 0.0392699502, 0.0382354781, 0.0450423062, -0.0163380206, -0.0117287589, -0.0019316571, 0.0168314837, -0.0153932003, -0.0271185655, 0.0500969924, 0.0431797616, -0.0319939889, -0.0101845171, -0.0054093814, -0.0044042869, 0.0386560783, 0.0098510468, 0.0300628245, -0.0285897478, 0.030894788, 0.0339656845, 0.0545002595, -0.0463569313, 0.011770756, -0.0382730737, 0.0292941723, 0.0448652953, -0.0112222536, -0.004838814, 0.0037556167, -0.0326357335, 0.0547790863, 0.0616525374, 0.0579517148, -0.0193964783, -0.0473811626, -0.0320391133, -0.0085031241, 0.0082012219, 0.0095361611, 0.0151593247, 0.019626243, -0.0066596279, -0.003734828, -0.0066350237, -0.0274200942, -0.0018963837, -0.0300946273, 0.0302317385, -0.0228967946, -0.0095809419, 0.0437128395, 0.0454963222, 0.0080639804, -0.0082176235, -0.0011533939, -0.0153766936, -0.0538897663, -0.0103702573, -0.0025471875, -0.0191550963, 0.0646758229, -0.0834176391, -0.0525283888, 0.0278744288, -0.0120359799, 0.0119627519, 0.0562733561, -0.0476739109, 0.0141871097, -0.0158707742, -0.0463987626, -0.0354348384, -0.0024120449, -0.0099238297, 0.022487279, -0.0110242078, 0.0052559171, 0.039746087, -0.0624667071, -0.0171123296, -0.0152105214, -0.0472818501, -0.0234145448, 0.0029434515, 0.0067263739, 0.0652932823, -0.0108352043, -0.0567532852, -0.0554431006, -0.0605926476, -0.0101198126, -0.0091956956, 0.0316457041, 0.0330668911, -0.0244590268, 0.0089437505, 0.019746203, -0.0742248669, 0.0072354479, -0.004623116, 0.0423289686, 0.0294122491, -0.0154640991, 0.0072151073, -0.0220564809, -0.0245221481, -0.0283492133, 0.0205749944, 0.0544508025, -0.0058328165, -0.0285900012, 0.0078465622, -0.0810550079, -0.0176958758, -0.0046269139, -0.0513739847, 0.0358810127, -0.0201140344, 0.0470978469, 0.0162898954, 0.0406717509, 0.0150375394, 0.0440554358, 0.0409280807, -0.0623406991, -0.0507493801, -0.0686282888, -0.0294176862, -0.0355382338, -0.0707067251, -0.0176851954, 0.0608689263, 0.0167149156, -0.0056442744, -0.0496947356, 0.0536474362, -0.0176708139, -0.008495314, -0.0312914141, -0.0050974889, 0.0042294301, 0.0313540883, -0.0159431435, -0.0211401638, 0.0535819307, 0.0081731426, 0.0215700902, 0.0046619829, -0.0231519081, -0.0037150467, 0.0141058005, 0.0405509658, 0.0462079234, 0.0013641905, 0.0047769384, -0.0113981692, -0.006410195, 0.0441545174, -0.0646617562, -0.019473426, -0.0032001445, 0.0202022232, 0.0366793498, -0.0117029157, -0.0135973943, -0.0450670272, -0.0310072564, -0.0135055874, 0.0436150283, -0.0259345938, -0.0230266415, -0.0059629292, 0.0187637471, -0.0535011999, 0.0136150345, -0.0103934873, 0.0078223273, 0.0364340283, 0.0626157001, 0.005532824, 0.0029359895, -0.047043588, -0.0292660911, 0.0580511093, -0.0044974303, 0.0123569807, -0.0164337177, -0.0411571972, 0.0270886533, -0.0090161003, 0.0140216146, -0.0030308163, 0.0565958507, 0.0090854969, -0.0021193663, 0.1014512181, 0.0215743463, -0.0567383803, -0.0243619792, -0.0130757149, 0.0126149962, 0.0353358798, 0.0063589988, -0.097023569, 0.0035853658, -0.028886456, 0.0279415864, -0.0176741276, -0.0471934974, 0.0087162349, -0.1154685318, -0.0020256981, 0.0159583576, -0.0110696526, -0.0101784496, -0.0567582846, 0.0310854279, -0.0262942687, -0.0311993938, -0.020273177, 0.006387243, 0.0189471543, 0.0131509714, -0.0754793659, -0.0221274756, 0.0211469606, -0.0541550219, 0.0924442708, 0.0470436998, 0.0583146363, 0.0083445143, -0.0509835854, 0.0182236303, -0.0130925374, -0.0244211704, -0.0064643165, 0.0270703062, -0.0112624476, -0.0027171175, -0.0505919494, 0.0601299368, -0.0384662226, -0.0191172846, 0.015813129, 0.0848541111, 0.0233383402, -0.0484637469, -0.0481929295, 0.0438345857, 0.042094022, 0.0784566626, 0.0481343381, -0.049640663, 0.030505253, -0.0437445156, -0.0049320599, -0.0203342214, -0.0822625905, -0.0167143829, 0.008414383, 0.0116187511, -0.0481692255, -0.0135122593, 0.0259640571, 0.007798716, 0.0029275701, -0.042507764, 0.0663026497, -0.0247349981, -0.0453127436, 0.0436390415, -0.0843423754, 0.0064902413, -0.0088123828, -0.0721978471, 0.0336520188, -0.0034467813, -0.0151986647, 0.0291443784, -0.0767748803, -0.0852222219, 0.0232324824, 0.0323703364, 0.0176282823, 0.0166263524, -0.0172237586, -0.0202216972, 0.0310389493, 0.0632031113, -0.0270550437, -0.0075469143, -0.0255052857, 0.0499997772, 0.0121853342, 0.0266177747, -0.000305677, 0.0316508859, 0.0068975422, 0.0172245298, -0.1030727401, -0.0574903004, 0.0046462561, 0.0238792729, 0.0388581194, -0.0029269033, 0.0165389739, -0.0311815999, -0.083528094, -0.0340362266, -0.0219889265, -0.0102663022, -0.0405984409, 0.0386216678, -0.0113362335, -0.0248444248, 0.0135194967, -0.0420211628, 0.0627409667, -0.0693855733, 0.0458208993, 0.0072243242, 0.0243438371, 0.0288511291, 0.0043132212, 0.0063021639, 0.0295183156, -0.0111260582, 0.0098681869, 0.0094397655, 0.0296545159, 0.0010238537, -0.01577284, 0.0056402157, -0.0048573851, -0.0199256595, -0.041122701, -0.018161118, 0.0490570292, 0.0029366412, 0.0019859895, 0.0405471921, 0.0049947142, -0.0399172567, -0.0003888722, 0.0603733063, -0.0086464146, -0.0423603766, 0.0561935194, 0.0064537101, -0.0226922873, -0.0216401573, 0.0371828005, -0.0475790203, 0.0128646754, 0.0036234008, -0.053117387, -0.0124468934, -0.018575076, -0.0073864334, 0.0160725582, -0.0231546052, -0.0068171541, -0.026667079, -0.059994746, 0.0017651031, 0.0145775089, 0.0047819386, 0.0109286215, 0.0401648954, 0.0082069952, -0.0297279507, 0.0474008285, -0.0561965071, 0.0524683595, -0.057230588, -0.0298444089, 0.0062655727, -6.598739659e-33, 0.00088306, -0.063466087, -0.0077342377, -0.0005107103, -0.0186494924, -0.0285599846, -0.0244583599, 0.0337803662, 0.0081055779, 0.0292047653, 0.0324768685, 0.0038239616, -0.0096838214, 0.0270680785, 0.0337392949, -0.0278461613, 0.02580381, -0.0160158668, 0.0068170936, 0.0219366774, 0.0157035813, 0.0040092417, 0.0033622566, -0.0888682604, 0.0398521908, -0.0234638471, -0.0005132889, 0.0299591441, 0.0369452164, 0.0345471576, -0.0266501009, 0.0384463593, 0.0094442442, -0.0177246165, -0.0047724731, 0.0657865405, -0.0296221916, -0.014800176, 0.0005643075, -0.0241436232, -0.0243730973, -0.0182913933, 0.0305625591, -0.0267497823, -0.0285849795, -0.0202669855, 0.0625001416, -0.0242673326, 0.0523346178, -0.0248270668, -0.0325697698, -0.0043593985, -0.0293275658, -0.0031729767, -0.015381909, 0.0239214636, 0.011643853, 0.0768410414, -0.0470757969, 0.0660802051, -0.0407113284, 0.0038164551, 0.0588068441, -0.0105622523, 0.0249505192, 0.0716606751, -0.0012731584, 0.0139913261, -0.062998645, -0.0028892811, 0.0036766301, 0.0282132551, 0.0428412706, 0.0759557411, -0.008400674, -0.0182680506, -0.0537003875, 0.0036092696, 0.0756349117, -0.0386348702, 0.0536285415, 0.0129657881, -0.0124231894, -0.0064830482, -0.0221395008, -0.0716976598, -0.0368017405, -0.0391744487, -0.0374268703, -0.0244254787, -0.0685334802, 0.0019437498, 0.0124763148, -0.0534286387, -0.053708598, 0.0173356682, -0.0147918276, 0.0046497732, 0.0099001946, 0.0236764364, -0.0668092296, 0.0003620787, -0.0289569981, 0.0272761397, 0.015176598, 0.0091509065, 0.0129266884, 0.0028798813, -0.0669164583, -0.0245237239, -0.031408716, -0.0132910768, -0.0344711915, -0.017262714, 0.0254018698, 0.0477477238, 0.0016601697, 0.025600642, 0.0284258593, 0.0089814961, 0.0081897955, 0.0104036154, -0.0180598591, 0.0114252735, -0.0425900631, -0.0211899821, -0.0453241654, 0.0183812901, 0.0070069665, -0.0522037446, -0.0088964319, -0.0146386866, 2.605e-7, 0.0672030449, 0.0606405959, -0.0240166262, -0.0159449242, 0.0459576957, 0.0122584831, 0.0201188028, 0.014192271, 0.0159855913, -0.0785109177, -0.0034642655, 0.0780930594, 0.0334762931, 0.0257609282, -0.0726345405, 0.0043047853, -0.060272187, -0.0057926639, -0.0263649821, 0.0255777556, 0.0024313158, 0.0295258071, 0.0248122495, -0.0017898381, -0.027655134, 0.0043495982, 0.0837519839, -0.0457439236, -0.0371136665, 0.0188742187, -0.025339352, -0.037069276, 0.0021276756, -0.0247758795, -0.0038924199, -0.0314276703, 0.0190493483, 0.0633942932, 0.0330678895, -0.0074203084, -0.0006953462, -0.0069338307, 0.0058005382, -0.0276690442, 0.041147653, -0.0934733376, -0.0434851013, -0.1125739068, -0.044582393, -0.0377043672, 0.0307600107, -0.0401015542, -0.0009642665, 0.014273745, 0.0132945944, -0.0115229515, -0.0103115737, -0.0551692955, 0.0072561963, -0.0080560548, -0.0898869112, -0.0794830322, 0.0141041614, 0.0230887868, 0.0183957219, -0.0217633359, 0.0452859215, 1.844630505e-34, 0.0172103774, 0.0264789872, -0.0129142785, -0.0629603192, 0.0286092106, -0.003554954, -0.0528005064, 0.00025783, 0.0489880592, -0.0667149425, 0.0040858556 ]
http://arxiv.org/abs/2406.12069v1
http://arxiv.org/pdf/2406.12069v1
Satyrn: A Platform for Analytics Augmented Generation
2024-06-17T20:14:16
2024-06-17T20:14:16
Marko Sterbentz, Cameron Barrie, Shubham Shahi, Abhratanu Dutta, Donna Hooshmand, Harper Pack, Kristian J. Hammond
cs.CL
cs.CL
Large language models (LLMs) are capable of producing documents, and retrieval augmented generation (RAG) has shown itself to be a powerful method for improving accuracy without sacrificing fluency. However, not all information can be retrieved from text. We propose an approach that uses the analysis of structured data to generate fact sets that are used to guide generation in much the same way that retrieved documents are used in RAG. This analytics augmented generation (AAG) approach supports the ability to utilize standard analytic techniques to generate facts that are then converted to text and passed to an LLM. We present a neurosymbolic platform, Satyrn that leverages AAG to produce accurate, fluent, and coherent reports grounded in large scale databases. In our experiments, we find that Satyrn generates reports in which over 86% accurate claims while maintaining high levels of fluency and coherence, even when using smaller language models such as Mistral-7B, as compared to GPT-4 Code Interpreter in which just 57% of claims are accurate.
[ 0.0140198581, 0.0695406497, -0.0176158212, -0.0056850025, -0.0261432678, 0.0082304161, -0.0020109075, -0.0049469583, 0.0241926685, -0.0310509242, 0.029183384, -0.006583883, 0.0179655664, 0.1181506366, 0.0608052574, -0.0221844502, 0.0720594972, 0.0227112249, 0.0033274435, 0.0294189323, -0.0009319443, 0.0552562326, -0.0317241661, 0.0066580204, -0.0351249874, -0.0313119665, -0.0311226267, -0.0004127659, 0.0079325996, -0.035274297, -0.0354209878, 0.0376591943, 0.0221668854, 0.0643055961, 0.0000021897, -0.0478437059, -0.0008479146, 0.0197792314, -0.0153023181, 0.0186936483, 0.0638114363, -0.0123347919, -0.0129221482, 0.0388068967, -0.0484757386, -0.0262130871, 0.0428349562, 0.0031621407, 0.0621016622, 0.071113497, -0.0167187005, -0.0314971767, 0.0416013636, -0.0141490139, 0.0196634103, 0.0405934677, -0.004503109, 0.0211794972, 0.0515399426, 0.0143637257, 0.031750571, 0.0412901081, 0.0402567461, -0.0263003744, 0.011251918, 0.0313673615, -0.0063252398, -0.012502999, -0.0033880968, 0.016529154, 0.0412954576, -0.0390158892, 0.0290430821, -0.0112590194, -0.0238263439, -0.0255007297, -0.0641403273, 0.0425180048, -0.0389288962, 0.0024244762, 0.0140056536, -0.0606420785, 0.0258251466, 0.0002695965, -0.009055295, 0.0317039154, -0.003365031, -0.0093336655, -0.025263695, 0.0173833687, 0.0419897139, -0.0599892847, 0.0144349588, 0.0294937789, -0.060538929, 0.0153145948, -0.0301293489, -0.060601525, 0.0504569523, -0.0541494638, 0.0197982211, 0.0274385158, -0.0218621213, -0.0014439488, 0.0005751075, 0.0434848666, -0.0195474289, -0.0085771214, -0.0067552845, 0.0063002319, -0.0549451672, -0.0158562046, -0.0040312652, 0.0354104452, -0.044327803, -0.0159445386, -0.0340354927, 0.0337009169, -0.0186722595, 0.0213414766, -0.0429142714, 0.0459728241, -0.0334721059, 0.0456267074, -0.0389241911, 0.0099370312, -0.0271890331, 0.0183211155, 0.0535648242, -0.081793502, -0.0038438612, 0.0150418077, -0.0186519399, 0.0180245433, 0.0177395325, 0.0180577282, 0.0044944179, 0.0255495049, -0.1004516408, -0.0933477059, 0.0330016501, -0.0418683961, -0.005953359, -0.0946963355, 0.0547505729, 0.0369526558, -0.0525685139, -0.0478675105, 0.0001924596, 0.0234786924, -0.0143616712, 0.0148636168, -0.0807485357, -0.0073103211, 0.0171417296, 0.0038587297, 0.0406004265, 0.0665531605, 0.0114260241, 0.0351786204, 0.0122156711, 0.0016620073, 0.0238141641, 0.0014158954, 0.0374710299, -0.0185011625, -0.0508008711, -0.0005302691, -0.0327862315, 0.0225740708, 0.0270937346, 0.0506946482, -0.0245837718, 0.0306120738, 0.0562509298, 0.0121605536, 0.0247664023, 0.044265449, 0.0504791141, -0.0417597964, 0.0153070968, -0.005152212, -0.0322707295, 0.0394826978, -0.0011246807, 0.0357970335, 0.0151716312, 0.0262873657, -0.0004493793, -0.0438386388, 0.0072708377, 0.0214552954, -0.0181339011, 0.0139652966, 0.0174086168, 0.0164010562, -0.0124894045, 0.0682641342, 0.0283089653, -0.0763225779, 0.0187860485, -0.0298640747, 0.0407923572, 0.0760902688, 0.089519605, -0.026607275, 0.0042395336, -0.0097718388, -0.0250999089, 0.0916730314, 0.0212362632, -0.007201652, -0.0086295642, -0.0502425767, 0.0030655607, -0.029889999, 0.0146213267, 0.0085889595, 0.01594574, 0.0108584156, 0.0085414983, 0.0163746886, -0.054347042, 0.0318852551, -0.01830725, -0.0150950858, 0.0029513114, -0.0295825172, 0.0292270817, 0.0448588356, -0.0198515113, 0.053059224, 0.047755383, 0.0118963979, -0.0171395596, -0.0063691544, 0.0282662082, -0.0265739206, 0.0172728393, 0.0202853996, 0.0080999434, -0.0113586858, -0.0359110497, -0.0413050987, 0.0159821436, -0.0831257924, 0.036932569, -0.0398934297, -0.0189355817, 0.0227803122, 0.0189690478, 0.0025419672, 0.0505852029, 0.0081871264, -0.0037855974, -0.0057636364, -0.0420956984, 0.030031614, -0.0563549139, 0.0228692126, 0.0473858938, -0.0056601223, 0.0153734051, 0.0224344507, -0.0480925664, -0.0620931163, 0.0170424953, -0.0972926542, 0.0189820211, 0.0147020519, 0.0387216993, 0.0373131, 0.0118003162, -0.00330693, 0.0021722352, -0.0306683723, -0.0001056855, 0.0323338583, 0.0381671712, 0.0278732814, 0.0350671858, 0.0004876925, -0.0157034546, -0.0103356149, -0.0467858873, 0.0287295245, 0.0423063748, -0.0125186583, -0.0910196453, 0.0307064727, -0.0782981738, 0.0180002712, 0.0219897293, -0.0081433486, 0.0525087528, -0.0107291685, 0.0145201553, 0.0497283898, -0.0008131354, 0.0113133779, 0.0314731002, -0.0540807955, -0.0468492322, -0.0051414985, -0.040607743, 0.0555399545, 0.0255705696, -0.0492708199, 0.0211362951, 0.0216434859, 0.0530862361, -0.0013718094, -0.008434698, 0.0235438459, -0.0019706937, -0.0281272158, -0.0143398996, 0.0037621572, -0.0028599815, 0.0482228585, -0.013780267, -0.0511002094, 0.0804242715, -0.0361247919, 0.0054225125, -0.0540796295, -0.0404302403, -0.0394778065, 0.0835935026, 0.0147026991, 0.0167106427, -0.0469646566, -0.01886281, 0.0004031088, -0.0328782797, -0.0091570057, -0.0308943782, 0.0308601987, -0.0618638843, -0.0005188413, 0.020224141, -0.0001635285, -0.039094422, -0.0094079478, -0.0068598026, 0.0083112856, 0.060584791, -0.0393786877, -0.0916230455, -0.0380668528, 0.0716302469, 0.0636447817, -0.011452347, -0.0271222852, -0.0084661087, -0.0301573593, 0.0324185267, -0.0217497405, 0.038467627, -0.0069176699, -0.0421448126, 0.0770766661, -0.0184051581, 0.0145749124, -0.0379154235, -0.01003478, -0.0347525775, -0.015658902, -0.0044664438, 0.0242516957, -0.0050154654, -0.081176497, -0.0047148014, 0.0909842402, 0.032795988, 0.0060892133, 0.0032116615, -0.040419165, 0.0138181886, 0.0151617629, 0.0556810312, -0.0955852941, 0.0098048719, -0.0079609128, 0.0491245389, -0.0287753213, -0.0428191461, -0.0271415673, -0.0928506479, 0.0526970923, 0.0093036033, -0.0208431166, -0.0137030696, -0.056605231, -0.0203311555, -0.002811898, -0.0268653836, 0.039908994, -0.0043761996, 0.025008129, 0.003796872, -0.0303799361, -0.0204153266, -0.0217830986, -0.0242596306, 0.0357093401, 0.0608947538, 0.0363376513, -0.0183533747, -0.0394535996, -0.0006469426, 0.0441897772, 0.0270325243, -0.0399332233, 0.0499716625, 0.036706578, -0.0062145274, -0.0449299328, 0.0115961302, -0.0122022247, -0.0344342403, -0.0199471526, 0.0819945857, -0.0521067902, 0.0094029699, -0.051093474, 0.0200545732, 0.045515459, 0.0499508753, 0.0270431694, 0.0151777333, -0.0164402798, -0.0265641455, 0.0115164723, -0.0257015135, -0.0044985753, 0.013123746, -0.0131090973, -0.0487483852, -0.0909139439, -0.0489304252, 0.0356294475, 0.0232980754, 0.0100427764, -0.016183855, 0.0586822219, -0.0579680242, -0.0619906671, 0.0248138867, -0.0017340906, 0.0381522849, -0.0567107461, -0.0507808365, 0.0001727338, 0.0003037403, -0.0156872962, 0.0405531637, -0.036294736, -0.0674554482, 0.0101869209, 0.016609095, 0.0344010107, -0.0167081729, -0.0065778657, -0.0107763577, -0.0030724425, 0.1010328531, -0.0891346857, 0.0102341371, -0.0382040031, -0.0157761145, -0.0108484561, -0.0263111424, -0.0279942006, -0.0077095777, -0.0398066677, 0.0448246375, -0.0016102709, -0.0294232164, 0.0177175421, 0.0475136451, 0.0349725783, -0.0154888686, -0.0013871369, -0.0382517949, -0.0340137891, -0.0665362477, 0.0132782795, -0.0463887192, 0.0104032625, -0.00262956, -0.0166584849, 0.0056475634, 0.0506374091, -0.0412881263, -0.0040944521, 0.0099431435, -0.0141504826, -0.03784113, -0.0085057542, 0.0121044051, -0.0170482714, -0.0387672707, 0.0103026805, -0.0150785549, 0.0787746906, -0.0254516881, 0.0665554181, 0.0225376636, 0.0068029403, -0.0093114367, 0.0083848787, -0.0495672971, -0.0219491702, -0.0146318274, -0.0027777669, 0.0045442684, 0.0407306999, 0.059745498, -0.0523072444, -0.002443895, -0.0263474807, 0.0408471413, -0.0008593554, -0.0060044271, 0.0032338414, 0.0191443227, -0.029608503, -0.0562771559, 0.06287691, -0.0150039289, 0.0292142686, -0.0325131565, -0.0527726598, -0.0342710949, -0.0473485291, -0.0004526617, -0.0149467764, -0.0269910507, -0.0176429488, -0.0630814061, -0.0518419258, 0.0359756611, 0.0779998377, -0.0012806356, -0.0595960468, 0.0444630757, 0.0483752117, 0.0159037635, -0.0368749835, -0.0199242104, 0.0772222355, -0.0648776442, -0.0407829806, -0.0358356759, -6.57486243e-33, -0.047661379, -0.0498820618, 0.0581573658, -0.0008414923, -0.0239933953, -0.0042556864, -0.0694194585, 0.0050960877, 0.0065501542, 0.02834519, -0.003988625, 0.0364657529, 0.0152808027, 0.0029328929, 0.0208040923, 0.0256682187, 0.0368321352, 0.0136042479, -0.0353719629, 0.0394560695, 0.0844234154, 0.0003141325, 0.0420070253, -0.0938259214, 0.007468543, 0.005966513, 0.0109782051, 0.0143838525, -0.0359564014, 0.0234797392, 0.0071055284, 0.0305315908, 0.0064577493, -0.0344992466, -0.0229872931, 0.0118359942, -0.0308340192, -0.0372330286, 0.0516058803, -0.0263041817, -0.0432458371, -0.004180423, 0.0507289916, -0.0256806742, 0.0138982693, 0.0216394812, 0.0190249346, -0.0310178678, -0.0104468735, -0.0428623818, -0.0547750629, 0.0187513791, 0.0279256292, 0.0173437856, -0.0531261452, 0.0142729627, -0.0334054194, -0.0044183028, -0.0639230087, 0.024643559, 0.0108471494, 0.0299833026, 0.0487901829, -0.004393864, 0.009825509, 0.0361449607, 0.0422766358, -0.0034796197, -0.0742932633, 0.0815641657, 0.0195322726, 0.0700256974, 0.0598935075, 0.016189009, -0.0045754844, -0.0306050219, -0.0477643274, 0.0472444892, 0.0262796059, 0.0365070924, -0.0023739971, -0.0064395643, -0.0439214557, -0.0466223396, 0.0090352846, 0.0222538766, -0.0351528265, -0.0419811271, 0.0055159749, -0.0018354057, -0.0007494071, 0.0367963612, 0.0077963746, -0.0101632122, -0.01170702, 0.0234054085, -0.0369376577, -0.0023716181, -0.0085723456, -0.0192500036, -0.0511782207, 0.0081384359, 0.0090954416, 0.0357404687, 0.0468199588, 0.01806763, 0.029227728, 0.0391195714, -0.0297207963, 0.0223025586, -0.0325488709, 0.0565288998, 0.0066129896, -0.0245675743, 0.0068238345, 0.0164957251, 0.0021565557, 0.0223552454, -0.0096103717, 0.0165776275, -0.0376066603, 0.0110232355, 0.038084209, 0.0406983867, -0.0334601514, -0.0041757715, -0.0497839749, 0.0240429994, 0.0438079424, -0.035495095, -0.0160242785, 0.0186636094, 2.879e-7, 0.0325505994, 0.0426406153, 0.0310626328, 0.0303264093, 0.0508105904, 0.0261966065, 0.0103247464, -0.0110664451, 0.0115783373, -0.05579146, -0.038442567, 0.0191071779, 0.0619813204, 0.072337918, -0.0367804877, -0.012020926, -0.0742982253, -0.0399156548, -0.0791078508, -0.0061288779, 0.0412713178, 0.0302441865, 0.0388775431, -0.0194515176, 0.0404736549, -0.0359114408, 0.0329030342, 0.0459788628, -0.026148513, 0.0196462404, 0.0135520557, 0.0528586991, -0.0061398936, -0.0017306993, -0.0261027906, -0.0097439801, -0.0526275635, 0.0348263979, -0.0104532698, 0.0085926168, 0.0195061639, -0.0658593476, -0.0230899528, -0.0408164822, 0.0372471139, -0.0150527945, -0.0212043431, -0.0081652096, 0.0077905892, 0.0019400259, -0.002413684, -0.0185745116, -0.0199550837, -0.0131005011, -0.0077687395, -0.0234004203, -0.0215830952, -0.0220057778, -0.031259831, 0.0354804993, -0.0512124337, -0.0491769537, -0.0315596499, 0.0409176089, -0.019414125, -0.0568905137, 0.0122037651, 2.889452817e-34, 0.0233110785, 0.0387622304, -0.0100925947, -0.0465628468, 0.0726778805, -0.0043139313, 0.0026487582, 0.0000163325, -0.0008993193, -0.0486247316, -0.0368201397 ]
http://arxiv.org/abs/2406.12066v2
http://arxiv.org/pdf/2406.12066v2
Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks
2024-06-17T20:09:24
2024-06-19T03:59:41
Jack Gallifant, Shan Chen, Pedro Moreira, Nikolaj Munch, Mingye Gao, Jackson Pond, Leo Anthony Celi, Hugo Aerts, Thomas Hartvigsen, Danielle Bitterman
cs.CL
cs.CL
Medical knowledge is context-dependent and requires consistent reasoning across various natural language expressions of semantically equivalent phrases. This is particularly crucial for drug names, where patients often use brand names like Advil or Tylenol instead of their generic equivalents. To study this, we create a new robustness dataset, RABBITS, to evaluate performance differences on medical benchmarks after swapping brand and generic drug names using physician expert annotations. We assess both open-source and API-based LLMs on MedQA and MedMCQA, revealing a consistent performance drop ranging from 1-10\%. Furthermore, we identify a potential source of this fragility as the contamination of test data in widely used pre-training datasets. All code is accessible at https://github.com/BittermanLab/RABBITS, and a HuggingFace leaderboard is available at https://huggingface.co/spaces/AIM-Harvard/rabbits-leaderboard.
[ 0.0566743314, 0.0772981644, -0.0115944082, 0.0273325909, -0.0035732966, 0.0093095163, 0.0114150569, 0.0281691495, 0.0196011644, -0.0500705354, -0.0078345863, -0.0119684376, -0.0232510325, 0.0241540093, 0.0302957427, 0.0028749453, 0.0413116217, 0.0227515697, 0.0282119457, -0.0104009667, 0.0052214013, -0.0019004468, -0.0303172916, 0.0378810242, 0.0049349694, 0.0033910796, 0.0694293156, -0.016568454, 0.0237612259, -0.0862856954, 0.0050319885, 0.0651338771, -0.0391097069, 0.0300832577, 0.0000015581, -0.0751982406, -0.009567989, 0.0397518165, -0.0230916236, -0.0151949236, 0.0506650135, -0.0350936055, -0.0058781286, -0.0039991573, -0.0437351614, -0.0096423579, 0.0362411328, 0.0243323147, 0.0229732711, 0.062474981, -0.001029046, 0.0048316307, 0.0141894342, -0.0066486206, 0.0302846227, -0.0744967312, 0.0443053059, 0.012379935, 0.0227237325, -0.0173918642, 0.0017399425, 0.0251350924, -0.0343019329, 0.0336591974, 0.0016748954, 0.0368230268, -0.0535399579, -0.0259980317, -0.0020982353, 0.1024014354, -0.0311951227, -0.0049370197, 0.0162867885, 0.0039654695, -0.0185128041, 0.0210389066, -0.0100129629, 0.0025563301, -0.0274003204, 0.0224431306, -0.0136310719, -0.0056135519, 0.0558928587, 0.0218541231, -0.0051275054, 0.0549336262, 0.0177004598, -0.0082742376, 0.0322730802, -0.0155001357, -0.0224810615, -0.0317134596, 0.0393820293, 0.0060337316, -0.0441726632, 0.0410991386, -0.0298313536, -0.0284648985, 0.0886980295, -0.0736715794, 0.0040035145, 0.0123818731, -0.0160964709, 0.0414156653, -0.0372842327, 0.0249986127, 0.0028584013, 0.0390417054, -0.0298314095, 0.0063721966, -0.0431991108, 0.005238161, 0.0064558769, 0.0401652791, -0.0194901153, -0.0011964455, -0.086140506, -0.0038119585, -0.047762908, 0.0244897157, 0.0007497747, 0.0227133743, -0.0115714278, 0.0061302418, -0.0296656899, -0.0004677718, 0.0122828335, 0.0303945206, -0.0241194405, -0.0825793967, 0.0197750181, -0.0198779162, -0.0169645268, -0.0215229373, 0.0331821069, 0.1048482135, 0.0286533609, -0.0389637798, -0.0240193941, -0.0357429497, -0.0240294393, -0.0279230494, 0.0048124269, -0.0572499633, 0.0485124066, -0.002829846, 0.0012328135, -0.0967095569, 0.026549926, 0.0148839578, -0.0765876696, 0.135219276, -0.0569825284, -0.0306375604, 0.0032171281, 0.0333040506, -0.0257073864, 0.0381927453, 0.0244111009, -0.0380742997, 0.0537016168, 0.0002026427, 0.0148058916, 0.0085619846, 0.0071210391, -0.0311276279, 0.0092321662, 0.0252911206, 0.0405984782, 0.07785476, -0.0481961742, 0.0705315024, -0.0040563862, -0.0517290123, 0.0410295203, 0.0666877329, 0.003272109, -0.0238212012, 0.0064738705, -0.0431127176, 0.0093034217, -0.0241234116, -0.0654496253, -0.0414846204, -0.0458915606, 0.0095430138, -0.0061469646, 0.0026588074, -0.004582834, -0.013285649, -0.0645347461, -0.0361410305, -0.0340390429, -0.0196741223, 0.036183916, -0.0049442258, -0.0483417735, 0.0741628408, 0.0414752327, -0.0470202006, -0.0223392416, -0.0294998549, -0.0086904904, 0.0627978742, 0.0472605899, -0.0374623239, -0.0405642688, 0.0044866852, -0.0284387711, -0.0049483469, 0.0225398596, -0.0298154317, 0.0276255775, -0.028995201, 0.0041409251, 0.0368093587, 0.028478384, -0.003766245, 0.022626061, 0.0319773704, 0.0010301621, -0.0596554093, -0.0084260348, 0.0629989654, -0.0624008998, -0.0247760825, 0.0079434216, -0.0284528863, 0.0260389671, 0.0242789462, -0.0164631028, 0.0275426246, 0.0659820065, -0.0408314206, 0.0093729328, -0.015040528, 0.0154493963, -0.0217526779, 0.0568783469, -0.0491359383, -0.0168171488, -0.0074337847, -0.0606186539, -0.0195065085, -0.0076178745, -0.0010546605, 0.0464012772, 0.0034581246, 0.0264546964, 0.0107006729, 0.0170338489, -0.0590773448, 0.0270607173, -0.0241084136, 0.0388385057, -0.0174710657, 0.0150614604, -0.0245517399, -0.0180315711, -0.0058766808, 0.0409924164, -0.0009132412, 0.0113029834, -0.0430112854, -0.0178442989, -0.0403406769, -0.0212399364, -0.0633735657, 0.0016687323, 0.0228290986, 0.0183190275, 0.007739882, 0.0141113913, -0.0123491585, -0.0229263734, -0.0027765592, -0.0415189676, -0.0237306617, 0.0318247937, 0.0181336161, 0.0236194581, -0.0149769429, -0.0412109084, -0.0097658113, -0.0420819856, 0.0465373695, -0.0246529151, -0.0434959978, -0.0159525368, -0.0352228917, -0.058024779, 0.0031890271, -0.0188973043, 0.0152612813, 0.0105939591, 0.0362795889, 0.0003619303, 0.0302794427, -0.0126213748, 0.0129110366, 0.0664366186, 0.0266733188, -0.0222943574, -0.0107444199, -0.0025753593, -0.0449674465, 0.0087474361, -0.0556872599, -0.0163510088, 0.0770792663, -0.0060796905, -0.0237589125, -0.0203589723, 0.0254193656, -0.0223791413, -0.0006577764, -0.0390890837, 0.0329924971, -0.040938165, 0.0371550359, 0.0076171076, -0.05133003, 0.0980707854, -0.0314090587, 0.028570829, -0.0385208502, -0.004387808, -0.022507038, 0.0017676144, -0.006610475, -0.0041486644, 0.0138493413, -0.0124543672, 0.0128842117, 0.0034783878, 0.019491395, -0.0769089237, 0.0953946039, -0.0573292188, 0.0527138039, -0.0100705745, -0.0389696993, -0.0428493768, -0.0307424944, -0.057386335, 0.0046706256, 0.0137559092, 0.0077316803, -0.0333861262, 0.0198820252, -0.0347590744, 0.0411164053, 0.0347283408, -0.0032229193, 0.0105623361, -0.0270313285, 0.0248212069, -0.0257856771, 0.0400428437, 0.0083399871, 0.0298920646, 0.060484156, 0.0242266711, -0.0006467901, -0.0014830052, 0.0251219068, -0.0042922921, -0.0377832651, 0.0097888764, 0.033283215, 0.0179585405, -0.0316073969, 0.0222395603, 0.1057670414, 0.0299388152, 0.0002067005, 0.0434268564, 0.0094203325, -0.0079886736, 0.0207657851, 0.0095221605, -0.0969438031, -0.0404841565, -0.0103728287, 0.0424440578, -0.0093965624, -0.0597234182, -0.0080919256, -0.0688103959, -0.0133300358, -0.0037879455, -0.0794018954, 0.0204189047, -0.0556541905, 0.000464943, -0.0519820601, 0.0478662811, 0.0093022492, -0.0083833411, 0.0044324826, 0.0064431829, -0.0369134359, -0.0927456468, 0.0146122351, -0.0299230032, 0.0744669437, 0.0361238234, 0.0066138469, 0.0023764842, -0.0299568083, 0.0277717318, 0.0087955389, -0.019193694, -0.0309025291, 0.082633689, -0.001831011, -0.006379378, -0.0053293779, 0.0227867663, -0.0690533593, -0.0194672793, -0.0341397487, 0.0411403701, -0.0035048728, -0.0250126272, -0.0357030481, 0.027204778, -0.0152095575, 0.0917179808, 0.0035833793, 0.018500464, -0.0328153819, -0.019768361, 0.0074976617, 0.0064942138, -0.0435580164, 0.0349321254, -0.0507746413, -0.0162795074, -0.0653919578, -0.0076054945, 0.0588327274, 0.0028915021, 0.0048813471, 0.0456730351, 0.00016044, 0.0103072254, -0.0513872281, 0.0416576862, 0.021595316, 0.0157497637, -0.037618801, -0.0012302386, 0.0672952384, 0.0288416389, -0.0232062843, 0.0454630069, -0.0263348352, -0.0841122195, 0.0138796549, 0.0467264578, 0.0318703763, 0.0151611026, 0.0002631786, -0.0258244388, -0.0056324829, 0.0781624392, 0.0034003661, -0.0181120764, 0.0198383816, 0.0177754611, 0.0153021784, 0.0302191749, -0.0393984839, 0.0060337442, 0.014115083, 0.0629327446, 0.0041232747, -0.0123243676, 0.0382587276, 0.0371337757, 0.0445475169, -0.0383120105, 0.0005883061, -0.0029942922, 0.0327561498, -0.0285901427, -0.0044710576, -0.0089549478, -0.0014450628, 0.0093692439, 0.0006201903, -0.0409029908, -0.0082941297, -0.0595197417, 0.0511735305, -0.0193363968, 0.0085725989, 0.0096925395, 0.009138763, 0.0573753901, -0.0166994147, 0.0020744677, 0.0220527183, -0.0099805268, 0.0550087318, -0.0268360339, 0.0252375994, 0.00363162, 0.03269618, -0.0306131691, 0.0408365577, -0.0481742918, -0.0396162681, -0.0137138804, 0.0552891083, 0.0322118066, -0.0316504054, 0.0258127097, -0.0101756006, -0.0042617656, -0.0428807884, -0.0020181902, -0.0188826416, 0.0327923931, 0.0684987009, 0.0101745594, -0.0230025742, 0.0054857261, 0.1071665958, 0.0149903065, 0.0665633753, -0.0046931389, -0.0171564911, -0.0370624289, -0.0120016607, 0.0099494699, 0.0212169327, -0.0552084558, -0.0174394418, -0.0708314255, -0.0838964283, 0.0268546641, -0.0064829332, 0.005491232, 0.019346552, 0.0158020575, 0.04914511, 0.0415281877, -0.0059910412, -0.0228897408, 0.025927119, 0.0026524649, -0.0410896167, -0.0182896964, -5.550574857e-33, 0.0068972432, -0.0310324784, -0.0183563232, -0.0387362204, 0.0313557014, 0.0373770781, -0.0120090963, 0.0160996784, -0.0201739315, 0.0221122093, -0.013854906, 0.0033237899, 0.014774669, 0.0107680103, -0.0056659617, -0.0469959527, -0.0197798684, 0.0198755618, -0.0087293442, -0.0205442235, -0.0061236066, 0.0660505593, 0.0687364414, -0.0897784531, 0.0400707945, 0.0108958008, 0.0390230492, 0.0087330183, -0.0366888493, 0.0809712186, -0.029891137, 0.0442531779, 0.0236686449, 0.00578734, -0.0180187244, -0.0422898754, -0.0794510171, -0.0040380303, 0.028486345, -0.0309936702, -0.0106011964, -0.0209150948, 0.082022965, -0.0252901241, -0.0770914927, 0.0146059655, 0.0306933038, -0.0538816191, -0.0429637134, -0.0429782867, -0.0169913918, 0.0351024903, 0.0084841382, 0.0344842263, -0.005252366, -0.0192397833, -0.0059851543, 0.0611308403, -0.0309224334, -0.013400442, -0.014143154, 0.01619233, 0.0647133961, -0.0036676689, -0.0089913849, 0.073174417, 0.019152442, 0.0098539377, 0.0273451433, -0.025483828, -0.0130688073, 0.0480680503, 0.0630637854, 0.0397790596, 0.0557522886, -0.0061491132, -0.0671437606, 0.0245182496, -0.0332704112, -0.0101067191, -0.0100958552, 0.0092024449, -0.0527078398, -0.0013098941, -0.0308049843, 0.0228569321, -0.0320795998, -0.0209874287, 0.0159022491, -0.0180777088, -0.0209956113, 0.0261806902, -0.029324986, -0.0517685525, -0.0522507578, -0.0608789399, 0.0324034505, -0.0061191469, -0.0165573619, 0.0192523655, -0.037087515, -0.0029770094, 0.0027966341, 0.0049944143, 0.055460725, -0.0226655882, 0.025863573, -0.0593492538, -0.060870558, -0.0039927997, -0.0119822547, 0.0007365118, 0.0161636565, 0.0122381132, 0.035881348, 0.0093674948, 0.0140850712, 0.0469898432, 0.0440102778, -0.0245675966, -0.0389758795, -0.0181675479, 0.0034230154, 0.0014999821, -0.0518994108, -0.0110195456, -0.016455885, 0.0533268005, 0.0369125828, -0.0505736209, -0.0065387068, -0.0252835844, 2.455e-7, 0.1085808575, 0.0659992024, -0.0116767911, -0.02625308, 0.0059052561, 0.0009589703, -0.0402608961, 0.0324134752, -0.022809526, -0.0499897562, 0.0058614635, -0.0321672112, 0.0411457755, 0.0320904069, -0.0532640778, -0.0257954057, -0.0809659436, -0.0304739494, -0.0495540276, -0.0116576375, 0.0229464788, 0.0746177211, 0.0149476668, -0.0229943786, 0.0026070452, -0.0402408838, 0.0264765136, -0.06703455, 0.0204390381, 0.0458083525, 0.0404360741, 0.0049466151, 0.0232358575, 0.0485970043, -0.021513354, -0.0128780277, 0.0153538622, 0.0770623162, -0.0514836088, -0.0142008169, -0.0021796529, -0.0568803996, 0.011630699, -0.0208508689, 0.0589130856, 0.0032617699, -0.0532347523, -0.0252567753, -0.0192766879, -0.020362094, 0.0720347315, -0.0057425969, 0.0001768523, 0.0476038046, 0.0227745585, 0.0235677809, -0.0430438071, -0.0716638342, -0.0194726456, 0.0354402922, -0.0288003702, -0.0471894071, 0.0144974561, -0.0032240585, -0.0163445622, -0.089037627, -0.0018181968, 2.216757808e-34, 0.0311502609, -0.0113693196, 0.0328051038, 0.0406500399, 0.0364495143, 0.0057719406, 0.028951712, 0.017370306, -0.0157644954, -0.0438137949, 0.0199243631 ]
http://arxiv.org/abs/2406.12060v1
http://arxiv.org/pdf/2406.12060v1
Not Eliminate but Aggregate: Post-Hoc Control over Mixture-of-Experts to Address Shortcut Shifts in Natural Language Understanding
2024-06-17T20:00:04
2024-06-17T20:00:04
Ukyo Honda, Tatsushi Oka, Peinan Zhang, Masato Mita
cs.CL
cs.CL, cs.LG
Recent models for natural language understanding are inclined to exploit simple patterns in datasets, commonly known as shortcuts. These shortcuts hinge on spurious correlations between labels and latent features existing in the training data. At inference time, shortcut-dependent models are likely to generate erroneous predictions under distribution shifts, particularly when some latent features are no longer correlated with the labels. To avoid this, previous studies have trained models to eliminate the reliance on shortcuts. In this study, we explore a different direction: pessimistically aggregating the predictions of a mixture-of-experts, assuming each expert captures relatively different latent features. The experimental results demonstrate that our post-hoc control over the experts significantly enhances the model's robustness to the distribution shift in shortcuts. Besides, we show that our approach has some practical advantages. We also analyze our model and provide results to support the assumption.
[ 0.0835475922, 0.0718309507, -0.0079384856, -0.011535665, -0.0167765114, -0.005798778, 0.0239396878, -0.038767837, -0.0469713882, -0.045955319, -0.0272331648, -0.0221571848, 0.0331226699, 0.0179063585, 0.0159462504, -0.0590271987, 0.0363516957, -0.0189689342, 0.0126621351, 0.0005205302, 0.0117424075, -0.0029519622, -0.0191500653, 0.041904334, -0.0179983098, 0.0117680496, -0.0285486747, -0.0097217429, 0.0261123329, 0.0422832854, 0.0097576501, 0.0978267565, 0.0214318093, -0.0087603964, 0.0000017968, -0.0310555845, -0.0210576747, 0.0011895781, -0.0300573781, -0.0336367413, -0.0129765905, -0.0341490619, 0.0208422504, -0.0229998231, -0.0121889329, -0.028795084, 0.0476595759, 0.0428730287, 0.0220630243, 0.05592658, -0.0093765799, -0.0117519777, -0.0190250054, -0.0124905817, 0.0280819163, -0.0887013003, 0.0354824662, -0.0305688754, -0.0405459665, -0.0185013097, -0.0453461632, 0.0173336994, 0.003965945, 0.0240455493, 0.0578373559, 0.0433369502, 0.0288382322, -0.0371307731, -0.0386787914, 0.0548327155, -0.0389397219, -0.0399997607, -0.0047175409, -0.0119190542, 0.0099409651, 0.0711835474, -0.0235157274, -0.0445810668, -0.0233934131, -0.0048948862, -0.0019055676, 0.0055488255, 0.034031529, 0.0334804356, -0.0589135475, 0.0421627089, -0.0137348678, -0.0335925855, -0.0006628737, -0.0121679204, -0.0293596908, -0.0393710174, 0.0155157968, 0.0027729943, -0.0249347091, 0.026508268, -0.0120574487, -0.0459154621, -0.0143487826, -0.0254604481, -0.0553661659, 0.0431278348, -0.0309671424, 0.0878055841, 0.0012321452, 0.0310745202, 0.0051684729, -0.0017967293, 0.0008837882, -0.0141117312, -0.1045218557, -0.0086962664, -0.032840319, 0.0445704944, 0.0183503833, 0.0081070503, -0.0209767278, -0.0107860481, -0.0498266481, -0.0202398207, -0.0018794431, 0.0564511046, -0.0519449599, -0.0032480711, -0.0093742991, 0.0764402673, -0.0283218492, 0.0676190779, -0.0071011088, -0.0310964901, -0.0131941801, 0.0242715385, -0.009148377, -0.0030733459, -0.00764259, 0.0661137551, -0.0202793293, -0.0311095398, -0.0382020734, -0.0425324775, -0.038528949, -0.0579817556, 0.022372067, -0.0715393648, 0.0626760423, 0.0067100888, 0.0379034914, -0.0530816391, -0.0397184752, -0.0255731344, -0.0929633453, 0.1049993858, -0.0211171154, 0.0164196193, 0.0227051713, -0.003979485, -0.063906841, 0.0927579626, 0.0104414802, 0.0109775541, 0.0127361398, -0.0094893165, 0.0102156894, 0.0258928072, 0.0141291339, 0.0017203637, 0.0113596898, -0.0090808189, -0.0367567688, -0.0011252199, 0.0198532306, 0.022772491, -0.0351470038, -0.0020692362, 0.0375689827, 0.0386006944, 0.0141592911, 0.0559585914, 0.0353500731, -0.0185435191, 0.0141168674, 0.0481078029, -0.0963111892, 0.0188831203, -0.0840933025, -0.0315626189, 0.0313762762, 0.0111049898, -0.0218236838, -0.0117223049, -0.0010573287, 0.0022529047, -0.0275899153, 0.0045270845, 0.0787996873, -0.0007380745, 0.0304219443, 0.0567176379, 0.0161652379, -0.0075129154, 0.023116488, -0.0242893435, -0.0181217697, 0.0557692572, 0.0006203116, -0.0085788993, 0.0031766463, -0.0112263272, 0.0053196456, -0.0468467288, 0.0352182835, 0.0109060118, 0.0229958389, -0.0334526151, -0.0644253418, 0.0466543958, 0.0140445223, 0.0235618912, -0.0130384909, -0.0250213463, 0.0054995692, -0.0483271331, 0.0127712414, 0.0125343502, 0.0102286302, 0.0274595395, -0.0247465819, 0.0295327529, 0.0608226657, -0.0224770233, -0.0141514968, -0.0050248792, 0.016666228, 0.0249615964, -0.0358476564, 0.008078468, -0.0175487641, -0.0386133492, 0.0009311459, -0.0475839861, -0.0212000236, -0.0199540481, -0.0649893805, -0.0747477636, 0.0295470078, -0.0106414072, 0.0063480204, -0.0093629593, -0.0059461831, 0.0082704276, 0.0085307276, -0.0157611761, 0.0561007746, -0.0066555054, 0.005752854, 0.0173523389, -0.0177139603, 0.0153401317, 0.0064526508, 0.0099563068, 0.0057522161, 0.0171176791, -0.0053817085, 0.0334453769, -0.0381704383, -0.0655139312, -0.0678840056, -0.0590718612, -0.0001163812, -0.0356165506, 0.0049401149, 0.0412241966, -0.0055476152, -0.0072889831, 0.0010011252, -0.0123594636, -0.0140730338, -0.0163450167, 0.0284769796, -0.0336565748, 0.0319498181, 0.0106778173, -0.0311250445, 0.0084578609, -0.0477119982, 0.0562073551, 0.0131212985, -0.0673317537, -0.0174421929, -0.0065154168, -0.0462504849, 0.0186619963, -0.025265675, -0.0143139241, -0.0285904668, -0.0197280925, 0.0369026549, 0.0298357401, -0.0141297188, 0.0249212012, 0.0541286133, -0.0420624055, -0.0317579359, 0.0073069129, -0.0125798462, -0.0125109274, -0.0435598865, -0.0230374951, -0.0198223386, 0.0536481217, 0.0328731202, -0.0317483917, -0.0955836251, 0.0149669908, -0.0167174079, -0.0489216633, -0.011101936, 0.0034516675, 0.0212340541, 0.0438307934, -0.0628985092, -0.0310336854, 0.116127111, 0.0247822944, 0.0026233841, -0.0228796564, -0.018801488, -0.0413200855, 0.0065646018, -0.0012097927, -0.0151032452, 0.0001066878, 0.0010185585, -0.0808483139, 0.0003376122, 0.028167665, -0.0019315197, 0.0450631417, -0.0714926943, 0.0450957306, 0.0015330552, 0.0035704002, 0.0029021085, -0.0829279944, -0.0196503717, 0.0325084478, 0.0711603835, -0.0172245819, -0.0697759911, 0.0166400038, 0.0167230107, 0.0194501113, -0.0304753445, -0.0184654519, 0.0021262786, -0.011069403, 0.0157827884, -0.0008549932, -0.0152804535, -0.046041742, 0.0228031501, 0.0374515653, 0.0363328531, -0.0361303389, -0.0418303944, 0.0259508044, 0.0146243777, -0.0092884861, -0.0334668681, 0.0143223796, 0.0293082166, -0.0386665612, 0.016923843, 0.0917365253, 0.0171973705, -0.0718256161, -0.001986634, 0.0296463594, 0.0534755886, 0.0103285043, 0.0053139981, -0.0551895127, -0.0313427933, 0.0070621339, 0.0174355078, 0.0064965836, -0.0347991213, -0.0103774359, -0.0528420731, 0.0090467473, 0.0091357473, -0.0926253051, 0.0210144538, -0.0316320211, 0.0618495345, -0.0369514078, -0.0186477378, -0.0258267652, -0.002402032, 0.0059737172, 0.0540769026, -0.0114699723, -0.0640748441, 0.0123892697, -0.0029067185, 0.0514969788, 0.0403981842, 0.0094482647, -0.0108916601, 0.0037466122, -0.0154618071, -0.0206509195, 0.0257387068, -0.0136518609, 0.0777499229, -0.0159917381, -0.0006683436, 0.0120829698, 0.0229919031, -0.015668558, -0.0030688446, 0.0046366137, 0.0437613539, -0.02956542, -0.0509436019, -0.0215141606, 0.0047181346, -0.006420407, 0.0446398482, 0.0227493159, -0.0332347155, -0.0244384911, -0.0129866088, -0.0247914698, 0.04547837, -0.0322426222, 0.0215079281, -0.0221119802, -0.0559583455, -0.0232449826, -0.0504705571, 0.0627224818, 0.0398414135, 0.0208268557, 0.0351276994, -0.0005196532, -0.0024921063, -0.0008609587, 0.0589749292, 0.0102669559, 0.0017888986, -0.0195216499, -0.0050155679, 0.0608060062, 0.0053635063, -0.0009629451, -0.0230420846, -0.0652165413, -0.0918509364, 0.0199964996, 0.0597464889, 0.0331170745, 0.0473033413, 0.00599183, -0.0864608213, 0.0471409969, 0.0259320699, -0.0250820145, 0.0279266741, 0.019728383, -0.0147667844, -0.0224426053, 0.0326435231, -0.0402795747, 0.0095429057, 0.0283991247, -0.0008341893, -0.057677988, -0.0345813036, 0.033575777, -0.0577837676, 0.0846186206, -0.0257798787, 0.0047125197, -0.0136287631, 0.0039017785, 0.0450499952, -0.0228416901, 0.0070468863, -0.008240018, -0.0149580883, -0.0159697589, -0.0043516941, 0.0282750092, 0.0078306282, -0.0037523371, 0.0064968131, 0.0052693998, 0.0479373671, -0.0033032559, 0.0125658428, 0.0114542088, -0.0066784187, -0.0085023185, 0.034263663, 0.01019077, 0.0236653537, 0.0267405752, 0.047011923, 0.0101228282, -0.036931958, -0.0038871614, -0.1021069959, -0.0835436061, -0.0057320292, 0.0656536967, 0.0357444212, -0.0246603377, 0.0474368483, 0.0007477426, 0.0170092843, -0.0344779864, -0.0083550652, -0.0053262236, 0.0396320671, 0.0483827218, 0.0381638743, 0.0195145067, 0.0096647311, 0.0637666881, 0.030074548, 0.0336960927, -0.0245148428, -0.0077606384, -0.0293255895, 0.0106251258, 0.0153926518, 0.0102094626, -0.013134405, 0.0187577829, -0.0525380448, -0.0633959025, 0.0116216214, -0.0181871913, 0.0273711309, 0.0138168577, 0.0293260645, 0.0730977952, -0.0391553864, -0.018182857, -0.0135177113, -0.0175876692, 0.0567632094, 0.009963559, -0.0484263152, -7.216286351e-33, -0.0227387566, -0.0479168668, -0.0053435378, -0.033508759, 0.0249388274, -0.0050008227, -0.0099936342, -0.015267835, -0.0011590376, 0.0352107696, -0.028589502, 0.0329926424, 0.0354163684, -0.0218305271, 0.0370836034, -0.0170314945, 0.071549654, 0.0035766487, -0.0139911966, -0.0015080121, 0.0265234653, 0.0373600088, 0.0872162953, -0.0881652981, 0.0403217375, 0.0493211709, -0.031361714, 0.0083138207, -0.0300462823, 0.0429807901, 0.0499205701, 0.0491782799, 0.045787394, -0.013545868, -0.0325938351, 0.0002737759, -0.0642210841, -0.0369680524, 0.037436191, 0.0061920974, -0.0149927996, -0.013501578, 0.0605327524, 0.0041658627, 0.070091106, -0.0249717385, 0.0816087574, -0.0350345038, -0.0234161783, -0.0297097005, -0.0064403899, 0.0294714794, -0.0327281468, 0.0096437279, -0.0038882575, 0.023034947, -0.0100137657, -0.0148204062, -0.0676006675, 0.0029369688, 0.064080812, 0.027474083, 0.0460216142, 0.0549493209, 0.0000599754, 0.03461897, 0.0369843468, 0.0278807618, -0.0139658619, -0.0877131671, 0.0419881456, 0.0322583877, 0.0264946539, 0.0242812745, 0.089166671, 0.0400895067, -0.0276093222, 0.0046954188, -0.0220439397, 0.0598703213, -0.0145800076, 0.0259143412, -0.041278746, -0.0298444256, -0.0787255317, 0.0155255655, -0.0350601561, -0.0411811545, 0.0139244767, 0.031206727, -0.0123759639, 0.0098266946, 0.0206760075, -0.0473646298, -0.0242091473, -0.0152032906, 0.0251565017, 0.026006043, 0.0096068513, 0.0174092259, -0.0643290505, -0.0179118626, 0.0247639827, -0.0077226837, 0.0306598563, 0.0074909395, 0.0202320833, 0.0231845584, -0.0345708914, -0.0408406071, -0.0245543793, -0.0347853042, -0.013568135, -0.0099009015, 0.0487457775, 0.0331219397, -0.0136799235, 0.0201233905, 0.0144477366, 0.0217103437, 0.0062794886, 0.0529518872, 0.0025482962, 0.0255197231, -0.0434157103, -0.0222774334, 0.0128229717, -0.0696869344, 0.0469010323, -0.0072171809, -0.0214923341, 0.0312775783, 2.766e-7, 0.0439447388, 0.0153111517, 0.0018788015, -0.0510705672, 0.0102058128, 0.0191033985, -0.0429471619, -0.0123506524, 0.0515876077, -0.052716855, 0.0465252884, 0.0614318512, -0.0031319447, 0.0214053225, -0.0754442215, -0.0386236273, 0.0005362162, 0.0284965672, -0.034792047, -0.0238249563, 0.0844884738, 0.1081694588, 0.0343998261, -0.0019124799, -0.027485365, 0.0026409319, 0.052185826, -0.0149745913, 0.017310733, 0.0321715325, 0.0809316263, 0.0035530634, 0.0078915972, 0.1050899997, -0.0043404433, 0.0145463385, 0.000615312, 0.0145931579, -0.0493092127, -0.0169165991, -0.0173532981, 0.0156983174, 0.0134661905, 0.0057638315, 0.0741149262, -0.1078585237, -0.0371114053, 0.0087937377, -0.0344434939, 0.0007517659, 0.0225760322, 0.0337904952, 0.0037364741, 0.0446459949, -0.0146763083, 0.0197608098, -0.0170385428, -0.0936480612, 0.0020677825, 0.0229135454, -0.0413317718, -0.0201650243, 0.0032179267, -0.0151183438, 0.0355305113, -0.0320585519, 0.0081745367, 2.079633178e-34, 0.0282348935, -0.0068350332, 0.0133328056, 0.0154375723, -0.0031193753, -0.0500562526, -0.0598003715, 0.0087879626, 0.0195282046, -0.0619810484, -0.0209228266 ]
http://arxiv.org/abs/2406.12058v3
http://arxiv.org/pdf/2406.12058v3
WellDunn: On the Robustness and Explainability of Language Models and Large Language Models in Identifying Wellness Dimensions
2024-06-17T19:50:40
2024-06-28T04:08:12
Seyedali Mohammadi, Edward Raff, Jinendra Malekar, Vedant Palit, Francis Ferraro, Manas Gaur
cs.AI
cs.AI, cs.CL
Language Models (LMs) are being proposed for mental health applications where the heightened risk of adverse outcomes means predictive performance may not be a sufficient litmus test of a model's utility in clinical practice. A model that can be trusted for practice should have a correspondence between explanation and clinical determination, yet no prior research has examined the attention fidelity of these models and their effect on ground truth explanations. We introduce an evaluation design that focuses on the robustness and explainability of LMs in identifying Wellness Dimensions (WD). We focus on two mental health and well-being datasets: (a) Multi-label Classification-based MultiWD, and (b) WellXplain for evaluating attention mechanism veracity against expert-labeled explanations. The labels are based on Halbert Dunn's theory of wellness, which gives grounding to our evaluation. We reveal four surprising results about LMs/LLMs: (1) Despite their human-like capabilities, GPT-3.5/4 lag behind RoBERTa, and MedAlpaca, a fine-tuned LLM fails to deliver any remarkable improvements in performance or explanations. (2) Re-examining LMs' predictions based on a confidence-oriented loss function reveals a significant performance drop. (3) Across all LMs/LLMs, the alignment between attention and explanations remains low, with LLMs scoring a dismal 0.0. (4) Most mental health-specific LMs/LLMs overlook domain-specific knowledge and undervalue explanations, causing these discrepancies. This study highlights the need for further research into their consistency and explanations in mental health and well-being.
[ 0.0152662313, 0.0649123266, -0.0071675605, 0.0044364706, 0.0131744407, 0.0193886403, 0.0269014947, 0.0065855044, 0.0454443917, -0.0169238001, 0.0102940826, 0.0088911792, 0.0076661496, 0.0042161224, 0.0156785827, -0.0488700792, 0.0293054041, 0.0150795449, 0.0482614785, 0.0114230458, -0.0173349101, 0.0010754673, -0.002721793, 0.060536392, -0.018677704, -0.0194774754, 0.0604836233, 0.0023996991, 0.0155549198, -0.0698678717, -0.0247665308, 0.0516948402, -0.008726499, -0.0202655829, 0.0000023872, -0.0438756458, -0.0219963603, 0.0169339534, 0.0137624405, -0.0249014087, 0.0256928019, -0.0646892637, 0.0410545357, 0.0243825577, 0.0273062475, 0.0241467357, 0.0145691521, 0.0602953546, 0.0311286468, 0.0274706949, -0.0198375396, -0.0171365924, -0.0189443585, -0.0228804871, -0.0045546554, -0.0237249359, 0.0427635536, -0.0228122845, -0.0159382597, -0.0362974182, -0.0126209697, 0.0211203676, -0.0189772267, 0.0263208151, -0.0067278259, 0.004889538, 0.0203936342, -0.0048732548, 0.0445282497, 0.0538941659, 0.0291691869, 0.049950581, -0.007612064, -0.007566541, 0.0305878818, -0.0040509184, -0.0217388291, -0.0186346117, 0.0040318277, 0.0035915016, 0.02085503, 0.0374826118, 0.0355882049, -0.0331696756, 0.0054580732, 0.096383296, -0.0136052053, -0.0476464741, -0.0088234311, -0.0372668095, -0.0165445972, -0.0161414631, 0.0159024093, 0.0323138945, -0.0183911007, 0.028252054, 0.0208267923, -0.0074180756, 0.0476876199, -0.0171152633, -0.0106818499, 0.0536757857, -0.064770624, -0.0256817844, 0.0663890317, 0.0505181998, 0.0188518316, 0.0390894637, -0.0454005636, 0.0320497043, -0.0397691801, 0.0011412792, -0.0140046095, -0.0141276596, 0.0174660608, -0.015944561, -0.0854761302, -0.0202662889, -0.0338549837, -0.0593776181, 0.0100866305, -0.0252795946, 0.0187285375, 0.0194304921, -0.0291634891, 0.0225013699, -0.0149850752, -0.0022123179, 0.0206900965, -0.0330600962, 0.0081249289, 0.0348028131, -0.043918781, -0.0549132749, 0.0115796197, 0.0469115265, 0.0669653639, -0.0563422181, -0.0445393994, -0.0152475452, -0.0967180505, -0.0540839769, 0.0003575736, -0.0338617414, 0.0094140479, 0.0064774468, 0.0224019401, -0.0640530065, 0.0351612978, -0.0144730462, -0.0699219704, 0.0145526072, -0.0329651497, 0.0404211059, -0.0002339027, 0.010246804, 0.0019688997, 0.034170419, 0.0191665944, -0.0290261563, 0.0300399922, -0.086203672, -0.0015632308, -0.0218540505, 0.0032444943, 0.0005451513, 0.0401079133, -0.0170015991, -0.0027460959, 0.0448467918, -0.0060144067, -0.0021026938, 0.0105287936, 0.0648590997, 0.0835229456, 0.0416879356, 0.0253027268, 0.025591854, -0.0243542716, 0.0064451201, -0.0283317957, -0.0009444892, -0.087239258, -0.0103528462, -0.0257825647, -0.0266510453, 0.0608493239, -0.0015680778, -0.0335516594, -0.0637193769, -0.0395275615, -0.0237762034, 0.0254162308, 0.0092959264, 0.0075014671, -0.0614390895, 0.0000352763, 0.0326353088, 0.0422247276, 0.0096735572, -0.0226487387, -0.0692399368, 0.003651367, 0.0716829747, -0.0083203409, -0.0195028428, 0.0040076226, -0.0220997576, 0.0654475689, -0.0085384473, 0.0076913037, 0.0429650322, 0.0239450168, 0.0084790587, -0.0276805833, -0.0075946157, 0.0412098132, -0.0207095332, -0.0191742629, -0.0037458003, -0.0181191154, -0.0346271433, -0.0696181282, 0.0700850487, 0.0282233283, -0.0337711498, 0.0008788138, -0.0060310303, 0.0504323579, 0.0129155889, 0.0183715504, 0.0572084934, 0.0059981099, 0.0004611898, -0.0271626227, 0.0211355407, -0.0326984972, 0.0064016571, 0.0001110856, 0.0380177721, 0.0316314921, 0.0348807871, -0.0069857668, -0.0089315204, 0.0332279466, -0.0667791292, -0.0196960829, 0.0109631149, 0.0062754741, -0.0016096717, 0.046081733, -0.0498337224, 0.0282195788, -0.0461191088, 0.0544934459, -0.0379280895, -0.0432529002, -0.0057201595, -0.0248093344, -0.0118602309, -0.0092635518, -0.0703113005, 0.0085087055, -0.0507677682, 0.0279432628, 0.0009660767, 0.0092059523, -0.084683992, 0.0136197284, -0.0246311333, -0.0143611496, -0.0049701878, -0.033092238, -0.0162105039, 0.0095069418, -0.0145441992, -0.000952579, 0.0497644544, 0.0598239303, -0.0110495631, 0.0035984172, -0.0090518007, -0.0179945156, -0.0244050473, -0.0448283628, 0.0091140345, 0.0068560475, 0.0020747811, -0.0252485331, -0.053622257, -0.0417038165, -0.0555573255, -0.0096186548, -0.0143640656, 0.0060762945, 0.0508187786, 0.0310755428, 0.026004333, -0.0056917155, 0.0394565761, 0.0368935689, 0.0410371386, -0.0253090821, 0.0077147717, -0.0396074317, -0.0514652058, -0.0288320445, -0.0789053813, 0.0075453785, 0.0851941034, 0.0509407744, 0.0068436298, -0.0642495826, -0.0084737595, -0.0205713604, 0.0255128983, -0.0337367207, 0.0251824912, -0.0451445617, 0.0550966747, -0.0130346874, -0.070816718, 0.047452841, 0.0169321485, 0.0163408536, -0.0402341038, -0.0097548105, -0.0138266897, -0.0129079139, -0.0008577348, 0.0182323325, 0.0503230207, -0.0157368872, 0.0288519505, -0.0272171609, -0.0184952673, -0.0307552181, 0.0494151935, -0.0618273318, -0.0134373326, 0.0161882043, 0.008826769, -0.0157421567, -0.0006882824, -0.0362890176, 0.0204223152, 0.0138038443, 0.0499724485, -0.0766980499, -0.0025330056, 0.0364690647, 0.0077375737, -0.0189700015, -0.0121759679, 0.0248265881, -0.036205329, 0.0148658697, 0.0262009501, 0.0495855771, -0.0424928144, 0.0023099068, 0.0147576658, -0.0526253544, 0.02909136, 0.0610730387, 0.0021206443, -0.0069694859, -0.0101973657, -0.0040114131, 0.049425751, 0.0428166054, -0.0309602376, -0.0335109532, 0.1094275266, -0.0132526187, -0.0105957147, 0.0525421724, -0.0214990359, -0.0226524025, 0.0291240718, -0.0471561402, 0.0183833912, -0.0298354216, -0.0320164561, 0.0944199413, -0.0136471735, -0.0073933611, 0.0292805005, -0.0053942124, 0.036601536, -0.0176779777, -0.0519195758, -0.0146100782, -0.0448995531, 0.0136014884, 0.0015073349, -0.0392436087, -0.0059089265, 0.0235251486, -0.0111533469, 0.0154412687, -0.0723825023, -0.0540475883, 0.0373047814, -0.0004926763, 0.0364125744, 0.0553297251, 0.0444780029, -0.0120572988, -0.0678234696, 0.0089782933, -0.0199512746, 0.0004936742, 0.0246938597, 0.087332502, -0.0132074673, 0.0211084206, -0.0511261486, 0.0440338999, -0.0472709239, -0.009508701, -0.0293191485, 0.0630684197, 0.0264594052, -0.0527136624, -0.0213365592, 0.0512134582, 0.0263729114, 0.0710827261, 0.0376825519, -0.0358626023, -0.0049970746, 0.0021765176, 0.0096673723, 0.0196784884, -0.0325589888, 0.0428052768, -0.033049982, -0.0398110747, -0.0186861288, -0.0600214191, 0.0388655774, -0.0111495685, -0.0251208283, -0.0091473721, -0.0187994093, 0.0161719993, -0.0536099896, 0.0774666965, 0.0485260263, 0.0221418701, -0.0535645746, 0.0001598341, 0.0245401207, -0.0155143188, -0.0090146093, 0.0148669947, -0.0050337072, 0.0198616982, 0.0525086969, 0.0394057631, 0.0191478878, -0.0400594175, 0.0036110021, -0.0322903916, -0.0196091402, -0.013962293, -0.0540033206, -0.0058348197, 0.0236877967, 0.0659354627, 0.0036930556, 0.0383650623, -0.0176230241, 0.0435477644, 0.045642361, 0.0179585125, 0.0174702629, -0.049180802, 0.0137034617, 0.0264600329, 0.0743670985, -0.0272179116, -0.0280587189, -0.0104011074, -0.0626374558, -0.0089363465, -0.0012721407, -0.0127003919, -0.0280992221, 0.0452552363, 0.017367905, -0.0348272212, -0.0351286791, -0.0597286187, -0.0267089941, -0.0612269118, 0.0292818286, -0.0652641878, 0.0045131883, -0.0161677953, 0.021150643, -0.0156892557, 0.0175365265, -0.0182146151, 0.014301125, 0.026183093, 0.082701534, -0.0144272679, 0.0023353095, 0.0260458086, -0.0058558336, -0.0382566303, -0.0721093267, -0.0164137445, -0.0479512103, -0.0019332294, 0.0280089565, 0.0667673349, 0.0073287049, -0.0114087397, -0.0581776686, 0.0123988725, -0.005173828, -0.0359273776, 0.053855218, -0.0088207414, -0.0327747017, -0.0462219417, 0.0604345351, 0.0034610163, -0.0197425727, -0.0005990233, -0.0293692872, -0.0320679396, -0.0262314491, -0.0184869133, 0.0682718828, -0.0828207359, 0.0148802195, -0.0918902606, -0.0537219904, 0.0329383761, -0.0505784191, 0.0048064566, -0.0177820176, 0.0050005703, 0.0263212547, -0.0139168194, -0.035640046, -0.0579842292, 0.0166568588, -0.0549789779, 0.0034830184, -0.0045079673, -5.816675554e-33, -0.0095411241, -0.039341189, 0.0001723862, -0.0147770401, -0.0185333118, -0.0055770683, -0.0401891172, 0.036855299, -0.0249991883, 0.0175273605, 0.0690332204, 0.0512425378, -0.0110791707, 0.0558592454, 0.0281637311, -0.0330851153, -0.0203374568, 0.0067017931, -0.0272653326, -0.0047325529, -0.0235479064, 0.0333939865, 0.072416611, -0.1157448366, 0.08221066, 0.0207659658, 0.0208423287, 0.0149840126, -0.011532574, 0.0326287746, -0.0531963296, 0.0953998342, 0.0636791959, -0.0149773434, 0.0266954284, -0.0132074514, 0.0055427561, -0.0314926244, 0.0408810936, -0.0412097313, -0.0198137127, -0.0353996493, 0.0270084832, 0.0229377523, -0.030017158, -0.0361504853, 0.0348748006, -0.0811437666, 0.0025155793, -0.0207197163, -0.0397828706, 0.0256330464, -0.0139988177, -0.0014196672, -0.0497813076, 0.0408196822, -0.0439683497, 0.0874527842, -0.0238617789, -0.0241787359, 0.0213403348, -0.0125016998, 0.0483497605, -0.0331425071, -0.0024859712, 0.0447118133, 0.0283078086, 0.0344575271, -0.0368637852, -0.0379772596, 0.0296189412, 0.035025537, 0.1061382592, 0.0049479883, -0.0271163713, -0.0361074507, -0.0566491224, -0.007341533, -0.0588735752, -0.0233570524, 0.062714234, -0.0098989792, -0.0359977037, -0.0308675133, -0.0456449762, 0.0017301086, -0.0373728126, -0.0077712536, 0.0336011127, -0.0117005566, -0.0160919819, 0.0005023613, 0.0159893557, -0.0147726377, 0.0210238378, -0.0029774329, 0.010708604, 0.008525298, 0.0247581135, 0.0151880281, -0.0347276963, 0.0041739345, -0.0229207259, 0.0368622504, 0.0806662217, -0.0222367812, 0.034756083, -0.03955587, -0.0237199292, -0.0310102422, -0.0066710939, 0.020175999, 0.0114688836, -0.0061406293, -0.0012568166, -0.0095082885, 0.0053042579, 0.05875111, 0.0480785668, -0.0183961131, -0.0763203502, -0.0109315515, -0.009634994, 0.0088187717, 0.0024306506, -0.031200977, 0.0112136183, 0.0147787407, 0.0488097407, -0.0250914451, -0.0116320224, -0.0074552055, 2.918e-7, 0.0782283023, 0.0614332445, -0.0551657081, -0.031891983, 0.0338453501, 0.0293063354, -0.0247765519, 0.0180511829, 0.0298299845, 0.0047706924, -0.0011831721, 0.0035136242, 0.0673801824, 0.0019279635, 0.035072986, -0.0418841653, -0.011842628, -0.0105119692, -0.0471192598, 0.0306563862, 0.0793209672, 0.0555091873, -0.0149545642, 0.0008075826, -0.0059495093, -0.0008139093, 0.0245932322, -0.0609361529, 0.0161028281, 0.0473155379, 0.0589200407, -0.0048083854, 0.0133566828, 0.0015000297, 0.0083646616, 0.0190199018, 0.0071719657, 0.1140112355, -0.0422318578, 0.008071932, -0.0293822326, 0.0047534741, 0.0243091825, -0.0729459748, 0.0489189364, -0.0841504782, -0.0522188544, -0.0052929684, -0.0582239069, -0.0107903583, 0.0666166842, -0.0091390451, -0.0067877728, 0.0371336043, 0.020218214, -0.0189039651, 0.0208679419, -0.0450438559, -0.0469245054, 0.0460941903, -0.0599894151, -0.0052112052, -0.0224093869, 0.0116825933, 0.0195487887, -0.080180347, -0.0003329125, 2.82799834e-34, 0.0336277001, 0.0357979015, 0.0213354025, -0.012383041, 0.0333161578, 0.0008070556, -0.0068752351, 0.0286843926, -0.0249454416, -0.0550783165, -0.0006342354 ]
http://arxiv.org/abs/2406.12053v1
http://arxiv.org/pdf/2406.12053v1
InternalInspector $I^2$: Robust Confidence Estimation in LLMs through Internal States
2024-06-17T19:46:05
2024-06-17T19:46:05
Mohammad Beigi, Ying Shen, Runing Yang, Zihao Lin, Qifan Wang, Ankith Mohan, Jianfeng He, Ming Jin, Chang-Tien Lu, Lifu Huang
cs.CL
cs.CL
Despite their vast capabilities, Large Language Models (LLMs) often struggle with generating reliable outputs, frequently producing high-confidence inaccuracies known as hallucinations. Addressing this challenge, our research introduces InternalInspector, a novel framework designed to enhance confidence estimation in LLMs by leveraging contrastive learning on internal states including attention states, feed-forward states, and activation states of all layers. Unlike existing methods that primarily focus on the final activation state, InternalInspector conducts a comprehensive analysis across all internal states of every layer to accurately identify both correct and incorrect prediction processes. By benchmarking InternalInspector against existing confidence estimation methods across various natural language understanding and generation tasks, including factual question answering, commonsense reasoning, and reading comprehension, InternalInspector achieves significantly higher accuracy in aligning the estimated confidence scores with the correctness of the LLM's predictions and lower calibration error. Furthermore, InternalInspector excels at HaluEval, a hallucination detection benchmark, outperforming other internal-based confidence estimation methods in this task.
[ -0.0124251666, 0.073807314, -0.0056356774, 0.0539738312, -0.0475405604, -0.0027345091, -0.0396493413, -0.0234877318, 0.0156650301, -0.0277821496, -0.0614500381, -0.0627817139, 0.0414101891, 0.0023463715, 0.0435581207, -0.0175081138, 0.0559946783, -0.0532301068, -0.0141907129, -0.0001279298, -0.0242520683, -0.017299084, -0.015436748, 0.0389425531, 0.0221040528, -0.0326484442, 0.0117203789, 0.0089412509, 0.0364956707, -0.0388537198, 0.0139860325, 0.0585655011, 0.0265282616, 0.0586403944, 0.0000018268, -0.0339417085, 0.0088870246, -0.0289237723, 0.00177361, -0.0232853647, -0.0006158147, -0.020525394, 0.0106082782, 0.0115545066, -0.0207403917, 0.0396886915, 0.0241118483, 0.0690020621, 0.0337614939, 0.0658865944, 0.0137564698, -0.0131040327, 0.0204653665, 0.0024019093, 0.0123275034, -0.0202080198, 0.0291021634, 0.0026756146, -0.0409122333, -0.0357587226, -0.0267288797, 0.0480124839, 0.0297355819, -0.0100398017, -0.0206845067, 0.0366747379, -0.0332155973, -0.011535435, -0.0127323642, 0.0646784157, 0.0052228738, -0.0400863215, -0.0255781654, -0.000379072, 0.0069897901, -0.0162120331, -0.0322341956, 0.0184693914, -0.0217277482, 0.0372219123, 0.0342144929, 0.0329607911, 0.036987856, 0.0006908848, 0.0096402336, 0.0805590823, 0.0222486854, -0.027144732, 0.0219974536, 0.038458433, -0.0180333275, -0.0353450142, 0.0452125072, 0.0337418355, -0.047499042, 0.0252608061, -0.0496960729, 0.00263222, 0.0172930453, -0.0621957406, -0.0091396123, 0.0442902707, -0.0529571623, 0.0475671403, -0.0291928593, 0.043601431, -0.0066291322, 0.0550241731, 0.0147167714, -0.0039806035, 0.0191137716, 0.005484845, -0.0275282711, 0.0177541617, 0.0040877294, -0.0308266133, -0.0640998483, -0.0030545292, -0.0199909415, 0.0446207486, 0.005357095, 0.0298876576, -0.015434674, -0.0518258847, -0.01420929, 0.0372905768, 0.0069330637, -0.0058587594, 0.0282812491, -0.0764045343, -0.0441261195, 0.0388135426, -0.0124365259, -0.0016706364, -0.031556461, 0.0445374809, -0.0085410494, -0.0405903161, -0.0635437071, -0.0209300797, -0.0365298688, -0.0688597634, 0.0058358368, -0.0509865843, -0.0078967242, -0.0166556742, 0.007569782, -0.0405491106, 0.0521511585, 0.0326774754, 0.0122476751, 0.0528106876, -0.0241791196, -0.035918761, 0.0079506394, 0.036954619, -0.0264096279, 0.0480980463, 0.016230436, 0.0124562969, 0.014737919, 0.0066209799, 0.0498364046, 0.0220218413, 0.011102885, -0.0161976796, -0.0732590035, 0.0088823056, -0.0112268487, 0.0210614465, 0.0443233065, 0.0610513575, -0.0315670036, -0.0287312213, 0.1030752286, 0.0129228272, 0.0053443671, -0.0259337258, 0.0200038422, -0.0004993064, 0.0254298765, 0.0313862227, -0.0659022927, 0.0638811812, -0.0637208447, 0.0043127034, 0.0777255297, 0.0052147568, -0.0049494794, -0.0539469086, -0.0229072627, -0.0031655729, -0.0340344496, 0.0355157629, 0.0263130069, 0.0133413011, -0.0686074346, 0.020859722, 0.0041720164, 0.0103147281, 0.0279619731, -0.0348007903, 0.0291312598, 0.073457323, 0.0333165564, -0.009470189, 0.0129138213, -0.0269284621, 0.005317363, 0.0825337917, 0.0095596109, 0.0000874877, 0.0324246921, -0.0691840053, 0.0072425064, -0.0169296097, 0.0521543398, -0.0075542689, 0.0120807989, 0.0132389991, 0.0100544151, -0.0410036221, 0.0032240229, 0.0225858148, -0.0175756961, -0.0319292992, -0.0221175961, -0.0250405259, 0.0094399033, -0.0212362949, 0.0173947103, 0.0326795429, 0.0042705047, -0.017609939, -0.0541235358, 0.0206130929, -0.0499228276, -0.0646036863, 0.0498382114, -0.0193544123, -0.0350588672, 0.023141576, -0.0151696764, -0.0459009707, 0.0362826064, -0.0636976063, 0.0119852154, -0.0539480746, 0.0283803325, 0.0335714966, 0.0554386377, -0.01194847, 0.0708197281, -0.0642292202, 0.0115947407, 0.0410787761, 0.0120444056, -0.0122834155, -0.0275255106, 0.0032042204, -0.0132996058, -0.0090267444, 0.0096121533, -0.0112572182, -0.0440035723, -0.077763021, -0.0059943143, -0.01509663, 0.0111973938, -0.0313109085, 0.0032086631, 0.0427242294, -0.0213955455, 0.0047556236, -0.0143534802, -0.0230019987, 0.0105142705, 0.0012540836, 0.0175395384, 0.0180755332, -0.027763987, -0.0084922342, -0.0393713675, 0.010611414, -0.0189076532, 0.0432722829, -0.0251184851, -0.0308674406, -0.0929954648, 0.0317419581, -0.0183641594, 0.0320487171, -0.0113256648, -0.020781111, 0.0222813934, -0.0041907742, 0.0269983243, 0.0740949586, 0.0262493361, -0.0193919353, 0.0699224323, -0.0354377069, -0.0340911299, 0.0098917559, -0.0009361487, 0.0118622361, -0.0121823261, -0.0398973972, -0.0124112284, 0.0743940696, 0.0397517569, 0.018118171, -0.0581784733, 0.0152839245, -0.0099456171, -0.0371728614, 0.0178154893, 0.0153557761, -0.0379749499, 0.048080083, -0.0412193611, -0.0542652383, 0.0931853279, -0.0511131734, 0.0058735143, 0.0039638779, 0.0016633631, -0.0085980399, 0.0032461088, 0.0157372877, -0.0059322966, -0.0157050733, -0.0277552847, -0.0442271493, -0.013013659, -0.0178635772, -0.0461824648, 0.0585138686, -0.0491419844, -0.0057886587, 0.0265252609, -0.019510353, -0.0769637972, 0.0128977308, -0.0497329794, -0.0090761986, -0.0252005812, -0.0123632047, -0.0270981975, -0.0352497101, 0.0351482853, 0.0443252698, -0.0297423527, -0.026459625, -0.0038001512, 0.0519986264, 0.0774971694, -0.0078594554, 0.071576871, -0.0522586219, 0.0292113982, 0.0861770511, -0.024393104, 0.0423171036, -0.0403165594, -0.0220847167, 0.0494522154, -0.0168510899, -0.0078351526, 0.0336140245, 0.0837851688, -0.0557777286, -0.0411523059, 0.1237287968, 0.0161453057, -0.0666092634, 0.0045304894, -0.0517414175, 0.016383687, 0.0270611346, 0.0010445601, -0.0400827676, -0.0297301188, -0.0071213716, 0.0147125535, -0.0065506999, -0.0302605238, -0.0052763927, -0.107198596, 0.0353916474, 0.0230277777, -0.03826252, -0.0483866781, -0.0310063791, 0.0485323071, 0.0307543073, 0.0463751741, 0.0062287953, 0.0167141221, -0.0082299337, 0.0070668799, -0.0291793142, -0.0512568951, 0.0138195269, -0.0165139399, 0.0531239361, 0.0438992567, 0.0231083743, 0.0092171459, -0.0772442967, 0.0576596335, -0.052925989, -0.0032186394, -0.0125245005, 0.0584232919, 0.0126550207, 0.0061516836, -0.0320375822, 0.0397191569, -0.039443627, -0.0350086465, -0.0335507356, 0.0584393777, -0.047109697, -0.0461966321, -0.0090612778, 0.0536763147, 0.0242366288, 0.0685874447, 0.0401062667, -0.0155508891, -0.0229958445, -0.0457646027, 0.0301670916, -0.0785151646, -0.0116570089, 0.0405584499, 0.1073766723, 0.0049727275, -0.0665514022, -0.0243374482, 0.0055045774, 0.0033219324, -0.0259332266, 0.0186630301, -0.0224061329, -0.0378035866, -0.0125890728, -0.0017917693, -0.0634196922, 0.0099454429, -0.0233340785, 0.0253408458, 0.0326484516, -0.0174197052, -0.0058540427, 0.0660049021, -0.0998095348, -0.0921997279, -0.0042935857, 0.0755560771, 0.0179427527, 0.054373119, -0.0273817312, -0.0417678505, 0.0597661808, -0.0287756547, 0.0060012699, 0.0175155811, 0.0159807317, 0.0216856226, -0.0005776054, 0.0433307029, 0.0019609889, -0.0339495763, 0.041413907, 0.0533323213, -0.0003902515, -0.0415930822, 0.029932728, -0.0274103247, 0.0282310639, -0.0222269278, 0.0440082699, -0.0205658078, 0.0055272654, -0.0208890345, -0.0119441012, -0.0176593624, 0.01858145, 0.0625988096, -0.0379162058, -0.0236851498, -0.0448749922, -0.0083731608, -0.0132236676, -0.0048642159, -0.0179209802, 0.0383576788, 0.0183133427, 0.0275495145, -0.01994019, -0.0398979336, 0.0237786733, -0.0087731145, 0.0755153, 0.0405900404, 0.0538545065, 0.0096175624, -0.0287662316, -0.0124011524, -0.0168677662, -0.0505347066, -0.0350047164, -0.0334254466, 0.0148804132, 0.0472583249, 0.0088637946, 0.0451059118, -0.0118694538, -0.0022630561, -0.0144849662, 0.036253117, -0.0013380453, -0.048357226, 0.0262816139, -0.0004470781, -0.0021083504, 0.0172092319, 0.08536724, -0.0382645428, 0.0578526855, -0.0013485275, -0.0039194971, -0.027705539, -0.0304755848, -0.0443161763, 0.0308818966, -0.033769086, 0.0129709337, -0.0294258185, -0.0788527429, 0.0396617502, 0.0271632317, 0.0018222788, -0.0160359256, -0.0027500775, 0.0267187227, -0.0046378826, -0.0481258631, -0.022453405, -0.0164320171, 0.0263538435, 0.0049495362, -0.0445091203, -6.506459679e-33, -0.0248390511, -0.0551669076, 0.0163670443, -0.0389457271, 0.0029574654, -0.0049020685, -0.0774652734, 0.0255955663, 0.024862146, 0.0290701166, 0.0021771004, 0.0481245741, 0.021068152, 0.0381291769, 0.0176747143, -0.0316703357, 0.0395788513, 0.0056759114, -0.035699185, 0.0003923354, 0.0110750711, 0.0210133679, 0.1187649742, -0.0530176461, 0.0279662088, 0.0224035475, -0.0344973654, 0.057471972, -0.0403078347, 0.0227223318, -0.0373390019, 0.0371145196, 0.0097382236, -0.0366573334, -0.0307951905, -0.0187947452, -0.0185913872, -0.038730219, 0.0114886751, 0.0227728691, -0.0678070933, -0.0310003888, 0.0205358695, -0.0131408032, 0.0215624087, -0.029306896, 0.0163270105, -0.0316009223, -0.0066279485, -0.0137899052, -0.0457878262, 0.017840052, 0.0030756472, 0.0087511055, -0.027765533, 0.0634621978, -0.0017909505, -0.0106157605, -0.0919301808, -0.0099172937, -0.0187156722, 0.0165883061, 0.0640294179, 0.0137237487, -0.0107747652, 0.07454101, 0.0463927463, -0.0015186438, -0.0276561715, -0.0362330861, 0.023620436, 0.0204035416, 0.0533940606, 0.0357242115, 0.0189129133, 0.0391591005, -0.0469063744, 0.0053116614, -0.0257057883, 0.0276453216, 0.0435277075, -0.0030649533, -0.0401880965, -0.0122476034, -0.021635266, -0.0378230549, -0.0294025447, -0.0059577501, 0.0245751478, 0.020458458, 0.0170901939, -0.0125861848, 0.0398920439, -0.0228304956, 0.005840634, 0.017331386, 0.0090450961, 0.0007640917, -0.0029184234, 0.0359728411, -0.0325733162, 0.0143979536, 0.00709101, 0.0135160405, 0.0029526684, 0.0241607688, 0.0315189734, -0.0055096857, -0.064219363, 0.0220619682, -0.0511624403, 0.0185760427, 0.0054478622, 0.017025562, 0.0543420576, -0.0125248423, -0.0332563519, 0.0161943529, -0.0209380891, 0.0320314653, -0.0008104137, 0.022801131, -0.0098250071, 0.019411739, -0.0282676481, -0.0175733883, -0.0276133846, -0.025377376, 0.0178477, -0.0468041152, -0.0058429963, 0.012806152, 2.652e-7, 0.0368850231, 0.0263440162, 0.0085414648, 0.0538170263, 0.0242826939, 0.003110487, -0.0023437955, -0.0011753327, 0.0309729967, -0.0698517114, -0.011638334, 0.0320060998, 0.0705007389, 0.0568807498, -0.0740079954, -0.0345361196, -0.0278744157, 0.036580056, 0.0079281805, -0.0447553024, 0.0225819629, 0.0761991292, -0.0034985803, -0.0200599618, 0.030759925, -0.0478598662, 0.0799526572, 0.0090011768, 0.0075888638, 0.0131669967, 0.0525653586, 0.0197955798, 0.0101070357, 0.0242953207, -0.0189530011, -0.0102949319, -0.0199189428, 0.0356337801, 0.0001640323, -0.0640699789, -0.0497795939, 0.0141402576, 0.0344513655, -0.0452571213, 0.0360978842, -0.0688775182, -0.0318440795, -0.0297742411, -0.0209663641, -0.0416823812, 0.0614526905, -0.0019755317, -0.0118505331, 0.01718935, 0.0069244243, 0.0344804265, -0.0266363006, -0.064675115, -0.0595662184, -0.0154611226, -0.0426639467, 0.00007656, -0.0313757844, 0.0019926471, -0.009742083, -0.0817171559, 0.0147415763, 2.345107556e-34, 0.0399075225, -0.0248764623, 0.0234246533, 0.0490501635, 0.0365628824, -0.0148653043, 0.0238781683, -0.0251914337, 0.0343262143, -0.0727680922, -0.0197770987 ]
http://arxiv.org/abs/2406.12052v1
http://arxiv.org/pdf/2406.12052v1
UniGLM: Training One Unified Language Model for Text-Attributed Graphs
2024-06-17T19:45:21
2024-06-17T19:45:21
Yi Fang, Dongzhe Fan, Sirui Ding, Ninghao Liu, Qiaoyu Tan
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Representation learning on text-attributed graphs (TAGs), where nodes are represented by textual descriptions, is crucial for textual and relational knowledge systems and recommendation systems. Currently, state-of-the-art embedding methods for TAGs primarily focus on fine-tuning language models (e.g., BERT) using structure-aware training signals. While effective, these methods are tailored for individual TAG and cannot generalize across various graph scenarios. Given the shared textual space, leveraging multiple TAGs for joint fine-tuning, aligning text and graph structure from different aspects, would be more beneficial. Motivated by this, we introduce a novel Unified Graph Language Model (UniGLM) framework, the first graph embedding model that generalizes well to both in-domain and cross-domain TAGs. Specifically, UniGLM is trained over multiple TAGs with different domains and scales using self-supervised contrastive learning. UniGLM includes an adaptive positive sample selection technique for identifying structurally similar nodes and a lazy contrastive module that is devised to accelerate training by minimizing repetitive encoding calculations. Extensive empirical results across 9 benchmark TAGs demonstrate UniGLM's efficacy against leading embedding baselines in terms of generalization (various downstream tasks and backbones) and transfer learning (in and out of domain scenarios). The code is available at https://github.com/NYUSHCS/UniGLM.
[ 0.004699918, -0.0005597722, 0.0060257702, 0.0396670662, -0.0135070682, 0.0232068244, -0.0007268156, -0.0157245249, 0.0783337951, -0.0556438006, -0.0374328084, 0.0059887893, -0.027057115, 0.0291674808, 0.0317413583, -0.0056910468, 0.0026611923, 0.0169659127, 0.0399209596, -0.0130978469, 0.0223225392, 0.0413522124, 0.0452178307, -0.0039844899, -0.0002222939, -0.014670602, 0.0249215681, 0.0479811281, 0.000944756, -0.0570533723, 0.0032891987, 0.0194864795, 0.0227128584, -0.011705921, 0.0000017782, -0.0155620053, -0.0245428924, 0.0051355013, 0.0135040022, -0.0116332341, 0.0590879284, 0.0092322361, 0.0547153912, 0.0140742073, -0.0444250032, -0.0370095335, 0.0349317193, 0.0513266996, 0.0202053376, 0.0572882891, -0.0362044536, -0.0453338251, -0.0170029122, -0.0380472243, -0.0181191117, -0.0369585045, 0.0307523124, 0.0203038417, 0.0001282037, 0.0540445708, -0.0673619583, 0.0045856726, -0.0168529842, -0.0069736997, 0.0615509078, 0.0405828655, -0.0116506768, 0.0488124304, 0.0204226393, 0.1391141862, 0.0061277281, -0.0356795602, 0.017512925, -0.0247370955, 0.0207133181, -0.0028870273, -0.0326547623, -0.0469526611, -0.0003346562, 0.0529373772, 0.0193073899, -0.0206376202, 0.0722633749, -0.0062309559, 0.0160461739, 0.0548377447, 0.0151735125, -0.016683612, 0.0201414861, 0.0168695487, -0.0505968034, -0.0191293452, 0.0160625428, 0.0010647451, -0.0156743824, 0.0183722228, -0.0520857535, -0.0308191217, -0.0076509453, -0.0041038007, 0.0381577946, -0.0259871241, -0.0009076444, 0.0747854412, -0.036537312, 0.0337575711, -0.0275942311, 0.0430247188, -0.0420971327, -0.0235659219, -0.0761699602, 0.0191307496, -0.0367772579, 0.0344408117, -0.0209179278, -0.0330587626, -0.0008552385, 0.0240928307, -0.0305232909, 0.0017684083, 0.0413220674, 0.0295540132, -0.0069327736, -0.0072139758, 0.0243644137, 0.052820202, -0.0183152054, -0.0160237905, -0.0260110572, 0.0062339301, -0.0036991951, 0.0373738036, 0.0500480644, -0.0470338576, 0.0104111368, 0.0423788205, 0.0326808542, -0.0181883015, -0.0129065393, 0.0120156547, -0.0111758234, -0.0427209549, 0.0431790575, -0.0755641088, 0.0382493176, 0.0378021635, 0.0074630533, -0.0809301957, 0.0194304083, -0.0101164645, -0.0692166165, 0.0660403222, -0.0388455354, -0.0157573503, -0.0219789259, -0.0234184898, -0.0244466756, 0.0295838751, 0.0300513618, 0.0118541699, 0.0498327687, 0.0043497616, -0.0445399545, -0.0054542054, 0.0316745974, 0.0334007852, 0.0049656136, 0.0100059947, -0.0150874574, 0.0181272123, 0.0154097229, 0.0554743707, -0.0113435937, -0.0380980074, 0.0601512678, 0.0123791853, -0.0055070641, -0.0078474209, 0.0379510373, 0.05320324, -0.0223852266, -0.0038504011, -0.0350134037, 0.0158788003, 0.028216688, 0.0224762727, 0.0248133894, -0.0193306468, -0.0473531075, 0.0199660547, -0.0200990438, -0.0522491448, 0.0727807209, -0.0137596186, 0.0812167078, 0.0130887311, -0.0652755946, 0.0117980074, 0.0420311801, -0.0110111982, 0.0246901456, 0.0243275966, -0.0035866341, 0.0549791269, 0.0389561504, -0.0084810341, -0.0279631987, -0.0151755866, 0.0421537794, -0.009964928, 0.0379022844, -0.036257837, 0.0108023938, -0.0552431047, -0.0780877024, -0.0458790027, -0.0124232741, 0.0170779657, -0.0050577847, 0.0090437755, 0.003468781, -0.1089340895, -0.0344137549, 0.0097949049, -0.0368742459, -0.0042854864, 0.0060449205, -0.0181070399, -0.0248532612, 0.0160565041, -0.0035982558, 0.0116378479, 0.024137944, -0.0116324928, -0.0273946766, -0.0046405094, -0.0415464528, -0.0597434267, 0.0597988106, -0.0381557941, -0.0198749732, 0.0299589336, -0.0685367957, -0.0373977199, 0.0532059483, -0.039996542, 0.010349758, 0.0078652576, -0.0047713513, -0.0078618359, -0.0104442611, -0.0141354883, 0.0629793778, 0.017142402, 0.0166348927, -0.0060654436, 0.0356275328, 0.0214252714, -0.0227881204, -0.0305200852, -0.0177358296, 0.0261764824, 0.0090709552, 0.0256019086, -0.0049790973, -0.0486443453, 0.0399737693, -0.0850141719, 0.017337732, 0.000752279, 0.0229759514, -0.002714955, -0.0005094649, 0.0272286795, -0.0307029895, -0.0532208979, 0.0011402743, -0.0289053861, 0.012813732, 0.0298695359, -0.0289478078, 0.0027889882, -0.0242898408, -0.0328408703, -0.021002749, 0.0916775912, 0.0219347868, -0.0164909773, -0.0211892091, -0.0066643651, -0.0305702146, 0.031381987, -0.0069245598, 0.0126358746, -0.0337827727, 0.0163676739, 0.027027268, 0.0425108001, -0.0292927902, 0.0138919707, 0.0163127836, 0.0109928288, -0.0413657613, -0.0137753207, -0.0412977636, 0.0473087057, -0.0285122916, -0.0220705159, -0.0161495116, 0.0692012981, -0.0003752631, -0.0189272799, -0.0481373817, -0.0282456484, -0.0204908904, 0.0106820501, 0.0125561748, -0.0078318492, 0.0214868654, -0.0254921988, -0.0403623804, -0.0236005373, 0.0883773193, -0.0124250399, -0.0068407767, 0.0076668598, -0.0205038451, -0.0527320057, 0.0586760379, 0.0279709678, 0.0248724259, 0.0316929482, -0.0163226444, -0.0337952264, -0.0075107263, 0.0524151772, -0.0399090238, -0.0201891679, 0.0141738504, 0.0222832691, 0.0047039185, -0.0425507426, 0.0015358338, -0.0034405729, -0.0145284859, 0.0525638387, 0.0119779669, -0.005076596, -0.0158755127, -0.0011043554, -0.0253721736, 0.0127857504, -0.0287176073, 0.0011988308, -0.0283552278, 0.0663707033, 0.0761007741, -0.0738973096, 0.0070584961, -0.0161518548, -0.0137263071, 0.0315536037, 0.0150981387, -0.0015490717, -0.0475982688, 0.0133534204, 0.0062038917, -0.033327803, -0.0277769826, -0.0225109551, 0.0447820351, 0.0097998651, -0.022668954, 0.088042587, 0.0276750326, -0.0547785982, -0.001021179, 0.0086937398, 0.0272991471, 0.0228089523, -0.0086381212, -0.089586094, -0.0477002338, -0.0197044294, 0.0285740476, 0.0745427236, -0.0563783161, 0.0124226213, -0.1093891785, -0.0137836765, 0.0310451984, 0.0278298575, -0.0464706384, -0.0629923344, 0.0009753354, -0.0352949351, -0.0123377619, -0.027168937, -0.0145111475, 0.0148285916, 0.01742783, 0.0008477563, -0.0157198105, 0.0359105803, -0.0626838356, 0.0160655323, 0.0030899532, 0.0473299138, 0.0250072256, -0.0205945149, 0.0330566205, -0.0165340807, -0.0405957513, -0.0204781443, 0.0677068233, -0.0352490693, 0.0064488789, -0.0343303606, -0.0013834594, -0.0620462149, -0.0116769616, -0.0583997108, 0.1125196368, 0.0160905775, -0.0375354439, -0.0077263741, -0.0323338583, 0.0234700572, 0.0460367426, 0.0284287706, -0.0177974924, -0.0675029382, -0.0110972961, 0.0334665701, -0.0501115546, 0.005161358, 0.0320846364, -0.062581569, 0.0234186351, -0.0611180514, -0.0355797969, 0.0338961966, -0.0088334782, 0.0032233854, 0.0217344835, 0.0079672374, -0.0582666025, -0.1024370939, 0.0207222514, -0.0524007343, 0.0260055624, 0.0156372245, -0.0377028696, 0.0662720725, 0.0009670908, -0.0153384116, 0.0074053053, -0.0364759751, -0.0671660975, -0.0521418639, 0.0285939798, 0.0029601159, 0.0657355785, -0.0466068536, -0.0240505654, 0.0223317631, 0.0098774992, -0.0275307801, -0.0076981103, 0.0278708991, -0.0328077152, -0.0060521206, 0.0505706333, -0.0688779503, 0.0167961493, 0.0452561788, 0.0652026609, 0.0007842914, -0.0534853563, 0.0025033453, 0.0389367417, 0.0410561301, 0.015085754, 0.0371860676, -0.0451746695, -0.0279004257, 0.0081349257, -0.0386777595, -0.0362567268, 0.0138879512, 0.0259454474, -0.006095428, -0.0170582812, -0.0045714402, 0.0046090642, 0.071736984, -0.0408789888, -0.0079283789, -0.0048461119, -0.0144325262, 0.0057604499, 0.0084572369, -0.0148484735, -0.0018250919, 0.0215543061, -0.0107764099, -0.0111621348, 0.0117988084, 0.0310988426, 0.0189716797, -0.0359936543, 0.0273561776, -0.0167218558, 0.0311399978, -0.026074199, -0.0357070714, 0.0557855368, 0.0022609003, 0.0805858076, 0.0140722068, -0.0158988219, -0.0362647921, 0.0747694224, -0.022547055, -0.0343160257, 0.0456535593, 0.0250482541, -0.0088573145, 0.0310378838, 0.0813575387, 0.0544610284, 0.0353315696, 0.0127565907, -0.0641915798, -0.0298365764, -0.0069360235, 0.0076660211, 0.0309252776, -0.0118657202, 0.0077998759, -0.0099613145, -0.0930225179, 0.0234992001, -0.0221041329, -0.007576745, 0.027535025, 0.0458624959, 0.010598314, 0.0240179002, -0.0188442823, -0.041847948, 0.0269836299, 0.0042561777, -0.012617684, -0.0147189917, -5.976547928e-33, -0.0047767116, -0.0522752628, -0.0046375613, 0.0088611962, -0.0518260486, 0.0038831329, -0.0465334654, -0.0215987545, -0.0243395381, 0.0346960872, 0.0037329213, 0.0017879985, -0.0061384342, 0.0407722369, -0.0231069867, -0.031666752, 0.0281392429, 0.0174903665, -0.0013553344, 0.0547917001, 0.0391097851, 0.0323183462, 0.0811794996, -0.0997604504, 0.0036819908, -0.0345245302, 0.0111097945, 0.008603069, 0.0753805786, 0.0420724936, 0.0020347473, 0.0505822338, 0.026580723, -0.0141118225, -0.0078962184, -0.006218174, -0.10269548, -0.0360588692, -0.0040368084, 0.0021714782, -0.0470212847, -0.0148412958, 0.0217889622, -0.001965007, 0.0339920036, -0.0469019897, 0.0681682304, 0.0086876862, -0.0462344363, -0.015931746, -0.0286574885, 0.0522392839, 0.0027225213, 0.0091737155, 0.0127362777, 0.0144990319, 0.0206611045, 0.037944857, -0.0536735468, 0.0095008072, -0.0619352348, -0.0171064865, 0.0208516885, -0.0010658344, 0.0153418481, 0.0511274412, -0.0062446571, 0.0056494493, 0.0113062998, 0.0051531252, -0.009467735, 0.0725984424, 0.0262527391, 0.0209942888, -0.0310936067, 0.0007991924, -0.0772753581, 0.004875957, 0.004526888, -0.0062393723, -0.0113409581, 0.0498504192, -0.0135409273, -0.0578455441, -0.014867885, -0.0428753048, -0.022012841, -0.0577587895, 0.0192961004, -0.0186979789, -0.0301048588, 0.0729353204, 0.0142417094, -0.060879454, -0.0249968413, 0.0769623294, -0.0053031552, 0.0277798995, -0.0062325527, 0.0110555571, -0.0612413138, -0.0619336031, 0.0230136048, -0.0363412313, 0.0159811992, 0.0121481121, 0.0720007345, 0.002528253, -0.0420262627, -0.0020986672, -0.0239478741, -0.0598874018, -0.0275230743, 0.0206964575, 0.0355197079, 0.0666179806, -0.0142466491, 0.0643083751, 0.0783236027, 0.0224236902, -0.0280119199, 0.0133569567, 0.0066546835, 0.0179827753, -0.0116435308, -0.0227018856, -0.0351311713, 0.0198776815, 0.0205422714, -0.0532680564, -0.0361138843, -0.0058869282, 2.583e-7, 0.0575165823, 0.0216639601, 0.0385979004, 0.0083739478, 0.0121882213, 0.0647124648, -0.010258887, 0.0728613883, 0.0079144714, 0.0016642965, 0.0163297988, 0.03311304, -0.0110581405, 0.0168410074, -0.0687935874, 0.0549105592, -0.0617632046, -0.0199813917, -0.0163016487, 0.0076002171, 0.0229216497, 0.0547162332, 0.0645443797, 0.0066262153, -0.0293647088, -0.0714234933, 0.0848464668, -0.0115385512, 0.0025692184, 0.0051363674, -0.0434978455, 0.0012959476, -0.0491673909, 0.0141949374, -0.0313160755, 0.020937033, 0.0461657457, 0.0409681015, -0.0342205502, 0.0072076623, 0.0025851261, -0.0378778502, 0.0131368302, -0.0216462929, 0.0635963231, -0.0590601116, -0.0417225063, -0.0177248344, -0.0596112311, 0.0073513477, 0.0130876098, 0.00852565, -0.0135858143, 0.0169826727, 0.0209169257, 0.0027690798, -0.0476590395, -0.052237954, 0.0203725751, 0.0308189839, -0.0098507116, -0.0340868868, -0.0021322847, 0.0702045113, 0.034509588, -0.0757598206, 0.0519930646, 2.242689167e-34, 0.025637513, -0.0038075799, -0.0324597135, 0.0212352499, 0.0241621099, -0.0652732551, -0.050679177, 0.0036136003, 0.0454317033, -0.0817555413, -0.0003075111 ]
http://arxiv.org/abs/2406.12050v1
http://arxiv.org/pdf/2406.12050v1
Learn Beyond The Answer: Training Language Models with Reflection for Mathematical Reasoning
2024-06-17T19:42:22
2024-06-17T19:42:22
Zhihan Zhang, Zhenwen Liang, Wenhao Yu, Dian Yu, Mengzhao Jia, Dong Yu, Meng Jiang
cs.CL
cs.CL
Supervised fine-tuning enhances the problem-solving abilities of language models across various mathematical reasoning tasks. To maximize such benefits, existing research focuses on broadening the training set with various data augmentation techniques, which is effective for standard single-round question-answering settings. Our work introduces a novel technique aimed at cultivating a deeper understanding of the training problems at hand, enhancing performance not only in standard settings but also in more complex scenarios that require reflective thinking. Specifically, we propose reflective augmentation, a method that embeds problem reflection into each training instance. It trains the model to consider alternative perspectives and engage with abstractions and analogies, thereby fostering a thorough comprehension through reflective reasoning. Extensive experiments validate the achievement of our aim, underscoring the unique advantages of our method and its complementary nature relative to existing augmentation techniques.
[ 0.0286353379, 0.0596240796, -0.0117647136, 0.0447061397, -0.0278305728, 0.0082803601, 0.0060732742, -0.0360474251, -0.0731830522, -0.0385977104, -0.018686058, 0.0385059416, -0.0427375734, 0.0239932742, 0.0313544199, -0.052172415, 0.0270969234, -0.0246636476, 0.0183490571, -0.0176245123, -0.0141842328, -0.0168354847, -0.0365526937, 0.0178544372, -0.0274148192, -0.0472714752, 0.0056690583, -0.0296604428, 0.00861587, -0.0239319857, -0.0007760376, 0.0591671579, 0.0349778458, 0.0276894569, 0.000002135, -0.025745526, -0.0133809261, -0.0125280963, -0.0397440158, -0.0060793492, 0.0135083226, -0.0018274647, 0.0523928627, 0.0277861375, -0.0876801014, 0.0140426476, -0.0119886016, 0.0361500122, 0.0982697085, 0.0403180569, 0.0091212736, -0.0291815437, -0.0113953725, -0.0062372368, 0.0374304987, -0.0218994766, 0.0013954762, 0.0758530647, -0.0175115801, 0.0452600792, -0.0664361715, 0.0292338505, 0.0681688935, -0.0224425364, 0.0210947674, 0.0288215149, -0.0133499289, 0.0344657525, 0.0015547574, 0.0572658889, 0.0487554409, -0.0428684466, -0.0604995452, 0.0152321663, 0.0242548566, 0.0101066902, -0.0632306635, -0.0112605076, 0.0291438792, 0.01636279, -0.0267516989, 0.0074119931, 0.0064555928, 0.0196759254, -0.0109836692, 0.0687926486, -0.0097248219, -0.0419587642, -0.0208071861, 0.0122950831, -0.0328389518, -0.0100351479, -0.010045276, 0.0525835305, 0.0150437113, 0.0141037563, -0.01010908, -0.0642824844, -0.0231062397, 0.050079681, 0.0848916918, 0.067694895, 0.0127337016, 0.0245843157, -0.0253428835, -0.0069854022, 0.015530928, 0.0446600765, -0.0728298277, -0.0208423231, -0.0573649034, -0.0402179472, -0.0519745722, 0.0230602976, -0.0213730223, 0.0085012931, -0.0303931385, 0.0203867462, -0.0088430541, -0.0248341952, -0.0307995453, 0.0384850316, -0.0094238557, -0.0268347785, -0.0578569174, 0.0248615649, -0.0641527697, 0.0339660347, 0.0142888827, -0.029307913, -0.0254209656, -0.0122478558, 0.0056814686, -0.0248923358, 0.018431643, 0.0722676367, 0.0014170962, 0.0010707512, 0.0216423627, -0.0083927764, 0.0267809797, -0.0294865426, 0.0108103976, -0.0689054951, 0.0044153351, -0.0122459754, -0.022115238, -0.0165345836, 0.0287778433, 0.0068977736, 0.0179498289, 0.0825971887, -0.0452820174, 0.0044812807, 0.0494732074, -0.0024551537, -0.0455150381, 0.05186655, 0.0313942581, -0.0695116743, 0.0043057124, -0.0294242911, 0.0335454829, -0.017873399, 0.0345147587, -0.0112816468, -0.0291842092, 0.04077648, -0.0232788417, 0.039108865, 0.0021810313, 0.0047024558, -0.0499472879, 0.0092161782, 0.0262786616, 0.0534836091, -0.0246732514, 0.0627845004, 0.0089330683, 0.007159133, 0.0204241052, -0.005067979, -0.0539089181, 0.0562161729, 0.0226587392, 0.0083352672, -0.0146127827, -0.0158037804, -0.0172288623, -0.0782962367, 0.0044679269, 0.0157020036, 0.0149004115, 0.0439737402, 0.0404128432, 0.0403848402, 0.0231472999, 0.0385292359, 0.0104267215, -0.0485275723, -0.0136766387, -0.0620950051, 0.0243864246, 0.0297558513, 0.0427883491, -0.0582591631, -0.0608331524, -0.0395842679, 0.0394290909, 0.0087285424, 0.0729902089, 0.0051396121, -0.0231853575, -0.0345526971, -0.0226935539, -0.042182114, 0.0227903724, -0.0001729189, 0.0226984005, -0.0093002822, 0.0230180994, -0.0173978079, -0.0373277068, 0.0444815233, -0.0244879518, -0.0550318658, 0.010470544, 0.0056115431, -0.0361464657, 0.0021279061, 0.0065865465, 0.064438276, 0.0192343686, -0.0406507291, -0.0401542932, 0.0450742431, -0.040136978, -0.0643110573, 0.0549628399, -0.1048291102, -0.0223822296, 0.0208863635, -0.0406851098, -0.046411451, 0.0480027907, -0.0445853472, 0.0411796793, -0.0437771864, -0.0124636935, -0.0374352075, -0.0033851415, -0.0348797031, 0.0552150458, 0.0231025219, 0.0256500449, 0.00577997, -0.0164690819, 0.0209001284, -0.0137749547, 0.0149152093, -0.0642431378, -0.0089544207, 0.0174323432, -0.0014304474, 0.0103485705, -0.0750543997, -0.0026100182, -0.0381498821, -0.0391854495, -0.0170564242, 0.0264815651, 0.02673137, -0.0219165999, -0.0132113444, -0.0659814179, -0.0371148624, -0.0093728201, -0.0093620289, 0.014579338, 0.0515458472, 0.0084501915, 0.0108824456, -0.0273377616, -0.0215427913, -0.0299564414, 0.0333971567, 0.0047184136, 0.0904247686, -0.0352217481, -0.0189388301, -0.0491687842, 0.0088389404, -0.0090736691, -0.0191395991, 0.0429883376, -0.0237782523, -0.0138882985, 0.0551690385, 0.0221129619, 0.008036552, 0.0365052409, 0.019444691, -0.0723734796, 0.0311516598, -0.0154243205, 0.0121545447, 0.0007324302, -0.0143157449, -0.0256230161, 0.0473641977, -0.0366772227, -0.0134527646, -0.0451608375, 0.084282212, -0.0066780867, -0.0555587746, -0.0520402715, -0.0017795836, 0.0009153798, 0.0300808344, -0.0184116308, -0.0145245763, 0.0875516385, 0.0077939411, -0.0227427874, -0.0755244717, 0.0093916776, -0.0534668639, 0.0363194458, -0.0072927033, -0.0098510673, -0.0068877526, 0.0175907649, -0.037467584, 0.0026129491, 0.0601254553, -0.0216102954, 0.0587341003, -0.025578253, -0.0263759121, 0.0024415143, -0.0558654591, -0.0572142936, -0.0297723096, -0.0236779898, 0.0075351931, -0.0466863215, 0.0050220578, -0.0203941427, -0.0343918167, 0.0272043627, 0.0260637514, -0.0421329439, -0.0359439924, -0.0171750132, -0.0423775166, 0.0784817487, 0.0462312028, 0.0729939267, -0.0239444841, 0.0699810907, 0.0199990422, 0.0996142551, -0.004713173, -0.0235336442, -0.0034595423, -0.0172129385, -0.0101603912, 0.0164246559, -0.009101294, 0.0399264283, -0.0628688931, -0.0441669486, 0.098855488, 0.0517627709, -0.0110909147, 0.0117433695, -0.104031764, 0.0467469394, 0.0741027519, 0.0452478155, -0.05436204, -0.037164893, 0.0070694387, 0.0174510721, 0.0097941272, -0.0461092182, -0.0098653995, -0.1311301738, 0.0024450531, -0.0109560555, -0.0229777079, 0.0002265263, 0.014319011, 0.0019992997, 0.0254166089, 0.0020636048, -0.0039017973, -0.019777542, 0.0385374539, 0.0496512689, 0.005588423, 0.0001435208, 0.0061814664, -0.0085178958, -0.0055935839, 0.0083492342, 0.0053727538, -0.0207288656, -0.0200701635, 0.0214348212, 0.0297585651, 0.0098626483, 0.0079508033, 0.0455518477, -0.0173290279, -0.0028702477, 0.010827573, 0.0623772927, -0.0705364868, -0.0138484314, 0.0413944386, 0.0866315812, -0.0198204573, 0.0367371999, -0.0252885744, 0.0131842066, -0.0266695749, 0.0522772335, 0.0670276433, -0.0264061447, -0.0022426348, -0.0567485653, -0.0059692301, -0.0549050309, -0.0139503162, 0.0273954719, 0.0646999478, 0.0584342368, -0.0468727984, -0.0636975244, 0.0455893725, 0.0289068576, 0.0028574218, -0.0215624273, -0.0326515287, -0.0156484228, -0.0290250648, 0.0319490954, -0.0358325653, 0.0243814141, 0.0381049551, 0.0134397512, 0.0059357784, -0.0320646651, -0.0470307209, -0.0544593595, -0.0686845854, -0.038321659, -0.0044586626, 0.0623595603, 0.0207203198, 0.0487246662, -0.0367938541, -0.0247726142, 0.0161431637, -0.0094332462, -0.0405870005, -0.0080691464, 0.0582771711, -0.0067545958, 0.0314887129, 0.0430417992, -0.0001327111, 0.0047488599, 0.017189879, 0.0388752557, -0.0172520727, -0.0130028958, 0.0412331149, -0.0087943729, 0.0193986241, 0.0394871011, -0.0065798964, -0.0181582253, 0.0490947217, -0.0461049341, -0.030947838, -0.0242952425, 0.0210519601, 0.0070644603, -0.0410727672, 0.0118322484, -0.0289508868, 0.0030139072, 0.0421370082, -0.0117790075, 0.0604411513, 0.028320903, -0.00740817, -0.0212491974, -0.0072621568, -0.0059111137, 0.0002468883, 0.0133713419, 0.0385562815, -0.000681983, 0.0612006299, 0.0435212664, -0.0131443124, -0.0324300304, -0.0086256936, -0.1027263552, -0.0590936281, 0.0202868152, 0.0545997545, 0.0248682573, 0.0011731893, 0.0041926969, -0.0012890319, 0.0023364981, 0.0396177471, 0.0241058692, -0.0014463323, -0.0336171985, 0.0475219712, 0.0345983244, 0.006497622, -0.0393510349, 0.0358577669, -0.0419709347, 0.0521152914, -0.0070624733, 0.016020136, -0.0247335043, 0.0044064675, -0.0141461352, 0.0207386538, 0.0064408784, 0.0601780042, -0.0587525778, -0.1001953334, -0.0349144265, 0.0288826507, -0.0182620883, -0.0284159258, 0.0329159684, 0.0501950383, -0.0131160729, -0.0518387556, -0.0261379704, 0.0682724491, -0.0199503694, -0.0074805245, -0.0209467206, -5.798878569e-33, 0.0049694176, -0.0242361687, 0.0318909921, 0.0119123766, -0.0213717967, -0.0165756047, -0.0342974514, 0.0207334887, -0.0197734293, 0.0361128114, -0.0332622118, 0.0357099287, 0.0014662337, 0.0274310615, 0.0177693851, -0.0035139257, 0.0052118539, -0.0188486855, -0.0384107381, -0.0298951343, -0.0028824701, 0.0230671186, 0.060509, -0.0279438235, 0.0045309556, 0.0053786952, 0.0027188347, 0.0401992239, -0.0287567861, 0.0793515146, -0.0001691409, 0.0070961849, 0.0255099628, -0.0402220711, -0.0214382969, 0.011732582, -0.0678133294, -0.0594401062, 0.0038127766, 0.0112702465, -0.0750078112, -0.0181153174, 0.0210226327, -0.0036965117, 0.0155660911, -0.0199969988, 0.027652489, -0.0387337245, -0.0015411414, 0.0468632318, -0.0491660722, -0.0024410973, -0.0349984579, -0.02813158, 0.0243701059, 0.052058734, 0.0026504323, -0.0228982437, -0.0072066165, 0.0138378907, 0.030545732, 0.0128488503, 0.0481163412, 0.0086532226, -0.0013020311, 0.0388034843, -0.0074519929, -0.0242164154, -0.015944289, 0.0014366047, 0.0217802692, 0.0145318629, 0.0743130744, 0.0456962585, 0.0562377386, 0.0059189429, -0.0407883599, 0.00036634, -0.012354264, 0.0300132614, 0.0405205637, -0.0021148187, -0.0067647919, 0.0144053549, -0.1071612835, 0.0276375338, -0.0432878882, -0.0236103702, 0.0266416743, 0.0065218345, -0.0813813955, 0.0013469238, 0.004011916, -0.0511614345, -0.0234497096, -0.0009159521, -0.0201681256, -0.0010585344, -0.0040941732, 0.0286637377, -0.0354640409, 0.0090708537, 0.0269164834, 0.0346196368, 0.0153848957, 0.0057248659, 0.0884243101, -0.0107843652, -0.0418522656, -0.0090400185, -0.0547199547, 0.0017000652, 0.0191895571, 0.0477963537, -0.0074123344, 0.0690472499, -0.0283564404, 0.0044394666, 0.0039344472, 0.0048738159, -0.0584889092, 0.0036918335, 0.0061518224, 0.0216716006, -0.0168513786, -0.0280105043, -0.0332198851, -0.0226291548, 0.0427182987, -0.0502698459, -0.0197519213, 0.0490680411, 2.645e-7, 0.0713475943, 0.0382438861, 0.0241552517, 0.0039581317, 0.0309973545, 0.0636308938, -0.0195366684, -0.0082411878, 0.0600046702, -0.0168410577, 0.00244922, 0.0496472009, 0.0368910246, 0.016370371, -0.0602928139, -0.0436433852, -0.0661715195, -0.0045549804, -0.0072087389, -0.0104875304, 0.0616810508, 0.0917320326, 0.0215950012, -0.0090307202, -0.0199877564, -0.0150963999, 0.068016842, -0.0211041868, 0.0003199377, 0.0142612336, -0.0124053098, 0.0074804905, 0.0263497699, 0.0105220061, -0.0147778979, 0.0230410285, -0.0006633478, 0.0137957484, -0.0129245985, -0.0080063017, -0.0357432365, 0.0225187503, 0.0031402246, -0.0406175032, 0.0487962402, -0.0836718231, -0.0269319229, -0.0337980501, -0.0028822566, 0.0026801394, 0.049490042, -0.0268587861, -0.0242189635, 0.0258900337, 0.0248811096, -0.0063841389, 0.0077551031, -0.0609064028, -0.0420893468, -0.033480078, -0.0274380036, 0.0106800487, -0.0431056805, -0.011302554, 0.0071679945, -0.0343773887, -0.0070660547, 2.392576406e-34, 0.0313011892, 0.0002394723, 0.0229540356, 0.060054265, 0.0455634296, -0.0023715708, -0.0112073496, 0.0011791089, 0.0339067169, -0.0713334382, -0.035477072 ]
http://arxiv.org/abs/2406.12045v1
http://arxiv.org/pdf/2406.12045v1
$τ$-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains
2024-06-17T19:33:08
2024-06-17T19:33:08
Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan
cs.AI
cs.AI, cs.CL
Existing benchmarks do not test language agents on their interaction with human users or ability to follow domain-specific rules, both of which are vital for deploying them in real world applications. We propose $\tau$-bench, a benchmark emulating dynamic conversations between a user (simulated by language models) and a language agent provided with domain-specific API tools and policy guidelines. We employ an efficient and faithful evaluation process that compares the database state at the end of a conversation with the annotated goal state. We also propose a new metric (pass^k) to evaluate the reliability of agent behavior over multiple trials. Our experiments show that even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks, and are quite inconsistent (pass^8 <25% in retail). Our findings point to the need for methods that can improve the ability of agents to act consistently and follow rules reliably.
[ 0.0400351547, 0.0468625501, -0.0292264614, 0.0132316155, -0.0375255495, -0.017503839, -0.0087135127, 0.0025460629, 0.0228979755, -0.0219804533, 0.0248389393, -0.0222207364, 0.0030512067, 0.051314339, -0.0212490689, -0.056175679, 0.0261137858, -0.0066098394, 0.0218251515, 0.0261161514, 0.0086683929, -0.0196940359, -0.0130864158, 0.0858806297, -0.0166357886, -0.024546992, -0.0118610766, -0.0058018379, -0.0066042924, 0.0121540288, 0.0189954061, 0.0112288119, -0.0108822389, 0.0434284881, 0.000002255, -0.0759448484, 0.0088161603, 0.0163065009, -0.0389636867, -0.0240628682, 0.0351166576, 0.0191736668, -0.0412007347, 0.0329927579, -0.0601417869, 0.0261566937, 0.0522584766, -0.0161601324, 0.0406524502, 0.054981444, -0.0017065272, 0.071390301, -0.0218069479, 0.0129352463, -0.0386029445, -0.0995753109, -0.0074621788, 0.0340203755, 0.0219752081, -0.0551439747, 0.0157086886, -0.0210399441, 0.0384685695, -0.0150420191, -0.0484412089, 0.0031268515, -0.0508157425, -0.0204517636, -0.0157491695, 0.0348335318, 0.0030927761, -0.0051003117, 0.0147507647, 0.0100111803, 0.0043358416, 0.0103973672, -0.0077099786, -0.0053812084, -0.0146368379, -0.0382402837, -0.0165528674, 0.0117701096, 0.0202522688, -0.0081633134, -0.0118062124, 0.0882462114, -0.0030476414, -0.0124724256, 0.005950545, -0.015554795, 0.037893977, -0.0595876053, -0.0019791757, 0.0435268134, -0.0831218511, 0.0207344759, -0.0063042082, 0.0329201557, 0.0267822053, -0.0626929477, 0.0205410328, 0.0743962377, -0.006894893, 0.0205213018, 0.0150296483, 0.0747195408, 0.0417939946, -0.0136777461, -0.0017947118, -0.0027802323, -0.0645574182, 0.0142483404, -0.0191189107, 0.0097428253, -0.018047642, -0.0268804878, -0.0370419137, 0.0769867375, -0.0364537239, 0.0728473887, -0.0292590484, -0.03533829, -0.0390624478, -0.0060158651, -0.0735553652, -0.0064406148, -0.0710228533, 0.0016964877, 0.0120464796, -0.0821158513, 0.0059337742, -0.0225656033, -0.0298730209, 0.0014623345, -0.0150875626, 0.0972001255, 0.0119775506, 0.0119094299, -0.038000457, -0.0696301535, 0.0588902198, -0.0896231979, -0.0690065846, -0.0557307191, 0.0222049542, 0.0263405982, -0.0315461829, -0.069803305, -0.0146393208, -0.0040673194, 0.0344757661, 0.0543239973, -0.0092164725, 0.0120660327, 0.0024365927, 0.0278504379, -0.0477130227, 0.0587430149, 0.0055107088, 0.0240806695, 0.0522087365, 0.0071994239, 0.0400564037, 0.0339020528, -0.0400485918, 0.0101450253, 0.0200933274, 0.0307063833, 0.0298092607, 0.0300920419, 0.00407711, 0.0220069326, -0.0153723275, 0.0017720516, 0.0581404269, 0.0596708357, -0.018639354, -0.027419582, 0.0505449325, 0.0282383431, 0.0130388523, 0.0067973998, -0.0480093025, -0.0304271374, -0.0083351387, 0.013408565, -0.0172880571, 0.0083367983, -0.0253958106, -0.0347361043, 0.0380544513, -0.0193204656, 0.023813365, -0.0021837016, 0.0221156981, -0.0027622946, -0.0292724855, 0.0101103801, -0.0153923864, -0.0158635918, -0.0540107153, -0.0735061467, -0.0347694643, 0.1017011702, 0.0661922097, -0.0351993032, -0.0604348853, 0.0065071909, 0.0127258683, 0.0450526811, 0.0521605238, -0.0299290437, 0.0167802796, -0.0060814791, -0.0370838791, 0.0217012055, 0.0276913121, 0.0648138523, 0.0176168587, 0.044001624, 0.0073753586, -0.0576864369, -0.0225920286, 0.0202766303, -0.0001704786, -0.0371067785, -0.0052558128, 0.0063928929, 0.035191156, 0.0120058134, -0.0142320544, -0.0161095224, -0.0019336907, 0.0310670063, 0.0168495234, 0.0491349213, -0.0122506302, 0.0473415963, 0.0513555557, 0.0142497467, -0.007899208, 0.056486994, 0.0044721733, -0.0278942659, 0.0291409343, -0.0193981659, 0.0481150635, -0.0038995023, 0.0412569679, -0.0340122916, -0.0108570596, 0.0041829399, 0.0058810906, 0.02658269, -0.0124231586, -0.0221274402, 0.0190498587, 0.0150961857, -0.0190283451, 0.0132473782, 0.0582631975, -0.0028845547, 0.0572530925, 0.0282923765, 0.0166252814, -0.020866992, 0.0272194874, -0.0894802809, 0.0033203543, -0.0357632041, 0.0067221853, -0.0093916617, 0.0262145866, -0.0033942687, -0.0478685573, -0.0389720351, 0.0280121621, 0.02039285, 0.0367102288, 0.0201049317, 0.0252487566, -0.0835412666, -0.0471176766, 0.0298389327, -0.0076885177, 0.0059487186, -0.0005208257, 0.0217771828, -0.0591739006, 0.0018746032, -0.0357616842, 0.0227748845, -0.0268784892, -0.0223714262, 0.0400394797, 0.0154708205, -0.0010077517, 0.0407885425, -0.0272967648, 0.0290453061, 0.0327858217, 0.0021897871, -0.0846819058, -0.0146264564, -0.0052028168, -0.0123176733, -0.0414391868, -0.0113437446, 0.0537131801, 0.0266433973, -0.020765176, 0.0137425652, -0.0462514758, 0.0024409071, -0.0021463772, -0.0444971509, -0.0114833191, -0.0017801765, -0.0389273874, 0.0642300248, 0.0232500359, -0.0640293136, 0.0657839999, -0.0030418406, -0.006850678, -0.0233036168, -0.0510197654, -0.0104341134, 0.0775453895, 0.007030752, 0.0078453692, -0.0160106011, -0.0264866762, -0.0077478047, -0.0274263471, 0.0231469739, -0.0400169045, 0.0395706221, -0.0889885426, 0.0036693271, 0.001487455, -0.0494465977, -0.0201741904, 0.0038935209, -0.0360857546, 0.0029381458, -0.0068402281, -0.0363201723, -0.0108679738, -0.0061188252, 0.0063878139, 0.077878803, 0.0033405963, -0.0451996252, 0.0017225241, -0.0723998472, 0.030004086, 0.022359971, -0.0309564397, 0.010690216, 0.045769725, 0.036130093, 0.0466610938, -0.0390159562, -0.0665728301, -0.0347182043, -0.0076846173, -0.0408818349, 0.0136215119, 0.0721535534, 0.0036392924, -0.0706455782, -0.0158698969, 0.0681335926, 0.0328071639, -0.0299995225, 0.0215634275, -0.0378306583, 0.0287682787, 0.0212530885, 0.0667025596, -0.1029840037, -0.0192957819, 0.011545876, 0.049625352, -0.0270258319, -0.0350654908, -0.0011455734, -0.0977670029, 0.0202081744, -0.0330037214, -0.0098089138, 0.0171213243, -0.0529487208, 0.0210049953, -0.0073765283, 0.0569908731, 0.0141459582, 0.0404825658, -0.0311399568, -0.0070199152, -0.0373053029, -0.0603640638, 0.0521969013, -0.0457283482, 0.0571266264, 0.1017888039, 0.0358316824, 0.0250195451, -0.0129265795, 0.0330821015, 0.0594350919, 0.0051850388, 0.0084023336, 0.0270210672, 0.0182583816, 0.0049372115, 0.0165071841, 0.0048635881, -0.0485573635, 0.0121099036, 0.0350001119, 0.0512838662, -0.0386964977, 0.0093924263, -0.0099195568, -0.0137716215, 0.0456654765, 0.0507816114, -0.0006127783, -0.0518461987, -0.0752096474, -0.0612306558, -0.0247479435, -0.0534388013, -0.0369072221, -0.0138687342, -0.0097663542, -0.0228694715, -0.0519064032, -0.0964233503, 0.0288223252, 0.0272436664, 0.0152648725, -0.0059001856, -0.0010479717, 0.0363469347, -0.0040410361, -0.0184323844, -0.0341442078, 0.061755795, -0.0306119937, 0.0152348997, -0.0222459529, -0.0097504659, -0.0000275039, 0.0149819655, 0.0139074307, -0.0657432228, 0.0424458198, 0.0658935905, 0.0384446196, 0.0096942838, -0.0262697451, -0.0055639604, -0.0539184026, 0.040941637, -0.0483583286, -0.0197653454, 0.0334841013, -0.0156244356, 0.0006302837, 0.0247447789, -0.0886137858, -0.0064674481, -0.0440155268, 0.019019695, -0.0435943641, -0.033812698, 0.0187596604, 0.0177291129, -0.0334155299, 0.0179776549, -0.0248377882, 0.0283737872, 0.0200509802, -0.0089156395, -0.017699426, -0.0304392632, 0.001575987, -0.0324266702, 0.0117322868, 0.0575286783, 0.0094479937, -0.0337520875, 0.0016368555, 0.0249602795, -0.0209174249, -0.0117790746, 0.0439448506, 0.0265387669, -0.0022595038, -0.0169298984, 0.0018168206, 0.0381879508, 0.063706398, -0.0111142835, 0.0359223112, 0.0281995405, 0.0023223667, 0.0027331407, 0.0185953025, -0.0499248952, -0.05320324, 0.0391508043, -0.0210024025, 0.0203674175, -0.0084441202, 0.045667015, -0.064150773, 0.0289840326, -0.0304257181, -0.0087430999, 0.007602958, 0.0003042134, -0.0324564166, 0.0118978359, -0.0052389205, -0.0003142082, 0.0559343249, -0.0265296344, 0.0197483134, -0.029663099, -0.0446265712, -0.0708751902, -0.03865318, 0.0112700937, -0.0044153938, -0.027800085, -0.077218093, -0.0742017701, -0.0169442948, -0.0485216118, 0.0485760607, -0.0024249784, -0.0449687988, 0.0188380796, 0.0717236102, 0.035971418, 0.0214352291, -0.0551240593, -0.0478912406, -0.0449996591, 0.0175799485, -0.0265993904, -5.731675924e-33, -0.0060975282, -0.0405093096, 0.059359204, 0.0300351381, 0.0071409186, -0.0615915842, -0.0531103238, 0.0046576015, 0.0072276685, 0.0053742328, -0.0233708061, 0.0068734461, 0.0367714986, -0.0328385979, 0.0183967873, 0.0336767435, 0.0305473749, 0.0115942219, -0.0461077057, 0.0212034881, 0.0297482144, -0.013398, 0.0027207197, -0.0868039429, 0.0578473136, 0.0341231711, 0.0054971441, 0.0041710827, 0.003048474, 0.0446799807, 0.0135487383, 0.046185676, 0.011479754, -0.0252417494, -0.0125399958, -0.0097302189, -0.0077744983, -0.0333275832, 0.0151918521, 0.0387022346, -0.0137580261, -0.0061400672, 0.0093955686, -0.0112115853, -0.0656049252, 0.040527232, 0.0146822827, -0.0118620824, -0.0151099227, 0.0076713101, -0.1071600094, 0.0213689264, 0.0011792557, -0.0256148055, 0.0031901973, 0.0407548435, -0.0069322255, -0.0587823913, -0.0389825702, -0.0071700998, 0.0009786272, -0.0092385234, 0.0529126935, 0.0184938107, -0.0125871589, 0.042446129, 0.0132783866, 0.0580327511, 0.0123689305, -0.0026299255, 0.0203384422, 0.0619621389, -0.0017163934, 0.0411543436, -0.018100759, -0.0263712294, 0.0114522083, 0.0911102816, 0.0525863729, 0.0036894332, 0.0186533816, 0.0059460723, -0.0968188271, -0.0129333455, -0.0091838734, 0.060462065, -0.030314669, -0.0743670464, 0.0465367921, 0.0076310956, 0.026024228, -0.0155218421, 0.0074942843, -0.0125389323, -0.0116313901, -0.0246668588, -0.058718361, -0.0229165219, 0.0198968593, 0.0113471076, -0.0153552536, 0.0040145251, -0.0458945818, 0.0505616926, 0.0612849481, 0.0064632026, -0.0080110533, 0.0457268246, -0.0636508763, 0.0246901605, -0.0508440435, 0.0410006568, -0.0026734001, 0.0029396748, 0.0344050862, -0.0351967104, -0.0059134294, 0.042467922, -0.0189639032, -0.0700115338, -0.0458816327, 0.0286742821, 0.0136628272, -0.0110956775, -0.0654623657, -0.020729946, -0.0557525083, 0.0490771979, 0.0486517809, -0.0111518493, -0.0067716455, -0.0314139165, 2.959e-7, -0.0115124295, 0.0211532004, 0.0110067986, 0.0863821805, -0.0013096507, 0.0610493422, -0.0349255428, 0.0271927211, 0.0030930636, 0.00011797, 0.0064714085, -0.0059305867, 0.0395139903, 0.057251703, -0.049570553, -0.0178011227, 0.0137792733, -0.0112361666, -0.0695550814, -0.00869139, 0.004115738, 0.028923953, 0.0098688798, -0.0230739117, 0.0378063433, -0.0549117662, -0.0010912548, -0.0472563133, -0.0069488613, 0.0079619233, 0.0109482855, 0.0346424356, 0.0294581, 0.0170817208, 0.0009172593, 0.0123784067, -0.0416523814, 0.1022561416, -0.0047421479, -0.0010140321, -0.0026812109, -0.0657447428, 0.0208471846, -0.0105134863, -0.0017714753, 0.0045534978, -0.0210961141, 0.012170285, 0.0063164751, -0.021739075, -0.0171105769, -0.015985528, -0.026076464, 0.0075982823, 0.0028063718, 0.012770324, 0.02636455, -0.0073863384, -0.0148486719, 0.0174183846, -0.0199872907, -0.0658246726, -0.0307516735, 0.0177466217, -0.0307217203, -0.0434081033, 0.0132962521, 2.681925948e-34, 0.024758473, 0.0201996025, 0.0447446927, 0.0491035394, 0.0537955984, 0.0444856733, 0.0292810369, 0.0301655866, 0.0633756146, -0.0018677141, -0.0161219165 ]
http://arxiv.org/abs/2406.12038v1
http://arxiv.org/pdf/2406.12038v1
Soft Prompting for Unlearning in Large Language Models
2024-06-17T19:11:40
2024-06-17T19:11:40
Karuna Bhaila, Minh-Hao Van, Xintao Wu
cs.CL
cs.CL, cs.AI, cs.LG
The widespread popularity of Large Language Models (LLMs), partly due to their unique ability to perform in-context learning, has also brought to light the importance of ethical and safety considerations when deploying these pre-trained models. In this work, we focus on investigating machine unlearning for LLMs motivated by data protection regulations. In contrast to the growing literature on fine-tuning methods to achieve unlearning, we focus on a comparatively lightweight alternative called soft prompting to realize the unlearning of a subset of training data. With losses designed to enforce forgetting as well as utility preservation, our framework \textbf{S}oft \textbf{P}rompting for \textbf{U}n\textbf{l}earning (SPUL) learns prompt tokens that can be appended to an arbitrary query to induce unlearning of specific examples at inference time without updating LLM parameters. We conduct a rigorous evaluation of the proposed method and our results indicate that SPUL can significantly improve the trade-off between utility and forgetting in the context of text classification with LLMs. We further validate our method using multiple LLMs to highlight the scalability of our framework and provide detailed insights into the choice of hyperparameters and the influence of the size of unlearning data. Our implementation is available at \url{https://github.com/karuna-bhaila/llm_unlearning}.
[ 0.0157363899, 0.0936983675, 0.016565999, 0.0298912991, -0.0404518247, 0.0244909823, 0.0328247957, 0.0055360887, 0.0243580956, -0.0485326983, -0.0483752452, -0.0127215795, -0.0301992018, 0.0051104105, 0.0037741647, 0.0009639205, 0.0415590592, -0.019633051, 0.0237401575, -0.0248472411, 0.0001089415, 0.02817709, 0.0158498231, -0.0286736153, 0.0104194349, -0.0449748784, -0.0072348709, -0.0101421326, -0.0179111939, -0.0209802911, 0.0472903848, 0.0471032783, 0.0349395089, 0.0509472452, 0.0000021627, -0.0639978051, -0.0619084425, 0.01587818, -0.0694899783, 0.0436800979, 0.0441555679, -0.0018164178, 0.0311572626, 0.0234433021, -0.0344672762, -0.0063731642, 0.0433399566, 0.0430762917, 0.0329677984, 0.0906044319, 0.010014235, -0.0034487159, 0.0006469109, -0.0462984368, 0.0051462995, -0.0432718694, 0.0444468781, -0.1036374271, -0.0449454375, 0.0114604076, 0.0015834606, 0.0385976955, 0.0239326544, 0.0181057658, -0.0203457363, 0.0483349301, -0.0445562713, -0.0110242274, -0.0236026458, 0.0503397398, -0.0005812898, -0.0402964465, 0.0390518308, -0.0027193029, 0.010260148, -0.0006947606, -0.0418449491, 0.0379134193, -0.0062070214, 0.0173577499, 0.0144416289, -0.0144709097, 0.0639683381, 0.0375674143, 0.006209584, 0.0275943689, 0.0163590014, -0.0236217696, 0.0317304805, -0.027600335, -0.0227468554, -0.0207169298, 0.0024147613, 0.0230004042, -0.0273215566, 0.0308146831, -0.0211168379, -0.001617954, 0.049736537, -0.0262176488, 0.0324399881, -0.0230313838, -0.0082661258, 0.0683901981, -0.0272597186, -0.0030787573, 0.0203353316, 0.0629718676, -0.0065681082, 0.0346718878, -0.0198520981, -0.0260685179, -0.0247340817, 0.0525470786, 0.0029002489, 0.0401319712, -0.0205442365, 0.020269705, -0.0358936414, 0.029222751, -0.0025930475, -0.0096210837, -0.0293123517, 0.0027094721, -0.0279818755, -0.0202038642, -0.0016077538, 0.0243858695, 0.000962784, -0.0771120265, -0.039838057, -0.0173576847, 0.0059091039, -0.0152380308, 0.0421073474, 0.0858621225, -0.0010814293, -0.0646105856, -0.0646195933, -0.0318943933, -0.0067747287, -0.0695010573, 0.0023583865, -0.0518015213, 0.0168765746, -0.0278907027, -0.0097688055, -0.0564622506, 0.0000409972, 0.0362669416, -0.0305359885, 0.0555134788, 0.0055360897, -0.0217185207, -0.0033169887, 0.0038116237, -0.0137060862, 0.0472910069, -0.0475872867, 0.0429488048, 0.0715902597, 0.0047892397, 0.0396540202, 0.0286908653, 0.0634185076, 0.0257845782, -0.0289806556, 0.0087249652, 0.0573686063, -0.01831639, -0.0085926913, 0.0487068146, -0.0228442512, -0.0357029475, 0.047301311, 0.0300247911, 0.0064071487, 0.0300287977, -0.0029317762, -0.0001818198, 0.0020723231, 0.0041228049, -0.061572127, -0.0166707933, -0.0571036823, -0.0194544215, 0.0011948353, 0.006470744, -0.0471685342, -0.0446492992, 0.0295666661, -0.0496781245, 0.0229814816, 0.0637707561, 0.0584143773, 0.0385150537, -0.0129357986, 0.0466990247, 0.0622978434, -0.0400183089, 0.0133517943, -0.0488833077, 0.0663711429, 0.0304381084, 0.0584180392, -0.0828892067, 0.0124907224, -0.0275250692, 0.0264689997, -0.0318297148, 0.0322367549, -0.0265244916, 0.0587882474, -0.0575881824, -0.0242021941, 0.011340783, 0.0264549218, 0.0118495459, 0.0195626672, -0.0246453714, 0.0259758681, -0.0431958623, -0.0506821349, 0.038388785, -0.0368946083, -0.0867435113, 0.0174900424, 0.0114434268, 0.0356240347, 0.0075315558, -0.0084394878, -0.0068496238, 0.0464152694, 0.0059482753, -0.0013723541, -0.0634597689, -0.0468091704, -0.0292653386, 0.0218091533, 0.0242523495, -0.0009402001, 0.0284936838, -0.0531036519, -0.0035940611, -0.0281867292, 0.0135606816, 0.033435598, -0.0638730526, 0.0177355018, -0.0368206613, -0.0034480502, -0.0544090495, 0.0597512498, 0.0047496115, 0.0079089664, -0.0122216195, -0.031863194, -0.0192443989, -0.0385710821, -0.0530908071, 0.013934317, -0.0147669017, 0.0384420864, 0.0198814273, 0.0230120737, -0.0445847064, -0.0153161203, -0.0608717911, 0.0083247414, -0.031992577, 0.0052848873, -0.0121886255, 0.017862685, -0.0299815517, -0.0446559973, -0.0404562838, -0.0506693721, -0.0265642423, 0.0342763215, 0.0097706011, -0.0120338388, -0.0027209413, 0.0227248669, -0.0177345928, 0.0119056823, 0.0596659407, -0.027233256, -0.0060161608, -0.0171614159, 0.0618205592, -0.0349918567, 0.0169476103, -0.0019947405, 0.0124318246, -0.0227908269, -0.0195632465, -0.0233473759, 0.0682287216, 0.0075266212, 0.0328866355, 0.0512211211, 0.0315856934, -0.0462947823, 0.0161718354, -0.0638255551, -0.0425564311, -0.0058360766, 0.0264391992, 0.03513797, -0.0061341398, -0.0064807972, -0.0229912456, -0.0025461121, 0.0315170549, -0.000061131, -0.0315389596, -0.0474841334, 0.0103757111, -0.0210721754, 0.0170735884, 0.00018222, -0.0974040776, 0.0535316765, -0.0114940219, 0.0177180022, -0.0483618192, -0.0155133, -0.0428562984, 0.0553102605, -0.0023084448, 0.0405325256, 0.034762051, -0.0309741255, -0.0202337597, -0.0280711614, 0.0267334804, -0.0438018143, 0.0496443138, -0.0213677082, -0.0045791296, -0.0079493541, -0.0450842083, -0.0279512946, -0.0684762299, -0.0051636528, -0.0024859104, -0.0409039147, 0.0013652778, 0.0181389321, -0.0517421514, 0.0341656692, 0.0317450985, -0.0073095611, 0.0079721725, -0.0097433953, 0.0101076709, 0.0244718045, -0.0126456507, -0.0295165516, -0.0385594591, 0.0098113669, 0.0687566698, 0.0534446649, 0.0068862061, 0.0101457471, 0.0240485501, 0.0514209867, -0.0209963545, 0.0135757932, 0.033330895, 0.0312759578, -0.0429330803, -0.0259488598, 0.0999912918, 0.0120376395, -0.0804300681, -0.0089712972, 0.0364810638, 0.0459426045, 0.0077752345, 0.0186299775, -0.0743575618, -0.0438111909, 0.005948232, 0.055803448, -0.000623516, -0.0319003798, -0.0146175064, -0.0918333158, 0.0191006213, 0.0188160427, -0.0281701945, -0.0096558677, -0.044734288, -0.0087645594, -0.0284114573, 0.0150564238, 0.0087729413, -0.0204917155, 0.0031130987, 0.0463838801, -0.0005862389, -0.0694726482, 0.0284378231, -0.0510783121, 0.0272837803, 0.0446322374, 0.0044025928, -0.026534522, -0.0595153347, 0.0354652256, -0.0151169337, -0.0232908726, -0.0172499325, 0.0475082919, -0.0176376142, -0.0038422472, 0.0025126166, 0.0735513195, -0.0003277813, -0.0209093168, 0.0349668711, 0.0745335221, -0.0001609305, -0.023135053, 0.0117316665, -0.0540245064, -0.0181838032, 0.0691027492, -0.0013686796, -0.0507832468, -0.0117905382, -0.0070043225, -0.0084856413, 0.0158773325, 0.017795898, 0.009006232, -0.0519020446, -0.0114712436, -0.0180325452, -0.0025872111, 0.0183430407, 0.0493771918, 0.0201112591, 0.0295301415, 0.0100838961, 0.0118210074, -0.0434237048, 0.0242672376, -0.0733212531, -0.0035938965, -0.0301506706, 0.0026769468, 0.0245785397, -0.0150096696, -0.012229369, -0.0038778449, -0.0583364107, -0.0825833157, 0.0201346092, 0.0337883681, 0.0200920869, 0.0536198467, 0.003184336, -0.0494919792, 0.1002966389, 0.0956456214, -0.0230636485, -0.0023299593, 0.0506537743, -0.007475228, 0.0037163559, 0.0468504727, -0.0489075333, -0.0170017127, 0.0627738163, 0.004843249, -0.0008177786, 0.0229218397, 0.022833949, 0.0298906565, 0.0458856747, 0.0016259422, -0.0156356767, -0.0450813174, 0.0324229822, 0.0348317772, -0.0538202561, -0.0113804294, 0.0186803769, 0.0397175997, 0.0118897753, -0.0218218677, 0.0011757503, 0.0311467275, 0.0391080156, -0.0088693723, -0.0114230886, 0.0336753316, 0.0235936195, 0.0353316069, -0.0142535232, -0.0279051755, 0.018642094, 0.000100239, 0.0175176449, -0.0422721989, 0.0505192168, 0.0361554995, 0.0278066304, -0.0465704426, 0.0197194703, -0.0299829654, -0.0460178442, -0.0332091525, 0.0253630821, 0.0176338125, -0.0418530069, -0.0448419973, -0.0190221034, -0.0294996798, -0.0363344066, 0.0037569734, -0.0014916105, -0.038947843, 0.0126910275, 0.0146473693, -0.039874088, 0.030610295, 0.0636629388, -0.0082244119, 0.0303657874, 0.0221820641, -0.008962743, -0.037540555, -0.0346983485, 0.0404392965, -0.0099376626, -0.0142198103, -0.0228295252, -0.0209748261, -0.0629447028, -0.0133233145, -0.0203343239, 0.0145137385, -0.0080587659, 0.0383045711, 0.0821169615, -0.0116405161, 0.0062886355, -0.0567102171, -0.0029948521, 0.0248493515, -0.0407736674, -0.0089547364, -6.429505942e-33, 0.0487878397, 0.0072275959, 0.0033345618, 0.0142190298, -0.0041172542, 0.0220015831, 0.0123963915, -0.0562001541, 0.0022584165, -0.0059233797, -0.0403813422, -0.008927728, 0.0044115377, 0.0494019426, -0.0108717903, -0.052857846, 0.0503756404, -0.0278855208, -0.0469549671, 0.0587587953, 0.0526088402, 0.0382292159, 0.0351150632, -0.0490053818, 0.0347524844, -0.012765849, -0.0341725983, 0.0485043339, -0.0366282836, 0.0266251322, -0.0292742699, 0.0363614447, 0.0146080563, -0.0231923237, 0.0088594332, 0.0622614063, -0.1064297706, -0.0128806159, -0.0139516536, -0.0170675963, -0.0215256978, -0.032723818, 0.0135160265, -0.0098144198, -0.0016279704, 0.0023492333, -0.0067493585, 0.0087441225, -0.0644191056, -0.0482812077, 0.0083970362, 0.0193273984, 0.0005460863, -0.0151498616, 0.0334857404, -0.0011651443, -0.0062769409, 0.0365323983, -0.060406141, -0.0035983662, 0.0313844234, 0.0203719456, 0.038994588, 0.022802595, 0.004767044, 0.0758643895, 0.0166643709, 0.0233673677, 0.0031402919, -0.0144813936, 0.0347672813, 0.0253224261, 0.024277905, 0.0076198843, 0.0668042377, -0.0442860238, -0.0714193955, 0.004073408, 0.0070711737, 0.0212441869, 0.0507710725, 0.0189195964, -0.0047724298, -0.0427174345, -0.064915508, -0.0129840029, -0.0395254381, 0.0124024004, 0.0236036386, 0.0403092094, -0.0326815173, -0.0165951625, -0.0078493021, -0.030572027, -0.0498498939, 0.0334567502, 0.0495790243, -0.0215911958, -0.0085703824, -0.0077664331, -0.0577293858, -0.0319377705, -0.0132255228, -0.0395161994, 0.0146709895, -0.0039609596, 0.1010627523, 0.0646940544, -0.0685821921, 0.0001979538, -0.0374114178, 0.0391353033, 0.0317156315, 0.0330848172, 0.0326910987, 0.0103197116, 0.0174783729, 0.0087803984, 0.0548129231, -0.0085668927, -0.0727180466, 0.0006212511, -0.0145856701, -0.0161508117, -0.0106997611, -0.0153747024, 0.0123857697, 0.0228052363, 0.0536668487, -0.0757979974, 0.0245939363, 0.0075789904, 2.867e-7, -0.010589161, 0.0196904764, 0.009491195, -0.0182175133, 0.0061019412, 0.0685115457, -0.0266702529, 0.0530675352, -0.0053968304, 0.01483831, 0.0252895206, 0.0002254758, 0.0595871769, 0.0253671408, -0.1186042354, -0.0004372495, -0.0666005686, -0.0030238759, -0.053395737, -0.0219183527, 0.013171846, 0.1039279774, 0.0523269363, -0.0397780351, 0.0077890991, -0.0574974939, 0.0432109982, -0.0582179651, -0.000849255, 0.0089963945, 0.0528429821, 0.0327397399, 0.0261894707, -0.0042963685, -0.0342353359, 0.0253111236, -0.0111496337, 0.0734317899, 0.0342324451, -0.039334055, 0.0008766402, -0.0029693423, 0.0147178173, -0.0260957181, 0.086077489, -0.0221177079, -0.0290253423, -0.0295714065, 0.0073323897, -0.0672601089, 0.0459668078, -0.002231034, -0.0298466161, 0.0467188805, -0.0091758184, -0.0004581907, -0.0393465757, -0.1118193492, -0.013518854, -0.0097430795, -0.0330924727, -0.0487774052, 0.0020952064, 0.0408914983, -0.0007767202, -0.090070866, 0.0567663088, 2.713034074e-34, 0.0349020585, -0.0421409719, -0.0029119356, 0.0350264423, 0.0176839326, -0.0112955356, 0.0190038718, 0.0165975485, 0.0198602341, -0.0548814945, -0.0072107529 ]
http://arxiv.org/abs/2406.12036v4
http://arxiv.org/pdf/2406.12036v4
MedCalc-Bench: Evaluating Large Language Models for Medical Calculations
2024-06-17T19:07:21
2024-06-30T15:12:10
Nikhil Khandekar, Qiao Jin, Guangzhi Xiong, Soren Dunn, Serina S Applebaum, Zain Anwar, Maame Sarfo-Gyamfi, Conrad W Safranek, Abid A Anwar, Andrew Zhang, Aidan Gilson, Maxwell B Singer, Amisha Dave, Andrew Taylor, Aidong Zhang, Qingyu Chen, Zhiyong Lu
cs.CL
cs.CL, cs.AI
As opposed to evaluating computation and logic-based reasoning, current benchmarks for evaluating large language models (LLMs) in medicine are primarily focused on question-answering involving domain knowledge and descriptive reasoning. While such qualitative capabilities are vital to medical diagnosis, in real-world scenarios, doctors frequently use clinical calculators that follow quantitative equations and rule-based reasoning paradigms for evidence-based decision support. To this end, we propose MedCalc-Bench, a first-of-its-kind dataset focused on evaluating the medical calculation capability of LLMs. MedCalc-Bench contains an evaluation set of over 1000 manually reviewed instances from 55 different medical calculation tasks. Each instance in MedCalc-Bench consists of a patient note, a question requesting to compute a specific medical value, a ground truth answer, and a step-by-step explanation showing how the answer is obtained. While our evaluation results show the potential of LLMs in this area, none of them are effective enough for clinical settings. Common issues include extracting the incorrect entities, not using the correct equation or rules for a calculation task, or incorrectly performing the arithmetic for the computation. We hope our study highlights the quantitative knowledge and reasoning gaps in LLMs within medical settings, encouraging future improvements of LLMs for various clinical calculation tasks.
[ 0.0263824258, 0.060185764, 0.0039241523, -0.0017562946, -0.0403138846, 0.0311820507, 0.014858041, 0.0291116498, -0.0168898851, -0.0020973536, 0.0162975974, -0.064560689, 0.0308785234, 0.0339423157, 0.0060529062, -0.0031715229, 0.0006985796, -0.0062488117, 0.0719865859, 0.0097603751, -0.009241337, 0.0023522337, -0.0468166471, 0.0258231945, -0.0057639088, -0.0346791372, 0.0589913204, -0.0435140766, 0.0078292107, -0.0766739026, -0.008717441, 0.0200500954, -0.0357921794, -0.003352456, 0.0000020152, -0.0781917945, 0.0068130544, 0.034466546, -0.069146961, -0.0167112928, 0.0221478976, -0.0255193748, -0.0029173135, 0.0319544151, -0.0352037176, -0.038558986, 0.0242892969, 0.0225118008, 0.0388135016, 0.038905099, -0.0147155328, -0.0082885632, 0.0068974863, -0.0145037677, 0.0376176722, -0.0536899641, 0.0436384529, 0.0565716848, 0.0429584719, -0.0411747135, 0.0184689481, 0.0198074318, 0.0403091498, 0.0058573275, -0.0308024492, 0.0336229466, -0.0302314814, 0.0042803599, 0.0286735315, 0.0690083727, 0.0249882583, 0.0059735277, 0.0133031541, 0.0153309805, -0.0231057126, -0.0243823621, -0.0515336655, 0.0135199958, -0.0220443476, -0.0270690955, -0.0073849456, 0.0015578837, 0.0490448885, 0.0187378898, -0.0301566776, 0.0493432097, -0.0190161821, -0.0137821157, 0.0265921429, 0.0007315165, -0.012126429, -0.0481734052, 0.0532290973, 0.0695574358, -0.063463673, 0.0076376805, 0.0242613014, -0.0307807159, 0.071751751, -0.0760245174, 0.0310004782, 0.0329599082, 0.0118599068, 0.0584256388, -0.036307618, 0.018763151, -0.0279996544, 0.0256777108, -0.0465822853, 0.0282507595, -0.0325241275, -0.0229518302, -0.0054369131, 0.0055878926, 0.0068132873, 0.0248131566, -0.0824702159, -0.0280348454, -0.0461999029, 0.0242014062, 0.0217855163, 0.0267126728, 0.0215569865, -0.0268415753, -0.0642213598, 0.0107022449, -0.0207612664, 0.0325338729, 0.0164382663, -0.0396790206, 0.0090118097, -0.0200138744, -0.0113434112, 0.0077614021, 0.0428837091, 0.058485914, 0.0034947484, 0.0355618, 0.0104071852, -0.0554165952, -0.0451744609, -0.0727749914, -0.0079582995, -0.0839338377, 0.0264973473, 0.054823406, 0.0030861229, -0.0606301427, 0.0380663574, 0.0127277514, -0.0142742116, 0.0473664515, -0.0305131692, -0.0010136775, 0.0004479511, 0.0416692123, -0.0226733051, 0.0151106911, 0.0475783311, -0.0449119844, -0.0186328981, -0.0253176782, 0.0069244951, 0.0106188571, 0.0101394951, -0.0339163505, -0.0508806743, 0.0640129745, -0.0136488983, 0.0811679438, -0.064730294, 0.061871279, -0.0105701098, 0.0139949219, 0.0137285143, 0.0389290527, 0.0153369438, -0.0025924491, 0.0371629968, -0.0790432617, 0.0302632097, -0.0615160502, -0.0429721139, 0.0053850468, 0.0056467042, -0.0051656812, -0.025294628, -0.0014439471, -0.0192201398, -0.066852048, -0.0465792306, -0.0070684883, -0.0231953058, 0.0056940471, 0.0360882878, -0.0290622599, 0.0187539216, 0.0691387206, 0.0244506989, -0.0311568417, -0.0117409201, -0.0421418212, 0.0060397279, 0.0604581162, 0.0644509271, -0.0506225079, -0.0298694503, -0.0196312964, 0.0311231017, -0.0255308431, 0.0501362085, -0.0281497575, 0.0013893981, -0.0327261984, 0.0079739196, 0.0180056859, 0.0144762322, -0.0518383421, 0.0202764794, 0.0194591116, -0.0080629503, -0.0709854662, -0.0127694421, 0.0198443215, -0.0513134263, -0.028739525, 0.0086243413, -0.0307937562, 0.0166953299, 0.0085555436, -0.0061911764, 0.0635808408, 0.0035562618, -0.0110223014, -0.0353640392, 0.0020641361, -0.0478032008, -0.0128589096, 0.0531877987, -0.0175691489, -0.0479185097, -0.0365212634, -0.0321911238, -0.0258269385, -0.0195728559, -0.0662220195, 0.0199547634, 0.0121628297, 0.0100443419, 0.0148145817, -0.0512064658, -0.0252703596, 0.0401623137, -0.0078527024, 0.0219711028, 0.0019552745, -0.0334193483, -0.0078618191, -0.0010729522, -0.0126214679, -0.0041960692, -0.0090751937, 0.0225320682, -0.0328556187, 0.0092970682, -0.0458509363, -0.0099986941, -0.0697531328, -0.0076433322, 0.0066722943, 0.0426339805, 0.0151249375, -0.0117143439, 0.0062049171, -0.0033813289, -0.0414305851, -0.0155983791, 0.006242367, 0.0188271757, 0.0287115667, 0.0367160104, 0.014277502, -0.0309004467, -0.0148965847, -0.0770592466, 0.030890923, 0.0192362648, 0.0621675067, -0.0116532408, 0.007205714, -0.052673988, -0.0182434954, 0.0143371243, 0.0021282698, 0.0406765528, -0.0315011777, 0.0011913902, 0.0566299371, -0.0411920287, 0.0040316912, 0.0385416597, -0.0137648508, -0.0496961288, 0.0038772251, -0.0250848867, 0.0085254731, 0.0024358269, -0.0376478322, -0.0338836685, 0.0838872269, -0.0154397665, -0.0162770208, -0.0121847456, 0.0390277505, -0.0384881385, 0.0026450341, -0.060637664, 0.031033555, -0.0007832916, 0.0590439402, 0.006160086, -0.0174955744, 0.0919473022, 0.0030422679, 0.0270254035, -0.0781247914, 0.0074047684, -0.0475722849, 0.0186313912, -0.0248493254, 0.0122109326, -0.0232380088, 0.0019794186, 0.0143861976, -0.009370869, 0.0153286839, -0.079369612, 0.0830368549, -0.0574747063, 0.0277140886, 0.0241212603, -0.0484895967, -0.0258791968, -0.0018203579, -0.0390103124, 0.0122258905, -0.0138375014, 0.0150119578, -0.0590847172, 0.0151481433, 0.0268656723, 0.0477782972, 0.0061796959, -0.0355395041, -0.0021461777, -0.0304462779, 0.0093107969, 0.0034675472, 0.0449126624, -0.0232033692, 0.0547518097, 0.0797945634, 0.0284961872, 0.0340473615, -0.0313581601, 0.0198972002, -0.0248162597, -0.0170862786, 0.007126038, 0.044452589, 0.0132302595, -0.0787675902, -0.0054115094, 0.1003767177, 0.0377574749, -0.0241051391, 0.0065209023, -0.0529485941, -0.0600883104, 0.0098937172, 0.0135925859, -0.0721994266, -0.0281458497, 0.0150951445, 0.0207515974, -0.0026051886, -0.0566264838, 0.0241866913, -0.0503814369, 0.0202160291, 0.01055241, -0.0263110027, -0.0386213474, -0.0548038483, 0.0143881654, -0.0239143483, -0.0245333593, 0.0213608444, 0.003919594, 0.0092219114, -0.0087566394, -0.0571045578, -0.0469508469, 0.1015624702, -0.0054625901, 0.0190695077, 0.0402305909, 0.0240949765, -0.0272479318, -0.0351559334, 0.0114138238, 0.0173618179, -0.0079795625, -0.0156949107, 0.04960889, 0.0597074367, 0.0042338828, -0.0679547116, 0.0372455306, -0.0604310147, -0.0243101865, 0.0003894531, 0.1088067889, -0.0360170193, -0.0236703437, -0.0426174961, 0.0259714574, 0.0029817764, 0.055597689, 0.005706727, 0.0077555771, -0.0463690497, 0.0002434391, 0.0061842855, -0.003197358, -0.0249423794, 0.0180726964, 0.023059072, -0.0027441727, -0.02332858, -0.0058398065, 0.071906358, 0.0098342039, 0.0034569458, -0.0022384198, 0.0569542348, 0.0090100551, -0.0547305234, 0.0561050177, 0.0011250108, 0.0816661119, -0.0284725539, 0.0218464751, 0.034690585, 0.020834839, -0.0245707911, 0.0037680273, -0.0121505, 0.0045342203, -0.0178447235, 0.0572250895, 0.0254154187, -0.0552853346, -0.0313501731, -0.0053648027, -0.0069453861, 0.0152791766, -0.0604343601, -0.0238015968, -0.0060542817, -0.0196554679, 0.0069669001, -0.0193185341, -0.0058407732, 0.0266134236, 0.0152437473, 0.0620462932, -0.0511062518, -0.0173368379, 0.0249600466, 0.0449296534, 0.0292960033, 0.0233761072, -0.0185981542, 0.014980454, 0.0272965431, -0.050833948, -0.0095731672, -0.0030019882, -0.009194375, 0.0350303017, -0.0009371021, -0.013600749, -0.0276468173, -0.0420846008, -0.0406738631, -0.005247206, 0.0566804782, 0.030820027, 0.0101213744, 0.0801449046, -0.0490074903, 0.0024514815, -0.0390675664, -0.0085923094, 0.0428730883, -0.0030143466, 0.0698241442, -0.0057299468, 0.0244941991, -0.0199430045, 0.0094772959, -0.0162582304, -0.0441021472, 0.0167845655, 0.0151385311, 0.0051347497, 0.0107709067, -0.0033966089, -0.0121389013, 0.0038222962, -0.0282465816, -0.0136357341, -0.0049605859, 0.0276740529, 0.0567376427, 0.0406988747, 0.0002091185, -0.0473259464, 0.0607244298, -0.0221025702, 0.054980576, -0.01159433, -0.0537064523, -0.0154425567, -0.0378824025, -0.0220432431, -0.0063693831, -0.0486407354, -0.0141472863, -0.1119065881, -0.0607934631, 0.0003389819, 0.0458511189, -0.0323434435, -0.0091894716, 0.035785988, 0.0627068579, 0.001880409, -0.0394177958, -0.0177374966, 0.0647793263, -0.054095991, 0.0011175098, -0.0075120451, -5.473812872e-33, 0.0249319449, -0.0329087265, 0.0527034439, -0.0171832442, 0.0254749581, 0.0454286821, -0.042316623, 0.0191601068, -0.0023557004, 0.0632227063, -0.0176476035, 0.0359832421, 0.0191764198, 0.0123873828, 0.0183689166, -0.0514619127, 0.0013502204, 0.0167524684, -0.0185505711, -0.0004734829, -0.015396974, 0.0012144258, 0.0155248707, -0.0940848812, 0.0279070195, 0.0275687631, 0.0339431725, 0.0223551802, -0.0346881971, 0.0735680908, 0.0108273299, 0.035997767, 0.0316362828, -0.0228596237, -0.0074134162, -0.0051884302, -0.0565898418, -0.0300527178, 0.019809559, -0.0254618898, -0.0519545339, -0.0131786512, 0.0388248451, 0.0254945084, -0.0281836148, -0.0285074469, 0.001037469, -0.0483608134, 0.0185533296, -0.019895073, -0.01345383, 0.0511289276, -0.0018613558, -0.008499166, -0.0284067262, 0.0043164375, -0.0612764433, 0.0067262547, -0.0548311286, -0.0114761321, 0.0215313435, -0.0071935183, 0.0255626682, -0.0421416312, -0.0275791921, 0.0495656282, 0.0163303819, 0.000205869, -0.062113706, 0.015319841, -0.0502279326, 0.0650586635, 0.0742288902, 0.0305453204, 0.0377700888, 0.0004595096, -0.1127388552, 0.045588892, -0.0491488054, 0.0927764475, 0.0196406506, -0.0483900495, -0.0650359094, -0.0015386943, -0.0481937192, 0.0499432199, -0.0487875529, -0.0209363699, 0.0155502465, -0.0317127295, 0.0151324272, 0.0217105113, 0.0118311206, -0.0204340797, 0.0140082818, -0.0110561438, 0.0554570854, 0.0076849684, -0.013551333, 0.0213956069, -0.0597216263, 0.0169949811, 0.0026278244, -0.0078064082, 0.0579251125, 0.0209110808, 0.0186401345, -0.0212102681, -0.0365779921, -0.0175473429, -0.0080967331, -0.0091741784, -0.01856957, 0.0404426679, 0.0317287855, 0.0470236093, 0.010868432, 0.03228122, -0.0174595173, -0.0043703271, -0.0320129879, -0.0151825706, 0.0056224354, -0.0000433665, -0.0303371884, -0.0254531018, -0.0539806932, 0.0280723795, 0.0312351398, -0.0384621359, 0.0109652113, 0.0056289784, 2.735e-7, 0.1075560376, 0.0618999638, -0.001917024, 0.0032522972, 0.0380121991, 0.0251569692, -0.0213634297, -0.0438977368, 0.0316647999, -0.0252053514, 0.0305640679, 0.0216697976, 0.0354682952, 0.0628500581, 0.0055026212, -0.0250497982, -0.0577270016, -0.035959512, -0.0169102941, -0.0150225582, 0.0466104075, 0.0305961389, -0.0161803924, -0.0283283144, 0.0153519688, -0.0260621607, 0.0343233235, -0.0232981797, 0.0150360744, 0.0363487899, 0.0267036501, -0.0224145371, 0.059535291, 0.0682054237, 0.000618859, -0.0154277766, -0.0008175402, 0.1301469207, -0.0384182483, 0.0433404781, -0.0033138955, -0.0678681657, 0.0374100991, -0.0510236435, 0.0631859601, -0.0561648421, -0.0386108644, -0.0386036932, 0.0032827232, -0.0342550837, 0.0649805143, -0.0057932884, -0.0089835459, 0.0150789022, 0.0197045468, 0.0152658289, -0.0301322136, -0.0328313112, -0.0476641804, 0.0633528233, -0.019632753, -0.044454854, 0.0311409701, -0.0068992935, 0.014708126, -0.0804395303, 0.0141778886, 2.430651862e-34, 0.0202013534, 0.0216028821, 0.0174515452, -0.0081996461, 0.0535149276, 0.0167898275, -0.0285085365, 0.0187540762, 0.0114617143, -0.0657023117, 0.0016620558 ]
http://arxiv.org/abs/2406.12034v1
http://arxiv.org/pdf/2406.12034v1
Self-MoE: Towards Compositional Large Language Models with Self-Specialized Experts
2024-06-17T19:06:54
2024-06-17T19:06:54
Junmo Kang, Leonid Karlinsky, Hongyin Luo, Zhen Wang, Jacob Hansen, James Glass, David Cox, Rameswar Panda, Rogerio Feris, Alan Ritter
cs.CL
cs.CL, cs.LG
We present Self-MoE, an approach that transforms a monolithic LLM into a compositional, modular system of self-specialized experts, named MiXSE (MiXture of Self-specialized Experts). Our approach leverages self-specialization, which constructs expert modules using self-generated synthetic data, each equipped with a shared base LLM and incorporating self-optimized routing. This allows for dynamic and capability-specific handling of various target tasks, enhancing overall capabilities, without extensive human-labeled data and added parameters. Our empirical results reveal that specializing LLMs may exhibit potential trade-offs in performances on non-specialized tasks. On the other hand, our Self-MoE demonstrates substantial improvements over the base LLM across diverse benchmarks such as knowledge, reasoning, math, and coding. It also consistently outperforms other methods, including instance merging and weight merging, while offering better flexibility and interpretability by design with semantic experts and routing. Our findings highlight the critical role of modularity and the potential of self-improvement in achieving efficient, scalable, and adaptable systems.
[ 0.0262066964, 0.0592585467, -0.0246300958, 0.0273534991, -0.008259967, 0.0119285006, 0.0200604033, -0.0523467734, 0.0109234275, -0.032726381, -0.0389101841, 0.0463762507, -0.0351409353, 0.0258205812, 0.0389426537, 0.0043114712, 0.0335442908, -0.0706395656, -0.053219188, -0.0246761292, -0.0093789715, 0.0035224445, 0.0129909031, 0.0145595632, -0.0036599333, 0.0062245689, -0.0158882476, -0.0040736636, -0.015354461, 0.0279110633, -0.0075690662, 0.0642212406, 0.0309540909, 0.0591025315, 0.0000021036, -0.0532197356, -0.0128928833, 0.0138620753, -0.0483113714, 0.003265427, 0.0145415729, 0.0063742036, -0.0250103697, 0.0152059887, -0.0426002294, -0.0080302479, 0.0526933633, 0.0029512416, 0.0846204758, 0.0762199238, 0.0046077627, -0.0466317125, 0.0424524285, -0.0090222117, 0.0288494788, -0.0060156449, 0.0164344572, 0.0275982302, 0.0146474419, -0.0042286715, -0.0123124719, 0.0324701592, 0.0380369425, -0.0104020266, 0.0384468921, 0.0379782394, 0.0022687004, 0.0030883446, -0.0296949875, 0.0704121515, -0.0178425312, -0.0296748783, 0.0124158114, 0.0153789883, -0.0111294929, -0.0104180388, -0.0343593955, 0.0083959131, 0.0100288447, -0.0022715034, 0.0285553671, -0.0127805453, 0.0398383364, 0.0045964909, -0.0743611157, 0.0718074739, 0.0372705013, -0.0131161893, -0.0416787043, -0.0229055304, 0.0166380219, -0.0511434004, 0.0041971179, 0.0578363314, -0.0231576338, 0.0238525514, -0.0546008088, -0.0189243462, -0.0137048159, -0.0357851908, 0.0231026504, 0.0422807075, 0.0032920169, 0.0762366727, -0.0434722565, 0.0151194017, -0.055499319, 0.0237299632, -0.0603259914, -0.034797363, -0.0750128254, -0.0134254415, -0.0309927277, 0.054635521, -0.0104720797, -0.0225828923, -0.0333963223, 0.0684367269, -0.0353037342, 0.0364232734, 0.0254078638, -0.0154508464, -0.0269904789, -0.0638905391, -0.0158558339, 0.0035155599, -0.0275373757, -0.0236721449, -0.0025156664, -0.0260191914, 0.0198463108, 0.0266300533, -0.0463933311, -0.0091735553, 0.0164308306, 0.1165739074, -0.033213947, 0.0096395826, 0.0040524486, -0.0242647193, 0.001380149, -0.0778988451, -0.0192013979, -0.0907531828, 0.0697534457, 0.0117854113, -0.011365355, -0.0589528531, -0.0136738718, -0.0299663898, -0.0068106945, 0.0597212538, -0.0194652509, 0.0378122814, 0.0208433848, 0.0215745829, -0.0148016457, 0.0662497655, 0.01976615, -0.0159334987, -0.0030530489, -0.0222299639, 0.0287521034, 0.0238894057, -0.0131641356, -0.0078641009, -0.0529867224, 0.0520732924, -0.0202806368, 0.0182721596, 0.0239210911, 0.0369912982, -0.0310732555, -0.0157014728, 0.0423736051, 0.0226259399, 0.0309372209, 0.0646603629, 0.0475930534, 0.009152038, 0.0293929987, 0.0031676092, -0.045043163, 0.0522019267, -0.0433593467, 0.0060717934, 0.0192133915, 0.032138437, -0.0338977687, -0.0538345017, -0.0088174175, -0.0100191459, -0.0550364256, 0.0336351655, 0.0493522435, 0.0017306483, -0.0224355143, 0.0594759285, 0.0062251897, -0.0400732346, 0.0054889037, -0.0502899773, 0.0207589064, 0.0850312039, 0.0380675495, -0.0359609313, -0.0341425277, 0.0211486816, -0.0193291493, 0.0269907769, 0.0350527465, -0.0114947334, -0.0057841786, -0.0537494719, -0.0400508232, -0.0388583615, 0.0028328456, 0.0186189879, 0.0362063423, -0.0340220593, 0.0062208353, -0.0414078012, 0.0077718771, 0.0257749278, -0.0502144173, -0.0033058538, 0.0169229526, -0.0162329096, 0.0214156061, -0.0060817497, -0.0222908948, 0.0269074328, 0.0263618156, -0.0188856497, -0.0598388091, 0.005408919, -0.0494899414, -0.0200955924, 0.0309278313, -0.0276786871, -0.055454962, -0.0187235828, -0.0323069729, -0.0648635626, 0.0356893912, -0.0320594013, 0.0119337775, -0.0392082706, 0.0289754681, 0.0246991944, -0.0023859332, -0.0116567975, 0.0602391511, -0.0025437674, -0.0327337272, 0.0260375943, 0.0179986339, 0.0119608454, -0.0139363874, -0.0383363664, -0.0040949164, 0.0102055604, 0.045997642, -0.0157469902, -0.034601111, -0.0376727469, -0.0832678378, -0.0958700553, 0.0185737703, -0.0131897433, -0.0004018903, 0.0449354202, 0.0080534955, -0.0020624213, 0.0138932988, 0.0023298708, 0.0060477322, -0.0240248088, 0.020184435, 0.0140686994, 0.0073234313, -0.0142696993, -0.0331407785, -0.0557826087, -0.0286998227, 0.0389670022, -0.0367909707, 0.0293127485, -0.0497922264, -0.0298514534, -0.0396323912, 0.0520681888, -0.0130234798, -0.0315815397, 0.0052989777, -0.0616923645, 0.0933800265, 0.0515235625, -0.0155363791, -0.0132496096, 0.0802512541, -0.051262293, -0.0396004133, 0.0381972715, 0.0033228623, -0.0014481382, -0.056366872, 0.0205092728, -0.0225147754, 0.0594004951, -0.0189866442, -0.0318635628, -0.0352743268, -0.0033216509, 0.0172278378, -0.0394566618, 0.0159525592, -0.0011813099, 0.012713003, 0.0251340307, -0.01369204, -0.037383046, 0.0714347139, -0.0017151621, -0.0143261496, 0.0045509371, -0.0417278819, -0.069350712, 0.0374508835, 0.0069581936, 0.0189194102, -0.062932089, -0.0061304672, -0.0609630197, 0.0160484388, 0.0216586869, -0.0179290883, 0.0430539548, -0.0584717877, 0.0385600813, 0.0082545904, -0.0433312282, -0.0239760838, 0.0358025357, -0.0398254022, 0.0034258377, 0.025557233, -0.028415354, -0.045528084, 0.0076040705, 0.0058268844, 0.0466889963, 0.0105154635, -0.0163580254, -0.0248191003, 0.000805608, 0.0010118268, 0.0314247906, 0.0319010876, -0.0309989303, 0.0658635646, 0.0413015895, 0.0469129905, -0.0403027982, -0.0405347832, 0.0050880956, 0.027058281, -0.0430610031, -0.019074617, 0.0266923513, 0.0397262312, -0.0888723806, 0.0129360044, 0.1218806654, 0.0090518435, -0.0252412185, -0.016843345, -0.0048836102, 0.022837894, 0.0376929939, 0.0626696572, -0.0434925482, -0.0144967996, 0.0102022002, -0.0225874577, 0.0150877917, -0.0331138745, -0.0182066094, -0.1064737514, 0.03602596, 0.0200730413, -0.0399993584, 0.0062667695, -0.0180266444, -0.0208485927, -0.0211466141, -0.0121776955, 0.0176459532, -0.0146628767, -0.0224354416, -0.0006408904, -0.0499690399, -0.0158606898, 0.0246906709, -0.0012661469, 0.0603168458, 0.0058650747, -0.0198965017, 0.0112932315, 0.011906472, 0.0673905984, 0.0081923697, 0.0151138781, -0.0150548313, 0.0314628743, -0.0208307579, -0.0248712115, -0.0019355644, 0.0032377667, -0.020213861, 0.0112442374, 0.0034857898, 0.0918336287, -0.0019625835, -0.0196446534, -0.0436519124, -0.0248168204, -0.0407121591, 0.0793520808, -0.0171980094, -0.0362755097, -0.0489243828, -0.009946431, -0.0574753322, -0.008187403, -0.0362040959, 0.0502208024, 0.0084326211, -0.0497572683, -0.0346653089, -0.0000064849, 0.0399453528, 0.0570930056, 0.0146605847, 0.0174023304, -0.0030718092, -0.0096152732, -0.0733377337, -0.0104879132, -0.0618280061, -0.0180995855, -0.0765263587, -0.002909455, 0.0481379777, -0.0297779031, 0.0070144353, -0.0106637022, -0.0917724147, -0.0891888589, -0.0008210035, 0.0748391002, 0.0227067657, 0.0497763194, -0.0046031745, -0.0912064612, 0.0638300255, 0.0417620875, -0.0820172355, 0.0012390027, 0.0379105136, -0.0150039913, 0.0081950435, 0.0372497812, -0.0466821752, 0.0200105812, 0.0123376977, 0.0112915291, -0.0476906598, 0.0190795921, 0.0254569352, -0.0013716476, -0.0334821194, 0.0014255231, 0.0714023188, -0.0184182636, 0.0370341577, -0.0407658853, -0.0187192634, -0.0565157644, 0.017474398, 0.0230641682, 0.003961842, 0.0584920347, 0.0342258774, 0.0276864935, 0.0057511949, 0.0172221214, 0.0015727906, -0.0286354125, -0.0227787048, 0.0481159389, 0.0014807882, 0.0113945035, 0.0292733163, 0.0171205476, 0.0022132879, -0.030649025, 0.0132702561, 0.0015215632, 0.0078590699, -0.026021596, 0.003622565, -0.0661902651, -0.126509428, 0.0106342928, 0.0660498366, 0.0559373721, 0.0322650746, 0.0384445563, -0.0332412012, -0.018789418, -0.0126492456, 0.01195959, -0.0168259759, 0.0162824281, 0.0149369966, 0.0500603616, 0.0061012758, -0.0072005196, 0.0540398434, 0.0245236754, 0.0373785049, 0.0139445877, 0.0167993177, -0.0437994786, -0.020983465, 0.009047593, 0.0210737325, -0.0310845617, -0.0244884677, -0.0352547653, -0.0544827953, -0.0146066807, 0.0456486605, -0.0339841582, 0.0148601439, 0.0443450958, 0.054978244, -0.0240788348, -0.0057982747, 0.0013956483, -0.0051898705, 0.021853447, -0.0069559771, 0.0436159745, -6.432027377e-33, -0.0129070943, -0.0198160578, 0.0732384175, -0.0364333279, 0.0214046836, -0.0015229547, -0.0304505825, 0.0297892764, 0.0004663214, -0.0044152588, -0.0092083067, 0.0295348354, -0.0081934547, 0.0218187738, 0.0399849117, 0.0139482943, 0.0571504124, 0.0215316266, 0.0019872941, 0.0122612817, -0.0099870414, 0.0118009765, 0.0511145927, -0.0676071346, -0.0368387811, 0.0054096309, 0.0005401262, 0.0498002805, -0.0069139167, 0.0736967921, -0.011295516, 0.0417488851, 0.0012585556, -0.0110823289, -0.0402164795, -0.0504024774, -0.0499917194, -0.0552168526, 0.0265000761, -0.0232762694, -0.03753132, -0.0355612002, 0.0873584747, 0.0124622416, 0.0001244713, -0.0484331883, 0.0317819826, 0.007750649, 0.0106358258, -0.008599014, -0.0391974524, 0.0211352576, -0.0244016629, 0.013791481, 0.0495937392, -0.0562890284, 0.0101360586, 0.0009643325, -0.017472202, 0.0387857854, -0.0307506081, 0.0364579856, 0.0881628096, 0.0076981746, 0.0228661876, 0.0091757728, 0.0848920122, 0.039474681, -0.0108858813, -0.0069830595, 0.013033729, 0.1010685489, 0.0476863347, 0.0199212991, 0.0151683176, 0.0343551561, -0.0280816648, -0.011294012, 0.0168808978, 0.0209402312, 0.0164767951, 0.0604807176, -0.0271453988, -0.000124506, -0.0341849774, 0.0307266507, -0.0315640047, -0.0343563706, 0.0137258451, 0.0066491943, -0.0337768644, -0.0087382244, 0.0158312991, -0.0466586202, -0.0159196723, 0.000263617, -0.0400075354, 0.0308143515, 0.0047116163, 0.0520438924, -0.0658733994, -0.0470892005, 0.0108357845, -0.0083239907, -0.0069831018, 0.017270945, -0.0134921698, 0.0372474082, -0.0668960512, -0.0005917588, -0.0293586738, -0.0161043815, -0.00081547, -0.0045776544, 0.0404091775, 0.0310278069, 0.0097114155, 0.0132762659, 0.0012464594, -0.0215259306, -0.0247992203, 0.0483287871, 0.020368116, 0.0091387527, 0.0208316427, 0.0035785669, -0.0592375025, -0.0225855149, 0.0490252711, -0.0450430736, -0.0125074917, 0.0280840434, 2.847e-7, 0.0191422384, 0.0361252241, 0.0070402687, 0.0039423951, 0.0302948523, 0.0146045126, -0.0207265764, -0.0047013601, 0.0064912154, -0.0300048292, 0.0272364039, 0.0952104852, 0.0121519389, 0.0220993422, -0.0647945851, 0.0152622722, -0.0025926759, 0.0269255415, -0.0596577078, -0.0240095612, 0.0189036671, 0.0726729855, 0.0351752043, -0.002491045, -0.02256543, -0.0341818221, 0.0527407601, -0.0095531056, 0.0001586723, 0.0653350577, 0.0178855993, 0.0587626174, -0.0350681245, 0.01316847, 0.0114938673, 0.0273456722, -0.0031643235, 0.0873306543, -0.0051154867, -0.0033306819, 0.0167647284, -0.0442482457, -0.0154661126, -0.0215487573, 0.0498312823, -0.0604756065, -0.0324584246, -0.0314340591, -0.0021558711, -0.0157539994, 0.0015671222, -0.0114323655, -0.0136475004, 0.0278171673, 0.0186994579, -0.023168074, -0.0053892396, -0.0851189867, -0.0318295285, 0.017553797, -0.0740946233, -0.0283115059, -0.0217208192, 0.014132699, 0.0542611964, -0.0468001254, -0.00239234, 2.740064475e-34, 0.0289637391, 0.0167577919, 0.0241077188, 0.0256757531, 0.0253903996, -0.0215215534, -0.0963732451, 0.0115842698, 0.0230233222, -0.0566476956, -0.0435211807 ]
http://arxiv.org/abs/2406.12033v2
http://arxiv.org/pdf/2406.12033v2
Unveiling and Mitigating Bias in Mental Health Analysis with Large Language Models
2024-06-17T19:05:32
2024-06-19T18:28:22
Yuqing Wang, Yun Zhao, Sara Alessandra Keller, Anne de Hond, Marieke M. van Buchem, Malvika Pillai, Tina Hernandez-Boussard
cs.CL
cs.CL
The advancement of large language models (LLMs) has demonstrated strong capabilities across various applications, including mental health analysis. However, existing studies have focused on predictive performance, leaving the critical issue of fairness underexplored, posing significant risks to vulnerable populations. Despite acknowledging potential biases, previous works have lacked thorough investigations into these biases and their impacts. To address this gap, we systematically evaluate biases across seven social factors (e.g., gender, age, religion) using ten LLMs with different prompting methods on eight diverse mental health datasets. Our results show that GPT-4 achieves the best overall balance in performance and fairness among LLMs, although it still lags behind domain-specific models like MentalRoBERTa in some cases. Additionally, our tailored fairness-aware prompts can effectively mitigate bias in mental health predictions, highlighting the great potential for fair analysis in this field.
[ 0.036721006, 0.1112442762, -0.0293518789, 0.0209915135, -0.0091445874, 0.0246532019, 0.0473059081, -0.0065498031, 0.069035314, -0.0175734032, 0.0131632518, -0.0451668166, -0.0050596492, -0.0149832396, -0.027220903, -0.0674151033, 0.0137899714, 0.019365536, 0.0577169098, -0.0339600407, 0.001206148, 0.0093599912, 0.0124843437, 0.0521577522, 0.0019119732, -0.0299603082, 0.0539082661, 0.0054684519, 0.011035691, -0.0592284799, -0.0042961705, 0.0978156552, -0.0518177971, 0.0208462439, 0.0000020726, -0.0667054728, -0.0207694136, 0.0127681578, 0.0083793802, -0.0125692477, 0.0208384227, -0.0753227621, 0.0208266657, 0.0435916819, -0.0352290012, -0.012745454, 0.0424972698, 0.0490046069, 0.0213822722, -0.0065077632, -0.0363598354, 0.0053151054, -0.0268161111, -0.0368121006, 0.0091737388, -0.0049545146, 0.0391535535, -0.0400625914, -0.0156806149, -0.0571170263, -0.0253983438, 0.0209377073, -0.0059441254, 0.0479621738, -0.0378065072, 0.0059277839, -0.0197066404, -0.0413596295, -0.0056809159, 0.0658912212, 0.0315726437, 0.0549486466, -0.003953014, -0.0386888795, 0.0357250199, 0.0359716229, -0.0489771329, 0.0250447895, -0.015095518, 0.0054184492, 0.0124321943, 0.0332408324, 0.0314907916, 0.0047616386, 0.0092172679, 0.1048265547, 0.0132744908, -0.0395687371, 0.0203525424, 0.027307285, -0.0379616246, -0.0426197611, 0.0200991258, -0.0097505357, -0.0577199198, -0.0069374815, -0.0108985519, -0.0305618364, 0.0562253818, 0.0075073205, 0.0150250727, 0.0780546665, -0.0506544597, -0.0290470123, 0.0735708699, 0.0327724889, 0.0168719403, 0.0172916465, -0.0079150777, -0.0037250146, -0.0128732603, 0.0158766154, 0.0059054322, -0.0296562426, -0.0308260005, 0.0562490486, -0.1001977175, 0.0013464057, -0.0531355068, -0.042866312, 0.033324793, -0.033522889, -0.0213582478, 0.0165828895, -0.0153126959, -0.0003061014, -0.0390138924, 0.0068729147, -0.0088766916, -0.0763009116, 0.0128353862, -0.0182512309, -0.0425125733, -0.0697956681, 0.0196183957, 0.0460965782, 0.0559119768, -0.0080724489, -0.0394512378, -0.0244565159, -0.0480939299, -0.0544647686, -0.0044788402, -0.0488094054, 0.034304332, 0.0468063802, 0.0138686392, -0.039779786, 0.0021351026, 0.0073835086, -0.0816980079, 0.0570098124, -0.0066762548, 0.0082374532, 0.0253500082, 0.0418219008, -0.0190851428, 0.0658637658, 0.0066741933, -0.0033085118, 0.047280658, -0.0298252758, -0.003533876, 0.0388732888, 0.0067571159, 0.0106234057, 0.0038900734, 0.0183321256, -0.0024209316, 0.0235840995, 0.0250090975, 0.0189121384, 0.0205270518, 0.0102733653, 0.063278757, 0.0945151746, 0.0120095368, 0.0482122563, -0.0307385046, 0.0014364662, -0.0484869704, -0.0039445409, -0.0879385844, -0.0119450409, -0.0012180036, -0.0387571007, 0.019977361, 0.0440786108, -0.0188862421, -0.0261751562, -0.0400930122, 0.0027414274, 0.0066595846, 0.0271710306, -0.0331764333, -0.0594402105, 0.0332161449, 0.032507062, 0.0417934917, -0.0091921445, -0.0226645451, -0.0609559976, 0.0108200992, 0.0542124733, 0.0041320762, -0.0330172181, 0.0104271555, -0.0046074917, 0.0082683479, 0.0279416945, 0.035674803, 0.0228586886, 0.0204869825, -0.0347951204, -0.03575968, 0.072341837, 0.0255692117, -0.0049126288, 0.0158270802, 0.0544702373, -0.0113301044, -0.0164069105, -0.0305662379, 0.0535426959, 0.0168813039, -0.0340374336, 0.0398986675, -0.0160290916, 0.0684226453, -0.0048383381, -0.0052787303, 0.000540808, -0.0419165865, -0.0069744093, -0.0197858494, 0.000727008, -0.0514377169, -0.0163660906, 0.0064896964, -0.0006351417, 0.0115922689, 0.0540207662, -0.0270951577, 0.0115911607, 0.056055747, 0.0062990827, -0.000508671, 0.0099051101, -0.0210228693, 0.0000183521, 0.0483355336, -0.0441835858, 0.02449972, -0.0468918346, -0.0000949586, 0.0137556326, -0.0698048472, -0.0224133395, -0.032395836, -0.0478460714, 0.0185853895, 0.003343439, 0.0257888921, -0.030751517, -0.0030673807, -0.0081763053, -0.0085628536, -0.1399734169, 0.0259899311, -0.012014241, -0.0223675016, -0.0175288487, 0.0194524862, -0.04899038, -0.0277299359, -0.0190365724, -0.0324917212, 0.0683148876, 0.075474374, -0.0127494773, -0.0112712197, -0.0088560255, -0.0275447872, -0.0434319749, -0.0372160301, 0.0281030126, 0.0163391996, 0.009537641, -0.0005328632, -0.0457331017, -0.0594672151, -0.008259628, -0.0108712027, 0.0065411227, -0.0093533006, 0.036782749, 0.0457063802, 0.0155457957, 0.0065800832, 0.0348811001, 0.0685813874, 0.0116229877, -0.0238431823, 0.0003014371, 0.0093534654, -0.0065593095, -0.0027694216, -0.0775600374, -0.0193846505, 0.0527208857, 0.0627931505, -0.0091774389, -0.0344085954, 0.0298577435, -0.0387748666, -0.0096271727, -0.0369235314, 0.0075772717, -0.0227474477, 0.0387641303, -0.026934728, -0.0837920532, 0.0244559888, 0.0240748934, 0.0240034256, -0.0527515374, -0.0103201196, -0.046765849, 0.0172801558, -0.0216260515, -0.0014880677, 0.0113764815, -0.0031960851, -0.0156345461, -0.0521607026, 0.0041709058, -0.0426918902, 0.0633968338, -0.0433643721, 0.0027716293, -0.0060344883, -0.0469260439, -0.0293197092, -0.0666123107, -0.0563410074, 0.0151621765, 0.0130494004, 0.0035487534, -0.0231273137, -0.0085549848, 0.0141347852, 0.0444030762, -0.0323363878, -0.013760264, 0.0237224251, -0.034763746, 0.0300666615, -0.0162519645, 0.0364578739, -0.0436567478, 0.0265822709, 0.0154185034, 0.0063422648, 0.0275296271, 0.0437940136, 0.0457961559, 0.0035832154, -0.006415315, -0.0129275285, 0.0310651697, 0.0346165784, -0.019792296, 0.0343338661, 0.1257744282, 0.005554636, -0.0420348607, 0.0288318265, -0.0499115549, 0.0318421982, 0.0194147546, -0.0266572982, -0.0594462454, -0.0385163724, 0.0081368089, 0.0825257525, -0.0424249172, -0.0605402514, 0.017330749, -0.048237104, 0.034135852, 0.0013449962, -0.0258272421, -0.013264142, -0.0120140752, 0.029330831, -0.0313758552, 0.0040395209, -0.0296580791, 0.016769873, 0.0164155718, -0.0161238238, -0.0945719033, -0.0268341471, 0.0680181757, -0.0418338589, 0.0483343937, 0.0389925502, 0.0277914684, -0.0248303134, -0.0192259848, 0.0036538558, 0.012438261, -0.0221868176, -0.022320386, 0.0681848302, 0.0145857055, 0.0055156169, -0.0936796889, 0.0454666913, -0.0137652876, 0.0021778475, 0.0235049184, 0.0764309093, 0.0125950072, -0.0447548814, -0.0385110602, 0.0300521664, 0.0309117325, 0.0725477487, 0.0050931559, -0.0433818027, -0.010923882, -0.0313400365, -0.0029749069, 0.0037596712, -0.0669144094, 0.034879297, 0.0058943145, -0.0232037045, -0.0104669044, -0.0632227436, 0.0551321991, -0.0299691372, 0.0005491792, -0.0312543474, 0.0011743068, 0.0032638595, -0.0682486966, 0.0756323263, -0.0048400029, 0.0197853036, -0.013697451, 0.0057492908, -0.0152835324, 0.007140616, -0.0224828869, 0.0377506241, -0.0368060619, -0.0179293584, 0.0702550337, 0.0134920981, 0.0211010855, -0.0203966405, 0.017484393, -0.0247594938, 0.0477174856, 0.0342927799, -0.0169101488, 0.0309018008, -0.0063294549, 0.0251432303, 0.005920148, 0.0343441181, 0.0052238223, 0.0427816324, 0.0365807079, 0.0113384193, 0.0215208139, -0.01443973, -0.0082513513, 0.0347980261, 0.0466241129, -0.0325985998, -0.0355607271, -0.0221266393, -0.0336913094, -0.0122643821, -0.0212794747, -0.0103110252, -0.0269845482, 0.0196307097, 0.030117875, -0.0445975102, -0.0554888323, -0.0585471131, -0.0255619455, -0.0865837932, 0.0600929633, -0.0361649543, 0.0184901766, 0.0141157834, 0.0078361379, 0.0104092471, 0.031455379, 0.004392352, 0.0374037474, 0.020350391, 0.0672067031, -0.0189048424, 0.0286911633, 0.0116402963, 0.0035472217, -0.0415749438, -0.1083116904, -0.0032934477, -0.0100300685, -0.0027196843, 0.0033621704, 0.0298163276, -0.0011592373, 0.0025171933, -0.0262426771, -0.0068707066, 0.0180792995, 0.0126703531, 0.0588371791, -0.0232259538, -0.0347311981, -0.0263723768, 0.050120309, -0.0097919675, 0.0416993573, 0.0012490039, -0.0505968519, -0.0124508487, -0.0440841503, 0.0221595429, -0.0124198375, -0.0723020732, -0.0158308093, -0.0983641371, -0.0550833941, 0.026921453, -0.0330236517, -0.0036976687, -0.0288563166, -0.020247478, 0.0525041781, -0.0197755024, -0.0571368262, -0.0199073981, 0.0041133119, -0.0594738238, -0.0541242622, -0.0162981115, -5.846156585e-33, -0.0245183781, -0.0075627039, -0.0123150954, -0.0331198238, -0.0065323813, -0.0009909591, 0.0060176016, 0.0330663435, -0.0125148613, 0.0068895086, 0.0172249731, 0.0500791408, 0.0129117575, 0.0365303718, 0.0594945103, -0.041113399, 0.0175232682, -0.0074861301, -0.0257669967, -0.0081161326, -0.0519073159, 0.0358647443, 0.0376423225, -0.0669122487, 0.0728610605, 0.0062725642, 0.0235044956, 0.0105993617, -0.0143374512, 0.0334673598, -0.0401913375, 0.1103662401, 0.0551680401, -0.0059872866, 0.0150686456, 0.0468529537, -0.0064502144, -0.0258101691, 0.0335774533, -0.0239539295, 0.0033043439, -0.0023542689, -0.0115658576, 0.0401753075, -0.0561106317, -0.058274325, 0.0222205482, -0.0399134867, 0.0565021895, 0.0179972816, 0.0073900605, 0.0319921114, -0.0186532605, 0.0483217537, -0.040189527, 0.0443656184, -0.0259415451, 0.0595570095, -0.0304712057, 0.0071829064, 0.0236597545, -0.0148961172, 0.0122524668, -0.0226964857, -0.0102430303, 0.0436199158, 0.0290894713, -0.0116768656, -0.036485672, -0.052972585, 0.0078002666, -0.0083442768, 0.053776104, 0.0443044342, 0.044307299, -0.0071100048, -0.0587959327, -0.0051876418, 0.0195163637, -0.0178309064, 0.042688664, -0.0245507658, -0.0567718968, -0.0481805168, -0.0325853005, -0.0158272106, -0.0261907447, -0.0081619741, 0.0419479534, -0.0149362944, -0.0027304774, 0.0133476257, 0.0227287523, -0.0224205293, -0.0299356487, 0.0108884731, 0.0119265718, -0.0156649034, 0.0147607848, 0.0176230781, -0.0273191072, 0.0250766315, -0.0084498189, 0.0227564294, 0.0485305153, 0.0024957175, 0.0036666428, -0.0237509068, -0.0776986852, -0.0050215144, 0.0186707694, 0.0596033074, 0.0037640524, 0.0321081541, -0.0089711612, -0.0102526424, 0.0286169276, 0.0149949957, 0.0311899334, -0.0142587349, -0.0731039047, -0.0055396766, -0.0110833636, -0.0066906256, 0.0109178405, -0.0199600328, 0.022008419, -0.0182197075, 0.0576494075, -0.032132417, -0.0051689171, -0.0663472638, 2.596e-7, 0.0414306112, 0.0566483513, -0.0382809751, 0.0229430944, -0.0098350449, 0.0312354136, 0.0062958966, 0.0510361083, 0.0580673665, 0.0252856594, -0.0076859016, 0.0433197394, 0.043848291, 0.0593704022, 0.0084280567, -0.0384125151, -0.0664363429, -0.0076833409, -0.0679645538, 0.0130793378, 0.0354437903, 0.0717116073, 0.0051031969, -0.0175036434, -0.0072762975, 0.0060303709, 0.0115548633, -0.0596274137, 0.0090707475, 0.0366634652, 0.0431256443, 0.0075046211, 0.0292184912, 0.0521674007, 0.003641732, 0.0166467633, -0.0214605257, 0.0595576018, -0.0109097036, 0.0235620365, -0.0135265579, 0.0095459642, -0.0119263427, -0.062343277, 0.0610960163, -0.0153350113, -0.0294923969, -0.0251218304, -0.0126509778, -0.047053501, 0.0808080509, -0.0146756321, -0.0156655479, 0.0195177123, 0.0525296852, -0.0006724356, 0.0203587133, -0.0375647955, -0.0353647731, 0.0005566254, -0.0545692742, -0.0466557294, -0.009918171, 0.0031286669, -0.013121997, -0.0592905805, 0.0430765115, 2.553191408e-34, 0.0373211876, 0.0661014318, 0.034848161, -0.0388234407, 0.0309264995, 0.0158015341, 0.0217645578, 0.0153752845, -0.0221556854, -0.0495765731, -0.0152478144 ]
http://arxiv.org/abs/2406.12031v1
http://arxiv.org/pdf/2406.12031v1
Large Scale Transfer Learning for Tabular Data via Language Modeling
2024-06-17T18:58:20
2024-06-17T18:58:20
Josh Gardner, Juan C. Perdomo, Ludwig Schmidt
cs.LG
cs.LG, cs.AI, cs.CL
Tabular data -- structured, heterogeneous, spreadsheet-style data with rows and columns -- is widely used in practice across many domains. However, while recent foundation models have reduced the need for developing task-specific datasets and predictors in domains such as language modeling and computer vision, this transfer learning paradigm has not had similar impact in the tabular domain. In this work, we seek to narrow this gap and present TabuLa-8B, a language model for tabular prediction. We define a process for extracting a large, high-quality training dataset from the TabLib corpus, proposing methods for tabular data filtering and quality control. Using the resulting dataset, which comprises over 1.6B rows from 3.1M unique tables, we fine-tune a Llama 3-8B large language model (LLM) for tabular data prediction (classification and binned regression) using a novel packing and attention scheme for tabular prediction. Through evaluation across a test suite of 329 datasets, we find that TabuLa-8B has zero-shot accuracy on unseen tables that is over 15 percentage points (pp) higher than random guessing, a feat that is not possible with existing state-of-the-art tabular prediction models (e.g. XGBoost, TabPFN). In the few-shot setting (1-32 shots), without any fine-tuning on the target datasets, TabuLa-8B is 5-15 pp more accurate than XGBoost and TabPFN models that are explicitly trained on equal, or even up to 16x more data. We release our model, code, and data along with the publication of this paper.
[ 0.0053903982, 0.0857991427, -0.003788555, 0.0001142592, 0.0113955177, 0.0302426778, 0.0101249795, 0.0291253515, 0.005771881, -0.0152327549, -0.049778264, -0.0523930863, -0.0135889007, 0.0369366705, 0.0536672473, 0.0003889761, 0.0188451502, -0.0194549244, -0.0294356719, 0.0294684283, -0.0216443017, -0.0144837974, 0.0221268795, 0.0076529691, -0.0164213534, 0.0012013844, -0.0311749317, 0.0038692518, -0.0570023283, 0.0197748151, 0.0304446481, 0.0588142872, 0.0185879562, 0.0233617816, 0.0000022764, 0.0033390685, -0.0630836487, -0.0484115183, 0.0201441348, -0.0021577072, 0.0601589642, -0.044693049, -0.0065096766, -0.0000167597, -0.02375268, -0.0398355089, 0.0346221253, 0.0104073798, 0.0514089428, 0.0638487339, -0.0160360038, -0.0072826836, 0.004927048, -0.0395973101, 0.0939992145, -0.0424400643, 0.0292086564, 0.0088455314, -0.0170215108, -0.0414124578, -0.018380858, 0.0401162282, 0.0070894929, -0.0307467431, 0.0463165827, 0.0258319806, -0.07372576, -0.0041910177, -0.0113684181, 0.0792463496, -0.04423327, -0.02356226, 0.0178612098, 0.0057552354, 0.0269687474, -0.0089186756, -0.0665695816, -0.013783942, -0.0025675599, 0.0106817633, -0.0104735186, -0.0249834117, 0.0111681651, -0.0152095733, -0.0433633029, 0.0147182029, -0.038355127, -0.0210476443, 0.0299853552, -0.0036717581, 0.0451823734, -0.028726792, -0.0001788115, 0.0246432032, -0.0197950881, -0.0033007297, -0.0301517136, -0.0399024896, 0.0084628416, -0.0404538624, 0.0917867944, 0.0282993987, -0.0248001758, 0.0235391073, -0.0542320833, 0.0397646874, -0.027095668, 0.0493011624, -0.0266453084, -0.0257245079, -0.0392680243, 0.0267749485, -0.0132326344, 0.0158723034, -0.0261440985, 0.0043715583, -0.008159156, -0.0092773838, -0.011696279, 0.0285843331, 0.0312457439, 0.0062964233, -0.0287410058, -0.0242510326, -0.0337230228, 0.0122921821, 0.0202222504, 0.029582398, -0.0176696554, -0.0671816766, -0.0257895347, 0.0291535221, 0.0069465484, -0.0413369872, 0.063405253, 0.0546071678, -0.0467039794, -0.0092893513, -0.0645893216, -0.0066518565, -0.0347145908, -0.0364604741, 0.0552108958, -0.0568570979, 0.0246462524, -0.0267074797, 0.0241364241, -0.0591887049, 0.0007746002, 0.0372775719, -0.0179591104, 0.0868855566, 0.0065809125, 0.0199957136, 0.000351928, -0.0414212272, -0.0516804159, 0.057334654, 0.0493964031, 0.0798102245, -0.0210297145, -0.0509373136, -0.0023967393, 0.0472157449, 0.0308446288, -0.0248650033, -0.0279003698, 0.0310499221, 0.0396981053, 0.0111031765, 0.0418699048, -0.0089599928, 0.0246353466, -0.0019259989, 0.0669879541, 0.0377807729, -0.00382039, 0.0725748688, -0.0069399867, -0.0034192288, -0.0058620968, -0.0179986414, -0.0054608677, 0.0377635434, 0.0373307057, -0.0091426494, 0.0557764992, 0.0341521949, -0.0264047403, -0.0543446504, 0.0296983495, -0.0069077415, -0.0058073266, -0.0078012748, 0.0436193347, 0.00772367, -0.06076888, 0.0314873792, 0.0268278997, -0.0276593734, -0.0426420905, -0.0331144109, 0.0482448451, 0.0400645658, 0.0042470098, -0.061162021, -0.0159902405, -0.0307115242, 0.0329978429, 0.0132369837, 0.0180838015, -0.0271107238, 0.0178440139, -0.0343146995, 0.0016171654, 0.0501223728, 0.0124081494, 0.0069851298, -0.004584807, 0.0351099074, -0.0015589696, -0.0506274365, -0.0591595881, 0.0494929142, 0.0012104725, -0.0655997247, 0.0358271301, 0.0023766346, 0.0327173956, -0.0246675126, 0.0062998398, -0.0073032877, 0.0381375514, -0.035252858, 0.0183897763, -0.0485915467, -0.0085987765, -0.0167564359, 0.0005897551, 0.0392773487, -0.0081991022, 0.0263901725, -0.0424287692, 0.0029504315, 0.0054735006, -0.0052744276, -0.0296618845, -0.0177724715, 0.0201557186, -0.0073394179, 0.0455518477, -0.0150501467, 0.0453313366, 0.0015042854, 0.0028190266, 0.0035916558, -0.1026109755, 0.0123616988, -0.0218853392, 0.03490844, 0.0346496291, -0.0382723659, 0.0234104209, -0.013383504, 0.0312145296, -0.0362726003, -0.0365823992, -0.053406667, 0.0387731194, -0.0133745242, 0.0442709774, 0.0010491105, -0.0267954785, -0.0135686109, -0.0465564616, -0.0598802678, 0.0149942283, -0.0218977928, -0.023850495, 0.0650467426, -0.0256693959, -0.003332092, -0.0359566361, -0.0159304719, -0.0372716337, 0.0454162247, -0.0356022641, -0.0889407247, -0.0057938122, -0.0132924076, 0.0177228916, 0.0203305874, 0.019566441, 0.0012349837, -0.02374883, -0.0520643964, -0.0175916776, 0.0911866203, -0.0270390958, 0.0209668875, 0.0280631445, -0.0107838484, -0.0313973166, 0.0328093916, -0.0009930477, 0.0029668119, -0.0053807711, -0.0682893246, 0.0318886377, 0.0508663245, -0.0229027011, 0.0097065838, -0.0622431189, 0.0304903779, 0.0185914282, 0.0001282005, -0.0505940504, 0.0948601961, -0.0075309286, 0.0068762237, -0.0285356138, -0.0367540233, -0.0025807954, -0.0335156433, 0.0076348097, -0.005181314, -0.007481277, -0.0346842408, 0.0583142526, 0.0283398796, -0.0215453785, 0.0144643681, -0.0104922261, -0.0469193459, 0.0023720558, -0.0220467933, -0.0369920358, 0.0740023255, -0.0264945067, 0.0203821827, -0.0181263927, -0.0345678404, -0.024301149, -0.0361559056, 0.0107705239, 0.0161573887, -0.006894982, 0.0007815615, -0.0735906735, -0.0010204609, -0.0018169448, 0.0698193163, 0.0000774226, -0.0435636491, -0.0338743664, 0.0443282537, 0.0072427713, -0.009835382, -0.0308374725, -0.0378455818, -0.0124472957, 0.0374081023, -0.028576225, 0.050685782, -0.0068248766, 0.0217870064, 0.034679357, 0.0095244395, -0.0116335219, 0.0246763825, 0.0063333763, -0.061713811, -0.0034374406, 0.0689272583, 0.0052771852, 0.0026307686, -0.0326680019, 0.0014696053, 0.0434065312, -0.0114424424, 0.0841593742, -0.0764389187, -0.0443674959, 0.0053770659, 0.0217508003, 0.0406753868, -0.0477531739, -0.0301985368, -0.0911851749, 0.0541980751, 0.0070955078, -0.060386911, -0.1029482335, -0.0383162685, 0.0055114208, -0.0636669248, 0.0108742174, 0.0228314139, -0.0418402553, 0.0005790091, 0.0466512516, -0.0510311127, -0.0095328633, -0.0066965939, -0.0246320851, 0.0371227115, 0.0405912474, 0.0571449064, -0.0387789086, -0.0259549972, -0.0257707667, 0.0465262085, -0.021700602, 0.0039170897, 0.1065181792, -0.003561323, -0.0043381834, 0.0346234515, -0.0156975854, -0.0473236889, 0.0184563845, 0.0405989252, 0.0735330582, 0.0016498864, -0.0461947024, 0.0161293168, -0.0329460278, 0.0046667075, 0.066864185, 0.0252515227, -0.0233640783, -0.0297568794, -0.0244475883, -0.0574559532, -0.0478058606, 0.0274285115, 0.0564260893, -0.0474395491, -0.0578603894, -0.0821570978, -0.0086654127, 0.061975304, 0.0363308266, 0.0053420723, 0.0581654795, 0.0032862872, -0.007850471, -0.0392744839, -0.0073313517, -0.0357675999, 0.0003615207, -0.0304959435, -0.0506717972, -0.0155674871, -0.0449621938, -0.0118042082, 0.0112911137, -0.0765930191, -0.0145809837, -0.0214108061, 0.0345599987, 0.0174684301, -0.0006029096, 0.0291045979, -0.0066478592, -0.0096308375, 0.0449891537, -0.0177443195, -0.0223379415, 0.0208867509, -0.0850113034, 0.0088342978, 0.0241546221, 0.002235041, 0.01215016, -0.0125163617, -0.0231714528, -0.009106921, 0.0231764782, 0.0161751844, 0.0033821675, 0.0119915958, 0.0281730965, -0.0756177604, -0.0202197619, 0.033730261, 0.0080872253, -0.0036425551, -0.0359488055, -0.0382286608, 0.0339530483, 0.0235284623, -0.0264266096, -0.0049986229, 0.0256809499, 0.0491600521, -0.0658289939, 0.0145822456, 0.0011473157, 0.0012324153, 0.0278309677, -0.0055429419, 0.0019397667, -0.0245353021, 0.0397727378, 0.0717221648, -0.0003843478, 0.0006791413, 0.011647095, -0.0011887293, -0.0050850273, 0.0303193778, -0.0378963463, -0.0569450594, -0.0371297933, 0.0111617818, -0.0140240248, -0.032227885, 0.0197953768, 0.0087059503, -0.0042226664, 0.0055339835, 0.0472582467, 0.0389556065, 0.023776805, 0.0146365883, -0.003119322, -0.0240028668, -0.0672411546, 0.0980757028, 0.0642585009, 0.0025678822, -0.0134784235, -0.0310323723, -0.0466382876, 0.0370861404, 0.0551219247, -0.0116282254, -0.0055026803, -0.0106915096, -0.0045884913, -0.0332614407, 0.0398075953, -0.010825336, -0.0205136184, -0.0013291358, 0.0077302773, 0.0524368174, 0.0262460951, 0.0105580408, -0.0450454392, 0.0116602182, -0.0057583214, -0.0215775259, -0.0030057405, -6.643589912e-33, -0.0424219966, 0.0078115198, 0.0237632692, -0.006448979, 0.0054046903, -0.0130091822, -0.0428312533, -0.0285024215, 0.0053516207, -0.0056636031, -0.0478138365, 0.0018073289, 0.0358643495, 0.0110000409, 0.0415696427, -0.042110689, 0.0194451809, -0.0173104201, -0.0059600961, 0.033704482, 0.0062668449, 0.0685053915, 0.033637993, -0.0176535137, -0.004270819, 0.0249575488, -0.0056554959, -0.0172027797, 0.0393953845, 0.0033985141, -0.0238972884, 0.021359887, 0.0285743773, -0.0596140996, -0.0333299413, 0.068763651, -0.0924492106, -0.0108119464, -0.0247412231, 0.0308010764, 0.0144900884, -0.0187203698, 0.0336341597, -0.0240124576, 0.0034220386, -0.0334792659, 0.0394466929, -0.0733477697, -0.0130662043, -0.002317443, -0.0240005981, 0.017141996, 0.0032765635, -0.0089049544, 0.1003926545, 0.054738488, 0.0184055027, 0.0145167923, -0.0506952256, 0.0004678346, -0.0120708551, 0.0530228391, 0.0453221351, 0.02453514, 0.0129452981, 0.0448821448, 0.0477941185, 0.0117624598, -0.0331159867, -0.0285649616, -0.0010631263, 0.058973588, 0.028783286, -0.0109000038, 0.0670218021, -0.0217213091, -0.0770250633, 0.0767983794, 0.0414083004, -0.0068496917, 0.0046837199, -0.0045246724, -0.0262135155, -0.0096284412, 0.0195602421, -0.0035636269, -0.0037236146, 0.0055319434, 0.030333221, -0.0142119806, 0.0319079868, -0.0182059109, 0.0239292253, -0.0321018919, -0.0248518288, 0.0188734196, -0.0412095375, 0.0057652867, 0.0017116792, -0.0228670649, -0.0511946045, -0.044558689, -0.0005550851, -0.00329151, 0.0666216612, 0.0291236322, 0.0825904459, 0.0328646749, -0.0877165496, -0.0263913032, -0.0382213816, 0.0310104825, 0.057699658, 0.0737715438, 0.002967316, 0.0175127797, 0.0078440439, 0.0368239097, 0.0273777135, -0.0028755749, 0.0255155172, -0.0298084691, -0.0206878241, 0.002180625, -0.0296671651, -0.0156139433, -0.0662237927, 0.0257979259, 0.0142384646, -0.0345869362, -0.0017744902, 0.0079819579, 2.798e-7, 0.066958122, 0.0500246994, -0.0144685116, 0.0061810561, -0.0122623108, 0.0146102598, -0.024382662, 0.0418355651, -0.0122441212, -0.028337108, 0.0412198603, -0.0165340714, 0.1117903218, 0.031583935, -0.0938987508, -0.0533745587, -0.0609879643, -0.0010176604, -0.0436000973, -0.0226649567, 0.0115422606, 0.1055088118, -0.0314143524, -0.0498353913, 0.0388885699, -0.0237289928, 0.0139699252, -0.062044967, 0.0532541797, 0.0256125424, 0.0407637805, -0.023475647, -0.0459364913, 0.0518479943, -0.0245782044, 0.0081257429, 0.017967619, 0.0609551519, -0.0031876599, 0.0609357953, 0.017760057, -0.0210259948, 0.0201241579, -0.0895659849, 0.0769920275, -0.0303150266, -0.0009539512, 0.045768559, -0.0002146299, 0.0418420397, 0.042977076, 0.01280466, 0.0097514382, 0.0075867726, 0.0364881903, -0.0241402909, -0.0280317757, -0.0240900107, -0.0320855007, 0.0268715434, -0.0122740194, 0.0122670382, -0.0474801473, -0.0448108204, -0.0200662725, -0.0782099068, 0.0305604655, 2.715650238e-34, 0.016192561, -0.0060196826, 0.0410753153, 0.0197520591, 0.025640931, -0.0425674915, 0.0317796394, 0.0294689089, 0.0024040751, -0.0662135556, 0.0189305507 ]